John Preston
1e660fc2a2
Allocate 64 bits for message ids.
2021-09-30 13:49:37 +04:00
John Preston
ab0d2bf9c6
Initial chat theme changing.
2021-09-28 19:27:41 +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
2f5bed2899
Skip "contact joined" toast if disabled in Settings.
...
The chats still appear (they are server-side), but skip the toast.
2021-09-23 17:37:29 +04:00
John Preston
e0135e509d
Allow exporting test chat themes.
2021-09-19 14:40:43 +03:00
John Preston
8069fdd873
Use base/random.h instead of openssl::RandomValue.
2021-09-15 13:42:22 +03:00
John Preston
bc2e6c4fd1
Accept uppercase hex values in theme testing links.
2021-09-12 23:18:37 +03:00
John Preston
8d31769846
Fix build with Xcode.
2021-09-11 00:02:15 +03:00
John Preston
13c00949ed
Add a simple way of testing color themes.
2021-09-10 22:29:30 +03:00
John Preston
28be89f7c3
Correctly apply photos from "min" users.
2021-09-09 16:59:36 +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
14314df26a
Show userpics in who read context item.
2021-09-09 00:10:49 +03:00
23rd
cd59ba6629
Added ability to start video recording in group calls.
2021-09-07 23:41:08 +03:00
John Preston
4273167aa2
Adjust outgoing bubble text and icon colors.
2021-09-07 23:41:08 +03:00
John Preston
a6c98f4bb4
Update API scheme to layer 133.
2021-09-07 23:41:07 +03:00
John Preston
23e9e7b9f0
Remove for_const macro.
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
09e014cc14
Force non-transparency for WebDocuments in PhotoData.
2021-09-02 10:31:57 +03:00
23rd
bcbab7ad8e
Added ability to change playback speed for long audio files.
2021-09-01 01:23:20 +03:00
23rd
eadd7704ef
Removed Main::Session forward declaration from data_types.
2021-09-01 01:23:20 +03:00
23rd
e6f0c176f7
Moved AudioMsgId to separated file.
2021-09-01 01:23:20 +03:00
John Preston
f59db10267
Update default chat background.
2021-08-31 22:10:39 +03:00
John Preston
cd8d257c70
Disable chat themes.
2021-08-31 19:51:56 +03:00
John Preston
9dfc60026e
Add simple forwarding options on bar click.
2021-08-31 19:47:38 +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
52a6282eb9
Count unread replies locally when possible.
2021-08-30 20:32:58 +03:00
John Preston
c39024c7fd
Track and display unread count in discussions.
2021-08-30 20:32:58 +03:00
John Preston
809b0e9fe0
Fix build for Linux.
2021-08-30 20:32:58 +03:00
John Preston
5de83ef30c
Fix assertion violation in profile video with zero file size.
2021-08-30 20:32:57 +03:00
John Preston
f5a323e40a
Move all background helper methods to chat_theme module.
2021-08-30 20:32:57 +03:00
John Preston
3cd0f9d189
Start non-unique ChatTheme.
2021-08-30 20:32:57 +03:00
John Preston
f3dd8c68b3
Load chat cloud themes list.
2021-08-30 20:32:57 +03:00
John Preston
0cfede984c
Update API scheme to layer 132.
2021-08-30 20:32:56 +03:00
23rd
df02bbb0a3
Moved countries from Data to Countries namespace.
2021-08-29 20:39:43 +03:00
John Preston
44f52ca6cd
Fix solid color background preview.
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
662966ba31
Support patterns with negative intensity.
2021-08-17 17:35:10 +03:00
John Preston
2abcb51dda
Filter out patterns without background colors.
2021-08-16 17:14:34 +03:00
John Preston
a1f81e4de8
Generate static complex gradients.
2021-08-16 13:24:15 +03:00
John Preston
1bc5277d51
Show color / gradient wallpapers in WebPage previews.
2021-08-16 10:26:08 +03:00
John Preston
436d7b9d82
Add support for linear gradients without patterns.
2021-08-16 10:26:08 +03:00
John Preston
ba7e976fe2
Fix background sample generation.
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
85cc3b30a0
Don't use MTP* for WallPaper flags.
2021-08-12 12:32:30 +03:00
John Preston
6cadf54874
Add support for SVG patterns in wallpapers.
2021-08-11 19:56:12 +03:00
John Preston
c79cd0b692
Use Images::Read instead of App::readImage.
2021-08-11 18:55:08 +03:00
John Preston
b2e829904f
Add support for 1 month self-destruct messages.
2021-07-30 16:05:13 +03:00
John Preston
116a768fde
Don't use MTP* for Message flags.
2021-07-28 15:28:17 +03:00
23rd
024bb5e54f
Moved App::formatPhone to td_ui.
2021-07-26 17:38:51 +03:00