platform/upstream/xz.git
14 years agoAdd support for --info-memory and --robot to xz.
Lasse Collin [Mon, 16 Nov 2009 16:16:45 +0000 (18:16 +0200)]
Add support for --info-memory and --robot to xz.

Currently --robot works only with --info-memory and
--version. --help and --long-help work too, but --robot
has no effect on them.

Thanks to Jonathan Nieder for the original patches.

14 years agoFix wrong indentation caused by incorrect settings
Lasse Collin [Sun, 15 Nov 2009 10:54:45 +0000 (12:54 +0200)]
Fix wrong indentation caused by incorrect settings
in the text editor.

14 years agoAdd lzma_physmem().
Lasse Collin [Sun, 15 Nov 2009 10:40:17 +0000 (12:40 +0200)]
Add lzma_physmem().

I had hoped to keep liblzma as purely a compression
library as possible (e.g. file I/O will go into
a different library), but it seems that applications
linking agaisnt liblzma need some way to determine
the memory usage limit, and knowing the amount of RAM
is one reasonable way to help making such decisions.

Thanks to Jonathan Nieder for the original patch.

14 years agoUpdated THANKS.
Lasse Collin [Sat, 14 Nov 2009 18:21:19 +0000 (20:21 +0200)]
Updated THANKS.

14 years agoSome updates to xz man page.
Lasse Collin [Sat, 14 Nov 2009 18:20:03 +0000 (20:20 +0200)]
Some updates to xz man page.

14 years agoFix description of --memory in --long-help.
Lasse Collin [Sat, 14 Nov 2009 17:51:03 +0000 (19:51 +0200)]
Fix description of --memory in --long-help.

14 years agoUpdate the debug programs so that they compile again.
Lasse Collin [Sat, 14 Nov 2009 17:45:39 +0000 (19:45 +0200)]
Update the debug programs so that they compile again.

14 years agoFix a design error in liblzma API.
Lasse Collin [Sat, 14 Nov 2009 16:59:19 +0000 (18:59 +0200)]
Fix a design error in liblzma API.

Originally the idea was that using LZMA_FULL_FLUSH
with Stream encoder would read the filter chain
from the same array that was used to intialize the
Stream encoder. Since most apps wouldn't use
LZMA_FULL_FLUSH, most apps wouldn't need to keep
the filter chain available after initializing the
Stream encoder. However, due to my mistake, it
actually required keeping the array always available.

Since setting the new filter chain via the array
used at initialization time is not a nice way to do
it for a couple of reasons, this commit ditches it
and introduces lzma_filters_update(). This new function
replaces also the "persistent" flag used by LZMA2
(and to-be-designed Subblock filter), which was also
an ugly thing to do.

Thanks to Alexey Tourbin for reminding me about the problem
that Stream encoder used to require keeping the filter
chain allocated.

15 years agoFix wrong function name in the previous commit.
Lasse Collin [Sat, 17 Oct 2009 08:11:58 +0000 (11:11 +0300)]
Fix wrong function name in the previous commit.

It was meant to be lzma_filters_copy(), not lzma_filters_dup().

15 years agoAdd lzma_filters_copy().
Lasse Collin [Fri, 16 Oct 2009 22:47:07 +0000 (01:47 +0300)]
Add lzma_filters_copy().

This will be needed internally by liblzma once I fix
a design mistake in the encoder API. This function may
be useful to applications too so it's good to export it.

15 years agoEscape dashes in xzmore.1
Jonathan Nieder [Fri, 16 Oct 2009 01:44:13 +0000 (20:44 -0500)]
Escape dashes in xzmore.1

A minus sign is larger, easier to see in a printout, and more
likely to use the same glyph as ASCII hyphen-minus in a terminal
than a hyphen.  Since broken manual pagers do not find hyphens
when the user searches for a hyphen-minus, minus signs are also
easier to search for.  So use minus signs instead of hyphens to
render sample terminal output.

15 years agoMention --check=none in --long-help. It was already in
Lasse Collin [Fri, 16 Oct 2009 17:35:39 +0000 (20:35 +0300)]
Mention --check=none in --long-help. It was already in
the man page though.

Thanks to Jim Meyering for noticing this.

15 years agoUse a tuklib module for integer handling.
Lasse Collin [Sun, 4 Oct 2009 19:57:12 +0000 (22:57 +0300)]
Use a tuklib module for integer handling.

