]> git.ipfire.org Git - thirdparty/xz.git/log
thirdparty/xz.git
8 weeks agoBump version and soname for 5.6.1. v5.6.1
Jia Tan [Sat, 9 Mar 2024 03:42:50 +0000 (11:42 +0800)] 
Bump version and soname for 5.6.1.

8 weeks agoAdd NEWS for 5.6.1
Jia Tan [Sat, 9 Mar 2024 03:27:27 +0000 (11:27 +0800)] 
Add NEWS for 5.6.1

8 weeks agoTranslations: Add missing --riscv option to man page translations.
Jia Tan [Sat, 9 Mar 2024 02:43:20 +0000 (10:43 +0800)] 
Translations: Add missing --riscv option to man page translations.

8 weeks agoTests: Update two test files.
Jia Tan [Sat, 9 Mar 2024 02:18:29 +0000 (10:18 +0800)] 
Tests: Update two test files.

The original files were generated with random local to my machine.
To better reproduce these files in the future, a constant seed was used
to recreate these files.

8 weeks agoTests: Test --single-stream can decompress bad-3-corrupt_lzma2.xz.
Jia Tan [Sat, 9 Mar 2024 02:08:32 +0000 (10:08 +0800)] 
Tests: Test --single-stream can decompress bad-3-corrupt_lzma2.xz.

The first stream in this file is valid, so this tests that xz properly
stops after decompressing it.

8 weeks agoTests: Update RISC-V test files.
Jia Tan [Sat, 9 Mar 2024 02:05:32 +0000 (10:05 +0800)] 
Tests: Update RISC-V test files.

This increases code coverage and tests for possible shifting bugs.

8 weeks agoliblzma: Fix typos in crc32_fast.c and crc64_fast.c.
Jia Tan [Sat, 9 Mar 2024 01:52:32 +0000 (09:52 +0800)] 
liblzma: Fix typos in crc32_fast.c and crc64_fast.c.

8 weeks agoTests: Replace HAVE_MICROLZMA usage in CMake and Autotools builds.
Jia Tan [Sat, 9 Mar 2024 01:49:55 +0000 (09:49 +0800)] 
Tests: Replace HAVE_MICROLZMA usage in CMake and Autotools builds.

This reverts commit adaacafde6661496ca2814b1e94a3ba5186428cb.

8 weeks agoliblzma: Fix false Valgrind error report with GCC.
Jia Tan [Sat, 9 Mar 2024 01:20:57 +0000 (09:20 +0800)] 
liblzma: Fix false Valgrind error report with GCC.

With GCC and a certain combination of flags, Valgrind will falsely
trigger an invalid write. This appears to be due to the omission of
instructions to properly save, set up, and restore the frame pointer.

The IFUNC resolver is a leaf function since it only calls a function
that is inlined. So sometimes GCC omits the frame pointer instructions
in the resolver unless this optimization is explictly disabled.

This fixes https://bugzilla.redhat.com/show_bug.cgi?id=2267598.

2 months agoliblzma: Fix a typo in a comment in the RISC-V filter.
Lasse Collin [Tue, 5 Mar 2024 21:21:26 +0000 (23:21 +0200)] 
liblzma: Fix a typo in a comment in the RISC-V filter.

2 months agoliblzma: Use attribute no_profile_instrument_function with ifunc.
Jia Tan [Mon, 4 Mar 2024 16:34:46 +0000 (00:34 +0800)] 
liblzma: Use attribute no_profile_instrument_function with ifunc.

Thanks to Sam James for determining this was the attribute needed to
workaround the GCC bug and for his version of the patch in Gentoo.

2 months agoBuild: Require attribute no_profile_instrument_function for ifunc usage.
Jia Tan [Mon, 4 Mar 2024 16:27:31 +0000 (00:27 +0800)] 
Build: Require attribute no_profile_instrument_function for ifunc usage.

