Commit Graph

4625 Commits

Author SHA1 Message Date
Arseny Smirnov
45bfb1b384 TdDb: create sqlite db during SqliteDb::change_key
GitOrigin-RevId: bc0bff23a50f17d9111edac6ba4194fbdffaa1b4
2020-08-14 17:11:58 +03:00
Arseny Smirnov
11e09c5699 Sqlcipher: use compatibility mode instead of migration
GitOrigin-RevId: 91fe86328e7fcd2e03e298482ad2ffac2b48767f
2020-08-14 13:44:16 +03:00
levlam
e43f419a6f Patch SQLite ftruncate call only on Android.
GitOrigin-RevId: 930b58281ba5eab7d4f560e56b129d8b043fa455
2020-08-13 22:40:49 +03:00
levlam
9592aac404 Minor improvements.
GitOrigin-RevId: 09fbcc25ade8d77c13dc580f13b206c07ba53f9f
2020-08-13 16:57:28 +03:00
Arseny Smirnov
3b18309e80 FileManager: attempt to close ForceUpoadActor
GitOrigin-RevId: 5c53784b7b49c41347477c2f7808cc2845d12463
2020-08-13 20:04:06 +03:00
Arseny Smirnov
cecea2ba08 Add debug for 'PRAGMA cipher_migrate'
GitOrigin-RevId: 69c9a979ccf27f77d106e6ce7712c6e4a939722c
2020-08-13 19:21:15 +03:00
Arseny Smirnov
d4f0162ee9 Sqlite: fix DB corruption on some Samsung devices
GitOrigin-RevId: bc3e631f6873c0a4a53b8aea2159727fa0d1e956
2020-08-12 22:54:34 +03:00
Arseny Smirnov
0ef5577209 Sqlite: repeat fixes from previous commits
GitOrigin-RevId: 1dce19984342f573aaf106180f3e72a399114b26
2020-08-12 22:49:17 +03:00
Arseny Smirnov
b9de1b94d2 Sqlcipher: automatic migrate
GitOrigin-RevId: 209360f2b40a0d05ec53bb55890518e50c05f34a
2020-08-12 22:36:46 +03:00
Arseny Smirnov
c66a72fe90 Sqlcipher: update version to 4.4.0 (without fixes)
GitOrigin-RevId: ad3039010f1fd047d500df9fd9e388165c38a4ba
2020-08-12 21:09:31 +03:00
Arseny Smirnov
10c619053e Add test for sqlite chipher compatibility
GitOrigin-RevId: 7b458dd4208166391071bc64dcb9204ff2da1df7
2020-08-12 18:36:26 +03:00
Arseny Smirnov
0e4e1268ac Session: more aggressive debug for mtproto rpc errors
GitOrigin-RevId: efe1b894349d6542c4483a1f72c555bd29ddebd6
2020-08-12 16:56:06 +03:00
Arseny Smirnov
2add7947b7 ConfigRecoverer::Session: bugfix of closing
GitOrigin-RevId: 35493c586011974f81b2a4ef84cd2b1c4d1581a5
2020-08-12 11:34:12 +03:00
Arseny Smirnov
1d56a371cd ConfigManager: minor refactoring for hangup_shared
GitOrigin-RevId: 56af208cbe2e32120fa286b9e19fce58beaf8c9b
2020-08-11 16:31:50 +03:00
levlam
6a30258d39 Add reply_markup to copy options.
GitOrigin-RevId: 94c83ee8fba2a13acde5114f1efee9fb2c6080da
2020-08-11 11:52:38 +03:00
levlam
8fb53c6ec2 Allow to replace caption when message is copied.
GitOrigin-RevId: 6e190830d66916de2deb0b371185b7db6ea42b00
2020-08-11 10:35:19 +03:00
levlam
c780fc2812 Improve MEMPROF size tracking.
GitOrigin-RevId: 3f7a82afbc464edb0dc3ad7b27bdd7e4e1de25cc
2020-08-11 07:54:39 +03:00
levlam
b6c915c2f8 Fix BufferSlice self-move.
GitOrigin-RevId: 904ea326cc860dd92c49d319fc5fabde22a35223
2020-08-11 07:23:25 +03:00
levlam
14014e3f3d Do nothing for 0 BufferSlice size change.
GitOrigin-RevId: 2a57325e4f8b7be83db671f561bce9a98de92622
2020-08-11 05:52:56 +03:00
Arseny Smirnov
4d19016970 HttpConnection: safe migrate between schedulers
GitOrigin-RevId: 2bcc79fc100613a86a8048a2c35e4791903ccb11
2020-08-10 17:10:16 +03:00
levlam
301d0577ba Add td_api::sendCallSignalingData.
GitOrigin-RevId: d14899cd97fb46d472bcb48fd4b51f568e995608
2020-08-10 11:34:28 +03:00
levlam
cdf6acac32 Add updateNewCallSignalingData.
GitOrigin-RevId: ce458fb7ed05fd202f255e348c009dad248018ab
2020-08-10 10:38:24 +03:00
levlam
1bb853a3ef Fix error logging condition.
GitOrigin-RevId: 97d494c0eeb53fc86f875e88584b4da95aee57c0
2020-08-10 09:35:30 +03:00
levlam
de8d92bead Add MessagesManager::set_dialog_unread_mention_count.
GitOrigin-RevId: 3f4874fd25886c502f69a187426730c1b9a0c90b
2020-08-10 09:19:08 +03:00
levlam
12a79efbdc Improve log messages.
GitOrigin-RevId: 23d2e596dd9ce28d780fe125abd468fef132c61b
2020-08-10 08:07:01 +03:00
levlam
16c02c6b25 Rename sendMessageOptions to messageSendOptions.
GitOrigin-RevId: 70270e56ad61e21ad22f207adce6c27c2873f374
2020-08-09 15:14:30 +03:00
levlam
a404948707 Add MessageCopyOptions.
GitOrigin-RevId: a61b93c3c215c42c9a7f30195cc637187472751e
2020-08-09 14:18:08 +03:00
levlam
983119ada3 Unify begin/end usages.
GitOrigin-RevId: 422dd5dbfdab7240818bbc35a7c554effa097378
2020-08-09 04:01:30 +03:00
levlam
b1adbcba05 Suppress warning about changed chat order when last message is not saved to database.
GitOrigin-RevId: 23ee4bc68a3070fc3b9ed8edd24ece13a81a9a8a
2020-08-08 23:00:51 +03:00
levlam
499deffa8d Minor benchmark improvements.
GitOrigin-RevId: e75e3ebe819e248b2f5203aa17d736ef8284bd46
2020-08-08 22:00:05 +03:00
levlam
3fb0bdff15 tg_cli: fix OpenSSL initialization.
GitOrigin-RevId: 388f70155c7f3a1f5276886c1cb38131dd302adc
2020-08-08 21:56:34 +03:00
levlam
fe5bf41980 Minor improvements.
GitOrigin-RevId: 45477784ae1840f217b9394e3d0cc56e1241f9ce
2020-08-07 22:14:42 +03:00
Arseny Smirnov
037bfb3776 Binlog: defragmentation of BinlogEvents buffers during reindex
GitOrigin-RevId: 89f61031d27d8aa20963a46566876a461ea3e338
2020-08-07 20:30:05 +03:00
Arseny Smirnov
80d98def74 TQueue: run_gc returns count of deleted events
GitOrigin-RevId: 7cddd57c1c2842eade83aa253209462e33629dc9
2020-08-07 19:36:23 +03:00
Arseny Smirnov
c48ef93e1e tdutils: add skip_eintr_timeout and use it for EventFd
GitOrigin-RevId: 716218731f914e89e6f1e542054298380441b522
2020-08-07 18:50:33 +03:00
Arseny Smirnov
857f981847 TQueue: minor refactoring of gc
GitOrigin-RevId: 4f4d460723a60f075e2a66d2b1269bc8e41927d1
2020-08-07 14:03:39 +03:00
levlam
e4ecebc6bb Do not include unused headers on Windows.
GitOrigin-RevId: bf9d0c15d6271019253fe4157c9db42c34528f7b
2020-08-07 11:59:21 +03:00
levlam
824744b74e Update Ubuntu 20 build instructions.
GitOrigin-RevId: 8407d77b8e93a0a63c55fd1770dd089ebbb749a6
2020-08-07 07:09:20 +03:00
levlam
2097934da5 Optimize TQueue::run_gc, so it can be run arbitrary often.
GitOrigin-RevId: f7fc488cf3682683c0164c557992dbbc4eed9d4d
2020-08-07 06:06:29 +03:00
levlam
bea0ab1282 Improve Client tests.
GitOrigin-RevId: d92924ccc35d4bdd47f495712b241766410c7e53
2020-08-06 22:07:08 +03:00
levlam
62c08e7f0a Handle video call push notifications.
GitOrigin-RevId: 680b4961aacd1714b0aa8d3ba60b04d7f5e6fea6
2020-08-06 21:29:40 +03:00
levlam
008fc6e101 Rename Client::destroy to close.
GitOrigin-RevId: 9780492da143c2a79877ea8ff0868a9a232d9844
2020-08-06 21:28:44 +03:00
levlam
c4ca04a17d Move expected logging to INFO.
GitOrigin-RevId: 4e12878c5390f6634f3a2cc6b8de5b9c3de50012
2020-08-06 20:37:19 +03:00
levlam
5109f43435 Use unix_time in TQueue.
GitOrigin-RevId: d49c0871c7cb1a4315e38a66c198f56cb2b89428
2020-08-06 04:02:54 +03:00
levlam
95ac56215b Add call.is_video flags to td_api.
GitOrigin-RevId: cba87e4aeeb32ac177dd69416592193056c2f8b1
2020-08-05 22:10:33 +03:00
levlam
b340b0deaa Update layer 116. Add UserFull.supports_video_calls flag.
GitOrigin-RevId: 67aa9a84ed676e3969beb1c5a01a012167744c6d
2020-08-05 21:34:04 +03:00
levlam
c5059bcac3 Minor fixes.
GitOrigin-RevId: 28f8cabca2f70ba692f8713ec68866495061b31a
2020-08-05 20:36:13 +03:00
Arseny Smirnov
c489d7187e ConnectionCreator: relax flood limits for errors during creation of a connection
GitOrigin-RevId: e92d62461e0b3eeab77f1b92ef8c99d630bf3b74
2020-08-05 20:07:28 +03:00
Arseny Smirnov
3fb9b8a992 td: relax limits for connection creation during logout
GitOrigin-RevId: 2c7e81d931a36cecaaf8dd1b463365d3e039873f
2020-08-05 19:49:34 +03:00
Arseny Smirnov
71867f372d SessionProxy: ignore redundant update_destroy calls
GitOrigin-RevId: 748222a69a8808d150296d2ee8298598d98a1de6
2020-08-05 16:11:10 +03:00