summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Build: Prepare to support Automake's subdir-objects.Lasse Collin2014-10-296-15/+40
| | | | | | | | | Due to a bug in Automake, subdir-objects won't be enabled for now. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354 Thanks to Daniel Richard G. for the original patches.
* Translations: Update the Italian translation.Lasse Collin2014-10-241-177/+275
| | | | Thanks to Milo Casagrande.
* Translations: Update the Polish translation.Lasse Collin2014-10-181-118/+214
| | | | Thanks to Jakub Bogusz.
* l10n: de.po: Change translator email address.Andre Noll2014-10-141-3/+3
| | | | | | | | Although the old address is still working, the new one should be preferred. So this commit changes all three places in de.po accordingly. Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>
* l10n: de.po: Update German translationAndre Noll2014-10-141-250/+281
| | | | Signed-off-by: Andre Noll <maan@systemlinux.org>
* l10n: de.po: Fix typo: Schießen -> Schließen.Andre Noll2014-10-141-1/+1
| | | | | | That's a funny one since "schießen" means to shoot :) Signed-off-by: Andre Noll <maan@systemlinux.org>
* Update THANKS.Lasse Collin2014-10-091-0/+1
|
* Add support for AmigaOS/AROS to tuklib_physmem().Lasse Collin2014-10-092-1/+9
| | | | Thanks to Fredrik Wikstrom.
* xzgrep: Avoid passing both -q and -l to grep.Lasse Collin2014-10-091-2/+4
| | | | | | | | | | | | The behavior of grep -ql varies: - GNU grep behaves like grep -q. - OpenBSD grep behaves like grep -l. POSIX doesn't make it 100 % clear what behavior is expected. Anyway, using both -q and -l at the same time makes no sense so both options simply should never be used at the same time. Thanks to Christian Weisgerber.
* l10n: vi.po: Update Vietnamese translationTrần Ngọc Quân2014-10-041-52/+84
| | | | Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
* Build: Detect supported compiler warning flags better.Lasse Collin2014-09-251-2/+3
| | | | | | | | | Clang and nowadays also GCC accept any -Wfoobar option but then may give a warning that an unknown warning option was specified. To avoid adding unsupported warning options, the options are now tested with -Werror. Thanks to Charles Diza.
* Update NEWS for 5.0.7.Lasse Collin2014-09-201-0/+11
|
* liblzma: Fix a portability problem in Makefile.am.Lasse Collin2014-09-201-1/+1
| | | | | | | | POSIX supports $< only in inference rules (suffix rules). Using it elsewhere is a GNU make extension and doesn't work e.g. with OpenBSD make. Thanks to Christian Weisgerber for the patch.
* Bump the version number to 5.1.4beta.v5.1.4betaLasse Collin2014-09-142-3/+3
|
* Update NEWS for 5.0.6 and 5.1.4beta.Lasse Collin2014-09-141-0/+50
|
* Update TODO.Lasse Collin2014-09-141-4/+34
|
* xz: Add --ignore-check.Lasse Collin2014-08-055-1/+38
|
* liblzma: Add support for LZMA_IGNORE_CHECK.Lasse Collin2014-08-053-2/+37
|
* liblzma: Add support for lzma_block.ignore_check.Lasse Collin2014-08-057-20/+68
| | | | | | | | | Note that this slightly changes how lzma_block_header_decode() has been documented. Earlier it said that the .version is set to the lowest required value, but now it says that the .version field is kept unchanged if possible. In practice this doesn't affect any old code, because before this commit the only possible .version was 0.
* liblzma: Use lzma_memcmplen() in the BT3 match finder.Lasse Collin2014-08-041-3/+2
| | | | | | | I had missed this when writing the commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141. Thanks to Jun I Jin.
* Update THANKS.Lasse Collin2014-08-041-0/+1
|
* liblzma: SHA-256: Optimize the Maj macro slightly.Lasse Collin2014-08-031-1/+1
| | | | | | | | | | The Maj macro is used where multiple things are added together, so making Maj a sum of two expressions allows some extra freedom for the compiler to schedule the instructions. I learned this trick from <http://www.hackersdelight.org/corres.txt>.
* liblzma: SHA-256: Optimize the way rotations are done.Lasse Collin2014-08-031-6/+11
| | | | | | | | | | | | | | | | This looks weird because the rotations become sequential, but it helps quite a bit on both 32-bit and 64-bit x86: - It requires fewer instructions on two-operand instruction sets like x86. - It requires one register less which matters especially on 32-bit x86. I hope this doesn't hurt other archs. I didn't invent this idea myself, but I don't remember where I saw it first.
* liblzma: SHA-256: Remove the GCC #pragma that became unneeded.Lasse Collin2014-08-031-5/+0
| | | | | | The unrolling in the previous commit should avoid the situation where a compiler may think that an uninitialized variable might be accessed.
* liblzma: SHA-256: Unroll a little more.Lasse Collin2014-08-031-9/+16
| | | | | | This way a branch isn't needed for each operation to choose between blk0 and blk2, and still the code doesn't grow as much as it would with full unrolling.
* liblzma: SHA-256: Do the byteswapping without a temporary buffer.Lasse Collin2014-08-031-12/+1
|
* liblzma: Use lzma_memcmplen() in normal mode of LZMA.Lasse Collin2014-07-251-15/+5
| | | | | Two locations were not changed yet because the simplest change assumes that the initial "len" may be greater than "limit".
* liblzma: Simplify LZMA fast mode code by using memcmp().Lasse Collin2014-07-251-10/+1
|
* liblzma: Use lzma_memcmplen() in fast mode of LZMA.Lasse Collin2014-07-251-3/+3
|
* Update THANKS.Lasse Collin2014-07-251-0/+1
|
* liblzma: Use lzma_memcmplen() in the match finders.Lasse Collin2014-07-252-23/+23
| | | | This doesn't change the match finder output.
* liblzma: Add lzma_memcmplen() for fast memory comparison.Lasse Collin2014-07-253-0/+184
| | | | | | | | | | | | This commit just adds the function. Its uses will be in separate commits. This hasn't been tested much yet and it's perhaps a bit early to commit it but if there are bugs they should get found quite quickly. Thanks to Jun I Jin from Intel for help and for pointing out that string comparison needs to be optimized in liblzma.
* Update THANKS.Lasse Collin2014-07-121-0/+1
|
* Translations: Add Vietnamese translation.Lasse Collin2014-07-122-0/+1008
| | | | Thanks to Trần Ngọc Quân.
* xz: Update the help message of a few options.Lasse Collin2014-06-291-7/+11
| | | | | Updated: --threads, --block-size, and --block-list Added: --flush-timeout
* xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores().Lasse Collin2014-06-182-4/+9
|
* liblzma: Add lzma_cputhreads().Lasse Collin2014-06-185-1/+45
|
* xz: Check for filter chain compatibility for --flush-timeout.Lasse Collin2014-06-181-9/+21
| | | | | This avoids LZMA_PROG_ERROR from lzma_code() with filter chains that don't support LZMA_SYNC_FLUSH.
* xzgrep: List xzgrep_expected_output in tests/Makefile.am.Lasse Collin2014-06-131-1/+2
|
* xzgrep: Improve the test script.Lasse Collin2014-06-133-11/+55
| | | | | Now it should be close to the functionality of the original version by Pavel Raiskup.
* xzgrep: Add a test for the previous fix.Lasse Collin2014-06-111-4/+22
| | | | | This is a simplified version of Pavel Raiskup's original patch.
* xzgrep: exit 0 when at least one file matches.Lasse Collin2014-06-111-2/+13
| | | | | | | | | | Mimic the original grep behavior and return exit_success when at least one xz compressed file matches given pattern. Original bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=1108085 Thanks to Pavel Raiskup for the patch.
* xz: Force single-threaded mode when --flush-timeout is used.Lasse Collin2014-06-091-0/+11
|
* Update THANKS.Lasse Collin2014-05-251-0/+1
|
* liblzma: Use lzma_alloc_zero() in LZ encoder initialization.Lasse Collin2014-05-253-55/+62
| | | | | | | | | | | | This avoids a memzero() call for a newly-allocated memory, which can be expensive when encoding small streams with an over-sized dictionary. To avoid using lzma_alloc_zero() for memory that doesn't need to be zeroed, lzma_mf.son is now allocated separately, which requires handling it separately in normalize() too. Thanks to Vincenzo Innocente for reporting the problem.
* liblzma: Add the internal function lzma_alloc_zero().Lasse Collin2014-05-252-0/+27
|
* xz: Fix uint64_t vs. size_t which broke 32-bit build.Lasse Collin2014-05-081-1/+1
| | | | Thanks to Christian Hesse.
* Docs: Update comments to refer to lzma/lzma12.h in example programs.Lasse Collin2014-05-041-3/+3
|
* liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h.Lasse Collin2014-05-043-3/+3
| | | | | It can be confusing that two header files have the same name. The public API file is still lzma.h.
* Build: Fix the combination of --disable-xzdec --enable-lzmadec.Lasse Collin2014-04-251-1/+9
| | | | | | | | In this case "make install" could fail if the man page directory didn't already exist at the destination. If it did exist, a dangling symlink was created there. Now the link is omitted instead. This isn't the best fix but it's better than the old behavior.