Commit Graph

1535 Commits

Author SHA1 Message Date
levlam
082a132edc Add Variant debug.
GitOrigin-RevId: 49cd9c29f8d2b9db908f0f13c0ba149598008c2e
2018-10-26 17:27:37 +03:00
levlam
28bfa4c4a6 Fix some MSVC Analyzer warnings.
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
2018-10-26 17:11:20 +03:00
levlam
1f216df1d8 Fix C26451 warning.
GitOrigin-RevId: 7c7fa7df4078dec15dfdc3db2df30ab5be234b5b
2018-10-25 21:29:10 +03:00
levlam
df71b93768 Check return values of read, write and pipe in benchmarks.
GitOrigin-RevId: f6ebba80d0b2c09a9918fde5a14afd532f61897a
2018-10-25 18:48:17 +03:00
levlam
d0a6ef1f5b Disable maybe-uninitialized warning for GCC >= 7.0.
GitOrigin-RevId: a8c6c74daabac2c77443fa652c94083127f799ae
2018-10-25 18:39:40 +03:00
levlam
570a59f1d4 Simpilfy MutableSlice constructor (behavior is defined since C++11).
GitOrigin-RevId: 77c07d8abc0b6c10f24e95f61811fe6d5ca3af58
2018-10-25 18:10:14 +03:00
levlam
5368c96a41 Add parse_message function.
GitOrigin-RevId: 8bada6f99333add3548317ccca2ca4b5c8bb2136
2018-10-25 18:00:49 +03:00
levlam
2ca74ffacf Add debug.
GitOrigin-RevId: 777b78434c43fc443c980c1b8859184ffe0bce17
2018-10-25 15:49:30 +03:00
levlam
8e11f8ff1b Add debug.
GitOrigin-RevId: 68545a71066ca1f6b2a87e2da0f3632655a7f006
2018-10-25 01:37:43 +03:00
levlam
1e1bc31d9e Add debug.
GitOrigin-RevId: 2a662b7db120e83ee2b2bd64c8b9ac701c619a89
2018-10-24 23:03:48 +03:00
levlam
da06b62499 Improve zlib error messages.
GitOrigin-RevId: 0a630e21e3dd142cefdcc16dc4478f108d0e3a66
2018-10-24 22:56:48 +03:00
levlam
923cf40de6 Possibly fix random_id_to_message_id correspondence.
GitOrigin-RevId: 279fc911a03342796a2200b1edad5f27726be5fd
2018-10-24 22:53:31 +03:00
levlam
043602bfc2 Add {add,delete}_random_id_to_message_id_correspondence functions.
GitOrigin-RevId: 7701ea29659c355da408e97bf642529113e9d7ff
2018-10-24 22:49:50 +03:00
levlam
54ec85ff22 Add missing Logging.* files.
GitOrigin-RevId: d1aec3ed0c54ee93b69fffc930b2ebe2665356cf
2018-10-24 22:15:55 +03:00
levlam
f571a79f13 Add more debug.
GitOrigin-RevId: 2c1b631964547b2b5ba9440bb41af1ae65d5b1cf
2018-10-24 22:15:32 +03:00
levlam
de72a4e811 Add debug.
GitOrigin-RevId: fe72382facc645f11584329c7dab827ad53cb8c0
2018-10-24 22:06:13 +03:00
levlam
8aab98871e Fix is_eof in case of unsuccessful read.
GitOrigin-RevId: b5a48f7818a02f6d0cf16b11a0745cf7fdeff326
2018-10-24 21:57:47 +03:00
levlam
ed53b1a819 Better error message on broken database.
GitOrigin-RevId: 3f26c55916d5dcdf0b53993d82b61b5fa7ee56ac
2018-10-24 21:48:37 +03:00
levlam
7b0d468aeb Init call in phoneCallAccepted just in case.
GitOrigin-RevId: 152e8564bceb3316c730a3a145120b508874aefc
2018-10-24 21:44:14 +03:00
levlam
954405313a Fix is_call_id_inited.
GitOrigin-RevId: 07e3c7e8eca28f0741032d0dc69f2a1f38f3f071
2018-10-24 21:38:48 +03:00
levlam
2897a3b431 Add source to get_input_phone_call.
GitOrigin-RevId: 8bda7b246c8d15ad56de259f3f8d61f1c87f389c
2018-10-24 21:37:12 +03:00
levlam
94d28ab263 Fix wrong check for call_id.
GitOrigin-RevId: d44c4f5c67ddc59d09f741f2d7f2d0d94ee2365a
2018-10-24 21:33:06 +03:00
levlam
3bd2eb547e Add on_send_message_success debug.
GitOrigin-RevId: a2c4ae66baa7d0aa1b2b1a96771d06bb138822f2
2018-10-24 21:11:56 +03:00
levlam
fccd0c39eb Make Client.Execute static in C# binding.
GitOrigin-RevId: d31bf0d0e6fcf2a762d209f6d62127bd6eaa09e7
2018-10-24 20:23:47 +03:00
levlam
44d21ecc4a New API for managing TDLib logs.
GitOrigin-RevId: 60f520027bf16f53b927c72d0151884fda64ebbc
2018-10-24 18:42:40 +03:00
levlam
4852e2940b Fix new verbosity level in td_api::testSetLogTagVerbosityLevel.
GitOrigin-RevId: 1c61e124f711c87cdfe76ef76e332785a59a9ed2
2018-10-23 17:01:56 +03:00
levlam
bd2433e794 Supoort for CMake 3.0 in Java example.
GitOrigin-RevId: 645e062a53c389c00bc7653556409d37d777f2d6
2018-10-23 04:36:24 +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
levlam
92fbabbe1a Fix call to get_channel_difference.
GitOrigin-RevId: 4594b60bbdceacded2f540ccc6a3c0d9fc5c16c6
2018-10-22 18:19:39 +03:00
levlam
ae585729aa Ignore EAGAIN in mkdir (happens in Android).
GitOrigin-RevId: 1d5ab4e698de8b74d61d06e84d4ac27d84020e91
2018-10-22 18:08:51 +03:00
levlam
d992c895d0 Ignore unsuitable bots in getTopChats.
GitOrigin-RevId: a669a09cddc1bd1e2f5fce7483346aad27ddc6e4
2018-10-22 16:47:41 +03:00
levlam
73440a8dea Workaround clang ICE "ran out of registers during register allocation" (2).
GitOrigin-RevId: 9a0c5a0b65bb6c7765ab28c86116c482191934e5
2018-10-22 02:02:52 +03:00
levlam
00c5033386 Add more checks for message validness.
GitOrigin-RevId: 5bc63465eb68b305f9b60a3b73c9669386d045e6
2018-10-22 02:01:55 +03:00
levlam
5b603d0dd7 Fix misprint.
GitOrigin-RevId: 22e684341c9484d9f02696651cc3997983992cc8
2018-10-22 02:00:34 +03:00
levlam
7d751220a7 Fix warning.
GitOrigin-RevId: f4f9e41fae377de204eadfbc45408703a3d7c384
2018-10-21 05:11:56 +03:00
levlam
81890f309f Workaround clang ICE "ran out of registers during register allocation".
GitOrigin-RevId: d977f131b117c3d3907e505c6245ff587b7c6db0
2018-10-21 01:36:26 +03:00
levlam
288b2efd02 Improve README.
GitOrigin-RevId: d3e144b6e0b8760a29b1c7a4722d644cf3de18a4
2018-10-16 19:29:09 +03:00
Arseny Smirnov
89545d43e5 Emscripten: MEMFS_APPEN_TO_TYPED_ARRAY=1
GitOrigin-RevId: cf6c070b034289aed706d9dbb2fa9f4b0f74d676
2018-10-15 16:56:50 +03:00
levlam
803602c4d1 Make tdnet dependency on OpenSSL private.
GitOrigin-RevId: 76331149d0d1e77ed0c4a3505ffe3568d98c0c01
2018-10-15 11:23:51 +03:00
levlam
1d32712f6a HttpReader: allow empty filename.
GitOrigin-RevId: ad65a2e603d4628c6a4d29d26300a113303d0c27
2018-10-14 19:08:15 +03:00
levlam
f5ea140bc2 Update clang-format to 8.0.
GitOrigin-RevId: 170be47e4b47607a2bca81d2ed6b5b3d547982ca
2018-10-14 04:01:02 +03:00
levlam
24a66bf9e7 Replace link to example folder with link to README.
GitOrigin-RevId: e5f29161dc487b443fde6163a6a185079b26a565
2018-10-14 02:53:48 +03:00
levlam
776ab59c8d Exclude sponsored chat from unread counts.
GitOrigin-RevId: 3bf1951938b6cf2c7f9a9e3b4c67554c8202f9fe
2018-10-14 02:51:35 +03:00
levlam
8974374455 Improve CMakeLists.txt.
GitOrigin-RevId: 64f36ce9859375570c3def248782bcd7ffcab401
2018-10-14 02:15:16 +03:00
levlam
c865b234bf Fix warning.
GitOrigin-RevId: cab219458f63f61649d703ae60e2936043b15c5e
2018-10-14 02:14:19 +03:00
levlam
b7a779db3b Add get_update_unread_*_count_object functions.
GitOrigin-RevId: 9f5c53acaad72ad7288882691232f7e7c85d8127
2018-10-09 17:12:10 +03:00
levlam
6dbef6ef76 Fix returning invalid Unicode from parse_html.
GitOrigin-RevId: 9277022a53d23ac5c3eb1427eb48bd886b789d09
2018-10-09 16:27:40 +03:00
levlam
041896ab8d Copy notification settings to newly created secret chat from private chat.
GitOrigin-RevId: 5c2e0a7eba59f41fcdbe70ab134299620250e907
2018-10-08 23:42:24 +03:00
levlam
f2298ce27d Fix errors handling in some ResultHandlers.
GitOrigin-RevId: 5aa4c8b7d53fa55ed6a750e3815ff1337cb5ebcd
2018-10-08 22:18:44 +03:00
levlam
872cf6e10d Add local locking to FileFd::lock.
GitOrigin-RevId: 4ad3e15f9952b1c68c879182a0f10dd5cad270f3
2018-10-08 21:18:06 +03:00