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
da1945d0ca
Add some more information for an assertion violation.
2021-09-25 22:49:51 +04:00
John Preston
132f127f3f
Add some assertions to debug a crash.
2021-09-24 08:44:22 +04:00
John Preston
8069fdd873
Use base/random.h instead of openssl::RandomValue.
2021-09-15 13:42:22 +03:00
John Preston
6a53fc7edc
Beta version 3.0.4: Add some theme loading logging.
2021-09-13 20:09:55 +03:00
John Preston
e99f650eaa
Change default autoupdate URL.
2021-09-13 16:33:31 +03:00
John Preston
e4e5c4a1d2
Support 64 bit peer-bare-ids in export settings.
2021-09-07 23:41:07 +03:00
John Preston
a6c98f4bb4
Update API scheme to layer 133.
2021-09-07 23:41:07 +03:00
23rd
ce7a3c354c
Simplified conditions for hiding hint for photo editor.
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
b487644355
Fix incorrect bad file size logging.
2021-09-02 11:03:40 +03:00
23rd
b635a9d4a5
Changed voice playback speed setting to storage value of speed.
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
John Preston
f59db10267
Update default chat background.
2021-08-31 22:10:39 +03:00
John Preston
85e4c8527b
Always write local drafts the same way.
2021-08-30 20:32:58 +03:00
23rd
ddd5617043
Fixed processing GIF images as non-album files.
...
Fixed #16844 .
2021-08-23 13:57:31 +03:00
John Preston
85cc3b30a0
Don't use MTP* for WallPaper flags.
2021-08-12 12:32:30 +03:00
23rd
852e46f0c9
Added filepath removal for modified images in photo editor.
...
Fixed #16791 .
2021-08-12 02:35:53 +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
23rd
024bb5e54f
Moved App::formatPhone to td_ui.
2021-07-26 17:38:51 +03:00
John Preston
8f478b86ee
Change default wallpaper.
2021-07-23 15:42:17 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
Ilya Fedin
89765340c3
Fix -Wunused-function warnings
2021-07-13 21:31:22 +03:00
John Preston
4206ff0483
Don't use MTP* for StickersSet flags.
2021-07-09 09:08:58 +03:00
John Preston
75090dedaa
Don't store MTPInputStickerSet in data.
2021-07-08 22:08:59 +03:00
John Preston
a74228acea
Don't use MTP* for ChannelData flags.
2021-07-08 16:11:09 +03:00
John Preston
5040c2e766
Don't use MTP* for ChatData flags.
2021-07-08 15:11:46 +03:00
John Preston
e34375405e
Don't use MTP* for UserData flags.
2021-07-08 14:19:12 +03:00
23rd
96b40f43e9
Added ability to drag and drop images in photo editor.
2021-07-06 12:13:06 +03:00
23rd
948302cf02
Added setting to hide photo editor hint.
2021-07-06 12:13:06 +03:00
23rd
e7104b5ebe
Added support for archived masks.
2021-07-06 12:13:05 +03:00
23rd
1cdb83462e
Added initial implementation of masks panel.
2021-07-06 12:13:05 +03:00
23rd
832dd8d50c
Moved some photo editor files to separate directories.
2021-07-06 12:13:05 +03:00
23rd
e05343d721
Added sending info of stickered photos.
2021-07-06 12:13:05 +03:00
23rd
bc316a2536
Removed Storage::UploadedThumbDocument struct.
2021-07-06 12:13:05 +03:00
23rd
4d72d20398
Added ability to send modified images.
2021-07-06 12:13:04 +03:00
John Preston
01b4a24ac7
Save sticker path thumbnails to local storage.
2021-07-02 13:39:08 +03:00
John Preston
4124c2eb57
Show inline path thumbnails for stickers.
2021-07-02 13:13:48 +03:00
23rd
1c6e2eae04
Removed unused enum from local legacy storage settings scheme.
2021-06-16 09:31:32 +03:00
23rd
6d08542afa
Moved proxy global variables from facades to core settings.
2021-06-16 09:31:32 +03:00
23rd
707b36dc12
Moved DBIWorkMode to Core::Settings.
2021-06-16 09:31:32 +03:00
23rd
da3e140069
Moved DBINotifyView to Core::Settings.
2021-06-16 09:31:32 +03:00
23rd
5334372671
Moved WorkMode global variable from facades to core settings.
2021-06-16 09:31:32 +03:00
23rd
54dd63d61a
Removed LocalPasscode global variable from facades.
2021-06-16 09:31:32 +03:00
John Preston
b56749426b
Fix build on Clang/GCC.
2021-05-24 22:45:16 +04:00
John Preston
9510ba07f7
Drop old sticker set cover locations.
2021-05-24 22:45:15 +04:00
John Preston
197b3c1cb5
Push all QSaveFile-s to background thread.
2021-05-03 12:27:45 +04:00
John Preston
5bb73d8d3d
Move recent emoji and variants to common settings.
...
Fixes #16163 , fixes #4018 , partially fixes #10123 .
2021-04-26 10:51:10 +04:00
John Preston
286cb74620
Make WebLoadManager live on the main thread only.
2021-04-19 11:26:04 +04:00