John Preston
6dedf7c63e
Update API scheme to layer 143.
2022-05-19 17:27:02 +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
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
23rd
dd01ece14a
Replaced snap util function with std::clamp.
2021-01-24 10:41:10 +03:00
John Preston
719bed6e85
Move some text formatting to tg_ui:ui/text/format_values.
2020-09-30 16:29:17 +03:00
John Preston
734d834a20
Replace mapbox variant with std::variant.
2020-09-29 19:03:19 +03:00
John Preston
598fb67cdf
Remove Session::Exists() global access point.
2020-06-23 21:53:39 +04:00
John Preston
5f8d22f1f2
Remove Auth() global access point.
2020-06-23 21:53:39 +04:00
John Preston
36997f084a
Automatically load and apply old emoji set by id.
2020-05-08 11:22:22 +04:00
23rd
efdf5f1767
Moved producer of state description to CloudBlob.
2020-02-24 18:48:33 +03:00
23rd
8ca0b614d7
Moved loader of emoji sets and dictionaries to CloudBlob.
2020-02-24 18:48:33 +03:00
23rd
704dcc8d65
Moved emoji sets and dictionaries loader states to CloudBlob.
...
- Moved CloudBlob to second namespace.
2020-02-24 18:48:33 +03:00
23rd
08cd7450ff
Added storage/storage_cloud_blob.
...
- This file is needed to store same code parts related
to management of dictionaries and emoji sets.
- Moved extracting of zip files to storage_cloud_blob.
2020-02-24 18:48:33 +03:00