1274261Sdelphijcommit 495aaf3a5b7200a5d2bf449bbbcc0e18834607af 2274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 3274261SdelphijDate: 2014-09-20 20:44:32 +0300 4274261Sdelphij 5274261Sdelphij Bump version and soname for 5.0.7. 6274261Sdelphij 7274261Sdelphij src/liblzma/Makefile.am | 2 +- 8274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 9274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 10274261Sdelphij 11274261Sdelphijcommit ac6c8921d1d8d2d749d5c97f9a0b0594cc863cea 12274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 13274261SdelphijDate: 2014-09-20 20:43:29 +0300 14274261Sdelphij 15274261Sdelphij Update NEWS for 5.0.7. 16274261Sdelphij 17274261Sdelphij NEWS | 11 +++++++++++ 18274261Sdelphij 1 file changed, 11 insertions(+) 19274261Sdelphij 20274261Sdelphijcommit d1b0276aafd441a3d4db9dfd5dd9880e9f834d49 21274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 22274261SdelphijDate: 2014-09-20 20:21:18 +0300 23274261Sdelphij 24274261Sdelphij liblzma: Fix invalid Libs.private value in liblzma.pc. 25274261Sdelphij 26274261Sdelphij src/liblzma/Makefile.am | 2 +- 27274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 28274261Sdelphij 29274261Sdelphijcommit cac72956b1e56788182ac14bfb25519636afd503 30274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 31274261SdelphijDate: 2014-09-20 19:42:56 +0300 32274261Sdelphij 33274261Sdelphij liblzma: Fix a portability problem in Makefile.am. 34274261Sdelphij 35274261Sdelphij POSIX supports $< only in inference rules (suffix rules). 36274261Sdelphij Using it elsewhere is a GNU make extension and doesn't 37274261Sdelphij work e.g. with OpenBSD make. 38274261Sdelphij 39274261Sdelphij Thanks to Christian Weisgerber for the patch. 40274261Sdelphij 41274261Sdelphij src/liblzma/Makefile.am | 2 +- 42274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 43274261Sdelphij 44274261Sdelphijcommit 2cdf0875dedca3e89b02ad5ac8aa1109f902ae11 45274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 46274261SdelphijDate: 2014-09-14 19:35:45 +0300 47274261Sdelphij 48274261Sdelphij Bump version and soname for 5.0.6. 49274261Sdelphij 50274261Sdelphij src/liblzma/Makefile.am | 2 +- 51274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 52274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 53274261Sdelphij 54274261Sdelphijcommit 0168b6c8fbc88cae61b1f5fb41d6c33c9e127967 55274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 56274261SdelphijDate: 2014-09-14 19:33:46 +0300 57274261Sdelphij 58274261Sdelphij Update NEWS for 5.0.6. 59274261Sdelphij 60274261Sdelphij NEWS | 7 +++++++ 61274261Sdelphij 1 file changed, 7 insertions(+) 62274261Sdelphij 63274261Sdelphijcommit 13337714e89d002af7af48d6853f977de985d7de 64274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 65274261SdelphijDate: 2014-06-13 19:21:54 +0300 66274261Sdelphij 67274261Sdelphij xzgrep: List xzgrep_expected_output in tests/Makefile.am. 68274261Sdelphij 69274261Sdelphij tests/Makefile.am | 3 ++- 70274261Sdelphij 1 file changed, 2 insertions(+), 1 deletion(-) 71274261Sdelphij 72274261Sdelphijcommit ccc728d8290c0464c7af62790b1c5528eceaae35 73274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 74274261SdelphijDate: 2014-06-13 18:58:22 +0300 75274261Sdelphij 76274261Sdelphij xzgrep: Improve the test script. 77274261Sdelphij 78274261Sdelphij Now it should be close to the functionality of the original 79274261Sdelphij version by Pavel Raiskup. 80274261Sdelphij 81274261Sdelphij tests/Makefile.am | 3 ++- 82274261Sdelphij tests/test_scripts.sh | 24 ++++++++++++++---------- 83274261Sdelphij tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++ 84274261Sdelphij 3 files changed, 55 insertions(+), 11 deletions(-) 85274261Sdelphij 86274261Sdelphijcommit 948f5865fe65061e215baa8ed63be570bae152ea 87274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 88274261SdelphijDate: 2014-06-11 21:03:25 +0300 89274261Sdelphij 90274261Sdelphij xzgrep: Add a test for the previous fix. 91274261Sdelphij 92274261Sdelphij This is a simplified version of Pavel Raiskup's 93274261Sdelphij original patch. 94274261Sdelphij 95274261Sdelphij tests/test_scripts.sh | 26 ++++++++++++++++++++++---- 96274261Sdelphij 1 file changed, 22 insertions(+), 4 deletions(-) 97274261Sdelphij 98274261Sdelphijcommit 64228d0d5cd75af31e5c330cc3a792016413fabf 99274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 100274261SdelphijDate: 2014-06-11 20:43:28 +0300 101274261Sdelphij 102274261Sdelphij xzgrep: exit 0 when at least one file matches. 103274261Sdelphij 104274261Sdelphij Mimic the original grep behavior and return exit_success when 105274261Sdelphij at least one xz compressed file matches given pattern. 106274261Sdelphij 107274261Sdelphij Original bugreport: 108274261Sdelphij https://bugzilla.redhat.com/show_bug.cgi?id=1108085 109274261Sdelphij 110274261Sdelphij Thanks to Pavel Raiskup for the patch. 111274261Sdelphij 112274261Sdelphij src/scripts/xzgrep.in | 15 +++++++++++++-- 113274261Sdelphij 1 file changed, 13 insertions(+), 2 deletions(-) 114274261Sdelphij 115274261Sdelphijcommit 98d3368ef4bff0face78d6932f2156730c8cb658 116274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 117274261SdelphijDate: 2014-04-25 17:53:42 +0300 118274261Sdelphij 119274261Sdelphij Build: Fix the combination of --disable-xzdec --enable-lzmadec. 120274261Sdelphij 121274261Sdelphij In this case "make install" could fail if the man page directory 122274261Sdelphij didn't already exist at the destination. If it did exist, a 123274261Sdelphij dangling symlink was created there. Now the link is omitted 124274261Sdelphij instead. This isn't the best fix but it's better than the old 125274261Sdelphij behavior. 126274261Sdelphij 127274261Sdelphij src/xzdec/Makefile.am | 10 +++++++++- 128274261Sdelphij 1 file changed, 9 insertions(+), 1 deletion(-) 129274261Sdelphij 130274261Sdelphijcommit ba3b5dd082db2cb5973e877a74221d739c663fb4 131274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 132274261SdelphijDate: 2014-04-25 17:44:26 +0300 133274261Sdelphij 134274261Sdelphij Build: Add --disable-doc to configure. 135274261Sdelphij 136274261Sdelphij INSTALL | 6 ++++++ 137274261Sdelphij Makefile.am | 2 ++ 138274261Sdelphij configure.ac | 6 ++++++ 139274261Sdelphij 3 files changed, 14 insertions(+) 140274261Sdelphij 141274261Sdelphijcommit 3d4575f2367fe8f1f2dcacba014e6c0aef388535 142274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 143274261SdelphijDate: 2014-04-24 18:06:24 +0300 144274261Sdelphij 145274261Sdelphij Update INSTALL. 146274261Sdelphij 147274261Sdelphij Add a note about failing "make check". The source of 148274261Sdelphij the problem should be fixed in libtool (if it really is 149274261Sdelphij a libtool bug and not mine) but I'm unable to spend time 150274261Sdelphij on that for now. Thanks to Nelson H. F. Beebe for reporting 151274261Sdelphij the issue. 152274261Sdelphij 153274261Sdelphij Add a note about a possible need to run "ldconfig" after 154274261Sdelphij "make install". 155274261Sdelphij 156274261Sdelphij INSTALL | 25 +++++++++++++++++++++++++ 157274261Sdelphij 1 file changed, 25 insertions(+) 158274261Sdelphij 159274261Sdelphijcommit b9f0584e3eff421eadbb6604de0b0b40bf87e129 160274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 161274261SdelphijDate: 2014-04-09 17:26:10 +0300 162274261Sdelphij 163274261Sdelphij xz: Rename a variable to avoid a namespace collision on Solaris. 164274261Sdelphij 165274261Sdelphij I don't know the details but I have an impression that there's 166274261Sdelphij no problem in practice if using GCC since people have built xz 167274261Sdelphij with GCC (without patching xz), but renaming the variable cannot 168274261Sdelphij hurt either. 169274261Sdelphij 170274261Sdelphij Thanks to Mark Ashley. 171274261Sdelphij 172274261Sdelphij src/xz/signals.c | 12 +++++++----- 173274261Sdelphij 1 file changed, 7 insertions(+), 5 deletions(-) 174274261Sdelphij 175274261Sdelphijcommit cc41bcaf77c9c27ec09ef033fb3300e994e828e6 176274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 177274261SdelphijDate: 2014-04-26 08:45:49 +0300 178274261Sdelphij 179274261Sdelphij xz: Fix a comment. 180274261Sdelphij 181274261Sdelphij src/xz/coder.c | 4 ++-- 182274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 183274261Sdelphij 184274261Sdelphijcommit e34025d666852839388f997d076e3577847dd10f 185274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 186274261SdelphijDate: 2014-01-12 16:44:52 +0200 187274261Sdelphij 188274261Sdelphij liblzma: Avoid C99 compound literal arrays. 189274261Sdelphij 190274261Sdelphij MSVC 2013 doesn't like them. Maybe they aren't so good 191274261Sdelphij for readability either since many aren't used to them. 192274261Sdelphij 193274261Sdelphij src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++--- 194274261Sdelphij 1 file changed, 5 insertions(+), 3 deletions(-) 195274261Sdelphij 196274261Sdelphijcommit 0b6168974f1fac3a06157039235b66e4161b9b42 197274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 198274261SdelphijDate: 2014-01-12 12:50:30 +0200 199274261Sdelphij 200274261Sdelphij liblzma: Remove a useless C99ism from sha256.c. 201274261Sdelphij 202274261Sdelphij Unsurprisingly it makes no difference in compiled output. 203274261Sdelphij 204274261Sdelphij src/liblzma/check/sha256.c | 2 +- 205274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 206274261Sdelphij 207274261Sdelphijcommit 41e436076cfdcccc7e853de73b0d56b3d6d42053 208274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 209274261SdelphijDate: 2014-01-12 12:17:08 +0200 210274261Sdelphij 211274261Sdelphij xz: Fix use of wrong variable. 212274261Sdelphij 213274261Sdelphij Since the only call to suffix_set() uses optarg 214274261Sdelphij as the argument, fixing this bug doesn't change 215274261Sdelphij the behavior of the program. 216274261Sdelphij 217274261Sdelphij src/xz/suffix.c | 2 +- 218274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 219274261Sdelphij 220274261Sdelphijcommit c33efefd4ef0931e5795e13725d4bd2203571ce0 221274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 222274261SdelphijDate: 2014-04-26 08:37:00 +0300 223274261Sdelphij 224274261Sdelphij Fix typos in comments. 225274261Sdelphij 226274261Sdelphij src/liblzma/check/crc32_fast.c | 2 +- 227274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 228274261Sdelphij 229274261Sdelphijcommit e560c82f1f5693d88db9dc71f656436135f17595 230274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 231274261SdelphijDate: 2013-11-26 18:20:16 +0200 232274261Sdelphij 233274261Sdelphij Update THANKS. 234274261Sdelphij 235274261Sdelphij THANKS | 1 + 236274261Sdelphij 1 file changed, 1 insertion(+) 237274261Sdelphij 238274261Sdelphijcommit 05192b32e553eac5dfbd646b6102d10187f29a05 239274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 240274261SdelphijDate: 2013-11-26 18:20:09 +0200 241274261Sdelphij 242274261Sdelphij liblzma: Document the need for block->check for lzma_block_header_decode(). 243274261Sdelphij 244274261Sdelphij Thanks to Tomer Chachamu. 245274261Sdelphij 246274261Sdelphij src/liblzma/api/lzma/block.h | 3 +++ 247274261Sdelphij 1 file changed, 3 insertions(+) 248274261Sdelphij 249274261Sdelphijcommit 0f35eafe51db7b1eb0711bc8cc829ea6896b34f4 250274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 251274261SdelphijDate: 2013-10-26 12:47:04 +0300 252274261Sdelphij 253274261Sdelphij Update TODO. 254274261Sdelphij 255274261Sdelphij TODO | 4 ---- 256274261Sdelphij 1 file changed, 4 deletions(-) 257274261Sdelphij 258274261Sdelphijcommit fc9eaf81d718488b052e5c65f9d6f08acc858873 259274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 260274261SdelphijDate: 2013-09-11 14:40:35 +0300 261274261Sdelphij 262274261Sdelphij Build: Remove a comment about Automake 1.10 from configure.ac. 263274261Sdelphij 264274261Sdelphij The previous commit supports silent rules and that requires 265274261Sdelphij Automake 1.11. 266274261Sdelphij 267274261Sdelphij configure.ac | 2 -- 268274261Sdelphij 1 file changed, 2 deletions(-) 269274261Sdelphij 270274261Sdelphijcommit 090c69dda59e00fc86d0792879bd921bb1156029 271274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 272274261SdelphijDate: 2013-09-09 20:37:03 +0300 273274261Sdelphij 274274261Sdelphij Build: Create liblzma.pc in a src/liblzma/Makefile.am. 275274261Sdelphij 276274261Sdelphij Previously it was done in configure, but doing that goes 277274261Sdelphij against the Autoconf manual. Autoconf requires that it is 278274261Sdelphij possible to override e.g. prefix after running configure 279274261Sdelphij and that doesn't work correctly if liblzma.pc is created 280274261Sdelphij by configure. 281274261Sdelphij 282274261Sdelphij A potential downside of this change is that now e.g. 283274261Sdelphij libdir in liblzma.pc is a standalone string instead of 284274261Sdelphij being defined via ${prefix}, so if one overrides prefix 285274261Sdelphij when running pkg-config the libdir won't get the new value. 286274261Sdelphij I don't know if this matters in practice. 287274261Sdelphij 288274261Sdelphij Thanks to Vincent Torri. 289274261Sdelphij 290274261Sdelphij configure.ac | 1 - 291274261Sdelphij src/liblzma/Makefile.am | 20 ++++++++++++++++++++ 292274261Sdelphij 2 files changed, 20 insertions(+), 1 deletion(-) 293274261Sdelphij 294274261Sdelphijcommit 1f35331332273de01c46897cafdb37f8e6e285db 295274261SdelphijAuthor: Anders F Bjorklund <afb@users.sourceforge.net> 296274261SdelphijDate: 2013-08-02 15:59:46 +0200 297274261Sdelphij 298274261Sdelphij macosx: separate liblzma package 299274261Sdelphij 300274261Sdelphij macosx/build.sh | 23 +++++++++++++++-------- 301274261Sdelphij 1 file changed, 15 insertions(+), 8 deletions(-) 302274261Sdelphij 303274261Sdelphijcommit 1415f1d94644f28e07d544bc1e06b0636081abee 304274261SdelphijAuthor: Anders F Bjorklund <afb@users.sourceforge.net> 305274261SdelphijDate: 2013-08-02 15:58:44 +0200 306274261Sdelphij 307274261Sdelphij macosx: set minimum to leopard 308274261Sdelphij 309274261Sdelphij macosx/build.sh | 13 ++++++++----- 310274261Sdelphij 1 file changed, 8 insertions(+), 5 deletions(-) 311274261Sdelphij 312274261Sdelphijcommit 41913949b93414a21ae9fb1a8e9b7cdde8b37f98 313274261SdelphijAuthor: Anders F Bjorklund <afb@users.sourceforge.net> 314274261SdelphijDate: 2011-08-07 13:13:30 +0200 315274261Sdelphij 316274261Sdelphij move configurables into variables 317274261Sdelphij 318274261Sdelphij macosx/build.sh | 25 ++++++++++++++++++------- 319274261Sdelphij 1 file changed, 18 insertions(+), 7 deletions(-) 320274261Sdelphij 321274261Sdelphijcommit 3dffda33f47dc220bb1738564fe02effa9da4c8e 322274261SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 323274261SdelphijDate: 2013-07-15 14:08:02 +0300 324274261Sdelphij 325274261Sdelphij Build: Fix the detection of missing CRC32. 326274261Sdelphij 327274261Sdelphij Thanks to Vincent Torri. 328274261Sdelphij 329274261Sdelphij configure.ac | 2 +- 330274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 331274261Sdelphij 332263285Sdelphijcommit b69900ed0b2f914fc6c0a180dcb522dbe5b80ea7 333263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 334274261SdelphijDate: 2013-06-30 18:02:27 +0300 335263285Sdelphij 336263285Sdelphij Man pages: Use similar syntax for synopsis as in xz. 337263285Sdelphij 338263285Sdelphij The man pages of lzmainfo, xzmore, and xzdec had similar 339263285Sdelphij constructs as the man page of xz had before the commit 340263285Sdelphij eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond 341263285Sdelphij didn't mention these man pages in his bug report, but 342263285Sdelphij it's nice to be consistent. 343263285Sdelphij 344274261Sdelphij src/lzmainfo/lzmainfo.1 | 4 ++-- 345274261Sdelphij src/scripts/xzmore.1 | 6 +++--- 346274261Sdelphij src/xzdec/xzdec.1 | 10 +++++----- 347274261Sdelphij 3 files changed, 10 insertions(+), 10 deletions(-) 348274261Sdelphij 349263285Sdelphijcommit cf4a1e1879d89be314ef3c064bd2656ea452f87e 350263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 351274261SdelphijDate: 2013-06-30 15:55:09 +0300 352263285Sdelphij 353263285Sdelphij Update NEWS for 5.0.5. 354263285Sdelphij 355274261Sdelphij NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 356274261Sdelphij 1 file changed, 52 insertions(+) 357274261Sdelphij 358263285Sdelphijcommit cb94bb6d1f34e1e93c2d634ea9c3b7dfb3981d05 359263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 360274261SdelphijDate: 2013-06-30 15:54:38 +0300 361263285Sdelphij 362263285Sdelphij Bump version and soname for 5.0.5. 363263285Sdelphij 364274261Sdelphij src/liblzma/Makefile.am | 2 +- 365274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 366274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 367274261Sdelphij 368263285Sdelphijcommit b7dee202d5b041ccae028d0c5433b83cecbe9e5d 369263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 370274261SdelphijDate: 2013-06-28 23:56:17 +0300 371263285Sdelphij 372263285Sdelphij xz: Fix return value type in io_write_buf(). 373263285Sdelphij 374263285Sdelphij It didn't affect the behavior of the code since -1 375263285Sdelphij becomes true anyway. 376263285Sdelphij 377274261Sdelphij src/xz/file_io.c | 2 +- 378274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 379274261Sdelphij 380263285Sdelphijcommit 265e7b44d804b47373f10b7da28350db7611cea6 381263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 382274261SdelphijDate: 2013-06-28 18:46:13 +0300 383263285Sdelphij 384263285Sdelphij xz: Remove an outdated NetBSD-specific comment. 385263285Sdelphij 386263285Sdelphij Nowadays errno == EFTYPE is documented in open(2). 387263285Sdelphij 388274261Sdelphij src/xz/file_io.c | 4 ---- 389274261Sdelphij 1 file changed, 4 deletions(-) 390274261Sdelphij 391263285Sdelphijcommit 78c2f8db902195468b8249c432252a6b281db836 392263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 393274261SdelphijDate: 2013-06-28 18:09:47 +0300 394263285Sdelphij 395263285Sdelphij xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls. 396263285Sdelphij 397263285Sdelphij POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on 398263285Sdelphij error and "other than -1" on success. This is how it is 399263285Sdelphij documented e.g. on OpenBSD too. On Linux, success with 400263285Sdelphij F_SETFL is always 0 (at least accorinding to fcntl(2) 401263285Sdelphij from man-pages 3.51). 402263285Sdelphij 403274261Sdelphij src/xz/file_io.c | 8 ++++---- 404274261Sdelphij 1 file changed, 4 insertions(+), 4 deletions(-) 405274261Sdelphij 406263285Sdelphijcommit 91750dff8f2c654ff636f12a2acdffe5492374b3 407263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 408274261SdelphijDate: 2013-06-28 17:36:47 +0300 409263285Sdelphij 410263285Sdelphij xz: Fix use of wrong variable in a fcntl() call. 411263285Sdelphij 412263285Sdelphij Due to a wrong variable name, when writing a sparse file 413263285Sdelphij to standard output, *all* file status flags were cleared 414263285Sdelphij (to the extent the operating system allowed it) instead of 415263285Sdelphij only clearing the O_APPEND flag. In practice this worked 416263285Sdelphij fine in the common situations on GNU/Linux, but I didn't 417263285Sdelphij check how it behaved elsewhere. 418263285Sdelphij 419263285Sdelphij The original flags were still restored correctly. I still 420263285Sdelphij changed the code to use a separate boolean variable to 421263285Sdelphij indicate when the flags should be restored instead of 422263285Sdelphij relying on a special value in stdout_flags. 423263285Sdelphij 424274261Sdelphij src/xz/file_io.c | 24 +++++++++++++----------- 425274261Sdelphij 1 file changed, 13 insertions(+), 11 deletions(-) 426274261Sdelphij 427263285Sdelphijcommit e11888a79a4a77a69afde60445880d44f63d01aa 428263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 429274261SdelphijDate: 2013-06-26 13:30:57 +0300 430263285Sdelphij 431263285Sdelphij xz: Check the value of lzma_stream_flags.version in --list. 432263285Sdelphij 433263285Sdelphij It is a no-op for now, but if an old xz version is used 434263285Sdelphij together with a newer liblzma that supports something new, 435263285Sdelphij then this check becomes important and will stop the old xz 436263285Sdelphij from trying to parse files that it won't understand. 437263285Sdelphij 438274261Sdelphij src/xz/list.c | 14 ++++++++++++++ 439274261Sdelphij 1 file changed, 14 insertions(+) 440274261Sdelphij 441263285Sdelphijcommit f39ddd88f3222219ada88998cf30abfdd3e0e96c 442263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 443274261SdelphijDate: 2013-06-26 12:17:00 +0300 444263285Sdelphij 445263285Sdelphij Build: Require Automake 1.12 and use serial-tests option. 446263285Sdelphij 447263285Sdelphij It should actually still work with Automake 1.10 if 448263285Sdelphij the serial-tests option is removed. Automake 1.13 started 449263285Sdelphij using parallel tests by default and the option to get 450263285Sdelphij the old behavior isn't supported before 1.12. 451263285Sdelphij 452263285Sdelphij At least for now, parallel tests don't improve anything 453263285Sdelphij in XZ Utils but they hide the progress output from 454263285Sdelphij test_compress.sh. 455263285Sdelphij 456274261Sdelphij configure.ac | 4 +++- 457274261Sdelphij 1 file changed, 3 insertions(+), 1 deletion(-) 458274261Sdelphij 459263285Sdelphijcommit cb84e278027a90e9827a6f4d3bb0b4d4744a2fbb 460263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 461274261SdelphijDate: 2013-06-23 17:36:47 +0300 462263285Sdelphij 463263285Sdelphij xz: Validate Uncompressed Size from Block Header in list.c. 464263285Sdelphij 465263285Sdelphij This affects only "xz -lvv". Normal decompression with xz 466263285Sdelphij already detected if Block Header and Index had mismatched 467263285Sdelphij Uncompressed Size fields. So this just makes "xz -lvv" 468263285Sdelphij show such files as corrupt instead of showing the 469263285Sdelphij Uncompressed Size from Index. 470263285Sdelphij 471274261Sdelphij src/xz/list.c | 14 +++++++++++++- 472274261Sdelphij 1 file changed, 13 insertions(+), 1 deletion(-) 473274261Sdelphij 474263285Sdelphijcommit f01780fce454c7489f7dcbf806299b50da5f51b7 475263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 476274261SdelphijDate: 2013-06-26 10:58:58 +0300 477263285Sdelphij 478263285Sdelphij Update THANKS. 479263285Sdelphij 480274261Sdelphij THANKS | 2 ++ 481274261Sdelphij 1 file changed, 2 insertions(+) 482274261Sdelphij 483263285Sdelphijcommit d98ede7d700b892e32d9c2f46563b6ebc566786d 484263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 485274261SdelphijDate: 2013-06-21 22:04:45 +0300 486263285Sdelphij 487263285Sdelphij xz: Make the man page more friendly to doclifter. 488263285Sdelphij 489263285Sdelphij Thanks to Eric S. Raymond. 490263285Sdelphij 491274261Sdelphij src/xz/xz.1 | 7 ++++--- 492274261Sdelphij 1 file changed, 4 insertions(+), 3 deletions(-) 493274261Sdelphij 494263285Sdelphijcommit 19b447b64b3f520cd5b11429000b092f7c76709b 495263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 496274261SdelphijDate: 2013-06-21 21:54:59 +0300 497263285Sdelphij 498263285Sdelphij xz: A couple of man page fixes. 499263285Sdelphij 500263285Sdelphij Now the interaction of presets and custom filter chains 501263285Sdelphij is described correctly. Earlier it contradicted itself. 502263285Sdelphij 503263285Sdelphij Thanks to DevHC who reported these issues on IRC to me 504263285Sdelphij on 2012-12-14. 505263285Sdelphij 506274261Sdelphij src/xz/xz.1 | 35 +++++++++++++++++++++++------------ 507274261Sdelphij 1 file changed, 23 insertions(+), 12 deletions(-) 508274261Sdelphij 509263285Sdelphijcommit 45edf2966fc9a4d2eae8f84b2fa027fb4fa1df8b 510263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 511274261SdelphijDate: 2013-06-21 21:50:26 +0300 512263285Sdelphij 513263285Sdelphij xz: Fix interaction between preset and custom filter chains. 514263285Sdelphij 515263285Sdelphij There was somewhat illogical behavior when --extreme was 516263285Sdelphij specified and mixed with custom filter chains. 517263285Sdelphij 518263285Sdelphij Before this commit, "xz -9 --lzma2 -e" was equivalent 519263285Sdelphij to "xz --lzma2". After it is equivalent to "xz -6e" 520263285Sdelphij (all earlier preset options get forgotten when a custom 521263285Sdelphij filter chain is specified and the default preset is 6 522263285Sdelphij to which -e is applied). I find this less illogical. 523263285Sdelphij 524263285Sdelphij This also affects the meaning of "xz -9e --lzma2 -7". 525263285Sdelphij Earlier it was equivalent to "xz -7e" (the -e specified 526263285Sdelphij before a custom filter chain wasn't forgotten). Now it 527263285Sdelphij is "xz -7". Note that "xz -7e" still is the same as "xz -e7". 528263285Sdelphij 529263285Sdelphij Hopefully very few cared about this in the first place, 530263285Sdelphij so pretty much no one should even notice this change. 531263285Sdelphij 532263285Sdelphij Thanks to Conley Moorhous. 533263285Sdelphij 534274261Sdelphij src/xz/coder.c | 35 +++++++++++++++++++++-------------- 535274261Sdelphij 1 file changed, 21 insertions(+), 14 deletions(-) 536274261Sdelphij 537263285Sdelphijcommit b065984e5a9272eb50bc0c6d3731e6199c0ae8a8 538263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 539274261SdelphijDate: 2011-04-08 17:53:05 +0300 540263285Sdelphij 541263285Sdelphij xz: Change size_t to uint32_t in a few places. 542263285Sdelphij 543274261Sdelphij src/xz/coder.c | 6 +++--- 544274261Sdelphij src/xz/coder.h | 2 +- 545274261Sdelphij 2 files changed, 4 insertions(+), 4 deletions(-) 546274261Sdelphij 547263285Sdelphijcommit 32be621f52f2e1686db88baa7b01dc1ae338f426 548263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 549274261SdelphijDate: 2013-04-27 22:07:46 +0300 550263285Sdelphij 551263285Sdelphij Build: Use -Wvla with GCC if supported. 552263285Sdelphij 553263285Sdelphij Variable-length arrays are mandatory in C99 but optional in C11. 554263285Sdelphij The code doesn't currently use any VLAs and it shouldn't in the 555263285Sdelphij future either to stay compatible with C11 without requiring any 556263285Sdelphij optional C11 features. 557263285Sdelphij 558274261Sdelphij configure.ac | 1 + 559274261Sdelphij 1 file changed, 1 insertion(+) 560274261Sdelphij 561263285Sdelphijcommit efb07cfba65e9e05984c02cd796c1b0338ce04dc 562263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 563274261SdelphijDate: 2013-04-15 19:29:09 +0300 564263285Sdelphij 565263285Sdelphij xzdec: Improve the --help message. 566263285Sdelphij 567263285Sdelphij The options are now ordered in the same order as in xz's help 568263285Sdelphij message. 569263285Sdelphij 570263285Sdelphij Descriptions were added to the options that are ignored. 571263285Sdelphij I left them in parenthesis even if it looks a bit weird 572263285Sdelphij because I find it easier to spot the ignored vs. non-ignored 573263285Sdelphij options from the list that way. 574263285Sdelphij 575274261Sdelphij src/xzdec/xzdec.c | 10 +++++----- 576274261Sdelphij 1 file changed, 5 insertions(+), 5 deletions(-) 577274261Sdelphij 578263285Sdelphijcommit e3c8be13699e2813f5e2879d8187444b46d82d89 579263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 580274261SdelphijDate: 2013-04-05 19:25:40 +0300 581263285Sdelphij 582263285Sdelphij Update THANKS. 583263285Sdelphij 584274261Sdelphij THANKS | 2 ++ 585274261Sdelphij 1 file changed, 2 insertions(+) 586274261Sdelphij 587263285Sdelphijcommit ad8282efe483612f6b5544f9a0d2e4914fb2532a 588263285SdelphijAuthor: Jeff Bastian <jbastian@redhat.com> 589274261SdelphijDate: 2013-04-03 13:59:17 +0200 590263285Sdelphij 591263285Sdelphij xzgrep: make the '-h' option to be --no-filename equivalent 592263285Sdelphij 593263285Sdelphij * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing. 594263285Sdelphij 595274261Sdelphij src/scripts/xzgrep.in | 2 +- 596274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 597274261Sdelphij 598263285Sdelphijcommit 9271a3eb0e022b23e8712154be851d0afe4c02e4 599263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 600274261SdelphijDate: 2013-04-05 19:34:09 +0300 601263285Sdelphij 602263285Sdelphij liblzma: Be less picky in lzma_alone_decoder(). 603263285Sdelphij 604263285Sdelphij To avoid false positives when detecting .lzma files, 605263285Sdelphij rare values in dictionary size and uncompressed size fields 606263285Sdelphij were rejected. They will still be rejected if .lzma files 607263285Sdelphij are decoded with lzma_auto_decoder(), but when using 608263285Sdelphij lzma_alone_decoder() directly, such files will now be accepted. 609263285Sdelphij Hopefully this is an OK compromise. 610263285Sdelphij 611263285Sdelphij This doesn't affect xz because xz still has its own file 612263285Sdelphij format detection code. This does affect lzmadec though. 613263285Sdelphij So after this commit lzmadec will accept files that xz or 614263285Sdelphij xz-emulating-lzma doesn't. 615263285Sdelphij 616263285Sdelphij NOTE: lzma_alone_decoder() still won't decode all .lzma files 617263285Sdelphij because liblzma's LZMA decoder doesn't support lc + lp > 4. 618263285Sdelphij 619263285Sdelphij Reported here: 620263285Sdelphij http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827 621263285Sdelphij 622263285Sdelphij Conflicts: 623263285Sdelphij src/liblzma/common/alone_decoder.c 624263285Sdelphij src/liblzma/common/alone_decoder.h 625263285Sdelphij 626274261Sdelphij src/liblzma/common/alone_decoder.c | 22 ++++++++++++++-------- 627274261Sdelphij src/liblzma/common/alone_decoder.h | 5 +++-- 628274261Sdelphij src/liblzma/common/auto_decoder.c | 2 +- 629274261Sdelphij 3 files changed, 18 insertions(+), 11 deletions(-) 630274261Sdelphij 631263285Sdelphijcommit 211b931cee58626c1d2e021810cb108cb5cbc10f 632263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 633274261SdelphijDate: 2013-03-05 19:14:50 +0200 634263285Sdelphij 635263285Sdelphij Avoid unneeded use of awk in xzless. 636263285Sdelphij 637263285Sdelphij Use "read" instead of "awk" in xzless to get the version 638263285Sdelphij number of "less". The need for awk was introduced in 639263285Sdelphij the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e. 640263285Sdelphij 641263285Sdelphij Thanks to Ariel P for the patch. 642263285Sdelphij 643274261Sdelphij src/scripts/xzless.in | 3 +-- 644274261Sdelphij 1 file changed, 1 insertion(+), 2 deletions(-) 645274261Sdelphij 646263285Sdelphijcommit 9f62fd9605eade23b62b07a235d1f02156f7a5c6 647263285SdelphijAuthor: Jonathan Nieder <jrnieder@gmail.com> 648274261SdelphijDate: 2012-11-19 00:10:10 -0800 649263285Sdelphij 650263285Sdelphij xzless: Make "less -V" parsing more robust 651263285Sdelphij 652263285Sdelphij In v4.999.9beta~30 (xzless: Support compressed standard input, 653263285Sdelphij 2009-08-09), xzless learned to parse ���less -V��� output to figure out 654263285Sdelphij whether less is new enough to handle $LESSOPEN settings starting 655263285Sdelphij with ���|-���. That worked well for a while, but the version string from 656263285Sdelphij ���less��� versions 448 (June, 2012) is misparsed, producing a warning: 657263285Sdelphij 658263285Sdelphij $ xzless /tmp/test.xz; echo $? 659263285Sdelphij /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \ 660263285Sdelphij integer expression expected 661263285Sdelphij 0 662263285Sdelphij 663263285Sdelphij More precisely, modern ���less��� lists the regexp implementation along 664263285Sdelphij with its version number, and xzless passes the entire version number 665263285Sdelphij with attached parenthetical phrase as a number to "test $a -gt $b", 666263285Sdelphij producing the above confusing message. 667263285Sdelphij 668263285Sdelphij $ less-444 -V | head -1 669263285Sdelphij less 444 670263285Sdelphij $ less -V | head -1 671263285Sdelphij less 456 (no regular expressions) 672263285Sdelphij 673263285Sdelphij So relax the pattern matched --- instead of expecting "less <number>", 674263285Sdelphij look for a line of the form "less <number>[ (extra parenthetical)]". 675263285Sdelphij While at it, improve the behavior when no matching line is found --- 676263285Sdelphij instead of producing a cryptic message, we can fall back on a LESSPIPE 677263285Sdelphij setting that is supported by all versions of ���less���. 678263285Sdelphij 679263285Sdelphij The implementation uses "awk" for simplicity. Hopefully that���s 680263285Sdelphij portable enough. 681263285Sdelphij 682263285Sdelphij Reported-by: J��rg-Volker Peetz <jvpeetz@web.de> 683263285Sdelphij Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 684263285Sdelphij 685274261Sdelphij src/scripts/xzless.in | 3 ++- 686274261Sdelphij 1 file changed, 2 insertions(+), 1 deletion(-) 687274261Sdelphij 688263285Sdelphijcommit 1d05980f5b5c2c94d833001daccacce4a466876e 689263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 690274261SdelphijDate: 2012-10-03 15:54:24 +0300 691263285Sdelphij 692263285Sdelphij xz: Fix the note about --rsyncable on the man page. 693263285Sdelphij 694274261Sdelphij src/xz/xz.1 | 17 +++++++++-------- 695274261Sdelphij 1 file changed, 9 insertions(+), 8 deletions(-) 696274261Sdelphij 697263285Sdelphijcommit fb68497333598688d309a92838d91fd560f7e9f0 698263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 699274261SdelphijDate: 2012-09-28 20:11:09 +0300 700263285Sdelphij 701263285Sdelphij xz: Improve handling of failed realloc in xrealloc. 702263285Sdelphij 703263285Sdelphij Thanks to Jim Meyering. 704263285Sdelphij 705274261Sdelphij src/xz/util.c | 14 ++++++++++++-- 706274261Sdelphij 1 file changed, 12 insertions(+), 2 deletions(-) 707274261Sdelphij 708263285Sdelphijcommit 75013db6d4d63c195bd8b8d45729b4be0665a812 709263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 710274261SdelphijDate: 2012-12-15 20:01:02 +0200 711263285Sdelphij 712263285Sdelphij A few typo fixes to comments and the xz man page. 713263285Sdelphij 714263285Sdelphij Thanks to Jim Meyering. 715263285Sdelphij 716274261Sdelphij configure.ac | 2 +- 717274261Sdelphij src/liblzma/check/sha256.c | 1 - 718274261Sdelphij src/xz/xz.1 | 4 ++-- 719274261Sdelphij 3 files changed, 3 insertions(+), 4 deletions(-) 720274261Sdelphij 721263285Sdelphijcommit e44b21839b1dcbac5097be39b87dd2ddb6e114fd 722263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 723274261SdelphijDate: 2012-08-02 17:13:30 +0300 724263285Sdelphij 725263285Sdelphij Build: Bump gettext version requirement to 0.18. 726263285Sdelphij 727263285Sdelphij Otherwise too old version of m4/lib-link.m4 gets included 728263285Sdelphij when autoreconf -fi is run. 729263285Sdelphij 730274261Sdelphij configure.ac | 2 +- 731274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 732274261Sdelphij 733263285Sdelphijcommit fd3dbb23ca7e75a7a888d7e897c381dc06308307 734263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 735274261SdelphijDate: 2012-07-05 07:36:28 +0300 736263285Sdelphij 737263285Sdelphij Tests: Remove tests/test_block.c that had gotten committed accidentally. 738263285Sdelphij 739274261Sdelphij tests/test_block.c | 52 ---------------------------------------------------- 740274261Sdelphij 1 file changed, 52 deletions(-) 741274261Sdelphij 742263285Sdelphijcommit 05a735d279d74af437c31f25f69aded4713c1a3d 743263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 744274261SdelphijDate: 2012-07-05 07:33:35 +0300 745263285Sdelphij 746263285Sdelphij Build: Include macosx/build.sh in the distribution. 747263285Sdelphij 748263285Sdelphij It has been in the Git repository since 2010 but probably 749263285Sdelphij few people have seen it since it hasn't been included in 750263285Sdelphij the release tarballs. :-( 751263285Sdelphij 752274261Sdelphij Makefile.am | 1 + 753274261Sdelphij 1 file changed, 1 insertion(+) 754274261Sdelphij 755263285Sdelphijcommit 4e6d62793b5e7b87edcc93c7ded072c1ecd94173 756263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 757274261SdelphijDate: 2012-07-05 07:24:45 +0300 758263285Sdelphij 759263285Sdelphij Docs: Fix the name LZMA Utils -> XZ Utils in debug/README. 760263285Sdelphij 761274261Sdelphij debug/README | 2 +- 762274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 763274261Sdelphij 764263285Sdelphijcommit dd95b5e7614baf1f07a1316b5106bd616a9efa79 765263285SdelphijAuthor: Lasse Collin <lasse.collin@tukaani.org> 766274261SdelphijDate: 2012-07-05 07:23:17 +0300 767263285Sdelphij 768263285Sdelphij Include debug/translation.bash in the distribution. 769263285Sdelphij 770263285Sdelphij Also fix the script name mentioned in README. 771263285Sdelphij 772274261Sdelphij README | 4 ++-- 773274261Sdelphij debug/Makefile.am | 3 +++ 774274261Sdelphij 2 files changed, 5 insertions(+), 2 deletions(-) 775274261Sdelphij 776244601Smmcommit 20778053a07eb90c159c1377ca8dc05a90fd530b 777244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 778274261SdelphijDate: 2012-06-22 14:36:16 +0300 779244601Smm 780244601Smm xz: Update man page date to match the latest update. 781244601Smm 782274261Sdelphij src/xz/xz.1 | 2 +- 783274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 784274261Sdelphij 785244601Smmcommit 2cefa84af676da37d7e9c466d55d46c67ab00c22 786244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 787274261SdelphijDate: 2012-06-22 10:25:43 +0300 788244601Smm 789244601Smm Bump version and soname for 5.0.4. 790244601Smm 791274261Sdelphij src/liblzma/Makefile.am | 2 +- 792274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 793274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 794274261Sdelphij 795244601Smmcommit 433fec191a17e45690809e54146ea7a773f54cff 796244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 797274261SdelphijDate: 2012-06-22 10:25:09 +0300 798244601Smm 799244601Smm Update NEWS for 5.0.4. 800244601Smm 801274261Sdelphij NEWS | 25 +++++++++++++++++++------ 802274261Sdelphij 1 file changed, 19 insertions(+), 6 deletions(-) 803274261Sdelphij 804244601Smmcommit 711fa680f552a4003df73b37e6dc4d6e00b47bcd 805244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 806274261SdelphijDate: 2012-06-18 21:27:47 +0300 807244601Smm 808244601Smm Docs: Language fix to 01_compress_easy.c. 809244601Smm 810244601Smm Thanks to Jonathan Nieder. 811244601Smm 812274261Sdelphij doc/examples/01_compress_easy.c | 2 +- 813274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 814274261Sdelphij 815244601Smmcommit 3d7ab1dc61a75c560828be5df96598388b771456 816244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 817274261SdelphijDate: 2012-06-14 20:15:30 +0300 818244601Smm 819244601Smm Fix the top-level Makefile.am for the new example programs. 820244601Smm 821274261Sdelphij Makefile.am | 12 ++++++++++-- 822274261Sdelphij 1 file changed, 10 insertions(+), 2 deletions(-) 823274261Sdelphij 824244601Smmcommit ef8b8e5f111469b5bc005975f7abb9abbd372b25 825244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 826274261SdelphijDate: 2012-06-14 10:52:33 +0300 827244601Smm 828244601Smm Docs: Add new example programs. 829244601Smm 830244601Smm These have more comments than the old examples and 831244601Smm human-readable error messages. More tutorial-like examples 832244601Smm are needed but these are a start. 833244601Smm 834274261Sdelphij doc/examples/00_README.txt | 27 ++++ 835274261Sdelphij doc/examples/01_compress_easy.c | 297 ++++++++++++++++++++++++++++++++++++++ 836274261Sdelphij doc/examples/02_decompress.c | 287 ++++++++++++++++++++++++++++++++++++ 837274261Sdelphij doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++ 838274261Sdelphij doc/examples/Makefile | 23 +++ 839274261Sdelphij 5 files changed, 827 insertions(+) 840274261Sdelphij 841244601Smmcommit 75c149bc8045a26f8bc719cb8ed20668dab79091 842244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 843274261SdelphijDate: 2012-06-14 10:33:27 +0300 844244601Smm 845244601Smm Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old. 846244601Smm 847244601Smm It is good to keep these around to so that if someone has 848244601Smm copied the decompressor bug from xz_pipe_decomp.c he has 849244601Smm an example how to easily fix it. 850244601Smm 851274261Sdelphij doc/examples/xz_pipe_comp.c | 127 -------------------------------------- 852274261Sdelphij doc/examples/xz_pipe_decomp.c | 123 ------------------------------------ 853274261Sdelphij doc/examples_old/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++ 854274261Sdelphij doc/examples_old/xz_pipe_decomp.c | 123 ++++++++++++++++++++++++++++++++++++ 855274261Sdelphij 4 files changed, 250 insertions(+), 250 deletions(-) 856274261Sdelphij 857244601Smmcommit 456307ebf947a5f50bd995d617b99c1215572308 858244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 859274261SdelphijDate: 2012-06-14 10:33:01 +0300 860244601Smm 861244601Smm Docs: Fix a bug in xz_pipe_decomp.c example program. 862244601Smm 863274261Sdelphij doc/examples/xz_pipe_decomp.c | 10 +++++++++- 864274261Sdelphij 1 file changed, 9 insertions(+), 1 deletion(-) 865274261Sdelphij 866244601Smmcommit 4c310b8a29bc257e6ccbd2310f12f258678f3fef 867244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 868274261SdelphijDate: 2012-05-31 15:53:25 +0300 869244601Smm 870244601Smm Translations: Update the Italian translation. 871244601Smm 872244601Smm Thanks to Milo Casagrande. 873244601Smm 874274261Sdelphij po/it.po | 311 ++++++++++++++++++++++++++++++--------------------------------- 875274261Sdelphij 1 file changed, 146 insertions(+), 165 deletions(-) 876274261Sdelphij 877244601Smmcommit ec32b79366dc47a55ea877589df9e8509ba113a7 878244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 879274261SdelphijDate: 2012-05-30 23:15:07 +0300 880244601Smm 881244601Smm Translations: Update the French translation. 882244601Smm 883244601Smm Thanks to Adrien Nader. 884244601Smm 885274261Sdelphij po/fr.po | 237 +++++++++++++++++++++++++++++++-------------------------------- 886274261Sdelphij 1 file changed, 118 insertions(+), 119 deletions(-) 887274261Sdelphij 888244601Smmcommit dd06f40e4dd7649525e4f28d890dc238a3aa37e5 889244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 890274261SdelphijDate: 2012-05-29 22:26:27 +0300 891244601Smm 892244601Smm Translations: Update the German translation. 893244601Smm 894274261Sdelphij po/de.po | 169 ++++++++++++++++++++++++++++++++++----------------------------- 895274261Sdelphij 1 file changed, 91 insertions(+), 78 deletions(-) 896274261Sdelphij 897244601Smmcommit c66808d1f55d0149ed57c536cc9b52e9c8b583bc 898244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 899274261SdelphijDate: 2012-05-29 22:12:57 +0300 900244601Smm 901244601Smm Translations: Update Polish translation. 902244601Smm 903274261Sdelphij po/pl.po | 150 ++++++++++++++++++++++++++++++++++----------------------------- 904274261Sdelphij 1 file changed, 82 insertions(+), 68 deletions(-) 905274261Sdelphij 906244601Smmcommit 556c22dfed195c1466b298183b850d6c28544900 907244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 908274261SdelphijDate: 2012-05-29 13:10:36 +0300 909244601Smm 910244601Smm Preliminary NEWS for 5.0.4. 911244601Smm 912274261Sdelphij NEWS | 24 ++++++++++++++++++++++++ 913274261Sdelphij 1 file changed, 24 insertions(+) 914274261Sdelphij 915244601Smmcommit dd13b66bf582f49d3aec36e3410ff8541b7506da 916244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 917274261SdelphijDate: 2012-05-28 20:42:11 +0300 918244601Smm 919244601Smm liblzma: Fix possibility of incorrect LZMA_BUF_ERROR. 920244601Smm 921244601Smm lzma_code() could incorrectly return LZMA_BUF_ERROR if 922244601Smm all of the following was true: 923244601Smm 924244601Smm - The caller knows how many bytes of output to expect 925244601Smm and only provides that much output space. 926244601Smm 927244601Smm - When the last output bytes are decoded, the 928244601Smm caller-provided input buffer ends right before 929244601Smm the LZMA2 end of payload marker. So LZMA2 won't 930244601Smm provide more output anymore, but it won't know it 931244601Smm yet and thus won't return LZMA_STREAM_END yet. 932244601Smm 933244601Smm - A BCJ filter is in use and it hasn't left any 934244601Smm unfiltered bytes in the temp buffer. This can happen 935244601Smm with any BCJ filter, but in practice it's more likely 936244601Smm with filters other than the x86 BCJ. 937244601Smm 938244601Smm Another situation where the bug can be triggered happens 939244601Smm if the uncompressed size is zero bytes and no output space 940244601Smm is provided. In this case the decompression can fail even 941244601Smm if the whole input file is given to lzma_code(). 942244601Smm 943244601Smm A similar bug was fixed in XZ Embedded on 2011-09-19. 944244601Smm 945274261Sdelphij src/liblzma/simple/simple_coder.c | 2 +- 946274261Sdelphij tests/Makefile.am | 4 +- 947274261Sdelphij tests/test_bcj_exact_size.c | 112 ++++++++++++++++++++++++++++++++++++++ 948274261Sdelphij 3 files changed, 116 insertions(+), 2 deletions(-) 949274261Sdelphij 950244601Smmcommit a0223bf796fdaad51a11ad02c4195c694849cc78 951244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 952274261SdelphijDate: 2012-05-28 15:38:32 +0300 953244601Smm 954244601Smm Update THANKS. 955244601Smm 956274261Sdelphij THANKS | 1 + 957274261Sdelphij 1 file changed, 1 insertion(+) 958274261Sdelphij 959244601Smmcommit 86e57e4bfefe3fd8e13615c41604165bb2359501 960244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 961274261SdelphijDate: 2012-05-28 15:37:43 +0300 962244601Smm 963244601Smm xz: Don't show a huge number in -vv when memory limit is disabled. 964244601Smm 965274261Sdelphij src/xz/message.c | 12 +++++++++++- 966274261Sdelphij 1 file changed, 11 insertions(+), 1 deletion(-) 967274261Sdelphij 968244601Smmcommit 13e44a94da19d1ef14832ff12d3877a6fd2c54c0 969244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 970274261SdelphijDate: 2012-05-27 22:30:17 +0300 971244601Smm 972244601Smm xz: Document the "summary" lines of --robot -lvv. 973244601Smm 974244601Smm This documents only the columns that are in v5.0. 975244601Smm The new columns added in the master branch aren't 976244601Smm necessarily stable yet. 977244601Smm 978274261Sdelphij src/xz/xz.1 | 19 +++++++++++++++++++ 979274261Sdelphij 1 file changed, 19 insertions(+) 980274261Sdelphij 981244601Smmcommit 2f90345e13ab8fea4de45a4f1caa73ebc63a62e7 982244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 983274261SdelphijDate: 2012-05-27 21:53:20 +0300 984244601Smm 985244601Smm xz: Fix output of verbose --robot --list modes. 986244601Smm 987244601Smm It printed the filename in "filename (x/y)" format 988244601Smm which it obviously shouldn't do in robot mode. 989244601Smm 990274261Sdelphij src/xz/message.c | 2 +- 991274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 992274261Sdelphij 993244601Smmcommit 8d4864f53ffae5d862c691a0b334a6b69bc5366e 994244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 995274261SdelphijDate: 2012-05-10 21:15:17 +0300 996244601Smm 997244601Smm Update THANKS. 998244601Smm 999274261Sdelphij THANKS | 1 + 1000274261Sdelphij 1 file changed, 1 insertion(+) 1001274261Sdelphij 1002244601Smmcommit 35e9c58abb0ce3993da844aaeaa3e7231cd2be8f 1003244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1004274261SdelphijDate: 2012-05-10 21:14:16 +0300 1005244601Smm 1006244601Smm Docs: Cleanup line wrapping a bit. 1007244601Smm 1008274261Sdelphij README | 12 ++++++------ 1009274261Sdelphij doc/history.txt | 49 +++++++++++++++++++++++++------------------------ 1010274261Sdelphij 2 files changed, 31 insertions(+), 30 deletions(-) 1011274261Sdelphij 1012244601Smmcommit 532b3e4c568a228309b56f95c13435fd078dbe02 1013244601SmmAuthor: Benno Schulenberg <bensberg@justemail.net> 1014274261SdelphijDate: 2012-03-13 22:04:04 +0100 1015244601Smm 1016244601Smm Fix a few typos and add some missing articles in some documents. 1017244601Smm 1018244601Smm Also hyphenate several compound adjectives. 1019244601Smm 1020244601Smm Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 1021244601Smm 1022274261Sdelphij AUTHORS | 6 +++--- 1023274261Sdelphij README | 42 ++++++++++++++++++++--------------------- 1024274261Sdelphij doc/faq.txt | 24 ++++++++++++------------ 1025274261Sdelphij doc/history.txt | 58 ++++++++++++++++++++++++++++----------------------------- 1026274261Sdelphij 4 files changed, 65 insertions(+), 65 deletions(-) 1027274261Sdelphij 1028244601Smmcommit afb6ce8c82ffef8f2505a3759da72a733c7b0b8f 1029244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1030274261SdelphijDate: 2012-04-29 11:51:25 +0300 1031244601Smm 1032244601Smm Windows: Update notes about static linking with MSVC. 1033244601Smm 1034274261Sdelphij windows/README-Windows.txt | 13 +++++++++---- 1035274261Sdelphij 1 file changed, 9 insertions(+), 4 deletions(-) 1036274261Sdelphij 1037244601Smmcommit 7c3ba2ed5c3c878d4a14ca549b46dbff60c6d565 1038244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1039274261SdelphijDate: 2012-04-19 15:25:26 +0300 1040244601Smm 1041244601Smm liblzma: Remove outdated comments. 1042244601Smm 1043274261Sdelphij src/liblzma/simple/simple_coder.c | 3 --- 1044274261Sdelphij src/liblzma/simple/simple_private.h | 3 +-- 1045274261Sdelphij 2 files changed, 1 insertion(+), 5 deletions(-) 1046274261Sdelphij 1047244601Smmcommit f55db9c187651094f43881c49db2b2d9ffee6b80 1048244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1049274261SdelphijDate: 2012-04-19 14:17:52 +0300 1050244601Smm 1051244601Smm DOS: Link against DJGPP's libemu to support FPU emulation. 1052244601Smm 1053244601Smm This way xz should work on 386SX and 486SX. Floating point 1054244601Smm only is needed for verbose output in xz. 1055244601Smm 1056274261Sdelphij dos/Makefile | 2 +- 1057274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 1058274261Sdelphij 1059244601Smmcommit 203edff4c761dbd7cac76ea66e4eed501c23e7a3 1060244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1061274261SdelphijDate: 2012-04-19 13:58:55 +0300 1062244601Smm 1063244601Smm Docs: Update MINIX 3 information in INSTALL. 1064244601Smm 1065274261Sdelphij INSTALL | 8 +++++--- 1066274261Sdelphij 1 file changed, 5 insertions(+), 3 deletions(-) 1067274261Sdelphij 1068244601Smmcommit f0a8f95c215628967b7cf9bd9b0a9e4172f50bb4 1069244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1070274261SdelphijDate: 2012-02-22 14:23:13 +0200 1071244601Smm 1072244601Smm Update THANKS. 1073244601Smm 1074274261Sdelphij THANKS | 1 + 1075274261Sdelphij 1 file changed, 1 insertion(+) 1076274261Sdelphij 1077244601Smmcommit b7ad23fa78646036c0290cd91eada939c9a31526 1078244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1079274261SdelphijDate: 2012-02-22 14:02:34 +0200 1080244601Smm 1081244601Smm Fix exit status of xzgrep when grepping binary files. 1082244601Smm 1083244601Smm When grepping binary files, grep may exit before it has 1084244601Smm read all the input. In this case, gzip -q returns 2 (eating 1085244601Smm SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status 1086244601Smm (e.g. 141). This causes wrong exit status when grepping 1087244601Smm xz- or bzip2-compressed binary files. 1088244601Smm 1089244601Smm The fix checks for the special exit status that indicates SIGPIPE. 1090244601Smm It uses kill -l which should be supported everywhere since it 1091244601Smm is in both SUSv2 (1997) and POSIX.1-2008. 1092244601Smm 1093244601Smm Thanks to James Buren for the bug report. 1094244601Smm 1095274261Sdelphij src/scripts/xzgrep.in | 3 ++- 1096274261Sdelphij 1 file changed, 2 insertions(+), 1 deletion(-) 1097274261Sdelphij 1098244601Smmcommit 4e19fbb04a0035030406482319e264426459eb24 1099244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1100274261SdelphijDate: 2012-02-22 12:08:43 +0200 1101244601Smm 1102244601Smm Update THANKS. 1103244601Smm 1104274261Sdelphij THANKS | 1 + 1105274261Sdelphij 1 file changed, 1 insertion(+) 1106274261Sdelphij 1107244601Smmcommit c6fa03a427e3d1320794102cee3ff4f5ae00eb36 1108244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1109274261SdelphijDate: 2012-05-24 18:47:52 +0300 1110244601Smm 1111244601Smm Fix compiling with IBM XL C on AIX. 1112244601Smm 1113274261Sdelphij INSTALL | 36 ++++++++++++++++++++++-------------- 1114274261Sdelphij configure.ac | 6 +++++- 1115274261Sdelphij 2 files changed, 27 insertions(+), 15 deletions(-) 1116274261Sdelphij 1117244601Smmcommit 7b6ffc98645e1b3b302b6680be0a901d1ebf7358 1118244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1119274261SdelphijDate: 2012-05-24 18:37:08 +0300 1120244601Smm 1121244601Smm Build: Upgrade m4/acx_pthread.m4 to the latest version. 1122244601Smm 1123244601Smm It was renamed to ax_pthread.m4 in Autoconf Archive. 1124244601Smm 1125274261Sdelphij configure.ac | 2 +- 1126274261Sdelphij m4/acx_pthread.m4 | 279 ------------------------------------------------ 1127274261Sdelphij m4/ax_pthread.m4 | 309 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1128274261Sdelphij 3 files changed, 310 insertions(+), 280 deletions(-) 1129274261Sdelphij 1130244601Smmcommit bfac2be5023994fcc53de2844e7dd3af61910dc2 1131244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1132274261SdelphijDate: 2012-01-10 17:13:03 +0200 1133244601Smm 1134244601Smm Tests: Fix a compiler warning with _FORTIFY_SOURCE. 1135244601Smm 1136244601Smm Reported here: 1137244601Smm http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385 1138244601Smm 1139274261Sdelphij tests/create_compress_files.c | 3 ++- 1140274261Sdelphij 1 file changed, 2 insertions(+), 1 deletion(-) 1141274261Sdelphij 1142244601Smmcommit df85e156716a4eecb7e2978691f03f729444d998 1143244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1144274261SdelphijDate: 2011-12-19 21:21:29 +0200 1145244601Smm 1146244601Smm Docs: Explain the stable releases better in README. 1147244601Smm 1148274261Sdelphij README | 6 +++++- 1149274261Sdelphij 1 file changed, 5 insertions(+), 1 deletion(-) 1150274261Sdelphij 1151244601Smmcommit d06d32f108c8278c25c24b2e8666bda7b2ec23b5 1152244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1153274261SdelphijDate: 2011-11-04 17:57:16 +0200 1154244601Smm 1155244601Smm xz: Fix a typo in a comment. 1156244601Smm 1157244601Smm Thanks to Bela Lubkin. 1158244601Smm 1159274261Sdelphij src/xz/args.c | 2 +- 1160274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 1161274261Sdelphij 1162244601Smmcommit 636fdcfbf542f1e84db2c4736004d84be4b12c84 1163244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1164274261SdelphijDate: 2011-11-03 17:08:02 +0200 1165244601Smm 1166244601Smm Update THANKS. 1167244601Smm 1168274261Sdelphij THANKS | 1 + 1169274261Sdelphij 1 file changed, 1 insertion(+) 1170274261Sdelphij 1171244601Smmcommit 55fd02f83ecd6cbd6925a3e8a3d43b8d4ef2a17c 1172244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1173274261SdelphijDate: 2011-11-03 17:07:22 +0200 1174244601Smm 1175244601Smm xz: Fix xz on EBCDIC systems. 1176244601Smm 1177244601Smm Thanks to Chris Donawa. 1178244601Smm 1179274261Sdelphij src/xz/coder.c | 5 ++++- 1180274261Sdelphij 1 file changed, 4 insertions(+), 1 deletion(-) 1181274261Sdelphij 1182244601Smmcommit 4052f36053b931bad847a36aabf1a07d0034e297 1183244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1184274261SdelphijDate: 2011-09-06 12:03:41 +0300 1185244601Smm 1186244601Smm Build: Fix "make check" on Windows. 1187244601Smm 1188274261Sdelphij tests/Makefile.am | 7 +++++-- 1189274261Sdelphij windows/build.bash | 2 ++ 1190274261Sdelphij 2 files changed, 7 insertions(+), 2 deletions(-) 1191274261Sdelphij 1192244601Smmcommit 0f25758459c74c366a73f35d47ee12b75890bb79 1193244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1194274261SdelphijDate: 2011-08-09 21:19:13 +0300 1195244601Smm 1196244601Smm Update THANKS. 1197244601Smm 1198274261Sdelphij THANKS | 2 ++ 1199274261Sdelphij 1 file changed, 2 insertions(+) 1200274261Sdelphij 1201244601Smmcommit 70f03b51ffcb783646b20de8d97b6986c4280eec 1202244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1203274261SdelphijDate: 2011-08-09 21:16:44 +0300 1204244601Smm 1205244601Smm Workaround unusual SIZE_MAX on SCO OpenServer. 1206244601Smm 1207274261Sdelphij src/common/sysdefs.h | 9 ++++++--- 1208274261Sdelphij 1 file changed, 6 insertions(+), 3 deletions(-) 1209274261Sdelphij 1210244601Smmcommit f138bdf76a70029e8360062a0b227936b83b24c9 1211244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1212274261SdelphijDate: 2011-08-06 20:37:28 +0300 1213244601Smm 1214244601Smm Run the scripts with the correct shell in test_scripts.sh. 1215244601Smm 1216244601Smm The scripts are now made executable in the build tree. 1217244601Smm This way the scripts can be run like programs in 1218244601Smm test_scripts.sh. Previously test_scripts.sh always 1219244601Smm used sh but it's not correct if @POSIX_SHELL@ is set 1220244601Smm to something else by configure. 1221244601Smm 1222244601Smm Thanks to Jonathan Nieder for the patch. 1223244601Smm 1224274261Sdelphij configure.ac | 8 ++++---- 1225274261Sdelphij tests/test_scripts.sh | 8 ++++---- 1226274261Sdelphij 2 files changed, 8 insertions(+), 8 deletions(-) 1227274261Sdelphij 1228244601Smmcommit 2c144a0365c84dbf1b6722466746d42f2563a319 1229244601SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1230274261SdelphijDate: 2011-07-31 11:01:47 +0300 1231244601Smm 1232244601Smm Fix exit status of "xzdiff foo.xz bar.xz". 1233244601Smm 1234244601Smm xzdiff was clobbering the exit status from diff in a case 1235244601Smm statement used to analyze the exit statuses from "xz" when 1236244601Smm its operands were two compressed files. Save and restore 1237244601Smm diff's exit status to fix this. 1238244601Smm 1239244601Smm The bug is inherited from zdiff in GNU gzip and was fixed 1240244601Smm there on 2009-10-09. 1241244601Smm 1242244601Smm Thanks to Jonathan Nieder for the patch and 1243244601Smm to Peter Pallinger for reporting the bug. 1244244601Smm 1245274261Sdelphij src/scripts/xzdiff.in | 2 ++ 1246274261Sdelphij tests/Makefile.am | 4 +++- 1247274261Sdelphij tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1248274261Sdelphij 3 files changed, 59 insertions(+), 1 deletion(-) 1249274261Sdelphij 1250223935Smmcommit edf339227a966f24aebe1845fcca9429b8f6e318 1251223935SmmAuthor: Anders F Bjorklund <afb@users.sourceforge.net> 1252274261SdelphijDate: 2010-11-05 12:56:11 +0100 1253223935Smm 1254223935Smm add build script for macosx universal 1255223935Smm 1256274261Sdelphij macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1257274261Sdelphij 1 file changed, 92 insertions(+) 1258274261Sdelphij 1259223935Smmcommit 7fcc6334ea8923550ba6b5347ff99dc8432234b0 1260223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1261274261SdelphijDate: 2011-06-16 12:15:29 +0300 1262223935Smm 1263223935Smm liblzma: Remove unneeded semicolon. 1264223935Smm 1265274261Sdelphij src/liblzma/lz/lz_encoder_hash.h | 2 +- 1266274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 1267274261Sdelphij 1268223935Smmcommit 631f4d3ae6adfda84d1a110781d9402c12e16cfc 1269223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1270274261SdelphijDate: 2011-05-28 16:43:26 +0300 1271223935Smm 1272223935Smm Don't call close(-1) in tuklib_open_stdxxx() on error. 1273223935Smm 1274223935Smm Thanks to Jim Meyering. 1275223935Smm 1276274261Sdelphij src/common/tuklib_open_stdxxx.c | 4 +++- 1277274261Sdelphij 1 file changed, 3 insertions(+), 1 deletion(-) 1278274261Sdelphij 1279223935Smmcommit c89faf4c9e5970e7f7f8a25521ed9aa62d1a2d9a 1280223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1281274261SdelphijDate: 2011-05-28 09:47:56 +0300 1282223935Smm 1283223935Smm Translations: Update Italian translation. 1284223935Smm 1285223935Smm Thanks to Milo Casagrande. 1286223935Smm 1287274261Sdelphij po/it.po | 333 +++++++++++++++++++++++++++++++++++---------------------------- 1288274261Sdelphij 1 file changed, 184 insertions(+), 149 deletions(-) 1289274261Sdelphij 1290223935Smmcommit 6fe2fc9b6ab5bf6848140823e9536370834f42fb 1291223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1292274261SdelphijDate: 2011-05-28 08:46:04 +0300 1293223935Smm 1294223935Smm Tests: Add a test file for the bug in the previous commit. 1295223935Smm 1296274261Sdelphij tests/files/README | 4 ++++ 1297274261Sdelphij tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes 1298274261Sdelphij 2 files changed, 4 insertions(+) 1299274261Sdelphij 1300223935Smmcommit 6c4d4db2bc8d8b682bd927144d37daa2ab21a6d6 1301223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1302274261SdelphijDate: 2011-05-27 22:25:44 +0300 1303223935Smm 1304223935Smm xz: Fix error handling in xz -lvv. 1305223935Smm 1306223935Smm It could do an invalid free() and read past the end 1307223935Smm of the uninitialized filters array. 1308223935Smm 1309274261Sdelphij src/xz/list.c | 21 ++++++--------------- 1310274261Sdelphij 1 file changed, 6 insertions(+), 15 deletions(-) 1311274261Sdelphij 1312223935Smmcommit 844f84fcad9670c543550edf7c7e42630c8f7715 1313223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1314274261SdelphijDate: 2011-05-27 22:09:49 +0300 1315223935Smm 1316223935Smm liblzma: Handle allocation failures correctly in lzma_index_init(). 1317223935Smm 1318223935Smm Thanks to Jim Meyering. 1319223935Smm 1320274261Sdelphij src/liblzma/common/index.c | 7 +++++-- 1321274261Sdelphij 1 file changed, 5 insertions(+), 2 deletions(-) 1322274261Sdelphij 1323223935Smmcommit 240e8b9791df597063a3b68d04ffcb3aa4f2de6a 1324223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1325274261SdelphijDate: 2011-05-23 18:30:30 +0300 1326223935Smm 1327223935Smm Build: Set GZIP_ENV=-9n in top-level Makefile.am. 1328223935Smm 1329274261Sdelphij Makefile.am | 3 +++ 1330274261Sdelphij 1 file changed, 3 insertions(+) 1331274261Sdelphij 1332223935Smmcommit e32cb264ea72a4459810f30abad70dae5a4fa17d 1333223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1334274261SdelphijDate: 2011-05-21 16:59:22 +0300 1335223935Smm 1336223935Smm Bump version and soname for 5.0.3. 1337223935Smm 1338274261Sdelphij src/liblzma/Makefile.am | 2 +- 1339274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 1340274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 1341274261Sdelphij 1342223935Smmcommit 65cff45f8fd1c250491557157cce0f5f38481082 1343223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1344274261SdelphijDate: 2011-05-21 16:56:53 +0300 1345223935Smm 1346223935Smm Update NEWS for 5.0.3. 1347223935Smm 1348274261Sdelphij NEWS | 36 ++++++++++++++++++++++++++++++++++-- 1349274261Sdelphij 1 file changed, 34 insertions(+), 2 deletions(-) 1350274261Sdelphij 1351223935Smmcommit 316c67ffdae1f811ac95e838d5290a013bff4ca7 1352223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1353274261SdelphijDate: 2011-05-21 16:28:44 +0300 1354223935Smm 1355223935Smm Add French translation. 1356223935Smm 1357223935Smm It is known that the BCJ filter --help text is only 1358223935Smm partially translated. 1359223935Smm 1360274261Sdelphij po/LINGUAS | 1 + 1361274261Sdelphij po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1362274261Sdelphij 2 files changed, 865 insertions(+) 1363274261Sdelphij 1364223935Smmcommit 1931175eea6d09c0845d6e8e334a7333647f11c0 1365223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1366274261SdelphijDate: 2011-05-21 15:12:10 +0300 1367223935Smm 1368223935Smm xz: Translate also the string used to print the program name. 1369223935Smm 1370223935Smm French needs a space before a colon, e.g. "xz : foo error". 1371223935Smm 1372274261Sdelphij src/xz/message.c | 6 +++++- 1373274261Sdelphij 1 file changed, 5 insertions(+), 1 deletion(-) 1374274261Sdelphij 1375223935Smmcommit 841dc1f891b48b23f84c0f0e0c86c7c4e4bdcdf5 1376223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1377274261SdelphijDate: 2011-05-17 12:26:28 +0300 1378223935Smm 1379223935Smm Update THANKS. 1380223935Smm 1381274261Sdelphij THANKS | 3 +++ 1382274261Sdelphij 1 file changed, 3 insertions(+) 1383274261Sdelphij 1384223935Smmcommit 0f7e2d36240ebf1159d5fb85d8cd7422337a0d3f 1385223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1386274261SdelphijDate: 2011-05-17 12:21:33 +0300 1387223935Smm 1388223935Smm Update INSTALL with a note about linker problem on OpenSolaris x86. 1389223935Smm 1390274261Sdelphij INSTALL | 23 +++++++++++++++++------ 1391274261Sdelphij 1 file changed, 17 insertions(+), 6 deletions(-) 1392274261Sdelphij 1393223935Smmcommit 793d857e01e1725f16fc0c8af8172c91a9e38617 1394223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1395274261SdelphijDate: 2011-05-17 12:01:37 +0300 1396223935Smm 1397223935Smm Build: Fix initialization of enable_check_* variables in configure.ac. 1398223935Smm 1399223935Smm This doesn't matter much in practice since it is unlikely 1400223935Smm that anyone would have such environment variable names. 1401223935Smm 1402223935Smm Thanks to Wim Lewis. 1403223935Smm 1404274261Sdelphij configure.ac | 2 +- 1405274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 1406274261Sdelphij 1407223935Smmcommit afcff45cee04c5c7d9c333504046ffb63d1418b5 1408223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1409274261SdelphijDate: 2011-05-17 11:54:38 +0300 1410223935Smm 1411223935Smm Add underscores to attributes (__attribute((__foo__))). 1412223935Smm 1413274261Sdelphij src/liblzma/common/alone_decoder.c | 2 +- 1414274261Sdelphij src/liblzma/common/alone_encoder.c | 2 +- 1415274261Sdelphij src/liblzma/common/block_encoder.c | 2 +- 1416274261Sdelphij src/liblzma/common/common.c | 2 +- 1417274261Sdelphij src/liblzma/common/common.h | 2 +- 1418274261Sdelphij src/liblzma/common/index_decoder.c | 9 +++++---- 1419274261Sdelphij src/liblzma/common/index_encoder.c | 11 ++++++----- 1420274261Sdelphij src/liblzma/delta/delta_encoder.c | 2 +- 1421274261Sdelphij src/liblzma/lz/lz_decoder.c | 2 +- 1422274261Sdelphij src/liblzma/lz/lz_encoder.c | 2 +- 1423274261Sdelphij src/liblzma/simple/arm.c | 2 +- 1424274261Sdelphij src/liblzma/simple/armthumb.c | 2 +- 1425274261Sdelphij src/liblzma/simple/ia64.c | 2 +- 1426274261Sdelphij src/liblzma/simple/powerpc.c | 2 +- 1427274261Sdelphij src/liblzma/simple/simple_coder.c | 2 +- 1428274261Sdelphij src/liblzma/simple/sparc.c | 2 +- 1429274261Sdelphij src/lzmainfo/lzmainfo.c | 4 ++-- 1430274261Sdelphij src/xz/coder.c | 2 +- 1431274261Sdelphij src/xz/hardware.h | 2 +- 1432274261Sdelphij src/xz/message.c | 2 +- 1433274261Sdelphij src/xz/message.h | 18 +++++++++--------- 1434274261Sdelphij src/xz/options.c | 6 +++--- 1435274261Sdelphij src/xz/signals.c | 2 +- 1436274261Sdelphij src/xz/util.h | 6 +++--- 1437274261Sdelphij src/xzdec/xzdec.c | 6 +++--- 1438274261Sdelphij 25 files changed, 49 insertions(+), 47 deletions(-) 1439274261Sdelphij 1440223935Smmcommit 22159c6ba2300a006f2e46ce85ae132e2d2f7d57 1441223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1442274261SdelphijDate: 2011-04-18 19:35:49 +0300 1443223935Smm 1444223935Smm Update THANKS. 1445223935Smm 1446274261Sdelphij THANKS | 2 ++ 1447274261Sdelphij 1 file changed, 2 insertions(+) 1448274261Sdelphij 1449223935Smmcommit 5e3499059515033d1ce44b6fb0fa49183c7ac633 1450223935SmmAuthor: Martin V��th <vaeth@mathematik.uni-wuerzburg.de> 1451274261SdelphijDate: 2011-04-15 04:54:49 -0400 1452223935Smm 1453223935Smm xzgrep: fix typo in $0 parsing 1454223935Smm 1455223935Smm Reported-by: Diego Elio Petten�� <flameeyes@gentoo.org> 1456223935Smm Signed-off-by: Martin V��th <vaeth@mathematik.uni-wuerzburg.de> 1457223935Smm Signed-off-by: Mike Frysinger <vapier@gentoo.org> 1458223935Smm 1459274261Sdelphij src/scripts/xzgrep.in | 4 ++-- 1460274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 1461274261Sdelphij 1462223935Smmcommit 1125611b9b8d4a209b6a73d2c76e1b39c065972a 1463223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1464274261SdelphijDate: 2011-04-12 11:59:49 +0300 1465223935Smm 1466223935Smm Remove doubled words from documentation and comments. 1467223935Smm 1468223935Smm Spot candidates by running these commands: 1469223935Smm git ls-files |xargs perl -0777 -n \ 1470223935Smm -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \ 1471223935Smm -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}' 1472223935Smm 1473223935Smm Thanks to Jim Meyering for the original patch. 1474223935Smm 1475274261Sdelphij doc/lzma-file-format.txt | 4 ++-- 1476274261Sdelphij src/liblzma/common/alone_encoder.c | 2 +- 1477274261Sdelphij src/liblzma/lzma/lzma2_encoder.c | 2 +- 1478274261Sdelphij src/xz/file_io.c | 2 +- 1479274261Sdelphij src/xz/xz.1 | 2 +- 1480274261Sdelphij windows/INSTALL-Windows.txt | 2 +- 1481274261Sdelphij 6 files changed, 7 insertions(+), 7 deletions(-) 1482274261Sdelphij 1483223935Smmcommit 3f8fa53837bae8b44f3addf19923e26401336c3d 1484223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1485274261SdelphijDate: 2011-04-11 21:04:13 +0300 1486223935Smm 1487223935Smm liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too. 1488223935Smm 1489274261Sdelphij src/liblzma/api/lzma/container.h | 9 +++++++++ 1490274261Sdelphij 1 file changed, 9 insertions(+) 1491274261Sdelphij 1492223935Smmcommit 320d734c20d0776e3eb80f6b5984ddeb494715b5 1493223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1494274261SdelphijDate: 2011-04-11 20:59:07 +0300 1495223935Smm 1496223935Smm liblzma: Document lzma_raw_(enc|dec)oder_memusage() better. 1497223935Smm 1498223935Smm It didn't mention the return value that is used if 1499223935Smm an error occurs. 1500223935Smm 1501274261Sdelphij src/liblzma/api/lzma/filter.h | 8 ++++++-- 1502274261Sdelphij 1 file changed, 6 insertions(+), 2 deletions(-) 1503274261Sdelphij 1504223935Smmcommit 2ee4edeffc8d9734bf68230df31b20ac6a94c9b5 1505223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1506274261SdelphijDate: 2011-04-11 13:59:50 +0300 1507223935Smm 1508223935Smm liblzma: Don't create an empty Block in lzma_stream_buffer_encode(). 1509223935Smm 1510223935Smm Empty Block was created if the input buffer was empty. 1511223935Smm Empty Block wastes a few bytes of space, but more importantly 1512223935Smm it triggers a bug in XZ Utils 5.0.1 and older when trying 1513223935Smm to decompress such a file. 5.0.1 and older consider such 1514223935Smm files to be corrupt. I thought that no encoder creates empty 1515223935Smm Blocks when releasing 5.0.2 but I was wrong. 1516223935Smm 1517274261Sdelphij src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++------- 1518274261Sdelphij 1 file changed, 13 insertions(+), 7 deletions(-) 1519274261Sdelphij 1520223935Smmcommit 73f56fb87d54091d0c4fd22d70e6f042902e3b63 1521223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1522274261SdelphijDate: 2011-04-11 13:28:40 +0300 1523223935Smm 1524223935Smm liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK. 1525223935Smm 1526223935Smm This return value was missing from the API comments of 1527223935Smm four functions. 1528223935Smm 1529274261Sdelphij src/liblzma/api/lzma/block.h | 1 + 1530274261Sdelphij src/liblzma/api/lzma/container.h | 3 +++ 1531274261Sdelphij 2 files changed, 4 insertions(+) 1532274261Sdelphij 1533223935Smmcommit 4ce1cf97a88ae1640a380dd19cbc255d729f966b 1534223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1535274261SdelphijDate: 2011-04-11 13:21:28 +0300 1536223935Smm 1537223935Smm liblzma: Validate encoder arguments better. 1538223935Smm 1539223935Smm The biggest problem was that the integrity check type 1540223935Smm wasn't validated, and e.g. lzma_easy_buffer_encode() 1541223935Smm would create a corrupt .xz Stream if given an unsupported 1542223935Smm Check ID. Luckily applications don't usually try to use 1543223935Smm an unsupport Check ID, so this bug is unlikely to cause 1544223935Smm many real-world problems. 1545223935Smm 1546274261Sdelphij src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------ 1547274261Sdelphij src/liblzma/common/block_encoder.c | 5 +++++ 1548274261Sdelphij src/liblzma/common/stream_buffer_encoder.c | 3 +++ 1549274261Sdelphij 3 files changed, 20 insertions(+), 6 deletions(-) 1550274261Sdelphij 1551223935Smmcommit 972f05d7a4268dbe42573701f83faa45d03249eb 1552223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1553274261SdelphijDate: 2011-04-09 18:29:30 +0300 1554223935Smm 1555223935Smm Update THANKS. 1556223935Smm 1557274261Sdelphij THANKS | 1 + 1558274261Sdelphij 1 file changed, 1 insertion(+) 1559274261Sdelphij 1560223935Smmcommit 28154eeaf6e3442cd1e174f4e81266d60c4dac60 1561223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1562274261SdelphijDate: 2011-04-09 18:28:58 +0300 1563223935Smm 1564223935Smm liblzma: Add missing #ifdefs to filter_common.c. 1565223935Smm 1566223935Smm Passing --disable-decoders to configure broke a few 1567223935Smm encoders due to missing #ifdefs in filter_common.c. 1568223935Smm 1569223935Smm Thanks to Jason Gorski for the patch. 1570223935Smm 1571274261Sdelphij src/liblzma/common/filter_common.c | 6 +++--- 1572274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 1573274261Sdelphij 1574223935Smmcommit aa95516d3d509c6b7895ee519004afcf500a0759 1575223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1576274261SdelphijDate: 2011-04-02 14:49:56 +0300 1577223935Smm 1578223935Smm liblzma: Fix a memory leak in stream_encoder.c. 1579223935Smm 1580223935Smm It leaks old filter options structures (hundred bytes or so) 1581223935Smm every time the lzma_stream is reinitialized. With the xz tool, 1582223935Smm this happens when compressing multiple files. 1583223935Smm 1584274261Sdelphij src/liblzma/common/stream_encoder.c | 2 +- 1585274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 1586274261Sdelphij 1587223935Smmcommit 58f52c72f49562a08042da9a2f4bbdf4dd162d0c 1588223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1589274261SdelphijDate: 2011-04-01 08:47:46 +0300 1590223935Smm 1591223935Smm Bumped version and liblzma soname to 5.0.2. 1592223935Smm 1593274261Sdelphij src/liblzma/Makefile.am | 2 +- 1594274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 1595274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 1596274261Sdelphij 1597223935Smmcommit 162779682e01d15f0ce386ef7f40d1be05ad0053 1598223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1599274261SdelphijDate: 2011-04-01 08:47:20 +0300 1600223935Smm 1601223935Smm Updated NEWS for 5.0.2. 1602223935Smm 1603274261Sdelphij NEWS | 18 ++++++++++++++++++ 1604274261Sdelphij 1 file changed, 18 insertions(+) 1605274261Sdelphij 1606223935Smmcommit 45553f9b4b0175c292023010dc41520347004852 1607223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1608274261SdelphijDate: 2011-03-31 15:06:58 +0300 1609223935Smm 1610223935Smm Update INSTALL with another note about IRIX. 1611223935Smm 1612274261Sdelphij INSTALL | 4 ++++ 1613274261Sdelphij 1 file changed, 4 insertions(+) 1614274261Sdelphij 1615223935Smmcommit af9d48d5515eadef689b1ce9ffb91e4dbcbc7f35 1616223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1617274261SdelphijDate: 2011-03-31 12:22:55 +0300 1618223935Smm 1619223935Smm Tests: Add a new file to test empty LZMA2 streams. 1620223935Smm 1621274261Sdelphij tests/files/README | 4 ++++ 1622274261Sdelphij tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes 1623274261Sdelphij 2 files changed, 4 insertions(+) 1624274261Sdelphij 1625223935Smmcommit d099ef9f517b59ab8e3b6f6aa0543c3643983470 1626223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1627274261SdelphijDate: 2011-03-31 11:54:48 +0300 1628223935Smm 1629223935Smm liblzma: Fix decoding of LZMA2 streams having no uncompressed data. 1630223935Smm 1631223935Smm The decoder considered empty LZMA2 streams to be corrupt. 1632223935Smm This shouldn't matter much with .xz files, because no encoder 1633223935Smm creates empty LZMA2 streams in .xz. This bug is more likely 1634223935Smm to cause problems in applications that use raw LZMA2 streams. 1635223935Smm 1636274261Sdelphij src/liblzma/lzma/lzma2_decoder.c | 8 ++++---- 1637274261Sdelphij 1 file changed, 4 insertions(+), 4 deletions(-) 1638274261Sdelphij 1639223935Smmcommit df87249b26e79a75fd91041e85512944fc247b57 1640223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1641274261SdelphijDate: 2011-03-24 01:42:49 +0200 1642223935Smm 1643223935Smm Scripts: Better fix for xzgrep. 1644223935Smm 1645223935Smm Now it uses "grep -q". 1646223935Smm 1647223935Smm Thanks to Gregory Margo. 1648223935Smm 1649274261Sdelphij src/scripts/xzgrep.in | 8 ++++++-- 1650274261Sdelphij 1 file changed, 6 insertions(+), 2 deletions(-) 1651274261Sdelphij 1652223935Smmcommit 68c453e1c7b09dc9c7d2ef9d994c46f5b367f5d3 1653223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1654274261SdelphijDate: 2011-03-24 01:22:18 +0200 1655223935Smm 1656223935Smm Updated THANKS. 1657223935Smm 1658274261Sdelphij THANKS | 1 + 1659274261Sdelphij 1 file changed, 1 insertion(+) 1660274261Sdelphij 1661223935Smmcommit b441d39855516ae618faffd5156261b8b413394f 1662223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1663274261SdelphijDate: 2011-03-24 01:21:32 +0200 1664223935Smm 1665223935Smm Scripts: Fix xzgrep -l. 1666223935Smm 1667223935Smm It didn't work at all. It tried to use the -q option 1668223935Smm for grep, but it appended it after "--". This works 1669223935Smm around it by redirecting to /dev/null. The downside 1670223935Smm is that this can be slower with big files compared 1671223935Smm to proper use of "grep -q". 1672223935Smm 1673223935Smm Thanks to Gregory Margo. 1674223935Smm 1675274261Sdelphij src/scripts/xzgrep.in | 4 ++-- 1676274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 1677274261Sdelphij 1678223935Smmcommit 82d5164839517f55daeadd9ee88c76425db30224 1679223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1680274261SdelphijDate: 2011-02-04 22:49:31 +0200 1681223935Smm 1682223935Smm xz: Clean up suffix.c. 1683223935Smm 1684223935Smm struct suffix_pair isn't needed in compresed_name() 1685223935Smm so get rid of it there. 1686223935Smm 1687274261Sdelphij src/xz/suffix.c | 44 ++++++++++++++++++++------------------------ 1688274261Sdelphij 1 file changed, 20 insertions(+), 24 deletions(-) 1689274261Sdelphij 1690223935Smmcommit 6decc8b41882c2250f0450eb87b83c9fbf495e95 1691223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1692274261SdelphijDate: 2011-02-04 11:29:47 +0200 1693223935Smm 1694223935Smm xz: Check if the file already has custom suffix when compressing. 1695223935Smm 1696223935Smm Now "xz -S .test foo.test" refuses to compress the 1697223935Smm file because it already has the suffix .test. The man 1698223935Smm page had it documented this way already. 1699223935Smm 1700274261Sdelphij src/xz/suffix.c | 9 +++++++++ 1701274261Sdelphij 1 file changed, 9 insertions(+) 1702274261Sdelphij 1703223935Smmcommit ecda90061df8d39399e707e5c76c2ec0a0f400e5 1704223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1705274261SdelphijDate: 2011-02-02 23:01:51 +0200 1706223935Smm 1707223935Smm Updated THANKS. 1708223935Smm 1709274261Sdelphij THANKS | 1 + 1710274261Sdelphij 1 file changed, 1 insertion(+) 1711274261Sdelphij 1712223935Smmcommit 0fda1ae5b1aa0a5c629a09e5228db8ba1cd0dd5f 1713223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1714274261SdelphijDate: 2011-02-02 23:00:33 +0200 1715223935Smm 1716223935Smm Translations: Add Polish translation. 1717223935Smm 1718223935Smm Thanks to Jakub Bogusz. 1719223935Smm 1720274261Sdelphij po/LINGUAS | 1 + 1721274261Sdelphij po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1722274261Sdelphij 2 files changed, 826 insertions(+) 1723274261Sdelphij 1724223935Smmcommit 00be32978fedc5038748438bf685ac1713d1db83 1725223935SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1726274261SdelphijDate: 2011-02-02 22:24:00 +0200 1727223935Smm 1728223935Smm Updated THANKS. 1729223935Smm 1730274261Sdelphij THANKS | 1 + 1731274261Sdelphij 1 file changed, 1 insertion(+) 1732274261Sdelphij 1733219001Smmcommit 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004 1734219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1735274261SdelphijDate: 2011-01-28 20:26:38 +0200 1736219001Smm 1737219001Smm Bump package version and liblzma soname to 5.0.1. 1738219001Smm 1739274261Sdelphij src/liblzma/Makefile.am | 2 +- 1740274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 1741274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 1742274261Sdelphij 1743219001Smmcommit 5fbce0b8d96dc96775aa0215e3581addc830e23d 1744219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1745274261SdelphijDate: 2011-01-28 20:16:57 +0200 1746219001Smm 1747219001Smm Update NEWS for 5.0.1. 1748219001Smm 1749274261Sdelphij NEWS | 14 ++++++++++++++ 1750274261Sdelphij 1 file changed, 14 insertions(+) 1751274261Sdelphij 1752219001Smmcommit 03ebd1bbb314f9f204940219a835c883bf442475 1753219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1754274261SdelphijDate: 2011-01-26 12:19:08 +0200 1755219001Smm 1756219001Smm xz: Fix --force on setuid/setgid/sticky and multi-hardlink files. 1757219001Smm 1758219001Smm xz didn't compress setuid/setgid/sticky files and files 1759219001Smm with multiple hard links even with --force. This bug was 1760219001Smm introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4. 1761219001Smm 1762219001Smm Thanks to Charles Wilson. 1763219001Smm 1764274261Sdelphij src/xz/file_io.c | 15 +++++++-------- 1765274261Sdelphij 1 file changed, 7 insertions(+), 8 deletions(-) 1766274261Sdelphij 1767219001Smmcommit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136 1768219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1769274261SdelphijDate: 2011-01-18 21:25:24 +0200 1770219001Smm 1771219001Smm Updated THANKS. 1772219001Smm 1773274261Sdelphij THANKS | 1 + 1774274261Sdelphij 1 file changed, 1 insertion(+) 1775274261Sdelphij 1776219001Smmcommit f71c4e16e913f660977526f0ef8d2acdf458d7c9 1777219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1778274261SdelphijDate: 2011-01-18 21:23:50 +0200 1779219001Smm 1780219001Smm Add alloc_size and malloc attributes to a few functions. 1781219001Smm 1782219001Smm Thanks to Cristian Rodr��guez for the original patch. 1783219001Smm 1784274261Sdelphij src/common/sysdefs.h | 6 ++++++ 1785274261Sdelphij src/liblzma/common/common.h | 2 +- 1786274261Sdelphij src/xz/util.h | 5 +++-- 1787274261Sdelphij 3 files changed, 10 insertions(+), 3 deletions(-) 1788274261Sdelphij 1789219001Smmcommit 316cbe24465143edde8f6ffb7532834b7b2ea93f 1790219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1791274261SdelphijDate: 2010-12-13 16:36:33 +0200 1792219001Smm 1793219001Smm Scripts: Fix gzip and bzip2 support in xzdiff. 1794219001Smm 1795274261Sdelphij src/scripts/xzdiff.in | 12 ++++++------ 1796274261Sdelphij 1 file changed, 6 insertions(+), 6 deletions(-) 1797274261Sdelphij 1798219001Smmcommit 9311774c493c19deab51ded919dcd2e9c4aa2829 1799219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1800274261SdelphijDate: 2010-12-12 21:23:55 +0200 1801219001Smm 1802219001Smm Build: Enable ASM on DJGPP by default. 1803219001Smm 1804274261Sdelphij configure.ac | 2 +- 1805274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 1806274261Sdelphij 1807219001Smmcommit 4a42aaee282fc73b482581684d65110506d5efdd 1808219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1809274261SdelphijDate: 2010-12-12 16:09:42 +0200 1810219001Smm 1811219001Smm Updated THANKS. 1812219001Smm 1813274261Sdelphij THANKS | 1 + 1814274261Sdelphij 1 file changed, 1 insertion(+) 1815274261Sdelphij 1816219001Smmcommit ce56f63c41ee210e6308090eb6d49221fdf67d6c 1817219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1818274261SdelphijDate: 2010-12-12 16:07:11 +0200 1819219001Smm 1820219001Smm Add missing PRIx32 and PRIx64 compatibility definitions. 1821219001Smm 1822219001Smm This fixes portability to systems that lack C99 inttypes.h. 1823219001Smm 1824219001Smm Thanks to Juan Manuel Guerrero. 1825219001Smm 1826274261Sdelphij src/common/sysdefs.h | 9 +++++++++ 1827274261Sdelphij 1 file changed, 9 insertions(+) 1828274261Sdelphij 1829219001Smmcommit e6baedddcf54e7da049ebc49183565b99facd4c7 1830219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1831274261SdelphijDate: 2010-12-12 14:50:04 +0200 1832219001Smm 1833219001Smm DOS-like: Treat \ and : as directory separators in addition to /. 1834219001Smm 1835219001Smm Juan Manuel Guerrero had fixed this in his XZ Utils port 1836219001Smm to DOS/DJGPP. The bug affects also Windows and OS/2. 1837219001Smm 1838274261Sdelphij src/xz/suffix.c | 33 +++++++++++++++++++++++++++++---- 1839274261Sdelphij 1 file changed, 29 insertions(+), 4 deletions(-) 1840274261Sdelphij 1841219001Smmcommit b7afd3e22a8fac115b75c738d40d3eb1de7e286f 1842219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1843274261SdelphijDate: 2010-12-07 18:52:04 +0200 1844219001Smm 1845219001Smm Translations: Fix Czech translation of "sparse file". 1846219001Smm 1847219001Smm Thanks to Petr Huben�� and Marek ��ernock��. 1848219001Smm 1849274261Sdelphij po/cs.po | 88 ++++++++++++++++++++++++++++++++-------------------------------- 1850274261Sdelphij 1 file changed, 44 insertions(+), 44 deletions(-) 1851274261Sdelphij 1852219001Smmcommit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e 1853219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1854274261SdelphijDate: 2010-11-15 14:28:26 +0200 1855219001Smm 1856219001Smm liblzma: Document the return value of lzma_lzma_preset(). 1857219001Smm 1858274261Sdelphij src/liblzma/api/lzma/lzma.h | 3 +++ 1859274261Sdelphij 1 file changed, 3 insertions(+) 1860274261Sdelphij 1861219001Smmcommit 2964d8d691ed92abdcf214888d79ad6d79774735 1862219001SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 1863274261SdelphijDate: 2010-11-12 15:22:13 -0600 1864219001Smm 1865219001Smm Simplify paths in generated API docs 1866219001Smm 1867219001Smm Currently the file list generated by Doxygen has src/ at the 1868219001Smm beginning of each path. Paths like common/sysdefs.h and 1869219001Smm liblzma/api/lzma.h are easier to read without such a prefix. 1870219001Smm 1871219001Smm Builds from a separate build directory with 1872219001Smm 1873219001Smm mkdir build 1874219001Smm cd build 1875219001Smm ../configure 1876219001Smm doxygen Doxyfile 1877219001Smm 1878219001Smm include an even longer prefix /home/someone/src/xz/src; this 1879219001Smm patch has the nice side-effect of eliminating that prefix, too. 1880219001Smm 1881219001Smm Fixes: http://bugs.debian.org/572273 1882219001Smm 1883274261Sdelphij Doxyfile.in | 2 +- 1884274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 1885274261Sdelphij 1886219001Smmcommit 37c25658efd25b034266daf87cd381d20d1df776 1887219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1888274261SdelphijDate: 2010-10-26 15:48:48 +0300 1889219001Smm 1890219001Smm Build: Copy the example programs to $docdir/examples. 1891219001Smm 1892219001Smm The example programs by Daniel Mealha Cabrita were included 1893219001Smm in the git repository, but I had forgot to add them to 1894219001Smm Makefile.am. Thus, they didn't get included in the source 1895219001Smm package at all by "make dist". 1896219001Smm 1897274261Sdelphij Makefile.am | 5 +++++ 1898274261Sdelphij windows/build.bash | 3 ++- 1899274261Sdelphij 2 files changed, 7 insertions(+), 1 deletion(-) 1900274261Sdelphij 1901215187Smmcommit e45929260cd902036efd40c5610a8d0a50d5712b 1902215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1903274261SdelphijDate: 2010-10-23 17:25:52 +0300 1904215187Smm 1905215187Smm Build: Fix mydist rule when .git doesn't exist. 1906215187Smm 1907274261Sdelphij Makefile.am | 1 + 1908274261Sdelphij 1 file changed, 1 insertion(+) 1909274261Sdelphij 1910215187Smmcommit 6e1326fcdf6b6209949be57cfe3ad4b781b65168 1911215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1912274261SdelphijDate: 2010-10-23 14:15:35 +0300 1913215187Smm 1914215187Smm Add NEWS for 5.0.0. 1915215187Smm 1916274261Sdelphij NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1917274261Sdelphij 1 file changed, 62 insertions(+) 1918274261Sdelphij 1919215187Smmcommit b667a3ef6338a2c1db7b7706b1f6c99ea392221c 1920215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1921274261SdelphijDate: 2010-10-23 14:02:53 +0300 1922215187Smm 1923215187Smm Bump version to 5.0.0 and liblzma version-info to 5:0:0. 1924215187Smm 1925274261Sdelphij src/liblzma/Makefile.am | 2 +- 1926274261Sdelphij src/liblzma/api/lzma/version.h | 8 ++++---- 1927274261Sdelphij 2 files changed, 5 insertions(+), 5 deletions(-) 1928274261Sdelphij 1929215187Smmcommit 8c947e9291691629714dafb4536c718b6cc24fbd 1930215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1931274261SdelphijDate: 2010-10-23 12:30:54 +0300 1932215187Smm 1933215187Smm liblzma: Make lzma_code() check the reserved members in lzma_stream. 1934215187Smm 1935215187Smm If any of the reserved members in lzma_stream are non-zero 1936215187Smm or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible 1937215187Smm that a new feature in the future is indicated by just setting 1938215187Smm a reserved member to some other value, so the old liblzma 1939215187Smm version need to catch it as an unsupported feature. 1940215187Smm 1941274261Sdelphij src/liblzma/common/common.c | 14 ++++++++++++++ 1942274261Sdelphij 1 file changed, 14 insertions(+) 1943274261Sdelphij 1944215187Smmcommit e61d85e082743ebd2dd0ff28fc0a82482ede0538 1945215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1946274261SdelphijDate: 2010-10-23 12:26:33 +0300 1947215187Smm 1948215187Smm Windows: Use MinGW's stdio functions. 1949215187Smm 1950215187Smm The non-standard ones from msvcrt.dll appear to work 1951215187Smm most of the time with XZ Utils, but there are some 1952215187Smm corner cases where things may go very wrong. So it's 1953215187Smm good to use the better replacements provided by 1954215187Smm MinGW(-w64) runtime. 1955215187Smm 1956274261Sdelphij src/common/sysdefs.h | 5 +++++ 1957274261Sdelphij 1 file changed, 5 insertions(+) 1958274261Sdelphij 1959215187Smmcommit 23e23f1dc029146714c9a98313ab3ea93d71a2fc 1960215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1961274261SdelphijDate: 2010-10-23 12:21:32 +0300 1962215187Smm 1963215187Smm liblzma: Use 512 as INDEX_GROUP_SIZE. 1964215187Smm 1965215187Smm This lets compiler use shifting instead of 64-bit division. 1966215187Smm 1967274261Sdelphij src/liblzma/common/index.c | 2 +- 1968274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 1969274261Sdelphij 1970215187Smmcommit 613939fc82603b75b59eee840871a05bc8dd08e0 1971215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1972274261SdelphijDate: 2010-10-23 12:20:11 +0300 1973215187Smm 1974215187Smm liblzma: A few ABI tweaks to reserve space in structures. 1975215187Smm 1976274261Sdelphij src/liblzma/api/lzma/base.h | 7 ++++++- 1977274261Sdelphij src/liblzma/api/lzma/lzma.h | 4 ++-- 1978274261Sdelphij src/liblzma/api/lzma/stream_flags.h | 4 ---- 1979274261Sdelphij 3 files changed, 8 insertions(+), 7 deletions(-) 1980274261Sdelphij 1981215187Smmcommit 68b83f252df3d27480a9f6f03445d16f6506fef1 1982215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1983274261SdelphijDate: 2010-10-21 23:16:11 +0300 1984215187Smm 1985215187Smm xz: Make sure that message_strm() can never return NULL. 1986215187Smm 1987274261Sdelphij src/xz/message.c | 7 +++++-- 1988274261Sdelphij 1 file changed, 5 insertions(+), 2 deletions(-) 1989274261Sdelphij 1990215187Smmcommit d09c5753e33ff96ee57edb6d1e98e34041203695 1991215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1992274261SdelphijDate: 2010-10-21 23:06:31 +0300 1993215187Smm 1994215187Smm liblzma: Update the comments in the API headers. 1995215187Smm 1996215187Smm Adding support for LZMA_FINISH for Index encoding and 1997215187Smm decoding needed tiny additions to the relevant .c files too. 1998215187Smm 1999274261Sdelphij src/liblzma/api/lzma.h | 4 +-- 2000274261Sdelphij src/liblzma/api/lzma/base.h | 38 +++++++++++++-------------- 2001274261Sdelphij src/liblzma/api/lzma/bcj.h | 4 +-- 2002274261Sdelphij src/liblzma/api/lzma/block.h | 4 +-- 2003274261Sdelphij src/liblzma/api/lzma/container.h | 26 ++++++++++++------- 2004274261Sdelphij src/liblzma/api/lzma/filter.h | 51 ++++++++++++++++++------------------- 2005274261Sdelphij src/liblzma/api/lzma/hardware.h | 3 +-- 2006274261Sdelphij src/liblzma/api/lzma/index.h | 28 ++++++++++++-------- 2007274261Sdelphij src/liblzma/api/lzma/index_hash.h | 2 +- 2008274261Sdelphij src/liblzma/api/lzma/lzma.h | 46 ++++++++++++++++++++++----------- 2009274261Sdelphij src/liblzma/api/lzma/stream_flags.h | 4 +-- 2010274261Sdelphij src/liblzma/api/lzma/vli.h | 31 +++++++++++----------- 2011274261Sdelphij src/liblzma/common/index_decoder.c | 1 + 2012274261Sdelphij src/liblzma/common/index_encoder.c | 1 + 2013274261Sdelphij 14 files changed, 136 insertions(+), 107 deletions(-) 2014274261Sdelphij 2015215187Smmcommit 33c1c0e102eb529588503b8beea0903a45488fad 2016215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2017274261SdelphijDate: 2010-10-19 12:08:30 +0300 2018215187Smm 2019215187Smm Update INSTALL.generic. 2020215187Smm 2021274261Sdelphij INSTALL.generic | 99 ++++++++++++++++++++++++++++++++++++++++++++++----------- 2022274261Sdelphij 1 file changed, 81 insertions(+), 18 deletions(-) 2023274261Sdelphij 2024215187Smmcommit 0076e03641f201c4b77dddd5a6db5880be19a78c 2025215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2026274261SdelphijDate: 2010-10-19 11:44:37 +0300 2027215187Smm 2028215187Smm Clean up a few FIXMEs and TODOs. 2029215187Smm 2030215187Smm lzma_chunk_size() was commented out because it is 2031215187Smm currently useless. 2032215187Smm 2033274261Sdelphij src/liblzma/common/filter_encoder.c | 2 ++ 2034274261Sdelphij src/liblzma/common/filter_encoder.h | 4 ++-- 2035274261Sdelphij src/liblzma/lzma/lzma2_decoder.c | 1 - 2036274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 4 ++-- 2037274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 2 +- 2038274261Sdelphij src/xz/message.h | 2 +- 2039274261Sdelphij 6 files changed, 8 insertions(+), 7 deletions(-) 2040274261Sdelphij 2041215187Smmcommit ce34ec4f54ff8b753da236f371ad8dd23c8135c9 2042215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2043274261SdelphijDate: 2010-10-19 10:21:08 +0300 2044215187Smm 2045215187Smm Update docs. 2046215187Smm 2047274261Sdelphij INSTALL | 192 +++++++++++++++++++++++++++++++++++++++++-------------------- 2048274261Sdelphij PACKAGERS | 104 +++++++++------------------------ 2049274261Sdelphij TODO | 17 ++++-- 2050274261Sdelphij dos/README | 2 +- 2051274261Sdelphij 4 files changed, 172 insertions(+), 143 deletions(-) 2052274261Sdelphij 2053215187Smmcommit f0fa880d247e73264d2c04fe31fb3412318a0026 2054215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2055274261SdelphijDate: 2010-10-12 15:13:30 +0300 2056215187Smm 2057215187Smm xz: Avoid raise() also on OpenVMS. 2058215187Smm 2059215187Smm This is similar to DOS/DJGPP that killing the program 2060215187Smm with a signal will print a backtrace or a similar message. 2061215187Smm 2062274261Sdelphij src/xz/signals.c | 2 +- 2063274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 2064274261Sdelphij 2065215187Smmcommit ac462b1c47c451f5c62e428306314c4bdad8ae7f 2066215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2067274261SdelphijDate: 2010-10-11 21:26:19 +0300 2068215187Smm 2069215187Smm xz: Avoid SA_RESTART for portability reasons. 2070215187Smm 2071215187Smm SA_RESTART is not as portable as I had hoped. It's missing 2072215187Smm at least from OpenVMS, QNX, and DJGPP). Luckily we can do 2073215187Smm fine without SA_RESTART. 2074215187Smm 2075274261Sdelphij src/xz/message.c | 38 +++++++++++++++----------------------- 2076274261Sdelphij src/xz/message.h | 4 ++++ 2077274261Sdelphij src/xz/signals.c | 6 ++++++ 2078274261Sdelphij 3 files changed, 25 insertions(+), 23 deletions(-) 2079274261Sdelphij 2080213700Smmcommit d52b411716a614c202e89ba732492efb9916cd3f 2081213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2082274261SdelphijDate: 2010-10-10 17:58:58 +0300 2083213700Smm 2084213700Smm xz: Use "%"PRIu32 instead of "%d" in a format string. 2085213700Smm 2086274261Sdelphij src/xz/message.c | 2 +- 2087274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 2088274261Sdelphij 2089213700Smmcommit ae74d1bdeb075c3beefe76e1136c5741804e7e91 2090213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2091274261SdelphijDate: 2010-10-10 17:43:26 +0300 2092213700Smm 2093213700Smm test_files.sh: Fix the first line. 2094213700Smm 2095213700Smm For some reason this prevented running the test only 2096213700Smm on OS/2 and even on that it broke only recently. 2097213700Smm 2098213700Smm Thanks to Elbert Pol. 2099213700Smm 2100274261Sdelphij tests/test_files.sh | 2 +- 2101274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 2102274261Sdelphij 2103213700Smmcommit d492b80ddd6f9a13419de6d102df7374d8f448e8 2104213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2105274261SdelphijDate: 2010-10-10 16:49:01 +0300 2106213700Smm 2107213700Smm lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t. 2108213700Smm 2109274261Sdelphij src/lzmainfo/lzmainfo.c | 2 +- 2110274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 2111274261Sdelphij 2112213700Smmcommit 825e859a9054bd91202e5723c41a17e72f63040a 2113213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2114274261SdelphijDate: 2010-10-10 16:47:01 +0300 2115213700Smm 2116213700Smm lzmainfo: Use fileno(stdin) instead of STDIN_FILENO. 2117213700Smm 2118274261Sdelphij src/lzmainfo/lzmainfo.c | 2 +- 2119274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 2120274261Sdelphij 2121213700Smmcommit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8 2122213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2123274261SdelphijDate: 2010-10-09 23:20:51 +0300 2124213700Smm 2125213700Smm lzmainfo: Use setmode() on DOS-like systems. 2126213700Smm 2127274261Sdelphij src/lzmainfo/lzmainfo.c | 9 +++++++++ 2128274261Sdelphij 1 file changed, 9 insertions(+) 2129274261Sdelphij 2130213700Smmcommit ef364d3abc5647111c5424ea0d83a567e184a23b 2131213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2132274261SdelphijDate: 2010-10-09 21:51:03 +0300 2133213700Smm 2134213700Smm OS/2 and DOS: Be less verbose on signals. 2135213700Smm 2136213700Smm Calling raise() to kill xz when user has pressed C-c 2137213700Smm is a bit verbose on OS/2 and DOS/DJGPP. Instead of 2138213700Smm calling raise(), set only the exit status to 1. 2139213700Smm 2140274261Sdelphij src/xz/signals.c | 7 +++++++ 2141274261Sdelphij 1 file changed, 7 insertions(+) 2142274261Sdelphij 2143213700Smmcommit 5629c4be07b6c67e79842b2569da1cedc9c0d69a 2144213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2145274261SdelphijDate: 2010-10-09 19:28:49 +0300 2146213700Smm 2147213700Smm DOS: Update the Makefile, config.h and README. 2148213700Smm 2149213700Smm This is now simpler and builds only xz.exe. 2150213700Smm 2151274261Sdelphij dos/Makefile | 211 +++++++++++++++-------------------------------------------- 2152274261Sdelphij dos/README | 73 +++++++-------------- 2153274261Sdelphij dos/config.h | 45 ++++--------- 2154274261Sdelphij 3 files changed, 86 insertions(+), 243 deletions(-) 2155274261Sdelphij 2156213700Smmcommit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac 2157213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2158274261SdelphijDate: 2010-10-09 18:57:55 +0300 2159213700Smm 2160213700Smm Windows: Put some license info into README-Windows.txt. 2161213700Smm 2162274261Sdelphij windows/README-Windows.txt | 8 ++++---- 2163274261Sdelphij 1 file changed, 4 insertions(+), 4 deletions(-) 2164274261Sdelphij 2165213700Smmcommit e75100f549f85d231df25c07aa94d63e78e2d668 2166213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2167274261SdelphijDate: 2010-10-09 18:57:04 +0300 2168213700Smm 2169213700Smm Windows: Fix a diagnostics bug in build.bash. 2170213700Smm 2171274261Sdelphij windows/build.bash | 2 +- 2172274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 2173274261Sdelphij 2174213700Smmcommit efeb998a2b1025df1c1d202cc7d21d866cd1c336 2175213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2176274261SdelphijDate: 2010-10-09 13:02:15 +0300 2177213700Smm 2178213700Smm lzmainfo: Add Windows resource file. 2179213700Smm 2180274261Sdelphij src/lzmainfo/Makefile.am | 9 +++++++++ 2181274261Sdelphij src/lzmainfo/lzmainfo_w32res.rc | 12 ++++++++++++ 2182274261Sdelphij 2 files changed, 21 insertions(+) 2183274261Sdelphij 2184213700Smmcommit 389d418445f1623593dfdbba55d52fbb6d1205f5 2185213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2186274261SdelphijDate: 2010-10-09 12:57:25 +0300 2187213700Smm 2188213700Smm Add missing public domain notice to lzmadec_w32res.rc. 2189213700Smm 2190274261Sdelphij src/xzdec/lzmadec_w32res.rc | 7 +++++++ 2191274261Sdelphij 1 file changed, 7 insertions(+) 2192274261Sdelphij 2193213700Smmcommit 6389c773a4912dd9f111256d74ba1605230a7957 2194213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2195274261SdelphijDate: 2010-10-09 12:52:12 +0300 2196213700Smm 2197213700Smm Windows: Update common_w32res.rc. 2198213700Smm 2199274261Sdelphij src/common/common_w32res.rc | 9 +++------ 2200274261Sdelphij 1 file changed, 3 insertions(+), 6 deletions(-) 2201274261Sdelphij 2202213700Smmcommit 71275457ca24c9b01721f5cfc3638cf094daf454 2203213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2204274261SdelphijDate: 2010-10-09 12:27:08 +0300 2205213700Smm 2206213700Smm Windows: Make build.bash prefer MinGW-w32 over MinGW. 2207213700Smm 2208213700Smm This is simply for licensing reasons. The 64-bit version 2209213700Smm will be built with MinGW-w64 anyway (at least for now), 2210213700Smm so using it also for 32-bit build allows using the same 2211213700Smm copyright notice about the MinGW-w64/w32 runtime. 2212213700Smm 2213213700Smm Note that using MinGW would require a copyright notice too, 2214213700Smm because its runtime is not in the public domain either even 2215213700Smm though MinGW's home page claims that it is public domain. 2216213700Smm See <http://marc.info/?l=mingw-users&m=126489506214078>. 2217213700Smm 2218274261Sdelphij windows/build.bash | 18 +++++++++--------- 2219274261Sdelphij 1 file changed, 9 insertions(+), 9 deletions(-) 2220274261Sdelphij 2221213700Smmcommit 3ac35719d8433af937af6491383d4a50e343099b 2222213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2223274261SdelphijDate: 2010-10-09 11:33:21 +0300 2224213700Smm 2225213700Smm Windows: Copy COPYING-Windows.txt (if it exists) to the package. 2226213700Smm 2227213700Smm Also, put README-Windows.txt to the doc directory like 2228213700Smm the other documentation files. 2229213700Smm 2230274261Sdelphij windows/build.bash | 14 ++++++++++++-- 2231274261Sdelphij 1 file changed, 12 insertions(+), 2 deletions(-) 2232274261Sdelphij 2233213700Smmcommit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae 2234213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2235274261SdelphijDate: 2010-10-08 21:42:37 +0300 2236213700Smm 2237213700Smm Windows: Fix build.bash again. 2238213700Smm 2239213700Smm 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good. 2240213700Smm 2241274261Sdelphij windows/build.bash | 7 ++++--- 2242274261Sdelphij 1 file changed, 4 insertions(+), 3 deletions(-) 2243274261Sdelphij 2244213700Smmcommit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd 2245213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2246274261SdelphijDate: 2010-10-08 16:53:20 +0300 2247213700Smm 2248213700Smm Use LZMA_VERSION_STRING instead of PACKAGE_VERSION. 2249213700Smm 2250213700Smm Those are the same thing, and the former makes it a bit 2251213700Smm easier to build the code with other build systems, because 2252213700Smm one doesn't need to update the version number into custom 2253213700Smm config.h. 2254213700Smm 2255213700Smm This change affects only lzmainfo. Other tools were already 2256213700Smm using LZMA_VERSION_STRING. 2257213700Smm 2258274261Sdelphij src/lzmainfo/lzmainfo.c | 2 +- 2259274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 2260274261Sdelphij 2261213700Smmcommit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f 2262213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2263274261SdelphijDate: 2010-10-08 15:59:25 +0300 2264213700Smm 2265213700Smm configure.ac: Remove two unused defines. 2266213700Smm 2267274261Sdelphij configure.ac | 4 ---- 2268274261Sdelphij 1 file changed, 4 deletions(-) 2269274261Sdelphij 2270213700Smmcommit 11f51b6714357cb67ec7e56ed9575c199b5581fe 2271213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2272274261SdelphijDate: 2010-10-08 15:32:29 +0300 2273213700Smm 2274213700Smm Make tests accommodate missing xz or xzdec. 2275213700Smm 2276274261Sdelphij tests/test_compress.sh | 47 ++++++++++++++++++++++++++++++----------------- 2277274261Sdelphij tests/test_files.sh | 28 ++++++++++++++++++++++++++-- 2278274261Sdelphij 2 files changed, 56 insertions(+), 19 deletions(-) 2279274261Sdelphij 2280213700Smmcommit b1c7368f95e93ccdefdd0748e04398c26766f47f 2281213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2282274261SdelphijDate: 2010-10-08 15:25:45 +0300 2283213700Smm 2284213700Smm Build: Add options to disable individual command line tools. 2285213700Smm 2286274261Sdelphij configure.ac | 38 ++++++++++++++++++++++++++++++ 2287274261Sdelphij src/Makefile.am | 15 +++++++++++- 2288274261Sdelphij src/scripts/Makefile.am | 62 +++++++++++++++++++++---------------------------- 2289274261Sdelphij src/xz/Makefile.am | 6 ++++- 2290274261Sdelphij src/xzdec/Makefile.am | 12 ++++++++-- 2291274261Sdelphij 5 files changed, 93 insertions(+), 40 deletions(-) 2292274261Sdelphij 2293213700Smmcommit 630a8beda34af0ac153c8051b1bf01230558e422 2294213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2295274261SdelphijDate: 2010-10-07 00:44:53 +0300 2296213700Smm 2297213700Smm Windows: Make build.bash work without --enable-dynamic=no. 2298213700Smm 2299274261Sdelphij windows/build.bash | 4 ++-- 2300274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 2301274261Sdelphij 2302213700Smmcommit f9907503f882a745dce9d84c2968f6c175ba966a 2303213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2304274261SdelphijDate: 2010-10-05 14:13:16 +0300 2305213700Smm 2306213700Smm Build: Remove the static/dynamic tricks. 2307213700Smm 2308213700Smm Most distros want xz linked against shared liblzma, so 2309213700Smm it doesn't help much to require --enable-dynamic for that. 2310213700Smm Those who want to avoid PIC on x86-32 to get better 2311213700Smm performance, can still do it e.g. by using --disable-shared 2312213700Smm to compile xz and then another pass to compile shared liblzma. 2313213700Smm 2314213700Smm Part of these static/dynamic tricks were needed for Windows 2315213700Smm in the past. Nowadays we rely on GCC and binutils to do the 2316213700Smm right thing with auto-import. If the Autotooled build system 2317213700Smm needs to support some other toolchain on Windows in the future, 2318213700Smm this may need some rethinking. 2319213700Smm 2320274261Sdelphij configure.ac | 74 ------------------------------------------------ 2321274261Sdelphij debug/Makefile.am | 5 +--- 2322274261Sdelphij src/lzmainfo/Makefile.am | 4 +-- 2323274261Sdelphij src/xz/Makefile.am | 4 +-- 2324274261Sdelphij src/xzdec/Makefile.am | 4 +-- 2325274261Sdelphij tests/Makefile.am | 5 +--- 2326274261Sdelphij 6 files changed, 5 insertions(+), 91 deletions(-) 2327274261Sdelphij 2328213700Smmcommit fda4724d8114fccfa31c1839c15479f350c2fb4c 2329213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2330274261SdelphijDate: 2010-10-05 12:18:58 +0300 2331213700Smm 2332213700Smm configure.ac: Silence a warning from Autoconf 2.68. 2333213700Smm 2334274261Sdelphij configure.ac | 2 +- 2335274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 2336274261Sdelphij 2337213700Smmcommit 80b5675fa62c87426fe86f8fcd20feeabc4361b9 2338213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2339274261SdelphijDate: 2010-10-04 19:43:01 +0300 2340213700Smm 2341213700Smm A few more languages files to the xz man page. 2342213700Smm 2343213700Smm Thanks to Jonathan Nieder. 2344213700Smm 2345274261Sdelphij src/xz/xz.1 | 45 ++++++++++++++++++++++++--------------------- 2346274261Sdelphij 1 file changed, 24 insertions(+), 21 deletions(-) 2347274261Sdelphij 2348213700Smmcommit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb 2349213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2350274261SdelphijDate: 2010-10-02 12:07:33 +0300 2351213700Smm 2352213700Smm Update the FAQ. 2353213700Smm 2354274261Sdelphij doc/faq.txt | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 2355274261Sdelphij 1 file changed, 100 insertions(+), 4 deletions(-) 2356274261Sdelphij 2357213700Smmcommit 61ae593661e8dc402394e84d567ca2044a51572b 2358213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2359274261SdelphijDate: 2010-10-02 11:38:20 +0300 2360213700Smm 2361213700Smm liblzma: Small fixes to comments in the API headers. 2362213700Smm 2363274261Sdelphij src/liblzma/api/lzma/lzma.h | 10 +++++++--- 2364274261Sdelphij 1 file changed, 7 insertions(+), 3 deletions(-) 2365274261Sdelphij 2366213700Smmcommit 9166682dc601fd42c1b9510572e3f917d18de504 2367213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2368274261SdelphijDate: 2010-09-28 11:40:12 +0300 2369213700Smm 2370213700Smm Create the PDF versions of the man pages better. 2371213700Smm 2372274261Sdelphij Makefile.am | 14 +++++++------ 2373274261Sdelphij build-aux/manconv.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2374274261Sdelphij 2 files changed, 66 insertions(+), 6 deletions(-) 2375274261Sdelphij 2376213700Smmcommit 17d3c61edd35de8fa884944fc70d1db86daa5dd8 2377213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2378274261SdelphijDate: 2010-09-28 10:59:53 +0300 2379213700Smm 2380213700Smm Move version.sh to build-aux. 2381213700Smm 2382274261Sdelphij Makefile.am | 4 ++-- 2383274261Sdelphij build-aux/version.sh | 24 ++++++++++++++++++++++++ 2384274261Sdelphij configure.ac | 2 +- 2385274261Sdelphij version.sh | 24 ------------------------ 2386274261Sdelphij windows/build.bash | 2 +- 2387274261Sdelphij 5 files changed, 28 insertions(+), 28 deletions(-) 2388274261Sdelphij 2389213700Smmcommit 84af9d8770451339a692e9b70f96cf56156a6069 2390213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2391274261SdelphijDate: 2010-09-28 10:53:02 +0300 2392213700Smm 2393213700Smm Update .gitignore. 2394213700Smm 2395274261Sdelphij .gitignore | 10 +++++++++- 2396274261Sdelphij 1 file changed, 9 insertions(+), 1 deletion(-) 2397274261Sdelphij 2398213700Smmcommit 31575a449ac64c523da3bab8d0c0b522cdc7c780 2399213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2400274261SdelphijDate: 2010-09-28 01:17:14 +0300 2401213700Smm 2402213700Smm Fix accomodate -> accommodate on the xz man page. 2403213700Smm 2404274261Sdelphij src/xz/xz.1 | 2 +- 2405274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 2406274261Sdelphij 2407213700Smmcommit cec0ddc8ec4ce81685a51998b978e22167e461f9 2408213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2409274261SdelphijDate: 2010-09-27 23:29:34 +0300 2410213700Smm 2411213700Smm Major man page updates. 2412213700Smm 2413213700Smm Lots of content was updated on the xz man page. 2414213700Smm 2415213700Smm Technical improvements: 2416213700Smm - Start a new sentence on a new line. 2417213700Smm - Use fairly short lines. 2418213700Smm - Use constant-width font for examples (where supported). 2419213700Smm - Some minor cleanups. 2420213700Smm 2421213700Smm Thanks to Jonathan Nieder for some language fixes. 2422213700Smm 2423274261Sdelphij src/lzmainfo/lzmainfo.1 | 25 +- 2424274261Sdelphij src/scripts/xzdiff.1 | 15 +- 2425274261Sdelphij src/scripts/xzgrep.1 | 11 +- 2426274261Sdelphij src/scripts/xzless.1 | 13 +- 2427274261Sdelphij src/scripts/xzmore.1 | 9 +- 2428274261Sdelphij src/xz/xz.1 | 1964 ++++++++++++++++++++++++++++++++--------------- 2429274261Sdelphij src/xzdec/xzdec.1 | 39 +- 2430274261Sdelphij 7 files changed, 1435 insertions(+), 641 deletions(-) 2431274261Sdelphij 2432213700Smmcommit 075257ab0416a0603be930082e31a5703e4ba345 2433213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2434274261SdelphijDate: 2010-09-26 18:10:31 +0300 2435213700Smm 2436213700Smm Fix the preset -3e. 2437213700Smm 2438213700Smm depth=0 was missing. 2439213700Smm 2440274261Sdelphij src/liblzma/lzma/lzma_encoder_presets.c | 1 + 2441274261Sdelphij 1 file changed, 1 insertion(+) 2442274261Sdelphij 2443213700Smmcommit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1 2444213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2445274261SdelphijDate: 2010-09-23 14:03:10 +0300 2446213700Smm 2447213700Smm Add translations.bash and translation notes to README. 2448213700Smm 2449213700Smm translations.bash prints some messages from xz, which 2450213700Smm hopefully makes it a bit easier to test translations. 2451213700Smm 2452274261Sdelphij README | 96 +++++++++++++++++++++++++++++++++++++++++++++-- 2453274261Sdelphij debug/translation.bash | 100 +++++++++++++++++++++++++++++++++++++++++++++++++ 2454274261Sdelphij 2 files changed, 192 insertions(+), 4 deletions(-) 2455274261Sdelphij 2456213700Smmcommit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23 2457213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2458274261SdelphijDate: 2010-09-17 22:14:30 +0300 2459213700Smm 2460213700Smm xz: Update the Czech translation. 2461213700Smm 2462213700Smm Thanks to Marek ��ernock��. 2463213700Smm 2464274261Sdelphij po/cs.po | 202 +++++++++++++++++++++++++++++++++++++++++---------------------- 2465274261Sdelphij 1 file changed, 131 insertions(+), 71 deletions(-) 2466274261Sdelphij 2467213700Smmcommit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6 2468213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2469274261SdelphijDate: 2010-09-16 23:40:41 +0300 2470213700Smm 2471213700Smm xz: Add Italian translation. 2472213700Smm 2473213700Smm Thanks to Milo Casagrande and Lorenzo De Liso. 2474213700Smm 2475274261Sdelphij THANKS | 2 + 2476274261Sdelphij po/LINGUAS | 1 + 2477274261Sdelphij po/it.po | 902 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2478274261Sdelphij 3 files changed, 905 insertions(+) 2479274261Sdelphij 2480213700Smmcommit 21088018554e2b0e02914205377ceb6e34a090bd 2481213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2482274261SdelphijDate: 2010-09-15 00:34:13 +0300 2483213700Smm 2484213700Smm xz: Edit a translators comment. 2485213700Smm 2486274261Sdelphij src/xz/list.c | 2 +- 2487274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 2488274261Sdelphij 2489213700Smmcommit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6 2490213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2491274261SdelphijDate: 2010-09-14 22:47:14 +0300 2492213700Smm 2493213700Smm xz: Add German translation. 2494213700Smm 2495213700Smm Thanks to Andre Noll. 2496213700Smm 2497274261Sdelphij THANKS | 1 + 2498274261Sdelphij po/LINGUAS | 1 + 2499274261Sdelphij po/de.po | 903 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2500274261Sdelphij 3 files changed, 905 insertions(+) 2501274261Sdelphij 2502213700Smmcommit e23ea74f3240e6b69683f9e69d1716e0f9e9092b 2503213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2504274261SdelphijDate: 2010-09-10 14:30:25 +0300 2505213700Smm 2506213700Smm Updated README. 2507213700Smm 2508274261Sdelphij README | 2 -- 2509274261Sdelphij 1 file changed, 2 deletions(-) 2510274261Sdelphij 2511213700Smmcommit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71 2512213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2513274261SdelphijDate: 2010-09-10 14:30:07 +0300 2514213700Smm 2515213700Smm Updated INSTALL. 2516213700Smm 2517274261Sdelphij INSTALL | 7 ++++--- 2518274261Sdelphij 1 file changed, 4 insertions(+), 3 deletions(-) 2519274261Sdelphij 2520213700Smmcommit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2 2521213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2522274261SdelphijDate: 2010-09-10 14:26:20 +0300 2523213700Smm 2524213700Smm Updated the git repository address in ChangeLog. 2525213700Smm 2526274261Sdelphij ChangeLog | 2 +- 2527274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 2528274261Sdelphij 2529213700Smmcommit a8760203f93a69bc39fd14520a6e9e7b7d70be06 2530213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2531274261SdelphijDate: 2010-09-10 14:09:33 +0300 2532213700Smm 2533213700Smm xz: Add a comment to translators about "literal context bits". 2534213700Smm 2535274261Sdelphij src/xz/message.c | 4 ++++ 2536274261Sdelphij 1 file changed, 4 insertions(+) 2537274261Sdelphij 2538213700Smmcommit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5 2539213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2540274261SdelphijDate: 2010-09-10 10:30:33 +0300 2541213700Smm 2542213700Smm xz: Multiple fixes. 2543213700Smm 2544213700Smm The code assumed that printing numbers with thousand separators 2545213700Smm and decimal points would always produce only US-ASCII characters. 2546213700Smm This was used for buffer sizes (with snprintf(), no overflows) 2547213700Smm and aligning columns of the progress indicator and --list. That 2548213700Smm assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so 2549213700Smm multibyte character support was added in this commit. The old 2550213700Smm way is used if the operating system doesn't have enough multibyte 2551213700Smm support (e.g. lacks wcwidth()). 2552213700Smm 2553213700Smm The sizes of buffers were increased to accomodate multibyte 2554213700Smm characters. I don't know how big they should be exactly, but 2555213700Smm they aren't used for anything critical, so it's not too bad. 2556213700Smm If they still aren't big enough, I hopefully get a bug report. 2557213700Smm snprintf() takes care of avoiding buffer overflows. 2558213700Smm 2559213700Smm Some static buffers were replaced with buffers allocated on 2560213700Smm stack. double_to_str() was removed. uint64_to_str() and 2561213700Smm uint64_to_nicestr() now share the static buffer and test 2562213700Smm for thousand separator support. 2563213700Smm 2564213700Smm Integrity check names "None" and "Unknown-N" (2 <= N <= 15) 2565213700Smm were marked to be translated. I had forgot these, plus they 2566213700Smm wouldn't have worked correctly anyway before this commit, 2567213700Smm because printing tables with multibyte strings didn't work. 2568213700Smm 2569213700Smm Thanks to Marek ��ernock�� for reporting the bug about 2570213700Smm misaligned table columns in --list output. 2571213700Smm 2572274261Sdelphij configure.ac | 1 + 2573274261Sdelphij m4/tuklib_mbstr.m4 | 30 ++++++ 2574274261Sdelphij src/common/tuklib_mbstr.h | 66 +++++++++++++ 2575274261Sdelphij src/common/tuklib_mbstr_fw.c | 31 ++++++ 2576274261Sdelphij src/common/tuklib_mbstr_width.c | 64 +++++++++++++ 2577274261Sdelphij src/xz/Makefile.am | 4 +- 2578274261Sdelphij src/xz/list.c | 205 +++++++++++++++++++++++++++------------- 2579274261Sdelphij src/xz/message.c | 56 +++++++---- 2580274261Sdelphij src/xz/message.h | 10 +- 2581274261Sdelphij src/xz/private.h | 1 + 2582274261Sdelphij src/xz/util.c | 136 +++++++++----------------- 2583274261Sdelphij src/xz/util.h | 7 -- 2584274261Sdelphij 12 files changed, 424 insertions(+), 187 deletions(-) 2585274261Sdelphij 2586213700Smmcommit 639f8e2af33cf8a184d59ba56b6df7c098679d61 2587213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2588274261SdelphijDate: 2010-09-08 08:49:22 +0300 2589213700Smm 2590213700Smm Update the Czech translation. 2591213700Smm 2592213700Smm Thanks to Marek ��ernock��. 2593213700Smm 2594274261Sdelphij po/cs.po | 655 +++++++++++++++++++++++++++++++++++++++++++-------------------- 2595274261Sdelphij 1 file changed, 454 insertions(+), 201 deletions(-) 2596274261Sdelphij 2597213700Smmcommit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7 2598213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2599274261SdelphijDate: 2010-09-07 12:31:40 +0300 2600213700Smm 2601213700Smm xz: Add a note to translators. 2602213700Smm 2603274261Sdelphij src/xz/hardware.c | 2 ++ 2604274261Sdelphij 1 file changed, 2 insertions(+) 2605274261Sdelphij 2606213700Smmcommit 77a7746616e555fc08028e883a56d06bf0088b81 2607213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2608274261SdelphijDate: 2010-09-07 10:42:13 +0300 2609213700Smm 2610213700Smm Fix use of N_() and ngettext(). 2611213700Smm 2612213700Smm I had somehow thought that N_() is usually used 2613213700Smm as shorthand for ngettext(). 2614213700Smm 2615213700Smm This also fixes a missing \n from a call to ngettext(). 2616213700Smm 2617274261Sdelphij src/common/tuklib_gettext.h | 4 ++-- 2618274261Sdelphij src/xz/list.c | 4 ++-- 2619274261Sdelphij 2 files changed, 4 insertions(+), 4 deletions(-) 2620274261Sdelphij 2621213700Smmcommit e6ad39335842343e622ab51207d1d3cb9caad801 2622213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2623274261SdelphijDate: 2010-09-06 19:43:12 +0300 2624213700Smm 2625213700Smm Add missing files to POTFILES.in. 2626213700Smm 2627274261Sdelphij po/POTFILES.in | 3 +++ 2628274261Sdelphij 1 file changed, 3 insertions(+) 2629274261Sdelphij 2630213700Smmcommit 58f55131820d2e08a1a6beb9ec0ee2378044eb30 2631213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2632274261SdelphijDate: 2010-09-06 10:16:24 +0300 2633213700Smm 2634213700Smm xz: Improve a comment. 2635213700Smm 2636274261Sdelphij src/xz/file_io.c | 7 ++++--- 2637274261Sdelphij 1 file changed, 4 insertions(+), 3 deletions(-) 2638274261Sdelphij 2639213700Smmcommit bcb1b898341f7073f51660d7052d7ed6c5461a66 2640213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2641274261SdelphijDate: 2010-09-05 21:34:29 +0300 2642213700Smm 2643213700Smm xz: Update the comment about NetBSD in file_io.c. 2644213700Smm 2645213700Smm Thanks to Joerg Sonnenberger. 2646213700Smm 2647274261Sdelphij src/xz/file_io.c | 8 ++++---- 2648274261Sdelphij 1 file changed, 4 insertions(+), 4 deletions(-) 2649274261Sdelphij 2650213700Smmcommit da014d55972f5addbf6b4360d3d8ed2ef4282170 2651213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2652274261SdelphijDate: 2010-09-05 21:11:33 +0300 2653213700Smm 2654213700Smm xz: Use an array instead of pointer for stdin_filename. 2655213700Smm 2656213700Smm Thanks Joerg Sonnenberger. 2657213700Smm 2658274261Sdelphij src/xz/args.c | 2 +- 2659274261Sdelphij src/xz/args.h | 2 +- 2660274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 2661274261Sdelphij 2662213700Smmcommit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee 2663213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2664274261SdelphijDate: 2010-09-05 12:16:17 +0300 2665213700Smm 2666213700Smm xz: Hopefully ease translating the messages in list.c. 2667213700Smm 2668274261Sdelphij src/xz/list.c | 33 +++++++++++++++++++++++---------- 2669274261Sdelphij 1 file changed, 23 insertions(+), 10 deletions(-) 2670274261Sdelphij 2671213700Smmcommit ef840950ad99cf2955c754875af0e01acf125079 2672213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2673274261SdelphijDate: 2010-09-04 23:14:44 +0300 2674213700Smm 2675213700Smm xz: Fix grammar. 2676213700Smm 2677274261Sdelphij src/xz/options.c | 3 +-- 2678274261Sdelphij 1 file changed, 1 insertion(+), 2 deletions(-) 2679274261Sdelphij 2680213700Smmcommit c46afd6edc04ea140db6c59e8486f5707c810c13 2681213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2682274261SdelphijDate: 2010-09-04 23:12:20 +0300 2683213700Smm 2684213700Smm xz: Use lzma_lzma_preset() to initialize the options structure. 2685213700Smm 2686274261Sdelphij src/xz/options.c | 14 ++------------ 2687274261Sdelphij 1 file changed, 2 insertions(+), 12 deletions(-) 2688274261Sdelphij 2689213700Smmcommit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065 2690213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2691274261SdelphijDate: 2010-09-04 22:16:28 +0300 2692213700Smm 2693213700Smm Don't set lc=4 with --extreme. 2694213700Smm 2695213700Smm This should reduce the cases where --extreme makes 2696213700Smm compression worse. On the other hand, some other 2697213700Smm files may now benefit slightly less from --extreme. 2698213700Smm 2699274261Sdelphij src/liblzma/lzma/lzma_encoder_presets.c | 1 - 2700274261Sdelphij 1 file changed, 1 deletion(-) 2701274261Sdelphij 2702213700Smmcommit 474bac0c33e94aeaca8ada17ab19972b1424bc2b 2703213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2704274261SdelphijDate: 2010-09-04 22:10:32 +0300 2705213700Smm 2706213700Smm xz: Minor improvements to --help and --long-help. 2707213700Smm 2708274261Sdelphij src/xz/message.c | 24 ++++++++++++------------ 2709274261Sdelphij 1 file changed, 12 insertions(+), 12 deletions(-) 2710274261Sdelphij 2711213700Smmcommit 373ee26f955617295c5c537b04a153a1969140d2 2712213700SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 2713274261SdelphijDate: 2010-09-03 16:49:15 -0500 2714213700Smm 2715213700Smm Adjust memory limits in test_compress.sh 2716213700Smm 2717213700Smm Testing compression at level -4 now requires 48 MiB of free store at 2718213700Smm compression time and 5 MiB at decompression time. 2719213700Smm 2720213700Smm Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 2721213700Smm 2722274261Sdelphij tests/test_compress.sh | 2 +- 2723274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 2724274261Sdelphij 2725213700Smmcommit 2fce9312f36727ea82f3430cc5d3a7d243c5f087 2726213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2727274261SdelphijDate: 2010-09-03 15:54:40 +0300 2728213700Smm 2729213700Smm xz: Make -vv show also decompressor memory usage. 2730213700Smm 2731274261Sdelphij src/xz/coder.c | 7 +++++++ 2732274261Sdelphij 1 file changed, 7 insertions(+) 2733274261Sdelphij 2734213700Smmcommit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6 2735213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2736274261SdelphijDate: 2010-09-03 15:13:12 +0300 2737213700Smm 2738213700Smm Tweak the compression presets -0 .. -5. 2739213700Smm 2740213700Smm "Extreme" mode might need some further tweaking still. 2741213700Smm Docs were not updated yet. 2742213700Smm 2743274261Sdelphij src/liblzma/lzma/lzma_encoder_presets.c | 29 +++++++++++++++++++---------- 2744274261Sdelphij 1 file changed, 19 insertions(+), 10 deletions(-) 2745274261Sdelphij 2746213700Smmcommit 77fe5954cd3d10fb1837372684cbc133b56b6a87 2747213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2748274261SdelphijDate: 2010-09-03 12:28:41 +0300 2749213700Smm 2750213700Smm liblzma: Adjust default depth calculation for HC3 and HC4. 2751213700Smm 2752213700Smm It was 8 + nice_len / 4, now it is 4 + nice_len / 4. 2753213700Smm This allows faster settings at lower nice_len values, 2754213700Smm even though it seems that I won't use automatic depth 2755213700Smm calcuation with HC3 and HC4 in the presets. 2756213700Smm 2757274261Sdelphij src/liblzma/lz/lz_encoder.c | 7 ++++--- 2758274261Sdelphij 1 file changed, 4 insertions(+), 3 deletions(-) 2759274261Sdelphij 2760213700Smmcommit fce69059cf901ce8075a78c7607d591f144a3b5a 2761213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2762274261SdelphijDate: 2010-09-03 11:11:25 +0300 2763213700Smm 2764213700Smm xz: Make --help two lines shorter. 2765213700Smm 2766213700Smm At least for now, the --help option doesn't list any 2767213700Smm options that take arguments, so "Mandatory arguments to..." 2768213700Smm can be omitted. 2769213700Smm 2770274261Sdelphij src/xz/message.c | 7 +++++-- 2771274261Sdelphij 1 file changed, 5 insertions(+), 2 deletions(-) 2772274261Sdelphij 2773213700Smmcommit a848e47ced6e5e2a564b5c454b2f5a19c2f40298 2774213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2775274261SdelphijDate: 2010-09-02 19:22:35 +0300 2776213700Smm 2777213700Smm xz: Make setting a preset override a custom filter chain. 2778213700Smm 2779213700Smm This is more logical behavior than ignoring preset level 2780213700Smm options once a custom filter chain has been specified. 2781213700Smm 2782274261Sdelphij src/xz/coder.c | 9 +++++++++ 2783274261Sdelphij 1 file changed, 9 insertions(+) 2784274261Sdelphij 2785213700Smmcommit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3 2786213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2787274261SdelphijDate: 2010-09-02 19:09:57 +0300 2788213700Smm 2789213700Smm xz: Always warn if adjusting dictionary size due to memlimit. 2790213700Smm 2791274261Sdelphij src/xz/coder.c | 28 +++++++++------------------- 2792274261Sdelphij 1 file changed, 9 insertions(+), 19 deletions(-) 2793274261Sdelphij 2794213700Smmcommit d5653ba8a1ea9c00de4fddc617aba3c51e18139d 2795213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2796274261SdelphijDate: 2010-08-10 11:04:30 +0300 2797213700Smm 2798213700Smm Fix test_compress.sh. 2799213700Smm 2800213700Smm It broke when --memory option was removed from xzdec. 2801213700Smm 2802213700Smm Thanks to Jonathan Nieder. 2803213700Smm 2804274261Sdelphij tests/test_compress.sh | 6 +++--- 2805274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 2806274261Sdelphij 2807213700Smmcommit 792331bdee706aa852a78b171040ebf814c6f3ae 2808213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2809274261SdelphijDate: 2010-08-07 20:45:18 +0300 2810213700Smm 2811213700Smm Disable the memory usage limiter by default. 2812213700Smm 2813213700Smm For several people, the limiter causes bigger problems that 2814213700Smm it solves, so it is better to have it disabled by default. 2815213700Smm Those who want to have a limiter by default need to enable 2816213700Smm it via the environment variable XZ_DEFAULTS. 2817213700Smm 2818213700Smm Support for environment variable XZ_DEFAULTS was added. It is 2819213700Smm parsed before XZ_OPT and technically identical with it. The 2820213700Smm intended uses differ quite a bit though; see the man page. 2821213700Smm 2822213700Smm The memory usage limit can now be set separately for 2823213700Smm compression and decompression using --memlimit-compress and 2824213700Smm --memlimit-decompress. To set both at once, -M or --memlimit 2825213700Smm can be used. --memory was retained as a legacy alias for 2826213700Smm --memlimit for backwards compatibility. 2827213700Smm 2828213700Smm The semantics of --info-memory were changed in backwards 2829213700Smm incompatible way. Compatibility wasn't meaningful due to 2830213700Smm changes in the memory usage limiter functionality. 2831213700Smm 2832213700Smm The memory usage limiter info is no longer shown at the 2833213700Smm bottom of xz --long -help. 2834213700Smm 2835213700Smm The memory usage limiter support for removed completely from xzdec. 2836213700Smm 2837213700Smm xz's man page was updated to match the above changes. Various 2838213700Smm unrelated fixes were also made to the man page. 2839213700Smm 2840274261Sdelphij src/xz/args.c | 87 +++++++++----- 2841274261Sdelphij src/xz/coder.c | 8 +- 2842274261Sdelphij src/xz/hardware.c | 96 +++++++++------ 2843274261Sdelphij src/xz/hardware.h | 23 ++-- 2844274261Sdelphij src/xz/list.c | 2 +- 2845274261Sdelphij src/xz/message.c | 39 ++----- 2846274261Sdelphij src/xz/message.h | 4 - 2847274261Sdelphij src/xz/xz.1 | 341 ++++++++++++++++++++++++++++++++++-------------------- 2848274261Sdelphij src/xzdec/xzdec.1 | 45 +------ 2849274261Sdelphij src/xzdec/xzdec.c | 176 +--------------------------- 2850274261Sdelphij 10 files changed, 373 insertions(+), 448 deletions(-) 2851274261Sdelphij 2852213700Smmcommit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801 2853213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2854274261SdelphijDate: 2010-08-06 20:22:16 +0300 2855213700Smm 2856213700Smm Add missing const to a global constant in xz. 2857213700Smm 2858274261Sdelphij src/xz/args.c | 2 +- 2859274261Sdelphij src/xz/args.h | 2 +- 2860274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 2861274261Sdelphij 2862213700Smmcommit 01aa4869cb220b7fdad6d1acbabb2233045daa8f 2863213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2864274261SdelphijDate: 2010-07-28 11:44:55 +0300 2865213700Smm 2866213700Smm Language fixes for man pages. 2867213700Smm 2868213700Smm Thanks to A. Costa and Jonathan Nieder. 2869213700Smm 2870274261Sdelphij src/lzmainfo/lzmainfo.1 | 4 ++-- 2871274261Sdelphij src/xz/xz.1 | 6 +++--- 2872274261Sdelphij 2 files changed, 5 insertions(+), 5 deletions(-) 2873274261Sdelphij 2874213700Smmcommit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b 2875213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2876274261SdelphijDate: 2010-07-27 20:47:12 +0300 2877213700Smm 2878213700Smm Windows: Add a note about building a Git repository snapshot 2879213700Smm 2880274261Sdelphij windows/INSTALL-Windows.txt | 9 +++++++++ 2881274261Sdelphij 1 file changed, 9 insertions(+) 2882274261Sdelphij 2883213700Smmcommit 507a4a4dea1e5462f12f7ed4b076c34e02054a38 2884213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2885274261SdelphijDate: 2010-07-27 20:45:03 +0300 2886213700Smm 2887213700Smm Windows: build.sh is a bash script so name it correctly. 2888213700Smm 2889274261Sdelphij INSTALL | 2 +- 2890274261Sdelphij windows/INSTALL-Windows.txt | 6 +- 2891274261Sdelphij windows/build.bash | 189 ++++++++++++++++++++++++++++++++++++++++++++ 2892274261Sdelphij windows/build.sh | 189 -------------------------------------------- 2893274261Sdelphij 4 files changed, 193 insertions(+), 193 deletions(-) 2894274261Sdelphij 2895213700Smmcommit b1cbfd40f049a646a639eb78a3e41e9e3ef73339 2896213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2897274261SdelphijDate: 2010-07-27 20:27:32 +0300 2898213700Smm 2899213700Smm Windows: Don't strip liblzma.a too much. 2900213700Smm 2901274261Sdelphij windows/build.sh | 3 ++- 2902274261Sdelphij 1 file changed, 2 insertions(+), 1 deletion(-) 2903274261Sdelphij 2904213700Smmcommit a540198ffb25fad36380c5e92ac20c2d28eec46a 2905213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2906274261SdelphijDate: 2010-07-13 20:07:26 +0300 2907213700Smm 2908213700Smm Updated THANKS. 2909213700Smm 2910274261Sdelphij THANKS | 1 + 2911274261Sdelphij 1 file changed, 1 insertion(+) 2912274261Sdelphij 2913213700Smmcommit bab0f01ed931f606b4675aa9f9331a17cec09bad 2914213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2915274261SdelphijDate: 2010-07-13 19:55:50 +0300 2916213700Smm 2917213700Smm Add two simple example programs. 2918213700Smm 2919213700Smm Hopefully these help a bit when learning the basics 2920213700Smm of liblzma API. I plan to write detailed examples about 2921213700Smm both basic and advanced features with lots of comments, 2922213700Smm but these two examples are good have right now. 2923213700Smm 2924213700Smm The examples were written by Daniel Mealha Cabrita. Thanks. 2925213700Smm 2926274261Sdelphij doc/examples/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++++++ 2927274261Sdelphij doc/examples/xz_pipe_decomp.c | 115 ++++++++++++++++++++++++++++++++++++++ 2928274261Sdelphij 2 files changed, 242 insertions(+) 2929274261Sdelphij 2930213700Smmcommit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00 2931213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2932274261SdelphijDate: 2010-06-15 14:06:29 +0300 2933213700Smm 2934213700Smm Add --no-adjust. 2935213700Smm 2936274261Sdelphij src/xz/args.c | 6 ++++++ 2937274261Sdelphij src/xz/coder.c | 8 ++------ 2938274261Sdelphij src/xz/coder.h | 4 ++++ 2939274261Sdelphij src/xz/message.c | 6 +++++- 2940274261Sdelphij src/xz/xz.1 | 13 +++++++++++-- 2941274261Sdelphij 5 files changed, 28 insertions(+), 9 deletions(-) 2942274261Sdelphij 2943213700Smmcommit 2130926dd1c839280358172dfadd8d3054bde2b4 2944213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2945274261SdelphijDate: 2010-06-11 21:51:32 +0300 2946213700Smm 2947213700Smm Updated THANKS. 2948213700Smm 2949274261Sdelphij THANKS | 1 + 2950274261Sdelphij 1 file changed, 1 insertion(+) 2951274261Sdelphij 2952213700Smmcommit bc612d0e0c9e4504c59d49168e87a7ae3e458443 2953213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2954274261SdelphijDate: 2010-06-11 21:48:32 +0300 2955213700Smm 2956213700Smm Clarify the description of the default memlimit in the man page. 2957213700Smm 2958213700Smm Thanks to Denis Excoffier. 2959213700Smm 2960274261Sdelphij src/xz/xz.1 | 4 ++-- 2961274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 2962274261Sdelphij 2963213700Smmcommit e1b6935d60a00405e6b5b455a3426d2248cc926c 2964213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2965274261SdelphijDate: 2010-06-11 21:43:28 +0300 2966213700Smm 2967213700Smm Fix string to uint64_t conversion. 2968213700Smm 2969213700Smm Thanks to Denis Excoffier for the bug report. 2970213700Smm 2971274261Sdelphij src/xz/util.c | 10 ++++++++-- 2972274261Sdelphij src/xzdec/xzdec.c | 13 +++++++++++-- 2973274261Sdelphij 2 files changed, 19 insertions(+), 4 deletions(-) 2974274261Sdelphij 2975213700Smmcommit 3e49c8acb0f5312948eddb2342dbb5802d4571d0 2976213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2977274261SdelphijDate: 2010-06-11 10:40:28 +0300 2978213700Smm 2979213700Smm Put the git commit to the filename in mydist rule. 2980213700Smm 2981274261Sdelphij Makefile.am | 6 +++++- 2982274261Sdelphij 1 file changed, 5 insertions(+), 1 deletion(-) 2983274261Sdelphij 2984213700Smmcommit d8b41eedce486d400f701b757b7b5e4e32276618 2985213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2986274261SdelphijDate: 2010-06-02 23:13:55 +0300 2987213700Smm 2988213700Smm Fix compiling with -Werror. 2989213700Smm 2990274261Sdelphij src/xz/message.c | 4 ++-- 2991274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 2992274261Sdelphij 2993213700Smmcommit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8 2994213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2995274261SdelphijDate: 2010-06-02 23:09:22 +0300 2996213700Smm 2997213700Smm Silence a bogus Valgrind warning. 2998213700Smm 2999213700Smm When using -O2 with GCC, it liked to swap two comparisons 3000213700Smm in one "if" statement. It's otherwise fine except that 3001213700Smm the latter part, which is seemingly never executed, got 3002213700Smm executed (nothing wrong with that) and then triggered 3003213700Smm warning in Valgrind about conditional jump depending on 3004213700Smm uninitialized variable. A few people find this annoying 3005213700Smm so do things a bit differently to avoid the warning. 3006213700Smm 3007274261Sdelphij src/liblzma/lz/lz_encoder.c | 6 +++++- 3008274261Sdelphij 1 file changed, 5 insertions(+), 1 deletion(-) 3009274261Sdelphij 3010213700Smmcommit 29a7b250e685852f2f97615493ec49acaf528623 3011213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3012274261SdelphijDate: 2010-06-02 21:32:12 +0300 3013213700Smm 3014213700Smm Fix a Windows-specific FIXME in signal handling code. 3015213700Smm 3016274261Sdelphij src/xz/main.c | 40 +++++++++++++++++++++++++++++++++++----- 3017274261Sdelphij src/xz/private.h | 5 +++++ 3018274261Sdelphij src/xz/signals.c | 16 ++++++++-------- 3019274261Sdelphij 3 files changed, 48 insertions(+), 13 deletions(-) 3020274261Sdelphij 3021213700Smmcommit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d 3022213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3023274261SdelphijDate: 2010-06-02 17:46:58 +0300 3024213700Smm 3025213700Smm Adjust SA_RESTART workaround. 3026213700Smm 3027213700Smm I want to get a bug report if something else than 3028213700Smm DJGPP lacks SA_RESTART. 3029213700Smm 3030274261Sdelphij src/xz/message.c | 14 +++++++------- 3031274261Sdelphij 1 file changed, 7 insertions(+), 7 deletions(-) 3032274261Sdelphij 3033213700Smmcommit e243145c84ab5c3be8259fd486ead0de5235b3f0 3034213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3035274261SdelphijDate: 2010-06-01 16:02:30 +0300 3036213700Smm 3037213700Smm xz man page updates. 3038213700Smm 3039213700Smm - Concatenating .xz files and padding 3040213700Smm - List mode 3041213700Smm - Robot mode 3042213700Smm - A few examples (but many more are needed) 3043213700Smm 3044274261Sdelphij src/xz/xz.1 | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 3045274261Sdelphij 1 file changed, 366 insertions(+), 19 deletions(-) 3046274261Sdelphij 3047213700Smmcommit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562 3048213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3049274261SdelphijDate: 2010-06-01 15:51:44 +0300 3050213700Smm 3051213700Smm Major update to xz --list. 3052213700Smm 3053274261Sdelphij src/xz/list.c | 652 ++++++++++++++++++++++++++++++++++++++++++---------------- 3054274261Sdelphij 1 file changed, 471 insertions(+), 181 deletions(-) 3055274261Sdelphij 3056213700Smmcommit 905e54804a899e4ad526d38fdba7e803ab9b71bd 3057213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3058274261SdelphijDate: 2010-06-01 14:13:03 +0300 3059213700Smm 3060213700Smm Rename message_filters_get() to message_filters_to_str(). 3061213700Smm 3062274261Sdelphij src/xz/message.c | 4 ++-- 3063274261Sdelphij src/xz/message.h | 2 +- 3064274261Sdelphij 2 files changed, 3 insertions(+), 3 deletions(-) 3065274261Sdelphij 3066213700Smmcommit 4b346ae8af20045027ae5efb068c6d69da3324d2 3067213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3068274261SdelphijDate: 2010-06-01 14:09:12 +0300 3069213700Smm 3070213700Smm Fix a comment. 3071213700Smm 3072274261Sdelphij src/liblzma/api/lzma/index.h | 2 +- 3073274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 3074274261Sdelphij 3075213700Smmcommit 07dc34f6da45c9ab757dad7fd5eef522ad27d296 3076213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3077274261SdelphijDate: 2010-05-27 16:17:42 +0300 3078213700Smm 3079213700Smm Fix lzma_block_compressed_size(). 3080213700Smm 3081274261Sdelphij src/liblzma/common/block_util.c | 6 +++--- 3082274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 3083274261Sdelphij 3084213700Smmcommit 44d70cb154225e47eebf15a3cfbdf3794cbb4593 3085213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3086274261SdelphijDate: 2010-05-27 14:32:51 +0300 3087213700Smm 3088213700Smm Take Cygwin into account in some #if lines. 3089213700Smm 3090213700Smm This change is no-op, but good to have just in case 3091213700Smm for the future. 3092213700Smm 3093274261Sdelphij src/xz/signals.c | 2 +- 3094274261Sdelphij src/xz/signals.h | 4 ++-- 3095274261Sdelphij 2 files changed, 3 insertions(+), 3 deletions(-) 3096274261Sdelphij 3097213700Smmcommit a334348dc02803241cf4e0a539eecdc0e7ad2cc7 3098213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3099274261SdelphijDate: 2010-05-27 13:42:44 +0300 3100213700Smm 3101213700Smm Remove references to the Subblock filter in xz and tests. 3102213700Smm 3103213700Smm Thanks to Jonathan Nieder. 3104213700Smm 3105274261Sdelphij src/xz/message.c | 9 --------- 3106274261Sdelphij tests/test_filter_flags.c | 23 ----------------------- 3107274261Sdelphij 2 files changed, 32 deletions(-) 3108274261Sdelphij 3109213700Smmcommit 70e5e2f6a7084e6af909deee88ceac2f6efa7893 3110213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3111274261SdelphijDate: 2010-05-27 13:35:36 +0300 3112213700Smm 3113213700Smm Remove unused chunk_size.c. 3114213700Smm 3115213700Smm Thanks to Jonathan Nieder for the reminder. 3116213700Smm 3117274261Sdelphij src/liblzma/common/chunk_size.c | 67 ----------------------------------------- 3118274261Sdelphij 1 file changed, 67 deletions(-) 3119274261Sdelphij 3120213700Smmcommit 01a414eaf4be6352c06b48001b041b47e8202faa 3121213700SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 3122274261SdelphijDate: 2010-05-27 02:31:33 -0500 3123213700Smm 3124213700Smm Use my_min() instead of MIN() in src/xz/list.c 3125213700Smm 3126213700Smm This should have been done in 3127213700Smm 920a69a8d8e4203c5edddd829d932130eac188ea. 3128213700Smm 3129274261Sdelphij src/xz/list.c | 2 +- 3130274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 3131274261Sdelphij 3132213700Smmcommit 920a69a8d8e4203c5edddd829d932130eac188ea 3133213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3134274261SdelphijDate: 2010-05-26 10:36:46 +0300 3135213700Smm 3136213700Smm Rename MIN() and MAX() to my_min() and my_max(). 3137213700Smm 3138213700Smm This should avoid some minor portability issues. 3139213700Smm 3140274261Sdelphij debug/full_flush.c | 2 +- 3141274261Sdelphij debug/sync_flush.c | 2 +- 3142274261Sdelphij src/common/sysdefs.h | 12 +++++------- 3143274261Sdelphij src/liblzma/common/block_buffer_encoder.c | 2 +- 3144274261Sdelphij src/liblzma/common/common.c | 2 +- 3145274261Sdelphij src/liblzma/common/stream_buffer_encoder.c | 2 +- 3146274261Sdelphij src/liblzma/delta/delta_encoder.c | 2 +- 3147274261Sdelphij src/liblzma/lz/lz_decoder.c | 7 ++++--- 3148274261Sdelphij src/liblzma/lz/lz_decoder.h | 2 +- 3149274261Sdelphij src/liblzma/lz/lz_encoder.c | 2 +- 3150274261Sdelphij src/liblzma/lz/lz_encoder.h | 2 +- 3151274261Sdelphij src/liblzma/lz/lz_encoder_mf.c | 4 ++-- 3152274261Sdelphij src/liblzma/lzma/lzma2_encoder.c | 2 +- 3153274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 3154274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_normal.c | 14 +++++++------- 3155274261Sdelphij src/xz/args.c | 3 ++- 3156274261Sdelphij 16 files changed, 31 insertions(+), 31 deletions(-) 3157274261Sdelphij 3158213700Smmcommit 019ae27c24d0c694545a6a46f8b9fb552198b015 3159213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3160274261SdelphijDate: 2010-05-26 10:30:20 +0300 3161213700Smm 3162213700Smm Fix compilation of debug/known_sizes.c. 3163213700Smm 3164274261Sdelphij debug/known_sizes.c | 2 +- 3165274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 3166274261Sdelphij 3167213700Smmcommit 98a4856a6ea84f79c790057a6eb89a25bc45b074 3168213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3169274261SdelphijDate: 2010-05-26 10:28:54 +0300 3170213700Smm 3171213700Smm Remove references to Subblock filter in debug/sync_flush.c. 3172213700Smm 3173274261Sdelphij debug/sync_flush.c | 13 ------------- 3174274261Sdelphij 1 file changed, 13 deletions(-) 3175274261Sdelphij 3176213700Smmcommit 703d2c33c095c41ae0693ee8c27c45e3847e4535 3177213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3178274261SdelphijDate: 2010-05-26 10:16:57 +0300 3179213700Smm 3180213700Smm Better #error message. 3181213700Smm 3182274261Sdelphij src/common/sysdefs.h | 4 ++-- 3183274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 3184274261Sdelphij 3185213700Smmcommit d8a55c48b39703dd83f11089ad01e1ff2ac102e0 3186213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3187274261SdelphijDate: 2010-05-26 09:55:47 +0300 3188213700Smm 3189213700Smm Remove the Subblock filter code for now. 3190213700Smm 3191213700Smm The spec isn't finished and the code didn't compile anymore. 3192213700Smm It won't be included in XZ Utils 5.0.0. It's easy to get it 3193213700Smm back once the spec is done. 3194213700Smm 3195274261Sdelphij configure.ac | 6 +- 3196274261Sdelphij src/liblzma/Makefile.am | 5 - 3197274261Sdelphij src/liblzma/api/Makefile.am | 1 - 3198274261Sdelphij src/liblzma/api/lzma.h | 1 - 3199274261Sdelphij src/liblzma/api/lzma/subblock.h | 200 ----- 3200274261Sdelphij src/liblzma/common/common.h | 6 - 3201274261Sdelphij src/liblzma/common/filter_common.c | 9 - 3202274261Sdelphij src/liblzma/common/filter_decoder.c | 16 - 3203274261Sdelphij src/liblzma/common/filter_encoder.c | 12 - 3204274261Sdelphij src/liblzma/subblock/Makefile.inc | 20 - 3205274261Sdelphij src/liblzma/subblock/subblock_decoder.c | 630 ---------------- 3206274261Sdelphij src/liblzma/subblock/subblock_decoder.h | 22 - 3207274261Sdelphij src/liblzma/subblock/subblock_decoder_helper.c | 70 -- 3208274261Sdelphij src/liblzma/subblock/subblock_decoder_helper.h | 29 - 3209274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 984 ------------------------- 3210274261Sdelphij src/liblzma/subblock/subblock_encoder.h | 21 - 3211274261Sdelphij src/xz/args.c | 9 +- 3212274261Sdelphij src/xz/options.c | 61 -- 3213274261Sdelphij src/xz/options.h | 7 - 3214274261Sdelphij 19 files changed, 4 insertions(+), 2105 deletions(-) 3215274261Sdelphij 3216213700Smmcommit b6377fc990f9b8651149cae0fecb8b9c5904e26d 3217213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3218274261SdelphijDate: 2010-05-16 18:42:22 +0300 3219213700Smm 3220213700Smm Split message_filters(). 3221213700Smm 3222213700Smm message_filters_to_str() converts the filter chain to 3223213700Smm a string. message_filters_show() replaces the original 3224213700Smm message_filters(). 3225213700Smm 3226213700Smm uint32_to_optstr() was also added to show the dictionary 3227213700Smm size in nicer format when possible. 3228213700Smm 3229274261Sdelphij src/xz/coder.c | 2 +- 3230274261Sdelphij src/xz/message.c | 187 +++++++++++++++++++++++++++++++++++-------------------- 3231274261Sdelphij src/xz/message.h | 14 ++++- 3232274261Sdelphij 3 files changed, 134 insertions(+), 69 deletions(-) 3233274261Sdelphij 3234213700Smmcommit d9986db782d6cf0f314342127280519339378fa0 3235213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3236274261SdelphijDate: 2010-05-14 23:17:20 +0300 3237213700Smm 3238213700Smm Omit lzma_restrict from the API headers. 3239213700Smm 3240213700Smm It isn't really useful so omitting it makes things 3241213700Smm shorter and slightly more readable. 3242213700Smm 3243274261Sdelphij src/liblzma/api/lzma.h | 12 ------------ 3244274261Sdelphij src/liblzma/api/lzma/index.h | 5 ++--- 3245274261Sdelphij src/liblzma/api/lzma/vli.h | 11 +++++------ 3246274261Sdelphij 3 files changed, 7 insertions(+), 21 deletions(-) 3247274261Sdelphij 3248213700Smmcommit 0d3489efca0a723dca0394809fa3e6170843af4b 3249213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3250274261SdelphijDate: 2010-05-10 19:57:24 +0300 3251213700Smm 3252213700Smm Updated INSTALL. 3253213700Smm 3254274261Sdelphij INSTALL | 5 ----- 3255274261Sdelphij 1 file changed, 5 deletions(-) 3256274261Sdelphij 3257213700Smmcommit 3fb3d594a2b53886adee161b6261e92277f05f7c 3258213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3259274261SdelphijDate: 2010-05-10 19:54:52 +0300 3260213700Smm 3261213700Smm Updated THANKS. 3262213700Smm 3263274261Sdelphij THANKS | 1 + 3264274261Sdelphij 1 file changed, 1 insertion(+) 3265274261Sdelphij 3266213700Smmcommit 6548e304657e77d3a972053db3c41c5daf591113 3267213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3268274261SdelphijDate: 2010-05-10 19:54:15 +0300 3269213700Smm 3270213700Smm Updates to tuklib_physmem and tuklib_cpucores. 3271213700Smm 3272213700Smm Don't use #error to generate compile error, because some 3273213700Smm compilers actually don't take it as an error. This fixes 3274213700Smm tuklib_physmem on IRIX. 3275213700Smm 3276213700Smm Fix incorrect error check for sysconf() return values. 3277213700Smm 3278213700Smm Add AIX, HP-UX, and Tru64 specific code to detect the 3279213700Smm amount RAM. 3280213700Smm 3281213700Smm Add HP-UX specific code to detect the number of CPU cores. 3282213700Smm 3283213700Smm Thanks a lot to Peter O'Gorman for initial patches, 3284213700Smm testing, and debugging these fixes. 3285213700Smm 3286274261Sdelphij m4/tuklib_cpucores.m4 | 33 ++++++++++++++++---- 3287274261Sdelphij m4/tuklib_physmem.m4 | 72 ++++++++++++++++++++++++++++++++++++++++++-- 3288274261Sdelphij src/common/tuklib_cpucores.c | 14 +++++++-- 3289274261Sdelphij src/common/tuklib_physmem.c | 33 +++++++++++++++++++- 3290274261Sdelphij 4 files changed, 141 insertions(+), 11 deletions(-) 3291274261Sdelphij 3292207753Smmcommit a290cfee3e23f046889c022aa96b4eca2016fdda 3293207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3294274261SdelphijDate: 2010-04-12 21:55:56 +0300 3295207753Smm 3296207753Smm Show both elapsed time and estimated remaining time in xz -v. 3297207753Smm 3298207753Smm The extra space for showing both has been taken from the 3299207753Smm sizes field. If the sizes grow big, bigger units than MiB 3300207753Smm will be used. It makes it slightly difficult to see that 3301207753Smm progress is still happening with huge files, but it should 3302207753Smm be OK in practice. 3303207753Smm 3304207753Smm Thanks to Trent W. Buck for <http://bugs.debian.org/574583> 3305207753Smm and Jonathan Nieder for suggestions how to fix it. 3306207753Smm 3307274261Sdelphij THANKS | 1 + 3308274261Sdelphij src/xz/message.c | 86 +++++++++++++++++++++++++------------------------------- 3309274261Sdelphij 2 files changed, 39 insertions(+), 48 deletions(-) 3310274261Sdelphij 3311207753Smmcommit a1f7a986b8d708f9290da9799ca1b8d7082fad3e 3312207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3313274261SdelphijDate: 2010-03-31 16:47:25 +0300 3314207753Smm 3315207753Smm Add a simple tip to faq.txt about tar and xz. 3316207753Smm 3317207753Smm Thanks to Gilles Espinasse. 3318207753Smm 3319274261Sdelphij THANKS | 1 + 3320274261Sdelphij doc/faq.txt | 6 ++++++ 3321274261Sdelphij 2 files changed, 7 insertions(+) 3322274261Sdelphij 3323207753Smmcommit c737eec91d200d730aa82662affd6b06ebb0bff0 3324207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3325274261SdelphijDate: 2010-03-22 21:03:03 +0200 3326207753Smm 3327207753Smm Updated THANKS. 3328207753Smm 3329274261Sdelphij THANKS | 1 + 3330274261Sdelphij 1 file changed, 1 insertion(+) 3331274261Sdelphij 3332207753Smmcommit f4b2b52624b802c786e4e2a8eb6895794dd93b24 3333207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3334274261SdelphijDate: 2010-03-07 19:52:25 +0200 3335207753Smm 3336207753Smm Fix xzgrep to not break if filenames have spaces or quotes. 3337207753Smm 3338207753Smm Thanks to someone who reported the bug on IRC. 3339207753Smm 3340274261Sdelphij src/scripts/xzgrep.in | 2 +- 3341274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 3342274261Sdelphij 3343207753Smmcommit cf38da00a140bd3bd65b192390ae5553380fd774 3344207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3345274261SdelphijDate: 2010-03-07 13:59:32 +0200 3346207753Smm 3347207753Smm Treat all integer multiplier suffixes as base-2. 3348207753Smm 3349207753Smm Originally both base-2 and base-10 were supported, but since 3350207753Smm there seems to be little need for base-10 in XZ Utils, treat 3351207753Smm everything as base-2 and also be more relaxed about the case 3352207753Smm of the first letter of the suffix. Now xz will accept e.g. 3353207753Smm KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The 3354207753Smm recommended spelling of the suffixes are still KiB, MiB, and GiB. 3355207753Smm 3356274261Sdelphij src/xz/util.c | 53 +++++++++++++++++++++++------------------------------ 3357274261Sdelphij src/xz/xz.1 | 48 ++++++++++++++++++++++++++++-------------------- 3358274261Sdelphij src/xzdec/xzdec.c | 42 ++++++++++++++++-------------------------- 3359274261Sdelphij 3 files changed, 67 insertions(+), 76 deletions(-) 3360274261Sdelphij 3361207753Smmcommit 00fc1211ae7b687ac912098f4479112059deccbd 3362207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3363274261SdelphijDate: 2010-03-07 13:50:23 +0200 3364207753Smm 3365207753Smm Consistently round up the memory usage limit in messages. 3366207753Smm 3367207753Smm It still feels a bit wrong to round 1 byte to 1 MiB but 3368207753Smm at least it is now done consistently so that the same 3369207753Smm byte value is always rounded the same way to MiB. 3370207753Smm 3371274261Sdelphij src/xz/message.c | 5 +++-- 3372274261Sdelphij src/xzdec/xzdec.c | 7 +++++-- 3373274261Sdelphij 2 files changed, 8 insertions(+), 4 deletions(-) 3374274261Sdelphij 3375207753Smmcommit 9886d436ff5615fc70eef32ff757b1e934069621 3376207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3377274261SdelphijDate: 2010-03-07 13:34:34 +0200 3378207753Smm 3379207753Smm Change the default of --enable-assume-ram from 32 to 128 MiB. 3380207753Smm 3381207753Smm This is to allow files created with "xz -9" to be decompressed 3382207753Smm if the amount of RAM cannot be determined. 3383207753Smm 3384274261Sdelphij INSTALL | 5 ++--- 3385274261Sdelphij configure.ac | 11 ++++++----- 3386274261Sdelphij 2 files changed, 8 insertions(+), 8 deletions(-) 3387274261Sdelphij 3388207753Smmcommit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418 3389207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3390274261SdelphijDate: 2010-03-07 13:29:28 +0200 3391207753Smm 3392207753Smm Increase the default memory usage limit on "low-memory" systems. 3393207753Smm 3394207753Smm Previously the default limit was always 40 % of RAM. The 3395207753Smm new limit is a little bit more complex: 3396207753Smm 3397207753Smm - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used 3398207753Smm as the limit. 3399207753Smm 3400207753Smm - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit. 3401207753Smm 3402207753Smm - Otherwise 80 % of RAM is used as the limit. 3403207753Smm 3404207753Smm This should make it possible to decompress files created with 3405207753Smm "xz -9" on more systems. Swapping is generally more expected 3406207753Smm on systems with less RAM, so higher default limit on them 3407207753Smm shouldn't cause too bad surprises in terms of heavy swapping. 3408207753Smm Instead, the higher default limit should reduce the number of 3409207753Smm bad surprises when it used to prevent decompression of files 3410207753Smm created with "xz -9". The DoS prevention system shouldn't be 3411207753Smm a DoS itself. 3412207753Smm 3413207753Smm Note that even with the new default limit, a system with 64 MiB 3414207753Smm RAM cannot decompress files created with "xz -9" without user 3415207753Smm overriding the limit. This should be OK, because if xz is going 3416207753Smm to need more memory than the system has RAM, it will run very 3417207753Smm very slowly and thus it's good that user has to override the limit 3418207753Smm in that case. 3419207753Smm 3420274261Sdelphij src/xz/hardware.c | 43 +++++++++++++++++++++++++++++++------------ 3421274261Sdelphij src/xz/xz.1 | 21 +++++++++++++++------ 3422274261Sdelphij src/xzdec/xzdec.1 | 8 ++++---- 3423274261Sdelphij src/xzdec/xzdec.c | 42 ++++++++++++++++++++++++++++++------------ 3424274261Sdelphij 4 files changed, 80 insertions(+), 34 deletions(-) 3425274261Sdelphij 3426207753Smmcommit 5527b7269a997e7f335d60f237a64bbf225d9dc7 3427207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3428274261SdelphijDate: 2010-03-06 21:36:19 +0200 3429207753Smm 3430207753Smm Updated THANKS. 3431207753Smm 3432274261Sdelphij THANKS | 1 + 3433274261Sdelphij 1 file changed, 1 insertion(+) 3434274261Sdelphij 3435207753Smmcommit d0d1c51aea4351288a7e533cce28cb7f852f6b05 3436207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3437274261SdelphijDate: 2010-03-06 21:17:20 +0200 3438207753Smm 3439207753Smm Fix missing initialization in lzma_strm_init(). 3440207753Smm 3441207753Smm With bad luck, lzma_code() could return LZMA_BUF_ERROR 3442207753Smm when it shouldn't. 3443207753Smm 3444207753Smm This has been here since the early days of liblzma. 3445207753Smm It got triggered by the modifications made to the xz 3446207753Smm tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f 3447207753Smm but only when decompressing .lzma files. Somehow I managed 3448207753Smm to miss testing that with Valgrind earlier. 3449207753Smm 3450207753Smm This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>. 3451207753Smm Thanks to Rafa�� Mu��y��o for helping to debug it on IRC. 3452207753Smm 3453274261Sdelphij src/liblzma/common/common.c | 1 + 3454274261Sdelphij 1 file changed, 1 insertion(+) 3455274261Sdelphij 3456207753Smmcommit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea 3457207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3458274261SdelphijDate: 2010-02-12 13:16:15 +0200 3459207753Smm 3460207753Smm Collection of language fixes to comments and docs. 3461207753Smm 3462207753Smm Thanks to Jonathan Nieder. 3463207753Smm 3464274261Sdelphij README | 2 +- 3465274261Sdelphij configure.ac | 2 +- 3466274261Sdelphij doc/faq.txt | 2 +- 3467274261Sdelphij extra/7z2lzma/7z2lzma.bash | 2 +- 3468274261Sdelphij src/common/tuklib_progname.c | 2 +- 3469274261Sdelphij src/common/tuklib_progname.h | 2 +- 3470274261Sdelphij src/liblzma/api/lzma/base.h | 8 ++++---- 3471274261Sdelphij src/liblzma/api/lzma/bcj.h | 2 +- 3472274261Sdelphij src/liblzma/api/lzma/block.h | 2 +- 3473274261Sdelphij src/liblzma/api/lzma/check.h | 2 +- 3474274261Sdelphij src/liblzma/api/lzma/filter.h | 4 ++-- 3475274261Sdelphij src/liblzma/api/lzma/index.h | 6 +++--- 3476274261Sdelphij src/liblzma/api/lzma/lzma.h | 2 +- 3477274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 3478274261Sdelphij src/liblzma/api/lzma/vli.h | 2 +- 3479274261Sdelphij src/liblzma/common/block_header_encoder.c | 2 +- 3480274261Sdelphij src/liblzma/common/chunk_size.c | 4 ++-- 3481274261Sdelphij src/liblzma/common/common.h | 4 ++-- 3482274261Sdelphij src/liblzma/common/filter_buffer_decoder.c | 2 +- 3483274261Sdelphij src/liblzma/common/filter_encoder.c | 4 ++-- 3484274261Sdelphij src/liblzma/common/index.c | 6 +++--- 3485274261Sdelphij src/liblzma/common/index_encoder.c | 2 +- 3486274261Sdelphij src/liblzma/common/stream_encoder.c | 2 +- 3487274261Sdelphij src/liblzma/common/vli_decoder.c | 2 +- 3488274261Sdelphij src/liblzma/lz/lz_encoder.c | 2 +- 3489274261Sdelphij src/liblzma/lz/lz_encoder.h | 2 +- 3490274261Sdelphij src/liblzma/lzma/lzma2_encoder.c | 2 +- 3491274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 4 ++-- 3492274261Sdelphij src/liblzma/lzma/lzma_decoder.h | 2 +- 3493274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 3494274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +- 3495274261Sdelphij src/liblzma/lzma/lzma_encoder_private.h | 2 +- 3496274261Sdelphij src/liblzma/simple/simple_coder.c | 2 +- 3497274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 2 +- 3498274261Sdelphij src/scripts/xzdiff.1 | 2 +- 3499274261Sdelphij src/scripts/xzless.1 | 10 +++++----- 3500274261Sdelphij src/xz/coder.c | 2 +- 3501274261Sdelphij src/xz/file_io.c | 2 +- 3502274261Sdelphij src/xz/main.c | 6 +++--- 3503274261Sdelphij src/xz/main.h | 2 +- 3504274261Sdelphij src/xz/message.c | 10 +++++----- 3505274261Sdelphij src/xz/message.h | 2 +- 3506274261Sdelphij src/xz/xz.1 | 16 ++++++++-------- 3507274261Sdelphij src/xzdec/lzmadec_w32res.rc | 2 +- 3508274261Sdelphij src/xzdec/xzdec_w32res.rc | 2 +- 3509274261Sdelphij tests/test_index.c | 2 +- 3510274261Sdelphij windows/build.sh | 4 ++-- 3511274261Sdelphij 47 files changed, 77 insertions(+), 77 deletions(-) 3512274261Sdelphij 3513207753Smmcommit 4785f2021aa6a23f1caf724fcc823e562584f225 3514207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3515274261SdelphijDate: 2010-02-12 12:41:20 +0200 3516207753Smm 3517207753Smm Fix jl -> jb in ASM files. 3518207753Smm 3519274261Sdelphij src/liblzma/check/crc32_x86.S | 2 +- 3520274261Sdelphij src/liblzma/check/crc64_x86.S | 4 ++-- 3521274261Sdelphij 2 files changed, 3 insertions(+), 3 deletions(-) 3522274261Sdelphij 3523207753Smmcommit 6b50c9429bf85521d355adc61745d06ee017f8c8 3524207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3525274261SdelphijDate: 2010-02-12 12:31:22 +0200 3526207753Smm 3527207753Smm Use __APPLE__ instead of __MACH__ in ASM files. 3528207753Smm 3529207753Smm This allows the files to work on HURD. 3530207753Smm 3531207753Smm Thanks to Jonathan Nieder. 3532207753Smm 3533274261Sdelphij src/liblzma/check/crc32_x86.S | 8 ++++---- 3534274261Sdelphij src/liblzma/check/crc64_x86.S | 8 ++++---- 3535274261Sdelphij 2 files changed, 8 insertions(+), 8 deletions(-) 3536274261Sdelphij 3537207753Smmcommit 6503fde658a5cdbdd907a788865470dd64771601 3538207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3539274261SdelphijDate: 2010-02-07 19:48:06 +0200 3540207753Smm 3541207753Smm Subtle change to liblzma Block handling API. 3542207753Smm 3543207753Smm lzma_block.version has to be initialized even for 3544207753Smm lzma_block_header_decode(). This way a future version 3545207753Smm of liblzma won't allocate memory in a way that an old 3546207753Smm application doesn't know how to free it. 3547207753Smm 3548207753Smm The subtlety of this change is that all current apps 3549207753Smm using lzma_block_header_decode() will keep working for 3550207753Smm now, because the only possible version value is zero, 3551207753Smm and lzma_block_header_decode() unconditionally sets the 3552207753Smm version to zero even now. Unless fixed, these apps will 3553207753Smm break in the future if a new version of the Block options 3554207753Smm is ever needed. 3555207753Smm 3556274261Sdelphij src/liblzma/api/lzma/block.h | 39 ++++++++++++++++--------------------- 3557274261Sdelphij src/liblzma/common/stream_decoder.c | 3 +++ 3558274261Sdelphij 2 files changed, 20 insertions(+), 22 deletions(-) 3559274261Sdelphij 3560207753Smmcommit dd7c3841ff78cb94ce02b0220c6e4748460970f7 3561207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3562274261SdelphijDate: 2010-02-02 11:50:11 +0200 3563207753Smm 3564207753Smm Fix wrong assertion. 3565207753Smm 3566207753Smm This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735. 3567207753Smm 3568274261Sdelphij src/xz/main.c | 5 +++-- 3569274261Sdelphij 1 file changed, 3 insertions(+), 2 deletions(-) 3570274261Sdelphij 3571207753Smmcommit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be 3572207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3573274261SdelphijDate: 2010-02-01 22:48:42 +0200 3574207753Smm 3575207753Smm Updated TODO. 3576207753Smm 3577274261Sdelphij TODO | 4 ---- 3578274261Sdelphij 1 file changed, 4 deletions(-) 3579274261Sdelphij 3580207753Smmcommit fef6333f52c8801308c3b78acb7942988541d137 3581207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3582274261SdelphijDate: 2010-02-01 22:47:54 +0200 3583207753Smm 3584207753Smm Fix typos in comments. 3585207753Smm 3586274261Sdelphij src/xz/list.c | 2 +- 3587274261Sdelphij windows/build.sh | 2 +- 3588274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 3589274261Sdelphij 3590207753Smmcommit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735 3591207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3592274261SdelphijDate: 2010-02-01 22:46:56 +0200 3593207753Smm 3594207753Smm Fix signal handling for --list. 3595207753Smm 3596274261Sdelphij src/xz/main.c | 19 ++++++++++++++----- 3597274261Sdelphij 1 file changed, 14 insertions(+), 5 deletions(-) 3598274261Sdelphij 3599207753Smmcommit 82220a149015616f75641ee8bbea415137535b9b 3600207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3601274261SdelphijDate: 2010-02-01 11:44:45 +0200 3602207753Smm 3603207753Smm Fix compression of symlinks with --force. 3604207753Smm 3605207753Smm xz --force accepted symlinks, but didn't remove 3606207753Smm them after successful compression. Instead, an error 3607207753Smm message was displayed. 3608207753Smm 3609274261Sdelphij src/xz/file_io.c | 14 +++++++++++++- 3610274261Sdelphij 1 file changed, 13 insertions(+), 1 deletion(-) 3611274261Sdelphij 3612207753Smmcommit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e 3613207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3614274261SdelphijDate: 2010-02-01 10:20:57 +0200 3615207753Smm 3616207753Smm Fix a comment. 3617207753Smm 3618274261Sdelphij windows/build.sh | 5 ++--- 3619274261Sdelphij 1 file changed, 2 insertions(+), 3 deletions(-) 3620274261Sdelphij 3621207753Smmcommit f9dd797a423a148903cf345b4146cb1fe1eab11d 3622207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3623274261SdelphijDate: 2010-01-31 23:43:54 +0200 3624207753Smm 3625207753Smm Updated THANKS. 3626207753Smm 3627274261Sdelphij THANKS | 1 + 3628274261Sdelphij 1 file changed, 1 insertion(+) 3629274261Sdelphij 3630207753Smmcommit ee5ddb8b28419fe4923ded5c18a50570a762dcab 3631207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3632274261SdelphijDate: 2010-01-31 23:41:29 +0200 3633207753Smm 3634207753Smm Updated TODO. 3635207753Smm 3636274261Sdelphij TODO | 17 +++++++++++------ 3637274261Sdelphij 1 file changed, 11 insertions(+), 6 deletions(-) 3638274261Sdelphij 3639207753Smmcommit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6 3640207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3641274261SdelphijDate: 2010-01-31 23:35:04 +0200 3642207753Smm 3643207753Smm Mention TODO in README. 3644207753Smm 3645274261Sdelphij README | 1 + 3646274261Sdelphij 1 file changed, 1 insertion(+) 3647274261Sdelphij 3648207753Smmcommit 2901a8e7e82af05675b8cd8758a8ceddb111359f 3649207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3650274261SdelphijDate: 2010-01-31 23:31:14 +0200 3651207753Smm 3652207753Smm Updated INSTALL. 3653207753Smm 3654274261Sdelphij INSTALL | 52 ++++++++++++++++++++++++++-------------------------- 3655274261Sdelphij 1 file changed, 26 insertions(+), 26 deletions(-) 3656274261Sdelphij 3657207753Smmcommit 8884e16864ba53fb4b58623d7537d7ef30c28e11 3658207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3659274261SdelphijDate: 2010-01-31 23:28:51 +0200 3660207753Smm 3661207753Smm Revise the Windows build files. 3662207753Smm 3663207753Smm The old Makefile + config.h was deleted, because it 3664207753Smm becomes outdated too easily and building with the 3665207753Smm Autotools based build system works fine even on Windows. 3666207753Smm 3667207753Smm windows/build.sh hasn't got much testing, but it should 3668207753Smm work to build 32-bit x86 and x86-64 versions of XZ Utils 3669207753Smm using MSYS, MinGW or MinGW-w32, and MinGW-w64. 3670207753Smm 3671207753Smm windows/INSTALL-Windows.txt describes what packages are 3672207753Smm needed and how to install them. 3673207753Smm 3674207753Smm windows/README-Windows.txt is a readme file for the binary 3675207753Smm package that build.sh hopefully builds. 3676207753Smm 3677207753Smm There are no instructions about using Autotools for now, 3678207753Smm so those using a git snapshot may want to run 3679207753Smm "autoreconf -fi && ./configure && make mydist" on a UN*X 3680207753Smm box and then copy the resulting .tar.gz to a Windows. 3681207753Smm 3682274261Sdelphij windows/INSTALL-Windows.txt | 131 ++++++++++++++++++ 3683274261Sdelphij windows/Makefile | 320 -------------------------------------------- 3684274261Sdelphij windows/README | 155 --------------------- 3685274261Sdelphij windows/README-Windows.txt | 115 ++++++++++++++++ 3686274261Sdelphij windows/build.sh | 189 ++++++++++++++++++++++++++ 3687274261Sdelphij windows/config.h | 170 ----------------------- 3688274261Sdelphij 6 files changed, 435 insertions(+), 645 deletions(-) 3689274261Sdelphij 3690207753Smmcommit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c 3691207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3692274261SdelphijDate: 2010-01-31 19:52:38 +0200 3693207753Smm 3694207753Smm Select the default integrity check type at runtime. 3695207753Smm 3696207753Smm Previously it was set statically to CRC64 or CRC32 3697207753Smm depending on options passed to the configure script. 3698207753Smm 3699274261Sdelphij src/xz/coder.c | 19 ++++++++++++++----- 3700274261Sdelphij 1 file changed, 14 insertions(+), 5 deletions(-) 3701274261Sdelphij 3702207753Smmcommit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1 3703207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3704274261SdelphijDate: 2010-01-31 18:17:50 +0200 3705207753Smm 3706207753Smm Improve displaying of the memory usage limit. 3707207753Smm 3708274261Sdelphij src/xz/coder.c | 8 +++----- 3709274261Sdelphij src/xz/message.c | 37 +++++++++++++++++++++++++++++-------- 3710274261Sdelphij src/xz/util.c | 7 +++++++ 3711274261Sdelphij src/xz/util.h | 6 ++++++ 3712274261Sdelphij 4 files changed, 45 insertions(+), 13 deletions(-) 3713274261Sdelphij 3714207753Smmcommit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2 3715207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3716274261SdelphijDate: 2010-01-31 12:53:56 +0200 3717207753Smm 3718207753Smm Don't use uninitialized sigset_t. 3719207753Smm 3720207753Smm If signal handlers haven't been established, then it's 3721207753Smm useless to try to block them, especially since the sigset_t 3722207753Smm used for blocking hasn't been initialized yet. 3723207753Smm 3724274261Sdelphij src/xz/signals.c | 34 ++++++++++++++++++++++++---------- 3725274261Sdelphij 1 file changed, 24 insertions(+), 10 deletions(-) 3726274261Sdelphij 3727207753Smmcommit 231c3c7098f1099a56abb8afece76fc9b8699f05 3728207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3729274261SdelphijDate: 2010-01-31 12:01:54 +0200 3730207753Smm 3731207753Smm Delay opening the destionation file and other fixes. 3732207753Smm 3733207753Smm The opening of the destination file is now delayed a little. 3734207753Smm The coder is initialized, and if decompressing, the memory 3735207753Smm usage of the first Block compared against the memory 3736207753Smm usage limit before the destination file is opened. This 3737207753Smm means that if --force was used, the old "target" file won't 3738207753Smm be deleted so easily when something goes wrong very early. 3739207753Smm Thanks to Mark K for the bug report. 3740207753Smm 3741207753Smm The above fix required some changes to progress message 3742207753Smm handling. Now there is a separate function for setting and 3743207753Smm printing the filename. It is used also in list.c. 3744207753Smm 3745207753Smm list_file() now handles stdin correctly (gives an error). 3746207753Smm 3747207753Smm A useless check for user_abort was removed from file_io.c. 3748207753Smm 3749274261Sdelphij src/xz/coder.c | 64 ++++++++++++++++++++++----------- 3750274261Sdelphij src/xz/file_io.c | 107 +++++++++++++++++++++++++++---------------------------- 3751274261Sdelphij src/xz/file_io.h | 8 +++-- 3752274261Sdelphij src/xz/list.c | 28 +++++---------- 3753274261Sdelphij src/xz/message.c | 46 +++++++++++++----------- 3754274261Sdelphij src/xz/message.h | 29 ++++++++++----- 3755274261Sdelphij 6 files changed, 157 insertions(+), 125 deletions(-) 3756274261Sdelphij 3757207753Smmcommit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105 3758207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3759274261SdelphijDate: 2010-01-29 22:48:04 +0200 3760207753Smm 3761207753Smm Add list.h to src/xz/Makefile.am. 3762207753Smm 3763207753Smm This should have been already in 3764207753Smm 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1. 3765207753Smm 3766274261Sdelphij src/xz/Makefile.am | 1 + 3767274261Sdelphij 1 file changed, 1 insertion(+) 3768274261Sdelphij 3769207753Smmcommit b4b1a56e0cbd597157858264f5c7189201ac9018 3770207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3771274261SdelphijDate: 2010-01-29 13:24:27 +0200 3772207753Smm 3773207753Smm Add lzmainfo.1 to manfiles list to convert to .txt and .pdf. 3774207753Smm 3775274261Sdelphij Makefile.am | 1 + 3776274261Sdelphij 1 file changed, 1 insertion(+) 3777274261Sdelphij 3778207753Smmcommit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95 3779207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3780274261SdelphijDate: 2010-01-27 16:42:11 +0200 3781207753Smm 3782207753Smm Silence two compiler warnings on DOS-like systems. 3783207753Smm 3784274261Sdelphij src/common/tuklib_open_stdxxx.c | 6 +++++- 3785274261Sdelphij src/xz/file_io.c | 3 +++ 3786274261Sdelphij 2 files changed, 8 insertions(+), 1 deletion(-) 3787274261Sdelphij 3788207753Smmcommit b063cc34a30a4edf109343ff373b2b62b8ca72d3 3789207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3790274261SdelphijDate: 2010-01-27 13:31:03 +0200 3791207753Smm 3792207753Smm Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE. 3793207753Smm 3794274261Sdelphij configure.ac | 9 ++------- 3795274261Sdelphij src/liblzma/liblzma.pc.in | 2 +- 3796274261Sdelphij src/lzmainfo/lzmainfo.c | 2 +- 3797274261Sdelphij src/xz/message.c | 2 +- 3798274261Sdelphij src/xzdec/xzdec.c | 2 +- 3799274261Sdelphij 5 files changed, 6 insertions(+), 11 deletions(-) 3800274261Sdelphij 3801207753Smmcommit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f 3802207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3803274261SdelphijDate: 2010-01-26 23:37:46 +0200 3804207753Smm 3805207753Smm Add a missing space to an error message. 3806207753Smm 3807207753Smm Thanks to Robert Readman. 3808207753Smm 3809274261Sdelphij src/xz/args.c | 2 +- 3810274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 3811274261Sdelphij 3812207753Smmcommit e5496f9628ff5979392a80421d0b63a4de8015b4 3813207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3814274261SdelphijDate: 2010-01-26 22:53:37 +0200 3815207753Smm 3816207753Smm Use past tense in error message in io_unlink(). 3817207753Smm 3818207753Smm Added a note to translators too. 3819207753Smm 3820207753Smm Thanks to Robert Readman. 3821207753Smm 3822274261Sdelphij THANKS | 1 + 3823274261Sdelphij src/xz/file_io.c | 14 ++++++++++++-- 3824274261Sdelphij 2 files changed, 13 insertions(+), 2 deletions(-) 3825274261Sdelphij 3826207753Smmcommit d9a9800597ea540090e434132c3b511217df0a2b 3827207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3828274261SdelphijDate: 2010-01-26 15:42:24 +0200 3829207753Smm 3830207753Smm Fix too small static buffer in util.c. 3831207753Smm 3832207753Smm This was introduced in 3833207753Smm 0dd6d007669b946543ca939a44243833c79e08f4 two days ago. 3834207753Smm 3835274261Sdelphij src/xz/util.c | 9 ++++----- 3836274261Sdelphij 1 file changed, 4 insertions(+), 5 deletions(-) 3837274261Sdelphij 3838207753Smmcommit d0b4bbf5da068503c099cd456e294d7673548cc0 3839207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3840274261SdelphijDate: 2010-01-26 14:46:43 +0200 3841207753Smm 3842207753Smm Minor comment fix. 3843207753Smm 3844274261Sdelphij src/xz/main.c | 4 ++-- 3845274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 3846274261Sdelphij 3847207753Smmcommit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1 3848207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3849274261SdelphijDate: 2010-01-24 23:50:54 +0200 3850207753Smm 3851207753Smm Add initial version of xz --list. 3852207753Smm 3853207753Smm This is a bit rough but should be useful for basic things. 3854207753Smm Ideas (with detailed examples) about the output format are 3855207753Smm welcome. 3856207753Smm 3857207753Smm The output of --robot --list is not necessarily stable yet, 3858207753Smm although I don't currently have any plans about changing it. 3859207753Smm 3860207753Smm The man page hasn't been updated yet. 3861207753Smm 3862274261Sdelphij src/xz/Makefile.am | 1 + 3863274261Sdelphij src/xz/list.c | 988 ++++++++++++++++++++++++++++++++++------------------- 3864274261Sdelphij src/xz/list.h | 18 + 3865274261Sdelphij src/xz/main.c | 19 +- 3866274261Sdelphij src/xz/private.h | 1 + 3867274261Sdelphij 5 files changed, 668 insertions(+), 359 deletions(-) 3868274261Sdelphij 3869207753Smmcommit df254ce03be016e217b511e7acd5d493f9929ca5 3870207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3871274261SdelphijDate: 2010-01-24 22:46:11 +0200 3872207753Smm 3873207753Smm Add io_pread(). 3874207753Smm 3875207753Smm It will be used by --list. 3876207753Smm 3877274261Sdelphij src/xz/file_io.c | 25 +++++++++++++++++++++++++ 3878274261Sdelphij src/xz/file_io.h | 17 +++++++++++++++++ 3879274261Sdelphij 2 files changed, 42 insertions(+) 3880274261Sdelphij 3881207753Smmcommit ef68dd4a92976276304de2aedfbe34ae91a86abb 3882207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3883274261SdelphijDate: 2010-01-24 22:45:14 +0200 3884207753Smm 3885207753Smm Set LC_NUMERIC=C when --robot is used. 3886207753Smm 3887207753Smm It is to ensure that floating point numbers 3888207753Smm will always have a dot as the decimal separator. 3889207753Smm 3890274261Sdelphij src/xz/args.c | 4 ++++ 3891274261Sdelphij 1 file changed, 4 insertions(+) 3892274261Sdelphij 3893207753Smmcommit 0dd6d007669b946543ca939a44243833c79e08f4 3894207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3895274261SdelphijDate: 2010-01-24 16:57:40 +0200 3896207753Smm 3897207753Smm Some improvements to printing sizes in xz. 3898207753Smm 3899274261Sdelphij src/xz/coder.c | 56 +++++++++++++++------------------------ 3900274261Sdelphij src/xz/message.c | 80 ++++++++++++++++++-------------------------------------- 3901274261Sdelphij src/xz/message.h | 4 +++ 3902274261Sdelphij src/xz/util.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3903274261Sdelphij src/xz/util.h | 44 +++++++++++++++++++++++++++++++ 3904274261Sdelphij 5 files changed, 166 insertions(+), 90 deletions(-) 3905274261Sdelphij 3906207753Smmcommit 2a98fdffd68c66371279c211c29153c808ad5c1d 3907207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3908274261SdelphijDate: 2010-01-20 22:02:35 +0200 3909207753Smm 3910207753Smm Fix a typo in README. 3911207753Smm 3912207753Smm Thanks to R. Bijker. 3913207753Smm 3914274261Sdelphij README | 2 +- 3915274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 3916274261Sdelphij 3917207753Smmcommit 07a11dad44e041b01dcfc73e8d4e00731158c06d 3918207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3919274261SdelphijDate: 2010-01-17 11:59:54 +0200 3920207753Smm 3921207753Smm Updated windows/Makefile. 3922207753Smm 3923207753Smm Thanks to Dan Shechter for the patch. 3924207753Smm 3925207753Smm It is likely that windows/Makefile will be removed 3926207753Smm completely, because Autotols based build nowadays 3927207753Smm works well with both 32-bit and 64-bit MinGW (I 3928207753Smm just need to update the docs). 3929207753Smm 3930274261Sdelphij windows/Makefile | 38 +++++++++++++++++++++++++------------- 3931274261Sdelphij windows/config.h | 2 ++ 3932274261Sdelphij 2 files changed, 27 insertions(+), 13 deletions(-) 3933274261Sdelphij 3934207753Smmcommit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3 3935207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3936274261SdelphijDate: 2010-01-15 11:05:11 +0200 3937207753Smm 3938207753Smm Update the xz man page to match the previous two commits. 3939207753Smm 3940274261Sdelphij src/xz/xz.1 | 9 +++------ 3941274261Sdelphij 1 file changed, 3 insertions(+), 6 deletions(-) 3942274261Sdelphij 3943207753Smmcommit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7 3944207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3945274261SdelphijDate: 2010-01-13 19:10:25 +0200 3946207753Smm 3947207753Smm Don't read compressed data from a terminal or write it 3948207753Smm to a terminal even if --force is specified. 3949207753Smm 3950207753Smm It just seems more reasonable this way. 3951207753Smm 3952207753Smm The new behavior matches bzip2. The old one matched gzip. 3953207753Smm 3954274261Sdelphij src/xz/main.c | 20 +++++++++----------- 3955274261Sdelphij src/xz/util.c | 8 ++++---- 3956274261Sdelphij 2 files changed, 13 insertions(+), 15 deletions(-) 3957274261Sdelphij 3958207753Smmcommit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4 3959207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3960274261SdelphijDate: 2010-01-13 18:12:40 +0200 3961207753Smm 3962207753Smm Don't compress or decompress special files unless writing 3963207753Smm to stdout even if --force is used. 3964207753Smm 3965207753Smm --force will still enable compression of symlinks, but only 3966207753Smm in case they point to a regular file. 3967207753Smm 3968207753Smm The new way simply seems more reasonable. It matches gzip's 3969207753Smm behavior while the old one matched bzip2's behavior. 3970207753Smm 3971274261Sdelphij src/xz/file_io.c | 15 ++++++++++----- 3972274261Sdelphij 1 file changed, 10 insertions(+), 5 deletions(-) 3973274261Sdelphij 3974207753Smmcommit cee12aa852ec0902983dc1f153346ef750157fb9 3975207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3976274261SdelphijDate: 2010-01-12 16:30:33 +0200 3977207753Smm 3978207753Smm Updated THANKS. 3979207753Smm 3980274261Sdelphij THANKS | 1 + 3981274261Sdelphij 1 file changed, 1 insertion(+) 3982274261Sdelphij 3983207753Smmcommit 153c7740c54b3c90129dbd3d6153ac1303c4d605 3984207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3985274261SdelphijDate: 2010-01-12 16:18:14 +0200 3986207753Smm 3987207753Smm Add IRIX-specific code to tuklib_physmem and tuklib_cpucores. 3988207753Smm 3989207753Smm This is untested but it will get tested soon and, if needed, 3990207753Smm fixed before 5.0.0. 3991207753Smm 3992207753Smm Thanks to Stuart Shelton. 3993207753Smm 3994274261Sdelphij m4/tuklib_cpucores.m4 | 11 +++++++++-- 3995274261Sdelphij m4/tuklib_physmem.m4 | 22 +++++++++++++++++++++- 3996274261Sdelphij src/common/tuklib_cpucores.c | 6 ++++++ 3997274261Sdelphij src/common/tuklib_physmem.c | 19 +++++++++++++++++++ 3998274261Sdelphij 4 files changed, 55 insertions(+), 3 deletions(-) 3999274261Sdelphij 4000207753Smmcommit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1 4001207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4002274261SdelphijDate: 2010-01-01 00:29:10 +0200 4003207753Smm 4004207753Smm Fix _memconfig() functions. 4005207753Smm 4006207753Smm This affects lzma_memusage() and lzma_memlimit_get(). 4007207753Smm 4008274261Sdelphij src/liblzma/api/lzma/index.h | 7 ------- 4009274261Sdelphij src/liblzma/common/alone_decoder.c | 11 +++++++---- 4010274261Sdelphij src/liblzma/common/index_decoder.c | 10 ++++++---- 4011274261Sdelphij src/liblzma/common/stream_decoder.c | 11 +++++++---- 4012274261Sdelphij 4 files changed, 20 insertions(+), 19 deletions(-) 4013274261Sdelphij 4014207753Smmcommit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691 4015207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4016274261SdelphijDate: 2009-12-31 22:45:53 +0200 4017207753Smm 4018207753Smm Revised the Index handling code. 4019207753Smm 4020207753Smm This breaks API and ABI but most apps are not affected 4021207753Smm since most apps don't use this part of the API. You will 4022207753Smm get a compile error if you are using anything that got 4023207753Smm broken. 4024207753Smm 4025207753Smm Summary of changes: 4026207753Smm 4027207753Smm - Ability to store Stream Flags, which are needed 4028207753Smm for random-access reading in multi-Stream files. 4029207753Smm 4030207753Smm - Separate function to set size of Stream Padding. 4031207753Smm 4032207753Smm - Iterator structure makes it possible to read the same 4033207753Smm lzma_index from multiple threads at the same time. 4034207753Smm 4035207753Smm - A lot faster code to locate Blocks. 4036207753Smm 4037207753Smm - Removed lzma_index_equal() without adding anything 4038207753Smm to replace it. I don't know what it should do exactly 4039207753Smm with the new features and what actually needs this 4040207753Smm function in the first place other than test_index.c, 4041207753Smm which now has its own code to compare lzma_indexes. 4042207753Smm 4043274261Sdelphij src/liblzma/api/lzma/index.h | 572 +++++++--- 4044274261Sdelphij src/liblzma/common/index.c | 1553 ++++++++++++++++++---------- 4045274261Sdelphij src/liblzma/common/index.h | 6 + 4046274261Sdelphij src/liblzma/common/index_decoder.c | 12 +- 4047274261Sdelphij src/liblzma/common/index_encoder.c | 36 +- 4048274261Sdelphij src/liblzma/common/index_encoder.h | 2 +- 4049274261Sdelphij src/liblzma/common/stream_buffer_encoder.c | 6 +- 4050274261Sdelphij src/liblzma/common/stream_encoder.c | 3 +- 4051274261Sdelphij tests/test_index.c | 371 ++++--- 4052274261Sdelphij 9 files changed, 1703 insertions(+), 858 deletions(-) 4053274261Sdelphij 4054207753Smmcommit f29997a846e673cb3b8cbd57de47ed313b3978bb 4055207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4056274261SdelphijDate: 2009-12-31 21:13:25 +0200 4057207753Smm 4058207753Smm Remove c-format tag in cs.po. 4059207753Smm 4060207753Smm It was fixed in the C code earlier. 4061207753Smm 4062274261Sdelphij po/cs.po | 1 - 4063274261Sdelphij 1 file changed, 1 deletion(-) 4064274261Sdelphij 4065207753Smmcommit 097bad000363e0bf29f8274ad2d7ab59f7dbf644 4066207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4067274261SdelphijDate: 2009-12-31 21:11:05 +0200 4068207753Smm 4069207753Smm Add missing lzma_nothrow in filter.h. 4070207753Smm 4071274261Sdelphij src/liblzma/api/lzma/filter.h | 4 ++-- 4072274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 4073274261Sdelphij 4074207753Smmcommit b56cb1fc31fa2381f92eefc040df85667048d626 4075207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4076274261SdelphijDate: 2009-12-09 18:13:44 +0200 4077207753Smm 4078207753Smm Remove redefinition of _(msgid) macro from lzmainfo.c. 4079207753Smm 4080274261Sdelphij src/lzmainfo/lzmainfo.c | 7 ------- 4081274261Sdelphij 1 file changed, 7 deletions(-) 4082274261Sdelphij 4083207753Smmcommit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2 4084207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 4085274261SdelphijDate: 2009-12-08 19:41:57 -0600 4086207753Smm 4087207753Smm update po/.gitignore 4088207753Smm 4089207753Smm Since the *.gmo files are deleted by the maintainer-clean target, 4090207753Smm I assume they are not meant to be tracked. 4091207753Smm 4092207753Smm Also add the other files listed in the Makefile���s clean targets 4093207753Smm (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they 4094207753Smm are not accidentally tracked. Most of these are intermediate 4095207753Smm files that would not appear unless a build is interrupted or 4096207753Smm fails. 4097207753Smm 4098207753Smm Split the list of untracked files by origin to make it easier to 4099207753Smm tell if files are missing in the future. 4100207753Smm 4101207753Smm Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 4102207753Smm 4103274261Sdelphij po/.gitignore | 28 ++++++++++++++++++++++------ 4104274261Sdelphij 1 file changed, 22 insertions(+), 6 deletions(-) 4105274261Sdelphij 4106207753Smmcommit f7e44c6c11f630519072971b8b07a5729c096c36 4107207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4108274261SdelphijDate: 2009-12-09 00:38:55 +0200 4109207753Smm 4110207753Smm Always rely on GCC's auto-import on Windows. 4111207753Smm 4112207753Smm I understood that this is nicer, because then people 4113207753Smm don't need to worry about the LZMA_API_STATIC macro. 4114207753Smm 4115207753Smm Thanks to Charles Wilson and Keith Marshall. 4116207753Smm 4117274261Sdelphij src/liblzma/api/lzma.h | 16 +++++++++------- 4118274261Sdelphij 1 file changed, 9 insertions(+), 7 deletions(-) 4119274261Sdelphij 4120207753Smmcommit 7b76a3e2336f25088957cba92b0dbd854d9caa3c 4121207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4122274261SdelphijDate: 2009-12-07 21:46:53 +0200 4123207753Smm 4124207753Smm Fix file_io.c on DOS-like systems. 4125207753Smm 4126207753Smm The problem was introduced when adding sparse file 4127207753Smm support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902. 4128207753Smm 4129207753Smm Thanks to Charles Wilson. 4130207753Smm 4131274261Sdelphij src/xz/file_io.c | 4 ++++ 4132274261Sdelphij 1 file changed, 4 insertions(+) 4133274261Sdelphij 4134207753Smmcommit 0696f5d268362221380e039bad48a86e29067c6a 4135207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4136274261SdelphijDate: 2009-12-07 20:54:21 +0200 4137207753Smm 4138207753Smm Add Czech translation. 4139207753Smm 4140207753Smm Thanks to Marek ��ernock��. 4141207753Smm 4142207753Smm Other people planning to translate xz: Note that the 4143207753Smm messages are a little bit in flux still. Translations 4144207753Smm are still welcome, just be prepared to some extra work 4145207753Smm in case there are changes. 4146207753Smm 4147274261Sdelphij THANKS | 1 + 4148274261Sdelphij po/LINGUAS | 1 + 4149274261Sdelphij po/cs.po | 637 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4150274261Sdelphij 3 files changed, 639 insertions(+) 4151274261Sdelphij 4152207753Smmcommit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5 4153207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4154274261SdelphijDate: 2009-12-07 20:32:08 +0200 4155207753Smm 4156207753Smm Add a note for translators to add a bug reporting address 4157207753Smm for translation bugs. 4158207753Smm 4159274261Sdelphij src/xz/message.c | 4 ++++ 4160274261Sdelphij 1 file changed, 4 insertions(+) 4161274261Sdelphij 4162207753Smmcommit 6db1c35be9e1e364cdacff6878910e1b7aac2a37 4163207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4164274261SdelphijDate: 2009-12-07 20:07:02 +0200 4165207753Smm 4166207753Smm Prevent xgettext from taking one regular string as a C format string. 4167207753Smm 4168207753Smm Thanks to Marek ��ernock��. 4169207753Smm 4170274261Sdelphij src/xz/message.c | 2 +- 4171274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 4172274261Sdelphij 4173207753Smmcommit e0c2776b6ffbd2b1900fde353aceac734edc93d7 4174207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4175274261SdelphijDate: 2009-11-28 17:45:22 +0200 4176207753Smm 4177207753Smm Remove duplicate code in io_open_dest(). 4178207753Smm 4179207753Smm Fix a missing _() in the error message too. 4180207753Smm 4181274261Sdelphij src/xz/file_io.c | 9 +-------- 4182274261Sdelphij 1 file changed, 1 insertion(+), 8 deletions(-) 4183274261Sdelphij 4184207753Smmcommit f057a33c6f7c5992389479f2d4feabf2900ba7ee 4185207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4186274261SdelphijDate: 2009-11-26 10:11:23 +0200 4187207753Smm 4188207753Smm Typo fix to sysdefs.h. 4189207753Smm 4190207753Smm Thanks to Jonathan Nieder. 4191207753Smm 4192274261Sdelphij src/common/sysdefs.h | 2 +- 4193274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 4194274261Sdelphij 4195207753Smmcommit 8767b41534eafdf5e742e12190646bf5740b0cdb 4196207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4197274261SdelphijDate: 2009-11-26 10:10:36 +0200 4198207753Smm 4199207753Smm Fix a memory leak in test_index.c. 4200207753Smm 4201207753Smm This was introduced in 4202207753Smm bd13b04e202b6f495a68eb0766f97085b7c50a06. 4203207753Smm 4204207753Smm Thanks to Jim Meyering for noticing it. 4205207753Smm 4206274261Sdelphij tests/test_index.c | 2 ++ 4207274261Sdelphij 1 file changed, 2 insertions(+) 4208274261Sdelphij 4209207753Smmcommit 919fbaff860acdaa4bcd216500a0b1c960a6db92 4210207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4211274261SdelphijDate: 2009-11-25 14:22:19 +0200 4212207753Smm 4213207753Smm Add missing error check to coder.c. 4214207753Smm 4215207753Smm With bad luck this could cause a segfault due to 4216207753Smm reading (but not writing) past the end of the buffer. 4217207753Smm 4218274261Sdelphij src/xz/coder.c | 20 +++++++++++--------- 4219274261Sdelphij 1 file changed, 11 insertions(+), 9 deletions(-) 4220274261Sdelphij 4221207753Smmcommit bd13b04e202b6f495a68eb0766f97085b7c50a06 4222207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4223274261SdelphijDate: 2009-11-25 13:04:10 +0200 4224207753Smm 4225207753Smm Fix bugs in lzma_index_read() and lzma_index_cat(). 4226207753Smm 4227207753Smm lzma_index_read() didn't skip over Stream Padding 4228207753Smm if it was the first record in the Index. 4229207753Smm 4230207753Smm lzma_index_cat() didn't combine small Indexes correctly. 4231207753Smm 4232207753Smm The test suite was updated to check for these bugs. 4233207753Smm 4234207753Smm These bugs didn't affect the xz command line tool or 4235207753Smm most users of liblzma in any way. 4236207753Smm 4237274261Sdelphij src/liblzma/common/index.c | 30 +++++++++++++++++++----------- 4238274261Sdelphij tests/test_index.c | 28 +++++++++++++++++++++++++--- 4239274261Sdelphij 2 files changed, 44 insertions(+), 14 deletions(-) 4240274261Sdelphij 4241207753Smmcommit 1f196909143b888e062bd9a0c4ba8c34d3019bfa 4242207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4243274261SdelphijDate: 2009-11-25 12:52:56 +0200 4244207753Smm 4245207753Smm Index decoder fixes. 4246207753Smm 4247207753Smm The Index decoder code didn't perfectly match the API docs, 4248207753Smm which said that *i will be set to point to the decoded Index 4249207753Smm only after decoding has succeeded. The docs were a bit unclear 4250207753Smm too. 4251207753Smm 4252207753Smm Now the decoder will initially set *i to NULL. *i will be set 4253207753Smm to point to the decoded Index once decoding has succeeded. 4254207753Smm This simplifies applications too, since it avoids dangling 4255207753Smm pointers. 4256207753Smm 4257274261Sdelphij src/liblzma/api/lzma/index.h | 23 ++++++++++++----------- 4258274261Sdelphij src/liblzma/common/index_decoder.c | 26 ++++++++++++++++++++------ 4259274261Sdelphij 2 files changed, 32 insertions(+), 17 deletions(-) 4260274261Sdelphij 4261207753Smmcommit 465d1b0d6518c5d980f2db4c2d769f9905bdd902 4262207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4263274261SdelphijDate: 2009-11-25 11:19:20 +0200 4264207753Smm 4265207753Smm Create sparse files by default when decompressing into 4266207753Smm a regular file. 4267207753Smm 4268207753Smm Sparse file creation can be disabled with --no-sparse. 4269207753Smm I don't promise yet that the name of this option won't 4270207753Smm change before 5.0.0. It's possible that the code, that 4271207753Smm checks when it is safe to use sparse output on stdout, 4272207753Smm is not good enough, and a more flexible command line 4273207753Smm option is needed to configure sparse file handling. 4274207753Smm 4275274261Sdelphij src/xz/args.c | 6 ++ 4276274261Sdelphij src/xz/coder.c | 33 ++++---- 4277274261Sdelphij src/xz/file_io.c | 243 +++++++++++++++++++++++++++++++++++++++++++++++-------- 4278274261Sdelphij src/xz/file_io.h | 34 ++++++-- 4279274261Sdelphij src/xz/message.c | 1 + 4280274261Sdelphij src/xz/xz.1 | 11 +++ 4281274261Sdelphij 6 files changed, 272 insertions(+), 56 deletions(-) 4282274261Sdelphij 4283207753Smmcommit 37de544414fc2dc5039471d1002ebd015eb3e627 4284207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4285274261SdelphijDate: 2009-11-22 12:43:06 +0200 4286207753Smm 4287207753Smm Updated THANKS. 4288207753Smm 4289274261Sdelphij THANKS | 1 + 4290274261Sdelphij 1 file changed, 1 insertion(+) 4291274261Sdelphij 4292207753Smmcommit f1a28b96c900c658fe016852ff62f6c24d1f50fa 4293207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4294274261SdelphijDate: 2009-11-22 12:05:33 +0200 4295207753Smm 4296207753Smm Add missing consts to pointer casts. 4297207753Smm 4298274261Sdelphij src/liblzma/check/crc32_fast.c | 4 ++-- 4299274261Sdelphij src/liblzma/check/crc64_fast.c | 5 +++-- 4300274261Sdelphij 2 files changed, 5 insertions(+), 4 deletions(-) 4301274261Sdelphij 4302207753Smmcommit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef 4303207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4304274261SdelphijDate: 2009-11-22 12:00:30 +0200 4305207753Smm 4306207753Smm Enable assembler code only if it is known to work 4307207753Smm on that operating system. 4308207753Smm 4309207753Smm I'm too lazy to think how to make a good Autoconf test 4310207753Smm for this and it's not that important anyway. 4311207753Smm 4312207753Smm No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64. 4313207753Smm Inline assembler (if any) is used if a macro like 4314207753Smm __i386__ or __x86_64__ is defined. 4315207753Smm 4316274261Sdelphij configure.ac | 26 ++++++++++++-------------- 4317274261Sdelphij 1 file changed, 12 insertions(+), 14 deletions(-) 4318274261Sdelphij 4319207753Smmcommit 0733f4c9994db696420a405810d5f02c79ebc404 4320207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4321274261SdelphijDate: 2009-11-22 11:55:03 +0200 4322207753Smm 4323207753Smm Make fastpos.h use tuklib_integer.h instead of bsr.h 4324207753Smm when --enable-small has been specified. 4325207753Smm 4326274261Sdelphij src/liblzma/common/Makefile.inc | 1 - 4327274261Sdelphij src/liblzma/common/bsr.h | 60 ----------------------------------------- 4328274261Sdelphij src/liblzma/lzma/fastpos.h | 5 +--- 4329274261Sdelphij 3 files changed, 1 insertion(+), 65 deletions(-) 4330274261Sdelphij 4331207753Smmcommit 7ac3985d891dcc5773543f84cc5bce6c14841b12 4332207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4333274261SdelphijDate: 2009-11-22 11:52:30 +0200 4334207753Smm 4335207753Smm Update tuklib_integer.h with bit scan functions. 4336207753Smm 4337207753Smm Thanks to Joachim Henke for the original patch. 4338207753Smm 4339274261Sdelphij src/common/tuklib_integer.h | 189 ++++++++++++++++++++++++++++++++++++++++++-- 4340274261Sdelphij 1 file changed, 181 insertions(+), 8 deletions(-) 4341274261Sdelphij 4342207753Smmcommit c74c132f7f79a842c073c66575a4fdb985e4c2e3 4343207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4344274261SdelphijDate: 2009-11-20 12:51:19 +0200 4345207753Smm 4346207753Smm Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib, 4347207753Smm which now use AC_CACHE_CHECK. Using the cache variable, 4348207753Smm configure now warns if there is no method to detect the amount 4349207753Smm of RAM and recommends using --enable-assume-ram. 4350207753Smm 4351274261Sdelphij configure.ac | 16 ++++++++++++++++ 4352274261Sdelphij m4/tuklib_cpucores.m4 | 31 ++++++++++++++++++------------- 4353274261Sdelphij m4/tuklib_physmem.m4 | 50 +++++++++++++++++++++++++++----------------------- 4354274261Sdelphij 3 files changed, 61 insertions(+), 36 deletions(-) 4355274261Sdelphij 4356207753Smmcommit d315ca4930ff96e1428c6021c96f209e1abdd83e 4357207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4358274261SdelphijDate: 2009-11-16 18:16:45 +0200 4359207753Smm 4360207753Smm Add support for --info-memory and --robot to xz. 4361207753Smm 4362207753Smm Currently --robot works only with --info-memory and 4363207753Smm --version. --help and --long-help work too, but --robot 4364207753Smm has no effect on them. 4365207753Smm 4366207753Smm Thanks to Jonathan Nieder for the original patches. 4367207753Smm 4368274261Sdelphij src/xz/args.c | 85 +++++++++++++++++++++++++++++++++----------------------- 4369274261Sdelphij src/xz/args.h | 1 + 4370274261Sdelphij src/xz/main.c | 11 +++++--- 4371274261Sdelphij src/xz/message.c | 47 +++++++++++++++++++++++-------- 4372274261Sdelphij src/xz/message.h | 4 +++ 4373274261Sdelphij src/xz/xz.1 | 40 +++++++++++++++++++++++--- 4374274261Sdelphij 6 files changed, 133 insertions(+), 55 deletions(-) 4375274261Sdelphij 4376207753Smmcommit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e 4377207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4378274261SdelphijDate: 2009-11-15 12:54:45 +0200 4379207753Smm 4380207753Smm Fix wrong indentation caused by incorrect settings 4381207753Smm in the text editor. 4382207753Smm 4383274261Sdelphij src/liblzma/lz/lz_decoder.c | 18 +++++++++--------- 4384274261Sdelphij src/liblzma/lzma/lzma2_encoder.c | 6 +++--- 4385274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +- 4386274261Sdelphij 3 files changed, 13 insertions(+), 13 deletions(-) 4387274261Sdelphij 4388207753Smmcommit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4 4389207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4390274261SdelphijDate: 2009-11-15 12:40:17 +0200 4391207753Smm 4392207753Smm Add lzma_physmem(). 4393207753Smm 4394207753Smm I had hoped to keep liblzma as purely a compression 4395207753Smm library as possible (e.g. file I/O will go into 4396207753Smm a different library), but it seems that applications 4397207753Smm linking agaisnt liblzma need some way to determine 4398207753Smm the memory usage limit, and knowing the amount of RAM 4399207753Smm is one reasonable way to help making such decisions. 4400207753Smm 4401207753Smm Thanks to Jonathan Nieder for the original patch. 4402207753Smm 4403274261Sdelphij src/liblzma/Makefile.am | 5 ++-- 4404274261Sdelphij src/liblzma/api/Makefile.am | 1 + 4405274261Sdelphij src/liblzma/api/lzma.h | 3 +++ 4406274261Sdelphij src/liblzma/api/lzma/hardware.h | 51 +++++++++++++++++++++++++++++++++++ 4407274261Sdelphij src/liblzma/common/Makefile.inc | 1 + 4408274261Sdelphij src/liblzma/common/hardware_physmem.c | 25 +++++++++++++++++ 4409274261Sdelphij src/xz/Makefile.am | 1 - 4410274261Sdelphij src/xz/hardware.c | 3 +-- 4411274261Sdelphij src/xzdec/Makefile.am | 6 ++--- 4412274261Sdelphij src/xzdec/xzdec.c | 3 +-- 4413274261Sdelphij 10 files changed, 88 insertions(+), 11 deletions(-) 4414274261Sdelphij 4415207753Smmcommit cf39faca59083d38422058c6c97aa757ea7797d0 4416207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4417274261SdelphijDate: 2009-11-14 20:21:19 +0200 4418207753Smm 4419207753Smm Updated THANKS. 4420207753Smm 4421274261Sdelphij THANKS | 1 + 4422274261Sdelphij 1 file changed, 1 insertion(+) 4423274261Sdelphij 4424207753Smmcommit 2ddcae247c284cc2f396b6cfdab57790c7588b5f 4425207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4426274261SdelphijDate: 2009-11-14 20:20:03 +0200 4427207753Smm 4428207753Smm Some updates to xz man page. 4429207753Smm 4430274261Sdelphij src/xz/xz.1 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++----- 4431274261Sdelphij 1 file changed, 49 insertions(+), 5 deletions(-) 4432274261Sdelphij 4433207753Smmcommit 19b2674f07f8b588dfaf6638396b4b42866d7e23 4434207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4435274261SdelphijDate: 2009-11-14 19:51:03 +0200 4436207753Smm 4437207753Smm Fix description of --memory in --long-help. 4438207753Smm 4439274261Sdelphij src/xz/message.c | 3 +-- 4440274261Sdelphij 1 file changed, 1 insertion(+), 2 deletions(-) 4441274261Sdelphij 4442207753Smmcommit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8 4443207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4444274261SdelphijDate: 2009-11-14 19:45:39 +0200 4445207753Smm 4446207753Smm Update the debug programs so that they compile again. 4447207753Smm 4448274261Sdelphij debug/crc32.c | 1 + 4449274261Sdelphij debug/memusage.c | 6 ++++-- 4450274261Sdelphij debug/sync_flush.c | 14 +++++++++----- 4451274261Sdelphij 3 files changed, 14 insertions(+), 7 deletions(-) 4452274261Sdelphij 4453207753Smmcommit 418d64a32e8144210f98a810738fed5a897e8367 4454207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4455274261SdelphijDate: 2009-11-14 18:59:19 +0200 4456207753Smm 4457207753Smm Fix a design error in liblzma API. 4458207753Smm 4459207753Smm Originally the idea was that using LZMA_FULL_FLUSH 4460207753Smm with Stream encoder would read the filter chain 4461207753Smm from the same array that was used to intialize the 4462207753Smm Stream encoder. Since most apps wouldn't use 4463207753Smm LZMA_FULL_FLUSH, most apps wouldn't need to keep 4464207753Smm the filter chain available after initializing the 4465207753Smm Stream encoder. However, due to my mistake, it 4466207753Smm actually required keeping the array always available. 4467207753Smm 4468207753Smm Since setting the new filter chain via the array 4469207753Smm used at initialization time is not a nice way to do 4470207753Smm it for a couple of reasons, this commit ditches it 4471207753Smm and introduces lzma_filters_update(). This new function 4472207753Smm replaces also the "persistent" flag used by LZMA2 4473207753Smm (and to-be-designed Subblock filter), which was also 4474207753Smm an ugly thing to do. 4475207753Smm 4476207753Smm Thanks to Alexey Tourbin for reminding me about the problem 4477207753Smm that Stream encoder used to require keeping the filter 4478207753Smm chain allocated. 4479207753Smm 4480274261Sdelphij src/liblzma/api/lzma/filter.h | 30 +++++++++++++ 4481274261Sdelphij src/liblzma/api/lzma/lzma.h | 13 ------ 4482274261Sdelphij src/liblzma/common/block_encoder.c | 14 ++++++ 4483274261Sdelphij src/liblzma/common/common.c | 20 ++++++++- 4484274261Sdelphij src/liblzma/common/common.h | 22 ++++++++++ 4485274261Sdelphij src/liblzma/common/easy_encoder.c | 63 ++------------------------- 4486274261Sdelphij src/liblzma/common/filter_common.c | 3 ++ 4487274261Sdelphij src/liblzma/common/filter_encoder.c | 27 ++++++++++++ 4488274261Sdelphij src/liblzma/common/filter_encoder.h | 2 +- 4489274261Sdelphij src/liblzma/common/stream_encoder.c | 76 ++++++++++++++++++++++++++++----- 4490274261Sdelphij src/liblzma/delta/delta_common.c | 5 +-- 4491274261Sdelphij src/liblzma/delta/delta_decoder.c | 3 +- 4492274261Sdelphij src/liblzma/delta/delta_encoder.c | 17 +++++++- 4493274261Sdelphij src/liblzma/delta/delta_private.h | 2 +- 4494274261Sdelphij src/liblzma/lz/lz_encoder.c | 17 ++++++++ 4495274261Sdelphij src/liblzma/lz/lz_encoder.h | 4 ++ 4496274261Sdelphij src/liblzma/lzma/lzma2_encoder.c | 59 ++++++++++++++----------- 4497274261Sdelphij src/liblzma/lzma/lzma_encoder_presets.c | 1 - 4498274261Sdelphij src/liblzma/simple/simple_coder.c | 12 ++++++ 4499274261Sdelphij src/xz/options.c | 1 - 4500274261Sdelphij 20 files changed, 273 insertions(+), 118 deletions(-) 4501274261Sdelphij 4502207753Smmcommit f0bf7634b77263a4dd02b20c71861ab67995da68 4503207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4504274261SdelphijDate: 2009-10-17 11:11:58 +0300 4505207753Smm 4506207753Smm Fix wrong function name in the previous commit. 4507207753Smm 4508207753Smm It was meant to be lzma_filters_copy(), not lzma_filters_dup(). 4509207753Smm 4510274261Sdelphij src/liblzma/api/lzma/filter.h | 2 +- 4511274261Sdelphij src/liblzma/common/filter_common.c | 2 +- 4512274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 4513274261Sdelphij 4514207753Smmcommit 6d118a0b9def82e96afba7386ec8d7da0b59649f 4515207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4516274261SdelphijDate: 2009-10-17 01:47:07 +0300 4517207753Smm 4518207753Smm Add lzma_filters_copy(). 4519207753Smm 4520207753Smm This will be needed internally by liblzma once I fix 4521207753Smm a design mistake in the encoder API. This function may 4522207753Smm be useful to applications too so it's good to export it. 4523207753Smm 4524274261Sdelphij src/liblzma/api/lzma/filter.h | 31 ++++++++++++++ 4525274261Sdelphij src/liblzma/common/filter_common.c | 82 ++++++++++++++++++++++++++++++++++++++ 4526274261Sdelphij 2 files changed, 113 insertions(+) 4527274261Sdelphij 4528207753Smmcommit 78e92c18470483e161388e679c1ee556adb3a691 4529207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 4530274261SdelphijDate: 2009-10-15 20:44:13 -0500 4531207753Smm 4532207753Smm Escape dashes in xzmore.1 4533207753Smm 4534207753Smm A minus sign is larger, easier to see in a printout, and more 4535207753Smm likely to use the same glyph as ASCII hyphen-minus in a terminal 4536207753Smm than a hyphen. Since broken manual pagers do not find hyphens 4537207753Smm when the user searches for a hyphen-minus, minus signs are also 4538207753Smm easier to search for. So use minus signs instead of hyphens to 4539207753Smm render sample terminal output. 4540207753Smm 4541274261Sdelphij src/scripts/xzmore.1 | 4 ++-- 4542274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 4543274261Sdelphij 4544207753Smmcommit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee 4545207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4546274261SdelphijDate: 2009-10-16 20:35:39 +0300 4547207753Smm 4548207753Smm Mention --check=none in --long-help. It was already in 4549207753Smm the man page though. 4550207753Smm 4551207753Smm Thanks to Jim Meyering for noticing this. 4552207753Smm 4553274261Sdelphij src/xz/message.c | 2 +- 4554274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 4555274261Sdelphij 4556207753Smmcommit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24 4557207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4558274261SdelphijDate: 2009-10-04 22:57:12 +0300 4559207753Smm 4560207753Smm Use a tuklib module for integer handling. 4561207753Smm 4562207753Smm This replaces bswap.h and integer.h. 4563207753Smm 4564207753Smm The tuklib module uses <byteswap.h> on GNU, 4565207753Smm <sys/endian.h> on *BSDs and <sys/byteorder.h> 4566207753Smm on Solaris, which may contain optimized code 4567207753Smm like inline assembly. 4568207753Smm 4569274261Sdelphij configure.ac | 54 +---- 4570274261Sdelphij m4/tuklib_integer.m4 | 74 +++++++ 4571274261Sdelphij src/common/bswap.h | 52 ----- 4572274261Sdelphij src/common/integer.h | 170 --------------- 4573274261Sdelphij src/common/tuklib_config.h | 8 +- 4574274261Sdelphij src/common/tuklib_integer.h | 350 ++++++++++++++++++++++++++++++ 4575274261Sdelphij src/liblzma/check/check.c | 4 +- 4576274261Sdelphij src/liblzma/check/crc32_fast.c | 4 +- 4577274261Sdelphij src/liblzma/check/crc32_tablegen.c | 8 +- 4578274261Sdelphij src/liblzma/check/crc64_fast.c | 4 +- 4579274261Sdelphij src/liblzma/check/crc64_tablegen.c | 8 +- 4580274261Sdelphij src/liblzma/check/crc_macros.h | 2 - 4581274261Sdelphij src/liblzma/check/sha256.c | 18 +- 4582274261Sdelphij src/liblzma/common/alone_encoder.c | 2 +- 4583274261Sdelphij src/liblzma/common/block_header_decoder.c | 2 +- 4584274261Sdelphij src/liblzma/common/block_header_encoder.c | 2 +- 4585274261Sdelphij src/liblzma/common/common.h | 2 +- 4586274261Sdelphij src/liblzma/common/stream_flags_decoder.c | 6 +- 4587274261Sdelphij src/liblzma/common/stream_flags_encoder.c | 6 +- 4588274261Sdelphij src/liblzma/lz/lz_encoder_hash.h | 2 +- 4589274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 2 +- 4590274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 2 +- 4591274261Sdelphij src/liblzma/lzma/lzma_encoder_private.h | 2 +- 4592274261Sdelphij src/liblzma/simple/simple_decoder.c | 2 +- 4593274261Sdelphij src/liblzma/simple/simple_encoder.c | 2 +- 4594274261Sdelphij tests/test_block_header.c | 4 +- 4595274261Sdelphij tests/test_stream_flags.c | 6 +- 4596274261Sdelphij tests/tests.h | 2 +- 4597274261Sdelphij 28 files changed, 467 insertions(+), 333 deletions(-) 4598274261Sdelphij 4599207753Smmcommit 29fd321033276261b87da7be5223db33d879a4c7 4600207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4601274261SdelphijDate: 2009-10-02 14:35:56 +0300 4602207753Smm 4603207753Smm Add support for --enable-assume-ram=SIZE. 4604207753Smm 4605274261Sdelphij INSTALL | 16 ++++++++++++++++ 4606274261Sdelphij configure.ac | 24 ++++++++++++++++++++++++ 4607274261Sdelphij src/xz/hardware.c | 7 +++---- 4608274261Sdelphij src/xzdec/xzdec.c | 5 +++-- 4609274261Sdelphij 4 files changed, 46 insertions(+), 6 deletions(-) 4610274261Sdelphij 4611207753Smmcommit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25 4612207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4613274261SdelphijDate: 2009-10-02 11:28:17 +0300 4614207753Smm 4615207753Smm Use unaligned access (if possible) on both endiannesses 4616207753Smm in lz_encoder_hash.h. 4617207753Smm 4618274261Sdelphij src/liblzma/lz/lz_encoder_hash.h | 4 ++-- 4619274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 4620274261Sdelphij 4621207753Smmcommit c5f68b5cc79085a87f950fea53843e27f328068e 4622207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4623274261SdelphijDate: 2009-10-02 11:03:26 +0300 4624207753Smm 4625207753Smm Make liblzma produce the same output on both endiannesses. 4626207753Smm 4627207753Smm Seems that it is a problem in some cases if the same 4628207753Smm version of XZ Utils produces different output on different 4629207753Smm endiannesses, so this commit fixes that problem. The output 4630207753Smm will still vary between different XZ Utils versions, but I 4631207753Smm cannot avoid that for now. 4632207753Smm 4633207753Smm This commit bloatens the code on big endian systems by 1 KiB, 4634207753Smm which should be OK since liblzma is bloated already. ;-) 4635207753Smm 4636274261Sdelphij src/liblzma/check/crc32_tablegen.c | 30 +++++++++++++++ 4637274261Sdelphij src/liblzma/lz/Makefile.inc | 1 + 4638274261Sdelphij src/liblzma/lz/lz_encoder.c | 7 +++- 4639274261Sdelphij src/liblzma/lz/lz_encoder_hash.h | 35 +++++++++++------ 4640274261Sdelphij src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++++ 4641274261Sdelphij src/liblzma/lz/lz_encoder_mf.c | 1 - 4642274261Sdelphij 6 files changed, 128 insertions(+), 14 deletions(-) 4643274261Sdelphij 4644207753Smmcommit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a 4645207753SmmAuthor: Mike Frysinger <vapier@gentoo.org> 4646274261SdelphijDate: 2009-09-26 12:51:50 -0400 4647207753Smm 4648207753Smm add lzmainfo to gitignore 4649207753Smm 4650207753Smm Signed-off-by: Mike Frysinger <vapier@gentoo.org> 4651207753Smm 4652274261Sdelphij .gitignore | 2 ++ 4653274261Sdelphij 1 file changed, 2 insertions(+) 4654274261Sdelphij 4655207753Smmcommit 188a1dcd0cc7867810ed3a55c598d0680922c63b 4656207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4657274261SdelphijDate: 2009-09-27 11:53:36 +0300 4658207753Smm 4659207753Smm Updated THANKS. 4660207753Smm 4661274261Sdelphij THANKS | 1 + 4662274261Sdelphij 1 file changed, 1 insertion(+) 4663274261Sdelphij 4664207753Smmcommit db9119b9181b307e7ac5d2bae82444d04b902b59 4665207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4666274261SdelphijDate: 2009-09-27 11:48:54 +0300 4667207753Smm 4668207753Smm Work around a bug in Interix header files. 4669207753Smm 4670207753Smm Thanks to Markus Duft for the patch. 4671207753Smm 4672274261Sdelphij src/common/sysdefs.h | 6 ++++++ 4673274261Sdelphij 1 file changed, 6 insertions(+) 4674274261Sdelphij 4675207753Smmcommit b3d105e69786a45963176fd2193abe75e05ba738 4676207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4677274261SdelphijDate: 2009-09-24 17:50:17 +0300 4678207753Smm 4679207753Smm Fix an error in OpenVMS-specific code. 4680207753Smm 4681207753Smm Thanks to Jouk Jansen. 4682207753Smm 4683274261Sdelphij src/xz/file_io.c | 2 +- 4684274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 4685274261Sdelphij 4686207753Smmcommit 5e000ff00d4d01e559397b49eb648ad3f159d496 4687207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4688274261SdelphijDate: 2009-09-22 18:59:56 +0300 4689207753Smm 4690207753Smm Added OpenVMS-specific information to INSTALL. 4691207753Smm 4692274261Sdelphij INSTALL | 11 +++++++++++ 4693274261Sdelphij 1 file changed, 11 insertions(+) 4694274261Sdelphij 4695207753Smmcommit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4 4696207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4697274261SdelphijDate: 2009-09-22 14:03:02 +0300 4698207753Smm 4699207753Smm Better fixes for OpenVMS support. 4700207753Smm 4701207753Smm Thanks to Jouk Jansen. 4702207753Smm 4703274261Sdelphij src/xz/file_io.c | 19 ++++++++++++++++--- 4704274261Sdelphij 1 file changed, 16 insertions(+), 3 deletions(-) 4705274261Sdelphij 4706207753Smmcommit 4c3630ec4179fe9265407a35c4db1374ffc82372 4707207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4708274261SdelphijDate: 2009-09-22 13:40:19 +0300 4709207753Smm 4710207753Smm Avoid non-standard preprocessor construct. 4711207753Smm 4712207753Smm Thanks to Jouk Jansen. 4713207753Smm 4714274261Sdelphij src/common/tuklib_common.h | 11 +++++++---- 4715274261Sdelphij 1 file changed, 7 insertions(+), 4 deletions(-) 4716274261Sdelphij 4717207753Smmcommit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9 4718207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4719274261SdelphijDate: 2009-09-21 19:50:09 +0300 4720207753Smm 4721207753Smm Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin. 4722207753Smm 4723207753Smm Thanks to Charles Wilson. 4724207753Smm 4725274261Sdelphij src/common/tuklib_common.h | 3 ++- 4726274261Sdelphij 1 file changed, 2 insertions(+), 1 deletion(-) 4727274261Sdelphij 4728207753Smmcommit e599bba4216c0edb8cc8f40adad3a6dba88685f4 4729207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4730274261SdelphijDate: 2009-09-19 09:47:30 +0300 4731207753Smm 4732207753Smm Various changes. 4733207753Smm 4734207753Smm Separate a few reusable components from XZ Utils specific 4735207753Smm code. The reusable code is now in "tuklib" modules. A few 4736207753Smm more could be separated still, e.g. bswap.h. 4737207753Smm 4738207753Smm Fix some bugs in lzmainfo. 4739207753Smm 4740207753Smm Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol 4741207753Smm for help. 4742207753Smm 4743207753Smm Add OpenVMS support into physmem. Add a few #ifdefs to ease 4744207753Smm building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the 4745207753Smm original patch. 4746207753Smm 4747274261Sdelphij THANKS | 1 + 4748274261Sdelphij configure.ac | 12 ++-- 4749274261Sdelphij m4/lc_cpucores.m4 | 57 ---------------- 4750274261Sdelphij m4/lc_physmem.m4 | 84 ----------------------- 4751274261Sdelphij m4/tuklib_common.m4 | 22 ++++++ 4752274261Sdelphij m4/tuklib_cpucores.m4 | 72 ++++++++++++++++++++ 4753274261Sdelphij m4/tuklib_physmem.m4 | 119 ++++++++++++++++++++++++++++++++ 4754274261Sdelphij m4/tuklib_progname.m4 | 25 +++++++ 4755274261Sdelphij src/common/cpucores.h | 51 -------------- 4756274261Sdelphij src/common/open_stdxxx.h | 49 -------------- 4757274261Sdelphij src/common/physmem.h | 144 --------------------------------------- 4758274261Sdelphij src/common/sysdefs.h | 4 -- 4759274261Sdelphij src/common/tuklib_common.h | 67 ++++++++++++++++++ 4760274261Sdelphij src/common/tuklib_config.h | 1 + 4761274261Sdelphij src/common/tuklib_cpucores.c | 46 +++++++++++++ 4762274261Sdelphij src/common/tuklib_cpucores.h | 23 +++++++ 4763274261Sdelphij src/common/tuklib_exit.c | 57 ++++++++++++++++ 4764274261Sdelphij src/common/tuklib_exit.h | 25 +++++++ 4765274261Sdelphij src/common/tuklib_gettext.h | 44 ++++++++++++ 4766274261Sdelphij src/common/tuklib_open_stdxxx.c | 51 ++++++++++++++ 4767274261Sdelphij src/common/tuklib_open_stdxxx.h | 23 +++++++ 4768274261Sdelphij src/common/tuklib_physmem.c | 146 ++++++++++++++++++++++++++++++++++++++++ 4769274261Sdelphij src/common/tuklib_physmem.h | 28 ++++++++ 4770274261Sdelphij src/common/tuklib_progname.c | 50 ++++++++++++++ 4771274261Sdelphij src/common/tuklib_progname.h | 32 +++++++++ 4772274261Sdelphij src/lzmainfo/Makefile.am | 5 +- 4773274261Sdelphij src/lzmainfo/lzmainfo.c | 65 ++++++------------ 4774274261Sdelphij src/xz/Makefile.am | 7 +- 4775274261Sdelphij src/xz/args.c | 8 +-- 4776274261Sdelphij src/xz/file_io.c | 43 ++++++------ 4777274261Sdelphij src/xz/hardware.c | 8 +-- 4778274261Sdelphij src/xz/main.c | 100 ++++++--------------------- 4779274261Sdelphij src/xz/main.h | 7 -- 4780274261Sdelphij src/xz/message.c | 30 +++++---- 4781274261Sdelphij src/xz/message.h | 8 +-- 4782274261Sdelphij src/xz/private.h | 11 +-- 4783274261Sdelphij src/xz/signals.c | 2 + 4784274261Sdelphij src/xz/signals.h | 17 +++-- 4785274261Sdelphij src/xz/suffix.c | 2 +- 4786274261Sdelphij src/xzdec/Makefile.am | 13 +++- 4787274261Sdelphij src/xzdec/xzdec.c | 55 +++++---------- 4788274261Sdelphij 41 files changed, 974 insertions(+), 640 deletions(-) 4789274261Sdelphij 4790207753Smmcommit 49cfc8d392cf535f8dd10233225b1fc726fec9ef 4791207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4792274261SdelphijDate: 2009-09-15 21:07:23 +0300 4793207753Smm 4794207753Smm Fix incorrect use of "restrict". 4795207753Smm 4796274261Sdelphij src/liblzma/api/lzma/vli.h | 4 ++-- 4797274261Sdelphij src/liblzma/common/vli_decoder.c | 2 +- 4798274261Sdelphij src/liblzma/common/vli_encoder.c | 2 +- 4799274261Sdelphij 3 files changed, 4 insertions(+), 4 deletions(-) 4800274261Sdelphij 4801207753Smmcommit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c 4802207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4803274261SdelphijDate: 2009-09-12 14:09:17 +0300 4804207753Smm 4805207753Smm Fix GCC version check for nothrow attribute. 4806207753Smm 4807274261Sdelphij src/liblzma/api/lzma.h | 2 +- 4808274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 4809274261Sdelphij 4810207753Smmcommit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224 4811207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4812274261SdelphijDate: 2009-09-12 14:08:15 +0300 4813207753Smm 4814207753Smm Updated THANKS. 4815207753Smm 4816274261Sdelphij THANKS | 1 + 4817274261Sdelphij 1 file changed, 1 insertion(+) 4818274261Sdelphij 4819207753Smmcommit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac 4820207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4821274261SdelphijDate: 2009-09-12 14:07:36 +0300 4822207753Smm 4823207753Smm A few grammar fixes. 4824207753Smm 4825207753Smm Thanks to Christian Weisgerber for pointing out some of these. 4826207753Smm 4827274261Sdelphij src/liblzma/api/lzma.h | 4 ++-- 4828274261Sdelphij src/liblzma/api/lzma/vli.h | 4 ++-- 4829274261Sdelphij src/liblzma/common/block_header_encoder.c | 2 +- 4830274261Sdelphij src/liblzma/common/filter_common.c | 2 +- 4831274261Sdelphij src/liblzma/lz/lz_encoder.h | 10 +++++----- 4832274261Sdelphij src/xz/message.c | 22 +++++++++++----------- 4833274261Sdelphij src/xzdec/xzdec.c | 2 +- 4834274261Sdelphij 7 files changed, 23 insertions(+), 23 deletions(-) 4835274261Sdelphij 4836207753Smmcommit 8905a33daadcd2d6557c83c81c490b827d566c94 4837207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4838274261SdelphijDate: 2009-09-11 17:08:15 +0300 4839207753Smm 4840207753Smm Updated THANKS. 4841207753Smm 4842274261Sdelphij THANKS | 1 + 4843274261Sdelphij 1 file changed, 1 insertion(+) 4844274261Sdelphij 4845207753Smmcommit 68059334ff435300ab1ce2c616b0eee1b0d88dd9 4846207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4847274261SdelphijDate: 2009-09-11 17:06:32 +0300 4848207753Smm 4849207753Smm Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors. 4850207753Smm 4851274261Sdelphij dos/config.h | 3 +++ 4852274261Sdelphij windows/config.h | 3 +++ 4853274261Sdelphij 2 files changed, 6 insertions(+) 4854274261Sdelphij 4855207753Smmcommit 221be761f467da76875247bc02d7a1716682075d 4856207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4857274261SdelphijDate: 2009-09-11 10:24:09 +0300 4858207753Smm 4859207753Smm Use $(LN_EXEEXT) in symlinks to executables. 4860207753Smm 4861207753Smm This fixes "make install" on operating systems using 4862207753Smm a suffix for executables. 4863207753Smm 4864207753Smm Cygwin is treated specially. The symlink names won't have 4865207753Smm .exe suffix even though the executables themselves have. 4866207753Smm Thanks to Charles Wilson. 4867207753Smm 4868274261Sdelphij configure.ac | 9 +++++++++ 4869274261Sdelphij src/xz/Makefile.am | 4 ++-- 4870274261Sdelphij 2 files changed, 11 insertions(+), 2 deletions(-) 4871274261Sdelphij 4872207753Smmcommit 18a4233a53d9b82abac7db7d7804684c5fea9c2c 4873207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4874274261SdelphijDate: 2009-09-11 09:25:09 +0300 4875207753Smm 4876207753Smm Fix a couple of warnings. 4877207753Smm 4878274261Sdelphij src/liblzma/common/stream_decoder.c | 2 +- 4879274261Sdelphij src/liblzma/lz/lz_encoder.c | 5 +---- 4880274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 2 +- 4881274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++---- 4882274261Sdelphij tests/tests.h | 2 +- 4883274261Sdelphij 5 files changed, 8 insertions(+), 11 deletions(-) 4884274261Sdelphij 4885207753Smmcommit 429910b2ba67611d8df60d1a9da9641bdb5f82b4 4886207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4887274261SdelphijDate: 2009-09-05 18:39:21 +0300 4888207753Smm 4889207753Smm Add OS/2-specific code to physmem.h. 4890207753Smm 4891207753Smm Also move DJGPP-specific code near the code meant 4892207753Smm for other DOS-like systems. 4893207753Smm 4894274261Sdelphij src/common/physmem.h | 32 +++++++++++++++++++++----------- 4895274261Sdelphij 1 file changed, 21 insertions(+), 11 deletions(-) 4896274261Sdelphij 4897207753Smmcommit 7aca7b3174bcbba4a4915682ff0cd405d63f5740 4898207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4899274261SdelphijDate: 2009-09-05 01:21:15 +0300 4900207753Smm 4901207753Smm Updated THANKS. 4902207753Smm 4903274261Sdelphij THANKS | 2 ++ 4904274261Sdelphij 1 file changed, 2 insertions(+) 4905274261Sdelphij 4906207753Smmcommit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071 4907207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4908274261SdelphijDate: 2009-09-05 01:20:29 +0300 4909207753Smm 4910207753Smm Use sysctl() != -1 instead of !sysctl() to check if 4911207753Smm the function call succeeded. 4912207753Smm 4913207753Smm NetBSD 4.0 returns positive values on success, but 4914207753Smm NetBSD Current and FreeBSD return zero. OpenBSD's 4915207753Smm man page doesn't tell what sysctl() returns on 4916207753Smm success. All these BSDs return -1 on error. 4917207753Smm 4918207753Smm Thanks to Robert Elz and Thomas Klausner. 4919207753Smm 4920274261Sdelphij src/common/cpucores.h | 2 +- 4921274261Sdelphij src/common/physmem.h | 2 +- 4922274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 4923274261Sdelphij 4924207753Smmcommit 173368911cf09ab0b03fc4db8f3d4b81d86dce32 4925207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4926274261SdelphijDate: 2009-09-02 09:43:51 +0300 4927207753Smm 4928207753Smm Mention in INSTALL that --enable-small doesn't modify CFLAGS. 4929207753Smm 4930274261Sdelphij INSTALL | 4 ++++ 4931274261Sdelphij 1 file changed, 4 insertions(+) 4932274261Sdelphij 4933207753Smmcommit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc 4934207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4935274261SdelphijDate: 2009-09-01 20:40:01 +0300 4936207753Smm 4937207753Smm Refactored option parsing. 4938207753Smm 4939274261Sdelphij src/xz/options.c | 70 ++++++++++++++++++++++++++++---------------------------- 4940274261Sdelphij 1 file changed, 35 insertions(+), 35 deletions(-) 4941274261Sdelphij 4942207753Smmcommit 25adaaa56e2e51a47a910a8d73452414619a2e53 4943207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4944274261SdelphijDate: 2009-09-01 20:23:30 +0300 4945207753Smm 4946207753Smm Fix options parsing bug in xz. 4947207753Smm 4948207753Smm xz used to reject "xz --lzma2=pb=2," while 4949207753Smm "xz --lzma2=pb=2,," worked. Now both work. 4950207753Smm 4951274261Sdelphij src/xz/options.c | 6 ++---- 4952274261Sdelphij 1 file changed, 2 insertions(+), 4 deletions(-) 4953274261Sdelphij 4954207753Smmcommit 5f6dddc6c911df02ba660564e78e6de80947c947 4955207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4956274261SdelphijDate: 2009-09-01 20:20:19 +0300 4957207753Smm 4958207753Smm Updated TODO. 4959207753Smm 4960274261Sdelphij TODO | 3 +++ 4961274261Sdelphij 1 file changed, 3 insertions(+) 4962274261Sdelphij 4963207753Smmcommit 655457b9ada5ec7db398c5392e41290f3f332ea8 4964207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4965274261SdelphijDate: 2009-08-31 21:59:25 +0300 4966207753Smm 4967207753Smm Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 4968207753Smm and use a fix that works on all systems using 4969207753Smm GNU assembler. 4970207753Smm 4971207753Smm Maybe the assembler code is used e.g. on Solaris x86 4972207753Smm but let's worry about it if this doesn't work on it. 4973207753Smm 4974274261Sdelphij src/liblzma/check/crc32_x86.S | 7 ++----- 4975274261Sdelphij src/liblzma/check/crc64_x86.S | 7 ++----- 4976274261Sdelphij 2 files changed, 4 insertions(+), 10 deletions(-) 4977274261Sdelphij 4978207753Smmcommit 162189c3477953805a28f96d3a75cb9ab9417928 4979207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4980274261SdelphijDate: 2009-08-30 17:29:19 +0300 4981207753Smm 4982207753Smm Updated THANKS. 4983207753Smm 4984274261Sdelphij THANKS | 1 + 4985274261Sdelphij 1 file changed, 1 insertion(+) 4986274261Sdelphij 4987207753Smmcommit 2331f5f97af3e5897e23da45d9df3d664099c7f8 4988207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4989274261SdelphijDate: 2009-08-30 17:28:52 +0300 4990207753Smm 4991207753Smm Add more OS/2 specific info to INSTALL. 4992207753Smm 4993274261Sdelphij INSTALL | 5 +++++ 4994274261Sdelphij 1 file changed, 5 insertions(+) 4995274261Sdelphij 4996207753Smmcommit 94c66b3297b3ad307eee93cf6b160e3c43997f11 4997207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4998274261SdelphijDate: 2009-08-29 14:43:52 +0300 4999207753Smm 5000207753Smm Use even more hackish way to support thousand separators. 5001207753Smm 5002207753Smm Seems that in addition on Windows and DOS, also OpenBSD 5003207753Smm lacks support for %'d style printf() format strings. 5004207753Smm So far that is the only modern POSIX-like system I know 5005207753Smm with this problem, but after this hack, the thousand 5006207753Smm separator shouldn't be a problem on any system. 5007207753Smm 5008207753Smm Maybe testing if a format string like %'d produces 5009207753Smm reasonable output is invoking undefined behavior on some 5010207753Smm systems, but so far all the problematic systems I've tried 5011207753Smm just print the raw format string (e.g. %'d prints 'd). 5012207753Smm 5013207753Smm Maybe Autoconf test would have been better, but this 5014207753Smm hack works also for cross-compilation, and avoids 5015207753Smm recompilation in case the system libc starts to support 5016207753Smm the thousand separator. 5017207753Smm 5018274261Sdelphij src/xz/util.c | 36 +++++++++++++++++++++++++----------- 5019274261Sdelphij 1 file changed, 25 insertions(+), 11 deletions(-) 5020274261Sdelphij 5021207753Smmcommit 3432e9c6aab851da1227b63dce645d7f190c04d8 5022207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5023274261SdelphijDate: 2009-08-29 13:42:56 +0300 5024207753Smm 5025207753Smm Updated THANKS. 5026207753Smm 5027274261Sdelphij THANKS | 3 +++ 5028274261Sdelphij 1 file changed, 3 insertions(+) 5029274261Sdelphij 5030207753Smmcommit 27414daadf5727e8ab942374b5ec1c8990122878 5031207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5032274261SdelphijDate: 2009-08-29 13:39:21 +0300 5033207753Smm 5034207753Smm Fix sysctl() usage. 5035207753Smm 5036207753Smm This fixes build on *BSDs and Darwin. 5037207753Smm 5038207753Smm Thanks to Jukka Salmi for the patches. 5039207753Smm Richard Koch reported the problem too. 5040207753Smm 5041274261Sdelphij m4/lc_cpucores.m4 | 2 +- 5042274261Sdelphij m4/lc_physmem.m4 | 2 +- 5043274261Sdelphij src/common/cpucores.h | 2 +- 5044274261Sdelphij src/common/physmem.h | 2 +- 5045274261Sdelphij 4 files changed, 4 insertions(+), 4 deletions(-) 5046274261Sdelphij 5047207753Smmcommit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 5048207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5049274261SdelphijDate: 2009-08-29 13:35:23 +0300 5050207753Smm 5051207753Smm Fix x86 assembler on GCC 3. 5052207753Smm 5053207753Smm Thanks to Karl Berry. 5054207753Smm 5055274261Sdelphij src/liblzma/check/crc32_x86.S | 7 +++++-- 5056274261Sdelphij src/liblzma/check/crc64_x86.S | 7 +++++-- 5057274261Sdelphij 2 files changed, 10 insertions(+), 4 deletions(-) 5058274261Sdelphij 5059207753Smmcommit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8 5060207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5061274261SdelphijDate: 2009-08-27 18:36:59 +0300 5062207753Smm 5063207753Smm "make dist" fixes 5064207753Smm 5065274261Sdelphij Makefile.am | 13 ++++++------- 5066274261Sdelphij 1 file changed, 6 insertions(+), 7 deletions(-) 5067274261Sdelphij 5068207753Smmcommit c8c184db1c95bf70f78256ec6237845a57f342af 5069207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5070274261SdelphijDate: 2009-08-27 17:08:33 +0300 5071207753Smm 5072207753Smm Update xz man page date. 5073207753Smm 5074274261Sdelphij src/xz/xz.1 | 2 +- 5075274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 5076274261Sdelphij 5077207753Smmcommit 9756fce565e98b8fa5fe6ead296d84e7601ec254 5078207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5079274261SdelphijDate: 2009-08-27 17:00:22 +0300 5080207753Smm 5081207753Smm Fix the debug directory. 5082207753Smm 5083207753Smm 6a2eb54092fc625d59921a607ff68cd1a90aa898 and 5084207753Smm 71f18e8a066a01dda0c8e5508b135ef104e43e4c required 5085207753Smm some changes that weren't applied in debug. 5086207753Smm 5087274261Sdelphij debug/Makefile.am | 5 +++-- 5088274261Sdelphij debug/full_flush.c | 1 + 5089274261Sdelphij debug/known_sizes.c | 1 + 5090274261Sdelphij debug/memusage.c | 1 + 5091274261Sdelphij debug/sync_flush.c | 1 + 5092274261Sdelphij 5 files changed, 7 insertions(+), 2 deletions(-) 5093274261Sdelphij 5094207753Smmcommit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea 5095207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5096274261SdelphijDate: 2009-08-27 16:36:40 +0300 5097207753Smm 5098207753Smm Add missing files to EXTRA_DIST. 5099207753Smm 5100274261Sdelphij Makefile.am | 11 +++++++---- 5101274261Sdelphij 1 file changed, 7 insertions(+), 4 deletions(-) 5102274261Sdelphij 5103207753Smmcommit 04dcbfdeb921e5f361a4487134e91e23fffbe09d 5104207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5105274261SdelphijDate: 2009-08-27 16:21:22 +0300 5106207753Smm 5107207753Smm Bumped version to 4.999.9beta. 5108207753Smm 5109274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 5110274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 5111274261Sdelphij 5112207753Smmcommit fd7618611a22f42a6913bc8d518c9bbc9252d6b4 5113207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5114274261SdelphijDate: 2009-08-27 16:17:47 +0300 5115207753Smm 5116207753Smm Updated THANKS. 5117207753Smm 5118274261Sdelphij THANKS | 2 ++ 5119274261Sdelphij 1 file changed, 2 insertions(+) 5120274261Sdelphij 5121207753Smmcommit c29e76c0f910fca0a90a50b78d337f6c32623e9d 5122207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5123274261SdelphijDate: 2009-08-27 16:12:52 +0300 5124207753Smm 5125207753Smm .xz file format specification 1.0.4 (probably). 5126207753Smm 5127207753Smm Thanks to Christian von Roques, Peter Lawler, 5128207753Smm and Jim Meyering for the fixes. 5129207753Smm 5130274261Sdelphij doc/xz-file-format.txt | 26 +++++++++++++++----------- 5131274261Sdelphij 1 file changed, 15 insertions(+), 11 deletions(-) 5132274261Sdelphij 5133207753Smmcommit 696d7ee3953beaf4f0ed18e78917ccf300431966 5134207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5135274261SdelphijDate: 2009-08-27 15:43:54 +0300 5136207753Smm 5137207753Smm Require GNU libtool 2.2. 5138207753Smm 5139274261Sdelphij configure.ac | 13 +++---------- 5140274261Sdelphij 1 file changed, 3 insertions(+), 10 deletions(-) 5141274261Sdelphij 5142207753Smmcommit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d 5143207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5144274261SdelphijDate: 2009-08-27 15:34:45 +0300 5145207753Smm 5146207753Smm Add "dos" to EXTRA_DIST. 5147207753Smm 5148274261Sdelphij Makefile.am | 1 + 5149274261Sdelphij 1 file changed, 1 insertion(+) 5150274261Sdelphij 5151207753Smmcommit 35b29e4424ced5a3ababf132283e519080c7b298 5152207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5153274261SdelphijDate: 2009-08-27 15:23:27 +0300 5154207753Smm 5155207753Smm Updated TODO. 5156207753Smm 5157274261Sdelphij TODO | 6 ++++++ 5158274261Sdelphij 1 file changed, 6 insertions(+) 5159274261Sdelphij 5160207753Smmcommit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea 5161207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5162274261SdelphijDate: 2009-08-27 15:17:00 +0300 5163207753Smm 5164207753Smm Some xz man page improvements. 5165207753Smm 5166274261Sdelphij src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++++------------- 5167274261Sdelphij 1 file changed, 62 insertions(+), 16 deletions(-) 5168274261Sdelphij 5169207753Smmcommit 371b04e19fc9051dbaeec51ec0badec6a1f0699d 5170207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5171274261SdelphijDate: 2009-08-27 10:41:01 +0300 5172207753Smm 5173207753Smm Removed doc/bugs.txt. 5174207753Smm 5175274261Sdelphij doc/bugs.txt | 46 ---------------------------------------------- 5176274261Sdelphij 1 file changed, 46 deletions(-) 5177274261Sdelphij 5178207753Smmcommit d88c4072b36d3a76f839185799fb1d91037a1b81 5179207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5180274261SdelphijDate: 2009-08-27 10:40:25 +0300 5181207753Smm 5182207753Smm Updated README. 5183207753Smm 5184207753Smm It now includes bug reporting instructions/tips. 5185207753Smm 5186274261Sdelphij README | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 5187274261Sdelphij 1 file changed, 55 insertions(+), 10 deletions(-) 5188274261Sdelphij 5189207753Smmcommit 92e536d8b8d33a6b12d0802bcd7be4437046f13e 5190207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5191274261SdelphijDate: 2009-08-27 10:21:18 +0300 5192207753Smm 5193207753Smm Fix a typo in FAQ. 5194207753Smm 5195207753Smm Thanks to Jim Meyering. 5196207753Smm 5197207753Smm (From now on, I try to always remember to put 5198207753Smm the relevant thanks to commit messages.) 5199207753Smm 5200274261Sdelphij doc/faq.txt | 2 +- 5201274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 5202274261Sdelphij 5203207753Smmcommit 3e2ba8b58585743e59251e69ad2783eb08357079 5204207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5205274261SdelphijDate: 2009-08-27 10:13:46 +0300 5206207753Smm 5207207753Smm Updates to liblzma API headers. 5208207753Smm 5209207753Smm Added lzma_nothrow for every function. It adds 5210207753Smm throw() when the header is used in C++ code. 5211207753Smm 5212207753Smm Some lzma_attrs were added or removed. 5213207753Smm 5214207753Smm Lots of comments were improved. 5215207753Smm 5216274261Sdelphij src/liblzma/api/lzma.h | 20 ++++++++ 5217274261Sdelphij src/liblzma/api/lzma/base.h | 48 +++++++++--------- 5218274261Sdelphij src/liblzma/api/lzma/block.h | 38 ++++++++------- 5219274261Sdelphij src/liblzma/api/lzma/check.h | 22 +++++---- 5220274261Sdelphij src/liblzma/api/lzma/container.h | 36 ++++++++------ 5221274261Sdelphij src/liblzma/api/lzma/filter.h | 81 +++++++++++++++++++------------ 5222274261Sdelphij src/liblzma/api/lzma/index.h | 97 ++++++++++++++++++++++--------------- 5223274261Sdelphij src/liblzma/api/lzma/index_hash.h | 14 ++++-- 5224274261Sdelphij src/liblzma/api/lzma/lzma.h | 87 +++++++++++++++++---------------- 5225274261Sdelphij src/liblzma/api/lzma/stream_flags.h | 12 ++--- 5226274261Sdelphij src/liblzma/api/lzma/version.h | 10 ++-- 5227274261Sdelphij src/liblzma/api/lzma/vli.h | 7 +-- 5228274261Sdelphij 12 files changed, 275 insertions(+), 197 deletions(-) 5229274261Sdelphij 5230207753Smmcommit 8e8ebc17c535a1f8846718059b48417409c37050 5231207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5232274261SdelphijDate: 2009-08-18 00:30:09 +0300 5233207753Smm 5234207753Smm Install faq.txt. 5235207753Smm 5236274261Sdelphij Makefile.am | 1 + 5237274261Sdelphij 1 file changed, 1 insertion(+) 5238274261Sdelphij 5239207753Smmcommit b198e770a146e4a41f91a93f0b233713f2515848 5240207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5241274261SdelphijDate: 2009-08-18 00:26:48 +0300 5242207753Smm 5243207753Smm Updated faq.txt. 5244207753Smm 5245207753Smm Some questions worth answering were removed, because I 5246207753Smm currently don't have good up to date answers to them. 5247207753Smm 5248274261Sdelphij doc/faq.txt | 239 +++++++++++++++++++----------------------------------------- 5249274261Sdelphij 1 file changed, 73 insertions(+), 166 deletions(-) 5250274261Sdelphij 5251207753Smmcommit fe111a25cd788d31b581996e4533910388a7f0a9 5252207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5253274261SdelphijDate: 2009-08-17 22:45:50 +0300 5254207753Smm 5255207753Smm Some xz man changes. 5256207753Smm 5257274261Sdelphij src/xz/xz.1 | 88 ++++++++++++++++++++++++++++++------------------------------- 5258274261Sdelphij 1 file changed, 43 insertions(+), 45 deletions(-) 5259274261Sdelphij 5260207753Smmcommit 10242a21e9abda0c5c6a03501703cc40b8a699a5 5261207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5262274261SdelphijDate: 2009-08-16 22:15:42 +0300 5263207753Smm 5264207753Smm Updated THANKS. 5265207753Smm 5266274261Sdelphij THANKS | 1 + 5267274261Sdelphij 1 file changed, 1 insertion(+) 5268274261Sdelphij 5269207753Smmcommit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d 5270207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5271274261SdelphijDate: 2009-08-16 22:15:13 +0300 5272207753Smm 5273207753Smm Fix data corruption in LZ/LZMA2 encoder. 5274207753Smm 5275207753Smm Thanks to Jonathan Stott for the bug report. 5276207753Smm 5277274261Sdelphij src/liblzma/lz/lz_encoder.h | 2 +- 5278274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 5279274261Sdelphij 5280207753Smmcommit 66da129c8ec33dd66acc92f113f7c1ca740ca81a 5281207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5282274261SdelphijDate: 2009-08-13 15:15:37 +0300 5283207753Smm 5284207753Smm Updated INSTALL and PACKAGERS to match the changes 5285207753Smm made in --enable-dynamic. 5286207753Smm 5287274261Sdelphij INSTALL | 20 ++++++++++++++++---- 5288274261Sdelphij PACKAGERS | 11 ++++++----- 5289274261Sdelphij 2 files changed, 22 insertions(+), 9 deletions(-) 5290274261Sdelphij 5291207753Smmcommit 8238c4b2402f952c4e492e5b778aa272e57b6705 5292207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5293274261SdelphijDate: 2009-08-13 15:03:46 +0300 5294207753Smm 5295207753Smm Link lzmainfo against shared liblzma by default. 5296207753Smm 5297274261Sdelphij src/lzmainfo/Makefile.am | 4 ++-- 5298274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 5299274261Sdelphij 5300207753Smmcommit 71f18e8a066a01dda0c8e5508b135ef104e43e4c 5301207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5302274261SdelphijDate: 2009-08-13 15:00:21 +0300 5303207753Smm 5304207753Smm Make --enable-dynamic a tristate option. 5305207753Smm 5306207753Smm Some programs will by default be linked against static 5307207753Smm liblzma and some against shared liblzma. --enable-dynamic 5308207753Smm now allows overriding the default to both directions 5309207753Smm (all dynamic or all static) even when building both 5310207753Smm shared and static liblzma. 5311207753Smm 5312207753Smm This is quite messy compared to how simple thing it is supposed 5313207753Smm to be. The complexity is mostly due to Windows support. 5314207753Smm 5315274261Sdelphij configure.ac | 77 ++++++++++++++++++++++++++++++++++++++++++++---------------- 5316274261Sdelphij 1 file changed, 57 insertions(+), 20 deletions(-) 5317274261Sdelphij 5318207753Smmcommit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61 5319207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5320274261SdelphijDate: 2009-08-13 12:56:47 +0300 5321207753Smm 5322207753Smm Fix xz Makefile.am for the man page. 5323207753Smm 5324207753Smm install-exec-hook -> install-data-hook 5325207753Smm 5326274261Sdelphij src/xz/Makefile.am | 2 ++ 5327274261Sdelphij 1 file changed, 2 insertions(+) 5328274261Sdelphij 5329207753Smmcommit e51b4e49e800bd84e6d589dca2964d3985e88139 5330207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5331274261SdelphijDate: 2009-08-13 12:55:45 +0300 5332207753Smm 5333207753Smm Add lzmainfo for backward compatibility with LZMA Utils. 5334207753Smm 5335207753Smm lzmainfo now links against static liblzma. In contrast 5336207753Smm to other command line tools in XZ Utils, linking lzmainfo 5337207753Smm against static liblzma by default is dumb. This will be 5338207753Smm fixed once I have fixed some related issues in configure.ac. 5339207753Smm 5340274261Sdelphij configure.ac | 1 + 5341274261Sdelphij src/Makefile.am | 2 +- 5342274261Sdelphij src/lzmainfo/Makefile.am | 29 ++++++ 5343274261Sdelphij src/lzmainfo/lzmainfo.1 | 55 +++++++++++ 5344274261Sdelphij src/lzmainfo/lzmainfo.c | 242 +++++++++++++++++++++++++++++++++++++++++++++++ 5345274261Sdelphij 5 files changed, 328 insertions(+), 1 deletion(-) 5346274261Sdelphij 5347207753Smmcommit a4165d0584376d948c213ec93c6065d24ff6a5e7 5348207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5349274261SdelphijDate: 2009-08-13 12:42:36 +0300 5350207753Smm 5351207753Smm Sync some error messages from xz to xzdec. 5352207753Smm 5353207753Smm Make xz error message translation usable outside 5354207753Smm xz (at least in upcoming lzmainfo). 5355207753Smm 5356274261Sdelphij src/xz/main.c | 4 ++-- 5357274261Sdelphij src/xzdec/xzdec.c | 6 +++--- 5358274261Sdelphij 2 files changed, 5 insertions(+), 5 deletions(-) 5359274261Sdelphij 5360207753Smmcommit df636eb4e066b4e154ce8e66e82c87ba1db652a6 5361207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5362274261SdelphijDate: 2009-08-13 09:37:21 +0300 5363207753Smm 5364207753Smm Add xz man page to manfiles in toplevel Makefile.am. 5365207753Smm 5366274261Sdelphij Makefile.am | 1 + 5367274261Sdelphij 1 file changed, 1 insertion(+) 5368274261Sdelphij 5369207753Smmcommit 180bdf58ea5bb07941e0a99b304d9aa832198748 5370207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5371274261SdelphijDate: 2009-08-13 09:37:01 +0300 5372207753Smm 5373207753Smm Fix first line of xz man page. 5374207753Smm 5375274261Sdelphij src/xz/xz.1 | 2 +- 5376274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 5377274261Sdelphij 5378207753Smmcommit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4 5379207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5380274261SdelphijDate: 2009-08-10 11:22:31 +0300 5381207753Smm 5382207753Smm Added a rough version of the xz man page. 5383207753Smm 5384274261Sdelphij src/xz/Makefile.am | 15 + 5385274261Sdelphij src/xz/xz.1 | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5386274261Sdelphij 2 files changed, 1221 insertions(+) 5387274261Sdelphij 5388207753Smmcommit e71903fc6101f1c039d702e335b08aad1e1b4100 5389207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 5390274261SdelphijDate: 2009-08-09 13:41:20 -0500 5391207753Smm 5392207753Smm ���xzdiff a.xz b.xz��� always fails 5393207753Smm 5394207753Smm Attempts to compare two compressed files result in no output and 5395207753Smm exit status 2. 5396207753Smm 5397207753Smm Instead of going to standard output, ���diff��� output is being 5398207753Smm captured in the xz_status variable along with the exit status from 5399207753Smm the decompression commands. Later, when this variable is examined 5400207753Smm for nonzero status codes, numerals from dates in the ���diff��� output 5401207753Smm make it appear as though decompression failed. 5402207753Smm 5403207753Smm So let the ���diff��� output leak to standard output with another file 5404207753Smm descriptor. (This trick is used in all similar contexts elsewhere 5405207753Smm in xzdiff and in the analogous context in gzip���s zdiff script.) 5406207753Smm 5407274261Sdelphij src/scripts/xzdiff.in | 2 +- 5408274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 5409274261Sdelphij 5410207753Smmcommit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c 5411207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 5412274261SdelphijDate: 2009-08-09 13:22:12 -0500 5413207753Smm 5414207753Smm xzless: Support compressed standard input 5415207753Smm 5416207753Smm It can be somewhat confusing that 5417207753Smm 5418207753Smm less < some_file.txt 5419207753Smm 5420207753Smm works fine, whereas 5421207753Smm 5422207753Smm xzless < some_file.txt.xz 5423207753Smm 5424207753Smm does not. Since version 429, ���less��� allows a filter specified in 5425207753Smm the LESSOPEN environment variable to preprocess its input even if 5426207753Smm it comes from standard input, if $LESSOPEN begins with ���|-���. So 5427207753Smm set $LESSOPEN to take advantage of this feature. 5428207753Smm 5429207753Smm Check less���s version at runtime so xzless can continue to work 5430207753Smm with older versions. 5431207753Smm 5432274261Sdelphij src/scripts/xzless.in | 8 +++++++- 5433274261Sdelphij 1 file changed, 7 insertions(+), 1 deletion(-) 5434274261Sdelphij 5435207753Smmcommit a7f5d2fe4826ac68839d00059f05004fb81d5c69 5436207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5437274261SdelphijDate: 2009-08-09 20:57:46 +0300 5438207753Smm 5439207753Smm GPLv2+ not GPLv2 for Doxyfile.in is probably OK. 5440207753Smm 5441274261Sdelphij Doxyfile.in | 2 +- 5442274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 5443274261Sdelphij 5444207753Smmcommit b735cde20cc14857136ae65a0e5d336ed7ddc862 5445207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5446274261SdelphijDate: 2009-08-02 00:27:29 +0300 5447207753Smm 5448207753Smm Added a copyright notice to Doxyfile.in since it contains 5449207753Smm lots of comments from Doxygen. 5450207753Smm 5451207753Smm It seems that the Doxygen authors' intent is to not apply 5452207753Smm their copyright on generated files, but since it doesn't 5453207753Smm matter for XZ Utils at all, better safe than sorry. 5454207753Smm 5455274261Sdelphij Doxyfile.in | 3 +++ 5456274261Sdelphij 1 file changed, 3 insertions(+) 5457274261Sdelphij 5458207753Smmcommit 0fd157cc008446adfc8f91394f5503868025a642 5459207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5460274261SdelphijDate: 2009-08-02 00:11:37 +0300 5461207753Smm 5462207753Smm Updated THANKS. 5463207753Smm 5464274261Sdelphij THANKS | 1 + 5465274261Sdelphij 1 file changed, 1 insertion(+) 5466274261Sdelphij 5467207753Smmcommit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f 5468207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5469274261SdelphijDate: 2009-08-02 00:10:22 +0300 5470207753Smm 5471207753Smm Updated TODO. 5472207753Smm 5473274261Sdelphij TODO | 4 ++++ 5474274261Sdelphij 1 file changed, 4 insertions(+) 5475274261Sdelphij 5476207753Smmcommit 669413bb2db954bbfde3c4542fddbbab53891eb4 5477207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5478274261SdelphijDate: 2009-07-30 12:25:55 +0300 5479207753Smm 5480207753Smm Updated THANKS. 5481207753Smm 5482274261Sdelphij THANKS | 1 + 5483274261Sdelphij 1 file changed, 1 insertion(+) 5484274261Sdelphij 5485207753Smmcommit dbbd8fb870ae789d96497911006c869d37148c15 5486207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 5487274261SdelphijDate: 2009-07-28 17:37:24 -0500 5488207753Smm 5489207753Smm xzdiff: add missing ;; to case statement 5490207753Smm 5491274261Sdelphij src/scripts/xzdiff.in | 6 +++--- 5492274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 5493274261Sdelphij 5494207753Smmcommit adbad2d16cb5909f85d4a429011005613ea62ffe 5495207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5496274261SdelphijDate: 2009-07-24 13:15:06 +0300 5497207753Smm 5498207753Smm Added history.txt to doc_DATA. 5499207753Smm 5500274261Sdelphij Makefile.am | 1 + 5501274261Sdelphij 1 file changed, 1 insertion(+) 5502274261Sdelphij 5503207753Smmcommit e0236f12569eb36f9b81ce7a1e52e0f73698ac27 5504207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5505274261SdelphijDate: 2009-07-24 12:00:40 +0300 5506207753Smm 5507207753Smm Updated .gitignore files. 5508207753Smm 5509274261Sdelphij .gitignore | 36 +++++++++++++++++++----------------- 5510274261Sdelphij po/.gitignore | 3 +++ 5511274261Sdelphij 2 files changed, 22 insertions(+), 17 deletions(-) 5512274261Sdelphij 5513207753Smmcommit 2f34fb269265e3aba43a2a9c734020a45268826d 5514207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5515274261SdelphijDate: 2009-07-24 11:34:02 +0300 5516207753Smm 5517207753Smm Minor improvements to COPYING. 5518207753Smm 5519274261Sdelphij COPYING | 11 ++++++++--- 5520274261Sdelphij 1 file changed, 8 insertions(+), 3 deletions(-) 5521274261Sdelphij 5522207753Smmcommit 0db1befcfbc120377df4b89923762f16d25f548a 5523207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5524274261SdelphijDate: 2009-07-23 19:10:55 +0300 5525207753Smm 5526207753Smm Fix incorrect usage of getopt_long(), which caused 5527207753Smm invalid memory access if XZ_OPT was defined. 5528207753Smm 5529274261Sdelphij src/xz/args.c | 1 - 5530274261Sdelphij 1 file changed, 1 deletion(-) 5531274261Sdelphij 5532207753Smmcommit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48 5533207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5534274261SdelphijDate: 2009-07-20 15:43:32 +0300 5535207753Smm 5536207753Smm Avoid internal error with --format=xz --lzma1. 5537207753Smm 5538274261Sdelphij src/xz/coder.c | 16 ++++++++++++---- 5539274261Sdelphij 1 file changed, 12 insertions(+), 4 deletions(-) 5540274261Sdelphij 5541207753Smmcommit 99f9e879a6a8bb54a65da99c12e0f390216c152a 5542207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5543274261SdelphijDate: 2009-07-19 13:14:20 +0300 5544207753Smm 5545207753Smm Major documentation update. 5546207753Smm 5547207753Smm Installation and packaging instructions were added. 5548207753Smm README and other generic docs were revised. 5549207753Smm 5550207753Smm Some of the documentation files are now installed to $docdir. 5551207753Smm 5552274261Sdelphij AUTHORS | 35 +++--- 5553274261Sdelphij ChangeLog | 7 +- 5554274261Sdelphij INSTALL | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5555274261Sdelphij INSTALL.generic | 302 +++++++++++++++++++++++++++++++++++++++++++++++++++ 5556274261Sdelphij Makefile.am | 11 ++ 5557274261Sdelphij PACKAGERS | 278 +++++++++++++++++++++++++++++++++++++++++++++++ 5558274261Sdelphij README | 263 ++++++++++++++++++++------------------------- 5559274261Sdelphij THANKS | 17 +-- 5560274261Sdelphij 8 files changed, 1070 insertions(+), 170 deletions(-) 5561274261Sdelphij 5562207753Smmcommit ef4cf1851de89022cba5674784f1a8f6343c15b0 5563207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5564274261SdelphijDate: 2009-07-19 11:09:31 +0300 5565207753Smm 5566207753Smm Added missing author notice to xzless.in. 5567207753Smm 5568274261Sdelphij src/scripts/xzless.in | 1 + 5569274261Sdelphij 1 file changed, 1 insertion(+) 5570274261Sdelphij 5571207753Smmcommit 4c9c989d45b188667799a7a1d6c728ed43f7bf77 5572207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5573274261SdelphijDate: 2009-07-18 18:54:55 +0300 5574207753Smm 5575207753Smm Use AC_CONFIG_AUX_DIR to clean up the toplevel directory 5576207753Smm a little. 5577207753Smm 5578207753Smm Fixed a related bug in the toplevel Makefile.am. 5579207753Smm 5580207753Smm Added the build-aux directory to .gitignore. 5581207753Smm 5582274261Sdelphij .gitignore | 1 + 5583274261Sdelphij Makefile.am | 1 - 5584274261Sdelphij configure.ac | 3 ++- 5585274261Sdelphij 3 files changed, 3 insertions(+), 2 deletions(-) 5586274261Sdelphij 5587207753Smmcommit 366e436090a7a87215e9bf0e3ddcd55f05b50587 5588207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5589274261SdelphijDate: 2009-07-18 14:34:08 +0300 5590207753Smm 5591207753Smm Updated the totally outdated TODO file. 5592207753Smm 5593274261Sdelphij TODO | 117 ++++++++++++++++--------------------------------------------------- 5594274261Sdelphij 1 file changed, 27 insertions(+), 90 deletions(-) 5595274261Sdelphij 5596207753Smmcommit 64e498c89d8b9966e8663f43bf64d47c26c55c62 5597207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5598274261SdelphijDate: 2009-07-18 11:26:39 +0300 5599207753Smm 5600207753Smm Added public domain notice into a few files. 5601207753Smm 5602274261Sdelphij src/common/common_w32res.rc | 9 ++++++++- 5603274261Sdelphij src/liblzma/liblzma.pc.in | 7 +++++++ 5604274261Sdelphij src/liblzma/liblzma_w32res.rc | 7 +++++++ 5605274261Sdelphij src/xz/xz_w32res.rc | 7 +++++++ 5606274261Sdelphij src/xzdec/xzdec_w32res.rc | 7 +++++++ 5607274261Sdelphij 5 files changed, 36 insertions(+), 1 deletion(-) 5608274261Sdelphij 5609207753Smmcommit a35755c5de808df027675688855d1b621a4fb428 5610207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5611274261SdelphijDate: 2009-07-14 21:10:36 +0300 5612207753Smm 5613207753Smm Allow extra commas in filter-specific options on xz command line. 5614207753Smm 5615207753Smm This may slightly ease writing scripts that construct 5616207753Smm filter-specific option strings dynamically. 5617207753Smm 5618274261Sdelphij src/xz/options.c | 7 +++++++ 5619274261Sdelphij 1 file changed, 7 insertions(+) 5620274261Sdelphij 5621207753Smmcommit 98f3cac1ad31191c5160a7e48398bf85141e941c 5622207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5623274261SdelphijDate: 2009-07-14 18:04:31 +0300 5624207753Smm 5625207753Smm Accept --lzma2=preset=6e where "e" is equivalent to --extreme 5626207753Smm when no custom chain is in use. 5627207753Smm 5628274261Sdelphij src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++++--------------- 5629274261Sdelphij 1 file changed, 59 insertions(+), 21 deletions(-) 5630274261Sdelphij 5631207753Smmcommit d873a09e956363e54bf58c577c8f7e487b6fb464 5632207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5633274261SdelphijDate: 2009-07-12 19:08:30 +0300 5634207753Smm 5635207753Smm Add dist-hook to create ChangeLog from the commit log, 5636207753Smm and to conver the man pages to PDF and plain text, which 5637207753Smm may be convenient to those who cannot render man pages. 5638207753Smm 5639274261Sdelphij Makefile.am | 31 +++++++++++++++++++++++++++++++ 5640274261Sdelphij 1 file changed, 31 insertions(+) 5641274261Sdelphij 5642207753Smmcommit cd69a5a6c16c289f6f8e2823b03c72289472270f 5643207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5644274261SdelphijDate: 2009-07-10 11:39:38 +0300 5645207753Smm 5646207753Smm BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR. 5647207753Smm 5648207753Smm This is a quick and slightly dirty fix to make the code 5649207753Smm conform to the latest file format specification. Without 5650207753Smm this patch, it's possible to make corrupt files by 5651207753Smm specifying start offset that is not a multiple of the 5652207753Smm filter's alignment. Custom start offset is almost never 5653207753Smm used, so this was only a minor bug. 5654207753Smm 5655207753Smm The xz command line tool doesn't validate the start offset, 5656207753Smm so one will get a bit unclear error message if trying to use 5657207753Smm an invalid start offset. 5658207753Smm 5659274261Sdelphij src/liblzma/simple/arm.c | 2 +- 5660274261Sdelphij src/liblzma/simple/armthumb.c | 2 +- 5661274261Sdelphij src/liblzma/simple/ia64.c | 2 +- 5662274261Sdelphij src/liblzma/simple/powerpc.c | 2 +- 5663274261Sdelphij src/liblzma/simple/simple_coder.c | 5 ++++- 5664274261Sdelphij src/liblzma/simple/simple_private.h | 3 ++- 5665274261Sdelphij src/liblzma/simple/sparc.c | 2 +- 5666274261Sdelphij src/liblzma/simple/x86.c | 2 +- 5667274261Sdelphij 8 files changed, 12 insertions(+), 8 deletions(-) 5668274261Sdelphij 5669207753Smmcommit eed9953732b801f6c97317fb3160445a8754180b 5670207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5671274261SdelphijDate: 2009-07-10 11:33:21 +0300 5672207753Smm 5673207753Smm Look for full command names instead of substrings 5674207753Smm like "un", "cat", and "lz" when determining if 5675207753Smm xz is run as unxz, xzcat, lzma, unlzma, or lzcat. 5676207753Smm 5677207753Smm This is to ensure that if xz is renamed (e.g. via 5678207753Smm --program-transform-name), it doesn't so easily 5679207753Smm work in wrong mode. 5680207753Smm 5681274261Sdelphij src/xz/args.c | 22 +++++++++++++--------- 5682274261Sdelphij 1 file changed, 13 insertions(+), 9 deletions(-) 5683274261Sdelphij 5684207753Smmcommit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658 5685207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5686274261SdelphijDate: 2009-07-08 23:06:46 +0300 5687207753Smm 5688207753Smm Updated THANKS. 5689207753Smm 5690274261Sdelphij THANKS | 2 ++ 5691274261Sdelphij 1 file changed, 2 insertions(+) 5692274261Sdelphij 5693207753Smmcommit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e 5694207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5695274261SdelphijDate: 2009-07-08 23:05:29 +0300 5696207753Smm 5697207753Smm Portability improvement to version.sh. 5698207753Smm 5699274261Sdelphij version.sh | 3 ++- 5700274261Sdelphij 1 file changed, 2 insertions(+), 1 deletion(-) 5701274261Sdelphij 5702207753Smmcommit 3bdb53792c0e3e3febe9370e56eda5b08f89410f 5703207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5704274261SdelphijDate: 2009-07-08 22:50:16 +0300 5705207753Smm 5706207753Smm Remove --force from xzdec. 5707207753Smm 5708207753Smm It was ignored for compatibility with xz, but now that 5709207753Smm --decompress --stdout --force copies unrecognized files 5710207753Smm as is to stdout, simply ignoring --force in xzdec would 5711207753Smm be wrong. xzdec will not support copying unrecognized 5712207753Smm data as is to stdout, so it cannot support --force. 5713207753Smm 5714274261Sdelphij src/xzdec/xzdec.1 | 5 ----- 5715274261Sdelphij src/xzdec/xzdec.c | 5 +---- 5716274261Sdelphij 2 files changed, 1 insertion(+), 9 deletions(-) 5717274261Sdelphij 5718207753Smmcommit 5f16ef4abf220028a9ddbcb138217597a9455f62 5719207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5720274261SdelphijDate: 2009-07-06 10:36:04 +0300 5721207753Smm 5722207753Smm Use sed instead of $(SED) so that we don't need to 5723207753Smm use AC_PROG_SED. We don't do anything fancy with sed, 5724207753Smm so this should work OK. libtool 2.2 sets SED but 1.5 5725207753Smm doesn't, so $(SED) happened to work when using libtool 2.2. 5726207753Smm 5727274261Sdelphij src/liblzma/Makefile.am | 2 +- 5728274261Sdelphij src/scripts/Makefile.am | 28 ++++++++++++++-------------- 5729274261Sdelphij src/xz/Makefile.am | 6 +++--- 5730274261Sdelphij src/xzdec/Makefile.am | 6 +++--- 5731274261Sdelphij 4 files changed, 21 insertions(+), 21 deletions(-) 5732274261Sdelphij 5733207753Smmcommit 96e4b257e101d72072d43e144897d92920270669 5734207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5735274261SdelphijDate: 2009-07-05 22:25:17 +0300 5736207753Smm 5737207753Smm Major update to the xzgrep and other scripts based on 5738207753Smm the latest versions found from gzip CVS repository. 5739207753Smm 5740207753Smm configure will try to find a POSIX shell to be used by 5741207753Smm the scripts. This should ease portability on systems 5742207753Smm which have pre-POSIX /bin/sh. 5743207753Smm 5744207753Smm xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files. 5745207753Smm xzmore and xzless support only .xz and .lzma files. 5746207753Smm 5747207753Smm The name of the xz executable used in these scripts is 5748207753Smm now correct even if --program-transform-name has been used. 5749207753Smm 5750274261Sdelphij configure.ac | 14 ++++ 5751274261Sdelphij m4/posix-shell.m4 | 63 ++++++++++++++++ 5752274261Sdelphij src/scripts/Makefile.am | 24 +++--- 5753274261Sdelphij src/scripts/xzdiff | 67 ----------------- 5754274261Sdelphij src/scripts/xzdiff.1 | 58 ++++++++------ 5755274261Sdelphij src/scripts/xzdiff.in | 172 ++++++++++++++++++++++++++++++++++++++++++ 5756274261Sdelphij src/scripts/xzgrep | 123 ------------------------------ 5757274261Sdelphij src/scripts/xzgrep.1 | 85 ++++++++++++--------- 5758274261Sdelphij src/scripts/xzgrep.in | 196 ++++++++++++++++++++++++++++++++++++++++++++++++ 5759274261Sdelphij src/scripts/xzless.1 | 66 ++++++++++++++++ 5760274261Sdelphij src/scripts/xzless.in | 51 +++++++++++++ 5761274261Sdelphij src/scripts/xzmore | 74 ------------------ 5762274261Sdelphij src/scripts/xzmore.1 | 64 +++++++--------- 5763274261Sdelphij src/scripts/xzmore.in | 78 +++++++++++++++++++ 5764274261Sdelphij 14 files changed, 766 insertions(+), 369 deletions(-) 5765274261Sdelphij 5766207753Smmcommit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100 5767207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5768274261SdelphijDate: 2009-07-05 19:26:53 +0300 5769207753Smm 5770207753Smm Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in. 5771207753Smm 5772274261Sdelphij src/liblzma/liblzma.pc.in | 2 +- 5773274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 5774274261Sdelphij 5775207753Smmcommit 18c10c30d2833f394cd7bce0e6a821044b15832f 5776207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5777274261SdelphijDate: 2009-07-04 00:40:44 +0300 5778207753Smm 5779207753Smm Make "xz --decompress --stdout --force" copy unrecognized 5780207753Smm files as is to standard output. 5781207753Smm 5782207753Smm This feature is needed to be more compatible with gzip's 5783207753Smm behavior. This was more complicated to implement than it 5784207753Smm sounds, because the way liblzma is able to return errors with 5785207753Smm files of only a few bytes in size. xz now has its own file 5786207753Smm type detection code and no longer uses lzma_auto_decoder(). 5787207753Smm 5788274261Sdelphij src/xz/coder.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++---------- 5789274261Sdelphij 1 file changed, 178 insertions(+), 35 deletions(-) 5790274261Sdelphij 5791207753Smmcommit 0a289c01ac821ea9c4250aa906b0ae3cfa953633 5792207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5793274261SdelphijDate: 2009-07-02 14:30:38 +0300 5794207753Smm 5795207753Smm Define PACKAGE_HOMEPAGE in configure.ac and use it in 5796207753Smm xz and xzdec. 5797207753Smm 5798207753Smm Use also PACKAGE_NAME instead of hardcoding "XZ Utils". 5799207753Smm 5800274261Sdelphij configure.ac | 5 +++++ 5801274261Sdelphij src/xz/message.c | 4 ++-- 5802274261Sdelphij src/xzdec/xzdec.c | 4 ++-- 5803274261Sdelphij 3 files changed, 9 insertions(+), 4 deletions(-) 5804274261Sdelphij 5805207753Smmcommit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c 5806207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5807274261SdelphijDate: 2009-07-01 12:21:24 +0300 5808207753Smm 5809207753Smm Avoid visibility related compiler warnings on Windows. 5810207753Smm 5811274261Sdelphij configure.ac | 20 +++++++++----------- 5812274261Sdelphij 1 file changed, 9 insertions(+), 11 deletions(-) 5813274261Sdelphij 5814207753Smmcommit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e 5815207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5816274261SdelphijDate: 2009-06-30 17:14:39 +0300 5817207753Smm 5818207753Smm Use static liblzma by default also for tests. 5819207753Smm 5820274261Sdelphij tests/Makefile.am | 5 ++++- 5821274261Sdelphij 1 file changed, 4 insertions(+), 1 deletion(-) 5822274261Sdelphij 5823207753Smmcommit f42ee981668b545ab6d06c6072e262c29605273c 5824207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5825274261SdelphijDate: 2009-06-30 17:09:57 +0300 5826207753Smm 5827207753Smm Build system fixes 5828207753Smm 5829207753Smm Don't use libtool convenience libraries to avoid recently 5830207753Smm discovered long-standing subtle but somewhat severe bugs 5831207753Smm in libtool (at least 1.5.22 and 2.2.6 are affected). It 5832207753Smm was found when porting XZ Utils to Windows 5833207753Smm <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html> 5834207753Smm but the problem is significant also e.g. on GNU/Linux. 5835207753Smm 5836207753Smm Unless --disable-shared is passed to configure, static 5837207753Smm library built from a set of convenience libraries will 5838207753Smm contain PIC objects. That is, while libtool builds non-PIC 5839207753Smm objects too, only PIC objects will be used from the 5840207753Smm convenience libraries. On 32-bit x86 (tested on mobile XP2400+), 5841207753Smm using PIC instead of non-PIC makes the decompressor 10 % slower 5842207753Smm with the default CFLAGS. 5843207753Smm 5844207753Smm So while xz was linked against static liblzma by default, 5845207753Smm it got the slower PIC objects unless --disable-shared was 5846207753Smm used. I tend develop and benchmark with --disable-shared 5847207753Smm due to faster build time, so I hadn't noticed the problem 5848207753Smm in benchmarks earlier. 5849207753Smm 5850207753Smm This commit also adds support for building Windows resources 5851207753Smm into liblzma and executables. 5852207753Smm 5853274261Sdelphij configure.ac | 34 ++++++++++------ 5854274261Sdelphij src/liblzma/Makefile.am | 79 +++++++++++++++++++++++++++++-------- 5855274261Sdelphij src/liblzma/check/Makefile.am | 47 ---------------------- 5856274261Sdelphij src/liblzma/check/Makefile.inc | 51 ++++++++++++++++++++++++ 5857274261Sdelphij src/liblzma/common/Makefile.am | 78 ------------------------------------ 5858274261Sdelphij src/liblzma/common/Makefile.inc | 67 +++++++++++++++++++++++++++++++ 5859274261Sdelphij src/liblzma/common/common.h | 16 +++++--- 5860274261Sdelphij src/liblzma/delta/Makefile.am | 28 ------------- 5861274261Sdelphij src/liblzma/delta/Makefile.inc | 23 +++++++++++ 5862274261Sdelphij src/liblzma/lz/Makefile.am | 29 -------------- 5863274261Sdelphij src/liblzma/lz/Makefile.inc | 21 ++++++++++ 5864274261Sdelphij src/liblzma/lzma/Makefile.am | 51 ------------------------ 5865274261Sdelphij src/liblzma/lzma/Makefile.inc | 43 ++++++++++++++++++++ 5866274261Sdelphij src/liblzma/rangecoder/Makefile.am | 26 ------------ 5867274261Sdelphij src/liblzma/rangecoder/Makefile.inc | 21 ++++++++++ 5868274261Sdelphij src/liblzma/simple/Makefile.am | 51 ------------------------ 5869274261Sdelphij src/liblzma/simple/Makefile.inc | 47 ++++++++++++++++++++++ 5870274261Sdelphij src/liblzma/subblock/Makefile.am | 26 ------------ 5871274261Sdelphij src/liblzma/subblock/Makefile.inc | 20 ++++++++++ 5872274261Sdelphij src/xz/Makefile.am | 11 +++++- 5873274261Sdelphij src/xzdec/Makefile.am | 20 +++++++++- 5874274261Sdelphij 21 files changed, 417 insertions(+), 372 deletions(-) 5875274261Sdelphij 5876207753Smmcommit 89dac1db6f168d7469cfbc4432651d4724c5c0de 5877207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5878274261SdelphijDate: 2009-06-29 22:19:51 +0300 5879207753Smm 5880207753Smm Added a comment about "autoconf -fi" to autogen.sh. 5881207753Smm 5882274261Sdelphij autogen.sh | 3 +++ 5883274261Sdelphij 1 file changed, 3 insertions(+) 5884274261Sdelphij 5885207753Smmcommit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd 5886207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5887274261SdelphijDate: 2009-06-28 10:04:24 +0300 5888207753Smm 5889207753Smm Add -no-undefined to get shared liblzma on Windows. 5890207753Smm 5891274261Sdelphij src/liblzma/Makefile.am | 2 +- 5892274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 5893274261Sdelphij 5894207753Smmcommit 73f560ee5fa064992b76688d9472baf139432540 5895207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5896274261SdelphijDate: 2009-06-27 22:57:15 +0300 5897207753Smm 5898207753Smm Make physmem() work on Cygwin 1.5 and older. 5899207753Smm 5900274261Sdelphij src/common/physmem.h | 77 +++++++++++++++++++++++++++------------------------- 5901274261Sdelphij 1 file changed, 40 insertions(+), 37 deletions(-) 5902274261Sdelphij 5903207753Smmcommit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1 5904207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5905274261SdelphijDate: 2009-06-27 17:28:01 +0300 5906207753Smm 5907207753Smm Moved the Windows resource files outside the windows directory 5908207753Smm to prepare for building them with Autotools. 5909207753Smm 5910274261Sdelphij src/common/common_w32res.rc | 46 +++++++++++++++++++++++++++++++++++++++++++ 5911274261Sdelphij src/liblzma/liblzma_w32res.rc | 5 +++++ 5912274261Sdelphij src/xz/xz_w32res.rc | 5 +++++ 5913274261Sdelphij src/xzdec/lzmadec_w32res.rc | 5 +++++ 5914274261Sdelphij src/xzdec/xzdec_w32res.rc | 5 +++++ 5915274261Sdelphij windows/Makefile | 35 +++++++++++++++++--------------- 5916274261Sdelphij windows/common.rc | 46 ------------------------------------------- 5917274261Sdelphij windows/liblzma.rc | 5 ----- 5918274261Sdelphij windows/lzmadec.rc | 5 ----- 5919274261Sdelphij windows/xz.rc | 5 ----- 5920274261Sdelphij windows/xzdec.rc | 5 ----- 5921274261Sdelphij 11 files changed, 85 insertions(+), 82 deletions(-) 5922274261Sdelphij 5923207753Smmcommit 449c634674f35336a4815d398172e447659a135e 5924207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5925274261SdelphijDate: 2009-06-27 13:05:03 +0300 5926207753Smm 5927207753Smm Added missing $(EXEEXT). 5928207753Smm 5929274261Sdelphij src/xz/Makefile.am | 2 +- 5930274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 5931274261Sdelphij 5932207753Smmcommit 792db79f27ad9ab1fb977e23be65c7761f545752 5933207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5934274261SdelphijDate: 2009-06-27 12:32:40 +0300 5935207753Smm 5936207753Smm Create correct symlinks even when 5937207753Smm --program-{prefix,suffix,transform} is passed to configure. 5938207753Smm 5939274261Sdelphij src/scripts/Makefile.am | 80 ++++++++++++++++++++++++++++--------------------- 5940274261Sdelphij src/xz/Makefile.am | 21 ++++++++----- 5941274261Sdelphij src/xzdec/Makefile.am | 9 ++++-- 5942274261Sdelphij 3 files changed, 65 insertions(+), 45 deletions(-) 5943274261Sdelphij 5944207753Smmcommit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b 5945207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5946274261SdelphijDate: 2009-06-27 10:02:24 +0300 5947207753Smm 5948207753Smm Silence a compiler warning on DOS-like systems. 5949207753Smm 5950274261Sdelphij src/xz/file_io.c | 5 ++++- 5951274261Sdelphij 1 file changed, 4 insertions(+), 1 deletion(-) 5952274261Sdelphij 5953207753Smmcommit ad12edc95254ede3f0cb8dec8645e8789e984c4f 5954207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5955274261SdelphijDate: 2009-06-27 09:35:15 +0300 5956207753Smm 5957207753Smm Updated the filenames in POTFILES.in too. 5958207753Smm 5959274261Sdelphij po/POTFILES.in | 4 ++-- 5960274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 5961274261Sdelphij 5962207753Smmcommit b2b1f867532732fe9969131f8713bdd6b0731763 5963207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5964274261SdelphijDate: 2009-06-27 00:43:06 +0300 5965207753Smm 5966207753Smm Hopefully improved portability of the assembler code in 5967207753Smm Autotools based builds on Windows. 5968207753Smm 5969274261Sdelphij src/liblzma/check/crc32_x86.S | 8 +++++++- 5970274261Sdelphij src/liblzma/check/crc64_x86.S | 8 +++++++- 5971274261Sdelphij 2 files changed, 14 insertions(+), 2 deletions(-) 5972274261Sdelphij 5973207753Smmcommit c393055947247627a09b6a6b8f20aa0c32f9be16 5974207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5975274261SdelphijDate: 2009-06-26 21:17:29 +0300 5976207753Smm 5977207753Smm Updated THANKS (most of today's commits are based on 5978207753Smm Charles Wilson's patches). 5979207753Smm 5980274261Sdelphij THANKS | 1 + 5981274261Sdelphij 1 file changed, 1 insertion(+) 5982274261Sdelphij 5983207753Smmcommit da0af22e4b4139b8a10710945f8b245b3a77c97d 5984207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5985274261SdelphijDate: 2009-06-26 21:00:35 +0300 5986207753Smm 5987207753Smm Updated comments to match renamed files. 5988207753Smm 5989274261Sdelphij src/xz/coder.c | 2 +- 5990274261Sdelphij src/xz/coder.h | 2 +- 5991274261Sdelphij src/xz/file_io.c | 2 +- 5992274261Sdelphij src/xz/file_io.h | 2 +- 5993274261Sdelphij 4 files changed, 4 insertions(+), 4 deletions(-) 5994274261Sdelphij 5995207753Smmcommit 65014fd211dfbd4be48685998cb5a12aaa29c8d2 5996207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5997274261SdelphijDate: 2009-06-26 20:49:54 +0300 5998207753Smm 5999207753Smm Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc] 6000207753Smm to avoid problems on systems with system headers with those 6001207753Smm names. 6002207753Smm 6003274261Sdelphij dos/Makefile | 4 +- 6004274261Sdelphij src/xz/Makefile.am | 8 +- 6005274261Sdelphij src/xz/coder.c | 488 ++++++++++++++++++++++++++++++++++++ 6006274261Sdelphij src/xz/coder.h | 57 +++++ 6007274261Sdelphij src/xz/file_io.c | 716 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 6008274261Sdelphij src/xz/file_io.h | 86 +++++++ 6009274261Sdelphij src/xz/io.c | 716 ----------------------------------------------------- 6010274261Sdelphij src/xz/io.h | 86 ------- 6011274261Sdelphij src/xz/private.h | 4 +- 6012274261Sdelphij src/xz/process.c | 488 ------------------------------------ 6013274261Sdelphij src/xz/process.h | 57 ----- 6014274261Sdelphij windows/Makefile | 4 +- 6015274261Sdelphij 12 files changed, 1357 insertions(+), 1357 deletions(-) 6016274261Sdelphij 6017207753Smmcommit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8 6018207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6019274261SdelphijDate: 2009-06-26 20:43:36 +0300 6020207753Smm 6021207753Smm Rename process_file() to coder_run(). 6022207753Smm 6023274261Sdelphij src/xz/main.c | 6 +++--- 6024274261Sdelphij src/xz/process.c | 6 +++--- 6025274261Sdelphij src/xz/process.h | 5 ++--- 6026274261Sdelphij 3 files changed, 8 insertions(+), 9 deletions(-) 6027274261Sdelphij 6028207753Smmcommit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc 6029207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6030274261SdelphijDate: 2009-06-26 20:36:45 +0300 6031207753Smm 6032207753Smm Ugly hack to make it possible to use the thousand separator 6033207753Smm format character with snprintf() on POSIX systems but not 6034207753Smm on non-POSIX systems and still keep xgettext working. 6035207753Smm 6036274261Sdelphij dos/Makefile | 16 +++------------- 6037274261Sdelphij src/xz/message.c | 17 +++++++++-------- 6038274261Sdelphij src/xz/process.c | 30 +++++++++++++++--------------- 6039274261Sdelphij src/xz/util.c | 34 ++++++++++++++++++++++++++++++++++ 6040274261Sdelphij src/xz/util.h | 20 ++++++++++++++++++++ 6041274261Sdelphij windows/Makefile | 13 +++---------- 6042274261Sdelphij 6 files changed, 84 insertions(+), 46 deletions(-) 6043274261Sdelphij 6044207753Smmcommit fe378d47074b16c52b00fe184d119287c68ce2e7 6045207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6046274261SdelphijDate: 2009-06-26 15:40:40 +0300 6047207753Smm 6048207753Smm Added missing source files to windows/Makefile. 6049207753Smm 6050274261Sdelphij windows/Makefile | 2 ++ 6051274261Sdelphij 1 file changed, 2 insertions(+) 6052274261Sdelphij 6053207753Smmcommit 390a6408563067613b29de895cb40e4d0386d62c 6054207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6055274261SdelphijDate: 2009-06-26 15:37:53 +0300 6056207753Smm 6057207753Smm Basic support for building with Cygwin and MinGW using 6058207753Smm the Autotools based build system. It's not good yet, more 6059207753Smm fixes will follow. 6060207753Smm 6061274261Sdelphij configure.ac | 7 +++++++ 6062274261Sdelphij src/liblzma/api/lzma.h | 7 +++++-- 6063274261Sdelphij src/liblzma/check/crc32_x86.S | 7 ++++--- 6064274261Sdelphij src/liblzma/check/crc64_x86.S | 7 ++++--- 6065274261Sdelphij src/liblzma/common/common.h | 2 +- 6066274261Sdelphij windows/Makefile | 16 +++++++--------- 6067274261Sdelphij 6 files changed, 28 insertions(+), 18 deletions(-) 6068274261Sdelphij 6069207753Smmcommit 1c9360b7d1197457aaad2f8888b99f1149861579 6070207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6071274261SdelphijDate: 2009-06-26 14:47:31 +0300 6072207753Smm 6073207753Smm Fix @variables@ to $(variables) in Makefile.am files. 6074207753Smm Fix the ordering of libgnu.a and LTLIBINTL on the linker 6075207753Smm command line and added missing LTLIBINTL to tests/Makefile.am. 6076207753Smm 6077274261Sdelphij debug/Makefile.am | 12 ++++++------ 6078274261Sdelphij src/liblzma/check/Makefile.am | 4 ++-- 6079274261Sdelphij src/liblzma/common/Makefile.am | 16 ++++++++-------- 6080274261Sdelphij src/liblzma/delta/Makefile.am | 4 ++-- 6081274261Sdelphij src/liblzma/lz/Makefile.am | 6 +++--- 6082274261Sdelphij src/liblzma/lzma/Makefile.am | 8 ++++---- 6083274261Sdelphij src/liblzma/rangecoder/Makefile.am | 4 ++-- 6084274261Sdelphij src/liblzma/simple/Makefile.am | 4 ++-- 6085274261Sdelphij src/liblzma/subblock/Makefile.am | 4 ++-- 6086274261Sdelphij src/xz/Makefile.am | 21 +++++++++++---------- 6087274261Sdelphij src/xzdec/Makefile.am | 19 ++++++++++--------- 6088274261Sdelphij tests/Makefile.am | 12 +++++++----- 6089274261Sdelphij 12 files changed, 59 insertions(+), 55 deletions(-) 6090274261Sdelphij 6091207753Smmcommit d45615c555e250209ebb55aa3649abe790f1eeac 6092207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6093274261SdelphijDate: 2009-06-26 14:20:02 +0300 6094207753Smm 6095207753Smm Allow to explicitly specify autotool versions in autogen.sh. 6096207753Smm 6097274261Sdelphij autogen.sh | 12 ++++++------ 6098274261Sdelphij 1 file changed, 6 insertions(+), 6 deletions(-) 6099274261Sdelphij 6100207753Smmcommit eaf8367368a329afa48785380f9dca6b681f3397 6101207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6102274261SdelphijDate: 2009-06-26 14:18:32 +0300 6103207753Smm 6104207753Smm Add version.sh to EXTRA_DIST. 6105207753Smm 6106274261Sdelphij Makefile.am | 3 ++- 6107274261Sdelphij 1 file changed, 2 insertions(+), 1 deletion(-) 6108274261Sdelphij 6109207753Smmcommit b317b218e2d383dd27a700094c0de4510540ea18 6110207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6111274261SdelphijDate: 2009-06-24 20:14:10 +0300 6112207753Smm 6113207753Smm Support HW_PHYSMEM64 6114207753Smm 6115274261Sdelphij src/common/physmem.h | 30 +++++++++++++++++++----------- 6116274261Sdelphij 1 file changed, 19 insertions(+), 11 deletions(-) 6117274261Sdelphij 6118207753Smmcommit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7 6119207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6120274261SdelphijDate: 2009-06-24 13:01:59 +0300 6121207753Smm 6122207753Smm Cast a char argument to isspace() to unsigned char. 6123207753Smm 6124274261Sdelphij src/xz/args.c | 11 +++++++++-- 6125274261Sdelphij 1 file changed, 9 insertions(+), 2 deletions(-) 6126274261Sdelphij 6127207753Smmcommit 1735d31ea347210e914df038eeea4b2626e76e42 6128207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6129274261SdelphijDate: 2009-06-05 13:46:26 +0300 6130207753Smm 6131207753Smm A few more spelling fixes. Released the .xz spec 1.0.3. 6132207753Smm 6133274261Sdelphij doc/xz-file-format.txt | 12 +++++++----- 6134274261Sdelphij 1 file changed, 7 insertions(+), 5 deletions(-) 6135274261Sdelphij 6136207753Smmcommit 8ed156ce894966103e895aa08f2a9fb912f6fad5 6137207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6138274261SdelphijDate: 2009-06-04 23:42:12 +0300 6139207753Smm 6140207753Smm Added xzdec man page. 6141207753Smm 6142274261Sdelphij src/xzdec/Makefile.am | 11 ++++ 6143274261Sdelphij src/xzdec/xzdec.1 | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++ 6144274261Sdelphij 2 files changed, 184 insertions(+) 6145274261Sdelphij 6146207753Smmcommit f6df39afaa84f71439507178a49b2a5dda6e824c 6147207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6148274261SdelphijDate: 2009-06-04 23:26:47 +0300 6149207753Smm 6150207753Smm Harmonized xzdec --memory with xz --memory and made 6151207753Smm minor cleanups. 6152207753Smm 6153274261Sdelphij src/xzdec/xzdec.c | 74 +++++++++++++++++++++++++++++++++++++++---------------- 6154274261Sdelphij 1 file changed, 53 insertions(+), 21 deletions(-) 6155274261Sdelphij 6156207753Smmcommit 1774f27c61ce294a56712ca2f4785f90a62441bc 6157207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6158274261SdelphijDate: 2009-06-04 22:59:55 +0300 6159207753Smm 6160207753Smm Fix purporse -> purpose. Thanks to Andrew Dudman. 6161207753Smm Released .xz spec 1.0.2 due to this fix too. 6162207753Smm 6163274261Sdelphij THANKS | 1 + 6164274261Sdelphij doc/xz-file-format.txt | 8 +++++--- 6165274261Sdelphij src/liblzma/liblzma.pc.in | 2 +- 6166274261Sdelphij windows/Makefile | 2 +- 6167274261Sdelphij 4 files changed, 8 insertions(+), 5 deletions(-) 6168274261Sdelphij 6169207753Smmcommit cb613455642f48fb51059e22018615f64c59b70f 6170207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6171274261SdelphijDate: 2009-06-01 14:53:57 +0300 6172207753Smm 6173207753Smm The .xz file format version 1.0.1 6174207753Smm 6175274261Sdelphij doc/xz-file-format.txt | 29 ++++++++++++++++++++++------- 6176274261Sdelphij 1 file changed, 22 insertions(+), 7 deletions(-) 6177274261Sdelphij 6178207753Smmcommit 083c23c680ff844846d177cfc58bb7a874e7e6b9 6179207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6180274261SdelphijDate: 2009-05-26 14:48:48 +0300 6181207753Smm 6182207753Smm Make the raw value of the Check field available to applications 6183207753Smm via lzma_block structure. 6184207753Smm 6185207753Smm This changes ABI but not doesn't break API. 6186207753Smm 6187274261Sdelphij src/liblzma/api/lzma/block.h | 17 ++++++++++++++++ 6188274261Sdelphij src/liblzma/common/block_buffer_encoder.c | 1 + 6189274261Sdelphij src/liblzma/common/block_decoder.c | 34 ++++++++++++++----------------- 6190274261Sdelphij src/liblzma/common/block_encoder.c | 21 ++++++++----------- 6191274261Sdelphij 4 files changed, 42 insertions(+), 31 deletions(-) 6192274261Sdelphij 6193207753Smmcommit b4f5c814090dc07d4350453576305e41eb9c998d 6194207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6195274261SdelphijDate: 2009-05-23 16:57:21 +0300 6196207753Smm 6197207753Smm Remove undocumented alternative option names --bcj, --ppc, 6198207753Smm and --itanium. 6199207753Smm 6200274261Sdelphij src/xz/args.c | 3 --- 6201274261Sdelphij 1 file changed, 3 deletions(-) 6202274261Sdelphij 6203207753Smmcommit b1edee2cdc7ef4411b1a21c07094ec763f071281 6204207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6205274261SdelphijDate: 2009-05-23 15:12:23 +0300 6206207753Smm 6207207753Smm Add support for specifying the BCJ filter start offset 6208207753Smm in the xz command line tool. 6209207753Smm 6210274261Sdelphij src/xz/args.c | 36 +++++++++++++++++++++--------------- 6211274261Sdelphij src/xz/message.c | 14 ++++++++------ 6212274261Sdelphij src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++ 6213274261Sdelphij src/xz/options.h | 7 +++++++ 6214274261Sdelphij 4 files changed, 76 insertions(+), 21 deletions(-) 6215274261Sdelphij 6216207753Smmcommit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb 6217207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6218274261SdelphijDate: 2009-05-23 14:51:09 +0300 6219207753Smm 6220207753Smm Updated THANKS. 6221207753Smm 6222274261Sdelphij THANKS | 2 ++ 6223274261Sdelphij 1 file changed, 2 insertions(+) 6224274261Sdelphij 6225207753Smmcommit dcedb6998cefeca6597dd1219328a3abf5acf66d 6226207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6227274261SdelphijDate: 2009-05-22 16:40:50 +0300 6228207753Smm 6229207753Smm Added support for --quiet and --no-warn to xzdec. 6230207753Smm Cleaned up the --help message a little. 6231207753Smm 6232274261Sdelphij src/xzdec/xzdec.c | 76 +++++++++++++++++++++++++++++++++++-------------------- 6233274261Sdelphij 1 file changed, 49 insertions(+), 27 deletions(-) 6234274261Sdelphij 6235207753Smmcommit 5f735dae80aa629853f4831d7b84ec1c614979eb 6236207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6237274261SdelphijDate: 2009-05-22 15:11:52 +0300 6238207753Smm 6239207753Smm Use the 40 % of RAM memory usage limit in xzdec too. 6240207753Smm 6241207753Smm Update the memory usage info text in --help to match 6242207753Smm the text in xz --long-help. 6243207753Smm 6244274261Sdelphij src/xzdec/xzdec.c | 10 +++++----- 6245274261Sdelphij 1 file changed, 5 insertions(+), 5 deletions(-) 6246274261Sdelphij 6247207753Smmcommit b60376249e0c586910c4121fab4f791820cc1289 6248207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6249274261SdelphijDate: 2009-05-22 14:43:00 +0300 6250207753Smm 6251207753Smm Add --no-warn. 6252207753Smm 6253274261Sdelphij src/xz/args.c | 8 +++++++- 6254274261Sdelphij src/xz/main.c | 17 +++++++++++++++++ 6255274261Sdelphij src/xz/main.h | 6 ++++++ 6256274261Sdelphij src/xz/message.c | 4 ++++ 6257274261Sdelphij 4 files changed, 34 insertions(+), 1 deletion(-) 6258274261Sdelphij 6259207753Smmcommit b4f92f522d4b854c0adb7c38be7531e1a6a7b008 6260207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6261274261SdelphijDate: 2009-05-22 14:27:40 +0300 6262207753Smm 6263207753Smm Fix a comment. 6264207753Smm 6265274261Sdelphij src/xz/main.h | 2 +- 6266274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 6267274261Sdelphij 6268207753Smmcommit 4dd21d23f22569285ae706b58b0e5904b8db1839 6269207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6270274261SdelphijDate: 2009-05-22 14:21:20 +0300 6271207753Smm 6272207753Smm Remove the --info option, which was an alias for --list. 6273207753Smm 6274274261Sdelphij src/xz/args.c | 1 - 6275274261Sdelphij 1 file changed, 1 deletion(-) 6276274261Sdelphij 6277207753Smmcommit 8836139b63ce774bdd62abf17ab69b290e08229e 6278207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6279274261SdelphijDate: 2009-05-22 12:27:43 +0300 6280207753Smm 6281207753Smm If xz is run as lzma, unlzma, or lzcat, simply imply 6282207753Smm --format=lzma. This means that xz emulating lzma 6283207753Smm doesn't decompress .xz files, while before this 6284207753Smm commit it did. The new way is slightly simpler in 6285207753Smm code and especially in upcoming documentation. 6286207753Smm 6287274261Sdelphij src/xz/args.c | 17 ++++++----------- 6288274261Sdelphij 1 file changed, 6 insertions(+), 11 deletions(-) 6289274261Sdelphij 6290207753Smmcommit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d 6291207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6292274261SdelphijDate: 2009-05-22 11:29:50 +0300 6293207753Smm 6294207753Smm Make the default memory usage limit 40 % of RAM for both 6295207753Smm compressing and decompressing. This should be OK now that 6296207753Smm xz automatically scales down the compression settings if 6297207753Smm they would exceed the memory usage limit (earlier, the limit 6298207753Smm for compression was increased to 90 % because low limit broke 6299207753Smm scripts that used "xz -9" on systems with low RAM). 6300207753Smm 6301207753Smm Support spcifying the memory usage limit as a percentage 6302207753Smm of RAM (e.g. --memory=50%). 6303207753Smm 6304207753Smm Support --threads=0 to reset the thread limit to the default 6305207753Smm value (number of available CPU cores). Use UINT32_MAX instead 6306207753Smm of SIZE_MAX as the maximum in args.c. hardware.c was already 6307207753Smm expecting uint32_t value. 6308207753Smm 6309207753Smm Cleaned up the output of --help and --long-help. 6310207753Smm 6311274261Sdelphij src/xz/args.c | 28 +++++++++++++----- 6312274261Sdelphij src/xz/hardware.c | 86 +++++++++++++++++++++++-------------------------------- 6313274261Sdelphij src/xz/hardware.h | 10 +++---- 6314274261Sdelphij src/xz/message.c | 28 +++++++++--------- 6315274261Sdelphij src/xz/process.c | 18 +++++------- 6316274261Sdelphij 5 files changed, 82 insertions(+), 88 deletions(-) 6317274261Sdelphij 6318207753Smmcommit 071b825b23911a69dd1cd2f8cda004ef8a781fae 6319207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6320274261SdelphijDate: 2009-05-21 17:22:01 +0300 6321207753Smm 6322207753Smm Support special value "max" where xz and xzdec accept an integer. 6323207753Smm Don't round the memory usage limit in xzdec --help to avoid 6324207753Smm an integer overflow and to not give wrong impression that 6325207753Smm the limit is high enough when it may not actually be. 6326207753Smm 6327274261Sdelphij src/xz/util.c | 4 ++++ 6328274261Sdelphij src/xzdec/xzdec.c | 6 +++++- 6329274261Sdelphij 2 files changed, 9 insertions(+), 1 deletion(-) 6330274261Sdelphij 6331207753Smmcommit 03ca67fd37dd43fa7f590de340899cd497c10802 6332207753SmmAuthor: ABCD <en.abcd@gmail.com> 6333274261SdelphijDate: 2009-05-20 17:31:18 -0400 6334207753Smm 6335207753Smm Install lzdiff, lzgrep, and lzmore as symlinks 6336207753Smm 6337207753Smm This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install. 6338207753Smm It also installs symlinks for the manual pages and removes the new 6339207753Smm symlinks on uninstall. 6340207753Smm 6341274261Sdelphij src/scripts/Makefile.am | 16 ++++++++++++++-- 6342274261Sdelphij 1 file changed, 14 insertions(+), 2 deletions(-) 6343274261Sdelphij 6344207753Smmcommit a6f43e64128a6da5cd641de1e1e527433b3e5638 6345207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6346274261SdelphijDate: 2009-05-02 16:10:14 +0300 6347207753Smm 6348207753Smm Use a GCC-specific #pragma instead of GCC-specific 6349207753Smm -Wno-uninitialized to silence a bogus warning. 6350207753Smm 6351274261Sdelphij configure.ac | 13 ------------- 6352274261Sdelphij src/liblzma/check/Makefile.am | 5 ----- 6353274261Sdelphij src/liblzma/check/sha256.c | 5 +++++ 6354274261Sdelphij 3 files changed, 5 insertions(+), 18 deletions(-) 6355274261Sdelphij 6356207753Smmcommit f6ce63ebdb45a857c8949960c83c9580ae888951 6357207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6358274261SdelphijDate: 2009-05-02 14:46:50 +0300 6359207753Smm 6360207753Smm Removed --disable-encoder and --disable-decoder. Use the values 6361207753Smm given to --enable-encoders and --enable-decoders to determine 6362207753Smm if any encoder or decoder support is wanted. 6363207753Smm 6364274261Sdelphij configure.ac | 48 ++++++++---------------------------------------- 6365274261Sdelphij 1 file changed, 8 insertions(+), 40 deletions(-) 6366274261Sdelphij 6367207753Smmcommit be06858d5cf8ba46557395035d821dc332f3f830 6368207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6369274261SdelphijDate: 2009-05-01 11:28:52 +0300 6370207753Smm 6371207753Smm Remove docs that are too outdated to be updated 6372207753Smm (rewrite will be better). 6373207753Smm 6374274261Sdelphij doc/liblzma-advanced.txt | 324 ----------------------------------------------- 6375274261Sdelphij doc/liblzma-hacking.txt | 112 ---------------- 6376274261Sdelphij doc/liblzma-intro.txt | 194 ---------------------------- 6377274261Sdelphij doc/liblzma-security.txt | 219 -------------------------------- 6378274261Sdelphij doc/lzma-intro.txt | 107 ---------------- 6379274261Sdelphij 5 files changed, 956 deletions(-) 6380274261Sdelphij 6381207753Smmcommit 0255401e57c96af87c6b159eca28974e79430a82 6382207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6383274261SdelphijDate: 2009-05-01 11:21:46 +0300 6384207753Smm 6385207753Smm Added documentation about the legacy .lzma file format. 6386207753Smm 6387274261Sdelphij doc/lzma-file-format.txt | 166 +++++++++++++++++++++++++++++++++++++++++++++++ 6388274261Sdelphij 1 file changed, 166 insertions(+) 6389274261Sdelphij 6390207753Smmcommit 1496ff437c46f38303e0e94c511ca604b3a11f85 6391207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6392274261SdelphijDate: 2009-05-01 11:20:23 +0300 6393207753Smm 6394207753Smm Renamed the file format specification to xz-file-format.txt 6395207753Smm which is the filename used on the WWW. 6396207753Smm 6397274261Sdelphij doc/file-format.txt | 1127 ------------------------------------------------ 6398274261Sdelphij doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++ 6399274261Sdelphij 2 files changed, 1127 insertions(+), 1127 deletions(-) 6400274261Sdelphij 6401207753Smmcommit 21c6b94373d239d7e86bd480fcd558e30391712f 6402207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6403274261SdelphijDate: 2009-04-28 23:08:32 +0300 6404207753Smm 6405207753Smm Fixed a crash in liblzma. 6406207753Smm 6407207753Smm liblzma tries to avoid useless free()/malloc() pairs in 6408207753Smm initialization when multiple files are handled using the 6409207753Smm same lzma_stream. This didn't work with filter chains 6410207753Smm due to comparison of wrong pointers in lzma_next_coder_init(), 6411207753Smm making liblzma think that no memory reallocation is needed 6412207753Smm even when it actually is. 6413207753Smm 6414207753Smm Easy way to trigger this bug is to decompress two files with 6415207753Smm a single xz command. The first file should have e.g. x86+LZMA2 6416207753Smm as the filter chain, and the second file just LZMA2. 6417207753Smm 6418274261Sdelphij src/liblzma/common/alone_decoder.c | 2 +- 6419274261Sdelphij src/liblzma/common/alone_encoder.c | 4 ++-- 6420274261Sdelphij src/liblzma/common/auto_decoder.c | 2 +- 6421274261Sdelphij src/liblzma/common/block_decoder.c | 2 +- 6422274261Sdelphij src/liblzma/common/block_encoder.c | 2 +- 6423274261Sdelphij src/liblzma/common/common.h | 4 ++-- 6424274261Sdelphij src/liblzma/common/easy_encoder.c | 2 +- 6425274261Sdelphij src/liblzma/common/index_decoder.c | 2 +- 6426274261Sdelphij src/liblzma/common/index_encoder.c | 2 +- 6427274261Sdelphij src/liblzma/common/stream_decoder.c | 2 +- 6428274261Sdelphij src/liblzma/common/stream_encoder.c | 2 +- 6429274261Sdelphij 11 files changed, 13 insertions(+), 13 deletions(-) 6430274261Sdelphij 6431207753Smmcommit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c 6432207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6433274261SdelphijDate: 2009-04-15 14:13:38 +0300 6434207753Smm 6435207753Smm Fix uint32_t -> size_t in ARM and ARM-Thumb filters. 6436207753Smm 6437207753Smm On 64-bit system it would have gone into infinite 6438207753Smm loop if a single input buffer was over 4 GiB (unlikely). 6439207753Smm 6440274261Sdelphij src/liblzma/simple/arm.c | 2 +- 6441274261Sdelphij src/liblzma/simple/armthumb.c | 2 +- 6442274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 6443274261Sdelphij 6444207753Smmcommit 31decdce041581e57c0d8a407d4795b114ef27ca 6445207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6446274261SdelphijDate: 2009-04-14 11:48:46 +0300 6447207753Smm 6448207753Smm Minor fixes to test files' README. 6449207753Smm 6450274261Sdelphij tests/files/README | 17 +++++++++-------- 6451274261Sdelphij 1 file changed, 9 insertions(+), 8 deletions(-) 6452274261Sdelphij 6453207753Smmcommit 4787d654434891c7df5b43959b0d2873718f06e0 6454207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6455274261SdelphijDate: 2009-04-13 16:36:41 +0300 6456207753Smm 6457207753Smm Updated history.txt. 6458207753Smm 6459274261Sdelphij doc/history.txt | 123 ++++++++++++++++++++++++++++++-------------------------- 6460274261Sdelphij 1 file changed, 66 insertions(+), 57 deletions(-) 6461274261Sdelphij 6462207753Smmcommit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9 6463207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6464274261SdelphijDate: 2009-04-13 14:49:48 +0300 6465207753Smm 6466207753Smm Quick & dirty update to support xz in diff/grep/more scripts. 6467207753Smm 6468274261Sdelphij src/scripts/Makefile.am | 38 +++++++++------ 6469274261Sdelphij src/scripts/lzdiff | 67 -------------------------- 6470274261Sdelphij src/scripts/lzdiff.1 | 51 -------------------- 6471274261Sdelphij src/scripts/lzgrep | 123 ------------------------------------------------ 6472274261Sdelphij src/scripts/lzgrep.1 | 61 ------------------------ 6473274261Sdelphij src/scripts/lzmore | 74 ----------------------------- 6474274261Sdelphij src/scripts/lzmore.1 | 55 ---------------------- 6475274261Sdelphij src/scripts/xzdiff | 67 ++++++++++++++++++++++++++ 6476274261Sdelphij src/scripts/xzdiff.1 | 58 +++++++++++++++++++++++ 6477274261Sdelphij src/scripts/xzgrep | 123 ++++++++++++++++++++++++++++++++++++++++++++++++ 6478274261Sdelphij src/scripts/xzgrep.1 | 77 ++++++++++++++++++++++++++++++ 6479274261Sdelphij src/scripts/xzmore | 74 +++++++++++++++++++++++++++++ 6480274261Sdelphij src/scripts/xzmore.1 | 66 ++++++++++++++++++++++++++ 6481274261Sdelphij 13 files changed, 489 insertions(+), 445 deletions(-) 6482274261Sdelphij 6483207753Smmcommit 02ddf09bc3079b3e17297729b9e43f14d407b8fc 6484207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6485274261SdelphijDate: 2009-04-13 11:27:40 +0300 6486207753Smm 6487207753Smm Put the interesting parts of XZ Utils into the public domain. 6488207753Smm Some minor documentation cleanups were made at the same time. 6489207753Smm 6490274261Sdelphij COPYING | 67 ++++++++++++++++++++------ 6491274261Sdelphij ChangeLog | 2 +- 6492274261Sdelphij Doxyfile.in | 8 +-- 6493274261Sdelphij Makefile.am | 13 ++--- 6494274261Sdelphij autogen.sh | 9 ++++ 6495274261Sdelphij configure.ac | 13 ++--- 6496274261Sdelphij debug/Makefile.am | 13 ++--- 6497274261Sdelphij debug/crc32.c | 13 ++--- 6498274261Sdelphij debug/full_flush.c | 13 ++--- 6499274261Sdelphij debug/hex2bin.c | 7 ++- 6500274261Sdelphij debug/known_sizes.c | 13 ++--- 6501274261Sdelphij debug/memusage.c | 13 ++--- 6502274261Sdelphij debug/repeat.c | 13 ++--- 6503274261Sdelphij debug/sync_flush.c | 13 ++--- 6504274261Sdelphij doc/faq.txt | 38 ++------------- 6505274261Sdelphij lib/Makefile.am | 18 +++---- 6506274261Sdelphij src/Makefile.am | 13 ++--- 6507274261Sdelphij src/common/bswap.h | 7 ++- 6508274261Sdelphij src/common/cpucores.h | 7 ++- 6509274261Sdelphij src/common/integer.h | 7 ++- 6510274261Sdelphij src/common/mythread.h | 4 +- 6511274261Sdelphij src/common/open_stdxxx.h | 7 ++- 6512274261Sdelphij src/common/physmem.h | 7 ++- 6513274261Sdelphij src/common/sysdefs.h | 13 ++--- 6514274261Sdelphij src/liblzma/Makefile.am | 13 ++--- 6515274261Sdelphij src/liblzma/api/Makefile.am | 13 ++--- 6516274261Sdelphij src/liblzma/api/lzma.h | 38 +++++++++------ 6517274261Sdelphij src/liblzma/api/lzma/base.h | 20 +++----- 6518274261Sdelphij src/liblzma/api/lzma/bcj.h | 18 +++---- 6519274261Sdelphij src/liblzma/api/lzma/block.h | 18 +++---- 6520274261Sdelphij src/liblzma/api/lzma/check.h | 18 +++---- 6521274261Sdelphij src/liblzma/api/lzma/container.h | 18 +++---- 6522274261Sdelphij src/liblzma/api/lzma/delta.h | 18 +++---- 6523274261Sdelphij src/liblzma/api/lzma/filter.h | 18 +++---- 6524274261Sdelphij src/liblzma/api/lzma/index.h | 18 +++---- 6525274261Sdelphij src/liblzma/api/lzma/index_hash.h | 22 +++------ 6526274261Sdelphij src/liblzma/api/lzma/lzma.h | 18 +++---- 6527274261Sdelphij src/liblzma/api/lzma/stream_flags.h | 18 +++---- 6528274261Sdelphij src/liblzma/api/lzma/subblock.h | 18 +++---- 6529274261Sdelphij src/liblzma/api/lzma/version.h | 18 +++---- 6530274261Sdelphij src/liblzma/api/lzma/vli.h | 46 ++++++++---------- 6531274261Sdelphij src/liblzma/check/Makefile.am | 8 ++- 6532274261Sdelphij src/liblzma/check/check.c | 7 ++- 6533274261Sdelphij src/liblzma/check/check.h | 7 ++- 6534274261Sdelphij src/liblzma/check/crc32_fast.c | 30 +++++------- 6535274261Sdelphij src/liblzma/check/crc32_small.c | 7 ++- 6536274261Sdelphij src/liblzma/check/crc32_table.c | 7 ++- 6537274261Sdelphij src/liblzma/check/crc32_tablegen.c | 7 ++- 6538274261Sdelphij src/liblzma/check/crc32_x86.S | 21 +++++--- 6539274261Sdelphij src/liblzma/check/crc64_fast.c | 20 +++----- 6540274261Sdelphij src/liblzma/check/crc64_small.c | 7 ++- 6541274261Sdelphij src/liblzma/check/crc64_table.c | 7 ++- 6542274261Sdelphij src/liblzma/check/crc64_tablegen.c | 7 ++- 6543274261Sdelphij src/liblzma/check/crc64_x86.S | 14 ++++-- 6544274261Sdelphij src/liblzma/check/crc_macros.h | 9 ++-- 6545274261Sdelphij src/liblzma/check/sha256.c | 23 +++++---- 6546274261Sdelphij src/liblzma/common/Makefile.am | 13 ++--- 6547274261Sdelphij src/liblzma/common/alone_decoder.c | 13 ++--- 6548274261Sdelphij src/liblzma/common/alone_decoder.h | 13 ++--- 6549274261Sdelphij src/liblzma/common/alone_encoder.c | 13 ++--- 6550274261Sdelphij src/liblzma/common/auto_decoder.c | 13 ++--- 6551274261Sdelphij src/liblzma/common/block_buffer_decoder.c | 13 ++--- 6552274261Sdelphij src/liblzma/common/block_buffer_encoder.c | 13 ++--- 6553274261Sdelphij src/liblzma/common/block_decoder.c | 13 ++--- 6554274261Sdelphij src/liblzma/common/block_decoder.h | 13 ++--- 6555274261Sdelphij src/liblzma/common/block_encoder.c | 13 ++--- 6556274261Sdelphij src/liblzma/common/block_encoder.h | 13 ++--- 6557274261Sdelphij src/liblzma/common/block_header_decoder.c | 13 ++--- 6558274261Sdelphij src/liblzma/common/block_header_encoder.c | 13 ++--- 6559274261Sdelphij src/liblzma/common/block_util.c | 13 ++--- 6560274261Sdelphij src/liblzma/common/bsr.h | 7 ++- 6561274261Sdelphij src/liblzma/common/chunk_size.c | 13 ++--- 6562274261Sdelphij src/liblzma/common/common.c | 13 ++--- 6563274261Sdelphij src/liblzma/common/common.h | 13 ++--- 6564274261Sdelphij src/liblzma/common/easy_buffer_encoder.c | 13 ++--- 6565274261Sdelphij src/liblzma/common/easy_decoder_memusage.c | 13 ++--- 6566274261Sdelphij src/liblzma/common/easy_encoder.c | 13 ++--- 6567274261Sdelphij src/liblzma/common/easy_encoder_memusage.c | 13 ++--- 6568274261Sdelphij src/liblzma/common/easy_preset.c | 13 ++--- 6569274261Sdelphij src/liblzma/common/easy_preset.h | 13 ++--- 6570274261Sdelphij src/liblzma/common/filter_buffer_decoder.c | 13 ++--- 6571274261Sdelphij src/liblzma/common/filter_buffer_encoder.c | 13 ++--- 6572274261Sdelphij src/liblzma/common/filter_common.c | 13 ++--- 6573274261Sdelphij src/liblzma/common/filter_common.h | 13 ++--- 6574274261Sdelphij src/liblzma/common/filter_decoder.c | 13 ++--- 6575274261Sdelphij src/liblzma/common/filter_decoder.h | 13 ++--- 6576274261Sdelphij src/liblzma/common/filter_encoder.c | 13 ++--- 6577274261Sdelphij src/liblzma/common/filter_encoder.h | 13 ++--- 6578274261Sdelphij src/liblzma/common/filter_flags_decoder.c | 13 ++--- 6579274261Sdelphij src/liblzma/common/filter_flags_encoder.c | 13 ++--- 6580274261Sdelphij src/liblzma/common/index.c | 13 ++--- 6581274261Sdelphij src/liblzma/common/index.h | 13 ++--- 6582274261Sdelphij src/liblzma/common/index_decoder.c | 13 ++--- 6583274261Sdelphij src/liblzma/common/index_encoder.c | 13 ++--- 6584274261Sdelphij src/liblzma/common/index_encoder.h | 13 ++--- 6585274261Sdelphij src/liblzma/common/index_hash.c | 13 ++--- 6586274261Sdelphij src/liblzma/common/stream_buffer_decoder.c | 13 ++--- 6587274261Sdelphij src/liblzma/common/stream_buffer_encoder.c | 13 ++--- 6588274261Sdelphij src/liblzma/common/stream_decoder.c | 13 ++--- 6589274261Sdelphij src/liblzma/common/stream_decoder.h | 13 ++--- 6590274261Sdelphij src/liblzma/common/stream_encoder.c | 13 ++--- 6591274261Sdelphij src/liblzma/common/stream_encoder.h | 13 ++--- 6592274261Sdelphij src/liblzma/common/stream_flags_common.c | 13 ++--- 6593274261Sdelphij src/liblzma/common/stream_flags_common.h | 13 ++--- 6594274261Sdelphij src/liblzma/common/stream_flags_decoder.c | 13 ++--- 6595274261Sdelphij src/liblzma/common/stream_flags_encoder.c | 13 ++--- 6596274261Sdelphij src/liblzma/common/vli_decoder.c | 13 ++--- 6597274261Sdelphij src/liblzma/common/vli_encoder.c | 13 ++--- 6598274261Sdelphij src/liblzma/common/vli_size.c | 13 ++--- 6599274261Sdelphij src/liblzma/delta/Makefile.am | 13 ++--- 6600274261Sdelphij src/liblzma/delta/delta_common.c | 13 ++--- 6601274261Sdelphij src/liblzma/delta/delta_common.h | 13 ++--- 6602274261Sdelphij src/liblzma/delta/delta_decoder.c | 13 ++--- 6603274261Sdelphij src/liblzma/delta/delta_decoder.h | 13 ++--- 6604274261Sdelphij src/liblzma/delta/delta_encoder.c | 13 ++--- 6605274261Sdelphij src/liblzma/delta/delta_encoder.h | 13 ++--- 6606274261Sdelphij src/liblzma/delta/delta_private.h | 13 ++--- 6607274261Sdelphij src/liblzma/lz/Makefile.am | 13 ++--- 6608274261Sdelphij src/liblzma/lz/lz_decoder.c | 17 ++----- 6609274261Sdelphij src/liblzma/lz/lz_decoder.h | 17 ++----- 6610274261Sdelphij src/liblzma/lz/lz_encoder.c | 17 ++----- 6611274261Sdelphij src/liblzma/lz/lz_encoder.h | 17 ++----- 6612274261Sdelphij src/liblzma/lz/lz_encoder_hash.h | 13 ++--- 6613274261Sdelphij src/liblzma/lz/lz_encoder_mf.c | 17 ++----- 6614274261Sdelphij src/liblzma/lzma/Makefile.am | 13 ++--- 6615274261Sdelphij src/liblzma/lzma/fastpos.h | 17 ++----- 6616274261Sdelphij src/liblzma/lzma/fastpos_tablegen.c | 17 ++----- 6617274261Sdelphij src/liblzma/lzma/lzma2_decoder.c | 17 ++----- 6618274261Sdelphij src/liblzma/lzma/lzma2_decoder.h | 17 ++----- 6619274261Sdelphij src/liblzma/lzma/lzma2_encoder.c | 17 ++----- 6620274261Sdelphij src/liblzma/lzma/lzma2_encoder.h | 17 ++----- 6621274261Sdelphij src/liblzma/lzma/lzma_common.h | 17 ++----- 6622274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 17 ++----- 6623274261Sdelphij src/liblzma/lzma/lzma_decoder.h | 17 ++----- 6624274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 17 ++----- 6625274261Sdelphij src/liblzma/lzma/lzma_encoder.h | 17 ++----- 6626274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_fast.c | 13 ++--- 6627274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 ++--- 6628274261Sdelphij src/liblzma/lzma/lzma_encoder_presets.c | 13 ++--- 6629274261Sdelphij src/liblzma/lzma/lzma_encoder_private.h | 17 ++----- 6630274261Sdelphij src/liblzma/rangecoder/Makefile.am | 13 ++--- 6631274261Sdelphij src/liblzma/rangecoder/price.h | 13 ++--- 6632274261Sdelphij src/liblzma/rangecoder/price_tablegen.c | 16 ++---- 6633274261Sdelphij src/liblzma/rangecoder/range_common.h | 17 ++----- 6634274261Sdelphij src/liblzma/rangecoder/range_decoder.h | 17 ++----- 6635274261Sdelphij src/liblzma/rangecoder/range_encoder.h | 17 ++----- 6636274261Sdelphij src/liblzma/simple/Makefile.am | 13 ++--- 6637274261Sdelphij src/liblzma/simple/arm.c | 17 ++----- 6638274261Sdelphij src/liblzma/simple/armthumb.c | 17 ++----- 6639274261Sdelphij src/liblzma/simple/ia64.c | 17 ++----- 6640274261Sdelphij src/liblzma/simple/powerpc.c | 17 ++----- 6641274261Sdelphij src/liblzma/simple/simple_coder.c | 13 ++--- 6642274261Sdelphij src/liblzma/simple/simple_coder.h | 14 ++---- 6643274261Sdelphij src/liblzma/simple/simple_decoder.c | 13 ++--- 6644274261Sdelphij src/liblzma/simple/simple_decoder.h | 13 ++--- 6645274261Sdelphij src/liblzma/simple/simple_encoder.c | 13 ++--- 6646274261Sdelphij src/liblzma/simple/simple_encoder.h | 13 ++--- 6647274261Sdelphij src/liblzma/simple/simple_private.h | 13 ++--- 6648274261Sdelphij src/liblzma/simple/sparc.c | 17 ++----- 6649274261Sdelphij src/liblzma/simple/x86.c | 17 ++----- 6650274261Sdelphij src/liblzma/subblock/Makefile.am | 13 ++--- 6651274261Sdelphij src/liblzma/subblock/subblock_decoder.c | 13 ++--- 6652274261Sdelphij src/liblzma/subblock/subblock_decoder.h | 13 ++--- 6653274261Sdelphij src/liblzma/subblock/subblock_decoder_helper.c | 13 ++--- 6654274261Sdelphij src/liblzma/subblock/subblock_decoder_helper.h | 13 ++--- 6655274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 13 ++--- 6656274261Sdelphij src/liblzma/subblock/subblock_encoder.h | 13 ++--- 6657274261Sdelphij src/scripts/Makefile.am | 7 +++ 6658274261Sdelphij src/xz/Makefile.am | 13 ++--- 6659274261Sdelphij src/xz/args.c | 13 ++--- 6660274261Sdelphij src/xz/args.h | 13 ++--- 6661274261Sdelphij src/xz/hardware.c | 13 ++--- 6662274261Sdelphij src/xz/hardware.h | 13 ++--- 6663274261Sdelphij src/xz/io.c | 13 ++--- 6664274261Sdelphij src/xz/io.h | 13 ++--- 6665274261Sdelphij src/xz/list.c | 13 ++--- 6666274261Sdelphij src/xz/main.c | 13 ++--- 6667274261Sdelphij src/xz/main.h | 13 ++--- 6668274261Sdelphij src/xz/message.c | 13 ++--- 6669274261Sdelphij src/xz/message.h | 13 ++--- 6670274261Sdelphij src/xz/options.c | 13 ++--- 6671274261Sdelphij src/xz/options.h | 13 ++--- 6672274261Sdelphij src/xz/private.h | 13 ++--- 6673274261Sdelphij src/xz/process.c | 13 ++--- 6674274261Sdelphij src/xz/process.h | 13 ++--- 6675274261Sdelphij src/xz/signals.c | 13 ++--- 6676274261Sdelphij src/xz/signals.h | 13 ++--- 6677274261Sdelphij src/xz/suffix.c | 13 ++--- 6678274261Sdelphij src/xz/suffix.h | 13 ++--- 6679274261Sdelphij src/xz/util.c | 13 ++--- 6680274261Sdelphij src/xz/util.h | 13 ++--- 6681274261Sdelphij src/xzdec/Makefile.am | 13 ++--- 6682274261Sdelphij src/xzdec/xzdec.c | 13 ++--- 6683274261Sdelphij tests/Makefile.am | 13 ++--- 6684274261Sdelphij tests/bcj_test.c | 7 ++- 6685274261Sdelphij tests/create_compress_files.c | 13 ++--- 6686274261Sdelphij tests/test_block.c | 13 ++--- 6687274261Sdelphij tests/test_block_header.c | 13 ++--- 6688274261Sdelphij tests/test_check.c | 13 ++--- 6689274261Sdelphij tests/test_compress.sh | 13 ++--- 6690274261Sdelphij tests/test_files.sh | 13 ++--- 6691274261Sdelphij tests/test_filter_flags.c | 13 ++--- 6692274261Sdelphij tests/test_index.c | 13 ++--- 6693274261Sdelphij tests/test_stream_flags.c | 13 ++--- 6694274261Sdelphij tests/tests.h | 13 ++--- 6695274261Sdelphij windows/common.rc | 2 +- 6696274261Sdelphij 206 files changed, 868 insertions(+), 2023 deletions(-) 6697274261Sdelphij 6698207753Smmcommit e79c42d854657ae7f75613bd80c1a35ff7c525cb 6699207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6700274261SdelphijDate: 2009-04-10 11:17:02 +0300 6701207753Smm 6702207753Smm Fix off-by-one in LZ decoder. 6703207753Smm 6704207753Smm Fortunately, this bug had no security risk other than accepting 6705207753Smm some corrupt files as valid. 6706207753Smm 6707274261Sdelphij src/liblzma/lz/lz_decoder.h | 2 +- 6708274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 6709274261Sdelphij 6710207753Smmcommit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af 6711207753SmmAuthor: Pavel Roskin <proski@gnu.org> 6712274261SdelphijDate: 2009-03-31 12:15:01 -0400 6713207753Smm 6714207753Smm Fix minor typos in README 6715207753Smm 6716274261Sdelphij README | 6 +++--- 6717274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 6718274261Sdelphij 6719207753Smmcommit 9bab5336ebd765ec4e12252f416eefdf04eba750 6720207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6721274261SdelphijDate: 2009-03-31 21:52:51 +0300 6722207753Smm 6723207753Smm Add a note and work-around instructions to README about 6724207753Smm problems detecting a C99 compiler when some standard 6725207753Smm headers are missing. 6726207753Smm 6727274261Sdelphij README | 11 +++++++++++ 6728274261Sdelphij 1 file changed, 11 insertions(+) 6729274261Sdelphij 6730207753Smmcommit a0497ff7a06f9350349264fe9b52dfefc6d53ead 6731207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6732274261SdelphijDate: 2009-03-18 16:54:38 +0200 6733207753Smm 6734207753Smm Updated THANKS. 6735207753Smm 6736274261Sdelphij THANKS | 1 + 6737274261Sdelphij 1 file changed, 1 insertion(+) 6738274261Sdelphij 6739207753Smmcommit 390e69887fc5e0a108eb41203bed9acd100a3d76 6740207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6741274261SdelphijDate: 2009-03-18 16:51:41 +0200 6742207753Smm 6743207753Smm Fix wrong macro names in lc_cpucores.m4 and cpucores.h. 6744207753Smm Thanks to Bert Wesarg. 6745207753Smm 6746274261Sdelphij m4/lc_cpucores.m4 | 4 ++-- 6747274261Sdelphij src/common/cpucores.h | 4 ++-- 6748274261Sdelphij 2 files changed, 4 insertions(+), 4 deletions(-) 6749274261Sdelphij 6750207753Smmcommit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6 6751207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6752274261SdelphijDate: 2009-03-01 09:03:08 +0200 6753207753Smm 6754207753Smm Test for Linux-specific sysinfo() only on Linux systems. 6755207753Smm Some other systems have sysinfo() with different semantics. 6756207753Smm 6757274261Sdelphij m4/lc_physmem.m4 | 28 +++++++++++++++++++--------- 6758274261Sdelphij 1 file changed, 19 insertions(+), 9 deletions(-) 6759274261Sdelphij 6760207753Smmcommit cf751edfde3ad6e088dc18e0522d31ae38405933 6761207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6762274261SdelphijDate: 2009-03-01 09:00:06 +0200 6763207753Smm 6764207753Smm Added AC_CONFIG_MACRO_DIR to configure.ac. 6765207753Smm 6766274261Sdelphij configure.ac | 1 + 6767274261Sdelphij 1 file changed, 1 insertion(+) 6768274261Sdelphij 6769207753Smmcommit 63df14c57dee7c461717784287056688482a7eb9 6770207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6771274261SdelphijDate: 2009-03-01 08:58:41 +0200 6772207753Smm 6773207753Smm Fix the Autoconf test for getopt_long replacement. 6774207753Smm It was broken by e114502b2bc371e4a45449832cb69be036360722. 6775207753Smm 6776274261Sdelphij m4/getopt.m4 | 4 ++++ 6777274261Sdelphij 1 file changed, 4 insertions(+) 6778274261Sdelphij 6779207753Smmcommit fd6a380f4eda4f00be5f2aa8d222992cd74a714f 6780207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6781274261SdelphijDate: 2009-02-22 19:07:54 +0200 6782207753Smm 6783207753Smm Add a rough explanation of --extreme to output of --help. 6784207753Smm 6785274261Sdelphij src/xz/message.c | 4 ++++ 6786274261Sdelphij 1 file changed, 4 insertions(+) 6787274261Sdelphij 6788207753Smmcommit 68bf7ac2984d3627369a240ef0491934d53f7899 6789207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6790274261SdelphijDate: 2009-02-22 18:52:49 +0200 6791207753Smm 6792207753Smm Fixes to progress message handling in xz: 6793207753Smm 6794207753Smm - Don't use Windows-specific code on Windows. The old code 6795207753Smm required at least Windows 2000. Now it should work on 6796207753Smm Windows 98 and later, and maybe on Windows 95 too. 6797207753Smm 6798207753Smm - Use less precision when showing estimated remaining time. 6799207753Smm 6800207753Smm - Fix some small design issues. 6801207753Smm 6802274261Sdelphij src/xz/message.c | 483 +++++++++++++++++++++++++++++++++++-------------------- 6803274261Sdelphij src/xz/message.h | 28 ++-- 6804274261Sdelphij src/xz/process.c | 53 +++--- 6805274261Sdelphij 3 files changed, 351 insertions(+), 213 deletions(-) 6806274261Sdelphij 6807207753Smmcommit 47c2e21f82242f50f18713a27d644c2c94ab3fea 6808207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6809274261SdelphijDate: 2009-02-18 13:00:10 +0200 6810207753Smm 6811207753Smm Added files missing from the previous commit. 6812207753Smm 6813274261Sdelphij src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++ 6814274261Sdelphij src/liblzma/common/Makefile.am | 7 ++++++- 6815274261Sdelphij 2 files changed, 39 insertions(+), 1 deletion(-) 6816274261Sdelphij 6817207753Smmcommit 489a3dbaa0465f04400804e956a1cfbbee3654a2 6818207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6819274261SdelphijDate: 2009-02-17 10:43:00 +0200 6820207753Smm 6821207753Smm Added lzma_easy_buffer_encode(). Splitted easy.c into small 6822207753Smm pieces to avoid unneeded dependencies making statically 6823207753Smm linked applications bigger than needed. 6824207753Smm 6825274261Sdelphij dos/Makefile | 6 +- 6826274261Sdelphij src/liblzma/common/easy.c | 128 ----------------------------- 6827274261Sdelphij src/liblzma/common/easy_buffer_encoder.c | 34 ++++++++ 6828274261Sdelphij src/liblzma/common/easy_decoder_memusage.c | 31 +++++++ 6829274261Sdelphij src/liblzma/common/easy_encoder.c | 87 ++++++++++++++++++++ 6830274261Sdelphij src/liblzma/common/easy_encoder_memusage.c | 31 +++++++ 6831274261Sdelphij src/liblzma/common/easy_preset.c | 34 ++++++++ 6832274261Sdelphij src/liblzma/common/easy_preset.h | 39 +++++++++ 6833274261Sdelphij windows/Makefile | 6 +- 6834274261Sdelphij 9 files changed, 266 insertions(+), 130 deletions(-) 6835274261Sdelphij 6836207753Smmcommit 7494816ab08d82f4d6409788825930c4e43cfd0d 6837207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6838274261SdelphijDate: 2009-02-15 15:48:45 +0200 6839207753Smm 6840207753Smm Make physmem.h work on old Windows versions. 6841207753Smm Thanks to Hongbo Ni for the original patch. 6842207753Smm 6843274261Sdelphij src/common/physmem.h | 31 +++++++++++++++++++++++++++---- 6844274261Sdelphij 1 file changed, 27 insertions(+), 4 deletions(-) 6845274261Sdelphij 6846207753Smmcommit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0 6847207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6848274261SdelphijDate: 2009-02-14 20:44:52 +0200 6849207753Smm 6850207753Smm Fix microsecond vs. nanosecond confusion in my_time(). 6851207753Smm 6852274261Sdelphij src/xz/message.c | 2 +- 6853274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 6854274261Sdelphij 6855207753Smmcommit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7 6856207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6857274261SdelphijDate: 2009-02-14 00:45:29 +0200 6858207753Smm 6859207753Smm Cleanups to the code that detects the amount of RAM and 6860207753Smm the number of CPU cores. Added support for using sysinfo() 6861207753Smm on Linux systems whose libc lacks appropriate sysconf() 6862207753Smm support (at least dietlibc). The Autoconf macros were 6863207753Smm split into separate files, and CPU core count detection 6864207753Smm was moved from hardware.c to cpucores.h. The core count 6865207753Smm isn't used for anything real for now, so a problematic 6866207753Smm part in process.c was commented out. 6867207753Smm 6868274261Sdelphij configure.ac | 89 ++------------------------------------------------- 6869274261Sdelphij m4/lc_cpucores.m4 | 57 +++++++++++++++++++++++++++++++++ 6870274261Sdelphij m4/lc_physmem.m4 | 74 ++++++++++++++++++++++++++++++++++++++++++ 6871274261Sdelphij src/common/cpucores.h | 52 ++++++++++++++++++++++++++++++ 6872274261Sdelphij src/common/physmem.h | 21 +++++++----- 6873274261Sdelphij src/xz/args.c | 4 +-- 6874274261Sdelphij src/xz/hardware.c | 50 +++++++++++++---------------- 6875274261Sdelphij src/xz/hardware.h | 11 +++++-- 6876274261Sdelphij src/xz/message.c | 5 +-- 6877274261Sdelphij src/xz/process.c | 2 ++ 6878274261Sdelphij 10 files changed, 235 insertions(+), 130 deletions(-) 6879274261Sdelphij 6880207753Smmcommit 9c62371eab2706c46b1072f5935e28cb4cd9dca8 6881207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6882274261SdelphijDate: 2009-02-13 18:23:50 +0200 6883207753Smm 6884207753Smm Initial port to DOS using DJGPP. 6885207753Smm 6886274261Sdelphij dos/Makefile | 261 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 6887274261Sdelphij dos/README | 113 ++++++++++++++++++++++++++ 6888274261Sdelphij dos/config.h | 150 ++++++++++++++++++++++++++++++++++ 6889274261Sdelphij 3 files changed, 524 insertions(+) 6890274261Sdelphij 6891207753Smmcommit 0dae8b7751d09e9c5a482d5519daaee4800ce203 6892207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6893274261SdelphijDate: 2009-02-13 18:02:05 +0200 6894207753Smm 6895207753Smm Windows port: Take advantage of the version number macros. 6896207753Smm Now the version number is not duplicated in the 6897207753Smm Windows-specific files anymore. 6898207753Smm 6899274261Sdelphij windows/Makefile | 2 +- 6900274261Sdelphij windows/common.rc | 16 ++++++++-------- 6901274261Sdelphij windows/config.h | 15 --------------- 6902274261Sdelphij 3 files changed, 9 insertions(+), 24 deletions(-) 6903274261Sdelphij 6904207753Smmcommit fdbc0cfa71f7d660855098a609175ba384259529 6905207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6906274261SdelphijDate: 2009-02-13 18:00:03 +0200 6907207753Smm 6908207753Smm Changed how the version number is specified in various places. 6909207753Smm Now configure.ac will get the version number directly from 6910207753Smm src/liblzma/api/lzma/version.h. The intent is to reduce the 6911207753Smm number of places where the version number is duplicated. In 6912207753Smm future, support for displaying Git commit ID may be added too. 6913207753Smm 6914274261Sdelphij configure.ac | 3 +- 6915274261Sdelphij src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++++-- 6916274261Sdelphij src/liblzma/common/common.c | 2 +- 6917274261Sdelphij src/xz/message.c | 2 +- 6918274261Sdelphij src/xzdec/xzdec.c | 2 +- 6919274261Sdelphij version.sh | 23 ++++++++++++++ 6920274261Sdelphij 6 files changed, 95 insertions(+), 7 deletions(-) 6921274261Sdelphij 6922207753Smmcommit 1d924e584b146136989f48c13fff2632896efb3d 6923207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6924274261SdelphijDate: 2009-02-13 17:30:30 +0200 6925207753Smm 6926207753Smm Fix handling of integrity check type in the xz command line tool. 6927207753Smm 6928274261Sdelphij src/xz/args.c | 9 ++++++++- 6929274261Sdelphij src/xz/process.c | 4 ++++ 6930274261Sdelphij 2 files changed, 12 insertions(+), 1 deletion(-) 6931274261Sdelphij 6932207753Smmcommit 96c46df7deb231ea68a03d8d1da9de4c774e36d8 6933207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6934274261SdelphijDate: 2009-02-13 17:29:02 +0200 6935207753Smm 6936207753Smm Improve support for DOS-like systems. 6937207753Smm Here DOS-like means DOS, Windows, and OS/2. 6938207753Smm 6939274261Sdelphij src/common/physmem.h | 12 ++++++++++++ 6940274261Sdelphij src/common/sysdefs.h | 4 ++++ 6941274261Sdelphij src/liblzma/check/crc32_x86.S | 6 +++--- 6942274261Sdelphij src/liblzma/check/crc64_x86.S | 6 +++--- 6943274261Sdelphij src/xz/args.c | 13 +++++-------- 6944274261Sdelphij src/xz/io.c | 39 +++++++++++++++++++++++++-------------- 6945274261Sdelphij src/xz/main.c | 23 +++++++++++++++++++++++ 6946274261Sdelphij src/xz/message.c | 3 +++ 6947274261Sdelphij src/xz/suffix.c | 5 +++++ 6948274261Sdelphij src/xzdec/xzdec.c | 5 +++-- 6949274261Sdelphij 10 files changed, 86 insertions(+), 30 deletions(-) 6950274261Sdelphij 6951207753Smmcommit b6a30ee8c2de60ecd722cd05223e4ba72f822e33 6952207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6953274261SdelphijDate: 2009-02-11 20:02:32 +0200 6954207753Smm 6955207753Smm Remove dead directories from .gitignore. 6956207753Smm 6957274261Sdelphij .gitignore | 2 -- 6958274261Sdelphij 1 file changed, 2 deletions(-) 6959274261Sdelphij 6960207753Smmcommit 1ec5b0027911d94cb6f98892cbc690f818d8a861 6961207753SmmAuthor: Jim Meyering <jim@meyering.net> 6962274261SdelphijDate: 2009-02-11 14:45:14 +0100 6963207753Smm 6964207753Smm .gitignore vs. Makefiles 6965207753Smm 6966207753Smm How about this for those of us who do srcdir builds? 6967207753Smm 6968274261Sdelphij .gitignore | 22 ++++++++++++++++++++++ 6969274261Sdelphij 1 file changed, 22 insertions(+) 6970274261Sdelphij 6971207753Smmcommit 154f5aec2de201c674841de4fcc9804c2a87af07 6972207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6973274261SdelphijDate: 2009-02-10 21:48:35 +0200 6974207753Smm 6975207753Smm Removed Makefile from .gitignore since not all Makefiles 6976207753Smm in the repository are generated by Autotools. People 6977207753Smm should do test builds in a separate build directory anyway. 6978207753Smm 6979274261Sdelphij .gitignore | 1 - 6980274261Sdelphij 1 file changed, 1 deletion(-) 6981274261Sdelphij 6982207753Smmcommit e605c2663691b0a4c307786aa368d124ea081daa 6983207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6984274261SdelphijDate: 2009-02-10 21:48:05 +0200 6985207753Smm 6986207753Smm Added resource files for the Windows build. 6987207753Smm 6988274261Sdelphij windows/Makefile | 37 ++++++++++++++++++++++--------------- 6989274261Sdelphij windows/common.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 6990274261Sdelphij windows/liblzma.rc | 5 +++++ 6991274261Sdelphij windows/lzmadec.rc | 5 +++++ 6992274261Sdelphij windows/xz.rc | 5 +++++ 6993274261Sdelphij windows/xzdec.rc | 5 +++++ 6994274261Sdelphij 6 files changed, 88 insertions(+), 15 deletions(-) 6995274261Sdelphij 6996207753Smmcommit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476 6997207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 6998274261SdelphijDate: 2009-02-09 14:54:31 +0200 6999207753Smm 7000207753Smm Let the user specify custom CFLAGS on the make command 7001207753Smm line. Previously custom CFLAGS worked only when they were 7002207753Smm passed to configure. 7003207753Smm 7004274261Sdelphij configure.ac | 58 ++++++++++++++++++++++--------------------- 7005274261Sdelphij src/liblzma/check/Makefile.am | 2 +- 7006274261Sdelphij 2 files changed, 31 insertions(+), 29 deletions(-) 7007274261Sdelphij 7008207753Smmcommit 53f7598998b1860a69c51243b5d2e34623c6bf60 7009207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7010274261SdelphijDate: 2009-02-08 21:35:11 +0200 7011207753Smm 7012207753Smm Fix aliasing issue in physmem.h. 7013207753Smm 7014274261Sdelphij src/common/physmem.h | 19 ++++++++++--------- 7015274261Sdelphij 1 file changed, 10 insertions(+), 9 deletions(-) 7016274261Sdelphij 7017207753Smmcommit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6 7018207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7019274261SdelphijDate: 2009-02-08 18:24:50 +0200 7020207753Smm 7021207753Smm Add a separate internal function to initialize the CRC32 7022207753Smm table, which is used also by LZ encoder. This was needed 7023207753Smm because calling lzma_crc32() and ignoring the result is 7024207753Smm a no-op due to lzma_attr_pure. 7025207753Smm 7026274261Sdelphij src/liblzma/check/check.h | 1 + 7027274261Sdelphij src/liblzma/check/crc32_small.c | 10 +++++++++- 7028274261Sdelphij src/liblzma/lz/lz_encoder.c | 4 ++-- 7029274261Sdelphij 3 files changed, 12 insertions(+), 3 deletions(-) 7030274261Sdelphij 7031207753Smmcommit ae1ad9af54210c9a2be336b1316532da5071516c 7032207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7033274261SdelphijDate: 2009-02-08 18:17:05 +0200 7034207753Smm 7035207753Smm Make "xz --force" to write to terminal as the error 7036207753Smm message suggests. 7037207753Smm 7038274261Sdelphij src/xz/main.c | 2 +- 7039274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 7040274261Sdelphij 7041207753Smmcommit 79e25eded48d2fe33f31441ab7a034f902e335f8 7042207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7043274261SdelphijDate: 2009-02-08 10:37:50 +0200 7044207753Smm 7045207753Smm Support both slash and backslash as path component 7046207753Smm separator on Windows when parsing argv[0]. 7047207753Smm 7048274261Sdelphij src/xz/args.c | 9 +++++++++ 7049274261Sdelphij 1 file changed, 9 insertions(+) 7050274261Sdelphij 7051207753Smmcommit bc7c7109cc4410055a888c1c70cbd1c9445c4361 7052207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7053274261SdelphijDate: 2009-02-07 23:18:13 +0200 7054207753Smm 7055207753Smm Omit the wrong and (even if corrected) nowadays useless rm 7056207753Smm from autogen.sh. 7057207753Smm 7058274261Sdelphij autogen.sh | 28 ---------------------------- 7059274261Sdelphij 1 file changed, 28 deletions(-) 7060274261Sdelphij 7061207753Smmcommit edfc2031e56f8a2ccda063f02936b3a848d88723 7062207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7063274261SdelphijDate: 2009-02-07 21:41:52 +0200 7064207753Smm 7065207753Smm Updated THANKS. 7066207753Smm 7067274261Sdelphij THANKS | 1 + 7068274261Sdelphij 1 file changed, 1 insertion(+) 7069274261Sdelphij 7070207753Smmcommit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3 7071207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7072274261SdelphijDate: 2009-02-07 21:17:07 +0200 7073207753Smm 7074207753Smm Make it easy to choose if command line tools should be 7075207753Smm linked statically or dynamically against liblzma. The 7076207753Smm default is still to use static liblzma, but it can now 7077207753Smm be changed by passing --enable-dynamic to configure. 7078207753Smm Thanks to Mike Frysinger for the original patch. 7079207753Smm 7080207753Smm Fixed a few minor bugs in configure.ac. 7081207753Smm 7082274261Sdelphij configure.ac | 39 +++++++++++++++++++++++++++++++++++++++ 7083274261Sdelphij src/xz/Makefile.am | 8 +++----- 7084274261Sdelphij src/xzdec/Makefile.am | 5 +++-- 7085274261Sdelphij 3 files changed, 45 insertions(+), 7 deletions(-) 7086274261Sdelphij 7087207753Smmcommit 3f86532407e4ace3debb62be16035e009b56ca36 7088207753SmmAuthor: Mike Frysinger <vapier@gentoo.org> 7089274261SdelphijDate: 2009-02-06 23:38:39 -0500 7090207753Smm 7091207753Smm add gitignore files 7092207753Smm 7093207753Smm Signed-off-by: Mike Frysinger <vapier@gentoo.org> 7094207753Smm 7095274261Sdelphij .gitignore | 32 ++++++++++++++++++++++++++++++++ 7096274261Sdelphij m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++ 7097274261Sdelphij po/.gitignore | 12 ++++++++++++ 7098274261Sdelphij 3 files changed, 79 insertions(+) 7099274261Sdelphij 7100207753Smmcommit bd7ca1dad5c146b6217799ffaa230c32d207a3e5 7101207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7102274261SdelphijDate: 2009-02-07 17:07:52 +0200 7103207753Smm 7104207753Smm Assume 32 MiB of RAM on unsupported operating systems like 7105207753Smm the comment in hardware.c already said. 7106207753Smm 7107274261Sdelphij src/xz/hardware.c | 2 +- 7108274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 7109274261Sdelphij 7110207753Smmcommit d0ab8c1c73ae712adb0d26fbb9da762d99a63618 7111207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7112274261SdelphijDate: 2009-02-07 16:26:58 +0200 7113207753Smm 7114207753Smm MinGW support: Don't build fastpos_tablegen.c as part of 7115207753Smm liblzma. Build both static and dynamic liblzma, and also 7116207753Smm static and dynamic versions of the command line tools. 7117207753Smm 7118274261Sdelphij windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++++-------------- 7119274261Sdelphij windows/README | 10 ------ 7120274261Sdelphij 2 files changed, 69 insertions(+), 33 deletions(-) 7121274261Sdelphij 7122207753Smmcommit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45 7123207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7124274261SdelphijDate: 2009-02-07 15:55:47 +0200 7125207753Smm 7126207753Smm Support LZMA_API_STATIC in assembler files to 7127207753Smm avoid __declspec(dllexport) equivalent. 7128207753Smm 7129274261Sdelphij src/liblzma/check/crc32_x86.S | 4 ++++ 7130274261Sdelphij src/liblzma/check/crc64_x86.S | 2 ++ 7131274261Sdelphij 2 files changed, 6 insertions(+) 7132274261Sdelphij 7133207753Smmcommit 3306cf3883492720b3c34baa02f4eb4227d91c73 7134207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7135274261SdelphijDate: 2009-02-07 11:11:50 +0200 7136207753Smm 7137207753Smm Introduced LZMA_API_STATIC macro, which the applications 7138207753Smm need to #define when linking against static liblzma on 7139207753Smm platforms like Windows. Most developers don't need to 7140207753Smm care about LZMA_API_STATIC at all. 7141207753Smm 7142274261Sdelphij src/liblzma/api/lzma.h | 31 ++++++++++++++++++++++++------- 7143274261Sdelphij src/liblzma/common/common.h | 2 +- 7144274261Sdelphij 2 files changed, 25 insertions(+), 8 deletions(-) 7145274261Sdelphij 7146207753Smmcommit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b 7147207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7148274261SdelphijDate: 2009-02-06 16:55:45 +0200 7149207753Smm 7150207753Smm Another grammar fix 7151207753Smm 7152274261Sdelphij README | 2 +- 7153274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 7154274261Sdelphij 7155207753Smmcommit fe5434f940f75fec3611cf9d9edf78c4da8ac760 7156207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7157274261SdelphijDate: 2009-02-06 12:30:23 +0200 7158207753Smm 7159207753Smm Grammar fix in README. 7160207753Smm 7161274261Sdelphij README | 2 +- 7162274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 7163274261Sdelphij 7164207753Smmcommit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245 7165207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7166274261SdelphijDate: 2009-02-06 10:06:32 +0200 7167207753Smm 7168207753Smm Some MSYS installations (e.g. MsysGit) don't include 7169207753Smm install.exe, so don't rely on it. 7170207753Smm 7171274261Sdelphij windows/Makefile | 12 +++++++----- 7172274261Sdelphij windows/README | 11 ++++++----- 7173274261Sdelphij 2 files changed, 13 insertions(+), 10 deletions(-) 7174274261Sdelphij 7175207753Smmcommit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31 7176207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7177274261SdelphijDate: 2009-02-06 09:13:15 +0200 7178207753Smm 7179207753Smm Recreated the BCJ test files for x86 and SPARC. The old files 7180207753Smm were linked with crt*.o, which are copyrighted, and thus the 7181207753Smm old test files were not in the public domain as a whole. They 7182207753Smm are freely distributable though, but it is better to be careful 7183207753Smm and avoid including any copyrighted pieces in the test files. 7184207753Smm The new files are just compiled and assembled object files, 7185207753Smm and thus don't contain any copyrighted code. 7186207753Smm 7187274261Sdelphij tests/bcj_test.c | 2 +- 7188274261Sdelphij tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes 7189274261Sdelphij tests/compress_prepared_bcj_x86 | Bin 4649 -> 1388 bytes 7190274261Sdelphij tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes 7191274261Sdelphij tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 716 bytes 7192274261Sdelphij 5 files changed, 1 insertion(+), 1 deletion(-) 7193274261Sdelphij 7194207753Smmcommit 094b1b09a531f0d201ec81f2b07346a995fd80b9 7195207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7196274261SdelphijDate: 2009-02-05 21:21:27 +0200 7197207753Smm 7198207753Smm Add the "windows" directory to EXTRA_DIST. 7199207753Smm 7200274261Sdelphij Makefile.am | 1 + 7201274261Sdelphij 1 file changed, 1 insertion(+) 7202274261Sdelphij 7203207753Smmcommit e1c3412eec7acec7ca3b32c9c828f3147dc65b49 7204207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7205274261SdelphijDate: 2009-02-05 09:17:51 +0200 7206207753Smm 7207207753Smm Added initial experimental makefile for use with MinGW. 7208207753Smm 7209274261Sdelphij windows/Makefile | 253 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 7210274261Sdelphij windows/README | 164 ++++++++++++++++++++++++++++++++++++ 7211274261Sdelphij windows/config.h | 180 +++++++++++++++++++++++++++++++++++++++ 7212274261Sdelphij 3 files changed, 597 insertions(+) 7213274261Sdelphij 7214207753Smmcommit 75905a9afc0ee89954ede7d08af70d1148bf0fd9 7215207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7216274261SdelphijDate: 2009-02-05 09:12:57 +0200 7217207753Smm 7218207753Smm Various code cleanups the the xz command line tool. 7219207753Smm It now builds with MinGW. 7220207753Smm 7221274261Sdelphij src/common/physmem.h | 13 ++++ 7222274261Sdelphij src/xz/Makefile.am | 2 + 7223274261Sdelphij src/xz/args.h | 8 --- 7224274261Sdelphij src/xz/hardware.h | 10 +-- 7225274261Sdelphij src/xz/io.c | 93 +++++++++++++++++++------- 7226274261Sdelphij src/xz/io.h | 12 ++-- 7227274261Sdelphij src/xz/main.c | 132 ++----------------------------------- 7228274261Sdelphij src/xz/main.h | 22 ------- 7229274261Sdelphij src/xz/message.c | 65 ++++++++++++++++--- 7230274261Sdelphij src/xz/message.h | 6 -- 7231274261Sdelphij src/xz/options.h | 8 --- 7232274261Sdelphij src/xz/private.h | 18 ++++-- 7233274261Sdelphij src/xz/process.h | 10 +-- 7234274261Sdelphij src/xz/signals.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++ 7235274261Sdelphij src/xz/signals.h | 51 +++++++++++++++ 7236274261Sdelphij src/xz/suffix.h | 5 -- 7237274261Sdelphij src/xz/util.c | 5 +- 7238274261Sdelphij src/xz/util.h | 5 -- 7239274261Sdelphij 18 files changed, 399 insertions(+), 246 deletions(-) 7240274261Sdelphij 7241207753Smmcommit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe 7242207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7243274261SdelphijDate: 2009-02-03 12:15:17 +0200 7244207753Smm 7245207753Smm Another utime() fix. 7246207753Smm 7247274261Sdelphij src/xz/io.c | 9 +++++---- 7248274261Sdelphij 1 file changed, 5 insertions(+), 4 deletions(-) 7249274261Sdelphij 7250207753Smmcommit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca 7251207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7252274261SdelphijDate: 2009-02-03 10:41:11 +0200 7253207753Smm 7254207753Smm Fix wrong filename argument for utime() and utimes(). 7255207753Smm This doesn't affect most systems, since most systems 7256207753Smm have better functions available. 7257207753Smm 7258274261Sdelphij src/xz/io.c | 4 ++-- 7259274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 7260274261Sdelphij 7261207753Smmcommit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302 7262207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7263274261SdelphijDate: 2009-02-02 21:19:01 +0200 7264207753Smm 7265207753Smm Updated the x86 assembler code: 7266207753Smm - Use call/ret pair to get instruction pointer for PIC. 7267207753Smm - Use PIC only if PIC or __PIC__ is #defined. 7268207753Smm - The code should work on MinGW and Darwin in addition 7269207753Smm to GNU/Linux and Solaris. 7270207753Smm 7271274261Sdelphij configure.ac | 6 ---- 7272274261Sdelphij src/liblzma/check/crc32_x86.S | 84 ++++++++++++++++++++++++++++++++++++------- 7273274261Sdelphij src/liblzma/check/crc64_x86.S | 82 ++++++++++++++++++++++++++++++++++++------ 7274274261Sdelphij 3 files changed, 144 insertions(+), 28 deletions(-) 7275274261Sdelphij 7276207753Smmcommit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f 7277207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7278274261SdelphijDate: 2009-02-02 20:14:03 +0200 7279207753Smm 7280207753Smm Modify LZMA_API macro so that it works on Windows with 7281207753Smm other compilers than MinGW. This may hurt readability 7282207753Smm of the API headers slightly, but I don't know any 7283207753Smm better way to do this. 7284207753Smm 7285274261Sdelphij src/liblzma/api/lzma.h | 6 ++--- 7286274261Sdelphij src/liblzma/api/lzma/base.h | 11 ++++---- 7287274261Sdelphij src/liblzma/api/lzma/block.h | 22 ++++++++-------- 7288274261Sdelphij src/liblzma/api/lzma/check.h | 10 ++++---- 7289274261Sdelphij src/liblzma/api/lzma/container.h | 22 ++++++++-------- 7290274261Sdelphij src/liblzma/api/lzma/filter.h | 28 ++++++++++----------- 7291274261Sdelphij src/liblzma/api/lzma/index.h | 40 +++++++++++++++--------------- 7292274261Sdelphij src/liblzma/api/lzma/index_hash.h | 10 ++++---- 7293274261Sdelphij src/liblzma/api/lzma/lzma.h | 6 ++--- 7294274261Sdelphij src/liblzma/api/lzma/stream_flags.h | 10 ++++---- 7295274261Sdelphij src/liblzma/api/lzma/version.h | 4 +-- 7296274261Sdelphij src/liblzma/api/lzma/vli.h | 6 ++--- 7297274261Sdelphij src/liblzma/check/check.c | 4 +-- 7298274261Sdelphij src/liblzma/check/crc32_fast.c | 2 +- 7299274261Sdelphij src/liblzma/check/crc32_small.c | 2 +- 7300274261Sdelphij src/liblzma/check/crc64_fast.c | 2 +- 7301274261Sdelphij src/liblzma/check/crc64_small.c | 2 +- 7302274261Sdelphij src/liblzma/common/alone_decoder.c | 2 +- 7303274261Sdelphij src/liblzma/common/alone_encoder.c | 2 +- 7304274261Sdelphij src/liblzma/common/auto_decoder.c | 2 +- 7305274261Sdelphij src/liblzma/common/block_buffer_decoder.c | 2 +- 7306274261Sdelphij src/liblzma/common/block_buffer_encoder.c | 4 +-- 7307274261Sdelphij src/liblzma/common/block_decoder.c | 2 +- 7308274261Sdelphij src/liblzma/common/block_encoder.c | 2 +- 7309274261Sdelphij src/liblzma/common/block_header_decoder.c | 2 +- 7310274261Sdelphij src/liblzma/common/block_header_encoder.c | 4 +-- 7311274261Sdelphij src/liblzma/common/block_util.c | 6 ++--- 7312274261Sdelphij src/liblzma/common/chunk_size.c | 2 +- 7313274261Sdelphij src/liblzma/common/common.c | 16 ++++++------ 7314274261Sdelphij src/liblzma/common/common.h | 2 +- 7315274261Sdelphij src/liblzma/common/easy.c | 6 ++--- 7316274261Sdelphij src/liblzma/common/filter_buffer_decoder.c | 2 +- 7317274261Sdelphij src/liblzma/common/filter_buffer_encoder.c | 2 +- 7318274261Sdelphij src/liblzma/common/filter_decoder.c | 8 +++--- 7319274261Sdelphij src/liblzma/common/filter_encoder.c | 12 ++++----- 7320274261Sdelphij src/liblzma/common/filter_flags_decoder.c | 2 +- 7321274261Sdelphij src/liblzma/common/filter_flags_encoder.c | 4 +-- 7322274261Sdelphij src/liblzma/common/index.c | 32 ++++++++++++------------ 7323274261Sdelphij src/liblzma/common/index_decoder.c | 4 +-- 7324274261Sdelphij src/liblzma/common/index_encoder.c | 4 +-- 7325274261Sdelphij src/liblzma/common/index_hash.c | 10 ++++---- 7326274261Sdelphij src/liblzma/common/stream_buffer_decoder.c | 2 +- 7327274261Sdelphij src/liblzma/common/stream_buffer_encoder.c | 4 +-- 7328274261Sdelphij src/liblzma/common/stream_decoder.c | 2 +- 7329274261Sdelphij src/liblzma/common/stream_encoder.c | 2 +- 7330274261Sdelphij src/liblzma/common/stream_flags_common.c | 2 +- 7331274261Sdelphij src/liblzma/common/stream_flags_decoder.c | 4 +-- 7332274261Sdelphij src/liblzma/common/stream_flags_encoder.c | 4 +-- 7333274261Sdelphij src/liblzma/common/vli_decoder.c | 2 +- 7334274261Sdelphij src/liblzma/common/vli_encoder.c | 2 +- 7335274261Sdelphij src/liblzma/common/vli_size.c | 2 +- 7336274261Sdelphij src/liblzma/lz/lz_encoder.c | 2 +- 7337274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 2 +- 7338274261Sdelphij src/liblzma/lzma/lzma_encoder_presets.c | 2 +- 7339274261Sdelphij 54 files changed, 177 insertions(+), 176 deletions(-) 7340274261Sdelphij 7341207753Smmcommit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65 7342207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7343274261SdelphijDate: 2009-02-01 22:40:35 +0200 7344207753Smm 7345207753Smm Fix a bug in lzma_block_buffer_decode(), although this 7346207753Smm function should be rewritten anyway. 7347207753Smm 7348274261Sdelphij src/liblzma/common/block_buffer_decoder.c | 8 ++++---- 7349274261Sdelphij 1 file changed, 4 insertions(+), 4 deletions(-) 7350274261Sdelphij 7351207753Smmcommit 55fd41431e61fb8178858283d636b6781e33e847 7352207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7353274261SdelphijDate: 2009-02-01 22:39:07 +0200 7354207753Smm 7355207753Smm Added initial version of raw buffer-to-buffer coding 7356207753Smm functions, and cleaned up filter.h API header a little. 7357207753Smm May be very buggy, not tested yet. 7358207753Smm 7359274261Sdelphij src/liblzma/api/lzma/filter.h | 84 +++++++++++++++++++------- 7360274261Sdelphij src/liblzma/common/Makefile.am | 2 + 7361274261Sdelphij src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++++ 7362274261Sdelphij src/liblzma/common/filter_buffer_encoder.c | 61 +++++++++++++++++++ 7363274261Sdelphij 4 files changed, 221 insertions(+), 20 deletions(-) 7364274261Sdelphij 7365207753Smmcommit 3e54ecee5cad30a5ca361a88a99230407abc0699 7366207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7367274261SdelphijDate: 2009-02-01 00:11:20 +0200 7368207753Smm 7369207753Smm Fix missing newlines in xzdec.c. 7370207753Smm 7371274261Sdelphij src/xzdec/xzdec.c | 6 +++--- 7372274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 7373274261Sdelphij 7374207753Smmcommit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35 7375207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7376274261SdelphijDate: 2009-02-01 00:10:07 +0200 7377207753Smm 7378207753Smm Use __cdecl also for function pointers in liblzma API when 7379207753Smm on Windows. 7380207753Smm 7381274261Sdelphij src/liblzma/api/lzma.h | 18 +++++++++++------- 7382274261Sdelphij src/liblzma/api/lzma/base.h | 4 ++-- 7383274261Sdelphij src/liblzma/common/common.h | 18 +++++++----------- 7384274261Sdelphij 3 files changed, 20 insertions(+), 20 deletions(-) 7385274261Sdelphij 7386207753Smmcommit 6a2eb54092fc625d59921a607ff68cd1a90aa898 7387207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7388274261SdelphijDate: 2009-01-31 11:01:48 +0200 7389207753Smm 7390207753Smm Add LZMA_API to liblzma API headers. It's useful at least 7391207753Smm on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h 7392207753Smm has to be #included separately where needed. 7393207753Smm 7394274261Sdelphij src/common/sysdefs.h | 2 -- 7395274261Sdelphij src/liblzma/api/lzma.h | 17 ++++++++++++++ 7396274261Sdelphij src/liblzma/api/lzma/base.h | 10 ++++---- 7397274261Sdelphij src/liblzma/api/lzma/block.h | 25 +++++++++++--------- 7398274261Sdelphij src/liblzma/api/lzma/check.h | 12 ++++++---- 7399274261Sdelphij src/liblzma/api/lzma/container.h | 23 +++++++++--------- 7400274261Sdelphij src/liblzma/api/lzma/filter.h | 24 +++++++++---------- 7401274261Sdelphij src/liblzma/api/lzma/index.h | 47 +++++++++++++++++++++---------------- 7402274261Sdelphij src/liblzma/api/lzma/index_hash.h | 11 +++++---- 7403274261Sdelphij src/liblzma/api/lzma/lzma.h | 8 ++++--- 7404274261Sdelphij src/liblzma/api/lzma/stream_flags.h | 10 ++++---- 7405274261Sdelphij src/liblzma/api/lzma/version.h | 4 ++-- 7406274261Sdelphij src/liblzma/api/lzma/vli.h | 10 ++++---- 7407274261Sdelphij src/liblzma/common/common.h | 13 ++++++++-- 7408274261Sdelphij src/xz/private.h | 1 + 7409274261Sdelphij src/xzdec/xzdec.c | 1 + 7410274261Sdelphij tests/tests.h | 1 + 7411274261Sdelphij 17 files changed, 131 insertions(+), 88 deletions(-) 7412274261Sdelphij 7413207753Smmcommit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b 7414207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7415274261SdelphijDate: 2009-01-31 10:13:09 +0200 7416207753Smm 7417207753Smm Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. 7418207753Smm 7419274261Sdelphij src/xzdec/xzdec.c | 4 ++-- 7420274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 7421274261Sdelphij 7422207753Smmcommit 2dbdc5befb33c3703e4609809101047c67caf343 7423207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7424274261SdelphijDate: 2009-01-31 10:02:52 +0200 7425207753Smm 7426207753Smm Fix two lines in lzma.h on which the # wasn't at the 7427207753Smm beginning of the line. 7428207753Smm 7429274261Sdelphij src/liblzma/api/lzma.h | 4 ++-- 7430274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 7431274261Sdelphij 7432207753Smmcommit 4ab760109106dc04f39dd81c97d50f528d1b51c1 7433207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7434274261SdelphijDate: 2009-01-31 09:55:05 +0200 7435207753Smm 7436207753Smm Add support for using liblzma headers in MSVC, which has no 7437207753Smm stdint.h or inttypes.h. 7438207753Smm 7439274261Sdelphij src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++++----------------- 7440274261Sdelphij 1 file changed, 46 insertions(+), 24 deletions(-) 7441274261Sdelphij 7442207753Smmcommit b2172cf823d3be34cb0246cb4cb32d105e2a34c9 7443207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7444274261SdelphijDate: 2009-01-31 08:49:54 +0200 7445207753Smm 7446207753Smm Fix # -> ## in a macro in lzma.h. 7447207753Smm 7448274261Sdelphij src/liblzma/api/lzma.h | 2 +- 7449274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 7450274261Sdelphij 7451207753Smmcommit 1aae8698746d3c87a93f8398cdde2de9ba1f7208 7452207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7453274261SdelphijDate: 2009-01-30 18:50:16 +0200 7454207753Smm 7455207753Smm Updated README. 7456207753Smm 7457274261Sdelphij README | 30 ++++++++++++++++++++---------- 7458274261Sdelphij 1 file changed, 20 insertions(+), 10 deletions(-) 7459274261Sdelphij 7460207753Smmcommit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb 7461207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7462274261SdelphijDate: 2009-01-30 00:29:58 +0200 7463207753Smm 7464207753Smm Remove dangling crc64_init.c. 7465207753Smm 7466274261Sdelphij src/liblzma/check/crc64_init.c | 55 ------------------------------------------ 7467274261Sdelphij 1 file changed, 55 deletions(-) 7468274261Sdelphij 7469207753Smmcommit 982da7ed314398420c38bf154a8f759d5f18b480 7470207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7471274261SdelphijDate: 2009-01-28 17:16:38 +0200 7472207753Smm 7473207753Smm The .xz file format specification version 1.0.0 is now 7474207753Smm officially released. The format has been technically the same 7475207753Smm since 2008-11-19, but now that it is frozen, people can start 7476207753Smm using it without a fear that the format will break. 7477207753Smm 7478274261Sdelphij doc/file-format.txt | 84 +++++++++++++++++++++++++++++++---------------------- 7479274261Sdelphij 1 file changed, 49 insertions(+), 35 deletions(-) 7480274261Sdelphij 7481207753Smmcommit c4683a660b4372156bdaf92f0cdc54a58f95ee6f 7482207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7483274261SdelphijDate: 2009-01-28 08:45:59 +0200 7484207753Smm 7485207753Smm Updated THANKS. 7486207753Smm 7487274261Sdelphij THANKS | 1 + 7488274261Sdelphij 1 file changed, 1 insertion(+) 7489274261Sdelphij 7490207753Smmcommit 3241317093595db9f79104faafe93cb989c9f858 7491207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7492274261SdelphijDate: 2009-01-28 08:43:26 +0200 7493207753Smm 7494207753Smm Fix uninitialized variables in alone_decoder.c. This bug was 7495207753Smm triggered by the previous commit, since these variables were 7496207753Smm not used by anything before support for a preset dictionary. 7497207753Smm 7498274261Sdelphij src/liblzma/common/alone_decoder.c | 2 ++ 7499274261Sdelphij 1 file changed, 2 insertions(+) 7500274261Sdelphij 7501207753Smmcommit f76e39cf930f888d460b443d18f977ebedea8b2a 7502207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7503274261SdelphijDate: 2009-01-27 18:36:05 +0200 7504207753Smm 7505207753Smm Added initial support for preset dictionary for raw LZMA1 7506207753Smm and LZMA2. It is not supported by the .xz format or the xz 7507207753Smm command line tool yet. 7508207753Smm 7509274261Sdelphij src/liblzma/lz/lz_decoder.c | 35 +++++++++++++++++++++++++---------- 7510274261Sdelphij src/liblzma/lz/lz_decoder.h | 9 ++++++++- 7511274261Sdelphij src/liblzma/lz/lz_encoder.c | 18 ++++++++++++++++-- 7512274261Sdelphij src/liblzma/lzma/lzma2_decoder.c | 9 ++++++--- 7513274261Sdelphij src/liblzma/lzma/lzma2_encoder.c | 12 +++++++----- 7514274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 10 ++++++---- 7515274261Sdelphij src/liblzma/lzma/lzma_decoder.h | 2 +- 7516274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 9 ++++++++- 7517274261Sdelphij 8 files changed, 77 insertions(+), 27 deletions(-) 7518274261Sdelphij 7519207753Smmcommit 449b8c832b26c3633f3bec60095e57d2d3ada1f3 7520207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7521274261SdelphijDate: 2009-01-26 20:09:17 +0200 7522207753Smm 7523207753Smm Regenerate the CRC tables without trailing blanks. 7524207753Smm 7525274261Sdelphij src/liblzma/check/crc32_table_be.h | 1008 +++++++++++++++++------------------ 7526274261Sdelphij src/liblzma/check/crc32_table_le.h | 1008 +++++++++++++++++------------------ 7527274261Sdelphij src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------ 7528274261Sdelphij src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------ 7529274261Sdelphij 4 files changed, 2024 insertions(+), 2024 deletions(-) 7530274261Sdelphij 7531207753Smmcommit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2 7532207753SmmAuthor: Jim Meyering <meyering@redhat.com> 7533274261SdelphijDate: 2009-01-19 21:37:16 +0100 7534207753Smm 7535207753Smm remove trailing blanks from all but .xz files 7536207753Smm 7537274261Sdelphij debug/known_sizes.c | 2 +- 7538274261Sdelphij extra/scanlzma/scanlzma.c | 5 ++--- 7539274261Sdelphij src/liblzma/check/crc32_tablegen.c | 2 +- 7540274261Sdelphij src/liblzma/check/crc64_tablegen.c | 2 +- 7541274261Sdelphij src/scripts/lzdiff.1 | 4 ++-- 7542274261Sdelphij src/scripts/lzmore.1 | 6 +++--- 7543274261Sdelphij tests/test_compress.sh | 4 ++-- 7544274261Sdelphij 7 files changed, 12 insertions(+), 13 deletions(-) 7545274261Sdelphij 7546207753Smmcommit 667481f1aad34e1ed15738e7913a9c7e256b4cf5 7547207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7548274261SdelphijDate: 2009-01-26 14:34:10 +0200 7549207753Smm 7550207753Smm Add lzma_block_buffer_decode(). 7551207753Smm 7552274261Sdelphij src/liblzma/api/lzma/block.h | 41 +++++++++++++++ 7553274261Sdelphij src/liblzma/common/Makefile.am | 1 + 7554274261Sdelphij src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++++ 7555274261Sdelphij 3 files changed, 129 insertions(+) 7556274261Sdelphij 7557207753Smmcommit 5fb34d8324d3e7e0061df25d0086b64c8726b19d 7558207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7559274261SdelphijDate: 2009-01-26 14:33:28 +0200 7560207753Smm 7561207753Smm Add more sanity checks to lzma_stream_buffer_decode(). 7562207753Smm 7563274261Sdelphij src/liblzma/common/stream_buffer_decoder.c | 7 +++++++ 7564274261Sdelphij 1 file changed, 7 insertions(+) 7565274261Sdelphij 7566207753Smmcommit c129748675a5daa8838df92bde32cc04f6ce61ba 7567207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7568274261SdelphijDate: 2009-01-26 14:33:13 +0200 7569207753Smm 7570207753Smm Avoid hardcoded constant in easy.c. 7571207753Smm 7572274261Sdelphij src/liblzma/common/easy.c | 2 +- 7573274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 7574274261Sdelphij 7575207753Smmcommit 1859d22d75e072463db74c25bc3f5a7992e5fdf6 7576207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7577274261SdelphijDate: 2009-01-26 13:06:49 +0200 7578207753Smm 7579207753Smm Tiny bit better sanity check in block_util.c 7580207753Smm 7581274261Sdelphij src/liblzma/common/block_util.c | 2 +- 7582274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 7583274261Sdelphij 7584207753Smmcommit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7 7585207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7586274261SdelphijDate: 2009-01-25 01:35:56 +0200 7587207753Smm 7588207753Smm Fix a dumb bug in Block decoder, which made it return 7589207753Smm LZMA_DATA_ERROR with valid data. The bug was added in 7590207753Smm e114502b2bc371e4a45449832cb69be036360722. 7591207753Smm 7592274261Sdelphij src/liblzma/common/block_decoder.c | 6 +++--- 7593274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 7594274261Sdelphij 7595207753Smmcommit c81f13ff29271de7293f8af3d81848b1dcae3d19 7596207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7597274261SdelphijDate: 2009-01-23 22:27:50 +0200 7598207753Smm 7599207753Smm Added lzma_stream_buffer_decode() and made minor cleanups. 7600207753Smm 7601274261Sdelphij src/liblzma/api/lzma/block.h | 3 +- 7602274261Sdelphij src/liblzma/api/lzma/container.h | 51 ++++++++++++++++- 7603274261Sdelphij src/liblzma/common/Makefile.am | 1 + 7604274261Sdelphij src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++++ 7605274261Sdelphij 4 files changed, 144 insertions(+), 2 deletions(-) 7606274261Sdelphij 7607207753Smmcommit 0b3318661ce749550b8531dfd469639a08930391 7608207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7609274261SdelphijDate: 2009-01-22 12:53:33 +0200 7610207753Smm 7611207753Smm Fix a comment. 7612207753Smm 7613274261Sdelphij src/liblzma/common/common.h | 2 +- 7614274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 7615274261Sdelphij 7616207753Smmcommit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec 7617207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7618274261SdelphijDate: 2009-01-20 16:37:27 +0200 7619207753Smm 7620207753Smm Add some single-call buffer-to-buffer coding functions. 7621207753Smm 7622274261Sdelphij src/liblzma/api/lzma/block.h | 57 ++++++ 7623274261Sdelphij src/liblzma/api/lzma/container.h | 56 ++++++ 7624274261Sdelphij src/liblzma/api/lzma/index.h | 70 ++++++- 7625274261Sdelphij src/liblzma/common/Makefile.am | 2 + 7626274261Sdelphij src/liblzma/common/block_buffer_encoder.c | 305 +++++++++++++++++++++++++++++ 7627274261Sdelphij src/liblzma/common/index_decoder.c | 83 ++++++-- 7628274261Sdelphij src/liblzma/common/index_encoder.c | 59 +++++- 7629274261Sdelphij src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++ 7630274261Sdelphij tests/test_index.c | 24 +++ 7631274261Sdelphij 9 files changed, 768 insertions(+), 26 deletions(-) 7632274261Sdelphij 7633207753Smmcommit d8b58d099340f8f4007b24b211ee41a7210c061c 7634207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7635274261SdelphijDate: 2009-01-20 13:45:41 +0200 7636207753Smm 7637207753Smm Block encoder cleanups 7638207753Smm 7639274261Sdelphij src/liblzma/common/block_encoder.c | 28 +++++++--------------------- 7640274261Sdelphij src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++ 7641274261Sdelphij 2 files changed, 32 insertions(+), 21 deletions(-) 7642274261Sdelphij 7643207753Smmcommit 0c09810cb3635cb575cb54e694d41523e7d0a335 7644207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7645274261SdelphijDate: 2009-01-20 10:35:15 +0200 7646207753Smm 7647207753Smm Use LZMA_PROG_ERROR in lzma_code() as documented in base.h. 7648207753Smm 7649274261Sdelphij src/liblzma/common/common.c | 24 ++++++++---------------- 7650274261Sdelphij 1 file changed, 8 insertions(+), 16 deletions(-) 7651274261Sdelphij 7652207753Smmcommit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00 7653207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7654274261SdelphijDate: 2009-01-19 22:53:18 +0200 7655207753Smm 7656207753Smm Fix handling of non-fatal errors in lzma_code(). 7657207753Smm 7658274261Sdelphij src/liblzma/common/common.c | 9 ++++++++- 7659274261Sdelphij 1 file changed, 8 insertions(+), 1 deletion(-) 7660274261Sdelphij 7661207753Smmcommit 4810b6bc25087be872960b9dd1d11ff07735dc88 7662207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7663274261SdelphijDate: 2009-01-19 14:00:33 +0200 7664207753Smm 7665207753Smm Move some LZMA2 constants to lzma2_encoder.h so that they 7666207753Smm can be used outside lzma2_encoder.c. 7667207753Smm 7668274261Sdelphij src/liblzma/lzma/lzma2_encoder.c | 13 ------------- 7669274261Sdelphij src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++ 7670274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 3 ++- 7671274261Sdelphij 3 files changed, 16 insertions(+), 14 deletions(-) 7672274261Sdelphij 7673207753Smmcommit 00be5d2e09f9c7a6a8563465ad8b8042866817a4 7674207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7675274261SdelphijDate: 2009-01-19 13:52:36 +0200 7676207753Smm 7677207753Smm Remove dead code. 7678207753Smm 7679274261Sdelphij src/liblzma/lzma/lzma_encoder.h | 8 -------- 7680274261Sdelphij 1 file changed, 8 deletions(-) 7681274261Sdelphij 7682207753Smmcommit 128586213f77c9bd82b7e9a62927f6d0c3769d85 7683207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7684274261SdelphijDate: 2009-01-17 14:24:25 +0200 7685207753Smm 7686207753Smm Beta was supposed to be API stable but I had forgot to rename 7687207753Smm lzma_memlimit_encoder and lzma_memlimit_decoder to 7688207753Smm lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-( 7689207753Smm Now it is fixed. Hopefully it doesn't cause too much trouble 7690207753Smm to those who already thought API is stable. 7691207753Smm 7692274261Sdelphij src/liblzma/api/lzma/filter.h | 4 ++-- 7693274261Sdelphij src/liblzma/common/easy.c | 4 ++-- 7694274261Sdelphij src/liblzma/common/filter_common.c | 2 +- 7695274261Sdelphij src/liblzma/common/filter_common.h | 2 +- 7696274261Sdelphij src/liblzma/common/filter_decoder.c | 4 ++-- 7697274261Sdelphij src/liblzma/common/filter_encoder.c | 4 ++-- 7698274261Sdelphij src/liblzma/common/stream_decoder.c | 2 +- 7699274261Sdelphij src/xz/process.c | 6 +++--- 7700274261Sdelphij 8 files changed, 14 insertions(+), 14 deletions(-) 7701274261Sdelphij 7702207753Smmcommit b056379490be5c584c264a967f0540041a163a1e 7703207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7704274261SdelphijDate: 2009-01-15 14:29:22 +0200 7705207753Smm 7706207753Smm Updated THANKS. 7707207753Smm 7708274261Sdelphij THANKS | 1 + 7709274261Sdelphij 1 file changed, 1 insertion(+) 7710274261Sdelphij 7711207753Smmcommit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89 7712207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7713274261SdelphijDate: 2009-01-15 14:27:32 +0200 7714207753Smm 7715207753Smm Fixed a bug in 7z2lzma.bash to make it work with .7z files 7716207753Smm that use something else than 2^n as the dictionary size. 7717207753Smm Thanks to Dan Shechter for the bug report. 7718207753Smm 7719274261Sdelphij extra/7z2lzma/7z2lzma.bash | 47 +++++++++++++++++++++++----------------------- 7720274261Sdelphij 1 file changed, 24 insertions(+), 23 deletions(-) 7721274261Sdelphij 7722207753Smmcommit 8286a60b8f4bd5accfbc9d229d2204bac31994f2 7723207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7724274261SdelphijDate: 2009-01-07 18:41:15 +0200 7725207753Smm 7726207753Smm Use pthread_sigmask() instead of sigprocmask() when pthreads 7727207753Smm are enabled. 7728207753Smm 7729274261Sdelphij src/common/mythread.h | 6 ++++++ 7730274261Sdelphij src/xz/main.c | 4 ++-- 7731274261Sdelphij src/xz/private.h | 1 + 7732274261Sdelphij 3 files changed, 9 insertions(+), 2 deletions(-) 7733274261Sdelphij 7734207753Smmcommit 4fd43cb3a906f6da2943f69239ee984c4787c9a9 7735207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7736274261SdelphijDate: 2008-12-31 20:01:00 +0200 7737207753Smm 7738207753Smm Bumped version to 4.999.8beta right after the release 7739207753Smm of 4.999.7beta. 7740207753Smm 7741274261Sdelphij configure.ac | 2 +- 7742274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 7743274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 7744274261Sdelphij 7745207753Smmcommit 061748f5932719643cda73383db715167d543c22 7746207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7747274261SdelphijDate: 2008-12-31 18:59:02 +0200 7748207753Smm 7749207753Smm Disable Subblock filter from test_compress.sh since it is 7750207753Smm disabled by default in configure.ac. 7751207753Smm 7752274261Sdelphij tests/test_compress.sh | 22 +++++++++++++--------- 7753274261Sdelphij 1 file changed, 13 insertions(+), 9 deletions(-) 7754274261Sdelphij 7755207753Smmcommit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78 7756207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7757274261SdelphijDate: 2008-12-31 17:44:20 +0200 7758207753Smm 7759207753Smm Disable both Subblock encoder and decoder my default, 7760207753Smm since they are not finished and may have security issues too. 7761207753Smm 7762274261Sdelphij configure.ac | 2 +- 7763274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 7764274261Sdelphij 7765207753Smmcommit b59f1e98f50694cf6a8f1b342fd878feebdb2f88 7766207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7767274261SdelphijDate: 2008-12-31 17:42:50 +0200 7768207753Smm 7769207753Smm Update some files in debug directory. 7770207753Smm 7771274261Sdelphij debug/full_flush.c | 2 -- 7772274261Sdelphij debug/memusage.c | 2 -- 7773274261Sdelphij debug/sync_flush.c | 2 -- 7774274261Sdelphij 3 files changed, 6 deletions(-) 7775274261Sdelphij 7776207753Smmcommit d1d17a40d33a9682424ca37282813492f2cba6d0 7777207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7778274261SdelphijDate: 2008-12-31 17:41:46 +0200 7779207753Smm 7780207753Smm Prepare for 4.999.7beta release. 7781207753Smm 7782274261Sdelphij AUTHORS | 4 ++-- 7783274261Sdelphij README | 34 +++++++++++++++++----------------- 7784274261Sdelphij configure.ac | 4 ++-- 7785274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 7786274261Sdelphij 4 files changed, 22 insertions(+), 22 deletions(-) 7787274261Sdelphij 7788207753Smmcommit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3 7789207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7790274261SdelphijDate: 2008-12-31 17:15:03 +0200 7791207753Smm 7792207753Smm Cleaned up some comments in the API headers. 7793207753Smm 7794274261Sdelphij src/liblzma/api/lzma/check.h | 23 +++++++++++------------ 7795274261Sdelphij src/liblzma/api/lzma/container.h | 2 +- 7796274261Sdelphij src/liblzma/api/lzma/version.h | 4 +++- 7797274261Sdelphij 3 files changed, 15 insertions(+), 14 deletions(-) 7798274261Sdelphij 7799207753Smmcommit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40 7800207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7801274261SdelphijDate: 2008-12-31 16:29:39 +0200 7802207753Smm 7803207753Smm Renamed lzma_options_simple to lzma_options_bcj in the API. 7804207753Smm The internal implementation is still using the name "simple". 7805207753Smm It may need some cleanups, so I look at it later. 7806207753Smm 7807274261Sdelphij src/liblzma/api/Makefile.am | 2 +- 7808274261Sdelphij src/liblzma/api/lzma.h | 2 +- 7809274261Sdelphij src/liblzma/api/lzma/bcj.h | 94 +++++++++++++++++++++++++++++++++++++ 7810274261Sdelphij src/liblzma/api/lzma/simple.h | 94 ------------------------------------- 7811274261Sdelphij src/liblzma/simple/simple_coder.c | 2 +- 7812274261Sdelphij src/liblzma/simple/simple_decoder.c | 4 +- 7813274261Sdelphij src/liblzma/simple/simple_encoder.c | 4 +- 7814274261Sdelphij tests/test_filter_flags.c | 8 ++-- 7815274261Sdelphij 8 files changed, 105 insertions(+), 105 deletions(-) 7816274261Sdelphij 7817207753Smmcommit 7eea8bec3abfed883efba66264a1452a1c04f6b0 7818207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7819274261SdelphijDate: 2008-12-31 00:57:27 +0200 7820207753Smm 7821207753Smm Fixed missing quoting in configure.ac. 7822207753Smm 7823274261Sdelphij configure.ac | 38 +++++++++++++++++++------------------- 7824274261Sdelphij 1 file changed, 19 insertions(+), 19 deletions(-) 7825274261Sdelphij 7826207753Smmcommit 28e75f7086dbe9501d926c370375c69dfb1236ce 7827207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7828274261SdelphijDate: 2008-12-31 00:48:23 +0200 7829207753Smm 7830207753Smm Updated src/liblzma/Makefile.am to use liblzma.pc.in, which 7831207753Smm should have been in the previous commit. 7832207753Smm 7833274261Sdelphij src/liblzma/Makefile.am | 4 ++-- 7834274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 7835274261Sdelphij 7836207753Smmcommit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90 7837207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7838274261SdelphijDate: 2008-12-31 00:30:49 +0200 7839207753Smm 7840207753Smm Remove lzma_init() and other init functions from liblzma API. 7841207753Smm Half of developers were already forgetting to use these 7842207753Smm functions, which could have caused total breakage in some future 7843207753Smm liblzma version or even now if --enable-small was used. Now 7844207753Smm liblzma uses pthread_once() to do the initializations unless 7845207753Smm it has been built with --disable-threads which make these 7846207753Smm initializations thread-unsafe. 7847207753Smm 7848207753Smm When --enable-small isn't used, liblzma currently gets needlessly 7849207753Smm linked against libpthread (on systems that have it). While it is 7850207753Smm stupid for now, liblzma will need threads in future anyway, so 7851207753Smm this stupidity will be temporary only. 7852207753Smm 7853207753Smm When --enable-small is used, different code CRC32 and CRC64 is 7854207753Smm now used than without --enable-small. This made the resulting 7855207753Smm binary slightly smaller, but the main reason was to clean it up 7856207753Smm and to handle the lack of lzma_init_check(). 7857207753Smm 7858207753Smm The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not 7859207753Smm sure if it works correctly and portably for static linking 7860207753Smm (Libs.private includes -pthread or other operating system 7861207753Smm specific flags). Hopefully someone complains if it is bad. 7862207753Smm 7863207753Smm lzma_rc_prices[] is now included as a precomputed array even 7864207753Smm with --enable-small. It's just 128 bytes now that it uses uint8_t 7865207753Smm instead of uint32_t. Smaller array seemed to be at least as fast 7866207753Smm as the more bloated uint32_t array on x86; hopefully it's not bad 7867207753Smm on other architectures. 7868207753Smm 7869274261Sdelphij configure.ac | 29 ++++++++-- 7870274261Sdelphij src/common/mythread.h | 34 ++++++++++++ 7871274261Sdelphij src/liblzma/api/Makefile.am | 1 - 7872274261Sdelphij src/liblzma/api/lzma.h | 1 - 7873274261Sdelphij src/liblzma/api/lzma/init.h | 85 ----------------------------- 7874274261Sdelphij src/liblzma/check/Makefile.am | 29 ++++------ 7875274261Sdelphij src/liblzma/check/check.c | 10 ++-- 7876274261Sdelphij src/liblzma/check/check.h | 25 ++++----- 7877274261Sdelphij src/liblzma/check/check_init.c | 37 ------------- 7878274261Sdelphij src/liblzma/check/crc32.c | 88 ------------------------------- 7879274261Sdelphij src/liblzma/check/crc32_fast.c | 88 +++++++++++++++++++++++++++++++ 7880274261Sdelphij src/liblzma/check/crc32_init.c | 55 ------------------- 7881274261Sdelphij src/liblzma/check/crc32_small.c | 54 +++++++++++++++++++ 7882274261Sdelphij src/liblzma/check/crc32_tablegen.c | 55 ++++++++++++++++--- 7883274261Sdelphij src/liblzma/check/crc64.c | 75 -------------------------- 7884274261Sdelphij src/liblzma/check/crc64_fast.c | 75 ++++++++++++++++++++++++++ 7885274261Sdelphij src/liblzma/check/crc64_small.c | 54 +++++++++++++++++++ 7886274261Sdelphij src/liblzma/check/crc64_tablegen.c | 55 ++++++++++++++++--- 7887274261Sdelphij src/liblzma/common/Makefile.am | 3 -- 7888274261Sdelphij src/liblzma/common/common.h | 1 + 7889274261Sdelphij src/liblzma/common/init.c | 39 -------------- 7890274261Sdelphij src/liblzma/common/init_decoder.c | 31 ----------- 7891274261Sdelphij src/liblzma/common/init_encoder.c | 40 -------------- 7892274261Sdelphij src/liblzma/liblzma.pc.in | 12 +++++ 7893274261Sdelphij src/liblzma/lz/lz_encoder.c | 6 +++ 7894274261Sdelphij src/liblzma/lzma.pc.in | 11 ---- 7895274261Sdelphij src/liblzma/rangecoder/Makefile.am | 8 +-- 7896274261Sdelphij src/liblzma/rangecoder/price.h | 16 +----- 7897274261Sdelphij src/liblzma/rangecoder/price_table.c | 2 +- 7898274261Sdelphij src/liblzma/rangecoder/price_table_init.c | 55 ------------------- 7899274261Sdelphij src/liblzma/rangecoder/price_tablegen.c | 51 +++++++++++++++--- 7900274261Sdelphij src/xz/Makefile.am | 5 +- 7901274261Sdelphij src/xz/main.c | 3 -- 7902274261Sdelphij src/xzdec/xzdec.c | 3 -- 7903274261Sdelphij tests/test_block_header.c | 1 - 7904274261Sdelphij tests/test_check.c | 2 - 7905274261Sdelphij tests/test_filter_flags.c | 2 - 7906274261Sdelphij tests/test_index.c | 2 - 7907274261Sdelphij tests/test_stream_flags.c | 2 - 7908274261Sdelphij tests/tests.h | 2 +- 7909274261Sdelphij 40 files changed, 519 insertions(+), 628 deletions(-) 7910274261Sdelphij 7911207753Smmcommit 5cda29b5665004fc0f21d0c41d78022a6a559ab2 7912207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7913274261SdelphijDate: 2008-12-27 19:40:31 +0200 7914207753Smm 7915207753Smm Use 28 MiB as memory usage limit for encoding in test_compress.sh. 7916207753Smm 7917274261Sdelphij tests/test_compress.sh | 2 +- 7918274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 7919274261Sdelphij 7920207753Smmcommit 050eb14d29e2537c014662e83599fd8a77f13c45 7921207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7922274261SdelphijDate: 2008-12-27 19:32:20 +0200 7923207753Smm 7924207753Smm Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680 7925207753Smm that was related to LZMA_MODE_FAST. The original code is slightly 7926207753Smm faster although it compresses slightly worse. But since it is fast 7927207753Smm mode, it is better to select the faster version. 7928207753Smm 7929274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++--------------- 7930274261Sdelphij 1 file changed, 8 insertions(+), 15 deletions(-) 7931274261Sdelphij 7932207753Smmcommit 4820f10d0f173864f6a2ea7479663b509ac53358 7933207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7934274261SdelphijDate: 2008-12-27 19:30:19 +0200 7935207753Smm 7936207753Smm Some xz command line tool improvements. 7937207753Smm 7938274261Sdelphij src/xz/args.c | 23 +++++----- 7939274261Sdelphij src/xz/message.c | 4 +- 7940274261Sdelphij src/xz/options.c | 2 +- 7941274261Sdelphij src/xz/process.c | 133 +++++++++++++++++++++++++++++++++++++++++++------------ 7942274261Sdelphij src/xz/process.h | 3 ++ 7943274261Sdelphij 5 files changed, 121 insertions(+), 44 deletions(-) 7944274261Sdelphij 7945207753Smmcommit e33194e79d8f5ce07cb4aca909b324ae75098f7e 7946207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7947274261SdelphijDate: 2008-12-27 19:27:49 +0200 7948207753Smm 7949207753Smm Bunch of liblzma tweaks, including some API changes. 7950207753Smm The API and ABI should now be very close to stable, 7951207753Smm although the code behind it isn't yet. 7952207753Smm 7953274261Sdelphij src/liblzma/api/lzma.h | 8 ++-- 7954274261Sdelphij src/liblzma/api/lzma/block.h | 63 ++++++++++++++++++++++++- 7955274261Sdelphij src/liblzma/api/lzma/container.h | 76 +++++++++++++++---------------- 7956274261Sdelphij src/liblzma/api/lzma/lzma.h | 41 +++++++++-------- 7957274261Sdelphij src/liblzma/common/alone_decoder.c | 36 +++++++-------- 7958274261Sdelphij src/liblzma/common/alone_encoder.c | 22 ++++----- 7959274261Sdelphij src/liblzma/common/auto_decoder.c | 2 +- 7960274261Sdelphij src/liblzma/common/block_decoder.c | 54 +++++++++++----------- 7961274261Sdelphij src/liblzma/common/block_decoder.h | 4 +- 7962274261Sdelphij src/liblzma/common/block_encoder.c | 37 ++++++++------- 7963274261Sdelphij src/liblzma/common/block_encoder.h | 4 +- 7964274261Sdelphij src/liblzma/common/block_header_decoder.c | 41 +++++++++-------- 7965274261Sdelphij src/liblzma/common/block_header_encoder.c | 51 ++++++++++----------- 7966274261Sdelphij src/liblzma/common/block_util.c | 3 +- 7967274261Sdelphij src/liblzma/common/easy.c | 45 ++++++------------ 7968274261Sdelphij src/liblzma/common/stream_decoder.c | 3 +- 7969274261Sdelphij src/liblzma/common/stream_decoder.h | 2 +- 7970274261Sdelphij src/liblzma/common/stream_encoder.c | 3 +- 7971274261Sdelphij src/liblzma/common/stream_encoder.h | 2 +- 7972274261Sdelphij src/liblzma/common/stream_flags_decoder.c | 2 +- 7973274261Sdelphij src/liblzma/common/stream_flags_encoder.c | 2 +- 7974274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 2 +- 7975274261Sdelphij src/liblzma/lzma/lzma_encoder_presets.c | 53 +++++++-------------- 7976274261Sdelphij 23 files changed, 294 insertions(+), 262 deletions(-) 7977274261Sdelphij 7978207753Smmcommit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074 7979207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7980274261SdelphijDate: 2008-12-18 13:42:52 +0200 7981207753Smm 7982207753Smm Updated Makefile.am that was missing from the previous commit. 7983207753Smm 7984274261Sdelphij src/liblzma/common/Makefile.am | 1 - 7985274261Sdelphij 1 file changed, 1 deletion(-) 7986274261Sdelphij 7987207753Smmcommit 634636fa56ccee6e744f78b0abed76c8940f2f8f 7988207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 7989274261SdelphijDate: 2008-12-17 21:49:53 +0200 7990207753Smm 7991207753Smm Remove the alignment functions for now. Maybe they will 7992207753Smm be added back in some form later, but the current version 7993207753Smm wasn't modular, so it would need fixing anyway. 7994207753Smm 7995274261Sdelphij src/liblzma/api/Makefile.am | 1 - 7996274261Sdelphij src/liblzma/api/lzma.h | 1 - 7997274261Sdelphij src/liblzma/api/lzma/alignment.h | 60 --------------------- 7998274261Sdelphij src/liblzma/common/alignment.c | 114 --------------------------------------- 7999274261Sdelphij 4 files changed, 176 deletions(-) 8000274261Sdelphij 8001207753Smmcommit 4fed98417d1687f5eccccb42a133fde3ec81216a 8002207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8003274261SdelphijDate: 2008-12-17 20:11:23 +0200 8004207753Smm 8005207753Smm xz message handling improvements 8006207753Smm 8007274261Sdelphij src/xz/message.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 8008274261Sdelphij src/xz/message.h | 7 +++- 8009274261Sdelphij src/xz/process.c | 28 ++++++++++++- 8010274261Sdelphij 3 files changed, 146 insertions(+), 14 deletions(-) 8011274261Sdelphij 8012207753Smmcommit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d 8013207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8014274261SdelphijDate: 2008-12-15 23:26:43 +0200 8015207753Smm 8016207753Smm Fix a dumb bug in .lzma decoder which was introduced in 8017207753Smm the previous commit. (Probably the previous commit has 8018207753Smm other bugs too, it wasn't tested.) 8019207753Smm 8020274261Sdelphij src/liblzma/common/alone_decoder.c | 29 ++++++++++++++--------------- 8021274261Sdelphij 1 file changed, 14 insertions(+), 15 deletions(-) 8022274261Sdelphij 8023207753Smmcommit 671a5adf1e844bfdd6fd327016c3c28694493158 8024207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8025274261SdelphijDate: 2008-12-15 19:39:13 +0200 8026207753Smm 8027207753Smm Bunch of liblzma API cleanups and fixes. 8028207753Smm 8029274261Sdelphij src/liblzma/api/lzma.h | 122 +++++++++++---------- 8030274261Sdelphij src/liblzma/api/lzma/base.h | 174 ++++++++++++++++++----------- 8031274261Sdelphij src/liblzma/api/lzma/block.h | 211 +++++++++++++++++++++++------------- 8032274261Sdelphij src/liblzma/api/lzma/check.h | 28 ++--- 8033274261Sdelphij src/liblzma/api/lzma/container.h | 155 +++++++++++++------------- 8034274261Sdelphij src/liblzma/api/lzma/delta.h | 12 +- 8035274261Sdelphij src/liblzma/api/lzma/filter.h | 27 +++-- 8036274261Sdelphij src/liblzma/api/lzma/index.h | 97 ++++++++++++++--- 8037274261Sdelphij src/liblzma/api/lzma/index_hash.h | 26 +++-- 8038274261Sdelphij src/liblzma/api/lzma/init.h | 2 +- 8039274261Sdelphij src/liblzma/api/lzma/lzma.h | 12 +- 8040274261Sdelphij src/liblzma/api/lzma/simple.h | 4 +- 8041274261Sdelphij src/liblzma/api/lzma/stream_flags.h | 46 +++++--- 8042274261Sdelphij src/liblzma/api/lzma/version.h | 6 +- 8043274261Sdelphij src/liblzma/api/lzma/vli.h | 17 ++- 8044274261Sdelphij src/liblzma/common/alone_decoder.c | 47 +++++--- 8045274261Sdelphij src/liblzma/common/auto_decoder.c | 29 +++++ 8046274261Sdelphij src/liblzma/common/block_util.c | 52 +++++---- 8047274261Sdelphij src/liblzma/common/common.c | 58 ++++++++++ 8048274261Sdelphij src/liblzma/common/common.h | 9 +- 8049274261Sdelphij src/liblzma/common/easy.c | 33 ++++-- 8050274261Sdelphij src/liblzma/common/filter_common.c | 2 +- 8051274261Sdelphij src/liblzma/common/index.c | 11 ++ 8052274261Sdelphij src/liblzma/common/index_decoder.c | 46 ++++++-- 8053274261Sdelphij src/liblzma/common/stream_decoder.c | 47 ++++++-- 8054274261Sdelphij src/liblzma/lzma/lzma2_encoder.c | 6 +- 8055274261Sdelphij tests/test_index.c | 10 +- 8056274261Sdelphij 27 files changed, 863 insertions(+), 426 deletions(-) 8057274261Sdelphij 8058207753Smmcommit 17781c2c20fd77029cb32e77792889f2f211d69d 8059207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8060274261SdelphijDate: 2008-12-15 14:26:52 +0200 8061207753Smm 8062207753Smm The LZMA2 decoder fix introduced a bug to LZ decoder, 8063207753Smm which made LZ decoder return too early after dictionary 8064207753Smm reset. This fixes it. 8065207753Smm 8066274261Sdelphij src/liblzma/lz/lz_decoder.c | 33 +++++++++++++++++++++++---------- 8067274261Sdelphij 1 file changed, 23 insertions(+), 10 deletions(-) 8068274261Sdelphij 8069207753Smmcommit f9f2d1e74398500724041f7fb3c38db35ad8c8d8 8070207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8071274261SdelphijDate: 2008-12-15 11:20:22 +0200 8072207753Smm 8073207753Smm Added two new test files. 8074207753Smm 8075274261Sdelphij tests/files/README | 7 +++++++ 8076274261Sdelphij tests/files/bad-1-lzma2-8.xz | Bin 0 -> 464 bytes 8077274261Sdelphij tests/files/good-1-lzma2-4.xz | Bin 0 -> 464 bytes 8078274261Sdelphij 3 files changed, 7 insertions(+) 8079274261Sdelphij 8080207753Smmcommit ff7fb2c605bccc411069e07b9f11fb957aea2ddf 8081207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8082274261SdelphijDate: 2008-12-15 10:01:59 +0200 8083207753Smm 8084207753Smm Fix data corruption in LZMA2 decoder. 8085207753Smm 8086274261Sdelphij src/liblzma/lz/lz_decoder.c | 17 ++++++++++++++++- 8087274261Sdelphij src/liblzma/lz/lz_decoder.h | 8 +++++--- 8088274261Sdelphij src/liblzma/lzma/lzma2_decoder.c | 15 +++++++++++---- 8089274261Sdelphij 3 files changed, 32 insertions(+), 8 deletions(-) 8090274261Sdelphij 8091207753Smmcommit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613 8092207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8093274261SdelphijDate: 2008-12-13 00:54:11 +0200 8094207753Smm 8095207753Smm Name the package "xz" in configure.ac. 8096207753Smm 8097274261Sdelphij configure.ac | 11 ++++------- 8098274261Sdelphij 1 file changed, 4 insertions(+), 7 deletions(-) 8099274261Sdelphij 8100207753Smmcommit a94bf00d0af9b423851905b031be5a645a657820 8101207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8102274261SdelphijDate: 2008-12-12 22:43:21 +0200 8103207753Smm 8104207753Smm Some adjustments to GCC warning flags. The important change 8105207753Smm is the removal of -pedantic. It messes up -Werror (which I 8106207753Smm really want to keep so that I don't miss any warnings) with 8107207753Smm printf format strings that are in POSIX but not in C99. 8108207753Smm 8109274261Sdelphij configure.ac | 8 +++++--- 8110274261Sdelphij 1 file changed, 5 insertions(+), 3 deletions(-) 8111274261Sdelphij 8112207753Smmcommit 8582d392baacd2cdac07ca60041f8c661323676d 8113207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8114274261SdelphijDate: 2008-12-10 01:31:00 +0200 8115207753Smm 8116207753Smm Remove obsolete comment. 8117207753Smm 8118274261Sdelphij src/xz/message.c | 1 - 8119274261Sdelphij 1 file changed, 1 deletion(-) 8120274261Sdelphij 8121207753Smmcommit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1 8122207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8123274261SdelphijDate: 2008-12-10 01:27:15 +0200 8124207753Smm 8125207753Smm Use "decompression" consistently in --long-help. 8126207753Smm 8127274261Sdelphij src/xz/message.c | 2 +- 8128274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 8129274261Sdelphij 8130207753Smmcommit 1ea9e7f15afd5d3981e2432710e932320597bca9 8131207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8132274261SdelphijDate: 2008-12-10 01:23:58 +0200 8133207753Smm 8134207753Smm Added preset=NUM to --lzma1 and --lzma2. This makes it easy 8135207753Smm to take a preset as a template and modify it a little. 8136207753Smm 8137274261Sdelphij src/xz/message.c | 1 + 8138274261Sdelphij src/xz/options.c | 8 ++++++++ 8139274261Sdelphij 2 files changed, 9 insertions(+) 8140274261Sdelphij 8141207753Smmcommit bceb3918dbb21f34976bfdd4c171a81319de71f7 8142207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8143274261SdelphijDate: 2008-12-09 17:43:31 +0200 8144207753Smm 8145207753Smm Put the file format specification into the public domain. 8146207753Smm Same will be done to the actual code later. 8147207753Smm 8148274261Sdelphij doc/file-format.txt | 24 +++++++++--------------- 8149274261Sdelphij 1 file changed, 9 insertions(+), 15 deletions(-) 8150274261Sdelphij 8151207753Smmcommit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6 8152207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8153274261SdelphijDate: 2008-12-09 17:41:49 +0200 8154207753Smm 8155207753Smm Make the memusage functions of LZMA1 and LZMA2 encoders 8156207753Smm to validate the filter options. Add missing validation 8157207753Smm to LZMA2 encoder when options are changed in the middle 8158207753Smm of encoding. 8159207753Smm 8160274261Sdelphij src/liblzma/lzma/lzma2_encoder.c | 5 ++++- 8161274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 44 +++++++++++++++++++++++++++------------- 8162274261Sdelphij src/liblzma/lzma/lzma_encoder.h | 2 +- 8163274261Sdelphij 3 files changed, 35 insertions(+), 16 deletions(-) 8164274261Sdelphij 8165207753Smmcommit f20a03206b71ff01b827bb7a932411d6a6a4e06a 8166207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8167274261SdelphijDate: 2008-12-09 10:36:24 +0200 8168207753Smm 8169207753Smm Updated THANKS. 8170207753Smm 8171274261Sdelphij THANKS | 1 + 8172274261Sdelphij 1 file changed, 1 insertion(+) 8173274261Sdelphij 8174207753Smmcommit ef7890d56453dca1aeb2e12db29b7e418d93dde4 8175207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8176274261SdelphijDate: 2008-12-01 23:04:12 +0200 8177207753Smm 8178207753Smm In command line tool, take advantage of memusage calculation's 8179207753Smm ability to also validate the filter chain and options (not 8180207753Smm implemented yet for all filters). 8181207753Smm 8182274261Sdelphij src/xz/process.c | 8 ++++---- 8183274261Sdelphij 1 file changed, 4 insertions(+), 4 deletions(-) 8184274261Sdelphij 8185207753Smmcommit ccd57afa09e332d664d6d6a7498702791ea5f659 8186207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8187274261SdelphijDate: 2008-12-01 22:59:28 +0200 8188207753Smm 8189207753Smm Validate the filter chain before checking filter-specific 8190207753Smm memory usage. 8191207753Smm 8192274261Sdelphij src/liblzma/common/filter_common.c | 14 ++++++++++---- 8193274261Sdelphij 1 file changed, 10 insertions(+), 4 deletions(-) 8194274261Sdelphij 8195207753Smmcommit c596fda40b62fe1683d0ac34d0c673dcaae2aa15 8196207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8197274261SdelphijDate: 2008-12-01 22:58:22 +0200 8198207753Smm 8199207753Smm Make the memusage functions of LZMA1 and LZMA2 decoders 8200207753Smm to validate the filter options. 8201207753Smm 8202274261Sdelphij src/liblzma/lzma/lzma2_decoder.c | 7 ++----- 8203274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 14 ++++++++++---- 8204274261Sdelphij src/liblzma/lzma/lzma_decoder.h | 5 +++++ 8205274261Sdelphij 3 files changed, 17 insertions(+), 9 deletions(-) 8206274261Sdelphij 8207207753Smmcommit c58f469be5bb9b0bdab825c6687445fd553f4f3a 8208207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8209274261SdelphijDate: 2008-12-01 22:55:18 +0200 8210207753Smm 8211207753Smm Added the changes for Delta filter that should have been 8212207753Smm part of 656ec87882ee74b192c4ea4a233a235eca7b04d4. 8213207753Smm 8214274261Sdelphij src/liblzma/common/filter_decoder.c | 2 +- 8215274261Sdelphij src/liblzma/common/filter_encoder.c | 2 +- 8216274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 8217274261Sdelphij 8218207753Smmcommit cd708015202dbf7585b84a8781462a20c42a324b 8219207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8220274261SdelphijDate: 2008-12-01 22:50:28 +0200 8221207753Smm 8222207753Smm LZMA2 decoder cleanups. Make it require new LZMA properties 8223207753Smm also in the first LZMA chunk after a dictionary reset in 8224207753Smm uncompressed chunk. 8225207753Smm 8226274261Sdelphij src/liblzma/lzma/lzma2_decoder.c | 95 +++++++++++++++++----------------------- 8227274261Sdelphij 1 file changed, 41 insertions(+), 54 deletions(-) 8228274261Sdelphij 8229207753Smmcommit 656ec87882ee74b192c4ea4a233a235eca7b04d4 8230207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8231274261SdelphijDate: 2008-12-01 16:30:11 +0200 8232207753Smm 8233207753Smm Added lzma_delta_coder_memusage() which also validates 8234207753Smm the options. 8235207753Smm 8236274261Sdelphij src/liblzma/delta/Makefile.am | 3 ++- 8237274261Sdelphij src/liblzma/delta/delta_common.c | 28 ++++++++++++++++++------- 8238274261Sdelphij src/liblzma/delta/delta_common.h | 19 +---------------- 8239274261Sdelphij src/liblzma/delta/delta_decoder.c | 2 +- 8240274261Sdelphij src/liblzma/delta/delta_decoder.h | 2 +- 8241274261Sdelphij src/liblzma/delta/delta_encoder.c | 14 ++++--------- 8242274261Sdelphij src/liblzma/delta/delta_encoder.h | 2 +- 8243274261Sdelphij src/liblzma/delta/delta_private.h | 44 +++++++++++++++++++++++++++++++++++++++ 8244274261Sdelphij 8 files changed, 75 insertions(+), 39 deletions(-) 8245274261Sdelphij 8246207753Smmcommit 691a9155b7a28882baf37e9d1e969e32e91dbc7a 8247207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8248274261SdelphijDate: 2008-11-29 10:03:49 +0200 8249207753Smm 8250207753Smm Automake includes the m4 directory, so don't add it in 8251207753Smm Makefile.am separately. 8252207753Smm 8253207753Smm Updated THANKS. 8254207753Smm 8255274261Sdelphij Makefile.am | 1 - 8256274261Sdelphij THANKS | 1 + 8257274261Sdelphij 2 files changed, 1 insertion(+), 1 deletion(-) 8258274261Sdelphij 8259207753Smmcommit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0 8260207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8261274261SdelphijDate: 2008-11-28 12:00:48 +0200 8262207753Smm 8263207753Smm Tested using COLUMNS environment variable to avoid broken 8264207753Smm progress indicator but since COLUMNS isn't usually available, 8265207753Smm the code was left commented out. 8266207753Smm 8267274261Sdelphij src/xz/message.c | 14 +++++++++----- 8268274261Sdelphij 1 file changed, 9 insertions(+), 5 deletions(-) 8269274261Sdelphij 8270207753Smmcommit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd 8271207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8272274261SdelphijDate: 2008-11-27 19:28:59 +0200 8273207753Smm 8274207753Smm Cleanups to message.c. 8275207753Smm 8276274261Sdelphij src/xz/message.c | 47 ++++++++++++++++++----------------------------- 8277274261Sdelphij 1 file changed, 18 insertions(+), 29 deletions(-) 8278274261Sdelphij 8279207753Smmcommit a8368b75cdcd5427299001cc42839287f27b244d 8280207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8281274261SdelphijDate: 2008-11-25 02:37:47 +0200 8282207753Smm 8283207753Smm Remove the nowadays unneeded memory limitting malloc() wrapper. 8284207753Smm 8285274261Sdelphij src/liblzma/api/Makefile.am | 1 - 8286274261Sdelphij src/liblzma/api/lzma.h | 1 - 8287274261Sdelphij src/liblzma/api/lzma/memlimit.h | 207 -------------------------- 8288274261Sdelphij src/liblzma/common/Makefile.am | 1 - 8289274261Sdelphij src/liblzma/common/memory_limiter.c | 288 ------------------------------------ 8290274261Sdelphij tests/Makefile.am | 2 - 8291274261Sdelphij tests/test_memlimit.c | 114 -------------- 8292274261Sdelphij 7 files changed, 614 deletions(-) 8293274261Sdelphij 8294207753Smmcommit 69472ee5f055a2bb6f28106f0923e1461fd1d080 8295207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8296274261SdelphijDate: 2008-11-23 15:09:03 +0200 8297207753Smm 8298207753Smm VLI encoder and decoder cleanups. Made encoder return 8299207753Smm LZMA_PROG_ERROR in single-call mode if there's no output 8300207753Smm space. 8301207753Smm 8302274261Sdelphij src/liblzma/common/vli_decoder.c | 15 +++++++++------ 8303274261Sdelphij src/liblzma/common/vli_encoder.c | 31 ++++++++++++++++++++++++------- 8304274261Sdelphij 2 files changed, 33 insertions(+), 13 deletions(-) 8305274261Sdelphij 8306207753Smmcommit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650 8307207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8308274261SdelphijDate: 2008-11-22 17:44:33 +0200 8309207753Smm 8310207753Smm Typo fix 8311207753Smm 8312274261Sdelphij src/xz/process.c | 2 +- 8313274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 8314274261Sdelphij 8315207753Smmcommit 6d1d6f4598d121253dbe1084c6866b66e95c361b 8316207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8317274261SdelphijDate: 2008-11-20 22:59:10 +0200 8318207753Smm 8319207753Smm Support NetBSD's errno for O_NOFOLLOW. 8320207753Smm 8321274261Sdelphij src/xz/io.c | 8 ++++++++ 8322274261Sdelphij 1 file changed, 8 insertions(+) 8323274261Sdelphij 8324207753Smmcommit f901a290eef67b8ea4720ccdf5f46edf775ed9d7 8325207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8326274261SdelphijDate: 2008-11-20 18:05:52 +0200 8327207753Smm 8328207753Smm Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz 8329207753Smm files and lzmadec only .lzma files. 8330207753Smm 8331274261Sdelphij src/xzdec/Makefile.am | 7 +- 8332274261Sdelphij src/xzdec/xzdec.c | 311 ++++++++++++++++++++++---------------------------- 8333274261Sdelphij 2 files changed, 140 insertions(+), 178 deletions(-) 8334274261Sdelphij 8335207753Smmcommit 86a0ed8f01c8ed44721223f885e679c71b7bb94c 8336207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8337274261SdelphijDate: 2008-11-20 11:01:29 +0200 8338207753Smm 8339207753Smm Minor cleanups to xzdec. 8340207753Smm 8341274261Sdelphij src/xzdec/xzdec.c | 20 ++++++++++---------- 8342274261Sdelphij 1 file changed, 10 insertions(+), 10 deletions(-) 8343274261Sdelphij 8344207753Smmcommit 54f716ba8905d09752dcd1519455a40bd21d5317 8345207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8346274261SdelphijDate: 2008-11-19 23:55:22 +0200 8347207753Smm 8348207753Smm Added missing check for uint16_t. 8349207753Smm 8350274261Sdelphij configure.ac | 1 + 8351274261Sdelphij 1 file changed, 1 insertion(+) 8352274261Sdelphij 8353207753Smmcommit 1880a3927b23f265f63b2adb86fbdb81ea09eb06 8354207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8355274261SdelphijDate: 2008-11-19 23:52:24 +0200 8356207753Smm 8357207753Smm Renamed lzma to xz and lzmadec to xzdec. We create symlinks 8358207753Smm lzma, unlzma, and lzcat in "make install" for backwards 8359207753Smm compatibility with LZMA Utils 4.32.x; I'm not sure if this 8360207753Smm should be the default though. 8361207753Smm 8362274261Sdelphij configure.ac | 4 +- 8363274261Sdelphij po/POTFILES.in | 21 +- 8364274261Sdelphij src/Makefile.am | 2 +- 8365274261Sdelphij src/lzma/Makefile.am | 72 ---- 8366274261Sdelphij src/lzma/args.c | 500 --------------------------- 8367274261Sdelphij src/lzma/args.h | 56 --- 8368274261Sdelphij src/lzma/hardware.c | 122 ------- 8369274261Sdelphij src/lzma/hardware.h | 45 --- 8370274261Sdelphij src/lzma/io.c | 658 ----------------------------------- 8371274261Sdelphij src/lzma/io.h | 97 ------ 8372274261Sdelphij src/lzma/list.c | 477 -------------------------- 8373274261Sdelphij src/lzma/main.c | 402 ---------------------- 8374274261Sdelphij src/lzma/main.h | 60 ---- 8375274261Sdelphij src/lzma/message.c | 892 ------------------------------------------------ 8376274261Sdelphij src/lzma/message.h | 132 ------- 8377274261Sdelphij src/lzma/options.c | 352 ------------------- 8378274261Sdelphij src/lzma/options.h | 46 --- 8379274261Sdelphij src/lzma/private.h | 52 --- 8380274261Sdelphij src/lzma/process.c | 391 --------------------- 8381274261Sdelphij src/lzma/process.h | 70 ---- 8382274261Sdelphij src/lzma/suffix.c | 213 ------------ 8383274261Sdelphij src/lzma/suffix.h | 40 --- 8384274261Sdelphij src/lzma/util.c | 199 ----------- 8385274261Sdelphij src/lzma/util.h | 71 ---- 8386274261Sdelphij src/lzmadec/Makefile.am | 29 -- 8387274261Sdelphij src/lzmadec/lzmadec.c | 492 -------------------------- 8388274261Sdelphij src/xz/Makefile.am | 74 ++++ 8389274261Sdelphij src/xz/args.c | 500 +++++++++++++++++++++++++++ 8390274261Sdelphij src/xz/args.h | 56 +++ 8391274261Sdelphij src/xz/hardware.c | 122 +++++++ 8392274261Sdelphij src/xz/hardware.h | 45 +++ 8393274261Sdelphij src/xz/io.c | 658 +++++++++++++++++++++++++++++++++++ 8394274261Sdelphij src/xz/io.h | 97 ++++++ 8395274261Sdelphij src/xz/list.c | 477 ++++++++++++++++++++++++++ 8396274261Sdelphij src/xz/main.c | 402 ++++++++++++++++++++++ 8397274261Sdelphij src/xz/main.h | 60 ++++ 8398274261Sdelphij src/xz/message.c | 892 ++++++++++++++++++++++++++++++++++++++++++++++++ 8399274261Sdelphij src/xz/message.h | 132 +++++++ 8400274261Sdelphij src/xz/options.c | 352 +++++++++++++++++++ 8401274261Sdelphij src/xz/options.h | 46 +++ 8402274261Sdelphij src/xz/private.h | 52 +++ 8403274261Sdelphij src/xz/process.c | 391 +++++++++++++++++++++ 8404274261Sdelphij src/xz/process.h | 70 ++++ 8405274261Sdelphij src/xz/suffix.c | 213 ++++++++++++ 8406274261Sdelphij src/xz/suffix.h | 40 +++ 8407274261Sdelphij src/xz/util.c | 199 +++++++++++ 8408274261Sdelphij src/xz/util.h | 71 ++++ 8409274261Sdelphij src/xzdec/Makefile.am | 29 ++ 8410274261Sdelphij src/xzdec/xzdec.c | 492 ++++++++++++++++++++++++++ 8411274261Sdelphij tests/test_compress.sh | 29 +- 8412274261Sdelphij tests/test_files.sh | 4 +- 8413274261Sdelphij 51 files changed, 5498 insertions(+), 5500 deletions(-) 8414274261Sdelphij 8415207753Smmcommit e114502b2bc371e4a45449832cb69be036360722 8416207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8417274261SdelphijDate: 2008-11-19 20:46:52 +0200 8418207753Smm 8419207753Smm Oh well, big messy commit again. Some highlights: 8420207753Smm - Updated to the latest, probably final file format version. 8421207753Smm - Command line tool reworked to not use threads anymore. 8422207753Smm Threading will probably go into liblzma anyway. 8423207753Smm - Memory usage limit is now about 30 % for uncompression 8424207753Smm and about 90 % for compression. 8425207753Smm - Progress indicator with --verbose 8426207753Smm - Simplified --help and full --long-help 8427207753Smm - Upgraded to the last LGPLv2.1+ getopt_long from gnulib. 8428207753Smm - Some bug fixes 8429207753Smm 8430274261Sdelphij THANKS | 1 + 8431274261Sdelphij configure.ac | 48 +- 8432274261Sdelphij debug/full_flush.c | 6 +- 8433274261Sdelphij debug/known_sizes.c | 2 +- 8434274261Sdelphij debug/memusage.c | 2 +- 8435274261Sdelphij debug/sync_flush.c | 10 +- 8436274261Sdelphij doc/file-format.txt | 260 ++++---- 8437274261Sdelphij lib/Makefile.am | 10 +- 8438274261Sdelphij lib/getopt.c | 14 +- 8439274261Sdelphij lib/getopt.in.h | 226 +++++++ 8440274261Sdelphij lib/getopt1.c | 8 +- 8441274261Sdelphij lib/getopt_.h | 226 ------- 8442274261Sdelphij lib/gettext.h | 240 ------- 8443274261Sdelphij m4/getopt.m4 | 64 +- 8444274261Sdelphij src/common/bswap.h | 15 +- 8445274261Sdelphij src/common/physmem.h | 4 + 8446274261Sdelphij src/common/sysdefs.h | 12 +- 8447274261Sdelphij src/liblzma/api/lzma/block.h | 47 +- 8448274261Sdelphij src/liblzma/api/lzma/filter.h | 8 + 8449274261Sdelphij src/liblzma/api/lzma/index.h | 20 +- 8450274261Sdelphij src/liblzma/api/lzma/index_hash.h | 4 +- 8451274261Sdelphij src/liblzma/common/block_decoder.c | 59 +- 8452274261Sdelphij src/liblzma/common/block_encoder.c | 41 +- 8453274261Sdelphij src/liblzma/common/block_header_decoder.c | 31 +- 8454274261Sdelphij src/liblzma/common/block_header_encoder.c | 69 +-- 8455274261Sdelphij src/liblzma/common/block_util.c | 45 +- 8456274261Sdelphij src/liblzma/common/common.h | 8 - 8457274261Sdelphij src/liblzma/common/filter_common.c | 4 +- 8458274261Sdelphij src/liblzma/common/index.c | 259 ++++---- 8459274261Sdelphij src/liblzma/common/index.h | 33 +- 8460274261Sdelphij src/liblzma/common/index_decoder.c | 31 +- 8461274261Sdelphij src/liblzma/common/index_encoder.c | 16 +- 8462274261Sdelphij src/liblzma/common/index_hash.c | 68 +- 8463274261Sdelphij src/liblzma/common/stream_decoder.c | 9 +- 8464274261Sdelphij src/liblzma/common/stream_encoder.c | 6 +- 8465274261Sdelphij src/liblzma/lz/lz_decoder.h | 4 +- 8466274261Sdelphij src/liblzma/subblock/subblock_decoder.c | 3 +- 8467274261Sdelphij src/lzma/Makefile.am | 9 +- 8468274261Sdelphij src/lzma/alloc.c | 106 ---- 8469274261Sdelphij src/lzma/alloc.h | 42 -- 8470274261Sdelphij src/lzma/args.c | 531 +++++++--------- 8471274261Sdelphij src/lzma/args.h | 42 +- 8472274261Sdelphij src/lzma/error.c | 162 ----- 8473274261Sdelphij src/lzma/error.h | 67 -- 8474274261Sdelphij src/lzma/hardware.c | 75 ++- 8475274261Sdelphij src/lzma/hardware.h | 16 +- 8476274261Sdelphij src/lzma/help.c | 170 ----- 8477274261Sdelphij src/lzma/help.h | 32 - 8478274261Sdelphij src/lzma/io.c | 757 +++++++++++------------ 8479274261Sdelphij src/lzma/io.h | 51 +- 8480274261Sdelphij src/lzma/main.c | 392 ++++++++---- 8481274261Sdelphij src/lzma/main.h | 60 ++ 8482274261Sdelphij src/lzma/message.c | 892 +++++++++++++++++++++++++++ 8483274261Sdelphij src/lzma/message.h | 132 ++++ 8484274261Sdelphij src/lzma/options.c | 42 +- 8485274261Sdelphij src/lzma/options.h | 6 +- 8486274261Sdelphij src/lzma/private.h | 28 +- 8487274261Sdelphij src/lzma/process.c | 525 ++++++++-------- 8488274261Sdelphij src/lzma/process.h | 40 ++ 8489274261Sdelphij src/lzma/suffix.c | 52 +- 8490274261Sdelphij src/lzma/suffix.h | 17 +- 8491274261Sdelphij src/lzma/util.c | 100 +-- 8492274261Sdelphij src/lzma/util.h | 43 +- 8493274261Sdelphij src/lzmadec/lzmadec.c | 36 +- 8494274261Sdelphij tests/files/README | 12 +- 8495274261Sdelphij tests/files/bad-1-block_header-1.xz | Bin 64 -> 64 bytes 8496274261Sdelphij tests/files/bad-1-block_header-2.xz | Bin 64 -> 64 bytes 8497274261Sdelphij tests/files/bad-1-block_header-3.xz | Bin 68 -> 68 bytes 8498274261Sdelphij tests/files/bad-1-block_header-4.xz | Bin 72 -> 76 bytes 8499274261Sdelphij tests/files/bad-1-block_header-5.xz | Bin 0 -> 72 bytes 8500274261Sdelphij tests/files/bad-1-check-crc32.xz | Bin 68 -> 68 bytes 8501274261Sdelphij tests/files/bad-1-check-crc64.xz | Bin 72 -> 72 bytes 8502274261Sdelphij tests/files/bad-1-check-sha256.xz | Bin 96 -> 96 bytes 8503274261Sdelphij tests/files/bad-1-lzma2-1.xz | Bin 64 -> 64 bytes 8504274261Sdelphij tests/files/bad-1-lzma2-2.xz | Bin 424 -> 424 bytes 8505274261Sdelphij tests/files/bad-1-lzma2-3.xz | Bin 424 -> 424 bytes 8506274261Sdelphij tests/files/bad-1-lzma2-4.xz | Bin 408 -> 408 bytes 8507274261Sdelphij tests/files/bad-1-lzma2-5.xz | Bin 408 -> 408 bytes 8508274261Sdelphij tests/files/bad-1-lzma2-6.xz | Bin 68 -> 68 bytes 8509274261Sdelphij tests/files/bad-1-lzma2-7.xz | Bin 408 -> 408 bytes 8510274261Sdelphij tests/files/bad-1-stream_flags-1.xz | Bin 68 -> 68 bytes 8511274261Sdelphij tests/files/bad-1-stream_flags-2.xz | Bin 68 -> 68 bytes 8512274261Sdelphij tests/files/bad-1-stream_flags-3.xz | Bin 68 -> 68 bytes 8513274261Sdelphij tests/files/bad-1-vli-1.xz | Bin 72 -> 72 bytes 8514274261Sdelphij tests/files/bad-1-vli-2.xz | Bin 72 -> 76 bytes 8515274261Sdelphij tests/files/bad-2-compressed_data_padding.xz | Bin 92 -> 92 bytes 8516274261Sdelphij tests/files/bad-2-index-1.xz | Bin 92 -> 92 bytes 8517274261Sdelphij tests/files/bad-2-index-2.xz | Bin 92 -> 92 bytes 8518274261Sdelphij tests/files/bad-2-index-3.xz | Bin 92 -> 92 bytes 8519274261Sdelphij tests/files/bad-2-index-4.xz | Bin 92 -> 92 bytes 8520274261Sdelphij tests/files/bad-2-index-5.xz | Bin 0 -> 92 bytes 8521274261Sdelphij tests/files/good-1-3delta-lzma2.xz | Bin 528 -> 528 bytes 8522274261Sdelphij tests/files/good-1-block_header-1.xz | Bin 72 -> 72 bytes 8523274261Sdelphij tests/files/good-1-block_header-2.xz | Bin 68 -> 68 bytes 8524274261Sdelphij tests/files/good-1-block_header-3.xz | Bin 68 -> 68 bytes 8525274261Sdelphij tests/files/good-1-check-crc32.xz | Bin 68 -> 68 bytes 8526274261Sdelphij tests/files/good-1-check-crc64.xz | Bin 72 -> 72 bytes 8527274261Sdelphij tests/files/good-1-check-none.xz | Bin 64 -> 64 bytes 8528274261Sdelphij tests/files/good-1-check-sha256.xz | Bin 96 -> 96 bytes 8529274261Sdelphij tests/files/good-1-delta-lzma2.tiff.xz | Bin 51312 -> 51316 bytes 8530274261Sdelphij tests/files/good-1-lzma2-1.xz | Bin 424 -> 424 bytes 8531274261Sdelphij tests/files/good-1-lzma2-2.xz | Bin 424 -> 424 bytes 8532274261Sdelphij tests/files/good-1-lzma2-3.xz | Bin 408 -> 408 bytes 8533274261Sdelphij tests/files/good-1-sparc-lzma2.xz | Bin 2292 -> 2296 bytes 8534274261Sdelphij tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 1936 bytes 8535274261Sdelphij tests/files/good-2-lzma2.xz | Bin 92 -> 92 bytes 8536274261Sdelphij tests/files/unsupported-block_header.xz | Bin 68 -> 68 bytes 8537274261Sdelphij tests/files/unsupported-check.xz | Bin 68 -> 68 bytes 8538274261Sdelphij tests/files/unsupported-filter_flags-1.xz | Bin 68 -> 68 bytes 8539274261Sdelphij tests/files/unsupported-filter_flags-2.xz | Bin 68 -> 68 bytes 8540274261Sdelphij tests/files/unsupported-filter_flags-3.xz | Bin 68 -> 68 bytes 8541274261Sdelphij tests/test_block_header.c | 16 +- 8542274261Sdelphij tests/test_index.c | 42 +- 8543274261Sdelphij 113 files changed, 3462 insertions(+), 2946 deletions(-) 8544274261Sdelphij 8545207753Smmcommit 3c3905b53462ae235c9438d86a4dc51086410932 8546207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8547274261SdelphijDate: 2008-10-09 11:12:29 +0300 8548207753Smm 8549207753Smm Fixed the test that should have been fixed as part 8550207753Smm of 1e8e4fd1f3e50129b4541406ad765d2aa1233943. 8551207753Smm 8552274261Sdelphij tests/test_block_header.c | 2 +- 8553274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 8554274261Sdelphij 8555207753Smmcommit 0f295bf7a3ece01f667caae318cc3e3424085886 8556207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8557274261SdelphijDate: 2008-10-07 16:42:18 +0300 8558207753Smm 8559207753Smm Fixed some help messages. 8560207753Smm 8561274261Sdelphij src/lzma/help.c | 6 +++--- 8562274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 8563274261Sdelphij 8564207753Smmcommit 1e8e4fd1f3e50129b4541406ad765d2aa1233943 8565207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8566274261SdelphijDate: 2008-10-07 09:40:31 +0300 8567207753Smm 8568207753Smm Made the preset numbering more logical in liblzma API. 8569207753Smm 8570274261Sdelphij src/liblzma/api/lzma/container.h | 20 ++++++++++---------- 8571274261Sdelphij src/liblzma/api/lzma/lzma.h | 2 +- 8572274261Sdelphij src/liblzma/lzma/lzma_encoder_presets.c | 3 ++- 8573274261Sdelphij src/lzma/args.c | 8 ++++---- 8574274261Sdelphij src/lzma/args.h | 2 +- 8575274261Sdelphij 5 files changed, 18 insertions(+), 17 deletions(-) 8576274261Sdelphij 8577207753Smmcommit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81 8578207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8579274261SdelphijDate: 2008-10-03 19:36:09 +0300 8580207753Smm 8581207753Smm Removed fi from po/LINGUAS. 8582207753Smm 8583274261Sdelphij po/LINGUAS | 1 - 8584274261Sdelphij 1 file changed, 1 deletion(-) 8585274261Sdelphij 8586207753Smmcommit fcfb86c7770328cfffa2e83b176af9a1ba2d9128 8587207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8588274261SdelphijDate: 2008-10-03 07:06:48 +0300 8589207753Smm 8590207753Smm Fixed suffix handling with --format=raw. 8591207753Smm 8592274261Sdelphij src/lzma/suffix.c | 28 +++++++++++++++++++--------- 8593274261Sdelphij 1 file changed, 19 insertions(+), 9 deletions(-) 8594274261Sdelphij 8595207753Smmcommit bd137524f2f50e30ba054f42f1f6536cd3cee920 8596207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8597274261SdelphijDate: 2008-10-02 22:51:46 +0300 8598207753Smm 8599207753Smm Initial changes to change the suffix of the new format to .xz. 8600207753Smm This also fixes a bug related to --suffix option. Some issues 8601207753Smm with suffixes with --format=raw were not fixed. 8602207753Smm 8603274261Sdelphij src/lzma/args.c | 67 +++++++++++++++++++++++++++++++-------------- 8604274261Sdelphij src/lzma/args.h | 13 +++++---- 8605274261Sdelphij src/lzma/help.c | 4 +-- 8606274261Sdelphij src/lzma/process.c | 24 +++++++++------- 8607274261Sdelphij src/lzma/suffix.c | 74 +++++++++++++++++++++++++++++++++++++++++--------- 8608274261Sdelphij tests/test_compress.sh | 3 +- 8609274261Sdelphij 6 files changed, 133 insertions(+), 52 deletions(-) 8610274261Sdelphij 8611207753Smmcommit 4c321a41c482821aa3c4d64cdf886a6ed904d844 8612207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8613274261SdelphijDate: 2008-09-30 17:43:55 +0300 8614207753Smm 8615207753Smm Renamed the test files from .lzma suffix to .xz suffix. 8616207753Smm 8617274261Sdelphij tests/files/README | 128 ++++++++++++------------- 8618274261Sdelphij tests/files/bad-0-backward_size.lzma | Bin 32 -> 0 bytes 8619274261Sdelphij tests/files/bad-0-backward_size.xz | Bin 0 -> 32 bytes 8620274261Sdelphij tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 0 bytes 8621274261Sdelphij tests/files/bad-0-empty-truncated.xz | Bin 0 -> 31 bytes 8622274261Sdelphij tests/files/bad-0-footer_magic.lzma | Bin 32 -> 0 bytes 8623274261Sdelphij tests/files/bad-0-footer_magic.xz | Bin 0 -> 32 bytes 8624274261Sdelphij tests/files/bad-0-header_magic.lzma | Bin 32 -> 0 bytes 8625274261Sdelphij tests/files/bad-0-header_magic.xz | Bin 0 -> 32 bytes 8626274261Sdelphij tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 0 bytes 8627274261Sdelphij tests/files/bad-0-nonempty_index.xz | Bin 0 -> 32 bytes 8628274261Sdelphij tests/files/bad-0cat-alone.lzma | Bin 55 -> 0 bytes 8629274261Sdelphij tests/files/bad-0cat-alone.xz | Bin 0 -> 55 bytes 8630274261Sdelphij tests/files/bad-0cat-header_magic.lzma | Bin 64 -> 0 bytes 8631274261Sdelphij tests/files/bad-0cat-header_magic.xz | Bin 0 -> 64 bytes 8632274261Sdelphij tests/files/bad-0catpad-empty.lzma | Bin 69 -> 0 bytes 8633274261Sdelphij tests/files/bad-0catpad-empty.xz | Bin 0 -> 69 bytes 8634274261Sdelphij tests/files/bad-0pad-empty.lzma | Bin 37 -> 0 bytes 8635274261Sdelphij tests/files/bad-0pad-empty.xz | Bin 0 -> 37 bytes 8636274261Sdelphij tests/files/bad-1-block_header-1.lzma | Bin 64 -> 0 bytes 8637274261Sdelphij tests/files/bad-1-block_header-1.xz | Bin 0 -> 64 bytes 8638274261Sdelphij tests/files/bad-1-block_header-2.lzma | Bin 64 -> 0 bytes 8639274261Sdelphij tests/files/bad-1-block_header-2.xz | Bin 0 -> 64 bytes 8640274261Sdelphij tests/files/bad-1-block_header-3.lzma | Bin 68 -> 0 bytes 8641274261Sdelphij tests/files/bad-1-block_header-3.xz | Bin 0 -> 68 bytes 8642274261Sdelphij tests/files/bad-1-block_header-4.lzma | Bin 72 -> 0 bytes 8643274261Sdelphij tests/files/bad-1-block_header-4.xz | Bin 0 -> 72 bytes 8644274261Sdelphij tests/files/bad-1-check-crc32.lzma | Bin 68 -> 0 bytes 8645274261Sdelphij tests/files/bad-1-check-crc32.xz | Bin 0 -> 68 bytes 8646274261Sdelphij tests/files/bad-1-check-crc64.lzma | Bin 72 -> 0 bytes 8647274261Sdelphij tests/files/bad-1-check-crc64.xz | Bin 0 -> 72 bytes 8648274261Sdelphij tests/files/bad-1-check-sha256.lzma | Bin 96 -> 0 bytes 8649274261Sdelphij tests/files/bad-1-check-sha256.xz | Bin 0 -> 96 bytes 8650274261Sdelphij tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 0 bytes 8651274261Sdelphij tests/files/bad-1-lzma2-1.xz | Bin 0 -> 64 bytes 8652274261Sdelphij tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 0 bytes 8653274261Sdelphij tests/files/bad-1-lzma2-2.xz | Bin 0 -> 424 bytes 8654274261Sdelphij tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 0 bytes 8655274261Sdelphij tests/files/bad-1-lzma2-3.xz | Bin 0 -> 424 bytes 8656274261Sdelphij tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 0 bytes 8657274261Sdelphij tests/files/bad-1-lzma2-4.xz | Bin 0 -> 408 bytes 8658274261Sdelphij tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 0 bytes 8659274261Sdelphij tests/files/bad-1-lzma2-5.xz | Bin 0 -> 408 bytes 8660274261Sdelphij tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 0 bytes 8661274261Sdelphij tests/files/bad-1-lzma2-6.xz | Bin 0 -> 68 bytes 8662274261Sdelphij tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 0 bytes 8663274261Sdelphij tests/files/bad-1-lzma2-7.xz | Bin 0 -> 408 bytes 8664274261Sdelphij tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 0 bytes 8665274261Sdelphij tests/files/bad-1-stream_flags-1.xz | Bin 0 -> 68 bytes 8666274261Sdelphij tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 0 bytes 8667274261Sdelphij tests/files/bad-1-stream_flags-2.xz | Bin 0 -> 68 bytes 8668274261Sdelphij tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 0 bytes 8669274261Sdelphij tests/files/bad-1-stream_flags-3.xz | Bin 0 -> 68 bytes 8670274261Sdelphij tests/files/bad-1-vli-1.lzma | Bin 72 -> 0 bytes 8671274261Sdelphij tests/files/bad-1-vli-1.xz | Bin 0 -> 72 bytes 8672274261Sdelphij tests/files/bad-1-vli-2.lzma | Bin 72 -> 0 bytes 8673274261Sdelphij tests/files/bad-1-vli-2.xz | Bin 0 -> 72 bytes 8674274261Sdelphij tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 0 bytes 8675274261Sdelphij tests/files/bad-2-compressed_data_padding.xz | Bin 0 -> 92 bytes 8676274261Sdelphij tests/files/bad-2-index-1.lzma | Bin 92 -> 0 bytes 8677274261Sdelphij tests/files/bad-2-index-1.xz | Bin 0 -> 92 bytes 8678274261Sdelphij tests/files/bad-2-index-2.lzma | Bin 92 -> 0 bytes 8679274261Sdelphij tests/files/bad-2-index-2.xz | Bin 0 -> 92 bytes 8680274261Sdelphij tests/files/bad-2-index-3.lzma | Bin 92 -> 0 bytes 8681274261Sdelphij tests/files/bad-2-index-3.xz | Bin 0 -> 92 bytes 8682274261Sdelphij tests/files/bad-2-index-4.lzma | Bin 92 -> 0 bytes 8683274261Sdelphij tests/files/bad-2-index-4.xz | Bin 0 -> 92 bytes 8684274261Sdelphij tests/files/good-0-empty.lzma | Bin 32 -> 0 bytes 8685274261Sdelphij tests/files/good-0-empty.xz | Bin 0 -> 32 bytes 8686274261Sdelphij tests/files/good-0cat-empty.lzma | Bin 64 -> 0 bytes 8687274261Sdelphij tests/files/good-0cat-empty.xz | Bin 0 -> 64 bytes 8688274261Sdelphij tests/files/good-0catpad-empty.lzma | Bin 68 -> 0 bytes 8689274261Sdelphij tests/files/good-0catpad-empty.xz | Bin 0 -> 68 bytes 8690274261Sdelphij tests/files/good-0pad-empty.lzma | Bin 36 -> 0 bytes 8691274261Sdelphij tests/files/good-0pad-empty.xz | Bin 0 -> 36 bytes 8692274261Sdelphij tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 0 bytes 8693274261Sdelphij tests/files/good-1-3delta-lzma2.xz | Bin 0 -> 528 bytes 8694274261Sdelphij tests/files/good-1-block_header-1.lzma | Bin 72 -> 0 bytes 8695274261Sdelphij tests/files/good-1-block_header-1.xz | Bin 0 -> 72 bytes 8696274261Sdelphij tests/files/good-1-block_header-2.lzma | Bin 68 -> 0 bytes 8697274261Sdelphij tests/files/good-1-block_header-2.xz | Bin 0 -> 68 bytes 8698274261Sdelphij tests/files/good-1-block_header-3.lzma | Bin 68 -> 0 bytes 8699274261Sdelphij tests/files/good-1-block_header-3.xz | Bin 0 -> 68 bytes 8700274261Sdelphij tests/files/good-1-check-crc32.lzma | Bin 68 -> 0 bytes 8701274261Sdelphij tests/files/good-1-check-crc32.xz | Bin 0 -> 68 bytes 8702274261Sdelphij tests/files/good-1-check-crc64.lzma | Bin 72 -> 0 bytes 8703274261Sdelphij tests/files/good-1-check-crc64.xz | Bin 0 -> 72 bytes 8704274261Sdelphij tests/files/good-1-check-none.lzma | Bin 64 -> 0 bytes 8705274261Sdelphij tests/files/good-1-check-none.xz | Bin 0 -> 64 bytes 8706274261Sdelphij tests/files/good-1-check-sha256.lzma | Bin 96 -> 0 bytes 8707274261Sdelphij tests/files/good-1-check-sha256.xz | Bin 0 -> 96 bytes 8708274261Sdelphij tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 0 bytes 8709274261Sdelphij tests/files/good-1-delta-lzma2.tiff.xz | Bin 0 -> 51312 bytes 8710274261Sdelphij tests/files/good-1-lzma2-1.lzma | Bin 424 -> 0 bytes 8711274261Sdelphij tests/files/good-1-lzma2-1.xz | Bin 0 -> 424 bytes 8712274261Sdelphij tests/files/good-1-lzma2-2.lzma | Bin 424 -> 0 bytes 8713274261Sdelphij tests/files/good-1-lzma2-2.xz | Bin 0 -> 424 bytes 8714274261Sdelphij tests/files/good-1-lzma2-3.lzma | Bin 408 -> 0 bytes 8715274261Sdelphij tests/files/good-1-lzma2-3.xz | Bin 0 -> 408 bytes 8716274261Sdelphij tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 0 bytes 8717274261Sdelphij tests/files/good-1-sparc-lzma2.xz | Bin 0 -> 2292 bytes 8718274261Sdelphij tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 0 bytes 8719274261Sdelphij tests/files/good-1-x86-lzma2.xz | Bin 0 -> 1936 bytes 8720274261Sdelphij tests/files/good-2-lzma2.lzma | Bin 92 -> 0 bytes 8721274261Sdelphij tests/files/good-2-lzma2.xz | Bin 0 -> 92 bytes 8722274261Sdelphij tests/files/unsupported-block_header.lzma | Bin 68 -> 0 bytes 8723274261Sdelphij tests/files/unsupported-block_header.xz | Bin 0 -> 68 bytes 8724274261Sdelphij tests/files/unsupported-check.lzma | Bin 68 -> 0 bytes 8725274261Sdelphij tests/files/unsupported-check.xz | Bin 0 -> 68 bytes 8726274261Sdelphij tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 0 bytes 8727274261Sdelphij tests/files/unsupported-filter_flags-1.xz | Bin 0 -> 68 bytes 8728274261Sdelphij tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 0 bytes 8729274261Sdelphij tests/files/unsupported-filter_flags-2.xz | Bin 0 -> 68 bytes 8730274261Sdelphij tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 0 bytes 8731274261Sdelphij tests/files/unsupported-filter_flags-3.xz | Bin 0 -> 68 bytes 8732274261Sdelphij tests/test_files.sh | 6 +- 8733274261Sdelphij 116 files changed, 66 insertions(+), 68 deletions(-) 8734274261Sdelphij 8735207753Smmcommit 8e60c889a2816a63013a35c99ce26bf28f5b78eb 8736207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8737274261SdelphijDate: 2008-09-30 13:57:44 +0300 8738207753Smm 8739207753Smm Fixed Stream decoder to actually use the first_stream variable. 8740207753Smm 8741274261Sdelphij src/liblzma/common/stream_decoder.c | 5 +++++ 8742274261Sdelphij 1 file changed, 5 insertions(+) 8743274261Sdelphij 8744207753Smmcommit 3bdbc12c054d1961133ee19802af7dd3c3494543 8745207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8746274261SdelphijDate: 2008-09-30 13:56:57 +0300 8747207753Smm 8748207753Smm Added one more test file. 8749207753Smm 8750274261Sdelphij tests/files/README | 15 +++++++++++---- 8751274261Sdelphij tests/files/bad-0cat-header_magic.lzma | Bin 0 -> 64 bytes 8752274261Sdelphij 2 files changed, 11 insertions(+), 4 deletions(-) 8753274261Sdelphij 8754207753Smmcommit a6639022fdc536e5659b070a465221b4cf7c51fa 8755207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8756274261SdelphijDate: 2008-09-30 13:34:07 +0300 8757207753Smm 8758207753Smm Fixed uninitialized variable in Stream decoder. 8759207753Smm 8760274261Sdelphij src/liblzma/common/stream_decoder.c | 1 + 8761274261Sdelphij 1 file changed, 1 insertion(+) 8762274261Sdelphij 8763207753Smmcommit ed3709000a3f17ecefab29b2235d7e2221b00003 8764207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8765274261SdelphijDate: 2008-09-30 13:27:28 +0300 8766207753Smm 8767207753Smm Added two test files. 8768207753Smm 8769274261Sdelphij tests/files/README | 6 ++++++ 8770274261Sdelphij tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes 8771274261Sdelphij tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes 8772274261Sdelphij 3 files changed, 6 insertions(+) 8773274261Sdelphij 8774207753Smmcommit ea560b0ea80525752bdcd0074d24f8dc170bbe29 8775207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8776274261SdelphijDate: 2008-09-27 23:49:24 +0300 8777207753Smm 8778207753Smm Fix conflicting Subblock helper filter's ID. 8779207753Smm 8780274261Sdelphij src/liblzma/common/common.h | 2 +- 8781274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 8782274261Sdelphij 8783207753Smmcommit ad97483b6e55142fd8d5c041db057017a891cd95 8784207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8785274261SdelphijDate: 2008-09-27 23:37:13 +0300 8786207753Smm 8787207753Smm Changed magic bytes to match the updated spec. Filename 8788207753Smm suffix wasn't changed yet. 8789207753Smm 8790274261Sdelphij src/liblzma/common/auto_decoder.c | 4 ++-- 8791274261Sdelphij src/liblzma/common/stream_flags_common.c | 2 +- 8792274261Sdelphij tests/files/bad-0-backward_size.lzma | Bin 32 -> 32 bytes 8793274261Sdelphij tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 31 bytes 8794274261Sdelphij tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 32 bytes 8795274261Sdelphij tests/files/bad-0cat-alone.lzma | Bin 55 -> 55 bytes 8796274261Sdelphij tests/files/bad-0catpad-empty.lzma | Bin 69 -> 69 bytes 8797274261Sdelphij tests/files/bad-0pad-empty.lzma | Bin 37 -> 37 bytes 8798274261Sdelphij tests/files/bad-1-block_header-1.lzma | Bin 64 -> 64 bytes 8799274261Sdelphij tests/files/bad-1-block_header-2.lzma | Bin 64 -> 64 bytes 8800274261Sdelphij tests/files/bad-1-block_header-3.lzma | Bin 68 -> 68 bytes 8801274261Sdelphij tests/files/bad-1-block_header-4.lzma | Bin 72 -> 72 bytes 8802274261Sdelphij tests/files/bad-1-check-crc32.lzma | Bin 68 -> 68 bytes 8803274261Sdelphij tests/files/bad-1-check-crc64.lzma | Bin 72 -> 72 bytes 8804274261Sdelphij tests/files/bad-1-check-sha256.lzma | Bin 96 -> 96 bytes 8805274261Sdelphij tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 64 bytes 8806274261Sdelphij tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 424 bytes 8807274261Sdelphij tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 424 bytes 8808274261Sdelphij tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 408 bytes 8809274261Sdelphij tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 408 bytes 8810274261Sdelphij tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 68 bytes 8811274261Sdelphij tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 408 bytes 8812274261Sdelphij tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 68 bytes 8813274261Sdelphij tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 68 bytes 8814274261Sdelphij tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 68 bytes 8815274261Sdelphij tests/files/bad-1-vli-1.lzma | Bin 72 -> 72 bytes 8816274261Sdelphij tests/files/bad-1-vli-2.lzma | Bin 72 -> 72 bytes 8817274261Sdelphij tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 92 bytes 8818274261Sdelphij tests/files/bad-2-index-1.lzma | Bin 92 -> 92 bytes 8819274261Sdelphij tests/files/bad-2-index-2.lzma | Bin 92 -> 92 bytes 8820274261Sdelphij tests/files/bad-2-index-3.lzma | Bin 92 -> 92 bytes 8821274261Sdelphij tests/files/bad-2-index-4.lzma | Bin 92 -> 92 bytes 8822274261Sdelphij tests/files/good-0-empty.lzma | Bin 32 -> 32 bytes 8823274261Sdelphij tests/files/good-0cat-empty.lzma | Bin 64 -> 64 bytes 8824274261Sdelphij tests/files/good-0catpad-empty.lzma | Bin 68 -> 68 bytes 8825274261Sdelphij tests/files/good-0pad-empty.lzma | Bin 36 -> 36 bytes 8826274261Sdelphij tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 528 bytes 8827274261Sdelphij tests/files/good-1-block_header-1.lzma | Bin 72 -> 72 bytes 8828274261Sdelphij tests/files/good-1-block_header-2.lzma | Bin 68 -> 68 bytes 8829274261Sdelphij tests/files/good-1-block_header-3.lzma | Bin 68 -> 68 bytes 8830274261Sdelphij tests/files/good-1-check-crc32.lzma | Bin 68 -> 68 bytes 8831274261Sdelphij tests/files/good-1-check-crc64.lzma | Bin 72 -> 72 bytes 8832274261Sdelphij tests/files/good-1-check-none.lzma | Bin 64 -> 64 bytes 8833274261Sdelphij tests/files/good-1-check-sha256.lzma | Bin 96 -> 96 bytes 8834274261Sdelphij tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 51312 bytes 8835274261Sdelphij tests/files/good-1-lzma2-1.lzma | Bin 424 -> 424 bytes 8836274261Sdelphij tests/files/good-1-lzma2-2.lzma | Bin 424 -> 424 bytes 8837274261Sdelphij tests/files/good-1-lzma2-3.lzma | Bin 408 -> 408 bytes 8838274261Sdelphij tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 2292 bytes 8839274261Sdelphij tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 1936 bytes 8840274261Sdelphij tests/files/good-2-lzma2.lzma | Bin 92 -> 92 bytes 8841274261Sdelphij tests/files/unsupported-block_header.lzma | Bin 68 -> 68 bytes 8842274261Sdelphij tests/files/unsupported-check.lzma | Bin 68 -> 68 bytes 8843274261Sdelphij tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 68 bytes 8844274261Sdelphij tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 68 bytes 8845274261Sdelphij tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 68 bytes 8846274261Sdelphij 56 files changed, 3 insertions(+), 3 deletions(-) 8847274261Sdelphij 8848207753Smmcommit 7a57069167e9e63394e2b095ee3a63253fcb51c7 8849207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8850274261SdelphijDate: 2008-09-27 23:16:09 +0300 8851207753Smm 8852207753Smm Remove po/fi.po since I'm not keeping it updated for now. 8853207753Smm 8854274261Sdelphij po/fi.po | 446 --------------------------------------------------------------- 8855274261Sdelphij 1 file changed, 446 deletions(-) 8856274261Sdelphij 8857207753Smmcommit 018ae09df8f2fee5a7374f307df4cb42fad0b81e 8858207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8859274261SdelphijDate: 2008-09-27 23:13:54 +0300 8860207753Smm 8861207753Smm Fix also test_compress.sh. 8862207753Smm 8863274261Sdelphij tests/test_compress.sh | 6 +++--- 8864274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 8865274261Sdelphij 8866207753Smmcommit 3a62a5fb85d2eebd8666e64ed5d364d095062858 8867207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8868274261SdelphijDate: 2008-09-27 23:01:15 +0300 8869207753Smm 8870207753Smm Fixed compilation of test_filter_flags.c, which was broken by 8871207753Smm 1dcecfb09b55157b8653d747963069c8bed74f04. 8872207753Smm 8873274261Sdelphij tests/test_filter_flags.c | 16 ++++++++-------- 8874274261Sdelphij 1 file changed, 8 insertions(+), 8 deletions(-) 8875274261Sdelphij 8876207753Smmcommit c6ca26eef7cd07eba449035514e2b8f9ac3111c0 8877207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8878274261SdelphijDate: 2008-09-27 19:11:02 +0300 8879207753Smm 8880207753Smm Updated file format specification. It changes the suffix 8881207753Smm of the new format to .xz and removes the recently added 8882207753Smm LZMA filter. 8883207753Smm 8884274261Sdelphij doc/file-format.txt | 125 ++++++++++++++-------------------------------------- 8885274261Sdelphij 1 file changed, 32 insertions(+), 93 deletions(-) 8886274261Sdelphij 8887207753Smmcommit 1dcecfb09b55157b8653d747963069c8bed74f04 8888207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8889274261SdelphijDate: 2008-09-27 19:09:21 +0300 8890207753Smm 8891207753Smm Some API changes, bug fixes, cleanups etc. 8892207753Smm 8893274261Sdelphij configure.ac | 18 +- 8894274261Sdelphij debug/full_flush.c | 7 +- 8895274261Sdelphij debug/known_sizes.c | 6 +- 8896274261Sdelphij debug/memusage.c | 22 +-- 8897274261Sdelphij debug/sync_flush.c | 18 +- 8898274261Sdelphij src/liblzma/Makefile.am | 2 +- 8899274261Sdelphij src/liblzma/api/lzma/delta.h | 8 +- 8900274261Sdelphij src/liblzma/api/lzma/lzma.h | 230 ++++++++++++++++--------- 8901274261Sdelphij src/liblzma/common/alignment.c | 7 +- 8902274261Sdelphij src/liblzma/common/alone_decoder.c | 11 +- 8903274261Sdelphij src/liblzma/common/alone_encoder.c | 9 +- 8904274261Sdelphij src/liblzma/common/chunk_size.c | 2 +- 8905274261Sdelphij src/liblzma/common/easy.c | 20 ++- 8906274261Sdelphij src/liblzma/common/filter_common.c | 4 +- 8907274261Sdelphij src/liblzma/common/filter_decoder.c | 4 +- 8908274261Sdelphij src/liblzma/common/filter_encoder.c | 4 +- 8909274261Sdelphij src/liblzma/common/init_encoder.c | 2 +- 8910274261Sdelphij src/liblzma/delta/delta_common.c | 12 +- 8911274261Sdelphij src/liblzma/delta/delta_common.h | 2 +- 8912274261Sdelphij src/liblzma/delta/delta_decoder.c | 2 +- 8913274261Sdelphij src/liblzma/delta/delta_encoder.c | 6 +- 8914274261Sdelphij src/liblzma/lz/lz_encoder.c | 30 ++-- 8915274261Sdelphij src/liblzma/lz/lz_encoder.h | 26 +-- 8916274261Sdelphij src/liblzma/lz/lz_encoder_mf.c | 30 ++-- 8917274261Sdelphij src/liblzma/lzma/Makefile.am | 4 +- 8918274261Sdelphij src/liblzma/lzma/lzma2_decoder.c | 10 +- 8919274261Sdelphij src/liblzma/lzma/lzma2_encoder.c | 27 ++- 8920274261Sdelphij src/liblzma/lzma/lzma_common.h | 26 ++- 8921274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 37 ++-- 8922274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 51 +++--- 8923274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_fast.c | 10 +- 8924274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +-- 8925274261Sdelphij src/liblzma/lzma/lzma_encoder_presets.c | 50 ++++-- 8926274261Sdelphij src/liblzma/rangecoder/Makefile.am | 4 +- 8927274261Sdelphij src/liblzma/subblock/subblock_decoder.c | 2 +- 8928274261Sdelphij src/lzma/args.c | 33 ++-- 8929274261Sdelphij src/lzma/help.c | 17 +- 8930274261Sdelphij src/lzma/options.c | 92 +++++----- 8931274261Sdelphij tests/test_block_header.c | 9 +- 8932274261Sdelphij tests/test_compress.sh | 4 +- 8933274261Sdelphij tests/test_filter_flags.c | 2 +- 8934274261Sdelphij 41 files changed, 482 insertions(+), 398 deletions(-) 8935274261Sdelphij 8936207753Smmcommit 5cc5064cae603b649c64c40125c7dd365de54c9d 8937207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8938274261SdelphijDate: 2008-09-27 11:28:49 +0300 8939207753Smm 8940207753Smm Added 7z2lzma.bash. 8941207753Smm 8942274261Sdelphij extra/7z2lzma/7z2lzma.bash | 114 +++++++++++++++++++++++++++++++++++++++++++++ 8943274261Sdelphij 1 file changed, 114 insertions(+) 8944274261Sdelphij 8945207753Smmcommit f147666a5cd15542d4e427da58629f4a71cc38e1 8946207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8947274261SdelphijDate: 2008-09-17 22:11:39 +0300 8948207753Smm 8949207753Smm Miscellaneous LZ and LZMA encoder cleanups 8950207753Smm 8951274261Sdelphij src/liblzma/api/lzma/lzma.h | 14 ------- 8952274261Sdelphij src/liblzma/lz/lz_encoder.c | 8 +++- 8953274261Sdelphij src/liblzma/lzma/Makefile.am | 1 - 8954274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 64 ++++++++++++-------------------- 8955274261Sdelphij src/liblzma/lzma/lzma_encoder_features.c | 59 ----------------------------- 8956274261Sdelphij 5 files changed, 29 insertions(+), 117 deletions(-) 8957274261Sdelphij 8958207753Smmcommit 13d68b069849e19c33822cd8996cd6447890abb1 8959207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8960274261SdelphijDate: 2008-09-13 13:54:00 +0300 8961207753Smm 8962207753Smm LZ decoder cleanup 8963207753Smm 8964274261Sdelphij src/liblzma/lz/lz_decoder.c | 5 ++--- 8965274261Sdelphij 1 file changed, 2 insertions(+), 3 deletions(-) 8966274261Sdelphij 8967207753Smmcommit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7 8968207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 8969274261SdelphijDate: 2008-09-13 12:10:43 +0300 8970207753Smm 8971207753Smm Renamed constants: 8972207753Smm - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX 8973207753Smm - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN 8974207753Smm - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR 8975207753Smm 8976274261Sdelphij debug/full_flush.c | 2 +- 8977274261Sdelphij debug/known_sizes.c | 2 +- 8978274261Sdelphij debug/sync_flush.c | 2 +- 8979274261Sdelphij src/liblzma/api/lzma/alignment.h | 2 +- 8980274261Sdelphij src/liblzma/api/lzma/base.h | 4 ++-- 8981274261Sdelphij src/liblzma/api/lzma/block.h | 28 ++++++++++++++-------------- 8982274261Sdelphij src/liblzma/api/lzma/container.h | 12 ++++++------ 8983274261Sdelphij src/liblzma/api/lzma/filter.h | 28 ++++++++++++++-------------- 8984274261Sdelphij src/liblzma/api/lzma/index.h | 2 +- 8985274261Sdelphij src/liblzma/api/lzma/lzma.h | 4 ++-- 8986274261Sdelphij src/liblzma/api/lzma/simple.h | 2 +- 8987274261Sdelphij src/liblzma/api/lzma/stream_flags.h | 20 ++++++++++---------- 8988274261Sdelphij src/liblzma/api/lzma/vli.h | 16 ++++++++-------- 8989274261Sdelphij src/liblzma/common/alignment.c | 6 +++--- 8990274261Sdelphij src/liblzma/common/alone_decoder.c | 2 +- 8991274261Sdelphij src/liblzma/common/auto_decoder.c | 2 +- 8992274261Sdelphij src/liblzma/common/block_decoder.c | 12 ++++++------ 8993274261Sdelphij src/liblzma/common/block_encoder.c | 6 +++--- 8994274261Sdelphij src/liblzma/common/block_header_decoder.c | 16 ++++++++-------- 8995274261Sdelphij src/liblzma/common/block_header_encoder.c | 24 ++++++++++++------------ 8996274261Sdelphij src/liblzma/common/block_util.c | 8 ++++---- 8997274261Sdelphij src/liblzma/common/chunk_size.c | 2 +- 8998274261Sdelphij src/liblzma/common/easy.c | 4 ++-- 8999274261Sdelphij src/liblzma/common/filter_common.c | 22 +++++++++++----------- 9000274261Sdelphij src/liblzma/common/filter_decoder.c | 6 +++--- 9001274261Sdelphij src/liblzma/common/filter_encoder.c | 14 +++++++------- 9002274261Sdelphij src/liblzma/common/index.c | 24 +++++++++++------------- 9003274261Sdelphij src/liblzma/common/index.h | 2 +- 9004274261Sdelphij src/liblzma/common/index_hash.c | 13 ++++++------- 9005274261Sdelphij src/liblzma/common/stream_decoder.c | 4 ++-- 9006274261Sdelphij src/liblzma/common/stream_encoder.c | 4 ++-- 9007274261Sdelphij src/liblzma/common/stream_flags_common.c | 6 +++--- 9008274261Sdelphij src/liblzma/common/stream_flags_decoder.c | 6 +++--- 9009274261Sdelphij src/liblzma/common/stream_flags_encoder.c | 4 ++-- 9010274261Sdelphij src/liblzma/common/vli_encoder.c | 2 +- 9011274261Sdelphij src/liblzma/common/vli_size.c | 2 +- 9012274261Sdelphij src/liblzma/delta/delta_common.c | 2 +- 9013274261Sdelphij src/liblzma/delta/delta_decoder.c | 2 +- 9014274261Sdelphij src/liblzma/delta/delta_encoder.c | 2 +- 9015274261Sdelphij src/liblzma/lz/lz_decoder.c | 2 +- 9016274261Sdelphij src/liblzma/lz/lz_encoder.c | 2 +- 9017274261Sdelphij src/liblzma/lzma/lzma2_decoder.c | 6 +++--- 9018274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 14 +++++++------- 9019274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 8 ++++---- 9020274261Sdelphij src/liblzma/simple/simple_coder.c | 2 +- 9021274261Sdelphij src/liblzma/simple/simple_decoder.c | 2 +- 9022274261Sdelphij src/liblzma/subblock/subblock_decoder.c | 6 +++--- 9023274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 17 ++++++++--------- 9024274261Sdelphij src/lzma/args.c | 2 +- 9025274261Sdelphij src/lzma/error.c | 2 +- 9026274261Sdelphij src/lzma/list.c | 6 +++--- 9027274261Sdelphij src/lzmadec/lzmadec.c | 2 +- 9028274261Sdelphij tests/test_block.c | 8 ++++---- 9029274261Sdelphij tests/test_block_header.c | 30 +++++++++++++++--------------- 9030274261Sdelphij tests/test_filter_flags.c | 2 +- 9031274261Sdelphij tests/test_index.c | 2 +- 9032274261Sdelphij tests/test_stream_flags.c | 8 ++++---- 9033274261Sdelphij tests/tests.h | 2 +- 9034274261Sdelphij 58 files changed, 220 insertions(+), 224 deletions(-) 9035274261Sdelphij 9036207753Smmcommit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080 9037207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9038274261SdelphijDate: 2008-09-12 22:41:40 +0300 9039207753Smm 9040207753Smm Improved the Stream Flags handling API. 9041207753Smm 9042274261Sdelphij src/liblzma/api/lzma/stream_flags.h | 84 +++++++++++++++++++++++++++++-- 9043274261Sdelphij src/liblzma/common/stream_decoder.c | 5 +- 9044274261Sdelphij src/liblzma/common/stream_encoder.c | 2 + 9045274261Sdelphij src/liblzma/common/stream_flags_common.c | 28 ++++++++--- 9046274261Sdelphij src/liblzma/common/stream_flags_common.h | 9 ++++ 9047274261Sdelphij src/liblzma/common/stream_flags_decoder.c | 3 +- 9048274261Sdelphij src/liblzma/common/stream_flags_encoder.c | 10 ++-- 9049274261Sdelphij tests/test_stream_flags.c | 8 ++- 9050274261Sdelphij 8 files changed, 129 insertions(+), 20 deletions(-) 9051274261Sdelphij 9052207753Smmcommit ec490da5228263b25bf786bb23d1008468f55b30 9053207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9054274261SdelphijDate: 2008-09-11 23:10:44 +0300 9055207753Smm 9056207753Smm Simplified debug/known_sizes.c to match the relaxed 9057207753Smm requirements of Block encoder. 9058207753Smm 9059274261Sdelphij debug/known_sizes.c | 14 +++++--------- 9060274261Sdelphij 1 file changed, 5 insertions(+), 9 deletions(-) 9061274261Sdelphij 9062207753Smmcommit 16e8b98f2659347edfa74afdbbb9e73311153cb9 9063207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9064274261SdelphijDate: 2008-09-11 23:09:24 +0300 9065207753Smm 9066207753Smm Remove a check from Block encoder that should have already 9067207753Smm been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e. 9068207753Smm 9069274261Sdelphij src/liblzma/common/block_encoder.c | 5 ----- 9070274261Sdelphij 1 file changed, 5 deletions(-) 9071274261Sdelphij 9072207753Smmcommit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13 9073207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9074274261SdelphijDate: 2008-09-11 20:02:38 +0300 9075207753Smm 9076207753Smm Remove bogus #includes. 9077207753Smm 9078274261Sdelphij src/liblzma/common/Makefile.am | 1 - 9079274261Sdelphij src/liblzma/common/stream_decoder.c | 3 --- 9080274261Sdelphij src/liblzma/common/stream_encoder.c | 1 - 9081274261Sdelphij src/liblzma/common/stream_flags_decoder.h | 31 ------------------------------- 9082274261Sdelphij 4 files changed, 36 deletions(-) 9083274261Sdelphij 9084207753Smmcommit 01892b2ca5f69bed0ea746e04b604030d57806bb 9085207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9086274261SdelphijDate: 2008-09-11 10:49:14 +0300 9087207753Smm 9088207753Smm Updated THANKS. 9089207753Smm 9090274261Sdelphij THANKS | 1 + 9091274261Sdelphij 1 file changed, 1 insertion(+) 9092274261Sdelphij 9093207753Smmcommit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d 9094207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9095274261SdelphijDate: 2008-09-11 10:48:12 +0300 9096207753Smm 9097207753Smm Fix a compiler error on big endian systems that don't 9098207753Smm support unaligned memory access. 9099207753Smm 9100274261Sdelphij src/common/integer.h | 32 ++++++++++++++++++-------------- 9101274261Sdelphij 1 file changed, 18 insertions(+), 14 deletions(-) 9102274261Sdelphij 9103207753Smmcommit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671 9104207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9105274261SdelphijDate: 2008-09-11 10:46:14 +0300 9106207753Smm 9107207753Smm Silence a compiler warning. 9108207753Smm 9109274261Sdelphij src/lzma/process.c | 2 +- 9110274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 9111274261Sdelphij 9112207753Smmcommit 9373e81e18822db4972819442ea4c2cb9955470b 9113207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9114274261SdelphijDate: 2008-09-10 19:16:32 +0300 9115207753Smm 9116207753Smm Bumped version to 4.999.6alpha. 9117207753Smm 9118274261Sdelphij configure.ac | 2 +- 9119274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 9120274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 9121274261Sdelphij 9122207753Smmcommit cb072b7c8442ba68bb0c62c0abbbe939794887a3 9123207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9124274261SdelphijDate: 2008-09-10 17:02:00 +0300 9125207753Smm 9126207753Smm Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c. 9127207753Smm Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID 9128207753Smm is in the reserved range. This allows Block Header encoder to 9129207753Smm detect unallowed Filter IDs, which is good for Stream encoder. 9130207753Smm 9131274261Sdelphij src/liblzma/common/filter_flags_encoder.c | 7 ++++--- 9132274261Sdelphij 1 file changed, 4 insertions(+), 3 deletions(-) 9133274261Sdelphij 9134207753Smmcommit 123ab0acec435c9e9866a99e30482116cfbd9ba5 9135207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9136274261SdelphijDate: 2008-09-10 16:44:32 +0300 9137207753Smm 9138207753Smm Filter handling cleanups 9139207753Smm 9140274261Sdelphij src/liblzma/api/lzma/filter.h | 133 +++++++++++++++++++++++++++--------- 9141274261Sdelphij src/liblzma/common/filter_common.h | 3 + 9142274261Sdelphij src/liblzma/common/filter_decoder.c | 80 +++++++--------------- 9143274261Sdelphij src/liblzma/common/filter_decoder.h | 5 -- 9144274261Sdelphij src/liblzma/common/filter_encoder.c | 82 +++++++--------------- 9145274261Sdelphij src/liblzma/common/filter_encoder.h | 4 -- 9146274261Sdelphij 6 files changed, 156 insertions(+), 151 deletions(-) 9147274261Sdelphij 9148207753Smmcommit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1 9149207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9150274261SdelphijDate: 2008-09-10 00:33:00 +0300 9151207753Smm 9152207753Smm Comments 9153207753Smm 9154274261Sdelphij src/liblzma/common/stream_encoder.c | 6 +++++- 9155274261Sdelphij 1 file changed, 5 insertions(+), 1 deletion(-) 9156274261Sdelphij 9157207753Smmcommit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e 9158207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9159274261SdelphijDate: 2008-09-10 00:27:02 +0300 9160207753Smm 9161207753Smm Cleaned up Block encoder and moved the no longer shared 9162207753Smm code from block_private.h to block_decoder.c. Now the Block 9163207753Smm encoder doesn't need compressed_size and uncompressed_size 9164207753Smm from lzma_block structure to be initialized. 9165207753Smm 9166274261Sdelphij src/liblzma/api/lzma/block.h | 3 -- 9167274261Sdelphij src/liblzma/common/Makefile.am | 1 - 9168274261Sdelphij src/liblzma/common/block_decoder.c | 23 +++++++++- 9169274261Sdelphij src/liblzma/common/block_encoder.c | 92 ++++++++++++++++++-------------------- 9170274261Sdelphij src/liblzma/common/block_private.h | 47 ------------------- 9171274261Sdelphij 5 files changed, 66 insertions(+), 100 deletions(-) 9172274261Sdelphij 9173207753Smmcommit 07efcb5a6bc5d7018798ebd728586f84183e7d64 9174207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9175274261SdelphijDate: 2008-09-07 10:23:13 +0300 9176207753Smm 9177207753Smm Changed Filter ID of LZMA to 0x20. 9178207753Smm 9179274261Sdelphij doc/file-format.txt | 4 ++-- 9180274261Sdelphij src/liblzma/api/lzma/lzma.h | 2 +- 9181274261Sdelphij 2 files changed, 3 insertions(+), 3 deletions(-) 9182274261Sdelphij 9183207753Smmcommit 32fe5fa541e82c08e054086279079ae5016bd8d8 9184207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9185274261SdelphijDate: 2008-09-06 23:42:50 +0300 9186207753Smm 9187207753Smm Comments 9188207753Smm 9189274261Sdelphij src/liblzma/api/lzma/base.h | 81 ++++++++++++++++++++++++++-------------- 9190274261Sdelphij src/liblzma/api/lzma/container.h | 6 ++- 9191274261Sdelphij src/liblzma/lz/lz_encoder.c | 3 +- 9192274261Sdelphij src/liblzma/lz/lz_encoder.h | 12 +++--- 9193274261Sdelphij src/liblzma/lz/lz_encoder_mf.c | 2 +- 9194274261Sdelphij 5 files changed, 65 insertions(+), 39 deletions(-) 9195274261Sdelphij 9196207753Smmcommit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84 9197207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9198274261SdelphijDate: 2008-09-06 15:14:30 +0300 9199207753Smm 9200207753Smm Some API cleanups 9201207753Smm 9202274261Sdelphij src/liblzma/api/lzma/base.h | 314 +++++++++++++++++++++++------------- 9203274261Sdelphij src/liblzma/api/lzma/check.h | 10 ++ 9204274261Sdelphij src/liblzma/api/lzma/container.h | 40 +++-- 9205274261Sdelphij src/liblzma/common/auto_decoder.c | 18 +-- 9206274261Sdelphij src/liblzma/common/common.c | 7 + 9207274261Sdelphij src/liblzma/common/common.h | 18 ++- 9208274261Sdelphij src/liblzma/common/easy.c | 2 +- 9209274261Sdelphij src/liblzma/common/stream_decoder.c | 31 ++-- 9210274261Sdelphij src/lzma/process.c | 2 +- 9211274261Sdelphij src/lzmadec/lzmadec.c | 6 +- 9212274261Sdelphij tests/tests.h | 72 +++------ 9213274261Sdelphij 11 files changed, 301 insertions(+), 219 deletions(-) 9214274261Sdelphij 9215207753Smmcommit da98df54400998be2a6c3876f9655a3c51b93c10 9216207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9217274261SdelphijDate: 2008-09-04 11:53:06 +0300 9218207753Smm 9219207753Smm Added support for raw encoding and decoding to the command 9220207753Smm line tool, and made various cleanups. --lzma was renamed to 9221207753Smm --lzma1 to prevent people from accidentally using LZMA when 9222207753Smm they want LZMA2. 9223207753Smm 9224274261Sdelphij src/lzma/args.c | 17 +++++++++-------- 9225274261Sdelphij src/lzma/args.h | 1 + 9226274261Sdelphij src/lzma/help.c | 24 ++++++------------------ 9227274261Sdelphij src/lzma/process.c | 42 ++++++++++++++++++++++++++++++++++-------- 9228274261Sdelphij 4 files changed, 50 insertions(+), 34 deletions(-) 9229274261Sdelphij 9230207753Smmcommit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd 9231207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9232274261SdelphijDate: 2008-09-04 10:39:15 +0300 9233207753Smm 9234207753Smm Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's 9235207753Smm simply nothing that would use it. Allow LZMA_FINISH to the 9236207753Smm decoders, which will usually ignore it (auto decoder and 9237207753Smm Stream decoder being exceptions). 9238207753Smm 9239274261Sdelphij src/liblzma/common/alone_decoder.c | 1 - 9240274261Sdelphij src/liblzma/common/block_decoder.c | 2 +- 9241274261Sdelphij src/liblzma/common/filter_decoder.c | 2 +- 9242274261Sdelphij 3 files changed, 2 insertions(+), 3 deletions(-) 9243274261Sdelphij 9244207753Smmcommit bea301c26d5d52675e11e0236faec0492af98f60 9245207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9246274261SdelphijDate: 2008-09-03 17:06:25 +0300 9247207753Smm 9248207753Smm Minor updates to the file format specification. 9249207753Smm 9250274261Sdelphij doc/file-format.txt | 105 ++++++++++++++++++++++++++++++++++++++++++---------- 9251274261Sdelphij 1 file changed, 85 insertions(+), 20 deletions(-) 9252274261Sdelphij 9253207753Smmcommit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8 9254207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9255274261SdelphijDate: 2008-09-02 19:33:32 +0300 9256207753Smm 9257207753Smm Command line tool fixes 9258207753Smm 9259274261Sdelphij src/lzma/process.c | 21 +++++++++++++-------- 9260274261Sdelphij 1 file changed, 13 insertions(+), 8 deletions(-) 9261274261Sdelphij 9262207753Smmcommit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4 9263207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9264274261SdelphijDate: 2008-09-02 19:31:42 +0300 9265207753Smm 9266207753Smm Auto decoder cleanup 9267207753Smm 9268274261Sdelphij src/liblzma/common/auto_decoder.c | 2 +- 9269274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 9270274261Sdelphij 9271207753Smmcommit 689602336d126a46b60d791a67decab65e1e81f5 9272207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9273274261SdelphijDate: 2008-09-02 19:12:12 +0300 9274207753Smm 9275207753Smm Updated auto decoder to handle LZMA_CONCATENATED when decoding 9276207753Smm LZMA_Alone files. Decoding of concatenated LZMA_Alone files is 9277207753Smm intentionally not supported, so it is better to put this in 9278207753Smm auto decoder than LZMA_Alone decoder. 9279207753Smm 9280274261Sdelphij src/liblzma/common/auto_decoder.c | 87 ++++++++++++++++++++++++++++++++------- 9281274261Sdelphij 1 file changed, 71 insertions(+), 16 deletions(-) 9282274261Sdelphij 9283207753Smmcommit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c 9284207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9285274261SdelphijDate: 2008-09-02 14:56:52 +0300 9286207753Smm 9287207753Smm Stream decoder cleanups 9288207753Smm 9289274261Sdelphij src/liblzma/common/stream_decoder.c | 57 +++++++++++++++++++++---------------- 9290274261Sdelphij 1 file changed, 32 insertions(+), 25 deletions(-) 9291274261Sdelphij 9292207753Smmcommit fc681657450ce57be1fe08f7a15d31dcc705e514 9293207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9294274261SdelphijDate: 2008-09-02 11:45:39 +0300 9295207753Smm 9296207753Smm Some fixes to LZ encoder. 9297207753Smm 9298274261Sdelphij src/liblzma/lz/lz_encoder.c | 56 ++++++++++++++++++++----- 9299274261Sdelphij src/liblzma/lz/lz_encoder.h | 18 ++++---- 9300274261Sdelphij src/liblzma/lz/lz_encoder_mf.c | 95 +++++++++++++++++------------------------- 9301274261Sdelphij 3 files changed, 94 insertions(+), 75 deletions(-) 9302274261Sdelphij 9303207753Smmcommit ede675f9ac1ca82a7d7c290324adba672118bc8d 9304207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9305274261SdelphijDate: 2008-08-31 11:47:01 +0300 9306207753Smm 9307207753Smm Fix wrong pointer calculation in LZMA encoder. 9308207753Smm 9309274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 4 +++- 9310274261Sdelphij 1 file changed, 3 insertions(+), 1 deletion(-) 9311274261Sdelphij 9312207753Smmcommit 3b34851de1eaf358cf9268922fa0eeed8278d680 9313207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9314274261SdelphijDate: 2008-08-28 22:53:15 +0300 9315207753Smm 9316207753Smm Sort of garbage collection commit. :-| Many things are still 9317207753Smm broken. API has changed a lot and it will still change a 9318207753Smm little more here and there. The command line tool doesn't 9319207753Smm have all the required changes to reflect the API changes, so 9320207753Smm it's easy to get "internal error" or trigger assertions. 9321207753Smm 9322274261Sdelphij configure.ac | 356 +++--- 9323274261Sdelphij debug/Makefile.am | 5 +- 9324274261Sdelphij debug/crc32.c | 45 + 9325274261Sdelphij debug/full_flush.c | 14 +- 9326274261Sdelphij debug/hex2bin.c | 54 + 9327274261Sdelphij debug/known_sizes.c | 135 ++ 9328274261Sdelphij debug/memusage.c | 8 +- 9329274261Sdelphij debug/sync_flush.c | 20 +- 9330274261Sdelphij src/common/integer.h | 26 +- 9331274261Sdelphij src/common/sysdefs.h | 42 +- 9332274261Sdelphij src/liblzma/Makefile.am | 17 +- 9333274261Sdelphij src/liblzma/api/Makefile.am | 6 +- 9334274261Sdelphij src/liblzma/api/lzma.h | 161 ++- 9335274261Sdelphij src/liblzma/api/lzma/alignment.h | 6 +- 9336274261Sdelphij src/liblzma/api/lzma/alone.h | 52 - 9337274261Sdelphij src/liblzma/api/lzma/auto.h | 36 - 9338274261Sdelphij src/liblzma/api/lzma/base.h | 61 +- 9339274261Sdelphij src/liblzma/api/lzma/block.h | 38 +- 9340274261Sdelphij src/liblzma/api/lzma/check.h | 41 +- 9341274261Sdelphij src/liblzma/api/lzma/container.h | 252 ++++ 9342274261Sdelphij src/liblzma/api/lzma/delta.h | 36 +- 9343274261Sdelphij src/liblzma/api/lzma/easy.h | 121 -- 9344274261Sdelphij src/liblzma/api/lzma/filter.h | 74 +- 9345274261Sdelphij src/liblzma/api/lzma/index.h | 40 +- 9346274261Sdelphij src/liblzma/api/lzma/index_hash.h | 12 +- 9347274261Sdelphij src/liblzma/api/lzma/lzma.h | 222 ++-- 9348274261Sdelphij src/liblzma/api/lzma/memlimit.h | 15 +- 9349274261Sdelphij src/liblzma/api/lzma/raw.h | 60 - 9350274261Sdelphij src/liblzma/api/lzma/simple.h | 2 +- 9351274261Sdelphij src/liblzma/api/lzma/stream.h | 53 - 9352274261Sdelphij src/liblzma/api/lzma/stream_flags.h | 17 +- 9353274261Sdelphij src/liblzma/api/lzma/subblock.h | 4 +- 9354274261Sdelphij src/liblzma/api/lzma/version.h | 10 +- 9355274261Sdelphij src/liblzma/api/lzma/vli.h | 131 +- 9356274261Sdelphij src/liblzma/check/check.c | 128 +- 9357274261Sdelphij src/liblzma/check/check.h | 67 +- 9358274261Sdelphij src/liblzma/check/sha256.c | 29 +- 9359274261Sdelphij src/liblzma/common/Makefile.am | 51 +- 9360274261Sdelphij src/liblzma/common/alignment.c | 4 +- 9361274261Sdelphij src/liblzma/common/allocator.c | 58 - 9362274261Sdelphij src/liblzma/common/alone_decoder.c | 49 +- 9363274261Sdelphij src/liblzma/common/alone_decoder.h | 9 +- 9364274261Sdelphij src/liblzma/common/alone_encoder.c | 13 +- 9365274261Sdelphij src/liblzma/common/auto_decoder.c | 38 +- 9366274261Sdelphij src/liblzma/common/block_decoder.c | 67 +- 9367274261Sdelphij src/liblzma/common/block_decoder.h | 2 +- 9368274261Sdelphij src/liblzma/common/block_encoder.c | 42 +- 9369274261Sdelphij src/liblzma/common/block_encoder.h | 2 +- 9370274261Sdelphij src/liblzma/common/block_header_decoder.c | 6 +- 9371274261Sdelphij src/liblzma/common/block_header_encoder.c | 9 +- 9372274261Sdelphij src/liblzma/common/block_util.c | 10 +- 9373274261Sdelphij src/liblzma/common/code.c | 203 --- 9374274261Sdelphij src/liblzma/common/common.c | 298 +++++ 9375274261Sdelphij src/liblzma/common/common.h | 237 ++-- 9376274261Sdelphij src/liblzma/common/delta_common.c | 66 - 9377274261Sdelphij src/liblzma/common/delta_common.h | 44 - 9378274261Sdelphij src/liblzma/common/delta_decoder.c | 61 - 9379274261Sdelphij src/liblzma/common/delta_decoder.h | 28 - 9380274261Sdelphij src/liblzma/common/delta_encoder.c | 98 -- 9381274261Sdelphij src/liblzma/common/delta_encoder.h | 28 - 9382274261Sdelphij src/liblzma/common/easy.c | 18 +- 9383274261Sdelphij src/liblzma/common/features.c | 66 - 9384274261Sdelphij src/liblzma/common/filter_common.c | 262 ++++ 9385274261Sdelphij src/liblzma/common/filter_common.h | 52 + 9386274261Sdelphij src/liblzma/common/filter_decoder.c | 236 ++++ 9387274261Sdelphij src/liblzma/common/filter_decoder.h | 35 + 9388274261Sdelphij src/liblzma/common/filter_encoder.c | 308 +++++ 9389274261Sdelphij src/liblzma/common/filter_encoder.h | 38 + 9390274261Sdelphij src/liblzma/common/filter_flags_decoder.c | 185 +-- 9391274261Sdelphij src/liblzma/common/filter_flags_encoder.c | 261 +--- 9392274261Sdelphij src/liblzma/common/index_decoder.c | 14 +- 9393274261Sdelphij src/liblzma/common/index_encoder.c | 16 +- 9394274261Sdelphij src/liblzma/common/index_hash.c | 8 +- 9395274261Sdelphij src/liblzma/common/init_encoder.c | 2 +- 9396274261Sdelphij src/liblzma/common/memory_usage.c | 112 -- 9397274261Sdelphij src/liblzma/common/next_coder.c | 65 - 9398274261Sdelphij src/liblzma/common/raw_common.c | 127 -- 9399274261Sdelphij src/liblzma/common/raw_common.h | 30 - 9400274261Sdelphij src/liblzma/common/raw_decoder.c | 116 -- 9401274261Sdelphij src/liblzma/common/raw_decoder.h | 29 - 9402274261Sdelphij src/liblzma/common/raw_encoder.c | 111 -- 9403274261Sdelphij src/liblzma/common/raw_encoder.h | 29 - 9404274261Sdelphij src/liblzma/common/stream_common.c | 23 - 9405274261Sdelphij src/liblzma/common/stream_common.h | 31 - 9406274261Sdelphij src/liblzma/common/stream_decoder.c | 238 +++- 9407274261Sdelphij src/liblzma/common/stream_decoder.h | 4 +- 9408274261Sdelphij src/liblzma/common/stream_encoder.c | 35 +- 9409274261Sdelphij src/liblzma/common/stream_encoder.h | 2 +- 9410274261Sdelphij src/liblzma/common/stream_flags_common.c | 40 + 9411274261Sdelphij src/liblzma/common/stream_flags_common.h | 31 + 9412274261Sdelphij src/liblzma/common/stream_flags_decoder.c | 2 +- 9413274261Sdelphij src/liblzma/common/stream_flags_encoder.c | 2 +- 9414274261Sdelphij src/liblzma/common/stream_flags_equal.c | 36 - 9415274261Sdelphij src/liblzma/common/version.c | 25 - 9416274261Sdelphij src/liblzma/common/vli_decoder.c | 29 +- 9417274261Sdelphij src/liblzma/common/vli_encoder.c | 23 +- 9418274261Sdelphij src/liblzma/common/vli_size.c | 37 + 9419274261Sdelphij src/liblzma/delta/Makefile.am | 34 + 9420274261Sdelphij src/liblzma/delta/delta_common.c | 66 + 9421274261Sdelphij src/liblzma/delta/delta_common.h | 44 + 9422274261Sdelphij src/liblzma/delta/delta_decoder.c | 82 ++ 9423274261Sdelphij src/liblzma/delta/delta_decoder.h | 32 + 9424274261Sdelphij src/liblzma/delta/delta_encoder.c | 119 ++ 9425274261Sdelphij src/liblzma/delta/delta_encoder.h | 30 + 9426274261Sdelphij src/liblzma/lz/Makefile.am | 35 +- 9427274261Sdelphij src/liblzma/lz/bt2.c | 27 - 9428274261Sdelphij src/liblzma/lz/bt2.h | 31 - 9429274261Sdelphij src/liblzma/lz/bt3.c | 29 - 9430274261Sdelphij src/liblzma/lz/bt3.h | 31 - 9431274261Sdelphij src/liblzma/lz/bt4.c | 30 - 9432274261Sdelphij src/liblzma/lz/bt4.h | 31 - 9433274261Sdelphij src/liblzma/lz/hc3.c | 30 - 9434274261Sdelphij src/liblzma/lz/hc3.h | 31 - 9435274261Sdelphij src/liblzma/lz/hc4.c | 31 - 9436274261Sdelphij src/liblzma/lz/hc4.h | 31 - 9437274261Sdelphij src/liblzma/lz/lz_decoder.c | 547 +++----- 9438274261Sdelphij src/liblzma/lz/lz_decoder.h | 308 ++--- 9439274261Sdelphij src/liblzma/lz/lz_encoder.c | 780 ++++++------ 9440274261Sdelphij src/liblzma/lz/lz_encoder.h | 334 +++-- 9441274261Sdelphij src/liblzma/lz/lz_encoder_hash.h | 104 ++ 9442274261Sdelphij src/liblzma/lz/lz_encoder_mf.c | 780 ++++++++++++ 9443274261Sdelphij src/liblzma/lz/lz_encoder_private.h | 40 - 9444274261Sdelphij src/liblzma/lz/match_c.h | 412 ------ 9445274261Sdelphij src/liblzma/lz/match_h.h | 69 -- 9446274261Sdelphij src/liblzma/lzma/Makefile.am | 37 +- 9447274261Sdelphij src/liblzma/lzma/fastpos.h | 8 +- 9448274261Sdelphij src/liblzma/lzma/lzma2_decoder.c | 318 +++++ 9449274261Sdelphij src/liblzma/lzma/lzma2_decoder.h | 35 + 9450274261Sdelphij src/liblzma/lzma/lzma2_encoder.c | 406 ++++++ 9451274261Sdelphij src/liblzma/lzma/lzma2_encoder.h | 34 + 9452274261Sdelphij src/liblzma/lzma/lzma_common.h | 208 +++- 9453274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 1306 ++++++++++++-------- 9454274261Sdelphij src/liblzma/lzma/lzma_decoder.h | 21 +- 9455274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 576 +++++++-- 9456274261Sdelphij src/liblzma/lzma/lzma_encoder.h | 38 +- 9457274261Sdelphij src/liblzma/lzma/lzma_encoder_features.c | 2 +- 9458274261Sdelphij src/liblzma/lzma/lzma_encoder_getoptimum.c | 925 -------------- 9459274261Sdelphij src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 --- 9460274261Sdelphij src/liblzma/lzma/lzma_encoder_init.c | 228 ---- 9461274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_fast.c | 193 +++ 9462274261Sdelphij src/liblzma/lzma/lzma_encoder_optimum_normal.c | 875 +++++++++++++ 9463274261Sdelphij src/liblzma/lzma/lzma_encoder_presets.c | 52 +- 9464274261Sdelphij src/liblzma/lzma/lzma_encoder_private.h | 174 +-- 9465274261Sdelphij src/liblzma/lzma/lzma_literal.c | 51 - 9466274261Sdelphij src/liblzma/lzma/lzma_literal.h | 71 -- 9467274261Sdelphij src/liblzma/rangecoder/Makefile.am | 10 +- 9468274261Sdelphij src/liblzma/rangecoder/price.h | 111 ++ 9469274261Sdelphij src/liblzma/rangecoder/price_table.c | 84 +- 9470274261Sdelphij src/liblzma/rangecoder/price_table_gen.c | 55 - 9471274261Sdelphij src/liblzma/rangecoder/price_table_init.c | 33 +- 9472274261Sdelphij src/liblzma/rangecoder/price_tablegen.c | 56 + 9473274261Sdelphij src/liblzma/rangecoder/range_common.h | 17 +- 9474274261Sdelphij src/liblzma/rangecoder/range_decoder.h | 209 ++-- 9475274261Sdelphij src/liblzma/rangecoder/range_encoder.h | 92 +- 9476274261Sdelphij src/liblzma/simple/Makefile.am | 12 + 9477274261Sdelphij src/liblzma/simple/simple_coder.c | 8 +- 9478274261Sdelphij src/liblzma/simple/simple_decoder.c | 47 + 9479274261Sdelphij src/liblzma/simple/simple_decoder.h | 29 + 9480274261Sdelphij src/liblzma/simple/simple_encoder.c | 45 + 9481274261Sdelphij src/liblzma/simple/simple_encoder.h | 30 + 9482274261Sdelphij src/liblzma/subblock/Makefile.am | 4 +- 9483274261Sdelphij src/liblzma/subblock/subblock_decoder.c | 20 +- 9484274261Sdelphij src/liblzma/subblock/subblock_decoder_helper.c | 2 +- 9485274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 28 +- 9486274261Sdelphij src/lzma/args.c | 35 +- 9487274261Sdelphij src/lzma/args.h | 4 +- 9488274261Sdelphij src/lzma/options.c | 14 +- 9489274261Sdelphij src/lzma/process.c | 88 +- 9490274261Sdelphij src/lzmadec/lzmadec.c | 157 +-- 9491274261Sdelphij tests/Makefile.am | 1 + 9492274261Sdelphij tests/files/README | 303 ++--- 9493274261Sdelphij tests/files/bad-0-backward_size.lzma | Bin 0 -> 32 bytes 9494274261Sdelphij tests/files/bad-0-empty-truncated.lzma | Bin 0 -> 31 bytes 9495274261Sdelphij tests/files/bad-0-nonempty_index.lzma | Bin 0 -> 32 bytes 9496274261Sdelphij tests/files/bad-0cat-alone.lzma | Bin 0 -> 55 bytes 9497274261Sdelphij tests/files/bad-0catpad-empty.lzma | Bin 0 -> 69 bytes 9498274261Sdelphij tests/files/bad-0pad-empty.lzma | Bin 0 -> 37 bytes 9499274261Sdelphij tests/files/bad-1-block_header-1.lzma | Bin 0 -> 64 bytes 9500274261Sdelphij tests/files/bad-1-block_header-2.lzma | Bin 0 -> 64 bytes 9501274261Sdelphij tests/files/bad-1-block_header-3.lzma | Bin 0 -> 68 bytes 9502274261Sdelphij tests/files/bad-1-block_header-4.lzma | Bin 0 -> 72 bytes 9503274261Sdelphij tests/files/bad-1-check-crc32.lzma | Bin 0 -> 68 bytes 9504274261Sdelphij tests/files/bad-1-check-crc64.lzma | Bin 0 -> 72 bytes 9505274261Sdelphij tests/files/bad-1-check-sha256.lzma | Bin 0 -> 96 bytes 9506274261Sdelphij tests/files/bad-1-lzma2-1.lzma | Bin 0 -> 64 bytes 9507274261Sdelphij tests/files/bad-1-lzma2-2.lzma | Bin 0 -> 424 bytes 9508274261Sdelphij tests/files/bad-1-lzma2-3.lzma | Bin 0 -> 424 bytes 9509274261Sdelphij tests/files/bad-1-lzma2-4.lzma | Bin 0 -> 408 bytes 9510274261Sdelphij tests/files/bad-1-lzma2-5.lzma | Bin 0 -> 408 bytes 9511274261Sdelphij tests/files/bad-1-lzma2-6.lzma | Bin 0 -> 68 bytes 9512274261Sdelphij tests/files/bad-1-lzma2-7.lzma | Bin 0 -> 408 bytes 9513274261Sdelphij tests/files/bad-1-stream_flags-1.lzma | Bin 0 -> 68 bytes 9514274261Sdelphij tests/files/bad-1-stream_flags-2.lzma | Bin 0 -> 68 bytes 9515274261Sdelphij tests/files/bad-1-stream_flags-3.lzma | Bin 0 -> 68 bytes 9516274261Sdelphij tests/files/bad-1-vli-1.lzma | Bin 0 -> 72 bytes 9517274261Sdelphij tests/files/bad-1-vli-2.lzma | Bin 0 -> 72 bytes 9518274261Sdelphij tests/files/bad-2-compressed_data_padding.lzma | Bin 0 -> 92 bytes 9519274261Sdelphij tests/files/bad-2-index-1.lzma | Bin 0 -> 92 bytes 9520274261Sdelphij tests/files/bad-2-index-2.lzma | Bin 0 -> 92 bytes 9521274261Sdelphij tests/files/bad-2-index-3.lzma | Bin 0 -> 92 bytes 9522274261Sdelphij tests/files/bad-2-index-4.lzma | Bin 0 -> 92 bytes 9523274261Sdelphij tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 65 -> 0 bytes 9524274261Sdelphij tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 65 -> 0 bytes 9525274261Sdelphij tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 65 -> 0 bytes 9526274261Sdelphij tests/files/bad-multi-none-1.lzma | Bin 54 -> 0 bytes 9527274261Sdelphij tests/files/bad-multi-none-2.lzma | Bin 53 -> 0 bytes 9528274261Sdelphij tests/files/bad-multi-none-3.lzma | Bin 53 -> 0 bytes 9529274261Sdelphij tests/files/bad-multi-none-block_1.lzma | Bin 66 -> 0 bytes 9530274261Sdelphij tests/files/bad-multi-none-block_2.lzma | Bin 66 -> 0 bytes 9531274261Sdelphij tests/files/bad-multi-none-block_3.lzma | Bin 58 -> 0 bytes 9532274261Sdelphij tests/files/bad-multi-none-extra_1.lzma | Bin 54 -> 0 bytes 9533274261Sdelphij tests/files/bad-multi-none-extra_2.lzma | Bin 54 -> 0 bytes 9534274261Sdelphij tests/files/bad-multi-none-extra_3.lzma | Bin 55 -> 0 bytes 9535274261Sdelphij tests/files/bad-multi-none-header_1.lzma | Bin 57 -> 0 bytes 9536274261Sdelphij tests/files/bad-multi-none-header_2.lzma | Bin 61 -> 0 bytes 9537274261Sdelphij tests/files/bad-multi-none-header_3.lzma | Bin 59 -> 0 bytes 9538274261Sdelphij tests/files/bad-multi-none-header_4.lzma | Bin 59 -> 0 bytes 9539274261Sdelphij tests/files/bad-multi-none-header_5.lzma | Bin 58 -> 0 bytes 9540274261Sdelphij tests/files/bad-multi-none-header_6.lzma | Bin 59 -> 0 bytes 9541274261Sdelphij tests/files/bad-multi-none-header_7.lzma | Bin 59 -> 0 bytes 9542274261Sdelphij tests/files/bad-multi-none-index_1.lzma | Bin 51 -> 0 bytes 9543274261Sdelphij tests/files/bad-multi-none-index_2.lzma | Bin 49 -> 0 bytes 9544274261Sdelphij tests/files/bad-multi-none-index_3.lzma | Bin 51 -> 0 bytes 9545274261Sdelphij tests/files/bad-multi-none-index_4.lzma | Bin 51 -> 0 bytes 9546274261Sdelphij tests/files/bad-single-data_after_eopm_1.lzma | Bin 55 -> 0 bytes 9547274261Sdelphij tests/files/bad-single-data_after_eopm_2.lzma | Bin 56 -> 0 bytes 9548274261Sdelphij tests/files/bad-single-lzma-flush_beginning.lzma | Bin 53 -> 0 bytes 9549274261Sdelphij tests/files/bad-single-lzma-flush_twice.lzma | Bin 63 -> 0 bytes 9550274261Sdelphij tests/files/bad-single-none-empty.lzma | Bin 19 -> 0 bytes 9551274261Sdelphij .../files/bad-single-none-footer_filter_flags.lzma | Bin 30 -> 0 bytes 9552274261Sdelphij tests/files/bad-single-none-too_long_vli.lzma | Bin 39 -> 0 bytes 9553274261Sdelphij tests/files/bad-single-none-truncated.lzma | Bin 29 -> 0 bytes 9554274261Sdelphij tests/files/bad-single-subblock-padding_loop.lzma | Bin 43 -> 0 bytes 9555274261Sdelphij tests/files/bad-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes 9556274261Sdelphij tests/files/bad-single-subblock_subblock.lzma | Bin 26 -> 0 bytes 9557274261Sdelphij tests/files/good-0-empty.lzma | Bin 0 -> 32 bytes 9558274261Sdelphij tests/files/good-0cat-empty.lzma | Bin 0 -> 64 bytes 9559274261Sdelphij tests/files/good-0catpad-empty.lzma | Bin 0 -> 68 bytes 9560274261Sdelphij tests/files/good-0pad-empty.lzma | Bin 0 -> 36 bytes 9561274261Sdelphij tests/files/good-1-3delta-lzma2.lzma | Bin 0 -> 528 bytes 9562274261Sdelphij tests/files/good-1-block_header-1.lzma | Bin 0 -> 72 bytes 9563274261Sdelphij tests/files/good-1-block_header-2.lzma | Bin 0 -> 68 bytes 9564274261Sdelphij tests/files/good-1-block_header-3.lzma | Bin 0 -> 68 bytes 9565274261Sdelphij tests/files/good-1-check-crc32.lzma | Bin 0 -> 68 bytes 9566274261Sdelphij tests/files/good-1-check-crc64.lzma | Bin 0 -> 72 bytes 9567274261Sdelphij tests/files/good-1-check-none.lzma | Bin 0 -> 64 bytes 9568274261Sdelphij tests/files/good-1-check-sha256.lzma | Bin 0 -> 96 bytes 9569274261Sdelphij tests/files/good-1-delta-lzma2.tiff.lzma | Bin 0 -> 51312 bytes 9570274261Sdelphij tests/files/good-1-lzma2-1.lzma | Bin 0 -> 424 bytes 9571274261Sdelphij tests/files/good-1-lzma2-2.lzma | Bin 0 -> 424 bytes 9572274261Sdelphij tests/files/good-1-lzma2-3.lzma | Bin 0 -> 408 bytes 9573274261Sdelphij tests/files/good-1-sparc-lzma2.lzma | Bin 0 -> 2292 bytes 9574274261Sdelphij tests/files/good-1-x86-lzma2.lzma | Bin 0 -> 1936 bytes 9575274261Sdelphij tests/files/good-2-lzma2.lzma | Bin 0 -> 92 bytes 9576274261Sdelphij tests/files/good-cat-single-none-pad.lzma | Bin 64 -> 0 bytes 9577274261Sdelphij tests/files/good-multi-none-1.lzma | Bin 75 -> 0 bytes 9578274261Sdelphij tests/files/good-multi-none-2.lzma | Bin 53 -> 0 bytes 9579274261Sdelphij tests/files/good-multi-none-block_1.lzma | Bin 66 -> 0 bytes 9580274261Sdelphij tests/files/good-multi-none-block_2.lzma | Bin 58 -> 0 bytes 9581274261Sdelphij tests/files/good-multi-none-extra_1.lzma | Bin 51 -> 0 bytes 9582274261Sdelphij tests/files/good-multi-none-extra_2.lzma | Bin 79 -> 0 bytes 9583274261Sdelphij tests/files/good-multi-none-extra_3.lzma | Bin 55 -> 0 bytes 9584274261Sdelphij tests/files/good-multi-none-header_1.lzma | Bin 58 -> 0 bytes 9585274261Sdelphij tests/files/good-multi-none-header_2.lzma | Bin 66 -> 0 bytes 9586274261Sdelphij tests/files/good-multi-none-header_3.lzma | Bin 59 -> 0 bytes 9587274261Sdelphij tests/files/good-single-delta-lzma.tiff.lzma | Bin 51409 -> 0 bytes 9588274261Sdelphij tests/files/good-single-lzma-empty.lzma | Bin 21 -> 0 bytes 9589274261Sdelphij tests/files/good-single-lzma-flush_1.lzma | Bin 48 -> 0 bytes 9590274261Sdelphij tests/files/good-single-lzma-flush_2.lzma | Bin 63 -> 0 bytes 9591274261Sdelphij tests/files/good-single-lzma.lzma | Bin 44 -> 0 bytes 9592274261Sdelphij tests/files/good-single-none-empty_1.lzma | Bin 18 -> 0 bytes 9593274261Sdelphij tests/files/good-single-none-empty_2.lzma | Bin 26 -> 0 bytes 9594274261Sdelphij tests/files/good-single-none-empty_3.lzma | Bin 19 -> 0 bytes 9595274261Sdelphij tests/files/good-single-none-pad.lzma | Bin 32 -> 0 bytes 9596274261Sdelphij tests/files/good-single-none.lzma | Bin 30 -> 0 bytes 9597274261Sdelphij tests/files/good-single-sparc-lzma.lzma | Bin 2263 -> 0 bytes 9598274261Sdelphij tests/files/good-single-subblock-lzma.lzma | Bin 50 -> 0 bytes 9599274261Sdelphij tests/files/good-single-subblock_implicit.lzma | Bin 35 -> 0 bytes 9600274261Sdelphij tests/files/good-single-subblock_rle.lzma | Bin 118 -> 0 bytes 9601274261Sdelphij tests/files/good-single-x86-lzma.lzma | Bin 1909 -> 0 bytes 9602274261Sdelphij tests/files/malicious-multi-metadata-64PiB.lzma | Bin 51 -> 0 bytes 9603274261Sdelphij tests/files/malicious-single-subblock-256MiB.lzma | Bin 30 -> 0 bytes 9604274261Sdelphij tests/files/malicious-single-subblock-64PiB.lzma | Bin 45 -> 0 bytes 9605274261Sdelphij tests/files/malicious-single-subblock31-slow.lzma | Bin 1233 -> 0 bytes 9606274261Sdelphij tests/files/unsupported-block_header.lzma | Bin 0 -> 68 bytes 9607274261Sdelphij tests/files/unsupported-check.lzma | Bin 0 -> 68 bytes 9608274261Sdelphij tests/files/unsupported-filter_flags-1.lzma | Bin 0 -> 68 bytes 9609274261Sdelphij tests/files/unsupported-filter_flags-2.lzma | Bin 0 -> 68 bytes 9610274261Sdelphij tests/files/unsupported-filter_flags-3.lzma | Bin 0 -> 68 bytes 9611274261Sdelphij tests/test_block_header.c | 28 +- 9612274261Sdelphij tests/test_compress.sh | 4 +- 9613274261Sdelphij tests/test_filter_flags.c | 51 +- 9614274261Sdelphij tests/test_stream_flags.c | 4 +- 9615274261Sdelphij tests/tests.h | 8 + 9616274261Sdelphij 294 files changed, 9768 insertions(+), 8195 deletions(-) 9617274261Sdelphij 9618207753Smmcommit 57b9a145a527f0716822615e5ed536d33aebd3fc 9619207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9620274261SdelphijDate: 2008-06-20 17:16:32 +0300 9621207753Smm 9622207753Smm Fix test_filter_flags to match the new restriction of lc+lp. 9623207753Smm 9624274261Sdelphij tests/test_filter_flags.c | 3 +++ 9625274261Sdelphij 1 file changed, 3 insertions(+) 9626274261Sdelphij 9627207753Smmcommit eaafc4367c77ec1d910e16d11b4da293969d97a3 9628207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9629274261SdelphijDate: 2008-06-20 16:19:54 +0300 9630207753Smm 9631207753Smm Remove some redundant code from LZMA encoder. 9632207753Smm 9633274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 15 +-------------- 9634274261Sdelphij 1 file changed, 1 insertion(+), 14 deletions(-) 9635274261Sdelphij 9636207753Smmcommit 0809c46534fa5664fe35d9e98d95e87312ed130e 9637207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9638274261SdelphijDate: 2008-06-19 16:35:08 +0300 9639207753Smm 9640207753Smm Add limit of lc + lp <= 4. Now we can allocate the 9641207753Smm literal coder as part of the main LZMA encoder or 9642207753Smm decoder structure. 9643207753Smm 9644207753Smm Make the LZMA decoder to rely on the current internal API 9645207753Smm to free the allocated memory in case an error occurs. 9646207753Smm 9647274261Sdelphij src/liblzma/api/lzma/lzma.h | 10 +++++- 9648274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 57 ++++++++------------------------- 9649274261Sdelphij src/liblzma/lzma/lzma_encoder_init.c | 13 ++++---- 9650274261Sdelphij src/liblzma/lzma/lzma_encoder_private.h | 2 +- 9651274261Sdelphij src/liblzma/lzma/lzma_literal.c | 39 +++++----------------- 9652274261Sdelphij src/liblzma/lzma/lzma_literal.h | 13 +++----- 9653274261Sdelphij 6 files changed, 43 insertions(+), 91 deletions(-) 9654274261Sdelphij 9655207753Smmcommit d25ab1b96178f06a0e724f58e3cd68300b2b1275 9656207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9657274261SdelphijDate: 2008-06-18 21:45:19 +0300 9658207753Smm 9659207753Smm Comments 9660207753Smm 9661274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 7 ++----- 9662274261Sdelphij 1 file changed, 2 insertions(+), 5 deletions(-) 9663274261Sdelphij 9664207753Smmcommit 6368a2fa5901c75864be5171dd57a50af7adbb41 9665207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9666274261SdelphijDate: 2008-06-18 19:19:02 +0300 9667207753Smm 9668207753Smm Delete old code that was supposed to be already deleted 9669207753Smm from test_block_header.c. 9670207753Smm 9671274261Sdelphij tests/test_block_header.c | 30 ------------------------------ 9672274261Sdelphij 1 file changed, 30 deletions(-) 9673274261Sdelphij 9674207753Smmcommit 7d17818cec8597f847b0a2537fde991bbc3d9e96 9675207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9676274261SdelphijDate: 2008-06-18 18:02:10 +0300 9677207753Smm 9678207753Smm Update the code to mostly match the new simpler file format 9679207753Smm specification. Simplify things by removing most of the 9680207753Smm support for known uncompressed size in most places. 9681207753Smm There are some miscellaneous changes here and there too. 9682207753Smm 9683207753Smm The API of liblzma has got many changes and still some 9684207753Smm more will be done soon. While most of the code has been 9685207753Smm updated, some things are not fixed (the command line tool 9686207753Smm will choke with invalid filter chain, if nothing else). 9687207753Smm 9688207753Smm Subblock filter is somewhat broken for now. It will be 9689207753Smm updated once the encoded format of the Subblock filter 9690207753Smm has been decided. 9691207753Smm 9692274261Sdelphij configure.ac | 41 +- 9693274261Sdelphij debug/full_flush.c | 16 +- 9694274261Sdelphij debug/sync_flush.c | 15 +- 9695274261Sdelphij src/common/bswap.h | 44 ++ 9696274261Sdelphij src/common/integer.h | 167 +++++ 9697274261Sdelphij src/liblzma/api/Makefile.am | 5 +- 9698274261Sdelphij src/liblzma/api/lzma.h | 9 +- 9699274261Sdelphij src/liblzma/api/lzma/alone.h | 32 +- 9700274261Sdelphij src/liblzma/api/lzma/auto.h | 7 +- 9701274261Sdelphij src/liblzma/api/lzma/base.h | 15 + 9702274261Sdelphij src/liblzma/api/lzma/block.h | 306 +++------- 9703274261Sdelphij src/liblzma/api/lzma/check.h | 18 +- 9704274261Sdelphij src/liblzma/api/lzma/copy.h | 29 - 9705274261Sdelphij src/liblzma/api/lzma/easy.h | 61 +- 9706274261Sdelphij src/liblzma/api/lzma/extra.h | 114 ---- 9707274261Sdelphij src/liblzma/api/lzma/filter.h | 5 +- 9708274261Sdelphij src/liblzma/api/lzma/index.h | 204 ++++++- 9709274261Sdelphij src/liblzma/api/lzma/index_hash.h | 94 +++ 9710274261Sdelphij src/liblzma/api/lzma/info.h | 315 ---------- 9711274261Sdelphij src/liblzma/api/lzma/lzma.h | 2 +- 9712274261Sdelphij src/liblzma/api/lzma/metadata.h | 100 --- 9713274261Sdelphij src/liblzma/api/lzma/raw.h | 20 +- 9714274261Sdelphij src/liblzma/api/lzma/stream.h | 157 +---- 9715274261Sdelphij src/liblzma/api/lzma/stream_flags.h | 146 +++-- 9716274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 9717274261Sdelphij src/liblzma/api/lzma/vli.h | 83 ++- 9718274261Sdelphij src/liblzma/check/Makefile.am | 1 - 9719274261Sdelphij src/liblzma/check/check.c | 55 +- 9720274261Sdelphij src/liblzma/check/check.h | 47 +- 9721274261Sdelphij src/liblzma/check/check_byteswap.h | 43 -- 9722274261Sdelphij src/liblzma/check/crc32_init.c | 2 +- 9723274261Sdelphij src/liblzma/check/crc64_init.c | 2 +- 9724274261Sdelphij src/liblzma/check/crc_macros.h | 2 +- 9725274261Sdelphij src/liblzma/check/sha256.c | 53 +- 9726274261Sdelphij src/liblzma/common/Makefile.am | 31 +- 9727274261Sdelphij src/liblzma/common/alignment.c | 5 +- 9728274261Sdelphij src/liblzma/common/alone_decoder.c | 77 +-- 9729274261Sdelphij src/liblzma/common/alone_encoder.c | 99 ++- 9730274261Sdelphij src/liblzma/common/auto_decoder.c | 18 +- 9731274261Sdelphij src/liblzma/common/block_decoder.c | 298 +++------ 9732274261Sdelphij src/liblzma/common/block_encoder.c | 228 ++----- 9733274261Sdelphij src/liblzma/common/block_header_decoder.c | 400 +++--------- 9734274261Sdelphij src/liblzma/common/block_header_encoder.c | 207 +++---- 9735274261Sdelphij src/liblzma/common/block_private.h | 51 +- 9736274261Sdelphij src/liblzma/common/block_util.c | 73 +++ 9737274261Sdelphij src/liblzma/common/common.h | 44 +- 9738274261Sdelphij src/liblzma/common/copy_coder.c | 144 ----- 9739274261Sdelphij src/liblzma/common/copy_coder.h | 31 - 9740274261Sdelphij src/liblzma/common/delta_common.c | 4 - 9741274261Sdelphij src/liblzma/common/delta_common.h | 4 - 9742274261Sdelphij src/liblzma/common/delta_decoder.c | 55 +- 9743274261Sdelphij src/liblzma/common/delta_encoder.c | 7 +- 9744274261Sdelphij src/liblzma/common/easy.c | 122 ++++ 9745274261Sdelphij src/liblzma/common/easy_common.c | 54 -- 9746274261Sdelphij src/liblzma/common/easy_common.h | 28 - 9747274261Sdelphij src/liblzma/common/easy_multi.c | 103 ---- 9748274261Sdelphij src/liblzma/common/easy_single.c | 37 -- 9749274261Sdelphij src/liblzma/common/extra.c | 34 -- 9750274261Sdelphij src/liblzma/common/features.c | 4 - 9751274261Sdelphij src/liblzma/common/filter_flags_decoder.c | 384 ++++-------- 9752274261Sdelphij src/liblzma/common/filter_flags_encoder.c | 120 +--- 9753274261Sdelphij src/liblzma/common/index.c | 773 ++++++++++++++++++++--- 9754274261Sdelphij src/liblzma/common/index.h | 67 ++ 9755274261Sdelphij src/liblzma/common/index_decoder.c | 252 ++++++++ 9756274261Sdelphij src/liblzma/common/index_encoder.c | 222 +++++++ 9757274261Sdelphij src/liblzma/common/index_encoder.h | 30 + 9758274261Sdelphij src/liblzma/common/index_hash.c | 340 +++++++++++ 9759274261Sdelphij src/liblzma/common/info.c | 814 ------------------------- 9760274261Sdelphij src/liblzma/common/memory_usage.c | 1 - 9761274261Sdelphij src/liblzma/common/metadata_decoder.c | 578 ------------------ 9762274261Sdelphij src/liblzma/common/metadata_decoder.h | 31 - 9763274261Sdelphij src/liblzma/common/metadata_encoder.c | 435 ------------- 9764274261Sdelphij src/liblzma/common/metadata_encoder.h | 30 - 9765274261Sdelphij src/liblzma/common/raw_common.c | 178 ++---- 9766274261Sdelphij src/liblzma/common/raw_common.h | 5 +- 9767274261Sdelphij src/liblzma/common/raw_decoder.c | 19 +- 9768274261Sdelphij src/liblzma/common/raw_decoder.h | 3 +- 9769274261Sdelphij src/liblzma/common/raw_encoder.c | 101 +-- 9770274261Sdelphij src/liblzma/common/raw_encoder.h | 3 +- 9771274261Sdelphij src/liblzma/common/stream_common.h | 3 + 9772274261Sdelphij src/liblzma/common/stream_decoder.c | 458 +++++--------- 9773274261Sdelphij src/liblzma/common/stream_decoder.h | 28 + 9774274261Sdelphij src/liblzma/common/stream_encoder.c | 282 +++++++++ 9775274261Sdelphij src/liblzma/common/stream_encoder.h | 30 + 9776274261Sdelphij src/liblzma/common/stream_encoder_multi.c | 445 -------------- 9777274261Sdelphij src/liblzma/common/stream_encoder_multi.h | 26 - 9778274261Sdelphij src/liblzma/common/stream_encoder_single.c | 219 ------- 9779274261Sdelphij src/liblzma/common/stream_flags_decoder.c | 260 ++------ 9780274261Sdelphij src/liblzma/common/stream_flags_encoder.c | 56 +- 9781274261Sdelphij src/liblzma/common/stream_flags_equal.c | 36 ++ 9782274261Sdelphij src/liblzma/common/vli_decoder.c | 68 ++- 9783274261Sdelphij src/liblzma/common/vli_encoder.c | 59 +- 9784274261Sdelphij src/liblzma/common/vli_reverse_decoder.c | 55 -- 9785274261Sdelphij src/liblzma/lz/lz_decoder.c | 6 +- 9786274261Sdelphij src/liblzma/lz/lz_decoder.h | 10 +- 9787274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 13 +- 9788274261Sdelphij src/liblzma/lzma/lzma_decoder.h | 10 +- 9789274261Sdelphij src/liblzma/simple/simple_coder.c | 29 +- 9790274261Sdelphij src/liblzma/simple/simple_private.h | 4 - 9791274261Sdelphij src/liblzma/subblock/subblock_decoder.c | 106 +--- 9792274261Sdelphij src/liblzma/subblock/subblock_decoder_helper.c | 5 +- 9793274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 8 +- 9794274261Sdelphij src/lzma/args.c | 22 +- 9795274261Sdelphij src/lzma/args.h | 2 - 9796274261Sdelphij src/lzma/error.c | 6 + 9797274261Sdelphij src/lzma/process.c | 26 +- 9798274261Sdelphij src/lzmadec/lzmadec.c | 8 +- 9799274261Sdelphij tests/Makefile.am | 5 +- 9800274261Sdelphij tests/test_block_header.c | 411 +++++-------- 9801274261Sdelphij tests/test_compress.sh | 65 +- 9802274261Sdelphij tests/test_filter_flags.c | 116 ++-- 9803274261Sdelphij tests/test_index.c | 504 ++++++++++++++- 9804274261Sdelphij tests/test_info.c | 717 ---------------------- 9805274261Sdelphij tests/test_stream_flags.c | 134 ++-- 9806274261Sdelphij tests/tests.h | 14 +- 9807274261Sdelphij 115 files changed, 4846 insertions(+), 8156 deletions(-) 9808274261Sdelphij 9809207753Smmcommit bf6348d1a3ff09fdc06940468f318f75ffa6af11 9810207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9811274261SdelphijDate: 2008-06-17 15:03:46 +0300 9812207753Smm 9813207753Smm Update the file format specification draft. The new one is 9814207753Smm a lot simpler than the previous versions, but it also means 9815207753Smm that the existing code will change a lot. 9816207753Smm 9817274261Sdelphij doc/file-format.txt | 1794 +++++++++++++++------------------------------------ 9818274261Sdelphij 1 file changed, 508 insertions(+), 1286 deletions(-) 9819274261Sdelphij 9820207753Smmcommit 803194ddd26f01ff60ba4e9924c6087a56b29827 9821207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9822274261SdelphijDate: 2008-06-11 21:42:47 +0300 9823207753Smm 9824207753Smm Fix uninitialized variable in LZMA encoder. This was 9825207753Smm introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f. 9826207753Smm 9827274261Sdelphij src/liblzma/lzma/lzma_encoder_init.c | 2 ++ 9828274261Sdelphij 1 file changed, 2 insertions(+) 9829274261Sdelphij 9830207753Smmcommit 0ea98e52ba87453497b1355c51f13bad55c8924a 9831207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9832274261SdelphijDate: 2008-06-11 15:08:44 +0300 9833207753Smm 9834207753Smm Improve command line integer parsing a little in lzma and 9835207753Smm lzmadec to make them accept also KiB in addition Ki etc. 9836207753Smm Fix also memory usage information in lzmadec --help. 9837207753Smm 9838274261Sdelphij src/lzma/util.c | 23 ++++++++++++++--------- 9839274261Sdelphij src/lzmadec/lzmadec.c | 31 ++++++++++++++++++------------- 9840274261Sdelphij 2 files changed, 32 insertions(+), 22 deletions(-) 9841274261Sdelphij 9842207753Smmcommit 436fa5fae96d4e35759aed33066060f09ee8c6ef 9843207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9844274261SdelphijDate: 2008-06-10 20:36:12 +0300 9845207753Smm 9846207753Smm s/decompressed/compressed/ in the command line tool's 9847207753Smm error message. 9848207753Smm 9849274261Sdelphij src/lzma/main.c | 2 +- 9850274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 9851274261Sdelphij 9852207753Smmcommit 369f72fd656f537a9a8e06f13e6d0d4c242be22f 9853207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9854274261SdelphijDate: 2008-06-01 12:48:17 +0300 9855207753Smm 9856207753Smm Fix a buffer overflow in the LZMA encoder. It was due to my 9857207753Smm misunderstanding of the code. There's no tiny fix for this 9858207753Smm problem, so I also cleaned up the code in general. 9859207753Smm 9860207753Smm This reduces the speed of the encoder 2-5 % in the fastest 9861207753Smm compression mode ("lzma -1"). High compression modes should 9862207753Smm have no noticeable performance difference. 9863207753Smm 9864207753Smm This commit breaks things (especially LZMA_SYNC_FLUSH) but I 9865207753Smm will fix them once the new format and LZMA2 has been roughly 9866207753Smm implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all 9867207753Smm and won't be supported in the new .lzma format. This may 9868207753Smm change still but this is what it looks like now. 9869207753Smm 9870207753Smm Support for known uncompressed size (that is, LZMA or LZMA2 9871207753Smm without EOPM) is likely to go away. This means there will 9872207753Smm be API changes. 9873207753Smm 9874274261Sdelphij src/liblzma/lz/lz_encoder.c | 113 +---- 9875274261Sdelphij src/liblzma/lz/lz_encoder.h | 18 +- 9876274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 551 ++++++++++++------------- 9877274261Sdelphij src/liblzma/lzma/lzma_encoder_getoptimum.c | 59 ++- 9878274261Sdelphij src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 4 +- 9879274261Sdelphij src/liblzma/lzma/lzma_encoder_init.c | 9 +- 9880274261Sdelphij src/liblzma/lzma/lzma_encoder_private.h | 15 +- 9881274261Sdelphij src/liblzma/rangecoder/range_encoder.h | 383 +++++++++-------- 9882274261Sdelphij 8 files changed, 532 insertions(+), 620 deletions(-) 9883274261Sdelphij 9884207753Smmcommit e55e0e873ce2511325749d415ae547d62ab5f00d 9885207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9886274261SdelphijDate: 2008-05-30 11:53:41 +0300 9887207753Smm 9888207753Smm Typo fixes from meyering. 9889207753Smm 9890274261Sdelphij doc/faq.txt | 4 ++-- 9891274261Sdelphij doc/liblzma-advanced.txt | 2 +- 9892274261Sdelphij 2 files changed, 3 insertions(+), 3 deletions(-) 9893274261Sdelphij 9894207753Smmcommit ed6664146fcbe9cc4a3b23b31632182ed812ea93 9895207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9896274261SdelphijDate: 2008-05-11 14:24:42 +0300 9897207753Smm 9898207753Smm Remove support for pre-C89 libc versions that lack memcpy, 9899207753Smm memmove, and memset. 9900207753Smm 9901274261Sdelphij configure.ac | 2 +- 9902274261Sdelphij src/common/sysdefs.h | 15 ++------------- 9903274261Sdelphij src/liblzma/common/allocator.c | 2 +- 9904274261Sdelphij 3 files changed, 4 insertions(+), 15 deletions(-) 9905274261Sdelphij 9906207753Smmcommit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63 9907207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9908274261SdelphijDate: 2008-05-11 14:17:21 +0300 9909207753Smm 9910207753Smm Improved C99 compiler detection in configure.ac. It will 9911207753Smm pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic 9912207753Smm should still give warnings about GNU extensions like before 9913207753Smm except with some special keywords like asm(). 9914207753Smm 9915274261Sdelphij configure.ac | 24 ++++++++++++------------ 9916274261Sdelphij 1 file changed, 12 insertions(+), 12 deletions(-) 9917274261Sdelphij 9918207753Smmcommit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf 9919207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9920274261SdelphijDate: 2008-05-06 15:15:07 +0300 9921207753Smm 9922207753Smm Bunch of grammar fixes from meyering. 9923207753Smm 9924274261Sdelphij doc/liblzma-security.txt | 8 ++++---- 9925274261Sdelphij src/liblzma/api/lzma/memlimit.h | 6 +++--- 9926274261Sdelphij src/lzma/help.c | 2 +- 9927274261Sdelphij tests/files/README | 2 +- 9928274261Sdelphij 4 files changed, 9 insertions(+), 9 deletions(-) 9929274261Sdelphij 9930207753Smmcommit dc192b6343ae36276c85fcf7ef6006147816eadc 9931207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9932274261SdelphijDate: 2008-05-06 13:41:05 +0300 9933207753Smm 9934207753Smm Typo fix 9935207753Smm 9936274261Sdelphij src/liblzma/api/lzma/init.h | 2 +- 9937274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 9938274261Sdelphij 9939207753Smmcommit 944b62b93239b27b338d117f2668c0e95849659b 9940207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9941274261SdelphijDate: 2008-05-04 22:29:27 +0300 9942207753Smm 9943207753Smm Don't print an error message on broken pipe unless --verbose 9944207753Smm is used. 9945207753Smm 9946274261Sdelphij src/lzma/io.c | 15 ++++++++++++++- 9947274261Sdelphij 1 file changed, 14 insertions(+), 1 deletion(-) 9948274261Sdelphij 9949207753Smmcommit 8e074349e47ea6832b8fdf9244e581d453733433 9950207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9951274261SdelphijDate: 2008-04-30 22:16:17 +0300 9952207753Smm 9953207753Smm Fix a crash with --format=alone if other filters than LZMA 9954207753Smm are specified on the command line. 9955207753Smm 9956274261Sdelphij src/lzma/args.c | 9 +++++++++ 9957274261Sdelphij 1 file changed, 9 insertions(+) 9958274261Sdelphij 9959207753Smmcommit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73 9960207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9961274261SdelphijDate: 2008-04-28 17:08:27 +0300 9962207753Smm 9963207753Smm Updated THANKS. 9964207753Smm 9965274261Sdelphij THANKS | 1 + 9966274261Sdelphij 1 file changed, 1 insertion(+) 9967274261Sdelphij 9968207753Smmcommit 3be21fb12f4cec2cf07799e8960382f4cb375369 9969207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9970274261SdelphijDate: 2008-04-28 17:06:34 +0300 9971207753Smm 9972207753Smm Fixed wrong spelling "limitter" to "limiter". This affects 9973207753Smm liblzma's API. 9974207753Smm 9975274261Sdelphij doc/liblzma-security.txt | 14 +- 9976274261Sdelphij src/liblzma/api/lzma/base.h | 4 +- 9977274261Sdelphij src/liblzma/api/lzma/memlimit.h | 10 +- 9978274261Sdelphij src/liblzma/api/lzma/stream.h | 4 +- 9979274261Sdelphij src/liblzma/common/Makefile.am | 2 +- 9980274261Sdelphij src/liblzma/common/memory_limiter.c | 288 +++++++++++++++++++++++++++++++++++ 9981274261Sdelphij src/liblzma/common/memory_limitter.c | 288 ----------------------------------- 9982274261Sdelphij src/lzma/list.c | 6 +- 9983274261Sdelphij src/lzmadec/lzmadec.c | 12 +- 9984274261Sdelphij tests/test_memlimit.c | 4 +- 9985274261Sdelphij 10 files changed, 316 insertions(+), 316 deletions(-) 9986274261Sdelphij 9987207753Smmcommit beeb81060821dfec4e7898e0d44b7900dcb2215e 9988207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9989274261SdelphijDate: 2008-04-25 15:39:50 +0300 9990207753Smm 9991207753Smm Prevent LZ encoder from hanging with known uncompressed 9992207753Smm size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream 9993207753Smm with known uncompressed size, but since it currently seems 9994207753Smm likely that support for encoding with known uncompressed 9995207753Smm size will go away anyway, I'm not fixing this problem now. 9996207753Smm 9997274261Sdelphij src/liblzma/lz/lz_encoder.c | 9 +++++++-- 9998274261Sdelphij 1 file changed, 7 insertions(+), 2 deletions(-) 9999274261Sdelphij 10000207753Smmcommit c324325f9f13cdeb92153c5d00962341ba070ca2 10001207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10002274261SdelphijDate: 2008-04-25 13:58:56 +0300 10003207753Smm 10004207753Smm Removed src/liblzma/common/sysdefs.h symlink, which was 10005207753Smm annoying, because "make dist" put two copies of sysdefs.h 10006207753Smm into the tarball instead of the symlink. 10007207753Smm 10008274261Sdelphij src/liblzma/check/crc32_table.c | 2 +- 10009274261Sdelphij src/liblzma/check/crc64_table.c | 2 +- 10010274261Sdelphij src/liblzma/common/Makefile.am | 1 - 10011274261Sdelphij src/liblzma/common/common.h | 2 +- 10012274261Sdelphij src/liblzma/common/sysdefs.h | 1 - 10013274261Sdelphij 5 files changed, 3 insertions(+), 5 deletions(-) 10014274261Sdelphij 10015207753Smmcommit d3ba30243c75c13d094de1793f9c58acdbacc692 10016207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10017274261SdelphijDate: 2008-04-25 13:41:29 +0300 10018207753Smm 10019207753Smm Added memusage.c to debug directory. 10020207753Smm 10021274261Sdelphij debug/Makefile.am | 3 ++- 10022274261Sdelphij debug/memusage.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 10023274261Sdelphij 2 files changed, 57 insertions(+), 1 deletion(-) 10024274261Sdelphij 10025207753Smmcommit 8f804c29aa8471ccd6438ddca254092b8869ca52 10026207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10027274261SdelphijDate: 2008-04-25 13:32:35 +0300 10028207753Smm 10029207753Smm Bumped version number to 4.999.3alpha. It will become 5.0.0 10030207753Smm once we have a stable release (won't be very soon). The 10031207753Smm version number is no longer related to version of LZMA SDK. 10032207753Smm 10033207753Smm Made some small Automake-related changes to toplevel 10034207753Smm Makefile.am and configure.ac. 10035207753Smm 10036274261Sdelphij Makefile.am | 7 +++++-- 10037274261Sdelphij README | 29 +++++++++++++++++++++++++++++ 10038274261Sdelphij configure.ac | 4 ++-- 10039274261Sdelphij src/liblzma/api/lzma/version.h | 22 ++++++++++------------ 10040274261Sdelphij 4 files changed, 46 insertions(+), 16 deletions(-) 10041274261Sdelphij 10042207753Smmcommit c99037ea10f121cbacf60c37a36c29768ae53447 10043207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10044274261SdelphijDate: 2008-04-24 20:25:39 +0300 10045207753Smm 10046207753Smm Fix a memory leak by calling free(extra->data) in 10047207753Smm lzma_extra_free(). 10048207753Smm 10049274261Sdelphij src/liblzma/common/extra.c | 1 + 10050274261Sdelphij 1 file changed, 1 insertion(+) 10051274261Sdelphij 10052207753Smmcommit 22ba3b0b5043fa481903482ce85015fe775939e5 10053207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10054274261SdelphijDate: 2008-04-24 20:23:05 +0300 10055207753Smm 10056207753Smm Make unlzma and lzcat symlinks. 10057207753Smm 10058274261Sdelphij src/lzma/Makefile.am | 12 ++++++++++++ 10059274261Sdelphij 1 file changed, 12 insertions(+) 10060274261Sdelphij 10061207753Smmcommit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e 10062207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10063274261SdelphijDate: 2008-04-24 20:20:27 +0300 10064207753Smm 10065207753Smm Fixed a bug in command line option parsing. 10066207753Smm 10067274261Sdelphij src/lzma/options.c | 2 +- 10068274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 10069274261Sdelphij 10070207753Smmcommit 283f939974c32c47f05d495e8dea455ec646ed64 10071207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10072274261SdelphijDate: 2008-04-24 20:19:20 +0300 10073207753Smm 10074207753Smm Added two assert()s. 10075207753Smm 10076274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 4 +++- 10077274261Sdelphij 1 file changed, 3 insertions(+), 1 deletion(-) 10078274261Sdelphij 10079207753Smmcommit eb348a60b6e19a7c093f892434f23c4756973ffd 10080207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10081274261SdelphijDate: 2008-04-24 19:22:53 +0300 10082207753Smm 10083207753Smm Switch to uint16_t as the type of range coder probabilities. 10084207753Smm 10085274261Sdelphij src/liblzma/rangecoder/range_common.h | 25 +++++++++++++++++++------ 10086274261Sdelphij 1 file changed, 19 insertions(+), 6 deletions(-) 10087274261Sdelphij 10088207753Smmcommit 6c5306e312bcfd254cf654f88c04e34ba786df3d 10089207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10090274261SdelphijDate: 2008-04-24 18:39:57 +0300 10091207753Smm 10092207753Smm Fix wrong return type (uint32_t -> bool). 10093207753Smm 10094274261Sdelphij src/liblzma/lz/lz_encoder.c | 2 +- 10095274261Sdelphij src/liblzma/lz/lz_encoder.h | 2 +- 10096274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 10097274261Sdelphij 10098207753Smmcommit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8 10099207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10100274261SdelphijDate: 2008-04-24 18:38:00 +0300 10101207753Smm 10102207753Smm Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH. 10103207753Smm 10104274261Sdelphij src/liblzma/lz/lz_encoder.c | 16 ++++++++++++++++ 10105274261Sdelphij src/liblzma/lz/lz_encoder.h | 4 ++++ 10106274261Sdelphij src/liblzma/lz/match_c.h | 23 ++++++++++++++++++----- 10107274261Sdelphij 3 files changed, 38 insertions(+), 5 deletions(-) 10108274261Sdelphij 10109207753Smmcommit bc04486e368d20b3027cde625267762aae063965 10110207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10111274261SdelphijDate: 2008-04-24 17:33:01 +0300 10112207753Smm 10113207753Smm Fix fastpos problem in Makefile.am when built with --enable-small. 10114207753Smm 10115274261Sdelphij src/liblzma/lzma/Makefile.am | 5 ++++- 10116274261Sdelphij 1 file changed, 4 insertions(+), 1 deletion(-) 10117274261Sdelphij 10118207753Smmcommit 7ab493924e0ed590a5121a15ee54038d238880d3 10119207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10120274261SdelphijDate: 2008-04-24 17:30:51 +0300 10121207753Smm 10122207753Smm Use 64-bit integer as range encoder's cache size. This fixes a 10123207753Smm theoretical data corruption, which should be very hard to trigger 10124207753Smm even intentionally. 10125207753Smm 10126274261Sdelphij src/liblzma/rangecoder/range_encoder.h | 2 +- 10127274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 10128274261Sdelphij 10129207753Smmcommit 641998c3e1ecc8b598fe0eb051fab8b9535c291b 10130207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10131274261SdelphijDate: 2008-03-24 16:38:40 +0200 10132207753Smm 10133207753Smm Replaced the range decoder optimization that used arithmetic 10134207753Smm right shift with as fast version that doesn't need 10135207753Smm arithmetic right shift. Removed the related check from 10136207753Smm configure.ac. 10137207753Smm 10138274261Sdelphij configure.ac | 1 - 10139274261Sdelphij m4/ax_c_arithmetic_rshift.m4 | 36 ----------------------- 10140274261Sdelphij src/liblzma/rangecoder/range_decoder.h | 53 ++++++++++------------------------ 10141274261Sdelphij 3 files changed, 16 insertions(+), 74 deletions(-) 10142274261Sdelphij 10143207753Smmcommit ad999efd279d95f1e7ac555b14170e8e9020488c 10144207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10145274261SdelphijDate: 2008-03-22 14:39:34 +0200 10146207753Smm 10147207753Smm Take advantage of arithmetic right shift in range decoder. 10148207753Smm 10149274261Sdelphij src/liblzma/rangecoder/range_decoder.h | 52 ++++++++++++++++++++++++---------- 10150274261Sdelphij 1 file changed, 37 insertions(+), 15 deletions(-) 10151274261Sdelphij 10152207753Smmcommit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d 10153207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10154274261SdelphijDate: 2008-03-22 14:18:29 +0200 10155207753Smm 10156207753Smm Added autoconf check to detect if we can use arithmetic 10157207753Smm right shift for optimizations. 10158207753Smm 10159274261Sdelphij configure.ac | 1 + 10160274261Sdelphij m4/ax_c_arithmetic_rshift.m4 | 36 ++++++++++++++++++++++++++++++++++++ 10161274261Sdelphij 2 files changed, 37 insertions(+) 10162274261Sdelphij 10163207753Smmcommit 7521bbdc83acab834594a22bec50c8e1bd836298 10164207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10165274261SdelphijDate: 2008-03-22 01:26:36 +0200 10166207753Smm 10167207753Smm Update a comment to use the variable name rep_len_decoder. 10168207753Smm 10169207753Smm (And BTW, the previous commit actually did change the 10170207753Smm program logic slightly.) 10171207753Smm 10172274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 2 +- 10173274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 10174274261Sdelphij 10175207753Smmcommit 63b74d000eedaebb8485f623e56864ff5ab71064 10176207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10177274261SdelphijDate: 2008-03-22 00:57:33 +0200 10178207753Smm 10179207753Smm Demystified the "state" variable in LZMA code. Use the 10180207753Smm word literal instead of char for better consistency. 10181207753Smm There are still some names with _char instead of _literal 10182207753Smm in lzma_optimum, these may be changed later. 10183207753Smm 10184207753Smm Renamed length coder variables. 10185207753Smm 10186207753Smm This commit doesn't change the program logic. 10187207753Smm 10188274261Sdelphij src/liblzma/lzma/lzma_common.h | 69 ++++++++++++++++++++++-------- 10189274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 47 ++++++++++---------- 10190274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 14 +++--- 10191274261Sdelphij src/liblzma/lzma/lzma_encoder_getoptimum.c | 34 +++++++-------- 10192274261Sdelphij src/liblzma/lzma/lzma_encoder_init.c | 5 ++- 10193274261Sdelphij src/liblzma/lzma/lzma_encoder_private.h | 8 ++-- 10194274261Sdelphij 6 files changed, 107 insertions(+), 70 deletions(-) 10195274261Sdelphij 10196207753Smmcommit e6eb0a26757e851cef62b9440319a8e73b015cb9 10197207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10198274261SdelphijDate: 2008-03-14 23:16:11 +0200 10199207753Smm 10200207753Smm Fix data corruption in LZMA encoder. Note that this bug was 10201207753Smm specific to liblzma and was *not* present in LZMA SDK. 10202207753Smm 10203274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 4 ++++ 10204274261Sdelphij 1 file changed, 4 insertions(+) 10205274261Sdelphij 10206207753Smmcommit 7d516f5129e4373a6d57249d7f608c634c66bf12 10207207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10208274261SdelphijDate: 2008-03-14 21:32:37 +0200 10209207753Smm 10210207753Smm Fix a comment API header. 10211207753Smm 10212274261Sdelphij src/liblzma/api/lzma/lzma.h | 2 +- 10213274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 10214274261Sdelphij 10215207753Smmcommit 748d6e4274921a350bd0a317380309717441ef9c 10216207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10217274261SdelphijDate: 2008-03-12 23:14:50 +0200 10218207753Smm 10219207753Smm Make lzma_stream.next_in const. Let's see if anyone complains. 10220207753Smm 10221274261Sdelphij src/liblzma/api/lzma/base.h | 2 +- 10222274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 10223274261Sdelphij 10224207753Smmcommit bfde3b24a5ae25ce53c854762b6148952386b025 10225207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10226274261SdelphijDate: 2008-03-11 15:35:34 +0200 10227207753Smm 10228207753Smm Apply a minor speed optimization to LZMA decoder. 10229207753Smm 10230274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 85 +++++++++++++++++++++-------------------- 10231274261Sdelphij 1 file changed, 43 insertions(+), 42 deletions(-) 10232274261Sdelphij 10233207753Smmcommit f310c50286d9e4e9c6170bb65348c9bb430a65b4 10234207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10235274261SdelphijDate: 2008-03-11 15:17:16 +0200 10236207753Smm 10237207753Smm Initialize the last byte of the dictionary to zero so that 10238207753Smm lz_get_byte(lz, 0) returns zero. This was broken by 10239207753Smm 1a3b21859818e4d8e89a1da99699233c1bfd197d. 10240207753Smm 10241274261Sdelphij src/liblzma/lz/lz_decoder.c | 1 + 10242274261Sdelphij 1 file changed, 1 insertion(+) 10243274261Sdelphij 10244207753Smmcommit 5ead36cf7f823093672a4e43c3180b38c9abbaff 10245207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10246274261SdelphijDate: 2008-03-10 15:57:55 +0200 10247207753Smm 10248207753Smm Really fix the price count initialization. 10249207753Smm 10250274261Sdelphij src/liblzma/lzma/lzma_encoder_init.c | 4 ++-- 10251274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 10252274261Sdelphij 10253207753Smmcommit d4d7feb83d1a1ded8f662a82e21e053841ca726c 10254207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10255274261SdelphijDate: 2008-03-10 13:47:17 +0200 10256207753Smm 10257207753Smm Updated THANKS. 10258207753Smm 10259274261Sdelphij THANKS | 1 + 10260274261Sdelphij 1 file changed, 1 insertion(+) 10261274261Sdelphij 10262207753Smmcommit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258 10263207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10264274261SdelphijDate: 2008-03-10 13:46:48 +0200 10265207753Smm 10266207753Smm Initialize align_price_count and match_price_count in 10267207753Smm lzma_encoder_init.c. While we don't call 10268207753Smm fill_distances_prices() and fill_align_prices() in 10269207753Smm lzma_lzma_encoder_init(), we still need to initialize 10270207753Smm these two variables so that the fill functions get 10271207753Smm called in lzma_encoder_getoptimum.c in the beginning 10272207753Smm of a stream. 10273207753Smm 10274274261Sdelphij src/liblzma/lzma/lzma_encoder_init.c | 2 ++ 10275274261Sdelphij 1 file changed, 2 insertions(+) 10276274261Sdelphij 10277207753Smmcommit 596fa1fac72823e4ef5bc26bb53f9090445bf748 10278207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10279274261SdelphijDate: 2008-03-10 13:44:29 +0200 10280207753Smm 10281207753Smm Always initialize lz->temp_size in lz_decoder.c. temp_size did 10282207753Smm get initialized as a side-effect after allocating a new decoder, 10283207753Smm but not when the decoder was reused. 10284207753Smm 10285274261Sdelphij src/liblzma/lz/lz_decoder.c | 11 ++++++----- 10286274261Sdelphij 1 file changed, 6 insertions(+), 5 deletions(-) 10287274261Sdelphij 10288207753Smmcommit 45e43e169527e7a98a8c8a821d37bf25822b764d 10289207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10290274261SdelphijDate: 2008-03-10 13:41:25 +0200 10291207753Smm 10292207753Smm Don't fill allocated memory with 0xFD when debugging is 10293207753Smm enabled. It hides errors from Valgrind. 10294207753Smm 10295274261Sdelphij src/liblzma/common/allocator.c | 7 ++++--- 10296274261Sdelphij 1 file changed, 4 insertions(+), 3 deletions(-) 10297274261Sdelphij 10298207753Smmcommit c0e19e0662205f81a86da8903cdc325d50635870 10299207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10300274261SdelphijDate: 2008-02-28 10:24:31 +0200 10301207753Smm 10302207753Smm Remove two redundant validity checks from the LZMA decoder. 10303207753Smm These are already checked elsewhere, so omitting these 10304207753Smm gives (very) tiny speed up. 10305207753Smm 10306274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 23 ++++------------------- 10307274261Sdelphij 1 file changed, 4 insertions(+), 19 deletions(-) 10308274261Sdelphij 10309207753Smmcommit de7485806284d1614095ae8cb2ebbb5d74c9ac45 10310207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10311274261SdelphijDate: 2008-02-06 13:25:32 +0200 10312207753Smm 10313207753Smm Tiny clean up to file-format.txt. 10314207753Smm 10315274261Sdelphij doc/file-format.txt | 6 +++--- 10316274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 10317274261Sdelphij 10318207753Smmcommit 1a3b21859818e4d8e89a1da99699233c1bfd197d 10319207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10320274261SdelphijDate: 2008-02-02 14:51:06 +0200 10321207753Smm 10322207753Smm Don't memzero() the history buffer when initializing LZ 10323207753Smm decoder. There's no danger of information leak here, so 10324207753Smm it isn't required. Doing memzero() takes a lot of time 10325207753Smm with large dictionaries, which could make it easier to 10326207753Smm construct DoS attack to consume too much CPU time. 10327207753Smm 10328274261Sdelphij src/liblzma/lz/lz_decoder.c | 7 +++---- 10329274261Sdelphij 1 file changed, 3 insertions(+), 4 deletions(-) 10330274261Sdelphij 10331207753Smmcommit 7e796e312bf644ea95aea0ff85480f47cfa30fc0 10332207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10333274261SdelphijDate: 2008-02-01 08:39:26 +0200 10334207753Smm 10335207753Smm Do uncompressed size validation in raw encoder. This way 10336207753Smm it gets done for not only raw encoder, but also Block 10337207753Smm and LZMA_Alone encoders. 10338207753Smm 10339274261Sdelphij src/liblzma/common/raw_encoder.c | 90 ++++++++++++++++++++++++++++++++-------- 10340274261Sdelphij 1 file changed, 73 insertions(+), 17 deletions(-) 10341274261Sdelphij 10342207753Smmcommit 7dd48578a3853e0cfab9f1830bc30927173ec4bc 10343207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10344274261SdelphijDate: 2008-02-01 08:32:05 +0200 10345207753Smm 10346207753Smm Avoid unneeded function call in raw_common.c. 10347207753Smm 10348274261Sdelphij src/liblzma/common/raw_common.c | 20 +++++++++++--------- 10349274261Sdelphij 1 file changed, 11 insertions(+), 9 deletions(-) 10350274261Sdelphij 10351207753Smmcommit b596fac963c3ff96f615d4d9b427a213ec341211 10352207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10353274261SdelphijDate: 2008-01-26 21:42:38 +0200 10354207753Smm 10355207753Smm Updated THANKS. 10356207753Smm 10357274261Sdelphij THANKS | 1 + 10358274261Sdelphij 1 file changed, 1 insertion(+) 10359274261Sdelphij 10360207753Smmcommit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2 10361207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10362274261SdelphijDate: 2008-01-26 21:40:23 +0200 10363207753Smm 10364207753Smm Added note.GNU-stack to x86 assembler files. It is needed 10365207753Smm when using non-executable stack. 10366207753Smm 10367274261Sdelphij src/liblzma/check/crc32_x86.S | 9 +++++++++ 10368274261Sdelphij src/liblzma/check/crc64_x86.S | 9 +++++++++ 10369274261Sdelphij 2 files changed, 18 insertions(+) 10370274261Sdelphij 10371207753Smmcommit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae 10372207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10373274261SdelphijDate: 2008-01-26 19:12:50 +0200 10374207753Smm 10375207753Smm Added api/lzma/easy.h. I had forgot to add this to the 10376207753Smm git repo. Thanks to Stephan Kulow. 10377207753Smm 10378274261Sdelphij src/liblzma/api/lzma/easy.h | 174 ++++++++++++++++++++++++++++++++++++++++++++ 10379274261Sdelphij 1 file changed, 174 insertions(+) 10380274261Sdelphij 10381207753Smmcommit 288b232f54c3692cd36f471d4042f51daf3ea79f 10382207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10383274261SdelphijDate: 2008-01-26 11:09:17 +0200 10384207753Smm 10385207753Smm Added more test files. 10386207753Smm 10387274261Sdelphij tests/files/README | 11 +++++++++++ 10388274261Sdelphij tests/files/bad-multi-none-header_7.lzma | Bin 0 -> 59 bytes 10389274261Sdelphij tests/files/good-single-sparc-lzma.lzma | Bin 0 -> 2263 bytes 10390274261Sdelphij tests/files/good-single-x86-lzma.lzma | Bin 0 -> 1909 bytes 10391274261Sdelphij 4 files changed, 11 insertions(+) 10392274261Sdelphij 10393207753Smmcommit c467b0defccf233d0c79234407bc38d7d09574d3 10394207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10395274261SdelphijDate: 2008-01-26 10:47:55 +0200 10396207753Smm 10397207753Smm Added more test files. 10398207753Smm 10399274261Sdelphij tests/files/README | 6 ++++++ 10400274261Sdelphij tests/files/bad-multi-none-block_3.lzma | Bin 0 -> 58 bytes 10401274261Sdelphij tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes 10402274261Sdelphij 3 files changed, 6 insertions(+) 10403274261Sdelphij 10404207753Smmcommit f9842f712732c482f2def9f24437851e57dd83f8 10405207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10406274261SdelphijDate: 2008-01-26 00:25:34 +0200 10407207753Smm 10408207753Smm Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any 10409207753Smm of the so called simple filters. If there is demand, limited 10410207753Smm support for LZMA_SYNC_FLUSH may be added in future. 10411207753Smm 10412207753Smm After this commit, using LZMA_SYNC_FLUSH shouldn't cause 10413207753Smm undefined behavior in any situation. 10414207753Smm 10415274261Sdelphij src/liblzma/api/lzma/simple.h | 9 +++++++++ 10416274261Sdelphij src/liblzma/simple/simple_coder.c | 8 ++++++++ 10417274261Sdelphij 2 files changed, 17 insertions(+) 10418274261Sdelphij 10419207753Smmcommit e988ea1d1a286dd0f27af0657f9665d5cd8573aa 10420207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10421274261SdelphijDate: 2008-01-25 23:50:35 +0200 10422207753Smm 10423207753Smm Added more Multi-Block test files. Improved some 10424207753Smm descriptions in the test files' README. 10425207753Smm 10426274261Sdelphij tests/files/README | 34 +++++++++++++++++++++++++------ 10427274261Sdelphij tests/files/bad-multi-none-block_1.lzma | Bin 0 -> 66 bytes 10428274261Sdelphij tests/files/bad-multi-none-block_2.lzma | Bin 0 -> 66 bytes 10429274261Sdelphij tests/files/good-multi-none-block_1.lzma | Bin 0 -> 66 bytes 10430274261Sdelphij 4 files changed, 28 insertions(+), 6 deletions(-) 10431274261Sdelphij 10432207753Smmcommit 4441e004185cd4c61bda184010eca5924c9dec87 10433207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10434274261SdelphijDate: 2008-01-25 23:12:36 +0200 10435207753Smm 10436207753Smm Combine lzma_options_block validation needed by both Block 10437207753Smm encoder and decoder, and put the shared things to 10438207753Smm block_private.h. Improved the checks a little so that 10439207753Smm they may detect too big Compressed Size at initialization 10440207753Smm time if lzma_options_block.total_size or .total_limit is 10441207753Smm known. 10442207753Smm 10443207753Smm Allow encoding and decoding Blocks with combinations of 10444207753Smm fields that are not allowed by the file format specification. 10445207753Smm Doing this requires that the application passes such a 10446207753Smm combination in lzma_options_lzma; liblzma doesn't do that, 10447207753Smm but it's not impossible that someone could find them useful 10448207753Smm in some custom file format. 10449207753Smm 10450274261Sdelphij src/liblzma/common/block_decoder.c | 37 ++++++++++++---------------- 10451274261Sdelphij src/liblzma/common/block_encoder.c | 32 +++++------------------- 10452274261Sdelphij src/liblzma/common/block_private.h | 50 ++++++++++++++++++++++++++++++++++++++ 10453274261Sdelphij 3 files changed, 71 insertions(+), 48 deletions(-) 10454274261Sdelphij 10455207753Smmcommit bf4200c818fcf9102e56328d39cde91bfa13cfb6 10456207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10457274261SdelphijDate: 2008-01-25 19:21:22 +0200 10458207753Smm 10459207753Smm Added test_memlimit.c. 10460207753Smm 10461274261Sdelphij tests/Makefile.am | 2 + 10462274261Sdelphij tests/test_memlimit.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++ 10463274261Sdelphij 2 files changed, 116 insertions(+) 10464274261Sdelphij 10465207753Smmcommit 7b8fc7e6b501a32a36636dac79ecb57099269005 10466207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10467274261SdelphijDate: 2008-01-25 19:20:28 +0200 10468207753Smm 10469207753Smm Improved the memory limitter: 10470207753Smm - Added lzma_memlimit_max() and lzma_memlimit_reached() 10471207753Smm API functions. 10472207753Smm - Added simple estimation of malloc()'s memory usage 10473207753Smm overhead. 10474207753Smm - Fixed integer overflow detection in lzma_memlimit_alloc(). 10475207753Smm - Made some white space cleanups and added more comments. 10476207753Smm 10477207753Smm The description of lzma_memlimit_max() in memlimit.h is bad 10478207753Smm and should be improved. 10479207753Smm 10480274261Sdelphij src/liblzma/api/lzma/memlimit.h | 35 +++++++++++++ 10481274261Sdelphij src/liblzma/common/memory_limitter.c | 97 ++++++++++++++++++++++++++++++------ 10482274261Sdelphij 2 files changed, 118 insertions(+), 14 deletions(-) 10483274261Sdelphij 10484207753Smmcommit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db 10485207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10486274261SdelphijDate: 2008-01-25 13:55:52 +0200 10487207753Smm 10488207753Smm Use more parenthesis in succeed() macro in tests/tests.h. 10489207753Smm 10490274261Sdelphij tests/tests.h | 2 +- 10491274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 10492274261Sdelphij 10493207753Smmcommit 1fd76d488179580d37f31ee11948f4932aed31fd 10494207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10495274261SdelphijDate: 2008-01-24 14:49:34 +0200 10496207753Smm 10497207753Smm Added more Multi-Block Stream test files. 10498207753Smm 10499274261Sdelphij tests/files/README | 23 +++++++++++++++++++++++ 10500274261Sdelphij tests/files/bad-multi-none-header_2.lzma | Bin 0 -> 61 bytes 10501274261Sdelphij tests/files/bad-multi-none-header_3.lzma | Bin 0 -> 59 bytes 10502274261Sdelphij tests/files/bad-multi-none-header_4.lzma | Bin 0 -> 59 bytes 10503274261Sdelphij tests/files/bad-multi-none-header_5.lzma | Bin 0 -> 58 bytes 10504274261Sdelphij tests/files/bad-multi-none-header_6.lzma | Bin 0 -> 59 bytes 10505274261Sdelphij tests/files/good-multi-none-header_3.lzma | Bin 0 -> 59 bytes 10506274261Sdelphij 7 files changed, 23 insertions(+) 10507274261Sdelphij 10508207753Smmcommit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936 10509207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10510274261SdelphijDate: 2008-01-24 00:46:05 +0200 10511207753Smm 10512207753Smm Added bunch of test files containing Multi-Block Streams. 10513207753Smm 10514274261Sdelphij tests/files/README | 53 ++++++++++++++++++++++++++++++ 10515274261Sdelphij tests/files/bad-multi-none-1.lzma | Bin 0 -> 54 bytes 10516274261Sdelphij tests/files/bad-multi-none-2.lzma | Bin 0 -> 53 bytes 10517274261Sdelphij tests/files/bad-multi-none-3.lzma | Bin 0 -> 53 bytes 10518274261Sdelphij tests/files/bad-multi-none-extra_1.lzma | Bin 0 -> 54 bytes 10519274261Sdelphij tests/files/bad-multi-none-extra_2.lzma | Bin 0 -> 54 bytes 10520274261Sdelphij tests/files/bad-multi-none-extra_3.lzma | Bin 0 -> 55 bytes 10521274261Sdelphij tests/files/bad-multi-none-header_1.lzma | Bin 0 -> 57 bytes 10522274261Sdelphij tests/files/bad-multi-none-index_1.lzma | Bin 0 -> 51 bytes 10523274261Sdelphij tests/files/bad-multi-none-index_2.lzma | Bin 0 -> 49 bytes 10524274261Sdelphij tests/files/bad-multi-none-index_3.lzma | Bin 0 -> 51 bytes 10525274261Sdelphij tests/files/bad-multi-none-index_4.lzma | Bin 0 -> 51 bytes 10526274261Sdelphij tests/files/good-multi-none-1.lzma | Bin 0 -> 75 bytes 10527274261Sdelphij tests/files/good-multi-none-2.lzma | Bin 0 -> 53 bytes 10528274261Sdelphij tests/files/good-multi-none-extra_1.lzma | Bin 0 -> 51 bytes 10529274261Sdelphij tests/files/good-multi-none-extra_2.lzma | Bin 0 -> 79 bytes 10530274261Sdelphij tests/files/good-multi-none-extra_3.lzma | Bin 0 -> 55 bytes 10531274261Sdelphij tests/files/good-multi-none-header_1.lzma | Bin 0 -> 58 bytes 10532274261Sdelphij tests/files/good-multi-none-header_2.lzma | Bin 0 -> 66 bytes 10533274261Sdelphij 19 files changed, 53 insertions(+) 10534274261Sdelphij 10535207753Smmcommit db9df0a9609c01a00a227329fb96e983971040f5 10536207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10537274261SdelphijDate: 2008-01-23 23:43:00 +0200 10538207753Smm 10539207753Smm Fix decoding of empty Metadata Blocks, that don't have 10540207753Smm even the Metadata Flags field. Earlier the code allowed 10541207753Smm such files; now they are prohibited as the file format 10542207753Smm specification requires. 10543207753Smm 10544274261Sdelphij src/liblzma/common/metadata_decoder.c | 4 +++- 10545274261Sdelphij 1 file changed, 3 insertions(+), 1 deletion(-) 10546274261Sdelphij 10547207753Smmcommit 765f0b05f6e95ed9194fb90819cee189ebbac36b 10548207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10549274261SdelphijDate: 2008-01-23 23:38:18 +0200 10550207753Smm 10551207753Smm Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6. 10552207753Smm lzma_metadata.header_metadata_size was not properly set to 10553207753Smm zero if the Metadata had only the Metadata Flags field. 10554207753Smm 10555274261Sdelphij src/liblzma/common/metadata_decoder.c | 13 +++++++------ 10556274261Sdelphij 1 file changed, 7 insertions(+), 6 deletions(-) 10557274261Sdelphij 10558207753Smmcommit 3a7cc5c3dec7b078941f961b0393b86c418883b6 10559207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10560274261SdelphijDate: 2008-01-23 23:35:49 +0200 10561207753Smm 10562207753Smm Fix decoding of Extra Records that have empty Data. 10563207753Smm 10564274261Sdelphij src/liblzma/common/metadata_decoder.c | 13 ++++++++++++- 10565274261Sdelphij 1 file changed, 12 insertions(+), 1 deletion(-) 10566274261Sdelphij 10567207753Smmcommit e5fdec93e273855c1bcc2579b83cfb481a9a1492 10568207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10569274261SdelphijDate: 2008-01-23 22:02:38 +0200 10570207753Smm 10571207753Smm Add the trailing '\0' to lzma_extra.data as the API header 10572207753Smm already documents. 10573207753Smm 10574274261Sdelphij src/liblzma/common/metadata_decoder.c | 4 +++- 10575274261Sdelphij 1 file changed, 3 insertions(+), 1 deletion(-) 10576274261Sdelphij 10577207753Smmcommit ed40dc5a2c28a8dfccab8c165b3780738eeef93e 10578207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10579274261SdelphijDate: 2008-01-23 21:21:21 +0200 10580207753Smm 10581207753Smm Added debug/full_flush.c. 10582207753Smm 10583274261Sdelphij debug/Makefile.am | 3 +- 10584274261Sdelphij debug/full_flush.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 10585274261Sdelphij 2 files changed, 107 insertions(+), 1 deletion(-) 10586274261Sdelphij 10587207753Smmcommit ae0cd09a666a1682da8fc09487322227679e218d 10588207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10589274261SdelphijDate: 2008-01-23 21:05:33 +0200 10590207753Smm 10591207753Smm Return LZMA_STREAM_END instead of LZMA_OK if 10592207753Smm LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when 10593207753Smm there's no unfinished Block open. 10594207753Smm 10595274261Sdelphij src/liblzma/common/stream_encoder_multi.c | 6 +++++- 10596274261Sdelphij 1 file changed, 5 insertions(+), 1 deletion(-) 10597274261Sdelphij 10598207753Smmcommit 0e80ded13dfceb98f9494cbb5381a95eb44d03db 10599207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10600274261SdelphijDate: 2008-01-23 20:05:01 +0200 10601207753Smm 10602207753Smm Added bad-single-none-footer_filter_flags.lzma and 10603207753Smm bad-single-none-too_long_vli.lzma. 10604207753Smm 10605274261Sdelphij tests/files/README | 5 +++++ 10606274261Sdelphij tests/files/bad-single-none-footer_filter_flags.lzma | Bin 0 -> 30 bytes 10607274261Sdelphij tests/files/bad-single-none-too_long_vli.lzma | Bin 0 -> 39 bytes 10608274261Sdelphij 3 files changed, 5 insertions(+) 10609274261Sdelphij 10610207753Smmcommit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd 10611207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10612274261SdelphijDate: 2008-01-23 13:42:35 +0200 10613207753Smm 10614207753Smm Fixed a typo. 10615207753Smm 10616274261Sdelphij src/liblzma/subblock/subblock_decoder_helper.c | 2 +- 10617274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 10618274261Sdelphij 10619207753Smmcommit 980f65a9a10160c4d105767871e3002b9aaba3e0 10620207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10621274261SdelphijDate: 2008-01-23 13:40:45 +0200 10622207753Smm 10623207753Smm Fix a memory leak in the Subblock encoder. 10624207753Smm 10625274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 1 + 10626274261Sdelphij 1 file changed, 1 insertion(+) 10627274261Sdelphij 10628207753Smmcommit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6 10629207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10630274261SdelphijDate: 2008-01-23 13:36:07 +0200 10631207753Smm 10632207753Smm Fix Size of Header Metadata Block handling. Now 10633207753Smm lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN 10634207753Smm is not allowed at all. To indicate missing Header Metadata 10635207753Smm Block, header_metadata_size must be set to zero. This is 10636207753Smm what Metadata decoder does after this patch too. 10637207753Smm 10638207753Smm Note that other missing fields in lzma_metadata are still 10639207753Smm indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as 10640207753Smm illogical as it sounds at first, because missing Size of 10641207753Smm Header Metadata Block means that Header Metadata Block is 10642207753Smm not present in the Stream. With other Metadata fields, 10643207753Smm a missing field means only that the value is unknown. 10644207753Smm 10645274261Sdelphij src/liblzma/common/info.c | 13 ++++--------- 10646274261Sdelphij src/liblzma/common/metadata_decoder.c | 6 ++++++ 10647274261Sdelphij src/liblzma/common/metadata_encoder.c | 11 +++++------ 10648274261Sdelphij tests/test_info.c | 4 ++-- 10649274261Sdelphij 4 files changed, 17 insertions(+), 17 deletions(-) 10650274261Sdelphij 10651207753Smmcommit 58b78ab20c1bcced45cf71ae6684868fc90b4b81 10652207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10653274261SdelphijDate: 2008-01-23 13:15:55 +0200 10654207753Smm 10655207753Smm Fix a memory leak in metadata_decoder.c. 10656207753Smm 10657274261Sdelphij src/liblzma/common/metadata_decoder.c | 1 + 10658274261Sdelphij 1 file changed, 1 insertion(+) 10659274261Sdelphij 10660207753Smmcommit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae 10661207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10662274261SdelphijDate: 2008-01-23 13:13:58 +0200 10663207753Smm 10664207753Smm Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which 10665207753Smm just moved to problem. Now it's really fixed. 10666207753Smm 10667274261Sdelphij src/liblzma/common/info.c | 5 ++++- 10668274261Sdelphij 1 file changed, 4 insertions(+), 1 deletion(-) 10669274261Sdelphij 10670207753Smmcommit 67321de963ccf69410b3868b8e31534fe18a90de 10671207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10672274261SdelphijDate: 2008-01-23 00:21:04 +0200 10673207753Smm 10674207753Smm Take advantage of return_if_error() macro in 10675207753Smm lzma_info_metadata_set() in info.c. 10676207753Smm 10677274261Sdelphij src/liblzma/common/info.c | 24 ++++++++---------------- 10678274261Sdelphij 1 file changed, 8 insertions(+), 16 deletions(-) 10679274261Sdelphij 10680207753Smmcommit 863028cb7ad6d8d0455fa69348f56b376d7b908f 10681207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10682274261SdelphijDate: 2008-01-23 00:18:32 +0200 10683207753Smm 10684207753Smm Fixed a dangling pointer that caused invalid free(). 10685207753Smm 10686274261Sdelphij src/liblzma/common/info.c | 1 + 10687274261Sdelphij 1 file changed, 1 insertion(+) 10688274261Sdelphij 10689207753Smmcommit cf49f42a6bd40143f54a6b10d6e605599e958c0b 10690207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10691274261SdelphijDate: 2008-01-22 22:49:24 +0200 10692207753Smm 10693207753Smm Added lzma_easy_* functions. These should make using 10694207753Smm liblzma as easy as using zlib, because the easy API 10695207753Smm don't require developers to know any fancy LZMA options. 10696207753Smm 10697207753Smm Note that Multi-Block Stream encoding is currently broken. 10698207753Smm The easy API should be OK, the bug(s) are elsewhere. 10699207753Smm 10700274261Sdelphij src/liblzma/api/Makefile.am | 1 + 10701274261Sdelphij src/liblzma/api/lzma.h | 1 + 10702274261Sdelphij src/liblzma/common/Makefile.am | 5 ++ 10703274261Sdelphij src/liblzma/common/easy_common.c | 54 ++++++++++++++++ 10704274261Sdelphij src/liblzma/common/easy_common.h | 28 ++++++++ 10705274261Sdelphij src/liblzma/common/easy_multi.c | 103 ++++++++++++++++++++++++++++++ 10706274261Sdelphij src/liblzma/common/easy_single.c | 37 +++++++++++ 10707274261Sdelphij src/liblzma/common/stream_encoder_multi.c | 3 +- 10708274261Sdelphij src/liblzma/common/stream_encoder_multi.h | 26 ++++++++ 10709274261Sdelphij 9 files changed, 256 insertions(+), 2 deletions(-) 10710274261Sdelphij 10711207753Smmcommit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a 10712207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10713274261SdelphijDate: 2008-01-22 21:16:22 +0200 10714207753Smm 10715207753Smm Fix Multi-Block Stream encoder's EOPM usage. 10716207753Smm 10717274261Sdelphij src/liblzma/common/stream_encoder_multi.c | 2 +- 10718274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 10719274261Sdelphij 10720207753Smmcommit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6 10721207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10722274261SdelphijDate: 2008-01-22 00:15:11 +0200 10723207753Smm 10724207753Smm Made lzma_extra pointers const in lzma_options_stream. 10725207753Smm 10726274261Sdelphij src/liblzma/api/lzma/stream.h | 4 ++-- 10727274261Sdelphij src/liblzma/common/stream_encoder_multi.c | 8 ++++++-- 10728274261Sdelphij 2 files changed, 8 insertions(+), 4 deletions(-) 10729274261Sdelphij 10730207753Smmcommit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4 10731207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10732274261SdelphijDate: 2008-01-20 20:15:21 +0200 10733207753Smm 10734207753Smm Updated debug/sync_flush.c. 10735207753Smm 10736274261Sdelphij debug/sync_flush.c | 26 ++++++++++++++++++++++++-- 10737274261Sdelphij 1 file changed, 24 insertions(+), 2 deletions(-) 10738274261Sdelphij 10739207753Smmcommit d53e9b77054cfade6a643e77d085273a348b189c 10740207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10741274261SdelphijDate: 2008-01-20 20:14:26 +0200 10742207753Smm 10743207753Smm Added debug/repeat.c. 10744207753Smm 10745274261Sdelphij debug/Makefile.am | 1 + 10746274261Sdelphij debug/repeat.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 10747274261Sdelphij 2 files changed, 44 insertions(+) 10748274261Sdelphij 10749207753Smmcommit 107259e306bcfc2336a0fb870fb58034c28faa52 10750207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10751274261SdelphijDate: 2008-01-20 20:12:58 +0200 10752207753Smm 10753207753Smm Fix alignment handling bugs in Subblock encoder. 10754207753Smm 10755207753Smm This leaves one known alignment bug unfixed: If repeat count 10756207753Smm doesn't fit into 28-bit integer, the encoder has to split 10757207753Smm this to multiple Subblocks with Subblock Type `Repeating Data'. 10758207753Smm The extra Subblocks may have wrong alignment. Correct alignment 10759207753Smm is restored after the split Repeating Data has been completely 10760207753Smm written out. 10761207753Smm 10762207753Smm Since the encoder doesn't even try to fix the alignment unless 10763207753Smm the size of Data is at least 4 bytes, to trigger this bug you 10764207753Smm need at least 4 GiB of repeating data with sequence length of 10765207753Smm 4 or more bytes. Since the worst thing done by this bug is 10766207753Smm misaligned data (no data corruption), this bug simply isn't 10767207753Smm worth fixing, because a proper fix isn't simple. 10768207753Smm 10769274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 170 ++++++++++++++++++++++---------- 10770274261Sdelphij 1 file changed, 119 insertions(+), 51 deletions(-) 10771274261Sdelphij 10772207753Smmcommit e141fe18950400faaa3503ff88ac20eacd73e88c 10773207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10774274261SdelphijDate: 2008-01-19 21:16:33 +0200 10775207753Smm 10776207753Smm Implemented LZMA_SYNC_FLUSH support to the Subblock encoder. 10777207753Smm The API for handing Subfilters was changed to make it 10778207753Smm consistent with LZMA_SYNC_FLUSH. 10779207753Smm 10780207753Smm A few sanity checks were added for Subfilter handling. Some 10781207753Smm small bugs were fixed. More comments were added. 10782207753Smm 10783274261Sdelphij src/liblzma/api/lzma/subblock.h | 29 ++-- 10784274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 263 ++++++++++++++++++++++++-------- 10785274261Sdelphij 2 files changed, 214 insertions(+), 78 deletions(-) 10786274261Sdelphij 10787207753Smmcommit 23c227a864a3b69f38c6a74306161d4e6918d1cc 10788207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10789274261SdelphijDate: 2008-01-19 15:19:21 +0200 10790207753Smm 10791207753Smm Revised the Delta filter implementation. The initialization 10792207753Smm function is still shared between encoder and decoder, but the 10793207753Smm actual coding is in separate files for encoder and decoder. 10794207753Smm 10795207753Smm There are now separate functions for the actual delta 10796207753Smm calculation depending on if Delta is the last filter in the 10797207753Smm chain or not. If it is the last, the new code copies the 10798207753Smm data from input to output buffer and does the delta 10799207753Smm calculation at the same time. The old code first copied the 10800207753Smm data, then did the delta in the target buffer, which required 10801207753Smm reading through the data twice. 10802207753Smm 10803207753Smm Support for LZMA_SYNC_FLUSH was added to the Delta encoder. 10804207753Smm This doesn't change anything in the file format. 10805207753Smm 10806274261Sdelphij src/liblzma/common/Makefile.am | 14 ++- 10807274261Sdelphij src/liblzma/common/delta_coder.c | 189 ------------------------------------- 10808274261Sdelphij src/liblzma/common/delta_coder.h | 31 ------ 10809274261Sdelphij src/liblzma/common/delta_common.c | 70 ++++++++++++++ 10810274261Sdelphij src/liblzma/common/delta_common.h | 48 ++++++++++ 10811274261Sdelphij src/liblzma/common/delta_decoder.c | 102 ++++++++++++++++++++ 10812274261Sdelphij src/liblzma/common/delta_decoder.h | 28 ++++++ 10813274261Sdelphij src/liblzma/common/delta_encoder.c | 97 +++++++++++++++++++ 10814274261Sdelphij src/liblzma/common/delta_encoder.h | 28 ++++++ 10815274261Sdelphij src/liblzma/common/raw_decoder.c | 2 +- 10816274261Sdelphij src/liblzma/common/raw_encoder.c | 2 +- 10817274261Sdelphij 11 files changed, 387 insertions(+), 224 deletions(-) 10818274261Sdelphij 10819207753Smmcommit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73 10820207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10821274261SdelphijDate: 2008-01-18 20:18:08 +0200 10822207753Smm 10823207753Smm Added the debug directory and the first debug tool 10824207753Smm (sync_flush). These tools are not built unless the 10825207753Smm user runs "make" in the debug directory. 10826207753Smm 10827274261Sdelphij Makefile.am | 1 + 10828274261Sdelphij configure.ac | 1 + 10829274261Sdelphij debug/Makefile.am | 30 ++++++++++++++ 10830274261Sdelphij debug/README | 17 ++++++++ 10831274261Sdelphij debug/sync_flush.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 10832274261Sdelphij 5 files changed, 165 insertions(+) 10833274261Sdelphij 10834207753Smmcommit 0ae3208db94585eb8294b97ded387de0a3a07646 10835207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10836274261SdelphijDate: 2008-01-18 20:13:00 +0200 10837207753Smm 10838207753Smm Added test files to test usage of flush marker in LZMA. 10839207753Smm 10840274261Sdelphij tests/files/README | 12 ++++++++++++ 10841274261Sdelphij tests/files/bad-single-lzma-flush_beginning.lzma | Bin 0 -> 53 bytes 10842274261Sdelphij tests/files/bad-single-lzma-flush_twice.lzma | Bin 0 -> 63 bytes 10843274261Sdelphij tests/files/good-single-lzma-flush_1.lzma | Bin 0 -> 48 bytes 10844274261Sdelphij tests/files/good-single-lzma-flush_2.lzma | Bin 0 -> 63 bytes 10845274261Sdelphij 5 files changed, 12 insertions(+) 10846274261Sdelphij 10847207753Smmcommit ab5feaf1fcc146ef9fd39360c53c290bec39524e 10848207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10849274261SdelphijDate: 2008-01-18 20:02:52 +0200 10850207753Smm 10851207753Smm Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders. 10852207753Smm That code is now almost completely in LZ coder, where 10853207753Smm it can be shared with other LZ77-based algorithms in 10854207753Smm future. 10855207753Smm 10856274261Sdelphij src/liblzma/lz/lz_encoder.c | 34 ++++++++++++++++++++++++++-------- 10857274261Sdelphij src/liblzma/lz/lz_encoder.h | 1 + 10858274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 27 ++------------------------- 10859274261Sdelphij 3 files changed, 29 insertions(+), 33 deletions(-) 10860274261Sdelphij 10861207753Smmcommit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585 10862207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10863274261SdelphijDate: 2008-01-18 17:21:24 +0200 10864207753Smm 10865207753Smm Don't add -g to CFLAGS when --enable-debug is specified. 10866207753Smm It's the job of the user to put that in CFLAGS. 10867207753Smm 10868274261Sdelphij configure.ac | 1 - 10869274261Sdelphij 1 file changed, 1 deletion(-) 10870274261Sdelphij 10871207753Smmcommit 61d1784d8f1761d979a6da6e223e279ca33815e6 10872207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10873274261SdelphijDate: 2008-01-18 14:17:37 +0200 10874207753Smm 10875207753Smm Set stdin and stdout to binary mode on Windows. This patch is 10876207753Smm a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068 10877207753Smm from lzma-utils-legacy.git. I don't know if the new code base 10878207753Smm builds on Windows, but this is a start. 10879207753Smm 10880274261Sdelphij src/lzmadec/lzmadec.c | 9 +++++++++ 10881274261Sdelphij 1 file changed, 9 insertions(+) 10882274261Sdelphij 10883207753Smmcommit c9cba976913e55ff9aac8a8133cc94416c7c1c9c 10884207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10885274261SdelphijDate: 2008-01-18 00:50:29 +0200 10886207753Smm 10887207753Smm Added test_compress.sh and bunch of files needed by it. 10888207753Smm This new set of tests compress and decompress several 10889207753Smm test files with many different compression options. 10890207753Smm This set of tests will be extended later. 10891207753Smm 10892274261Sdelphij tests/Makefile.am | 30 ++++--- 10893274261Sdelphij tests/bcj_test.c | 66 ++++++++++++++ 10894274261Sdelphij tests/compress_prepared_bcj_sparc | Bin 0 -> 6804 bytes 10895274261Sdelphij tests/compress_prepared_bcj_x86 | Bin 0 -> 4649 bytes 10896274261Sdelphij tests/create_compress_files.c | 164 ++++++++++++++++++++++++++++++++++ 10897274261Sdelphij tests/test_compress.sh | 183 ++++++++++++++++++++++++++++++++++++++ 10898274261Sdelphij 6 files changed, 433 insertions(+), 10 deletions(-) 10899274261Sdelphij 10900207753Smmcommit 33be3c0e24d8f43376ccf71cc77d53671e792f07 10901207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10902274261SdelphijDate: 2008-01-17 18:56:53 +0200 10903207753Smm 10904207753Smm Subblock decoder: Don't exit the main loop in decode_buffer() 10905207753Smm too early if we hit End of Input while decoding a Subblock of 10906207753Smm type Repeating Data. To keep the loop termination condition 10907207753Smm elegant, the order of enumerations in coder->sequence were 10908207753Smm changed. 10909207753Smm 10910207753Smm To keep the case-labels in roughly the same order as the 10911207753Smm enumerations in coder->sequence, large chunks of code was 10912207753Smm moved around. This made the diff big and ugly compared to 10913207753Smm the amount of the actual changes made. 10914207753Smm 10915274261Sdelphij src/liblzma/subblock/subblock_decoder.c | 272 ++++++++++++++++---------------- 10916274261Sdelphij 1 file changed, 139 insertions(+), 133 deletions(-) 10917274261Sdelphij 10918207753Smmcommit b254bd97b1cdb68d127523d91ca9e054ed89c4fd 10919207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10920274261SdelphijDate: 2008-01-17 17:39:42 +0200 10921207753Smm 10922207753Smm Fix wrong too small size of argument unfiltered_max 10923207753Smm in ia64_coder_init(). It triggered assert() in 10924207753Smm simple_coder.c, and could have caused a buffer overflow. 10925207753Smm 10926207753Smm This error was probably a copypaste mistake, since most 10927207753Smm of the simple filters use unfiltered_max = 4. 10928207753Smm 10929274261Sdelphij src/liblzma/simple/ia64.c | 2 +- 10930274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 10931274261Sdelphij 10932207753Smmcommit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a 10933207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10934274261SdelphijDate: 2008-01-17 17:27:45 +0200 10935207753Smm 10936207753Smm Added --delta to the output of "lzma --help". 10937207753Smm 10938274261Sdelphij src/lzma/help.c | 4 ++++ 10939274261Sdelphij 1 file changed, 4 insertions(+) 10940274261Sdelphij 10941207753Smmcommit f88590e0014b38d40465937c19f25f05f16c79ae 10942207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10943274261SdelphijDate: 2008-01-17 13:14:20 +0200 10944207753Smm 10945207753Smm Fix Subblock docoder: If Subblock filter was used with known 10946207753Smm Uncompressed Size, and the last output byte was from RLE, 10947207753Smm the code didn't stop decoding as it should have done. 10948207753Smm 10949274261Sdelphij src/liblzma/subblock/subblock_decoder.c | 6 ++++++ 10950274261Sdelphij 1 file changed, 6 insertions(+) 10951274261Sdelphij 10952207753Smmcommit bc0b945ca376e333077644d2f7fd54c2848aab8a 10953207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10954274261SdelphijDate: 2008-01-16 16:33:37 +0200 10955207753Smm 10956207753Smm Tiny non-technical edits to file-format.txt. 10957207753Smm 10958274261Sdelphij doc/file-format.txt | 6 +++--- 10959274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 10960274261Sdelphij 10961207753Smmcommit 7599bb7064ccf007f054595dedda7927af868252 10962207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10963274261SdelphijDate: 2008-01-16 14:48:04 +0200 10964207753Smm 10965207753Smm Plugged a memory leak in stream_decoder.c. 10966207753Smm 10967274261Sdelphij src/liblzma/common/stream_decoder.c | 20 ++++++++++++++++++++ 10968274261Sdelphij 1 file changed, 20 insertions(+) 10969274261Sdelphij 10970207753Smmcommit 0b581539311f3712946e81e747839f8fb5f441a7 10971207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10972274261SdelphijDate: 2008-01-16 14:47:27 +0200 10973207753Smm 10974207753Smm Added memory leak detection to lzmadec.c. 10975207753Smm 10976274261Sdelphij src/lzmadec/lzmadec.c | 3 +++ 10977274261Sdelphij 1 file changed, 3 insertions(+) 10978274261Sdelphij 10979207753Smmcommit 5b5b13c7bb8fde6331064d21f3ebde41072480c4 10980207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10981274261SdelphijDate: 2008-01-16 14:46:50 +0200 10982207753Smm 10983207753Smm Added lzma_memlimit_count(). 10984207753Smm 10985274261Sdelphij src/liblzma/api/lzma/memlimit.h | 10 ++++++++++ 10986274261Sdelphij src/liblzma/common/memory_limitter.c | 19 +++++++++++++++++++ 10987274261Sdelphij 2 files changed, 29 insertions(+) 10988274261Sdelphij 10989207753Smmcommit 19389f2b82ec54fd4c847a18f16482e7be4c9887 10990207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 10991274261SdelphijDate: 2008-01-16 14:31:44 +0200 10992207753Smm 10993207753Smm Added ARRAY_SIZE(array) macro. 10994207753Smm 10995274261Sdelphij src/common/sysdefs.h | 4 ++++ 10996274261Sdelphij 1 file changed, 4 insertions(+) 10997274261Sdelphij 10998207753Smmcommit 9bc33a54cbf83952130adbcb1be32c6882485416 10999207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11000274261SdelphijDate: 2008-01-16 13:27:03 +0200 11001207753Smm 11002207753Smm Make Uncompresed Size validation more strict 11003207753Smm in alone_decoder.c. 11004207753Smm 11005274261Sdelphij src/liblzma/common/alone_decoder.c | 3 ++- 11006274261Sdelphij 1 file changed, 2 insertions(+), 1 deletion(-) 11007274261Sdelphij 11008207753Smmcommit 01d71d60b79027e1ce3eb9c79ae5191e1407c883 11009207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11010274261SdelphijDate: 2008-01-15 17:46:59 +0200 11011207753Smm 11012207753Smm Free the allocated memory in lzmadec if debugging is 11013207753Smm enabled. This should make it possible to detect possible 11014207753Smm memory leaks with Valgrind. 11015207753Smm 11016274261Sdelphij src/lzmadec/lzmadec.c | 7 +++++++ 11017274261Sdelphij 1 file changed, 7 insertions(+) 11018274261Sdelphij 11019207753Smmcommit 8235e6e5b2878f76633afcda9a334640db503ef5 11020207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11021274261SdelphijDate: 2008-01-15 16:25:38 +0200 11022207753Smm 11023207753Smm Fix memory leaks from test_block_header.c. 11024207753Smm 11025274261Sdelphij tests/test_block_header.c | 19 +++++++++++++++++-- 11026274261Sdelphij 1 file changed, 17 insertions(+), 2 deletions(-) 11027274261Sdelphij 11028207753Smmcommit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6 11029207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11030274261SdelphijDate: 2008-01-15 14:23:35 +0200 11031207753Smm 11032207753Smm Use fastpos.h when encoding LZMA dictionary size in 11033207753Smm Filter Flags encoder. 11034207753Smm 11035274261Sdelphij src/liblzma/common/filter_flags_encoder.c | 40 +++++++++++++++---------------- 11036274261Sdelphij 1 file changed, 19 insertions(+), 21 deletions(-) 11037274261Sdelphij 11038207753Smmcommit e5728142a2048979f5c0c2149ce71ae952a092e1 11039207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11040274261SdelphijDate: 2008-01-15 14:02:22 +0200 11041207753Smm 11042207753Smm Revised the fastpos code. It now uses the slightly faster 11043207753Smm table-based version from LZMA SDK 4.57. This should be 11044207753Smm fast on most systems. 11045207753Smm 11046207753Smm A simpler and smaller alternative version is also provided. 11047207753Smm On some CPUs this can be even a little faster than the 11048207753Smm default table-based version (see comments in fastpos.h), 11049207753Smm but on most systems the table-based code is faster. 11050207753Smm 11051274261Sdelphij src/liblzma/common/init_encoder.c | 3 - 11052274261Sdelphij src/liblzma/lzma/Makefile.am | 4 + 11053274261Sdelphij src/liblzma/lzma/fastpos.h | 156 +++++++++ 11054274261Sdelphij src/liblzma/lzma/fastpos_table.c | 519 +++++++++++++++++++++++++++++ 11055274261Sdelphij src/liblzma/lzma/fastpos_tablegen.c | 63 ++++ 11056274261Sdelphij src/liblzma/lzma/lzma_common.h | 3 +- 11057274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 1 + 11058274261Sdelphij src/liblzma/lzma/lzma_encoder_getoptimum.c | 1 + 11059274261Sdelphij src/liblzma/lzma/lzma_encoder_init.c | 22 -- 11060274261Sdelphij src/liblzma/lzma/lzma_encoder_private.h | 21 -- 11061274261Sdelphij 10 files changed, 746 insertions(+), 47 deletions(-) 11062274261Sdelphij 11063207753Smmcommit 10437b5b567f6a025ff16c45a572e417a0a9cc26 11064207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11065274261SdelphijDate: 2008-01-15 13:32:13 +0200 11066207753Smm 11067207753Smm Added bsr.h. 11068207753Smm 11069274261Sdelphij src/liblzma/common/Makefile.am | 1 + 11070274261Sdelphij src/liblzma/common/bsr.h | 61 ++++++++++++++++++++++++++++++++++++++++++ 11071274261Sdelphij 2 files changed, 62 insertions(+) 11072274261Sdelphij 11073207753Smmcommit f3c88e8b8d8dd57f4bba5f0921eebf276437c244 11074207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11075274261SdelphijDate: 2008-01-15 13:29:14 +0200 11076207753Smm 11077207753Smm Fixed assembler detection in configure.ac, and added 11078207753Smm detection for x86_64. 11079207753Smm 11080274261Sdelphij configure.ac | 32 ++++++++++++++++---------------- 11081274261Sdelphij 1 file changed, 16 insertions(+), 16 deletions(-) 11082274261Sdelphij 11083207753Smmcommit 54ec204f58287f50d3976288295da4188a19192b 11084207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11085274261SdelphijDate: 2008-01-15 12:20:41 +0200 11086207753Smm 11087207753Smm Omit invalid space from printf() format string 11088207753Smm in price_table_gen.c. 11089207753Smm 11090274261Sdelphij src/liblzma/rangecoder/price_table_gen.c | 2 +- 11091274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 11092274261Sdelphij 11093207753Smmcommit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1 11094207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11095274261SdelphijDate: 2008-01-15 09:54:34 +0200 11096207753Smm 11097207753Smm Removed a few unused macros from lzma_common.h. 11098207753Smm 11099274261Sdelphij src/liblzma/lzma/lzma_common.h | 8 ++------ 11100274261Sdelphij 1 file changed, 2 insertions(+), 6 deletions(-) 11101274261Sdelphij 11102207753Smmcommit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d 11103207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11104274261SdelphijDate: 2008-01-15 08:37:42 +0200 11105207753Smm 11106207753Smm Fix a typo in lzma_encoder.c. 11107207753Smm 11108274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 2 +- 11109274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 11110274261Sdelphij 11111207753Smmcommit 9f9b1983013048f2142e8bc7e240149d2687bedc 11112207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11113274261SdelphijDate: 2008-01-15 08:36:25 +0200 11114207753Smm 11115207753Smm Convert bittree_get_price() and bittree_reverse_get_price() 11116207753Smm from macros to inline functions. 11117207753Smm 11118274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 19 +++----- 11119274261Sdelphij src/liblzma/lzma/lzma_encoder_getoptimum.c | 16 +++---- 11120274261Sdelphij src/liblzma/rangecoder/range_encoder.h | 76 +++++++++++++++++------------- 11121274261Sdelphij 3 files changed, 56 insertions(+), 55 deletions(-) 11122274261Sdelphij 11123207753Smmcommit 78e85cb1a7667c54853670d2eb09d754bcbda87d 11124207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11125274261SdelphijDate: 2008-01-15 07:44:59 +0200 11126207753Smm 11127207753Smm Fix CRC code in case --enable-small is used. 11128207753Smm 11129274261Sdelphij src/liblzma/check/crc32_init.c | 2 +- 11130274261Sdelphij src/liblzma/check/crc64_init.c | 2 +- 11131274261Sdelphij src/liblzma/common/init_decoder.c | 2 -- 11132274261Sdelphij src/liblzma/common/init_encoder.c | 2 -- 11133274261Sdelphij tests/test_check.c | 2 ++ 11134274261Sdelphij 5 files changed, 4 insertions(+), 6 deletions(-) 11135274261Sdelphij 11136207753Smmcommit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0 11137207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11138274261SdelphijDate: 2008-01-15 07:41:39 +0200 11139207753Smm 11140207753Smm Fix typo in test_index.c. 11141207753Smm 11142274261Sdelphij tests/test_index.c | 2 +- 11143274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 11144274261Sdelphij 11145207753Smmcommit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6 11146207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11147274261SdelphijDate: 2008-01-15 07:40:21 +0200 11148207753Smm 11149207753Smm Added precomputed range coder probability price table. 11150207753Smm 11151274261Sdelphij src/liblzma/common/init_encoder.c | 5 ++- 11152274261Sdelphij src/liblzma/rangecoder/Makefile.am | 9 +++- 11153274261Sdelphij src/liblzma/rangecoder/price_table.c | 70 +++++++++++++++++++++++++++++++ 11154274261Sdelphij src/liblzma/rangecoder/price_table_gen.c | 55 ++++++++++++++++++++++++ 11155274261Sdelphij src/liblzma/rangecoder/price_table_init.c | 48 +++++++++++++++++++++ 11156274261Sdelphij src/liblzma/rangecoder/range_common.h | 4 +- 11157274261Sdelphij src/liblzma/rangecoder/range_encoder.c | 46 -------------------- 11158274261Sdelphij src/liblzma/rangecoder/range_encoder.h | 21 +++++----- 11159274261Sdelphij 8 files changed, 197 insertions(+), 61 deletions(-) 11160274261Sdelphij 11161207753Smmcommit 362dc3843b373c1007a50a4719f378981f18ae03 11162207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11163274261SdelphijDate: 2008-01-14 13:42:43 +0200 11164207753Smm 11165207753Smm Remove RC_BUFFER_SIZE from lzma_encoder_private.h 11166207753Smm and replace it with a sanity check. 11167207753Smm 11168274261Sdelphij src/liblzma/lzma/lzma_encoder_private.h | 6 ++++-- 11169274261Sdelphij 1 file changed, 4 insertions(+), 2 deletions(-) 11170274261Sdelphij 11171207753Smmcommit e22b37968d153683fec61ad37b6b160cb7ca4ddc 11172207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11173274261SdelphijDate: 2008-01-14 13:39:54 +0200 11174207753Smm 11175207753Smm Major changes to LZ encoder, LZMA encoder, and range encoder. 11176207753Smm These changes implement support for LZMA_SYNC_FLUSH in LZMA 11177207753Smm encoder, and move the temporary buffer needed by range encoder 11178207753Smm from lzma_range_encoder structure to lzma_lz_encoder. 11179207753Smm 11180274261Sdelphij src/liblzma/lz/lz_encoder.c | 138 ++++++++++++++++++++++++++++----- 11181274261Sdelphij src/liblzma/lz/lz_encoder.h | 17 ++-- 11182274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 74 ++++++++++-------- 11183274261Sdelphij src/liblzma/rangecoder/range_encoder.h | 117 ++++++++-------------------- 11184274261Sdelphij 4 files changed, 206 insertions(+), 140 deletions(-) 11185274261Sdelphij 11186207753Smmcommit b59ef3973781f892c0a72b5e5934194567100be5 11187207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11188274261SdelphijDate: 2008-01-14 13:34:29 +0200 11189207753Smm 11190207753Smm Added one assert() to process.c of the command line tool. 11191207753Smm 11192274261Sdelphij src/lzma/process.c | 1 + 11193274261Sdelphij 1 file changed, 1 insertion(+) 11194274261Sdelphij 11195207753Smmcommit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7 11196207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11197274261SdelphijDate: 2008-01-14 12:09:52 +0200 11198207753Smm 11199207753Smm Don't use coder->lz.stream_end_was_reached in assertions 11200207753Smm in match_c.h. 11201207753Smm 11202274261Sdelphij src/liblzma/lz/match_c.h | 2 -- 11203274261Sdelphij 1 file changed, 2 deletions(-) 11204274261Sdelphij 11205207753Smmcommit 3e09e1c05871f3757f759b801890ccccc9286608 11206207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11207274261SdelphijDate: 2008-01-14 12:08:02 +0200 11208207753Smm 11209207753Smm In lzma_read_match_distances(), don't use 11210207753Smm coder->lz.stream_end_was_reached. That variable 11211207753Smm will be removed, and the check isn't required anyway. 11212207753Smm Rearrange the check so that it doesn't make one to 11213207753Smm think that there could be an integer overflow. 11214207753Smm 11215274261Sdelphij src/liblzma/lzma/lzma_encoder_private.h | 6 +++--- 11216274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 11217274261Sdelphij 11218207753Smmcommit a670fec8021e5962429689c194148a04c3418872 11219207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11220274261SdelphijDate: 2008-01-14 11:56:41 +0200 11221207753Smm 11222207753Smm Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders. 11223207753Smm 11224274261Sdelphij src/liblzma/common/block_encoder.c | 4 ++-- 11225274261Sdelphij src/liblzma/common/stream_encoder_single.c | 1 + 11226274261Sdelphij 2 files changed, 3 insertions(+), 2 deletions(-) 11227274261Sdelphij 11228207753Smmcommit 3599dba9570a6972a16b6398d6c838e9b420e985 11229207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11230274261SdelphijDate: 2008-01-14 11:54:56 +0200 11231207753Smm 11232207753Smm More fixes to LZMA decoder's flush marker handling. 11233207753Smm 11234274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 52 ++++++++++++++++++++++++----------------- 11235274261Sdelphij 1 file changed, 30 insertions(+), 22 deletions(-) 11236274261Sdelphij 11237207753Smmcommit f73c2ab6079ed5675a42b39d584a567befbd4624 11238207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11239274261SdelphijDate: 2008-01-10 17:13:42 +0200 11240207753Smm 11241207753Smm Eliminate lzma_lz_encoder.must_move_pos. It's needed 11242207753Smm only in one place which isn't performance criticial. 11243207753Smm 11244274261Sdelphij src/liblzma/lz/lz_encoder.c | 6 ++---- 11245274261Sdelphij src/liblzma/lz/lz_encoder.h | 4 ---- 11246274261Sdelphij 2 files changed, 2 insertions(+), 8 deletions(-) 11247274261Sdelphij 11248207753Smmcommit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd 11249207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11250274261SdelphijDate: 2008-01-09 20:05:57 +0200 11251207753Smm 11252207753Smm Define HAVE_ASM_X86 when x86 assembler optimizations are 11253207753Smm used. This #define will be useful for inline assembly. 11254207753Smm 11255274261Sdelphij configure.ac | 5 ++++- 11256274261Sdelphij 1 file changed, 4 insertions(+), 1 deletion(-) 11257274261Sdelphij 11258207753Smmcommit 0e70fbe4032351aab13a1cd8e5deced105c0b276 11259207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11260274261SdelphijDate: 2008-01-09 12:06:46 +0200 11261207753Smm 11262207753Smm Added good-single-none-empty_3.lzma and 11263207753Smm bad-single-none-empty.lzma. 11264207753Smm 11265274261Sdelphij tests/files/README | 6 ++++++ 11266274261Sdelphij tests/files/bad-single-none-empty.lzma | Bin 0 -> 19 bytes 11267274261Sdelphij tests/files/good-single-none-empty_3.lzma | Bin 0 -> 19 bytes 11268274261Sdelphij 3 files changed, 6 insertions(+) 11269274261Sdelphij 11270207753Smmcommit 379fbbe84d922c7cc00afa65c6f0c095da596b19 11271207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11272274261SdelphijDate: 2008-01-08 23:11:59 +0200 11273207753Smm 11274207753Smm Take advantage of return_if_error() in block_decoder.c. 11275207753Smm 11276274261Sdelphij src/liblzma/common/block_decoder.c | 23 +++++++---------------- 11277274261Sdelphij 1 file changed, 7 insertions(+), 16 deletions(-) 11278274261Sdelphij 11279207753Smmcommit 97d5fa82077e57815dfad995dc393c2809a78539 11280207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11281274261SdelphijDate: 2008-01-08 23:10:57 +0200 11282207753Smm 11283207753Smm Updated tests/files/README. 11284207753Smm 11285274261Sdelphij tests/files/README | 15 +++++++++------ 11286274261Sdelphij 1 file changed, 9 insertions(+), 6 deletions(-) 11287274261Sdelphij 11288207753Smmcommit 3bb9bb310936cba6a743b4f06739a397dec7c28f 11289207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11290274261SdelphijDate: 2008-01-08 23:05:40 +0200 11291207753Smm 11292207753Smm Added test files with empty Compressed Data. 11293207753Smm 11294274261Sdelphij tests/files/README | 6 ++++++ 11295274261Sdelphij tests/files/good-single-lzma-empty.lzma | Bin 0 -> 21 bytes 11296274261Sdelphij tests/files/good-single-none-empty_1.lzma | Bin 0 -> 18 bytes 11297274261Sdelphij tests/files/good-single-none-empty_2.lzma | Bin 0 -> 26 bytes 11298274261Sdelphij 4 files changed, 6 insertions(+) 11299274261Sdelphij 11300207753Smmcommit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f 11301207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11302274261SdelphijDate: 2008-01-08 22:58:42 +0200 11303207753Smm 11304207753Smm Fix decoding of Blocks that have only Block Header. 11305207753Smm 11306274261Sdelphij src/liblzma/common/block_decoder.c | 37 ++++++++++++++----------------------- 11307274261Sdelphij 1 file changed, 14 insertions(+), 23 deletions(-) 11308274261Sdelphij 11309207753Smmcommit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4 11310207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11311274261SdelphijDate: 2008-01-08 22:27:46 +0200 11312207753Smm 11313207753Smm Added good-single-subblock_implicit.lzma. 11314207753Smm 11315274261Sdelphij tests/files/README | 2 ++ 11316274261Sdelphij tests/files/good-single-subblock_implicit.lzma | Bin 0 -> 35 bytes 11317274261Sdelphij 2 files changed, 2 insertions(+) 11318274261Sdelphij 11319207753Smmcommit faeac7b7aca75f86afed1e7cc06279d9d497c627 11320207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11321274261SdelphijDate: 2008-01-08 18:50:30 +0200 11322207753Smm 11323207753Smm Disable CRC32 from Block Headers when --check=none 11324207753Smm has been specified. 11325207753Smm 11326274261Sdelphij src/lzma/process.c | 2 +- 11327274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 11328274261Sdelphij 11329207753Smmcommit a751126dbb656767ed4666cf0e5d3e17349d93d1 11330207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11331274261SdelphijDate: 2008-01-08 13:36:29 +0200 11332207753Smm 11333207753Smm Fixed encoding of empty files. Arguments to is_size_valid() 11334207753Smm were in wrong order in block_encoder.c. 11335207753Smm 11336274261Sdelphij src/liblzma/common/block_encoder.c | 2 +- 11337274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 11338274261Sdelphij 11339207753Smmcommit 9080267603b1006c4867c823307dca9df8be0d20 11340207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11341274261SdelphijDate: 2008-01-08 13:35:36 +0200 11342207753Smm 11343207753Smm Added a few test files. 11344207753Smm 11345274261Sdelphij tests/files/README | 21 ++++++++++++++++++--- 11346274261Sdelphij tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 0 -> 65 bytes 11347274261Sdelphij tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes 11348274261Sdelphij tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes 11349274261Sdelphij tests/files/bad-single-data_after_eopm.lzma | Bin 55 -> 0 bytes 11350274261Sdelphij tests/files/bad-single-data_after_eopm_1.lzma | Bin 0 -> 55 bytes 11351274261Sdelphij tests/files/bad-single-none-truncated.lzma | Bin 0 -> 29 bytes 11352274261Sdelphij 7 files changed, 18 insertions(+), 3 deletions(-) 11353274261Sdelphij 11354207753Smmcommit b4943ccf73b64fc93a90a23474509c316f55eb2b 11355207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11356274261SdelphijDate: 2008-01-08 12:29:58 +0200 11357207753Smm 11358207753Smm Avoid using ! in test_files.sh, because that doesn't work 11359207753Smm with some ancient /bin/sh versions. 11360207753Smm 11361274261Sdelphij tests/test_files.sh | 4 +++- 11362274261Sdelphij 1 file changed, 3 insertions(+), 1 deletion(-) 11363274261Sdelphij 11364207753Smmcommit e2417b2b9134f3f65e14b61e23cd3644d8954353 11365207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11366274261SdelphijDate: 2008-01-08 00:48:30 +0200 11367207753Smm 11368207753Smm More pre-C99 inttypes.h compatibility fixes. Now the code 11369207753Smm should work even if the system has no inttypes.h. 11370207753Smm 11371274261Sdelphij src/common/physmem.h | 11 ----------- 11372274261Sdelphij src/liblzma/check/crc32_init.c | 5 +---- 11373274261Sdelphij src/liblzma/check/crc32_tablegen.c | 7 ++----- 11374274261Sdelphij src/liblzma/check/crc64_init.c | 5 +---- 11375274261Sdelphij src/liblzma/check/crc64_tablegen.c | 7 ++----- 11376274261Sdelphij 5 files changed, 6 insertions(+), 29 deletions(-) 11377274261Sdelphij 11378207753Smmcommit 5d227e51c23639423f4ade06aabb54e131f8505e 11379207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11380274261SdelphijDate: 2008-01-07 23:25:32 +0200 11381207753Smm 11382207753Smm Updated fi.po although it's currently pretty much crap. 11383207753Smm 11384274261Sdelphij po/fi.po | 12 ++++++------ 11385274261Sdelphij 1 file changed, 6 insertions(+), 6 deletions(-) 11386274261Sdelphij 11387207753Smmcommit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d 11388207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11389274261SdelphijDate: 2008-01-07 23:14:25 +0200 11390207753Smm 11391207753Smm Test for $GCC = yes instead of if it is non-empty. This 11392207753Smm way it is possible to use ac_cv_c_compiler_gnu=no to 11393207753Smm force configure to think it is using non-GNU C compiler. 11394207753Smm 11395274261Sdelphij configure.ac | 2 +- 11396274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 11397274261Sdelphij 11398207753Smmcommit 3dbbea82b74bb841c995ad332a3aeca613015e10 11399207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11400274261SdelphijDate: 2008-01-07 21:49:41 +0200 11401207753Smm 11402207753Smm Added test_files.sh to tests/Makefile.am so it gets 11403207753Smm included in the tarball with "make dist". 11404207753Smm 11405274261Sdelphij tests/Makefile.am | 2 +- 11406274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 11407274261Sdelphij 11408207753Smmcommit 2fd2d181543feab1b4003f3ac6e85625fbee04f0 11409207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11410274261SdelphijDate: 2008-01-07 18:22:24 +0200 11411207753Smm 11412207753Smm Cosmetic edit to test_files.sh. 11413207753Smm 11414274261Sdelphij tests/test_files.sh | 4 ++-- 11415274261Sdelphij 1 file changed, 2 insertions(+), 2 deletions(-) 11416274261Sdelphij 11417207753Smmcommit 9a71d573100a990ceb30ce0bec6a9a15d795605f 11418207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11419274261SdelphijDate: 2008-01-07 18:09:44 +0200 11420207753Smm 11421207753Smm Added tests/files/README. 11422207753Smm 11423274261Sdelphij tests/files/README | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 11424274261Sdelphij 1 file changed, 108 insertions(+) 11425274261Sdelphij 11426207753Smmcommit 47f48fe9936ed72617a60fbd015df7e0e47a1e43 11427207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11428274261SdelphijDate: 2008-01-07 14:20:57 +0200 11429207753Smm 11430207753Smm Tell in COPYING that everything in tests/files is 11431207753Smm public domain. 11432207753Smm 11433274261Sdelphij COPYING | 3 ++- 11434274261Sdelphij 1 file changed, 2 insertions(+), 1 deletion(-) 11435274261Sdelphij 11436207753Smmcommit 3502b3e1d00251d3c8dda96079440705c28d8225 11437207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11438274261SdelphijDate: 2008-01-07 14:19:05 +0200 11439207753Smm 11440207753Smm Cleaned up the tests/files directory. 11441207753Smm 11442274261Sdelphij tests/files/bad-single-subblock-padding_loop.lzma | Bin 0 -> 43 bytes 11443274261Sdelphij tests/files/bad-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes 11444274261Sdelphij tests/files/malicious-single-subblock-loop.lzma | Bin 43 -> 0 bytes 11445274261Sdelphij tests/files/malicious-single-subblock-lzma.lzma | Bin 505 -> 0 bytes 11446274261Sdelphij tests/files/malicious-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes 11447274261Sdelphij 5 files changed, 0 insertions(+), 0 deletions(-) 11448274261Sdelphij 11449207753Smmcommit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c 11450207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11451274261SdelphijDate: 2008-01-07 13:49:19 +0200 11452207753Smm 11453207753Smm Added test_files.sh to test decoding of the files in 11454207753Smm the tests/files directory. It doesn't test the malicious 11455207753Smm files yet. 11456207753Smm 11457274261Sdelphij tests/Makefile.am | 4 +++- 11458274261Sdelphij tests/test_files.sh | 40 ++++++++++++++++++++++++++++++++++++++++ 11459274261Sdelphij 2 files changed, 43 insertions(+), 1 deletion(-) 11460274261Sdelphij 11461207753Smmcommit ecb2a6548f5978022a8fa931719dc575f5fd3bf6 11462207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11463274261SdelphijDate: 2008-01-07 11:23:13 +0200 11464207753Smm 11465207753Smm Updated README regarding the assembler optimizations. 11466207753Smm 11467274261Sdelphij README | 10 +++++----- 11468274261Sdelphij 1 file changed, 5 insertions(+), 5 deletions(-) 11469274261Sdelphij 11470207753Smmcommit eacb8050438d3e6146c86eb9732d3fb1ef1825cb 11471207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11472274261SdelphijDate: 2008-01-07 10:58:00 +0200 11473207753Smm 11474207753Smm Updated THANKS. 11475207753Smm 11476274261Sdelphij THANKS | 1 + 11477274261Sdelphij 1 file changed, 1 insertion(+) 11478274261Sdelphij 11479207753Smmcommit 1239649f96132b18e3b7e2dd152ecf53a195caa8 11480207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11481274261SdelphijDate: 2008-01-06 21:47:17 +0200 11482207753Smm 11483207753Smm Cosmetic changes to configure.ac. 11484207753Smm 11485274261Sdelphij configure.ac | 14 ++++++-------- 11486274261Sdelphij 1 file changed, 6 insertions(+), 8 deletions(-) 11487274261Sdelphij 11488207753Smmcommit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e 11489207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11490274261SdelphijDate: 2008-01-06 19:46:38 +0200 11491207753Smm 11492207753Smm Automatically disable assembler code on Darwin x86. 11493207753Smm Darwin has different ABI than GNU+Linux and Solaris, 11494207753Smm thus the assembler code doesn't assemble on Darwin. 11495207753Smm 11496274261Sdelphij configure.ac | 17 +++++++++++++++-- 11497274261Sdelphij 1 file changed, 15 insertions(+), 2 deletions(-) 11498274261Sdelphij 11499207753Smmcommit c15a7abf66e3a70792f7444115e484c7981c8284 11500207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11501274261SdelphijDate: 2008-01-06 19:45:27 +0200 11502207753Smm 11503207753Smm With printf(), use PRIu64 with a cast to uint64_t instead 11504207753Smm of %zu, because some pre-C99 libc versions don't support %zu. 11505207753Smm 11506274261Sdelphij src/lzma/help.c | 13 +++++++------ 11507274261Sdelphij src/lzmadec/lzmadec.c | 6 ++++-- 11508274261Sdelphij 2 files changed, 11 insertions(+), 8 deletions(-) 11509274261Sdelphij 11510207753Smmcommit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb 11511207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11512274261SdelphijDate: 2008-01-06 16:27:41 +0200 11513207753Smm 11514207753Smm Introduced compatibility with systems that have pre-C99 11515207753Smm or no inttypes.h. This is useful when the compiler has 11516207753Smm good enough support for C99, but libc headers don't. 11517207753Smm 11518207753Smm Changed liblzma API so that sys/types.h and inttypes.h 11519207753Smm have to be #included before #including lzma.h. On systems 11520207753Smm that don't have C99 inttypes.h, it's the problem of the 11521207753Smm applications to provide the required types and macros 11522207753Smm before #including lzma.h. 11523207753Smm 11524207753Smm If lzma.h defined the missing types and macros, it could 11525207753Smm conflict with third-party applications whose configure 11526207753Smm has detected that the types are missing and defined them 11527207753Smm in config.h already. An alternative would have been 11528207753Smm introducing lzma_uint32 and similar types, but that would 11529207753Smm just be an extra pain on modern systems. 11530207753Smm 11531274261Sdelphij configure.ac | 13 ++++++++- 11532274261Sdelphij doc/liblzma-intro.txt | 10 +++++-- 11533274261Sdelphij src/common/sysdefs.h | 59 +++++++++++++++++++++++++++++++++++++- 11534274261Sdelphij src/liblzma/api/lzma.h | 40 +++++++++++++++++--------- 11535274261Sdelphij src/liblzma/check/crc32_table.c | 4 +-- 11536274261Sdelphij src/liblzma/check/crc32_table_be.h | 2 -- 11537274261Sdelphij src/liblzma/check/crc32_table_le.h | 2 -- 11538274261Sdelphij src/liblzma/check/crc32_tablegen.c | 1 - 11539274261Sdelphij src/liblzma/check/crc64_table.c | 4 +-- 11540274261Sdelphij src/liblzma/check/crc64_table_be.h | 2 -- 11541274261Sdelphij src/liblzma/check/crc64_table_le.h | 2 -- 11542274261Sdelphij src/liblzma/check/crc64_tablegen.c | 1 - 11543274261Sdelphij src/lzma/private.h | 1 - 11544274261Sdelphij 13 files changed, 106 insertions(+), 35 deletions(-) 11545274261Sdelphij 11546207753Smmcommit a71864f77dfb76b5d78a270641539947c312583a 11547207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11548274261SdelphijDate: 2008-01-05 19:57:00 +0200 11549207753Smm 11550207753Smm Fix typo in comment (INT64_MAX -> UINT64_MAX). 11551207753Smm 11552274261Sdelphij src/liblzma/api/lzma/vli.h | 2 +- 11553274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 11554274261Sdelphij 11555207753Smmcommit 072927905a3b66281c6311b4b351caa501d8b73a 11556207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11557274261SdelphijDate: 2008-01-05 19:42:04 +0200 11558207753Smm 11559207753Smm Rearranged testing of GCC-specific flags. 11560207753Smm 11561274261Sdelphij configure.ac | 33 +++++++++++++++++++++++---------- 11562274261Sdelphij 1 file changed, 23 insertions(+), 10 deletions(-) 11563274261Sdelphij 11564207753Smmcommit d160ee32598c6d1cd9054ef019e8c9331208b188 11565207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11566274261SdelphijDate: 2008-01-05 01:20:24 +0200 11567207753Smm 11568207753Smm Another bug fix for flush marker detection. 11569207753Smm 11570274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 10 +++++++++- 11571274261Sdelphij 1 file changed, 9 insertions(+), 1 deletion(-) 11572274261Sdelphij 11573207753Smmcommit fc67f79f607cbfa78c6f47a69dec098d8659b162 11574207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11575274261SdelphijDate: 2008-01-04 21:37:01 +0200 11576207753Smm 11577207753Smm Fix stupid bugs in flush marker detection. 11578207753Smm 11579274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 7 ++++--- 11580274261Sdelphij 1 file changed, 4 insertions(+), 3 deletions(-) 11581274261Sdelphij 11582207753Smmcommit 0029cbbabe87d491fc046a55a629a6d556010baa 11583207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11584274261SdelphijDate: 2008-01-04 21:30:33 +0200 11585207753Smm 11586207753Smm Added support for flush marker, which will be in files 11587207753Smm that use LZMA_SYNC_FLUSH with encoder (not implemented 11588207753Smm yet). This is a new feature in the raw LZMA format, 11589207753Smm which isn't supported by old decoders. This shouldn't 11590207753Smm be a problem in practice, since lzma_alone_encoder() 11591207753Smm will not allow LZMA_SYNC_FLUSH, and thus not allow 11592207753Smm creating files on decodable with old decoders. 11593207753Smm 11594207753Smm Made lzma_decoder.c to require tab width of 4 characters 11595207753Smm if one wants to fit the code in 80 columns. This makes 11596207753Smm the code easier to read. 11597207753Smm 11598274261Sdelphij src/liblzma/lzma/lzma_common.h | 4 + 11599274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 217 ++++++++++++++++++---------------------- 11600274261Sdelphij 2 files changed, 104 insertions(+), 117 deletions(-) 11601274261Sdelphij 11602207753Smmcommit bbfd1f6ab058a7e661545205befcb7f70c5685ab 11603207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11604274261SdelphijDate: 2008-01-04 20:45:05 +0200 11605207753Smm 11606207753Smm Moved range decoder initialization (reading the first 11607207753Smm five input bytes) from LZMA decoder to range decoder 11608207753Smm header. Did the same for decoding of direct bits. 11609207753Smm 11610274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 42 +++------------- 11611274261Sdelphij src/liblzma/rangecoder/range_decoder.h | 87 +++++++++++++++++++++++----------- 11612274261Sdelphij 2 files changed, 66 insertions(+), 63 deletions(-) 11613274261Sdelphij 11614207753Smmcommit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc 11615207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11616274261SdelphijDate: 2007-12-14 11:15:21 +0200 11617207753Smm 11618207753Smm Added a note to README that --disable-assembler 11619207753Smm must be used on Darwin. 11620207753Smm 11621274261Sdelphij README | 4 ++++ 11622274261Sdelphij 1 file changed, 4 insertions(+) 11623274261Sdelphij 11624207753Smmcommit 44b333d4615b5aabc557a0e1b6bb0096da3fae24 11625207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11626274261SdelphijDate: 2007-12-14 10:07:10 +0200 11627207753Smm 11628207753Smm Use the filename suffix .S instead of .s for assembler files 11629207753Smm so that the preprocessor removes the /* */ style comments, 11630207753Smm which are not supported by some non-GNU assemblers (Solaris) 11631207753Smm that otherwise work with this code. 11632207753Smm 11633274261Sdelphij src/liblzma/check/Makefile.am | 4 +- 11634274261Sdelphij src/liblzma/check/crc32_x86.S | 217 ++++++++++++++++++++++++++++++++++++++++++ 11635274261Sdelphij src/liblzma/check/crc32_x86.s | 217 ------------------------------------------ 11636274261Sdelphij src/liblzma/check/crc64_x86.S | 203 +++++++++++++++++++++++++++++++++++++++ 11637274261Sdelphij src/liblzma/check/crc64_x86.s | 203 --------------------------------------- 11638274261Sdelphij 5 files changed, 422 insertions(+), 422 deletions(-) 11639274261Sdelphij 11640207753Smmcommit ec1c82b2e82f395f6e8e19ac212a639644330cd7 11641207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11642274261SdelphijDate: 2007-12-14 09:59:05 +0200 11643207753Smm 11644207753Smm Fixed wrong symbol name in crc64_x86.s. 11645207753Smm 11646274261Sdelphij src/liblzma/check/crc64_x86.s | 2 +- 11647274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 11648274261Sdelphij 11649207753Smmcommit 2881570df6803eed2fe550af34574e8e61794804 11650207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11651274261SdelphijDate: 2007-12-14 09:53:24 +0200 11652207753Smm 11653207753Smm Use .globl instead of .global in x86 assembler code for 11654207753Smm better portability. Still needs fixing the commenting. 11655207753Smm 11656274261Sdelphij src/liblzma/check/crc32_x86.s | 2 +- 11657274261Sdelphij src/liblzma/check/crc64_x86.s | 2 +- 11658274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 11659274261Sdelphij 11660207753Smmcommit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66 11661207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11662274261SdelphijDate: 2007-12-13 20:14:37 +0200 11663207753Smm 11664207753Smm Fixed a few short options that take an argument. 11665207753Smm short_opts[] was missing colons to indicate 11666207753Smm required argument. Thanks to Fabio Pedretti for 11667207753Smm the bug report. 11668207753Smm 11669274261Sdelphij src/lzma/args.c | 2 +- 11670274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 11671274261Sdelphij 11672207753Smmcommit 918bcb0e0728d2d976621e9f35b56f224f11d989 11673207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11674274261SdelphijDate: 2007-12-11 17:08:04 +0200 11675207753Smm 11676207753Smm Removed uncompressed size tracking from Delta encoder too. 11677207753Smm 11678274261Sdelphij src/liblzma/common/delta_coder.c | 21 +++------------------ 11679274261Sdelphij 1 file changed, 3 insertions(+), 18 deletions(-) 11680274261Sdelphij 11681207753Smmcommit 3e16d51dd645667b05ff826665b1fc353aa41cd9 11682207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11683274261SdelphijDate: 2007-12-11 16:49:19 +0200 11684207753Smm 11685207753Smm Remove uncompressed size tracking from the filter encoders. 11686207753Smm It's not strictly needed there, and just complicates the 11687207753Smm code. LZ encoder never even had this feature. 11688207753Smm 11689207753Smm The primary reason to have uncompressed size tracking in 11690207753Smm filter encoders was validating that the application 11691207753Smm doesn't give different amount of input that it had 11692207753Smm promised. A side effect was to validate internal workings 11693207753Smm of liblzma. 11694207753Smm 11695207753Smm Uncompressed size tracking is still present in the Block 11696207753Smm encoder. Maybe it should be added to LZMA_Alone and raw 11697207753Smm encoders too. It's simpler to have one coder just to 11698207753Smm validate the uncompressed size instead of having it 11699207753Smm in every filter. 11700207753Smm 11701274261Sdelphij src/liblzma/common/copy_coder.c | 25 ++-------------------- 11702274261Sdelphij src/liblzma/simple/simple_coder.c | 29 ++++--------------------- 11703274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 38 ++++++--------------------------- 11704274261Sdelphij 3 files changed, 12 insertions(+), 80 deletions(-) 11705274261Sdelphij 11706207753Smmcommit 5286723e0d1ac386d5b07f08d78e61becf895a5a 11707207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11708274261SdelphijDate: 2007-12-11 14:10:53 +0200 11709207753Smm 11710207753Smm Get rid of no-NLS gnulib. I don't know how to get it 11711207753Smm working with Automake. People who want smaller lzmadec 11712207753Smm should use --disable-nls on non-GNU systems. 11713207753Smm 11714274261Sdelphij lib/Makefile.am | 10 +--------- 11715274261Sdelphij src/lzma/Makefile.am | 2 +- 11716274261Sdelphij src/lzmadec/Makefile.am | 4 +++- 11717274261Sdelphij 3 files changed, 5 insertions(+), 11 deletions(-) 11718274261Sdelphij 11719207753Smmcommit ce8b036a6c7a43b290356b673d953f6d76b2be64 11720207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11721274261SdelphijDate: 2007-12-11 14:09:35 +0200 11722207753Smm 11723207753Smm Fixed a typo in tests/Makefile.am which prevented 11724207753Smm building the tests if gnulib was needed. 11725207753Smm 11726274261Sdelphij tests/Makefile.am | 2 +- 11727274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 11728274261Sdelphij 11729207753Smmcommit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4 11730207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11731274261SdelphijDate: 2007-12-11 11:18:58 +0200 11732207753Smm 11733207753Smm Fixed wrong type of flags_size in Subblock encoder. 11734207753Smm 11735274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 2 +- 11736274261Sdelphij 1 file changed, 1 insertion(+), 1 deletion(-) 11737274261Sdelphij 11738207753Smmcommit ce64df716243fdc40359090d1f6541f3a4f5f21a 11739207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11740274261SdelphijDate: 2007-12-10 20:44:16 +0200 11741207753Smm 11742207753Smm Bumped version number to 4.42.3alpha. 11743207753Smm 11744274261Sdelphij configure.ac | 2 +- 11745274261Sdelphij src/liblzma/api/lzma/version.h | 2 +- 11746274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 11747274261Sdelphij 11748207753Smmcommit b499a0403ea5c41d6a25b40275eb6c57643052ce 11749207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11750274261SdelphijDate: 2007-12-10 15:02:50 +0200 11751207753Smm 11752207753Smm Disabled some unneeded warnings and made "make dist" work. 11753207753Smm 11754274261Sdelphij Makefile.am | 9 +++------ 11755274261Sdelphij configure.ac | 9 ++++++--- 11756274261Sdelphij po/fi.po | 47 ++++++++++++++++++++++++----------------------- 11757274261Sdelphij 3 files changed, 33 insertions(+), 32 deletions(-) 11758274261Sdelphij 11759207753Smmcommit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172 11760207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11761274261SdelphijDate: 2007-12-09 21:43:15 +0200 11762207753Smm 11763207753Smm Added LZMA_SYNC_FLUSH support to the Copy filter. 11764207753Smm 11765274261Sdelphij src/liblzma/common/copy_coder.c | 92 +++++++++++++++++++++++++---------------- 11766274261Sdelphij 1 file changed, 57 insertions(+), 35 deletions(-) 11767274261Sdelphij 11768207753Smmcommit 329c272d501e88793dda5540358d55c12428d194 11769207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11770274261SdelphijDate: 2007-12-09 17:14:07 +0200 11771207753Smm 11772207753Smm Added missing LZMA_API to the C versions of the CRC functions. 11773207753Smm The x86 assembler versions were already OK. 11774207753Smm 11775274261Sdelphij src/liblzma/check/crc32.c | 2 +- 11776274261Sdelphij src/liblzma/check/crc64.c | 2 +- 11777274261Sdelphij 2 files changed, 2 insertions(+), 2 deletions(-) 11778274261Sdelphij 11779207753Smmcommit c90daf86ce683fa8cf80491d624ffb158dfbd9d7 11780207753SmmAuthor: Jim Meyering <meyering@redhat.com> 11781274261SdelphijDate: 2007-12-09 15:34:25 +0100 11782207753Smm 11783207753Smm * tests/test_block_header.c (test3): Remove duplicate initializer. 11784207753Smm 11785274261Sdelphij autogen.sh | 2 +- 11786274261Sdelphij tests/test_block_header.c | 1 - 11787274261Sdelphij 2 files changed, 1 insertion(+), 2 deletions(-) 11788274261Sdelphij 11789207753Smmcommit 07ac881779a8477f2c1ab112b91a129e24aa743c 11790207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11791274261SdelphijDate: 2007-12-09 17:06:45 +0200 11792207753Smm 11793207753Smm Take advantage of return_if_error() macro in more places. 11794207753Smm Cleaned Subblock filter's initialization code too. 11795207753Smm 11796274261Sdelphij src/liblzma/common/block_decoder.c | 22 +++------- 11797274261Sdelphij src/liblzma/common/delta_coder.c | 8 +--- 11798274261Sdelphij src/liblzma/common/stream_decoder.c | 17 +++----- 11799274261Sdelphij src/liblzma/common/stream_encoder_multi.c | 68 ++++++++++-------------------- 11800274261Sdelphij src/liblzma/common/stream_encoder_single.c | 8 ++-- 11801274261Sdelphij src/liblzma/subblock/subblock_decoder.c | 33 +++++---------- 11802274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 45 ++++++-------------- 11803274261Sdelphij 7 files changed, 63 insertions(+), 138 deletions(-) 11804274261Sdelphij 11805207753Smmcommit 41338717964f510ee61d70b25bd4c502ec9f77cf 11806207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11807274261SdelphijDate: 2007-12-09 12:13:01 +0200 11808207753Smm 11809207753Smm Added a bunch of .lzma test files. 11810207753Smm 11811274261Sdelphij tests/files/bad-single-data_after_eopm.lzma | Bin 0 -> 55 bytes 11812274261Sdelphij tests/files/bad-single-data_after_eopm_2.lzma | Bin 0 -> 56 bytes 11813274261Sdelphij tests/files/bad-single-subblock_subblock.lzma | Bin 0 -> 26 bytes 11814274261Sdelphij tests/files/good-cat-single-none-pad.lzma | Bin 0 -> 64 bytes 11815274261Sdelphij tests/files/good-single-delta-lzma.tiff.lzma | Bin 0 -> 51409 bytes 11816274261Sdelphij tests/files/good-single-lzma.lzma | Bin 0 -> 44 bytes 11817274261Sdelphij tests/files/good-single-none-pad.lzma | Bin 0 -> 32 bytes 11818274261Sdelphij tests/files/good-single-none.lzma | Bin 0 -> 30 bytes 11819274261Sdelphij tests/files/good-single-subblock-lzma.lzma | Bin 0 -> 50 bytes 11820274261Sdelphij tests/files/good-single-subblock_rle.lzma | Bin 0 -> 118 bytes 11821274261Sdelphij tests/files/malicious-multi-metadata-64PiB.lzma | Bin 0 -> 51 bytes 11822274261Sdelphij tests/files/malicious-single-subblock-256MiB.lzma | Bin 0 -> 30 bytes 11823274261Sdelphij tests/files/malicious-single-subblock-64PiB.lzma | Bin 0 -> 45 bytes 11824274261Sdelphij tests/files/malicious-single-subblock-loop.lzma | Bin 0 -> 43 bytes 11825274261Sdelphij tests/files/malicious-single-subblock-lzma.lzma | Bin 0 -> 505 bytes 11826274261Sdelphij tests/files/malicious-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes 11827274261Sdelphij tests/files/malicious-single-subblock31-slow.lzma | Bin 0 -> 1233 bytes 11828274261Sdelphij 17 files changed, 0 insertions(+), 0 deletions(-) 11829274261Sdelphij 11830207753Smmcommit ff946ceb7975d4f11950afd33f6315b4d20d1a03 11831207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11832274261SdelphijDate: 2007-12-09 11:24:48 +0200 11833207753Smm 11834207753Smm Re-enabled the security checks in Subblock decoder 11835207753Smm that were disabled for debugging reasons. 11836207753Smm 11837274261Sdelphij src/liblzma/subblock/subblock_decoder.c | 6 +++--- 11838274261Sdelphij 1 file changed, 3 insertions(+), 3 deletions(-) 11839274261Sdelphij 11840207753Smmcommit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1 11841207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11842274261SdelphijDate: 2007-12-09 11:03:28 +0200 11843207753Smm 11844207753Smm Fixed the tests to build with -Werror. 11845207753Smm 11846274261Sdelphij tests/test_block_header.c | 2 +- 11847274261Sdelphij tests/test_check.c | 2 +- 11848274261Sdelphij tests/test_filter_flags.c | 2 +- 11849274261Sdelphij tests/test_index.c | 14 +++++++------- 11850274261Sdelphij tests/test_info.c | 2 +- 11851274261Sdelphij tests/test_stream_flags.c | 2 +- 11852274261Sdelphij 6 files changed, 12 insertions(+), 12 deletions(-) 11853274261Sdelphij 11854207753Smmcommit 5d018dc03549c1ee4958364712fb0c94e1bf2741 11855207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 11856274261SdelphijDate: 2007-12-09 00:42:33 +0200 11857207753Smm 11858207753Smm Imported to git. 11859274261Sdelphij 11860274261Sdelphij AUTHORS | 18 + 11861274261Sdelphij COPYING | 24 + 11862274261Sdelphij COPYING.GPLv2 | 339 +++++ 11863274261Sdelphij COPYING.GPLv3 | 674 +++++++++ 11864274261Sdelphij COPYING.LGPLv2.1 | 504 +++++++ 11865274261Sdelphij ChangeLog | 2 + 11866274261Sdelphij Doxyfile.in | 1229 ++++++++++++++++ 11867274261Sdelphij Makefile.am | 38 + 11868274261Sdelphij NEWS | 0 11869274261Sdelphij README | 151 ++ 11870274261Sdelphij THANKS | 23 + 11871274261Sdelphij TODO | 109 ++ 11872274261Sdelphij autogen.sh | 38 + 11873274261Sdelphij configure.ac | 611 ++++++++ 11874274261Sdelphij doc/bugs.txt | 46 + 11875274261Sdelphij doc/faq.txt | 247 ++++ 11876274261Sdelphij doc/file-format.txt | 1861 ++++++++++++++++++++++++ 11877274261Sdelphij doc/history.txt | 140 ++ 11878274261Sdelphij doc/liblzma-advanced.txt | 324 +++++ 11879274261Sdelphij doc/liblzma-hacking.txt | 112 ++ 11880274261Sdelphij doc/liblzma-intro.txt | 188 +++ 11881274261Sdelphij doc/liblzma-security.txt | 219 +++ 11882274261Sdelphij doc/lzma-intro.txt | 107 ++ 11883274261Sdelphij extra/scanlzma/scanlzma.c | 85 ++ 11884274261Sdelphij lib/Makefile.am | 40 + 11885274261Sdelphij lib/getopt.c | 1191 +++++++++++++++ 11886274261Sdelphij lib/getopt1.c | 171 +++ 11887274261Sdelphij lib/getopt_.h | 226 +++ 11888274261Sdelphij lib/getopt_int.h | 131 ++ 11889274261Sdelphij lib/gettext.h | 240 +++ 11890274261Sdelphij m4/acx_pthread.m4 | 279 ++++ 11891274261Sdelphij m4/getopt.m4 | 83 ++ 11892274261Sdelphij po/LINGUAS | 1 + 11893274261Sdelphij po/Makevars | 46 + 11894274261Sdelphij po/POTFILES.in | 13 + 11895274261Sdelphij po/fi.po | 445 ++++++ 11896274261Sdelphij src/Makefile.am | 16 + 11897274261Sdelphij src/common/open_stdxxx.h | 50 + 11898274261Sdelphij src/common/physmem.h | 77 + 11899274261Sdelphij src/common/sysdefs.h | 100 ++ 11900274261Sdelphij src/liblzma/Makefile.am | 47 + 11901274261Sdelphij src/liblzma/api/Makefile.am | 39 + 11902274261Sdelphij src/liblzma/api/lzma.h | 122 ++ 11903274261Sdelphij src/liblzma/api/lzma/alignment.h | 60 + 11904274261Sdelphij src/liblzma/api/lzma/alone.h | 82 ++ 11905274261Sdelphij src/liblzma/api/lzma/auto.h | 41 + 11906274261Sdelphij src/liblzma/api/lzma/base.h | 410 ++++++ 11907274261Sdelphij src/liblzma/api/lzma/block.h | 409 ++++++ 11908274261Sdelphij src/liblzma/api/lzma/check.h | 128 ++ 11909274261Sdelphij src/liblzma/api/lzma/copy.h | 29 + 11910274261Sdelphij src/liblzma/api/lzma/delta.h | 49 + 11911274261Sdelphij src/liblzma/api/lzma/extra.h | 114 ++ 11912274261Sdelphij src/liblzma/api/lzma/filter.h | 166 +++ 11913274261Sdelphij src/liblzma/api/lzma/index.h | 84 ++ 11914274261Sdelphij src/liblzma/api/lzma/info.h | 315 ++++ 11915274261Sdelphij src/liblzma/api/lzma/init.h | 85 ++ 11916274261Sdelphij src/liblzma/api/lzma/lzma.h | 312 ++++ 11917274261Sdelphij src/liblzma/api/lzma/memlimit.h | 157 ++ 11918274261Sdelphij src/liblzma/api/lzma/metadata.h | 100 ++ 11919274261Sdelphij src/liblzma/api/lzma/raw.h | 72 + 11920274261Sdelphij src/liblzma/api/lzma/simple.h | 85 ++ 11921274261Sdelphij src/liblzma/api/lzma/stream.h | 178 +++ 11922274261Sdelphij src/liblzma/api/lzma/stream_flags.h | 142 ++ 11923274261Sdelphij src/liblzma/api/lzma/subblock.h | 197 +++ 11924274261Sdelphij src/liblzma/api/lzma/version.h | 59 + 11925274261Sdelphij src/liblzma/api/lzma/vli.h | 244 ++++ 11926274261Sdelphij src/liblzma/check/Makefile.am | 64 + 11927274261Sdelphij src/liblzma/check/check.c | 160 ++ 11928274261Sdelphij src/liblzma/check/check.h | 102 ++ 11929274261Sdelphij src/liblzma/check/check_byteswap.h | 43 + 11930274261Sdelphij src/liblzma/check/check_init.c | 37 + 11931274261Sdelphij src/liblzma/check/crc32.c | 88 ++ 11932274261Sdelphij src/liblzma/check/crc32_init.c | 58 + 11933274261Sdelphij src/liblzma/check/crc32_table.c | 22 + 11934274261Sdelphij src/liblzma/check/crc32_table_be.h | 527 +++++++ 11935274261Sdelphij src/liblzma/check/crc32_table_le.h | 527 +++++++ 11936274261Sdelphij src/liblzma/check/crc32_tablegen.c | 55 + 11937274261Sdelphij src/liblzma/check/crc32_x86.s | 217 +++ 11938274261Sdelphij src/liblzma/check/crc64.c | 75 + 11939274261Sdelphij src/liblzma/check/crc64_init.c | 58 + 11940274261Sdelphij src/liblzma/check/crc64_table.c | 22 + 11941274261Sdelphij src/liblzma/check/crc64_table_be.h | 523 +++++++ 11942274261Sdelphij src/liblzma/check/crc64_table_le.h | 523 +++++++ 11943274261Sdelphij src/liblzma/check/crc64_tablegen.c | 56 + 11944274261Sdelphij src/liblzma/check/crc64_x86.s | 203 +++ 11945274261Sdelphij src/liblzma/check/crc_macros.h | 33 + 11946274261Sdelphij src/liblzma/check/sha256.c | 203 +++ 11947274261Sdelphij src/liblzma/common/Makefile.am | 94 ++ 11948274261Sdelphij src/liblzma/common/alignment.c | 118 ++ 11949274261Sdelphij src/liblzma/common/allocator.c | 57 + 11950274261Sdelphij src/liblzma/common/alone_decoder.c | 197 +++ 11951274261Sdelphij src/liblzma/common/alone_decoder.h | 24 + 11952274261Sdelphij src/liblzma/common/alone_encoder.c | 167 +++ 11953274261Sdelphij src/liblzma/common/auto_decoder.c | 113 ++ 11954274261Sdelphij src/liblzma/common/block_decoder.c | 405 ++++++ 11955274261Sdelphij src/liblzma/common/block_decoder.h | 29 + 11956274261Sdelphij src/liblzma/common/block_encoder.c | 375 +++++ 11957274261Sdelphij src/liblzma/common/block_encoder.h | 29 + 11958274261Sdelphij src/liblzma/common/block_header_decoder.c | 373 +++++ 11959274261Sdelphij src/liblzma/common/block_header_encoder.c | 211 +++ 11960274261Sdelphij src/liblzma/common/block_private.h | 46 + 11961274261Sdelphij src/liblzma/common/chunk_size.c | 74 + 11962274261Sdelphij src/liblzma/common/code.c | 203 +++ 11963274261Sdelphij src/liblzma/common/common.h | 271 ++++ 11964274261Sdelphij src/liblzma/common/copy_coder.c | 143 ++ 11965274261Sdelphij src/liblzma/common/copy_coder.h | 31 + 11966274261Sdelphij src/liblzma/common/delta_coder.c | 210 +++ 11967274261Sdelphij src/liblzma/common/delta_coder.h | 31 + 11968274261Sdelphij src/liblzma/common/extra.c | 33 + 11969274261Sdelphij src/liblzma/common/features.c | 70 + 11970274261Sdelphij src/liblzma/common/filter_flags_decoder.c | 382 +++++ 11971274261Sdelphij src/liblzma/common/filter_flags_encoder.c | 359 +++++ 11972274261Sdelphij src/liblzma/common/index.c | 140 ++ 11973274261Sdelphij src/liblzma/common/info.c | 823 +++++++++++ 11974274261Sdelphij src/liblzma/common/init.c | 39 + 11975274261Sdelphij src/liblzma/common/init_decoder.c | 33 + 11976274261Sdelphij src/liblzma/common/init_encoder.c | 44 + 11977274261Sdelphij src/liblzma/common/memory_limitter.c | 200 +++ 11978274261Sdelphij src/liblzma/common/memory_usage.c | 113 ++ 11979274261Sdelphij src/liblzma/common/metadata_decoder.c | 555 +++++++ 11980274261Sdelphij src/liblzma/common/metadata_decoder.h | 31 + 11981274261Sdelphij src/liblzma/common/metadata_encoder.c | 436 ++++++ 11982274261Sdelphij src/liblzma/common/metadata_encoder.h | 30 + 11983274261Sdelphij src/liblzma/common/next_coder.c | 65 + 11984274261Sdelphij src/liblzma/common/raw_common.c | 175 +++ 11985274261Sdelphij src/liblzma/common/raw_common.h | 31 + 11986274261Sdelphij src/liblzma/common/raw_decoder.c | 127 ++ 11987274261Sdelphij src/liblzma/common/raw_decoder.h | 30 + 11988274261Sdelphij src/liblzma/common/raw_encoder.c | 124 ++ 11989274261Sdelphij src/liblzma/common/raw_encoder.h | 30 + 11990274261Sdelphij src/liblzma/common/stream_common.c | 23 + 11991274261Sdelphij src/liblzma/common/stream_common.h | 28 + 11992274261Sdelphij src/liblzma/common/stream_decoder.c | 454 ++++++ 11993274261Sdelphij src/liblzma/common/stream_encoder_multi.c | 460 ++++++ 11994274261Sdelphij src/liblzma/common/stream_encoder_single.c | 220 +++ 11995274261Sdelphij src/liblzma/common/stream_flags_decoder.c | 258 ++++ 11996274261Sdelphij src/liblzma/common/stream_flags_decoder.h | 31 + 11997274261Sdelphij src/liblzma/common/stream_flags_encoder.c | 75 + 11998274261Sdelphij src/liblzma/common/sysdefs.h | 1 + 11999274261Sdelphij src/liblzma/common/version.c | 25 + 12000274261Sdelphij src/liblzma/common/vli_decoder.c | 69 + 12001274261Sdelphij src/liblzma/common/vli_encoder.c | 81 ++ 12002274261Sdelphij src/liblzma/common/vli_reverse_decoder.c | 55 + 12003274261Sdelphij src/liblzma/lz/Makefile.am | 63 + 12004274261Sdelphij src/liblzma/lz/bt2.c | 27 + 12005274261Sdelphij src/liblzma/lz/bt2.h | 31 + 12006274261Sdelphij src/liblzma/lz/bt3.c | 29 + 12007274261Sdelphij src/liblzma/lz/bt3.h | 31 + 12008274261Sdelphij src/liblzma/lz/bt4.c | 30 + 12009274261Sdelphij src/liblzma/lz/bt4.h | 31 + 12010274261Sdelphij src/liblzma/lz/hc3.c | 30 + 12011274261Sdelphij src/liblzma/lz/hc3.h | 31 + 12012274261Sdelphij src/liblzma/lz/hc4.c | 31 + 12013274261Sdelphij src/liblzma/lz/hc4.h | 31 + 12014274261Sdelphij src/liblzma/lz/lz_decoder.c | 462 ++++++ 12015274261Sdelphij src/liblzma/lz/lz_decoder.h | 214 +++ 12016274261Sdelphij src/liblzma/lz/lz_encoder.c | 481 ++++++ 12017274261Sdelphij src/liblzma/lz/lz_encoder.h | 161 ++ 12018274261Sdelphij src/liblzma/lz/lz_encoder_private.h | 40 + 12019274261Sdelphij src/liblzma/lz/match_c.h | 401 +++++ 12020274261Sdelphij src/liblzma/lz/match_h.h | 69 + 12021274261Sdelphij src/liblzma/lzma.pc.in | 11 + 12022274261Sdelphij src/liblzma/lzma/Makefile.am | 43 + 12023274261Sdelphij src/liblzma/lzma/lzma_common.h | 128 ++ 12024274261Sdelphij src/liblzma/lzma/lzma_decoder.c | 844 +++++++++++ 12025274261Sdelphij src/liblzma/lzma/lzma_decoder.h | 41 + 12026274261Sdelphij src/liblzma/lzma/lzma_encoder.c | 413 ++++++ 12027274261Sdelphij src/liblzma/lzma/lzma_encoder.h | 35 + 12028274261Sdelphij src/liblzma/lzma/lzma_encoder_features.c | 59 + 12029274261Sdelphij src/liblzma/lzma/lzma_encoder_getoptimum.c | 893 ++++++++++++ 12030274261Sdelphij src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 +++ 12031274261Sdelphij src/liblzma/lzma/lzma_encoder_init.c | 245 ++++ 12032274261Sdelphij src/liblzma/lzma/lzma_encoder_presets.c | 34 + 12033274261Sdelphij src/liblzma/lzma/lzma_encoder_private.h | 225 +++ 12034274261Sdelphij src/liblzma/lzma/lzma_literal.c | 74 + 12035274261Sdelphij src/liblzma/lzma/lzma_literal.h | 74 + 12036274261Sdelphij src/liblzma/rangecoder/Makefile.am | 28 + 12037274261Sdelphij src/liblzma/rangecoder/range_common.h | 68 + 12038274261Sdelphij src/liblzma/rangecoder/range_decoder.h | 189 +++ 12039274261Sdelphij src/liblzma/rangecoder/range_encoder.c | 46 + 12040274261Sdelphij src/liblzma/rangecoder/range_encoder.h | 317 ++++ 12041274261Sdelphij src/liblzma/simple/Makefile.am | 46 + 12042274261Sdelphij src/liblzma/simple/arm.c | 76 + 12043274261Sdelphij src/liblzma/simple/armthumb.c | 81 ++ 12044274261Sdelphij src/liblzma/simple/ia64.c | 117 ++ 12045274261Sdelphij src/liblzma/simple/powerpc.c | 80 + 12046274261Sdelphij src/liblzma/simple/simple_coder.c | 306 ++++ 12047274261Sdelphij src/liblzma/simple/simple_coder.h | 68 + 12048274261Sdelphij src/liblzma/simple/simple_private.h | 86 ++ 12049274261Sdelphij src/liblzma/simple/sparc.c | 88 ++ 12050274261Sdelphij src/liblzma/simple/x86.c | 161 ++ 12051274261Sdelphij src/liblzma/subblock/Makefile.am | 33 + 12052274261Sdelphij src/liblzma/subblock/subblock_decoder.c | 681 +++++++++ 12053274261Sdelphij src/liblzma/subblock/subblock_decoder.h | 29 + 12054274261Sdelphij src/liblzma/subblock/subblock_decoder_helper.c | 80 + 12055274261Sdelphij src/liblzma/subblock/subblock_decoder_helper.h | 36 + 12056274261Sdelphij src/liblzma/subblock/subblock_encoder.c | 841 +++++++++++ 12057274261Sdelphij src/liblzma/subblock/subblock_encoder.h | 28 + 12058274261Sdelphij src/lzma/Makefile.am | 63 + 12059274261Sdelphij src/lzma/alloc.c | 106 ++ 12060274261Sdelphij src/lzma/alloc.h | 42 + 12061274261Sdelphij src/lzma/args.c | 566 +++++++ 12062274261Sdelphij src/lzma/args.h | 64 + 12063274261Sdelphij src/lzma/error.c | 156 ++ 12064274261Sdelphij src/lzma/error.h | 67 + 12065274261Sdelphij src/lzma/hardware.c | 99 ++ 12066274261Sdelphij src/lzma/hardware.h | 31 + 12067274261Sdelphij src/lzma/help.c | 178 +++ 12068274261Sdelphij src/lzma/help.h | 32 + 12069274261Sdelphij src/lzma/io.c | 664 +++++++++ 12070274261Sdelphij src/lzma/io.h | 60 + 12071274261Sdelphij src/lzma/list.c | 477 ++++++ 12072274261Sdelphij src/lzma/main.c | 254 ++++ 12073274261Sdelphij src/lzma/options.c | 346 +++++ 12074274261Sdelphij src/lzma/options.h | 46 + 12075274261Sdelphij src/lzma/private.h | 55 + 12076274261Sdelphij src/lzma/process.c | 458 ++++++ 12077274261Sdelphij src/lzma/process.h | 30 + 12078274261Sdelphij src/lzma/suffix.c | 145 ++ 12079274261Sdelphij src/lzma/suffix.h | 25 + 12080274261Sdelphij src/lzma/util.c | 182 +++ 12081274261Sdelphij src/lzma/util.h | 32 + 12082274261Sdelphij src/lzmadec/Makefile.am | 27 + 12083274261Sdelphij src/lzmadec/lzmadec.c | 515 +++++++ 12084274261Sdelphij src/scripts/Makefile.am | 24 + 12085274261Sdelphij src/scripts/lzdiff | 67 + 12086274261Sdelphij src/scripts/lzdiff.1 | 51 + 12087274261Sdelphij src/scripts/lzgrep | 123 ++ 12088274261Sdelphij src/scripts/lzgrep.1 | 61 + 12089274261Sdelphij src/scripts/lzmore | 74 + 12090274261Sdelphij src/scripts/lzmore.1 | 55 + 12091274261Sdelphij tests/Makefile.am | 43 + 12092274261Sdelphij tests/test_block.c | 59 + 12093274261Sdelphij tests/test_block_header.c | 352 +++++ 12094274261Sdelphij tests/test_check.c | 90 ++ 12095274261Sdelphij tests/test_filter_flags.c | 326 +++++ 12096274261Sdelphij tests/test_index.c | 43 + 12097274261Sdelphij tests/test_info.c | 717 +++++++++ 12098274261Sdelphij tests/test_stream_flags.c | 191 +++ 12099274261Sdelphij tests/tests.h | 148 ++ 12100274261Sdelphij 240 files changed, 42513 insertions(+) 12101