Berkus Decker
8fcbf45bba
Convert license headers automatically
2018-11-01 00:12:21 +02:00
Evgenii Zheltonozhskii
b9cd813127
Apply clang-format
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
Berkus Decker
e9184f9ab5
Replace non-standard types with Qt equivalents
2017-12-20 14:38:02 +02: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
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
2de96682db
Fix phone call decline reason.
...
If the call was declined fast enough the reason was hangup while it
should be busy.
2017-06-29 11:40:06 +03:00
John Preston
11d4c50202
Closed beta 1001007001: Fix build in GCC.
2017-06-29 11:40:02 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
843f983051
Skip call ended sound if ended from other device.
2017-05-12 19:09:34 +03:00
John Preston
9dfd7f4ba9
Play the outgoing call sound only in Ringing state.
2017-05-12 18:53:59 +03:00
John Preston
8a4a7897a0
Fix contract violation in Call::startIncoming.
...
Also fix call answer while dhConfig is not received yet.
2017-05-10 10:58:02 +03:00
John Preston
c78cc331d1
Discard call in case of an error.
...
Also add a couple of call error messages.
2017-05-09 23:46:43 +03:00
John Preston
e7dcd5ab15
Don't decline awaited incoming call on app quit.
2017-05-09 23:46:41 +03:00
John Preston
530a385d4e
Add sound override support by codes in Settings.
2017-05-09 23:46:40 +03:00
John Preston
23874a0a26
Animate call answer button with an outer ripple.
2017-05-09 23:46:39 +03:00
John Preston
3b46382550
Add logging for libtgvoip when we have DebugLogs.
2017-05-09 23:46:39 +03:00
John Preston
b3d5ac1660
Fix call discard when hanging up before request.
2017-05-09 23:46:38 +03:00
John Preston
d0afe83beb
Fix call panel in macOS build.
2017-05-09 23:46:36 +03:00
John Preston
2214e980ef
Add call panel show / hide animation.
2017-05-09 23:46:34 +03:00
John Preston
0a6e012e90
Add call debug window on Ctrl+Click Show Info.
...
It is available only when debug logs are enabled.
2017-05-09 23:46:33 +03:00
John Preston
fd24aff6b1
Play sounds in calls.
2017-05-09 23:46:31 +03:00
John Preston
11525a1e50
Add RateCallBox for calls feedback collection.
2017-05-09 23:46:28 +03:00
John Preston
f42f79ea95
Add "line busy" call state with a redial button.
2017-05-09 23:46:24 +03:00
John Preston
d5ff728da6
Show privacy / incompatibility errors in calls.
2017-05-09 23:46:24 +03:00
John Preston
30d000e139
Toggle calls controls using config and user flags.
...
Also use calls timeout values from config.
Also request config each time when the auth session changes.
2017-05-09 23:46:22 +03:00
John Preston
f4911431d5
Request, parse and apply phone.getCallConfig.
2017-05-09 23:46:21 +03:00
John Preston
06b081f509
Add calls log box.
...
PeerListBox can have many rows with the same PeerData.
PeerListBox::Row can have arbitrary action on the right side.
2017-05-09 23:46:18 +03:00
John Preston
f6eb2c5205
Add call top bar above the media player.
2017-05-09 23:46:18 +03:00
John Preston
60ac7572af
Display name, status and emoji in Call Panel.
2017-05-09 23:46:17 +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
0a716036c2
Extract Calls::Call. Add a call button to TopBar.
2017-05-09 23:46:14 +03:00