platform/upstream/xz.git
15 years agoAssume 32 MiB of RAM on unsupported operating systems like
Lasse Collin [Sat, 7 Feb 2009 15:07:52 +0000 (17:07 +0200)]
Assume 32 MiB of RAM on unsupported operating systems like
the comment in hardware.c already said.

15 years agoMinGW support: Don't build fastpos_tablegen.c as part of
Lasse Collin [Sat, 7 Feb 2009 14:26:58 +0000 (16:26 +0200)]
MinGW support: Don't build fastpos_tablegen.c as part of
liblzma. Build both static and dynamic liblzma, and also
static and dynamic versions of the command line tools.

15 years agoSupport LZMA_API_STATIC in assembler files to
Lasse Collin [Sat, 7 Feb 2009 13:55:47 +0000 (15:55 +0200)]
Support LZMA_API_STATIC in assembler files to
avoid __declspec(dllexport) equivalent.

15 years agoIntroduced LZMA_API_STATIC macro, which the applications
Lasse Collin [Sat, 7 Feb 2009 09:11:50 +0000 (11:11 +0200)]
Introduced LZMA_API_STATIC macro, which the applications
need to #define when linking against static liblzma on
platforms like Windows. Most developers don't need to
care about LZMA_API_STATIC at all.

15 years agoAnother grammar fix
Lasse Collin [Fri, 6 Feb 2009 14:55:45 +0000 (16:55 +0200)]
Another grammar fix

15 years agoGrammar fix in README.
Lasse Collin [Fri, 6 Feb 2009 10:30:23 +0000 (12:30 +0200)]
Grammar fix in README.

15 years agoSome MSYS installations (e.g. MsysGit) don't include
Lasse Collin [Fri, 6 Feb 2009 08:06:32 +0000 (10:06 +0200)]
Some MSYS installations (e.g. MsysGit) don't include
install.exe, so don't rely on it.

15 years agoRecreated the BCJ test files for x86 and SPARC. The old files
Lasse Collin [Fri, 6 Feb 2009 07:13:15 +0000 (09:13 +0200)]
Recreated the BCJ test files for x86 and SPARC. The old files
were linked with crt*.o, which are copyrighted, and thus the
old test files were not in the public domain as a whole. They
are freely distributable though, but it is better to be careful
and avoid including any copyrighted pieces in the test files.
The new files are just compiled and assembled object files,
and thus don't contain any copyrighted code.

15 years agoAdd the "windows" directory to EXTRA_DIST.
Lasse Collin [Thu, 5 Feb 2009 19:21:27 +0000 (21:21 +0200)]
Add the "windows" directory to EXTRA_DIST.

15 years agoAdded initial experimental makefile for use with MinGW.
Lasse Collin [Thu, 5 Feb 2009 07:17:51 +0000 (09:17 +0200)]
Added initial experimental makefile for use with MinGW.

15 years agoVarious code cleanups the the xz command line tool.
Lasse Collin [Thu, 5 Feb 2009 07:12:57 +0000 (09:12 +0200)]
Various code cleanups the the xz command line tool.
It now builds with MinGW.

15 years agoAnother utime() fix.
Lasse Collin [Tue, 3 Feb 2009 10:15:17 +0000 (12:15 +0200)]
Another utime() fix.

15 years agoFix wrong filename argument for utime() and utimes().
Lasse Collin [Tue, 3 Feb 2009 08:41:11 +0000 (10:41 +0200)]
Fix wrong filename argument for utime() and utimes().
This doesn't affect most systems, since most systems
have better functions available.

15 years agoUpdated the x86 assembler code:
Lasse Collin [Mon, 2 Feb 2009 19:19:01 +0000 (21:19 +0200)]
Updated the x86 assembler code:
  - Use call/ret pair to get instruction pointer for PIC.
  - Use PIC only if PIC or __PIC__ is #defined.
  - The code should work on MinGW and Darwin in addition
    to GNU/Linux and Solaris.

15 years agoModify LZMA_API macro so that it works on Windows with
Lasse Collin [Mon, 2 Feb 2009 18:14:03 +0000 (20:14 +0200)]
Modify LZMA_API macro so that it works on Windows with
other compilers than MinGW. This may hurt readability
of the API headers slightly, but I don't know any
better way to do this.

15 years agoFix a bug in lzma_block_buffer_decode(), although this
Lasse Collin [Sun, 1 Feb 2009 20:40:35 +0000 (22:40 +0200)]
Fix a bug in lzma_block_buffer_decode(), although this
function should be rewritten anyway.

