commit 20778053a07eb90c159c1377ca8dc05a90fd530b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-06-22 14:36:16 +0300

    xz: Update man page date to match the latest update.

 src/xz/xz.1 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2cefa84af676da37d7e9c466d55d46c67ab00c22
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-06-22 10:25:43 +0300

    Bump version and soname for 5.0.4.

 src/liblzma/Makefile.am        |    2 +-
 src/liblzma/api/lzma/version.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 433fec191a17e45690809e54146ea7a773f54cff
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-06-22 10:25:09 +0300

    Update NEWS for 5.0.4.

 NEWS |   25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

commit 711fa680f552a4003df73b37e6dc4d6e00b47bcd
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-06-18 21:27:47 +0300

    Docs: Language fix to 01_compress_easy.c.
    
    Thanks to Jonathan Nieder.

 doc/examples/01_compress_easy.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3d7ab1dc61a75c560828be5df96598388b771456
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-06-14 20:15:30 +0300

    Fix the top-level Makefile.am for the new example programs.

 Makefile.am |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

commit ef8b8e5f111469b5bc005975f7abb9abbd372b25
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-06-14 10:52:33 +0300

    Docs: Add new example programs.
    
    These have more comments than the old examples and
    human-readable error messages. More tutorial-like examples
    are needed but these are a start.

 doc/examples/00_README.txt        |   27 ++++
 doc/examples/01_compress_easy.c   |  297 +++++++++++++++++++++++++++++++++++++
 doc/examples/02_decompress.c      |  287 +++++++++++++++++++++++++++++++++++
 doc/examples/03_compress_custom.c |  193 ++++++++++++++++++++++++
 doc/examples/Makefile             |   23 +++
 5 files changed, 827 insertions(+)

commit 75c149bc8045a26f8bc719cb8ed20668dab79091
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-06-14 10:33:27 +0300

    Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old.
    
    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.

 doc/examples/xz_pipe_comp.c       |  127 -------------------------------------
 doc/examples/xz_pipe_decomp.c     |  123 -----------------------------------
 doc/examples_old/xz_pipe_comp.c   |  127 +++++++++++++++++++++++++++++++++++++
 doc/examples_old/xz_pipe_decomp.c |  123 +++++++++++++++++++++++++++++++++++
 4 files changed, 250 insertions(+), 250 deletions(-)

commit 456307ebf947a5f50bd995d617b99c1215572308
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-06-14 10:33:01 +0300

    Docs: Fix a bug in xz_pipe_decomp.c example program.

 doc/examples/xz_pipe_decomp.c |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

commit 4c310b8a29bc257e6ccbd2310f12f258678f3fef
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-31 15:53:25 +0300

    Translations: Update the Italian translation.
    
    Thanks to Milo Casagrande.

 po/it.po |  311 +++++++++++++++++++++++++++++---------------------------------
 1 file changed, 146 insertions(+), 165 deletions(-)

commit ec32b79366dc47a55ea877589df9e8509ba113a7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-30 23:15:07 +0300

    Translations: Update the French translation.
    
    Thanks to Adrien Nader.

 po/fr.po |  237 +++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 118 insertions(+), 119 deletions(-)

commit dd06f40e4dd7649525e4f28d890dc238a3aa37e5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-29 22:26:27 +0300

    Translations: Update the German translation.

 po/de.po |  169 +++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 91 insertions(+), 78 deletions(-)

commit c66808d1f55d0149ed57c536cc9b52e9c8b583bc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-29 22:12:57 +0300

    Translations: Update Polish translation.

 po/pl.po |  150 ++++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 82 insertions(+), 68 deletions(-)

commit 556c22dfed195c1466b298183b850d6c28544900
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-29 13:10:36 +0300

    Preliminary NEWS for 5.0.4.

 NEWS |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

