Commit Graph

4566 Commits

Author SHA1 Message Date
54531202a8 Update FileManager.cpp 2020-08-03 14:26:26 +02:00
159ec55ecf Fixed FileManager iterators 2020-08-03 13:29:20 +02:00
d890456b81 Added further checks 2020-08-03 12:23:50 +02:00
907463fb80 Fixed file nodes 2020-08-02 02:08:24 +02:00
000375e21b Increased files TTL to 120 seconds, fixed rehash buckets count, lock other methods when cleaning, unique_ptr for nodes 2020-08-02 00:28:01 +02:00
22192cda3c FileReferenceManager existance check 2020-08-02 00:25:55 +02:00
35fe9a1409 ContactsManager partial locking when cleaning 2020-08-02 00:24:48 +02:00
ee676d0a52 Update WebPagesManager.cpp and cli.cpp 2020-08-01 01:00:01 +02:00
f1bf08c1e6 Update ContactsManager.cpp, WebPagesManager.cpp, and cli.cpp 2020-07-31 23:54:01 +02:00
952dc62bb6 Update .gitignore 2020-07-31 18:31:04 +02:00
8206448240 fix typo 2020-07-31 15:57:38 +02:00
aae28b4fb5 Update ContactsManager.cpp, StickersManager.cpp, and WebPagesManager.cpp 2020-07-31 15:51:49 +02:00
e2947da564 Update ContactsManager.cpp 2020-07-29 17:13:12 +02:00
3fe1a1319b Adding destroy_query 2020-07-29 17:00:11 +02:00
cc087aeacd Merge commit 'ab5d35371b1fdcfb30dfa981ede54ec83db214a9'
Conflicts:
	sqlite/CMakeLists.txt
	td/telegram/ContactsManager.cpp
	td/telegram/Photo.cpp
	td/telegram/Td.cpp
	td/telegram/WebPagesManager.cpp
	td/telegram/files/FileManager.h