15 years agoAdded initial version of raw buffer-to-buffer coding
Lasse Collin [Sun, 1 Feb 2009 20:39:07 +0000 (22:39 +0200)]
Added initial version of raw buffer-to-buffer coding
functions, and cleaned up filter.h API header a little.
May be very buggy, not tested yet.

15 years agoFix missing newlines in xzdec.c.
Lasse Collin [Sat, 31 Jan 2009 22:11:20 +0000 (00:11 +0200)]
Fix missing newlines in xzdec.c.

15 years agoUse __cdecl also for function pointers in liblzma API when
Lasse Collin [Sat, 31 Jan 2009 22:10:07 +0000 (00:10 +0200)]
Use __cdecl also for function pointers in liblzma API when
on Windows.

15 years agoAdd LZMA_API to liblzma API headers. It's useful at least
Lasse Collin [Sat, 31 Jan 2009 09:01:48 +0000 (11:01 +0200)]
Add LZMA_API to liblzma API headers. It's useful at least
on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h
has to be #included separately where needed.

15 years agoUse _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.
Lasse Collin [Sat, 31 Jan 2009 08:13:09 +0000 (10:13 +0200)]
Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.

15 years agoFix two lines in lzma.h on which the # wasn't at the
Lasse Collin [Sat, 31 Jan 2009 08:02:52 +0000 (10:02 +0200)]
Fix two lines in lzma.h on which the # wasn't at the
beginning of the line.

15 years agoAdd support for using liblzma headers in MSVC, which has no
Lasse Collin [Sat, 31 Jan 2009 07:55:05 +0000 (09:55 +0200)]
Add support for using liblzma headers in MSVC, which has no
stdint.h or inttypes.h.

15 years agoFix # -> ## in a macro in lzma.h.
Lasse Collin [Sat, 31 Jan 2009 06:49:54 +0000 (08:49 +0200)]
Fix # -> ## in a macro in lzma.h.

15 years agoUpdated README.
Lasse Collin [Fri, 30 Jan 2009 16:50:16 +0000 (18:50 +0200)]
Updated README.

15 years agoRemove dangling crc64_init.c.
Lasse Collin [Thu, 29 Jan 2009 22:29:58 +0000 (00:29 +0200)]
Remove dangling crc64_init.c.

15 years agoThe .xz file format specification version 1.0.0 is now
Lasse Collin [Wed, 28 Jan 2009 15:16:38 +0000 (17:16 +0200)]
The .xz file format specification version 1.0.0 is now
officially released. The format has been technically the same
since 2008-11-19, but now that it is frozen, people can start
using it without a fear that the format will break.

15 years agoUpdated THANKS.
Lasse Collin [Wed, 28 Jan 2009 06:45:59 +0000 (08:45 +0200)]
Updated THANKS.

15 years agoFix uninitialized variables in alone_decoder.c. This bug was
Lasse Collin [Wed, 28 Jan 2009 06:43:26 +0000 (08:43 +0200)]
Fix uninitialized variables in alone_decoder.c. This bug was
triggered by the previous commit, since these variables were
not used by anything before support for a preset dictionary.

15 years agoAdded initial support for preset dictionary for raw LZMA1
Lasse Collin [Tue, 27 Jan 2009 16:36:05 +0000 (18:36 +0200)]
Added initial support for preset dictionary for raw LZMA1
and LZMA2. It is not supported by the .xz format or the xz
command line tool yet.

15 years agoRegenerate the CRC tables without trailing blanks.
Lasse Collin [Mon, 26 Jan 2009 18:09:17 +0000 (20:09 +0200)]
Regenerate the CRC tables without trailing blanks.

15 years agoremove trailing blanks from all but .xz files
Jim Meyering [Mon, 19 Jan 2009 20:37:16 +0000 (21:37 +0100)]
remove trailing blanks from all but .xz files

15 years agoAdd lzma_block_buffer_decode().
Lasse Collin [Mon, 26 Jan 2009 12:34:10 +0000 (14:34 +0200)]
Add lzma_block_buffer_decode().

15 years agoAdd more sanity checks to lzma_stream_buffer_decode().
Lasse Collin [Mon, 26 Jan 2009 12:33:28 +0000 (14:33 +0200)]
Add more sanity checks to lzma_stream_buffer_decode().

