John Preston
e943264823
Pass MTP::Instance to MTP::Sender.
2019-11-29 15:36:05 +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
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
06982fdf04
Remove some calls to Auth().
2019-07-24 13:13:51 +02:00
John Preston
7d585ab72f
Handle located groups as public.
2019-06-21 14:27:46 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
a7c8feaecb
Use tr:: instead of langFactory and __rich.
2019-06-21 11:06:50 +02:00
John Preston
d1d98c3bb1
Use tr:: instead of langFactory in box titles.
2019-06-21 11:06:50 +02:00
John Preston
8ed433cc01
Use tr:: instead of langFactory in input fields.
2019-06-21 11:06:49 +02:00
John Preston
7af0dd105e
Use tr:: instead of Lang::Viewer.
2019-06-21 11:06:49 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
50778790fe
Start supporting channel discussion groups.
2019-05-27 15:09:25 +02:00
John Preston
b5be6df5e2
Copy text with expanded links only to external.
...
Paste valid custom links in message field if copied from messages.
2019-04-08 19:10:06 +04:00
23rd
ca9db9fd3f
Refactored code.
...
- Removed std::optional from EditPeerHistoryVisibilityBox.
- Added std::optional for savedCallback in EditPeerTypeBox.
- Guarded boxCallbacks.
2019-03-22 13:40:23 +04:00
John Preston
e0d7cae3fe
Fix build for macOS.
2019-03-22 13:40:23 +04:00
John Preston
241526f127
Improve code style a bit.
2019-03-22 13:40:22 +04:00
23rd
5edf200157
Fixed focus in EditPeerTypeBox. Slightly refactored code.
2019-03-22 13:40:22 +04:00
23rd
bd7ba3acb1
Refactored code.
...
- Slightly improved design.
- Added "const" in EditPeerTypeBox & EditPeerInfoBox.
2019-03-22 13:40:22 +04:00
23rd
e024d9bbb0
Added opening EditPeerTypeBox when error of saving username was handled.
2019-03-22 13:40:22 +04:00
23rd
3d7b8b3162
Added Invite Link button. Refactored code.
...
- Removed unused includes.
- Improved design for boxes.
- Draw buttons for EditPeerInfoBox in single place.
- Simplified conditions for all buttons.
- Made AddSkip more flexible.
2019-03-22 13:40:22 +04:00
23rd
8887272577
Refactored code. Removed unused code.
...
- Deleted manage_peer_box from sources.
2019-03-22 13:40:22 +04:00