1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

Commit graph

  • 3a7cc5c3de Fix decoding of Extra Records that have empty Data. Lasse Collin 2008-01-23 23:35:49 +0200
  • e5fdec93e2 Add the trailing '\0' to lzma_extra.data as the API header already documents. Lasse Collin 2008-01-23 22:02:38 +0200
  • ed40dc5a2c Added debug/full_flush.c. Lasse Collin 2008-01-23 21:21:21 +0200
  • ae0cd09a66 Return LZMA_STREAM_END instead of LZMA_OK if LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when there's no unfinished Block open. Lasse Collin 2008-01-23 21:05:33 +0200
  • 0e80ded13d Added bad-single-none-footer_filter_flags.lzma and bad-single-none-too_long_vli.lzma. Lasse Collin 2008-01-23 20:05:01 +0200
  • 8c8eb14055 Fixed a typo. Lasse Collin 2008-01-23 13:42:35 +0200
  • 980f65a9a1 Fix a memory leak in the Subblock encoder. Lasse Collin 2008-01-23 13:40:45 +0200
  • 99e12af4e2 Fix Size of Header Metadata Block handling. Now lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN is not allowed at all. To indicate missing Header Metadata Block, header_metadata_size must be set to zero. This is what Metadata decoder does after this patch too. Lasse Collin 2008-01-23 13:36:07 +0200
  • 58b78ab20c Fix a memory leak in metadata_decoder.c. Lasse Collin 2008-01-23 13:15:55 +0200
  • 4d8cdbdab4 Fix the fix 863028cb7a which just moved to problem. Now it's really fixed. Lasse Collin 2008-01-23 13:13:58 +0200
  • 67321de963 Take advantage of return_if_error() macro in lzma_info_metadata_set() in info.c. Lasse Collin 2008-01-23 00:21:04 +0200
  • 863028cb7a Fixed a dangling pointer that caused invalid free(). Lasse Collin 2008-01-23 00:18:32 +0200
  • cf49f42a6b Added lzma_easy_* functions. These should make using liblzma as easy as using zlib, because the easy API don't require developers to know any fancy LZMA options. Lasse Collin 2008-01-22 22:49:24 +0200
  • 1747b85a43 Fix Multi-Block Stream encoder's EOPM usage. Lasse Collin 2008-01-22 21:16:22 +0200
  • 0ed6f1adce Made lzma_extra pointers const in lzma_options_stream. Lasse Collin 2008-01-22 00:15:11 +0200
  • 305afa38f6 Updated debug/sync_flush.c. Lasse Collin 2008-01-20 20:15:21 +0200
  • d53e9b7705 Added debug/repeat.c. Lasse Collin 2008-01-20 20:14:26 +0200
  • 107259e306 Fix alignment handling bugs in Subblock encoder. Lasse Collin 2008-01-20 20:12:58 +0200
  • e141fe1895 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder. The API for handing Subfilters was changed to make it consistent with LZMA_SYNC_FLUSH. Lasse Collin 2008-01-19 21:16:33 +0200
  • 23c227a864 Revised the Delta filter implementation. The initialization function is still shared between encoder and decoder, but the actual coding is in separate files for encoder and decoder. Lasse Collin 2008-01-19 15:19:21 +0200
  • 61dc82f3e3 Added the debug directory and the first debug tool (sync_flush). These tools are not built unless the user runs "make" in the debug directory. Lasse Collin 2008-01-18 20:18:08 +0200
  • 0ae3208db9 Added test files to test usage of flush marker in LZMA. Lasse Collin 2008-01-18 20:13:00 +0200
  • ab5feaf1fc Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders. That code is now almost completely in LZ coder, where it can be shared with other LZ77-based algorithms in future. Lasse Collin 2008-01-18 20:02:52 +0200
  • 079c4f7fc2 Don't add -g to CFLAGS when --enable-debug is specified. It's the job of the user to put that in CFLAGS. Lasse Collin 2008-01-18 17:21:24 +0200
  • 61d1784d8f Set stdin and stdout to binary mode on Windows. This patch is a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068 from lzma-utils-legacy.git. I don't know if the new code base builds on Windows, but this is a start. Lasse Collin 2008-01-18 14:17:37 +0200
  • c9cba97691 Added test_compress.sh and bunch of files needed by it. This new set of tests compress and decompress several test files with many different compression options. This set of tests will be extended later. Lasse Collin 2008-01-18 00:50:29 +0200
  • 33be3c0e24 Subblock decoder: Don't exit the main loop in decode_buffer() too early if we hit End of Input while decoding a Subblock of type Repeating Data. To keep the loop termination condition elegant, the order of enumerations in coder->sequence were changed. Lasse Collin 2008-01-17 18:56:53 +0200
  • b254bd97b1 Fix wrong too small size of argument unfiltered_max in ia64_coder_init(). It triggered assert() in simple_coder.c, and could have caused a buffer overflow. Lasse Collin 2008-01-17 17:39:42 +0200
  • 8f5794c8f1 Added --delta to the output of "lzma --help". Lasse Collin 2008-01-17 17:27:45 +0200
  • f88590e001 Fix Subblock docoder: If Subblock filter was used with known Uncompressed Size, and the last output byte was from RLE, the code didn't stop decoding as it should have done. Lasse Collin 2008-01-17 13:14:20 +0200
  • bc0b945ca3 Tiny non-technical edits to file-format.txt. Lasse Collin 2008-01-16 16:33:37 +0200
  • 7599bb7064 Plugged a memory leak in stream_decoder.c. Lasse Collin 2008-01-16 14:48:04 +0200
  • 0b58153931 Added memory leak detection to lzmadec.c. Lasse Collin 2008-01-16 14:47:27 +0200
  • 5b5b13c7bb Added lzma_memlimit_count(). Lasse Collin 2008-01-16 14:46:50 +0200
  • 19389f2b82 Added ARRAY_SIZE(array) macro. Lasse Collin 2008-01-16 14:31:44 +0200
  • 9bc33a54cb Make Uncompresed Size validation more strict in alone_decoder.c. Lasse Collin 2008-01-16 13:27:03 +0200
  • 01d71d60b7 Free the allocated memory in lzmadec if debugging is enabled. This should make it possible to detect possible memory leaks with Valgrind. Lasse Collin 2008-01-15 17:46:59 +0200
  • 8235e6e5b2 Fix memory leaks from test_block_header.c. Lasse Collin 2008-01-15 16:25:38 +0200
  • f10fc6a69d Use fastpos.h when encoding LZMA dictionary size in Filter Flags encoder. Lasse Collin 2008-01-15 14:23:35 +0200
  • e5728142a2 Revised the fastpos code. It now uses the slightly faster table-based version from LZMA SDK 4.57. This should be fast on most systems. Lasse Collin 2008-01-15 14:02:22 +0200
  • 10437b5b56 Added bsr.h. Lasse Collin 2008-01-15 13:32:13 +0200
  • f3c88e8b8d Fixed assembler detection in configure.ac, and added detection for x86_64. Lasse Collin 2008-01-15 13:29:14 +0200
  • 54ec204f58 Omit invalid space from printf() format string in price_table_gen.c. Lasse Collin 2008-01-15 12:20:41 +0200
  • 01b4b19f49 Removed a few unused macros from lzma_common.h. Lasse Collin 2008-01-15 09:54:34 +0200
  • 19bd7f3cf2 Fix a typo in lzma_encoder.c. Lasse Collin 2008-01-15 08:37:42 +0200
  • 9f9b198301 Convert bittree_get_price() and bittree_reverse_get_price() from macros to inline functions. Lasse Collin 2008-01-15 08:36:25 +0200
  • 78e85cb1a7 Fix CRC code in case --enable-small is used. Lasse Collin 2008-01-15 07:44:59 +0200
  • 949d4346e2 Fix typo in test_index.c. Lasse Collin 2008-01-15 07:41:39 +0200
  • d13d693155 Added precomputed range coder probability price table. Lasse Collin 2008-01-15 07:40:21 +0200
  • 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 +0200
  • 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 +0200
  • b59ef39737 Added one assert() to process.c of the command line tool. Lasse Collin 2008-01-14 13:34:29 +0200
  • 9547e734a0 Don't use coder->lz.stream_end_was_reached in assertions in match_c.h. Lasse Collin 2008-01-14 12:09:52 +0200
  • 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 +0200
  • a670fec802 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders. Lasse Collin 2008-01-14 11:56:41 +0200
  • 3599dba957 More fixes to LZMA decoder's flush marker handling. Lasse Collin 2008-01-14 11:54:56 +0200
  • 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 +0200
  • 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 +0200
  • 0e70fbe403 Added good-single-none-empty_3.lzma and bad-single-none-empty.lzma. Lasse Collin 2008-01-09 12:06:46 +0200
  • 379fbbe84d Take advantage of return_if_error() in block_decoder.c. Lasse Collin 2008-01-08 23:11:59 +0200
  • 97d5fa8207 Updated tests/files/README. Lasse Collin 2008-01-08 23:10:57 +0200
  • 3bb9bb3109 Added test files with empty Compressed Data. Lasse Collin 2008-01-08 23:05:40 +0200
  • 7054c5f588 Fix decoding of Blocks that have only Block Header. Lasse Collin 2008-01-08 22:58:42 +0200
  • 753e4d95cd Added good-single-subblock_implicit.lzma. Lasse Collin 2008-01-08 22:27:46 +0200
  • faeac7b7ac Disable CRC32 from Block Headers when --check=none has been specified. Lasse Collin 2008-01-08 18:50:30 +0200
  • 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 +0200
  • 9080267603 Added a few test files. Lasse Collin 2008-01-08 13:35:36 +0200
  • 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 +0200
  • 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 +0200
  • 5d227e51c2 Updated fi.po although it's currently pretty much crap. Lasse Collin 2008-01-07 23:25:32 +0200
  • 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 +0200
  • 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 +0200
  • 2fd2d18154 Cosmetic edit to test_files.sh. Lasse Collin 2008-01-07 18:22:24 +0200
  • 9a71d57310 Added tests/files/README. Lasse Collin 2008-01-07 18:09:44 +0200
  • 47f48fe993 Tell in COPYING that everything in tests/files is public domain. Lasse Collin 2008-01-07 14:20:57 +0200
  • 3502b3e1d0 Cleaned up the tests/files directory. Lasse Collin 2008-01-07 14:19:05 +0200
  • 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 +0200
  • ecb2a6548f Updated README regarding the assembler optimizations. Lasse Collin 2008-01-07 11:23:13 +0200
  • eacb805043 Updated THANKS. Lasse Collin 2008-01-07 10:58:00 +0200
  • 1239649f96 Cosmetic changes to configure.ac. Lasse Collin 2008-01-06 21:47:17 +0200
  • 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 +0200
  • 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 +0200
  • 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 +0200
  • a71864f77d Fix typo in comment (INT64_MAX -> UINT64_MAX). Lasse Collin 2008-01-05 19:57:00 +0200
  • 072927905a Rearranged testing of GCC-specific flags. Lasse Collin 2008-01-05 19:42:04 +0200
  • d160ee3259 Another bug fix for flush marker detection. Lasse Collin 2008-01-05 01:20:24 +0200
  • fc67f79f60 Fix stupid bugs in flush marker detection. Lasse Collin 2008-01-04 21:37:01 +0200
  • 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 +0200
  • 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 +0200
  • 5db745cd2a Added a note to README that --disable-assembler must be used on Darwin. Lasse Collin 2007-12-14 11:15:21 +0200
  • 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 +0200
  • ec1c82b2e8 Fixed wrong symbol name in crc64_x86.s. Lasse Collin 2007-12-14 09:59:05 +0200
  • 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 +0200
  • 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 +0200
  • 918bcb0e07 Removed uncompressed size tracking from Delta encoder too. Lasse Collin 2007-12-11 17:08:04 +0200
  • 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 +0200
  • 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 +0200
  • 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 +0200
  • 7c1ad41eb6 Fixed wrong type of flags_size in Subblock encoder. Lasse Collin 2007-12-11 11:18:58 +0200
  • ce64df7162 Bumped version number to 4.42.3alpha. Lasse Collin 2007-12-10 20:44:16 +0200