]> granicus.if.org Git - xz/log
xz
8 years agoBuild: Fix = to += for xz_SOURCES in src/xz/Makefile.am.
Lasse Collin [Sun, 10 Apr 2016 17:55:49 +0000 (20:55 +0300)]
Build: Fix = to += for xz_SOURCES in src/xz/Makefile.am.

Thanks to Christian Kujau.

8 years agoBuild: Bump GNU Gettext version requirement to 0.19.
Lasse Collin [Sun, 10 Apr 2016 17:54:17 +0000 (20:54 +0300)]
Build: Bump GNU Gettext version requirement to 0.19.

It silences a few warnings and most people probably have
0.19 even on stable distributions.

Thanks to Christian Kujau.

8 years agoliblzma: Disable external SHA-256 by default.
Lasse Collin [Sun, 13 Mar 2016 18:21:49 +0000 (20:21 +0200)]
liblzma: Disable external SHA-256 by default.

This is the sane thing to do. The conflict with OpenSSL
on some OSes and especially that the OS-provided versions
can be significantly slower makes it clear that it was
a mistake to have the external SHA-256 support enabled by
default.

Those who want it can now pass --enable-external-sha256 to
configure. INSTALL was updated with notes about OSes where
this can be a bad idea.

The SHA-256 detection code in configure.ac had some bugs that
could lead to a build failure in some situations. These were
fixed, although it doesn't matter that much now that the
external SHA-256 is disabled by default.

MINIX >= 3.2.0 uses NetBSD's libc and thus has SHA256_Init
in libc instead of libutil. Support for the libutil version
was removed.

8 years agoUpdate THANKS.
Lasse Collin [Thu, 10 Mar 2016 18:27:05 +0000 (20:27 +0200)]
Update THANKS.

8 years agoBuild: Avoid SHA256_Init on FreeBSD and MINIX 3.
Lasse Collin [Thu, 10 Mar 2016 18:26:49 +0000 (20:26 +0200)]
Build: Avoid SHA256_Init on FreeBSD and MINIX 3.

On FreeBSD 10 and older, SHA256_Init from libmd conflicts
with libcrypto from OpenSSL. The OpenSSL version has
different sizeof(SHA256_CTX) and it can cause weird
problems if wrong SHA256_Init gets used.

Looking at the source, MINIX 3 seems to have a similar issue but
I'm not sure. To be safe, I disabled SHA256_Init on MINIX 3 too.

NetBSD has SHA256_Init in libc and they had a similar problem,
but they already fixed it in 2009.

Thanks to Jim Wilcoxson for the bug report that helped
in finding the problem.

9 years agotuklib_physmem: Hopefully silence a warning on Windows.
Lasse Collin [Sun, 8 Nov 2015 18:16:10 +0000 (20:16 +0200)]
tuklib_physmem: Hopefully silence a warning on Windows.

9 years agoUpdate THANKS.
Lasse Collin [Wed, 4 Nov 2015 21:17:43 +0000 (23:17 +0200)]
Update THANKS.

9 years agoliblzma: Make Valgrind happier with optimized (gcc -O2) liblzma.
Lasse Collin [Wed, 4 Nov 2015 21:14:00 +0000 (23:14 +0200)]
liblzma: Make Valgrind happier with optimized (gcc -O2) liblzma.

When optimizing, GCC can reorder code so that an uninitialized
value gets used in a comparison, which makes Valgrind unhappy.
It doesn't happen when compiled with -O0, which I tend to use
when running Valgrind.

Thanks to Rich Prohaska. I remember this being mentioned long
ago by someone else but nothing was done back then.

9 years agoliblzma: Rename lzma_presets.c back to lzma_encoder_presets.c.
Lasse Collin [Tue, 3 Nov 2015 18:55:45 +0000 (20:55 +0200)]
liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c.

It would be too annoying to update other build systems
just because of this.

