Илья Федин
6e02999eb8
Run clang-format
2020-09-13 18:00:15 +03:00
Илья Федин
8bbc635728
Remove dead code remaining from gtk removal
2020-09-13 18:00:15 +03:00
Berkus Decker
8e50d9637f
Convert manually what couldn't be converted automatically
2018-11-01 00:12:21 +02:00
Berkus Decker
8fcbf45bba
Convert license headers automatically
2018-11-01 00:12:21 +02:00
Stanislav Ershov
e2e9b8aefc
Fix compilation errors in conformance mode
2018-10-20 20:27:10 +03:00
leha-bot
0a1a0162e4
Fix Windows build
...
There was a regression after PCH cleanup with headers order in
/file_utilities_win.cpp. Seems that the CI and local MSVS used some kind
of cache.
2018-09-22 01:03:29 +03:00
Evgenii Zheltonozhskii
38efa1bf4b
Replace base::lambda with shorter term.
...
Partially backport dd81f5d59f
2018-07-27 14:24:31 +00:00
Evgenii Zheltonozhskii
b6df430aa8
Get rid of OrderedSet
2018-06-20 15:40:52 +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
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
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
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
40f8f0939a
[Refactoring] change qt math function to cmath analog
2018-02-28 22:12:25 +02: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
6b6a0475ab
Fix compilation on Windows
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
be8570e8c2
Suppress new macOS deprecation warnings
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
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
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
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
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
df64c972d8
Replace QFlags with base::flags.
2017-09-03 15:45:47 +03:00
John Preston
25ffaaaa2d
Replace t_assert() with Assert().
...
Also use this assertions for Expects(), Ensures() and Unexpected().
2017-08-30 19:15:42 +03:00
John Preston
b3da99c302
Replace gsl::not_null<T*> with just not_null<T*>.
2017-08-30 19:15:41 +03:00
John Preston
8e433971c9
Improve current executable path computing.
...
Fixes #960 (hopefully).
2017-08-30 19:15:35 +03:00
John Preston
a72453fb1b
Remove ContactsBox and contacts_box module.
2017-08-30 19:15:30 +03:00
John Preston
f7359093b4
Replace ContactsBox with PeerListBox in two cases.
...
- View contacts list in PeerListBox.
- Add participants when creating group / channel in PeerListBox.
2017-08-30 19:15:27 +03:00
John Preston
17cef93ac0
Use gsl::finally() instead of base::scope_guard().
2017-08-30 19:15:26 +03:00
John Preston
b08732cf28
Move MediaView from MainWindow to Messenger.
2017-08-25 14:39:27 +03:00
John Preston
ab35829358
Remove App::app(), App::uploader(), App::api().
...
Also use Auth() instead of AuthSession::Current*().
2017-08-25 14:39:18 +03:00
John Preston
a143505fd6
Remove lambda_slot() and lambda_slot_once().
2017-08-25 14:39:15 +03:00
John Preston
ca47e4ebfd
Alpha 1.1.13: Fix build for Xcode.
2017-07-14 15:52:53 +03:00
John Preston
f316e3bd17
Add debug logs for window position and autoupdate.
2017-07-03 15:23:41 +03:00
John Preston
4993ff1921
Finalize rename / move.
2017-06-30 09:21:45 +03:00
John Preston
e39b95175b
Handle channel event log mouse events.
2017-06-30 09:21:42 +03:00
John Preston
7dd50fa931
Closed beta 1001007001: Fix build in Xcode.
2017-06-29 11:40:01 +03:00
John Preston
f5353080e7
Use Qt UI language if system was not determined.
...
Also rename platform/mac/specific_mac.cpp to .mm
2017-06-29 11:39:47 +03:00
John Preston
139d4e72b5
Start cloud langpack support.
...
Change the way langpacks are stored.
Support custom langpacks in the new storage.
2017-06-29 11:39:42 +03:00
John Preston
2334ba1fe1
Use QString + Lang::Tag() instead of Lang::String.
2017-06-29 11:39:40 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
983c2c0869
Support non-standard binary names in autoupdater.
...
On Linux and Windows support non-standard application binary name.
2017-05-30 21:26:53 +03:00
John Preston
57f0158ade
Disable quiet hours check in Windows before 10.
...
We had several reports about wrong values in registry on Windows 8.1,
like the quiet hours are enabled and all notifications are skipped,
without anything like that being enabled in Windows settings.
2017-05-26 17:40:46 +03:00
John Preston
1e6d4d6b41
Activate mediaview instead of main window.
...
If the mediaview is currently shown and we receive an activation
event for the main window we should activate and focus mediaview.
2017-05-24 16:25:08 +03:00
John Preston
b74dea8662
Move logo images to Messenger. Set call panel icon.
2017-05-12 18:28:44 +03:00