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
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
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
c76389e126
Allow to use base::lambda independently.
2017-09-03 15:45:49 +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
John Preston
5faca8d4f6
Add Catch unittest framework and some tests.
2017-09-03 15:45:45 +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
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
bca444b92e
Add base::optional as a wrapper of base::variant.
2017-08-30 19:15:21 +03:00
John Preston
ae1dacb7d7
Add base/algorithm for range-based algorithms.
2017-08-30 19:15:21 +03:00
John Preston
e209737b1a
Display and follow unread mentions in history.
2017-08-30 19:15:13 +03:00
John Preston
c8810f87b9
Move a lot of code from scheme.h to scheme.cpp.
2017-08-25 14:39:32 +03:00
Nicholas Guriev
24fc162e71
Mute settings box
...
Closes : #3153
Signed-off-by: Nicholas Guriev <guriev-ns@ya.ru> (github: mymedia2)
2017-08-04 18:16:54 +02:00
John Preston
6f746c238a
Search for messages from a specific user in group.
2017-08-01 21:38:01 +03:00
John Preston
8c60ac78aa
Rename and split dialogswidget module.
...
Also remove some debug information for crash fix.
2017-08-01 21:15:03 +03:00
John Preston
9bf40c927e
Improve emoji suggestions and replace on send.
...
Bring recent emoji up in suggestions.
Apply saved skin color to emoji suggestions.
Write to recents when choosing emoji suggestion.
2017-07-26 15:55:04 +03:00
John Preston
df2aeb0c58
Provide emoji suggestions as a service.
2017-07-26 15:55:03 +03:00
John Preston
8f8100af3a
Add emoji autocomplete data and algorithm.
2017-07-26 15:55:01 +03:00
John Preston
9e73e22e13
Add channel members in ParticipantsBoxController.
...
Also remove MembersBox, it was replaced completely.
2017-07-14 09:46:57 +03:00
Viktor Oreshkin
94e43f8f8a
Fix openssl ldflags on macOS
...
If ld finds ssl/crypto dylibs it prefers them to static archived objects
And because of that produced .app links dynamically to openssl, so it
won't launch unless users install openssl.
There are two solutions: either uninstall openssl completely from build
machine on each build, or use paths to .a files.
Obviously latter is preferred.
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2017-07-12 14:06:40 +03:00
John Preston
0ae661edf0
Add channel / supergroup admin event log filter.
2017-07-04 16:31:18 +03:00
John Preston
4993ff1921
Finalize rename / move.
2017-06-30 09:21:45 +03:00
John Preston
cedf8a65e7
Better channel log entry layout inside messages.
...
Also move HistoryService class to a separate module.
2017-06-30 09:21:42 +03:00
John Preston
fee8690ca6
Channel action log items display and layout.
2017-06-30 09:21:41 +03:00
John Preston
25a718c54b
Start recent channel actions log section.
2017-06-30 09:21:41 +03:00
John Preston
9e8e49b8d9
Add other search to admin/ban/restrict in channel.
...
Search in chats / contacts / global in AddParticipantBoxController.
Also move all channel participants box controllers to another module.
2017-06-29 11:40:21 +03:00
John Preston
513a9f8d45
Add rich supergroup/channel admin support.
2017-06-29 11:40:10 +03:00
John Preston
8ae159dd66
Add special dc options config request.
2017-06-29 11:40:07 +03:00
John Preston
85e6f55536
Support new plural keys format.
...
All the old plural phrases were changed to work with the new format.
2017-06-29 11:39:56 +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
f5dfeb0c50
Support cloud languages list and switching.
...
Add Lang::Current().updated() observable for retranslating the UI.
2017-06-29 11:39:43 +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
Zankio
60c84bbf51
Add hime inputcontext plugin for linux version
...
(#3129 )
Signed-off-by: Zankio <xxoojoeooxx1@gmail.com>
(github: zankio)
2017-06-29 10:49:31 +03:00
Eduardo Sánchez Muñoz
2eff766e88
Always use UTF-8 to open files in list_sources.py.
...
This avoids problems with some locale settings.
Signed-off-by: Eduardo Sánchez Muñoz <eduardosanchezmunoz@gmail.com> (github: eduardosm)
2017-06-28 19:19:44 +03:00
John Preston
b7550f63c9
Add a floating player for round video messages.
2017-05-24 16:25:15 +03:00
John Preston
b86da76613
Move project files tdesktop to tdesktop/Telegram.
...
After adding the libtgvoip submodule its project was created by GYP
outside the project folder, because the relative path to libtgvoip.gyp
is "../ThirdParty/libtgvoip/" and projects are created in the same
relative folders.
Now we place MSVC and Xcode projects in tdesktop/Telegram, so the
libtgvoip project is created at tdesktop/ThirdParty/libtgvoip.
2017-05-18 12:04:39 +03:00
John Preston
c438692d49
Fix Travis build.
2017-05-10 15:05:19 +03:00
John Preston
771bba4e01
Closed beta 1000035002: Sounds in separate qrc.
2017-05-09 23:46:36 +03:00
John Preston
6f89d01452
Add new Media::Audio::Instance for audio tracks.
...
Move some audio-related code from Media::Player to Media::Audio.
2017-05-09 23:46:29 +03:00
John Preston
11525a1e50
Add RateCallBox for calls feedback collection.
2017-05-09 23:46:28 +03:00
John Preston
06b081f509
Add calls log box.
...
PeerListBox can have many rows with the same PeerData.
PeerListBox::Row can have arbitrary action on the right side.
2017-05-09 23:46:18 +03:00
John Preston
f6eb2c5205
Add call top bar above the media player.
2017-05-09 23:46:18 +03:00
John Preston
60ac7572af
Display name, status and emoji in Call Panel.
2017-05-09 23:46:17 +03:00
John Preston
4925af69e2
Add Calls::Panel and handle incoming calls.
2017-05-09 23:46:15 +03:00