9 years agoBuild: Disable xzdec, lzmadec, and lzmainfo when they cannot be built.
Lasse Collin [Tue, 3 Nov 2015 18:47:07 +0000 (20:47 +0200)]
Build: Disable xzdec, lzmadec, and lzmainfo when they cannot be built.

They all need decoder support and if that isn't available,
there's no point trying to build them.

9 years agoBuild: Simplify $enable_{encoders,decoders} usage a bit.
Lasse Collin [Tue, 3 Nov 2015 18:35:19 +0000 (20:35 +0200)]
Build: Simplify $enable_{encoders,decoders} usage a bit.

9 years agoWindows/MSVC: Update config.h.
Lasse Collin [Tue, 3 Nov 2015 18:31:31 +0000 (20:31 +0200)]
Windows/MSVC: Update config.h.

9 years agoDOS: Update config.h.
Lasse Collin [Tue, 3 Nov 2015 18:29:58 +0000 (20:29 +0200)]
DOS: Update config.h.

9 years agoxz: Make xz buildable even when encoders or decoders are disabled.
Lasse Collin [Tue, 3 Nov 2015 18:29:33 +0000 (20:29 +0200)]
xz: Make xz buildable even when encoders or decoders are disabled.

The patch is quite long but it's mostly about adding new #ifdefs
to omit code when encoders or decoders have been disabled.

This adds two new #defines to config.h: HAVE_ENCODERS and
HAVE_DECODERS.

9 years agoBuild: Build LZMA1/2 presets also when only decoder is wanted.
Lasse Collin [Tue, 3 Nov 2015 16:06:40 +0000 (18:06 +0200)]
Build: Build LZMA1/2 presets also when only decoder is wanted.

People shouldn't rely on the presets when decoding raw streams,
but xz uses the presets as the starting point for raw decoder
options anyway.

lzma_encocder_presets.c was renamed to lzma_presets.c to
make it clear it's not used solely by the encoder code.

9 years agoBuild: Fix configure to handle LZMA1 dependency with LZMA2.
Lasse Collin [Tue, 3 Nov 2015 15:54:48 +0000 (17:54 +0200)]
Build: Fix configure to handle LZMA1 dependency with LZMA2.

Now it gives an error if LZMA1 encoder/decoder is missing
when LZMA2 encoder/decoder was requested. Even better would
be LZMA2 implicitly enabling LZMA1 but it would need more code.

9 years agoBuild: Don't omit lzma_cputhreads() unless using --disable-threads.
Lasse Collin [Tue, 3 Nov 2015 15:41:54 +0000 (17:41 +0200)]
Build: Don't omit lzma_cputhreads() unless using --disable-threads.

Previously it was omitted if encoders were disabled
with --disable-encoders. It didn't make sense and
it also broke the build.

9 years agoliblzma: Fix a build failure related to external SHA-256 support.
Lasse Collin [Mon, 2 Nov 2015 16:16:51 +0000 (18:16 +0200)]
liblzma: Fix a build failure related to external SHA-256 support.

If an appropriate header and structure were found by configure,
but a library with a usable SHA-256 functions wasn't, the build
failed.

9 years agoxz: Always close the file before trying to delete it.
Lasse Collin [Mon, 2 Nov 2015 13:19:10 +0000 (15:19 +0200)]
xz: Always close the file before trying to delete it.

unlink() can return EBUSY in errno for open files on some
operating systems and file systems.

9 years agoUpdate THANKS.
Lasse Collin [Mon, 12 Oct 2015 18:08:42 +0000 (21:08 +0300)]
Update THANKS.

9 years agoTests: Add tests for the two bugs fixed in index.c.
Lasse Collin [Mon, 12 Oct 2015 18:07:41 +0000 (21:07 +0300)]
Tests: Add tests for the two bugs fixed in index.c.

9 years agoliblzma: Fix lzma_index_dup() for empty Streams.
Lasse Collin [Mon, 12 Oct 2015 17:45:15 +0000 (20:45 +0300)]
liblzma: Fix lzma_index_dup() for empty Streams.

