Commit Graph

108 Commits

Author SHA1 Message Date
levlam
b676fe509a Move UInt to UInt.h
GitOrigin-RevId: 52b6d36d1ece8c267f5548000b2592ffd3a62ded
2018-12-20 00:18:53 +03:00
Arseny Smirnov
bc991da146 tdutils: as<T> is safer now
GitOrigin-RevId: 8bdb4ce3e84c8a753d76502e830bcfcd3c0bd28b
2018-12-19 23:43:19 +03:00
levlam
cba0f62ba9 Minor fixes.
GitOrigin-RevId: ffac148f714da737dcc1b12e56352995866f93b4
2018-12-19 23:35:13 +03:00
Arseny Smirnov
d34831c613 tdutils: update from other project
GitOrigin-RevId: 4a0a7ed6fff6af9b498122c66de9576939dce523
2018-12-19 17:48:39 +03:00
levlam
6445cf645b A lot of various fixes.
GitOrigin-RevId: 64963bfb55e5ffe8b099c1953143158b44a540c6
2018-12-11 23:18:58 +03:00
levlam
7d565e359d Improve clean_filename behavior.
GitOrigin-RevId: da29b1a87a27b6bcb7651ae1b261d44dcf18849f
2018-11-27 04:24:43 +03:00
levlam
bc54e5e335 Fix full_split behavior on empty string.
GitOrigin-RevId: 74fcaeee970ab26f1bee221babf9b6029237c6cc
2018-11-16 00:11:03 +03:00
levlam
ca4c1acc90 Add IPAddress::is_reserved method and its test.
GitOrigin-RevId: 69a4d5cc73cb40e7a99a1d4e56746efbcfa02e83
2018-11-15 20:10:20 +03:00
levlam
2c6bd673c7 Use as_slice<Int> if possible.
GitOrigin-RevId: 931b5609e2eae0d5655287e84a71724f07d4090c
2018-11-06 19:00:03 +03:00
levlam
bc88b8e951 StringBuilder fixes.
GitOrigin-RevId: 1836df5f6931ca94e96e7281eeb1090163d8648f
2018-10-30 17:22:44 +03:00
Arseny Smirnov
43ef35eb71 StringBuilder: allow dynamic resize
GitOrigin-RevId: cd59f013d10f4d8e5911933eeb75384d675fda94
2018-10-30 14:07:28 +03:00
levlam
28bfa4c4a6 Fix some MSVC Analyzer warnings.
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
2018-10-26 17:11:20 +03:00
levlam
b3bae546ec Various fixes.
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
2018-09-27 16:37:15 +03:00
levlam
f948956bf7 Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
levlam
8610734232 Fix full_split.
GitOrigin-RevId: 0204740d8ba45faf9f2da5ddca7323c88287a160
2018-09-22 14:24:02 +03:00
levlam
56f5f4e263 Simplify reader_wait and fix some includes.
GitOrigin-RevId: 32a91a6aa25934b2eeeddd99470a24871f38d219
2018-09-13 21:22:25 +03:00
levlam
3745cec3cb Pass std::function as callback in walk_path.
GitOrigin-RevId: 80da4073e3b1d7d2b2b136efecac8b26a774157b
2018-09-13 20:41:26 +03:00
Arseny Smirnov
f72bcd230f Update test for walk_path. It is CE now
GitOrigin-RevId: 850f17f25c3f1e8e3b63fc93936455883be35c4f
2018-09-12 15:07:54 +03:00
levlam
1832683ec0 Fix walk_path.
GitOrigin-RevId: 8461f7331f565dd257794f91953e500d7f1986bc
2018-09-12 03:21:23 +03:00
levlam
31333b5b7f Fix warnings.
GitOrigin-RevId: 1b76215c3fdfd5a05581ab0122704b4e422de410
2018-09-11 22:28:10 +03:00
levlam
2f90c47d03 Add explicit walk_path test.
GitOrigin-RevId: ec04003641d149168abe0b8c09af056ce50f48b6
2018-09-11 22:17:01 +03:00
levlam
fd96a6722d Add get_ipv4 test.
GitOrigin-RevId: fe8d79634d3d4e5114cc8b03b0a38d988923c2ba
2018-09-11 21:49:39 +03:00
levlam
6329ebf6bc Remove legacy ChainBufferWriter::create_empty.
GitOrigin-RevId: 18e9d13a1472a97f920cf980eb4276309f6b518d
2018-09-10 18:00:28 +03:00
levlam
fc0cbae579 Fix some includes.
GitOrigin-RevId: 9b36a638202fb8b34e13494efd6b4a48ff7f4845
2018-09-10 04:08:15 +03:00
levlam
fd90bf435e A lot of fixes.
GitOrigin-RevId: c7c16991da51e09a685537a444385852e8e93af4
2018-09-07 03:41:21 +03:00
Arseny Smirnov
093651fb22 Update tdutils from other project
GitOrigin-RevId: 83ec94032ccecef812b01963ac0506655a57e2af
2018-08-13 20:15:09 +03:00
levlam
07bfd77908 Fix warnings.
GitOrigin-RevId: 1333339879d7990836bb6c14cc9dce4a3e9ad085
2018-08-10 19:48:51 +03:00
levlam
6c45d2c479 Make BigNum::from_decimal safe.
GitOrigin-RevId: bc414c62024d0f971d3400fec738545f898654a4
2018-08-09 21:03:21 +03:00
levlam
fe32051267 Add unicode test.
GitOrigin-RevId: 4e484e140790756894a8ddc2e64bbe151f7279cf
2018-08-05 01:46:59 +03:00
levlam
5403d0bf30 Support transliterations in Hints search.
GitOrigin-RevId: 391622f2e02defa39564a14c51e8a1b03b751b96
2018-07-31 14:13:19 +03:00
levlam
b6bfb3ddbf Add transliteration implementation.
GitOrigin-RevId: 205a0fdac314625617dc54065d572f92f442cf57
2018-07-31 02:49:42 +03:00
levlam
cb1e0374af Minor fixes.
GitOrigin-RevId: 7deac5583350d64cf6fd0e323f2291804e3ba995
2018-06-05 20:44:41 +03:00
levlam
fa065a77aa Remove logging to ERROR in test.
GitOrigin-RevId: 42bbb8c16d135148a9eea640ab4e4094df86c27e
2018-06-05 02:53:22 +03:00
levlam
acdf7bb5bd Test printing integer.
GitOrigin-RevId: 59af2ff68ebf2425b29cd4a23b445fa79bc1e6a7
2018-06-05 01:09:46 +03:00
levlam
0764948a87 Punicode support for non-Windows.
GitOrigin-RevId: 6ef7dd1bb163bdf369a7ed10a50d598b50e2def6
2018-05-18 23:38:11 +03:00
levlam
b3ca84fffb Delete unused fields. Add test.
GitOrigin-RevId: 6ce7ff71d926142a7c178d56a2f489f1634322b9
2018-05-18 19:44:46 +03:00
levlam
2691c7fabf Remove usage of codecvt: now conversions are safe and 2-1000x faster.
GitOrigin-RevId: a947a25cf9991dc39dc87b8766409e9b1e987009
2018-05-18 18:55:40 +03:00
levlam
7e0e2d2b6a Fix resolving of Internationalized Domain Names (on Windows only).
GitOrigin-RevId: 10b81d8b00a4cb6bb6c06e4b66831461ef0cc286
2018-05-18 16:13:35 +03:00
Arseny Smirnov
fb79d6f95a Layer 78. Initial Telegram Passport support.
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
2018-03-27 16:11:15 +03:00
Arseny Smirnov
5cd79ae8ec rsa_{de,en}crypt_pkcs1_oaep
GitOrigin-RevId: 86e293dfc69bb861674e0034d509381a0ded2a1e
2018-03-26 19:09:25 +03:00
levlam
8a8ea50a81 Fix json_decode.
GitOrigin-RevId: 82f3beeb83aaa6052207123f22a44da88972e545
2018-03-09 20:43:24 +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
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
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
6b927449eb Fix some includes.
GitOrigin-RevId: 08add4bab90bb23e0e71340ac647ce8cafc4b900
2018-02-11 18:58:18 +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
9d5580f315 Locale-independent to_double and from_double conversions.
GitOrigin-RevId: 997ec58422c4128857d395fa49c46ee0605afca9
2018-02-03 22:40:06 +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
f6fb3c0cd0 Fix clang 3.4 Debug build CE.
GitOrigin-RevId: 3bdbf604bdd4f03da419003d7592a75085fcd2a0
2018-01-10 21:48:44 +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