Commit Graph

3285 Commits

Author SHA1 Message Date
Berkus Decker 60c77e0738 Move include paths to exe spot 2017-11-20 22:32:41 +02:00
Berkus Decker 979f3035f6 Add openal-soft 2017-11-20 22:32:41 +02:00
Berkus Decker 2592e630da Add libzip 2017-11-20 22:32:41 +02:00
Evgenii 53b851053d Add missing defines 2017-11-20 22:32:41 +02:00
Evgenii b96d64fdaf Add missing files. Update Qt5 dependency 2017-11-20 22:32:41 +02:00
Berkus Decker e5a94f53b2 Private header temporary added. Qt and GTK requirements added. CMake required version reduced. 2017-11-20 22:32:40 +02:00
Evgenii 8423afec2b Reduce required CMake version 2017-11-20 22:27:22 +02:00
Evgenii bbea7f308d Add Gtk dependency 2017-11-20 22:27:22 +02:00
Evgenii aab75e23fb Find specific Qt version 2017-11-20 22:27:22 +02:00
Evgenii 7649c5f592 Add cmake modules directory 2017-11-20 22:27:22 +02:00
Evgenii 36f8a53b56 [wip] remove local paths 2017-11-20 22:27:22 +02:00
Evgenii 63fbf6a975 Change used private header
* Hopefully it will be replaced with separate fixed-point lib
2017-11-20 22:27:21 +02:00
Berkus Decker 5eb26de667 [temp] Unhandled enums 2017-11-20 22:27:21 +02:00
Berkus Decker 77edac4541 Add core includes 2017-11-20 22:10:38 +02:00
Berkus Decker 26fac79c28 Add thirdparty sources 2017-11-20 22:10:38 +02:00
Berkus Decker 3720a7bc8c Generate styles properly 2017-11-20 22:10:38 +02:00
Berkus Decker 0ce73f4cb8 Add liblzma 2017-11-20 22:10:38 +02:00
Berkus Decker 66f482ca97 [fixme] hardcode some private qt headers paths 2017-11-20 22:10:38 +02:00
Berkus Decker c485327f40 [wip] add more generated files 2017-11-20 22:10:38 +02:00
Berkus Decker 153db81977 Remove useless crud 2017-11-20 22:10:37 +02:00
Berkus Decker 54940af933 Add missing token types 2017-11-20 22:10:27 +02:00
Berkus Decker fb00067f36 Fix include path 2017-11-20 22:10:26 +02:00
Berkus Decker 0ba0280ea8 Add codegen 2017-11-20 22:10:26 +02:00
Berkus Decker 74892266bc [wip] start adding codegen targets 2017-11-20 22:10:26 +02:00
Berkus Decker aa09631338 Add cotire to targets 2017-11-20 22:10:26 +02:00
Berkus Decker ad14e16bec Merge commit '7de477478bd4c2d6a93921662dbb07102d50a49a' as 'cotire' 2017-11-20 22:10:26 +02:00
Berkus Decker e681235ade [wip] include dirs 2017-11-20 22:10:26 +02:00
Berkus Decker a6ec068267 Remove useless crap 2017-11-20 22:10:26 +02:00
Berkus Decker 90d4ad0597 [wip] add cmake files 2017-11-20 22:10:06 +02:00
Berkus Decker 60a45e6cfe Build using systemwide cmake.
From: Vitaly Zaitsev <vitaly@easycoding.org>
Date: Mon, 3 Oct 2016 16:10:25 +0200
Source: RussianFedora/telegram-desktop
2017-11-20 22:09:49 +02:00
Berkus Decker 7a5d115e2b Fixed build under GCC 6.3.1.
From: Vitaly Zaitsev <vitaly@easycoding.org>
Date: Thu, 5 Jan 2017 15:23:03 +0100
Source: RussianFedora/telegram-desktop
2017-11-20 22:09:48 +02:00
Berkus Decker dd0fa1c33e Fixed build under Fedora using rpmbuild and mock. Thanks to AUR packagers for this.
From: Vitaly Zaitsev <vitaly@easycoding.org>
Date: Wed, 1 Feb 2017 15:53:16 +0100
Source: RussianFedora/telegram-desktop
2017-11-20 22:08:20 +02:00
Roman Voropaev 63669c1612 Added cmake to %PATH% (#4066)
It's later used in OpenAL building.
2017-11-15 21:16:44 +01:00
John Preston 1c8db1e2e9 Fix travis build for the latest ffmpeg code. 2017-11-13 13:55:11 +04:00
Christoph 62463d2c3e Remove notes about the signature (#4015)
* Remove notes about the signature

It's handled by a bot now 🎉

* Remove check from travis

* Remove check from appveyor
2017-10-26 23:35:55 +02:00
John Preston 247f8f4fcc Fix instructions markup. 2017-10-11 22:33:49 +01:00
Duncan Ogilvie 34d15e7216 don't call vcvarsall.bat in AppVeyor script (#3945)
Follow-up for #3920

Signed-off-by: Duncan Ogilvie mr.exodia.tpodt@gmail.com (github: mrexodia)
2017-09-29 20:24:04 +02:00
John Preston d46a5f693f Remove unused lang phrases and some code. 2017-09-28 19:18:27 +03:00
eegorov 8bfe407610 New build option: without GTK and appindicator
Signed-off-by: Egor Y. Egorov <egor.y.egorov@gmail.com> (github: eegorov)
2017-09-28 18:32:51 +03: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
visuve 8c92f42de3 Fix uninitialized values
- Use C++11 default member initializers

Signed-off-by: Veli-Matti Visuri <veli-matti.visuri@cerescon.fi> (github: visuve)
2017-09-28 18:23:42 +03:00
Alexander GQ Gerasiov 07106897a6 Fix CVE-2016-10351: Insecure cWorkingDir permissions.
Set 700 permisson on dir on every start.

Signed-off-by: Alexander GQ Gerasiov <gq@cs.msu.su>
2017-09-28 18:19:27 +03:00
Duncan Ogilvie 5d5b89c82d Customized BUILD_DIR in install.bat (#3920)
This is a very simple change that allow people to build Telegram like AppVeyor does it, but not in C:\TBuild (often C is "System Reserved" and cannot be used). Instead you can build it anywhere (from the visual studio 2017 x86 command prompt) like this:

    >set BUILD_DIR=%CD%
    >git clone https://github.com/telegramdesktop/tdesktop.git
    >cd tdesktop
    >.\.appveyor\install.bat
    >msbuild Telegram\Telegram.sln /property:Configuration=Debug /p:Platform=Win32

Some notes:

- I replaced all C:\TBuild with %BUILD_DIR%, even if it is decided not to merge this, keep that.
- %BUILD_DIR%\Libraries\prepare.bat might fail to extract the 7z Qt libraries for some reason (even if 7z.exe is in PATH) this has not been fixed

Signed-off-by: Duncan Ogilvie mr.exodia.tpodt@gmail.com (github: mrexodia)
2017-09-28 12:03:39 +02:00
Jan Niklas Hasse e42cc02d0e Prefer AppIndicator if DBus interface is available
Starting with Ubuntu 17.10 the interface will be provided by an
extension (shipped by default):

https://github.com/ubuntu/gnome-shell-extension-appindicator

Legacy tray icons have been completely removed in GNOME 3.26. By
checking the interface, this will allow users of other distributions
with GNOME to also use Telegram's indicator with the extension.

Signed-off-by: Jan Niklas Hasse <jhasse@bixense.com> (github: jhasse)
2017-09-28 12:59:46 +03:00
Yonsh Lin 11a46a1072 Fix IME being interrupted after reconnection
Signed-off-by: Yonsh Lin <yonsh@live.com> (github: yonsh)
2017-09-28 12:57:25 +03:00
Monote a0fbbf2fb6 Fix build instructions for MSVC (#3878)
Fixed 'change directory' commands for following build process step-by-step.

Signed-off-by: Andrew Aponte <coyshibe@gmail.com> (github: monote)
2017-09-11 14:04:25 +03:00
John Preston 74e46f7b80 Fix travis / appveyor CI builds. 2017-09-06 17:12:26 +03:00
John Preston b8d1b8d6c1 Update build docs for VS 2017.
Closes #3117. Closes #3729.
2017-09-06 17:11:30 +03:00
John Preston 7ae1ef0a1a Migrate to VS2017. 2017-09-06 17:11:06 +03:00
John Preston 13aa42c883 Use GYP rule for Qt MOC only on Telegram project. 2017-09-06 12:12:04 +03:00