Stream Flags and Stream Padding weren't copied from
empty Streams.

9 years agoliblzma: Add a note to index.c for those using static analyzers.
Lasse Collin [Mon, 12 Oct 2015 17:31:44 +0000 (20:31 +0300)]
liblzma: Add a note to index.c for those using static analyzers.

9 years agoliblzma: Fix a memory leak in error path of lzma_index_dup().
Lasse Collin [Mon, 12 Oct 2015 17:29:09 +0000 (20:29 +0300)]
liblzma: Fix a memory leak in error path of lzma_index_dup().

lzma_index_dup() calls index_dup_stream() which, in case of
an error, calls index_stream_end() to free memory allocated
by index_stream_init(). However, it illogically didn't
actually free the memory. To make it logical, the tree
handling code was modified a bit in addition to changing
index_stream_end().

Thanks to Evan Nemerson for the bug report.

9 years agoUpdate NEWS for 5.2.2.
Lasse Collin [Tue, 29 Sep 2015 10:57:28 +0000 (13:57 +0300)]
Update NEWS for 5.2.2.

9 years agoUpdate German translation, mostly wrt orthography
Hauke Henningsen [Mon, 17 Aug 2015 02:59:54 +0000 (04:59 +0200)]
Update German translation, mostly wrt orthography

Provide an update of the German translation.
* A lot of compound words were previously written with spaces, while
  German orthography is relatively clear in that the components
  should not be separated.
* When referring to the actual process of (de)compression rather than the
  concept, replace “(De-)Kompression” with “(De-)Komprimierung”.
  Previously, both forms were used in this context and are now used in a
  manner consistent with “Komprimierung” being more likely to refer to
  a process.
* Consistently translate “standard input”/“output”
* Use “Zeichen” instead of false friend “Charakter” for “character”
* Insert commas around relative clauses (as required in German)
* Some other minor corrections
* Capitalize “ß” as “ẞ”
* Consistently start option descriptions in --help with capital letters

Acked-By: Andre Noll <maan@tuebingen.mpg.de>
* Update after msgmerge

9 years agoBuild: Minor Cygwin cleanup.
Lasse Collin [Tue, 11 Aug 2015 10:23:04 +0000 (13:23 +0300)]
Build: Minor Cygwin cleanup.

Some tests used "cygwin*" and some used "cygwin". I changed
them all to use "cygwin". Shouldn't affect anything in practice.

9 years agoBuild: Support building of MSYS2 binaries.
Lasse Collin [Tue, 11 Aug 2015 10:21:52 +0000 (13:21 +0300)]
Build: Support building of MSYS2 binaries.

9 years agoWindows: Define DLL_EXPORT when building liblzma.dll with MSVC.
Lasse Collin [Sun, 9 Aug 2015 18:06:26 +0000 (21:06 +0300)]
Windows: Define DLL_EXPORT when building liblzma.dll with MSVC.

src/liblzma/common/common.h uses it to set __declspec(dllexport)
for the API symbols.

Thanks to Adam Walling.

9 years agoWindows: Omit unneeded header files from MSVC project files.
Lasse Collin [Sun, 9 Aug 2015 18:02:20 +0000 (21:02 +0300)]
Windows: Omit unneeded header files from MSVC project files.

9 years agoliblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer.
Lasse Collin [Sun, 12 Jul 2015 17:48:19 +0000 (20:48 +0300)]
liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer.

9 years agoUpdate THANKS.
Lasse Collin [Fri, 19 Jun 2015 17:38:55 +0000 (20:38 +0300)]
Update THANKS.

9 years agoWindows: Update the docs.
Lasse Collin [Fri, 19 Jun 2015 17:21:30 +0000 (20:21 +0300)]
Windows: Update the docs.

9 years agoWindows: Add MSVC project files for building liblzma.
Lasse Collin [Fri, 19 Jun 2015 14:25:31 +0000 (17:25 +0300)]
Windows: Add MSVC project files for building liblzma.

