1commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a 2Author: Lasse Collin <lasse.collin@tukaani.org> 3Date: 2014-12-21 20:48:37 +0200 4 5 DOS: Update Makefile. 6 7 dos/Makefile | 1 + 8 1 file changed, 1 insertion(+) 9 10commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e 11Author: Lasse Collin <lasse.collin@tukaani.org> 12Date: 2014-12-21 19:50:38 +0200 13 14 Windows: Fix bin_i486 to bin_i686 in build.bash. 15 16 windows/build.bash | 2 +- 17 1 file changed, 1 insertion(+), 1 deletion(-) 18 19commit cbafa710918195dbba3db02c3fab4f0538235206 20Author: Lasse Collin <lasse.collin@tukaani.org> 21Date: 2014-12-21 18:58:44 +0200 22 23 Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c. 24 25 doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++---- 26 1 file changed, 26 insertions(+), 4 deletions(-) 27 28commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a 29Author: Lasse Collin <lasse.collin@tukaani.org> 30Date: 2014-12-21 18:56:44 +0200 31 32 Docs: Update docs/examples/00_README.txt. 33 34 doc/examples/00_README.txt | 4 ++++ 35 1 file changed, 4 insertions(+) 36 37commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6 38Author: Lasse Collin <lasse.collin@tukaani.org> 39Date: 2014-12-21 18:11:17 +0200 40 41 Bump version and soname for 5.2.0. 42 43 I know that soname != app version, but I skip AGE=1 44 in -version-info to make the soname match the liblzma 45 version anyway. It doesn't hurt anything as long as 46 it doesn't conflict with library versioning rules. 47 48 src/liblzma/Makefile.am | 2 +- 49 src/liblzma/api/lzma/version.h | 6 +++--- 50 src/liblzma/liblzma.map | 2 +- 51 3 files changed, 5 insertions(+), 5 deletions(-) 52 53commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da 54Author: Lasse Collin <lasse.collin@tukaani.org> 55Date: 2014-12-21 18:05:03 +0200 56 57 Avoid variable-length arrays in the debug programs. 58 59 debug/full_flush.c | 3 ++- 60 debug/sync_flush.c | 3 ++- 61 2 files changed, 4 insertions(+), 2 deletions(-) 62 63commit 72f7307cfdceb941aeb2bf30d424cc0d13621786 64Author: Lasse Collin <lasse.collin@tukaani.org> 65Date: 2014-12-21 18:01:45 +0200 66 67 Build: Include 04_compress_easy_mt.c in the tarball. 68 69 Makefile.am | 1 + 70 1 file changed, 1 insertion(+) 71 72commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0 73Author: Lasse Collin <lasse.collin@tukaani.org> 74Date: 2014-12-21 18:00:38 +0200 75 76 Fix build when --disable-threads is used. 77 78 src/common/mythread.h | 2 ++ 79 1 file changed, 2 insertions(+) 80 81commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17 82Author: Adrien Nader <adrien@notk.org> 83Date: 2014-12-21 15:56:15 +0100 84 85 po/fr: improve wording for help for --lzma1/--lzma2. 86 87 po/fr.po | 2 +- 88 1 file changed, 1 insertion(+), 1 deletion(-) 89 90commit a8b6b569e7fadbf5b5b9139d53bc764015c15027 91Author: Adrien Nader <adrien@notk.org> 92Date: 2014-12-21 15:55:48 +0100 93 94 po/fr: missing line in translation of --extreme. 95 96 po/fr.po | 1 + 97 1 file changed, 1 insertion(+) 98 99commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9 100Author: Lasse Collin <lasse.collin@tukaani.org> 101Date: 2014-12-21 14:32:33 +0200 102 103 Update NEWS for 5.2.0. 104 105 NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 106 1 file changed, 65 insertions(+) 107 108commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429 109Author: Lasse Collin <lasse.collin@tukaani.org> 110Date: 2014-12-21 14:32:22 +0200 111 112 Update NEWS for 5.0.8. 113 114 NEWS | 12 ++++++++++++ 115 1 file changed, 12 insertions(+) 116 117commit 42e97a32649bf53ce43be2258b902a417c6e7fa1 118Author: Lasse Collin <lasse.collin@tukaani.org> 119Date: 2014-12-21 14:07:54 +0200 120 121 xz: Fix a comment. 122 123 src/xz/options.c | 4 ++-- 124 1 file changed, 2 insertions(+), 2 deletions(-) 125 126commit 29b95d5d6665cedffa6a9d6d3d914f981e852182 127Author: Lasse Collin <lasse.collin@tukaani.org> 128Date: 2014-12-20 20:43:14 +0200 129 130 Update INSTALL about the dependencies of the scripts. 131 132 INSTALL | 15 ++++++++++----- 133 1 file changed, 10 insertions(+), 5 deletions(-) 134 135commit 3af91040bb42c21afbb81f5568c3313125e61192 136Author: Lasse Collin <lasse.collin@tukaani.org> 137Date: 2014-12-20 20:42:33 +0200 138 139 Windows: Update build instructions. 140 141 INSTALL | 15 +++++++++------ 142 windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++----------------------- 143 2 files changed, 30 insertions(+), 29 deletions(-) 144 145commit 0152f72bf6289d744823dc6c849538f3a139ad70 146Author: Lasse Collin <lasse.collin@tukaani.org> 147Date: 2014-12-20 20:41:48 +0200 148 149 Windows: Update the build script and README-Windows.txt. 150 151 The 32-bit build is now for i686 or newer because the 152 prebuilt MinGW-w64 toolchains include i686 code in the 153 executables even if one uses -march=i486. 154 155 The build script builds 32-bit SSE2 enabled version too. 156 Run-time detection of SSE2 support would be nice (on any OS) 157 but it's not implemented in XZ Utils yet. 158 159 windows/README-Windows.txt | 30 ++++++++++++++++-------------- 160 windows/build.bash | 23 ++++++++++++++--------- 161 2 files changed, 30 insertions(+), 23 deletions(-) 162 163commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a 164Author: Lasse Collin <lasse.collin@tukaani.org> 165Date: 2014-12-19 15:51:50 +0200 166 167 Windows: Define TUKLIB_SYMBOL_PREFIX in config.h. 168 169 It is to keep all symbols in the lzma_ namespace. 170 171 windows/config.h | 3 +++ 172 1 file changed, 3 insertions(+) 173 174commit 7f7d093de79eee0c7dbfd7433647e46302f19f82 175Author: Lasse Collin <lasse.collin@tukaani.org> 176Date: 2014-12-16 21:00:09 +0200 177 178 xz: Update the man page about --threads. 179 180 src/xz/xz.1 | 5 ----- 181 1 file changed, 5 deletions(-) 182 183commit 009823448b82aa5f465668878a544c5842885407 184Author: Lasse Collin <lasse.collin@tukaani.org> 185Date: 2014-12-16 20:57:43 +0200 186 187 xz: Update the man page about --block-size. 188 189 src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++-------- 190 1 file changed, 33 insertions(+), 8 deletions(-) 191 192commit 7dddfbeb499e528940bc12047355c184644aafe9 193Author: Adrien Nader <adrien@notk.org> 194Date: 2014-12-10 22:26:57 +0100 195 196 po/fr: several more translation updates: reword and handle --ignore-check. 197 198 po/fr.po | 50 ++++++++++++++++++++++++++------------------------ 199 1 file changed, 26 insertions(+), 24 deletions(-) 200 201commit 6eca5be40e04ddc4b738d493e4e56835956d8b69 202Author: Adrien Nader <adrien@notk.org> 203Date: 2014-12-10 22:23:01 +0100 204 205 po/fr: yet another place where my email address had to be updated. 206 207 po/fr.po | 2 +- 208 1 file changed, 1 insertion(+), 1 deletion(-) 209 210commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7 211Author: Adrien Nader <adrien@notk.org> 212Date: 2014-12-10 22:22:20 +0100 213 214 po/fr: fix several typos that have been around since the beginning. 215 216 po/fr.po | 22 +++++++++++----------- 217 1 file changed, 11 insertions(+), 11 deletions(-) 218 219commit 4c5aa911a0df027e46171e368debc543d2fa72b2 220Author: Adrien Nader <adrien@notk.org> 221Date: 2014-12-03 20:02:31 +0100 222 223 po/fr: last batch of new translations for now. 224 225 Four new error messages. 226 227 po/fr.po | 16 ++++++++-------- 228 1 file changed, 8 insertions(+), 8 deletions(-) 229 230commit 3e3099e36d27059499e7996fb38a62e8ab01d356 231Author: Adrien Nader <adrien@notk.org> 232Date: 2014-12-03 20:01:32 +0100 233 234 po/fr: translations for --threads, --block-size and --block-list. 235 236 po/fr.po | 12 ++++++++---- 237 1 file changed, 8 insertions(+), 4 deletions(-) 238 239commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53 240Author: Adrien Nader <adrien@notk.org> 241Date: 2014-12-03 20:00:53 +0100 242 243 po/fr: remove fuzzy marker for error messages that will be kept in English. 244 245 The following is a copy of a comment inside fr.po: 246 247 Note from translator on "file status flags". 248 The following entry is kept un-translated on purpose. It is difficult to 249 translate and should only happen in exceptional circumstances which means 250 that translating would: 251 - lose some of the meaning 252 - make it more difficult to look up in search engines; it might happen one 253 in 254 a million times, if we dilute the error message in 20 languages, it will be 255 almost impossible to find an explanation and support for the error. 256 257 po/fr.po | 22 ++++++++++++++++------ 258 1 file changed, 16 insertions(+), 6 deletions(-) 259 260commit 46cbb9033af8a21fafe543302d6919746e0d72af 261Author: Adrien Nader <adrien@notk.org> 262Date: 2014-12-03 19:58:25 +0100 263 264 po/fr: several minor updates and better wording. 265 266 Meaning doesn't change at all: it's only for better wording and/or 267 formatting of a few strings. 268 269 po/fr.po | 14 +++++++------- 270 1 file changed, 7 insertions(+), 7 deletions(-) 271 272commit 7ce49d444f04e73145f79c832eb4d510594b074a 273Author: Adrien Nader <adrien@notk.org> 274Date: 2014-12-03 19:56:12 +0100 275 276 po/fr: update my email address and copyright years. 277 278 po/fr.po | 4 ++-- 279 1 file changed, 2 insertions(+), 2 deletions(-) 280 281commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c 282Author: Adrien Nader <adrien@notk.org> 283Date: 2014-11-26 10:08:26 +0100 284 285 fr.po: commit file after only "update-po" so actual is readable. 286 287 po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++----------------------- 288 1 file changed, 199 insertions(+), 112 deletions(-) 289 290commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b 291Author: Lasse Collin <lasse.collin@tukaani.org> 292Date: 2014-12-02 20:04:07 +0200 293 294 liblzma: Document how lzma_mt.block_size affects memory usage. 295 296 src/liblzma/api/lzma/container.h | 4 ++++ 297 1 file changed, 4 insertions(+) 298 299commit e4fc1d2f9571fba79ce383595be2ea2a9257def0 300Author: Lasse Collin <lasse.collin@tukaani.org> 301Date: 2014-11-28 20:07:18 +0200 302 303 Update INSTALL about a "make check" failure in test_scripts.sh. 304 305 INSTALL | 24 +++++++++++++++++------- 306 1 file changed, 17 insertions(+), 7 deletions(-) 307 308commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe 309Author: Lasse Collin <lasse.collin@tukaani.org> 310Date: 2014-11-26 20:12:27 +0200 311 312 Remove LZMA_UNSTABLE macro. 313 314 src/liblzma/api/lzma/container.h | 4 ---- 315 src/liblzma/common/common.h | 2 -- 316 src/xz/private.h | 1 - 317 3 files changed, 7 deletions(-) 318 319commit 6d9c0ce9f2677b159e32b224aba5b535b304a705 320Author: Lasse Collin <lasse.collin@tukaani.org> 321Date: 2014-11-26 20:10:33 +0200 322 323 liblzma: Update lzma_stream_encoder_mt() API docs. 324 325 src/liblzma/api/lzma/container.h | 5 +++-- 326 1 file changed, 3 insertions(+), 2 deletions(-) 327 328commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3 329Author: Lasse Collin <lasse.collin@tukaani.org> 330Date: 2014-11-25 12:32:05 +0200 331 332 liblzma: Verify the filter chain in threaded encoder initialization. 333 334 This way an invalid filter chain is detected at the Stream 335 encoder initialization instead of delaying it to the first 336 call to lzma_code() which triggers the initialization of 337 the actual filter encoder(s). 338 339 src/liblzma/common/stream_encoder_mt.c | 9 ++++++--- 340 1 file changed, 6 insertions(+), 3 deletions(-) 341 342commit 107a263d5bb63cd3593fd6a5c938706539f84523 343Author: Lasse Collin <lasse.collin@tukaani.org> 344Date: 2014-11-17 19:11:49 +0200 345 346 Build: Update m4/ax_pthread.m4 from Autoconf Archive. 347 348 m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++------------------- 349 1 file changed, 47 insertions(+), 24 deletions(-) 350 351commit b13a781833399ff5726cfc997f3cb2f0acbdbf31 352Author: Lasse Collin <lasse.collin@tukaani.org> 353Date: 2014-11-17 18:52:21 +0200 354 355 Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING. 356 357 configure.ac | 36 ++++++++++++++++++------------------ 358 m4/tuklib_integer.m4 | 2 +- 359 2 files changed, 19 insertions(+), 19 deletions(-) 360 361commit 542cac122ed3550148a2af0033af22b757491378 362Author: Lasse Collin <lasse.collin@tukaani.org> 363Date: 2014-11-17 18:43:19 +0200 364 365 Build: Fix Autoconf warnings about escaped backquotes. 366 367 Thanks to Daniel Richard G. for pointing out that it's 368 good to sometimes run autoreconf -fi with -Wall. 369 370 configure.ac | 7 +++---- 371 1 file changed, 3 insertions(+), 4 deletions(-) 372 373commit 7b03a15cea8cd4f19ed680b51c4bcbae3ce4142f 374Author: Lasse Collin <lasse.collin@tukaani.org> 375Date: 2014-11-10 18:54:40 +0200 376 377 xzdiff: Use mkdir if mktemp isn't available. 378 379 src/scripts/xzdiff.in | 17 ++++++++++++++++- 380 1 file changed, 16 insertions(+), 1 deletion(-) 381 382commit f8c13e5e3609581d5dd9f8777985ca07f2390ad7 383Author: Lasse Collin <lasse.collin@tukaani.org> 384Date: 2014-11-10 18:45:01 +0200 385 386 xzdiff: Create a temporary directory to hold a temporary file. 387 388 This avoids the possibility of "File name too long" when 389 creating a temp file when the input file name is very long. 390 391 This also means that other users on the system can no longer 392 see the input file names in /tmp (or whatever $TMPDIR is) 393 since the temporary directory will have a generic name. This 394 usually doesn't matter since on many systems one can see 395 the arguments given to all processes anyway. 396 397 The number X chars to mktemp where increased from 6 to 10. 398 399 Note that with some shells temp files or dirs won't be used at all. 400 401 src/scripts/xzdiff.in | 10 +++++----- 402 1 file changed, 5 insertions(+), 5 deletions(-) 403 404commit 7716dcf9df7f457500cb657314e7a9aea5fedb06 405Author: Lasse Collin <lasse.collin@tukaani.org> 406Date: 2014-11-10 15:38:47 +0200 407 408 liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage(). 409 410 It read the filter chain from a wrong variable. This is a similar 411 bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e. 412 413 src/liblzma/common/stream_encoder_mt.c | 3 +-- 414 1 file changed, 1 insertion(+), 2 deletions(-) 415 416commit 230fa4a605542c84b4178a57381695a0af4e779b 417Author: Lasse Collin <lasse.collin@tukaani.org> 418Date: 2014-11-10 14:49:55 +0200 419 420 Update THANKS. 421 422 THANKS | 1 + 423 1 file changed, 1 insertion(+) 424 425commit 4e4ae08bc7c1711e399c9f2d26eb375d39d08101 426Author: Lasse Collin <lasse.collin@tukaani.org> 427Date: 2014-10-29 21:28:25 +0200 428 429 Update .gitignore files. 430 431 .gitignore | 2 ++ 432 m4/.gitignore | 3 +++ 433 2 files changed, 5 insertions(+) 434 435commit c923b140b27d1a055db6284e10fd546ad1a7fcdb 436Author: Lasse Collin <lasse.collin@tukaani.org> 437Date: 2014-10-29 21:15:35 +0200 438 439 Build: Prepare to support Automake's subdir-objects. 440 441 Due to a bug in Automake, subdir-objects won't be enabled 442 for now. 443 444 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354 445 446 Thanks to Daniel Richard G. for the original patches. 447 448 configure.ac | 7 ++++++- 449 src/Makefile.am | 22 +++++++++++++++++++++- 450 src/liblzma/Makefile.am | 4 ++-- 451 src/lzmainfo/Makefile.am | 4 ++-- 452 src/xz/Makefile.am | 10 +++++----- 453 src/xzdec/Makefile.am | 8 ++++---- 454 6 files changed, 40 insertions(+), 15 deletions(-) 455 456commit 08c2aa16bea0df82828f665d51fba2e0a5e8997f 457Author: Lasse Collin <lasse.collin@tukaani.org> 458Date: 2014-10-24 20:09:29 +0300 459 460 Translations: Update the Italian translation. 461 462 Thanks to Milo Casagrande. 463 464 po/it.po | 452 ++++++++++++++++++++++++++++++++++++++------------------------- 465 1 file changed, 275 insertions(+), 177 deletions(-) 466 467commit 2f9f61aa83539c54ff6c118a2693890f0519b3dd 468Author: Lasse Collin <lasse.collin@tukaani.org> 469Date: 2014-10-18 18:51:45 +0300 470 471 Translations: Update the Polish translation. 472 473 Thanks to Jakub Bogusz. 474 475 po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++----------------------- 476 1 file changed, 214 insertions(+), 118 deletions(-) 477 478commit 4f9d233f67aea25e532824d11b7642cf7dee7a76 479Author: Andre Noll <maan@tuebingen.mpg.de> 480Date: 2014-10-14 17:30:30 +0200 481 482 l10n: de.po: Change translator email address. 483 484 Although the old address is still working, the new one should 485 be preferred. So this commit changes all three places in de.po 486 accordingly. 487 488 Signed-off-by: Andre Noll <maan@tuebingen.mpg.de> 489 490 po/de.po | 6 +++--- 491 1 file changed, 3 insertions(+), 3 deletions(-) 492 493commit 00502b2bedad43f0cc167ac17ae0608837ee196b 494Author: Andre Noll <maan@tuebingen.mpg.de> 495Date: 2014-10-14 17:30:29 +0200 496 497 l10n: de.po: Update German translation 498 499 Signed-off-by: Andre Noll <maan@systemlinux.org> 500 501 po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------ 502 1 file changed, 281 insertions(+), 250 deletions(-) 503 504commit 706b0496753fb609e69f1570ec603f11162189d1 505Author: Andre Noll <maan@tuebingen.mpg.de> 506Date: 2014-10-14 17:30:28 +0200 507 508 l10n: de.po: Fix typo: Schießen -> Schließen. 509 510 That's a funny one since "schießen" means to shoot :) 511 512 Signed-off-by: Andre Noll <maan@systemlinux.org> 513 514 po/de.po | 2 +- 515 1 file changed, 1 insertion(+), 1 deletion(-) 516 517commit 7c32e6a935c3d7ee366abad1679bd5f322f0c7d4 518Author: Lasse Collin <lasse.collin@tukaani.org> 519Date: 2014-10-09 19:42:26 +0300 520 521 Update THANKS. 522 523 THANKS | 1 + 524 1 file changed, 1 insertion(+) 525 526commit 076258cc458f1e705041ac7a729b15ffe8c5214a 527Author: Lasse Collin <lasse.collin@tukaani.org> 528Date: 2014-10-09 19:41:51 +0300 529 530 Add support for AmigaOS/AROS to tuklib_physmem(). 531 532 Thanks to Fredrik Wikstrom. 533 534 m4/tuklib_physmem.m4 | 3 ++- 535 src/common/tuklib_physmem.c | 7 +++++++ 536 2 files changed, 9 insertions(+), 1 deletion(-) 537 538commit efa7b0a210e1baa8e128fc98c5443a944c39ad24 539Author: Lasse Collin <lasse.collin@tukaani.org> 540Date: 2014-10-09 18:42:14 +0300 541 542 xzgrep: Avoid passing both -q and -l to grep. 543 544 The behavior of grep -ql varies: 545 - GNU grep behaves like grep -q. 546 - OpenBSD grep behaves like grep -l. 547 548 POSIX doesn't make it 100 % clear what behavior is expected. 549 Anyway, using both -q and -l at the same time makes no sense 550 so both options simply should never be used at the same time. 551 552 Thanks to Christian Weisgerber. 553 554 src/scripts/xzgrep.in | 6 ++++-- 555 1 file changed, 4 insertions(+), 2 deletions(-) 556 557commit 9c5f76098c9986b48d2fc574a0b764f4cde0c538 558Author: Trần Ngọc Quân <vnwildman@gmail.com> 559Date: 2014-09-25 09:22:45 +0700 560 561 l10n: vi.po: Update Vietnamese translation 562 563 Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com> 564 565 po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------ 566 1 file changed, 84 insertions(+), 52 deletions(-) 567 568commit c4911f2db36d811896c73c008b4218d8fa9a4730 569Author: Lasse Collin <lasse.collin@tukaani.org> 570Date: 2014-09-25 18:38:48 +0300 571 572 Build: Detect supported compiler warning flags better. 573 574 Clang and nowadays also GCC accept any -Wfoobar option 575 but then may give a warning that an unknown warning option 576 was specified. To avoid adding unsupported warning options, 577 the options are now tested with -Werror. 578 579 Thanks to Charles Diza. 580 581 configure.ac | 5 +++-- 582 1 file changed, 3 insertions(+), 2 deletions(-) 583 584commit 76e75522ed6f5c228d55587dee5a997893f6e474 585Author: Lasse Collin <lasse.collin@tukaani.org> 586Date: 2014-09-20 21:01:21 +0300 587 588 Update NEWS for 5.0.7. 589 590 NEWS | 11 +++++++++++ 591 1 file changed, 11 insertions(+) 592 593commit d62028b4c1174fc67b6929f126f5eb24c018c700 594Author: Lasse Collin <lasse.collin@tukaani.org> 595Date: 2014-09-20 19:42:56 +0300 596 597 liblzma: Fix a portability problem in Makefile.am. 598 599 POSIX supports $< only in inference rules (suffix rules). 600 Using it elsewhere is a GNU make extension and doesn't 601 work e.g. with OpenBSD make. 602 603 Thanks to Christian Weisgerber for the patch. 604 605 src/liblzma/Makefile.am | 2 +- 606 1 file changed, 1 insertion(+), 1 deletion(-) 607 608commit c35de31d4283edad3e57d37ffe939406542cb7bb 609Author: Lasse Collin <lasse.collin@tukaani.org> 610Date: 2014-09-14 21:54:09 +0300 611 612 Bump the version number to 5.1.4beta. 613 614 src/liblzma/api/lzma/version.h | 4 ++-- 615 src/liblzma/liblzma.map | 2 +- 616 2 files changed, 3 insertions(+), 3 deletions(-) 617 618commit e9e097e22cacdaa23e5414fea7913535449cb340 619Author: Lasse Collin <lasse.collin@tukaani.org> 620Date: 2014-09-14 21:50:13 +0300 621 622 Update NEWS for 5.0.6 and 5.1.4beta. 623 624 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 625 1 file changed, 50 insertions(+) 626 627commit 642f856bb8562ab66704b1e01ac7bc08b6d0a663 628Author: Lasse Collin <lasse.collin@tukaani.org> 629Date: 2014-09-14 21:02:41 +0300 630 631 Update TODO. 632 633 TODO | 38 ++++++++++++++++++++++++++++++++++---- 634 1 file changed, 34 insertions(+), 4 deletions(-) 635 636commit 6b5e3b9eff5b8cedb2aac5f524d4d60fc8a48124 637Author: Lasse Collin <lasse.collin@tukaani.org> 638Date: 2014-08-05 22:32:36 +0300 639 640 xz: Add --ignore-check. 641 642 src/xz/args.c | 7 +++++++ 643 src/xz/args.h | 1 + 644 src/xz/coder.c | 10 +++++++++- 645 src/xz/message.c | 2 ++ 646 src/xz/xz.1 | 19 +++++++++++++++++++ 647 5 files changed, 38 insertions(+), 1 deletion(-) 648 649commit 9adbc2ff373f979c917cdfd3679ce0ebd59f1040 650Author: Lasse Collin <lasse.collin@tukaani.org> 651Date: 2014-08-05 22:15:07 +0300 652 653 liblzma: Add support for LZMA_IGNORE_CHECK. 654 655 src/liblzma/api/lzma/container.h | 24 ++++++++++++++++++++++++ 656 src/liblzma/common/common.h | 1 + 657 src/liblzma/common/stream_decoder.c | 14 ++++++++++++-- 658 3 files changed, 37 insertions(+), 2 deletions(-) 659 660commit 0e0f34b8e4f1c60ecaec15c2105982381cc9c3e6 661Author: Lasse Collin <lasse.collin@tukaani.org> 662Date: 2014-08-05 22:03:30 +0300 663 664 liblzma: Add support for lzma_block.ignore_check. 665 666 Note that this slightly changes how lzma_block_header_decode() 667 has been documented. Earlier it said that the .version is set 668 to the lowest required value, but now it says that the .version 669 field is kept unchanged if possible. In practice this doesn't 670 affect any old code, because before this commit the only 671 possible .version was 0. 672 673 src/liblzma/api/lzma/block.h | 50 ++++++++++++++++++++++++------- 674 src/liblzma/common/block_buffer_encoder.c | 2 +- 675 src/liblzma/common/block_decoder.c | 18 ++++++++--- 676 src/liblzma/common/block_encoder.c | 2 +- 677 src/liblzma/common/block_header_decoder.c | 12 ++++++-- 678 src/liblzma/common/block_header_encoder.c | 2 +- 679 src/liblzma/common/block_util.c | 2 +- 680 7 files changed, 68 insertions(+), 20 deletions(-) 681 682commit 71e1437ab585b46f7a25f5a131557d3d1c0cbaa2 683Author: Lasse Collin <lasse.collin@tukaani.org> 684Date: 2014-08-04 19:25:58 +0300 685 686 liblzma: Use lzma_memcmplen() in the BT3 match finder. 687 688 I had missed this when writing the commit 689 5db75054e900fa06ef5ade5f2c21dffdd5d16141. 690 691 Thanks to Jun I Jin. 692 693 src/liblzma/lz/lz_encoder_mf.c | 5 ++--- 694 1 file changed, 2 insertions(+), 3 deletions(-) 695 696commit 41dc9ea06e1414ebe8ef52afc8fc15b6e3282b04 697Author: Lasse Collin <lasse.collin@tukaani.org> 698Date: 2014-08-04 00:25:44 +0300 699 700 Update THANKS. 701 702 THANKS | 1 + 703 1 file changed, 1 insertion(+) 704 705commit 5dcffdbcc23a68abc3ac3539b30be71bc9b5af84 706Author: Lasse Collin <lasse.collin@tukaani.org> 707Date: 2014-08-03 21:32:25 +0300 708 709 liblzma: SHA-256: Optimize the Maj macro slightly. 710 711 The Maj macro is used where multiple things are added 712 together, so making Maj a sum of two expressions allows 713 some extra freedom for the compiler to schedule the 714 instructions. 715 716 I learned this trick from 717 <http://www.hackersdelight.org/corres.txt>. 718 719 src/liblzma/check/sha256.c | 2 +- 720 1 file changed, 1 insertion(+), 1 deletion(-) 721 722commit a9477d1e0c6fd0e47e637d051e7b9e2a5d9af517 723Author: Lasse Collin <lasse.collin@tukaani.org> 724Date: 2014-08-03 21:08:12 +0300 725 726 liblzma: SHA-256: Optimize the way rotations are done. 727 728 This looks weird because the rotations become sequential, 729 but it helps quite a bit on both 32-bit and 64-bit x86: 730 731 - It requires fewer instructions on two-operand 732 instruction sets like x86. 733 734 - It requires one register less which matters especially 735 on 32-bit x86. 736 737 I hope this doesn't hurt other archs. 738 739 I didn't invent this idea myself, but I don't remember where 740 I saw it first. 741 742 src/liblzma/check/sha256.c | 17 +++++++++++------ 743 1 file changed, 11 insertions(+), 6 deletions(-) 744 745commit 5a76c7c8ee9a0afbeedb1c211db9224260404347 746Author: Lasse Collin <lasse.collin@tukaani.org> 747Date: 2014-08-03 20:38:13 +0300 748 749 liblzma: SHA-256: Remove the GCC #pragma that became unneeded. 750 751 The unrolling in the previous commit should avoid the 752 situation where a compiler may think that an uninitialized 753 variable might be accessed. 754 755 src/liblzma/check/sha256.c | 5 ----- 756 1 file changed, 5 deletions(-) 757 758commit 9a096f8e57509775c331950b8351bbca77bdcfa8 759Author: Lasse Collin <lasse.collin@tukaani.org> 760Date: 2014-08-03 20:33:38 +0300 761 762 liblzma: SHA-256: Unroll a little more. 763 764 This way a branch isn't needed for each operation 765 to choose between blk0 and blk2, and still the code 766 doesn't grow as much as it would with full unrolling. 767 768 src/liblzma/check/sha256.c | 25 ++++++++++++++++--------- 769 1 file changed, 16 insertions(+), 9 deletions(-) 770 771commit bc7650d87bf27f85f1a2a806dc2db1780e09e6a5 772Author: Lasse Collin <lasse.collin@tukaani.org> 773Date: 2014-08-03 19:56:43 +0300 774 775 liblzma: SHA-256: Do the byteswapping without a temporary buffer. 776 777 src/liblzma/check/sha256.c | 13 +------------ 778 1 file changed, 1 insertion(+), 12 deletions(-) 779 780commit 544aaa3d13554e8640f9caf7db717a96360ec0f6 781Author: Lasse Collin <lasse.collin@tukaani.org> 782Date: 2014-07-25 22:38:28 +0300 783 784 liblzma: Use lzma_memcmplen() in normal mode of LZMA. 785 786 Two locations were not changed yet because the simplest change 787 assumes that the initial "len" may be greater than "limit". 788 789 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++--------------- 790 1 file changed, 5 insertions(+), 15 deletions(-) 791 792commit f48fce093b07aeda95c18850f5e086d9f2383380 793Author: Lasse Collin <lasse.collin@tukaani.org> 794Date: 2014-07-25 22:30:38 +0300 795 796 liblzma: Simplify LZMA fast mode code by using memcmp(). 797 798 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +---------- 799 1 file changed, 1 insertion(+), 10 deletions(-) 800 801commit 6bf5308e34e23dede5b301b1b9b4f131dacd9218 802Author: Lasse Collin <lasse.collin@tukaani.org> 803Date: 2014-07-25 22:29:49 +0300 804 805 liblzma: Use lzma_memcmplen() in fast mode of LZMA. 806 807 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++--- 808 1 file changed, 3 insertions(+), 3 deletions(-) 809 810commit 353212137e51e45b105a3a3fc2e6879f1cf0d492 811Author: Lasse Collin <lasse.collin@tukaani.org> 812Date: 2014-07-25 21:16:23 +0300 813 814 Update THANKS. 815 816 THANKS | 1 + 817 1 file changed, 1 insertion(+) 818 819commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141 820Author: Lasse Collin <lasse.collin@tukaani.org> 821Date: 2014-07-25 21:15:07 +0300 822 823 liblzma: Use lzma_memcmplen() in the match finders. 824 825 This doesn't change the match finder output. 826 827 src/liblzma/lz/lz_encoder.c | 13 ++++++++++++- 828 src/liblzma/lz/lz_encoder_mf.c | 33 +++++++++++---------------------- 829 2 files changed, 23 insertions(+), 23 deletions(-) 830 831commit e1c8f1d01f4a4e2136173edab2dc63c71ef038f4 832Author: Lasse Collin <lasse.collin@tukaani.org> 833Date: 2014-07-25 20:57:20 +0300 834 835 liblzma: Add lzma_memcmplen() for fast memory comparison. 836 837 This commit just adds the function. Its uses will be in 838 separate commits. 839 840 This hasn't been tested much yet and it's perhaps a bit early 841 to commit it but if there are bugs they should get found quite 842 quickly. 843 844 Thanks to Jun I Jin from Intel for help and for pointing out 845 that string comparison needs to be optimized in liblzma. 846 847 configure.ac | 13 +++ 848 src/liblzma/common/Makefile.inc | 1 + 849 src/liblzma/common/memcmplen.h | 170 ++++++++++++++++++++++++++++++++++++++++ 850 3 files changed, 184 insertions(+) 851 852commit 765735cf52e5123586e74a51b9c073b5257f631f 853Author: Lasse Collin <lasse.collin@tukaani.org> 854Date: 2014-07-12 21:10:09 +0300 855 856 Update THANKS. 857 858 THANKS | 1 + 859 1 file changed, 1 insertion(+) 860 861commit 59da01785ef66c7e62f36e70ca808fd2824bb995 862Author: Lasse Collin <lasse.collin@tukaani.org> 863Date: 2014-07-12 20:06:08 +0300 864 865 Translations: Add Vietnamese translation. 866 867 Thanks to Trần Ngọc Quân. 868 869 po/LINGUAS | 1 + 870 po/vi.po | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 871 2 files changed, 1008 insertions(+) 872 873commit 17215f751c354852700e7f8592ccf319570a0721 874Author: Lasse Collin <lasse.collin@tukaani.org> 875Date: 2014-06-29 20:54:14 +0300 876 877 xz: Update the help message of a few options. 878 879 Updated: --threads, --block-size, and --block-list 880 Added: --flush-timeout 881 882 src/xz/message.c | 18 +++++++++++------- 883 1 file changed, 11 insertions(+), 7 deletions(-) 884 885commit 96864a6ddf91ad693d102ea165f3d7918744d582 886Author: Lasse Collin <lasse.collin@tukaani.org> 887Date: 2014-06-18 22:07:06 +0300 888 889 xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores(). 890 891 src/xz/Makefile.am | 1 - 892 src/xz/hardware.c | 12 +++++++++--- 893 2 files changed, 9 insertions(+), 4 deletions(-) 894 895commit a115cc3748482e277f42a968baa3cd266f031dba 896Author: Lasse Collin <lasse.collin@tukaani.org> 897Date: 2014-06-18 22:04:24 +0300 898 899 liblzma: Add lzma_cputhreads(). 900 901 src/liblzma/Makefile.am | 8 +++++++- 902 src/liblzma/api/lzma/hardware.h | 14 ++++++++++++++ 903 src/liblzma/common/Makefile.inc | 1 + 904 src/liblzma/common/hardware_cputhreads.c | 22 ++++++++++++++++++++++ 905 src/liblzma/liblzma.map | 1 + 906 5 files changed, 45 insertions(+), 1 deletion(-) 907 908commit 3ce3e7976904fbab4e6482bafa442856f77a51fa 909Author: Lasse Collin <lasse.collin@tukaani.org> 910Date: 2014-06-18 19:11:52 +0300 911 912 xz: Check for filter chain compatibility for --flush-timeout. 913 914 This avoids LZMA_PROG_ERROR from lzma_code() with filter chains 915 that don't support LZMA_SYNC_FLUSH. 916 917 src/xz/coder.c | 30 +++++++++++++++++++++--------- 918 1 file changed, 21 insertions(+), 9 deletions(-) 919 920commit 381ac14ed79e5d38809f251705be8b3193bba417 921Author: Lasse Collin <lasse.collin@tukaani.org> 922Date: 2014-06-13 19:21:54 +0300 923 924 xzgrep: List xzgrep_expected_output in tests/Makefile.am. 925 926 tests/Makefile.am | 3 ++- 927 1 file changed, 2 insertions(+), 1 deletion(-) 928 929commit 4244b65b06d5ecaf6f9dd0387ac7e3166bd2364e 930Author: Lasse Collin <lasse.collin@tukaani.org> 931Date: 2014-06-13 18:58:22 +0300 932 933 xzgrep: Improve the test script. 934 935 Now it should be close to the functionality of the original 936 version by Pavel Raiskup. 937 938 tests/Makefile.am | 3 ++- 939 tests/test_scripts.sh | 24 ++++++++++++++---------- 940 tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++ 941 3 files changed, 55 insertions(+), 11 deletions(-) 942 943commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26 944Author: Lasse Collin <lasse.collin@tukaani.org> 945Date: 2014-06-11 21:03:25 +0300 946 947 xzgrep: Add a test for the previous fix. 948 949 This is a simplified version of Pavel Raiskup's 950 original patch. 951 952 tests/test_scripts.sh | 26 ++++++++++++++++++++++---- 953 1 file changed, 22 insertions(+), 4 deletions(-) 954 955commit ceca37901783988204caaf40dff4623d535cc789 956Author: Lasse Collin <lasse.collin@tukaani.org> 957Date: 2014-06-11 20:43:28 +0300 958 959 xzgrep: exit 0 when at least one file matches. 960 961 Mimic the original grep behavior and return exit_success when 962 at least one xz compressed file matches given pattern. 963 964 Original bugreport: 965 https://bugzilla.redhat.com/show_bug.cgi?id=1108085 966 967 Thanks to Pavel Raiskup for the patch. 968 969 src/scripts/xzgrep.in | 15 +++++++++++++-- 970 1 file changed, 13 insertions(+), 2 deletions(-) 971 972commit 8c19216baccb92d011694590df8a1262da2e980c 973Author: Lasse Collin <lasse.collin@tukaani.org> 974Date: 2014-06-09 21:21:24 +0300 975 976 xz: Force single-threaded mode when --flush-timeout is used. 977 978 src/xz/coder.c | 11 +++++++++++ 979 1 file changed, 11 insertions(+) 980 981commit 87f1a24810805187d7bbc8ac5512e7eec307ddf5 982Author: Lasse Collin <lasse.collin@tukaani.org> 983Date: 2014-05-25 22:05:39 +0300 984 985 Update THANKS. 986 987 THANKS | 1 + 988 1 file changed, 1 insertion(+) 989 990commit da1718f266fcfc091e7bf08aae1bc986d0e6cc6b 991Author: Lasse Collin <lasse.collin@tukaani.org> 992Date: 2014-05-25 21:45:56 +0300 993 994 liblzma: Use lzma_alloc_zero() in LZ encoder initialization. 995 996 This avoids a memzero() call for a newly-allocated memory, 997 which can be expensive when encoding small streams with 998 an over-sized dictionary. 999 1000 To avoid using lzma_alloc_zero() for memory that doesn't 1001 need to be zeroed, lzma_mf.son is now allocated separately, 1002 which requires handling it separately in normalize() too. 1003 1004 Thanks to Vincenzo Innocente for reporting the problem. 1005 1006 src/liblzma/lz/lz_encoder.c | 84 ++++++++++++++++++++++-------------------- 1007 src/liblzma/lz/lz_encoder.h | 2 +- 1008 src/liblzma/lz/lz_encoder_mf.c | 31 +++++++++------- 1009 3 files changed, 62 insertions(+), 55 deletions(-) 1010 1011commit 28af24e9cf2eb259997c85dce13d4c97b3daa47a 1012Author: Lasse Collin <lasse.collin@tukaani.org> 1013Date: 2014-05-25 19:25:57 +0300 1014 1015 liblzma: Add the internal function lzma_alloc_zero(). 1016 1017 src/liblzma/common/common.c | 21 +++++++++++++++++++++ 1018 src/liblzma/common/common.h | 6 ++++++ 1019 2 files changed, 27 insertions(+) 1020 1021commit ed9ac85822c490e34b68c259afa0b385d21d1c40 1022Author: Lasse Collin <lasse.collin@tukaani.org> 1023Date: 2014-05-08 18:03:09 +0300 1024 1025 xz: Fix uint64_t vs. size_t which broke 32-bit build. 1026 1027 Thanks to Christian Hesse. 1028 1029 src/xz/coder.c | 2 +- 1030 1 file changed, 1 insertion(+), 1 deletion(-) 1031 1032commit d716acdae3fa7996f9e68a7bac012e6d8d13dd02 1033Author: Lasse Collin <lasse.collin@tukaani.org> 1034Date: 2014-05-04 11:09:11 +0300 1035 1036 Docs: Update comments to refer to lzma/lzma12.h in example programs. 1037 1038 doc/examples/03_compress_custom.c | 6 +++--- 1039 1 file changed, 3 insertions(+), 3 deletions(-) 1040 1041commit 4d5b7b3fda31241ca86ed35e08e73f776ee916e0 1042Author: Lasse Collin <lasse.collin@tukaani.org> 1043Date: 2014-05-04 11:07:17 +0300 1044 1045 liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h. 1046 1047 It can be confusing that two header files have the same name. 1048 The public API file is still lzma.h. 1049 1050 src/liblzma/api/Makefile.am | 2 +- 1051 src/liblzma/api/lzma.h | 2 +- 1052 src/liblzma/api/lzma/lzma.h | 420 ------------------------------------------ 1053 src/liblzma/api/lzma/lzma12.h | 420 ++++++++++++++++++++++++++++++++++++++++++ 1054 4 files changed, 422 insertions(+), 422 deletions(-) 1055 1056commit 1555a9c5664afc7893a2b75e9970105437f01ef1 1057Author: Lasse Collin <lasse.collin@tukaani.org> 1058Date: 2014-04-25 17:53:42 +0300 1059 1060 Build: Fix the combination of --disable-xzdec --enable-lzmadec. 1061 1062 In this case "make install" could fail if the man page directory 1063 didn't already exist at the destination. If it did exist, a 1064 dangling symlink was created there. Now the link is omitted 1065 instead. This isn't the best fix but it's better than the old 1066 behavior. 1067 1068 src/xzdec/Makefile.am | 10 +++++++++- 1069 1 file changed, 9 insertions(+), 1 deletion(-) 1070 1071commit 56056571df3377eaa6ae6233b3ccc5d72e81d43d 1072Author: Lasse Collin <lasse.collin@tukaani.org> 1073Date: 2014-04-25 17:44:26 +0300 1074 1075 Build: Add --disable-doc to configure. 1076 1077 INSTALL | 6 ++++++ 1078 Makefile.am | 2 ++ 1079 configure.ac | 6 ++++++ 1080 3 files changed, 14 insertions(+) 1081 1082commit 6de61d8721097a6214810841aa85b08e303ac538 1083Author: Lasse Collin <lasse.collin@tukaani.org> 1084Date: 2014-04-24 18:06:24 +0300 1085 1086 Update INSTALL. 1087 1088 Add a note about failing "make check". The source of 1089 the problem should be fixed in libtool (if it really is 1090 a libtool bug and not mine) but I'm unable to spend time 1091 on that for now. Thanks to Nelson H. F. Beebe for reporting 1092 the issue. 1093 1094 Add a note about a possible need to run "ldconfig" after 1095 "make install". 1096 1097 INSTALL | 25 +++++++++++++++++++++++++ 1098 1 file changed, 25 insertions(+) 1099 1100commit 54df428799a8d853639b753d0e6784694d73eb3e 1101Author: Lasse Collin <lasse.collin@tukaani.org> 1102Date: 2014-04-09 17:26:10 +0300 1103 1104 xz: Rename a variable to avoid a namespace collision on Solaris. 1105 1106 I don't know the details but I have an impression that there's 1107 no problem in practice if using GCC since people have built xz 1108 with GCC (without patching xz), but renaming the variable cannot 1109 hurt either. 1110 1111 Thanks to Mark Ashley. 1112 1113 src/xz/signals.c | 12 +++++++----- 1114 1 file changed, 7 insertions(+), 5 deletions(-) 1115 1116commit 5876ca27daa1429676b1160007d9688266907f00 1117Author: Lasse Collin <lasse.collin@tukaani.org> 1118Date: 2014-01-29 20:19:41 +0200 1119 1120 Docs: Add example program for threaded encoding. 1121 1122 I didn't add -DLZMA_UNSTABLE to Makefile so one has to 1123 specify it manually as long as LZMA_UNSTABLE is needed. 1124 1125 doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++ 1126 doc/examples/Makefile | 3 +- 1127 2 files changed, 186 insertions(+), 1 deletion(-) 1128 1129commit 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e 1130Author: Lasse Collin <lasse.collin@tukaani.org> 1131Date: 2014-01-29 20:13:51 +0200 1132 1133 liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt(). 1134 1135 It read the filter chain from a wrong variable. 1136 1137 src/liblzma/common/stream_encoder_mt.c | 4 ++-- 1138 1 file changed, 2 insertions(+), 2 deletions(-) 1139 1140commit 673a4cb53de3a715685cb1b836da57a3c7dcd43c 1141Author: Lasse Collin <lasse.collin@tukaani.org> 1142Date: 2014-01-20 11:20:40 +0200 1143 1144 liblzma: Fix typo in a comment. 1145 1146 src/liblzma/api/lzma/block.h | 2 +- 1147 1 file changed, 1 insertion(+), 1 deletion(-) 1148 1149commit ad96a871a1470eb76d6233d3890ce9338047b7a3 1150Author: Lasse Collin <lasse.collin@tukaani.org> 1151Date: 2014-01-12 19:38:43 +0200 1152 1153 Windows: Add config.h for building liblzma with MSVC 2013. 1154 1155 This is for building liblzma. Building xz tool too requires 1156 a little more work. Maybe it will be supported, but for most 1157 MSVC users it's enough to be able to build liblzma. 1158 1159 C99 support in MSVC 2013 is almost usable which is a big 1160 improvement over earlier versions. It's "almost" because 1161 there's a dumb bug that breaks mixed declarations after 1162 an "if" statements unless the "if" statement uses braces: 1163 1164 https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug 1165 https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs 1166 1167 Hopefully it will get fixed. Then liblzma should be 1168 compilable with MSVC 2013 without patching. 1169 1170 windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1171 1 file changed, 139 insertions(+) 1172 1173commit 3d5c090872fab4212b57c290e8ed4d02c78c1737 1174Author: Lasse Collin <lasse.collin@tukaani.org> 1175Date: 2014-01-12 17:41:14 +0200 1176 1177 xz: Fix a comment. 1178 1179 src/xz/coder.c | 4 ++-- 1180 1 file changed, 2 insertions(+), 2 deletions(-) 1181 1182commit 69fd4e1c932c7975476a0143c86e45d81b60d3f9 1183Author: Lasse Collin <lasse.collin@tukaani.org> 1184Date: 2014-01-12 17:04:33 +0200 1185 1186 Windows: Add MSVC defines for inline and restrict keywords. 1187 1188 src/common/sysdefs.h | 10 ++++++++++ 1189 1 file changed, 10 insertions(+) 1190 1191commit a19d9e8575ee6647cd9154cf1f20203f1330485f 1192Author: Lasse Collin <lasse.collin@tukaani.org> 1193Date: 2014-01-12 16:44:52 +0200 1194 1195 liblzma: Avoid C99 compound literal arrays. 1196 1197 MSVC 2013 doesn't like them. Maybe they aren't so good 1198 for readability either since many aren't used to them. 1199 1200 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++--- 1201 1 file changed, 5 insertions(+), 3 deletions(-) 1202 1203commit e28528f1c867b2ed4ac91195ad08efb9bb8a6263 1204Author: Lasse Collin <lasse.collin@tukaani.org> 1205Date: 2014-01-12 12:50:30 +0200 1206 1207 liblzma: Remove a useless C99ism from sha256.c. 1208 1209 Unsurprisingly it makes no difference in compiled output. 1210 1211 src/liblzma/check/sha256.c | 2 +- 1212 1 file changed, 1 insertion(+), 1 deletion(-) 1213 1214commit 5ad1effc45adfb7dabc9a98e79736077e6b7e2d5 1215Author: Lasse Collin <lasse.collin@tukaani.org> 1216Date: 2014-01-12 12:17:08 +0200 1217 1218 xz: Fix use of wrong variable. 1219 1220 Since the only call to suffix_set() uses optarg 1221 as the argument, fixing this bug doesn't change 1222 the behavior of the program. 1223 1224 src/xz/suffix.c | 2 +- 1225 1 file changed, 1 insertion(+), 1 deletion(-) 1226 1227commit 3e62c68d75b5a3fdd46dbb34bb335d73289860d5 1228Author: Lasse Collin <lasse.collin@tukaani.org> 1229Date: 2014-01-12 12:11:36 +0200 1230 1231 Fix typos in comments. 1232 1233 src/common/mythread.h | 2 +- 1234 src/liblzma/check/crc32_fast.c | 2 +- 1235 2 files changed, 2 insertions(+), 2 deletions(-) 1236 1237commit e90ea601fb72867ec04adf456cbe4bf9520fd412 1238Author: Lasse Collin <lasse.collin@tukaani.org> 1239Date: 2013-11-26 18:20:16 +0200 1240 1241 Update THANKS. 1242 1243 THANKS | 1 + 1244 1 file changed, 1 insertion(+) 1245 1246commit b22e94d8d15764416354e04729382a7371ae2c30 1247Author: Lasse Collin <lasse.collin@tukaani.org> 1248Date: 2013-11-26 18:20:09 +0200 1249 1250 liblzma: Document the need for block->check for lzma_block_header_decode(). 1251 1252 Thanks to Tomer Chachamu. 1253 1254 src/liblzma/api/lzma/block.h | 3 +++ 1255 1 file changed, 3 insertions(+) 1256 1257commit d1cd8b1cb824b72421d1ee370e628024d2fcbec4 1258Author: Lasse Collin <lasse.collin@tukaani.org> 1259Date: 2013-11-12 16:38:57 +0200 1260 1261 xz: Update the man page about --block-size and --block-list. 1262 1263 src/xz/xz.1 | 24 +++++++++++++++--------- 1264 1 file changed, 15 insertions(+), 9 deletions(-) 1265 1266commit 76be7c612e6bcc38724488ccc3b8bcb1cfec9f0a 1267Author: Lasse Collin <lasse.collin@tukaani.org> 1268Date: 2013-11-12 16:30:53 +0200 1269 1270 Update THANKS. 1271 1272 THANKS | 1 + 1273 1 file changed, 1 insertion(+) 1274 1275commit dd750acbe2259d75444ef0f8da2d4bacc90d7afc 1276Author: Lasse Collin <lasse.collin@tukaani.org> 1277Date: 2013-11-12 16:29:48 +0200 1278 1279 xz: Make --block-list and --block-size work together in single-threaded. 1280 1281 Previously, --block-list and --block-size only worked together 1282 in threaded mode. Boundaries are specified by --block-list, but 1283 --block-size specifies the maximum size for a Block. Now this 1284 works in single-threaded mode too. 1285 1286 Thanks to James M Leddy for the original patch. 1287 1288 src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++---------- 1289 1 file changed, 75 insertions(+), 15 deletions(-) 1290 1291commit ae222fe9805d0161d022d75ba8485dab8bf6d7d5 1292Author: Lasse Collin <lasse.collin@tukaani.org> 1293Date: 2013-10-26 13:26:14 +0300 1294 1295 Bump the version number to 5.1.3alpha. 1296 1297 src/liblzma/api/lzma/version.h | 2 +- 1298 src/liblzma/liblzma.map | 2 +- 1299 2 files changed, 2 insertions(+), 2 deletions(-) 1300 1301commit 2193837a6a597cd3bf4e9ddf49421a5697d8e155 1302Author: Lasse Collin <lasse.collin@tukaani.org> 1303Date: 2013-10-26 13:25:02 +0300 1304 1305 Update NEWS for 5.1.3alpha. 1306 1307 NEWS | 35 +++++++++++++++++++++++++++++++++++ 1308 1 file changed, 35 insertions(+) 1309 1310commit ed48e75e2763876173aef8902da407a8eb28854b 1311Author: Lasse Collin <lasse.collin@tukaani.org> 1312Date: 2013-10-26 12:47:04 +0300 1313 1314 Update TODO. 1315 1316 TODO | 4 ---- 1317 1 file changed, 4 deletions(-) 1318 1319commit 841da0352d79a56a44796a4c39163429c9f039a3 1320Author: Lasse Collin <lasse.collin@tukaani.org> 1321Date: 2013-10-25 22:41:28 +0300 1322 1323 xz: Document behavior of --block-list with threads. 1324 1325 This needs to be updated before 5.2.0. 1326 1327 src/xz/xz.1 | 24 +++++++++++++++++++++--- 1328 1 file changed, 21 insertions(+), 3 deletions(-) 1329 1330commit 56feb8665b78c1032aabd53c619c62af51defe64 1331Author: Lasse Collin <lasse.collin@tukaani.org> 1332Date: 2013-10-22 20:03:12 +0300 1333 1334 xz: Document --flush-timeout=TIMEOUT on the man page. 1335 1336 src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++- 1337 1 file changed, 36 insertions(+), 1 deletion(-) 1338 1339commit ba413da1d5bb3324287cf3174922acd921165971 1340Author: Lasse Collin <lasse.collin@tukaani.org> 1341Date: 2013-10-22 19:51:55 +0300 1342 1343 xz: Take advantage of LZMA_FULL_BARRIER with --block-list. 1344 1345 Now if --block-list is used in threaded mode, the encoder 1346 won't need to flush at each Block boundary specified via 1347 --block-list. This improves performance a lot, making 1348 threading helpful with --block-list. 1349 1350 The flush timer was reset after LZMA_FULL_FLUSH but since 1351 LZMA_FULL_BARRIER doesn't flush, resetting the timer is 1352 no longer done. 1353 1354 src/xz/coder.c | 32 +++++++++++++++----------------- 1355 1 file changed, 15 insertions(+), 17 deletions(-) 1356 1357commit 0cd45fc2bc5537de287a0bc005e2d67467a92148 1358Author: Lasse Collin <lasse.collin@tukaani.org> 1359Date: 2013-10-02 20:05:23 +0300 1360 1361 liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder. 1362 1363 Now --block-list=SIZES works with in the threaded mode too, 1364 although the performance is still bad due to the use of 1365 LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER. 1366 1367 src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++---------- 1368 1 file changed, 39 insertions(+), 16 deletions(-) 1369 1370commit 97bb38712f414fabecca908af2e38a12570293fd 1371Author: Lasse Collin <lasse.collin@tukaani.org> 1372Date: 2013-10-02 12:55:11 +0300 1373 1374 liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder. 1375 1376 In the single-threaded encoder LZMA_FULL_BARRIER is simply 1377 an alias for LZMA_FULL_FLUSH. 1378 1379 src/liblzma/api/lzma/base.h | 37 ++++++++++++++++++++++++++++++------- 1380 src/liblzma/common/common.c | 17 +++++++++++++++-- 1381 src/liblzma/common/common.h | 7 ++++++- 1382 src/liblzma/common/stream_encoder.c | 4 +++- 1383 4 files changed, 54 insertions(+), 11 deletions(-) 1384 1385commit fef0c6b410c08e581c9178700a4e7599f0895ff9 1386Author: Lasse Collin <lasse.collin@tukaani.org> 1387Date: 2013-09-17 11:57:51 +0300 1388 1389 liblzma: Add block_buffer_encoder.h into Makefile.inc. 1390 1391 This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc. 1392 1393 src/liblzma/common/Makefile.inc | 1 + 1394 1 file changed, 1 insertion(+) 1395 1396commit 8083e03291b6d21c0f538163e187b4e8cd5594e4 1397Author: Lasse Collin <lasse.collin@tukaani.org> 1398Date: 2013-09-17 11:55:38 +0300 1399 1400 xz: Add a missing test for TUKLIB_DOSLIKE. 1401 1402 src/xz/file_io.c | 2 ++ 1403 1 file changed, 2 insertions(+) 1404 1405commit 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0 1406Author: Lasse Collin <lasse.collin@tukaani.org> 1407Date: 2013-09-17 11:52:28 +0300 1408 1409 Add native threading support on Windows. 1410 1411 Now liblzma only uses "mythread" functions and types 1412 which are defined in mythread.h matching the desired 1413 threading method. 1414 1415 Before Windows Vista, there is no direct equivalent to 1416 pthread condition variables. Since this package doesn't 1417 use pthread_cond_broadcast(), pre-Vista threading can 1418 still be kept quite simple. The pre-Vista code doesn't 1419 use anything that wasn't already available in Windows 95, 1420 so the binaries should run even on Windows 95 if someone 1421 happens to care. 1422 1423 INSTALL | 41 ++- 1424 configure.ac | 118 ++++++-- 1425 src/common/mythread.h | 513 ++++++++++++++++++++++++++------- 1426 src/liblzma/common/stream_encoder_mt.c | 83 +++--- 1427 src/xz/coder.c | 8 +- 1428 windows/README-Windows.txt | 2 +- 1429 windows/build.bash | 23 +- 1430 7 files changed, 573 insertions(+), 215 deletions(-) 1431 1432commit ae0ab74a88d5b9b15845f1d9a24ade4349a54f9f 1433Author: Lasse Collin <lasse.collin@tukaani.org> 1434Date: 2013-09-11 14:40:35 +0300 1435 1436 Build: Remove a comment about Automake 1.10 from configure.ac. 1437 1438 The previous commit supports silent rules and that requires 1439 Automake 1.11. 1440 1441 configure.ac | 2 -- 1442 1 file changed, 2 deletions(-) 1443 1444commit 72975df6c8c59aaf849138ab3606e8fb6970596a 1445Author: Lasse Collin <lasse.collin@tukaani.org> 1446Date: 2013-09-09 20:37:03 +0300 1447 1448 Build: Create liblzma.pc in a src/liblzma/Makefile.am. 1449 1450 Previously it was done in configure, but doing that goes 1451 against the Autoconf manual. Autoconf requires that it is 1452 possible to override e.g. prefix after running configure 1453 and that doesn't work correctly if liblzma.pc is created 1454 by configure. 1455 1456 A potential downside of this change is that now e.g. 1457 libdir in liblzma.pc is a standalone string instead of 1458 being defined via ${prefix}, so if one overrides prefix 1459 when running pkg-config the libdir won't get the new value. 1460 I don't know if this matters in practice. 1461 1462 Thanks to Vincent Torri. 1463 1464 configure.ac | 1 - 1465 src/liblzma/Makefile.am | 20 ++++++++++++++++++++ 1466 2 files changed, 20 insertions(+), 1 deletion(-) 1467 1468commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc 1469Author: Lasse Collin <lasse.collin@tukaani.org> 1470Date: 2013-08-04 15:24:09 +0300 1471 1472 Fix the previous commit which broke the build. 1473 1474 Apparently I didn't even compile-test the previous commit. 1475 1476 Thanks to Christian Hesse. 1477 1478 src/common/tuklib_cpucores.c | 2 +- 1479 1 file changed, 1 insertion(+), 1 deletion(-) 1480 1481commit 124eb69c7857f618b4807588c51bc9ba21bf8691 1482Author: Lasse Collin <lasse.collin@tukaani.org> 1483Date: 2013-08-03 13:52:58 +0300 1484 1485 Windows: Add Windows support to tuklib_cpucores(). 1486 1487 It is used for Cygwin too. I'm not sure if that is 1488 a good or bad idea. 1489 1490 Thanks to Vincent Torri. 1491 1492 m4/tuklib_cpucores.m4 | 19 +++++++++++++++++-- 1493 src/common/tuklib_cpucores.c | 13 ++++++++++++- 1494 2 files changed, 29 insertions(+), 3 deletions(-) 1495 1496commit eada8a875ce3fd521cb42e4ace2624d3d49c5f35 1497Author: Anders F Bjorklund <afb@users.sourceforge.net> 1498Date: 2013-08-02 15:59:46 +0200 1499 1500 macosx: separate liblzma package 1501 1502 macosx/build.sh | 23 +++++++++++++++-------- 1503 1 file changed, 15 insertions(+), 8 deletions(-) 1504 1505commit be0100d01ca6a75899d051bee00acf17e6dc0c15 1506Author: Anders F Bjorklund <afb@users.sourceforge.net> 1507Date: 2013-08-02 15:58:44 +0200 1508 1509 macosx: set minimum to leopard 1510 1511 macosx/build.sh | 13 ++++++++----- 1512 1 file changed, 8 insertions(+), 5 deletions(-) 1513 1514commit 416729e2d743f4b2fe9fd438eedeb98adce033c3 1515Author: Anders F Bjorklund <afb@users.sourceforge.net> 1516Date: 2011-08-07 13:13:30 +0200 1517 1518 move configurables into variables 1519 1520 macosx/build.sh | 25 ++++++++++++++++++------- 1521 1 file changed, 18 insertions(+), 7 deletions(-) 1522 1523commit 16581080e5f29f9a4e49efece21c5bf572323acc 1524Author: Lasse Collin <lasse.collin@tukaani.org> 1525Date: 2013-07-15 14:08:41 +0300 1526 1527 Update THANKS. 1528 1529 THANKS | 1 + 1530 1 file changed, 1 insertion(+) 1531 1532commit 3e2b198ba37b624efd9c7caee2a435dc986b46c6 1533Author: Lasse Collin <lasse.collin@tukaani.org> 1534Date: 2013-07-15 14:08:02 +0300 1535 1536 Build: Fix the detection of missing CRC32. 1537 1538 Thanks to Vincent Torri. 1539 1540 configure.ac | 2 +- 1541 1 file changed, 1 insertion(+), 1 deletion(-) 1542 1543commit dee6ad3d5915422bc30a6821efeacaeb8ca8ef00 1544Author: Lasse Collin <lasse.collin@tukaani.org> 1545Date: 2013-07-04 14:18:46 +0300 1546 1547 xz: Add preliminary support for --flush-timeout=TIMEOUT. 1548 1549 When --flush-timeout=TIMEOUT is used, xz will use 1550 LZMA_SYNC_FLUSH if read() would block and at least 1551 TIMEOUT milliseconds has elapsed since the previous flush. 1552 1553 This can be useful in realtime-like use cases where the 1554 data is simultanously decompressed by another process 1555 (possibly on a different computer). If new uncompressed 1556 input data is produced slowly, without this option xz could 1557 buffer the data for a long time until it would become 1558 decompressible from the output. 1559 1560 If TIMEOUT is 0, the feature is disabled. This is the default. 1561 1562 This commit affects the compression side. Using xz for 1563 the decompression side for the above purpose doesn't work 1564 yet so well because there is quite a bit of input and 1565 output buffering when decompressing. 1566 1567 The --long-help or man page were not updated yet. 1568 The details of this feature may change. 1569 1570 src/xz/args.c | 7 +++++++ 1571 src/xz/coder.c | 46 +++++++++++++++++++++++++++++++++++----------- 1572 src/xz/file_io.c | 46 ++++++++++++++++++++++++++++++++++++---------- 1573 3 files changed, 78 insertions(+), 21 deletions(-) 1574 1575commit fa381acaf9a29a8114e1c0a97de99bab9adb014e 1576Author: Lasse Collin <lasse.collin@tukaani.org> 1577Date: 2013-07-04 13:41:03 +0300 1578 1579 xz: Don't set src_eof=true after an I/O error because it's useless. 1580 1581 src/xz/file_io.c | 3 --- 1582 1 file changed, 3 deletions(-) 1583 1584commit ea00545beace5b950f709ec21e46878e0f448678 1585Author: Lasse Collin <lasse.collin@tukaani.org> 1586Date: 2013-07-04 13:25:11 +0300 1587 1588 xz: Fix the test when to read more input. 1589 1590 Testing for end of file was no longer correct after full flushing 1591 became possible with --block-size=SIZE and --block-list=SIZES. 1592 There was no bug in practice though because xz just made a few 1593 unneeded zero-byte reads. 1594 1595 src/xz/coder.c | 6 +++--- 1596 1 file changed, 3 insertions(+), 3 deletions(-) 1597 1598commit 736903c64bef394c06685d79908e397bcb08b88f 1599Author: Lasse Collin <lasse.collin@tukaani.org> 1600Date: 2013-07-04 12:51:57 +0300 1601 1602 xz: Move some of the timing code into mytime.[hc]. 1603 1604 This switches units from microseconds to milliseconds. 1605 1606 New clock_gettime(CLOCK_MONOTONIC) will be used if available. 1607 There is still a fallback to gettimeofday(). 1608 1609 src/xz/Makefile.am | 2 ++ 1610 src/xz/coder.c | 5 +++ 1611 src/xz/message.c | 54 +++++++++------------------------ 1612 src/xz/mytime.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1613 src/xz/mytime.h | 47 ++++++++++++++++++++++++++++ 1614 src/xz/private.h | 1 + 1615 6 files changed, 158 insertions(+), 40 deletions(-) 1616 1617commit 24edf8d807e24ffaa1e793114d94cca3b970027d 1618Author: Lasse Collin <lasse.collin@tukaani.org> 1619Date: 2013-07-01 14:35:03 +0300 1620 1621 Update THANKS. 1622 1623 THANKS | 1 + 1624 1 file changed, 1 insertion(+) 1625 1626commit c0627b3fceacfa1ed162f5f55235360ea26f569a 1627Author: Lasse Collin <lasse.collin@tukaani.org> 1628Date: 2013-07-01 14:34:11 +0300 1629 1630 xz: Silence a warning seen with _FORTIFY_SOURCE=2. 1631 1632 Thanks to Christian Hesse. 1633 1634 src/xz/file_io.c | 8 +++++++- 1635 1 file changed, 7 insertions(+), 1 deletion(-) 1636 1637commit 1936718bb38ee394bd89836fdd4eabc0beb02443 1638Author: Lasse Collin <lasse.collin@tukaani.org> 1639Date: 2013-06-30 19:40:11 +0300 1640 1641 Update NEWS for 5.0.5. 1642 1643 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1644 1 file changed, 52 insertions(+) 1645 1646commit a37ae8b5eb6093a530198f109c6f7a538c80ecf0 1647Author: Lasse Collin <lasse.collin@tukaani.org> 1648Date: 2013-06-30 18:02:27 +0300 1649 1650 Man pages: Use similar syntax for synopsis as in xz. 1651 1652 The man pages of lzmainfo, xzmore, and xzdec had similar 1653 constructs as the man page of xz had before the commit 1654 eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond 1655 didn't mention these man pages in his bug report, but 1656 it's nice to be consistent. 1657 1658 src/lzmainfo/lzmainfo.1 | 4 ++-- 1659 src/scripts/xzmore.1 | 6 +++--- 1660 src/xzdec/xzdec.1 | 10 +++++----- 1661 3 files changed, 10 insertions(+), 10 deletions(-) 1662 1663commit cdba9ddd870ae72fd6219a125662c20ec997f86c 1664Author: Lasse Collin <lasse.collin@tukaani.org> 1665Date: 2013-06-29 15:59:13 +0300 1666 1667 xz: Use non-blocking I/O for the output file. 1668 1669 Now both reading and writing should be without 1670 race conditions with signals. 1671 1672 They might still be signal handling issues left. 1673 Signals are blocked during many operations to avoid 1674 EINTR but it may cause problems e.g. if writing to 1675 stderr blocks when trying to display an error message. 1676 1677 src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 1678 1 file changed, 49 insertions(+), 8 deletions(-) 1679 1680commit e61a5c95da3fe31281d959e5e842885a8ba2b5bd 1681Author: Lasse Collin <lasse.collin@tukaani.org> 1682Date: 2013-06-28 23:56:17 +0300 1683 1684 xz: Fix return value type in io_write_buf(). 1685 1686 It didn't affect the behavior of the code since -1 1687 becomes true anyway. 1688 1689 src/xz/file_io.c | 2 +- 1690 1 file changed, 1 insertion(+), 1 deletion(-) 1691 1692commit 9dc319eabb34a826f4945f91c71620f14a60e9e2 1693Author: Lasse Collin <lasse.collin@tukaani.org> 1694Date: 2013-06-28 23:48:05 +0300 1695 1696 xz: Use the self-pipe trick to avoid a race condition with signals. 1697 1698 It is possible that a signal to set user_abort arrives right 1699 before a blocking system call is made. In this case the call 1700 may block until another signal arrives, while the wanted 1701 behavior is to make xz clean up and exit as soon as possible. 1702 1703 After this commit, the race condition is avoided with the 1704 input side which already uses non-blocking I/O. The output 1705 side still uses blocking I/O and thus has the race condition. 1706 1707 src/xz/file_io.c | 56 ++++++++++++++++++++++++++++++++++++++++++++------------ 1708 src/xz/file_io.h | 8 ++++++++ 1709 src/xz/signals.c | 5 +++++ 1710 3 files changed, 57 insertions(+), 12 deletions(-) 1711 1712commit 3541bc79d0cfabc0ad155c99bfdad1289f17fec3 1713Author: Lasse Collin <lasse.collin@tukaani.org> 1714Date: 2013-06-28 22:51:02 +0300 1715 1716 xz: Use non-blocking I/O for the input file. 1717 1718 src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++---------------- 1719 1 file changed, 111 insertions(+), 45 deletions(-) 1720 1721commit 78673a08bed5066c81e8a8e90d20e670c28ecfd5 1722Author: Lasse Collin <lasse.collin@tukaani.org> 1723Date: 2013-06-28 18:46:13 +0300 1724 1725 xz: Remove an outdated NetBSD-specific comment. 1726 1727 Nowadays errno == EFTYPE is documented in open(2). 1728 1729 src/xz/file_io.c | 4 ---- 1730 1 file changed, 4 deletions(-) 1731 1732commit a616fdad34b48b2932ef03fb87309dcc8b829527 1733Author: Lasse Collin <lasse.collin@tukaani.org> 1734Date: 2013-06-28 18:09:47 +0300 1735 1736 xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls. 1737 1738 POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on 1739 error and "other than -1" on success. This is how it is 1740 documented e.g. on OpenBSD too. On Linux, success with 1741 F_SETFL is always 0 (at least accorinding to fcntl(2) 1742 from man-pages 3.51). 1743 1744 src/xz/file_io.c | 8 ++++---- 1745 1 file changed, 4 insertions(+), 4 deletions(-) 1746 1747commit 4a08a6e4c61c65ab763ab314100a6d7a3bb89298 1748Author: Lasse Collin <lasse.collin@tukaani.org> 1749Date: 2013-06-28 17:36:47 +0300 1750 1751 xz: Fix use of wrong variable in a fcntl() call. 1752 1753 Due to a wrong variable name, when writing a sparse file 1754 to standard output, *all* file status flags were cleared 1755 (to the extent the operating system allowed it) instead of 1756 only clearing the O_APPEND flag. In practice this worked 1757 fine in the common situations on GNU/Linux, but I didn't 1758 check how it behaved elsewhere. 1759 1760 The original flags were still restored correctly. I still 1761 changed the code to use a separate boolean variable to 1762 indicate when the flags should be restored instead of 1763 relying on a special value in stdout_flags. 1764 1765 src/xz/file_io.c | 24 +++++++++++++----------- 1766 1 file changed, 13 insertions(+), 11 deletions(-) 1767 1768commit b790b435daa3351067f80a5973b647f8d55367a2 1769Author: Lasse Collin <lasse.collin@tukaani.org> 1770Date: 2013-06-28 14:55:37 +0300 1771 1772 xz: Fix assertion related to posix_fadvise(). 1773 1774 Input file can be a FIFO or something else that doesn't 1775 support posix_fadvise() so don't check the return value 1776 even with an assertion. Nothing bad happens if the call 1777 to posix_fadvise() fails. 1778 1779 src/xz/file_io.c | 10 ++-------- 1780 1 file changed, 2 insertions(+), 8 deletions(-) 1781 1782commit 84d2da6c9dc252f441deb7626c2522202b005d4d 1783Author: Lasse Collin <lasse.collin@tukaani.org> 1784Date: 2013-06-26 13:30:57 +0300 1785 1786 xz: Check the value of lzma_stream_flags.version in --list. 1787 1788 It is a no-op for now, but if an old xz version is used 1789 together with a newer liblzma that supports something new, 1790 then this check becomes important and will stop the old xz 1791 from trying to parse files that it won't understand. 1792 1793 src/xz/list.c | 14 ++++++++++++++ 1794 1 file changed, 14 insertions(+) 1795 1796commit 9376f5f8f762296f2173d61af9101112c36f38c0 1797Author: Lasse Collin <lasse.collin@tukaani.org> 1798Date: 2013-06-26 12:17:00 +0300 1799 1800 Build: Require Automake 1.12 and use serial-tests option. 1801 1802 It should actually still work with Automake 1.10 if 1803 the serial-tests option is removed. Automake 1.13 started 1804 using parallel tests by default and the option to get 1805 the old behavior isn't supported before 1.12. 1806 1807 At least for now, parallel tests don't improve anything 1808 in XZ Utils but they hide the progress output from 1809 test_compress.sh. 1810 1811 configure.ac | 4 +++- 1812 1 file changed, 3 insertions(+), 1 deletion(-) 1813 1814commit b7e200d7bd0a3c7c171c13ad37d68296d6f73374 1815Author: Lasse Collin <lasse.collin@tukaani.org> 1816Date: 2013-06-23 18:59:13 +0300 1817 1818 Update THANKS. 1819 1820 THANKS | 1 + 1821 1 file changed, 1 insertion(+) 1822 1823commit 46540e4c10923e363741ff5aab99e79fc0ce6ee8 1824Author: Lasse Collin <lasse.collin@tukaani.org> 1825Date: 2013-06-23 18:57:23 +0300 1826 1827 liblzma: Avoid a warning about a shadowed variable. 1828 1829 On Mac OS X wait() is declared in <sys/wait.h> that 1830 we include one way or other so don't use "wait" as 1831 a variable name. 1832 1833 Thanks to Christian Kujau. 1834 1835 src/liblzma/common/stream_encoder_mt.c | 4 ++-- 1836 1 file changed, 2 insertions(+), 2 deletions(-) 1837 1838commit ebb501ec73cecc546c67117dd01b5e33c90bfb4a 1839Author: Lasse Collin <lasse.collin@tukaani.org> 1840Date: 2013-06-23 17:36:47 +0300 1841 1842 xz: Validate Uncompressed Size from Block Header in list.c. 1843 1844 This affects only "xz -lvv". Normal decompression with xz 1845 already detected if Block Header and Index had mismatched 1846 Uncompressed Size fields. So this just makes "xz -lvv" 1847 show such files as corrupt instead of showing the 1848 Uncompressed Size from Index. 1849 1850 src/xz/list.c | 14 +++++++++++++- 1851 1 file changed, 13 insertions(+), 1 deletion(-) 1852 1853commit c09e91dd236d3cabee0fc48312b3dc8cceae41ab 1854Author: Lasse Collin <lasse.collin@tukaani.org> 1855Date: 2013-06-21 22:08:11 +0300 1856 1857 Update THANKS. 1858 1859 THANKS | 2 ++ 1860 1 file changed, 2 insertions(+) 1861 1862commit eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494 1863Author: Lasse Collin <lasse.collin@tukaani.org> 1864Date: 2013-06-21 22:04:45 +0300 1865 1866 xz: Make the man page more friendly to doclifter. 1867 1868 Thanks to Eric S. Raymond. 1869 1870 src/xz/xz.1 | 7 ++++--- 1871 1 file changed, 4 insertions(+), 3 deletions(-) 1872 1873commit 0c0a1947e6ad90a0a10b7a5c39f6ab99a0aa5c93 1874Author: Lasse Collin <lasse.collin@tukaani.org> 1875Date: 2013-06-21 21:54:59 +0300 1876 1877 xz: A couple of man page fixes. 1878 1879 Now the interaction of presets and custom filter chains 1880 is described correctly. Earlier it contradicted itself. 1881 1882 Thanks to DevHC who reported these issues on IRC to me 1883 on 2012-12-14. 1884 1885 src/xz/xz.1 | 35 +++++++++++++++++++++++------------ 1886 1 file changed, 23 insertions(+), 12 deletions(-) 1887 1888commit 2fcda89939c903106c429e109083d43d894049e0 1889Author: Lasse Collin <lasse.collin@tukaani.org> 1890Date: 2013-06-21 21:50:26 +0300 1891 1892 xz: Fix interaction between preset and custom filter chains. 1893 1894 There was somewhat illogical behavior when --extreme was 1895 specified and mixed with custom filter chains. 1896 1897 Before this commit, "xz -9 --lzma2 -e" was equivalent 1898 to "xz --lzma2". After it is equivalent to "xz -6e" 1899 (all earlier preset options get forgotten when a custom 1900 filter chain is specified and the default preset is 6 1901 to which -e is applied). I find this less illogical. 1902 1903 This also affects the meaning of "xz -9e --lzma2 -7". 1904 Earlier it was equivalent to "xz -7e" (the -e specified 1905 before a custom filter chain wasn't forgotten). Now it 1906 is "xz -7". Note that "xz -7e" still is the same as "xz -e7". 1907 1908 Hopefully very few cared about this in the first place, 1909 so pretty much no one should even notice this change. 1910 1911 Thanks to Conley Moorhous. 1912 1913 src/xz/coder.c | 35 +++++++++++++++++++++-------------- 1914 1 file changed, 21 insertions(+), 14 deletions(-) 1915 1916commit 97379c5ea758da3f8b0bc444d5f7fa43753ce610 1917Author: Lasse Collin <lasse.collin@tukaani.org> 1918Date: 2013-04-27 22:07:46 +0300 1919 1920 Build: Use -Wvla with GCC if supported. 1921 1922 Variable-length arrays are mandatory in C99 but optional in C11. 1923 The code doesn't currently use any VLAs and it shouldn't in the 1924 future either to stay compatible with C11 without requiring any 1925 optional C11 features. 1926 1927 configure.ac | 1 + 1928 1 file changed, 1 insertion(+) 1929 1930commit 8957c58609d3987c58aa72b96c436cf565cc4917 1931Author: Lasse Collin <lasse.collin@tukaani.org> 1932Date: 2013-04-15 19:29:09 +0300 1933 1934 xzdec: Improve the --help message. 1935 1936 The options are now ordered in the same order as in xz's help 1937 message. 1938 1939 Descriptions were added to the options that are ignored. 1940 I left them in parenthesis even if it looks a bit weird 1941 because I find it easier to spot the ignored vs. non-ignored 1942 options from the list that way. 1943 1944 src/xzdec/xzdec.c | 10 +++++----- 1945 1 file changed, 5 insertions(+), 5 deletions(-) 1946 1947commit ed886e1a92534a24401d0e99c11f1dcff3b5220a 1948Author: Lasse Collin <lasse.collin@tukaani.org> 1949Date: 2013-04-05 19:25:40 +0300 1950 1951 Update THANKS. 1952 1953 THANKS | 2 ++ 1954 1 file changed, 2 insertions(+) 1955 1956commit 5019413a055ce29e660dbbf15e02443cb5a26c59 1957Author: Jeff Bastian <jbastian@redhat.com> 1958Date: 2013-04-03 13:59:17 +0200 1959 1960 xzgrep: make the '-h' option to be --no-filename equivalent 1961 1962 * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing. 1963 1964 src/scripts/xzgrep.in | 2 +- 1965 1 file changed, 1 insertion(+), 1 deletion(-) 1966 1967commit 5ea900cb5ad862bca81316729f92357c1fc040ce 1968Author: Lasse Collin <lasse.collin@tukaani.org> 1969Date: 2013-03-23 22:25:15 +0200 1970 1971 liblzma: Be less picky in lzma_alone_decoder(). 1972 1973 To avoid false positives when detecting .lzma files, 1974 rare values in dictionary size and uncompressed size fields 1975 were rejected. They will still be rejected if .lzma files 1976 are decoded with lzma_auto_decoder(), but when using 1977 lzma_alone_decoder() directly, such files will now be accepted. 1978 Hopefully this is an OK compromise. 1979 1980 This doesn't affect xz because xz still has its own file 1981 format detection code. This does affect lzmadec though. 1982 So after this commit lzmadec will accept files that xz or 1983 xz-emulating-lzma doesn't. 1984 1985 NOTE: lzma_alone_decoder() still won't decode all .lzma files 1986 because liblzma's LZMA decoder doesn't support lc + lp > 4. 1987 1988 Reported here: 1989 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827 1990 1991 src/liblzma/common/alone_decoder.c | 22 ++++++++++++++-------- 1992 src/liblzma/common/alone_decoder.h | 5 +++-- 1993 src/liblzma/common/auto_decoder.c | 2 +- 1994 3 files changed, 18 insertions(+), 11 deletions(-) 1995 1996commit bb117fffa84604b6e3811b068c80db82bf7f7b05 1997Author: Lasse Collin <lasse.collin@tukaani.org> 1998Date: 2013-03-23 21:55:13 +0200 1999 2000 liblzma: Use lzma_block_buffer_bound64() in threaded encoder. 2001 2002 Now it uses lzma_block_uncomp_encode() if the data doesn't 2003 fit into the space calculated by lzma_block_buffer_bound64(). 2004 2005 src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++--------- 2006 1 file changed, 50 insertions(+), 16 deletions(-) 2007 2008commit e572e123b55b29527e54ce5f0807f115481d78b9 2009Author: Lasse Collin <lasse.collin@tukaani.org> 2010Date: 2013-03-23 21:51:38 +0200 2011 2012 liblzma: Fix another deadlock in the threaded encoder. 2013 2014 This race condition could cause a deadlock if lzma_end() was 2015 called before finishing the encoding. This can happen with 2016 xz with debugging enabled (non-debugging version doesn't 2017 call lzma_end() before exiting). 2018 2019 src/liblzma/common/stream_encoder_mt.c | 9 ++++++--- 2020 1 file changed, 6 insertions(+), 3 deletions(-) 2021 2022commit b465da5988dd59ad98fda10c2e4ea13d0b9c73bc 2023Author: Lasse Collin <lasse.collin@tukaani.org> 2024Date: 2013-03-23 19:17:33 +0200 2025 2026 liblzma: Add lzma_block_uncomp_encode(). 2027 2028 This also adds a new internal function 2029 lzma_block_buffer_bound64() which is similar to 2030 lzma_block_buffer_bound() but uses uint64_t instead 2031 of size_t. 2032 2033 src/liblzma/api/lzma/block.h | 18 ++++++ 2034 src/liblzma/common/block_buffer_encoder.c | 94 +++++++++++++++++++++---------- 2035 src/liblzma/common/block_buffer_encoder.h | 24 ++++++++ 2036 src/liblzma/liblzma.map | 1 + 2037 4 files changed, 106 insertions(+), 31 deletions(-) 2038 2039commit 9e6dabcf22ef4679f4faaae15ebd5b137ae2fad1 2040Author: Lasse Collin <lasse.collin@tukaani.org> 2041Date: 2013-03-05 19:14:50 +0200 2042 2043 Avoid unneeded use of awk in xzless. 2044 2045 Use "read" instead of "awk" in xzless to get the version 2046 number of "less". The need for awk was introduced in 2047 the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e. 2048 2049 Thanks to Ariel P for the patch. 2050 2051 src/scripts/xzless.in | 3 +-- 2052 1 file changed, 1 insertion(+), 2 deletions(-) 2053 2054commit e7b424d267a34803db8d92a3515528be2ed45abd 2055Author: Lasse Collin <lasse.collin@tukaani.org> 2056Date: 2012-12-14 20:13:32 +0200 2057 2058 Make the progress indicator smooth in threaded mode. 2059 2060 This adds lzma_get_progress() to liblzma and takes advantage 2061 of it in xz. 2062 2063 lzma_get_progress() collects progress information from 2064 the thread-specific structures so that fairly accurate 2065 progress information is available to applications. Adding 2066 a new function seemed to be a better way than making the 2067 information directly available in lzma_stream (like total_in 2068 and total_out are) because collecting the information requires 2069 locking mutexes. It's waste of time to do it more often than 2070 the up to date information is actually needed by an application. 2071 2072 src/liblzma/api/lzma/base.h | 22 +++++++++- 2073 src/liblzma/common/common.c | 16 +++++++ 2074 src/liblzma/common/common.h | 6 +++ 2075 src/liblzma/common/stream_encoder_mt.c | 77 +++++++++++++++++++++++++++++++--- 2076 src/liblzma/liblzma.map | 1 + 2077 src/xz/message.c | 20 +++++---- 2078 6 files changed, 129 insertions(+), 13 deletions(-) 2079 2080commit 2ebbb994e367f55f2561aa7c9e7451703c171f2f 2081Author: Lasse Collin <lasse.collin@tukaani.org> 2082Date: 2012-12-14 11:01:41 +0200 2083 2084 liblzma: Fix mythread_sync for nested locking. 2085 2086 src/common/mythread.h | 5 +++-- 2087 1 file changed, 3 insertions(+), 2 deletions(-) 2088 2089commit 4c7e28705f6de418d19cc77324ef301f996e01ff 2090Author: Lasse Collin <lasse.collin@tukaani.org> 2091Date: 2012-12-13 21:05:36 +0200 2092 2093 xz: Mention --threads in --help. 2094 2095 Thanks to Olivier Delhomme for pointing out that this 2096 was still missing. 2097 2098 src/xz/message.c | 4 ++++ 2099 1 file changed, 4 insertions(+) 2100 2101commit db5c1817fabf7cbb9e4087b1576eb26f0747338e 2102Author: Jonathan Nieder <jrnieder@gmail.com> 2103Date: 2012-11-19 00:10:10 -0800 2104 2105 xzless: Make "less -V" parsing more robust 2106 2107 In v4.999.9beta~30 (xzless: Support compressed standard input, 2108 2009-08-09), xzless learned to parse ‘less -V’ output to figure out 2109 whether less is new enough to handle $LESSOPEN settings starting 2110 with “|-”. That worked well for a while, but the version string from 2111 ‘less’ versions 448 (June, 2012) is misparsed, producing a warning: 2112 2113 $ xzless /tmp/test.xz; echo $? 2114 /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \ 2115 integer expression expected 2116 0 2117 2118 More precisely, modern ‘less’ lists the regexp implementation along 2119 with its version number, and xzless passes the entire version number 2120 with attached parenthetical phrase as a number to "test $a -gt $b", 2121 producing the above confusing message. 2122 2123 $ less-444 -V | head -1 2124 less 444 2125 $ less -V | head -1 2126 less 456 (no regular expressions) 2127 2128 So relax the pattern matched --- instead of expecting "less <number>", 2129 look for a line of the form "less <number>[ (extra parenthetical)]". 2130 While at it, improve the behavior when no matching line is found --- 2131 instead of producing a cryptic message, we can fall back on a LESSPIPE 2132 setting that is supported by all versions of ‘less’. 2133 2134 The implementation uses "awk" for simplicity. Hopefully that’s 2135 portable enough. 2136 2137 Reported-by: Jörg-Volker Peetz <jvpeetz@web.de> 2138 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 2139 2140 src/scripts/xzless.in | 3 ++- 2141 1 file changed, 2 insertions(+), 1 deletion(-) 2142 2143commit 65536214a31ecd33b6b03b68a351fb597d3703d6 2144Author: Lasse Collin <lasse.collin@tukaani.org> 2145Date: 2012-10-03 15:54:24 +0300 2146 2147 xz: Fix the note about --rsyncable on the man page. 2148 2149 src/xz/xz.1 | 17 +++++++++-------- 2150 1 file changed, 9 insertions(+), 8 deletions(-) 2151 2152commit 3d93b6354927247a1569caf22ad27b07e97ee904 2153Author: Lasse Collin <lasse.collin@tukaani.org> 2154Date: 2012-09-28 20:11:09 +0300 2155 2156 xz: Improve handling of failed realloc in xrealloc. 2157 2158 Thanks to Jim Meyering. 2159 2160 src/xz/util.c | 14 ++++++++++++-- 2161 1 file changed, 12 insertions(+), 2 deletions(-) 2162 2163commit ab225620664e235637833be2329935f9d290ba80 2164Author: Lasse Collin <lasse.collin@tukaani.org> 2165Date: 2012-08-24 16:27:31 +0300 2166 2167 A few typo fixes to comments and the xz man page. 2168 2169 Thanks to Jim Meyering. 2170 2171 configure.ac | 2 +- 2172 src/liblzma/check/sha256.c | 1 - 2173 src/xz/xz.1 | 4 ++-- 2174 3 files changed, 3 insertions(+), 4 deletions(-) 2175 2176commit f3c1ec69d910175ffd431fd82968dd35cec806ed 2177Author: Lasse Collin <lasse.collin@tukaani.org> 2178Date: 2012-08-13 21:40:09 +0300 2179 2180 xz: Add a warning to --help about alpha and beta versions. 2181 2182 src/xz/message.c | 5 +++++ 2183 1 file changed, 5 insertions(+) 2184 2185commit d8eaf9d8278c23c2cf2b7ca5562d4de570d3b5db 2186Author: Lasse Collin <lasse.collin@tukaani.org> 2187Date: 2012-08-02 17:13:30 +0300 2188 2189 Build: Bump gettext version requirement to 0.18. 2190 2191 Otherwise too old version of m4/lib-link.m4 gets included 2192 when autoreconf -fi is run. 2193 2194 configure.ac | 2 +- 2195 1 file changed, 1 insertion(+), 1 deletion(-) 2196 2197commit 96e08902b09f0f304d4ff80c6e83ef7fff883f34 2198Author: Lasse Collin <lasse.collin@tukaani.org> 2199Date: 2012-07-17 18:29:08 +0300 2200 2201 Update THANKS. 2202 2203 THANKS | 1 + 2204 1 file changed, 1 insertion(+) 2205 2206commit 3778db1be53e61ff285c573af5ee468803008456 2207Author: Lasse Collin <lasse.collin@tukaani.org> 2208Date: 2012-07-17 18:19:59 +0300 2209 2210 liblzma: Make the use of lzma_allocator const-correct. 2211 2212 There is a tiny risk of causing breakage: If an application 2213 assigns lzma_stream.allocator to a non-const pointer, such 2214 code won't compile anymore. I don't know why anyone would do 2215 such a thing though, so in practice this shouldn't cause trouble. 2216 2217 Thanks to Jan Kratochvil for the patch. 2218 2219 src/liblzma/api/lzma/base.h | 4 +++- 2220 src/liblzma/api/lzma/block.h | 6 ++--- 2221 src/liblzma/api/lzma/container.h | 9 +++++--- 2222 src/liblzma/api/lzma/filter.h | 13 ++++++----- 2223 src/liblzma/api/lzma/index.h | 16 ++++++------- 2224 src/liblzma/api/lzma/index_hash.h | 4 ++-- 2225 src/liblzma/common/alone_decoder.c | 6 ++--- 2226 src/liblzma/common/alone_decoder.h | 2 +- 2227 src/liblzma/common/alone_encoder.c | 8 +++---- 2228 src/liblzma/common/auto_decoder.c | 6 ++--- 2229 src/liblzma/common/block_buffer_decoder.c | 2 +- 2230 src/liblzma/common/block_buffer_encoder.c | 4 ++-- 2231 src/liblzma/common/block_decoder.c | 6 ++--- 2232 src/liblzma/common/block_decoder.h | 2 +- 2233 src/liblzma/common/block_encoder.c | 8 +++---- 2234 src/liblzma/common/block_encoder.h | 2 +- 2235 src/liblzma/common/block_header_decoder.c | 4 ++-- 2236 src/liblzma/common/common.c | 10 ++++----- 2237 src/liblzma/common/common.h | 20 +++++++++-------- 2238 src/liblzma/common/easy_buffer_encoder.c | 4 ++-- 2239 src/liblzma/common/filter_buffer_decoder.c | 3 ++- 2240 src/liblzma/common/filter_buffer_encoder.c | 7 +++--- 2241 src/liblzma/common/filter_common.c | 4 ++-- 2242 src/liblzma/common/filter_common.h | 2 +- 2243 src/liblzma/common/filter_decoder.c | 7 +++--- 2244 src/liblzma/common/filter_decoder.h | 2 +- 2245 src/liblzma/common/filter_encoder.c | 2 +- 2246 src/liblzma/common/filter_encoder.h | 2 +- 2247 src/liblzma/common/filter_flags_decoder.c | 2 +- 2248 src/liblzma/common/index.c | 26 ++++++++++----------- 2249 src/liblzma/common/index_decoder.c | 12 +++++----- 2250 src/liblzma/common/index_encoder.c | 6 ++--- 2251 src/liblzma/common/index_encoder.h | 2 +- 2252 src/liblzma/common/index_hash.c | 6 +++-- 2253 src/liblzma/common/outqueue.c | 4 ++-- 2254 src/liblzma/common/outqueue.h | 5 +++-- 2255 src/liblzma/common/stream_buffer_decoder.c | 2 +- 2256 src/liblzma/common/stream_buffer_encoder.c | 3 ++- 2257 src/liblzma/common/stream_decoder.c | 9 ++++---- 2258 src/liblzma/common/stream_decoder.h | 5 +++-- 2259 src/liblzma/common/stream_encoder.c | 10 ++++----- 2260 src/liblzma/common/stream_encoder_mt.c | 16 ++++++------- 2261 src/liblzma/delta/delta_common.c | 4 ++-- 2262 src/liblzma/delta/delta_decoder.c | 6 ++--- 2263 src/liblzma/delta/delta_decoder.h | 5 +++-- 2264 src/liblzma/delta/delta_encoder.c | 6 ++--- 2265 src/liblzma/delta/delta_encoder.h | 3 ++- 2266 src/liblzma/delta/delta_private.h | 2 +- 2267 src/liblzma/lz/lz_decoder.c | 8 +++---- 2268 src/liblzma/lz/lz_decoder.h | 7 +++--- 2269 src/liblzma/lz/lz_encoder.c | 19 ++++++++-------- 2270 src/liblzma/lz/lz_encoder.h | 6 ++--- 2271 src/liblzma/lzma/lzma2_decoder.c | 8 +++---- 2272 src/liblzma/lzma/lzma2_decoder.h | 5 +++-- 2273 src/liblzma/lzma/lzma2_encoder.c | 6 ++--- 2274 src/liblzma/lzma/lzma2_encoder.h | 2 +- 2275 src/liblzma/lzma/lzma_decoder.c | 8 +++---- 2276 src/liblzma/lzma/lzma_decoder.h | 7 +++--- 2277 src/liblzma/lzma/lzma_encoder.c | 7 +++--- 2278 src/liblzma/lzma/lzma_encoder.h | 5 +++-- 2279 src/liblzma/simple/arm.c | 8 ++++--- 2280 src/liblzma/simple/armthumb.c | 8 ++++--- 2281 src/liblzma/simple/ia64.c | 8 ++++--- 2282 src/liblzma/simple/powerpc.c | 8 ++++--- 2283 src/liblzma/simple/simple_coder.c | 10 ++++----- 2284 src/liblzma/simple/simple_coder.h | 36 ++++++++++++++++++++---------- 2285 src/liblzma/simple/simple_decoder.c | 2 +- 2286 src/liblzma/simple/simple_decoder.h | 2 +- 2287 src/liblzma/simple/simple_private.h | 3 ++- 2288 src/liblzma/simple/sparc.c | 8 ++++--- 2289 src/liblzma/simple/x86.c | 8 ++++--- 2290 71 files changed, 269 insertions(+), 219 deletions(-) 2291 2292commit d625c7cf824fd3b61c6da84f56179e94917ff603 2293Author: Lasse Collin <lasse.collin@tukaani.org> 2294Date: 2012-07-05 07:36:28 +0300 2295 2296 Tests: Remove tests/test_block.c that had gotten committed accidentally. 2297 2298 tests/test_block.c | 52 ---------------------------------------------------- 2299 1 file changed, 52 deletions(-) 2300 2301commit 0b09d266cce72bc4841933b171e79551e488927c 2302Author: Lasse Collin <lasse.collin@tukaani.org> 2303Date: 2012-07-05 07:33:35 +0300 2304 2305 Build: Include macosx/build.sh in the distribution. 2306 2307 It has been in the Git repository since 2010 but probably 2308 few people have seen it since it hasn't been included in 2309 the release tarballs. :-( 2310 2311 Makefile.am | 1 + 2312 1 file changed, 1 insertion(+) 2313 2314commit d6e0b23d4613b9f417893dd96cc168c8005ece3d 2315Author: Lasse Collin <lasse.collin@tukaani.org> 2316Date: 2012-07-05 07:28:53 +0300 2317 2318 Build: Include validate_map.sh in the distribution. 2319 2320 It's required by "make mydist". 2321 2322 Fix also the location of EXTRA_DIST+= so that those files 2323 get distributed also if symbol versioning isn't enabled. 2324 2325 src/liblzma/Makefile.am | 2 +- 2326 1 file changed, 1 insertion(+), 1 deletion(-) 2327 2328commit 19de545d86097c3954d69ab5d12820387f6a09bc 2329Author: Lasse Collin <lasse.collin@tukaani.org> 2330Date: 2012-07-05 07:24:45 +0300 2331 2332 Docs: Fix the name LZMA Utils -> XZ Utils in debug/README. 2333 2334 debug/README | 2 +- 2335 1 file changed, 1 insertion(+), 1 deletion(-) 2336 2337commit 672eccf57c31a40dfb956b7662db06d43e18618e 2338Author: Lasse Collin <lasse.collin@tukaani.org> 2339Date: 2012-07-05 07:23:17 +0300 2340 2341 Include debug/translation.bash in the distribution. 2342 2343 Also fix the script name mentioned in README. 2344 2345 README | 4 ++-- 2346 debug/Makefile.am | 3 +++ 2347 2 files changed, 5 insertions(+), 2 deletions(-) 2348 2349commit cafb523adac1caf305e70a04bc37f25602bf990c 2350Author: Lasse Collin <lasse.collin@tukaani.org> 2351Date: 2012-07-04 22:31:58 +0300 2352 2353 xz: Document --block-list better. 2354 2355 Thanks to Jonathan Nieder. 2356 2357 src/xz/xz.1 | 8 +++++++- 2358 1 file changed, 7 insertions(+), 1 deletion(-) 2359 2360commit c7ff218528bc8f7c65e7ef73c6515777346c6794 2361Author: Lasse Collin <lasse.collin@tukaani.org> 2362Date: 2012-07-04 20:01:49 +0300 2363 2364 Bump the version number to 5.1.2alpha. 2365 2366 src/liblzma/api/lzma/version.h | 2 +- 2367 src/liblzma/liblzma.map | 2 +- 2368 2 files changed, 2 insertions(+), 2 deletions(-) 2369 2370commit 8f3c1d886f93e6478ad509ff52102b2ce7faa999 2371Author: Lasse Collin <lasse.collin@tukaani.org> 2372Date: 2012-07-04 20:01:19 +0300 2373 2374 Update NEWS for 5.1.2alpha. 2375 2376 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++ 2377 1 file changed, 41 insertions(+) 2378 2379commit 0d5fa05466e580fbc458820f87013ae7644e20e5 2380Author: Lasse Collin <lasse.collin@tukaani.org> 2381Date: 2012-07-04 19:58:23 +0300 2382 2383 xz: Fix the version number printed by xz -lvv. 2384 2385 The decoder bug was fixed in 5.0.2 instead of 5.0.3. 2386 2387 src/xz/list.c | 6 +++--- 2388 1 file changed, 3 insertions(+), 3 deletions(-) 2389 2390commit df11317985a4165731dde12bb0f0028da0e7b77f 2391Author: Lasse Collin <lasse.collin@tukaani.org> 2392Date: 2012-07-04 17:11:31 +0300 2393 2394 Build: Add a comment to configure.ac about symbol versioning. 2395 2396 configure.ac | 4 ++++ 2397 1 file changed, 4 insertions(+) 2398 2399commit bd9cc179e8be3ef515201d3ed9c7dd79ae88869d 2400Author: Lasse Collin <lasse.collin@tukaani.org> 2401Date: 2012-07-04 17:06:49 +0300 2402 2403 Update TODO. 2404 2405 TODO | 12 ++++++++++-- 2406 1 file changed, 10 insertions(+), 2 deletions(-) 2407 2408commit 4a238dd9b22f462cac5e199828bf1beb0df05884 2409Author: Lasse Collin <lasse.collin@tukaani.org> 2410Date: 2012-07-04 17:05:46 +0300 2411 2412 Document --enable-symbol-versions in INSTALL. 2413 2414 INSTALL | 5 +++++ 2415 1 file changed, 5 insertions(+) 2416 2417commit 88ccf47205d7f3aa314d358c72ef214f10f68b43 2418Author: Lasse Collin <lasse.collin@tukaani.org> 2419Date: 2012-07-03 21:16:39 +0300 2420 2421 xz: Add incomplete support for --block-list. 2422 2423 It's broken with threads and when also --block-size is used. 2424 2425 src/xz/args.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2426 src/xz/args.h | 1 + 2427 src/xz/coder.c | 48 ++++++++++++++++++++++++++++------ 2428 src/xz/coder.h | 4 +++ 2429 src/xz/main.c | 1 + 2430 src/xz/message.c | 6 +++++ 2431 src/xz/xz.1 | 23 +++++++++++++++-- 2432 7 files changed, 151 insertions(+), 10 deletions(-) 2433 2434commit 972179cdcdf5d8949c48ee31737d87d3050b44af 2435Author: Lasse Collin <lasse.collin@tukaani.org> 2436Date: 2012-07-01 18:44:33 +0300 2437 2438 xz: Update the man page about the new field in --robot -lvv. 2439 2440 src/xz/xz.1 | 18 +++++++++++++++++- 2441 1 file changed, 17 insertions(+), 1 deletion(-) 2442 2443commit 1403707fc64a70976aebe66f8d9a9bd12f73a2c5 2444Author: Lasse Collin <lasse.collin@tukaani.org> 2445Date: 2012-06-28 10:47:49 +0300 2446 2447 liblzma: Check that the first byte of range encoded data is 0x00. 2448 2449 It is just to be more pedantic and thus perhaps catch broken 2450 files slightly earlier. 2451 2452 src/liblzma/lzma/lzma_decoder.c | 8 ++++++-- 2453 src/liblzma/rangecoder/range_decoder.h | 12 +++++++++--- 2454 2 files changed, 15 insertions(+), 5 deletions(-) 2455 2456commit eccd8017ffe2c5de473222c4963ec53c62f7fda2 2457Author: Lasse Collin <lasse.collin@tukaani.org> 2458Date: 2012-06-22 19:00:23 +0300 2459 2460 Update NEWS from 5.0.4. 2461 2462 NEWS | 37 +++++++++++++++++++++++++++++++++++++ 2463 1 file changed, 37 insertions(+) 2464 2465commit 2e6754eac26a431e8d340c28906f63bcd1e177e8 2466Author: Lasse Collin <lasse.collin@tukaani.org> 2467Date: 2012-06-22 14:34:03 +0300 2468 2469 xz: Update man page date to match the latest update. 2470 2471 src/xz/xz.1 | 2 +- 2472 1 file changed, 1 insertion(+), 1 deletion(-) 2473 2474commit b3235a0b1af45d5e1244cbe3191516966c076fa0 2475Author: Lasse Collin <lasse.collin@tukaani.org> 2476Date: 2012-06-18 21:27:47 +0300 2477 2478 Docs: Language fix to 01_compress_easy.c. 2479 2480 Thanks to Jonathan Nieder. 2481 2482 doc/examples/01_compress_easy.c | 2 +- 2483 1 file changed, 1 insertion(+), 1 deletion(-) 2484 2485commit f1675f765fe228cb5a5f904f853445a03e33cfe9 2486Author: Lasse Collin <lasse.collin@tukaani.org> 2487Date: 2012-06-14 20:15:30 +0300 2488 2489 Fix the top-level Makefile.am for the new example programs. 2490 2491 Makefile.am | 12 ++++++++++-- 2492 1 file changed, 10 insertions(+), 2 deletions(-) 2493 2494commit 3a0c5378abefaf86aa39a62a7c9682bdb21568a1 2495Author: Lasse Collin <lasse.collin@tukaani.org> 2496Date: 2012-06-14 10:52:33 +0300 2497 2498 Docs: Add new example programs. 2499 2500 These have more comments than the old examples and 2501 human-readable error messages. More tutorial-like examples 2502 are needed but these are a start. 2503 2504 doc/examples/00_README.txt | 27 ++++ 2505 doc/examples/01_compress_easy.c | 297 ++++++++++++++++++++++++++++++++++++++ 2506 doc/examples/02_decompress.c | 287 ++++++++++++++++++++++++++++++++++++ 2507 doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++ 2508 doc/examples/Makefile | 23 +++ 2509 5 files changed, 827 insertions(+) 2510 2511commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d 2512Author: Lasse Collin <lasse.collin@tukaani.org> 2513Date: 2012-06-14 10:33:27 +0300 2514 2515 Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old. 2516 2517 It is good to keep these around to so that if someone has 2518 copied the decompressor bug from xz_pipe_decomp.c he has 2519 an example how to easily fix it. 2520 2521 doc/examples/xz_pipe_comp.c | 127 -------------------------------------- 2522 doc/examples/xz_pipe_decomp.c | 123 ------------------------------------ 2523 doc/examples_old/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++ 2524 doc/examples_old/xz_pipe_decomp.c | 123 ++++++++++++++++++++++++++++++++++++ 2525 4 files changed, 250 insertions(+), 250 deletions(-) 2526 2527commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292 2528Author: Lasse Collin <lasse.collin@tukaani.org> 2529Date: 2012-06-14 10:33:01 +0300 2530 2531 Docs: Fix a bug in xz_pipe_decomp.c example program. 2532 2533 doc/examples/xz_pipe_decomp.c | 10 +++++++++- 2534 1 file changed, 9 insertions(+), 1 deletion(-) 2535 2536commit 4bd1a3bd5fdf4870b2f96dd0b8a21657c8a58ad8 2537Author: Lasse Collin <lasse.collin@tukaani.org> 2538Date: 2012-05-30 23:14:33 +0300 2539 2540 Translations: Update the French translation. 2541 2542 Thanks to Adrien Nader. 2543 2544 po/fr.po | 148 ++++++++++++++++++++++++++++++++++----------------------------- 2545 1 file changed, 79 insertions(+), 69 deletions(-) 2546 2547commit d2e836f2f3a87df6fe6bb0589b037db51205d910 2548Author: Lasse Collin <lasse.collin@tukaani.org> 2549Date: 2012-05-29 23:42:37 +0300 2550 2551 Translations: Update the German translation. 2552 2553 The previous only included the new strings in v5.0. 2554 2555 po/de.po | 229 +++++++++++++++++++++++++++++++++++++-------------------------- 2556 1 file changed, 133 insertions(+), 96 deletions(-) 2557 2558commit c9a16151577ba459afd6e3528df23bc0ddb95171 2559Author: Lasse Collin <lasse.collin@tukaani.org> 2560Date: 2012-05-29 22:26:27 +0300 2561 2562 Translations: Update the German translation. 2563 2564 po/de.po | 169 ++++++++++++++++++++++++++++++++++----------------------------- 2565 1 file changed, 91 insertions(+), 78 deletions(-) 2566 2567commit 1530a74fd48f8493372edad137a24541efe24713 2568Author: Lasse Collin <lasse.collin@tukaani.org> 2569Date: 2012-05-29 22:14:21 +0300 2570 2571 Translations: Update Polish translation. 2572 2573 po/pl.po | 283 +++++++++++++++++++++++++++++++++++++-------------------------- 2574 1 file changed, 165 insertions(+), 118 deletions(-) 2575 2576commit d8db706acb8316f9861abd432cfbe001dd6d0c5c 2577Author: Lasse Collin <lasse.collin@tukaani.org> 2578Date: 2012-05-28 20:42:11 +0300 2579 2580 liblzma: Fix possibility of incorrect LZMA_BUF_ERROR. 2581 2582 lzma_code() could incorrectly return LZMA_BUF_ERROR if 2583 all of the following was true: 2584 2585 - The caller knows how many bytes of output to expect 2586 and only provides that much output space. 2587 2588 - When the last output bytes are decoded, the 2589 caller-provided input buffer ends right before 2590 the LZMA2 end of payload marker. So LZMA2 won't 2591 provide more output anymore, but it won't know it 2592 yet and thus won't return LZMA_STREAM_END yet. 2593 2594 - A BCJ filter is in use and it hasn't left any 2595 unfiltered bytes in the temp buffer. This can happen 2596 with any BCJ filter, but in practice it's more likely 2597 with filters other than the x86 BCJ. 2598 2599 Another situation where the bug can be triggered happens 2600 if the uncompressed size is zero bytes and no output space 2601 is provided. In this case the decompression can fail even 2602 if the whole input file is given to lzma_code(). 2603 2604 A similar bug was fixed in XZ Embedded on 2011-09-19. 2605 2606 src/liblzma/simple/simple_coder.c | 2 +- 2607 tests/Makefile.am | 4 +- 2608 tests/test_bcj_exact_size.c | 112 ++++++++++++++++++++++++++++++++++++++ 2609 3 files changed, 116 insertions(+), 2 deletions(-) 2610 2611commit 3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda 2612Author: Lasse Collin <lasse.collin@tukaani.org> 2613Date: 2012-05-28 15:38:32 +0300 2614 2615 Update THANKS. 2616 2617 THANKS | 1 + 2618 1 file changed, 1 insertion(+) 2619 2620commit 7769ea051d739a38a1640fd448cf5eb83cb119c6 2621Author: Lasse Collin <lasse.collin@tukaani.org> 2622Date: 2012-05-28 15:37:43 +0300 2623 2624 xz: Don't show a huge number in -vv when memory limit is disabled. 2625 2626 src/xz/message.c | 12 +++++++++++- 2627 1 file changed, 11 insertions(+), 1 deletion(-) 2628 2629commit ec921105725e4d3ef0a683dd83eee6f24ab60ccd 2630Author: Lasse Collin <lasse.collin@tukaani.org> 2631Date: 2012-05-27 22:30:17 +0300 2632 2633 xz: Document the "summary" lines of --robot -lvv. 2634 2635 This documents only the columns that are in v5.0. 2636 The new columns added in the master branch aren't 2637 necessarily stable yet. 2638 2639 src/xz/xz.1 | 19 +++++++++++++++++++ 2640 1 file changed, 19 insertions(+) 2641 2642commit 27d24eb0a9f6eed96d6a4594c2b0bf7a91d29f9a 2643Author: Lasse Collin <lasse.collin@tukaani.org> 2644Date: 2012-05-27 21:53:20 +0300 2645 2646 xz: Fix output of verbose --robot --list modes. 2647 2648 It printed the filename in "filename (x/y)" format 2649 which it obviously shouldn't do in robot mode. 2650 2651 src/xz/message.c | 2 +- 2652 1 file changed, 1 insertion(+), 1 deletion(-) 2653 2654commit ab25b82a91754d9388c89abddf806424671d9431 2655Author: Lasse Collin <lasse.collin@tukaani.org> 2656Date: 2012-05-24 18:33:54 +0300 2657 2658 Build: Upgrade m4/acx_pthread.m4 to the latest version. 2659 2660 m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++--------------------- 2661 1 file changed, 62 insertions(+), 36 deletions(-) 2662 2663commit d05d6d65c41a4bc83f162fa3d67c5d84e8751634 2664Author: Lasse Collin <lasse.collin@tukaani.org> 2665Date: 2012-05-10 21:15:17 +0300 2666 2667 Update THANKS. 2668 2669 THANKS | 1 + 2670 1 file changed, 1 insertion(+) 2671 2672commit e077391982f9f28dbfe542bba8800e7c5b916666 2673Author: Lasse Collin <lasse.collin@tukaani.org> 2674Date: 2012-05-10 21:14:16 +0300 2675 2676 Docs: Cleanup line wrapping a bit. 2677 2678 README | 12 ++++++------ 2679 doc/history.txt | 49 +++++++++++++++++++++++++------------------------ 2680 2 files changed, 31 insertions(+), 30 deletions(-) 2681 2682commit fc39849c350225c6a1cd7f6e6adff1020521eabc 2683Author: Benno Schulenberg <bensberg@justemail.net> 2684Date: 2012-03-13 22:04:04 +0100 2685 2686 Fix a few typos and add some missing articles in some documents. 2687 2688 Also hyphenate several compound adjectives. 2689 2690 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2691 2692 AUTHORS | 6 +++--- 2693 README | 42 ++++++++++++++++++++--------------------- 2694 doc/faq.txt | 24 ++++++++++++------------ 2695 doc/history.txt | 58 ++++++++++++++++++++++++++++----------------------------- 2696 4 files changed, 65 insertions(+), 65 deletions(-) 2697 2698commit 29fa0566d5df199cb9acb2d17bf7eea61acc7fa1 2699Author: Lasse Collin <lasse.collin@tukaani.org> 2700Date: 2012-04-29 11:51:25 +0300 2701 2702 Windows: Update notes about static linking with MSVC. 2703 2704 windows/README-Windows.txt | 13 +++++++++---- 2705 1 file changed, 9 insertions(+), 4 deletions(-) 2706 2707commit aac1b31ea4e66cf5a7a8c116bdaa15aa45e6c56e 2708Author: Lasse Collin <lasse.collin@tukaani.org> 2709Date: 2012-04-19 15:25:26 +0300 2710 2711 liblzma: Remove outdated comments. 2712 2713 src/liblzma/simple/simple_coder.c | 3 --- 2714 src/liblzma/simple/simple_private.h | 3 +-- 2715 2 files changed, 1 insertion(+), 5 deletions(-) 2716 2717commit df14a46013bea70c0bd35be7821b0b9108f97de7 2718Author: Lasse Collin <lasse.collin@tukaani.org> 2719Date: 2012-04-19 14:17:52 +0300 2720 2721 DOS: Link against DJGPP's libemu to support FPU emulation. 2722 2723 This way xz should work on 386SX and 486SX. Floating point 2724 only is needed for verbose output in xz. 2725 2726 dos/Makefile | 2 +- 2727 1 file changed, 1 insertion(+), 1 deletion(-) 2728 2729commit 03ed742a3a4931bb5c821357832083b26f577b13 2730Author: Lasse Collin <lasse.collin@tukaani.org> 2731Date: 2012-04-19 14:02:25 +0300 2732 2733 liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed. 2734 2735 src/liblzma/liblzma.pc.in | 2 +- 2736 1 file changed, 1 insertion(+), 1 deletion(-) 2737 2738commit 8c5b13ad59df70f49429bfdfd6ac120b8f892fda 2739Author: Lasse Collin <lasse.collin@tukaani.org> 2740Date: 2012-04-19 13:58:55 +0300 2741 2742 Docs: Update MINIX 3 information in INSTALL. 2743 2744 INSTALL | 8 +++++--- 2745 1 file changed, 5 insertions(+), 3 deletions(-) 2746 2747commit c7376fc415a1566f38b2de4b516a17013d516a8b 2748Author: Lasse Collin <lasse.collin@tukaani.org> 2749Date: 2012-02-22 14:23:13 +0200 2750 2751 Update THANKS. 2752 2753 THANKS | 1 + 2754 1 file changed, 1 insertion(+) 2755 2756commit cff070aba6281ba743d29a62b8c0c66e5da4b2a6 2757Author: Lasse Collin <lasse.collin@tukaani.org> 2758Date: 2012-02-22 14:02:34 +0200 2759 2760 Fix exit status of xzgrep when grepping binary files. 2761 2762 When grepping binary files, grep may exit before it has 2763 read all the input. In this case, gzip -q returns 2 (eating 2764 SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status 2765 (e.g. 141). This causes wrong exit status when grepping 2766 xz- or bzip2-compressed binary files. 2767 2768 The fix checks for the special exit status that indicates SIGPIPE. 2769 It uses kill -l which should be supported everywhere since it 2770 is in both SUSv2 (1997) and POSIX.1-2008. 2771 2772 Thanks to James Buren for the bug report. 2773 2774 src/scripts/xzgrep.in | 3 ++- 2775 1 file changed, 2 insertions(+), 1 deletion(-) 2776 2777commit 41cafb2bf9beea915710ee68f05fe929cd17759c 2778Author: Lasse Collin <lasse.collin@tukaani.org> 2779Date: 2012-02-22 12:08:43 +0200 2780 2781 Update THANKS. 2782 2783 THANKS | 1 + 2784 1 file changed, 1 insertion(+) 2785 2786commit 2dcea03712fa881930d69ec9eff70855c3d126d9 2787Author: Lasse Collin <lasse.collin@tukaani.org> 2788Date: 2012-02-22 12:00:16 +0200 2789 2790 Fix compiling with IBM XL C on AIX. 2791 2792 INSTALL | 36 ++++++++++++++++++++++-------------- 2793 configure.ac | 6 +++++- 2794 2 files changed, 27 insertions(+), 15 deletions(-) 2795 2796commit 7db6bdf4abcf524115be2cf5659ed540cef074c5 2797Author: Lasse Collin <lasse.collin@tukaani.org> 2798Date: 2012-01-10 17:13:03 +0200 2799 2800 Tests: Fix a compiler warning with _FORTIFY_SOURCE. 2801 2802 Reported here: 2803 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385 2804 2805 tests/create_compress_files.c | 3 ++- 2806 1 file changed, 2 insertions(+), 1 deletion(-) 2807 2808commit 694952d545b6cf056547893ced69486eff9ece55 2809Author: Lasse Collin <lasse.collin@tukaani.org> 2810Date: 2011-12-19 21:21:29 +0200 2811 2812 Docs: Explain the stable releases better in README. 2813 2814 README | 6 +++++- 2815 1 file changed, 5 insertions(+), 1 deletion(-) 2816 2817commit 418fe668b3c53a9a20020b6cc652aaf25c734b29 2818Author: Lasse Collin <lasse.collin@tukaani.org> 2819Date: 2011-11-07 13:07:52 +0200 2820 2821 xz: Show minimum required XZ Utils version in xz -lvv. 2822 2823 Man page wasn't updated yet. 2824 2825 src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------ 2826 1 file changed, 57 insertions(+), 6 deletions(-) 2827 2828commit 7081d82c37326bac97184e338345fa1c327e3580 2829Author: Lasse Collin <lasse.collin@tukaani.org> 2830Date: 2011-11-04 17:57:16 +0200 2831 2832 xz: Fix a typo in a comment. 2833 2834 Thanks to Bela Lubkin. 2835 2836 src/xz/args.c | 2 +- 2837 1 file changed, 1 insertion(+), 1 deletion(-) 2838 2839commit 232fe7cd70ad258d6a37f17e860e0f1b1891eeb5 2840Author: Lasse Collin <lasse.collin@tukaani.org> 2841Date: 2011-11-03 17:08:02 +0200 2842 2843 Update THANKS. 2844 2845 THANKS | 1 + 2846 1 file changed, 1 insertion(+) 2847 2848commit 74d2bae4d3449c68453b0473dd3430ce91fd90c1 2849Author: Lasse Collin <lasse.collin@tukaani.org> 2850Date: 2011-11-03 17:07:22 +0200 2851 2852 xz: Fix xz on EBCDIC systems. 2853 2854 Thanks to Chris Donawa. 2855 2856 src/xz/coder.c | 5 ++++- 2857 1 file changed, 4 insertions(+), 1 deletion(-) 2858 2859commit 4ac4923f47cc0ef97dd9ca5cfcc44fc53eeab34a 2860Author: Lasse Collin <lasse.collin@tukaani.org> 2861Date: 2011-10-23 17:09:10 +0300 2862 2863 Update THANKS. 2864 2865 THANKS | 1 + 2866 1 file changed, 1 insertion(+) 2867 2868commit ab50ae3ef40c81e5bf613905ca3fd636548b75e7 2869Author: Lasse Collin <lasse.collin@tukaani.org> 2870Date: 2011-10-23 17:08:14 +0300 2871 2872 liblzma: Fix invalid free() in the threaded encoder. 2873 2874 It was triggered if initialization failed e.g. due to 2875 running out of memory. 2876 2877 Thanks to Arkadiusz Miskiewicz. 2878 2879 src/liblzma/common/outqueue.c | 4 ++++ 2880 1 file changed, 4 insertions(+) 2881 2882commit 6b620a0f0813d28c3c544b4ff8cb595b38a6e908 2883Author: Lasse Collin <lasse.collin@tukaani.org> 2884Date: 2011-10-23 17:05:55 +0300 2885 2886 liblzma: Fix a deadlock in the threaded encoder. 2887 2888 It was triggered when reinitializing the encoder, 2889 e.g. when encoding two files. 2890 2891 src/liblzma/common/stream_encoder_mt.c | 4 +++- 2892 1 file changed, 3 insertions(+), 1 deletion(-) 2893 2894commit bd52cf150ecd51e3ab63a9cc1a3cff6a77500178 2895Author: Lasse Collin <lasse.collin@tukaani.org> 2896Date: 2011-09-06 12:03:41 +0300 2897 2898 Build: Fix "make check" on Windows. 2899 2900 tests/Makefile.am | 7 +++++-- 2901 windows/build.bash | 2 ++ 2902 2 files changed, 7 insertions(+), 2 deletions(-) 2903 2904commit 5c5b2256969ac473001b7d67615ed3bd0a54cc82 2905Author: Lasse Collin <lasse.collin@tukaani.org> 2906Date: 2011-08-09 21:19:13 +0300 2907 2908 Update THANKS. 2909 2910 THANKS | 2 ++ 2911 1 file changed, 2 insertions(+) 2912 2913commit 5b1e1f10741af9e4bbe4cfc3261fb7c7b04f7809 2914Author: Lasse Collin <lasse.collin@tukaani.org> 2915Date: 2011-08-09 21:16:44 +0300 2916 2917 Workaround unusual SIZE_MAX on SCO OpenServer. 2918 2919 src/common/sysdefs.h | 9 ++++++--- 2920 1 file changed, 6 insertions(+), 3 deletions(-) 2921 2922commit e9ed88126eee86e2511fa42681a5c7104820cf0a 2923Author: Lasse Collin <lasse.collin@tukaani.org> 2924Date: 2011-08-06 20:37:28 +0300 2925 2926 Run the scripts with the correct shell in test_scripts.sh. 2927 2928 The scripts are now made executable in the build tree. 2929 This way the scripts can be run like programs in 2930 test_scripts.sh. Previously test_scripts.sh always 2931 used sh but it's not correct if @POSIX_SHELL@ is set 2932 to something else by configure. 2933 2934 Thanks to Jonathan Nieder for the patch. 2935 2936 configure.ac | 8 ++++---- 2937 tests/test_scripts.sh | 8 ++++---- 2938 2 files changed, 8 insertions(+), 8 deletions(-) 2939 2940commit 1c673e5681720491a74fc4b2992e075f47302c22 2941Author: Lasse Collin <lasse.collin@tukaani.org> 2942Date: 2011-07-31 11:01:47 +0300 2943 2944 Fix exit status of "xzdiff foo.xz bar.xz". 2945 2946 xzdiff was clobbering the exit status from diff in a case 2947 statement used to analyze the exit statuses from "xz" when 2948 its operands were two compressed files. Save and restore 2949 diff's exit status to fix this. 2950 2951 The bug is inherited from zdiff in GNU gzip and was fixed 2952 there on 2009-10-09. 2953 2954 Thanks to Jonathan Nieder for the patch and 2955 to Peter Pallinger for reporting the bug. 2956 2957 src/scripts/xzdiff.in | 2 ++ 2958 tests/Makefile.am | 4 +++- 2959 tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2960 3 files changed, 59 insertions(+), 1 deletion(-) 2961 2962commit 324cde7a864f4506c32ae7846d688c359a83fe65 2963Author: Lasse Collin <lasse.collin@tukaani.org> 2964Date: 2011-06-16 12:15:29 +0300 2965 2966 liblzma: Remove unneeded semicolon. 2967 2968 src/liblzma/lz/lz_encoder_hash.h | 2 +- 2969 1 file changed, 1 insertion(+), 1 deletion(-) 2970 2971commit 492c86345551a51a29bf18e55fe55a5e86f169ce 2972Author: Lasse Collin <lasse.collin@tukaani.org> 2973Date: 2011-05-28 19:24:56 +0300 2974 2975 Build: Make configure print if symbol versioning is enabled or not. 2976 2977 configure.ac | 2 ++ 2978 1 file changed, 2 insertions(+) 2979 2980commit fc4d4436969bd4d71b704d400a165875e596034a 2981Author: Lasse Collin <lasse.collin@tukaani.org> 2982Date: 2011-05-28 16:43:26 +0300 2983 2984 Don't call close(-1) in tuklib_open_stdxxx() on error. 2985 2986 Thanks to Jim Meyering. 2987 2988 src/common/tuklib_open_stdxxx.c | 4 +++- 2989 1 file changed, 3 insertions(+), 1 deletion(-) 2990 2991commit bd35d903a04c4d388adb4065b0fa271302380895 2992Author: Lasse Collin <lasse.collin@tukaani.org> 2993Date: 2011-05-28 15:55:39 +0300 2994 2995 liblzma: Use symbol versioning. 2996 2997 Symbol versioning is enabled by default on GNU/Linux, 2998 other GNU-based systems, and FreeBSD. 2999 3000 I'm not sure how stable this is, so it may need 3001 backward-incompatible changes before the next release. 3002 3003 The idea is that alpha and beta symbols are considered 3004 unstable and require recompiling the applications that 3005 use those symbols. Once a symbol is stable, it may get 3006 extended with new features in ways that don't break 3007 compatibility with older ABI & API. 3008 3009 The mydist target runs validate_map.sh which should 3010 catch some probable problems in liblzma.map. Otherwise 3011 I would forget to update the map file for new releases. 3012 3013 Makefile.am | 1 + 3014 configure.ac | 21 +++++++++ 3015 src/liblzma/Makefile.am | 6 +++ 3016 src/liblzma/liblzma.map | 105 ++++++++++++++++++++++++++++++++++++++++++++ 3017 src/liblzma/validate_map.sh | 68 ++++++++++++++++++++++++++++ 3018 5 files changed, 201 insertions(+) 3019 3020commit afbb244362c9426a37ce4eb9d54aab768da3adad 3021Author: Lasse Collin <lasse.collin@tukaani.org> 3022Date: 2011-05-28 09:46:46 +0300 3023 3024 Translations: Update the Italian translation. 3025 3026 Thanks to Milo Casagrande. 3027 3028 po/it.po | 365 +++++++++++++++++++++++++++++++++++++-------------------------- 3029 1 file changed, 216 insertions(+), 149 deletions(-) 3030 3031commit 79bef85e0543c0c3723281c3c817616c6cec343b 3032Author: Lasse Collin <lasse.collin@tukaani.org> 3033Date: 2011-05-28 08:46:04 +0300 3034 3035 Tests: Add a test file for the bug in the previous commit. 3036 3037 tests/files/README | 4 ++++ 3038 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes 3039 2 files changed, 4 insertions(+) 3040 3041commit c0297445064951807803457dca1611b3c47e7f0f 3042Author: Lasse Collin <lasse.collin@tukaani.org> 3043Date: 2011-05-27 22:25:44 +0300 3044 3045 xz: Fix error handling in xz -lvv. 3046 3047 It could do an invalid free() and read past the end 3048 of the uninitialized filters array. 3049 3050 src/xz/list.c | 21 ++++++--------------- 3051 1 file changed, 6 insertions(+), 15 deletions(-) 3052 3053commit 8bd91918ac50731f00b1a2a48072980572eb2ff9 3054Author: Lasse Collin <lasse.collin@tukaani.org> 3055Date: 2011-05-27 22:09:49 +0300 3056 3057 liblzma: Handle allocation failures correctly in lzma_index_init(). 3058 3059 Thanks to Jim Meyering. 3060 3061 src/liblzma/common/index.c | 7 +++++-- 3062 1 file changed, 5 insertions(+), 2 deletions(-) 3063 3064commit fe00f95828ef5627721b57e054f7eb2d42a2c961 3065Author: Lasse Collin <lasse.collin@tukaani.org> 3066Date: 2011-05-24 00:23:46 +0300 3067 3068 Build: Fix checking for system-provided SHA-256. 3069 3070 configure.ac | 2 +- 3071 1 file changed, 1 insertion(+), 1 deletion(-) 3072 3073commit 21b45b9bab541f419712cbfd473ccc31802e0397 3074Author: Lasse Collin <lasse.collin@tukaani.org> 3075Date: 2011-05-23 18:30:30 +0300 3076 3077 Build: Set GZIP_ENV=-9n in top-level Makefile.am. 3078 3079 Makefile.am | 3 +++ 3080 1 file changed, 3 insertions(+) 3081 3082commit 48053e8a4550233af46359024538bff90c870ab1 3083Author: Lasse Collin <lasse.collin@tukaani.org> 3084Date: 2011-05-22 16:42:11 +0300 3085 3086 Update NEWS for 5.0.3. 3087 3088 NEWS | 32 ++++++++++++++++++++++++++++++++ 3089 1 file changed, 32 insertions(+) 3090 3091commit bba37df2c9e54ad773e15ff00a09d2d6989fb3b2 3092Author: Lasse Collin <lasse.collin@tukaani.org> 3093Date: 2011-05-21 16:28:44 +0300 3094 3095 Add French translation. 3096 3097 It is known that the BCJ filter --help text is only 3098 partially translated. 3099 3100 po/LINGUAS | 1 + 3101 po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3102 2 files changed, 865 insertions(+) 3103 3104commit 4161d7634965a7a287bf208dcd79f6185f448fe8 3105Author: Lasse Collin <lasse.collin@tukaani.org> 3106Date: 2011-05-21 15:12:10 +0300 3107 3108 xz: Translate also the string used to print the program name. 3109 3110 French needs a space before a colon, e.g. "xz : foo error". 3111 3112 src/xz/message.c | 6 +++++- 3113 1 file changed, 5 insertions(+), 1 deletion(-) 3114 3115commit b94aa0c8380cdb18cddb33440d625474c16643cf 3116Author: Lasse Collin <lasse.collin@tukaani.org> 3117Date: 2011-05-21 15:08:44 +0300 3118 3119 liblzma: Try to use SHA-256 from the operating system. 3120 3121 If the operating system libc or other base libraries 3122 provide SHA-256, use that instead of our own copy. 3123 Note that this doesn't use OpenSSL or libgcrypt or 3124 such libraries to avoid creating dependencies to 3125 other packages. 3126 3127 This supports at least FreeBSD, NetBSD, OpenBSD, Solaris, 3128 MINIX, and Darwin. They all provide similar but not 3129 identical SHA-256 APIs; everyone is a little different. 3130 3131 Thanks to Wim Lewis for the original patch, improvements, 3132 and testing. 3133 3134 configure.ac | 54 +++++++++++++++++++++++++++ 3135 src/liblzma/check/Makefile.inc | 2 + 3136 src/liblzma/check/check.h | 83 ++++++++++++++++++++++++++++++++++++++---- 3137 3 files changed, 131 insertions(+), 8 deletions(-) 3138 3139commit f004128678d43ea10b4a6401aa184cf83252d6ec 3140Author: Lasse Collin <lasse.collin@tukaani.org> 3141Date: 2011-05-17 12:52:18 +0300 3142 3143 Don't use clockid_t in mythread.h when clock_gettime() isn't available. 3144 3145 Thanks to Wim Lewis for the patch. 3146 3147 src/common/mythread.h | 2 ++ 3148 1 file changed, 2 insertions(+) 3149 3150commit f779516f42ebd2db47a5b7d6143459bf7737cf2f 3151Author: Lasse Collin <lasse.collin@tukaani.org> 3152Date: 2011-05-17 12:26:28 +0300 3153 3154 Update THANKS. 3155 3156 THANKS | 3 +++ 3157 1 file changed, 3 insertions(+) 3158 3159commit 830ba587775bb562f6eaf05cad61bf669d1f8892 3160Author: Lasse Collin <lasse.collin@tukaani.org> 3161Date: 2011-05-17 12:21:33 +0300 3162 3163 Update INSTALL with a note about linker problem on OpenSolaris x86. 3164 3165 INSTALL | 23 +++++++++++++++++------ 3166 1 file changed, 17 insertions(+), 6 deletions(-) 3167 3168commit ec7106309c8060e9c646dba20c4f15689a0bbb04 3169Author: Lasse Collin <lasse.collin@tukaani.org> 3170Date: 2011-05-17 12:01:37 +0300 3171 3172 Build: Fix initialization of enable_check_* variables in configure.ac. 3173 3174 This doesn't matter much in practice since it is unlikely 3175 that anyone would have such environment variable names. 3176 3177 Thanks to Wim Lewis. 3178 3179 configure.ac | 2 +- 3180 1 file changed, 1 insertion(+), 1 deletion(-) 3181 3182commit 4c6e146df99696920f12410fb17754412797ef36 3183Author: Lasse Collin <lasse.collin@tukaani.org> 3184Date: 2011-05-17 11:54:38 +0300 3185 3186 Add underscores to attributes (__attribute((__foo__))). 3187 3188 src/liblzma/common/alone_decoder.c | 2 +- 3189 src/liblzma/common/alone_encoder.c | 2 +- 3190 src/liblzma/common/block_encoder.c | 2 +- 3191 src/liblzma/common/common.c | 2 +- 3192 src/liblzma/common/common.h | 2 +- 3193 src/liblzma/common/index_decoder.c | 9 +++++---- 3194 src/liblzma/common/index_encoder.c | 11 ++++++----- 3195 src/liblzma/delta/delta_encoder.c | 2 +- 3196 src/liblzma/lz/lz_decoder.c | 2 +- 3197 src/liblzma/lz/lz_encoder.c | 2 +- 3198 src/liblzma/simple/arm.c | 2 +- 3199 src/liblzma/simple/armthumb.c | 2 +- 3200 src/liblzma/simple/ia64.c | 2 +- 3201 src/liblzma/simple/powerpc.c | 2 +- 3202 src/liblzma/simple/simple_coder.c | 2 +- 3203 src/liblzma/simple/sparc.c | 2 +- 3204 src/lzmainfo/lzmainfo.c | 4 ++-- 3205 src/xz/coder.c | 2 +- 3206 src/xz/hardware.h | 2 +- 3207 src/xz/message.c | 2 +- 3208 src/xz/message.h | 18 +++++++++--------- 3209 src/xz/options.c | 6 +++--- 3210 src/xz/signals.c | 2 +- 3211 src/xz/util.h | 6 +++--- 3212 src/xzdec/xzdec.c | 6 +++--- 3213 25 files changed, 49 insertions(+), 47 deletions(-) 3214 3215commit 7a480e485938884ef3021b48c3b0b9f9699dc9b6 3216Author: Lasse Collin <lasse.collin@tukaani.org> 3217Date: 2011-05-01 12:24:23 +0300 3218 3219 xz: Fix input file position when --single-stream is used. 3220 3221 Now the following works as you would expect: 3222 3223 echo foo | xz > foo.xz 3224 echo bar | xz >> foo.xz 3225 ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz 3226 3227 Note that it doesn't work if the input is not seekable 3228 or if there is Stream Padding between the concatenated 3229 .xz Streams. 3230 3231 src/xz/coder.c | 1 + 3232 src/xz/file_io.c | 15 +++++++++++++++ 3233 src/xz/file_io.h | 13 +++++++++++++ 3234 3 files changed, 29 insertions(+) 3235 3236commit c29e6630c1450c630c4e7b783bdd76515db9004c 3237Author: Lasse Collin <lasse.collin@tukaani.org> 3238Date: 2011-05-01 12:15:51 +0300 3239 3240 xz: Print the maximum number of worker threads in xz -vv. 3241 3242 src/xz/coder.c | 4 ++++ 3243 1 file changed, 4 insertions(+) 3244 3245commit 0b77c4a75158ccc416b07d6e81df8ee0abaea720 3246Author: Lasse Collin <lasse.collin@tukaani.org> 3247Date: 2011-04-19 10:44:48 +0300 3248 3249 Build: Warn if no supported method to detect the number of CPU cores. 3250 3251 configure.ac | 11 +++++------ 3252 1 file changed, 5 insertions(+), 6 deletions(-) 3253 3254commit e4622df9ab4982f8faa53d85b17be66216175a58 3255Author: Lasse Collin <lasse.collin@tukaani.org> 3256Date: 2011-04-19 09:55:06 +0300 3257 3258 Update THANKS. 3259 3260 THANKS | 1 + 3261 1 file changed, 1 insertion(+) 3262 3263commit 9c1b05828a88eff54409760b92162c7cc2c7cff6 3264Author: Lasse Collin <lasse.collin@tukaani.org> 3265Date: 2011-04-19 09:20:44 +0300 3266 3267 Fix portability problems in mythread.h. 3268 3269 Use gettimeofday() if clock_gettime() isn't available 3270 (e.g. Darwin). 3271 3272 The test for availability of pthread_condattr_setclock() 3273 and CLOCK_MONOTONIC was incorrect. Instead of fixing the 3274 #ifdefs, use an Autoconf test. That way if there exists a 3275 system that supports them but doesn't specify the matching 3276 POSIX #defines, the features will still get detected. 3277 3278 Don't try to use pthread_sigmask() on OpenVMS. It doesn't 3279 have that function. 3280 3281 Guard mythread.h against being #included multiple times. 3282 3283 configure.ac | 7 +++++++ 3284 src/common/mythread.h | 31 +++++++++++++++++++++++++++---- 3285 2 files changed, 34 insertions(+), 4 deletions(-) 3286 3287commit 3de00cc75da7b0e7b65e84c62b5351e231f501e9 3288Author: Lasse Collin <lasse.collin@tukaani.org> 3289Date: 2011-04-18 19:35:49 +0300 3290 3291 Update THANKS. 3292 3293 THANKS | 2 ++ 3294 1 file changed, 2 insertions(+) 3295 3296commit bd5002f5821e3d1b04f2f56989e4a19318e73633 3297Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> 3298Date: 2011-04-15 04:54:49 -0400 3299 3300 xzgrep: fix typo in $0 parsing 3301 3302 Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org> 3303 Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> 3304 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 3305 3306 src/scripts/xzgrep.in | 4 ++-- 3307 1 file changed, 2 insertions(+), 2 deletions(-) 3308 3309commit 6ef4eabc0acc49e1bb9dc68064706e19fa9fcf48 3310Author: Lasse Collin <lasse.collin@tukaani.org> 3311Date: 2011-04-12 12:48:31 +0300 3312 3313 Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99. 3314 3315 src/liblzma/Makefile.am | 2 +- 3316 src/liblzma/api/lzma/version.h | 2 +- 3317 2 files changed, 2 insertions(+), 2 deletions(-) 3318 3319commit 9a4377be0d21e597c66bad6c7452873aebfb3c1c 3320Author: Lasse Collin <lasse.collin@tukaani.org> 3321Date: 2011-04-12 12:42:37 +0300 3322 3323 Put the unstable APIs behind #ifdef LZMA_UNSTABLE. 3324 3325 This way people hopefully won't complain if these APIs 3326 change and break code that used an older API. 3327 3328 src/liblzma/api/lzma/container.h | 4 ++++ 3329 src/liblzma/common/common.h | 2 ++ 3330 src/xz/private.h | 2 ++ 3331 3 files changed, 8 insertions(+) 3332 3333commit 3e321a3acd50002cf6fdfd259e910f56d3389bc3 3334Author: Lasse Collin <lasse.collin@tukaani.org> 3335Date: 2011-04-12 11:59:49 +0300 3336 3337 Remove doubled words from documentation and comments. 3338 3339 Spot candidates by running these commands: 3340 git ls-files |xargs perl -0777 -n \ 3341 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \ 3342 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}' 3343 3344 Thanks to Jim Meyering for the original patch. 3345 3346 doc/lzma-file-format.txt | 4 ++-- 3347 src/liblzma/common/alone_encoder.c | 2 +- 3348 src/liblzma/lzma/lzma2_encoder.c | 2 +- 3349 src/xz/file_io.c | 2 +- 3350 src/xz/xz.1 | 2 +- 3351 windows/INSTALL-Windows.txt | 2 +- 3352 6 files changed, 7 insertions(+), 7 deletions(-) 3353 3354commit d91a84b534b012d19474f2fda1fbcaef873e1ba4 3355Author: Lasse Collin <lasse.collin@tukaani.org> 3356Date: 2011-04-12 11:46:01 +0300 3357 3358 Update NEWS. 3359 3360 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 3361 1 file changed, 45 insertions(+), 2 deletions(-) 3362 3363commit 14e6ad8cfe0165c1a8beeb5b2a1536558b29b0a1 3364Author: Lasse Collin <lasse.collin@tukaani.org> 3365Date: 2011-04-12 11:45:40 +0300 3366 3367 Update TODO. 3368 3369 TODO | 12 +++++++++++- 3370 1 file changed, 11 insertions(+), 1 deletion(-) 3371 3372commit 70e750f59793f9b5cd306a5adce9b8e427739e04 3373Author: Lasse Collin <lasse.collin@tukaani.org> 3374Date: 2011-04-12 11:08:55 +0300 3375 3376 xz: Update the man page about threading. 3377 3378 src/xz/xz.1 | 34 ++++++++++++++++++++-------------- 3379 1 file changed, 20 insertions(+), 14 deletions(-) 3380 3381commit 24e0406c0fb7494d2037dec033686faf1bf67068 3382Author: Lasse Collin <lasse.collin@tukaani.org> 3383Date: 2011-04-11 22:06:03 +0300 3384 3385 xz: Add support for threaded compression. 3386 3387 src/xz/args.c | 3 +- 3388 src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++---------------------- 3389 2 files changed, 125 insertions(+), 80 deletions(-) 3390 3391commit de678e0c924aa79a19293a8a6ed82e8cb6572a42 3392Author: Lasse Collin <lasse.collin@tukaani.org> 3393Date: 2011-04-11 22:03:30 +0300 3394 3395 liblzma: Add lzma_stream_encoder_mt() for threaded compression. 3396 3397 This is the simplest method to do threading, which splits 3398 the uncompressed data into blocks and compresses them 3399 independently from each other. There's room for improvement 3400 especially to reduce the memory usage, but nevertheless, 3401 this is a good start. 3402 3403 configure.ac | 1 + 3404 src/liblzma/api/lzma/container.h | 163 +++++ 3405 src/liblzma/common/Makefile.inc | 7 + 3406 src/liblzma/common/common.c | 9 +- 3407 src/liblzma/common/common.h | 14 + 3408 src/liblzma/common/outqueue.c | 180 ++++++ 3409 src/liblzma/common/outqueue.h | 155 +++++ 3410 src/liblzma/common/stream_encoder_mt.c | 1011 ++++++++++++++++++++++++++++++++ 3411 8 files changed, 1539 insertions(+), 1 deletion(-) 3412 3413commit 25fe729532cdf4b8fed56a4519b73cf31efaec50 3414Author: Lasse Collin <lasse.collin@tukaani.org> 3415Date: 2011-04-11 21:15:07 +0300 3416 3417 liblzma: Add the forgotten lzma_lzma2_block_size(). 3418 3419 This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a. 3420 3421 src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++ 3422 src/liblzma/lzma/lzma2_encoder.h | 2 ++ 3423 2 files changed, 12 insertions(+) 3424 3425commit 91afb785a1dee34862078d9bf844ef12b8cc3e35 3426Author: Lasse Collin <lasse.collin@tukaani.org> 3427Date: 2011-04-11 21:04:13 +0300 3428 3429 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too. 3430 3431 src/liblzma/api/lzma/container.h | 9 +++++++++ 3432 1 file changed, 9 insertions(+) 3433 3434commit 4a9905302a9e4a1601ae09d650d3f08ce98ae9ee 3435Author: Lasse Collin <lasse.collin@tukaani.org> 3436Date: 2011-04-11 20:59:07 +0300 3437 3438 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better. 3439 3440 It didn't mention the return value that is used if 3441 an error occurs. 3442 3443 src/liblzma/api/lzma/filter.h | 8 ++++++-- 3444 1 file changed, 6 insertions(+), 2 deletions(-) 3445 3446commit 0badb0b1bd649163322783b0bd9e590b4bc7a93d 3447Author: Lasse Collin <lasse.collin@tukaani.org> 3448Date: 2011-04-11 19:28:18 +0300 3449 3450 liblzma: Use memzero() to initialize supported_actions[]. 3451 3452 This is cleaner and makes it simpler to add new members 3453 to lzma_action enumeration. 3454 3455 src/liblzma/common/common.c | 6 ++---- 3456 1 file changed, 2 insertions(+), 4 deletions(-) 3457 3458commit a7934c446a58e20268689899d2a39f50e571f251 3459Author: Lasse Collin <lasse.collin@tukaani.org> 3460Date: 2011-04-11 19:26:27 +0300 3461 3462 liblzma: API comment about lzma_allocator with threaded coding. 3463 3464 src/liblzma/api/lzma/base.h | 18 +++++++++++++----- 3465 1 file changed, 13 insertions(+), 5 deletions(-) 3466 3467commit 5eefc0086d24a65e136352f8c1d19cefb0cbac7a 3468Author: Lasse Collin <lasse.collin@tukaani.org> 3469Date: 2011-04-11 19:16:30 +0300 3470 3471 liblzma: Add an internal function lzma_mt_block_size(). 3472 3473 This is based lzma_chunk_size() that was included in some 3474 development version of liblzma. 3475 3476 src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++------------------- 3477 src/liblzma/common/filter_encoder.h | 4 ++-- 3478 2 files changed, 24 insertions(+), 26 deletions(-) 3479 3480commit d1199274758049fc523d98c5b860ff814a799eec 3481Author: Lasse Collin <lasse.collin@tukaani.org> 3482Date: 2011-04-11 13:59:50 +0300 3483 3484 liblzma: Don't create an empty Block in lzma_stream_buffer_encode(). 3485 3486 Empty Block was created if the input buffer was empty. 3487 Empty Block wastes a few bytes of space, but more importantly 3488 it triggers a bug in XZ Utils 5.0.1 and older when trying 3489 to decompress such a file. 5.0.1 and older consider such 3490 files to be corrupt. I thought that no encoder creates empty 3491 Blocks when releasing 5.0.2 but I was wrong. 3492 3493 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++------- 3494 1 file changed, 13 insertions(+), 7 deletions(-) 3495 3496commit 3b22fc2c87ec85fcdd385c163b68fc49c97aa848 3497Author: Lasse Collin <lasse.collin@tukaani.org> 3498Date: 2011-04-11 13:28:40 +0300 3499 3500 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK. 3501 3502 This return value was missing from the API comments of 3503 four functions. 3504 3505 src/liblzma/api/lzma/block.h | 1 + 3506 src/liblzma/api/lzma/container.h | 3 +++ 3507 2 files changed, 4 insertions(+) 3508 3509commit 71b9380145dccf001f22e66a06b9d508905c25ce 3510Author: Lasse Collin <lasse.collin@tukaani.org> 3511Date: 2011-04-11 13:21:28 +0300 3512 3513 liblzma: Validate encoder arguments better. 3514 3515 The biggest problem was that the integrity check type 3516 wasn't validated, and e.g. lzma_easy_buffer_encode() 3517 would create a corrupt .xz Stream if given an unsupported 3518 Check ID. Luckily applications don't usually try to use 3519 an unsupport Check ID, so this bug is unlikely to cause 3520 many real-world problems. 3521 3522 src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------ 3523 src/liblzma/common/block_encoder.c | 5 +++++ 3524 src/liblzma/common/stream_buffer_encoder.c | 3 +++ 3525 3 files changed, 20 insertions(+), 6 deletions(-) 3526 3527commit ec7e3dbad704268825fc48f0bdd4577bc46b4f13 3528Author: Lasse Collin <lasse.collin@tukaani.org> 3529Date: 2011-04-11 09:57:30 +0300 3530 3531 xz: Move the description of --block-size in --long-help. 3532 3533 src/xz/message.c | 8 ++++---- 3534 1 file changed, 4 insertions(+), 4 deletions(-) 3535 3536commit cd3086ff443bb282bdf556919c28b3e3cbed8169 3537Author: Lasse Collin <lasse.collin@tukaani.org> 3538Date: 2011-04-11 09:55:35 +0300 3539 3540 Docs: Document --single-stream and --block-size. 3541 3542 src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++-- 3543 1 file changed, 36 insertions(+), 2 deletions(-) 3544 3545commit fb64a4924334e3c440865710990fe08090f2fed0 3546Author: Lasse Collin <lasse.collin@tukaani.org> 3547Date: 2011-04-11 09:27:57 +0300 3548 3549 liblzma: Make lzma_stream_encoder_init() static (second try). 3550 3551 It's an internal function and it's not needed by 3552 anything outside stream_encoder.c. 3553 3554 src/liblzma/common/Makefile.inc | 1 - 3555 src/liblzma/common/easy_encoder.c | 1 - 3556 src/liblzma/common/stream_encoder.c | 13 ++++++------- 3557 src/liblzma/common/stream_encoder.h | 23 ----------------------- 3558 4 files changed, 6 insertions(+), 32 deletions(-) 3559 3560commit a34730cf6af4d33a4057914e57227b6dfde6567e 3561Author: Lasse Collin <lasse.collin@tukaani.org> 3562Date: 2011-04-11 08:31:42 +0300 3563 3564 Revert "liblzma: Make lzma_stream_encoder_init() static." 3565 3566 This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7. 3567 I don't know what I was thinking. 3568 3569 src/liblzma/common/Makefile.inc | 1 + 3570 src/liblzma/common/stream_encoder.c | 9 +++++---- 3571 src/liblzma/common/stream_encoder.h | 23 +++++++++++++++++++++++ 3572 3 files changed, 29 insertions(+), 4 deletions(-) 3573 3574commit 9f0a806aef7ea79718e3f1f2baf3564295229a27 3575Author: Lasse Collin <lasse.collin@tukaani.org> 3576Date: 2011-04-10 21:23:21 +0300 3577 3578 Revise mythread.h. 3579 3580 This adds: 3581 3582 - mythread_sync() macro to create synchronized blocks 3583 3584 - mythread_cond structure and related functions 3585 and macros for condition variables with timed 3586 waiting using a relative timeout 3587 3588 - mythread_create() to create a thread with all 3589 signals blocked 3590 3591 Some of these wouldn't need to be inline functions, 3592 but I'll keep them this way for now for simplicity. 3593 3594 For timed waiting on a condition variable, librt is 3595 now required on some systems to use clock_gettime(). 3596 configure.ac was updated to handle this. 3597 3598 configure.ac | 1 + 3599 src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++----- 3600 2 files changed, 181 insertions(+), 20 deletions(-) 3601 3602commit 352ac82db5d3f64585c07b39e4759388dec0e4d7 3603Author: Lasse Collin <lasse.collin@tukaani.org> 3604Date: 2011-04-10 20:37:36 +0300 3605 3606 liblzma: Make lzma_stream_encoder_init() static. 3607 3608 It's an internal function and it's not needed by 3609 anything outside stream_encoder.c. 3610 3611 src/liblzma/common/Makefile.inc | 1 - 3612 src/liblzma/common/stream_encoder.c | 9 ++++----- 3613 src/liblzma/common/stream_encoder.h | 23 ----------------------- 3614 3 files changed, 4 insertions(+), 29 deletions(-) 3615 3616commit 9e807fe3fe79618ac48f58207cf7082ea20a6928 3617Author: Lasse Collin <lasse.collin@tukaani.org> 3618Date: 2011-04-10 14:58:10 +0300 3619 3620 DOS: Update the docs and include notes about 8.3 filenames. 3621 3622 dos/INSTALL.txt | 79 ++++++++++++++++++++++++++++++++++++ 3623 dos/README | 88 ---------------------------------------- 3624 dos/README.txt | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3625 3 files changed, 202 insertions(+), 88 deletions(-) 3626 3627commit ebd54dbd6e481d31e80757f900ac8109ad1423c6 3628Author: Lasse Collin <lasse.collin@tukaani.org> 3629Date: 2011-04-10 13:09:42 +0300 3630 3631 xz/DOS: Add experimental 8.3 filename support. 3632 3633 This is incompatible with the 8.3 support patch made by 3634 Juan Manuel Guerrero. I think this one is nicer, but 3635 I need to get feedback from DOS users before saying 3636 that this is the final version of 8.3 filename support. 3637 3638 src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 3639 1 file changed, 167 insertions(+), 9 deletions(-) 3640 3641commit cd4fe97852bcaeffe674ee51b4613709292a0972 3642Author: Lasse Collin <lasse.collin@tukaani.org> 3643Date: 2011-04-10 12:47:47 +0300 3644 3645 xz/DOS: Be more careful with the destination file. 3646 3647 Try to avoid overwriting the source file if --force is 3648 used and the generated destination filename refers to 3649 the source file. This can happen with 8.3 filenames where 3650 extra characters are ignored. 3651 3652 If the generated output file refers to a special file 3653 like "con" or "prn", refuse to write to it even if --force 3654 is used. 3655 3656 src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++-- 3657 1 file changed, 33 insertions(+), 2 deletions(-) 3658 3659commit 607f9f98ae5ef6d49f4c21c806d462bf6b3d6796 3660Author: Lasse Collin <lasse.collin@tukaani.org> 3661Date: 2011-04-09 18:29:30 +0300 3662 3663 Update THANKS. 3664 3665 THANKS | 1 + 3666 1 file changed, 1 insertion(+) 3667 3668commit fca396b37410d272b754843a5dc13847be443a3a 3669Author: Lasse Collin <lasse.collin@tukaani.org> 3670Date: 2011-04-09 18:28:58 +0300 3671 3672 liblzma: Add missing #ifdefs to filter_common.c. 3673 3674 Passing --disable-decoders to configure broke a few 3675 encoders due to missing #ifdefs in filter_common.c. 3676 3677 Thanks to Jason Gorski for the patch. 3678 3679 src/liblzma/common/filter_common.c | 6 +++--- 3680 1 file changed, 3 insertions(+), 3 deletions(-) 3681 3682commit b03f6cd3ebadd675f2cc9d518cb26fa860269447 3683Author: Lasse Collin <lasse.collin@tukaani.org> 3684Date: 2011-04-09 15:24:59 +0300 3685 3686 xz: Avoid unneeded fstat() on DOS-like systems. 3687 3688 src/xz/file_io.c | 14 ++++++++------ 3689 1 file changed, 8 insertions(+), 6 deletions(-) 3690 3691commit 335fe260a81f61ec99ff5940df733b4c50aedb7c 3692Author: Lasse Collin <lasse.collin@tukaani.org> 3693Date: 2011-04-09 15:11:13 +0300 3694 3695 xz: Minor internal changes to handling of --threads. 3696 3697 Now it always defaults to one thread. Maybe this 3698 will change again if a threading method is added 3699 that doesn't affect memory usage. 3700 3701 src/xz/args.c | 4 ++-- 3702 src/xz/hardware.c | 24 ++++++++++++------------ 3703 src/xz/hardware.h | 9 ++++----- 3704 3 files changed, 18 insertions(+), 19 deletions(-) 3705 3706commit 9edd6ee895fbe71d245a173f48e511f154a99875 3707Author: Lasse Collin <lasse.collin@tukaani.org> 3708Date: 2011-04-08 17:53:05 +0300 3709 3710 xz: Change size_t to uint32_t in a few places. 3711 3712 src/xz/coder.c | 6 +++--- 3713 src/xz/coder.h | 2 +- 3714 2 files changed, 4 insertions(+), 4 deletions(-) 3715 3716commit 411013ea4506a6df24d35a060fcbd73a57b73eb3 3717Author: Lasse Collin <lasse.collin@tukaani.org> 3718Date: 2011-04-08 17:48:41 +0300 3719 3720 xz: Fix a typo in a comment. 3721 3722 src/xz/coder.c | 2 +- 3723 1 file changed, 1 insertion(+), 1 deletion(-) 3724 3725commit b34c5ce4b22e8d7b81f9895d15054af41d17f805 3726Author: Lasse Collin <lasse.collin@tukaani.org> 3727Date: 2011-04-05 22:41:33 +0300 3728 3729 liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c. 3730 3731 src/liblzma/check/sha256.c | 6 +++--- 3732 1 file changed, 3 insertions(+), 3 deletions(-) 3733 3734commit db33117cc85c17e0b897b5312bd5eb43aac41c03 3735Author: Lasse Collin <lasse.collin@tukaani.org> 3736Date: 2011-04-05 17:12:20 +0300 3737 3738 Build: Upgrade m4/acx_pthread.m4 to the latest version. 3739 3740 It was renamed to ax_pthread.m4 in Autoconf Archive. 3741 3742 configure.ac | 2 +- 3743 m4/acx_pthread.m4 | 279 ----------------------------------------------------- 3744 m4/ax_pthread.m4 | 283 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3745 3 files changed, 284 insertions(+), 280 deletions(-) 3746 3747commit 1039bfcfc098b69d56ecb39d198a092552eacf6d 3748Author: Lasse Collin <lasse.collin@tukaani.org> 3749Date: 2011-04-05 15:27:26 +0300 3750 3751 xz: Use posix_fadvise() if it is available. 3752 3753 configure.ac | 3 +++ 3754 src/xz/file_io.c | 15 +++++++++++++++ 3755 2 files changed, 18 insertions(+) 3756 3757commit 1ef3cf44a8eb9512480af4482a5232ea08363b14 3758Author: Lasse Collin <lasse.collin@tukaani.org> 3759Date: 2011-04-05 15:13:29 +0300 3760 3761 xz: Call lzma_end(&strm) before exiting if debugging is enabled. 3762 3763 src/xz/coder.c | 10 ++++++++++ 3764 src/xz/coder.h | 5 +++++ 3765 src/xz/main.c | 4 ++++ 3766 3 files changed, 19 insertions(+) 3767 3768commit bd432015d33dcade611d297bc01eb0700088ef6c 3769Author: Lasse Collin <lasse.collin@tukaani.org> 3770Date: 2011-04-02 14:49:56 +0300 3771 3772 liblzma: Fix a memory leak in stream_encoder.c. 3773 3774 It leaks old filter options structures (hundred bytes or so) 3775 every time the lzma_stream is reinitialized. With the xz tool, 3776 this happens when compressing multiple files. 3777 3778 src/liblzma/common/stream_encoder.c | 2 +- 3779 1 file changed, 1 insertion(+), 1 deletion(-) 3780 3781commit 16889013214e7620d204b6e6c1bf9f3103a13655 3782Author: Lasse Collin <lasse.collin@tukaani.org> 3783Date: 2011-04-01 08:47:20 +0300 3784 3785 Updated NEWS for 5.0.2. 3786 3787 NEWS | 18 ++++++++++++++++++ 3788 1 file changed, 18 insertions(+) 3789 3790commit 85cdf7dd4e97b078e7b929e47f55a7f1da36010f 3791Author: Lasse Collin <lasse.collin@tukaani.org> 3792Date: 2011-03-31 15:06:58 +0300 3793 3794 Update INSTALL with another note about IRIX. 3795 3796 INSTALL | 4 ++++ 3797 1 file changed, 4 insertions(+) 3798 3799commit c3f4995586873d6a4fb7e451010a128571a9a370 3800Author: Lasse Collin <lasse.collin@tukaani.org> 3801Date: 2011-03-31 12:22:55 +0300 3802 3803 Tests: Add a new file to test empty LZMA2 streams. 3804 3805 tests/files/README | 4 ++++ 3806 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes 3807 2 files changed, 4 insertions(+) 3808 3809commit 0d21f49a809dc2088da6cc0da7f948404df7ecfa 3810Author: Lasse Collin <lasse.collin@tukaani.org> 3811Date: 2011-03-31 11:54:48 +0300 3812 3813 liblzma: Fix decoding of LZMA2 streams having no uncompressed data. 3814 3815 The decoder considered empty LZMA2 streams to be corrupt. 3816 This shouldn't matter much with .xz files, because no encoder 3817 creates empty LZMA2 streams in .xz. This bug is more likely 3818 to cause problems in applications that use raw LZMA2 streams. 3819 3820 src/liblzma/lzma/lzma2_decoder.c | 8 ++++---- 3821 1 file changed, 4 insertions(+), 4 deletions(-) 3822 3823commit 40277998cb9bad564ce4827aff152e6e1c904dfa 3824Author: Lasse Collin <lasse.collin@tukaani.org> 3825Date: 2011-03-24 01:42:49 +0200 3826 3827 Scripts: Better fix for xzgrep. 3828 3829 Now it uses "grep -q". 3830 3831 Thanks to Gregory Margo. 3832 3833 src/scripts/xzgrep.in | 8 ++++++-- 3834 1 file changed, 6 insertions(+), 2 deletions(-) 3835 3836commit 2118733045ad0ca183a3f181a0399baf876983a6 3837Author: Lasse Collin <lasse.collin@tukaani.org> 3838Date: 2011-03-24 01:22:18 +0200 3839 3840 Updated THANKS. 3841 3842 THANKS | 1 + 3843 1 file changed, 1 insertion(+) 3844 3845commit c7210d9a3fca6f31a57208bfddfc9ab20a2e097a 3846Author: Lasse Collin <lasse.collin@tukaani.org> 3847Date: 2011-03-24 01:21:32 +0200 3848 3849 Scripts: Fix xzgrep -l. 3850 3851 It didn't work at all. It tried to use the -q option 3852 for grep, but it appended it after "--". This works 3853 around it by redirecting to /dev/null. The downside 3854 is that this can be slower with big files compared 3855 to proper use of "grep -q". 3856 3857 Thanks to Gregory Margo. 3858 3859 src/scripts/xzgrep.in | 4 ++-- 3860 1 file changed, 2 insertions(+), 2 deletions(-) 3861 3862commit 4eb83e32046a6d670862bc91c3d82530963b455e 3863Author: Lasse Collin <lasse.collin@tukaani.org> 3864Date: 2011-03-19 13:08:22 +0200 3865 3866 Scripts: Add lzop (.lzo) support to xzdiff and xzgrep. 3867 3868 src/scripts/xzdiff.1 | 6 ++++-- 3869 src/scripts/xzdiff.in | 22 ++++++++++++++-------- 3870 src/scripts/xzgrep.1 | 11 +++++++---- 3871 src/scripts/xzgrep.in | 5 +++-- 3872 4 files changed, 28 insertions(+), 16 deletions(-) 3873 3874commit 923b22483bd9356f3219b2b784d96f455f4dc499 3875Author: Lasse Collin <lasse.collin@tukaani.org> 3876Date: 2011-03-18 19:10:30 +0200 3877 3878 xz: Add --block-size=SIZE. 3879 3880 This uses LZMA_FULL_FLUSH every SIZE bytes of input. 3881 3882 Man page wasn't updated yet. 3883 3884 src/xz/args.c | 7 +++++++ 3885 src/xz/coder.c | 50 ++++++++++++++++++++++++++++++++++++++++---------- 3886 src/xz/coder.h | 3 +++ 3887 src/xz/message.c | 4 ++++ 3888 4 files changed, 54 insertions(+), 10 deletions(-) 3889 3890commit 57597d42ca1740ad506437be168d800a50f1a0ad 3891Author: Lasse Collin <lasse.collin@tukaani.org> 3892Date: 2011-03-18 18:19:19 +0200 3893 3894 xz: Add --single-stream. 3895 3896 This can be useful when there is garbage after the 3897 compressed stream (.xz, .lzma, or raw stream). 3898 3899 Man page wasn't updated yet. 3900 3901 src/xz/args.c | 6 ++++++ 3902 src/xz/coder.c | 11 +++++++++-- 3903 src/xz/coder.h | 3 +++ 3904 src/xz/message.c | 6 +++++- 3905 4 files changed, 23 insertions(+), 3 deletions(-) 3906 3907commit 96f94bc925d579a700147fa5d7793b64d69cfc18 3908Author: Lasse Collin <lasse.collin@tukaani.org> 3909Date: 2011-02-04 22:49:31 +0200 3910 3911 xz: Clean up suffix.c. 3912 3913 struct suffix_pair isn't needed in compresed_name() 3914 so get rid of it there. 3915 3916 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------ 3917 1 file changed, 20 insertions(+), 24 deletions(-) 3918 3919commit 8930c7ae3f82bdae15aa129f01de08be23d7e8d7 3920Author: Lasse Collin <lasse.collin@tukaani.org> 3921Date: 2011-02-04 11:29:47 +0200 3922 3923 xz: Check if the file already has custom suffix when compressing. 3924 3925 Now "xz -S .test foo.test" refuses to compress the 3926 file because it already has the suffix .test. The man 3927 page had it documented this way already. 3928 3929 src/xz/suffix.c | 9 +++++++++ 3930 1 file changed, 9 insertions(+) 3931 3932commit 940d5852c6cf08abccc6befd9d1b5411c9076a58 3933Author: Lasse Collin <lasse.collin@tukaani.org> 3934Date: 2011-02-02 23:01:51 +0200 3935 3936 Updated THANKS. 3937 3938 THANKS | 1 + 3939 1 file changed, 1 insertion(+) 3940 3941commit 4ebe65f839613f27f127bab7b8c347d982330ee3 3942Author: Lasse Collin <lasse.collin@tukaani.org> 3943Date: 2011-02-02 23:00:33 +0200 3944 3945 Translations: Add Polish translation. 3946 3947 Thanks to Jakub Bogusz. 3948 3949 po/LINGUAS | 1 + 3950 po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3951 2 files changed, 826 insertions(+) 3952 3953commit fc1d292dca1925dfd17174f443f91a696ecd5bf8 3954Author: Lasse Collin <lasse.collin@tukaani.org> 3955Date: 2011-02-02 22:24:00 +0200 3956 3957 Updated THANKS. 3958 3959 THANKS | 1 + 3960 1 file changed, 1 insertion(+) 3961 3962commit 6dd061adfd2775428b079eb03d6fd47d7c0f1ffe 3963Merge: 9d542ce 5fbce0b 3964Author: Lasse Collin <lasse.collin@tukaani.org> 3965Date: 2011-02-06 20:13:01 +0200 3966 3967 Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d' 3968 3969commit 5fbce0b8d96dc96775aa0215e3581addc830e23d 3970Author: Lasse Collin <lasse.collin@tukaani.org> 3971Date: 2011-01-28 20:16:57 +0200 3972 3973 Update NEWS for 5.0.1. 3974 3975 NEWS | 14 ++++++++++++++ 3976 1 file changed, 14 insertions(+) 3977 3978commit 03ebd1bbb314f9f204940219a835c883bf442475 3979Author: Lasse Collin <lasse.collin@tukaani.org> 3980Date: 2011-01-26 12:19:08 +0200 3981 3982 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files. 3983 3984 xz didn't compress setuid/setgid/sticky files and files 3985 with multiple hard links even with --force. This bug was 3986 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4. 3987 3988 Thanks to Charles Wilson. 3989 3990 src/xz/file_io.c | 15 +++++++-------- 3991 1 file changed, 7 insertions(+), 8 deletions(-) 3992 3993commit 9d542ceebcbe40b174169c132ccfcdc720ca7089 3994Merge: 4f2c69a 7bd0a5e 3995Author: Lasse Collin <lasse.collin@tukaani.org> 3996Date: 2011-01-19 11:45:35 +0200 3997 3998 Merge branch 'v5.0' 3999 4000commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136 4001Author: Lasse Collin <lasse.collin@tukaani.org> 4002Date: 2011-01-18 21:25:24 +0200 4003 4004 Updated THANKS. 4005 4006 THANKS | 1 + 4007 1 file changed, 1 insertion(+) 4008 4009commit f71c4e16e913f660977526f0ef8d2acdf458d7c9 4010Author: Lasse Collin <lasse.collin@tukaani.org> 4011Date: 2011-01-18 21:23:50 +0200 4012 4013 Add alloc_size and malloc attributes to a few functions. 4014 4015 Thanks to Cristian Rodríguez for the original patch. 4016 4017 src/common/sysdefs.h | 6 ++++++ 4018 src/liblzma/common/common.h | 2 +- 4019 src/xz/util.h | 5 +++-- 4020 3 files changed, 10 insertions(+), 3 deletions(-) 4021 4022commit 316cbe24465143edde8f6ffb7532834b7b2ea93f 4023Author: Lasse Collin <lasse.collin@tukaani.org> 4024Date: 2010-12-13 16:36:33 +0200 4025 4026 Scripts: Fix gzip and bzip2 support in xzdiff. 4027 4028 src/scripts/xzdiff.in | 12 ++++++------ 4029 1 file changed, 6 insertions(+), 6 deletions(-) 4030 4031commit 4f2c69a4e3e0aee2e37b0b1671d34086e20c8ac6 4032Merge: adb89e6 9311774 4033Author: Lasse Collin <lasse.collin@tukaani.org> 4034Date: 2010-12-12 23:13:22 +0200 4035 4036 Merge branch 'v5.0' 4037 4038commit 9311774c493c19deab51ded919dcd2e9c4aa2829 4039Author: Lasse Collin <lasse.collin@tukaani.org> 4040Date: 2010-12-12 21:23:55 +0200 4041 4042 Build: Enable ASM on DJGPP by default. 4043 4044 configure.ac | 2 +- 4045 1 file changed, 1 insertion(+), 1 deletion(-) 4046 4047commit 4a42aaee282fc73b482581684d65110506d5efdd 4048Author: Lasse Collin <lasse.collin@tukaani.org> 4049Date: 2010-12-12 16:09:42 +0200 4050 4051 Updated THANKS. 4052 4053 THANKS | 1 + 4054 1 file changed, 1 insertion(+) 4055 4056commit ce56f63c41ee210e6308090eb6d49221fdf67d6c 4057Author: Lasse Collin <lasse.collin@tukaani.org> 4058Date: 2010-12-12 16:07:11 +0200 4059 4060 Add missing PRIx32 and PRIx64 compatibility definitions. 4061 4062 This fixes portability to systems that lack C99 inttypes.h. 4063 4064 Thanks to Juan Manuel Guerrero. 4065 4066 src/common/sysdefs.h | 9 +++++++++ 4067 1 file changed, 9 insertions(+) 4068 4069commit e6baedddcf54e7da049ebc49183565b99facd4c7 4070Author: Lasse Collin <lasse.collin@tukaani.org> 4071Date: 2010-12-12 14:50:04 +0200 4072 4073 DOS-like: Treat \ and : as directory separators in addition to /. 4074 4075 Juan Manuel Guerrero had fixed this in his XZ Utils port 4076 to DOS/DJGPP. The bug affects also Windows and OS/2. 4077 4078 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++---- 4079 1 file changed, 29 insertions(+), 4 deletions(-) 4080 4081commit adb89e68d43a4cadb0c215b45ef7a75737c9c3ec 4082Merge: 7c24e0d b7afd3e 4083Author: Lasse Collin <lasse.collin@tukaani.org> 4084Date: 2010-12-07 18:53:04 +0200 4085 4086 Merge branch 'v5.0' 4087 4088commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f 4089Author: Lasse Collin <lasse.collin@tukaani.org> 4090Date: 2010-12-07 18:52:04 +0200 4091 4092 Translations: Fix Czech translation of "sparse file". 4093 4094 Thanks to Petr Hubený and Marek Černocký. 4095 4096 po/cs.po | 88 ++++++++++++++++++++++++++++++++-------------------------------- 4097 1 file changed, 44 insertions(+), 44 deletions(-) 4098 4099commit 7c24e0d1b8a2e86e9263b0d56d39621e01aed7af 4100Merge: b4d42f1 3e56470 4101Author: Lasse Collin <lasse.collin@tukaani.org> 4102Date: 2010-11-15 14:33:01 +0200 4103 4104 Merge branch 'v5.0' 4105 4106commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e 4107Author: Lasse Collin <lasse.collin@tukaani.org> 4108Date: 2010-11-15 14:28:26 +0200 4109 4110 liblzma: Document the return value of lzma_lzma_preset(). 4111 4112 src/liblzma/api/lzma/lzma.h | 3 +++ 4113 1 file changed, 3 insertions(+) 4114 4115commit 2964d8d691ed92abdcf214888d79ad6d79774735 4116Author: Jonathan Nieder <jrnieder@gmail.com> 4117Date: 2010-11-12 15:22:13 -0600 4118 4119 Simplify paths in generated API docs 4120 4121 Currently the file list generated by Doxygen has src/ at the 4122 beginning of each path. Paths like common/sysdefs.h and 4123 liblzma/api/lzma.h are easier to read without such a prefix. 4124 4125 Builds from a separate build directory with 4126 4127 mkdir build 4128 cd build 4129 ../configure 4130 doxygen Doxyfile 4131 4132 include an even longer prefix /home/someone/src/xz/src; this 4133 patch has the nice side-effect of eliminating that prefix, too. 4134 4135 Fixes: http://bugs.debian.org/572273 4136 4137 Doxyfile.in | 2 +- 4138 1 file changed, 1 insertion(+), 1 deletion(-) 4139 4140commit b4d42f1a7120e2cefeb2f14425efe2ca6db85416 4141Author: Anders F Bjorklund <afb@users.sourceforge.net> 4142Date: 2010-11-05 12:56:11 +0100 4143 4144 add build script for macosx universal 4145 4146 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4147 1 file changed, 92 insertions(+) 4148 4149commit 15ee6935abe4a2fc76639ee342ca2e69af3e0ad6 4150Author: Lasse Collin <lasse.collin@tukaani.org> 4151Date: 2010-11-04 18:31:40 +0200 4152 4153 Update the copies of GPLv2 and LGPLv2.1 from gnu.org. 4154 4155 There are only a few white space changes. 4156 4157 COPYING.GPLv2 | 14 +++++++------- 4158 COPYING.LGPLv2.1 | 16 +++++++--------- 4159 2 files changed, 14 insertions(+), 16 deletions(-) 4160 4161commit 8e355f7fdbeee6fe394eb02a28f267ce99a882a2 4162Merge: 974ebe6 37c2565 4163Author: Lasse Collin <lasse.collin@tukaani.org> 4164Date: 2010-10-26 15:53:06 +0300 4165 4166 Merge branch 'v5.0' 4167 4168commit 37c25658efd25b034266daf87cd381d20d1df776 4169Author: Lasse Collin <lasse.collin@tukaani.org> 4170Date: 2010-10-26 15:48:48 +0300 4171 4172 Build: Copy the example programs to $docdir/examples. 4173 4174 The example programs by Daniel Mealha Cabrita were included 4175 in the git repository, but I had forgot to add them to 4176 Makefile.am. Thus, they didn't get included in the source 4177 package at all by "make dist". 4178 4179 Makefile.am | 5 +++++ 4180 windows/build.bash | 3 ++- 4181 2 files changed, 7 insertions(+), 1 deletion(-) 4182 4183commit 974ebe63497bdf0d262e06474f0dd5a70b1dd000 4184Author: Lasse Collin <lasse.collin@tukaani.org> 4185Date: 2010-10-26 10:36:41 +0300 4186 4187 liblzma: Rename a few variables and constants. 4188 4189 This has no semantic changes. I find the new names slightly 4190 more logical and they match the names that are already used 4191 in XZ Embedded. 4192 4193 The name fastpos wasn't changed (not worth the hassle). 4194 4195 src/liblzma/lzma/fastpos.h | 55 +++++------ 4196 src/liblzma/lzma/lzma2_encoder.c | 2 +- 4197 src/liblzma/lzma/lzma_common.h | 45 ++++----- 4198 src/liblzma/lzma/lzma_decoder.c | 58 +++++------ 4199 src/liblzma/lzma/lzma_encoder.c | 56 +++++------ 4200 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 9 +- 4201 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 128 ++++++++++++------------- 4202 src/liblzma/lzma/lzma_encoder_private.h | 16 ++-- 4203 8 files changed, 183 insertions(+), 186 deletions(-) 4204 4205commit 7c427ec38d016c0070a42315d752857e33792fc4 4206Author: Lasse Collin <lasse.collin@tukaani.org> 4207Date: 2010-10-25 12:59:25 +0300 4208 4209 Bump version 5.1.0alpha. 4210 4211 src/liblzma/api/lzma/version.h | 4 ++-- 4212 1 file changed, 2 insertions(+), 2 deletions(-) 4213 4214commit e45929260cd902036efd40c5610a8d0a50d5712b 4215Author: Lasse Collin <lasse.collin@tukaani.org> 4216Date: 2010-10-23 17:25:52 +0300 4217 4218 Build: Fix mydist rule when .git doesn't exist. 4219 4220 Makefile.am | 1 + 4221 1 file changed, 1 insertion(+) 4222 4223commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168 4224Author: Lasse Collin <lasse.collin@tukaani.org> 4225Date: 2010-10-23 14:15:35 +0300 4226 4227 Add NEWS for 5.0.0. 4228 4229 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4230 1 file changed, 62 insertions(+) 4231 4232commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c 4233Author: Lasse Collin <lasse.collin@tukaani.org> 4234Date: 2010-10-23 14:02:53 +0300 4235 4236 Bump version to 5.0.0 and liblzma version-info to 5:0:0. 4237 4238 src/liblzma/Makefile.am | 2 +- 4239 src/liblzma/api/lzma/version.h | 8 ++++---- 4240 2 files changed, 5 insertions(+), 5 deletions(-) 4241 4242commit 8c947e9291691629714dafb4536c718b6cc24fbd 4243Author: Lasse Collin <lasse.collin@tukaani.org> 4244Date: 2010-10-23 12:30:54 +0300 4245 4246 liblzma: Make lzma_code() check the reserved members in lzma_stream. 4247 4248 If any of the reserved members in lzma_stream are non-zero 4249 or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible 4250 that a new feature in the future is indicated by just setting 4251 a reserved member to some other value, so the old liblzma 4252 version need to catch it as an unsupported feature. 4253 4254 src/liblzma/common/common.c | 14 ++++++++++++++ 4255 1 file changed, 14 insertions(+) 4256 4257commit e61d85e082743ebd2dd0ff28fc0a82482ede0538 4258Author: Lasse Collin <lasse.collin@tukaani.org> 4259Date: 2010-10-23 12:26:33 +0300 4260 4261 Windows: Use MinGW's stdio functions. 4262 4263 The non-standard ones from msvcrt.dll appear to work 4264 most of the time with XZ Utils, but there are some 4265 corner cases where things may go very wrong. So it's 4266 good to use the better replacements provided by 4267 MinGW(-w64) runtime. 4268 4269 src/common/sysdefs.h | 5 +++++ 4270 1 file changed, 5 insertions(+) 4271 4272commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc 4273Author: Lasse Collin <lasse.collin@tukaani.org> 4274Date: 2010-10-23 12:21:32 +0300 4275 4276 liblzma: Use 512 as INDEX_GROUP_SIZE. 4277 4278 This lets compiler use shifting instead of 64-bit division. 4279 4280 src/liblzma/common/index.c | 2 +- 4281 1 file changed, 1 insertion(+), 1 deletion(-) 4282 4283commit 613939fc82603b75b59eee840871a05bc8dd08e0 4284Author: Lasse Collin <lasse.collin@tukaani.org> 4285Date: 2010-10-23 12:20:11 +0300 4286 4287 liblzma: A few ABI tweaks to reserve space in structures. 4288 4289 src/liblzma/api/lzma/base.h | 7 ++++++- 4290 src/liblzma/api/lzma/lzma.h | 4 ++-- 4291 src/liblzma/api/lzma/stream_flags.h | 4 ---- 4292 3 files changed, 8 insertions(+), 7 deletions(-) 4293 4294commit 68b83f252df3d27480a9f6f03445d16f6506fef1 4295Author: Lasse Collin <lasse.collin@tukaani.org> 4296Date: 2010-10-21 23:16:11 +0300 4297 4298 xz: Make sure that message_strm() can never return NULL. 4299 4300 src/xz/message.c | 7 +++++-- 4301 1 file changed, 5 insertions(+), 2 deletions(-) 4302 4303commit d09c5753e33ff96ee57edb6d1e98e34041203695 4304Author: Lasse Collin <lasse.collin@tukaani.org> 4305Date: 2010-10-21 23:06:31 +0300 4306 4307 liblzma: Update the comments in the API headers. 4308 4309 Adding support for LZMA_FINISH for Index encoding and 4310 decoding needed tiny additions to the relevant .c files too. 4311 4312 src/liblzma/api/lzma.h | 4 +-- 4313 src/liblzma/api/lzma/base.h | 38 +++++++++++++-------------- 4314 src/liblzma/api/lzma/bcj.h | 4 +-- 4315 src/liblzma/api/lzma/block.h | 4 +-- 4316 src/liblzma/api/lzma/container.h | 26 ++++++++++++------- 4317 src/liblzma/api/lzma/filter.h | 51 ++++++++++++++++++------------------- 4318 src/liblzma/api/lzma/hardware.h | 3 +-- 4319 src/liblzma/api/lzma/index.h | 28 ++++++++++++-------- 4320 src/liblzma/api/lzma/index_hash.h | 2 +- 4321 src/liblzma/api/lzma/lzma.h | 46 ++++++++++++++++++++++----------- 4322 src/liblzma/api/lzma/stream_flags.h | 4 +-- 4323 src/liblzma/api/lzma/vli.h | 31 +++++++++++----------- 4324 src/liblzma/common/index_decoder.c | 1 + 4325 src/liblzma/common/index_encoder.c | 1 + 4326 14 files changed, 136 insertions(+), 107 deletions(-) 4327 4328commit 33c1c0e102eb529588503b8beea0903a45488fad 4329Author: Lasse Collin <lasse.collin@tukaani.org> 4330Date: 2010-10-19 12:08:30 +0300 4331 4332 Update INSTALL.generic. 4333 4334 INSTALL.generic | 99 ++++++++++++++++++++++++++++++++++++++++++++++----------- 4335 1 file changed, 81 insertions(+), 18 deletions(-) 4336 4337commit 0076e03641f201c4b77dddd5a6db5880be19a78c 4338Author: Lasse Collin <lasse.collin@tukaani.org> 4339Date: 2010-10-19 11:44:37 +0300 4340 4341 Clean up a few FIXMEs and TODOs. 4342 4343 lzma_chunk_size() was commented out because it is 4344 currently useless. 4345 4346 src/liblzma/common/filter_encoder.c | 2 ++ 4347 src/liblzma/common/filter_encoder.h | 4 ++-- 4348 src/liblzma/lzma/lzma2_decoder.c | 1 - 4349 src/liblzma/lzma/lzma_decoder.c | 4 ++-- 4350 src/liblzma/lzma/lzma_encoder.c | 2 +- 4351 src/xz/message.h | 2 +- 4352 6 files changed, 8 insertions(+), 7 deletions(-) 4353 4354commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9 4355Author: Lasse Collin <lasse.collin@tukaani.org> 4356Date: 2010-10-19 10:21:08 +0300 4357 4358 Update docs. 4359 4360 INSTALL | 192 +++++++++++++++++++++++++++++++++++++++++-------------------- 4361 PACKAGERS | 104 +++++++++------------------------ 4362 TODO | 17 ++++-- 4363 dos/README | 2 +- 4364 4 files changed, 172 insertions(+), 143 deletions(-) 4365 4366commit f0fa880d247e73264d2c04fe31fb3412318a0026 4367Author: Lasse Collin <lasse.collin@tukaani.org> 4368Date: 2010-10-12 15:13:30 +0300 4369 4370 xz: Avoid raise() also on OpenVMS. 4371 4372 This is similar to DOS/DJGPP that killing the program 4373 with a signal will print a backtrace or a similar message. 4374 4375 src/xz/signals.c | 2 +- 4376 1 file changed, 1 insertion(+), 1 deletion(-) 4377 4378commit ac462b1c47c451f5c62e428306314c4bdad8ae7f 4379Author: Lasse Collin <lasse.collin@tukaani.org> 4380Date: 2010-10-11 21:26:19 +0300 4381 4382 xz: Avoid SA_RESTART for portability reasons. 4383 4384 SA_RESTART is not as portable as I had hoped. It's missing 4385 at least from OpenVMS, QNX, and DJGPP). Luckily we can do 4386 fine without SA_RESTART. 4387 4388 src/xz/message.c | 38 +++++++++++++++----------------------- 4389 src/xz/message.h | 4 ++++ 4390 src/xz/signals.c | 6 ++++++ 4391 3 files changed, 25 insertions(+), 23 deletions(-) 4392 4393commit d52b411716a614c202e89ba732492efb9916cd3f 4394Author: Lasse Collin <lasse.collin@tukaani.org> 4395Date: 2010-10-10 17:58:58 +0300 4396 4397 xz: Use "%"PRIu32 instead of "%d" in a format string. 4398 4399 src/xz/message.c | 2 +- 4400 1 file changed, 1 insertion(+), 1 deletion(-) 4401 4402commit ae74d1bdeb075c3beefe76e1136c5741804e7e91 4403Author: Lasse Collin <lasse.collin@tukaani.org> 4404Date: 2010-10-10 17:43:26 +0300 4405 4406 test_files.sh: Fix the first line. 4407 4408 For some reason this prevented running the test only 4409 on OS/2 and even on that it broke only recently. 4410 4411 Thanks to Elbert Pol. 4412 4413 tests/test_files.sh | 2 +- 4414 1 file changed, 1 insertion(+), 1 deletion(-) 4415 4416commit d492b80ddd6f9a13419de6d102df7374d8f448e8 4417Author: Lasse Collin <lasse.collin@tukaani.org> 4418Date: 2010-10-10 16:49:01 +0300 4419 4420 lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t. 4421 4422 src/lzmainfo/lzmainfo.c | 2 +- 4423 1 file changed, 1 insertion(+), 1 deletion(-) 4424 4425commit 825e859a9054bd91202e5723c41a17e72f63040a 4426Author: Lasse Collin <lasse.collin@tukaani.org> 4427Date: 2010-10-10 16:47:01 +0300 4428 4429 lzmainfo: Use fileno(stdin) instead of STDIN_FILENO. 4430 4431 src/lzmainfo/lzmainfo.c | 2 +- 4432 1 file changed, 1 insertion(+), 1 deletion(-) 4433 4434commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8 4435Author: Lasse Collin <lasse.collin@tukaani.org> 4436Date: 2010-10-09 23:20:51 +0300 4437 4438 lzmainfo: Use setmode() on DOS-like systems. 4439 4440 src/lzmainfo/lzmainfo.c | 9 +++++++++ 4441 1 file changed, 9 insertions(+) 4442 4443commit ef364d3abc5647111c5424ea0d83a567e184a23b 4444Author: Lasse Collin <lasse.collin@tukaani.org> 4445Date: 2010-10-09 21:51:03 +0300 4446 4447 OS/2 and DOS: Be less verbose on signals. 4448 4449 Calling raise() to kill xz when user has pressed C-c 4450 is a bit verbose on OS/2 and DOS/DJGPP. Instead of 4451 calling raise(), set only the exit status to 1. 4452 4453 src/xz/signals.c | 7 +++++++ 4454 1 file changed, 7 insertions(+) 4455 4456commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a 4457Author: Lasse Collin <lasse.collin@tukaani.org> 4458Date: 2010-10-09 19:28:49 +0300 4459 4460 DOS: Update the Makefile, config.h and README. 4461 4462 This is now simpler and builds only xz.exe. 4463 4464 dos/Makefile | 211 +++++++++++++++-------------------------------------------- 4465 dos/README | 73 +++++++-------------- 4466 dos/config.h | 45 ++++--------- 4467 3 files changed, 86 insertions(+), 243 deletions(-) 4468 4469commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac 4470Author: Lasse Collin <lasse.collin@tukaani.org> 4471Date: 2010-10-09 18:57:55 +0300 4472 4473 Windows: Put some license info into README-Windows.txt. 4474 4475 windows/README-Windows.txt | 8 ++++---- 4476 1 file changed, 4 insertions(+), 4 deletions(-) 4477 4478commit e75100f549f85d231df25c07aa94d63e78e2d668 4479Author: Lasse Collin <lasse.collin@tukaani.org> 4480Date: 2010-10-09 18:57:04 +0300 4481 4482 Windows: Fix a diagnostics bug in build.bash. 4483 4484 windows/build.bash | 2 +- 4485 1 file changed, 1 insertion(+), 1 deletion(-) 4486 4487commit efeb998a2b1025df1c1d202cc7d21d866cd1c336 4488Author: Lasse Collin <lasse.collin@tukaani.org> 4489Date: 2010-10-09 13:02:15 +0300 4490 4491 lzmainfo: Add Windows resource file. 4492 4493 src/lzmainfo/Makefile.am | 9 +++++++++ 4494 src/lzmainfo/lzmainfo_w32res.rc | 12 ++++++++++++ 4495 2 files changed, 21 insertions(+) 4496 4497commit 389d418445f1623593dfdbba55d52fbb6d1205f5 4498Author: Lasse Collin <lasse.collin@tukaani.org> 4499Date: 2010-10-09 12:57:25 +0300 4500 4501 Add missing public domain notice to lzmadec_w32res.rc. 4502 4503 src/xzdec/lzmadec_w32res.rc | 7 +++++++ 4504 1 file changed, 7 insertions(+) 4505 4506commit 6389c773a4912dd9f111256d74ba1605230a7957 4507Author: Lasse Collin <lasse.collin@tukaani.org> 4508Date: 2010-10-09 12:52:12 +0300 4509 4510 Windows: Update common_w32res.rc. 4511 4512 src/common/common_w32res.rc | 9 +++------ 4513 1 file changed, 3 insertions(+), 6 deletions(-) 4514 4515commit 71275457ca24c9b01721f5cfc3638cf094daf454 4516Author: Lasse Collin <lasse.collin@tukaani.org> 4517Date: 2010-10-09 12:27:08 +0300 4518 4519 Windows: Make build.bash prefer MinGW-w32 over MinGW. 4520 4521 This is simply for licensing reasons. The 64-bit version 4522 will be built with MinGW-w64 anyway (at least for now), 4523 so using it also for 32-bit build allows using the same 4524 copyright notice about the MinGW-w64/w32 runtime. 4525 4526 Note that using MinGW would require a copyright notice too, 4527 because its runtime is not in the public domain either even 4528 though MinGW's home page claims that it is public domain. 4529 See <http://marc.info/?l=mingw-users&m=126489506214078>. 4530 4531 windows/build.bash | 18 +++++++++--------- 4532 1 file changed, 9 insertions(+), 9 deletions(-) 4533 4534commit 3ac35719d8433af937af6491383d4a50e343099b 4535Author: Lasse Collin <lasse.collin@tukaani.org> 4536Date: 2010-10-09 11:33:21 +0300 4537 4538 Windows: Copy COPYING-Windows.txt (if it exists) to the package. 4539 4540 Also, put README-Windows.txt to the doc directory like 4541 the other documentation files. 4542 4543 windows/build.bash | 14 ++++++++++++-- 4544 1 file changed, 12 insertions(+), 2 deletions(-) 4545 4546commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae 4547Author: Lasse Collin <lasse.collin@tukaani.org> 4548Date: 2010-10-08 21:42:37 +0300 4549 4550 Windows: Fix build.bash again. 4551 4552 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good. 4553 4554 windows/build.bash | 7 ++++--- 4555 1 file changed, 4 insertions(+), 3 deletions(-) 4556 4557commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd 4558Author: Lasse Collin <lasse.collin@tukaani.org> 4559Date: 2010-10-08 16:53:20 +0300 4560 4561 Use LZMA_VERSION_STRING instead of PACKAGE_VERSION. 4562 4563 Those are the same thing, and the former makes it a bit 4564 easier to build the code with other build systems, because 4565 one doesn't need to update the version number into custom 4566 config.h. 4567 4568 This change affects only lzmainfo. Other tools were already 4569 using LZMA_VERSION_STRING. 4570 4571 src/lzmainfo/lzmainfo.c | 2 +- 4572 1 file changed, 1 insertion(+), 1 deletion(-) 4573 4574commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f 4575Author: Lasse Collin <lasse.collin@tukaani.org> 4576Date: 2010-10-08 15:59:25 +0300 4577 4578 configure.ac: Remove two unused defines. 4579 4580 configure.ac | 4 ---- 4581 1 file changed, 4 deletions(-) 4582 4583commit 11f51b6714357cb67ec7e56ed9575c199b5581fe 4584Author: Lasse Collin <lasse.collin@tukaani.org> 4585Date: 2010-10-08 15:32:29 +0300 4586 4587 Make tests accommodate missing xz or xzdec. 4588 4589 tests/test_compress.sh | 47 ++++++++++++++++++++++++++++++----------------- 4590 tests/test_files.sh | 28 ++++++++++++++++++++++++++-- 4591 2 files changed, 56 insertions(+), 19 deletions(-) 4592 4593commit b1c7368f95e93ccdefdd0748e04398c26766f47f 4594Author: Lasse Collin <lasse.collin@tukaani.org> 4595Date: 2010-10-08 15:25:45 +0300 4596 4597 Build: Add options to disable individual command line tools. 4598 4599 configure.ac | 38 ++++++++++++++++++++++++++++++ 4600 src/Makefile.am | 15 +++++++++++- 4601 src/scripts/Makefile.am | 62 +++++++++++++++++++++---------------------------- 4602 src/xz/Makefile.am | 6 ++++- 4603 src/xzdec/Makefile.am | 12 ++++++++-- 4604 5 files changed, 93 insertions(+), 40 deletions(-) 4605 4606commit 630a8beda34af0ac153c8051b1bf01230558e422 4607Author: Lasse Collin <lasse.collin@tukaani.org> 4608Date: 2010-10-07 00:44:53 +0300 4609 4610 Windows: Make build.bash work without --enable-dynamic=no. 4611 4612 windows/build.bash | 4 ++-- 4613 1 file changed, 2 insertions(+), 2 deletions(-) 4614 4615commit f9907503f882a745dce9d84c2968f6c175ba966a 4616Author: Lasse Collin <lasse.collin@tukaani.org> 4617Date: 2010-10-05 14:13:16 +0300 4618 4619 Build: Remove the static/dynamic tricks. 4620 4621 Most distros want xz linked against shared liblzma, so 4622 it doesn't help much to require --enable-dynamic for that. 4623 Those who want to avoid PIC on x86-32 to get better 4624 performance, can still do it e.g. by using --disable-shared 4625 to compile xz and then another pass to compile shared liblzma. 4626 4627 Part of these static/dynamic tricks were needed for Windows 4628 in the past. Nowadays we rely on GCC and binutils to do the 4629 right thing with auto-import. If the Autotooled build system 4630 needs to support some other toolchain on Windows in the future, 4631 this may need some rethinking. 4632 4633 configure.ac | 74 ------------------------------------------------ 4634 debug/Makefile.am | 5 +--- 4635 src/lzmainfo/Makefile.am | 4 +-- 4636 src/xz/Makefile.am | 4 +-- 4637 src/xzdec/Makefile.am | 4 +-- 4638 tests/Makefile.am | 5 +--- 4639 6 files changed, 5 insertions(+), 91 deletions(-) 4640 4641commit fda4724d8114fccfa31c1839c15479f350c2fb4c 4642Author: Lasse Collin <lasse.collin@tukaani.org> 4643Date: 2010-10-05 12:18:58 +0300 4644 4645 configure.ac: Silence a warning from Autoconf 2.68. 4646 4647 configure.ac | 2 +- 4648 1 file changed, 1 insertion(+), 1 deletion(-) 4649 4650commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9 4651Author: Lasse Collin <lasse.collin@tukaani.org> 4652Date: 2010-10-04 19:43:01 +0300 4653 4654 A few more languages files to the xz man page. 4655 4656 Thanks to Jonathan Nieder. 4657 4658 src/xz/xz.1 | 45 ++++++++++++++++++++++++--------------------- 4659 1 file changed, 24 insertions(+), 21 deletions(-) 4660 4661commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb 4662Author: Lasse Collin <lasse.collin@tukaani.org> 4663Date: 2010-10-02 12:07:33 +0300 4664 4665 Update the FAQ. 4666 4667 doc/faq.txt | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 4668 1 file changed, 100 insertions(+), 4 deletions(-) 4669 4670commit 61ae593661e8dc402394e84d567ca2044a51572b 4671Author: Lasse Collin <lasse.collin@tukaani.org> 4672Date: 2010-10-02 11:38:20 +0300 4673 4674 liblzma: Small fixes to comments in the API headers. 4675 4676 src/liblzma/api/lzma/lzma.h | 10 +++++++--- 4677 1 file changed, 7 insertions(+), 3 deletions(-) 4678 4679commit 9166682dc601fd42c1b9510572e3f917d18de504 4680Author: Lasse Collin <lasse.collin@tukaani.org> 4681Date: 2010-09-28 11:40:12 +0300 4682 4683 Create the PDF versions of the man pages better. 4684 4685 Makefile.am | 14 +++++++------ 4686 build-aux/manconv.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 4687 2 files changed, 66 insertions(+), 6 deletions(-) 4688 4689commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8 4690Author: Lasse Collin <lasse.collin@tukaani.org> 4691Date: 2010-09-28 10:59:53 +0300 4692 4693 Move version.sh to build-aux. 4694 4695 Makefile.am | 4 ++-- 4696 build-aux/version.sh | 24 ++++++++++++++++++++++++ 4697 configure.ac | 2 +- 4698 version.sh | 24 ------------------------ 4699 windows/build.bash | 2 +- 4700 5 files changed, 28 insertions(+), 28 deletions(-) 4701 4702commit 84af9d8770451339a692e9b70f96cf56156a6069 4703Author: Lasse Collin <lasse.collin@tukaani.org> 4704Date: 2010-09-28 10:53:02 +0300 4705 4706 Update .gitignore. 4707 4708 .gitignore | 10 +++++++++- 4709 1 file changed, 9 insertions(+), 1 deletion(-) 4710 4711commit 31575a449ac64c523da3bab8d0c0b522cdc7c780 4712Author: Lasse Collin <lasse.collin@tukaani.org> 4713Date: 2010-09-28 01:17:14 +0300 4714 4715 Fix accomodate -> accommodate on the xz man page. 4716 4717 src/xz/xz.1 | 2 +- 4718 1 file changed, 1 insertion(+), 1 deletion(-) 4719 4720commit cec0ddc8ec4ce81685a51998b978e22167e461f9 4721Author: Lasse Collin <lasse.collin@tukaani.org> 4722Date: 2010-09-27 23:29:34 +0300 4723 4724 Major man page updates. 4725 4726 Lots of content was updated on the xz man page. 4727 4728 Technical improvements: 4729 - Start a new sentence on a new line. 4730 - Use fairly short lines. 4731 - Use constant-width font for examples (where supported). 4732 - Some minor cleanups. 4733 4734 Thanks to Jonathan Nieder for some language fixes. 4735 4736 src/lzmainfo/lzmainfo.1 | 25 +- 4737 src/scripts/xzdiff.1 | 15 +- 4738 src/scripts/xzgrep.1 | 11 +- 4739 src/scripts/xzless.1 | 13 +- 4740 src/scripts/xzmore.1 | 9 +- 4741 src/xz/xz.1 | 1964 ++++++++++++++++++++++++++++++++--------------- 4742 src/xzdec/xzdec.1 | 39 +- 4743 7 files changed, 1435 insertions(+), 641 deletions(-) 4744 4745commit 075257ab0416a0603be930082e31a5703e4ba345 4746Author: Lasse Collin <lasse.collin@tukaani.org> 4747Date: 2010-09-26 18:10:31 +0300 4748 4749 Fix the preset -3e. 4750 4751 depth=0 was missing. 4752 4753 src/liblzma/lzma/lzma_encoder_presets.c | 1 + 4754 1 file changed, 1 insertion(+) 4755 4756commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1 4757Author: Lasse Collin <lasse.collin@tukaani.org> 4758Date: 2010-09-23 14:03:10 +0300 4759 4760 Add translations.bash and translation notes to README. 4761 4762 translations.bash prints some messages from xz, which 4763 hopefully makes it a bit easier to test translations. 4764 4765 README | 96 +++++++++++++++++++++++++++++++++++++++++++++-- 4766 debug/translation.bash | 100 +++++++++++++++++++++++++++++++++++++++++++++++++ 4767 2 files changed, 192 insertions(+), 4 deletions(-) 4768 4769commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23 4770Author: Lasse Collin <lasse.collin@tukaani.org> 4771Date: 2010-09-17 22:14:30 +0300 4772 4773 xz: Update the Czech translation. 4774 4775 Thanks to Marek Černocký. 4776 4777 po/cs.po | 202 +++++++++++++++++++++++++++++++++++++++++---------------------- 4778 1 file changed, 131 insertions(+), 71 deletions(-) 4779 4780commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6 4781Author: Lasse Collin <lasse.collin@tukaani.org> 4782Date: 2010-09-16 23:40:41 +0300 4783 4784 xz: Add Italian translation. 4785 4786 Thanks to Milo Casagrande and Lorenzo De Liso. 4787 4788 THANKS | 2 + 4789 po/LINGUAS | 1 + 4790 po/it.po | 902 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4791 3 files changed, 905 insertions(+) 4792 4793commit 21088018554e2b0e02914205377ceb6e34a090bd 4794Author: Lasse Collin <lasse.collin@tukaani.org> 4795Date: 2010-09-15 00:34:13 +0300 4796 4797 xz: Edit a translators comment. 4798 4799 src/xz/list.c | 2 +- 4800 1 file changed, 1 insertion(+), 1 deletion(-) 4801 4802commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6 4803Author: Lasse Collin <lasse.collin@tukaani.org> 4804Date: 2010-09-14 22:47:14 +0300 4805 4806 xz: Add German translation. 4807 4808 Thanks to Andre Noll. 4809 4810 THANKS | 1 + 4811 po/LINGUAS | 1 + 4812 po/de.po | 903 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4813 3 files changed, 905 insertions(+) 4814 4815commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b 4816Author: Lasse Collin <lasse.collin@tukaani.org> 4817Date: 2010-09-10 14:30:25 +0300 4818 4819 Updated README. 4820 4821 README | 2 -- 4822 1 file changed, 2 deletions(-) 4823 4824commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71 4825Author: Lasse Collin <lasse.collin@tukaani.org> 4826Date: 2010-09-10 14:30:07 +0300 4827 4828 Updated INSTALL. 4829 4830 INSTALL | 7 ++++--- 4831 1 file changed, 4 insertions(+), 3 deletions(-) 4832 4833commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2 4834Author: Lasse Collin <lasse.collin@tukaani.org> 4835Date: 2010-09-10 14:26:20 +0300 4836 4837 Updated the git repository address in ChangeLog. 4838 4839 ChangeLog | 2 +- 4840 1 file changed, 1 insertion(+), 1 deletion(-) 4841 4842commit a8760203f93a69bc39fd14520a6e9e7b7d70be06 4843Author: Lasse Collin <lasse.collin@tukaani.org> 4844Date: 2010-09-10 14:09:33 +0300 4845 4846 xz: Add a comment to translators about "literal context bits". 4847 4848 src/xz/message.c | 4 ++++ 4849 1 file changed, 4 insertions(+) 4850 4851commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5 4852Author: Lasse Collin <lasse.collin@tukaani.org> 4853Date: 2010-09-10 10:30:33 +0300 4854 4855 xz: Multiple fixes. 4856 4857 The code assumed that printing numbers with thousand separators 4858 and decimal points would always produce only US-ASCII characters. 4859 This was used for buffer sizes (with snprintf(), no overflows) 4860 and aligning columns of the progress indicator and --list. That 4861 assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so 4862 multibyte character support was added in this commit. The old 4863 way is used if the operating system doesn't have enough multibyte 4864 support (e.g. lacks wcwidth()). 4865 4866 The sizes of buffers were increased to accomodate multibyte 4867 characters. I don't know how big they should be exactly, but 4868 they aren't used for anything critical, so it's not too bad. 4869 If they still aren't big enough, I hopefully get a bug report. 4870 snprintf() takes care of avoiding buffer overflows. 4871 4872 Some static buffers were replaced with buffers allocated on 4873 stack. double_to_str() was removed. uint64_to_str() and 4874 uint64_to_nicestr() now share the static buffer and test 4875 for thousand separator support. 4876 4877 Integrity check names "None" and "Unknown-N" (2 <= N <= 15) 4878 were marked to be translated. I had forgot these, plus they 4879 wouldn't have worked correctly anyway before this commit, 4880 because printing tables with multibyte strings didn't work. 4881 4882 Thanks to Marek Černocký for reporting the bug about 4883 misaligned table columns in --list output. 4884 4885 configure.ac | 1 + 4886 m4/tuklib_mbstr.m4 | 30 ++++++ 4887 src/common/tuklib_mbstr.h | 66 +++++++++++++ 4888 src/common/tuklib_mbstr_fw.c | 31 ++++++ 4889 src/common/tuklib_mbstr_width.c | 64 +++++++++++++ 4890 src/xz/Makefile.am | 4 +- 4891 src/xz/list.c | 205 +++++++++++++++++++++++++++------------- 4892 src/xz/message.c | 56 +++++++---- 4893 src/xz/message.h | 10 +- 4894 src/xz/private.h | 1 + 4895 src/xz/util.c | 136 +++++++++----------------- 4896 src/xz/util.h | 7 -- 4897 12 files changed, 424 insertions(+), 187 deletions(-) 4898 4899commit 639f8e2af33cf8a184d59ba56b6df7c098679d61 4900Author: Lasse Collin <lasse.collin@tukaani.org> 4901Date: 2010-09-08 08:49:22 +0300 4902 4903 Update the Czech translation. 4904 4905 Thanks to Marek Černocký. 4906 4907 po/cs.po | 655 +++++++++++++++++++++++++++++++++++++++++++-------------------- 4908 1 file changed, 454 insertions(+), 201 deletions(-) 4909 4910commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7 4911Author: Lasse Collin <lasse.collin@tukaani.org> 4912Date: 2010-09-07 12:31:40 +0300 4913 4914 xz: Add a note to translators. 4915 4916 src/xz/hardware.c | 2 ++ 4917 1 file changed, 2 insertions(+) 4918 4919commit 77a7746616e555fc08028e883a56d06bf0088b81 4920Author: Lasse Collin <lasse.collin@tukaani.org> 4921Date: 2010-09-07 10:42:13 +0300 4922 4923 Fix use of N_() and ngettext(). 4924 4925 I had somehow thought that N_() is usually used 4926 as shorthand for ngettext(). 4927 4928 This also fixes a missing \n from a call to ngettext(). 4929 4930 src/common/tuklib_gettext.h | 4 ++-- 4931 src/xz/list.c | 4 ++-- 4932 2 files changed, 4 insertions(+), 4 deletions(-) 4933 4934commit e6ad39335842343e622ab51207d1d3cb9caad801 4935Author: Lasse Collin <lasse.collin@tukaani.org> 4936Date: 2010-09-06 19:43:12 +0300 4937 4938 Add missing files to POTFILES.in. 4939 4940 po/POTFILES.in | 3 +++ 4941 1 file changed, 3 insertions(+) 4942 4943commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30 4944Author: Lasse Collin <lasse.collin@tukaani.org> 4945Date: 2010-09-06 10:16:24 +0300 4946 4947 xz: Improve a comment. 4948 4949 src/xz/file_io.c | 7 ++++--- 4950 1 file changed, 4 insertions(+), 3 deletions(-) 4951 4952commit bcb1b898341f7073f51660d7052d7ed6c5461a66 4953Author: Lasse Collin <lasse.collin@tukaani.org> 4954Date: 2010-09-05 21:34:29 +0300 4955 4956 xz: Update the comment about NetBSD in file_io.c. 4957 4958 Thanks to Joerg Sonnenberger. 4959 4960 src/xz/file_io.c | 8 ++++---- 4961 1 file changed, 4 insertions(+), 4 deletions(-) 4962 4963commit da014d55972f5addbf6b4360d3d8ed2ef4282170 4964Author: Lasse Collin <lasse.collin@tukaani.org> 4965Date: 2010-09-05 21:11:33 +0300 4966 4967 xz: Use an array instead of pointer for stdin_filename. 4968 4969 Thanks Joerg Sonnenberger. 4970 4971 src/xz/args.c | 2 +- 4972 src/xz/args.h | 2 +- 4973 2 files changed, 2 insertions(+), 2 deletions(-) 4974 4975commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee 4976Author: Lasse Collin <lasse.collin@tukaani.org> 4977Date: 2010-09-05 12:16:17 +0300 4978 4979 xz: Hopefully ease translating the messages in list.c. 4980 4981 src/xz/list.c | 33 +++++++++++++++++++++++---------- 4982 1 file changed, 23 insertions(+), 10 deletions(-) 4983 4984commit ef840950ad99cf2955c754875af0e01acf125079 4985Author: Lasse Collin <lasse.collin@tukaani.org> 4986Date: 2010-09-04 23:14:44 +0300 4987 4988 xz: Fix grammar. 4989 4990 src/xz/options.c | 3 +-- 4991 1 file changed, 1 insertion(+), 2 deletions(-) 4992 4993commit c46afd6edc04ea140db6c59e8486f5707c810c13 4994Author: Lasse Collin <lasse.collin@tukaani.org> 4995Date: 2010-09-04 23:12:20 +0300 4996 4997 xz: Use lzma_lzma_preset() to initialize the options structure. 4998 4999 src/xz/options.c | 14 ++------------ 5000 1 file changed, 2 insertions(+), 12 deletions(-) 5001 5002commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065 5003Author: Lasse Collin <lasse.collin@tukaani.org> 5004Date: 2010-09-04 22:16:28 +0300 5005 5006 Don't set lc=4 with --extreme. 5007 5008 This should reduce the cases where --extreme makes 5009 compression worse. On the other hand, some other 5010 files may now benefit slightly less from --extreme. 5011 5012 src/liblzma/lzma/lzma_encoder_presets.c | 1 - 5013 1 file changed, 1 deletion(-) 5014 5015commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b 5016Author: Lasse Collin <lasse.collin@tukaani.org> 5017Date: 2010-09-04 22:10:32 +0300 5018 5019 xz: Minor improvements to --help and --long-help. 5020 5021 src/xz/message.c | 24 ++++++++++++------------ 5022 1 file changed, 12 insertions(+), 12 deletions(-) 5023 5024commit 373ee26f955617295c5c537b04a153a1969140d2 5025Author: Jonathan Nieder <jrnieder@gmail.com> 5026Date: 2010-09-03 16:49:15 -0500 5027 5028 Adjust memory limits in test_compress.sh 5029 5030 Testing compression at level -4 now requires 48 MiB of free store at 5031 compression time and 5 MiB at decompression time. 5032 5033 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 5034 5035 tests/test_compress.sh | 2 +- 5036 1 file changed, 1 insertion(+), 1 deletion(-) 5037 5038commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087 5039Author: Lasse Collin <lasse.collin@tukaani.org> 5040Date: 2010-09-03 15:54:40 +0300 5041 5042 xz: Make -vv show also decompressor memory usage. 5043 5044 src/xz/coder.c | 7 +++++++ 5045 1 file changed, 7 insertions(+) 5046 5047commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6 5048Author: Lasse Collin <lasse.collin@tukaani.org> 5049Date: 2010-09-03 15:13:12 +0300 5050 5051 Tweak the compression presets -0 .. -5. 5052 5053 "Extreme" mode might need some further tweaking still. 5054 Docs were not updated yet. 5055 5056 src/liblzma/lzma/lzma_encoder_presets.c | 29 +++++++++++++++++++---------- 5057 1 file changed, 19 insertions(+), 10 deletions(-) 5058 5059commit 77fe5954cd3d10fb1837372684cbc133b56b6a87 5060Author: Lasse Collin <lasse.collin@tukaani.org> 5061Date: 2010-09-03 12:28:41 +0300 5062 5063 liblzma: Adjust default depth calculation for HC3 and HC4. 5064 5065 It was 8 + nice_len / 4, now it is 4 + nice_len / 4. 5066 This allows faster settings at lower nice_len values, 5067 even though it seems that I won't use automatic depth 5068 calcuation with HC3 and HC4 in the presets. 5069 5070 src/liblzma/lz/lz_encoder.c | 7 ++++--- 5071 1 file changed, 4 insertions(+), 3 deletions(-) 5072 5073commit fce69059cf901ce8075a78c7607d591f144a3b5a 5074Author: Lasse Collin <lasse.collin@tukaani.org> 5075Date: 2010-09-03 11:11:25 +0300 5076 5077 xz: Make --help two lines shorter. 5078 5079 At least for now, the --help option doesn't list any 5080 options that take arguments, so "Mandatory arguments to..." 5081 can be omitted. 5082 5083 src/xz/message.c | 7 +++++-- 5084 1 file changed, 5 insertions(+), 2 deletions(-) 5085 5086commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298 5087Author: Lasse Collin <lasse.collin@tukaani.org> 5088Date: 2010-09-02 19:22:35 +0300 5089 5090 xz: Make setting a preset override a custom filter chain. 5091 5092 This is more logical behavior than ignoring preset level 5093 options once a custom filter chain has been specified. 5094 5095 src/xz/coder.c | 9 +++++++++ 5096 1 file changed, 9 insertions(+) 5097 5098commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3 5099Author: Lasse Collin <lasse.collin@tukaani.org> 5100Date: 2010-09-02 19:09:57 +0300 5101 5102 xz: Always warn if adjusting dictionary size due to memlimit. 5103 5104 src/xz/coder.c | 28 +++++++++------------------- 5105 1 file changed, 9 insertions(+), 19 deletions(-) 5106 5107commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d 5108Author: Lasse Collin <lasse.collin@tukaani.org> 5109Date: 2010-08-10 11:04:30 +0300 5110 5111 Fix test_compress.sh. 5112 5113 It broke when --memory option was removed from xzdec. 5114 5115 Thanks to Jonathan Nieder. 5116 5117 tests/test_compress.sh | 6 +++--- 5118 1 file changed, 3 insertions(+), 3 deletions(-) 5119 5120commit 792331bdee706aa852a78b171040ebf814c6f3ae 5121Author: Lasse Collin <lasse.collin@tukaani.org> 5122Date: 2010-08-07 20:45:18 +0300 5123 5124 Disable the memory usage limiter by default. 5125 5126 For several people, the limiter causes bigger problems that 5127 it solves, so it is better to have it disabled by default. 5128 Those who want to have a limiter by default need to enable 5129 it via the environment variable XZ_DEFAULTS. 5130 5131 Support for environment variable XZ_DEFAULTS was added. It is 5132 parsed before XZ_OPT and technically identical with it. The 5133 intended uses differ quite a bit though; see the man page. 5134 5135 The memory usage limit can now be set separately for 5136 compression and decompression using --memlimit-compress and 5137 --memlimit-decompress. To set both at once, -M or --memlimit 5138 can be used. --memory was retained as a legacy alias for 5139 --memlimit for backwards compatibility. 5140 5141 The semantics of --info-memory were changed in backwards 5142 incompatible way. Compatibility wasn't meaningful due to 5143 changes in the memory usage limiter functionality. 5144 5145 The memory usage limiter info is no longer shown at the 5146 bottom of xz --long -help. 5147 5148 The memory usage limiter support for removed completely from xzdec. 5149 5150 xz's man page was updated to match the above changes. Various 5151 unrelated fixes were also made to the man page. 5152 5153 src/xz/args.c | 87 +++++++++----- 5154 src/xz/coder.c | 8 +- 5155 src/xz/hardware.c | 96 +++++++++------ 5156 src/xz/hardware.h | 23 ++-- 5157 src/xz/list.c | 2 +- 5158 src/xz/message.c | 39 ++----- 5159 src/xz/message.h | 4 - 5160 src/xz/xz.1 | 341 ++++++++++++++++++++++++++++++++++-------------------- 5161 src/xzdec/xzdec.1 | 45 +------ 5162 src/xzdec/xzdec.c | 176 +--------------------------- 5163 10 files changed, 373 insertions(+), 448 deletions(-) 5164 5165commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801 5166Author: Lasse Collin <lasse.collin@tukaani.org> 5167Date: 2010-08-06 20:22:16 +0300 5168 5169 Add missing const to a global constant in xz. 5170 5171 src/xz/args.c | 2 +- 5172 src/xz/args.h | 2 +- 5173 2 files changed, 2 insertions(+), 2 deletions(-) 5174 5175commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f 5176Author: Lasse Collin <lasse.collin@tukaani.org> 5177Date: 2010-07-28 11:44:55 +0300 5178 5179 Language fixes for man pages. 5180 5181 Thanks to A. Costa and Jonathan Nieder. 5182 5183 src/lzmainfo/lzmainfo.1 | 4 ++-- 5184 src/xz/xz.1 | 6 +++--- 5185 2 files changed, 5 insertions(+), 5 deletions(-) 5186 5187commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b 5188Author: Lasse Collin <lasse.collin@tukaani.org> 5189Date: 2010-07-27 20:47:12 +0300 5190 5191 Windows: Add a note about building a Git repository snapshot 5192 5193 windows/INSTALL-Windows.txt | 9 +++++++++ 5194 1 file changed, 9 insertions(+) 5195 5196commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38 5197Author: Lasse Collin <lasse.collin@tukaani.org> 5198Date: 2010-07-27 20:45:03 +0300 5199 5200 Windows: build.sh is a bash script so name it correctly. 5201 5202 INSTALL | 2 +- 5203 windows/INSTALL-Windows.txt | 6 +- 5204 windows/build.bash | 189 ++++++++++++++++++++++++++++++++++++++++++++ 5205 windows/build.sh | 189 -------------------------------------------- 5206 4 files changed, 193 insertions(+), 193 deletions(-) 5207 5208commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339 5209Author: Lasse Collin <lasse.collin@tukaani.org> 5210Date: 2010-07-27 20:27:32 +0300 5211 5212 Windows: Don't strip liblzma.a too much. 5213 5214 windows/build.sh | 3 ++- 5215 1 file changed, 2 insertions(+), 1 deletion(-) 5216 5217commit a540198ffb25fad36380c5e92ac20c2d28eec46a 5218Author: Lasse Collin <lasse.collin@tukaani.org> 5219Date: 2010-07-13 20:07:26 +0300 5220 5221 Updated THANKS. 5222 5223 THANKS | 1 + 5224 1 file changed, 1 insertion(+) 5225 5226commit bab0f01ed931f606b4675aa9f9331a17cec09bad 5227Author: Lasse Collin <lasse.collin@tukaani.org> 5228Date: 2010-07-13 19:55:50 +0300 5229 5230 Add two simple example programs. 5231 5232 Hopefully these help a bit when learning the basics 5233 of liblzma API. I plan to write detailed examples about 5234 both basic and advanced features with lots of comments, 5235 but these two examples are good have right now. 5236 5237 The examples were written by Daniel Mealha Cabrita. Thanks. 5238 5239 doc/examples/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++++++ 5240 doc/examples/xz_pipe_decomp.c | 115 ++++++++++++++++++++++++++++++++++++++ 5241 2 files changed, 242 insertions(+) 5242 5243commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00 5244Author: Lasse Collin <lasse.collin@tukaani.org> 5245Date: 2010-06-15 14:06:29 +0300 5246 5247 Add --no-adjust. 5248 5249 src/xz/args.c | 6 ++++++ 5250 src/xz/coder.c | 8 ++------ 5251 src/xz/coder.h | 4 ++++ 5252 src/xz/message.c | 6 +++++- 5253 src/xz/xz.1 | 13 +++++++++++-- 5254 5 files changed, 28 insertions(+), 9 deletions(-) 5255 5256commit 2130926dd1c839280358172dfadd8d3054bde2b4 5257Author: Lasse Collin <lasse.collin@tukaani.org> 5258Date: 2010-06-11 21:51:32 +0300 5259 5260 Updated THANKS. 5261 5262 THANKS | 1 + 5263 1 file changed, 1 insertion(+) 5264 5265commit bc612d0e0c9e4504c59d49168e87a7ae3e458443 5266Author: Lasse Collin <lasse.collin@tukaani.org> 5267Date: 2010-06-11 21:48:32 +0300 5268 5269 Clarify the description of the default memlimit in the man page. 5270 5271 Thanks to Denis Excoffier. 5272 5273 src/xz/xz.1 | 4 ++-- 5274 1 file changed, 2 insertions(+), 2 deletions(-) 5275 5276commit e1b6935d60a00405e6b5b455a3426d2248cc926c 5277Author: Lasse Collin <lasse.collin@tukaani.org> 5278Date: 2010-06-11 21:43:28 +0300 5279 5280 Fix string to uint64_t conversion. 5281 5282 Thanks to Denis Excoffier for the bug report. 5283 5284 src/xz/util.c | 10 ++++++++-- 5285 src/xzdec/xzdec.c | 13 +++++++++++-- 5286 2 files changed, 19 insertions(+), 4 deletions(-) 5287 5288commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0 5289Author: Lasse Collin <lasse.collin@tukaani.org> 5290Date: 2010-06-11 10:40:28 +0300 5291 5292 Put the git commit to the filename in mydist rule. 5293 5294 Makefile.am | 6 +++++- 5295 1 file changed, 5 insertions(+), 1 deletion(-) 5296 5297commit d8b41eedce486d400f701b757b7b5e4e32276618 5298Author: Lasse Collin <lasse.collin@tukaani.org> 5299Date: 2010-06-02 23:13:55 +0300 5300 5301 Fix compiling with -Werror. 5302 5303 src/xz/message.c | 4 ++-- 5304 1 file changed, 2 insertions(+), 2 deletions(-) 5305 5306commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8 5307Author: Lasse Collin <lasse.collin@tukaani.org> 5308Date: 2010-06-02 23:09:22 +0300 5309 5310 Silence a bogus Valgrind warning. 5311 5312 When using -O2 with GCC, it liked to swap two comparisons 5313 in one "if" statement. It's otherwise fine except that 5314 the latter part, which is seemingly never executed, got 5315 executed (nothing wrong with that) and then triggered 5316 warning in Valgrind about conditional jump depending on 5317 uninitialized variable. A few people find this annoying 5318 so do things a bit differently to avoid the warning. 5319 5320 src/liblzma/lz/lz_encoder.c | 6 +++++- 5321 1 file changed, 5 insertions(+), 1 deletion(-) 5322 5323commit 29a7b250e685852f2f97615493ec49acaf528623 5324Author: Lasse Collin <lasse.collin@tukaani.org> 5325Date: 2010-06-02 21:32:12 +0300 5326 5327 Fix a Windows-specific FIXME in signal handling code. 5328 5329 src/xz/main.c | 40 +++++++++++++++++++++++++++++++++++----- 5330 src/xz/private.h | 5 +++++ 5331 src/xz/signals.c | 16 ++++++++-------- 5332 3 files changed, 48 insertions(+), 13 deletions(-) 5333 5334commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d 5335Author: Lasse Collin <lasse.collin@tukaani.org> 5336Date: 2010-06-02 17:46:58 +0300 5337 5338 Adjust SA_RESTART workaround. 5339 5340 I want to get a bug report if something else than 5341 DJGPP lacks SA_RESTART. 5342 5343 src/xz/message.c | 14 +++++++------- 5344 1 file changed, 7 insertions(+), 7 deletions(-) 5345 5346commit e243145c84ab5c3be8259fd486ead0de5235b3f0 5347Author: Lasse Collin <lasse.collin@tukaani.org> 5348Date: 2010-06-01 16:02:30 +0300 5349 5350 xz man page updates. 5351 5352 - Concatenating .xz files and padding 5353 - List mode 5354 - Robot mode 5355 - A few examples (but many more are needed) 5356 5357 src/xz/xz.1 | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 5358 1 file changed, 366 insertions(+), 19 deletions(-) 5359 5360commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562 5361Author: Lasse Collin <lasse.collin@tukaani.org> 5362Date: 2010-06-01 15:51:44 +0300 5363 5364 Major update to xz --list. 5365 5366 src/xz/list.c | 652 ++++++++++++++++++++++++++++++++++++++++++---------------- 5367 1 file changed, 471 insertions(+), 181 deletions(-) 5368 5369commit 905e54804a899e4ad526d38fdba7e803ab9b71bd 5370Author: Lasse Collin <lasse.collin@tukaani.org> 5371Date: 2010-06-01 14:13:03 +0300 5372 5373 Rename message_filters_get() to message_filters_to_str(). 5374 5375 src/xz/message.c | 4 ++-- 5376 src/xz/message.h | 2 +- 5377 2 files changed, 3 insertions(+), 3 deletions(-) 5378 5379commit 4b346ae8af20045027ae5efb068c6d69da3324d2 5380Author: Lasse Collin <lasse.collin@tukaani.org> 5381Date: 2010-06-01 14:09:12 +0300 5382 5383 Fix a comment. 5384 5385 src/liblzma/api/lzma/index.h | 2 +- 5386 1 file changed, 1 insertion(+), 1 deletion(-) 5387 5388commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296 5389Author: Lasse Collin <lasse.collin@tukaani.org> 5390Date: 2010-05-27 16:17:42 +0300 5391 5392 Fix lzma_block_compressed_size(). 5393 5394 src/liblzma/common/block_util.c | 6 +++--- 5395 1 file changed, 3 insertions(+), 3 deletions(-) 5396 5397commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593 5398Author: Lasse Collin <lasse.collin@tukaani.org> 5399Date: 2010-05-27 14:32:51 +0300 5400 5401 Take Cygwin into account in some #if lines. 5402 5403 This change is no-op, but good to have just in case 5404 for the future. 5405 5406 src/xz/signals.c | 2 +- 5407 src/xz/signals.h | 4 ++-- 5408 2 files changed, 3 insertions(+), 3 deletions(-) 5409 5410commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7 5411Author: Lasse Collin <lasse.collin@tukaani.org> 5412Date: 2010-05-27 13:42:44 +0300 5413 5414 Remove references to the Subblock filter in xz and tests. 5415 5416 Thanks to Jonathan Nieder. 5417 5418 src/xz/message.c | 9 --------- 5419 tests/test_filter_flags.c | 23 ----------------------- 5420 2 files changed, 32 deletions(-) 5421 5422commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893 5423Author: Lasse Collin <lasse.collin@tukaani.org> 5424Date: 2010-05-27 13:35:36 +0300 5425 5426 Remove unused chunk_size.c. 5427 5428 Thanks to Jonathan Nieder for the reminder. 5429 5430 src/liblzma/common/chunk_size.c | 67 ----------------------------------------- 5431 1 file changed, 67 deletions(-) 5432 5433commit 01a414eaf4be6352c06b48001b041b47e8202faa 5434Author: Jonathan Nieder <jrnieder@gmail.com> 5435Date: 2010-05-27 02:31:33 -0500 5436 5437 Use my_min() instead of MIN() in src/xz/list.c 5438 5439 This should have been done in 5440 920a69a8d8e4203c5edddd829d932130eac188ea. 5441 5442 src/xz/list.c | 2 +- 5443 1 file changed, 1 insertion(+), 1 deletion(-) 5444 5445commit 920a69a8d8e4203c5edddd829d932130eac188ea 5446Author: Lasse Collin <lasse.collin@tukaani.org> 5447Date: 2010-05-26 10:36:46 +0300 5448 5449 Rename MIN() and MAX() to my_min() and my_max(). 5450 5451 This should avoid some minor portability issues. 5452 5453 debug/full_flush.c | 2 +- 5454 debug/sync_flush.c | 2 +- 5455 src/common/sysdefs.h | 12 +++++------- 5456 src/liblzma/common/block_buffer_encoder.c | 2 +- 5457 src/liblzma/common/common.c | 2 +- 5458 src/liblzma/common/stream_buffer_encoder.c | 2 +- 5459 src/liblzma/delta/delta_encoder.c | 2 +- 5460 src/liblzma/lz/lz_decoder.c | 7 ++++--- 5461 src/liblzma/lz/lz_decoder.h | 2 +- 5462 src/liblzma/lz/lz_encoder.c | 2 +- 5463 src/liblzma/lz/lz_encoder.h | 2 +- 5464 src/liblzma/lz/lz_encoder_mf.c | 4 ++-- 5465 src/liblzma/lzma/lzma2_encoder.c | 2 +- 5466 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 5467 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 14 +++++++------- 5468 src/xz/args.c | 3 ++- 5469 16 files changed, 31 insertions(+), 31 deletions(-) 5470 5471commit 019ae27c24d0c694545a6a46f8b9fb552198b015 5472Author: Lasse Collin <lasse.collin@tukaani.org> 5473Date: 2010-05-26 10:30:20 +0300 5474 5475 Fix compilation of debug/known_sizes.c. 5476 5477 debug/known_sizes.c | 2 +- 5478 1 file changed, 1 insertion(+), 1 deletion(-) 5479 5480commit 98a4856a6ea84f79c790057a6eb89a25bc45b074 5481Author: Lasse Collin <lasse.collin@tukaani.org> 5482Date: 2010-05-26 10:28:54 +0300 5483 5484 Remove references to Subblock filter in debug/sync_flush.c. 5485 5486 debug/sync_flush.c | 13 ------------- 5487 1 file changed, 13 deletions(-) 5488 5489commit 703d2c33c095c41ae0693ee8c27c45e3847e4535 5490Author: Lasse Collin <lasse.collin@tukaani.org> 5491Date: 2010-05-26 10:16:57 +0300 5492 5493 Better #error message. 5494 5495 src/common/sysdefs.h | 4 ++-- 5496 1 file changed, 2 insertions(+), 2 deletions(-) 5497 5498commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0 5499Author: Lasse Collin <lasse.collin@tukaani.org> 5500Date: 2010-05-26 09:55:47 +0300 5501 5502 Remove the Subblock filter code for now. 5503 5504 The spec isn't finished and the code didn't compile anymore. 5505 It won't be included in XZ Utils 5.0.0. It's easy to get it 5506 back once the spec is done. 5507 5508 configure.ac | 6 +- 5509 src/liblzma/Makefile.am | 5 - 5510 src/liblzma/api/Makefile.am | 1 - 5511 src/liblzma/api/lzma.h | 1 - 5512 src/liblzma/api/lzma/subblock.h | 200 ----- 5513 src/liblzma/common/common.h | 6 - 5514 src/liblzma/common/filter_common.c | 9 - 5515 src/liblzma/common/filter_decoder.c | 16 - 5516 src/liblzma/common/filter_encoder.c | 12 - 5517 src/liblzma/subblock/Makefile.inc | 20 - 5518 src/liblzma/subblock/subblock_decoder.c | 630 ---------------- 5519 src/liblzma/subblock/subblock_decoder.h | 22 - 5520 src/liblzma/subblock/subblock_decoder_helper.c | 70 -- 5521 src/liblzma/subblock/subblock_decoder_helper.h | 29 - 5522 src/liblzma/subblock/subblock_encoder.c | 984 ------------------------- 5523 src/liblzma/subblock/subblock_encoder.h | 21 - 5524 src/xz/args.c | 9 +- 5525 src/xz/options.c | 61 -- 5526 src/xz/options.h | 7 - 5527 19 files changed, 4 insertions(+), 2105 deletions(-) 5528 5529commit b6377fc990f9b8651149cae0fecb8b9c5904e26d 5530Author: Lasse Collin <lasse.collin@tukaani.org> 5531Date: 2010-05-16 18:42:22 +0300 5532 5533 Split message_filters(). 5534 5535 message_filters_to_str() converts the filter chain to 5536 a string. message_filters_show() replaces the original 5537 message_filters(). 5538 5539 uint32_to_optstr() was also added to show the dictionary 5540 size in nicer format when possible. 5541 5542 src/xz/coder.c | 2 +- 5543 src/xz/message.c | 187 +++++++++++++++++++++++++++++++++++-------------------- 5544 src/xz/message.h | 14 ++++- 5545 3 files changed, 134 insertions(+), 69 deletions(-) 5546 5547commit d9986db782d6cf0f314342127280519339378fa0 5548Author: Lasse Collin <lasse.collin@tukaani.org> 5549Date: 2010-05-14 23:17:20 +0300 5550 5551 Omit lzma_restrict from the API headers. 5552 5553 It isn't really useful so omitting it makes things 5554 shorter and slightly more readable. 5555 5556 src/liblzma/api/lzma.h | 12 ------------ 5557 src/liblzma/api/lzma/index.h | 5 ++--- 5558 src/liblzma/api/lzma/vli.h | 11 +++++------ 5559 3 files changed, 7 insertions(+), 21 deletions(-) 5560 5561commit 0d3489efca0a723dca0394809fa3e6170843af4b 5562Author: Lasse Collin <lasse.collin@tukaani.org> 5563Date: 2010-05-10 19:57:24 +0300 5564 5565 Updated INSTALL. 5566 5567 INSTALL | 5 ----- 5568 1 file changed, 5 deletions(-) 5569 5570commit 3fb3d594a2b53886adee161b6261e92277f05f7c 5571Author: Lasse Collin <lasse.collin@tukaani.org> 5572Date: 2010-05-10 19:54:52 +0300 5573 5574 Updated THANKS. 5575 5576 THANKS | 1 + 5577 1 file changed, 1 insertion(+) 5578 5579commit 6548e304657e77d3a972053db3c41c5daf591113 5580Author: Lasse Collin <lasse.collin@tukaani.org> 5581Date: 2010-05-10 19:54:15 +0300 5582 5583 Updates to tuklib_physmem and tuklib_cpucores. 5584 5585 Don't use #error to generate compile error, because some 5586 compilers actually don't take it as an error. This fixes 5587 tuklib_physmem on IRIX. 5588 5589 Fix incorrect error check for sysconf() return values. 5590 5591 Add AIX, HP-UX, and Tru64 specific code to detect the 5592 amount RAM. 5593 5594 Add HP-UX specific code to detect the number of CPU cores. 5595 5596 Thanks a lot to Peter O'Gorman for initial patches, 5597 testing, and debugging these fixes. 5598 5599 m4/tuklib_cpucores.m4 | 33 ++++++++++++++++---- 5600 m4/tuklib_physmem.m4 | 72 ++++++++++++++++++++++++++++++++++++++++++-- 5601 src/common/tuklib_cpucores.c | 14 +++++++-- 5602 src/common/tuklib_physmem.c | 33 +++++++++++++++++++- 5603 4 files changed, 141 insertions(+), 11 deletions(-) 5604 5605commit a290cfee3e23f046889c022aa96b4eca2016fdda 5606Author: Lasse Collin <lasse.collin@tukaani.org> 5607Date: 2010-04-12 21:55:56 +0300 5608 5609 Show both elapsed time and estimated remaining time in xz -v. 5610 5611 The extra space for showing both has been taken from the 5612 sizes field. If the sizes grow big, bigger units than MiB 5613 will be used. It makes it slightly difficult to see that 5614 progress is still happening with huge files, but it should 5615 be OK in practice. 5616 5617 Thanks to Trent W. Buck for <http://bugs.debian.org/574583> 5618 and Jonathan Nieder for suggestions how to fix it. 5619 5620 THANKS | 1 + 5621 src/xz/message.c | 86 +++++++++++++++++++++++++------------------------------- 5622 2 files changed, 39 insertions(+), 48 deletions(-) 5623 5624commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e 5625Author: Lasse Collin <lasse.collin@tukaani.org> 5626Date: 2010-03-31 16:47:25 +0300 5627 5628 Add a simple tip to faq.txt about tar and xz. 5629 5630 Thanks to Gilles Espinasse. 5631 5632 THANKS | 1 + 5633 doc/faq.txt | 6 ++++++ 5634 2 files changed, 7 insertions(+) 5635 5636commit c737eec91d200d730aa82662affd6b06ebb0bff0 5637Author: Lasse Collin <lasse.collin@tukaani.org> 5638Date: 2010-03-22 21:03:03 +0200 5639 5640 Updated THANKS. 5641 5642 THANKS | 1 + 5643 1 file changed, 1 insertion(+) 5644 5645commit f4b2b52624b802c786e4e2a8eb6895794dd93b24 5646Author: Lasse Collin <lasse.collin@tukaani.org> 5647Date: 2010-03-07 19:52:25 +0200 5648 5649 Fix xzgrep to not break if filenames have spaces or quotes. 5650 5651 Thanks to someone who reported the bug on IRC. 5652 5653 src/scripts/xzgrep.in | 2 +- 5654 1 file changed, 1 insertion(+), 1 deletion(-) 5655 5656commit cf38da00a140bd3bd65b192390ae5553380fd774 5657Author: Lasse Collin <lasse.collin@tukaani.org> 5658Date: 2010-03-07 13:59:32 +0200 5659 5660 Treat all integer multiplier suffixes as base-2. 5661 5662 Originally both base-2 and base-10 were supported, but since 5663 there seems to be little need for base-10 in XZ Utils, treat 5664 everything as base-2 and also be more relaxed about the case 5665 of the first letter of the suffix. Now xz will accept e.g. 5666 KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The 5667 recommended spelling of the suffixes are still KiB, MiB, and GiB. 5668 5669 src/xz/util.c | 53 +++++++++++++++++++++++------------------------------ 5670 src/xz/xz.1 | 48 ++++++++++++++++++++++++++++-------------------- 5671 src/xzdec/xzdec.c | 42 ++++++++++++++++-------------------------- 5672 3 files changed, 67 insertions(+), 76 deletions(-) 5673 5674commit 00fc1211ae7b687ac912098f4479112059deccbd 5675Author: Lasse Collin <lasse.collin@tukaani.org> 5676Date: 2010-03-07 13:50:23 +0200 5677 5678 Consistently round up the memory usage limit in messages. 5679 5680 It still feels a bit wrong to round 1 byte to 1 MiB but 5681 at least it is now done consistently so that the same 5682 byte value is always rounded the same way to MiB. 5683 5684 src/xz/message.c | 5 +++-- 5685 src/xzdec/xzdec.c | 7 +++++-- 5686 2 files changed, 8 insertions(+), 4 deletions(-) 5687 5688commit 9886d436ff5615fc70eef32ff757b1e934069621 5689Author: Lasse Collin <lasse.collin@tukaani.org> 5690Date: 2010-03-07 13:34:34 +0200 5691 5692 Change the default of --enable-assume-ram from 32 to 128 MiB. 5693 5694 This is to allow files created with "xz -9" to be decompressed 5695 if the amount of RAM cannot be determined. 5696 5697 INSTALL | 5 ++--- 5698 configure.ac | 11 ++++++----- 5699 2 files changed, 8 insertions(+), 8 deletions(-) 5700 5701commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418 5702Author: Lasse Collin <lasse.collin@tukaani.org> 5703Date: 2010-03-07 13:29:28 +0200 5704 5705 Increase the default memory usage limit on "low-memory" systems. 5706 5707 Previously the default limit was always 40 % of RAM. The 5708 new limit is a little bit more complex: 5709 5710 - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used 5711 as the limit. 5712 5713 - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit. 5714 5715 - Otherwise 80 % of RAM is used as the limit. 5716 5717 This should make it possible to decompress files created with 5718 "xz -9" on more systems. Swapping is generally more expected 5719 on systems with less RAM, so higher default limit on them 5720 shouldn't cause too bad surprises in terms of heavy swapping. 5721 Instead, the higher default limit should reduce the number of 5722 bad surprises when it used to prevent decompression of files 5723 created with "xz -9". The DoS prevention system shouldn't be 5724 a DoS itself. 5725 5726 Note that even with the new default limit, a system with 64 MiB 5727 RAM cannot decompress files created with "xz -9" without user 5728 overriding the limit. This should be OK, because if xz is going 5729 to need more memory than the system has RAM, it will run very 5730 very slowly and thus it's good that user has to override the limit 5731 in that case. 5732 5733 src/xz/hardware.c | 43 +++++++++++++++++++++++++++++++------------ 5734 src/xz/xz.1 | 21 +++++++++++++++------ 5735 src/xzdec/xzdec.1 | 8 ++++---- 5736 src/xzdec/xzdec.c | 42 ++++++++++++++++++++++++++++++------------ 5737 4 files changed, 80 insertions(+), 34 deletions(-) 5738 5739commit 5527b7269a997e7f335d60f237a64bbf225d9dc7 5740Author: Lasse Collin <lasse.collin@tukaani.org> 5741Date: 2010-03-06 21:36:19 +0200 5742 5743 Updated THANKS. 5744 5745 THANKS | 1 + 5746 1 file changed, 1 insertion(+) 5747 5748commit d0d1c51aea4351288a7e533cce28cb7f852f6b05 5749Author: Lasse Collin <lasse.collin@tukaani.org> 5750Date: 2010-03-06 21:17:20 +0200 5751 5752 Fix missing initialization in lzma_strm_init(). 5753 5754 With bad luck, lzma_code() could return LZMA_BUF_ERROR 5755 when it shouldn't. 5756 5757 This has been here since the early days of liblzma. 5758 It got triggered by the modifications made to the xz 5759 tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f 5760 but only when decompressing .lzma files. Somehow I managed 5761 to miss testing that with Valgrind earlier. 5762 5763 This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>. 5764 Thanks to Rafał Mużyło for helping to debug it on IRC. 5765 5766 src/liblzma/common/common.c | 1 + 5767 1 file changed, 1 insertion(+) 5768 5769commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea 5770Author: Lasse Collin <lasse.collin@tukaani.org> 5771Date: 2010-02-12 13:16:15 +0200 5772 5773 Collection of language fixes to comments and docs. 5774 5775 Thanks to Jonathan Nieder. 5776 5777 README | 2 +- 5778 configure.ac | 2 +- 5779 doc/faq.txt | 2 +- 5780 extra/7z2lzma/7z2lzma.bash | 2 +- 5781 src/common/tuklib_progname.c | 2 +- 5782 src/common/tuklib_progname.h | 2 +- 5783 src/liblzma/api/lzma/base.h | 8 ++++---- 5784 src/liblzma/api/lzma/bcj.h | 2 +- 5785 src/liblzma/api/lzma/block.h | 2 +- 5786 src/liblzma/api/lzma/check.h | 2 +- 5787 src/liblzma/api/lzma/filter.h | 4 ++-- 5788 src/liblzma/api/lzma/index.h | 6 +++--- 5789 src/liblzma/api/lzma/lzma.h | 2 +- 5790 src/liblzma/api/lzma/version.h | 2 +- 5791 src/liblzma/api/lzma/vli.h | 2 +- 5792 src/liblzma/common/block_header_encoder.c | 2 +- 5793 src/liblzma/common/chunk_size.c | 4 ++-- 5794 src/liblzma/common/common.h | 4 ++-- 5795 src/liblzma/common/filter_buffer_decoder.c | 2 +- 5796 src/liblzma/common/filter_encoder.c | 4 ++-- 5797 src/liblzma/common/index.c | 6 +++--- 5798 src/liblzma/common/index_encoder.c | 2 +- 5799 src/liblzma/common/stream_encoder.c | 2 +- 5800 src/liblzma/common/vli_decoder.c | 2 +- 5801 src/liblzma/lz/lz_encoder.c | 2 +- 5802 src/liblzma/lz/lz_encoder.h | 2 +- 5803 src/liblzma/lzma/lzma2_encoder.c | 2 +- 5804 src/liblzma/lzma/lzma_decoder.c | 4 ++-- 5805 src/liblzma/lzma/lzma_decoder.h | 2 +- 5806 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 5807 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +- 5808 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 5809 src/liblzma/simple/simple_coder.c | 2 +- 5810 src/liblzma/subblock/subblock_encoder.c | 2 +- 5811 src/scripts/xzdiff.1 | 2 +- 5812 src/scripts/xzless.1 | 10 +++++----- 5813 src/xz/coder.c | 2 +- 5814 src/xz/file_io.c | 2 +- 5815 src/xz/main.c | 6 +++--- 5816 src/xz/main.h | 2 +- 5817 src/xz/message.c | 10 +++++----- 5818 src/xz/message.h | 2 +- 5819 src/xz/xz.1 | 16 ++++++++-------- 5820 src/xzdec/lzmadec_w32res.rc | 2 +- 5821 src/xzdec/xzdec_w32res.rc | 2 +- 5822 tests/test_index.c | 2 +- 5823 windows/build.sh | 4 ++-- 5824 47 files changed, 77 insertions(+), 77 deletions(-) 5825 5826commit 4785f2021aa6a23f1caf724fcc823e562584f225 5827Author: Lasse Collin <lasse.collin@tukaani.org> 5828Date: 2010-02-12 12:41:20 +0200 5829 5830 Fix jl -> jb in ASM files. 5831 5832 src/liblzma/check/crc32_x86.S | 2 +- 5833 src/liblzma/check/crc64_x86.S | 4 ++-- 5834 2 files changed, 3 insertions(+), 3 deletions(-) 5835 5836commit 6b50c9429bf85521d355adc61745d06ee017f8c8 5837Author: Lasse Collin <lasse.collin@tukaani.org> 5838Date: 2010-02-12 12:31:22 +0200 5839 5840 Use __APPLE__ instead of __MACH__ in ASM files. 5841 5842 This allows the files to work on HURD. 5843 5844 Thanks to Jonathan Nieder. 5845 5846 src/liblzma/check/crc32_x86.S | 8 ++++---- 5847 src/liblzma/check/crc64_x86.S | 8 ++++---- 5848 2 files changed, 8 insertions(+), 8 deletions(-) 5849 5850commit 6503fde658a5cdbdd907a788865470dd64771601 5851Author: Lasse Collin <lasse.collin@tukaani.org> 5852Date: 2010-02-07 19:48:06 +0200 5853 5854 Subtle change to liblzma Block handling API. 5855 5856 lzma_block.version has to be initialized even for 5857 lzma_block_header_decode(). This way a future version 5858 of liblzma won't allocate memory in a way that an old 5859 application doesn't know how to free it. 5860 5861 The subtlety of this change is that all current apps 5862 using lzma_block_header_decode() will keep working for 5863 now, because the only possible version value is zero, 5864 and lzma_block_header_decode() unconditionally sets the 5865 version to zero even now. Unless fixed, these apps will 5866 break in the future if a new version of the Block options 5867 is ever needed. 5868 5869 src/liblzma/api/lzma/block.h | 39 ++++++++++++++++--------------------- 5870 src/liblzma/common/stream_decoder.c | 3 +++ 5871 2 files changed, 20 insertions(+), 22 deletions(-) 5872 5873commit dd7c3841ff78cb94ce02b0220c6e4748460970f7 5874Author: Lasse Collin <lasse.collin@tukaani.org> 5875Date: 2010-02-02 11:50:11 +0200 5876 5877 Fix wrong assertion. 5878 5879 This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735. 5880 5881 src/xz/main.c | 5 +++-- 5882 1 file changed, 3 insertions(+), 2 deletions(-) 5883 5884commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be 5885Author: Lasse Collin <lasse.collin@tukaani.org> 5886Date: 2010-02-01 22:48:42 +0200 5887 5888 Updated TODO. 5889 5890 TODO | 4 ---- 5891 1 file changed, 4 deletions(-) 5892 5893commit fef6333f52c8801308c3b78acb7942988541d137 5894Author: Lasse Collin <lasse.collin@tukaani.org> 5895Date: 2010-02-01 22:47:54 +0200 5896 5897 Fix typos in comments. 5898 5899 src/xz/list.c | 2 +- 5900 windows/build.sh | 2 +- 5901 2 files changed, 2 insertions(+), 2 deletions(-) 5902 5903commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735 5904Author: Lasse Collin <lasse.collin@tukaani.org> 5905Date: 2010-02-01 22:46:56 +0200 5906 5907 Fix signal handling for --list. 5908 5909 src/xz/main.c | 19 ++++++++++++++----- 5910 1 file changed, 14 insertions(+), 5 deletions(-) 5911 5912commit 82220a149015616f75641ee8bbea415137535b9b 5913Author: Lasse Collin <lasse.collin@tukaani.org> 5914Date: 2010-02-01 11:44:45 +0200 5915 5916 Fix compression of symlinks with --force. 5917 5918 xz --force accepted symlinks, but didn't remove 5919 them after successful compression. Instead, an error 5920 message was displayed. 5921 5922 src/xz/file_io.c | 14 +++++++++++++- 5923 1 file changed, 13 insertions(+), 1 deletion(-) 5924 5925commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e 5926Author: Lasse Collin <lasse.collin@tukaani.org> 5927Date: 2010-02-01 10:20:57 +0200 5928 5929 Fix a comment. 5930 5931 windows/build.sh | 5 ++--- 5932 1 file changed, 2 insertions(+), 3 deletions(-) 5933 5934commit f9dd797a423a148903cf345b4146cb1fe1eab11d 5935Author: Lasse Collin <lasse.collin@tukaani.org> 5936Date: 2010-01-31 23:43:54 +0200 5937 5938 Updated THANKS. 5939 5940 THANKS | 1 + 5941 1 file changed, 1 insertion(+) 5942 5943commit ee5ddb8b28419fe4923ded5c18a50570a762dcab 5944Author: Lasse Collin <lasse.collin@tukaani.org> 5945Date: 2010-01-31 23:41:29 +0200 5946 5947 Updated TODO. 5948 5949 TODO | 17 +++++++++++------ 5950 1 file changed, 11 insertions(+), 6 deletions(-) 5951 5952commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6 5953Author: Lasse Collin <lasse.collin@tukaani.org> 5954Date: 2010-01-31 23:35:04 +0200 5955 5956 Mention TODO in README. 5957 5958 README | 1 + 5959 1 file changed, 1 insertion(+) 5960 5961commit 2901a8e7e82af05675b8cd8758a8ceddb111359f 5962Author: Lasse Collin <lasse.collin@tukaani.org> 5963Date: 2010-01-31 23:31:14 +0200 5964 5965 Updated INSTALL. 5966 5967 INSTALL | 52 ++++++++++++++++++++++++++-------------------------- 5968 1 file changed, 26 insertions(+), 26 deletions(-) 5969 5970commit 8884e16864ba53fb4b58623d7537d7ef30c28e11 5971Author: Lasse Collin <lasse.collin@tukaani.org> 5972Date: 2010-01-31 23:28:51 +0200 5973 5974 Revise the Windows build files. 5975 5976 The old Makefile + config.h was deleted, because it 5977 becomes outdated too easily and building with the 5978 Autotools based build system works fine even on Windows. 5979 5980 windows/build.sh hasn't got much testing, but it should 5981 work to build 32-bit x86 and x86-64 versions of XZ Utils 5982 using MSYS, MinGW or MinGW-w32, and MinGW-w64. 5983 5984 windows/INSTALL-Windows.txt describes what packages are 5985 needed and how to install them. 5986 5987 windows/README-Windows.txt is a readme file for the binary 5988 package that build.sh hopefully builds. 5989 5990 There are no instructions about using Autotools for now, 5991 so those using a git snapshot may want to run 5992 "autoreconf -fi && ./configure && make mydist" on a UN*X 5993 box and then copy the resulting .tar.gz to a Windows. 5994 5995 windows/INSTALL-Windows.txt | 131 ++++++++++++++++++ 5996 windows/Makefile | 320 -------------------------------------------- 5997 windows/README | 155 --------------------- 5998 windows/README-Windows.txt | 115 ++++++++++++++++ 5999 windows/build.sh | 189 ++++++++++++++++++++++++++ 6000 windows/config.h | 170 ----------------------- 6001 6 files changed, 435 insertions(+), 645 deletions(-) 6002 6003commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c 6004Author: Lasse Collin <lasse.collin@tukaani.org> 6005Date: 2010-01-31 19:52:38 +0200 6006 6007 Select the default integrity check type at runtime. 6008 6009 Previously it was set statically to CRC64 or CRC32 6010 depending on options passed to the configure script. 6011 6012 src/xz/coder.c | 19 ++++++++++++++----- 6013 1 file changed, 14 insertions(+), 5 deletions(-) 6014 6015commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1 6016Author: Lasse Collin <lasse.collin@tukaani.org> 6017Date: 2010-01-31 18:17:50 +0200 6018 6019 Improve displaying of the memory usage limit. 6020 6021 src/xz/coder.c | 8 +++----- 6022 src/xz/message.c | 37 +++++++++++++++++++++++++++++-------- 6023 src/xz/util.c | 7 +++++++ 6024 src/xz/util.h | 6 ++++++ 6025 4 files changed, 45 insertions(+), 13 deletions(-) 6026 6027commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2 6028Author: Lasse Collin <lasse.collin@tukaani.org> 6029Date: 2010-01-31 12:53:56 +0200 6030 6031 Don't use uninitialized sigset_t. 6032 6033 If signal handlers haven't been established, then it's 6034 useless to try to block them, especially since the sigset_t 6035 used for blocking hasn't been initialized yet. 6036 6037 src/xz/signals.c | 34 ++++++++++++++++++++++++---------- 6038 1 file changed, 24 insertions(+), 10 deletions(-) 6039 6040commit 231c3c7098f1099a56abb8afece76fc9b8699f05 6041Author: Lasse Collin <lasse.collin@tukaani.org> 6042Date: 2010-01-31 12:01:54 +0200 6043 6044 Delay opening the destionation file and other fixes. 6045 6046 The opening of the destination file is now delayed a little. 6047 The coder is initialized, and if decompressing, the memory 6048 usage of the first Block compared against the memory 6049 usage limit before the destination file is opened. This 6050 means that if --force was used, the old "target" file won't 6051 be deleted so easily when something goes wrong very early. 6052 Thanks to Mark K for the bug report. 6053 6054 The above fix required some changes to progress message 6055 handling. Now there is a separate function for setting and 6056 printing the filename. It is used also in list.c. 6057 6058 list_file() now handles stdin correctly (gives an error). 6059 6060 A useless check for user_abort was removed from file_io.c. 6061 6062 src/xz/coder.c | 64 ++++++++++++++++++++++----------- 6063 src/xz/file_io.c | 107 +++++++++++++++++++++++++++---------------------------- 6064 src/xz/file_io.h | 8 +++-- 6065 src/xz/list.c | 28 +++++---------- 6066 src/xz/message.c | 46 +++++++++++++----------- 6067 src/xz/message.h | 29 ++++++++++----- 6068 6 files changed, 157 insertions(+), 125 deletions(-) 6069 6070commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105 6071Author: Lasse Collin <lasse.collin@tukaani.org> 6072Date: 2010-01-29 22:48:04 +0200 6073 6074 Add list.h to src/xz/Makefile.am. 6075 6076 This should have been already in 6077 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1. 6078 6079 src/xz/Makefile.am | 1 + 6080 1 file changed, 1 insertion(+) 6081 6082commit b4b1a56e0cbd597157858264f5c7189201ac9018 6083Author: Lasse Collin <lasse.collin@tukaani.org> 6084Date: 2010-01-29 13:24:27 +0200 6085 6086 Add lzmainfo.1 to manfiles list to convert to .txt and .pdf. 6087 6088 Makefile.am | 1 + 6089 1 file changed, 1 insertion(+) 6090 6091commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95 6092Author: Lasse Collin <lasse.collin@tukaani.org> 6093Date: 2010-01-27 16:42:11 +0200 6094 6095 Silence two compiler warnings on DOS-like systems. 6096 6097 src/common/tuklib_open_stdxxx.c | 6 +++++- 6098 src/xz/file_io.c | 3 +++ 6099 2 files changed, 8 insertions(+), 1 deletion(-) 6100 6101commit b063cc34a30a4edf109343ff373b2b62b8ca72d3 6102Author: Lasse Collin <lasse.collin@tukaani.org> 6103Date: 2010-01-27 13:31:03 +0200 6104 6105 Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE. 6106 6107 configure.ac | 9 ++------- 6108 src/liblzma/liblzma.pc.in | 2 +- 6109 src/lzmainfo/lzmainfo.c | 2 +- 6110 src/xz/message.c | 2 +- 6111 src/xzdec/xzdec.c | 2 +- 6112 5 files changed, 6 insertions(+), 11 deletions(-) 6113 6114commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f 6115Author: Lasse Collin <lasse.collin@tukaani.org> 6116Date: 2010-01-26 23:37:46 +0200 6117 6118 Add a missing space to an error message. 6119 6120 Thanks to Robert Readman. 6121 6122 src/xz/args.c | 2 +- 6123 1 file changed, 1 insertion(+), 1 deletion(-) 6124 6125commit e5496f9628ff5979392a80421d0b63a4de8015b4 6126Author: Lasse Collin <lasse.collin@tukaani.org> 6127Date: 2010-01-26 22:53:37 +0200 6128 6129 Use past tense in error message in io_unlink(). 6130 6131 Added a note to translators too. 6132 6133 Thanks to Robert Readman. 6134 6135 THANKS | 1 + 6136 src/xz/file_io.c | 14 ++++++++++++-- 6137 2 files changed, 13 insertions(+), 2 deletions(-) 6138 6139commit d9a9800597ea540090e434132c3b511217df0a2b 6140Author: Lasse Collin <lasse.collin@tukaani.org> 6141Date: 2010-01-26 15:42:24 +0200 6142 6143 Fix too small static buffer in util.c. 6144 6145 This was introduced in 6146 0dd6d007669b946543ca939a44243833c79e08f4 two days ago. 6147 6148 src/xz/util.c | 9 ++++----- 6149 1 file changed, 4 insertions(+), 5 deletions(-) 6150 6151commit d0b4bbf5da068503c099cd456e294d7673548cc0 6152Author: Lasse Collin <lasse.collin@tukaani.org> 6153Date: 2010-01-26 14:46:43 +0200 6154 6155 Minor comment fix. 6156 6157 src/xz/main.c | 4 ++-- 6158 1 file changed, 2 insertions(+), 2 deletions(-) 6159 6160commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1 6161Author: Lasse Collin <lasse.collin@tukaani.org> 6162Date: 2010-01-24 23:50:54 +0200 6163 6164 Add initial version of xz --list. 6165 6166 This is a bit rough but should be useful for basic things. 6167 Ideas (with detailed examples) about the output format are 6168 welcome. 6169 6170 The output of --robot --list is not necessarily stable yet, 6171 although I don't currently have any plans about changing it. 6172 6173 The man page hasn't been updated yet. 6174 6175 src/xz/Makefile.am | 1 + 6176 src/xz/list.c | 988 ++++++++++++++++++++++++++++++++++------------------- 6177 src/xz/list.h | 18 + 6178 src/xz/main.c | 19 +- 6179 src/xz/private.h | 1 + 6180 5 files changed, 668 insertions(+), 359 deletions(-) 6181 6182commit df254ce03be016e217b511e7acd5d493f9929ca5 6183Author: Lasse Collin <lasse.collin@tukaani.org> 6184Date: 2010-01-24 22:46:11 +0200 6185 6186 Add io_pread(). 6187 6188 It will be used by --list. 6189 6190 src/xz/file_io.c | 25 +++++++++++++++++++++++++ 6191 src/xz/file_io.h | 17 +++++++++++++++++ 6192 2 files changed, 42 insertions(+) 6193 6194commit ef68dd4a92976276304de2aedfbe34ae91a86abb 6195Author: Lasse Collin <lasse.collin@tukaani.org> 6196Date: 2010-01-24 22:45:14 +0200 6197 6198 Set LC_NUMERIC=C when --robot is used. 6199 6200 It is to ensure that floating point numbers 6201 will always have a dot as the decimal separator. 6202 6203 src/xz/args.c | 4 ++++ 6204 1 file changed, 4 insertions(+) 6205 6206commit 0dd6d007669b946543ca939a44243833c79e08f4 6207Author: Lasse Collin <lasse.collin@tukaani.org> 6208Date: 2010-01-24 16:57:40 +0200 6209 6210 Some improvements to printing sizes in xz. 6211 6212 src/xz/coder.c | 56 +++++++++++++++------------------------ 6213 src/xz/message.c | 80 ++++++++++++++++++-------------------------------------- 6214 src/xz/message.h | 4 +++ 6215 src/xz/util.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ 6216 src/xz/util.h | 44 +++++++++++++++++++++++++++++++ 6217 5 files changed, 166 insertions(+), 90 deletions(-) 6218 6219commit 2a98fdffd68c66371279c211c29153c808ad5c1d 6220Author: Lasse Collin <lasse.collin@tukaani.org> 6221Date: 2010-01-20 22:02:35 +0200 6222 6223 Fix a typo in README. 6224 6225 Thanks to R. Bijker. 6226 6227 README | 2 +- 6228 1 file changed, 1 insertion(+), 1 deletion(-) 6229 6230commit 07a11dad44e041b01dcfc73e8d4e00731158c06d 6231Author: Lasse Collin <lasse.collin@tukaani.org> 6232Date: 2010-01-17 11:59:54 +0200 6233 6234 Updated windows/Makefile. 6235 6236 Thanks to Dan Shechter for the patch. 6237 6238 It is likely that windows/Makefile will be removed 6239 completely, because Autotols based build nowadays 6240 works well with both 32-bit and 64-bit MinGW (I 6241 just need to update the docs). 6242 6243 windows/Makefile | 38 +++++++++++++++++++++++++------------- 6244 windows/config.h | 2 ++ 6245 2 files changed, 27 insertions(+), 13 deletions(-) 6246 6247commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3 6248Author: Lasse Collin <lasse.collin@tukaani.org> 6249Date: 2010-01-15 11:05:11 +0200 6250 6251 Update the xz man page to match the previous two commits. 6252 6253 src/xz/xz.1 | 9 +++------ 6254 1 file changed, 3 insertions(+), 6 deletions(-) 6255 6256commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7 6257Author: Lasse Collin <lasse.collin@tukaani.org> 6258Date: 2010-01-13 19:10:25 +0200 6259 6260 Don't read compressed data from a terminal or write it 6261 to a terminal even if --force is specified. 6262 6263 It just seems more reasonable this way. 6264 6265 The new behavior matches bzip2. The old one matched gzip. 6266 6267 src/xz/main.c | 20 +++++++++----------- 6268 src/xz/util.c | 8 ++++---- 6269 2 files changed, 13 insertions(+), 15 deletions(-) 6270 6271commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4 6272Author: Lasse Collin <lasse.collin@tukaani.org> 6273Date: 2010-01-13 18:12:40 +0200 6274 6275 Don't compress or decompress special files unless writing 6276 to stdout even if --force is used. 6277 6278 --force will still enable compression of symlinks, but only 6279 in case they point to a regular file. 6280 6281 The new way simply seems more reasonable. It matches gzip's 6282 behavior while the old one matched bzip2's behavior. 6283 6284 src/xz/file_io.c | 15 ++++++++++----- 6285 1 file changed, 10 insertions(+), 5 deletions(-) 6286 6287commit cee12aa852ec0902983dc1f153346ef750157fb9 6288Author: Lasse Collin <lasse.collin@tukaani.org> 6289Date: 2010-01-12 16:30:33 +0200 6290 6291 Updated THANKS. 6292 6293 THANKS | 1 + 6294 1 file changed, 1 insertion(+) 6295 6296commit 153c7740c54b3c90129dbd3d6153ac1303c4d605 6297Author: Lasse Collin <lasse.collin@tukaani.org> 6298Date: 2010-01-12 16:18:14 +0200 6299 6300 Add IRIX-specific code to tuklib_physmem and tuklib_cpucores. 6301 6302 This is untested but it will get tested soon and, if needed, 6303 fixed before 5.0.0. 6304 6305 Thanks to Stuart Shelton. 6306 6307 m4/tuklib_cpucores.m4 | 11 +++++++++-- 6308 m4/tuklib_physmem.m4 | 22 +++++++++++++++++++++- 6309 src/common/tuklib_cpucores.c | 6 ++++++ 6310 src/common/tuklib_physmem.c | 19 +++++++++++++++++++ 6311 4 files changed, 55 insertions(+), 3 deletions(-) 6312 6313commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1 6314Author: Lasse Collin <lasse.collin@tukaani.org> 6315Date: 2010-01-01 00:29:10 +0200 6316 6317 Fix _memconfig() functions. 6318 6319 This affects lzma_memusage() and lzma_memlimit_get(). 6320 6321 src/liblzma/api/lzma/index.h | 7 ------- 6322 src/liblzma/common/alone_decoder.c | 11 +++++++---- 6323 src/liblzma/common/index_decoder.c | 10 ++++++---- 6324 src/liblzma/common/stream_decoder.c | 11 +++++++---- 6325 4 files changed, 20 insertions(+), 19 deletions(-) 6326 6327commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691 6328Author: Lasse Collin <lasse.collin@tukaani.org> 6329Date: 2009-12-31 22:45:53 +0200 6330 6331 Revised the Index handling code. 6332 6333 This breaks API and ABI but most apps are not affected 6334 since most apps don't use this part of the API. You will 6335 get a compile error if you are using anything that got 6336 broken. 6337 6338 Summary of changes: 6339 6340 - Ability to store Stream Flags, which are needed 6341 for random-access reading in multi-Stream files. 6342 6343 - Separate function to set size of Stream Padding. 6344 6345 - Iterator structure makes it possible to read the same 6346 lzma_index from multiple threads at the same time. 6347 6348 - A lot faster code to locate Blocks. 6349 6350 - Removed lzma_index_equal() without adding anything 6351 to replace it. I don't know what it should do exactly 6352 with the new features and what actually needs this 6353 function in the first place other than test_index.c, 6354 which now has its own code to compare lzma_indexes. 6355 6356 src/liblzma/api/lzma/index.h | 572 +++++++--- 6357 src/liblzma/common/index.c | 1553 ++++++++++++++++++---------- 6358 src/liblzma/common/index.h | 6 + 6359 src/liblzma/common/index_decoder.c | 12 +- 6360 src/liblzma/common/index_encoder.c | 36 +- 6361 src/liblzma/common/index_encoder.h | 2 +- 6362 src/liblzma/common/stream_buffer_encoder.c | 6 +- 6363 src/liblzma/common/stream_encoder.c | 3 +- 6364 tests/test_index.c | 371 ++++--- 6365 9 files changed, 1703 insertions(+), 858 deletions(-) 6366 6367commit f29997a846e673cb3b8cbd57de47ed313b3978bb 6368Author: Lasse Collin <lasse.collin@tukaani.org> 6369Date: 2009-12-31 21:13:25 +0200 6370 6371 Remove c-format tag in cs.po. 6372 6373 It was fixed in the C code earlier. 6374 6375 po/cs.po | 1 - 6376 1 file changed, 1 deletion(-) 6377 6378commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644 6379Author: Lasse Collin <lasse.collin@tukaani.org> 6380Date: 2009-12-31 21:11:05 +0200 6381 6382 Add missing lzma_nothrow in filter.h. 6383 6384 src/liblzma/api/lzma/filter.h | 4 ++-- 6385 1 file changed, 2 insertions(+), 2 deletions(-) 6386 6387commit b56cb1fc31fa2381f92eefc040df85667048d626 6388Author: Lasse Collin <lasse.collin@tukaani.org> 6389Date: 2009-12-09 18:13:44 +0200 6390 6391 Remove redefinition of _(msgid) macro from lzmainfo.c. 6392 6393 src/lzmainfo/lzmainfo.c | 7 ------- 6394 1 file changed, 7 deletions(-) 6395 6396commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2 6397Author: Jonathan Nieder <jrnieder@gmail.com> 6398Date: 2009-12-08 19:41:57 -0600 6399 6400 update po/.gitignore 6401 6402 Since the *.gmo files are deleted by the maintainer-clean target, 6403 I assume they are not meant to be tracked. 6404 6405 Also add the other files listed in the Makefile’s clean targets 6406 (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they 6407 are not accidentally tracked. Most of these are intermediate 6408 files that would not appear unless a build is interrupted or 6409 fails. 6410 6411 Split the list of untracked files by origin to make it easier to 6412 tell if files are missing in the future. 6413 6414 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 6415 6416 po/.gitignore | 28 ++++++++++++++++++++++------ 6417 1 file changed, 22 insertions(+), 6 deletions(-) 6418 6419commit f7e44c6c11f630519072971b8b07a5729c096c36 6420Author: Lasse Collin <lasse.collin@tukaani.org> 6421Date: 2009-12-09 00:38:55 +0200 6422 6423 Always rely on GCC's auto-import on Windows. 6424 6425 I understood that this is nicer, because then people 6426 don't need to worry about the LZMA_API_STATIC macro. 6427 6428 Thanks to Charles Wilson and Keith Marshall. 6429 6430 src/liblzma/api/lzma.h | 16 +++++++++------- 6431 1 file changed, 9 insertions(+), 7 deletions(-) 6432 6433commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c 6434Author: Lasse Collin <lasse.collin@tukaani.org> 6435Date: 2009-12-07 21:46:53 +0200 6436 6437 Fix file_io.c on DOS-like systems. 6438 6439 The problem was introduced when adding sparse file 6440 support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902. 6441 6442 Thanks to Charles Wilson. 6443 6444 src/xz/file_io.c | 4 ++++ 6445 1 file changed, 4 insertions(+) 6446 6447commit 0696f5d268362221380e039bad48a86e29067c6a 6448Author: Lasse Collin <lasse.collin@tukaani.org> 6449Date: 2009-12-07 20:54:21 +0200 6450 6451 Add Czech translation. 6452 6453 Thanks to Marek Černocký. 6454 6455 Other people planning to translate xz: Note that the 6456 messages are a little bit in flux still. Translations 6457 are still welcome, just be prepared to some extra work 6458 in case there are changes. 6459 6460 THANKS | 1 + 6461 po/LINGUAS | 1 + 6462 po/cs.po | 637 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 6463 3 files changed, 639 insertions(+) 6464 6465commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5 6466Author: Lasse Collin <lasse.collin@tukaani.org> 6467Date: 2009-12-07 20:32:08 +0200 6468 6469 Add a note for translators to add a bug reporting address 6470 for translation bugs. 6471 6472 src/xz/message.c | 4 ++++ 6473 1 file changed, 4 insertions(+) 6474 6475commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37 6476Author: Lasse Collin <lasse.collin@tukaani.org> 6477Date: 2009-12-07 20:07:02 +0200 6478 6479 Prevent xgettext from taking one regular string as a C format string. 6480 6481 Thanks to Marek Černocký. 6482 6483 src/xz/message.c | 2 +- 6484 1 file changed, 1 insertion(+), 1 deletion(-) 6485 6486commit e0c2776b6ffbd2b1900fde353aceac734edc93d7 6487Author: Lasse Collin <lasse.collin@tukaani.org> 6488Date: 2009-11-28 17:45:22 +0200 6489 6490 Remove duplicate code in io_open_dest(). 6491 6492 Fix a missing _() in the error message too. 6493 6494 src/xz/file_io.c | 9 +-------- 6495 1 file changed, 1 insertion(+), 8 deletions(-) 6496 6497commit f057a33c6f7c5992389479f2d4feabf2900ba7ee 6498Author: Lasse Collin <lasse.collin@tukaani.org> 6499Date: 2009-11-26 10:11:23 +0200 6500 6501 Typo fix to sysdefs.h. 6502 6503 Thanks to Jonathan Nieder. 6504 6505 src/common/sysdefs.h | 2 +- 6506 1 file changed, 1 insertion(+), 1 deletion(-) 6507 6508commit 8767b41534eafdf5e742e12190646bf5740b0cdb 6509Author: Lasse Collin <lasse.collin@tukaani.org> 6510Date: 2009-11-26 10:10:36 +0200 6511 6512 Fix a memory leak in test_index.c. 6513 6514 This was introduced in 6515 bd13b04e202b6f495a68eb0766f97085b7c50a06. 6516 6517 Thanks to Jim Meyering for noticing it. 6518 6519 tests/test_index.c | 2 ++ 6520 1 file changed, 2 insertions(+) 6521 6522commit 919fbaff860acdaa4bcd216500a0b1c960a6db92 6523Author: Lasse Collin <lasse.collin@tukaani.org> 6524Date: 2009-11-25 14:22:19 +0200 6525 6526 Add missing error check to coder.c. 6527 6528 With bad luck this could cause a segfault due to 6529 reading (but not writing) past the end of the buffer. 6530 6531 src/xz/coder.c | 20 +++++++++++--------- 6532 1 file changed, 11 insertions(+), 9 deletions(-) 6533 6534commit bd13b04e202b6f495a68eb0766f97085b7c50a06 6535Author: Lasse Collin <lasse.collin@tukaani.org> 6536Date: 2009-11-25 13:04:10 +0200 6537 6538 Fix bugs in lzma_index_read() and lzma_index_cat(). 6539 6540 lzma_index_read() didn't skip over Stream Padding 6541 if it was the first record in the Index. 6542 6543 lzma_index_cat() didn't combine small Indexes correctly. 6544 6545 The test suite was updated to check for these bugs. 6546 6547 These bugs didn't affect the xz command line tool or 6548 most users of liblzma in any way. 6549 6550 src/liblzma/common/index.c | 30 +++++++++++++++++++----------- 6551 tests/test_index.c | 28 +++++++++++++++++++++++++--- 6552 2 files changed, 44 insertions(+), 14 deletions(-) 6553 6554commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa 6555Author: Lasse Collin <lasse.collin@tukaani.org> 6556Date: 2009-11-25 12:52:56 +0200 6557 6558 Index decoder fixes. 6559 6560 The Index decoder code didn't perfectly match the API docs, 6561 which said that *i will be set to point to the decoded Index 6562 only after decoding has succeeded. The docs were a bit unclear 6563 too. 6564 6565 Now the decoder will initially set *i to NULL. *i will be set 6566 to point to the decoded Index once decoding has succeeded. 6567 This simplifies applications too, since it avoids dangling 6568 pointers. 6569 6570 src/liblzma/api/lzma/index.h | 23 ++++++++++++----------- 6571 src/liblzma/common/index_decoder.c | 26 ++++++++++++++++++++------ 6572 2 files changed, 32 insertions(+), 17 deletions(-) 6573 6574commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902 6575Author: Lasse Collin <lasse.collin@tukaani.org> 6576Date: 2009-11-25 11:19:20 +0200 6577 6578 Create sparse files by default when decompressing into 6579 a regular file. 6580 6581 Sparse file creation can be disabled with --no-sparse. 6582 I don't promise yet that the name of this option won't 6583 change before 5.0.0. It's possible that the code, that 6584 checks when it is safe to use sparse output on stdout, 6585 is not good enough, and a more flexible command line 6586 option is needed to configure sparse file handling. 6587 6588 src/xz/args.c | 6 ++ 6589 src/xz/coder.c | 33 ++++---- 6590 src/xz/file_io.c | 243 +++++++++++++++++++++++++++++++++++++++++++++++-------- 6591 src/xz/file_io.h | 34 ++++++-- 6592 src/xz/message.c | 1 + 6593 src/xz/xz.1 | 11 +++ 6594 6 files changed, 272 insertions(+), 56 deletions(-) 6595 6596commit 37de544414fc2dc5039471d1002ebd015eb3e627 6597Author: Lasse Collin <lasse.collin@tukaani.org> 6598Date: 2009-11-22 12:43:06 +0200 6599 6600 Updated THANKS. 6601 6602 THANKS | 1 + 6603 1 file changed, 1 insertion(+) 6604 6605commit f1a28b96c900c658fe016852ff62f6c24d1f50fa 6606Author: Lasse Collin <lasse.collin@tukaani.org> 6607Date: 2009-11-22 12:05:33 +0200 6608 6609 Add missing consts to pointer casts. 6610 6611 src/liblzma/check/crc32_fast.c | 4 ++-- 6612 src/liblzma/check/crc64_fast.c | 5 +++-- 6613 2 files changed, 5 insertions(+), 4 deletions(-) 6614 6615commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef 6616Author: Lasse Collin <lasse.collin@tukaani.org> 6617Date: 2009-11-22 12:00:30 +0200 6618 6619 Enable assembler code only if it is known to work 6620 on that operating system. 6621 6622 I'm too lazy to think how to make a good Autoconf test 6623 for this and it's not that important anyway. 6624 6625 No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64. 6626 Inline assembler (if any) is used if a macro like 6627 __i386__ or __x86_64__ is defined. 6628 6629 configure.ac | 26 ++++++++++++-------------- 6630 1 file changed, 12 insertions(+), 14 deletions(-) 6631 6632commit 0733f4c9994db696420a405810d5f02c79ebc404 6633Author: Lasse Collin <lasse.collin@tukaani.org> 6634Date: 2009-11-22 11:55:03 +0200 6635 6636 Make fastpos.h use tuklib_integer.h instead of bsr.h 6637 when --enable-small has been specified. 6638 6639 src/liblzma/common/Makefile.inc | 1 - 6640 src/liblzma/common/bsr.h | 60 ----------------------------------------- 6641 src/liblzma/lzma/fastpos.h | 5 +--- 6642 3 files changed, 1 insertion(+), 65 deletions(-) 6643 6644commit 7ac3985d891dcc5773543f84cc5bce6c14841b12 6645Author: Lasse Collin <lasse.collin@tukaani.org> 6646Date: 2009-11-22 11:52:30 +0200 6647 6648 Update tuklib_integer.h with bit scan functions. 6649 6650 Thanks to Joachim Henke for the original patch. 6651 6652 src/common/tuklib_integer.h | 189 ++++++++++++++++++++++++++++++++++++++++++-- 6653 1 file changed, 181 insertions(+), 8 deletions(-) 6654 6655commit c74c132f7f79a842c073c66575a4fdb985e4c2e3 6656Author: Lasse Collin <lasse.collin@tukaani.org> 6657Date: 2009-11-20 12:51:19 +0200 6658 6659 Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib, 6660 which now use AC_CACHE_CHECK. Using the cache variable, 6661 configure now warns if there is no method to detect the amount 6662 of RAM and recommends using --enable-assume-ram. 6663 6664 configure.ac | 16 ++++++++++++++++ 6665 m4/tuklib_cpucores.m4 | 31 ++++++++++++++++++------------- 6666 m4/tuklib_physmem.m4 | 50 +++++++++++++++++++++++++++----------------------- 6667 3 files changed, 61 insertions(+), 36 deletions(-) 6668 6669commit d315ca4930ff96e1428c6021c96f209e1abdd83e 6670Author: Lasse Collin <lasse.collin@tukaani.org> 6671Date: 2009-11-16 18:16:45 +0200 6672 6673 Add support for --info-memory and --robot to xz. 6674 6675 Currently --robot works only with --info-memory and 6676 --version. --help and --long-help work too, but --robot 6677 has no effect on them. 6678 6679 Thanks to Jonathan Nieder for the original patches. 6680 6681 src/xz/args.c | 85 +++++++++++++++++++++++++++++++++----------------------- 6682 src/xz/args.h | 1 + 6683 src/xz/main.c | 11 +++++--- 6684 src/xz/message.c | 47 +++++++++++++++++++++++-------- 6685 src/xz/message.h | 4 +++ 6686 src/xz/xz.1 | 40 +++++++++++++++++++++++--- 6687 6 files changed, 133 insertions(+), 55 deletions(-) 6688 6689commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e 6690Author: Lasse Collin <lasse.collin@tukaani.org> 6691Date: 2009-11-15 12:54:45 +0200 6692 6693 Fix wrong indentation caused by incorrect settings 6694 in the text editor. 6695 6696 src/liblzma/lz/lz_decoder.c | 18 +++++++++--------- 6697 src/liblzma/lzma/lzma2_encoder.c | 6 +++--- 6698 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +- 6699 3 files changed, 13 insertions(+), 13 deletions(-) 6700 6701commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4 6702Author: Lasse Collin <lasse.collin@tukaani.org> 6703Date: 2009-11-15 12:40:17 +0200 6704 6705 Add lzma_physmem(). 6706 6707 I had hoped to keep liblzma as purely a compression 6708 library as possible (e.g. file I/O will go into 6709 a different library), but it seems that applications 6710 linking agaisnt liblzma need some way to determine 6711 the memory usage limit, and knowing the amount of RAM 6712 is one reasonable way to help making such decisions. 6713 6714 Thanks to Jonathan Nieder for the original patch. 6715 6716 src/liblzma/Makefile.am | 5 ++-- 6717 src/liblzma/api/Makefile.am | 1 + 6718 src/liblzma/api/lzma.h | 3 +++ 6719 src/liblzma/api/lzma/hardware.h | 51 +++++++++++++++++++++++++++++++++++ 6720 src/liblzma/common/Makefile.inc | 1 + 6721 src/liblzma/common/hardware_physmem.c | 25 +++++++++++++++++ 6722 src/xz/Makefile.am | 1 - 6723 src/xz/hardware.c | 3 +-- 6724 src/xzdec/Makefile.am | 6 ++--- 6725 src/xzdec/xzdec.c | 3 +-- 6726 10 files changed, 88 insertions(+), 11 deletions(-) 6727 6728commit cf39faca59083d38422058c6c97aa757ea7797d0 6729Author: Lasse Collin <lasse.collin@tukaani.org> 6730Date: 2009-11-14 20:21:19 +0200 6731 6732 Updated THANKS. 6733 6734 THANKS | 1 + 6735 1 file changed, 1 insertion(+) 6736 6737commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f 6738Author: Lasse Collin <lasse.collin@tukaani.org> 6739Date: 2009-11-14 20:20:03 +0200 6740 6741 Some updates to xz man page. 6742 6743 src/xz/xz.1 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++----- 6744 1 file changed, 49 insertions(+), 5 deletions(-) 6745 6746commit 19b2674f07f8b588dfaf6638396b4b42866d7e23 6747Author: Lasse Collin <lasse.collin@tukaani.org> 6748Date: 2009-11-14 19:51:03 +0200 6749 6750 Fix description of --memory in --long-help. 6751 6752 src/xz/message.c | 3 +-- 6753 1 file changed, 1 insertion(+), 2 deletions(-) 6754 6755commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8 6756Author: Lasse Collin <lasse.collin@tukaani.org> 6757Date: 2009-11-14 19:45:39 +0200 6758 6759 Update the debug programs so that they compile again. 6760 6761 debug/crc32.c | 1 + 6762 debug/memusage.c | 6 ++++-- 6763 debug/sync_flush.c | 14 +++++++++----- 6764 3 files changed, 14 insertions(+), 7 deletions(-) 6765 6766commit 418d64a32e8144210f98a810738fed5a897e8367 6767Author: Lasse Collin <lasse.collin@tukaani.org> 6768Date: 2009-11-14 18:59:19 +0200 6769 6770 Fix a design error in liblzma API. 6771 6772 Originally the idea was that using LZMA_FULL_FLUSH 6773 with Stream encoder would read the filter chain 6774 from the same array that was used to intialize the 6775 Stream encoder. Since most apps wouldn't use 6776 LZMA_FULL_FLUSH, most apps wouldn't need to keep 6777 the filter chain available after initializing the 6778 Stream encoder. However, due to my mistake, it 6779 actually required keeping the array always available. 6780 6781 Since setting the new filter chain via the array 6782 used at initialization time is not a nice way to do 6783 it for a couple of reasons, this commit ditches it 6784 and introduces lzma_filters_update(). This new function 6785 replaces also the "persistent" flag used by LZMA2 6786 (and to-be-designed Subblock filter), which was also 6787 an ugly thing to do. 6788 6789 Thanks to Alexey Tourbin for reminding me about the problem 6790 that Stream encoder used to require keeping the filter 6791 chain allocated. 6792 6793 src/liblzma/api/lzma/filter.h | 30 +++++++++++++ 6794 src/liblzma/api/lzma/lzma.h | 13 ------ 6795 src/liblzma/common/block_encoder.c | 14 ++++++ 6796 src/liblzma/common/common.c | 20 ++++++++- 6797 src/liblzma/common/common.h | 22 ++++++++++ 6798 src/liblzma/common/easy_encoder.c | 63 ++------------------------- 6799 src/liblzma/common/filter_common.c | 3 ++ 6800 src/liblzma/common/filter_encoder.c | 27 ++++++++++++ 6801 src/liblzma/common/filter_encoder.h | 2 +- 6802 src/liblzma/common/stream_encoder.c | 76 ++++++++++++++++++++++++++++----- 6803 src/liblzma/delta/delta_common.c | 5 +-- 6804 src/liblzma/delta/delta_decoder.c | 3 +- 6805 src/liblzma/delta/delta_encoder.c | 17 +++++++- 6806 src/liblzma/delta/delta_private.h | 2 +- 6807 src/liblzma/lz/lz_encoder.c | 17 ++++++++ 6808 src/liblzma/lz/lz_encoder.h | 4 ++ 6809 src/liblzma/lzma/lzma2_encoder.c | 59 ++++++++++++++----------- 6810 src/liblzma/lzma/lzma_encoder_presets.c | 1 - 6811 src/liblzma/simple/simple_coder.c | 12 ++++++ 6812 src/xz/options.c | 1 - 6813 20 files changed, 273 insertions(+), 118 deletions(-) 6814 6815commit f0bf7634b77263a4dd02b20c71861ab67995da68 6816Author: Lasse Collin <lasse.collin@tukaani.org> 6817Date: 2009-10-17 11:11:58 +0300 6818 6819 Fix wrong function name in the previous commit. 6820 6821 It was meant to be lzma_filters_copy(), not lzma_filters_dup(). 6822 6823 src/liblzma/api/lzma/filter.h | 2 +- 6824 src/liblzma/common/filter_common.c | 2 +- 6825 2 files changed, 2 insertions(+), 2 deletions(-) 6826 6827commit 6d118a0b9def82e96afba7386ec8d7da0b59649f 6828Author: Lasse Collin <lasse.collin@tukaani.org> 6829Date: 2009-10-17 01:47:07 +0300 6830 6831 Add lzma_filters_copy(). 6832 6833 This will be needed internally by liblzma once I fix 6834 a design mistake in the encoder API. This function may 6835 be useful to applications too so it's good to export it. 6836 6837 src/liblzma/api/lzma/filter.h | 31 ++++++++++++++ 6838 src/liblzma/common/filter_common.c | 82 ++++++++++++++++++++++++++++++++++++++ 6839 2 files changed, 113 insertions(+) 6840 6841commit 78e92c18470483e161388e679c1ee556adb3a691 6842Author: Jonathan Nieder <jrnieder@gmail.com> 6843Date: 2009-10-15 20:44:13 -0500 6844 6845 Escape dashes in xzmore.1 6846 6847 A minus sign is larger, easier to see in a printout, and more 6848 likely to use the same glyph as ASCII hyphen-minus in a terminal 6849 than a hyphen. Since broken manual pagers do not find hyphens 6850 when the user searches for a hyphen-minus, minus signs are also 6851 easier to search for. So use minus signs instead of hyphens to 6852 render sample terminal output. 6853 6854 src/scripts/xzmore.1 | 4 ++-- 6855 1 file changed, 2 insertions(+), 2 deletions(-) 6856 6857commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee 6858Author: Lasse Collin <lasse.collin@tukaani.org> 6859Date: 2009-10-16 20:35:39 +0300 6860 6861 Mention --check=none in --long-help. It was already in 6862 the man page though. 6863 6864 Thanks to Jim Meyering for noticing this. 6865 6866 src/xz/message.c | 2 +- 6867 1 file changed, 1 insertion(+), 1 deletion(-) 6868 6869commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24 6870Author: Lasse Collin <lasse.collin@tukaani.org> 6871Date: 2009-10-04 22:57:12 +0300 6872 6873 Use a tuklib module for integer handling. 6874 6875 This replaces bswap.h and integer.h. 6876 6877 The tuklib module uses <byteswap.h> on GNU, 6878 <sys/endian.h> on *BSDs and <sys/byteorder.h> 6879 on Solaris, which may contain optimized code 6880 like inline assembly. 6881 6882 configure.ac | 54 +---- 6883 m4/tuklib_integer.m4 | 74 +++++++ 6884 src/common/bswap.h | 52 ----- 6885 src/common/integer.h | 170 --------------- 6886 src/common/tuklib_config.h | 8 +- 6887 src/common/tuklib_integer.h | 350 ++++++++++++++++++++++++++++++ 6888 src/liblzma/check/check.c | 4 +- 6889 src/liblzma/check/crc32_fast.c | 4 +- 6890 src/liblzma/check/crc32_tablegen.c | 8 +- 6891 src/liblzma/check/crc64_fast.c | 4 +- 6892 src/liblzma/check/crc64_tablegen.c | 8 +- 6893 src/liblzma/check/crc_macros.h | 2 - 6894 src/liblzma/check/sha256.c | 18 +- 6895 src/liblzma/common/alone_encoder.c | 2 +- 6896 src/liblzma/common/block_header_decoder.c | 2 +- 6897 src/liblzma/common/block_header_encoder.c | 2 +- 6898 src/liblzma/common/common.h | 2 +- 6899 src/liblzma/common/stream_flags_decoder.c | 6 +- 6900 src/liblzma/common/stream_flags_encoder.c | 6 +- 6901 src/liblzma/lz/lz_encoder_hash.h | 2 +- 6902 src/liblzma/lzma/lzma_decoder.c | 2 +- 6903 src/liblzma/lzma/lzma_encoder.c | 2 +- 6904 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 6905 src/liblzma/simple/simple_decoder.c | 2 +- 6906 src/liblzma/simple/simple_encoder.c | 2 +- 6907 tests/test_block_header.c | 4 +- 6908 tests/test_stream_flags.c | 6 +- 6909 tests/tests.h | 2 +- 6910 28 files changed, 467 insertions(+), 333 deletions(-) 6911 6912commit 29fd321033276261b87da7be5223db33d879a4c7 6913Author: Lasse Collin <lasse.collin@tukaani.org> 6914Date: 2009-10-02 14:35:56 +0300 6915 6916 Add support for --enable-assume-ram=SIZE. 6917 6918 INSTALL | 16 ++++++++++++++++ 6919 configure.ac | 24 ++++++++++++++++++++++++ 6920 src/xz/hardware.c | 7 +++---- 6921 src/xzdec/xzdec.c | 5 +++-- 6922 4 files changed, 46 insertions(+), 6 deletions(-) 6923 6924commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25 6925Author: Lasse Collin <lasse.collin@tukaani.org> 6926Date: 2009-10-02 11:28:17 +0300 6927 6928 Use unaligned access (if possible) on both endiannesses 6929 in lz_encoder_hash.h. 6930 6931 src/liblzma/lz/lz_encoder_hash.h | 4 ++-- 6932 1 file changed, 2 insertions(+), 2 deletions(-) 6933 6934commit c5f68b5cc79085a87f950fea53843e27f328068e 6935Author: Lasse Collin <lasse.collin@tukaani.org> 6936Date: 2009-10-02 11:03:26 +0300 6937 6938 Make liblzma produce the same output on both endiannesses. 6939 6940 Seems that it is a problem in some cases if the same 6941 version of XZ Utils produces different output on different 6942 endiannesses, so this commit fixes that problem. The output 6943 will still vary between different XZ Utils versions, but I 6944 cannot avoid that for now. 6945 6946 This commit bloatens the code on big endian systems by 1 KiB, 6947 which should be OK since liblzma is bloated already. ;-) 6948 6949 src/liblzma/check/crc32_tablegen.c | 30 +++++++++++++++ 6950 src/liblzma/lz/Makefile.inc | 1 + 6951 src/liblzma/lz/lz_encoder.c | 7 +++- 6952 src/liblzma/lz/lz_encoder_hash.h | 35 +++++++++++------ 6953 src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++++ 6954 src/liblzma/lz/lz_encoder_mf.c | 1 - 6955 6 files changed, 128 insertions(+), 14 deletions(-) 6956 6957commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a 6958Author: Mike Frysinger <vapier@gentoo.org> 6959Date: 2009-09-26 12:51:50 -0400 6960 6961 add lzmainfo to gitignore 6962 6963 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 6964 6965 .gitignore | 2 ++ 6966 1 file changed, 2 insertions(+) 6967 6968commit 188a1dcd0cc7867810ed3a55c598d0680922c63b 6969Author: Lasse Collin <lasse.collin@tukaani.org> 6970Date: 2009-09-27 11:53:36 +0300 6971 6972 Updated THANKS. 6973 6974 THANKS | 1 + 6975 1 file changed, 1 insertion(+) 6976 6977commit db9119b9181b307e7ac5d2bae82444d04b902b59 6978Author: Lasse Collin <lasse.collin@tukaani.org> 6979Date: 2009-09-27 11:48:54 +0300 6980 6981 Work around a bug in Interix header files. 6982 6983 Thanks to Markus Duft for the patch. 6984 6985 src/common/sysdefs.h | 6 ++++++ 6986 1 file changed, 6 insertions(+) 6987 6988commit b3d105e69786a45963176fd2193abe75e05ba738 6989Author: Lasse Collin <lasse.collin@tukaani.org> 6990Date: 2009-09-24 17:50:17 +0300 6991 6992 Fix an error in OpenVMS-specific code. 6993 6994 Thanks to Jouk Jansen. 6995 6996 src/xz/file_io.c | 2 +- 6997 1 file changed, 1 insertion(+), 1 deletion(-) 6998 6999commit 5e000ff00d4d01e559397b49eb648ad3f159d496 7000Author: Lasse Collin <lasse.collin@tukaani.org> 7001Date: 2009-09-22 18:59:56 +0300 7002 7003 Added OpenVMS-specific information to INSTALL. 7004 7005 INSTALL | 11 +++++++++++ 7006 1 file changed, 11 insertions(+) 7007 7008commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4 7009Author: Lasse Collin <lasse.collin@tukaani.org> 7010Date: 2009-09-22 14:03:02 +0300 7011 7012 Better fixes for OpenVMS support. 7013 7014 Thanks to Jouk Jansen. 7015 7016 src/xz/file_io.c | 19 ++++++++++++++++--- 7017 1 file changed, 16 insertions(+), 3 deletions(-) 7018 7019commit 4c3630ec4179fe9265407a35c4db1374ffc82372 7020Author: Lasse Collin <lasse.collin@tukaani.org> 7021Date: 2009-09-22 13:40:19 +0300 7022 7023 Avoid non-standard preprocessor construct. 7024 7025 Thanks to Jouk Jansen. 7026 7027 src/common/tuklib_common.h | 11 +++++++---- 7028 1 file changed, 7 insertions(+), 4 deletions(-) 7029 7030commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9 7031Author: Lasse Collin <lasse.collin@tukaani.org> 7032Date: 2009-09-21 19:50:09 +0300 7033 7034 Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin. 7035 7036 Thanks to Charles Wilson. 7037 7038 src/common/tuklib_common.h | 3 ++- 7039 1 file changed, 2 insertions(+), 1 deletion(-) 7040 7041commit e599bba4216c0edb8cc8f40adad3a6dba88685f4 7042Author: Lasse Collin <lasse.collin@tukaani.org> 7043Date: 2009-09-19 09:47:30 +0300 7044 7045 Various changes. 7046 7047 Separate a few reusable components from XZ Utils specific 7048 code. The reusable code is now in "tuklib" modules. A few 7049 more could be separated still, e.g. bswap.h. 7050 7051 Fix some bugs in lzmainfo. 7052 7053 Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol 7054 for help. 7055 7056 Add OpenVMS support into physmem. Add a few #ifdefs to ease 7057 building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the 7058 original patch. 7059 7060 THANKS | 1 + 7061 configure.ac | 12 ++-- 7062 m4/lc_cpucores.m4 | 57 ---------------- 7063 m4/lc_physmem.m4 | 84 ----------------------- 7064 m4/tuklib_common.m4 | 22 ++++++ 7065 m4/tuklib_cpucores.m4 | 72 ++++++++++++++++++++ 7066 m4/tuklib_physmem.m4 | 119 ++++++++++++++++++++++++++++++++ 7067 m4/tuklib_progname.m4 | 25 +++++++ 7068 src/common/cpucores.h | 51 -------------- 7069 src/common/open_stdxxx.h | 49 -------------- 7070 src/common/physmem.h | 144 --------------------------------------- 7071 src/common/sysdefs.h | 4 -- 7072 src/common/tuklib_common.h | 67 ++++++++++++++++++ 7073 src/common/tuklib_config.h | 1 + 7074 src/common/tuklib_cpucores.c | 46 +++++++++++++ 7075 src/common/tuklib_cpucores.h | 23 +++++++ 7076 src/common/tuklib_exit.c | 57 ++++++++++++++++ 7077 src/common/tuklib_exit.h | 25 +++++++ 7078 src/common/tuklib_gettext.h | 44 ++++++++++++ 7079 src/common/tuklib_open_stdxxx.c | 51 ++++++++++++++ 7080 src/common/tuklib_open_stdxxx.h | 23 +++++++ 7081 src/common/tuklib_physmem.c | 146 ++++++++++++++++++++++++++++++++++++++++ 7082 src/common/tuklib_physmem.h | 28 ++++++++ 7083 src/common/tuklib_progname.c | 50 ++++++++++++++ 7084 src/common/tuklib_progname.h | 32 +++++++++ 7085 src/lzmainfo/Makefile.am | 5 +- 7086 src/lzmainfo/lzmainfo.c | 65 ++++++------------ 7087 src/xz/Makefile.am | 7 +- 7088 src/xz/args.c | 8 +-- 7089 src/xz/file_io.c | 43 ++++++------ 7090 src/xz/hardware.c | 8 +-- 7091 src/xz/main.c | 100 ++++++--------------------- 7092 src/xz/main.h | 7 -- 7093 src/xz/message.c | 30 +++++---- 7094 src/xz/message.h | 8 +-- 7095 src/xz/private.h | 11 +-- 7096 src/xz/signals.c | 2 + 7097 src/xz/signals.h | 17 +++-- 7098 src/xz/suffix.c | 2 +- 7099 src/xzdec/Makefile.am | 13 +++- 7100 src/xzdec/xzdec.c | 55 +++++---------- 7101 41 files changed, 974 insertions(+), 640 deletions(-) 7102 7103commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef 7104Author: Lasse Collin <lasse.collin@tukaani.org> 7105Date: 2009-09-15 21:07:23 +0300 7106 7107 Fix incorrect use of "restrict". 7108 7109 src/liblzma/api/lzma/vli.h | 4 ++-- 7110 src/liblzma/common/vli_decoder.c | 2 +- 7111 src/liblzma/common/vli_encoder.c | 2 +- 7112 3 files changed, 4 insertions(+), 4 deletions(-) 7113 7114commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c 7115Author: Lasse Collin <lasse.collin@tukaani.org> 7116Date: 2009-09-12 14:09:17 +0300 7117 7118 Fix GCC version check for nothrow attribute. 7119 7120 src/liblzma/api/lzma.h | 2 +- 7121 1 file changed, 1 insertion(+), 1 deletion(-) 7122 7123commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224 7124Author: Lasse Collin <lasse.collin@tukaani.org> 7125Date: 2009-09-12 14:08:15 +0300 7126 7127 Updated THANKS. 7128 7129 THANKS | 1 + 7130 1 file changed, 1 insertion(+) 7131 7132commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac 7133Author: Lasse Collin <lasse.collin@tukaani.org> 7134Date: 2009-09-12 14:07:36 +0300 7135 7136 A few grammar fixes. 7137 7138 Thanks to Christian Weisgerber for pointing out some of these. 7139 7140 src/liblzma/api/lzma.h | 4 ++-- 7141 src/liblzma/api/lzma/vli.h | 4 ++-- 7142 src/liblzma/common/block_header_encoder.c | 2 +- 7143 src/liblzma/common/filter_common.c | 2 +- 7144 src/liblzma/lz/lz_encoder.h | 10 +++++----- 7145 src/xz/message.c | 22 +++++++++++----------- 7146 src/xzdec/xzdec.c | 2 +- 7147 7 files changed, 23 insertions(+), 23 deletions(-) 7148 7149commit 8905a33daadcd2d6557c83c81c490b827d566c94 7150Author: Lasse Collin <lasse.collin@tukaani.org> 7151Date: 2009-09-11 17:08:15 +0300 7152 7153 Updated THANKS. 7154 7155 THANKS | 1 + 7156 1 file changed, 1 insertion(+) 7157 7158commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9 7159Author: Lasse Collin <lasse.collin@tukaani.org> 7160Date: 2009-09-11 17:06:32 +0300 7161 7162 Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors. 7163 7164 dos/config.h | 3 +++ 7165 windows/config.h | 3 +++ 7166 2 files changed, 6 insertions(+) 7167 7168commit 221be761f467da76875247bc02d7a1716682075d 7169Author: Lasse Collin <lasse.collin@tukaani.org> 7170Date: 2009-09-11 10:24:09 +0300 7171 7172 Use $(LN_EXEEXT) in symlinks to executables. 7173 7174 This fixes "make install" on operating systems using 7175 a suffix for executables. 7176 7177 Cygwin is treated specially. The symlink names won't have 7178 .exe suffix even though the executables themselves have. 7179 Thanks to Charles Wilson. 7180 7181 configure.ac | 9 +++++++++ 7182 src/xz/Makefile.am | 4 ++-- 7183 2 files changed, 11 insertions(+), 2 deletions(-) 7184 7185commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c 7186Author: Lasse Collin <lasse.collin@tukaani.org> 7187Date: 2009-09-11 09:25:09 +0300 7188 7189 Fix a couple of warnings. 7190 7191 src/liblzma/common/stream_decoder.c | 2 +- 7192 src/liblzma/lz/lz_encoder.c | 5 +---- 7193 src/liblzma/lzma/lzma_encoder.c | 2 +- 7194 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++---- 7195 tests/tests.h | 2 +- 7196 5 files changed, 8 insertions(+), 11 deletions(-) 7197 7198commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4 7199Author: Lasse Collin <lasse.collin@tukaani.org> 7200Date: 2009-09-05 18:39:21 +0300 7201 7202 Add OS/2-specific code to physmem.h. 7203 7204 Also move DJGPP-specific code near the code meant 7205 for other DOS-like systems. 7206 7207 src/common/physmem.h | 32 +++++++++++++++++++++----------- 7208 1 file changed, 21 insertions(+), 11 deletions(-) 7209 7210commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740 7211Author: Lasse Collin <lasse.collin@tukaani.org> 7212Date: 2009-09-05 01:21:15 +0300 7213 7214 Updated THANKS. 7215 7216 THANKS | 2 ++ 7217 1 file changed, 2 insertions(+) 7218 7219commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071 7220Author: Lasse Collin <lasse.collin@tukaani.org> 7221Date: 2009-09-05 01:20:29 +0300 7222 7223 Use sysctl() != -1 instead of !sysctl() to check if 7224 the function call succeeded. 7225 7226 NetBSD 4.0 returns positive values on success, but 7227 NetBSD Current and FreeBSD return zero. OpenBSD's 7228 man page doesn't tell what sysctl() returns on 7229 success. All these BSDs return -1 on error. 7230 7231 Thanks to Robert Elz and Thomas Klausner. 7232 7233 src/common/cpucores.h | 2 +- 7234 src/common/physmem.h | 2 +- 7235 2 files changed, 2 insertions(+), 2 deletions(-) 7236 7237commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32 7238Author: Lasse Collin <lasse.collin@tukaani.org> 7239Date: 2009-09-02 09:43:51 +0300 7240 7241 Mention in INSTALL that --enable-small doesn't modify CFLAGS. 7242 7243 INSTALL | 4 ++++ 7244 1 file changed, 4 insertions(+) 7245 7246commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc 7247Author: Lasse Collin <lasse.collin@tukaani.org> 7248Date: 2009-09-01 20:40:01 +0300 7249 7250 Refactored option parsing. 7251 7252 src/xz/options.c | 70 ++++++++++++++++++++++++++++---------------------------- 7253 1 file changed, 35 insertions(+), 35 deletions(-) 7254 7255commit 25adaaa56e2e51a47a910a8d73452414619a2e53 7256Author: Lasse Collin <lasse.collin@tukaani.org> 7257Date: 2009-09-01 20:23:30 +0300 7258 7259 Fix options parsing bug in xz. 7260 7261 xz used to reject "xz --lzma2=pb=2," while 7262 "xz --lzma2=pb=2,," worked. Now both work. 7263 7264 src/xz/options.c | 6 ++---- 7265 1 file changed, 2 insertions(+), 4 deletions(-) 7266 7267commit 5f6dddc6c911df02ba660564e78e6de80947c947 7268Author: Lasse Collin <lasse.collin@tukaani.org> 7269Date: 2009-09-01 20:20:19 +0300 7270 7271 Updated TODO. 7272 7273 TODO | 3 +++ 7274 1 file changed, 3 insertions(+) 7275 7276commit 655457b9ada5ec7db398c5392e41290f3f332ea8 7277Author: Lasse Collin <lasse.collin@tukaani.org> 7278Date: 2009-08-31 21:59:25 +0300 7279 7280 Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 7281 and use a fix that works on all systems using 7282 GNU assembler. 7283 7284 Maybe the assembler code is used e.g. on Solaris x86 7285 but let's worry about it if this doesn't work on it. 7286 7287 src/liblzma/check/crc32_x86.S | 7 ++----- 7288 src/liblzma/check/crc64_x86.S | 7 ++----- 7289 2 files changed, 4 insertions(+), 10 deletions(-) 7290 7291commit 162189c3477953805a28f96d3a75cb9ab9417928 7292Author: Lasse Collin <lasse.collin@tukaani.org> 7293Date: 2009-08-30 17:29:19 +0300 7294 7295 Updated THANKS. 7296 7297 THANKS | 1 + 7298 1 file changed, 1 insertion(+) 7299 7300commit 2331f5f97af3e5897e23da45d9df3d664099c7f8 7301Author: Lasse Collin <lasse.collin@tukaani.org> 7302Date: 2009-08-30 17:28:52 +0300 7303 7304 Add more OS/2 specific info to INSTALL. 7305 7306 INSTALL | 5 +++++ 7307 1 file changed, 5 insertions(+) 7308 7309commit 94c66b3297b3ad307eee93cf6b160e3c43997f11 7310Author: Lasse Collin <lasse.collin@tukaani.org> 7311Date: 2009-08-29 14:43:52 +0300 7312 7313 Use even more hackish way to support thousand separators. 7314 7315 Seems that in addition on Windows and DOS, also OpenBSD 7316 lacks support for %'d style printf() format strings. 7317 So far that is the only modern POSIX-like system I know 7318 with this problem, but after this hack, the thousand 7319 separator shouldn't be a problem on any system. 7320 7321 Maybe testing if a format string like %'d produces 7322 reasonable output is invoking undefined behavior on some 7323 systems, but so far all the problematic systems I've tried 7324 just print the raw format string (e.g. %'d prints 'd). 7325 7326 Maybe Autoconf test would have been better, but this 7327 hack works also for cross-compilation, and avoids 7328 recompilation in case the system libc starts to support 7329 the thousand separator. 7330 7331 src/xz/util.c | 36 +++++++++++++++++++++++++----------- 7332 1 file changed, 25 insertions(+), 11 deletions(-) 7333 7334commit 3432e9c6aab851da1227b63dce645d7f190c04d8 7335Author: Lasse Collin <lasse.collin@tukaani.org> 7336Date: 2009-08-29 13:42:56 +0300 7337 7338 Updated THANKS. 7339 7340 THANKS | 3 +++ 7341 1 file changed, 3 insertions(+) 7342 7343commit 27414daadf5727e8ab942374b5ec1c8990122878 7344Author: Lasse Collin <lasse.collin@tukaani.org> 7345Date: 2009-08-29 13:39:21 +0300 7346 7347 Fix sysctl() usage. 7348 7349 This fixes build on *BSDs and Darwin. 7350 7351 Thanks to Jukka Salmi for the patches. 7352 Richard Koch reported the problem too. 7353 7354 m4/lc_cpucores.m4 | 2 +- 7355 m4/lc_physmem.m4 | 2 +- 7356 src/common/cpucores.h | 2 +- 7357 src/common/physmem.h | 2 +- 7358 4 files changed, 4 insertions(+), 4 deletions(-) 7359 7360commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 7361Author: Lasse Collin <lasse.collin@tukaani.org> 7362Date: 2009-08-29 13:35:23 +0300 7363 7364 Fix x86 assembler on GCC 3. 7365 7366 Thanks to Karl Berry. 7367 7368 src/liblzma/check/crc32_x86.S | 7 +++++-- 7369 src/liblzma/check/crc64_x86.S | 7 +++++-- 7370 2 files changed, 10 insertions(+), 4 deletions(-) 7371 7372commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8 7373Author: Lasse Collin <lasse.collin@tukaani.org> 7374Date: 2009-08-27 18:36:59 +0300 7375 7376 "make dist" fixes 7377 7378 Makefile.am | 13 ++++++------- 7379 1 file changed, 6 insertions(+), 7 deletions(-) 7380 7381commit c8c184db1c95bf70f78256ec6237845a57f342af 7382Author: Lasse Collin <lasse.collin@tukaani.org> 7383Date: 2009-08-27 17:08:33 +0300 7384 7385 Update xz man page date. 7386 7387 src/xz/xz.1 | 2 +- 7388 1 file changed, 1 insertion(+), 1 deletion(-) 7389 7390commit 9756fce565e98b8fa5fe6ead296d84e7601ec254 7391Author: Lasse Collin <lasse.collin@tukaani.org> 7392Date: 2009-08-27 17:00:22 +0300 7393 7394 Fix the debug directory. 7395 7396 6a2eb54092fc625d59921a607ff68cd1a90aa898 and 7397 71f18e8a066a01dda0c8e5508b135ef104e43e4c required 7398 some changes that weren't applied in debug. 7399 7400 debug/Makefile.am | 5 +++-- 7401 debug/full_flush.c | 1 + 7402 debug/known_sizes.c | 1 + 7403 debug/memusage.c | 1 + 7404 debug/sync_flush.c | 1 + 7405 5 files changed, 7 insertions(+), 2 deletions(-) 7406 7407commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea 7408Author: Lasse Collin <lasse.collin@tukaani.org> 7409Date: 2009-08-27 16:36:40 +0300 7410 7411 Add missing files to EXTRA_DIST. 7412 7413 Makefile.am | 11 +++++++---- 7414 1 file changed, 7 insertions(+), 4 deletions(-) 7415 7416commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d 7417Author: Lasse Collin <lasse.collin@tukaani.org> 7418Date: 2009-08-27 16:21:22 +0300 7419 7420 Bumped version to 4.999.9beta. 7421 7422 src/liblzma/api/lzma/version.h | 2 +- 7423 1 file changed, 1 insertion(+), 1 deletion(-) 7424 7425commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4 7426Author: Lasse Collin <lasse.collin@tukaani.org> 7427Date: 2009-08-27 16:17:47 +0300 7428 7429 Updated THANKS. 7430 7431 THANKS | 2 ++ 7432 1 file changed, 2 insertions(+) 7433 7434commit c29e76c0f910fca0a90a50b78d337f6c32623e9d 7435Author: Lasse Collin <lasse.collin@tukaani.org> 7436Date: 2009-08-27 16:12:52 +0300 7437 7438 .xz file format specification 1.0.4 (probably). 7439 7440 Thanks to Christian von Roques, Peter Lawler, 7441 and Jim Meyering for the fixes. 7442 7443 doc/xz-file-format.txt | 26 +++++++++++++++----------- 7444 1 file changed, 15 insertions(+), 11 deletions(-) 7445 7446commit 696d7ee3953beaf4f0ed18e78917ccf300431966 7447Author: Lasse Collin <lasse.collin@tukaani.org> 7448Date: 2009-08-27 15:43:54 +0300 7449 7450 Require GNU libtool 2.2. 7451 7452 configure.ac | 13 +++---------- 7453 1 file changed, 3 insertions(+), 10 deletions(-) 7454 7455commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d 7456Author: Lasse Collin <lasse.collin@tukaani.org> 7457Date: 2009-08-27 15:34:45 +0300 7458 7459 Add "dos" to EXTRA_DIST. 7460 7461 Makefile.am | 1 + 7462 1 file changed, 1 insertion(+) 7463 7464commit 35b29e4424ced5a3ababf132283e519080c7b298 7465Author: Lasse Collin <lasse.collin@tukaani.org> 7466Date: 2009-08-27 15:23:27 +0300 7467 7468 Updated TODO. 7469 7470 TODO | 6 ++++++ 7471 1 file changed, 6 insertions(+) 7472 7473commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea 7474Author: Lasse Collin <lasse.collin@tukaani.org> 7475Date: 2009-08-27 15:17:00 +0300 7476 7477 Some xz man page improvements. 7478 7479 src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++++------------- 7480 1 file changed, 62 insertions(+), 16 deletions(-) 7481 7482commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d 7483Author: Lasse Collin <lasse.collin@tukaani.org> 7484Date: 2009-08-27 10:41:01 +0300 7485 7486 Removed doc/bugs.txt. 7487 7488 doc/bugs.txt | 46 ---------------------------------------------- 7489 1 file changed, 46 deletions(-) 7490 7491commit d88c4072b36d3a76f839185799fb1d91037a1b81 7492Author: Lasse Collin <lasse.collin@tukaani.org> 7493Date: 2009-08-27 10:40:25 +0300 7494 7495 Updated README. 7496 7497 It now includes bug reporting instructions/tips. 7498 7499 README | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 7500 1 file changed, 55 insertions(+), 10 deletions(-) 7501 7502commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e 7503Author: Lasse Collin <lasse.collin@tukaani.org> 7504Date: 2009-08-27 10:21:18 +0300 7505 7506 Fix a typo in FAQ. 7507 7508 Thanks to Jim Meyering. 7509 7510 (From now on, I try to always remember to put 7511 the relevant thanks to commit messages.) 7512 7513 doc/faq.txt | 2 +- 7514 1 file changed, 1 insertion(+), 1 deletion(-) 7515 7516commit 3e2ba8b58585743e59251e69ad2783eb08357079 7517Author: Lasse Collin <lasse.collin@tukaani.org> 7518Date: 2009-08-27 10:13:46 +0300 7519 7520 Updates to liblzma API headers. 7521 7522 Added lzma_nothrow for every function. It adds 7523 throw() when the header is used in C++ code. 7524 7525 Some lzma_attrs were added or removed. 7526 7527 Lots of comments were improved. 7528 7529 src/liblzma/api/lzma.h | 20 ++++++++ 7530 src/liblzma/api/lzma/base.h | 48 +++++++++--------- 7531 src/liblzma/api/lzma/block.h | 38 ++++++++------- 7532 src/liblzma/api/lzma/check.h | 22 +++++---- 7533 src/liblzma/api/lzma/container.h | 36 ++++++++------ 7534 src/liblzma/api/lzma/filter.h | 81 +++++++++++++++++++------------ 7535 src/liblzma/api/lzma/index.h | 97 ++++++++++++++++++++++--------------- 7536 src/liblzma/api/lzma/index_hash.h | 14 ++++-- 7537 src/liblzma/api/lzma/lzma.h | 87 +++++++++++++++++---------------- 7538 src/liblzma/api/lzma/stream_flags.h | 12 ++--- 7539 src/liblzma/api/lzma/version.h | 10 ++-- 7540 src/liblzma/api/lzma/vli.h | 7 +-- 7541 12 files changed, 275 insertions(+), 197 deletions(-) 7542 7543commit 8e8ebc17c535a1f8846718059b48417409c37050 7544Author: Lasse Collin <lasse.collin@tukaani.org> 7545Date: 2009-08-18 00:30:09 +0300 7546 7547 Install faq.txt. 7548 7549 Makefile.am | 1 + 7550 1 file changed, 1 insertion(+) 7551 7552commit b198e770a146e4a41f91a93f0b233713f2515848 7553Author: Lasse Collin <lasse.collin@tukaani.org> 7554Date: 2009-08-18 00:26:48 +0300 7555 7556 Updated faq.txt. 7557 7558 Some questions worth answering were removed, because I 7559 currently don't have good up to date answers to them. 7560 7561 doc/faq.txt | 239 +++++++++++++++++++----------------------------------------- 7562 1 file changed, 73 insertions(+), 166 deletions(-) 7563 7564commit fe111a25cd788d31b581996e4533910388a7f0a9 7565Author: Lasse Collin <lasse.collin@tukaani.org> 7566Date: 2009-08-17 22:45:50 +0300 7567 7568 Some xz man changes. 7569 7570 src/xz/xz.1 | 88 ++++++++++++++++++++++++++++++------------------------------- 7571 1 file changed, 43 insertions(+), 45 deletions(-) 7572 7573commit 10242a21e9abda0c5c6a03501703cc40b8a699a5 7574Author: Lasse Collin <lasse.collin@tukaani.org> 7575Date: 2009-08-16 22:15:42 +0300 7576 7577 Updated THANKS. 7578 7579 THANKS | 1 + 7580 1 file changed, 1 insertion(+) 7581 7582commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d 7583Author: Lasse Collin <lasse.collin@tukaani.org> 7584Date: 2009-08-16 22:15:13 +0300 7585 7586 Fix data corruption in LZ/LZMA2 encoder. 7587 7588 Thanks to Jonathan Stott for the bug report. 7589 7590 src/liblzma/lz/lz_encoder.h | 2 +- 7591 1 file changed, 1 insertion(+), 1 deletion(-) 7592 7593commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a 7594Author: Lasse Collin <lasse.collin@tukaani.org> 7595Date: 2009-08-13 15:15:37 +0300 7596 7597 Updated INSTALL and PACKAGERS to match the changes 7598 made in --enable-dynamic. 7599 7600 INSTALL | 20 ++++++++++++++++---- 7601 PACKAGERS | 11 ++++++----- 7602 2 files changed, 22 insertions(+), 9 deletions(-) 7603 7604commit 8238c4b2402f952c4e492e5b778aa272e57b6705 7605Author: Lasse Collin <lasse.collin@tukaani.org> 7606Date: 2009-08-13 15:03:46 +0300 7607 7608 Link lzmainfo against shared liblzma by default. 7609 7610 src/lzmainfo/Makefile.am | 4 ++-- 7611 1 file changed, 2 insertions(+), 2 deletions(-) 7612 7613commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c 7614Author: Lasse Collin <lasse.collin@tukaani.org> 7615Date: 2009-08-13 15:00:21 +0300 7616 7617 Make --enable-dynamic a tristate option. 7618 7619 Some programs will by default be linked against static 7620 liblzma and some against shared liblzma. --enable-dynamic 7621 now allows overriding the default to both directions 7622 (all dynamic or all static) even when building both 7623 shared and static liblzma. 7624 7625 This is quite messy compared to how simple thing it is supposed 7626 to be. The complexity is mostly due to Windows support. 7627 7628 configure.ac | 77 ++++++++++++++++++++++++++++++++++++++++++++---------------- 7629 1 file changed, 57 insertions(+), 20 deletions(-) 7630 7631commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61 7632Author: Lasse Collin <lasse.collin@tukaani.org> 7633Date: 2009-08-13 12:56:47 +0300 7634 7635 Fix xz Makefile.am for the man page. 7636 7637 install-exec-hook -> install-data-hook 7638 7639 src/xz/Makefile.am | 2 ++ 7640 1 file changed, 2 insertions(+) 7641 7642commit e51b4e49e800bd84e6d589dca2964d3985e88139 7643Author: Lasse Collin <lasse.collin@tukaani.org> 7644Date: 2009-08-13 12:55:45 +0300 7645 7646 Add lzmainfo for backward compatibility with LZMA Utils. 7647 7648 lzmainfo now links against static liblzma. In contrast 7649 to other command line tools in XZ Utils, linking lzmainfo 7650 against static liblzma by default is dumb. This will be 7651 fixed once I have fixed some related issues in configure.ac. 7652 7653 configure.ac | 1 + 7654 src/Makefile.am | 2 +- 7655 src/lzmainfo/Makefile.am | 29 ++++++ 7656 src/lzmainfo/lzmainfo.1 | 55 +++++++++++ 7657 src/lzmainfo/lzmainfo.c | 242 +++++++++++++++++++++++++++++++++++++++++++++++ 7658 5 files changed, 328 insertions(+), 1 deletion(-) 7659 7660commit a4165d0584376d948c213ec93c6065d24ff6a5e7 7661Author: Lasse Collin <lasse.collin@tukaani.org> 7662Date: 2009-08-13 12:42:36 +0300 7663 7664 Sync some error messages from xz to xzdec. 7665 7666 Make xz error message translation usable outside 7667 xz (at least in upcoming lzmainfo). 7668 7669 src/xz/main.c | 4 ++-- 7670 src/xzdec/xzdec.c | 6 +++--- 7671 2 files changed, 5 insertions(+), 5 deletions(-) 7672 7673commit df636eb4e066b4e154ce8e66e82c87ba1db652a6 7674Author: Lasse Collin <lasse.collin@tukaani.org> 7675Date: 2009-08-13 09:37:21 +0300 7676 7677 Add xz man page to manfiles in toplevel Makefile.am. 7678 7679 Makefile.am | 1 + 7680 1 file changed, 1 insertion(+) 7681 7682commit 180bdf58ea5bb07941e0a99b304d9aa832198748 7683Author: Lasse Collin <lasse.collin@tukaani.org> 7684Date: 2009-08-13 09:37:01 +0300 7685 7686 Fix first line of xz man page. 7687 7688 src/xz/xz.1 | 2 +- 7689 1 file changed, 1 insertion(+), 1 deletion(-) 7690 7691commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4 7692Author: Lasse Collin <lasse.collin@tukaani.org> 7693Date: 2009-08-10 11:22:31 +0300 7694 7695 Added a rough version of the xz man page. 7696 7697 src/xz/Makefile.am | 15 + 7698 src/xz/xz.1 | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 7699 2 files changed, 1221 insertions(+) 7700 7701commit e71903fc6101f1c039d702e335b08aad1e1b4100 7702Author: Jonathan Nieder <jrnieder@gmail.com> 7703Date: 2009-08-09 13:41:20 -0500 7704 7705 “xzdiff a.xz b.xz” always fails 7706 7707 Attempts to compare two compressed files result in no output and 7708 exit status 2. 7709 7710 Instead of going to standard output, ‘diff’ output is being 7711 captured in the xz_status variable along with the exit status from 7712 the decompression commands. Later, when this variable is examined 7713 for nonzero status codes, numerals from dates in the ‘diff’ output 7714 make it appear as though decompression failed. 7715 7716 So let the ‘diff’ output leak to standard output with another file 7717 descriptor. (This trick is used in all similar contexts elsewhere 7718 in xzdiff and in the analogous context in gzip’s zdiff script.) 7719 7720 src/scripts/xzdiff.in | 2 +- 7721 1 file changed, 1 insertion(+), 1 deletion(-) 7722 7723commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c 7724Author: Jonathan Nieder <jrnieder@gmail.com> 7725Date: 2009-08-09 13:22:12 -0500 7726 7727 xzless: Support compressed standard input 7728 7729 It can be somewhat confusing that 7730 7731 less < some_file.txt 7732 7733 works fine, whereas 7734 7735 xzless < some_file.txt.xz 7736 7737 does not. Since version 429, ‘less’ allows a filter specified in 7738 the LESSOPEN environment variable to preprocess its input even if 7739 it comes from standard input, if $LESSOPEN begins with ‘|-’. So 7740 set $LESSOPEN to take advantage of this feature. 7741 7742 Check less’s version at runtime so xzless can continue to work 7743 with older versions. 7744 7745 src/scripts/xzless.in | 8 +++++++- 7746 1 file changed, 7 insertions(+), 1 deletion(-) 7747 7748commit a7f5d2fe4826ac68839d00059f05004fb81d5c69 7749Author: Lasse Collin <lasse.collin@tukaani.org> 7750Date: 2009-08-09 20:57:46 +0300 7751 7752 GPLv2+ not GPLv2 for Doxyfile.in is probably OK. 7753 7754 Doxyfile.in | 2 +- 7755 1 file changed, 1 insertion(+), 1 deletion(-) 7756 7757commit b735cde20cc14857136ae65a0e5d336ed7ddc862 7758Author: Lasse Collin <lasse.collin@tukaani.org> 7759Date: 2009-08-02 00:27:29 +0300 7760 7761 Added a copyright notice to Doxyfile.in since it contains 7762 lots of comments from Doxygen. 7763 7764 It seems that the Doxygen authors' intent is to not apply 7765 their copyright on generated files, but since it doesn't 7766 matter for XZ Utils at all, better safe than sorry. 7767 7768 Doxyfile.in | 3 +++ 7769 1 file changed, 3 insertions(+) 7770 7771commit 0fd157cc008446adfc8f91394f5503868025a642 7772Author: Lasse Collin <lasse.collin@tukaani.org> 7773Date: 2009-08-02 00:11:37 +0300 7774 7775 Updated THANKS. 7776 7777 THANKS | 1 + 7778 1 file changed, 1 insertion(+) 7779 7780commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f 7781Author: Lasse Collin <lasse.collin@tukaani.org> 7782Date: 2009-08-02 00:10:22 +0300 7783 7784 Updated TODO. 7785 7786 TODO | 4 ++++ 7787 1 file changed, 4 insertions(+) 7788 7789commit 669413bb2db954bbfde3c4542fddbbab53891eb4 7790Author: Lasse Collin <lasse.collin@tukaani.org> 7791Date: 2009-07-30 12:25:55 +0300 7792 7793 Updated THANKS. 7794 7795 THANKS | 1 + 7796 1 file changed, 1 insertion(+) 7797 7798commit dbbd8fb870ae789d96497911006c869d37148c15 7799Author: Jonathan Nieder <jrnieder@gmail.com> 7800Date: 2009-07-28 17:37:24 -0500 7801 7802 xzdiff: add missing ;; to case statement 7803 7804 src/scripts/xzdiff.in | 6 +++--- 7805 1 file changed, 3 insertions(+), 3 deletions(-) 7806 7807commit adbad2d16cb5909f85d4a429011005613ea62ffe 7808Author: Lasse Collin <lasse.collin@tukaani.org> 7809Date: 2009-07-24 13:15:06 +0300 7810 7811 Added history.txt to doc_DATA. 7812 7813 Makefile.am | 1 + 7814 1 file changed, 1 insertion(+) 7815 7816commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27 7817Author: Lasse Collin <lasse.collin@tukaani.org> 7818Date: 2009-07-24 12:00:40 +0300 7819 7820 Updated .gitignore files. 7821 7822 .gitignore | 36 +++++++++++++++++++----------------- 7823 po/.gitignore | 3 +++ 7824 2 files changed, 22 insertions(+), 17 deletions(-) 7825 7826commit 2f34fb269265e3aba43a2a9c734020a45268826d 7827Author: Lasse Collin <lasse.collin@tukaani.org> 7828Date: 2009-07-24 11:34:02 +0300 7829 7830 Minor improvements to COPYING. 7831 7832 COPYING | 11 ++++++++--- 7833 1 file changed, 8 insertions(+), 3 deletions(-) 7834 7835commit 0db1befcfbc120377df4b89923762f16d25f548a 7836Author: Lasse Collin <lasse.collin@tukaani.org> 7837Date: 2009-07-23 19:10:55 +0300 7838 7839 Fix incorrect usage of getopt_long(), which caused 7840 invalid memory access if XZ_OPT was defined. 7841 7842 src/xz/args.c | 1 - 7843 1 file changed, 1 deletion(-) 7844 7845commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48 7846Author: Lasse Collin <lasse.collin@tukaani.org> 7847Date: 2009-07-20 15:43:32 +0300 7848 7849 Avoid internal error with --format=xz --lzma1. 7850 7851 src/xz/coder.c | 16 ++++++++++++---- 7852 1 file changed, 12 insertions(+), 4 deletions(-) 7853 7854commit 99f9e879a6a8bb54a65da99c12e0f390216c152a 7855Author: Lasse Collin <lasse.collin@tukaani.org> 7856Date: 2009-07-19 13:14:20 +0300 7857 7858 Major documentation update. 7859 7860 Installation and packaging instructions were added. 7861 README and other generic docs were revised. 7862 7863 Some of the documentation files are now installed to $docdir. 7864 7865 AUTHORS | 35 +++--- 7866 ChangeLog | 7 +- 7867 INSTALL | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 7868 INSTALL.generic | 302 +++++++++++++++++++++++++++++++++++++++++++++++++++ 7869 Makefile.am | 11 ++ 7870 PACKAGERS | 278 +++++++++++++++++++++++++++++++++++++++++++++++ 7871 README | 263 ++++++++++++++++++++------------------------- 7872 THANKS | 17 +-- 7873 8 files changed, 1070 insertions(+), 170 deletions(-) 7874 7875commit ef4cf1851de89022cba5674784f1a8f6343c15b0 7876Author: Lasse Collin <lasse.collin@tukaani.org> 7877Date: 2009-07-19 11:09:31 +0300 7878 7879 Added missing author notice to xzless.in. 7880 7881 src/scripts/xzless.in | 1 + 7882 1 file changed, 1 insertion(+) 7883 7884commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77 7885Author: Lasse Collin <lasse.collin@tukaani.org> 7886Date: 2009-07-18 18:54:55 +0300 7887 7888 Use AC_CONFIG_AUX_DIR to clean up the toplevel directory 7889 a little. 7890 7891 Fixed a related bug in the toplevel Makefile.am. 7892 7893 Added the build-aux directory to .gitignore. 7894 7895 .gitignore | 1 + 7896 Makefile.am | 1 - 7897 configure.ac | 3 ++- 7898 3 files changed, 3 insertions(+), 2 deletions(-) 7899 7900commit 366e436090a7a87215e9bf0e3ddcd55f05b50587 7901Author: Lasse Collin <lasse.collin@tukaani.org> 7902Date: 2009-07-18 14:34:08 +0300 7903 7904 Updated the totally outdated TODO file. 7905 7906 TODO | 117 ++++++++++++++++--------------------------------------------------- 7907 1 file changed, 27 insertions(+), 90 deletions(-) 7908 7909commit 64e498c89d8b9966e8663f43bf64d47c26c55c62 7910Author: Lasse Collin <lasse.collin@tukaani.org> 7911Date: 2009-07-18 11:26:39 +0300 7912 7913 Added public domain notice into a few files. 7914 7915 src/common/common_w32res.rc | 9 ++++++++- 7916 src/liblzma/liblzma.pc.in | 7 +++++++ 7917 src/liblzma/liblzma_w32res.rc | 7 +++++++ 7918 src/xz/xz_w32res.rc | 7 +++++++ 7919 src/xzdec/xzdec_w32res.rc | 7 +++++++ 7920 5 files changed, 36 insertions(+), 1 deletion(-) 7921 7922commit a35755c5de808df027675688855d1b621a4fb428 7923Author: Lasse Collin <lasse.collin@tukaani.org> 7924Date: 2009-07-14 21:10:36 +0300 7925 7926 Allow extra commas in filter-specific options on xz command line. 7927 7928 This may slightly ease writing scripts that construct 7929 filter-specific option strings dynamically. 7930 7931 src/xz/options.c | 7 +++++++ 7932 1 file changed, 7 insertions(+) 7933 7934commit 98f3cac1ad31191c5160a7e48398bf85141e941c 7935Author: Lasse Collin <lasse.collin@tukaani.org> 7936Date: 2009-07-14 18:04:31 +0300 7937 7938 Accept --lzma2=preset=6e where "e" is equivalent to --extreme 7939 when no custom chain is in use. 7940 7941 src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++++--------------- 7942 1 file changed, 59 insertions(+), 21 deletions(-) 7943 7944commit d873a09e956363e54bf58c577c8f7e487b6fb464 7945Author: Lasse Collin <lasse.collin@tukaani.org> 7946Date: 2009-07-12 19:08:30 +0300 7947 7948 Add dist-hook to create ChangeLog from the commit log, 7949 and to conver the man pages to PDF and plain text, which 7950 may be convenient to those who cannot render man pages. 7951 7952 Makefile.am | 31 +++++++++++++++++++++++++++++++ 7953 1 file changed, 31 insertions(+) 7954 7955commit cd69a5a6c16c289f6f8e2823b03c72289472270f 7956Author: Lasse Collin <lasse.collin@tukaani.org> 7957Date: 2009-07-10 11:39:38 +0300 7958 7959 BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR. 7960 7961 This is a quick and slightly dirty fix to make the code 7962 conform to the latest file format specification. Without 7963 this patch, it's possible to make corrupt files by 7964 specifying start offset that is not a multiple of the 7965 filter's alignment. Custom start offset is almost never 7966 used, so this was only a minor bug. 7967 7968 The xz command line tool doesn't validate the start offset, 7969 so one will get a bit unclear error message if trying to use 7970 an invalid start offset. 7971 7972 src/liblzma/simple/arm.c | 2 +- 7973 src/liblzma/simple/armthumb.c | 2 +- 7974 src/liblzma/simple/ia64.c | 2 +- 7975 src/liblzma/simple/powerpc.c | 2 +- 7976 src/liblzma/simple/simple_coder.c | 5 ++++- 7977 src/liblzma/simple/simple_private.h | 3 ++- 7978 src/liblzma/simple/sparc.c | 2 +- 7979 src/liblzma/simple/x86.c | 2 +- 7980 8 files changed, 12 insertions(+), 8 deletions(-) 7981 7982commit eed9953732b801f6c97317fb3160445a8754180b 7983Author: Lasse Collin <lasse.collin@tukaani.org> 7984Date: 2009-07-10 11:33:21 +0300 7985 7986 Look for full command names instead of substrings 7987 like "un", "cat", and "lz" when determining if 7988 xz is run as unxz, xzcat, lzma, unlzma, or lzcat. 7989 7990 This is to ensure that if xz is renamed (e.g. via 7991 --program-transform-name), it doesn't so easily 7992 work in wrong mode. 7993 7994 src/xz/args.c | 22 +++++++++++++--------- 7995 1 file changed, 13 insertions(+), 9 deletions(-) 7996 7997commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658 7998Author: Lasse Collin <lasse.collin@tukaani.org> 7999Date: 2009-07-08 23:06:46 +0300 8000 8001 Updated THANKS. 8002 8003 THANKS | 2 ++ 8004 1 file changed, 2 insertions(+) 8005 8006commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e 8007Author: Lasse Collin <lasse.collin@tukaani.org> 8008Date: 2009-07-08 23:05:29 +0300 8009 8010 Portability improvement to version.sh. 8011 8012 version.sh | 3 ++- 8013 1 file changed, 2 insertions(+), 1 deletion(-) 8014 8015commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f 8016Author: Lasse Collin <lasse.collin@tukaani.org> 8017Date: 2009-07-08 22:50:16 +0300 8018 8019 Remove --force from xzdec. 8020 8021 It was ignored for compatibility with xz, but now that 8022 --decompress --stdout --force copies unrecognized files 8023 as is to stdout, simply ignoring --force in xzdec would 8024 be wrong. xzdec will not support copying unrecognized 8025 data as is to stdout, so it cannot support --force. 8026 8027 src/xzdec/xzdec.1 | 5 ----- 8028 src/xzdec/xzdec.c | 5 +---- 8029 2 files changed, 1 insertion(+), 9 deletions(-) 8030 8031commit 5f16ef4abf220028a9ddbcb138217597a9455f62 8032Author: Lasse Collin <lasse.collin@tukaani.org> 8033Date: 2009-07-06 10:36:04 +0300 8034 8035 Use sed instead of $(SED) so that we don't need to 8036 use AC_PROG_SED. We don't do anything fancy with sed, 8037 so this should work OK. libtool 2.2 sets SED but 1.5 8038 doesn't, so $(SED) happened to work when using libtool 2.2. 8039 8040 src/liblzma/Makefile.am | 2 +- 8041 src/scripts/Makefile.am | 28 ++++++++++++++-------------- 8042 src/xz/Makefile.am | 6 +++--- 8043 src/xzdec/Makefile.am | 6 +++--- 8044 4 files changed, 21 insertions(+), 21 deletions(-) 8045 8046commit 96e4b257e101d72072d43e144897d92920270669 8047Author: Lasse Collin <lasse.collin@tukaani.org> 8048Date: 2009-07-05 22:25:17 +0300 8049 8050 Major update to the xzgrep and other scripts based on 8051 the latest versions found from gzip CVS repository. 8052 8053 configure will try to find a POSIX shell to be used by 8054 the scripts. This should ease portability on systems 8055 which have pre-POSIX /bin/sh. 8056 8057 xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files. 8058 xzmore and xzless support only .xz and .lzma files. 8059 8060 The name of the xz executable used in these scripts is 8061 now correct even if --program-transform-name has been used. 8062 8063 configure.ac | 14 ++++ 8064 m4/posix-shell.m4 | 63 ++++++++++++++++ 8065 src/scripts/Makefile.am | 24 +++--- 8066 src/scripts/xzdiff | 67 ----------------- 8067 src/scripts/xzdiff.1 | 58 ++++++++------ 8068 src/scripts/xzdiff.in | 172 ++++++++++++++++++++++++++++++++++++++++++ 8069 src/scripts/xzgrep | 123 ------------------------------ 8070 src/scripts/xzgrep.1 | 85 ++++++++++++--------- 8071 src/scripts/xzgrep.in | 196 ++++++++++++++++++++++++++++++++++++++++++++++++ 8072 src/scripts/xzless.1 | 66 ++++++++++++++++ 8073 src/scripts/xzless.in | 51 +++++++++++++ 8074 src/scripts/xzmore | 74 ------------------ 8075 src/scripts/xzmore.1 | 64 +++++++--------- 8076 src/scripts/xzmore.in | 78 +++++++++++++++++++ 8077 14 files changed, 766 insertions(+), 369 deletions(-) 8078 8079commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100 8080Author: Lasse Collin <lasse.collin@tukaani.org> 8081Date: 2009-07-05 19:26:53 +0300 8082 8083 Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in. 8084 8085 src/liblzma/liblzma.pc.in | 2 +- 8086 1 file changed, 1 insertion(+), 1 deletion(-) 8087 8088commit 18c10c30d2833f394cd7bce0e6a821044b15832f 8089Author: Lasse Collin <lasse.collin@tukaani.org> 8090Date: 2009-07-04 00:40:44 +0300 8091 8092 Make "xz --decompress --stdout --force" copy unrecognized 8093 files as is to standard output. 8094 8095 This feature is needed to be more compatible with gzip's 8096 behavior. This was more complicated to implement than it 8097 sounds, because the way liblzma is able to return errors with 8098 files of only a few bytes in size. xz now has its own file 8099 type detection code and no longer uses lzma_auto_decoder(). 8100 8101 src/xz/coder.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++---------- 8102 1 file changed, 178 insertions(+), 35 deletions(-) 8103 8104commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633 8105Author: Lasse Collin <lasse.collin@tukaani.org> 8106Date: 2009-07-02 14:30:38 +0300 8107 8108 Define PACKAGE_HOMEPAGE in configure.ac and use it in 8109 xz and xzdec. 8110 8111 Use also PACKAGE_NAME instead of hardcoding "XZ Utils". 8112 8113 configure.ac | 5 +++++ 8114 src/xz/message.c | 4 ++-- 8115 src/xzdec/xzdec.c | 4 ++-- 8116 3 files changed, 9 insertions(+), 4 deletions(-) 8117 8118commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c 8119Author: Lasse Collin <lasse.collin@tukaani.org> 8120Date: 2009-07-01 12:21:24 +0300 8121 8122 Avoid visibility related compiler warnings on Windows. 8123 8124 configure.ac | 20 +++++++++----------- 8125 1 file changed, 9 insertions(+), 11 deletions(-) 8126 8127commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e 8128Author: Lasse Collin <lasse.collin@tukaani.org> 8129Date: 2009-06-30 17:14:39 +0300 8130 8131 Use static liblzma by default also for tests. 8132 8133 tests/Makefile.am | 5 ++++- 8134 1 file changed, 4 insertions(+), 1 deletion(-) 8135 8136commit f42ee981668b545ab6d06c6072e262c29605273c 8137Author: Lasse Collin <lasse.collin@tukaani.org> 8138Date: 2009-06-30 17:09:57 +0300 8139 8140 Build system fixes 8141 8142 Don't use libtool convenience libraries to avoid recently 8143 discovered long-standing subtle but somewhat severe bugs 8144 in libtool (at least 1.5.22 and 2.2.6 are affected). It 8145 was found when porting XZ Utils to Windows 8146 <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html> 8147 but the problem is significant also e.g. on GNU/Linux. 8148 8149 Unless --disable-shared is passed to configure, static 8150 library built from a set of convenience libraries will 8151 contain PIC objects. That is, while libtool builds non-PIC 8152 objects too, only PIC objects will be used from the 8153 convenience libraries. On 32-bit x86 (tested on mobile XP2400+), 8154 using PIC instead of non-PIC makes the decompressor 10 % slower 8155 with the default CFLAGS. 8156 8157 So while xz was linked against static liblzma by default, 8158 it got the slower PIC objects unless --disable-shared was 8159 used. I tend develop and benchmark with --disable-shared 8160 due to faster build time, so I hadn't noticed the problem 8161 in benchmarks earlier. 8162 8163 This commit also adds support for building Windows resources 8164 into liblzma and executables. 8165 8166 configure.ac | 34 ++++++++++------ 8167 src/liblzma/Makefile.am | 79 +++++++++++++++++++++++++++++-------- 8168 src/liblzma/check/Makefile.am | 47 ---------------------- 8169 src/liblzma/check/Makefile.inc | 51 ++++++++++++++++++++++++ 8170 src/liblzma/common/Makefile.am | 78 ------------------------------------ 8171 src/liblzma/common/Makefile.inc | 67 +++++++++++++++++++++++++++++++ 8172 src/liblzma/common/common.h | 16 +++++--- 8173 src/liblzma/delta/Makefile.am | 28 ------------- 8174 src/liblzma/delta/Makefile.inc | 23 +++++++++++ 8175 src/liblzma/lz/Makefile.am | 29 -------------- 8176 src/liblzma/lz/Makefile.inc | 21 ++++++++++ 8177 src/liblzma/lzma/Makefile.am | 51 ------------------------ 8178 src/liblzma/lzma/Makefile.inc | 43 ++++++++++++++++++++ 8179 src/liblzma/rangecoder/Makefile.am | 26 ------------ 8180 src/liblzma/rangecoder/Makefile.inc | 21 ++++++++++ 8181 src/liblzma/simple/Makefile.am | 51 ------------------------ 8182 src/liblzma/simple/Makefile.inc | 47 ++++++++++++++++++++++ 8183 src/liblzma/subblock/Makefile.am | 26 ------------ 8184 src/liblzma/subblock/Makefile.inc | 20 ++++++++++ 8185 src/xz/Makefile.am | 11 +++++- 8186 src/xzdec/Makefile.am | 20 +++++++++- 8187 21 files changed, 417 insertions(+), 372 deletions(-) 8188 8189commit 89dac1db6f168d7469cfbc4432651d4724c5c0de 8190Author: Lasse Collin <lasse.collin@tukaani.org> 8191Date: 2009-06-29 22:19:51 +0300 8192 8193 Added a comment about "autoconf -fi" to autogen.sh. 8194 8195 autogen.sh | 3 +++ 8196 1 file changed, 3 insertions(+) 8197 8198commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd 8199Author: Lasse Collin <lasse.collin@tukaani.org> 8200Date: 2009-06-28 10:04:24 +0300 8201 8202 Add -no-undefined to get shared liblzma on Windows. 8203 8204 src/liblzma/Makefile.am | 2 +- 8205 1 file changed, 1 insertion(+), 1 deletion(-) 8206 8207commit 73f560ee5fa064992b76688d9472baf139432540 8208Author: Lasse Collin <lasse.collin@tukaani.org> 8209Date: 2009-06-27 22:57:15 +0300 8210 8211 Make physmem() work on Cygwin 1.5 and older. 8212 8213 src/common/physmem.h | 77 +++++++++++++++++++++++++++------------------------- 8214 1 file changed, 40 insertions(+), 37 deletions(-) 8215 8216commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1 8217Author: Lasse Collin <lasse.collin@tukaani.org> 8218Date: 2009-06-27 17:28:01 +0300 8219 8220 Moved the Windows resource files outside the windows directory 8221 to prepare for building them with Autotools. 8222 8223 src/common/common_w32res.rc | 46 +++++++++++++++++++++++++++++++++++++++++++ 8224 src/liblzma/liblzma_w32res.rc | 5 +++++ 8225 src/xz/xz_w32res.rc | 5 +++++ 8226 src/xzdec/lzmadec_w32res.rc | 5 +++++ 8227 src/xzdec/xzdec_w32res.rc | 5 +++++ 8228 windows/Makefile | 35 +++++++++++++++++--------------- 8229 windows/common.rc | 46 ------------------------------------------- 8230 windows/liblzma.rc | 5 ----- 8231 windows/lzmadec.rc | 5 ----- 8232 windows/xz.rc | 5 ----- 8233 windows/xzdec.rc | 5 ----- 8234 11 files changed, 85 insertions(+), 82 deletions(-) 8235 8236commit 449c634674f35336a4815d398172e447659a135e 8237Author: Lasse Collin <lasse.collin@tukaani.org> 8238Date: 2009-06-27 13:05:03 +0300 8239 8240 Added missing $(EXEEXT). 8241 8242 src/xz/Makefile.am | 2 +- 8243 1 file changed, 1 insertion(+), 1 deletion(-) 8244 8245commit 792db79f27ad9ab1fb977e23be65c7761f545752 8246Author: Lasse Collin <lasse.collin@tukaani.org> 8247Date: 2009-06-27 12:32:40 +0300 8248 8249 Create correct symlinks even when 8250 --program-{prefix,suffix,transform} is passed to configure. 8251 8252 src/scripts/Makefile.am | 80 ++++++++++++++++++++++++++++--------------------- 8253 src/xz/Makefile.am | 21 ++++++++----- 8254 src/xzdec/Makefile.am | 9 ++++-- 8255 3 files changed, 65 insertions(+), 45 deletions(-) 8256 8257commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b 8258Author: Lasse Collin <lasse.collin@tukaani.org> 8259Date: 2009-06-27 10:02:24 +0300 8260 8261 Silence a compiler warning on DOS-like systems. 8262 8263 src/xz/file_io.c | 5 ++++- 8264 1 file changed, 4 insertions(+), 1 deletion(-) 8265 8266commit ad12edc95254ede3f0cb8dec8645e8789e984c4f 8267Author: Lasse Collin <lasse.collin@tukaani.org> 8268Date: 2009-06-27 09:35:15 +0300 8269 8270 Updated the filenames in POTFILES.in too. 8271 8272 po/POTFILES.in | 4 ++-- 8273 1 file changed, 2 insertions(+), 2 deletions(-) 8274 8275commit b2b1f867532732fe9969131f8713bdd6b0731763 8276Author: Lasse Collin <lasse.collin@tukaani.org> 8277Date: 2009-06-27 00:43:06 +0300 8278 8279 Hopefully improved portability of the assembler code in 8280 Autotools based builds on Windows. 8281 8282 src/liblzma/check/crc32_x86.S | 8 +++++++- 8283 src/liblzma/check/crc64_x86.S | 8 +++++++- 8284 2 files changed, 14 insertions(+), 2 deletions(-) 8285 8286commit c393055947247627a09b6a6b8f20aa0c32f9be16 8287Author: Lasse Collin <lasse.collin@tukaani.org> 8288Date: 2009-06-26 21:17:29 +0300 8289 8290 Updated THANKS (most of today's commits are based on 8291 Charles Wilson's patches). 8292 8293 THANKS | 1 + 8294 1 file changed, 1 insertion(+) 8295 8296commit da0af22e4b4139b8a10710945f8b245b3a77c97d 8297Author: Lasse Collin <lasse.collin@tukaani.org> 8298Date: 2009-06-26 21:00:35 +0300 8299 8300 Updated comments to match renamed files. 8301 8302 src/xz/coder.c | 2 +- 8303 src/xz/coder.h | 2 +- 8304 src/xz/file_io.c | 2 +- 8305 src/xz/file_io.h | 2 +- 8306 4 files changed, 4 insertions(+), 4 deletions(-) 8307 8308commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2 8309Author: Lasse Collin <lasse.collin@tukaani.org> 8310Date: 2009-06-26 20:49:54 +0300 8311 8312 Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc] 8313 to avoid problems on systems with system headers with those 8314 names. 8315 8316 dos/Makefile | 4 +- 8317 src/xz/Makefile.am | 8 +- 8318 src/xz/coder.c | 488 ++++++++++++++++++++++++++++++++++++ 8319 src/xz/coder.h | 57 +++++ 8320 src/xz/file_io.c | 716 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 8321 src/xz/file_io.h | 86 +++++++ 8322 src/xz/io.c | 716 ----------------------------------------------------- 8323 src/xz/io.h | 86 ------- 8324 src/xz/private.h | 4 +- 8325 src/xz/process.c | 488 ------------------------------------ 8326 src/xz/process.h | 57 ----- 8327 windows/Makefile | 4 +- 8328 12 files changed, 1357 insertions(+), 1357 deletions(-) 8329 8330commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8 8331Author: Lasse Collin <lasse.collin@tukaani.org> 8332Date: 2009-06-26 20:43:36 +0300 8333 8334 Rename process_file() to coder_run(). 8335 8336 src/xz/main.c | 6 +++--- 8337 src/xz/process.c | 6 +++--- 8338 src/xz/process.h | 5 ++--- 8339 3 files changed, 8 insertions(+), 9 deletions(-) 8340 8341commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc 8342Author: Lasse Collin <lasse.collin@tukaani.org> 8343Date: 2009-06-26 20:36:45 +0300 8344 8345 Ugly hack to make it possible to use the thousand separator 8346 format character with snprintf() on POSIX systems but not 8347 on non-POSIX systems and still keep xgettext working. 8348 8349 dos/Makefile | 16 +++------------- 8350 src/xz/message.c | 17 +++++++++-------- 8351 src/xz/process.c | 30 +++++++++++++++--------------- 8352 src/xz/util.c | 34 ++++++++++++++++++++++++++++++++++ 8353 src/xz/util.h | 20 ++++++++++++++++++++ 8354 windows/Makefile | 13 +++---------- 8355 6 files changed, 84 insertions(+), 46 deletions(-) 8356 8357commit fe378d47074b16c52b00fe184d119287c68ce2e7 8358Author: Lasse Collin <lasse.collin@tukaani.org> 8359Date: 2009-06-26 15:40:40 +0300 8360 8361 Added missing source files to windows/Makefile. 8362 8363 windows/Makefile | 2 ++ 8364 1 file changed, 2 insertions(+) 8365 8366commit 390a6408563067613b29de895cb40e4d0386d62c 8367Author: Lasse Collin <lasse.collin@tukaani.org> 8368Date: 2009-06-26 15:37:53 +0300 8369 8370 Basic support for building with Cygwin and MinGW using 8371 the Autotools based build system. It's not good yet, more 8372 fixes will follow. 8373 8374 configure.ac | 7 +++++++ 8375 src/liblzma/api/lzma.h | 7 +++++-- 8376 src/liblzma/check/crc32_x86.S | 7 ++++--- 8377 src/liblzma/check/crc64_x86.S | 7 ++++--- 8378 src/liblzma/common/common.h | 2 +- 8379 windows/Makefile | 16 +++++++--------- 8380 6 files changed, 28 insertions(+), 18 deletions(-) 8381 8382commit 1c9360b7d1197457aaad2f8888b99f1149861579 8383Author: Lasse Collin <lasse.collin@tukaani.org> 8384Date: 2009-06-26 14:47:31 +0300 8385 8386 Fix @variables@ to $(variables) in Makefile.am files. 8387 Fix the ordering of libgnu.a and LTLIBINTL on the linker 8388 command line and added missing LTLIBINTL to tests/Makefile.am. 8389 8390 debug/Makefile.am | 12 ++++++------ 8391 src/liblzma/check/Makefile.am | 4 ++-- 8392 src/liblzma/common/Makefile.am | 16 ++++++++-------- 8393 src/liblzma/delta/Makefile.am | 4 ++-- 8394 src/liblzma/lz/Makefile.am | 6 +++--- 8395 src/liblzma/lzma/Makefile.am | 8 ++++---- 8396 src/liblzma/rangecoder/Makefile.am | 4 ++-- 8397 src/liblzma/simple/Makefile.am | 4 ++-- 8398 src/liblzma/subblock/Makefile.am | 4 ++-- 8399 src/xz/Makefile.am | 21 +++++++++++---------- 8400 src/xzdec/Makefile.am | 19 ++++++++++--------- 8401 tests/Makefile.am | 12 +++++++----- 8402 12 files changed, 59 insertions(+), 55 deletions(-) 8403 8404commit d45615c555e250209ebb55aa3649abe790f1eeac 8405Author: Lasse Collin <lasse.collin@tukaani.org> 8406Date: 2009-06-26 14:20:02 +0300 8407 8408 Allow to explicitly specify autotool versions in autogen.sh. 8409 8410 autogen.sh | 12 ++++++------ 8411 1 file changed, 6 insertions(+), 6 deletions(-) 8412 8413commit eaf8367368a329afa48785380f9dca6b681f3397 8414Author: Lasse Collin <lasse.collin@tukaani.org> 8415Date: 2009-06-26 14:18:32 +0300 8416 8417 Add version.sh to EXTRA_DIST. 8418 8419 Makefile.am | 3 ++- 8420 1 file changed, 2 insertions(+), 1 deletion(-) 8421 8422commit b317b218e2d383dd27a700094c0de4510540ea18 8423Author: Lasse Collin <lasse.collin@tukaani.org> 8424Date: 2009-06-24 20:14:10 +0300 8425 8426 Support HW_PHYSMEM64 8427 8428 src/common/physmem.h | 30 +++++++++++++++++++----------- 8429 1 file changed, 19 insertions(+), 11 deletions(-) 8430 8431commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7 8432Author: Lasse Collin <lasse.collin@tukaani.org> 8433Date: 2009-06-24 13:01:59 +0300 8434 8435 Cast a char argument to isspace() to unsigned char. 8436 8437 src/xz/args.c | 11 +++++++++-- 8438 1 file changed, 9 insertions(+), 2 deletions(-) 8439 8440commit 1735d31ea347210e914df038eeea4b2626e76e42 8441Author: Lasse Collin <lasse.collin@tukaani.org> 8442Date: 2009-06-05 13:46:26 +0300 8443 8444 A few more spelling fixes. Released the .xz spec 1.0.3. 8445 8446 doc/xz-file-format.txt | 12 +++++++----- 8447 1 file changed, 7 insertions(+), 5 deletions(-) 8448 8449commit 8ed156ce894966103e895aa08f2a9fb912f6fad5 8450Author: Lasse Collin <lasse.collin@tukaani.org> 8451Date: 2009-06-04 23:42:12 +0300 8452 8453 Added xzdec man page. 8454 8455 src/xzdec/Makefile.am | 11 ++++ 8456 src/xzdec/xzdec.1 | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++ 8457 2 files changed, 184 insertions(+) 8458 8459commit f6df39afaa84f71439507178a49b2a5dda6e824c 8460Author: Lasse Collin <lasse.collin@tukaani.org> 8461Date: 2009-06-04 23:26:47 +0300 8462 8463 Harmonized xzdec --memory with xz --memory and made 8464 minor cleanups. 8465 8466 src/xzdec/xzdec.c | 74 +++++++++++++++++++++++++++++++++++++++---------------- 8467 1 file changed, 53 insertions(+), 21 deletions(-) 8468 8469commit 1774f27c61ce294a56712ca2f4785f90a62441bc 8470Author: Lasse Collin <lasse.collin@tukaani.org> 8471Date: 2009-06-04 22:59:55 +0300 8472 8473 Fix purporse -> purpose. Thanks to Andrew Dudman. 8474 Released .xz spec 1.0.2 due to this fix too. 8475 8476 THANKS | 1 + 8477 doc/xz-file-format.txt | 8 +++++--- 8478 src/liblzma/liblzma.pc.in | 2 +- 8479 windows/Makefile | 2 +- 8480 4 files changed, 8 insertions(+), 5 deletions(-) 8481 8482commit cb613455642f48fb51059e22018615f64c59b70f 8483Author: Lasse Collin <lasse.collin@tukaani.org> 8484Date: 2009-06-01 14:53:57 +0300 8485 8486 The .xz file format version 1.0.1 8487 8488 doc/xz-file-format.txt | 29 ++++++++++++++++++++++------- 8489 1 file changed, 22 insertions(+), 7 deletions(-) 8490 8491commit 083c23c680ff844846d177cfc58bb7a874e7e6b9 8492Author: Lasse Collin <lasse.collin@tukaani.org> 8493Date: 2009-05-26 14:48:48 +0300 8494 8495 Make the raw value of the Check field available to applications 8496 via lzma_block structure. 8497 8498 This changes ABI but not doesn't break API. 8499 8500 src/liblzma/api/lzma/block.h | 17 ++++++++++++++++ 8501 src/liblzma/common/block_buffer_encoder.c | 1 + 8502 src/liblzma/common/block_decoder.c | 34 ++++++++++++++----------------- 8503 src/liblzma/common/block_encoder.c | 21 ++++++++----------- 8504 4 files changed, 42 insertions(+), 31 deletions(-) 8505 8506commit b4f5c814090dc07d4350453576305e41eb9c998d 8507Author: Lasse Collin <lasse.collin@tukaani.org> 8508Date: 2009-05-23 16:57:21 +0300 8509 8510 Remove undocumented alternative option names --bcj, --ppc, 8511 and --itanium. 8512 8513 src/xz/args.c | 3 --- 8514 1 file changed, 3 deletions(-) 8515 8516commit b1edee2cdc7ef4411b1a21c07094ec763f071281 8517Author: Lasse Collin <lasse.collin@tukaani.org> 8518Date: 2009-05-23 15:12:23 +0300 8519 8520 Add support for specifying the BCJ filter start offset 8521 in the xz command line tool. 8522 8523 src/xz/args.c | 36 +++++++++++++++++++++--------------- 8524 src/xz/message.c | 14 ++++++++------ 8525 src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++ 8526 src/xz/options.h | 7 +++++++ 8527 4 files changed, 76 insertions(+), 21 deletions(-) 8528 8529commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb 8530Author: Lasse Collin <lasse.collin@tukaani.org> 8531Date: 2009-05-23 14:51:09 +0300 8532 8533 Updated THANKS. 8534 8535 THANKS | 2 ++ 8536 1 file changed, 2 insertions(+) 8537 8538commit dcedb6998cefeca6597dd1219328a3abf5acf66d 8539Author: Lasse Collin <lasse.collin@tukaani.org> 8540Date: 2009-05-22 16:40:50 +0300 8541 8542 Added support for --quiet and --no-warn to xzdec. 8543 Cleaned up the --help message a little. 8544 8545 src/xzdec/xzdec.c | 76 +++++++++++++++++++++++++++++++++++-------------------- 8546 1 file changed, 49 insertions(+), 27 deletions(-) 8547 8548commit 5f735dae80aa629853f4831d7b84ec1c614979eb 8549Author: Lasse Collin <lasse.collin@tukaani.org> 8550Date: 2009-05-22 15:11:52 +0300 8551 8552 Use the 40 % of RAM memory usage limit in xzdec too. 8553 8554 Update the memory usage info text in --help to match 8555 the text in xz --long-help. 8556 8557 src/xzdec/xzdec.c | 10 +++++----- 8558 1 file changed, 5 insertions(+), 5 deletions(-) 8559 8560commit b60376249e0c586910c4121fab4f791820cc1289 8561Author: Lasse Collin <lasse.collin@tukaani.org> 8562Date: 2009-05-22 14:43:00 +0300 8563 8564 Add --no-warn. 8565 8566 src/xz/args.c | 8 +++++++- 8567 src/xz/main.c | 17 +++++++++++++++++ 8568 src/xz/main.h | 6 ++++++ 8569 src/xz/message.c | 4 ++++ 8570 4 files changed, 34 insertions(+), 1 deletion(-) 8571 8572commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008 8573Author: Lasse Collin <lasse.collin@tukaani.org> 8574Date: 2009-05-22 14:27:40 +0300 8575 8576 Fix a comment. 8577 8578 src/xz/main.h | 2 +- 8579 1 file changed, 1 insertion(+), 1 deletion(-) 8580 8581commit 4dd21d23f22569285ae706b58b0e5904b8db1839 8582Author: Lasse Collin <lasse.collin@tukaani.org> 8583Date: 2009-05-22 14:21:20 +0300 8584 8585 Remove the --info option, which was an alias for --list. 8586 8587 src/xz/args.c | 1 - 8588 1 file changed, 1 deletion(-) 8589 8590commit 8836139b63ce774bdd62abf17ab69b290e08229e 8591Author: Lasse Collin <lasse.collin@tukaani.org> 8592Date: 2009-05-22 12:27:43 +0300 8593 8594 If xz is run as lzma, unlzma, or lzcat, simply imply 8595 --format=lzma. This means that xz emulating lzma 8596 doesn't decompress .xz files, while before this 8597 commit it did. The new way is slightly simpler in 8598 code and especially in upcoming documentation. 8599 8600 src/xz/args.c | 17 ++++++----------- 8601 1 file changed, 6 insertions(+), 11 deletions(-) 8602 8603commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d 8604Author: Lasse Collin <lasse.collin@tukaani.org> 8605Date: 2009-05-22 11:29:50 +0300 8606 8607 Make the default memory usage limit 40 % of RAM for both 8608 compressing and decompressing. This should be OK now that 8609 xz automatically scales down the compression settings if 8610 they would exceed the memory usage limit (earlier, the limit 8611 for compression was increased to 90 % because low limit broke 8612 scripts that used "xz -9" on systems with low RAM). 8613 8614 Support spcifying the memory usage limit as a percentage 8615 of RAM (e.g. --memory=50%). 8616 8617 Support --threads=0 to reset the thread limit to the default 8618 value (number of available CPU cores). Use UINT32_MAX instead 8619 of SIZE_MAX as the maximum in args.c. hardware.c was already 8620 expecting uint32_t value. 8621 8622 Cleaned up the output of --help and --long-help. 8623 8624 src/xz/args.c | 28 +++++++++++++----- 8625 src/xz/hardware.c | 86 +++++++++++++++++++++++-------------------------------- 8626 src/xz/hardware.h | 10 +++---- 8627 src/xz/message.c | 28 +++++++++--------- 8628 src/xz/process.c | 18 +++++------- 8629 5 files changed, 82 insertions(+), 88 deletions(-) 8630 8631commit 071b825b23911a69dd1cd2f8cda004ef8a781fae 8632Author: Lasse Collin <lasse.collin@tukaani.org> 8633Date: 2009-05-21 17:22:01 +0300 8634 8635 Support special value "max" where xz and xzdec accept an integer. 8636 Don't round the memory usage limit in xzdec --help to avoid 8637 an integer overflow and to not give wrong impression that 8638 the limit is high enough when it may not actually be. 8639 8640 src/xz/util.c | 4 ++++ 8641 src/xzdec/xzdec.c | 6 +++++- 8642 2 files changed, 9 insertions(+), 1 deletion(-) 8643 8644commit 03ca67fd37dd43fa7f590de340899cd497c10802 8645Author: ABCD <en.abcd@gmail.com> 8646Date: 2009-05-20 17:31:18 -0400 8647 8648 Install lzdiff, lzgrep, and lzmore as symlinks 8649 8650 This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install. 8651 It also installs symlinks for the manual pages and removes the new 8652 symlinks on uninstall. 8653 8654 src/scripts/Makefile.am | 16 ++++++++++++++-- 8655 1 file changed, 14 insertions(+), 2 deletions(-) 8656 8657commit a6f43e64128a6da5cd641de1e1e527433b3e5638 8658Author: Lasse Collin <lasse.collin@tukaani.org> 8659Date: 2009-05-02 16:10:14 +0300 8660 8661 Use a GCC-specific #pragma instead of GCC-specific 8662 -Wno-uninitialized to silence a bogus warning. 8663 8664 configure.ac | 13 ------------- 8665 src/liblzma/check/Makefile.am | 5 ----- 8666 src/liblzma/check/sha256.c | 5 +++++ 8667 3 files changed, 5 insertions(+), 18 deletions(-) 8668 8669commit f6ce63ebdb45a857c8949960c83c9580ae888951 8670Author: Lasse Collin <lasse.collin@tukaani.org> 8671Date: 2009-05-02 14:46:50 +0300 8672 8673 Removed --disable-encoder and --disable-decoder. Use the values 8674 given to --enable-encoders and --enable-decoders to determine 8675 if any encoder or decoder support is wanted. 8676 8677 configure.ac | 48 ++++++++---------------------------------------- 8678 1 file changed, 8 insertions(+), 40 deletions(-) 8679 8680commit be06858d5cf8ba46557395035d821dc332f3f830 8681Author: Lasse Collin <lasse.collin@tukaani.org> 8682Date: 2009-05-01 11:28:52 +0300 8683 8684 Remove docs that are too outdated to be updated 8685 (rewrite will be better). 8686 8687 doc/liblzma-advanced.txt | 324 ----------------------------------------------- 8688 doc/liblzma-hacking.txt | 112 ---------------- 8689 doc/liblzma-intro.txt | 194 ---------------------------- 8690 doc/liblzma-security.txt | 219 -------------------------------- 8691 doc/lzma-intro.txt | 107 ---------------- 8692 5 files changed, 956 deletions(-) 8693 8694commit 0255401e57c96af87c6b159eca28974e79430a82 8695Author: Lasse Collin <lasse.collin@tukaani.org> 8696Date: 2009-05-01 11:21:46 +0300 8697 8698 Added documentation about the legacy .lzma file format. 8699 8700 doc/lzma-file-format.txt | 166 +++++++++++++++++++++++++++++++++++++++++++++++ 8701 1 file changed, 166 insertions(+) 8702 8703commit 1496ff437c46f38303e0e94c511ca604b3a11f85 8704Author: Lasse Collin <lasse.collin@tukaani.org> 8705Date: 2009-05-01 11:20:23 +0300 8706 8707 Renamed the file format specification to xz-file-format.txt 8708 which is the filename used on the WWW. 8709 8710 doc/file-format.txt | 1127 ------------------------------------------------ 8711 doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++ 8712 2 files changed, 1127 insertions(+), 1127 deletions(-) 8713 8714commit 21c6b94373d239d7e86bd480fcd558e30391712f 8715Author: Lasse Collin <lasse.collin@tukaani.org> 8716Date: 2009-04-28 23:08:32 +0300 8717 8718 Fixed a crash in liblzma. 8719 8720 liblzma tries to avoid useless free()/malloc() pairs in 8721 initialization when multiple files are handled using the 8722 same lzma_stream. This didn't work with filter chains 8723 due to comparison of wrong pointers in lzma_next_coder_init(), 8724 making liblzma think that no memory reallocation is needed 8725 even when it actually is. 8726 8727 Easy way to trigger this bug is to decompress two files with 8728 a single xz command. The first file should have e.g. x86+LZMA2 8729 as the filter chain, and the second file just LZMA2. 8730 8731 src/liblzma/common/alone_decoder.c | 2 +- 8732 src/liblzma/common/alone_encoder.c | 4 ++-- 8733 src/liblzma/common/auto_decoder.c | 2 +- 8734 src/liblzma/common/block_decoder.c | 2 +- 8735 src/liblzma/common/block_encoder.c | 2 +- 8736 src/liblzma/common/common.h | 4 ++-- 8737 src/liblzma/common/easy_encoder.c | 2 +- 8738 src/liblzma/common/index_decoder.c | 2 +- 8739 src/liblzma/common/index_encoder.c | 2 +- 8740 src/liblzma/common/stream_decoder.c | 2 +- 8741 src/liblzma/common/stream_encoder.c | 2 +- 8742 11 files changed, 13 insertions(+), 13 deletions(-) 8743 8744commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c 8745Author: Lasse Collin <lasse.collin@tukaani.org> 8746Date: 2009-04-15 14:13:38 +0300 8747 8748 Fix uint32_t -> size_t in ARM and ARM-Thumb filters. 8749 8750 On 64-bit system it would have gone into infinite 8751 loop if a single input buffer was over 4 GiB (unlikely). 8752 8753 src/liblzma/simple/arm.c | 2 +- 8754 src/liblzma/simple/armthumb.c | 2 +- 8755 2 files changed, 2 insertions(+), 2 deletions(-) 8756 8757commit 31decdce041581e57c0d8a407d4795b114ef27ca 8758Author: Lasse Collin <lasse.collin@tukaani.org> 8759Date: 2009-04-14 11:48:46 +0300 8760 8761 Minor fixes to test files' README. 8762 8763 tests/files/README | 17 +++++++++-------- 8764 1 file changed, 9 insertions(+), 8 deletions(-) 8765 8766commit 4787d654434891c7df5b43959b0d2873718f06e0 8767Author: Lasse Collin <lasse.collin@tukaani.org> 8768Date: 2009-04-13 16:36:41 +0300 8769 8770 Updated history.txt. 8771 8772 doc/history.txt | 123 ++++++++++++++++++++++++++++++-------------------------- 8773 1 file changed, 66 insertions(+), 57 deletions(-) 8774 8775commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9 8776Author: Lasse Collin <lasse.collin@tukaani.org> 8777Date: 2009-04-13 14:49:48 +0300 8778 8779 Quick & dirty update to support xz in diff/grep/more scripts. 8780 8781 src/scripts/Makefile.am | 38 +++++++++------ 8782 src/scripts/lzdiff | 67 -------------------------- 8783 src/scripts/lzdiff.1 | 51 -------------------- 8784 src/scripts/lzgrep | 123 ------------------------------------------------ 8785 src/scripts/lzgrep.1 | 61 ------------------------ 8786 src/scripts/lzmore | 74 ----------------------------- 8787 src/scripts/lzmore.1 | 55 ---------------------- 8788 src/scripts/xzdiff | 67 ++++++++++++++++++++++++++ 8789 src/scripts/xzdiff.1 | 58 +++++++++++++++++++++++ 8790 src/scripts/xzgrep | 123 ++++++++++++++++++++++++++++++++++++++++++++++++ 8791 src/scripts/xzgrep.1 | 77 ++++++++++++++++++++++++++++++ 8792 src/scripts/xzmore | 74 +++++++++++++++++++++++++++++ 8793 src/scripts/xzmore.1 | 66 ++++++++++++++++++++++++++ 8794 13 files changed, 489 insertions(+), 445 deletions(-) 8795 8796commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc 8797Author: Lasse Collin <lasse.collin@tukaani.org> 8798Date: 2009-04-13 11:27:40 +0300 8799 8800 Put the interesting parts of XZ Utils into the public domain. 8801 Some minor documentation cleanups were made at the same time. 8802 8803 COPYING | 67 ++++++++++++++++++++------ 8804 ChangeLog | 2 +- 8805 Doxyfile.in | 8 +-- 8806 Makefile.am | 13 ++--- 8807 autogen.sh | 9 ++++ 8808 configure.ac | 13 ++--- 8809 debug/Makefile.am | 13 ++--- 8810 debug/crc32.c | 13 ++--- 8811 debug/full_flush.c | 13 ++--- 8812 debug/hex2bin.c | 7 ++- 8813 debug/known_sizes.c | 13 ++--- 8814 debug/memusage.c | 13 ++--- 8815 debug/repeat.c | 13 ++--- 8816 debug/sync_flush.c | 13 ++--- 8817 doc/faq.txt | 38 ++------------- 8818 lib/Makefile.am | 18 +++---- 8819 src/Makefile.am | 13 ++--- 8820 src/common/bswap.h | 7 ++- 8821 src/common/cpucores.h | 7 ++- 8822 src/common/integer.h | 7 ++- 8823 src/common/mythread.h | 4 +- 8824 src/common/open_stdxxx.h | 7 ++- 8825 src/common/physmem.h | 7 ++- 8826 src/common/sysdefs.h | 13 ++--- 8827 src/liblzma/Makefile.am | 13 ++--- 8828 src/liblzma/api/Makefile.am | 13 ++--- 8829 src/liblzma/api/lzma.h | 38 +++++++++------ 8830 src/liblzma/api/lzma/base.h | 20 +++----- 8831 src/liblzma/api/lzma/bcj.h | 18 +++---- 8832 src/liblzma/api/lzma/block.h | 18 +++---- 8833 src/liblzma/api/lzma/check.h | 18 +++---- 8834 src/liblzma/api/lzma/container.h | 18 +++---- 8835 src/liblzma/api/lzma/delta.h | 18 +++---- 8836 src/liblzma/api/lzma/filter.h | 18 +++---- 8837 src/liblzma/api/lzma/index.h | 18 +++---- 8838 src/liblzma/api/lzma/index_hash.h | 22 +++------ 8839 src/liblzma/api/lzma/lzma.h | 18 +++---- 8840 src/liblzma/api/lzma/stream_flags.h | 18 +++---- 8841 src/liblzma/api/lzma/subblock.h | 18 +++---- 8842 src/liblzma/api/lzma/version.h | 18 +++---- 8843 src/liblzma/api/lzma/vli.h | 46 ++++++++---------- 8844 src/liblzma/check/Makefile.am | 8 ++- 8845 src/liblzma/check/check.c | 7 ++- 8846 src/liblzma/check/check.h | 7 ++- 8847 src/liblzma/check/crc32_fast.c | 30 +++++------- 8848 src/liblzma/check/crc32_small.c | 7 ++- 8849 src/liblzma/check/crc32_table.c | 7 ++- 8850 src/liblzma/check/crc32_tablegen.c | 7 ++- 8851 src/liblzma/check/crc32_x86.S | 21 +++++--- 8852 src/liblzma/check/crc64_fast.c | 20 +++----- 8853 src/liblzma/check/crc64_small.c | 7 ++- 8854 src/liblzma/check/crc64_table.c | 7 ++- 8855 src/liblzma/check/crc64_tablegen.c | 7 ++- 8856 src/liblzma/check/crc64_x86.S | 14 ++++-- 8857 src/liblzma/check/crc_macros.h | 9 ++-- 8858 src/liblzma/check/sha256.c | 23 +++++---- 8859 src/liblzma/common/Makefile.am | 13 ++--- 8860 src/liblzma/common/alone_decoder.c | 13 ++--- 8861 src/liblzma/common/alone_decoder.h | 13 ++--- 8862 src/liblzma/common/alone_encoder.c | 13 ++--- 8863 src/liblzma/common/auto_decoder.c | 13 ++--- 8864 src/liblzma/common/block_buffer_decoder.c | 13 ++--- 8865 src/liblzma/common/block_buffer_encoder.c | 13 ++--- 8866 src/liblzma/common/block_decoder.c | 13 ++--- 8867 src/liblzma/common/block_decoder.h | 13 ++--- 8868 src/liblzma/common/block_encoder.c | 13 ++--- 8869 src/liblzma/common/block_encoder.h | 13 ++--- 8870 src/liblzma/common/block_header_decoder.c | 13 ++--- 8871 src/liblzma/common/block_header_encoder.c | 13 ++--- 8872 src/liblzma/common/block_util.c | 13 ++--- 8873 src/liblzma/common/bsr.h | 7 ++- 8874 src/liblzma/common/chunk_size.c | 13 ++--- 8875 src/liblzma/common/common.c | 13 ++--- 8876 src/liblzma/common/common.h | 13 ++--- 8877 src/liblzma/common/easy_buffer_encoder.c | 13 ++--- 8878 src/liblzma/common/easy_decoder_memusage.c | 13 ++--- 8879 src/liblzma/common/easy_encoder.c | 13 ++--- 8880 src/liblzma/common/easy_encoder_memusage.c | 13 ++--- 8881 src/liblzma/common/easy_preset.c | 13 ++--- 8882 src/liblzma/common/easy_preset.h | 13 ++--- 8883 src/liblzma/common/filter_buffer_decoder.c | 13 ++--- 8884 src/liblzma/common/filter_buffer_encoder.c | 13 ++--- 8885 src/liblzma/common/filter_common.c | 13 ++--- 8886 src/liblzma/common/filter_common.h | 13 ++--- 8887 src/liblzma/common/filter_decoder.c | 13 ++--- 8888 src/liblzma/common/filter_decoder.h | 13 ++--- 8889 src/liblzma/common/filter_encoder.c | 13 ++--- 8890 src/liblzma/common/filter_encoder.h | 13 ++--- 8891 src/liblzma/common/filter_flags_decoder.c | 13 ++--- 8892 src/liblzma/common/filter_flags_encoder.c | 13 ++--- 8893 src/liblzma/common/index.c | 13 ++--- 8894 src/liblzma/common/index.h | 13 ++--- 8895 src/liblzma/common/index_decoder.c | 13 ++--- 8896 src/liblzma/common/index_encoder.c | 13 ++--- 8897 src/liblzma/common/index_encoder.h | 13 ++--- 8898 src/liblzma/common/index_hash.c | 13 ++--- 8899 src/liblzma/common/stream_buffer_decoder.c | 13 ++--- 8900 src/liblzma/common/stream_buffer_encoder.c | 13 ++--- 8901 src/liblzma/common/stream_decoder.c | 13 ++--- 8902 src/liblzma/common/stream_decoder.h | 13 ++--- 8903 src/liblzma/common/stream_encoder.c | 13 ++--- 8904 src/liblzma/common/stream_encoder.h | 13 ++--- 8905 src/liblzma/common/stream_flags_common.c | 13 ++--- 8906 src/liblzma/common/stream_flags_common.h | 13 ++--- 8907 src/liblzma/common/stream_flags_decoder.c | 13 ++--- 8908 src/liblzma/common/stream_flags_encoder.c | 13 ++--- 8909 src/liblzma/common/vli_decoder.c | 13 ++--- 8910 src/liblzma/common/vli_encoder.c | 13 ++--- 8911 src/liblzma/common/vli_size.c | 13 ++--- 8912 src/liblzma/delta/Makefile.am | 13 ++--- 8913 src/liblzma/delta/delta_common.c | 13 ++--- 8914 src/liblzma/delta/delta_common.h | 13 ++--- 8915 src/liblzma/delta/delta_decoder.c | 13 ++--- 8916 src/liblzma/delta/delta_decoder.h | 13 ++--- 8917 src/liblzma/delta/delta_encoder.c | 13 ++--- 8918 src/liblzma/delta/delta_encoder.h | 13 ++--- 8919 src/liblzma/delta/delta_private.h | 13 ++--- 8920 src/liblzma/lz/Makefile.am | 13 ++--- 8921 src/liblzma/lz/lz_decoder.c | 17 ++----- 8922 src/liblzma/lz/lz_decoder.h | 17 ++----- 8923 src/liblzma/lz/lz_encoder.c | 17 ++----- 8924 src/liblzma/lz/lz_encoder.h | 17 ++----- 8925 src/liblzma/lz/lz_encoder_hash.h | 13 ++--- 8926 src/liblzma/lz/lz_encoder_mf.c | 17 ++----- 8927 src/liblzma/lzma/Makefile.am | 13 ++--- 8928 src/liblzma/lzma/fastpos.h | 17 ++----- 8929 src/liblzma/lzma/fastpos_tablegen.c | 17 ++----- 8930 src/liblzma/lzma/lzma2_decoder.c | 17 ++----- 8931 src/liblzma/lzma/lzma2_decoder.h | 17 ++----- 8932 src/liblzma/lzma/lzma2_encoder.c | 17 ++----- 8933 src/liblzma/lzma/lzma2_encoder.h | 17 ++----- 8934 src/liblzma/lzma/lzma_common.h | 17 ++----- 8935 src/liblzma/lzma/lzma_decoder.c | 17 ++----- 8936 src/liblzma/lzma/lzma_decoder.h | 17 ++----- 8937 src/liblzma/lzma/lzma_encoder.c | 17 ++----- 8938 src/liblzma/lzma/lzma_encoder.h | 17 ++----- 8939 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 13 ++--- 8940 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 ++--- 8941 src/liblzma/lzma/lzma_encoder_presets.c | 13 ++--- 8942 src/liblzma/lzma/lzma_encoder_private.h | 17 ++----- 8943 src/liblzma/rangecoder/Makefile.am | 13 ++--- 8944 src/liblzma/rangecoder/price.h | 13 ++--- 8945 src/liblzma/rangecoder/price_tablegen.c | 16 ++---- 8946 src/liblzma/rangecoder/range_common.h | 17 ++----- 8947 src/liblzma/rangecoder/range_decoder.h | 17 ++----- 8948 src/liblzma/rangecoder/range_encoder.h | 17 ++----- 8949 src/liblzma/simple/Makefile.am | 13 ++--- 8950 src/liblzma/simple/arm.c | 17 ++----- 8951 src/liblzma/simple/armthumb.c | 17 ++----- 8952 src/liblzma/simple/ia64.c | 17 ++----- 8953 src/liblzma/simple/powerpc.c | 17 ++----- 8954 src/liblzma/simple/simple_coder.c | 13 ++--- 8955 src/liblzma/simple/simple_coder.h | 14 ++---- 8956 src/liblzma/simple/simple_decoder.c | 13 ++--- 8957 src/liblzma/simple/simple_decoder.h | 13 ++--- 8958 src/liblzma/simple/simple_encoder.c | 13 ++--- 8959 src/liblzma/simple/simple_encoder.h | 13 ++--- 8960 src/liblzma/simple/simple_private.h | 13 ++--- 8961 src/liblzma/simple/sparc.c | 17 ++----- 8962 src/liblzma/simple/x86.c | 17 ++----- 8963 src/liblzma/subblock/Makefile.am | 13 ++--- 8964 src/liblzma/subblock/subblock_decoder.c | 13 ++--- 8965 src/liblzma/subblock/subblock_decoder.h | 13 ++--- 8966 src/liblzma/subblock/subblock_decoder_helper.c | 13 ++--- 8967 src/liblzma/subblock/subblock_decoder_helper.h | 13 ++--- 8968 src/liblzma/subblock/subblock_encoder.c | 13 ++--- 8969 src/liblzma/subblock/subblock_encoder.h | 13 ++--- 8970 src/scripts/Makefile.am | 7 +++ 8971 src/xz/Makefile.am | 13 ++--- 8972 src/xz/args.c | 13 ++--- 8973 src/xz/args.h | 13 ++--- 8974 src/xz/hardware.c | 13 ++--- 8975 src/xz/hardware.h | 13 ++--- 8976 src/xz/io.c | 13 ++--- 8977 src/xz/io.h | 13 ++--- 8978 src/xz/list.c | 13 ++--- 8979 src/xz/main.c | 13 ++--- 8980 src/xz/main.h | 13 ++--- 8981 src/xz/message.c | 13 ++--- 8982 src/xz/message.h | 13 ++--- 8983 src/xz/options.c | 13 ++--- 8984 src/xz/options.h | 13 ++--- 8985 src/xz/private.h | 13 ++--- 8986 src/xz/process.c | 13 ++--- 8987 src/xz/process.h | 13 ++--- 8988 src/xz/signals.c | 13 ++--- 8989 src/xz/signals.h | 13 ++--- 8990 src/xz/suffix.c | 13 ++--- 8991 src/xz/suffix.h | 13 ++--- 8992 src/xz/util.c | 13 ++--- 8993 src/xz/util.h | 13 ++--- 8994 src/xzdec/Makefile.am | 13 ++--- 8995 src/xzdec/xzdec.c | 13 ++--- 8996 tests/Makefile.am | 13 ++--- 8997 tests/bcj_test.c | 7 ++- 8998 tests/create_compress_files.c | 13 ++--- 8999 tests/test_block.c | 13 ++--- 9000 tests/test_block_header.c | 13 ++--- 9001 tests/test_check.c | 13 ++--- 9002 tests/test_compress.sh | 13 ++--- 9003 tests/test_files.sh | 13 ++--- 9004 tests/test_filter_flags.c | 13 ++--- 9005 tests/test_index.c | 13 ++--- 9006 tests/test_stream_flags.c | 13 ++--- 9007 tests/tests.h | 13 ++--- 9008 windows/common.rc | 2 +- 9009 206 files changed, 868 insertions(+), 2023 deletions(-) 9010 9011commit e79c42d854657ae7f75613bd80c1a35ff7c525cb 9012Author: Lasse Collin <lasse.collin@tukaani.org> 9013Date: 2009-04-10 11:17:02 +0300 9014 9015 Fix off-by-one in LZ decoder. 9016 9017 Fortunately, this bug had no security risk other than accepting 9018 some corrupt files as valid. 9019 9020 src/liblzma/lz/lz_decoder.h | 2 +- 9021 1 file changed, 1 insertion(+), 1 deletion(-) 9022 9023commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af 9024Author: Pavel Roskin <proski@gnu.org> 9025Date: 2009-03-31 12:15:01 -0400 9026 9027 Fix minor typos in README 9028 9029 README | 6 +++--- 9030 1 file changed, 3 insertions(+), 3 deletions(-) 9031 9032commit 9bab5336ebd765ec4e12252f416eefdf04eba750 9033Author: Lasse Collin <lasse.collin@tukaani.org> 9034Date: 2009-03-31 21:52:51 +0300 9035 9036 Add a note and work-around instructions to README about 9037 problems detecting a C99 compiler when some standard 9038 headers are missing. 9039 9040 README | 11 +++++++++++ 9041 1 file changed, 11 insertions(+) 9042 9043commit a0497ff7a06f9350349264fe9b52dfefc6d53ead 9044Author: Lasse Collin <lasse.collin@tukaani.org> 9045Date: 2009-03-18 16:54:38 +0200 9046 9047 Updated THANKS. 9048 9049 THANKS | 1 + 9050 1 file changed, 1 insertion(+) 9051 9052commit 390e69887fc5e0a108eb41203bed9acd100a3d76 9053Author: Lasse Collin <lasse.collin@tukaani.org> 9054Date: 2009-03-18 16:51:41 +0200 9055 9056 Fix wrong macro names in lc_cpucores.m4 and cpucores.h. 9057 Thanks to Bert Wesarg. 9058 9059 m4/lc_cpucores.m4 | 4 ++-- 9060 src/common/cpucores.h | 4 ++-- 9061 2 files changed, 4 insertions(+), 4 deletions(-) 9062 9063commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6 9064Author: Lasse Collin <lasse.collin@tukaani.org> 9065Date: 2009-03-01 09:03:08 +0200 9066 9067 Test for Linux-specific sysinfo() only on Linux systems. 9068 Some other systems have sysinfo() with different semantics. 9069 9070 m4/lc_physmem.m4 | 28 +++++++++++++++++++--------- 9071 1 file changed, 19 insertions(+), 9 deletions(-) 9072 9073commit cf751edfde3ad6e088dc18e0522d31ae38405933 9074Author: Lasse Collin <lasse.collin@tukaani.org> 9075Date: 2009-03-01 09:00:06 +0200 9076 9077 Added AC_CONFIG_MACRO_DIR to configure.ac. 9078 9079 configure.ac | 1 + 9080 1 file changed, 1 insertion(+) 9081 9082commit 63df14c57dee7c461717784287056688482a7eb9 9083Author: Lasse Collin <lasse.collin@tukaani.org> 9084Date: 2009-03-01 08:58:41 +0200 9085 9086 Fix the Autoconf test for getopt_long replacement. 9087 It was broken by e114502b2bc371e4a45449832cb69be036360722. 9088 9089 m4/getopt.m4 | 4 ++++ 9090 1 file changed, 4 insertions(+) 9091 9092commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f 9093Author: Lasse Collin <lasse.collin@tukaani.org> 9094Date: 2009-02-22 19:07:54 +0200 9095 9096 Add a rough explanation of --extreme to output of --help. 9097 9098 src/xz/message.c | 4 ++++ 9099 1 file changed, 4 insertions(+) 9100 9101commit 68bf7ac2984d3627369a240ef0491934d53f7899 9102Author: Lasse Collin <lasse.collin@tukaani.org> 9103Date: 2009-02-22 18:52:49 +0200 9104 9105 Fixes to progress message handling in xz: 9106 9107 - Don't use Windows-specific code on Windows. The old code 9108 required at least Windows 2000. Now it should work on 9109 Windows 98 and later, and maybe on Windows 95 too. 9110 9111 - Use less precision when showing estimated remaining time. 9112 9113 - Fix some small design issues. 9114 9115 src/xz/message.c | 483 +++++++++++++++++++++++++++++++++++-------------------- 9116 src/xz/message.h | 28 ++-- 9117 src/xz/process.c | 53 +++--- 9118 3 files changed, 351 insertions(+), 213 deletions(-) 9119 9120commit 47c2e21f82242f50f18713a27d644c2c94ab3fea 9121Author: Lasse Collin <lasse.collin@tukaani.org> 9122Date: 2009-02-18 13:00:10 +0200 9123 9124 Added files missing from the previous commit. 9125 9126 src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++ 9127 src/liblzma/common/Makefile.am | 7 ++++++- 9128 2 files changed, 39 insertions(+), 1 deletion(-) 9129 9130commit 489a3dbaa0465f04400804e956a1cfbbee3654a2 9131Author: Lasse Collin <lasse.collin@tukaani.org> 9132Date: 2009-02-17 10:43:00 +0200 9133 9134 Added lzma_easy_buffer_encode(). Splitted easy.c into small 9135 pieces to avoid unneeded dependencies making statically 9136 linked applications bigger than needed. 9137 9138 dos/Makefile | 6 +- 9139 src/liblzma/common/easy.c | 128 ----------------------------- 9140 src/liblzma/common/easy_buffer_encoder.c | 34 ++++++++ 9141 src/liblzma/common/easy_decoder_memusage.c | 31 +++++++ 9142 src/liblzma/common/easy_encoder.c | 87 ++++++++++++++++++++ 9143 src/liblzma/common/easy_encoder_memusage.c | 31 +++++++ 9144 src/liblzma/common/easy_preset.c | 34 ++++++++ 9145 src/liblzma/common/easy_preset.h | 39 +++++++++ 9146 windows/Makefile | 6 +- 9147 9 files changed, 266 insertions(+), 130 deletions(-) 9148 9149commit 7494816ab08d82f4d6409788825930c4e43cfd0d 9150Author: Lasse Collin <lasse.collin@tukaani.org> 9151Date: 2009-02-15 15:48:45 +0200 9152 9153 Make physmem.h work on old Windows versions. 9154 Thanks to Hongbo Ni for the original patch. 9155 9156 src/common/physmem.h | 31 +++++++++++++++++++++++++++---- 9157 1 file changed, 27 insertions(+), 4 deletions(-) 9158 9159commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0 9160Author: Lasse Collin <lasse.collin@tukaani.org> 9161Date: 2009-02-14 20:44:52 +0200 9162 9163 Fix microsecond vs. nanosecond confusion in my_time(). 9164 9165 src/xz/message.c | 2 +- 9166 1 file changed, 1 insertion(+), 1 deletion(-) 9167 9168commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7 9169Author: Lasse Collin <lasse.collin@tukaani.org> 9170Date: 2009-02-14 00:45:29 +0200 9171 9172 Cleanups to the code that detects the amount of RAM and 9173 the number of CPU cores. Added support for using sysinfo() 9174 on Linux systems whose libc lacks appropriate sysconf() 9175 support (at least dietlibc). The Autoconf macros were 9176 split into separate files, and CPU core count detection 9177 was moved from hardware.c to cpucores.h. The core count 9178 isn't used for anything real for now, so a problematic 9179 part in process.c was commented out. 9180 9181 configure.ac | 89 ++------------------------------------------------- 9182 m4/lc_cpucores.m4 | 57 +++++++++++++++++++++++++++++++++ 9183 m4/lc_physmem.m4 | 74 ++++++++++++++++++++++++++++++++++++++++++ 9184 src/common/cpucores.h | 52 ++++++++++++++++++++++++++++++ 9185 src/common/physmem.h | 21 +++++++----- 9186 src/xz/args.c | 4 +-- 9187 src/xz/hardware.c | 50 +++++++++++++---------------- 9188 src/xz/hardware.h | 11 +++++-- 9189 src/xz/message.c | 5 +-- 9190 src/xz/process.c | 2 ++ 9191 10 files changed, 235 insertions(+), 130 deletions(-) 9192 9193commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8 9194Author: Lasse Collin <lasse.collin@tukaani.org> 9195Date: 2009-02-13 18:23:50 +0200 9196 9197 Initial port to DOS using DJGPP. 9198 9199 dos/Makefile | 261 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 9200 dos/README | 113 ++++++++++++++++++++++++++ 9201 dos/config.h | 150 ++++++++++++++++++++++++++++++++++ 9202 3 files changed, 524 insertions(+) 9203 9204commit 0dae8b7751d09e9c5a482d5519daaee4800ce203 9205Author: Lasse Collin <lasse.collin@tukaani.org> 9206Date: 2009-02-13 18:02:05 +0200 9207 9208 Windows port: Take advantage of the version number macros. 9209 Now the version number is not duplicated in the 9210 Windows-specific files anymore. 9211 9212 windows/Makefile | 2 +- 9213 windows/common.rc | 16 ++++++++-------- 9214 windows/config.h | 15 --------------- 9215 3 files changed, 9 insertions(+), 24 deletions(-) 9216 9217commit fdbc0cfa71f7d660855098a609175ba384259529 9218Author: Lasse Collin <lasse.collin@tukaani.org> 9219Date: 2009-02-13 18:00:03 +0200 9220 9221 Changed how the version number is specified in various places. 9222 Now configure.ac will get the version number directly from 9223 src/liblzma/api/lzma/version.h. The intent is to reduce the 9224 number of places where the version number is duplicated. In 9225 future, support for displaying Git commit ID may be added too. 9226 9227 configure.ac | 3 +- 9228 src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++++-- 9229 src/liblzma/common/common.c | 2 +- 9230 src/xz/message.c | 2 +- 9231 src/xzdec/xzdec.c | 2 +- 9232 version.sh | 23 ++++++++++++++ 9233 6 files changed, 95 insertions(+), 7 deletions(-) 9234 9235commit 1d924e584b146136989f48c13fff2632896efb3d 9236Author: Lasse Collin <lasse.collin@tukaani.org> 9237Date: 2009-02-13 17:30:30 +0200 9238 9239 Fix handling of integrity check type in the xz command line tool. 9240 9241 src/xz/args.c | 9 ++++++++- 9242 src/xz/process.c | 4 ++++ 9243 2 files changed, 12 insertions(+), 1 deletion(-) 9244 9245commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8 9246Author: Lasse Collin <lasse.collin@tukaani.org> 9247Date: 2009-02-13 17:29:02 +0200 9248 9249 Improve support for DOS-like systems. 9250 Here DOS-like means DOS, Windows, and OS/2. 9251 9252 src/common/physmem.h | 12 ++++++++++++ 9253 src/common/sysdefs.h | 4 ++++ 9254 src/liblzma/check/crc32_x86.S | 6 +++--- 9255 src/liblzma/check/crc64_x86.S | 6 +++--- 9256 src/xz/args.c | 13 +++++-------- 9257 src/xz/io.c | 39 +++++++++++++++++++++++++-------------- 9258 src/xz/main.c | 23 +++++++++++++++++++++++ 9259 src/xz/message.c | 3 +++ 9260 src/xz/suffix.c | 5 +++++ 9261 src/xzdec/xzdec.c | 5 +++-- 9262 10 files changed, 86 insertions(+), 30 deletions(-) 9263 9264commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33 9265Author: Lasse Collin <lasse.collin@tukaani.org> 9266Date: 2009-02-11 20:02:32 +0200 9267 9268 Remove dead directories from .gitignore. 9269 9270 .gitignore | 2 -- 9271 1 file changed, 2 deletions(-) 9272 9273commit 1ec5b0027911d94cb6f98892cbc690f818d8a861 9274Author: Jim Meyering <jim@meyering.net> 9275Date: 2009-02-11 14:45:14 +0100 9276 9277 .gitignore vs. Makefiles 9278 9279 How about this for those of us who do srcdir builds? 9280 9281 .gitignore | 22 ++++++++++++++++++++++ 9282 1 file changed, 22 insertions(+) 9283 9284commit 154f5aec2de201c674841de4fcc9804c2a87af07 9285Author: Lasse Collin <lasse.collin@tukaani.org> 9286Date: 2009-02-10 21:48:35 +0200 9287 9288 Removed Makefile from .gitignore since not all Makefiles 9289 in the repository are generated by Autotools. People 9290 should do test builds in a separate build directory anyway. 9291 9292 .gitignore | 1 - 9293 1 file changed, 1 deletion(-) 9294 9295commit e605c2663691b0a4c307786aa368d124ea081daa 9296Author: Lasse Collin <lasse.collin@tukaani.org> 9297Date: 2009-02-10 21:48:05 +0200 9298 9299 Added resource files for the Windows build. 9300 9301 windows/Makefile | 37 ++++++++++++++++++++++--------------- 9302 windows/common.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 9303 windows/liblzma.rc | 5 +++++ 9304 windows/lzmadec.rc | 5 +++++ 9305 windows/xz.rc | 5 +++++ 9306 windows/xzdec.rc | 5 +++++ 9307 6 files changed, 88 insertions(+), 15 deletions(-) 9308 9309commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476 9310Author: Lasse Collin <lasse.collin@tukaani.org> 9311Date: 2009-02-09 14:54:31 +0200 9312 9313 Let the user specify custom CFLAGS on the make command 9314 line. Previously custom CFLAGS worked only when they were 9315 passed to configure. 9316 9317 configure.ac | 58 ++++++++++++++++++++++--------------------- 9318 src/liblzma/check/Makefile.am | 2 +- 9319 2 files changed, 31 insertions(+), 29 deletions(-) 9320 9321commit 53f7598998b1860a69c51243b5d2e34623c6bf60 9322Author: Lasse Collin <lasse.collin@tukaani.org> 9323Date: 2009-02-08 21:35:11 +0200 9324 9325 Fix aliasing issue in physmem.h. 9326 9327 src/common/physmem.h | 19 ++++++++++--------- 9328 1 file changed, 10 insertions(+), 9 deletions(-) 9329 9330commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6 9331Author: Lasse Collin <lasse.collin@tukaani.org> 9332Date: 2009-02-08 18:24:50 +0200 9333 9334 Add a separate internal function to initialize the CRC32 9335 table, which is used also by LZ encoder. This was needed 9336 because calling lzma_crc32() and ignoring the result is 9337 a no-op due to lzma_attr_pure. 9338 9339 src/liblzma/check/check.h | 1 + 9340 src/liblzma/check/crc32_small.c | 10 +++++++++- 9341 src/liblzma/lz/lz_encoder.c | 4 ++-- 9342 3 files changed, 12 insertions(+), 3 deletions(-) 9343 9344commit ae1ad9af54210c9a2be336b1316532da5071516c 9345Author: Lasse Collin <lasse.collin@tukaani.org> 9346Date: 2009-02-08 18:17:05 +0200 9347 9348 Make "xz --force" to write to terminal as the error 9349 message suggests. 9350 9351 src/xz/main.c | 2 +- 9352 1 file changed, 1 insertion(+), 1 deletion(-) 9353 9354commit 79e25eded48d2fe33f31441ab7a034f902e335f8 9355Author: Lasse Collin <lasse.collin@tukaani.org> 9356Date: 2009-02-08 10:37:50 +0200 9357 9358 Support both slash and backslash as path component 9359 separator on Windows when parsing argv[0]. 9360 9361 src/xz/args.c | 9 +++++++++ 9362 1 file changed, 9 insertions(+) 9363 9364commit bc7c7109cc4410055a888c1c70cbd1c9445c4361 9365Author: Lasse Collin <lasse.collin@tukaani.org> 9366Date: 2009-02-07 23:18:13 +0200 9367 9368 Omit the wrong and (even if corrected) nowadays useless rm 9369 from autogen.sh. 9370 9371 autogen.sh | 28 ---------------------------- 9372 1 file changed, 28 deletions(-) 9373 9374commit edfc2031e56f8a2ccda063f02936b3a848d88723 9375Author: Lasse Collin <lasse.collin@tukaani.org> 9376Date: 2009-02-07 21:41:52 +0200 9377 9378 Updated THANKS. 9379 9380 THANKS | 1 + 9381 1 file changed, 1 insertion(+) 9382 9383commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3 9384Author: Lasse Collin <lasse.collin@tukaani.org> 9385Date: 2009-02-07 21:17:07 +0200 9386 9387 Make it easy to choose if command line tools should be 9388 linked statically or dynamically against liblzma. The 9389 default is still to use static liblzma, but it can now 9390 be changed by passing --enable-dynamic to configure. 9391 Thanks to Mike Frysinger for the original patch. 9392 9393 Fixed a few minor bugs in configure.ac. 9394 9395 configure.ac | 39 +++++++++++++++++++++++++++++++++++++++ 9396 src/xz/Makefile.am | 8 +++----- 9397 src/xzdec/Makefile.am | 5 +++-- 9398 3 files changed, 45 insertions(+), 7 deletions(-) 9399 9400commit 3f86532407e4ace3debb62be16035e009b56ca36 9401Author: Mike Frysinger <vapier@gentoo.org> 9402Date: 2009-02-06 23:38:39 -0500 9403 9404 add gitignore files 9405 9406 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 9407 9408 .gitignore | 32 ++++++++++++++++++++++++++++++++ 9409 m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++ 9410 po/.gitignore | 12 ++++++++++++ 9411 3 files changed, 79 insertions(+) 9412 9413commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5 9414Author: Lasse Collin <lasse.collin@tukaani.org> 9415Date: 2009-02-07 17:07:52 +0200 9416 9417 Assume 32 MiB of RAM on unsupported operating systems like 9418 the comment in hardware.c already said. 9419 9420 src/xz/hardware.c | 2 +- 9421 1 file changed, 1 insertion(+), 1 deletion(-) 9422 9423commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618 9424Author: Lasse Collin <lasse.collin@tukaani.org> 9425Date: 2009-02-07 16:26:58 +0200 9426 9427 MinGW support: Don't build fastpos_tablegen.c as part of 9428 liblzma. Build both static and dynamic liblzma, and also 9429 static and dynamic versions of the command line tools. 9430 9431 windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++++-------------- 9432 windows/README | 10 ------ 9433 2 files changed, 69 insertions(+), 33 deletions(-) 9434 9435commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45 9436Author: Lasse Collin <lasse.collin@tukaani.org> 9437Date: 2009-02-07 15:55:47 +0200 9438 9439 Support LZMA_API_STATIC in assembler files to 9440 avoid __declspec(dllexport) equivalent. 9441 9442 src/liblzma/check/crc32_x86.S | 4 ++++ 9443 src/liblzma/check/crc64_x86.S | 2 ++ 9444 2 files changed, 6 insertions(+) 9445 9446commit 3306cf3883492720b3c34baa02f4eb4227d91c73 9447Author: Lasse Collin <lasse.collin@tukaani.org> 9448Date: 2009-02-07 11:11:50 +0200 9449 9450 Introduced LZMA_API_STATIC macro, which the applications 9451 need to #define when linking against static liblzma on 9452 platforms like Windows. Most developers don't need to 9453 care about LZMA_API_STATIC at all. 9454 9455 src/liblzma/api/lzma.h | 31 ++++++++++++++++++++++++------- 9456 src/liblzma/common/common.h | 2 +- 9457 2 files changed, 25 insertions(+), 8 deletions(-) 9458 9459commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b 9460Author: Lasse Collin <lasse.collin@tukaani.org> 9461Date: 2009-02-06 16:55:45 +0200 9462 9463 Another grammar fix 9464 9465 README | 2 +- 9466 1 file changed, 1 insertion(+), 1 deletion(-) 9467 9468commit fe5434f940f75fec3611cf9d9edf78c4da8ac760 9469Author: Lasse Collin <lasse.collin@tukaani.org> 9470Date: 2009-02-06 12:30:23 +0200 9471 9472 Grammar fix in README. 9473 9474 README | 2 +- 9475 1 file changed, 1 insertion(+), 1 deletion(-) 9476 9477commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245 9478Author: Lasse Collin <lasse.collin@tukaani.org> 9479Date: 2009-02-06 10:06:32 +0200 9480 9481 Some MSYS installations (e.g. MsysGit) don't include 9482 install.exe, so don't rely on it. 9483 9484 windows/Makefile | 12 +++++++----- 9485 windows/README | 11 ++++++----- 9486 2 files changed, 13 insertions(+), 10 deletions(-) 9487 9488commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31 9489Author: Lasse Collin <lasse.collin@tukaani.org> 9490Date: 2009-02-06 09:13:15 +0200 9491 9492 Recreated the BCJ test files for x86 and SPARC. The old files 9493 were linked with crt*.o, which are copyrighted, and thus the 9494 old test files were not in the public domain as a whole. They 9495 are freely distributable though, but it is better to be careful 9496 and avoid including any copyrighted pieces in the test files. 9497 The new files are just compiled and assembled object files, 9498 and thus don't contain any copyrighted code. 9499 9500 tests/bcj_test.c | 2 +- 9501 tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes 9502 tests/compress_prepared_bcj_x86 | Bin 4649 -> 1388 bytes 9503 tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes 9504 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 716 bytes 9505 5 files changed, 1 insertion(+), 1 deletion(-) 9506 9507commit 094b1b09a531f0d201ec81f2b07346a995fd80b9 9508Author: Lasse Collin <lasse.collin@tukaani.org> 9509Date: 2009-02-05 21:21:27 +0200 9510 9511 Add the "windows" directory to EXTRA_DIST. 9512 9513 Makefile.am | 1 + 9514 1 file changed, 1 insertion(+) 9515 9516commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49 9517Author: Lasse Collin <lasse.collin@tukaani.org> 9518Date: 2009-02-05 09:17:51 +0200 9519 9520 Added initial experimental makefile for use with MinGW. 9521 9522 windows/Makefile | 253 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 9523 windows/README | 164 ++++++++++++++++++++++++++++++++++++ 9524 windows/config.h | 180 +++++++++++++++++++++++++++++++++++++++ 9525 3 files changed, 597 insertions(+) 9526 9527commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9 9528Author: Lasse Collin <lasse.collin@tukaani.org> 9529Date: 2009-02-05 09:12:57 +0200 9530 9531 Various code cleanups the the xz command line tool. 9532 It now builds with MinGW. 9533 9534 src/common/physmem.h | 13 ++++ 9535 src/xz/Makefile.am | 2 + 9536 src/xz/args.h | 8 --- 9537 src/xz/hardware.h | 10 +-- 9538 src/xz/io.c | 93 +++++++++++++++++++------- 9539 src/xz/io.h | 12 ++-- 9540 src/xz/main.c | 132 ++----------------------------------- 9541 src/xz/main.h | 22 ------- 9542 src/xz/message.c | 65 ++++++++++++++++--- 9543 src/xz/message.h | 6 -- 9544 src/xz/options.h | 8 --- 9545 src/xz/private.h | 18 ++++-- 9546 src/xz/process.h | 10 +-- 9547 src/xz/signals.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++ 9548 src/xz/signals.h | 51 +++++++++++++++ 9549 src/xz/suffix.h | 5 -- 9550 src/xz/util.c | 5 +- 9551 src/xz/util.h | 5 -- 9552 18 files changed, 399 insertions(+), 246 deletions(-) 9553 9554commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe 9555Author: Lasse Collin <lasse.collin@tukaani.org> 9556Date: 2009-02-03 12:15:17 +0200 9557 9558 Another utime() fix. 9559 9560 src/xz/io.c | 9 +++++---- 9561 1 file changed, 5 insertions(+), 4 deletions(-) 9562 9563commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca 9564Author: Lasse Collin <lasse.collin@tukaani.org> 9565Date: 2009-02-03 10:41:11 +0200 9566 9567 Fix wrong filename argument for utime() and utimes(). 9568 This doesn't affect most systems, since most systems 9569 have better functions available. 9570 9571 src/xz/io.c | 4 ++-- 9572 1 file changed, 2 insertions(+), 2 deletions(-) 9573 9574commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302 9575Author: Lasse Collin <lasse.collin@tukaani.org> 9576Date: 2009-02-02 21:19:01 +0200 9577 9578 Updated the x86 assembler code: 9579 - Use call/ret pair to get instruction pointer for PIC. 9580 - Use PIC only if PIC or __PIC__ is #defined. 9581 - The code should work on MinGW and Darwin in addition 9582 to GNU/Linux and Solaris. 9583 9584 configure.ac | 6 ---- 9585 src/liblzma/check/crc32_x86.S | 84 ++++++++++++++++++++++++++++++++++++------- 9586 src/liblzma/check/crc64_x86.S | 82 ++++++++++++++++++++++++++++++++++++------ 9587 3 files changed, 144 insertions(+), 28 deletions(-) 9588 9589commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f 9590Author: Lasse Collin <lasse.collin@tukaani.org> 9591Date: 2009-02-02 20:14:03 +0200 9592 9593 Modify LZMA_API macro so that it works on Windows with 9594 other compilers than MinGW. This may hurt readability 9595 of the API headers slightly, but I don't know any 9596 better way to do this. 9597 9598 src/liblzma/api/lzma.h | 6 ++--- 9599 src/liblzma/api/lzma/base.h | 11 ++++---- 9600 src/liblzma/api/lzma/block.h | 22 ++++++++-------- 9601 src/liblzma/api/lzma/check.h | 10 ++++---- 9602 src/liblzma/api/lzma/container.h | 22 ++++++++-------- 9603 src/liblzma/api/lzma/filter.h | 28 ++++++++++----------- 9604 src/liblzma/api/lzma/index.h | 40 +++++++++++++++--------------- 9605 src/liblzma/api/lzma/index_hash.h | 10 ++++---- 9606 src/liblzma/api/lzma/lzma.h | 6 ++--- 9607 src/liblzma/api/lzma/stream_flags.h | 10 ++++---- 9608 src/liblzma/api/lzma/version.h | 4 +-- 9609 src/liblzma/api/lzma/vli.h | 6 ++--- 9610 src/liblzma/check/check.c | 4 +-- 9611 src/liblzma/check/crc32_fast.c | 2 +- 9612 src/liblzma/check/crc32_small.c | 2 +- 9613 src/liblzma/check/crc64_fast.c | 2 +- 9614 src/liblzma/check/crc64_small.c | 2 +- 9615 src/liblzma/common/alone_decoder.c | 2 +- 9616 src/liblzma/common/alone_encoder.c | 2 +- 9617 src/liblzma/common/auto_decoder.c | 2 +- 9618 src/liblzma/common/block_buffer_decoder.c | 2 +- 9619 src/liblzma/common/block_buffer_encoder.c | 4 +-- 9620 src/liblzma/common/block_decoder.c | 2 +- 9621 src/liblzma/common/block_encoder.c | 2 +- 9622 src/liblzma/common/block_header_decoder.c | 2 +- 9623 src/liblzma/common/block_header_encoder.c | 4 +-- 9624 src/liblzma/common/block_util.c | 6 ++--- 9625 src/liblzma/common/chunk_size.c | 2 +- 9626 src/liblzma/common/common.c | 16 ++++++------ 9627 src/liblzma/common/common.h | 2 +- 9628 src/liblzma/common/easy.c | 6 ++--- 9629 src/liblzma/common/filter_buffer_decoder.c | 2 +- 9630 src/liblzma/common/filter_buffer_encoder.c | 2 +- 9631 src/liblzma/common/filter_decoder.c | 8 +++--- 9632 src/liblzma/common/filter_encoder.c | 12 ++++----- 9633 src/liblzma/common/filter_flags_decoder.c | 2 +- 9634 src/liblzma/common/filter_flags_encoder.c | 4 +-- 9635 src/liblzma/common/index.c | 32 ++++++++++++------------ 9636 src/liblzma/common/index_decoder.c | 4 +-- 9637 src/liblzma/common/index_encoder.c | 4 +-- 9638 src/liblzma/common/index_hash.c | 10 ++++---- 9639 src/liblzma/common/stream_buffer_decoder.c | 2 +- 9640 src/liblzma/common/stream_buffer_encoder.c | 4 +-- 9641 src/liblzma/common/stream_decoder.c | 2 +- 9642 src/liblzma/common/stream_encoder.c | 2 +- 9643 src/liblzma/common/stream_flags_common.c | 2 +- 9644 src/liblzma/common/stream_flags_decoder.c | 4 +-- 9645 src/liblzma/common/stream_flags_encoder.c | 4 +-- 9646 src/liblzma/common/vli_decoder.c | 2 +- 9647 src/liblzma/common/vli_encoder.c | 2 +- 9648 src/liblzma/common/vli_size.c | 2 +- 9649 src/liblzma/lz/lz_encoder.c | 2 +- 9650 src/liblzma/lzma/lzma_encoder.c | 2 +- 9651 src/liblzma/lzma/lzma_encoder_presets.c | 2 +- 9652 54 files changed, 177 insertions(+), 176 deletions(-) 9653 9654commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65 9655Author: Lasse Collin <lasse.collin@tukaani.org> 9656Date: 2009-02-01 22:40:35 +0200 9657 9658 Fix a bug in lzma_block_buffer_decode(), although this 9659 function should be rewritten anyway. 9660 9661 src/liblzma/common/block_buffer_decoder.c | 8 ++++---- 9662 1 file changed, 4 insertions(+), 4 deletions(-) 9663 9664commit 55fd41431e61fb8178858283d636b6781e33e847 9665Author: Lasse Collin <lasse.collin@tukaani.org> 9666Date: 2009-02-01 22:39:07 +0200 9667 9668 Added initial version of raw buffer-to-buffer coding 9669 functions, and cleaned up filter.h API header a little. 9670 May be very buggy, not tested yet. 9671 9672 src/liblzma/api/lzma/filter.h | 84 +++++++++++++++++++------- 9673 src/liblzma/common/Makefile.am | 2 + 9674 src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++++ 9675 src/liblzma/common/filter_buffer_encoder.c | 61 +++++++++++++++++++ 9676 4 files changed, 221 insertions(+), 20 deletions(-) 9677 9678commit 3e54ecee5cad30a5ca361a88a99230407abc0699 9679Author: Lasse Collin <lasse.collin@tukaani.org> 9680Date: 2009-02-01 00:11:20 +0200 9681 9682 Fix missing newlines in xzdec.c. 9683 9684 src/xzdec/xzdec.c | 6 +++--- 9685 1 file changed, 3 insertions(+), 3 deletions(-) 9686 9687commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35 9688Author: Lasse Collin <lasse.collin@tukaani.org> 9689Date: 2009-02-01 00:10:07 +0200 9690 9691 Use __cdecl also for function pointers in liblzma API when 9692 on Windows. 9693 9694 src/liblzma/api/lzma.h | 18 +++++++++++------- 9695 src/liblzma/api/lzma/base.h | 4 ++-- 9696 src/liblzma/common/common.h | 18 +++++++----------- 9697 3 files changed, 20 insertions(+), 20 deletions(-) 9698 9699commit 6a2eb54092fc625d59921a607ff68cd1a90aa898 9700Author: Lasse Collin <lasse.collin@tukaani.org> 9701Date: 2009-01-31 11:01:48 +0200 9702 9703 Add LZMA_API to liblzma API headers. It's useful at least 9704 on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h 9705 has to be #included separately where needed. 9706 9707 src/common/sysdefs.h | 2 -- 9708 src/liblzma/api/lzma.h | 17 ++++++++++++++ 9709 src/liblzma/api/lzma/base.h | 10 ++++---- 9710 src/liblzma/api/lzma/block.h | 25 +++++++++++--------- 9711 src/liblzma/api/lzma/check.h | 12 ++++++---- 9712 src/liblzma/api/lzma/container.h | 23 +++++++++--------- 9713 src/liblzma/api/lzma/filter.h | 24 +++++++++---------- 9714 src/liblzma/api/lzma/index.h | 47 +++++++++++++++++++++---------------- 9715 src/liblzma/api/lzma/index_hash.h | 11 +++++---- 9716 src/liblzma/api/lzma/lzma.h | 8 ++++--- 9717 src/liblzma/api/lzma/stream_flags.h | 10 ++++---- 9718 src/liblzma/api/lzma/version.h | 4 ++-- 9719 src/liblzma/api/lzma/vli.h | 10 ++++---- 9720 src/liblzma/common/common.h | 13 ++++++++-- 9721 src/xz/private.h | 1 + 9722 src/xzdec/xzdec.c | 1 + 9723 tests/tests.h | 1 + 9724 17 files changed, 131 insertions(+), 88 deletions(-) 9725 9726commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b 9727Author: Lasse Collin <lasse.collin@tukaani.org> 9728Date: 2009-01-31 10:13:09 +0200 9729 9730 Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. 9731 9732 src/xzdec/xzdec.c | 4 ++-- 9733 1 file changed, 2 insertions(+), 2 deletions(-) 9734 9735commit 2dbdc5befb33c3703e4609809101047c67caf343 9736Author: Lasse Collin <lasse.collin@tukaani.org> 9737Date: 2009-01-31 10:02:52 +0200 9738 9739 Fix two lines in lzma.h on which the # wasn't at the 9740 beginning of the line. 9741 9742 src/liblzma/api/lzma.h | 4 ++-- 9743 1 file changed, 2 insertions(+), 2 deletions(-) 9744 9745commit 4ab760109106dc04f39dd81c97d50f528d1b51c1 9746Author: Lasse Collin <lasse.collin@tukaani.org> 9747Date: 2009-01-31 09:55:05 +0200 9748 9749 Add support for using liblzma headers in MSVC, which has no 9750 stdint.h or inttypes.h. 9751 9752 src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++++----------------- 9753 1 file changed, 46 insertions(+), 24 deletions(-) 9754 9755commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9 9756Author: Lasse Collin <lasse.collin@tukaani.org> 9757Date: 2009-01-31 08:49:54 +0200 9758 9759 Fix # -> ## in a macro in lzma.h. 9760 9761 src/liblzma/api/lzma.h | 2 +- 9762 1 file changed, 1 insertion(+), 1 deletion(-) 9763 9764commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208 9765Author: Lasse Collin <lasse.collin@tukaani.org> 9766Date: 2009-01-30 18:50:16 +0200 9767 9768 Updated README. 9769 9770 README | 30 ++++++++++++++++++++---------- 9771 1 file changed, 20 insertions(+), 10 deletions(-) 9772 9773commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb 9774Author: Lasse Collin <lasse.collin@tukaani.org> 9775Date: 2009-01-30 00:29:58 +0200 9776 9777 Remove dangling crc64_init.c. 9778 9779 src/liblzma/check/crc64_init.c | 55 ------------------------------------------ 9780 1 file changed, 55 deletions(-) 9781 9782commit 982da7ed314398420c38bf154a8f759d5f18b480 9783Author: Lasse Collin <lasse.collin@tukaani.org> 9784Date: 2009-01-28 17:16:38 +0200 9785 9786 The .xz file format specification version 1.0.0 is now 9787 officially released. The format has been technically the same 9788 since 2008-11-19, but now that it is frozen, people can start 9789 using it without a fear that the format will break. 9790 9791 doc/file-format.txt | 84 +++++++++++++++++++++++++++++++---------------------- 9792 1 file changed, 49 insertions(+), 35 deletions(-) 9793 9794commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f 9795Author: Lasse Collin <lasse.collin@tukaani.org> 9796Date: 2009-01-28 08:45:59 +0200 9797 9798 Updated THANKS. 9799 9800 THANKS | 1 + 9801 1 file changed, 1 insertion(+) 9802 9803commit 3241317093595db9f79104faafe93cb989c9f858 9804Author: Lasse Collin <lasse.collin@tukaani.org> 9805Date: 2009-01-28 08:43:26 +0200 9806 9807 Fix uninitialized variables in alone_decoder.c. This bug was 9808 triggered by the previous commit, since these variables were 9809 not used by anything before support for a preset dictionary. 9810 9811 src/liblzma/common/alone_decoder.c | 2 ++ 9812 1 file changed, 2 insertions(+) 9813 9814commit f76e39cf930f888d460b443d18f977ebedea8b2a 9815Author: Lasse Collin <lasse.collin@tukaani.org> 9816Date: 2009-01-27 18:36:05 +0200 9817 9818 Added initial support for preset dictionary for raw LZMA1 9819 and LZMA2. It is not supported by the .xz format or the xz 9820 command line tool yet. 9821 9822 src/liblzma/lz/lz_decoder.c | 35 +++++++++++++++++++++++++---------- 9823 src/liblzma/lz/lz_decoder.h | 9 ++++++++- 9824 src/liblzma/lz/lz_encoder.c | 18 ++++++++++++++++-- 9825 src/liblzma/lzma/lzma2_decoder.c | 9 ++++++--- 9826 src/liblzma/lzma/lzma2_encoder.c | 12 +++++++----- 9827 src/liblzma/lzma/lzma_decoder.c | 10 ++++++---- 9828 src/liblzma/lzma/lzma_decoder.h | 2 +- 9829 src/liblzma/lzma/lzma_encoder.c | 9 ++++++++- 9830 8 files changed, 77 insertions(+), 27 deletions(-) 9831 9832commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3 9833Author: Lasse Collin <lasse.collin@tukaani.org> 9834Date: 2009-01-26 20:09:17 +0200 9835 9836 Regenerate the CRC tables without trailing blanks. 9837 9838 src/liblzma/check/crc32_table_be.h | 1008 +++++++++++++++++------------------ 9839 src/liblzma/check/crc32_table_le.h | 1008 +++++++++++++++++------------------ 9840 src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------ 9841 src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------ 9842 4 files changed, 2024 insertions(+), 2024 deletions(-) 9843 9844commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2 9845Author: Jim Meyering <meyering@redhat.com> 9846Date: 2009-01-19 21:37:16 +0100 9847 9848 remove trailing blanks from all but .xz files 9849 9850 debug/known_sizes.c | 2 +- 9851 extra/scanlzma/scanlzma.c | 5 ++--- 9852 src/liblzma/check/crc32_tablegen.c | 2 +- 9853 src/liblzma/check/crc64_tablegen.c | 2 +- 9854 src/scripts/lzdiff.1 | 4 ++-- 9855 src/scripts/lzmore.1 | 6 +++--- 9856 tests/test_compress.sh | 4 ++-- 9857 7 files changed, 12 insertions(+), 13 deletions(-) 9858 9859commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5 9860Author: Lasse Collin <lasse.collin@tukaani.org> 9861Date: 2009-01-26 14:34:10 +0200 9862 9863 Add lzma_block_buffer_decode(). 9864 9865 src/liblzma/api/lzma/block.h | 41 +++++++++++++++ 9866 src/liblzma/common/Makefile.am | 1 + 9867 src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++++ 9868 3 files changed, 129 insertions(+) 9869 9870commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d 9871Author: Lasse Collin <lasse.collin@tukaani.org> 9872Date: 2009-01-26 14:33:28 +0200 9873 9874 Add more sanity checks to lzma_stream_buffer_decode(). 9875 9876 src/liblzma/common/stream_buffer_decoder.c | 7 +++++++ 9877 1 file changed, 7 insertions(+) 9878 9879commit c129748675a5daa8838df92bde32cc04f6ce61ba 9880Author: Lasse Collin <lasse.collin@tukaani.org> 9881Date: 2009-01-26 14:33:13 +0200 9882 9883 Avoid hardcoded constant in easy.c. 9884 9885 src/liblzma/common/easy.c | 2 +- 9886 1 file changed, 1 insertion(+), 1 deletion(-) 9887 9888commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6 9889Author: Lasse Collin <lasse.collin@tukaani.org> 9890Date: 2009-01-26 13:06:49 +0200 9891 9892 Tiny bit better sanity check in block_util.c 9893 9894 src/liblzma/common/block_util.c | 2 +- 9895 1 file changed, 1 insertion(+), 1 deletion(-) 9896 9897commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7 9898Author: Lasse Collin <lasse.collin@tukaani.org> 9899Date: 2009-01-25 01:35:56 +0200 9900 9901 Fix a dumb bug in Block decoder, which made it return 9902 LZMA_DATA_ERROR with valid data. The bug was added in 9903 e114502b2bc371e4a45449832cb69be036360722. 9904 9905 src/liblzma/common/block_decoder.c | 6 +++--- 9906 1 file changed, 3 insertions(+), 3 deletions(-) 9907 9908commit c81f13ff29271de7293f8af3d81848b1dcae3d19 9909Author: Lasse Collin <lasse.collin@tukaani.org> 9910Date: 2009-01-23 22:27:50 +0200 9911 9912 Added lzma_stream_buffer_decode() and made minor cleanups. 9913 9914 src/liblzma/api/lzma/block.h | 3 +- 9915 src/liblzma/api/lzma/container.h | 51 ++++++++++++++++- 9916 src/liblzma/common/Makefile.am | 1 + 9917 src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++++ 9918 4 files changed, 144 insertions(+), 2 deletions(-) 9919 9920commit 0b3318661ce749550b8531dfd469639a08930391 9921Author: Lasse Collin <lasse.collin@tukaani.org> 9922Date: 2009-01-22 12:53:33 +0200 9923 9924 Fix a comment. 9925 9926 src/liblzma/common/common.h | 2 +- 9927 1 file changed, 1 insertion(+), 1 deletion(-) 9928 9929commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec 9930Author: Lasse Collin <lasse.collin@tukaani.org> 9931Date: 2009-01-20 16:37:27 +0200 9932 9933 Add some single-call buffer-to-buffer coding functions. 9934 9935 src/liblzma/api/lzma/block.h | 57 ++++++ 9936 src/liblzma/api/lzma/container.h | 56 ++++++ 9937 src/liblzma/api/lzma/index.h | 70 ++++++- 9938 src/liblzma/common/Makefile.am | 2 + 9939 src/liblzma/common/block_buffer_encoder.c | 305 +++++++++++++++++++++++++++++ 9940 src/liblzma/common/index_decoder.c | 83 ++++++-- 9941 src/liblzma/common/index_encoder.c | 59 +++++- 9942 src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++ 9943 tests/test_index.c | 24 +++ 9944 9 files changed, 768 insertions(+), 26 deletions(-) 9945 9946commit d8b58d099340f8f4007b24b211ee41a7210c061c 9947Author: Lasse Collin <lasse.collin@tukaani.org> 9948Date: 2009-01-20 13:45:41 +0200 9949 9950 Block encoder cleanups 9951 9952 src/liblzma/common/block_encoder.c | 28 +++++++--------------------- 9953 src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++ 9954 2 files changed, 32 insertions(+), 21 deletions(-) 9955 9956commit 0c09810cb3635cb575cb54e694d41523e7d0a335 9957Author: Lasse Collin <lasse.collin@tukaani.org> 9958Date: 2009-01-20 10:35:15 +0200 9959 9960 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h. 9961 9962 src/liblzma/common/common.c | 24 ++++++++---------------- 9963 1 file changed, 8 insertions(+), 16 deletions(-) 9964 9965commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00 9966Author: Lasse Collin <lasse.collin@tukaani.org> 9967Date: 2009-01-19 22:53:18 +0200 9968 9969 Fix handling of non-fatal errors in lzma_code(). 9970 9971 src/liblzma/common/common.c | 9 ++++++++- 9972 1 file changed, 8 insertions(+), 1 deletion(-) 9973 9974commit 4810b6bc25087be872960b9dd1d11ff07735dc88 9975Author: Lasse Collin <lasse.collin@tukaani.org> 9976Date: 2009-01-19 14:00:33 +0200 9977 9978 Move some LZMA2 constants to lzma2_encoder.h so that they 9979 can be used outside lzma2_encoder.c. 9980 9981 src/liblzma/lzma/lzma2_encoder.c | 13 ------------- 9982 src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++ 9983 src/liblzma/lzma/lzma_encoder.c | 3 ++- 9984 3 files changed, 16 insertions(+), 14 deletions(-) 9985 9986commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4 9987Author: Lasse Collin <lasse.collin@tukaani.org> 9988Date: 2009-01-19 13:52:36 +0200 9989 9990 Remove dead code. 9991 9992 src/liblzma/lzma/lzma_encoder.h | 8 -------- 9993 1 file changed, 8 deletions(-) 9994 9995commit 128586213f77c9bd82b7e9a62927f6d0c3769d85 9996Author: Lasse Collin <lasse.collin@tukaani.org> 9997Date: 2009-01-17 14:24:25 +0200 9998 9999 Beta was supposed to be API stable but I had forgot to rename 10000 lzma_memlimit_encoder and lzma_memlimit_decoder to 10001 lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-( 10002 Now it is fixed. Hopefully it doesn't cause too much trouble 10003 to those who already thought API is stable. 10004 10005 src/liblzma/api/lzma/filter.h | 4 ++-- 10006 src/liblzma/common/easy.c | 4 ++-- 10007 src/liblzma/common/filter_common.c | 2 +- 10008 src/liblzma/common/filter_common.h | 2 +- 10009 src/liblzma/common/filter_decoder.c | 4 ++-- 10010 src/liblzma/common/filter_encoder.c | 4 ++-- 10011 src/liblzma/common/stream_decoder.c | 2 +- 10012 src/xz/process.c | 6 +++--- 10013 8 files changed, 14 insertions(+), 14 deletions(-) 10014 10015commit b056379490be5c584c264a967f0540041a163a1e 10016Author: Lasse Collin <lasse.collin@tukaani.org> 10017Date: 2009-01-15 14:29:22 +0200 10018 10019 Updated THANKS. 10020 10021 THANKS | 1 + 10022 1 file changed, 1 insertion(+) 10023 10024commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89 10025Author: Lasse Collin <lasse.collin@tukaani.org> 10026Date: 2009-01-15 14:27:32 +0200 10027 10028 Fixed a bug in 7z2lzma.bash to make it work with .7z files 10029 that use something else than 2^n as the dictionary size. 10030 Thanks to Dan Shechter for the bug report. 10031 10032 extra/7z2lzma/7z2lzma.bash | 47 +++++++++++++++++++++++----------------------- 10033 1 file changed, 24 insertions(+), 23 deletions(-) 10034 10035commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2 10036Author: Lasse Collin <lasse.collin@tukaani.org> 10037Date: 2009-01-07 18:41:15 +0200 10038 10039 Use pthread_sigmask() instead of sigprocmask() when pthreads 10040 are enabled. 10041 10042 src/common/mythread.h | 6 ++++++ 10043 src/xz/main.c | 4 ++-- 10044 src/xz/private.h | 1 + 10045 3 files changed, 9 insertions(+), 2 deletions(-) 10046 10047commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9 10048Author: Lasse Collin <lasse.collin@tukaani.org> 10049Date: 2008-12-31 20:01:00 +0200 10050 10051 Bumped version to 4.999.8beta right after the release 10052 of 4.999.7beta. 10053 10054 configure.ac | 2 +- 10055 src/liblzma/api/lzma/version.h | 2 +- 10056 2 files changed, 2 insertions(+), 2 deletions(-) 10057 10058commit 061748f5932719643cda73383db715167d543c22 10059Author: Lasse Collin <lasse.collin@tukaani.org> 10060Date: 2008-12-31 18:59:02 +0200 10061 10062 Disable Subblock filter from test_compress.sh since it is 10063 disabled by default in configure.ac. 10064 10065 tests/test_compress.sh | 22 +++++++++++++--------- 10066 1 file changed, 13 insertions(+), 9 deletions(-) 10067 10068commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78 10069Author: Lasse Collin <lasse.collin@tukaani.org> 10070Date: 2008-12-31 17:44:20 +0200 10071 10072 Disable both Subblock encoder and decoder my default, 10073 since they are not finished and may have security issues too. 10074 10075 configure.ac | 2 +- 10076 1 file changed, 1 insertion(+), 1 deletion(-) 10077 10078commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88 10079Author: Lasse Collin <lasse.collin@tukaani.org> 10080Date: 2008-12-31 17:42:50 +0200 10081 10082 Update some files in debug directory. 10083 10084 debug/full_flush.c | 2 -- 10085 debug/memusage.c | 2 -- 10086 debug/sync_flush.c | 2 -- 10087 3 files changed, 6 deletions(-) 10088 10089commit d1d17a40d33a9682424ca37282813492f2cba6d0 10090Author: Lasse Collin <lasse.collin@tukaani.org> 10091Date: 2008-12-31 17:41:46 +0200 10092 10093 Prepare for 4.999.7beta release. 10094 10095 AUTHORS | 4 ++-- 10096 README | 34 +++++++++++++++++----------------- 10097 configure.ac | 4 ++-- 10098 src/liblzma/api/lzma/version.h | 2 +- 10099 4 files changed, 22 insertions(+), 22 deletions(-) 10100 10101commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3 10102Author: Lasse Collin <lasse.collin@tukaani.org> 10103Date: 2008-12-31 17:15:03 +0200 10104 10105 Cleaned up some comments in the API headers. 10106 10107 src/liblzma/api/lzma/check.h | 23 +++++++++++------------ 10108 src/liblzma/api/lzma/container.h | 2 +- 10109 src/liblzma/api/lzma/version.h | 4 +++- 10110 3 files changed, 15 insertions(+), 14 deletions(-) 10111 10112commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40 10113Author: Lasse Collin <lasse.collin@tukaani.org> 10114Date: 2008-12-31 16:29:39 +0200 10115 10116 Renamed lzma_options_simple to lzma_options_bcj in the API. 10117 The internal implementation is still using the name "simple". 10118 It may need some cleanups, so I look at it later. 10119 10120 src/liblzma/api/Makefile.am | 2 +- 10121 src/liblzma/api/lzma.h | 2 +- 10122 src/liblzma/api/lzma/bcj.h | 94 +++++++++++++++++++++++++++++++++++++ 10123 src/liblzma/api/lzma/simple.h | 94 ------------------------------------- 10124 src/liblzma/simple/simple_coder.c | 2 +- 10125 src/liblzma/simple/simple_decoder.c | 4 +- 10126 src/liblzma/simple/simple_encoder.c | 4 +- 10127 tests/test_filter_flags.c | 8 ++-- 10128 8 files changed, 105 insertions(+), 105 deletions(-) 10129 10130commit 7eea8bec3abfed883efba66264a1452a1c04f6b0 10131Author: Lasse Collin <lasse.collin@tukaani.org> 10132Date: 2008-12-31 00:57:27 +0200 10133 10134 Fixed missing quoting in configure.ac. 10135 10136 configure.ac | 38 +++++++++++++++++++------------------- 10137 1 file changed, 19 insertions(+), 19 deletions(-) 10138 10139commit 28e75f7086dbe9501d926c370375c69dfb1236ce 10140Author: Lasse Collin <lasse.collin@tukaani.org> 10141Date: 2008-12-31 00:48:23 +0200 10142 10143 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which 10144 should have been in the previous commit. 10145 10146 src/liblzma/Makefile.am | 4 ++-- 10147 1 file changed, 2 insertions(+), 2 deletions(-) 10148 10149commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90 10150Author: Lasse Collin <lasse.collin@tukaani.org> 10151Date: 2008-12-31 00:30:49 +0200 10152 10153 Remove lzma_init() and other init functions from liblzma API. 10154 Half of developers were already forgetting to use these 10155 functions, which could have caused total breakage in some future 10156 liblzma version or even now if --enable-small was used. Now 10157 liblzma uses pthread_once() to do the initializations unless 10158 it has been built with --disable-threads which make these 10159 initializations thread-unsafe. 10160 10161 When --enable-small isn't used, liblzma currently gets needlessly 10162 linked against libpthread (on systems that have it). While it is 10163 stupid for now, liblzma will need threads in future anyway, so 10164 this stupidity will be temporary only. 10165 10166 When --enable-small is used, different code CRC32 and CRC64 is 10167 now used than without --enable-small. This made the resulting 10168 binary slightly smaller, but the main reason was to clean it up 10169 and to handle the lack of lzma_init_check(). 10170 10171 The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not 10172 sure if it works correctly and portably for static linking 10173 (Libs.private includes -pthread or other operating system 10174 specific flags). Hopefully someone complains if it is bad. 10175 10176 lzma_rc_prices[] is now included as a precomputed array even 10177 with --enable-small. It's just 128 bytes now that it uses uint8_t 10178 instead of uint32_t. Smaller array seemed to be at least as fast 10179 as the more bloated uint32_t array on x86; hopefully it's not bad 10180 on other architectures. 10181 10182 configure.ac | 29 ++++++++-- 10183 src/common/mythread.h | 34 ++++++++++++ 10184 src/liblzma/api/Makefile.am | 1 - 10185 src/liblzma/api/lzma.h | 1 - 10186 src/liblzma/api/lzma/init.h | 85 ----------------------------- 10187 src/liblzma/check/Makefile.am | 29 ++++------ 10188 src/liblzma/check/check.c | 10 ++-- 10189 src/liblzma/check/check.h | 25 ++++----- 10190 src/liblzma/check/check_init.c | 37 ------------- 10191 src/liblzma/check/crc32.c | 88 ------------------------------- 10192 src/liblzma/check/crc32_fast.c | 88 +++++++++++++++++++++++++++++++ 10193 src/liblzma/check/crc32_init.c | 55 ------------------- 10194 src/liblzma/check/crc32_small.c | 54 +++++++++++++++++++ 10195 src/liblzma/check/crc32_tablegen.c | 55 ++++++++++++++++--- 10196 src/liblzma/check/crc64.c | 75 -------------------------- 10197 src/liblzma/check/crc64_fast.c | 75 ++++++++++++++++++++++++++ 10198 src/liblzma/check/crc64_small.c | 54 +++++++++++++++++++ 10199 src/liblzma/check/crc64_tablegen.c | 55 ++++++++++++++++--- 10200 src/liblzma/common/Makefile.am | 3 -- 10201 src/liblzma/common/common.h | 1 + 10202 src/liblzma/common/init.c | 39 -------------- 10203 src/liblzma/common/init_decoder.c | 31 ----------- 10204 src/liblzma/common/init_encoder.c | 40 -------------- 10205 src/liblzma/liblzma.pc.in | 12 +++++ 10206 src/liblzma/lz/lz_encoder.c | 6 +++ 10207 src/liblzma/lzma.pc.in | 11 ---- 10208 src/liblzma/rangecoder/Makefile.am | 8 +-- 10209 src/liblzma/rangecoder/price.h | 16 +----- 10210 src/liblzma/rangecoder/price_table.c | 2 +- 10211 src/liblzma/rangecoder/price_table_init.c | 55 ------------------- 10212 src/liblzma/rangecoder/price_tablegen.c | 51 +++++++++++++++--- 10213 src/xz/Makefile.am | 5 +- 10214 src/xz/main.c | 3 -- 10215 src/xzdec/xzdec.c | 3 -- 10216 tests/test_block_header.c | 1 - 10217 tests/test_check.c | 2 - 10218 tests/test_filter_flags.c | 2 - 10219 tests/test_index.c | 2 - 10220 tests/test_stream_flags.c | 2 - 10221 tests/tests.h | 2 +- 10222 40 files changed, 519 insertions(+), 628 deletions(-) 10223 10224commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2 10225Author: Lasse Collin <lasse.collin@tukaani.org> 10226Date: 2008-12-27 19:40:31 +0200 10227 10228 Use 28 MiB as memory usage limit for encoding in test_compress.sh. 10229 10230 tests/test_compress.sh | 2 +- 10231 1 file changed, 1 insertion(+), 1 deletion(-) 10232 10233commit 050eb14d29e2537c014662e83599fd8a77f13c45 10234Author: Lasse Collin <lasse.collin@tukaani.org> 10235Date: 2008-12-27 19:32:20 +0200 10236 10237 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680 10238 that was related to LZMA_MODE_FAST. The original code is slightly 10239 faster although it compresses slightly worse. But since it is fast 10240 mode, it is better to select the faster version. 10241 10242 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++--------------- 10243 1 file changed, 8 insertions(+), 15 deletions(-) 10244 10245commit 4820f10d0f173864f6a2ea7479663b509ac53358 10246Author: Lasse Collin <lasse.collin@tukaani.org> 10247Date: 2008-12-27 19:30:19 +0200 10248 10249 Some xz command line tool improvements. 10250 10251 src/xz/args.c | 23 +++++----- 10252 src/xz/message.c | 4 +- 10253 src/xz/options.c | 2 +- 10254 src/xz/process.c | 133 +++++++++++++++++++++++++++++++++++++++++++------------ 10255 src/xz/process.h | 3 ++ 10256 5 files changed, 121 insertions(+), 44 deletions(-) 10257 10258commit e33194e79d8f5ce07cb4aca909b324ae75098f7e 10259Author: Lasse Collin <lasse.collin@tukaani.org> 10260Date: 2008-12-27 19:27:49 +0200 10261 10262 Bunch of liblzma tweaks, including some API changes. 10263 The API and ABI should now be very close to stable, 10264 although the code behind it isn't yet. 10265 10266 src/liblzma/api/lzma.h | 8 ++-- 10267 src/liblzma/api/lzma/block.h | 63 ++++++++++++++++++++++++- 10268 src/liblzma/api/lzma/container.h | 76 +++++++++++++++---------------- 10269 src/liblzma/api/lzma/lzma.h | 41 +++++++++-------- 10270 src/liblzma/common/alone_decoder.c | 36 +++++++-------- 10271 src/liblzma/common/alone_encoder.c | 22 ++++----- 10272 src/liblzma/common/auto_decoder.c | 2 +- 10273 src/liblzma/common/block_decoder.c | 54 +++++++++++----------- 10274 src/liblzma/common/block_decoder.h | 4 +- 10275 src/liblzma/common/block_encoder.c | 37 ++++++++------- 10276 src/liblzma/common/block_encoder.h | 4 +- 10277 src/liblzma/common/block_header_decoder.c | 41 +++++++++-------- 10278 src/liblzma/common/block_header_encoder.c | 51 ++++++++++----------- 10279 src/liblzma/common/block_util.c | 3 +- 10280 src/liblzma/common/easy.c | 45 ++++++------------ 10281 src/liblzma/common/stream_decoder.c | 3 +- 10282 src/liblzma/common/stream_decoder.h | 2 +- 10283 src/liblzma/common/stream_encoder.c | 3 +- 10284 src/liblzma/common/stream_encoder.h | 2 +- 10285 src/liblzma/common/stream_flags_decoder.c | 2 +- 10286 src/liblzma/common/stream_flags_encoder.c | 2 +- 10287 src/liblzma/lzma/lzma_encoder.c | 2 +- 10288 src/liblzma/lzma/lzma_encoder_presets.c | 53 +++++++-------------- 10289 23 files changed, 294 insertions(+), 262 deletions(-) 10290 10291commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074 10292Author: Lasse Collin <lasse.collin@tukaani.org> 10293Date: 2008-12-18 13:42:52 +0200 10294 10295 Updated Makefile.am that was missing from the previous commit. 10296 10297 src/liblzma/common/Makefile.am | 1 - 10298 1 file changed, 1 deletion(-) 10299 10300commit 634636fa56ccee6e744f78b0abed76c8940f2f8f 10301Author: Lasse Collin <lasse.collin@tukaani.org> 10302Date: 2008-12-17 21:49:53 +0200 10303 10304 Remove the alignment functions for now. Maybe they will 10305 be added back in some form later, but the current version 10306 wasn't modular, so it would need fixing anyway. 10307 10308 src/liblzma/api/Makefile.am | 1 - 10309 src/liblzma/api/lzma.h | 1 - 10310 src/liblzma/api/lzma/alignment.h | 60 --------------------- 10311 src/liblzma/common/alignment.c | 114 --------------------------------------- 10312 4 files changed, 176 deletions(-) 10313 10314commit 4fed98417d1687f5eccccb42a133fde3ec81216a 10315Author: Lasse Collin <lasse.collin@tukaani.org> 10316Date: 2008-12-17 20:11:23 +0200 10317 10318 xz message handling improvements 10319 10320 src/xz/message.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 10321 src/xz/message.h | 7 +++- 10322 src/xz/process.c | 28 ++++++++++++- 10323 3 files changed, 146 insertions(+), 14 deletions(-) 10324 10325commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d 10326Author: Lasse Collin <lasse.collin@tukaani.org> 10327Date: 2008-12-15 23:26:43 +0200 10328 10329 Fix a dumb bug in .lzma decoder which was introduced in 10330 the previous commit. (Probably the previous commit has 10331 other bugs too, it wasn't tested.) 10332 10333 src/liblzma/common/alone_decoder.c | 29 ++++++++++++++--------------- 10334 1 file changed, 14 insertions(+), 15 deletions(-) 10335 10336commit 671a5adf1e844bfdd6fd327016c3c28694493158 10337Author: Lasse Collin <lasse.collin@tukaani.org> 10338Date: 2008-12-15 19:39:13 +0200 10339 10340 Bunch of liblzma API cleanups and fixes. 10341 10342 src/liblzma/api/lzma.h | 122 +++++++++++---------- 10343 src/liblzma/api/lzma/base.h | 174 ++++++++++++++++++----------- 10344 src/liblzma/api/lzma/block.h | 211 +++++++++++++++++++++++------------- 10345 src/liblzma/api/lzma/check.h | 28 ++--- 10346 src/liblzma/api/lzma/container.h | 155 +++++++++++++------------- 10347 src/liblzma/api/lzma/delta.h | 12 +- 10348 src/liblzma/api/lzma/filter.h | 27 +++-- 10349 src/liblzma/api/lzma/index.h | 97 ++++++++++++++--- 10350 src/liblzma/api/lzma/index_hash.h | 26 +++-- 10351 src/liblzma/api/lzma/init.h | 2 +- 10352 src/liblzma/api/lzma/lzma.h | 12 +- 10353 src/liblzma/api/lzma/simple.h | 4 +- 10354 src/liblzma/api/lzma/stream_flags.h | 46 +++++--- 10355 src/liblzma/api/lzma/version.h | 6 +- 10356 src/liblzma/api/lzma/vli.h | 17 ++- 10357 src/liblzma/common/alone_decoder.c | 47 +++++--- 10358 src/liblzma/common/auto_decoder.c | 29 +++++ 10359 src/liblzma/common/block_util.c | 52 +++++---- 10360 src/liblzma/common/common.c | 58 ++++++++++ 10361 src/liblzma/common/common.h | 9 +- 10362 src/liblzma/common/easy.c | 33 ++++-- 10363 src/liblzma/common/filter_common.c | 2 +- 10364 src/liblzma/common/index.c | 11 ++ 10365 src/liblzma/common/index_decoder.c | 46 ++++++-- 10366 src/liblzma/common/stream_decoder.c | 47 ++++++-- 10367 src/liblzma/lzma/lzma2_encoder.c | 6 +- 10368 tests/test_index.c | 10 +- 10369 27 files changed, 863 insertions(+), 426 deletions(-) 10370 10371commit 17781c2c20fd77029cb32e77792889f2f211d69d 10372Author: Lasse Collin <lasse.collin@tukaani.org> 10373Date: 2008-12-15 14:26:52 +0200 10374 10375 The LZMA2 decoder fix introduced a bug to LZ decoder, 10376 which made LZ decoder return too early after dictionary 10377 reset. This fixes it. 10378 10379 src/liblzma/lz/lz_decoder.c | 33 +++++++++++++++++++++++---------- 10380 1 file changed, 23 insertions(+), 10 deletions(-) 10381 10382commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8 10383Author: Lasse Collin <lasse.collin@tukaani.org> 10384Date: 2008-12-15 11:20:22 +0200 10385 10386 Added two new test files. 10387 10388 tests/files/README | 7 +++++++ 10389 tests/files/bad-1-lzma2-8.xz | Bin 0 -> 464 bytes 10390 tests/files/good-1-lzma2-4.xz | Bin 0 -> 464 bytes 10391 3 files changed, 7 insertions(+) 10392 10393commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf 10394Author: Lasse Collin <lasse.collin@tukaani.org> 10395Date: 2008-12-15 10:01:59 +0200 10396 10397 Fix data corruption in LZMA2 decoder. 10398 10399 src/liblzma/lz/lz_decoder.c | 17 ++++++++++++++++- 10400 src/liblzma/lz/lz_decoder.h | 8 +++++--- 10401 src/liblzma/lzma/lzma2_decoder.c | 15 +++++++++++---- 10402 3 files changed, 32 insertions(+), 8 deletions(-) 10403 10404commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613 10405Author: Lasse Collin <lasse.collin@tukaani.org> 10406Date: 2008-12-13 00:54:11 +0200 10407 10408 Name the package "xz" in configure.ac. 10409 10410 configure.ac | 11 ++++------- 10411 1 file changed, 4 insertions(+), 7 deletions(-) 10412 10413commit a94bf00d0af9b423851905b031be5a645a657820 10414Author: Lasse Collin <lasse.collin@tukaani.org> 10415Date: 2008-12-12 22:43:21 +0200 10416 10417 Some adjustments to GCC warning flags. The important change 10418 is the removal of -pedantic. It messes up -Werror (which I 10419 really want to keep so that I don't miss any warnings) with 10420 printf format strings that are in POSIX but not in C99. 10421 10422 configure.ac | 8 +++++--- 10423 1 file changed, 5 insertions(+), 3 deletions(-) 10424 10425commit 8582d392baacd2cdac07ca60041f8c661323676d 10426Author: Lasse Collin <lasse.collin@tukaani.org> 10427Date: 2008-12-10 01:31:00 +0200 10428 10429 Remove obsolete comment. 10430 10431 src/xz/message.c | 1 - 10432 1 file changed, 1 deletion(-) 10433 10434commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1 10435Author: Lasse Collin <lasse.collin@tukaani.org> 10436Date: 2008-12-10 01:27:15 +0200 10437 10438 Use "decompression" consistently in --long-help. 10439 10440 src/xz/message.c | 2 +- 10441 1 file changed, 1 insertion(+), 1 deletion(-) 10442 10443commit 1ea9e7f15afd5d3981e2432710e932320597bca9 10444Author: Lasse Collin <lasse.collin@tukaani.org> 10445Date: 2008-12-10 01:23:58 +0200 10446 10447 Added preset=NUM to --lzma1 and --lzma2. This makes it easy 10448 to take a preset as a template and modify it a little. 10449 10450 src/xz/message.c | 1 + 10451 src/xz/options.c | 8 ++++++++ 10452 2 files changed, 9 insertions(+) 10453 10454commit bceb3918dbb21f34976bfdd4c171a81319de71f7 10455Author: Lasse Collin <lasse.collin@tukaani.org> 10456Date: 2008-12-09 17:43:31 +0200 10457 10458 Put the file format specification into the public domain. 10459 Same will be done to the actual code later. 10460 10461 doc/file-format.txt | 24 +++++++++--------------- 10462 1 file changed, 9 insertions(+), 15 deletions(-) 10463 10464commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6 10465Author: Lasse Collin <lasse.collin@tukaani.org> 10466Date: 2008-12-09 17:41:49 +0200 10467 10468 Make the memusage functions of LZMA1 and LZMA2 encoders 10469 to validate the filter options. Add missing validation 10470 to LZMA2 encoder when options are changed in the middle 10471 of encoding. 10472 10473 src/liblzma/lzma/lzma2_encoder.c | 5 ++++- 10474 src/liblzma/lzma/lzma_encoder.c | 44 +++++++++++++++++++++++++++------------- 10475 src/liblzma/lzma/lzma_encoder.h | 2 +- 10476 3 files changed, 35 insertions(+), 16 deletions(-) 10477 10478commit f20a03206b71ff01b827bb7a932411d6a6a4e06a 10479Author: Lasse Collin <lasse.collin@tukaani.org> 10480Date: 2008-12-09 10:36:24 +0200 10481 10482 Updated THANKS. 10483 10484 THANKS | 1 + 10485 1 file changed, 1 insertion(+) 10486 10487commit ef7890d56453dca1aeb2e12db29b7e418d93dde4 10488Author: Lasse Collin <lasse.collin@tukaani.org> 10489Date: 2008-12-01 23:04:12 +0200 10490 10491 In command line tool, take advantage of memusage calculation's 10492 ability to also validate the filter chain and options (not 10493 implemented yet for all filters). 10494 10495 src/xz/process.c | 8 ++++---- 10496 1 file changed, 4 insertions(+), 4 deletions(-) 10497 10498commit ccd57afa09e332d664d6d6a7498702791ea5f659 10499Author: Lasse Collin <lasse.collin@tukaani.org> 10500Date: 2008-12-01 22:59:28 +0200 10501 10502 Validate the filter chain before checking filter-specific 10503 memory usage. 10504 10505 src/liblzma/common/filter_common.c | 14 ++++++++++---- 10506 1 file changed, 10 insertions(+), 4 deletions(-) 10507 10508commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15 10509Author: Lasse Collin <lasse.collin@tukaani.org> 10510Date: 2008-12-01 22:58:22 +0200 10511 10512 Make the memusage functions of LZMA1 and LZMA2 decoders 10513 to validate the filter options. 10514 10515 src/liblzma/lzma/lzma2_decoder.c | 7 ++----- 10516 src/liblzma/lzma/lzma_decoder.c | 14 ++++++++++---- 10517 src/liblzma/lzma/lzma_decoder.h | 5 +++++ 10518 3 files changed, 17 insertions(+), 9 deletions(-) 10519 10520commit c58f469be5bb9b0bdab825c6687445fd553f4f3a 10521Author: Lasse Collin <lasse.collin@tukaani.org> 10522Date: 2008-12-01 22:55:18 +0200 10523 10524 Added the changes for Delta filter that should have been 10525 part of 656ec87882ee74b192c4ea4a233a235eca7b04d4. 10526 10527 src/liblzma/common/filter_decoder.c | 2 +- 10528 src/liblzma/common/filter_encoder.c | 2 +- 10529 2 files changed, 2 insertions(+), 2 deletions(-) 10530 10531commit cd708015202dbf7585b84a8781462a20c42a324b 10532Author: Lasse Collin <lasse.collin@tukaani.org> 10533Date: 2008-12-01 22:50:28 +0200 10534 10535 LZMA2 decoder cleanups. Make it require new LZMA properties 10536 also in the first LZMA chunk after a dictionary reset in 10537 uncompressed chunk. 10538 10539 src/liblzma/lzma/lzma2_decoder.c | 95 +++++++++++++++++----------------------- 10540 1 file changed, 41 insertions(+), 54 deletions(-) 10541 10542commit 656ec87882ee74b192c4ea4a233a235eca7b04d4 10543Author: Lasse Collin <lasse.collin@tukaani.org> 10544Date: 2008-12-01 16:30:11 +0200 10545 10546 Added lzma_delta_coder_memusage() which also validates 10547 the options. 10548 10549 src/liblzma/delta/Makefile.am | 3 ++- 10550 src/liblzma/delta/delta_common.c | 28 ++++++++++++++++++------- 10551 src/liblzma/delta/delta_common.h | 19 +---------------- 10552 src/liblzma/delta/delta_decoder.c | 2 +- 10553 src/liblzma/delta/delta_decoder.h | 2 +- 10554 src/liblzma/delta/delta_encoder.c | 14 ++++--------- 10555 src/liblzma/delta/delta_encoder.h | 2 +- 10556 src/liblzma/delta/delta_private.h | 44 +++++++++++++++++++++++++++++++++++++++ 10557 8 files changed, 75 insertions(+), 39 deletions(-) 10558 10559commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a 10560Author: Lasse Collin <lasse.collin@tukaani.org> 10561Date: 2008-11-29 10:03:49 +0200 10562 10563 Automake includes the m4 directory, so don't add it in 10564 Makefile.am separately. 10565 10566 Updated THANKS. 10567 10568 Makefile.am | 1 - 10569 THANKS | 1 + 10570 2 files changed, 1 insertion(+), 1 deletion(-) 10571 10572commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0 10573Author: Lasse Collin <lasse.collin@tukaani.org> 10574Date: 2008-11-28 12:00:48 +0200 10575 10576 Tested using COLUMNS environment variable to avoid broken 10577 progress indicator but since COLUMNS isn't usually available, 10578 the code was left commented out. 10579 10580 src/xz/message.c | 14 +++++++++----- 10581 1 file changed, 9 insertions(+), 5 deletions(-) 10582 10583commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd 10584Author: Lasse Collin <lasse.collin@tukaani.org> 10585Date: 2008-11-27 19:28:59 +0200 10586 10587 Cleanups to message.c. 10588 10589 src/xz/message.c | 47 ++++++++++++++++++----------------------------- 10590 1 file changed, 18 insertions(+), 29 deletions(-) 10591 10592commit a8368b75cdcd5427299001cc42839287f27b244d 10593Author: Lasse Collin <lasse.collin@tukaani.org> 10594Date: 2008-11-25 02:37:47 +0200 10595 10596 Remove the nowadays unneeded memory limitting malloc() wrapper. 10597 10598 src/liblzma/api/Makefile.am | 1 - 10599 src/liblzma/api/lzma.h | 1 - 10600 src/liblzma/api/lzma/memlimit.h | 207 -------------------------- 10601 src/liblzma/common/Makefile.am | 1 - 10602 src/liblzma/common/memory_limiter.c | 288 ------------------------------------ 10603 tests/Makefile.am | 2 - 10604 tests/test_memlimit.c | 114 -------------- 10605 7 files changed, 614 deletions(-) 10606 10607commit 69472ee5f055a2bb6f28106f0923e1461fd1d080 10608Author: Lasse Collin <lasse.collin@tukaani.org> 10609Date: 2008-11-23 15:09:03 +0200 10610 10611 VLI encoder and decoder cleanups. Made encoder return 10612 LZMA_PROG_ERROR in single-call mode if there's no output 10613 space. 10614 10615 src/liblzma/common/vli_decoder.c | 15 +++++++++------ 10616 src/liblzma/common/vli_encoder.c | 31 ++++++++++++++++++++++++------- 10617 2 files changed, 33 insertions(+), 13 deletions(-) 10618 10619commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650 10620Author: Lasse Collin <lasse.collin@tukaani.org> 10621Date: 2008-11-22 17:44:33 +0200 10622 10623 Typo fix 10624 10625 src/xz/process.c | 2 +- 10626 1 file changed, 1 insertion(+), 1 deletion(-) 10627 10628commit 6d1d6f4598d121253dbe1084c6866b66e95c361b 10629Author: Lasse Collin <lasse.collin@tukaani.org> 10630Date: 2008-11-20 22:59:10 +0200 10631 10632 Support NetBSD's errno for O_NOFOLLOW. 10633 10634 src/xz/io.c | 8 ++++++++ 10635 1 file changed, 8 insertions(+) 10636 10637commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7 10638Author: Lasse Collin <lasse.collin@tukaani.org> 10639Date: 2008-11-20 18:05:52 +0200 10640 10641 Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz 10642 files and lzmadec only .lzma files. 10643 10644 src/xzdec/Makefile.am | 7 +- 10645 src/xzdec/xzdec.c | 311 ++++++++++++++++++++++---------------------------- 10646 2 files changed, 140 insertions(+), 178 deletions(-) 10647 10648commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c 10649Author: Lasse Collin <lasse.collin@tukaani.org> 10650Date: 2008-11-20 11:01:29 +0200 10651 10652 Minor cleanups to xzdec. 10653 10654 src/xzdec/xzdec.c | 20 ++++++++++---------- 10655 1 file changed, 10 insertions(+), 10 deletions(-) 10656 10657commit 54f716ba8905d09752dcd1519455a40bd21d5317 10658Author: Lasse Collin <lasse.collin@tukaani.org> 10659Date: 2008-11-19 23:55:22 +0200 10660 10661 Added missing check for uint16_t. 10662 10663 configure.ac | 1 + 10664 1 file changed, 1 insertion(+) 10665 10666commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06 10667Author: Lasse Collin <lasse.collin@tukaani.org> 10668Date: 2008-11-19 23:52:24 +0200 10669 10670 Renamed lzma to xz and lzmadec to xzdec. We create symlinks 10671 lzma, unlzma, and lzcat in "make install" for backwards 10672 compatibility with LZMA Utils 4.32.x; I'm not sure if this 10673 should be the default though. 10674 10675 configure.ac | 4 +- 10676 po/POTFILES.in | 21 +- 10677 src/Makefile.am | 2 +- 10678 src/lzma/Makefile.am | 72 ---- 10679 src/lzma/args.c | 500 --------------------------- 10680 src/lzma/args.h | 56 --- 10681 src/lzma/hardware.c | 122 ------- 10682 src/lzma/hardware.h | 45 --- 10683 src/lzma/io.c | 658 ----------------------------------- 10684 src/lzma/io.h | 97 ------ 10685 src/lzma/list.c | 477 -------------------------- 10686 src/lzma/main.c | 402 ---------------------- 10687 src/lzma/main.h | 60 ---- 10688 src/lzma/message.c | 892 ------------------------------------------------ 10689 src/lzma/message.h | 132 ------- 10690 src/lzma/options.c | 352 ------------------- 10691 src/lzma/options.h | 46 --- 10692 src/lzma/private.h | 52 --- 10693 src/lzma/process.c | 391 --------------------- 10694 src/lzma/process.h | 70 ---- 10695 src/lzma/suffix.c | 213 ------------ 10696 src/lzma/suffix.h | 40 --- 10697 src/lzma/util.c | 199 ----------- 10698 src/lzma/util.h | 71 ---- 10699 src/lzmadec/Makefile.am | 29 -- 10700 src/lzmadec/lzmadec.c | 492 -------------------------- 10701 src/xz/Makefile.am | 74 ++++ 10702 src/xz/args.c | 500 +++++++++++++++++++++++++++ 10703 src/xz/args.h | 56 +++ 10704 src/xz/hardware.c | 122 +++++++ 10705 src/xz/hardware.h | 45 +++ 10706 src/xz/io.c | 658 +++++++++++++++++++++++++++++++++++ 10707 src/xz/io.h | 97 ++++++ 10708 src/xz/list.c | 477 ++++++++++++++++++++++++++ 10709 src/xz/main.c | 402 ++++++++++++++++++++++ 10710 src/xz/main.h | 60 ++++ 10711 src/xz/message.c | 892 ++++++++++++++++++++++++++++++++++++++++++++++++ 10712 src/xz/message.h | 132 +++++++ 10713 src/xz/options.c | 352 +++++++++++++++++++ 10714 src/xz/options.h | 46 +++ 10715 src/xz/private.h | 52 +++ 10716 src/xz/process.c | 391 +++++++++++++++++++++ 10717 src/xz/process.h | 70 ++++ 10718 src/xz/suffix.c | 213 ++++++++++++ 10719 src/xz/suffix.h | 40 +++ 10720 src/xz/util.c | 199 +++++++++++ 10721 src/xz/util.h | 71 ++++ 10722 src/xzdec/Makefile.am | 29 ++ 10723 src/xzdec/xzdec.c | 492 ++++++++++++++++++++++++++ 10724 tests/test_compress.sh | 29 +- 10725 tests/test_files.sh | 4 +- 10726 51 files changed, 5498 insertions(+), 5500 deletions(-) 10727 10728commit e114502b2bc371e4a45449832cb69be036360722 10729Author: Lasse Collin <lasse.collin@tukaani.org> 10730Date: 2008-11-19 20:46:52 +0200 10731 10732 Oh well, big messy commit again. Some highlights: 10733 - Updated to the latest, probably final file format version. 10734 - Command line tool reworked to not use threads anymore. 10735 Threading will probably go into liblzma anyway. 10736 - Memory usage limit is now about 30 % for uncompression 10737 and about 90 % for compression. 10738 - Progress indicator with --verbose 10739 - Simplified --help and full --long-help 10740 - Upgraded to the last LGPLv2.1+ getopt_long from gnulib. 10741 - Some bug fixes 10742 10743 THANKS | 1 + 10744 configure.ac | 48 +- 10745 debug/full_flush.c | 6 +- 10746 debug/known_sizes.c | 2 +- 10747 debug/memusage.c | 2 +- 10748 debug/sync_flush.c | 10 +- 10749 doc/file-format.txt | 260 ++++---- 10750 lib/Makefile.am | 10 +- 10751 lib/getopt.c | 14 +- 10752 lib/getopt.in.h | 226 +++++++ 10753 lib/getopt1.c | 8 +- 10754 lib/getopt_.h | 226 ------- 10755 lib/gettext.h | 240 ------- 10756 m4/getopt.m4 | 64 +- 10757 src/common/bswap.h | 15 +- 10758 src/common/physmem.h | 4 + 10759 src/common/sysdefs.h | 12 +- 10760 src/liblzma/api/lzma/block.h | 47 +- 10761 src/liblzma/api/lzma/filter.h | 8 + 10762 src/liblzma/api/lzma/index.h | 20 +- 10763 src/liblzma/api/lzma/index_hash.h | 4 +- 10764 src/liblzma/common/block_decoder.c | 59 +- 10765 src/liblzma/common/block_encoder.c | 41 +- 10766 src/liblzma/common/block_header_decoder.c | 31 +- 10767 src/liblzma/common/block_header_encoder.c | 69 +-- 10768 src/liblzma/common/block_util.c | 45 +- 10769 src/liblzma/common/common.h | 8 - 10770 src/liblzma/common/filter_common.c | 4 +- 10771 src/liblzma/common/index.c | 259 ++++---- 10772 src/liblzma/common/index.h | 33 +- 10773 src/liblzma/common/index_decoder.c | 31 +- 10774 src/liblzma/common/index_encoder.c | 16 +- 10775 src/liblzma/common/index_hash.c | 68 +- 10776 src/liblzma/common/stream_decoder.c | 9 +- 10777 src/liblzma/common/stream_encoder.c | 6 +- 10778 src/liblzma/lz/lz_decoder.h | 4 +- 10779 src/liblzma/subblock/subblock_decoder.c | 3 +- 10780 src/lzma/Makefile.am | 9 +- 10781 src/lzma/alloc.c | 106 ---- 10782 src/lzma/alloc.h | 42 -- 10783 src/lzma/args.c | 531 +++++++--------- 10784 src/lzma/args.h | 42 +- 10785 src/lzma/error.c | 162 ----- 10786 src/lzma/error.h | 67 -- 10787 src/lzma/hardware.c | 75 ++- 10788 src/lzma/hardware.h | 16 +- 10789 src/lzma/help.c | 170 ----- 10790 src/lzma/help.h | 32 - 10791 src/lzma/io.c | 757 +++++++++++------------ 10792 src/lzma/io.h | 51 +- 10793 src/lzma/main.c | 392 ++++++++---- 10794 src/lzma/main.h | 60 ++ 10795 src/lzma/message.c | 892 +++++++++++++++++++++++++++ 10796 src/lzma/message.h | 132 ++++ 10797 src/lzma/options.c | 42 +- 10798 src/lzma/options.h | 6 +- 10799 src/lzma/private.h | 28 +- 10800 src/lzma/process.c | 525 ++++++++-------- 10801 src/lzma/process.h | 40 ++ 10802 src/lzma/suffix.c | 52 +- 10803 src/lzma/suffix.h | 17 +- 10804 src/lzma/util.c | 100 +-- 10805 src/lzma/util.h | 43 +- 10806 src/lzmadec/lzmadec.c | 36 +- 10807 tests/files/README | 12 +- 10808 tests/files/bad-1-block_header-1.xz | Bin 64 -> 64 bytes 10809 tests/files/bad-1-block_header-2.xz | Bin 64 -> 64 bytes 10810 tests/files/bad-1-block_header-3.xz | Bin 68 -> 68 bytes 10811 tests/files/bad-1-block_header-4.xz | Bin 72 -> 76 bytes 10812 tests/files/bad-1-block_header-5.xz | Bin 0 -> 72 bytes 10813 tests/files/bad-1-check-crc32.xz | Bin 68 -> 68 bytes 10814 tests/files/bad-1-check-crc64.xz | Bin 72 -> 72 bytes 10815 tests/files/bad-1-check-sha256.xz | Bin 96 -> 96 bytes 10816 tests/files/bad-1-lzma2-1.xz | Bin 64 -> 64 bytes 10817 tests/files/bad-1-lzma2-2.xz | Bin 424 -> 424 bytes 10818 tests/files/bad-1-lzma2-3.xz | Bin 424 -> 424 bytes 10819 tests/files/bad-1-lzma2-4.xz | Bin 408 -> 408 bytes 10820 tests/files/bad-1-lzma2-5.xz | Bin 408 -> 408 bytes 10821 tests/files/bad-1-lzma2-6.xz | Bin 68 -> 68 bytes 10822 tests/files/bad-1-lzma2-7.xz | Bin 408 -> 408 bytes 10823 tests/files/bad-1-stream_flags-1.xz | Bin 68 -> 68 bytes 10824 tests/files/bad-1-stream_flags-2.xz | Bin 68 -> 68 bytes 10825 tests/files/bad-1-stream_flags-3.xz | Bin 68 -> 68 bytes 10826 tests/files/bad-1-vli-1.xz | Bin 72 -> 72 bytes 10827 tests/files/bad-1-vli-2.xz | Bin 72 -> 76 bytes 10828 tests/files/bad-2-compressed_data_padding.xz | Bin 92 -> 92 bytes 10829 tests/files/bad-2-index-1.xz | Bin 92 -> 92 bytes 10830 tests/files/bad-2-index-2.xz | Bin 92 -> 92 bytes 10831 tests/files/bad-2-index-3.xz | Bin 92 -> 92 bytes 10832 tests/files/bad-2-index-4.xz | Bin 92 -> 92 bytes 10833 tests/files/bad-2-index-5.xz | Bin 0 -> 92 bytes 10834 tests/files/good-1-3delta-lzma2.xz | Bin 528 -> 528 bytes 10835 tests/files/good-1-block_header-1.xz | Bin 72 -> 72 bytes 10836 tests/files/good-1-block_header-2.xz | Bin 68 -> 68 bytes 10837 tests/files/good-1-block_header-3.xz | Bin 68 -> 68 bytes 10838 tests/files/good-1-check-crc32.xz | Bin 68 -> 68 bytes 10839 tests/files/good-1-check-crc64.xz | Bin 72 -> 72 bytes 10840 tests/files/good-1-check-none.xz | Bin 64 -> 64 bytes 10841 tests/files/good-1-check-sha256.xz | Bin 96 -> 96 bytes 10842 tests/files/good-1-delta-lzma2.tiff.xz | Bin 51312 -> 51316 bytes 10843 tests/files/good-1-lzma2-1.xz | Bin 424 -> 424 bytes 10844 tests/files/good-1-lzma2-2.xz | Bin 424 -> 424 bytes 10845 tests/files/good-1-lzma2-3.xz | Bin 408 -> 408 bytes 10846 tests/files/good-1-sparc-lzma2.xz | Bin 2292 -> 2296 bytes 10847 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 1936 bytes 10848 tests/files/good-2-lzma2.xz | Bin 92 -> 92 bytes 10849 tests/files/unsupported-block_header.xz | Bin 68 -> 68 bytes 10850 tests/files/unsupported-check.xz | Bin 68 -> 68 bytes 10851 tests/files/unsupported-filter_flags-1.xz | Bin 68 -> 68 bytes 10852 tests/files/unsupported-filter_flags-2.xz | Bin 68 -> 68 bytes 10853 tests/files/unsupported-filter_flags-3.xz | Bin 68 -> 68 bytes 10854 tests/test_block_header.c | 16 +- 10855 tests/test_index.c | 42 +- 10856 113 files changed, 3462 insertions(+), 2946 deletions(-) 10857 10858commit 3c3905b53462ae235c9438d86a4dc51086410932 10859Author: Lasse Collin <lasse.collin@tukaani.org> 10860Date: 2008-10-09 11:12:29 +0300 10861 10862 Fixed the test that should have been fixed as part 10863 of 1e8e4fd1f3e50129b4541406ad765d2aa1233943. 10864 10865 tests/test_block_header.c | 2 +- 10866 1 file changed, 1 insertion(+), 1 deletion(-) 10867 10868commit 0f295bf7a3ece01f667caae318cc3e3424085886 10869Author: Lasse Collin <lasse.collin@tukaani.org> 10870Date: 2008-10-07 16:42:18 +0300 10871 10872 Fixed some help messages. 10873 10874 src/lzma/help.c | 6 +++--- 10875 1 file changed, 3 insertions(+), 3 deletions(-) 10876 10877commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943 10878Author: Lasse Collin <lasse.collin@tukaani.org> 10879Date: 2008-10-07 09:40:31 +0300 10880 10881 Made the preset numbering more logical in liblzma API. 10882 10883 src/liblzma/api/lzma/container.h | 20 ++++++++++---------- 10884 src/liblzma/api/lzma/lzma.h | 2 +- 10885 src/liblzma/lzma/lzma_encoder_presets.c | 3 ++- 10886 src/lzma/args.c | 8 ++++---- 10887 src/lzma/args.h | 2 +- 10888 5 files changed, 18 insertions(+), 17 deletions(-) 10889 10890commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81 10891Author: Lasse Collin <lasse.collin@tukaani.org> 10892Date: 2008-10-03 19:36:09 +0300 10893 10894 Removed fi from po/LINGUAS. 10895 10896 po/LINGUAS | 1 - 10897 1 file changed, 1 deletion(-) 10898 10899commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128 10900Author: Lasse Collin <lasse.collin@tukaani.org> 10901Date: 2008-10-03 07:06:48 +0300 10902 10903 Fixed suffix handling with --format=raw. 10904 10905 src/lzma/suffix.c | 28 +++++++++++++++++++--------- 10906 1 file changed, 19 insertions(+), 9 deletions(-) 10907 10908commit bd137524f2f50e30ba054f42f1f6536cd3cee920 10909Author: Lasse Collin <lasse.collin@tukaani.org> 10910Date: 2008-10-02 22:51:46 +0300 10911 10912 Initial changes to change the suffix of the new format to .xz. 10913 This also fixes a bug related to --suffix option. Some issues 10914 with suffixes with --format=raw were not fixed. 10915 10916 src/lzma/args.c | 67 +++++++++++++++++++++++++++++++-------------- 10917 src/lzma/args.h | 13 +++++---- 10918 src/lzma/help.c | 4 +-- 10919 src/lzma/process.c | 24 +++++++++------- 10920 src/lzma/suffix.c | 74 +++++++++++++++++++++++++++++++++++++++++--------- 10921 tests/test_compress.sh | 3 +- 10922 6 files changed, 133 insertions(+), 52 deletions(-) 10923 10924commit 4c321a41c482821aa3c4d64cdf886a6ed904d844 10925Author: Lasse Collin <lasse.collin@tukaani.org> 10926Date: 2008-09-30 17:43:55 +0300 10927 10928 Renamed the test files from .lzma suffix to .xz suffix. 10929 10930 tests/files/README | 128 ++++++++++++------------- 10931 tests/files/bad-0-backward_size.lzma | Bin 32 -> 0 bytes 10932 tests/files/bad-0-backward_size.xz | Bin 0 -> 32 bytes 10933 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 0 bytes 10934 tests/files/bad-0-empty-truncated.xz | Bin 0 -> 31 bytes 10935 tests/files/bad-0-footer_magic.lzma | Bin 32 -> 0 bytes 10936 tests/files/bad-0-footer_magic.xz | Bin 0 -> 32 bytes 10937 tests/files/bad-0-header_magic.lzma | Bin 32 -> 0 bytes 10938 tests/files/bad-0-header_magic.xz | Bin 0 -> 32 bytes 10939 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 0 bytes 10940 tests/files/bad-0-nonempty_index.xz | Bin 0 -> 32 bytes 10941 tests/files/bad-0cat-alone.lzma | Bin 55 -> 0 bytes 10942 tests/files/bad-0cat-alone.xz | Bin 0 -> 55 bytes 10943 tests/files/bad-0cat-header_magic.lzma | Bin 64 -> 0 bytes 10944 tests/files/bad-0cat-header_magic.xz | Bin 0 -> 64 bytes 10945 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 0 bytes 10946 tests/files/bad-0catpad-empty.xz | Bin 0 -> 69 bytes 10947 tests/files/bad-0pad-empty.lzma | Bin 37 -> 0 bytes 10948 tests/files/bad-0pad-empty.xz | Bin 0 -> 37 bytes 10949 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 0 bytes 10950 tests/files/bad-1-block_header-1.xz | Bin 0 -> 64 bytes 10951 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 0 bytes 10952 tests/files/bad-1-block_header-2.xz | Bin 0 -> 64 bytes 10953 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 0 bytes 10954 tests/files/bad-1-block_header-3.xz | Bin 0 -> 68 bytes 10955 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 0 bytes 10956 tests/files/bad-1-block_header-4.xz | Bin 0 -> 72 bytes 10957 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 0 bytes 10958 tests/files/bad-1-check-crc32.xz | Bin 0 -> 68 bytes 10959 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 0 bytes 10960 tests/files/bad-1-check-crc64.xz | Bin 0 -> 72 bytes 10961 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 0 bytes 10962 tests/files/bad-1-check-sha256.xz | Bin 0 -> 96 bytes 10963 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 0 bytes 10964 tests/files/bad-1-lzma2-1.xz | Bin 0 -> 64 bytes 10965 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 0 bytes 10966 tests/files/bad-1-lzma2-2.xz | Bin 0 -> 424 bytes 10967 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 0 bytes 10968 tests/files/bad-1-lzma2-3.xz | Bin 0 -> 424 bytes 10969 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 0 bytes 10970 tests/files/bad-1-lzma2-4.xz | Bin 0 -> 408 bytes 10971 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 0 bytes 10972 tests/files/bad-1-lzma2-5.xz | Bin 0 -> 408 bytes 10973 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 0 bytes 10974 tests/files/bad-1-lzma2-6.xz | Bin 0 -> 68 bytes 10975 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 0 bytes 10976 tests/files/bad-1-lzma2-7.xz | Bin 0 -> 408 bytes 10977 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 0 bytes 10978 tests/files/bad-1-stream_flags-1.xz | Bin 0 -> 68 bytes 10979 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 0 bytes 10980 tests/files/bad-1-stream_flags-2.xz | Bin 0 -> 68 bytes 10981 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 0 bytes 10982 tests/files/bad-1-stream_flags-3.xz | Bin 0 -> 68 bytes 10983 tests/files/bad-1-vli-1.lzma | Bin 72 -> 0 bytes 10984 tests/files/bad-1-vli-1.xz | Bin 0 -> 72 bytes 10985 tests/files/bad-1-vli-2.lzma | Bin 72 -> 0 bytes 10986 tests/files/bad-1-vli-2.xz | Bin 0 -> 72 bytes 10987 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 0 bytes 10988 tests/files/bad-2-compressed_data_padding.xz | Bin 0 -> 92 bytes 10989 tests/files/bad-2-index-1.lzma | Bin 92 -> 0 bytes 10990 tests/files/bad-2-index-1.xz | Bin 0 -> 92 bytes 10991 tests/files/bad-2-index-2.lzma | Bin 92 -> 0 bytes 10992 tests/files/bad-2-index-2.xz | Bin 0 -> 92 bytes 10993 tests/files/bad-2-index-3.lzma | Bin 92 -> 0 bytes 10994 tests/files/bad-2-index-3.xz | Bin 0 -> 92 bytes 10995 tests/files/bad-2-index-4.lzma | Bin 92 -> 0 bytes 10996 tests/files/bad-2-index-4.xz | Bin 0 -> 92 bytes 10997 tests/files/good-0-empty.lzma | Bin 32 -> 0 bytes 10998 tests/files/good-0-empty.xz | Bin 0 -> 32 bytes 10999 tests/files/good-0cat-empty.lzma | Bin 64 -> 0 bytes 11000 tests/files/good-0cat-empty.xz | Bin 0 -> 64 bytes 11001 tests/files/good-0catpad-empty.lzma | Bin 68 -> 0 bytes 11002 tests/files/good-0catpad-empty.xz | Bin 0 -> 68 bytes 11003 tests/files/good-0pad-empty.lzma | Bin 36 -> 0 bytes 11004 tests/files/good-0pad-empty.xz | Bin 0 -> 36 bytes 11005 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 0 bytes 11006 tests/files/good-1-3delta-lzma2.xz | Bin 0 -> 528 bytes 11007 tests/files/good-1-block_header-1.lzma | Bin 72 -> 0 bytes 11008 tests/files/good-1-block_header-1.xz | Bin 0 -> 72 bytes 11009 tests/files/good-1-block_header-2.lzma | Bin 68 -> 0 bytes 11010 tests/files/good-1-block_header-2.xz | Bin 0 -> 68 bytes 11011 tests/files/good-1-block_header-3.lzma | Bin 68 -> 0 bytes 11012 tests/files/good-1-block_header-3.xz | Bin 0 -> 68 bytes 11013 tests/files/good-1-check-crc32.lzma | Bin 68 -> 0 bytes 11014 tests/files/good-1-check-crc32.xz | Bin 0 -> 68 bytes 11015 tests/files/good-1-check-crc64.lzma | Bin 72 -> 0 bytes 11016 tests/files/good-1-check-crc64.xz | Bin 0 -> 72 bytes 11017 tests/files/good-1-check-none.lzma | Bin 64 -> 0 bytes 11018 tests/files/good-1-check-none.xz | Bin 0 -> 64 bytes 11019 tests/files/good-1-check-sha256.lzma | Bin 96 -> 0 bytes 11020 tests/files/good-1-check-sha256.xz | Bin 0 -> 96 bytes 11021 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 0 bytes 11022 tests/files/good-1-delta-lzma2.tiff.xz | Bin 0 -> 51312 bytes 11023 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 0 bytes 11024 tests/files/good-1-lzma2-1.xz | Bin 0 -> 424 bytes 11025 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 0 bytes 11026 tests/files/good-1-lzma2-2.xz | Bin 0 -> 424 bytes 11027 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 0 bytes 11028 tests/files/good-1-lzma2-3.xz | Bin 0 -> 408 bytes 11029 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 0 bytes 11030 tests/files/good-1-sparc-lzma2.xz | Bin 0 -> 2292 bytes 11031 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 0 bytes 11032 tests/files/good-1-x86-lzma2.xz | Bin 0 -> 1936 bytes 11033 tests/files/good-2-lzma2.lzma | Bin 92 -> 0 bytes 11034 tests/files/good-2-lzma2.xz | Bin 0 -> 92 bytes 11035 tests/files/unsupported-block_header.lzma | Bin 68 -> 0 bytes 11036 tests/files/unsupported-block_header.xz | Bin 0 -> 68 bytes 11037 tests/files/unsupported-check.lzma | Bin 68 -> 0 bytes 11038 tests/files/unsupported-check.xz | Bin 0 -> 68 bytes 11039 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 0 bytes 11040 tests/files/unsupported-filter_flags-1.xz | Bin 0 -> 68 bytes 11041 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 0 bytes 11042 tests/files/unsupported-filter_flags-2.xz | Bin 0 -> 68 bytes 11043 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 0 bytes 11044 tests/files/unsupported-filter_flags-3.xz | Bin 0 -> 68 bytes 11045 tests/test_files.sh | 6 +- 11046 116 files changed, 66 insertions(+), 68 deletions(-) 11047 11048commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb 11049Author: Lasse Collin <lasse.collin@tukaani.org> 11050Date: 2008-09-30 13:57:44 +0300 11051 11052 Fixed Stream decoder to actually use the first_stream variable. 11053 11054 src/liblzma/common/stream_decoder.c | 5 +++++ 11055 1 file changed, 5 insertions(+) 11056 11057commit 3bdbc12c054d1961133ee19802af7dd3c3494543 11058Author: Lasse Collin <lasse.collin@tukaani.org> 11059Date: 2008-09-30 13:56:57 +0300 11060 11061 Added one more test file. 11062 11063 tests/files/README | 15 +++++++++++---- 11064 tests/files/bad-0cat-header_magic.lzma | Bin 0 -> 64 bytes 11065 2 files changed, 11 insertions(+), 4 deletions(-) 11066 11067commit a6639022fdc536e5659b070a465221b4cf7c51fa 11068Author: Lasse Collin <lasse.collin@tukaani.org> 11069Date: 2008-09-30 13:34:07 +0300 11070 11071 Fixed uninitialized variable in Stream decoder. 11072 11073 src/liblzma/common/stream_decoder.c | 1 + 11074 1 file changed, 1 insertion(+) 11075 11076commit ed3709000a3f17ecefab29b2235d7e2221b00003 11077Author: Lasse Collin <lasse.collin@tukaani.org> 11078Date: 2008-09-30 13:27:28 +0300 11079 11080 Added two test files. 11081 11082 tests/files/README | 6 ++++++ 11083 tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes 11084 tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes 11085 3 files changed, 6 insertions(+) 11086 11087commit ea560b0ea80525752bdcd0074d24f8dc170bbe29 11088Author: Lasse Collin <lasse.collin@tukaani.org> 11089Date: 2008-09-27 23:49:24 +0300 11090 11091 Fix conflicting Subblock helper filter's ID. 11092 11093 src/liblzma/common/common.h | 2 +- 11094 1 file changed, 1 insertion(+), 1 deletion(-) 11095 11096commit ad97483b6e55142fd8d5c041db057017a891cd95 11097Author: Lasse Collin <lasse.collin@tukaani.org> 11098Date: 2008-09-27 23:37:13 +0300 11099 11100 Changed magic bytes to match the updated spec. Filename 11101 suffix wasn't changed yet. 11102 11103 src/liblzma/common/auto_decoder.c | 4 ++-- 11104 src/liblzma/common/stream_flags_common.c | 2 +- 11105 tests/files/bad-0-backward_size.lzma | Bin 32 -> 32 bytes 11106 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 31 bytes 11107 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 32 bytes 11108 tests/files/bad-0cat-alone.lzma | Bin 55 -> 55 bytes 11109 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 69 bytes 11110 tests/files/bad-0pad-empty.lzma | Bin 37 -> 37 bytes 11111 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 64 bytes 11112 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 64 bytes 11113 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 68 bytes 11114 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 72 bytes 11115 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 68 bytes 11116 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 72 bytes 11117 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 96 bytes 11118 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 64 bytes 11119 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 424 bytes 11120 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 424 bytes 11121 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 408 bytes 11122 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 408 bytes 11123 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 68 bytes 11124 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 408 bytes 11125 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 68 bytes 11126 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 68 bytes 11127 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 68 bytes 11128 tests/files/bad-1-vli-1.lzma | Bin 72 -> 72 bytes 11129 tests/files/bad-1-vli-2.lzma | Bin 72 -> 72 bytes 11130 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 92 bytes 11131 tests/files/bad-2-index-1.lzma | Bin 92 -> 92 bytes 11132 tests/files/bad-2-index-2.lzma | Bin 92 -> 92 bytes 11133 tests/files/bad-2-index-3.lzma | Bin 92 -> 92 bytes 11134 tests/files/bad-2-index-4.lzma | Bin 92 -> 92 bytes 11135 tests/files/good-0-empty.lzma | Bin 32 -> 32 bytes 11136 tests/files/good-0cat-empty.lzma | Bin 64 -> 64 bytes 11137 tests/files/good-0catpad-empty.lzma | Bin 68 -> 68 bytes 11138 tests/files/good-0pad-empty.lzma | Bin 36 -> 36 bytes 11139 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 528 bytes 11140 tests/files/good-1-block_header-1.lzma | Bin 72 -> 72 bytes 11141 tests/files/good-1-block_header-2.lzma | Bin 68 -> 68 bytes 11142 tests/files/good-1-block_header-3.lzma | Bin 68 -> 68 bytes 11143 tests/files/good-1-check-crc32.lzma | Bin 68 -> 68 bytes 11144 tests/files/good-1-check-crc64.lzma | Bin 72 -> 72 bytes 11145 tests/files/good-1-check-none.lzma | Bin 64 -> 64 bytes 11146 tests/files/good-1-check-sha256.lzma | Bin 96 -> 96 bytes 11147 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 51312 bytes 11148 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 424 bytes 11149 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 424 bytes 11150 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 408 bytes 11151 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 2292 bytes 11152 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 1936 bytes 11153 tests/files/good-2-lzma2.lzma | Bin 92 -> 92 bytes 11154 tests/files/unsupported-block_header.lzma | Bin 68 -> 68 bytes 11155 tests/files/unsupported-check.lzma | Bin 68 -> 68 bytes 11156 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 68 bytes 11157 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 68 bytes 11158 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 68 bytes 11159 56 files changed, 3 insertions(+), 3 deletions(-) 11160 11161commit 7a57069167e9e63394e2b095ee3a63253fcb51c7 11162Author: Lasse Collin <lasse.collin@tukaani.org> 11163Date: 2008-09-27 23:16:09 +0300 11164 11165 Remove po/fi.po since I'm not keeping it updated for now. 11166 11167 po/fi.po | 446 --------------------------------------------------------------- 11168 1 file changed, 446 deletions(-) 11169 11170commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e 11171Author: Lasse Collin <lasse.collin@tukaani.org> 11172Date: 2008-09-27 23:13:54 +0300 11173 11174 Fix also test_compress.sh. 11175 11176 tests/test_compress.sh | 6 +++--- 11177 1 file changed, 3 insertions(+), 3 deletions(-) 11178 11179commit 3a62a5fb85d2eebd8666e64ed5d364d095062858 11180Author: Lasse Collin <lasse.collin@tukaani.org> 11181Date: 2008-09-27 23:01:15 +0300 11182 11183 Fixed compilation of test_filter_flags.c, which was broken by 11184 1dcecfb09b55157b8653d747963069c8bed74f04. 11185 11186 tests/test_filter_flags.c | 16 ++++++++-------- 11187 1 file changed, 8 insertions(+), 8 deletions(-) 11188 11189commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0 11190Author: Lasse Collin <lasse.collin@tukaani.org> 11191Date: 2008-09-27 19:11:02 +0300 11192 11193 Updated file format specification. It changes the suffix 11194 of the new format to .xz and removes the recently added 11195 LZMA filter. 11196 11197 doc/file-format.txt | 125 ++++++++++++++-------------------------------------- 11198 1 file changed, 32 insertions(+), 93 deletions(-) 11199 11200commit 1dcecfb09b55157b8653d747963069c8bed74f04 11201Author: Lasse Collin <lasse.collin@tukaani.org> 11202Date: 2008-09-27 19:09:21 +0300 11203 11204 Some API changes, bug fixes, cleanups etc. 11205 11206 configure.ac | 18 +- 11207 debug/full_flush.c | 7 +- 11208 debug/known_sizes.c | 6 +- 11209 debug/memusage.c | 22 +-- 11210 debug/sync_flush.c | 18 +- 11211 src/liblzma/Makefile.am | 2 +- 11212 src/liblzma/api/lzma/delta.h | 8 +- 11213 src/liblzma/api/lzma/lzma.h | 230 ++++++++++++++++--------- 11214 src/liblzma/common/alignment.c | 7 +- 11215 src/liblzma/common/alone_decoder.c | 11 +- 11216 src/liblzma/common/alone_encoder.c | 9 +- 11217 src/liblzma/common/chunk_size.c | 2 +- 11218 src/liblzma/common/easy.c | 20 ++- 11219 src/liblzma/common/filter_common.c | 4 +- 11220 src/liblzma/common/filter_decoder.c | 4 +- 11221 src/liblzma/common/filter_encoder.c | 4 +- 11222 src/liblzma/common/init_encoder.c | 2 +- 11223 src/liblzma/delta/delta_common.c | 12 +- 11224 src/liblzma/delta/delta_common.h | 2 +- 11225 src/liblzma/delta/delta_decoder.c | 2 +- 11226 src/liblzma/delta/delta_encoder.c | 6 +- 11227 src/liblzma/lz/lz_encoder.c | 30 ++-- 11228 src/liblzma/lz/lz_encoder.h | 26 +-- 11229 src/liblzma/lz/lz_encoder_mf.c | 30 ++-- 11230 src/liblzma/lzma/Makefile.am | 4 +- 11231 src/liblzma/lzma/lzma2_decoder.c | 10 +- 11232 src/liblzma/lzma/lzma2_encoder.c | 27 ++- 11233 src/liblzma/lzma/lzma_common.h | 26 ++- 11234 src/liblzma/lzma/lzma_decoder.c | 37 ++-- 11235 src/liblzma/lzma/lzma_encoder.c | 51 +++--- 11236 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 10 +- 11237 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +-- 11238 src/liblzma/lzma/lzma_encoder_presets.c | 50 ++++-- 11239 src/liblzma/rangecoder/Makefile.am | 4 +- 11240 src/liblzma/subblock/subblock_decoder.c | 2 +- 11241 src/lzma/args.c | 33 ++-- 11242 src/lzma/help.c | 17 +- 11243 src/lzma/options.c | 92 +++++----- 11244 tests/test_block_header.c | 9 +- 11245 tests/test_compress.sh | 4 +- 11246 tests/test_filter_flags.c | 2 +- 11247 41 files changed, 482 insertions(+), 398 deletions(-) 11248 11249commit 5cc5064cae603b649c64c40125c7dd365de54c9d 11250Author: Lasse Collin <lasse.collin@tukaani.org> 11251Date: 2008-09-27 11:28:49 +0300 11252 11253 Added 7z2lzma.bash. 11254 11255 extra/7z2lzma/7z2lzma.bash | 114 +++++++++++++++++++++++++++++++++++++++++++++ 11256 1 file changed, 114 insertions(+) 11257 11258commit f147666a5cd15542d4e427da58629f4a71cc38e1 11259Author: Lasse Collin <lasse.collin@tukaani.org> 11260Date: 2008-09-17 22:11:39 +0300 11261 11262 Miscellaneous LZ and LZMA encoder cleanups 11263 11264 src/liblzma/api/lzma/lzma.h | 14 ------- 11265 src/liblzma/lz/lz_encoder.c | 8 +++- 11266 src/liblzma/lzma/Makefile.am | 1 - 11267 src/liblzma/lzma/lzma_encoder.c | 64 ++++++++++++-------------------- 11268 src/liblzma/lzma/lzma_encoder_features.c | 59 ----------------------------- 11269 5 files changed, 29 insertions(+), 117 deletions(-) 11270 11271commit 13d68b069849e19c33822cd8996cd6447890abb1 11272Author: Lasse Collin <lasse.collin@tukaani.org> 11273Date: 2008-09-13 13:54:00 +0300 11274 11275 LZ decoder cleanup 11276 11277 src/liblzma/lz/lz_decoder.c | 5 ++--- 11278 1 file changed, 2 insertions(+), 3 deletions(-) 11279 11280commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7 11281Author: Lasse Collin <lasse.collin@tukaani.org> 11282Date: 2008-09-13 12:10:43 +0300 11283 11284 Renamed constants: 11285 - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX 11286 - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN 11287 - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR 11288 11289 debug/full_flush.c | 2 +- 11290 debug/known_sizes.c | 2 +- 11291 debug/sync_flush.c | 2 +- 11292 src/liblzma/api/lzma/alignment.h | 2 +- 11293 src/liblzma/api/lzma/base.h | 4 ++-- 11294 src/liblzma/api/lzma/block.h | 28 ++++++++++++++-------------- 11295 src/liblzma/api/lzma/container.h | 12 ++++++------ 11296 src/liblzma/api/lzma/filter.h | 28 ++++++++++++++-------------- 11297 src/liblzma/api/lzma/index.h | 2 +- 11298 src/liblzma/api/lzma/lzma.h | 4 ++-- 11299 src/liblzma/api/lzma/simple.h | 2 +- 11300 src/liblzma/api/lzma/stream_flags.h | 20 ++++++++++---------- 11301 src/liblzma/api/lzma/vli.h | 16 ++++++++-------- 11302 src/liblzma/common/alignment.c | 6 +++--- 11303 src/liblzma/common/alone_decoder.c | 2 +- 11304 src/liblzma/common/auto_decoder.c | 2 +- 11305 src/liblzma/common/block_decoder.c | 12 ++++++------ 11306 src/liblzma/common/block_encoder.c | 6 +++--- 11307 src/liblzma/common/block_header_decoder.c | 16 ++++++++-------- 11308 src/liblzma/common/block_header_encoder.c | 24 ++++++++++++------------ 11309 src/liblzma/common/block_util.c | 8 ++++---- 11310 src/liblzma/common/chunk_size.c | 2 +- 11311 src/liblzma/common/easy.c | 4 ++-- 11312 src/liblzma/common/filter_common.c | 22 +++++++++++----------- 11313 src/liblzma/common/filter_decoder.c | 6 +++--- 11314 src/liblzma/common/filter_encoder.c | 14 +++++++------- 11315 src/liblzma/common/index.c | 24 +++++++++++------------- 11316 src/liblzma/common/index.h | 2 +- 11317 src/liblzma/common/index_hash.c | 13 ++++++------- 11318 src/liblzma/common/stream_decoder.c | 4 ++-- 11319 src/liblzma/common/stream_encoder.c | 4 ++-- 11320 src/liblzma/common/stream_flags_common.c | 6 +++--- 11321 src/liblzma/common/stream_flags_decoder.c | 6 +++--- 11322 src/liblzma/common/stream_flags_encoder.c | 4 ++-- 11323 src/liblzma/common/vli_encoder.c | 2 +- 11324 src/liblzma/common/vli_size.c | 2 +- 11325 src/liblzma/delta/delta_common.c | 2 +- 11326 src/liblzma/delta/delta_decoder.c | 2 +- 11327 src/liblzma/delta/delta_encoder.c | 2 +- 11328 src/liblzma/lz/lz_decoder.c | 2 +- 11329 src/liblzma/lz/lz_encoder.c | 2 +- 11330 src/liblzma/lzma/lzma2_decoder.c | 6 +++--- 11331 src/liblzma/lzma/lzma_decoder.c | 14 +++++++------- 11332 src/liblzma/lzma/lzma_encoder.c | 8 ++++---- 11333 src/liblzma/simple/simple_coder.c | 2 +- 11334 src/liblzma/simple/simple_decoder.c | 2 +- 11335 src/liblzma/subblock/subblock_decoder.c | 6 +++--- 11336 src/liblzma/subblock/subblock_encoder.c | 17 ++++++++--------- 11337 src/lzma/args.c | 2 +- 11338 src/lzma/error.c | 2 +- 11339 src/lzma/list.c | 6 +++--- 11340 src/lzmadec/lzmadec.c | 2 +- 11341 tests/test_block.c | 8 ++++---- 11342 tests/test_block_header.c | 30 +++++++++++++++--------------- 11343 tests/test_filter_flags.c | 2 +- 11344 tests/test_index.c | 2 +- 11345 tests/test_stream_flags.c | 8 ++++---- 11346 tests/tests.h | 2 +- 11347 58 files changed, 220 insertions(+), 224 deletions(-) 11348 11349commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080 11350Author: Lasse Collin <lasse.collin@tukaani.org> 11351Date: 2008-09-12 22:41:40 +0300 11352 11353 Improved the Stream Flags handling API. 11354 11355 src/liblzma/api/lzma/stream_flags.h | 84 +++++++++++++++++++++++++++++-- 11356 src/liblzma/common/stream_decoder.c | 5 +- 11357 src/liblzma/common/stream_encoder.c | 2 + 11358 src/liblzma/common/stream_flags_common.c | 28 ++++++++--- 11359 src/liblzma/common/stream_flags_common.h | 9 ++++ 11360 src/liblzma/common/stream_flags_decoder.c | 3 +- 11361 src/liblzma/common/stream_flags_encoder.c | 10 ++-- 11362 tests/test_stream_flags.c | 8 ++- 11363 8 files changed, 129 insertions(+), 20 deletions(-) 11364 11365commit ec490da5228263b25bf786bb23d1008468f55b30 11366Author: Lasse Collin <lasse.collin@tukaani.org> 11367Date: 2008-09-11 23:10:44 +0300 11368 11369 Simplified debug/known_sizes.c to match the relaxed 11370 requirements of Block encoder. 11371 11372 debug/known_sizes.c | 14 +++++--------- 11373 1 file changed, 5 insertions(+), 9 deletions(-) 11374 11375commit 16e8b98f2659347edfa74afdbbb9e73311153cb9 11376Author: Lasse Collin <lasse.collin@tukaani.org> 11377Date: 2008-09-11 23:09:24 +0300 11378 11379 Remove a check from Block encoder that should have already 11380 been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e. 11381 11382 src/liblzma/common/block_encoder.c | 5 ----- 11383 1 file changed, 5 deletions(-) 11384 11385commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13 11386Author: Lasse Collin <lasse.collin@tukaani.org> 11387Date: 2008-09-11 20:02:38 +0300 11388 11389 Remove bogus #includes. 11390 11391 src/liblzma/common/Makefile.am | 1 - 11392 src/liblzma/common/stream_decoder.c | 3 --- 11393 src/liblzma/common/stream_encoder.c | 1 - 11394 src/liblzma/common/stream_flags_decoder.h | 31 ------------------------------- 11395 4 files changed, 36 deletions(-) 11396 11397commit 01892b2ca5f69bed0ea746e04b604030d57806bb 11398Author: Lasse Collin <lasse.collin@tukaani.org> 11399Date: 2008-09-11 10:49:14 +0300 11400 11401 Updated THANKS. 11402 11403 THANKS | 1 + 11404 1 file changed, 1 insertion(+) 11405 11406commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d 11407Author: Lasse Collin <lasse.collin@tukaani.org> 11408Date: 2008-09-11 10:48:12 +0300 11409 11410 Fix a compiler error on big endian systems that don't 11411 support unaligned memory access. 11412 11413 src/common/integer.h | 32 ++++++++++++++++++-------------- 11414 1 file changed, 18 insertions(+), 14 deletions(-) 11415 11416commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671 11417Author: Lasse Collin <lasse.collin@tukaani.org> 11418Date: 2008-09-11 10:46:14 +0300 11419 11420 Silence a compiler warning. 11421 11422 src/lzma/process.c | 2 +- 11423 1 file changed, 1 insertion(+), 1 deletion(-) 11424 11425commit 9373e81e18822db4972819442ea4c2cb9955470b 11426Author: Lasse Collin <lasse.collin@tukaani.org> 11427Date: 2008-09-10 19:16:32 +0300 11428 11429 Bumped version to 4.999.6alpha. 11430 11431 configure.ac | 2 +- 11432 src/liblzma/api/lzma/version.h | 2 +- 11433 2 files changed, 2 insertions(+), 2 deletions(-) 11434 11435commit cb072b7c8442ba68bb0c62c0abbbe939794887a3 11436Author: Lasse Collin <lasse.collin@tukaani.org> 11437Date: 2008-09-10 17:02:00 +0300 11438 11439 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c. 11440 Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID 11441 is in the reserved range. This allows Block Header encoder to 11442 detect unallowed Filter IDs, which is good for Stream encoder. 11443 11444 src/liblzma/common/filter_flags_encoder.c | 7 ++++--- 11445 1 file changed, 4 insertions(+), 3 deletions(-) 11446 11447commit 123ab0acec435c9e9866a99e30482116cfbd9ba5 11448Author: Lasse Collin <lasse.collin@tukaani.org> 11449Date: 2008-09-10 16:44:32 +0300 11450 11451 Filter handling cleanups 11452 11453 src/liblzma/api/lzma/filter.h | 133 +++++++++++++++++++++++++++--------- 11454 src/liblzma/common/filter_common.h | 3 + 11455 src/liblzma/common/filter_decoder.c | 80 +++++++--------------- 11456 src/liblzma/common/filter_decoder.h | 5 -- 11457 src/liblzma/common/filter_encoder.c | 82 +++++++--------------- 11458 src/liblzma/common/filter_encoder.h | 4 -- 11459 6 files changed, 156 insertions(+), 151 deletions(-) 11460 11461commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1 11462Author: Lasse Collin <lasse.collin@tukaani.org> 11463Date: 2008-09-10 00:33:00 +0300 11464 11465 Comments 11466 11467 src/liblzma/common/stream_encoder.c | 6 +++++- 11468 1 file changed, 5 insertions(+), 1 deletion(-) 11469 11470commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e 11471Author: Lasse Collin <lasse.collin@tukaani.org> 11472Date: 2008-09-10 00:27:02 +0300 11473 11474 Cleaned up Block encoder and moved the no longer shared 11475 code from block_private.h to block_decoder.c. Now the Block 11476 encoder doesn't need compressed_size and uncompressed_size 11477 from lzma_block structure to be initialized. 11478 11479 src/liblzma/api/lzma/block.h | 3 -- 11480 src/liblzma/common/Makefile.am | 1 - 11481 src/liblzma/common/block_decoder.c | 23 +++++++++- 11482 src/liblzma/common/block_encoder.c | 92 ++++++++++++++++++-------------------- 11483 src/liblzma/common/block_private.h | 47 ------------------- 11484 5 files changed, 66 insertions(+), 100 deletions(-) 11485 11486commit 07efcb5a6bc5d7018798ebd728586f84183e7d64 11487Author: Lasse Collin <lasse.collin@tukaani.org> 11488Date: 2008-09-07 10:23:13 +0300 11489 11490 Changed Filter ID of LZMA to 0x20. 11491 11492 doc/file-format.txt | 4 ++-- 11493 src/liblzma/api/lzma/lzma.h | 2 +- 11494 2 files changed, 3 insertions(+), 3 deletions(-) 11495 11496commit 32fe5fa541e82c08e054086279079ae5016bd8d8 11497Author: Lasse Collin <lasse.collin@tukaani.org> 11498Date: 2008-09-06 23:42:50 +0300 11499 11500 Comments 11501 11502 src/liblzma/api/lzma/base.h | 81 ++++++++++++++++++++++++++-------------- 11503 src/liblzma/api/lzma/container.h | 6 ++- 11504 src/liblzma/lz/lz_encoder.c | 3 +- 11505 src/liblzma/lz/lz_encoder.h | 12 +++--- 11506 src/liblzma/lz/lz_encoder_mf.c | 2 +- 11507 5 files changed, 65 insertions(+), 39 deletions(-) 11508 11509commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84 11510Author: Lasse Collin <lasse.collin@tukaani.org> 11511Date: 2008-09-06 15:14:30 +0300 11512 11513 Some API cleanups 11514 11515 src/liblzma/api/lzma/base.h | 314 +++++++++++++++++++++++------------- 11516 src/liblzma/api/lzma/check.h | 10 ++ 11517 src/liblzma/api/lzma/container.h | 40 +++-- 11518 src/liblzma/common/auto_decoder.c | 18 +-- 11519 src/liblzma/common/common.c | 7 + 11520 src/liblzma/common/common.h | 18 ++- 11521 src/liblzma/common/easy.c | 2 +- 11522 src/liblzma/common/stream_decoder.c | 31 ++-- 11523 src/lzma/process.c | 2 +- 11524 src/lzmadec/lzmadec.c | 6 +- 11525 tests/tests.h | 72 +++------ 11526 11 files changed, 301 insertions(+), 219 deletions(-) 11527 11528commit da98df54400998be2a6c3876f9655a3c51b93c10 11529Author: Lasse Collin <lasse.collin@tukaani.org> 11530Date: 2008-09-04 11:53:06 +0300 11531 11532 Added support for raw encoding and decoding to the command 11533 line tool, and made various cleanups. --lzma was renamed to 11534 --lzma1 to prevent people from accidentally using LZMA when 11535 they want LZMA2. 11536 11537 src/lzma/args.c | 17 +++++++++-------- 11538 src/lzma/args.h | 1 + 11539 src/lzma/help.c | 24 ++++++------------------ 11540 src/lzma/process.c | 42 ++++++++++++++++++++++++++++++++++-------- 11541 4 files changed, 50 insertions(+), 34 deletions(-) 11542 11543commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd 11544Author: Lasse Collin <lasse.collin@tukaani.org> 11545Date: 2008-09-04 10:39:15 +0300 11546 11547 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's 11548 simply nothing that would use it. Allow LZMA_FINISH to the 11549 decoders, which will usually ignore it (auto decoder and 11550 Stream decoder being exceptions). 11551 11552 src/liblzma/common/alone_decoder.c | 1 - 11553 src/liblzma/common/block_decoder.c | 2 +- 11554 src/liblzma/common/filter_decoder.c | 2 +- 11555 3 files changed, 2 insertions(+), 3 deletions(-) 11556 11557commit bea301c26d5d52675e11e0236faec0492af98f60 11558Author: Lasse Collin <lasse.collin@tukaani.org> 11559Date: 2008-09-03 17:06:25 +0300 11560 11561 Minor updates to the file format specification. 11562 11563 doc/file-format.txt | 105 ++++++++++++++++++++++++++++++++++++++++++---------- 11564 1 file changed, 85 insertions(+), 20 deletions(-) 11565 11566commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8 11567Author: Lasse Collin <lasse.collin@tukaani.org> 11568Date: 2008-09-02 19:33:32 +0300 11569 11570 Command line tool fixes 11571 11572 src/lzma/process.c | 21 +++++++++++++-------- 11573 1 file changed, 13 insertions(+), 8 deletions(-) 11574 11575commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4 11576Author: Lasse Collin <lasse.collin@tukaani.org> 11577Date: 2008-09-02 19:31:42 +0300 11578 11579 Auto decoder cleanup 11580 11581 src/liblzma/common/auto_decoder.c | 2 +- 11582 1 file changed, 1 insertion(+), 1 deletion(-) 11583 11584commit 689602336d126a46b60d791a67decab65e1e81f5 11585Author: Lasse Collin <lasse.collin@tukaani.org> 11586Date: 2008-09-02 19:12:12 +0300 11587 11588 Updated auto decoder to handle LZMA_CONCATENATED when decoding 11589 LZMA_Alone files. Decoding of concatenated LZMA_Alone files is 11590 intentionally not supported, so it is better to put this in 11591 auto decoder than LZMA_Alone decoder. 11592 11593 src/liblzma/common/auto_decoder.c | 87 ++++++++++++++++++++++++++++++++------- 11594 1 file changed, 71 insertions(+), 16 deletions(-) 11595 11596commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c 11597Author: Lasse Collin <lasse.collin@tukaani.org> 11598Date: 2008-09-02 14:56:52 +0300 11599 11600 Stream decoder cleanups 11601 11602 src/liblzma/common/stream_decoder.c | 57 +++++++++++++++++++++---------------- 11603 1 file changed, 32 insertions(+), 25 deletions(-) 11604 11605commit fc681657450ce57be1fe08f7a15d31dcc705e514 11606Author: Lasse Collin <lasse.collin@tukaani.org> 11607Date: 2008-09-02 11:45:39 +0300 11608 11609 Some fixes to LZ encoder. 11610 11611 src/liblzma/lz/lz_encoder.c | 56 ++++++++++++++++++++----- 11612 src/liblzma/lz/lz_encoder.h | 18 ++++---- 11613 src/liblzma/lz/lz_encoder_mf.c | 95 +++++++++++++++++------------------------- 11614 3 files changed, 94 insertions(+), 75 deletions(-) 11615 11616commit ede675f9ac1ca82a7d7c290324adba672118bc8d 11617Author: Lasse Collin <lasse.collin@tukaani.org> 11618Date: 2008-08-31 11:47:01 +0300 11619 11620 Fix wrong pointer calculation in LZMA encoder. 11621 11622 src/liblzma/lzma/lzma_encoder.c | 4 +++- 11623 1 file changed, 3 insertions(+), 1 deletion(-) 11624 11625commit 3b34851de1eaf358cf9268922fa0eeed8278d680 11626Author: Lasse Collin <lasse.collin@tukaani.org> 11627Date: 2008-08-28 22:53:15 +0300 11628 11629 Sort of garbage collection commit. :-| Many things are still 11630 broken. API has changed a lot and it will still change a 11631 little more here and there. The command line tool doesn't 11632 have all the required changes to reflect the API changes, so 11633 it's easy to get "internal error" or trigger assertions. 11634 11635 configure.ac | 356 +++--- 11636 debug/Makefile.am | 5 +- 11637 debug/crc32.c | 45 + 11638 debug/full_flush.c | 14 +- 11639 debug/hex2bin.c | 54 + 11640 debug/known_sizes.c | 135 ++ 11641 debug/memusage.c | 8 +- 11642 debug/sync_flush.c | 20 +- 11643 src/common/integer.h | 26 +- 11644 src/common/sysdefs.h | 42 +- 11645 src/liblzma/Makefile.am | 17 +- 11646 src/liblzma/api/Makefile.am | 6 +- 11647 src/liblzma/api/lzma.h | 161 ++- 11648 src/liblzma/api/lzma/alignment.h | 6 +- 11649 src/liblzma/api/lzma/alone.h | 52 - 11650 src/liblzma/api/lzma/auto.h | 36 - 11651 src/liblzma/api/lzma/base.h | 61 +- 11652 src/liblzma/api/lzma/block.h | 38 +- 11653 src/liblzma/api/lzma/check.h | 41 +- 11654 src/liblzma/api/lzma/container.h | 252 ++++ 11655 src/liblzma/api/lzma/delta.h | 36 +- 11656 src/liblzma/api/lzma/easy.h | 121 -- 11657 src/liblzma/api/lzma/filter.h | 74 +- 11658 src/liblzma/api/lzma/index.h | 40 +- 11659 src/liblzma/api/lzma/index_hash.h | 12 +- 11660 src/liblzma/api/lzma/lzma.h | 222 ++-- 11661 src/liblzma/api/lzma/memlimit.h | 15 +- 11662 src/liblzma/api/lzma/raw.h | 60 - 11663 src/liblzma/api/lzma/simple.h | 2 +- 11664 src/liblzma/api/lzma/stream.h | 53 - 11665 src/liblzma/api/lzma/stream_flags.h | 17 +- 11666 src/liblzma/api/lzma/subblock.h | 4 +- 11667 src/liblzma/api/lzma/version.h | 10 +- 11668 src/liblzma/api/lzma/vli.h | 131 +- 11669 src/liblzma/check/check.c | 128 +- 11670 src/liblzma/check/check.h | 67 +- 11671 src/liblzma/check/sha256.c | 29 +- 11672 src/liblzma/common/Makefile.am | 51 +- 11673 src/liblzma/common/alignment.c | 4 +- 11674 src/liblzma/common/allocator.c | 58 - 11675 src/liblzma/common/alone_decoder.c | 49 +- 11676 src/liblzma/common/alone_decoder.h | 9 +- 11677 src/liblzma/common/alone_encoder.c | 13 +- 11678 src/liblzma/common/auto_decoder.c | 38 +- 11679 src/liblzma/common/block_decoder.c | 67 +- 11680 src/liblzma/common/block_decoder.h | 2 +- 11681 src/liblzma/common/block_encoder.c | 42 +- 11682 src/liblzma/common/block_encoder.h | 2 +- 11683 src/liblzma/common/block_header_decoder.c | 6 +- 11684 src/liblzma/common/block_header_encoder.c | 9 +- 11685 src/liblzma/common/block_util.c | 10 +- 11686 src/liblzma/common/code.c | 203 --- 11687 src/liblzma/common/common.c | 298 +++++ 11688 src/liblzma/common/common.h | 237 ++-- 11689 src/liblzma/common/delta_common.c | 66 - 11690 src/liblzma/common/delta_common.h | 44 - 11691 src/liblzma/common/delta_decoder.c | 61 - 11692 src/liblzma/common/delta_decoder.h | 28 - 11693 src/liblzma/common/delta_encoder.c | 98 -- 11694 src/liblzma/common/delta_encoder.h | 28 - 11695 src/liblzma/common/easy.c | 18 +- 11696 src/liblzma/common/features.c | 66 - 11697 src/liblzma/common/filter_common.c | 262 ++++ 11698 src/liblzma/common/filter_common.h | 52 + 11699 src/liblzma/common/filter_decoder.c | 236 ++++ 11700 src/liblzma/common/filter_decoder.h | 35 + 11701 src/liblzma/common/filter_encoder.c | 308 +++++ 11702 src/liblzma/common/filter_encoder.h | 38 + 11703 src/liblzma/common/filter_flags_decoder.c | 185 +-- 11704 src/liblzma/common/filter_flags_encoder.c | 261 +--- 11705 src/liblzma/common/index_decoder.c | 14 +- 11706 src/liblzma/common/index_encoder.c | 16 +- 11707 src/liblzma/common/index_hash.c | 8 +- 11708 src/liblzma/common/init_encoder.c | 2 +- 11709 src/liblzma/common/memory_usage.c | 112 -- 11710 src/liblzma/common/next_coder.c | 65 - 11711 src/liblzma/common/raw_common.c | 127 -- 11712 src/liblzma/common/raw_common.h | 30 - 11713 src/liblzma/common/raw_decoder.c | 116 -- 11714 src/liblzma/common/raw_decoder.h | 29 - 11715 src/liblzma/common/raw_encoder.c | 111 -- 11716 src/liblzma/common/raw_encoder.h | 29 - 11717 src/liblzma/common/stream_common.c | 23 - 11718 src/liblzma/common/stream_common.h | 31 - 11719 src/liblzma/common/stream_decoder.c | 238 +++- 11720 src/liblzma/common/stream_decoder.h | 4 +- 11721 src/liblzma/common/stream_encoder.c | 35 +- 11722 src/liblzma/common/stream_encoder.h | 2 +- 11723 src/liblzma/common/stream_flags_common.c | 40 + 11724 src/liblzma/common/stream_flags_common.h | 31 + 11725 src/liblzma/common/stream_flags_decoder.c | 2 +- 11726 src/liblzma/common/stream_flags_encoder.c | 2 +- 11727 src/liblzma/common/stream_flags_equal.c | 36 - 11728 src/liblzma/common/version.c | 25 - 11729 src/liblzma/common/vli_decoder.c | 29 +- 11730 src/liblzma/common/vli_encoder.c | 23 +- 11731 src/liblzma/common/vli_size.c | 37 + 11732 src/liblzma/delta/Makefile.am | 34 + 11733 src/liblzma/delta/delta_common.c | 66 + 11734 src/liblzma/delta/delta_common.h | 44 + 11735 src/liblzma/delta/delta_decoder.c | 82 ++ 11736 src/liblzma/delta/delta_decoder.h | 32 + 11737 src/liblzma/delta/delta_encoder.c | 119 ++ 11738 src/liblzma/delta/delta_encoder.h | 30 + 11739 src/liblzma/lz/Makefile.am | 35 +- 11740 src/liblzma/lz/bt2.c | 27 - 11741 src/liblzma/lz/bt2.h | 31 - 11742 src/liblzma/lz/bt3.c | 29 - 11743 src/liblzma/lz/bt3.h | 31 - 11744 src/liblzma/lz/bt4.c | 30 - 11745 src/liblzma/lz/bt4.h | 31 - 11746 src/liblzma/lz/hc3.c | 30 - 11747 src/liblzma/lz/hc3.h | 31 - 11748 src/liblzma/lz/hc4.c | 31 - 11749 src/liblzma/lz/hc4.h | 31 - 11750 src/liblzma/lz/lz_decoder.c | 547 +++----- 11751 src/liblzma/lz/lz_decoder.h | 308 ++--- 11752 src/liblzma/lz/lz_encoder.c | 780 ++++++------ 11753 src/liblzma/lz/lz_encoder.h | 334 +++-- 11754 src/liblzma/lz/lz_encoder_hash.h | 104 ++ 11755 src/liblzma/lz/lz_encoder_mf.c | 780 ++++++++++++ 11756 src/liblzma/lz/lz_encoder_private.h | 40 - 11757 src/liblzma/lz/match_c.h | 412 ------ 11758 src/liblzma/lz/match_h.h | 69 -- 11759 src/liblzma/lzma/Makefile.am | 37 +- 11760 src/liblzma/lzma/fastpos.h | 8 +- 11761 src/liblzma/lzma/lzma2_decoder.c | 318 +++++ 11762 src/liblzma/lzma/lzma2_decoder.h | 35 + 11763 src/liblzma/lzma/lzma2_encoder.c | 406 ++++++ 11764 src/liblzma/lzma/lzma2_encoder.h | 34 + 11765 src/liblzma/lzma/lzma_common.h | 208 +++- 11766 src/liblzma/lzma/lzma_decoder.c | 1306 ++++++++++++-------- 11767 src/liblzma/lzma/lzma_decoder.h | 21 +- 11768 src/liblzma/lzma/lzma_encoder.c | 576 +++++++-- 11769 src/liblzma/lzma/lzma_encoder.h | 38 +- 11770 src/liblzma/lzma/lzma_encoder_features.c | 2 +- 11771 src/liblzma/lzma/lzma_encoder_getoptimum.c | 925 -------------- 11772 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 --- 11773 src/liblzma/lzma/lzma_encoder_init.c | 228 ---- 11774 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 193 +++ 11775 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 875 +++++++++++++ 11776 src/liblzma/lzma/lzma_encoder_presets.c | 52 +- 11777 src/liblzma/lzma/lzma_encoder_private.h | 174 +-- 11778 src/liblzma/lzma/lzma_literal.c | 51 - 11779 src/liblzma/lzma/lzma_literal.h | 71 -- 11780 src/liblzma/rangecoder/Makefile.am | 10 +- 11781 src/liblzma/rangecoder/price.h | 111 ++ 11782 src/liblzma/rangecoder/price_table.c | 84 +- 11783 src/liblzma/rangecoder/price_table_gen.c | 55 - 11784 src/liblzma/rangecoder/price_table_init.c | 33 +- 11785 src/liblzma/rangecoder/price_tablegen.c | 56 + 11786 src/liblzma/rangecoder/range_common.h | 17 +- 11787 src/liblzma/rangecoder/range_decoder.h | 209 ++-- 11788 src/liblzma/rangecoder/range_encoder.h | 92 +- 11789 src/liblzma/simple/Makefile.am | 12 + 11790 src/liblzma/simple/simple_coder.c | 8 +- 11791 src/liblzma/simple/simple_decoder.c | 47 + 11792 src/liblzma/simple/simple_decoder.h | 29 + 11793 src/liblzma/simple/simple_encoder.c | 45 + 11794 src/liblzma/simple/simple_encoder.h | 30 + 11795 src/liblzma/subblock/Makefile.am | 4 +- 11796 src/liblzma/subblock/subblock_decoder.c | 20 +- 11797 src/liblzma/subblock/subblock_decoder_helper.c | 2 +- 11798 src/liblzma/subblock/subblock_encoder.c | 28 +- 11799 src/lzma/args.c | 35 +- 11800 src/lzma/args.h | 4 +- 11801 src/lzma/options.c | 14 +- 11802 src/lzma/process.c | 88 +- 11803 src/lzmadec/lzmadec.c | 157 +-- 11804 tests/Makefile.am | 1 + 11805 tests/files/README | 303 ++--- 11806 tests/files/bad-0-backward_size.lzma | Bin 0 -> 32 bytes 11807 tests/files/bad-0-empty-truncated.lzma | Bin 0 -> 31 bytes 11808 tests/files/bad-0-nonempty_index.lzma | Bin 0 -> 32 bytes 11809 tests/files/bad-0cat-alone.lzma | Bin 0 -> 55 bytes 11810 tests/files/bad-0catpad-empty.lzma | Bin 0 -> 69 bytes 11811 tests/files/bad-0pad-empty.lzma | Bin 0 -> 37 bytes 11812 tests/files/bad-1-block_header-1.lzma | Bin 0 -> 64 bytes 11813 tests/files/bad-1-block_header-2.lzma | Bin 0 -> 64 bytes 11814 tests/files/bad-1-block_header-3.lzma | Bin 0 -> 68 bytes 11815 tests/files/bad-1-block_header-4.lzma | Bin 0 -> 72 bytes 11816 tests/files/bad-1-check-crc32.lzma | Bin 0 -> 68 bytes 11817 tests/files/bad-1-check-crc64.lzma | Bin 0 -> 72 bytes 11818 tests/files/bad-1-check-sha256.lzma | Bin 0 -> 96 bytes 11819 tests/files/bad-1-lzma2-1.lzma | Bin 0 -> 64 bytes 11820 tests/files/bad-1-lzma2-2.lzma | Bin 0 -> 424 bytes 11821 tests/files/bad-1-lzma2-3.lzma | Bin 0 -> 424 bytes 11822 tests/files/bad-1-lzma2-4.lzma | Bin 0 -> 408 bytes 11823 tests/files/bad-1-lzma2-5.lzma | Bin 0 -> 408 bytes 11824 tests/files/bad-1-lzma2-6.lzma | Bin 0 -> 68 bytes 11825 tests/files/bad-1-lzma2-7.lzma | Bin 0 -> 408 bytes 11826 tests/files/bad-1-stream_flags-1.lzma | Bin 0 -> 68 bytes 11827 tests/files/bad-1-stream_flags-2.lzma | Bin 0 -> 68 bytes 11828 tests/files/bad-1-stream_flags-3.lzma | Bin 0 -> 68 bytes 11829 tests/files/bad-1-vli-1.lzma | Bin 0 -> 72 bytes 11830 tests/files/bad-1-vli-2.lzma | Bin 0 -> 72 bytes 11831 tests/files/bad-2-compressed_data_padding.lzma | Bin 0 -> 92 bytes 11832 tests/files/bad-2-index-1.lzma | Bin 0 -> 92 bytes 11833 tests/files/bad-2-index-2.lzma | Bin 0 -> 92 bytes 11834 tests/files/bad-2-index-3.lzma | Bin 0 -> 92 bytes 11835 tests/files/bad-2-index-4.lzma | Bin 0 -> 92 bytes 11836 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 65 -> 0 bytes 11837 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 65 -> 0 bytes 11838 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 65 -> 0 bytes 11839 tests/files/bad-multi-none-1.lzma | Bin 54 -> 0 bytes 11840 tests/files/bad-multi-none-2.lzma | Bin 53 -> 0 bytes 11841 tests/files/bad-multi-none-3.lzma | Bin 53 -> 0 bytes 11842 tests/files/bad-multi-none-block_1.lzma | Bin 66 -> 0 bytes 11843 tests/files/bad-multi-none-block_2.lzma | Bin 66 -> 0 bytes 11844 tests/files/bad-multi-none-block_3.lzma | Bin 58 -> 0 bytes 11845 tests/files/bad-multi-none-extra_1.lzma | Bin 54 -> 0 bytes 11846 tests/files/bad-multi-none-extra_2.lzma | Bin 54 -> 0 bytes 11847 tests/files/bad-multi-none-extra_3.lzma | Bin 55 -> 0 bytes 11848 tests/files/bad-multi-none-header_1.lzma | Bin 57 -> 0 bytes 11849 tests/files/bad-multi-none-header_2.lzma | Bin 61 -> 0 bytes 11850 tests/files/bad-multi-none-header_3.lzma | Bin 59 -> 0 bytes 11851 tests/files/bad-multi-none-header_4.lzma | Bin 59 -> 0 bytes 11852 tests/files/bad-multi-none-header_5.lzma | Bin 58 -> 0 bytes 11853 tests/files/bad-multi-none-header_6.lzma | Bin 59 -> 0 bytes 11854 tests/files/bad-multi-none-header_7.lzma | Bin 59 -> 0 bytes 11855 tests/files/bad-multi-none-index_1.lzma | Bin 51 -> 0 bytes 11856 tests/files/bad-multi-none-index_2.lzma | Bin 49 -> 0 bytes 11857 tests/files/bad-multi-none-index_3.lzma | Bin 51 -> 0 bytes 11858 tests/files/bad-multi-none-index_4.lzma | Bin 51 -> 0 bytes 11859 tests/files/bad-single-data_after_eopm_1.lzma | Bin 55 -> 0 bytes 11860 tests/files/bad-single-data_after_eopm_2.lzma | Bin 56 -> 0 bytes 11861 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 53 -> 0 bytes 11862 tests/files/bad-single-lzma-flush_twice.lzma | Bin 63 -> 0 bytes 11863 tests/files/bad-single-none-empty.lzma | Bin 19 -> 0 bytes 11864 .../files/bad-single-none-footer_filter_flags.lzma | Bin 30 -> 0 bytes 11865 tests/files/bad-single-none-too_long_vli.lzma | Bin 39 -> 0 bytes 11866 tests/files/bad-single-none-truncated.lzma | Bin 29 -> 0 bytes 11867 tests/files/bad-single-subblock-padding_loop.lzma | Bin 43 -> 0 bytes 11868 tests/files/bad-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes 11869 tests/files/bad-single-subblock_subblock.lzma | Bin 26 -> 0 bytes 11870 tests/files/good-0-empty.lzma | Bin 0 -> 32 bytes 11871 tests/files/good-0cat-empty.lzma | Bin 0 -> 64 bytes 11872 tests/files/good-0catpad-empty.lzma | Bin 0 -> 68 bytes 11873 tests/files/good-0pad-empty.lzma | Bin 0 -> 36 bytes 11874 tests/files/good-1-3delta-lzma2.lzma | Bin 0 -> 528 bytes 11875 tests/files/good-1-block_header-1.lzma | Bin 0 -> 72 bytes 11876 tests/files/good-1-block_header-2.lzma | Bin 0 -> 68 bytes 11877 tests/files/good-1-block_header-3.lzma | Bin 0 -> 68 bytes 11878 tests/files/good-1-check-crc32.lzma | Bin 0 -> 68 bytes 11879 tests/files/good-1-check-crc64.lzma | Bin 0 -> 72 bytes 11880 tests/files/good-1-check-none.lzma | Bin 0 -> 64 bytes 11881 tests/files/good-1-check-sha256.lzma | Bin 0 -> 96 bytes 11882 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 0 -> 51312 bytes 11883 tests/files/good-1-lzma2-1.lzma | Bin 0 -> 424 bytes 11884 tests/files/good-1-lzma2-2.lzma | Bin 0 -> 424 bytes 11885 tests/files/good-1-lzma2-3.lzma | Bin 0 -> 408 bytes 11886 tests/files/good-1-sparc-lzma2.lzma | Bin 0 -> 2292 bytes 11887 tests/files/good-1-x86-lzma2.lzma | Bin 0 -> 1936 bytes 11888 tests/files/good-2-lzma2.lzma | Bin 0 -> 92 bytes 11889 tests/files/good-cat-single-none-pad.lzma | Bin 64 -> 0 bytes 11890 tests/files/good-multi-none-1.lzma | Bin 75 -> 0 bytes 11891 tests/files/good-multi-none-2.lzma | Bin 53 -> 0 bytes 11892 tests/files/good-multi-none-block_1.lzma | Bin 66 -> 0 bytes 11893 tests/files/good-multi-none-block_2.lzma | Bin 58 -> 0 bytes 11894 tests/files/good-multi-none-extra_1.lzma | Bin 51 -> 0 bytes 11895 tests/files/good-multi-none-extra_2.lzma | Bin 79 -> 0 bytes 11896 tests/files/good-multi-none-extra_3.lzma | Bin 55 -> 0 bytes 11897 tests/files/good-multi-none-header_1.lzma | Bin 58 -> 0 bytes 11898 tests/files/good-multi-none-header_2.lzma | Bin 66 -> 0 bytes 11899 tests/files/good-multi-none-header_3.lzma | Bin 59 -> 0 bytes 11900 tests/files/good-single-delta-lzma.tiff.lzma | Bin 51409 -> 0 bytes 11901 tests/files/good-single-lzma-empty.lzma | Bin 21 -> 0 bytes 11902 tests/files/good-single-lzma-flush_1.lzma | Bin 48 -> 0 bytes 11903 tests/files/good-single-lzma-flush_2.lzma | Bin 63 -> 0 bytes 11904 tests/files/good-single-lzma.lzma | Bin 44 -> 0 bytes 11905 tests/files/good-single-none-empty_1.lzma | Bin 18 -> 0 bytes 11906 tests/files/good-single-none-empty_2.lzma | Bin 26 -> 0 bytes 11907 tests/files/good-single-none-empty_3.lzma | Bin 19 -> 0 bytes 11908 tests/files/good-single-none-pad.lzma | Bin 32 -> 0 bytes 11909 tests/files/good-single-none.lzma | Bin 30 -> 0 bytes 11910 tests/files/good-single-sparc-lzma.lzma | Bin 2263 -> 0 bytes 11911 tests/files/good-single-subblock-lzma.lzma | Bin 50 -> 0 bytes 11912 tests/files/good-single-subblock_implicit.lzma | Bin 35 -> 0 bytes 11913 tests/files/good-single-subblock_rle.lzma | Bin 118 -> 0 bytes 11914 tests/files/good-single-x86-lzma.lzma | Bin 1909 -> 0 bytes 11915 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 51 -> 0 bytes 11916 tests/files/malicious-single-subblock-256MiB.lzma | Bin 30 -> 0 bytes 11917 tests/files/malicious-single-subblock-64PiB.lzma | Bin 45 -> 0 bytes 11918 tests/files/malicious-single-subblock31-slow.lzma | Bin 1233 -> 0 bytes 11919 tests/files/unsupported-block_header.lzma | Bin 0 -> 68 bytes 11920 tests/files/unsupported-check.lzma | Bin 0 -> 68 bytes 11921 tests/files/unsupported-filter_flags-1.lzma | Bin 0 -> 68 bytes 11922 tests/files/unsupported-filter_flags-2.lzma | Bin 0 -> 68 bytes 11923 tests/files/unsupported-filter_flags-3.lzma | Bin 0 -> 68 bytes 11924 tests/test_block_header.c | 28 +- 11925 tests/test_compress.sh | 4 +- 11926 tests/test_filter_flags.c | 51 +- 11927 tests/test_stream_flags.c | 4 +- 11928 tests/tests.h | 8 + 11929 294 files changed, 9768 insertions(+), 8195 deletions(-) 11930 11931commit 57b9a145a527f0716822615e5ed536d33aebd3fc 11932Author: Lasse Collin <lasse.collin@tukaani.org> 11933Date: 2008-06-20 17:16:32 +0300 11934 11935 Fix test_filter_flags to match the new restriction of lc+lp. 11936 11937 tests/test_filter_flags.c | 3 +++ 11938 1 file changed, 3 insertions(+) 11939 11940commit eaafc4367c77ec1d910e16d11b4da293969d97a3 11941Author: Lasse Collin <lasse.collin@tukaani.org> 11942Date: 2008-06-20 16:19:54 +0300 11943 11944 Remove some redundant code from LZMA encoder. 11945 11946 src/liblzma/lzma/lzma_encoder.c | 15 +-------------- 11947 1 file changed, 1 insertion(+), 14 deletions(-) 11948 11949commit 0809c46534fa5664fe35d9e98d95e87312ed130e 11950Author: Lasse Collin <lasse.collin@tukaani.org> 11951Date: 2008-06-19 16:35:08 +0300 11952 11953 Add limit of lc + lp <= 4. Now we can allocate the 11954 literal coder as part of the main LZMA encoder or 11955 decoder structure. 11956 11957 Make the LZMA decoder to rely on the current internal API 11958 to free the allocated memory in case an error occurs. 11959 11960 src/liblzma/api/lzma/lzma.h | 10 +++++- 11961 src/liblzma/lzma/lzma_decoder.c | 57 ++++++++------------------------- 11962 src/liblzma/lzma/lzma_encoder_init.c | 13 ++++---- 11963 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 11964 src/liblzma/lzma/lzma_literal.c | 39 +++++----------------- 11965 src/liblzma/lzma/lzma_literal.h | 13 +++----- 11966 6 files changed, 43 insertions(+), 91 deletions(-) 11967 11968commit d25ab1b96178f06a0e724f58e3cd68300b2b1275 11969Author: Lasse Collin <lasse.collin@tukaani.org> 11970Date: 2008-06-18 21:45:19 +0300 11971 11972 Comments 11973 11974 src/liblzma/lzma/lzma_encoder.c | 7 ++----- 11975 1 file changed, 2 insertions(+), 5 deletions(-) 11976 11977commit 6368a2fa5901c75864be5171dd57a50af7adbb41 11978Author: Lasse Collin <lasse.collin@tukaani.org> 11979Date: 2008-06-18 19:19:02 +0300 11980 11981 Delete old code that was supposed to be already deleted 11982 from test_block_header.c. 11983 11984 tests/test_block_header.c | 30 ------------------------------ 11985 1 file changed, 30 deletions(-) 11986 11987commit 7d17818cec8597f847b0a2537fde991bbc3d9e96 11988Author: Lasse Collin <lasse.collin@tukaani.org> 11989Date: 2008-06-18 18:02:10 +0300 11990 11991 Update the code to mostly match the new simpler file format 11992 specification. Simplify things by removing most of the 11993 support for known uncompressed size in most places. 11994 There are some miscellaneous changes here and there too. 11995 11996 The API of liblzma has got many changes and still some 11997 more will be done soon. While most of the code has been 11998 updated, some things are not fixed (the command line tool 11999 will choke with invalid filter chain, if nothing else). 12000 12001 Subblock filter is somewhat broken for now. It will be 12002 updated once the encoded format of the Subblock filter 12003 has been decided. 12004 12005 configure.ac | 41 +- 12006 debug/full_flush.c | 16 +- 12007 debug/sync_flush.c | 15 +- 12008 src/common/bswap.h | 44 ++ 12009 src/common/integer.h | 167 +++++ 12010 src/liblzma/api/Makefile.am | 5 +- 12011 src/liblzma/api/lzma.h | 9 +- 12012 src/liblzma/api/lzma/alone.h | 32 +- 12013 src/liblzma/api/lzma/auto.h | 7 +- 12014 src/liblzma/api/lzma/base.h | 15 + 12015 src/liblzma/api/lzma/block.h | 306 +++------- 12016 src/liblzma/api/lzma/check.h | 18 +- 12017 src/liblzma/api/lzma/copy.h | 29 - 12018 src/liblzma/api/lzma/easy.h | 61 +- 12019 src/liblzma/api/lzma/extra.h | 114 ---- 12020 src/liblzma/api/lzma/filter.h | 5 +- 12021 src/liblzma/api/lzma/index.h | 204 ++++++- 12022 src/liblzma/api/lzma/index_hash.h | 94 +++ 12023 src/liblzma/api/lzma/info.h | 315 ---------- 12024 src/liblzma/api/lzma/lzma.h | 2 +- 12025 src/liblzma/api/lzma/metadata.h | 100 --- 12026 src/liblzma/api/lzma/raw.h | 20 +- 12027 src/liblzma/api/lzma/stream.h | 157 +---- 12028 src/liblzma/api/lzma/stream_flags.h | 146 +++-- 12029 src/liblzma/api/lzma/version.h | 2 +- 12030 src/liblzma/api/lzma/vli.h | 83 ++- 12031 src/liblzma/check/Makefile.am | 1 - 12032 src/liblzma/check/check.c | 55 +- 12033 src/liblzma/check/check.h | 47 +- 12034 src/liblzma/check/check_byteswap.h | 43 -- 12035 src/liblzma/check/crc32_init.c | 2 +- 12036 src/liblzma/check/crc64_init.c | 2 +- 12037 src/liblzma/check/crc_macros.h | 2 +- 12038 src/liblzma/check/sha256.c | 53 +- 12039 src/liblzma/common/Makefile.am | 31 +- 12040 src/liblzma/common/alignment.c | 5 +- 12041 src/liblzma/common/alone_decoder.c | 77 +-- 12042 src/liblzma/common/alone_encoder.c | 99 ++- 12043 src/liblzma/common/auto_decoder.c | 18 +- 12044 src/liblzma/common/block_decoder.c | 298 +++------ 12045 src/liblzma/common/block_encoder.c | 228 ++----- 12046 src/liblzma/common/block_header_decoder.c | 400 +++--------- 12047 src/liblzma/common/block_header_encoder.c | 207 +++---- 12048 src/liblzma/common/block_private.h | 51 +- 12049 src/liblzma/common/block_util.c | 73 +++ 12050 src/liblzma/common/common.h | 44 +- 12051 src/liblzma/common/copy_coder.c | 144 ----- 12052 src/liblzma/common/copy_coder.h | 31 - 12053 src/liblzma/common/delta_common.c | 4 - 12054 src/liblzma/common/delta_common.h | 4 - 12055 src/liblzma/common/delta_decoder.c | 55 +- 12056 src/liblzma/common/delta_encoder.c | 7 +- 12057 src/liblzma/common/easy.c | 122 ++++ 12058 src/liblzma/common/easy_common.c | 54 -- 12059 src/liblzma/common/easy_common.h | 28 - 12060 src/liblzma/common/easy_multi.c | 103 ---- 12061 src/liblzma/common/easy_single.c | 37 -- 12062 src/liblzma/common/extra.c | 34 -- 12063 src/liblzma/common/features.c | 4 - 12064 src/liblzma/common/filter_flags_decoder.c | 384 ++++-------- 12065 src/liblzma/common/filter_flags_encoder.c | 120 +--- 12066 src/liblzma/common/index.c | 773 ++++++++++++++++++++--- 12067 src/liblzma/common/index.h | 67 ++ 12068 src/liblzma/common/index_decoder.c | 252 ++++++++ 12069 src/liblzma/common/index_encoder.c | 222 +++++++ 12070 src/liblzma/common/index_encoder.h | 30 + 12071 src/liblzma/common/index_hash.c | 340 +++++++++++ 12072 src/liblzma/common/info.c | 814 ------------------------- 12073 src/liblzma/common/memory_usage.c | 1 - 12074 src/liblzma/common/metadata_decoder.c | 578 ------------------ 12075 src/liblzma/common/metadata_decoder.h | 31 - 12076 src/liblzma/common/metadata_encoder.c | 435 ------------- 12077 src/liblzma/common/metadata_encoder.h | 30 - 12078 src/liblzma/common/raw_common.c | 178 ++---- 12079 src/liblzma/common/raw_common.h | 5 +- 12080 src/liblzma/common/raw_decoder.c | 19 +- 12081 src/liblzma/common/raw_decoder.h | 3 +- 12082 src/liblzma/common/raw_encoder.c | 101 +-- 12083 src/liblzma/common/raw_encoder.h | 3 +- 12084 src/liblzma/common/stream_common.h | 3 + 12085 src/liblzma/common/stream_decoder.c | 458 +++++--------- 12086 src/liblzma/common/stream_decoder.h | 28 + 12087 src/liblzma/common/stream_encoder.c | 282 +++++++++ 12088 src/liblzma/common/stream_encoder.h | 30 + 12089 src/liblzma/common/stream_encoder_multi.c | 445 -------------- 12090 src/liblzma/common/stream_encoder_multi.h | 26 - 12091 src/liblzma/common/stream_encoder_single.c | 219 ------- 12092 src/liblzma/common/stream_flags_decoder.c | 260 ++------ 12093 src/liblzma/common/stream_flags_encoder.c | 56 +- 12094 src/liblzma/common/stream_flags_equal.c | 36 ++ 12095 src/liblzma/common/vli_decoder.c | 68 ++- 12096 src/liblzma/common/vli_encoder.c | 59 +- 12097 src/liblzma/common/vli_reverse_decoder.c | 55 -- 12098 src/liblzma/lz/lz_decoder.c | 6 +- 12099 src/liblzma/lz/lz_decoder.h | 10 +- 12100 src/liblzma/lzma/lzma_decoder.c | 13 +- 12101 src/liblzma/lzma/lzma_decoder.h | 10 +- 12102 src/liblzma/simple/simple_coder.c | 29 +- 12103 src/liblzma/simple/simple_private.h | 4 - 12104 src/liblzma/subblock/subblock_decoder.c | 106 +--- 12105 src/liblzma/subblock/subblock_decoder_helper.c | 5 +- 12106 src/liblzma/subblock/subblock_encoder.c | 8 +- 12107 src/lzma/args.c | 22 +- 12108 src/lzma/args.h | 2 - 12109 src/lzma/error.c | 6 + 12110 src/lzma/process.c | 26 +- 12111 src/lzmadec/lzmadec.c | 8 +- 12112 tests/Makefile.am | 5 +- 12113 tests/test_block_header.c | 411 +++++-------- 12114 tests/test_compress.sh | 65 +- 12115 tests/test_filter_flags.c | 116 ++-- 12116 tests/test_index.c | 504 ++++++++++++++- 12117 tests/test_info.c | 717 ---------------------- 12118 tests/test_stream_flags.c | 134 ++-- 12119 tests/tests.h | 14 +- 12120 115 files changed, 4846 insertions(+), 8156 deletions(-) 12121 12122commit bf6348d1a3ff09fdc06940468f318f75ffa6af11 12123Author: Lasse Collin <lasse.collin@tukaani.org> 12124Date: 2008-06-17 15:03:46 +0300 12125 12126 Update the file format specification draft. The new one is 12127 a lot simpler than the previous versions, but it also means 12128 that the existing code will change a lot. 12129 12130 doc/file-format.txt | 1794 +++++++++++++++------------------------------------ 12131 1 file changed, 508 insertions(+), 1286 deletions(-) 12132 12133commit 803194ddd26f01ff60ba4e9924c6087a56b29827 12134Author: Lasse Collin <lasse.collin@tukaani.org> 12135Date: 2008-06-11 21:42:47 +0300 12136 12137 Fix uninitialized variable in LZMA encoder. This was 12138 introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f. 12139 12140 src/liblzma/lzma/lzma_encoder_init.c | 2 ++ 12141 1 file changed, 2 insertions(+) 12142 12143commit 0ea98e52ba87453497b1355c51f13bad55c8924a 12144Author: Lasse Collin <lasse.collin@tukaani.org> 12145Date: 2008-06-11 15:08:44 +0300 12146 12147 Improve command line integer parsing a little in lzma and 12148 lzmadec to make them accept also KiB in addition Ki etc. 12149 Fix also memory usage information in lzmadec --help. 12150 12151 src/lzma/util.c | 23 ++++++++++++++--------- 12152 src/lzmadec/lzmadec.c | 31 ++++++++++++++++++------------- 12153 2 files changed, 32 insertions(+), 22 deletions(-) 12154 12155commit 436fa5fae96d4e35759aed33066060f09ee8c6ef 12156Author: Lasse Collin <lasse.collin@tukaani.org> 12157Date: 2008-06-10 20:36:12 +0300 12158 12159 s/decompressed/compressed/ in the command line tool's 12160 error message. 12161 12162 src/lzma/main.c | 2 +- 12163 1 file changed, 1 insertion(+), 1 deletion(-) 12164 12165commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f 12166Author: Lasse Collin <lasse.collin@tukaani.org> 12167Date: 2008-06-01 12:48:17 +0300 12168 12169 Fix a buffer overflow in the LZMA encoder. It was due to my 12170 misunderstanding of the code. There's no tiny fix for this 12171 problem, so I also cleaned up the code in general. 12172 12173 This reduces the speed of the encoder 2-5 % in the fastest 12174 compression mode ("lzma -1"). High compression modes should 12175 have no noticeable performance difference. 12176 12177 This commit breaks things (especially LZMA_SYNC_FLUSH) but I 12178 will fix them once the new format and LZMA2 has been roughly 12179 implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all 12180 and won't be supported in the new .lzma format. This may 12181 change still but this is what it looks like now. 12182 12183 Support for known uncompressed size (that is, LZMA or LZMA2 12184 without EOPM) is likely to go away. This means there will 12185 be API changes. 12186 12187 src/liblzma/lz/lz_encoder.c | 113 +---- 12188 src/liblzma/lz/lz_encoder.h | 18 +- 12189 src/liblzma/lzma/lzma_encoder.c | 551 ++++++++++++------------- 12190 src/liblzma/lzma/lzma_encoder_getoptimum.c | 59 ++- 12191 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 4 +- 12192 src/liblzma/lzma/lzma_encoder_init.c | 9 +- 12193 src/liblzma/lzma/lzma_encoder_private.h | 15 +- 12194 src/liblzma/rangecoder/range_encoder.h | 383 +++++++++-------- 12195 8 files changed, 532 insertions(+), 620 deletions(-) 12196 12197commit e55e0e873ce2511325749d415ae547d62ab5f00d 12198Author: Lasse Collin <lasse.collin@tukaani.org> 12199Date: 2008-05-30 11:53:41 +0300 12200 12201 Typo fixes from meyering. 12202 12203 doc/faq.txt | 4 ++-- 12204 doc/liblzma-advanced.txt | 2 +- 12205 2 files changed, 3 insertions(+), 3 deletions(-) 12206 12207commit ed6664146fcbe9cc4a3b23b31632182ed812ea93 12208Author: Lasse Collin <lasse.collin@tukaani.org> 12209Date: 2008-05-11 14:24:42 +0300 12210 12211 Remove support for pre-C89 libc versions that lack memcpy, 12212 memmove, and memset. 12213 12214 configure.ac | 2 +- 12215 src/common/sysdefs.h | 15 ++------------- 12216 src/liblzma/common/allocator.c | 2 +- 12217 3 files changed, 4 insertions(+), 15 deletions(-) 12218 12219commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63 12220Author: Lasse Collin <lasse.collin@tukaani.org> 12221Date: 2008-05-11 14:17:21 +0300 12222 12223 Improved C99 compiler detection in configure.ac. It will 12224 pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic 12225 should still give warnings about GNU extensions like before 12226 except with some special keywords like asm(). 12227 12228 configure.ac | 24 ++++++++++++------------ 12229 1 file changed, 12 insertions(+), 12 deletions(-) 12230 12231commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf 12232Author: Lasse Collin <lasse.collin@tukaani.org> 12233Date: 2008-05-06 15:15:07 +0300 12234 12235 Bunch of grammar fixes from meyering. 12236 12237 doc/liblzma-security.txt | 8 ++++---- 12238 src/liblzma/api/lzma/memlimit.h | 6 +++--- 12239 src/lzma/help.c | 2 +- 12240 tests/files/README | 2 +- 12241 4 files changed, 9 insertions(+), 9 deletions(-) 12242 12243commit dc192b6343ae36276c85fcf7ef6006147816eadc 12244Author: Lasse Collin <lasse.collin@tukaani.org> 12245Date: 2008-05-06 13:41:05 +0300 12246 12247 Typo fix 12248 12249 src/liblzma/api/lzma/init.h | 2 +- 12250 1 file changed, 1 insertion(+), 1 deletion(-) 12251 12252commit 944b62b93239b27b338d117f2668c0e95849659b 12253Author: Lasse Collin <lasse.collin@tukaani.org> 12254Date: 2008-05-04 22:29:27 +0300 12255 12256 Don't print an error message on broken pipe unless --verbose 12257 is used. 12258 12259 src/lzma/io.c | 15 ++++++++++++++- 12260 1 file changed, 14 insertions(+), 1 deletion(-) 12261 12262commit 8e074349e47ea6832b8fdf9244e581d453733433 12263Author: Lasse Collin <lasse.collin@tukaani.org> 12264Date: 2008-04-30 22:16:17 +0300 12265 12266 Fix a crash with --format=alone if other filters than LZMA 12267 are specified on the command line. 12268 12269 src/lzma/args.c | 9 +++++++++ 12270 1 file changed, 9 insertions(+) 12271 12272commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73 12273Author: Lasse Collin <lasse.collin@tukaani.org> 12274Date: 2008-04-28 17:08:27 +0300 12275 12276 Updated THANKS. 12277 12278 THANKS | 1 + 12279 1 file changed, 1 insertion(+) 12280 12281commit 3be21fb12f4cec2cf07799e8960382f4cb375369 12282Author: Lasse Collin <lasse.collin@tukaani.org> 12283Date: 2008-04-28 17:06:34 +0300 12284 12285 Fixed wrong spelling "limitter" to "limiter". This affects 12286 liblzma's API. 12287 12288 doc/liblzma-security.txt | 14 +- 12289 src/liblzma/api/lzma/base.h | 4 +- 12290 src/liblzma/api/lzma/memlimit.h | 10 +- 12291 src/liblzma/api/lzma/stream.h | 4 +- 12292 src/liblzma/common/Makefile.am | 2 +- 12293 src/liblzma/common/memory_limiter.c | 288 +++++++++++++++++++++++++++++++++++ 12294 src/liblzma/common/memory_limitter.c | 288 ----------------------------------- 12295 src/lzma/list.c | 6 +- 12296 src/lzmadec/lzmadec.c | 12 +- 12297 tests/test_memlimit.c | 4 +- 12298 10 files changed, 316 insertions(+), 316 deletions(-) 12299 12300commit beeb81060821dfec4e7898e0d44b7900dcb2215e 12301Author: Lasse Collin <lasse.collin@tukaani.org> 12302Date: 2008-04-25 15:39:50 +0300 12303 12304 Prevent LZ encoder from hanging with known uncompressed 12305 size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream 12306 with known uncompressed size, but since it currently seems 12307 likely that support for encoding with known uncompressed 12308 size will go away anyway, I'm not fixing this problem now. 12309 12310 src/liblzma/lz/lz_encoder.c | 9 +++++++-- 12311 1 file changed, 7 insertions(+), 2 deletions(-) 12312 12313commit c324325f9f13cdeb92153c5d00962341ba070ca2 12314Author: Lasse Collin <lasse.collin@tukaani.org> 12315Date: 2008-04-25 13:58:56 +0300 12316 12317 Removed src/liblzma/common/sysdefs.h symlink, which was 12318 annoying, because "make dist" put two copies of sysdefs.h 12319 into the tarball instead of the symlink. 12320 12321 src/liblzma/check/crc32_table.c | 2 +- 12322 src/liblzma/check/crc64_table.c | 2 +- 12323 src/liblzma/common/Makefile.am | 1 - 12324 src/liblzma/common/common.h | 2 +- 12325 src/liblzma/common/sysdefs.h | 1 - 12326 5 files changed, 3 insertions(+), 5 deletions(-) 12327 12328commit d3ba30243c75c13d094de1793f9c58acdbacc692 12329Author: Lasse Collin <lasse.collin@tukaani.org> 12330Date: 2008-04-25 13:41:29 +0300 12331 12332 Added memusage.c to debug directory. 12333 12334 debug/Makefile.am | 3 ++- 12335 debug/memusage.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 12336 2 files changed, 57 insertions(+), 1 deletion(-) 12337 12338commit 8f804c29aa8471ccd6438ddca254092b8869ca52 12339Author: Lasse Collin <lasse.collin@tukaani.org> 12340Date: 2008-04-25 13:32:35 +0300 12341 12342 Bumped version number to 4.999.3alpha. It will become 5.0.0 12343 once we have a stable release (won't be very soon). The 12344 version number is no longer related to version of LZMA SDK. 12345 12346 Made some small Automake-related changes to toplevel 12347 Makefile.am and configure.ac. 12348 12349 Makefile.am | 7 +++++-- 12350 README | 29 +++++++++++++++++++++++++++++ 12351 configure.ac | 4 ++-- 12352 src/liblzma/api/lzma/version.h | 22 ++++++++++------------ 12353 4 files changed, 46 insertions(+), 16 deletions(-) 12354 12355commit c99037ea10f121cbacf60c37a36c29768ae53447 12356Author: Lasse Collin <lasse.collin@tukaani.org> 12357Date: 2008-04-24 20:25:39 +0300 12358 12359 Fix a memory leak by calling free(extra->data) in 12360 lzma_extra_free(). 12361 12362 src/liblzma/common/extra.c | 1 + 12363 1 file changed, 1 insertion(+) 12364 12365commit 22ba3b0b5043fa481903482ce85015fe775939e5 12366Author: Lasse Collin <lasse.collin@tukaani.org> 12367Date: 2008-04-24 20:23:05 +0300 12368 12369 Make unlzma and lzcat symlinks. 12370 12371 src/lzma/Makefile.am | 12 ++++++++++++ 12372 1 file changed, 12 insertions(+) 12373 12374commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e 12375Author: Lasse Collin <lasse.collin@tukaani.org> 12376Date: 2008-04-24 20:20:27 +0300 12377 12378 Fixed a bug in command line option parsing. 12379 12380 src/lzma/options.c | 2 +- 12381 1 file changed, 1 insertion(+), 1 deletion(-) 12382 12383commit 283f939974c32c47f05d495e8dea455ec646ed64 12384Author: Lasse Collin <lasse.collin@tukaani.org> 12385Date: 2008-04-24 20:19:20 +0300 12386 12387 Added two assert()s. 12388 12389 src/liblzma/lzma/lzma_encoder.c | 4 +++- 12390 1 file changed, 3 insertions(+), 1 deletion(-) 12391 12392commit eb348a60b6e19a7c093f892434f23c4756973ffd 12393Author: Lasse Collin <lasse.collin@tukaani.org> 12394Date: 2008-04-24 19:22:53 +0300 12395 12396 Switch to uint16_t as the type of range coder probabilities. 12397 12398 src/liblzma/rangecoder/range_common.h | 25 +++++++++++++++++++------ 12399 1 file changed, 19 insertions(+), 6 deletions(-) 12400 12401commit 6c5306e312bcfd254cf654f88c04e34ba786df3d 12402Author: Lasse Collin <lasse.collin@tukaani.org> 12403Date: 2008-04-24 18:39:57 +0300 12404 12405 Fix wrong return type (uint32_t -> bool). 12406 12407 src/liblzma/lz/lz_encoder.c | 2 +- 12408 src/liblzma/lz/lz_encoder.h | 2 +- 12409 2 files changed, 2 insertions(+), 2 deletions(-) 12410 12411commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8 12412Author: Lasse Collin <lasse.collin@tukaani.org> 12413Date: 2008-04-24 18:38:00 +0300 12414 12415 Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH. 12416 12417 src/liblzma/lz/lz_encoder.c | 16 ++++++++++++++++ 12418 src/liblzma/lz/lz_encoder.h | 4 ++++ 12419 src/liblzma/lz/match_c.h | 23 ++++++++++++++++++----- 12420 3 files changed, 38 insertions(+), 5 deletions(-) 12421 12422commit bc04486e368d20b3027cde625267762aae063965 12423Author: Lasse Collin <lasse.collin@tukaani.org> 12424Date: 2008-04-24 17:33:01 +0300 12425 12426 Fix fastpos problem in Makefile.am when built with --enable-small. 12427 12428 src/liblzma/lzma/Makefile.am | 5 ++++- 12429 1 file changed, 4 insertions(+), 1 deletion(-) 12430 12431commit 7ab493924e0ed590a5121a15ee54038d238880d3 12432Author: Lasse Collin <lasse.collin@tukaani.org> 12433Date: 2008-04-24 17:30:51 +0300 12434 12435 Use 64-bit integer as range encoder's cache size. This fixes a 12436 theoretical data corruption, which should be very hard to trigger 12437 even intentionally. 12438 12439 src/liblzma/rangecoder/range_encoder.h | 2 +- 12440 1 file changed, 1 insertion(+), 1 deletion(-) 12441 12442commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b 12443Author: Lasse Collin <lasse.collin@tukaani.org> 12444Date: 2008-03-24 16:38:40 +0200 12445 12446 Replaced the range decoder optimization that used arithmetic 12447 right shift with as fast version that doesn't need 12448 arithmetic right shift. Removed the related check from 12449 configure.ac. 12450 12451 configure.ac | 1 - 12452 m4/ax_c_arithmetic_rshift.m4 | 36 ----------------------- 12453 src/liblzma/rangecoder/range_decoder.h | 53 ++++++++++------------------------ 12454 3 files changed, 16 insertions(+), 74 deletions(-) 12455 12456commit ad999efd279d95f1e7ac555b14170e8e9020488c 12457Author: Lasse Collin <lasse.collin@tukaani.org> 12458Date: 2008-03-22 14:39:34 +0200 12459 12460 Take advantage of arithmetic right shift in range decoder. 12461 12462 src/liblzma/rangecoder/range_decoder.h | 52 ++++++++++++++++++++++++---------- 12463 1 file changed, 37 insertions(+), 15 deletions(-) 12464 12465commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d 12466Author: Lasse Collin <lasse.collin@tukaani.org> 12467Date: 2008-03-22 14:18:29 +0200 12468 12469 Added autoconf check to detect if we can use arithmetic 12470 right shift for optimizations. 12471 12472 configure.ac | 1 + 12473 m4/ax_c_arithmetic_rshift.m4 | 36 ++++++++++++++++++++++++++++++++++++ 12474 2 files changed, 37 insertions(+) 12475 12476commit 7521bbdc83acab834594a22bec50c8e1bd836298 12477Author: Lasse Collin <lasse.collin@tukaani.org> 12478Date: 2008-03-22 01:26:36 +0200 12479 12480 Update a comment to use the variable name rep_len_decoder. 12481 12482 (And BTW, the previous commit actually did change the 12483 program logic slightly.) 12484 12485 src/liblzma/lzma/lzma_decoder.c | 2 +- 12486 1 file changed, 1 insertion(+), 1 deletion(-) 12487 12488commit 63b74d000eedaebb8485f623e56864ff5ab71064 12489Author: Lasse Collin <lasse.collin@tukaani.org> 12490Date: 2008-03-22 00:57:33 +0200 12491 12492 Demystified the "state" variable in LZMA code. Use the 12493 word literal instead of char for better consistency. 12494 There are still some names with _char instead of _literal 12495 in lzma_optimum, these may be changed later. 12496 12497 Renamed length coder variables. 12498 12499 This commit doesn't change the program logic. 12500 12501 src/liblzma/lzma/lzma_common.h | 69 ++++++++++++++++++++++-------- 12502 src/liblzma/lzma/lzma_decoder.c | 47 ++++++++++---------- 12503 src/liblzma/lzma/lzma_encoder.c | 14 +++--- 12504 src/liblzma/lzma/lzma_encoder_getoptimum.c | 34 +++++++-------- 12505 src/liblzma/lzma/lzma_encoder_init.c | 5 ++- 12506 src/liblzma/lzma/lzma_encoder_private.h | 8 ++-- 12507 6 files changed, 107 insertions(+), 70 deletions(-) 12508 12509commit e6eb0a26757e851cef62b9440319a8e73b015cb9 12510Author: Lasse Collin <lasse.collin@tukaani.org> 12511Date: 2008-03-14 23:16:11 +0200 12512 12513 Fix data corruption in LZMA encoder. Note that this bug was 12514 specific to liblzma and was *not* present in LZMA SDK. 12515 12516 src/liblzma/lzma/lzma_encoder.c | 4 ++++ 12517 1 file changed, 4 insertions(+) 12518 12519commit 7d516f5129e4373a6d57249d7f608c634c66bf12 12520Author: Lasse Collin <lasse.collin@tukaani.org> 12521Date: 2008-03-14 21:32:37 +0200 12522 12523 Fix a comment API header. 12524 12525 src/liblzma/api/lzma/lzma.h | 2 +- 12526 1 file changed, 1 insertion(+), 1 deletion(-) 12527 12528commit 748d6e4274921a350bd0a317380309717441ef9c 12529Author: Lasse Collin <lasse.collin@tukaani.org> 12530Date: 2008-03-12 23:14:50 +0200 12531 12532 Make lzma_stream.next_in const. Let's see if anyone complains. 12533 12534 src/liblzma/api/lzma/base.h | 2 +- 12535 1 file changed, 1 insertion(+), 1 deletion(-) 12536 12537commit bfde3b24a5ae25ce53c854762b6148952386b025 12538Author: Lasse Collin <lasse.collin@tukaani.org> 12539Date: 2008-03-11 15:35:34 +0200 12540 12541 Apply a minor speed optimization to LZMA decoder. 12542 12543 src/liblzma/lzma/lzma_decoder.c | 85 +++++++++++++++++++++-------------------- 12544 1 file changed, 43 insertions(+), 42 deletions(-) 12545 12546commit f310c50286d9e4e9c6170bb65348c9bb430a65b4 12547Author: Lasse Collin <lasse.collin@tukaani.org> 12548Date: 2008-03-11 15:17:16 +0200 12549 12550 Initialize the last byte of the dictionary to zero so that 12551 lz_get_byte(lz, 0) returns zero. This was broken by 12552 1a3b21859818e4d8e89a1da99699233c1bfd197d. 12553 12554 src/liblzma/lz/lz_decoder.c | 1 + 12555 1 file changed, 1 insertion(+) 12556 12557commit 5ead36cf7f823093672a4e43c3180b38c9abbaff 12558Author: Lasse Collin <lasse.collin@tukaani.org> 12559Date: 2008-03-10 15:57:55 +0200 12560 12561 Really fix the price count initialization. 12562 12563 src/liblzma/lzma/lzma_encoder_init.c | 4 ++-- 12564 1 file changed, 2 insertions(+), 2 deletions(-) 12565 12566commit d4d7feb83d1a1ded8f662a82e21e053841ca726c 12567Author: Lasse Collin <lasse.collin@tukaani.org> 12568Date: 2008-03-10 13:47:17 +0200 12569 12570 Updated THANKS. 12571 12572 THANKS | 1 + 12573 1 file changed, 1 insertion(+) 12574 12575commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258 12576Author: Lasse Collin <lasse.collin@tukaani.org> 12577Date: 2008-03-10 13:46:48 +0200 12578 12579 Initialize align_price_count and match_price_count in 12580 lzma_encoder_init.c. While we don't call 12581 fill_distances_prices() and fill_align_prices() in 12582 lzma_lzma_encoder_init(), we still need to initialize 12583 these two variables so that the fill functions get 12584 called in lzma_encoder_getoptimum.c in the beginning 12585 of a stream. 12586 12587 src/liblzma/lzma/lzma_encoder_init.c | 2 ++ 12588 1 file changed, 2 insertions(+) 12589 12590commit 596fa1fac72823e4ef5bc26bb53f9090445bf748 12591Author: Lasse Collin <lasse.collin@tukaani.org> 12592Date: 2008-03-10 13:44:29 +0200 12593 12594 Always initialize lz->temp_size in lz_decoder.c. temp_size did 12595 get initialized as a side-effect after allocating a new decoder, 12596 but not when the decoder was reused. 12597 12598 src/liblzma/lz/lz_decoder.c | 11 ++++++----- 12599 1 file changed, 6 insertions(+), 5 deletions(-) 12600 12601commit 45e43e169527e7a98a8c8a821d37bf25822b764d 12602Author: Lasse Collin <lasse.collin@tukaani.org> 12603Date: 2008-03-10 13:41:25 +0200 12604 12605 Don't fill allocated memory with 0xFD when debugging is 12606 enabled. It hides errors from Valgrind. 12607 12608 src/liblzma/common/allocator.c | 7 ++++--- 12609 1 file changed, 4 insertions(+), 3 deletions(-) 12610 12611commit c0e19e0662205f81a86da8903cdc325d50635870 12612Author: Lasse Collin <lasse.collin@tukaani.org> 12613Date: 2008-02-28 10:24:31 +0200 12614 12615 Remove two redundant validity checks from the LZMA decoder. 12616 These are already checked elsewhere, so omitting these 12617 gives (very) tiny speed up. 12618 12619 src/liblzma/lzma/lzma_decoder.c | 23 ++++------------------- 12620 1 file changed, 4 insertions(+), 19 deletions(-) 12621 12622commit de7485806284d1614095ae8cb2ebbb5d74c9ac45 12623Author: Lasse Collin <lasse.collin@tukaani.org> 12624Date: 2008-02-06 13:25:32 +0200 12625 12626 Tiny clean up to file-format.txt. 12627 12628 doc/file-format.txt | 6 +++--- 12629 1 file changed, 3 insertions(+), 3 deletions(-) 12630 12631commit 1a3b21859818e4d8e89a1da99699233c1bfd197d 12632Author: Lasse Collin <lasse.collin@tukaani.org> 12633Date: 2008-02-02 14:51:06 +0200 12634 12635 Don't memzero() the history buffer when initializing LZ 12636 decoder. There's no danger of information leak here, so 12637 it isn't required. Doing memzero() takes a lot of time 12638 with large dictionaries, which could make it easier to 12639 construct DoS attack to consume too much CPU time. 12640 12641 src/liblzma/lz/lz_decoder.c | 7 +++---- 12642 1 file changed, 3 insertions(+), 4 deletions(-) 12643 12644commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0 12645Author: Lasse Collin <lasse.collin@tukaani.org> 12646Date: 2008-02-01 08:39:26 +0200 12647 12648 Do uncompressed size validation in raw encoder. This way 12649 it gets done for not only raw encoder, but also Block 12650 and LZMA_Alone encoders. 12651 12652 src/liblzma/common/raw_encoder.c | 90 ++++++++++++++++++++++++++++++++-------- 12653 1 file changed, 73 insertions(+), 17 deletions(-) 12654 12655commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc 12656Author: Lasse Collin <lasse.collin@tukaani.org> 12657Date: 2008-02-01 08:32:05 +0200 12658 12659 Avoid unneeded function call in raw_common.c. 12660 12661 src/liblzma/common/raw_common.c | 20 +++++++++++--------- 12662 1 file changed, 11 insertions(+), 9 deletions(-) 12663 12664commit b596fac963c3ff96f615d4d9b427a213ec341211 12665Author: Lasse Collin <lasse.collin@tukaani.org> 12666Date: 2008-01-26 21:42:38 +0200 12667 12668 Updated THANKS. 12669 12670 THANKS | 1 + 12671 1 file changed, 1 insertion(+) 12672 12673commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2 12674Author: Lasse Collin <lasse.collin@tukaani.org> 12675Date: 2008-01-26 21:40:23 +0200 12676 12677 Added note.GNU-stack to x86 assembler files. It is needed 12678 when using non-executable stack. 12679 12680 src/liblzma/check/crc32_x86.S | 9 +++++++++ 12681 src/liblzma/check/crc64_x86.S | 9 +++++++++ 12682 2 files changed, 18 insertions(+) 12683 12684commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae 12685Author: Lasse Collin <lasse.collin@tukaani.org> 12686Date: 2008-01-26 19:12:50 +0200 12687 12688 Added api/lzma/easy.h. I had forgot to add this to the 12689 git repo. Thanks to Stephan Kulow. 12690 12691 src/liblzma/api/lzma/easy.h | 174 ++++++++++++++++++++++++++++++++++++++++++++ 12692 1 file changed, 174 insertions(+) 12693 12694commit 288b232f54c3692cd36f471d4042f51daf3ea79f 12695Author: Lasse Collin <lasse.collin@tukaani.org> 12696Date: 2008-01-26 11:09:17 +0200 12697 12698 Added more test files. 12699 12700 tests/files/README | 11 +++++++++++ 12701 tests/files/bad-multi-none-header_7.lzma | Bin 0 -> 59 bytes 12702 tests/files/good-single-sparc-lzma.lzma | Bin 0 -> 2263 bytes 12703 tests/files/good-single-x86-lzma.lzma | Bin 0 -> 1909 bytes 12704 4 files changed, 11 insertions(+) 12705 12706commit c467b0defccf233d0c79234407bc38d7d09574d3 12707Author: Lasse Collin <lasse.collin@tukaani.org> 12708Date: 2008-01-26 10:47:55 +0200 12709 12710 Added more test files. 12711 12712 tests/files/README | 6 ++++++ 12713 tests/files/bad-multi-none-block_3.lzma | Bin 0 -> 58 bytes 12714 tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes 12715 3 files changed, 6 insertions(+) 12716 12717commit f9842f712732c482f2def9f24437851e57dd83f8 12718Author: Lasse Collin <lasse.collin@tukaani.org> 12719Date: 2008-01-26 00:25:34 +0200 12720 12721 Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any 12722 of the so called simple filters. If there is demand, limited 12723 support for LZMA_SYNC_FLUSH may be added in future. 12724 12725 After this commit, using LZMA_SYNC_FLUSH shouldn't cause 12726 undefined behavior in any situation. 12727 12728 src/liblzma/api/lzma/simple.h | 9 +++++++++ 12729 src/liblzma/simple/simple_coder.c | 8 ++++++++ 12730 2 files changed, 17 insertions(+) 12731 12732commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa 12733Author: Lasse Collin <lasse.collin@tukaani.org> 12734Date: 2008-01-25 23:50:35 +0200 12735 12736 Added more Multi-Block test files. Improved some 12737 descriptions in the test files' README. 12738 12739 tests/files/README | 34 +++++++++++++++++++++++++------ 12740 tests/files/bad-multi-none-block_1.lzma | Bin 0 -> 66 bytes 12741 tests/files/bad-multi-none-block_2.lzma | Bin 0 -> 66 bytes 12742 tests/files/good-multi-none-block_1.lzma | Bin 0 -> 66 bytes 12743 4 files changed, 28 insertions(+), 6 deletions(-) 12744 12745commit 4441e004185cd4c61bda184010eca5924c9dec87 12746Author: Lasse Collin <lasse.collin@tukaani.org> 12747Date: 2008-01-25 23:12:36 +0200 12748 12749 Combine lzma_options_block validation needed by both Block 12750 encoder and decoder, and put the shared things to 12751 block_private.h. Improved the checks a little so that 12752 they may detect too big Compressed Size at initialization 12753 time if lzma_options_block.total_size or .total_limit is 12754 known. 12755 12756 Allow encoding and decoding Blocks with combinations of 12757 fields that are not allowed by the file format specification. 12758 Doing this requires that the application passes such a 12759 combination in lzma_options_lzma; liblzma doesn't do that, 12760 but it's not impossible that someone could find them useful 12761 in some custom file format. 12762 12763 src/liblzma/common/block_decoder.c | 37 ++++++++++++---------------- 12764 src/liblzma/common/block_encoder.c | 32 +++++------------------- 12765 src/liblzma/common/block_private.h | 50 ++++++++++++++++++++++++++++++++++++++ 12766 3 files changed, 71 insertions(+), 48 deletions(-) 12767 12768commit bf4200c818fcf9102e56328d39cde91bfa13cfb6 12769Author: Lasse Collin <lasse.collin@tukaani.org> 12770Date: 2008-01-25 19:21:22 +0200 12771 12772 Added test_memlimit.c. 12773 12774 tests/Makefile.am | 2 + 12775 tests/test_memlimit.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++ 12776 2 files changed, 116 insertions(+) 12777 12778commit 7b8fc7e6b501a32a36636dac79ecb57099269005 12779Author: Lasse Collin <lasse.collin@tukaani.org> 12780Date: 2008-01-25 19:20:28 +0200 12781 12782 Improved the memory limitter: 12783 - Added lzma_memlimit_max() and lzma_memlimit_reached() 12784 API functions. 12785 - Added simple estimation of malloc()'s memory usage 12786 overhead. 12787 - Fixed integer overflow detection in lzma_memlimit_alloc(). 12788 - Made some white space cleanups and added more comments. 12789 12790 The description of lzma_memlimit_max() in memlimit.h is bad 12791 and should be improved. 12792 12793 src/liblzma/api/lzma/memlimit.h | 35 +++++++++++++ 12794 src/liblzma/common/memory_limitter.c | 97 ++++++++++++++++++++++++++++++------ 12795 2 files changed, 118 insertions(+), 14 deletions(-) 12796 12797commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db 12798Author: Lasse Collin <lasse.collin@tukaani.org> 12799Date: 2008-01-25 13:55:52 +0200 12800 12801 Use more parenthesis in succeed() macro in tests/tests.h. 12802 12803 tests/tests.h | 2 +- 12804 1 file changed, 1 insertion(+), 1 deletion(-) 12805 12806commit 1fd76d488179580d37f31ee11948f4932aed31fd 12807Author: Lasse Collin <lasse.collin@tukaani.org> 12808Date: 2008-01-24 14:49:34 +0200 12809 12810 Added more Multi-Block Stream test files. 12811 12812 tests/files/README | 23 +++++++++++++++++++++++ 12813 tests/files/bad-multi-none-header_2.lzma | Bin 0 -> 61 bytes 12814 tests/files/bad-multi-none-header_3.lzma | Bin 0 -> 59 bytes 12815 tests/files/bad-multi-none-header_4.lzma | Bin 0 -> 59 bytes 12816 tests/files/bad-multi-none-header_5.lzma | Bin 0 -> 58 bytes 12817 tests/files/bad-multi-none-header_6.lzma | Bin 0 -> 59 bytes 12818 tests/files/good-multi-none-header_3.lzma | Bin 0 -> 59 bytes 12819 7 files changed, 23 insertions(+) 12820 12821commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936 12822Author: Lasse Collin <lasse.collin@tukaani.org> 12823Date: 2008-01-24 00:46:05 +0200 12824 12825 Added bunch of test files containing Multi-Block Streams. 12826 12827 tests/files/README | 53 ++++++++++++++++++++++++++++++ 12828 tests/files/bad-multi-none-1.lzma | Bin 0 -> 54 bytes 12829 tests/files/bad-multi-none-2.lzma | Bin 0 -> 53 bytes 12830 tests/files/bad-multi-none-3.lzma | Bin 0 -> 53 bytes 12831 tests/files/bad-multi-none-extra_1.lzma | Bin 0 -> 54 bytes 12832 tests/files/bad-multi-none-extra_2.lzma | Bin 0 -> 54 bytes 12833 tests/files/bad-multi-none-extra_3.lzma | Bin 0 -> 55 bytes 12834 tests/files/bad-multi-none-header_1.lzma | Bin 0 -> 57 bytes 12835 tests/files/bad-multi-none-index_1.lzma | Bin 0 -> 51 bytes 12836 tests/files/bad-multi-none-index_2.lzma | Bin 0 -> 49 bytes 12837 tests/files/bad-multi-none-index_3.lzma | Bin 0 -> 51 bytes 12838 tests/files/bad-multi-none-index_4.lzma | Bin 0 -> 51 bytes 12839 tests/files/good-multi-none-1.lzma | Bin 0 -> 75 bytes 12840 tests/files/good-multi-none-2.lzma | Bin 0 -> 53 bytes 12841 tests/files/good-multi-none-extra_1.lzma | Bin 0 -> 51 bytes 12842 tests/files/good-multi-none-extra_2.lzma | Bin 0 -> 79 bytes 12843 tests/files/good-multi-none-extra_3.lzma | Bin 0 -> 55 bytes 12844 tests/files/good-multi-none-header_1.lzma | Bin 0 -> 58 bytes 12845 tests/files/good-multi-none-header_2.lzma | Bin 0 -> 66 bytes 12846 19 files changed, 53 insertions(+) 12847 12848commit db9df0a9609c01a00a227329fb96e983971040f5 12849Author: Lasse Collin <lasse.collin@tukaani.org> 12850Date: 2008-01-23 23:43:00 +0200 12851 12852 Fix decoding of empty Metadata Blocks, that don't have 12853 even the Metadata Flags field. Earlier the code allowed 12854 such files; now they are prohibited as the file format 12855 specification requires. 12856 12857 src/liblzma/common/metadata_decoder.c | 4 +++- 12858 1 file changed, 3 insertions(+), 1 deletion(-) 12859 12860commit 765f0b05f6e95ed9194fb90819cee189ebbac36b 12861Author: Lasse Collin <lasse.collin@tukaani.org> 12862Date: 2008-01-23 23:38:18 +0200 12863 12864 Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6. 12865 lzma_metadata.header_metadata_size was not properly set to 12866 zero if the Metadata had only the Metadata Flags field. 12867 12868 src/liblzma/common/metadata_decoder.c | 13 +++++++------ 12869 1 file changed, 7 insertions(+), 6 deletions(-) 12870 12871commit 3a7cc5c3dec7b078941f961b0393b86c418883b6 12872Author: Lasse Collin <lasse.collin@tukaani.org> 12873Date: 2008-01-23 23:35:49 +0200 12874 12875 Fix decoding of Extra Records that have empty Data. 12876 12877 src/liblzma/common/metadata_decoder.c | 13 ++++++++++++- 12878 1 file changed, 12 insertions(+), 1 deletion(-) 12879 12880commit e5fdec93e273855c1bcc2579b83cfb481a9a1492 12881Author: Lasse Collin <lasse.collin@tukaani.org> 12882Date: 2008-01-23 22:02:38 +0200 12883 12884 Add the trailing '\0' to lzma_extra.data as the API header 12885 already documents. 12886 12887 src/liblzma/common/metadata_decoder.c | 4 +++- 12888 1 file changed, 3 insertions(+), 1 deletion(-) 12889 12890commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e 12891Author: Lasse Collin <lasse.collin@tukaani.org> 12892Date: 2008-01-23 21:21:21 +0200 12893 12894 Added debug/full_flush.c. 12895 12896 debug/Makefile.am | 3 +- 12897 debug/full_flush.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 12898 2 files changed, 107 insertions(+), 1 deletion(-) 12899 12900commit ae0cd09a666a1682da8fc09487322227679e218d 12901Author: Lasse Collin <lasse.collin@tukaani.org> 12902Date: 2008-01-23 21:05:33 +0200 12903 12904 Return LZMA_STREAM_END instead of LZMA_OK if 12905 LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when 12906 there's no unfinished Block open. 12907 12908 src/liblzma/common/stream_encoder_multi.c | 6 +++++- 12909 1 file changed, 5 insertions(+), 1 deletion(-) 12910 12911commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db 12912Author: Lasse Collin <lasse.collin@tukaani.org> 12913Date: 2008-01-23 20:05:01 +0200 12914 12915 Added bad-single-none-footer_filter_flags.lzma and 12916 bad-single-none-too_long_vli.lzma. 12917 12918 tests/files/README | 5 +++++ 12919 tests/files/bad-single-none-footer_filter_flags.lzma | Bin 0 -> 30 bytes 12920 tests/files/bad-single-none-too_long_vli.lzma | Bin 0 -> 39 bytes 12921 3 files changed, 5 insertions(+) 12922 12923commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd 12924Author: Lasse Collin <lasse.collin@tukaani.org> 12925Date: 2008-01-23 13:42:35 +0200 12926 12927 Fixed a typo. 12928 12929 src/liblzma/subblock/subblock_decoder_helper.c | 2 +- 12930 1 file changed, 1 insertion(+), 1 deletion(-) 12931 12932commit 980f65a9a10160c4d105767871e3002b9aaba3e0 12933Author: Lasse Collin <lasse.collin@tukaani.org> 12934Date: 2008-01-23 13:40:45 +0200 12935 12936 Fix a memory leak in the Subblock encoder. 12937 12938 src/liblzma/subblock/subblock_encoder.c | 1 + 12939 1 file changed, 1 insertion(+) 12940 12941commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6 12942Author: Lasse Collin <lasse.collin@tukaani.org> 12943Date: 2008-01-23 13:36:07 +0200 12944 12945 Fix Size of Header Metadata Block handling. Now 12946 lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN 12947 is not allowed at all. To indicate missing Header Metadata 12948 Block, header_metadata_size must be set to zero. This is 12949 what Metadata decoder does after this patch too. 12950 12951 Note that other missing fields in lzma_metadata are still 12952 indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as 12953 illogical as it sounds at first, because missing Size of 12954 Header Metadata Block means that Header Metadata Block is 12955 not present in the Stream. With other Metadata fields, 12956 a missing field means only that the value is unknown. 12957 12958 src/liblzma/common/info.c | 13 ++++--------- 12959 src/liblzma/common/metadata_decoder.c | 6 ++++++ 12960 src/liblzma/common/metadata_encoder.c | 11 +++++------ 12961 tests/test_info.c | 4 ++-- 12962 4 files changed, 17 insertions(+), 17 deletions(-) 12963 12964commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81 12965Author: Lasse Collin <lasse.collin@tukaani.org> 12966Date: 2008-01-23 13:15:55 +0200 12967 12968 Fix a memory leak in metadata_decoder.c. 12969 12970 src/liblzma/common/metadata_decoder.c | 1 + 12971 1 file changed, 1 insertion(+) 12972 12973commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae 12974Author: Lasse Collin <lasse.collin@tukaani.org> 12975Date: 2008-01-23 13:13:58 +0200 12976 12977 Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which 12978 just moved to problem. Now it's really fixed. 12979 12980 src/liblzma/common/info.c | 5 ++++- 12981 1 file changed, 4 insertions(+), 1 deletion(-) 12982 12983commit 67321de963ccf69410b3868b8e31534fe18a90de 12984Author: Lasse Collin <lasse.collin@tukaani.org> 12985Date: 2008-01-23 00:21:04 +0200 12986 12987 Take advantage of return_if_error() macro in 12988 lzma_info_metadata_set() in info.c. 12989 12990 src/liblzma/common/info.c | 24 ++++++++---------------- 12991 1 file changed, 8 insertions(+), 16 deletions(-) 12992 12993commit 863028cb7ad6d8d0455fa69348f56b376d7b908f 12994Author: Lasse Collin <lasse.collin@tukaani.org> 12995Date: 2008-01-23 00:18:32 +0200 12996 12997 Fixed a dangling pointer that caused invalid free(). 12998 12999 src/liblzma/common/info.c | 1 + 13000 1 file changed, 1 insertion(+) 13001 13002commit cf49f42a6bd40143f54a6b10d6e605599e958c0b 13003Author: Lasse Collin <lasse.collin@tukaani.org> 13004Date: 2008-01-22 22:49:24 +0200 13005 13006 Added lzma_easy_* functions. These should make using 13007 liblzma as easy as using zlib, because the easy API 13008 don't require developers to know any fancy LZMA options. 13009 13010 Note that Multi-Block Stream encoding is currently broken. 13011 The easy API should be OK, the bug(s) are elsewhere. 13012 13013 src/liblzma/api/Makefile.am | 1 + 13014 src/liblzma/api/lzma.h | 1 + 13015 src/liblzma/common/Makefile.am | 5 ++ 13016 src/liblzma/common/easy_common.c | 54 ++++++++++++++++ 13017 src/liblzma/common/easy_common.h | 28 ++++++++ 13018 src/liblzma/common/easy_multi.c | 103 ++++++++++++++++++++++++++++++ 13019 src/liblzma/common/easy_single.c | 37 +++++++++++ 13020 src/liblzma/common/stream_encoder_multi.c | 3 +- 13021 src/liblzma/common/stream_encoder_multi.h | 26 ++++++++ 13022 9 files changed, 256 insertions(+), 2 deletions(-) 13023 13024commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a 13025Author: Lasse Collin <lasse.collin@tukaani.org> 13026Date: 2008-01-22 21:16:22 +0200 13027 13028 Fix Multi-Block Stream encoder's EOPM usage. 13029 13030 src/liblzma/common/stream_encoder_multi.c | 2 +- 13031 1 file changed, 1 insertion(+), 1 deletion(-) 13032 13033commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6 13034Author: Lasse Collin <lasse.collin@tukaani.org> 13035Date: 2008-01-22 00:15:11 +0200 13036 13037 Made lzma_extra pointers const in lzma_options_stream. 13038 13039 src/liblzma/api/lzma/stream.h | 4 ++-- 13040 src/liblzma/common/stream_encoder_multi.c | 8 ++++++-- 13041 2 files changed, 8 insertions(+), 4 deletions(-) 13042 13043commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4 13044Author: Lasse Collin <lasse.collin@tukaani.org> 13045Date: 2008-01-20 20:15:21 +0200 13046 13047 Updated debug/sync_flush.c. 13048 13049 debug/sync_flush.c | 26 ++++++++++++++++++++++++-- 13050 1 file changed, 24 insertions(+), 2 deletions(-) 13051 13052commit d53e9b77054cfade6a643e77d085273a348b189c 13053Author: Lasse Collin <lasse.collin@tukaani.org> 13054Date: 2008-01-20 20:14:26 +0200 13055 13056 Added debug/repeat.c. 13057 13058 debug/Makefile.am | 1 + 13059 debug/repeat.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 13060 2 files changed, 44 insertions(+) 13061 13062commit 107259e306bcfc2336a0fb870fb58034c28faa52 13063Author: Lasse Collin <lasse.collin@tukaani.org> 13064Date: 2008-01-20 20:12:58 +0200 13065 13066 Fix alignment handling bugs in Subblock encoder. 13067 13068 This leaves one known alignment bug unfixed: If repeat count 13069 doesn't fit into 28-bit integer, the encoder has to split 13070 this to multiple Subblocks with Subblock Type `Repeating Data'. 13071 The extra Subblocks may have wrong alignment. Correct alignment 13072 is restored after the split Repeating Data has been completely 13073 written out. 13074 13075 Since the encoder doesn't even try to fix the alignment unless 13076 the size of Data is at least 4 bytes, to trigger this bug you 13077 need at least 4 GiB of repeating data with sequence length of 13078 4 or more bytes. Since the worst thing done by this bug is 13079 misaligned data (no data corruption), this bug simply isn't 13080 worth fixing, because a proper fix isn't simple. 13081 13082 src/liblzma/subblock/subblock_encoder.c | 170 ++++++++++++++++++++++---------- 13083 1 file changed, 119 insertions(+), 51 deletions(-) 13084 13085commit e141fe18950400faaa3503ff88ac20eacd73e88c 13086Author: Lasse Collin <lasse.collin@tukaani.org> 13087Date: 2008-01-19 21:16:33 +0200 13088 13089 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder. 13090 The API for handing Subfilters was changed to make it 13091 consistent with LZMA_SYNC_FLUSH. 13092 13093 A few sanity checks were added for Subfilter handling. Some 13094 small bugs were fixed. More comments were added. 13095 13096 src/liblzma/api/lzma/subblock.h | 29 ++-- 13097 src/liblzma/subblock/subblock_encoder.c | 263 ++++++++++++++++++++++++-------- 13098 2 files changed, 214 insertions(+), 78 deletions(-) 13099 13100commit 23c227a864a3b69f38c6a74306161d4e6918d1cc 13101Author: Lasse Collin <lasse.collin@tukaani.org> 13102Date: 2008-01-19 15:19:21 +0200 13103 13104 Revised the Delta filter implementation. The initialization 13105 function is still shared between encoder and decoder, but the 13106 actual coding is in separate files for encoder and decoder. 13107 13108 There are now separate functions for the actual delta 13109 calculation depending on if Delta is the last filter in the 13110 chain or not. If it is the last, the new code copies the 13111 data from input to output buffer and does the delta 13112 calculation at the same time. The old code first copied the 13113 data, then did the delta in the target buffer, which required 13114 reading through the data twice. 13115 13116 Support for LZMA_SYNC_FLUSH was added to the Delta encoder. 13117 This doesn't change anything in the file format. 13118 13119 src/liblzma/common/Makefile.am | 14 ++- 13120 src/liblzma/common/delta_coder.c | 189 ------------------------------------- 13121 src/liblzma/common/delta_coder.h | 31 ------ 13122 src/liblzma/common/delta_common.c | 70 ++++++++++++++ 13123 src/liblzma/common/delta_common.h | 48 ++++++++++ 13124 src/liblzma/common/delta_decoder.c | 102 ++++++++++++++++++++ 13125 src/liblzma/common/delta_decoder.h | 28 ++++++ 13126 src/liblzma/common/delta_encoder.c | 97 +++++++++++++++++++ 13127 src/liblzma/common/delta_encoder.h | 28 ++++++ 13128 src/liblzma/common/raw_decoder.c | 2 +- 13129 src/liblzma/common/raw_encoder.c | 2 +- 13130 11 files changed, 387 insertions(+), 224 deletions(-) 13131 13132commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73 13133Author: Lasse Collin <lasse.collin@tukaani.org> 13134Date: 2008-01-18 20:18:08 +0200 13135 13136 Added the debug directory and the first debug tool 13137 (sync_flush). These tools are not built unless the 13138 user runs "make" in the debug directory. 13139 13140 Makefile.am | 1 + 13141 configure.ac | 1 + 13142 debug/Makefile.am | 30 ++++++++++++++ 13143 debug/README | 17 ++++++++ 13144 debug/sync_flush.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 13145 5 files changed, 165 insertions(+) 13146 13147commit 0ae3208db94585eb8294b97ded387de0a3a07646 13148Author: Lasse Collin <lasse.collin@tukaani.org> 13149Date: 2008-01-18 20:13:00 +0200 13150 13151 Added test files to test usage of flush marker in LZMA. 13152 13153 tests/files/README | 12 ++++++++++++ 13154 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 0 -> 53 bytes 13155 tests/files/bad-single-lzma-flush_twice.lzma | Bin 0 -> 63 bytes 13156 tests/files/good-single-lzma-flush_1.lzma | Bin 0 -> 48 bytes 13157 tests/files/good-single-lzma-flush_2.lzma | Bin 0 -> 63 bytes 13158 5 files changed, 12 insertions(+) 13159 13160commit ab5feaf1fcc146ef9fd39360c53c290bec39524e 13161Author: Lasse Collin <lasse.collin@tukaani.org> 13162Date: 2008-01-18 20:02:52 +0200 13163 13164 Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders. 13165 That code is now almost completely in LZ coder, where 13166 it can be shared with other LZ77-based algorithms in 13167 future. 13168 13169 src/liblzma/lz/lz_encoder.c | 34 ++++++++++++++++++++++++++-------- 13170 src/liblzma/lz/lz_encoder.h | 1 + 13171 src/liblzma/lzma/lzma_encoder.c | 27 ++------------------------- 13172 3 files changed, 29 insertions(+), 33 deletions(-) 13173 13174commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585 13175Author: Lasse Collin <lasse.collin@tukaani.org> 13176Date: 2008-01-18 17:21:24 +0200 13177 13178 Don't add -g to CFLAGS when --enable-debug is specified. 13179 It's the job of the user to put that in CFLAGS. 13180 13181 configure.ac | 1 - 13182 1 file changed, 1 deletion(-) 13183 13184commit 61d1784d8f1761d979a6da6e223e279ca33815e6 13185Author: Lasse Collin <lasse.collin@tukaani.org> 13186Date: 2008-01-18 14:17:37 +0200 13187 13188 Set stdin and stdout to binary mode on Windows. This patch is 13189 a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068 13190 from lzma-utils-legacy.git. I don't know if the new code base 13191 builds on Windows, but this is a start. 13192 13193 src/lzmadec/lzmadec.c | 9 +++++++++ 13194 1 file changed, 9 insertions(+) 13195 13196commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c 13197Author: Lasse Collin <lasse.collin@tukaani.org> 13198Date: 2008-01-18 00:50:29 +0200 13199 13200 Added test_compress.sh and bunch of files needed by it. 13201 This new set of tests compress and decompress several 13202 test files with many different compression options. 13203 This set of tests will be extended later. 13204 13205 tests/Makefile.am | 30 ++++--- 13206 tests/bcj_test.c | 66 ++++++++++++++ 13207 tests/compress_prepared_bcj_sparc | Bin 0 -> 6804 bytes 13208 tests/compress_prepared_bcj_x86 | Bin 0 -> 4649 bytes 13209 tests/create_compress_files.c | 164 ++++++++++++++++++++++++++++++++++ 13210 tests/test_compress.sh | 183 ++++++++++++++++++++++++++++++++++++++ 13211 6 files changed, 433 insertions(+), 10 deletions(-) 13212 13213commit 33be3c0e24d8f43376ccf71cc77d53671e792f07 13214Author: Lasse Collin <lasse.collin@tukaani.org> 13215Date: 2008-01-17 18:56:53 +0200 13216 13217 Subblock decoder: Don't exit the main loop in decode_buffer() 13218 too early if we hit End of Input while decoding a Subblock of 13219 type Repeating Data. To keep the loop termination condition 13220 elegant, the order of enumerations in coder->sequence were 13221 changed. 13222 13223 To keep the case-labels in roughly the same order as the 13224 enumerations in coder->sequence, large chunks of code was 13225 moved around. This made the diff big and ugly compared to 13226 the amount of the actual changes made. 13227 13228 src/liblzma/subblock/subblock_decoder.c | 272 ++++++++++++++++---------------- 13229 1 file changed, 139 insertions(+), 133 deletions(-) 13230 13231commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd 13232Author: Lasse Collin <lasse.collin@tukaani.org> 13233Date: 2008-01-17 17:39:42 +0200 13234 13235 Fix wrong too small size of argument unfiltered_max 13236 in ia64_coder_init(). It triggered assert() in 13237 simple_coder.c, and could have caused a buffer overflow. 13238 13239 This error was probably a copypaste mistake, since most 13240 of the simple filters use unfiltered_max = 4. 13241 13242 src/liblzma/simple/ia64.c | 2 +- 13243 1 file changed, 1 insertion(+), 1 deletion(-) 13244 13245commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a 13246Author: Lasse Collin <lasse.collin@tukaani.org> 13247Date: 2008-01-17 17:27:45 +0200 13248 13249 Added --delta to the output of "lzma --help". 13250 13251 src/lzma/help.c | 4 ++++ 13252 1 file changed, 4 insertions(+) 13253 13254commit f88590e0014b38d40465937c19f25f05f16c79ae 13255Author: Lasse Collin <lasse.collin@tukaani.org> 13256Date: 2008-01-17 13:14:20 +0200 13257 13258 Fix Subblock docoder: If Subblock filter was used with known 13259 Uncompressed Size, and the last output byte was from RLE, 13260 the code didn't stop decoding as it should have done. 13261 13262 src/liblzma/subblock/subblock_decoder.c | 6 ++++++ 13263 1 file changed, 6 insertions(+) 13264 13265commit bc0b945ca376e333077644d2f7fd54c2848aab8a 13266Author: Lasse Collin <lasse.collin@tukaani.org> 13267Date: 2008-01-16 16:33:37 +0200 13268 13269 Tiny non-technical edits to file-format.txt. 13270 13271 doc/file-format.txt | 6 +++--- 13272 1 file changed, 3 insertions(+), 3 deletions(-) 13273 13274commit 7599bb7064ccf007f054595dedda7927af868252 13275Author: Lasse Collin <lasse.collin@tukaani.org> 13276Date: 2008-01-16 14:48:04 +0200 13277 13278 Plugged a memory leak in stream_decoder.c. 13279 13280 src/liblzma/common/stream_decoder.c | 20 ++++++++++++++++++++ 13281 1 file changed, 20 insertions(+) 13282 13283commit 0b581539311f3712946e81e747839f8fb5f441a7 13284Author: Lasse Collin <lasse.collin@tukaani.org> 13285Date: 2008-01-16 14:47:27 +0200 13286 13287 Added memory leak detection to lzmadec.c. 13288 13289 src/lzmadec/lzmadec.c | 3 +++ 13290 1 file changed, 3 insertions(+) 13291 13292commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4 13293Author: Lasse Collin <lasse.collin@tukaani.org> 13294Date: 2008-01-16 14:46:50 +0200 13295 13296 Added lzma_memlimit_count(). 13297 13298 src/liblzma/api/lzma/memlimit.h | 10 ++++++++++ 13299 src/liblzma/common/memory_limitter.c | 19 +++++++++++++++++++ 13300 2 files changed, 29 insertions(+) 13301 13302commit 19389f2b82ec54fd4c847a18f16482e7be4c9887 13303Author: Lasse Collin <lasse.collin@tukaani.org> 13304Date: 2008-01-16 14:31:44 +0200 13305 13306 Added ARRAY_SIZE(array) macro. 13307 13308 src/common/sysdefs.h | 4 ++++ 13309 1 file changed, 4 insertions(+) 13310 13311commit 9bc33a54cbf83952130adbcb1be32c6882485416 13312Author: Lasse Collin <lasse.collin@tukaani.org> 13313Date: 2008-01-16 13:27:03 +0200 13314 13315 Make Uncompresed Size validation more strict 13316 in alone_decoder.c. 13317 13318 src/liblzma/common/alone_decoder.c | 3 ++- 13319 1 file changed, 2 insertions(+), 1 deletion(-) 13320 13321commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883 13322Author: Lasse Collin <lasse.collin@tukaani.org> 13323Date: 2008-01-15 17:46:59 +0200 13324 13325 Free the allocated memory in lzmadec if debugging is 13326 enabled. This should make it possible to detect possible 13327 memory leaks with Valgrind. 13328 13329 src/lzmadec/lzmadec.c | 7 +++++++ 13330 1 file changed, 7 insertions(+) 13331 13332commit 8235e6e5b2878f76633afcda9a334640db503ef5 13333Author: Lasse Collin <lasse.collin@tukaani.org> 13334Date: 2008-01-15 16:25:38 +0200 13335 13336 Fix memory leaks from test_block_header.c. 13337 13338 tests/test_block_header.c | 19 +++++++++++++++++-- 13339 1 file changed, 17 insertions(+), 2 deletions(-) 13340 13341commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6 13342Author: Lasse Collin <lasse.collin@tukaani.org> 13343Date: 2008-01-15 14:23:35 +0200 13344 13345 Use fastpos.h when encoding LZMA dictionary size in 13346 Filter Flags encoder. 13347 13348 src/liblzma/common/filter_flags_encoder.c | 40 +++++++++++++++---------------- 13349 1 file changed, 19 insertions(+), 21 deletions(-) 13350 13351commit e5728142a2048979f5c0c2149ce71ae952a092e1 13352Author: Lasse Collin <lasse.collin@tukaani.org> 13353Date: 2008-01-15 14:02:22 +0200 13354 13355 Revised the fastpos code. It now uses the slightly faster 13356 table-based version from LZMA SDK 4.57. This should be 13357 fast on most systems. 13358 13359 A simpler and smaller alternative version is also provided. 13360 On some CPUs this can be even a little faster than the 13361 default table-based version (see comments in fastpos.h), 13362 but on most systems the table-based code is faster. 13363 13364 src/liblzma/common/init_encoder.c | 3 - 13365 src/liblzma/lzma/Makefile.am | 4 + 13366 src/liblzma/lzma/fastpos.h | 156 +++++++++ 13367 src/liblzma/lzma/fastpos_table.c | 519 +++++++++++++++++++++++++++++ 13368 src/liblzma/lzma/fastpos_tablegen.c | 63 ++++ 13369 src/liblzma/lzma/lzma_common.h | 3 +- 13370 src/liblzma/lzma/lzma_encoder.c | 1 + 13371 src/liblzma/lzma/lzma_encoder_getoptimum.c | 1 + 13372 src/liblzma/lzma/lzma_encoder_init.c | 22 -- 13373 src/liblzma/lzma/lzma_encoder_private.h | 21 -- 13374 10 files changed, 746 insertions(+), 47 deletions(-) 13375 13376commit 10437b5b567f6a025ff16c45a572e417a0a9cc26 13377Author: Lasse Collin <lasse.collin@tukaani.org> 13378Date: 2008-01-15 13:32:13 +0200 13379 13380 Added bsr.h. 13381 13382 src/liblzma/common/Makefile.am | 1 + 13383 src/liblzma/common/bsr.h | 61 ++++++++++++++++++++++++++++++++++++++++++ 13384 2 files changed, 62 insertions(+) 13385 13386commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244 13387Author: Lasse Collin <lasse.collin@tukaani.org> 13388Date: 2008-01-15 13:29:14 +0200 13389 13390 Fixed assembler detection in configure.ac, and added 13391 detection for x86_64. 13392 13393 configure.ac | 32 ++++++++++++++++---------------- 13394 1 file changed, 16 insertions(+), 16 deletions(-) 13395 13396commit 54ec204f58287f50d3976288295da4188a19192b 13397Author: Lasse Collin <lasse.collin@tukaani.org> 13398Date: 2008-01-15 12:20:41 +0200 13399 13400 Omit invalid space from printf() format string 13401 in price_table_gen.c. 13402 13403 src/liblzma/rangecoder/price_table_gen.c | 2 +- 13404 1 file changed, 1 insertion(+), 1 deletion(-) 13405 13406commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1 13407Author: Lasse Collin <lasse.collin@tukaani.org> 13408Date: 2008-01-15 09:54:34 +0200 13409 13410 Removed a few unused macros from lzma_common.h. 13411 13412 src/liblzma/lzma/lzma_common.h | 8 ++------ 13413 1 file changed, 2 insertions(+), 6 deletions(-) 13414 13415commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d 13416Author: Lasse Collin <lasse.collin@tukaani.org> 13417Date: 2008-01-15 08:37:42 +0200 13418 13419 Fix a typo in lzma_encoder.c. 13420 13421 src/liblzma/lzma/lzma_encoder.c | 2 +- 13422 1 file changed, 1 insertion(+), 1 deletion(-) 13423 13424commit 9f9b1983013048f2142e8bc7e240149d2687bedc 13425Author: Lasse Collin <lasse.collin@tukaani.org> 13426Date: 2008-01-15 08:36:25 +0200 13427 13428 Convert bittree_get_price() and bittree_reverse_get_price() 13429 from macros to inline functions. 13430 13431 src/liblzma/lzma/lzma_encoder.c | 19 +++----- 13432 src/liblzma/lzma/lzma_encoder_getoptimum.c | 16 +++---- 13433 src/liblzma/rangecoder/range_encoder.h | 76 +++++++++++++++++------------- 13434 3 files changed, 56 insertions(+), 55 deletions(-) 13435 13436commit 78e85cb1a7667c54853670d2eb09d754bcbda87d 13437Author: Lasse Collin <lasse.collin@tukaani.org> 13438Date: 2008-01-15 07:44:59 +0200 13439 13440 Fix CRC code in case --enable-small is used. 13441 13442 src/liblzma/check/crc32_init.c | 2 +- 13443 src/liblzma/check/crc64_init.c | 2 +- 13444 src/liblzma/common/init_decoder.c | 2 -- 13445 src/liblzma/common/init_encoder.c | 2 -- 13446 tests/test_check.c | 2 ++ 13447 5 files changed, 4 insertions(+), 6 deletions(-) 13448 13449commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0 13450Author: Lasse Collin <lasse.collin@tukaani.org> 13451Date: 2008-01-15 07:41:39 +0200 13452 13453 Fix typo in test_index.c. 13454 13455 tests/test_index.c | 2 +- 13456 1 file changed, 1 insertion(+), 1 deletion(-) 13457 13458commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6 13459Author: Lasse Collin <lasse.collin@tukaani.org> 13460Date: 2008-01-15 07:40:21 +0200 13461 13462 Added precomputed range coder probability price table. 13463 13464 src/liblzma/common/init_encoder.c | 5 ++- 13465 src/liblzma/rangecoder/Makefile.am | 9 +++- 13466 src/liblzma/rangecoder/price_table.c | 70 +++++++++++++++++++++++++++++++ 13467 src/liblzma/rangecoder/price_table_gen.c | 55 ++++++++++++++++++++++++ 13468 src/liblzma/rangecoder/price_table_init.c | 48 +++++++++++++++++++++ 13469 src/liblzma/rangecoder/range_common.h | 4 +- 13470 src/liblzma/rangecoder/range_encoder.c | 46 -------------------- 13471 src/liblzma/rangecoder/range_encoder.h | 21 +++++----- 13472 8 files changed, 197 insertions(+), 61 deletions(-) 13473 13474commit 362dc3843b373c1007a50a4719f378981f18ae03 13475Author: Lasse Collin <lasse.collin@tukaani.org> 13476Date: 2008-01-14 13:42:43 +0200 13477 13478 Remove RC_BUFFER_SIZE from lzma_encoder_private.h 13479 and replace it with a sanity check. 13480 13481 src/liblzma/lzma/lzma_encoder_private.h | 6 ++++-- 13482 1 file changed, 4 insertions(+), 2 deletions(-) 13483 13484commit e22b37968d153683fec61ad37b6b160cb7ca4ddc 13485Author: Lasse Collin <lasse.collin@tukaani.org> 13486Date: 2008-01-14 13:39:54 +0200 13487 13488 Major changes to LZ encoder, LZMA encoder, and range encoder. 13489 These changes implement support for LZMA_SYNC_FLUSH in LZMA 13490 encoder, and move the temporary buffer needed by range encoder 13491 from lzma_range_encoder structure to lzma_lz_encoder. 13492 13493 src/liblzma/lz/lz_encoder.c | 138 ++++++++++++++++++++++++++++----- 13494 src/liblzma/lz/lz_encoder.h | 17 ++-- 13495 src/liblzma/lzma/lzma_encoder.c | 74 ++++++++++-------- 13496 src/liblzma/rangecoder/range_encoder.h | 117 ++++++++-------------------- 13497 4 files changed, 206 insertions(+), 140 deletions(-) 13498 13499commit b59ef3973781f892c0a72b5e5934194567100be5 13500Author: Lasse Collin <lasse.collin@tukaani.org> 13501Date: 2008-01-14 13:34:29 +0200 13502 13503 Added one assert() to process.c of the command line tool. 13504 13505 src/lzma/process.c | 1 + 13506 1 file changed, 1 insertion(+) 13507 13508commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7 13509Author: Lasse Collin <lasse.collin@tukaani.org> 13510Date: 2008-01-14 12:09:52 +0200 13511 13512 Don't use coder->lz.stream_end_was_reached in assertions 13513 in match_c.h. 13514 13515 src/liblzma/lz/match_c.h | 2 -- 13516 1 file changed, 2 deletions(-) 13517 13518commit 3e09e1c05871f3757f759b801890ccccc9286608 13519Author: Lasse Collin <lasse.collin@tukaani.org> 13520Date: 2008-01-14 12:08:02 +0200 13521 13522 In lzma_read_match_distances(), don't use 13523 coder->lz.stream_end_was_reached. That variable 13524 will be removed, and the check isn't required anyway. 13525 Rearrange the check so that it doesn't make one to 13526 think that there could be an integer overflow. 13527 13528 src/liblzma/lzma/lzma_encoder_private.h | 6 +++--- 13529 1 file changed, 3 insertions(+), 3 deletions(-) 13530 13531commit a670fec8021e5962429689c194148a04c3418872 13532Author: Lasse Collin <lasse.collin@tukaani.org> 13533Date: 2008-01-14 11:56:41 +0200 13534 13535 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders. 13536 13537 src/liblzma/common/block_encoder.c | 4 ++-- 13538 src/liblzma/common/stream_encoder_single.c | 1 + 13539 2 files changed, 3 insertions(+), 2 deletions(-) 13540 13541commit 3599dba9570a6972a16b6398d6c838e9b420e985 13542Author: Lasse Collin <lasse.collin@tukaani.org> 13543Date: 2008-01-14 11:54:56 +0200 13544 13545 More fixes to LZMA decoder's flush marker handling. 13546 13547 src/liblzma/lzma/lzma_decoder.c | 52 ++++++++++++++++++++++++----------------- 13548 1 file changed, 30 insertions(+), 22 deletions(-) 13549 13550commit f73c2ab6079ed5675a42b39d584a567befbd4624 13551Author: Lasse Collin <lasse.collin@tukaani.org> 13552Date: 2008-01-10 17:13:42 +0200 13553 13554 Eliminate lzma_lz_encoder.must_move_pos. It's needed 13555 only in one place which isn't performance criticial. 13556 13557 src/liblzma/lz/lz_encoder.c | 6 ++---- 13558 src/liblzma/lz/lz_encoder.h | 4 ---- 13559 2 files changed, 2 insertions(+), 8 deletions(-) 13560 13561commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd 13562Author: Lasse Collin <lasse.collin@tukaani.org> 13563Date: 2008-01-09 20:05:57 +0200 13564 13565 Define HAVE_ASM_X86 when x86 assembler optimizations are 13566 used. This #define will be useful for inline assembly. 13567 13568 configure.ac | 5 ++++- 13569 1 file changed, 4 insertions(+), 1 deletion(-) 13570 13571commit 0e70fbe4032351aab13a1cd8e5deced105c0b276 13572Author: Lasse Collin <lasse.collin@tukaani.org> 13573Date: 2008-01-09 12:06:46 +0200 13574 13575 Added good-single-none-empty_3.lzma and 13576 bad-single-none-empty.lzma. 13577 13578 tests/files/README | 6 ++++++ 13579 tests/files/bad-single-none-empty.lzma | Bin 0 -> 19 bytes 13580 tests/files/good-single-none-empty_3.lzma | Bin 0 -> 19 bytes 13581 3 files changed, 6 insertions(+) 13582 13583commit 379fbbe84d922c7cc00afa65c6f0c095da596b19 13584Author: Lasse Collin <lasse.collin@tukaani.org> 13585Date: 2008-01-08 23:11:59 +0200 13586 13587 Take advantage of return_if_error() in block_decoder.c. 13588 13589 src/liblzma/common/block_decoder.c | 23 +++++++---------------- 13590 1 file changed, 7 insertions(+), 16 deletions(-) 13591 13592commit 97d5fa82077e57815dfad995dc393c2809a78539 13593Author: Lasse Collin <lasse.collin@tukaani.org> 13594Date: 2008-01-08 23:10:57 +0200 13595 13596 Updated tests/files/README. 13597 13598 tests/files/README | 15 +++++++++------ 13599 1 file changed, 9 insertions(+), 6 deletions(-) 13600 13601commit 3bb9bb310936cba6a743b4f06739a397dec7c28f 13602Author: Lasse Collin <lasse.collin@tukaani.org> 13603Date: 2008-01-08 23:05:40 +0200 13604 13605 Added test files with empty Compressed Data. 13606 13607 tests/files/README | 6 ++++++ 13608 tests/files/good-single-lzma-empty.lzma | Bin 0 -> 21 bytes 13609 tests/files/good-single-none-empty_1.lzma | Bin 0 -> 18 bytes 13610 tests/files/good-single-none-empty_2.lzma | Bin 0 -> 26 bytes 13611 4 files changed, 6 insertions(+) 13612 13613commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f 13614Author: Lasse Collin <lasse.collin@tukaani.org> 13615Date: 2008-01-08 22:58:42 +0200 13616 13617 Fix decoding of Blocks that have only Block Header. 13618 13619 src/liblzma/common/block_decoder.c | 37 ++++++++++++++----------------------- 13620 1 file changed, 14 insertions(+), 23 deletions(-) 13621 13622commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4 13623Author: Lasse Collin <lasse.collin@tukaani.org> 13624Date: 2008-01-08 22:27:46 +0200 13625 13626 Added good-single-subblock_implicit.lzma. 13627 13628 tests/files/README | 2 ++ 13629 tests/files/good-single-subblock_implicit.lzma | Bin 0 -> 35 bytes 13630 2 files changed, 2 insertions(+) 13631 13632commit faeac7b7aca75f86afed1e7cc06279d9d497c627 13633Author: Lasse Collin <lasse.collin@tukaani.org> 13634Date: 2008-01-08 18:50:30 +0200 13635 13636 Disable CRC32 from Block Headers when --check=none 13637 has been specified. 13638 13639 src/lzma/process.c | 2 +- 13640 1 file changed, 1 insertion(+), 1 deletion(-) 13641 13642commit a751126dbb656767ed4666cf0e5d3e17349d93d1 13643Author: Lasse Collin <lasse.collin@tukaani.org> 13644Date: 2008-01-08 13:36:29 +0200 13645 13646 Fixed encoding of empty files. Arguments to is_size_valid() 13647 were in wrong order in block_encoder.c. 13648 13649 src/liblzma/common/block_encoder.c | 2 +- 13650 1 file changed, 1 insertion(+), 1 deletion(-) 13651 13652commit 9080267603b1006c4867c823307dca9df8be0d20 13653Author: Lasse Collin <lasse.collin@tukaani.org> 13654Date: 2008-01-08 13:35:36 +0200 13655 13656 Added a few test files. 13657 13658 tests/files/README | 21 ++++++++++++++++++--- 13659 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 0 -> 65 bytes 13660 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes 13661 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes 13662 tests/files/bad-single-data_after_eopm.lzma | Bin 55 -> 0 bytes 13663 tests/files/bad-single-data_after_eopm_1.lzma | Bin 0 -> 55 bytes 13664 tests/files/bad-single-none-truncated.lzma | Bin 0 -> 29 bytes 13665 7 files changed, 18 insertions(+), 3 deletions(-) 13666 13667commit b4943ccf73b64fc93a90a23474509c316f55eb2b 13668Author: Lasse Collin <lasse.collin@tukaani.org> 13669Date: 2008-01-08 12:29:58 +0200 13670 13671 Avoid using ! in test_files.sh, because that doesn't work 13672 with some ancient /bin/sh versions. 13673 13674 tests/test_files.sh | 4 +++- 13675 1 file changed, 3 insertions(+), 1 deletion(-) 13676 13677commit e2417b2b9134f3f65e14b61e23cd3644d8954353 13678Author: Lasse Collin <lasse.collin@tukaani.org> 13679Date: 2008-01-08 00:48:30 +0200 13680 13681 More pre-C99 inttypes.h compatibility fixes. Now the code 13682 should work even if the system has no inttypes.h. 13683 13684 src/common/physmem.h | 11 ----------- 13685 src/liblzma/check/crc32_init.c | 5 +---- 13686 src/liblzma/check/crc32_tablegen.c | 7 ++----- 13687 src/liblzma/check/crc64_init.c | 5 +---- 13688 src/liblzma/check/crc64_tablegen.c | 7 ++----- 13689 5 files changed, 6 insertions(+), 29 deletions(-) 13690 13691commit 5d227e51c23639423f4ade06aabb54e131f8505e 13692Author: Lasse Collin <lasse.collin@tukaani.org> 13693Date: 2008-01-07 23:25:32 +0200 13694 13695 Updated fi.po although it's currently pretty much crap. 13696 13697 po/fi.po | 12 ++++++------ 13698 1 file changed, 6 insertions(+), 6 deletions(-) 13699 13700commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d 13701Author: Lasse Collin <lasse.collin@tukaani.org> 13702Date: 2008-01-07 23:14:25 +0200 13703 13704 Test for $GCC = yes instead of if it is non-empty. This 13705 way it is possible to use ac_cv_c_compiler_gnu=no to 13706 force configure to think it is using non-GNU C compiler. 13707 13708 configure.ac | 2 +- 13709 1 file changed, 1 insertion(+), 1 deletion(-) 13710 13711commit 3dbbea82b74bb841c995ad332a3aeca613015e10 13712Author: Lasse Collin <lasse.collin@tukaani.org> 13713Date: 2008-01-07 21:49:41 +0200 13714 13715 Added test_files.sh to tests/Makefile.am so it gets 13716 included in the tarball with "make dist". 13717 13718 tests/Makefile.am | 2 +- 13719 1 file changed, 1 insertion(+), 1 deletion(-) 13720 13721commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0 13722Author: Lasse Collin <lasse.collin@tukaani.org> 13723Date: 2008-01-07 18:22:24 +0200 13724 13725 Cosmetic edit to test_files.sh. 13726 13727 tests/test_files.sh | 4 ++-- 13728 1 file changed, 2 insertions(+), 2 deletions(-) 13729 13730commit 9a71d573100a990ceb30ce0bec6a9a15d795605f 13731Author: Lasse Collin <lasse.collin@tukaani.org> 13732Date: 2008-01-07 18:09:44 +0200 13733 13734 Added tests/files/README. 13735 13736 tests/files/README | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 13737 1 file changed, 108 insertions(+) 13738 13739commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43 13740Author: Lasse Collin <lasse.collin@tukaani.org> 13741Date: 2008-01-07 14:20:57 +0200 13742 13743 Tell in COPYING that everything in tests/files is 13744 public domain. 13745 13746 COPYING | 3 ++- 13747 1 file changed, 2 insertions(+), 1 deletion(-) 13748 13749commit 3502b3e1d00251d3c8dda96079440705c28d8225 13750Author: Lasse Collin <lasse.collin@tukaani.org> 13751Date: 2008-01-07 14:19:05 +0200 13752 13753 Cleaned up the tests/files directory. 13754 13755 tests/files/bad-single-subblock-padding_loop.lzma | Bin 0 -> 43 bytes 13756 tests/files/bad-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes 13757 tests/files/malicious-single-subblock-loop.lzma | Bin 43 -> 0 bytes 13758 tests/files/malicious-single-subblock-lzma.lzma | Bin 505 -> 0 bytes 13759 tests/files/malicious-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes 13760 5 files changed, 0 insertions(+), 0 deletions(-) 13761 13762commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c 13763Author: Lasse Collin <lasse.collin@tukaani.org> 13764Date: 2008-01-07 13:49:19 +0200 13765 13766 Added test_files.sh to test decoding of the files in 13767 the tests/files directory. It doesn't test the malicious 13768 files yet. 13769 13770 tests/Makefile.am | 4 +++- 13771 tests/test_files.sh | 40 ++++++++++++++++++++++++++++++++++++++++ 13772 2 files changed, 43 insertions(+), 1 deletion(-) 13773 13774commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6 13775Author: Lasse Collin <lasse.collin@tukaani.org> 13776Date: 2008-01-07 11:23:13 +0200 13777 13778 Updated README regarding the assembler optimizations. 13779 13780 README | 10 +++++----- 13781 1 file changed, 5 insertions(+), 5 deletions(-) 13782 13783commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb 13784Author: Lasse Collin <lasse.collin@tukaani.org> 13785Date: 2008-01-07 10:58:00 +0200 13786 13787 Updated THANKS. 13788 13789 THANKS | 1 + 13790 1 file changed, 1 insertion(+) 13791 13792commit 1239649f96132b18e3b7e2dd152ecf53a195caa8 13793Author: Lasse Collin <lasse.collin@tukaani.org> 13794Date: 2008-01-06 21:47:17 +0200 13795 13796 Cosmetic changes to configure.ac. 13797 13798 configure.ac | 14 ++++++-------- 13799 1 file changed, 6 insertions(+), 8 deletions(-) 13800 13801commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e 13802Author: Lasse Collin <lasse.collin@tukaani.org> 13803Date: 2008-01-06 19:46:38 +0200 13804 13805 Automatically disable assembler code on Darwin x86. 13806 Darwin has different ABI than GNU+Linux and Solaris, 13807 thus the assembler code doesn't assemble on Darwin. 13808 13809 configure.ac | 17 +++++++++++++++-- 13810 1 file changed, 15 insertions(+), 2 deletions(-) 13811 13812commit c15a7abf66e3a70792f7444115e484c7981c8284 13813Author: Lasse Collin <lasse.collin@tukaani.org> 13814Date: 2008-01-06 19:45:27 +0200 13815 13816 With printf(), use PRIu64 with a cast to uint64_t instead 13817 of %zu, because some pre-C99 libc versions don't support %zu. 13818 13819 src/lzma/help.c | 13 +++++++------ 13820 src/lzmadec/lzmadec.c | 6 ++++-- 13821 2 files changed, 11 insertions(+), 8 deletions(-) 13822 13823commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb 13824Author: Lasse Collin <lasse.collin@tukaani.org> 13825Date: 2008-01-06 16:27:41 +0200 13826 13827 Introduced compatibility with systems that have pre-C99 13828 or no inttypes.h. This is useful when the compiler has 13829 good enough support for C99, but libc headers don't. 13830 13831 Changed liblzma API so that sys/types.h and inttypes.h 13832 have to be #included before #including lzma.h. On systems 13833 that don't have C99 inttypes.h, it's the problem of the 13834 applications to provide the required types and macros 13835 before #including lzma.h. 13836 13837 If lzma.h defined the missing types and macros, it could 13838 conflict with third-party applications whose configure 13839 has detected that the types are missing and defined them 13840 in config.h already. An alternative would have been 13841 introducing lzma_uint32 and similar types, but that would 13842 just be an extra pain on modern systems. 13843 13844 configure.ac | 13 ++++++++- 13845 doc/liblzma-intro.txt | 10 +++++-- 13846 src/common/sysdefs.h | 59 +++++++++++++++++++++++++++++++++++++- 13847 src/liblzma/api/lzma.h | 40 +++++++++++++++++--------- 13848 src/liblzma/check/crc32_table.c | 4 +-- 13849 src/liblzma/check/crc32_table_be.h | 2 -- 13850 src/liblzma/check/crc32_table_le.h | 2 -- 13851 src/liblzma/check/crc32_tablegen.c | 1 - 13852 src/liblzma/check/crc64_table.c | 4 +-- 13853 src/liblzma/check/crc64_table_be.h | 2 -- 13854 src/liblzma/check/crc64_table_le.h | 2 -- 13855 src/liblzma/check/crc64_tablegen.c | 1 - 13856 src/lzma/private.h | 1 - 13857 13 files changed, 106 insertions(+), 35 deletions(-) 13858 13859commit a71864f77dfb76b5d78a270641539947c312583a 13860Author: Lasse Collin <lasse.collin@tukaani.org> 13861Date: 2008-01-05 19:57:00 +0200 13862 13863 Fix typo in comment (INT64_MAX -> UINT64_MAX). 13864 13865 src/liblzma/api/lzma/vli.h | 2 +- 13866 1 file changed, 1 insertion(+), 1 deletion(-) 13867 13868commit 072927905a3b66281c6311b4b351caa501d8b73a 13869Author: Lasse Collin <lasse.collin@tukaani.org> 13870Date: 2008-01-05 19:42:04 +0200 13871 13872 Rearranged testing of GCC-specific flags. 13873 13874 configure.ac | 33 +++++++++++++++++++++++---------- 13875 1 file changed, 23 insertions(+), 10 deletions(-) 13876 13877commit d160ee32598c6d1cd9054ef019e8c9331208b188 13878Author: Lasse Collin <lasse.collin@tukaani.org> 13879Date: 2008-01-05 01:20:24 +0200 13880 13881 Another bug fix for flush marker detection. 13882 13883 src/liblzma/lzma/lzma_decoder.c | 10 +++++++++- 13884 1 file changed, 9 insertions(+), 1 deletion(-) 13885 13886commit fc67f79f607cbfa78c6f47a69dec098d8659b162 13887Author: Lasse Collin <lasse.collin@tukaani.org> 13888Date: 2008-01-04 21:37:01 +0200 13889 13890 Fix stupid bugs in flush marker detection. 13891 13892 src/liblzma/lzma/lzma_decoder.c | 7 ++++--- 13893 1 file changed, 4 insertions(+), 3 deletions(-) 13894 13895commit 0029cbbabe87d491fc046a55a629a6d556010baa 13896Author: Lasse Collin <lasse.collin@tukaani.org> 13897Date: 2008-01-04 21:30:33 +0200 13898 13899 Added support for flush marker, which will be in files 13900 that use LZMA_SYNC_FLUSH with encoder (not implemented 13901 yet). This is a new feature in the raw LZMA format, 13902 which isn't supported by old decoders. This shouldn't 13903 be a problem in practice, since lzma_alone_encoder() 13904 will not allow LZMA_SYNC_FLUSH, and thus not allow 13905 creating files on decodable with old decoders. 13906 13907 Made lzma_decoder.c to require tab width of 4 characters 13908 if one wants to fit the code in 80 columns. This makes 13909 the code easier to read. 13910 13911 src/liblzma/lzma/lzma_common.h | 4 + 13912 src/liblzma/lzma/lzma_decoder.c | 217 ++++++++++++++++++---------------------- 13913 2 files changed, 104 insertions(+), 117 deletions(-) 13914 13915commit bbfd1f6ab058a7e661545205befcb7f70c5685ab 13916Author: Lasse Collin <lasse.collin@tukaani.org> 13917Date: 2008-01-04 20:45:05 +0200 13918 13919 Moved range decoder initialization (reading the first 13920 five input bytes) from LZMA decoder to range decoder 13921 header. Did the same for decoding of direct bits. 13922 13923 src/liblzma/lzma/lzma_decoder.c | 42 +++------------- 13924 src/liblzma/rangecoder/range_decoder.h | 87 +++++++++++++++++++++++----------- 13925 2 files changed, 66 insertions(+), 63 deletions(-) 13926 13927commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc 13928Author: Lasse Collin <lasse.collin@tukaani.org> 13929Date: 2007-12-14 11:15:21 +0200 13930 13931 Added a note to README that --disable-assembler 13932 must be used on Darwin. 13933 13934 README | 4 ++++ 13935 1 file changed, 4 insertions(+) 13936 13937commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24 13938Author: Lasse Collin <lasse.collin@tukaani.org> 13939Date: 2007-12-14 10:07:10 +0200 13940 13941 Use the filename suffix .S instead of .s for assembler files 13942 so that the preprocessor removes the /* */ style comments, 13943 which are not supported by some non-GNU assemblers (Solaris) 13944 that otherwise work with this code. 13945 13946 src/liblzma/check/Makefile.am | 4 +- 13947 src/liblzma/check/crc32_x86.S | 217 ++++++++++++++++++++++++++++++++++++++++++ 13948 src/liblzma/check/crc32_x86.s | 217 ------------------------------------------ 13949 src/liblzma/check/crc64_x86.S | 203 +++++++++++++++++++++++++++++++++++++++ 13950 src/liblzma/check/crc64_x86.s | 203 --------------------------------------- 13951 5 files changed, 422 insertions(+), 422 deletions(-) 13952 13953commit ec1c82b2e82f395f6e8e19ac212a639644330cd7 13954Author: Lasse Collin <lasse.collin@tukaani.org> 13955Date: 2007-12-14 09:59:05 +0200 13956 13957 Fixed wrong symbol name in crc64_x86.s. 13958 13959 src/liblzma/check/crc64_x86.s | 2 +- 13960 1 file changed, 1 insertion(+), 1 deletion(-) 13961 13962commit 2881570df6803eed2fe550af34574e8e61794804 13963Author: Lasse Collin <lasse.collin@tukaani.org> 13964Date: 2007-12-14 09:53:24 +0200 13965 13966 Use .globl instead of .global in x86 assembler code for 13967 better portability. Still needs fixing the commenting. 13968 13969 src/liblzma/check/crc32_x86.s | 2 +- 13970 src/liblzma/check/crc64_x86.s | 2 +- 13971 2 files changed, 2 insertions(+), 2 deletions(-) 13972 13973commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66 13974Author: Lasse Collin <lasse.collin@tukaani.org> 13975Date: 2007-12-13 20:14:37 +0200 13976 13977 Fixed a few short options that take an argument. 13978 short_opts[] was missing colons to indicate 13979 required argument. Thanks to Fabio Pedretti for 13980 the bug report. 13981 13982 src/lzma/args.c | 2 +- 13983 1 file changed, 1 insertion(+), 1 deletion(-) 13984 13985commit 918bcb0e0728d2d976621e9f35b56f224f11d989 13986Author: Lasse Collin <lasse.collin@tukaani.org> 13987Date: 2007-12-11 17:08:04 +0200 13988 13989 Removed uncompressed size tracking from Delta encoder too. 13990 13991 src/liblzma/common/delta_coder.c | 21 +++------------------ 13992 1 file changed, 3 insertions(+), 18 deletions(-) 13993 13994commit 3e16d51dd645667b05ff826665b1fc353aa41cd9 13995Author: Lasse Collin <lasse.collin@tukaani.org> 13996Date: 2007-12-11 16:49:19 +0200 13997 13998 Remove uncompressed size tracking from the filter encoders. 13999 It's not strictly needed there, and just complicates the 14000 code. LZ encoder never even had this feature. 14001 14002 The primary reason to have uncompressed size tracking in 14003 filter encoders was validating that the application 14004 doesn't give different amount of input that it had 14005 promised. A side effect was to validate internal workings 14006 of liblzma. 14007 14008 Uncompressed size tracking is still present in the Block 14009 encoder. Maybe it should be added to LZMA_Alone and raw 14010 encoders too. It's simpler to have one coder just to 14011 validate the uncompressed size instead of having it 14012 in every filter. 14013 14014 src/liblzma/common/copy_coder.c | 25 ++-------------------- 14015 src/liblzma/simple/simple_coder.c | 29 ++++--------------------- 14016 src/liblzma/subblock/subblock_encoder.c | 38 ++++++--------------------------- 14017 3 files changed, 12 insertions(+), 80 deletions(-) 14018 14019commit 5286723e0d1ac386d5b07f08d78e61becf895a5a 14020Author: Lasse Collin <lasse.collin@tukaani.org> 14021Date: 2007-12-11 14:10:53 +0200 14022 14023 Get rid of no-NLS gnulib. I don't know how to get it 14024 working with Automake. People who want smaller lzmadec 14025 should use --disable-nls on non-GNU systems. 14026 14027 lib/Makefile.am | 10 +--------- 14028 src/lzma/Makefile.am | 2 +- 14029 src/lzmadec/Makefile.am | 4 +++- 14030 3 files changed, 5 insertions(+), 11 deletions(-) 14031 14032commit ce8b036a6c7a43b290356b673d953f6d76b2be64 14033Author: Lasse Collin <lasse.collin@tukaani.org> 14034Date: 2007-12-11 14:09:35 +0200 14035 14036 Fixed a typo in tests/Makefile.am which prevented 14037 building the tests if gnulib was needed. 14038 14039 tests/Makefile.am | 2 +- 14040 1 file changed, 1 insertion(+), 1 deletion(-) 14041 14042commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4 14043Author: Lasse Collin <lasse.collin@tukaani.org> 14044Date: 2007-12-11 11:18:58 +0200 14045 14046 Fixed wrong type of flags_size in Subblock encoder. 14047 14048 src/liblzma/subblock/subblock_encoder.c | 2 +- 14049 1 file changed, 1 insertion(+), 1 deletion(-) 14050 14051commit ce64df716243fdc40359090d1f6541f3a4f5f21a 14052Author: Lasse Collin <lasse.collin@tukaani.org> 14053Date: 2007-12-10 20:44:16 +0200 14054 14055 Bumped version number to 4.42.3alpha. 14056 14057 configure.ac | 2 +- 14058 src/liblzma/api/lzma/version.h | 2 +- 14059 2 files changed, 2 insertions(+), 2 deletions(-) 14060 14061commit b499a0403ea5c41d6a25b40275eb6c57643052ce 14062Author: Lasse Collin <lasse.collin@tukaani.org> 14063Date: 2007-12-10 15:02:50 +0200 14064 14065 Disabled some unneeded warnings and made "make dist" work. 14066 14067 Makefile.am | 9 +++------ 14068 configure.ac | 9 ++++++--- 14069 po/fi.po | 47 ++++++++++++++++++++++++----------------------- 14070 3 files changed, 33 insertions(+), 32 deletions(-) 14071 14072commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172 14073Author: Lasse Collin <lasse.collin@tukaani.org> 14074Date: 2007-12-09 21:43:15 +0200 14075 14076 Added LZMA_SYNC_FLUSH support to the Copy filter. 14077 14078 src/liblzma/common/copy_coder.c | 92 +++++++++++++++++++++++++---------------- 14079 1 file changed, 57 insertions(+), 35 deletions(-) 14080 14081commit 329c272d501e88793dda5540358d55c12428d194 14082Author: Lasse Collin <lasse.collin@tukaani.org> 14083Date: 2007-12-09 17:14:07 +0200 14084 14085 Added missing LZMA_API to the C versions of the CRC functions. 14086 The x86 assembler versions were already OK. 14087 14088 src/liblzma/check/crc32.c | 2 +- 14089 src/liblzma/check/crc64.c | 2 +- 14090 2 files changed, 2 insertions(+), 2 deletions(-) 14091 14092commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7 14093Author: Jim Meyering <meyering@redhat.com> 14094Date: 2007-12-09 15:34:25 +0100 14095 14096 * tests/test_block_header.c (test3): Remove duplicate initializer. 14097 14098 autogen.sh | 2 +- 14099 tests/test_block_header.c | 1 - 14100 2 files changed, 1 insertion(+), 2 deletions(-) 14101 14102commit 07ac881779a8477f2c1ab112b91a129e24aa743c 14103Author: Lasse Collin <lasse.collin@tukaani.org> 14104Date: 2007-12-09 17:06:45 +0200 14105 14106 Take advantage of return_if_error() macro in more places. 14107 Cleaned Subblock filter's initialization code too. 14108 14109 src/liblzma/common/block_decoder.c | 22 +++------- 14110 src/liblzma/common/delta_coder.c | 8 +--- 14111 src/liblzma/common/stream_decoder.c | 17 +++----- 14112 src/liblzma/common/stream_encoder_multi.c | 68 ++++++++++-------------------- 14113 src/liblzma/common/stream_encoder_single.c | 8 ++-- 14114 src/liblzma/subblock/subblock_decoder.c | 33 +++++---------- 14115 src/liblzma/subblock/subblock_encoder.c | 45 ++++++-------------- 14116 7 files changed, 63 insertions(+), 138 deletions(-) 14117 14118commit 41338717964f510ee61d70b25bd4c502ec9f77cf 14119Author: Lasse Collin <lasse.collin@tukaani.org> 14120Date: 2007-12-09 12:13:01 +0200 14121 14122 Added a bunch of .lzma test files. 14123 14124 tests/files/bad-single-data_after_eopm.lzma | Bin 0 -> 55 bytes 14125 tests/files/bad-single-data_after_eopm_2.lzma | Bin 0 -> 56 bytes 14126 tests/files/bad-single-subblock_subblock.lzma | Bin 0 -> 26 bytes 14127 tests/files/good-cat-single-none-pad.lzma | Bin 0 -> 64 bytes 14128 tests/files/good-single-delta-lzma.tiff.lzma | Bin 0 -> 51409 bytes 14129 tests/files/good-single-lzma.lzma | Bin 0 -> 44 bytes 14130 tests/files/good-single-none-pad.lzma | Bin 0 -> 32 bytes 14131 tests/files/good-single-none.lzma | Bin 0 -> 30 bytes 14132 tests/files/good-single-subblock-lzma.lzma | Bin 0 -> 50 bytes 14133 tests/files/good-single-subblock_rle.lzma | Bin 0 -> 118 bytes 14134 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 0 -> 51 bytes 14135 tests/files/malicious-single-subblock-256MiB.lzma | Bin 0 -> 30 bytes 14136 tests/files/malicious-single-subblock-64PiB.lzma | Bin 0 -> 45 bytes 14137 tests/files/malicious-single-subblock-loop.lzma | Bin 0 -> 43 bytes 14138 tests/files/malicious-single-subblock-lzma.lzma | Bin 0 -> 505 bytes 14139 tests/files/malicious-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes 14140 tests/files/malicious-single-subblock31-slow.lzma | Bin 0 -> 1233 bytes 14141 17 files changed, 0 insertions(+), 0 deletions(-) 14142 14143commit ff946ceb7975d4f11950afd33f6315b4d20d1a03 14144Author: Lasse Collin <lasse.collin@tukaani.org> 14145Date: 2007-12-09 11:24:48 +0200 14146 14147 Re-enabled the security checks in Subblock decoder 14148 that were disabled for debugging reasons. 14149 14150 src/liblzma/subblock/subblock_decoder.c | 6 +++--- 14151 1 file changed, 3 insertions(+), 3 deletions(-) 14152 14153commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1 14154Author: Lasse Collin <lasse.collin@tukaani.org> 14155Date: 2007-12-09 11:03:28 +0200 14156 14157 Fixed the tests to build with -Werror. 14158 14159 tests/test_block_header.c | 2 +- 14160 tests/test_check.c | 2 +- 14161 tests/test_filter_flags.c | 2 +- 14162 tests/test_index.c | 14 +++++++------- 14163 tests/test_info.c | 2 +- 14164 tests/test_stream_flags.c | 2 +- 14165 6 files changed, 12 insertions(+), 12 deletions(-) 14166 14167commit 5d018dc03549c1ee4958364712fb0c94e1bf2741 14168Author: Lasse Collin <lasse.collin@tukaani.org> 14169Date: 2007-12-09 00:42:33 +0200 14170 14171 Imported to git. 14172 14173 AUTHORS | 18 + 14174 COPYING | 24 + 14175 COPYING.GPLv2 | 339 +++++ 14176 COPYING.GPLv3 | 674 +++++++++ 14177 COPYING.LGPLv2.1 | 504 +++++++ 14178 ChangeLog | 2 + 14179 Doxyfile.in | 1229 ++++++++++++++++ 14180 Makefile.am | 38 + 14181 NEWS | 0 14182 README | 151 ++ 14183 THANKS | 23 + 14184 TODO | 109 ++ 14185 autogen.sh | 38 + 14186 configure.ac | 611 ++++++++ 14187 doc/bugs.txt | 46 + 14188 doc/faq.txt | 247 ++++ 14189 doc/file-format.txt | 1861 ++++++++++++++++++++++++ 14190 doc/history.txt | 140 ++ 14191 doc/liblzma-advanced.txt | 324 +++++ 14192 doc/liblzma-hacking.txt | 112 ++ 14193 doc/liblzma-intro.txt | 188 +++ 14194 doc/liblzma-security.txt | 219 +++ 14195 doc/lzma-intro.txt | 107 ++ 14196 extra/scanlzma/scanlzma.c | 85 ++ 14197 lib/Makefile.am | 40 + 14198 lib/getopt.c | 1191 +++++++++++++++ 14199 lib/getopt1.c | 171 +++ 14200 lib/getopt_.h | 226 +++ 14201 lib/getopt_int.h | 131 ++ 14202 lib/gettext.h | 240 +++ 14203 m4/acx_pthread.m4 | 279 ++++ 14204 m4/getopt.m4 | 83 ++ 14205 po/LINGUAS | 1 + 14206 po/Makevars | 46 + 14207 po/POTFILES.in | 13 + 14208 po/fi.po | 445 ++++++ 14209 src/Makefile.am | 16 + 14210 src/common/open_stdxxx.h | 50 + 14211 src/common/physmem.h | 77 + 14212 src/common/sysdefs.h | 100 ++ 14213 src/liblzma/Makefile.am | 47 + 14214 src/liblzma/api/Makefile.am | 39 + 14215 src/liblzma/api/lzma.h | 122 ++ 14216 src/liblzma/api/lzma/alignment.h | 60 + 14217 src/liblzma/api/lzma/alone.h | 82 ++ 14218 src/liblzma/api/lzma/auto.h | 41 + 14219 src/liblzma/api/lzma/base.h | 410 ++++++ 14220 src/liblzma/api/lzma/block.h | 409 ++++++ 14221 src/liblzma/api/lzma/check.h | 128 ++ 14222 src/liblzma/api/lzma/copy.h | 29 + 14223 src/liblzma/api/lzma/delta.h | 49 + 14224 src/liblzma/api/lzma/extra.h | 114 ++ 14225 src/liblzma/api/lzma/filter.h | 166 +++ 14226 src/liblzma/api/lzma/index.h | 84 ++ 14227 src/liblzma/api/lzma/info.h | 315 ++++ 14228 src/liblzma/api/lzma/init.h | 85 ++ 14229 src/liblzma/api/lzma/lzma.h | 312 ++++ 14230 src/liblzma/api/lzma/memlimit.h | 157 ++ 14231 src/liblzma/api/lzma/metadata.h | 100 ++ 14232 src/liblzma/api/lzma/raw.h | 72 + 14233 src/liblzma/api/lzma/simple.h | 85 ++ 14234 src/liblzma/api/lzma/stream.h | 178 +++ 14235 src/liblzma/api/lzma/stream_flags.h | 142 ++ 14236 src/liblzma/api/lzma/subblock.h | 197 +++ 14237 src/liblzma/api/lzma/version.h | 59 + 14238 src/liblzma/api/lzma/vli.h | 244 ++++ 14239 src/liblzma/check/Makefile.am | 64 + 14240 src/liblzma/check/check.c | 160 ++ 14241 src/liblzma/check/check.h | 102 ++ 14242 src/liblzma/check/check_byteswap.h | 43 + 14243 src/liblzma/check/check_init.c | 37 + 14244 src/liblzma/check/crc32.c | 88 ++ 14245 src/liblzma/check/crc32_init.c | 58 + 14246 src/liblzma/check/crc32_table.c | 22 + 14247 src/liblzma/check/crc32_table_be.h | 527 +++++++ 14248 src/liblzma/check/crc32_table_le.h | 527 +++++++ 14249 src/liblzma/check/crc32_tablegen.c | 55 + 14250 src/liblzma/check/crc32_x86.s | 217 +++ 14251 src/liblzma/check/crc64.c | 75 + 14252 src/liblzma/check/crc64_init.c | 58 + 14253 src/liblzma/check/crc64_table.c | 22 + 14254 src/liblzma/check/crc64_table_be.h | 523 +++++++ 14255 src/liblzma/check/crc64_table_le.h | 523 +++++++ 14256 src/liblzma/check/crc64_tablegen.c | 56 + 14257 src/liblzma/check/crc64_x86.s | 203 +++ 14258 src/liblzma/check/crc_macros.h | 33 + 14259 src/liblzma/check/sha256.c | 203 +++ 14260 src/liblzma/common/Makefile.am | 94 ++ 14261 src/liblzma/common/alignment.c | 118 ++ 14262 src/liblzma/common/allocator.c | 57 + 14263 src/liblzma/common/alone_decoder.c | 197 +++ 14264 src/liblzma/common/alone_decoder.h | 24 + 14265 src/liblzma/common/alone_encoder.c | 167 +++ 14266 src/liblzma/common/auto_decoder.c | 113 ++ 14267 src/liblzma/common/block_decoder.c | 405 ++++++ 14268 src/liblzma/common/block_decoder.h | 29 + 14269 src/liblzma/common/block_encoder.c | 375 +++++ 14270 src/liblzma/common/block_encoder.h | 29 + 14271 src/liblzma/common/block_header_decoder.c | 373 +++++ 14272 src/liblzma/common/block_header_encoder.c | 211 +++ 14273 src/liblzma/common/block_private.h | 46 + 14274 src/liblzma/common/chunk_size.c | 74 + 14275 src/liblzma/common/code.c | 203 +++ 14276 src/liblzma/common/common.h | 271 ++++ 14277 src/liblzma/common/copy_coder.c | 143 ++ 14278 src/liblzma/common/copy_coder.h | 31 + 14279 src/liblzma/common/delta_coder.c | 210 +++ 14280 src/liblzma/common/delta_coder.h | 31 + 14281 src/liblzma/common/extra.c | 33 + 14282 src/liblzma/common/features.c | 70 + 14283 src/liblzma/common/filter_flags_decoder.c | 382 +++++ 14284 src/liblzma/common/filter_flags_encoder.c | 359 +++++ 14285 src/liblzma/common/index.c | 140 ++ 14286 src/liblzma/common/info.c | 823 +++++++++++ 14287 src/liblzma/common/init.c | 39 + 14288 src/liblzma/common/init_decoder.c | 33 + 14289 src/liblzma/common/init_encoder.c | 44 + 14290 src/liblzma/common/memory_limitter.c | 200 +++ 14291 src/liblzma/common/memory_usage.c | 113 ++ 14292 src/liblzma/common/metadata_decoder.c | 555 +++++++ 14293 src/liblzma/common/metadata_decoder.h | 31 + 14294 src/liblzma/common/metadata_encoder.c | 436 ++++++ 14295 src/liblzma/common/metadata_encoder.h | 30 + 14296 src/liblzma/common/next_coder.c | 65 + 14297 src/liblzma/common/raw_common.c | 175 +++ 14298 src/liblzma/common/raw_common.h | 31 + 14299 src/liblzma/common/raw_decoder.c | 127 ++ 14300 src/liblzma/common/raw_decoder.h | 30 + 14301 src/liblzma/common/raw_encoder.c | 124 ++ 14302 src/liblzma/common/raw_encoder.h | 30 + 14303 src/liblzma/common/stream_common.c | 23 + 14304 src/liblzma/common/stream_common.h | 28 + 14305 src/liblzma/common/stream_decoder.c | 454 ++++++ 14306 src/liblzma/common/stream_encoder_multi.c | 460 ++++++ 14307 src/liblzma/common/stream_encoder_single.c | 220 +++ 14308 src/liblzma/common/stream_flags_decoder.c | 258 ++++ 14309 src/liblzma/common/stream_flags_decoder.h | 31 + 14310 src/liblzma/common/stream_flags_encoder.c | 75 + 14311 src/liblzma/common/sysdefs.h | 1 + 14312 src/liblzma/common/version.c | 25 + 14313 src/liblzma/common/vli_decoder.c | 69 + 14314 src/liblzma/common/vli_encoder.c | 81 ++ 14315 src/liblzma/common/vli_reverse_decoder.c | 55 + 14316 src/liblzma/lz/Makefile.am | 63 + 14317 src/liblzma/lz/bt2.c | 27 + 14318 src/liblzma/lz/bt2.h | 31 + 14319 src/liblzma/lz/bt3.c | 29 + 14320 src/liblzma/lz/bt3.h | 31 + 14321 src/liblzma/lz/bt4.c | 30 + 14322 src/liblzma/lz/bt4.h | 31 + 14323 src/liblzma/lz/hc3.c | 30 + 14324 src/liblzma/lz/hc3.h | 31 + 14325 src/liblzma/lz/hc4.c | 31 + 14326 src/liblzma/lz/hc4.h | 31 + 14327 src/liblzma/lz/lz_decoder.c | 462 ++++++ 14328 src/liblzma/lz/lz_decoder.h | 214 +++ 14329 src/liblzma/lz/lz_encoder.c | 481 ++++++ 14330 src/liblzma/lz/lz_encoder.h | 161 ++ 14331 src/liblzma/lz/lz_encoder_private.h | 40 + 14332 src/liblzma/lz/match_c.h | 401 +++++ 14333 src/liblzma/lz/match_h.h | 69 + 14334 src/liblzma/lzma.pc.in | 11 + 14335 src/liblzma/lzma/Makefile.am | 43 + 14336 src/liblzma/lzma/lzma_common.h | 128 ++ 14337 src/liblzma/lzma/lzma_decoder.c | 844 +++++++++++ 14338 src/liblzma/lzma/lzma_decoder.h | 41 + 14339 src/liblzma/lzma/lzma_encoder.c | 413 ++++++ 14340 src/liblzma/lzma/lzma_encoder.h | 35 + 14341 src/liblzma/lzma/lzma_encoder_features.c | 59 + 14342 src/liblzma/lzma/lzma_encoder_getoptimum.c | 893 ++++++++++++ 14343 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 +++ 14344 src/liblzma/lzma/lzma_encoder_init.c | 245 ++++ 14345 src/liblzma/lzma/lzma_encoder_presets.c | 34 + 14346 src/liblzma/lzma/lzma_encoder_private.h | 225 +++ 14347 src/liblzma/lzma/lzma_literal.c | 74 + 14348 src/liblzma/lzma/lzma_literal.h | 74 + 14349 src/liblzma/rangecoder/Makefile.am | 28 + 14350 src/liblzma/rangecoder/range_common.h | 68 + 14351 src/liblzma/rangecoder/range_decoder.h | 189 +++ 14352 src/liblzma/rangecoder/range_encoder.c | 46 + 14353 src/liblzma/rangecoder/range_encoder.h | 317 ++++ 14354 src/liblzma/simple/Makefile.am | 46 + 14355 src/liblzma/simple/arm.c | 76 + 14356 src/liblzma/simple/armthumb.c | 81 ++ 14357 src/liblzma/simple/ia64.c | 117 ++ 14358 src/liblzma/simple/powerpc.c | 80 + 14359 src/liblzma/simple/simple_coder.c | 306 ++++ 14360 src/liblzma/simple/simple_coder.h | 68 + 14361 src/liblzma/simple/simple_private.h | 86 ++ 14362 src/liblzma/simple/sparc.c | 88 ++ 14363 src/liblzma/simple/x86.c | 161 ++ 14364 src/liblzma/subblock/Makefile.am | 33 + 14365 src/liblzma/subblock/subblock_decoder.c | 681 +++++++++ 14366 src/liblzma/subblock/subblock_decoder.h | 29 + 14367 src/liblzma/subblock/subblock_decoder_helper.c | 80 + 14368 src/liblzma/subblock/subblock_decoder_helper.h | 36 + 14369 src/liblzma/subblock/subblock_encoder.c | 841 +++++++++++ 14370 src/liblzma/subblock/subblock_encoder.h | 28 + 14371 src/lzma/Makefile.am | 63 + 14372 src/lzma/alloc.c | 106 ++ 14373 src/lzma/alloc.h | 42 + 14374 src/lzma/args.c | 566 +++++++ 14375 src/lzma/args.h | 64 + 14376 src/lzma/error.c | 156 ++ 14377 src/lzma/error.h | 67 + 14378 src/lzma/hardware.c | 99 ++ 14379 src/lzma/hardware.h | 31 + 14380 src/lzma/help.c | 178 +++ 14381 src/lzma/help.h | 32 + 14382 src/lzma/io.c | 664 +++++++++ 14383 src/lzma/io.h | 60 + 14384 src/lzma/list.c | 477 ++++++ 14385 src/lzma/main.c | 254 ++++ 14386 src/lzma/options.c | 346 +++++ 14387 src/lzma/options.h | 46 + 14388 src/lzma/private.h | 55 + 14389 src/lzma/process.c | 458 ++++++ 14390 src/lzma/process.h | 30 + 14391 src/lzma/suffix.c | 145 ++ 14392 src/lzma/suffix.h | 25 + 14393 src/lzma/util.c | 182 +++ 14394 src/lzma/util.h | 32 + 14395 src/lzmadec/Makefile.am | 27 + 14396 src/lzmadec/lzmadec.c | 515 +++++++ 14397 src/scripts/Makefile.am | 24 + 14398 src/scripts/lzdiff | 67 + 14399 src/scripts/lzdiff.1 | 51 + 14400 src/scripts/lzgrep | 123 ++ 14401 src/scripts/lzgrep.1 | 61 + 14402 src/scripts/lzmore | 74 + 14403 src/scripts/lzmore.1 | 55 + 14404 tests/Makefile.am | 43 + 14405 tests/test_block.c | 59 + 14406 tests/test_block_header.c | 352 +++++ 14407 tests/test_check.c | 90 ++ 14408 tests/test_filter_flags.c | 326 +++++ 14409 tests/test_index.c | 43 + 14410 tests/test_info.c | 717 +++++++++ 14411 tests/test_stream_flags.c | 191 +++ 14412 tests/tests.h | 148 ++ 14413 240 files changed, 42513 insertions(+) 14414