]> granicus.if.org Git - xz/log
xz
15 years agoSome xz man changes.
Lasse Collin [Mon, 17 Aug 2009 19:45:50 +0000 (22:45 +0300)]
Some xz man changes.

15 years agoUpdated THANKS.
Lasse Collin [Sun, 16 Aug 2009 19:15:42 +0000 (22:15 +0300)]
Updated THANKS.

15 years agoFix data corruption in LZ/LZMA2 encoder.
Lasse Collin [Sun, 16 Aug 2009 19:15:13 +0000 (22:15 +0300)]
Fix data corruption in LZ/LZMA2 encoder.

Thanks to Jonathan Stott for the bug report.

15 years agoUpdated INSTALL and PACKAGERS to match the changes
Lasse Collin [Thu, 13 Aug 2009 12:15:37 +0000 (15:15 +0300)]
Updated INSTALL and PACKAGERS to match the changes
made in --enable-dynamic.

15 years agoLink lzmainfo against shared liblzma by default.
Lasse Collin [Thu, 13 Aug 2009 12:03:46 +0000 (15:03 +0300)]
Link lzmainfo against shared liblzma by default.

15 years agoMake --enable-dynamic a tristate option.
Lasse Collin [Thu, 13 Aug 2009 12:00:21 +0000 (15:00 +0300)]
Make --enable-dynamic a tristate option.

Some programs will by default be linked against static
liblzma and some against shared liblzma. --enable-dynamic
now allows overriding the default to both directions
(all dynamic or all static) even when building both
shared and static liblzma.

This is quite messy compared to how simple thing it is supposed
to be. The complexity is mostly due to Windows support.

15 years agoFix xz Makefile.am for the man page.
Lasse Collin [Thu, 13 Aug 2009 09:56:47 +0000 (12:56 +0300)]
Fix xz Makefile.am for the man page.

install-exec-hook -> install-data-hook

15 years agoAdd lzmainfo for backward compatibility with LZMA Utils.
Lasse Collin [Thu, 13 Aug 2009 09:55:45 +0000 (12:55 +0300)]
Add lzmainfo for backward compatibility with LZMA Utils.

lzmainfo now links against static liblzma. In contrast
to other command line tools in XZ Utils, linking lzmainfo
against static liblzma by default is dumb. This will be
fixed once I have fixed some related issues in configure.ac.

15 years agoSync some error messages from xz to xzdec.
Lasse Collin [Thu, 13 Aug 2009 09:42:36 +0000 (12:42 +0300)]
Sync some error messages from xz to xzdec.

Make xz error message translation usable outside
xz (at least in upcoming lzmainfo).

15 years agoAdd xz man page to manfiles in toplevel Makefile.am.
Lasse Collin [Thu, 13 Aug 2009 06:37:21 +0000 (09:37 +0300)]
Add xz man page to manfiles in toplevel Makefile.am.

15 years agoFix first line of xz man page.
Lasse Collin [Thu, 13 Aug 2009 06:37:01 +0000 (09:37 +0300)]
Fix first line of xz man page.

15 years agoAdded a rough version of the xz man page.
Lasse Collin [Mon, 10 Aug 2009 08:22:31 +0000 (11:22 +0300)]
Added a rough version of the xz man page.

15 years ago“xzdiff a.xz b.xz” always fails
Jonathan Nieder [Sun, 9 Aug 2009 18:41:20 +0000 (13:41 -0500)]
“xzdiff a.xz b.xz” always fails

Attempts to compare two compressed files result in no output and
exit status 2.

Instead of going to standard output, ‘diff’ output is being
captured in the xz_status variable along with the exit status from
the decompression commands.  Later, when this variable is examined
for nonzero status codes, numerals from dates in the ‘diff’ output
make it appear as though decompression failed.

So let the ‘diff’ output leak to standard output with another file
descriptor.  (This trick is used in all similar contexts elsewhere
in xzdiff and in the analogous context in gzip’s zdiff script.)

15 years agoxzless: Support compressed standard input
Jonathan Nieder [Sun, 9 Aug 2009 18:22:12 +0000 (13:22 -0500)]
xzless: Support compressed standard input