commit dd13b66bf582f49d3aec36e3410ff8541b7506da
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-28 20:42:11 +0300

    liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.
    
    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.

 src/liblzma/simple/simple_coder.c |    2 +-
 tests/Makefile.am                 |    4 +-
 tests/test_bcj_exact_size.c       |  112 +++++++++++++++++++++++++++++++++++++
 3 files changed, 116 insertions(+), 2 deletions(-)

commit a0223bf796fdaad51a11ad02c4195c694849cc78
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-28 15:38:32 +0300

    Update THANKS.

 THANKS |    1 +
 1 file changed, 1 insertion(+)

commit 86e57e4bfefe3fd8e13615c41604165bb2359501
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-28 15:37:43 +0300

    xz: Don't show a huge number in -vv when memory limit is disabled.

 src/xz/message.c |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

commit 13e44a94da19d1ef14832ff12d3877a6fd2c54c0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-27 22:30:17 +0300

    xz: Document the "summary" lines of --robot -lvv.
    
    This documents only the columns that are in v5.0.
    The new columns added in the master branch aren't
    necessarily stable yet.

 src/xz/xz.1 |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

commit 2f90345e13ab8fea4de45a4f1caa73ebc63a62e7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-27 21:53:20 +0300

    xz: Fix output of verbose --robot --list modes.
    
    It printed the filename in "filename (x/y)" format
    which it obviously shouldn't do in robot mode.

 src/xz/message.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8d4864f53ffae5d862c691a0b334a6b69bc5366e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-10 21:15:17 +0300

    Update THANKS.

 THANKS |    1 +
 1 file changed, 1 insertion(+)

commit 35e9c58abb0ce3993da844aaeaa3e7231cd2be8f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-10 21:14:16 +0300

    Docs: Cleanup line wrapping a bit.

 README          |   12 ++++++------
 doc/history.txt |   49 +++++++++++++++++++++++++------------------------
 2 files changed, 31 insertions(+), 30 deletions(-)

commit 532b3e4c568a228309b56f95c13435fd078dbe02
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   2012-03-13 22:04:04 +0100

    Fix a few typos and add some missing articles in some documents.
    
    Also hyphenate several compound adjectives.
    
    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>

 AUTHORS         |    6 +++---
 README          |   42 ++++++++++++++++++++--------------------
 doc/faq.txt     |   24 +++++++++++------------
 doc/history.txt |   58 +++++++++++++++++++++++++++----------------------------
 4 files changed, 65 insertions(+), 65 deletions(-)

commit afb6ce8c82ffef8f2505a3759da72a733c7b0b8f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-04-29 11:51:25 +0300

    Windows: Update notes about static linking with MSVC.

 windows/README-Windows.txt |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

commit 7c3ba2ed5c3c878d4a14ca549b46dbff60c6d565
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-04-19 15:25:26 +0300

    liblzma: Remove outdated comments.

 src/liblzma/simple/simple_coder.c   |    3 ---
 src/liblzma/simple/simple_private.h |    3 +--
 2 files changed, 1 insertion(+), 5 deletions(-)

commit f55db9c187651094f43881c49db2b2d9ffee6b80
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-04-19 14:17:52 +0300

    DOS: Link against DJGPP's libemu to support FPU emulation.
    
    This way xz should work on 386SX and 486SX. Floating point
    only is needed for verbose output in xz.

 dos/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 203edff4c761dbd7cac76ea66e4eed501c23e7a3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-04-19 13:58:55 +0300

    Docs: Update MINIX 3 information in INSTALL.

 INSTALL |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit f0a8f95c215628967b7cf9bd9b0a9e4172f50bb4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-02-22 14:23:13 +0200

    Update THANKS.

 THANKS |    1 +
 1 file changed, 1 insertion(+)

commit b7ad23fa78646036c0290cd91eada939c9a31526
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-02-22 14:02:34 +0200

    Fix exit status of xzgrep when grepping binary files.
    
    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.

 src/scripts/xzgrep.in |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 4e19fbb04a0035030406482319e264426459eb24
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-02-22 12:08:43 +0200

    Update THANKS.

 THANKS |    1 +
 1 file changed, 1 insertion(+)

