Commit Graph

2779 Commits

Author SHA1 Message Date
Alex Fails 7d2b48ac65 Fixes for Linux build
Travis CI used old cache and did not find the compilation
errors (instead it that errors has been found by us).
Also get rid of some Qt private parts, more fwd decls and so on.
2018-06-03 03:31:52 +03:00
Berkus Decker d82f476623 Add missing includes 2018-05-13 16:16:29 +03:00
Berkus Decker 5f2ea313b8 Remove unused stdafx include [platform] 2018-05-13 16:16:03 +03:00
Berkus Decker bada61ce15 Fix include paths 2018-05-13 16:16:02 +03:00
leha-bot dea6943df7 Use "<",">" for Qt includes instead of quotes 2018-05-13 15:41:20 +03:00
leha-bot 6188052c46 Fix ALL compilation errors after removing cotire 2018-05-13 13:24:00 +03:00
leha-bot de8e4605d3 Move object_ptr to separate file base/object_ptr.h 2018-05-12 23:16:06 +03:00
Berkus Decker 155c260f80 Add missing includes 2018-04-24 23:54:48 +03:00
Berkus Decker a8e998a3e5 Remove core includes path, use full header path core/xxx 2018-04-24 23:54:19 +03:00
Berkus Decker dde3013878 Delete include 2018-04-22 20:15:08 +03:00
Berkus Decker a3014a911e Add forward decls 2018-04-22 20:13:52 +03:00
Berkus Decker a1f902c5bf Add missing includes 2018-04-22 20:13:42 +03:00
Berkus Decker 8e01e848f4 Cleanup history includes [wip] 2018-04-22 20:13:17 +03:00
Berkus Decker bc4e359989 Rearrange facades includes 2018-04-22 20:12:58 +03:00
Berkus Decker ca593d62bf Add namespace end marker 2018-04-22 20:12:32 +03:00
Berkus Decker 47f3b6d2ab remove pch 2018-04-22 20:12:16 +03:00
Stanislav Ershov dba2989219 Round 1 2018-04-22 19:11:09 +03:00
Stanislav Ershov d646c8bde1 Generate necessary includes in codegen tools 2018-04-22 19:11:09 +03:00
leha-bot c237414cc6 text_entity: Add enum for used Unicode codepoints
It's better to use the named constants instead of magic character codes.
2018-04-21 19:14:34 +03:00
leha-bot 49b3469963 Add option for typographic message formatting
This option allows to turn off the old behaviour with replacing char
sequences like <<, >>, -- to chars represented by HTML escape characters
"&laquo;", "&raquo;", "&mdash;".

Based on upstream pull
https://github.com/telegramdesktop/tdesktop/pull/4553 and commit
fe118833ae
from @PeterMX

Closes #132
2018-04-21 19:14:34 +03:00
leha-bot ed0e5b9958 Reorganize #include's in ui/text/text.cpp
Now it compiles faster

Related to #16
2018-04-17 22:06:33 +03:00
leha-bot 56cbcdcf94 Get rid of qharfbuzz_p private dependency
It's used for weird conversion from "QChar::Script" to internal
HB_Script and back.

Looks like it was in old Qt on this mirror link:
39b4955da3?view=parallel

Related to #96 #27 #16
2018-04-17 22:06:33 +03:00
Vitaly Zaitsev 5a8766e7a2 Completely remove Unity support. Unity is no longer supported by Canonical and will be excluded from Ubuntu 18.04 LTS.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2018-03-31 20:07:48 +03:00
Vitaly Zaitsev dbb0030893 Completely drop GTK dialogs. Use native instead.
Also this commit will remove libnotify support.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2018-03-24 15:20:03 +00:00
leha-bot 1ab8aa2463 Allow to reply by double click on timestamp
Based on telegramdesktop/tdesktop@def21367
Related to #10, #117, #118
2018-03-17 05:57:51 +03:00
leha-bot ea6d487aab Get rid of local changelogs
It was appended if your new version is greater than older.
Now it uses the lang string `lng_new_version`.
2018-03-14 00:49:48 +03:00
Stanislav Ershov ceb9828910 Fix some warnings against size_t to int conversion 2018-03-12 18:30:19 +03:00
John Preston 7ed116aa9d Reply by double clicking a message.
Backported from telegramdesktop/tdesktop@128663d9

Closes #117
2018-03-11 04:02:00 +03:00
Alexey Min 747e8b3ab5 Use custom application name in tray popup menu (#106)
* Use parameter {appname} for tray icon lang strings and update mainwindow.cpp to use parametrized lang calls;

Note: this fix is only for Windows version. Mac version requires separate changes.

Relates to #20 .
2018-03-02 17:08:48 +03:00
Pavel Perekhozhikh 1cb6dcee54 [Refactoring] set current standart to c++17 and change any logic to std::clamp (if it's possible) 2018-02-28 22:12:25 +02:00
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
Alex 7320149f22 Move out the hardcoded URLs (changelog, about) 2018-02-13 14:50:54 +03:00
fox.cpp dc231f2e29 Allow to change app. name using CMake cache 2018-01-27 16:13:34 +03: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
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
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
Berkus Decker c4fe2f86ea Add explicit typecasting for some constants 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 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 f74793ca3f Optimize key initialization
* Do not do redundant copying of numbers.
2017-12-20 14:38:02 +02:00