655 Commits

Author SHA1 Message Date
m a09772deba Bump version to 0.27.2 v0.27.3 v0.27.2 2021-10-15 08:17:32 +02:00
mbitsnbites 0b377298ae Merge pull request #237 from mbitsnbites/feature/fix_qcc_h_flag_failure
Fix qcc -H flag failure
2021-10-15 08:08:04 +02:00
m ff889fdf31 gcc_wrapper: Only use the -H flag in direct_mode
This works around the problem that some inherited wrappers (qcc) do not
support the -H flag.
2021-10-14 16:50:16 +02:00
m 21aff8518f program_wrapper: Make capabilities available to child classes 2021-10-14 16:50:16 +02:00
mbitsnbites 134d78e4b9 Merge pull request #236 from asheplyakov/doctest-glibc-fixup
Fixed build on Linux systems with glibc 2.34 and newer
2021-10-13 14:45:44 +02:00
Alexey Sheplyakov 48f8834b7a Updated third_party/doctest to 2.4.6
Fixes build on Linux systems with glibc 2.34 and newer.

Upstream: https://github.com/onqtam/doctest
Git SHA:  4d8716f1efc1d14aa736ef52ee727bd4204f4c40

Closes: #235
2021-10-13 16:28:43 +04:00
mbitsnbites ae0eb572f9 Merge pull request #233 from antikaspar/bugfix/antikaspar/ignore_empty_HTTP_reponse_body
Accept no content response in GET and PUT request
2021-09-30 18:41:49 +02:00
Ernst-Christian Kloeden 127399b6f1 accept no content response in GET and PUT request 2021-09-24 11:33:17 +02:00
mbitsnbites 3fd5daaa14 Merge pull request #232 from Take-A-Byte/patch-1
Update usage.md to include debug format for MSVC
2021-09-07 16:35:13 +02:00
Shantanu Methikar 048a9f9be7 Update usage.md to include debug format for MSVC
We need to set Debug Information Format in VS to C7 compatible/ Old style to get all debugging information in obj file which is currently expected by buildcache
2021-09-02 11:49:25 +02:00
m d97c536757 README: Add a link to the Discussions page 2021-07-22 16:21:12 +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