It can be somewhat confusing that

less < some_file.txt

works fine, whereas

xzless < some_file.txt.xz

does not.  Since version 429, ‘less’ allows a filter specified in
the LESSOPEN environment variable to preprocess its input even if
it comes from standard input, if $LESSOPEN begins with ‘|-’.  So
set $LESSOPEN to take advantage of this feature.

Check less’s version at runtime so xzless can continue to work
with older versions.

15 years agoGPLv2+ not GPLv2 for Doxyfile.in is probably OK.
Lasse Collin [Sun, 9 Aug 2009 17:57:46 +0000 (20:57 +0300)]
GPLv2+ not GPLv2 for Doxyfile.in is probably OK.

15 years agoAdded a copyright notice to Doxyfile.in since it contains
Lasse Collin [Sat, 1 Aug 2009 21:27:29 +0000 (00:27 +0300)]
Added a copyright notice to Doxyfile.in since it contains
lots of comments from Doxygen.

It seems that the Doxygen authors' intent is to not apply
their copyright on generated files, but since it doesn't
matter for XZ Utils at all, better safe than sorry.

15 years agoUpdated THANKS.
Lasse Collin [Sat, 1 Aug 2009 21:11:37 +0000 (00:11 +0300)]
Updated THANKS.

15 years agoUpdated TODO.
Lasse Collin [Sat, 1 Aug 2009 21:10:22 +0000 (00:10 +0300)]
Updated TODO.

15 years agoUpdated THANKS.
Lasse Collin [Thu, 30 Jul 2009 09:25:55 +0000 (12:25 +0300)]
Updated THANKS.

15 years agoxzdiff: add missing ;; to case statement
Jonathan Nieder [Tue, 28 Jul 2009 22:37:24 +0000 (17:37 -0500)]
xzdiff: add missing ;; to case statement

15 years agoAdded history.txt to doc_DATA.
Lasse Collin [Fri, 24 Jul 2009 10:15:06 +0000 (13:15 +0300)]
Added history.txt to doc_DATA.

15 years agoUpdated .gitignore files.
Lasse Collin [Fri, 24 Jul 2009 09:00:40 +0000 (12:00 +0300)]
Updated .gitignore files.

15 years agoMinor improvements to COPYING.
Lasse Collin [Fri, 24 Jul 2009 08:34:02 +0000 (11:34 +0300)]
Minor improvements to COPYING.

15 years agoFix incorrect usage of getopt_long(), which caused
Lasse Collin [Thu, 23 Jul 2009 16:10:55 +0000 (19:10 +0300)]
Fix incorrect usage of getopt_long(), which caused
invalid memory access if XZ_OPT was defined.

15 years agoAvoid internal error with --format=xz --lzma1.
Lasse Collin [Mon, 20 Jul 2009 12:43:32 +0000 (15:43 +0300)]
Avoid internal error with --format=xz --lzma1.

15 years agoMajor documentation update.
Lasse Collin [Sun, 19 Jul 2009 10:14:20 +0000 (13:14 +0300)]
Major documentation update.

Installation and packaging instructions were added.
README and other generic docs were revised.

Some of the documentation files are now installed to $docdir.

15 years agoAdded missing author notice to xzless.in.
Lasse Collin [Sun, 19 Jul 2009 08:09:31 +0000 (11:09 +0300)]
Added missing author notice to xzless.in.

15 years agoUse AC_CONFIG_AUX_DIR to clean up the toplevel directory
Lasse Collin [Sat, 18 Jul 2009 15:54:55 +0000 (18:54 +0300)]
Use AC_CONFIG_AUX_DIR to clean up the toplevel directory
a little.

Fixed a related bug in the toplevel Makefile.am.

Added the build-aux directory to .gitignore.

15 years agoUpdated the totally outdated TODO file.
Lasse Collin [Sat, 18 Jul 2009 11:34:08 +0000 (14:34 +0300)]
Updated the totally outdated TODO file.