This replaces bswap.h and integer.h.

The tuklib module uses <byteswap.h> on GNU,
<sys/endian.h> on *BSDs and <sys/byteorder.h>
on Solaris, which may contain optimized code
like inline assembly.

15 years agoAdd support for --enable-assume-ram=SIZE.
Lasse Collin [Fri, 2 Oct 2009 11:35:56 +0000 (14:35 +0300)]
Add support for --enable-assume-ram=SIZE.

15 years agoUse unaligned access (if possible) on both endiannesses
Lasse Collin [Fri, 2 Oct 2009 08:28:17 +0000 (11:28 +0300)]
Use unaligned access (if possible) on both endiannesses
in lz_encoder_hash.h.

15 years agoMake liblzma produce the same output on both endiannesses.
Lasse Collin [Fri, 2 Oct 2009 08:03:26 +0000 (11:03 +0300)]
Make liblzma produce the same output on both endiannesses.

Seems that it is a problem in some cases if the same
version of XZ Utils produces different output on different
endiannesses, so this commit fixes that problem. The output
will still vary between different XZ Utils versions, but I
cannot avoid that for now.

This commit bloatens the code on big endian systems by 1 KiB,
which should be OK since liblzma is bloated already. ;-)

15 years agoadd lzmainfo to gitignore
Mike Frysinger [Sat, 26 Sep 2009 16:51:50 +0000 (12:51 -0400)]
add lzmainfo to gitignore

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoUpdated THANKS.
Lasse Collin [Sun, 27 Sep 2009 08:53:36 +0000 (11:53 +0300)]
Updated THANKS.

15 years agoWork around a bug in Interix header files.
Lasse Collin [Sun, 27 Sep 2009 08:48:54 +0000 (11:48 +0300)]
Work around a bug in Interix header files.

Thanks to Markus Duft for the patch.

15 years agoFix an error in OpenVMS-specific code.
Lasse Collin [Thu, 24 Sep 2009 14:50:17 +0000 (17:50 +0300)]
Fix an error in OpenVMS-specific code.

Thanks to Jouk Jansen.

15 years agoAdded OpenVMS-specific information to INSTALL.
Lasse Collin [Tue, 22 Sep 2009 15:59:56 +0000 (18:59 +0300)]
Added OpenVMS-specific information to INSTALL.

15 years agoBetter fixes for OpenVMS support.
Lasse Collin [Tue, 22 Sep 2009 11:03:02 +0000 (14:03 +0300)]
Better fixes for OpenVMS support.

Thanks to Jouk Jansen.

15 years agoAvoid non-standard preprocessor construct.
Lasse Collin [Tue, 22 Sep 2009 10:40:19 +0000 (13:40 +0300)]
Avoid non-standard preprocessor construct.

Thanks to Jouk Jansen.

15 years agoMake sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
Lasse Collin [Mon, 21 Sep 2009 16:50:09 +0000 (19:50 +0300)]
Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.

Thanks to Charles Wilson.

15 years agoVarious changes.
Lasse Collin [Sat, 19 Sep 2009 06:47:30 +0000 (09:47 +0300)]
Various changes.

Separate a few reusable components from XZ Utils specific
code. The reusable code is now in "tuklib" modules. A few
more could be separated still, e.g. bswap.h.

Fix some bugs in lzmainfo.

Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol
for help.

Add OpenVMS support into physmem. Add a few #ifdefs to ease
building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the
original patch.

15 years agoFix incorrect use of "restrict".
Lasse Collin [Tue, 15 Sep 2009 18:07:23 +0000 (21:07 +0300)]
Fix incorrect use of "restrict".

15 years agoFix GCC version check for nothrow attribute.
Lasse Collin [Sat, 12 Sep 2009 11:09:17 +0000 (14:09 +0300)]
Fix GCC version check for nothrow attribute.

15 years agoUpdated THANKS.
Lasse Collin [Sat, 12 Sep 2009 11:08:15 +0000 (14:08 +0300)]
Updated THANKS.

15 years agoA few grammar fixes.
Lasse Collin [Sat, 12 Sep 2009 11:07:36 +0000 (14:07 +0300)]
A few grammar fixes.

Thanks to Christian Weisgerber for pointing out some of these.

