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
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
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
c057f28425
Move standard buttons to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
c5845f17ae
Remove twidget header.
2019-10-01 23:59:46 +03:00
John Preston
e2f54eb3e9
Move some style code to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
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
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
3a3bf84cfc
Fix crash in SeparatePanel destruction.
...
We should destroy layers before panel widget destructor started.
We do it already for MainWindow in clearWidgetsHook.
2019-09-09 10:52:03 +03:00
John Preston
03bdd80b2f
Open theme editor for existing themes.
2019-09-06 19:31:07 +03:00
John Preston
dd74f57a66
Display full themes list in Settings.
2019-09-06 19:31:07 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
4929de2bfb
Apply cloud themes.
2019-09-06 19:31:06 +03:00
23rd
7be286751b
Fixed text width in toast widget.
...
- Fixed #6381 .
2019-08-29 16:16:22 +03:00
John Preston
07f45b7eab
Improve published scheduled notifications.
2019-08-29 10:01:28 +03:00
John Preston
0a4f91a53d
Notify about published scheduled messages.
2019-08-29 10:01:28 +03:00
John Preston
97a239a8b4
Show full emoji in fields in all scales.
2019-08-29 10:01:28 +03:00
John Preston
117d6192fa
Ensure contrast in colorized themes.
2019-08-29 10:01:28 +03:00
John Preston
04d5158ae3
Remove unused LeftOutlineButton type.
2019-08-29 10:01:28 +03:00
John Preston
77ebdd3576
Send from scheduled messages section.
2019-08-27 19:10:37 +03:00
John Preston
385a7eb00d
Start scheduled compose controls.
2019-08-27 19:10:37 +03:00
23rd
1a06714f3a
Added ability to apply formatting from Mac menu.
2019-08-20 12:02:37 +03:00
John Preston
e9ab8df737
Use QLocale::uiLanguages for system language.
2019-08-09 11:51:36 +01:00
John Preston
4bad642190
Remove some more Auth() calls.
2019-08-09 11:50:49 +01:00
John Preston
1b1b1780db
Reuse global emoji large images.
2019-08-09 11:50:49 +01:00
John Preston
d298953653
Add large emoji implementation.
2019-08-09 11:50:49 +01:00
John Preston
abf49e1672
Update API scheme.
2019-08-09 11:50:49 +01:00
John Preston
80fedcbbae
Improve slowmode error phrases.
2019-08-09 11:50:49 +01:00
John Preston
27d84befa8
Remove emoji from custom admin ranks.
2019-07-28 15:39:06 +02:00
John Preston
3bf709d459
Add Ui::Text::Italic modifier.
2019-07-27 23:09:15 +02:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
06982fdf04
Remove some calls to Auth().
2019-07-24 13:13:51 +02:00
John Preston
873b77cf40
Use UserData::isBot where applicable.
2019-07-24 08:02:20 +02:00
John Preston
c50ade565a
Track sending and failed messages.
2019-07-24 08:02:20 +02:00
John Preston
04bf24288a
Show slowmode error messages.
2019-07-24 08:02:20 +02:00
John Preston
59574532c6
Add slowmode send message button state.
2019-07-24 08:02:20 +02:00
John Preston
7a11d1e31f
Fix stickers on Linux 32 bit.
2019-07-15 14:17:22 +02:00
John Preston
b9d3ba621e
Change some private header includes.
2019-07-10 19:36:27 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
5c6515febb
Fix strike-through text font selection.
2019-07-04 17:27:18 +02:00
John Preston
da48a78f7c
Revert "Hide new formatting for now."
...
This reverts commit 99aa1fc556
.
2019-07-03 12:08:28 +02:00
John Preston
3b645422ff
Implement animated stickerset thumbnails.
2019-07-02 14:43:17 +02:00
John Preston
a10b91fe1a
Don't load bad image infinitely.
2019-07-01 17:57:40 +02:00
John Preston
5628c1eee6
Encode cached frames to YUV420P.
2019-07-01 17:57:36 +02:00
John Preston
9c85d58235
Fix crash in closing export panel.
2019-06-24 10:59:21 +02:00
John Preston
99aa1fc556
Hide new formatting for now.
2019-06-23 16:10:53 +02:00
John Preston
8741266819
Add support for Underline and Strike-through text.
2019-06-23 15:40:59 +02:00
John Preston
352839337d
Add SCAM badge for users and channels.
2019-06-23 14:18:33 +02:00
23rd
c7526ae1cd
Fixed title of recently used emoji in touchbar.
...
- Added "No found" title if sticker list is empty.
2019-06-22 22:13:06 +02:00
23rd
662d0d0764
Added emoji picker to touchbar.
...
- Added independent size of emoji for touchbar.
- Added rpl::event_stream for recent emoji updates.
2019-06-22 22:13:06 +02:00
John Preston
a4d83b679a
Allow searching USA by 'United States'.
2019-06-22 22:12:47 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
d3ca6b96a1
Use tr:: instead of __generic.
2019-06-21 11:06:50 +02:00
John Preston
a7c8feaecb
Use tr:: instead of langFactory and __rich.
2019-06-21 11:06:50 +02:00
John Preston
d1d98c3bb1
Use tr:: instead of langFactory in box titles.
2019-06-21 11:06:50 +02:00
John Preston
8ed433cc01
Use tr:: instead of langFactory in input fields.
2019-06-21 11:06:49 +02:00
John Preston
7f96a185cf
Add rpl interface for Lang in tr:: namespace.
2019-06-21 11:06:48 +02:00
John Preston
91c57f2035
Support intersecting links with entities.
2019-06-21 11:06:48 +02:00
John Preston
522e66b2db
Make Ui::Text::Parser methods non-inclass.
2019-06-21 11:06:48 +02:00
John Preston
ca7c50fbcd
Remove pseudo-HTML from langpacks and Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
2162aa8df0
Rename Text to Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
984f19b1e9
Implement adaptive ContactStatus buttons.
2019-06-21 11:06:45 +02:00
John Preston
d0b86e1229
Optimize online dots + add animations.
2019-06-17 18:13:05 +02:00
23rd
859cfe4cbb
Added formatting buttons to touchbar.
2019-06-17 14:35:51 +02:00
John Preston
e7bdcc4155
Add more assertions to animations engine.
2019-06-17 14:23:50 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
1290cda830
Fix theme preview layout.
2019-06-05 18:42:46 +03:00
John Preston
04e3b250e7
Keep track of fully cached media files.
2019-06-04 14:30:44 +03:00
John Preston
46d8d9f97a
Remove CancelledFileLoader hack.
2019-06-04 14:30:43 +03:00
John Preston
6f2a04e5ae
Add ordering to file location types.
2019-06-04 14:30:43 +03:00
John Preston
eb438e35ee
Remove old download priority arguments.
2019-06-04 14:30:43 +03:00
John Preston
1fb529803e
Add an 'Update your OS' top bar.
...
Set EOL for Windows XP / Vista version at September 1, 2019.
2019-06-04 14:28:13 +03:00
John Preston
9c613fe2f7
Move system versions to platform/platform_info.
2019-06-04 14:23:14 +03:00
John Preston
53ba300d7e
Version 1.7.3: Fix checkbox in url auth.
2019-06-01 12:44:13 +03:00
John Preston
b012847017
Fix storage location serialization.
2019-05-30 18:05:23 +03:00
John Preston
e0d4884351
Fix possible crash in animations.
2019-05-28 14:46:18 +02:00
John Preston
ff0ff1d99c
Fix stickers lagging on macOS.
2019-05-28 13:39:38 +02:00
John Preston
e8a99a854d
Add unread badge to Discuss button.
2019-05-27 15:09:57 +02:00
John Preston
c92a798e1b
Support url authorizations.
2019-05-27 15:09:18 +02:00
John Preston
c4aac5fa0e
Update API scheme to layer 100.
2019-05-27 15:09:06 +02:00
John Preston
cfff744cb1
Parse and render lottie in the background.
2019-05-27 14:11:26 +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
John Preston
d26924dd6b
Allow multiline no-newline input fields.
...
Fixes poll option limit warning.
2019-05-08 12:36:13 +03:00
John Preston
0b26475300
Fix render glitches in passcodebox.
2019-05-01 16:11:43 +04:00
John Preston
f56df0e1d9
Show folder using slide animation.
2019-05-01 16:11:39 +04:00
John Preston
607655941d
Improve Ui::Menu interface.
2019-05-01 16:11:37 +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
9bf8a8108d
Comment out non-folder feed code.
2019-04-25 14:16:30 +04:00
John Preston
56b6673e17
Beta version 1.6.6: Fix animations engine.
2019-04-11 10:43:13 +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
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
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