Commit Graph

274 Commits

Author SHA1 Message Date
Andrea Cavalli
76a9e1974a Merge commit 'f61bd5b89a428c9158c401cb54b46579cdb58381' 2020-10-12 16:00:57 +02:00
Andrea Cavalli
2b69eef4a5 Merge commit 'd87558177241862f7db1b934f8a211b94180f28b'
Conflicts:
	td/telegram/Client.cpp
2020-10-12 15:59:54 +02:00
Andrea Cavalli
ccaec7e042 Merge commit '3fc140b4a260c606e5c6d79ef148d4beeb37048a'
Conflicts:
	td/telegram/Client.cpp
	td/telegram/Client.h
2020-10-12 15:41:34 +02: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
Andrea Cavalli
41e5ce21ac Merge commit '3d2067475e0764d4765b41aa372e5c3c10a5af5d'
Conflicts:
	td/telegram/MessagesManager.cpp
2020-10-01 14:53:43 +02:00
Andrea Cavalli
c83fc13a60 Merge commit '1d9989cbd700492ffe636385d5578946f62139d9'
Conflicts:
	td/telegram/ContactsManager.cpp
	td/telegram/ContactsManager.h
	td/telegram/MessagesDb.cpp
	td/telegram/MessagesManager.cpp
2020-10-01 13:22:37 +02:00
Andrea Cavalli
24ee424c91 Merge commit '3aee3527511ce43ae670081f3f65a71e7c92ee2c'
Conflicts:
	td/telegram/MessagesDb.cpp
2020-10-01 11:42:54 +02: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
Andrea Cavalli
cd2b97aac2 Fix windows build 2020-09-05 17:33:01 +02:00
Andrea Cavalli
2ee1930f65 Replaced checks abort() with death handlers 2020-09-02 01:11:38 +02:00
Andrea Cavalli
5a2ee4d91b Added death handler 2020-09-01 21:32:58 +02: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
23b3eb4931 Update layer to 118. Support message forward count.
GitOrigin-RevId: 10f59fede8b4a86c871949fc721fedd1d615c4bf
2020-07-31 05:50:11 +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
levlam
d5b4c57993 Add inputMessageDocument.force_file.
GitOrigin-RevId: 7f2780ba7f333e5f8df9c28bab429b8b12eaf26c
2020-06-22 02:02:21 +03:00