Commit Graph

136 Commits

Author SHA1 Message Date
John Preston 97fb310f54 Move CalendarBox and ChooseDateTimeBox to td_ui. 2021-01-25 16:50:56 +04:00
John Preston 8c7030378a Add 'Copy Link' and 'Share Link' buttons. 2021-01-25 16:47:41 +04:00
John Preston 754dedc40e Improve permanent link edit design. 2021-01-25 16:47:40 +04:00
John Preston e864aa2ff2 Create audio device module uniformely. 2020-12-30 11:02:18 +04:00
John Preston bcd2560e8f Reuse the code for userpics in Calls::TopBar. 2020-12-25 14:10:08 +04:00
Ilya Fedin cc35653c2c Add changelog2appdata into cmake build 2020-12-10 13:15:26 +04:00
John Preston 33941ad1b9 Start group call bar in HistoryWidget. 2020-12-01 09:45:21 +03:00
John Preston 8d2fa313b7 Add setting for grouping files. 2020-10-30 18:32:19 +03:00
John Preston 64ac6b18bf Move SingleMediaPreview to td_ui. 2020-10-30 18:32:18 +03:00
John Preston 8b96f4c214 Move Media::Clip::Reader and FileLocation to td_ui. 2020-10-30 18:32:18 +03:00
John Preston 05eb549a3d Move App::roundRect to Ui::FillRoundRect. 2020-10-30 18:32:18 +03:00
John Preston 39cf51c066 Move SendButton/EmojiButton to td_ui. 2020-10-30 18:32:18 +03:00
John Preston 0873db58d0 Moved PinnedBar to Ui:: in td_ui. 2020-10-30 18:32:18 +03:00
John Preston ae298818a8 Implement message bar with animations. 2020-10-30 18:32:17 +03:00
Ilya Fedin ce49714533 Use FindALSA instead of pkg-config 2020-10-07 17:10:27 +03:00
John Preston 874e5e0a61 Fix export of discussion messages. 2020-10-01 12:42:35 +03:00
John Preston 719bed6e85 Move some text formatting to tg_ui:ui/text/format_values. 2020-09-30 16:29:17 +03:00
John Preston 8634c1f7f3 Move lang keys to td_lang library. 2020-09-30 12:18:52 +03:00
John Preston def1266216 Rename td-specific libs from lib_ to td_. 2020-09-30 10:51:17 +03:00
Ilya Fedin 70c993774a Get rid of redudant cmake options 2020-09-29 18:24:16 +03:00
John Preston 693d3a922f Use webrtc from a custom-built fork. 2020-08-21 17:52:13 +04:00
John Preston e782e065a0 Use audio device enumeration from lib_webrtc. 2020-08-21 17:52:12 +04:00
Ilya Fedin d97880913c Get rid of TDESKTOP_USE_PACKAGED_TGVOIP 2020-08-15 17:43:28 +04:00
Ilya Fedin 580e6baee6 Get rid of redudant fontconfig hack 2020-08-15 17:43:28 +04:00
Ilya Fedin f56af090e0 Use GAppInfo instead of xdg-mime
This makes registering custom scheme distribution-compatible
2020-08-15 17:43:28 +04:00
Ilya Fedin 786bedf271 Disable Qt's integration mechanism on GTK-based DE to avoid early GTK loading
This also removes TDESKTOP_USE_GTK_FILE_DIALOG since it doesn't forces GTK dialog for anyone and there is no reason to leave it

TDESKTOP_DISABLE_GTK_INTEGRATION can be also tested via action now
2020-08-15 17:43:28 +04:00
John Preston c93d3ae924 Toggle fullscreen by double click. 2020-08-12 20:58:24 +04:00
John Preston 369ec46064 Allow building without WebRTC. 2020-08-11 21:33:15 +04:00
John Preston eda22b925f Fix build on Linux 64 bit. 2020-08-11 18:21:40 +04:00
John Preston bd16708781 Update tgcalls library. 2020-08-11 18:21:40 +04:00
John Preston b692242012 Allow reference tgcalls implementation. 2020-08-11 18:21:40 +04:00
John Preston c1f727bde9 Update tgcalls to use new protocol. 2020-08-11 18:21:40 +04:00
John Preston da3bbba497 Allow enable/disable video in a call. 2020-08-11 18:21:40 +04:00
John Preston a4ee90e8c6 Remove webrtc test code usage on Windows. 2020-08-11 18:21:40 +04:00
John Preston 7fec49a752 Remove webrtc test code usage on macOS. 2020-08-11 18:21:40 +04:00
John Preston 5c55f31972 Use test capture from webrtc on macOS. 2020-08-11 18:21:40 +04:00
John Preston 46550381a4 Fix build on macOS. 2020-08-11 18:21:40 +04:00
John Preston 6c272e38ad Update tgcalls to support codecs negotiation. 2020-08-11 18:21:40 +04:00
John Preston 0a019411ee Use typed signaling messages. 2020-08-11 18:21:40 +04:00
John Preston 815300bffc Fix video between tdesktop instances. 2020-08-11 18:21:40 +04:00
John Preston 12e0399cf4 Add tgcalls library. 2020-08-11 18:21:40 +04:00
John Preston b703f4e555 Fix build on Linux. 2020-08-11 18:21:40 +04:00
John Preston 145ace2fa0 Use external_webrtc in libtgvoip. 2020-08-11 18:21:40 +04:00
Ilya Fedin 252bdd2353 TDESKTOP_DISABLE_DBUS_INTEGRATION -> DESKTOP_APP_DISABLE_DBUS_INTEGRATION 2020-08-11 10:55:50 +04:00
Ilya Fedin aaf71b34b5 Find alsa and pulse for libtgvoip 2020-06-29 16:18:47 +04:00
John Preston 357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
Ilya Fedin 3a91003eea Use gtk clipboard when available to avoid https://bugreports.qt.io/browse/QTBUG-56595 2020-06-17 20:34:47 +04:00
Ilya Fedin e009ac026d Update snap to core20 2020-06-09 19:01:35 +04:00
Ilya Fedin 7f29f57c3d Use custom gtk file dialog only on gtk-based DEs 2020-06-01 18:19:34 +04:00
Ilya Fedin 492dc2568c Add DESKTOP_APP_USE_PACKAGED support for Windows 2020-05-12 17:32:40 +04:00
Ilya Fedin 27f6c8ce62 Move CMAKE_DL_LIBS to libtgvoip cmake file and add missed pthread
Remove unneeded minizip include directory from cmake

