John Preston
a52392241d
Fix some possible crashes.
2018-06-04 22:48:17 +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
4f1a633019
Fix faved+recent stickers icon highlight.
2018-06-03 23:16:36 +03:00
John Preston
364aaaae5b
Fix recent stickers icon.
...
Fixes #4780 .
2018-06-03 20:58:28 +03:00
John Preston
2bd8737410
Fix sticker inline bot results.
...
Fixes #3317 .
2018-06-03 20:48:02 +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
87d6081408
Version 1.2.16: Fix build in Xcode 9.3.
2018-04-07 12:47:08 +04:00
John Preston
d4bd8862bd
Fix switching between stickers pan and panel.
...
Fixes #4537 .
2018-03-26 00:54:02 +04:00
John Preston
87ab4d9dd1
Improve local search in sticker sets.
...
- Don't index special sticker sets, like "Favorite stickers".
- Show "Not found." if no local results and waiting for server-side.
2018-03-15 03:11:59 +03:00
John Preston
d381836f01
Don't add separate icon for faved pack.
...
Also update stickers search icons.
2018-03-08 15:54:55 +03:00
John Preston
5404dfef08
Search sticker sets locally by short name.
2018-03-08 14:37:01 +03:00
John Preston
cba12980f9
Display correct amount of stickers in search.
2018-03-08 14:12:30 +03:00
John Preston
c3ff5f2603
Limit amount of displayed recent stickers.
2018-03-07 15:04:05 +03:00
John Preston
cb5ba7edda
Use a separate lang key for sticker pack remove.
2018-03-06 18:41:52 +03:00
John Preston
b007fcb537
Add sticker sets search.
2018-03-03 14:21:32 +03:00
John Preston
9515520088
Update API scheme.
2018-02-08 12:20:52 +03:00
John Preston
6a9556d42c
Move non-settings session data to Data::Session.
...
Rename AuthSessionData to AuthSessionSettings, move data away.
2018-02-08 12:20:46 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
37b018257e
Replace some std::shared_ptr with std::unique_ptr.
2017-12-18 14:38:14 +04:00
John Preston
14034c255e
Replace QSharedPointer with std::shared_ptr.
2017-12-18 13:07:18 +04:00
John Preston
97c15865a5
Move some code around.
...
Move logs:SignalHandlers to core/crash_reports:CrashReports.
Move all pre-launch windows to core/crash_report_window module.
Move some global code to core/launcher:Launcher.
It should replace settings / platform_specific module in some way.
2017-12-12 16:47:32 +04:00
John Preston
cf977cb41a
Improve history -> profile top bar navigation.
2017-11-16 19:24:01 +04:00
John Preston
fafcd02e7c
Improve Emoji / GIFs list variable width support.
2017-11-16 07:59:12 +04:00
John Preston
defa0ae4d0
Improve stickers list variable width support.
2017-11-16 07:59:12 +04:00
John Preston
a86788f4d7
Improve info section navigation.
...
Also fix render glitch in StickersListWidget.
2017-11-16 07:59:12 +04:00
John Preston
866ff628b7
Fix render bug, enable wide third column.
2017-11-16 07:59:11 +04:00
John Preston
0255d0c59e
Support any size in the tabbed selector.
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
0c4bda71fd
Remove some unused / rare phrases.
2017-11-16 07:59:05 +04:00
John Preston
ffc20e4492
Divide structs into several data/ modules.
2017-11-16 07:59:04 +04:00
John Preston
e1ba9f8ff8
Hide send message in Info for current chat.
2017-11-16 07:59:04 +04:00
John Preston
5e7aa4ff81
Move third column from HistoryWidget to MainWidget.
2017-11-16 07:59:03 +04:00
John Preston
f162462111
Move info between Layer and Narrow wrap.
2017-11-16 07:59:03 +04:00
John Preston
c302219f9e
Use rpl in some widgets and effects.
2017-11-16 07:59:02 +04:00
John Preston
def97b3f70
Update faved sticker / saved GIF remove button.
2017-09-05 19:34:36 +03:00
John Preston
df64c972d8
Replace QFlags with base::flags.
2017-09-03 15:45:47 +03:00
John Preston
643bedd4cf
Display faved stickers before recently used.
2017-08-30 19:15:48 +03: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
b3da99c302
Replace gsl::not_null<T*> with just not_null<T*>.
2017-08-30 19:15:41 +03:00
John Preston
bca444b92e
Add base::optional as a wrapper of base::variant.
2017-08-30 19:15:21 +03:00
John Preston
e209737b1a
Display and follow unread mentions in history.
2017-08-30 19:15:13 +03:00
John Preston
fa818407e6
Improve group sticker set setup box.
2017-08-25 14:39:25 +03:00
John Preston
7f5a91d2bb
Allow to hide empty megagroup sticker set.
2017-08-25 14:39:24 +03:00
John Preston
f04b25ea26
Allow setting group stickers set.
2017-08-25 14:39:19 +03:00
John Preston
ab35829358
Remove App::app(), App::uploader(), App::api().
...
Also use Auth() instead of AuthSession::Current*().
2017-08-25 14:39:18 +03:00
John Preston
cb5b6d0cb8
Add megagroup stickerset to StickersListWidget.
2017-08-25 14:39:13 +03:00
John Preston
8188724920
Remove faved stickers from StickersListWidget.
2017-08-25 14:39:11 +03:00
John Preston
070456882e
Manage faved stickers from sticker context menu.
2017-08-25 14:39:09 +03:00
John Preston
134bc13169
Show faved stickers in StickersListWidget.
2017-08-25 14:39:07 +03:00
John Preston
667eb288d7
Add faved stickers set loading and saving.
...
Also move stickers loading methods to ApiWrap.
2017-08-25 12:58:13 +03:00