aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lzma/lzma_common.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-02-14Change most public domain parts to 0BSD.Lasse Collin1-3/+0
Translations and doc/xz-file-format.txt and doc/lzma-file-format.txt were not touched. COPYING.0BSD was added.
2019-06-23liblzma: Fix warnings from -Wsign-conversion.Lasse Collin1-1/+2
Also, more parentheses were added to the literal_subcoder macro in lzma_comon.h (better style but no functional change in the current usage).
2010-10-26liblzma: Rename a few variables and constants.Lasse Collin1-22/+23
This has no semantic changes. I find the new names slightly more logical and they match the names that are already used in XZ Embedded. The name fastpos wasn't changed (not worth the hassle).
2009-04-13Put the interesting parts of XZ Utils into the public domain.Lasse Collin1-12/+5
Some minor documentation cleanups were made at the same time.
2008-09-27Some API changes, bug fixes, cleanups etc.Lasse Collin1-16/+10
2008-08-28Sort of garbage collection commit. :-| Many things are stillLasse Collin1-68/+140
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-03-22Demystified the "state" variable in LZMA code. Use theLasse Collin1-17/+52
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-01-15Revised the fastpos code. It now uses the slightly fasterLasse Collin1-1/+2
table-based version from LZMA SDK 4.57. This should be fast on most systems. A simpler and smaller alternative version is also provided. On some CPUs this can be even a little faster than the default table-based version (see comments in fastpos.h), but on most systems the table-based code is faster.
2008-01-15Removed a few unused macros from lzma_common.h.Lasse Collin1-6/+2
2008-01-04Added support for flush marker, which will be in filesLasse Collin1-0/+4
that use LZMA_SYNC_FLUSH with encoder (not implemented yet). This is a new feature in the raw LZMA format, which isn't supported by old decoders. This shouldn't be a problem in practice, since lzma_alone_encoder() will not allow LZMA_SYNC_FLUSH, and thus not allow creating files on decodable with old decoders. Made lzma_decoder.c to require tab width of 4 characters if one wants to fit the code in 80 columns. This makes the code easier to read.
2007-12-09Imported to git.Lasse Collin1-0/+128