Commit Graph

335 Commits

Author SHA1 Message Date
levlam
96cca84a60 Remove source from next_utf8_unsafe. 2022-08-19 16:37:44 +03:00
levlam
abc9ed2cd9 Minor fixes. 2022-07-14 18:38:48 +03:00
Arseny Smirnov
bf80c43c05 fix CE 2022-07-14 18:36:46 +04:00
Arseny Smirnov
f4c97b25ec add Mutex wrapper around std::mutex and use it instead of SpinLock 2022-07-14 16:27:06 +04:00
Arseny Smirnov
7ddc3099f6 remove td::this_thread::yield function. usleep_for(1) used instead 2022-07-14 16:15:17 +04:00
levlam
4652292037 Use count instead of find if appropriate. 2022-05-01 23:03:06 +03:00
levlam
1f38124861 Use FlatHashSet. 2022-03-11 21:38:48 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
26d2ee649d Add some missing new lines at the end of files. 2021-12-27 14:03:50 +03:00
levlam
957670aa0d Immediately close non-connected sockets. 2021-12-16 23:38:44 +03:00
levlam
1a98ac8004 Don't use min/max as variable names. 2021-12-15 20:55:03 +03:00
levlam
1a9c6fa51c Add more logging. 2021-12-10 13:27:24 +03:00
levlam
106797f7f0 Improve private field names. 2021-12-10 13:07:55 +03:00
levlam
1bb9b7dfa9 Update clang-format to 13.0.1. 2021-12-10 00:27:13 +03:00
levlam
eb346f5573 Return both first and last error from mkpath. 2021-11-05 10:10:11 +03:00
levlam
c5a2f1570d Remove superflous endif comments. 2021-10-25 10:05:15 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
1e49f6dc13 Use auto as variable type if it is initialized with a cast. 2021-10-20 01:27:02 +03:00
levlam
44a186c7c1 Minor improvements. 2021-10-18 19:26:14 +03:00
levlam
01976bed53 Minor warning fixes. 2021-10-18 15:37:21 +03:00
levlam
81b38d5607 Mark move constructors/assignment operators noexcept. 2021-10-18 14:36:15 +03:00
levlam
f35afe23c8 Minor warning fixes. 2021-10-18 12:57:13 +03:00
levlam
0782f56408 Use uint32 instead of unsigned int if possible. 2021-10-17 22:56:40 +03:00
levlam
c7ce933520 Improve Windows 11 detection. 2021-10-13 14:01:23 +03:00
levlam
61c3a2bcf5 Remove TD_EXPERIMENTAL_WATCH_OS. 2021-09-24 13:41:22 +03:00
levlam
d6f3d9f08a Use error code 400 instead of small error codes. 2021-09-24 10:59:51 +03:00
levlam
5a85c8a95b Improve error message. 2021-09-14 12:16:29 +03:00
levlam
f0180b6132 Suppress warning about an empty file. 2021-09-02 11:51:33 +03:00
levlam
bfd76964ea Fix some GCC warnings on Windows. 2021-09-01 19:26:18 +03:00
levlam
84ad2e5b19 Remove redundant semicolons. 2021-08-30 23:27:32 +03:00
levlam
c45535d607 Fix warning. 2021-07-20 03:00:16 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
e18ff8a810 Close socket on Windows only after pending write is confirmed. 2021-06-14 19:06:23 +03:00
levlam
e73394ac98 Add comment about meaning of Working Set and Commit Charge. 2021-06-06 22:53:41 +03:00
levlam
7c4ff60f79 Trim trainling slashes in the parameter of CreateDirectoryFromAppW. 2021-06-05 03:29:44 +03:00
levlam
1ab2f9fe9d Improve maximize_buffer. 2021-06-03 04:11:11 +03:00
levlam
3b0e2f5e85 Added the ability to hook into logging system. 2021-05-17 18:49:09 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
083d599c41 Support stacktrace printing on Windows. 2021-05-11 19:27:37 +03:00
levlam
b342ec33e5 Likely add Solaris support. 2021-04-30 02:34:12 +03:00
levlam
f00d562c5b Silence expected warning. 2021-04-30 01:26:02 +03:00
levlam
e1fc85d610 Print warnings about unsupported OS/compiler only once. 2021-04-30 01:24:42 +03:00
Joshua M. Clulow
ed291840d3
add illumos support (#1501) 2021-04-29 16:40:08 +03:00
levlam
564b44d3b9 Fix ifdef check. 2021-04-08 22:17:55 +03:00
levlam
6e099908cf Don't use sendmsg on Android. 2021-04-08 14:55:54 +03:00
levlam
9bb79b4b27 Ignore invalid Unicode strings in C++/CX. 2021-04-08 14:43:47 +03:00
levlam
02c9caafc0 Fix FromApp building for UWP. 2021-04-04 23:40:05 +03:00
levlam
c36ed586e2 Fix MoveFileExFromAppW. 2021-04-04 02:58:59 +03:00
levlam
2ab94b9ca7 Add checks that SocketFd::read/write/writev return correct response. 2021-04-04 01:08:53 +03:00