Using __attribute__((__no_profile_instrument_function__)) on the ifunc
resolver works around a bug in GCC -fprofile-generate:
it adds profiling code even to ifunc resolvers which can make
the ifunc resolver crash at program startup. This attribute
was not introduced until GCC 7 and Clang 13, so ifunc won't
be used with prior versions of these compilers.

This bug was brought to our attention by:

    https://bugs.gentoo.org/925415

And was reported to upstream GCC by:

    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11411

2 months agoliblzma: Fix a comment in the RISC-V filter.
Lasse Collin [Mon, 4 Mar 2024 17:23:18 +0000 (19:23 +0200)] 
liblzma: Fix a comment in the RISC-V filter.

2 months agoCMake: Warn if translated man pages are missing.
Lasse Collin [Thu, 29 Feb 2024 14:35:52 +0000 (16:35 +0200)] 
CMake: Warn if translated man pages are missing.

2 months agoCMake: Warn if gettext tools and pre-created .gmo files are missing.
Lasse Collin [Thu, 29 Feb 2024 14:35:52 +0000 (16:35 +0200)] 
CMake: Warn if gettext tools and pre-created .gmo files are missing.

It's only done with CMake >= 3.20 and if library support
for translation was already found.

Sort of fixes: https://github.com/tukaani-project/xz/issues/82

2 months agoxz: Add comments.
Lasse Collin [Wed, 28 Feb 2024 16:26:25 +0000 (18:26 +0200)] 
xz: Add comments.

2 months agoxz: Change logging level for thread reduction to highest verbosity only.
Jia Tan [Tue, 27 Feb 2024 15:42:41 +0000 (23:42 +0800)] 
xz: Change logging level for thread reduction to highest verbosity only.

Now that multi threaded encoding is the default, users do not need to
see a warning message everytime the number of threads is reduced. On
some machines, this could happen very often. It is not unreasonable for
users to need to set double verbose mode to see this kind of
information.

To see these warning messages -vv or --verbose --verbose must be passed
to set xz into the highest possible verbosity mode.

These warnings had caused automated testing frameworks to fail when they
expected no output to stderr.

Thanks to Sebastian Andrzej Siewior for reporting this and for the
initial version of the patch.

2 months agoFix sorting in THANKS.
Lasse Collin [Mon, 26 Feb 2024 21:06:13 +0000 (23:06 +0200)] 
Fix sorting in THANKS.

2 months agoUpdate THANKS.
Jia Tan [Mon, 26 Feb 2024 15:39:29 +0000 (23:39 +0800)] 
Update THANKS.

2 months agoxz: Add missing RISC-V on the filter list in the man page
Chien Wong [Sun, 25 Feb 2024 13:38:13 +0000 (21:38 +0800)] 
xz: Add missing RISC-V on the filter list in the man page

Signed-off-by: Chien Wong <m@xv97.com>
2 months agoBuild: Fix Linux Landlock feature test in Autotools and CMake builds.
Jia Tan [Mon, 26 Feb 2024 15:02:06 +0000 (23:02 +0800)] 
Build: Fix Linux Landlock feature test in Autotools and CMake builds.

The previous Linux Landlock feature test assumed that having the
linux/landlock.h header file was enough. The new feature tests also
requires that prctl() and the required Landlock system calls are
supported.

2 months agoTests: Add test_microlzma to .gitignore and CMakeLists.txt.
Jia Tan [Mon, 26 Feb 2024 12:06:10 +0000 (20:06 +0800)] 
Tests: Add test_microlzma to .gitignore and CMakeLists.txt.

2 months agoTests: Correct license header in test_microlzma.c.
Jia Tan [Mon, 26 Feb 2024 11:56:25 +0000 (19:56 +0800)] 
Tests: Correct license header in test_microlzma.c.

2 months agoFix typos in NEWS and CMakeLists.
Jia Tan [Sun, 25 Feb 2024 13:41:55 +0000 (21:41 +0800)] 
Fix typos in NEWS and CMakeLists.