15 years agoAvoid hardcoded constant in easy.c.
Lasse Collin [Mon, 26 Jan 2009 12:33:13 +0000 (14:33 +0200)]
Avoid hardcoded constant in easy.c.

15 years agoTiny bit better sanity check in block_util.c
Lasse Collin [Mon, 26 Jan 2009 11:06:49 +0000 (13:06 +0200)]
Tiny bit better sanity check in block_util.c

15 years agoFix a dumb bug in Block decoder, which made it return
Lasse Collin [Sat, 24 Jan 2009 23:35:56 +0000 (01:35 +0200)]
Fix a dumb bug in Block decoder, which made it return
LZMA_DATA_ERROR with valid data. The bug was added in
e114502b2bc371e4a45449832cb69be036360722.

15 years agoAdded lzma_stream_buffer_decode() and made minor cleanups.
Lasse Collin [Fri, 23 Jan 2009 20:27:50 +0000 (22:27 +0200)]
Added lzma_stream_buffer_decode() and made minor cleanups.

15 years agoFix a comment.
Lasse Collin [Thu, 22 Jan 2009 10:53:33 +0000 (12:53 +0200)]
Fix a comment.

15 years agoAdd some single-call buffer-to-buffer coding functions.
Lasse Collin [Tue, 20 Jan 2009 14:37:27 +0000 (16:37 +0200)]
Add some single-call buffer-to-buffer coding functions.

15 years agoBlock encoder cleanups
Lasse Collin [Tue, 20 Jan 2009 11:45:41 +0000 (13:45 +0200)]
Block encoder cleanups

15 years agoUse LZMA_PROG_ERROR in lzma_code() as documented in base.h.
Lasse Collin [Tue, 20 Jan 2009 08:35:15 +0000 (10:35 +0200)]
Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.

15 years agoFix handling of non-fatal errors in lzma_code().
Lasse Collin [Mon, 19 Jan 2009 20:53:18 +0000 (22:53 +0200)]
Fix handling of non-fatal errors in lzma_code().

15 years agoMove some LZMA2 constants to lzma2_encoder.h so that they
Lasse Collin [Mon, 19 Jan 2009 12:00:33 +0000 (14:00 +0200)]
Move some LZMA2 constants to lzma2_encoder.h so that they
can be used outside lzma2_encoder.c.

15 years agoRemove dead code.
Lasse Collin [Mon, 19 Jan 2009 11:52:36 +0000 (13:52 +0200)]
Remove dead code.