15 years agoAdded public domain notice into a few files.
Lasse Collin [Sat, 18 Jul 2009 08:26:39 +0000 (11:26 +0300)]
Added public domain notice into a few files.

15 years agoAllow extra commas in filter-specific options on xz command line.
Lasse Collin [Tue, 14 Jul 2009 18:10:36 +0000 (21:10 +0300)]
Allow extra commas in filter-specific options on xz command line.

This may slightly ease writing scripts that construct
filter-specific option strings dynamically.

15 years agoAccept --lzma2=preset=6e where "e" is equivalent to --extreme
Lasse Collin [Tue, 14 Jul 2009 15:04:31 +0000 (18:04 +0300)]
Accept --lzma2=preset=6e where "e" is equivalent to --extreme
when no custom chain is in use.

15 years agoAdd dist-hook to create ChangeLog from the commit log,
Lasse Collin [Sun, 12 Jul 2009 16:08:30 +0000 (19:08 +0300)]
Add dist-hook to create ChangeLog from the commit log,
and to conver the man pages to PDF and plain text, which
may be convenient to those who cannot render man pages.

15 years agoBCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.
Lasse Collin [Fri, 10 Jul 2009 08:39:38 +0000 (11:39 +0300)]
BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.

This is a quick and slightly dirty fix to make the code
conform to the latest file format specification. Without
this patch, it's possible to make corrupt files by
specifying start offset that is not a multiple of the
filter's alignment. Custom start offset is almost never
used, so this was only a minor bug.

The xz command line tool doesn't validate the start offset,
so one will get a bit unclear error message if trying to use
an invalid start offset.

15 years agoLook for full command names instead of substrings
Lasse Collin [Fri, 10 Jul 2009 08:33:21 +0000 (11:33 +0300)]
Look for full command names instead of substrings
like "un", "cat", and "lz" when determining if
xz is run as unxz, xzcat, lzma, unlzma, or lzcat.

This is to ensure that if xz is renamed (e.g. via
--program-transform-name), it doesn't so easily
work in wrong mode.

15 years agoUpdated THANKS.
Lasse Collin [Wed, 8 Jul 2009 20:06:46 +0000 (23:06 +0300)]
Updated THANKS.

15 years agoPortability improvement to version.sh.
Lasse Collin [Wed, 8 Jul 2009 20:05:29 +0000 (23:05 +0300)]
Portability improvement to version.sh.

15 years agoRemove --force from xzdec.
Lasse Collin [Wed, 8 Jul 2009 19:50:16 +0000 (22:50 +0300)]
Remove --force from xzdec.

It was ignored for compatibility with xz, but now that
--decompress --stdout --force copies unrecognized files
as is to stdout, simply ignoring --force in xzdec would
be wrong. xzdec will not support copying unrecognized
data as is to stdout, so it cannot support --force.

15 years agoUse sed instead of $(SED) so that we don't need to
Lasse Collin [Mon, 6 Jul 2009 07:36:04 +0000 (10:36 +0300)]
Use sed instead of $(SED) so that we don't need to
use AC_PROG_SED. We don't do anything fancy with sed,
so this should work OK. libtool 2.2 sets SED but 1.5
doesn't, so $(SED) happened to work when using libtool 2.2.

15 years agoMajor update to the xzgrep and other scripts based on
Lasse Collin [Sun, 5 Jul 2009 19:25:17 +0000 (22:25 +0300)]
Major update to the xzgrep and other scripts based on
the latest versions found from gzip CVS repository.

configure will try to find a POSIX shell to be used by
the scripts. This should ease portability on systems
which have pre-POSIX /bin/sh.

xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files.
xzmore and xzless support only .xz and .lzma files.

The name of the xz executable used in these scripts is
now correct even if --program-transform-name has been used.

15 years agoUse @PACKAGE_HOMEPAGE@ in liblzma.pc.in.
Lasse Collin [Sun, 5 Jul 2009 16:26:53 +0000 (19:26 +0300)]
Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.