commit c6fa03a427e3d1320794102cee3ff4f5ae00eb36
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-24 18:47:52 +0300

    Fix compiling with IBM XL C on AIX.

 INSTALL      |   36 ++++++++++++++++++++++--------------
 configure.ac |    6 +++++-
 2 files changed, 27 insertions(+), 15 deletions(-)

commit 7b6ffc98645e1b3b302b6680be0a901d1ebf7358
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-05-24 18:37:08 +0300

    Build: Upgrade m4/acx_pthread.m4 to the latest version.
    
    It was renamed to ax_pthread.m4 in Autoconf Archive.

 configure.ac      |    2 +-
 m4/acx_pthread.m4 |  279 -----------------------------------------------
 m4/ax_pthread.m4  |  309 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 310 insertions(+), 280 deletions(-)

commit bfac2be5023994fcc53de2844e7dd3af61910dc2
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2012-01-10 17:13:03 +0200

    Tests: Fix a compiler warning with _FORTIFY_SOURCE.
    
    Reported here:
    http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385

 tests/create_compress_files.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit df85e156716a4eecb7e2978691f03f729444d998
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-12-19 21:21:29 +0200

    Docs: Explain the stable releases better in README.

 README |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit d06d32f108c8278c25c24b2e8666bda7b2ec23b5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-11-04 17:57:16 +0200

    xz: Fix a typo in a comment.
    
    Thanks to Bela Lubkin.

 src/xz/args.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 636fdcfbf542f1e84db2c4736004d84be4b12c84
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-11-03 17:08:02 +0200

    Update THANKS.

 THANKS |    1 +
 1 file changed, 1 insertion(+)

commit 55fd02f83ecd6cbd6925a3e8a3d43b8d4ef2a17c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-11-03 17:07:22 +0200

    xz: Fix xz on EBCDIC systems.
    
    Thanks to Chris Donawa.

 src/xz/coder.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 4052f36053b931bad847a36aabf1a07d0034e297
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-09-06 12:03:41 +0300

    Build: Fix "make check" on Windows.

 tests/Makefile.am  |    7 +++++--
 windows/build.bash |    2 ++
 2 files changed, 7 insertions(+), 2 deletions(-)

commit 0f25758459c74c366a73f35d47ee12b75890bb79
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-08-09 21:19:13 +0300

    Update THANKS.

 THANKS |    2 ++
 1 file changed, 2 insertions(+)

commit 70f03b51ffcb783646b20de8d97b6986c4280eec
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-08-09 21:16:44 +0300

    Workaround unusual SIZE_MAX on SCO OpenServer.

 src/common/sysdefs.h |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit f138bdf76a70029e8360062a0b227936b83b24c9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-08-06 20:37:28 +0300

    Run the scripts with the correct shell in test_scripts.sh.
    
    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.

 configure.ac          |    8 ++++----
 tests/test_scripts.sh |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

commit 2c144a0365c84dbf1b6722466746d42f2563a319
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-07-31 11:01:47 +0300

    Fix exit status of "xzdiff foo.xz bar.xz".
    
    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.

 src/scripts/xzdiff.in |    2 ++
 tests/Makefile.am     |    4 +++-
 tests/test_scripts.sh |   54 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+), 1 deletion(-)

commit edf339227a966f24aebe1845fcca9429b8f6e318
Author: Anders F Bjorklund <afb@users.sourceforge.net>
Date:   2010-11-05 12:56:11 +0100

    add build script for macosx universal

 macosx/build.sh |   92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 92 insertions(+)

commit 7fcc6334ea8923550ba6b5347ff99dc8432234b0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-06-16 12:15:29 +0300

    liblzma: Remove unneeded semicolon.

 src/liblzma/lz/lz_encoder_hash.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 631f4d3ae6adfda84d1a110781d9402c12e16cfc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-28 16:43:26 +0300

    Don't call close(-1) in tuklib_open_stdxxx() on error.
    
    Thanks to Jim Meyering.

 src/common/tuklib_open_stdxxx.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit c89faf4c9e5970e7f7f8a25521ed9aa62d1a2d9a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-28 09:47:56 +0300

    Translations: Update Italian translation.
    
    Thanks to Milo Casagrande.

 po/it.po |  333 ++++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 184 insertions(+), 149 deletions(-)

