Commit Graph

62 Commits

Author SHA1 Message Date
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 d63e50944a Update submodules to the latest spellcheck. 2019-11-05 13:23:56 +03:00
John Preston a6c84c36c0 Use layers and boxes from lib_ui. 2019-10-19 12:27:52 +04:00
John Preston 0c713a930a Remove app.h / facades.h from precompiled header. 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 ac8f924909 Show tdesktop cloud themes in a box. 2019-09-06 19:31:06 +03:00
John Preston bacaf805b5 Pass SessionNavigation to some boxes. 2019-07-25 20:55:11 +02: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 873b77cf40 Use UserData::isBot where applicable. 2019-07-24 08:02:20 +02:00
John Preston ffba901620 Add a confirmation when blocking a user. 2019-07-15 15:47:40 +02:00
John Preston 9d09cee1cc Unblock bots without restarting from Settings. 2019-07-04 16:26:53 +02:00
John Preston 729da4a6b4 Move 'Add to contacts' button up in Info. 2019-07-04 12:21:52 +02:00
John Preston adf5c8ec71 Version 1.7.10: Fix group location display. 2019-06-24 15:31:23 +02:00
John Preston 7d585ab72f Handle located groups as public. 2019-06-21 14:27:46 +02:00
John Preston 4917ca7b32 Remove all legacy global namespace langs. 2019-06-21 11:06:52 +02:00
John Preston 87fc066e67 Use tr:: instead of lang(). 2019-06-21 11:06:51 +02:00
John Preston 7af0dd105e Use tr:: instead of Lang::Viewer. 2019-06-21 11:06:49 +02:00
John Preston faa42110ac Remove Info::Profile::ToUpperValue. 2019-06-21 11:06:48 +02:00
John Preston 9066acd2dd Use new box for editing contact name. 2019-06-21 11:06:46 +02:00
John Preston 2162aa8df0 Rename Text to Ui::Text::String. 2019-06-21 11:06:46 +02:00
John Preston 08d4715ad6 Implement a new AddToContactBox. 2019-06-21 11:06:45 +02:00
John Preston a547f80ae9 Rename Window::Controller to Window::SessionController. 2019-06-06 13:21:40 +03:00
John Preston 9a4fdb1530 Use only lt_count in langpacks. 2019-05-20 15:44:51 +03:00
23rd 5901b42a83 Added generation of string with decimal separated numbers.
- Added new plural tag "kPluralDecimalSeparationTag".
 - Added Lang::PluralType for default, shorted and decimal separated numbers.
 - Replaced members and votes count with decimal separated type.
2019-05-20 15:44:51 +03:00
John Preston 9bf8a8108d Comment out non-folder feed code. 2019-04-25 14:16:30 +04: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
John Preston b364cbbd69 Improve support accounts presentation.
- Change "Bot Info" to "User Info".
- Remove "Block user" and "Add to Group" buttons from profile page.
- Allow revoking messages from support chats.
2019-04-03 16:50:38 +04:00
John Preston 13a9b967e9 Use user phrases for support accounts. 2019-03-12 14:38:59 +04:00
John Preston a70e72f75d Application->Sandbox, Messenger->Application. 2019-01-23 12:51:58 +04:00
John Preston 314e30272b Replace SingleTimer with base::Timer. 2019-01-18 16:41:08 +04:00
John Preston c5a41e1f55 Divide data/data_peer and remove from PCH. 2019-01-17 12:21:29 +04:00
John Preston 61add763ae Restart instead of Unblock for bots. 2018-12-04 15:46:07 +04:00
John Preston 9a8ab84ecb Add edit / view of user information for support. 2018-11-20 19:50:36 +04:00
John Preston ae18ece549 Ask export path with other export options. 2018-06-23 00:56:53 +01:00
John Preston 734c410879 New notifications API, defaults for users/chats. 2018-05-30 18:44:46 +03:00
John Preston 4b4e22d59d Display bot privacy policy command. 2018-05-30 17:34:21 +03:00
John Preston ee182ea684 API scheme downgraded to layer 76. 2018-03-06 20:48:24 +03:00
John Preston 0f775e1e66 Support feeds search display in dialogs list. 2018-02-14 23:18:21 +03:00
John Preston 906cb95e67 Channels list in feed info with leave channel. 2018-02-10 01:14:26 +03:00
John Preston 99c686e3e1 Display feed channels list in feed info. 2018-02-08 12:20:55 +03:00
John Preston ea7441ae77 Use single LEGAL file with license and copyright. 2018-01-03 13:23:14 +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 5a7d8bcffb Add audio playlist using Info::Media::ListWidget. 2017-12-09 19:13:06 +04:00
John Preston 775cede16f Use separate phrases for clearing saved messages. 2017-12-06 18:39:27 +04:00
John Preston 46bafc2dcc Support Saved messages in chats list and forwards. 2017-12-05 18:07:01 +04:00
John Preston 62568daffe Refactor NotifySettings in PeerData. 2017-12-04 21:48:45 +04:00
John Preston 76f951e3e6 Show members list in the third column. 2017-12-04 15:45:15 +04:00
John Preston d014b47958 Move Info::TopBarOverride to Info::TopBar.
This allows to improve animations in shared media items selection.
2017-11-27 15:43:57 +04:00
John Preston 2387b66e86 Allow supergroup members to clear history. 2017-11-22 12:04:24 +04:00