15 years agoBeta was supposed to be API stable but I had forgot to rename
Lasse Collin [Sat, 17 Jan 2009 12:24:25 +0000 (14:24 +0200)]
Beta was supposed to be API stable but I had forgot to rename
lzma_memlimit_encoder and lzma_memlimit_decoder to
lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-(
Now it is fixed. Hopefully it doesn't cause too much trouble
to those who already thought API is stable.

15 years agoUpdated THANKS.
Lasse Collin [Thu, 15 Jan 2009 12:29:22 +0000 (14:29 +0200)]
Updated THANKS.

15 years agoFixed a bug in 7z2lzma.bash to make it work with .7z files
Lasse Collin [Thu, 15 Jan 2009 12:27:32 +0000 (14:27 +0200)]
Fixed a bug in 7z2lzma.bash to make it work with .7z files
that use something else than 2^n as the dictionary size.
Thanks to Dan Shechter for the bug report.

15 years agoUse pthread_sigmask() instead of sigprocmask() when pthreads
Lasse Collin [Wed, 7 Jan 2009 16:41:15 +0000 (18:41 +0200)]
Use pthread_sigmask() instead of sigprocmask() when pthreads
are enabled.

15 years agoBumped version to 4.999.8beta right after the release
Lasse Collin [Wed, 31 Dec 2008 18:01:00 +0000 (20:01 +0200)]
Bumped version to 4.999.8beta right after the release
of 4.999.7beta.

15 years agoDisable Subblock filter from test_compress.sh since it is
Lasse Collin [Wed, 31 Dec 2008 16:59:02 +0000 (18:59 +0200)]
Disable Subblock filter from test_compress.sh since it is
disabled by default in configure.ac.

15 years agoDisable both Subblock encoder and decoder my default,
Lasse Collin [Wed, 31 Dec 2008 15:44:20 +0000 (17:44 +0200)]
Disable both Subblock encoder and decoder my default,
since they are not finished and may have security issues too.

15 years agoUpdate some files in debug directory.
Lasse Collin [Wed, 31 Dec 2008 15:42:50 +0000 (17:42 +0200)]
Update some files in debug directory.

15 years agoPrepare for 4.999.7beta release.
Lasse Collin [Wed, 31 Dec 2008 15:41:46 +0000 (17:41 +0200)]
Prepare for 4.999.7beta release.

15 years agoCleaned up some comments in the API headers.
Lasse Collin [Wed, 31 Dec 2008 15:15:03 +0000 (17:15 +0200)]
Cleaned up some comments in the API headers.

15 years agoRenamed lzma_options_simple to lzma_options_bcj in the API.
Lasse Collin [Wed, 31 Dec 2008 14:29:39 +0000 (16:29 +0200)]
Renamed lzma_options_simple to lzma_options_bcj in the API.
The internal implementation is still using the name "simple".
It may need some cleanups, so I look at it later.

15 years agoFixed missing quoting in configure.ac.
Lasse Collin [Tue, 30 Dec 2008 22:57:27 +0000 (00:57 +0200)]
Fixed missing quoting in configure.ac.

15 years agoUpdated src/liblzma/Makefile.am to use liblzma.pc.in, which
Lasse Collin [Tue, 30 Dec 2008 22:48:23 +0000 (00:48 +0200)]
Updated src/liblzma/Makefile.am to use liblzma.pc.in, which
should have been in the previous commit.

15 years agoRemove lzma_init() and other init functions from liblzma API.
Lasse Collin [Tue, 30 Dec 2008 22:30:49 +0000 (00:30 +0200)]
Remove lzma_init() and other init functions from liblzma API.
Half of developers were already forgetting to use these
functions, which could have caused total breakage in some future
liblzma version or even now if --enable-small was used. Now
liblzma uses pthread_once() to do the initializations unless
it has been built with --disable-threads which make these
initializations thread-unsafe.

When --enable-small isn't used, liblzma currently gets needlessly
linked against libpthread (on systems that have it). While it is
stupid for now, liblzma will need threads in future anyway, so
this stupidity will be temporary only.

When --enable-small is used, different code CRC32 and CRC64 is
now used than without --enable-small. This made the resulting
binary slightly smaller, but the main reason was to clean it up
and to handle the lack of lzma_init_check().

The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not
sure if it works correctly and portably for static linking
(Libs.private includes -pthread or other operating system
specific flags). Hopefully someone complains if it is bad.

lzma_rc_prices[] is now included as a precomputed array even
with --enable-small. It's just 128 bytes now that it uses uint8_t
instead of uint32_t. Smaller array seemed to be at least as fast
as the more bloated uint32_t array on x86; hopefully it's not bad
on other architectures.

15 years agoUse 28 MiB as memory usage limit for encoding in test_compress.sh.
Lasse Collin [Sat, 27 Dec 2008 17:40:31 +0000 (19:40 +0200)]
Use 28 MiB as memory usage limit for encoding in test_compress.sh.

15 years agoRevert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680
Lasse Collin [Sat, 27 Dec 2008 17:32:20 +0000 (19:32 +0200)]
Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680
that was related to LZMA_MODE_FAST. The original code is slightly
faster although it compresses slightly worse. But since it is fast
mode, it is better to select the faster version.

15 years agoSome xz command line tool improvements.
Lasse Collin [Sat, 27 Dec 2008 17:30:19 +0000 (19:30 +0200)]
Some xz command line tool improvements.

15 years agoBunch of liblzma tweaks, including some API changes.
Lasse Collin [Sat, 27 Dec 2008 17:27:49 +0000 (19:27 +0200)]
Bunch of liblzma tweaks, including some API changes.
The API and ABI should now be very close to stable,
although the code behind it isn't yet.

15 years agoUpdated Makefile.am that was missing from the previous commit.
Lasse Collin [Thu, 18 Dec 2008 11:42:52 +0000 (13:42 +0200)]
Updated Makefile.am that was missing from the previous commit.

15 years agoRemove the alignment functions for now. Maybe they will
Lasse Collin [Wed, 17 Dec 2008 19:49:53 +0000 (21:49 +0200)]
Remove the alignment functions for now. Maybe they will
be added back in some form later, but the current version
wasn't modular, so it would need fixing anyway.

15 years agoxz message handling improvements
Lasse Collin [Wed, 17 Dec 2008 18:11:23 +0000 (20:11 +0200)]
xz message handling improvements

15 years agoFix a dumb bug in .lzma decoder which was introduced in
Lasse Collin [Mon, 15 Dec 2008 21:26:43 +0000 (23:26 +0200)]
Fix a dumb bug in .lzma decoder which was introduced in
the previous commit. (Probably the previous commit has
other bugs too, it wasn't tested.)

15 years agoBunch of liblzma API cleanups and fixes.
Lasse Collin [Mon, 15 Dec 2008 17:39:13 +0000 (19:39 +0200)]
Bunch of liblzma API cleanups and fixes.

15 years agoThe LZMA2 decoder fix introduced a bug to LZ decoder,
Lasse Collin [Mon, 15 Dec 2008 12:26:52 +0000 (14:26 +0200)]
The LZMA2 decoder fix introduced a bug to LZ decoder,
which made LZ decoder return too early after dictionary
reset. This fixes it.

15 years agoAdded two new test files.
Lasse Collin [Mon, 15 Dec 2008 09:20:22 +0000 (11:20 +0200)]
Added two new test files.

15 years agoFix data corruption in LZMA2 decoder.
Lasse Collin [Mon, 15 Dec 2008 08:01:59 +0000 (10:01 +0200)]
Fix data corruption in LZMA2 decoder.

15 years agoName the package "xz" in configure.ac.
Lasse Collin [Fri, 12 Dec 2008 22:54:11 +0000 (00:54 +0200)]
Name the package "xz" in configure.ac.

15 years agoSome adjustments to GCC warning flags. The important change
Lasse Collin [Fri, 12 Dec 2008 20:43:21 +0000 (22:43 +0200)]
Some adjustments to GCC warning flags. The important change
is the removal of -pedantic. It messes up -Werror (which I
really want to keep so that I don't miss any warnings) with
printf format strings that are in POSIX but not in C99.

15 years agoRemove obsolete comment.
Lasse Collin [Tue, 9 Dec 2008 23:31:00 +0000 (01:31 +0200)]
Remove obsolete comment.

15 years agoUse "decompression" consistently in --long-help.
Lasse Collin [Tue, 9 Dec 2008 23:27:15 +0000 (01:27 +0200)]
Use "decompression" consistently in --long-help.

15 years agoAdded preset=NUM to --lzma1 and --lzma2. This makes it easy
Lasse Collin [Tue, 9 Dec 2008 23:23:58 +0000 (01:23 +0200)]
Added preset=NUM to --lzma1 and --lzma2. This makes it easy
to take a preset as a template and modify it a little.

15 years agoPut the file format specification into the public domain.
Lasse Collin [Tue, 9 Dec 2008 15:43:31 +0000 (17:43 +0200)]
Put the file format specification into the public domain.
Same will be done to the actual code later.

15 years agoMake the memusage functions of LZMA1 and LZMA2 encoders
Lasse Collin [Tue, 9 Dec 2008 15:41:49 +0000 (17:41 +0200)]
Make the memusage functions of LZMA1 and LZMA2 encoders
to validate the filter options. Add missing validation
to LZMA2 encoder when options are changed in the middle
of encoding.

15 years agoUpdated THANKS.
Lasse Collin [Tue, 9 Dec 2008 08:36:24 +0000 (10:36 +0200)]
Updated THANKS.

15 years agoIn command line tool, take advantage of memusage calculation's
Lasse Collin [Mon, 1 Dec 2008 21:04:12 +0000 (23:04 +0200)]
In command line tool, take advantage of memusage calculation's
ability to also validate the filter chain and options (not
implemented yet for all filters).

15 years agoValidate the filter chain before checking filter-specific
Lasse Collin [Mon, 1 Dec 2008 20:59:28 +0000 (22:59 +0200)]
Validate the filter chain before checking filter-specific
memory usage.

15 years agoMake the memusage functions of LZMA1 and LZMA2 decoders
Lasse Collin [Mon, 1 Dec 2008 20:58:22 +0000 (22:58 +0200)]
Make the memusage functions of LZMA1 and LZMA2 decoders
to validate the filter options.

15 years agoAdded the changes for Delta filter that should have been
Lasse Collin [Mon, 1 Dec 2008 20:55:18 +0000 (22:55 +0200)]
Added the changes for Delta filter that should have been
part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.

15 years agoLZMA2 decoder cleanups. Make it require new LZMA properties
Lasse Collin [Mon, 1 Dec 2008 20:50:28 +0000 (22:50 +0200)]
LZMA2 decoder cleanups. Make it require new LZMA properties
also in the first LZMA chunk after a dictionary reset in
uncompressed chunk.

15 years agoAdded lzma_delta_coder_memusage() which also validates
Lasse Collin [Mon, 1 Dec 2008 14:30:11 +0000 (16:30 +0200)]
Added lzma_delta_coder_memusage() which also validates
the options.

15 years agoAutomake includes the m4 directory, so don't add it in
Lasse Collin [Sat, 29 Nov 2008 08:03:49 +0000 (10:03 +0200)]
Automake includes the m4 directory, so don't add it in
Makefile.am separately.

Updated THANKS.

15 years agoTested using COLUMNS environment variable to avoid broken
Lasse Collin [Fri, 28 Nov 2008 10:00:48 +0000 (12:00 +0200)]
Tested using COLUMNS environment variable to avoid broken
progress indicator but since COLUMNS isn't usually available,
the code was left commented out.

15 years agoCleanups to message.c.
Lasse Collin [Thu, 27 Nov 2008 17:28:59 +0000 (19:28 +0200)]
Cleanups to message.c.

15 years agoRemove the nowadays unneeded memory limitting malloc() wrapper.
Lasse Collin [Tue, 25 Nov 2008 00:37:47 +0000 (02:37 +0200)]
Remove the nowadays unneeded memory limitting malloc() wrapper.

15 years agoVLI encoder and decoder cleanups. Made encoder return
Lasse Collin [Sun, 23 Nov 2008 13:09:03 +0000 (15:09 +0200)]
VLI encoder and decoder cleanups. Made encoder return
LZMA_PROG_ERROR in single-call mode if there's no output
space.

15 years agoTypo fix
Lasse Collin [Sat, 22 Nov 2008 15:44:33 +0000 (17:44 +0200)]
Typo fix

15 years agoSupport NetBSD's errno for O_NOFOLLOW.
Lasse Collin [Thu, 20 Nov 2008 20:59:10 +0000 (22:59 +0200)]
Support NetBSD's errno for O_NOFOLLOW.

15 years agoBuild xzdec and lzmadec from xzdec.c. xzdec supports only .xz
Lasse Collin [Thu, 20 Nov 2008 16:05:52 +0000 (18:05 +0200)]
Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz
files and lzmadec only .lzma files.

15 years agoMinor cleanups to xzdec.
Lasse Collin [Thu, 20 Nov 2008 09:01:29 +0000 (11:01 +0200)]
Minor cleanups to xzdec.

15 years agoAdded missing check for uint16_t.
Lasse Collin [Wed, 19 Nov 2008 21:55:22 +0000 (23:55 +0200)]
Added missing check for uint16_t.

15 years agoRenamed lzma to xz and lzmadec to xzdec. We create symlinks
Lasse Collin [Wed, 19 Nov 2008 21:52:24 +0000 (23:52 +0200)]
Renamed lzma to xz and lzmadec to xzdec. We create symlinks
lzma, unlzma, and lzcat in "make install" for backwards
compatibility with LZMA Utils 4.32.x; I'm not sure if this
should be the default though.

15 years agoOh well, big messy commit again. Some highlights:
Lasse Collin [Wed, 19 Nov 2008 18:46:52 +0000 (20:46 +0200)]
Oh well, big messy commit again. Some highlights:
  - Updated to the latest, probably final file format version.
  - Command line tool reworked to not use threads anymore.
    Threading will probably go into liblzma anyway.
  - Memory usage limit is now about 30 % for uncompression
    and about 90 % for compression.
  - Progress indicator with --verbose
  - Simplified --help and full --long-help
  - Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
  - Some bug fixes

16 years agoFixed the test that should have been fixed as part
Lasse Collin [Thu, 9 Oct 2008 08:12:29 +0000 (11:12 +0300)]
Fixed the test that should have been fixed as part
of 1e8e4fd1f3e50129b4541406ad765d2aa1233943.

16 years agoFixed some help messages.
Lasse Collin [Tue, 7 Oct 2008 13:42:18 +0000 (16:42 +0300)]
Fixed some help messages.

16 years agoMade the preset numbering more logical in liblzma API.
Lasse Collin [Tue, 7 Oct 2008 06:40:31 +0000 (09:40 +0300)]
Made the preset numbering more logical in liblzma API.