15 years agoUpdated THANKS.
Lasse Collin [Fri, 11 Sep 2009 14:08:15 +0000 (17:08 +0300)]
Updated THANKS.

15 years agoAdd PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.
Lasse Collin [Fri, 11 Sep 2009 14:06:32 +0000 (17:06 +0300)]
Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.

15 years agoUse $(LN_EXEEXT) in symlinks to executables.
Lasse Collin [Fri, 11 Sep 2009 07:24:09 +0000 (10:24 +0300)]
Use $(LN_EXEEXT) in symlinks to executables.

This fixes "make install" on operating systems using
a suffix for executables.

Cygwin is treated specially. The symlink names won't have
.exe suffix even though the executables themselves have.
Thanks to Charles Wilson.

15 years agoFix a couple of warnings.
Lasse Collin [Fri, 11 Sep 2009 06:25:09 +0000 (09:25 +0300)]
Fix a couple of warnings.

15 years agoAdd OS/2-specific code to physmem.h.
Lasse Collin [Sat, 5 Sep 2009 15:39:21 +0000 (18:39 +0300)]
Add OS/2-specific code to physmem.h.

Also move DJGPP-specific code near the code meant
for other DOS-like systems.

15 years agoUpdated THANKS.
Lasse Collin [Fri, 4 Sep 2009 22:21:15 +0000 (01:21 +0300)]
Updated THANKS.

15 years agoUse sysctl() != -1 instead of !sysctl() to check if
Lasse Collin [Fri, 4 Sep 2009 22:20:29 +0000 (01:20 +0300)]
Use sysctl() != -1 instead of !sysctl() to check if
the function call succeeded.

NetBSD 4.0 returns positive values on success, but
NetBSD Current and FreeBSD return zero. OpenBSD's
man page doesn't tell what sysctl() returns on
success. All these BSDs return -1 on error.

Thanks to Robert Elz and Thomas Klausner.

15 years agoMention in INSTALL that --enable-small doesn't modify CFLAGS.
Lasse Collin [Wed, 2 Sep 2009 06:43:51 +0000 (09:43 +0300)]
Mention in INSTALL that --enable-small doesn't modify CFLAGS.

15 years agoRefactored option parsing.
Lasse Collin [Tue, 1 Sep 2009 17:40:01 +0000 (20:40 +0300)]
Refactored option parsing.

15 years agoFix options parsing bug in xz.
Lasse Collin [Tue, 1 Sep 2009 17:23:30 +0000 (20:23 +0300)]
Fix options parsing bug in xz.

xz used to reject "xz --lzma2=pb=2," while
"xz --lzma2=pb=2,," worked. Now both work.

15 years agoUpdated TODO.
Lasse Collin [Tue, 1 Sep 2009 17:20:19 +0000 (20:20 +0300)]
Updated TODO.

15 years agoRevert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
Lasse Collin [Mon, 31 Aug 2009 18:59:25 +0000 (21:59 +0300)]
Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
and use a fix that works on all systems using
GNU assembler.

Maybe the assembler code is used e.g. on Solaris x86
but let's worry about it if this doesn't work on it.

15 years agoUpdated THANKS.
Lasse Collin [Sun, 30 Aug 2009 14:29:19 +0000 (17:29 +0300)]
Updated THANKS.

15 years agoAdd more OS/2 specific info to INSTALL.
Lasse Collin [Sun, 30 Aug 2009 14:28:52 +0000 (17:28 +0300)]
Add more OS/2 specific info to INSTALL.

15 years agoUse even more hackish way to support thousand separators.
Lasse Collin [Sat, 29 Aug 2009 11:43:52 +0000 (14:43 +0300)]
Use even more hackish way to support thousand separators.

Seems that in addition on Windows and DOS, also OpenBSD
lacks support for %'d style printf() format strings.
So far that is the only modern POSIX-like system I know
with this problem, but after this hack, the thousand
separator shouldn't be a problem on any system.

Maybe testing if a format string like %'d produces
reasonable output is invoking undefined behavior on some
systems, but so far all the problematic systems I've tried
just print the raw format string (e.g. %'d prints 'd).

Maybe Autoconf test would have been better, but this
hack works also for cross-compilation, and avoids
recompilation in case the system libc starts to support
the thousand separator.

15 years agoUpdated THANKS.
Lasse Collin [Sat, 29 Aug 2009 10:42:56 +0000 (13:42 +0300)]
Updated THANKS.

