Commit Graph

591 Commits

Author SHA1 Message Date
John Preston 3b0bf7cb1e Move some more widgets and effects. 2019-10-01 23:59:46 +03:00
John Preston 673072ea5b Reorganize GYP files. 2019-10-01 23:59:46 +03:00
John Preston 849deb57e2 Move many widget classes to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston dda587a2fc Move QtConnectionOwner to base/qt_connection. 2019-10-01 23:59:46 +03:00
John Preston c057f28425 Move standard buttons to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston c5845f17ae Remove twidget header. 2019-10-01 23:59:46 +03:00
John Preston e2f54eb3e9 Move some style code to lib_ui. 2019-10-01 23:59:46 +03:00
John Preston 5a1c8e6a0a Move fonts to a separate .qrc file. 2019-10-01 23:59:46 +03:00
John Preston 0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston 12c7bd8ee1 Suggest theme title based on accent color. 2019-09-09 20:27:07 +03:00
John Preston ee5423762a Generate previews for cloud theme links. 2019-09-09 14:56:05 +03:00
John Preston ac8f924909 Show tdesktop cloud themes in a box. 2019-09-06 19:31:06 +03:00
John Preston 229bc56cc8 Upload saved theme to the cloud. 2019-09-06 19:31:06 +03:00
John Preston 4b045a602c Add a box for new theme creating. 2019-09-06 19:31:06 +03:00
John Preston 056949416d Apply some rlottie fixes. 2019-09-06 14:37:41 +03:00
John Preston c2117e7722 Save embedded themes accent colors. 2019-08-27 19:10:37 +03:00
John Preston 385a7eb00d Start scheduled compose controls. 2019-08-27 19:10:37 +03:00
John Preston debeb61540 Start schedule message box. 2019-08-27 19:10:37 +03:00
John Preston caef7dde24 Bundle silent and scheduled to Api::SendOptions. 2019-08-27 19:10:37 +03:00
John Preston 815a18be94 Add initial scheduled list implementation. 2019-08-27 19:10:37 +03:00
John Preston 3814b0833d Keep track of scheduled messages. 2019-08-27 19:10:37 +03:00
John Preston b999d87388 Divide scheme.tl to mtproto.tl and api.tl. 2019-08-09 11:51:35 +01:00
John Preston 10e28913ca Search single messages by message link. 2019-08-09 11:50:49 +01:00
John Preston 1b1b1780db Reuse global emoji large images. 2019-08-09 11:50:49 +01:00
John Preston d298953653 Add large emoji implementation. 2019-08-09 11:50:49 +01:00
John Preston 1d52ba7a42 Extract sticker-specific HistoryView code. 2019-08-09 11:50:49 +01:00
John Preston 850940116d Move HistoryMedia to HistoryView namespace. 2019-08-09 11:50:49 +01:00
John Preston 7d2896dd42 Scale animated emoji by server config. 2019-08-09 11:50:49 +01:00
John Preston f7f797dd78 Initial animated emoji implementation. 2019-08-09 11:50:49 +01:00
John Preston ff44094ded Rename AuthSession to Main::Session. 2019-07-24 13:45:24 +02:00
John Preston c50ade565a Track sending and failed messages. 2019-07-24 08:02:20 +02:00
John Preston c5df4db621 Fix possible race conditions in msgid(). 2019-07-15 16:00:30 +02:00
John Preston 68b1024dd4 Sync local time with HTTP 'Date' header value. 2019-07-15 16:00:29 +02:00
John Preston 69b6b48738 Add new socket type. 2019-07-15 15:59:20 +02:00
John Preston 3cda267787 Abstract out tcp socket from tcp connection. 2019-07-15 15:59:20 +02:00
John Preston 7a11d1e31f Fix stickers on Linux 32 bit. 2019-07-15 14:17:22 +02:00
John Preston 0710dde4d5 Use private Qt color API only in official build.
Fixes #6219.
2019-07-09 13:43:57 +02:00
John Preston 8008d8a3d4 Fix build for Xcode. 2019-07-07 17:11:45 +02:00
John Preston 696c70e34a Update rlottie, remove asserts in debug build. 2019-07-07 13:14:19 +02:00
John Preston 567bf60644 Use getters in MTP classes. 2019-07-05 16:23:07 +02:00
John Preston 0109ee2758 Fix build for Linux. 2019-07-03 00:20:59 +02:00
John Preston 09c9f4ef9a Implement Lottie::MultiPlayer. 2019-07-01 17:57:38 +02:00
John Preston cbffeca8d5 Extract some Lottie::Animation code to Lottie::Player. 2019-07-01 17:57:37 +02:00
John Preston 808583c5ae Store cached frames in media local cache. 2019-07-01 17:57:37 +02:00
John Preston 059a24bcdf Use lz4 compression for cached frames. 2019-07-01 17:57:36 +02:00
John Preston 56e137b20f Move some common code to lib_ffmpeg. 2019-07-01 17:57:35 +02:00
John Preston 10772f4ac5 Started Lottie::CacheState class. 2019-07-01 17:57:34 +02:00
John Preston 35bc2cc2a5 Prepare lottie animations caching. 2019-07-01 17:57:34 +02:00
John Preston aa3a079853 Remove QtLottie and rapidjson. 2019-07-01 17:57:34 +02:00
John Preston e43fcc0e5f rlottie: Fix build for macOS with static Qt. 2019-07-01 17:57:33 +02:00
John Preston b36f7dfdb1 Build rlottie as a dependency. 2019-07-01 17:57:33 +02:00
John Preston f46189041c Use non-installed OpenSSL in Windows. 2019-06-24 13:43:42 +02:00
John Preston a4d83b679a Allow searching USA by 'United States'. 2019-06-22 22:12:47 +02:00
John Preston 7d585ab72f Handle located groups as public. 2019-06-21 14:27:46 +02:00
John Preston 7f96a185cf Add rpl interface for Lang in tr:: namespace. 2019-06-21 11:06:48 +02:00
John Preston 9066acd2dd Use new box for editing contact name. 2019-06-21 11:06:46 +02:00
John Preston 2162aa8df0 Rename Text to Ui::Text::String. 2019-06-21 11:06:46 +02:00
John Preston aca3ec0ab8 Implement block + clear from ContactStatus bar. 2019-06-21 11:06:46 +02:00
John Preston 08d4715ad6 Implement a new AddToContactBox. 2019-06-21 11:06:45 +02:00
John Preston 5e3734d7bf ReportSpamPanel -> HistoryView::ContactStatus. 2019-06-21 11:06:45 +02:00
John Preston dd68c7e90d Use Window::Controller to manage MainWindow. 2019-06-06 14:20:21 +03:00
John Preston a547f80ae9 Rename Window::Controller to Window::SessionController. 2019-06-06 13:21:40 +03:00
John Preston bd2e1ceb02 Wrap AuthSession in a new Main::Account object. 2019-06-05 22:47:54 +03:00
John Preston fe15ee742d Track in Reader if it is used in streaming. 2019-06-04 14:30:43 +03:00
John Preston 8c0cd9b9e9 Prepare Media::Streaming::Reader to be shared. 2019-06-04 14:30:43 +03:00
John Preston 1fb529803e Add an 'Update your OS' top bar.
Set EOL for Windows XP / Vista version at September 1, 2019.
2019-06-04 14:28:13 +03:00
John Preston 9c613fe2f7 Move system versions to platform/platform_info. 2019-06-04 14:23:14 +03:00
John Preston 4fd6a85861 Add app manifest for Windows version. 2019-06-03 16:20:59 +03:00
John Preston 45a6985df5 Force GTK file chooser only in the official builds. 2019-05-31 12:03:10 +03:00
23rd 8796572704 Renamed touchbar files to mac_touchbar. 2019-05-29 00:15:36 +03:00
23rd 58604406f8 Added initial implementation touchbar. 2019-05-27 15:34:54 +02:00
John Preston 50778790fe Start supporting channel discussion groups. 2019-05-27 15:09:25 +02:00
John Preston c92a798e1b Support url authorizations. 2019-05-27 15:09:18 +02:00
John Preston 4ab3c2dfcb Add support for gzip-ed animated stickers. 2019-05-27 14:11:27 +02:00
John Preston 973c3f8838 QtLottie: Migrate from Qt JSON to rapidjson. 2019-05-27 14:11:27 +02:00
John Preston a03d42daa8 Add rapidjson submodule. 2019-05-27 14:11:27 +02:00
John Preston 0f25638545 QtLottie: Don't build JSON to parse shapes. 2019-05-27 14:11:27 +02:00
John Preston f58efd7ee3 QtLottie: Allow building properties from data. 2019-05-27 14:11:27 +02:00
John Preston 26c29f6af7 QtLottie: Move everything to Lottie namespace. 2019-05-27 14:11:27 +02:00
John Preston ab82ff0fb7 QtLottie: Completely detach from upstream. 2019-05-27 14:11:27 +02:00
John Preston 38e2837cb6 Remove MOC for QtLottie. 2019-05-27 14:11:27 +02:00
John Preston cfff744cb1 Parse and render lottie in the background. 2019-05-27 14:11:26 +02:00
John Preston 246e4e45bd QtLottie: Add partial support for masksProperties. 2019-05-27 14:11:26 +02:00
John Preston 2c422dcd73 QtLottie: Add BMScene root class. 2019-05-27 14:11:26 +02:00
John Preston 2f02198ac7 QtLottie: Add support for precomp layer. 2019-05-27 14:11:26 +02:00
John Preston 2caa3e3def QtLottie: Add precomp assets parsing. 2019-05-27 14:11:26 +02:00
John Preston f9a32dc70f QtLottie: Add support for null layer. 2019-05-27 14:11:26 +02:00
John Preston 22c2054dcf First attempt to use QtLottie. 2019-05-27 14:11:26 +02:00
John Preston 626e7c1f76 Workaround MSVC 16.1 bugs. 2019-05-27 14:10:35 +02:00
23rd b2f821d3de Updated version of GCC to 8. 2019-05-20 15:59:06 +03:00
Vitaly Zaitsev 3d3d024878 Fixed building of PCH using Clang compiler.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-05-20 15:46:27 +03:00
John Preston 8fd811517b Count unread correctly in folders. 2019-05-01 16:11:37 +04:00
John Preston 58519300ea Support pinned chats in folders. 2019-05-01 16:11:37 +04:00
John Preston 9bf8a8108d Comment out non-folder feed code. 2019-04-25 14:16:30 +04:00
John Preston 72690ee106 Enable hardened runtime on macOS build. 2019-04-23 19:24:36 +04:00
John Preston f980023f49 Update Xcode version to 10.2 in GYP script. 2019-04-07 11:18:38 +04:00
John Preston 2bdce7dce6 Fix window activations handling without event loop nesting.
This was causing an assertion violation in Ui::PostponeCall.

- Add a generic Core::QtSignalProducer to convert Qt signals to rpl::producer.
- Track event loop nesting inside QtSignalProducer.
- Use QtSignalProducer for QWindow::activeChanged tracking.
2019-04-05 14:13:54 +04:00
John Preston 839cedde65 Closed alpha version 1.6.3.6: Update to VS 2019. 2019-04-04 20:51:42 +04:00
John Preston 77fbf19a72 Use serverside keywords for emoji suggestions. 2019-04-02 14:33:53 +04:00
John Preston 3bd1bbc77a Use Streaming::Player in video messages playback. 2019-03-26 16:51:39 +04:00