1
0
mirror of https://git.tukaani.org/xz.git synced 2025-10-05 16:58:17 +00:00

Commit Graph

  • 78e85cb1a7 Fix CRC code in case --enable-small is used. Lasse Collin 2008-01-15 07:44:59 +02:00
  • 949d4346e2 Fix typo in test_index.c. Lasse Collin 2008-01-15 07:41:39 +02:00
  • d13d693155 Added precomputed range coder probability price table. Lasse Collin 2008-01-15 07:40:21 +02:00
  • 362dc3843b Remove RC_BUFFER_SIZE from lzma_encoder_private.h and replace it with a sanity check. Lasse Collin 2008-01-14 13:42:43 +02:00
  • e22b37968d Major changes to LZ encoder, LZMA encoder, and range encoder. These changes implement support for LZMA_SYNC_FLUSH in LZMA encoder, and move the temporary buffer needed by range encoder from lzma_range_encoder structure to lzma_lz_encoder. Lasse Collin 2008-01-14 13:39:54 +02:00
  • b59ef39737 Added one assert() to process.c of the command line tool. Lasse Collin 2008-01-14 13:34:29 +02:00
  • 9547e734a0 Don't use coder->lz.stream_end_was_reached in assertions in match_c.h. Lasse Collin 2008-01-14 12:09:52 +02:00
  • 3e09e1c058 In lzma_read_match_distances(), don't use coder->lz.stream_end_was_reached. That variable will be removed, and the check isn't required anyway. Rearrange the check so that it doesn't make one to think that there could be an integer overflow. Lasse Collin 2008-01-14 12:08:02 +02:00
  • a670fec802 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders. Lasse Collin 2008-01-14 11:56:41 +02:00
  • 3599dba957 More fixes to LZMA decoder's flush marker handling. Lasse Collin 2008-01-14 11:54:56 +02:00
  • f73c2ab607 Eliminate lzma_lz_encoder.must_move_pos. It's needed only in one place which isn't performance criticial. Lasse Collin 2008-01-10 17:13:42 +02:00
  • 382808514a Define HAVE_ASM_X86 when x86 assembler optimizations are used. This #define will be useful for inline assembly. Lasse Collin 2008-01-09 20:05:57 +02:00
  • 0e70fbe403 Added good-single-none-empty_3.lzma and bad-single-none-empty.lzma. Lasse Collin 2008-01-09 12:06:46 +02:00
  • 379fbbe84d Take advantage of return_if_error() in block_decoder.c. Lasse Collin 2008-01-08 23:11:59 +02:00
  • 97d5fa8207 Updated tests/files/README. Lasse Collin 2008-01-08 23:10:57 +02:00
  • 3bb9bb3109 Added test files with empty Compressed Data. Lasse Collin 2008-01-08 23:05:40 +02:00
  • 7054c5f588 Fix decoding of Blocks that have only Block Header. Lasse Collin 2008-01-08 22:58:42 +02:00
  • 753e4d95cd Added good-single-subblock_implicit.lzma. Lasse Collin 2008-01-08 22:27:46 +02:00
  • faeac7b7ac Disable CRC32 from Block Headers when --check=none has been specified. Lasse Collin 2008-01-08 18:50:30 +02:00
  • a751126dbb Fixed encoding of empty files. Arguments to is_size_valid() were in wrong order in block_encoder.c. Lasse Collin 2008-01-08 13:36:29 +02:00
  • 9080267603 Added a few test files. Lasse Collin 2008-01-08 13:35:36 +02:00
  • b4943ccf73 Avoid using ! in test_files.sh, because that doesn't work with some ancient /bin/sh versions. Lasse Collin 2008-01-08 12:29:58 +02:00
  • e2417b2b91 More pre-C99 inttypes.h compatibility fixes. Now the code should work even if the system has no inttypes.h. Lasse Collin 2008-01-08 00:48:30 +02:00
  • 5d227e51c2 Updated fi.po although it's currently pretty much crap. Lasse Collin 2008-01-07 23:25:32 +02:00
  • c7189d981a Test for $GCC = yes instead of if it is non-empty. This way it is possible to use ac_cv_c_compiler_gnu=no to force configure to think it is using non-GNU C compiler. Lasse Collin 2008-01-07 23:14:25 +02:00
  • 3dbbea82b7 Added test_files.sh to tests/Makefile.am so it gets included in the tarball with "make dist". Lasse Collin 2008-01-07 21:49:41 +02:00
  • 2fd2d18154 Cosmetic edit to test_files.sh. Lasse Collin 2008-01-07 18:22:24 +02:00
  • 9a71d57310 Added tests/files/README. Lasse Collin 2008-01-07 18:09:44 +02:00
  • 47f48fe993 Tell in COPYING that everything in tests/files is public domain. Lasse Collin 2008-01-07 14:20:57 +02:00
  • 3502b3e1d0 Cleaned up the tests/files directory. Lasse Collin 2008-01-07 14:19:05 +02:00
  • 908b2ac604 Added test_files.sh to test decoding of the files in the tests/files directory. It doesn't test the malicious files yet. Lasse Collin 2008-01-07 13:49:19 +02:00
  • ecb2a6548f Updated README regarding the assembler optimizations. Lasse Collin 2008-01-07 11:23:13 +02:00
  • eacb805043 Updated THANKS. Lasse Collin 2008-01-07 10:58:00 +02:00
  • 1239649f96 Cosmetic changes to configure.ac. Lasse Collin 2008-01-06 21:47:17 +02:00
  • 88ee301ec2 Automatically disable assembler code on Darwin x86. Darwin has different ABI than GNU+Linux and Solaris, thus the assembler code doesn't assemble on Darwin. Lasse Collin 2008-01-06 19:46:38 +02:00
  • c15a7abf66 With printf(), use PRIu64 with a cast to uint64_t instead of %zu, because some pre-C99 libc versions don't support %zu. Lasse Collin 2008-01-06 19:45:27 +02:00
  • 4e7e54c4c5 Introduced compatibility with systems that have pre-C99 or no inttypes.h. This is useful when the compiler has good enough support for C99, but libc headers don't. Lasse Collin 2008-01-06 16:27:41 +02:00
  • a71864f77d Fix typo in comment (INT64_MAX -> UINT64_MAX). Lasse Collin 2008-01-05 19:57:00 +02:00
  • 072927905a Rearranged testing of GCC-specific flags. Lasse Collin 2008-01-05 19:42:04 +02:00
  • d160ee3259 Another bug fix for flush marker detection. Lasse Collin 2008-01-05 01:20:24 +02:00
  • fc67f79f60 Fix stupid bugs in flush marker detection. Lasse Collin 2008-01-04 21:37:01 +02:00
  • 0029cbbabe Added support for flush marker, which will be in files that use LZMA_SYNC_FLUSH with encoder (not implemented yet). This is a new feature in the raw LZMA format, which isn't supported by old decoders. This shouldn't be a problem in practice, since lzma_alone_encoder() will not allow LZMA_SYNC_FLUSH, and thus not allow creating files on decodable with old decoders. Lasse Collin 2008-01-04 21:30:33 +02:00
  • bbfd1f6ab0 Moved range decoder initialization (reading the first five input bytes) from LZMA decoder to range decoder header. Did the same for decoding of direct bits. Lasse Collin 2008-01-04 20:45:05 +02:00
  • 5db745cd2a Added a note to README that --disable-assembler must be used on Darwin. Lasse Collin 2007-12-14 11:15:21 +02:00
  • 44b333d461 Use the filename suffix .S instead of .s for assembler files so that the preprocessor removes the /* */ style comments, which are not supported by some non-GNU assemblers (Solaris) that otherwise work with this code. Lasse Collin 2007-12-14 10:07:10 +02:00
  • ec1c82b2e8 Fixed wrong symbol name in crc64_x86.s. Lasse Collin 2007-12-14 09:59:05 +02:00
  • 2881570df6 Use .globl instead of .global in x86 assembler code for better portability. Still needs fixing the commenting. Lasse Collin 2007-12-14 09:53:24 +02:00
  • 698470b8f3 Fixed a few short options that take an argument. short_opts[] was missing colons to indicate required argument. Thanks to Fabio Pedretti for the bug report. Lasse Collin 2007-12-13 20:14:37 +02:00
  • 918bcb0e07 Removed uncompressed size tracking from Delta encoder too. Lasse Collin 2007-12-11 17:08:04 +02:00
  • 3e16d51dd6 Remove uncompressed size tracking from the filter encoders. It's not strictly needed there, and just complicates the code. LZ encoder never even had this feature. Lasse Collin 2007-12-11 16:49:19 +02:00
  • 5286723e0d Get rid of no-NLS gnulib. I don't know how to get it working with Automake. People who want smaller lzmadec should use --disable-nls on non-GNU systems. Lasse Collin 2007-12-11 14:10:53 +02:00
  • ce8b036a6c Fixed a typo in tests/Makefile.am which prevented building the tests if gnulib was needed. Lasse Collin 2007-12-11 14:09:35 +02:00
  • 7c1ad41eb6 Fixed wrong type of flags_size in Subblock encoder. Lasse Collin 2007-12-11 11:18:58 +02:00
  • ce64df7162 Bumped version number to 4.42.3alpha. Lasse Collin 2007-12-10 20:44:16 +02:00
  • b499a0403e Disabled some unneeded warnings and made "make dist" work. v4.42.2alpha Lasse Collin 2007-12-10 15:02:50 +02:00
  • 2ab8adb516 Added LZMA_SYNC_FLUSH support to the Copy filter. Lasse Collin 2007-12-09 21:43:15 +02:00
  • 329c272d50 Added missing LZMA_API to the C versions of the CRC functions. The x86 assembler versions were already OK. Lasse Collin 2007-12-09 17:14:07 +02:00
  • c90daf86ce * tests/test_block_header.c (test3): Remove duplicate initializer. Jim Meyering 2007-12-09 15:34:25 +01:00
  • 07ac881779 Take advantage of return_if_error() macro in more places. Cleaned Subblock filter's initialization code too. Lasse Collin 2007-12-09 17:06:45 +02:00
  • 4133871796 Added a bunch of .lzma test files. Lasse Collin 2007-12-09 12:13:01 +02:00
  • ff946ceb79 Re-enabled the security checks in Subblock decoder that were disabled for debugging reasons. Lasse Collin 2007-12-09 11:24:48 +02:00
  • 2bf36d22d2 Fixed the tests to build with -Werror. Lasse Collin 2007-12-09 11:03:28 +02:00
  • 5d018dc035 Imported to git. Lasse Collin 2007-12-09 00:42:33 +02:00