commit 6fe2fc9b6ab5bf6848140823e9536370834f42fb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-28 08:46:04 +0300

    Tests: Add a test file for the bug in the previous commit.

 tests/files/README                  |    4 ++++
 tests/files/bad-1-block_header-6.xz |  Bin 0 -> 72 bytes
 2 files changed, 4 insertions(+)

commit 6c4d4db2bc8d8b682bd927144d37daa2ab21a6d6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-27 22:25:44 +0300

    xz: Fix error handling in xz -lvv.
    
    It could do an invalid free() and read past the end
    of the uninitialized filters array.

 src/xz/list.c |   21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

commit 844f84fcad9670c543550edf7c7e42630c8f7715
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-27 22:09:49 +0300

    liblzma: Handle allocation failures correctly in lzma_index_init().
    
    Thanks to Jim Meyering.

 src/liblzma/common/index.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 240e8b9791df597063a3b68d04ffcb3aa4f2de6a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-23 18:30:30 +0300

    Build: Set GZIP_ENV=-9n in top-level Makefile.am.

 Makefile.am |    3 +++
 1 file changed, 3 insertions(+)

commit e32cb264ea72a4459810f30abad70dae5a4fa17d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-21 16:59:22 +0300

    Bump version and soname for 5.0.3.

 src/liblzma/Makefile.am        |    2 +-
 src/liblzma/api/lzma/version.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 65cff45f8fd1c250491557157cce0f5f38481082
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-21 16:56:53 +0300

    Update NEWS for 5.0.3.

 NEWS |   36 ++++++++++++++++++++++++++++++++++--
 1 file changed, 34 insertions(+), 2 deletions(-)

commit 316c67ffdae1f811ac95e838d5290a013bff4ca7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-21 16:28:44 +0300

    Add French translation.
    
    It is known that the BCJ filter --help text is only
    partially translated.

 po/LINGUAS |    1 +
 po/fr.po   |  864 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 865 insertions(+)

commit 1931175eea6d09c0845d6e8e334a7333647f11c0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-21 15:12:10 +0300

    xz: Translate also the string used to print the program name.
    
    French needs a space before a colon, e.g. "xz : foo error".

 src/xz/message.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 841dc1f891b48b23f84c0f0e0c86c7c4e4bdcdf5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-17 12:26:28 +0300

    Update THANKS.

 THANKS |    3 +++
 1 file changed, 3 insertions(+)

commit 0f7e2d36240ebf1159d5fb85d8cd7422337a0d3f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-17 12:21:33 +0300

    Update INSTALL with a note about linker problem on OpenSolaris x86.

 INSTALL |   23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

commit 793d857e01e1725f16fc0c8af8172c91a9e38617
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-17 12:01:37 +0300

    Build: Fix initialization of enable_check_* variables in configure.ac.
    
    This doesn't matter much in practice since it is unlikely
    that anyone would have such environment variable names.
    
    Thanks to Wim Lewis.

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit afcff45cee04c5c7d9c333504046ffb63d1418b5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-05-17 11:54:38 +0300

    Add underscores to attributes (__attribute((__foo__))).

 src/liblzma/common/alone_decoder.c |    2 +-
 src/liblzma/common/alone_encoder.c |    2 +-
 src/liblzma/common/block_encoder.c |    2 +-
 src/liblzma/common/common.c        |    2 +-
 src/liblzma/common/common.h        |    2 +-
 src/liblzma/common/index_decoder.c |    9 +++++----
 src/liblzma/common/index_encoder.c |   11 ++++++-----
 src/liblzma/delta/delta_encoder.c  |    2 +-
 src/liblzma/lz/lz_decoder.c        |    2 +-
 src/liblzma/lz/lz_encoder.c        |    2 +-
 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  |    2 +-
 src/liblzma/simple/sparc.c         |    2 +-
 src/lzmainfo/lzmainfo.c            |    4 ++--
 src/xz/coder.c                     |    2 +-
 src/xz/hardware.h                  |    2 +-
 src/xz/message.c                   |    2 +-
 src/xz/message.h                   |   18 +++++++++---------
 src/xz/options.c                   |    6 +++---
 src/xz/signals.c                   |    2 +-
 src/xz/util.h                      |    6 +++---
 src/xzdec/xzdec.c                  |    6 +++---
 25 files changed, 49 insertions(+), 47 deletions(-)

