1
0
mirror of https://git.tukaani.org/xz.git synced 2025-11-24 15:54:46 +00:00

Commit Graph

  • c81f13ff29 Added lzma_stream_buffer_decode() and made minor cleanups. Lasse Collin 2009-01-23 22:27:50 +02:00
  • 0b3318661c Fix a comment. Lasse Collin 2009-01-22 12:53:33 +02:00
  • 9ec80355a7 Add some single-call buffer-to-buffer coding functions. Lasse Collin 2009-01-20 16:37:27 +02:00
  • d8b58d0993 Block encoder cleanups Lasse Collin 2009-01-20 13:45:41 +02:00
  • 0c09810cb3 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h. Lasse Collin 2009-01-20 10:35:15 +02:00
  • 2f1a8e8eb8 Fix handling of non-fatal errors in lzma_code(). Lasse Collin 2009-01-19 22:53:18 +02:00
  • 4810b6bc25 Move some LZMA2 constants to lzma2_encoder.h so that they can be used outside lzma2_encoder.c. Lasse Collin 2009-01-19 14:00:33 +02:00
  • 00be5d2e09 Remove dead code. Lasse Collin 2009-01-19 13:52:36 +02:00
  • 128586213f Beta was supposed to be API stable but I had forgot to rename lzma_memlimit_encoder and lzma_memlimit_decoder to lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-( Now it is fixed. Hopefully it doesn't cause too much trouble to those who already thought API is stable. Lasse Collin 2009-01-17 14:24:25 +02:00
  • b056379490 Updated THANKS. Lasse Collin 2009-01-15 14:29:22 +02:00
  • dc8f3be06d Fixed a bug in 7z2lzma.bash to make it work with .7z files that use something else than 2^n as the dictionary size. Thanks to Dan Shechter for the bug report. Lasse Collin 2009-01-15 14:27:32 +02:00
  • 8286a60b8f Use pthread_sigmask() instead of sigprocmask() when pthreads are enabled. Lasse Collin 2009-01-07 18:41:15 +02:00
  • 4fd43cb3a9 Bumped version to 4.999.8beta right after the release of 4.999.7beta. Lasse Collin 2008-12-31 20:01:00 +02:00
  • 061748f593 Disable Subblock filter from test_compress.sh since it is disabled by default in configure.ac. v4.999.7beta Lasse Collin 2008-12-31 18:59:02 +02:00
  • 9c45658ddc Disable both Subblock encoder and decoder my default, since they are not finished and may have security issues too. Lasse Collin 2008-12-31 17:44:20 +02:00
  • b59f1e98f5 Update some files in debug directory. Lasse Collin 2008-12-31 17:42:50 +02:00
  • d1d17a40d3 Prepare for 4.999.7beta release. Lasse Collin 2008-12-31 17:41:46 +02:00
  • 88d3e6b0b1 Cleaned up some comments in the API headers. Lasse Collin 2008-12-31 17:15:03 +02:00
  • 322ecf93c9 Renamed lzma_options_simple to lzma_options_bcj in the API. The internal implementation is still using the name "simple". It may need some cleanups, so I look at it later. Lasse Collin 2008-12-31 16:29:39 +02:00
  • 7eea8bec3a Fixed missing quoting in configure.ac. Lasse Collin 2008-12-31 00:57:27 +02:00
  • 28e75f7086 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which should have been in the previous commit. Lasse Collin 2008-12-31 00:48:23 +02:00
  • 7ed9d943b3 Remove lzma_init() and other init functions from liblzma API. Half of developers were already forgetting to use these functions, which could have caused total breakage in some future liblzma version or even now if --enable-small was used. Now liblzma uses pthread_once() to do the initializations unless it has been built with --disable-threads which make these initializations thread-unsafe. Lasse Collin 2008-12-31 00:30:49 +02:00
  • 5cda29b566 Use 28 MiB as memory usage limit for encoding in test_compress.sh. Lasse Collin 2008-12-27 19:40:31 +02:00
  • 050eb14d29 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680 that was related to LZMA_MODE_FAST. The original code is slightly faster although it compresses slightly worse. But since it is fast mode, it is better to select the faster version. Lasse Collin 2008-12-27 19:32:20 +02:00
  • 4820f10d0f Some xz command line tool improvements. Lasse Collin 2008-12-27 19:30:19 +02:00
  • e33194e79d Bunch of liblzma tweaks, including some API changes. The API and ABI should now be very close to stable, although the code behind it isn't yet. Lasse Collin 2008-12-27 19:27:49 +02:00
  • 4d00652e75 Updated Makefile.am that was missing from the previous commit. Lasse Collin 2008-12-18 13:42:52 +02:00
  • 634636fa56 Remove the alignment functions for now. Maybe they will be added back in some form later, but the current version wasn't modular, so it would need fixing anyway. Lasse Collin 2008-12-17 21:49:53 +02:00
  • 4fed98417d xz message handling improvements Lasse Collin 2008-12-17 20:11:23 +02:00
  • 653e457e37 Fix a dumb bug in .lzma decoder which was introduced in the previous commit. (Probably the previous commit has other bugs too, it wasn't tested.) Lasse Collin 2008-12-15 23:26:43 +02:00
  • 671a5adf1e Bunch of liblzma API cleanups and fixes. Lasse Collin 2008-12-15 19:39:13 +02:00
  • 17781c2c20 The LZMA2 decoder fix introduced a bug to LZ decoder, which made LZ decoder return too early after dictionary reset. This fixes it. Lasse Collin 2008-12-15 14:26:52 +02:00
  • f9f2d1e743 Added two new test files. Lasse Collin 2008-12-15 11:20:22 +02:00
  • ff7fb2c605 Fix data corruption in LZMA2 decoder. Lasse Collin 2008-12-15 10:01:59 +02:00
  • 1ceebcf7e1 Name the package "xz" in configure.ac. Lasse Collin 2008-12-13 00:54:11 +02:00
  • a94bf00d0a Some adjustments to GCC warning flags. The important change is the removal of -pedantic. It messes up -Werror (which I really want to keep so that I don't miss any warnings) with printf format strings that are in POSIX but not in C99. Lasse Collin 2008-12-12 22:43:21 +02:00
  • 8582d392ba Remove obsolete comment. Lasse Collin 2008-12-10 01:31:00 +02:00
  • b1ae6dd731 Use "decompression" consistently in --long-help. Lasse Collin 2008-12-10 01:27:15 +02:00
  • 1ea9e7f15a Added preset=NUM to --lzma1 and --lzma2. This makes it easy to take a preset as a template and modify it a little. Lasse Collin 2008-12-10 01:23:58 +02:00
  • bceb3918db Put the file format specification into the public domain. Same will be done to the actual code later. Lasse Collin 2008-12-09 17:43:31 +02:00
  • 6efa2d80d4 Make the memusage functions of LZMA1 and LZMA2 encoders to validate the filter options. Add missing validation to LZMA2 encoder when options are changed in the middle of encoding. Lasse Collin 2008-12-09 17:41:49 +02:00
  • f20a03206b Updated THANKS. Lasse Collin 2008-12-09 10:36:24 +02:00
  • ef7890d564 In command line tool, take advantage of memusage calculation's ability to also validate the filter chain and options (not implemented yet for all filters). Lasse Collin 2008-12-01 23:04:12 +02:00
  • ccd57afa09 Validate the filter chain before checking filter-specific memory usage. Lasse Collin 2008-12-01 22:59:28 +02:00
  • c596fda40b Make the memusage functions of LZMA1 and LZMA2 decoders to validate the filter options. Lasse Collin 2008-12-01 22:58:22 +02:00
  • c58f469be5 Added the changes for Delta filter that should have been part of 656ec87882ee74b192c4ea4a233a235eca7b04d4. Lasse Collin 2008-12-01 22:55:18 +02:00
  • cd70801520 LZMA2 decoder cleanups. Make it require new LZMA properties also in the first LZMA chunk after a dictionary reset in uncompressed chunk. Lasse Collin 2008-12-01 22:50:28 +02:00
  • 656ec87882 Added lzma_delta_coder_memusage() which also validates the options. Lasse Collin 2008-12-01 16:30:11 +02:00
  • 691a9155b7 Automake includes the m4 directory, so don't add it in Makefile.am separately. Lasse Collin 2008-11-29 10:03:49 +02:00
  • c7007ddf06 Tested using COLUMNS environment variable to avoid broken progress indicator but since COLUMNS isn't usually available, the code was left commented out. Lasse Collin 2008-11-28 12:00:48 +02:00
  • ae65dcfde2 Cleanups to message.c. Lasse Collin 2008-11-27 19:28:59 +02:00
  • a8368b75cd Remove the nowadays unneeded memory limitting malloc() wrapper. Lasse Collin 2008-11-25 02:37:47 +02:00
  • 69472ee5f0 VLI encoder and decoder cleanups. Made encoder return LZMA_PROG_ERROR in single-call mode if there's no output space. Lasse Collin 2008-11-23 15:09:03 +02:00
  • 4249c8c15a Typo fix Lasse Collin 2008-11-22 17:44:33 +02:00
  • 6d1d6f4598 Support NetBSD's errno for O_NOFOLLOW. Lasse Collin 2008-11-20 22:59:10 +02:00
  • f901a290ee Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz files and lzmadec only .lzma files. Lasse Collin 2008-11-20 18:05:52 +02:00
  • 86a0ed8f01 Minor cleanups to xzdec. Lasse Collin 2008-11-20 11:01:29 +02:00
  • 54f716ba89 Added missing check for uint16_t. Lasse Collin 2008-11-19 23:55:22 +02:00
  • 1880a3927b Renamed lzma to xz and lzmadec to xzdec. We create symlinks lzma, unlzma, and lzcat in "make install" for backwards compatibility with LZMA Utils 4.32.x; I'm not sure if this should be the default though. Lasse Collin 2008-11-19 23:52:24 +02:00
  • e114502b2b Oh well, big messy commit again. Some highlights: - Updated to the latest, probably final file format version. - Command line tool reworked to not use threads anymore. Threading will probably go into liblzma anyway. - Memory usage limit is now about 30 % for uncompression and about 90 % for compression. - Progress indicator with --verbose - Simplified --help and full --long-help - Upgraded to the last LGPLv2.1+ getopt_long from gnulib. - Some bug fixes Lasse Collin 2008-11-19 20:46:52 +02:00
  • 3c3905b534 Fixed the test that should have been fixed as part of 1e8e4fd1f3e50129b4541406ad765d2aa1233943. Lasse Collin 2008-10-09 11:12:29 +03:00
  • 0f295bf7a3 Fixed some help messages. Lasse Collin 2008-10-07 16:42:18 +03:00
  • 1e8e4fd1f3 Made the preset numbering more logical in liblzma API. Lasse Collin 2008-10-07 09:40:31 +03:00
  • 5e4df4c3c0 Removed fi from po/LINGUAS. Lasse Collin 2008-10-03 19:36:09 +03:00
  • fcfb86c777 Fixed suffix handling with --format=raw. Lasse Collin 2008-10-03 07:06:48 +03:00
  • bd137524f2 Initial changes to change the suffix of the new format to .xz. This also fixes a bug related to --suffix option. Some issues with suffixes with --format=raw were not fixed. Lasse Collin 2008-10-02 22:51:46 +03:00
  • 4c321a41c4 Renamed the test files from .lzma suffix to .xz suffix. Lasse Collin 2008-09-30 17:43:55 +03:00
  • 8e60c889a2 Fixed Stream decoder to actually use the first_stream variable. Lasse Collin 2008-09-30 13:57:44 +03:00
  • 3bdbc12c05 Added one more test file. Lasse Collin 2008-09-30 13:56:57 +03:00
  • a6639022fd Fixed uninitialized variable in Stream decoder. Lasse Collin 2008-09-30 13:34:07 +03:00
  • ed3709000a Added two test files. Lasse Collin 2008-09-30 13:27:28 +03:00
  • ea560b0ea8 Fix conflicting Subblock helper filter's ID. Lasse Collin 2008-09-27 23:49:24 +03:00
  • ad97483b6e Changed magic bytes to match the updated spec. Filename suffix wasn't changed yet. Lasse Collin 2008-09-27 23:37:13 +03:00
  • 7a57069167 Remove po/fi.po since I'm not keeping it updated for now. Lasse Collin 2008-09-27 23:16:09 +03:00
  • 018ae09df8 Fix also test_compress.sh. Lasse Collin 2008-09-27 23:13:54 +03:00
  • 3a62a5fb85 Fixed compilation of test_filter_flags.c, which was broken by 1dcecfb09b55157b8653d747963069c8bed74f04. Lasse Collin 2008-09-27 23:01:15 +03:00
  • c6ca26eef7 Updated file format specification. It changes the suffix of the new format to .xz and removes the recently added LZMA filter. Lasse Collin 2008-09-27 19:11:02 +03:00
  • 1dcecfb09b Some API changes, bug fixes, cleanups etc. Lasse Collin 2008-09-27 19:09:21 +03:00
  • 5cc5064cae Added 7z2lzma.bash. Lasse Collin 2008-09-27 11:28:49 +03:00
  • f147666a5c Miscellaneous LZ and LZMA encoder cleanups Lasse Collin 2008-09-17 22:11:39 +03:00
  • 13d68b0698 LZ decoder cleanup Lasse Collin 2008-09-13 13:54:00 +03:00
  • 13a74b78e3 Renamed constants: - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR Lasse Collin 2008-09-13 12:10:43 +03:00
  • 320601b2c7 Improved the Stream Flags handling API. Lasse Collin 2008-09-12 22:41:40 +03:00
  • ec490da522 Simplified debug/known_sizes.c to match the relaxed requirements of Block encoder. Lasse Collin 2008-09-11 23:10:44 +03:00
  • 16e8b98f26 Remove a check from Block encoder that should have already been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e. Lasse Collin 2008-09-11 23:09:24 +03:00
  • 5a710c3805 Remove bogus #includes. Lasse Collin 2008-09-11 20:02:38 +03:00
  • 01892b2ca5 Updated THANKS. Lasse Collin 2008-09-11 10:49:14 +03:00
  • 962f2231d4 Fix a compiler error on big endian systems that don't support unaligned memory access. Lasse Collin 2008-09-11 10:48:12 +03:00
  • fa3ab0df8a Silence a compiler warning. Lasse Collin 2008-09-11 10:46:14 +03:00
  • 9373e81e18 Bumped version to 4.999.6alpha. Lasse Collin 2008-09-10 19:16:32 +03:00
  • cb072b7c84 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c. Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID is in the reserved range. This allows Block Header encoder to detect unallowed Filter IDs, which is good for Stream encoder. v4.999.5alpha Lasse Collin 2008-09-10 17:02:00 +03:00
  • 123ab0acec Filter handling cleanups Lasse Collin 2008-09-10 16:44:32 +03:00
  • 9cfcd0c4f2 Comments Lasse Collin 2008-09-10 00:33:00 +03:00
  • 2ba01bfa75 Cleaned up Block encoder and moved the no longer shared code from block_private.h to block_decoder.c. Now the Block encoder doesn't need compressed_size and uncompressed_size from lzma_block structure to be initialized. Lasse Collin 2008-09-10 00:27:02 +03:00
  • 07efcb5a6b Changed Filter ID of LZMA to 0x20. Lasse Collin 2008-09-07 10:23:13 +03:00
  • 32fe5fa541 Comments Lasse Collin 2008-09-06 23:42:50 +03:00
  • 0a31ed9d5e Some API cleanups Lasse Collin 2008-09-06 15:14:30 +03:00
  • da98df5440 Added support for raw encoding and decoding to the command line tool, and made various cleanups. --lzma was renamed to --lzma1 to prevent people from accidentally using LZMA when they want LZMA2. Lasse Collin 2008-09-04 11:53:06 +03:00
  • 2496aee8a7 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's simply nothing that would use it. Allow LZMA_FINISH to the decoders, which will usually ignore it (auto decoder and Stream decoder being exceptions). Lasse Collin 2008-09-04 10:39:15 +03:00
  • bea301c26d Minor updates to the file format specification. Lasse Collin 2008-09-03 17:06:25 +03:00