levlam
|
6f2a9270a3
|
Always try shrink after node erasure.
|
2022-02-23 18:05:56 +03:00 |
|
levlam
|
d090929249
|
Store end_ in iterator instead of map itself.
|
2022-02-23 17:41:11 +03:00 |
|
levlam
|
b307396628
|
Simplify FlatHashTable implementation.
|
2022-02-23 16:34:42 +03:00 |
|
levlam
|
73ade8cc43
|
Randomize hash value and optimize bucket calculation.
|
2022-02-23 16:27:19 +03:00 |
|
levlam
|
b3a784f4ba
|
Properly clear other hashmap after move.
|
2022-02-23 15:58:12 +03:00 |
|
levlam
|
5f5205ae6c
|
Remove unneeded return values from hashtable move-assignment operators.
|
2022-02-23 15:50:58 +03:00 |
|
levlam
|
1f12b0d8e8
|
Allow folly usages only if TD_TEST_FOLLY is defined.
|
2022-02-23 15:01:53 +03:00 |
|
levlam
|
c9c9a73499
|
Fix swap(fixed_vector) usages.
|
2022-02-21 05:49:59 +03:00 |
|
levlam
|
f0a2ccd0fb
|
Remove value_type from SetNode.
|
2022-02-21 02:22:01 +03:00 |
|
levlam
|
9e8b2489bd
|
Keep the first value from initializer_list.
|
2022-02-21 00:33:19 +03:00 |
|
levlam
|
77ccc13181
|
Add Map/SetNode::copy_from.
|
2022-02-20 23:03:34 +03:00 |
|
levlam
|
983cc2c45c
|
Various hash table improvements.
|
2022-02-19 11:34:43 +03:00 |
|
levlam
|
94289c0c9e
|
Fix SCOPE_EXIT redefinition.
|
2022-02-18 23:25:23 +03:00 |
|
levlam
|
ae3854d97c
|
Various fixes.
|
2022-02-18 23:04:25 +03:00 |
|
levlam
|
b5cf85d6e2
|
Fix compilation error.
|
2022-02-18 15:15:58 +03:00 |
|
Arseny Smirnov
|
952ac3ed7c
|
FlatHashMap: add MaskSse2 to benchmark
|
2022-02-18 00:48:33 +01:00 |
|
Arseny Smirnov
|
39934a7f9e
|
FlatHashMap: sse2 support
|
2022-02-18 00:47:58 +01:00 |
|
Arseny Smirnov
|
a356cc7e3d
|
FlatHashMap: optimizations
|
2022-02-18 00:30:14 +01:00 |
|
Arseny Smirnov
|
5ff92065bf
|
FlatHashMap: fixes for portability
|
2022-02-17 20:22:46 +01:00 |
|
Arseny Smirnov
|
34a69e3133
|
FlatHashMap: add implementation with chunks
|
2022-02-17 19:40:18 +01:00 |
|
levlam
|
512c0cd3c2
|
Fix formatting.
|
2022-02-12 00:48:35 +03:00 |
|
Arseny Smirnov
|
a11d37dd4c
|
FlatHashMap: fix CE
|
2022-02-11 18:11:17 +01:00 |
|
Arseny Smirnov
|
ecceb51881
|
FlatHashSet
|
2022-02-11 17:41:40 +01:00 |
|
levlam
|
15f27455c5
|
Move other big classes inside FlatHashMap to unique_ptr.
|
2022-02-11 19:27:32 +03:00 |
|
levlam
|
5b4bea1fef
|
Add HashMap build time benchmark.
|
2022-02-11 14:46:30 +03:00 |
|
levlam
|
6ae2096d68
|
Fix HashSet benchmark.
|
2022-02-11 11:26:58 +03:00 |
|
Arseny Smirnov
|
1a3adc3ee7
|
FlatHashTable: bugfix
|
2022-02-10 22:44:40 +01:00 |
|
Arseny Smirnov
|
500c20f7ea
|
FlatHashMap: more benchmarks
|
2022-02-10 22:34:01 +01:00 |
|
levlam
|
b71e330396
|
Fix tests.
|
2022-02-11 00:11:02 +03:00 |
|
levlam
|
b8ab910b81
|
Various improvements.
|
2022-02-10 23:01:28 +03:00 |
|
Arseny Smirnov
|
987e875520
|
FlatHashMap: support mem_stat->rss in memory benchmark; move memory benchmark in other folder, fix build.
|
2022-02-10 18:33:23 +01:00 |
|
Arseny Smirnov
|
6bb365567b
|
FlatHashMap: improve memory benchmark
|
2022-02-10 18:29:52 +01:00 |
|
levlam
|
1a28bbd00c
|
Remove redundant checks from calc_bucket.
|
2022-02-10 18:30:03 +03:00 |
|
Arseny Smirnov
|
10c59db842
|
FlatHashMap: simple benchmark for memory usage
|
2022-02-10 14:37:19 +01:00 |
|
Arseny Smirnov
|
f4b3a09646
|
FlatHashMap: shrink table if too sparse
|
2022-02-10 14:37:19 +01:00 |
|
levlam
|
9e6d106585
|
Minor improvements.
|
2022-02-10 11:55:32 +03:00 |
|
Arseny Smirnov
|
129d12566d
|
FlatHashMap: add tests
|
2022-02-09 22:22:51 +01:00 |
|
Arseny Smirnov
|
8d8896d7f0
|
FlatHashMap: remove_if; generic td::table_remove_if
|
2022-02-09 22:22:51 +01:00 |
|
Arseny Smirnov
|
87354498e4
|
cmake: use SYSTEM after PUBLIC or PRIVATE in target_link_libraries to avoid error
|
2022-02-09 22:22:51 +01:00 |
|
levlam
|
967cb9e8a5
|
Fix compilation error.
|
2022-02-09 18:41:38 +03:00 |
|
levlam
|
22ed61e1b7
|
More FlatHashMap usages.
|
2022-02-09 17:05:27 +03:00 |
|
levlam
|
b403a3793d
|
Explicitly check for empty key in FlatHashImpl::find.
|
2022-02-09 15:41:23 +03:00 |
|
levlam
|
4eacaa3ebd
|
FlatHashMap improvements.
|
2022-02-09 03:08:18 +03:00 |
|
Arseny Smirnov
|
d5e163cd9d
|
FlatHashMap: support initializer_list
|
2022-02-08 20:47:10 +01:00 |
|
Arseny Smirnov
|
d5db554b70
|
FlatHashMap: benchmark
|
2022-02-08 19:38:09 +01:00 |
|
Arseny Smirnov
|
d0cd7a8926
|
FlatHashMap: inline with_node usages
|
2022-02-08 19:38:09 +01:00 |
|
Arseny Smirnov
|
5d074a4b18
|
FlatHashMap: some optimizations
|
2022-02-08 19:38:09 +01:00 |
|
Arseny Smirnov
|
e3a5b29d20
|
FlatHashMap: use same code for const and non-const methods
|
2022-02-08 19:38:09 +01:00 |
|
levlam
|
b7a51bd9d5
|
FlatHashMap improvements.
|
2022-02-08 02:26:07 +03:00 |
|
levlam
|
5d1e50fd8d
|
Remove wrongly used EqualT in FlatHashMap.
|
2022-02-08 01:06:57 +03:00 |
|
levlam
|
b62ced6d95
|
Minor improvements.
|
2022-02-08 00:42:53 +03:00 |
|
levlam
|
bcc2adeb47
|
Fix includes and formatting.
|
2022-02-08 00:04:34 +03:00 |
|
Arseny Smirnov
|
86bceb2972
|
td: replace most of std::unordered_map usages to td::FlatHashMap
|
2022-02-07 21:21:31 +01:00 |
|
Arseny Smirnov
|
088ce02832
|
tdutils: FlatHashMap
|
2022-02-07 21:21:31 +01:00 |
|
Andrea Cavalli
|
39856bc56f
|
Merge remote-tracking branch 'td/master'
|
2022-02-05 01:12:29 +01:00 |
|
levlam
|
0b33522821
|
Improve ChainScheduler.
|
2022-02-03 22:01:09 +03:00 |
|
levlam
|
950876b496
|
Minor improvements.
|
2022-02-01 18:25:02 +03:00 |
|
Arseny Smirnov
|
7c9d698023
|
SequenceDispatcher: bugfixes
|
2022-02-01 17:05:23 +03:00 |
|
Arseny Smirnov
|
da4d6318fc
|
SequenceDispatcher: distribute food limits to net queries in the same chain and with the same tl_constructor
|
2022-02-01 16:06:48 +03:00 |
|
Arseny Smirnov
|
24766fdad8
|
ChainScheduler: pass new test
|
2022-02-01 16:04:58 +03:00 |
|
Arseny Smirnov
|
b4396f18c6
|
ChainScheduler: tests and optimizations
|
2022-02-01 16:02:35 +03:00 |
|
levlam
|
c783115974
|
Fix warnings.
|
2022-01-31 22:00:00 +03:00 |
|
levlam
|
31e7447158
|
Disable is_emoji implementation is there is no zlib.
|
2022-01-31 20:20:31 +03:00 |
|
levlam
|
aceb3698f6
|
Remove unused span helpers without verbs in their name.
|
2022-01-31 16:27:24 +03:00 |
|
levlam
|
b1b945e239
|
Minor fixes.
|
2022-01-31 15:56:44 +03:00 |
|
levlam
|
e7406475ff
|
Fix compilation errors.
|
2022-01-28 19:12:20 +03:00 |
|
Arseny Smirnov
|
c202974d47
|
SequenceDispatcher: set error to all NetQueries at tear_down
|
2022-01-28 17:43:22 +03:00 |
|
Arseny Smirnov
|
355c2950ad
|
ChainScheduler - new implementation of SequenceDispatcher
|
2022-01-28 15:50:59 +03:00 |
|
levlam
|
4254320148
|
Add consts for emoji count and the maximum emoji length.
|
2022-01-14 16:30:50 +03:00 |
|
levlam
|
b007cc7a2c
|
Use compressed base64-encoded list of emoji instead of emoji themselves to reduce binary size and stack usage.
|
2022-01-13 23:43:22 +03:00 |
|
KnorpelSenf
|
789b9c0a55
|
Fix much typos
|
2022-01-25 16:07:36 +03:00 |
|
Andrea Cavalli
|
09b98f6b30
|
Merge remote-tracking branch 'td/master'
|
2022-01-04 00:04:21 +01:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
Andrea Cavalli
|
53d4e14c7d
|
Merge remote-tracking branch 'td/master'
|
2021-12-28 19:12:09 +01:00 |
|
levlam
|
26d2ee649d
|
Add some missing new lines at the end of files.
|
2021-12-27 14:03:50 +03:00 |
|
Andrea Cavalli
|
7a3cf7ad57
|
Merge remote-tracking branch 'td/master'
|
2021-12-25 00:25:15 +01:00 |
|
levlam
|
5f965a1ea4
|
Don't try to use "fr-FR" locale, because check for its existence is
broken with musl: https://www.openwall.com/lists/musl/2017/11/08/1.
|
2021-12-24 15:12:14 +03:00 |
|
levlam
|
ff6615e734
|
Fix some misprints.
|
2021-12-23 14:18:32 +03:00 |
|
levlam
|
eff87996a5
|
Match animated emoji without selectors.
|
2021-12-22 13:40:20 +03:00 |
|
Andrea Cavalli
|
6d1329ee7a
|
Merge remote-tracking branch 'td/master'
|
2021-12-17 15:43:10 +01:00 |
|
levlam
|
957670aa0d
|
Immediately close non-connected sockets.
|
2021-12-16 23:38:44 +03:00 |
|
levlam
|
01b02e9028
|
Remove deprecated EM_LOG_DEMANGLE flag.
|
2021-12-16 19:19:32 +03:00 |
|
Andrea Cavalli
|
f211df073e
|
Merge remote-tracking branch 'td/master'
|
2021-12-16 16:36:15 +01:00 |
|
levlam
|
1782b8e478
|
Minor improvements.
|
2021-12-16 16:16:34 +03:00 |
|
levlam
|
1a98ac8004
|
Don't use min/max as variable names.
|
2021-12-15 20:55:03 +03:00 |
|
Andrea Cavalli
|
c037048ec3
|
Merge remote-tracking branch 'td/master'
|
2021-12-10 16:59:45 +01:00 |
|
levlam
|
ca8a8ad358
|
Remove ThreadSafeCounter usage.
|
2021-12-10 13:31:17 +03:00 |
|
levlam
|
1a9c6fa51c
|
Add more logging.
|
2021-12-10 13:27:24 +03:00 |
|
levlam
|
106797f7f0
|
Improve private field names.
|
2021-12-10 13:07:55 +03:00 |
|
levlam
|
1bb9b7dfa9
|
Update clang-format to 13.0.1.
|
2021-12-10 00:27:13 +03:00 |
|
Andrea Cavalli
|
8e13003896
|
Merge remote-tracking branch 'td/master'
|
2021-11-22 23:28:02 +01:00 |
|
levlam
|
a28b5f2fbb
|
Remove explicit verbosity level changes in tests.
|
2021-11-21 21:41:11 +03:00 |
|
levlam
|
bd733c1c6e
|
Fix CheckExitGuard test.
|
2021-11-18 17:01:05 +03:00 |
|
levlam
|
67aa9cad66
|
Allocate exactly specified size in ArrayAllocator.
|
2021-11-18 16:42:01 +03:00 |
|
levlam
|
42ca2dcef5
|
Add serialize test.
|
2021-11-18 16:32:12 +03:00 |
|
levlam
|
6f3dc2afb1
|
Use new/delete instead of ArrayAllocator on external threads.
|
2021-11-18 16:22:54 +03:00 |
|
levlam
|
32713560b8
|
Move StackAllocator implementation to cpp.
|
2021-11-18 15:42:07 +03:00 |
|
levlam
|
bf9c78e982
|
Fix is_emoji.
|
2021-11-18 14:37:31 +03:00 |
|
levlam
|
fb39e5d746
|
SImplify StackAllocator::Ptr implementation.
|
2021-11-17 15:15:40 +03:00 |
|
Andrea Cavalli
|
48e3660d2c
|
Merge remote-tracking branch 'td/master'
|
2021-11-14 22:46:37 +01:00 |
|
levlam
|
5e70be9d36
|
Improve CHECK.
|
2021-11-13 23:50:18 +03:00 |
|
levlam
|
b731414d42
|
Init some fields just in case.
|
2021-11-11 17:39:09 +03:00 |
|
levlam
|
712197ad6d
|
Mark some constructors as noexcept.
|
2021-11-10 21:55:50 +03:00 |
|
levlam
|
5a02af8c72
|
Use const reference if range-based for if appropriate.
|
2021-11-10 20:39:35 +03:00 |
|
levlam
|
96382d5621
|
Output no_color only if there was a color.
|
2021-11-10 19:06:12 +03:00 |
|
Andrea Cavalli
|
9c9772868b
|
Merge remote-tracking branch 'td/master'
|
2021-11-05 16:11:03 +01:00 |
|
levlam
|
eb346f5573
|
Return both first and last error from mkpath.
|
2021-11-05 10:10:11 +03:00 |
|
levlam
|
ca7947cf44
|
Minor improvements.
|
2021-11-04 12:46:08 +03:00 |
|
levlam
|
6e8a88be35
|
Add TlStorerTotString.store_vector_begin.
|
2021-11-01 19:45:55 +03:00 |
|
levlam
|
f743c782bf
|
Move TlStorerToString to TlStorerToString.h.
|
2021-11-01 19:21:24 +03:00 |
|
levlam
|
5e43075d3b
|
Add TlStorerToString::store_object_field method.
|
2021-11-01 18:59:35 +03:00 |
|
Andrea Cavalli
|
9f3e26dea6
|
Merge remote-tracking branch 'td/master'
|
2021-10-29 14:56:39 +02:00 |
|
levlam
|
b5060687cc
|
Add enable_if guards for forwarding constructors.
|
2021-10-29 15:05:28 +03:00 |
|
Andrea Cavalli
|
9b0d54de26
|
Merge remote-tracking branch 'td/master'
|
2021-10-29 00:31:20 +02:00 |
|
levlam
|
51cf4baee6
|
Fix tests compilation without threads.
|
2021-10-25 10:37:38 +03:00 |
|
levlam
|
c5a2f1570d
|
Remove superflous endif comments.
|
2021-10-25 10:05:15 +03:00 |
|
levlam
|
f7d073baa4
|
Fix building with TD_EVENTFD_UNSUPPORTED.
|
2021-10-25 01:46:39 +03:00 |
|
Andrea Cavalli
|
f11254bdcb
|
Merge remote-tracking branch 'td/master'
|
2021-10-21 17:09:27 +02:00 |
|
levlam
|
9f44816a62
|
Minor improvements.
|
2021-10-21 12:51:16 +03:00 |
|
Andrea Cavalli
|
98244d1346
|
Merge remote-tracking branch 'td/master'
|
2021-10-20 02:21:14 +02:00 |
|
levlam
|
1e49f6dc13
|
Use auto as variable type if it is initialized with a cast.
|
2021-10-20 01:27:02 +03:00 |
|
levlam
|
41cc287d66
|
Improve checks.
|
2021-10-20 00:54:49 +03:00 |
|
levlam
|
db7aa28bdf
|
A lot more minor improvements.
|
2021-10-19 18:11:16 +03:00 |
|
levlam
|
44a186c7c1
|
Minor improvements.
|
2021-10-18 19:26:14 +03:00 |
|
levlam
|
01976bed53
|
Minor warning fixes.
|
2021-10-18 15:37:21 +03:00 |
|
levlam
|
81b38d5607
|
Mark move constructors/assignment operators noexcept.
|
2021-10-18 14:36:15 +03:00 |
|
levlam
|
f35afe23c8
|
Minor warning fixes.
|
2021-10-18 12:57:13 +03:00 |
|
levlam
|
0782f56408
|
Use uint32 instead of unsigned int if possible.
|
2021-10-17 22:56:40 +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
|
e78a5fbecf
|
Explicitly specify namespace td in tdutils tests.
|
2021-10-14 15:08:35 +03:00 |
|
levlam
|
c7ce933520
|
Improve Windows 11 detection.
|
2021-10-13 14:01:23 +03:00 |
|
levlam
|
f5fe132722
|
Remove unneeded logging in tests.
|
2021-10-07 16:56:45 +03:00 |
|
levlam
|
038abf5466
|
Add sound to messageAnimatedEmoji.
|
2021-10-05 23:20:49 +03:00 |
|
levlam
|
ffe03ecb10
|
Add messageAnimatedEmoji.
|
2021-10-05 16:12:04 +03:00 |
|
Andrea Cavalli
|
897d4af16c
|
Merge remote-tracking branch 'td/master'
|
2021-09-25 19:24:57 +02:00 |
|
levlam
|
61c3a2bcf5
|
Remove TD_EXPERIMENTAL_WATCH_OS.
|
2021-09-24 13:41:22 +03:00 |
|
levlam
|
d6f3d9f08a
|
Use error code 400 instead of small error codes.
|
2021-09-24 10:59:51 +03:00 |
|
levlam
|
b6bde1e4c5
|
Move remove_emoji_modifiers to emoji.h.
|
2021-09-21 06:32:34 +03:00 |
|
levlam
|
3af0059b94
|
Add is_emoji method.
|
2021-09-20 22:30:23 +03:00 |
|
levlam
|
db18baa503
|
Unify include order.
|
2021-09-19 00:47:05 +03:00 |
|
Andrea Cavalli
|
6e1836a024
|
Merge remote-tracking branch 'td/master'
|
2021-09-15 16:03:11 +02:00 |
|
levlam
|
5a85c8a95b
|
Improve error message.
|
2021-09-14 12:16:29 +03:00 |
|
levlam
|
47d3806c62
|
Move TlDowncastHelper to tdutils.
|
2021-09-12 19:04:22 +03:00 |
|
Andrea Cavalli
|
a20e8b6db3
|
Merge remote-tracking branch 'td/master'
|
2021-09-04 16:03:33 +02:00 |
|
levlam
|
86de43a048
|
Remove useless #include comments.
|
2021-09-03 23:21:44 +03:00 |
|
levlam
|
0b6d40b4b5
|
Update Unicode data to 14.0.0.
|
2021-09-18 21:31:50 +03:00 |
|
levlam
|
f0180b6132
|
Suppress warning about an empty file.
|
2021-09-02 11:51:33 +03:00 |
|
levlam
|
bfd76964ea
|
Fix some GCC warnings on Windows.
|
2021-09-01 19:26:18 +03:00 |
|
Andrea Cavalli
|
232ce6e4d3
|
Merge remote-tracking branch 'td/master'
|
2021-08-23 02:22:28 +02:00 |
|
levlam
|
5b6e2d2c90
|
Add ThreadSafeCounter benchmark.
|
2021-08-18 19:26:03 +03:00 |
|
levlam
|
5349e63c2b
|
Add Timeout::get_timeout.
|
2021-08-15 11:15:14 +03:00 |
|
levlam
|
99375ff157
|
Improve pos checks in KHeap.
|
2021-08-15 10:59:12 +03:00 |
|
levlam
|
65094f66bd
|
Shrink long KHeap arrays.
|
2021-08-15 10:46:41 +03:00 |
|
levlam
|
84ad2e5b19
|
Remove redundant semicolons.
|
2021-08-30 23:27:32 +03:00 |
|
Andrea Cavalli
|
6b93b00f6a
|
Merge remote-tracking branch 'td/master'
|
2021-07-27 23:35:50 +02:00 |
|
levlam
|
103b0efcaa
|
Simplify JSON generation.
|
2021-07-27 09:41:11 +03:00 |
|
Andrea Cavalli
|
a580242be1
|
Merge remote-tracking branch 'td/master'
|
2021-07-23 15:19:00 +02:00 |
|
levlam
|
c45535d607
|
Fix warning.
|
2021-07-20 03:00:16 +03:00 |
|
levlam
|
c5cee50877
|
Fix TRY_STATUS_PROMISE usage with Result.
|
2021-07-17 23:37:03 +03:00 |
|
Andrea Cavalli
|
3dde04b17f
|
Merge remote-tracking branch 'td/master'
|
2021-07-17 11:15:40 +02:00 |
|
levlam
|
a4186f8934
|
Fix BackoffQueue.
|
2021-07-04 18:52:48 +03:00 |
|
levlam
|
370d443a9d
|
Explicitly specify inheritance mode.
|
2021-07-04 18:22:20 +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 |
|
levlam
|
3ead565d67
|
Improve OpenSSL 3.0 support.
|
2021-07-02 23:34:24 +03:00 |
|
Andrea Cavalli
|
c41ec7df43
|
Merge remote-tracking branch 'td/master'
|
2021-06-30 13:31:50 +02:00 |
|
levlam
|
4f00f445b7
|
Allow leading zeros in port number.
|
2021-06-27 03:58:26 +03:00 |
|
levlam
|
e18ff8a810
|
Close socket on Windows only after pending write is confirmed.
|
2021-06-14 19:06:23 +03:00 |
|
levlam
|
924286da8f
|
Use manual checks instead of cmake_minimum_required to propagate policies.
|
2021-06-13 23:38:48 +03:00 |
|
levlam
|
e73394ac98
|
Add comment about meaning of Working Set and Commit Charge.
|
2021-06-06 22:53:41 +03:00 |
|
levlam
|
7c4ff60f79
|
Trim trainling slashes in the parameter of CreateDirectoryFromAppW.
|
2021-06-05 03:29:44 +03:00 |
|
levlam
|
1ab2f9fe9d
|
Improve maximize_buffer.
|
2021-06-03 04:11:11 +03:00 |
|
levlam
|
8db4febd4c
|
Minor improvements.
|
2021-06-02 15:43:56 +03:00 |
|
levlam
|
dd687b2f82
|
Remove superflous const qualifier.
|
2021-06-02 05:21:15 +03:00 |
|
levlam
|
9cecc116f3
|
Prefer US spelling of "canceled".
|
2021-05-31 21:51:48 +03:00 |
|
Arseny Smirnov
|
fb2c664f03
|
Add missed #include<algoritm>
|
2021-05-28 10:14:51 +00:00 |
|
Andrea Cavalli
|
2c77e82300
|
Merge remote-tracking branch 'td/master' into dev
|
2021-05-27 00:50:41 +02:00 |
|
levlam
|
aaba82f5c5
|
Improve checks in parse_url.
|
2021-05-26 01:20:49 +03:00 |
|
levlam
|
90e253d90c
|
Remove REGISTER_TESTS define.
|
2021-05-26 00:41:15 +03:00 |
|
levlam
|
5f0b24926f
|
Split path in HttpUrlQuery.
|
2021-05-25 04:39:41 +03:00 |
|
levlam
|
200da2c684
|
Add parse_url_query.
|
2021-05-24 23:47:18 +03:00 |
|
levlam
|
4cc60bbc25
|
Move HttpUrl test to separate header.
|
2021-05-24 23:09:41 +03:00 |
|
levlam
|
e1ebf74398
|
Fix CE.
|
2021-05-21 02:05:03 +03:00 |
|
levlam
|
bb957644cf
|
Add td_api::backgroundFillFreeformGradient.
|
2021-05-21 01:49:59 +03:00 |
|
levlam
|
5e7adcd1cb
|
Don't include SliceBuilder.h in Status.h.
|
2021-05-20 23:13:02 +03:00 |
|
levlam
|
7edffa1bc7
|
Move TsLog out of logging.h.
|
2021-05-18 17:41:33 +03:00 |
|
levlam
|
df4c4b9471
|
Move TsCerr to separate header.
|
2021-05-18 17:24:32 +03:00 |
|
levlam
|
674a112bfa
|
Add NullLog.h.
|
2021-05-18 17:13:26 +03:00 |
|
levlam
|
f72195baab
|
Remove TC_* defines.
|
2021-05-18 16:55:35 +03:00 |
|
levlam
|
d34680b83f
|
Remove set_log_fatal_error_callback. Add td_set_log_message_callback, deprecate td_set_log_fatal_error_callback.
|
2021-05-18 04:41:09 +03:00 |
|
levlam
|
3b0e2f5e85
|
Added the ability to hook into logging system.
|
2021-05-17 18:49:09 +03:00 |
|
levlam
|
8231c58335
|
Rename LogInterface::rotate to after_rotation.
|
2021-05-17 17:58:33 +03:00 |
|
levlam
|
fdeaafa70d
|
tg_cli: always write log to file.
|
2021-05-17 17:33:26 +03:00 |
|
levlam
|
135f9de4a9
|
Add CombinedLog.h.
|
2021-05-17 16:53:35 +03:00 |
|
levlam
|
13a21b4fe2
|
Make LogInterface::append non-virtual.
|
2021-05-17 16:18:19 +03:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
17a1015f6b
|
Remove dependency of PSLICE/PSTRING on Logger, move them to separate header and make them always safe.
|
2021-05-17 03:24:54 +03:00 |
|
levlam
|
29230948c3
|
Remove redundant LogInterface::rotate overrides.
|
2021-05-17 02:04:50 +03:00 |
|
levlam
|
083d599c41
|
Support stacktrace printing on Windows.
|
2021-05-11 19:27:37 +03:00 |
|
Andrea Cavalli
|
40048f12ca
|
Merge
|
2021-05-04 22:17:39 +02:00 |
|
levlam
|
b342ec33e5
|
Likely add Solaris support.
|
2021-04-30 02:34:12 +03:00 |
|
levlam
|
3007094fb8
|
Use -Wl,-z,ignore on illumos.
|
2021-04-30 01:48:01 +03:00 |
|
levlam
|
f00d562c5b
|
Silence expected warning.
|
2021-04-30 01:26:02 +03:00 |
|
levlam
|
e1fc85d610
|
Print warnings about unsupported OS/compiler only once.
|
2021-04-30 01:24:42 +03:00 |
|
Joshua M. Clulow
|
ed291840d3
|
add illumos support (#1501)
|
2021-04-29 16:40:08 +03:00 |
|
Andrea Cavalli
|
799d106c49
|
Merge remote-tracking branch 'td/master'
|
2021-04-10 19:44:10 +02:00 |
|
levlam
|
564b44d3b9
|
Fix ifdef check.
|
2021-04-08 22:17:55 +03:00 |
|
levlam
|
6e099908cf
|
Don't use sendmsg on Android.
|
2021-04-08 14:55:54 +03:00 |
|
levlam
|
9bb79b4b27
|
Ignore invalid Unicode strings in C++/CX.
|
2021-04-08 14:43:47 +03:00 |
|
levlam
|
02c9caafc0
|
Fix FromApp building for UWP.
|
2021-04-04 23:40:05 +03:00 |
|
Andrea Cavalli
|
ae6ef91da2
|
Merge commit 'c36ed586e25eb9c3f822d595be2b0ef83a2b9fbc'
Conflicts:
td/telegram/MessagesManager.cpp
|
2021-04-04 16:37:10 +02:00 |
|
levlam
|
c36ed586e2
|
Fix MoveFileExFromAppW.
|
2021-04-04 02:58:59 +03:00 |
|
levlam
|
2ab94b9ca7
|
Add checks that SocketFd::read/write/writev return correct response.
|
2021-04-04 01:08:53 +03:00 |
|
levlam
|
e246201cf0
|
Add checks that FileFd::read/write/pread/pwrite/writev return correct response.
|
2021-04-04 00:47:30 +03:00 |
|
levlam
|
6285d98479
|
Fix writev on Windows.
|
2021-04-04 00:40:37 +03:00 |
|
Andrea Cavalli
|
1ce823b0e6
|
Merge commit '1bbcc01091c8ca92f79821790b8857edb5a1b6b4'
|
2021-04-03 12:53:29 +02:00 |
|
levlam
|
40740597f7
|
Add ChainBufferReader::advance debug.
|
2021-04-02 16:30:10 +03:00 |
|
Arseny Smirnov
|
a51b63afdd
|
more checks for watch os version
|
2021-03-29 16:26:11 +03:00 |
|
levlam
|
4df03c8491
|
Clamp float numbers before conversion to integers.
|
2021-03-28 22:33:22 +03:00 |
|
Andrea Cavalli
|
0c653e2526
|
Merge commit 'fbc7e5a7f845d6c8df12b11f5b9a5c9ffc6eea0e'
|
2021-03-28 12:57:26 +02:00 |
|
Arseny Smirnov
|
5c7b7d4c85
|
TD_EXPERIMENTAL_WATCH_OS cmake option
|
2021-03-26 18:04:25 +03:00 |
|
Andrea Cavalli
|
78291a96d4
|
Merge commit '70b71d569b81c66b25f8f77d9536b1d41fbf091d'
|
2021-03-21 01:04:45 +01:00 |
|
Andrea Cavalli
|
eb44f72a75
|
Merge commit 'd5f02b006600724c58edb86d356c494e9d30d1d1'
|
2021-03-16 13:07:27 +01:00 |
|
levlam
|
d5f02b0066
|
Avoid int64 multiplication.
|
2021-03-16 14:35:32 +03:00 |
|
levlam
|
1c92315439
|
Fix lpad0 signature.
|
2021-03-15 18:39:02 +03:00 |
|
Andrea Cavalli
|
4a1b295baa
|
Undo breaking database modifications, add tl-parser
|
2021-03-12 12:31:51 +01:00 |
|
Andrea Cavalli
|
1ea79d2739
|
Merge latest commits
|
2021-03-11 18:25:39 +01:00 |
|
levlam
|
29ded98a46
|
Use full paths for file dependencies.
|
2021-03-05 23:17:48 +03:00 |
|
Arseny Smirnov
|
0c90ca3784
|
some cryptography draft
|
2021-02-10 23:25:28 +03:00 |
|
levlam
|
e031a2c6c1
|
Improve Slice::truncate usage.
|
2021-02-04 15:54:12 +03:00 |
|
levlam
|
9e37c85af3
|
Minor improvements.
|
2021-01-27 02:57:59 +03:00 |
|
levlam
|
f5f16a1f5d
|
Add opus extension support.
|
2021-01-26 11:45:36 +03:00 |
|
Andrea Cavalli
|
a79f835de0
|
Add memory_cleanup on tear_down, and add more memory_cleanup.
|
2021-01-12 01:37:17 +01:00 |
|
Andrea Cavalli
|
2e5d5a81bc
|
Merge commit '62c18729f1cf8c5f1b7dc6f0d37edbffd2bb78b5'
|
2021-01-07 19:38:10 +01:00 |
|
levlam
|
62c18729f1
|
Fix td::unique.
|
2021-01-07 04:03:38 +03:00 |
|
Andrea Cavalli
|
85fb357a19
|
Merge commit '82f0386e73b7128a8aafec5bfa7dd825fe94ac39'
Conflicts:
td/telegram/MessagesManager.cpp
|
2021-01-02 12:57:08 +01:00 |
|
levlam
|
82f0386e73
|
Move some functions from misc.h to algorithm.h.
|
2021-01-01 16:01:03 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
677f4f6103
|
Add missing license.
|
2021-01-01 01:33:43 +03:00 |
|
levlam
|
192fd4862f
|
Use td::unique.
|
2020-12-30 18:50:57 +03:00 |
|
levlam
|
18be33a18c
|
Add td::unique helper method.
|
2020-12-30 18:17:22 +03:00 |
|
levlam
|
fc2941763b
|
Fix LibreSSL 3+ support.
|
2021-01-24 21:59:03 +03:00 |
|
Andrea Cavalli
|
17e7e44f6e
|
Merge commit '8139e0d560b25cd2827fb0473e5726319998c10f'
Conflicts:
td/generate/scheme/td_api.tlo
td/telegram/GroupCallManager.cpp
td/telegram/MessagesManager.cpp
|
2020-12-28 19:09:04 +01:00 |
|
levlam
|
3c5c23aeec
|
Improve error message.
|
2020-12-26 20:25:59 +03:00 |
|
Andrea Cavalli
|
3817c4f634
|
Merge remote-tracking branch 'td/master'
|
2020-12-25 20:29:10 +01:00 |
|
levlam
|
c1a1fc881c
|
Fix BufferedStdinImpl destruction.
|
2020-12-24 20:49:08 +03:00 |
|
levlam
|
47e413e0b8
|
Fix BufferedStdinImpl reference counter.
|
2020-12-24 19:17:06 +03:00 |
|
levlam
|
b582eb346a
|
Undo move_as_native_fd changes.
|
2020-12-24 18:43:26 +03:00 |
|
levlam
|
1b92e2d57a
|
Return back ScopeExit usage.
|
2020-12-24 17:16:56 +03:00 |
|