commit 22159c6ba2300a006f2e46ce85ae132e2d2f7d57
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-04-18 19:35:49 +0300

    Update THANKS.

 THANKS |    2 ++
 1 file changed, 2 insertions(+)

commit 5e3499059515033d1ce44b6fb0fa49183c7ac633
Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
Date:   2011-04-15 04:54:49 -0400

    xzgrep: fix typo in $0 parsing
    
    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>

 src/scripts/xzgrep.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 1125611b9b8d4a209b6a73d2c76e1b39c065972a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-04-12 11:59:49 +0300

    Remove doubled words from documentation and comments.
    
    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.

 doc/lzma-file-format.txt           |    4 ++--
 src/liblzma/common/alone_encoder.c |    2 +-
 src/liblzma/lzma/lzma2_encoder.c   |    2 +-
 src/xz/file_io.c                   |    2 +-
 src/xz/xz.1                        |    2 +-
 windows/INSTALL-Windows.txt        |    2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

commit 3f8fa53837bae8b44f3addf19923e26401336c3d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-04-11 21:04:13 +0300

    liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.

 src/liblzma/api/lzma/container.h |    9 +++++++++
 1 file changed, 9 insertions(+)

commit 320d734c20d0776e3eb80f6b5984ddeb494715b5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-04-11 20:59:07 +0300

    liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
    
    It didn't mention the return value that is used if
    an error occurs.

 src/liblzma/api/lzma/filter.h |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit 2ee4edeffc8d9734bf68230df31b20ac6a94c9b5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-04-11 13:59:50 +0300

    liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
    
    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.

 src/liblzma/common/stream_buffer_encoder.c |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

commit 73f56fb87d54091d0c4fd22d70e6f042902e3b63
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-04-11 13:28:40 +0300

    liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
    
    This return value was missing from the API comments of
    four functions.

 src/liblzma/api/lzma/block.h     |    1 +
 src/liblzma/api/lzma/container.h |    3 +++
 2 files changed, 4 insertions(+)

commit 4ce1cf97a88ae1640a380dd19cbc255d729f966b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-04-11 13:21:28 +0300

    liblzma: Validate encoder arguments better.
    
    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.

 src/liblzma/common/block_buffer_encoder.c  |   18 ++++++++++++------
 src/liblzma/common/block_encoder.c         |    5 +++++
 src/liblzma/common/stream_buffer_encoder.c |    3 +++
 3 files changed, 20 insertions(+), 6 deletions(-)

commit 972f05d7a4268dbe42573701f83faa45d03249eb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-04-09 18:29:30 +0300

    Update THANKS.

 THANKS |    1 +
 1 file changed, 1 insertion(+)

commit 28154eeaf6e3442cd1e174f4e81266d60c4dac60
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-04-09 18:28:58 +0300

    liblzma: Add missing #ifdefs to filter_common.c.
    
    Passing --disable-decoders to configure broke a few
    encoders due to missing #ifdefs in filter_common.c.
    
    Thanks to Jason Gorski for the patch.

 src/liblzma/common/filter_common.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit aa95516d3d509c6b7895ee519004afcf500a0759
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-04-02 14:49:56 +0300

    liblzma: Fix a memory leak in stream_encoder.c.
    
    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.

 src/liblzma/common/stream_encoder.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 58f52c72f49562a08042da9a2f4bbdf4dd162d0c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-04-01 08:47:46 +0300

    Bumped version and liblzma soname to 5.0.2.

 src/liblzma/Makefile.am        |    2 +-
 src/liblzma/api/lzma/version.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 162779682e01d15f0ce386ef7f40d1be05ad0053
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-04-01 08:47:20 +0300

    Updated NEWS for 5.0.2.

 NEWS |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

