Commit Graph

164 Commits

Author SHA1 Message Date
23rd c350e33dd8 Moved preparing MTPInputMedia to separate file. 2020-07-17 18:22:37 +03:00
Ilya Fedin ba50393e86 Update icon theme on the fly 2020-07-16 07:07:33 +04:00
23rd d9c566ac44 Added touchbar to media view overlay.
Fixed #7795.
2020-07-15 22:10:06 +04:00
23rd 8de6d0b63b Moved creation of touchbar buttons and sliders to separate file. 2020-07-15 22:10:06 +04:00
23rd 7cc55e24c0 Added touchbar manager. 2020-07-15 22:10:06 +04:00
23rd 199c746216 Added main touchbar. 2020-07-15 22:10:06 +04:00
23rd 2b9cce2f23 Moved touchbar item for text formatting to separate file. 2020-07-15 22:10:06 +04:00
23rd c50df6a6bc Moved touchbar scrubber item for stickers and emoji to separate file. 2020-07-15 22:10:06 +04:00
23rd 54149fb156 Moved panel of pinned dialogs for touchbar to separate file. 2020-07-15 22:10:06 +04:00
23rd 2f964d0415 Refactored and moved to separate file audio player in touchbar. 2020-07-15 22:10:06 +04:00
23rd 0970728273 Added common touchbar utils. 2020-07-15 22:10:06 +04:00
23rd b02dd889e0 Removed old touchbar from MainWindow. 2020-07-15 22:10:06 +04:00
23rd 9445ce4b09 Moved sending of bot's CallbackData and CallbackGame to separate file. 2020-07-14 19:03:41 +04:00
John Preston 2f5cb33bf2 Fix finalizing media in non-active account. 2020-07-14 19:02:27 +04:00
Ilya Fedin 000a7ae28b Choose output folder based on executable name and extension instead of generator name 2020-07-13 09:47:18 +04:00
Ilya Fedin 7d81159ccf Move QTextItemInt symbols to lib_ui 2020-07-13 09:46:15 +04:00
Ilya Fedin b587328fed Add support for custom titlebar on Linux with Qt < 5.15 2020-07-12 23:19:05 +04:00
Ilya Fedin 59b521d666 Implement xcb-based LastUserInputTime method 2020-07-12 22:19:44 +04:00
Ilya Fedin 7ebebc2bc3 Detect OpenAL effects at runtime 2020-07-02 11:30:13 +04:00
John Preston 1a07a388d0 Build window_title_qt only on Linux. 2020-06-29 21:37:56 +04:00
Ilya Fedin 0ede4bba72 Unity doesn't support _NET_WM_MOVERESIZE 2020-06-29 19:17:06 +04:00
Ilya Fedin 5e8e654324 Add cross-platform TitleWidget implementation based on startSystemMove/startSystemResize 2020-06-29 17:04:05 +04:00
Ilya Fedin bb8f9a1b7f Link to gtk3 without QLibrary if DESKTOP_APP_USE_PACKAGED is defined 2020-06-29 16:27:45 +04:00
Ilya Fedin 4922768086 Don't use QLibrary for glib 2020-06-29 16:27:45 +04:00
John Preston 65050bf9dd Move export management to Core::App. 2020-06-25 11:14:05 +04:00
John Preston 51c2bc7349 Create only one EmojiImageLoader to fix a crash. 2020-06-23 21:53:43 +04:00
John Preston 83538675ce Move a lot of settings to Core::Settings. 2020-06-23 21:53:42 +04:00
John Preston 4d6cc58f0d Move session settings to main_session_settings. 2020-06-23 21:53:42 +04:00
John Preston 357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
John Preston 6fc5e22882 Allow several accounts in Core::App. 2020-06-23 21:53:40 +04:00
John Preston 3c4e959468 Replace observer_peer with rpl interface. 2020-06-23 21:53:40 +04:00
John Preston 0b028b959b Move updates handling MainWidget -> Api::Updates. 2020-06-23 21:53:39 +04:00
John Preston ad4afe9293 Move session data localstorage -> storage_account. 2020-06-23 21:53:39 +04:00
John Preston fc174f742a Move stickers code to Data::Stickers class. 2020-06-23 21:53:38 +04:00
Ilya Fedin 70acebc1ef Windows build can be built without updater too 2020-06-17 20:33:23 +04:00
John Preston 36fbdfb380 Simplify Image, remove ImageSource. 2020-06-01 18:09:33 +04:00
John Preston 6513422e40 Remove legacy image-related code. 2020-06-01 18:09:33 +04:00
John Preston 803593cd8d Change Stickers::Set from value to object type. 2020-06-01 18:09:33 +04:00
John Preston 64cf0e1a44 Fix caching of sent photos and document previews. 2020-06-01 18:09:32 +04:00
John Preston e27d2bc2d5 Move photo data to Data::PhotoMedia. 2020-06-01 18:09:32 +04:00
John Preston ea4044e38c Use TgVoip interface instead of VoIPController. 2020-06-01 18:09:31 +04:00
John Preston 053eace154 Prepare overview layouts for media clearing. 2020-06-01 18:09:31 +04:00
John Preston 3797753d16 Support different location types for thumbnails. 2020-06-01 18:09:30 +04:00
John Preston 888e42df34 Remove data_document_good_thumbnail module. 2020-06-01 18:09:30 +04:00
John Preston bdd3c51ab8 Move inline thumbnail image to DocumentMedia. 2020-06-01 18:09:30 +04:00
John Preston 7db53599e8 Use Data::DocumentMedia to store good thumbnails. 2020-06-01 18:09:29 +04:00
Ilya Fedin fa4236e9ea Add support for DESKTOP_APP_USE_PACKAGED on macOS 2020-05-25 10:29:40 +04:00
Ilya Fedin e0669e222d Update fcitx5-qt 2020-05-24 11:09:34 +04:00
Ilya Fedin 492dc2568c Add DESKTOP_APP_USE_PACKAGED support for Windows 2020-05-12 17:32:40 +04:00
Ilya Fedin 701e1d7b4d Add fcitx5 support 2020-05-12 09:26:04 +04:00
John Preston 6232dce1a3 Update emoji in the built-in data and sprites. 2020-05-06 19:29:02 +04:00
Ilya Fedin 27f6c8ce62 Move CMAKE_DL_LIBS to libtgvoip cmake file and add missed pthread
Remove unneeded minizip include directory from cmake

