Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-02 | Define PACKAGE_HOMEPAGE in configure.ac and use it in | Lasse Collin | 2 | -4/+4 | |
xz and xzdec. Use also PACKAGE_NAME instead of hardcoding "XZ Utils". | |||||
2009-06-30 | Build system fixes | Lasse Collin | 20 | -361/+394 | |
Don't use libtool convenience libraries to avoid recently discovered long-standing subtle but somewhat severe bugs in libtool (at least 1.5.22 and 2.2.6 are affected). It was found when porting XZ Utils to Windows <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html> but the problem is significant also e.g. on GNU/Linux. Unless --disable-shared is passed to configure, static library built from a set of convenience libraries will contain PIC objects. That is, while libtool builds non-PIC objects too, only PIC objects will be used from the convenience libraries. On 32-bit x86 (tested on mobile XP2400+), using PIC instead of non-PIC makes the decompressor 10 % slower with the default CFLAGS. So while xz was linked against static liblzma by default, it got the slower PIC objects unless --disable-shared was used. I tend develop and benchmark with --disable-shared due to faster build time, so I hadn't noticed the problem in benchmarks earlier. This commit also adds support for building Windows resources into liblzma and executables. | |||||
2009-06-28 | Add -no-undefined to get shared liblzma on Windows. | Lasse Collin | 1 | -1/+1 | |
2009-06-27 | Make physmem() work on Cygwin 1.5 and older. | Lasse Collin | 1 | -37/+40 | |
2009-06-27 | Moved the Windows resource files outside the windows directory | Lasse Collin | 5 | -0/+66 | |
to prepare for building them with Autotools. | |||||
2009-06-27 | Added missing $(EXEEXT). | Lasse Collin | 1 | -1/+1 | |
2009-06-27 | Create correct symlinks even when | Lasse Collin | 3 | -45/+65 | |
--program-{prefix,suffix,transform} is passed to configure. | |||||
2009-06-27 | Silence a compiler warning on DOS-like systems. | Lasse Collin | 1 | -1/+4 | |
2009-06-27 | Hopefully improved portability of the assembler code in | Lasse Collin | 2 | -2/+14 | |
Autotools based builds on Windows. | |||||
2009-06-26 | Updated comments to match renamed files. | Lasse Collin | 4 | -4/+4 | |
2009-06-26 | Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc] | Lasse Collin | 6 | -6/+6 | |
to avoid problems on systems with system headers with those names. | |||||
2009-06-26 | Rename process_file() to coder_run(). | Lasse Collin | 3 | -9/+8 | |
2009-06-26 | Ugly hack to make it possible to use the thousand separator | Lasse Collin | 4 | -23/+78 | |
format character with snprintf() on POSIX systems but not on non-POSIX systems and still keep xgettext working. | |||||
2009-06-26 | Basic support for building with Cygwin and MinGW using | Lasse Collin | 4 | -9/+14 | |
the Autotools based build system. It's not good yet, more fixes will follow. | |||||
2009-06-26 | Fix @variables@ to $(variables) in Makefile.am files. | Lasse Collin | 10 | -44/+46 | |
Fix the ordering of libgnu.a and LTLIBINTL on the linker command line and added missing LTLIBINTL to tests/Makefile.am. | |||||
2009-06-24 | Support HW_PHYSMEM64 | Lasse Collin | 1 | -11/+19 | |
2009-06-24 | Cast a char argument to isspace() to unsigned char. | Lasse Collin | 1 | -2/+9 | |
2009-06-04 | Added xzdec man page. | Lasse Collin | 2 | -0/+184 | |
2009-06-04 | Harmonized xzdec --memory with xz --memory and made | Lasse Collin | 1 | -21/+53 | |
minor cleanups. | |||||
2009-06-04 | Fix purporse -> purpose. Thanks to Andrew Dudman. | Lasse Collin | 1 | -1/+1 | |
Released .xz spec 1.0.2 due to this fix too. | |||||
2009-05-26 | Make the raw value of the Check field available to applications | Lasse Collin | 4 | -31/+42 | |
via lzma_block structure. This changes ABI but not doesn't break API. | |||||
2009-05-23 | Remove undocumented alternative option names --bcj, --ppc, | Lasse Collin | 1 | -3/+0 | |
and --itanium. | |||||
2009-05-23 | Add support for specifying the BCJ filter start offset | Lasse Collin | 4 | -21/+76 | |
in the xz command line tool. | |||||
2009-05-22 | Added support for --quiet and --no-warn to xzdec. | Lasse Collin | 1 | -27/+49 | |
Cleaned up the --help message a little. | |||||
2009-05-22 | Use the 40 % of RAM memory usage limit in xzdec too. | Lasse Collin | 1 | -5/+5 | |
Update the memory usage info text in --help to match the text in xz --long-help. | |||||
2009-05-22 | Add --no-warn. | Lasse Collin | 4 | -1/+34 | |
2009-05-22 | Fix a comment. | Lasse Collin | 1 | -1/+1 | |
2009-05-22 | Remove the --info option, which was an alias for --list. | Lasse Collin | 1 | -1/+0 | |
2009-05-22 | If xz is run as lzma, unlzma, or lzcat, simply imply | Lasse Collin | 1 | -11/+6 | |
--format=lzma. This means that xz emulating lzma doesn't decompress .xz files, while before this commit it did. The new way is slightly simpler in code and especially in upcoming documentation. | |||||
2009-05-22 | Make the default memory usage limit 40 % of RAM for both | Lasse Collin | 5 | -88/+82 | |
compressing and decompressing. This should be OK now that xz automatically scales down the compression settings if they would exceed the memory usage limit (earlier, the limit for compression was increased to 90 % because low limit broke scripts that used "xz -9" on systems with low RAM). Support spcifying the memory usage limit as a percentage of RAM (e.g. --memory=50%). Support --threads=0 to reset the thread limit to the default value (number of available CPU cores). Use UINT32_MAX instead of SIZE_MAX as the maximum in args.c. hardware.c was already expecting uint32_t value. Cleaned up the output of --help and --long-help. | |||||
2009-05-21 | Support special value "max" where xz and xzdec accept an integer. | Lasse Collin | 2 | -1/+9 | |
Don't round the memory usage limit in xzdec --help to avoid an integer overflow and to not give wrong impression that the limit is high enough when it may not actually be. | |||||
2009-05-21 | Install lzdiff, lzgrep, and lzmore as symlinks | ABCD | 1 | -2/+14 | |
This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install. It also installs symlinks for the manual pages and removes the new symlinks on uninstall. | |||||
2009-05-02 | Use a GCC-specific #pragma instead of GCC-specific | Lasse Collin | 2 | -5/+5 | |
-Wno-uninitialized to silence a bogus warning. | |||||
2009-04-28 | Fixed a crash in liblzma. | Lasse Collin | 11 | -13/+13 | |
liblzma tries to avoid useless free()/malloc() pairs in initialization when multiple files are handled using the same lzma_stream. This didn't work with filter chains due to comparison of wrong pointers in lzma_next_coder_init(), making liblzma think that no memory reallocation is needed even when it actually is. Easy way to trigger this bug is to decompress two files with a single xz command. The first file should have e.g. x86+LZMA2 as the filter chain, and the second file just LZMA2. | |||||
2009-04-15 | Fix uint32_t -> size_t in ARM and ARM-Thumb filters. | Lasse Collin | 2 | -2/+2 | |
On 64-bit system it would have gone into infinite loop if a single input buffer was over 4 GiB (unlikely). | |||||
2009-04-13 | Quick & dirty update to support xz in diff/grep/more scripts. | Lasse Collin | 7 | -75/+119 | |
2009-04-13 | Put the interesting parts of XZ Utils into the public domain. | Lasse Collin | 177 | -1750/+723 | |
Some minor documentation cleanups were made at the same time. | |||||
2009-04-10 | Fix off-by-one in LZ decoder. | Lasse Collin | 1 | -1/+1 | |
Fortunately, this bug had no security risk other than accepting some corrupt files as valid. | |||||
2009-03-18 | Fix wrong macro names in lc_cpucores.m4 and cpucores.h. | Lasse Collin | 1 | -2/+2 | |
Thanks to Bert Wesarg. | |||||
2009-02-22 | Add a rough explanation of --extreme to output of --help. | Lasse Collin | 1 | -0/+4 | |
2009-02-22 | Fixes to progress message handling in xz: | Lasse Collin | 3 | -213/+351 | |
- Don't use Windows-specific code on Windows. The old code required at least Windows 2000. Now it should work on Windows 98 and later, and maybe on Windows 95 too. - Use less precision when showing estimated remaining time. - Fix some small design issues. | |||||
2009-02-18 | Added files missing from the previous commit. | Lasse Collin | 2 | -1/+39 | |
2009-02-17 | Added lzma_easy_buffer_encode(). Splitted easy.c into small | Lasse Collin | 6 | -47/+175 | |
pieces to avoid unneeded dependencies making statically linked applications bigger than needed. | |||||
2009-02-15 | Make physmem.h work on old Windows versions. | Lasse Collin | 1 | -4/+27 | |
Thanks to Hongbo Ni for the original patch. | |||||
2009-02-14 | Fix microsecond vs. nanosecond confusion in my_time(). | Lasse Collin | 1 | -1/+1 | |
2009-02-14 | Cleanups to the code that detects the amount of RAM and | Lasse Collin | 7 | -43/+102 | |
the number of CPU cores. Added support for using sysinfo() on Linux systems whose libc lacks appropriate sysconf() support (at least dietlibc). The Autoconf macros were split into separate files, and CPU core count detection was moved from hardware.c to cpucores.h. The core count isn't used for anything real for now, so a problematic part in process.c was commented out. | |||||
2009-02-13 | Changed how the version number is specified in various places. | Lasse Collin | 4 | -6/+70 | |
Now configure.ac will get the version number directly from src/liblzma/api/lzma/version.h. The intent is to reduce the number of places where the version number is duplicated. In future, support for displaying Git commit ID may be added too. | |||||
2009-02-13 | Fix handling of integrity check type in the xz command line tool. | Lasse Collin | 2 | -1/+12 | |
2009-02-13 | Improve support for DOS-like systems. | Lasse Collin | 10 | -30/+86 | |
Here DOS-like means DOS, Windows, and OS/2. | |||||
2009-02-09 | Let the user specify custom CFLAGS on the make command | Lasse Collin | 1 | -1/+1 | |
line. Previously custom CFLAGS worked only when they were passed to configure. | |||||
2009-02-08 | Fix aliasing issue in physmem.h. | Lasse Collin | 1 | -9/+10 | |
2009-02-08 | Add a separate internal function to initialize the CRC32 | Lasse Collin | 3 | -3/+12 | |
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. | |||||
2009-02-08 | Make "xz --force" to write to terminal as the error | Lasse Collin | 1 | -1/+1 | |
message suggests. | |||||
2009-02-08 | Support both slash and backslash as path component | Lasse Collin | 1 | -0/+9 | |
separator on Windows when parsing argv[0]. | |||||
2009-02-07 | Make it easy to choose if command line tools should be | Lasse Collin | 2 | -7/+6 | |
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. Fixed a few minor bugs in configure.ac. | |||||
2009-02-07 | Assume 32 MiB of RAM on unsupported operating systems like | Lasse Collin | 1 | -1/+1 | |
the comment in hardware.c already said. | |||||
2009-02-07 | Support LZMA_API_STATIC in assembler files to | Lasse Collin | 2 | -0/+6 | |
avoid __declspec(dllexport) equivalent. | |||||
2009-02-07 | Introduced LZMA_API_STATIC macro, which the applications | Lasse Collin | 2 | -8/+25 | |
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. | |||||
2009-02-05 | Various code cleanups the the xz command line tool. | Lasse Collin | 18 | -246/+399 | |
It now builds with MinGW. | |||||
2009-02-03 | Another utime() fix. | Lasse Collin | 1 | -4/+5 | |
2009-02-03 | Fix wrong filename argument for utime() and utimes(). | Lasse Collin | 1 | -2/+2 | |
This doesn't affect most systems, since most systems have better functions available. | |||||
2009-02-02 | Updated the x86 assembler code: | Lasse Collin | 2 | -22/+144 | |
- 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. | |||||
2009-02-02 | Modify LZMA_API macro so that it works on Windows with | Lasse Collin | 54 | -176/+177 | |
other compilers than MinGW. This may hurt readability of the API headers slightly, but I don't know any better way to do this. | |||||
2009-02-01 | Fix a bug in lzma_block_buffer_decode(), although this | Lasse Collin | 1 | -4/+4 | |
function should be rewritten anyway. | |||||
2009-02-01 | Added initial version of raw buffer-to-buffer coding | Lasse Collin | 4 | -20/+221 | |
functions, and cleaned up filter.h API header a little. May be very buggy, not tested yet. | |||||
2009-02-01 | Fix missing newlines in xzdec.c. | Lasse Collin | 1 | -3/+3 | |
2009-02-01 | Use __cdecl also for function pointers in liblzma API when | Lasse Collin | 3 | -20/+20 | |
on Windows. | |||||
2009-01-31 | Add LZMA_API to liblzma API headers. It's useful at least | Lasse Collin | 16 | -88/+130 | |
on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h has to be #included separately where needed. | |||||
2009-01-31 | Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. | Lasse Collin | 1 | -2/+2 | |
2009-01-31 | Fix two lines in lzma.h on which the # wasn't at the | Lasse Collin | 1 | -2/+2 | |
beginning of the line. | |||||
2009-01-31 | Add support for using liblzma headers in MSVC, which has no | Lasse Collin | 1 | -24/+46 | |
stdint.h or inttypes.h. | |||||
2009-01-31 | Fix # -> ## in a macro in lzma.h. | Lasse Collin | 1 | -1/+1 | |
2009-01-30 | Remove dangling crc64_init.c. | Lasse Collin | 1 | -55/+0 | |
2009-01-28 | Fix uninitialized variables in alone_decoder.c. This bug was | Lasse Collin | 1 | -0/+2 | |
triggered by the previous commit, since these variables were not used by anything before support for a preset dictionary. | |||||
2009-01-27 | Added initial support for preset dictionary for raw LZMA1 | Lasse Collin | 8 | -27/+77 | |
and LZMA2. It is not supported by the .xz format or the xz command line tool yet. | |||||
2009-01-26 | Regenerate the CRC tables without trailing blanks. | Lasse Collin | 4 | -2024/+2024 | |
2009-01-26 | remove trailing blanks from all but .xz files | Jim Meyering | 4 | -7/+7 | |
2009-01-26 | Add lzma_block_buffer_decode(). | Lasse Collin | 3 | -0/+129 | |
2009-01-26 | Add more sanity checks to lzma_stream_buffer_decode(). | Lasse Collin | 1 | -0/+7 | |
2009-01-26 | Avoid hardcoded constant in easy.c. | Lasse Collin | 1 | -1/+1 | |
2009-01-26 | Tiny bit better sanity check in block_util.c | Lasse Collin | 1 | -1/+1 | |
2009-01-25 | Fix a dumb bug in Block decoder, which made it return | Lasse Collin | 1 | -3/+3 | |
LZMA_DATA_ERROR with valid data. The bug was added in e114502b2bc371e4a45449832cb69be036360722. | |||||
2009-01-23 | Added lzma_stream_buffer_decode() and made minor cleanups. | Lasse Collin | 4 | -2/+144 | |
2009-01-22 | Fix a comment. | Lasse Collin | 1 | -1/+1 | |
2009-01-20 | Add some single-call buffer-to-buffer coding functions. | Lasse Collin | 8 | -26/+744 | |
2009-01-20 | Block encoder cleanups | Lasse Collin | 2 | -21/+32 | |
2009-01-20 | Use LZMA_PROG_ERROR in lzma_code() as documented in base.h. | Lasse Collin | 1 | -16/+8 | |
2009-01-19 | Fix handling of non-fatal errors in lzma_code(). | Lasse Collin | 1 | -1/+8 | |
2009-01-19 | Move some LZMA2 constants to lzma2_encoder.h so that they | Lasse Collin | 3 | -14/+16 | |
can be used outside lzma2_encoder.c. | |||||
2009-01-19 | Remove dead code. | Lasse Collin | 1 | -8/+0 | |
2009-01-17 | Beta was supposed to be API stable but I had forgot to rename | Lasse Collin | 8 | -14/+14 | |
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. | |||||
2009-01-07 | Use pthread_sigmask() instead of sigprocmask() when pthreads | Lasse Collin | 3 | -2/+9 | |
are enabled. | |||||
2008-12-31 | Bumped version to 4.999.8beta right after the release | Lasse Collin | 1 | -1/+1 | |
of 4.999.7beta. | |||||
2008-12-31 | Prepare for 4.999.7beta release. | Lasse Collin | 1 | -1/+1 | |
2008-12-31 | Cleaned up some comments in the API headers. | Lasse Collin | 3 | -14/+15 | |
2008-12-31 | Renamed lzma_options_simple to lzma_options_bcj in the API. | Lasse Collin | 6 | -18/+18 | |
The internal implementation is still using the name "simple". It may need some cleanups, so I look at it later. | |||||
2008-12-31 | Updated src/liblzma/Makefile.am to use liblzma.pc.in, which | Lasse Collin | 1 | -2/+2 | |
should have been in the previous commit. | |||||
2008-12-31 | Remove lzma_init() and other init functions from liblzma API. | Lasse Collin | 30 | -441/+322 | |
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. When --enable-small isn't used, liblzma currently gets needlessly linked against libpthread (on systems that have it). While it is stupid for now, liblzma will need threads in future anyway, so this stupidity will be temporary only. When --enable-small is used, different code CRC32 and CRC64 is now used than without --enable-small. This made the resulting binary slightly smaller, but the main reason was to clean it up and to handle the lack of lzma_init_check(). The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not sure if it works correctly and portably for static linking (Libs.private includes -pthread or other operating system specific flags). Hopefully someone complains if it is bad. lzma_rc_prices[] is now included as a precomputed array even with --enable-small. It's just 128 bytes now that it uses uint8_t instead of uint32_t. Smaller array seemed to be at least as fast as the more bloated uint32_t array on x86; hopefully it's not bad on other architectures. | |||||
2008-12-27 | Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680 | Lasse Collin | 1 | -15/+8 | |
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. | |||||
2008-12-27 | Some xz command line tool improvements. | Lasse Collin | 5 | -44/+121 | |
2008-12-27 | Bunch of liblzma tweaks, including some API changes. | Lasse Collin | 23 | -262/+294 | |
The API and ABI should now be very close to stable, although the code behind it isn't yet. | |||||
2008-12-18 | Updated Makefile.am that was missing from the previous commit. | Lasse Collin | 1 | -1/+0 | |
2008-12-17 | Remove the alignment functions for now. Maybe they will | Lasse Collin | 4 | -176/+0 | |
be added back in some form later, but the current version wasn't modular, so it would need fixing anyway. | |||||
2008-12-17 | xz message handling improvements | Lasse Collin | 3 | -14/+146 | |
2008-12-15 | Fix a dumb bug in .lzma decoder which was introduced in | Lasse Collin | 1 | -15/+14 | |
the previous commit. (Probably the previous commit has other bugs too, it wasn't tested.) | |||||
2008-12-15 | Bunch of liblzma API cleanups and fixes. | Lasse Collin | 26 | -422/+857 | |
2008-12-15 | The LZMA2 decoder fix introduced a bug to LZ decoder, | Lasse Collin | 1 | -10/+23 | |
which made LZ decoder return too early after dictionary reset. This fixes it. | |||||
2008-12-15 | Fix data corruption in LZMA2 decoder. | Lasse Collin | 3 | -8/+32 | |
2008-12-10 | Remove obsolete comment. | Lasse Collin | 1 | -1/+0 | |
2008-12-10 | Use "decompression" consistently in --long-help. | Lasse Collin | 1 | -1/+1 | |
2008-12-10 | Added preset=NUM to --lzma1 and --lzma2. This makes it easy | Lasse Collin | 2 | -0/+9 | |
to take a preset as a template and modify it a little. | |||||
2008-12-09 | Make the memusage functions of LZMA1 and LZMA2 encoders | Lasse Collin | 3 | -16/+35 | |
to validate the filter options. Add missing validation to LZMA2 encoder when options are changed in the middle of encoding. | |||||
2008-12-01 | In command line tool, take advantage of memusage calculation's | Lasse Collin | 1 | -4/+4 | |
ability to also validate the filter chain and options (not implemented yet for all filters). | |||||
2008-12-01 | Validate the filter chain before checking filter-specific | Lasse Collin | 1 | -4/+10 | |
memory usage. | |||||
2008-12-01 | Make the memusage functions of LZMA1 and LZMA2 decoders | Lasse Collin | 3 | -9/+17 | |
to validate the filter options. | |||||
2008-12-01 | Added the changes for Delta filter that should have been | Lasse Collin | 2 | -2/+2 | |
part of 656ec87882ee74b192c4ea4a233a235eca7b04d4. | |||||
2008-12-01 | LZMA2 decoder cleanups. Make it require new LZMA properties | Lasse Collin | 1 | -54/+41 | |
also in the first LZMA chunk after a dictionary reset in uncompressed chunk. | |||||
2008-12-01 | Added lzma_delta_coder_memusage() which also validates | Lasse Collin | 8 | -39/+75 | |
the options. | |||||
2008-11-28 | Tested using COLUMNS environment variable to avoid broken | Lasse Collin | 1 | -5/+9 | |
progress indicator but since COLUMNS isn't usually available, the code was left commented out. | |||||
2008-11-27 | Cleanups to message.c. | Lasse Collin | 1 | -29/+18 | |
2008-11-25 | Remove the nowadays unneeded memory limitting malloc() wrapper. | Lasse Collin | 5 | -498/+0 | |
2008-11-23 | VLI encoder and decoder cleanups. Made encoder return | Lasse Collin | 2 | -13/+33 | |
LZMA_PROG_ERROR in single-call mode if there's no output space. | |||||
2008-11-22 | Typo fix | Lasse Collin | 1 | -1/+1 | |
2008-11-20 | Support NetBSD's errno for O_NOFOLLOW. | Lasse Collin | 1 | -0/+8 | |
2008-11-20 | Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz | Lasse Collin | 2 | -178/+140 | |
files and lzmadec only .lzma files. | |||||
2008-11-20 | Minor cleanups to xzdec. | Lasse Collin | 1 | -10/+10 | |
2008-11-19 | Renamed lzma to xz and lzmadec to xzdec. We create symlinks | Lasse Collin | 24 | -24/+26 | |
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. | |||||
2008-11-19 | Oh well, big messy commit again. Some highlights: | Lasse Collin | 50 | -2258/+2963 | |
- 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 | |||||
2008-10-07 | Fixed some help messages. | Lasse Collin | 1 | -3/+3 | |
2008-10-07 | Made the preset numbering more logical in liblzma API. | Lasse Collin | 5 | -17/+18 | |
2008-10-03 | Fixed suffix handling with --format=raw. | Lasse Collin | 1 | -9/+19 | |
2008-10-02 | Initial changes to change the suffix of the new format to .xz. | Lasse Collin | 5 | -51/+131 | |
This also fixes a bug related to --suffix option. Some issues with suffixes with --format=raw were not fixed. | |||||
2008-09-30 | Fixed Stream decoder to actually use the first_stream variable. | Lasse Collin | 1 | -0/+5 | |
2008-09-30 | Fixed uninitialized variable in Stream decoder. | Lasse Collin | 1 | -0/+1 | |
2008-09-27 | Fix conflicting Subblock helper filter's ID. | Lasse Collin | 1 | -1/+1 | |
2008-09-27 | Changed magic bytes to match the updated spec. Filename | Lasse Collin | 2 | -3/+3 | |
suffix wasn't changed yet. | |||||
2008-09-27 | Some API changes, bug fixes, cleanups etc. | Lasse Collin | 33 | -361/+433 | |
2008-09-17 | Miscellaneous LZ and LZMA encoder cleanups | Lasse Collin | 5 | -117/+29 | |
2008-09-13 | LZ decoder cleanup | Lasse Collin | 1 | -3/+2 | |
2008-09-13 | Renamed constants: | Lasse Collin | 49 | -195/+191 | |
- LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR | |||||
2008-09-12 | Improved the Stream Flags handling API. | Lasse Collin | 7 | -18/+123 | |
2008-09-11 | Remove a check from Block encoder that should have already | Lasse Collin | 1 | -5/+0 | |
been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e. | |||||
2008-09-11 | Remove bogus #includes. | Lasse Collin | 4 | -36/+0 | |
2008-09-11 | Fix a compiler error on big endian systems that don't | Lasse Collin | 1 | -14/+18 | |
support unaligned memory access. | |||||
2008-09-11 | Silence a compiler warning. | Lasse Collin | 1 | -1/+1 | |
2008-09-10 | Bumped version to 4.999.6alpha. | Lasse Collin | 1 | -1/+1 | |
2008-09-10 | Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.larhzu/v4.999.5alpha | Lasse Collin | 1 | -3/+4 | |
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. | |||||
2008-09-10 | Filter handling cleanups | Lasse Collin | 6 | -151/+156 | |
2008-09-10 | Comments | Lasse Collin | 1 | -1/+5 | |
2008-09-10 | Cleaned up Block encoder and moved the no longer shared | Lasse Collin | 5 | -100/+66 | |
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. | |||||
2008-09-07 | Changed Filter ID of LZMA to 0x20. | Lasse Collin | 1 | -1/+1 | |
2008-09-06 | Comments | Lasse Collin | 5 | -39/+65 | |
2008-09-06 | Some API cleanups | Lasse Collin | 10 | -166/+282 | |
2008-09-04 | Added support for raw encoding and decoding to the command | Lasse Collin | 4 | -34/+50 | |
line tool, and made various cleanups. --lzma was renamed to --lzma1 to prevent people from accidentally using LZMA when they want LZMA2. | |||||
2008-09-04 | Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's | Lasse Collin | 3 | -3/+2 | |
simply nothing that would use it. Allow LZMA_FINISH to the decoders, which will usually ignore it (auto decoder and Stream decoder being exceptions). | |||||
2008-09-02 | Command line tool fixes | Lasse Collin | 1 | -8/+13 | |
2008-09-02 | Auto decoder cleanup | Lasse Collin | 1 | -1/+1 | |
2008-09-02 | Updated auto decoder to handle LZMA_CONCATENATED when decoding | Lasse Collin | 1 | -16/+71 | |
LZMA_Alone files. Decoding of concatenated LZMA_Alone files is intentionally not supported, so it is better to put this in auto decoder than LZMA_Alone decoder. | |||||
2008-09-02 | Stream decoder cleanups | Lasse Collin | 1 | -25/+32 | |
2008-09-02 | Some fixes to LZ encoder. | Lasse Collin | 3 | -75/+94 | |
2008-08-31 | Fix wrong pointer calculation in LZMA encoder. | Lasse Collin | 1 | -1/+3 | |
2008-08-28 | Sort of garbage collection commit. :-| Many things are still | Lasse Collin | 147 | -7082/+8453 | |
broken. API has changed a lot and it will still change a little more here and there. The command line tool doesn't have all the required changes to reflect the API changes, so it's easy to get "internal error" or trigger assertions. | |||||
2008-06-20 | Remove some redundant code from LZMA encoder. | Lasse Collin | 1 | -14/+1 | |
2008-06-19 | Add limit of lc + lp <= 4. Now we can allocate the | Lasse Collin | 6 | -91/+43 | |
literal coder as part of the main LZMA encoder or decoder structure. Make the LZMA decoder to rely on the current internal API to free the allocated memory in case an error occurs. | |||||
2008-06-18 | Comments | Lasse Collin | 1 | -5/+2 | |
2008-06-18 | Update the code to mostly match the new simpler file format | Lasse Collin | 98 | -6746/+3836 | |
specification. Simplify things by removing most of the support for known uncompressed size in most places. There are some miscellaneous changes here and there too. The API of liblzma has got many changes and still some more will be done soon. While most of the code has been updated, some things are not fixed (the command line tool will choke with invalid filter chain, if nothing else). Subblock filter is somewhat broken for now. It will be updated once the encoded format of the Subblock filter has been decided. | |||||
2008-06-11 | Fix uninitialized variable in LZMA encoder. This was | Lasse Collin | 1 | -0/+2 | |
introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f. | |||||
2008-06-11 | Improve command line integer parsing a little in lzma and | Lasse Collin | 2 | -22/+32 | |
lzmadec to make them accept also KiB in addition Ki etc. Fix also memory usage information in lzmadec --help. | |||||
2008-06-10 | s/decompressed/compressed/ in the command line tool's | Lasse Collin | 1 | -1/+1 | |
error message. | |||||
2008-06-01 | Fix a buffer overflow in the LZMA encoder. It was due to my | Lasse Collin | 8 | -620/+532 | |
misunderstanding of the code. There's no tiny fix for this problem, so I also cleaned up the code in general. This reduces the speed of the encoder 2-5 % in the fastest compression mode ("lzma -1"). High compression modes should have no noticeable performance difference. This commit breaks things (especially LZMA_SYNC_FLUSH) but I will fix them once the new format and LZMA2 has been roughly implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all and won't be supported in the new .lzma format. This may change still but this is what it looks like now. Support for known uncompressed size (that is, LZMA or LZMA2 without EOPM) is likely to go away. This means there will be API changes. | |||||
2008-05-11 | Remove support for pre-C89 libc versions that lack memcpy, | Lasse Collin | 2 | -14/+3 | |
memmove, and memset. | |||||
2008-05-06 | Bunch of grammar fixes from meyering. | Lasse Collin | 2 | -4/+4 | |
2008-05-06 | Typo fix | Lasse Collin | 1 | -1/+1 | |
2008-05-04 | Don't print an error message on broken pipe unless --verbose | Lasse Collin | 1 | -1/+14 | |
is used. | |||||
2008-04-30 | Fix a crash with --format=alone if other filters than LZMA | Lasse Collin | 1 | -0/+9 | |
are specified on the command line. | |||||
2008-04-28 | Fixed wrong spelling "limitter" to "limiter". This affects | Lasse Collin | 7 | -20/+20 | |
liblzma's API. | |||||
2008-04-25 | Prevent LZ encoder from hanging with known uncompressedlarhzu/v4.999.3alpha | Lasse Collin | 1 | -2/+7 | |
size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream with known uncompressed size, but since it currently seems likely that support for encoding with known uncompressed size will go away anyway, I'm not fixing this problem now. | |||||
2008-04-25 | Removed src/liblzma/common/sysdefs.h symlink, which was | Lasse Collin | 5 | -5/+3 | |
annoying, because "make dist" put two copies of sysdefs.h into the tarball instead of the symlink. | |||||
2008-04-25 | Bumped version number to 4.999.3alpha. It will become 5.0.0 | Lasse Collin | 1 | -12/+10 | |
once we have a stable release (won't be very soon). The version number is no longer related to version of LZMA SDK. Made some small Automake-related changes to toplevel Makefile.am and configure.ac. | |||||
2008-04-24 | Fix a memory leak by calling free(extra->data) in | Lasse Collin | 1 | -0/+1 | |
lzma_extra_free(). | |||||
2008-04-24 | Make unlzma and lzcat symlinks. | Lasse Collin | 1 | -0/+12 | |
2008-04-24 | Fixed a bug in command line option parsing. | Lasse Collin | 1 | -1/+1 | |
2008-04-24 | Added two assert()s. | Lasse Collin | 1 | -1/+3 | |
2008-04-24 | Switch to uint16_t as the type of range coder probabilities. | Lasse Collin | 1 | -6/+19 | |
2008-04-24 | Fix wrong return type (uint32_t -> bool). | Lasse Collin | 2 | -2/+2 | |
2008-04-24 | Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH. | Lasse Collin | 3 | -5/+38 | |
2008-04-24 | Fix fastpos problem in Makefile.am when built with --enable-small. | Lasse Collin | 1 | -1/+4 | |
2008-04-24 | Use 64-bit integer as range encoder's cache size. This fixes a | Lasse Collin | 1 | -1/+1 | |
theoretical data corruption, which should be very hard to trigger even intentionally. | |||||
2008-03-24 | Replaced the range decoder optimization that used arithmetic | Lasse Collin | 1 | -37/+16 | |
right shift with as fast version that doesn't need arithmetic right shift. Removed the related check from configure.ac. | |||||
2008-03-22 | Take advantage of arithmetic right shift in range decoder. | Lasse Collin | 1 | -15/+37 | |
2008-03-22 | Update a comment to use the variable name rep_len_decoder. | Lasse Collin | 1 | -1/+1 | |
(And BTW, the previous commit actually did change the program logic slightly.) | |||||
2008-03-22 | Demystified the "state" variable in LZMA code. Use the | Lasse Collin | 6 | -70/+107 | |
word literal instead of char for better consistency. There are still some names with _char instead of _literal in lzma_optimum, these may be changed later. Renamed length coder variables. This commit doesn't change the program logic. | |||||
2008-03-14 | Fix data corruption in LZMA encoder. Note that this bug was | Lasse Collin | 1 | -0/+4 | |
specific to liblzma and was *not* present in LZMA SDK. | |||||
2008-03-14 | Fix a comment API header. | Lasse Collin | 1 | -1/+1 | |
2008-03-12 | Make lzma_stream.next_in const. Let's see if anyone complains. | Lasse Collin | 1 | -1/+1 | |
2008-03-11 | Apply a minor speed optimization to LZMA decoder. | Lasse Collin | 1 | -42/+43 | |
2008-03-11 | Initialize the last byte of the dictionary to zero so that | Lasse Collin | 1 | -0/+1 | |
lz_get_byte(lz, 0) returns zero. This was broken by 1a3b21859818e4d8e89a1da99699233c1bfd197d. | |||||
2008-03-10 | Really fix the price count initialization. | Lasse Collin | 1 | -2/+2 | |
2008-03-10 | Initialize align_price_count and match_price_count in | Lasse Collin | 1 | -0/+2 | |
lzma_encoder_init.c. While we don't call fill_distances_prices() and fill_align_prices() in lzma_lzma_encoder_init(), we still need to initialize these two variables so that the fill functions get called in lzma_encoder_getoptimum.c in the beginning of a stream. | |||||
2008-03-10 | Always initialize lz->temp_size in lz_decoder.c. temp_size did | Lasse Collin | 1 | -5/+6 | |
get initialized as a side-effect after allocating a new decoder, but not when the decoder was reused. |