2 months agoBump version and soname for 5.6.0. v5.6.0
Jia Tan [Sat, 24 Feb 2024 07:55:08 +0000 (15:55 +0800)] 
Bump version and soname for 5.6.0.

2 months agoAdd NEWS for 5.6.0.
Jia Tan [Sat, 24 Feb 2024 07:50:36 +0000 (15:50 +0800)] 
Add NEWS for 5.6.0.

2 months agoTranslations: Remove obsolete and fuzzy matches from some translations.
Jia Tan [Thu, 22 Feb 2024 14:27:01 +0000 (22:27 +0800)] 
Translations: Remove obsolete and fuzzy matches from some translations.

The French and Brazilian Portuguese man page translations have not been
updated since the switch from public domain to 0BSD. The old GPLv2
strings have now been removed from these files.

2 months agoTranslations: Patch man pages to avoid fuzzy matches.
Jia Tan [Tue, 20 Feb 2024 16:31:54 +0000 (00:31 +0800)] 
Translations: Patch man pages to avoid fuzzy matches.

This will be fixed in the next round of translations, but this avoids
having a fuzzy match or not fixing the English version.

2 months agoxzmore: Fix typo in xzmore.1.
Jia Tan [Tue, 20 Feb 2024 16:30:43 +0000 (00:30 +0800)] 
xzmore: Fix typo in xzmore.1.

Thanks to Yuri Chornoivan.

2 months agoTranslations: Update the Vietnamese translation.
Jia Tan [Sat, 24 Feb 2024 04:12:16 +0000 (12:12 +0800)] 
Translations: Update the Vietnamese translation.

2 months agoTranslations: Update the Esperanto translation.
Jia Tan [Sat, 24 Feb 2024 04:06:40 +0000 (12:06 +0800)] 
Translations: Update the Esperanto translation.

2 months agoTests: Add a few test files.
Jia Tan [Fri, 23 Feb 2024 15:09:59 +0000 (23:09 +0800)] 
Tests: Add a few test files.

2 months agoTests: Add MicroLZMA test.
Jia Tan [Fri, 23 Feb 2024 12:58:36 +0000 (20:58 +0800)] 
Tests: Add MicroLZMA test.

2 months agoBuild: Define HAVE_MICROLZMA when it is configured.
Jia Tan [Fri, 23 Feb 2024 12:57:59 +0000 (20:57 +0800)] 
Build: Define HAVE_MICROLZMA when it is configured.

2 months agoxz: Fix Capsicum sandbox compile error.
Jia Tan [Fri, 23 Feb 2024 12:27:15 +0000 (20:27 +0800)] 
xz: Fix Capsicum sandbox compile error.

user_abort_pipe[] was still being used instead of the parameters.

2 months agoBuild: Fix ARM64 CRC32 instruction feature test.
Jia Tan [Fri, 23 Feb 2024 08:12:32 +0000 (16:12 +0800)] 
Build: Fix ARM64 CRC32 instruction feature test.

Old versions of Clang reported the unsupported function attribute and
__crc32d() function as warnings instead of errors, so the feature test
passed when it shouldn't have, causing a compile error at build time.
-Werror was added to this feature test to fix this. The change is not
needed for CMake because check_c_source_compiles() also performs
linking and the error is caught then.

Thanks to Sebastian Andrzej Siewior for reporting this.

2 months agoCMake: Add LOCALEDIR to the windres workaround.
Lasse Collin [Thu, 22 Feb 2024 17:16:35 +0000 (19:16 +0200)] 
CMake: Add LOCALEDIR to the windres workaround.

LOCALEDIR may contain spaces like in "C:\Program Files".

2 months agoxz: Landlock: Fix error message if input file is a directory.
Lasse Collin [Thu, 22 Feb 2024 13:18:25 +0000 (15:18 +0200)] 
xz: Landlock: Fix error message if input file is a directory.

