Commit Graph

316 Commits

Author SHA1 Message Date
Andrea Cavalli 98244d1346 Merge remote-tracking branch 'td/master' 2021-10-20 02:21:14 +02:00
levlam db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam 9b7957c9c6 Minor warning fixes. 2021-10-17 13:07:20 +03:00
Andrea Cavalli 982b994332 Merge remote-tracking branch 'td/master' 2021-10-16 18:25:57 +02:00
levlam 328c5b57d2 Add Global::request_aborted_error. 2021-10-07 16:36:21 +03:00
Andrea Cavalli 616a40b3b2 Merge remote-tracking branch 'td/master' 2021-09-29 00:33:23 +02:00
levlam cdb06da112 Add "; pass null" annotations for expected to be null request parameters. 2021-09-28 17:31:00 +03:00
Andrea Cavalli 45e855f89d Remove most memory related features
I can't maintain anymore this amount of features while keeping the library constantly updated and without bugs. Every merge was taking me multiple hours of revisioning the code. I give up.
From this commit onwards TDLight will only have small useful customizations that are easy to maintain.
Now the people relying on the OptimizeMemory method can restart the session every N hours to free up the memory.
The real way to keep a low memory usage must involve a huge refactoring to allow the unloading of the caches into the sqlite database, similar to what's already happening with messages data. Only Levlam has the ability to implement this without needing to merge the upstream everytime.
2021-09-25 22:11:42 +02:00
Andrea Cavalli 897d4af16c Merge remote-tracking branch 'td/master' 2021-09-25 19:24:57 +02:00
levlam 2ec2e4d78f Use "set"/"toogle" instead of "change". 2021-09-24 10:42:39 +03:00
Andrea Cavalli a20e8b6db3 Merge remote-tracking branch 'td/master' 2021-09-04 16:03:33 +02:00
levlam 2b980ec215 Remove default source from have_dialog_force. 2021-09-01 19:41:00 +03:00
levlam 1e663dea46 Add group_call.is_video_recorded. 2021-08-24 17:49:08 +03:00
levlam b56119951b Support video streaming in group calls. 2021-08-23 16:59:00 +03:00
levlam 2045c131a9 Support video recording in group calls. 2021-08-23 15:29:03 +03:00
levlam 84be6f4485 Update layer to 132. 2021-08-12 21:15:08 +03:00
Andrea Cavalli d341c79aa8 Merge remote-tracking branch 'td/master' 2021-08-03 19:56:27 +02:00
levlam 0dc42e4410 Add source to get_message_sender_object. 2021-08-03 01:58:02 +03:00
Andrea Cavalli 41d58ad66d Fix compilation issues 2021-07-17 11:49:47 +02:00
Andrea Cavalli 3dde04b17f Merge remote-tracking branch 'td/master' 2021-07-17 11:15:40 +02:00
levlam fa792176cd Use local unmuted video count if possible. 2021-07-13 03:14:48 +03:00
levlam 5b3ddfcfc1 Use add_group_call_participants if possible. 2021-07-12 21:17:37 +03:00
levlam b83b3a45cb Send updates when groupCall.can_enable_video changes. 2021-07-12 20:21:34 +03:00
levlam 3e351a0946 Use getGroupCall to sync participants. 2021-07-09 18:36:35 +03:00
levlam 04435b8d53 Update layer 131. 2021-07-09 02:55:23 +03:00
levlam 1464e85a5b Move can_enable_video to groupCall. 2021-07-08 19:59:16 +03:00
levlam ff153bef36 Update layer 131. Add screen_sharing_audio_source_id. 2021-07-06 02:33:42 +03:00
levlam 40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
Andrea Cavalli c41ec7df43 Merge remote-tracking branch 'td/master' 2021-06-30 13:31:50 +02:00
levlam ebbc929efb Fix video pausing. 2021-06-22 19:39:21 +03:00
levlam d0f0e8dbcf Fix presenation pausing. 2021-06-22 18:38:04 +03:00
levlam 9940dd74db Remove botInfo class from API. 2021-06-21 04:14:29 +03:00
levlam 843df9e1f7 Remove unneeded td_api::getGroupCallMediaChannelDescriptions. 2021-06-17 21:37:39 +03:00
levlam 090056f21d Allow to set empty group call title. 2021-06-15 20:56:59 +03:00
levlam c30ccd1e0d Support removing Fill backgrounds from default list. 2021-06-08 01:10:19 +03:00
levlam 554d1e3677 Apply self-leaving from group call through on_group_call_left_impl after other updates. 2021-06-07 16:56:56 +03:00
levlam 06409d68f5 Update order of group call participants after min_order is decreased. 2021-06-06 03:22:43 +03:00
levlam 63fd974e35 Add setGroupCallScreenSharingIsPaused. 2021-06-02 00:38:08 +03:00
levlam b074bce314 Add is_my_video_paused. 2021-06-01 20:11:18 +03:00
levlam 2af179b81a Update layer 129. 2021-06-01 18:52:58 +03:00
levlam 9cecc116f3 Prefer US spelling of "canceled". 2021-05-31 21:51:48 +03:00
levlam 410e35231f Remove old_min_order variable. 2021-05-28 03:35:17 +03:00
levlam be45c178bb Simplify condition when group call participant order is updated. 2021-05-28 03:30:08 +03:00
levlam fdc9459d10 Expect get_real_participant_order to return value different from stored participant.order. 2021-05-28 03:04:40 +03:00
Andrea Cavalli 2c77e82300 Merge remote-tracking branch 'td/master' into dev 2021-05-27 00:50:41 +02:00
levlam d03bad88b4 Improve log messages. 2021-05-17 19:11:59 +03:00
levlam a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam ec362f9e2b Add more logging on failed CHECK. 2021-05-09 01:00:02 +03:00
levlam 7dbee21918 Fix sending of updateGroupCallParticipant in some rare cases. 2021-05-07 02:10:37 +03:00