summaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma/block.h
Commit message (Collapse)AuthorAgeFilesLines
* liblzma: Document the need for block->check for lzma_block_header_decode().Lasse Collin2014-04-261-0/+3
| | | | Thanks to Tomer Chachamu.
* liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.Lasse Collin2011-04-111-0/+1
| | | | | This return value was missing from the API comments of four functions.
* liblzma: Update the comments in the API headers.Lasse Collin2010-10-211-2/+2
| | | | | Adding support for LZMA_FINISH for Index encoding and decoding needed tiny additions to the relevant .c files too.
* Collection of language fixes to comments and docs.Lasse Collin2010-02-121-1/+1
| | | | Thanks to Jonathan Nieder.
* Subtle change to liblzma Block handling API.Lasse Collin2010-02-071-22/+17
| | | | | | | | | | | | | | | lzma_block.version has to be initialized even for lzma_block_header_decode(). This way a future version of liblzma won't allocate memory in a way that an old application doesn't know how to free it. The subtlety of this change is that all current apps using lzma_block_header_decode() will keep working for now, because the only possible version value is zero, and lzma_block_header_decode() unconditionally sets the version to zero even now. Unless fixed, these apps will break in the future if a new version of the Block options is ever needed.
* Updates to liblzma API headers.Lasse Collin2009-08-271-18/+20
| | | | | | | | | 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.
* Make the raw value of the Check field available to applicationsLasse Collin2009-05-261-0/+17
| | | | | | via lzma_block structure. This changes ABI but not doesn't break API.
* Put the interesting parts of XZ Utils into the public domain.Lasse Collin2009-04-131-11/+7
| | | | Some minor documentation cleanups were made at the same time.
* Modify LZMA_API macro so that it works on Windows withLasse Collin2009-02-021-11/+11
| | | | | | other compilers than MinGW. This may hurt readability of the API headers slightly, but I don't know any better way to do this.
* Add LZMA_API to liblzma API headers. It's useful at leastLasse Collin2009-01-311-11/+14
| | | | | on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h has to be #included separately where needed.
* Add lzma_block_buffer_decode().Lasse Collin2009-01-261-0/+41
|
* Added lzma_stream_buffer_decode() and made minor cleanups.Lasse Collin2009-01-231-1/+2
|
* Add some single-call buffer-to-buffer coding functions.Lasse Collin2009-01-201-0/+57
|
* Bunch of liblzma tweaks, including some API changes.Lasse Collin2008-12-271-1/+62
| | | | | The API and ABI should now be very close to stable, although the code behind it isn't yet.
* Bunch of liblzma API cleanups and fixes.Lasse Collin2008-12-151-74/+137
|
* Oh well, big messy commit again. Some highlights:Lasse Collin2008-11-191-18/+29
| | | | | | | | | | | | - 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
* Renamed constants:Lasse Collin2008-09-131-14/+14
| | | | | | - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
* Cleaned up Block encoder and moved the no longer sharedLasse Collin2008-09-101-3/+0
| | | | | | 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.
* Sort of garbage collection commit. :-| Many things are stillLasse Collin2008-08-281-15/+23
| | | | | | | 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.
* Update the code to mostly match the new simpler file formatLasse Collin2008-06-181-219/+87
| | | | | | | | | | | | | | | 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.
* Imported to git.Lasse Collin2007-12-091-0/+409