Commit Graph

7047 Commits

Author SHA1 Message Date
John Preston f133210db3 Fix scroll first to unread then to end. 2020-02-21 18:48:30 +04:00
John Preston ee8028cd53 From above the unread jump to unread by down button. 2020-02-21 18:48:30 +04:00
John Preston f72cb979c0 Create unread bar when jumping to a message. 2020-02-21 18:48:30 +04:00
John Preston 49c4d35afa Improve working with unread bar. 2020-02-21 18:48:30 +04:00
John Preston ee3e9af63a Remove counter from unread bar. 2020-02-21 18:48:30 +04:00
John Preston 1980c1004e Mark as read only in inited history view. 2020-02-21 18:48:29 +04:00
John Preston a3f19c073b Fix 'reading' of an empty history. 2020-02-21 18:48:29 +04:00
John Preston 388173f0ad Fix delete+leave from a legacy group.
We first need to leave and receive a new message update about
us leaving the group and only after that remove the conversation
locally from the chats list, otherwise it reappears in the list.
2020-02-21 18:48:29 +04:00
John Preston 7cffb0ef9d First send delete request, then destroy locally. 2020-02-21 18:48:29 +04:00
John Preston c8d2ac9583 Move message ownership to History. 2020-02-21 18:48:29 +04:00
John Preston 6357529901 Fix 90/270 degrees photo rotation.
Fixes #7197.
2020-02-21 18:48:29 +04:00
John Preston b5dcd84513 Fix stop-auto-read when the system is idle. 2020-02-21 18:48:29 +04:00
John Preston 5b7f7ed70e Fix reading of currently opened chat. 2020-02-21 18:48:29 +04:00
John Preston c04f3a7048 Don't replace local with server last message. 2020-02-21 18:48:29 +04:00
John Preston 32d93e2651 Fix several read requests together. 2020-02-21 18:48:29 +04:00
John Preston 9cccea9a87 All read history done through Data::Histories. 2020-02-21 18:48:29 +04:00
John Preston b0e1ae3948 Prepare Data::Histories for requests interdependencies. 2020-02-21 18:48:29 +04:00
John Preston 70408f0e22 First version of reading-while-scrolling. 2020-02-21 18:48:29 +04:00
Ilya Fedin db2aa7000a Fallback to non-panel icon when tray counter is disabled 2020-02-21 18:25:08 +04:00
Ilya Fedin 5bdc0db9e2 Generalize backward compatibility of linux launcher 2020-02-21 18:12:48 +04:00
Ilya Fedin ca1623f34a Use XDG Desktop Portal only when variable is set 2020-02-21 18:11:24 +04:00
Ilya Fedin bbc516cf43 Move TDESKTOP_DISABLE_DBUS_INTEGRATION to cmake_helpers 2020-02-21 18:08:55 +04:00
Ilya Fedin 9d0ae61ee0 Revert tray icon size to 22 on Linux (except KDE) and fix tray counter disabling in KDE 2020-02-18 11:37:17 +04:00
John Preston 901a199035 Version 1.9.14.
- Bug fixes and other minor improvements.
2020-02-17 17:09:38 +04:00
John Preston 775d5b6dcc Use 64 byte alignment for ffmpeg frames.
Fixes #7225.
2020-02-17 16:44:08 +04:00
John Preston c5c77ddb67 Rename Telegram Desktop to Telegram Lite. 2020-02-16 08:39:42 +04:00
John Preston 2f698de3b6 Update build scripts for Xcode 11 tools. 2020-02-16 08:30:51 +04:00
John Preston 82aa64ca0a Enable third column by default in Mac App Store build. 2020-02-15 22:45:50 +04:00
John Preston 3bb9e8c7eb Fix power outage logout only by fsync. 2020-02-14 18:12:08 +04:00
John Preston 555fe70df3 Don't delete old localstorage file copies. 2020-02-13 18:39:44 +04:00
John Preston 05c95a0307 Fix fullscreen rotate, fix rotate phrase. 2020-02-13 16:51:05 +04:00
John Preston 23bab2aeb9 Version 1.9.13: Update libtgvoip submodule. 2020-02-12 19:43:22 +04:00
John Preston f5fdcc3af0 Enable secondary QR code login by default. 2020-02-12 19:43:22 +04:00
John Preston 5c079b0bbd Add additional QR code login debug logs. 2020-02-12 19:36:05 +04:00
John Preston 6bbcec0c23 Version 1.9.13.
- Bug fixes and other minor improvements.
2020-02-12 13:03:46 +04:00
John Preston 0beec6e335 Fix maximized window on secondary screen. 2020-02-12 13:03:08 +04:00
John Preston a88423a33f Fix bad window rendering with maximize-on-launch.
I have no idea why MainWindow is ruined completely in case you call
MainWindow::show, MainWindow::setWindowState(maximized) and then
in the same context (without crl::on_main) create full screen viewer.
2020-02-12 12:09:17 +04:00
John Preston 1210ba37c4 Version 1.9.12.
- Switch to Picture-in-Picture mode to watch your video
in a small window while doing something else.
- Change playback speed in the '...' menu when watching videos.
- Rotate photos and videos in the media viewer
using the rotate button in the bottom right corner.
2020-02-11 19:10:09 +04:00
John Preston 356e3c6907 Enable night mode by default on Mac App Store. 2020-02-11 16:00:19 +04:00
John Preston 3c5f8d08ad Fix radial animations in emoji download. 2020-02-11 14:12:42 +04:00
John Preston 75de655642 Fix #6804 once again. 2020-02-11 13:29:32 +04:00
Ilya Fedin 3574a9c874 Fix lost qgetenv in GetLauncherBasename 2020-02-11 13:14:22 +04:00
John Preston bcd0fe38f0 Fix invisible passcode field.
Regression was introduced in fd8ae60dc.
2020-02-11 13:01:55 +04:00
Ilya Fedin 5171c0bd77 Fix crash when tray icon is disabled on macOS 2020-02-11 12:38:03 +04:00
Kirsan 4fececb94f Revert changes to notification replay. And replace user settings with Both (Enter and Ctrl+Enter) to polls. 2020-02-11 12:29:34 +04:00
Kirsan 9c562931a2 Respect user settings "Send by ..." for:
forward dialog
send file dialog
edit caption dialog
notification replay
schedule messages
new channel dialog
group description edit dialog
create poll dialog
rate call dialog
report bot dialog
support mode
2020-02-11 12:29:34 +04:00
John Preston 38bef584e1 Beta version 1.9.11.
- Bug fixes and other minor improvements.
2020-02-10 19:49:10 +04:00
Ilya Fedin e62f727135 Fix creating of autostart launcher in snap 2020-02-10 19:30:41 +04:00
John Preston a0e7ef61fc Update submodules. 2020-02-10 19:30:09 +04:00
John Preston fd8ae60dc1 Change show order of MainWindow/OverlayWindow.
Fixes #6804.
2020-02-10 19:28:41 +04:00
John Preston 093c2887c3 Fix PiP on multi-monitor setup. 2020-02-10 18:45:23 +04:00
John Preston 770678e32a Fix crash in updates handling. 2020-02-10 15:58:58 +04:00
John Preston 07cc05f62e Fix loading thumbnails in videos in albums.
Once more fixes #6332.
2020-02-10 15:43:24 +04:00
Ilya Fedin 77719750ee Fix name of the snap desktop file
Use new switch for GSL
2020-02-10 15:34:03 +04:00
Ilya Fedin 6206b6f843 Adapt indicator-application check for sandboxed environments
Fix quality loss in the tray icon image

Fix window showing by clicking on the tray icon on macOS

