1
0
mirror of https://git.tukaani.org/xz.git synced 2025-02-22 00:18:15 +00:00

2811 Commits

Author SHA1 Message Date
Lasse Collin
2eaf242c56
Build: Fix out-of-tree builds when using the replacement getopt_long
Nowaways $(top_builddir)/lib/getopt.h depends on headers in
$(top_srcdir)/lib, so both have to be in the include path.
CMake-based build already did this.

Fixes: 7e884c00d0093c38339f17fb1d280eec493f42ca
2025-02-17 21:48:24 +02:00
Lasse Collin
41322b2c60
m4/getopt.m4: Remove an outdated comment 2025-02-17 18:25:52 +02:00
Lasse Collin
03c23a4952
Build: Allow forcing the use of the replacement getopt_long
Now one can pass gl_replace_getopt=yes to configure to force the use
of GNU getopt_long from the lib directory. This only checks that the
value of gl_replace_getopt is non-empty, so one cannot force the
replacement to be disabled.

Closes: https://github.com/tukaani-project/xz/pull/166
2025-02-17 18:11:58 +02:00
Lasse Collin
c23b837d15
Update THANKS 2025-02-17 18:11:42 +02:00
Lasse Collin
2672a38f11
Update THANKS 2025-02-12 19:23:31 +02:00
Lasse Collin
4fdcbfaf3f
Update THANKS 2025-02-11 12:13:41 +02:00
Lasse Collin
0d553568f1
Translations: Update the Polish translation 2025-02-08 11:39:08 +02:00
Lasse Collin
9f165076ae
Docs: Update TODO a little 2025-02-07 19:13:43 +02:00
Lasse Collin
f5aa292c53
Add researcher credits of CVE-2022-1271 and CVE-2024-47611 to THANKS
These are specific phrases that were included in the advisories and
NEWS. It's nice to have them in THANKS as well.
2025-02-07 18:50:56 +02:00
Lasse Collin
7cf463b5ad
Update THANKS 2025-02-07 18:43:00 +02:00
Lasse Collin
6b7fe7e27b
Docs: Update the "Translations" section in README
Make it clearer that translations cannot be accepted if they don't
come via the Translation Project.

Column headings have been handled automatically for years and now --help
is autowrapped too, so the related instructions can be removed.
2025-02-04 19:37:32 +02:00
Lasse Collin
2c7aee9493
debug/translations.bash: Revise a little
Make it work for out-of-tree builds without requiring one to specify
the location of the xz executable.

Add xz --filters-help.

Make the output shorter by reducing the number of xz -lvv test files.

Show the value of LANGUAGE environment variable.

Show the xz.git version using git describe --abbrev=8 instead of =4.
2025-02-04 19:37:31 +02:00
Lasse Collin
c6b15e7045
Build: Use "git describe --abbrev=8" in snapshot tarball names
8 is more likely to be reproducible than the old 4 without being
excessively long for a small repository like this.
2025-02-04 19:37:31 +02:00
Lasse Collin
0ce97987c5
Update THANKS 2025-02-04 19:37:31 +02:00
Lasse Collin
353c33355c
Translations: Update the Serbian translation 2025-02-03 16:58:53 +02:00
Lasse Collin
887dc28188
Translations: Update Chinese (traditional) translation
Since there are no spaces between words, the unsophisticated automatic
word wrapping code needs some help. Compared to the version in the
Translation Project, I added a few \t characters which the word
wrapping code interprets as zero width spaces (hopefully they are
placed correctly). These edits can be seen with this command:

    grep -v ^# po/zh_TW.po | grep --color -F '\t'
2025-02-03 16:55:39 +02:00
Lasse Collin
0f1454cf5f
Update THANKS 2025-02-03 16:12:44 +02:00
Lasse Collin
23ea031820
Build: Update posix-shell.m4 from Gnulib
Tabs have been converted to spaces and a "serial" number has been
added. The previous version was from 2008/2009. There are no functional
changes since then but now it's clearer that the copy in XZ Utils
isn't outdated.

The new file was picked from the Gnulib commit
81a4c1e3b7692e95c0806d948cbab9148ad85ef2. A later commit adds
a warranty disclaimer to the license, which obviously is fine,
but I didn't find a SPDX license identifier for the new license,
so for simplicity I used the earlier commit.
2025-02-02 14:30:19 +02:00
Lasse Collin
84c33c0384
Build: Check for -fsanitize= also in $CC
People may put -fsanitize in CC instead of CFLAGS so check both.
Landlock sandbox isn't compatible with sanitizers so it's nice
to catch the incompatible options at configure time.

Don't attempt to do the same in CMakeLists.txt; the check for
CMAKE_C_FLAGS / CFLAGS shall be enough there. The extra flags from
the CC environment variable go into the undocumented internal variable
CMAKE_C_COMPILER_ARG1 (all flags from CC go into that same variable).
Peeking the internal variable merely for improved diagnostics isn't
worth it.

