John Preston
db66e93258
Allow to return to the original chat on forward.
2019-05-27 15:10:11 +02:00
John Preston
2f1b029ec9
Don't suggest emoji on :[non-letter].
2019-05-27 15:10:08 +02:00
John Preston
0eb975e679
Allow disabling first-word emoji suggestions.
2019-05-27 15:10:06 +02:00
John Preston
a49a96ba33
Fix archive search input field focus.
2019-05-27 15:10:04 +02:00
John Preston
d2d51cc883
Fix field showing on write access enabling.
2019-05-27 15:09:59 +02:00
John Preston
e8a99a854d
Add unread badge to Discuss button.
2019-05-27 15:09:57 +02:00
John Preston
a64c8c52b4
Correctly display discussion posts sender.
2019-05-27 15:09:56 +02:00
John Preston
01054858a4
Url auth checkboxes checked by default.
2019-05-27 15:09:53 +02:00
John Preston
87caa58456
Forward some inline keyboards.
2019-05-27 15:09:52 +02:00
John Preston
6b9675a5b1
Correctly display discussion posts.
2019-05-27 15:09:50 +02:00
John Preston
371f1a51c3
Preload blocked users slice in Settings.
2019-05-27 15:09:47 +02:00
John Preston
8aaaef3ff4
Show 'channel' badge for discussed messages.
2019-05-27 15:09:45 +02:00
John Preston
7fbec0dbca
Show admin log events for linked chats.
2019-05-27 15:09:43 +02:00
John Preston
0a86e732cd
Add a footer to EditLinkedChatBox.
2019-05-27 15:09:42 +02:00
John Preston
4e10552c12
Add a confirmation for linking a discussion group.
2019-05-27 15:09:41 +02:00
John Preston
0eae8fe6a0
Hide date from archive dialog.
2019-05-27 15:09:39 +02:00
John Preston
ee2c7fad78
Allow creating discussion groups for channels.
2019-05-27 15:09:37 +02:00
John Preston
b9d89cb4a0
Allow unlinking the discussion group.
2019-05-27 15:09:35 +02:00
John Preston
f0eba3e283
Show Discuss button in channels.
2019-05-27 15:09:32 +02:00
John Preston
801b500aa6
Use session() instead of Auth() in HistoryWidget.
2019-05-27 15:09:30 +02:00
John Preston
9c1ce702bb
Display channel posts in discussion groups.
2019-05-27 15:09:28 +02:00
John Preston
50778790fe
Start supporting channel discussion groups.
2019-05-27 15:09:25 +02:00
John Preston
b05bf049bc
Fix add member icon position.
2019-05-27 15:09:23 +02:00
John Preston
c92a798e1b
Support url authorizations.
2019-05-27 15:09:18 +02:00
John Preston
8660f976a9
Add phone number privacy.
...
Also move calls peer-to-peer privacy inside calls privacy.
2019-05-27 15:09:15 +02:00
John Preston
f5c79cb1b6
Use new next_rate field for global search.
2019-05-27 15:09:13 +02:00
John Preston
6b80ff4bcc
Support groups in privacy settings.
2019-05-27 15:09:12 +02:00
John Preston
3556fbf702
Pause animated stickers as GIFs.
2019-05-27 15:09:09 +02:00
John Preston
3577e71782
Validate mime type of animated stickers.
2019-05-27 15:09:07 +02:00
John Preston
c4aac5fa0e
Update API scheme to layer 100.
2019-05-27 15:09:06 +02:00
John Preston
68fb9b8b67
Remove benchmarks.
2019-05-27 14:11:27 +02:00
John Preston
630c07391c
QtLottie: Fix gradients.
2019-05-27 14:11:27 +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
0c84fc1271
QtLottie: Remove unnecessary includes.
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
12a4a849ca
QtLottie: Make property parsing non-virtual.
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
0e7cefb69c
QtLottie: Use QStringLiteral instead of QLatin1String.
2019-05-27 14:11:27 +02:00
John Preston
21eaa35d8c
QtLottie: Drop expressions.
2019-05-27 14:11:27 +02:00
John Preston
c1ae825d98
Add some benchmarks.
2019-05-27 14:11:27 +02:00
John Preston
fbc206ebee
QtLottie: Enforce BM nodes parent.
2019-05-27 14:11:27 +02:00
John Preston
67739ae3fd
Don't try to keep up if animation got late.
2019-05-27 14:11:27 +02:00
John Preston
7ee16ba45c
Clear hidden animated stickers.
2019-05-27 14:11:26 +02:00
John Preston
236513943c
Fix animated sticker selection.
2019-05-27 14:11:26 +02:00
John Preston
cfff744cb1
Parse and render lottie in the background.
2019-05-27 14:11:26 +02:00
John Preston
61b6effccc
View some more files as stickers.
2019-05-27 14:11:26 +02:00
John Preston
642deecbbb
Allow loading lottie animations from memory.
2019-05-27 14:11:26 +02:00
John Preston
707aa88974
Animated stickers proof of concept.
2019-05-27 14:11:26 +02:00
John Preston
5b04698f5f
QtLottie: Suboptimal fix for spatial properties.
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
f2ef2fab4f
QtLottie: Support many geometry shapes in a group.
2019-05-27 14:11:26 +02:00
John Preston
1a2755f126
QtLottie: Ignore opacity in null layer transform.
2019-05-27 14:11:26 +02:00
John Preston
801580c46f
QtLottie: Apply even inactive parent transforms.
2019-05-27 14:11:26 +02:00
John Preston
3f1ec52e6c
QtLottie: Fix precomp layer start time.
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
6abf74530d
QtLottie: Check each layer for visibility by frame.
2019-05-27 14:11:26 +02:00
John Preston
08ad74da8f
QtLottie: Fix parent transform in precomp layers.
2019-05-27 14:11:26 +02:00
John Preston
38427aa52a
Fix build in Xcode.
2019-05-27 14:11:26 +02:00
John Preston
68eb48be8d
QtLottie: Fix scaling in some animations.
2019-05-27 14:11:26 +02:00
John Preston
5e5b4197e9
QtLottie: Apply opacity in BMFill and BMStroke.
2019-05-27 14:11:26 +02:00
John Preston
48eb5dd112
QtLottie: Bug fixes.
2019-05-27 14:11:26 +02:00
John Preston
9b7e3dc3ec
QtLottie: Fix SpatialProperty interpolation.
2019-05-27 14:11:26 +02:00
John Preston
d1518da1ad
Provide animation duration.
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
da845a089e
QtLottie: Rebase onto upstream/dev.
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
8dc7f8b8a1
QtLottie: Fix prepending mask layer.
2019-05-27 14:11:26 +02:00
John Preston
78d3bdfe3a
Fix build in Xcode.
2019-05-27 14:11:26 +02:00
John Preston
fbfd3ddd68
Partially support new spec keyframes parsing.
2019-05-27 14:11:26 +02:00
John Preston
33b3fa68f0
QtLottie: Rebase onto upstream/dev.
2019-05-27 14:11:26 +02:00
John Preston
2fae2278f7
QtLottie: Fix UB in last keyframe easing point.
...
Example: https://lottiefiles.com/427-happy-birthday
The present box top was rendered below the body or not depending on
the uninitialized bytes from QBezier.
2019-05-27 14:11:26 +02:00
John Preston
f073963582
Preview lottie animations in media viewer.
2019-05-27 14:11:26 +02:00
John Preston
22c2054dcf
First attempt to use QtLottie.
2019-05-27 14:11:26 +02:00
23rd
b2e5ab36d4
Moved shadow drawing from paintEvent in MainMenu::refreshBackground.
2019-05-27 14:10:36 +02:00
23rd
159f90a42c
Added background analysis in main menu for better readability.
2019-05-27 14:10:36 +02:00
23rd
08a3a5747a
Added custom background to top of main menu.
2019-05-27 14:10:36 +02:00
23rd
47910b2ae1
Added '-scale' command-line argument for custom scale.
...
- Fixed #5272 .
- Fixed #5365 .
- Fixed #6055 .
2019-05-27 14:10:36 +02:00
23rd
5f97b3bc22
Added ability to open links without confirmation with Ctrl key.
...
- Fixed #6051 .
2019-05-27 14:10:35 +02:00
23rd
cf45b0d317
Added ability to send not loaded GIFs with Ctrl key.
2019-05-27 14:10:35 +02:00
23rd
1dd461b24a
Moved left elision of counters to Dialogs::Layout::paintUnreadCount.
2019-05-27 14:10:35 +02:00
John Preston
626e7c1f76
Workaround MSVC 16.1 bugs.
2019-05-27 14:10:35 +02:00
udf
288b7ba100
Actually fix display SendFilesBox via historyAttach button.
2019-05-26 14:23:37 +02:00
udf
2b8951b2ac
Revert "Fixed display SendFilesBox via historyAttach button."
...
This reverts commit a0926f2d70
because it
doesn't do what it should do :(
2019-05-26 14:23:37 +02:00
Konstantin Tcepliaev
48cee21b9f
Re-enable integrated GPU on macOS.
...
This limits the fix introduced in a058e75a
to just 10.14.4,
as #5858 seems to be fixed in 10.14.5.
2019-05-20 20:22:36 +03: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
9a4fdb1530
Use only lt_count in langpacks.
2019-05-20 15:44:51 +03:00
23rd
63a6893fda
Excluded ability to display 0 views in channel posts.
2019-05-20 15:44:51 +03:00
23rd
dcd5aa83da
Fixed choosing of plural when number should be shortened.
2019-05-20 15:44:51 +03:00
23rd
5901b42a83
Added generation of string with decimal separated numbers.
...
- Added new plural tag "kPluralDecimalSeparationTag".
- Added Lang::PluralType for default, shorted and decimal separated numbers.
- Replaced members and votes count with decimal separated type.
2019-05-20 15:44:51 +03:00
23rd
5d321f7c59
Moved generation of short string for large numbers in one place.
...
- Added new plural tag "kPluralShortTag".
- Added support of new plural tag to code generator.
- Removed FormatViewsCount from history_message.
- Removed FormatLargeNumber from history_media_poll.
- Added FormatCountToShort to lang_tag.
2019-05-20 15:44:51 +03:00
23rd
dc27bfff2d
Fixed elision of user name in side menu.
2019-05-16 11:58:28 +03:00
23rd
63fc552636
Fixed inability to close folder with Back mouse button.
...
- Fixed #5997 .
2019-05-12 22:30:19 +03:00
Vitaly Zaitsev
ddb9c84a1d
Allow GNU/Linux maintainers to forward launcher name.
...
Use optional compiler directive -DTDESKTOP_LAUNCHER_FILENAME to forward
required XDG desktop file name.
If not specified, fallback to default value will be used.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-05-10 12:08:58 +03:00
John Preston
69960a47da
Apply telegram-wayland-icon.patch from Flatpak version.
2019-05-10 09:22:21 +03:00
John Preston
58aaed4c0f
Fix build script for Mac App Store.
2019-05-09 18:45:18 +03:00
John Preston
8af684f7f7
Version 1.7.
...
Introducing Archived Chats:
- Archive any chat from the right-click menu.
- Chats with enabled notifications will pop out of the archive
when a notification arrives.
- Muted chats will stay in the archive.
- Pin an unlimited number of chats in your archive.
2019-05-08 23:55:33 +03:00
John Preston
0fe0311b45
Fix chats list accidental scrolling.
2019-05-08 23:48:04 +03:00
23rd
89a0cd3e81
Fixed closing folder by Escape when opened dialog in one column mode.
...
Dialog should be opened by shortcut.
2019-05-08 23:47:39 +03:00
John Preston
6de30b1137
Closed alpha version 1.6.7.3.
2019-05-08 12:44:01 +03:00
John Preston
d26924dd6b
Allow multiline no-newline input fields.
...
Fixes poll option limit warning.
2019-05-08 12:36:13 +03:00
John Preston
4293a4857f
Show user profile from channel Removed Users.
...
Fixes #5974 .
2019-05-08 12:25:16 +03:00
John Preston
aec6e17b5d
Allow revoking any messages in private chats.
2019-05-08 12:14:42 +03:00
John Preston
64dd5139da
Show unread archive chat names in bold.
2019-05-08 12:05:15 +03:00
John Preston
e55e46a0f0
Show last chats in archive dialog row.
2019-05-08 11:50:39 +03:00
John Preston
4f65d0469c
Use dedicated color for archive title.
2019-05-08 11:07:21 +03:00
John Preston
a0e2a925ee
Filter command line arguments passed to Qt.
...
See https://www.bleepingcomputer.com/news/security/
qt5-based-gui-apps-susceptible-to-remote-code-execution/
This RCE exploit doesn't affect Telegram Desktop directly, because
Telegram Desktop uses statically linked Qt and does not load any
plugins from external shared libraries. But in any case it's better
to control how command line arguments can affect the app behaviour.
For now pass only the first command line part, the executable path.
2019-05-06 12:40:04 +02:00
John Preston
8bfef7d873
Improve collapsed rows in small chats list.
2019-05-03 17:02:00 +04:00
John Preston
2d4a743231
Update some icons.
2019-05-03 15:35:22 +04:00
John Preston
0247e876df
Remove locally saved empty histories.
2019-05-03 15:18:18 +04:00
John Preston
39b7f307a4
Show muted mention icon in archive.
2019-05-03 15:12:48 +04:00
John Preston
4356b1c193
Allow collapsing archive in the chats list.
2019-05-03 15:08:53 +04:00
John Preston
6f885fb6cc
Fix creating dialog rows for new groups.
2019-05-02 22:30:52 +04:00
John Preston
5f1cb9d31c
Put archive action on top of the menu.
2019-05-01 17:10:11 +04:00
John Preston
9b430147c0
Remove some unused langpack keys.
2019-05-01 16:43:37 +04:00
John Preston
4e8c57a861
Fix assertion violation in marking history as read.
2019-05-01 16:43:19 +04:00
John Preston
d9ad3a4bbe
Jump to chats list top on folder change.
2019-05-01 16:11:47 +04:00
John Preston
4ad8c4877c
Close archive by escape even if chat is shown.
2019-05-01 16:11:47 +04:00
John Preston
edf4180d11
Don't suggest to archive Saved Messages.
2019-05-01 16:11:47 +04:00
John Preston
d48cafe1a3
Improve manage group box styles.
2019-05-01 16:11:47 +04:00
John Preston
aede79640d
Ctrl+1..5 always activate pinned from main chats list.
2019-05-01 16:11:47 +04:00
John Preston
4dae89310d
In archive allow scroll-down-by-pinned-drag.
2019-05-01 16:11:46 +04:00
John Preston
6102795856
Fix proxy promoted channel chats-list position.
2019-05-01 16:11:46 +04:00
John Preston
7669b8e12b
Don't suggest to archive proxy sponsor.
2019-05-01 16:11:45 +04:00
John Preston
5c9a907c88
Closed alpha version 1.6.7.2.
2019-05-01 16:11:45 +04:00
John Preston
116b5d006a
Divide public/private phrases for groups/channels.
2019-05-01 16:11:45 +04:00
John Preston
db35c3de3b
Fix block chat list loading by date.
2019-05-01 16:11:45 +04:00
John Preston
be64f18e96
Fix dialogs list creation in support mode.
2019-05-01 16:11:45 +04:00
John Preston
39008bf6fe
Fix reading of client side unread messages.
2019-05-01 16:11:44 +04:00
John Preston
c9552390e7
Fix stack overflow crash in emoji panel hiding.
...
A call to hideChildren before setting _hiding to the desired value
could lead through leaveEvent to a recursive call to hideAnimated.
2019-05-01 16:11:44 +04:00
John Preston
5c3f93eee1
Fix crash in replies.
...
Regression was introduced in b1df3c0ec4.
2019-05-01 16:11:44 +04:00
John Preston
cf0d4a0559
Improve design of video download state.
2019-05-01 16:11:44 +04:00
John Preston
ee5c819cef
Fix render glitch in archive top bar.
2019-05-01 16:11:43 +04:00
John Preston
ca548a11d7
Fix assertion violation in History::inboxRead().
2019-05-01 16:11:43 +04:00
John Preston
0b26475300
Fix render glitches in passcodebox.
2019-05-01 16:11:43 +04:00
John Preston
d74992b85b
Closed alpha version 1.6.7.1.
2019-05-01 16:11:42 +04:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
cb3e649e61
Correctly handle cloud archive unread state.
2019-05-01 16:11:42 +04:00
John Preston
accb20a571
Improve archived toast notification.
2019-05-01 16:11:41 +04:00
John Preston
08101ba666
Forbid to archive Telegram Notifications.
2019-05-01 16:11:41 +04:00
John Preston
430a3c2cec
Fix important switch hiding in folders.
2019-05-01 16:11:41 +04:00
John Preston
48ad171a29
Clear chats list context menu a bit.
2019-05-01 16:11:41 +04:00
John Preston
5f62c2100c
Count unread marks in non-fully loaded folders.
2019-05-01 16:11:40 +04:00
John Preston
4c571f5bff
Fix adding first chat to archive.
2019-05-01 16:11:40 +04:00
John Preston
52b9212625
Display top bar in archive.
2019-05-01 16:11:40 +04:00
John Preston
f56df0e1d9
Show folder using slide animation.
2019-05-01 16:11:39 +04:00
John Preston
6dd8f32f66
Fix build on Xcode.
2019-05-01 16:11:39 +04:00
John Preston
5ab1cd405a
Fix nice vote percents.
2019-05-01 16:11:39 +04:00
John Preston
3dd2a6bb5b
Update archive row on chat list name change.
2019-05-01 16:11:39 +04:00
John Preston
9ff02707bf
Improve archive chat list entry layout.
2019-05-01 16:11:38 +04:00
John Preston
2d1dcb36cb
Use folder_id / still_unread_count from updates.
2019-05-01 16:11:38 +04:00
John Preston
01d5589594
Add archived results in chats search.
2019-05-01 16:11:38 +04:00
John Preston
40532e32ab
Enforce changelog message visibility.
2019-05-01 16:11:38 +04:00
John Preston
ceec71d3e6
Track real latest message in the folder.
2019-05-01 16:11:37 +04: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
607655941d
Improve Ui::Menu interface.
2019-05-01 16:11:37 +04:00
John Preston
9acdc4eac1
Show folder bar on top when folder is opened.
2019-05-01 16:11:36 +04:00
John Preston
518ff146b2
Don't allow reordering of the archive.
2019-05-01 16:11:36 +04:00
John Preston
74c65f30f7
Load folder dialogs while scrolling.
2019-05-01 16:11:36 +04:00
John Preston
83306bb01f
Replace QList with std::deque in notifications.
2019-05-01 16:11:36 +04:00
John Preston
f3ed7a674a
Create dialog rows only with known folders.
2019-05-01 16:11:35 +04:00
John Preston
854870683b
Add ability to archive/unarchive the chats.
2019-05-01 16:11:35 +04:00
John Preston
c58f097535
Correctly move histories between chat lists.
2019-05-01 16:11:35 +04:00
John Preston
0367319934
Load folder dialogs list.
2019-05-01 16:11:35 +04:00
John Preston
be0cf8d379
Use std::vector in rpl::lifetime.
2019-05-01 16:11:34 +04:00
John Preston
305a611211
Load dialogs list in ApiWrap and Data::Session.
2019-05-01 16:11:34 +04:00
John Preston
927735dff2
Start showing folder chats list.
2019-05-01 16:11:34 +04:00
John Preston
0c0d6bc411
Move chats / contacts lists to Data::Session.
2019-05-01 16:11:33 +04:00
John Preston
2862070348
Use vector instead of custom linked list.
2019-05-01 16:11:20 +04:00
John Preston
58d86af399
Remove SplittedWidget paint optimization.
...
It doesn't work with dialogs-to-top button anyway.
2019-05-01 16:11:16 +04:00
John Preston
76c3e9a529
Display title and userpic of archived chats.
2019-05-01 16:11:14 +04:00
John Preston
9bf8a8108d
Comment out non-folder feed code.
2019-04-25 14:16:30 +04:00
John Preston
905a024aed
Update API scheme to layer 99.
2019-04-25 14:16:29 +04:00
23rd
e1000b79a3
Fixed display of file sizes with invalid dimensions when edit media.
2019-04-25 14:11:07 +04:00
John Zimmermann
c2a10f9c56
Linux: manually set desktop file name
...
resolves #5180
2019-04-25 13:41:19 +04:00
John Zimmermann
4d42e7e5b9
Correctly set _desktopFile to Telegram.desktop if Telegram.desktop was found
2019-04-25 13:39:40 +04:00
Amos Bird
e200a7d502
Do not break type aliasing rule
2019-04-25 13:38:39 +04:00
John Preston
6f242f284f
Notarize update builds.
2019-04-23 19:24:36 +04:00
John Preston
25471f3952
Add notarization to build script.
2019-04-23 19:24:36 +04:00
John Preston
72690ee106
Enable hardened runtime on macOS build.
2019-04-23 19:24:36 +04:00
John Preston
edc8c23772
Fix custom download path in Mac App Store build.
...
Fixes #5903 .
2019-04-13 19:49:13 +04:00
John Preston
0023fdc707
Version 1.6.7.
...
- Replace media when editing messages with media content.
- Jump quickly to the top of your chats list.
- Get emoji suggestions for the first word you type in a message.
- Help Telegram improve emoji suggestions in your language
using this interface https://translations.telegram.org/en/emoji
2019-04-13 10:46:58 +04:00
John Preston
2518250ae0
Fix wronly marking channel as forbidden.
...
Regression was introduced in 826d6011a1
.
Fixes #5923 .
2019-04-13 10:34:35 +04:00
John Preston
08cd46cd4c
Fix crash in streaming caching.
2019-04-12 18:49:37 +04:00
John Preston
12614ab68c
Fix possible crash with nullptr screen.
2019-04-12 17:30:43 +04:00
John Preston
7cfb122dea
Fix crash with event loop nesting tracking.
2019-04-12 17:30:43 +04:00
John Preston
cc8f4aa24f
Fix crash in history clear.
2019-04-12 17:30:42 +04:00
23rd
60e36b1411
Left animation to top only for dialogs up button.
2019-04-12 16:32:36 +04:00
John Preston
8aa0b31c1a
Beta version 1.6.6: Fix removing saved peers from chats list.
...
Regression was introduced in a7f67c4bc9
.
2019-04-11 11:46:54 +04:00
John Preston
56b6673e17
Beta version 1.6.6: Fix animations engine.
2019-04-11 10:43:13 +04:00
John Preston
c310cdbb8c
Beta version 1.6.6.
...
- Bug fixes and other minor improvements.
2019-04-11 10:20:30 +04:00
John Preston
71f340d9b5
Revert "Don't restart animations timer."
...
This reverts commit 392d90dc1d
.
Otherwise scrolling while typing animates lags terribly on macOS.
2019-04-11 10:16:02 +04:00
23rd
5187e6dc58
Added display of image dimensions instead of 0 bytes when is doc.
2019-04-11 10:11:09 +04:00
23rd
c21f5712f8
Disabled pasting images with bad size from clipboard for albums.
...
- Slightly refactored.
2019-04-11 10:10:25 +04:00
23rd
c6eccc655f
Disabled sending images with bad size from remoteContent for albums.
2019-04-10 11:40:16 +04:00
23rd
3767483977
Added filename generation when edit media with non-local file.
2019-04-10 11:34:43 +04:00
Vitaly Zaitsev
14ad7a2479
Fixed "Show in Folder" feature on Gnome 3.30+.
...
Parameter --no-desktop is deprecated and should not be used.
Closes #5896 .
2019-04-10 11:20:01 +04:00
23rd
ba8257ce64
Fixed top bar glitch when returning dialog back too fast.
2019-04-09 17:10:58 +03:00
John Preston
9bfa6d7cf4
Make animation tick less, almost like before.
...
Unfortunately otherwise animations look not smooth.
Fixes #5897 .
2019-04-09 17:21:29 +04:00
John Preston
826d6011a1
Mask channel as forbidden on CHANNEL_PRIVATE error.
...
Fixes #5902 .
2019-04-09 17:19:43 +04:00
23rd
fb847135b5
Added ability to edit GIFs.
...
- Added to Media::Clip::MakeReader new constructor to create
animated preview with remoteContent.
2019-04-09 17:17:31 +04:00
23rd
49681525ed
Added alignment of unread badge with userpic in history widget.
2019-04-09 17:16:46 +04:00
23rd
839feed329
Added delay for clicked callback of edit media button.
2019-04-09 17:15:48 +04:00
John Preston
392d90dc1d
Don't restart animations timer.
2019-04-09 17:12:16 +04:00
John Preston
7808620764
Queue only one update call in animations manager.
2019-04-09 17:10:45 +04:00
John Preston
fe3181649b
Fix build on macOS and Linux.
2019-04-09 17:10:44 +04:00
John Preston
b5be6df5e2
Copy text with expanded links only to external.
...
Paste valid custom links in message field if copied from messages.
2019-04-08 19:10:06 +04:00
John Preston
0f0c3b7461
Remove FlatLabel::_contextExpandLinksMode.
2019-04-08 16:22:07 +04:00
John Preston
ff51423125
Remove ExpandLinksNone, rename Text::originalText.
2019-04-08 15:53:11 +04:00
John Preston
cc2fd51097
Fix video thumbnails in video overview.
2019-04-08 14:35:25 +04:00
John Preston
321e4ffe9c
Don't auto-resume video when seeking.
2019-04-08 14:34:31 +04:00
John Preston
fb244c00b9
Fix local history clearing.
2019-04-08 13:16:45 +04:00
John Preston
f980023f49
Update Xcode version to 10.2 in GYP script.
2019-04-07 11:18:38 +04:00
John Preston
6c17ed2242
Fix crash in event loop nesting.
2019-04-07 11:18:38 +04:00
23rd
a0926f2d70
Fixed display SendFilesBox via historyAttach button.
2019-04-06 22:15:39 +04:00
John Preston
d9a14e1227
Beta version 1.6.5.
...
- Bug fixes and other minor improvements.
2019-04-06 12:32:24 +04:00
John Preston
1ab4dbe466
Fix crash in application closing.
2019-04-06 12:12:24 +04:00
23rd
37af963717
Fixed work with _msgIdToEdit in FileLoadTask.
...
- Added check is allowed media editing in paintEvent.
- Fixes #5885 .
2019-04-06 11:24:11 +04:00
23rd
3744bdcbe7
Fixed redrawing of shadows when box size decreases.
2019-04-06 11:22:31 +04:00
23rd
4ad293e2ae
Added alignment of dialogs up button with connecting button.
2019-04-06 11:20:02 +04:00
23rd
be89a0bf7e
Fixed dialogs up button when column of dialogs is small.
2019-04-06 11:19:39 +04:00
John Preston
14de1fe485
Fix crash in shared links.
2019-04-05 22:45:57 +04:00
John Preston
bec39d89e1
Beta version 1.6.4: Fix dialogs up button glitch.
2019-04-05 19:52:45 +04:00
23rd
467f1449ab
Beta version 1.6.4: Update dialogs up button position when resize.
2019-04-05 18:42:25 +03:00
John Preston
53c659cbda
Beta version 1.6.4.
...
- Replace media when editing messages with media content.
- Jump quickly to the top of your chats list.
- Get emoji suggestions for the first word you type in a message.
- Help Telegram improve emoji suggestions in your language
using this interface https://translations.telegram.org/en/emoji
2019-04-05 15:53:46 +04:00
John Preston
5deee18247
Use channels.exportMessageLink to check links.
2019-04-05 15:50:16 +04:00
John Preston
60a991bcb0
Fix typing / send action updates handling.
2019-04-05 15:17:34 +04:00
John Preston
d3c5ed08ab
Add qt_signal_producer.h to git.
2019-04-05 14:41:06 +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
23rd
41b2e7c9c7
Added floating button in dialog list to jump to top.
2019-04-05 14:13:18 +04:00
John Preston
839cedde65
Closed alpha version 1.6.3.6: Update to VS 2019.
2019-04-04 20:51:42 +04:00
23rd
92d10fd34c
Redesigned edit media button. Slightly refactored.
...
- Added minimal height of thumbs.
- Removed unused _statusw.
2019-04-04 20:51:00 +04:00
23rd
25e0e4b5d3
Fixed edit single media to photo with bad dimensions.
2019-04-04 20:23:44 +04:00
John Preston
43cc2145a8
Don't update radial animations in cycle.
2019-04-04 19:31:07 +04:00
John Preston
c3c46f8e29
Fix new animations engine bug.
2019-04-04 19:31:03 +04:00
John Preston
0744f43a0e
Create private channel post links.
2019-04-04 19:31:02 +04:00
John Preston
73470c3a95
Handle private channel post links.
2019-04-04 19:30:59 +04:00
23rd
a6d0fa433e
Refactored variables for edit media in HistoryItem.
...
- Replaced _isLocalUpdateMedia with client flag.
- Removed _isEditingMedia.
2019-04-04 13:23:14 +03:00
23rd
a9fa49e372
Disabled edit media with gif files.
2019-04-04 11:02:42 +03:00
23rd
2cb69f0c2b
Added ability to edit album items with remoteContent.
2019-04-04 11:01:10 +03:00
23rd
1da9bfc643
Removed unnecessary making thumbnail of remoteContent.
2019-04-04 10:13:13 +03:00
23rd
78227cd947
Fixed MIME checking for files when edit media.
2019-04-04 10:13:11 +03:00
John Preston
456a949d01
Fix working with document thumbnails.
2019-04-04 00:08:05 +04:00
John Preston
7f598e358a
Fix edit media preview for Retina screen.
2019-04-04 00:08:05 +04:00
John Preston
a058e75a6d
Fix crashes on macOS 10.14.4 by disabling GPU switches.
...
Fixes macOS regression when OpenGL apps crash on GPU switches.
See https://bugreports.qt.io/browse/QTCREATORBUG-22215
Fixes #5858 .
2019-04-04 00:08:05 +04:00
23rd
48362cd4bc
Added more appropriate phrase for invalid files in edit media.
2019-04-03 20:08:27 +03:00
23rd
bd653dfdff
Refactored ApiWrap.
...
- Joined editUploadedPhoto with editUploadedDocument.
2019-04-03 20:00:12 +03:00
John Preston
bc03c80d8d
Closed alpha version 1.6.3.6.
2019-04-03 16:57:49 +04:00
John Preston
2dcbe15f8b
Ignore tab key in emoji suggestions for Support mode.
2019-04-03 16:57:48 +04:00
John Preston
b364cbbd69
Improve support accounts presentation.
...
- Change "Bot Info" to "User Info".
- Remove "Block user" and "Add to Group" buttons from profile page.
- Allow revoking messages from support chats.
2019-04-03 16:50:38 +04:00
John Preston
3e374eda51
Fix video messages with disabled autoplay.
2019-04-03 16:50:38 +04:00
John Preston
0ae63b072c
Update some icons.
2019-04-03 16:50:38 +04:00
John Preston
f718410df3
Improve sticker sending by drag-n-drop preview.
2019-04-03 16:50:38 +04:00
John Preston
74e120bc7b
Don't show digits in first word emoji suggestions.
2019-04-03 16:50:38 +04:00
John Preston
5f8ede194b
Fix rendering of large images on macOS.
2019-04-03 16:42:08 +04:00
John Preston
4d321b1cf0
Fix crash in Clang in Xcode 10.2.
2019-04-03 13:09:49 +04:00
23rd
84858b8940
Added MEDIA_NEW_INVALID error handler. Disabled edit media with webp.
2019-04-02 20:28:54 +03:00
23rd
92f95fa9eb
Fixed crash when edit album item with photo with invalid dimensions.
...
- Added InformBox for invalid files.
2019-04-02 18:14:12 +04:00
23rd
5d8888bb8b
Refactored code.
...
- Refactored passing message id to edit media.
- Removed get/setEditMedia from mainwidget.
- Combined onEditMedia and onSendFileConfirm in single method.
- Added argument in FileLoadTask to pass message id to edit media.
- Renamed flags in apiwrap.
- Added check for allowing edit media when use clipboard.
- Removed unused fileIsValidForAlbum.
- Removed LOGs.
- Replaced _isNotAlbum with _isAlbum.
- Removed _viaRemoteContent.
- Removed _newMediaPath.
- Added empty() to MessageGroupId.
2019-04-02 18:14:12 +04:00
23rd
4988d21819
Added ability to edit media via clipboard and remoteContent.
...
- Moved thumb updating to updateEditPreview() method.
- Added _viaRemoteContent var to check when we use remoteContent.
- Added setMimeDataHook to handle clipboard content.
2019-04-02 18:14:12 +04:00
23rd
94964c35ce
Fixed false definition FileMediaInformation as Image.
2019-04-02 18:14:12 +04:00
23rd
d605b18ec0
Fixed checking for song without file path.
2019-04-02 18:14:12 +04:00
23rd
590e6c8e9d
Fixed ability to cancel edit media in albums.
2019-04-02 18:14:12 +04:00
23rd
67572b0d9a
Added canceling upload edit media to Data::Media destructors.
...
- We should stop upload media if message was deleted from other client.
2019-04-02 18:14:12 +04:00
23rd
5554867553
Fixed editing other messages when media is edited.
...
- Added new condition for skipping message in History::lastSentMessage.
- Added reset of _savedMedia in HistoryMessage destructor.
2019-04-02 18:14:12 +04:00
23rd
f3102573ea
Improved applying edition.
...
- Fixed cancel single media.
2019-04-02 18:14:12 +04:00
23rd
0e7ce97da7
Refacotred HistoryWidget::sendFileConfirmed.
...
- New way to edit media in message.
- Added some "const".
- Fixed uploading state in albums when edit media.
2019-04-02 18:14:12 +04:00
23rd
9d789c2657
Fixed sending groupId when edit media.
2019-04-02 18:14:12 +04:00
23rd
468975e9f3
Added to AbstractBox ability to center box when changing dimensions.
...
- Added using of force center for edit_caption_box.
2019-04-02 18:14:12 +04:00
23rd
145dda843e
Added initial local reference for edited media.
2019-04-02 18:14:12 +04:00
23rd
6e69069ba2
Added Ctrl+E and Ctrl+O shortcut to edit media.
2019-04-02 18:14:12 +04:00
23rd
be2b2cbf7e
Refactored ApiWrap::editMedia.
...
- Slightly refactored checkEntitiesAndViewsUpdate.
- Slightly refactored HistoryMessage.
2019-04-02 18:14:12 +04:00
23rd
0e4d85a5e5
Added handler for MESSAGE_NOT_MODIFIED error when edit media.
2019-04-02 18:14:12 +04:00
23rd
653fd1bb63
Added initial implementation of cancel of media uploading for editing.
2019-04-02 18:14:12 +04:00
23rd
741501d1d9
Removed sending gif attributes when edit media.
...
- Removed handling gif for render animated preview.
2019-04-02 18:14:12 +04:00
23rd
89e1291d86
Added confirming only images and videos when edit album item.
...
- Added hiding of checkbox when edit album item.
2019-04-02 18:14:12 +04:00
23rd
25e3674819
Added allowsEditMedia() to Media. Slightly refactored.
2019-04-02 18:14:12 +04:00
23rd
c84f99cf3a
Fixed uploading edit media with thumbnails.
2019-04-02 18:14:12 +04:00
23rd
820c7ba84e
Added checkbox to send photo as file for edit media.
2019-04-02 18:14:12 +04:00
23rd
6735605f21
Added animated gif preview when users edits media.
2019-04-02 18:14:12 +04:00
23rd
d5a2daa8c9
Refactored edit_caption_box.
2019-04-02 18:14:12 +04:00
23rd
25177d9022
Added updating of thumbnails when user edits media.
2019-04-02 18:14:12 +04:00
23rd
f24ce584db
Fixed item updating when upload editing media.
2019-04-02 18:14:12 +04:00
23rd
1ed83cf193
Fixed subscribeToUploader.
2019-04-02 18:14:12 +04:00
23rd
aaf61dfbad
Fixed NewUnread message type.
2019-04-02 18:14:11 +04:00
23rd
be58e23775
Init edit media.
2019-04-02 18:14:11 +04:00
John Preston
db631acf80
Remove old animations code.
2019-04-02 14:33:54 +04:00
John Preston
74dc4e0c62
Allow disabling new animations.
2019-04-02 14:33:54 +04:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
a6e96f9a28
Use new animations engine in all Basic-s.
2019-04-02 14:33:53 +04:00
John Preston
cd3c1c6dc0
Use new animations engine for typings.
2019-04-02 14:33:53 +04:00
John Preston
3971f27c66
Closed alpha version 1.6.3.4.
2019-04-02 14:33:53 +04:00
John Preston
c4357c7ad3
Animate suggestions select-by-keyboard.
2019-04-02 14:33:53 +04:00