15 years agoMake "xz --decompress --stdout --force" copy unrecognized
Lasse Collin [Fri, 3 Jul 2009 21:40:44 +0000 (00:40 +0300)]
Make "xz --decompress --stdout --force" copy unrecognized
files as is to standard output.

This feature is needed to be more compatible with gzip's
behavior. This was more complicated to implement than it
sounds, because the way liblzma is able to return errors with
files of only a few bytes in size. xz now has its own file
type detection code and no longer uses lzma_auto_decoder().

15 years agoDefine PACKAGE_HOMEPAGE in configure.ac and use it in
Lasse Collin [Thu, 2 Jul 2009 11:30:38 +0000 (14:30 +0300)]
Define PACKAGE_HOMEPAGE in configure.ac and use it in
xz and xzdec.

Use also PACKAGE_NAME instead of hardcoding "XZ Utils".

15 years agoAvoid visibility related compiler warnings on Windows.
Lasse Collin [Wed, 1 Jul 2009 09:21:24 +0000 (12:21 +0300)]
Avoid visibility related compiler warnings on Windows.

15 years agoUse static liblzma by default also for tests.
Lasse Collin [Tue, 30 Jun 2009 14:14:39 +0000 (17:14 +0300)]
Use static liblzma by default also for tests.

15 years agoBuild system fixes
Lasse Collin [Tue, 30 Jun 2009 14:09:57 +0000 (17:09 +0300)]
Build system fixes

Don't use libtool convenience libraries to avoid recently
discovered long-standing subtle but somewhat severe bugs
in libtool (at least 1.5.22 and 2.2.6 are affected). It
was found when porting XZ Utils to Windows
<http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
but the problem is significant also e.g. on GNU/Linux.

Unless --disable-shared is passed to configure, static
library built from a set of convenience libraries will
contain PIC objects. That is, while libtool builds non-PIC
objects too, only PIC objects will be used from the
convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
using PIC instead of non-PIC makes the decompressor 10 % slower
with the default CFLAGS.

So while xz was linked against static liblzma by default,
it got the slower PIC objects unless --disable-shared was
used. I tend develop and benchmark with --disable-shared
due to faster build time, so I hadn't noticed the problem
in benchmarks earlier.

This commit also adds support for building Windows resources
into liblzma and executables.

15 years agoAdded a comment about "autoconf -fi" to autogen.sh.
Lasse Collin [Mon, 29 Jun 2009 19:19:51 +0000 (22:19 +0300)]
Added a comment about "autoconf -fi" to autogen.sh.

15 years agoAdd -no-undefined to get shared liblzma on Windows.
Lasse Collin [Sun, 28 Jun 2009 07:04:24 +0000 (10:04 +0300)]
Add -no-undefined to get shared liblzma on Windows.

15 years agoMake physmem() work on Cygwin 1.5 and older.
Lasse Collin [Sat, 27 Jun 2009 19:57:15 +0000 (22:57 +0300)]
Make physmem() work on Cygwin 1.5 and older.

15 years agoMoved the Windows resource files outside the windows directory
Lasse Collin [Sat, 27 Jun 2009 14:28:01 +0000 (17:28 +0300)]
Moved the Windows resource files outside the windows directory
to prepare for building them with Autotools.

15 years agoAdded missing $(EXEEXT).
Lasse Collin [Sat, 27 Jun 2009 10:05:03 +0000 (13:05 +0300)]
Added missing $(EXEEXT).

15 years agoCreate correct symlinks even when
Lasse Collin [Sat, 27 Jun 2009 09:32:40 +0000 (12:32 +0300)]
Create correct symlinks even when
--program-{prefix,suffix,transform} is passed to configure.

15 years agoSilence a compiler warning on DOS-like systems.
Lasse Collin [Sat, 27 Jun 2009 07:02:24 +0000 (10:02 +0300)]
Silence a compiler warning on DOS-like systems.

15 years agoUpdated the filenames in POTFILES.in too.
Lasse Collin [Sat, 27 Jun 2009 06:35:15 +0000 (09:35 +0300)]
Updated the filenames in POTFILES.in too.

