Evgenii Zheltonozhskii
38efa1bf4b
Replace base::lambda with shorter term.
...
Partially backport dd81f5d59f
2018-07-27 14:24:31 +00:00
John Preston
e7bace9ab3
Rewrite base::lambda_guard, use only one pointer.
...
(cherry picked from commit f6ed3df
)
2018-07-27 14:24:31 +00:00
John Preston
f488d5f9c1
Use std::function for base::lambda implementation.
...
(cherry picked from commit 101d4f6
)
2018-07-27 14:24:31 +00:00
Evgeniy Zheltonozhskiy
9f1896c680
Filter RTL in displayed file names( #156 )
...
Adopted from upstream commit aec496d520
to avoid the phishing filenames.
Closes #103 .
2018-06-20 22:20:39 +03:00
Evgenii Zheltonozhskii
b6df430aa8
Get rid of OrderedSet
2018-06-20 15:40:52 +03:00
Evgenii Zheltonozhskii
8b189226e4
Minimize type_traits ( https://github.com/procxx/kepka/issues/27 )
2018-06-20 15:40:52 +03:00
Anton Kashcheev
21e7a1bbb0
Fix compile error when building with LibreSSL
...
Add preprocessor check of LibreSSL version.
2018-06-20 15:16:09 +03:00
Evgeniy Zheltonozhskiy
22b0cffccd
Fix almost all warnings ( #157 )
...
There are possible deprecation warnings could be on new ffmpeg. It will be investigated later.
Related to #42 .
2018-06-12 01:59:24 +03:00
Evgenii Zheltonozhskii
e748c9eede
Fix Release build (add missing includes)
2018-06-10 17:17:44 +03:00
Evgenii Zheltonozhskii
b9cd813127
Apply clang-format
2018-06-06 11:25:23 +03:00
Evgenii Zheltonozhskii
49982a33a5
Pre-reformat fixes
2018-06-06 11:25:23 +03:00
Evgenii Zheltonozhskii
80071b61d5
Fix deprecated qt functions in CMake
2018-06-06 11:25:23 +03:00
Evgenii Zheltonozhskii
eba069a406
Branding changes, minor readme fix
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
Anton Kashcheev
09f8d60e11
Add libreSSL support
...
Also check LIBRESSL_VERSION_NUMBER and if it's defined, we use the LibreSSL-compatible API calls.
2018-04-22 19:45:47 +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
"«", "»", "—".
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
Nicholas Guriev
97b8616e01
Fix build against OpenSSL 1.1
...
Closes : #3196
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
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
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
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
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
c28a457572
Add cmake files
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
7ae1ef0a1a
Migrate to VS2017.
2017-09-06 17:11:06 +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
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
1effaa4e03
Version 1.1.21.
...
- Bug fixes and other minor improvements.
2017-09-03 23:41:04 +03:00
John Preston
66c94515f3
Fix crash in setting group sticker set.
2017-09-03 22:50:16 +03:00
John Preston
c2a1cc2ae8
Fix crash in contacts list box global search.
...
Regression was introduced in f7359093b4
.
2017-09-03 22:50:16 +03:00
John Preston
ad41a81b66
Fix window size reset on every launch.
...
Regression was introduced in b08732cf28
.
In MediaView constructor a call to setWindowState(WindowFullScreen)
invokes QWindowSystemInterface::flushWindowSystemEvents() which then
delivers some delayed system window resize event for the main window,
resetting its size to something default.
2017-09-03 22:50:15 +03:00
John Preston
2e374e68c5
Fix working with layers.
...
Regression was introduced in df64c97
.
New base::flags work correctly only if all mutually exclusive flag
values use mutually exclusive bits (a & b == 0 for exclusive (a, b)).
Closes #3856 .
2017-09-03 22:49:33 +03:00
John Preston
8f82880b93
Version 1.1.20.
...
- Groups with unread mentions and replies are now marked
with an '@' badge in the chats list.
- Navigate new mentions and replies in a group
using the new '@' button.
- Mark your stickers as “favorite” to quickly access them
from the redesigned sticker panel.
- Add an official sticker set for your group which all members will
be able to use while chatting in your group (100+ member groups only)
2017-09-03 19:23:50 +03:00
John Preston
c76389e126
Allow to use base::lambda independently.
2017-09-03 15:45:49 +03:00
John Preston
76489a7885
Fix stack overflow in passcode lock check.
...
A regression was introduced in e209737b1a
.
We call MainWindow::doWeReadMentions() in the history paintEvent,
that calls Auth().checkAutoLock() and may start passcode locking.
Passcode locking starts animation and grabs the window content,
calling history paintEvent() which leads to deadlock.
Now we call Auth().checkAutoLock() asyncronously.
2017-09-03 15:45:48 +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