Fix tray icon displaying on KDE
2020-02-10 15:09:47 +04:00
Kai Uwe Broulik 9e3fa2e4bc Check action id when invoked
Makes it more resilient
2020-02-10 14:45:07 +04:00
John Preston 1f16d72667 Allow setSpeed() on non-active streaming player. 2020-02-06 13:27:21 +04:00
John Preston 6cf9157fb5 Fix jump-to-time from audio captions. 2020-02-06 13:19:33 +04:00
John Preston 76ff9a562e Fix build. 2020-02-05 22:06:40 +04:00
John Preston ffeff09561 Beta version 1.9.10: Fix build for OS X 10.10-10.11. 2020-02-05 22:03:42 +04:00
John Preston cc71bdce8f Beta version 1.9.10: Update lib_spellcheck. 2020-02-05 20:33:46 +04:00
John Preston 5d43df4f33 Beta version 1.9.10.
- Switch to the Picture-in-Picture mode
to watch your video in a small window.
- Change video playback speed in the playback controls '...' menu.
- Rotate photos and videos in the media viewer
using the rotate button in the bottom right corner.
2020-02-05 20:15:28 +04:00
John Preston d29c3add79 Rotate video in PiP. 2020-02-05 20:04:40 +04:00
John Preston 4544b091a0 Allow rotating content in media viewer. 2020-02-05 19:37:39 +04:00
John Preston 702fe024c0 Fix a crash in reply data inconsistency. 2020-02-05 18:39:47 +04:00
John Preston 1ad0ff34df Don't overlap video with controls. 2020-02-05 18:39:47 +04:00
John Preston 282c502b71 Show playback time in PiP. 2020-02-05 18:39:47 +04:00
John Preston d6e989cad5 Allow seek in PiP. 2020-02-05 18:39:47 +04:00
John Preston 23388b5705 Display playback progress in PiP. 2020-02-05 18:39:47 +04:00
John Preston 9ed56aa5d6 Good display of not-yet-started streaming in PiP. 2020-02-05 18:39:47 +04:00
John Preston d9c5ab645c Fix radial loading in PiP widget. 2020-02-05 18:39:47 +04:00
John Preston 2cfb3c6755 Display dark background for PiP controls. 2020-02-05 18:39:47 +04:00
John Preston e095c325b3 Move PiP controls to one corner. 2020-02-05 18:39:47 +04:00
John Preston 47f9978c46 Double click on PiP to switch back to fullscreen. 2020-02-05 18:39:47 +04:00
John Preston 2e1e13b843 Rename mediaview.style to media_view.style. 2020-02-05 18:39:47 +04:00
John Preston 7c2110c1f3 Closed alpha version 1.9.9.1. 2020-02-05 18:39:47 +04:00
John Preston 2a7ac6896c Update submodules. 2020-02-05 18:39:47 +04:00
John Preston e13325ca22 Support menu with playback speed. 2020-02-05 18:39:47 +04:00
John Preston e889a52f6f Improve design of video player and PiP controls. 2020-02-05 18:39:47 +04:00
John Preston 4d737b35da Fix PiP window on macOS. 2020-02-05 18:39:47 +04:00
John Preston 0fbd263562 Add shadow and round corners in PiP. 2020-02-05 18:39:47 +04:00
John Preston f81f37505b Save video PiP window geometry. 2020-02-05 18:39:47 +04:00
John Preston 58dd33d8a2 Fix PiP window on macOS. 2020-02-05 18:39:47 +04:00
John Preston f24f27a13c Add volume icon and playback speed info. 2020-02-05 18:39:47 +04:00
John Preston 87cc18aff8 Add video speed control slider. 2020-02-05 18:39:47 +04:00
John Preston b88219902f Add sample PiP controls. 2020-02-05 18:39:47 +04:00
John Preston 63090fb75f Fix build for macOS. 2020-02-05 18:39:46 +04:00
John Preston b5b520ab66 Make non-activatable PiP window. 2020-02-05 18:39:46 +04:00
John Preston 7a6052db81 Implement complex PiP movement. 2020-02-05 18:39:46 +04:00
John Preston a73520c9d8 Allow resizing PiP. 2020-02-05 18:39:46 +04:00
John Preston 55b63cd2e3 Move PiP panel code to a separate class. 2020-02-05 18:39:46 +04:00
John Preston 612ee18a93 Snap PiP to screen edges. 2020-02-05 18:39:46 +04:00
John Preston ca5c9271a3 First prototype of picture-in-picture player. 2020-02-05 18:39:46 +04:00
John Preston 9feea4a724 Don't blur video thumbnail if any side >= 240px.
Fixes #6332.
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 28a567986d Try linking some libs dynamically on Linux. 2020-01-31 16:33:35 +03:00
Ilya Fedin 2807c5ef19 Use system icon theme and increase icon size 2020-01-31 16:03:41 +03:00
Ilya Fedin 0477bda929 Use XDG Desktop Portal for file dialog 2020-01-31 16:02:11 +03:00
Ilya Fedin d80b3fda7d Fix duplicate object path in SandboxAutostart and add some logging 2020-01-31 15:47:44 +03:00
Ilya Fedin a831c1703a Split launcher filename detection to a function 2020-01-31 15:46:39 +03:00
John Preston e6cec49646 Fix static libstdc++ linking in Updater.
Fixes #6939.
2020-01-29 14:54:25 +03:00
John Preston 74d848311b Replace str_const with base::const_string. 2020-01-29 12:47:50 +03:00
John Preston 9b19cba161 Version 1.9.9.
- Bug fixes and other minor improvements.
2020-01-28 20:45:49 +03:00
Ilya Fedin 9536a3c98e Use packaged build in the snap package 2020-01-28 20:38:12 +03:00
John Preston f0de8131ec Improve phrases for scheduled messages. 2020-01-28 18:07:17 +03:00
John Preston aa18cb64bc Catch more spellcheck exceptions.
Fixes #7086, hopefully fixes #7095.
2020-01-28 16:56:12 +03:00
23rd 7b36c91e0d Fixed insertion of 11th image from clipboard in SendFilesBox. 2020-01-28 16:56:03 +03:00
John Preston fb0ceb110e Fix assertion violation in non-history song player. 2020-01-28 16:55:57 +03:00
RadRussianRus 20fbf0a655 Fixed formatting 2020-01-28 16:45:11 +03:00
RadRussianRus 46de86f1e4 Fix opening private linked channel from message 2020-01-28 16:45:11 +03:00
Ilya Fedin 05eabfd539 Add autostart support for linux 2020-01-28 16:44:27 +03:00
Ilya Fedin 74942cd06e Use QDBusConnection::connect to fix signal connection on old distributions 2020-01-28 16:43:23 +03:00
John Preston 24da40ef05 Fix -startintray on Ubuntu. 2020-01-28 11:41:05 +03:00
23rd e7fbcce9d9 Added handler for SCHEDULE_STATUS_PRIVATE error when send file. 2020-01-28 11:20:36 +03:00
23rd ef5055f4f3 Fixed missing reply cancel after sending scheduled message. 2020-01-28 11:20:36 +03:00
23rd 7cbc5ef902 Fixed scheduled sending text messages until online when user is online. 2020-01-28 11:20:36 +03:00
23rd 03d96a32f2 Fixed scheduled sending files until online when user is online. 2020-01-28 11:20:36 +03:00
John Preston 5406c17158 Handle only left click on button.
Fixes #7073.
2020-01-28 09:46:21 +03:00
John Preston 29c6228616 Add quiz phrase to langpack. 2020-01-28 09:33:36 +03:00
RadRussianRus 327c9caed7 Fix opening hashtag when in archive 2020-01-27 19:56:30 +03:00
Nicholas Guriev 07560188cf Perform test for additional libatomic 2020-01-27 19:41:56 +03:00
John Preston 2008b1beea Version 1.9.8.
- Bug fixes and other minor improvements.
2020-01-24 18:30:59 +03:00
John Preston 9aa597d6f0 Fix validation of created poll. 2020-01-24 18:29:53 +03:00
Ilya Fedin 1d85416434 Remove unneeded include from QtDBus notifications 2020-01-24 18:06:58 +03:00
John Preston bb64285c3a Always show Create button, show error messages.
Fixes #7058, fixes #7059.
2020-01-24 17:45:05 +03:00
John Preston f1d155c3f6 Added fireworks animation for right quiz answer. 2020-01-24 17:01:25 +03:00
John Preston 66e3b529b7 Fix visual glitches in bubble shaking. 2020-01-24 17:01:25 +03:00
Ilya Fedin 04cfd598e2 Use appindicator in flatpak and fix desktop environment detection, add pavucontrol-qt 2020-01-24 16:51:50 +03:00
Vitaly Zaitsev b94c8436eb Added missing Qt header. Fixed clang build.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-01-24 15:35:15 +03:00
John Preston dbfc555d9c Support shaking bubble for wrong quiz answer. 2020-01-24 11:49:12 +03:00
John Preston 5aacf867cd Correctly apply 'min' updates in polls. 2020-01-24 10:31:18 +03:00
John Preston 2f9db1d069 Fix signedness compare warning. 2020-01-24 10:30:59 +03:00
John Preston 3c022b893a Show correct incoming quiz votes in green. 2020-01-24 10:27:08 +03:00
John Preston b74adc5311 Allow viewing round videos in scheduled messages. 2020-01-23 15:37:12 +03:00
John Preston ed8b237364 Fix assertion violation in poll create box. 2020-01-23 15:36:53 +03:00
John Preston 7170808d2b Fix unloading thumbnails in videos.
Fixes #6332.
2020-01-23 14:02:18 +03:00
John Preston d72a5e0d3d Fix build for Mac App Store. 2020-01-23 13:14:19 +03:00
John Preston 2699af5d5a Version 1.9.7.
- Create three new kinds of polls.
- See who voted for what in polls with visible votes.
- Vote for several options in polls that allow multiple answers.
- Guess the correct answer in quiz-style polls.
- Explore various ways of combining the different poll options.
- Add polls from the '...' menu in any group or channel.
- Use bots like @QuizBot to create quizzes
with several questions and media attachments.
- Schedule messages to be sent when your recipient comes online
(only works if you know their online status).
2020-01-23 10:46:57 +03:00
23rd 8298caddc3 Removing scheduling messages until online for those who hide their online. 2020-01-23 10:46:57 +03:00
John Preston 1bcde1b55c Pass cdn_supported flag to upload.getFile. 2020-01-23 10:46:57 +03:00
John Preston 655b3d7c50 Update submodules. 2020-01-23 10:46:57 +03:00
John Preston e4278745d5 Closed alpha version 1.9.6.1. 2020-01-23 10:09:34 +03:00
23rd e266dc153b Implemented ability to add more than 1 file to albums via SendFilesBox. 2020-01-23 10:09:34 +03:00
John Preston a482b744d2 Add a ripple animation for polls bottom button. 2020-01-23 10:09:34 +03:00
John Preston d5bf742912 Improve polls layout. 2020-01-23 10:09:34 +03:00
John Preston 4346aecb61 Add a separate string for a pinned quiz. 2020-01-23 10:09:34 +03:00
John Preston bdfa080701 Fix build for Windows. 2020-01-23 10:09:34 +03:00
23rd 465a42a825 Added ability to customize shortcuts for sending messages. 2020-01-23 10:09:34 +03:00
23rd 7d519990b2 Added ability to customize shortcuts for silent or scheduled messages. 2020-01-23 10:09:34 +03:00
23rd 12250676f9 Added restoring of scroll position after edit items in SendFilesBox. 2020-01-23 10:09:34 +03:00
23rd a1bb9cbb2b Added ability to delete and edit files in SendFilesBox. 2020-01-23 10:09:34 +03:00
23rd 836df873f0 Added ability to delete and edit separate media in SendFilesBox. 2020-01-23 10:09:33 +03:00
23rd 58cc8fc08b Removed IconButtons from album items in SendFilesBox. 2020-01-23 10:09:33 +03:00
23rd d1d5312ead Moved searching of sticker mimes to single place. 2020-01-23 10:09:33 +03:00
23rd f3595e379c Added processing of small album thumb widths in SendFilesBox. 2020-01-23 10:09:33 +03:00
23rd 5f8c2f90ff Added button to add new files in SendFilesBox to album only. 2020-01-23 10:09:33 +03:00
23rd abc7b8364c Slightly refactored code in SendFilesBox. 2020-01-23 10:09:33 +03:00
23rd 627a105ba9 Moved album files filter to FileDialog namespace. 2020-01-23 10:09:33 +03:00
23rd faef5d8af6 Added buttons to delete and edit album items in SendFilesBox. 2020-01-23 10:09:33 +03:00
23rd cf1dc3df78 Added ability to edit album items in send files box via FileDialog. 2020-01-23 10:09:33 +03:00
23rd a26e4eee18 Split some things into different methods in SendFilesBox. 2020-01-23 10:09:33 +03:00
23rd efa4deef6a Moved media editing via FileDialog to separate static method. 2020-01-23 10:09:33 +03:00
23rd 7e00930319 Added ability to delete items from album in SendFilesBox. 2020-01-23 10:09:33 +03:00
23rd c08b2ae3df Added ability to schedule messages to be sent when user comes online.
Pro tip: Hold Ctrl key to send a silent scheduled message!
2020-01-23 10:09:33 +03:00
23rd 8ebbeb5274 Fixed display of scheduled until online message dates. 2020-01-23 10:09:33 +03:00
John Preston c3b01d8573 Hide multiple answers if only quiz is allowed. 2020-01-23 10:09:33 +03:00
John Preston 43d8dedec4 Fix collapse after full results are loaded. 2020-01-23 10:09:33 +03:00
John Preston cd97b649ff Improve phrases for polls. 2020-01-23 10:09:33 +03:00
John Preston ac650b08fd Allow collapsing expanded poll results. 2020-01-23 10:09:33 +03:00
John Preston e6c005dcba Fix poll result header on scroll top. 2020-01-23 10:09:33 +03:00
John Preston 5acb7448b7 Add loading rows placeholder. 2020-01-23 10:09:33 +03:00
John Preston 80168a58a7 Improve poll results loading. 2020-01-23 10:09:33 +03:00
John Preston ebae0d71b8 Save poll results state when viewing profiles. 2020-01-23 10:09:33 +03:00
John Preston 8c11e1724a Move poll results to a Info-like layer. 2020-01-23 10:09:33 +03:00
John Preston d0597407d8 Support creating polls from bot keyboards. 2020-01-23 10:09:33 +03:00
John Preston c3aa2abe11 Fix multiple answers polls voting. 2020-01-23 10:09:33 +03:00
John Preston 3e0b2f5553 Add PollResultsBox. 2020-01-23 10:09:33 +03:00
John Preston 3d1275e19a Disable forwarding public polls to channels. 2020-01-23 10:09:33 +03:00
John Preston d72d1aabe6 Disable creating public polls in channels. 2020-01-23 10:09:33 +03:00
John Preston aac6d0df27 Improve quiz phrases. 2020-01-23 10:09:33 +03:00
John Preston f700220ec1 Create polls with different settings. 2020-01-23 10:09:33 +03:00
John Preston 04d9b93e17 Implement poll creation settings UI. 2020-01-23 10:09:33 +03:00
John Preston 989fad8554 Add poll option select animation. 2020-01-23 10:09:33 +03:00
John Preston 2981a16e17 Allow sending multiple votes in a poll. 2020-01-23 10:09:33 +03:00
John Preston afff7634f9 Display last voters userpics. 2020-01-23 10:09:33 +03:00
John Preston 95b2886bad Display correct poll subtitle and quiz answer. 2020-01-23 10:09:33 +03:00
John Preston d57905c2b3 Update API scheme to layer 109. 2020-01-23 10:09:33 +03:00
Ilya Fedin ffe037f9f1 Fix single instance socket path for compatibility with flatpak 2020-01-23 09:58:12 +03:00
John Preston eee252bb74 Filter out Unicode tag symbols from document names.
Fixes #7005.
2020-01-22 17:24:42 +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
John Preston 960f50824d Fix one more crash in CDN file download.
The sessionTimedOut could remove a session right between a request
for a file part and a request for additional cdn file hashes.