15 years agoHopefully improved portability of the assembler code in
Lasse Collin [Fri, 26 Jun 2009 21:43:06 +0000 (00:43 +0300)]
Hopefully improved portability of the assembler code in
Autotools based builds on Windows.

15 years agoUpdated THANKS (most of today's commits are based on
Lasse Collin [Fri, 26 Jun 2009 18:17:29 +0000 (21:17 +0300)]
Updated THANKS (most of today's commits are based on
Charles Wilson's patches).

15 years agoUpdated comments to match renamed files.
Lasse Collin [Fri, 26 Jun 2009 18:00:35 +0000 (21:00 +0300)]
Updated comments to match renamed files.

15 years agoRename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
Lasse Collin [Fri, 26 Jun 2009 17:49:54 +0000 (20:49 +0300)]
Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
to avoid problems on systems with system headers with those
names.

15 years agoRename process_file() to coder_run().
Lasse Collin [Fri, 26 Jun 2009 17:43:36 +0000 (20:43 +0300)]
Rename process_file() to coder_run().

15 years agoUgly hack to make it possible to use the thousand separator
Lasse Collin [Fri, 26 Jun 2009 17:36:45 +0000 (20:36 +0300)]
Ugly hack to make it possible to use the thousand separator
format character with snprintf() on POSIX systems but not
on non-POSIX systems and still keep xgettext working.

15 years agoAdded missing source files to windows/Makefile.
Lasse Collin [Fri, 26 Jun 2009 12:40:40 +0000 (15:40 +0300)]
Added missing source files to windows/Makefile.

15 years agoBasic support for building with Cygwin and MinGW using
Lasse Collin [Fri, 26 Jun 2009 12:37:53 +0000 (15:37 +0300)]
Basic support for building with Cygwin and MinGW using
the Autotools based build system. It's not good yet, more
fixes will follow.

15 years agoFix @variables@ to $(variables) in Makefile.am files.
Lasse Collin [Fri, 26 Jun 2009 11:47:31 +0000 (14:47 +0300)]
Fix @variables@ to $(variables) in Makefile.am files.
Fix the ordering of libgnu.a and LTLIBINTL on the linker
command line and added missing LTLIBINTL to tests/Makefile.am.

15 years agoAllow to explicitly specify autotool versions in autogen.sh.
Lasse Collin [Fri, 26 Jun 2009 11:20:02 +0000 (14:20 +0300)]
Allow to explicitly specify autotool versions in autogen.sh.

15 years agoAdd version.sh to EXTRA_DIST.
Lasse Collin [Fri, 26 Jun 2009 11:18:32 +0000 (14:18 +0300)]
Add version.sh to EXTRA_DIST.

15 years agoSupport HW_PHYSMEM64
Lasse Collin [Wed, 24 Jun 2009 17:14:10 +0000 (20:14 +0300)]
Support HW_PHYSMEM64

15 years agoCast a char argument to isspace() to unsigned char.
Lasse Collin [Wed, 24 Jun 2009 10:01:59 +0000 (13:01 +0300)]
Cast a char argument to isspace() to unsigned char.

15 years agoA few more spelling fixes. Released the .xz spec 1.0.3.
Lasse Collin [Fri, 5 Jun 2009 10:46:26 +0000 (13:46 +0300)]
A few more spelling fixes. Released the .xz spec 1.0.3.

15 years agoAdded xzdec man page.
Lasse Collin [Thu, 4 Jun 2009 20:42:12 +0000 (23:42 +0300)]
Added xzdec man page.

15 years agoHarmonized xzdec --memory with xz --memory and made
Lasse Collin [Thu, 4 Jun 2009 20:26:47 +0000 (23:26 +0300)]
Harmonized xzdec --memory with xz --memory and made
minor cleanups.

15 years agoFix purporse -> purpose. Thanks to Andrew Dudman.
Lasse Collin [Thu, 4 Jun 2009 19:59:55 +0000 (22:59 +0300)]
Fix purporse -> purpose. Thanks to Andrew Dudman.
Released .xz spec 1.0.2 due to this fix too.

15 years agoThe .xz file format version 1.0.1
Lasse Collin [Mon, 1 Jun 2009 11:53:57 +0000 (14:53 +0300)]
The .xz file format version 1.0.1

15 years agoMake the raw value of the Check field available to applications
Lasse Collin [Tue, 26 May 2009 11:48:48 +0000 (14:48 +0300)]
Make the raw value of the Check field available to applications
via lzma_block structure.

This changes ABI but not doesn't break API.

15 years agoRemove undocumented alternative option names --bcj, --ppc,
Lasse Collin [Sat, 23 May 2009 13:57:21 +0000 (16:57 +0300)]
Remove undocumented alternative option names --bcj, --ppc,
and --itanium.

15 years agoAdd support for specifying the BCJ filter start offset
Lasse Collin [Sat, 23 May 2009 12:12:23 +0000 (15:12 +0300)]
Add support for specifying the BCJ filter start offset
in the xz command line tool.

15 years agoUpdated THANKS.
Lasse Collin [Sat, 23 May 2009 11:51:09 +0000 (14:51 +0300)]
Updated THANKS.

15 years agoAdded support for --quiet and --no-warn to xzdec.
Lasse Collin [Fri, 22 May 2009 13:40:50 +0000 (16:40 +0300)]
Added support for --quiet and --no-warn to xzdec.
Cleaned up the --help message a little.

15 years agoUse the 40 % of RAM memory usage limit in xzdec too.
Lasse Collin [Fri, 22 May 2009 12:11:52 +0000 (15:11 +0300)]
Use the 40 % of RAM memory usage limit in xzdec too.

Update the memory usage info text in --help to match
the text in xz --long-help.

15 years agoAdd --no-warn.
Lasse Collin [Fri, 22 May 2009 11:43:00 +0000 (14:43 +0300)]
Add --no-warn.

15 years agoFix a comment.
Lasse Collin [Fri, 22 May 2009 11:27:40 +0000 (14:27 +0300)]
Fix a comment.

15 years agoRemove the --info option, which was an alias for --list.
Lasse Collin [Fri, 22 May 2009 11:21:20 +0000 (14:21 +0300)]
Remove the --info option, which was an alias for --list.

15 years agoIf xz is run as lzma, unlzma, or lzcat, simply imply
Lasse Collin [Fri, 22 May 2009 09:27:43 +0000 (12:27 +0300)]
If xz is run as lzma, unlzma, or lzcat, simply imply
--format=lzma. This means that xz emulating lzma
doesn't decompress .xz files, while before this
commit it did. The new way is slightly simpler in
code and especially in upcoming documentation.

15 years agoMake the default memory usage limit 40 % of RAM for both
Lasse Collin [Fri, 22 May 2009 08:29:50 +0000 (11:29 +0300)]
Make the default memory usage limit 40 % of RAM for both
compressing and decompressing. This should be OK now that
xz automatically scales down the compression settings if
they would exceed the memory usage limit (earlier, the limit
for compression was increased to 90 % because low limit broke
scripts that used "xz -9" on systems with low RAM).

Support spcifying the memory usage limit as a percentage
of RAM (e.g. --memory=50%).

Support --threads=0 to reset the thread limit to the default
value (number of available CPU cores). Use UINT32_MAX instead
of SIZE_MAX as the maximum in args.c. hardware.c was already
expecting uint32_t value.

Cleaned up the output of --help and --long-help.

15 years agoSupport special value "max" where xz and xzdec accept an integer.
Lasse Collin [Thu, 21 May 2009 14:22:01 +0000 (17:22 +0300)]
Support special value "max" where xz and xzdec accept an integer.
Don't round the memory usage limit in xzdec --help to avoid
an integer overflow and to not give wrong impression that
the limit is high enough when it may not actually be.

15 years agoInstall lzdiff, lzgrep, and lzmore as symlinks
ABCD [Wed, 20 May 2009 21:31:18 +0000 (17:31 -0400)]
Install lzdiff, lzgrep, and lzmore as symlinks

This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install.
It also installs symlinks for the manual pages and removes the new
symlinks on uninstall.

15 years agoUse a GCC-specific #pragma instead of GCC-specific
Lasse Collin [Sat, 2 May 2009 13:10:14 +0000 (16:10 +0300)]
Use a GCC-specific #pragma instead of GCC-specific
-Wno-uninitialized to silence a bogus warning.

15 years agoRemoved --disable-encoder and --disable-decoder. Use the values
Lasse Collin [Sat, 2 May 2009 11:46:50 +0000 (14:46 +0300)]
Removed --disable-encoder and --disable-decoder. Use the values
given to --enable-encoders and --enable-decoders to determine
if any encoder or decoder support is wanted.

15 years agoRemove docs that are too outdated to be updated
Lasse Collin [Fri, 1 May 2009 08:28:52 +0000 (11:28 +0300)]
Remove docs that are too outdated to be updated
(rewrite will be better).

15 years agoAdded documentation about the legacy .lzma file format.
Lasse Collin [Fri, 1 May 2009 08:21:46 +0000 (11:21 +0300)]
Added documentation about the legacy .lzma file format.

15 years agoRenamed the file format specification to xz-file-format.txt
Lasse Collin [Fri, 1 May 2009 08:20:23 +0000 (11:20 +0300)]
Renamed the file format specification to xz-file-format.txt
which is the filename used on the WWW.

15 years agoFixed a crash in liblzma.
Lasse Collin [Tue, 28 Apr 2009 20:08:32 +0000 (23:08 +0300)]
Fixed a crash in liblzma.

liblzma tries to avoid useless free()/malloc() pairs in
initialization when multiple files are handled using the
same lzma_stream. This didn't work with filter chains
due to comparison of wrong pointers in lzma_next_coder_init(),
making liblzma think that no memory reallocation is needed
even when it actually is.

Easy way to trigger this bug is to decompress two files with
a single xz command. The first file should have e.g. x86+LZMA2
as the filter chain, and the second file just LZMA2.

15 years agoFix uint32_t -> size_t in ARM and ARM-Thumb filters.
Lasse Collin [Wed, 15 Apr 2009 11:13:38 +0000 (14:13 +0300)]
Fix uint32_t -> size_t in ARM and ARM-Thumb filters.

On 64-bit system it would have gone into infinite
loop if a single input buffer was over 4 GiB (unlikely).

15 years agoMinor fixes to test files' README.
Lasse Collin [Tue, 14 Apr 2009 08:48:46 +0000 (11:48 +0300)]
Minor fixes to test files' README.

15 years agoUpdated history.txt.
Lasse Collin [Mon, 13 Apr 2009 13:36:41 +0000 (16:36 +0300)]
Updated history.txt.

15 years agoQuick & dirty update to support xz in diff/grep/more scripts.
Lasse Collin [Mon, 13 Apr 2009 11:49:48 +0000 (14:49 +0300)]
Quick & dirty update to support xz in diff/grep/more scripts.

15 years agoPut the interesting parts of XZ Utils into the public domain.
Lasse Collin [Mon, 13 Apr 2009 08:27:40 +0000 (11:27 +0300)]
Put the interesting parts of XZ Utils into the public domain.
Some minor documentation cleanups were made at the same time.

15 years agoFix off-by-one in LZ decoder.
Lasse Collin [Fri, 10 Apr 2009 08:17:02 +0000 (11:17 +0300)]
Fix off-by-one in LZ decoder.

Fortunately, this bug had no security risk other than accepting
some corrupt files as valid.

15 years agoFix minor typos in README
Pavel Roskin [Tue, 31 Mar 2009 16:15:01 +0000 (12:15 -0400)]
Fix minor typos in README

15 years agoAdd a note and work-around instructions to README about
Lasse Collin [Tue, 31 Mar 2009 18:52:51 +0000 (21:52 +0300)]
Add a note and work-around instructions to README about
problems detecting a C99 compiler when some standard
headers are missing.

15 years agoUpdated THANKS.
Lasse Collin [Wed, 18 Mar 2009 14:54:38 +0000 (16:54 +0200)]
Updated THANKS.