Commit Graph

209 Commits

Author SHA1 Message Date
levlam
082ba9e020 Add document contents to pushMessageContent.
GitOrigin-RevId: 5baa4853f4e47d9f50f23ca74ebbed0369f17558
2019-04-09 23:39:41 +03:00
levlam
46a0b0036d Add Document.hpp.
GitOrigin-RevId: e26a6aa44453c2a5e2216d91782e94f5bda9686d
2019-04-09 18:52:53 +03:00
levlam
dc79cdc0b1 Add Document class.
GitOrigin-RevId: e1a5a8235f341cf0955ee37086a99a17e7b123de
2019-04-09 18:38:57 +03:00
levlam
a4ab41f8f8 Fix warning.
GitOrigin-RevId: 0f21169fe0d8b0ea5417f6e2a516d36f46502963
2019-03-01 16:09:06 +03:00
levlam
8edd3b3811 Fix adding thumbnails to file_ids list.
GitOrigin-RevId: 880d7b1720050685b502925aa281c6de4945e1fb
2019-02-28 21:40:57 +03:00
levlam
58f63d36d6 Fix includes.
GitOrigin-RevId: d633dc842591cd28a03f9fba6974a171926ed229
2019-02-22 23:15:43 +03:00
levlam
4d5fb2902c Unify names of ParserT/StorerT classes.
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
2019-02-21 20:54:20 +03:00
levlam
25018bdf12 Fix another g++ CE.
GitOrigin-RevId: 1c28f665abe00068b20565f937da695981f9e9fa
2019-02-13 02:51:46 +03:00
levlam
eb9ead582f Remove unneded includes of td/utils/loggging.h.
GitOrigin-RevId: 82a3b506dba5c9d5267dc0e2504a7093a7fa87db
2019-02-12 23:48:16 +03:00
levlam
130b49a524 Various include and other fixes.
GitOrigin-RevId: 68e03e0636cd4cff3e6fa876342ba16453630f15
2019-02-12 19:48:52 +03:00
levlam
60241730da Add td/telegram/files/FileLocation.hpp.
GitOrigin-RevId: a6fd7c026b88006dc0f26694b2299cce2258d6c4
2019-02-08 00:00:26 +03:00
levlam
bf9842bff1 Update layer to 89.
GitOrigin-RevId: acdaebced325dd66a169264621567b17dd42762c
2019-02-07 23:25:27 +03:00
levlam
41d162f62b Fix list item labels.
GitOrigin-RevId: c24d6efcc9f2dc36870a047a227f7af0ef93275f
2019-02-07 21:45:08 +03:00
levlam
d03c74e9f7 Fix get_web_page_file_ids.
GitOrigin-RevId: cb8c7067a05e1136ae8588df3aee5e3327de00c3
2019-02-07 21:05:40 +03:00
levlam
caf713367c Instant view 2.0 support.
GitOrigin-RevId: 8305ea5bb716061f5188bfbb2f6765760d543f59
2019-02-07 19:30:59 +03:00
levlam
3c8f56fc66 Support pageBlockMap.
GitOrigin-RevId: f2c4c6f6d84135d10fc1f53fb13290107827a89f
2019-02-07 18:28:49 +03:00
levlam
e34d46ac6a Support pageBlockRelatedArticles.
GitOrigin-RevId: a527bddf568842f986c87830ce8f9d53f6a53c09
2019-02-07 17:44:09 +03:00
levlam
5a8566bac2 Support pageBlockDetails.
GitOrigin-RevId: 82e90d7e01dc4f6bff19a64a11958fc42ff5c3a6
2019-02-07 16:38:11 +03:00
levlam
558a0f9b35 Support PageBlockTable.
GitOrigin-RevId: 602d58aaba14e6433c624fe08f8d12be20b2f1b2
2019-02-07 02:58:27 +03:00
levlam
7dbb666a3b Support new PageBlockList.
GitOrigin-RevId: 763af27e6aa32daa8a30ecb9d87a9c0e7152a5ce
2019-02-06 23:20:11 +03:00
levlam
4017c2098c Save web_page_id in RichText::Url.
GitOrigin-RevId: a3981f801c2704f0e898f330517209cfb26d27f6
2019-02-06 21:16:12 +03:00
levlam
9d81e82721 Support pageBlockPhoto URL.
GitOrigin-RevId: 12c91546ccfe87f3fa995933dea81a705f5009c0
2019-02-06 21:00:00 +03:00
levlam
13b54369b7 Support pageBlockKicker.
GitOrigin-RevId: c2eb81a7041b62ddc2214eb3e9bfcbf87a4f2818
2019-02-06 03:50:38 +03:00
levlam
c6bbc4265e Support unknown dimensions in pageBlockEmbed.
GitOrigin-RevId: fb808fb13abfa0d2f6b4c460e5102984c149ef3d
2019-02-06 03:17:20 +03:00
levlam
d06e833626 Optimize get_web_page_file_ids.
GitOrigin-RevId: 59489eb0b5465a02b08a3fc8880a352440852163
2019-02-06 02:58:01 +03:00
levlam
30d9664e3e Update WebPagesManager::get_file_ids.
GitOrigin-RevId: bd729d5fe0753c0d4b671834d55ff54b6cd177ac
2019-02-06 02:46:27 +03:00
levlam
fb3239d183 Support pageBlockCaption.
GitOrigin-RevId: 7f53b8a1cb63c2d78ca7ce58a6466daa1b818abe
2019-02-06 02:24:29 +03:00
levlam
f8ea817b89 Support richTextInlineImage.
GitOrigin-RevId: 36528db98c0da35f342e1dc893ca66050e639ad8
2019-02-05 22:41:25 +03:00
levlam
029d0ed8b1 Support 4 new kinds of rich text.
GitOrigin-RevId: 757e64355bb59a9bf4d205e1c6c01335398e2d1f
2019-02-05 21:08:00 +03:00
levlam
a43296fce1 Update layer to 88.
Add webPageInstantView.is_rtl flag.
Add callStateReady.allow_p2p flag.
Add userPrivacySettingAllowPeerToPeerCalls.
Add session.is_password_pending flag.

