Commit graph

324 commits

Author SHA1 Message Date
John Preston
a56ece4efe NeverFreedPointer implementation improved and fixed for MSVC. 2016-04-07 20:16:02 +04:00
John Preston
a37bbcfaca Fixed building in Xcode. 2016-04-07 14:35:09 +04:00
John Preston
a728dcfca8 Sticker preview done for inline bot results.
ReplyMarkupClickHandler moved to .cpp (implementation details).
2016-04-06 19:32:05 +04:00
John Preston
730dce2cdc telegram.me links open without confirmation box.
EmailClickHandler removed, only UrlClickHandler left.
Some errors lead to @spambot instead of site FAQ.
2016-04-06 17:19:25 +04:00
John Preston
3e2485678d Moved inline bot result structs from structs.cpp/h module.
Moved inline bot result layouts from layout.cpp/h module.
Over status prepared for inline bot file result icon.
Dependencies reduced, inline bots code moved to InlineBots namespace.
Build in Xcode and QtCreator broken.
2016-04-05 01:09:46 +04:00
John Preston
35785efa50 Inline bot video and sticker layout and sending done. 2016-04-03 13:11:41 +04:00
John Preston
3c98fd44d0 Moved style.h to SourceFiles/gui folder. 2016-04-02 18:21:08 +04:00
John Preston
cf9a78a164 Inline bot stickers done, but not tested yet. 2016-04-02 15:20:53 +04:00
John Preston
1ef944ed7b Not inline bot keyboard now supports editing as well.
Styles improved for not inline bot keyboard.
Full crash string adding to crash report.
Preparing to leave source code without #include "stdafx.h"
2016-04-01 19:32:26 +04:00
John Preston
fa4137418a Merged with master. 2016-04-01 12:54:32 +04:00
John Preston
a23470f4b8 Fixed possible crash in NotifyWindow click handler.
Adding information about crashed string in TextBlock parser.
2016-03-31 15:55:25 +04:00
John Preston
3210aecbd2 Fixed some ClickHandler bugs, bot keyboard active/pressed
states done, handling enterEvent() for ClickHandler activate.
2016-03-30 12:03:29 +04:00
John Preston
7f6cf32cdd ITextLink moved to ClickHandler, TextLinkPtr > ClickHandlerPtr.
Global methods textlnkOver/Down/DrawOver were replaced by
static members of ClickHandler, now global state consists
of the handler pointer + host pointer, who declares callbacks
for the active and pressed handler changed events.

This will allow to use ClickHandler from different hosts
simultaneously (like HistoryItem / BotDescription / BotKeyboard).

Not yet tested.
2016-03-29 20:17:00 +03:00
John Preston
daa5016c23 Components are now almost plain structs
Moved reply markups to history items which hold them
2016-03-28 15:51:22 +03:00
John Preston
599ede9a0b Beta 9034004 version:
Some lang grammar fixes, all "audio" changed to "voice message"
PeerData can have three loaded states (not loaded, minimal, full)
Interface/Interfaces renamed to Component/Composer
HistoryReply moved to a Component named HistoryMessageReply
2016-03-25 14:29:45 +03:00
John Preston
605f5305e4 Changed all .. to ... in phrases 2016-03-24 18:07:13 +03:00
John Preston
7c99f947eb added connection implementations to git, protocol improved 2016-03-24 15:57:10 +03:00
John Preston
ddd63d73b7 MTP::nonce -> rand_value, fixed first_name and last_name reading from minimal users 2016-03-24 13:12:18 +03:00
John Preston
f662067a68 fixed history block index bug 2016-03-22 12:51:20 +03:00
John Preston
fd7a30f143 override specifiers added, retina bug in image circle fixed 2016-03-21 21:57:03 +03:00
John Preston
a2f5acdff1 some winrt macro changes 2016-03-20 21:34:20 +03:00
John Preston
baf1e31b76 circled profile images 2016-03-18 13:18:30 +03:00
John Preston
b9616bdf75 some crashes fixed, 0.9.34 dev version 2016-03-16 16:29:44 +03:00
John Preston
c8f2f6bc2b fixed duplicates in mentions list with inline bots, fixed bot command autocompletes that start with a digit 2016-03-16 15:45:54 +03:00
John Preston
d31c8b3602 fixed app code and call on login, accent fold better 2016-03-15 22:53:38 +03:00
John Preston
efa5fc443a pin/unpin messages in supergroups, local hide for pinned messages 2016-03-10 13:15:21 +03:00
John Preston
2bfb1e0f1f convert to supergroup in all groups 2016-03-05 00:04:15 +02:00
John Preston
32322c4450 fixed some warnings, added debug logs before thread wait calls 2016-03-01 05:36:23 +03:00
John Preston
0e49c13968 rpcClear for mediaview, ImageLink changed to Location 2016-02-28 16:54:04 +03:00
John Preston
5b345cbc2d some asserts added to imagePix() 2016-02-28 16:23:03 +03:00
John Preston
a88b676588 global shortcuts with loading from .json map 2016-02-27 22:39:51 +03:00
John Preston
9d9b4b83a1 improved build script, popupmenu separator adding 2016-02-26 19:49:31 +03:00
John Preston
39981835ce mention links bug fixed, 0.9.27 dev version 2016-02-25 20:58:14 +03:00
John Preston
3f1a3d8707 Merge branch 'master' into dev 2016-02-25 13:35:21 +03:00
John Preston
0a9ec55b43 fixed gif start bug on retina displays, langs updated 2016-02-25 13:33:40 +03:00
John Preston
9c8ae7f32b improved media caption edit in box, need to make post edit in message field 2016-02-23 17:31:06 +03:00
John Preston
2a0a3b5cbb tooltip showing only in active window 2016-02-22 14:15:24 +03:00
John Preston
4dcd9ddc45 merged with master 2016-02-22 11:11:53 +03:00
John Preston
7de5e24df5 adaptive layout starts after 1366px window, langs updated, hiding tooltip on window deactivation 2016-02-22 10:01:10 +03:00
John Preston
6d42350691 forwarded display improved 2016-02-19 14:53:49 +03:00
John Preston
7433cea0fd fixed copy selected text, post author display added, post links handling added, windows bingmaps opening added, sticker previews from mentionsdropdown and stickersetbox added 2016-02-17 19:37:21 +03:00
John Preston
a5b466ec05 link clicks and popup menu items activated async, some crashes fixed 2016-02-16 14:21:39 +03:00
John Preston
f83644cec0 Merge branch 'dev' 2016-02-14 21:29:36 +03:00
John Preston
e492b1e93d some crashes fixed 2016-02-14 18:58:39 +03:00
John Preston
f5dd8f8112 fixed webpage preview layout, switched to abridged version of the tcp protocol 2016-02-13 16:08:28 +03:00
John Preston
7b855a661a new wide layout, build script and some bugs fixed 2016-02-09 19:05:08 +03:00
John Preston
001f2e1fe7 moved from utf8 to QFile::encode/decodeName 2016-02-09 17:42:36 +03:00
John Preston
80ba0259dd some namespaces reorganized, author photo display added to wide mode (where messages are centered), version 0.9.20.dev 2016-02-08 17:54:55 +03:00
John Preston
0b8523d58e added year 2016 to copyright 2016-02-08 13:56:18 +03:00
John Preston
47ead03925 moved Interfaces to types.h, tooltip hiding fixed 2016-02-07 21:58:42 +03:00