Commit Graph

241 Commits

Author SHA1 Message Date
John Preston c4a7d48d96 Selection of text in attachments: captions, web page previews.
Text/HistoryItem/HistoryMedia::getState() unified.
Text::getStateElided added. Tested with web page previews only.
2016-04-13 21:29:32 +03:00
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 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 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 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 0b2bcbc3e9 some warnings fixed, TDESKTOP_DISABLE_NETWORK_PROXY macro added 2016-03-20 11:16:35 +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 37309a91ac fixed media_only dcs, added copy post link to clipboard, fixed signature display in gifs, 0.9.27 dev version 2016-02-25 20:23:42 +03:00
John Preston 978c7c858b merged with master 2016-02-21 20:01:37 +03:00
John Preston 9fec887044 langs updated, link click async in overviewwidget 2016-02-21 15:47:30 +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 80455492b0 a couple of crashes fixed, version 0.9.24 stable 2016-02-16 16:14:19 +03:00
John Preston 0154be5138 fixed errors for 0.9.22 dev version 2016-02-14 22:46:01 +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 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 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
John Preston 0b4ddb045e max history width limited, custom tooltips replace QToolTip, keys with modifiers are not passed to MentionsDropdown 2016-02-07 18:38:49 +03:00
John Preston a677f784f5 up to 64 realtime combinated interfaces 2016-01-25 18:18:07 +03: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 9a1798f043 saved gifs done 2015-12-28 00:37:48 +03:00
John Preston 4ed2d75c74 upload radial progress and upload cancel done, photo / file / audio autodownload settings respected 2015-12-24 22:26:28 +03:00
John Preston b94533fcb2 gif autoplay improved 2015-12-23 22:23:14 +03:00
John Preston 9a72293e0a addOlderSlice and addNewerSlice should work well with items changing inside them 2015-12-23 17:18:42 +03:00
John Preston 41f5a87c80 improved video, audio overview, fixed files overview 2015-12-23 15:19:32 +03:00
John Preston af9908f076 exif fixed, media overview redesign done 2015-12-23 14:13:08 +03:00
John Preston 5108685123 overview rewrite on layouts almost done (except links) 2015-12-22 18:32:45 +03:00
John Preston d3896ff53b photo and video overview rewritten on layouts 2015-12-22 15:49:42 +03:00
John Preston 62723f7576 disabled libexif usage, mediaview showing gif/mp4 through ClipReader 2015-12-22 11:01:02 +03:00
John Preston 0fd6f04aa9 files overview redesign done 2015-12-21 16:14:29 +03:00
John Preston cc004d435b new layout items structure started 2015-12-20 17:05:07 +03:00
John Preston 216b9ec52f overview redesign started (four out of six not working) 2015-12-19 21:09:24 +03:00
John Preston 1545e7f796 moved to 44 layer 2015-12-16 18:31:56 +03:00
John Preston 29a7c66e45 stopping gifs on history close, only one gif playing 2015-12-16 16:35:15 +03:00
John Preston f6fec9a619 showPeerHistory moved to Ui namespace 2015-12-13 14:36:08 +03:00
John Preston 6ec61d4ad6 redrawHistoryItem moved to Ui, shared contact updates when is_contact changes 2015-12-13 14:17:15 +03:00
John Preston 603fb63c91 document new design done with radial progress, ? char added to monospace blocks edges, redraw history item through Notify:: 2015-12-11 21:11:38 +03:00
John Preston 92c31324b0 links done in new documents design 2015-12-11 10:44:53 +03: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 a6cf42d3ad closed beta version with autoupdate added 2015-12-03 21:16:34 +03:00
John Preston d145175d28 some fixes for the 0.9.11.dev version 2015-11-20 22:03:31 +03:00
John Preston b05e1a8899 supergroups done 2015-11-20 21:24:44 +03:00
John Preston 37de0904af merged overview, merged search and searchGlobal done (supergroups) 2015-11-18 16:11:56 +03:00
John Preston 497602f47e merged supergroup with migrated group history, loading messages by 3 (temp! testing) 2015-11-13 18:14:33 +03:00
John Preston ede2065c26 megagroups started 2015-11-02 17:33:57 -05:00
John Preston 4ed11ebfff merged with new PopupMenu 2015-11-01 13:44:55 -05:00
John Preston 7c71d977e2 ContextMenu removed, PopupMenu replaced default context menu in input fields and all ContextMenu 2015-11-01 13:14:30 -05:00
John Preston 4b8a33de1c moved to 40 layer 2015-10-28 20:16:52 -04:00
John Preston c606d6b459 updating openal build, new code of getting original text and entities from Text, not tested yet 2015-10-25 18:08:45 +01:00
John Preston 4d230eda63 added audio files >> link to profile and media types dropdown 2015-10-23 21:24:05 +02:00
John Preston 17114350c4 conflicts fixed 2015-10-23 18:18:43 +02:00
John Preston aeafcacb0c new (fast) PopupMenu started 2015-10-23 18:15:24 +02:00
John Preston 3df66a7ed3 tilde fix in 100%, dialogs repaint fix, markdown (bold, italic, code, pre support) added 2015-10-23 18:06:56 +02: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 5c3d030b9a moved shadows to widgets where they are displayed 2015-10-17 10:31:48 +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 fe9a1bc947 boxes redesign finished 2015-10-12 23:02:10 +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 fe8567e909 fast dialogs, emoji pan etc done 2015-10-01 17:05:05 +03:00
John Preston 51fbec0c50 0.9.1 stable version with fixes 2015-09-24 19:05:06 +03:00
John Preston 72d0271e4d channel edit, report spam, etc done 2015-09-21 23:57:42 +03:00
John Preston ac971dafe7 messages and comments almost done in channels, sending broadcast toggle done, short poll + updates handle 2015-09-20 11:55:41 +03:00
John Preston 56a63a5b10 comments show-hide in channels 2015-09-19 12:13:21 +03:00
John Preston 77a92c62f7 channel icon added, views count display done 2015-09-15 11:50:54 +03:00
John Preston c3270d6b66 channel messages in center, audio documents not indexed in documents, some bugs fixed 2015-09-13 20:27:29 +03:00
John Preston fefff78ae0 merged with master fix of report spam button 2015-09-13 14:12:38 +03:00
John Preston ae6bc3852a pts handled for channels now 2015-09-13 11:41:27 +03:00
John Preston f431591bef fixed speed in os x qt, added langs for report spam confirm, fixed os x drag n drop forward 2015-09-12 22:00:56 +03:00
John Preston e41e68b8b3 enabled forwarding from/to channel, replies and webpages loading in channels, scheme updated 2015-09-12 14:59:50 +03:00
John Preston 54d5b6dd71 forward/delete for channels, prepared load unread by offset_id, not done yet! 2015-09-07 10:52:37 +03:00
John Preston b53e35e046 broadcast channels support started 2015-09-06 13:17:09 +03:00
John Preston 95ff7821a3 channels improved, getImportantHistory call added, channel profiles fixed 2015-09-04 16:01:31 +03:00
John Preston f1457186c7 merged inputfield, requesting channeldialogs 2015-09-03 16:15:07 +03:00
John Preston e8ab968e5a fixed merge with master 2015-09-03 14:47:16 +03:00
John Preston f24b5fc35b merged to master 2015-09-03 14:31:22 +03:00
John Preston 04e1da81f3 added channels scheme, made Channel peers and composite ChannelId,MsgId message ids 2015-09-03 13:48:40 +03:00
John Preston b0c23fb875 fixed couple of crashes, webpage doc init, added tooltips to overview, fixed shared links empty url, langs updated for 0.8.55 stable version 2015-09-01 16:50:56 +03:00
John Preston 84436a34b0 gifs and pdfs attached by link, prepare for 0.8.54 stable version 2015-08-30 17:57:21 +03:00
John Preston 9ac90115d8 fix for os x build, 0.8.53.dev 2015-08-28 18:59:43 +03:00
John Preston 9a51e2c7e3 fixed mail links in Win10, include muted chats in the unread badge setting, shared links overview and search, version 0.8.53.dev 2015-08-28 18:15:56 +03:00
John Preston 86f0216447 merged master 2015-08-18 19:10:01 +03:00
John Preston c786a2bf9c new history loading (one-request loading always), fixed audio unlistened status on media send, fixed flac playing, fixed os x crashes, version 0.8.40.dev 2015-07-17 22:17:37 +03:00
John Preston 4f2ff9e343 added padding in player, bot commands description QString -> Text (emoji support) 2015-07-03 18:55:22 +03:00
John Preston a65ef6fb00 preparing version 0.8.37.dev 2015-07-03 13:48:28 +03:00
John Preston 1268774517 audio player done 2015-07-03 11:47:16 +03:00
John Preston ef9aaf659c fixed drag-n-drop in OS X for 0.8.34.dev version 2015-06-28 18:41:13 +03:00
John Preston dd797d5d46 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2015-06-28 16:16:30 +03:00
John Preston 9c91bc1677 QDrag exec moved to timeout for 0.8.34.dev 2015-06-28 16:16:25 +03:00
John Preston 4f3aaa3e7f fixed overview for 0.8.34.dev 2015-06-28 16:15:07 +03:00
John Preston 405dfbebae forward by drag-n-drop from media overview, fixed video overview, stickers enlarged and optimized, preparing version 0.8.34.dev 2015-06-28 15:37:10 +03: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 44492b9e2d fixed round corners for forward bubble and for retina 2015-05-20 22:50:05 +03:00
John Preston 9da4a21f94 caption display in video, caption display in mediaview, removed Loading / Failed webpage display, rounded corners everywhere 2015-05-20 22:28:24 +03:00
John Preston 370c47d95b new photoviewer adapted for documents 2015-04-19 13:29:19 +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 938707203c 0.7.24.dev version with hashtags autocomplete, forwarding with comment and move back to reply by bottom arrow 2015-03-24 13:00:27 +03:00
John Preston 1f7e39e184 version 0.7.21.dev prepared - replies, mentions 2015-03-19 12:18:19 +03:00
John Preston f7a5de3cc9 fixed linux fonts reading in qt 5.4.0, fixed scrollbars colors 2015-02-13 21:09:01 +03:00
John Preston a5d2558f5a settings redesigned a little, documents changed to files in lang 2015-02-09 13:26:59 +00:00
John Preston 70e85529c7 added chat backgrounds 2015-02-03 18:02:46 +03:00
John Preston 091bba0fc5 stickers emoji tab done, local cache for stickers, recent stickers and voice messages 2015-01-02 17:55:24 +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 d34ab1e1fe langs improved for future translations, win version only for now 2014-12-18 21:40:49 +03:00
John Preston 37917db64c navigation improved in single column layout, document viewer improved 2014-12-15 18:55:45 +03:00
John Preston 7a600e03d0 update menu changed to restart if only restarting, header comment changed 2014-12-01 13:47:38 +03:00
John Preston 33aa925aa0 changed to official 2014-11-25 23:15:18 +03:00
John Preston 868b9843b0 version 0.6.9 - some network and protocol improvements, checkboxes in photos overview, other fixes 2014-11-15 02:23:35 +03:00
John Preston 85285d9862 fixed os x mouse input, window icon, qt os x build-from-source 2014-11-13 21:26:17 +03:00
John Preston a75f57beb8 youtube and instagram preview display added (instead of messages with only one such link) 2014-11-12 23:18:00 +03:00
John Preston e0ef1d434d version 0.6.7: invokeAfter, long messages split, protocol implementation improvements 2014-11-05 20:43:32 +03:00
John Preston f07606a0ce photoviewer updated, recent emojis filled with some by default 2014-10-17 16:57:14 +04:00
John Preston 09e2fbaa6b inline gif view done, some design improvements, version 0.6.3 2014-10-10 16:46:20 +04:00
John Preston c3a5194a6c fixed os x crash with tray icon disabled, fixed retina photos overview indicators 2014-09-30 15:50:35 -07:00
John Preston 311292c3a3 version 0.6 prepared, changed "Win (Unofficial)" to "Desktop", photo loader animation, custom context menu, default Downloads folder, cyclic logs 2014-09-30 07:11:09 -07:00
John Preston 0d85f91453 custom context menus (including tray menu for windows) done 2014-09-28 19:47:30 -07:00
John Preston 40641133bc photos overview blur, multimonitor photoview fix, os x file dialog default path 2014-09-21 20:52:37 -07:00
John Preston 7bff0bcdb2 version 0.5.17 prepared: some crash fixes, multi media overview selection 2014-08-21 17:35:39 +04:00
John Preston 8a817eb204 media overview multiple selection done, fixed search result delete crash 2014-08-21 16:18:56 +04:00
John Preston db7fa9ba2f multi select in media overview done properly 2014-08-20 23:13:00 +04:00
John Preston dfb4d01015 multi select started in media overview 2014-08-20 09:32:50 +04:00
John Preston c6423c0b65 some photo viewer fixes 2014-08-17 11:37:24 +04:00
John Preston be939201fd fixed media overview scroll init, version 0.5.16 2014-08-15 16:44:01 +04:00
John Preston 5ebe0056dd added media overview to linux version, fixed scroll, smooth photos overview thumbs 2014-08-15 16:19:18 +04:00
John Preston a4728238bb fixed mediaview in os x, added mac sign shell script, os x media overview supported 2014-08-15 15:53:58 +04:00
John Preston a2179c77ba media overview almost done 2014-08-15 15:19:32 +04:00