If xz is given a directory, it should look like this:

    $ xz /usr/bin
    xz: /usr/bin: Is a directory, skipping

The Landlock rules didn't allow opening directories for reading:

    $ xz /usr/bin
    xz: /usr/bin: Permission denied

The simplest fix was to allow opening directories for reading.
While it's a bit silly to allow it solely for the error message,
it shouldn't make the sandbox significantly weaker.

The single-file use case (like when called from GNU tar) is
still as strict as possible: all Landlock restrictions are
enabled before (de)compression starts.

2 months agoliblzma: Disable branchless C version in range decoder.
Lasse Collin [Thu, 22 Feb 2024 12:41:29 +0000 (14:41 +0200)] 
liblzma: Disable branchless C version in range decoder.

Thanks to Sebastian Andrzej Siewior and Sam James for
benchmarking on various systems.

2 months agoINSTALL: Clarify that --disable-assembler affects only 32-bit x86.
Lasse Collin [Wed, 21 Feb 2024 15:41:32 +0000 (17:41 +0200)] 
INSTALL: Clarify that --disable-assembler affects only 32-bit x86.

2 months agoWindows: build.bash: Include COPYING.0BSD in the package.
Lasse Collin [Mon, 19 Feb 2024 16:41:37 +0000 (18:41 +0200)] 
Windows: build.bash: Include COPYING.0BSD in the package.

2 months agoWindows: build.bash: include liblzma-crt-mixing.txt in the package.
Lasse Collin [Sun, 18 Feb 2024 15:59:46 +0000 (17:59 +0200)] 
Windows: build.bash: include liblzma-crt-mixing.txt in the package.

2 months agoWindows: Major update to Windows build instructions.
Lasse Collin [Sun, 18 Feb 2024 15:17:43 +0000 (17:17 +0200)] 
Windows: Major update to Windows build instructions.

2 months agoWindows: Update windows/README-Windows.txt.
Lasse Collin [Sun, 18 Feb 2024 13:15:04 +0000 (15:15 +0200)] 
Windows: Update windows/README-Windows.txt.

It's for binary packages built with windows/build.bash.

2 months agoWindows: Update windows/build.bash.
Lasse Collin [Sun, 18 Feb 2024 13:15:04 +0000 (15:15 +0200)] 
Windows: Update windows/build.bash.

Support for the old MinGW was dropped. Only MinGW-w64 with GCC
is supported now.

The script now supports also cross-compilation from GNU/Linux
(tests are not run). MSYS2 and also the old MSYS 1.0.11 work
for building on Windows. The i686 and x86_64 toolchains must
be in PATH to build both 32-bit and 64-bit versions.

Parallel builds are done if "nproc" from GNU coreutils is available.

MinGW-w64 runtime copyright information file was renamed from
COPYING-Windows.txt to COPYING.MinGW-w64-runtime.txt which
is the filename used by MinGW-w64 itself. Its existence
is now mandatory, it's checked at the beginning of the script.

The file TODO is no longer copied to the package.

2 months agoTranslations: Update the Romanian man page translations.
Jia Tan [Tue, 20 Feb 2024 15:32:22 +0000 (23:32 +0800)] 
Translations: Update the Romanian man page translations.

2 months agoTranslations: Update the Korean man page translations.
Jia Tan [Tue, 20 Feb 2024 15:30:25 +0000 (23:30 +0800)] 
Translations: Update the Korean man page translations.

2 months agoTranslations: Update the Spanish translation.
Jia Tan [Tue, 20 Feb 2024 13:03:53 +0000 (21:03 +0800)] 
Translations: Update the Spanish translation.

2 months agoTranslations: Update the Romanian translation.
Jia Tan [Tue, 20 Feb 2024 12:18:07 +0000 (20:18 +0800)] 
Translations: Update the Romanian translation.

