Lasse Collin
1190c641af
liblzma: Document how lzma_mt.block_size affects memory usage.
2014-12-02 20:04:07 +02:00
Lasse Collin
34f9e40a0a
Remove LZMA_UNSTABLE macro.
2014-11-26 20:12:27 +02:00
Lasse Collin
6d9c0ce9f2
liblzma: Update lzma_stream_encoder_mt() API docs.
2014-11-26 20:10:33 +02:00
Lasse Collin
9adbc2ff37
liblzma: Add support for LZMA_IGNORE_CHECK.
2014-08-05 22:15:07 +03:00
Lasse Collin
3778db1be5
liblzma: Make the use of lzma_allocator const-correct.
...
There is a tiny risk of causing breakage: If an application
assigns lzma_stream.allocator to a non-const pointer, such
code won't compile anymore. I don't know why anyone would do
such a thing though, so in practice this shouldn't cause trouble.
Thanks to Jan Kratochvil for the patch.
2012-07-17 18:19:59 +03:00
Lasse Collin
9a4377be0d
Put the unstable APIs behind #ifdef LZMA_UNSTABLE.
...
This way people hopefully won't complain if these APIs
change and break code that used an older API.
2011-04-12 12:42:37 +03:00
Lasse Collin
de678e0c92
liblzma: Add lzma_stream_encoder_mt() for threaded compression.
...
This is the simplest method to do threading, which splits
the uncompressed data into blocks and compresses them
independently from each other. There's room for improvement
especially to reduce the memory usage, but nevertheless,
this is a good start.
2011-04-11 22:03:30 +03:00
Lasse Collin
91afb785a1
liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
2011-04-11 21:04:13 +03:00
Lasse Collin
3b22fc2c87
liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
...
This return value was missing from the API comments of
four functions.
2011-04-11 13:28:40 +03:00
Lasse Collin
d09c5753e3
liblzma: Update the comments in the API headers.
...
Adding support for LZMA_FINISH for Index encoding and
decoding needed tiny additions to the relevant .c files too.
2010-10-21 23:06:31 +03:00
Lasse Collin
3e2ba8b585
Updates to liblzma API headers.
...
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-27 10:13:46 +03:00
Lasse Collin
02ddf09bc3
Put the interesting parts of XZ Utils into the public domain.
...
Some minor documentation cleanups were made at the same time.
2009-04-13 11:27:40 +03:00
Lasse Collin
47c2e21f82
Added files missing from the previous commit.
2009-02-18 13:00:10 +02:00
Lasse Collin
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.
2009-02-02 20:14:03 +02:00
Lasse Collin
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.
2009-01-31 11:01:48 +02:00
Lasse Collin
c81f13ff29
Added lzma_stream_buffer_decode() and made minor cleanups.
2009-01-23 22:27:50 +02:00
Lasse Collin
9ec80355a7
Add some single-call buffer-to-buffer coding functions.
2009-01-20 16:37:27 +02:00
Lasse Collin
88d3e6b0b1
Cleaned up some comments in the API headers.
2008-12-31 17:15:03 +02:00
Lasse Collin
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.
2008-12-27 19:27:49 +02:00
Lasse Collin
671a5adf1e
Bunch of liblzma API cleanups and fixes.
2008-12-15 19:39:13 +02:00
Lasse Collin
1e8e4fd1f3
Made the preset numbering more logical in liblzma API.
2008-10-07 09:40:31 +03:00
Lasse Collin
13a74b78e3
Renamed constants:
...
- LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
- LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
- LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
2008-09-13 12:10:43 +03:00
Lasse Collin
32fe5fa541
Comments
2008-09-06 23:42:50 +03:00
Lasse Collin
0a31ed9d5e
Some API cleanups
2008-09-06 15:14:30 +03:00
Lasse Collin
3b34851de1
Sort of garbage collection commit. :-| Many things are still
...
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-08-28 22:53:15 +03:00