Commit Graph

268 Commits

Author SHA1 Message Date
Arseny Smirnov
be006f6cb4 mtproto::Ping two variants with mtproto_api::ping and mtproto_api::req_pq
GitOrigin-RevId: 196d7af132a791615c867cbdbfa23a2fa48327e9
2019-05-06 18:59:49 +02:00
levlam
21dee3b1d9 Fix g++9 warnings.
GitOrigin-RevId: 5f0565bfaefff9bf41f372f2f249489650985fae
2019-05-01 20:03:27 +03:00
Vitaly Zaitsev
37c83bd39e Added SOVERSION to shared libraries.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-04-30 22:38:06 +03:00
levlam
56163c2460 Update version to 1.4.0.
GitOrigin-RevId: d392c4503f00d8fe0a7ff2cc5e5e29e45af89733
2019-04-30 18:10:01 +03:00
levlam
740880b9ca Refactor WebPagesManager::PageBlock to a separate class.
GitOrigin-RevId: 7a705f0929c1b4419d2cf0693dda747a172dbc28
2019-04-27 03:57:59 +03:00
levlam
c0068f0810 Disable useless warning C4814.
GitOrigin-RevId: f5e7ff2ac34f784c7a40ce79a01ee1d95bdcb869
2019-04-26 05:10:56 +03:00
Arseny Smirnov
a50a86b02a tdweb 0.2.43
GitOrigin-RevId: ceb1e4bd6a06db2bcc2aa080d3900dc35692d53e
2019-04-23 20:59:56 +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
e785ac6bba Better CMake variable expansion usage in if.
GitOrigin-RevId: 28a5d6bbab13a9eacf9b1b8f0ac8eeff1be21556
2019-04-04 22:23:06 +03:00
levlam
2c2866b5fc Add simple QueryCombiner.
GitOrigin-RevId: b863a06adff6ed010424ca42be338c410a487ccb
2019-02-25 06:08:18 +03:00
levlam
3226e859ad Increase version to 1.3.6.
GitOrigin-RevId: a7309b7629746309e13d46662df1b2ded4917d75
2019-02-23 23:05:30 +03:00
levlam
5ef99afec7 Add messagePoll support.
GitOrigin-RevId: 41b93b2708285e4051fc01b856aa14a8c8c5c692
2019-02-19 16:45:32 +03:00
levlam
5d1f93c1c5 Add PhoneNumberManager.h.
GitOrigin-RevId: 7823601e61375efd9e7166add8028d3f5ee6ad1f
2019-02-16 19:01:47 +03:00
levlam
b52a66bf12 Add SendCodeHelper.h.
GitOrigin-RevId: 0e8ad767eb1415856b329f508d8741bf4e7912f7
2019-02-16 18:49:39 +03:00
levlam
60241730da Add td/telegram/files/FileLocation.hpp.
GitOrigin-RevId: a6fd7c026b88006dc0f26694b2299cce2258d6c4
2019-02-08 00:00:26 +03:00
levlam
bc8b5d359c Add FileData.hpp.
GitOrigin-RevId: 2bb4c0469c7d9acfbd6c6f21c82718bd7d4c57df
2019-02-06 03:06:29 +03:00
levlam
3e4f5db2d6 Add additional check for Readline version.
GitOrigin-RevId: b68f71274ce80d55c0de2327c757908471c87ed8
2019-02-01 17:04:18 +03:00
levlam
7d28b73f5e Move DhHandshake to DhHandshake.{cpp,h}.
GitOrigin-RevId: b34d9ae18e2106d3843223bc8609f5a89b6568f6
2019-01-31 14:26:06 +03:00
levlam
5e2a71d8fb Add Query.h.
GitOrigin-RevId: f795d804e9d3feb4f72517dc84bd13bfe7955bc4
2019-01-31 05:37:59 +03:00
levlam
534eab1912 Add PacketInfo.h.
GitOrigin-RevId: 76db525e427aaa8afc0f64473743dffaffdd89be
2019-01-31 05:23:40 +03:00
levlam
b9fc33b7d1 Add TransportType.h.
GitOrigin-RevId: 403b10f5dcc161be411710749c70734cf9a4fc62
2019-01-31 05:13:59 +03:00
levlam
996869d4ca Implement store/parse FileSourceId.
GitOrigin-RevId: ff0d80bf2a8d479dae0cdca2c806a9731ff499d9
2019-01-31 00:37:38 +03:00
levlam
e5400074ce Move FileType to FileType.h.
GitOrigin-RevId: 7e35c0f30b7755755b0583704dcfe344cc28d117
2019-01-20 00:54:29 +03:00
levlam
3c46828749 Move FileDAta to FileData.h.
GitOrigin-RevId: d0724db9881d39ca22fe491dc4809a3f03bf6b2b
2019-01-20 00:26:23 +03:00
levlam
3bc0d8eb9a Add FileSourceId.h.
GitOrigin-RevId: 98707d3c9248fb4873ccb8b1e890bb0926bfed73
2019-01-19 05:44:31 +03:00
Arseny Smirnov
5bba9b0470 SetWithPosition: fixes and tests
GitOrigin-RevId: 7b74a05c72261222a4f43b86eecad668ffd40403
2019-01-18 19:39:19 +03:00
Arseny Smirnov
a75726d77a FileManager: file references draft
GitOrigin-RevId: 8d37ee4b5520497df08f49e598ae91825e74e1ea
2018-12-05 12:32:31 +03:00
levlam
e987178e1c WallpaperManager.
GitOrigin-RevId: fcaf2ef58122484f7a9ee86cb0b9af8ecb39b047
2019-01-15 17:11:00 +03:00
levlam
60e4d27011 Add strongly typed FileDbId.
GitOrigin-RevId: 234c9ec0ecda3f2ba48e0fd00fa06a8ec0188ca4
2019-01-06 23:39:10 +03:00
levlam
fd228ce404 Increase version to 1.3.5.
GitOrigin-RevId: 6ecbaee2ccfacf0f9ae60a6e01d618a212353a58
2018-12-29 01:51:21 +03:00
levlam
71b1dbce7a Add FileEncryptionKey.cpp.
GitOrigin-RevId: d6c07f75fffd007afaeaec92016639f26fffc5c3
2018-12-27 21:38:43 +03:00
levlam
4c5c2422d3 Add FileEncryptionKey.h.
GitOrigin-RevId: e21c5ae48403835fb910e55545b64d6edf4f6651
2018-12-27 21:06:21 +03:00
Arseny Smirnov
3b238f6fba Files streaming
GitOrigin-RevId: 78df1cd44c95380cd4af46f4db809ce28876db1f
2018-11-11 15:38:04 +04:00
levlam
b5ca70530e Update Emscripten build scripts.
GitOrigin-RevId: 2e92e3d3f6ef91ffe7dcf1a60a276c07c09035ca
2018-12-24 04:10:26 +03:00
levlam
a05c43ceeb Add NotificationGroupType.
GitOrigin-RevId: 328adc5df3cbe278008c11d5a35da93da88b7d41
2018-12-24 00:34:40 +03:00
levlam
e2b8b72541 Add td_api::JsonValue support.
GitOrigin-RevId: b79580a42f72c195c7c76d213f277702ee035907
2018-12-10 04:01:02 +03:00
levlam
2b4d076323 Modernize spelling of macOs.
GitOrigin-RevId: 92129b6264af6a04d69d0eb79f942ca20923bb78
2018-12-01 04:15:59 +03:00
levlam
7b4e8c9e12 Increase version to 1.3.4.
GitOrigin-RevId: 81c40d23a07376167adf2cb14369b30aa81417ff
2018-11-29 02:51:10 +03:00
levlam
113e264a5f Add MessagesManager::get_message_notification_group_keys_from_database.
GitOrigin-RevId: 8ad93b1dc1782b5f0bf94d70ca8deba55a6ea58f
2018-11-29 00:51:25 +03:00
levlam
bd531081ad Add Notification.h.
GitOrigin-RevId: e102973d5585fdf346ac01b09bd2262f9c11fd2e
2018-11-26 20:05:06 +03:00
levlam
4240b785a0 Strong typing for NotificationId and NotificationGroupId.
GitOrigin-RevId: 2fe55d97bac2fa689ddb6da855ce32f62362699a
2018-11-10 02:08:47 +03:00
levlam
4605f56d3c Add class NotificationType.
GitOrigin-RevId: 16951bb0dd0d13a1f3332449350fed4a4a1ef13e
2018-11-10 01:56:00 +03:00
levlam
5f23a99fca Add dummy NotificationManager.
GitOrigin-RevId: f8915918dfa91562b7acad45133c1c493affc896
2018-11-09 17:14:02 +03:00
levlam
2fa81be614 Increase version to 1.3.3.
GitOrigin-RevId: 9e23e18639ee02bd2bddd6c4dc813dc516c3dd53
2018-10-27 03:10:08 +03:00
levlam
d0a6ef1f5b Disable maybe-uninitialized warning for GCC >= 7.0.
GitOrigin-RevId: a8c6c74daabac2c77443fa652c94083127f799ae
2018-10-25 18:39:40 +03:00
levlam
44d21ecc4a New API for managing TDLib logs.
GitOrigin-RevId: 60f520027bf16f53b927c72d0151884fda64ebbc
2018-10-24 18:42:40 +03:00
levlam
fbf7f5fd91 Exclude from all tdc target. Now it should be compiled with --target tdc.
GitOrigin-RevId: 88a6aceb36517d66ab3160c5b0194a6abeff4b21
2018-10-22 18:49:05 +03:00
Arseny Smirnov
89545d43e5 Emscripten: MEMFS_APPEN_TO_TYPED_ARRAY=1
GitOrigin-RevId: cf6c070b034289aed706d9dbb2fa9f4b0f74d676
2018-10-15 16:56:50 +03:00
levlam
8974374455 Improve CMakeLists.txt.
GitOrigin-RevId: 64f36ce9859375570c3def248782bcd7ffcab401
2018-10-14 02:15:16 +03:00
levlam
4ab14b620a Move RequestActor to RequestActor.h.
GitOrigin-RevId: 50b21b9832f0a9871f6c2fc54ab45818b04258b8
2018-10-01 02:26:06 +03:00
levlam
514d84e3ab Update version to 1.3.2.
GitOrigin-RevId: 27d08b1ae337ec36af5a52edd008dfc52bcb17fa
2018-09-30 02:50:12 +03:00
levlam
0d31fb4e2b Add DialogDate.h.
GitOrigin-RevId: cbfc7cea409685d8e04e37c856fa30b8b361ba0d
2018-09-29 03:39:27 +03:00
levlam
79a613cf45 Move NotificationSettings to separate header.
GitOrigin-RevId: cb0c2e33a0a075dfea2b70ff671de8db0db36ca0
2018-09-29 03:29:57 +03:00
levlam
b6a8624c60 Move DraftMessage to separate files.
GitOrigin-RevId: acf4722d7c1328ee4048f8ca162060923e0be6fe
2018-09-29 02:45:43 +03:00
levlam
4cf6aba717 Move MessageContent and InputMessageText implementations to corresponding files.
GitOrigin-RevId: d308007a3c850f1969b64a08865787ee7b340b34
2018-09-28 23:57:34 +03:00
levlam
4597689060 Add Dependencies.h.
GitOrigin-RevId: 791b4dc804a8c0b734b027ff348b16bbfceede5c
2018-09-28 04:21:20 +03:00
Arseny Smirnov
ef7b70338e Fix emscripten build
GitOrigin-RevId: 68db203083f4a5e242b3f8efb2e7e86fa31f70bb
2018-09-18 18:13:19 +03:00
Arseny Smirnov
2766e7d16b emscripten: td_get_timeout
GitOrigin-RevId: 920dac2d11ed999019e7faafe47cadf96d06900f
2018-09-18 16:43:16 +03:00
levlam
f207b1eed4 Update version to 1.3.1.
GitOrigin-RevId: 2311e7c80565133d1d95cdf92dd234232ee5c88b
2018-09-13 03:15:06 +03:00
levlam
d9a18a064f Update version to 1.3.0.
GitOrigin-RevId: 769ebff9a53dcf5087ecf691eb1c52dac9a85f7a
2018-09-04 21:26:44 +03:00
Arseny Smirnov
cab28f2cc8 Emscripten: wss support
GitOrigin-RevId: 06ce89660769533f531726b74573a1a422be20d0
2018-09-03 19:53:52 +03:00
levlam
f9cbe247cd Add Wdeprecated flag.
GitOrigin-RevId: 8aa900d7103efd0207f7f0fcb09e3bd2b7387564
2018-08-28 01:08:51 +03:00
levlam
b28ec40407 LanguagePackManager draft. getLanguagePack, getLanguagePackStrings methods.
GitOrigin-RevId: 959e1fd4a76eb5005d8a53c3e88abb3054fb9a5e
2018-07-03 20:28:00 +03:00
levlam
aa13a57a3c Update layer to 82. Contact.vcard support.
GitOrigin-RevId: 302d65351cfaeb6b4e82c594565ab1aef18b2a42
2018-06-26 00:10:53 +03:00
levlam
aeaa195233 Update version to 1.2.4.
GitOrigin-RevId: 62fed13a16fc92dbb3fae722a5cb4c6ec58dbb09
2018-06-16 20:04:53 +03:00
levlam
162e185565 Fix CMake functions case.
GitOrigin-RevId: abf1969eb50248a30ece29bbd4b38f3dace28788
2018-06-12 18:45:37 +03:00
levlam
a72494d721 Support Terms of Service.
GitOrigin-RevId: 389c4ba590a4feb34ac6d801f9097291e87423d8
2018-06-07 21:42:17 +03:00
levlam
cbef086816 Update version to 1.2.2.
GitOrigin-RevId: baed417ea9e9cdb4aa7b27be66ec2d70ba2fb3bd
2018-05-15 11:26:04 +03:00
levlam
bd7a53c936 Update version to 1.2.1.
GitOrigin-RevId: d1edb484c703d7ac1911bd6d45e73042917bf7ed
2018-05-10 22:11:20 +03:00
levlam
0f2769bc77 get_erase_logevent_promise.
GitOrigin-RevId: 8e92413b65a9fdf9848680f4b65568752ea22365
2018-04-28 23:22:28 +03:00
Arseny Smirnov
09600304b9 SecureManager
GitOrigin-RevId: 6728500e0f00dd7b739e862e715a43a4c7eae8e2
2018-04-05 14:18:47 +03:00
Arseny Smirnov
fb79d6f95a Layer 78. Initial Telegram Passport support.
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
2018-03-27 16:11:15 +03:00
levlam
f63a73b6a6 Add MessageEntity.hpp.
GitOrigin-RevId: 424a9918012d2285a04beead79c6edad1fb7ca28
2018-04-02 01:45:51 +03:00
levlam
5ce0a44c31 Fix source encoding for MSVC.
GitOrigin-RevId: 8222dba6aa5a046cbb83aafbf43673f8836332df
2018-04-01 22:46:49 +03:00
Arseny Smirnov
d3be8e7baa SecureStorage encryption functions
GitOrigin-RevId: 8df89a0fb672d83f9f743aac1bd779dd0635c70e
2018-03-26 17:07:04 +03:00
levlam
be48e787bc Update version to 1.2.0.
GitOrigin-RevId: 3f8e087ddc61c7a1aa2db5f51d954eba197d11b6
2018-03-19 16:49:39 +03:00
levlam
f270a2ef18 Add more LTO flags.
GitOrigin-RevId: 5061af1cc5078f0626c0f74cf5b672506d371a80
2018-03-18 00:20:37 +03:00
levlam
a80b8e951a Remove C++ documentation when compiling for .NET. Enable .NET documentation generation.
GitOrigin-RevId: 426774bdad76bf42ceb261029589441961673ac8
2018-03-16 18:29:16 +03:00
Arseny Smirnov
43fc3a21df Send download queries with a small delay (turned off)
GitOrigin-RevId: 91932bb550176ee7d9ff22621e86a42ac6be9317
2018-03-16 12:31:23 +03:00
levlam
3b569010aa Add documentation to ClientDotNet and LogDotNet.
GitOrigin-RevId: 4683cfb7198430314539780fa793898ff6c36e96
2018-03-15 19:25:51 +03:00
Arseny Smirnov
85d10e91c3 Store in db AuthManager in state WaitCode
GitOrigin-RevId: 06df8525c60f4de347c694e8c212a138c151ac4c
2018-03-14 21:04:41 +03:00
levlam
52f45abf65 Handle chatAction timeouts.
GitOrigin-RevId: acd087bf97f6ff39af8111b1c8d984f72f041467
2018-03-13 20:48:08 +03:00
Arseny Smirnov
eabf46c58e LOG(FATAL) throws exception in emscripten
GitOrigin-RevId: 9f2d585b5d85767dd73da30bbb490ae0dfa06354
2018-03-06 14:43:46 +03:00
levlam
e4d76c43c3 Add td_api::getCountryCode.
GitOrigin-RevId: 361b261b17848c5052769e4a0b6ebaa3cc30e769
2018-03-05 00:36:16 +03:00
levlam
d67c5ada3c Fix include directories for tdjson.
GitOrigin-RevId: c9e712ec2c128eed2a6dd59da211eb5b3ba43358
2018-03-04 15:27:12 +03:00
levlam
a4817a41a3 Prevent in-source build.
GitOrigin-RevId: 36bfc1412dd550bdd2fc6744620014332f82cbb9
2018-03-04 04:23:52 +03:00
levlam
b5036975b8 Allow to specify message_ids in td_api::reportSpam.
GitOrigin-RevId: c77dcd89e58c38ac218204230620513c2cdda60d
2018-03-02 19:21:43 +03:00
Arseny Smirnov
1e0a051439 uwp app example
GitOrigin-RevId: b562befe6df6727e55c1431d6981182368be444b
2018-03-02 16:55:55 +03:00
Arseny Smirnov
110f2c5b7b UWP: build scripts
GitOrigin-RevId: 8bbfa1f455a6521f1d823147ddff97768db21da2
2018-02-28 21:19:33 +03:00
levlam
83d845ad32 Move .Net classes to Telegram::Td namespace.
GitOrigin-RevId: 31d5cf030c30d7a1f58099decdcec265dbf6be0a
2018-02-28 04:11:29 +03:00
levlam
b94927c13c Require CMake 3.1 if TD_ENABLE_DOTNET specified.
GitOrigin-RevId: 229e41869dcd640d2454fc8453914f6c8daf9b8b
2018-02-28 02:22:01 +03:00
levlam
c79a57093a Rename TdDotNet to tddotnet.
GitOrigin-RevId: e30e831da932d7c4843a231e6ebb9bac1f6762d6
2018-02-28 02:13:04 +03:00
levlam
6eadf472fe Rename TdWindows to TdDotNet.
GitOrigin-RevId: 0bfff62c224dcbd316534649b119917280b3b398
2018-02-28 02:09:23 +03:00
levlam
9874d08701 Fix CMake.
GitOrigin-RevId: 38fc033a7ad632824393760d157d094002598a00
2018-02-28 01:03:38 +03:00
Arseny Smirnov
70ad2664bd Add initial C# support
GitOrigin-RevId: c0ece19b41ca8e348285df95f9b81b188d3e5835
2018-02-26 21:08:47 +03:00
levlam
81b3afe762 Disable add_cxx_compiler_flag calls for MSVC.
GitOrigin-RevId: 2b440e969d892240bc0e78a8c1b07e9ef74e1cc2
2018-02-22 20:20:22 +03:00
levlam
c3fe3f97ec Accept formattedText in getWebPageInstantView.
GitOrigin-RevId: b9f2345eb170da6cbdbb6c70abf11fa682630802
2018-02-21 00:20:45 +03:00
levlam
a17c3c7ca9 Disable LTO by default. Add CMake option TD_ENABLE_LTO to enable it.
GitOrigin-RevId: 53fd2d4573946bfac27c10953874f96b2e8491d1
2018-02-18 00:27:57 +03:00
levlam
33225f66ae Fix linking zlib to OpenSSL.
GitOrigin-RevId: c7dcc89d4a88a6c665007bfe7b48106829455c2f
2018-02-18 00:24:34 +03:00
levlam
83a5e3ae07 Fix linking to dl.
GitOrigin-RevId: ff7c6e330ecb07aee8b4f614e86bd5a3f54edce8
2018-02-17 23:52:35 +03:00
Arseny Smirnov
f8429cf2b4 Ios build example
GitOrigin-RevId: fb1b29dbc054e6362272f4bda82a17866ee74770
2018-02-14 13:19:12 +03:00
levlam
24c873884f AuthData.cpp.
GitOrigin-RevId: 8ca44a4d07591d785b571e8847acdc6ee3a45638
2018-02-12 12:28:14 +03:00
levlam
154022ebfe Update layer 75:
- Add connected websites support.
- Add flag supports_streaming to video and inputMessageVideo.
- Add new methods for message loading: getRepliedMessage and
  getChatPinnedMessage.