2020-07-29 16:39:33 +02:00
levlam
ab5d35371b Ensure that OpenSSL is linked against needed Windows libraries.
GitOrigin-RevId: d2928c94ebe6565e155f81db8ccc24c4c5d69a54
2020-07-28 01:34:35 +03:00
levlam
c1dd9ec1ba Add link to Android build instructions to build.html.
GitOrigin-RevId: aded51788a3691d8880c9f207708e1c331ff43fa
2020-07-27 22:12:43 +03:00
Arseny Smirnov
166682865a DialogDb, MessageDb, MessagesManager: abort if an error happens during a transaction
GitOrigin-RevId: 63751130e05ed6d37928646c9a89ff35166e78e8
2020-07-27 18:03:22 +03:00
levlam
41cac3edba Fix AnimationSize parsing.
GitOrigin-RevId: 20806eb8cf947ffaaf9b0100ec7d9a8e03353535
2020-07-27 17:52:21 +03:00
levlam
9f18424e22 Add Ubuntu 20 to build instructions generator.
GitOrigin-RevId: 359b924315811b678565a0ab43888659c4acc400
2020-07-26 21:04:41 +03:00
levlam
2b685a2396 Use lowercase includes under MinGW.
GitOrigin-RevId: e3d10420725def0b9b05ecea0aecfffaa2d13ce9
2020-07-26 17:14:38 +03:00
levlam
9ff056e77f Link to lowercase libraries when building using MinGW.
GitOrigin-RevId: 0c9c122ed16a4d9ebb0c5ea44301cd4dcd4f9d60
2020-07-26 16:49:09 +03:00
levlam
be38eb5b24 Minor changes.
GitOrigin-RevId: d6175b96bf764800bd20d3c9eef789ba4c1fcbf5
2020-07-26 15:55:33 +03:00
Arseniy Lartsev
f4dbfd88fc Use correct condition for choosing unix shell / powershell
Choose based on host OS, not target OS, to support cross-compilation
2020-07-26 15:45:41 +03:00
levlam
ba1c2781d8 Save correct config expire time, but still reget config on every restart.
GitOrigin-RevId: 6aa14c424b159def6ca0ebc9dad0ddbe13010854
2020-07-26 15:41:32 +03:00
mr_makss
e2053c3239 Using emcmake in build-tdlib.sh 2020-07-26 15:13:09 +03:00
levlam
48a219041a Increase version to 1.6.7.
GitOrigin-RevId: 76ac2eba8225ab2ae81ffc9b81cb7ebc305d5b42
2020-07-26 14:26:14 +03:00
levlam
b45f8ba3a0 Minor fixes.
GitOrigin-RevId: b7985efd4257bc9bb2b2672f94c5f5671e19dd0f
2020-07-26 14:24:30 +03:00
levlam
7187b9c32f Erase the dummy event when new event is pushed to TQueue.
GitOrigin-RevId: 42f310f52cf74ddf32655fe3da42c731ff24e799
2020-07-25 03:11:03 +03:00
levlam
7d8d13606c Use std::map instead of VectorQueue in TQueue.
GitOrigin-RevId: a419aa0c9ee5954f8bf1681e6e4097b3e632fa0c
2020-07-25 00:37:45 +03:00
Arseny Smirnov
47d2e8276a SslStream: fix ByteFlow logic
GitOrigin-RevId: 37e5ecd1480e0bb3035ea5ce0f10261cedfd1612
2020-07-24 18:49:33 +03:00
levlam
421ec5fa8f Migrate to other thread when receiving a file in multipart/form-data.
GitOrigin-RevId: dbd6c1092f297c5b534508f070f49c311a756fe4
2020-07-24 15:32:33 +03:00
levlam
2882e96b63 Do not delete queue if there is no callback.
GitOrigin-RevId: d19a6b2c2c5ee517bae5cf809068f413217ca723
2020-07-24 14:03:59 +03:00
Arseny Smirnov
2b52849b70 TsList: fix race in 'validate'
GitOrigin-RevId: 8006f9f6861557d9232008bc4dd6bb78f2173e3a
2020-07-24 12:32:27 +03:00
Arseny Smirnov
66cc19375a Fix 'Initialize TsList mutex before any TsList.'
GitOrigin-RevId: 44030e72b96f2c01726d207cf9effb3953df4c72
2020-07-24 11:20:53 +03:00
Arseny Smirnov
04667e86a7 HttpConnection: migrate connections to a dedicated scheduler
GitOrigin-RevId: 91ece928204ee732e81eaedd5e869810c5bea3b8
2020-07-23 19:47:12 +03:00
levlam
8132c4dfd3 Fix TQueue run_gc statistics.
GitOrigin-RevId: 2311da0ba65e33de466c3f627058ec2a973dcb76
2020-07-24 07:12:43 +03:00
levlam
85ba9e5654 Fix TQueue binlog replaying.
GitOrigin-RevId: 172d70847206253de981d38fed329276b2f778e0
2020-07-24 06:57:48 +03:00
levlam
db29976a90 Check queue constraints in TQueue::do_push.
GitOrigin-RevId: 385d120c8bdee21bb18d97699af4b7b78fa36277
2020-07-24 05:47:31 +03:00
levlam
692b0f18df Drop only one week old empty queues from TQueue.
GitOrigin-RevId: b7ce4c1b4471cfa385ca4d268e8e052db0896ef3
2020-07-24 05:26:25 +03:00
levlam
70534a8aca Add TQueue run_gc statistics.
GitOrigin-RevId: 371d38aa5c59d927b0f1e601f08ac7c7bbbdb137
2020-07-24 02:42:54 +03:00
levlam
33ba70b3e4 Fix warning.
GitOrigin-RevId: 8e948bb9cf9c6f9441c3665579334eaa3e963408
2020-07-23 21:47:34 +03:00
levlam
c18a2474c6 Initialize TsList mutex before any TsList.
GitOrigin-RevId: 598e90b812e538288b3c2d60195cce68235d89a6
2020-07-23 21:07:19 +03:00
levlam
a02f8d610d Speed up tests execution.
GitOrigin-RevId: 5bcac989d87a04ef8510c47232e3525c4e610073
2020-07-23 17:59:48 +03:00
Arseny Smirnov
b344269688 HttpReader: minor fixes
GitOrigin-RevId: f003a56d3137e6af1dc5d1d30b995f3ab5b154db
2020-07-23 16:48:17 +03:00
Arseny Smirnov
c4921adcad Gzip: more tests (with watermark and memory limit)
GitOrigin-RevId: b8eacf5a27d646b9265d2fe43b847888ad58f5af
2020-07-23 16:39:13 +03:00
Arseny Smirnov
93e0a10ffb ByteFlow: bugfix and test improvement
GitOrigin-RevId: 53f684cc96c52cbde4cb2109670f57714724fccc
2020-07-23 14:39:28 +03:00
levlam
813e2b2961 Fix misprint.
GitOrigin-RevId: cec8d77edaf44c5527af694300118ad28748f5f4
2020-07-23 02:12:00 +03:00
levlam
db628a8c9e Increase mas file size limit.
GitOrigin-RevId: d10bb8abe7c70a2c94b0edc6f6d1fb08e49c7267
2020-07-23 01:59:28 +03:00
levlam
b970cc4e5e Remove debug logging.
GitOrigin-RevId: 56ca1c7950609f13dabf6c12262432ecfa14b523
2020-07-23 01:44:08 +03:00