Fixes: 88588b1246d8c26ffbc138b3e5c413c5f14c3179
2025-02-02 14:30:19 +02:00
Lasse Collin
a7304ea4a7
Build: Remove the FIXME about -Werror checks 2025-02-02 14:30:19 +02:00
Lasse Collin
1780bba740
Build: If using a GCC compatible compiler, ensure that -Werror works
The check can be skipped by passing SKIP_WERROR_CHECK=yes to configure.
It won't be documented anywhere else than in the error message.

Ways to test:

    ./configure CC=gcc CFLAGS=-Wunused-macros
    ./configure CC=clang CFLAGS=-Weverything
    ./configure CC=clang CFLAGS=-Weverything SKIP_WERROR_CHECK=yes
2025-02-02 14:30:19 +02:00
Lasse Collin
3aca2daefb
Update THANKS 2025-02-02 14:30:15 +02:00
Lasse Collin
186ff78ab4
Translations: Update Romanian translation 2025-02-01 12:49:09 +02:00
Lasse Collin
40a8ce3e10
Translations: Update Korean man page translations 2025-01-30 18:16:43 +02:00
Lasse Collin
1787f9bd18
Translations: Add Italian man page translations 2025-01-30 18:15:52 +02:00
Lasse Collin
9b9182e561
Translations: Update the Finnish translation 2025-01-29 22:18:29 +02:00
Lasse Collin
7d73ff7a9d
lzmainfo: Use tuklib_mbstr_wrap for --help text
Some languages have so long strings that they need to be wrapped.
2025-01-29 20:59:53 +02:00
Lasse Collin
c56eb47076
Translations: Update the Croatian translation 2025-01-29 20:59:53 +02:00
Lasse Collin
69f4aec0a2
Translations: Update the Finnish translation 2025-01-29 20:59:53 +02:00
Lasse Collin
d49dde33cf
Translations: Update the German man page translations 2025-01-29 20:59:53 +02:00
Lasse Collin
23b99fc4a1
Translations: Update the German translation 2025-01-29 20:59:52 +02:00
Lasse Collin
7edab2bde0
Translations: Update the Turkish translation 2025-01-29 20:59:52 +02:00
Lasse Collin
fac4d0fa52
Translations: Add the Dutch translation 2025-01-29 20:59:52 +02:00
Lasse Collin
abe5092f24
Translations: Update the Georgian translation 2025-01-29 20:59:52 +02:00
Lasse Collin
b97b23c78d
Translations: Update the Spanish translation 2025-01-29 20:59:52 +02:00
Lasse Collin
c68318cb49
Translations: Update the Korean translation 2025-01-29 20:59:52 +02:00
Lasse Collin
153ee17f63
Translations: Update the Romanian man page translations 2025-01-29 20:59:51 +02:00
Lasse Collin
6ed308197e
Translations: Update the Romanian translation 2025-01-29 20:59:51 +02:00
Lasse Collin
06028803e1
Translations: Update the Ukrainian man page translations 2025-01-29 20:59:51 +02:00
Lasse Collin
8cbaf896a6
Translations: Update the Ukrainian translation 2025-01-29 20:59:51 +02:00
Lasse Collin
81c352907b
Translations: Update the Swedish translation 2025-01-29 20:59:51 +02:00
Lasse Collin
999ce26371
tuklib_physmem: Clean up disabled code 2025-01-29 20:59:51 +02:00
Lasse Collin
4d7e7c9d94
Windows: Avoid an error message on broken pipe
Also make xz not process more input files after a broken pipe has
been detected. This matches the behavior on POSIX. If all files
are being written to standard output, trying with the next file is
pointless when it's known that standard output won't accept more data.

xzdec already stopped after the first error. It does so with all
errors, so it differs from xz:

    $ xz -dc not_found_1 not_found_2
    xz: not_found_1: No such file or directory
    xz: not_found_2: No such file or directory

    $ xzdec not_found_1 not_found_2
    xzdec: not_found_1: No such file or directory

Reported-by: Vincent Torri
2025-01-29 20:59:44 +02:00
Lasse Collin
95b638480a
doc/SHA256SUMS: Add 5.6.4 and 5.7.1alpha 2025-01-23 19:59:17 +02:00
Lasse Collin
cdae0df31e
Bump version and soname for 5.7.1alpha v5.7.1alpha 2025-01-23 11:50:47 +02:00
Lasse Collin
4d2af2c43b
Translations: Run po4a/update-po 2025-01-23 11:48:51 +02:00
Lasse Collin
ff0b825505
Add NEWS for 5.7.1alpha 2025-01-23 11:42:36 +02:00
Lasse Collin
f6cd3e3bfc
Add NEWS for 5.6.4 2025-01-23 11:42:23 +02:00
Lasse Collin
b3af3297e4
NEWS: The security fix in 5.6.3 is known as CVE-2024-47611 2025-01-23 11:40:58 +02:00
Lasse Collin
a04b9dd0c7
windows/build.bash: Fix error message
Fixes: 1ee716f74085223c8fbcae1d5a384e6bf53c0f6a
2025-01-22 16:55:14 +02:00