Commit Graph

8948 Commits

Author SHA1 Message Date
levlam
cffa49cf4e fix td::min.
GitOrigin-RevId: 237cf4f2d6e068c344c1ff4d6d410ce07ae5f6c3
2018-02-12 14:19:47 +03:00
levlam
cab1038f62 Fix include.
GitOrigin-RevId: 942ebe1d01608f33b30fccc5e52a88ed698a49d0
2018-02-12 13:54:27 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
24c873884f AuthData.cpp.
GitOrigin-RevId: 8ca44a4d07591d785b571e8847acdc6ee3a45638
2018-02-12 12:28:14 +03:00
levlam
b2d9b5738c Move ObfuscatedTransport::init implementation to cpp.
GitOrigin-RevId: 7e69d147dffce3ac1cd1254959b9e52ece5d50ca
2018-02-12 12:01:11 +03:00
levlam
389ff96082 Move some implementation to cpp.
GitOrigin-RevId: b554d19ab8d8a6826c7f879d660c75d15c0d944a
2018-02-12 11:40:52 +03:00
levlam
f4069240e5 Periodically ping server by bots.
GitOrigin-RevId: 3e173e32d564f50c352b96a6ad2d04b7ec72af58
2018-02-11 21:33:32 +03:00
levlam
be5d7a7059 Add warning when date is greater than known server time.
GitOrigin-RevId: 365fe5f127671336a633a2ca8fab10e3ea313e2b
2018-02-11 20:21:18 +03:00
levlam
4a3a5e1a50 Disable read messages for bots.
GitOrigin-RevId: b6e2d6a75296e6029db66960fceb69b568557e92
2018-02-11 19:55:46 +03:00
levlam
2cd12d5049 Add source to get_message_entities.
GitOrigin-RevId: af699950241416adb082a08a8f6c4e106f0fb24d
2018-02-11 19:43:58 +03:00
levlam
cc24f0edcc Silence forward info change warning when only author_signature changes.
GitOrigin-RevId: a0962b6e52c473902208ba84f9a6751889254c17
2018-02-11 19:25:53 +03:00
levlam
6b927449eb Fix some includes.
GitOrigin-RevId: 08add4bab90bb23e0e71340ac647ce8cafc4b900
2018-02-11 18:58:18 +03:00
levlam
14edf49084 Remove printf-like logging.
GitOrigin-RevId: 359e29aea05ee57eff7ab1feec134cbd9cbdabc9
2018-02-11 18:37:30 +03:00
levlam
a7e9fb5e62 Remove more printf logging.
GitOrigin-RevId: f5573d9676426e21fde45bf4dace19ae53943e3c
2018-02-11 17:52:41 +03:00
levlam
6e3cbf42dc Remove calls to Logger.printf.
GitOrigin-RevId: 3b5452fc4bd705ce5cf98d360247ec0146923e2d
2018-02-11 17:07:16 +03:00
levlam
834fa51b45 Use to_integer_safe instead of sscanf in mem_stat.
GitOrigin-RevId: a1ce7c920596c4d4198488048d1592b72d871ebe
2018-02-11 16:05:51 +03:00
levlam
b6e6eac530 Use FixedDouble.
GitOrigin-RevId: f39998443780a33cd892ecc9fec8b9d666a82489
2018-02-11 15:41:23 +03:00
levlam
13def6a897 FixedDouble.
GitOrigin-RevId: 6779a7885b0ddfa80321b3ccd368524725b27f59
2018-02-11 14:38:08 +03:00
levlam
ecf5405d86 Use fixed format in double->string conversion by default.
GitOrigin-RevId: 5fdffeefb6f843ff3290bda21b2a71d5ea275f3f
2018-02-11 12:47:11 +03:00
levlam
e3867152e7 Silence now possible warning.
GitOrigin-RevId: 1b431d3d20c512239445f388934eba14bd8f9522
2018-02-10 04:14:27 +03:00
levlam
5a80fc5621 Change test logging verbosity level.
GitOrigin-RevId: 6f3218f8170b69c8cfb97c31cf3275d80bad4962
2018-02-10 04:01:50 +03:00
levlam
df4f8b0809 Better locale changing.
GitOrigin-RevId: 51700edad491f43264769b932961a3eae1c7fd34
2018-02-10 00:52:03 +03:00
levlam
eb8c28c711 Better locale changing in test.
GitOrigin-RevId: 10ea1d33eaadcda638b9f03204523118d7c85e53
2018-02-09 20:05:54 +03:00
levlam
6277672f3e tg_cli: better locale changing.
GitOrigin-RevId: 1c8c5290c49687174df5a77d50bf9398b3c285c6
2018-02-09 20:02:01 +03:00
levlam
3abe871746 Set nosound flag for InputMessageVideo.
GitOrigin-RevId: b5706f621abe629360b5cacd3106c5764f3744a8
2018-02-09 19:35:30 +03:00
levlam
c0223de330 Fix handling of requests with the same id.
GitOrigin-RevId: dd1a173c497139297fcff5197a3e9762674a8274
2018-02-09 18:59:13 +03:00
levlam
4614933a1e Fix closing Td before initialization.
GitOrigin-RevId: fcdb17b70d2dc0ac2f18dfe98aa3bb535ce50829
2018-02-09 13:29:50 +03:00
levlam
7c4ecdf650 Better getChatPinnedMessage.
GitOrigin-RevId: 092ac37109dd8e73182dd4b11a98ffe777841dc4
2018-02-09 01:54:39 +03:00
levlam
85da530056 Fix getRepliedMessage.
GitOrigin-RevId: afc96585c23b0bbc6c2a51f0b431ae92287901eb
2018-02-08 15:54:25 +03:00
levlam
607a485bdf Remove variation selector-15 from emoji just in case.
GitOrigin-RevId: 843a05314c7f993963d721b7c149a0a37d0531ac
2018-02-08 14:42:59 +03:00
levlam
6618f507bf Fix missing-field-initializers warnings.
GitOrigin-RevId: afab2728f52c64ddbf8d2c2bf24eda3882ad471e
2018-02-08 01:15:30 +03:00
levlam
99c3946d41 More connection_recoverer logging.
GitOrigin-RevId: c86cdef27ec3beacfe6883a100d95a36019a902b
2018-02-07 23:48:40 +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
ee59648564 Update inputSingleMedia constructor.
GitOrigin-RevId: e0c8deb905309da2a6427a9e354d9e1e01c4827f
2018-02-05 19:32:04 +03:00
levlam
3078da75b3 Ignore failed file directory creations.
GitOrigin-RevId: 76549caf032e2224e802c8effb0c026593939eb0
2018-02-05 03:42:38 +03:00
levlam
3146ccee03 Fix binlog events applying order.
GitOrigin-RevId: f0e428a76e4ff0ff5f5ca99666710e0aa8ff2ee2
2018-02-05 03:26:04 +03:00
levlam
0968fafda6 Log instead on fail on wrong constructor in Java binding.
GitOrigin-RevId: 9349a4ff31a3a362d8921aa34493468fdd9a21f4
2018-02-04 21:02:31 +03:00
levlam
63ec560e82 Optimize FileNode size by moving GenerateLocation to unique_ptr.
GitOrigin-RevId: b98aedd415ff779a62becbba86c4c967d3aba4f7
2018-02-04 20:27:05 +03:00
levlam
a0fdce5f85 Find gperf through find_program.
GitOrigin-RevId: 02dcf7f4564152f25a0533f107671f142b6618f9
2018-02-04 14:16:09 +03:00
levlam
6c706f45e7 Increase TDLib version to 1.1.1.
GitOrigin-RevId: 0ba6d376f892d751dc74a4f0dbf9aaeb09f484ca
2018-02-04 00:59:09 +03:00
levlam
1f87b641e6 README.md improvements.
GitOrigin-RevId: a523d6133866d00e6a30756a75dcf1c61ada8afb
2018-02-04 00:51:01 +03:00
azeezy
86dd368132 Fixed a typo in README.md 2018-02-03 23:51:04 +03:00
Felix Krause
f0acd8e340 Fix spelling of Xcode 2018-02-03 23:49:33 +03:00
levlam
901e8cb224 Fix narrowing conversion.
GitOrigin-RevId: c9f9fe9be4285b82e875140900065e328b8df32f
2018-02-03 23:13:05 +03:00
levlam
79df9bac53 Accept slice in to_double.
GitOrigin-RevId: 3e68b84972a15404ab6ec43b6c157289487b3a5b
2018-02-03 23:01:33 +03:00
levlam
9d5580f315 Locale-independent to_double and from_double conversions.
GitOrigin-RevId: 997ec58422c4128857d395fa49c46ee0605afca9
2018-02-03 22:40:06 +03:00
levlam
499e64430b Move some functions implementations to cpp.
GitOrigin-RevId: ff0db41e43df5152046160474f9b8cf52474b877
2018-02-03 19:49:39 +03:00
levlam
35d039f42f Add some debug logginh.
GitOrigin-RevId: 462cf5c2f80f708ae2494b037538241f31d08ca3
2018-02-03 18:41:10 +03:00
levlam
b9be89eff9 Ignore non-personal reply markups.
GitOrigin-RevId: 6dfc3d93ea3a1fdfa8a314e64f89498e050ab34b
2018-02-03 16:38:02 +03:00
levlam
da4714b3ca Unify include order.
GitOrigin-RevId: 981c4788511b9b286e954b2f85a7263b8baf8566
2018-02-03 15:58:18 +03:00