Commit Graph

586 Commits

Author SHA1 Message Date
Berkus Decker ee47a1c904 Update .style files 2018-11-01 00:12:21 +02:00
Berkus Decker 8e50d9637f Convert manually what couldn't be converted automatically 2018-11-01 00:12:21 +02:00
Berkus Decker 8fcbf45bba Convert license headers automatically 2018-11-01 00:12:21 +02:00
Evgenii Zheltonozhskii 4b78d52194 Fix more warnings 2018-10-27 12:40:27 +00:00
Evgenii Zheltonozhskii f1b4a86cfe Fix unused variables, lambda captures. 2018-10-27 12:40:27 +00:00
leha-bot dd003ffb7d PinMessageBox: show notify checkbox only for group
Prepare for pinning messages in Channels, in which we are could not
disable the pin notification.

Based on upstream commit
75d8d01b17

Related to #8, #114.
2018-09-22 01:03:29 +03:00
leha-bot 2aaf08bd71 Minimal layer 72 support
Compile fixes.

Based on upstream commit 6ca105a290
Closes #114.
2018-09-22 01:03:29 +03:00
Evgenii Zheltonozhskii 38efa1bf4b Replace base::lambda with shorter term.
Partially backport dd81f5d59f
2018-07-27 14:24:31 +00:00
Evgeniy Zheltonozhskiy 9f1896c680 Filter RTL in displayed file names(#156)
Adopted from upstream commit aec496d520 to avoid the phishing filenames.

Closes #103.
2018-06-20 22:20:39 +03:00
Evgenii Zheltonozhskii b6df430aa8 Get rid of OrderedSet 2018-06-20 15:40:52 +03:00
Evgeniy Zheltonozhskiy 22b0cffccd Fix almost all warnings (#157)
There are possible deprecation warnings could be on new ffmpeg. It will be investigated later.

Related to #42.
2018-06-12 01:59:24 +03:00
Evgenii Zheltonozhskii b9cd813127 Apply clang-format 2018-06-06 11:25:23 +03:00
Evgenii Zheltonozhskii 49982a33a5 Pre-reformat fixes 2018-06-06 11:25:23 +03:00
Alex 69661217d2
Remove PCH (#148)
This commit brings many changes:

1. Remove cotire;
2. Remove PCH files (stdafx.xxx) and mentions;
3. Rearrange and clean includes:
3.1. Remove core includes path, use full header path core/xxx;
3.2. Move object_ptr to separate file base/object_ptr.h;
3.3. Add missing includes;
5. Add forward decls;
6. Get rid of some Qt private parts;
7. Fix ALL compilation errors after removing cotire on Windows, Linux, MacOS.

Closes #133.
Related to #96.
2018-06-04 16:25:31 +03:00
Pavel Perekhozhikh 1cb6dcee54 [Refactoring] set current standart to c++17 and change any logic to std::clamp (if it's possible) 2018-02-28 22:12:25 +02:00
Pavel Perekhozhikh 40f8f0939a [Refactoring] change qt math function to cmath analog 2018-02-28 22:12:25 +02:00
Alex 7320149f22 Move out the hardcoded URLs (changelog, about) 2018-02-13 14:50:54 +03:00
fox.cpp dc231f2e29 Allow to change app. name using CMake cache 2018-01-27 16:13:34 +03:00
Berkus Decker c4fe2f86ea Add explicit typecasting for some constants 2017-12-20 14:38:02 +02:00
Stanislav Ershov 0c4f569f65 Fix error c2100 invalid inderection against visual c++ 19.12 (visual studio 15.5) 2017-12-20 14:38:02 +02:00
Berkus Decker 29db5da807 Remove autoupdater 2017-12-20 14:38:02 +02:00
Berkus Decker e9184f9ab5 Replace non-standard types with Qt equivalents 2017-12-20 14:38:02 +02:00
Berkus Decker 16aea1439a Clean up formatting 2017-12-20 14:38:02 +02:00
John Preston d46a5f693f Remove unused lang phrases and some code. 2017-09-28 19:18:27 +03:00
John Preston 52195ff95a Fix saving chat admins.
Regression was introduced in 0880c01a20.
2017-09-04 15:21:53 +03:00
John Preston 66c94515f3 Fix crash in setting group sticker set. 2017-09-03 22:50:16 +03:00
John Preston c2a1cc2ae8 Fix crash in contacts list box global search.
Regression was introduced in f7359093b4.
2017-09-03 22:50:16 +03:00
John Preston df64c972d8 Replace QFlags with base::flags. 2017-09-03 15:45:47 +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 e13ed9b909 Remove main()->peerUpdated and some other signals. 2017-08-30 19:15:36 +03:00
John Preston a72453fb1b Remove ContactsBox and contacts_box module. 2017-08-30 19:15:30 +03:00
John Preston b816d33d48 Replace add bot to group box with PeerListBox. 2017-08-30 19:15:29 +03:00
John Preston 0880c01a20 Replace group admins ContactsBox with PeerListBox. 2017-08-30 19:15:28 +03:00
John Preston f7359093b4 Replace ContactsBox with PeerListBox in two cases.
- View contacts list in PeerListBox.
- Add participants when creating group / channel in PeerListBox.
2017-08-30 19:15:27 +03:00
John Preston 012d59ab42 Use nullptr instead of std::unique_ptr<Type>(). 2017-08-30 19:15:25 +03:00
John Preston 0bea2620b5 Replace BoxContent::closeHook() with boxClosing. 2017-08-30 19:15:24 +03:00
John Preston c8810f87b9 Move a lot of code from scheme.h to scheme.cpp. 2017-08-25 14:39:32 +03:00
John Preston fa818407e6 Improve group sticker set setup box. 2017-08-25 14:39:25 +03:00
John Preston 9b01621791 Add height for checkbox/radiobutton ripple effect. 2017-08-25 14:39:20 +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 070456882e Manage faved stickers from sticker context menu. 2017-08-25 14:39:09 +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
John Preston b0cc61c621 API scheme updated to layer 71. 2017-08-25 12:58:12 +03:00
Nicholas Guriev 24fc162e71 Mute settings box
Closes: #3153
Signed-off-by: Nicholas Guriev <guriev-ns@ya.ru> (github: mymedia2)
2017-08-04 18:16:54 +02:00
John Preston 6f746c238a Search for messages from a specific user in group. 2017-08-01 21:38:01 +03:00
John Preston f78335aa67 Fix keyboard scrolling in ContactsBox. 2017-07-23 12:48:49 +03:00
John Preston f283aa033b Fix a couple of layout bugs for username edit. 2017-07-23 12:34:44 +03:00
John Preston 34d2e78308 Allow to edit Bio in Settings. 2017-07-23 12:34:43 +03:00