Commit graph

275 commits

Author SHA1 Message Date
John Preston
535fd8d523 Display reactions outside bottom info in groups. 2021-12-29 21:22:33 +03:00
John Preston
b151d210bf Add peer-list-like view for message reactions list. 2021-12-29 21:22:33 +03:00
John Preston
b5d80a3c15 Improve BottomInfo layout. 2021-12-29 21:22:33 +03:00
John Preston
1af2cfe143 Extract BottomInfo from HistoryView::Message. 2021-12-29 21:22:33 +03:00
John Preston
3a43217301 Show reactions in messages. 2021-12-29 21:22:32 +03:00
John Preston
5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
John Preston
db0c57a186 Fix reply-to-media timestamps in captions. 2021-12-02 14:42:50 +04:00
John Preston
0f443da758 Track noforwards flag in specific messages. 2021-11-26 18:00:22 +04:00
John Preston
c849d17667 Remove corner download if noforwards. 2021-11-26 18:00:18 +04:00
John Preston
f2e4a5a35a Highlight YouTube video timestamps as external links. 2021-11-18 16:03:12 +04:00
John Preston
bd5f145a8c Fix unwrapped media display in Replies chat. 2021-11-07 12:51:20 +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
John Preston
d0cb387c6e Fix layout of webpage preview with a sticker with small height. 2021-11-05 15:28:32 +04:00
Ilya Fedin
847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
ea10cf5758 Moved api polls processing to separated file. 2021-10-20 22:56:19 +03:00
23rd
6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
23rd
6163e922b3 Added view button to webpages. 2021-10-10 19:30:38 +03:00
23rd
e2c5995a2e Fixed timestamp highlighting in albums.
Fixed #17078.
2021-10-08 10:39:36 +04:00
23rd
ef10bb2bd6 Fixed editing caption of album from context menu.
Fixed #17077.
2021-10-08 10:39:36 +04:00
23rd
64aa5480ad Fixed display edited badge in scheduled albums.
Moved hideEditedBadge from HistoryMessage to HistoryItem.
2021-10-08 10:39:36 +04:00
John Preston
1e660fc2a2 Allocate 64 bits for message ids. 2021-09-30 13:49:37 +04:00
John Preston
19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
John Preston
af100c2d13 Fix poll answer check in custom chat themes. 2021-09-19 14:40:43 +03:00
John Preston
b6fafdd8f7 Limit emoji size to half of sticker size. 2021-09-17 10:25:36 +03:00
John Preston
139b9723d7 Accumulate and send emoji interactions. 2021-09-17 10:25:36 +03:00
John Preston
d152782115 Load and reload interaction stickers. 2021-09-17 10:25:36 +03:00
John Preston
7fbce765c9 Apply uniform-color palette to webpage preview titles. 2021-09-14 15:14:12 +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
c318f57fc0 Use outbox bubble colors, adjust custom colors. 2021-09-07 23:41:08 +03:00
John Preston
84cbb98000 Attempt#3 to fix build with GCC. 2021-09-07 12:59:33 +03:00
John Preston
32301046e7 Attempt#2 to fix build with GCC. 2021-09-07 12:56:54 +03:00
John Preston
246f2ca1ac Attempt to fix build with GCC. 2021-09-07 12:19:42 +03:00
John Preston
241798ac29 Custom colors in historyDown/unreadMentions buttons. 2021-09-06 13:13:26 +03:00
John Preston
64457cd6cb Custom colors in FillComplex(Overlay|Location)Rect. 2021-09-06 13:13:26 +03:00
John Preston
b2364140e9 Custom colors in all media/history_view_ modules. 2021-09-06 13:13:26 +03:00
John Preston
cbfe57c51d Custom colors in history_view_document module. 2021-09-06 13:13:26 +03:00
John Preston
2a2607d026 Custom colors in history_view_service_message module. 2021-09-06 13:13:26 +03:00
John Preston
1a4a9319f3 Custom colors in history_view_message module. 2021-09-06 13:13:26 +03:00
John Preston
f5a323e40a Move all background helper methods to chat_theme module. 2021-08-30 20:32:57 +03:00
John Preston
0a1e84ddb2 Move ChatTheme to td_ui. 2021-08-30 20:32:57 +03:00
John Preston
784d57a2bc Use QImage bubbles background for some Media parts. 2021-08-20 14:54:11 +03:00
John Preston
f4fdadd3b0 Allow arbitrary QImage as outgoing bubbles background. 2021-08-20 14:54:11 +03:00
John Preston
c5c94276c2 Allow editing caption of forwarded audio file.
Fixes https://bugs.telegram.org/c/3025
2021-08-18 16:29:05 +03:00
John Preston
1792bed721 Remove additional padding in shared contacts. 2021-08-18 15:52:04 +03:00
John Preston
a502cbc06e Move message link up in registered shared contacts.
Fixes #16804.
2021-08-18 15:48:30 +03:00
John Preston
b239506150 Fix pattern wallpaper preview on retina screens. 2021-08-16 10:26:08 +03:00
John Preston
1bc5277d51 Show color / gradient wallpapers in WebPage previews. 2021-08-16 10:26:08 +03:00
John Preston
c2b1187948 Start support of linear gradient wallpapers. 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
23rd
ca83b8a8c6 Removed App::wnd() from HistoryView::Contact. 2021-07-26 17:38:52 +03:00