GitOrigin-RevId: 594dc91a0c38840a224315ca841f74b47e1bf0c0
2019-02-05 01:08:15 +03:00
levlam
996869d4ca Implement store/parse FileSourceId.
GitOrigin-RevId: ff0d80bf2a8d479dae0cdca2c806a9731ff499d9
2019-01-31 00:37:38 +03:00
levlam
542eb9e5c0 Create web page file source.
GitOrigin-RevId: 3e920c90df20cf24a1911124323ef4b258b72463
2019-01-22 01:32:13 +03:00
levlam
dcdf4fae36 Remove non-const WebPagesManager::get_web_page_instant_view.
GitOrigin-RevId: 344a549f1585c8b52156d96a5ed68b36818e3fd2
2019-01-22 01:06:24 +03:00
levlam
e8d3674eb4 Add get_web_page_file_ids method.
GitOrigin-RevId: f25119ed147005068f9ff709813ba10e8810fc57
2019-01-22 00:59:55 +03:00
levlam
73d09e1816 Remove non-const WebPagesManager::get_web_page.
GitOrigin-RevId: 87352c2c4f21142ae18ce163e2a84bd3939e09f8
2019-01-21 23:55:26 +03:00
levlam
7ff1b83a24 Add combine helper method for arrays.
GitOrigin-RevId: a67c7a72525a9853072ad93fca47cd573a2da764
2019-01-19 04:09:58 +03:00
levlam
e22e23a5ff Add source to on_get_user and on_get_chat.
GitOrigin-RevId: a3f187dc0d7d981df6ca3f2566f66678b4ad4774
2019-01-12 06:48:39 +03:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
ea06aa19d6 Forward-declare BinlogEvent.
GitOrigin-RevId: 4ea183c04ec8e5ffd0c2851db399b2a2155557ea
2019-01-06 22:11:02 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
41b1a28e50 Allow instant view to be deleted.
GitOrigin-RevId: 5d8b26d3b583dc873b7fccf620317a4f04a19ae6
2018-11-29 15:43:25 +03:00
levlam
51eec319b8 Fix some includes.
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
2018-10-28 20:30:47 +03:00
levlam
34f5f96afd Add debug.
GitOrigin-RevId: d1a4df496847f44fa412dd0e0ac071b460bdf5d2
2018-10-28 18:21:27 +03:00
levlam
0c64b2cf9c Fix some spelling.
GitOrigin-RevId: 99848b019fce855bf50380ce6ffc2865a007161d
2018-10-07 23:40:58 +03:00
levlam
f948956bf7 Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
levlam
f08c0180b4 Const-correct tl::unique_ptr.
GitOrigin-RevId: b72a92a7169973c2d95e410cfbfed668a412e7e7
2018-09-21 20:52:22 +03:00
levlam
46ebd1b240 Include SqliteKeyValue only in cpp.
GitOrigin-RevId: b89c988f6da1d480f68ecb71ef5390e9376faac1
2018-07-18 04:11:48 +03:00
levlam
e2a90b9edf Fix some string to Slice conversions.
GitOrigin-RevId: 79ddee1a90c633cc1b1df5c8e3d9917027bad0f3
2018-07-08 02:47:46 +03:00
Arseny Smirnov
80d4292493 BinlogHelper:: -> binlog_
GitOrigin-RevId: 94cf4585c4f61be2929c5a7cd1a3628b911bc4c5
2018-06-28 16:52:40 +03:00
levlam
8cb1a682cc Ignore negative cache in getWebPageInstantView.
GitOrigin-RevId: 3d4b5f4db209e6c82ed576360ef5867f2c85b9a7
2018-04-22 20:26:00 +03:00
levlam
184af85bfc Update layer 78: venue_type, email code length.
GitOrigin-RevId: c10dc49dd0ecd467a78b17081239305035f6e642
2018-04-09 21:06:37 +03:00
levlam
92e9550ebd Add source to get_input_message_entities.
GitOrigin-RevId: 505c9c96286e7e6026902cbf1b92f1cc3142f5ad
2018-04-02 01:10:22 +03:00
levlam
c3fe3f97ec Accept formattedText in getWebPageInstantView.
GitOrigin-RevId: b9f2345eb170da6cbdbb6c70abf11fa682630802
2018-02-21 00:20:45 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
85da530056 Fix getRepliedMessage.
GitOrigin-RevId: afc96585c23b0bbc6c2a51f0b431ae92287901eb
2018-02-08 15:54:25 +03:00
levlam
d7ecc96113 Update layer to 75. Support entities in captions.
GitOrigin-RevId: a633d5d57c52794da0fc1b6de04f4ff1a4ed00fd
2018-01-30 20:06:54 +03:00
levlam
bd145f18ac Synchronously preload web pages for messages loaded in on_get_history_from_database.
GitOrigin-RevId: 496e0a42324cbae0bb83e6c50bf977b4a97d7c2a
2018-01-06 23:53:24 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00