Commit Graph

70 Commits

Author SHA1 Message Date
levlam
6669bd8c7b Support for recent_stickers_limit.
GitOrigin-RevId: f49119eb0703bb03e7c564a4f90a1f91f9c6074b
2018-03-08 16:49:45 +03:00
levlam
a665c4e822 Implement find_cashtags.
GitOrigin-RevId: 40026a19c1ee1f1ea9c0157d28bdc0b67cbf9c58
2018-03-07 20:29:33 +03:00
levlam
f29b59dcf1 Simplify Enumerator.
GitOrigin-RevId: e894e2f87ab773cfb775821974f7a264fe88c594
2018-03-07 15:46:58 +03:00
Arseny Smirnov
81776db03a Enumerator: do not invalidate pointers to elements
GitOrigin-RevId: 0d535d7052b9cb95365eff4bf35ddf30966ec90f
2018-03-07 10:47:33 +03:00
levlam
20f821017d Simplify Enumerator::add.
GitOrigin-RevId: c6ae056be91ba677afe11ea551c2fe376ac2406a
2018-03-07 02:10:54 +03:00
levlam
41bd7c7428 Various fixes.
GitOrigin-RevId: e96c9e6f8f159f91ec31288e36edfb5869603341
2018-03-06 19:27:52 +03:00
Arseny Smirnov
ef92fb36ea tdutils: Enumerator
GitOrigin-RevId: 9eb0a481ef550c6ab4b1ba833f0aad700f9cca06
2018-03-06 16:25:36 +03:00
Arseny Smirnov
eabf46c58e LOG(FATAL) throws exception in emscripten
GitOrigin-RevId: 9f2d585b5d85767dd73da30bbb490ae0dfa06354
2018-03-06 14:43:46 +03:00
levlam
a3717481ed More robust mkpath.
GitOrigin-RevId: 3c0417c3223dff7161f4457da8ae475f6dc8f925
2018-03-04 22:53:21 +03:00
levlam
67b1cce74e Support ignore_access_denied in realpath on Window.
GitOrigin-RevId: 4fed501fee67b8533920fd729f1aa1944642db60
2018-03-04 22:37:31 +03:00
levlam
802860a412 Fix CE.
GitOrigin-RevId: c6ddbed7c3452c9a469160ae1cafc1fce5f9e750
2018-02-28 22:54:05 +03:00
Arseny Smirnov
110f2c5b7b UWP: build scripts
GitOrigin-RevId: 8bbfa1f455a6521f1d823147ddff97768db21da2
2018-02-28 21:19:33 +03:00
Arseny Smirnov
f5388f69f9 cpu_stat
GitOrigin-RevId: b98a3400ad40cac89c97589e450a807266a885bc
2018-02-28 10:27:24 +03:00
levlam
a741fe7925 Minor fixes.
GitOrigin-RevId: beff71eb64dee126727d8be2a18b09ee99d4fe40
2018-02-28 04:22:17 +03:00
Arseny Smirnov
70ad2664bd Add initial C# support
GitOrigin-RevId: c0ece19b41ca8e348285df95f9b81b188d3e5835
2018-02-26 21:08:47 +03:00
levlam
c8a784f0ca CxCli: better TryRemove.
GitOrigin-RevId: ef4394f1dd2d1fdf6609412ec666954316aafa66
2018-02-22 23:34:09 +03:00
levlam
35d0ac2985 Fix CxCli and find_library.
GitOrigin-RevId: b3057195dc88b31fc87a1688f470d03e921df99f
2018-02-22 18:44:22 +03:00
levlam
4304fcfd89 Better double comparison.
GitOrigin-RevId: 5a7092ce72e7531835d57455a8027819a6f03ab5
2018-02-20 03:03:28 +03:00
levlam
b676810b50 Use get_url_file_name whenever appropriate.
GitOrigin-RevId: 4a1f408424883c56d2017f4239cae01987bd39c0
2018-02-20 02:29:19 +03:00
levlam
824735dc8e Add get_url_query_file_name function.
GitOrigin-RevId: 24d19f870f6a8e96bc727baa0dfeaa6a99d66931
2018-02-20 01:54:50 +03:00
levlam
3604f1cf54 Add some debug logging.
GitOrigin-RevId: 6bd223bb40b2092f703d62531df13b96cb3e6066
2018-02-19 23:21:53 +03:00
levlam
269cf358e0 Fix some spelling.
GitOrigin-RevId: 102622d5c1871a52d6b229f708df6305006f6137
2018-02-17 02:54:44 +03:00
Arseny Smirnov
9f172eee39 fix CxCli
GitOrigin-RevId: 7ca3258008ee5eb658d3c0cd7e9d4c81c7f6128d
2018-02-16 14:22:19 +03:00
Arseny Smirnov
ccb6553a5d Improve TRY_RESULT define
GitOrigin-RevId: 399a4102f795c0c44d3089a1a3b341393c9f0f95
2018-02-16 12:09:50 +03:00
levlam
428cb9cf10 Fix mem_stat.
GitOrigin-RevId: 491abe3e44c8ffaf5c9e1b2d3c726a5ce69f599b
2018-02-14 04:23:59 +03:00
levlam
72df55fb2d Better alignas and swift example formatting fixes.
GitOrigin-RevId: f13cb9754b0f91975710662d30c87563de4d7641
2018-02-12 20:21:29 +03:00
levlam
d55d1179c2 Add file and line to Status.ensure.
GitOrigin-RevId: 3539caee7f92f6970fd5af673866dabeec177336
2018-02-12 19:03:04 +03:00
Arseny Smirnov
389e961720 Fix emscripten build
GitOrigin-RevId: d39365eebf456462d3672c602bccd75ef612ca85
2018-02-12 16:11:51 +03:00
levlam
cffa49cf4e fix td::min.
GitOrigin-RevId: 237cf4f2d6e068c344c1ff4d6d410ce07ae5f6c3
2018-02-12 14:19:47 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
389ff96082 Move some implementation to cpp.
GitOrigin-RevId: b554d19ab8d8a6826c7f879d660c75d15c0d944a
2018-02-12 11:40:52 +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
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
da4714b3ca Unify include order.
GitOrigin-RevId: 981c4788511b9b286e954b2f85a7263b8baf8566
2018-02-03 15:58:18 +03:00
Arseny Smirnov
15356c4402 Actor: always_wait_for_maibox flag
GitOrigin-RevId: cb048967998ffc585133d6a58c77674a17766049
2018-02-01 16:01:16 +03:00
levlam
42ea21b4f1 Check directory existence before crash.
GitOrigin-RevId: 94ad49d48af766251107b547e9ea1aaedeeb15c1
2018-01-31 15:43:36 +03:00
levlam
6cf95c36ad Clear errno just in case.
GitOrigin-RevId: b45ff66a66fba605e5a1b500a1ab66eb87140e19
2018-01-30 20:10:44 +03:00
Arseny Smirnov
614c3cffd7 skip_eintr_cstr
GitOrigin-RevId: e13756e7dfa4abb7452172dbedfaf73aa256bcd5
2018-01-29 13:28:56 +03:00
levlam
62bb714421 Fix some includes and spelling.
GitOrigin-RevId: 489a75315987be488d8caf63a9d3c4f0948ab810
2018-01-28 21:13:25 +03:00
levlam
662471ea48 Do not fail on unsuccessful FileLog.init.
GitOrigin-RevId: c31bcf155821a973b431234d76aa83e3b0e281a0
2018-01-28 17:48:11 +03:00