Commit Graph

275 Commits

Author SHA1 Message Date
levlam
39fec60968 Reduce ClientManager timeout in test.
GitOrigin-RevId: 806d6b24d0348af17c6334fd9c1983ef3098e62d
2020-10-13 10:42:18 +03:00
levlam
706555502b Build tests only once.
GitOrigin-RevId: 386e5708eab6b806bd62a06e854187f4988303d3
2020-10-12 11:49:23 +03:00
levlam
38f72b353a Clear ClientManager when the last Client is closed.
GitOrigin-RevId: d2d5194f7ffc59dc8db1196401c80689a8645dac
2020-10-09 15:39:30 +03:00
levlam
35a9a93fc9 Fix std::...::erase return value usages.
GitOrigin-RevId: d9729ccd619e3b99554f1e1c2262d8826f0a8571
2020-10-08 23:04:40 +03:00
Arseny Smirnov
8fcf7740d2 RangeSet (will be used instead of BitMask in files) implementation with tests
GitOrigin-RevId: 977f0776d0b7ef96a31364d2a68cfe980f2845c8
2020-10-09 17:35:53 +03:00
levlam
fdc3920572 Fix some includes.
GitOrigin-RevId: 4b57613cc6e948ceb7d63b4378bc9124271e0f53
2020-10-08 18:30:36 +03:00
levlam
1cfa7545c9 Add one thread ClientManager close test.
GitOrigin-RevId: a7f29e7e0c62042ae43d46c349944ff0d5fadc34
2020-10-08 14:40:25 +03:00
levlam
be374f38ac Improve error message for requests to closed client.
GitOrigin-RevId: 4870c3614ea52ecd0fd1124dfc517471b6d30b55
2020-10-08 13:59:03 +03:00
levlam
b4f358de36 Move tdclient test out of namespace td.
GitOrigin-RevId: 17183698257c0d93553d8f7e61eff1f7f79818fc
2020-10-08 13:27:00 +03:00
levlam
582206d641 Use Random::fast_bool.
GitOrigin-RevId: 42da8a237c6dfbb6e72bc5b21482891b6c9d58b5
2020-10-08 12:56:08 +03:00
levlam
f61bd5b89a Add Client close test.
GitOrigin-RevId: 0dadd556320bb289c3574937c82c4574cf512724
2020-10-08 01:28:01 +03:00
levlam
f7393d2717 Fix handling of requests to unexisting Client.
GitOrigin-RevId: 5de9709abe73ae73dc52c9ca04c480a60efbf437
2020-10-05 23:05:16 +03:00
levlam
3fc140b4a2 Add ClientManager documentation.
GitOrigin-RevId: 5254af6d55288851e633a6567d700f6b15b18d1a
2020-10-05 14:32:23 +03:00
levlam
3d2067475e Fix secret chat test.
GitOrigin-RevId: e69725eca0bcaeab7552f83dba353994f136c323
2020-09-30 23:01:58 +03:00
levlam
25676d7ff0 Allow to specify message_thread_id in sendMessage/sendMessageAlbum/sendInlineQueryResult.
GitOrigin-RevId: b9d3545b42355c04afe305f05c0366b0bf3095b0
2020-09-23 01:52:16 +03:00
levlam
cb3f390a92 Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
2020-09-22 02:15:09 +03:00
levlam
23b3eb4931 Update layer to 118. Support message forward count.
GitOrigin-RevId: 10f59fede8b4a86c871949fc721fedd1d615c4bf
2020-07-31 05:50:11 +03:00
levlam
2009d58f6a Deprecate ActorShared with 0 token.
GitOrigin-RevId: 15dc5e63afa4c0d08f911101eaa78513df6aebc5
2020-08-27 01:27:34 +03:00
levlam
3a626f6df2 Silence clang warning.
GitOrigin-RevId: 36b916f6f26a2802b800360e1194e04983a9a852
2020-08-20 11:44:56 +03:00
levlam
a2e7a0b12d Support receiving silent messages in secret chats.
GitOrigin-RevId: 59df982a7ac96c5490eb90ef8def522ac3a47b53
2020-08-19 18:15:40 +03:00
levlam
dfb3e124b8 Minor.
GitOrigin-RevId: 47042cd58afacf0470e0ee60c48ece88ae5f7485
2020-08-17 14:40:22 +03:00
Arseny Smirnov
ce80dd77f0 Actors: safer tag_ in context
GitOrigin-RevId: 9f9ef2a024e0bcfb0e5aed76a23174f1faad3b5a
2020-08-17 13:57:05 +03:00
levlam
f266aa3912 Minor fixes.
GitOrigin-RevId: a4aacfa1ecab2718475d32bcbd99f9671ba7e982
2020-08-14 22:51:10 +03:00
levlam
9592aac404 Minor improvements.
GitOrigin-RevId: 09fbcc25ade8d77c13dc580f13b206c07ba53f9f
2020-08-13 16:57:28 +03:00
Arseny Smirnov
10c619053e Add test for sqlite chipher compatibility
GitOrigin-RevId: 7b458dd4208166391071bc64dcb9204ff2da1df7
2020-08-12 18:36:26 +03:00
levlam
b6c915c2f8 Fix BufferSlice self-move.
GitOrigin-RevId: 904ea326cc860dd92c49d319fc5fabde22a35223
2020-08-11 07:23:25 +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
5109f43435 Use unix_time in TQueue.
GitOrigin-RevId: d49c0871c7cb1a4315e38a66c198f56cb2b89428
2020-08-06 04:02:54 +03:00
levlam
4455b66e8b Fix BufferSlice size statistics.
GitOrigin-RevId: 2dcfeb4981435b93106df5817c849df8a94ba14f
2020-08-05 03:21:10 +03:00
levlam
5749ddf33d Minor fixes.
GitOrigin-RevId: 6d9a609ab9c773d1e4f3fe81f84947e142e15f35
2020-08-04 22:48:23 +03:00
Arseny Smirnov
e75860b2ae BufferSlice: stats of total BufferSlices size
GitOrigin-RevId: df712161ba00c4f3d6eae9b6459c69ee046a9bda
2020-08-04 21:37:47 +03:00
levlam
c44cd3415c Move QtsManager to UpdatesManager.
GitOrigin-RevId: 792faddd71cb3f9c07a4fd915ca782bfe2606ac3
2020-08-02 22:07:22 +03:00
levlam
f1a23b9256 Remove qts from logevent::InboundSecretMessage.
GitOrigin-RevId: ae90e87e3bd0291e78c56cfea161724882d76f1d
2020-08-02 01:21:43 +03:00
levlam
871fe2210d Major new Client fixes.
GitOrigin-RevId: 34c263a4adb3c312328530e1382108d98e9048a3
2020-07-30 23:39:10 +03:00
levlam
e4ee1b7ce1 Minor new Client fixes.
GitOrigin-RevId: f7c455192f5d35a8cbf6271522202bfbff867698
2020-07-30 04:04:57 +03:00
Arseny Smirnov
b1222a9bb7 MultiClient: draft
GitOrigin-RevId: 4d1bdd6ad99909ce7ad94cfd32a43262051a6d18
2020-07-29 16:49:35 +03:00
levlam
7d8d13606c Use std::map instead of VectorQueue in TQueue.
GitOrigin-RevId: a419aa0c9ee5954f8bf1681e6e4097b3e632fa0c
2020-07-25 00:37:45 +03:00
levlam
85ba9e5654 Fix TQueue binlog replaying.
GitOrigin-RevId: 172d70847206253de981d38fed329276b2f778e0
2020-07-24 06:57:48 +03:00
levlam
a02f8d610d Speed up tests execution.
GitOrigin-RevId: 5bcac989d87a04ef8510c47232e3525c4e610073
2020-07-23 17:59:48 +03:00
Arseny Smirnov
93e0a10ffb ByteFlow: bugfix and test improvement
GitOrigin-RevId: 53f684cc96c52cbde4cb2109670f57714724fccc
2020-07-23 14:39:28 +03:00
Arseny Smirnov
9ea1bc824f ByteFlow: backpressure draft
GitOrigin-RevId: 09adce82dd88fcf84f41e525e45b07da03acc0f6
2020-07-22 21:52:00 +03:00
Arseny Smirnov
38ef3a75cc PollableFd: explicit sync_with_poll
GitOrigin-RevId: 71fa35a594816e84e372ebcfa9d0077a13f26a62
2020-07-21 18:29:39 +03:00
levlam
c9889d1a20 Fix TLS handshake.
GitOrigin-RevId: 7542732a79c9fed971332203a620f32ce6d8f878
2020-07-15 16:38:04 +03:00
levlam
cf93b3c69c Support initial folder for secret chats.
GitOrigin-RevId: 57894f3ff767a0b24bac08c8251f51f3e4722b6a
2020-06-30 12:11:22 +03:00
levlam
a297294aac Update layer to 116.
GitOrigin-RevId: 7c12605195674f0b48dbc05734e99bffb2062d0c
2020-06-24 11:45:36 +03:00
levlam
8a1ffe0cbb Fix remove_invalid_entities.
GitOrigin-RevId: 6cad36ac6017dcc3870411129a1b0512f9351d17
2020-07-13 15:34:56 +03:00
levlam
8872fbf6ac Fix tdutils after merge.
GitOrigin-RevId: 5b9a863e405a9e3782157570156fda71bf2bb589
2020-06-26 02:24:13 +03:00
Arseny Smirnov
fd6423dedf update tdutils from another project
GitOrigin-RevId: 79b8eb2ba229d733f82dbb17b8bd7f27471c9472
2020-06-24 14:47:36 +03:00
levlam
afcf7197ae Unify constant name style.
GitOrigin-RevId: 660f8aa17fa856c828e6c11ade6c497a82cb7612
2020-06-22 02:40:05 +03:00