Commit Graph

124 Commits

Author SHA1 Message Date
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
e3efbd9c84 Revert find_library for ws2_32 and Mswsock.
GitOrigin-RevId: a08bdc6fe67c2bc62f5434619e113430151ca653
2018-02-22 21:13:33 +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
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
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
bcb6e33389 Fix include.
GitOrigin-RevId: e2f75399903e7cf73f49543f1242c1107ff9103a
2018-02-14 00:57:07 +03:00
levlam
c407c507ad Fix some std:: namespace function usages.
GitOrigin-RevId: f867d613f9f86fa25a2a7ead29c0a7dadfb8402d
2018-02-14 00:41:45 +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
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
a0fdce5f85 Find gperf through find_program.
GitOrigin-RevId: 02dcf7f4564152f25a0533f107671f142b6618f9
2018-02-04 14:16:09 +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
levlam
6d21c7c912 Move FileLog implementation to cpp.
GitOrigin-RevId: 3722bed5a7e480e7336d35489dbacc31a91a9428
2018-01-28 17:33:14 +03:00
levlam
799e4bc324 Fix CE.
GitOrigin-RevId: d8047740df158dbc83c10c7aef231e6b06ec2752
2018-01-26 17:05:02 +03:00
levlam
55b16026c5 Optionally ignore EACCES in realpath.
GitOrigin-RevId: 8043b753ec748b6ff21accb5efde782047e5cd50
2018-01-26 16:47:46 +03:00
levlam
b0be2feebc Fix file stat on Windows.
GitOrigin-RevId: 2ca2bb1605af4e25f24d6c06c0aae5ffb8fe09e8
2018-01-26 16:01:40 +03:00
levlam
e66cc39f95 Fix walk_path on Windows.
GitOrigin-RevId: ca6eaea457018869aa476009acc3fd0f26a40999
2018-01-26 04:06:53 +03:00
levlam
a3a5b4691a Use skip_eintr in all filesystem system calls.
GitOrigin-RevId: 044a430e7bb1dd77d71751737f8edb585b1d74c5
2018-01-24 23:04:21 +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
dbe1509a33 Fix warnings.
GitOrigin-RevId: 809793ee7ad1b64faa30de705c85aa095fcc9c32
2018-01-23 19:45:51 +03:00
levlam
d8f13abb2c Make JNI-bindings package-agnostic.
GitOrigin-RevId: a3a66de7561cf0ea9a3faf0b26bda1c34de7d317
2018-01-21 14:45:24 +03:00
levlam
7f80ee1119 Remove FileLocation.type_ field.
GitOrigin-RevId: ffc776f8975522315543bfac25500592831900d6
2018-01-20 18:16:51 +03:00
levlam
fbb2dc6ccb Use int8 for upload/download priority.
GitOrigin-RevId: 3cc1c006c5ab3989be920b4d6e7e5f49aeaa42ce
2018-01-20 14:47:53 +03:00
levlam
22ad86508a Utils: is_base64url.
GitOrigin-RevId: b58daeb9fa82d37e9c653d72ef702bcb15a5392b
2018-01-19 16:38:56 +03:00
levlam
c816837736 Utils: is_base64 function.
GitOrigin-RevId: 6b5d3079d812cb96d080a444e964067a79472d16
2018-01-19 15:43:00 +03:00
levlam
06cf561b88 Add ArrayIndexType to CxCli.h.
GitOrigin-RevId: 9d2a7294974a733c0acd82f6ae769ccf932723d6
2018-01-11 15:48:03 +03:00
levlam
57a7d7506f Update CxCli.h.
GitOrigin-RevId: 4b9fb613969a0eebca655168662d21c760778079
2018-01-11 15:28:27 +03:00
levlam
f6fb3c0cd0 Fix clang 3.4 Debug build CE.
GitOrigin-RevId: 3bdbf604bdd4f03da419003d7592a75085fcd2a0
2018-01-10 21:48:44 +03:00
levlam
0f07341e91 Add interface for changing maximum log file size.
GitOrigin-RevId: dccd781c0467d75a5a396b71e6401e68534919db
2018-01-09 12:40:56 +03:00
levlam
bd6592e78b Add epoll debug.
GitOrigin-RevId: f10adc3fdf4c91adf8dc5be6998466cb84e7f876
2018-01-09 03:23:47 +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