Commit graph

1215 commits

Author SHA1 Message Date
John Preston
30d72f1d1d Try fixing media viewer on some Linux versions. 2023-11-28 21:55:24 +04:00
23rd
0865776d9a Simplified FileOriginStory. 2023-11-28 21:55:24 +04:00
23rd
7d2d0bdfa2 Added initial entry point to statistics info for stories. 2023-11-28 21:55:24 +04:00
John Preston
b60e50df10 Try using hide media viewer workaround on Linux. 2023-11-22 12:18:45 +04:00
23rd
12272a450f Slightly optimized include directives in some headers. 2023-11-15 04:20:20 +03:00
23rd
acb1a7ccf2 Spread some style entries from basic style. 2023-11-15 04:19:51 +03:00
John Preston
61a9d9c01d Don't close schedule media box by outside click. 2023-11-06 12:47:37 +04:00
John Preston
5d335341ab Support server-side colors by index, up to three. 2023-10-27 09:55:09 +04:00
John Preston
8b42161898 Allow sending custom webpage previews. 2023-10-26 14:08:43 +04:00
John Preston
4240568ea5 Pass FullReplyTo everywhere. 2023-10-26 14:08:40 +04:00
Ilya Fedin
eb1ef6d2a7 Fix getting the screen of viewer/pip
We need to workaround getting the actual screen for the parent by getting its position yet we need to get the setted screen for the widget itself as that's the screen used to compute the geometry
2023-10-22 22:20:52 +04:00
John Preston
4b618a3578 Fix build with GCC. 2023-10-13 10:10:11 +04:00
John Preston
dd692f2d26 Use simplified TextStyle. 2023-10-13 10:08:29 +04:00
23rd
6cae088d1f Added ability to customize shortcut for full screen in media viewer. 2023-10-12 04:20:35 +03:00
John Preston
396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
John Preston
013c8ebeb4 Allow reactions for changelog stories. 2023-09-25 21:36:51 +04:00
John Preston
116ae04f54 Add missing OpenGL resource deinitialization in viewer 2023-09-23 20:38:10 +04:00
John Preston
a37f7077b0 Beta version 4.9.10: Fix build with GCC. 2023-09-22 11:06:03 +04:00
John Preston
7828a92f08 Implement views/reactions polling in channels. 2023-09-22 09:43:32 +04:00
John Preston
e60e65f574 Toggle suggested reaction counter animated. 2023-09-22 09:43:32 +04:00
John Preston
01428572b0 Add shadow for white suggested reactions. 2023-09-22 09:43:32 +04:00
John Preston
a43a5ce6c5 Improve reaction selector position. 2023-09-22 09:43:32 +04:00
John Preston
d4ba01bad0 Suggested reaction effect around the widget. 2023-09-22 09:43:32 +04:00
John Preston
5d5cae7860 Implement suggested reaction count. 2023-09-22 09:43:32 +04:00
John Preston
f3db7e636b Implement channel stories views / reactions. 2023-09-22 09:43:32 +04:00
John Preston
39f8394f98 Enable story actions in channels. 2023-09-22 09:43:31 +04:00
John Preston
29c5f6b706 Support channel stories archive. 2023-09-22 09:43:31 +04:00
John Preston
b2c9a92c3e Hide reply field in channel stories. 2023-09-22 09:43:31 +04:00
John Preston
f3e65181cd Initial suggested reaction implementation. 2023-09-22 09:43:31 +04:00
John Preston
d5b429e910 Update API scheme to layer 164. 2023-09-22 09:43:31 +04:00
John Preston
3c931b11d6 Clear CacheHelper::waiting mutex in time.
I hope this fixes crashes in streaming semaphore usage.

CacheHelper::waiting points to Context::_semaphore, so it
should be cleared before Context is destroyed, not later.
2023-09-18 12:40:02 +04:00
John Preston
64dcae3174 Destroy volume dropdown after volume toggle.
This fixes https://bugs.telegram.org/c/31989

When destroying the dropdown first, the volume toggle receives an Enter
event and tries to show the dropdown (that is being destroyed).
2023-09-18 12:40:02 +04:00
23rd
d2bd109169 Removed uppercase from some phrases in theme editor. 2023-09-08 11:40:18 +03:00
23rd
7ffb341597 Removed some unwanted include directives of styles in header files. 2023-09-08 11:40:18 +03:00
23rd
4b503ad7ed Slightly refactored include directives in some source files. 2023-08-30 14:50:00 +03:00
Ilya Fedin
d0eb7ec522 Fix window extents terminology
Extents is a synonym of size but we're setting not window size.
2023-08-29 08:02:00 +02:00
John Preston
a2fe91af03 Disable zooming in full screen video view. 2023-08-18 20:02:57 +02:00
John Preston
b610de30f4 Fix adding downloaded files to Downloads. 2023-08-18 19:25:25 +02:00
John Preston
ed9028e1c4 Allow choosing emoji color for all emoji. 2023-08-18 11:00:04 +02:00
John Preston
af3cf63e5f Fix OpenGL rendering with precise HighDPI. 2023-08-17 14:22:04 +02:00
John Preston
311691a3bc Use FlatLabel::textMaxWidth. 2023-08-17 13:54:53 +02:00
John Preston
f502229cc8 Disable zoom glitches on stories. 2023-08-16 17:16:19 +02:00
John Preston
cc27b6c5c5 Update icons in settings / manage layers. 2023-08-14 22:30:40 +02:00
John Preston
94f842a81f Fix Shift+F10 context menu in media viewer.
Fixes #26595.
2023-08-14 22:30:39 +02:00
John Preston
ae26c781c1 Fix build with Xcode. 2023-08-14 22:30:39 +02:00
John Preston
88c7b16b44 Fix reaction emoji disappearing. 2023-08-14 22:30:39 +02:00
John Preston
1207e84dcb Add reaction menu to story context menu. 2023-08-14 22:30:38 +02:00
John Preston
2dfaf27884 Fix colors for colorized stories reactions. 2023-08-14 22:30:38 +02:00
John Preston
e6ad367c55 Show reactions in story viewers list. 2023-08-14 22:30:38 +02:00
John Preston
13f67d68c4 Implement custom reactions in stories. 2023-08-14 22:30:38 +02:00