GitOrigin-RevId: 1dc5d367e27722fe9c8d2765f62ed80176eea2ce
2018-02-07 02:31:38 +03:00
levlam
6c706f45e7 Increase TDLib version to 1.1.1.
GitOrigin-RevId: 0ba6d376f892d751dc74a4f0dbf9aaeb09f484ca
2018-02-04 00:59:09 +03:00
levlam
15dce80352 Update version to 1.1.0.
GitOrigin-RevId: 3b228663e428570879271a4ebdcd3252bc0b863f
2018-01-31 21:23:39 +03:00
levlam
d7ecc96113 Update layer to 75. Support entities in captions.
GitOrigin-RevId: a633d5d57c52794da0fc1b6de04f4ff1a4ed00fd
2018-01-30 20:06:54 +03:00
levlam
a47d5d5511 Return whether Log::set_file_path succeded or not.
GitOrigin-RevId: a928f8691ebedfd7451bf8bd7957071786b50349
2018-01-28 19:38:59 +03:00
levlam
18e7b0816d Add set_fatal_error_callback to public Log interface.
GitOrigin-RevId: 3e7c3bb97d86fa753deae864fdf574de1de1aee4
2018-01-24 18:45:57 +03:00
levlam
fe133efefc Allow to create chats without network request.
GitOrigin-RevId: f17bbe43c58246b6ab2bd48a746b00cae5cd1865
2018-01-24 00:45:26 +03:00
levlam
704053580f Java-binding: move toString implementation to native code.
GitOrigin-RevId: 7f9adc42ed33e3218aefedb45ec8e858bd60be8b
2018-01-22 08:24:47 +03:00
levlam
d8f13abb2c Make JNI-bindings package-agnostic.
GitOrigin-RevId: a3a66de7561cf0ea9a3faf0b26bda1c34de7d317
2018-01-21 14:45:24 +03:00
levlam
5895f817d8 Support missed device token types, better names for 'token' fields.
GitOrigin-RevId: 2bf86a45e30387a8bf0ee0aa93c1c795f402d138
2018-01-19 18:04:16 +03:00
levlam
4a713beee1 Improve td_api::getPublicMessageLink: add possibility to get public link for media album, return HTML-code for message embedding.
GitOrigin-RevId: 1a7c774eec4dfde60d460d097be672120d3f9c54
2018-01-17 00:27:16 +03:00
levlam
ee37765a24 Change version to 1.0.2.
GitOrigin-RevId: 3ecbb182624b1ac10b72a34bcff42df24cfeaa5d
2018-01-16 18:06:35 +03:00
levlam
8eb46f6715 Improve Java binding.
GitOrigin-RevId: ec10cb32f546a1249f4fe5f309eaff7488c31182
2018-01-15 16:47:24 +03:00
levlam
3eebb16020 Support other_user_ids in registerDevice.
GitOrigin-RevId: 7d14fc21be9ebb56f3d759746f6a11cd5bd78c87
2018-01-10 03:18:03 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00