Thanks to Adam Walling for creating these files.

9 years agoFix typo in German translation.
Andre Noll [Thu, 28 May 2015 13:50:00 +0000 (15:50 +0200)]
Fix typo in German translation.

As pointed out by Robert Pollak, there's a typo in the German
translation of the compression preset option (-0 ... -9) help text.
"The compressor" translates to "der Komprimierer", and the genitive
form is "des Komprimierers". The old word makes no sense at all.

9 years agoTests: Fix a memory leak in test_bcj_exact_size.
Lasse Collin [Wed, 13 May 2015 17:57:55 +0000 (20:57 +0300)]
Tests: Fix a memory leak in test_bcj_exact_size.

Thanks to Cristian Rodríguez.

9 years agoFix NEWS about threading in 5.2.0.
Lasse Collin [Tue, 12 May 2015 15:08:24 +0000 (18:08 +0300)]
Fix NEWS about threading in 5.2.0.

Thanks to Andy Hochhaus.

9 years agoxz: Document that threaded decompression hasn't been implemented yet.
Lasse Collin [Mon, 11 May 2015 18:26:16 +0000 (21:26 +0300)]
xz: Document that threaded decompression hasn't been implemented yet.

9 years agoUpdate THANKS.
Lasse Collin [Mon, 20 Apr 2015 17:20:29 +0000 (20:20 +0300)]
Update THANKS.

9 years agoRevert "xz: Use pipe2() if available."
Lasse Collin [Mon, 20 Apr 2015 16:59:18 +0000 (19:59 +0300)]
Revert "xz: Use pipe2() if available."

This reverts commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd.
It is a problem when libc has pipe2() but the kernel is too
old to have pipe2() and thus pipe2() fails. In xz it's pointless
to have a fallback for non-functioning pipe2(); it's better to
avoid pipe2() completely.

Thanks to Michael Fox for the bug report.

9 years agoxz: Fix the Capsicum rights on user_abort_pipe.
Lasse Collin [Wed, 1 Apr 2015 11:45:25 +0000 (14:45 +0300)]
xz: Fix the Capsicum rights on user_abort_pipe.

9 years agoUpdate THANKS.
Lasse Collin [Tue, 31 Mar 2015 19:20:11 +0000 (22:20 +0300)]
Update THANKS.

9 years agoxz: Add support for sandboxing with Capsicum.
Lasse Collin [Tue, 31 Mar 2015 19:19:34 +0000 (22:19 +0300)]
xz: Add support for sandboxing with Capsicum.

The sandboxing is used conditionally as described in main.c.
This isn't optimal but it was much easier to implement than
a full sandboxing solution and it still covers the most common
use cases where xz is writing to standard output. This should
have practically no effect on performance even with small files
as fork() isn't needed.

C and locale libraries can open files as needed. This has been
fine in the past, but it's a problem with things like Capsicum.
io_sandbox_enter() tries to ensure that various locale-related
files have been loaded before cap_enter() is called, but it's
possible that there are other similar problems which haven't
been seen yet.

Currently Capsicum is available on FreeBSD 10 and later
and there is a port to Linux too.

Thanks to Loganaden Velvindron for help.

9 years agoFix bugs and otherwise improve ax_check_capsicum.m4.
Lasse Collin [Tue, 31 Mar 2015 18:12:30 +0000 (21:12 +0300)]
Fix bugs and otherwise improve ax_check_capsicum.m4.

AU_ALIAS was removed because the new version is incompatible
with the old version.

It no longer checks for <sys/capability.h> separately.
It's enough to test for it as part of AC_CHECK_DECL.
The defines HAVE_CAPSICUM_SYS_CAPSICUM_H and
HAVE_CAPSICUM_SYS_CAPABILITY_H were removed as unneeded.
HAVE_SYS_CAPSICUM_H from AC_CHECK_HEADERS is enough.

It no longer does a useless search for the Capsicum library
if the header wasn't found.

