753 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
f16d857b9e Update zstd 2021-10-23 17:49:31 +02:00
Marcus Holland-Moritz
85afd723a3 Update fbthrift 2021-10-23 17:49:31 +02:00
Marcus Holland-Moritz
4ee07c8991 Update folly 2021-10-23 17:49:31 +02:00
Marcus Holland-Moritz
cf431735cf Fix some thrift deprecation warnings 2021-10-23 17:49:31 +02:00
Marcus Holland-Moritz
ce436345f9 Remove unused variable 2021-10-23 17:49:31 +02:00
mhx
5112867b92
Merge pull request #58 from RarogCmex/main
Attempting to fix https://github.com/mhx/dwarfs/issues/57
2021-10-02 22:27:01 +02:00
RarogCmex
401deff9f7 Attempting to fix https://github.com/mhx/dwarfs/issues/57 2021-09-22 17:25:57 +05:00
Marcus Holland-Moritz
0f6d94f00f cmake-format again, preserving comment layout 2021-08-12 14:01:46 +02:00
Marcus Holland-Moritz
54f6f1b69e Fix static linking for tests, cmake-format everything
Some tests didn't link yet due to gflags init code. Tweaking static
library dependencies a little fixed this.
2021-08-12 13:55:06 +02:00
mhx
58af657fa7
Merge pull request #55 from metanorma/main
Static build reimplemented in more portable way
2021-08-12 13:23:37 +02:00
Maxim Samsonov
9f0c672bee Cleaned trash comment 2021-08-05 17:34:39 +03:00
Maxim [maxirmx] Samsonov
4ee007f891 https://github.com/mhx/dwarfs/issues/54 2021-07-30 08:32:26 +03:00
Maxim [maxirmx] Samsonov
7ad1c61ba8 Static build rework 2021-07-30 01:02:45 +03:00
Maxim [maxirmx] Samsonov
da9f3f0086 Static build fixes 2021-07-29 00:32:53 +03:00
Marcus Holland-Moritz
2a51edb67b Update change log v0.5.6 2021-07-03 15:27:18 +02:00
Marcus Holland-Moritz
1e46f2270e Use real directory paths in version.cmake (fixes gh #47) 2021-06-08 20:51:57 +02:00
Marcus Holland-Moritz
c97105f3e9 Move fatal error after useful debug output (d'oh!) 2021-06-06 23:08:31 +02:00
Marcus Holland-Moritz
626b8c0f6a Build fixes for gcc-11 2021-05-04 13:33:02 +02:00
Marcus Holland-Moritz
49061e96af Temporarily disable clang until this is usable again on travis v0.5.5 2021-05-03 22:57:54 +02:00
Marcus Holland-Moritz
0ddd94d019 Try fixing travis again... 2021-05-03 22:24:49 +02:00
Marcus Holland-Moritz
96c6093754 Update change log 2021-05-03 22:10:33 +02:00
Marcus Holland-Moritz
07987e1081 Don't compress blocks with bad compression ratio
If we don't save at least one byte by compression, just store the
block uncompressed. This also partially fixes github #45, where
LZMA would behave out-of-spec when compressing a large block of
random data.
2021-05-03 22:09:40 +02:00
Marcus Holland-Moritz
889c3c66b5 Fix block boundary handling in block manager
If the last chunk ended exactly on a block boundary, the last block
was accidentally written to the output filesystem twice. This had no
impact on the usability of the filesystem, but is obviously bad in
that it added unnecessary data to the filesystem image.
2021-05-03 13:25:15 +02:00
Marcus Holland-Moritz
3c9bb23665 Fix filesystem loading without shared files and packing
If packing is enabled, a filesystem without shared files will not
load due to an out-of-bounds access. It'll either crash or throw
an error.
2021-05-03 12:58:38 +02:00
Marcus Holland-Moritz
54b27f5662 Make os_access_mock more flexible 2021-05-03 12:53:45 +02:00
Marcus Holland-Moritz
1bb87772c7 Update folly/fbthrift 2021-04-15 22:11:43 +02:00
Marcus Holland-Moritz
6dc565c50c More extensive FUSE driver option testing 2021-04-13 21:41:48 +02:00
Marcus Holland-Moritz
5dd3323782 Revert 5eee555 and fix test 2021-04-13 14:28:04 +02:00
Marcus Holland-Moritz
dc16fee8a0 Re-add clang to travis config 2021-04-13 13:54:12 +02:00
Marcus Holland-Moritz
5eee555de6 Fix access() with W_OK, and add test 2021-04-13 13:53:40 +02:00
Marcus Holland-Moritz
f7ddcc5b9a Try working around clang-10 crashes 2021-04-13 12:27:40 +02:00
Marcus Holland-Moritz
9e506aaa7d Only use exception tracer for non-release builds 2021-04-13 12:11:29 +02:00
Marcus Holland-Moritz
c262ee197b More tools tests 2021-04-13 10:50:40 +02:00
Marcus Holland-Moritz
de2f4388b2 More ccache tweaks 2021-04-13 09:12:34 +02:00
Marcus Holland-Moritz
2617449de7 Show ccache config/usage in travis 2021-04-13 09:02:19 +02:00
Marcus Holland-Moritz
58cb5147d6 Test --export-metadata dwarfsck option 2021-04-13 08:53:16 +02:00
Marcus Holland-Moritz
337660276c Tweak travis ccache config 2021-04-13 00:21:09 +02:00
Marcus Holland-Moritz
6532a25af2 Mark parameter as potentially unused 2021-04-12 23:47:41 +02:00
Marcus Holland-Moritz
176b4be5d0 Correctly initialize options structure 2021-04-12 23:47:24 +02:00
Marcus Holland-Moritz
4d25fcf24e Temporarily remove clang from travis config 2021-04-12 23:47:00 +02:00
Marcus Holland-Moritz
2b14de5362 Add missing libarchive-dev to travis config 2021-04-12 22:49:32 +02:00
Marcus Holland-Moritz
1280dbbf6d Update travis config 2021-04-12 22:40:20 +02:00
Marcus Holland-Moritz
2c98501e46 Update static linking script to also work for tests 2021-04-12 19:35:48 +02:00
Marcus Holland-Moritz
fdc25fb1ac Add small test suite for testing the fuse driver & binaries 2021-04-12 19:00:48 +02:00
Marcus Holland-Moritz
3d36f92b85 Add user.dwarfs.driver.pid xattr to toplevel entry
This helps identify the dwarfs driver process associated with
a mounted filesystem.
2021-04-12 18:55:32 +02:00
Marcus Holland-Moritz
b2fc36e95d Update change log v0.5.4 2021-04-11 22:45:27 +02:00
Marcus Holland-Moritz
9cbe9fae58 Worker threads must be created after fork to background (fix gh #44) 2021-04-11 22:31:53 +02:00
Marcus Holland-Moritz
6d8bc71348 Update change log v0.5.3 2021-04-11 13:35:05 +02:00
Marcus Holland-Moritz
35cac17dab Fix version file generation in external git repo
If the source tarball is extracted within a git repository, the
version file generation code would try to re-create the version
files and would very likely fail doing so.

This is an issue on Arch Linux, where packages are apparently
built from within a repo that hold the package build information.
2021-04-11 13:20:24 +02:00
Marcus Holland-Moritz
eb1fd9ecd7 Add PREFER_SYSTEM_GTEST cmake option (fixes github #42) 2021-04-09 18:53:02 +02:00