Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-07-04 | xz: Document --block-list better. | Lasse Collin | 1 | -1/+7 | |
Thanks to Jonathan Nieder. | |||||
2012-07-04 | Bump the version number to 5.1.2alpha.larhzu/v5.1.2alpha | Lasse Collin | 2 | -2/+2 | |
2012-07-04 | Update NEWS for 5.1.2alpha. | Lasse Collin | 1 | -0/+41 | |
2012-07-04 | xz: Fix the version number printed by xz -lvv. | Lasse Collin | 1 | -3/+3 | |
The decoder bug was fixed in 5.0.2 instead of 5.0.3. | |||||
2012-07-04 | Build: Add a comment to configure.ac about symbol versioning. | Lasse Collin | 1 | -0/+4 | |
2012-07-04 | Update TODO. | Lasse Collin | 1 | -2/+10 | |
2012-07-04 | Document --enable-symbol-versions in INSTALL. | Lasse Collin | 1 | -0/+5 | |
2012-07-03 | xz: Add incomplete support for --block-list. | Lasse Collin | 7 | -10/+151 | |
It's broken with threads and when also --block-size is used. | |||||
2012-07-01 | xz: Update the man page about the new field in --robot -lvv. | Lasse Collin | 1 | -1/+17 | |
2012-06-28 | liblzma: Check that the first byte of range encoded data is 0x00. | Lasse Collin | 2 | -5/+15 | |
It is just to be more pedantic and thus perhaps catch broken files slightly earlier. | |||||
2012-06-22 | Update NEWS from 5.0.4. | Lasse Collin | 1 | -0/+37 | |
2012-06-22 | xz: Update man page date to match the latest update. | Lasse Collin | 1 | -1/+1 | |
2012-06-18 | Docs: Language fix to 01_compress_easy.c. | Lasse Collin | 1 | -1/+1 | |
Thanks to Jonathan Nieder. | |||||
2012-06-14 | Fix the top-level Makefile.am for the new example programs. | Lasse Collin | 1 | -2/+10 | |
2012-06-14 | Docs: Add new example programs. | Lasse Collin | 5 | -0/+827 | |
These have more comments than the old examples and human-readable error messages. More tutorial-like examples are needed but these are a start. | |||||
2012-06-14 | Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old. | Lasse Collin | 2 | -0/+0 | |
It is good to keep these around to so that if someone has copied the decompressor bug from xz_pipe_decomp.c he has an example how to easily fix it. | |||||
2012-06-14 | Docs: Fix a bug in xz_pipe_decomp.c example program. | Lasse Collin | 1 | -1/+9 | |
2012-05-30 | Translations: Update the French translation. | Lasse Collin | 1 | -69/+79 | |
Thanks to Adrien Nader. | |||||
2012-05-29 | Translations: Update the German translation. | Lasse Collin | 1 | -96/+133 | |
The previous only included the new strings in v5.0. | |||||
2012-05-29 | Translations: Update the German translation. | Lasse Collin | 1 | -78/+91 | |
2012-05-29 | Translations: Update Polish translation. | Lasse Collin | 1 | -118/+165 | |
2012-05-28 | liblzma: Fix possibility of incorrect LZMA_BUF_ERROR. | Lasse Collin | 3 | -2/+116 | |
lzma_code() could incorrectly return LZMA_BUF_ERROR if all of the following was true: - The caller knows how many bytes of output to expect and only provides that much output space. - When the last output bytes are decoded, the caller-provided input buffer ends right before the LZMA2 end of payload marker. So LZMA2 won't provide more output anymore, but it won't know it yet and thus won't return LZMA_STREAM_END yet. - A BCJ filter is in use and it hasn't left any unfiltered bytes in the temp buffer. This can happen with any BCJ filter, but in practice it's more likely with filters other than the x86 BCJ. Another situation where the bug can be triggered happens if the uncompressed size is zero bytes and no output space is provided. In this case the decompression can fail even if the whole input file is given to lzma_code(). A similar bug was fixed in XZ Embedded on 2011-09-19. | |||||
2012-05-28 | Update THANKS. | Lasse Collin | 1 | -0/+1 | |
2012-05-28 | xz: Don't show a huge number in -vv when memory limit is disabled. | Lasse Collin | 1 | -1/+11 | |
2012-05-27 | xz: Document the "summary" lines of --robot -lvv. | Lasse Collin | 1 | -0/+19 | |
This documents only the columns that are in v5.0. The new columns added in the master branch aren't necessarily stable yet. | |||||
2012-05-27 | xz: Fix output of verbose --robot --list modes. | Lasse Collin | 1 | -1/+1 | |
It printed the filename in "filename (x/y)" format which it obviously shouldn't do in robot mode. | |||||
2012-05-24 | Build: Upgrade m4/acx_pthread.m4 to the latest version. | Lasse Collin | 1 | -36/+62 | |
2012-05-10 | Update THANKS. | Lasse Collin | 1 | -0/+1 | |
2012-05-10 | Docs: Cleanup line wrapping a bit. | Lasse Collin | 2 | -30/+31 | |
2012-05-10 | Fix a few typos and add some missing articles in some documents. | Benno Schulenberg | 4 | -65/+65 | |
Also hyphenate several compound adjectives. Signed-off-by: Benno Schulenberg <bensberg@justemail.net> | |||||
2012-04-29 | Windows: Update notes about static linking with MSVC. | Lasse Collin | 1 | -4/+9 | |
2012-04-19 | liblzma: Remove outdated comments. | Lasse Collin | 2 | -5/+1 | |
2012-04-19 | DOS: Link against DJGPP's libemu to support FPU emulation. | Lasse Collin | 1 | -1/+1 | |
This way xz should work on 386SX and 486SX. Floating point only is needed for verbose output in xz. | |||||
2012-04-19 | liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed. | Lasse Collin | 1 | -1/+1 | |
2012-04-19 | Docs: Update MINIX 3 information in INSTALL. | Lasse Collin | 1 | -3/+5 | |
2012-02-22 | Update THANKS. | Lasse Collin | 1 | -0/+1 | |
2012-02-22 | Fix exit status of xzgrep when grepping binary files. | Lasse Collin | 1 | -1/+2 | |
When grepping binary files, grep may exit before it has read all the input. In this case, gzip -q returns 2 (eating SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status (e.g. 141). This causes wrong exit status when grepping xz- or bzip2-compressed binary files. The fix checks for the special exit status that indicates SIGPIPE. It uses kill -l which should be supported everywhere since it is in both SUSv2 (1997) and POSIX.1-2008. Thanks to James Buren for the bug report. | |||||
2012-02-22 | Update THANKS. | Lasse Collin | 1 | -0/+1 | |
2012-02-22 | Fix compiling with IBM XL C on AIX. | Lasse Collin | 2 | -15/+27 | |
2012-01-10 | Tests: Fix a compiler warning with _FORTIFY_SOURCE. | Lasse Collin | 1 | -1/+2 | |
Reported here: http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385 | |||||
2011-12-19 | Docs: Explain the stable releases better in README. | Lasse Collin | 1 | -1/+5 | |
2011-11-07 | xz: Show minimum required XZ Utils version in xz -lvv. | Lasse Collin | 1 | -6/+57 | |
Man page wasn't updated yet. | |||||
2011-11-04 | xz: Fix a typo in a comment. | Lasse Collin | 1 | -1/+1 | |
Thanks to Bela Lubkin. | |||||
2011-11-03 | Update THANKS. | Lasse Collin | 1 | -0/+1 | |
2011-11-03 | xz: Fix xz on EBCDIC systems. | Lasse Collin | 1 | -1/+4 | |
Thanks to Chris Donawa. | |||||
2011-10-23 | Update THANKS. | Lasse Collin | 1 | -0/+1 | |
2011-10-23 | liblzma: Fix invalid free() in the threaded encoder. | Lasse Collin | 1 | -0/+4 | |
It was triggered if initialization failed e.g. due to running out of memory. Thanks to Arkadiusz Miskiewicz. | |||||
2011-10-23 | liblzma: Fix a deadlock in the threaded encoder. | Lasse Collin | 1 | -1/+3 | |
It was triggered when reinitializing the encoder, e.g. when encoding two files. | |||||
2011-09-06 | Build: Fix "make check" on Windows. | Lasse Collin | 2 | -2/+7 | |
2011-08-09 | Update THANKS. | Lasse Collin | 1 | -0/+2 | |
2011-08-09 | Workaround unusual SIZE_MAX on SCO OpenServer. | Lasse Collin | 1 | -3/+6 | |
2011-08-06 | Run the scripts with the correct shell in test_scripts.sh. | Lasse Collin | 2 | -8/+8 | |
The scripts are now made executable in the build tree. This way the scripts can be run like programs in test_scripts.sh. Previously test_scripts.sh always used sh but it's not correct if @POSIX_SHELL@ is set to something else by configure. Thanks to Jonathan Nieder for the patch. | |||||
2011-07-31 | Fix exit status of "xzdiff foo.xz bar.xz". | Lasse Collin | 3 | -1/+59 | |
xzdiff was clobbering the exit status from diff in a case statement used to analyze the exit statuses from "xz" when its operands were two compressed files. Save and restore diff's exit status to fix this. The bug is inherited from zdiff in GNU gzip and was fixed there on 2009-10-09. Thanks to Jonathan Nieder for the patch and to Peter Pallinger for reporting the bug. | |||||
2011-06-16 | liblzma: Remove unneeded semicolon. | Lasse Collin | 1 | -1/+1 | |
2011-05-28 | Build: Make configure print if symbol versioning is enabled or not. | Lasse Collin | 1 | -0/+2 | |
2011-05-28 | Don't call close(-1) in tuklib_open_stdxxx() on error. | Lasse Collin | 1 | -1/+3 | |
Thanks to Jim Meyering. | |||||
2011-05-28 | liblzma: Use symbol versioning. | Lasse Collin | 5 | -0/+201 | |
Symbol versioning is enabled by default on GNU/Linux, other GNU-based systems, and FreeBSD. I'm not sure how stable this is, so it may need backward-incompatible changes before the next release. The idea is that alpha and beta symbols are considered unstable and require recompiling the applications that use those symbols. Once a symbol is stable, it may get extended with new features in ways that don't break compatibility with older ABI & API. The mydist target runs validate_map.sh which should catch some probable problems in liblzma.map. Otherwise I would forget to update the map file for new releases. | |||||
2011-05-28 | Translations: Update the Italian translation. | Lasse Collin | 1 | -149/+216 | |
Thanks to Milo Casagrande. | |||||
2011-05-28 | Tests: Add a test file for the bug in the previous commit. | Lasse Collin | 2 | -0/+4 | |
2011-05-27 | xz: Fix error handling in xz -lvv. | Lasse Collin | 1 | -15/+6 | |
It could do an invalid free() and read past the end of the uninitialized filters array. | |||||
2011-05-27 | liblzma: Handle allocation failures correctly in lzma_index_init(). | Lasse Collin | 1 | -2/+5 | |
Thanks to Jim Meyering. | |||||
2011-05-24 | Build: Fix checking for system-provided SHA-256. | Lasse Collin | 1 | -1/+1 | |
2011-05-23 | Build: Set GZIP_ENV=-9n in top-level Makefile.am. | Lasse Collin | 1 | -0/+3 | |
2011-05-22 | Update NEWS for 5.0.3. | Lasse Collin | 1 | -0/+32 | |
2011-05-21 | Add French translation. | Lasse Collin | 2 | -0/+865 | |
It is known that the BCJ filter --help text is only partially translated. | |||||
2011-05-21 | xz: Translate also the string used to print the program name. | Lasse Collin | 1 | -1/+5 | |
French needs a space before a colon, e.g. "xz : foo error". | |||||
2011-05-21 | liblzma: Try to use SHA-256 from the operating system. | Lasse Collin | 3 | -8/+131 | |
If the operating system libc or other base libraries provide SHA-256, use that instead of our own copy. Note that this doesn't use OpenSSL or libgcrypt or such libraries to avoid creating dependencies to other packages. This supports at least FreeBSD, NetBSD, OpenBSD, Solaris, MINIX, and Darwin. They all provide similar but not identical SHA-256 APIs; everyone is a little different. Thanks to Wim Lewis for the original patch, improvements, and testing. | |||||
2011-05-17 | Don't use clockid_t in mythread.h when clock_gettime() isn't available. | Lasse Collin | 1 | -0/+2 | |
Thanks to Wim Lewis for the patch. | |||||
2011-05-17 | Update THANKS. | Lasse Collin | 1 | -0/+3 | |
2011-05-17 | Update INSTALL with a note about linker problem on OpenSolaris x86. | Lasse Collin | 1 | -6/+17 | |
2011-05-17 | Build: Fix initialization of enable_check_* variables in configure.ac. | Lasse Collin | 1 | -1/+1 | |
This doesn't matter much in practice since it is unlikely that anyone would have such environment variable names. Thanks to Wim Lewis. | |||||
2011-05-17 | Add underscores to attributes (__attribute((__foo__))). | Lasse Collin | 25 | -47/+49 | |
2011-05-01 | xz: Fix input file position when --single-stream is used. | Lasse Collin | 3 | -0/+29 | |
Now the following works as you would expect: echo foo | xz > foo.xz echo bar | xz >> foo.xz ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz Note that it doesn't work if the input is not seekable or if there is Stream Padding between the concatenated .xz Streams. | |||||
2011-05-01 | xz: Print the maximum number of worker threads in xz -vv. | Lasse Collin | 1 | -0/+4 | |
2011-04-19 | Build: Warn if no supported method to detect the number of CPU cores. | Lasse Collin | 1 | -6/+5 | |
2011-04-19 | Update THANKS. | Lasse Collin | 1 | -0/+1 | |
2011-04-19 | Fix portability problems in mythread.h. | Lasse Collin | 2 | -4/+34 | |
Use gettimeofday() if clock_gettime() isn't available (e.g. Darwin). The test for availability of pthread_condattr_setclock() and CLOCK_MONOTONIC was incorrect. Instead of fixing the #ifdefs, use an Autoconf test. That way if there exists a system that supports them but doesn't specify the matching POSIX #defines, the features will still get detected. Don't try to use pthread_sigmask() on OpenVMS. It doesn't have that function. Guard mythread.h against being #included multiple times. | |||||
2011-04-18 | Update THANKS. | Lasse Collin | 1 | -0/+2 | |
2011-04-18 | xzgrep: fix typo in $0 parsing | Martin Väth | 1 | -2/+2 | |
Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org> Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||||
2011-04-12 | Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99.larhzu/v5.1.1alpha | Lasse Collin | 2 | -2/+2 | |
2011-04-12 | Put the unstable APIs behind #ifdef LZMA_UNSTABLE. | Lasse Collin | 3 | -0/+8 | |
This way people hopefully won't complain if these APIs change and break code that used an older API. | |||||
2011-04-12 | Remove doubled words from documentation and comments. | Lasse Collin | 6 | -7/+7 | |
Spot candidates by running these commands: git ls-files |xargs perl -0777 -n \ -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \ -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}' Thanks to Jim Meyering for the original patch. | |||||
2011-04-12 | Update NEWS. | Lasse Collin | 1 | -2/+45 | |
2011-04-12 | Update TODO. | Lasse Collin | 1 | -1/+11 | |
2011-04-12 | xz: Update the man page about threading. | Lasse Collin | 1 | -14/+20 | |
2011-04-11 | xz: Add support for threaded compression. | Lasse Collin | 2 | -80/+125 | |
2011-04-11 | liblzma: Add lzma_stream_encoder_mt() for threaded compression. | Lasse Collin | 8 | -1/+1539 | |
This is the simplest method to do threading, which splits the uncompressed data into blocks and compresses them independently from each other. There's room for improvement especially to reduce the memory usage, but nevertheless, this is a good start. | |||||
2011-04-11 | liblzma: Add the forgotten lzma_lzma2_block_size(). | Lasse Collin | 2 | -0/+12 | |
This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a. | |||||
2011-04-11 | liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too. | Lasse Collin | 1 | -0/+9 | |
2011-04-11 | liblzma: Document lzma_raw_(enc|dec)oder_memusage() better. | Lasse Collin | 1 | -2/+6 | |
It didn't mention the return value that is used if an error occurs. | |||||
2011-04-11 | liblzma: Use memzero() to initialize supported_actions[]. | Lasse Collin | 1 | -4/+2 | |
This is cleaner and makes it simpler to add new members to lzma_action enumeration. | |||||
2011-04-11 | liblzma: API comment about lzma_allocator with threaded coding. | Lasse Collin | 1 | -5/+13 | |
2011-04-11 | liblzma: Add an internal function lzma_mt_block_size(). | Lasse Collin | 2 | -26/+24 | |
This is based lzma_chunk_size() that was included in some development version of liblzma. | |||||
2011-04-11 | liblzma: Don't create an empty Block in lzma_stream_buffer_encode(). | Lasse Collin | 1 | -7/+13 | |
Empty Block was created if the input buffer was empty. Empty Block wastes a few bytes of space, but more importantly it triggers a bug in XZ Utils 5.0.1 and older when trying to decompress such a file. 5.0.1 and older consider such files to be corrupt. I thought that no encoder creates empty Blocks when releasing 5.0.2 but I was wrong. | |||||
2011-04-11 | liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK. | Lasse Collin | 2 | -0/+4 | |
This return value was missing from the API comments of four functions. | |||||
2011-04-11 | liblzma: Validate encoder arguments better. | Lasse Collin | 3 | -6/+20 | |
The biggest problem was that the integrity check type wasn't validated, and e.g. lzma_easy_buffer_encode() would create a corrupt .xz Stream if given an unsupported Check ID. Luckily applications don't usually try to use an unsupport Check ID, so this bug is unlikely to cause many real-world problems. | |||||
2011-04-11 | xz: Move the description of --block-size in --long-help. | Lasse Collin | 1 | -4/+4 | |
2011-04-11 | Docs: Document --single-stream and --block-size. | Lasse Collin | 1 | -2/+36 | |
2011-04-11 | liblzma: Make lzma_stream_encoder_init() static (second try). | Lasse Collin | 4 | -32/+6 | |
It's an internal function and it's not needed by anything outside stream_encoder.c. | |||||
2011-04-11 | Revert "liblzma: Make lzma_stream_encoder_init() static." | Lasse Collin | 3 | -4/+29 | |
This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7. I don't know what I was thinking. | |||||
2011-04-10 | Revise mythread.h. | Lasse Collin | 2 | -20/+181 | |
This adds: - mythread_sync() macro to create synchronized blocks - mythread_cond structure and related functions and macros for condition variables with timed waiting using a relative timeout - mythread_create() to create a thread with all signals blocked Some of these wouldn't need to be inline functions, but I'll keep them this way for now for simplicity. For timed waiting on a condition variable, librt is now required on some systems to use clock_gettime(). configure.ac was updated to handle this. | |||||
2011-04-10 | liblzma: Make lzma_stream_encoder_init() static. | Lasse Collin | 3 | -29/+4 | |
It's an internal function and it's not needed by anything outside stream_encoder.c. | |||||
2011-04-10 | DOS: Update the docs and include notes about 8.3 filenames. | Lasse Collin | 2 | -11/+125 | |
2011-04-10 | xz/DOS: Add experimental 8.3 filename support. | Lasse Collin | 1 | -9/+167 | |
This is incompatible with the 8.3 support patch made by Juan Manuel Guerrero. I think this one is nicer, but I need to get feedback from DOS users before saying that this is the final version of 8.3 filename support. | |||||
2011-04-10 | xz/DOS: Be more careful with the destination file. | Lasse Collin | 1 | -2/+33 | |
Try to avoid overwriting the source file if --force is used and the generated destination filename refers to the source file. This can happen with 8.3 filenames where extra characters are ignored. If the generated output file refers to a special file like "con" or "prn", refuse to write to it even if --force is used. | |||||
2011-04-09 | Update THANKS. | Lasse Collin | 1 | -0/+1 | |
2011-04-09 | liblzma: Add missing #ifdefs to filter_common.c. | Lasse Collin | 1 | -3/+3 | |
Passing --disable-decoders to configure broke a few encoders due to missing #ifdefs in filter_common.c. Thanks to Jason Gorski for the patch. | |||||
2011-04-09 | xz: Avoid unneeded fstat() on DOS-like systems. | Lasse Collin | 1 | -6/+8 | |
2011-04-09 | xz: Minor internal changes to handling of --threads. | Lasse Collin | 3 | -19/+18 | |
Now it always defaults to one thread. Maybe this will change again if a threading method is added that doesn't affect memory usage. | |||||
2011-04-08 | xz: Change size_t to uint32_t in a few places. | Lasse Collin | 2 | -4/+4 | |
2011-04-08 | xz: Fix a typo in a comment. | Lasse Collin | 1 | -1/+1 | |
2011-04-05 | liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c. | Lasse Collin | 1 | -3/+3 | |
2011-04-05 | Build: Upgrade m4/acx_pthread.m4 to the latest version. | Lasse Collin | 2 | -84/+88 | |
It was renamed to ax_pthread.m4 in Autoconf Archive. | |||||
2011-04-05 | xz: Use posix_fadvise() if it is available. | Lasse Collin | 2 | -0/+18 | |
2011-04-05 | xz: Call lzma_end(&strm) before exiting if debugging is enabled. | Lasse Collin | 3 | -0/+19 | |
2011-04-02 | liblzma: Fix a memory leak in stream_encoder.c. | Lasse Collin | 1 | -1/+1 | |
It leaks old filter options structures (hundred bytes or so) every time the lzma_stream is reinitialized. With the xz tool, this happens when compressing multiple files. | |||||
2011-04-01 | Updated NEWS for 5.0.2. | Lasse Collin | 1 | -0/+18 | |
2011-03-31 | Update INSTALL with another note about IRIX. | Lasse Collin | 1 | -0/+4 | |
2011-03-31 | Tests: Add a new file to test empty LZMA2 streams. | Lasse Collin | 2 | -0/+4 | |
2011-03-31 | liblzma: Fix decoding of LZMA2 streams having no uncompressed data. | Lasse Collin | 1 | -4/+4 | |
The decoder considered empty LZMA2 streams to be corrupt. This shouldn't matter much with .xz files, because no encoder creates empty LZMA2 streams in .xz. This bug is more likely to cause problems in applications that use raw LZMA2 streams. | |||||
2011-03-24 | Scripts: Better fix for xzgrep. | Lasse Collin | 1 | -2/+6 | |
Now it uses "grep -q". Thanks to Gregory Margo. | |||||
2011-03-24 | Updated THANKS. | Lasse Collin | 1 | -0/+1 | |
2011-03-24 | Scripts: Fix xzgrep -l. | Lasse Collin | 1 | -2/+2 | |
It didn't work at all. It tried to use the -q option for grep, but it appended it after "--". This works around it by redirecting to /dev/null. The downside is that this can be slower with big files compared to proper use of "grep -q". Thanks to Gregory Margo. | |||||
2011-03-19 | Scripts: Add lzop (.lzo) support to xzdiff and xzgrep. | Lasse Collin | 4 | -16/+28 | |
2011-03-18 | xz: Add --block-size=SIZE. | Lasse Collin | 4 | -10/+54 | |
This uses LZMA_FULL_FLUSH every SIZE bytes of input. Man page wasn't updated yet. | |||||
2011-03-18 | xz: Add --single-stream. | Lasse Collin | 4 | -3/+23 | |
This can be useful when there is garbage after the compressed stream (.xz, .lzma, or raw stream). Man page wasn't updated yet. | |||||
2011-02-06 | xz: Clean up suffix.c. | Lasse Collin | 1 | -24/+20 | |
struct suffix_pair isn't needed in compresed_name() so get rid of it there. | |||||
2011-02-06 | xz: Check if the file already has custom suffix when compressing. | Lasse Collin | 1 | -0/+9 | |
Now "xz -S .test foo.test" refuses to compress the file because it already has the suffix .test. The man page had it documented this way already. | |||||
2011-02-06 | Updated THANKS. | Lasse Collin | 1 | -0/+1 | |
2011-02-06 | Translations: Add Polish translation. | Lasse Collin | 2 | -0/+826 | |
Thanks to Jakub Bogusz. | |||||
2011-02-06 | Updated THANKS. | Lasse Collin | 1 | -0/+1 | |
2011-02-06 | Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d' | Lasse Collin | 2 | -8/+21 | |
2011-01-28 | Update NEWS for 5.0.1. | Lasse Collin | 1 | -0/+14 | |
2011-01-26 | xz: Fix --force on setuid/setgid/sticky and multi-hardlink files. | Lasse Collin | 1 | -8/+7 | |
xz didn't compress setuid/setgid/sticky files and files with multiple hard links even with --force. This bug was introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4. Thanks to Charles Wilson. | |||||
2011-01-19 | Merge branch 'v5.0' | Lasse Collin | 5 | -9/+17 | |
2011-01-18 | Updated THANKS. | Lasse Collin | 1 | -0/+1 | |
2011-01-18 | Add alloc_size and malloc attributes to a few functions. | Lasse Collin | 3 | -3/+10 | |
Thanks to Cristian Rodríguez for the original patch. | |||||
2010-12-13 | Scripts: Fix gzip and bzip2 support in xzdiff. | Lasse Collin | 1 | -6/+6 | |
2010-12-12 | Merge branch 'v5.0' | Lasse Collin | 4 | -5/+40 | |
2010-12-12 | Build: Enable ASM on DJGPP by default. | Lasse Collin | 1 | -1/+1 | |
2010-12-12 | Updated THANKS. | Lasse Collin | 1 | -0/+1 | |
2010-12-12 | Add missing PRIx32 and PRIx64 compatibility definitions. | Lasse Collin | 1 | -0/+9 | |
This fixes portability to systems that lack C99 inttypes.h. Thanks to Juan Manuel Guerrero. | |||||
2010-12-12 | DOS-like: Treat \ and : as directory separators in addition to /. | Lasse Collin | 1 | -4/+29 | |
Juan Manuel Guerrero had fixed this in his XZ Utils port to DOS/DJGPP. The bug affects also Windows and OS/2. | |||||
2010-12-07 | Merge branch 'v5.0' | Lasse Collin | 1 | -44/+44 | |
2010-12-07 | Translations: Fix Czech translation of "sparse file". | Lasse Collin | 1 | -44/+44 | |
Thanks to Petr Hubený and Marek Černocký. | |||||
2010-11-15 | Merge branch 'v5.0' | Lasse Collin | 2 | -1/+4 | |
2010-11-15 | liblzma: Document the return value of lzma_lzma_preset(). | Lasse Collin | 1 | -0/+3 | |
2010-11-13 | Simplify paths in generated API docs | Jonathan Nieder | 1 | -1/+1 | |
Currently the file list generated by Doxygen has src/ at the beginning of each path. Paths like common/sysdefs.h and liblzma/api/lzma.h are easier to read without such a prefix. Builds from a separate build directory with mkdir build cd build ../configure doxygen Doxyfile include an even longer prefix /home/someone/src/xz/src; this patch has the nice side-effect of eliminating that prefix, too. Fixes: http://bugs.debian.org/572273 | |||||
2010-11-08 | add build script for macosx universal | Anders F Bjorklund | 1 | -0/+92 | |
2010-11-04 | Update the copies of GPLv2 and LGPLv2.1 from gnu.org. | Lasse Collin | 2 | -16/+14 | |
There are only a few white space changes. | |||||
2010-10-26 | Merge branch 'v5.0' | Lasse Collin | 2 | -1/+7 | |
2010-10-26 | Build: Copy the example programs to $docdir/examples. | Lasse Collin | 2 | -1/+7 | |
The example programs by Daniel Mealha Cabrita were included in the git repository, but I had forgot to add them to Makefile.am. Thus, they didn't get included in the source package at all by "make dist". | |||||
2010-10-26 | liblzma: Rename a few variables and constants. | Lasse Collin | 8 | -186/+183 | |
This has no semantic changes. I find the new names slightly more logical and they match the names that are already used in XZ Embedded. The name fastpos wasn't changed (not worth the hassle). | |||||
2010-10-25 | Bump version 5.1.0alpha.larhzu/v5.1.0alpha | Lasse Collin | 1 | -2/+2 | |
2010-10-23 | Build: Fix mydist rule when .git doesn't exist.larhzu/v5.0.0 | Lasse Collin | 1 | -0/+1 | |
2010-10-23 | Add NEWS for 5.0.0. | Lasse Collin | 1 | -0/+62 | |
2010-10-23 | Bump version to 5.0.0 and liblzma version-info to 5:0:0. | Lasse Collin | 2 | -5/+5 | |
2010-10-23 | liblzma: Make lzma_code() check the reserved members in lzma_stream. | Lasse Collin | 1 | -0/+14 | |
If any of the reserved members in lzma_stream are non-zero or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible that a new feature in the future is indicated by just setting a reserved member to some other value, so the old liblzma version need to catch it as an unsupported feature. | |||||
2010-10-23 | Windows: Use MinGW's stdio functions. | Lasse Collin | 1 | -0/+5 | |
The non-standard ones from msvcrt.dll appear to work most of the time with XZ Utils, but there are some corner cases where things may go very wrong. So it's good to use the better replacements provided by MinGW(-w64) runtime. | |||||
2010-10-23 | liblzma: Use 512 as INDEX_GROUP_SIZE. | Lasse Collin | 1 | -1/+1 | |
This lets compiler use shifting instead of 64-bit division. | |||||
2010-10-23 | liblzma: A few ABI tweaks to reserve space in structures. | Lasse Collin | 3 | -7/+8 | |
2010-10-21 | xz: Make sure that message_strm() can never return NULL. | Lasse Collin | 1 | -2/+5 | |
2010-10-21 | liblzma: Update the comments in the API headers. | Lasse Collin | 14 | -107/+136 | |
Adding support for LZMA_FINISH for Index encoding and decoding needed tiny additions to the relevant .c files too. | |||||
2010-10-19 | Update INSTALL.generic. | Lasse Collin | 1 | -18/+81 | |
2010-10-19 | Clean up a few FIXMEs and TODOs. | Lasse Collin | 6 | -7/+8 | |
lzma_chunk_size() was commented out because it is currently useless. | |||||
2010-10-19 | Update docs. | Lasse Collin | 4 | -143/+172 | |
2010-10-12 | xz: Avoid raise() also on OpenVMS. | Lasse Collin | 1 | -1/+1 | |
This is similar to DOS/DJGPP that killing the program with a signal will print a backtrace or a similar message. | |||||
2010-10-11 | xz: Avoid SA_RESTART for portability reasons. | Lasse Collin | 3 | -23/+25 | |
SA_RESTART is not as portable as I had hoped. It's missing at least from OpenVMS, QNX, and DJGPP). Luckily we can do fine without SA_RESTART. | |||||
2010-10-10 | xz: Use "%"PRIu32 instead of "%d" in a format string. | Lasse Collin | 1 | -1/+1 | |
2010-10-10 | test_files.sh: Fix the first line. | Lasse Collin | 1 | -1/+1 | |
For some reason this prevented running the test only on OS/2 and even on that it broke only recently. Thanks to Elbert Pol. | |||||
2010-10-10 | lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t. | Lasse Collin | 1 | -1/+1 | |
2010-10-10 | lzmainfo: Use fileno(stdin) instead of STDIN_FILENO. | Lasse Collin | 1 | -1/+1 | |
2010-10-09 | lzmainfo: Use setmode() on DOS-like systems. | Lasse Collin | 1 | -0/+9 | |
2010-10-09 | OS/2 and DOS: Be less verbose on signals. | Lasse Collin | 1 | -0/+7 | |
Calling raise() to kill xz when user has pressed C-c is a bit verbose on OS/2 and DOS/DJGPP. Instead of calling raise(), set only the exit status to 1. | |||||
2010-10-09 | DOS: Update the Makefile, config.h and README. | Lasse Collin | 3 | -243/+86 | |
This is now simpler and builds only xz.exe. | |||||
2010-10-09 | Windows: Put some license info into README-Windows.txt. | Lasse Collin | 1 | -4/+4 | |
2010-10-09 | Windows: Fix a diagnostics bug in build.bash. | Lasse Collin | 1 | -1/+1 | |
2010-10-09 | lzmainfo: Add Windows resource file. | Lasse Collin | 2 | -0/+21 | |
2010-10-09 | Add missing public domain notice to lzmadec_w32res.rc. | Lasse Collin | 1 | -0/+7 | |
2010-10-09 | Windows: Update common_w32res.rc. | Lasse Collin | 1 | -6/+3 | |
2010-10-09 | Windows: Make build.bash prefer MinGW-w32 over MinGW. | Lasse Collin | 1 | -9/+9 | |
This is simply for licensing reasons. The 64-bit version will be built with MinGW-w64 anyway (at least for now), so using it also for 32-bit build allows using the same copyright notice about the MinGW-w64/w32 runtime. Note that using MinGW would require a copyright notice too, because its runtime is not in the public domain either even though MinGW's home page claims that it is public domain. See <http://marc.info/?l=mingw-users&m=126489506214078>. | |||||
2010-10-09 | Windows: Copy COPYING-Windows.txt (if it exists) to the package. | Lasse Collin | 1 | -2/+12 | |
Also, put README-Windows.txt to the doc directory like the other documentation files. | |||||
2010-10-08 | Windows: Fix build.bash again. | Lasse Collin | 1 | -3/+4 | |
630a8beda34af0ac153c8051b1bf01230558e422 wasn't good. | |||||
2010-10-08 | Use LZMA_VERSION_STRING instead of PACKAGE_VERSION. | Lasse Collin | 1 | -1/+1 | |
Those are the same thing, and the former makes it a bit easier to build the code with other build systems, because one doesn't need to update the version number into custom config.h. This change affects only lzmainfo. Other tools were already using LZMA_VERSION_STRING. | |||||
2010-10-08 | configure.ac: Remove two unused defines. | Lasse Collin | 1 | -4/+0 | |
2010-10-08 | Make tests accommodate missing xz or xzdec. | Lasse Collin | 2 | -19/+56 | |
2010-10-08 | Build: Add options to disable individual command line tools. | Lasse Collin | 5 | -40/+93 | |
2010-10-07 | Windows: Make build.bash work without --enable-dynamic=no. | Lasse Collin | 1 | -2/+2 | |
2010-10-05 | Build: Remove the static/dynamic tricks. | Lasse Collin | 6 | -91/+5 | |
Most distros want xz linked against shared liblzma, so it doesn't help much to require --enable-dynamic for that. Those who want to avoid PIC on x86-32 to get better performance, can still do it e.g. by using --disable-shared to compile xz and then another pass to compile shared liblzma. Part of these static/dynamic tricks were needed for Windows in the past. Nowadays we rely on GCC and binutils to do the right thing with auto-import. If the Autotooled build system needs to support some other toolchain on Windows in the future, this may need some rethinking. | |||||
2010-10-05 | configure.ac: Silence a warning from Autoconf 2.68. | Lasse Collin | 1 | -1/+1 | |
2010-10-04 | A few more languages files to the xz man page. | Lasse Collin | 1 | -21/+24 | |
Thanks to Jonathan Nieder. | |||||
2010-10-02 | Update the FAQ. | Lasse Collin | 1 | -4/+100 | |
2010-10-02 | liblzma: Small fixes to comments in the API headers. | Lasse Collin | 1 | -3/+7 | |
2010-09-28 | Create the PDF versions of the man pages better. | Lasse Collin | 2 | -6/+66 | |
2010-09-28 | Move version.sh to build-aux. | Lasse Collin | 4 | -4/+4 | |
2010-09-28 | Update .gitignore. | Lasse Collin | 1 | -1/+9 | |
2010-09-28 | Fix accomodate -> accommodate on the xz man page. | Lasse Collin | 1 | -1/+1 | |
2010-09-27 | Major man page updates. | Lasse Collin | 7 | -641/+1435 | |
Lots of content was updated on the xz man page. Technical improvements: - Start a new sentence on a new line. - Use fairly short lines. - Use constant-width font for examples (where supported). - Some minor cleanups. Thanks to Jonathan Nieder for some language fixes. | |||||
2010-09-26 | Fix the preset -3e. | Lasse Collin | 1 | -0/+1 | |
depth=0 was missing. | |||||
2010-09-23 | Add translations.bash and translation notes to README. | Lasse Collin | 2 | -4/+192 | |
translations.bash prints some messages from xz, which hopefully makes it a bit easier to test translations. |