Commit Graph

3137 Commits

Author SHA1 Message Date
Alex 7320149f22 Move out the hardcoded URLs (changelog, about) 2018-02-13 14:50:54 +03:00
Alex 2a2d4a260e Get rid of usused file freedesktop.org.xml
It is ambigious and don't need.
2018-02-12 03:03:24 +03:00
fox.cpp dc231f2e29 Allow to change app. name using CMake cache 2018-01-27 16:13:34 +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
Vitaly Zaitsev 6cf354d516 Added additional build definitions for packaged build:
* disable all desktop file and schema generators (already included in package).

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2018-01-19 10:54:09 +02:00
Vitaly Zaitsev 45eb128a5e Fixed issue with running both clients (kepka and tdesktop) simultaneously.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2018-01-17 21:20:17 +03:00
Berkus Decker e609b4464d Fix non-utf8 text in commit 31ed5214f0 2018-01-14 01:36:38 +02:00
Berkus Decker c8409776f6 Fix detection variable usage 2018-01-12 23:23:38 +02:00
Berkus Decker a9ea8da861 Print found frameworks 2018-01-12 23:23:38 +02:00
Berkus Decker aaf3cd7328 Reorder osx frameworks list 2018-01-12 23:23:38 +02:00
Berkus Decker 67cfd8e8b2 Remove unused submodule 2018-01-12 23:23:38 +02:00
Friedrich von Never 31ed5214f0 Allow unicode quotes as markdown entry separators. (#54)
Fixes #13. (Based on upstream's commit telegramdesktop/tdesktop@2e421e8, )
2017-12-24 20:30:13 +04:00
Friedrich von Never 18cd75ab41 Fix handling of dashes in the style directory path (#53)
Fix by @ForNeVeR
2017-12-24 19:03:59 +04:00
Stanislav Ershov d73cfacde9 [skip ci] remove unused code from original tdesktop app 2017-12-22 19:07:36 +03: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
Berkus Decker 3c309a5f3b Use correct add_test() format to obtain correct path to test executables 2017-12-21 12:16:49 +03:00
crackedmind 6ffc8d3905 Remove Qt plugins path rewriting 2017-12-20 14:38:02 +02:00
Berkus Decker 59ee61a90d Handle all enum values 2017-12-20 14:38:02 +02:00
crackedmind b25df92d35 Link in threading libraries if necessary 2017-12-20 14:38:02 +02:00
crackedmind e4358bef35 Update cmake for linux builds 2017-12-20 14:38:02 +02:00
Berkus Decker c4fe2f86ea Add explicit typecasting for some constants 2017-12-20 14:38:02 +02:00
Evgenii Zheltonozhskii 3c350fc719 Replace typeof() gcc extension with decltype() 2017-12-20 14:38:02 +02:00
Berkus Decker 25b5d2d61f Create styles directory initially 2017-12-20 14:38:02 +02:00
Berkus Decker 6c6c23c5a1 Set flag only if supported by the compiler 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 c8a36d27be Fix condition name 2017-12-20 14:38:02 +02:00
Berkus Decker a67bd6e770 Adjust OpenAL detection on Linux systems 2017-12-20 14:38:02 +02:00
Stanislav Ershov 0c4f569f65 Fix error c2100 invalid inderection against visual c++ 19.12 (visual studio 15.5) 2017-12-20 14:38:02 +02:00
Berkus Decker badbf7a900 Enable tests 2017-12-20 14:38:02 +02:00
Berkus Decker a1e200c273 Add more defines from gyp 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
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 f74793ca3f Optimize key initialization
* Do not do redundant copying of numbers.
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 9d03c65350 Shorten all lines lengths to fit 100 column limit 2017-12-20 14:38:02 +02:00
Berkus Decker 44eb8751e0 Move detection to parent cmake file 2017-12-20 14:38:02 +02:00
Berkus Decker fb783cfd64 Use OpenAL-provided cmake config, update readme 2017-12-20 14:38:02 +02:00
Berkus Decker 6b6a0475ab Fix compilation on Windows 2017-12-20 14:38:02 +02:00
Berkus Decker 29db5da807 Remove autoupdater 2017-12-20 14:38:02 +02:00
Berkus Decker c417b45469 Remove useless bitfield qualifier 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 941b306f7a Suppress warnings for unhandled enum values 2017-12-20 14:38:02 +02:00
Berkus Decker 0f1254586c Remove type mismatch 2017-12-20 14:38:02 +02:00
Berkus Decker fa344a9a47 Update version info with procxx tag 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 45e09dc3d6 Add C++ logo overlay 2017-12-20 14:38:02 +02:00
Berkus Decker 16aea1439a Clean up formatting 2017-12-20 14:38:02 +02:00
Berkus Decker f09feaf8b1 Remove FIPS_mode_set() call 2017-12-20 14:38:02 +02:00
Berkus Decker 6d0918e558 Disable static Qt plugins 2017-12-20 14:38:02 +02:00
Berkus Decker be8570e8c2 Suppress new macOS deprecation warnings 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 d2c6b4041a Switch to FindOpus.cmake 2017-12-20 14:38:02 +02:00
Berkus Decker cf7ca3df15 Subject: [PATCH] Fixed build under Fedora using rpmbuild and mock.
From dba8b962c805af477ceee699aa1c05143aa19d43 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly@easycoding.org>
Date: Fri, 31 Mar 2017 14:29:58 +0200
2017-12-20 14:38:02 +02:00
Berkus Decker 954d5f5679 Implement missing handlers for disabled breakpad 2017-12-20 14:38:02 +02:00
Berkus Decker bd0fffa063 Turn off OSX crashpad 2017-12-20 14:38:02 +02:00
Berkus Decker e2970ccba2 Fix missing includes 2017-12-20 14:38:02 +02:00
Evgenii 1bb38d5b12 Change used private header
* Hopefully it will be replaced with separate fixed-point lib
2017-12-20 14:38:02 +02:00
Berkus Decker 9da9778663 Add missing token types 2017-12-20 14:38:02 +02:00
Berkus Decker 3b9edbf7dc Fix include path 2017-12-20 14:38:02 +02:00
Stanislav Ershov 78eb3d60c6 Fix opus includes 2017-12-20 14:38:02 +02:00
Berkus Decker d95e41572f Remove obsolete files 2017-12-20 14:38:02 +02:00
Berkus Decker 8e9eea0673 Manually cotire objc++ files 2017-12-20 14:38:02 +02:00
Berkus Decker 8655950638 Add ccache support 2017-12-20 14:38:02 +02:00
Berkus Decker c0072b0d50 Update plist file for OSX build with cmake 2017-12-20 14:38:02 +02:00
Berkus Decker c28a457572 Add cmake files 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 1c8db1e2e9 Fix travis build for the latest ffmpeg code. 2017-11-13 13:55:11 +04: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
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
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
John Preston aca957595a Version 1.1.23.
- See the message author photo and name
while searching specific chat messages.
- Fix "Send To" menu action on Windows.
2017-09-05 20:38:38 +03:00
John Preston c09fbcfeb3 Display author photo / name in search results. 2017-09-05 20:21:56 +03:00
John Preston def97b3f70 Update faved sticker / saved GIF remove button. 2017-09-05 19:34:36 +03:00
John Preston da373e3334 Update emoji / sticker icons. 2017-09-05 17:44:14 +03:00
John Preston 28a0402253 Fix command line parsing. 2017-09-05 17:38:40 +03:00
John Preston a09fa1b267 Fix sending files from "Send To" in Windows.
Regression was introduced in 8e433971c9.
2017-09-05 16:45:58 +03:00
John Preston 917be105ac Version 1.1.22: Faved stickers limit is 5 right now. 2017-09-04 16:29:35 +03:00
John Preston 710f9d049f Version 1.1.22.
- Bug fixes and other minor improvements.
2017-09-04 15:34:40 +03:00
John Preston 34a43fc62f Update langs. 2017-09-04 15:34:11 +03:00
John Preston 5e77fe8412 Don't display admin stars if admins are disabled. 2017-09-04 15:21:54 +03:00
John Preston 52195ff95a Fix saving chat admins.
Regression was introduced in 0880c01a20.
2017-09-04 15:21:53 +03:00
John Preston 5b77bd5aa0 Limit maximum IP length in case of corrupted data. 2017-09-04 15:21:52 +03:00
John Preston fbf8cd04b5 Fix travis build.
Regression was introduced in 5faca8d4f6.

GYP patch for GCC precompiled header support was accidentally removed.
2017-09-04 14:30:33 +03:00
John Preston 1effaa4e03 Version 1.1.21.
- Bug fixes and other minor improvements.
2017-09-03 23:41:04 +03:00