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
9bf8a8108d
Comment out non-folder feed code.
2019-04-25 14:16:30 +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
4111da1dd0
Move some calls from App namespace.
2019-01-22 17:10:01 +04:00
John Preston
287b3509ab
Optimize getPeerDialog requests.
2019-01-17 12:21:31 +04:00
John Preston
2a0b9a44dd
Remove supergroup migrate messages.
2019-01-17 12:21:31 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
149639a53d
Add and bundle @3x icons.
...
Also bundle only 1x, @2x, @3x and generate 125% and 150%.
2018-10-16 11:38:09 +03:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
be043a4437
Remove BypassWindowManagerHint in MediaView / Passport.
...
It makes all kinds of usages buggy, including choose file dialog.
Fixes #4936 .
I hope fixes #4950 , I hope fixes #4955 , I hope fixes #3553 .
2018-07-31 22:55:30 +03:00
John Preston
ff53404d5b
Update API scheme to layer 82.
2018-06-27 22:58:32 +01: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
734c410879
New notifications API, defaults for users/chats.
2018-05-30 18:44:46 +03:00
John Preston
ee182ea684
API scheme downgraded to layer 76.
2018-03-06 20:48:24 +03:00
John Preston
027db285bc
Add Info::Channels section + feed channels search.
2018-02-22 20:38:00 +03:00
John Preston
c3c9ba7e51
Add feed icons.
2018-02-22 20:37:49 +03:00
John Preston
336e691dbc
Add unread counter from feed to common counter.
2018-02-20 20:53:55 +03:00
John Preston
17a4d19beb
Add a create feed channels list box.
2018-02-20 19:56:41 +03:00
John Preston
07528be1e6
Support search in feed + scroll to search result.
2018-02-16 19:45:58 +03:00
John Preston
cfd5c2a650
Add feed notifications edit box.
2018-02-13 19:11:00 +03:00
John Preston
fe262701c0
Add notification toggle in feed channels.
2018-02-12 18:52:55 +03:00
John Preston
906cb95e67
Channels list in feed info with leave channel.
2018-02-10 01:14:26 +03:00
John Preston
f23c23f696
Closed beta 1.2.8.5.
2018-02-08 12:20:55 +03:00
John Preston
99c686e3e1
Display feed channels list in feed info.
2018-02-08 12:20:55 +03:00
John Preston
a144e35f84
Add content to feed info cover widget.
2018-02-08 12:20:55 +03:00
John Preston
a47981054f
Feed info profile placeholder.
2018-02-08 12:20:51 +03:00