Commit Graph

480 Commits

Author SHA1 Message Date
John Preston 80fcffcc40 Delete history for specific days in private chats. 2021-11-26 18:00:19 +04:00
John Preston c534f3f22e Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
CoderTimZ c9e24c2283 Display dates with the system date format 2021-10-11 21:56:29 +04:00
23rd 1fa5d273cc Fixed scroll in Dialogs::Widget.
Regression was introduced in cb8f49aea0.
2021-10-06 13:40:26 +04:00
John Preston 24fa3dbf8f Beta version 3.1.6: Fix build on macOS. 2021-10-06 11:10:06 +04:00
John Preston 730412fefe Load albums of last chat messages. 2021-10-04 23:47:33 +04:00
John Preston 576883ddc8 Make mini preview radius 2px. 2021-10-04 23:47:33 +04:00
John Preston 992d636680 Generate album mini previews with up-to-three images. 2021-10-04 23:47:33 +04:00
John Preston 8cdd2f113f Add play icon to video mini previews. 2021-10-04 23:47:33 +04:00
John Preston d5f935b73d Put mini-previews after sender name. 2021-10-04 23:47:33 +04:00
John Preston 792b9090a7 Generate mini-previews for photos and files. 2021-10-04 23:45:21 +04:00
John Preston 8c21fad642 Move preview paint to Dialogs::Ui::MessageView. 2021-10-04 23:45:21 +04:00
John Preston 5136cc3c9c Rename Dialogs::Layout to Dialogs::Ui. 2021-10-04 23:45:21 +04:00
John Preston b78b27f517 Move dialogs_layout to dialogs/ui/. 2021-10-04 23:45:21 +04:00
23rd cb8f49aea0 Removed Q_OBJECT from ScrollArea. 2021-09-30 18:45:38 +03:00
23rd 900a7d0b2b Appended references to const auto types in loop to prevent copying.
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
23rd dc8eb79295 Moved code of data send actions from Data::Session to separated file. 2021-08-30 23:08:57 +03:00
23rd 436212bb88 Added animation of send action for stickers to middle of text. 2021-08-30 20:50:36 +03:00
John Preston 3cd0f9d189 Start non-unique ChatTheme. 2021-08-30 20:32:57 +03:00
John Preston 3dadcd9352 Animated transition on pattern-on-gradient resize. 2021-08-16 10:26:08 +03:00
John Preston c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
Ilya Fedin 97262a99c7 Get rid of osx and linux32 special targets 2021-08-11 16:59:27 +03:00
John Preston 116a768fde Don't use MTP* for Message flags. 2021-07-28 15:28:17 +03:00
Ilya Fedin ba9b72e038 Fix -Wunused-variable warnings with gcc 2021-07-19 22:31:27 +03:00
John Preston 4276b6cce0 Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
23rd a631a28092 Removed App::pixmapFromImageInPlace. 2021-07-06 12:13:06 +03:00
23rd bb76818cc8 Split adaptive changed rpl::producer into two. 2021-06-24 11:25:35 +04:00
John Preston 03147a5426 Fix possible crash in case of API error. 2021-06-23 14:29:38 +04:00
23rd 62fe14d592 Fixed lock icon display when switching layers in one column mode. 2021-06-21 09:23:10 +04:00
23rd b422ec025e Removed Ui::show from classes that have pointer to Controller. 2021-06-17 10:57:45 +04:00
23rd 019fd83c8a Removed Adaptive namespace from Dialogs::Widget. 2021-06-16 09:31:32 +03:00
23rd 54dd63d61a Removed LocalPasscode global variable from facades. 2021-06-16 09:31:32 +03:00
23rd 77c8bf8176 Removed PeerChooseCancel global variable from facades. 2021-06-16 09:31:32 +03:00
23rd aad38c2809 Replaced observable in Window::Notifications::System with rpl. 2021-06-16 09:31:32 +03:00
23rd 3340b2dc03 Replaced observable in Dialogs::InnerWidget with rpl. 2021-06-16 09:31:32 +03:00
John Preston 303ad02c61 Always call raise() before activateWindow(). 2021-06-09 09:19:28 +04:00
23rd f98e8f3e04 Fixed stuck of forward bar when using -sendpath argument.
Regression was introduced in b3d1602354.
2021-05-31 08:54:22 +04:00
John Preston eb8f709943 Show members list in PanelMode::Wide. 2021-05-24 22:45:13 +04:00
John Preston 25470cde3c Fix unread badge styles on palette changes. 2021-04-19 11:26:04 +04:00
John Preston 1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
Ilya Fedin 0c8febce9c Avoid allocations for case-insensetive compare 2021-03-16 12:20:48 +03:00
Ilya Fedin c0c10689a1 Get rid of deprecated ranges::view usage 2021-03-13 19:14:58 +03:00
Ilya Fedin f25b2a2094 Apply autofixes from clazy 2021-03-13 15:25:47 +03:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
Ilya Fedin 23272430b4 Build with QT_NO_KEYWORDS 2021-03-04 12:07:54 +04:00
John Preston 8142acc709 Remove legacy #feed code. 2021-02-25 17:03:51 +04:00
John Preston f9f52302bb Ignore accents in contacts list sorting. 2021-02-22 23:42:42 +04:00