?PNG
IHDR ? f ??C1 sRGB ?? gAMA ?a pHYs ? ??od GIDATx^LeY?a?("Bh?_????q5k?*:t0A-o??]VkJM??f?8\k2ll1]q????T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/user1137782/www/china1.by/classwithtostring.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24
Author: Lasse Collin
Date: 2009-10-04 22:57:12 +0300
Use a tuklib module for integer handling.
This replaces bswap.h and integer.h.
The tuklib module uses on GNU,
on *BSDs and
on Solaris, which may contain optimized code
like inline assembly.
configure.ac | 54 +-----
m4/tuklib_integer.m4 | 74 ++++++
src/common/bswap.h | 52 -----
src/common/integer.h | 170 --------------
src/common/tuklib_config.h | 8 +-
src/common/tuklib_integer.h | 350 +++++++++++++++++++++++++++++
src/liblzma/check/check.c | 4 +-
src/liblzma/check/crc32_fast.c | 4 +-
src/liblzma/check/crc32_tablegen.c | 8 +-
src/liblzma/check/crc64_fast.c | 4 +-
src/liblzma/check/crc64_tablegen.c | 8 +-
src/liblzma/check/crc_macros.h | 2 -
src/liblzma/check/sha256.c | 18 +--
src/liblzma/common/alone_encoder.c | 2 +-
src/liblzma/common/block_header_decoder.c | 2 +-
src/liblzma/common/block_header_encoder.c | 2 +-
src/liblzma/common/common.h | 2 +-
src/liblzma/common/stream_flags_decoder.c | 6 +-
src/liblzma/common/stream_flags_encoder.c | 6 +-
src/liblzma/lz/lz_encoder_hash.h | 2 +-
src/liblzma/lzma/lzma_decoder.c | 2 +-
src/liblzma/lzma/lzma_encoder.c | 2 +-
src/liblzma/lzma/lzma_encoder_private.h | 2 +-
src/liblzma/simple/simple_decoder.c | 2 +-
src/liblzma/simple/simple_encoder.c | 2 +-
tests/test_block_header.c | 4 +-
tests/test_stream_flags.c | 6 +-
tests/tests.h | 2 +-
28 files changed, 467 insertions(+), 333 deletions(-)
commit 29fd321033276261b87da7be5223db33d879a4c7
Author: Lasse Collin
Date: 2009-10-02 14:35:56 +0300
Add support for --enable-assume-ram=SIZE.
INSTALL | 16 ++++++++++++++++
configure.ac | 24 ++++++++++++++++++++++++
src/xz/hardware.c | 7 +++----
src/xzdec/xzdec.c | 5 +++--
4 files changed, 46 insertions(+), 6 deletions(-)
commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25
Author: Lasse Collin
Date: 2009-10-02 11:28:17 +0300
Use unaligned access (if possible) on both endiannesses
in lz_encoder_hash.h.
src/liblzma/lz/lz_encoder_hash.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit c5f68b5cc79085a87f950fea53843e27f328068e
Author: Lasse Collin
Date: 2009-10-02 11:03:26 +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. ;-)
src/liblzma/check/crc32_tablegen.c | 30 ++++++++++++++
src/liblzma/lz/Makefile.inc | 1 +
src/liblzma/lz/lz_encoder.c | 7 +++-
src/liblzma/lz/lz_encoder_hash.h | 35 +++++++++++------
src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++
src/liblzma/lz/lz_encoder_mf.c | 1 -
6 files changed, 128 insertions(+), 14 deletions(-)
commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a
Author: Mike Frysinger
Date: 2009-09-26 12:51:50 -0400
add lzmainfo to gitignore
Signed-off-by: Mike Frysinger
.gitignore | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 188a1dcd0cc7867810ed3a55c598d0680922c63b
Author: Lasse Collin
Date: 2009-09-27 11:53:36 +0300
Updated THANKS.
THANKS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit db9119b9181b307e7ac5d2bae82444d04b902b59
Author: Lasse Collin
Date: 2009-09-27 11:48:54 +0300
Work around a bug in Interix header files.
Thanks to Markus Duft for the patch.
src/common/sysdefs.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
commit b3d105e69786a45963176fd2193abe75e05ba738
Author: Lasse Collin
Date: 2009-09-24 17:50:17 +0300
Fix an error in OpenVMS-specific code.
Thanks to Jouk Jansen.
src/xz/file_io.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 5e000ff00d4d01e559397b49eb648ad3f159d496
Author: Lasse Collin
Date: 2009-09-22 18:59:56 +0300
Added OpenVMS-specific information to INSTALL.
INSTALL | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4
Author: Lasse Collin
Date: 2009-09-22 14:03:02 +0300
Better fixes for OpenVMS support.
Thanks to Jouk Jansen.
src/xz/file_io.c | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
commit 4c3630ec4179fe9265407a35c4db1374ffc82372
Author: Lasse Collin
Date: 2009-09-22 13:40:19 +0300
Avoid non-standard preprocessor construct.
Thanks to Jouk Jansen.
src/common/tuklib_common.h | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9
Author: Lasse Collin
Date: 2009-09-21 19:50:09 +0300
Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
Thanks to Charles Wilson.
src/common/tuklib_common.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit e599bba4216c0edb8cc8f40adad3a6dba88685f4
Author: Lasse Collin
Date: 2009-09-19 09:47:30 +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.
THANKS | 1 +
configure.ac | 12 +--
m4/lc_cpucores.m4 | 57 ---------------
m4/lc_physmem.m4 | 84 ----------------------
m4/tuklib_common.m4 | 22 ++++++
m4/tuklib_cpucores.m4 | 72 +++++++++++++++++++
m4/tuklib_physmem.m4 | 119 +++++++++++++++++++++++++++++++
m4/tuklib_progname.m4 | 25 +++++++
src/common/cpucores.h | 51 --------------
src/common/open_stdxxx.h | 49 -------------
src/common/physmem.h | 144 --------------------------------------
src/common/sysdefs.h | 4 -
src/common/tuklib_common.h | 67 ++++++++++++++++++
src/common/tuklib_config.h | 1 +
src/common/tuklib_cpucores.c | 46 ++++++++++++
src/common/tuklib_cpucores.h | 23 ++++++
src/common/tuklib_exit.c | 57 +++++++++++++++
src/common/tuklib_exit.h | 25 +++++++
src/common/tuklib_gettext.h | 44 ++++++++++++
src/common/tuklib_open_stdxxx.c | 51 ++++++++++++++
src/common/tuklib_open_stdxxx.h | 23 ++++++
src/common/tuklib_physmem.c | 146 +++++++++++++++++++++++++++++++++++++++
src/common/tuklib_physmem.h | 28 ++++++++
src/common/tuklib_progname.c | 50 +++++++++++++
src/common/tuklib_progname.h | 32 +++++++++
src/lzmainfo/Makefile.am | 5 +-
src/lzmainfo/lzmainfo.c | 65 +++++------------
src/xz/Makefile.am | 7 ++-
src/xz/args.c | 8 +--
src/xz/file_io.c | 43 ++++++------
src/xz/hardware.c | 8 +-
src/xz/main.c | 100 ++++++---------------------
src/xz/main.h | 7 --
src/xz/message.c | 30 ++++----
src/xz/message.h | 8 +-
src/xz/private.h | 11 +--
src/xz/signals.c | 2 +
src/xz/signals.h | 17 ++---
src/xz/suffix.c | 2 +-
src/xzdec/Makefile.am | 13 +++-
src/xzdec/xzdec.c | 55 ++++-----------
41 files changed, 974 insertions(+), 640 deletions(-)
commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef
Author: Lasse Collin
Date: 2009-09-15 21:07:23 +0300
Fix incorrect use of "restrict".
src/liblzma/api/lzma/vli.h | 4 ++--
src/liblzma/common/vli_decoder.c | 2 +-
src/liblzma/common/vli_encoder.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c
Author: Lasse Collin
Date: 2009-09-12 14:09:17 +0300
Fix GCC version check for nothrow attribute.
src/liblzma/api/lzma.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224
Author: Lasse Collin
Date: 2009-09-12 14:08:15 +0300
Updated THANKS.
THANKS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac
Author: Lasse Collin
Date: 2009-09-12 14:07:36 +0300
A few grammar fixes.
Thanks to Christian Weisgerber for pointing out some of these.
src/liblzma/api/lzma.h | 4 ++--
src/liblzma/api/lzma/vli.h | 4 ++--
src/liblzma/common/block_header_encoder.c | 2 +-
src/liblzma/common/filter_common.c | 2 +-
src/liblzma/lz/lz_encoder.h | 10 +++++-----
src/xz/message.c | 22 +++++++++++-----------
src/xzdec/xzdec.c | 2 +-
7 files changed, 23 insertions(+), 23 deletions(-)
commit 8905a33daadcd2d6557c83c81c490b827d566c94
Author: Lasse Collin
Date: 2009-09-11 17:08:15 +0300
Updated THANKS.
THANKS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9
Author: Lasse Collin
Date: 2009-09-11 17:06:32 +0300
Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.
dos/config.h | 3 +++
windows/config.h | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
commit 221be761f467da76875247bc02d7a1716682075d
Author: Lasse Collin
Date: 2009-09-11 10:24:09 +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.
configure.ac | 9 +++++++++
src/xz/Makefile.am | 4 ++--
2 files changed, 11 insertions(+), 2 deletions(-)
commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c
Author: Lasse Collin
Date: 2009-09-11 09:25:09 +0300
Fix a couple of warnings.
src/liblzma/common/stream_decoder.c | 2 +-
src/liblzma/lz/lz_encoder.c | 5 +----
src/liblzma/lzma/lzma_encoder.c | 2 +-
src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++----
tests/tests.h | 2 +-
5 files changed, 8 insertions(+), 11 deletions(-)
commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4
Author: Lasse Collin
Date: 2009-09-05 18:39:21 +0300
Add OS/2-specific code to physmem.h.
Also move DJGPP-specific code near the code meant
for other DOS-like systems.
src/common/physmem.h | 32 +++++++++++++++++++++-----------
1 files changed, 21 insertions(+), 11 deletions(-)
commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740
Author: Lasse Collin
Date: 2009-09-05 01:21:15 +0300
Updated THANKS.
THANKS | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071
Author: Lasse Collin
Date: 2009-09-05 01:20:29 +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.
src/common/cpucores.h | 2 +-
src/common/physmem.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32
Author: Lasse Collin
Date: 2009-09-02 09:43:51 +0300
Mention in INSTALL that --enable-small doesn't modify CFLAGS.
INSTALL | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc
Author: Lasse Collin
Date: 2009-09-01 20:40:01 +0300
Refactored option parsing.
src/xz/options.c | 70 +++++++++++++++++++++++++++---------------------------
1 files changed, 35 insertions(+), 35 deletions(-)
commit 25adaaa56e2e51a47a910a8d73452414619a2e53
Author: Lasse Collin
Date: 2009-09-01 20:23:30 +0300
Fix options parsing bug in xz.
xz used to reject "xz --lzma2=pb=2," while
"xz --lzma2=pb=2,," worked. Now both work.
src/xz/options.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
commit 5f6dddc6c911df02ba660564e78e6de80947c947
Author: Lasse Collin
Date: 2009-09-01 20:20:19 +0300
Updated TODO.
TODO | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 655457b9ada5ec7db398c5392e41290f3f332ea8
Author: Lasse Collin
Date: 2009-08-31 21:59:25 +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.
src/liblzma/check/crc32_x86.S | 7 ++-----
src/liblzma/check/crc64_x86.S | 7 ++-----
2 files changed, 4 insertions(+), 10 deletions(-)
commit 162189c3477953805a28f96d3a75cb9ab9417928
Author: Lasse Collin
Date: 2009-08-30 17:29:19 +0300
Updated THANKS.
THANKS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 2331f5f97af3e5897e23da45d9df3d664099c7f8
Author: Lasse Collin
Date: 2009-08-30 17:28:52 +0300
Add more OS/2 specific info to INSTALL.
INSTALL | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit 94c66b3297b3ad307eee93cf6b160e3c43997f11
Author: Lasse Collin
Date: 2009-08-29 14:43:52 +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.
src/xz/util.c | 36 +++++++++++++++++++++++++-----------
1 files changed, 25 insertions(+), 11 deletions(-)
commit 3432e9c6aab851da1227b63dce645d7f190c04d8
Author: Lasse Collin
Date: 2009-08-29 13:42:56 +0300
Updated THANKS.
THANKS | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 27414daadf5727e8ab942374b5ec1c8990122878
Author: Lasse Collin
Date: 2009-08-29 13:39:21 +0300
Fix sysctl() usage.
This fixes build on *BSDs and Darwin.
Thanks to Jukka Salmi for the patches.
Richard Koch reported the problem too.
m4/lc_cpucores.m4 | 2 +-
m4/lc_physmem.m4 | 2 +-
src/common/cpucores.h | 2 +-
src/common/physmem.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
Author: Lasse Collin
Date: 2009-08-29 13:35:23 +0300
Fix x86 assembler on GCC 3.
Thanks to Karl Berry.
src/liblzma/check/crc32_x86.S | 7 +++++--
src/liblzma/check/crc64_x86.S | 7 +++++--
2 files changed, 10 insertions(+), 4 deletions(-)
commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8
Author: Lasse Collin
Date: 2009-08-27 18:36:59 +0300
"make dist" fixes
Makefile.am | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
commit c8c184db1c95bf70f78256ec6237845a57f342af
Author: Lasse Collin
Date: 2009-08-27 17:08:33 +0300
Update xz man page date.
src/xz/xz.1 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 9756fce565e98b8fa5fe6ead296d84e7601ec254
Author: Lasse Collin
Date: 2009-08-27 17:00:22 +0300
Fix the debug directory.
6a2eb54092fc625d59921a607ff68cd1a90aa898 and
71f18e8a066a01dda0c8e5508b135ef104e43e4c required
some changes that weren't applied in debug.
debug/Makefile.am | 5 +++--
debug/full_flush.c | 1 +
debug/known_sizes.c | 1 +
debug/memusage.c | 1 +
debug/sync_flush.c | 1 +
5 files changed, 7 insertions(+), 2 deletions(-)
commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea
Author: Lasse Collin
Date: 2009-08-27 16:36:40 +0300
Add missing files to EXTRA_DIST.
Makefile.am | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d
Author: Lasse Collin
Date: 2009-08-27 16:21:22 +0300
Bumped version to 4.999.9beta.
src/liblzma/api/lzma/version.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4
Author: Lasse Collin
Date: 2009-08-27 16:17:47 +0300
Updated THANKS.
THANKS | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit c29e76c0f910fca0a90a50b78d337f6c32623e9d
Author: Lasse Collin
Date: 2009-08-27 16:12:52 +0300
.xz file format specification 1.0.4 (probably).
Thanks to Christian von Roques, Peter Lawler,
and Jim Meyering for the fixes.
doc/xz-file-format.txt | 26 +++++++++++++++-----------
1 files changed, 15 insertions(+), 11 deletions(-)
commit 696d7ee3953beaf4f0ed18e78917ccf300431966
Author: Lasse Collin
Date: 2009-08-27 15:43:54 +0300
Require GNU libtool 2.2.
configure.ac | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d
Author: Lasse Collin
Date: 2009-08-27 15:34:45 +0300
Add "dos" to EXTRA_DIST.
Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 35b29e4424ced5a3ababf132283e519080c7b298
Author: Lasse Collin
Date: 2009-08-27 15:23:27 +0300
Updated TODO.
TODO | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea
Author: Lasse Collin
Date: 2009-08-27 15:17:00 +0300
Some xz man page improvements.
src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++------------
1 files changed, 62 insertions(+), 16 deletions(-)
commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d
Author: Lasse Collin
Date: 2009-08-27 10:41:01 +0300
Removed doc/bugs.txt.
doc/bugs.txt | 46 ----------------------------------------------
1 files changed, 0 insertions(+), 46 deletions(-)
commit d88c4072b36d3a76f839185799fb1d91037a1b81
Author: Lasse Collin
Date: 2009-08-27 10:40:25 +0300
Updated README.
It now includes bug reporting instructions/tips.
README | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 55 insertions(+), 10 deletions(-)
commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e
Author: Lasse Collin
Date: 2009-08-27 10:21:18 +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.)
doc/faq.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 3e2ba8b58585743e59251e69ad2783eb08357079
Author: Lasse Collin
Date: 2009-08-27 10:13:46 +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.
src/liblzma/api/lzma.h | 20 +++++++
src/liblzma/api/lzma/base.h | 48 +++++++++--------
src/liblzma/api/lzma/block.h | 38 +++++++-------
src/liblzma/api/lzma/check.h | 22 ++++----
src/liblzma/api/lzma/container.h | 36 +++++++------
src/liblzma/api/lzma/filter.h | 81 ++++++++++++++++++-----------
src/liblzma/api/lzma/index.h | 97 +++++++++++++++++++++--------------
src/liblzma/api/lzma/index_hash.h | 14 +++--
src/liblzma/api/lzma/lzma.h | 87 ++++++++++++++++---------------
src/liblzma/api/lzma/stream_flags.h | 12 ++--
src/liblzma/api/lzma/version.h | 10 ++--
src/liblzma/api/lzma/vli.h | 7 ++-
12 files changed, 275 insertions(+), 197 deletions(-)
commit 8e8ebc17c535a1f8846718059b48417409c37050
Author: Lasse Collin
Date: 2009-08-18 00:30:09 +0300
Install faq.txt.
Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit b198e770a146e4a41f91a93f0b233713f2515848
Author: Lasse Collin
Date: 2009-08-18 00:26:48 +0300
Updated faq.txt.
Some questions worth answering were removed, because I
currently don't have good up to date answers to them.
doc/faq.txt | 239 ++++++++++++++++++-----------------------------------------
1 files changed, 73 insertions(+), 166 deletions(-)
commit fe111a25cd788d31b581996e4533910388a7f0a9
Author: Lasse Collin
Date: 2009-08-17 22:45:50 +0300
Some xz man changes.
src/xz/xz.1 | 88 +++++++++++++++++++++++++++++------------------------------
1 files changed, 43 insertions(+), 45 deletions(-)
commit 10242a21e9abda0c5c6a03501703cc40b8a699a5
Author: Lasse Collin
Date: 2009-08-16 22:15:42 +0300
Updated THANKS.
THANKS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d
Author: Lasse Collin
Date: 2009-08-16 22:15:13 +0300
Fix data corruption in LZ/LZMA2 encoder.
Thanks to Jonathan Stott for the bug report.
src/liblzma/lz/lz_encoder.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a
Author: Lasse Collin
Date: 2009-08-13 15:15:37 +0300
Updated INSTALL and PACKAGERS to match the changes
made in --enable-dynamic.
INSTALL | 20 ++++++++++++++++----
PACKAGERS | 11 ++++++-----
2 files changed, 22 insertions(+), 9 deletions(-)
commit 8238c4b2402f952c4e492e5b778aa272e57b6705
Author: Lasse Collin
Date: 2009-08-13 15:03:46 +0300
Link lzmainfo against shared liblzma by default.
src/lzmainfo/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c
Author: Lasse Collin
Date: 2009-08-13 15:00:21 +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.
configure.ac | 77 +++++++++++++++++++++++++++++++++++++++++++---------------
1 files changed, 57 insertions(+), 20 deletions(-)
commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61
Author: Lasse Collin
Date: 2009-08-13 12:56:47 +0300
Fix xz Makefile.am for the man page.
install-exec-hook -> install-data-hook
src/xz/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit e51b4e49e800bd84e6d589dca2964d3985e88139
Author: Lasse Collin
Date: 2009-08-13 12:55:45 +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.
configure.ac | 1 +
src/Makefile.am | 2 +-
src/lzmainfo/Makefile.am | 29 ++++++
src/lzmainfo/lzmainfo.1 | 55 +++++++++++
src/lzmainfo/lzmainfo.c | 242 ++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 328 insertions(+), 1 deletions(-)
commit a4165d0584376d948c213ec93c6065d24ff6a5e7
Author: Lasse Collin
Date: 2009-08-13 12:42:36 +0300
Sync some error messages from xz to xzdec.
Make xz error message translation usable outside
xz (at least in upcoming lzmainfo).
src/xz/main.c | 4 ++--
src/xzdec/xzdec.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
commit df636eb4e066b4e154ce8e66e82c87ba1db652a6
Author: Lasse Collin
Date: 2009-08-13 09:37:21 +0300
Add xz man page to manfiles in toplevel Makefile.am.
Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 180bdf58ea5bb07941e0a99b304d9aa832198748
Author: Lasse Collin
Date: 2009-08-13 09:37:01 +0300
Fix first line of xz man page.
src/xz/xz.1 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4
Author: Lasse Collin
Date: 2009-08-10 11:22:31 +0300
Added a rough version of the xz man page.
src/xz/Makefile.am | 15 +
src/xz/xz.1 | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 1221 insertions(+), 0 deletions(-)
commit e71903fc6101f1c039d702e335b08aad1e1b4100
Author: Jonathan Nieder
Date: 2009-08-09 13:41:20 -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.)
src/scripts/xzdiff.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c
Author: Jonathan Nieder
Date: 2009-08-09 13:22:12 -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.
src/scripts/xzless.in | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
commit a7f5d2fe4826ac68839d00059f05004fb81d5c69
Author: Lasse Collin
Date: 2009-08-09 20:57:46 +0300
GPLv2+ not GPLv2 for Doxyfile.in is probably OK.
Doxyfile.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit b735cde20cc14857136ae65a0e5d336ed7ddc862
Author: Lasse Collin
Date: 2009-08-02 00:27:29 +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.
Doxyfile.in | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 0fd157cc008446adfc8f91394f5503868025a642
Author: Lasse Collin
Date: 2009-08-02 00:11:37 +0300
Updated THANKS.
THANKS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f
Author: Lasse Collin
Date: 2009-08-02 00:10:22 +0300
Updated TODO.
TODO | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 669413bb2db954bbfde3c4542fddbbab53891eb4
Author: Lasse Collin
Date: 2009-07-30 12:25:55 +0300
Updated THANKS.
THANKS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit dbbd8fb870ae789d96497911006c869d37148c15
Author: Jonathan Nieder
Date: 2009-07-28 17:37:24 -0500
xzdiff: add missing ;; to case statement
src/scripts/xzdiff.in | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit adbad2d16cb5909f85d4a429011005613ea62ffe
Author: Lasse Collin
Date: 2009-07-24 13:15:06 +0300
Added history.txt to doc_DATA.
Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27
Author: Lasse Collin
Date: 2009-07-24 12:00:40 +0300
Updated .gitignore files.
.gitignore | 36 +++++++++++++++++++-----------------
po/.gitignore | 3 +++
2 files changed, 22 insertions(+), 17 deletions(-)
commit 2f34fb269265e3aba43a2a9c734020a45268826d
Author: Lasse Collin
Date: 2009-07-24 11:34:02 +0300
Minor improvements to COPYING.
COPYING | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
commit 0db1befcfbc120377df4b89923762f16d25f548a
Author: Lasse Collin
Date: 2009-07-23 19:10:55 +0300
Fix incorrect usage of getopt_long(), which caused
invalid memory access if XZ_OPT was defined.
src/xz/args.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48
Author: Lasse Collin
Date: 2009-07-20 15:43:32 +0300
Avoid internal error with --format=xz --lzma1.
src/xz/coder.c | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
commit 99f9e879a6a8bb54a65da99c12e0f390216c152a
Author: Lasse Collin
Date: 2009-07-19 13:14:20 +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.
AUTHORS | 35 ++++--
ChangeLog | 7 +-
INSTALL | 327 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
INSTALL.generic | 302 ++++++++++++++++++++++++++++++++++++++++++++++++++
Makefile.am | 11 ++
PACKAGERS | 278 ++++++++++++++++++++++++++++++++++++++++++++++
README | 263 +++++++++++++++++++-------------------------
THANKS | 17 ++--
8 files changed, 1070 insertions(+), 170 deletions(-)
commit ef4cf1851de89022cba5674784f1a8f6343c15b0
Author: Lasse Collin
Date: 2009-07-19 11:09:31 +0300
Added missing author notice to xzless.in.
src/scripts/xzless.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77
Author: Lasse Collin
Date: 2009-07-18 18:54:55 +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.
.gitignore | 1 +
Makefile.am | 1 -
configure.ac | 3 ++-
3 files changed, 3 insertions(+), 2 deletions(-)
commit 366e436090a7a87215e9bf0e3ddcd55f05b50587
Author: Lasse Collin
Date: 2009-07-18 14:34:08 +0300
Updated the totally outdated TODO file.
TODO | 117 +++++++++++++++--------------------------------------------------
1 files changed, 27 insertions(+), 90 deletions(-)
commit 64e498c89d8b9966e8663f43bf64d47c26c55c62
Author: Lasse Collin
Date: 2009-07-18 11:26:39 +0300
Added public domain notice into a few files.
src/common/common_w32res.rc | 9 ++++++++-
src/liblzma/liblzma.pc.in | 7 +++++++
src/liblzma/liblzma_w32res.rc | 7 +++++++
src/xz/xz_w32res.rc | 7 +++++++
src/xzdec/xzdec_w32res.rc | 7 +++++++
5 files changed, 36 insertions(+), 1 deletions(-)
commit a35755c5de808df027675688855d1b621a4fb428
Author: Lasse Collin
Date: 2009-07-14 21:10:36 +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.
src/xz/options.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
commit 98f3cac1ad31191c5160a7e48398bf85141e941c
Author: Lasse Collin
Date: 2009-07-14 18:04:31 +0300
Accept --lzma2=preset=6e where "e" is equivalent to --extreme
when no custom chain is in use.
src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 59 insertions(+), 21 deletions(-)
commit d873a09e956363e54bf58c577c8f7e487b6fb464
Author: Lasse Collin
Date: 2009-07-12 19:08:30 +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.
Makefile.am | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
commit cd69a5a6c16c289f6f8e2823b03c72289472270f
Author: Lasse Collin
Date: 2009-07-10 11:39:38 +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.
src/liblzma/simple/arm.c | 2 +-
src/liblzma/simple/armthumb.c | 2 +-
src/liblzma/simple/ia64.c | 2 +-
src/liblzma/simple/powerpc.c | 2 +-
src/liblzma/simple/simple_coder.c | 5 ++++-
src/liblzma/simple/simple_private.h | 3 ++-
src/liblzma/simple/sparc.c | 2 +-
src/liblzma/simple/x86.c | 2 +-
8 files changed, 12 insertions(+), 8 deletions(-)
commit eed9953732b801f6c97317fb3160445a8754180b
Author: Lasse Collin
Date: 2009-07-10 11:33:21 +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.
src/xz/args.c | 22 +++++++++++++---------
1 files changed, 13 insertions(+), 9 deletions(-)
commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658
Author: Lasse Collin
Date: 2009-07-08 23:06:46 +0300
Updated THANKS.
THANKS | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e
Author: Lasse Collin
Date: 2009-07-08 23:05:29 +0300
Portability improvement to version.sh.
version.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f
Author: Lasse Collin
Date: 2009-07-08 22:50:16 +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.
src/xzdec/xzdec.1 | 5 -----
src/xzdec/xzdec.c | 5 +----
2 files changed, 1 insertions(+), 9 deletions(-)
commit 5f16ef4abf220028a9ddbcb138217597a9455f62
Author: Lasse Collin
Date: 2009-07-06 10:36:04 +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.
src/liblzma/Makefile.am | 2 +-
src/scripts/Makefile.am | 28 ++++++++++++++--------------
src/xz/Makefile.am | 6 +++---
src/xzdec/Makefile.am | 6 +++---
4 files changed, 21 insertions(+), 21 deletions(-)
commit 96e4b257e101d72072d43e144897d92920270669
Author: Lasse Collin
Date: 2009-07-05 22:25:17 +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.
configure.ac | 14 ++++
m4/posix-shell.m4 | 63 +++++++++++++++
src/scripts/Makefile.am | 24 +++---
src/scripts/xzdiff | 67 ----------------
src/scripts/xzdiff.1 | 58 +++++++++-----
src/scripts/xzdiff.in | 172 +++++++++++++++++++++++++++++++++++++++++
src/scripts/xzgrep | 123 -----------------------------
src/scripts/xzgrep.1 | 85 ++++++++++++--------
src/scripts/xzgrep.in | 196 +++++++++++++++++++++++++++++++++++++++++++++++
src/scripts/xzless.1 | 66 ++++++++++++++++
src/scripts/xzless.in | 51 ++++++++++++
src/scripts/xzmore | 74 ------------------
src/scripts/xzmore.1 | 64 ++++++---------
src/scripts/xzmore.in | 78 +++++++++++++++++++
14 files changed, 766 insertions(+), 369 deletions(-)
commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100
Author: Lasse Collin
Date: 2009-07-05 19:26:53 +0300
Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.
src/liblzma/liblzma.pc.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 18c10c30d2833f394cd7bce0e6a821044b15832f
Author: Lasse Collin
Date: 2009-07-04 00:40:44 +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().
src/xz/coder.c | 213 ++++++++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 178 insertions(+), 35 deletions(-)
commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633
Author: Lasse Collin
Date: 2009-07-02 14:30:38 +0300
Define PACKAGE_HOMEPAGE in configure.ac and use it in
xz and xzdec.
Use also PACKAGE_NAME instead of hardcoding "XZ Utils".
configure.ac | 5 +++++
src/xz/message.c | 4 ++--
src/xzdec/xzdec.c | 4 ++--
3 files changed, 9 insertions(+), 4 deletions(-)
commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c
Author: Lasse Collin
Date: 2009-07-01 12:21:24 +0300
Avoid visibility related compiler warnings on Windows.
configure.ac | 20 +++++++++-----------
1 files changed, 9 insertions(+), 11 deletions(-)
commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e
Author: Lasse Collin
Date: 2009-06-30 17:14:39 +0300
Use static liblzma by default also for tests.
tests/Makefile.am | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
commit f42ee981668b545ab6d06c6072e262c29605273c
Author: Lasse Collin
Date: 2009-06-30 17:09:57 +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
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.
configure.ac | 34 ++++++++++-----
src/liblzma/Makefile.am | 79 +++++++++++++++++++++++++++-------
src/liblzma/check/Makefile.am | 47 ---------------------
src/liblzma/check/Makefile.inc | 51 ++++++++++++++++++++++
src/liblzma/common/Makefile.am | 78 ----------------------------------
src/liblzma/common/Makefile.inc | 67 +++++++++++++++++++++++++++++
src/liblzma/common/common.h | 16 ++++---
src/liblzma/delta/Makefile.am | 28 ------------
src/liblzma/delta/Makefile.inc | 23 ++++++++++
src/liblzma/lz/Makefile.am | 29 -------------
src/liblzma/lz/Makefile.inc | 21 +++++++++
src/liblzma/lzma/Makefile.am | 51 ----------------------
src/liblzma/lzma/Makefile.inc | 43 +++++++++++++++++++
src/liblzma/rangecoder/Makefile.am | 26 -----------
src/liblzma/rangecoder/Makefile.inc | 21 +++++++++
src/liblzma/simple/Makefile.am | 51 ----------------------
src/liblzma/simple/Makefile.inc | 47 +++++++++++++++++++++
src/liblzma/subblock/Makefile.am | 26 -----------
src/liblzma/subblock/Makefile.inc | 20 +++++++++
src/xz/Makefile.am | 11 ++++-
src/xzdec/Makefile.am | 20 ++++++++-
21 files changed, 417 insertions(+), 372 deletions(-)
commit 89dac1db6f168d7469cfbc4432651d4724c5c0de
Author: Lasse Collin
Date: 2009-06-29 22:19:51 +0300
Added a comment about "autoconf -fi" to autogen.sh.
autogen.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd
Author: Lasse Collin
Date: 2009-06-28 10:04:24 +0300
Add -no-undefined to get shared liblzma on Windows.
src/liblzma/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 73f560ee5fa064992b76688d9472baf139432540
Author: Lasse Collin
Date: 2009-06-27 22:57:15 +0300
Make physmem() work on Cygwin 1.5 and older.
src/common/physmem.h | 77 ++++++++++++++++++++++++++------------------------
1 files changed, 40 insertions(+), 37 deletions(-)
commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1
Author: Lasse Collin
Date: 2009-06-27 17:28:01 +0300
Moved the Windows resource files outside the windows directory
to prepare for building them with Autotools.
src/common/common_w32res.rc | 46 +++++++++++++++++++++++++++++++++++++++++
src/liblzma/liblzma_w32res.rc | 5 ++++
src/xz/xz_w32res.rc | 5 ++++
src/xzdec/lzmadec_w32res.rc | 5 ++++
src/xzdec/xzdec_w32res.rc | 5 ++++
windows/Makefile | 35 +++++++++++++++++--------------
windows/common.rc | 46 -----------------------------------------
windows/liblzma.rc | 5 ----
windows/lzmadec.rc | 5 ----
windows/xz.rc | 5 ----
windows/xzdec.rc | 5 ----
11 files changed, 85 insertions(+), 82 deletions(-)
commit 449c634674f35336a4815d398172e447659a135e
Author: Lasse Collin
Date: 2009-06-27 13:05:03 +0300
Added missing $(EXEEXT).
src/xz/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 792db79f27ad9ab1fb977e23be65c7761f545752
Author: Lasse Collin
Date: 2009-06-27 12:32:40 +0300
Create correct symlinks even when
--program-{prefix,suffix,transform} is passed to configure.
src/scripts/Makefile.am | 80 +++++++++++++++++++++++++++--------------------
src/xz/Makefile.am | 21 +++++++-----
src/xzdec/Makefile.am | 9 +++--
3 files changed, 65 insertions(+), 45 deletions(-)
commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b
Author: Lasse Collin
Date: 2009-06-27 10:02:24 +0300
Silence a compiler warning on DOS-like systems.
src/xz/file_io.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
commit ad12edc95254ede3f0cb8dec8645e8789e984c4f
Author: Lasse Collin
Date: 2009-06-27 09:35:15 +0300
Updated the filenames in POTFILES.in too.
po/POTFILES.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit b2b1f867532732fe9969131f8713bdd6b0731763
Author: Lasse Collin
Date: 2009-06-27 00:43:06 +0300
Hopefully improved portability of the assembler code in
Autotools based builds on Windows.
src/liblzma/check/crc32_x86.S | 8 +++++++-
src/liblzma/check/crc64_x86.S | 8 +++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
commit c393055947247627a09b6a6b8f20aa0c32f9be16
Author: Lasse Collin
Date: 2009-06-26 21:17:29 +0300
Updated THANKS (most of today's commits are based on
Charles Wilson's patches).
THANKS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit da0af22e4b4139b8a10710945f8b245b3a77c97d
Author: Lasse Collin
Date: 2009-06-26 21:00:35 +0300
Updated comments to match renamed files.
src/xz/coder.c | 2 +-
src/xz/coder.h | 2 +-
src/xz/file_io.c | 2 +-
src/xz/file_io.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2
Author: Lasse Collin
Date: 2009-06-26 20:49:54 +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.
dos/Makefile | 4 +-
src/xz/Makefile.am | 8 +-
src/xz/coder.c | 488 +++++++++++++++++++++++++++++++++++
src/xz/coder.h | 57 ++++
src/xz/file_io.c | 716 ++++++++++++++++++++++++++++++++++++++++++++++++++++
src/xz/file_io.h | 86 +++++++
src/xz/io.c | 716 ----------------------------------------------------
src/xz/io.h | 86 -------
src/xz/private.h | 4 +-
src/xz/process.c | 488 -----------------------------------
src/xz/process.h | 57 ----
windows/Makefile | 4 +-
12 files changed, 1357 insertions(+), 1357 deletions(-)
commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8
Author: Lasse Collin
Date: 2009-06-26 20:43:36 +0300
Rename process_file() to coder_run().
src/xz/main.c | 6 +++---
src/xz/process.c | 6 +++---
src/xz/process.h | 5 ++---
3 files changed, 8 insertions(+), 9 deletions(-)
commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc
Author: Lasse Collin
Date: 2009-06-26 20:36:45 +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.
dos/Makefile | 16 +++-------------
src/xz/message.c | 17 +++++++++--------
src/xz/process.c | 30 +++++++++++++++---------------
src/xz/util.c | 34 ++++++++++++++++++++++++++++++++++
src/xz/util.h | 20 ++++++++++++++++++++
windows/Makefile | 13 +++----------
6 files changed, 84 insertions(+), 46 deletions(-)
commit fe378d47074b16c52b00fe184d119287c68ce2e7
Author: Lasse Collin
Date: 2009-06-26 15:40:40 +0300
Added missing source files to windows/Makefile.
windows/Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 390a6408563067613b29de895cb40e4d0386d62c
Author: Lasse Collin
Date: 2009-06-26 15:37:53 +0300
Basic support for building with Cygwin and MinGW using
the Autotools based build system. It's not good yet, more
fixes will follow.
configure.ac | 7 +++++++
src/liblzma/api/lzma.h | 7 +++++--
src/liblzma/check/crc32_x86.S | 7 ++++---
src/liblzma/check/crc64_x86.S | 7 ++++---
src/liblzma/common/common.h | 2 +-
windows/Makefile | 16 +++++++---------
6 files changed, 28 insertions(+), 18 deletions(-)
commit 1c9360b7d1197457aaad2f8888b99f1149861579
Author: Lasse Collin
Date: 2009-06-26 14:47:31 +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.
debug/Makefile.am | 12 ++++++------
src/liblzma/check/Makefile.am | 4 ++--
src/liblzma/common/Makefile.am | 16 ++++++++--------
src/liblzma/delta/Makefile.am | 4 ++--
src/liblzma/lz/Makefile.am | 6 +++---
src/liblzma/lzma/Makefile.am | 8 ++++----
src/liblzma/rangecoder/Makefile.am | 4 ++--
src/liblzma/simple/Makefile.am | 4 ++--
src/liblzma/subblock/Makefile.am | 4 ++--
src/xz/Makefile.am | 21 +++++++++++----------
src/xzdec/Makefile.am | 19 ++++++++++---------
tests/Makefile.am | 12 +++++++-----
12 files changed, 59 insertions(+), 55 deletions(-)
commit d45615c555e250209ebb55aa3649abe790f1eeac
Author: Lasse Collin
Date: 2009-06-26 14:20:02 +0300
Allow to explicitly specify autotool versions in autogen.sh.
autogen.sh | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
commit eaf8367368a329afa48785380f9dca6b681f3397
Author: Lasse Collin
Date: 2009-06-26 14:18:32 +0300
Add version.sh to EXTRA_DIST.
Makefile.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit b317b218e2d383dd27a700094c0de4510540ea18
Author: Lasse Collin
Date: 2009-06-24 20:14:10 +0300
Support HW_PHYSMEM64
src/common/physmem.h | 30 +++++++++++++++++++-----------
1 files changed, 19 insertions(+), 11 deletions(-)
commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7
Author: Lasse Collin
Date: 2009-06-24 13:01:59 +0300
Cast a char argument to isspace() to unsigned char.
src/xz/args.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
commit 1735d31ea347210e914df038eeea4b2626e76e42
Author: Lasse Collin
Date: 2009-06-05 13:46:26 +0300
A few more spelling fixes. Released the .xz spec 1.0.3.
doc/xz-file-format.txt | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
commit 8ed156ce894966103e895aa08f2a9fb912f6fad5
Author: Lasse Collin
Date: 2009-06-04 23:42:12 +0300
Added xzdec man page.
src/xzdec/Makefile.am | 11 +++
src/xzdec/xzdec.1 | 173 +++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 184 insertions(+), 0 deletions(-)
commit f6df39afaa84f71439507178a49b2a5dda6e824c
Author: Lasse Collin
Date: 2009-06-04 23:26:47 +0300
Harmonized xzdec --memory with xz --memory and made
minor cleanups.
src/xzdec/xzdec.c | 74 ++++++++++++++++++++++++++++++++++++++---------------
1 files changed, 53 insertions(+), 21 deletions(-)
commit 1774f27c61ce294a56712ca2f4785f90a62441bc
Author: Lasse Collin
Date: 2009-06-04 22:59:55 +0300
Fix purporse -> purpose. Thanks to Andrew Dudman.
Released .xz spec 1.0.2 due to this fix too.
THANKS | 1 +
doc/xz-file-format.txt | 8 +++++---
src/liblzma/liblzma.pc.in | 2 +-
windows/Makefile | 2 +-
4 files changed, 8 insertions(+), 5 deletions(-)
commit cb613455642f48fb51059e22018615f64c59b70f
Author: Lasse Collin
Date: 2009-06-01 14:53:57 +0300
The .xz file format version 1.0.1
doc/xz-file-format.txt | 29 ++++++++++++++++++++++-------
1 files changed, 22 insertions(+), 7 deletions(-)
commit 083c23c680ff844846d177cfc58bb7a874e7e6b9
Author: Lasse Collin
Date: 2009-05-26 14:48: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.
src/liblzma/api/lzma/block.h | 17 ++++++++++++++
src/liblzma/common/block_buffer_encoder.c | 1 +
src/liblzma/common/block_decoder.c | 34 ++++++++++++----------------
src/liblzma/common/block_encoder.c | 21 +++++++----------
4 files changed, 42 insertions(+), 31 deletions(-)
commit b4f5c814090dc07d4350453576305e41eb9c998d
Author: Lasse Collin
Date: 2009-05-23 16:57:21 +0300
Remove undocumented alternative option names --bcj, --ppc,
and --itanium.
src/xz/args.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
commit b1edee2cdc7ef4411b1a21c07094ec763f071281
Author: Lasse Collin
Date: 2009-05-23 15:12:23 +0300
Add support for specifying the BCJ filter start offset
in the xz command line tool.
src/xz/args.c | 36 +++++++++++++++++++++---------------
src/xz/message.c | 14 ++++++++------
src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++
src/xz/options.h | 7 +++++++
4 files changed, 76 insertions(+), 21 deletions(-)
commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb
Author: Lasse Collin
Date: 2009-05-23 14:51:09 +0300
Updated THANKS.
THANKS | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit dcedb6998cefeca6597dd1219328a3abf5acf66d
Author: Lasse Collin
Date: 2009-05-22 16:40:50 +0300
Added support for --quiet and --no-warn to xzdec.
Cleaned up the --help message a little.
src/xzdec/xzdec.c | 76 ++++++++++++++++++++++++++++++++++-------------------
1 files changed, 49 insertions(+), 27 deletions(-)
commit 5f735dae80aa629853f4831d7b84ec1c614979eb
Author: Lasse Collin
Date: 2009-05-22 15:11:52 +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.
src/xzdec/xzdec.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
commit b60376249e0c586910c4121fab4f791820cc1289
Author: Lasse Collin
Date: 2009-05-22 14:43:00 +0300
Add --no-warn.
src/xz/args.c | 8 +++++++-
src/xz/main.c | 17 +++++++++++++++++
src/xz/main.h | 6 ++++++
src/xz/message.c | 4 ++++
4 files changed, 34 insertions(+), 1 deletions(-)
commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008
Author: Lasse Collin
Date: 2009-05-22 14:27:40 +0300
Fix a comment.
src/xz/main.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 4dd21d23f22569285ae706b58b0e5904b8db1839
Author: Lasse Collin
Date: 2009-05-22 14:21:20 +0300
Remove the --info option, which was an alias for --list.
src/xz/args.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit 8836139b63ce774bdd62abf17ab69b290e08229e
Author: Lasse Collin
Date: 2009-05-22 12:27:43 +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.
src/xz/args.c | 17 ++++++-----------
1 files changed, 6 insertions(+), 11 deletions(-)
commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d
Author: Lasse Collin
Date: 2009-05-22 11:29:50 +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.
src/xz/args.c | 28 +++++++++++++----
src/xz/hardware.c | 86 ++++++++++++++++++++++------------------------------
src/xz/hardware.h | 10 +++---
src/xz/message.c | 28 ++++++++---------
src/xz/process.c | 18 ++++-------
5 files changed, 82 insertions(+), 88 deletions(-)
commit 071b825b23911a69dd1cd2f8cda004ef8a781fae
Author: Lasse Collin
Date: 2009-05-21 17:22:01 +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.
src/xz/util.c | 4 ++++
src/xzdec/xzdec.c | 6 +++++-
2 files changed, 9 insertions(+), 1 deletions(-)
commit 03ca67fd37dd43fa7f590de340899cd497c10802
Author: ABCD
Date: 2009-05-20 17:31:18 -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.
src/scripts/Makefile.am | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
commit a6f43e64128a6da5cd641de1e1e527433b3e5638
Author: Lasse Collin
Date: 2009-05-02 16:10:14 +0300
Use a GCC-specific #pragma instead of GCC-specific
-Wno-uninitialized to silence a bogus warning.
configure.ac | 13 -------------
src/liblzma/check/Makefile.am | 5 -----
src/liblzma/check/sha256.c | 5 +++++
3 files changed, 5 insertions(+), 18 deletions(-)
commit f6ce63ebdb45a857c8949960c83c9580ae888951
Author: Lasse Collin
Date: 2009-05-02 14:46:50 +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.
configure.ac | 48 ++++++++----------------------------------------
1 files changed, 8 insertions(+), 40 deletions(-)
commit be06858d5cf8ba46557395035d821dc332f3f830
Author: Lasse Collin
Date: 2009-05-01 11:28:52 +0300
Remove docs that are too outdated to be updated
(rewrite will be better).
doc/liblzma-advanced.txt | 324 ----------------------------------------------
doc/liblzma-hacking.txt | 112 ----------------
doc/liblzma-intro.txt | 194 ---------------------------
doc/liblzma-security.txt | 219 -------------------------------
doc/lzma-intro.txt | 107 ---------------
5 files changed, 0 insertions(+), 956 deletions(-)
commit 0255401e57c96af87c6b159eca28974e79430a82
Author: Lasse Collin
Date: 2009-05-01 11:21:46 +0300
Added documentation about the legacy .lzma file format.
doc/lzma-file-format.txt | 166 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 166 insertions(+), 0 deletions(-)
commit 1496ff437c46f38303e0e94c511ca604b3a11f85
Author: Lasse Collin
Date: 2009-05-01 11:20:23 +0300
Renamed the file format specification to xz-file-format.txt
which is the filename used on the WWW.
doc/file-format.txt | 1127 ------------------------------------------------
doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 1127 insertions(+), 1127 deletions(-)
commit 21c6b94373d239d7e86bd480fcd558e30391712f
Author: Lasse Collin
Date: 2009-04-28 23:08:32 +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.
src/liblzma/common/alone_decoder.c | 2 +-
src/liblzma/common/alone_encoder.c | 4 ++--
src/liblzma/common/auto_decoder.c | 2 +-
src/liblzma/common/block_decoder.c | 2 +-
src/liblzma/common/block_encoder.c | 2 +-
src/liblzma/common/common.h | 4 ++--
src/liblzma/common/easy_encoder.c | 2 +-
src/liblzma/common/index_decoder.c | 2 +-
src/liblzma/common/index_encoder.c | 2 +-
src/liblzma/common/stream_decoder.c | 2 +-
src/liblzma/common/stream_encoder.c | 2 +-
11 files changed, 13 insertions(+), 13 deletions(-)
commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c
Author: Lasse Collin
Date: 2009-04-15 14:13:38 +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).
src/liblzma/simple/arm.c | 2 +-
src/liblzma/simple/armthumb.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 31decdce041581e57c0d8a407d4795b114ef27ca
Author: Lasse Collin
Date: 2009-04-14 11:48:46 +0300
Minor fixes to test files' README.
tests/files/README | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
commit 4787d654434891c7df5b43959b0d2873718f06e0
Author: Lasse Collin
Date: 2009-04-13 16:36:41 +0300
Updated history.txt.
doc/history.txt | 123 +++++++++++++++++++++++++++++-------------------------
1 files changed, 66 insertions(+), 57 deletions(-)
commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9
Author: Lasse Collin
Date: 2009-04-13 14:49:48 +0300
Quick & dirty update to support xz in diff/grep/more scripts.
src/scripts/Makefile.am | 38 +++++++++-----
src/scripts/lzdiff | 67 -------------------------
src/scripts/lzdiff.1 | 51 -------------------
src/scripts/lzgrep | 123 -----------------------------------------------
src/scripts/lzgrep.1 | 61 -----------------------
src/scripts/lzmore | 74 ----------------------------
src/scripts/lzmore.1 | 55 ---------------------
src/scripts/xzdiff | 67 +++++++++++++++++++++++++
src/scripts/xzdiff.1 | 58 ++++++++++++++++++++++
src/scripts/xzgrep | 123 +++++++++++++++++++++++++++++++++++++++++++++++
src/scripts/xzgrep.1 | 77 +++++++++++++++++++++++++++++
src/scripts/xzmore | 74 ++++++++++++++++++++++++++++
src/scripts/xzmore.1 | 66 +++++++++++++++++++++++++
13 files changed, 489 insertions(+), 445 deletions(-)
commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc
Author: Lasse Collin
Date: 2009-04-13 11:27:40 +0300
Put the interesting parts of XZ Utils into the public domain.
Some minor documentation cleanups were made at the same time.
COPYING | 67 ++++++++++++++++++------
ChangeLog | 2 +-
Doxyfile.in | 8 ++-
Makefile.am | 13 +----
autogen.sh | 9 +++
configure.ac | 13 +----
debug/Makefile.am | 13 +----
debug/crc32.c | 13 +----
debug/full_flush.c | 13 +----
debug/hex2bin.c | 7 +--
debug/known_sizes.c | 13 +----
debug/memusage.c | 13 +----
debug/repeat.c | 13 +----
debug/sync_flush.c | 13 +----
doc/faq.txt | 38 +------------
lib/Makefile.am | 18 +++---
src/Makefile.am | 13 +----
src/common/bswap.h | 7 +--
src/common/cpucores.h | 7 +--
src/common/integer.h | 7 +--
src/common/mythread.h | 4 +-
src/common/open_stdxxx.h | 7 +--
src/common/physmem.h | 7 +--
src/common/sysdefs.h | 13 +----
src/liblzma/Makefile.am | 13 +----
src/liblzma/api/Makefile.am | 13 +----
src/liblzma/api/lzma.h | 38 ++++++++-----
src/liblzma/api/lzma/base.h | 20 +++----
src/liblzma/api/lzma/bcj.h | 18 +++----
src/liblzma/api/lzma/block.h | 18 +++----
src/liblzma/api/lzma/check.h | 18 +++----
src/liblzma/api/lzma/container.h | 18 +++----
src/liblzma/api/lzma/delta.h | 18 +++----
src/liblzma/api/lzma/filter.h | 18 +++----
src/liblzma/api/lzma/index.h | 18 +++----
src/liblzma/api/lzma/index_hash.h | 22 +++-----
src/liblzma/api/lzma/lzma.h | 18 +++----
src/liblzma/api/lzma/stream_flags.h | 18 +++----
src/liblzma/api/lzma/subblock.h | 18 +++----
src/liblzma/api/lzma/version.h | 18 +++----
src/liblzma/api/lzma/vli.h | 42 +++++++--------
src/liblzma/check/Makefile.am | 8 +--
src/liblzma/check/check.c | 7 +--
src/liblzma/check/check.h | 7 +--
src/liblzma/check/crc32_fast.c | 30 ++++------
src/liblzma/check/crc32_small.c | 7 +--
src/liblzma/check/crc32_table.c | 7 +--
src/liblzma/check/crc32_tablegen.c | 7 +--
src/liblzma/check/crc32_x86.S | 21 +++++---
src/liblzma/check/crc64_fast.c | 20 +++----
src/liblzma/check/crc64_small.c | 7 +--
src/liblzma/check/crc64_table.c | 7 +--
src/liblzma/check/crc64_tablegen.c | 7 +--
src/liblzma/check/crc64_x86.S | 14 +++--
src/liblzma/check/crc_macros.h | 9 ++--
src/liblzma/check/sha256.c | 23 +++++---
src/liblzma/common/Makefile.am | 13 +----
src/liblzma/common/alone_decoder.c | 13 +----
src/liblzma/common/alone_decoder.h | 13 +----
src/liblzma/common/alone_encoder.c | 13 +----
src/liblzma/common/auto_decoder.c | 13 +----
src/liblzma/common/block_buffer_decoder.c | 13 +----
src/liblzma/common/block_buffer_encoder.c | 13 +----
src/liblzma/common/block_decoder.c | 13 +----
src/liblzma/common/block_decoder.h | 13 +----
src/liblzma/common/block_encoder.c | 13 +----
src/liblzma/common/block_encoder.h | 13 +----
src/liblzma/common/block_header_decoder.c | 13 +----
src/liblzma/common/block_header_encoder.c | 13 +----
src/liblzma/common/block_util.c | 13 +----
src/liblzma/common/bsr.h | 7 +--
src/liblzma/common/chunk_size.c | 13 +----
src/liblzma/common/common.c | 13 +----
src/liblzma/common/common.h | 13 +----
src/liblzma/common/easy_buffer_encoder.c | 13 +----
src/liblzma/common/easy_decoder_memusage.c | 13 +----
src/liblzma/common/easy_encoder.c | 13 +----
src/liblzma/common/easy_encoder_memusage.c | 13 +----
src/liblzma/common/easy_preset.c | 13 +----
src/liblzma/common/easy_preset.h | 13 +----
src/liblzma/common/filter_buffer_decoder.c | 13 +----
src/liblzma/common/filter_buffer_encoder.c | 13 +----
src/liblzma/common/filter_common.c | 13 +----
src/liblzma/common/filter_common.h | 13 +----
src/liblzma/common/filter_decoder.c | 13 +----
src/liblzma/common/filter_decoder.h | 13 +----
src/liblzma/common/filter_encoder.c | 13 +----
src/liblzma/common/filter_encoder.h | 13 +----
src/liblzma/common/filter_flags_decoder.c | 13 +----
src/liblzma/common/filter_flags_encoder.c | 13 +----
src/liblzma/common/index.c | 13 +----
src/liblzma/common/index.h | 13 +----
src/liblzma/common/index_decoder.c | 13 +----
src/liblzma/common/index_encoder.c | 13 +----
src/liblzma/common/index_encoder.h | 13 +----
src/liblzma/common/index_hash.c | 13 +----
src/liblzma/common/stream_buffer_decoder.c | 13 +----
src/liblzma/common/stream_buffer_encoder.c | 13 +----
src/liblzma/common/stream_decoder.c | 13 +----
src/liblzma/common/stream_decoder.h | 13 +----
src/liblzma/common/stream_encoder.c | 13 +----
src/liblzma/common/stream_encoder.h | 13 +----
src/liblzma/common/stream_flags_common.c | 13 +----
src/liblzma/common/stream_flags_common.h | 13 +----
src/liblzma/common/stream_flags_decoder.c | 13 +----
src/liblzma/common/stream_flags_encoder.c | 13 +----
src/liblzma/common/vli_decoder.c | 13 +----
src/liblzma/common/vli_encoder.c | 13 +----
src/liblzma/common/vli_size.c | 13 +----
src/liblzma/delta/Makefile.am | 13 +----
src/liblzma/delta/delta_common.c | 13 +----
src/liblzma/delta/delta_common.h | 13 +----
src/liblzma/delta/delta_decoder.c | 13 +----
src/liblzma/delta/delta_decoder.h | 13 +----
src/liblzma/delta/delta_encoder.c | 13 +----
src/liblzma/delta/delta_encoder.h | 13 +----
src/liblzma/delta/delta_private.h | 13 +----
src/liblzma/lz/Makefile.am | 13 +----
src/liblzma/lz/lz_decoder.c | 17 ++----
src/liblzma/lz/lz_decoder.h | 17 ++----
src/liblzma/lz/lz_encoder.c | 17 ++----
src/liblzma/lz/lz_encoder.h | 17 ++----
src/liblzma/lz/lz_encoder_hash.h | 13 +----
src/liblzma/lz/lz_encoder_mf.c | 17 ++----
src/liblzma/lzma/Makefile.am | 13 +----
src/liblzma/lzma/fastpos.h | 17 ++----
src/liblzma/lzma/fastpos_tablegen.c | 17 ++----
src/liblzma/lzma/lzma2_decoder.c | 17 ++----
src/liblzma/lzma/lzma2_decoder.h | 17 ++----
src/liblzma/lzma/lzma2_encoder.c | 17 ++----
src/liblzma/lzma/lzma2_encoder.h | 17 ++----
src/liblzma/lzma/lzma_common.h | 17 ++----
src/liblzma/lzma/lzma_decoder.c | 17 ++----
src/liblzma/lzma/lzma_decoder.h | 17 ++----
src/liblzma/lzma/lzma_encoder.c | 17 ++----
src/liblzma/lzma/lzma_encoder.h | 17 ++----
src/liblzma/lzma/lzma_encoder_optimum_fast.c | 13 +----
src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 +----
src/liblzma/lzma/lzma_encoder_presets.c | 13 +----
src/liblzma/lzma/lzma_encoder_private.h | 17 ++----
src/liblzma/rangecoder/Makefile.am | 13 +----
src/liblzma/rangecoder/price.h | 13 +----
src/liblzma/rangecoder/price_tablegen.c | 16 ++----
src/liblzma/rangecoder/range_common.h | 17 ++----
src/liblzma/rangecoder/range_decoder.h | 17 ++----
src/liblzma/rangecoder/range_encoder.h | 17 ++----
src/liblzma/simple/Makefile.am | 13 +----
src/liblzma/simple/arm.c | 17 ++----
src/liblzma/simple/armthumb.c | 17 ++----
src/liblzma/simple/ia64.c | 17 ++----
src/liblzma/simple/powerpc.c | 17 ++----
src/liblzma/simple/simple_coder.c | 13 +----
src/liblzma/simple/simple_coder.h | 14 +----
src/liblzma/simple/simple_decoder.c | 13 +----
src/liblzma/simple/simple_decoder.h | 13 +----
src/liblzma/simple/simple_encoder.c | 13 +----
src/liblzma/simple/simple_encoder.h | 13 +----
src/liblzma/simple/simple_private.h | 13 +----
src/liblzma/simple/sparc.c | 17 ++----
src/liblzma/simple/x86.c | 17 ++----
src/liblzma/subblock/Makefile.am | 13 +----
src/liblzma/subblock/subblock_decoder.c | 13 +----
src/liblzma/subblock/subblock_decoder.h | 13 +----
src/liblzma/subblock/subblock_decoder_helper.c | 13 +----
src/liblzma/subblock/subblock_decoder_helper.h | 13 +----
src/liblzma/subblock/subblock_encoder.c | 13 +----
src/liblzma/subblock/subblock_encoder.h | 13 +----
src/scripts/Makefile.am | 7 +++
src/xz/Makefile.am | 13 +----
src/xz/args.c | 13 +----
src/xz/args.h | 13 +----
src/xz/hardware.c | 13 +----
src/xz/hardware.h | 13 +----
src/xz/io.c | 13 +----
src/xz/io.h | 13 +----
src/xz/list.c | 13 +----
src/xz/main.c | 13 +----
src/xz/main.h | 13 +----
src/xz/message.c | 13 +----
src/xz/message.h | 13 +----
src/xz/options.c | 13 +----
src/xz/options.h | 13 +----
src/xz/private.h | 13 +----
src/xz/process.c | 13 +----
src/xz/process.h | 13 +----
src/xz/signals.c | 13 +----
src/xz/signals.h | 13 +----
src/xz/suffix.c | 13 +----
src/xz/suffix.h | 13 +----
src/xz/util.c | 13 +----
src/xz/util.h | 13 +----
src/xzdec/Makefile.am | 13 +----
src/xzdec/xzdec.c | 13 +----
tests/Makefile.am | 13 +----
tests/bcj_test.c | 7 +--
tests/create_compress_files.c | 13 +----
tests/test_block.c | 13 +----
tests/test_block_header.c | 13 +----
tests/test_check.c | 13 +----
tests/test_compress.sh | 13 +----
tests/test_files.sh | 13 +----
tests/test_filter_flags.c | 13 +----
tests/test_index.c | 13 +----
tests/test_stream_flags.c | 13 +----
tests/tests.h | 13 +----
windows/common.rc | 2 +-
206 files changed, 866 insertions(+), 2021 deletions(-)
commit e79c42d854657ae7f75613bd80c1a35ff7c525cb
Author: Lasse Collin
Date: 2009-04-10 11:17:02 +0300
Fix off-by-one in LZ decoder.
Fortunately, this bug had no security risk other than accepting
some corrupt files as valid.
src/liblzma/lz/lz_decoder.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af
Author: Pavel Roskin
Date: 2009-03-31 12:15:01 -0400
Fix minor typos in README
README | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 9bab5336ebd765ec4e12252f416eefdf04eba750
Author: Lasse Collin
Date: 2009-03-31 21:52:51 +0300
Add a note and work-around instructions to README about
problems detecting a C99 compiler when some standard
headers are missing.
README | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
commit a0497ff7a06f9350349264fe9b52dfefc6d53ead
Author: Lasse Collin
Date: 2009-03-18 16:54:38 +0200
Updated THANKS.
THANKS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 390e69887fc5e0a108eb41203bed9acd100a3d76
Author: Lasse Collin
Date: 2009-03-18 16:51:41 +0200
Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
Thanks to Bert Wesarg.
m4/lc_cpucores.m4 | 4 ++--
src/common/cpucores.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6
Author: Lasse Collin
Date: 2009-03-01 09:03:08 +0200
Test for Linux-specific sysinfo() only on Linux systems.
Some other systems have sysinfo() with different semantics.
m4/lc_physmem.m4 | 28 +++++++++++++++++++---------
1 files changed, 19 insertions(+), 9 deletions(-)
commit cf751edfde3ad6e088dc18e0522d31ae38405933
Author: Lasse Collin
Date: 2009-03-01 09:00:06 +0200
Added AC_CONFIG_MACRO_DIR to configure.ac.
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 63df14c57dee7c461717784287056688482a7eb9
Author: Lasse Collin
Date: 2009-03-01 08:58:41 +0200
Fix the Autoconf test for getopt_long replacement.
It was broken by e114502b2bc371e4a45449832cb69be036360722.
m4/getopt.m4 | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f
Author: Lasse Collin
Date: 2009-02-22 19:07:54 +0200
Add a rough explanation of --extreme to output of --help.
src/xz/message.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 68bf7ac2984d3627369a240ef0491934d53f7899
Author: Lasse Collin
Date: 2009-02-22 18:52:49 +0200
Fixes to progress message handling in xz:
- Don't use Windows-specific code on Windows. The old code
required at least Windows 2000. Now it should work on
Windows 98 and later, and maybe on Windows 95 too.
- Use less precision when showing estimated remaining time.
- Fix some small design issues.
src/xz/message.c | 483 ++++++++++++++++++++++++++++++++++--------------------
src/xz/message.h | 28 ++-
src/xz/process.c | 53 +++---
3 files changed, 351 insertions(+), 213 deletions(-)
commit 47c2e21f82242f50f18713a27d644c2c94ab3fea
Author: Lasse Collin
Date: 2009-02-18 13:00:10 +0200
Added files missing from the previous commit.
src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++
src/liblzma/common/Makefile.am | 7 ++++++-
2 files changed, 39 insertions(+), 1 deletions(-)
commit 489a3dbaa0465f04400804e956a1cfbbee3654a2
Author: Lasse Collin
Date: 2009-02-17 10:43:00 +0200
Added lzma_easy_buffer_encode(). Splitted easy.c into small
pieces to avoid unneeded dependencies making statically
linked applications bigger than needed.
dos/Makefile | 6 +-
src/liblzma/common/easy.c | 128 ----------------------------
src/liblzma/common/easy_buffer_encoder.c | 34 ++++++++
src/liblzma/common/easy_decoder_memusage.c | 31 +++++++
src/liblzma/common/easy_encoder.c | 87 +++++++++++++++++++
src/liblzma/common/easy_encoder_memusage.c | 31 +++++++
src/liblzma/common/easy_preset.c | 34 ++++++++
src/liblzma/common/easy_preset.h | 39 +++++++++
windows/Makefile | 6 +-
9 files changed, 266 insertions(+), 130 deletions(-)
commit 7494816ab08d82f4d6409788825930c4e43cfd0d
Author: Lasse Collin
Date: 2009-02-15 15:48:45 +0200
Make physmem.h work on old Windows versions.
Thanks to Hongbo Ni for the original patch.
src/common/physmem.h | 31 +++++++++++++++++++++++++++----
1 files changed, 27 insertions(+), 4 deletions(-)
commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0
Author: Lasse Collin
Date: 2009-02-14 20:44:52 +0200
Fix microsecond vs. nanosecond confusion in my_time().
src/xz/message.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7
Author: Lasse Collin
Date: 2009-02-14 00:45:29 +0200
Cleanups to the code that detects the amount of RAM and
the number of CPU cores. Added support for using sysinfo()
on Linux systems whose libc lacks appropriate sysconf()
support (at least dietlibc). The Autoconf macros were
split into separate files, and CPU core count detection
was moved from hardware.c to cpucores.h. The core count
isn't used for anything real for now, so a problematic
part in process.c was commented out.
configure.ac | 89 +-----------------------------------------------
m4/lc_cpucores.m4 | 57 +++++++++++++++++++++++++++++++
m4/lc_physmem.m4 | 74 ++++++++++++++++++++++++++++++++++++++++
src/common/cpucores.h | 52 ++++++++++++++++++++++++++++
src/common/physmem.h | 21 +++++++----
src/xz/args.c | 4 +-
src/xz/hardware.c | 50 ++++++++++++---------------
src/xz/hardware.h | 11 ++++--
src/xz/message.c | 5 ++-
src/xz/process.c | 2 +
10 files changed, 235 insertions(+), 130 deletions(-)
commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8
Author: Lasse Collin
Date: 2009-02-13 18:23:50 +0200
Initial port to DOS using DJGPP.
dos/Makefile | 261 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dos/README | 113 +++++++++++++++++++++++++
dos/config.h | 150 +++++++++++++++++++++++++++++++++
3 files changed, 524 insertions(+), 0 deletions(-)
commit 0dae8b7751d09e9c5a482d5519daaee4800ce203
Author: Lasse Collin
Date: 2009-02-13 18:02:05 +0200
Windows port: Take advantage of the version number macros.
Now the version number is not duplicated in the
Windows-specific files anymore.
windows/Makefile | 2 +-
windows/common.rc | 16 ++++++++--------
windows/config.h | 15 ---------------
3 files changed, 9 insertions(+), 24 deletions(-)
commit fdbc0cfa71f7d660855098a609175ba384259529
Author: Lasse Collin
Date: 2009-02-13 18:00:03 +0200
Changed how the version number is specified in various places.
Now configure.ac will get the version number directly from
src/liblzma/api/lzma/version.h. The intent is to reduce the
number of places where the version number is duplicated. In
future, support for displaying Git commit ID may be added too.
configure.ac | 3 +-
src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++--
src/liblzma/common/common.c | 2 +-
src/xz/message.c | 2 +-
src/xzdec/xzdec.c | 2 +-
version.sh | 23 +++++++++++++
6 files changed, 95 insertions(+), 7 deletions(-)
commit 1d924e584b146136989f48c13fff2632896efb3d
Author: Lasse Collin
Date: 2009-02-13 17:30:30 +0200
Fix handling of integrity check type in the xz command line tool.
src/xz/args.c | 9 ++++++++-
src/xz/process.c | 4 ++++
2 files changed, 12 insertions(+), 1 deletions(-)
commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8
Author: Lasse Collin
Date: 2009-02-13 17:29:02 +0200
Improve support for DOS-like systems.
Here DOS-like means DOS, Windows, and OS/2.
src/common/physmem.h | 12 ++++++++++++
src/common/sysdefs.h | 4 ++++
src/liblzma/check/crc32_x86.S | 6 +++---
src/liblzma/check/crc64_x86.S | 6 +++---
src/xz/args.c | 13 +++++--------
src/xz/io.c | 39 +++++++++++++++++++++++++--------------
src/xz/main.c | 23 +++++++++++++++++++++++
src/xz/message.c | 3 +++
src/xz/suffix.c | 5 +++++
src/xzdec/xzdec.c | 5 +++--
10 files changed, 86 insertions(+), 30 deletions(-)
commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33
Author: Lasse Collin
Date: 2009-02-11 20:02:32 +0200
Remove dead directories from .gitignore.
.gitignore | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
commit 1ec5b0027911d94cb6f98892cbc690f818d8a861
Author: Jim Meyering
Date: 2009-02-11 14:45:14 +0100
.gitignore vs. Makefiles
How about this for those of us who do srcdir builds?
.gitignore | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
commit 154f5aec2de201c674841de4fcc9804c2a87af07
Author: Lasse Collin
Date: 2009-02-10 21:48:35 +0200
Removed Makefile from .gitignore since not all Makefiles
in the repository are generated by Autotools. People
should do test builds in a separate build directory anyway.
.gitignore | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit e605c2663691b0a4c307786aa368d124ea081daa
Author: Lasse Collin
Date: 2009-02-10 21:48:05 +0200
Added resource files for the Windows build.
windows/Makefile | 37 ++++++++++++++++++++++---------------
windows/common.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++
windows/liblzma.rc | 5 +++++
windows/lzmadec.rc | 5 +++++
windows/xz.rc | 5 +++++
windows/xzdec.rc | 5 +++++
6 files changed, 88 insertions(+), 15 deletions(-)
commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476
Author: Lasse Collin
Date: 2009-02-09 14:54:31 +0200
Let the user specify custom CFLAGS on the make command
line. Previously custom CFLAGS worked only when they were
passed to configure.
configure.ac | 58 +++++++++++++++++++++-------------------
src/liblzma/check/Makefile.am | 2 +-
2 files changed, 31 insertions(+), 29 deletions(-)
commit 53f7598998b1860a69c51243b5d2e34623c6bf60
Author: Lasse Collin
Date: 2009-02-08 21:35:11 +0200
Fix aliasing issue in physmem.h.
src/common/physmem.h | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6
Author: Lasse Collin
Date: 2009-02-08 18:24:50 +0200
Add a separate internal function to initialize the CRC32
table, which is used also by LZ encoder. This was needed
because calling lzma_crc32() and ignoring the result is
a no-op due to lzma_attr_pure.
src/liblzma/check/check.h | 1 +
src/liblzma/check/crc32_small.c | 10 +++++++++-
src/liblzma/lz/lz_encoder.c | 4 ++--
3 files changed, 12 insertions(+), 3 deletions(-)
commit ae1ad9af54210c9a2be336b1316532da5071516c
Author: Lasse Collin
Date: 2009-02-08 18:17:05 +0200
Make "xz --force" to write to terminal as the error
message suggests.
src/xz/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 79e25eded48d2fe33f31441ab7a034f902e335f8
Author: Lasse Collin
Date: 2009-02-08 10:37:50 +0200
Support both slash and backslash as path component
separator on Windows when parsing argv[0].
src/xz/args.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
commit bc7c7109cc4410055a888c1c70cbd1c9445c4361
Author: Lasse Collin
Date: 2009-02-07 23:18:13 +0200
Omit the wrong and (even if corrected) nowadays useless rm
from autogen.sh.
autogen.sh | 28 ----------------------------
1 files changed, 0 insertions(+), 28 deletions(-)
commit edfc2031e56f8a2ccda063f02936b3a848d88723
Author: Lasse Collin
Date: 2009-02-07 21:41:52 +0200
Updated THANKS.
THANKS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3
Author: Lasse Collin
Date: 2009-02-07 21:17:07 +0200
Make it easy to choose if command line tools should be
linked statically or dynamically against liblzma. The
default is still to use static liblzma, but it can now
be changed by passing --enable-dynamic to configure.
Thanks to Mike Frysinger for the original patch.
Fixed a few minor bugs in configure.ac.
configure.ac | 39 +++++++++++++++++++++++++++++++++++++++
src/xz/Makefile.am | 8 +++-----
src/xzdec/Makefile.am | 5 +++--
3 files changed, 45 insertions(+), 7 deletions(-)
commit 3f86532407e4ace3debb62be16035e009b56ca36
Author: Mike Frysinger
Date: 2009-02-06 23:38:39 -0500
add gitignore files
Signed-off-by: Mike Frysinger
.gitignore | 32 ++++++++++++++++++++++++++++++++
m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++
po/.gitignore | 12 ++++++++++++
3 files changed, 79 insertions(+), 0 deletions(-)
commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5
Author: Lasse Collin
Date: 2009-02-07 17:07:52 +0200
Assume 32 MiB of RAM on unsupported operating systems like
the comment in hardware.c already said.
src/xz/hardware.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618
Author: Lasse Collin
Date: 2009-02-07 16:26:58 +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.
windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++-------------
windows/README | 10 ------
2 files changed, 69 insertions(+), 33 deletions(-)
commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45
Author: Lasse Collin
Date: 2009-02-07 15:55:47 +0200
Support LZMA_API_STATIC in assembler files to
avoid __declspec(dllexport) equivalent.
src/liblzma/check/crc32_x86.S | 4 ++++
src/liblzma/check/crc64_x86.S | 2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
commit 3306cf3883492720b3c34baa02f4eb4227d91c73
Author: Lasse Collin
Date: 2009-02-07 11:11:50 +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.
src/liblzma/api/lzma.h | 31 ++++++++++++++++++++++++-------
src/liblzma/common/common.h | 2 +-
2 files changed, 25 insertions(+), 8 deletions(-)
commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b
Author: Lasse Collin
Date: 2009-02-06 16:55:45 +0200
Another grammar fix
README | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit fe5434f940f75fec3611cf9d9edf78c4da8ac760
Author: Lasse Collin
Date: 2009-02-06 12:30:23 +0200
Grammar fix in README.
README | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245
Author: Lasse Collin
Date: 2009-02-06 10:06:32 +0200
Some MSYS installations (e.g. MsysGit) don't include
install.exe, so don't rely on it.
windows/Makefile | 12 +++++++-----
windows/README | 11 ++++++-----
2 files changed, 13 insertions(+), 10 deletions(-)
commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31
Author: Lasse Collin
Date: 2009-02-06 09:13:15 +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.
tests/bcj_test.c | 2 +-
tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes
tests/compress_prepared_bcj_x86 | Bin 4649 -> 1388 bytes
tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes
tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 716 bytes
5 files changed, 1 insertions(+), 1 deletions(-)
commit 094b1b09a531f0d201ec81f2b07346a995fd80b9
Author: Lasse Collin
Date: 2009-02-05 21:21:27 +0200
Add the "windows" directory to EXTRA_DIST.
Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49
Author: Lasse Collin
Date: 2009-02-05 09:17:51 +0200
Added initial experimental makefile for use with MinGW.
windows/Makefile | 253 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
windows/README | 164 +++++++++++++++++++++++++++++++++++
windows/config.h | 180 ++++++++++++++++++++++++++++++++++++++
3 files changed, 597 insertions(+), 0 deletions(-)
commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9
Author: Lasse Collin
Date: 2009-02-05 09:12:57 +0200
Various code cleanups the the xz command line tool.
It now builds with MinGW.
src/common/physmem.h | 13 ++++
src/xz/Makefile.am | 2 +
src/xz/args.h | 8 --
src/xz/hardware.h | 10 +---
src/xz/io.c | 93 +++++++++++++++++++-------
src/xz/io.h | 12 +--
src/xz/main.c | 132 ++-----------------------------------
src/xz/main.h | 22 ------
src/xz/message.c | 65 ++++++++++++++++--
src/xz/message.h | 6 --
src/xz/options.h | 8 --
src/xz/private.h | 18 ++++--
src/xz/process.h | 10 +---
src/xz/signals.c | 180 ++++++++++++++++++++++++++++++++++++++++++++++++++
src/xz/signals.h | 51 ++++++++++++++
src/xz/suffix.h | 5 --
src/xz/util.c | 5 +-
src/xz/util.h | 5 --
18 files changed, 399 insertions(+), 246 deletions(-)
commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe
Author: Lasse Collin
Date: 2009-02-03 12:15:17 +0200
Another utime() fix.
src/xz/io.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca
Author: Lasse Collin
Date: 2009-02-03 10:41:11 +0200
Fix wrong filename argument for utime() and utimes().
This doesn't affect most systems, since most systems
have better functions available.
src/xz/io.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302
Author: Lasse Collin
Date: 2009-02-02 21:19:01 +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.
configure.ac | 6 ---
src/liblzma/check/crc32_x86.S | 84 +++++++++++++++++++++++++++++++++++------
src/liblzma/check/crc64_x86.S | 82 +++++++++++++++++++++++++++++++++++-----
3 files changed, 144 insertions(+), 28 deletions(-)
commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f
Author: Lasse Collin
Date: 2009-02-02 20:14:03 +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.
src/liblzma/api/lzma.h | 6 ++--
src/liblzma/api/lzma/base.h | 11 ++++---
src/liblzma/api/lzma/block.h | 22 +++++++-------
src/liblzma/api/lzma/check.h | 10 +++---
src/liblzma/api/lzma/container.h | 22 +++++++-------
src/liblzma/api/lzma/filter.h | 28 ++++++++++----------
src/liblzma/api/lzma/index.h | 40 ++++++++++++++--------------
src/liblzma/api/lzma/index_hash.h | 10 +++---
src/liblzma/api/lzma/lzma.h | 6 ++--
src/liblzma/api/lzma/stream_flags.h | 10 +++---
src/liblzma/api/lzma/version.h | 4 +-
src/liblzma/api/lzma/vli.h | 6 ++--
src/liblzma/check/check.c | 4 +-
src/liblzma/check/crc32_fast.c | 2 +-
src/liblzma/check/crc32_small.c | 2 +-
src/liblzma/check/crc64_fast.c | 2 +-
src/liblzma/check/crc64_small.c | 2 +-
src/liblzma/common/alone_decoder.c | 2 +-
src/liblzma/common/alone_encoder.c | 2 +-
src/liblzma/common/auto_decoder.c | 2 +-
src/liblzma/common/block_buffer_decoder.c | 2 +-
src/liblzma/common/block_buffer_encoder.c | 4 +-
src/liblzma/common/block_decoder.c | 2 +-
src/liblzma/common/block_encoder.c | 2 +-
src/liblzma/common/block_header_decoder.c | 2 +-
src/liblzma/common/block_header_encoder.c | 4 +-
src/liblzma/common/block_util.c | 6 ++--
src/liblzma/common/chunk_size.c | 2 +-
src/liblzma/common/common.c | 16 +++++-----
src/liblzma/common/common.h | 2 +-
src/liblzma/common/easy.c | 6 ++--
src/liblzma/common/filter_buffer_decoder.c | 2 +-
src/liblzma/common/filter_buffer_encoder.c | 2 +-
src/liblzma/common/filter_decoder.c | 8 +++---
src/liblzma/common/filter_encoder.c | 12 ++++----
src/liblzma/common/filter_flags_decoder.c | 2 +-
src/liblzma/common/filter_flags_encoder.c | 4 +-
src/liblzma/common/index.c | 32 +++++++++++-----------
src/liblzma/common/index_decoder.c | 4 +-
src/liblzma/common/index_encoder.c | 4 +-
src/liblzma/common/index_hash.c | 10 +++---
src/liblzma/common/stream_buffer_decoder.c | 2 +-
src/liblzma/common/stream_buffer_encoder.c | 4 +-
src/liblzma/common/stream_decoder.c | 2 +-
src/liblzma/common/stream_encoder.c | 2 +-
src/liblzma/common/stream_flags_common.c | 2 +-
src/liblzma/common/stream_flags_decoder.c | 4 +-
src/liblzma/common/stream_flags_encoder.c | 4 +-
src/liblzma/common/vli_decoder.c | 2 +-
src/liblzma/common/vli_encoder.c | 2 +-
src/liblzma/common/vli_size.c | 2 +-
src/liblzma/lz/lz_encoder.c | 2 +-
src/liblzma/lzma/lzma_encoder.c | 2 +-
src/liblzma/lzma/lzma_encoder_presets.c | 2 +-
54 files changed, 177 insertions(+), 176 deletions(-)
commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65
Author: Lasse Collin
Date: 2009-02-01 22:40:35 +0200
Fix a bug in lzma_block_buffer_decode(), although this
function should be rewritten anyway.
src/liblzma/common/block_buffer_decoder.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit 55fd41431e61fb8178858283d636b6781e33e847
Author: Lasse Collin
Date: 2009-02-01 22:39:07 +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.
src/liblzma/api/lzma/filter.h | 84 +++++++++++++++++++------
src/liblzma/common/Makefile.am | 2 +
src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++
src/liblzma/common/filter_buffer_encoder.c | 61 ++++++++++++++++++
4 files changed, 221 insertions(+), 20 deletions(-)
commit 3e54ecee5cad30a5ca361a88a99230407abc0699
Author: Lasse Collin
Date: 2009-02-01 00:11:20 +0200
Fix missing newlines in xzdec.c.
src/xzdec/xzdec.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35
Author: Lasse Collin
Date: 2009-02-01 00:10:07 +0200
Use __cdecl also for function pointers in liblzma API when
on Windows.
src/liblzma/api/lzma.h | 18 +++++++++++-------
src/liblzma/api/lzma/base.h | 4 ++--
src/liblzma/common/common.h | 18 +++++++-----------
3 files changed, 20 insertions(+), 20 deletions(-)
commit 6a2eb54092fc625d59921a607ff68cd1a90aa898
Author: Lasse Collin
Date: 2009-01-31 11:01:48 +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.
src/common/sysdefs.h | 2 -
src/liblzma/api/lzma.h | 17 ++++++++++++
src/liblzma/api/lzma/base.h | 10 +++---
src/liblzma/api/lzma/block.h | 25 ++++++++++--------
src/liblzma/api/lzma/check.h | 12 +++++---
src/liblzma/api/lzma/container.h | 23 +++++++++--------
src/liblzma/api/lzma/filter.h | 24 +++++++++---------
src/liblzma/api/lzma/index.h | 47 ++++++++++++++++++++---------------
src/liblzma/api/lzma/index_hash.h | 11 ++++---
src/liblzma/api/lzma/lzma.h | 8 +++--
src/liblzma/api/lzma/stream_flags.h | 10 +++---
src/liblzma/api/lzma/version.h | 4 +-
src/liblzma/api/lzma/vli.h | 10 +++---
src/liblzma/common/common.h | 13 ++++++++-
src/xz/private.h | 1 +
src/xzdec/xzdec.c | 1 +
tests/tests.h | 1 +
17 files changed, 131 insertions(+), 88 deletions(-)
commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b
Author: Lasse Collin
Date: 2009-01-31 10:13:09 +0200
Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.
src/xzdec/xzdec.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 2dbdc5befb33c3703e4609809101047c67caf343
Author: Lasse Collin
Date: 2009-01-31 10:02:52 +0200
Fix two lines in lzma.h on which the # wasn't at the
beginning of the line.
src/liblzma/api/lzma.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 4ab760109106dc04f39dd81c97d50f528d1b51c1
Author: Lasse Collin
Date: 2009-01-31 09:55:05 +0200
Add support for using liblzma headers in MSVC, which has no
stdint.h or inttypes.h.
src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++----------------
1 files changed, 46 insertions(+), 24 deletions(-)
commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9
Author: Lasse Collin
Date: 2009-01-31 08:49:54 +0200
Fix # -> ## in a macro in lzma.h.
src/liblzma/api/lzma.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208
Author: Lasse Collin
Date: 2009-01-30 18:50:16 +0200
Updated README.
README | 30 ++++++++++++++++++++----------
1 files changed, 20 insertions(+), 10 deletions(-)
commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb
Author: Lasse Collin
Date: 2009-01-30 00:29:58 +0200
Remove dangling crc64_init.c.
src/liblzma/check/crc64_init.c | 55 ----------------------------------------
1 files changed, 0 insertions(+), 55 deletions(-)
commit 982da7ed314398420c38bf154a8f759d5f18b480
Author: Lasse Collin
Date: 2009-01-28 17:16:38 +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.
doc/file-format.txt | 84 +++++++++++++++++++++++++++++---------------------
1 files changed, 49 insertions(+), 35 deletions(-)
commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f
Author: Lasse Collin
Date: 2009-01-28 08:45:59 +0200
Updated THANKS.
THANKS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 3241317093595db9f79104faafe93cb989c9f858
Author: Lasse Collin
Date: 2009-01-28 08:43:26 +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.
src/liblzma/common/alone_decoder.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit f76e39cf930f888d460b443d18f977ebedea8b2a
Author: Lasse Collin
Date: 2009-01-27 18:36:05 +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.
src/liblzma/lz/lz_decoder.c | 35 +++++++++++++++++++++++++----------
src/liblzma/lz/lz_decoder.h | 9 ++++++++-
src/liblzma/lz/lz_encoder.c | 18 ++++++++++++++++--
src/liblzma/lzma/lzma2_decoder.c | 9 ++++++---
src/liblzma/lzma/lzma2_encoder.c | 12 +++++++-----
src/liblzma/lzma/lzma_decoder.c | 10 ++++++----
src/liblzma/lzma/lzma_decoder.h | 2 +-
src/liblzma/lzma/lzma_encoder.c | 9 ++++++++-
8 files changed, 77 insertions(+), 27 deletions(-)
commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3
Author: Lasse Collin
Date: 2009-01-26 20:09:17 +0200
Regenerate the CRC tables without trailing blanks.
src/liblzma/check/crc32_table_be.h | 1008 ++++++++++++++++++------------------
src/liblzma/check/crc32_table_le.h | 1008 ++++++++++++++++++------------------
src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------
src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------
4 files changed, 2024 insertions(+), 2024 deletions(-)
commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2
Author: Jim Meyering
Date: 2009-01-19 21:37:16 +0100
remove trailing blanks from all but .xz files
debug/known_sizes.c | 2 +-
extra/scanlzma/scanlzma.c | 5 ++---
src/liblzma/check/crc32_tablegen.c | 2 +-
src/liblzma/check/crc64_tablegen.c | 2 +-
src/scripts/lzdiff.1 | 4 ++--
src/scripts/lzmore.1 | 6 +++---
tests/test_compress.sh | 4 ++--
7 files changed, 12 insertions(+), 13 deletions(-)
commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5
Author: Lasse Collin
Date: 2009-01-26 14:34:10 +0200
Add lzma_block_buffer_decode().
src/liblzma/api/lzma/block.h | 41 ++++++++++++++
src/liblzma/common/Makefile.am | 1 +
src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++
3 files changed, 129 insertions(+), 0 deletions(-)
commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d
Author: Lasse Collin
Date: 2009-01-26 14:33:28 +0200
Add more sanity checks to lzma_stream_buffer_decode().
src/liblzma/common/stream_buffer_decoder.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
commit c129748675a5daa8838df92bde32cc04f6ce61ba
Author: Lasse Collin
Date: 2009-01-26 14:33:13 +0200
Avoid hardcoded constant in easy.c.
src/liblzma/common/easy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6
Author: Lasse Collin
Date: 2009-01-26 13:06:49 +0200
Tiny bit better sanity check in block_util.c
src/liblzma/common/block_util.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7
Author: Lasse Collin
Date: 2009-01-25 01:35:56 +0200
Fix a dumb bug in Block decoder, which made it return
LZMA_DATA_ERROR with valid data. The bug was added in
e114502b2bc371e4a45449832cb69be036360722.
src/liblzma/common/block_decoder.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit c81f13ff29271de7293f8af3d81848b1dcae3d19
Author: Lasse Collin
Date: 2009-01-23 22:27:50 +0200
Added lzma_stream_buffer_decode() and made minor cleanups.
src/liblzma/api/lzma/block.h | 3 +-
src/liblzma/api/lzma/container.h | 51 +++++++++++++++-
src/liblzma/common/Makefile.am | 1 +
src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++
4 files changed, 144 insertions(+), 2 deletions(-)
commit 0b3318661ce749550b8531dfd469639a08930391
Author: Lasse Collin
Date: 2009-01-22 12:53:33 +0200
Fix a comment.
src/liblzma/common/common.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec
Author: Lasse Collin
Date: 2009-01-20 16:37:27 +0200
Add some single-call buffer-to-buffer coding functions.
src/liblzma/api/lzma/block.h | 57 +++++
src/liblzma/api/lzma/container.h | 56 +++++
src/liblzma/api/lzma/index.h | 70 ++++++-
src/liblzma/common/Makefile.am | 2 +
src/liblzma/common/block_buffer_encoder.c | 305 ++++++++++++++++++++++++++++
src/liblzma/common/index_decoder.c | 83 +++++++--
src/liblzma/common/index_encoder.c | 59 +++++-
src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++
tests/test_index.c | 24 +++
9 files changed, 768 insertions(+), 26 deletions(-)
commit d8b58d099340f8f4007b24b211ee41a7210c061c
Author: Lasse Collin
Date: 2009-01-20 13:45:41 +0200
Block encoder cleanups
src/liblzma/common/block_encoder.c | 28 +++++++---------------------
src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++
2 files changed, 32 insertions(+), 21 deletions(-)
commit 0c09810cb3635cb575cb54e694d41523e7d0a335
Author: Lasse Collin
Date: 2009-01-20 10:35:15 +0200
Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.
src/liblzma/common/common.c | 24 ++++++++----------------
1 files changed, 8 insertions(+), 16 deletions(-)
commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00
Author: Lasse Collin
Date: 2009-01-19 22:53:18 +0200
Fix handling of non-fatal errors in lzma_code().
src/liblzma/common/common.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
commit 4810b6bc25087be872960b9dd1d11ff07735dc88
Author: Lasse Collin
Date: 2009-01-19 14:00:33 +0200
Move some LZMA2 constants to lzma2_encoder.h so that they
can be used outside lzma2_encoder.c.
src/liblzma/lzma/lzma2_encoder.c | 13 -------------
src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++
src/liblzma/lzma/lzma_encoder.c | 3 ++-
3 files changed, 16 insertions(+), 14 deletions(-)
commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4
Author: Lasse Collin
Date: 2009-01-19 13:52:36 +0200
Remove dead code.
src/liblzma/lzma/lzma_encoder.h | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
commit 128586213f77c9bd82b7e9a62927f6d0c3769d85
Author: Lasse Collin
Date: 2009-01-17 14:24:25 +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.
src/liblzma/api/lzma/filter.h | 4 ++--
src/liblzma/common/easy.c | 4 ++--
src/liblzma/common/filter_common.c | 2 +-
src/liblzma/common/filter_common.h | 2 +-
src/liblzma/common/filter_decoder.c | 4 ++--
src/liblzma/common/filter_encoder.c | 4 ++--
src/liblzma/common/stream_decoder.c | 2 +-
src/xz/process.c | 6 +++---
8 files changed, 14 insertions(+), 14 deletions(-)
commit b056379490be5c584c264a967f0540041a163a1e
Author: Lasse Collin
Date: 2009-01-15 14:29:22 +0200
Updated THANKS.
THANKS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89
Author: Lasse Collin
Date: 2009-01-15 14:27:32 +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.
extra/7z2lzma/7z2lzma.bash | 47 ++++++++++++++++++++++---------------------
1 files changed, 24 insertions(+), 23 deletions(-)
commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2
Author: Lasse Collin
Date: 2009-01-07 18:41:15 +0200
Use pthread_sigmask() instead of sigprocmask() when pthreads
are enabled.
src/common/mythread.h | 6 ++++++
src/xz/main.c | 4 ++--
src/xz/private.h | 1 +
3 files changed, 9 insertions(+), 2 deletions(-)
commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9
Author: Lasse Collin
Date: 2008-12-31 20:01:00 +0200
Bumped version to 4.999.8beta right after the release
of 4.999.7beta.
configure.ac | 2 +-
src/liblzma/api/lzma/version.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 061748f5932719643cda73383db715167d543c22
Author: Lasse Collin
Date: 2008-12-31 18:59:02 +0200
Disable Subblock filter from test_compress.sh since it is
disabled by default in configure.ac.
tests/test_compress.sh | 22 +++++++++++++---------
1 files changed, 13 insertions(+), 9 deletions(-)
commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78
Author: Lasse Collin
Date: 2008-12-31 17:44:20 +0200
Disable both Subblock encoder and decoder my default,
since they are not finished and may have security issues too.
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88
Author: Lasse Collin
Date: 2008-12-31 17:42:50 +0200
Update some files in debug directory.
debug/full_flush.c | 2 --
debug/memusage.c | 2 --
debug/sync_flush.c | 2 --
3 files changed, 0 insertions(+), 6 deletions(-)
commit d1d17a40d33a9682424ca37282813492f2cba6d0
Author: Lasse Collin
Date: 2008-12-31 17:41:46 +0200
Prepare for 4.999.7beta release.
AUTHORS | 4 ++--
README | 34 +++++++++++++++++-----------------
configure.ac | 4 ++--
src/liblzma/api/lzma/version.h | 2 +-
4 files changed, 22 insertions(+), 22 deletions(-)
commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3
Author: Lasse Collin
Date: 2008-12-31 17:15:03 +0200
Cleaned up some comments in the API headers.
src/liblzma/api/lzma/check.h | 23 +++++++++++------------
src/liblzma/api/lzma/container.h | 2 +-
src/liblzma/api/lzma/version.h | 4 +++-
3 files changed, 15 insertions(+), 14 deletions(-)
commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40
Author: Lasse Collin
Date: 2008-12-31 16:29:39 +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.
src/liblzma/api/Makefile.am | 2 +-
src/liblzma/api/lzma.h | 2 +-
src/liblzma/api/lzma/bcj.h | 94 +++++++++++++++++++++++++++++++++++
src/liblzma/api/lzma/simple.h | 94 -----------------------------------
src/liblzma/simple/simple_coder.c | 2 +-
src/liblzma/simple/simple_decoder.c | 4 +-
src/liblzma/simple/simple_encoder.c | 4 +-
tests/test_filter_flags.c | 8 ++--
8 files changed, 105 insertions(+), 105 deletions(-)
commit 7eea8bec3abfed883efba66264a1452a1c04f6b0
Author: Lasse Collin
Date: 2008-12-31 00:57:27 +0200
Fixed missing quoting in configure.ac.
configure.ac | 38 +++++++++++++++++++-------------------
1 files changed, 19 insertions(+), 19 deletions(-)
commit 28e75f7086dbe9501d926c370375c69dfb1236ce
Author: Lasse Collin
Date: 2008-12-31 00:48:23 +0200
Updated src/liblzma/Makefile.am to use liblzma.pc.in, which
should have been in the previous commit.
src/liblzma/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90
Author: Lasse Collin
Date: 2008-12-31 00:30:49 +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.
configure.ac | 29 ++++++++--
src/common/mythread.h | 34 +++++++++++
src/liblzma/api/Makefile.am | 1 -
src/liblzma/api/lzma.h | 1 -
src/liblzma/api/lzma/init.h | 85 ----------------------------
src/liblzma/check/Makefile.am | 29 +++------
src/liblzma/check/check.c | 10 ++--
src/liblzma/check/check.h | 25 +++-----
src/liblzma/check/check_init.c | 37 ------------
src/liblzma/check/crc32.c | 88 -----------------------------
src/liblzma/check/crc32_fast.c | 88 +++++++++++++++++++++++++++++
src/liblzma/check/crc32_init.c | 55 ------------------
src/liblzma/check/crc32_small.c | 54 ++++++++++++++++++
src/liblzma/check/crc32_tablegen.c | 55 ++++++++++++++++--
src/liblzma/check/crc64.c | 75 ------------------------
src/liblzma/check/crc64_fast.c | 75 ++++++++++++++++++++++++
src/liblzma/check/crc64_small.c | 54 ++++++++++++++++++
src/liblzma/check/crc64_tablegen.c | 55 ++++++++++++++++--
src/liblzma/common/Makefile.am | 3 -
src/liblzma/common/common.h | 1 +
src/liblzma/common/init.c | 39 -------------
src/liblzma/common/init_decoder.c | 31 ----------
src/liblzma/common/init_encoder.c | 40 -------------
src/liblzma/liblzma.pc.in | 12 ++++
src/liblzma/lz/lz_encoder.c | 6 ++
src/liblzma/lzma.pc.in | 11 ----
src/liblzma/rangecoder/Makefile.am | 8 +--
src/liblzma/rangecoder/price.h | 16 +-----
src/liblzma/rangecoder/price_table.c | 2 +-
src/liblzma/rangecoder/price_table_init.c | 55 ------------------
src/liblzma/rangecoder/price_tablegen.c | 51 ++++++++++++++--
src/xz/Makefile.am | 5 +-
src/xz/main.c | 3 -
src/xzdec/xzdec.c | 3 -
tests/test_block_header.c | 1 -
tests/test_check.c | 2 -
tests/test_filter_flags.c | 2 -
tests/test_index.c | 2 -
tests/test_stream_flags.c | 2 -
tests/tests.h | 2 +-
40 files changed, 519 insertions(+), 628 deletions(-)
commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2
Author: Lasse Collin
Date: 2008-12-27 19:40:31 +0200
Use 28 MiB as memory usage limit for encoding in test_compress.sh.
tests/test_compress.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 050eb14d29e2537c014662e83599fd8a77f13c45
Author: Lasse Collin
Date: 2008-12-27 19:32:20 +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.
src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++---------------
1 files changed, 8 insertions(+), 15 deletions(-)
commit 4820f10d0f173864f6a2ea7479663b509ac53358
Author: Lasse Collin
Date: 2008-12-27 19:30:19 +0200
Some xz command line tool improvements.
src/xz/args.c | 23 ++++-----
src/xz/message.c | 4 +-
src/xz/options.c | 2 +-
src/xz/process.c | 133 ++++++++++++++++++++++++++++++++++++++++++-----------
src/xz/process.h | 3 +
5 files changed, 121 insertions(+), 44 deletions(-)
commit e33194e79d8f5ce07cb4aca909b324ae75098f7e
Author: Lasse Collin
Date: 2008-12-27 19:27:49 +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.
src/liblzma/api/lzma.h | 8 ++--
src/liblzma/api/lzma/block.h | 63 +++++++++++++++++++++++-
src/liblzma/api/lzma/container.h | 76 ++++++++++++++--------------
src/liblzma/api/lzma/lzma.h | 41 +++++++++-------
src/liblzma/common/alone_decoder.c | 36 +++++++-------
src/liblzma/common/alone_encoder.c | 22 +++-----
src/liblzma/common/auto_decoder.c | 2 +-
src/liblzma/common/block_decoder.c | 54 ++++++++++----------
src/liblzma/common/block_decoder.h | 4 +-
src/liblzma/common/block_encoder.c | 37 ++++++++------
src/liblzma/common/block_encoder.h | 4 +-
src/liblzma/common/block_header_decoder.c | 41 ++++++++-------
src/liblzma/common/block_header_encoder.c | 51 +++++++++----------
src/liblzma/common/block_util.c | 3 +-
src/liblzma/common/easy.c | 45 ++++++-----------
src/liblzma/common/stream_decoder.c | 3 +-
src/liblzma/common/stream_decoder.h | 2 +-
src/liblzma/common/stream_encoder.c | 3 +-
src/liblzma/common/stream_encoder.h | 2 +-
src/liblzma/common/stream_flags_decoder.c | 2 +-
src/liblzma/common/stream_flags_encoder.c | 2 +-
src/liblzma/lzma/lzma_encoder.c | 2 +-
src/liblzma/lzma/lzma_encoder_presets.c | 53 ++++++--------------
23 files changed, 294 insertions(+), 262 deletions(-)
commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074
Author: Lasse Collin
Date: 2008-12-18 13:42:52 +0200
Updated Makefile.am that was missing from the previous commit.
src/liblzma/common/Makefile.am | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit 634636fa56ccee6e744f78b0abed76c8940f2f8f
Author: Lasse Collin
Date: 2008-12-17 21:49:53 +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.
src/liblzma/api/Makefile.am | 1 -
src/liblzma/api/lzma.h | 1 -
src/liblzma/api/lzma/alignment.h | 60 --------------------
src/liblzma/common/alignment.c | 114 --------------------------------------
4 files changed, 0 insertions(+), 176 deletions(-)
commit 4fed98417d1687f5eccccb42a133fde3ec81216a
Author: Lasse Collin
Date: 2008-12-17 20:11:23 +0200
xz message handling improvements
src/xz/message.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++++-----
src/xz/message.h | 7 +++-
src/xz/process.c | 28 +++++++++++-
3 files changed, 146 insertions(+), 14 deletions(-)
commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d
Author: Lasse Collin
Date: 2008-12-15 23:26:43 +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.)
src/liblzma/common/alone_decoder.c | 29 ++++++++++++++---------------
1 files changed, 14 insertions(+), 15 deletions(-)
commit 671a5adf1e844bfdd6fd327016c3c28694493158
Author: Lasse Collin