summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add NEWS for 5.4.3.HEADmasterJia Tan2023-05-041-0/+10
|
* Add NEWS for 5.2.12.Jia Tan2023-05-041-0/+14
|
* Translations: Update the Croatian translation.Jia Tan2023-05-041-3/+3
|
* tuklib_integer.h: Reverts previous commit.Jia Tan2023-05-041-2/+2
| | | | | Previous commit 6be460dde07113fe3f08f814b61ddc3264125a96 would cause an error if the integer size was 32 bit.
* tuklib_integer.h: Changes two other UINT_MAX == UINT32_MAX to >=.Jia Tan2023-05-041-2/+2
|
* tuklib_integer.h: Fix a recent copypaste error in Clang detection.Lasse Collin2023-05-031-2/+2
| | | | | | Wrong line was changed in 7062348bf35c1e4cbfee00ad9fffb4a21aa6eff7. Also, this has >= instead of == since ints larger than 32 bits would work too even if not relevant in practice.
* CI: Adds a build and test for small configuration.Jia Tan2023-04-251-0/+5
|
* CI: ci_build.sh allows configuring small build.Jia Tan2023-04-251-1/+6
|
* Update THANKS.Jia Tan2023-04-201-0/+1
|
* Windows: Include <intrin.h> when needed.Jia Tan2023-04-192-0/+16
| | | | | | | | | | Legacy Windows did not need to #include <intrin.h> to use the MSVC intrinsics. Newer versions likely just issue a warning, but the MSVC documentation says to include the header file for the intrinsics we use. GCC and Clang can "pretend" to be MSVC on Windows, so extra checks are needed in tuklib_integer.h to only include <intrin.h> when it will is actually needed.
* tuklib_integer: Use __builtin_clz() with Clang.Jia Tan2023-04-191-3/+3
| | | | | | | | | Clang has support for __builtin_clz(), but previously Clang would fallback to either the MSVC intrinsic or the regular C code. This was discovered due to a bug where a new version of Clang required the <intrin.h> header file in order to use the MSVC intrinsics. Thanks to Anton Kochkov for notifying us about the bug.
* liblzma: Update project maintainers in lzma.h.Lasse Collin2023-04-141-1/+1
| | | | AUTHORS was updated earlier, lzma.h was simply forgotten.
* liblzma: Cleans up old commented out code.Jia Tan2023-04-131-11/+0
|
* Docs: Add missing word to SECURITY.md.Jia Tan2023-04-071-1/+1
|
* Update THANKS.Jia Tan2023-04-071-0/+1
|
* Docs: Minor edits to SECURITY.md.Jia Tan2023-04-071-5/+20
|
* Docs: Create SECURITY.mdGabriela Gutierrez2023-04-071-0/+14
| | | | Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
* CI: Tests for disabling threading on CMake builds.Jia Tan2023-03-292-5/+2
|
* CI: Removes CMakeCache.txt between builds.Jia Tan2023-03-291-0/+2
| | | | | | | If the cache file is not removed, CMake will not reset configurations back to their default values. In order to make the tests independent, it is simplest to purge the cache. Unfortunatly, this will slow down the tests a little and repeat some checks.
* CMake: Update liblzma-config.cmake generation.Jia Tan2023-03-291-11/+22
| | | | | Now that the threading is configurable, the liblzma CMake package only needs the threading library when using POSIX threads.
* CMake: Allows setting thread method.Jia Tan2023-03-291-40/+104
| | | | | | | | | | | | | The thread method is now configurable for the CMake build. It matches the Autotools build by allowing ON (pick the best threading method), OFF (no threading), posix, win95, and vista. If both Windows and posix threading are both available, then ON will choose Windows threading. Windows threading will also not use: target_link_libraries(liblzma Threads::Threads) since on systems like MinGW-w64 it would link the posix threads without purpose.
* CI: Runs CMake feature tests.Jia Tan2023-03-241-114/+55
| | | | | | | Now, CMake will run similar feature disable tests that the Autotools version did before. In order to do this without repeating lines in ci.yml, it now makes sense to use the GitHub Workflow matrix to create a loop.
* CI: ci_build.sh allows CMake features to be configured.Jia Tan2023-03-241-90/+143
| | | | | Also included various clean ups for style and helper functions for repeated work.
* CI: Change ci_build.sh to use bash instead of sh.Jia Tan2023-03-241-1/+1
| | | | | | | | This script is only meant to be run as part of the CI build/test process on machines that are known to have bash (Ubuntu and MacOS). If this assumption changes in the future, then the bash specific commands will need to be replaced with a more portable option. For now, it is convenient to use bash commands.
* CMake: Only build xzdec if decoders are enabled.Jia Tan2023-03-241-1/+1
|
* Build: Removes redundant check for LZMA1 filter support.Jia Tan2023-03-231-4/+1
|
* CMake: Bump maximum policy version to 3.26.Lasse Collin2023-03-231-1/+1
| | | | | | It adds only one new policy related to FOLDERS which we don't use. This makes it clear that the code is compatible with the policies up to 3.26.
* CMake: Conditionally build xz list.* files if decoders are enabled.Jia Tan2023-03-231-2/+7
|
* CMake: Allow configuring features as cache variables.Jia Tan2023-03-231-137/+391
| | | | | | | This allows users to change the features they build either in CMakeCache.txt or by using a CMake GUI. The sources built for liblzma are affected by this too, so only the necessary files will be compiled.
* Build: Add a comment that AC_PROG_CC_C99 is needed for Autoconf 2.69.Lasse Collin2023-03-211-0/+3
| | | | | It's obsolete in Autoconf >= 2.70 and just an alias for AC_PROG_CC but Autoconf 2.69 requires AC_PROG_CC_C99 to get a C99 compiler.
* Build: configure.ac: Use AS_IF and AS_CASE where required.Lasse Collin2023-03-211-15/+15
| | | | | | | This makes no functional difference in the generated configure (at least with the Autotools versions I have installed) but this change might prevent future bugs like the one that was just fixed in the commit 5a5bd7f871818029d5ccbe189f087f591258c294.
* Update THANKS.Lasse Collin2023-03-211-0/+1
|
* Build: Fix --disable-threads breaking the building of shared libs.Lasse Collin2023-03-211-8/+8
| | | | | | | | | | | | | | | | | | | | | | | This is broken in the releases 5.2.6 to 5.4.2. A workaround for these releases is to pass EGREP='grep -E' as an argument to configure in addition to --disable-threads. The problem appeared when m4/ax_pthread.m4 was updated in the commit 6629ed929cc7d45a11e385f357ab58ec15e7e4ad which introduced the use of AC_EGREP_CPP. AC_EGREP_CPP calls AC_REQUIRE([AC_PROG_EGREP]) to set the shell variable EGREP but this was only executed if POSIX threads were enabled. Libtool code also has AC_REQUIRE([AC_PROG_EGREP]) but Autoconf omits it as AC_PROG_EGREP has already been required earlier. Thus, if not using POSIX threads, the shell variable EGREP would be undefined in the Libtool code in configure. ax_pthread.m4 is fine. The bug was in configure.ac which called AX_PTHREAD conditionally in an incorrect way. Using AS_CASE ensures that all AC_REQUIREs get always run. Thanks to Frank Busse for reporting the bug. Fixes: https://github.com/tukaani-project/xz/issues/45
* liblzma: Silence -Wsign-conversion in SSE2 code in memcmplen.h.Lasse Collin2023-03-191-1/+2
| | | | | Thanks to Christian Hesse for reporting the issue. Fixes: https://github.com/tukaani-project/xz/issues/44
* Add NEWS for 5.4.2.Jia Tan2023-03-181-0/+48
|
* Add NEWS for 5.2.11.Jia Tan2023-03-181-0/+27
|
* Update the copy of GNU GPLv3 from gnu.org to COPYING.GPLv3.Lasse Collin2023-03-181-4/+4
|
* Change a few HTTP URLs to HTTPS.Lasse Collin2023-03-188-19/+19
| | | | The xz man page timestamp was intentionally left unchanged.
* CMake: Fix typo in a comment.Jia Tan2023-03-181-1/+1
|
* Windows: build.bash: Copy liblzma API docs to the output package.Lasse Collin2023-03-171-1/+2
|
* Windows: Add microlzma_*.c to the VS project files.Lasse Collin2023-03-176-0/+12
| | | | These should have been included in 5.3.2alpha already.
* CMake: Add microlzma_*.c to the build.Lasse Collin2023-03-171-0/+2
| | | | These should have been included in 5.3.2alpha already.
* Build: Update comments about unaligned access to mention 64-bit.Lasse Collin2023-03-172-6/+5
|
* Tests: Update .gitignore.Lasse Collin2023-03-171-1/+2
|
* po4a/update-po: Display the script name consistently in error messages.Lasse Collin2023-03-171-1/+1
|
* Doc: Rename Doxygen HTML doc directory name liblzma => api.Jia Tan2023-03-175-22/+22
| | | | | | | When the docs are installed, calling the directory "liblzma" is confusing since multiple other files in the doc directory are for liblzma. This should also make it more natural for distros when they package the documentation.
* liblzma: Remove note from lzma_options_bcj about the ARM64 exception.Jia Tan2023-03-171-1/+1
| | | | | This was left in by mistake since an early version of the ARM64 filter used a different struct for its options.
* CI: Add doxygen as a dependency.Jia Tan2023-03-171-3/+2
| | | | | Autogen now requires --no-doxygen or having doxygen installed to run without errors.
* COPYING: Add a note about the included Doxygen-generated HTML.Lasse Collin2023-03-171-0/+11
|
* Doc: Update PACKAGERS with details about liblzma API docs install.Jia Tan2023-03-171-6/+16
|