commit 3ec664d3f652133136587a51d4505b1abe1acdd7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-29 18:03:51 +0300

    Bump version and soname for 5.6.2

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

commit 3cc0aa702e50b786c52c6f3d3f831a635c4df197
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-29 18:03:04 +0300

    Add NEWS for 5.6.2

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

commit 526d3f7f2c2d5e134157d08b37fb5fd0b125799e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-29 18:03:04 +0300

    Add NEWS for 5.4.7

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

commit 660b09279e8f544acf120d29194d5c3051b484eb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-29 18:03:04 +0300

    Add NEWS for 5.2.13

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

commit 7d76282dac766c0ced8ae24e0f7ce0005f3e377d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-29 17:47:13 +0300

    Translations: Run po4a/update-po
    
    Now the files are in the new formatting without source file
    line numbers. Future updates should keep the diffs much smaller.

 po4a/de.po    | 1592 ++++++++++---------
 po4a/fr.po    | 4450 +++++++++++++++++-----------------------------------
 po4a/ko.po    | 1592 ++++++++++---------
 po4a/pt_BR.po | 4817 ++++++++++++++++++---------------------------------------
 po4a/ro.po    | 1592 ++++++++++---------
 po4a/uk.po    | 1592 ++++++++++---------
 6 files changed, 6114 insertions(+), 9521 deletions(-)

commit 4470c3f7d8954bb47b280ec07ad0bd4be2223083
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-29 17:44:53 +0300

    Translations: Run "make -C po update-po"
    
    In the past this wasn't done before releases; the Git repository
    just contained the files from the Translation Project. But this
    way it is clearer when comparing release tarballs against the
    Git repository. In future releases this might no longer be necessary
    within a stable branch as the .po files won't change so easily anymore
    when creating a tarball.

 po/ca.po    | 567 +++++++++++++++++++++++++---------------
 po/cs.po    | 821 +++++++++++++++++++++++++++++++++++++--------------------
 po/da.po    | 809 +++++++++++++++++++++++++++++++++++---------------------
 po/de.po    | 403 ++++++++++++++--------------
 po/eo.po    | 403 ++++++++++++++--------------
 po/es.po    | 403 ++++++++++++++--------------
 po/fi.po    | 578 +++++++++++++++++++++++++---------------
 po/fr.po    | 538 +++++++++++++++++++++++---------------
 po/hr.po    | 403 ++++++++++++++--------------
 po/hu.po    | 403 ++++++++++++++--------------
 po/it.po    | 854 +++++++++++++++++++++++++++++++++++++++---------------------
 po/ko.po    | 403 ++++++++++++++--------------
 po/pl.po    | 403 ++++++++++++++--------------
 po/pt.po    | 842 +++++++++++++++++++++++++++++++++++++++--------------------
 po/pt_BR.po | 567 +++++++++++++++++++++++++---------------
 po/ro.po    | 403 ++++++++++++++--------------
 po/sr.po    | 838 ++++++++++++++++++++++++++++++++++++++--------------------
 po/sv.po    | 403 ++++++++++++++--------------
 po/tr.po    | 567 +++++++++++++++++++++++++---------------
 po/uk.po    | 403 ++++++++++++++--------------
 po/vi.po    | 403 ++++++++++++++--------------
 po/zh_CN.po | 417 +++++++++++++++--------------
 po/zh_TW.po | 558 ++++++++++++++++++++++++---------------
 23 files changed, 7257 insertions(+), 5132 deletions(-)

