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
c5845f17ae
Remove twidget header.
2019-10-01 23:59:46 +03:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
f0d092f126
Section dummies for new Settings.
2018-09-19 19:22:12 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +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
8e45b09083
Use different indentation for rpl operators.
...
It works better with Visual Studio IDE.
2017-12-26 19:20:07 +03:00
John Preston
e4ce08e64e
Show other shared media links in Saved Photos.
2017-12-05 16:23:08 +04:00
John Preston
bef87c6dff
Allow showing chat members in a special section.
2017-11-17 17:23:36 +04:00
John Preston
8dfccf55d1
Add shared media empty placeholders.
2017-11-16 07:59:12 +04:00
John Preston
11a3308cf5
Scroll to field on search query update.
2017-11-16 07:59:09 +04:00
John Preston
628c8e10f7
Search and save state in common groups.
2017-11-16 07:59:09 +04:00
John Preston
39c5898fa4
Save media search state to memento.
2017-11-16 07:59:08 +04:00
John Preston
09d1e3629a
Add media search to all info modes.
2017-11-16 07:59:08 +04:00
John Preston
86ad15612a
Use Info::Controller for the whole info section.
2017-11-16 07:59:08 +04:00
John Preston
15cc4502b4
Save scroll top state to media memento.
2017-11-16 07:59:08 +04:00
John Preston
be5f4c9a71
Allow delete / forward selected in shared media.
...
Also use PeerListBox with a chats list with global search controller
instead of HistoryHider for forward / share contact.
2017-11-16 07:59:07 +04:00
John Preston
7f3c97fb01
Add info media preloading to both sides.
2017-11-16 07:59:06 +04:00
John Preston
7905694b31
Add tabs and other types links to Info::Media.
2017-11-16 07:59:06 +04:00
John Preston
93c15e5ee6
Use internal section stack in Info::WrapWidget.
2017-11-16 07:59:06 +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