m
d7f8b771d1
WIP: Add a cache stress test script
2021-07-09 13:48:14 +02:00
m
8925bb8cea
Add a dummy "compiler" program and wrapper
2021-07-09 13:21:59 +02:00
m
3b02c7d115
test_scripts: Minor code formatting fixes
2021-07-09 11:04:04 +02:00
m
d9e93de58f
run_file_lock_stresstest: Change tab-width to 4
2021-07-09 10:54:08 +02:00
m
e03e3b3d00
test_scripts: Add copyright headers and mode lines
2021-07-09 10:49:13 +02:00
m
687dac926a
run_linters: Format with black
2021-07-09 10:45:56 +02:00
m
c984dbe058
run_file_lock_stresstest: Fix shellcheck warnings
2021-07-09 10:36:08 +02:00
m
6ede6cfa59
Bump version to 0.27.1
v0.27.1
2021-07-09 10:22:35 +02:00
m
34e5e32356
doc: Update the CMake command line used for benchmarks
2021-06-29 08:16:28 +02:00
mbitsnbites
9d492e4cb5
Merge pull request #221 from mbitsnbites/feature/improve_posix_file_locks
...
Improve POSIX file locks
2021-06-28 14:45:09 +02:00
m
a84c825d16
local_cache: Clean up lock files when entries are purged
2021-06-28 13:28:16 +02:00
m
74bb8b7760
lock_file_t: Change to POSIX record locks on non-Windows systems
2021-06-28 13:20:50 +02:00
mbitsnbites
063de34924
Merge pull request #220 from mbitsnbites/auric/improve_file_utils_on_windows
...
Windows: Improve file_utils.cpp path functions
2021-06-21 11:44:04 +02:00
Igor Lifanov
2ec8d878bc
Windows: make get_temp_dir work if path > MAX_PATH
2021-06-21 11:32:20 +02:00
Igor Lifanov
48902e2579
Windows: improve get_user_home_dir
...
- Call GetUserProfileDirectoryW only once for the most of the cases,
since calls to filesystem functions on Windows is expensive.
- Don't allocate memory on heap in most of the cases
2021-06-21 11:32:20 +02:00
Igor Lifanov
560b259595
Windows: improve canonicalize_path, fix for paths > MAX_PATH
...
- There is no need to replace slashes with backslashes,
since `GetFullPathNameW` returns backslashes
(checked personally on Windows 10).
- Make function work for paths >= MAX_PATH
by performing second call to `GetFullPathNameW`
in case first reported buffer too small
- Don't use `substr` to remove single char
- Don't use `substr` to transform single char to upper case
2021-06-21 11:32:20 +02:00
Igor Lifanov
ea8f529bb0
Windows: improve resolve_path performance
...
- Call `GetFinalPathNameByHandleW` only once for the most of the cases
to improve performance since calling filesystem functions on Windows is
expensive
- Use `std::string::compare` which works faster instead of making `substr`
just to compare
2021-06-21 11:32:20 +02:00
m
9e58c0d58a
base: Add unicode_utils_test
2021-06-21 11:32:20 +02:00
m
c4e81e3f26
unciode_utils: Add character versions of lower/upper_case
2021-06-21 11:32:20 +02:00
Igor Lifanov
6856f59d1e
unicode_utils: Add range version of ucs2_to_utf8()
...
Add `const wchar_t*` version of `ucs2_to_utf8` to prevent unnecessary
allocations of `std::wstring`.
2021-06-21 11:32:20 +02:00
mbitsnbites
43a815fcf6
Merge pull request #219 from mbitsnbites/feature/use_auto
...
clang-tidy: Enable modernize-use-auto
2021-06-18 16:25:58 +02:00
m
b97e116362
clang-tidy: Enable modernize-use-nullptr
2021-06-18 16:13:50 +02:00
m
4fa64f4ff1
clang-tidy: Enable modernize-use-auto
2021-06-18 15:51:23 +02:00
m
56758e5d5a
Bump version to 0.27.0
v0.27.0
2021-05-31 13:06:54 +02:00
mbitsnbites
cda49f2441
Merge pull request #217 from mbitsnbites/feature/add_qcc_support
...
Add qcc support (QNX SDP)
2021-05-31 13:05:12 +02:00