John Preston
c242a61e8c
Fix money input field limit without decimal separator.
2021-04-19 11:26:04 +04:00
John Preston
286cb74620
Make WebLoadManager live on the main thread only.
2021-04-19 11:26:04 +04:00
Loïc Molinari
336405b3c7
Fix voice record button infinite animation
...
Enabling animations triggers an animation of the voice record button
that keeps firing uselessly at ~120 calls per second until the button
is manually toggled. The animation callback cannot stop itself since
it expects the button to be visible.
This commit fixes the issue by preventing spawning the animation if
the widget is hidden.
2021-04-15 16:22:29 +03:00
Ilya Fedin
2eda5bb2d8
Add webkit dependency to snap
2021-04-15 16:20:59 +03:00
Loïc Molinari
06618a5253
Use fine grained session timers
...
The check of sent requests and containers is done unconditionally
every second even though the request timeout is 10 seconds and the
container timeout is 600 seconds. This commit uses fine grained timers
instead in order to avoid useless system wake-up events.
The check of sent requests is now scheduled on demand when a new
request is queued. Then the callback, while parsing queued requests,
computes the delta to the closest expiring request and automatically
schedules the next check if necessary.
Given the high value of the container timeout, its callback is called
repeatedly every 600 seconds, unless it computes a lower delta for an
expiring container using the same logic as for the requests.
2021-04-15 16:20:42 +03:00
aburmagin
de70df0b6b
added CLion-generated files to .gitignore
2021-04-14 08:50:32 +03:00
John Preston
cf6dbfaf55
Fix a crash in case of corrupt local data.
2021-04-14 09:45:51 +04:00
John Preston
6cbee72b8a
Closed alpha version 2.7.1.3.
2021-04-13 19:47:28 +04:00
John Preston
0a0803de6f
Fix couple of crashes.
2021-04-13 19:46:42 +04:00
John Preston
bee6a1dc06
Second click on Tips button resets tips to $0.
2021-04-13 19:04:27 +04:00
John Preston
155fcb6dde
Fix build on Linux with different options.
2021-04-13 19:02:30 +04:00
John Preston
3e5e0cb9df
Fix crash on right click in ConfirmBox with link.
2021-04-13 19:02:17 +04:00
John Preston
be74a391ba
Show floor()-ed days count till voice chat start.
2021-04-13 18:27:38 +04:00
John Preston
d71b6effd6
Return request for code resend on auth.
2021-04-13 17:54:12 +04:00
John Preston
5ff70315cb
Fix crash in GTK + Qt initialization.
2021-04-13 17:30:28 +04:00
John Preston
04c0d79ccc
Add payment button icon to the corner.
2021-04-13 17:21:24 +04:00
John Preston
34c5ce16d0
Fix contract violation in shutdown with webview.
2021-04-13 16:52:40 +04:00
John Preston
e52f947f98
Improve webview progress style.
2021-04-13 16:38:38 +04:00
John Preston
40e46e8480
Hide webview progress instantly.
2021-04-13 15:37:25 +04:00
Ilya Fedin
c87802ce65
Move GTK initialization before Qt initialization
...
To ensure Qt doesn't load GTK earlier than us and gdk_set_allowed_backends respected
2021-04-13 14:03:00 +03:00
John Preston
73c63cb2c7
Hide payments webview progress when destroying.
2021-04-13 14:05:31 +04:00
John Preston
0ead0879d7
Support blocking progress in payment panel.
2021-04-12 19:24:36 +04:00
John Preston
52b5c4cbe0
Fix animated stickers with BOM.
...
Regression was introduced in 98afc99a8f
(RapidJSON update in rlottie).
2021-04-12 17:48:16 +04:00
John Preston
a9422111a2
Fix crash in leaving Recent Actions with GIFs.
2021-04-12 17:46:46 +04:00
John Preston
e5ac7a1416
Fix creating a scheduled voice chat.
2021-04-12 15:36:19 +04:00
Alexander Bushnev
99501d844d
Remember that media view was switched to PIP and open it as PIP again.
...
Very useful, especially on large monitors.
Since the permanent opening of the video in full screen interferes and hide other applications.
This functionality allows remembering (in the current session) that the window has been switched to a PIP mode and will open a new video directly in the PIP mode.
2021-04-12 12:03:48 +03:00
Loïc Molinari
46ee5598f5
Remove dangling timer in MTP Session
...
Commit bdc7f4114f
got rid of
_timeouter's callback without removing the timer that still fires
every second.
2021-04-12 12:03:15 +03:00
John Preston
aa843ee978
Update lib_ui.
2021-04-12 13:02:53 +04:00
Ilya Fedin
ad0c93cbb1
Take shadow into account when saving/restoring window geometry
2021-04-12 11:55:30 +03:00
John Preston
35ff621b5b
Show toast on successfull payment.
2021-04-12 12:50:31 +04:00
John Preston
a2d2c8a208
Update tgcalls library.
2021-04-12 12:50:14 +04:00
John Preston
0e1a445614
Fix serializing peers.
2021-04-12 10:48:17 +04:00
John Preston
13d0d15a50
Closed alpha version 2.7.1.2.
2021-04-12 10:48:17 +04:00
John Preston
16f1875fdc
Fix crash in reading StorageFileLocation.
2021-04-12 10:48:17 +04:00
John Preston
4625e7613b
Use data_peer_id in export.
2021-04-12 10:48:17 +04:00
John Preston
a100048cce
Fix build on macOS and Linux.
2021-04-12 10:48:17 +04:00
John Preston
188070d03f
Closed alpha version 2.7.1.1.
2021-04-12 10:48:17 +04:00
23rd
23996d14d3
Fixed display of chat buttons on main touchbar after audio touchbar.
...
Fixed #10361 .
2021-04-12 10:48:17 +04:00
23rd
07c65dfd74
Fixed song covers for voice chat records.
2021-04-12 10:48:17 +04:00
23rd
61741b53c3
Fixed display of rescheduling selected messages in other sections.
2021-04-12 10:48:16 +04:00
John Preston
ae74c8a6b8
Show voice chat start time in service message.
2021-04-12 10:48:16 +04:00
John Preston
4ecd1049b2
Allow scheduling voice chats for up to 7 days.
2021-04-12 10:48:16 +04:00
John Preston
71c4cc9623
Pass theme params to payments.GetPaymentForm.
2021-04-12 10:48:16 +04:00
John Preston
d41bd1483e
Queue skipped self updates in voice chats.
2021-04-12 10:48:16 +04:00
John Preston
0e47c6b415
Show 'Late by' state and glow in ForceMuted state.
2021-04-12 10:48:16 +04:00
John Preston
4d91ab7079
Update lottie icons in voice chats.
2021-04-12 10:48:16 +04:00
John Preston
dc2192d5ca
Invoke click handler from a closed ConfirmBox.
...
Fixes #10597 .
2021-04-09 15:05:00 +04:00
John Preston
1342077dcb
Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId.
2021-04-09 15:05:00 +04:00
John Preston
61d0cc38b0
Add native card input support through smartglocal.
2021-04-08 12:49:28 +04:00
John Preston
79f7aa703a
Allow clearing saved payments information.
2021-04-07 15:43:32 +04:00