In this case requestData.sessionIndex was not updated and this
was leading to an assertion violation in changeRequestedAmount.
2020-01-22 16:13:50 +03:00
John Preston 63020ec302 Fix radial animation ending.
Fixes (2) from #6975.
2020-01-22 11:55:27 +03:00
John Preston 71d4563b9d Use 'telegramdesktop' as a default desktop file base name. 2020-01-22 11:55:27 +03:00
Ilya Fedin 98bfd7370d Make TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME and TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION respect DESKTOP_APP_USE_PACKAGED 2020-01-22 10:06:56 +03:00
John Preston 389fb0c4e9 Fix GIF real parent refresh after sending.
Fixes #6943.
2020-01-22 09:53:59 +03:00
John Preston fc72fe3a78 Version 1.9.6.
- Bug fixes and other minor improvements.
2020-01-22 02:16:47 +03:00
John Preston 5f646dd125 Fix strange crash on Windows. 2020-01-22 02:16:38 +03:00
John Preston 6748233869 Version 1.9.5.
- Bug fixes and other minor improvements.
2020-01-21 23:32:41 +03:00
John Preston fef90ea363 Fix build for Linux. 2020-01-21 23:32:05 +03:00
Ilya Fedin 0480611bf8 Add possibility to build without dbus 2020-01-21 23:30:47 +03:00
23rd b4fbff0b6c Fixed build for Windows with c++latest. 2020-01-21 20:29:14 +03:00
John Preston 5f5d5629f8 Fix memory leak in media streaming. 2020-01-21 18:48:21 +03:00
John Preston 2d7f6fc2e7 Removed old lib_storage sources. 2020-01-21 18:47:57 +03:00
John Preston 5d6fd32496 Fixed detecting unsupported languages for spellcheck. 2020-01-21 18:47:40 +03:00
John Preston 48b24d12b2 Always ask for TDESKTOP_LAUNCHER_BASENAME on Linux. 2020-01-21 18:47:36 +03:00
John Preston f0dc912080 Fix video frame rounding.
Fixes #6982.
2020-01-21 18:47:30 +03:00
John Preston 23f6044081 Remove GYP build scripts. 2020-01-21 18:47:25 +03:00
John Preston f52fe937ed Fix possible crash in text processing on Linux.
Fixes #7005.
2020-01-21 18:47:21 +03:00
John Preston 97fe03e522 Update submodules. 2020-01-21 18:47:13 +03:00
John Preston 1ce2b5d946 Fix build for macOS with C++14 and later. 2020-01-21 18:47:03 +03:00
John Preston c1003e39d1 Fix build with new libtgvoip. 2020-01-21 18:46:49 +03:00
kbroulik b50073d281 Implement inline-reply
On supported notification servers (currently only KDE Plasma 5.18+) this
action will create a reply text field inside the notification.
2020-01-21 15:27:50 +03:00
Ilya Fedin c13d637502 Fix spaces on end of lines 2020-01-21 11:58:57 +03:00
Ilya Fedin 2298eed8bf Use QStringList::contains also 2020-01-21 11:57:52 +03:00
Nicholas Guriev 8fab9167be Use QStringList::join to print notifications capabilities 2020-01-20 14:05:00 +03:00
John Preston 965a01a4cd Hide connecting status when update is ready. 2020-01-20 13:57:45 +03:00
John Preston 98bc7ce49b Revert "Pass cdn_supported flag to upload.getFile."
This reverts commit 7751f383ca.
2020-01-20 13:39:18 +03:00
John Preston 12873f8be0 Fix crash in CDN file download. 2020-01-20 13:04:12 +03:00
John Preston 6820b0b3b3 Fix spell checker crash for Persian language.
Fixes #6994.
2020-01-20 13:02:27 +03:00
John Preston 862093e1dd Revert min width 360px back to 380px.
Many visual glitches appeared, for example one in theme previews.
2020-01-20 13:01:52 +03:00
John Preston 7751f383ca Pass cdn_supported flag to upload.getFile. 2020-01-20 13:01:38 +03:00
John Preston f1b0e81b60 Version 1.9.4.
- Bug fixes and other minor improvements.
2020-01-17 18:14:48 +03:00
John Preston 340271fea0 Fix build, improve flat containers. 2020-01-17 18:13:50 +03:00
John Preston 25c48cc08e Update submodules. 2020-01-17 17:50:21 +03:00
Ilya Fedin 0bcc4befa1 Change fc-custom.conf condition to DESKTOP_APP_USE_PACKAGED 2020-01-17 17:49:07 +03:00
John Preston d24735b217 Fix possible crash in CDN file loading. 2020-01-17 17:45:43 +03:00
John Preston 3643622e1b Update lib_spellcheck. 2020-01-17 17:00:47 +03:00
John Preston 8fb2772093 Fix sent GIFs playback. 2020-01-17 16:58:19 +03:00
23rd 4794a0be84 Fixed indents in utils.cpp. 2020-01-17 15:03:11 +03:00
John Preston bd3d57056b Use MACRO_TO_STRING in config.h 2020-01-17 14:33:46 +03:00
John Preston afe34121af Use MACRO_TO_STRING from lib_base. 2020-01-17 14:15:40 +03:00
John Preston 4f71383557 Fix video timestamps in replies when editing. 2020-01-17 14:14:43 +03:00
John Preston 5aee0f642a Fix timestamps adjacent to parentheses.
Fixes #6997.
2020-01-17 14:14:36 +03:00
John Preston 38d799de24 Fix links parsing. 2020-01-17 14:14:30 +03:00
John Preston 0eb8d24394 Fix unread badge update when leaving a channel.
Fixes #6995.
2020-01-17 14:14:19 +03:00
Ilya Fedin ee9336f781 Fix notification actions for Cinnamon, fix notification icon for Gnome, add support for TDESKTOP_LAUNCHER_FILENAME in notifications and fix indentation 2020-01-17 13:40:31 +03:00
Ilya Fedin 6fdd1389e6 Make packaged build working 2020-01-17 13:34:27 +03:00
Anton Afanasyev 00e601296c Fix as suggested
Co-Authored-By: 23rd <23rd@vivaldi.net>
2020-01-17 13:00:12 +03:00
Anton Afanasyev 3bc58fb690 Add Ctrl+9 shortcut to show archive. 2020-01-17 13:00:12 +03:00
Vitaly Zaitsev a52dfe7998 Fixed TDESKTOP_LAUNCHER_FILENAME option.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-01-17 12:52:31 +03:00
CynicallDude 6bba0cf986 Update copyright year 2020-01-17 11:33:34 +03:00
John Preston 1f447f98d8 Include variables.cmake after project() call.
Fixes #6950.
2020-01-17 11:29:10 +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
Leo f2c8167124 lib_tgvoip.cmake: Match against x86 arches.
This avoids matching against other 32bit arches like armv7/armhf that
doesn't have msse2 but are 32bit and need other 32bit-specific flags to
allow for compilation like -g0.
2020-01-17 10:42:50 +03:00
John Preston 1f71630f51 Improve spell check underline color.
Fixes #6926.
2020-01-02 15:24:36 +03:00
John Preston 322367c1b1 Correctly minimize window.
Fixes #6932.
2020-01-02 14:57:36 +03:00
John Preston 4eeac7dc18 Fix whitespace and indentation errors.
See #6672, thanks Sea-n.
2020-01-02 14:25:53 +03:00
John Preston 74733275d8 Fix build scripts. 2020-01-02 13:45:21 +03:00
John Preston 100fed3622 Fix build for Linux 32 bit.
Fixes #6921.
2019-12-31 20:20:58 +03:00
John Preston 3e8b76dbd8 Version 1.9.3: Catch Enchant exceptions. 2019-12-31 18:06:54 +03:00
John Preston da7178089f Version 1.9.3: Fix build for OS X 10.10-10.11. 2019-12-31 17:52:15 +03:00
John Preston 8c0e168009 Version 1.9.3.
- Videos in chats start playing automatically.
- Resume playback from where you left off
when watching long videos and listening to long audio tracks.
- Control automatic playback for
videos, GIFs and round video messages
in Settings > Advanced > Automatic media download.
- Enjoy system spell checker support on all modern systems.
2019-12-31 17:26:41 +03:00
John Preston fb36359a6d Disable one failing assertion for now. 2019-12-31 17:26:05 +03:00
John Preston f2a92f2b02 Check if app is active before showing a tooltip.
Fixes #6885, fixes #6895.
2019-12-31 16:48:44 +03:00
John Preston 22df6fb42e Allow videos to have size as before streaming.
Fixes #6915.
2019-12-31 14:56:31 +03:00
John Preston 735457c231 Fix infinite spell checker loop.
Fixes #6912.
2019-12-31 14:39:14 +03:00
John Preston b387ccdcf7 Fix video restart in media viewer.
Fixes #6913.
2019-12-31 14:20:37 +03:00
John Preston 03ff48cf07 Allow several lines in QR code intro step phrases. 2019-12-31 14:19:50 +03:00
John Preston 6db4222b1b Update submodules. 2019-12-31 10:30:14 +03:00
John Preston 72d8cd7ef0 Save playback position in long audio files. 2019-12-31 10:30:06 +03:00
John Preston 2637c860e9 Fix glitch in open GIF from context menu. 2019-12-30 17:02:37 +03:00
John Preston 50b5af64dd Fix possible crash in lib_storage. 2019-12-30 16:02:15 +03:00
23rd e5682a9b25 Fixed Spelling Highlighter creation on unsupported platforms. 2019-12-30 16:02:15 +03:00
John Preston 1ee7801c0b Force GTK file dialog in official builds. 2019-12-30 14:20:12 +03:00
John Preston c13e433e65 Fix possible crash in failed media resume. 2019-12-30 13:39:18 +03:00
John Preston 4aaecfd531 Fix upload progress and message time display.
Fixes #6909.
2019-12-30 13:38:36 +03:00
John Preston 57b27d217c Fix 'Open GIF' context menu item.
Fixes #6908.
2019-12-30 13:38:02 +03:00
John Preston 1e8f4e428a Beta version 1.9.2.
- Videos in chats start playing automatically.
- Resume playback from where you left off
when watching long videos.
- Control videos, GIFs and round video messages automatic playback
in Settings > Advanced > Automatic media download.
- Spell checker on Linux using Enchant.
2019-12-29 19:34:52 +03:00
John Preston 0693f98107 Fix build on Linux. 2019-12-29 18:57:19 +03:00
ilya-fedin 3d36b4f866 Replace libnotify with QtDBus notification implementation (#6825) 2019-12-29 18:41:45 +03:00
Nicholas Guriev 22585ca919 Activate spellchecking on Linux 2019-12-29 18:13:42 +03:00
Julian Sparber 0b5ac98282 Make min width 360 2019-12-29 17:58:32 +03:00
Xaaalera d506f10e9f Update utils.cpp
fix for the Ukrainian language
https://i.imgur.com/GcGZOvf.png
https://i.imgur.com/0ZUNw4X.png
2019-12-29 15:46:31 +03:00
John Preston 49129c1529 Update API scheme to layer 108. 2019-12-29 15:28:27 +03:00
John Preston 66204bae95 Update API scheme on layer 107. 2019-12-29 14:41:10 +03:00
John Preston d47c138f23 Save streaming player between message edits. 2019-12-28 17:56:06 +03:00
John Preston a980fba3aa Create only temporary keys for CDN. 2019-12-28 13:52:29 +03:00
John Preston f3d5f0c9de Fix build script for Windows. 2019-12-27 17:35:51 +03:00
John Preston 28c58b41fe Closed alpha version 1.9.1.12. 2019-12-27 17:34:43 +03:00
John Preston da385069f4 Fix build for Xcode. 2019-12-27 17:29:51 +03:00
John Preston 79870600d9 Fix saving of playback position for long videos. 2019-12-27 17:09:55 +03:00
John Preston ac48ec5969 Fix radial progress on in-chat streaming start. 2019-12-27 15:55:02 +03:00
John Preston 74e2175a7a Don't show tooltips for internal: links. 2019-12-27 15:43:29 +03:00
John Preston a7fe88bea7 Highlight timestamps in media viewer. 2019-12-27 15:35:35 +03:00
John Preston fedf29adb1 Fix timestamp highlights when editing media. 2019-12-27 15:15:16 +03:00
John Preston 1ba052cc13 Highlight timestamps in replies to media. 2019-12-27 13:41:30 +03:00
John Preston 90c54b1f2a Highlight timestamps in song captions. 2019-12-26 17:14:35 +03:00
John Preston 3e3e1d628c Highlight timestamps in video captions. 2019-12-25 18:20:02 +03:00
John Preston e9620af6fb Save last playback position for long videos. 2019-12-25 18:19:52 +03:00
John Preston b584204522 Fix sound stop in streamed videos. 2019-12-25 13:12:42 +03:00
John Preston dc146cb1fe Blur small thumbnails. 2019-12-25 13:12:00 +03:00
John Preston 08e04cdcb1 Fix autoplay settings apply in albums. 2019-12-25 12:01:49 +03:00
John Preston 063be9a13a Closed alpha version 1.9.1.11. 2019-12-24 16:39:56 +03:00
John Preston 616957e46f Add file size limit to autoplay settings. 2019-12-24 13:09:04 +03:00
John Preston 8a3506af89 Restore download priorities without streaming. 2019-12-23 14:13:32 +03:00
John Preston 85545dba64 Set higher streaming priority in media overlay. 2019-12-23 13:27:20 +03:00
John Preston fa4d8f2fbd Support priorities in download tasks. 2019-12-23 12:37:03 +03:00
John Preston 8ae6156477 Fix video quality when opening from chat. 2019-12-23 11:10:11 +03:00
John Preston 621a5cc4ab Fix GIFs freezing playback. 2019-12-21 16:57:06 +03:00
John Preston a4ea4689a2 Autoplay full-width videos in albums. 2019-12-20 17:13:55 +03:00
John Preston a8935178a2 Remove autodownload for GIFs and video messages. 2019-12-20 15:56:39 +03:00
John Preston 7f033c1cc4 Closed alpha 1.9.1.10: Stream videos in chat. 2019-12-19 18:29:19 +03:00
23rd eb9c2ce39a Split build types by folders for GCC. 2019-12-19 18:27:52 +03:00
23rd 4102551108 Fixed covering message status with mentions button at end. 2019-12-19 18:27:34 +03:00
23rd ff4ccdc59c Fixed covering right part of chat list with dialogs up button at end. 2019-12-19 18:27:32 +03:00
John Preston f51f133832 Send packets for processing in batches. 2019-12-19 18:14:05 +03:00
John Preston c4319a7370 Add a separate setting for video files autoplay. 2019-12-19 14:48:53 +03:00
John Preston 041670b8e7 Fix download of short videos in media overlay. 2019-12-19 14:13:27 +03:00
John Preston 4cdf08cbfb Fix video with autoplay disabled. 2019-12-19 13:50:33 +03:00
John Preston 9f96237b85 Remove unnecessary repaints in an inactive window. 2019-12-18 22:00:19 +03:00
John Preston 92d87f96e1 Optimize locked videos repainting. 2019-12-18 21:48:07 +03:00
John Preston 40d4353d05 Allow stopping audio without stopping video. 2019-12-18 21:26:17 +03:00
John Preston a2b6e05cdf Fix inline player for rotated videos. 2019-12-18 20:15:42 +03:00
John Preston 10c810ff03 Lock inline HistoryView::Gif when playing fullscreen. 2019-12-17 17:30:14 +03:00
John Preston 51dac66998 Show inline video playback state. 2019-12-17 16:04:53 +03:00
John Preston 9b9ea336be Use HistoryView::Gif for video files. 2019-12-17 14:11:10 +03:00
John Preston 0e75ad42e2 Fix playback state display in round videos. 2019-12-16 17:17:13 +03:00
John Preston ceecbaa904 Continue GIFs in media overlay. 2019-12-16 16:22:53 +03:00
John Preston 58315ec50e Closed alpha version 1.9.1.9 2019-12-14 17:46:59 +03:00
John Preston 1f2b5ba0a2 Update spellcheck and ui submodules. 2019-12-14 17:46:31 +03:00
John Preston dc3e9e2f3d Fix updates script and instruction. 2019-12-13 18:13:28 +03:00
John Preston ff6df75adc Fix QR login to different dc. 2019-12-13 18:11:31 +03:00
John Preston 07ceee79ff Support password in QR login. 2019-12-13 18:00:21 +03:00
John Preston 55859f3caa Fix layout regressions in login. 2019-12-13 17:51:50 +03:00
John Preston 418b0e7db0 Always try to stream video messages. 2019-12-13 17:51:14 +03:00
John Preston 38199276f1 Fix round video messages streaming. 2019-12-12 16:26:53 +03:00
John Preston 7f26f81e4f Give names to MTProto session threads. 2019-12-12 16:26:26 +03:00
John Preston 8211c94a74 Prepare frames for all instances with requests. 2019-12-12 12:34:40 +03:00
John Preston dbdd9aa481 Stop GIFs that are far away from the screen. 2019-12-11 17:15:29 +03:00
John Preston 9339db900f Pause GIFs in message history. 2019-12-11 17:01:11 +03:00
John Preston 2d7adbc68a All players create own Media::Streaming::Instance. 2019-12-11 15:09:21 +03:00
John Preston bfa5accc29 Use shared player for each document. 2019-12-11 13:15:48 +03:00
John Preston f91f77ff2e Make temporary keys live one day. 2019-12-10 18:29:18 +03:00
John Preston 1243123579 Allow multiple players of the same file. 2019-12-10 17:06:22 +03:00
John Preston 8e8c356659 Use streamed video for GIFs in History. 2019-12-10 15:49:37 +03:00
John Preston b73f1be856 Make some video player code reusable. 2019-12-10 15:13:12 +03:00
John Preston c7836be614 In emoji suggestions match only full strings. 2019-12-10 11:17:27 +03:00
John Preston f88466a376 Don't refresh messages redundantly.
Fixes #6781.
2019-12-10 10:49:31 +03:00
John Preston e60a9f0943 Fix key creation for media cluster. 2019-12-09 18:42:11 +03:00
John Preston 41e13e39bc Apply ignore_restriction_reasons from config. 2019-12-09 18:42:11 +03:00
John Preston 431b7445c3 Allow editing sensitive content filtering. 2019-12-09 15:59:08 +03:00
John Preston c301be3826 Fix GIFs and animated stickers freeze. 2019-12-09 09:37:02 +03:00
John Preston 998b36f014 Use installed opus on non-Windows. 2019-12-09 09:36:37 +03:00
John Preston 5b787a6759 Add more extensions as possibly-executable. 2019-12-08 17:54:21 +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 7e3bc2966e Closed alpha version 1.9.1.8: Re-enable crash reports. 2019-12-06 14:28:07 +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 240117b77e Use URL instead of string for QR login. 2019-12-06 13:27:10 +03:00
John Preston 352d87ba76 Closed alpha version 1.9.1.8. 2019-12-06 13:23:04 +03:00
John Preston b5dc22b77b Add configure script for cmake. 2019-12-06 13:17:40 +03:00
John Preston 9310728a11 Fix build on Windows. 2019-12-06 11:39:13 +03:00
John Preston e3fa17dd4f Merge remote-tracking branch 'private/alpha' into cmake 2019-12-06 11:08:14 +03:00
John Preston ae8fb14f9e Use 8 seconds timeout for request duration. 2019-12-06 10:05:38 +03:00
John Preston 7fb24d77c0 Check request duration when adding sessions. 2019-12-05 16:38:28 +03:00
John Preston e426f2895b Add download sessions if it works fast enough. 2019-12-05 14:46:28 +03:00
John Preston ee94e78533 All mtproto downloads using DownloadMtprotoTask. 2019-12-05 11:32:33 +03:00
John Preston 78809873b0 Fix build for Linux 32 bit. 2019-12-05 11:09:37 +03:00
John Preston 4611727ab9 Rewrite webFileLoader without Storage::DownloadManager. 2019-12-04 15:15:58 +03:00
John Preston 619dbe9b11 Initial Linux build. 2019-12-04 11:22:11 +03:00
John Preston f522cc9444 Load streaming parts using Storage::DownloadManager. 2019-12-04 10:42:55 +03:00
John Preston 3ae2986c25 Allow variable count of download sessions. 2019-12-04 09:51:21 +03:00
John Preston cb2c6e4b89 Change QR code phrase. 2019-12-03 17:50:25 +03:00
John Preston fb86bb579b Correctly track DC index in Downloader-s. 2019-12-03 15:45:35 +03:00
John Preston 8535a579ca Fix by-word/paragraph text selection in WebPage. 2019-12-03 11:08:55 +03:00
John Preston 12f5ccaaa5 Use vector queues in mtproto file downloader. 2019-12-03 10:25:27 +03:00
John Preston 524d64a462 Clip intro animation by Next button. 2019-12-02 20:12:24 +03:00
John Preston 66961dce83 Closed alpha version 1.9.1.7: Update lib_spellcheck. 2019-12-02 19:23:59 +03:00
John Preston 6f092bbb57 Closed alpha version 1.9.1.7. 2019-12-02 18:52:54 +03:00
23rd d542291d8f Added ability to invoke macOS Character Palette. 2019-12-02 18:50:32 +03:00
John Preston 907965531c Don't bind key for more than 10 seconds. 2019-12-02 16:30:33 +03:00
John Preston 91f50e8bdc Move some more code to lib_mtproto. 2019-12-02 16:11:22 +03:00
John Preston 718de09aa6 Handle state / resend requests separately. 2019-12-02 16:11:22 +03:00
John Preston 3b703d7262 Keep in sent container only important msgIds. 2019-12-02 16:11:22 +03:00
John Preston efaa3ba453 Handle sent containers separately. 2019-12-02 16:11:22 +03:00
John Preston 9caac426ef Correctly check container lifetime. 2019-12-02 16:11:22 +03:00
John Preston cbebcb1bc9 Fix notification about a new mtproto session. 2019-12-02 16:11:22 +03:00
John Preston 01ecd73a62 Implement build for Mac App Store. 2019-11-30 12:04:51 +03:00
John Preston eea508066c Closed alpha version 1.9.1.6. 2019-11-29 15:38:41 +03:00
John Preston b3a255b3f1 Fix file references in webpage collages. 2019-11-29 15:36:06 +03:00
John Preston ae98e4ae44 Support file reference refresh in Export. 2019-11-29 15:36:06 +03:00
John Preston 64535251e8 Use limited number of threads in MTP. 2019-11-29 15:36:06 +03:00
John Preston c742d7406c Make MTP::Session handle the connection thread. 2019-11-29 15:36:06 +03:00
John Preston 06f5f7f7d9 Don't always restart connection on config change. 2019-11-29 15:36:06 +03:00
John Preston e6c86b19db Use app config value for QR login. 2019-11-29 15:36:06 +03:00
John Preston 55f83129b7 Remove Q_OBJECTs from Intro. 2019-11-29 15:36:05 +03:00
John Preston e943264823 Pass MTP::Instance to MTP::Sender. 2019-11-29 15:36:05 +03:00
John Preston a0152557ec Cross-fade login QR. 2019-11-29 15:36:05 +03:00
John Preston f4bf79b067 Add QR code generation progress. 2019-11-29 15:36:05 +03:00
John Preston ba7762305e Use special plane icon for login QR. 2019-11-29 15:36:05 +03:00
John Preston 7dbba75776 Make login QR follow the color theme. 2019-11-29 15:36:05 +03:00
John Preston 339a80e192 Improve QR code login layout. 2019-11-29 15:36:04 +03:00
John Preston 32d567120b Change URL in Windows setup script. 2019-11-29 15:36:04 +03:00
John Preston d5718f96b8 First working auth by QR code. 2019-11-29 15:36:04 +03:00
John Preston 95ba12e3cb Update API scheme to layer 107. 2019-11-29 15:36:04 +03:00
John Preston 82f06cee55 Build OS X 10.10-10.11 version with Qt 5.6.2. 2019-11-29 15:10:33 +03:00
John Preston 2f2d698545 Use absolute paths instead of target_link_directories. 2019-11-29 13:56:07 +03:00
John Preston 90de0b687f Use faster style generation and better source groups. 2019-11-29 11:37:29 +03:00
John Preston d932271c60 Use BYPRODUCTS instead of OUTPUT for codegen. 2019-11-28 11:43:00 +03:00
John Preston 5bfb98b70d Initial build with Xcode. 2019-11-25 18:46:02 +03:00
John Preston fe1aacd37b Rename update.cpp to updater_win.cpp. 2019-11-25 18:34:02 +03:00
John Preston 8979525dc0 Closed alpha version 1.9.1.4. 2019-11-25 09:57:55 +03:00
John Preston 9d0332be0a Closed alpha version 1.9.1.3: Update lib_spellcheck. 2019-11-23 19:40:06 +03:00
John Preston 9e37088f43 Closed alpha version 1.9.1.3. 2019-11-23 19:34:15 +03:00
John Preston 8f17fe98e0 Fix using undefined variables. 2019-11-22 21:03:57 +03:00
John Preston 8be4dfb346 Use explicit fields for sent container ids wrap. 2019-11-22 17:38:01 +03:00
John Preston 46a42e02bc Fix lost bind key messages. 2019-11-22 12:06:48 +03:00
John Preston 2597bc9f4e Fix layout of polls with huge questions. 2019-11-21 18:28:49 +03:00
John Preston ec84589eca Update lib_lottie with useCache fixes. 2019-11-21 18:18:53 +03:00
John Preston 11b02b4f88 Use namespaced library aliases. 2019-11-21 17:43:20 +03:00
John Preston 9e5262008f Add more options. 2019-11-21 14:56:17 +03:00
John Preston 311a1274c5 Closed alpha version 1.9.1.2: Update lib_spellcheck. 2019-11-21 13:46:29 +03:00
John Preston 276adec0ff Fix temporary keys for media cluster. 2019-11-21 13:38:02 +03:00
John Preston 54b5342af4 Closed alpha version 1.9.1.2: Key expire in 10 min. 2019-11-20 17:30:20 +03:00
John Preston 410efc924b Closed alpha version 1.9.1.2. 2019-11-20 17:26:31 +03:00
John Preston e748a68153 Fix build for macOS. 2019-11-20 17:26:07 +03:00
John Preston 4edfd4804f Fix destroyed key clearing. 2019-11-20 16:33:45 +03:00
John Preston 4c24ec7725 Fix keys destruction on logout. 2019-11-20 14:50:19 +03:00
John Preston bdc7f4114f Move some things from SessionData. 2019-11-20 13:41:14 +03:00
John Preston 885738ac32 Always choose correct address for key creation. 2019-11-20 12:16:53 +03:00
John Preston 43bab3eeaa Fix instant restarts with additional timeout. 2019-11-20 11:23:30 +03:00
John Preston f424cb54f7 Create keys not simultaneously. 2019-11-19 19:22:02 +03:00
John Preston e6d3b2b098 Fix resending requests after new session. 2019-11-19 19:14:50 +03:00
John Preston e7e1c9aa5a Don't handle 'msg_resend_req'. 2019-11-19 14:55:39 +03:00
John Preston 173ae746a2 First version of working through temp keys. 2019-11-19 13:10:51 +03:00
John Preston d9fc3619c2 Remove all signals from ConnectionPrivate. 2019-11-18 15:53:37 +03:00
John Preston cfe12f773f Move some modules to lib_mtproto. 2019-11-18 12:28:14 +03:00
John Preston 782025a0a6 Wrap 'divmodti4' the same as 'divmoddi4'. 2019-11-18 12:10:52 +03:00
John Preston a05e2f0d8d Use 'uname -m' instead of 'uname -p'. 2019-11-18 12:10:31 +03:00
John Preston 50b2b6c5b1 Use installed opus on non-Windows. 2019-11-18 11:52:06 +03:00
John Preston 1afae74d1e Remove libdee from linking. 2019-11-18 10:52:45 +03:00
John Preston da4120bddd Fix building without glib. 2019-11-18 10:52:32 +03:00
John Preston c961acabbc Include private header only if needed. 2019-11-18 10:52:08 +03:00
John Preston e5bd187d4d Use precompiled header from cmake 3.16. 2019-11-18 00:29:03 +03:00
John Preston 90c6475c8c Closed alpha version 1.9.1.1: Fix build on macOS. 2019-11-15 17:11:05 +03:00
John Preston 8fa9172818 Closed alpha version 1.9.1.1. 2019-11-15 16:16:33 +03:00
John Preston cfcd12e879 Several spellchecker fixes. 2019-11-15 16:16:33 +03:00
23rd 1ef877d9a5 Fixed moving cursor to begin/end when using reply shortcuts for macOS. 2019-11-15 16:16:33 +03:00
John Preston be06d68468 Don't lock whole key creation by a mutex. 2019-11-15 16:16:33 +03:00
John Preston 055b99f5b0 Don't use shared_ptr for Dcenters. 2019-11-15 16:16:33 +03:00
John Preston f37ab6e38e Remove checked key property. 2019-11-15 16:16:33 +03:00
John Preston fe1e627cac Improve working with sessions. 2019-11-15 16:16:33 +03:00
John Preston 1e252a6505 Remove old debug information. 2019-11-15 16:16:32 +03:00
John Preston 3a7faffa3a Use thread_local counter in logs for thread index. 2019-11-15 16:16:32 +03:00
John Preston 8b14249cd2 Move DumpToText from Telegram to lib_mtproto. 2019-11-15 16:16:32 +03:00
John Preston 7243fb52ad Check keys that receive -404 error codes. 2019-11-15 16:16:32 +03:00
John Preston 1524b4a930 Allow creating temporary keys. 2019-11-15 16:16:32 +03:00
John Preston 08bfe6f1c1 Extract mtproto key generation code. 2019-11-15 16:16:32 +03:00
John Preston 70dbd9e5b4 Add base::expected. 2019-11-15 16:16:26 +03:00
John Preston 2577bedeac Remove mtproto/facade.h from main pch. 2019-11-13 11:31:12 +03:00
Christian Hesse 0c0c8f3584 libnotify: capabilities are not exclusive
Capabilities "actions" and "body-markup" can be available at the
same time.

Signed-off-by: Christian Hesse <mail@eworm.de>
2019-11-13 11:22:08 +03:00
Nicholas Guriev 793862bee6 Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663)
* Do not move result at end of function

