Commit Graph

60 Commits

Author SHA1 Message Date
John Preston 5a3fea05ac ClickHandler, TopBarWidget and Overview layouts moved to separate files.
Xcode and QtCreator builds are currently broken.
2016-04-13 00:31:28 +03:00
John Preston dd1d04e9b0 Inline bot results preview: photo, audio, file, voice. Beta 9040126. 2016-04-10 22:18:26 +04:00
John Preston 0894931fa1 Encapsulated DocumentData location and serialization.
DocumentData now can point to mtproto or http file.
2016-04-09 09:57:55 +04:00
John Preston e1f55822b7 Improved inline bot results layout.
Video duration displayed in the middle of the thumbnail.
Contact is now displayed like File, not like Article.
File doesn't have download/open link and displays icon by mimetype.
2016-04-08 19:37:14 +04:00
John Preston 35d5089f48 Scroll following the inline bot keyboard when message is edited. 2016-04-08 13:20:10 +04:00
John Preston 04f8d4dd37 Build fixed for renamed sources folder SourceFiles/{gui->ui}/ 2016-04-07 22:05:28 +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 a2fc7f6915 Improved files support in inline bot results. 2016-04-04 11:21:14 +04:00
John Preston 35785efa50 Inline bot video and sticker layout and sending done. 2016-04-03 13:11:41 +04:00
John Preston bf37c73d66 Inline bot results display improved for geo, venue and contact types. 2016-04-02 18:06:36 +04:00
John Preston cf9a78a164 Inline bot stickers done, but not tested yet. 2016-04-02 15:20:53 +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 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 02ca81ac64 optimized enumeration of userpics 2016-03-23 14:47:32 +03:00
John Preston baf1e31b76 circled profile images 2016-03-18 13:18:30 +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 5b345cbc2d some asserts added to imagePix() 2016-02-28 16:23:03 +03:00
John Preston 2b6e30bcb5 silent broadcast done 2016-02-25 19:19:54 +03:00
John Preston 6d42350691 forwarded display improved 2016-02-19 14:53:49 +03:00
John Preston c3845ead85 moved forwarded to an interface, testing required 2016-02-18 22:12:50 +03:00
John Preston 803d1a429d scheme updated, config vars moved to Global namespace 2016-02-18 19:36:33 +03:00
John Preston bb30b71b86 0.9.23 dev version, convertScale() added to inline result thumbs in some places 2016-02-15 14:23:45 +03:00
John Preston 3579276b49 videos rendered like files, fixed history loading 2016-02-12 21:18:32 +03:00
John Preston 189d0e8de3 voice messages moved to documents with waveforms 2016-02-12 19:35:06 +03:00
John Preston d6f549fef6 no lag in changing normal to wide adaptive mode, files overview ext display improved, no inline bot progress while resolving username, version 0.9.20.dev 2016-02-08 19:04:44 +03:00
John Preston 0b8523d58e added year 2016 to copyright 2016-02-08 13:56:18 +03:00
John Preston a677f784f5 up to 64 realtime combinated interfaces 2016-01-25 18:18:07 +03:00
John Preston b201a5a975 stable version 0.9.16 - new design of media, gifs and inline bots 2016-01-04 19:13:25 +08:00
John Preston c146843ab4 removed unnecessary borders in files / links overview, crash fixed in history repaint optimization 2016-01-04 07:38:47 +08:00
John Preston 827055f32a improved shared files / links design 2016-01-03 23:20:08 +08:00
John Preston 064f5c70e7 overview files colors fixed 2016-01-03 22:32:13 +08:00
John Preston 23de47d307 added unread media dot in voice messages overview, new media unsupported message display done but not enabled 2016-01-03 19:05:22 +08:00
John Preston 67d77bd114 fixed reading recent inline bots, fixed cached photos inline results, beta 9015006 2016-01-01 23:08:56 +08:00
John Preston 35d4754380 caching web files to local, sending of inline bots results done properly, panel ux better for inline bots 2015-12-31 23:27:21 +08:00
John Preston 945d9b1883 added webvideo and article layouts for inline bots 2015-12-31 15:57:11 +08:00
John Preston 5830e0f657 inline bots gif / photo preview / sending done 2015-12-31 13:34:43 +08:00
John Preston 14839e7afe scheme updated, contextbot -> inlinebot renamed, web file loader done like mtp file loader 2015-12-31 03:09:20 +08:00
John Preston e58c8a6fcb complex layouts for context gifs started 2015-12-30 19:56:05 +08:00
John Preston fa9850c319 merged with optimized gifs scroll 2015-12-30 16:41:51 +08:00
John Preston 78866622b9 fixed clipreader lags, threads count increased to 8 2015-12-30 16:36:04 +08:00
John Preston cbb0219812 savedgifs -> contextitems in stickers panel, fixed atomic uint64, now with mutex :( 2015-12-30 14:47:39 +08:00
John Preston d72a3c4189 optimized gifs scroll in saved gifs section 2015-12-30 01:33:56 +08:00
John Preston 77228d358d context bots started, all callbacks done by pointers 2015-12-29 00:20:04 +03:00
John Preston 9a1798f043 saved gifs done 2015-12-28 00:37:48 +03:00
John Preston 0ed5131b65 improved video overview layout 2015-12-26 13:23:26 +03:00
John Preston 4a4fb00ec0 fixed animation shutdown and some radial progresses 2015-12-25 18:21:18 +03:00
John Preston ed2bbc8236 Merge branch 'docs' of https://bitbucket.org/johnprestonmail/telegram-desktop into docs 2015-12-25 16:09:23 +03:00
John Preston a5622cfe3b pausing gifs when mediaview is opened, improved photos handling - download on click if autoload disabled 2015-12-25 16:09:14 +03:00
John Preston 300164e61c fixed crash in links overview 2015-12-25 16:07:16 +03:00