Commits on Source (17)
-
Matthias Clasen authored
Valgrind complained that the g_list_copy_deep call here leaks memory. In fact, the set_property implementation already takes care of copying the list and reffing the objects, so don't do it here. https://bugzilla.gnome.org/show_bug.cgi?id=778804
a6de6e3d -
Ondrej Holy authored
Currently, archive entries with absolute paths lose their paths when extracting, or even cause crashes. The code expects that the `autoar_extractor_do_sanitize_pathname` function will always return paths inside, or equal to the destination directory, but this is not true. The problem is that the `g_file_get_child` resp. `g_file_resolve_relative_path` functions expect relative paths, but are used with absolute paths also. Let's convert absolute paths to relative ones to ensure that they will be exctracted as relative to the destination dir. Also, update the corresponding test case to confirm this. Fixes: https://gitlab.gnome.org/GNOME/gnome-autoar/-/issues/32
8bbb2d51 -
António Fernandes authored
The AutoarCompressor object returns the format when asked for a filter. Fix the obvious oversight from commit 2901c81d.
bb883017 -
Ondrej Holy authored
The meson package is not part of the CI image as Autotools are used currently. Let's add meson as a preparation for the upcoming meson port.
94948f4f -
Ondrej Holy authored
There are various problems with the rawhide image currently and I don't know how to workaround them. Let's use fedora:latest (temporarily) to fix our pipeline.
ca4219a6 -
Ondrej Holy authored
Let's add a check for potential ABI breaks to not break ABI by mistake, or to not forget to update the library version.
2703ca85 -
Ondrej Holy authored
`AutoarExtractor` supports extraction of encrypted archives. It would be nice to have support for encrypted archives also in `AutoarCompressor`. Though the libarchive library doesn't provide a much. It supports encryption only for the ZIP format. There is a choice between `zipcrypt`, `aes128` and `aes256`. Given the phact that `zipcrypt` is insecure and not recommended, I think it is fine to hardcode `aes256`. It is probably a bit slower then `aes128`, but more secure. So the only thing which needs to be set is a passphrase. Let's add `autoar_compressor_set_passphrase` to allow creating encrypted archives. Relates: https://gitlab.gnome.org/GNOME/nautilus/-/issues/822
0626d063 -
Ondrej Holy authored
The test utils doesn't support encrypted archives as it is not possible to specify password currently. Let's simply add an password argument to have a simple way to test this feature.
dd3449b1 -
Iñigo Martínez authored
meson is a build system focused on speed an ease of use, which helps speeding up the software development. Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com>
9ad4d7c9 -
Iñigo Martínez authored99eba5a7
-
Iñigo Martínez authored
To avoid the burden of maintaining multiple build systems, autotools support has been removed.
7308ccdc -
Iñigo Martínez authored
The gschema file is not used so it has been removed.
bcf17c9f -
Ondrej Holy authored
The `test-extract-unit` suite expects that the source directory is the same as the build directory. Consequently, it fails over `ninja test` as it doesn't see the test files. Let's adapt the codes to use the `G_TEST_SRCDIR` so it can be used from the build dir.
6efa013b -
Iñigo Martínez authored
The `filename` tag in enum files shows the whole file path. This has been replaced with the `basename` tag just to show the file name.
58860888 -
Iñigo Martínez authorede74a0d9a
-
Ondrej Holy authored801ac0f5
-
Jeremy Bicha authoredf5c63c73
.gitlab-ci.yml
0 → 100644
.gitlab/Dockerfile
0 → 100644
Makefile.am
deleted
100644 → 0
Makefile.in
deleted
100644 → 0
This diff is collapsed.
README.md
0 → 100644
aclocal.m4
deleted
100644 → 0
This diff is collapsed.
autogen.sh
deleted
100755 → 0
compile
deleted
100755 → 0
config.guess
deleted
100755 → 0
This diff is collapsed.
config.h.in
deleted
100644 → 0
config.sub
deleted
100755 → 0
This diff is collapsed.
configure
deleted
100755 → 0
This diff is collapsed.
configure.ac
deleted
100644 → 0
depcomp
deleted
100755 → 0
This diff is collapsed.
docs/Makefile.am
deleted
100644 → 0
docs/Makefile.in
deleted
100644 → 0
This diff is collapsed.
docs/reference/Makefile.am
deleted
100644 → 0
docs/reference/Makefile.in
deleted
100644 → 0
This diff is collapsed.