John Preston
1cda90c3c5
Check fields before uploading theme.
2019-09-06 19:31:07 +03:00
John Preston
9c86f0e0a5
Save themes, apply and close editor on save.
2019-09-06 19:31:07 +03:00
John Preston
910f16312c
Show not supported themes placeholders.
2019-09-06 19:31:07 +03:00
John Preston
4951eeac98
Allow creating desktop part of multi-theme.
2019-09-06 19:31:07 +03:00
John Preston
79106e0c01
Correctly show custom themes in list.
2019-09-06 19:31:07 +03:00
John Preston
7485f0c960
Don't change real theme when editing.
2019-09-06 19:31:07 +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
534772722e
Improve theme selector design.
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
John Preston
ac8f924909
Show tdesktop cloud themes in a box.
2019-09-06 19:31:06 +03:00
John Preston
95afcbb485
Format a valid theme file name.
2019-09-06 19:31:06 +03:00
John Preston
229bc56cc8
Upload saved theme to the cloud.
2019-09-06 19:31:06 +03:00
John Preston
4b045a602c
Add a box for new theme creating.
2019-09-06 19:31:06 +03:00
John Preston
cb3bad31fa
Put 'Classic' theme first.
2019-09-02 14:27:22 +03:00
John Preston
c31cda0587
Use better accent color suggestions.
2019-08-30 13:32:15 +03:00
John Preston
bd7cee2252
Improve accent color choose design.
2019-08-29 10:01:28 +03:00
John Preston
66d0d6e8fe
Use HSV color space for colorizing.
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
56a82600f8
Add HSL color picker box for theming.
2019-08-29 10:01:28 +03:00
John Preston
a3e993253c
Keep colorized theme in editor.
2019-08-29 10:01:28 +03:00
John Preston
38e4daacd4
Use HSL color space for accent colors.
2019-08-29 10:01:28 +03:00
John Preston
a465117689
Allow choosing accent colors from palette.
2019-08-27 19:10:37 +03:00
John Preston
c2117e7722
Save embedded themes accent colors.
2019-08-27 19:10:37 +03:00
John Preston
7de28fc4bd
Apply saturation and value in colorizer.
2019-08-27 19:10:37 +03:00
John Preston
529ef64257
Sort colors by hue distance.
2019-08-27 19:10:37 +03:00
John Preston
9cb5423d40
Allow changing accent color in default themes.
2019-08-27 19:10:37 +03:00
John Preston
03cdddfe18
Allow sending scheduled messages.
2019-08-27 19:10:37 +03:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +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
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
2162aa8df0
Rename Text to Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
263bbf1788
Move _authSession to Main::Account.
2019-06-06 12:37:12 +03:00
John Preston
1290cda830
Fix theme preview layout.
2019-06-05 18:42:46 +03:00
23rd
b45705f39d
Returned render color theme in main menu when background is filled.
2019-05-31 21:10:53 +03:00
John Preston
ee5c819cef
Fix render glitch in archive top bar.
2019-05-01 16:11:43 +04:00
John Preston
ff51423125
Remove ExpandLinksNone, rename Text::originalText.
2019-04-08 15:53:11 +04:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
b6e37b7730
Allow removing cloud wallpapers.
2019-02-09 16:36:07 +03:00
John Preston
95565c39ed
Upload wallpapers to the cloud.
2019-02-08 19:20:08 +03:00
John Preston
890aacaeee
Allow to blur wallpapers from file.
2019-02-08 16:55:02 +03:00
John Preston
e2f0886950
Add option to blur chat background.
2019-02-07 19:36:30 +03:00
John Preston
fe21b5a502
Support blurred backgrounds.
2019-02-06 17:38:37 +03:00
John Preston
aae2101131
Sort backgrounds in the gallery.
2019-02-04 21:37:40 +03:00
John Preston
4d9464ed87
Remove flags checking for backgrounds.
...
Also limit image size to 2960px.
Fixes #5641 .
2019-02-04 18:53:00 +03:00
John Preston
58cf0fa2b1
Display date in background preview.
2019-01-29 20:03:51 +03:00
John Preston
5ca12a73c3
Use new HistoryWallPaper media type for wallpaper.
2019-01-29 19:26:19 +03:00
John Preston
fd8e9dad92
Fix pattern wallpapers with themes.
2019-01-29 14:52:33 +03:00
John Preston
2eb6848eb8
Fix background preview on retina screens.
2019-01-29 14:52:33 +03:00
John Preston
b6edf4561d
Add support for pattern wallpapers.
2019-01-29 14:52:33 +03:00
John Preston
f506a5ea6c
Save wallpaper settings locally.
2019-01-29 14:52:33 +03:00
John Preston
a1baa23a52
Use both thumbnails in photos and documents.
...
Fixes #5602 .
2019-01-28 13:10:45 +03:00
John Preston
314e30272b
Replace SingleTimer with base::Timer.
2019-01-18 16:41:08 +04:00
John Preston
1894b8fcf7
Handle t.me/bg links with wallpapers / colors.
2019-01-18 16:41:07 +04:00
John Preston
466c6da5e3
Save wallpaper information.
2019-01-17 12:21:31 +04:00
John Preston
0f9c2a62fe
Load fullres images of new wallpapers.
2019-01-17 12:21:31 +04:00
John Preston
0d290a2c28
Fix emoji icon in theme preview.
...
Fixes #5561 .
2019-01-11 17:30:57 +04:00
John Preston
5163905954
Add a Delete/Share menu for unofficial languages.
2018-11-16 20:17:58 +04:00
John Preston
8eb0f3b60a
Remove some unneeded Q_OBJECTs.
2018-11-04 15:51:39 +04:00
John Preston
595134cab5
Move image-related modules to ui/image/.
2018-11-04 15:51:37 +04:00
John Preston
5b4abe69aa
Add interface scale (100%..150%) for Retina.
...
Fixes #69 , fixes #3126 , fixes #3789 .
2018-10-16 23:00:55 +03:00
John Preston
19a9a990b6
Allow using any interface scale between 100%-300%.
2018-10-16 11:38:09 +03:00
John Preston
b847c8424a
Use single emoji sprite and scale + cache it.
2018-10-15 09:03:29 +03:00
John Preston
29432d5d6a
Remove some unused themes code.
2018-10-09 19:27:16 +03:00
John Preston
a949c5e287
Fix crash in theme applying.
2018-09-26 16:06:30 +03:00
John Preston
9b85dd27ca
Allow to choose one of four default themes.
2018-09-26 14:36:55 +03:00
John Preston
3d89a34adf
Fix crash in theme editor.
...
Fixes #5143 .
2018-09-19 19:22:14 +03:00
John Preston
2f408cd773
Remove old settings.
2018-09-19 19:22:14 +03:00
John Preston
4f16ad6757
Move old settings to old_settings.
2018-09-19 19:22:12 +03:00
John Preston
36b7c1c720
Fix default night mode applying.
2018-08-02 17:46:49 +03:00
John Preston
f852813734
Improved night mode switching.
2018-07-31 22:56:04 +03:00
John Preston
6429e8b532
Improve theme applying.
2018-07-31 22:56:03 +03:00
John Preston
cb338e330f
Allow independently change default / night themes.
2018-07-31 22:56:03 +03:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
67ea175fc6
Show choose file box over the passport panel.
2018-06-03 23:16:37 +03:00
John Preston
bfc748cd31
Pass modifiers inside InputField submitted signal.
...
Also use non-MOC connections for all InputFields.
Also use Ctrl/Cmd + Enter to submit fast share box.
Fixes #4769 .
2018-05-31 15:20:28 +03:00
John Preston
017ec87d60
Replace FlatTextarea with InputField.
2018-05-22 13:45:22 +03:00
John Preston
87d6081408
Version 1.2.16: Fix build in Xcode 9.3.
2018-04-07 12:47:08 +04:00
John Preston
bee474f6e9
Remove history_item and layout from pch.
...
Also move some code to separate modules.
Also create history item views by Window::Controller.
2018-02-08 12:20:47 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
0ef3e19bc2
Use QImage instead of QPixmap for theme preview.
...
Working with QPixmap from non-main thread is not defined.
2018-01-02 22:10:49 +03:00
John Preston
af552fb4c0
Replace base/task_queue with crl.
2017-12-31 00:28:38 +03:00
John Preston
5b4694a4eb
Move text options constant to a separate module.
...
Also start MediaView group thumbs code.
2017-12-28 16:06:06 +03:00
John Preston
2569df9e5a
Rename some Ui methods.
...
myEnsureResized -> Ui::SendPendingMoveResizeEvents.
myGrab -> Ui::GrabWidget.
myGrabImage -> Ui::GrabWidgetToImage.
2017-12-26 19:20:08 +03:00
John Preston
79398fe6cf
Add call button to Info::Profile top bar.
2017-12-07 19:17:53 +04:00
John Preston
d014b47958
Move Info::TopBarOverride to Info::TopBar.
...
This allows to improve animations in shared media items selection.
2017-11-27 15:43:57 +04:00
John Preston
d1687ab963
Improve info wrapping in section / layer.
...
Also move layerwidget to window/layer_widget.
Also replace ui/effects/widget_fade_wrap with ui/wrap/fade_wrap.
2017-11-16 07:59:05 +04:00
John Preston
25ffaaaa2d
Replace t_assert() with Assert().
...
Also use this assertions for Expects(), Ensures() and Unexpected().
2017-08-30 19:15:42 +03:00
John Preston
012d59ab42
Use nullptr instead of std::unique_ptr<Type>().
2017-08-30 19:15:25 +03:00
John Preston
da0d78135d
Some refactoring in working with text entities.
...
Also move this code to TextUtilities namespace.
2017-07-06 14:37:42 +03:00
John Preston
7d342b9c6d
Add search to channel / supergroup recent actions.
2017-07-05 16:11:08 +03:00
John Preston
0798a0148a
Don't change custom background in night mode.
...
This will at least make it a bit better in #3598 .
The real solution with remembering custom backgrounds for both
night mode on and off doesn't fit with current theming way too well.
2017-06-30 15:03:51 +03:00
John Preston
61659244b7
Add night mode switch to the main menu.
...
Also fix a bug with the default background applying.
2017-06-30 09:21:46 +03:00
John Preston
4962fdf5ae
Add phrases and layout for all events in log.
2017-06-30 09:21:41 +03:00