Commit Graph

141 Commits

Author SHA1 Message Date
levlam
1f38124861 Use FlatHashSet. 2022-03-11 21:38:48 +03:00
levlam
b2077f72e4 Fix getWebPageInstantView for loaded web pages with non-loaded instant view. 2022-02-16 19:14:25 +03:00
levlam
15f27455c5 Move other big classes inside FlatHashMap to unique_ptr. 2022-02-11 19:27:32 +03:00
levlam
2b1314295d Check and fix half of FlatHashMap usages. 2022-02-10 00:59:52 +03:00
Arseny Smirnov
86bceb2972 td: replace most of std::unordered_map usages to td::FlatHashMap 2022-02-07 21:21:31 +01:00
levlam
8b92e8f978 Optimize checked insert to std::map. 2022-02-03 16:24:09 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
e8c0b8780f Add CHECK debug. 2021-12-19 18:10:38 +03:00
levlam
60907279fd Add missing checks for close_flag in Timeout callbacks. 2021-11-13 22:37:41 +03:00
levlam
5a02af8c72 Use const reference if range-based for if appropriate. 2021-11-10 20:39:35 +03:00
levlam
616b0e6d6f Improve ResultHandler/NetActor td_ private field name. 2021-11-08 15:20:38 +03:00
levlam
5578ecc6b8 Remove NetQuery id from ResultHandler and NetActor. 2021-11-08 14:19:57 +03:00
levlam
0c1e268706 Don't generate MASK for parsed True fields. 2021-11-01 21:53:23 +03:00
levlam
00a349656d Unify td/telegram/include order. 2021-10-27 17:32:09 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
328c5b57d2 Add Global::request_aborted_error. 2021-10-07 16:36:21 +03:00
levlam
4c803a1a75 Remove uneeded third try in getWebPageInstantView. 2021-10-07 13:00:41 +03:00
levlam
2f4524a949 Return WebPageId through promise. 2021-10-07 12:49:46 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
0ec10947d5 Fix some misprints. 2021-09-06 13:58:40 +03:00
levlam
6beaf41231 Minor improvements. 2021-09-01 20:31:39 +03:00
levlam
aaff89a6c3 Make get_document_object methods const. 2021-08-28 14:16:29 +03:00
levlam
1a2faf5ae6 Add feedback_link to WebPageInstantView. 2021-08-21 10:22:41 +03:00
levlam
9653cc9e3e Add separate get_message_content_media_duration. 2021-08-05 02:09:04 +03:00
levlam
da3b8f93a0 Hide too big media timestamps. 2021-08-04 09:28:53 +03:00
levlam
304280df69 Add message.can_get_media_timestamp_links. 2021-08-04 07:57:27 +03:00
levlam
45bf232417 Fimd media timestamp entities in find_entities. 2021-08-04 04:26:41 +03:00
levlam
389e92f1f4 Add skip_media_timestamps parameter to get_formatted_text. 2021-07-26 22:48:33 +03:00
levlam
5d579af30a Return duration of web page in get_message_content_duration. 2021-07-26 04:33:56 +03:00
levlam
e0c9efc26b Skip bot command entities if needed. 2021-07-22 05:39:16 +03:00
levlam
7e2554d9ac Don't reload all messages with web pages from the server. 2021-07-08 17:37:23 +03:00
levlam
0dc4b5a469 Add source to get_messages_from_server. 2021-07-08 17:09:16 +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
0ad668fc76 Don't try to load from server secret chat messages. 2021-06-29 17:22:12 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00
levlam
6e20aaa428 Add source to get_dimensions. 2021-01-23 22:04:35 +03: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
584b5352ca Replace error message on closing. 2020-12-28 17:18:17 +03:00
levlam
35a9a93fc9 Fix std::...::erase return value usages.
GitOrigin-RevId: d9729ccd619e3b99554f1e1c2262d8826f0a8571
2020-10-08 23:04:40 +03:00
levlam
e0adaebb91 Unify logging of request responses.
GitOrigin-RevId: ae4c0a3881a89aa235baa08c07ec97a914437d8c
2020-09-24 16:08:04 +03:00
levlam
cb3f390a92 Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
2020-09-22 02:15:09 +03:00
levlam
9a8895e043 Add get_log_event_storer convenience method.
GitOrigin-RevId: 0651bb08a5c41917b69836140e3ff512ab571571
2020-09-22 01:39:45 +03:00
levlam
9a92f6d571 Simplify get_photo_object.
GitOrigin-RevId: 08c8fb7fe4eadb4bff56198d5834c708e032979b
2020-07-06 18:45:43 +03:00
levlam
a7bd0c3932 Add photo to *FullInfo.
GitOrigin-RevId: 21346a0880239abe428799fa58b9132abded6f13
2020-07-06 15:26:29 +03:00
levlam
4acf82c506 Add Photo.is_empty().
GitOrigin-RevId: 6dd6aeaaaa703f9cd865598d52b97eb64523fea0
2020-06-23 21:04:26 +03:00
levlam
ef04c17a89 Init photo ID to invalid by default.
GitOrigin-RevId: 072cd8bbd87267e086ed9a280ba5238e5e231a84
2020-06-23 20:50:16 +03:00
levlam
8d0fa5ce77 Add td_api::thumbnail.
GitOrigin-RevId: b74fa62e415816ce63d3bd4415bd2bb8d6aa3f8b
2020-05-31 22:22:15 +03:00