2 months agoTranslations: Update the Croatian translation.
Jia Tan [Tue, 20 Feb 2024 12:15:50 +0000 (20:15 +0800)] 
Translations: Update the Croatian translation.

2 months agoTranslations: Update the German man page translations.
Jia Tan [Tue, 20 Feb 2024 12:05:44 +0000 (20:05 +0800)] 
Translations: Update the German man page translations.

2 months agoTranslations: Update the German translation.
Jia Tan [Tue, 20 Feb 2024 11:58:25 +0000 (19:58 +0800)] 
Translations: Update the German translation.

2 months agoTranslations: Update the Hungarian translation.
Jia Tan [Tue, 20 Feb 2024 11:56:52 +0000 (19:56 +0800)] 
Translations: Update the Hungarian translation.

2 months agoCMake: Fix building of lzmainfo when translations are enabled.
Lasse Collin [Mon, 19 Feb 2024 14:48:05 +0000 (16:48 +0200)] 
CMake: Fix building of lzmainfo when translations are enabled.

2 months agoCMake: Don't assume that -fvisibility=hidden is supported outside Windows.
Lasse Collin [Mon, 19 Feb 2024 11:38:42 +0000 (13:38 +0200)] 
CMake: Don't assume that -fvisibility=hidden is supported outside Windows.

The original code was good enough for supporting GNU/Linux
and a few others but it wasn't very portable.

CMake doesn't support Solaris Studio's -xldscope=hidden.
If it ever does, things should still work with this commit
as Solaris Studio supports not only its own __global but also
the GNU C __attribute__((visibility("default"))). Support for the
attribute was added in 2007 to Sun Studio 12 compiler version 5.9.

2 months agoCMake: Revise the component splitting.
Lasse Collin [Mon, 19 Feb 2024 10:20:59 +0000 (12:20 +0200)] 
CMake: Revise the component splitting.

2 months agoCMake: Update the main comment and document CMAKE_BUILD_TYPE=Release.
Lasse Collin [Sat, 17 Feb 2024 19:45:07 +0000 (21:45 +0200)] 
CMake: Update the main comment and document CMAKE_BUILD_TYPE=Release.

2 months agoCMake: Use -O2 instead of -O3 in CMAKE_BUILD_TYPE=Release.
Lasse Collin [Sat, 17 Feb 2024 19:27:48 +0000 (21:27 +0200)] 
CMake: Use -O2 instead of -O3 in CMAKE_BUILD_TYPE=Release.

-O3 doesn't seem useful for speed but it makes the code bigger.
CMake makes is difficult for users to simply override the
optimization level: CFLAGS / CMAKE_C_FLAGS aren't helpful because
they go before CMAKE_C_FLAGS_RELEASE. Of course, users can override
CMAKE_C_FLAGS_RELEASE directly but then they have to remember to
add also -DNDEBUG to disable assertions.

This commit changes -O3 to -O2 in CMAKE_C_FLAGS_RELEASE if and only if
CMAKE_C_FLAGS_RELEASE cache variable doesn't already exist. So if
a custom value is passed on the command line (or reconfiguring an
already-configured build), the cache variable won't be modified.

2 months agoCMake: Handle symbol versioning on MicroBlaze specially.
Lasse Collin [Sun, 18 Feb 2024 12:59:52 +0000 (14:59 +0200)] 
CMake: Handle symbol versioning on MicroBlaze specially.

This is to match configure.ac.

