summaryrefslogtreecommitdiff
path: root/LICENSE.adoc
Commit message (Collapse)AuthorAgeFilesLines
* chore: Update copyright yearsv4.8Joel Rosdahl2023-03-121-1/+1
|
* bump: Upgrade to doctest 2.4.10Joel Rosdahl2023-03-041-1/+1
|
* enhance: Add nonstd::span 0.10.3Joel Rosdahl2022-09-051-0/+35
|
* bump: Upgrade to nonstd::expected 0.6.2Joel Rosdahl2022-08-071-1/+1
|
* bump: Upgrade to cpp-httplib 0.11.1Joel Rosdahl2022-08-041-1/+1
|
* bump: Upgrade to nonstd::expected 0.6.1Joel Rosdahl2022-06-291-1/+1
|
* bump: Upgrade to cpp-httplib 0.10.8Joel Rosdahl2022-06-071-2/+2
|
* bump: Upgrade to nonstd::expected 0.6.0Joel Rosdahl2022-05-271-2/+2
|
* chore: Replace nonstd::string_view with std::string_viewJoel Rosdahl2022-05-231-35/+0
|
* chore: Replace nonstd::optional with std::optionalJoel Rosdahl2022-05-231-35/+0
|
* chore: Update license for nonstd::expectedJoel Rosdahl2022-05-081-3/+3
| | | | See #1053.
* chore: Prepare for v4.6v4.6Joel Rosdahl2022-02-271-1/+1
|
* bump: Upgrade to BLAKE3 1.3.1Joel Rosdahl2022-02-201-1/+1
|
* bump: Upgrade to cpp-httplib 0.10.2Joel Rosdahl2022-01-271-1/+1
|
* bump: Upgrade to fmt 8.1.1Joel Rosdahl2022-01-241-1/+1
|
* bump: Upgrade to doctest 2.4.8Joel Rosdahl2022-01-241-1/+1
|
* bump: Upgrade to xxHash 0.8.1Joel Rosdahl2021-12-291-1/+1
|
* bump: Upgrade to cpp-httplib 0.10.1Joel Rosdahl2021-12-291-1/+1
|
* bump: Upgrade to BLAKE3 1.2.0Joel Rosdahl2021-11-061-1/+1
|
* bump: Upgrade to cpp-httplib 0.9.7Joel Rosdahl2021-11-061-1/+1
|
* bump: Upgrade to optional-lite 3.5.0Joel Rosdahl2021-11-061-2/+2
|
* bump: Upgrade to fmt 8.0.1Joel Rosdahl2021-11-061-1/+1
|
* fix: Support special characters in URL user infoJoel Rosdahl2021-10-061-1/+1
| | | | | | | Bump CxxUrl to v0.3 to fix a URL parsing bug, as suggested by Russell McClellan. Fixes #941.
* bump: Upgrade to cpp-httplib 0.9.4Joel Rosdahl2021-09-071-3/+3
|
* chore: Sort LICENSE.adoc entries properlyJoel Rosdahl2021-08-201-30/+30
|
* chore: Sort LICENSE.adoc entriesJoel Rosdahl2021-08-051-31/+31
|
* chore: Improve AsciiDoc markup of LICENSE.adocJoel Rosdahl2021-08-051-75/+54
|
* chore: Fix typosJoel Rosdahl2021-08-051-2/+2
|
* refactor: Split httplib into .h and .cpp partsJoel Rosdahl2021-08-051-5/+5
| | | | | This improves recompilation speed of src/storage/secondary/HttpStorage.cpp.
* bump: Upgrade to BLAKE3 1.0.0Joel Rosdahl2021-07-281-1/+1
|
* Use cpp-httplib 0.9.2 (#905)Gregor Jasny2021-07-251-1/+1
|
* HTTP storage: Fix IPv6 address handling (#898)Gregor Jasny2021-07-171-1/+1
|
* Add cpp-httplib 0.9.0Gregor Jasny2021-07-071-0/+32
| | | | from https://github.com/yhirose/cpp-httplib
* Add CxxUrl v0.2Gregor Jasny2021-07-051-0/+33
| | | | from https://github.com/chmike/CxxUrl
* Add nonstd::expected 0.5.0Joel Rosdahl2021-06-131-0/+36
|
* Update doctest license infoJoel Rosdahl2021-03-221-2/+2
|
* Implement a better Stat::stat(), Stat::lstat() for Windows (#819)Nicholas Hutchinson2021-03-181-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `stat()` as implemented in msvcrt.dll (used by mingw-w64) has a number of flaws: - `st_ino` is always 0 - other file attributes are queried from the parent directory instead of the file itself, and so can be incorrect/stale, e.g. if a file is modified via another hard link. The implementation in the UCRT is slightly better -- it prefers to query attributes from the file itself if possible, but it still doesn't populate `st_ino` and can silently fall back to querying from the parent directory and giving stale results. I don't believe the msvcrt.dll source is available (you have to infer its behaviour from e.g. Process Monitor) but the ucrtbase.dll source code is available in the Windows 10 SDK. Write an implementation of `stat`/`lstat` that sidesteps these issues by using Win32 APIs to query file information. A few implementation notes: - We do not fall back to querying the parent directory (as the UCRT `stat()` implementation and [Python's `stat()`][1] do) if we can't get a handle to the actual file. If we don't have `FILE_READ_ATTRIBUTES` permissions, we fail with `EACCES` instead of returning incomplete/stale results fetched from the parent directory. - Windows-specific `Stat::file_attributes()` / `Stat::reparse_tag()` added to provide the Win32 file attributes and file reparse tag. - `lstat()` sets the `S_IFLNK` bit in `st_mode` for symlinks. On Windows, there are other symlink-like things ("name surrogate reparse points") such as directory junctions and mountpoints. To identify these, the caller can check the reparse tag to identify a directory junction/mountpoint. - We use Python's mapping of Win32 error codes to C errno. [1]: https://github.com/python/cpython/blob/6086ae7fd4aeb4089282189673f9bd0cc33abf9b/Modules/posixmodule.c#L1884
* Prepare for v4.2v4.2Joel Rosdahl2021-02-021-1/+1
|
* Upgrade to optional-lite 3.4.0Joel Rosdahl2021-01-061-3/+3
|
* Upgrade to fmt 7.1.3Joel Rosdahl2021-01-061-1/+1
|
* Upgrade to doctest 2.4.4Joel Rosdahl2021-01-061-2/+2
| | | | Version 2.4.4 includes the fix in PR #743 for issue #731.
* Improve TemporaryFile implementation for Windows (#736)Nicholas Hutchinson2020-12-281-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, multiple ccache process could race each other to create, rename and delete temporary files, because they would attempt to generate the same sequence of temporary file names (`tmp.cpp_stdout.iG2Kb7`, `tmp.cpp_stdout.P1kAlM`, `tmp.cpp_stdout.FzP5tM`, ...). This is because ccache used mingw-w64's [implementation of mkstemp][1], which uses `rand()` to generate temporary file names, and ccache was never seeding the thread-local PRNG used by `rand()`. Replace ccache's use of `mkstemp()` on Windows with an implementation based on OpenBSD. This allows us to sidestep mingw-w64's problematic implementation, and allows us to build using MSVC again. (MSVC's C standard library does not provide `mkstemp()`.) Example errors: - Some ccache process is in the process of deleting a temporary file: ccache: error: Failed to create temporary file for C:\Users\someuser/.ccache/tmp/tmp.cpp_stdout.FzP5tM: Access is denied. - Some ccache process has destination file open, so it can't be overwritten: ccache: error: failed to rename C:\Users\someuser/.ccache/tmp/tmp.cpp_stdout.iG2Kb7 to C:\Users\someuser/.ccache/tmp/tmp.cpp_stdout.iG2Kb7.ii: Access is denied. - Source file has been deleted by some other ccache process: ccache: error: failed to rename C:\Users\someuser/.ccache/tmp/tmp.cpp_stdout.P1kAlM to C:\Users\someuser/.ccache/tmp/tmp.cpp_stdout.P1kAlM.ii: The system cannot find the file specified. [1]: https://github.com/mirror/mingw-w64/blob/v8.0.0/mingw-w64-crt/misc/mkstemp.c
* Add missing copyright information to LICENSE.adocJoel Rosdahl2020-11-241-0/+4
|
* Use simple globs in LICENSE.adocJoel Rosdahl2020-11-241-12/+12
|
* Use capitalized “Ccache” at start of sentences consistentlyJoel Rosdahl2020-10-101-2/+2
|
* Upgrade to BLAKE3 0.3.7Joel Rosdahl2020-10-011-1/+1
|
* Add base32hex implementation by Peter ConradJoel Rosdahl2020-09-231-0/+23
| | | | | Implementation copied verbatim from (a patch in) <https://github.com/pmconrad/tinydnssec>.
* Use no indentation for license entries in LICENSE.adoc consistentlyJoel Rosdahl2020-09-231-137/+138
|
* Sort entries in LICENSE.adoc according to file namesJoel Rosdahl2020-09-231-253/+252
|
* Tweak AsciiDoc section divider formatJoel Rosdahl2020-09-141-1/+1
|