Fixed a bug in ACTION-IF-FOUND (the first argument). Specifying
the argument omitted the default action but the given action
wasn't used instead.

AC_DEFINE([HAVE_CAPSICUM]) is now always called when Capsicum
support is found. Previously it was part of the default
ACTION-IF-FOUND which a custom action would override. Now
the default action only prepends ${CAPSICUM_LIB} to LIBS.

The documentation was updated.

Since there as no serial number, "#serial 2" was added.

9 years agoAdd m4/ax_check_capsicum.m4 for detecting Capsicum support.
Lasse Collin [Tue, 31 Mar 2015 16:20:24 +0000 (19:20 +0300)]
Add m4/ax_check_capsicum.m4 for detecting Capsicum support.

The file was loaded from this web page:
https://github.com/google/capsicum-test/blob/dev/autoconf/m4/ax_check_capsicum.m4

Thanks to Loganaden Velvindron for pointing it out for me.

9 years agoBump version to 5.3.0alpha and soname to 5.3.99.
Lasse Collin [Mon, 30 Mar 2015 19:44:02 +0000 (22:44 +0300)]
Bump version to 5.3.0alpha and soname to 5.3.99.

The idea of 99 is that it looks a bit weird in this context.
For new features there's no API/ABI stability in devel versions.

9 years agoUpdate THANKS.
Lasse Collin [Sun, 29 Mar 2015 19:14:47 +0000 (22:14 +0300)]
Update THANKS.

9 years agoFix the detection of installed RAM on QNX.
Lasse Collin [Sun, 29 Mar 2015 19:13:48 +0000 (22:13 +0300)]
Fix the detection of installed RAM on QNX.

The earlier version compiled but didn't actually work
since sysconf(_SC_PHYS_PAGES) always fails (or so I was told).

Thanks to Ole André Vadla Ravnås for the patch and testing.

9 years agoFix CPU core count detection on QNX.
Lasse Collin [Fri, 27 Mar 2015 20:39:07 +0000 (22:39 +0200)]
Fix CPU core count detection on QNX.

It tried to use sysctl() on QNX but
  - it broke the build because sysctl() needs -lsocket on QNX;
  - sysctl() doesn't work for detecting the core count on QNX
    even if it compiled.

sysconf() works. An alternative would have been to use
QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>.

Thanks to Ole André Vadla Ravnås.

9 years agoxz: size_t/uint32_t cleanup in options.c.
Lasse Collin [Sat, 7 Mar 2015 20:05:57 +0000 (22:05 +0200)]
xz: size_t/uint32_t cleanup in options.c.

9 years agoxz: Fix a comment and silence a warning in message.c.
Lasse Collin [Sat, 7 Mar 2015 20:04:23 +0000 (22:04 +0200)]
xz: Fix a comment and silence a warning in message.c.

9 years agoliblzma: Silence more uint32_t vs. size_t warnings.
Lasse Collin [Sat, 7 Mar 2015 20:01:00 +0000 (22:01 +0200)]
liblzma: Silence more uint32_t vs. size_t warnings.

9 years agoxz: Make arg_count an unsigned int to silence a warning.
Lasse Collin [Sat, 7 Mar 2015 17:54:00 +0000 (19:54 +0200)]
xz: Make arg_count an unsigned int to silence a warning.

Actually the value of arg_count cannot exceed INT_MAX
but it's nicer as an unsigned int.

9 years agoliblzma: Fix a warning in index.c.
Lasse Collin [Sat, 7 Mar 2015 17:33:17 +0000 (19:33 +0200)]
liblzma: Fix a warning in index.c.

9 years agoBuild: Fix a CR+LF problem when running autoreconf -fi on OS/2.
Lasse Collin [Thu, 26 Feb 2015 18:46:14 +0000 (20:46 +0200)]
Build: Fix a CR+LF problem when running autoreconf -fi on OS/2.

