Commit Graph

1125 Commits

Author SHA1 Message Date
levlam
53c3e79197 Move class HttpDate to tdutils. 2024-05-20 13:46:32 +03:00
mikhnenko
fd3154b287 Moved the use of methods marked constexpr from the 20th standard to forward declared types 2024-05-17 21:57:53 +03:00
levlam
275cf20362 Minor improvements. 2024-04-24 01:00:43 +03:00
iliavy
98a24f41aa Add proxy methods to maximize socket buffers 2024-04-23 20:47:51 +03:00
iliavy
27d105ef51 Move maximize_buffer to NativeFd 2024-04-23 20:47:51 +03:00
levlam
d7203eb719 Remove explicit namespace qualification. 2024-03-31 21:13:57 +03:00
iliavy
a65e820fc8 Support maximize_buffer on Windows 2024-03-31 21:12:00 +03:00
levlam
11a35768b7 Fix some plural spelling. 2024-03-28 02:03:03 +03:00
levlam
f195fcd6db Fix misprinted triple characters. 2024-03-27 22:25:58 +03:00
levlam
0c3da400d9 Pass equality comparator to is_hash_table_key_empty. 2024-03-21 18:43:47 +03:00
levlam
b41f3219dc Fix uname on visionOS by @vincentneo. 2024-03-12 09:43:49 +03:00
levlam
44b42cc659 Support visionOS in TDLib. 2024-03-11 22:47:54 +03:00
levlam
0a3fa80e40 Remove another unused field. 2024-02-29 19:32:49 +03:00
levlam
fe6201556b Fix GCC 4.9 compilation errors. 2024-02-22 13:08:31 +03:00
levlam
ba2f63f8b0 Remove LambdaPromise debug to avoid compiler errors because of #define lambda(...). 2024-02-22 00:57:54 +03:00
levlam
afb8524392 Minor fixes. 2024-02-07 17:50:57 +03:00
levlam
d2680fff48 Move include of utf8.h to tl_parsers.cpp. 2024-02-04 22:12:18 +03:00
levlam
c95cb5d75c Minor imrovements. 2024-01-25 20:06:07 +03:00
levlam
741c80cf13 Fix log message. 2024-01-24 16:06:43 +03:00
levlam
942e5fc613 Add LambdaPromise debug. 2024-01-20 12:54:17 +03:00
levlam
1147dfc6fb Remove unused format::lambda. 2024-01-20 12:05:49 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
511483e12c Fail HTTP request reading if unexpected end of data reached. 2023-11-25 02:34:37 +03:00
levlam
247c28d6e7 Fix UTF-8 encoding check of a string. 2023-11-15 13:44:29 +03:00
levlam
efa6e20ba2 Improve error messages from JsonObject::get_..._field. 2023-11-15 13:40:32 +03:00
levlam
9c9c1bb51c Minor improvements. 2023-10-28 00:06:56 +03:00
levlam
605a3af4b2 Add and use td::any_of. 2023-10-21 20:41:31 +03:00
AYMEN Mohammed
50c3bf2e4f
Fix typos. (#2641) 2023-10-18 19:12:31 +03:00
levlam
e0731b1935 Don't use deprecated EM_LOG_FUNC_PARAMS flag. 2023-10-05 23:23:20 +03:00
levlam
ceaa37fe0d Simplify set_dialog_is_pinned implementation. 2023-10-01 21:49:15 +03:00
levlam
16cec9c2fb Add td::add_to_top. 2023-10-01 20:59:29 +03:00
levlam
6076e0e2a6 Pass field names as Slice for another 15% speed up. 2023-09-29 14:05:21 +03:00
levlam
d84a021a48 Use StringBuilder in TlStorerToString to speed up it 2 times. 2023-09-29 13:48:22 +03:00
levlam
811f90da2f Add StringBuilder::append_char. 2023-09-29 13:13:56 +03:00
levlam
d2d0a21d10 Update Unicode tables to 15.1. 2023-09-26 14:48:15 +03:00
levlam
6022b2ce77 Improve parameter names. 2023-09-11 15:55:46 +03:00
levlam
40378be487 Delete deprecated JsonObject accessors. 2023-08-18 15:06:16 +03:00
levlam
5c63b80cce Don't send updateChatActiveStories about chats with unknown active stories. 2023-08-16 17:34:36 +03:00
levlam
ed00732cd2 Move vector and pair formatting functions to StringBuilder. 2023-08-10 15:44:47 +03:00
levlam
572455ea54 Simplify and optimize character printing in format.h. 2023-08-08 17:18:21 +03:00
levlam
7532774bf0 Use append_utf8_character_unsafe in json_string_decode. 2023-08-08 16:33:37 +03:00
levlam
7887bbdb35 Optimize json_string_skip. 2023-08-08 16:26:28 +03:00
levlam
2bc8ec27df Optimize json_string_decode by 30-400%. 2023-08-08 16:14:04 +03:00
levlam
28961b7d0e Add more common.h includes. 2023-08-05 16:09:36 +03:00
levlam
830da27abf Minor improvements. 2023-08-05 15:31:42 +03:00
levlam
b8859da77d Disallow JsonObject copying. 2023-07-31 20:01:02 +03:00
levlam
dd68528ae4 Add JsonObject constructor. 2023-07-31 19:47:55 +03:00
levlam
a7b6f55d7a Add and use JsonObject::foreach. 2023-07-31 19:38:53 +03:00
levlam
a5a408290e Add field getters to JsonObject class. 2023-07-31 16:30:39 +03:00
levlam
44d4fcfa07 Add test for get_json_object_*_field. 2023-07-31 15:54:36 +03:00