Commit Graph

63 Commits

Author SHA1 Message Date
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