Pavel Perekhozhikh
40f8f0939a
[Refactoring] change qt math function to cmath analog
2018-02-28 22:12:25 +02:00
Vitaly Zaitsev
a4987d41a9
Allow to build Kepka on other than x86 architectures: armv7, aarch64, ppc64le, etc.
2018-02-21 02:31:22 +03:00
Anatoly Shirokov
e1a947e850
Adapt code to compile by MSVC 2015, remove conditional compilation ( #105 )
...
Fixes workaround introduced in #101 .
Author: @anatoly-spb.
Related to: #17 .
2018-02-13 21:19:05 +03:00
Anatoly Shirokov
b1c7c6fc61
Made to compile by MSVC 2015/2017 32 bit compilers ( #101 )
...
Patches by @anatoly-spb :
1. Get rid of -DWIN64, -DZLIB_WINAPI in 32-bit build for fixing zlib linkage;
2. Work around MSVC2015 limitation based on lacking the C++14 features (like void as literal type) and document it.
2018-02-13 16:13:14 +03:00
Berkus Decker
3c309a5f3b
Use correct add_test() format to obtain correct path to test executables
2017-12-21 12:16:49 +03:00
Berkus Decker
badbf7a900
Enable tests
2017-12-20 14:38:02 +02:00
Berkus Decker
fb2fe2057d
Add todo notes
2017-12-20 14:38:02 +02:00
John Preston
c2edb39069
Cleanup formatting
2017-12-20 14:38:02 +02:00
John Preston
71daae1227
Fix crash in RSA public key wrapper.
2017-12-20 14:38:02 +02:00
Nicholas Guriev
97b8616e01
Fix build against OpenSSL 1.1
...
Closes : #3196
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
27e384e940
Move tests to separate directory
2017-12-20 14:38:02 +02:00
Berkus Decker
bf468f36ea
Qualify minizip include paths
2017-12-20 14:38:02 +02:00
Berkus Decker
e2970ccba2
Fix missing includes
2017-12-20 14:38:02 +02:00
Berkus Decker
d95e41572f
Remove obsolete files
2017-12-20 14:38:02 +02:00
visuve
08e3a54a58
Mark missing ctors deleted
...
- Satisfy the rule of five
Signed-off-by: Veli-Matti Visuri <veli-matti.visuri@cerescon.fi> (github: visuve)
2017-09-28 18:23:42 +03:00
John Preston
7ae1ef0a1a
Migrate to VS2017.
2017-09-06 17:11:06 +03:00
John Preston
c76389e126
Allow to use base::lambda independently.
2017-09-03 15:45:49 +03:00
John Preston
df64c972d8
Replace QFlags with base::flags.
2017-09-03 15:45:47 +03:00
John Preston
a1344e862a
Add base/flags for bit flags on scoped enums.
2017-09-03 15:45:46 +03:00
John Preston
5faca8d4f6
Add Catch unittest framework and some tests.
2017-09-03 15:45:45 +03:00
John Preston
643bedd4cf
Display faved stickers before recently used.
2017-08-30 19:15:48 +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
782114d644
Add and use base::make_weak_unique() helper.
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
95af8da66a
Call correct destructor in base::Observable.
...
base::Subscription::Node doesn't have a virtual destructor.
2017-08-30 19:15:23 +03:00
John Preston
bca444b92e
Add base::optional as a wrapper of base::variant.
2017-08-30 19:15:21 +03:00
John Preston
ae1dacb7d7
Add base/algorithm for range-based algorithms.
2017-08-30 19:15:21 +03:00
John Preston
e209737b1a
Display and follow unread mentions in history.
2017-08-30 19:15:13 +03:00
John Preston
1207ddb2ea
Add flat_map and flat_set using std::deque.
2017-08-25 14:39:31 +03:00
John Preston
7f5a91d2bb
Allow to hide empty megagroup sticker set.
2017-08-25 14:39:24 +03:00
John Preston
a143505fd6
Remove lambda_slot() and lambda_slot_once().
2017-08-25 14:39:15 +03:00
John Preston
9bd89121e8
Replace self-destruct media service messages text.
...
Also support runtime components with align up to std::max_align_t.
2017-07-23 12:34:42 +03:00
John Preston
5d0e89db5d
Switch to the server side changelogs.
2017-06-29 11:40:00 +03:00
John Preston
b94099e25b
Realtime UI translation in all fields and buttons.
2017-06-29 11:39:51 +03:00
John Preston
f5dfeb0c50
Support cloud languages list and switching.
...
Add Lang::Current().updated() observable for retranslating the UI.
2017-06-29 11:39:43 +03:00
John Preston
0557eeddbd
Switch base::TaskQueue to Qt sync primitives.
...
std::mutex in the current build environment is not supported
by Windows XP, I guess because Ninja uses v140 platform toolset.
2017-05-11 17:21:43 +03:00
John Preston
530a385d4e
Add sound override support by codes in Settings.
2017-05-09 23:46:40 +03:00
John Preston
622fbdb64b
Fix BN_div/mod_word() usage.
2017-05-09 23:46:37 +03:00
John Preston
299dc3fc96
Reuse call panel if current call is in Busy state.
2017-05-09 23:46:33 +03:00
John Preston
f6eb2c5205
Add call top bar above the media player.
2017-05-09 23:46:18 +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
d18164bc51
Add Calls::Instance. Add libtgvoip as a dependency.
...
Also move all submodules to Telegram/ThirdParty.
2017-05-09 23:46:08 +03:00
John Preston
cd3c5e4ade
Fix build in GCC.
...
GCC doesn't allow using scoped enums in bitfields without warnings.
So we use "unsigned" bitfield and a couple of get/set methods.
2017-04-08 14:25:54 +03:00
John Preston
34ab04cbe6
Add lambda-based checked timers.
...
Also ApiWrap is now not a QObject.
2017-04-07 18:13:21 +03:00
John Preston
5444b8166c
Finalize rename / move of files.
2017-04-07 18:13:18 +03:00
John Preston
c94a88e154
Rename / move a bunch of files.
...
Next commit fixes the build.
2017-04-07 18:13:16 +03:00