commit 33b8a85face5392b5ac843bdbe3a72f024cad6ef
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-29 16:33:24 +0300

    Build: Update po/*.po files only when needed
    
    When po/xz.pot doesn't exist, running "make" or "make dist" will
    create it. Then the .po files will be updated but only if they
    actually would change more than the POT-Creation-Date line.
    Then the .gmo files would be generated from the .po files.
    This is the case before and after this commit.
    
    However, "make dist" and thus "make mydist" did a forced update
    to the files, updating them even if the only change was the
    POT-Creation-Date line. This had pros and cons: It made it clear
    that the .po file really is in sync with the recent strings in
    the package. On the other hand, it added noise in form of changed
    files in the source tree and distribution tarballs. It can be
    ignored with something like "diff -I'^"POT-Creation-Date: '" but
    it's still a minor annoyance *if* there's not enough value in
    having the most recent timestamp.
    
    Setting DIST_DEPENDS_ON_UPDATE_PO = no means that such forced
    update won't happen in "make dist" anymore. However, the "mydist"
    target will use xz.pot-update target which is the same target that
    is run when xz.pot doesn't exist at all yet. Thus "mydist" will
    ensure that the translations are up to date, without noise from
    changes that would affect only the POT-Creation-Date line.
    
    Note that po4a always uses msgmerge with --update, so POT-Creation-Date
    in the man page translations is never the only change in .po files.
    In that sense this commit makes the message translations behave more
    similarly to the man page translations.
    
    Distribution tarballs will still have non-reproducible POT-Creation-Date
    in po/xz.pot and po4a/xz-man.pot but those are just two files. Even they
    could be made reproducible from a Git timestamp if desired.
    
    (cherry picked from commit 9284f1aea31f0eb23e2ea72f7218b271e2234762)

 Makefile.am | 3 ++-
 po/Makevars | 6 +++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

commit 09daebd66b55799bbc495b84310a86c91bbfc1c8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-28 21:10:33 +0300

    po4a/update-po: Disable wrapping in .pot and .po files
    
    The .po files from the Translation Project come with unwrapped
    strings so this matches it.
    
    This may reduce the noise in diffs too. When the beginning of
    a paragraph had changed, the rest of the lines got rewrapped
    in msgsid. Now it's just one very long line that changes when
    a paragraph has been edited.
    
    The --add-location=file option was removed as redundant. The line
    numbers don't exist in the .pot file due to --porefs file and thus
    they cannot get copied to the .po files either.
    
    (cherry picked from commit 4beba1cd62d7f8f7a6f1e899b68292d94c53b599)

 po4a/update-po | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

commit 51ad72dae4e516e9292f6f399bd1e4970b77f7c1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-28 18:36:53 +0300

    Update contact info in README
    
    (cherry picked from commit b14c130a58a649f9a73392eeb122cb252327c569)

 README | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

commit 18463917f9b255b8f925fa54ab9388319735b14a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-28 13:25:07 +0300

    Translations: Use --package-name=xz-man with po4a
    
    This is to match reality. See the added comment.
    
    (cherry picked from commit 75f5f2e014b0ee646963f36bc6a9c840fb272353)

 po4a/update-po | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

commit 26bbcb13cd2bbb56fe406544a484b4edfc7e0837
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-28 13:03:40 +0300

    Translations: Omit --package-name from po/Makevars
    
    This is closer to the reality in the po/*.po files.
    
    (cherry picked from commit eb217d016cfbbba1babc19a61095b3ea25898af6)

 po/Makevars | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit c35ee804b89556d15bc8cdc16867f4316e69392f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-28 01:17:45 +0300

    Translations: Omit man page line numbers from .pot and .po files
    
    (cherry picked from commit 9114267038deaecf4832a5cacb5acbe6591ac839)

 po4a/update-po | 5 +++++
 1 file changed, 5 insertions(+)

commit 0f4429d47f9cfe2cdfbad115a7bc2f11221cb217
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-28 01:06:30 +0300

    Translations: Use the xgettext option --add-location=file
    
    (cherry picked from commit 093490b58271e9424ce38a7b1b38bcf61b9c86c6)

 po/Makevars | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit a93e2c2d1d34a6f609d24a8e62072ce78df7a734
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-28 00:43:53 +0300

    Translations: Use the msgmerge option --add-location=file
    
    This way the PO file diffs are less noisy but the locations of the
    strings are still present at file level, just without line numbers.
    
    The option is available since gettext 0.19 (2014).
    configure.ac requires 0.19.6.
    
    (cherry picked from commit fccebe2b4fd513488fc920e4dac32562ed3c7637)

 po/Makevars | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d4389895592e9a8e0f6391fdad816ae0537bb07b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-27 12:22:08 +0300

    Build: Use $(SHELL) instead of sh to run scripts in Makefile.am
    
    (cherry picked from commit f361d9ae85707a87eb28db400eb7229cec103d58)

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

commit 5781414b6e3120098b0060d073aa2b0580ff6f40
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-23 17:25:13 +0300

    Translations: Change the home page URLs in man page translations
    
    Since the source strings have changed, these would get marked as
    fuzzy and the original string would be used instead. The original
    and translated strings are identical in this case so it wouldn't
    matter. But patching the translations helps still because then
    po4a will show the correct translation percentage.
    
    (cherry picked from commit a26dece34793a09aac2476f954d162d03e9cf62b)

 po4a/de.po    | 8 ++++----
 po4a/fr.po    | 4 ++--
 po4a/ko.po    | 4 ++--
 po4a/pt_BR.po | 4 ++--
 po4a/ro.po    | 8 ++++----
 po4a/uk.po    | 8 ++++----
 6 files changed, 18 insertions(+), 18 deletions(-)

commit 3670e0616eb9d86e7519d2b76242fd32c6e0c1ae
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-23 15:15:18 +0300

    CMake: Add manual support for 32-bit x86 assembly files
    
    One has to pass -DENABLE_X86_ASM=ON to cmake to enable the
    CRC assembly code. Autodetection isn't done. Looking at
    CMAKE_SYSTEM_PROCESSOR might not work as it comes from uname
    unless cross-compilation is done using a CMake toolchain file.
    
    On top of this, if the code is run on modern processors that support
    the CLMUL instruction, then the C code should be faster (but then
    one should also be using a x86-64 build if possible).
    
    (cherry picked from commit 24387c234b4eed1ef9a7eaa107391740b4095568)

 CMakeLists.txt | 34 +++++++++++++++++++++++++++++++---
 1 file changed, 31 insertions(+), 3 deletions(-)

commit c1b001b09e902ecacabb8a2ae1fc991018a4d1f8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-23 14:26:45 +0300

    CMake: Rename USE_DOXYGEN to ENABLE_DOXYGEN
    
    It's more consistent with the other option() uses.
    
    (cherry picked from commit 0fb3c9c3f684f5a25bd425ed079a20a79f0c969d)

 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 7213fe39c717d4623c92af715484a71d9a6ff8d0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-22 15:21:53 +0300

    Use more confident language in COPYING
    
    (cherry picked from commit 62733592a1cc6f0b41f46ef52e06d1a6fe1ff38a)

 COPYING | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 15358be94a4e3f9c20f331b64b3980f3e5283760
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-04-29 17:16:38 +0300

    Add SPDX license identifiers to files under tests/ossfuzz
    
    (cherry picked from commit 9ae2ebc1e504a1814b0788de95fb5c58c0328dde)

 tests/ossfuzz/Makefile                          | 2 ++
 tests/ossfuzz/config/fuzz_decode_alone.options  | 2 ++
 tests/ossfuzz/config/fuzz_decode_stream.options | 2 ++
 tests/ossfuzz/config/fuzz_encode_stream.options | 2 ++
 tests/ossfuzz/config/fuzz_lzma.dict             | 2 ++
 tests/ossfuzz/config/fuzz_xz.dict               | 2 ++
 6 files changed, 12 insertions(+)

commit 1aa92c7ffd0bf8f9738ebf3bd1263bd6f5f096a2
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-04-29 17:16:06 +0300

    Add SPDX license identifier to .codespellrc
    
    (cherry picked from commit 9000d70eb9815bd7f43ffddc1c3316c507aa0e05)

 .codespellrc | 2 ++
 1 file changed, 2 insertions(+)

commit 3c7e400fdcabc0a1b78863948fc17964667a9401
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-22 15:12:09 +0300

    Move entries po4a/.gitignore to the top level .gitignore
    
    The po4a directory is in EXTRA_DIST and thus all files there
    are included in the package. .gitignore doesn't belong in the
    package so keep that file out of the po4a directory.
    
    (cherry picked from commit 903c16fcfa5bfad0cdb2a7383d941243bcb12e76)

 .gitignore      | 4 ++++
 po4a/.gitignore | 3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

commit 8a99272d4a9358dabdb5bc0b72f4c5240a9dc066
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-20 16:55:00 +0300

    CMake: Add comments
    
    (cherry picked from commit 9d997d6f9d4f042412e45c7b7a23a14ad2e4f9aa)

 tests/tests.cmake | 2 ++
 1 file changed, 2 insertions(+)

commit c35259c9e2400f6f88c269d95ecafdb223ff45d2
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-20 16:55:00 +0300

    CMake: Remove the note that some tests aren't run
    
    They are now in the common build configurations.
    
    (cherry picked from commit d35368b33e54bad2f566df99fac29ffea38e34de)

 CMakeLists.txt | 2 --
 1 file changed, 2 deletions(-)

commit 30982a215395f19b3837c3da540e1cb3f913569f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-20 16:55:00 +0300

    CMake: Add support for test_files.sh
    
    (cherry picked from commit dc232d584619b2819a9c52d6ad5d8b5d56b392ba)

 tests/tests.cmake | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

commit 3a8f81e0ad4cd1c102a03ff09e703cf8cb074afc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-20 16:55:00 +0300

    Tests: Make test_files.sh more flexible
    
    Add a new optional argument to specify the directory of the xz and
    xzdec executables.
    
    If ../config.h doesn't exist, assume that all encoders and decoders
    are available.
    
    (cherry picked from commit a7e9230af9d1f87f474fe38886eb977d4149dc9b)

 tests/test_files.sh | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

commit 0644675c829143112c85455f8a6aa91bfc4e1bbb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-20 16:55:00 +0300

    CMake: Add support for test_compress.sh tests
    
    (cherry picked from commit b40e6efbb48d740b9b5b303e59e344801cbb5bd8)

 tests/tests.cmake | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

commit dcc02a6ca0e0ac4e330e820683754badbcf9815b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-20 16:55:00 +0300

    Tests: Make test_compress.sh more flexible
    
    Add a new optional second argument: directory of the xz and xzdec
    executables. This is need with the CMake build where the binaries
    end up in the top-level build directory.
    
    If ../config.h doesn't exist, assume that all encoders and decoders
    are available. This will make this script usable from CMake in the
    most common build configuration.
    
    NOTE: Since the existence of ../config.h is checked, the working
    directory of the test script must be a subdir in the build tree!
    Otherwise ../config.h would look outside the build tree.
    
    Use the default check type instead of forcing CRC32 or CRC64.
    Now the script doesn't need to check if CRC64 is available.
    
    (cherry picked from commit ac3222d2cb1ff3a15eb6d58f9ea9bc78e8bc3bb2)

 tests/test_compress.sh | 41 +++++++++++++++++++++++++++++------------
 1 file changed, 29 insertions(+), 12 deletions(-)

commit c761b7051fb2ebb6da3cbecafe695fb5af7b2c9c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-20 16:55:00 +0300

    CMake: Prepare to support the test_*.sh tests
    
    This is a bit hacky since the scripts grep config.h to know which
    features were built but the CMake build doesn't create config.h.
    So instead those test scripts will be run only when all relevant
    features have been enabled.
    
    (cherry picked from commit 006040b29c83104403621e950ada0c8956c56b3d)

 tests/tests.cmake | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

commit a71bc2d75b95f85fe046f0fd1fb25d36be2b20ba
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-20 16:55:00 +0300

    Tests: test_suffix.sh: Add a comment
    
    (cherry picked from commit 6167607a6ea72fb74eefb943c4566e3cab528cd2)

 tests/test_suffix.sh | 3 +++
 1 file changed, 3 insertions(+)

commit 8fda5ce872632e464a1f9660b3ab8dac939a03c6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-18 00:34:07 +0300

    Fix typos
    
    Thanks to xx on #tukaani.
    
    (cherry picked from commit 4e9023857d287f624562156b60dc23d2b64c0f10)

 src/common/mythread.h                      | 2 +-
 src/common/tuklib_integer.h                | 2 +-
 src/liblzma/api/lzma/base.h                | 2 +-
 src/liblzma/common/filter_buffer_decoder.c | 2 +-
 src/liblzma/common/filter_common.c         | 2 +-
 src/scripts/xzgrep.in                      | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

commit 2729079bcb8dd1c3ab1a79426690d17f6f8e6f7d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-18 00:23:52 +0300

    liblzma: Fix white space
    
    Thanks to xx on #tukaani.
    
    (cherry picked from commit b14d08fbbc254485ace9ccfe7908674f608a62ae)

 src/liblzma/simple/simple_coder.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit a289c4dfeb3ded35e129c48b13f46605f0138704
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-13 17:15:04 +0300

    xz: Document the static function get_chains_memusage()
    
    (cherry picked from commit 142e670a413a7bce1a2647f1cf1f33f8ee2dbe88)

 src/xz/coder.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

commit 6f0db31713845386ce2419c55b2df89b53b80dd3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-13 17:07:22 +0300

    xz: Rename filters_memusage_max() to get_chains_memusage()
    
    (cherry picked from commit 78e984399a64bfee5d11e7308e0bdbc1006db2ca)

 src/xz/coder.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

commit d7e2bf7e2dc9289a7a5dd0311d19d10de6d7ea1b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-13 17:04:05 +0300

    xz: Rename filter_memusages to chains_memusages
    
    (cherry picked from commit 54c3db0a83d3e67d89aba92a0957f2dce9b111a7)

 src/xz/coder.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 58f200b6d1dc4cbc1ab3315a359120ab6eb84878
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 22:26:30 +0300

    xz: Simplify the memory usage scaling code
    
    This is closer to what it was before the --filtersX support was added,
    just extended to support for scaling all filter chains. The method
    before this commit was an extended version of the original too but
    it was done in a more complex way for no clear reason. In case of
    an error, the complex version printed fewer informative messages
    (a good thing) but it's not a sigificant benefit.
    
    In the limit is too low even for single-threaded mode, the required
    amount of memory is now reported like in 5.4.x instead of like in
    5.5.1alpha - 5.6.1 which showed the original non-scaled usage. It
    had been a FIXME in the old code but it's not clear what message
    makes the most sense.
    
    Fixes: 5f0c5a04388f8334962c70bc37a8c2ff8f605e0a
    (cherry picked from commit d9e1ae79ec90d6a7eafeaceaf0ece4f0c83d4417)

 src/xz/coder.c | 163 ++++++++++++++++++++-------------------------------------
 1 file changed, 57 insertions(+), 106 deletions(-)

commit 41bdc9fa5cc2fc2a70f4331329ac724773cc2f26
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-13 12:14:00 +0300

    xz: Edit comments
    
    (cherry picked from commit 0ee56983d198b776878432703de664049b1be32e)

 src/xz/coder.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

commit 52e40c1912dfdbf8c7aa85e3a4c3eb138fa73d5d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-13 12:03:51 +0300

    xz: Rename chain_idx to chain_num
    
    (cherry picked from commit ec82a49c3553f7206104582dbfb8b64fa433b491)

 src/xz/coder.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 8a019633319c694423691f58c55fa23a46e45ded
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 22:29:11 +0300

    xz: Edit coding style
    
    (cherry picked from commit a731a6993c34bbbd55abaf9c166718682b1da24f)

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

commit e3ad7eda74caea29849e2e9ec01212f5f7d0f574
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 22:16:05 +0300

    xz: Edit comments
    
    Fixes: 5f0c5a04388f8334962c70bc37a8c2ff8f605e0a
    (cherry picked from commit 32eb176b89243fce3112347fe43a8ad14a9fd2be)

 src/xz/coder.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

commit 09cabae2ab47a06f6eee02419a815d4bfd0d9490
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 21:57:49 +0300

    xz: Fix grammar in a comment
    
    Fixes: cb3111e3ed84152912b5138d690c8d9f00c6ef02
    (cherry picked from commit b90339f4daa510d2b1b8c550f855a99667f1d004)

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

commit c10b66fbf9b2442741a1f052bdb4ce7009af9cda
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 21:46:56 +0300

    xz: Rename filter_memusages to encoder_memusages
    
    (cherry picked from commit 4c0bdaf13d651b22ba13bd93f8379724d6ccdc13)

 src/xz/coder.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit 9132ce3564b2c003bffd6de6294a3d98dccf314e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 21:42:05 +0300

    xz: Edit coding style
    
    (cherry picked from commit b54aa023e0ec291b06e976e5f094ab0549e7b09b)

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

commit d642e13874e93b03959d1de523f1c8ebe9428838
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 21:31:02 +0300

    xz: Rename filters_index to chain_num
    
    The reason is the same as in bd0782c1f13e52cd0fd8415208e30e47004a4c68.
    
    (cherry picked from commit 49f67d3d3f42b640a7dfc4ca04c8934f658e10ce)

 src/xz/args.c  | 8 ++++----
 src/xz/coder.c | 8 ++++----
 src/xz/coder.h | 2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)

commit 47599f3b73f0a2bc18e0a8367d723f1eb0f11b63
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 21:22:43 +0300

    xz: Replace a few uint32_t with "unsigned" to reduce the number of casts
    
    These hold only tiny values.
    
    (cherry picked from commit ff9e8b3d069ecfa52ec43dcdb198542d1692a492)

 src/xz/args.c  |  2 +-
 src/xz/coder.c | 17 ++++++++---------
 src/xz/coder.h |  2 +-
 3 files changed, 10 insertions(+), 11 deletions(-)

commit 8f5ab75c454ea8676ed09c7f6eda8afe87b008ad
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 21:10:45 +0300

    xz: Rename filters_used_mask to chains_used_mask
    
    The reason is the same as in bd0782c1f13e52cd0fd8415208e30e47004a4c68.
    
    (cherry picked from commit b5e6c1113b1ba02c282bd9163eccdb521c937a78)

 src/xz/coder.c | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

commit 3eb7cf9dd5b90a074f741234225d7de51ad88774
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 17:14:43 +0300

    xz: Move the setting of "check" in coder_set_compression_settings()
    
    It's more logical to do it in the beginning instead of in the middle
    of the filter chain handling.
    
    Fixes: d6af7f347077b22403133239592e478931307759
    (cherry picked from commit 32500dfaadae2ea36fda2e17b49ae7d9ac1acf52)

 src/xz/coder.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

commit 067961ee0e1adaa66a43fbf8c3be31697554a839
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 17:09:17 +0300

    xz: Rename "filters" to "chains"
    
    The convention is that
    
        lzma_filter filters[LZMA_FILTERS_MAX + 1];
    
    contains the filters of a single filter chain.
    It was so here as well before the commit
    d6af7f347077b22403133239592e478931307759.
    It changes "filters" to a ten-element array of filter chains.
    It's clearer to call this array-of-arrays "chains".
    
    This also renames "filter_idx" to "chain_idx" which is used
    as an index as in chains[chain_idx].
    
    (cherry picked from commit ad146b1f42bbb678175a503a45ce525e779f9b8b)

 src/xz/coder.c | 68 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 34 insertions(+), 34 deletions(-)

commit 6822f6f891d43c97ea379a51223ce8ea69439161
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 16:56:15 +0300

    xz: Clean up a comment
    
    (cherry picked from commit 5a4ae4e4d0105404184e9a82ee08f94e1b7783e0)

 src/xz/coder.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

commit 0e5e3e7bdcfcdc4b4607665ff0f6ad794e5195af
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 16:52:09 +0300

    xz: Add clarifying assertions
    
    (cherry picked from commit 2de80494ed9a4dc7db395a32a5efb770ce769804)

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

commit 77bcf6b76a26833923e62b2dec717474d5d44700
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-10 20:23:33 +0300

    xz: Add a clarifying assertion
    
    Fixes: 5f0c5a04388f8334962c70bc37a8c2ff8f605e0a
    (cherry picked from commit 1eaad004bf7748976324672db028e34f42802e61)

 src/xz/coder.c | 1 +
 1 file changed, 1 insertion(+)

commit df3efc058a256629ea0153b4750d3df308757038
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 16:47:17 +0300

    xz: Clarify a comment
    
    (cherry picked from commit 605094329b986244833c967c04963cacc41a868d)

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

commit 4ebfe11cd33439675f03e1e3725abf03d6f8251b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 16:28:25 +0300

    xz: Use the info collected in parse_block_list()
    
    This is slightly simpler and it avoids looping through
    the opt_block_list array.
    
    (cherry picked from commit 8fac2577f2dbb9491afd8500f60d004c9071df3b)

 src/xz/coder.c | 95 ++++++++++++++++++++++++----------------------------------
 1 file changed, 39 insertions(+), 56 deletions(-)

commit bfea6913618357a7034a1d79079bccb688262124
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 15:48:45 +0300

    xz: Remember the filter chains and the largest Block in parse_block_list()
    
    (cherry picked from commit 81d350dab864b985b740742772f3b132d4c52914)

 src/xz/args.c  | 18 ++++++++++++++++++
 src/xz/coder.c |  2 ++
 src/xz/coder.h | 13 +++++++++++++
 3 files changed, 33 insertions(+)

commit d4e33e73922427a0f5277b91b239af538fd41c06
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 15:38:48 +0300

    xz: Update a comment and initialization of filters_used_mask
    
    (cherry picked from commit 46ab56968f7dfdac187710a1223659d832fa1565)

 src/xz/coder.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

commit 3c130737c9bb4a5021bb14eb19e9ceae30ffef3a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 15:08:10 +0300

    xz: parse_block_list: Edit integer type casting
    
    (cherry picked from commit e89293a0baeb8663707c6b4a74fbb310ec698a8f)

 src/xz/args.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit 40c8513b4ee42b8c0fae9b2a229e078ac7e0f87a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-12 14:51:37 +0300

    xz: Make filter_memusages a local variable
    
    (cherry picked from commit 87011e40c168255cd2edea129ee68c901770603b)

 src/xz/coder.c | 35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)

commit cacaf25aa71cd1110cc049d037c11e4075602c35
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-10 20:33:08 +0300

    xz: Remove unused code and simplify
    
    opt_mode == MODE_COMPRESS isn't possible when HAVE_ENCODERS isn't
    defined. Thus, when *encoding*, the message about *decoder* memory
    usage is possible to show only when both encoder and decoder have
    been built.
    
    Since the message is shown only at V_DEBUG, skip the memusage
    calculation if verbosity level isn't high enough.
    
    Fixes: 5f0c5a04388f8334962c70bc37a8c2ff8f605e0a
    (cherry picked from commit 347b412a9374e0456bef9da0d7d79174c0b6f1a5)

 src/xz/coder.c | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

commit 3495a6b291f49079485854bb185a52c29d06cd2f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-10 20:22:58 +0300

    xz: Fix integer type from uint64_t to uint32_t
    
    lzma_options_lzma.dict_size is uint32_t so use it here too.
    
    Fixes: 5f0c5a04388f8334962c70bc37a8c2ff8f605e0a
    (cherry picked from commit 31358c057c9de9d6aba96bae112b2d17942de7cb)

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

commit 2861d856deb557734f067c5c471d670f0b0c6684
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-08 21:40:07 +0300

    debug/translation.bash: Remove an outdated test command
    
    Since 5.3.5beta, "xz --lzma2=mf=bt4,nice=2" works even though bt4 needs
    at least nice=4. It is rounded up internally by liblzma when needed.
    
    Fixes: 5cd9f0df78cc4f8a7807bf6104adea13034fbb45
    (cherry picked from commit 3f71e0f3a118e1012526f94fd640a626d30cb599)

 debug/translation.bash | 1 -
 1 file changed, 1 deletion(-)

commit 54546babc3feb2786e541b80f9e7216b8f1bd543
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-07 20:41:28 +0300

    Fix the date of NEWS for 5.4.5
    
    (cherry picked from commit b05a516830095a0e1937aeb31c937fb0400408b6)

 NEWS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a7e58d1fdb493d58854ac599347cf64da0cecca4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-07 16:21:15 +0300

    Build: Update visibility.m4 from Gnulib
    
    This fixes the syntax of the "serial" line and renames
    a temporary variable.
    
    (cherry picked from commit 6d336aeb97b69c496ddc626af403f6f21c753658)

 m4/visibility.m4 | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

commit 07a9cda037042b262ba6c8c18fae4a5b3333d508
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-07 15:05:21 +0300

    po4a/update-po: Delete the *.po.authors files
    
    These are temporary files that are needed only when running po4a.
    The top-level Makefile.am puts the whole po4a directory into
    distribution tarball (it's simpler) so deleting these temporary
    files is needed to prevent them from getting into tarballs.
    
    (cherry picked from commit ab51e8ee610e2a893906859848f93d5cb0d5ba83)

 po4a/update-po | 4 ++++
 1 file changed, 4 insertions(+)

commit 1b4e7dca243d8ef297a245b5ee3ce9cd1ca20f56
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-07 13:12:17 +0300

    xz: Edit comments and coding style
    
    (cherry picked from commit e4780244a17420cc95d5498cd6e02ad10eac6e5f)

 src/xz/coder.c | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

commit 18683525a78e96ec6d7c2b4e841e94ad39be7096
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-06 23:08:22 +0300

    xz: Omit an incorrect comment
    
    It likely was a leftover from a development version of the code.
    
    Fixes: 183819bfd9efac8c184d9bf123325719b7eee30f
    (cherry picked from commit fe4d8b0c80eaeca3381be302eeb89aba871a7e7c)

 src/xz/coder.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

commit 005f0398645b0342c9c1915d422743c77ec1d435
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-06 23:04:31 +0300

    xz: Add braces to a for-statement and to an if-statement
    
    No functional changes.
    
    Fixes: 5f0c5a04388f8334962c70bc37a8c2ff8f605e0a
    Fixes: 479fd58d60622331fcbe48fddf756927b9f80d9a
    (cherry picked from commit 9bef5b8d17dd5e009d6a6b2becc2dc535da53937)

 src/xz/coder.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 34be4e6aa62376314fde250ea4f142c18274272f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-06 23:00:09 +0300

    liblzma: Omit an unneeded array from the x86 filter
    
    Fixes: 6aa2a6deeba04808a0fe4461396e7fb70277f3d4
    (cherry picked from commit de06b9f0c0a3f72569829ecadbc9c0a3ef099f57)

 src/liblzma/simple/x86.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

commit 79e329b771210c30ea317dd4d99e8968f3e6f9b2
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-06 22:56:31 +0300

    CMake: Add test_suffix.sh to the tests
    
    (cherry picked from commit 7da488cb933fdf51cfc14cb5810beb0766224380)

 tests/tests.cmake | 13 +++++++++++++
 1 file changed, 13 insertions(+)

commit 86f33bb90c6cfe6950f1d36c9e5dd7fdc9798124
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-06 22:55:54 +0300

    Test: Add CMake support to test_suffix.sh
    
    It needs to find the xz executable from a different directory
    and work without config.h.
    
    (cherry picked from commit a805594ed0b4cbf7b81aa28ff46a8ab3c83c6876)

 tests/test_suffix.sh | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

commit 1e243ab378e8f78ebb3af741fb38354954cf20f9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2024-05-06 20:45:34 +0300

    Update INSTALL about MINIX 3
    
    The latest stable is 3.3.0 and it's from 2014.