Remove unneeded compile definations

Opus is needed only by libtgvoip
2020-05-05 14:31:18 +04:00
Ilya Fedin 3135463017 Add new option to simplify creation of self-contained packages (snap/flatpak/appimage) 2020-05-05 14:31:18 +04:00
John Preston 266c1531ce Display PSA label instead of the proxy sponsor. 2020-04-30 11:35:01 +04:00
Ilya Fedin eac867ce85 Add possibility to enable autoupdate on non-special target 2020-04-10 15:06:09 +04:00
John Preston e8bf5bb5ce Move manage filters to a Settings section. 2020-03-27 20:36:05 +04:00
John Preston c4a0bc1fd5 Allow selecting custom filter icons. 2020-03-27 20:36:04 +04:00
John Preston 9ad5b8ff90 Add special filters icons. 2020-03-27 20:36:04 +04:00
John Preston 55900bbd3d Save pinned chats in filters to server. 2020-03-27 20:36:03 +04:00
John Preston 13fe0b6272 Allow adding chats to filter exceptions. 2020-03-27 20:36:02 +04:00
John Preston b8c11f3d8c Manage filters: delete, add suggested. 2020-03-27 20:36:02 +04:00
John Preston c83e297554 Implement dice media display. 2020-03-27 20:36:02 +04:00
John Preston d4b9b65724 First version of the filters side bar. 2020-03-27 20:36:01 +04:00
John Preston 71f7aae948 Replace dialogs mode with filters. 2020-03-27 20:36:01 +04:00
John Preston 1df1b9fb53 Fix build with external minizip. 2020-03-13 22:53:59 +04:00
Ilya Fedin 229d15c492 Add tag `launchable` into linux appdata 2020-03-13 11:01:54 +04:00
Ilya Fedin 6f1c1fd070 Fix packaged build 2020-02-25 00:50:26 +04: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
23rd 4b684a4926 Added spellchecker helper for common purposes. 2020-02-24 18:48:33 +03:00
23rd 65a7f2e7d8 Added dictionary management box. 2020-02-24 18:48:33 +03:00
23rd fcb5292a4f Added external_hunspell to CMake build. 2020-02-24 18:48:33 +03:00
John Preston b0e1ae3948 Prepare Data::Histories for requests interdependencies. 2020-02-21 18:48:29 +04:00
Ilya Fedin bbc516cf43 Move TDESKTOP_DISABLE_DBUS_INTEGRATION to cmake_helpers 2020-02-21 18:08:55 +04:00
John Preston c5c77ddb67 Rename Telegram Desktop to Telegram Lite. 2020-02-16 08:39:42 +04:00
John Preston 4544b091a0 Allow rotating content in media viewer. 2020-02-05 19:37:39 +04:00
John Preston 2e1e13b843 Rename mediaview.style to media_view.style. 2020-02-05 18:39:47 +04:00
John Preston ca5c9271a3 First prototype of picture-in-picture player. 2020-02-05 18:39:46 +04:00
Ilya Fedin 3b4dfa1381 Use LXQt's StatusNotifierItem implementation instead of appindicator 2020-02-05 18:38:34 +04:00
John Preston e6cec49646 Fix static libstdc++ linking in Updater.
Fixes #6939.
2020-01-29 14:54:25 +03:00
Nicholas Guriev 07560188cf Perform test for additional libatomic 2020-01-27 19:41:56 +03:00
John Preston f1d155c3f6 Added fireworks animation for right quiz answer. 2020-01-24 17:01:25 +03:00
John Preston 8c11e1724a Move poll results to a Info-like layer. 2020-01-23 10:09:33 +03:00
John Preston 3e0b2f5553 Add PollResultsBox. 2020-01-23 10:09:33 +03:00
Vitaly Zaitsev 59a8acc667 Implemented installation support for GNU/Linux.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-01-22 16:35:35 +03:00
Ilya Fedin 6fdd1389e6 Make packaged build working 2020-01-17 13:34:27 +03:00
John Preston 208b5d7b5b Link libstdc++ statically in Updater.
Fixes #6939.
2020-01-17 10:45:14 +03:00
John Zimmermann 87f44e87cd Cmake: Also use /bin subdir for Ninja if the executable does not have a suffxi (e.g. Linux) 2020-01-17 10:43:40 +03:00
John Preston 100fed3622 Fix build for Linux 32 bit.
Fixes #6921.
2019-12-31 20:20:58 +03:00
John Preston 0693f98107 Fix build on Linux. 2019-12-29 18:57:19 +03:00
John Preston d47c138f23 Save streaming player between message edits. 2019-12-28 17:56:06 +03:00
John Preston a4ea4689a2 Autoplay full-width videos in albums. 2019-12-20 17:13:55 +03:00
23rd eb9c2ce39a Split build types by folders for GCC. 2019-12-19 18:27:52 +03:00
John Preston 2d7adbc68a All players create own Media::Streaming::Instance. 2019-12-11 15:09:21 +03:00
John Preston b73f1be856 Make some video player code reusable. 2019-12-10 15:13:12 +03:00
John Preston 431b7445c3 Allow editing sensitive content filtering. 2019-12-09 15:59:08 +03:00
John Preston cf0ea4a0a1 Read project version from build/version file. 2019-12-06 18:52:44 +03:00
John Preston aea5a8ff76 Respect TDESKTOP_DISABLE_GTK_INTEGRATION. 2019-12-06 17:46:45 +03:00
John Preston fd1a8014c4 Add Packer project to cmake configuration. 2019-12-06 15:47:25 +03:00
John Preston f1877641e5 Closed alpha version 1.9.1.8: Fix macOS build. 2019-12-06 14:22:46 +03:00
John Preston 9310728a11 Fix build on Windows. 2019-12-06 11:39:13 +03:00