Commit Graph

9287 Commits

Author SHA1 Message Date
23rd 449f2d2f94 Migrated dependencies in Github CI for macOS. 2021-09-17 13:12:07 +03:00
John Preston 038f19d055 Beta version 3.0.5: Fix build on Linux. 2021-09-17 11:45:05 +03:00
John Preston 10d405aef4 Beta version 3.0.5: Add in-app changelog. 2021-09-17 10:57:42 +03:00
John Preston efd4cceb19 Beta version 3.0.5.
- Add support for Emoji 13.1.
2021-09-17 10:56:16 +03:00
John Preston cca08e3946 Fix crash in emoji interactions. 2021-09-17 10:25:36 +03:00
John Preston 06798adce4 Accept skin colors and heart colors. 2021-09-17 10:25:36 +03:00
John Preston 34c0d97c54 Show emoji interaction seen status. 2021-09-17 10:25:36 +03:00
John Preston 4b7f594b0e Send emoji interaction seen requests. 2021-09-17 10:25:36 +03:00
John Preston cfb43081c7 Play incoming interactions. 2021-09-17 10:25:36 +03:00
John Preston 703ea9aacd Apply scale keeping window center in place. 2021-09-17 10:25:36 +03:00
John Preston de9b21e436 Correctly render interactions on inbox messages. 2021-09-17 10:25:36 +03:00
John Preston 73c0ea4b7d Don't mark as read when forwarding to scheduled. 2021-09-17 10:25:36 +03:00
John Preston 3e681e5449 Always force window frame inside screen geometry.
I hope this fixes #16934.
2021-09-17 10:25:36 +03:00
John Preston bc2f96251f Limit amount of playing interactions. 2021-09-17 10:25:36 +03:00
John Preston 15f83892a1 Start emoji interactions playback. 2021-09-17 10:25:36 +03:00
John Preston b6fafdd8f7 Limit emoji size to half of sticker size. 2021-09-17 10:25:36 +03:00
John Preston 139b9723d7 Accumulate and send emoji interactions. 2021-09-17 10:25:36 +03:00
John Preston d152782115 Load and reload interaction stickers. 2021-09-17 10:25:36 +03:00
John Preston 35356a1736 Update API scheme. 2021-09-17 10:25:35 +03:00
Gleb Smirnoff 59f2f750b4 On FreeBSD the system malloc is jemalloc and non-portable
extensions are enabled including malloc_np.h.
2021-09-15 23:24:39 +03:00
John Preston 8069fdd873 Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:42:22 +03:00
John Preston 52721847f4 Fix outgoing voice message unread mark. 2021-09-15 13:42:22 +03:00
John Preston e492bbb883 Fix delayed pattern-with-negative-intensity appearance. 2021-09-14 16:36:30 +03:00
John Preston 7f20cc7b44 Update emoji to 13.1. 2021-09-14 15:14:25 +03:00
John Preston 7fbce765c9 Apply uniform-color palette to webpage preview titles. 2021-09-14 15:14:12 +03:00
John Preston f771ad8cb1 Beta version 3.0.4: Fix build for Windows. 2021-09-13 20:13:15 +03:00
John Preston 6a53fc7edc Beta version 3.0.4: Add some theme loading logging. 2021-09-13 20:09:55 +03:00
John Preston 889c3293e7 Fix PathShiftGradient colors with custom palettes. 2021-09-13 20:09:23 +03:00
23rd fa4b7145f5 Added extra space to choosing sticker animation in left position. 2021-09-13 18:13:50 +03:00
23rd a5be9d78d8 Fixed animation for grouped userpics in who read context menu item. 2021-09-13 18:13:50 +03:00
John Preston 626c062bf0 Beta version 3.0.4.
- Fix a crash when joining video chat or live broadcast.
- Add a "Close to Taskbar" option when tray icon is disabled
(Windows and Linux).
2021-09-13 18:01:39 +03:00
Ilya Fedin e92ae40ecb Implement close to taskbar option 2021-09-13 17:46:53 +03:00
John Preston ce256161f1 Couple of crash fixes. 2021-09-13 17:39:17 +03:00
John Preston e99f650eaa Change default autoupdate URL. 2021-09-13 16:33:31 +03:00
John Preston c6097d3d11 Accept "livestream" and "videochat" link params. 2021-09-13 16:19:59 +03:00
John Preston f73264025d Fix a crash after joining broadcasts. 2021-09-13 14:21:01 +03:00
John Preston bc2e6c4fd1 Accept uppercase hex values in theme testing links. 2021-09-12 23:18:37 +03:00
John Preston d822f8e9ff Improve colorizing more. 2021-09-12 23:16:23 +03:00
John Preston 86362875dd Beta version 3.0.3.
- Try fixing crashes in allocator on Linux.
2021-09-12 01:53:04 +03:00
John Preston 0a4a96d4cd Fix action build on Linux. 2021-09-12 01:39:28 +03:00
Ilya Fedin 3fbd68cff9 Don't link glib with DESKTOP_APP_DISABLE_DBUS_INTEGRATION 2021-09-12 00:12:13 +03:00
John Preston 9150cc77f9 Improve colorizing of custom themes. 2021-09-11 12:26:35 +03:00
John Preston 8d31769846 Fix build with Xcode. 2021-09-11 00:02:15 +03:00
John Preston 13c00949ed Add a simple way of testing color themes. 2021-09-10 22:29:30 +03:00
John Preston 453954f901 Fix forward options for text messages. 2021-09-10 14:33:18 +03:00
John Preston b1d52e088e Beta version 3.0.2.
- Check who've seen your message in small groups from the context menu.
- Enable recording with video in live streams and video chats.
2021-09-10 13:42:53 +03:00
Gleb Smirnoff 720f238cf8 Close a race between Gio threads and Qt application init.
QApplication has a historical feature[1] of calling setlocale(3) at init,
which today cause more harm than good.  Such call isn't thread safe neither
per C standard, not per any known libc implementation.  The Gio threads
would call into locale reading functions all the time, so early access to
locale by Gio may race with setlocale() by Qt leading to undefined behavior.

Platform specific start before the Sandbox (aka QApplication) is at core
design of tdesktop and that order can't be changed. There is no way to pause
Gio until QApplication instantiates.

Fortunately, Qt library itself has a static global flag that prevents it
from calling setlocale() twice. We don't even need to instantiate a
temporary QCoreApplication, we can just call into the method.  So call
it form Platform::start before any existing or future calls to Gio.

Fixes #16922

[1] https://chat.stackoverflow.com/rooms/63812/discussion-between-phil-armstrong-and-matteo-italia
2021-09-10 13:18:20 +03:00
John Preston 05b35bb803 Update API scheme. 2021-09-10 12:58:52 +03:00
John Preston faa5619f1e Remove check used only for 32 bit ids. 2021-09-10 10:23:00 +03:00
John Preston 28be89f7c3 Correctly apply photos from "min" users. 2021-09-09 16:59:36 +03:00