9 years agoBump version and soname for 5.2.1. v5.2.1
Lasse Collin [Thu, 26 Feb 2015 14:53:44 +0000 (16:53 +0200)]
Bump version and soname for 5.2.1.

9 years agoUpdate NEWS for 5.2.1.
Lasse Collin [Thu, 26 Feb 2015 11:01:09 +0000 (13:01 +0200)]
Update NEWS for 5.2.1.

9 years agoxz: Use pipe2() if available.
Lasse Collin [Sun, 22 Feb 2015 17:38:48 +0000 (19:38 +0200)]
xz: Use pipe2() if available.

9 years agoliblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode.
Lasse Collin [Sat, 21 Feb 2015 21:40:26 +0000 (23:40 +0200)]
liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode.

The bug was added in the commit
f48fce093b07aeda95c18850f5e086d9f2383380 and thus
affected 5.1.4beta and 5.2.0. Luckily the bug cannot
cause data corruption or other nasty things.

9 years agoxz: Fix the fcntl() usage when creating a pipe for the self-pipe trick.
Lasse Collin [Sat, 21 Feb 2015 21:00:19 +0000 (23:00 +0200)]
xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick.

Now it reads the old flags instead of blindly setting O_NONBLOCK.
The old code may have worked correctly, but this is better.

9 years agoUpdate THANKS.
Lasse Collin [Tue, 10 Feb 2015 13:29:34 +0000 (15:29 +0200)]
Update THANKS.

9 years agotuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available.
Lasse Collin [Tue, 10 Feb 2015 13:28:30 +0000 (15:28 +0200)]
tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available.

In FreeBSD, cpuset_getaffinity() is the preferred way to get
the number of available cores.

Thanks to Rui Paulo for the patch. I edited it slightly, but
hopefully I didn't break anything.

9 years agoxzdiff: Make the mktemp usage compatible with FreeBSD's mktemp.
Lasse Collin [Mon, 9 Feb 2015 20:08:37 +0000 (22:08 +0200)]
xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp.

Thanks to Rui Paulo for the fix.

9 years agoAdd a few casts to tuklib_integer.h to silence possible warnings.
Lasse Collin [Tue, 3 Feb 2015 19:45:53 +0000 (21:45 +0200)]
Add a few casts to tuklib_integer.h to silence possible warnings.

I heard that Visual Studio 2013 gave warnings without the casts.

Thanks to Gabi Davar.

9 years agoliblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method.
Lasse Collin [Mon, 26 Jan 2015 19:24:39 +0000 (21:24 +0200)]
liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method.

9 years agoUpdate THANKS.
Lasse Collin [Mon, 26 Jan 2015 18:40:16 +0000 (20:40 +0200)]
Update THANKS.

9 years agoliblzma: Silence harmless Valgrind errors.
Lasse Collin [Mon, 26 Jan 2015 18:39:28 +0000 (20:39 +0200)]
liblzma: Silence harmless Valgrind errors.

Thanks to Torsten Rupp for reporting this. I had
forgotten to run Valgrind before the 5.2.0 release.

9 years agoxz: Fix comments.
Lasse Collin [Fri, 9 Jan 2015 19:50:19 +0000 (21:50 +0200)]
xz: Fix comments.

9 years agoUpdate THANKS.
Lasse Collin [Fri, 9 Jan 2015 19:35:06 +0000 (21:35 +0200)]
Update THANKS.

9 years agoxz: Don't fail if stdout doesn't support O_NONBLOCK.
Lasse Collin [Fri, 9 Jan 2015 19:34:06 +0000 (21:34 +0200)]
xz: Don't fail if stdout doesn't support O_NONBLOCK.

This is similar to the case with stdin.

Thanks to Brad Smith for the bug report and testing
on OpenBSD.

9 years agoxz: Fix a memory leak in DOS-specific code.
Lasse Collin [Wed, 7 Jan 2015 17:18:20 +0000 (19:18 +0200)]
xz: Fix a memory leak in DOS-specific code.

