Commit Graph

12458 Commits

Author SHA1 Message Date
John Preston af51307aa6 Implement opening of t.me/bot/app-s. 2023-03-07 08:42:29 +03:00
23rd ae5f2add0e Added possible info about sponsors to menu from sponsored messages. 2023-03-07 08:42:29 +03:00
23rd 5a43e7718a Moved out menu item with multiline text to separated file. 2023-03-07 08:42:29 +03:00
John Preston 4fe568cb82 Implement switch_webview and "web_app_switch_inline_query". 2023-03-07 08:42:29 +03:00
John Preston 34c1bd950e Update API scheme to layer 154. 2023-03-07 08:42:29 +03:00
Ilya Fedin 40b79dec12 GApplication as GNotification option scope 2023-03-04 15:24:09 +04:00
John Preston ccbab25fae Beta version 4.6.7.
- Fix crash when accepting incoming calls.
- Remove sound when cancelling an unconfirmed call.
2023-03-02 19:36:57 +04:00
Ilya Fedin c5acef8c53 Deduplicate notification actions on Linux
As there are notification daemons with quick reply support and GNotification API having mandatory default action support now, it's the time to reconsider button arrangement.

This also makes it possible for legacy notification daemons without default action support opening the chat when no buttons are allowed since 05524c3f6c again.
2023-03-02 17:33:06 +04:00
23rd e2450101c0 Added ability to use back button in top bar with any mouse button. 2023-03-02 10:45:47 +03:00
23rd 6f3dbc4305 Fixed crash on incoming peer calls. 2023-03-02 09:22:13 +03:00
23rd 6ae15ff264 Fixed indents in some files. 2023-03-02 07:51:17 +03:00
23rd 582df3f39f Removed sound for cancel of unconfirmed peer calls. 2023-03-02 07:51:09 +03:00
John Preston 4838315ca7 Beta version 4.6.6.
- Confirmation window before starting a call.
- New "Battery and Animations" settings section.
- "Save Power on Low Battery" option for laptops.
- Improved windowed mode support for media viewer.
- Hardware accelerated video playback fix on macOS.
- New application icon on macOS following the system guidelines.
2023-03-01 17:53:24 +04:00
John Preston 8dcb69ccdd Fix switch-inline bot buttons in topics. 2023-03-01 14:49:35 +04:00
John Preston 856c537335 Show correct state of "Accept calls" checkbox. 2023-03-01 12:53:06 +04:00
John Preston d18c6591e9 Fix media viewer window preliminary destroy. 2023-03-01 12:41:12 +04:00
John Preston b65a00824c Fix unused function warning. 2023-03-01 11:23:31 +04:00
23rd 6813d21285 Fixed dragging of zoomed photos in windowed media viewer. 2023-03-01 10:47:27 +04:00
23rd df176dd1d9 Guarded users from instant calls with confirmation dialog. 2023-03-01 09:12:03 +04:00
23rd 30ae879fb3 Fixed changing volume and seeking video in windowed media viewer. 2023-03-01 09:12:03 +04:00
23rd 63c390c505 Added ability to close media viewer with click on same media. 2023-03-01 09:12:03 +04:00
John Preston aa9e56c633 Update icon on macOS, allow changing back. 2023-03-01 09:12:02 +04:00
John Preston 29224fea66 Improve design of mediaview controls over state. 2023-03-01 09:12:02 +04:00
John Preston df9bd91d9a Implement semi-native macOS title buttons for the viewer. 2023-03-01 09:12:02 +04:00
John Preston a01f74ecdc Fix build with Xcode. 2023-03-01 09:12:02 +04:00
John Preston ce0e07d332 Implement "Save Power on Low Battery" function. 2023-03-01 09:12:02 +04:00
John Preston 388541a3fb Show a new "Battery and Animations" settings item. 2023-03-01 09:12:02 +04:00
John Preston 588d5ad695 Fix build with Xcode. 2023-03-01 09:12:02 +04:00
John Preston 122234f55c Show shadow below controls in media viewer. 2023-03-01 09:12:02 +04:00
John Preston d1230167bf Improve title controls in Windows media viewer. 2023-03-01 09:12:02 +04:00
John Preston 2a4c39b9d7 Implement some power saving options. 2023-03-01 09:12:02 +04:00
GitHub Action 02bc950b57 Update User-Agent for DNS to Chrome 110.0.5481.100. 2023-03-01 07:49:32 +04:00
Ilya Fedin 2181422d5f Fix build with ffmpeg 5.0 2023-02-26 13:27:17 +04:00
Ilya Fedin 1f1cd35d57 videoplayer cheat code -> experimental setting 2023-02-26 13:27:17 +04:00
John Preston 01d6cacee5 Version 4.6.5: Fix build with FFmpeg 5.1. 2023-02-25 17:56:16 +04:00
John Preston 3093cb3759 Version 4.6.5.
- Fix payment card input field validation.
- Fix video playback with hardware acceleration on macOS.
2023-02-25 17:10:35 +04:00
John Preston 7a090610b9 Upgrade FFmpeg to 5.1 on macOS.
In this version videos play fine with hardware acceleration enabled.
2023-02-25 16:57:06 +04:00
John Preston 4ca6834e03 Fix (somehow) snap-grid in media viewer on Windows 11. 2023-02-24 11:43:36 +04:00
Ilya Fedin 808cf119b8 Switch freetype to experimental settings 2023-02-22 16:51:13 +04:00
John Preston c327fa0d45 Fix the card validator. 2023-02-21 17:10:48 +04:00
John Preston b8c510ca6d Hide shared media layer on jump to message in topic. 2023-02-21 17:10:41 +04:00
Ilya Fedin 9849b7adb6 Use custom workdir even if it doesn't exist 2023-02-20 13:52:59 +04:00
Ilya Fedin 8099c28197 Fallback to other working directories in debug mode on Unix systems
Just like on Windows
2023-02-20 13:52:59 +04:00
Ilya Fedin f71e7812e6 Don't hold GApplication
That's a much better way to avoid defunct event loop that will work in any edge case

Also don't assume GApplication is always running in Platform::Notifications::Enforced
2023-02-18 20:33:40 +04:00
John Preston 78467b18f7 Beta version 4.6.4: Fix initial windowed viewer. 2023-02-18 18:36:03 +04:00
John Preston 5d9383b8e4 Beta version 4.6.4.
- Allow media viewer to exit fullscreen and become a normal window.
2023-02-18 15:17:26 +04:00
John Preston 137c13c9c0 Don't steal window focus to viewer on another screen. 2023-02-18 15:16:06 +04:00
John Preston 18ebaeb726 Fix theme preview in a small OpenGL viewer. 2023-02-18 15:10:14 +04:00
John Preston c09043f827 Fix build for macOS. 2023-02-18 15:10:14 +04:00
John Preston 832d47121f Save media viewer position to Settings. 2023-02-18 15:10:13 +04:00