This makes GCC 9.1.2 happy with the active -Wredundant-move warning.
Indeed, such moving of local variables or local arguments before
returning is unnecessary and prevents the compiler from copy elision
optimization.
2019-11-12 18:15:34 +03:00
RadRussianRus a196b0aba7 Fixed animated stickers cache 2019-11-11 19:46:33 +03:00
John Preston 61723bd794 Initial Windows Debug build with cmake. 2019-11-11 13:39:48 +03:00
John Preston 85060cd655 Compile all code with cmake. 2019-11-09 19:06:00 +03:00
John Preston c4da31c213 Add lib_storage as submodule. 2019-11-08 15:00:15 +03:00
John Preston a18baaae2c Add all code generation targets. 2019-11-08 14:08:40 +03:00
John Preston 02a71d745d Build lib_ui with cmake. 2019-11-08 13:05:59 +03:00
John Preston b7fed0377c Build codegen utils with cmake. 2019-11-08 11:30:20 +03:00
John Preston 6a668fc171 'TDESKTOP_DISABLE_CRASH_REPORTS' => 'DESKTOP_APP_DISABLE_..' 2019-11-07 13:53:55 +03:00
John Preston 35befb2b3c Fix snapcraft build. 2019-11-07 13:11:47 +03:00
John Preston 86695f60a3 Fix selected text colors on macOS. 2019-11-07 13:11:40 +03:00
John Preston 4e1e7a5a9c Beta version 1.9.1: gyp fixes. 2019-11-06 19:44:50 +03:00
John Preston 2677a86ffd Beta version 1.9.1.
- Bug fixes and other minor improvements.
2019-11-06 19:32:29 +03:00
John Preston c8a98b6429 Fix appveyor build. 2019-11-06 19:25:46 +03:00
23rd 16d06527be Updated lib_spellcheck.
- Fixed #6756.
2019-11-06 15:45:03 +03:00
23rd c867727e1c Removed spellcheck setting for OS X 10.10/10.11 version. 2019-11-06 15:31:41 +03:00
John Preston 1a4c1cbbf4 Link xkbcommon-x11 and build Qt with XCB XKB.
Fixes #6754.
2019-11-06 12:03:54 +03:00
John Preston c1a241c7e7 Upload full source tarballs to assets. 2019-11-06 11:11:16 +03:00
John Preston 3023a383fc Update build scripts. 2019-11-06 00:27:20 +03:00
John Preston 54a64c01dc Version 1.9.
- System spellchecker on Windows 8+ and macOS 10.12+.
2019-11-05 17:46:42 +03:00
John Preston 3fd2d73f04 Fix layout in the spellchecker settings block. 2019-11-05 17:44:39 +03:00
John Preston d1e2fec760 Fix crash in destructor of spellchecked input field. 2019-11-05 17:03:48 +03:00
John Preston b94ed1fc3b Remove 'mac32' and add 'osx' special targets. 2019-11-05 15:45:55 +03:00
John Preston 9a44531953 Return GCC feature checks on Linux. 2019-11-05 14:51:03 +03:00
John Preston 1eb62579e2 Support building OS X 10.10/10.11 version. 2019-11-05 14:27:42 +03:00
John Preston 88e0342e02 Update to the latest submodules. 2019-11-05 14:27:42 +03:00
John Preston 6a0c7f3909 Update docs, fix patches revision. 2019-11-05 14:27:41 +03:00
23rd 6c2479c09f Fixed moving cursor when using reply shortcuts.
- Fixed #6038.
 - Slightly refactored comparison of modifiers.
