John Preston
1392e05ab1
Move all gsl::byte helpers to base/bytes module.
2018-06-03 23:16:34 +03:00
John Preston
4478c0a143
Resolve domain names for proxy servers.
...
Also use dc_id-checked auth key creation.
Fixes #4695 .
2018-05-18 10:57:11 +03:00
John Preston
48c1576d7f
Add 'Use proxy for calls' option.
2018-05-07 00:29:53 +03:00
John Preston
f794d8dbd8
Check proxy availability in ProxiesBox.
2018-05-05 21:55:38 +03:00
John Preston
900d1ddb36
Support multiple proxies in local storage.
2018-05-05 21:55:38 +03:00
John Preston
8e99135f37
Support tg://proxy links.
2018-05-05 21:55:37 +03:00
John Preston
7482025c10
Support work with different dcs on a single IP.
2018-05-05 21:55:37 +03:00
John Preston
4a9db99082
Use application level proxy settings.
2018-05-05 21:55:37 +03:00
John Preston
8bacc74d8b
Request dialog list entries when needed.
...
Also save the original server-side int32 date in HistoryItems.
2018-02-08 12:20:54 +03:00
John Preston
4740d44159
Make HistoryView::Message a ClickHandlerHost.
2018-02-08 12:20:47 +03:00
John Preston
062b0b2165
Save item views in App::*Item() variables.
...
Also remove App::contextItem.
Also use owning pointers for history context menus.
2018-02-08 12:20:47 +03:00
John Preston
f0b2e445f6
Prepare dialogs to open feeds.
2018-02-08 12:20:46 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
14034c255e
Replace QSharedPointer with std::shared_ptr.
2017-12-18 13:07:18 +04:00
John Preston
2387b66e86
Allow supergroup members to clear history.
2017-11-22 12:04:24 +04:00
John Preston
5a159d0204
Improve string encoding.
2017-11-16 07:59:12 +04:00
John Preston
ea0f6b9a12
Use 'if constexpr ()' instead of tag dispatch.
2017-11-16 07:59:05 +04:00
John Preston
f162462111
Move info between Layer and Narrow wrap.
2017-11-16 07:59:03 +04:00
John Preston
e70052e966
Add piping and on_next, on_error, on_done, start.
2017-11-16 07:59:01 +04:00
John Preston
2e374e68c5
Fix working with layers.
...
Regression was introduced in df64c97
.
New base::flags work correctly only if all mutually exclusive flag
values use mutually exclusive bits (a & b == 0 for exclusive (a, b)).
Closes #3856 .
2017-09-03 22:49:33 +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
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
17cef93ac0
Use gsl::finally() instead of base::scope_guard().
2017-08-30 19:15:26 +03:00
John Preston
7ad21ff713
Move std and gsl includes to precompiled header.
2017-08-25 14:39:33 +03:00
John Preston
9d81ea59dd
Attempt to fix an out of memory crash.
2017-08-01 21:14:43 +03:00
John Preston
c3db57a4fc
Closed beta 1001007003: Fix Xcode build.
2017-06-30 09:21:44 +03:00
John Preston
fee8690ca6
Channel action log items display and layout.
2017-06-30 09:21:41 +03:00
John Preston
8ae159dd66
Add special dc options config request.
2017-06-29 11:40:07 +03:00
John Preston
b267957abe
Apply all MTP Key generation checks to calls.
...
Also move all OpenSSL BN_* calls to base/openssl_help header.
2017-05-09 23:46:16 +03:00
John Preston
4925af69e2
Add Calls::Panel and handle incoming calls.
2017-05-09 23:46:15 +03:00
John Preston
8d28d0691f
API scheme updated to layer 66.
...
Support CDN file download.
2017-04-12 22:36:25 +03:00
John Preston
0690c4f98c
Move EmojiPanel bottom controls to Controller.
...
Open sticker set by click on the name.
Add a delete sticker set button.
2017-03-31 15:58:52 +03:00
John Preston
1540f6f528
Use emoji/stickers/gifs slider in EmojiPan.
...
Also rename EmojiTabs to EmojiSections.
2017-03-31 15:48:01 +03:00
John Preston
12ca6f3819
Closed beta 1000018001: calls and payments dummies.
2017-03-30 12:49:15 +03:00
John Preston
61c5b45d7a
Select exception users in EditPrivacyBox.
2017-03-18 12:49:46 +03:00
John Preston
f2cd364e14
Alpha 1.0.21: Fix more compilation bugs.
2017-03-11 17:13:57 +03:00
John Preston
12bbd971b3
Added Guideline Support Library as a dependency.
...
See https://github.com/Microsoft/GSL for information.
2017-03-04 12:01:07 +03:00
John Preston
f8318177b9
Platform-dependent file methods called async.
...
Some major platform-dependent file operations refactoring.
All methods like "open file", "open file with", "show in folder"
were moved to core/file_utilities module with platform-dependent
backends. All methods interacting with DesktopServices made async.
2017-02-28 18:03:38 +03:00
John Preston
7d89b54d1c
Ability to delete authorization keys added.
...
If we start logging in and we know, that some of the authorization
keys were read from the hard drive, not generated, we destroy all
the existing authorization keys and start generating new keys.
2017-02-25 19:48:22 +03:00
John Preston
dd933cf61c
MTP global state moved to MTP::Instance class.
...
Now there will be ability to start multiple mtproto instances.
2017-02-25 19:48:21 +03:00
John Preston
a35947141c
Encapsulated DcOptions to an independent class.
2017-02-25 19:48:19 +03:00
John Preston
90b3b5c3e5
MTP::AuthKey uses std::array for data.
...
Also using "volatile char*" iteration for secure memset on Mac/Linux.
2017-02-25 19:48:18 +03:00
John Preston
ffc557a0f9
Using standard library instead of std_ namespace.
...
Currently tested only in VS2015.
2017-02-21 16:45:56 +03:00
John Preston
b842761ea3
Closed beta 1000006001: Built in theme and color palette editor.
2017-02-07 17:56:33 +03:00
John Preston
7fb1463c43
Version 1.0 stable: bump copyright date to 2017.
2017-01-11 23:02:13 +04:00
John Preston
bc0c355d2d
Alpha version 0.10.21: pinned chats, groups in common, new design.
2016-12-30 22:23:17 +04:00
John Preston
1d8e76aa08
New empty user/chat photos: with filled background and initials.
2016-12-30 17:53:09 +04:00
John Preston
8958ae0377
Typing animations from android.
2016-12-30 17:52:36 +04:00