Commit Graph

189 Commits

Author SHA1 Message Date
John Preston f1dfcef868 Styles improved for unread bar margins and sticker timestamp.
Possible crash fixes: emoji color picker show, pending repaint
items cleared when history items are cleared.

Deleting MainWidget syncroniously when clearWidgets() is called.
2016-03-31 18:06:40 +04:00
John Preston b981472877 Bot keyboard button with type url / callback / phone / location
now can be displayed with an icon in the upper-right corner.

Inline bot keyboards almost done.
2016-03-30 20:42:01 +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 2c6f74f923 Reply markup keyboard class almost ready, single class
for inline and external bot keyboard handling.

But it needs to reinvent a good improvement/replacement
for ITextLink concept that will support automatic calls
of linkOver()/linkOut() methods in all link holders.
2016-03-28 20:15:17 +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 e45de88bd6 moving left userpics at the top of the conversation window, beta 9034002 2016-03-22 22:43:47 +03:00
John Preston 5c9836418f version 9034001 beta 2016-03-22 18:23:34 +03:00
John Preston 84e67b8ec0 scrollTop counted relative to the last scrollTop item, attachedToPrevious messages support added, service messages now display date and unreadbar 2016-03-21 21:40:00 +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 9d00ec273b removed Date service messages, removed UnreadBar service message, started adding them to HistoryItems, saving item index in block to keep an eye on the previous message 2016-03-18 22:05:08 +03:00
John Preston bc172cf70c call after sms is optional now 2016-03-15 22:38:30 +03:00
John Preston 9d07456a29 fixed scroll to convert group to supergroup service message 2016-03-14 20:45:59 +03:00
John Preston 5aa5a62b74 cloud synced report spam panel visibility 2016-03-12 19:32:28 +03:00
John Preston 5cab9569c3 updating edited messages dependencies (replies, edit / reply / pinned bar), postponing notification about pinned message while the message itself is not yet available 2016-03-11 15:20:58 +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 32322c4450 fixed some warnings, added debug logs before thread wait calls 2016-03-01 05:36:23 +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 a88b676588 global shortcuts with loading from .json map 2016-02-27 22:39:51 +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 2b6e30bcb5 silent broadcast done 2016-02-25 19:19:54 +03:00
John Preston 4ec579112c beta 9026001 message/post edit done 2016-02-25 13:32:31 +03:00
John Preston 29fefbc4bb post edit started, sign messages checkbox added in channel edit by creator 2016-02-21 15:30:16 +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 a72a31e722 stickers by alt suggestions in mentions dropdown 2016-01-09 19:24:16 +08:00
John Preston 3078544892 new media unsupported message and via @inlinebot are added to langs, links don't break on / now, cancel upload langs fixed 2016-01-07 17:49:54 +08:00
John Preston 85bb526294 fixed gif frame delays, no-repaint-on-scroll optimization done for history 2016-01-03 16:01:14 +08:00
John Preston 6fe380ff9f checking inline bot query on text change, not on cursor position change 2016-01-02 09:28:11 +08:00
John Preston d8b1df875e not sending typing status when working with inline bots 2016-01-02 08:58:43 +08:00
John Preston 85f46cef8c emoji button with progress done for inline bot requests 2016-01-01 17:58:05 +08:00
John Preston 82fb3f590f saved gifs panel substituting @gif to the message field 2016-01-01 02:34: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 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 cbb0219812 savedgifs -> contextitems in stickers panel, fixed atomic uint64, now with mutex :( 2015-12-30 14:47:39 +08:00
John Preston cdcd9d8d54 fixed shared memory locations, scheme updated 2015-12-29 20:54:34 +08:00
John Preston 820339d390 context bot resolve done 2015-12-29 01:06:27 +03: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 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 6170144fe9 inline gifs playback / stopping done 2015-12-23 19:48:44 +03:00
John Preston 73a4d3510d removed itemReplaced 2015-12-23 15:55:32 +03:00
John Preston 62723f7576 disabled libexif usage, mediaview showing gif/mp4 through ClipReader 2015-12-22 11:01:02 +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 2225abec5c voice messages and shared contacts redesigned (contacts not realtime-updated yet) 2015-12-13 01:29:33 +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 0b96dd5362 animations refactored 2015-12-08 15:33:37 +03:00
John Preston 87b57a26ad stop and clear audio on logout, clearing bot keyboards in supergroups 2015-11-24 19:19:18 +03:00
John Preston 46df0f32c8 metalang tags gen fixed, links parsing in rich text fixed, custom keyboard hiding saved in history 2015-11-23 18:34:38 +03:00
John Preston b05e1a8899 supergroups done 2015-11-20 21:24:44 +03:00
John Preston ecc49f9cd4 support of bots added to megagroups 2015-11-20 16:34:37 +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 fd339e401f megagroup members support improved 2015-11-09 12:51:22 +03:00
John Preston e2f83e1662 new photo / file sending, photo always can be sent with caption 2015-10-27 22:41:13 -04:00
John Preston 31b1ecb11c new image / file confirm / send codepath made by Task / TaskQueue, sending single file paste and image paste / drop with that new code 2015-10-26 22:39:02 -04: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 9327473ee8 share support added 2015-10-18 14:49:34 +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 8172b82ed4 boxes finished 2015-10-14 13:51:37 +02: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 94fe669c6e dialogs optimizations, qt 5.5.0 xcode 7 build 2015-09-29 16:24:39 +03:00
John Preston 107c78b4aa fixed warning and .pro for linux build 2015-09-22 14:39:31 +03:00
John Preston 38e3399b1d added Add Members to channel from profile for creator 2015-09-22 12:58:40 +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 41e7ce11a0 channel creation almost done 2015-09-16 16:04:08 +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 a9319bf6a3 0.8.57 stable version with confirmation for spam reports 2015-09-13 12:24:15 +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 659c52347c merged with master spam report buttons, 40 layer not compiling! 2015-09-11 13:29:21 +03:00
John Preston 7bc27ba0bf fixed item resize on entities receive 2015-09-10 13:30:59 +03:00
John Preston 7a278729e1 report spam almost done 2015-09-08 20:22:29 +03:00
John Preston 28e09ab39e report spam panel added 2015-09-08 15:20:30 +03:00
John Preston c45d9e9860 fixed crash in showNextNotify, started reportspam button 2015-09-07 18:53:46 +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 04e1da81f3 added channels scheme, made Channel peers and composite ChannelId,MsgId message ids 2015-09-03 13:48:40 +03:00
John Preston 8511181508 version 0.8.49.dev - block/unblock users in profile, ask question and faq link in Settings, Windows 8/8.1/10 toast notifications 2015-08-12 21:01:32 +03:00
John Preston 86325e889f 0.8.44 dev version - media typings support 2015-08-01 11:33:00 +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 1268774517 audio player done 2015-07-03 11:47:16 +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 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 d81d6bbeaa drag-n-drop files to dialogs list 2015-06-26 12:07:59 +03:00
John Preston 793a2ec90c version 0.8.30 with bots support and forward-by-dragndrop 2015-06-24 20:24:48 +03:00
John Preston 607169cbda version 0.8.29.dev with some more improvements 2015-06-22 11:51:39 +03:00
John Preston ea83f90e15 start button positioning fixed 2015-06-20 01:13:56 +03:00
John Preston e7914ac468 improved custom keyboard 2015-06-19 15:39:33 +03:00