9 years agoxz: Don't fail if stdin doesn't support O_NONBLOCK.
Lasse Collin [Wed, 7 Jan 2015 17:08:06 +0000 (19:08 +0200)]
xz: Don't fail if stdin doesn't support O_NONBLOCK.

It's a problem at least on OpenBSD which doesn't support
O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's
a problem on other OSes too since this behavior is allowed
in POSIX-1.2008.

The code relying on this behavior was committed in June 2013
and included in 5.1.3alpha released on 2013-10-26. Clearly
the development releases only get limited testing.

9 years agoTests: Don't hide unexpected error messages in test_files.sh.
Lasse Collin [Tue, 6 Jan 2015 18:30:15 +0000 (20:30 +0200)]
Tests: Don't hide unexpected error messages in test_files.sh.

Hiding them makes no sense since normally there's no error
when testing the "good" files. With "bad" files errors are
expected and then it makes sense to keep the messages hidden.

9 years agoUpdate Solaris notes in INSTALL.
Lasse Collin [Tue, 30 Dec 2014 09:17:16 +0000 (11:17 +0200)]
Update Solaris notes in INSTALL.

Mention the possible "make check" failure on Solaris in the
Solaris-specific section of INSTALL. It was already in
section 4.5 but it is better mention it in the OS-specific
section too.

10 years agoBuild: POSIX shell isn't required if scripts are disabled.
Lasse Collin [Fri, 26 Dec 2014 10:00:05 +0000 (12:00 +0200)]
Build: POSIX shell isn't required if scripts are disabled.

10 years agoDOS: Update Makefile. v5.2.0
Lasse Collin [Sun, 21 Dec 2014 18:48:37 +0000 (20:48 +0200)]
DOS: Update Makefile.

10 years agoWindows: Fix bin_i486 to bin_i686 in build.bash.
Lasse Collin [Sun, 21 Dec 2014 17:50:38 +0000 (19:50 +0200)]
Windows: Fix bin_i486 to bin_i686 in build.bash.

10 years agoDocs: Use lzma_cputhreads() in 04_compress_easy_mt.c.
Lasse Collin [Sun, 21 Dec 2014 16:58:44 +0000 (18:58 +0200)]
Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c.

10 years agoDocs: Update docs/examples/00_README.txt.
Lasse Collin [Sun, 21 Dec 2014 16:56:44 +0000 (18:56 +0200)]
Docs: Update docs/examples/00_README.txt.

10 years agoBump version and soname for 5.2.0.
Lasse Collin [Sun, 21 Dec 2014 16:11:17 +0000 (18:11 +0200)]
Bump version and soname for 5.2.0.

I know that soname != app version, but I skip AGE=1
in -version-info to make the soname match the liblzma
version anyway. It doesn't hurt anything as long as
it doesn't conflict with library versioning rules.

10 years agoAvoid variable-length arrays in the debug programs.
Lasse Collin [Sun, 21 Dec 2014 16:05:03 +0000 (18:05 +0200)]
Avoid variable-length arrays in the debug programs.

10 years agoBuild: Include 04_compress_easy_mt.c in the tarball.
Lasse Collin [Sun, 21 Dec 2014 16:01:45 +0000 (18:01 +0200)]
Build: Include 04_compress_easy_mt.c in the tarball.

10 years agoFix build when --disable-threads is used.
Lasse Collin [Sun, 21 Dec 2014 16:00:38 +0000 (18:00 +0200)]
Fix build when --disable-threads is used.

10 years agopo/fr: improve wording for help for --lzma1/--lzma2.
Adrien Nader [Sun, 21 Dec 2014 14:56:15 +0000 (15:56 +0100)]
po/fr: improve wording for help for --lzma1/--lzma2.

10 years agopo/fr: missing line in translation of --extreme.
Adrien Nader [Sun, 21 Dec 2014 14:55:48 +0000 (15:55 +0100)]
po/fr: missing line in translation of --extreme.

