Commit Graph

48 Commits

Author SHA1 Message Date
Stanislav Ershov ac62bc1469 Improve cmake 2018-10-27 11:19:19 +03:00
Alex 0d013603bd
Fix "no return in nonvoid function" error in libtgvoip (#167)
Return nullptr to avoid compile error.

Before this commit these functions:
1. void *AudioInputALSA::StartThread();
2. void *AudioOutputALSA::StartThread()
 - don't return any values. 

Also please note that this fix should be ported after syncing libtgvoip to upstream if these functions still don't return values!

Related to #153.
2018-06-20 21:33:58 +03:00
Evgenii Zheltonozhskii 35c917a704 Remove junk files 2018-06-04 19:56:10 +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
leha-bot 271e31c0cd libtgvoip: Disable MSVC CRT secure warnings 2018-03-12 18:30:19 +03:00
crackedmind c02a20a5c1 git subrepo pull Telegram/ThirdParty/Catch
subrepo:
  subdir:   "Telegram/ThirdParty/Catch"
  merged:   "11c89a5f7"
upstream:
  origin:   "https://github.com/catchorg/Catch2"
  branch:   "master"
  commit:   "11c89a5f7"
git-subrepo:
  version:  "0.3.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a7ee886"
2018-03-11 04:44:04 +03:00
crackedmind a3ba1d6192 Update Catch subrepo remote url 2018-03-11 04:44:04 +03:00
crackedmind 9e4a97edf4 git subrepo pull Telegram/ThirdParty/GSL
subrepo:
  subdir:   "Telegram/ThirdParty/GSL"
  merged:   "c9e423d7"
upstream:
  origin:   "https://github.com/Microsoft/GSL.git"
  branch:   "master"
  commit:   "c9e423d7"
git-subrepo:
  version:  "0.3.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a7ee886"
2018-03-11 04:44:04 +03:00
Vitaly Zaitsev 356f1cb083 Fixed build of libtgvoip on Big-Endian architectures. 2018-02-21 02:31:22 +03:00
leha-bot 726373bcab ligtgvoip: get rid of unused & erroneous MIN macro
This macro is not used and has an error with parenthesis. At some input
arguments it will be generate incorrect code:
MIN(a++, b--) -> expands to (a++<b-- ? a++ : b--)
2018-01-22 01:52:24 +03:00
leha-bot f9f9e450a0 libtgvoip: get rid of GYP 2018-01-22 01:52:24 +03:00
Berkus Decker 67cfd8e8b2 Remove unused submodule 2018-01-12 23:23:38 +02:00
Vitaly Zaitsev e1ffe76dff Fixed spelling in libtgvoip third-party library.
Patch backported from https://github.com/grishka/libtgvoip/pull/31 pull request.
Original patch by: Nicholas Guriev <guriev-ns@ya.ru>
2017-12-21 17:42:17 +02:00
Vitaly Zaitsev 03eb0169b3 Fixed build against OpenSSL 1.1.
Patch backported from https://github.com/grishka/libtgvoip/pull/31 pull request.
Original patch by: Nicholas Guriev <guriev-ns@ya.ru>

Closes #43.
2017-12-21 17:42:17 +02:00
Evgenii Zheltonozhskii 3c350fc719 Replace typeof() gcc extension with decltype() 2017-12-20 14:38:02 +02:00
Berkus Decker b58adbd2b1 Add ALSA and PulseAudio support on Linux 2017-12-20 14:38:02 +02:00
Berkus Decker 44e89b9cbe Set LINUX os flag 2017-12-20 14:38:02 +02:00
Berkus Decker fb2fe2057d Add todo notes 2017-12-20 14:38:02 +02:00
Berkus Decker 7e683880be Reorg cmake structure - remove duplication, reorder sections 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 0f1254586c Remove type mismatch 2017-12-20 14:38:02 +02:00
Berkus Decker bf468f36ea Qualify minizip include paths 2017-12-20 14:38:02 +02:00
Stanislav Ershov 78eb3d60c6 Fix opus includes 2017-12-20 14:38:02 +02:00
Berkus Decker af2fd8938a Build libtgvoip with cmake 2017-12-20 14:38:02 +02:00
Berkus Decker ce75c9e7dd git subrepo clone https://github.com/philsquared/Catch Telegram/ThirdParty/Catch
subrepo:
  subdir:   "Telegram/ThirdParty/Catch"
  merged:   "63c097a07"
upstream:
  origin:   "https://github.com/philsquared/Catch"
  branch:   "master"
  commit:   "63c097a07"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-12-20 14:38:02 +02:00
Berkus Decker b999b8331f git subrepo clone https://github.com/Microsoft/GSL.git Telegram/ThirdParty/GSL
subrepo:
  subdir:   "Telegram/ThirdParty/GSL"
  merged:   "1c95f943"
upstream:
  origin:   "https://github.com/Microsoft/GSL.git"
  branch:   "master"
  commit:   "1c95f943"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-12-20 14:38:02 +02:00
Berkus Decker e95133d56b git subrepo clone https://github.com/mapbox/variant Telegram/ThirdParty/variant
subrepo:
  subdir:   "Telegram/ThirdParty/variant"
  merged:   "237f83ca"
upstream:
  origin:   "https://github.com/mapbox/variant"
  branch:   "master"
  commit:   "237f83ca"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-12-20 14:38:02 +02:00
Berkus Decker 3062a8ef99 git subrepo clone https://github.com/telegramdesktop/libtgvoip Telegram/ThirdParty/libtgvoip
subrepo:
  subdir:   "Telegram/ThirdParty/libtgvoip"
  merged:   "651594b3"
upstream:
  origin:   "https://github.com/telegramdesktop/libtgvoip"
  branch:   "tdesktop"
  commit:   "651594b3"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-12-20 14:38:02 +02:00
John Preston 7ae1ef0a1a Migrate to VS2017. 2017-09-06 17:11:06 +03:00
John Preston 5faca8d4f6 Add Catch unittest framework and some tests. 2017-09-03 15:45:45 +03:00
John Preston dfa7cb1826 Version 1.1.16: Fix build for Qt 5.3.2 and GCC. 2017-07-26 19:10:04 +03:00
John Preston df2aeb0c58 Provide emoji suggestions as a service. 2017-07-26 15:55:03 +03:00
John Preston 0ecef54e2b Alpha 1.1.11: Update langs and libtgvoip. 2017-07-06 20:40:49 +03:00
John Preston 73e550f432 Update libtgvoip. 2017-07-05 22:51:38 +03:00
John Preston 413be7d76d Alpha 1.1.3.
Also update libtgvoip.
2017-05-24 16:59:40 +03:00
John Preston e2b212dba9 Update libtgvoip submodule. 2017-05-17 17:34:28 +03:00
John Preston 0496a52cdd Alpha 1.0.38: Fix webpage layout.
Webpage layout is broken if title contains a newline.
Remove all newline characters from webpage / game / invoice title.
2017-05-13 17:31:00 +03:00
John Preston c438692d49 Fix Travis build. 2017-05-10 15:05:19 +03:00
John Preston 086684ca69 Use SSE2 flags (instead of SSE4.1) for Linux build. 2017-05-10 14:04:31 +03:00
John Preston d6a919c372 Alpha 1.0.37: Multiple crash fixes.
Also rate call box style is improved.
2017-05-10 11:01:34 +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 d78523e905 Fix resource leak in SPMediaKeyTap. 2017-05-09 14:49:56 +03:00
John Preston 30ae322cf0 Move to GCC 6 and silent some warnings there. 2017-02-21 18:29:59 +03:00
John Preston dbb6371e67 First version on loading themes is ready. 2016-12-30 17:51:27 +04:00
John Preston fd6a312abc SPMediaKeyTap solution for macOS media keys added. 2016-10-17 17:57:14 +03:00
John Preston 6e8fc37ca9 using libs for google breakpad on windows 2016-02-05 16:31:24 +03:00
John Preston daa0adfff9 added breakpad support for os x 2016-02-01 13:12:37 +03:00
John Preston a0d171bb49 moved minizip to ThirdParty, added google breakpad to ThirdParty for windows (mac, linux broken) 2016-01-31 21:01:43 +03:00