ee2a443c79afbff48291f133acd42d95861cf721 |
|
07-Apr-2014 |
Lasse Collin <lasse.collin@tukaani.org> |
Add comments for the intentionally missing break statements.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
4cec51e1be4797a4bd8b266a1d34cabd7fdb79fd |
|
31-Mar-2011 |
Lasse Collin <lasse.collin@tukaani.org> |
Fix decoding of LZMA2 streams having no uncompressed data. No .xz encoder creates files with empty LZMA2 streams, but such files would still be valid and decompressors must accept them. Note that empty .xz files are a different thing than empty LZMA2 streams. This bug didn't affect typical .xz files that had no uncompressed data.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
7679c5d1200095512cbc7a58b781dfa048049c85 |
|
01-Dec-2010 |
Lasse Collin <lasse.collin@tukaani.org> |
Remove an empty line from xz_dec_lzma2.c.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
ef91abb814f7e9baa9018b8af184da3b422765ed |
|
25-Nov-2010 |
Lasse Collin <lasse.collin@tukaani.org> |
Fix coding style for real. I clearly wasn't fully awake with the commit ac313d. Thanks to Andrew Morton.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
4d5e69af1988ec17f76584a36347f8ef6f01d885 |
|
20-Nov-2010 |
Lasse Collin <lasse.collin@tukaani.org> |
Get rid of XZ_FUNC. In Linux 2.6.31 (or so) and earlier, the initramfs decompression had its own compiled copy of the decompression code that got thrown away after the kernel had booted. It required that all functions were marked with __init when built for initramfs decompression. Nowadays zlib and LZO have a wrapper that requires that the respective decompressor code has been been enabled (=y) in the kernel config. Only the wrapper is marked with __init. This patch helps doing the same with the XZ decompressor.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
578f2a6a239d1eaa2dabc7e951b3db0cbf53d226 |
|
08-Jun-2010 |
Lasse Collin <lasse.collin@tukaani.org> |
Reduce code size on x86 (32-bit and 64-bit). The variables in structures in xz_dec_lzma2.c were reordered so that the variables that the code references most are near the beginning of the structure within 128 bytes. This allows three bytes smaller instructions to access the variables, and saves around 700-900 bytes in code size.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
c4c6f5c427c246a5b08f25105e8a5183c24fd077 |
|
08-Jun-2010 |
Lasse Collin <lasse.collin@tukaani.org> |
Add support for allocating the LZMA2 dictionary dynamically. Previously the dictionary was preallocated at initialization time, which is useful since the decoder cannot then later run out of memory, but in several cases it is just an annoying limitation. It is now possible to enable only the needed operation mode(s) at build time, which saves a few bytes in code size if only one or two modes are actually needed. Bigger savings would be possible especially in single-call mode, but I'll think about that later. This commit changes the API by adding the mode argument to xz_dec_init(). A new return value (XZ_MEM_ERROR) was also added, but it is used only in the new XZ_DYNALLOC operation mode.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
2da995969e5385db150bd51ac8ba03a463e7186d |
|
26-May-2009 |
Lasse Collin <lasse.collin@tukaani.org> |
Avoid integer division, since it's not necessarily available in early boot code in the Linux kernel. Thanks to Alain Knaff for pointing this out. It's possible that the compiler already avoided divide instructions, but since there wasn't much to change, it was simplest to change the code to be sure.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
f88bf0850d6eace21ecdfc43d079093d205599e2 |
|
25-May-2009 |
Lasse Collin <lasse.collin@tukaani.org> |
Add XZ_EXTERN macro and use it to mark all functions with external linkage. This is needed to support marking those functions as static in some situations in the Linux kernel. XZ_EXTERN may be used for dllimport/dllexport too on some other operating systems.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
dac1ce8661108cc6db2a53ed68c1fbdd14dc0382 |
|
27-Apr-2009 |
Lasse Collin <lasse.collin@tukaani.org> |
Remove an empty line.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
6cb1a9a62fb75707f0255b9e59569d6eac498b57 |
|
27-Apr-2009 |
Lasse Collin <lasse.collin@tukaani.org> |
Fix checkpatch.pl warning in xz_dec_lzma2.c.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
e5953c92912b94c367b67cf9a7215674e82e88c2 |
|
27-Apr-2009 |
Lasse Collin <lasse.collin@tukaani.org> |
Fix two checkpatch.pl warnings.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
65499671e08173068a7e2188ec4cad34b2cfa68f |
|
17-Apr-2009 |
Lasse Collin <lasse.collin@tukaani.org> |
Fix infinite loop in LZMA2 decoder.
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|
bcc4b36559e38e30afe6030c42ea4f369df94989 |
|
22-Mar-2009 |
Lasse Collin <lasse.collin@tukaani.org> |
Initial commit
/external/xz-embedded/linux/lib/xz/xz_dec_lzma2.c
|