10 years agoUpdate NEWS for 5.2.0.
Lasse Collin [Sun, 21 Dec 2014 12:32:33 +0000 (14:32 +0200)]
Update NEWS for 5.2.0.

10 years agoUpdate NEWS for 5.0.8.
Lasse Collin [Sun, 21 Dec 2014 12:32:22 +0000 (14:32 +0200)]
Update NEWS for 5.0.8.

10 years agoxz: Fix a comment.
Lasse Collin [Sun, 21 Dec 2014 12:07:54 +0000 (14:07 +0200)]
xz: Fix a comment.

10 years agoUpdate INSTALL about the dependencies of the scripts.
Lasse Collin [Sat, 20 Dec 2014 18:43:14 +0000 (20:43 +0200)]
Update INSTALL about the dependencies of the scripts.

10 years agoWindows: Update build instructions.
Lasse Collin [Sat, 20 Dec 2014 18:42:33 +0000 (20:42 +0200)]
Windows: Update build instructions.

10 years agoWindows: Update the build script and README-Windows.txt.
Lasse Collin [Sat, 20 Dec 2014 18:41:48 +0000 (20:41 +0200)]
Windows: Update the build script and README-Windows.txt.

The 32-bit build is now for i686 or newer because the
prebuilt MinGW-w64 toolchains include i686 code in the
executables even if one uses -march=i486.

The build script builds 32-bit SSE2 enabled version too.
Run-time detection of SSE2 support would be nice (on any OS)
but it's not implemented in XZ Utils yet.

10 years agoWindows: Define TUKLIB_SYMBOL_PREFIX in config.h.
Lasse Collin [Fri, 19 Dec 2014 13:51:50 +0000 (15:51 +0200)]
Windows: Define TUKLIB_SYMBOL_PREFIX in config.h.

It is to keep all symbols in the lzma_ namespace.

10 years agoxz: Update the man page about --threads.
Lasse Collin [Tue, 16 Dec 2014 19:00:09 +0000 (21:00 +0200)]
xz: Update the man page about --threads.

10 years agoxz: Update the man page about --block-size.
Lasse Collin [Tue, 16 Dec 2014 18:57:43 +0000 (20:57 +0200)]
xz: Update the man page about --block-size.

10 years agopo/fr: several more translation updates: reword and handle --ignore-check.
Adrien Nader [Wed, 10 Dec 2014 21:26:57 +0000 (22:26 +0100)]
po/fr: several more translation updates: reword and handle --ignore-check.

10 years agopo/fr: yet another place where my email address had to be updated.
Adrien Nader [Wed, 10 Dec 2014 21:23:01 +0000 (22:23 +0100)]
po/fr: yet another place where my email address had to be updated.

10 years agopo/fr: fix several typos that have been around since the beginning.
Adrien Nader [Wed, 10 Dec 2014 21:22:20 +0000 (22:22 +0100)]
po/fr: fix several typos that have been around since the beginning.

10 years agopo/fr: last batch of new translations for now.
Adrien Nader [Wed, 3 Dec 2014 19:02:31 +0000 (20:02 +0100)]
po/fr: last batch of new translations for now.

Four new error messages.

10 years agopo/fr: translations for --threads, --block-size and --block-list.
Adrien Nader [Wed, 3 Dec 2014 19:01:32 +0000 (20:01 +0100)]
po/fr: translations for --threads, --block-size and --block-list.

10 years agopo/fr: remove fuzzy marker for error messages that will be kept in English.
Adrien Nader [Wed, 3 Dec 2014 19:00:53 +0000 (20:00 +0100)]
po/fr: remove fuzzy marker for error messages that will be kept in English.

The following is a copy of a comment inside fr.po:

Note from translator on "file status flags".
The following entry is kept un-translated on purpose. It is difficult to
translate and should only happen in exceptional circumstances which means
that translating would:
- lose some of the meaning
- make it more difficult to look up in search engines; it might happen one
in
a million times, if we dilute the error message in 20 languages, it will be
almost impossible to find an explanation and support for the error.