Remove unneeded compile definations

Opus is needed only by libtgvoip
2020-05-05 14:31:18 +04:00
Ilya Fedin 3135463017 Add new option to simplify creation of self-contained packages (snap/flatpak/appimage) 2020-05-05 14:31:18 +04:00
Ilya Fedin a7764f84f0 Proper usage of pkg-config 2020-04-21 14:05:22 +04:00
Ilya Fedin eac867ce85 Add possibility to enable autoupdate on non-special target 2020-04-10 15:06:09 +04:00
Ilya Fedin aa4968faaa Re-use fontconfig fallback code in snap 2020-03-29 14:14:56 +04:00
Ilya Fedin 32169fa7bd Remove separate switch for GTK integration and fix condition for GTK file dialog
Since it is used only for GTK file dialog and to get it by default on any static builds
2020-03-10 11:45:47 +04:00
Ilya Fedin 5927e8272c Convert TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION to runtime environment variable 2020-03-09 11:02:45 +04:00
Ilya Fedin bbc516cf43 Move TDESKTOP_DISABLE_DBUS_INTEGRATION to cmake_helpers 2020-02-21 18:08:55 +04:00
Ilya Fedin 3b4dfa1381 Use LXQt's StatusNotifierItem implementation instead of appindicator 2020-02-05 18:38:34 +04:00
John Preston 71d4563b9d Use 'telegramdesktop' as a default desktop file base name. 2020-01-22 11:55:27 +03:00
Ilya Fedin 98bfd7370d Make TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME and TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION respect DESKTOP_APP_USE_PACKAGED 2020-01-22 10:06:56 +03:00
Ilya Fedin 0480611bf8 Add possibility to build without dbus 2020-01-21 23:30:47 +03:00
John Preston 48b24d12b2 Always ask for TDESKTOP_LAUNCHER_BASENAME on Linux. 2020-01-21 18:47:36 +03:00
John Preston 23f6044081 Remove GYP build scripts. 2020-01-21 18:47:25 +03:00
John Preston c1003e39d1 Fix build with new libtgvoip. 2020-01-21 18:46:49 +03:00
Ilya Fedin c13d637502 Fix spaces on end of lines 2020-01-21 11:58:57 +03:00
Ilya Fedin 6fdd1389e6 Make packaged build working 2020-01-17 13:34:27 +03:00
Vitaly Zaitsev a52dfe7998 Fixed TDESKTOP_LAUNCHER_FILENAME option.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-01-17 12:52:31 +03:00
Leo f2c8167124 lib_tgvoip.cmake: Match against x86 arches.
This avoids matching against other 32bit arches like armv7/armhf that
doesn't have msse2 but are 32bit and need other 32bit-specific flags to
allow for compilation like -g0.
2020-01-17 10:42:50 +03:00
John Preston da7178089f Version 1.9.3: Fix build for OS X 10.10-10.11. 2019-12-31 17:52:15 +03:00
John Preston 1ee7801c0b Force GTK file dialog in official builds. 2019-12-30 14:20:12 +03:00
John Preston 431b7445c3 Allow editing sensitive content filtering. 2019-12-09 15:59:08 +03:00
John Preston 998b36f014 Use installed opus on non-Windows. 2019-12-09 09:36:37 +03:00
John Preston f1877641e5 Closed alpha version 1.9.1.8: Fix macOS build. 2019-12-06 14:22:46 +03:00
John Preston 9310728a11 Fix build on Windows. 2019-12-06 11:39:13 +03:00
John Preston 619dbe9b11 Initial Linux build. 2019-12-04 11:22:11 +03:00
John Preston 2f2d698545 Use absolute paths instead of target_link_directories. 2019-11-29 13:56:07 +03:00
John Preston d932271c60 Use BYPRODUCTS instead of OUTPUT for codegen. 2019-11-28 11:43:00 +03:00
John Preston 5bfb98b70d Initial build with Xcode. 2019-11-25 18:46:02 +03:00
John Preston 8f17fe98e0 Fix using undefined variables. 2019-11-22 21:03:57 +03:00
John Preston 11b02b4f88 Use namespaced library aliases. 2019-11-21 17:43:20 +03:00
John Preston 9e5262008f Add more options. 2019-11-21 14:56:17 +03:00
John Preston e5bd187d4d Use precompiled header from cmake 3.16. 2019-11-18 00:29:03 +03:00
John Preston 61723bd794 Initial Windows Debug build with cmake. 2019-11-11 13:39:48 +03:00
John Preston 85060cd655 Compile all code with cmake. 2019-11-09 19:06:00 +03:00
John Preston a18baaae2c Add all code generation targets. 2019-11-08 14:08:40 +03:00