John Preston
99bb09374d
Use new animations engine everywhere.
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
9a616edf2a
Add new animations engine.
2019-03-11 12:08:17 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
6066265717
Fix emoji suggestions in monospace.
2019-01-21 11:02:20 +04:00
John Preston
314e30272b
Replace SingleTimer with base::Timer.
2019-01-18 16:41:08 +04:00
John Preston
79fea49272
Add updating emoji on the run.
2019-01-11 17:30:00 +04:00
John Preston
d3a261de89
Scroll to cursor after template replacement.
2018-11-20 19:38:39 +04:00
John Preston
be6e329e94
Don't switch chats on ctrl+shift+send (support).
2018-10-09 19:27:18 +03:00
John Preston
25cefc6eab
Allow fix chats order and auto switch (support).
2018-10-09 19:27:16 +03:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
ffd2817d18
Destroy InputField::Inner before InputField.
...
Inner has a pointer to parent and uses it assuming it is InputField.
If Inner lives longer than InputField (till ~QWidget) then in some
cases it accesses InputField as a (not completely) destroyed object.
2018-07-31 22:56:02 +03:00
John Preston
dca6e10beb
Fix markdown apply to text with emoji.
2018-06-07 22:00:46 +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
9903546a2d
Allow date edition in passport.
2018-06-03 23:16:35 +03:00
John Preston
43d19920e0
Apply markdown only when sending the message.
2018-05-31 21:30:28 +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
f334e2d0f4
Clear formatting at the start of the field.
2018-05-27 13:48:30 +03:00
John Preston
07d8dafa5e
Allow inserting links with custom text.
...
Fixes #4737 .
2018-05-26 18:07:51 +03:00
John Preston
3f7947b404
Use input method commit events to commit replacements.
...
Partially fixes #4727 .
2018-05-25 23:36:32 +03:00
John Preston
4870558827
Apply formatting from context menu or shortcuts.
2018-05-25 23:31:18 +03:00
John Preston
544aef19b4
Revert markdown by backspace only temporarily.
...
Don't revert if you move cursor by arrows or Home/End.
2018-05-25 21:02:38 +03:00
John Preston
5e7642b42a
Support markdown and replaces in media captions.
2018-05-24 16:03:21 +03:00
John Preston
6f6ec217e3
Support markdown replaces in Ui::InputField.
2018-05-24 15:31:48 +03:00
John Preston
017ec87d60
Replace FlatTextarea with InputField.
2018-05-22 13:45:22 +03:00
John Preston
30dd8fe070
Unite InputField and InputArea.
...
Also support and use instant replaces in InputField-s.
2018-05-20 23:37:59 +03:00
John Preston
168a7ce2e5
Add "Suggest emoji replacements" checkbox.
...
Also emoji suggestions insert an instant emoji replacement.
2018-05-13 18:56:08 +03:00
John Preston
4b763a76df
Instant in-field emoji and text replaces.
...
Fixes #4410 . Fixes #522 .
2018-05-13 18:14:02 +03:00
John Preston
9935a36c3d
Create and edit proxy box.
2018-05-05 21:55:38 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
2a409e3734
Add files from clipboard to composed album.
...
Fixes #4243 .
2017-12-29 20:02:23 +03:00
John Preston
8ff0120642
Add EditPeerInfoBox without saving.
2017-11-16 07:59:10 +04:00
John Preston
554eb3a342
Move stickers state variables to AuthSessionData.
...
Also allow to click on the selected set when choosing megagroup
sticker set and allow to paste a t.me link to the set there.
2017-11-16 07:59:09 +04:00
John Preston
09d1e3629a
Add media search to all info modes.
2017-11-16 07:59:08 +04:00
John Preston
eb2719fad1
Added search to files and links shared media.
2017-11-16 07:59:08 +04:00
John Preston
83850d9b86
Change *[Fast|Animated] to anim::type in FadeWrap.
2017-11-16 07:59:06 +04:00
John Preston
fa818407e6
Improve group sticker set setup box.
2017-08-25 14:39:25 +03:00
John Preston
ce51abd9d0
Change dialogs filter text area for two icons.
2017-08-25 12:58:09 +03:00
John Preston
b94099e25b
Realtime UI translation in all fields and buttons.
2017-06-29 11:39:51 +03:00
John Preston
5fc4f4ed36
Realtime UI translation in Intro.
...
Also support realtime translation testing by F7-F6-F7-F8 keys.
2017-06-29 11:39:49 +03:00
John Preston
7cea6ede1a
Improve input field placeholders with IME.
...
Respect the IME preedit string when toggling the placeholder.
2017-05-26 18:50:25 +03:00
John Preston
ffc557a0f9
Using standard library instead of std_ namespace.
...
Currently tested only in VS2015.
2017-02-21 16:45:56 +03:00
John Preston
232ed0a7c0
Fix build of the new TWidgetHelper<> for Clang and GCC.
2017-02-12 23:41:29 +03:00
John Preston
25583fa813
Replace T_WIDGET macro with a template base class.
2017-02-11 14:24:37 +03:00
John Preston
4424dbf64a
Allow to resize chats list. One more mode added (narrow chats list).
2017-01-16 12:55:03 +03:00
John Preston
7fb1463c43
Version 1.0 stable: bump copyright date to 2017.
2017-01-11 23:02:13 +04:00
John Preston
218f991547
Alpha version 0.10.22: critical bug fixes.
2016-12-31 17:34:41 +04:00
John Preston
177078b0af
Closed beta 10020002: Use default color theme link in Settings.
2016-12-30 17:53:00 +04:00
John Preston
2436ad74bd
Boxes redesigned. Common groups moved to Shared Media.
...
Also transparent images sending fixed.
2016-12-30 17:52:56 +04:00
John Preston
90234cb7a0
Closed beta 10019014: New input fields design and animations.
2016-12-30 17:52:52 +04:00