Commit Graph

  • 96c46df7de Improve support for DOS-like systems. Here DOS-like means DOS, Windows, and OS/2. Lasse Collin 2009-02-13 17:29:02 +0200
  • b6a30ee8c2 Remove dead directories from .gitignore. Lasse Collin 2009-02-11 20:02:32 +0200
  • 1ec5b00279 .gitignore vs. Makefiles Jim Meyering 2009-02-11 14:45:14 +0100
  • 154f5aec2d Removed Makefile from .gitignore since not all Makefiles in the repository are generated by Autotools. People should do test builds in a separate build directory anyway. Lasse Collin 2009-02-10 21:48:35 +0200
  • e605c26636 Added resource files for the Windows build. Lasse Collin 2009-02-10 21:48:05 +0200
  • a3bbbe05d3 Let the user specify custom CFLAGS on the make command line. Previously custom CFLAGS worked only when they were passed to configure. Lasse Collin 2009-02-09 14:54:31 +0200
  • 53f7598998 Fix aliasing issue in physmem.h. Lasse Collin 2009-02-08 21:35:11 +0200
  • 0e27028d74 Add a separate internal function to initialize the CRC32 table, which is used also by LZ encoder. This was needed because calling lzma_crc32() and ignoring the result is a no-op due to lzma_attr_pure. Lasse Collin 2009-02-08 18:24:50 +0200
  • ae1ad9af54 Make "xz --force" to write to terminal as the error message suggests. Lasse Collin 2009-02-08 18:17:05 +0200
  • 79e25eded4 Support both slash and backslash as path component separator on Windows when parsing argv[0]. Lasse Collin 2009-02-08 10:37:50 +0200
  • bc7c7109cc Omit the wrong and (even if corrected) nowadays useless rm from autogen.sh. Lasse Collin 2009-02-07 23:18:13 +0200
  • edfc2031e5 Updated THANKS. Lasse Collin 2009-02-07 21:41:52 +0200
  • 880c330938 Make it easy to choose if command line tools should be linked statically or dynamically against liblzma. The default is still to use static liblzma, but it can now be changed by passing --enable-dynamic to configure. Thanks to Mike Frysinger for the original patch. Lasse Collin 2009-02-07 21:17:07 +0200
  • 3f86532407 add gitignore files Mike Frysinger 2009-02-06 23:38:39 -0500
  • bd7ca1dad5 Assume 32 MiB of RAM on unsupported operating systems like the comment in hardware.c already said. Lasse Collin 2009-02-07 17:07:52 +0200
  • d0ab8c1c73 MinGW support: Don't build fastpos_tablegen.c as part of liblzma. Build both static and dynamic liblzma, and also static and dynamic versions of the command line tools. Lasse Collin 2009-02-07 16:26:58 +0200
  • bfd91198e4 Support LZMA_API_STATIC in assembler files to avoid __declspec(dllexport) equivalent. Lasse Collin 2009-02-07 15:55:47 +0200
  • 3306cf3883 Introduced LZMA_API_STATIC macro, which the applications need to #define when linking against static liblzma on platforms like Windows. Most developers don't need to care about LZMA_API_STATIC at all. Lasse Collin 2009-02-07 11:11:50 +0200
  • b719e63c5f Another grammar fix Lasse Collin 2009-02-06 16:55:45 +0200
  • fe5434f940 Grammar fix in README. Lasse Collin 2009-02-06 12:30:23 +0200
  • 3dfa58a9ee Some MSYS installations (e.g. MsysGit) don't include install.exe, so don't rely on it. v4.999.8beta Lasse Collin 2009-02-06 10:06:32 +0200
  • 975d8fd72a Recreated the BCJ test files for x86 and SPARC. The old files were linked with crt*.o, which are copyrighted, and thus the old test files were not in the public domain as a whole. They are freely distributable though, but it is better to be careful and avoid including any copyrighted pieces in the test files. The new files are just compiled and assembled object files, and thus don't contain any copyrighted code. Lasse Collin 2009-02-06 09:13:15 +0200
  • 094b1b09a5 Add the "windows" directory to EXTRA_DIST. Lasse Collin 2009-02-05 21:21:27 +0200
  • e1c3412eec Added initial experimental makefile for use with MinGW. Lasse Collin 2009-02-05 09:17:51 +0200
  • 75905a9afc Various code cleanups the the xz command line tool. It now builds with MinGW. Lasse Collin 2009-02-05 09:12:57 +0200
  • d0c0b9e94e Another utime() fix. Lasse Collin 2009-02-03 12:15:17 +0200
  • ccf92a29e8 Fix wrong filename argument for utime() and utimes(). This doesn't affect most systems, since most systems have better functions available. Lasse Collin 2009-02-03 10:41:11 +0200
  • 99c1c2abfa Updated the x86 assembler code: - Use call/ret pair to get instruction pointer for PIC. - Use PIC only if PIC or __PIC__ is #defined. - The code should work on MinGW and Darwin in addition to GNU/Linux and Solaris. Lasse Collin 2009-02-02 21:19:01 +0200
  • 22a0c6dd94 Modify LZMA_API macro so that it works on Windows with other compilers than MinGW. This may hurt readability of the API headers slightly, but I don't know any better way to do this. Lasse Collin 2009-02-02 20:14:03 +0200
  • 8dd7b6052e Fix a bug in lzma_block_buffer_decode(), although this function should be rewritten anyway. Lasse Collin 2009-02-01 22:40:35 +0200
  • 55fd41431e Added initial version of raw buffer-to-buffer coding functions, and cleaned up filter.h API header a little. May be very buggy, not tested yet. Lasse Collin 2009-02-01 22:39:07 +0200
  • 3e54ecee5c Fix missing newlines in xzdec.c. Lasse Collin 2009-02-01 00:11:20 +0200
  • d64ca34f1b Use __cdecl also for function pointers in liblzma API when on Windows. Lasse Collin 2009-02-01 00:10:07 +0200
  • 6a2eb54092 Add LZMA_API to liblzma API headers. It's useful at least on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h has to be #included separately where needed. Lasse Collin 2009-01-31 11:01:48 +0200
  • d9993fcb4d Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. Lasse Collin 2009-01-31 10:13:09 +0200
  • 2dbdc5befb Fix two lines in lzma.h on which the # wasn't at the beginning of the line. Lasse Collin 2009-01-31 10:02:52 +0200
  • 4ab7601091 Add support for using liblzma headers in MSVC, which has no stdint.h or inttypes.h. Lasse Collin 2009-01-31 09:55:05 +0200
  • b2172cf823 Fix # -> ## in a macro in lzma.h. Lasse Collin 2009-01-31 08:49:54 +0200
  • 1aae869874 Updated README. Lasse Collin 2009-01-30 18:50:16 +0200
  • f54bcf6f80 Remove dangling crc64_init.c. Lasse Collin 2009-01-30 00:29:58 +0200
  • 982da7ed31 The .xz file format specification version 1.0.0 is now officially released. The format has been technically the same since 2008-11-19, but now that it is frozen, people can start using it without a fear that the format will break. Lasse Collin 2009-01-28 17:16:38 +0200
  • c4683a660b Updated THANKS. Lasse Collin 2009-01-28 08:45:59 +0200
  • 3241317093 Fix uninitialized variables in alone_decoder.c. This bug was triggered by the previous commit, since these variables were not used by anything before support for a preset dictionary. Lasse Collin 2009-01-28 08:43:26 +0200
  • f76e39cf93 Added initial support for preset dictionary for raw LZMA1 and LZMA2. It is not supported by the .xz format or the xz command line tool yet. Lasse Collin 2009-01-27 18:36:05 +0200
  • 449b8c832b Regenerate the CRC tables without trailing blanks. Lasse Collin 2009-01-26 20:09:17 +0200
  • 850f740042 remove trailing blanks from all but .xz files Jim Meyering 2009-01-19 21:37:16 +0100
  • 667481f1aa Add lzma_block_buffer_decode(). Lasse Collin 2009-01-26 14:34:10 +0200
  • 5fb34d8324 Add more sanity checks to lzma_stream_buffer_decode(). Lasse Collin 2009-01-26 14:33:28 +0200
  • c129748675 Avoid hardcoded constant in easy.c. Lasse Collin 2009-01-26 14:33:13 +0200
  • 1859d22d75 Tiny bit better sanity check in block_util.c Lasse Collin 2009-01-26 13:06:49 +0200
  • 2c5fe958e4 Fix a dumb bug in Block decoder, which made it return LZMA_DATA_ERROR with valid data. The bug was added in e114502b2b. Lasse Collin 2009-01-25 01:35:56 +0200
  • c81f13ff29 Added lzma_stream_buffer_decode() and made minor cleanups. Lasse Collin 2009-01-23 22:27:50 +0200
  • 0b3318661c Fix a comment. Lasse Collin 2009-01-22 12:53:33 +0200
  • 9ec80355a7 Add some single-call buffer-to-buffer coding functions. Lasse Collin 2009-01-20 16:37:27 +0200
  • d8b58d0993 Block encoder cleanups Lasse Collin 2009-01-20 13:45:41 +0200
  • 0c09810cb3 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h. Lasse Collin 2009-01-20 10:35:15 +0200
  • 2f1a8e8eb8 Fix handling of non-fatal errors in lzma_code(). Lasse Collin 2009-01-19 22:53:18 +0200
  • 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 +0200
  • 00be5d2e09 Remove dead code. Lasse Collin 2009-01-19 13:52:36 +0200
  • 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 +0200
  • b056379490 Updated THANKS. Lasse Collin 2009-01-15 14:29:22 +0200
  • 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 +0200
  • 8286a60b8f Use pthread_sigmask() instead of sigprocmask() when pthreads are enabled. Lasse Collin 2009-01-07 18:41:15 +0200
  • 4fd43cb3a9 Bumped version to 4.999.8beta right after the release of 4.999.7beta. Lasse Collin 2008-12-31 20:01:00 +0200
  • 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 +0200
  • 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 +0200
  • b59f1e98f5 Update some files in debug directory. Lasse Collin 2008-12-31 17:42:50 +0200
  • d1d17a40d3 Prepare for 4.999.7beta release. Lasse Collin 2008-12-31 17:41:46 +0200
  • 88d3e6b0b1 Cleaned up some comments in the API headers. Lasse Collin 2008-12-31 17:15:03 +0200
  • 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 +0200
  • 7eea8bec3a Fixed missing quoting in configure.ac. Lasse Collin 2008-12-31 00:57:27 +0200
  • 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 +0200
  • 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 +0200
  • 5cda29b566 Use 28 MiB as memory usage limit for encoding in test_compress.sh. Lasse Collin 2008-12-27 19:40:31 +0200
  • 050eb14d29 Revert a change made in 3b34851de1 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 +0200
  • 4820f10d0f Some xz command line tool improvements. Lasse Collin 2008-12-27 19:30:19 +0200
  • 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 +0200
  • 4d00652e75 Updated Makefile.am that was missing from the previous commit. Lasse Collin 2008-12-18 13:42:52 +0200
  • 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 +0200
  • 4fed98417d xz message handling improvements Lasse Collin 2008-12-17 20:11:23 +0200
  • 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 +0200
  • 671a5adf1e Bunch of liblzma API cleanups and fixes. Lasse Collin 2008-12-15 19:39:13 +0200
  • 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 +0200
  • f9f2d1e743 Added two new test files. Lasse Collin 2008-12-15 11:20:22 +0200
  • ff7fb2c605 Fix data corruption in LZMA2 decoder. Lasse Collin 2008-12-15 10:01:59 +0200
  • 1ceebcf7e1 Name the package "xz" in configure.ac. Lasse Collin 2008-12-13 00:54:11 +0200
  • 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 +0200
  • 8582d392ba Remove obsolete comment. Lasse Collin 2008-12-10 01:31:00 +0200
  • b1ae6dd731 Use "decompression" consistently in --long-help. Lasse Collin 2008-12-10 01:27:15 +0200
  • 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 +0200
  • 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 +0200
  • 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 +0200
  • f20a03206b Updated THANKS. Lasse Collin 2008-12-09 10:36:24 +0200
  • 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 +0200
  • ccd57afa09 Validate the filter chain before checking filter-specific memory usage. Lasse Collin 2008-12-01 22:59:28 +0200
  • c596fda40b Make the memusage functions of LZMA1 and LZMA2 decoders to validate the filter options. Lasse Collin 2008-12-01 22:58:22 +0200
  • c58f469be5 Added the changes for Delta filter that should have been part of 656ec87882. Lasse Collin 2008-12-01 22:55:18 +0200
  • 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 +0200
  • 656ec87882 Added lzma_delta_coder_memusage() which also validates the options. Lasse Collin 2008-12-01 16:30:11 +0200
  • 691a9155b7 Automake includes the m4 directory, so don't add it in Makefile.am separately. Lasse Collin 2008-11-29 10:03:49 +0200