2019-11-05 13:23:56 +03:00
John Preston f945e88d13 Fix tilde workaround in Open Sans. 2019-11-05 13:23:56 +03:00
John Preston bd0aee2f77 Use userpic if no photo thumbnail is loaded. 2019-11-05 13:23:56 +03:00
John Preston d63e50944a Update submodules to the latest spellcheck. 2019-11-05 13:23:56 +03:00
John Preston 272f2d937b Fix build in Linux. 2019-10-20 22:05:35 +04:00
John Preston 6529edff92 Closed alpha version 1.8.15.2. 2019-10-20 21:43:31 +04:00
23rd 155d28d6d0 Updated lib_ui. 2019-10-20 21:11:38 +04:00
23rd aa9dc2bee2 Added phrases for spellchecker. 2019-10-20 21:11:38 +04:00
23rd 4be178c75f Added SpellingHighlighter to InputField in HistoryWidget and some boxes. 2019-10-20 21:11:38 +04:00
23rd 6e95cfc24d Added lib_spellcheck. 2019-10-20 21:11:37 +04:00
23rd 1056021059 Added new setting to disable spellchecker. 2019-10-20 21:11:37 +04:00
John Preston d535f5b3bc Fix build in Linux. 2019-10-20 21:09:07 +04:00
John Preston 92d48a7846 Fix build on Windows. 2019-10-20 15:32:44 +04:00
John Preston 467be135d6 Fix build in macOS. 2019-10-20 15:24:09 +04:00
John Preston 768a3d5a12 Backport a fix for custom window title. 2019-10-20 14:23:02 +04:00
John Preston 27a83a7a09 Use base::FileNameFromUserString. 2019-10-20 14:22:46 +04:00
John Preston 3ae7f9f93d Fix color conversion for Qt 5.12.5. 2019-10-20 13:00:36 +04:00
John Preston e952c513d5 Use old non-crashing rlottie. 2019-10-20 12:13:20 +04:00
John Preston 3ce72d0696 Closed alpha version 1.8.15.1. 2019-10-19 12:27:56 +04:00
John Preston 28719939a0 Fix tray icon on macOS in Qt 5.12.5. 2019-10-19 12:27:56 +04:00
John Preston 85acdbc7ed Disable custom scaling by envvar. 2019-10-19 12:27:56 +04:00
John Preston b880d4aa30 Use custom named fonts. 2019-10-19 12:27:56 +04:00
John Preston 01936b5f1b Build with Qt 5.12.5 and OpenSSL 1.1.1. 2019-10-19 12:27:56 +04:00
John Preston c6b3257412 Update lib_ui.
Fixes #6632, fixes #6635.
2019-10-19 12:27:56 +04:00
John Preston 9a498616c6 Fix build for Xcode 11. 2019-10-19 12:27:56 +04:00
John Preston c88ee34b1d Fix build with range-v3 0.9.1. 2019-10-19 12:27:56 +04:00
John Preston bc2a0fb505 Use TL code generator from lib_tl. 2019-10-19 12:27:56 +04:00
John Preston 7bb23519f9 Use base::Platform::ShowInFolder. 2019-10-19 12:27:56 +04:00
John Preston 30a1bd7ba2 Use base::call_delayed. 2019-10-19 12:27:56 +04:00
John Preston 09a7daf164 Update submodules. 2019-10-19 12:27:56 +04:00
John Preston e757e6f67b Move private folder. 2019-10-19 12:27:56 +04:00
John Preston 2fc9fd5887 Remove some unused code. 2019-10-19 12:27:56 +04:00
John Preston c87f9d0074 Fix build for Linux. 2019-10-19 12:27:56 +04:00
John Preston fcb2950ce8 Use slide animation from lib_ui. 2019-10-19 12:27:56 +04:00
John Preston 250b7240f6 Add lib_[r]lottie as submodules. 2019-10-19 12:27:56 +04:00
John Preston dad73c0e7b Build with updated submodules. 2019-10-19 12:27:56 +04:00
John Preston 959901d599 Use toasts from lib_ui. 2019-10-19 12:27:56 +04:00
John Preston 2d3f683003 Rename core_ui_integration to ui_integration. 2019-10-19 12:27:56 +04:00
John Preston f677b116f9 Use install_base_filter for lib_base. 2019-10-19 12:27:56 +04:00
John Preston a6b96662c4 Use some resources from lib_ui. 2019-10-19 12:27:56 +04:00
John Preston a6c84c36c0 Use layers and boxes from lib_ui. 2019-10-19 12:27:52 +04:00
John Preston 860353824b Fix build in Xcode. 2019-10-19 12:27:34 +04:00
John Preston 383195f1b2 Use some icons from lib_ui. 2019-10-19 12:27:34 +04:00
John Preston e3f5a505eb Fix folder structure for Xcode build. 2019-10-19 12:27:34 +04:00
John Preston 246c45ce0e Use lib_ui from submodule. 2019-10-19 12:27:28 +04:00
John Preston 1b89348d89 Use lib_rpl / lib_base from submodules. 2019-10-19 10:30:08 +04:00
John Preston be9398b05a Add several submodules from desktop-app. 2019-10-19 10:29:11 +04:00
John Preston daa33a5726 Update API scheme to layer 106. 2019-10-13 15:31:44 +04:00
John Preston 17baac710e Fix save dialog in macOS for streamed videos. 2019-10-07 19:57:26 +03:00
RadRussianRus 883d6dcede Fixed inline message restriction width 2019-10-07 18:58:21 +03:00
RadRussianRus 261a83eda3 Show restricted date to user (#6642)
* Show restricted date to user
* Fixed attach button toast
* Fixed attach button toast in scheduled messages
2019-10-07 17:35:22 +03:00
John Preston 5f06279b9a Version 1.8.15.
- Bug fixes and other minor improvements.
2019-10-07 17:33:41 +03:00
John Preston 2835aa446f Fix possible HistoryHider bug on old OS X. 2019-10-07 17:28:36 +03:00
John Preston 55d5f6e03d Fix possible crash in emoji suggestions.
Fixes #6652, fixes #6654.
2019-10-07 12:35:49 +03:00
John Preston 60b39c8f7e Fix inline result previews. 2019-10-07 12:19:04 +03:00
John Preston de230332b9 Version 1.8.14: Fix crash in text processing on old OS X. 2019-10-03 19:51:09 +03:00
John Preston dcf79df0b2 Version 1.8.13.
- Bug fixes and other minor improvements.
2019-10-03 13:26:39 +03:00
John Preston 9773563926 Fix history geometry update being lost.
Fixes #6629.
2019-10-03 13:25:05 +03:00
John Preston 3779ad46ca Fix crash in pre-launch logging.
Fixes #6635.
2019-10-03 12:37:00 +03:00
John Preston 4e7946d03e Allow scales below 100.
Fixes #6632.
2019-10-03 12:34:58 +03:00
John Preston 606a90a4ac Fix crash in emoji suggestions.
Fixes #6636.
2019-10-03 12:13:41 +03:00
John Preston af818b40aa Version 1.8.12: Apply user settings in Session().
Fixes #6617.
2019-10-02 13:47:40 +03:00
John Preston ecfe1dacb2 Version 1.8.12: Fix build for Xcode. 2019-10-02 12:54:29 +03:00
John Preston 60640c7087 Version 1.8.12: Fix 'edited' badge display. 2019-10-02 12:08:31 +03:00
RadRussianRus 982edcb310 Resize message with photo when bubbled 2019-10-02 11:56:33 +03:00
Jiachen YANG c164985233 tweak vs2019 compiler settings to be compatible with newer range-v3 2019-10-02 11:52:55 +03:00
Jiachen YANG 497df7f4b2 change deprecated ranges::to_ to ranges::to (no underscore) 2019-10-02 11:52:55 +03:00
Jiachen YANG 56aab1aa07 explicitly specify the upper bound in ranges::view::ints 2019-10-02 11:52:55 +03:00
Jiachen YANG 8abeb4a9db include range/v3/range/conversion.hpp instead of range/v3/to_container.hpp 2019-10-02 11:52:55 +03:00
Jiachen YANG 9d850b71e7 be compatible with range-v3 0.9.x/1.0 branch
This made 2 changes to the current code base to be compatible with higher versions of range-v3 library.
1. ranges::iterator_range was renamed to subrange, see https://github.com/ericniebler/range-v3/issues/766
2. PercentCounterItem need an operator== for ranges::sort for some reason
2019-10-02 11:52:55 +03:00
RadRussianRus 684cfa16b8 Do not show edit timer for supergroup admins 2019-10-02 11:31:43 +03:00
John Preston 2cb7d76417 Optimize unixtime refresh. 2019-10-02 11:30:50 +03:00
23rd 9bf8b619fe Refactored ability to display media preview from touchbar. 2019-10-02 11:30:23 +03:00
John Preston 664162982c Version 1.8.12: Fix build for old OS X. 2019-10-02 11:21:56 +03:00
John Preston 718f862be0 Version 1.8.12: Fix build for Mac App Store. 2019-10-02 11:21:02 +03:00
John Preston 489bd22828 Version 1.8.12.
- Bug fixes and other minor improvements.
2019-10-02 11:18:23 +03:00
John Preston 65b5a29288 Fix local url handling.
Regression was introduced in 849deb57e2.

Fixes #6622.
2019-10-02 11:11:03 +03:00
John Preston bf345da87b Version 1.8.11: Fix build for Xcode. 2019-10-02 00:57:16 +03:00
John Preston 1e5aa2a78d Version 1.8.11.
- Bug fixes and other minor improvements.
2019-10-01 23:59:46 +03:00
John Preston 8cf62c312f Allow not to cache emoji sprites. 2019-10-01 23:59:46 +03:00
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 a16c6ca41a Support more request types. 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 b73390a3f6 Support emoji in popup menu items. 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 a87529b8c9 Version 1.8.10.
- Bug fixes and other minor improvements.
2019-10-01 23:59:46 +03:00
John Preston 0c30bbf40a Fix file reference refresh in stickers / GIFs.
Fixes #6592.
2019-09-30 13:25:09 +03:00
John Preston f75bfb4369 Version 1.8.9.
- Bug fixes and other minor improvements.
2019-09-27 20:04:25 +03:00
John Preston 0c34ba638c Don't show revoke checkbox in Saved Messages. 2019-09-27 20:01:36 +03:00
John Preston 4af9c801ae Don't show sticker suggestions if can't send.
Fixes #6581.
2019-09-27 19:56:54 +03:00
John Preston e06bf16980 Improve name / title limits. 2019-09-27 19:46:27 +03:00
John Preston 1018745b0b Fix userpic display in custom notifications.
Fixes #6532.
2019-09-27 19:36:19 +03:00
John Preston 47b157bf32 Fix possible crash in custom notifications. 2019-09-27 18:53:44 +03:00
John Preston 09547bd6d5 Fix possible crash in scheduled messages. 2019-09-27 18:49:49 +03:00
udf f11339361d Make "All Users" checkbox behave like the "All Actions" checkbox 2019-09-27 18:04:50 +03:00
John Preston 04b9d4bdb5 Fix animated emoji reloading. 2019-09-11 14:00:18 +03:00
John Preston 1d8d2b6251 Fix theme link preview title. 2019-09-10 18:30:47 +03:00
John Preston 190bf8fc5f Version 1.8.8.
- Create new themes based on your color and wallpaper choices.
- Share your themes with other users via links.
- Update your theme for all its users when you change something.
2019-09-10 14:22:20 +03:00
John Preston f463d3ec6d Divide autoupdate paths for OS versions. 2019-09-10 14:22:20 +03:00
23rd f9d10094ac Added warning when try to attach new media while editing message. 2019-09-10 14:22:20 +03:00
RadRussianRus 9fc87c3cb8 Fix last message tail drawing in theme preview 2019-09-10 10:48:20 +03:00
John Preston c4bc76c022 Beta version 1.8.7.
- Bug fixes and other minor improvements.
2019-09-10 00:52:34 +03:00
John Preston 241f5e1d26 Make theme preview fit in minimal window size. 2019-09-10 00:50:15 +03:00
John Preston 76f0abecfd Show sticker set on Ctrl+Click in stickers list. 2019-09-10 00:48:34 +03:00
John Preston ca45fb617e Fix applying background after theme edit. 2019-09-10 00:36:16 +03:00
John Preston dfd63e66ff Add import theme to the editor. 2019-09-09 23:58:41 +03:00
John Preston d85f162bff Fix saving cloud themes from media viewer. 2019-09-09 23:58:30 +03:00
John Preston 1d4fbc64e2 Ensure theme list radiobutton contrast. 2019-09-09 23:25:54 +03:00
John Preston 9fd32fc85b Ensure contrast in critical theme parts. 2019-09-09 23:02:24 +03:00
John Preston f7f195eb98 Fix transfer ownership button visibility.
Regression was introduced in 569340c7d3.
2019-09-09 21:07:12 +03:00
John Preston 12c7bd8ee1 Suggest theme title based on accent color. 2019-09-09 20:27:07 +03:00
John Preston cd5ef069c0 Ask to unlock Telegram before saving theme. 2019-09-09 20:26:53 +03:00
John Preston f90fdce422 Fix crash on quit from passcode with a box. 2019-09-09 18:54:38 +03:00
John Preston 423254f7eb Fix theme editor closing in a small window.
Fixes #6510.
2019-09-09 18:37:04 +03:00