15 years agoFix sysctl() usage.
Lasse Collin [Sat, 29 Aug 2009 10:39:21 +0000 (13:39 +0300)]
Fix sysctl() usage.

This fixes build on *BSDs and Darwin.

Thanks to Jukka Salmi for the patches.
Richard Koch reported the problem too.

15 years agoFix x86 assembler on GCC 3.
Lasse Collin [Sat, 29 Aug 2009 10:35:23 +0000 (13:35 +0300)]
Fix x86 assembler on GCC 3.

Thanks to Karl Berry.

15 years ago"make dist" fixes
Lasse Collin [Thu, 27 Aug 2009 15:36:59 +0000 (18:36 +0300)]
"make dist" fixes

15 years agoUpdate xz man page date.
Lasse Collin [Thu, 27 Aug 2009 14:08:33 +0000 (17:08 +0300)]
Update xz man page date.

15 years agoFix the debug directory.
Lasse Collin [Thu, 27 Aug 2009 14:00:22 +0000 (17:00 +0300)]
Fix the debug directory.

6a2eb54092fc625d59921a607ff68cd1a90aa898 and
71f18e8a066a01dda0c8e5508b135ef104e43e4c required
some changes that weren't applied in debug.

15 years agoAdd missing files to EXTRA_DIST.
Lasse Collin [Thu, 27 Aug 2009 13:36:40 +0000 (16:36 +0300)]
Add missing files to EXTRA_DIST.

15 years agoBumped version to 4.999.9beta.
Lasse Collin [Thu, 27 Aug 2009 13:21:22 +0000 (16:21 +0300)]
Bumped version to 4.999.9beta.

15 years agoUpdated THANKS.
Lasse Collin [Thu, 27 Aug 2009 13:17:47 +0000 (16:17 +0300)]
Updated THANKS.

15 years ago.xz file format specification 1.0.4 (probably).
Lasse Collin [Thu, 27 Aug 2009 13:12:52 +0000 (16:12 +0300)]
.xz file format specification 1.0.4 (probably).

Thanks to Christian von Roques, Peter Lawler,
and Jim Meyering for the fixes.

15 years agoRequire GNU libtool 2.2.
Lasse Collin [Thu, 27 Aug 2009 12:43:54 +0000 (15:43 +0300)]
Require GNU libtool 2.2.

15 years agoAdd "dos" to EXTRA_DIST.
Lasse Collin [Thu, 27 Aug 2009 12:34:45 +0000 (15:34 +0300)]
Add "dos" to EXTRA_DIST.

15 years agoUpdated TODO.
Lasse Collin [Thu, 27 Aug 2009 12:23:27 +0000 (15:23 +0300)]
Updated TODO.

15 years agoSome xz man page improvements.
Lasse Collin [Thu, 27 Aug 2009 12:17:00 +0000 (15:17 +0300)]
Some xz man page improvements.

15 years agoRemoved doc/bugs.txt.
Lasse Collin [Thu, 27 Aug 2009 07:41:01 +0000 (10:41 +0300)]
Removed doc/bugs.txt.

15 years agoUpdated README.
Lasse Collin [Thu, 27 Aug 2009 07:40:25 +0000 (10:40 +0300)]
Updated README.

It now includes bug reporting instructions/tips.

15 years agoFix a typo in FAQ.
Lasse Collin [Thu, 27 Aug 2009 07:21:18 +0000 (10:21 +0300)]
Fix a typo in FAQ.

Thanks to Jim Meyering.

(From now on, I try to always remember to put
the relevant thanks to commit messages.)

15 years agoUpdates to liblzma API headers.
Lasse Collin [Thu, 27 Aug 2009 07:13:46 +0000 (10:13 +0300)]
Updates to liblzma API headers.

Added lzma_nothrow for every function. It adds
throw() when the header is used in C++ code.

Some lzma_attrs were added or removed.

Lots of comments were improved.

15 years agoInstall faq.txt.
Lasse Collin [Mon, 17 Aug 2009 21:30:09 +0000 (00:30 +0300)]
Install faq.txt.

15 years agoUpdated faq.txt.
Lasse Collin [Mon, 17 Aug 2009 21:26:48 +0000 (00:26 +0300)]
Updated faq.txt.

Some questions worth answering were removed, because I
currently don't have good up to date answers to them.

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.