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
d72d1aabe6
Disable creating public polls in channels.
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
John Preston
965a01a4cd
Hide connecting status when update is ready.
2020-01-20 13:57:45 +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
322367c1b1
Correctly minimize window.
...
Fixes #6932 .
2020-01-02 14:57:36 +03:00
Julian Sparber
0b5ac98282
Make min width 360
2019-12-29 17:58:32 +03:00
John Preston
66204bae95
Update API scheme on layer 107.
2019-12-29 14:41:10 +03:00
John Preston
1f2b5ba0a2
Update spellcheck and ui submodules.
2019-12-14 17:46:31 +03:00
John Preston
ee94e78533
All mtproto downloads using DownloadMtprotoTask.
2019-12-05 11:32:33 +03:00
John Preston
08bfe6f1c1
Extract mtproto key generation code.
2019-11-15 16:16:32 +03:00
John Preston
2577bedeac
Remove mtproto/facade.h from main pch.
2019-11-13 11:31:12 +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
John Preston
d63e50944a
Update submodules to the latest spellcheck.
2019-11-05 13:23:56 +03:00
John Preston
467be135d6
Fix build in macOS.
2019-10-20 15:24:09 +04:00
John Preston
27a83a7a09
Use base::FileNameFromUserString.
2019-10-20 14:22:46 +04:00
John Preston
30a1bd7ba2
Use base::call_delayed.
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
959901d599
Use toasts from lib_ui.
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
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
383195f1b2
Use some icons from lib_ui.
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
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
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
RadRussianRus
9fc87c3cb8
Fix last message tail drawing in theme preview
2019-09-10 10:48:20 +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
1d4fbc64e2
Ensure theme list radiobutton contrast.
2019-09-09 23:25:54 +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
John Preston
8bf6013342
Add 'Export theme' / 'Show palette file' menu.
2019-09-09 17:44:08 +03:00
John Preston
ee5423762a
Generate previews for cloud theme links.
2019-09-09 14:56:05 +03:00
John Preston
6d29dc3b36
Apply themes in settings without preview.
2019-09-09 12:13:07 +03:00
John Preston
9ff1fbcf47
Support theme document file origins.
2019-09-09 11:51:07 +03:00
RadRussianRus
428a501bac
Show Beginning button only for message date
...
Also hide button when you're already at beginning.
2019-09-09 10:17:23 +03:00
John Preston
eebcdb842d
Generate previews async in cloud themes list.
2019-09-09 09:59:57 +03:00
John Preston
048658f838
Fix deleting theme from the list.
2019-09-09 08:54:17 +03:00
John Preston
8fd17e2e8f
Fix theme with background with colorizer.
2019-09-09 08:53:16 +03:00
John Preston
3d78c637a2
Strip editor information from palette.
2019-09-08 21:21:54 +03:00
John Preston
2ab2eed633
Push new saved theme to the list.
2019-09-08 21:05:35 +03:00
John Preston
bb7018424a
Copy adjusted color values to editor.
2019-09-08 21:00:31 +03:00
John Preston
a770b5d4cd
Allow share and remove cloud themes.
2019-09-08 20:32:25 +03:00
John Preston
c92a9585e1
Check changes when saving theme.
2019-09-08 19:29:43 +03:00
John Preston
cedb2d31af
Check palette changes on editor cancel.
2019-09-08 16:40:15 +03:00
John Preston
f9b2a8d6ac
Show progress in theme saving.
2019-09-08 14:52:42 +03:00
John Preston
a773ad7b02
Fix reverting edited theme values.
2019-09-06 19:31:07 +03:00
John Preston
37a4c79c81
Open theme preview after loading.
2019-09-06 19:31:07 +03:00
John Preston
95ee17bd54
Optimize theme edit data clearing.
2019-09-06 19:31:07 +03:00
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
3715fa4b1e
Fix scheduled notifications on inbox read.
2019-08-30 17:06:21 +03:00
John Preston
d95e54cb1a
Check if it is possible to 'Send now.'
2019-08-30 16:17:46 +03:00
John Preston
c46bcef9ff
Add 'Send now' confirmation to langpack.
2019-08-30 15:24:42 +03:00
John Preston
c31cda0587
Use better accent color suggestions.
2019-08-30 13:32:15 +03:00
John Preston
5758f756c9
Fix draft clearing on message send.
...
Regression was introduced in caef7dde24 .
2019-08-30 13:31:45 +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
9e3bc966c8
Fix crash in window destruction.
2019-08-29 10:01:28 +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
ef7087348a
Allow to schedule created polls.
2019-08-27 19:10:37 +03:00
John Preston
3e895d0e85
Make tabbed selector working in scheduled section.
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
caef7dde24
Bundle silent and scheduled to Api::SendOptions.
2019-08-27 19:10:37 +03:00
John Preston
694f771131
Allow to send scheduled messages instantly.
2019-08-27 19:10:37 +03:00
John Preston
93a52bb66e
Move some settings from global to Session.
2019-08-09 11:50:49 +01:00
John Preston
052e4bc508
Fix complex box closing.
...
~BoxContent should be called when _layers is already in valid state.
2019-08-09 11:50:49 +01:00