commit 45553f9b4b0175c292023010dc41520347004852
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-03-31 15:06:58 +0300

    Update INSTALL with another note about IRIX.

 INSTALL |    4 ++++
 1 file changed, 4 insertions(+)

commit af9d48d5515eadef689b1ce9ffb91e4dbcbc7f35
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-03-31 12:22:55 +0300

    Tests: Add a new file to test empty LZMA2 streams.

 tests/files/README            |    4 ++++
 tests/files/good-1-lzma2-5.xz |  Bin 0 -> 52 bytes
 2 files changed, 4 insertions(+)

commit d099ef9f517b59ab8e3b6f6aa0543c3643983470
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-03-31 11:54:48 +0300

    liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
    
    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.

 src/liblzma/lzma/lzma2_decoder.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit df87249b26e79a75fd91041e85512944fc247b57
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-03-24 01:42:49 +0200

    Scripts: Better fix for xzgrep.
    
    Now it uses "grep -q".
    
    Thanks to Gregory Margo.

 src/scripts/xzgrep.in |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit 68c453e1c7b09dc9c7d2ef9d994c46f5b367f5d3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-03-24 01:22:18 +0200

    Updated THANKS.

 THANKS |    1 +
 1 file changed, 1 insertion(+)

commit b441d39855516ae618faffd5156261b8b413394f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-03-24 01:21:32 +0200

    Scripts: Fix xzgrep -l.
    
    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.

 src/scripts/xzgrep.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 82d5164839517f55daeadd9ee88c76425db30224
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-02-04 22:49:31 +0200

    xz: Clean up suffix.c.
    
    struct suffix_pair isn't needed in compresed_name()
    so get rid of it there.

 src/xz/suffix.c |   44 ++++++++++++++++++++------------------------
 1 file changed, 20 insertions(+), 24 deletions(-)

commit 6decc8b41882c2250f0450eb87b83c9fbf495e95
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-02-04 11:29:47 +0200

    xz: Check if the file already has custom suffix when compressing.
    
    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.

 src/xz/suffix.c |    9 +++++++++
 1 file changed, 9 insertions(+)

commit ecda90061df8d39399e707e5c76c2ec0a0f400e5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-02-02 23:01:51 +0200

    Updated THANKS.

 THANKS |    1 +
 1 file changed, 1 insertion(+)

commit 0fda1ae5b1aa0a5c629a09e5228db8ba1cd0dd5f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-02-02 23:00:33 +0200

    Translations: Add Polish translation.
    
    Thanks to Jakub Bogusz.

 po/LINGUAS |    1 +
 po/pl.po   |  825 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 826 insertions(+)

commit 00be32978fedc5038748438bf685ac1713d1db83
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-02-02 22:24:00 +0200

    Updated THANKS.

 THANKS |    1 +
 1 file changed, 1 insertion(+)

commit 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-01-28 20:26:38 +0200

    Bump package version and liblzma soname to 5.0.1.

 src/liblzma/Makefile.am        |    2 +-
 src/liblzma/api/lzma/version.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 5fbce0b8d96dc96775aa0215e3581addc830e23d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-01-28 20:16:57 +0200

    Update NEWS for 5.0.1.

 NEWS |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

commit 03ebd1bbb314f9f204940219a835c883bf442475
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-01-26 12:19:08 +0200

    xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
    
    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.

 src/xz/file_io.c |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2011-01-18 21:25:24 +0200

    Updated THANKS.

 THANKS |    1 +
 1 file changed, 1 insertion(+)

