Commit Graph

61 Commits

Author SHA1 Message Date
John Preston
8e89486fbc Error handling changed, 'auto' keyword used for MTP types.
All errors that lead to MTP request resending by default
error handler now can be handled differently. For example
inline bot requests are not being resent on 5XX error codes.
+ extensive use of auto keyword in MTP types handling.
2016-04-08 14:44:35 +04:00
John Preston
04f8d4dd37 Build fixed for renamed sources folder SourceFiles/{gui->ui}/ 2016-04-07 22:05:28 +04:00
John Preston
db387d50b8 Scheme updated, support for via @bot added to stickers. 2016-04-07 14:03:10 +04:00
John Preston
35785efa50 Inline bot video and sticker layout and sending done. 2016-04-03 13:11:41 +04:00
John Preston
0e0956451a MTP_bytes() replaces MTP_string() for QByteArray payload.
Scheme updated for bot callbacks sending data bytearrays.
ReplyKeyboard edition is supported when editing the messages.
2016-04-01 14:23:40 +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
91f87057bc Merge branch 'dev' of https://bitbucket.org/johnprestonmail/telegram-desktop into dev 2016-03-21 21:41:51 +03:00
John Preston
1919501d1e Qt compiled with force-debug-info, some langs improved, some override specifiers added 2016-03-21 21:41:39 +03:00
John Preston
2ef8c44445 all MTP flags made strictly typed by scoped enums, in-message date display added for non-service messages 2016-03-19 19:55:15 +03:00
John Preston
c2f1e95f3f fixed opening of uncompressed image sent from clipboard, intro refactoring finished 2016-03-16 14:54:37 +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
bc172cf70c call after sms is optional now 2016-03-15 22:38:30 +03:00
John Preston
3a8824a9a6 intro rewrite started, new code sending methods 2016-03-14 19:59:18 +03:00
John Preston
b678913da5 improved rpcClear() when deleting a complex RPCSender, clearing recent inline bots on logout 2016-02-28 15:36:23 +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
58777dbc21 moved almost all Application to AppClass (autoupdate and singleinstance left), logs rewritten 2016-01-11 23:43:29 +08:00
John Preston
0b96dd5362 animations refactored 2015-12-08 15:33:37 +03:00
John Preston
6222876ac4 refactored layer methods 2015-12-07 21:09:05 +03:00
John Preston
3cf4c7f2fc select wrong passcode / password when showing error message 2015-11-24 13:29:37 +03:00
John Preston
fd339e401f megagroup members support improved 2015-11-09 12:51:22 +03:00
John Preston
4b8a33de1c moved to 40 layer 2015-10-28 20:16:52 -04:00
John Preston
775607c24f fixed new animations for retina display 2015-10-19 01:01:18 +02:00
John Preston
e211268158 new slide animations 2015-10-17 16:52:26 +02:00
John Preston
48756111a9 boxes animations pause mtp 2015-10-15 13:51:10 +02:00
John Preston
f12f21b16b pausing of mtp while animating, fixed message field while animating 2015-10-15 12:18:24 +02:00
John Preston
542d9435d8 almost all boxes done 2015-10-11 10:37:24 +02:00
John Preston
13f6eedcb2 half of all boxes redesigned 2015-10-06 22:49:23 +03:00
John Preston
015e9356ab license header updated 2015-10-03 16:16:42 +03:00
John Preston
e3e774176e new flat boxes started 2015-10-03 13:09:09 +03:00
John Preston
d90f021e46 fixed intro 2015-09-29 18:40:06 +03:00
John Preston
9154edc217 channels members and admins management done 2015-09-23 20:43:08 +03:00
John Preston
41e7ce11a0 channel creation almost done 2015-09-16 16:04:08 +03:00
John Preston
f24b5fc35b merged to master 2015-09-03 14:31:22 +03:00
John Preston
d840ec37db preparing new dev version, date tooltip on timestamp hover, year marks in old day labels, new auth code / sms algo 2015-08-31 17:27:20 +03:00
Eduardo Sánchez Muñoz
4e65b2724d Allow to disable the updater using a marco
Adding "DEFINES += TDESKTOP_DISABLE_AUTOUPDATE" to Telegram.pro would disable the updater. This eases creating packages for Linux distributions, where updates are handled by the corresponding package manager.
2015-08-20 00:00:37 +02:00
John Preston
86f0216447 merged master 2015-08-18 19:10:01 +03:00
John Preston
ff0f8c254f new dev version 0.8.41 with pretty number formatting, Qt tray icon for all linux systems and more 2015-07-21 16:55:23 +02:00
John Preston
8e82b8894d forward-by-drag-n-drop done for images, documents, stickers and messages-by-date 2015-06-27 16:02:00 +03:00
John Preston
a5c81cfd3b moved countrycodeinput to flatinput, started InputField with bottom border 2015-06-19 20:04:09 +03:00
John Preston
85635dbefd 31 layer, IPv6 support, bot support started 2015-06-10 15:48:26 +03:00
John Preston
136fd5c8e1 added lock for dcOptions, emojibox large emoji display, session management improved, new emoji dropdown started 2015-05-14 19:50:04 +03:00
John Preston
70f3568e16 version 0.8.2.dev ready 2015-04-08 02:03:32 +03:00
John Preston
f3bb155b0a links preview done 2015-04-04 23:01:34 +03:00
John Preston
868d5f60f3 cloud password support added, sessions list added, some boxes unifications 2015-04-02 13:33:19 +03:00
John Preston
ad04bf77d1 0.7.19 version with passcode lock option 2015-03-02 15:34:16 +03:00
John Preston
a495c247ac version 0.7.4 - german and dutch languages, some lang fixes 2014-12-23 02:11:37 +03:00
John Preston
aafdc5b782 0.7.3 - italian and spanish languages added 2014-12-21 00:33:08 +03:00
John Preston
837f32d443 fixed conflict with apple libraries, langs support added to xcode project 2014-12-20 01:03:50 +03:00
John Preston
5bcba600e6 basic languages support and italian language added 2014-12-20 00:20:30 +03:00