aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-27Updated README.Lasse Collin1-10/+55
It now includes bug reporting instructions/tips.
2009-08-27Fix a typo in FAQ.Lasse Collin1-1/+1
Thanks to Jim Meyering. (From now on, I try to always remember to put the relevant thanks to commit messages.)
2009-08-27Updates to liblzma API headers.Lasse Collin12-197/+275
Added lzma_nothrow for every function. It adds throw() when the header is used in C++ code. Some lzma_attrs were added or removed. Lots of comments were improved.
2009-08-18Install faq.txt.Lasse Collin1-0/+1
2009-08-18Updated faq.txt.Lasse Collin1-166/+73
Some questions worth answering were removed, because I currently don't have good up to date answers to them.
2009-08-17Some xz man changes.Lasse Collin1-45/+43
2009-08-16Updated THANKS.Lasse Collin1-0/+1
2009-08-16Fix data corruption in LZ/LZMA2 encoder.Lasse Collin1-1/+1
Thanks to Jonathan Stott for the bug report.
2009-08-13Updated INSTALL and PACKAGERS to match the changesLasse Collin2-9/+22
made in --enable-dynamic.
2009-08-13Link lzmainfo against shared liblzma by default.Lasse Collin1-2/+2
2009-08-13Make --enable-dynamic a tristate option.Lasse Collin1-20/+57
Some programs will by default be linked against static liblzma and some against shared liblzma. --enable-dynamic now allows overriding the default to both directions (all dynamic or all static) even when building both shared and static liblzma. This is quite messy compared to how simple thing it is supposed to be. The complexity is mostly due to Windows support.
2009-08-13Fix xz Makefile.am for the man page.Lasse Collin1-0/+2
install-exec-hook -> install-data-hook
2009-08-13Add lzmainfo for backward compatibility with LZMA Utils.Lasse Collin5-1/+328
lzmainfo now links against static liblzma. In contrast to other command line tools in XZ Utils, linking lzmainfo against static liblzma by default is dumb. This will be fixed once I have fixed some related issues in configure.ac.
2009-08-13Sync some error messages from xz to xzdec.Lasse Collin2-5/+5
Make xz error message translation usable outside xz (at least in upcoming lzmainfo).
2009-08-13Add xz man page to manfiles in toplevel Makefile.am.Lasse Collin1-0/+1
2009-08-13Fix first line of xz man page.Lasse Collin1-1/+1
2009-08-10Added a rough version of the xz man page.Lasse Collin2-0/+1221
2009-08-09“xzdiff a.xz b.xz” always failsJonathan Nieder1-1/+1
Attempts to compare two compressed files result in no output and exit status 2. Instead of going to standard output, ‘diff’ output is being captured in the xz_status variable along with the exit status from the decompression commands. Later, when this variable is examined for nonzero status codes, numerals from dates in the ‘diff’ output make it appear as though decompression failed. So let the ‘diff’ output leak to standard output with another file descriptor. (This trick is used in all similar contexts elsewhere in xzdiff and in the analogous context in gzip’s zdiff script.)
2009-08-09xzless: Support compressed standard inputJonathan Nieder1-1/+7
It can be somewhat confusing that less < some_file.txt works fine, whereas xzless < some_file.txt.xz does not. Since version 429, ‘less’ allows a filter specified in the LESSOPEN environment variable to preprocess its input even if it comes from standard input, if $LESSOPEN begins with ‘|-’. So set $LESSOPEN to take advantage of this feature. Check less’s version at runtime so xzless can continue to work with older versions.
2009-08-09GPLv2+ not GPLv2 for Doxyfile.in is probably OK.Lasse Collin1-1/+1
2009-08-02Added a copyright notice to Doxyfile.in since it containsLasse Collin1-0/+3
lots of comments from Doxygen. It seems that the Doxygen authors' intent is to not apply their copyright on generated files, but since it doesn't matter for XZ Utils at all, better safe than sorry.
2009-08-02Updated THANKS.Lasse Collin1-0/+1
2009-08-02Updated TODO.Lasse Collin1-0/+4
2009-07-30Updated THANKS.Lasse Collin1-0/+1
2009-07-30xzdiff: add missing ;; to case statementJonathan Nieder1-3/+3
2009-07-24Added history.txt to doc_DATA.Lasse Collin1-0/+1
2009-07-24Updated .gitignore files.Lasse Collin2-17/+22
2009-07-24Minor improvements to COPYING.Lasse Collin1-3/+8
2009-07-23Fix incorrect usage of getopt_long(), which causedLasse Collin1-1/+0
invalid memory access if XZ_OPT was defined.
2009-07-20Avoid internal error with --format=xz --lzma1.Lasse Collin1-4/+12
2009-07-19Major documentation update.Lasse Collin8-170/+1070
Installation and packaging instructions were added. README and other generic docs were revised. Some of the documentation files are now installed to $docdir.
2009-07-19Added missing author notice to xzless.in.Lasse Collin1-0/+1
2009-07-18Use AC_CONFIG_AUX_DIR to clean up the toplevel directoryLasse Collin3-2/+3
a little. Fixed a related bug in the toplevel Makefile.am. Added the build-aux directory to .gitignore.
2009-07-18Updated the totally outdated TODO file.Lasse Collin1-90/+27
2009-07-18Added public domain notice into a few files.Lasse Collin5-1/+36
2009-07-14Allow extra commas in filter-specific options on xz command line.Lasse Collin1-0/+7
This may slightly ease writing scripts that construct filter-specific option strings dynamically.
2009-07-14Accept --lzma2=preset=6e where "e" is equivalent to --extremeLasse Collin1-21/+59
when no custom chain is in use.
2009-07-12Add dist-hook to create ChangeLog from the commit log,Lasse Collin1-0/+31
and to conver the man pages to PDF and plain text, which may be convenient to those who cannot render man pages.
2009-07-10BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.Lasse Collin8-8/+12
This is a quick and slightly dirty fix to make the code conform to the latest file format specification. Without this patch, it's possible to make corrupt files by specifying start offset that is not a multiple of the filter's alignment. Custom start offset is almost never used, so this was only a minor bug. The xz command line tool doesn't validate the start offset, so one will get a bit unclear error message if trying to use an invalid start offset.
2009-07-10Look for full command names instead of substringsLasse Collin1-9/+13
like "un", "cat", and "lz" when determining if xz is run as unxz, xzcat, lzma, unlzma, or lzcat. This is to ensure that if xz is renamed (e.g. via --program-transform-name), it doesn't so easily work in wrong mode.
2009-07-08Updated THANKS.Lasse Collin1-0/+2
2009-07-08Portability improvement to version.sh.Lasse Collin1-1/+2
2009-07-08Remove --force from xzdec.Lasse Collin2-9/+1
It was ignored for compatibility with xz, but now that --decompress --stdout --force copies unrecognized files as is to stdout, simply ignoring --force in xzdec would be wrong. xzdec will not support copying unrecognized data as is to stdout, so it cannot support --force.
2009-07-06Use sed instead of $(SED) so that we don't need toLasse Collin4-21/+21
use AC_PROG_SED. We don't do anything fancy with sed, so this should work OK. libtool 2.2 sets SED but 1.5 doesn't, so $(SED) happened to work when using libtool 2.2.
2009-07-05Major update to the xzgrep and other scripts based onLasse Collin14-369/+766
the latest versions found from gzip CVS repository. configure will try to find a POSIX shell to be used by the scripts. This should ease portability on systems which have pre-POSIX /bin/sh. xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files. xzmore and xzless support only .xz and .lzma files. The name of the xz executable used in these scripts is now correct even if --program-transform-name has been used.
2009-07-05Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.Lasse Collin1-1/+1
2009-07-04Make "xz --decompress --stdout --force" copy unrecognizedLasse Collin1-35/+178
files as is to standard output. This feature is needed to be more compatible with gzip's behavior. This was more complicated to implement than it sounds, because the way liblzma is able to return errors with files of only a few bytes in size. xz now has its own file type detection code and no longer uses lzma_auto_decoder().
2009-07-02Define PACKAGE_HOMEPAGE in configure.ac and use it inLasse Collin3-4/+9
xz and xzdec. Use also PACKAGE_NAME instead of hardcoding "XZ Utils".
2009-07-01Avoid visibility related compiler warnings on Windows.Lasse Collin1-11/+9
2009-06-30Use static liblzma by default also for tests.Lasse Collin1-1/+4
2009-06-30Build system fixesLasse Collin21-372/+417
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-29Added a comment about "autoconf -fi" to autogen.sh.Lasse Collin1-0/+3
2009-06-28Add -no-undefined to get shared liblzma on Windows.Lasse Collin1-1/+1
2009-06-27Make physmem() work on Cygwin 1.5 and older.Lasse Collin1-37/+40
2009-06-27Moved the Windows resource files outside the windows directoryLasse Collin6-20/+23
to prepare for building them with Autotools.
2009-06-27Added missing $(EXEEXT).Lasse Collin1-1/+1
2009-06-27Create correct symlinks even whenLasse Collin3-45/+65
--program-{prefix,suffix,transform} is passed to configure.
2009-06-27Silence a compiler warning on DOS-like systems.Lasse Collin1-1/+4
2009-06-27Updated the filenames in POTFILES.in too.Lasse Collin1-2/+2
2009-06-27Hopefully improved portability of the assembler code inLasse Collin2-2/+14
Autotools based builds on Windows.
2009-06-26Updated THANKS (most of today's commits are based onLasse Collin1-0/+1
Charles Wilson's patches).
2009-06-26Updated comments to match renamed files.Lasse Collin4-4/+4
2009-06-26Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]Lasse Collin8-10/+10
to avoid problems on systems with system headers with those names.
2009-06-26Rename process_file() to coder_run().Lasse Collin3-9/+8
2009-06-26Ugly hack to make it possible to use the thousand separatorLasse Collin6-46/+84
format character with snprintf() on POSIX systems but not on non-POSIX systems and still keep xgettext working.
2009-06-26Added missing source files to windows/Makefile.Lasse Collin1-0/+2
2009-06-26Basic support for building with Cygwin and MinGW usingLasse Collin6-18/+28
the Autotools based build system. It's not good yet, more fixes will follow.
2009-06-26Fix @variables@ to $(variables) in Makefile.am files.Lasse Collin12-55/+59
Fix the ordering of libgnu.a and LTLIBINTL on the linker command line and added missing LTLIBINTL to tests/Makefile.am.
2009-06-26Allow to explicitly specify autotool versions in autogen.sh.Lasse Collin1-6/+6
2009-06-26Add version.sh to EXTRA_DIST.Lasse Collin1-1/+2
2009-06-24Support HW_PHYSMEM64Lasse Collin1-11/+19
2009-06-24Cast a char argument to isspace() to unsigned char.Lasse Collin1-2/+9
2009-06-05A few more spelling fixes. Released the .xz spec 1.0.3.Lasse Collin1-5/+7
2009-06-04Added xzdec man page.Lasse Collin2-0/+184
2009-06-04Harmonized xzdec --memory with xz --memory and madeLasse Collin1-21/+53
minor cleanups.
2009-06-04Fix purporse -> purpose. Thanks to Andrew Dudman.Lasse Collin4-5/+8
Released .xz spec 1.0.2 due to this fix too.
2009-06-01The .xz file format version 1.0.1Lasse Collin1-7/+22
2009-05-26Make the raw value of the Check field available to applicationsLasse Collin4-31/+42
via lzma_block structure. This changes ABI but not doesn't break API.
2009-05-23Remove undocumented alternative option names --bcj, --ppc,Lasse Collin1-3/+0
and --itanium.
2009-05-23Add support for specifying the BCJ filter start offsetLasse Collin4-21/+76
in the xz command line tool.
2009-05-23Updated THANKS.Lasse Collin1-0/+2
2009-05-22Added support for --quiet and --no-warn to xzdec.Lasse Collin1-27/+49
Cleaned up the --help message a little.
2009-05-22Use the 40 % of RAM memory usage limit in xzdec too.Lasse Collin1-5/+5
Update the memory usage info text in --help to match the text in xz --long-help.
2009-05-22Add --no-warn.Lasse Collin4-1/+34
2009-05-22Fix a comment.Lasse Collin1-1/+1
2009-05-22Remove the --info option, which was an alias for --list.Lasse Collin1-1/+0
2009-05-22If xz is run as lzma, unlzma, or lzcat, simply implyLasse Collin1-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-22Make the default memory usage limit 40 % of RAM for bothLasse Collin5-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-21Support special value "max" where xz and xzdec accept an integer.Lasse Collin2-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-21Install lzdiff, lzgrep, and lzmore as symlinksABCD1-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-02Use a GCC-specific #pragma instead of GCC-specificLasse Collin3-18/+5
-Wno-uninitialized to silence a bogus warning.
2009-05-02Removed --disable-encoder and --disable-decoder. Use the valuesLasse Collin1-40/+8
given to --enable-encoders and --enable-decoders to determine if any encoder or decoder support is wanted.
2009-05-01Remove docs that are too outdated to be updatedLasse Collin5-956/+0
(rewrite will be better).
2009-05-01Added documentation about the legacy .lzma file format.Lasse Collin1-0/+166
2009-05-01Renamed the file format specification to xz-file-format.txtLasse Collin1-0/+0
which is the filename used on the WWW.
2009-04-28Fixed a crash in liblzma.Lasse Collin11-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-15Fix uint32_t -> size_t in ARM and ARM-Thumb filters.Lasse Collin2-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-14Minor fixes to test files' README.Lasse Collin1-8/+9
2009-04-13Updated history.txt.Lasse Collin1-57/+66
2009-04-13Quick & dirty update to support xz in diff/grep/more scripts.Lasse Collin7-75/+119
2009-04-13Put the interesting parts of XZ Utils into the public domain.Lasse Collin206-2023/+868
Some minor documentation cleanups were made at the same time.
2009-04-10Fix off-by-one in LZ decoder.Lasse Collin1-1/+1
Fortunately, this bug had no security risk other than accepting some corrupt files as valid.
2009-03-31Fix minor typos in READMEPavel Roskin1-3/+3
2009-03-31Add a note and work-around instructions to README aboutLasse Collin1-0/+11
problems detecting a C99 compiler when some standard headers are missing.
2009-03-18Updated THANKS.Lasse Collin1-0/+1
2009-03-18Fix wrong macro names in lc_cpucores.m4 and cpucores.h.Lasse Collin2-4/+4
Thanks to Bert Wesarg.
2009-03-01Test for Linux-specific sysinfo() only on Linux systems.Lasse Collin1-9/+19
Some other systems have sysinfo() with different semantics.
2009-03-01Added AC_CONFIG_MACRO_DIR to configure.ac.Lasse Collin1-0/+1
2009-03-01Fix the Autoconf test for getopt_long replacement.Lasse Collin1-0/+4
It was broken by e114502b2bc371e4a45449832cb69be036360722.
2009-02-22Add a rough explanation of --extreme to output of --help.Lasse Collin1-0/+4
2009-02-22Fixes to progress message handling in xz:Lasse Collin3-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-18Added files missing from the previous commit.Lasse Collin2-1/+39
2009-02-17Added lzma_easy_buffer_encode(). Splitted easy.c into smallLasse Collin8-49/+185
pieces to avoid unneeded dependencies making statically linked applications bigger than needed.
2009-02-15Make physmem.h work on old Windows versions.Lasse Collin1-4/+27
Thanks to Hongbo Ni for the original patch.
2009-02-14Fix microsecond vs. nanosecond confusion in my_time().Lasse Collin1-1/+1
2009-02-14Cleanups to the code that detects the amount of RAM andLasse Collin10-130/+235
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-13Initial port to DOS using DJGPP.Lasse Collin3-0/+524
2009-02-13Windows port: Take advantage of the version number macros.Lasse Collin3-24/+9
Now the version number is not duplicated in the Windows-specific files anymore.
2009-02-13Changed how the version number is specified in various places.Lasse Collin6-7/+95
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-13Fix handling of integrity check type in the xz command line tool.Lasse Collin2-1/+12
2009-02-13Improve support for DOS-like systems.Lasse Collin10-30/+86
Here DOS-like means DOS, Windows, and OS/2.
2009-02-11Remove dead directories from .gitignore.Lasse Collin1-2/+0
2009-02-11.gitignore vs. MakefilesJim Meyering1-0/+22
How about this for those of us who do srcdir builds?
2009-02-10Removed Makefile from .gitignore since not all MakefilesLasse Collin1-1/+0
in the repository are generated by Autotools. People should do test builds in a separate build directory anyway.
2009-02-10Added resource files for the Windows build.Lasse Collin6-15/+88
2009-02-09Let the user specify custom CFLAGS on the make commandLasse Collin2-29/+31
line. Previously custom CFLAGS worked only when they were passed to configure.
2009-02-08Fix aliasing issue in physmem.h.Lasse Collin1-9/+10
2009-02-08Add a separate internal function to initialize the CRC32Lasse Collin3-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-08Make "xz --force" to write to terminal as the errorLasse Collin1-1/+1
message suggests.
2009-02-08Support both slash and backslash as path componentLasse Collin1-0/+9
separator on Windows when parsing argv[0].
2009-02-07Omit the wrong and (even if corrected) nowadays useless rmLasse Collin1-28/+0
from autogen.sh.
2009-02-07Updated THANKS.Lasse Collin1-0/+1
2009-02-07Make it easy to choose if command line tools should beLasse Collin3-7/+45
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-07add gitignore filesMike Frysinger3-0/+79
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-07Assume 32 MiB of RAM on unsupported operating systems likeLasse Collin1-1/+1
the comment in hardware.c already said.
2009-02-07MinGW support: Don't build fastpos_tablegen.c as part ofLasse Collin2-33/+69
liblzma. Build both static and dynamic liblzma, and also static and dynamic versions of the command line tools.
2009-02-07Support LZMA_API_STATIC in assembler files toLasse Collin2-0/+6
avoid __declspec(dllexport) equivalent.
2009-02-07Introduced LZMA_API_STATIC macro, which the applicationsLasse Collin2-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-06Another grammar fixLasse Collin1-1/+1
2009-02-06Grammar fix in README.Lasse Collin1-1/+1
2009-02-06Some MSYS installations (e.g. MsysGit) don't includelarhzu/v4.999.8betaLasse Collin2-10/+13
install.exe, so don't rely on it.
2009-02-06Recreated the BCJ test files for x86 and SPARC. The old filesLasse Collin5-1/+1
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.
2009-02-05Add the "windows" directory to EXTRA_DIST.Lasse Collin1-0/+1
2009-02-05Added initial experimental makefile for use with MinGW.Lasse Collin3-0/+597
2009-02-05Various code cleanups the the xz command line tool.Lasse Collin18-246/+399
It now builds with MinGW.
2009-02-03Another utime() fix.Lasse Collin1-4/+5
2009-02-03Fix wrong filename argument for utime() and utimes().Lasse Collin1-2/+2
This doesn't affect most systems, since most systems have better functions available.
2009-02-02Updated the x86 assembler code:Lasse Collin3-28/+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-02Modify LZMA_API macro so that it works on Windows withLasse Collin54-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-01Fix a bug in lzma_block_buffer_decode(), although thisLasse Collin1-4/+4
function should be rewritten anyway.
2009-02-01Added initial version of raw buffer-to-buffer codingLasse Collin4-20/+221
functions, and cleaned up filter.h API header a little. May be very buggy, not tested yet.
2009-02-01Fix missing newlines in xzdec.c.Lasse Collin1-3/+3
2009-02-01Use __cdecl also for function pointers in liblzma API whenLasse Collin3-20/+20
on Windows.
2009-01-31Add LZMA_API to liblzma API headers. It's useful at leastLasse Collin17-88/+131
on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h has to be #included separately where needed.
2009-01-31Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.Lasse Collin1-2/+2
2009-01-31Fix two lines in lzma.h on which the # wasn't at theLasse Collin1-2/+2
beginning of the line.
2009-01-31Add support for using liblzma headers in MSVC, which has noLasse Collin1-24/+46
stdint.h or inttypes.h.
2009-01-31Fix # -> ## in a macro in lzma.h.Lasse Collin1-1/+1
2009-01-30Updated README.Lasse Collin1-10/+20
2009-01-30Remove dangling crc64_init.c.Lasse Collin1-55/+0
2009-01-28The .xz file format specification version 1.0.0 is nowLasse Collin1-35/+49
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.
2009-01-28Updated THANKS.Lasse Collin1-0/+1
2009-01-28Fix uninitialized variables in alone_decoder.c. This bug wasLasse Collin1-0/+2
triggered by the previous commit, since these variables were not used by anything before support for a preset dictionary.
2009-01-27Added initial support for preset dictionary for raw LZMA1Lasse Collin8-27/+77
and LZMA2. It is not supported by the .xz format or the xz command line tool yet.
2009-01-26Regenerate the CRC tables without trailing blanks.Lasse Collin4-2024/+2024
2009-01-26remove trailing blanks from all but .xz filesJim Meyering7-13/+12
2009-01-26Add lzma_block_buffer_decode().Lasse Collin3-0/+129
2009-01-26Add more sanity checks to lzma_stream_buffer_decode().Lasse Collin1-0/+7
2009-01-26Avoid hardcoded constant in easy.c.Lasse Collin1-1/+1
2009-01-26Tiny bit better sanity check in block_util.cLasse Collin1-1/+1
2009-01-25Fix a dumb bug in Block decoder, which made it returnLasse Collin1-3/+3
LZMA_DATA_ERROR with valid data. The bug was added in e114502b2bc371e4a45449832cb69be036360722.
2009-01-23Added lzma_stream_buffer_decode() and made minor cleanups.Lasse Collin4-2/+144
2009-01-22Fix a comment.Lasse Collin1-1/+1
2009-01-20Add some single-call buffer-to-buffer coding functions.Lasse Collin9-26/+768
2009-01-20Block encoder cleanupsLasse Collin2-21/+32
2009-01-20Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.Lasse Collin1-16/+8
2009-01-19Fix handling of non-fatal errors in lzma_code().Lasse Collin1-1/+8
2009-01-19Move some LZMA2 constants to lzma2_encoder.h so that theyLasse Collin3-14/+16
can be used outside lzma2_encoder.c.
2009-01-19Remove dead code.Lasse Collin1-8/+0
2009-01-17Beta was supposed to be API stable but I had forgot to renameLasse Collin8-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-15Updated THANKS.Lasse Collin1-0/+1
2009-01-15Fixed a bug in 7z2lzma.bash to make it work with .7z filesLasse Collin1-23/+24
that use something else than 2^n as the dictionary size. Thanks to Dan Shechter for the bug report.
2009-01-07Use pthread_sigmask() instead of sigprocmask() when pthreadsLasse Collin3-2/+9
are enabled.
2008-12-31Bumped version to 4.999.8beta right after the releaseLasse Collin2-2/+2
of 4.999.7beta.
2008-12-31Disable Subblock filter from test_compress.sh since it islarhzu/v4.999.7betaLasse Collin1-9/+13
disabled by default in configure.ac.
2008-12-31Disable both Subblock encoder and decoder my default,Lasse Collin1-1/+1
since they are not finished and may have security issues too.
2008-12-31Update some files in debug directory.Lasse Collin3-6/+0
2008-12-31Prepare for 4.999.7beta release.Lasse Collin4-22/+22
2008-12-31Cleaned up some comments in the API headers.Lasse Collin3-14/+15
2008-12-31Renamed lzma_options_simple to lzma_options_bcj in the API.Lasse Collin7-22/+22
The internal implementation is still using the name "simple". It may need some cleanups, so I look at it later.
2008-12-31Fixed missing quoting in configure.ac.Lasse Collin1-19/+19
2008-12-31Updated src/liblzma/Makefile.am to use liblzma.pc.in, whichLasse Collin1-2/+2
should have been in the previous commit.
2008-12-31Remove lzma_init() and other init functions from liblzma API.Lasse Collin37-456/+347
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-27Use 28 MiB as memory usage limit for encoding in test_compress.sh.Lasse Collin1-1/+1
2008-12-27Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680Lasse Collin1-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-27Some xz command line tool improvements.Lasse Collin5-44/+121
2008-12-27Bunch of liblzma tweaks, including some API changes.Lasse Collin23-262/+294
The API and ABI should now be very close to stable, although the code behind it isn't yet.
2008-12-18Updated Makefile.am that was missing from the previous commit.Lasse Collin1-1/+0
2008-12-17Remove the alignment functions for now. Maybe they willLasse Collin4-176/+0
be added back in some form later, but the current version wasn't modular, so it would need fixing anyway.
2008-12-17xz message handling improvementsLasse Collin3-14/+146