Robert-André Mauchin
3358673ba4
Add compatibility with FFMPEG 7.0
...
avio: Constify data pointees of write callbacks
avutil: remove deprecated FF_API_PKT_DURATION
Ref: 2a68d945cd
02aea61d69
b8fef7e9c5
2024-05-14 14:39:29 +04:00
John Preston
95ec0633ed
Use custom-adjusted font metrics for custom fonts.
...
Fixes #27814 .
2024-05-02 11:33:47 +04:00
John Preston
f675a8dcf7
Attempt to fix a couple of crashes.
2024-04-24 16:37:27 +04:00
John Preston
9caff93c35
Fix build for Xcode.
2024-04-23 19:13:48 +04:00
John Preston
4fb03e532c
Optimize stories list generation.
2024-04-23 19:13:47 +04:00
John Preston
468d8b04d6
Implement stories pin-to-top.
2024-04-23 19:13:47 +04:00
John Preston
d33e3dc13a
Rename Story::pinned to Story::inProfile.
2024-04-23 19:13:46 +04:00
23rd
1c223e570a
Slightly improved code style for long equality expressions.
2024-04-15 11:20:30 +04:00
John Preston
6fb1e23ed5
Fix file dialog filter for videos from attach menu.
2024-04-06 13:05:12 +04:00
John Preston
1e0002aa74
Fix jump to original from story repost.
2024-04-02 23:09:26 +04:00
John Preston
7fa3c6f8e8
Return media viewer hiding glitch workaround.
2024-04-02 13:19:22 +04:00
John Preston
f95817861a
Fix build on Windows.
2024-04-01 22:44:25 +04:00
Ilya Fedin
001b055ee8
Let Wayland to use QGuiApplication::screenAt
...
Looks like it works correctly nowadays
2024-03-28 10:54:34 +04:00
23rd
d03d50ef0d
Removed cIntRetinaFactor and cRetinaFactor.
2024-03-24 07:10:07 +03:00
Ilya Fedin
ddaf78828a
Fix media viewer geometry restoration
2024-03-17 09:28:46 +04:00
Ilya Fedin
6d5347472d
Fix media viewer geometry logging
...
It has regressed after c64e953174
2024-03-17 09:28:46 +04:00
John Preston
88751896af
PremiumPreview/BusinessFeature -> PremiumFeature.
2024-03-08 10:53:59 +04:00
John Preston
7f3ebde252
Implement sending of shortcutted messages.
2024-03-08 10:53:59 +04:00
John Preston
d05c4e0990
Start shortcut messages sending.
2024-03-08 10:53:59 +04:00
John Preston
e05eb63476
Update API scheme on layer 176.
2024-03-08 10:53:58 +04:00
John Preston
1fe641c458
Update API scheme to layer 176.
2024-03-08 10:53:58 +04:00
John Preston
20f3ef9a5b
Fix stories likes in groups.
2024-02-17 21:06:07 +04:00
John Preston
38e082422a
Show story sender / repost userpic under story source.
2024-02-15 13:51:41 +04:00
John Preston
f674ace805
Send comments to group stories.
2024-02-15 13:51:41 +04:00
John Preston
571f1a5179
Implement free megagroup emoji set.
2024-02-15 13:51:40 +04:00
John Preston
2f40a44b5c
Improve things for OpenAL devices management.
2024-02-01 12:37:34 +04:00
John Preston
db7c16f82b
Fix about message reaction text color.
2024-02-01 12:37:34 +04:00
John Preston
11cf0486cb
Implement required paywalls in tags.
2024-02-01 12:37:34 +04:00
John Preston
46579ac84d
Support about text above reactions strip.
2024-02-01 12:37:34 +04:00
John Preston
87df90227e
Remove legacy premium reactions code.
2024-02-01 12:37:34 +04:00
John Preston
104ba4db7c
Fully migrate to Webrtc::Environment.
2024-01-25 11:57:58 +04:00
John Preston
65a80766f4
Implement media device tracking on macOS.
2024-01-25 11:04:27 +04:00
John Preston
d3778f92d2
Implement media devices tracking on Windows.
2024-01-25 11:04:27 +04:00
23rd
091c13bc23
Added initial ability to pause and resume voice recording.
2024-01-25 11:04:27 +04:00
John Preston
f3f660a180
Show toast on share attempt to premium required.
2024-01-18 10:39:00 +04:00
John Preston
1cfad14437
Show correct placeholder in require-premium story reply.
2024-01-17 09:39:05 +04:00
23rd
a1369aaad0
Added references to structured bindings since Apple clang supports them.
2024-01-16 11:18:55 +04:00
John Preston
9401e7cb51
Add "View reactions" phrase to the langpack.
2024-01-16 11:18:55 +04:00
John Preston
e2e55312b8
Fix viewer hide workaround for software renderer.
2024-01-02 12:59:41 +04:00
Ilya Fedin
0d72d47318
Normalize signal connections
2023-12-31 22:03:57 +00:00
Ilya Fedin
00e785a3af
Remove unused variables
2023-12-31 22:03:57 +00:00
John Preston
2a8a74b5b1
Display correctly forwards of forwards in sublists.
2023-12-31 19:42:24 +04:00
23rd
85286684e3
Added initial support for voice messages with TTL.
2023-12-31 19:42:23 +04:00
23rd
c2712b0104
Removed redundant semicolons from code.
2023-12-31 19:42:23 +04:00
John Preston
23cce64d00
Channel message reposts to stories like reposts.
2023-12-22 13:16:14 -04:00
John Preston
60e72768e1
Update API scheme. Shared posts in stories.
2023-12-16 21:26:40 +00:00
John Preston
1fb4a2f4ba
Update API scheme. Show interactions in channel stories.
2023-12-16 20:25:02 +00:00
John Preston
d87a0a2d25
Show reposts / forwards in story viewers.
2023-12-16 20:25:02 +00:00
23rd
88b20f6700
Fixed indents in some files.
2023-12-16 20:25:01 +00:00
John Preston
0e2131e6eb
Version 4.12: Fix build with GCC.
2023-11-30 20:59:58 +04:00
John Preston
fa63a220fa
Fix build with Xcode.
2023-11-30 17:56:57 +04:00
John Preston
d6d76c8477
Show repost-from-name in story header.
2023-11-28 21:55:27 +04:00
John Preston
6057bb2b37
Handle repost info clicks in expanded mode.
2023-11-28 21:55:27 +04:00
John Preston
5aaf119b36
Handle repost preview clicks.
2023-11-28 21:55:26 +04:00
John Preston
8f9123bb96
Display story repost nicely.
2023-11-28 21:55:26 +04:00
23rd
4ad51ffb42
Removed some include directives.
2023-11-28 21:55:26 +04:00
John Preston
11ea5e61cf
Show repost header in stories.
2023-11-28 21:55:25 +04:00
John Preston
78897dd143
Show repost info on story view.
2023-11-28 21:55:25 +04:00
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