2 months agoCMake: Keep build working even if lib/*.[ch] are removed.
Lasse Collin [Sat, 17 Feb 2024 20:18:12 +0000 (22:18 +0200)] 
CMake: Keep build working even if lib/*.[ch] are removed.

2 months agoCMake: Install documentation.
Lasse Collin [Sat, 17 Feb 2024 16:10:40 +0000 (18:10 +0200)] 
CMake: Install documentation.

2 months agoCMake: Bump maximum policy version to 3.28.
Lasse Collin [Sat, 17 Feb 2024 13:35:35 +0000 (15:35 +0200)] 
CMake: Bump maximum policy version to 3.28.

CMP0154 doesn't affect us since we don't use FILE_SET.

2 months agoCMake: Build lzmainfo.
Lasse Collin [Sat, 17 Feb 2024 13:35:35 +0000 (15:35 +0200)] 
CMake: Build lzmainfo.

2 months agoCMake: Build lzmadec.
Lasse Collin [Sat, 17 Feb 2024 13:35:35 +0000 (15:35 +0200)] 
CMake: Build lzmadec.

2 months agoCMake: Add test_scripts.sh to the tests.
Lasse Collin [Sat, 17 Feb 2024 13:35:35 +0000 (15:35 +0200)] 
CMake: Add test_scripts.sh to the tests.

In contrast to Automake, skipping of this test when decoders
are disabled is handled at CMake side instead of test_scripts.sh
because CMake-build doesn't create config.h.

2 months agoCMake: Install scripts.
Lasse Collin [Sat, 17 Feb 2024 13:35:35 +0000 (15:35 +0200)] 
CMake: Install scripts.

Compared to the Autotools-based build, this has simpler handling
for the shell (@POSIX_SHELL@) and extra PATH entry for the scripts
(configure has --enable-path-for-scripts=PREFIX). The simpler
metho should be enough for non-ancient systems and Solaris.

2 months agoScripts: Use @PACKAGE_VERSION@ instead of @VERSION@.
Lasse Collin [Sat, 17 Feb 2024 13:35:35 +0000 (15:35 +0200)] 
Scripts: Use @PACKAGE_VERSION@ instead of @VERSION@.

PACKAGE_VERSION was already used in liblzma.pc.in.
This way only one version @foo@ is used.

2 months agoCMake: Simplify symlink creation and install translated man pages.
Lasse Collin [Sat, 17 Feb 2024 13:35:35 +0000 (15:35 +0200)] 
CMake: Simplify symlink creation and install translated man pages.

It helps that cmake_install.cmake doesn't parallelize installation
so symlinks can be created so that the target is always known to
exist (a requirement on Windows in some cases).

This bumps the minimum CMake version from 3.13 to 3.14 to use
file(CREATE_LINK ...). It could be made to work on 3.13 by
calling "cmake -E create_symlink" but it's uglier code and
slower in "make install". 3.14 should be a reasonable version
to require nowadays, especially since the Autotools build
is still the primary build system for most OSes.

2 months agoCMake: Add support for building and installing xz with translations.
Lasse Collin [Sat, 17 Feb 2024 13:35:35 +0000 (15:35 +0200)] 
CMake: Add support for building and installing xz with translations.

If gettext tools are available, the .po files listed in po/LINGUAS
are converted using msgfmt. This allows building with translations
directly from xz.git without Autotools.

If gettext tools aren't available, the Autotools-created .gmo files
in the "po" directory will be used. This allows CMake-based build
to use translations from Autotools-generated tarball.

If translation support is found (Intl_FOUND) but both the
gettext tools and the pre-generated .gmo files are missing,
then "make" will fail.

2 months agoliblzma: Remove commented-out code.
Lasse Collin [Mon, 19 Feb 2024 09:58:33 +0000 (11:58 +0200)] 
liblzma: Remove commented-out code.

2 months agoxz: Delete old commented-out code.
Lasse Collin [Sat, 17 Feb 2024 21:07:35 +0000 (23:07 +0200)] 
xz: Delete old commented-out code.

2 months agoxz: Use stricter pledge(2) and Landlock sandbox.
Lasse Collin [Sat, 17 Feb 2024 21:07:35 +0000 (23:07 +0200)] 
xz: Use stricter pledge(2) and Landlock sandbox.

This makes these sandboxing methods stricter when no files are
created or deleted. That is, it's a middle ground between the
initial sandbox and the strictest single-file-to-stdout sandbox:
this allows opening files for reading but output has to go to stdout.

2 months agoxz: Support Landlock ABI version 4.
Lasse Collin [Sat, 17 Feb 2024 21:07:35 +0000 (23:07 +0200)] 
xz: Support Landlock ABI version 4.

Linux 6.7 added support for ABI version 4 which restricts
TCP connections which xz won't need and thus those can be
forbidden now. Since the ABI version is handled at runtime,
supporting version 4 won't cause any compatibility issues.

Note that new enough kernel headers are required to get
version 4 support enabled at build time.

2 months agoxz: Move sandboxing code to sandbox.c and improve Landlock sandbox.
Lasse Collin [Sat, 17 Feb 2024 21:07:35 +0000 (23:07 +0200)] 
xz: Move sandboxing code to sandbox.c and improve Landlock sandbox.

Landlock is now always used just like pledge(2) is: first in more
permissive mode and later (under certain common conditions) in
a strict mode that doesn't allow opening more files.

I put pledge(2) first in sandbox.c because it's the simplest API
to use and still somewhat fine-grained for basic applications.
So it's the simplest thing to understand for anyone reading sandbox.c.

2 months agoxz: Tweak comments.
Lasse Collin [Sat, 17 Feb 2024 21:07:35 +0000 (23:07 +0200)] 
xz: Tweak comments.

2 months agoxz: Fix message_init() description.
Lasse Collin [Sat, 17 Feb 2024 21:07:35 +0000 (23:07 +0200)] 
xz: Fix message_init() description.

Also explicitly initialize progress_automatic to make it clear
that it can be read before message_init() sets it. Static variable
was initialized to false by default already so this is only for
clarity.

2 months agoBuild: Makefile.am: Sort EXTRA_DIST.
Lasse Collin [Sat, 17 Feb 2024 17:35:47 +0000 (19:35 +0200)] 
Build: Makefile.am: Sort EXTRA_DIST.

Dirs first, then files in case-sensitive ASCII order.

2 months agoBuild: Don't install TODO.
Lasse Collin [Sat, 17 Feb 2024 17:25:05 +0000 (19:25 +0200)] 
Build: Don't install TODO.

2 months agoTranslations: Update the Korean man page translations.
Jia Tan [Sat, 17 Feb 2024 17:09:11 +0000 (01:09 +0800)] 
Translations: Update the Korean man page translations.

2 months agoTranslations: Update the Korean translation.
Jia Tan [Sat, 17 Feb 2024 17:08:32 +0000 (01:08 +0800)] 
Translations: Update the Korean translation.

2 months agoBuild: Install translated lzmainfo man pages.
Lasse Collin [Sat, 17 Feb 2024 14:23:14 +0000 (16:23 +0200)] 
Build: Install translated lzmainfo man pages.

All other translated man pages were being installed but
lzmainfo had been forgotten.

2 months agoliblzma: Avoid implementation-defined behavior in the RISC-V filter.
Lasse Collin [Sat, 17 Feb 2024 14:01:32 +0000 (16:01 +0200)] 
liblzma: Avoid implementation-defined behavior in the RISC-V filter.

GCC docs promise that it works and a few other compilers do
too. Clang/LLVM is documented source code only but unsurprisingly
it behaves the same as others on x86-64 at least. But the
certainly-portable way is good enough here so use that.

2 months agoliblzma: Wrap a line exceeding 80 chars.
Lasse Collin [Sat, 17 Feb 2024 13:48:28 +0000 (15:48 +0200)] 
liblzma: Wrap a line exceeding 80 chars.

2 months agoliblzma/rangecoder: Exclude x32 from the x86-64 optimisation.
Sebastian Andrzej Siewior [Fri, 16 Feb 2024 20:50:15 +0000 (21:50 +0100)] 
liblzma/rangecoder: Exclude x32 from the x86-64 optimisation.

The x32 port has a x86-64 ABI in term of all registers but uses only
32bit pointer like x86-32. The assembly optimisation fails to compile on
x32. Given the state of x32 I suggest to exclude it from the
optimisation rather than trying to fix it.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
2 months agoTranslations: Update the Spanish translation.
Jia Tan [Sat, 17 Feb 2024 13:05:07 +0000 (21:05 +0800)] 
Translations: Update the Spanish translation.

2 months agoTranslations: Update the Swedish translation.
Jia Tan [Sat, 17 Feb 2024 12:43:29 +0000 (20:43 +0800)] 
Translations: Update the Swedish translation.

2 months agoTranslations: Update the Polish translation.
Jia Tan [Sat, 17 Feb 2024 12:41:38 +0000 (20:41 +0800)] 
Translations: Update the Polish translation.

2 months agoTranslations: Update the Ukrainian translation.
Jia Tan [Sat, 17 Feb 2024 12:41:02 +0000 (20:41 +0800)] 
Translations: Update the Ukrainian translation.

2 months agoTranslations: Use the same sentence in xz.pot-header that the TP uses.
Lasse Collin [Fri, 16 Feb 2024 15:53:34 +0000 (17:53 +0200)] 
Translations: Use the same sentence in xz.pot-header that the TP uses.

2 months agoFix typos discovered by codespell.
Jia Tan [Fri, 16 Feb 2024 14:53:46 +0000 (22:53 +0800)] 
Fix typos discovered by codespell.

2 months agoTranslations: Update the Ukrainian man page translations.
Jia Tan [Fri, 16 Feb 2024 14:52:41 +0000 (22:52 +0800)] 
Translations: Update the Ukrainian man page translations.

2 months agoTranslations: Update the Ukrainian translation.
Jia Tan [Fri, 16 Feb 2024 14:51:04 +0000 (22:51 +0800)] 
Translations: Update the Ukrainian translation.

2 months agoTranslations: Omit the generic copyright line from man page headers.
Lasse Collin [Thu, 15 Feb 2024 20:32:52 +0000 (22:32 +0200)] 
Translations: Omit the generic copyright line from man page headers.

2 months agoUpdate m4/.gitignore.
Jia Tan [Thu, 15 Feb 2024 14:26:43 +0000 (22:26 +0800)] 
Update m4/.gitignore.

2 months agoTests: tuktest.h: Treat Clang separately from GCC.
Lasse Collin [Wed, 14 Feb 2024 19:11:49 +0000 (21:11 +0200)] 
Tests: tuktest.h: Treat Clang separately from GCC.

Don't assume that Clang defines __GNUC__ as the extensions
are available in clang-cl as well (and possibly in some other
Clang variants?).

2 months agoTests: tuktest.h: Add a missing word to a comment.
Lasse Collin [Wed, 14 Feb 2024 19:11:03 +0000 (21:11 +0200)] 
Tests: tuktest.h: Add a missing word to a comment.

2 months agoTests: tuktest.h: Fix the comment about STest.
Lasse Collin [Wed, 14 Feb 2024 19:10:10 +0000 (21:10 +0200)] 
Tests: tuktest.h: Fix the comment about STest.

2 months agoBump version for 5.5.2beta. v5.5.2beta
Jia Tan [Wed, 14 Feb 2024 17:53:40 +0000 (01:53 +0800)] 
Bump version for 5.5.2beta.

2 months agoliblzma: Fix validate_map.sh.
Lasse Collin [Wed, 14 Feb 2024 17:46:11 +0000 (19:46 +0200)] 
liblzma: Fix validate_map.sh.

Adding the SPDX license identifier changed the line numbers.

2 months agoBuild: Start the generated ChangeLog from around 5.4.0 instead of 5.2.0.
Lasse Collin [Wed, 14 Feb 2024 17:38:34 +0000 (19:38 +0200)] 
Build: Start the generated ChangeLog from around 5.4.0 instead of 5.2.0.