]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
2 years agofix: Fix crash with empty include filename in preprocessor output (#1075)
olegsidorkin [Mon, 16 May 2022 19:21:52 +0000 (22:21 +0300)] 
fix: Fix crash with empty include filename in preprocessor output (#1075)

2 years agochore: Update NEWS v4.6.1
Joel Rosdahl [Sat, 14 May 2022 18:36:48 +0000 (20:36 +0200)] 
chore: Update NEWS

2 years agochore: Update authors
Joel Rosdahl [Sat, 14 May 2022 18:41:43 +0000 (20:41 +0200)] 
chore: Update authors

2 years agostyle: Improve names of Args::AtFileFormat values
Joel Rosdahl [Sat, 14 May 2022 18:36:01 +0000 (20:36 +0200)] 
style: Improve names of Args::AtFileFormat values

2 years agoci: Bump to CodeQL action v2
Joel Rosdahl [Sat, 14 May 2022 07:18:24 +0000 (09:18 +0200)] 
ci: Bump to CodeQL action v2

2 years agofix: Support Redis URL without host
Joel Rosdahl [Fri, 13 May 2022 18:46:20 +0000 (20:46 +0200)] 
fix: Support Redis URL without host

2 years agochore: Don’t store unused return value
Joel Rosdahl [Fri, 13 May 2022 18:45:54 +0000 (20:45 +0200)] 
chore: Don’t store unused return value

2 years agochore: Constify core::Manifest::add_result parameter
Joel Rosdahl [Fri, 13 May 2022 18:44:52 +0000 (20:44 +0200)] 
chore: Constify core::Manifest::add_result parameter

2 years agochore: Set version “unknown” instead of empty string if unknown
Joel Rosdahl [Thu, 12 May 2022 18:46:24 +0000 (20:46 +0200)] 
chore: Set version “unknown” instead of empty string if unknown

2 years agofix: Support Git 1.x when determining ccache version
Joel Rosdahl [Thu, 12 May 2022 18:45:53 +0000 (20:45 +0200)] 
fix: Support Git 1.x when determining ccache version

2 years agochore: Prepare for binary patching SYSCONFDIR
Joel Rosdahl [Thu, 12 May 2022 18:21:08 +0000 (20:21 +0200)] 
chore: Prepare for binary patching SYSCONFDIR

2 years agochore: Add Jacob Young to .mailmap
Joel Rosdahl [Wed, 11 May 2022 18:46:41 +0000 (20:46 +0200)] 
chore: Add Jacob Young to .mailmap

2 years agofix: Avoid incorrect error log for Redis write in reshare mode
Joel Rosdahl [Wed, 11 May 2022 18:30:26 +0000 (20:30 +0200)] 
fix: Avoid incorrect error log for Redis write in reshare mode

2 years agochore: Remove anonymous users from AUTHORS
Joel Rosdahl [Mon, 9 May 2022 16:52:30 +0000 (18:52 +0200)] 
chore: Remove anonymous users from AUTHORS

2 years agofix: Correctly represent statistics counters > 1 in log and stats log
Joel Rosdahl [Mon, 9 May 2022 16:43:03 +0000 (18:43 +0200)] 
fix: Correctly represent statistics counters > 1 in log and stats log

2 years agofix: Fix parsing of MSVC response files (#1071)
jacobly0 [Wed, 11 May 2022 18:45:40 +0000 (14:45 -0400)] 
fix: Fix parsing of MSVC response files (#1071)

2 years agodocs: Add warning about base_dir
Joel Rosdahl [Sun, 8 May 2022 14:31:37 +0000 (16:31 +0200)] 
docs: Add warning about base_dir

See #1042.

2 years agochore: Update license for nonstd::expected
Joel Rosdahl [Sun, 8 May 2022 14:14:49 +0000 (16:14 +0200)] 
chore: Update license for nonstd::expected

See #1053.

2 years agorefactor: Simplify Reader::read_int
Joel Rosdahl [Sun, 8 May 2022 14:09:24 +0000 (16:09 +0200)] 
refactor: Simplify Reader::read_int

std::string::operator[](0) is well-defined for empty strings.

2 years agofix: Log expanded secondary storage URL in put/remove
Joel Rosdahl [Sat, 7 May 2022 19:07:28 +0000 (21:07 +0200)] 
fix: Log expanded secondary storage URL in put/remove

2 years agofix: Fix miscompile of nonstd::expected on MSVC v19.22 (#1053)
jacobly0 [Sun, 8 May 2022 14:12:28 +0000 (16:12 +0200)] 
fix: Fix miscompile of nonstd::expected on MSVC v19.22 (#1053)

2 years agofix: Check for short reads in Reader::read_str (#1068)
Gregor Jasny [Sun, 8 May 2022 14:08:43 +0000 (16:08 +0200)] 
fix: Check for short reads in Reader::read_str (#1068)

2 years agofix: Fix "Multiple precompiled headers used" error if /Yu option is used after /Fp...
Alexey Telishev [Sun, 8 May 2022 14:06:05 +0000 (17:06 +0300)] 
fix: Fix "Multiple precompiled headers used" error if /Yu option is used after /Fp (#1059)

2 years agofeat: Make upload-redis output more like other tools (#1070)
Anders Björklund [Sun, 8 May 2022 11:24:44 +0000 (13:24 +0200)] 
feat: Make upload-redis output more like other tools (#1070)

2 years agofix: Improve MSVC /Fp and /Yu options further
Joel Rosdahl [Thu, 5 May 2022 22:01:45 +0000 (00:01 +0200)] 
fix: Improve MSVC /Fp and /Yu options further

Improve 09dea223466e to also handle relative paths to -Fp/-Yu.

2 years agochore: Add knowledge of linker option -z to avoid note in debug log
Joel Rosdahl [Thu, 5 May 2022 19:29:37 +0000 (21:29 +0200)] 
chore: Add knowledge of linker option -z to avoid note in debug log

Closes #1061.

2 years agofix: Handle MSVC /Fp and /Yu options with concatenated path again
Joel Rosdahl [Thu, 5 May 2022 19:20:04 +0000 (21:20 +0200)] 
fix: Handle MSVC /Fp and /Yu options with concatenated path again

Regression in c8fb539523c801bf15591c395c3029b4530a7a2f.

See #1063.

2 years agofeat: Handle -imsvc compiler option (#1055)
jacobly0 [Sun, 1 May 2022 19:24:18 +0000 (21:24 +0200)] 
feat: Handle -imsvc compiler option (#1055)

2 years agobuild: Fix build arguments to clang-cl (#1054)
jacobly0 [Sun, 1 May 2022 19:23:32 +0000 (21:23 +0200)] 
build: Fix build arguments to clang-cl (#1054)

2 years agofix: Fix sporadic test.profiling failures (#1056)
jacobly0 [Sun, 1 May 2022 16:10:56 +0000 (18:10 +0200)] 
fix: Fix sporadic test.profiling failures (#1056)

Using cut, which is always line-based, to remove bytes from a binary file can
cause problems if the binary timestamp field happens to contain a newline
character, which causes test.profiling to fail <1% of the time. Instead use tail
which has a character mode that ignores newlines.

2 years agofix: Isolate inode cache file in tests
Joel Rosdahl [Sun, 1 May 2022 11:15:37 +0000 (13:15 +0200)] 
fix: Isolate inode cache file in tests

All test suites use the default temporary directory location
/run/user/<UID>/ccache-tmp when possible, which means that the inode
cache file is shared between all test suites. This is problematic when
running test suites in parallel since one test suite may run “ccache -C”
(which removes the inode cache file) between two compilations in the
inode_cache suite, thus making the second compilation not behave as
expected, failing the test.

Fix this by putting the temporary directory inside the test-specific
ccache directory instead of using the default global location.

Fixes #1045.

2 years agofeat: Improve inode cache logging
Joel Rosdahl [Sun, 1 May 2022 11:14:19 +0000 (13:14 +0200)] 
feat: Improve inode cache logging

2 years agoci: Fix CUDA installation
Joel Rosdahl [Sat, 30 Apr 2022 20:18:07 +0000 (22:18 +0200)] 
ci: Fix CUDA installation

2 years agofix: Normalize paths to fix basedir option on Windows (#1033)
vvainola [Sat, 30 Apr 2022 20:13:58 +0000 (23:13 +0300)] 
fix: Normalize paths to fix basedir option on Windows (#1033)

Co-authored-by: Joel Rosdahl <joel@rosdahl.net>
2 years agorefactor: Improve absolute path normalization functions
Joel Rosdahl [Wed, 27 Apr 2022 19:15:35 +0000 (21:15 +0200)] 
refactor: Improve absolute path normalization functions

The Util::normalize_absolute_path function only works on the syntactic
level, i.e. the result may not actually resolve to the same filesystem
entry (nor to any file system entry for that matter). It was meant to be
used for paths that don’t necessarily exist yet, such as a future
directory in which to write debug files. It may fail in edge cases with
symlinks in the path in combination with .. segments. If the caller
wants to ensure that the resulting path actually makes sense, it needs
to check if the resulting path points to the same file entry as the
original.

To improve on this, Util::normalize_absolute_path has now been renamed
to Util::normalize_abstract_absolute_path and there is a new
Util::normalize_concrete_absolute_path function which returns the
original path if the normalized result doesn't resolve to the same file
system entry as the original path.

2 years agofix: Make Stat::same_inode_as consider error code
Joel Rosdahl [Tue, 26 Apr 2022 18:54:29 +0000 (20:54 +0200)] 
fix: Make Stat::same_inode_as consider error code

2 years agodocs: Mention default cache locations for Windows and macOS
Joel Rosdahl [Tue, 12 Apr 2022 19:15:05 +0000 (21:15 +0200)] 
docs: Mention default cache locations for Windows and macOS

2 years agofix: Fix static linkage with hiredis on Windows (#1041)
Orgad Shaneh [Tue, 12 Apr 2022 19:29:53 +0000 (22:29 +0300)] 
fix: Fix static linkage with hiredis on Windows (#1041)

2 years agofix: Replace skip_last_empty with IncludeDelimiter (#1046)
Orgad Shaneh [Tue, 12 Apr 2022 19:09:57 +0000 (22:09 +0300)] 
fix: Replace skip_last_empty with IncludeDelimiter (#1046)

2 years agofix: Fix code restructuring mistake in 5a55014f
Joel Rosdahl [Fri, 8 Apr 2022 10:59:40 +0000 (12:59 +0200)] 
fix: Fix code restructuring mistake in 5a55014f

2 years agofix: Fix process_preprocessed_file bug for distcc marker
Joel Rosdahl [Wed, 6 Apr 2022 19:37:04 +0000 (21:37 +0200)] 
fix: Fix process_preprocessed_file bug for distcc marker

2044fea84b86001b2976ecde946d3d6d0e88ec0a (included in ccache 4.6)
removed the special-casing of distcc’s pump in
process_preprocessed_file. That in turn revealed a bug that has been
present since 432d1ca6a6aa51f708124172169073c399fb68d2 (included in
ccache 3.4) but previously only affected compilations with distcc-pump
as the “compiler”: the detection and handling of distcc-pump’s
“__________” messages is broken in two ways:

1. It throws away everything between the last preprocessor directive and
   the “__________” marker. Thus, changes to such sections will not be
   included in the hash.
2. It detects “__________” markers in the middle of lines, not only at
   the beginning of lines.

2 years agostyle: Tweak code style to match conventions
Joel Rosdahl [Tue, 5 Apr 2022 18:15:11 +0000 (20:15 +0200)] 
style: Tweak code style to match conventions

2 years agostyle: Enable some clang-tidy readability checks for unit tests
Joel Rosdahl [Tue, 5 Apr 2022 18:14:03 +0000 (20:14 +0200)] 
style: Enable some clang-tidy readability checks for unit tests

2 years agoMerge pull request #1037 from orgads/cl-strip-lf
Joel Rosdahl [Tue, 5 Apr 2022 17:50:52 +0000 (19:50 +0200)] 
Merge pull request #1037 from orgads/cl-strip-lf

2 years agofix: Do not add redundant newlines for stdout 1037/head
Orgad Shaneh [Fri, 25 Mar 2022 14:27:39 +0000 (17:27 +0300)] 
fix: Do not add redundant newlines for stdout

Tokenizer is used with include_empty, and the output typically ends with
\n.

For each line, tokenizer returns it without the \n, and the function
appends
it. But if the output ends with \n, the tokenizer returns an additional
empty string, and a redundant LF is written to stdout.

Another issue can be if the last line of the original output doesn't end
with \n at all, ccache added it anyway.

It was probably unnoticed until now since gcc has no output at all, while
cl outputs the source file name.

2 years agofeat: Support preserving the delimiters on tokenizer
Orgad Shaneh [Fri, 25 Mar 2022 14:27:39 +0000 (17:27 +0300)] 
feat: Support preserving the delimiters on tokenizer

2 years agotest: Simplify tokenizer tests
Orgad Shaneh [Sun, 27 Mar 2022 12:14:10 +0000 (15:14 +0300)] 
test: Simplify tokenizer tests

2 years agofix: Only use /run/user/<UID>/ccache-tmp if writable
Joel Rosdahl [Sun, 3 Apr 2022 08:50:43 +0000 (10:50 +0200)] 
fix: Only use /run/user/<UID>/ccache-tmp if writable

The fix for #984 addressed a problem when /run/user/0 already exists and
ccache is run with fakeroot. However, it didn’t handle the case when
/run/user/0/ccache-tmp already exists, which will happen for instance if
the real root user has run ccache at least once.

Fix this by using access(2) to verify that the ccache-tmp directory is
writable. Note: Can’t just check the mode bits of the directory since
they appear OK since fakeroot fakes the UID.

Fixes #1044.

2 years agofix: Add ASM and ASM_MASM to project() languages (#1043)
Rafael Kitover [Sun, 3 Apr 2022 07:16:12 +0000 (07:16 +0000)] 
fix: Add ASM and ASM_MASM to project() languages (#1043)

2 years agofix: Improve handling of .gcno files
Joel Rosdahl [Sun, 3 Apr 2022 06:59:46 +0000 (08:59 +0200)] 
fix: Improve handling of .gcno files

When support for caching a compilation with coverage (producing a .gcno
file), the commit[1] made sure to avoid rewriting the input path to
relative with the motivation “also make sure to use the source file
path, since this is in the notes”. However, this seems to be unnecessary
since a relative input file path will be written as is to the .gcno, not
the absolute path. This is the case for at least GCC 4.7+ and Clang
3.6+. Fix this by potentially converting the input path to relative even
when generating coverage.

When investigating the above issue, I noticed that GCC 9+ includes the
current working directory (CWD) in the .gcno file. This means that we
have include the CWD in the hash when compiling with
-ftest-coverage/--coverage in order to replicate what the compiler would
produce. Since this makes it impossible get cache hits when compiling in
different directories, a new gcno_cwd sloppiness has been added for
opting out of hashing the CWD, with the tradeoff of potentially getting
an incorrect directory in the .gcno file.

[1]: 02d3f078bd2495b8db2264ae0b2c692b4c5ba1bd

Fixes #1032.

2 years agorefactor: Sort sloppiness parsing/generation
Joel Rosdahl [Thu, 31 Mar 2022 19:17:32 +0000 (21:17 +0200)] 
refactor: Sort sloppiness parsing/generation

2 years agochore: Disable some clang-tidy checks that don’t contribute much
Joel Rosdahl [Sun, 27 Mar 2022 10:57:24 +0000 (12:57 +0200)] 
chore: Disable some clang-tidy checks that don’t contribute much

2 years agodocs: Add reference to reference build configs (#1031)
vsplesk [Sun, 27 Mar 2022 07:57:54 +0000 (09:57 +0200)] 
docs: Add reference to reference build configs (#1031)

2 years agofix: Bail out on too hard MSVC environment variables CL and _CL_
Joel Rosdahl [Sat, 26 Mar 2022 11:20:32 +0000 (12:20 +0100)] 
fix: Bail out on too hard MSVC environment variables CL and _CL_

To handle the CL and _CL_ variables properly, ccache needs to parse them
according to [1] and then include the compiler options as part of
regular argument processing. Until that is done we have to bail out and
just run the original compiler.

[1]: https://docs.microsoft.com/en-us/cpp/build/reference/cl-environment-variables?view=msvc-170

Fixes #1022.

2 years agofix: Prefer CMake find module for hiredis package
Joel Rosdahl [Sat, 26 Mar 2022 09:28:44 +0000 (10:28 +0100)] 
fix: Prefer CMake find module for hiredis package

2 years agorefactor: Simplify string append in process_arg
Joel Rosdahl [Sat, 26 Mar 2022 09:10:04 +0000 (10:10 +0100)] 
refactor: Simplify string append in process_arg

2 years agochore: Improve error message for read error in from_cache
Joel Rosdahl [Sat, 26 Mar 2022 08:56:29 +0000 (09:56 +0100)] 
chore: Improve error message for read error in from_cache

2 years agofix: Prefer CMake find module for zstd package (#1030)
Cristian Adam [Sat, 26 Mar 2022 09:24:09 +0000 (10:24 +0100)] 
fix: Prefer CMake find module for zstd package (#1030)

2 years agofeat: Support directory for MSVC -Fo option (#1019)
Orgad Shaneh [Sat, 26 Mar 2022 09:08:13 +0000 (12:08 +0300)] 
feat: Support directory for MSVC -Fo option (#1019)

2 years agofix: Don't exit with error on read failure from cached file (#1036)
6d5CfLQ3dYAb [Sat, 26 Mar 2022 08:55:40 +0000 (01:55 -0700)] 
fix: Don't exit with error on read failure from cached file (#1036)

2 years agofix: Don’t cache preexisting object file when using -fsyntax-only
Joel Rosdahl [Thu, 24 Mar 2022 20:17:17 +0000 (21:17 +0100)] 
fix: Don’t cache preexisting object file when using -fsyntax-only

Fixes #1034.

2 years agofix: Authenticate with Redis before database selection (#1020)
6d5CfLQ3dYAb [Wed, 23 Mar 2022 20:07:50 +0000 (13:07 -0700)] 
fix: Authenticate with Redis before database selection (#1020)

2 years agofix: Work around endianness problem in Util::read_text_file
Joel Rosdahl [Sat, 19 Mar 2022 19:23:21 +0000 (20:23 +0100)] 
fix: Work around endianness problem in Util::read_text_file

The code in Util::read_text_file for converting UTF-16LE to UTF-8 only
works on little-endian machines. This makes the unit test fail on
big-endian machines.

Since the conversion is only needed on Windows (for Visual Studio, which
creates UTF-16LE .rsp files) in practice, work around the problem by
only doing the conversion in Windows builds.

Fixes #1014.

2 years agotest: Don’t require C++-capable compiler for the test suite
Joel Rosdahl [Sun, 13 Mar 2022 12:34:37 +0000 (13:34 +0100)] 
test: Don’t require C++-capable compiler for the test suite

2 years agodocs: Add missing word in release notes
Joel Rosdahl [Mon, 28 Feb 2022 06:25:55 +0000 (07:25 +0100)] 
docs: Add missing word in release notes

2 years agochore: Prepare for v4.6 v4.6
Joel Rosdahl [Sun, 27 Feb 2022 19:45:21 +0000 (20:45 +0100)] 
chore: Prepare for v4.6

2 years agochore: Update NEWS
Joel Rosdahl [Sun, 27 Feb 2022 19:41:57 +0000 (20:41 +0100)] 
chore: Update NEWS

2 years agostyle: Add missing newline at end of file
Joel Rosdahl [Sun, 27 Feb 2022 19:41:29 +0000 (20:41 +0100)] 
style: Add missing newline at end of file

2 years agochore: Sort codespell allowlist
Joel Rosdahl [Sun, 27 Feb 2022 19:34:32 +0000 (20:34 +0100)] 
chore: Sort codespell allowlist

2 years agorefactor: Make Util::is_absolute_path_with_prefix return optional
Joel Rosdahl [Sun, 27 Feb 2022 19:11:47 +0000 (20:11 +0100)] 
refactor: Make Util::is_absolute_path_with_prefix return optional

2 years agostyle: Tweak comments
Joel Rosdahl [Sun, 27 Feb 2022 19:11:07 +0000 (20:11 +0100)] 
style: Tweak comments

2 years agochore: Improve hint in source code format error message
Joel Rosdahl [Sun, 27 Feb 2022 13:09:43 +0000 (14:09 +0100)] 
chore: Improve hint in source code format error message

2 years agofix: Don’t increment direct_cache_miss for forced recache
Joel Rosdahl [Tue, 22 Feb 2022 20:55:02 +0000 (21:55 +0100)] 
fix: Don’t increment direct_cache_miss for forced recache

2 years agofix: Make conversion to relative paths more reliable on Windows (#1011)
Marius Zwicker [Sun, 27 Feb 2022 18:56:44 +0000 (19:56 +0100)] 
fix: Make conversion to relative paths more reliable on Windows (#1011)

2 years agochore: Add Vili Väinölä to .mailmap
Joel Rosdahl [Mon, 21 Feb 2022 19:45:58 +0000 (20:45 +0100)] 
chore: Add Vili Väinölä to .mailmap

2 years agofix: Hash object file directory for MSVC compilers
Joel Rosdahl [Sun, 20 Feb 2022 15:26:40 +0000 (16:26 +0100)] 
fix: Hash object file directory for MSVC compilers

The object file produced by MSVC includes the full path to the object
file even without debug flags.

2 years agobump: Upgrade to BLAKE3 1.3.1
Joel Rosdahl [Sun, 20 Feb 2022 15:10:11 +0000 (16:10 +0100)] 
bump: Upgrade to BLAKE3 1.3.1

2 years agodocs: Tweak hard link config option description
Joel Rosdahl [Sun, 20 Feb 2022 10:11:53 +0000 (11:11 +0100)] 
docs: Tweak hard link config option description

2 years agofix: Respect umask when making hard linked files read only
Joel Rosdahl [Sat, 19 Feb 2022 16:02:23 +0000 (17:02 +0100)] 
fix: Respect umask when making hard linked files read only

Fixes #1007.

2 years agorefactor: Extract get_umask function to Util
Joel Rosdahl [Sat, 19 Feb 2022 15:52:26 +0000 (16:52 +0100)] 
refactor: Extract get_umask function to Util

2 years agochore: Touch up Util::read_text_file code
Joel Rosdahl [Sat, 19 Feb 2022 15:24:36 +0000 (16:24 +0100)] 
chore: Touch up Util::read_text_file code

2 years agofix: Support UTF-16LE .rsp files (#1005)
vvainola [Sat, 19 Feb 2022 15:22:16 +0000 (17:22 +0200)] 
fix: Support UTF-16LE .rsp files (#1005)

2 years agodocs: Add documentation that compiler plugins are hashed too (#1006)
Philipp Gortan [Tue, 15 Feb 2022 19:41:24 +0000 (20:41 +0100)] 
docs: Add documentation that compiler plugins are hashed too (#1006)

2 years agofeat: Remove automatic enabling of ccache for ccache build
Joel Rosdahl [Mon, 7 Feb 2022 19:36:47 +0000 (20:36 +0100)] 
feat: Remove automatic enabling of ccache for ccache build

When enabling ccache using the standard recommended method (via PATH or
via masquerading symlinks), UseCcache.cmake will introduce double
invocations of ccache. I find this a bit annoying and I also think that
it should be up to the user to enable or not enable ccache and which
settings to use.

2 years agochore: Remove obsolete GCC 4.8 workarounds
Joel Rosdahl [Mon, 7 Feb 2022 19:31:02 +0000 (20:31 +0100)] 
chore: Remove obsolete GCC 4.8 workarounds

2 years agofix: Ensure that raw filenames are static in length
Joel Rosdahl [Mon, 7 Feb 2022 19:20:08 +0000 (20:20 +0100)] 
fix: Ensure that raw filenames are static in length

PrimaryStorage::evict assumes that the entry number is encoded in the
filename as one character, so make sure that this precondition holds in
Result::{Reader,Writer} as well.

2 years agorefactor: Clean up code related to -Fp/-Yu with concatenated path
Joel Rosdahl [Sat, 5 Feb 2022 18:48:59 +0000 (19:48 +0100)] 
refactor: Clean up code related to -Fp/-Yu with concatenated path

2 years agofix: Fix clang-cl display name (#1003)
Orgad Shaneh [Thu, 3 Feb 2022 20:19:55 +0000 (22:19 +0200)] 
fix: Fix clang-cl display name (#1003)

2 years agostyle: Improve names related to clang-cl
Joel Rosdahl [Thu, 3 Feb 2022 19:49:11 +0000 (20:49 +0100)] 
style: Improve names related to clang-cl

2 years agodocs: Add missing documentation of compiler type “clang-cl”
Joel Rosdahl [Thu, 3 Feb 2022 19:48:12 +0000 (20:48 +0100)] 
docs: Add missing documentation of compiler type “clang-cl”

2 years agofix: Don’t finalize ZstdCompressor twice
Joel Rosdahl [Thu, 3 Feb 2022 08:57:08 +0000 (09:57 +0100)] 
fix: Don’t finalize ZstdCompressor twice

This fixes an issue with older libzstd versions, which don’t like when
you continue writing data to a stream after calling ZSTD_endStream.

2 years agofeat: Add support for clang-cl (#993)
Orgad Shaneh [Thu, 3 Feb 2022 19:38:31 +0000 (21:38 +0200)] 
feat: Add support for clang-cl (#993)

Co-authored-by: Luboš Luňák <l.lunak@centrum.cz>
2 years agofeat: Add option to use Bearer token with HTTP backend (#1001)
Delgan [Fri, 28 Jan 2022 18:28:15 +0000 (19:28 +0100)] 
feat: Add option to use Bearer token with HTTP backend (#1001)

2 years agobump: Upgrade to cpp-httplib 0.10.2
Joel Rosdahl [Thu, 27 Jan 2022 19:15:29 +0000 (20:15 +0100)] 
bump: Upgrade to cpp-httplib 0.10.2

2 years agofeat: Enable HTTP keep-alive by default (#1000)
Joel Rosdahl [Thu, 27 Jan 2022 19:10:05 +0000 (20:10 +0100)] 
feat: Enable HTTP keep-alive by default (#1000)

2 years agofeat: Add --inspect option instead of --dump-manifest/--dump-result
Joel Rosdahl [Mon, 24 Jan 2022 19:24:16 +0000 (20:24 +0100)] 
feat: Add --inspect option instead of --dump-manifest/--dump-result

“Inspect” sounds more appropriate than “dump” for viewing metadata of
cache files. Also, it’s convenient to have one option instead of two
different.

2 years agoenhance: Add File::File(FILE*) constructor
Joel Rosdahl [Thu, 30 Dec 2021 12:29:18 +0000 (13:29 +0100)] 
enhance: Add File::File(FILE*) constructor

2 years agofix: Do not handle -o<file> for MSVC (#994)
Orgad Shaneh [Mon, 24 Jan 2022 17:07:20 +0000 (19:07 +0200)] 
fix: Do not handle -o<file> for MSVC (#994)

Co-authored-by: Luboš Luňák <l.lunak@centrum.cz>
2 years agobump: Upgrade to BLAKE3 1.3.0
Joel Rosdahl [Sun, 23 Jan 2022 19:58:56 +0000 (20:58 +0100)] 
bump: Upgrade to BLAKE3 1.3.0

2 years agobump: Upgrade to fmt 8.1.1
Joel Rosdahl [Sun, 23 Jan 2022 19:35:30 +0000 (20:35 +0100)] 
bump: Upgrade to fmt 8.1.1