1commit 495aaf3a5b7200a5d2bf449bbbcc0e18834607af 2Author: Lasse Collin <lasse.collin@tukaani.org> 3Date: 2014-09-20 20:44:32 +0300 4 5 Bump version and soname for 5.0.7. 6 7 src/liblzma/Makefile.am | 2 +- 8 src/liblzma/api/lzma/version.h | 2 +- 9 2 files changed, 2 insertions(+), 2 deletions(-) 10 11commit ac6c8921d1d8d2d749d5c97f9a0b0594cc863cea 12Author: Lasse Collin <lasse.collin@tukaani.org> 13Date: 2014-09-20 20:43:29 +0300 14 15 Update NEWS for 5.0.7. 16 17 NEWS | 11 +++++++++++ 18 1 file changed, 11 insertions(+) 19 20commit d1b0276aafd441a3d4db9dfd5dd9880e9f834d49 21Author: Lasse Collin <lasse.collin@tukaani.org> 22Date: 2014-09-20 20:21:18 +0300 23 24 liblzma: Fix invalid Libs.private value in liblzma.pc. 25 26 src/liblzma/Makefile.am | 2 +- 27 1 file changed, 1 insertion(+), 1 deletion(-) 28 29commit cac72956b1e56788182ac14bfb25519636afd503 30Author: Lasse Collin <lasse.collin@tukaani.org> 31Date: 2014-09-20 19:42:56 +0300 32 33 liblzma: Fix a portability problem in Makefile.am. 34 35 POSIX supports $< only in inference rules (suffix rules). 36 Using it elsewhere is a GNU make extension and doesn't 37 work e.g. with OpenBSD make. 38 39 Thanks to Christian Weisgerber for the patch. 40 41 src/liblzma/Makefile.am | 2 +- 42 1 file changed, 1 insertion(+), 1 deletion(-) 43 44commit 2cdf0875dedca3e89b02ad5ac8aa1109f902ae11 45Author: Lasse Collin <lasse.collin@tukaani.org> 46Date: 2014-09-14 19:35:45 +0300 47 48 Bump version and soname for 5.0.6. 49 50 src/liblzma/Makefile.am | 2 +- 51 src/liblzma/api/lzma/version.h | 2 +- 52 2 files changed, 2 insertions(+), 2 deletions(-) 53 54commit 0168b6c8fbc88cae61b1f5fb41d6c33c9e127967 55Author: Lasse Collin <lasse.collin@tukaani.org> 56Date: 2014-09-14 19:33:46 +0300 57 58 Update NEWS for 5.0.6. 59 60 NEWS | 7 +++++++ 61 1 file changed, 7 insertions(+) 62 63commit 13337714e89d002af7af48d6853f977de985d7de 64Author: Lasse Collin <lasse.collin@tukaani.org> 65Date: 2014-06-13 19:21:54 +0300 66 67 xzgrep: List xzgrep_expected_output in tests/Makefile.am. 68 69 tests/Makefile.am | 3 ++- 70 1 file changed, 2 insertions(+), 1 deletion(-) 71 72commit ccc728d8290c0464c7af62790b1c5528eceaae35 73Author: Lasse Collin <lasse.collin@tukaani.org> 74Date: 2014-06-13 18:58:22 +0300 75 76 xzgrep: Improve the test script. 77 78 Now it should be close to the functionality of the original 79 version by Pavel Raiskup. 80 81 tests/Makefile.am | 3 ++- 82 tests/test_scripts.sh | 24 ++++++++++++++---------- 83 tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++ 84 3 files changed, 55 insertions(+), 11 deletions(-) 85 86commit 948f5865fe65061e215baa8ed63be570bae152ea 87Author: Lasse Collin <lasse.collin@tukaani.org> 88Date: 2014-06-11 21:03:25 +0300 89 90 xzgrep: Add a test for the previous fix. 91 92 This is a simplified version of Pavel Raiskup's 93 original patch. 94 95 tests/test_scripts.sh | 26 ++++++++++++++++++++++---- 96 1 file changed, 22 insertions(+), 4 deletions(-) 97 98commit 64228d0d5cd75af31e5c330cc3a792016413fabf 99Author: Lasse Collin <lasse.collin@tukaani.org> 100Date: 2014-06-11 20:43:28 +0300 101 102 xzgrep: exit 0 when at least one file matches. 103 104 Mimic the original grep behavior and return exit_success when 105 at least one xz compressed file matches given pattern. 106 107 Original bugreport: 108 https://bugzilla.redhat.com/show_bug.cgi?id=1108085 109 110 Thanks to Pavel Raiskup for the patch. 111 112 src/scripts/xzgrep.in | 15 +++++++++++++-- 113 1 file changed, 13 insertions(+), 2 deletions(-) 114 115commit 98d3368ef4bff0face78d6932f2156730c8cb658 116Author: Lasse Collin <lasse.collin@tukaani.org> 117Date: 2014-04-25 17:53:42 +0300 118 119 Build: Fix the combination of --disable-xzdec --enable-lzmadec. 120 121 In this case "make install" could fail if the man page directory 122 didn't already exist at the destination. If it did exist, a 123 dangling symlink was created there. Now the link is omitted 124 instead. This isn't the best fix but it's better than the old 125 behavior. 126 127 src/xzdec/Makefile.am | 10 +++++++++- 128 1 file changed, 9 insertions(+), 1 deletion(-) 129 130commit ba3b5dd082db2cb5973e877a74221d739c663fb4 131Author: Lasse Collin <lasse.collin@tukaani.org> 132Date: 2014-04-25 17:44:26 +0300 133 134 Build: Add --disable-doc to configure. 135 136 INSTALL | 6 ++++++ 137 Makefile.am | 2 ++ 138 configure.ac | 6 ++++++ 139 3 files changed, 14 insertions(+) 140 141commit 3d4575f2367fe8f1f2dcacba014e6c0aef388535 142Author: Lasse Collin <lasse.collin@tukaani.org> 143Date: 2014-04-24 18:06:24 +0300 144 145 Update INSTALL. 146 147 Add a note about failing "make check". The source of 148 the problem should be fixed in libtool (if it really is 149 a libtool bug and not mine) but I'm unable to spend time 150 on that for now. Thanks to Nelson H. F. Beebe for reporting 151 the issue. 152 153 Add a note about a possible need to run "ldconfig" after 154 "make install". 155 156 INSTALL | 25 +++++++++++++++++++++++++ 157 1 file changed, 25 insertions(+) 158 159commit b9f0584e3eff421eadbb6604de0b0b40bf87e129 160Author: Lasse Collin <lasse.collin@tukaani.org> 161Date: 2014-04-09 17:26:10 +0300 162 163 xz: Rename a variable to avoid a namespace collision on Solaris. 164 165 I don't know the details but I have an impression that there's 166 no problem in practice if using GCC since people have built xz 167 with GCC (without patching xz), but renaming the variable cannot 168 hurt either. 169 170 Thanks to Mark Ashley. 171 172 src/xz/signals.c | 12 +++++++----- 173 1 file changed, 7 insertions(+), 5 deletions(-) 174 175commit cc41bcaf77c9c27ec09ef033fb3300e994e828e6 176Author: Lasse Collin <lasse.collin@tukaani.org> 177Date: 2014-04-26 08:45:49 +0300 178 179 xz: Fix a comment. 180 181 src/xz/coder.c | 4 ++-- 182 1 file changed, 2 insertions(+), 2 deletions(-) 183 184commit e34025d666852839388f997d076e3577847dd10f 185Author: Lasse Collin <lasse.collin@tukaani.org> 186Date: 2014-01-12 16:44:52 +0200 187 188 liblzma: Avoid C99 compound literal arrays. 189 190 MSVC 2013 doesn't like them. Maybe they aren't so good 191 for readability either since many aren't used to them. 192 193 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++--- 194 1 file changed, 5 insertions(+), 3 deletions(-) 195 196commit 0b6168974f1fac3a06157039235b66e4161b9b42 197Author: Lasse Collin <lasse.collin@tukaani.org> 198Date: 2014-01-12 12:50:30 +0200 199 200 liblzma: Remove a useless C99ism from sha256.c. 201 202 Unsurprisingly it makes no difference in compiled output. 203 204 src/liblzma/check/sha256.c | 2 +- 205 1 file changed, 1 insertion(+), 1 deletion(-) 206 207commit 41e436076cfdcccc7e853de73b0d56b3d6d42053 208Author: Lasse Collin <lasse.collin@tukaani.org> 209Date: 2014-01-12 12:17:08 +0200 210 211 xz: Fix use of wrong variable. 212 213 Since the only call to suffix_set() uses optarg 214 as the argument, fixing this bug doesn't change 215 the behavior of the program. 216 217 src/xz/suffix.c | 2 +- 218 1 file changed, 1 insertion(+), 1 deletion(-) 219 220commit c33efefd4ef0931e5795e13725d4bd2203571ce0 221Author: Lasse Collin <lasse.collin@tukaani.org> 222Date: 2014-04-26 08:37:00 +0300 223 224 Fix typos in comments. 225 226 src/liblzma/check/crc32_fast.c | 2 +- 227 1 file changed, 1 insertion(+), 1 deletion(-) 228 229commit e560c82f1f5693d88db9dc71f656436135f17595 230Author: Lasse Collin <lasse.collin@tukaani.org> 231Date: 2013-11-26 18:20:16 +0200 232 233 Update THANKS. 234 235 THANKS | 1 + 236 1 file changed, 1 insertion(+) 237 238commit 05192b32e553eac5dfbd646b6102d10187f29a05 239Author: Lasse Collin <lasse.collin@tukaani.org> 240Date: 2013-11-26 18:20:09 +0200 241 242 liblzma: Document the need for block->check for lzma_block_header_decode(). 243 244 Thanks to Tomer Chachamu. 245 246 src/liblzma/api/lzma/block.h | 3 +++ 247 1 file changed, 3 insertions(+) 248 249commit 0f35eafe51db7b1eb0711bc8cc829ea6896b34f4 250Author: Lasse Collin <lasse.collin@tukaani.org> 251Date: 2013-10-26 12:47:04 +0300 252 253 Update TODO. 254 255 TODO | 4 ---- 256 1 file changed, 4 deletions(-) 257 258commit fc9eaf81d718488b052e5c65f9d6f08acc858873 259Author: Lasse Collin <lasse.collin@tukaani.org> 260Date: 2013-09-11 14:40:35 +0300 261 262 Build: Remove a comment about Automake 1.10 from configure.ac. 263 264 The previous commit supports silent rules and that requires 265 Automake 1.11. 266 267 configure.ac | 2 -- 268 1 file changed, 2 deletions(-) 269 270commit 090c69dda59e00fc86d0792879bd921bb1156029 271Author: Lasse Collin <lasse.collin@tukaani.org> 272Date: 2013-09-09 20:37:03 +0300 273 274 Build: Create liblzma.pc in a src/liblzma/Makefile.am. 275 276 Previously it was done in configure, but doing that goes 277 against the Autoconf manual. Autoconf requires that it is 278 possible to override e.g. prefix after running configure 279 and that doesn't work correctly if liblzma.pc is created 280 by configure. 281 282 A potential downside of this change is that now e.g. 283 libdir in liblzma.pc is a standalone string instead of 284 being defined via ${prefix}, so if one overrides prefix 285 when running pkg-config the libdir won't get the new value. 286 I don't know if this matters in practice. 287 288 Thanks to Vincent Torri. 289 290 configure.ac | 1 - 291 src/liblzma/Makefile.am | 20 ++++++++++++++++++++ 292 2 files changed, 20 insertions(+), 1 deletion(-) 293 294commit 1f35331332273de01c46897cafdb37f8e6e285db 295Author: Anders F Bjorklund <afb@users.sourceforge.net> 296Date: 2013-08-02 15:59:46 +0200 297 298 macosx: separate liblzma package 299 300 macosx/build.sh | 23 +++++++++++++++-------- 301 1 file changed, 15 insertions(+), 8 deletions(-) 302 303commit 1415f1d94644f28e07d544bc1e06b0636081abee 304Author: Anders F Bjorklund <afb@users.sourceforge.net> 305Date: 2013-08-02 15:58:44 +0200 306 307 macosx: set minimum to leopard 308 309 macosx/build.sh | 13 ++++++++----- 310 1 file changed, 8 insertions(+), 5 deletions(-) 311 312commit 41913949b93414a21ae9fb1a8e9b7cdde8b37f98 313Author: Anders F Bjorklund <afb@users.sourceforge.net> 314Date: 2011-08-07 13:13:30 +0200 315 316 move configurables into variables 317 318 macosx/build.sh | 25 ++++++++++++++++++------- 319 1 file changed, 18 insertions(+), 7 deletions(-) 320 321commit 3dffda33f47dc220bb1738564fe02effa9da4c8e 322Author: Lasse Collin <lasse.collin@tukaani.org> 323Date: 2013-07-15 14:08:02 +0300 324 325 Build: Fix the detection of missing CRC32. 326 327 Thanks to Vincent Torri. 328 329 configure.ac | 2 +- 330 1 file changed, 1 insertion(+), 1 deletion(-) 331 332commit b69900ed0b2f914fc6c0a180dcb522dbe5b80ea7 333Author: Lasse Collin <lasse.collin@tukaani.org> 334Date: 2013-06-30 18:02:27 +0300 335 336 Man pages: Use similar syntax for synopsis as in xz. 337 338 The man pages of lzmainfo, xzmore, and xzdec had similar 339 constructs as the man page of xz had before the commit 340 eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond 341 didn't mention these man pages in his bug report, but 342 it's nice to be consistent. 343 344 src/lzmainfo/lzmainfo.1 | 4 ++-- 345 src/scripts/xzmore.1 | 6 +++--- 346 src/xzdec/xzdec.1 | 10 +++++----- 347 3 files changed, 10 insertions(+), 10 deletions(-) 348 349commit cf4a1e1879d89be314ef3c064bd2656ea452f87e 350Author: Lasse Collin <lasse.collin@tukaani.org> 351Date: 2013-06-30 15:55:09 +0300 352 353 Update NEWS for 5.0.5. 354 355 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 356 1 file changed, 52 insertions(+) 357 358commit cb94bb6d1f34e1e93c2d634ea9c3b7dfb3981d05 359Author: Lasse Collin <lasse.collin@tukaani.org> 360Date: 2013-06-30 15:54:38 +0300 361 362 Bump version and soname for 5.0.5. 363 364 src/liblzma/Makefile.am | 2 +- 365 src/liblzma/api/lzma/version.h | 2 +- 366 2 files changed, 2 insertions(+), 2 deletions(-) 367 368commit b7dee202d5b041ccae028d0c5433b83cecbe9e5d 369Author: Lasse Collin <lasse.collin@tukaani.org> 370Date: 2013-06-28 23:56:17 +0300 371 372 xz: Fix return value type in io_write_buf(). 373 374 It didn't affect the behavior of the code since -1 375 becomes true anyway. 376 377 src/xz/file_io.c | 2 +- 378 1 file changed, 1 insertion(+), 1 deletion(-) 379 380commit 265e7b44d804b47373f10b7da28350db7611cea6 381Author: Lasse Collin <lasse.collin@tukaani.org> 382Date: 2013-06-28 18:46:13 +0300 383 384 xz: Remove an outdated NetBSD-specific comment. 385 386 Nowadays errno == EFTYPE is documented in open(2). 387 388 src/xz/file_io.c | 4 ---- 389 1 file changed, 4 deletions(-) 390 391commit 78c2f8db902195468b8249c432252a6b281db836 392Author: Lasse Collin <lasse.collin@tukaani.org> 393Date: 2013-06-28 18:09:47 +0300 394 395 xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls. 396 397 POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on 398 error and "other than -1" on success. This is how it is 399 documented e.g. on OpenBSD too. On Linux, success with 400 F_SETFL is always 0 (at least accorinding to fcntl(2) 401 from man-pages 3.51). 402 403 src/xz/file_io.c | 8 ++++---- 404 1 file changed, 4 insertions(+), 4 deletions(-) 405 406commit 91750dff8f2c654ff636f12a2acdffe5492374b3 407Author: Lasse Collin <lasse.collin@tukaani.org> 408Date: 2013-06-28 17:36:47 +0300 409 410 xz: Fix use of wrong variable in a fcntl() call. 411 412 Due to a wrong variable name, when writing a sparse file 413 to standard output, *all* file status flags were cleared 414 (to the extent the operating system allowed it) instead of 415 only clearing the O_APPEND flag. In practice this worked 416 fine in the common situations on GNU/Linux, but I didn't 417 check how it behaved elsewhere. 418 419 The original flags were still restored correctly. I still 420 changed the code to use a separate boolean variable to 421 indicate when the flags should be restored instead of 422 relying on a special value in stdout_flags. 423 424 src/xz/file_io.c | 24 +++++++++++++----------- 425 1 file changed, 13 insertions(+), 11 deletions(-) 426 427commit e11888a79a4a77a69afde60445880d44f63d01aa 428Author: Lasse Collin <lasse.collin@tukaani.org> 429Date: 2013-06-26 13:30:57 +0300 430 431 xz: Check the value of lzma_stream_flags.version in --list. 432 433 It is a no-op for now, but if an old xz version is used 434 together with a newer liblzma that supports something new, 435 then this check becomes important and will stop the old xz 436 from trying to parse files that it won't understand. 437 438 src/xz/list.c | 14 ++++++++++++++ 439 1 file changed, 14 insertions(+) 440 441commit f39ddd88f3222219ada88998cf30abfdd3e0e96c 442Author: Lasse Collin <lasse.collin@tukaani.org> 443Date: 2013-06-26 12:17:00 +0300 444 445 Build: Require Automake 1.12 and use serial-tests option. 446 447 It should actually still work with Automake 1.10 if 448 the serial-tests option is removed. Automake 1.13 started 449 using parallel tests by default and the option to get 450 the old behavior isn't supported before 1.12. 451 452 At least for now, parallel tests don't improve anything 453 in XZ Utils but they hide the progress output from 454 test_compress.sh. 455 456 configure.ac | 4 +++- 457 1 file changed, 3 insertions(+), 1 deletion(-) 458 459commit cb84e278027a90e9827a6f4d3bb0b4d4744a2fbb 460Author: Lasse Collin <lasse.collin@tukaani.org> 461Date: 2013-06-23 17:36:47 +0300 462 463 xz: Validate Uncompressed Size from Block Header in list.c. 464 465 This affects only "xz -lvv". Normal decompression with xz 466 already detected if Block Header and Index had mismatched 467 Uncompressed Size fields. So this just makes "xz -lvv" 468 show such files as corrupt instead of showing the 469 Uncompressed Size from Index. 470 471 src/xz/list.c | 14 +++++++++++++- 472 1 file changed, 13 insertions(+), 1 deletion(-) 473 474commit f01780fce454c7489f7dcbf806299b50da5f51b7 475Author: Lasse Collin <lasse.collin@tukaani.org> 476Date: 2013-06-26 10:58:58 +0300 477 478 Update THANKS. 479 480 THANKS | 2 ++ 481 1 file changed, 2 insertions(+) 482 483commit d98ede7d700b892e32d9c2f46563b6ebc566786d 484Author: Lasse Collin <lasse.collin@tukaani.org> 485Date: 2013-06-21 22:04:45 +0300 486 487 xz: Make the man page more friendly to doclifter. 488 489 Thanks to Eric S. Raymond. 490 491 src/xz/xz.1 | 7 ++++--- 492 1 file changed, 4 insertions(+), 3 deletions(-) 493 494commit 19b447b64b3f520cd5b11429000b092f7c76709b 495Author: Lasse Collin <lasse.collin@tukaani.org> 496Date: 2013-06-21 21:54:59 +0300 497 498 xz: A couple of man page fixes. 499 500 Now the interaction of presets and custom filter chains 501 is described correctly. Earlier it contradicted itself. 502 503 Thanks to DevHC who reported these issues on IRC to me 504 on 2012-12-14. 505 506 src/xz/xz.1 | 35 +++++++++++++++++++++++------------ 507 1 file changed, 23 insertions(+), 12 deletions(-) 508 509commit 45edf2966fc9a4d2eae8f84b2fa027fb4fa1df8b 510Author: Lasse Collin <lasse.collin@tukaani.org> 511Date: 2013-06-21 21:50:26 +0300 512 513 xz: Fix interaction between preset and custom filter chains. 514 515 There was somewhat illogical behavior when --extreme was 516 specified and mixed with custom filter chains. 517 518 Before this commit, "xz -9 --lzma2 -e" was equivalent 519 to "xz --lzma2". After it is equivalent to "xz -6e" 520 (all earlier preset options get forgotten when a custom 521 filter chain is specified and the default preset is 6 522 to which -e is applied). I find this less illogical. 523 524 This also affects the meaning of "xz -9e --lzma2 -7". 525 Earlier it was equivalent to "xz -7e" (the -e specified 526 before a custom filter chain wasn't forgotten). Now it 527 is "xz -7". Note that "xz -7e" still is the same as "xz -e7". 528 529 Hopefully very few cared about this in the first place, 530 so pretty much no one should even notice this change. 531 532 Thanks to Conley Moorhous. 533 534 src/xz/coder.c | 35 +++++++++++++++++++++-------------- 535 1 file changed, 21 insertions(+), 14 deletions(-) 536 537commit b065984e5a9272eb50bc0c6d3731e6199c0ae8a8 538Author: Lasse Collin <lasse.collin@tukaani.org> 539Date: 2011-04-08 17:53:05 +0300 540 541 xz: Change size_t to uint32_t in a few places. 542 543 src/xz/coder.c | 6 +++--- 544 src/xz/coder.h | 2 +- 545 2 files changed, 4 insertions(+), 4 deletions(-) 546 547commit 32be621f52f2e1686db88baa7b01dc1ae338f426 548Author: Lasse Collin <lasse.collin@tukaani.org> 549Date: 2013-04-27 22:07:46 +0300 550 551 Build: Use -Wvla with GCC if supported. 552 553 Variable-length arrays are mandatory in C99 but optional in C11. 554 The code doesn't currently use any VLAs and it shouldn't in the 555 future either to stay compatible with C11 without requiring any 556 optional C11 features. 557 558 configure.ac | 1 + 559 1 file changed, 1 insertion(+) 560 561commit efb07cfba65e9e05984c02cd796c1b0338ce04dc 562Author: Lasse Collin <lasse.collin@tukaani.org> 563Date: 2013-04-15 19:29:09 +0300 564 565 xzdec: Improve the --help message. 566 567 The options are now ordered in the same order as in xz's help 568 message. 569 570 Descriptions were added to the options that are ignored. 571 I left them in parenthesis even if it looks a bit weird 572 because I find it easier to spot the ignored vs. non-ignored 573 options from the list that way. 574 575 src/xzdec/xzdec.c | 10 +++++----- 576 1 file changed, 5 insertions(+), 5 deletions(-) 577 578commit e3c8be13699e2813f5e2879d8187444b46d82d89 579Author: Lasse Collin <lasse.collin@tukaani.org> 580Date: 2013-04-05 19:25:40 +0300 581 582 Update THANKS. 583 584 THANKS | 2 ++ 585 1 file changed, 2 insertions(+) 586 587commit ad8282efe483612f6b5544f9a0d2e4914fb2532a 588Author: Jeff Bastian <jbastian@redhat.com> 589Date: 2013-04-03 13:59:17 +0200 590 591 xzgrep: make the '-h' option to be --no-filename equivalent 592 593 * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing. 594 595 src/scripts/xzgrep.in | 2 +- 596 1 file changed, 1 insertion(+), 1 deletion(-) 597 598commit 9271a3eb0e022b23e8712154be851d0afe4c02e4 599Author: Lasse Collin <lasse.collin@tukaani.org> 600Date: 2013-04-05 19:34:09 +0300 601 602 liblzma: Be less picky in lzma_alone_decoder(). 603 604 To avoid false positives when detecting .lzma files, 605 rare values in dictionary size and uncompressed size fields 606 were rejected. They will still be rejected if .lzma files 607 are decoded with lzma_auto_decoder(), but when using 608 lzma_alone_decoder() directly, such files will now be accepted. 609 Hopefully this is an OK compromise. 610 611 This doesn't affect xz because xz still has its own file 612 format detection code. This does affect lzmadec though. 613 So after this commit lzmadec will accept files that xz or 614 xz-emulating-lzma doesn't. 615 616 NOTE: lzma_alone_decoder() still won't decode all .lzma files 617 because liblzma's LZMA decoder doesn't support lc + lp > 4. 618 619 Reported here: 620 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827 621 622 Conflicts: 623 src/liblzma/common/alone_decoder.c 624 src/liblzma/common/alone_decoder.h 625 626 src/liblzma/common/alone_decoder.c | 22 ++++++++++++++-------- 627 src/liblzma/common/alone_decoder.h | 5 +++-- 628 src/liblzma/common/auto_decoder.c | 2 +- 629 3 files changed, 18 insertions(+), 11 deletions(-) 630 631commit 211b931cee58626c1d2e021810cb108cb5cbc10f 632Author: Lasse Collin <lasse.collin@tukaani.org> 633Date: 2013-03-05 19:14:50 +0200 634 635 Avoid unneeded use of awk in xzless. 636 637 Use "read" instead of "awk" in xzless to get the version 638 number of "less". The need for awk was introduced in 639 the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e. 640 641 Thanks to Ariel P for the patch. 642 643 src/scripts/xzless.in | 3 +-- 644 1 file changed, 1 insertion(+), 2 deletions(-) 645 646commit 9f62fd9605eade23b62b07a235d1f02156f7a5c6 647Author: Jonathan Nieder <jrnieder@gmail.com> 648Date: 2012-11-19 00:10:10 -0800 649 650 xzless: Make "less -V" parsing more robust 651 652 In v4.999.9beta~30 (xzless: Support compressed standard input, 653 2009-08-09), xzless learned to parse ‘less -V’ output to figure out 654 whether less is new enough to handle $LESSOPEN settings starting 655 with “|-”. That worked well for a while, but the version string from 656 ‘less’ versions 448 (June, 2012) is misparsed, producing a warning: 657 658 $ xzless /tmp/test.xz; echo $? 659 /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \ 660 integer expression expected 661 0 662 663 More precisely, modern ‘less’ lists the regexp implementation along 664 with its version number, and xzless passes the entire version number 665 with attached parenthetical phrase as a number to "test $a -gt $b", 666 producing the above confusing message. 667 668 $ less-444 -V | head -1 669 less 444 670 $ less -V | head -1 671 less 456 (no regular expressions) 672 673 So relax the pattern matched --- instead of expecting "less <number>", 674 look for a line of the form "less <number>[ (extra parenthetical)]". 675 While at it, improve the behavior when no matching line is found --- 676 instead of producing a cryptic message, we can fall back on a LESSPIPE 677 setting that is supported by all versions of ‘less’. 678 679 The implementation uses "awk" for simplicity. Hopefully that’s 680 portable enough. 681 682 Reported-by: Jörg-Volker Peetz <jvpeetz@web.de> 683 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 684 685 src/scripts/xzless.in | 3 ++- 686 1 file changed, 2 insertions(+), 1 deletion(-) 687 688commit 1d05980f5b5c2c94d833001daccacce4a466876e 689Author: Lasse Collin <lasse.collin@tukaani.org> 690Date: 2012-10-03 15:54:24 +0300 691 692 xz: Fix the note about --rsyncable on the man page. 693 694 src/xz/xz.1 | 17 +++++++++-------- 695 1 file changed, 9 insertions(+), 8 deletions(-) 696 697commit fb68497333598688d309a92838d91fd560f7e9f0 698Author: Lasse Collin <lasse.collin@tukaani.org> 699Date: 2012-09-28 20:11:09 +0300 700 701 xz: Improve handling of failed realloc in xrealloc. 702 703 Thanks to Jim Meyering. 704 705 src/xz/util.c | 14 ++++++++++++-- 706 1 file changed, 12 insertions(+), 2 deletions(-) 707 708commit 75013db6d4d63c195bd8b8d45729b4be0665a812 709Author: Lasse Collin <lasse.collin@tukaani.org> 710Date: 2012-12-15 20:01:02 +0200 711 712 A few typo fixes to comments and the xz man page. 713 714 Thanks to Jim Meyering. 715 716 configure.ac | 2 +- 717 src/liblzma/check/sha256.c | 1 - 718 src/xz/xz.1 | 4 ++-- 719 3 files changed, 3 insertions(+), 4 deletions(-) 720 721commit e44b21839b1dcbac5097be39b87dd2ddb6e114fd 722Author: Lasse Collin <lasse.collin@tukaani.org> 723Date: 2012-08-02 17:13:30 +0300 724 725 Build: Bump gettext version requirement to 0.18. 726 727 Otherwise too old version of m4/lib-link.m4 gets included 728 when autoreconf -fi is run. 729 730 configure.ac | 2 +- 731 1 file changed, 1 insertion(+), 1 deletion(-) 732 733commit fd3dbb23ca7e75a7a888d7e897c381dc06308307 734Author: Lasse Collin <lasse.collin@tukaani.org> 735Date: 2012-07-05 07:36:28 +0300 736 737 Tests: Remove tests/test_block.c that had gotten committed accidentally. 738 739 tests/test_block.c | 52 ---------------------------------------------------- 740 1 file changed, 52 deletions(-) 741 742commit 05a735d279d74af437c31f25f69aded4713c1a3d 743Author: Lasse Collin <lasse.collin@tukaani.org> 744Date: 2012-07-05 07:33:35 +0300 745 746 Build: Include macosx/build.sh in the distribution. 747 748 It has been in the Git repository since 2010 but probably 749 few people have seen it since it hasn't been included in 750 the release tarballs. :-( 751 752 Makefile.am | 1 + 753 1 file changed, 1 insertion(+) 754 755commit 4e6d62793b5e7b87edcc93c7ded072c1ecd94173 756Author: Lasse Collin <lasse.collin@tukaani.org> 757Date: 2012-07-05 07:24:45 +0300 758 759 Docs: Fix the name LZMA Utils -> XZ Utils in debug/README. 760 761 debug/README | 2 +- 762 1 file changed, 1 insertion(+), 1 deletion(-) 763 764commit dd95b5e7614baf1f07a1316b5106bd616a9efa79 765Author: Lasse Collin <lasse.collin@tukaani.org> 766Date: 2012-07-05 07:23:17 +0300 767 768 Include debug/translation.bash in the distribution. 769 770 Also fix the script name mentioned in README. 771 772 README | 4 ++-- 773 debug/Makefile.am | 3 +++ 774 2 files changed, 5 insertions(+), 2 deletions(-) 775 776commit 20778053a07eb90c159c1377ca8dc05a90fd530b 777Author: Lasse Collin <lasse.collin@tukaani.org> 778Date: 2012-06-22 14:36:16 +0300 779 780 xz: Update man page date to match the latest update. 781 782 src/xz/xz.1 | 2 +- 783 1 file changed, 1 insertion(+), 1 deletion(-) 784 785commit 2cefa84af676da37d7e9c466d55d46c67ab00c22 786Author: Lasse Collin <lasse.collin@tukaani.org> 787Date: 2012-06-22 10:25:43 +0300 788 789 Bump version and soname for 5.0.4. 790 791 src/liblzma/Makefile.am | 2 +- 792 src/liblzma/api/lzma/version.h | 2 +- 793 2 files changed, 2 insertions(+), 2 deletions(-) 794 795commit 433fec191a17e45690809e54146ea7a773f54cff 796Author: Lasse Collin <lasse.collin@tukaani.org> 797Date: 2012-06-22 10:25:09 +0300 798 799 Update NEWS for 5.0.4. 800 801 NEWS | 25 +++++++++++++++++++------ 802 1 file changed, 19 insertions(+), 6 deletions(-) 803 804commit 711fa680f552a4003df73b37e6dc4d6e00b47bcd 805Author: Lasse Collin <lasse.collin@tukaani.org> 806Date: 2012-06-18 21:27:47 +0300 807 808 Docs: Language fix to 01_compress_easy.c. 809 810 Thanks to Jonathan Nieder. 811 812 doc/examples/01_compress_easy.c | 2 +- 813 1 file changed, 1 insertion(+), 1 deletion(-) 814 815commit 3d7ab1dc61a75c560828be5df96598388b771456 816Author: Lasse Collin <lasse.collin@tukaani.org> 817Date: 2012-06-14 20:15:30 +0300 818 819 Fix the top-level Makefile.am for the new example programs. 820 821 Makefile.am | 12 ++++++++++-- 822 1 file changed, 10 insertions(+), 2 deletions(-) 823 824commit ef8b8e5f111469b5bc005975f7abb9abbd372b25 825Author: Lasse Collin <lasse.collin@tukaani.org> 826Date: 2012-06-14 10:52:33 +0300 827 828 Docs: Add new example programs. 829 830 These have more comments than the old examples and 831 human-readable error messages. More tutorial-like examples 832 are needed but these are a start. 833 834 doc/examples/00_README.txt | 27 ++++ 835 doc/examples/01_compress_easy.c | 297 ++++++++++++++++++++++++++++++++++++++ 836 doc/examples/02_decompress.c | 287 ++++++++++++++++++++++++++++++++++++ 837 doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++ 838 doc/examples/Makefile | 23 +++ 839 5 files changed, 827 insertions(+) 840 841commit 75c149bc8045a26f8bc719cb8ed20668dab79091 842Author: Lasse Collin <lasse.collin@tukaani.org> 843Date: 2012-06-14 10:33:27 +0300 844 845 Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old. 846 847 It is good to keep these around to so that if someone has 848 copied the decompressor bug from xz_pipe_decomp.c he has 849 an example how to easily fix it. 850 851 doc/examples/xz_pipe_comp.c | 127 -------------------------------------- 852 doc/examples/xz_pipe_decomp.c | 123 ------------------------------------ 853 doc/examples_old/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++ 854 doc/examples_old/xz_pipe_decomp.c | 123 ++++++++++++++++++++++++++++++++++++ 855 4 files changed, 250 insertions(+), 250 deletions(-) 856 857commit 456307ebf947a5f50bd995d617b99c1215572308 858Author: Lasse Collin <lasse.collin@tukaani.org> 859Date: 2012-06-14 10:33:01 +0300 860 861 Docs: Fix a bug in xz_pipe_decomp.c example program. 862 863 doc/examples/xz_pipe_decomp.c | 10 +++++++++- 864 1 file changed, 9 insertions(+), 1 deletion(-) 865 866commit 4c310b8a29bc257e6ccbd2310f12f258678f3fef 867Author: Lasse Collin <lasse.collin@tukaani.org> 868Date: 2012-05-31 15:53:25 +0300 869 870 Translations: Update the Italian translation. 871 872 Thanks to Milo Casagrande. 873 874 po/it.po | 311 ++++++++++++++++++++++++++++++--------------------------------- 875 1 file changed, 146 insertions(+), 165 deletions(-) 876 877commit ec32b79366dc47a55ea877589df9e8509ba113a7 878Author: Lasse Collin <lasse.collin@tukaani.org> 879Date: 2012-05-30 23:15:07 +0300 880 881 Translations: Update the French translation. 882 883 Thanks to Adrien Nader. 884 885 po/fr.po | 237 +++++++++++++++++++++++++++++++-------------------------------- 886 1 file changed, 118 insertions(+), 119 deletions(-) 887 888commit dd06f40e4dd7649525e4f28d890dc238a3aa37e5 889Author: Lasse Collin <lasse.collin@tukaani.org> 890Date: 2012-05-29 22:26:27 +0300 891 892 Translations: Update the German translation. 893 894 po/de.po | 169 ++++++++++++++++++++++++++++++++++----------------------------- 895 1 file changed, 91 insertions(+), 78 deletions(-) 896 897commit c66808d1f55d0149ed57c536cc9b52e9c8b583bc 898Author: Lasse Collin <lasse.collin@tukaani.org> 899Date: 2012-05-29 22:12:57 +0300 900 901 Translations: Update Polish translation. 902 903 po/pl.po | 150 ++++++++++++++++++++++++++++++++++----------------------------- 904 1 file changed, 82 insertions(+), 68 deletions(-) 905 906commit 556c22dfed195c1466b298183b850d6c28544900 907Author: Lasse Collin <lasse.collin@tukaani.org> 908Date: 2012-05-29 13:10:36 +0300 909 910 Preliminary NEWS for 5.0.4. 911 912 NEWS | 24 ++++++++++++++++++++++++ 913 1 file changed, 24 insertions(+) 914 915commit dd13b66bf582f49d3aec36e3410ff8541b7506da 916Author: Lasse Collin <lasse.collin@tukaani.org> 917Date: 2012-05-28 20:42:11 +0300 918 919 liblzma: Fix possibility of incorrect LZMA_BUF_ERROR. 920 921 lzma_code() could incorrectly return LZMA_BUF_ERROR if 922 all of the following was true: 923 924 - The caller knows how many bytes of output to expect 925 and only provides that much output space. 926 927 - When the last output bytes are decoded, the 928 caller-provided input buffer ends right before 929 the LZMA2 end of payload marker. So LZMA2 won't 930 provide more output anymore, but it won't know it 931 yet and thus won't return LZMA_STREAM_END yet. 932 933 - A BCJ filter is in use and it hasn't left any 934 unfiltered bytes in the temp buffer. This can happen 935 with any BCJ filter, but in practice it's more likely 936 with filters other than the x86 BCJ. 937 938 Another situation where the bug can be triggered happens 939 if the uncompressed size is zero bytes and no output space 940 is provided. In this case the decompression can fail even 941 if the whole input file is given to lzma_code(). 942 943 A similar bug was fixed in XZ Embedded on 2011-09-19. 944 945 src/liblzma/simple/simple_coder.c | 2 +- 946 tests/Makefile.am | 4 +- 947 tests/test_bcj_exact_size.c | 112 ++++++++++++++++++++++++++++++++++++++ 948 3 files changed, 116 insertions(+), 2 deletions(-) 949 950commit a0223bf796fdaad51a11ad02c4195c694849cc78 951Author: Lasse Collin <lasse.collin@tukaani.org> 952Date: 2012-05-28 15:38:32 +0300 953 954 Update THANKS. 955 956 THANKS | 1 + 957 1 file changed, 1 insertion(+) 958 959commit 86e57e4bfefe3fd8e13615c41604165bb2359501 960Author: Lasse Collin <lasse.collin@tukaani.org> 961Date: 2012-05-28 15:37:43 +0300 962 963 xz: Don't show a huge number in -vv when memory limit is disabled. 964 965 src/xz/message.c | 12 +++++++++++- 966 1 file changed, 11 insertions(+), 1 deletion(-) 967 968commit 13e44a94da19d1ef14832ff12d3877a6fd2c54c0 969Author: Lasse Collin <lasse.collin@tukaani.org> 970Date: 2012-05-27 22:30:17 +0300 971 972 xz: Document the "summary" lines of --robot -lvv. 973 974 This documents only the columns that are in v5.0. 975 The new columns added in the master branch aren't 976 necessarily stable yet. 977 978 src/xz/xz.1 | 19 +++++++++++++++++++ 979 1 file changed, 19 insertions(+) 980 981commit 2f90345e13ab8fea4de45a4f1caa73ebc63a62e7 982Author: Lasse Collin <lasse.collin@tukaani.org> 983Date: 2012-05-27 21:53:20 +0300 984 985 xz: Fix output of verbose --robot --list modes. 986 987 It printed the filename in "filename (x/y)" format 988 which it obviously shouldn't do in robot mode. 989 990 src/xz/message.c | 2 +- 991 1 file changed, 1 insertion(+), 1 deletion(-) 992 993commit 8d4864f53ffae5d862c691a0b334a6b69bc5366e 994Author: Lasse Collin <lasse.collin@tukaani.org> 995Date: 2012-05-10 21:15:17 +0300 996 997 Update THANKS. 998 999 THANKS | 1 + 1000 1 file changed, 1 insertion(+) 1001 1002commit 35e9c58abb0ce3993da844aaeaa3e7231cd2be8f 1003Author: Lasse Collin <lasse.collin@tukaani.org> 1004Date: 2012-05-10 21:14:16 +0300 1005 1006 Docs: Cleanup line wrapping a bit. 1007 1008 README | 12 ++++++------ 1009 doc/history.txt | 49 +++++++++++++++++++++++++------------------------ 1010 2 files changed, 31 insertions(+), 30 deletions(-) 1011 1012commit 532b3e4c568a228309b56f95c13435fd078dbe02 1013Author: Benno Schulenberg <bensberg@justemail.net> 1014Date: 2012-03-13 22:04:04 +0100 1015 1016 Fix a few typos and add some missing articles in some documents. 1017 1018 Also hyphenate several compound adjectives. 1019 1020 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 1021 1022 AUTHORS | 6 +++--- 1023 README | 42 ++++++++++++++++++++--------------------- 1024 doc/faq.txt | 24 ++++++++++++------------ 1025 doc/history.txt | 58 ++++++++++++++++++++++++++++----------------------------- 1026 4 files changed, 65 insertions(+), 65 deletions(-) 1027 1028commit afb6ce8c82ffef8f2505a3759da72a733c7b0b8f 1029Author: Lasse Collin <lasse.collin@tukaani.org> 1030Date: 2012-04-29 11:51:25 +0300 1031 1032 Windows: Update notes about static linking with MSVC. 1033 1034 windows/README-Windows.txt | 13 +++++++++---- 1035 1 file changed, 9 insertions(+), 4 deletions(-) 1036 1037commit 7c3ba2ed5c3c878d4a14ca549b46dbff60c6d565 1038Author: Lasse Collin <lasse.collin@tukaani.org> 1039Date: 2012-04-19 15:25:26 +0300 1040 1041 liblzma: Remove outdated comments. 1042 1043 src/liblzma/simple/simple_coder.c | 3 --- 1044 src/liblzma/simple/simple_private.h | 3 +-- 1045 2 files changed, 1 insertion(+), 5 deletions(-) 1046 1047commit f55db9c187651094f43881c49db2b2d9ffee6b80 1048Author: Lasse Collin <lasse.collin@tukaani.org> 1049Date: 2012-04-19 14:17:52 +0300 1050 1051 DOS: Link against DJGPP's libemu to support FPU emulation. 1052 1053 This way xz should work on 386SX and 486SX. Floating point 1054 only is needed for verbose output in xz. 1055 1056 dos/Makefile | 2 +- 1057 1 file changed, 1 insertion(+), 1 deletion(-) 1058 1059commit 203edff4c761dbd7cac76ea66e4eed501c23e7a3 1060Author: Lasse Collin <lasse.collin@tukaani.org> 1061Date: 2012-04-19 13:58:55 +0300 1062 1063 Docs: Update MINIX 3 information in INSTALL. 1064 1065 INSTALL | 8 +++++--- 1066 1 file changed, 5 insertions(+), 3 deletions(-) 1067 1068commit f0a8f95c215628967b7cf9bd9b0a9e4172f50bb4 1069Author: Lasse Collin <lasse.collin@tukaani.org> 1070Date: 2012-02-22 14:23:13 +0200 1071 1072 Update THANKS. 1073 1074 THANKS | 1 + 1075 1 file changed, 1 insertion(+) 1076 1077commit b7ad23fa78646036c0290cd91eada939c9a31526 1078Author: Lasse Collin <lasse.collin@tukaani.org> 1079Date: 2012-02-22 14:02:34 +0200 1080 1081 Fix exit status of xzgrep when grepping binary files. 1082 1083 When grepping binary files, grep may exit before it has 1084 read all the input. In this case, gzip -q returns 2 (eating 1085 SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status 1086 (e.g. 141). This causes wrong exit status when grepping 1087 xz- or bzip2-compressed binary files. 1088 1089 The fix checks for the special exit status that indicates SIGPIPE. 1090 It uses kill -l which should be supported everywhere since it 1091 is in both SUSv2 (1997) and POSIX.1-2008. 1092 1093 Thanks to James Buren for the bug report. 1094 1095 src/scripts/xzgrep.in | 3 ++- 1096 1 file changed, 2 insertions(+), 1 deletion(-) 1097 1098commit 4e19fbb04a0035030406482319e264426459eb24 1099Author: Lasse Collin <lasse.collin@tukaani.org> 1100Date: 2012-02-22 12:08:43 +0200 1101 1102 Update THANKS. 1103 1104 THANKS | 1 + 1105 1 file changed, 1 insertion(+) 1106 1107commit c6fa03a427e3d1320794102cee3ff4f5ae00eb36 1108Author: Lasse Collin <lasse.collin@tukaani.org> 1109Date: 2012-05-24 18:47:52 +0300 1110 1111 Fix compiling with IBM XL C on AIX. 1112 1113 INSTALL | 36 ++++++++++++++++++++++-------------- 1114 configure.ac | 6 +++++- 1115 2 files changed, 27 insertions(+), 15 deletions(-) 1116 1117commit 7b6ffc98645e1b3b302b6680be0a901d1ebf7358 1118Author: Lasse Collin <lasse.collin@tukaani.org> 1119Date: 2012-05-24 18:37:08 +0300 1120 1121 Build: Upgrade m4/acx_pthread.m4 to the latest version. 1122 1123 It was renamed to ax_pthread.m4 in Autoconf Archive. 1124 1125 configure.ac | 2 +- 1126 m4/acx_pthread.m4 | 279 ------------------------------------------------ 1127 m4/ax_pthread.m4 | 309 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1128 3 files changed, 310 insertions(+), 280 deletions(-) 1129 1130commit bfac2be5023994fcc53de2844e7dd3af61910dc2 1131Author: Lasse Collin <lasse.collin@tukaani.org> 1132Date: 2012-01-10 17:13:03 +0200 1133 1134 Tests: Fix a compiler warning with _FORTIFY_SOURCE. 1135 1136 Reported here: 1137 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385 1138 1139 tests/create_compress_files.c | 3 ++- 1140 1 file changed, 2 insertions(+), 1 deletion(-) 1141 1142commit df85e156716a4eecb7e2978691f03f729444d998 1143Author: Lasse Collin <lasse.collin@tukaani.org> 1144Date: 2011-12-19 21:21:29 +0200 1145 1146 Docs: Explain the stable releases better in README. 1147 1148 README | 6 +++++- 1149 1 file changed, 5 insertions(+), 1 deletion(-) 1150 1151commit d06d32f108c8278c25c24b2e8666bda7b2ec23b5 1152Author: Lasse Collin <lasse.collin@tukaani.org> 1153Date: 2011-11-04 17:57:16 +0200 1154 1155 xz: Fix a typo in a comment. 1156 1157 Thanks to Bela Lubkin. 1158 1159 src/xz/args.c | 2 +- 1160 1 file changed, 1 insertion(+), 1 deletion(-) 1161 1162commit 636fdcfbf542f1e84db2c4736004d84be4b12c84 1163Author: Lasse Collin <lasse.collin@tukaani.org> 1164Date: 2011-11-03 17:08:02 +0200 1165 1166 Update THANKS. 1167 1168 THANKS | 1 + 1169 1 file changed, 1 insertion(+) 1170 1171commit 55fd02f83ecd6cbd6925a3e8a3d43b8d4ef2a17c 1172Author: Lasse Collin <lasse.collin@tukaani.org> 1173Date: 2011-11-03 17:07:22 +0200 1174 1175 xz: Fix xz on EBCDIC systems. 1176 1177 Thanks to Chris Donawa. 1178 1179 src/xz/coder.c | 5 ++++- 1180 1 file changed, 4 insertions(+), 1 deletion(-) 1181 1182commit 4052f36053b931bad847a36aabf1a07d0034e297 1183Author: Lasse Collin <lasse.collin@tukaani.org> 1184Date: 2011-09-06 12:03:41 +0300 1185 1186 Build: Fix "make check" on Windows. 1187 1188 tests/Makefile.am | 7 +++++-- 1189 windows/build.bash | 2 ++ 1190 2 files changed, 7 insertions(+), 2 deletions(-) 1191 1192commit 0f25758459c74c366a73f35d47ee12b75890bb79 1193Author: Lasse Collin <lasse.collin@tukaani.org> 1194Date: 2011-08-09 21:19:13 +0300 1195 1196 Update THANKS. 1197 1198 THANKS | 2 ++ 1199 1 file changed, 2 insertions(+) 1200 1201commit 70f03b51ffcb783646b20de8d97b6986c4280eec 1202Author: Lasse Collin <lasse.collin@tukaani.org> 1203Date: 2011-08-09 21:16:44 +0300 1204 1205 Workaround unusual SIZE_MAX on SCO OpenServer. 1206 1207 src/common/sysdefs.h | 9 ++++++--- 1208 1 file changed, 6 insertions(+), 3 deletions(-) 1209 1210commit f138bdf76a70029e8360062a0b227936b83b24c9 1211Author: Lasse Collin <lasse.collin@tukaani.org> 1212Date: 2011-08-06 20:37:28 +0300 1213 1214 Run the scripts with the correct shell in test_scripts.sh. 1215 1216 The scripts are now made executable in the build tree. 1217 This way the scripts can be run like programs in 1218 test_scripts.sh. Previously test_scripts.sh always 1219 used sh but it's not correct if @POSIX_SHELL@ is set 1220 to something else by configure. 1221 1222 Thanks to Jonathan Nieder for the patch. 1223 1224 configure.ac | 8 ++++---- 1225 tests/test_scripts.sh | 8 ++++---- 1226 2 files changed, 8 insertions(+), 8 deletions(-) 1227 1228commit 2c144a0365c84dbf1b6722466746d42f2563a319 1229Author: Lasse Collin <lasse.collin@tukaani.org> 1230Date: 2011-07-31 11:01:47 +0300 1231 1232 Fix exit status of "xzdiff foo.xz bar.xz". 1233 1234 xzdiff was clobbering the exit status from diff in a case 1235 statement used to analyze the exit statuses from "xz" when 1236 its operands were two compressed files. Save and restore 1237 diff's exit status to fix this. 1238 1239 The bug is inherited from zdiff in GNU gzip and was fixed 1240 there on 2009-10-09. 1241 1242 Thanks to Jonathan Nieder for the patch and 1243 to Peter Pallinger for reporting the bug. 1244 1245 src/scripts/xzdiff.in | 2 ++ 1246 tests/Makefile.am | 4 +++- 1247 tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1248 3 files changed, 59 insertions(+), 1 deletion(-) 1249 1250commit edf339227a966f24aebe1845fcca9429b8f6e318 1251Author: Anders F Bjorklund <afb@users.sourceforge.net> 1252Date: 2010-11-05 12:56:11 +0100 1253 1254 add build script for macosx universal 1255 1256 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1257 1 file changed, 92 insertions(+) 1258 1259commit 7fcc6334ea8923550ba6b5347ff99dc8432234b0 1260Author: Lasse Collin <lasse.collin@tukaani.org> 1261Date: 2011-06-16 12:15:29 +0300 1262 1263 liblzma: Remove unneeded semicolon. 1264 1265 src/liblzma/lz/lz_encoder_hash.h | 2 +- 1266 1 file changed, 1 insertion(+), 1 deletion(-) 1267 1268commit 631f4d3ae6adfda84d1a110781d9402c12e16cfc 1269Author: Lasse Collin <lasse.collin@tukaani.org> 1270Date: 2011-05-28 16:43:26 +0300 1271 1272 Don't call close(-1) in tuklib_open_stdxxx() on error. 1273 1274 Thanks to Jim Meyering. 1275 1276 src/common/tuklib_open_stdxxx.c | 4 +++- 1277 1 file changed, 3 insertions(+), 1 deletion(-) 1278 1279commit c89faf4c9e5970e7f7f8a25521ed9aa62d1a2d9a 1280Author: Lasse Collin <lasse.collin@tukaani.org> 1281Date: 2011-05-28 09:47:56 +0300 1282 1283 Translations: Update Italian translation. 1284 1285 Thanks to Milo Casagrande. 1286 1287 po/it.po | 333 +++++++++++++++++++++++++++++++++++---------------------------- 1288 1 file changed, 184 insertions(+), 149 deletions(-) 1289 1290commit 6fe2fc9b6ab5bf6848140823e9536370834f42fb 1291Author: Lasse Collin <lasse.collin@tukaani.org> 1292Date: 2011-05-28 08:46:04 +0300 1293 1294 Tests: Add a test file for the bug in the previous commit. 1295 1296 tests/files/README | 4 ++++ 1297 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes 1298 2 files changed, 4 insertions(+) 1299 1300commit 6c4d4db2bc8d8b682bd927144d37daa2ab21a6d6 1301Author: Lasse Collin <lasse.collin@tukaani.org> 1302Date: 2011-05-27 22:25:44 +0300 1303 1304 xz: Fix error handling in xz -lvv. 1305 1306 It could do an invalid free() and read past the end 1307 of the uninitialized filters array. 1308 1309 src/xz/list.c | 21 ++++++--------------- 1310 1 file changed, 6 insertions(+), 15 deletions(-) 1311 1312commit 844f84fcad9670c543550edf7c7e42630c8f7715 1313Author: Lasse Collin <lasse.collin@tukaani.org> 1314Date: 2011-05-27 22:09:49 +0300 1315 1316 liblzma: Handle allocation failures correctly in lzma_index_init(). 1317 1318 Thanks to Jim Meyering. 1319 1320 src/liblzma/common/index.c | 7 +++++-- 1321 1 file changed, 5 insertions(+), 2 deletions(-) 1322 1323commit 240e8b9791df597063a3b68d04ffcb3aa4f2de6a 1324Author: Lasse Collin <lasse.collin@tukaani.org> 1325Date: 2011-05-23 18:30:30 +0300 1326 1327 Build: Set GZIP_ENV=-9n in top-level Makefile.am. 1328 1329 Makefile.am | 3 +++ 1330 1 file changed, 3 insertions(+) 1331 1332commit e32cb264ea72a4459810f30abad70dae5a4fa17d 1333Author: Lasse Collin <lasse.collin@tukaani.org> 1334Date: 2011-05-21 16:59:22 +0300 1335 1336 Bump version and soname for 5.0.3. 1337 1338 src/liblzma/Makefile.am | 2 +- 1339 src/liblzma/api/lzma/version.h | 2 +- 1340 2 files changed, 2 insertions(+), 2 deletions(-) 1341 1342commit 65cff45f8fd1c250491557157cce0f5f38481082 1343Author: Lasse Collin <lasse.collin@tukaani.org> 1344Date: 2011-05-21 16:56:53 +0300 1345 1346 Update NEWS for 5.0.3. 1347 1348 NEWS | 36 ++++++++++++++++++++++++++++++++++-- 1349 1 file changed, 34 insertions(+), 2 deletions(-) 1350 1351commit 316c67ffdae1f811ac95e838d5290a013bff4ca7 1352Author: Lasse Collin <lasse.collin@tukaani.org> 1353Date: 2011-05-21 16:28:44 +0300 1354 1355 Add French translation. 1356 1357 It is known that the BCJ filter --help text is only 1358 partially translated. 1359 1360 po/LINGUAS | 1 + 1361 po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1362 2 files changed, 865 insertions(+) 1363 1364commit 1931175eea6d09c0845d6e8e334a7333647f11c0 1365Author: Lasse Collin <lasse.collin@tukaani.org> 1366Date: 2011-05-21 15:12:10 +0300 1367 1368 xz: Translate also the string used to print the program name. 1369 1370 French needs a space before a colon, e.g. "xz : foo error". 1371 1372 src/xz/message.c | 6 +++++- 1373 1 file changed, 5 insertions(+), 1 deletion(-) 1374 1375commit 841dc1f891b48b23f84c0f0e0c86c7c4e4bdcdf5 1376Author: Lasse Collin <lasse.collin@tukaani.org> 1377Date: 2011-05-17 12:26:28 +0300 1378 1379 Update THANKS. 1380 1381 THANKS | 3 +++ 1382 1 file changed, 3 insertions(+) 1383 1384commit 0f7e2d36240ebf1159d5fb85d8cd7422337a0d3f 1385Author: Lasse Collin <lasse.collin@tukaani.org> 1386Date: 2011-05-17 12:21:33 +0300 1387 1388 Update INSTALL with a note about linker problem on OpenSolaris x86. 1389 1390 INSTALL | 23 +++++++++++++++++------ 1391 1 file changed, 17 insertions(+), 6 deletions(-) 1392 1393commit 793d857e01e1725f16fc0c8af8172c91a9e38617 1394Author: Lasse Collin <lasse.collin@tukaani.org> 1395Date: 2011-05-17 12:01:37 +0300 1396 1397 Build: Fix initialization of enable_check_* variables in configure.ac. 1398 1399 This doesn't matter much in practice since it is unlikely 1400 that anyone would have such environment variable names. 1401 1402 Thanks to Wim Lewis. 1403 1404 configure.ac | 2 +- 1405 1 file changed, 1 insertion(+), 1 deletion(-) 1406 1407commit afcff45cee04c5c7d9c333504046ffb63d1418b5 1408Author: Lasse Collin <lasse.collin@tukaani.org> 1409Date: 2011-05-17 11:54:38 +0300 1410 1411 Add underscores to attributes (__attribute((__foo__))). 1412 1413 src/liblzma/common/alone_decoder.c | 2 +- 1414 src/liblzma/common/alone_encoder.c | 2 +- 1415 src/liblzma/common/block_encoder.c | 2 +- 1416 src/liblzma/common/common.c | 2 +- 1417 src/liblzma/common/common.h | 2 +- 1418 src/liblzma/common/index_decoder.c | 9 +++++---- 1419 src/liblzma/common/index_encoder.c | 11 ++++++----- 1420 src/liblzma/delta/delta_encoder.c | 2 +- 1421 src/liblzma/lz/lz_decoder.c | 2 +- 1422 src/liblzma/lz/lz_encoder.c | 2 +- 1423 src/liblzma/simple/arm.c | 2 +- 1424 src/liblzma/simple/armthumb.c | 2 +- 1425 src/liblzma/simple/ia64.c | 2 +- 1426 src/liblzma/simple/powerpc.c | 2 +- 1427 src/liblzma/simple/simple_coder.c | 2 +- 1428 src/liblzma/simple/sparc.c | 2 +- 1429 src/lzmainfo/lzmainfo.c | 4 ++-- 1430 src/xz/coder.c | 2 +- 1431 src/xz/hardware.h | 2 +- 1432 src/xz/message.c | 2 +- 1433 src/xz/message.h | 18 +++++++++--------- 1434 src/xz/options.c | 6 +++--- 1435 src/xz/signals.c | 2 +- 1436 src/xz/util.h | 6 +++--- 1437 src/xzdec/xzdec.c | 6 +++--- 1438 25 files changed, 49 insertions(+), 47 deletions(-) 1439 1440commit 22159c6ba2300a006f2e46ce85ae132e2d2f7d57 1441Author: Lasse Collin <lasse.collin@tukaani.org> 1442Date: 2011-04-18 19:35:49 +0300 1443 1444 Update THANKS. 1445 1446 THANKS | 2 ++ 1447 1 file changed, 2 insertions(+) 1448 1449commit 5e3499059515033d1ce44b6fb0fa49183c7ac633 1450Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> 1451Date: 2011-04-15 04:54:49 -0400 1452 1453 xzgrep: fix typo in $0 parsing 1454 1455 Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org> 1456 Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> 1457 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 1458 1459 src/scripts/xzgrep.in | 4 ++-- 1460 1 file changed, 2 insertions(+), 2 deletions(-) 1461 1462commit 1125611b9b8d4a209b6a73d2c76e1b39c065972a 1463Author: Lasse Collin <lasse.collin@tukaani.org> 1464Date: 2011-04-12 11:59:49 +0300 1465 1466 Remove doubled words from documentation and comments. 1467 1468 Spot candidates by running these commands: 1469 git ls-files |xargs perl -0777 -n \ 1470 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \ 1471 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}' 1472 1473 Thanks to Jim Meyering for the original patch. 1474 1475 doc/lzma-file-format.txt | 4 ++-- 1476 src/liblzma/common/alone_encoder.c | 2 +- 1477 src/liblzma/lzma/lzma2_encoder.c | 2 +- 1478 src/xz/file_io.c | 2 +- 1479 src/xz/xz.1 | 2 +- 1480 windows/INSTALL-Windows.txt | 2 +- 1481 6 files changed, 7 insertions(+), 7 deletions(-) 1482 1483commit 3f8fa53837bae8b44f3addf19923e26401336c3d 1484Author: Lasse Collin <lasse.collin@tukaani.org> 1485Date: 2011-04-11 21:04:13 +0300 1486 1487 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too. 1488 1489 src/liblzma/api/lzma/container.h | 9 +++++++++ 1490 1 file changed, 9 insertions(+) 1491 1492commit 320d734c20d0776e3eb80f6b5984ddeb494715b5 1493Author: Lasse Collin <lasse.collin@tukaani.org> 1494Date: 2011-04-11 20:59:07 +0300 1495 1496 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better. 1497 1498 It didn't mention the return value that is used if 1499 an error occurs. 1500 1501 src/liblzma/api/lzma/filter.h | 8 ++++++-- 1502 1 file changed, 6 insertions(+), 2 deletions(-) 1503 1504commit 2ee4edeffc8d9734bf68230df31b20ac6a94c9b5 1505Author: Lasse Collin <lasse.collin@tukaani.org> 1506Date: 2011-04-11 13:59:50 +0300 1507 1508 liblzma: Don't create an empty Block in lzma_stream_buffer_encode(). 1509 1510 Empty Block was created if the input buffer was empty. 1511 Empty Block wastes a few bytes of space, but more importantly 1512 it triggers a bug in XZ Utils 5.0.1 and older when trying 1513 to decompress such a file. 5.0.1 and older consider such 1514 files to be corrupt. I thought that no encoder creates empty 1515 Blocks when releasing 5.0.2 but I was wrong. 1516 1517 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++------- 1518 1 file changed, 13 insertions(+), 7 deletions(-) 1519 1520commit 73f56fb87d54091d0c4fd22d70e6f042902e3b63 1521Author: Lasse Collin <lasse.collin@tukaani.org> 1522Date: 2011-04-11 13:28:40 +0300 1523 1524 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK. 1525 1526 This return value was missing from the API comments of 1527 four functions. 1528 1529 src/liblzma/api/lzma/block.h | 1 + 1530 src/liblzma/api/lzma/container.h | 3 +++ 1531 2 files changed, 4 insertions(+) 1532 1533commit 4ce1cf97a88ae1640a380dd19cbc255d729f966b 1534Author: Lasse Collin <lasse.collin@tukaani.org> 1535Date: 2011-04-11 13:21:28 +0300 1536 1537 liblzma: Validate encoder arguments better. 1538 1539 The biggest problem was that the integrity check type 1540 wasn't validated, and e.g. lzma_easy_buffer_encode() 1541 would create a corrupt .xz Stream if given an unsupported 1542 Check ID. Luckily applications don't usually try to use 1543 an unsupport Check ID, so this bug is unlikely to cause 1544 many real-world problems. 1545 1546 src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------ 1547 src/liblzma/common/block_encoder.c | 5 +++++ 1548 src/liblzma/common/stream_buffer_encoder.c | 3 +++ 1549 3 files changed, 20 insertions(+), 6 deletions(-) 1550 1551commit 972f05d7a4268dbe42573701f83faa45d03249eb 1552Author: Lasse Collin <lasse.collin@tukaani.org> 1553Date: 2011-04-09 18:29:30 +0300 1554 1555 Update THANKS. 1556 1557 THANKS | 1 + 1558 1 file changed, 1 insertion(+) 1559 1560commit 28154eeaf6e3442cd1e174f4e81266d60c4dac60 1561Author: Lasse Collin <lasse.collin@tukaani.org> 1562Date: 2011-04-09 18:28:58 +0300 1563 1564 liblzma: Add missing #ifdefs to filter_common.c. 1565 1566 Passing --disable-decoders to configure broke a few 1567 encoders due to missing #ifdefs in filter_common.c. 1568 1569 Thanks to Jason Gorski for the patch. 1570 1571 src/liblzma/common/filter_common.c | 6 +++--- 1572 1 file changed, 3 insertions(+), 3 deletions(-) 1573 1574commit aa95516d3d509c6b7895ee519004afcf500a0759 1575Author: Lasse Collin <lasse.collin@tukaani.org> 1576Date: 2011-04-02 14:49:56 +0300 1577 1578 liblzma: Fix a memory leak in stream_encoder.c. 1579 1580 It leaks old filter options structures (hundred bytes or so) 1581 every time the lzma_stream is reinitialized. With the xz tool, 1582 this happens when compressing multiple files. 1583 1584 src/liblzma/common/stream_encoder.c | 2 +- 1585 1 file changed, 1 insertion(+), 1 deletion(-) 1586 1587commit 58f52c72f49562a08042da9a2f4bbdf4dd162d0c 1588Author: Lasse Collin <lasse.collin@tukaani.org> 1589Date: 2011-04-01 08:47:46 +0300 1590 1591 Bumped version and liblzma soname to 5.0.2. 1592 1593 src/liblzma/Makefile.am | 2 +- 1594 src/liblzma/api/lzma/version.h | 2 +- 1595 2 files changed, 2 insertions(+), 2 deletions(-) 1596 1597commit 162779682e01d15f0ce386ef7f40d1be05ad0053 1598Author: Lasse Collin <lasse.collin@tukaani.org> 1599Date: 2011-04-01 08:47:20 +0300 1600 1601 Updated NEWS for 5.0.2. 1602 1603 NEWS | 18 ++++++++++++++++++ 1604 1 file changed, 18 insertions(+) 1605 1606commit 45553f9b4b0175c292023010dc41520347004852 1607Author: Lasse Collin <lasse.collin@tukaani.org> 1608Date: 2011-03-31 15:06:58 +0300 1609 1610 Update INSTALL with another note about IRIX. 1611 1612 INSTALL | 4 ++++ 1613 1 file changed, 4 insertions(+) 1614 1615commit af9d48d5515eadef689b1ce9ffb91e4dbcbc7f35 1616Author: Lasse Collin <lasse.collin@tukaani.org> 1617Date: 2011-03-31 12:22:55 +0300 1618 1619 Tests: Add a new file to test empty LZMA2 streams. 1620 1621 tests/files/README | 4 ++++ 1622 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes 1623 2 files changed, 4 insertions(+) 1624 1625commit d099ef9f517b59ab8e3b6f6aa0543c3643983470 1626Author: Lasse Collin <lasse.collin@tukaani.org> 1627Date: 2011-03-31 11:54:48 +0300 1628 1629 liblzma: Fix decoding of LZMA2 streams having no uncompressed data. 1630 1631 The decoder considered empty LZMA2 streams to be corrupt. 1632 This shouldn't matter much with .xz files, because no encoder 1633 creates empty LZMA2 streams in .xz. This bug is more likely 1634 to cause problems in applications that use raw LZMA2 streams. 1635 1636 src/liblzma/lzma/lzma2_decoder.c | 8 ++++---- 1637 1 file changed, 4 insertions(+), 4 deletions(-) 1638 1639commit df87249b26e79a75fd91041e85512944fc247b57 1640Author: Lasse Collin <lasse.collin@tukaani.org> 1641Date: 2011-03-24 01:42:49 +0200 1642 1643 Scripts: Better fix for xzgrep. 1644 1645 Now it uses "grep -q". 1646 1647 Thanks to Gregory Margo. 1648 1649 src/scripts/xzgrep.in | 8 ++++++-- 1650 1 file changed, 6 insertions(+), 2 deletions(-) 1651 1652commit 68c453e1c7b09dc9c7d2ef9d994c46f5b367f5d3 1653Author: Lasse Collin <lasse.collin@tukaani.org> 1654Date: 2011-03-24 01:22:18 +0200 1655 1656 Updated THANKS. 1657 1658 THANKS | 1 + 1659 1 file changed, 1 insertion(+) 1660 1661commit b441d39855516ae618faffd5156261b8b413394f 1662Author: Lasse Collin <lasse.collin@tukaani.org> 1663Date: 2011-03-24 01:21:32 +0200 1664 1665 Scripts: Fix xzgrep -l. 1666 1667 It didn't work at all. It tried to use the -q option 1668 for grep, but it appended it after "--". This works 1669 around it by redirecting to /dev/null. The downside 1670 is that this can be slower with big files compared 1671 to proper use of "grep -q". 1672 1673 Thanks to Gregory Margo. 1674 1675 src/scripts/xzgrep.in | 4 ++-- 1676 1 file changed, 2 insertions(+), 2 deletions(-) 1677 1678commit 82d5164839517f55daeadd9ee88c76425db30224 1679Author: Lasse Collin <lasse.collin@tukaani.org> 1680Date: 2011-02-04 22:49:31 +0200 1681 1682 xz: Clean up suffix.c. 1683 1684 struct suffix_pair isn't needed in compresed_name() 1685 so get rid of it there. 1686 1687 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------ 1688 1 file changed, 20 insertions(+), 24 deletions(-) 1689 1690commit 6decc8b41882c2250f0450eb87b83c9fbf495e95 1691Author: Lasse Collin <lasse.collin@tukaani.org> 1692Date: 2011-02-04 11:29:47 +0200 1693 1694 xz: Check if the file already has custom suffix when compressing. 1695 1696 Now "xz -S .test foo.test" refuses to compress the 1697 file because it already has the suffix .test. The man 1698 page had it documented this way already. 1699 1700 src/xz/suffix.c | 9 +++++++++ 1701 1 file changed, 9 insertions(+) 1702 1703commit ecda90061df8d39399e707e5c76c2ec0a0f400e5 1704Author: Lasse Collin <lasse.collin@tukaani.org> 1705Date: 2011-02-02 23:01:51 +0200 1706 1707 Updated THANKS. 1708 1709 THANKS | 1 + 1710 1 file changed, 1 insertion(+) 1711 1712commit 0fda1ae5b1aa0a5c629a09e5228db8ba1cd0dd5f 1713Author: Lasse Collin <lasse.collin@tukaani.org> 1714Date: 2011-02-02 23:00:33 +0200 1715 1716 Translations: Add Polish translation. 1717 1718 Thanks to Jakub Bogusz. 1719 1720 po/LINGUAS | 1 + 1721 po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1722 2 files changed, 826 insertions(+) 1723 1724commit 00be32978fedc5038748438bf685ac1713d1db83 1725Author: Lasse Collin <lasse.collin@tukaani.org> 1726Date: 2011-02-02 22:24:00 +0200 1727 1728 Updated THANKS. 1729 1730 THANKS | 1 + 1731 1 file changed, 1 insertion(+) 1732 1733commit 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004 1734Author: Lasse Collin <lasse.collin@tukaani.org> 1735Date: 2011-01-28 20:26:38 +0200 1736 1737 Bump package version and liblzma soname to 5.0.1. 1738 1739 src/liblzma/Makefile.am | 2 +- 1740 src/liblzma/api/lzma/version.h | 2 +- 1741 2 files changed, 2 insertions(+), 2 deletions(-) 1742 1743commit 5fbce0b8d96dc96775aa0215e3581addc830e23d 1744Author: Lasse Collin <lasse.collin@tukaani.org> 1745Date: 2011-01-28 20:16:57 +0200 1746 1747 Update NEWS for 5.0.1. 1748 1749 NEWS | 14 ++++++++++++++ 1750 1 file changed, 14 insertions(+) 1751 1752commit 03ebd1bbb314f9f204940219a835c883bf442475 1753Author: Lasse Collin <lasse.collin@tukaani.org> 1754Date: 2011-01-26 12:19:08 +0200 1755 1756 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files. 1757 1758 xz didn't compress setuid/setgid/sticky files and files 1759 with multiple hard links even with --force. This bug was 1760 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4. 1761 1762 Thanks to Charles Wilson. 1763 1764 src/xz/file_io.c | 15 +++++++-------- 1765 1 file changed, 7 insertions(+), 8 deletions(-) 1766 1767commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136 1768Author: Lasse Collin <lasse.collin@tukaani.org> 1769Date: 2011-01-18 21:25:24 +0200 1770 1771 Updated THANKS. 1772 1773 THANKS | 1 + 1774 1 file changed, 1 insertion(+) 1775 1776commit f71c4e16e913f660977526f0ef8d2acdf458d7c9 1777Author: Lasse Collin <lasse.collin@tukaani.org> 1778Date: 2011-01-18 21:23:50 +0200 1779 1780 Add alloc_size and malloc attributes to a few functions. 1781 1782 Thanks to Cristian Rodríguez for the original patch. 1783 1784 src/common/sysdefs.h | 6 ++++++ 1785 src/liblzma/common/common.h | 2 +- 1786 src/xz/util.h | 5 +++-- 1787 3 files changed, 10 insertions(+), 3 deletions(-) 1788 1789commit 316cbe24465143edde8f6ffb7532834b7b2ea93f 1790Author: Lasse Collin <lasse.collin@tukaani.org> 1791Date: 2010-12-13 16:36:33 +0200 1792 1793 Scripts: Fix gzip and bzip2 support in xzdiff. 1794 1795 src/scripts/xzdiff.in | 12 ++++++------ 1796 1 file changed, 6 insertions(+), 6 deletions(-) 1797 1798commit 9311774c493c19deab51ded919dcd2e9c4aa2829 1799Author: Lasse Collin <lasse.collin@tukaani.org> 1800Date: 2010-12-12 21:23:55 +0200 1801 1802 Build: Enable ASM on DJGPP by default. 1803 1804 configure.ac | 2 +- 1805 1 file changed, 1 insertion(+), 1 deletion(-) 1806 1807commit 4a42aaee282fc73b482581684d65110506d5efdd 1808Author: Lasse Collin <lasse.collin@tukaani.org> 1809Date: 2010-12-12 16:09:42 +0200 1810 1811 Updated THANKS. 1812 1813 THANKS | 1 + 1814 1 file changed, 1 insertion(+) 1815 1816commit ce56f63c41ee210e6308090eb6d49221fdf67d6c 1817Author: Lasse Collin <lasse.collin@tukaani.org> 1818Date: 2010-12-12 16:07:11 +0200 1819 1820 Add missing PRIx32 and PRIx64 compatibility definitions. 1821 1822 This fixes portability to systems that lack C99 inttypes.h. 1823 1824 Thanks to Juan Manuel Guerrero. 1825 1826 src/common/sysdefs.h | 9 +++++++++ 1827 1 file changed, 9 insertions(+) 1828 1829commit e6baedddcf54e7da049ebc49183565b99facd4c7 1830Author: Lasse Collin <lasse.collin@tukaani.org> 1831Date: 2010-12-12 14:50:04 +0200 1832 1833 DOS-like: Treat \ and : as directory separators in addition to /. 1834 1835 Juan Manuel Guerrero had fixed this in his XZ Utils port 1836 to DOS/DJGPP. The bug affects also Windows and OS/2. 1837 1838 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++---- 1839 1 file changed, 29 insertions(+), 4 deletions(-) 1840 1841commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f 1842Author: Lasse Collin <lasse.collin@tukaani.org> 1843Date: 2010-12-07 18:52:04 +0200 1844 1845 Translations: Fix Czech translation of "sparse file". 1846 1847 Thanks to Petr Hubený and Marek Černocký. 1848 1849 po/cs.po | 88 ++++++++++++++++++++++++++++++++-------------------------------- 1850 1 file changed, 44 insertions(+), 44 deletions(-) 1851 1852commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e 1853Author: Lasse Collin <lasse.collin@tukaani.org> 1854Date: 2010-11-15 14:28:26 +0200 1855 1856 liblzma: Document the return value of lzma_lzma_preset(). 1857 1858 src/liblzma/api/lzma/lzma.h | 3 +++ 1859 1 file changed, 3 insertions(+) 1860 1861commit 2964d8d691ed92abdcf214888d79ad6d79774735 1862Author: Jonathan Nieder <jrnieder@gmail.com> 1863Date: 2010-11-12 15:22:13 -0600 1864 1865 Simplify paths in generated API docs 1866 1867 Currently the file list generated by Doxygen has src/ at the 1868 beginning of each path. Paths like common/sysdefs.h and 1869 liblzma/api/lzma.h are easier to read without such a prefix. 1870 1871 Builds from a separate build directory with 1872 1873 mkdir build 1874 cd build 1875 ../configure 1876 doxygen Doxyfile 1877 1878 include an even longer prefix /home/someone/src/xz/src; this 1879 patch has the nice side-effect of eliminating that prefix, too. 1880 1881 Fixes: http://bugs.debian.org/572273 1882 1883 Doxyfile.in | 2 +- 1884 1 file changed, 1 insertion(+), 1 deletion(-) 1885 1886commit 37c25658efd25b034266daf87cd381d20d1df776 1887Author: Lasse Collin <lasse.collin@tukaani.org> 1888Date: 2010-10-26 15:48:48 +0300 1889 1890 Build: Copy the example programs to $docdir/examples. 1891 1892 The example programs by Daniel Mealha Cabrita were included 1893 in the git repository, but I had forgot to add them to 1894 Makefile.am. Thus, they didn't get included in the source 1895 package at all by "make dist". 1896 1897 Makefile.am | 5 +++++ 1898 windows/build.bash | 3 ++- 1899 2 files changed, 7 insertions(+), 1 deletion(-) 1900 1901commit e45929260cd902036efd40c5610a8d0a50d5712b 1902Author: Lasse Collin <lasse.collin@tukaani.org> 1903Date: 2010-10-23 17:25:52 +0300 1904 1905 Build: Fix mydist rule when .git doesn't exist. 1906 1907 Makefile.am | 1 + 1908 1 file changed, 1 insertion(+) 1909 1910commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168 1911Author: Lasse Collin <lasse.collin@tukaani.org> 1912Date: 2010-10-23 14:15:35 +0300 1913 1914 Add NEWS for 5.0.0. 1915 1916 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1917 1 file changed, 62 insertions(+) 1918 1919commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c 1920Author: Lasse Collin <lasse.collin@tukaani.org> 1921Date: 2010-10-23 14:02:53 +0300 1922 1923 Bump version to 5.0.0 and liblzma version-info to 5:0:0. 1924 1925 src/liblzma/Makefile.am | 2 +- 1926 src/liblzma/api/lzma/version.h | 8 ++++---- 1927 2 files changed, 5 insertions(+), 5 deletions(-) 1928 1929commit 8c947e9291691629714dafb4536c718b6cc24fbd 1930Author: Lasse Collin <lasse.collin@tukaani.org> 1931Date: 2010-10-23 12:30:54 +0300 1932 1933 liblzma: Make lzma_code() check the reserved members in lzma_stream. 1934 1935 If any of the reserved members in lzma_stream are non-zero 1936 or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible 1937 that a new feature in the future is indicated by just setting 1938 a reserved member to some other value, so the old liblzma 1939 version need to catch it as an unsupported feature. 1940 1941 src/liblzma/common/common.c | 14 ++++++++++++++ 1942 1 file changed, 14 insertions(+) 1943 1944commit e61d85e082743ebd2dd0ff28fc0a82482ede0538 1945Author: Lasse Collin <lasse.collin@tukaani.org> 1946Date: 2010-10-23 12:26:33 +0300 1947 1948 Windows: Use MinGW's stdio functions. 1949 1950 The non-standard ones from msvcrt.dll appear to work 1951 most of the time with XZ Utils, but there are some 1952 corner cases where things may go very wrong. So it's 1953 good to use the better replacements provided by 1954 MinGW(-w64) runtime. 1955 1956 src/common/sysdefs.h | 5 +++++ 1957 1 file changed, 5 insertions(+) 1958 1959commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc 1960Author: Lasse Collin <lasse.collin@tukaani.org> 1961Date: 2010-10-23 12:21:32 +0300 1962 1963 liblzma: Use 512 as INDEX_GROUP_SIZE. 1964 1965 This lets compiler use shifting instead of 64-bit division. 1966 1967 src/liblzma/common/index.c | 2 +- 1968 1 file changed, 1 insertion(+), 1 deletion(-) 1969 1970commit 613939fc82603b75b59eee840871a05bc8dd08e0 1971Author: Lasse Collin <lasse.collin@tukaani.org> 1972Date: 2010-10-23 12:20:11 +0300 1973 1974 liblzma: A few ABI tweaks to reserve space in structures. 1975 1976 src/liblzma/api/lzma/base.h | 7 ++++++- 1977 src/liblzma/api/lzma/lzma.h | 4 ++-- 1978 src/liblzma/api/lzma/stream_flags.h | 4 ---- 1979 3 files changed, 8 insertions(+), 7 deletions(-) 1980 1981commit 68b83f252df3d27480a9f6f03445d16f6506fef1 1982Author: Lasse Collin <lasse.collin@tukaani.org> 1983Date: 2010-10-21 23:16:11 +0300 1984 1985 xz: Make sure that message_strm() can never return NULL. 1986 1987 src/xz/message.c | 7 +++++-- 1988 1 file changed, 5 insertions(+), 2 deletions(-) 1989 1990commit d09c5753e33ff96ee57edb6d1e98e34041203695 1991Author: Lasse Collin <lasse.collin@tukaani.org> 1992Date: 2010-10-21 23:06:31 +0300 1993 1994 liblzma: Update the comments in the API headers. 1995 1996 Adding support for LZMA_FINISH for Index encoding and 1997 decoding needed tiny additions to the relevant .c files too. 1998 1999 src/liblzma/api/lzma.h | 4 +-- 2000 src/liblzma/api/lzma/base.h | 38 +++++++++++++-------------- 2001 src/liblzma/api/lzma/bcj.h | 4 +-- 2002 src/liblzma/api/lzma/block.h | 4 +-- 2003 src/liblzma/api/lzma/container.h | 26 ++++++++++++------- 2004 src/liblzma/api/lzma/filter.h | 51 ++++++++++++++++++------------------- 2005 src/liblzma/api/lzma/hardware.h | 3 +-- 2006 src/liblzma/api/lzma/index.h | 28 ++++++++++++-------- 2007 src/liblzma/api/lzma/index_hash.h | 2 +- 2008 src/liblzma/api/lzma/lzma.h | 46 ++++++++++++++++++++++----------- 2009 src/liblzma/api/lzma/stream_flags.h | 4 +-- 2010 src/liblzma/api/lzma/vli.h | 31 +++++++++++----------- 2011 src/liblzma/common/index_decoder.c | 1 + 2012 src/liblzma/common/index_encoder.c | 1 + 2013 14 files changed, 136 insertions(+), 107 deletions(-) 2014 2015commit 33c1c0e102eb529588503b8beea0903a45488fad 2016Author: Lasse Collin <lasse.collin@tukaani.org> 2017Date: 2010-10-19 12:08:30 +0300 2018 2019 Update INSTALL.generic. 2020 2021 INSTALL.generic | 99 ++++++++++++++++++++++++++++++++++++++++++++++----------- 2022 1 file changed, 81 insertions(+), 18 deletions(-) 2023 2024commit 0076e03641f201c4b77dddd5a6db5880be19a78c 2025Author: Lasse Collin <lasse.collin@tukaani.org> 2026Date: 2010-10-19 11:44:37 +0300 2027 2028 Clean up a few FIXMEs and TODOs. 2029 2030 lzma_chunk_size() was commented out because it is 2031 currently useless. 2032 2033 src/liblzma/common/filter_encoder.c | 2 ++ 2034 src/liblzma/common/filter_encoder.h | 4 ++-- 2035 src/liblzma/lzma/lzma2_decoder.c | 1 - 2036 src/liblzma/lzma/lzma_decoder.c | 4 ++-- 2037 src/liblzma/lzma/lzma_encoder.c | 2 +- 2038 src/xz/message.h | 2 +- 2039 6 files changed, 8 insertions(+), 7 deletions(-) 2040 2041commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9 2042Author: Lasse Collin <lasse.collin@tukaani.org> 2043Date: 2010-10-19 10:21:08 +0300 2044 2045 Update docs. 2046 2047 INSTALL | 192 +++++++++++++++++++++++++++++++++++++++++-------------------- 2048 PACKAGERS | 104 +++++++++------------------------ 2049 TODO | 17 ++++-- 2050 dos/README | 2 +- 2051 4 files changed, 172 insertions(+), 143 deletions(-) 2052 2053commit f0fa880d247e73264d2c04fe31fb3412318a0026 2054Author: Lasse Collin <lasse.collin@tukaani.org> 2055Date: 2010-10-12 15:13:30 +0300 2056 2057 xz: Avoid raise() also on OpenVMS. 2058 2059 This is similar to DOS/DJGPP that killing the program 2060 with a signal will print a backtrace or a similar message. 2061 2062 src/xz/signals.c | 2 +- 2063 1 file changed, 1 insertion(+), 1 deletion(-) 2064 2065commit ac462b1c47c451f5c62e428306314c4bdad8ae7f 2066Author: Lasse Collin <lasse.collin@tukaani.org> 2067Date: 2010-10-11 21:26:19 +0300 2068 2069 xz: Avoid SA_RESTART for portability reasons. 2070 2071 SA_RESTART is not as portable as I had hoped. It's missing 2072 at least from OpenVMS, QNX, and DJGPP). Luckily we can do 2073 fine without SA_RESTART. 2074 2075 src/xz/message.c | 38 +++++++++++++++----------------------- 2076 src/xz/message.h | 4 ++++ 2077 src/xz/signals.c | 6 ++++++ 2078 3 files changed, 25 insertions(+), 23 deletions(-) 2079 2080commit d52b411716a614c202e89ba732492efb9916cd3f 2081Author: Lasse Collin <lasse.collin@tukaani.org> 2082Date: 2010-10-10 17:58:58 +0300 2083 2084 xz: Use "%"PRIu32 instead of "%d" in a format string. 2085 2086 src/xz/message.c | 2 +- 2087 1 file changed, 1 insertion(+), 1 deletion(-) 2088 2089commit ae74d1bdeb075c3beefe76e1136c5741804e7e91 2090Author: Lasse Collin <lasse.collin@tukaani.org> 2091Date: 2010-10-10 17:43:26 +0300 2092 2093 test_files.sh: Fix the first line. 2094 2095 For some reason this prevented running the test only 2096 on OS/2 and even on that it broke only recently. 2097 2098 Thanks to Elbert Pol. 2099 2100 tests/test_files.sh | 2 +- 2101 1 file changed, 1 insertion(+), 1 deletion(-) 2102 2103commit d492b80ddd6f9a13419de6d102df7374d8f448e8 2104Author: Lasse Collin <lasse.collin@tukaani.org> 2105Date: 2010-10-10 16:49:01 +0300 2106 2107 lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t. 2108 2109 src/lzmainfo/lzmainfo.c | 2 +- 2110 1 file changed, 1 insertion(+), 1 deletion(-) 2111 2112commit 825e859a9054bd91202e5723c41a17e72f63040a 2113Author: Lasse Collin <lasse.collin@tukaani.org> 2114Date: 2010-10-10 16:47:01 +0300 2115 2116 lzmainfo: Use fileno(stdin) instead of STDIN_FILENO. 2117 2118 src/lzmainfo/lzmainfo.c | 2 +- 2119 1 file changed, 1 insertion(+), 1 deletion(-) 2120 2121commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8 2122Author: Lasse Collin <lasse.collin@tukaani.org> 2123Date: 2010-10-09 23:20:51 +0300 2124 2125 lzmainfo: Use setmode() on DOS-like systems. 2126 2127 src/lzmainfo/lzmainfo.c | 9 +++++++++ 2128 1 file changed, 9 insertions(+) 2129 2130commit ef364d3abc5647111c5424ea0d83a567e184a23b 2131Author: Lasse Collin <lasse.collin@tukaani.org> 2132Date: 2010-10-09 21:51:03 +0300 2133 2134 OS/2 and DOS: Be less verbose on signals. 2135 2136 Calling raise() to kill xz when user has pressed C-c 2137 is a bit verbose on OS/2 and DOS/DJGPP. Instead of 2138 calling raise(), set only the exit status to 1. 2139 2140 src/xz/signals.c | 7 +++++++ 2141 1 file changed, 7 insertions(+) 2142 2143commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a 2144Author: Lasse Collin <lasse.collin@tukaani.org> 2145Date: 2010-10-09 19:28:49 +0300 2146 2147 DOS: Update the Makefile, config.h and README. 2148 2149 This is now simpler and builds only xz.exe. 2150 2151 dos/Makefile | 211 +++++++++++++++-------------------------------------------- 2152 dos/README | 73 +++++++-------------- 2153 dos/config.h | 45 ++++--------- 2154 3 files changed, 86 insertions(+), 243 deletions(-) 2155 2156commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac 2157Author: Lasse Collin <lasse.collin@tukaani.org> 2158Date: 2010-10-09 18:57:55 +0300 2159 2160 Windows: Put some license info into README-Windows.txt. 2161 2162 windows/README-Windows.txt | 8 ++++---- 2163 1 file changed, 4 insertions(+), 4 deletions(-) 2164 2165commit e75100f549f85d231df25c07aa94d63e78e2d668 2166Author: Lasse Collin <lasse.collin@tukaani.org> 2167Date: 2010-10-09 18:57:04 +0300 2168 2169 Windows: Fix a diagnostics bug in build.bash. 2170 2171 windows/build.bash | 2 +- 2172 1 file changed, 1 insertion(+), 1 deletion(-) 2173 2174commit efeb998a2b1025df1c1d202cc7d21d866cd1c336 2175Author: Lasse Collin <lasse.collin@tukaani.org> 2176Date: 2010-10-09 13:02:15 +0300 2177 2178 lzmainfo: Add Windows resource file. 2179 2180 src/lzmainfo/Makefile.am | 9 +++++++++ 2181 src/lzmainfo/lzmainfo_w32res.rc | 12 ++++++++++++ 2182 2 files changed, 21 insertions(+) 2183 2184commit 389d418445f1623593dfdbba55d52fbb6d1205f5 2185Author: Lasse Collin <lasse.collin@tukaani.org> 2186Date: 2010-10-09 12:57:25 +0300 2187 2188 Add missing public domain notice to lzmadec_w32res.rc. 2189 2190 src/xzdec/lzmadec_w32res.rc | 7 +++++++ 2191 1 file changed, 7 insertions(+) 2192 2193commit 6389c773a4912dd9f111256d74ba1605230a7957 2194Author: Lasse Collin <lasse.collin@tukaani.org> 2195Date: 2010-10-09 12:52:12 +0300 2196 2197 Windows: Update common_w32res.rc. 2198 2199 src/common/common_w32res.rc | 9 +++------ 2200 1 file changed, 3 insertions(+), 6 deletions(-) 2201 2202commit 71275457ca24c9b01721f5cfc3638cf094daf454 2203Author: Lasse Collin <lasse.collin@tukaani.org> 2204Date: 2010-10-09 12:27:08 +0300 2205 2206 Windows: Make build.bash prefer MinGW-w32 over MinGW. 2207 2208 This is simply for licensing reasons. The 64-bit version 2209 will be built with MinGW-w64 anyway (at least for now), 2210 so using it also for 32-bit build allows using the same 2211 copyright notice about the MinGW-w64/w32 runtime. 2212 2213 Note that using MinGW would require a copyright notice too, 2214 because its runtime is not in the public domain either even 2215 though MinGW's home page claims that it is public domain. 2216 See <http://marc.info/?l=mingw-users&m=126489506214078>. 2217 2218 windows/build.bash | 18 +++++++++--------- 2219 1 file changed, 9 insertions(+), 9 deletions(-) 2220 2221commit 3ac35719d8433af937af6491383d4a50e343099b 2222Author: Lasse Collin <lasse.collin@tukaani.org> 2223Date: 2010-10-09 11:33:21 +0300 2224 2225 Windows: Copy COPYING-Windows.txt (if it exists) to the package. 2226 2227 Also, put README-Windows.txt to the doc directory like 2228 the other documentation files. 2229 2230 windows/build.bash | 14 ++++++++++++-- 2231 1 file changed, 12 insertions(+), 2 deletions(-) 2232 2233commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae 2234Author: Lasse Collin <lasse.collin@tukaani.org> 2235Date: 2010-10-08 21:42:37 +0300 2236 2237 Windows: Fix build.bash again. 2238 2239 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good. 2240 2241 windows/build.bash | 7 ++++--- 2242 1 file changed, 4 insertions(+), 3 deletions(-) 2243 2244commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd 2245Author: Lasse Collin <lasse.collin@tukaani.org> 2246Date: 2010-10-08 16:53:20 +0300 2247 2248 Use LZMA_VERSION_STRING instead of PACKAGE_VERSION. 2249 2250 Those are the same thing, and the former makes it a bit 2251 easier to build the code with other build systems, because 2252 one doesn't need to update the version number into custom 2253 config.h. 2254 2255 This change affects only lzmainfo. Other tools were already 2256 using LZMA_VERSION_STRING. 2257 2258 src/lzmainfo/lzmainfo.c | 2 +- 2259 1 file changed, 1 insertion(+), 1 deletion(-) 2260 2261commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f 2262Author: Lasse Collin <lasse.collin@tukaani.org> 2263Date: 2010-10-08 15:59:25 +0300 2264 2265 configure.ac: Remove two unused defines. 2266 2267 configure.ac | 4 ---- 2268 1 file changed, 4 deletions(-) 2269 2270commit 11f51b6714357cb67ec7e56ed9575c199b5581fe 2271Author: Lasse Collin <lasse.collin@tukaani.org> 2272Date: 2010-10-08 15:32:29 +0300 2273 2274 Make tests accommodate missing xz or xzdec. 2275 2276 tests/test_compress.sh | 47 ++++++++++++++++++++++++++++++----------------- 2277 tests/test_files.sh | 28 ++++++++++++++++++++++++++-- 2278 2 files changed, 56 insertions(+), 19 deletions(-) 2279 2280commit b1c7368f95e93ccdefdd0748e04398c26766f47f 2281Author: Lasse Collin <lasse.collin@tukaani.org> 2282Date: 2010-10-08 15:25:45 +0300 2283 2284 Build: Add options to disable individual command line tools. 2285 2286 configure.ac | 38 ++++++++++++++++++++++++++++++ 2287 src/Makefile.am | 15 +++++++++++- 2288 src/scripts/Makefile.am | 62 +++++++++++++++++++++---------------------------- 2289 src/xz/Makefile.am | 6 ++++- 2290 src/xzdec/Makefile.am | 12 ++++++++-- 2291 5 files changed, 93 insertions(+), 40 deletions(-) 2292 2293commit 630a8beda34af0ac153c8051b1bf01230558e422 2294Author: Lasse Collin <lasse.collin@tukaani.org> 2295Date: 2010-10-07 00:44:53 +0300 2296 2297 Windows: Make build.bash work without --enable-dynamic=no. 2298 2299 windows/build.bash | 4 ++-- 2300 1 file changed, 2 insertions(+), 2 deletions(-) 2301 2302commit f9907503f882a745dce9d84c2968f6c175ba966a 2303Author: Lasse Collin <lasse.collin@tukaani.org> 2304Date: 2010-10-05 14:13:16 +0300 2305 2306 Build: Remove the static/dynamic tricks. 2307 2308 Most distros want xz linked against shared liblzma, so 2309 it doesn't help much to require --enable-dynamic for that. 2310 Those who want to avoid PIC on x86-32 to get better 2311 performance, can still do it e.g. by using --disable-shared 2312 to compile xz and then another pass to compile shared liblzma. 2313 2314 Part of these static/dynamic tricks were needed for Windows 2315 in the past. Nowadays we rely on GCC and binutils to do the 2316 right thing with auto-import. If the Autotooled build system 2317 needs to support some other toolchain on Windows in the future, 2318 this may need some rethinking. 2319 2320 configure.ac | 74 ------------------------------------------------ 2321 debug/Makefile.am | 5 +--- 2322 src/lzmainfo/Makefile.am | 4 +-- 2323 src/xz/Makefile.am | 4 +-- 2324 src/xzdec/Makefile.am | 4 +-- 2325 tests/Makefile.am | 5 +--- 2326 6 files changed, 5 insertions(+), 91 deletions(-) 2327 2328commit fda4724d8114fccfa31c1839c15479f350c2fb4c 2329Author: Lasse Collin <lasse.collin@tukaani.org> 2330Date: 2010-10-05 12:18:58 +0300 2331 2332 configure.ac: Silence a warning from Autoconf 2.68. 2333 2334 configure.ac | 2 +- 2335 1 file changed, 1 insertion(+), 1 deletion(-) 2336 2337commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9 2338Author: Lasse Collin <lasse.collin@tukaani.org> 2339Date: 2010-10-04 19:43:01 +0300 2340 2341 A few more languages files to the xz man page. 2342 2343 Thanks to Jonathan Nieder. 2344 2345 src/xz/xz.1 | 45 ++++++++++++++++++++++++--------------------- 2346 1 file changed, 24 insertions(+), 21 deletions(-) 2347 2348commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb 2349Author: Lasse Collin <lasse.collin@tukaani.org> 2350Date: 2010-10-02 12:07:33 +0300 2351 2352 Update the FAQ. 2353 2354 doc/faq.txt | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 2355 1 file changed, 100 insertions(+), 4 deletions(-) 2356 2357commit 61ae593661e8dc402394e84d567ca2044a51572b 2358Author: Lasse Collin <lasse.collin@tukaani.org> 2359Date: 2010-10-02 11:38:20 +0300 2360 2361 liblzma: Small fixes to comments in the API headers. 2362 2363 src/liblzma/api/lzma/lzma.h | 10 +++++++--- 2364 1 file changed, 7 insertions(+), 3 deletions(-) 2365 2366commit 9166682dc601fd42c1b9510572e3f917d18de504 2367Author: Lasse Collin <lasse.collin@tukaani.org> 2368Date: 2010-09-28 11:40:12 +0300 2369 2370 Create the PDF versions of the man pages better. 2371 2372 Makefile.am | 14 +++++++------ 2373 build-aux/manconv.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2374 2 files changed, 66 insertions(+), 6 deletions(-) 2375 2376commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8 2377Author: Lasse Collin <lasse.collin@tukaani.org> 2378Date: 2010-09-28 10:59:53 +0300 2379 2380 Move version.sh to build-aux. 2381 2382 Makefile.am | 4 ++-- 2383 build-aux/version.sh | 24 ++++++++++++++++++++++++ 2384 configure.ac | 2 +- 2385 version.sh | 24 ------------------------ 2386 windows/build.bash | 2 +- 2387 5 files changed, 28 insertions(+), 28 deletions(-) 2388 2389commit 84af9d8770451339a692e9b70f96cf56156a6069 2390Author: Lasse Collin <lasse.collin@tukaani.org> 2391Date: 2010-09-28 10:53:02 +0300 2392 2393 Update .gitignore. 2394 2395 .gitignore | 10 +++++++++- 2396 1 file changed, 9 insertions(+), 1 deletion(-) 2397 2398commit 31575a449ac64c523da3bab8d0c0b522cdc7c780 2399Author: Lasse Collin <lasse.collin@tukaani.org> 2400Date: 2010-09-28 01:17:14 +0300 2401 2402 Fix accomodate -> accommodate on the xz man page. 2403 2404 src/xz/xz.1 | 2 +- 2405 1 file changed, 1 insertion(+), 1 deletion(-) 2406 2407commit cec0ddc8ec4ce81685a51998b978e22167e461f9 2408Author: Lasse Collin <lasse.collin@tukaani.org> 2409Date: 2010-09-27 23:29:34 +0300 2410 2411 Major man page updates. 2412 2413 Lots of content was updated on the xz man page. 2414 2415 Technical improvements: 2416 - Start a new sentence on a new line. 2417 - Use fairly short lines. 2418 - Use constant-width font for examples (where supported). 2419 - Some minor cleanups. 2420 2421 Thanks to Jonathan Nieder for some language fixes. 2422 2423 src/lzmainfo/lzmainfo.1 | 25 +- 2424 src/scripts/xzdiff.1 | 15 +- 2425 src/scripts/xzgrep.1 | 11 +- 2426 src/scripts/xzless.1 | 13 +- 2427 src/scripts/xzmore.1 | 9 +- 2428 src/xz/xz.1 | 1964 ++++++++++++++++++++++++++++++++--------------- 2429 src/xzdec/xzdec.1 | 39 +- 2430 7 files changed, 1435 insertions(+), 641 deletions(-) 2431 2432commit 075257ab0416a0603be930082e31a5703e4ba345 2433Author: Lasse Collin <lasse.collin@tukaani.org> 2434Date: 2010-09-26 18:10:31 +0300 2435 2436 Fix the preset -3e. 2437 2438 depth=0 was missing. 2439 2440 src/liblzma/lzma/lzma_encoder_presets.c | 1 + 2441 1 file changed, 1 insertion(+) 2442 2443commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1 2444Author: Lasse Collin <lasse.collin@tukaani.org> 2445Date: 2010-09-23 14:03:10 +0300 2446 2447 Add translations.bash and translation notes to README. 2448 2449 translations.bash prints some messages from xz, which 2450 hopefully makes it a bit easier to test translations. 2451 2452 README | 96 +++++++++++++++++++++++++++++++++++++++++++++-- 2453 debug/translation.bash | 100 +++++++++++++++++++++++++++++++++++++++++++++++++ 2454 2 files changed, 192 insertions(+), 4 deletions(-) 2455 2456commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23 2457Author: Lasse Collin <lasse.collin@tukaani.org> 2458Date: 2010-09-17 22:14:30 +0300 2459 2460 xz: Update the Czech translation. 2461 2462 Thanks to Marek Černocký. 2463 2464 po/cs.po | 202 +++++++++++++++++++++++++++++++++++++++++---------------------- 2465 1 file changed, 131 insertions(+), 71 deletions(-) 2466 2467commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6 2468Author: Lasse Collin <lasse.collin@tukaani.org> 2469Date: 2010-09-16 23:40:41 +0300 2470 2471 xz: Add Italian translation. 2472 2473 Thanks to Milo Casagrande and Lorenzo De Liso. 2474 2475 THANKS | 2 + 2476 po/LINGUAS | 1 + 2477 po/it.po | 902 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2478 3 files changed, 905 insertions(+) 2479 2480commit 21088018554e2b0e02914205377ceb6e34a090bd 2481Author: Lasse Collin <lasse.collin@tukaani.org> 2482Date: 2010-09-15 00:34:13 +0300 2483 2484 xz: Edit a translators comment. 2485 2486 src/xz/list.c | 2 +- 2487 1 file changed, 1 insertion(+), 1 deletion(-) 2488 2489commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6 2490Author: Lasse Collin <lasse.collin@tukaani.org> 2491Date: 2010-09-14 22:47:14 +0300 2492 2493 xz: Add German translation. 2494 2495 Thanks to Andre Noll. 2496 2497 THANKS | 1 + 2498 po/LINGUAS | 1 + 2499 po/de.po | 903 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2500 3 files changed, 905 insertions(+) 2501 2502commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b 2503Author: Lasse Collin <lasse.collin@tukaani.org> 2504Date: 2010-09-10 14:30:25 +0300 2505 2506 Updated README. 2507 2508 README | 2 -- 2509 1 file changed, 2 deletions(-) 2510 2511commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71 2512Author: Lasse Collin <lasse.collin@tukaani.org> 2513Date: 2010-09-10 14:30:07 +0300 2514 2515 Updated INSTALL. 2516 2517 INSTALL | 7 ++++--- 2518 1 file changed, 4 insertions(+), 3 deletions(-) 2519 2520commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2 2521Author: Lasse Collin <lasse.collin@tukaani.org> 2522Date: 2010-09-10 14:26:20 +0300 2523 2524 Updated the git repository address in ChangeLog. 2525 2526 ChangeLog | 2 +- 2527 1 file changed, 1 insertion(+), 1 deletion(-) 2528 2529commit a8760203f93a69bc39fd14520a6e9e7b7d70be06 2530Author: Lasse Collin <lasse.collin@tukaani.org> 2531Date: 2010-09-10 14:09:33 +0300 2532 2533 xz: Add a comment to translators about "literal context bits". 2534 2535 src/xz/message.c | 4 ++++ 2536 1 file changed, 4 insertions(+) 2537 2538commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5 2539Author: Lasse Collin <lasse.collin@tukaani.org> 2540Date: 2010-09-10 10:30:33 +0300 2541 2542 xz: Multiple fixes. 2543 2544 The code assumed that printing numbers with thousand separators 2545 and decimal points would always produce only US-ASCII characters. 2546 This was used for buffer sizes (with snprintf(), no overflows) 2547 and aligning columns of the progress indicator and --list. That 2548 assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so 2549 multibyte character support was added in this commit. The old 2550 way is used if the operating system doesn't have enough multibyte 2551 support (e.g. lacks wcwidth()). 2552 2553 The sizes of buffers were increased to accomodate multibyte 2554 characters. I don't know how big they should be exactly, but 2555 they aren't used for anything critical, so it's not too bad. 2556 If they still aren't big enough, I hopefully get a bug report. 2557 snprintf() takes care of avoiding buffer overflows. 2558 2559 Some static buffers were replaced with buffers allocated on 2560 stack. double_to_str() was removed. uint64_to_str() and 2561 uint64_to_nicestr() now share the static buffer and test 2562 for thousand separator support. 2563 2564 Integrity check names "None" and "Unknown-N" (2 <= N <= 15) 2565 were marked to be translated. I had forgot these, plus they 2566 wouldn't have worked correctly anyway before this commit, 2567 because printing tables with multibyte strings didn't work. 2568 2569 Thanks to Marek Černocký for reporting the bug about 2570 misaligned table columns in --list output. 2571 2572 configure.ac | 1 + 2573 m4/tuklib_mbstr.m4 | 30 ++++++ 2574 src/common/tuklib_mbstr.h | 66 +++++++++++++ 2575 src/common/tuklib_mbstr_fw.c | 31 ++++++ 2576 src/common/tuklib_mbstr_width.c | 64 +++++++++++++ 2577 src/xz/Makefile.am | 4 +- 2578 src/xz/list.c | 205 +++++++++++++++++++++++++++------------- 2579 src/xz/message.c | 56 +++++++---- 2580 src/xz/message.h | 10 +- 2581 src/xz/private.h | 1 + 2582 src/xz/util.c | 136 +++++++++----------------- 2583 src/xz/util.h | 7 -- 2584 12 files changed, 424 insertions(+), 187 deletions(-) 2585 2586commit 639f8e2af33cf8a184d59ba56b6df7c098679d61 2587Author: Lasse Collin <lasse.collin@tukaani.org> 2588Date: 2010-09-08 08:49:22 +0300 2589 2590 Update the Czech translation. 2591 2592 Thanks to Marek Černocký. 2593 2594 po/cs.po | 655 +++++++++++++++++++++++++++++++++++++++++++-------------------- 2595 1 file changed, 454 insertions(+), 201 deletions(-) 2596 2597commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7 2598Author: Lasse Collin <lasse.collin@tukaani.org> 2599Date: 2010-09-07 12:31:40 +0300 2600 2601 xz: Add a note to translators. 2602 2603 src/xz/hardware.c | 2 ++ 2604 1 file changed, 2 insertions(+) 2605 2606commit 77a7746616e555fc08028e883a56d06bf0088b81 2607Author: Lasse Collin <lasse.collin@tukaani.org> 2608Date: 2010-09-07 10:42:13 +0300 2609 2610 Fix use of N_() and ngettext(). 2611 2612 I had somehow thought that N_() is usually used 2613 as shorthand for ngettext(). 2614 2615 This also fixes a missing \n from a call to ngettext(). 2616 2617 src/common/tuklib_gettext.h | 4 ++-- 2618 src/xz/list.c | 4 ++-- 2619 2 files changed, 4 insertions(+), 4 deletions(-) 2620 2621commit e6ad39335842343e622ab51207d1d3cb9caad801 2622Author: Lasse Collin <lasse.collin@tukaani.org> 2623Date: 2010-09-06 19:43:12 +0300 2624 2625 Add missing files to POTFILES.in. 2626 2627 po/POTFILES.in | 3 +++ 2628 1 file changed, 3 insertions(+) 2629 2630commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30 2631Author: Lasse Collin <lasse.collin@tukaani.org> 2632Date: 2010-09-06 10:16:24 +0300 2633 2634 xz: Improve a comment. 2635 2636 src/xz/file_io.c | 7 ++++--- 2637 1 file changed, 4 insertions(+), 3 deletions(-) 2638 2639commit bcb1b898341f7073f51660d7052d7ed6c5461a66 2640Author: Lasse Collin <lasse.collin@tukaani.org> 2641Date: 2010-09-05 21:34:29 +0300 2642 2643 xz: Update the comment about NetBSD in file_io.c. 2644 2645 Thanks to Joerg Sonnenberger. 2646 2647 src/xz/file_io.c | 8 ++++---- 2648 1 file changed, 4 insertions(+), 4 deletions(-) 2649 2650commit da014d55972f5addbf6b4360d3d8ed2ef4282170 2651Author: Lasse Collin <lasse.collin@tukaani.org> 2652Date: 2010-09-05 21:11:33 +0300 2653 2654 xz: Use an array instead of pointer for stdin_filename. 2655 2656 Thanks Joerg Sonnenberger. 2657 2658 src/xz/args.c | 2 +- 2659 src/xz/args.h | 2 +- 2660 2 files changed, 2 insertions(+), 2 deletions(-) 2661 2662commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee 2663Author: Lasse Collin <lasse.collin@tukaani.org> 2664Date: 2010-09-05 12:16:17 +0300 2665 2666 xz: Hopefully ease translating the messages in list.c. 2667 2668 src/xz/list.c | 33 +++++++++++++++++++++++---------- 2669 1 file changed, 23 insertions(+), 10 deletions(-) 2670 2671commit ef840950ad99cf2955c754875af0e01acf125079 2672Author: Lasse Collin <lasse.collin@tukaani.org> 2673Date: 2010-09-04 23:14:44 +0300 2674 2675 xz: Fix grammar. 2676 2677 src/xz/options.c | 3 +-- 2678 1 file changed, 1 insertion(+), 2 deletions(-) 2679 2680commit c46afd6edc04ea140db6c59e8486f5707c810c13 2681Author: Lasse Collin <lasse.collin@tukaani.org> 2682Date: 2010-09-04 23:12:20 +0300 2683 2684 xz: Use lzma_lzma_preset() to initialize the options structure. 2685 2686 src/xz/options.c | 14 ++------------ 2687 1 file changed, 2 insertions(+), 12 deletions(-) 2688 2689commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065 2690Author: Lasse Collin <lasse.collin@tukaani.org> 2691Date: 2010-09-04 22:16:28 +0300 2692 2693 Don't set lc=4 with --extreme. 2694 2695 This should reduce the cases where --extreme makes 2696 compression worse. On the other hand, some other 2697 files may now benefit slightly less from --extreme. 2698 2699 src/liblzma/lzma/lzma_encoder_presets.c | 1 - 2700 1 file changed, 1 deletion(-) 2701 2702commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b 2703Author: Lasse Collin <lasse.collin@tukaani.org> 2704Date: 2010-09-04 22:10:32 +0300 2705 2706 xz: Minor improvements to --help and --long-help. 2707 2708 src/xz/message.c | 24 ++++++++++++------------ 2709 1 file changed, 12 insertions(+), 12 deletions(-) 2710 2711commit 373ee26f955617295c5c537b04a153a1969140d2 2712Author: Jonathan Nieder <jrnieder@gmail.com> 2713Date: 2010-09-03 16:49:15 -0500 2714 2715 Adjust memory limits in test_compress.sh 2716 2717 Testing compression at level -4 now requires 48 MiB of free store at 2718 compression time and 5 MiB at decompression time. 2719 2720 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 2721 2722 tests/test_compress.sh | 2 +- 2723 1 file changed, 1 insertion(+), 1 deletion(-) 2724 2725commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087 2726Author: Lasse Collin <lasse.collin@tukaani.org> 2727Date: 2010-09-03 15:54:40 +0300 2728 2729 xz: Make -vv show also decompressor memory usage. 2730 2731 src/xz/coder.c | 7 +++++++ 2732 1 file changed, 7 insertions(+) 2733 2734commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6 2735Author: Lasse Collin <lasse.collin@tukaani.org> 2736Date: 2010-09-03 15:13:12 +0300 2737 2738 Tweak the compression presets -0 .. -5. 2739 2740 "Extreme" mode might need some further tweaking still. 2741 Docs were not updated yet. 2742 2743 src/liblzma/lzma/lzma_encoder_presets.c | 29 +++++++++++++++++++---------- 2744 1 file changed, 19 insertions(+), 10 deletions(-) 2745 2746commit 77fe5954cd3d10fb1837372684cbc133b56b6a87 2747Author: Lasse Collin <lasse.collin@tukaani.org> 2748Date: 2010-09-03 12:28:41 +0300 2749 2750 liblzma: Adjust default depth calculation for HC3 and HC4. 2751 2752 It was 8 + nice_len / 4, now it is 4 + nice_len / 4. 2753 This allows faster settings at lower nice_len values, 2754 even though it seems that I won't use automatic depth 2755 calcuation with HC3 and HC4 in the presets. 2756 2757 src/liblzma/lz/lz_encoder.c | 7 ++++--- 2758 1 file changed, 4 insertions(+), 3 deletions(-) 2759 2760commit fce69059cf901ce8075a78c7607d591f144a3b5a 2761Author: Lasse Collin <lasse.collin@tukaani.org> 2762Date: 2010-09-03 11:11:25 +0300 2763 2764 xz: Make --help two lines shorter. 2765 2766 At least for now, the --help option doesn't list any 2767 options that take arguments, so "Mandatory arguments to..." 2768 can be omitted. 2769 2770 src/xz/message.c | 7 +++++-- 2771 1 file changed, 5 insertions(+), 2 deletions(-) 2772 2773commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298 2774Author: Lasse Collin <lasse.collin@tukaani.org> 2775Date: 2010-09-02 19:22:35 +0300 2776 2777 xz: Make setting a preset override a custom filter chain. 2778 2779 This is more logical behavior than ignoring preset level 2780 options once a custom filter chain has been specified. 2781 2782 src/xz/coder.c | 9 +++++++++ 2783 1 file changed, 9 insertions(+) 2784 2785commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3 2786Author: Lasse Collin <lasse.collin@tukaani.org> 2787Date: 2010-09-02 19:09:57 +0300 2788 2789 xz: Always warn if adjusting dictionary size due to memlimit. 2790 2791 src/xz/coder.c | 28 +++++++++------------------- 2792 1 file changed, 9 insertions(+), 19 deletions(-) 2793 2794commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d 2795Author: Lasse Collin <lasse.collin@tukaani.org> 2796Date: 2010-08-10 11:04:30 +0300 2797 2798 Fix test_compress.sh. 2799 2800 It broke when --memory option was removed from xzdec. 2801 2802 Thanks to Jonathan Nieder. 2803 2804 tests/test_compress.sh | 6 +++--- 2805 1 file changed, 3 insertions(+), 3 deletions(-) 2806 2807commit 792331bdee706aa852a78b171040ebf814c6f3ae 2808Author: Lasse Collin <lasse.collin@tukaani.org> 2809Date: 2010-08-07 20:45:18 +0300 2810 2811 Disable the memory usage limiter by default. 2812 2813 For several people, the limiter causes bigger problems that 2814 it solves, so it is better to have it disabled by default. 2815 Those who want to have a limiter by default need to enable 2816 it via the environment variable XZ_DEFAULTS. 2817 2818 Support for environment variable XZ_DEFAULTS was added. It is 2819 parsed before XZ_OPT and technically identical with it. The 2820 intended uses differ quite a bit though; see the man page. 2821 2822 The memory usage limit can now be set separately for 2823 compression and decompression using --memlimit-compress and 2824 --memlimit-decompress. To set both at once, -M or --memlimit 2825 can be used. --memory was retained as a legacy alias for 2826 --memlimit for backwards compatibility. 2827 2828 The semantics of --info-memory were changed in backwards 2829 incompatible way. Compatibility wasn't meaningful due to 2830 changes in the memory usage limiter functionality. 2831 2832 The memory usage limiter info is no longer shown at the 2833 bottom of xz --long -help. 2834 2835 The memory usage limiter support for removed completely from xzdec. 2836 2837 xz's man page was updated to match the above changes. Various 2838 unrelated fixes were also made to the man page. 2839 2840 src/xz/args.c | 87 +++++++++----- 2841 src/xz/coder.c | 8 +- 2842 src/xz/hardware.c | 96 +++++++++------ 2843 src/xz/hardware.h | 23 ++-- 2844 src/xz/list.c | 2 +- 2845 src/xz/message.c | 39 ++----- 2846 src/xz/message.h | 4 - 2847 src/xz/xz.1 | 341 ++++++++++++++++++++++++++++++++++-------------------- 2848 src/xzdec/xzdec.1 | 45 +------ 2849 src/xzdec/xzdec.c | 176 +--------------------------- 2850 10 files changed, 373 insertions(+), 448 deletions(-) 2851 2852commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801 2853Author: Lasse Collin <lasse.collin@tukaani.org> 2854Date: 2010-08-06 20:22:16 +0300 2855 2856 Add missing const to a global constant in xz. 2857 2858 src/xz/args.c | 2 +- 2859 src/xz/args.h | 2 +- 2860 2 files changed, 2 insertions(+), 2 deletions(-) 2861 2862commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f 2863Author: Lasse Collin <lasse.collin@tukaani.org> 2864Date: 2010-07-28 11:44:55 +0300 2865 2866 Language fixes for man pages. 2867 2868 Thanks to A. Costa and Jonathan Nieder. 2869 2870 src/lzmainfo/lzmainfo.1 | 4 ++-- 2871 src/xz/xz.1 | 6 +++--- 2872 2 files changed, 5 insertions(+), 5 deletions(-) 2873 2874commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b 2875Author: Lasse Collin <lasse.collin@tukaani.org> 2876Date: 2010-07-27 20:47:12 +0300 2877 2878 Windows: Add a note about building a Git repository snapshot 2879 2880 windows/INSTALL-Windows.txt | 9 +++++++++ 2881 1 file changed, 9 insertions(+) 2882 2883commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38 2884Author: Lasse Collin <lasse.collin@tukaani.org> 2885Date: 2010-07-27 20:45:03 +0300 2886 2887 Windows: build.sh is a bash script so name it correctly. 2888 2889 INSTALL | 2 +- 2890 windows/INSTALL-Windows.txt | 6 +- 2891 windows/build.bash | 189 ++++++++++++++++++++++++++++++++++++++++++++ 2892 windows/build.sh | 189 -------------------------------------------- 2893 4 files changed, 193 insertions(+), 193 deletions(-) 2894 2895commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339 2896Author: Lasse Collin <lasse.collin@tukaani.org> 2897Date: 2010-07-27 20:27:32 +0300 2898 2899 Windows: Don't strip liblzma.a too much. 2900 2901 windows/build.sh | 3 ++- 2902 1 file changed, 2 insertions(+), 1 deletion(-) 2903 2904commit a540198ffb25fad36380c5e92ac20c2d28eec46a 2905Author: Lasse Collin <lasse.collin@tukaani.org> 2906Date: 2010-07-13 20:07:26 +0300 2907 2908 Updated THANKS. 2909 2910 THANKS | 1 + 2911 1 file changed, 1 insertion(+) 2912 2913commit bab0f01ed931f606b4675aa9f9331a17cec09bad 2914Author: Lasse Collin <lasse.collin@tukaani.org> 2915Date: 2010-07-13 19:55:50 +0300 2916 2917 Add two simple example programs. 2918 2919 Hopefully these help a bit when learning the basics 2920 of liblzma API. I plan to write detailed examples about 2921 both basic and advanced features with lots of comments, 2922 but these two examples are good have right now. 2923 2924 The examples were written by Daniel Mealha Cabrita. Thanks. 2925 2926 doc/examples/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++++++ 2927 doc/examples/xz_pipe_decomp.c | 115 ++++++++++++++++++++++++++++++++++++++ 2928 2 files changed, 242 insertions(+) 2929 2930commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00 2931Author: Lasse Collin <lasse.collin@tukaani.org> 2932Date: 2010-06-15 14:06:29 +0300 2933 2934 Add --no-adjust. 2935 2936 src/xz/args.c | 6 ++++++ 2937 src/xz/coder.c | 8 ++------ 2938 src/xz/coder.h | 4 ++++ 2939 src/xz/message.c | 6 +++++- 2940 src/xz/xz.1 | 13 +++++++++++-- 2941 5 files changed, 28 insertions(+), 9 deletions(-) 2942 2943commit 2130926dd1c839280358172dfadd8d3054bde2b4 2944Author: Lasse Collin <lasse.collin@tukaani.org> 2945Date: 2010-06-11 21:51:32 +0300 2946 2947 Updated THANKS. 2948 2949 THANKS | 1 + 2950 1 file changed, 1 insertion(+) 2951 2952commit bc612d0e0c9e4504c59d49168e87a7ae3e458443 2953Author: Lasse Collin <lasse.collin@tukaani.org> 2954Date: 2010-06-11 21:48:32 +0300 2955 2956 Clarify the description of the default memlimit in the man page. 2957 2958 Thanks to Denis Excoffier. 2959 2960 src/xz/xz.1 | 4 ++-- 2961 1 file changed, 2 insertions(+), 2 deletions(-) 2962 2963commit e1b6935d60a00405e6b5b455a3426d2248cc926c 2964Author: Lasse Collin <lasse.collin@tukaani.org> 2965Date: 2010-06-11 21:43:28 +0300 2966 2967 Fix string to uint64_t conversion. 2968 2969 Thanks to Denis Excoffier for the bug report. 2970 2971 src/xz/util.c | 10 ++++++++-- 2972 src/xzdec/xzdec.c | 13 +++++++++++-- 2973 2 files changed, 19 insertions(+), 4 deletions(-) 2974 2975commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0 2976Author: Lasse Collin <lasse.collin@tukaani.org> 2977Date: 2010-06-11 10:40:28 +0300 2978 2979 Put the git commit to the filename in mydist rule. 2980 2981 Makefile.am | 6 +++++- 2982 1 file changed, 5 insertions(+), 1 deletion(-) 2983 2984commit d8b41eedce486d400f701b757b7b5e4e32276618 2985Author: Lasse Collin <lasse.collin@tukaani.org> 2986Date: 2010-06-02 23:13:55 +0300 2987 2988 Fix compiling with -Werror. 2989 2990 src/xz/message.c | 4 ++-- 2991 1 file changed, 2 insertions(+), 2 deletions(-) 2992 2993commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8 2994Author: Lasse Collin <lasse.collin@tukaani.org> 2995Date: 2010-06-02 23:09:22 +0300 2996 2997 Silence a bogus Valgrind warning. 2998 2999 When using -O2 with GCC, it liked to swap two comparisons 3000 in one "if" statement. It's otherwise fine except that 3001 the latter part, which is seemingly never executed, got 3002 executed (nothing wrong with that) and then triggered 3003 warning in Valgrind about conditional jump depending on 3004 uninitialized variable. A few people find this annoying 3005 so do things a bit differently to avoid the warning. 3006 3007 src/liblzma/lz/lz_encoder.c | 6 +++++- 3008 1 file changed, 5 insertions(+), 1 deletion(-) 3009 3010commit 29a7b250e685852f2f97615493ec49acaf528623 3011Author: Lasse Collin <lasse.collin@tukaani.org> 3012Date: 2010-06-02 21:32:12 +0300 3013 3014 Fix a Windows-specific FIXME in signal handling code. 3015 3016 src/xz/main.c | 40 +++++++++++++++++++++++++++++++++++----- 3017 src/xz/private.h | 5 +++++ 3018 src/xz/signals.c | 16 ++++++++-------- 3019 3 files changed, 48 insertions(+), 13 deletions(-) 3020 3021commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d 3022Author: Lasse Collin <lasse.collin@tukaani.org> 3023Date: 2010-06-02 17:46:58 +0300 3024 3025 Adjust SA_RESTART workaround. 3026 3027 I want to get a bug report if something else than 3028 DJGPP lacks SA_RESTART. 3029 3030 src/xz/message.c | 14 +++++++------- 3031 1 file changed, 7 insertions(+), 7 deletions(-) 3032 3033commit e243145c84ab5c3be8259fd486ead0de5235b3f0 3034Author: Lasse Collin <lasse.collin@tukaani.org> 3035Date: 2010-06-01 16:02:30 +0300 3036 3037 xz man page updates. 3038 3039 - Concatenating .xz files and padding 3040 - List mode 3041 - Robot mode 3042 - A few examples (but many more are needed) 3043 3044 src/xz/xz.1 | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 3045 1 file changed, 366 insertions(+), 19 deletions(-) 3046 3047commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562 3048Author: Lasse Collin <lasse.collin@tukaani.org> 3049Date: 2010-06-01 15:51:44 +0300 3050 3051 Major update to xz --list. 3052 3053 src/xz/list.c | 652 ++++++++++++++++++++++++++++++++++++++++++---------------- 3054 1 file changed, 471 insertions(+), 181 deletions(-) 3055 3056commit 905e54804a899e4ad526d38fdba7e803ab9b71bd 3057Author: Lasse Collin <lasse.collin@tukaani.org> 3058Date: 2010-06-01 14:13:03 +0300 3059 3060 Rename message_filters_get() to message_filters_to_str(). 3061 3062 src/xz/message.c | 4 ++-- 3063 src/xz/message.h | 2 +- 3064 2 files changed, 3 insertions(+), 3 deletions(-) 3065 3066commit 4b346ae8af20045027ae5efb068c6d69da3324d2 3067Author: Lasse Collin <lasse.collin@tukaani.org> 3068Date: 2010-06-01 14:09:12 +0300 3069 3070 Fix a comment. 3071 3072 src/liblzma/api/lzma/index.h | 2 +- 3073 1 file changed, 1 insertion(+), 1 deletion(-) 3074 3075commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296 3076Author: Lasse Collin <lasse.collin@tukaani.org> 3077Date: 2010-05-27 16:17:42 +0300 3078 3079 Fix lzma_block_compressed_size(). 3080 3081 src/liblzma/common/block_util.c | 6 +++--- 3082 1 file changed, 3 insertions(+), 3 deletions(-) 3083 3084commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593 3085Author: Lasse Collin <lasse.collin@tukaani.org> 3086Date: 2010-05-27 14:32:51 +0300 3087 3088 Take Cygwin into account in some #if lines. 3089 3090 This change is no-op, but good to have just in case 3091 for the future. 3092 3093 src/xz/signals.c | 2 +- 3094 src/xz/signals.h | 4 ++-- 3095 2 files changed, 3 insertions(+), 3 deletions(-) 3096 3097commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7 3098Author: Lasse Collin <lasse.collin@tukaani.org> 3099Date: 2010-05-27 13:42:44 +0300 3100 3101 Remove references to the Subblock filter in xz and tests. 3102 3103 Thanks to Jonathan Nieder. 3104 3105 src/xz/message.c | 9 --------- 3106 tests/test_filter_flags.c | 23 ----------------------- 3107 2 files changed, 32 deletions(-) 3108 3109commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893 3110Author: Lasse Collin <lasse.collin@tukaani.org> 3111Date: 2010-05-27 13:35:36 +0300 3112 3113 Remove unused chunk_size.c. 3114 3115 Thanks to Jonathan Nieder for the reminder. 3116 3117 src/liblzma/common/chunk_size.c | 67 ----------------------------------------- 3118 1 file changed, 67 deletions(-) 3119 3120commit 01a414eaf4be6352c06b48001b041b47e8202faa 3121Author: Jonathan Nieder <jrnieder@gmail.com> 3122Date: 2010-05-27 02:31:33 -0500 3123 3124 Use my_min() instead of MIN() in src/xz/list.c 3125 3126 This should have been done in 3127 920a69a8d8e4203c5edddd829d932130eac188ea. 3128 3129 src/xz/list.c | 2 +- 3130 1 file changed, 1 insertion(+), 1 deletion(-) 3131 3132commit 920a69a8d8e4203c5edddd829d932130eac188ea 3133Author: Lasse Collin <lasse.collin@tukaani.org> 3134Date: 2010-05-26 10:36:46 +0300 3135 3136 Rename MIN() and MAX() to my_min() and my_max(). 3137 3138 This should avoid some minor portability issues. 3139 3140 debug/full_flush.c | 2 +- 3141 debug/sync_flush.c | 2 +- 3142 src/common/sysdefs.h | 12 +++++------- 3143 src/liblzma/common/block_buffer_encoder.c | 2 +- 3144 src/liblzma/common/common.c | 2 +- 3145 src/liblzma/common/stream_buffer_encoder.c | 2 +- 3146 src/liblzma/delta/delta_encoder.c | 2 +- 3147 src/liblzma/lz/lz_decoder.c | 7 ++++--- 3148 src/liblzma/lz/lz_decoder.h | 2 +- 3149 src/liblzma/lz/lz_encoder.c | 2 +- 3150 src/liblzma/lz/lz_encoder.h | 2 +- 3151 src/liblzma/lz/lz_encoder_mf.c | 4 ++-- 3152 src/liblzma/lzma/lzma2_encoder.c | 2 +- 3153 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 3154 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 14 +++++++------- 3155 src/xz/args.c | 3 ++- 3156 16 files changed, 31 insertions(+), 31 deletions(-) 3157 3158commit 019ae27c24d0c694545a6a46f8b9fb552198b015 3159Author: Lasse Collin <lasse.collin@tukaani.org> 3160Date: 2010-05-26 10:30:20 +0300 3161 3162 Fix compilation of debug/known_sizes.c. 3163 3164 debug/known_sizes.c | 2 +- 3165 1 file changed, 1 insertion(+), 1 deletion(-) 3166 3167commit 98a4856a6ea84f79c790057a6eb89a25bc45b074 3168Author: Lasse Collin <lasse.collin@tukaani.org> 3169Date: 2010-05-26 10:28:54 +0300 3170 3171 Remove references to Subblock filter in debug/sync_flush.c. 3172 3173 debug/sync_flush.c | 13 ------------- 3174 1 file changed, 13 deletions(-) 3175 3176commit 703d2c33c095c41ae0693ee8c27c45e3847e4535 3177Author: Lasse Collin <lasse.collin@tukaani.org> 3178Date: 2010-05-26 10:16:57 +0300 3179 3180 Better #error message. 3181 3182 src/common/sysdefs.h | 4 ++-- 3183 1 file changed, 2 insertions(+), 2 deletions(-) 3184 3185commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0 3186Author: Lasse Collin <lasse.collin@tukaani.org> 3187Date: 2010-05-26 09:55:47 +0300 3188 3189 Remove the Subblock filter code for now. 3190 3191 The spec isn't finished and the code didn't compile anymore. 3192 It won't be included in XZ Utils 5.0.0. It's easy to get it 3193 back once the spec is done. 3194 3195 configure.ac | 6 +- 3196 src/liblzma/Makefile.am | 5 - 3197 src/liblzma/api/Makefile.am | 1 - 3198 src/liblzma/api/lzma.h | 1 - 3199 src/liblzma/api/lzma/subblock.h | 200 ----- 3200 src/liblzma/common/common.h | 6 - 3201 src/liblzma/common/filter_common.c | 9 - 3202 src/liblzma/common/filter_decoder.c | 16 - 3203 src/liblzma/common/filter_encoder.c | 12 - 3204 src/liblzma/subblock/Makefile.inc | 20 - 3205 src/liblzma/subblock/subblock_decoder.c | 630 ---------------- 3206 src/liblzma/subblock/subblock_decoder.h | 22 - 3207 src/liblzma/subblock/subblock_decoder_helper.c | 70 -- 3208 src/liblzma/subblock/subblock_decoder_helper.h | 29 - 3209 src/liblzma/subblock/subblock_encoder.c | 984 ------------------------- 3210 src/liblzma/subblock/subblock_encoder.h | 21 - 3211 src/xz/args.c | 9 +- 3212 src/xz/options.c | 61 -- 3213 src/xz/options.h | 7 - 3214 19 files changed, 4 insertions(+), 2105 deletions(-) 3215 3216commit b6377fc990f9b8651149cae0fecb8b9c5904e26d 3217Author: Lasse Collin <lasse.collin@tukaani.org> 3218Date: 2010-05-16 18:42:22 +0300 3219 3220 Split message_filters(). 3221 3222 message_filters_to_str() converts the filter chain to 3223 a string. message_filters_show() replaces the original 3224 message_filters(). 3225 3226 uint32_to_optstr() was also added to show the dictionary 3227 size in nicer format when possible. 3228 3229 src/xz/coder.c | 2 +- 3230 src/xz/message.c | 187 +++++++++++++++++++++++++++++++++++-------------------- 3231 src/xz/message.h | 14 ++++- 3232 3 files changed, 134 insertions(+), 69 deletions(-) 3233 3234commit d9986db782d6cf0f314342127280519339378fa0 3235Author: Lasse Collin <lasse.collin@tukaani.org> 3236Date: 2010-05-14 23:17:20 +0300 3237 3238 Omit lzma_restrict from the API headers. 3239 3240 It isn't really useful so omitting it makes things 3241 shorter and slightly more readable. 3242 3243 src/liblzma/api/lzma.h | 12 ------------ 3244 src/liblzma/api/lzma/index.h | 5 ++--- 3245 src/liblzma/api/lzma/vli.h | 11 +++++------ 3246 3 files changed, 7 insertions(+), 21 deletions(-) 3247 3248commit 0d3489efca0a723dca0394809fa3e6170843af4b 3249Author: Lasse Collin <lasse.collin@tukaani.org> 3250Date: 2010-05-10 19:57:24 +0300 3251 3252 Updated INSTALL. 3253 3254 INSTALL | 5 ----- 3255 1 file changed, 5 deletions(-) 3256 3257commit 3fb3d594a2b53886adee161b6261e92277f05f7c 3258Author: Lasse Collin <lasse.collin@tukaani.org> 3259Date: 2010-05-10 19:54:52 +0300 3260 3261 Updated THANKS. 3262 3263 THANKS | 1 + 3264 1 file changed, 1 insertion(+) 3265 3266commit 6548e304657e77d3a972053db3c41c5daf591113 3267Author: Lasse Collin <lasse.collin@tukaani.org> 3268Date: 2010-05-10 19:54:15 +0300 3269 3270 Updates to tuklib_physmem and tuklib_cpucores. 3271 3272 Don't use #error to generate compile error, because some 3273 compilers actually don't take it as an error. This fixes 3274 tuklib_physmem on IRIX. 3275 3276 Fix incorrect error check for sysconf() return values. 3277 3278 Add AIX, HP-UX, and Tru64 specific code to detect the 3279 amount RAM. 3280 3281 Add HP-UX specific code to detect the number of CPU cores. 3282 3283 Thanks a lot to Peter O'Gorman for initial patches, 3284 testing, and debugging these fixes. 3285 3286 m4/tuklib_cpucores.m4 | 33 ++++++++++++++++---- 3287 m4/tuklib_physmem.m4 | 72 ++++++++++++++++++++++++++++++++++++++++++-- 3288 src/common/tuklib_cpucores.c | 14 +++++++-- 3289 src/common/tuklib_physmem.c | 33 +++++++++++++++++++- 3290 4 files changed, 141 insertions(+), 11 deletions(-) 3291 3292commit a290cfee3e23f046889c022aa96b4eca2016fdda 3293Author: Lasse Collin <lasse.collin@tukaani.org> 3294Date: 2010-04-12 21:55:56 +0300 3295 3296 Show both elapsed time and estimated remaining time in xz -v. 3297 3298 The extra space for showing both has been taken from the 3299 sizes field. If the sizes grow big, bigger units than MiB 3300 will be used. It makes it slightly difficult to see that 3301 progress is still happening with huge files, but it should 3302 be OK in practice. 3303 3304 Thanks to Trent W. Buck for <http://bugs.debian.org/574583> 3305 and Jonathan Nieder for suggestions how to fix it. 3306 3307 THANKS | 1 + 3308 src/xz/message.c | 86 +++++++++++++++++++++++++------------------------------- 3309 2 files changed, 39 insertions(+), 48 deletions(-) 3310 3311commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e 3312Author: Lasse Collin <lasse.collin@tukaani.org> 3313Date: 2010-03-31 16:47:25 +0300 3314 3315 Add a simple tip to faq.txt about tar and xz. 3316 3317 Thanks to Gilles Espinasse. 3318 3319 THANKS | 1 + 3320 doc/faq.txt | 6 ++++++ 3321 2 files changed, 7 insertions(+) 3322 3323commit c737eec91d200d730aa82662affd6b06ebb0bff0 3324Author: Lasse Collin <lasse.collin@tukaani.org> 3325Date: 2010-03-22 21:03:03 +0200 3326 3327 Updated THANKS. 3328 3329 THANKS | 1 + 3330 1 file changed, 1 insertion(+) 3331 3332commit f4b2b52624b802c786e4e2a8eb6895794dd93b24 3333Author: Lasse Collin <lasse.collin@tukaani.org> 3334Date: 2010-03-07 19:52:25 +0200 3335 3336 Fix xzgrep to not break if filenames have spaces or quotes. 3337 3338 Thanks to someone who reported the bug on IRC. 3339 3340 src/scripts/xzgrep.in | 2 +- 3341 1 file changed, 1 insertion(+), 1 deletion(-) 3342 3343commit cf38da00a140bd3bd65b192390ae5553380fd774 3344Author: Lasse Collin <lasse.collin@tukaani.org> 3345Date: 2010-03-07 13:59:32 +0200 3346 3347 Treat all integer multiplier suffixes as base-2. 3348 3349 Originally both base-2 and base-10 were supported, but since 3350 there seems to be little need for base-10 in XZ Utils, treat 3351 everything as base-2 and also be more relaxed about the case 3352 of the first letter of the suffix. Now xz will accept e.g. 3353 KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The 3354 recommended spelling of the suffixes are still KiB, MiB, and GiB. 3355 3356 src/xz/util.c | 53 +++++++++++++++++++++++------------------------------ 3357 src/xz/xz.1 | 48 ++++++++++++++++++++++++++++-------------------- 3358 src/xzdec/xzdec.c | 42 ++++++++++++++++-------------------------- 3359 3 files changed, 67 insertions(+), 76 deletions(-) 3360 3361commit 00fc1211ae7b687ac912098f4479112059deccbd 3362Author: Lasse Collin <lasse.collin@tukaani.org> 3363Date: 2010-03-07 13:50:23 +0200 3364 3365 Consistently round up the memory usage limit in messages. 3366 3367 It still feels a bit wrong to round 1 byte to 1 MiB but 3368 at least it is now done consistently so that the same 3369 byte value is always rounded the same way to MiB. 3370 3371 src/xz/message.c | 5 +++-- 3372 src/xzdec/xzdec.c | 7 +++++-- 3373 2 files changed, 8 insertions(+), 4 deletions(-) 3374 3375commit 9886d436ff5615fc70eef32ff757b1e934069621 3376Author: Lasse Collin <lasse.collin@tukaani.org> 3377Date: 2010-03-07 13:34:34 +0200 3378 3379 Change the default of --enable-assume-ram from 32 to 128 MiB. 3380 3381 This is to allow files created with "xz -9" to be decompressed 3382 if the amount of RAM cannot be determined. 3383 3384 INSTALL | 5 ++--- 3385 configure.ac | 11 ++++++----- 3386 2 files changed, 8 insertions(+), 8 deletions(-) 3387 3388commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418 3389Author: Lasse Collin <lasse.collin@tukaani.org> 3390Date: 2010-03-07 13:29:28 +0200 3391 3392 Increase the default memory usage limit on "low-memory" systems. 3393 3394 Previously the default limit was always 40 % of RAM. The 3395 new limit is a little bit more complex: 3396 3397 - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used 3398 as the limit. 3399 3400 - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit. 3401 3402 - Otherwise 80 % of RAM is used as the limit. 3403 3404 This should make it possible to decompress files created with 3405 "xz -9" on more systems. Swapping is generally more expected 3406 on systems with less RAM, so higher default limit on them 3407 shouldn't cause too bad surprises in terms of heavy swapping. 3408 Instead, the higher default limit should reduce the number of 3409 bad surprises when it used to prevent decompression of files 3410 created with "xz -9". The DoS prevention system shouldn't be 3411 a DoS itself. 3412 3413 Note that even with the new default limit, a system with 64 MiB 3414 RAM cannot decompress files created with "xz -9" without user 3415 overriding the limit. This should be OK, because if xz is going 3416 to need more memory than the system has RAM, it will run very 3417 very slowly and thus it's good that user has to override the limit 3418 in that case. 3419 3420 src/xz/hardware.c | 43 +++++++++++++++++++++++++++++++------------ 3421 src/xz/xz.1 | 21 +++++++++++++++------ 3422 src/xzdec/xzdec.1 | 8 ++++---- 3423 src/xzdec/xzdec.c | 42 ++++++++++++++++++++++++++++++------------ 3424 4 files changed, 80 insertions(+), 34 deletions(-) 3425 3426commit 5527b7269a997e7f335d60f237a64bbf225d9dc7 3427Author: Lasse Collin <lasse.collin@tukaani.org> 3428Date: 2010-03-06 21:36:19 +0200 3429 3430 Updated THANKS. 3431 3432 THANKS | 1 + 3433 1 file changed, 1 insertion(+) 3434 3435commit d0d1c51aea4351288a7e533cce28cb7f852f6b05 3436Author: Lasse Collin <lasse.collin@tukaani.org> 3437Date: 2010-03-06 21:17:20 +0200 3438 3439 Fix missing initialization in lzma_strm_init(). 3440 3441 With bad luck, lzma_code() could return LZMA_BUF_ERROR 3442 when it shouldn't. 3443 3444 This has been here since the early days of liblzma. 3445 It got triggered by the modifications made to the xz 3446 tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f 3447 but only when decompressing .lzma files. Somehow I managed 3448 to miss testing that with Valgrind earlier. 3449 3450 This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>. 3451 Thanks to Rafał Mużyło for helping to debug it on IRC. 3452 3453 src/liblzma/common/common.c | 1 + 3454 1 file changed, 1 insertion(+) 3455 3456commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea 3457Author: Lasse Collin <lasse.collin@tukaani.org> 3458Date: 2010-02-12 13:16:15 +0200 3459 3460 Collection of language fixes to comments and docs. 3461 3462 Thanks to Jonathan Nieder. 3463 3464 README | 2 +- 3465 configure.ac | 2 +- 3466 doc/faq.txt | 2 +- 3467 extra/7z2lzma/7z2lzma.bash | 2 +- 3468 src/common/tuklib_progname.c | 2 +- 3469 src/common/tuklib_progname.h | 2 +- 3470 src/liblzma/api/lzma/base.h | 8 ++++---- 3471 src/liblzma/api/lzma/bcj.h | 2 +- 3472 src/liblzma/api/lzma/block.h | 2 +- 3473 src/liblzma/api/lzma/check.h | 2 +- 3474 src/liblzma/api/lzma/filter.h | 4 ++-- 3475 src/liblzma/api/lzma/index.h | 6 +++--- 3476 src/liblzma/api/lzma/lzma.h | 2 +- 3477 src/liblzma/api/lzma/version.h | 2 +- 3478 src/liblzma/api/lzma/vli.h | 2 +- 3479 src/liblzma/common/block_header_encoder.c | 2 +- 3480 src/liblzma/common/chunk_size.c | 4 ++-- 3481 src/liblzma/common/common.h | 4 ++-- 3482 src/liblzma/common/filter_buffer_decoder.c | 2 +- 3483 src/liblzma/common/filter_encoder.c | 4 ++-- 3484 src/liblzma/common/index.c | 6 +++--- 3485 src/liblzma/common/index_encoder.c | 2 +- 3486 src/liblzma/common/stream_encoder.c | 2 +- 3487 src/liblzma/common/vli_decoder.c | 2 +- 3488 src/liblzma/lz/lz_encoder.c | 2 +- 3489 src/liblzma/lz/lz_encoder.h | 2 +- 3490 src/liblzma/lzma/lzma2_encoder.c | 2 +- 3491 src/liblzma/lzma/lzma_decoder.c | 4 ++-- 3492 src/liblzma/lzma/lzma_decoder.h | 2 +- 3493 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 3494 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +- 3495 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 3496 src/liblzma/simple/simple_coder.c | 2 +- 3497 src/liblzma/subblock/subblock_encoder.c | 2 +- 3498 src/scripts/xzdiff.1 | 2 +- 3499 src/scripts/xzless.1 | 10 +++++----- 3500 src/xz/coder.c | 2 +- 3501 src/xz/file_io.c | 2 +- 3502 src/xz/main.c | 6 +++--- 3503 src/xz/main.h | 2 +- 3504 src/xz/message.c | 10 +++++----- 3505 src/xz/message.h | 2 +- 3506 src/xz/xz.1 | 16 ++++++++-------- 3507 src/xzdec/lzmadec_w32res.rc | 2 +- 3508 src/xzdec/xzdec_w32res.rc | 2 +- 3509 tests/test_index.c | 2 +- 3510 windows/build.sh | 4 ++-- 3511 47 files changed, 77 insertions(+), 77 deletions(-) 3512 3513commit 4785f2021aa6a23f1caf724fcc823e562584f225 3514Author: Lasse Collin <lasse.collin@tukaani.org> 3515Date: 2010-02-12 12:41:20 +0200 3516 3517 Fix jl -> jb in ASM files. 3518 3519 src/liblzma/check/crc32_x86.S | 2 +- 3520 src/liblzma/check/crc64_x86.S | 4 ++-- 3521 2 files changed, 3 insertions(+), 3 deletions(-) 3522 3523commit 6b50c9429bf85521d355adc61745d06ee017f8c8 3524Author: Lasse Collin <lasse.collin@tukaani.org> 3525Date: 2010-02-12 12:31:22 +0200 3526 3527 Use __APPLE__ instead of __MACH__ in ASM files. 3528 3529 This allows the files to work on HURD. 3530 3531 Thanks to Jonathan Nieder. 3532 3533 src/liblzma/check/crc32_x86.S | 8 ++++---- 3534 src/liblzma/check/crc64_x86.S | 8 ++++---- 3535 2 files changed, 8 insertions(+), 8 deletions(-) 3536 3537commit 6503fde658a5cdbdd907a788865470dd64771601 3538Author: Lasse Collin <lasse.collin@tukaani.org> 3539Date: 2010-02-07 19:48:06 +0200 3540 3541 Subtle change to liblzma Block handling API. 3542 3543 lzma_block.version has to be initialized even for 3544 lzma_block_header_decode(). This way a future version 3545 of liblzma won't allocate memory in a way that an old 3546 application doesn't know how to free it. 3547 3548 The subtlety of this change is that all current apps 3549 using lzma_block_header_decode() will keep working for 3550 now, because the only possible version value is zero, 3551 and lzma_block_header_decode() unconditionally sets the 3552 version to zero even now. Unless fixed, these apps will 3553 break in the future if a new version of the Block options 3554 is ever needed. 3555 3556 src/liblzma/api/lzma/block.h | 39 ++++++++++++++++--------------------- 3557 src/liblzma/common/stream_decoder.c | 3 +++ 3558 2 files changed, 20 insertions(+), 22 deletions(-) 3559 3560commit dd7c3841ff78cb94ce02b0220c6e4748460970f7 3561Author: Lasse Collin <lasse.collin@tukaani.org> 3562Date: 2010-02-02 11:50:11 +0200 3563 3564 Fix wrong assertion. 3565 3566 This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735. 3567 3568 src/xz/main.c | 5 +++-- 3569 1 file changed, 3 insertions(+), 2 deletions(-) 3570 3571commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be 3572Author: Lasse Collin <lasse.collin@tukaani.org> 3573Date: 2010-02-01 22:48:42 +0200 3574 3575 Updated TODO. 3576 3577 TODO | 4 ---- 3578 1 file changed, 4 deletions(-) 3579 3580commit fef6333f52c8801308c3b78acb7942988541d137 3581Author: Lasse Collin <lasse.collin@tukaani.org> 3582Date: 2010-02-01 22:47:54 +0200 3583 3584 Fix typos in comments. 3585 3586 src/xz/list.c | 2 +- 3587 windows/build.sh | 2 +- 3588 2 files changed, 2 insertions(+), 2 deletions(-) 3589 3590commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735 3591Author: Lasse Collin <lasse.collin@tukaani.org> 3592Date: 2010-02-01 22:46:56 +0200 3593 3594 Fix signal handling for --list. 3595 3596 src/xz/main.c | 19 ++++++++++++++----- 3597 1 file changed, 14 insertions(+), 5 deletions(-) 3598 3599commit 82220a149015616f75641ee8bbea415137535b9b 3600Author: Lasse Collin <lasse.collin@tukaani.org> 3601Date: 2010-02-01 11:44:45 +0200 3602 3603 Fix compression of symlinks with --force. 3604 3605 xz --force accepted symlinks, but didn't remove 3606 them after successful compression. Instead, an error 3607 message was displayed. 3608 3609 src/xz/file_io.c | 14 +++++++++++++- 3610 1 file changed, 13 insertions(+), 1 deletion(-) 3611 3612commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e 3613Author: Lasse Collin <lasse.collin@tukaani.org> 3614Date: 2010-02-01 10:20:57 +0200 3615 3616 Fix a comment. 3617 3618 windows/build.sh | 5 ++--- 3619 1 file changed, 2 insertions(+), 3 deletions(-) 3620 3621commit f9dd797a423a148903cf345b4146cb1fe1eab11d 3622Author: Lasse Collin <lasse.collin@tukaani.org> 3623Date: 2010-01-31 23:43:54 +0200 3624 3625 Updated THANKS. 3626 3627 THANKS | 1 + 3628 1 file changed, 1 insertion(+) 3629 3630commit ee5ddb8b28419fe4923ded5c18a50570a762dcab 3631Author: Lasse Collin <lasse.collin@tukaani.org> 3632Date: 2010-01-31 23:41:29 +0200 3633 3634 Updated TODO. 3635 3636 TODO | 17 +++++++++++------ 3637 1 file changed, 11 insertions(+), 6 deletions(-) 3638 3639commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6 3640Author: Lasse Collin <lasse.collin@tukaani.org> 3641Date: 2010-01-31 23:35:04 +0200 3642 3643 Mention TODO in README. 3644 3645 README | 1 + 3646 1 file changed, 1 insertion(+) 3647 3648commit 2901a8e7e82af05675b8cd8758a8ceddb111359f 3649Author: Lasse Collin <lasse.collin@tukaani.org> 3650Date: 2010-01-31 23:31:14 +0200 3651 3652 Updated INSTALL. 3653 3654 INSTALL | 52 ++++++++++++++++++++++++++-------------------------- 3655 1 file changed, 26 insertions(+), 26 deletions(-) 3656 3657commit 8884e16864ba53fb4b58623d7537d7ef30c28e11 3658Author: Lasse Collin <lasse.collin@tukaani.org> 3659Date: 2010-01-31 23:28:51 +0200 3660 3661 Revise the Windows build files. 3662 3663 The old Makefile + config.h was deleted, because it 3664 becomes outdated too easily and building with the 3665 Autotools based build system works fine even on Windows. 3666 3667 windows/build.sh hasn't got much testing, but it should 3668 work to build 32-bit x86 and x86-64 versions of XZ Utils 3669 using MSYS, MinGW or MinGW-w32, and MinGW-w64. 3670 3671 windows/INSTALL-Windows.txt describes what packages are 3672 needed and how to install them. 3673 3674 windows/README-Windows.txt is a readme file for the binary 3675 package that build.sh hopefully builds. 3676 3677 There are no instructions about using Autotools for now, 3678 so those using a git snapshot may want to run 3679 "autoreconf -fi && ./configure && make mydist" on a UN*X 3680 box and then copy the resulting .tar.gz to a Windows. 3681 3682 windows/INSTALL-Windows.txt | 131 ++++++++++++++++++ 3683 windows/Makefile | 320 -------------------------------------------- 3684 windows/README | 155 --------------------- 3685 windows/README-Windows.txt | 115 ++++++++++++++++ 3686 windows/build.sh | 189 ++++++++++++++++++++++++++ 3687 windows/config.h | 170 ----------------------- 3688 6 files changed, 435 insertions(+), 645 deletions(-) 3689 3690commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c 3691Author: Lasse Collin <lasse.collin@tukaani.org> 3692Date: 2010-01-31 19:52:38 +0200 3693 3694 Select the default integrity check type at runtime. 3695 3696 Previously it was set statically to CRC64 or CRC32 3697 depending on options passed to the configure script. 3698 3699 src/xz/coder.c | 19 ++++++++++++++----- 3700 1 file changed, 14 insertions(+), 5 deletions(-) 3701 3702commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1 3703Author: Lasse Collin <lasse.collin@tukaani.org> 3704Date: 2010-01-31 18:17:50 +0200 3705 3706 Improve displaying of the memory usage limit. 3707 3708 src/xz/coder.c | 8 +++----- 3709 src/xz/message.c | 37 +++++++++++++++++++++++++++++-------- 3710 src/xz/util.c | 7 +++++++ 3711 src/xz/util.h | 6 ++++++ 3712 4 files changed, 45 insertions(+), 13 deletions(-) 3713 3714commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2 3715Author: Lasse Collin <lasse.collin@tukaani.org> 3716Date: 2010-01-31 12:53:56 +0200 3717 3718 Don't use uninitialized sigset_t. 3719 3720 If signal handlers haven't been established, then it's 3721 useless to try to block them, especially since the sigset_t 3722 used for blocking hasn't been initialized yet. 3723 3724 src/xz/signals.c | 34 ++++++++++++++++++++++++---------- 3725 1 file changed, 24 insertions(+), 10 deletions(-) 3726 3727commit 231c3c7098f1099a56abb8afece76fc9b8699f05 3728Author: Lasse Collin <lasse.collin@tukaani.org> 3729Date: 2010-01-31 12:01:54 +0200 3730 3731 Delay opening the destionation file and other fixes. 3732 3733 The opening of the destination file is now delayed a little. 3734 The coder is initialized, and if decompressing, the memory 3735 usage of the first Block compared against the memory 3736 usage limit before the destination file is opened. This 3737 means that if --force was used, the old "target" file won't 3738 be deleted so easily when something goes wrong very early. 3739 Thanks to Mark K for the bug report. 3740 3741 The above fix required some changes to progress message 3742 handling. Now there is a separate function for setting and 3743 printing the filename. It is used also in list.c. 3744 3745 list_file() now handles stdin correctly (gives an error). 3746 3747 A useless check for user_abort was removed from file_io.c. 3748 3749 src/xz/coder.c | 64 ++++++++++++++++++++++----------- 3750 src/xz/file_io.c | 107 +++++++++++++++++++++++++++---------------------------- 3751 src/xz/file_io.h | 8 +++-- 3752 src/xz/list.c | 28 +++++---------- 3753 src/xz/message.c | 46 +++++++++++++----------- 3754 src/xz/message.h | 29 ++++++++++----- 3755 6 files changed, 157 insertions(+), 125 deletions(-) 3756 3757commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105 3758Author: Lasse Collin <lasse.collin@tukaani.org> 3759Date: 2010-01-29 22:48:04 +0200 3760 3761 Add list.h to src/xz/Makefile.am. 3762 3763 This should have been already in 3764 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1. 3765 3766 src/xz/Makefile.am | 1 + 3767 1 file changed, 1 insertion(+) 3768 3769commit b4b1a56e0cbd597157858264f5c7189201ac9018 3770Author: Lasse Collin <lasse.collin@tukaani.org> 3771Date: 2010-01-29 13:24:27 +0200 3772 3773 Add lzmainfo.1 to manfiles list to convert to .txt and .pdf. 3774 3775 Makefile.am | 1 + 3776 1 file changed, 1 insertion(+) 3777 3778commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95 3779Author: Lasse Collin <lasse.collin@tukaani.org> 3780Date: 2010-01-27 16:42:11 +0200 3781 3782 Silence two compiler warnings on DOS-like systems. 3783 3784 src/common/tuklib_open_stdxxx.c | 6 +++++- 3785 src/xz/file_io.c | 3 +++ 3786 2 files changed, 8 insertions(+), 1 deletion(-) 3787 3788commit b063cc34a30a4edf109343ff373b2b62b8ca72d3 3789Author: Lasse Collin <lasse.collin@tukaani.org> 3790Date: 2010-01-27 13:31:03 +0200 3791 3792 Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE. 3793 3794 configure.ac | 9 ++------- 3795 src/liblzma/liblzma.pc.in | 2 +- 3796 src/lzmainfo/lzmainfo.c | 2 +- 3797 src/xz/message.c | 2 +- 3798 src/xzdec/xzdec.c | 2 +- 3799 5 files changed, 6 insertions(+), 11 deletions(-) 3800 3801commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f 3802Author: Lasse Collin <lasse.collin@tukaani.org> 3803Date: 2010-01-26 23:37:46 +0200 3804 3805 Add a missing space to an error message. 3806 3807 Thanks to Robert Readman. 3808 3809 src/xz/args.c | 2 +- 3810 1 file changed, 1 insertion(+), 1 deletion(-) 3811 3812commit e5496f9628ff5979392a80421d0b63a4de8015b4 3813Author: Lasse Collin <lasse.collin@tukaani.org> 3814Date: 2010-01-26 22:53:37 +0200 3815 3816 Use past tense in error message in io_unlink(). 3817 3818 Added a note to translators too. 3819 3820 Thanks to Robert Readman. 3821 3822 THANKS | 1 + 3823 src/xz/file_io.c | 14 ++++++++++++-- 3824 2 files changed, 13 insertions(+), 2 deletions(-) 3825 3826commit d9a9800597ea540090e434132c3b511217df0a2b 3827Author: Lasse Collin <lasse.collin@tukaani.org> 3828Date: 2010-01-26 15:42:24 +0200 3829 3830 Fix too small static buffer in util.c. 3831 3832 This was introduced in 3833 0dd6d007669b946543ca939a44243833c79e08f4 two days ago. 3834 3835 src/xz/util.c | 9 ++++----- 3836 1 file changed, 4 insertions(+), 5 deletions(-) 3837 3838commit d0b4bbf5da068503c099cd456e294d7673548cc0 3839Author: Lasse Collin <lasse.collin@tukaani.org> 3840Date: 2010-01-26 14:46:43 +0200 3841 3842 Minor comment fix. 3843 3844 src/xz/main.c | 4 ++-- 3845 1 file changed, 2 insertions(+), 2 deletions(-) 3846 3847commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1 3848Author: Lasse Collin <lasse.collin@tukaani.org> 3849Date: 2010-01-24 23:50:54 +0200 3850 3851 Add initial version of xz --list. 3852 3853 This is a bit rough but should be useful for basic things. 3854 Ideas (with detailed examples) about the output format are 3855 welcome. 3856 3857 The output of --robot --list is not necessarily stable yet, 3858 although I don't currently have any plans about changing it. 3859 3860 The man page hasn't been updated yet. 3861 3862 src/xz/Makefile.am | 1 + 3863 src/xz/list.c | 988 ++++++++++++++++++++++++++++++++++------------------- 3864 src/xz/list.h | 18 + 3865 src/xz/main.c | 19 +- 3866 src/xz/private.h | 1 + 3867 5 files changed, 668 insertions(+), 359 deletions(-) 3868 3869commit df254ce03be016e217b511e7acd5d493f9929ca5 3870Author: Lasse Collin <lasse.collin@tukaani.org> 3871Date: 2010-01-24 22:46:11 +0200 3872 3873 Add io_pread(). 3874 3875 It will be used by --list. 3876 3877 src/xz/file_io.c | 25 +++++++++++++++++++++++++ 3878 src/xz/file_io.h | 17 +++++++++++++++++ 3879 2 files changed, 42 insertions(+) 3880 3881commit ef68dd4a92976276304de2aedfbe34ae91a86abb 3882Author: Lasse Collin <lasse.collin@tukaani.org> 3883Date: 2010-01-24 22:45:14 +0200 3884 3885 Set LC_NUMERIC=C when --robot is used. 3886 3887 It is to ensure that floating point numbers 3888 will always have a dot as the decimal separator. 3889 3890 src/xz/args.c | 4 ++++ 3891 1 file changed, 4 insertions(+) 3892 3893commit 0dd6d007669b946543ca939a44243833c79e08f4 3894Author: Lasse Collin <lasse.collin@tukaani.org> 3895Date: 2010-01-24 16:57:40 +0200 3896 3897 Some improvements to printing sizes in xz. 3898 3899 src/xz/coder.c | 56 +++++++++++++++------------------------ 3900 src/xz/message.c | 80 ++++++++++++++++++-------------------------------------- 3901 src/xz/message.h | 4 +++ 3902 src/xz/util.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3903 src/xz/util.h | 44 +++++++++++++++++++++++++++++++ 3904 5 files changed, 166 insertions(+), 90 deletions(-) 3905 3906commit 2a98fdffd68c66371279c211c29153c808ad5c1d 3907Author: Lasse Collin <lasse.collin@tukaani.org> 3908Date: 2010-01-20 22:02:35 +0200 3909 3910 Fix a typo in README. 3911 3912 Thanks to R. Bijker. 3913 3914 README | 2 +- 3915 1 file changed, 1 insertion(+), 1 deletion(-) 3916 3917commit 07a11dad44e041b01dcfc73e8d4e00731158c06d 3918Author: Lasse Collin <lasse.collin@tukaani.org> 3919Date: 2010-01-17 11:59:54 +0200 3920 3921 Updated windows/Makefile. 3922 3923 Thanks to Dan Shechter for the patch. 3924 3925 It is likely that windows/Makefile will be removed 3926 completely, because Autotols based build nowadays 3927 works well with both 32-bit and 64-bit MinGW (I 3928 just need to update the docs). 3929 3930 windows/Makefile | 38 +++++++++++++++++++++++++------------- 3931 windows/config.h | 2 ++ 3932 2 files changed, 27 insertions(+), 13 deletions(-) 3933 3934commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3 3935Author: Lasse Collin <lasse.collin@tukaani.org> 3936Date: 2010-01-15 11:05:11 +0200 3937 3938 Update the xz man page to match the previous two commits. 3939 3940 src/xz/xz.1 | 9 +++------ 3941 1 file changed, 3 insertions(+), 6 deletions(-) 3942 3943commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7 3944Author: Lasse Collin <lasse.collin@tukaani.org> 3945Date: 2010-01-13 19:10:25 +0200 3946 3947 Don't read compressed data from a terminal or write it 3948 to a terminal even if --force is specified. 3949 3950 It just seems more reasonable this way. 3951 3952 The new behavior matches bzip2. The old one matched gzip. 3953 3954 src/xz/main.c | 20 +++++++++----------- 3955 src/xz/util.c | 8 ++++---- 3956 2 files changed, 13 insertions(+), 15 deletions(-) 3957 3958commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4 3959Author: Lasse Collin <lasse.collin@tukaani.org> 3960Date: 2010-01-13 18:12:40 +0200 3961 3962 Don't compress or decompress special files unless writing 3963 to stdout even if --force is used. 3964 3965 --force will still enable compression of symlinks, but only 3966 in case they point to a regular file. 3967 3968 The new way simply seems more reasonable. It matches gzip's 3969 behavior while the old one matched bzip2's behavior. 3970 3971 src/xz/file_io.c | 15 ++++++++++----- 3972 1 file changed, 10 insertions(+), 5 deletions(-) 3973 3974commit cee12aa852ec0902983dc1f153346ef750157fb9 3975Author: Lasse Collin <lasse.collin@tukaani.org> 3976Date: 2010-01-12 16:30:33 +0200 3977 3978 Updated THANKS. 3979 3980 THANKS | 1 + 3981 1 file changed, 1 insertion(+) 3982 3983commit 153c7740c54b3c90129dbd3d6153ac1303c4d605 3984Author: Lasse Collin <lasse.collin@tukaani.org> 3985Date: 2010-01-12 16:18:14 +0200 3986 3987 Add IRIX-specific code to tuklib_physmem and tuklib_cpucores. 3988 3989 This is untested but it will get tested soon and, if needed, 3990 fixed before 5.0.0. 3991 3992 Thanks to Stuart Shelton. 3993 3994 m4/tuklib_cpucores.m4 | 11 +++++++++-- 3995 m4/tuklib_physmem.m4 | 22 +++++++++++++++++++++- 3996 src/common/tuklib_cpucores.c | 6 ++++++ 3997 src/common/tuklib_physmem.c | 19 +++++++++++++++++++ 3998 4 files changed, 55 insertions(+), 3 deletions(-) 3999 4000commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1 4001Author: Lasse Collin <lasse.collin@tukaani.org> 4002Date: 2010-01-01 00:29:10 +0200 4003 4004 Fix _memconfig() functions. 4005 4006 This affects lzma_memusage() and lzma_memlimit_get(). 4007 4008 src/liblzma/api/lzma/index.h | 7 ------- 4009 src/liblzma/common/alone_decoder.c | 11 +++++++---- 4010 src/liblzma/common/index_decoder.c | 10 ++++++---- 4011 src/liblzma/common/stream_decoder.c | 11 +++++++---- 4012 4 files changed, 20 insertions(+), 19 deletions(-) 4013 4014commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691 4015Author: Lasse Collin <lasse.collin@tukaani.org> 4016Date: 2009-12-31 22:45:53 +0200 4017 4018 Revised the Index handling code. 4019 4020 This breaks API and ABI but most apps are not affected 4021 since most apps don't use this part of the API. You will 4022 get a compile error if you are using anything that got 4023 broken. 4024 4025 Summary of changes: 4026 4027 - Ability to store Stream Flags, which are needed 4028 for random-access reading in multi-Stream files. 4029 4030 - Separate function to set size of Stream Padding. 4031 4032 - Iterator structure makes it possible to read the same 4033 lzma_index from multiple threads at the same time. 4034 4035 - A lot faster code to locate Blocks. 4036 4037 - Removed lzma_index_equal() without adding anything 4038 to replace it. I don't know what it should do exactly 4039 with the new features and what actually needs this 4040 function in the first place other than test_index.c, 4041 which now has its own code to compare lzma_indexes. 4042 4043 src/liblzma/api/lzma/index.h | 572 +++++++--- 4044 src/liblzma/common/index.c | 1553 ++++++++++++++++++---------- 4045 src/liblzma/common/index.h | 6 + 4046 src/liblzma/common/index_decoder.c | 12 +- 4047 src/liblzma/common/index_encoder.c | 36 +- 4048 src/liblzma/common/index_encoder.h | 2 +- 4049 src/liblzma/common/stream_buffer_encoder.c | 6 +- 4050 src/liblzma/common/stream_encoder.c | 3 +- 4051 tests/test_index.c | 371 ++++--- 4052 9 files changed, 1703 insertions(+), 858 deletions(-) 4053 4054commit f29997a846e673cb3b8cbd57de47ed313b3978bb 4055Author: Lasse Collin <lasse.collin@tukaani.org> 4056Date: 2009-12-31 21:13:25 +0200 4057 4058 Remove c-format tag in cs.po. 4059 4060 It was fixed in the C code earlier. 4061 4062 po/cs.po | 1 - 4063 1 file changed, 1 deletion(-) 4064 4065commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644 4066Author: Lasse Collin <lasse.collin@tukaani.org> 4067Date: 2009-12-31 21:11:05 +0200 4068 4069 Add missing lzma_nothrow in filter.h. 4070 4071 src/liblzma/api/lzma/filter.h | 4 ++-- 4072 1 file changed, 2 insertions(+), 2 deletions(-) 4073 4074commit b56cb1fc31fa2381f92eefc040df85667048d626 4075Author: Lasse Collin <lasse.collin@tukaani.org> 4076Date: 2009-12-09 18:13:44 +0200 4077 4078 Remove redefinition of _(msgid) macro from lzmainfo.c. 4079 4080 src/lzmainfo/lzmainfo.c | 7 ------- 4081 1 file changed, 7 deletions(-) 4082 4083commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2 4084Author: Jonathan Nieder <jrnieder@gmail.com> 4085Date: 2009-12-08 19:41:57 -0600 4086 4087 update po/.gitignore 4088 4089 Since the *.gmo files are deleted by the maintainer-clean target, 4090 I assume they are not meant to be tracked. 4091 4092 Also add the other files listed in the Makefile’s clean targets 4093 (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they 4094 are not accidentally tracked. Most of these are intermediate 4095 files that would not appear unless a build is interrupted or 4096 fails. 4097 4098 Split the list of untracked files by origin to make it easier to 4099 tell if files are missing in the future. 4100 4101 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 4102 4103 po/.gitignore | 28 ++++++++++++++++++++++------ 4104 1 file changed, 22 insertions(+), 6 deletions(-) 4105 4106commit f7e44c6c11f630519072971b8b07a5729c096c36 4107Author: Lasse Collin <lasse.collin@tukaani.org> 4108Date: 2009-12-09 00:38:55 +0200 4109 4110 Always rely on GCC's auto-import on Windows. 4111 4112 I understood that this is nicer, because then people 4113 don't need to worry about the LZMA_API_STATIC macro. 4114 4115 Thanks to Charles Wilson and Keith Marshall. 4116 4117 src/liblzma/api/lzma.h | 16 +++++++++------- 4118 1 file changed, 9 insertions(+), 7 deletions(-) 4119 4120commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c 4121Author: Lasse Collin <lasse.collin@tukaani.org> 4122Date: 2009-12-07 21:46:53 +0200 4123 4124 Fix file_io.c on DOS-like systems. 4125 4126 The problem was introduced when adding sparse file 4127 support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902. 4128 4129 Thanks to Charles Wilson. 4130 4131 src/xz/file_io.c | 4 ++++ 4132 1 file changed, 4 insertions(+) 4133 4134commit 0696f5d268362221380e039bad48a86e29067c6a 4135Author: Lasse Collin <lasse.collin@tukaani.org> 4136Date: 2009-12-07 20:54:21 +0200 4137 4138 Add Czech translation. 4139 4140 Thanks to Marek Černocký. 4141 4142 Other people planning to translate xz: Note that the 4143 messages are a little bit in flux still. Translations 4144 are still welcome, just be prepared to some extra work 4145 in case there are changes. 4146 4147 THANKS | 1 + 4148 po/LINGUAS | 1 + 4149 po/cs.po | 637 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4150 3 files changed, 639 insertions(+) 4151 4152commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5 4153Author: Lasse Collin <lasse.collin@tukaani.org> 4154Date: 2009-12-07 20:32:08 +0200 4155 4156 Add a note for translators to add a bug reporting address 4157 for translation bugs. 4158 4159 src/xz/message.c | 4 ++++ 4160 1 file changed, 4 insertions(+) 4161 4162commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37 4163Author: Lasse Collin <lasse.collin@tukaani.org> 4164Date: 2009-12-07 20:07:02 +0200 4165 4166 Prevent xgettext from taking one regular string as a C format string. 4167 4168 Thanks to Marek Černocký. 4169 4170 src/xz/message.c | 2 +- 4171 1 file changed, 1 insertion(+), 1 deletion(-) 4172 4173commit e0c2776b6ffbd2b1900fde353aceac734edc93d7 4174Author: Lasse Collin <lasse.collin@tukaani.org> 4175Date: 2009-11-28 17:45:22 +0200 4176 4177 Remove duplicate code in io_open_dest(). 4178 4179 Fix a missing _() in the error message too. 4180 4181 src/xz/file_io.c | 9 +-------- 4182 1 file changed, 1 insertion(+), 8 deletions(-) 4183 4184commit f057a33c6f7c5992389479f2d4feabf2900ba7ee 4185Author: Lasse Collin <lasse.collin@tukaani.org> 4186Date: 2009-11-26 10:11:23 +0200 4187 4188 Typo fix to sysdefs.h. 4189 4190 Thanks to Jonathan Nieder. 4191 4192 src/common/sysdefs.h | 2 +- 4193 1 file changed, 1 insertion(+), 1 deletion(-) 4194 4195commit 8767b41534eafdf5e742e12190646bf5740b0cdb 4196Author: Lasse Collin <lasse.collin@tukaani.org> 4197Date: 2009-11-26 10:10:36 +0200 4198 4199 Fix a memory leak in test_index.c. 4200 4201 This was introduced in 4202 bd13b04e202b6f495a68eb0766f97085b7c50a06. 4203 4204 Thanks to Jim Meyering for noticing it. 4205 4206 tests/test_index.c | 2 ++ 4207 1 file changed, 2 insertions(+) 4208 4209commit 919fbaff860acdaa4bcd216500a0b1c960a6db92 4210Author: Lasse Collin <lasse.collin@tukaani.org> 4211Date: 2009-11-25 14:22:19 +0200 4212 4213 Add missing error check to coder.c. 4214 4215 With bad luck this could cause a segfault due to 4216 reading (but not writing) past the end of the buffer. 4217 4218 src/xz/coder.c | 20 +++++++++++--------- 4219 1 file changed, 11 insertions(+), 9 deletions(-) 4220 4221commit bd13b04e202b6f495a68eb0766f97085b7c50a06 4222Author: Lasse Collin <lasse.collin@tukaani.org> 4223Date: 2009-11-25 13:04:10 +0200 4224 4225 Fix bugs in lzma_index_read() and lzma_index_cat(). 4226 4227 lzma_index_read() didn't skip over Stream Padding 4228 if it was the first record in the Index. 4229 4230 lzma_index_cat() didn't combine small Indexes correctly. 4231 4232 The test suite was updated to check for these bugs. 4233 4234 These bugs didn't affect the xz command line tool or 4235 most users of liblzma in any way. 4236 4237 src/liblzma/common/index.c | 30 +++++++++++++++++++----------- 4238 tests/test_index.c | 28 +++++++++++++++++++++++++--- 4239 2 files changed, 44 insertions(+), 14 deletions(-) 4240 4241commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa 4242Author: Lasse Collin <lasse.collin@tukaani.org> 4243Date: 2009-11-25 12:52:56 +0200 4244 4245 Index decoder fixes. 4246 4247 The Index decoder code didn't perfectly match the API docs, 4248 which said that *i will be set to point to the decoded Index 4249 only after decoding has succeeded. The docs were a bit unclear 4250 too. 4251 4252 Now the decoder will initially set *i to NULL. *i will be set 4253 to point to the decoded Index once decoding has succeeded. 4254 This simplifies applications too, since it avoids dangling 4255 pointers. 4256 4257 src/liblzma/api/lzma/index.h | 23 ++++++++++++----------- 4258 src/liblzma/common/index_decoder.c | 26 ++++++++++++++++++++------ 4259 2 files changed, 32 insertions(+), 17 deletions(-) 4260 4261commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902 4262Author: Lasse Collin <lasse.collin@tukaani.org> 4263Date: 2009-11-25 11:19:20 +0200 4264 4265 Create sparse files by default when decompressing into 4266 a regular file. 4267 4268 Sparse file creation can be disabled with --no-sparse. 4269 I don't promise yet that the name of this option won't 4270 change before 5.0.0. It's possible that the code, that 4271 checks when it is safe to use sparse output on stdout, 4272 is not good enough, and a more flexible command line 4273 option is needed to configure sparse file handling. 4274 4275 src/xz/args.c | 6 ++ 4276 src/xz/coder.c | 33 ++++---- 4277 src/xz/file_io.c | 243 +++++++++++++++++++++++++++++++++++++++++++++++-------- 4278 src/xz/file_io.h | 34 ++++++-- 4279 src/xz/message.c | 1 + 4280 src/xz/xz.1 | 11 +++ 4281 6 files changed, 272 insertions(+), 56 deletions(-) 4282 4283commit 37de544414fc2dc5039471d1002ebd015eb3e627 4284Author: Lasse Collin <lasse.collin@tukaani.org> 4285Date: 2009-11-22 12:43:06 +0200 4286 4287 Updated THANKS. 4288 4289 THANKS | 1 + 4290 1 file changed, 1 insertion(+) 4291 4292commit f1a28b96c900c658fe016852ff62f6c24d1f50fa 4293Author: Lasse Collin <lasse.collin@tukaani.org> 4294Date: 2009-11-22 12:05:33 +0200 4295 4296 Add missing consts to pointer casts. 4297 4298 src/liblzma/check/crc32_fast.c | 4 ++-- 4299 src/liblzma/check/crc64_fast.c | 5 +++-- 4300 2 files changed, 5 insertions(+), 4 deletions(-) 4301 4302commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef 4303Author: Lasse Collin <lasse.collin@tukaani.org> 4304Date: 2009-11-22 12:00:30 +0200 4305 4306 Enable assembler code only if it is known to work 4307 on that operating system. 4308 4309 I'm too lazy to think how to make a good Autoconf test 4310 for this and it's not that important anyway. 4311 4312 No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64. 4313 Inline assembler (if any) is used if a macro like 4314 __i386__ or __x86_64__ is defined. 4315 4316 configure.ac | 26 ++++++++++++-------------- 4317 1 file changed, 12 insertions(+), 14 deletions(-) 4318 4319commit 0733f4c9994db696420a405810d5f02c79ebc404 4320Author: Lasse Collin <lasse.collin@tukaani.org> 4321Date: 2009-11-22 11:55:03 +0200 4322 4323 Make fastpos.h use tuklib_integer.h instead of bsr.h 4324 when --enable-small has been specified. 4325 4326 src/liblzma/common/Makefile.inc | 1 - 4327 src/liblzma/common/bsr.h | 60 ----------------------------------------- 4328 src/liblzma/lzma/fastpos.h | 5 +--- 4329 3 files changed, 1 insertion(+), 65 deletions(-) 4330 4331commit 7ac3985d891dcc5773543f84cc5bce6c14841b12 4332Author: Lasse Collin <lasse.collin@tukaani.org> 4333Date: 2009-11-22 11:52:30 +0200 4334 4335 Update tuklib_integer.h with bit scan functions. 4336 4337 Thanks to Joachim Henke for the original patch. 4338 4339 src/common/tuklib_integer.h | 189 ++++++++++++++++++++++++++++++++++++++++++-- 4340 1 file changed, 181 insertions(+), 8 deletions(-) 4341 4342commit c74c132f7f79a842c073c66575a4fdb985e4c2e3 4343Author: Lasse Collin <lasse.collin@tukaani.org> 4344Date: 2009-11-20 12:51:19 +0200 4345 4346 Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib, 4347 which now use AC_CACHE_CHECK. Using the cache variable, 4348 configure now warns if there is no method to detect the amount 4349 of RAM and recommends using --enable-assume-ram. 4350 4351 configure.ac | 16 ++++++++++++++++ 4352 m4/tuklib_cpucores.m4 | 31 ++++++++++++++++++------------- 4353 m4/tuklib_physmem.m4 | 50 +++++++++++++++++++++++++++----------------------- 4354 3 files changed, 61 insertions(+), 36 deletions(-) 4355 4356commit d315ca4930ff96e1428c6021c96f209e1abdd83e 4357Author: Lasse Collin <lasse.collin@tukaani.org> 4358Date: 2009-11-16 18:16:45 +0200 4359 4360 Add support for --info-memory and --robot to xz. 4361 4362 Currently --robot works only with --info-memory and 4363 --version. --help and --long-help work too, but --robot 4364 has no effect on them. 4365 4366 Thanks to Jonathan Nieder for the original patches. 4367 4368 src/xz/args.c | 85 +++++++++++++++++++++++++++++++++----------------------- 4369 src/xz/args.h | 1 + 4370 src/xz/main.c | 11 +++++--- 4371 src/xz/message.c | 47 +++++++++++++++++++++++-------- 4372 src/xz/message.h | 4 +++ 4373 src/xz/xz.1 | 40 +++++++++++++++++++++++--- 4374 6 files changed, 133 insertions(+), 55 deletions(-) 4375 4376commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e 4377Author: Lasse Collin <lasse.collin@tukaani.org> 4378Date: 2009-11-15 12:54:45 +0200 4379 4380 Fix wrong indentation caused by incorrect settings 4381 in the text editor. 4382 4383 src/liblzma/lz/lz_decoder.c | 18 +++++++++--------- 4384 src/liblzma/lzma/lzma2_encoder.c | 6 +++--- 4385 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +- 4386 3 files changed, 13 insertions(+), 13 deletions(-) 4387 4388commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4 4389Author: Lasse Collin <lasse.collin@tukaani.org> 4390Date: 2009-11-15 12:40:17 +0200 4391 4392 Add lzma_physmem(). 4393 4394 I had hoped to keep liblzma as purely a compression 4395 library as possible (e.g. file I/O will go into 4396 a different library), but it seems that applications 4397 linking agaisnt liblzma need some way to determine 4398 the memory usage limit, and knowing the amount of RAM 4399 is one reasonable way to help making such decisions. 4400 4401 Thanks to Jonathan Nieder for the original patch. 4402 4403 src/liblzma/Makefile.am | 5 ++-- 4404 src/liblzma/api/Makefile.am | 1 + 4405 src/liblzma/api/lzma.h | 3 +++ 4406 src/liblzma/api/lzma/hardware.h | 51 +++++++++++++++++++++++++++++++++++ 4407 src/liblzma/common/Makefile.inc | 1 + 4408 src/liblzma/common/hardware_physmem.c | 25 +++++++++++++++++ 4409 src/xz/Makefile.am | 1 - 4410 src/xz/hardware.c | 3 +-- 4411 src/xzdec/Makefile.am | 6 ++--- 4412 src/xzdec/xzdec.c | 3 +-- 4413 10 files changed, 88 insertions(+), 11 deletions(-) 4414 4415commit cf39faca59083d38422058c6c97aa757ea7797d0 4416Author: Lasse Collin <lasse.collin@tukaani.org> 4417Date: 2009-11-14 20:21:19 +0200 4418 4419 Updated THANKS. 4420 4421 THANKS | 1 + 4422 1 file changed, 1 insertion(+) 4423 4424commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f 4425Author: Lasse Collin <lasse.collin@tukaani.org> 4426Date: 2009-11-14 20:20:03 +0200 4427 4428 Some updates to xz man page. 4429 4430 src/xz/xz.1 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++----- 4431 1 file changed, 49 insertions(+), 5 deletions(-) 4432 4433commit 19b2674f07f8b588dfaf6638396b4b42866d7e23 4434Author: Lasse Collin <lasse.collin@tukaani.org> 4435Date: 2009-11-14 19:51:03 +0200 4436 4437 Fix description of --memory in --long-help. 4438 4439 src/xz/message.c | 3 +-- 4440 1 file changed, 1 insertion(+), 2 deletions(-) 4441 4442commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8 4443Author: Lasse Collin <lasse.collin@tukaani.org> 4444Date: 2009-11-14 19:45:39 +0200 4445 4446 Update the debug programs so that they compile again. 4447 4448 debug/crc32.c | 1 + 4449 debug/memusage.c | 6 ++++-- 4450 debug/sync_flush.c | 14 +++++++++----- 4451 3 files changed, 14 insertions(+), 7 deletions(-) 4452 4453commit 418d64a32e8144210f98a810738fed5a897e8367 4454Author: Lasse Collin <lasse.collin@tukaani.org> 4455Date: 2009-11-14 18:59:19 +0200 4456 4457 Fix a design error in liblzma API. 4458 4459 Originally the idea was that using LZMA_FULL_FLUSH 4460 with Stream encoder would read the filter chain 4461 from the same array that was used to intialize the 4462 Stream encoder. Since most apps wouldn't use 4463 LZMA_FULL_FLUSH, most apps wouldn't need to keep 4464 the filter chain available after initializing the 4465 Stream encoder. However, due to my mistake, it 4466 actually required keeping the array always available. 4467 4468 Since setting the new filter chain via the array 4469 used at initialization time is not a nice way to do 4470 it for a couple of reasons, this commit ditches it 4471 and introduces lzma_filters_update(). This new function 4472 replaces also the "persistent" flag used by LZMA2 4473 (and to-be-designed Subblock filter), which was also 4474 an ugly thing to do. 4475 4476 Thanks to Alexey Tourbin for reminding me about the problem 4477 that Stream encoder used to require keeping the filter 4478 chain allocated. 4479 4480 src/liblzma/api/lzma/filter.h | 30 +++++++++++++ 4481 src/liblzma/api/lzma/lzma.h | 13 ------ 4482 src/liblzma/common/block_encoder.c | 14 ++++++ 4483 src/liblzma/common/common.c | 20 ++++++++- 4484 src/liblzma/common/common.h | 22 ++++++++++ 4485 src/liblzma/common/easy_encoder.c | 63 ++------------------------- 4486 src/liblzma/common/filter_common.c | 3 ++ 4487 src/liblzma/common/filter_encoder.c | 27 ++++++++++++ 4488 src/liblzma/common/filter_encoder.h | 2 +- 4489 src/liblzma/common/stream_encoder.c | 76 ++++++++++++++++++++++++++++----- 4490 src/liblzma/delta/delta_common.c | 5 +-- 4491 src/liblzma/delta/delta_decoder.c | 3 +- 4492 src/liblzma/delta/delta_encoder.c | 17 +++++++- 4493 src/liblzma/delta/delta_private.h | 2 +- 4494 src/liblzma/lz/lz_encoder.c | 17 ++++++++ 4495 src/liblzma/lz/lz_encoder.h | 4 ++ 4496 src/liblzma/lzma/lzma2_encoder.c | 59 ++++++++++++++----------- 4497 src/liblzma/lzma/lzma_encoder_presets.c | 1 - 4498 src/liblzma/simple/simple_coder.c | 12 ++++++ 4499 src/xz/options.c | 1 - 4500 20 files changed, 273 insertions(+), 118 deletions(-) 4501 4502commit f0bf7634b77263a4dd02b20c71861ab67995da68 4503Author: Lasse Collin <lasse.collin@tukaani.org> 4504Date: 2009-10-17 11:11:58 +0300 4505 4506 Fix wrong function name in the previous commit. 4507 4508 It was meant to be lzma_filters_copy(), not lzma_filters_dup(). 4509 4510 src/liblzma/api/lzma/filter.h | 2 +- 4511 src/liblzma/common/filter_common.c | 2 +- 4512 2 files changed, 2 insertions(+), 2 deletions(-) 4513 4514commit 6d118a0b9def82e96afba7386ec8d7da0b59649f 4515Author: Lasse Collin <lasse.collin@tukaani.org> 4516Date: 2009-10-17 01:47:07 +0300 4517 4518 Add lzma_filters_copy(). 4519 4520 This will be needed internally by liblzma once I fix 4521 a design mistake in the encoder API. This function may 4522 be useful to applications too so it's good to export it. 4523 4524 src/liblzma/api/lzma/filter.h | 31 ++++++++++++++ 4525 src/liblzma/common/filter_common.c | 82 ++++++++++++++++++++++++++++++++++++++ 4526 2 files changed, 113 insertions(+) 4527 4528commit 78e92c18470483e161388e679c1ee556adb3a691 4529Author: Jonathan Nieder <jrnieder@gmail.com> 4530Date: 2009-10-15 20:44:13 -0500 4531 4532 Escape dashes in xzmore.1 4533 4534 A minus sign is larger, easier to see in a printout, and more 4535 likely to use the same glyph as ASCII hyphen-minus in a terminal 4536 than a hyphen. Since broken manual pagers do not find hyphens 4537 when the user searches for a hyphen-minus, minus signs are also 4538 easier to search for. So use minus signs instead of hyphens to 4539 render sample terminal output. 4540 4541 src/scripts/xzmore.1 | 4 ++-- 4542 1 file changed, 2 insertions(+), 2 deletions(-) 4543 4544commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee 4545Author: Lasse Collin <lasse.collin@tukaani.org> 4546Date: 2009-10-16 20:35:39 +0300 4547 4548 Mention --check=none in --long-help. It was already in 4549 the man page though. 4550 4551 Thanks to Jim Meyering for noticing this. 4552 4553 src/xz/message.c | 2 +- 4554 1 file changed, 1 insertion(+), 1 deletion(-) 4555 4556commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24 4557Author: Lasse Collin <lasse.collin@tukaani.org> 4558Date: 2009-10-04 22:57:12 +0300 4559 4560 Use a tuklib module for integer handling. 4561 4562 This replaces bswap.h and integer.h. 4563 4564 The tuklib module uses <byteswap.h> on GNU, 4565 <sys/endian.h> on *BSDs and <sys/byteorder.h> 4566 on Solaris, which may contain optimized code 4567 like inline assembly. 4568 4569 configure.ac | 54 +---- 4570 m4/tuklib_integer.m4 | 74 +++++++ 4571 src/common/bswap.h | 52 ----- 4572 src/common/integer.h | 170 --------------- 4573 src/common/tuklib_config.h | 8 +- 4574 src/common/tuklib_integer.h | 350 ++++++++++++++++++++++++++++++ 4575 src/liblzma/check/check.c | 4 +- 4576 src/liblzma/check/crc32_fast.c | 4 +- 4577 src/liblzma/check/crc32_tablegen.c | 8 +- 4578 src/liblzma/check/crc64_fast.c | 4 +- 4579 src/liblzma/check/crc64_tablegen.c | 8 +- 4580 src/liblzma/check/crc_macros.h | 2 - 4581 src/liblzma/check/sha256.c | 18 +- 4582 src/liblzma/common/alone_encoder.c | 2 +- 4583 src/liblzma/common/block_header_decoder.c | 2 +- 4584 src/liblzma/common/block_header_encoder.c | 2 +- 4585 src/liblzma/common/common.h | 2 +- 4586 src/liblzma/common/stream_flags_decoder.c | 6 +- 4587 src/liblzma/common/stream_flags_encoder.c | 6 +- 4588 src/liblzma/lz/lz_encoder_hash.h | 2 +- 4589 src/liblzma/lzma/lzma_decoder.c | 2 +- 4590 src/liblzma/lzma/lzma_encoder.c | 2 +- 4591 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 4592 src/liblzma/simple/simple_decoder.c | 2 +- 4593 src/liblzma/simple/simple_encoder.c | 2 +- 4594 tests/test_block_header.c | 4 +- 4595 tests/test_stream_flags.c | 6 +- 4596 tests/tests.h | 2 +- 4597 28 files changed, 467 insertions(+), 333 deletions(-) 4598 4599commit 29fd321033276261b87da7be5223db33d879a4c7 4600Author: Lasse Collin <lasse.collin@tukaani.org> 4601Date: 2009-10-02 14:35:56 +0300 4602 4603 Add support for --enable-assume-ram=SIZE. 4604 4605 INSTALL | 16 ++++++++++++++++ 4606 configure.ac | 24 ++++++++++++++++++++++++ 4607 src/xz/hardware.c | 7 +++---- 4608 src/xzdec/xzdec.c | 5 +++-- 4609 4 files changed, 46 insertions(+), 6 deletions(-) 4610 4611commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25 4612Author: Lasse Collin <lasse.collin@tukaani.org> 4613Date: 2009-10-02 11:28:17 +0300 4614 4615 Use unaligned access (if possible) on both endiannesses 4616 in lz_encoder_hash.h. 4617 4618 src/liblzma/lz/lz_encoder_hash.h | 4 ++-- 4619 1 file changed, 2 insertions(+), 2 deletions(-) 4620 4621commit c5f68b5cc79085a87f950fea53843e27f328068e 4622Author: Lasse Collin <lasse.collin@tukaani.org> 4623Date: 2009-10-02 11:03:26 +0300 4624 4625 Make liblzma produce the same output on both endiannesses. 4626 4627 Seems that it is a problem in some cases if the same 4628 version of XZ Utils produces different output on different 4629 endiannesses, so this commit fixes that problem. The output 4630 will still vary between different XZ Utils versions, but I 4631 cannot avoid that for now. 4632 4633 This commit bloatens the code on big endian systems by 1 KiB, 4634 which should be OK since liblzma is bloated already. ;-) 4635 4636 src/liblzma/check/crc32_tablegen.c | 30 +++++++++++++++ 4637 src/liblzma/lz/Makefile.inc | 1 + 4638 src/liblzma/lz/lz_encoder.c | 7 +++- 4639 src/liblzma/lz/lz_encoder_hash.h | 35 +++++++++++------ 4640 src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++++ 4641 src/liblzma/lz/lz_encoder_mf.c | 1 - 4642 6 files changed, 128 insertions(+), 14 deletions(-) 4643 4644commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a 4645Author: Mike Frysinger <vapier@gentoo.org> 4646Date: 2009-09-26 12:51:50 -0400 4647 4648 add lzmainfo to gitignore 4649 4650 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 4651 4652 .gitignore | 2 ++ 4653 1 file changed, 2 insertions(+) 4654 4655commit 188a1dcd0cc7867810ed3a55c598d0680922c63b 4656Author: Lasse Collin <lasse.collin@tukaani.org> 4657Date: 2009-09-27 11:53:36 +0300 4658 4659 Updated THANKS. 4660 4661 THANKS | 1 + 4662 1 file changed, 1 insertion(+) 4663 4664commit db9119b9181b307e7ac5d2bae82444d04b902b59 4665Author: Lasse Collin <lasse.collin@tukaani.org> 4666Date: 2009-09-27 11:48:54 +0300 4667 4668 Work around a bug in Interix header files. 4669 4670 Thanks to Markus Duft for the patch. 4671 4672 src/common/sysdefs.h | 6 ++++++ 4673 1 file changed, 6 insertions(+) 4674 4675commit b3d105e69786a45963176fd2193abe75e05ba738 4676Author: Lasse Collin <lasse.collin@tukaani.org> 4677Date: 2009-09-24 17:50:17 +0300 4678 4679 Fix an error in OpenVMS-specific code. 4680 4681 Thanks to Jouk Jansen. 4682 4683 src/xz/file_io.c | 2 +- 4684 1 file changed, 1 insertion(+), 1 deletion(-) 4685 4686commit 5e000ff00d4d01e559397b49eb648ad3f159d496 4687Author: Lasse Collin <lasse.collin@tukaani.org> 4688Date: 2009-09-22 18:59:56 +0300 4689 4690 Added OpenVMS-specific information to INSTALL. 4691 4692 INSTALL | 11 +++++++++++ 4693 1 file changed, 11 insertions(+) 4694 4695commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4 4696Author: Lasse Collin <lasse.collin@tukaani.org> 4697Date: 2009-09-22 14:03:02 +0300 4698 4699 Better fixes for OpenVMS support. 4700 4701 Thanks to Jouk Jansen. 4702 4703 src/xz/file_io.c | 19 ++++++++++++++++--- 4704 1 file changed, 16 insertions(+), 3 deletions(-) 4705 4706commit 4c3630ec4179fe9265407a35c4db1374ffc82372 4707Author: Lasse Collin <lasse.collin@tukaani.org> 4708Date: 2009-09-22 13:40:19 +0300 4709 4710 Avoid non-standard preprocessor construct. 4711 4712 Thanks to Jouk Jansen. 4713 4714 src/common/tuklib_common.h | 11 +++++++---- 4715 1 file changed, 7 insertions(+), 4 deletions(-) 4716 4717commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9 4718Author: Lasse Collin <lasse.collin@tukaani.org> 4719Date: 2009-09-21 19:50:09 +0300 4720 4721 Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin. 4722 4723 Thanks to Charles Wilson. 4724 4725 src/common/tuklib_common.h | 3 ++- 4726 1 file changed, 2 insertions(+), 1 deletion(-) 4727 4728commit e599bba4216c0edb8cc8f40adad3a6dba88685f4 4729Author: Lasse Collin <lasse.collin@tukaani.org> 4730Date: 2009-09-19 09:47:30 +0300 4731 4732 Various changes. 4733 4734 Separate a few reusable components from XZ Utils specific 4735 code. The reusable code is now in "tuklib" modules. A few 4736 more could be separated still, e.g. bswap.h. 4737 4738 Fix some bugs in lzmainfo. 4739 4740 Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol 4741 for help. 4742 4743 Add OpenVMS support into physmem. Add a few #ifdefs to ease 4744 building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the 4745 original patch. 4746 4747 THANKS | 1 + 4748 configure.ac | 12 ++-- 4749 m4/lc_cpucores.m4 | 57 ---------------- 4750 m4/lc_physmem.m4 | 84 ----------------------- 4751 m4/tuklib_common.m4 | 22 ++++++ 4752 m4/tuklib_cpucores.m4 | 72 ++++++++++++++++++++ 4753 m4/tuklib_physmem.m4 | 119 ++++++++++++++++++++++++++++++++ 4754 m4/tuklib_progname.m4 | 25 +++++++ 4755 src/common/cpucores.h | 51 -------------- 4756 src/common/open_stdxxx.h | 49 -------------- 4757 src/common/physmem.h | 144 --------------------------------------- 4758 src/common/sysdefs.h | 4 -- 4759 src/common/tuklib_common.h | 67 ++++++++++++++++++ 4760 src/common/tuklib_config.h | 1 + 4761 src/common/tuklib_cpucores.c | 46 +++++++++++++ 4762 src/common/tuklib_cpucores.h | 23 +++++++ 4763 src/common/tuklib_exit.c | 57 ++++++++++++++++ 4764 src/common/tuklib_exit.h | 25 +++++++ 4765 src/common/tuklib_gettext.h | 44 ++++++++++++ 4766 src/common/tuklib_open_stdxxx.c | 51 ++++++++++++++ 4767 src/common/tuklib_open_stdxxx.h | 23 +++++++ 4768 src/common/tuklib_physmem.c | 146 ++++++++++++++++++++++++++++++++++++++++ 4769 src/common/tuklib_physmem.h | 28 ++++++++ 4770 src/common/tuklib_progname.c | 50 ++++++++++++++ 4771 src/common/tuklib_progname.h | 32 +++++++++ 4772 src/lzmainfo/Makefile.am | 5 +- 4773 src/lzmainfo/lzmainfo.c | 65 ++++++------------ 4774 src/xz/Makefile.am | 7 +- 4775 src/xz/args.c | 8 +-- 4776 src/xz/file_io.c | 43 ++++++------ 4777 src/xz/hardware.c | 8 +-- 4778 src/xz/main.c | 100 ++++++--------------------- 4779 src/xz/main.h | 7 -- 4780 src/xz/message.c | 30 +++++---- 4781 src/xz/message.h | 8 +-- 4782 src/xz/private.h | 11 +-- 4783 src/xz/signals.c | 2 + 4784 src/xz/signals.h | 17 +++-- 4785 src/xz/suffix.c | 2 +- 4786 src/xzdec/Makefile.am | 13 +++- 4787 src/xzdec/xzdec.c | 55 +++++---------- 4788 41 files changed, 974 insertions(+), 640 deletions(-) 4789 4790commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef 4791Author: Lasse Collin <lasse.collin@tukaani.org> 4792Date: 2009-09-15 21:07:23 +0300 4793 4794 Fix incorrect use of "restrict". 4795 4796 src/liblzma/api/lzma/vli.h | 4 ++-- 4797 src/liblzma/common/vli_decoder.c | 2 +- 4798 src/liblzma/common/vli_encoder.c | 2 +- 4799 3 files changed, 4 insertions(+), 4 deletions(-) 4800 4801commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c 4802Author: Lasse Collin <lasse.collin@tukaani.org> 4803Date: 2009-09-12 14:09:17 +0300 4804 4805 Fix GCC version check for nothrow attribute. 4806 4807 src/liblzma/api/lzma.h | 2 +- 4808 1 file changed, 1 insertion(+), 1 deletion(-) 4809 4810commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224 4811Author: Lasse Collin <lasse.collin@tukaani.org> 4812Date: 2009-09-12 14:08:15 +0300 4813 4814 Updated THANKS. 4815 4816 THANKS | 1 + 4817 1 file changed, 1 insertion(+) 4818 4819commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac 4820Author: Lasse Collin <lasse.collin@tukaani.org> 4821Date: 2009-09-12 14:07:36 +0300 4822 4823 A few grammar fixes. 4824 4825 Thanks to Christian Weisgerber for pointing out some of these. 4826 4827 src/liblzma/api/lzma.h | 4 ++-- 4828 src/liblzma/api/lzma/vli.h | 4 ++-- 4829 src/liblzma/common/block_header_encoder.c | 2 +- 4830 src/liblzma/common/filter_common.c | 2 +- 4831 src/liblzma/lz/lz_encoder.h | 10 +++++----- 4832 src/xz/message.c | 22 +++++++++++----------- 4833 src/xzdec/xzdec.c | 2 +- 4834 7 files changed, 23 insertions(+), 23 deletions(-) 4835 4836commit 8905a33daadcd2d6557c83c81c490b827d566c94 4837Author: Lasse Collin <lasse.collin@tukaani.org> 4838Date: 2009-09-11 17:08:15 +0300 4839 4840 Updated THANKS. 4841 4842 THANKS | 1 + 4843 1 file changed, 1 insertion(+) 4844 4845commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9 4846Author: Lasse Collin <lasse.collin@tukaani.org> 4847Date: 2009-09-11 17:06:32 +0300 4848 4849 Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors. 4850 4851 dos/config.h | 3 +++ 4852 windows/config.h | 3 +++ 4853 2 files changed, 6 insertions(+) 4854 4855commit 221be761f467da76875247bc02d7a1716682075d 4856Author: Lasse Collin <lasse.collin@tukaani.org> 4857Date: 2009-09-11 10:24:09 +0300 4858 4859 Use $(LN_EXEEXT) in symlinks to executables. 4860 4861 This fixes "make install" on operating systems using 4862 a suffix for executables. 4863 4864 Cygwin is treated specially. The symlink names won't have 4865 .exe suffix even though the executables themselves have. 4866 Thanks to Charles Wilson. 4867 4868 configure.ac | 9 +++++++++ 4869 src/xz/Makefile.am | 4 ++-- 4870 2 files changed, 11 insertions(+), 2 deletions(-) 4871 4872commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c 4873Author: Lasse Collin <lasse.collin@tukaani.org> 4874Date: 2009-09-11 09:25:09 +0300 4875 4876 Fix a couple of warnings. 4877 4878 src/liblzma/common/stream_decoder.c | 2 +- 4879 src/liblzma/lz/lz_encoder.c | 5 +---- 4880 src/liblzma/lzma/lzma_encoder.c | 2 +- 4881 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++---- 4882 tests/tests.h | 2 +- 4883 5 files changed, 8 insertions(+), 11 deletions(-) 4884 4885commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4 4886Author: Lasse Collin <lasse.collin@tukaani.org> 4887Date: 2009-09-05 18:39:21 +0300 4888 4889 Add OS/2-specific code to physmem.h. 4890 4891 Also move DJGPP-specific code near the code meant 4892 for other DOS-like systems. 4893 4894 src/common/physmem.h | 32 +++++++++++++++++++++----------- 4895 1 file changed, 21 insertions(+), 11 deletions(-) 4896 4897commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740 4898Author: Lasse Collin <lasse.collin@tukaani.org> 4899Date: 2009-09-05 01:21:15 +0300 4900 4901 Updated THANKS. 4902 4903 THANKS | 2 ++ 4904 1 file changed, 2 insertions(+) 4905 4906commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071 4907Author: Lasse Collin <lasse.collin@tukaani.org> 4908Date: 2009-09-05 01:20:29 +0300 4909 4910 Use sysctl() != -1 instead of !sysctl() to check if 4911 the function call succeeded. 4912 4913 NetBSD 4.0 returns positive values on success, but 4914 NetBSD Current and FreeBSD return zero. OpenBSD's 4915 man page doesn't tell what sysctl() returns on 4916 success. All these BSDs return -1 on error. 4917 4918 Thanks to Robert Elz and Thomas Klausner. 4919 4920 src/common/cpucores.h | 2 +- 4921 src/common/physmem.h | 2 +- 4922 2 files changed, 2 insertions(+), 2 deletions(-) 4923 4924commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32 4925Author: Lasse Collin <lasse.collin@tukaani.org> 4926Date: 2009-09-02 09:43:51 +0300 4927 4928 Mention in INSTALL that --enable-small doesn't modify CFLAGS. 4929 4930 INSTALL | 4 ++++ 4931 1 file changed, 4 insertions(+) 4932 4933commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc 4934Author: Lasse Collin <lasse.collin@tukaani.org> 4935Date: 2009-09-01 20:40:01 +0300 4936 4937 Refactored option parsing. 4938 4939 src/xz/options.c | 70 ++++++++++++++++++++++++++++---------------------------- 4940 1 file changed, 35 insertions(+), 35 deletions(-) 4941 4942commit 25adaaa56e2e51a47a910a8d73452414619a2e53 4943Author: Lasse Collin <lasse.collin@tukaani.org> 4944Date: 2009-09-01 20:23:30 +0300 4945 4946 Fix options parsing bug in xz. 4947 4948 xz used to reject "xz --lzma2=pb=2," while 4949 "xz --lzma2=pb=2,," worked. Now both work. 4950 4951 src/xz/options.c | 6 ++---- 4952 1 file changed, 2 insertions(+), 4 deletions(-) 4953 4954commit 5f6dddc6c911df02ba660564e78e6de80947c947 4955Author: Lasse Collin <lasse.collin@tukaani.org> 4956Date: 2009-09-01 20:20:19 +0300 4957 4958 Updated TODO. 4959 4960 TODO | 3 +++ 4961 1 file changed, 3 insertions(+) 4962 4963commit 655457b9ada5ec7db398c5392e41290f3f332ea8 4964Author: Lasse Collin <lasse.collin@tukaani.org> 4965Date: 2009-08-31 21:59:25 +0300 4966 4967 Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 4968 and use a fix that works on all systems using 4969 GNU assembler. 4970 4971 Maybe the assembler code is used e.g. on Solaris x86 4972 but let's worry about it if this doesn't work on it. 4973 4974 src/liblzma/check/crc32_x86.S | 7 ++----- 4975 src/liblzma/check/crc64_x86.S | 7 ++----- 4976 2 files changed, 4 insertions(+), 10 deletions(-) 4977 4978commit 162189c3477953805a28f96d3a75cb9ab9417928 4979Author: Lasse Collin <lasse.collin@tukaani.org> 4980Date: 2009-08-30 17:29:19 +0300 4981 4982 Updated THANKS. 4983 4984 THANKS | 1 + 4985 1 file changed, 1 insertion(+) 4986 4987commit 2331f5f97af3e5897e23da45d9df3d664099c7f8 4988Author: Lasse Collin <lasse.collin@tukaani.org> 4989Date: 2009-08-30 17:28:52 +0300 4990 4991 Add more OS/2 specific info to INSTALL. 4992 4993 INSTALL | 5 +++++ 4994 1 file changed, 5 insertions(+) 4995 4996commit 94c66b3297b3ad307eee93cf6b160e3c43997f11 4997Author: Lasse Collin <lasse.collin@tukaani.org> 4998Date: 2009-08-29 14:43:52 +0300 4999 5000 Use even more hackish way to support thousand separators. 5001 5002 Seems that in addition on Windows and DOS, also OpenBSD 5003 lacks support for %'d style printf() format strings. 5004 So far that is the only modern POSIX-like system I know 5005 with this problem, but after this hack, the thousand 5006 separator shouldn't be a problem on any system. 5007 5008 Maybe testing if a format string like %'d produces 5009 reasonable output is invoking undefined behavior on some 5010 systems, but so far all the problematic systems I've tried 5011 just print the raw format string (e.g. %'d prints 'd). 5012 5013 Maybe Autoconf test would have been better, but this 5014 hack works also for cross-compilation, and avoids 5015 recompilation in case the system libc starts to support 5016 the thousand separator. 5017 5018 src/xz/util.c | 36 +++++++++++++++++++++++++----------- 5019 1 file changed, 25 insertions(+), 11 deletions(-) 5020 5021commit 3432e9c6aab851da1227b63dce645d7f190c04d8 5022Author: Lasse Collin <lasse.collin@tukaani.org> 5023Date: 2009-08-29 13:42:56 +0300 5024 5025 Updated THANKS. 5026 5027 THANKS | 3 +++ 5028 1 file changed, 3 insertions(+) 5029 5030commit 27414daadf5727e8ab942374b5ec1c8990122878 5031Author: Lasse Collin <lasse.collin@tukaani.org> 5032Date: 2009-08-29 13:39:21 +0300 5033 5034 Fix sysctl() usage. 5035 5036 This fixes build on *BSDs and Darwin. 5037 5038 Thanks to Jukka Salmi for the patches. 5039 Richard Koch reported the problem too. 5040 5041 m4/lc_cpucores.m4 | 2 +- 5042 m4/lc_physmem.m4 | 2 +- 5043 src/common/cpucores.h | 2 +- 5044 src/common/physmem.h | 2 +- 5045 4 files changed, 4 insertions(+), 4 deletions(-) 5046 5047commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 5048Author: Lasse Collin <lasse.collin@tukaani.org> 5049Date: 2009-08-29 13:35:23 +0300 5050 5051 Fix x86 assembler on GCC 3. 5052 5053 Thanks to Karl Berry. 5054 5055 src/liblzma/check/crc32_x86.S | 7 +++++-- 5056 src/liblzma/check/crc64_x86.S | 7 +++++-- 5057 2 files changed, 10 insertions(+), 4 deletions(-) 5058 5059commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8 5060Author: Lasse Collin <lasse.collin@tukaani.org> 5061Date: 2009-08-27 18:36:59 +0300 5062 5063 "make dist" fixes 5064 5065 Makefile.am | 13 ++++++------- 5066 1 file changed, 6 insertions(+), 7 deletions(-) 5067 5068commit c8c184db1c95bf70f78256ec6237845a57f342af 5069Author: Lasse Collin <lasse.collin@tukaani.org> 5070Date: 2009-08-27 17:08:33 +0300 5071 5072 Update xz man page date. 5073 5074 src/xz/xz.1 | 2 +- 5075 1 file changed, 1 insertion(+), 1 deletion(-) 5076 5077commit 9756fce565e98b8fa5fe6ead296d84e7601ec254 5078Author: Lasse Collin <lasse.collin@tukaani.org> 5079Date: 2009-08-27 17:00:22 +0300 5080 5081 Fix the debug directory. 5082 5083 6a2eb54092fc625d59921a607ff68cd1a90aa898 and 5084 71f18e8a066a01dda0c8e5508b135ef104e43e4c required 5085 some changes that weren't applied in debug. 5086 5087 debug/Makefile.am | 5 +++-- 5088 debug/full_flush.c | 1 + 5089 debug/known_sizes.c | 1 + 5090 debug/memusage.c | 1 + 5091 debug/sync_flush.c | 1 + 5092 5 files changed, 7 insertions(+), 2 deletions(-) 5093 5094commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea 5095Author: Lasse Collin <lasse.collin@tukaani.org> 5096Date: 2009-08-27 16:36:40 +0300 5097 5098 Add missing files to EXTRA_DIST. 5099 5100 Makefile.am | 11 +++++++---- 5101 1 file changed, 7 insertions(+), 4 deletions(-) 5102 5103commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d 5104Author: Lasse Collin <lasse.collin@tukaani.org> 5105Date: 2009-08-27 16:21:22 +0300 5106 5107 Bumped version to 4.999.9beta. 5108 5109 src/liblzma/api/lzma/version.h | 2 +- 5110 1 file changed, 1 insertion(+), 1 deletion(-) 5111 5112commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4 5113Author: Lasse Collin <lasse.collin@tukaani.org> 5114Date: 2009-08-27 16:17:47 +0300 5115 5116 Updated THANKS. 5117 5118 THANKS | 2 ++ 5119 1 file changed, 2 insertions(+) 5120 5121commit c29e76c0f910fca0a90a50b78d337f6c32623e9d 5122Author: Lasse Collin <lasse.collin@tukaani.org> 5123Date: 2009-08-27 16:12:52 +0300 5124 5125 .xz file format specification 1.0.4 (probably). 5126 5127 Thanks to Christian von Roques, Peter Lawler, 5128 and Jim Meyering for the fixes. 5129 5130 doc/xz-file-format.txt | 26 +++++++++++++++----------- 5131 1 file changed, 15 insertions(+), 11 deletions(-) 5132 5133commit 696d7ee3953beaf4f0ed18e78917ccf300431966 5134Author: Lasse Collin <lasse.collin@tukaani.org> 5135Date: 2009-08-27 15:43:54 +0300 5136 5137 Require GNU libtool 2.2. 5138 5139 configure.ac | 13 +++---------- 5140 1 file changed, 3 insertions(+), 10 deletions(-) 5141 5142commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d 5143Author: Lasse Collin <lasse.collin@tukaani.org> 5144Date: 2009-08-27 15:34:45 +0300 5145 5146 Add "dos" to EXTRA_DIST. 5147 5148 Makefile.am | 1 + 5149 1 file changed, 1 insertion(+) 5150 5151commit 35b29e4424ced5a3ababf132283e519080c7b298 5152Author: Lasse Collin <lasse.collin@tukaani.org> 5153Date: 2009-08-27 15:23:27 +0300 5154 5155 Updated TODO. 5156 5157 TODO | 6 ++++++ 5158 1 file changed, 6 insertions(+) 5159 5160commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea 5161Author: Lasse Collin <lasse.collin@tukaani.org> 5162Date: 2009-08-27 15:17:00 +0300 5163 5164 Some xz man page improvements. 5165 5166 src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++++------------- 5167 1 file changed, 62 insertions(+), 16 deletions(-) 5168 5169commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d 5170Author: Lasse Collin <lasse.collin@tukaani.org> 5171Date: 2009-08-27 10:41:01 +0300 5172 5173 Removed doc/bugs.txt. 5174 5175 doc/bugs.txt | 46 ---------------------------------------------- 5176 1 file changed, 46 deletions(-) 5177 5178commit d88c4072b36d3a76f839185799fb1d91037a1b81 5179Author: Lasse Collin <lasse.collin@tukaani.org> 5180Date: 2009-08-27 10:40:25 +0300 5181 5182 Updated README. 5183 5184 It now includes bug reporting instructions/tips. 5185 5186 README | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 5187 1 file changed, 55 insertions(+), 10 deletions(-) 5188 5189commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e 5190Author: Lasse Collin <lasse.collin@tukaani.org> 5191Date: 2009-08-27 10:21:18 +0300 5192 5193 Fix a typo in FAQ. 5194 5195 Thanks to Jim Meyering. 5196 5197 (From now on, I try to always remember to put 5198 the relevant thanks to commit messages.) 5199 5200 doc/faq.txt | 2 +- 5201 1 file changed, 1 insertion(+), 1 deletion(-) 5202 5203commit 3e2ba8b58585743e59251e69ad2783eb08357079 5204Author: Lasse Collin <lasse.collin@tukaani.org> 5205Date: 2009-08-27 10:13:46 +0300 5206 5207 Updates to liblzma API headers. 5208 5209 Added lzma_nothrow for every function. It adds 5210 throw() when the header is used in C++ code. 5211 5212 Some lzma_attrs were added or removed. 5213 5214 Lots of comments were improved. 5215 5216 src/liblzma/api/lzma.h | 20 ++++++++ 5217 src/liblzma/api/lzma/base.h | 48 +++++++++--------- 5218 src/liblzma/api/lzma/block.h | 38 ++++++++------- 5219 src/liblzma/api/lzma/check.h | 22 +++++---- 5220 src/liblzma/api/lzma/container.h | 36 ++++++++------ 5221 src/liblzma/api/lzma/filter.h | 81 +++++++++++++++++++------------ 5222 src/liblzma/api/lzma/index.h | 97 ++++++++++++++++++++++--------------- 5223 src/liblzma/api/lzma/index_hash.h | 14 ++++-- 5224 src/liblzma/api/lzma/lzma.h | 87 +++++++++++++++++---------------- 5225 src/liblzma/api/lzma/stream_flags.h | 12 ++--- 5226 src/liblzma/api/lzma/version.h | 10 ++-- 5227 src/liblzma/api/lzma/vli.h | 7 +-- 5228 12 files changed, 275 insertions(+), 197 deletions(-) 5229 5230commit 8e8ebc17c535a1f8846718059b48417409c37050 5231Author: Lasse Collin <lasse.collin@tukaani.org> 5232Date: 2009-08-18 00:30:09 +0300 5233 5234 Install faq.txt. 5235 5236 Makefile.am | 1 + 5237 1 file changed, 1 insertion(+) 5238 5239commit b198e770a146e4a41f91a93f0b233713f2515848 5240Author: Lasse Collin <lasse.collin@tukaani.org> 5241Date: 2009-08-18 00:26:48 +0300 5242 5243 Updated faq.txt. 5244 5245 Some questions worth answering were removed, because I 5246 currently don't have good up to date answers to them. 5247 5248 doc/faq.txt | 239 +++++++++++++++++++----------------------------------------- 5249 1 file changed, 73 insertions(+), 166 deletions(-) 5250 5251commit fe111a25cd788d31b581996e4533910388a7f0a9 5252Author: Lasse Collin <lasse.collin@tukaani.org> 5253Date: 2009-08-17 22:45:50 +0300 5254 5255 Some xz man changes. 5256 5257 src/xz/xz.1 | 88 ++++++++++++++++++++++++++++++------------------------------- 5258 1 file changed, 43 insertions(+), 45 deletions(-) 5259 5260commit 10242a21e9abda0c5c6a03501703cc40b8a699a5 5261Author: Lasse Collin <lasse.collin@tukaani.org> 5262Date: 2009-08-16 22:15:42 +0300 5263 5264 Updated THANKS. 5265 5266 THANKS | 1 + 5267 1 file changed, 1 insertion(+) 5268 5269commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d 5270Author: Lasse Collin <lasse.collin@tukaani.org> 5271Date: 2009-08-16 22:15:13 +0300 5272 5273 Fix data corruption in LZ/LZMA2 encoder. 5274 5275 Thanks to Jonathan Stott for the bug report. 5276 5277 src/liblzma/lz/lz_encoder.h | 2 +- 5278 1 file changed, 1 insertion(+), 1 deletion(-) 5279 5280commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a 5281Author: Lasse Collin <lasse.collin@tukaani.org> 5282Date: 2009-08-13 15:15:37 +0300 5283 5284 Updated INSTALL and PACKAGERS to match the changes 5285 made in --enable-dynamic. 5286 5287 INSTALL | 20 ++++++++++++++++---- 5288 PACKAGERS | 11 ++++++----- 5289 2 files changed, 22 insertions(+), 9 deletions(-) 5290 5291commit 8238c4b2402f952c4e492e5b778aa272e57b6705 5292Author: Lasse Collin <lasse.collin@tukaani.org> 5293Date: 2009-08-13 15:03:46 +0300 5294 5295 Link lzmainfo against shared liblzma by default. 5296 5297 src/lzmainfo/Makefile.am | 4 ++-- 5298 1 file changed, 2 insertions(+), 2 deletions(-) 5299 5300commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c 5301Author: Lasse Collin <lasse.collin@tukaani.org> 5302Date: 2009-08-13 15:00:21 +0300 5303 5304 Make --enable-dynamic a tristate option. 5305 5306 Some programs will by default be linked against static 5307 liblzma and some against shared liblzma. --enable-dynamic 5308 now allows overriding the default to both directions 5309 (all dynamic or all static) even when building both 5310 shared and static liblzma. 5311 5312 This is quite messy compared to how simple thing it is supposed 5313 to be. The complexity is mostly due to Windows support. 5314 5315 configure.ac | 77 ++++++++++++++++++++++++++++++++++++++++++++---------------- 5316 1 file changed, 57 insertions(+), 20 deletions(-) 5317 5318commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61 5319Author: Lasse Collin <lasse.collin@tukaani.org> 5320Date: 2009-08-13 12:56:47 +0300 5321 5322 Fix xz Makefile.am for the man page. 5323 5324 install-exec-hook -> install-data-hook 5325 5326 src/xz/Makefile.am | 2 ++ 5327 1 file changed, 2 insertions(+) 5328 5329commit e51b4e49e800bd84e6d589dca2964d3985e88139 5330Author: Lasse Collin <lasse.collin@tukaani.org> 5331Date: 2009-08-13 12:55:45 +0300 5332 5333 Add lzmainfo for backward compatibility with LZMA Utils. 5334 5335 lzmainfo now links against static liblzma. In contrast 5336 to other command line tools in XZ Utils, linking lzmainfo 5337 against static liblzma by default is dumb. This will be 5338 fixed once I have fixed some related issues in configure.ac. 5339 5340 configure.ac | 1 + 5341 src/Makefile.am | 2 +- 5342 src/lzmainfo/Makefile.am | 29 ++++++ 5343 src/lzmainfo/lzmainfo.1 | 55 +++++++++++ 5344 src/lzmainfo/lzmainfo.c | 242 +++++++++++++++++++++++++++++++++++++++++++++++ 5345 5 files changed, 328 insertions(+), 1 deletion(-) 5346 5347commit a4165d0584376d948c213ec93c6065d24ff6a5e7 5348Author: Lasse Collin <lasse.collin@tukaani.org> 5349Date: 2009-08-13 12:42:36 +0300 5350 5351 Sync some error messages from xz to xzdec. 5352 5353 Make xz error message translation usable outside 5354 xz (at least in upcoming lzmainfo). 5355 5356 src/xz/main.c | 4 ++-- 5357 src/xzdec/xzdec.c | 6 +++--- 5358 2 files changed, 5 insertions(+), 5 deletions(-) 5359 5360commit df636eb4e066b4e154ce8e66e82c87ba1db652a6 5361Author: Lasse Collin <lasse.collin@tukaani.org> 5362Date: 2009-08-13 09:37:21 +0300 5363 5364 Add xz man page to manfiles in toplevel Makefile.am. 5365 5366 Makefile.am | 1 + 5367 1 file changed, 1 insertion(+) 5368 5369commit 180bdf58ea5bb07941e0a99b304d9aa832198748 5370Author: Lasse Collin <lasse.collin@tukaani.org> 5371Date: 2009-08-13 09:37:01 +0300 5372 5373 Fix first line of xz man page. 5374 5375 src/xz/xz.1 | 2 +- 5376 1 file changed, 1 insertion(+), 1 deletion(-) 5377 5378commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4 5379Author: Lasse Collin <lasse.collin@tukaani.org> 5380Date: 2009-08-10 11:22:31 +0300 5381 5382 Added a rough version of the xz man page. 5383 5384 src/xz/Makefile.am | 15 + 5385 src/xz/xz.1 | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5386 2 files changed, 1221 insertions(+) 5387 5388commit e71903fc6101f1c039d702e335b08aad1e1b4100 5389Author: Jonathan Nieder <jrnieder@gmail.com> 5390Date: 2009-08-09 13:41:20 -0500 5391 5392 “xzdiff a.xz b.xz” always fails 5393 5394 Attempts to compare two compressed files result in no output and 5395 exit status 2. 5396 5397 Instead of going to standard output, ‘diff’ output is being 5398 captured in the xz_status variable along with the exit status from 5399 the decompression commands. Later, when this variable is examined 5400 for nonzero status codes, numerals from dates in the ‘diff’ output 5401 make it appear as though decompression failed. 5402 5403 So let the ‘diff’ output leak to standard output with another file 5404 descriptor. (This trick is used in all similar contexts elsewhere 5405 in xzdiff and in the analogous context in gzip’s zdiff script.) 5406 5407 src/scripts/xzdiff.in | 2 +- 5408 1 file changed, 1 insertion(+), 1 deletion(-) 5409 5410commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c 5411Author: Jonathan Nieder <jrnieder@gmail.com> 5412Date: 2009-08-09 13:22:12 -0500 5413 5414 xzless: Support compressed standard input 5415 5416 It can be somewhat confusing that 5417 5418 less < some_file.txt 5419 5420 works fine, whereas 5421 5422 xzless < some_file.txt.xz 5423 5424 does not. Since version 429, ‘less’ allows a filter specified in 5425 the LESSOPEN environment variable to preprocess its input even if 5426 it comes from standard input, if $LESSOPEN begins with ‘|-’. So 5427 set $LESSOPEN to take advantage of this feature. 5428 5429 Check less’s version at runtime so xzless can continue to work 5430 with older versions. 5431 5432 src/scripts/xzless.in | 8 +++++++- 5433 1 file changed, 7 insertions(+), 1 deletion(-) 5434 5435commit a7f5d2fe4826ac68839d00059f05004fb81d5c69 5436Author: Lasse Collin <lasse.collin@tukaani.org> 5437Date: 2009-08-09 20:57:46 +0300 5438 5439 GPLv2+ not GPLv2 for Doxyfile.in is probably OK. 5440 5441 Doxyfile.in | 2 +- 5442 1 file changed, 1 insertion(+), 1 deletion(-) 5443 5444commit b735cde20cc14857136ae65a0e5d336ed7ddc862 5445Author: Lasse Collin <lasse.collin@tukaani.org> 5446Date: 2009-08-02 00:27:29 +0300 5447 5448 Added a copyright notice to Doxyfile.in since it contains 5449 lots of comments from Doxygen. 5450 5451 It seems that the Doxygen authors' intent is to not apply 5452 their copyright on generated files, but since it doesn't 5453 matter for XZ Utils at all, better safe than sorry. 5454 5455 Doxyfile.in | 3 +++ 5456 1 file changed, 3 insertions(+) 5457 5458commit 0fd157cc008446adfc8f91394f5503868025a642 5459Author: Lasse Collin <lasse.collin@tukaani.org> 5460Date: 2009-08-02 00:11:37 +0300 5461 5462 Updated THANKS. 5463 5464 THANKS | 1 + 5465 1 file changed, 1 insertion(+) 5466 5467commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f 5468Author: Lasse Collin <lasse.collin@tukaani.org> 5469Date: 2009-08-02 00:10:22 +0300 5470 5471 Updated TODO. 5472 5473 TODO | 4 ++++ 5474 1 file changed, 4 insertions(+) 5475 5476commit 669413bb2db954bbfde3c4542fddbbab53891eb4 5477Author: Lasse Collin <lasse.collin@tukaani.org> 5478Date: 2009-07-30 12:25:55 +0300 5479 5480 Updated THANKS. 5481 5482 THANKS | 1 + 5483 1 file changed, 1 insertion(+) 5484 5485commit dbbd8fb870ae789d96497911006c869d37148c15 5486Author: Jonathan Nieder <jrnieder@gmail.com> 5487Date: 2009-07-28 17:37:24 -0500 5488 5489 xzdiff: add missing ;; to case statement 5490 5491 src/scripts/xzdiff.in | 6 +++--- 5492 1 file changed, 3 insertions(+), 3 deletions(-) 5493 5494commit adbad2d16cb5909f85d4a429011005613ea62ffe 5495Author: Lasse Collin <lasse.collin@tukaani.org> 5496Date: 2009-07-24 13:15:06 +0300 5497 5498 Added history.txt to doc_DATA. 5499 5500 Makefile.am | 1 + 5501 1 file changed, 1 insertion(+) 5502 5503commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27 5504Author: Lasse Collin <lasse.collin@tukaani.org> 5505Date: 2009-07-24 12:00:40 +0300 5506 5507 Updated .gitignore files. 5508 5509 .gitignore | 36 +++++++++++++++++++----------------- 5510 po/.gitignore | 3 +++ 5511 2 files changed, 22 insertions(+), 17 deletions(-) 5512 5513commit 2f34fb269265e3aba43a2a9c734020a45268826d 5514Author: Lasse Collin <lasse.collin@tukaani.org> 5515Date: 2009-07-24 11:34:02 +0300 5516 5517 Minor improvements to COPYING. 5518 5519 COPYING | 11 ++++++++--- 5520 1 file changed, 8 insertions(+), 3 deletions(-) 5521 5522commit 0db1befcfbc120377df4b89923762f16d25f548a 5523Author: Lasse Collin <lasse.collin@tukaani.org> 5524Date: 2009-07-23 19:10:55 +0300 5525 5526 Fix incorrect usage of getopt_long(), which caused 5527 invalid memory access if XZ_OPT was defined. 5528 5529 src/xz/args.c | 1 - 5530 1 file changed, 1 deletion(-) 5531 5532commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48 5533Author: Lasse Collin <lasse.collin@tukaani.org> 5534Date: 2009-07-20 15:43:32 +0300 5535 5536 Avoid internal error with --format=xz --lzma1. 5537 5538 src/xz/coder.c | 16 ++++++++++++---- 5539 1 file changed, 12 insertions(+), 4 deletions(-) 5540 5541commit 99f9e879a6a8bb54a65da99c12e0f390216c152a 5542Author: Lasse Collin <lasse.collin@tukaani.org> 5543Date: 2009-07-19 13:14:20 +0300 5544 5545 Major documentation update. 5546 5547 Installation and packaging instructions were added. 5548 README and other generic docs were revised. 5549 5550 Some of the documentation files are now installed to $docdir. 5551 5552 AUTHORS | 35 +++--- 5553 ChangeLog | 7 +- 5554 INSTALL | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5555 INSTALL.generic | 302 +++++++++++++++++++++++++++++++++++++++++++++++++++ 5556 Makefile.am | 11 ++ 5557 PACKAGERS | 278 +++++++++++++++++++++++++++++++++++++++++++++++ 5558 README | 263 ++++++++++++++++++++------------------------- 5559 THANKS | 17 +-- 5560 8 files changed, 1070 insertions(+), 170 deletions(-) 5561 5562commit ef4cf1851de89022cba5674784f1a8f6343c15b0 5563Author: Lasse Collin <lasse.collin@tukaani.org> 5564Date: 2009-07-19 11:09:31 +0300 5565 5566 Added missing author notice to xzless.in. 5567 5568 src/scripts/xzless.in | 1 + 5569 1 file changed, 1 insertion(+) 5570 5571commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77 5572Author: Lasse Collin <lasse.collin@tukaani.org> 5573Date: 2009-07-18 18:54:55 +0300 5574 5575 Use AC_CONFIG_AUX_DIR to clean up the toplevel directory 5576 a little. 5577 5578 Fixed a related bug in the toplevel Makefile.am. 5579 5580 Added the build-aux directory to .gitignore. 5581 5582 .gitignore | 1 + 5583 Makefile.am | 1 - 5584 configure.ac | 3 ++- 5585 3 files changed, 3 insertions(+), 2 deletions(-) 5586 5587commit 366e436090a7a87215e9bf0e3ddcd55f05b50587 5588Author: Lasse Collin <lasse.collin@tukaani.org> 5589Date: 2009-07-18 14:34:08 +0300 5590 5591 Updated the totally outdated TODO file. 5592 5593 TODO | 117 ++++++++++++++++--------------------------------------------------- 5594 1 file changed, 27 insertions(+), 90 deletions(-) 5595 5596commit 64e498c89d8b9966e8663f43bf64d47c26c55c62 5597Author: Lasse Collin <lasse.collin@tukaani.org> 5598Date: 2009-07-18 11:26:39 +0300 5599 5600 Added public domain notice into a few files. 5601 5602 src/common/common_w32res.rc | 9 ++++++++- 5603 src/liblzma/liblzma.pc.in | 7 +++++++ 5604 src/liblzma/liblzma_w32res.rc | 7 +++++++ 5605 src/xz/xz_w32res.rc | 7 +++++++ 5606 src/xzdec/xzdec_w32res.rc | 7 +++++++ 5607 5 files changed, 36 insertions(+), 1 deletion(-) 5608 5609commit a35755c5de808df027675688855d1b621a4fb428 5610Author: Lasse Collin <lasse.collin@tukaani.org> 5611Date: 2009-07-14 21:10:36 +0300 5612 5613 Allow extra commas in filter-specific options on xz command line. 5614 5615 This may slightly ease writing scripts that construct 5616 filter-specific option strings dynamically. 5617 5618 src/xz/options.c | 7 +++++++ 5619 1 file changed, 7 insertions(+) 5620 5621commit 98f3cac1ad31191c5160a7e48398bf85141e941c 5622Author: Lasse Collin <lasse.collin@tukaani.org> 5623Date: 2009-07-14 18:04:31 +0300 5624 5625 Accept --lzma2=preset=6e where "e" is equivalent to --extreme 5626 when no custom chain is in use. 5627 5628 src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++++--------------- 5629 1 file changed, 59 insertions(+), 21 deletions(-) 5630 5631commit d873a09e956363e54bf58c577c8f7e487b6fb464 5632Author: Lasse Collin <lasse.collin@tukaani.org> 5633Date: 2009-07-12 19:08:30 +0300 5634 5635 Add dist-hook to create ChangeLog from the commit log, 5636 and to conver the man pages to PDF and plain text, which 5637 may be convenient to those who cannot render man pages. 5638 5639 Makefile.am | 31 +++++++++++++++++++++++++++++++ 5640 1 file changed, 31 insertions(+) 5641 5642commit cd69a5a6c16c289f6f8e2823b03c72289472270f 5643Author: Lasse Collin <lasse.collin@tukaani.org> 5644Date: 2009-07-10 11:39:38 +0300 5645 5646 BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR. 5647 5648 This is a quick and slightly dirty fix to make the code 5649 conform to the latest file format specification. Without 5650 this patch, it's possible to make corrupt files by 5651 specifying start offset that is not a multiple of the 5652 filter's alignment. Custom start offset is almost never 5653 used, so this was only a minor bug. 5654 5655 The xz command line tool doesn't validate the start offset, 5656 so one will get a bit unclear error message if trying to use 5657 an invalid start offset. 5658 5659 src/liblzma/simple/arm.c | 2 +- 5660 src/liblzma/simple/armthumb.c | 2 +- 5661 src/liblzma/simple/ia64.c | 2 +- 5662 src/liblzma/simple/powerpc.c | 2 +- 5663 src/liblzma/simple/simple_coder.c | 5 ++++- 5664 src/liblzma/simple/simple_private.h | 3 ++- 5665 src/liblzma/simple/sparc.c | 2 +- 5666 src/liblzma/simple/x86.c | 2 +- 5667 8 files changed, 12 insertions(+), 8 deletions(-) 5668 5669commit eed9953732b801f6c97317fb3160445a8754180b 5670Author: Lasse Collin <lasse.collin@tukaani.org> 5671Date: 2009-07-10 11:33:21 +0300 5672 5673 Look for full command names instead of substrings 5674 like "un", "cat", and "lz" when determining if 5675 xz is run as unxz, xzcat, lzma, unlzma, or lzcat. 5676 5677 This is to ensure that if xz is renamed (e.g. via 5678 --program-transform-name), it doesn't so easily 5679 work in wrong mode. 5680 5681 src/xz/args.c | 22 +++++++++++++--------- 5682 1 file changed, 13 insertions(+), 9 deletions(-) 5683 5684commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658 5685Author: Lasse Collin <lasse.collin@tukaani.org> 5686Date: 2009-07-08 23:06:46 +0300 5687 5688 Updated THANKS. 5689 5690 THANKS | 2 ++ 5691 1 file changed, 2 insertions(+) 5692 5693commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e 5694Author: Lasse Collin <lasse.collin@tukaani.org> 5695Date: 2009-07-08 23:05:29 +0300 5696 5697 Portability improvement to version.sh. 5698 5699 version.sh | 3 ++- 5700 1 file changed, 2 insertions(+), 1 deletion(-) 5701 5702commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f 5703Author: Lasse Collin <lasse.collin@tukaani.org> 5704Date: 2009-07-08 22:50:16 +0300 5705 5706 Remove --force from xzdec. 5707 5708 It was ignored for compatibility with xz, but now that 5709 --decompress --stdout --force copies unrecognized files 5710 as is to stdout, simply ignoring --force in xzdec would 5711 be wrong. xzdec will not support copying unrecognized 5712 data as is to stdout, so it cannot support --force. 5713 5714 src/xzdec/xzdec.1 | 5 ----- 5715 src/xzdec/xzdec.c | 5 +---- 5716 2 files changed, 1 insertion(+), 9 deletions(-) 5717 5718commit 5f16ef4abf220028a9ddbcb138217597a9455f62 5719Author: Lasse Collin <lasse.collin@tukaani.org> 5720Date: 2009-07-06 10:36:04 +0300 5721 5722 Use sed instead of $(SED) so that we don't need to 5723 use AC_PROG_SED. We don't do anything fancy with sed, 5724 so this should work OK. libtool 2.2 sets SED but 1.5 5725 doesn't, so $(SED) happened to work when using libtool 2.2. 5726 5727 src/liblzma/Makefile.am | 2 +- 5728 src/scripts/Makefile.am | 28 ++++++++++++++-------------- 5729 src/xz/Makefile.am | 6 +++--- 5730 src/xzdec/Makefile.am | 6 +++--- 5731 4 files changed, 21 insertions(+), 21 deletions(-) 5732 5733commit 96e4b257e101d72072d43e144897d92920270669 5734Author: Lasse Collin <lasse.collin@tukaani.org> 5735Date: 2009-07-05 22:25:17 +0300 5736 5737 Major update to the xzgrep and other scripts based on 5738 the latest versions found from gzip CVS repository. 5739 5740 configure will try to find a POSIX shell to be used by 5741 the scripts. This should ease portability on systems 5742 which have pre-POSIX /bin/sh. 5743 5744 xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files. 5745 xzmore and xzless support only .xz and .lzma files. 5746 5747 The name of the xz executable used in these scripts is 5748 now correct even if --program-transform-name has been used. 5749 5750 configure.ac | 14 ++++ 5751 m4/posix-shell.m4 | 63 ++++++++++++++++ 5752 src/scripts/Makefile.am | 24 +++--- 5753 src/scripts/xzdiff | 67 ----------------- 5754 src/scripts/xzdiff.1 | 58 ++++++++------ 5755 src/scripts/xzdiff.in | 172 ++++++++++++++++++++++++++++++++++++++++++ 5756 src/scripts/xzgrep | 123 ------------------------------ 5757 src/scripts/xzgrep.1 | 85 ++++++++++++--------- 5758 src/scripts/xzgrep.in | 196 ++++++++++++++++++++++++++++++++++++++++++++++++ 5759 src/scripts/xzless.1 | 66 ++++++++++++++++ 5760 src/scripts/xzless.in | 51 +++++++++++++ 5761 src/scripts/xzmore | 74 ------------------ 5762 src/scripts/xzmore.1 | 64 +++++++--------- 5763 src/scripts/xzmore.in | 78 +++++++++++++++++++ 5764 14 files changed, 766 insertions(+), 369 deletions(-) 5765 5766commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100 5767Author: Lasse Collin <lasse.collin@tukaani.org> 5768Date: 2009-07-05 19:26:53 +0300 5769 5770 Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in. 5771 5772 src/liblzma/liblzma.pc.in | 2 +- 5773 1 file changed, 1 insertion(+), 1 deletion(-) 5774 5775commit 18c10c30d2833f394cd7bce0e6a821044b15832f 5776Author: Lasse Collin <lasse.collin@tukaani.org> 5777Date: 2009-07-04 00:40:44 +0300 5778 5779 Make "xz --decompress --stdout --force" copy unrecognized 5780 files as is to standard output. 5781 5782 This feature is needed to be more compatible with gzip's 5783 behavior. This was more complicated to implement than it 5784 sounds, because the way liblzma is able to return errors with 5785 files of only a few bytes in size. xz now has its own file 5786 type detection code and no longer uses lzma_auto_decoder(). 5787 5788 src/xz/coder.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++---------- 5789 1 file changed, 178 insertions(+), 35 deletions(-) 5790 5791commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633 5792Author: Lasse Collin <lasse.collin@tukaani.org> 5793Date: 2009-07-02 14:30:38 +0300 5794 5795 Define PACKAGE_HOMEPAGE in configure.ac and use it in 5796 xz and xzdec. 5797 5798 Use also PACKAGE_NAME instead of hardcoding "XZ Utils". 5799 5800 configure.ac | 5 +++++ 5801 src/xz/message.c | 4 ++-- 5802 src/xzdec/xzdec.c | 4 ++-- 5803 3 files changed, 9 insertions(+), 4 deletions(-) 5804 5805commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c 5806Author: Lasse Collin <lasse.collin@tukaani.org> 5807Date: 2009-07-01 12:21:24 +0300 5808 5809 Avoid visibility related compiler warnings on Windows. 5810 5811 configure.ac | 20 +++++++++----------- 5812 1 file changed, 9 insertions(+), 11 deletions(-) 5813 5814commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e 5815Author: Lasse Collin <lasse.collin@tukaani.org> 5816Date: 2009-06-30 17:14:39 +0300 5817 5818 Use static liblzma by default also for tests. 5819 5820 tests/Makefile.am | 5 ++++- 5821 1 file changed, 4 insertions(+), 1 deletion(-) 5822 5823commit f42ee981668b545ab6d06c6072e262c29605273c 5824Author: Lasse Collin <lasse.collin@tukaani.org> 5825Date: 2009-06-30 17:09:57 +0300 5826 5827 Build system fixes 5828 5829 Don't use libtool convenience libraries to avoid recently 5830 discovered long-standing subtle but somewhat severe bugs 5831 in libtool (at least 1.5.22 and 2.2.6 are affected). It 5832 was found when porting XZ Utils to Windows 5833 <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html> 5834 but the problem is significant also e.g. on GNU/Linux. 5835 5836 Unless --disable-shared is passed to configure, static 5837 library built from a set of convenience libraries will 5838 contain PIC objects. That is, while libtool builds non-PIC 5839 objects too, only PIC objects will be used from the 5840 convenience libraries. On 32-bit x86 (tested on mobile XP2400+), 5841 using PIC instead of non-PIC makes the decompressor 10 % slower 5842 with the default CFLAGS. 5843 5844 So while xz was linked against static liblzma by default, 5845 it got the slower PIC objects unless --disable-shared was 5846 used. I tend develop and benchmark with --disable-shared 5847 due to faster build time, so I hadn't noticed the problem 5848 in benchmarks earlier. 5849 5850 This commit also adds support for building Windows resources 5851 into liblzma and executables. 5852 5853 configure.ac | 34 ++++++++++------ 5854 src/liblzma/Makefile.am | 79 +++++++++++++++++++++++++++++-------- 5855 src/liblzma/check/Makefile.am | 47 ---------------------- 5856 src/liblzma/check/Makefile.inc | 51 ++++++++++++++++++++++++ 5857 src/liblzma/common/Makefile.am | 78 ------------------------------------ 5858 src/liblzma/common/Makefile.inc | 67 +++++++++++++++++++++++++++++++ 5859 src/liblzma/common/common.h | 16 +++++--- 5860 src/liblzma/delta/Makefile.am | 28 ------------- 5861 src/liblzma/delta/Makefile.inc | 23 +++++++++++ 5862 src/liblzma/lz/Makefile.am | 29 -------------- 5863 src/liblzma/lz/Makefile.inc | 21 ++++++++++ 5864 src/liblzma/lzma/Makefile.am | 51 ------------------------ 5865 src/liblzma/lzma/Makefile.inc | 43 ++++++++++++++++++++ 5866 src/liblzma/rangecoder/Makefile.am | 26 ------------ 5867 src/liblzma/rangecoder/Makefile.inc | 21 ++++++++++ 5868 src/liblzma/simple/Makefile.am | 51 ------------------------ 5869 src/liblzma/simple/Makefile.inc | 47 ++++++++++++++++++++++ 5870 src/liblzma/subblock/Makefile.am | 26 ------------ 5871 src/liblzma/subblock/Makefile.inc | 20 ++++++++++ 5872 src/xz/Makefile.am | 11 +++++- 5873 src/xzdec/Makefile.am | 20 +++++++++- 5874 21 files changed, 417 insertions(+), 372 deletions(-) 5875 5876commit 89dac1db6f168d7469cfbc4432651d4724c5c0de 5877Author: Lasse Collin <lasse.collin@tukaani.org> 5878Date: 2009-06-29 22:19:51 +0300 5879 5880 Added a comment about "autoconf -fi" to autogen.sh. 5881 5882 autogen.sh | 3 +++ 5883 1 file changed, 3 insertions(+) 5884 5885commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd 5886Author: Lasse Collin <lasse.collin@tukaani.org> 5887Date: 2009-06-28 10:04:24 +0300 5888 5889 Add -no-undefined to get shared liblzma on Windows. 5890 5891 src/liblzma/Makefile.am | 2 +- 5892 1 file changed, 1 insertion(+), 1 deletion(-) 5893 5894commit 73f560ee5fa064992b76688d9472baf139432540 5895Author: Lasse Collin <lasse.collin@tukaani.org> 5896Date: 2009-06-27 22:57:15 +0300 5897 5898 Make physmem() work on Cygwin 1.5 and older. 5899 5900 src/common/physmem.h | 77 +++++++++++++++++++++++++++------------------------- 5901 1 file changed, 40 insertions(+), 37 deletions(-) 5902 5903commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1 5904Author: Lasse Collin <lasse.collin@tukaani.org> 5905Date: 2009-06-27 17:28:01 +0300 5906 5907 Moved the Windows resource files outside the windows directory 5908 to prepare for building them with Autotools. 5909 5910 src/common/common_w32res.rc | 46 +++++++++++++++++++++++++++++++++++++++++++ 5911 src/liblzma/liblzma_w32res.rc | 5 +++++ 5912 src/xz/xz_w32res.rc | 5 +++++ 5913 src/xzdec/lzmadec_w32res.rc | 5 +++++ 5914 src/xzdec/xzdec_w32res.rc | 5 +++++ 5915 windows/Makefile | 35 +++++++++++++++++--------------- 5916 windows/common.rc | 46 ------------------------------------------- 5917 windows/liblzma.rc | 5 ----- 5918 windows/lzmadec.rc | 5 ----- 5919 windows/xz.rc | 5 ----- 5920 windows/xzdec.rc | 5 ----- 5921 11 files changed, 85 insertions(+), 82 deletions(-) 5922 5923commit 449c634674f35336a4815d398172e447659a135e 5924Author: Lasse Collin <lasse.collin@tukaani.org> 5925Date: 2009-06-27 13:05:03 +0300 5926 5927 Added missing $(EXEEXT). 5928 5929 src/xz/Makefile.am | 2 +- 5930 1 file changed, 1 insertion(+), 1 deletion(-) 5931 5932commit 792db79f27ad9ab1fb977e23be65c7761f545752 5933Author: Lasse Collin <lasse.collin@tukaani.org> 5934Date: 2009-06-27 12:32:40 +0300 5935 5936 Create correct symlinks even when 5937 --program-{prefix,suffix,transform} is passed to configure. 5938 5939 src/scripts/Makefile.am | 80 ++++++++++++++++++++++++++++--------------------- 5940 src/xz/Makefile.am | 21 ++++++++----- 5941 src/xzdec/Makefile.am | 9 ++++-- 5942 3 files changed, 65 insertions(+), 45 deletions(-) 5943 5944commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b 5945Author: Lasse Collin <lasse.collin@tukaani.org> 5946Date: 2009-06-27 10:02:24 +0300 5947 5948 Silence a compiler warning on DOS-like systems. 5949 5950 src/xz/file_io.c | 5 ++++- 5951 1 file changed, 4 insertions(+), 1 deletion(-) 5952 5953commit ad12edc95254ede3f0cb8dec8645e8789e984c4f 5954Author: Lasse Collin <lasse.collin@tukaani.org> 5955Date: 2009-06-27 09:35:15 +0300 5956 5957 Updated the filenames in POTFILES.in too. 5958 5959 po/POTFILES.in | 4 ++-- 5960 1 file changed, 2 insertions(+), 2 deletions(-) 5961 5962commit b2b1f867532732fe9969131f8713bdd6b0731763 5963Author: Lasse Collin <lasse.collin@tukaani.org> 5964Date: 2009-06-27 00:43:06 +0300 5965 5966 Hopefully improved portability of the assembler code in 5967 Autotools based builds on Windows. 5968 5969 src/liblzma/check/crc32_x86.S | 8 +++++++- 5970 src/liblzma/check/crc64_x86.S | 8 +++++++- 5971 2 files changed, 14 insertions(+), 2 deletions(-) 5972 5973commit c393055947247627a09b6a6b8f20aa0c32f9be16 5974Author: Lasse Collin <lasse.collin@tukaani.org> 5975Date: 2009-06-26 21:17:29 +0300 5976 5977 Updated THANKS (most of today's commits are based on 5978 Charles Wilson's patches). 5979 5980 THANKS | 1 + 5981 1 file changed, 1 insertion(+) 5982 5983commit da0af22e4b4139b8a10710945f8b245b3a77c97d 5984Author: Lasse Collin <lasse.collin@tukaani.org> 5985Date: 2009-06-26 21:00:35 +0300 5986 5987 Updated comments to match renamed files. 5988 5989 src/xz/coder.c | 2 +- 5990 src/xz/coder.h | 2 +- 5991 src/xz/file_io.c | 2 +- 5992 src/xz/file_io.h | 2 +- 5993 4 files changed, 4 insertions(+), 4 deletions(-) 5994 5995commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2 5996Author: Lasse Collin <lasse.collin@tukaani.org> 5997Date: 2009-06-26 20:49:54 +0300 5998 5999 Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc] 6000 to avoid problems on systems with system headers with those 6001 names. 6002 6003 dos/Makefile | 4 +- 6004 src/xz/Makefile.am | 8 +- 6005 src/xz/coder.c | 488 ++++++++++++++++++++++++++++++++++++ 6006 src/xz/coder.h | 57 +++++ 6007 src/xz/file_io.c | 716 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 6008 src/xz/file_io.h | 86 +++++++ 6009 src/xz/io.c | 716 ----------------------------------------------------- 6010 src/xz/io.h | 86 ------- 6011 src/xz/private.h | 4 +- 6012 src/xz/process.c | 488 ------------------------------------ 6013 src/xz/process.h | 57 ----- 6014 windows/Makefile | 4 +- 6015 12 files changed, 1357 insertions(+), 1357 deletions(-) 6016 6017commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8 6018Author: Lasse Collin <lasse.collin@tukaani.org> 6019Date: 2009-06-26 20:43:36 +0300 6020 6021 Rename process_file() to coder_run(). 6022 6023 src/xz/main.c | 6 +++--- 6024 src/xz/process.c | 6 +++--- 6025 src/xz/process.h | 5 ++--- 6026 3 files changed, 8 insertions(+), 9 deletions(-) 6027 6028commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc 6029Author: Lasse Collin <lasse.collin@tukaani.org> 6030Date: 2009-06-26 20:36:45 +0300 6031 6032 Ugly hack to make it possible to use the thousand separator 6033 format character with snprintf() on POSIX systems but not 6034 on non-POSIX systems and still keep xgettext working. 6035 6036 dos/Makefile | 16 +++------------- 6037 src/xz/message.c | 17 +++++++++-------- 6038 src/xz/process.c | 30 +++++++++++++++--------------- 6039 src/xz/util.c | 34 ++++++++++++++++++++++++++++++++++ 6040 src/xz/util.h | 20 ++++++++++++++++++++ 6041 windows/Makefile | 13 +++---------- 6042 6 files changed, 84 insertions(+), 46 deletions(-) 6043 6044commit fe378d47074b16c52b00fe184d119287c68ce2e7 6045Author: Lasse Collin <lasse.collin@tukaani.org> 6046Date: 2009-06-26 15:40:40 +0300 6047 6048 Added missing source files to windows/Makefile. 6049 6050 windows/Makefile | 2 ++ 6051 1 file changed, 2 insertions(+) 6052 6053commit 390a6408563067613b29de895cb40e4d0386d62c 6054Author: Lasse Collin <lasse.collin@tukaani.org> 6055Date: 2009-06-26 15:37:53 +0300 6056 6057 Basic support for building with Cygwin and MinGW using 6058 the Autotools based build system. It's not good yet, more 6059 fixes will follow. 6060 6061 configure.ac | 7 +++++++ 6062 src/liblzma/api/lzma.h | 7 +++++-- 6063 src/liblzma/check/crc32_x86.S | 7 ++++--- 6064 src/liblzma/check/crc64_x86.S | 7 ++++--- 6065 src/liblzma/common/common.h | 2 +- 6066 windows/Makefile | 16 +++++++--------- 6067 6 files changed, 28 insertions(+), 18 deletions(-) 6068 6069commit 1c9360b7d1197457aaad2f8888b99f1149861579 6070Author: Lasse Collin <lasse.collin@tukaani.org> 6071Date: 2009-06-26 14:47:31 +0300 6072 6073 Fix @variables@ to $(variables) in Makefile.am files. 6074 Fix the ordering of libgnu.a and LTLIBINTL on the linker 6075 command line and added missing LTLIBINTL to tests/Makefile.am. 6076 6077 debug/Makefile.am | 12 ++++++------ 6078 src/liblzma/check/Makefile.am | 4 ++-- 6079 src/liblzma/common/Makefile.am | 16 ++++++++-------- 6080 src/liblzma/delta/Makefile.am | 4 ++-- 6081 src/liblzma/lz/Makefile.am | 6 +++--- 6082 src/liblzma/lzma/Makefile.am | 8 ++++---- 6083 src/liblzma/rangecoder/Makefile.am | 4 ++-- 6084 src/liblzma/simple/Makefile.am | 4 ++-- 6085 src/liblzma/subblock/Makefile.am | 4 ++-- 6086 src/xz/Makefile.am | 21 +++++++++++---------- 6087 src/xzdec/Makefile.am | 19 ++++++++++--------- 6088 tests/Makefile.am | 12 +++++++----- 6089 12 files changed, 59 insertions(+), 55 deletions(-) 6090 6091commit d45615c555e250209ebb55aa3649abe790f1eeac 6092Author: Lasse Collin <lasse.collin@tukaani.org> 6093Date: 2009-06-26 14:20:02 +0300 6094 6095 Allow to explicitly specify autotool versions in autogen.sh. 6096 6097 autogen.sh | 12 ++++++------ 6098 1 file changed, 6 insertions(+), 6 deletions(-) 6099 6100commit eaf8367368a329afa48785380f9dca6b681f3397 6101Author: Lasse Collin <lasse.collin@tukaani.org> 6102Date: 2009-06-26 14:18:32 +0300 6103 6104 Add version.sh to EXTRA_DIST. 6105 6106 Makefile.am | 3 ++- 6107 1 file changed, 2 insertions(+), 1 deletion(-) 6108 6109commit b317b218e2d383dd27a700094c0de4510540ea18 6110Author: Lasse Collin <lasse.collin@tukaani.org> 6111Date: 2009-06-24 20:14:10 +0300 6112 6113 Support HW_PHYSMEM64 6114 6115 src/common/physmem.h | 30 +++++++++++++++++++----------- 6116 1 file changed, 19 insertions(+), 11 deletions(-) 6117 6118commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7 6119Author: Lasse Collin <lasse.collin@tukaani.org> 6120Date: 2009-06-24 13:01:59 +0300 6121 6122 Cast a char argument to isspace() to unsigned char. 6123 6124 src/xz/args.c | 11 +++++++++-- 6125 1 file changed, 9 insertions(+), 2 deletions(-) 6126 6127commit 1735d31ea347210e914df038eeea4b2626e76e42 6128Author: Lasse Collin <lasse.collin@tukaani.org> 6129Date: 2009-06-05 13:46:26 +0300 6130 6131 A few more spelling fixes. Released the .xz spec 1.0.3. 6132 6133 doc/xz-file-format.txt | 12 +++++++----- 6134 1 file changed, 7 insertions(+), 5 deletions(-) 6135 6136commit 8ed156ce894966103e895aa08f2a9fb912f6fad5 6137Author: Lasse Collin <lasse.collin@tukaani.org> 6138Date: 2009-06-04 23:42:12 +0300 6139 6140 Added xzdec man page. 6141 6142 src/xzdec/Makefile.am | 11 ++++ 6143 src/xzdec/xzdec.1 | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++ 6144 2 files changed, 184 insertions(+) 6145 6146commit f6df39afaa84f71439507178a49b2a5dda6e824c 6147Author: Lasse Collin <lasse.collin@tukaani.org> 6148Date: 2009-06-04 23:26:47 +0300 6149 6150 Harmonized xzdec --memory with xz --memory and made 6151 minor cleanups. 6152 6153 src/xzdec/xzdec.c | 74 +++++++++++++++++++++++++++++++++++++++---------------- 6154 1 file changed, 53 insertions(+), 21 deletions(-) 6155 6156commit 1774f27c61ce294a56712ca2f4785f90a62441bc 6157Author: Lasse Collin <lasse.collin@tukaani.org> 6158Date: 2009-06-04 22:59:55 +0300 6159 6160 Fix purporse -> purpose. Thanks to Andrew Dudman. 6161 Released .xz spec 1.0.2 due to this fix too. 6162 6163 THANKS | 1 + 6164 doc/xz-file-format.txt | 8 +++++--- 6165 src/liblzma/liblzma.pc.in | 2 +- 6166 windows/Makefile | 2 +- 6167 4 files changed, 8 insertions(+), 5 deletions(-) 6168 6169commit cb613455642f48fb51059e22018615f64c59b70f 6170Author: Lasse Collin <lasse.collin@tukaani.org> 6171Date: 2009-06-01 14:53:57 +0300 6172 6173 The .xz file format version 1.0.1 6174 6175 doc/xz-file-format.txt | 29 ++++++++++++++++++++++------- 6176 1 file changed, 22 insertions(+), 7 deletions(-) 6177 6178commit 083c23c680ff844846d177cfc58bb7a874e7e6b9 6179Author: Lasse Collin <lasse.collin@tukaani.org> 6180Date: 2009-05-26 14:48:48 +0300 6181 6182 Make the raw value of the Check field available to applications 6183 via lzma_block structure. 6184 6185 This changes ABI but not doesn't break API. 6186 6187 src/liblzma/api/lzma/block.h | 17 ++++++++++++++++ 6188 src/liblzma/common/block_buffer_encoder.c | 1 + 6189 src/liblzma/common/block_decoder.c | 34 ++++++++++++++----------------- 6190 src/liblzma/common/block_encoder.c | 21 ++++++++----------- 6191 4 files changed, 42 insertions(+), 31 deletions(-) 6192 6193commit b4f5c814090dc07d4350453576305e41eb9c998d 6194Author: Lasse Collin <lasse.collin@tukaani.org> 6195Date: 2009-05-23 16:57:21 +0300 6196 6197 Remove undocumented alternative option names --bcj, --ppc, 6198 and --itanium. 6199 6200 src/xz/args.c | 3 --- 6201 1 file changed, 3 deletions(-) 6202 6203commit b1edee2cdc7ef4411b1a21c07094ec763f071281 6204Author: Lasse Collin <lasse.collin@tukaani.org> 6205Date: 2009-05-23 15:12:23 +0300 6206 6207 Add support for specifying the BCJ filter start offset 6208 in the xz command line tool. 6209 6210 src/xz/args.c | 36 +++++++++++++++++++++--------------- 6211 src/xz/message.c | 14 ++++++++------ 6212 src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++ 6213 src/xz/options.h | 7 +++++++ 6214 4 files changed, 76 insertions(+), 21 deletions(-) 6215 6216commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb 6217Author: Lasse Collin <lasse.collin@tukaani.org> 6218Date: 2009-05-23 14:51:09 +0300 6219 6220 Updated THANKS. 6221 6222 THANKS | 2 ++ 6223 1 file changed, 2 insertions(+) 6224 6225commit dcedb6998cefeca6597dd1219328a3abf5acf66d 6226Author: Lasse Collin <lasse.collin@tukaani.org> 6227Date: 2009-05-22 16:40:50 +0300 6228 6229 Added support for --quiet and --no-warn to xzdec. 6230 Cleaned up the --help message a little. 6231 6232 src/xzdec/xzdec.c | 76 +++++++++++++++++++++++++++++++++++-------------------- 6233 1 file changed, 49 insertions(+), 27 deletions(-) 6234 6235commit 5f735dae80aa629853f4831d7b84ec1c614979eb 6236Author: Lasse Collin <lasse.collin@tukaani.org> 6237Date: 2009-05-22 15:11:52 +0300 6238 6239 Use the 40 % of RAM memory usage limit in xzdec too. 6240 6241 Update the memory usage info text in --help to match 6242 the text in xz --long-help. 6243 6244 src/xzdec/xzdec.c | 10 +++++----- 6245 1 file changed, 5 insertions(+), 5 deletions(-) 6246 6247commit b60376249e0c586910c4121fab4f791820cc1289 6248Author: Lasse Collin <lasse.collin@tukaani.org> 6249Date: 2009-05-22 14:43:00 +0300 6250 6251 Add --no-warn. 6252 6253 src/xz/args.c | 8 +++++++- 6254 src/xz/main.c | 17 +++++++++++++++++ 6255 src/xz/main.h | 6 ++++++ 6256 src/xz/message.c | 4 ++++ 6257 4 files changed, 34 insertions(+), 1 deletion(-) 6258 6259commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008 6260Author: Lasse Collin <lasse.collin@tukaani.org> 6261Date: 2009-05-22 14:27:40 +0300 6262 6263 Fix a comment. 6264 6265 src/xz/main.h | 2 +- 6266 1 file changed, 1 insertion(+), 1 deletion(-) 6267 6268commit 4dd21d23f22569285ae706b58b0e5904b8db1839 6269Author: Lasse Collin <lasse.collin@tukaani.org> 6270Date: 2009-05-22 14:21:20 +0300 6271 6272 Remove the --info option, which was an alias for --list. 6273 6274 src/xz/args.c | 1 - 6275 1 file changed, 1 deletion(-) 6276 6277commit 8836139b63ce774bdd62abf17ab69b290e08229e 6278Author: Lasse Collin <lasse.collin@tukaani.org> 6279Date: 2009-05-22 12:27:43 +0300 6280 6281 If xz is run as lzma, unlzma, or lzcat, simply imply 6282 --format=lzma. This means that xz emulating lzma 6283 doesn't decompress .xz files, while before this 6284 commit it did. The new way is slightly simpler in 6285 code and especially in upcoming documentation. 6286 6287 src/xz/args.c | 17 ++++++----------- 6288 1 file changed, 6 insertions(+), 11 deletions(-) 6289 6290commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d 6291Author: Lasse Collin <lasse.collin@tukaani.org> 6292Date: 2009-05-22 11:29:50 +0300 6293 6294 Make the default memory usage limit 40 % of RAM for both 6295 compressing and decompressing. This should be OK now that 6296 xz automatically scales down the compression settings if 6297 they would exceed the memory usage limit (earlier, the limit 6298 for compression was increased to 90 % because low limit broke 6299 scripts that used "xz -9" on systems with low RAM). 6300 6301 Support spcifying the memory usage limit as a percentage 6302 of RAM (e.g. --memory=50%). 6303 6304 Support --threads=0 to reset the thread limit to the default 6305 value (number of available CPU cores). Use UINT32_MAX instead 6306 of SIZE_MAX as the maximum in args.c. hardware.c was already 6307 expecting uint32_t value. 6308 6309 Cleaned up the output of --help and --long-help. 6310 6311 src/xz/args.c | 28 +++++++++++++----- 6312 src/xz/hardware.c | 86 +++++++++++++++++++++++-------------------------------- 6313 src/xz/hardware.h | 10 +++---- 6314 src/xz/message.c | 28 +++++++++--------- 6315 src/xz/process.c | 18 +++++------- 6316 5 files changed, 82 insertions(+), 88 deletions(-) 6317 6318commit 071b825b23911a69dd1cd2f8cda004ef8a781fae 6319Author: Lasse Collin <lasse.collin@tukaani.org> 6320Date: 2009-05-21 17:22:01 +0300 6321 6322 Support special value "max" where xz and xzdec accept an integer. 6323 Don't round the memory usage limit in xzdec --help to avoid 6324 an integer overflow and to not give wrong impression that 6325 the limit is high enough when it may not actually be. 6326 6327 src/xz/util.c | 4 ++++ 6328 src/xzdec/xzdec.c | 6 +++++- 6329 2 files changed, 9 insertions(+), 1 deletion(-) 6330 6331commit 03ca67fd37dd43fa7f590de340899cd497c10802 6332Author: ABCD <en.abcd@gmail.com> 6333Date: 2009-05-20 17:31:18 -0400 6334 6335 Install lzdiff, lzgrep, and lzmore as symlinks 6336 6337 This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install. 6338 It also installs symlinks for the manual pages and removes the new 6339 symlinks on uninstall. 6340 6341 src/scripts/Makefile.am | 16 ++++++++++++++-- 6342 1 file changed, 14 insertions(+), 2 deletions(-) 6343 6344commit a6f43e64128a6da5cd641de1e1e527433b3e5638 6345Author: Lasse Collin <lasse.collin@tukaani.org> 6346Date: 2009-05-02 16:10:14 +0300 6347 6348 Use a GCC-specific #pragma instead of GCC-specific 6349 -Wno-uninitialized to silence a bogus warning. 6350 6351 configure.ac | 13 ------------- 6352 src/liblzma/check/Makefile.am | 5 ----- 6353 src/liblzma/check/sha256.c | 5 +++++ 6354 3 files changed, 5 insertions(+), 18 deletions(-) 6355 6356commit f6ce63ebdb45a857c8949960c83c9580ae888951 6357Author: Lasse Collin <lasse.collin@tukaani.org> 6358Date: 2009-05-02 14:46:50 +0300 6359 6360 Removed --disable-encoder and --disable-decoder. Use the values 6361 given to --enable-encoders and --enable-decoders to determine 6362 if any encoder or decoder support is wanted. 6363 6364 configure.ac | 48 ++++++++---------------------------------------- 6365 1 file changed, 8 insertions(+), 40 deletions(-) 6366 6367commit be06858d5cf8ba46557395035d821dc332f3f830 6368Author: Lasse Collin <lasse.collin@tukaani.org> 6369Date: 2009-05-01 11:28:52 +0300 6370 6371 Remove docs that are too outdated to be updated 6372 (rewrite will be better). 6373 6374 doc/liblzma-advanced.txt | 324 ----------------------------------------------- 6375 doc/liblzma-hacking.txt | 112 ---------------- 6376 doc/liblzma-intro.txt | 194 ---------------------------- 6377 doc/liblzma-security.txt | 219 -------------------------------- 6378 doc/lzma-intro.txt | 107 ---------------- 6379 5 files changed, 956 deletions(-) 6380 6381commit 0255401e57c96af87c6b159eca28974e79430a82 6382Author: Lasse Collin <lasse.collin@tukaani.org> 6383Date: 2009-05-01 11:21:46 +0300 6384 6385 Added documentation about the legacy .lzma file format. 6386 6387 doc/lzma-file-format.txt | 166 +++++++++++++++++++++++++++++++++++++++++++++++ 6388 1 file changed, 166 insertions(+) 6389 6390commit 1496ff437c46f38303e0e94c511ca604b3a11f85 6391Author: Lasse Collin <lasse.collin@tukaani.org> 6392Date: 2009-05-01 11:20:23 +0300 6393 6394 Renamed the file format specification to xz-file-format.txt 6395 which is the filename used on the WWW. 6396 6397 doc/file-format.txt | 1127 ------------------------------------------------ 6398 doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++ 6399 2 files changed, 1127 insertions(+), 1127 deletions(-) 6400 6401commit 21c6b94373d239d7e86bd480fcd558e30391712f 6402Author: Lasse Collin <lasse.collin@tukaani.org> 6403Date: 2009-04-28 23:08:32 +0300 6404 6405 Fixed a crash in liblzma. 6406 6407 liblzma tries to avoid useless free()/malloc() pairs in 6408 initialization when multiple files are handled using the 6409 same lzma_stream. This didn't work with filter chains 6410 due to comparison of wrong pointers in lzma_next_coder_init(), 6411 making liblzma think that no memory reallocation is needed 6412 even when it actually is. 6413 6414 Easy way to trigger this bug is to decompress two files with 6415 a single xz command. The first file should have e.g. x86+LZMA2 6416 as the filter chain, and the second file just LZMA2. 6417 6418 src/liblzma/common/alone_decoder.c | 2 +- 6419 src/liblzma/common/alone_encoder.c | 4 ++-- 6420 src/liblzma/common/auto_decoder.c | 2 +- 6421 src/liblzma/common/block_decoder.c | 2 +- 6422 src/liblzma/common/block_encoder.c | 2 +- 6423 src/liblzma/common/common.h | 4 ++-- 6424 src/liblzma/common/easy_encoder.c | 2 +- 6425 src/liblzma/common/index_decoder.c | 2 +- 6426 src/liblzma/common/index_encoder.c | 2 +- 6427 src/liblzma/common/stream_decoder.c | 2 +- 6428 src/liblzma/common/stream_encoder.c | 2 +- 6429 11 files changed, 13 insertions(+), 13 deletions(-) 6430 6431commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c 6432Author: Lasse Collin <lasse.collin@tukaani.org> 6433Date: 2009-04-15 14:13:38 +0300 6434 6435 Fix uint32_t -> size_t in ARM and ARM-Thumb filters. 6436 6437 On 64-bit system it would have gone into infinite 6438 loop if a single input buffer was over 4 GiB (unlikely). 6439 6440 src/liblzma/simple/arm.c | 2 +- 6441 src/liblzma/simple/armthumb.c | 2 +- 6442 2 files changed, 2 insertions(+), 2 deletions(-) 6443 6444commit 31decdce041581e57c0d8a407d4795b114ef27ca 6445Author: Lasse Collin <lasse.collin@tukaani.org> 6446Date: 2009-04-14 11:48:46 +0300 6447 6448 Minor fixes to test files' README. 6449 6450 tests/files/README | 17 +++++++++-------- 6451 1 file changed, 9 insertions(+), 8 deletions(-) 6452 6453commit 4787d654434891c7df5b43959b0d2873718f06e0 6454Author: Lasse Collin <lasse.collin@tukaani.org> 6455Date: 2009-04-13 16:36:41 +0300 6456 6457 Updated history.txt. 6458 6459 doc/history.txt | 123 ++++++++++++++++++++++++++++++-------------------------- 6460 1 file changed, 66 insertions(+), 57 deletions(-) 6461 6462commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9 6463Author: Lasse Collin <lasse.collin@tukaani.org> 6464Date: 2009-04-13 14:49:48 +0300 6465 6466 Quick & dirty update to support xz in diff/grep/more scripts. 6467 6468 src/scripts/Makefile.am | 38 +++++++++------ 6469 src/scripts/lzdiff | 67 -------------------------- 6470 src/scripts/lzdiff.1 | 51 -------------------- 6471 src/scripts/lzgrep | 123 ------------------------------------------------ 6472 src/scripts/lzgrep.1 | 61 ------------------------ 6473 src/scripts/lzmore | 74 ----------------------------- 6474 src/scripts/lzmore.1 | 55 ---------------------- 6475 src/scripts/xzdiff | 67 ++++++++++++++++++++++++++ 6476 src/scripts/xzdiff.1 | 58 +++++++++++++++++++++++ 6477 src/scripts/xzgrep | 123 ++++++++++++++++++++++++++++++++++++++++++++++++ 6478 src/scripts/xzgrep.1 | 77 ++++++++++++++++++++++++++++++ 6479 src/scripts/xzmore | 74 +++++++++++++++++++++++++++++ 6480 src/scripts/xzmore.1 | 66 ++++++++++++++++++++++++++ 6481 13 files changed, 489 insertions(+), 445 deletions(-) 6482 6483commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc 6484Author: Lasse Collin <lasse.collin@tukaani.org> 6485Date: 2009-04-13 11:27:40 +0300 6486 6487 Put the interesting parts of XZ Utils into the public domain. 6488 Some minor documentation cleanups were made at the same time. 6489 6490 COPYING | 67 ++++++++++++++++++++------ 6491 ChangeLog | 2 +- 6492 Doxyfile.in | 8 +-- 6493 Makefile.am | 13 ++--- 6494 autogen.sh | 9 ++++ 6495 configure.ac | 13 ++--- 6496 debug/Makefile.am | 13 ++--- 6497 debug/crc32.c | 13 ++--- 6498 debug/full_flush.c | 13 ++--- 6499 debug/hex2bin.c | 7 ++- 6500 debug/known_sizes.c | 13 ++--- 6501 debug/memusage.c | 13 ++--- 6502 debug/repeat.c | 13 ++--- 6503 debug/sync_flush.c | 13 ++--- 6504 doc/faq.txt | 38 ++------------- 6505 lib/Makefile.am | 18 +++---- 6506 src/Makefile.am | 13 ++--- 6507 src/common/bswap.h | 7 ++- 6508 src/common/cpucores.h | 7 ++- 6509 src/common/integer.h | 7 ++- 6510 src/common/mythread.h | 4 +- 6511 src/common/open_stdxxx.h | 7 ++- 6512 src/common/physmem.h | 7 ++- 6513 src/common/sysdefs.h | 13 ++--- 6514 src/liblzma/Makefile.am | 13 ++--- 6515 src/liblzma/api/Makefile.am | 13 ++--- 6516 src/liblzma/api/lzma.h | 38 +++++++++------ 6517 src/liblzma/api/lzma/base.h | 20 +++----- 6518 src/liblzma/api/lzma/bcj.h | 18 +++---- 6519 src/liblzma/api/lzma/block.h | 18 +++---- 6520 src/liblzma/api/lzma/check.h | 18 +++---- 6521 src/liblzma/api/lzma/container.h | 18 +++---- 6522 src/liblzma/api/lzma/delta.h | 18 +++---- 6523 src/liblzma/api/lzma/filter.h | 18 +++---- 6524 src/liblzma/api/lzma/index.h | 18 +++---- 6525 src/liblzma/api/lzma/index_hash.h | 22 +++------ 6526 src/liblzma/api/lzma/lzma.h | 18 +++---- 6527 src/liblzma/api/lzma/stream_flags.h | 18 +++---- 6528 src/liblzma/api/lzma/subblock.h | 18 +++---- 6529 src/liblzma/api/lzma/version.h | 18 +++---- 6530 src/liblzma/api/lzma/vli.h | 46 ++++++++---------- 6531 src/liblzma/check/Makefile.am | 8 ++- 6532 src/liblzma/check/check.c | 7 ++- 6533 src/liblzma/check/check.h | 7 ++- 6534 src/liblzma/check/crc32_fast.c | 30 +++++------- 6535 src/liblzma/check/crc32_small.c | 7 ++- 6536 src/liblzma/check/crc32_table.c | 7 ++- 6537 src/liblzma/check/crc32_tablegen.c | 7 ++- 6538 src/liblzma/check/crc32_x86.S | 21 +++++--- 6539 src/liblzma/check/crc64_fast.c | 20 +++----- 6540 src/liblzma/check/crc64_small.c | 7 ++- 6541 src/liblzma/check/crc64_table.c | 7 ++- 6542 src/liblzma/check/crc64_tablegen.c | 7 ++- 6543 src/liblzma/check/crc64_x86.S | 14 ++++-- 6544 src/liblzma/check/crc_macros.h | 9 ++-- 6545 src/liblzma/check/sha256.c | 23 +++++---- 6546 src/liblzma/common/Makefile.am | 13 ++--- 6547 src/liblzma/common/alone_decoder.c | 13 ++--- 6548 src/liblzma/common/alone_decoder.h | 13 ++--- 6549 src/liblzma/common/alone_encoder.c | 13 ++--- 6550 src/liblzma/common/auto_decoder.c | 13 ++--- 6551 src/liblzma/common/block_buffer_decoder.c | 13 ++--- 6552 src/liblzma/common/block_buffer_encoder.c | 13 ++--- 6553 src/liblzma/common/block_decoder.c | 13 ++--- 6554 src/liblzma/common/block_decoder.h | 13 ++--- 6555 src/liblzma/common/block_encoder.c | 13 ++--- 6556 src/liblzma/common/block_encoder.h | 13 ++--- 6557 src/liblzma/common/block_header_decoder.c | 13 ++--- 6558 src/liblzma/common/block_header_encoder.c | 13 ++--- 6559 src/liblzma/common/block_util.c | 13 ++--- 6560 src/liblzma/common/bsr.h | 7 ++- 6561 src/liblzma/common/chunk_size.c | 13 ++--- 6562 src/liblzma/common/common.c | 13 ++--- 6563 src/liblzma/common/common.h | 13 ++--- 6564 src/liblzma/common/easy_buffer_encoder.c | 13 ++--- 6565 src/liblzma/common/easy_decoder_memusage.c | 13 ++--- 6566 src/liblzma/common/easy_encoder.c | 13 ++--- 6567 src/liblzma/common/easy_encoder_memusage.c | 13 ++--- 6568 src/liblzma/common/easy_preset.c | 13 ++--- 6569 src/liblzma/common/easy_preset.h | 13 ++--- 6570 src/liblzma/common/filter_buffer_decoder.c | 13 ++--- 6571 src/liblzma/common/filter_buffer_encoder.c | 13 ++--- 6572 src/liblzma/common/filter_common.c | 13 ++--- 6573 src/liblzma/common/filter_common.h | 13 ++--- 6574 src/liblzma/common/filter_decoder.c | 13 ++--- 6575 src/liblzma/common/filter_decoder.h | 13 ++--- 6576 src/liblzma/common/filter_encoder.c | 13 ++--- 6577 src/liblzma/common/filter_encoder.h | 13 ++--- 6578 src/liblzma/common/filter_flags_decoder.c | 13 ++--- 6579 src/liblzma/common/filter_flags_encoder.c | 13 ++--- 6580 src/liblzma/common/index.c | 13 ++--- 6581 src/liblzma/common/index.h | 13 ++--- 6582 src/liblzma/common/index_decoder.c | 13 ++--- 6583 src/liblzma/common/index_encoder.c | 13 ++--- 6584 src/liblzma/common/index_encoder.h | 13 ++--- 6585 src/liblzma/common/index_hash.c | 13 ++--- 6586 src/liblzma/common/stream_buffer_decoder.c | 13 ++--- 6587 src/liblzma/common/stream_buffer_encoder.c | 13 ++--- 6588 src/liblzma/common/stream_decoder.c | 13 ++--- 6589 src/liblzma/common/stream_decoder.h | 13 ++--- 6590 src/liblzma/common/stream_encoder.c | 13 ++--- 6591 src/liblzma/common/stream_encoder.h | 13 ++--- 6592 src/liblzma/common/stream_flags_common.c | 13 ++--- 6593 src/liblzma/common/stream_flags_common.h | 13 ++--- 6594 src/liblzma/common/stream_flags_decoder.c | 13 ++--- 6595 src/liblzma/common/stream_flags_encoder.c | 13 ++--- 6596 src/liblzma/common/vli_decoder.c | 13 ++--- 6597 src/liblzma/common/vli_encoder.c | 13 ++--- 6598 src/liblzma/common/vli_size.c | 13 ++--- 6599 src/liblzma/delta/Makefile.am | 13 ++--- 6600 src/liblzma/delta/delta_common.c | 13 ++--- 6601 src/liblzma/delta/delta_common.h | 13 ++--- 6602 src/liblzma/delta/delta_decoder.c | 13 ++--- 6603 src/liblzma/delta/delta_decoder.h | 13 ++--- 6604 src/liblzma/delta/delta_encoder.c | 13 ++--- 6605 src/liblzma/delta/delta_encoder.h | 13 ++--- 6606 src/liblzma/delta/delta_private.h | 13 ++--- 6607 src/liblzma/lz/Makefile.am | 13 ++--- 6608 src/liblzma/lz/lz_decoder.c | 17 ++----- 6609 src/liblzma/lz/lz_decoder.h | 17 ++----- 6610 src/liblzma/lz/lz_encoder.c | 17 ++----- 6611 src/liblzma/lz/lz_encoder.h | 17 ++----- 6612 src/liblzma/lz/lz_encoder_hash.h | 13 ++--- 6613 src/liblzma/lz/lz_encoder_mf.c | 17 ++----- 6614 src/liblzma/lzma/Makefile.am | 13 ++--- 6615 src/liblzma/lzma/fastpos.h | 17 ++----- 6616 src/liblzma/lzma/fastpos_tablegen.c | 17 ++----- 6617 src/liblzma/lzma/lzma2_decoder.c | 17 ++----- 6618 src/liblzma/lzma/lzma2_decoder.h | 17 ++----- 6619 src/liblzma/lzma/lzma2_encoder.c | 17 ++----- 6620 src/liblzma/lzma/lzma2_encoder.h | 17 ++----- 6621 src/liblzma/lzma/lzma_common.h | 17 ++----- 6622 src/liblzma/lzma/lzma_decoder.c | 17 ++----- 6623 src/liblzma/lzma/lzma_decoder.h | 17 ++----- 6624 src/liblzma/lzma/lzma_encoder.c | 17 ++----- 6625 src/liblzma/lzma/lzma_encoder.h | 17 ++----- 6626 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 13 ++--- 6627 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 ++--- 6628 src/liblzma/lzma/lzma_encoder_presets.c | 13 ++--- 6629 src/liblzma/lzma/lzma_encoder_private.h | 17 ++----- 6630 src/liblzma/rangecoder/Makefile.am | 13 ++--- 6631 src/liblzma/rangecoder/price.h | 13 ++--- 6632 src/liblzma/rangecoder/price_tablegen.c | 16 ++---- 6633 src/liblzma/rangecoder/range_common.h | 17 ++----- 6634 src/liblzma/rangecoder/range_decoder.h | 17 ++----- 6635 src/liblzma/rangecoder/range_encoder.h | 17 ++----- 6636 src/liblzma/simple/Makefile.am | 13 ++--- 6637 src/liblzma/simple/arm.c | 17 ++----- 6638 src/liblzma/simple/armthumb.c | 17 ++----- 6639 src/liblzma/simple/ia64.c | 17 ++----- 6640 src/liblzma/simple/powerpc.c | 17 ++----- 6641 src/liblzma/simple/simple_coder.c | 13 ++--- 6642 src/liblzma/simple/simple_coder.h | 14 ++---- 6643 src/liblzma/simple/simple_decoder.c | 13 ++--- 6644 src/liblzma/simple/simple_decoder.h | 13 ++--- 6645 src/liblzma/simple/simple_encoder.c | 13 ++--- 6646 src/liblzma/simple/simple_encoder.h | 13 ++--- 6647 src/liblzma/simple/simple_private.h | 13 ++--- 6648 src/liblzma/simple/sparc.c | 17 ++----- 6649 src/liblzma/simple/x86.c | 17 ++----- 6650 src/liblzma/subblock/Makefile.am | 13 ++--- 6651 src/liblzma/subblock/subblock_decoder.c | 13 ++--- 6652 src/liblzma/subblock/subblock_decoder.h | 13 ++--- 6653 src/liblzma/subblock/subblock_decoder_helper.c | 13 ++--- 6654 src/liblzma/subblock/subblock_decoder_helper.h | 13 ++--- 6655 src/liblzma/subblock/subblock_encoder.c | 13 ++--- 6656 src/liblzma/subblock/subblock_encoder.h | 13 ++--- 6657 src/scripts/Makefile.am | 7 +++ 6658 src/xz/Makefile.am | 13 ++--- 6659 src/xz/args.c | 13 ++--- 6660 src/xz/args.h | 13 ++--- 6661 src/xz/hardware.c | 13 ++--- 6662 src/xz/hardware.h | 13 ++--- 6663 src/xz/io.c | 13 ++--- 6664 src/xz/io.h | 13 ++--- 6665 src/xz/list.c | 13 ++--- 6666 src/xz/main.c | 13 ++--- 6667 src/xz/main.h | 13 ++--- 6668 src/xz/message.c | 13 ++--- 6669 src/xz/message.h | 13 ++--- 6670 src/xz/options.c | 13 ++--- 6671 src/xz/options.h | 13 ++--- 6672 src/xz/private.h | 13 ++--- 6673 src/xz/process.c | 13 ++--- 6674 src/xz/process.h | 13 ++--- 6675 src/xz/signals.c | 13 ++--- 6676 src/xz/signals.h | 13 ++--- 6677 src/xz/suffix.c | 13 ++--- 6678 src/xz/suffix.h | 13 ++--- 6679 src/xz/util.c | 13 ++--- 6680 src/xz/util.h | 13 ++--- 6681 src/xzdec/Makefile.am | 13 ++--- 6682 src/xzdec/xzdec.c | 13 ++--- 6683 tests/Makefile.am | 13 ++--- 6684 tests/bcj_test.c | 7 ++- 6685 tests/create_compress_files.c | 13 ++--- 6686 tests/test_block.c | 13 ++--- 6687 tests/test_block_header.c | 13 ++--- 6688 tests/test_check.c | 13 ++--- 6689 tests/test_compress.sh | 13 ++--- 6690 tests/test_files.sh | 13 ++--- 6691 tests/test_filter_flags.c | 13 ++--- 6692 tests/test_index.c | 13 ++--- 6693 tests/test_stream_flags.c | 13 ++--- 6694 tests/tests.h | 13 ++--- 6695 windows/common.rc | 2 +- 6696 206 files changed, 868 insertions(+), 2023 deletions(-) 6697 6698commit e79c42d854657ae7f75613bd80c1a35ff7c525cb 6699Author: Lasse Collin <lasse.collin@tukaani.org> 6700Date: 2009-04-10 11:17:02 +0300 6701 6702 Fix off-by-one in LZ decoder. 6703 6704 Fortunately, this bug had no security risk other than accepting 6705 some corrupt files as valid. 6706 6707 src/liblzma/lz/lz_decoder.h | 2 +- 6708 1 file changed, 1 insertion(+), 1 deletion(-) 6709 6710commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af 6711Author: Pavel Roskin <proski@gnu.org> 6712Date: 2009-03-31 12:15:01 -0400 6713 6714 Fix minor typos in README 6715 6716 README | 6 +++--- 6717 1 file changed, 3 insertions(+), 3 deletions(-) 6718 6719commit 9bab5336ebd765ec4e12252f416eefdf04eba750 6720Author: Lasse Collin <lasse.collin@tukaani.org> 6721Date: 2009-03-31 21:52:51 +0300 6722 6723 Add a note and work-around instructions to README about 6724 problems detecting a C99 compiler when some standard 6725 headers are missing. 6726 6727 README | 11 +++++++++++ 6728 1 file changed, 11 insertions(+) 6729 6730commit a0497ff7a06f9350349264fe9b52dfefc6d53ead 6731Author: Lasse Collin <lasse.collin@tukaani.org> 6732Date: 2009-03-18 16:54:38 +0200 6733 6734 Updated THANKS. 6735 6736 THANKS | 1 + 6737 1 file changed, 1 insertion(+) 6738 6739commit 390e69887fc5e0a108eb41203bed9acd100a3d76 6740Author: Lasse Collin <lasse.collin@tukaani.org> 6741Date: 2009-03-18 16:51:41 +0200 6742 6743 Fix wrong macro names in lc_cpucores.m4 and cpucores.h. 6744 Thanks to Bert Wesarg. 6745 6746 m4/lc_cpucores.m4 | 4 ++-- 6747 src/common/cpucores.h | 4 ++-- 6748 2 files changed, 4 insertions(+), 4 deletions(-) 6749 6750commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6 6751Author: Lasse Collin <lasse.collin@tukaani.org> 6752Date: 2009-03-01 09:03:08 +0200 6753 6754 Test for Linux-specific sysinfo() only on Linux systems. 6755 Some other systems have sysinfo() with different semantics. 6756 6757 m4/lc_physmem.m4 | 28 +++++++++++++++++++--------- 6758 1 file changed, 19 insertions(+), 9 deletions(-) 6759 6760commit cf751edfde3ad6e088dc18e0522d31ae38405933 6761Author: Lasse Collin <lasse.collin@tukaani.org> 6762Date: 2009-03-01 09:00:06 +0200 6763 6764 Added AC_CONFIG_MACRO_DIR to configure.ac. 6765 6766 configure.ac | 1 + 6767 1 file changed, 1 insertion(+) 6768 6769commit 63df14c57dee7c461717784287056688482a7eb9 6770Author: Lasse Collin <lasse.collin@tukaani.org> 6771Date: 2009-03-01 08:58:41 +0200 6772 6773 Fix the Autoconf test for getopt_long replacement. 6774 It was broken by e114502b2bc371e4a45449832cb69be036360722. 6775 6776 m4/getopt.m4 | 4 ++++ 6777 1 file changed, 4 insertions(+) 6778 6779commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f 6780Author: Lasse Collin <lasse.collin@tukaani.org> 6781Date: 2009-02-22 19:07:54 +0200 6782 6783 Add a rough explanation of --extreme to output of --help. 6784 6785 src/xz/message.c | 4 ++++ 6786 1 file changed, 4 insertions(+) 6787 6788commit 68bf7ac2984d3627369a240ef0491934d53f7899 6789Author: Lasse Collin <lasse.collin@tukaani.org> 6790Date: 2009-02-22 18:52:49 +0200 6791 6792 Fixes to progress message handling in xz: 6793 6794 - Don't use Windows-specific code on Windows. The old code 6795 required at least Windows 2000. Now it should work on 6796 Windows 98 and later, and maybe on Windows 95 too. 6797 6798 - Use less precision when showing estimated remaining time. 6799 6800 - Fix some small design issues. 6801 6802 src/xz/message.c | 483 +++++++++++++++++++++++++++++++++++-------------------- 6803 src/xz/message.h | 28 ++-- 6804 src/xz/process.c | 53 +++--- 6805 3 files changed, 351 insertions(+), 213 deletions(-) 6806 6807commit 47c2e21f82242f50f18713a27d644c2c94ab3fea 6808Author: Lasse Collin <lasse.collin@tukaani.org> 6809Date: 2009-02-18 13:00:10 +0200 6810 6811 Added files missing from the previous commit. 6812 6813 src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++ 6814 src/liblzma/common/Makefile.am | 7 ++++++- 6815 2 files changed, 39 insertions(+), 1 deletion(-) 6816 6817commit 489a3dbaa0465f04400804e956a1cfbbee3654a2 6818Author: Lasse Collin <lasse.collin@tukaani.org> 6819Date: 2009-02-17 10:43:00 +0200 6820 6821 Added lzma_easy_buffer_encode(). Splitted easy.c into small 6822 pieces to avoid unneeded dependencies making statically 6823 linked applications bigger than needed. 6824 6825 dos/Makefile | 6 +- 6826 src/liblzma/common/easy.c | 128 ----------------------------- 6827 src/liblzma/common/easy_buffer_encoder.c | 34 ++++++++ 6828 src/liblzma/common/easy_decoder_memusage.c | 31 +++++++ 6829 src/liblzma/common/easy_encoder.c | 87 ++++++++++++++++++++ 6830 src/liblzma/common/easy_encoder_memusage.c | 31 +++++++ 6831 src/liblzma/common/easy_preset.c | 34 ++++++++ 6832 src/liblzma/common/easy_preset.h | 39 +++++++++ 6833 windows/Makefile | 6 +- 6834 9 files changed, 266 insertions(+), 130 deletions(-) 6835 6836commit 7494816ab08d82f4d6409788825930c4e43cfd0d 6837Author: Lasse Collin <lasse.collin@tukaani.org> 6838Date: 2009-02-15 15:48:45 +0200 6839 6840 Make physmem.h work on old Windows versions. 6841 Thanks to Hongbo Ni for the original patch. 6842 6843 src/common/physmem.h | 31 +++++++++++++++++++++++++++---- 6844 1 file changed, 27 insertions(+), 4 deletions(-) 6845 6846commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0 6847Author: Lasse Collin <lasse.collin@tukaani.org> 6848Date: 2009-02-14 20:44:52 +0200 6849 6850 Fix microsecond vs. nanosecond confusion in my_time(). 6851 6852 src/xz/message.c | 2 +- 6853 1 file changed, 1 insertion(+), 1 deletion(-) 6854 6855commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7 6856Author: Lasse Collin <lasse.collin@tukaani.org> 6857Date: 2009-02-14 00:45:29 +0200 6858 6859 Cleanups to the code that detects the amount of RAM and 6860 the number of CPU cores. Added support for using sysinfo() 6861 on Linux systems whose libc lacks appropriate sysconf() 6862 support (at least dietlibc). The Autoconf macros were 6863 split into separate files, and CPU core count detection 6864 was moved from hardware.c to cpucores.h. The core count 6865 isn't used for anything real for now, so a problematic 6866 part in process.c was commented out. 6867 6868 configure.ac | 89 ++------------------------------------------------- 6869 m4/lc_cpucores.m4 | 57 +++++++++++++++++++++++++++++++++ 6870 m4/lc_physmem.m4 | 74 ++++++++++++++++++++++++++++++++++++++++++ 6871 src/common/cpucores.h | 52 ++++++++++++++++++++++++++++++ 6872 src/common/physmem.h | 21 +++++++----- 6873 src/xz/args.c | 4 +-- 6874 src/xz/hardware.c | 50 +++++++++++++---------------- 6875 src/xz/hardware.h | 11 +++++-- 6876 src/xz/message.c | 5 +-- 6877 src/xz/process.c | 2 ++ 6878 10 files changed, 235 insertions(+), 130 deletions(-) 6879 6880commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8 6881Author: Lasse Collin <lasse.collin@tukaani.org> 6882Date: 2009-02-13 18:23:50 +0200 6883 6884 Initial port to DOS using DJGPP. 6885 6886 dos/Makefile | 261 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 6887 dos/README | 113 ++++++++++++++++++++++++++ 6888 dos/config.h | 150 ++++++++++++++++++++++++++++++++++ 6889 3 files changed, 524 insertions(+) 6890 6891commit 0dae8b7751d09e9c5a482d5519daaee4800ce203 6892Author: Lasse Collin <lasse.collin@tukaani.org> 6893Date: 2009-02-13 18:02:05 +0200 6894 6895 Windows port: Take advantage of the version number macros. 6896 Now the version number is not duplicated in the 6897 Windows-specific files anymore. 6898 6899 windows/Makefile | 2 +- 6900 windows/common.rc | 16 ++++++++-------- 6901 windows/config.h | 15 --------------- 6902 3 files changed, 9 insertions(+), 24 deletions(-) 6903 6904commit fdbc0cfa71f7d660855098a609175ba384259529 6905Author: Lasse Collin <lasse.collin@tukaani.org> 6906Date: 2009-02-13 18:00:03 +0200 6907 6908 Changed how the version number is specified in various places. 6909 Now configure.ac will get the version number directly from 6910 src/liblzma/api/lzma/version.h. The intent is to reduce the 6911 number of places where the version number is duplicated. In 6912 future, support for displaying Git commit ID may be added too. 6913 6914 configure.ac | 3 +- 6915 src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++++-- 6916 src/liblzma/common/common.c | 2 +- 6917 src/xz/message.c | 2 +- 6918 src/xzdec/xzdec.c | 2 +- 6919 version.sh | 23 ++++++++++++++ 6920 6 files changed, 95 insertions(+), 7 deletions(-) 6921 6922commit 1d924e584b146136989f48c13fff2632896efb3d 6923Author: Lasse Collin <lasse.collin@tukaani.org> 6924Date: 2009-02-13 17:30:30 +0200 6925 6926 Fix handling of integrity check type in the xz command line tool. 6927 6928 src/xz/args.c | 9 ++++++++- 6929 src/xz/process.c | 4 ++++ 6930 2 files changed, 12 insertions(+), 1 deletion(-) 6931 6932commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8 6933Author: Lasse Collin <lasse.collin@tukaani.org> 6934Date: 2009-02-13 17:29:02 +0200 6935 6936 Improve support for DOS-like systems. 6937 Here DOS-like means DOS, Windows, and OS/2. 6938 6939 src/common/physmem.h | 12 ++++++++++++ 6940 src/common/sysdefs.h | 4 ++++ 6941 src/liblzma/check/crc32_x86.S | 6 +++--- 6942 src/liblzma/check/crc64_x86.S | 6 +++--- 6943 src/xz/args.c | 13 +++++-------- 6944 src/xz/io.c | 39 +++++++++++++++++++++++++-------------- 6945 src/xz/main.c | 23 +++++++++++++++++++++++ 6946 src/xz/message.c | 3 +++ 6947 src/xz/suffix.c | 5 +++++ 6948 src/xzdec/xzdec.c | 5 +++-- 6949 10 files changed, 86 insertions(+), 30 deletions(-) 6950 6951commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33 6952Author: Lasse Collin <lasse.collin@tukaani.org> 6953Date: 2009-02-11 20:02:32 +0200 6954 6955 Remove dead directories from .gitignore. 6956 6957 .gitignore | 2 -- 6958 1 file changed, 2 deletions(-) 6959 6960commit 1ec5b0027911d94cb6f98892cbc690f818d8a861 6961Author: Jim Meyering <jim@meyering.net> 6962Date: 2009-02-11 14:45:14 +0100 6963 6964 .gitignore vs. Makefiles 6965 6966 How about this for those of us who do srcdir builds? 6967 6968 .gitignore | 22 ++++++++++++++++++++++ 6969 1 file changed, 22 insertions(+) 6970 6971commit 154f5aec2de201c674841de4fcc9804c2a87af07 6972Author: Lasse Collin <lasse.collin@tukaani.org> 6973Date: 2009-02-10 21:48:35 +0200 6974 6975 Removed Makefile from .gitignore since not all Makefiles 6976 in the repository are generated by Autotools. People 6977 should do test builds in a separate build directory anyway. 6978 6979 .gitignore | 1 - 6980 1 file changed, 1 deletion(-) 6981 6982commit e605c2663691b0a4c307786aa368d124ea081daa 6983Author: Lasse Collin <lasse.collin@tukaani.org> 6984Date: 2009-02-10 21:48:05 +0200 6985 6986 Added resource files for the Windows build. 6987 6988 windows/Makefile | 37 ++++++++++++++++++++++--------------- 6989 windows/common.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 6990 windows/liblzma.rc | 5 +++++ 6991 windows/lzmadec.rc | 5 +++++ 6992 windows/xz.rc | 5 +++++ 6993 windows/xzdec.rc | 5 +++++ 6994 6 files changed, 88 insertions(+), 15 deletions(-) 6995 6996commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476 6997Author: Lasse Collin <lasse.collin@tukaani.org> 6998Date: 2009-02-09 14:54:31 +0200 6999 7000 Let the user specify custom CFLAGS on the make command 7001 line. Previously custom CFLAGS worked only when they were 7002 passed to configure. 7003 7004 configure.ac | 58 ++++++++++++++++++++++--------------------- 7005 src/liblzma/check/Makefile.am | 2 +- 7006 2 files changed, 31 insertions(+), 29 deletions(-) 7007 7008commit 53f7598998b1860a69c51243b5d2e34623c6bf60 7009Author: Lasse Collin <lasse.collin@tukaani.org> 7010Date: 2009-02-08 21:35:11 +0200 7011 7012 Fix aliasing issue in physmem.h. 7013 7014 src/common/physmem.h | 19 ++++++++++--------- 7015 1 file changed, 10 insertions(+), 9 deletions(-) 7016 7017commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6 7018Author: Lasse Collin <lasse.collin@tukaani.org> 7019Date: 2009-02-08 18:24:50 +0200 7020 7021 Add a separate internal function to initialize the CRC32 7022 table, which is used also by LZ encoder. This was needed 7023 because calling lzma_crc32() and ignoring the result is 7024 a no-op due to lzma_attr_pure. 7025 7026 src/liblzma/check/check.h | 1 + 7027 src/liblzma/check/crc32_small.c | 10 +++++++++- 7028 src/liblzma/lz/lz_encoder.c | 4 ++-- 7029 3 files changed, 12 insertions(+), 3 deletions(-) 7030 7031commit ae1ad9af54210c9a2be336b1316532da5071516c 7032Author: Lasse Collin <lasse.collin@tukaani.org> 7033Date: 2009-02-08 18:17:05 +0200 7034 7035 Make "xz --force" to write to terminal as the error 7036 message suggests. 7037 7038 src/xz/main.c | 2 +- 7039 1 file changed, 1 insertion(+), 1 deletion(-) 7040 7041commit 79e25eded48d2fe33f31441ab7a034f902e335f8 7042Author: Lasse Collin <lasse.collin@tukaani.org> 7043Date: 2009-02-08 10:37:50 +0200 7044 7045 Support both slash and backslash as path component 7046 separator on Windows when parsing argv[0]. 7047 7048 src/xz/args.c | 9 +++++++++ 7049 1 file changed, 9 insertions(+) 7050 7051commit bc7c7109cc4410055a888c1c70cbd1c9445c4361 7052Author: Lasse Collin <lasse.collin@tukaani.org> 7053Date: 2009-02-07 23:18:13 +0200 7054 7055 Omit the wrong and (even if corrected) nowadays useless rm 7056 from autogen.sh. 7057 7058 autogen.sh | 28 ---------------------------- 7059 1 file changed, 28 deletions(-) 7060 7061commit edfc2031e56f8a2ccda063f02936b3a848d88723 7062Author: Lasse Collin <lasse.collin@tukaani.org> 7063Date: 2009-02-07 21:41:52 +0200 7064 7065 Updated THANKS. 7066 7067 THANKS | 1 + 7068 1 file changed, 1 insertion(+) 7069 7070commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3 7071Author: Lasse Collin <lasse.collin@tukaani.org> 7072Date: 2009-02-07 21:17:07 +0200 7073 7074 Make it easy to choose if command line tools should be 7075 linked statically or dynamically against liblzma. The 7076 default is still to use static liblzma, but it can now 7077 be changed by passing --enable-dynamic to configure. 7078 Thanks to Mike Frysinger for the original patch. 7079 7080 Fixed a few minor bugs in configure.ac. 7081 7082 configure.ac | 39 +++++++++++++++++++++++++++++++++++++++ 7083 src/xz/Makefile.am | 8 +++----- 7084 src/xzdec/Makefile.am | 5 +++-- 7085 3 files changed, 45 insertions(+), 7 deletions(-) 7086 7087commit 3f86532407e4ace3debb62be16035e009b56ca36 7088Author: Mike Frysinger <vapier@gentoo.org> 7089Date: 2009-02-06 23:38:39 -0500 7090 7091 add gitignore files 7092 7093 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 7094 7095 .gitignore | 32 ++++++++++++++++++++++++++++++++ 7096 m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++ 7097 po/.gitignore | 12 ++++++++++++ 7098 3 files changed, 79 insertions(+) 7099 7100commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5 7101Author: Lasse Collin <lasse.collin@tukaani.org> 7102Date: 2009-02-07 17:07:52 +0200 7103 7104 Assume 32 MiB of RAM on unsupported operating systems like 7105 the comment in hardware.c already said. 7106 7107 src/xz/hardware.c | 2 +- 7108 1 file changed, 1 insertion(+), 1 deletion(-) 7109 7110commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618 7111Author: Lasse Collin <lasse.collin@tukaani.org> 7112Date: 2009-02-07 16:26:58 +0200 7113 7114 MinGW support: Don't build fastpos_tablegen.c as part of 7115 liblzma. Build both static and dynamic liblzma, and also 7116 static and dynamic versions of the command line tools. 7117 7118 windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++++-------------- 7119 windows/README | 10 ------ 7120 2 files changed, 69 insertions(+), 33 deletions(-) 7121 7122commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45 7123Author: Lasse Collin <lasse.collin@tukaani.org> 7124Date: 2009-02-07 15:55:47 +0200 7125 7126 Support LZMA_API_STATIC in assembler files to 7127 avoid __declspec(dllexport) equivalent. 7128 7129 src/liblzma/check/crc32_x86.S | 4 ++++ 7130 src/liblzma/check/crc64_x86.S | 2 ++ 7131 2 files changed, 6 insertions(+) 7132 7133commit 3306cf3883492720b3c34baa02f4eb4227d91c73 7134Author: Lasse Collin <lasse.collin@tukaani.org> 7135Date: 2009-02-07 11:11:50 +0200 7136 7137 Introduced LZMA_API_STATIC macro, which the applications 7138 need to #define when linking against static liblzma on 7139 platforms like Windows. Most developers don't need to 7140 care about LZMA_API_STATIC at all. 7141 7142 src/liblzma/api/lzma.h | 31 ++++++++++++++++++++++++------- 7143 src/liblzma/common/common.h | 2 +- 7144 2 files changed, 25 insertions(+), 8 deletions(-) 7145 7146commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b 7147Author: Lasse Collin <lasse.collin@tukaani.org> 7148Date: 2009-02-06 16:55:45 +0200 7149 7150 Another grammar fix 7151 7152 README | 2 +- 7153 1 file changed, 1 insertion(+), 1 deletion(-) 7154 7155commit fe5434f940f75fec3611cf9d9edf78c4da8ac760 7156Author: Lasse Collin <lasse.collin@tukaani.org> 7157Date: 2009-02-06 12:30:23 +0200 7158 7159 Grammar fix in README. 7160 7161 README | 2 +- 7162 1 file changed, 1 insertion(+), 1 deletion(-) 7163 7164commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245 7165Author: Lasse Collin <lasse.collin@tukaani.org> 7166Date: 2009-02-06 10:06:32 +0200 7167 7168 Some MSYS installations (e.g. MsysGit) don't include 7169 install.exe, so don't rely on it. 7170 7171 windows/Makefile | 12 +++++++----- 7172 windows/README | 11 ++++++----- 7173 2 files changed, 13 insertions(+), 10 deletions(-) 7174 7175commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31 7176Author: Lasse Collin <lasse.collin@tukaani.org> 7177Date: 2009-02-06 09:13:15 +0200 7178 7179 Recreated the BCJ test files for x86 and SPARC. The old files 7180 were linked with crt*.o, which are copyrighted, and thus the 7181 old test files were not in the public domain as a whole. They 7182 are freely distributable though, but it is better to be careful 7183 and avoid including any copyrighted pieces in the test files. 7184 The new files are just compiled and assembled object files, 7185 and thus don't contain any copyrighted code. 7186 7187 tests/bcj_test.c | 2 +- 7188 tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes 7189 tests/compress_prepared_bcj_x86 | Bin 4649 -> 1388 bytes 7190 tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes 7191 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 716 bytes 7192 5 files changed, 1 insertion(+), 1 deletion(-) 7193 7194commit 094b1b09a531f0d201ec81f2b07346a995fd80b9 7195Author: Lasse Collin <lasse.collin@tukaani.org> 7196Date: 2009-02-05 21:21:27 +0200 7197 7198 Add the "windows" directory to EXTRA_DIST. 7199 7200 Makefile.am | 1 + 7201 1 file changed, 1 insertion(+) 7202 7203commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49 7204Author: Lasse Collin <lasse.collin@tukaani.org> 7205Date: 2009-02-05 09:17:51 +0200 7206 7207 Added initial experimental makefile for use with MinGW. 7208 7209 windows/Makefile | 253 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 7210 windows/README | 164 ++++++++++++++++++++++++++++++++++++ 7211 windows/config.h | 180 +++++++++++++++++++++++++++++++++++++++ 7212 3 files changed, 597 insertions(+) 7213 7214commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9 7215Author: Lasse Collin <lasse.collin@tukaani.org> 7216Date: 2009-02-05 09:12:57 +0200 7217 7218 Various code cleanups the the xz command line tool. 7219 It now builds with MinGW. 7220 7221 src/common/physmem.h | 13 ++++ 7222 src/xz/Makefile.am | 2 + 7223 src/xz/args.h | 8 --- 7224 src/xz/hardware.h | 10 +-- 7225 src/xz/io.c | 93 +++++++++++++++++++------- 7226 src/xz/io.h | 12 ++-- 7227 src/xz/main.c | 132 ++----------------------------------- 7228 src/xz/main.h | 22 ------- 7229 src/xz/message.c | 65 ++++++++++++++++--- 7230 src/xz/message.h | 6 -- 7231 src/xz/options.h | 8 --- 7232 src/xz/private.h | 18 ++++-- 7233 src/xz/process.h | 10 +-- 7234 src/xz/signals.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++ 7235 src/xz/signals.h | 51 +++++++++++++++ 7236 src/xz/suffix.h | 5 -- 7237 src/xz/util.c | 5 +- 7238 src/xz/util.h | 5 -- 7239 18 files changed, 399 insertions(+), 246 deletions(-) 7240 7241commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe 7242Author: Lasse Collin <lasse.collin@tukaani.org> 7243Date: 2009-02-03 12:15:17 +0200 7244 7245 Another utime() fix. 7246 7247 src/xz/io.c | 9 +++++---- 7248 1 file changed, 5 insertions(+), 4 deletions(-) 7249 7250commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca 7251Author: Lasse Collin <lasse.collin@tukaani.org> 7252Date: 2009-02-03 10:41:11 +0200 7253 7254 Fix wrong filename argument for utime() and utimes(). 7255 This doesn't affect most systems, since most systems 7256 have better functions available. 7257 7258 src/xz/io.c | 4 ++-- 7259 1 file changed, 2 insertions(+), 2 deletions(-) 7260 7261commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302 7262Author: Lasse Collin <lasse.collin@tukaani.org> 7263Date: 2009-02-02 21:19:01 +0200 7264 7265 Updated the x86 assembler code: 7266 - Use call/ret pair to get instruction pointer for PIC. 7267 - Use PIC only if PIC or __PIC__ is #defined. 7268 - The code should work on MinGW and Darwin in addition 7269 to GNU/Linux and Solaris. 7270 7271 configure.ac | 6 ---- 7272 src/liblzma/check/crc32_x86.S | 84 ++++++++++++++++++++++++++++++++++++------- 7273 src/liblzma/check/crc64_x86.S | 82 ++++++++++++++++++++++++++++++++++++------ 7274 3 files changed, 144 insertions(+), 28 deletions(-) 7275 7276commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f 7277Author: Lasse Collin <lasse.collin@tukaani.org> 7278Date: 2009-02-02 20:14:03 +0200 7279 7280 Modify LZMA_API macro so that it works on Windows with 7281 other compilers than MinGW. This may hurt readability 7282 of the API headers slightly, but I don't know any 7283 better way to do this. 7284 7285 src/liblzma/api/lzma.h | 6 ++--- 7286 src/liblzma/api/lzma/base.h | 11 ++++---- 7287 src/liblzma/api/lzma/block.h | 22 ++++++++-------- 7288 src/liblzma/api/lzma/check.h | 10 ++++---- 7289 src/liblzma/api/lzma/container.h | 22 ++++++++-------- 7290 src/liblzma/api/lzma/filter.h | 28 ++++++++++----------- 7291 src/liblzma/api/lzma/index.h | 40 +++++++++++++++--------------- 7292 src/liblzma/api/lzma/index_hash.h | 10 ++++---- 7293 src/liblzma/api/lzma/lzma.h | 6 ++--- 7294 src/liblzma/api/lzma/stream_flags.h | 10 ++++---- 7295 src/liblzma/api/lzma/version.h | 4 +-- 7296 src/liblzma/api/lzma/vli.h | 6 ++--- 7297 src/liblzma/check/check.c | 4 +-- 7298 src/liblzma/check/crc32_fast.c | 2 +- 7299 src/liblzma/check/crc32_small.c | 2 +- 7300 src/liblzma/check/crc64_fast.c | 2 +- 7301 src/liblzma/check/crc64_small.c | 2 +- 7302 src/liblzma/common/alone_decoder.c | 2 +- 7303 src/liblzma/common/alone_encoder.c | 2 +- 7304 src/liblzma/common/auto_decoder.c | 2 +- 7305 src/liblzma/common/block_buffer_decoder.c | 2 +- 7306 src/liblzma/common/block_buffer_encoder.c | 4 +-- 7307 src/liblzma/common/block_decoder.c | 2 +- 7308 src/liblzma/common/block_encoder.c | 2 +- 7309 src/liblzma/common/block_header_decoder.c | 2 +- 7310 src/liblzma/common/block_header_encoder.c | 4 +-- 7311 src/liblzma/common/block_util.c | 6 ++--- 7312 src/liblzma/common/chunk_size.c | 2 +- 7313 src/liblzma/common/common.c | 16 ++++++------ 7314 src/liblzma/common/common.h | 2 +- 7315 src/liblzma/common/easy.c | 6 ++--- 7316 src/liblzma/common/filter_buffer_decoder.c | 2 +- 7317 src/liblzma/common/filter_buffer_encoder.c | 2 +- 7318 src/liblzma/common/filter_decoder.c | 8 +++--- 7319 src/liblzma/common/filter_encoder.c | 12 ++++----- 7320 src/liblzma/common/filter_flags_decoder.c | 2 +- 7321 src/liblzma/common/filter_flags_encoder.c | 4 +-- 7322 src/liblzma/common/index.c | 32 ++++++++++++------------ 7323 src/liblzma/common/index_decoder.c | 4 +-- 7324 src/liblzma/common/index_encoder.c | 4 +-- 7325 src/liblzma/common/index_hash.c | 10 ++++---- 7326 src/liblzma/common/stream_buffer_decoder.c | 2 +- 7327 src/liblzma/common/stream_buffer_encoder.c | 4 +-- 7328 src/liblzma/common/stream_decoder.c | 2 +- 7329 src/liblzma/common/stream_encoder.c | 2 +- 7330 src/liblzma/common/stream_flags_common.c | 2 +- 7331 src/liblzma/common/stream_flags_decoder.c | 4 +-- 7332 src/liblzma/common/stream_flags_encoder.c | 4 +-- 7333 src/liblzma/common/vli_decoder.c | 2 +- 7334 src/liblzma/common/vli_encoder.c | 2 +- 7335 src/liblzma/common/vli_size.c | 2 +- 7336 src/liblzma/lz/lz_encoder.c | 2 +- 7337 src/liblzma/lzma/lzma_encoder.c | 2 +- 7338 src/liblzma/lzma/lzma_encoder_presets.c | 2 +- 7339 54 files changed, 177 insertions(+), 176 deletions(-) 7340 7341commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65 7342Author: Lasse Collin <lasse.collin@tukaani.org> 7343Date: 2009-02-01 22:40:35 +0200 7344 7345 Fix a bug in lzma_block_buffer_decode(), although this 7346 function should be rewritten anyway. 7347 7348 src/liblzma/common/block_buffer_decoder.c | 8 ++++---- 7349 1 file changed, 4 insertions(+), 4 deletions(-) 7350 7351commit 55fd41431e61fb8178858283d636b6781e33e847 7352Author: Lasse Collin <lasse.collin@tukaani.org> 7353Date: 2009-02-01 22:39:07 +0200 7354 7355 Added initial version of raw buffer-to-buffer coding 7356 functions, and cleaned up filter.h API header a little. 7357 May be very buggy, not tested yet. 7358 7359 src/liblzma/api/lzma/filter.h | 84 +++++++++++++++++++------- 7360 src/liblzma/common/Makefile.am | 2 + 7361 src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++++ 7362 src/liblzma/common/filter_buffer_encoder.c | 61 +++++++++++++++++++ 7363 4 files changed, 221 insertions(+), 20 deletions(-) 7364 7365commit 3e54ecee5cad30a5ca361a88a99230407abc0699 7366Author: Lasse Collin <lasse.collin@tukaani.org> 7367Date: 2009-02-01 00:11:20 +0200 7368 7369 Fix missing newlines in xzdec.c. 7370 7371 src/xzdec/xzdec.c | 6 +++--- 7372 1 file changed, 3 insertions(+), 3 deletions(-) 7373 7374commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35 7375Author: Lasse Collin <lasse.collin@tukaani.org> 7376Date: 2009-02-01 00:10:07 +0200 7377 7378 Use __cdecl also for function pointers in liblzma API when 7379 on Windows. 7380 7381 src/liblzma/api/lzma.h | 18 +++++++++++------- 7382 src/liblzma/api/lzma/base.h | 4 ++-- 7383 src/liblzma/common/common.h | 18 +++++++----------- 7384 3 files changed, 20 insertions(+), 20 deletions(-) 7385 7386commit 6a2eb54092fc625d59921a607ff68cd1a90aa898 7387Author: Lasse Collin <lasse.collin@tukaani.org> 7388Date: 2009-01-31 11:01:48 +0200 7389 7390 Add LZMA_API to liblzma API headers. It's useful at least 7391 on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h 7392 has to be #included separately where needed. 7393 7394 src/common/sysdefs.h | 2 -- 7395 src/liblzma/api/lzma.h | 17 ++++++++++++++ 7396 src/liblzma/api/lzma/base.h | 10 ++++---- 7397 src/liblzma/api/lzma/block.h | 25 +++++++++++--------- 7398 src/liblzma/api/lzma/check.h | 12 ++++++---- 7399 src/liblzma/api/lzma/container.h | 23 +++++++++--------- 7400 src/liblzma/api/lzma/filter.h | 24 +++++++++---------- 7401 src/liblzma/api/lzma/index.h | 47 +++++++++++++++++++++---------------- 7402 src/liblzma/api/lzma/index_hash.h | 11 +++++---- 7403 src/liblzma/api/lzma/lzma.h | 8 ++++--- 7404 src/liblzma/api/lzma/stream_flags.h | 10 ++++---- 7405 src/liblzma/api/lzma/version.h | 4 ++-- 7406 src/liblzma/api/lzma/vli.h | 10 ++++---- 7407 src/liblzma/common/common.h | 13 ++++++++-- 7408 src/xz/private.h | 1 + 7409 src/xzdec/xzdec.c | 1 + 7410 tests/tests.h | 1 + 7411 17 files changed, 131 insertions(+), 88 deletions(-) 7412 7413commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b 7414Author: Lasse Collin <lasse.collin@tukaani.org> 7415Date: 2009-01-31 10:13:09 +0200 7416 7417 Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. 7418 7419 src/xzdec/xzdec.c | 4 ++-- 7420 1 file changed, 2 insertions(+), 2 deletions(-) 7421 7422commit 2dbdc5befb33c3703e4609809101047c67caf343 7423Author: Lasse Collin <lasse.collin@tukaani.org> 7424Date: 2009-01-31 10:02:52 +0200 7425 7426 Fix two lines in lzma.h on which the # wasn't at the 7427 beginning of the line. 7428 7429 src/liblzma/api/lzma.h | 4 ++-- 7430 1 file changed, 2 insertions(+), 2 deletions(-) 7431 7432commit 4ab760109106dc04f39dd81c97d50f528d1b51c1 7433Author: Lasse Collin <lasse.collin@tukaani.org> 7434Date: 2009-01-31 09:55:05 +0200 7435 7436 Add support for using liblzma headers in MSVC, which has no 7437 stdint.h or inttypes.h. 7438 7439 src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++++----------------- 7440 1 file changed, 46 insertions(+), 24 deletions(-) 7441 7442commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9 7443Author: Lasse Collin <lasse.collin@tukaani.org> 7444Date: 2009-01-31 08:49:54 +0200 7445 7446 Fix # -> ## in a macro in lzma.h. 7447 7448 src/liblzma/api/lzma.h | 2 +- 7449 1 file changed, 1 insertion(+), 1 deletion(-) 7450 7451commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208 7452Author: Lasse Collin <lasse.collin@tukaani.org> 7453Date: 2009-01-30 18:50:16 +0200 7454 7455 Updated README. 7456 7457 README | 30 ++++++++++++++++++++---------- 7458 1 file changed, 20 insertions(+), 10 deletions(-) 7459 7460commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb 7461Author: Lasse Collin <lasse.collin@tukaani.org> 7462Date: 2009-01-30 00:29:58 +0200 7463 7464 Remove dangling crc64_init.c. 7465 7466 src/liblzma/check/crc64_init.c | 55 ------------------------------------------ 7467 1 file changed, 55 deletions(-) 7468 7469commit 982da7ed314398420c38bf154a8f759d5f18b480 7470Author: Lasse Collin <lasse.collin@tukaani.org> 7471Date: 2009-01-28 17:16:38 +0200 7472 7473 The .xz file format specification version 1.0.0 is now 7474 officially released. The format has been technically the same 7475 since 2008-11-19, but now that it is frozen, people can start 7476 using it without a fear that the format will break. 7477 7478 doc/file-format.txt | 84 +++++++++++++++++++++++++++++++---------------------- 7479 1 file changed, 49 insertions(+), 35 deletions(-) 7480 7481commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f 7482Author: Lasse Collin <lasse.collin@tukaani.org> 7483Date: 2009-01-28 08:45:59 +0200 7484 7485 Updated THANKS. 7486 7487 THANKS | 1 + 7488 1 file changed, 1 insertion(+) 7489 7490commit 3241317093595db9f79104faafe93cb989c9f858 7491Author: Lasse Collin <lasse.collin@tukaani.org> 7492Date: 2009-01-28 08:43:26 +0200 7493 7494 Fix uninitialized variables in alone_decoder.c. This bug was 7495 triggered by the previous commit, since these variables were 7496 not used by anything before support for a preset dictionary. 7497 7498 src/liblzma/common/alone_decoder.c | 2 ++ 7499 1 file changed, 2 insertions(+) 7500 7501commit f76e39cf930f888d460b443d18f977ebedea8b2a 7502Author: Lasse Collin <lasse.collin@tukaani.org> 7503Date: 2009-01-27 18:36:05 +0200 7504 7505 Added initial support for preset dictionary for raw LZMA1 7506 and LZMA2. It is not supported by the .xz format or the xz 7507 command line tool yet. 7508 7509 src/liblzma/lz/lz_decoder.c | 35 +++++++++++++++++++++++++---------- 7510 src/liblzma/lz/lz_decoder.h | 9 ++++++++- 7511 src/liblzma/lz/lz_encoder.c | 18 ++++++++++++++++-- 7512 src/liblzma/lzma/lzma2_decoder.c | 9 ++++++--- 7513 src/liblzma/lzma/lzma2_encoder.c | 12 +++++++----- 7514 src/liblzma/lzma/lzma_decoder.c | 10 ++++++---- 7515 src/liblzma/lzma/lzma_decoder.h | 2 +- 7516 src/liblzma/lzma/lzma_encoder.c | 9 ++++++++- 7517 8 files changed, 77 insertions(+), 27 deletions(-) 7518 7519commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3 7520Author: Lasse Collin <lasse.collin@tukaani.org> 7521Date: 2009-01-26 20:09:17 +0200 7522 7523 Regenerate the CRC tables without trailing blanks. 7524 7525 src/liblzma/check/crc32_table_be.h | 1008 +++++++++++++++++------------------ 7526 src/liblzma/check/crc32_table_le.h | 1008 +++++++++++++++++------------------ 7527 src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------ 7528 src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------ 7529 4 files changed, 2024 insertions(+), 2024 deletions(-) 7530 7531commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2 7532Author: Jim Meyering <meyering@redhat.com> 7533Date: 2009-01-19 21:37:16 +0100 7534 7535 remove trailing blanks from all but .xz files 7536 7537 debug/known_sizes.c | 2 +- 7538 extra/scanlzma/scanlzma.c | 5 ++--- 7539 src/liblzma/check/crc32_tablegen.c | 2 +- 7540 src/liblzma/check/crc64_tablegen.c | 2 +- 7541 src/scripts/lzdiff.1 | 4 ++-- 7542 src/scripts/lzmore.1 | 6 +++--- 7543 tests/test_compress.sh | 4 ++-- 7544 7 files changed, 12 insertions(+), 13 deletions(-) 7545 7546commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5 7547Author: Lasse Collin <lasse.collin@tukaani.org> 7548Date: 2009-01-26 14:34:10 +0200 7549 7550 Add lzma_block_buffer_decode(). 7551 7552 src/liblzma/api/lzma/block.h | 41 +++++++++++++++ 7553 src/liblzma/common/Makefile.am | 1 + 7554 src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++++ 7555 3 files changed, 129 insertions(+) 7556 7557commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d 7558Author: Lasse Collin <lasse.collin@tukaani.org> 7559Date: 2009-01-26 14:33:28 +0200 7560 7561 Add more sanity checks to lzma_stream_buffer_decode(). 7562 7563 src/liblzma/common/stream_buffer_decoder.c | 7 +++++++ 7564 1 file changed, 7 insertions(+) 7565 7566commit c129748675a5daa8838df92bde32cc04f6ce61ba 7567Author: Lasse Collin <lasse.collin@tukaani.org> 7568Date: 2009-01-26 14:33:13 +0200 7569 7570 Avoid hardcoded constant in easy.c. 7571 7572 src/liblzma/common/easy.c | 2 +- 7573 1 file changed, 1 insertion(+), 1 deletion(-) 7574 7575commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6 7576Author: Lasse Collin <lasse.collin@tukaani.org> 7577Date: 2009-01-26 13:06:49 +0200 7578 7579 Tiny bit better sanity check in block_util.c 7580 7581 src/liblzma/common/block_util.c | 2 +- 7582 1 file changed, 1 insertion(+), 1 deletion(-) 7583 7584commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7 7585Author: Lasse Collin <lasse.collin@tukaani.org> 7586Date: 2009-01-25 01:35:56 +0200 7587 7588 Fix a dumb bug in Block decoder, which made it return 7589 LZMA_DATA_ERROR with valid data. The bug was added in 7590 e114502b2bc371e4a45449832cb69be036360722. 7591 7592 src/liblzma/common/block_decoder.c | 6 +++--- 7593 1 file changed, 3 insertions(+), 3 deletions(-) 7594 7595commit c81f13ff29271de7293f8af3d81848b1dcae3d19 7596Author: Lasse Collin <lasse.collin@tukaani.org> 7597Date: 2009-01-23 22:27:50 +0200 7598 7599 Added lzma_stream_buffer_decode() and made minor cleanups. 7600 7601 src/liblzma/api/lzma/block.h | 3 +- 7602 src/liblzma/api/lzma/container.h | 51 ++++++++++++++++- 7603 src/liblzma/common/Makefile.am | 1 + 7604 src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++++ 7605 4 files changed, 144 insertions(+), 2 deletions(-) 7606 7607commit 0b3318661ce749550b8531dfd469639a08930391 7608Author: Lasse Collin <lasse.collin@tukaani.org> 7609Date: 2009-01-22 12:53:33 +0200 7610 7611 Fix a comment. 7612 7613 src/liblzma/common/common.h | 2 +- 7614 1 file changed, 1 insertion(+), 1 deletion(-) 7615 7616commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec 7617Author: Lasse Collin <lasse.collin@tukaani.org> 7618Date: 2009-01-20 16:37:27 +0200 7619 7620 Add some single-call buffer-to-buffer coding functions. 7621 7622 src/liblzma/api/lzma/block.h | 57 ++++++ 7623 src/liblzma/api/lzma/container.h | 56 ++++++ 7624 src/liblzma/api/lzma/index.h | 70 ++++++- 7625 src/liblzma/common/Makefile.am | 2 + 7626 src/liblzma/common/block_buffer_encoder.c | 305 +++++++++++++++++++++++++++++ 7627 src/liblzma/common/index_decoder.c | 83 ++++++-- 7628 src/liblzma/common/index_encoder.c | 59 +++++- 7629 src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++ 7630 tests/test_index.c | 24 +++ 7631 9 files changed, 768 insertions(+), 26 deletions(-) 7632 7633commit d8b58d099340f8f4007b24b211ee41a7210c061c 7634Author: Lasse Collin <lasse.collin@tukaani.org> 7635Date: 2009-01-20 13:45:41 +0200 7636 7637 Block encoder cleanups 7638 7639 src/liblzma/common/block_encoder.c | 28 +++++++--------------------- 7640 src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++ 7641 2 files changed, 32 insertions(+), 21 deletions(-) 7642 7643commit 0c09810cb3635cb575cb54e694d41523e7d0a335 7644Author: Lasse Collin <lasse.collin@tukaani.org> 7645Date: 2009-01-20 10:35:15 +0200 7646 7647 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h. 7648 7649 src/liblzma/common/common.c | 24 ++++++++---------------- 7650 1 file changed, 8 insertions(+), 16 deletions(-) 7651 7652commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00 7653Author: Lasse Collin <lasse.collin@tukaani.org> 7654Date: 2009-01-19 22:53:18 +0200 7655 7656 Fix handling of non-fatal errors in lzma_code(). 7657 7658 src/liblzma/common/common.c | 9 ++++++++- 7659 1 file changed, 8 insertions(+), 1 deletion(-) 7660 7661commit 4810b6bc25087be872960b9dd1d11ff07735dc88 7662Author: Lasse Collin <lasse.collin@tukaani.org> 7663Date: 2009-01-19 14:00:33 +0200 7664 7665 Move some LZMA2 constants to lzma2_encoder.h so that they 7666 can be used outside lzma2_encoder.c. 7667 7668 src/liblzma/lzma/lzma2_encoder.c | 13 ------------- 7669 src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++ 7670 src/liblzma/lzma/lzma_encoder.c | 3 ++- 7671 3 files changed, 16 insertions(+), 14 deletions(-) 7672 7673commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4 7674Author: Lasse Collin <lasse.collin@tukaani.org> 7675Date: 2009-01-19 13:52:36 +0200 7676 7677 Remove dead code. 7678 7679 src/liblzma/lzma/lzma_encoder.h | 8 -------- 7680 1 file changed, 8 deletions(-) 7681 7682commit 128586213f77c9bd82b7e9a62927f6d0c3769d85 7683Author: Lasse Collin <lasse.collin@tukaani.org> 7684Date: 2009-01-17 14:24:25 +0200 7685 7686 Beta was supposed to be API stable but I had forgot to rename 7687 lzma_memlimit_encoder and lzma_memlimit_decoder to 7688 lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-( 7689 Now it is fixed. Hopefully it doesn't cause too much trouble 7690 to those who already thought API is stable. 7691 7692 src/liblzma/api/lzma/filter.h | 4 ++-- 7693 src/liblzma/common/easy.c | 4 ++-- 7694 src/liblzma/common/filter_common.c | 2 +- 7695 src/liblzma/common/filter_common.h | 2 +- 7696 src/liblzma/common/filter_decoder.c | 4 ++-- 7697 src/liblzma/common/filter_encoder.c | 4 ++-- 7698 src/liblzma/common/stream_decoder.c | 2 +- 7699 src/xz/process.c | 6 +++--- 7700 8 files changed, 14 insertions(+), 14 deletions(-) 7701 7702commit b056379490be5c584c264a967f0540041a163a1e 7703Author: Lasse Collin <lasse.collin@tukaani.org> 7704Date: 2009-01-15 14:29:22 +0200 7705 7706 Updated THANKS. 7707 7708 THANKS | 1 + 7709 1 file changed, 1 insertion(+) 7710 7711commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89 7712Author: Lasse Collin <lasse.collin@tukaani.org> 7713Date: 2009-01-15 14:27:32 +0200 7714 7715 Fixed a bug in 7z2lzma.bash to make it work with .7z files 7716 that use something else than 2^n as the dictionary size. 7717 Thanks to Dan Shechter for the bug report. 7718 7719 extra/7z2lzma/7z2lzma.bash | 47 +++++++++++++++++++++++----------------------- 7720 1 file changed, 24 insertions(+), 23 deletions(-) 7721 7722commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2 7723Author: Lasse Collin <lasse.collin@tukaani.org> 7724Date: 2009-01-07 18:41:15 +0200 7725 7726 Use pthread_sigmask() instead of sigprocmask() when pthreads 7727 are enabled. 7728 7729 src/common/mythread.h | 6 ++++++ 7730 src/xz/main.c | 4 ++-- 7731 src/xz/private.h | 1 + 7732 3 files changed, 9 insertions(+), 2 deletions(-) 7733 7734commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9 7735Author: Lasse Collin <lasse.collin@tukaani.org> 7736Date: 2008-12-31 20:01:00 +0200 7737 7738 Bumped version to 4.999.8beta right after the release 7739 of 4.999.7beta. 7740 7741 configure.ac | 2 +- 7742 src/liblzma/api/lzma/version.h | 2 +- 7743 2 files changed, 2 insertions(+), 2 deletions(-) 7744 7745commit 061748f5932719643cda73383db715167d543c22 7746Author: Lasse Collin <lasse.collin@tukaani.org> 7747Date: 2008-12-31 18:59:02 +0200 7748 7749 Disable Subblock filter from test_compress.sh since it is 7750 disabled by default in configure.ac. 7751 7752 tests/test_compress.sh | 22 +++++++++++++--------- 7753 1 file changed, 13 insertions(+), 9 deletions(-) 7754 7755commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78 7756Author: Lasse Collin <lasse.collin@tukaani.org> 7757Date: 2008-12-31 17:44:20 +0200 7758 7759 Disable both Subblock encoder and decoder my default, 7760 since they are not finished and may have security issues too. 7761 7762 configure.ac | 2 +- 7763 1 file changed, 1 insertion(+), 1 deletion(-) 7764 7765commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88 7766Author: Lasse Collin <lasse.collin@tukaani.org> 7767Date: 2008-12-31 17:42:50 +0200 7768 7769 Update some files in debug directory. 7770 7771 debug/full_flush.c | 2 -- 7772 debug/memusage.c | 2 -- 7773 debug/sync_flush.c | 2 -- 7774 3 files changed, 6 deletions(-) 7775 7776commit d1d17a40d33a9682424ca37282813492f2cba6d0 7777Author: Lasse Collin <lasse.collin@tukaani.org> 7778Date: 2008-12-31 17:41:46 +0200 7779 7780 Prepare for 4.999.7beta release. 7781 7782 AUTHORS | 4 ++-- 7783 README | 34 +++++++++++++++++----------------- 7784 configure.ac | 4 ++-- 7785 src/liblzma/api/lzma/version.h | 2 +- 7786 4 files changed, 22 insertions(+), 22 deletions(-) 7787 7788commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3 7789Author: Lasse Collin <lasse.collin@tukaani.org> 7790Date: 2008-12-31 17:15:03 +0200 7791 7792 Cleaned up some comments in the API headers. 7793 7794 src/liblzma/api/lzma/check.h | 23 +++++++++++------------ 7795 src/liblzma/api/lzma/container.h | 2 +- 7796 src/liblzma/api/lzma/version.h | 4 +++- 7797 3 files changed, 15 insertions(+), 14 deletions(-) 7798 7799commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40 7800Author: Lasse Collin <lasse.collin@tukaani.org> 7801Date: 2008-12-31 16:29:39 +0200 7802 7803 Renamed lzma_options_simple to lzma_options_bcj in the API. 7804 The internal implementation is still using the name "simple". 7805 It may need some cleanups, so I look at it later. 7806 7807 src/liblzma/api/Makefile.am | 2 +- 7808 src/liblzma/api/lzma.h | 2 +- 7809 src/liblzma/api/lzma/bcj.h | 94 +++++++++++++++++++++++++++++++++++++ 7810 src/liblzma/api/lzma/simple.h | 94 ------------------------------------- 7811 src/liblzma/simple/simple_coder.c | 2 +- 7812 src/liblzma/simple/simple_decoder.c | 4 +- 7813 src/liblzma/simple/simple_encoder.c | 4 +- 7814 tests/test_filter_flags.c | 8 ++-- 7815 8 files changed, 105 insertions(+), 105 deletions(-) 7816 7817commit 7eea8bec3abfed883efba66264a1452a1c04f6b0 7818Author: Lasse Collin <lasse.collin@tukaani.org> 7819Date: 2008-12-31 00:57:27 +0200 7820 7821 Fixed missing quoting in configure.ac. 7822 7823 configure.ac | 38 +++++++++++++++++++------------------- 7824 1 file changed, 19 insertions(+), 19 deletions(-) 7825 7826commit 28e75f7086dbe9501d926c370375c69dfb1236ce 7827Author: Lasse Collin <lasse.collin@tukaani.org> 7828Date: 2008-12-31 00:48:23 +0200 7829 7830 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which 7831 should have been in the previous commit. 7832 7833 src/liblzma/Makefile.am | 4 ++-- 7834 1 file changed, 2 insertions(+), 2 deletions(-) 7835 7836commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90 7837Author: Lasse Collin <lasse.collin@tukaani.org> 7838Date: 2008-12-31 00:30:49 +0200 7839 7840 Remove lzma_init() and other init functions from liblzma API. 7841 Half of developers were already forgetting to use these 7842 functions, which could have caused total breakage in some future 7843 liblzma version or even now if --enable-small was used. Now 7844 liblzma uses pthread_once() to do the initializations unless 7845 it has been built with --disable-threads which make these 7846 initializations thread-unsafe. 7847 7848 When --enable-small isn't used, liblzma currently gets needlessly 7849 linked against libpthread (on systems that have it). While it is 7850 stupid for now, liblzma will need threads in future anyway, so 7851 this stupidity will be temporary only. 7852 7853 When --enable-small is used, different code CRC32 and CRC64 is 7854 now used than without --enable-small. This made the resulting 7855 binary slightly smaller, but the main reason was to clean it up 7856 and to handle the lack of lzma_init_check(). 7857 7858 The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not 7859 sure if it works correctly and portably for static linking 7860 (Libs.private includes -pthread or other operating system 7861 specific flags). Hopefully someone complains if it is bad. 7862 7863 lzma_rc_prices[] is now included as a precomputed array even 7864 with --enable-small. It's just 128 bytes now that it uses uint8_t 7865 instead of uint32_t. Smaller array seemed to be at least as fast 7866 as the more bloated uint32_t array on x86; hopefully it's not bad 7867 on other architectures. 7868 7869 configure.ac | 29 ++++++++-- 7870 src/common/mythread.h | 34 ++++++++++++ 7871 src/liblzma/api/Makefile.am | 1 - 7872 src/liblzma/api/lzma.h | 1 - 7873 src/liblzma/api/lzma/init.h | 85 ----------------------------- 7874 src/liblzma/check/Makefile.am | 29 ++++------ 7875 src/liblzma/check/check.c | 10 ++-- 7876 src/liblzma/check/check.h | 25 ++++----- 7877 src/liblzma/check/check_init.c | 37 ------------- 7878 src/liblzma/check/crc32.c | 88 ------------------------------- 7879 src/liblzma/check/crc32_fast.c | 88 +++++++++++++++++++++++++++++++ 7880 src/liblzma/check/crc32_init.c | 55 ------------------- 7881 src/liblzma/check/crc32_small.c | 54 +++++++++++++++++++ 7882 src/liblzma/check/crc32_tablegen.c | 55 ++++++++++++++++--- 7883 src/liblzma/check/crc64.c | 75 -------------------------- 7884 src/liblzma/check/crc64_fast.c | 75 ++++++++++++++++++++++++++ 7885 src/liblzma/check/crc64_small.c | 54 +++++++++++++++++++ 7886 src/liblzma/check/crc64_tablegen.c | 55 ++++++++++++++++--- 7887 src/liblzma/common/Makefile.am | 3 -- 7888 src/liblzma/common/common.h | 1 + 7889 src/liblzma/common/init.c | 39 -------------- 7890 src/liblzma/common/init_decoder.c | 31 ----------- 7891 src/liblzma/common/init_encoder.c | 40 -------------- 7892 src/liblzma/liblzma.pc.in | 12 +++++ 7893 src/liblzma/lz/lz_encoder.c | 6 +++ 7894 src/liblzma/lzma.pc.in | 11 ---- 7895 src/liblzma/rangecoder/Makefile.am | 8 +-- 7896 src/liblzma/rangecoder/price.h | 16 +----- 7897 src/liblzma/rangecoder/price_table.c | 2 +- 7898 src/liblzma/rangecoder/price_table_init.c | 55 ------------------- 7899 src/liblzma/rangecoder/price_tablegen.c | 51 +++++++++++++++--- 7900 src/xz/Makefile.am | 5 +- 7901 src/xz/main.c | 3 -- 7902 src/xzdec/xzdec.c | 3 -- 7903 tests/test_block_header.c | 1 - 7904 tests/test_check.c | 2 - 7905 tests/test_filter_flags.c | 2 - 7906 tests/test_index.c | 2 - 7907 tests/test_stream_flags.c | 2 - 7908 tests/tests.h | 2 +- 7909 40 files changed, 519 insertions(+), 628 deletions(-) 7910 7911commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2 7912Author: Lasse Collin <lasse.collin@tukaani.org> 7913Date: 2008-12-27 19:40:31 +0200 7914 7915 Use 28 MiB as memory usage limit for encoding in test_compress.sh. 7916 7917 tests/test_compress.sh | 2 +- 7918 1 file changed, 1 insertion(+), 1 deletion(-) 7919 7920commit 050eb14d29e2537c014662e83599fd8a77f13c45 7921Author: Lasse Collin <lasse.collin@tukaani.org> 7922Date: 2008-12-27 19:32:20 +0200 7923 7924 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680 7925 that was related to LZMA_MODE_FAST. The original code is slightly 7926 faster although it compresses slightly worse. But since it is fast 7927 mode, it is better to select the faster version. 7928 7929 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++--------------- 7930 1 file changed, 8 insertions(+), 15 deletions(-) 7931 7932commit 4820f10d0f173864f6a2ea7479663b509ac53358 7933Author: Lasse Collin <lasse.collin@tukaani.org> 7934Date: 2008-12-27 19:30:19 +0200 7935 7936 Some xz command line tool improvements. 7937 7938 src/xz/args.c | 23 +++++----- 7939 src/xz/message.c | 4 +- 7940 src/xz/options.c | 2 +- 7941 src/xz/process.c | 133 +++++++++++++++++++++++++++++++++++++++++++------------ 7942 src/xz/process.h | 3 ++ 7943 5 files changed, 121 insertions(+), 44 deletions(-) 7944 7945commit e33194e79d8f5ce07cb4aca909b324ae75098f7e 7946Author: Lasse Collin <lasse.collin@tukaani.org> 7947Date: 2008-12-27 19:27:49 +0200 7948 7949 Bunch of liblzma tweaks, including some API changes. 7950 The API and ABI should now be very close to stable, 7951 although the code behind it isn't yet. 7952 7953 src/liblzma/api/lzma.h | 8 ++-- 7954 src/liblzma/api/lzma/block.h | 63 ++++++++++++++++++++++++- 7955 src/liblzma/api/lzma/container.h | 76 +++++++++++++++---------------- 7956 src/liblzma/api/lzma/lzma.h | 41 +++++++++-------- 7957 src/liblzma/common/alone_decoder.c | 36 +++++++-------- 7958 src/liblzma/common/alone_encoder.c | 22 ++++----- 7959 src/liblzma/common/auto_decoder.c | 2 +- 7960 src/liblzma/common/block_decoder.c | 54 +++++++++++----------- 7961 src/liblzma/common/block_decoder.h | 4 +- 7962 src/liblzma/common/block_encoder.c | 37 ++++++++------- 7963 src/liblzma/common/block_encoder.h | 4 +- 7964 src/liblzma/common/block_header_decoder.c | 41 +++++++++-------- 7965 src/liblzma/common/block_header_encoder.c | 51 ++++++++++----------- 7966 src/liblzma/common/block_util.c | 3 +- 7967 src/liblzma/common/easy.c | 45 ++++++------------ 7968 src/liblzma/common/stream_decoder.c | 3 +- 7969 src/liblzma/common/stream_decoder.h | 2 +- 7970 src/liblzma/common/stream_encoder.c | 3 +- 7971 src/liblzma/common/stream_encoder.h | 2 +- 7972 src/liblzma/common/stream_flags_decoder.c | 2 +- 7973 src/liblzma/common/stream_flags_encoder.c | 2 +- 7974 src/liblzma/lzma/lzma_encoder.c | 2 +- 7975 src/liblzma/lzma/lzma_encoder_presets.c | 53 +++++++-------------- 7976 23 files changed, 294 insertions(+), 262 deletions(-) 7977 7978commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074 7979Author: Lasse Collin <lasse.collin@tukaani.org> 7980Date: 2008-12-18 13:42:52 +0200 7981 7982 Updated Makefile.am that was missing from the previous commit. 7983 7984 src/liblzma/common/Makefile.am | 1 - 7985 1 file changed, 1 deletion(-) 7986 7987commit 634636fa56ccee6e744f78b0abed76c8940f2f8f 7988Author: Lasse Collin <lasse.collin@tukaani.org> 7989Date: 2008-12-17 21:49:53 +0200 7990 7991 Remove the alignment functions for now. Maybe they will 7992 be added back in some form later, but the current version 7993 wasn't modular, so it would need fixing anyway. 7994 7995 src/liblzma/api/Makefile.am | 1 - 7996 src/liblzma/api/lzma.h | 1 - 7997 src/liblzma/api/lzma/alignment.h | 60 --------------------- 7998 src/liblzma/common/alignment.c | 114 --------------------------------------- 7999 4 files changed, 176 deletions(-) 8000 8001commit 4fed98417d1687f5eccccb42a133fde3ec81216a 8002Author: Lasse Collin <lasse.collin@tukaani.org> 8003Date: 2008-12-17 20:11:23 +0200 8004 8005 xz message handling improvements 8006 8007 src/xz/message.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 8008 src/xz/message.h | 7 +++- 8009 src/xz/process.c | 28 ++++++++++++- 8010 3 files changed, 146 insertions(+), 14 deletions(-) 8011 8012commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d 8013Author: Lasse Collin <lasse.collin@tukaani.org> 8014Date: 2008-12-15 23:26:43 +0200 8015 8016 Fix a dumb bug in .lzma decoder which was introduced in 8017 the previous commit. (Probably the previous commit has 8018 other bugs too, it wasn't tested.) 8019 8020 src/liblzma/common/alone_decoder.c | 29 ++++++++++++++--------------- 8021 1 file changed, 14 insertions(+), 15 deletions(-) 8022 8023commit 671a5adf1e844bfdd6fd327016c3c28694493158 8024Author: Lasse Collin <lasse.collin@tukaani.org> 8025Date: 2008-12-15 19:39:13 +0200 8026 8027 Bunch of liblzma API cleanups and fixes. 8028 8029 src/liblzma/api/lzma.h | 122 +++++++++++---------- 8030 src/liblzma/api/lzma/base.h | 174 ++++++++++++++++++----------- 8031 src/liblzma/api/lzma/block.h | 211 +++++++++++++++++++++++------------- 8032 src/liblzma/api/lzma/check.h | 28 ++--- 8033 src/liblzma/api/lzma/container.h | 155 +++++++++++++------------- 8034 src/liblzma/api/lzma/delta.h | 12 +- 8035 src/liblzma/api/lzma/filter.h | 27 +++-- 8036 src/liblzma/api/lzma/index.h | 97 ++++++++++++++--- 8037 src/liblzma/api/lzma/index_hash.h | 26 +++-- 8038 src/liblzma/api/lzma/init.h | 2 +- 8039 src/liblzma/api/lzma/lzma.h | 12 +- 8040 src/liblzma/api/lzma/simple.h | 4 +- 8041 src/liblzma/api/lzma/stream_flags.h | 46 +++++--- 8042 src/liblzma/api/lzma/version.h | 6 +- 8043 src/liblzma/api/lzma/vli.h | 17 ++- 8044 src/liblzma/common/alone_decoder.c | 47 +++++--- 8045 src/liblzma/common/auto_decoder.c | 29 +++++ 8046 src/liblzma/common/block_util.c | 52 +++++---- 8047 src/liblzma/common/common.c | 58 ++++++++++ 8048 src/liblzma/common/common.h | 9 +- 8049 src/liblzma/common/easy.c | 33 ++++-- 8050 src/liblzma/common/filter_common.c | 2 +- 8051 src/liblzma/common/index.c | 11 ++ 8052 src/liblzma/common/index_decoder.c | 46 ++++++-- 8053 src/liblzma/common/stream_decoder.c | 47 ++++++-- 8054 src/liblzma/lzma/lzma2_encoder.c | 6 +- 8055 tests/test_index.c | 10 +- 8056 27 files changed, 863 insertions(+), 426 deletions(-) 8057 8058commit 17781c2c20fd77029cb32e77792889f2f211d69d 8059Author: Lasse Collin <lasse.collin@tukaani.org> 8060Date: 2008-12-15 14:26:52 +0200 8061 8062 The LZMA2 decoder fix introduced a bug to LZ decoder, 8063 which made LZ decoder return too early after dictionary 8064 reset. This fixes it. 8065 8066 src/liblzma/lz/lz_decoder.c | 33 +++++++++++++++++++++++---------- 8067 1 file changed, 23 insertions(+), 10 deletions(-) 8068 8069commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8 8070Author: Lasse Collin <lasse.collin@tukaani.org> 8071Date: 2008-12-15 11:20:22 +0200 8072 8073 Added two new test files. 8074 8075 tests/files/README | 7 +++++++ 8076 tests/files/bad-1-lzma2-8.xz | Bin 0 -> 464 bytes 8077 tests/files/good-1-lzma2-4.xz | Bin 0 -> 464 bytes 8078 3 files changed, 7 insertions(+) 8079 8080commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf 8081Author: Lasse Collin <lasse.collin@tukaani.org> 8082Date: 2008-12-15 10:01:59 +0200 8083 8084 Fix data corruption in LZMA2 decoder. 8085 8086 src/liblzma/lz/lz_decoder.c | 17 ++++++++++++++++- 8087 src/liblzma/lz/lz_decoder.h | 8 +++++--- 8088 src/liblzma/lzma/lzma2_decoder.c | 15 +++++++++++---- 8089 3 files changed, 32 insertions(+), 8 deletions(-) 8090 8091commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613 8092Author: Lasse Collin <lasse.collin@tukaani.org> 8093Date: 2008-12-13 00:54:11 +0200 8094 8095 Name the package "xz" in configure.ac. 8096 8097 configure.ac | 11 ++++------- 8098 1 file changed, 4 insertions(+), 7 deletions(-) 8099 8100commit a94bf00d0af9b423851905b031be5a645a657820 8101Author: Lasse Collin <lasse.collin@tukaani.org> 8102Date: 2008-12-12 22:43:21 +0200 8103 8104 Some adjustments to GCC warning flags. The important change 8105 is the removal of -pedantic. It messes up -Werror (which I 8106 really want to keep so that I don't miss any warnings) with 8107 printf format strings that are in POSIX but not in C99. 8108 8109 configure.ac | 8 +++++--- 8110 1 file changed, 5 insertions(+), 3 deletions(-) 8111 8112commit 8582d392baacd2cdac07ca60041f8c661323676d 8113Author: Lasse Collin <lasse.collin@tukaani.org> 8114Date: 2008-12-10 01:31:00 +0200 8115 8116 Remove obsolete comment. 8117 8118 src/xz/message.c | 1 - 8119 1 file changed, 1 deletion(-) 8120 8121commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1 8122Author: Lasse Collin <lasse.collin@tukaani.org> 8123Date: 2008-12-10 01:27:15 +0200 8124 8125 Use "decompression" consistently in --long-help. 8126 8127 src/xz/message.c | 2 +- 8128 1 file changed, 1 insertion(+), 1 deletion(-) 8129 8130commit 1ea9e7f15afd5d3981e2432710e932320597bca9 8131Author: Lasse Collin <lasse.collin@tukaani.org> 8132Date: 2008-12-10 01:23:58 +0200 8133 8134 Added preset=NUM to --lzma1 and --lzma2. This makes it easy 8135 to take a preset as a template and modify it a little. 8136 8137 src/xz/message.c | 1 + 8138 src/xz/options.c | 8 ++++++++ 8139 2 files changed, 9 insertions(+) 8140 8141commit bceb3918dbb21f34976bfdd4c171a81319de71f7 8142Author: Lasse Collin <lasse.collin@tukaani.org> 8143Date: 2008-12-09 17:43:31 +0200 8144 8145 Put the file format specification into the public domain. 8146 Same will be done to the actual code later. 8147 8148 doc/file-format.txt | 24 +++++++++--------------- 8149 1 file changed, 9 insertions(+), 15 deletions(-) 8150 8151commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6 8152Author: Lasse Collin <lasse.collin@tukaani.org> 8153Date: 2008-12-09 17:41:49 +0200 8154 8155 Make the memusage functions of LZMA1 and LZMA2 encoders 8156 to validate the filter options. Add missing validation 8157 to LZMA2 encoder when options are changed in the middle 8158 of encoding. 8159 8160 src/liblzma/lzma/lzma2_encoder.c | 5 ++++- 8161 src/liblzma/lzma/lzma_encoder.c | 44 +++++++++++++++++++++++++++------------- 8162 src/liblzma/lzma/lzma_encoder.h | 2 +- 8163 3 files changed, 35 insertions(+), 16 deletions(-) 8164 8165commit f20a03206b71ff01b827bb7a932411d6a6a4e06a 8166Author: Lasse Collin <lasse.collin@tukaani.org> 8167Date: 2008-12-09 10:36:24 +0200 8168 8169 Updated THANKS. 8170 8171 THANKS | 1 + 8172 1 file changed, 1 insertion(+) 8173 8174commit ef7890d56453dca1aeb2e12db29b7e418d93dde4 8175Author: Lasse Collin <lasse.collin@tukaani.org> 8176Date: 2008-12-01 23:04:12 +0200 8177 8178 In command line tool, take advantage of memusage calculation's 8179 ability to also validate the filter chain and options (not 8180 implemented yet for all filters). 8181 8182 src/xz/process.c | 8 ++++---- 8183 1 file changed, 4 insertions(+), 4 deletions(-) 8184 8185commit ccd57afa09e332d664d6d6a7498702791ea5f659 8186Author: Lasse Collin <lasse.collin@tukaani.org> 8187Date: 2008-12-01 22:59:28 +0200 8188 8189 Validate the filter chain before checking filter-specific 8190 memory usage. 8191 8192 src/liblzma/common/filter_common.c | 14 ++++++++++---- 8193 1 file changed, 10 insertions(+), 4 deletions(-) 8194 8195commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15 8196Author: Lasse Collin <lasse.collin@tukaani.org> 8197Date: 2008-12-01 22:58:22 +0200 8198 8199 Make the memusage functions of LZMA1 and LZMA2 decoders 8200 to validate the filter options. 8201 8202 src/liblzma/lzma/lzma2_decoder.c | 7 ++----- 8203 src/liblzma/lzma/lzma_decoder.c | 14 ++++++++++---- 8204 src/liblzma/lzma/lzma_decoder.h | 5 +++++ 8205 3 files changed, 17 insertions(+), 9 deletions(-) 8206 8207commit c58f469be5bb9b0bdab825c6687445fd553f4f3a 8208Author: Lasse Collin <lasse.collin@tukaani.org> 8209Date: 2008-12-01 22:55:18 +0200 8210 8211 Added the changes for Delta filter that should have been 8212 part of 656ec87882ee74b192c4ea4a233a235eca7b04d4. 8213 8214 src/liblzma/common/filter_decoder.c | 2 +- 8215 src/liblzma/common/filter_encoder.c | 2 +- 8216 2 files changed, 2 insertions(+), 2 deletions(-) 8217 8218commit cd708015202dbf7585b84a8781462a20c42a324b 8219Author: Lasse Collin <lasse.collin@tukaani.org> 8220Date: 2008-12-01 22:50:28 +0200 8221 8222 LZMA2 decoder cleanups. Make it require new LZMA properties 8223 also in the first LZMA chunk after a dictionary reset in 8224 uncompressed chunk. 8225 8226 src/liblzma/lzma/lzma2_decoder.c | 95 +++++++++++++++++----------------------- 8227 1 file changed, 41 insertions(+), 54 deletions(-) 8228 8229commit 656ec87882ee74b192c4ea4a233a235eca7b04d4 8230Author: Lasse Collin <lasse.collin@tukaani.org> 8231Date: 2008-12-01 16:30:11 +0200 8232 8233 Added lzma_delta_coder_memusage() which also validates 8234 the options. 8235 8236 src/liblzma/delta/Makefile.am | 3 ++- 8237 src/liblzma/delta/delta_common.c | 28 ++++++++++++++++++------- 8238 src/liblzma/delta/delta_common.h | 19 +---------------- 8239 src/liblzma/delta/delta_decoder.c | 2 +- 8240 src/liblzma/delta/delta_decoder.h | 2 +- 8241 src/liblzma/delta/delta_encoder.c | 14 ++++--------- 8242 src/liblzma/delta/delta_encoder.h | 2 +- 8243 src/liblzma/delta/delta_private.h | 44 +++++++++++++++++++++++++++++++++++++++ 8244 8 files changed, 75 insertions(+), 39 deletions(-) 8245 8246commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a 8247Author: Lasse Collin <lasse.collin@tukaani.org> 8248Date: 2008-11-29 10:03:49 +0200 8249 8250 Automake includes the m4 directory, so don't add it in 8251 Makefile.am separately. 8252 8253 Updated THANKS. 8254 8255 Makefile.am | 1 - 8256 THANKS | 1 + 8257 2 files changed, 1 insertion(+), 1 deletion(-) 8258 8259commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0 8260Author: Lasse Collin <lasse.collin@tukaani.org> 8261Date: 2008-11-28 12:00:48 +0200 8262 8263 Tested using COLUMNS environment variable to avoid broken 8264 progress indicator but since COLUMNS isn't usually available, 8265 the code was left commented out. 8266 8267 src/xz/message.c | 14 +++++++++----- 8268 1 file changed, 9 insertions(+), 5 deletions(-) 8269 8270commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd 8271Author: Lasse Collin <lasse.collin@tukaani.org> 8272Date: 2008-11-27 19:28:59 +0200 8273 8274 Cleanups to message.c. 8275 8276 src/xz/message.c | 47 ++++++++++++++++++----------------------------- 8277 1 file changed, 18 insertions(+), 29 deletions(-) 8278 8279commit a8368b75cdcd5427299001cc42839287f27b244d 8280Author: Lasse Collin <lasse.collin@tukaani.org> 8281Date: 2008-11-25 02:37:47 +0200 8282 8283 Remove the nowadays unneeded memory limitting malloc() wrapper. 8284 8285 src/liblzma/api/Makefile.am | 1 - 8286 src/liblzma/api/lzma.h | 1 - 8287 src/liblzma/api/lzma/memlimit.h | 207 -------------------------- 8288 src/liblzma/common/Makefile.am | 1 - 8289 src/liblzma/common/memory_limiter.c | 288 ------------------------------------ 8290 tests/Makefile.am | 2 - 8291 tests/test_memlimit.c | 114 -------------- 8292 7 files changed, 614 deletions(-) 8293 8294commit 69472ee5f055a2bb6f28106f0923e1461fd1d080 8295Author: Lasse Collin <lasse.collin@tukaani.org> 8296Date: 2008-11-23 15:09:03 +0200 8297 8298 VLI encoder and decoder cleanups. Made encoder return 8299 LZMA_PROG_ERROR in single-call mode if there's no output 8300 space. 8301 8302 src/liblzma/common/vli_decoder.c | 15 +++++++++------ 8303 src/liblzma/common/vli_encoder.c | 31 ++++++++++++++++++++++++------- 8304 2 files changed, 33 insertions(+), 13 deletions(-) 8305 8306commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650 8307Author: Lasse Collin <lasse.collin@tukaani.org> 8308Date: 2008-11-22 17:44:33 +0200 8309 8310 Typo fix 8311 8312 src/xz/process.c | 2 +- 8313 1 file changed, 1 insertion(+), 1 deletion(-) 8314 8315commit 6d1d6f4598d121253dbe1084c6866b66e95c361b 8316Author: Lasse Collin <lasse.collin@tukaani.org> 8317Date: 2008-11-20 22:59:10 +0200 8318 8319 Support NetBSD's errno for O_NOFOLLOW. 8320 8321 src/xz/io.c | 8 ++++++++ 8322 1 file changed, 8 insertions(+) 8323 8324commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7 8325Author: Lasse Collin <lasse.collin@tukaani.org> 8326Date: 2008-11-20 18:05:52 +0200 8327 8328 Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz 8329 files and lzmadec only .lzma files. 8330 8331 src/xzdec/Makefile.am | 7 +- 8332 src/xzdec/xzdec.c | 311 ++++++++++++++++++++++---------------------------- 8333 2 files changed, 140 insertions(+), 178 deletions(-) 8334 8335commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c 8336Author: Lasse Collin <lasse.collin@tukaani.org> 8337Date: 2008-11-20 11:01:29 +0200 8338 8339 Minor cleanups to xzdec. 8340 8341 src/xzdec/xzdec.c | 20 ++++++++++---------- 8342 1 file changed, 10 insertions(+), 10 deletions(-) 8343 8344commit 54f716ba8905d09752dcd1519455a40bd21d5317 8345Author: Lasse Collin <lasse.collin@tukaani.org> 8346Date: 2008-11-19 23:55:22 +0200 8347 8348 Added missing check for uint16_t. 8349 8350 configure.ac | 1 + 8351 1 file changed, 1 insertion(+) 8352 8353commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06 8354Author: Lasse Collin <lasse.collin@tukaani.org> 8355Date: 2008-11-19 23:52:24 +0200 8356 8357 Renamed lzma to xz and lzmadec to xzdec. We create symlinks 8358 lzma, unlzma, and lzcat in "make install" for backwards 8359 compatibility with LZMA Utils 4.32.x; I'm not sure if this 8360 should be the default though. 8361 8362 configure.ac | 4 +- 8363 po/POTFILES.in | 21 +- 8364 src/Makefile.am | 2 +- 8365 src/lzma/Makefile.am | 72 ---- 8366 src/lzma/args.c | 500 --------------------------- 8367 src/lzma/args.h | 56 --- 8368 src/lzma/hardware.c | 122 ------- 8369 src/lzma/hardware.h | 45 --- 8370 src/lzma/io.c | 658 ----------------------------------- 8371 src/lzma/io.h | 97 ------ 8372 src/lzma/list.c | 477 -------------------------- 8373 src/lzma/main.c | 402 ---------------------- 8374 src/lzma/main.h | 60 ---- 8375 src/lzma/message.c | 892 ------------------------------------------------ 8376 src/lzma/message.h | 132 ------- 8377 src/lzma/options.c | 352 ------------------- 8378 src/lzma/options.h | 46 --- 8379 src/lzma/private.h | 52 --- 8380 src/lzma/process.c | 391 --------------------- 8381 src/lzma/process.h | 70 ---- 8382 src/lzma/suffix.c | 213 ------------ 8383 src/lzma/suffix.h | 40 --- 8384 src/lzma/util.c | 199 ----------- 8385 src/lzma/util.h | 71 ---- 8386 src/lzmadec/Makefile.am | 29 -- 8387 src/lzmadec/lzmadec.c | 492 -------------------------- 8388 src/xz/Makefile.am | 74 ++++ 8389 src/xz/args.c | 500 +++++++++++++++++++++++++++ 8390 src/xz/args.h | 56 +++ 8391 src/xz/hardware.c | 122 +++++++ 8392 src/xz/hardware.h | 45 +++ 8393 src/xz/io.c | 658 +++++++++++++++++++++++++++++++++++ 8394 src/xz/io.h | 97 ++++++ 8395 src/xz/list.c | 477 ++++++++++++++++++++++++++ 8396 src/xz/main.c | 402 ++++++++++++++++++++++ 8397 src/xz/main.h | 60 ++++ 8398 src/xz/message.c | 892 ++++++++++++++++++++++++++++++++++++++++++++++++ 8399 src/xz/message.h | 132 +++++++ 8400 src/xz/options.c | 352 +++++++++++++++++++ 8401 src/xz/options.h | 46 +++ 8402 src/xz/private.h | 52 +++ 8403 src/xz/process.c | 391 +++++++++++++++++++++ 8404 src/xz/process.h | 70 ++++ 8405 src/xz/suffix.c | 213 ++++++++++++ 8406 src/xz/suffix.h | 40 +++ 8407 src/xz/util.c | 199 +++++++++++ 8408 src/xz/util.h | 71 ++++ 8409 src/xzdec/Makefile.am | 29 ++ 8410 src/xzdec/xzdec.c | 492 ++++++++++++++++++++++++++ 8411 tests/test_compress.sh | 29 +- 8412 tests/test_files.sh | 4 +- 8413 51 files changed, 5498 insertions(+), 5500 deletions(-) 8414 8415commit e114502b2bc371e4a45449832cb69be036360722 8416Author: Lasse Collin <lasse.collin@tukaani.org> 8417Date: 2008-11-19 20:46:52 +0200 8418 8419 Oh well, big messy commit again. Some highlights: 8420 - Updated to the latest, probably final file format version. 8421 - Command line tool reworked to not use threads anymore. 8422 Threading will probably go into liblzma anyway. 8423 - Memory usage limit is now about 30 % for uncompression 8424 and about 90 % for compression. 8425 - Progress indicator with --verbose 8426 - Simplified --help and full --long-help 8427 - Upgraded to the last LGPLv2.1+ getopt_long from gnulib. 8428 - Some bug fixes 8429 8430 THANKS | 1 + 8431 configure.ac | 48 +- 8432 debug/full_flush.c | 6 +- 8433 debug/known_sizes.c | 2 +- 8434 debug/memusage.c | 2 +- 8435 debug/sync_flush.c | 10 +- 8436 doc/file-format.txt | 260 ++++---- 8437 lib/Makefile.am | 10 +- 8438 lib/getopt.c | 14 +- 8439 lib/getopt.in.h | 226 +++++++ 8440 lib/getopt1.c | 8 +- 8441 lib/getopt_.h | 226 ------- 8442 lib/gettext.h | 240 ------- 8443 m4/getopt.m4 | 64 +- 8444 src/common/bswap.h | 15 +- 8445 src/common/physmem.h | 4 + 8446 src/common/sysdefs.h | 12 +- 8447 src/liblzma/api/lzma/block.h | 47 +- 8448 src/liblzma/api/lzma/filter.h | 8 + 8449 src/liblzma/api/lzma/index.h | 20 +- 8450 src/liblzma/api/lzma/index_hash.h | 4 +- 8451 src/liblzma/common/block_decoder.c | 59 +- 8452 src/liblzma/common/block_encoder.c | 41 +- 8453 src/liblzma/common/block_header_decoder.c | 31 +- 8454 src/liblzma/common/block_header_encoder.c | 69 +-- 8455 src/liblzma/common/block_util.c | 45 +- 8456 src/liblzma/common/common.h | 8 - 8457 src/liblzma/common/filter_common.c | 4 +- 8458 src/liblzma/common/index.c | 259 ++++---- 8459 src/liblzma/common/index.h | 33 +- 8460 src/liblzma/common/index_decoder.c | 31 +- 8461 src/liblzma/common/index_encoder.c | 16 +- 8462 src/liblzma/common/index_hash.c | 68 +- 8463 src/liblzma/common/stream_decoder.c | 9 +- 8464 src/liblzma/common/stream_encoder.c | 6 +- 8465 src/liblzma/lz/lz_decoder.h | 4 +- 8466 src/liblzma/subblock/subblock_decoder.c | 3 +- 8467 src/lzma/Makefile.am | 9 +- 8468 src/lzma/alloc.c | 106 ---- 8469 src/lzma/alloc.h | 42 -- 8470 src/lzma/args.c | 531 +++++++--------- 8471 src/lzma/args.h | 42 +- 8472 src/lzma/error.c | 162 ----- 8473 src/lzma/error.h | 67 -- 8474 src/lzma/hardware.c | 75 ++- 8475 src/lzma/hardware.h | 16 +- 8476 src/lzma/help.c | 170 ----- 8477 src/lzma/help.h | 32 - 8478 src/lzma/io.c | 757 +++++++++++------------ 8479 src/lzma/io.h | 51 +- 8480 src/lzma/main.c | 392 ++++++++---- 8481 src/lzma/main.h | 60 ++ 8482 src/lzma/message.c | 892 +++++++++++++++++++++++++++ 8483 src/lzma/message.h | 132 ++++ 8484 src/lzma/options.c | 42 +- 8485 src/lzma/options.h | 6 +- 8486 src/lzma/private.h | 28 +- 8487 src/lzma/process.c | 525 ++++++++-------- 8488 src/lzma/process.h | 40 ++ 8489 src/lzma/suffix.c | 52 +- 8490 src/lzma/suffix.h | 17 +- 8491 src/lzma/util.c | 100 +-- 8492 src/lzma/util.h | 43 +- 8493 src/lzmadec/lzmadec.c | 36 +- 8494 tests/files/README | 12 +- 8495 tests/files/bad-1-block_header-1.xz | Bin 64 -> 64 bytes 8496 tests/files/bad-1-block_header-2.xz | Bin 64 -> 64 bytes 8497 tests/files/bad-1-block_header-3.xz | Bin 68 -> 68 bytes 8498 tests/files/bad-1-block_header-4.xz | Bin 72 -> 76 bytes 8499 tests/files/bad-1-block_header-5.xz | Bin 0 -> 72 bytes 8500 tests/files/bad-1-check-crc32.xz | Bin 68 -> 68 bytes 8501 tests/files/bad-1-check-crc64.xz | Bin 72 -> 72 bytes 8502 tests/files/bad-1-check-sha256.xz | Bin 96 -> 96 bytes 8503 tests/files/bad-1-lzma2-1.xz | Bin 64 -> 64 bytes 8504 tests/files/bad-1-lzma2-2.xz | Bin 424 -> 424 bytes 8505 tests/files/bad-1-lzma2-3.xz | Bin 424 -> 424 bytes 8506 tests/files/bad-1-lzma2-4.xz | Bin 408 -> 408 bytes 8507 tests/files/bad-1-lzma2-5.xz | Bin 408 -> 408 bytes 8508 tests/files/bad-1-lzma2-6.xz | Bin 68 -> 68 bytes 8509 tests/files/bad-1-lzma2-7.xz | Bin 408 -> 408 bytes 8510 tests/files/bad-1-stream_flags-1.xz | Bin 68 -> 68 bytes 8511 tests/files/bad-1-stream_flags-2.xz | Bin 68 -> 68 bytes 8512 tests/files/bad-1-stream_flags-3.xz | Bin 68 -> 68 bytes 8513 tests/files/bad-1-vli-1.xz | Bin 72 -> 72 bytes 8514 tests/files/bad-1-vli-2.xz | Bin 72 -> 76 bytes 8515 tests/files/bad-2-compressed_data_padding.xz | Bin 92 -> 92 bytes 8516 tests/files/bad-2-index-1.xz | Bin 92 -> 92 bytes 8517 tests/files/bad-2-index-2.xz | Bin 92 -> 92 bytes 8518 tests/files/bad-2-index-3.xz | Bin 92 -> 92 bytes 8519 tests/files/bad-2-index-4.xz | Bin 92 -> 92 bytes 8520 tests/files/bad-2-index-5.xz | Bin 0 -> 92 bytes 8521 tests/files/good-1-3delta-lzma2.xz | Bin 528 -> 528 bytes 8522 tests/files/good-1-block_header-1.xz | Bin 72 -> 72 bytes 8523 tests/files/good-1-block_header-2.xz | Bin 68 -> 68 bytes 8524 tests/files/good-1-block_header-3.xz | Bin 68 -> 68 bytes 8525 tests/files/good-1-check-crc32.xz | Bin 68 -> 68 bytes 8526 tests/files/good-1-check-crc64.xz | Bin 72 -> 72 bytes 8527 tests/files/good-1-check-none.xz | Bin 64 -> 64 bytes 8528 tests/files/good-1-check-sha256.xz | Bin 96 -> 96 bytes 8529 tests/files/good-1-delta-lzma2.tiff.xz | Bin 51312 -> 51316 bytes 8530 tests/files/good-1-lzma2-1.xz | Bin 424 -> 424 bytes 8531 tests/files/good-1-lzma2-2.xz | Bin 424 -> 424 bytes 8532 tests/files/good-1-lzma2-3.xz | Bin 408 -> 408 bytes 8533 tests/files/good-1-sparc-lzma2.xz | Bin 2292 -> 2296 bytes 8534 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 1936 bytes 8535 tests/files/good-2-lzma2.xz | Bin 92 -> 92 bytes 8536 tests/files/unsupported-block_header.xz | Bin 68 -> 68 bytes 8537 tests/files/unsupported-check.xz | Bin 68 -> 68 bytes 8538 tests/files/unsupported-filter_flags-1.xz | Bin 68 -> 68 bytes 8539 tests/files/unsupported-filter_flags-2.xz | Bin 68 -> 68 bytes 8540 tests/files/unsupported-filter_flags-3.xz | Bin 68 -> 68 bytes 8541 tests/test_block_header.c | 16 +- 8542 tests/test_index.c | 42 +- 8543 113 files changed, 3462 insertions(+), 2946 deletions(-) 8544 8545commit 3c3905b53462ae235c9438d86a4dc51086410932 8546Author: Lasse Collin <lasse.collin@tukaani.org> 8547Date: 2008-10-09 11:12:29 +0300 8548 8549 Fixed the test that should have been fixed as part 8550 of 1e8e4fd1f3e50129b4541406ad765d2aa1233943. 8551 8552 tests/test_block_header.c | 2 +- 8553 1 file changed, 1 insertion(+), 1 deletion(-) 8554 8555commit 0f295bf7a3ece01f667caae318cc3e3424085886 8556Author: Lasse Collin <lasse.collin@tukaani.org> 8557Date: 2008-10-07 16:42:18 +0300 8558 8559 Fixed some help messages. 8560 8561 src/lzma/help.c | 6 +++--- 8562 1 file changed, 3 insertions(+), 3 deletions(-) 8563 8564commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943 8565Author: Lasse Collin <lasse.collin@tukaani.org> 8566Date: 2008-10-07 09:40:31 +0300 8567 8568 Made the preset numbering more logical in liblzma API. 8569 8570 src/liblzma/api/lzma/container.h | 20 ++++++++++---------- 8571 src/liblzma/api/lzma/lzma.h | 2 +- 8572 src/liblzma/lzma/lzma_encoder_presets.c | 3 ++- 8573 src/lzma/args.c | 8 ++++---- 8574 src/lzma/args.h | 2 +- 8575 5 files changed, 18 insertions(+), 17 deletions(-) 8576 8577commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81 8578Author: Lasse Collin <lasse.collin@tukaani.org> 8579Date: 2008-10-03 19:36:09 +0300 8580 8581 Removed fi from po/LINGUAS. 8582 8583 po/LINGUAS | 1 - 8584 1 file changed, 1 deletion(-) 8585 8586commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128 8587Author: Lasse Collin <lasse.collin@tukaani.org> 8588Date: 2008-10-03 07:06:48 +0300 8589 8590 Fixed suffix handling with --format=raw. 8591 8592 src/lzma/suffix.c | 28 +++++++++++++++++++--------- 8593 1 file changed, 19 insertions(+), 9 deletions(-) 8594 8595commit bd137524f2f50e30ba054f42f1f6536cd3cee920 8596Author: Lasse Collin <lasse.collin@tukaani.org> 8597Date: 2008-10-02 22:51:46 +0300 8598 8599 Initial changes to change the suffix of the new format to .xz. 8600 This also fixes a bug related to --suffix option. Some issues 8601 with suffixes with --format=raw were not fixed. 8602 8603 src/lzma/args.c | 67 +++++++++++++++++++++++++++++++-------------- 8604 src/lzma/args.h | 13 +++++---- 8605 src/lzma/help.c | 4 +-- 8606 src/lzma/process.c | 24 +++++++++------- 8607 src/lzma/suffix.c | 74 +++++++++++++++++++++++++++++++++++++++++--------- 8608 tests/test_compress.sh | 3 +- 8609 6 files changed, 133 insertions(+), 52 deletions(-) 8610 8611commit 4c321a41c482821aa3c4d64cdf886a6ed904d844 8612Author: Lasse Collin <lasse.collin@tukaani.org> 8613Date: 2008-09-30 17:43:55 +0300 8614 8615 Renamed the test files from .lzma suffix to .xz suffix. 8616 8617 tests/files/README | 128 ++++++++++++------------- 8618 tests/files/bad-0-backward_size.lzma | Bin 32 -> 0 bytes 8619 tests/files/bad-0-backward_size.xz | Bin 0 -> 32 bytes 8620 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 0 bytes 8621 tests/files/bad-0-empty-truncated.xz | Bin 0 -> 31 bytes 8622 tests/files/bad-0-footer_magic.lzma | Bin 32 -> 0 bytes 8623 tests/files/bad-0-footer_magic.xz | Bin 0 -> 32 bytes 8624 tests/files/bad-0-header_magic.lzma | Bin 32 -> 0 bytes 8625 tests/files/bad-0-header_magic.xz | Bin 0 -> 32 bytes 8626 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 0 bytes 8627 tests/files/bad-0-nonempty_index.xz | Bin 0 -> 32 bytes 8628 tests/files/bad-0cat-alone.lzma | Bin 55 -> 0 bytes 8629 tests/files/bad-0cat-alone.xz | Bin 0 -> 55 bytes 8630 tests/files/bad-0cat-header_magic.lzma | Bin 64 -> 0 bytes 8631 tests/files/bad-0cat-header_magic.xz | Bin 0 -> 64 bytes 8632 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 0 bytes 8633 tests/files/bad-0catpad-empty.xz | Bin 0 -> 69 bytes 8634 tests/files/bad-0pad-empty.lzma | Bin 37 -> 0 bytes 8635 tests/files/bad-0pad-empty.xz | Bin 0 -> 37 bytes 8636 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 0 bytes 8637 tests/files/bad-1-block_header-1.xz | Bin 0 -> 64 bytes 8638 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 0 bytes 8639 tests/files/bad-1-block_header-2.xz | Bin 0 -> 64 bytes 8640 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 0 bytes 8641 tests/files/bad-1-block_header-3.xz | Bin 0 -> 68 bytes 8642 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 0 bytes 8643 tests/files/bad-1-block_header-4.xz | Bin 0 -> 72 bytes 8644 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 0 bytes 8645 tests/files/bad-1-check-crc32.xz | Bin 0 -> 68 bytes 8646 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 0 bytes 8647 tests/files/bad-1-check-crc64.xz | Bin 0 -> 72 bytes 8648 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 0 bytes 8649 tests/files/bad-1-check-sha256.xz | Bin 0 -> 96 bytes 8650 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 0 bytes 8651 tests/files/bad-1-lzma2-1.xz | Bin 0 -> 64 bytes 8652 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 0 bytes 8653 tests/files/bad-1-lzma2-2.xz | Bin 0 -> 424 bytes 8654 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 0 bytes 8655 tests/files/bad-1-lzma2-3.xz | Bin 0 -> 424 bytes 8656 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 0 bytes 8657 tests/files/bad-1-lzma2-4.xz | Bin 0 -> 408 bytes 8658 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 0 bytes 8659 tests/files/bad-1-lzma2-5.xz | Bin 0 -> 408 bytes 8660 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 0 bytes 8661 tests/files/bad-1-lzma2-6.xz | Bin 0 -> 68 bytes 8662 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 0 bytes 8663 tests/files/bad-1-lzma2-7.xz | Bin 0 -> 408 bytes 8664 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 0 bytes 8665 tests/files/bad-1-stream_flags-1.xz | Bin 0 -> 68 bytes 8666 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 0 bytes 8667 tests/files/bad-1-stream_flags-2.xz | Bin 0 -> 68 bytes 8668 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 0 bytes 8669 tests/files/bad-1-stream_flags-3.xz | Bin 0 -> 68 bytes 8670 tests/files/bad-1-vli-1.lzma | Bin 72 -> 0 bytes 8671 tests/files/bad-1-vli-1.xz | Bin 0 -> 72 bytes 8672 tests/files/bad-1-vli-2.lzma | Bin 72 -> 0 bytes 8673 tests/files/bad-1-vli-2.xz | Bin 0 -> 72 bytes 8674 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 0 bytes 8675 tests/files/bad-2-compressed_data_padding.xz | Bin 0 -> 92 bytes 8676 tests/files/bad-2-index-1.lzma | Bin 92 -> 0 bytes 8677 tests/files/bad-2-index-1.xz | Bin 0 -> 92 bytes 8678 tests/files/bad-2-index-2.lzma | Bin 92 -> 0 bytes 8679 tests/files/bad-2-index-2.xz | Bin 0 -> 92 bytes 8680 tests/files/bad-2-index-3.lzma | Bin 92 -> 0 bytes 8681 tests/files/bad-2-index-3.xz | Bin 0 -> 92 bytes 8682 tests/files/bad-2-index-4.lzma | Bin 92 -> 0 bytes 8683 tests/files/bad-2-index-4.xz | Bin 0 -> 92 bytes 8684 tests/files/good-0-empty.lzma | Bin 32 -> 0 bytes 8685 tests/files/good-0-empty.xz | Bin 0 -> 32 bytes 8686 tests/files/good-0cat-empty.lzma | Bin 64 -> 0 bytes 8687 tests/files/good-0cat-empty.xz | Bin 0 -> 64 bytes 8688 tests/files/good-0catpad-empty.lzma | Bin 68 -> 0 bytes 8689 tests/files/good-0catpad-empty.xz | Bin 0 -> 68 bytes 8690 tests/files/good-0pad-empty.lzma | Bin 36 -> 0 bytes 8691 tests/files/good-0pad-empty.xz | Bin 0 -> 36 bytes 8692 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 0 bytes 8693 tests/files/good-1-3delta-lzma2.xz | Bin 0 -> 528 bytes 8694 tests/files/good-1-block_header-1.lzma | Bin 72 -> 0 bytes 8695 tests/files/good-1-block_header-1.xz | Bin 0 -> 72 bytes 8696 tests/files/good-1-block_header-2.lzma | Bin 68 -> 0 bytes 8697 tests/files/good-1-block_header-2.xz | Bin 0 -> 68 bytes 8698 tests/files/good-1-block_header-3.lzma | Bin 68 -> 0 bytes 8699 tests/files/good-1-block_header-3.xz | Bin 0 -> 68 bytes 8700 tests/files/good-1-check-crc32.lzma | Bin 68 -> 0 bytes 8701 tests/files/good-1-check-crc32.xz | Bin 0 -> 68 bytes 8702 tests/files/good-1-check-crc64.lzma | Bin 72 -> 0 bytes 8703 tests/files/good-1-check-crc64.xz | Bin 0 -> 72 bytes 8704 tests/files/good-1-check-none.lzma | Bin 64 -> 0 bytes 8705 tests/files/good-1-check-none.xz | Bin 0 -> 64 bytes 8706 tests/files/good-1-check-sha256.lzma | Bin 96 -> 0 bytes 8707 tests/files/good-1-check-sha256.xz | Bin 0 -> 96 bytes 8708 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 0 bytes 8709 tests/files/good-1-delta-lzma2.tiff.xz | Bin 0 -> 51312 bytes 8710 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 0 bytes 8711 tests/files/good-1-lzma2-1.xz | Bin 0 -> 424 bytes 8712 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 0 bytes 8713 tests/files/good-1-lzma2-2.xz | Bin 0 -> 424 bytes 8714 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 0 bytes 8715 tests/files/good-1-lzma2-3.xz | Bin 0 -> 408 bytes 8716 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 0 bytes 8717 tests/files/good-1-sparc-lzma2.xz | Bin 0 -> 2292 bytes 8718 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 0 bytes 8719 tests/files/good-1-x86-lzma2.xz | Bin 0 -> 1936 bytes 8720 tests/files/good-2-lzma2.lzma | Bin 92 -> 0 bytes 8721 tests/files/good-2-lzma2.xz | Bin 0 -> 92 bytes 8722 tests/files/unsupported-block_header.lzma | Bin 68 -> 0 bytes 8723 tests/files/unsupported-block_header.xz | Bin 0 -> 68 bytes 8724 tests/files/unsupported-check.lzma | Bin 68 -> 0 bytes 8725 tests/files/unsupported-check.xz | Bin 0 -> 68 bytes 8726 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 0 bytes 8727 tests/files/unsupported-filter_flags-1.xz | Bin 0 -> 68 bytes 8728 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 0 bytes 8729 tests/files/unsupported-filter_flags-2.xz | Bin 0 -> 68 bytes 8730 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 0 bytes 8731 tests/files/unsupported-filter_flags-3.xz | Bin 0 -> 68 bytes 8732 tests/test_files.sh | 6 +- 8733 116 files changed, 66 insertions(+), 68 deletions(-) 8734 8735commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb 8736Author: Lasse Collin <lasse.collin@tukaani.org> 8737Date: 2008-09-30 13:57:44 +0300 8738 8739 Fixed Stream decoder to actually use the first_stream variable. 8740 8741 src/liblzma/common/stream_decoder.c | 5 +++++ 8742 1 file changed, 5 insertions(+) 8743 8744commit 3bdbc12c054d1961133ee19802af7dd3c3494543 8745Author: Lasse Collin <lasse.collin@tukaani.org> 8746Date: 2008-09-30 13:56:57 +0300 8747 8748 Added one more test file. 8749 8750 tests/files/README | 15 +++++++++++---- 8751 tests/files/bad-0cat-header_magic.lzma | Bin 0 -> 64 bytes 8752 2 files changed, 11 insertions(+), 4 deletions(-) 8753 8754commit a6639022fdc536e5659b070a465221b4cf7c51fa 8755Author: Lasse Collin <lasse.collin@tukaani.org> 8756Date: 2008-09-30 13:34:07 +0300 8757 8758 Fixed uninitialized variable in Stream decoder. 8759 8760 src/liblzma/common/stream_decoder.c | 1 + 8761 1 file changed, 1 insertion(+) 8762 8763commit ed3709000a3f17ecefab29b2235d7e2221b00003 8764Author: Lasse Collin <lasse.collin@tukaani.org> 8765Date: 2008-09-30 13:27:28 +0300 8766 8767 Added two test files. 8768 8769 tests/files/README | 6 ++++++ 8770 tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes 8771 tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes 8772 3 files changed, 6 insertions(+) 8773 8774commit ea560b0ea80525752bdcd0074d24f8dc170bbe29 8775Author: Lasse Collin <lasse.collin@tukaani.org> 8776Date: 2008-09-27 23:49:24 +0300 8777 8778 Fix conflicting Subblock helper filter's ID. 8779 8780 src/liblzma/common/common.h | 2 +- 8781 1 file changed, 1 insertion(+), 1 deletion(-) 8782 8783commit ad97483b6e55142fd8d5c041db057017a891cd95 8784Author: Lasse Collin <lasse.collin@tukaani.org> 8785Date: 2008-09-27 23:37:13 +0300 8786 8787 Changed magic bytes to match the updated spec. Filename 8788 suffix wasn't changed yet. 8789 8790 src/liblzma/common/auto_decoder.c | 4 ++-- 8791 src/liblzma/common/stream_flags_common.c | 2 +- 8792 tests/files/bad-0-backward_size.lzma | Bin 32 -> 32 bytes 8793 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 31 bytes 8794 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 32 bytes 8795 tests/files/bad-0cat-alone.lzma | Bin 55 -> 55 bytes 8796 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 69 bytes 8797 tests/files/bad-0pad-empty.lzma | Bin 37 -> 37 bytes 8798 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 64 bytes 8799 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 64 bytes 8800 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 68 bytes 8801 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 72 bytes 8802 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 68 bytes 8803 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 72 bytes 8804 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 96 bytes 8805 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 64 bytes 8806 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 424 bytes 8807 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 424 bytes 8808 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 408 bytes 8809 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 408 bytes 8810 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 68 bytes 8811 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 408 bytes 8812 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 68 bytes 8813 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 68 bytes 8814 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 68 bytes 8815 tests/files/bad-1-vli-1.lzma | Bin 72 -> 72 bytes 8816 tests/files/bad-1-vli-2.lzma | Bin 72 -> 72 bytes 8817 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 92 bytes 8818 tests/files/bad-2-index-1.lzma | Bin 92 -> 92 bytes 8819 tests/files/bad-2-index-2.lzma | Bin 92 -> 92 bytes 8820 tests/files/bad-2-index-3.lzma | Bin 92 -> 92 bytes 8821 tests/files/bad-2-index-4.lzma | Bin 92 -> 92 bytes 8822 tests/files/good-0-empty.lzma | Bin 32 -> 32 bytes 8823 tests/files/good-0cat-empty.lzma | Bin 64 -> 64 bytes 8824 tests/files/good-0catpad-empty.lzma | Bin 68 -> 68 bytes 8825 tests/files/good-0pad-empty.lzma | Bin 36 -> 36 bytes 8826 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 528 bytes 8827 tests/files/good-1-block_header-1.lzma | Bin 72 -> 72 bytes 8828 tests/files/good-1-block_header-2.lzma | Bin 68 -> 68 bytes 8829 tests/files/good-1-block_header-3.lzma | Bin 68 -> 68 bytes 8830 tests/files/good-1-check-crc32.lzma | Bin 68 -> 68 bytes 8831 tests/files/good-1-check-crc64.lzma | Bin 72 -> 72 bytes 8832 tests/files/good-1-check-none.lzma | Bin 64 -> 64 bytes 8833 tests/files/good-1-check-sha256.lzma | Bin 96 -> 96 bytes 8834 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 51312 bytes 8835 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 424 bytes 8836 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 424 bytes 8837 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 408 bytes 8838 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 2292 bytes 8839 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 1936 bytes 8840 tests/files/good-2-lzma2.lzma | Bin 92 -> 92 bytes 8841 tests/files/unsupported-block_header.lzma | Bin 68 -> 68 bytes 8842 tests/files/unsupported-check.lzma | Bin 68 -> 68 bytes 8843 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 68 bytes 8844 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 68 bytes 8845 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 68 bytes 8846 56 files changed, 3 insertions(+), 3 deletions(-) 8847 8848commit 7a57069167e9e63394e2b095ee3a63253fcb51c7 8849Author: Lasse Collin <lasse.collin@tukaani.org> 8850Date: 2008-09-27 23:16:09 +0300 8851 8852 Remove po/fi.po since I'm not keeping it updated for now. 8853 8854 po/fi.po | 446 --------------------------------------------------------------- 8855 1 file changed, 446 deletions(-) 8856 8857commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e 8858Author: Lasse Collin <lasse.collin@tukaani.org> 8859Date: 2008-09-27 23:13:54 +0300 8860 8861 Fix also test_compress.sh. 8862 8863 tests/test_compress.sh | 6 +++--- 8864 1 file changed, 3 insertions(+), 3 deletions(-) 8865 8866commit 3a62a5fb85d2eebd8666e64ed5d364d095062858 8867Author: Lasse Collin <lasse.collin@tukaani.org> 8868Date: 2008-09-27 23:01:15 +0300 8869 8870 Fixed compilation of test_filter_flags.c, which was broken by 8871 1dcecfb09b55157b8653d747963069c8bed74f04. 8872 8873 tests/test_filter_flags.c | 16 ++++++++-------- 8874 1 file changed, 8 insertions(+), 8 deletions(-) 8875 8876commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0 8877Author: Lasse Collin <lasse.collin@tukaani.org> 8878Date: 2008-09-27 19:11:02 +0300 8879 8880 Updated file format specification. It changes the suffix 8881 of the new format to .xz and removes the recently added 8882 LZMA filter. 8883 8884 doc/file-format.txt | 125 ++++++++++++++-------------------------------------- 8885 1 file changed, 32 insertions(+), 93 deletions(-) 8886 8887commit 1dcecfb09b55157b8653d747963069c8bed74f04 8888Author: Lasse Collin <lasse.collin@tukaani.org> 8889Date: 2008-09-27 19:09:21 +0300 8890 8891 Some API changes, bug fixes, cleanups etc. 8892 8893 configure.ac | 18 +- 8894 debug/full_flush.c | 7 +- 8895 debug/known_sizes.c | 6 +- 8896 debug/memusage.c | 22 +-- 8897 debug/sync_flush.c | 18 +- 8898 src/liblzma/Makefile.am | 2 +- 8899 src/liblzma/api/lzma/delta.h | 8 +- 8900 src/liblzma/api/lzma/lzma.h | 230 ++++++++++++++++--------- 8901 src/liblzma/common/alignment.c | 7 +- 8902 src/liblzma/common/alone_decoder.c | 11 +- 8903 src/liblzma/common/alone_encoder.c | 9 +- 8904 src/liblzma/common/chunk_size.c | 2 +- 8905 src/liblzma/common/easy.c | 20 ++- 8906 src/liblzma/common/filter_common.c | 4 +- 8907 src/liblzma/common/filter_decoder.c | 4 +- 8908 src/liblzma/common/filter_encoder.c | 4 +- 8909 src/liblzma/common/init_encoder.c | 2 +- 8910 src/liblzma/delta/delta_common.c | 12 +- 8911 src/liblzma/delta/delta_common.h | 2 +- 8912 src/liblzma/delta/delta_decoder.c | 2 +- 8913 src/liblzma/delta/delta_encoder.c | 6 +- 8914 src/liblzma/lz/lz_encoder.c | 30 ++-- 8915 src/liblzma/lz/lz_encoder.h | 26 +-- 8916 src/liblzma/lz/lz_encoder_mf.c | 30 ++-- 8917 src/liblzma/lzma/Makefile.am | 4 +- 8918 src/liblzma/lzma/lzma2_decoder.c | 10 +- 8919 src/liblzma/lzma/lzma2_encoder.c | 27 ++- 8920 src/liblzma/lzma/lzma_common.h | 26 ++- 8921 src/liblzma/lzma/lzma_decoder.c | 37 ++-- 8922 src/liblzma/lzma/lzma_encoder.c | 51 +++--- 8923 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 10 +- 8924 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +-- 8925 src/liblzma/lzma/lzma_encoder_presets.c | 50 ++++-- 8926 src/liblzma/rangecoder/Makefile.am | 4 +- 8927 src/liblzma/subblock/subblock_decoder.c | 2 +- 8928 src/lzma/args.c | 33 ++-- 8929 src/lzma/help.c | 17 +- 8930 src/lzma/options.c | 92 +++++----- 8931 tests/test_block_header.c | 9 +- 8932 tests/test_compress.sh | 4 +- 8933 tests/test_filter_flags.c | 2 +- 8934 41 files changed, 482 insertions(+), 398 deletions(-) 8935 8936commit 5cc5064cae603b649c64c40125c7dd365de54c9d 8937Author: Lasse Collin <lasse.collin@tukaani.org> 8938Date: 2008-09-27 11:28:49 +0300 8939 8940 Added 7z2lzma.bash. 8941 8942 extra/7z2lzma/7z2lzma.bash | 114 +++++++++++++++++++++++++++++++++++++++++++++ 8943 1 file changed, 114 insertions(+) 8944 8945commit f147666a5cd15542d4e427da58629f4a71cc38e1 8946Author: Lasse Collin <lasse.collin@tukaani.org> 8947Date: 2008-09-17 22:11:39 +0300 8948 8949 Miscellaneous LZ and LZMA encoder cleanups 8950 8951 src/liblzma/api/lzma/lzma.h | 14 ------- 8952 src/liblzma/lz/lz_encoder.c | 8 +++- 8953 src/liblzma/lzma/Makefile.am | 1 - 8954 src/liblzma/lzma/lzma_encoder.c | 64 ++++++++++++-------------------- 8955 src/liblzma/lzma/lzma_encoder_features.c | 59 ----------------------------- 8956 5 files changed, 29 insertions(+), 117 deletions(-) 8957 8958commit 13d68b069849e19c33822cd8996cd6447890abb1 8959Author: Lasse Collin <lasse.collin@tukaani.org> 8960Date: 2008-09-13 13:54:00 +0300 8961 8962 LZ decoder cleanup 8963 8964 src/liblzma/lz/lz_decoder.c | 5 ++--- 8965 1 file changed, 2 insertions(+), 3 deletions(-) 8966 8967commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7 8968Author: Lasse Collin <lasse.collin@tukaani.org> 8969Date: 2008-09-13 12:10:43 +0300 8970 8971 Renamed constants: 8972 - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX 8973 - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN 8974 - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR 8975 8976 debug/full_flush.c | 2 +- 8977 debug/known_sizes.c | 2 +- 8978 debug/sync_flush.c | 2 +- 8979 src/liblzma/api/lzma/alignment.h | 2 +- 8980 src/liblzma/api/lzma/base.h | 4 ++-- 8981 src/liblzma/api/lzma/block.h | 28 ++++++++++++++-------------- 8982 src/liblzma/api/lzma/container.h | 12 ++++++------ 8983 src/liblzma/api/lzma/filter.h | 28 ++++++++++++++-------------- 8984 src/liblzma/api/lzma/index.h | 2 +- 8985 src/liblzma/api/lzma/lzma.h | 4 ++-- 8986 src/liblzma/api/lzma/simple.h | 2 +- 8987 src/liblzma/api/lzma/stream_flags.h | 20 ++++++++++---------- 8988 src/liblzma/api/lzma/vli.h | 16 ++++++++-------- 8989 src/liblzma/common/alignment.c | 6 +++--- 8990 src/liblzma/common/alone_decoder.c | 2 +- 8991 src/liblzma/common/auto_decoder.c | 2 +- 8992 src/liblzma/common/block_decoder.c | 12 ++++++------ 8993 src/liblzma/common/block_encoder.c | 6 +++--- 8994 src/liblzma/common/block_header_decoder.c | 16 ++++++++-------- 8995 src/liblzma/common/block_header_encoder.c | 24 ++++++++++++------------ 8996 src/liblzma/common/block_util.c | 8 ++++---- 8997 src/liblzma/common/chunk_size.c | 2 +- 8998 src/liblzma/common/easy.c | 4 ++-- 8999 src/liblzma/common/filter_common.c | 22 +++++++++++----------- 9000 src/liblzma/common/filter_decoder.c | 6 +++--- 9001 src/liblzma/common/filter_encoder.c | 14 +++++++------- 9002 src/liblzma/common/index.c | 24 +++++++++++------------- 9003 src/liblzma/common/index.h | 2 +- 9004 src/liblzma/common/index_hash.c | 13 ++++++------- 9005 src/liblzma/common/stream_decoder.c | 4 ++-- 9006 src/liblzma/common/stream_encoder.c | 4 ++-- 9007 src/liblzma/common/stream_flags_common.c | 6 +++--- 9008 src/liblzma/common/stream_flags_decoder.c | 6 +++--- 9009 src/liblzma/common/stream_flags_encoder.c | 4 ++-- 9010 src/liblzma/common/vli_encoder.c | 2 +- 9011 src/liblzma/common/vli_size.c | 2 +- 9012 src/liblzma/delta/delta_common.c | 2 +- 9013 src/liblzma/delta/delta_decoder.c | 2 +- 9014 src/liblzma/delta/delta_encoder.c | 2 +- 9015 src/liblzma/lz/lz_decoder.c | 2 +- 9016 src/liblzma/lz/lz_encoder.c | 2 +- 9017 src/liblzma/lzma/lzma2_decoder.c | 6 +++--- 9018 src/liblzma/lzma/lzma_decoder.c | 14 +++++++------- 9019 src/liblzma/lzma/lzma_encoder.c | 8 ++++---- 9020 src/liblzma/simple/simple_coder.c | 2 +- 9021 src/liblzma/simple/simple_decoder.c | 2 +- 9022 src/liblzma/subblock/subblock_decoder.c | 6 +++--- 9023 src/liblzma/subblock/subblock_encoder.c | 17 ++++++++--------- 9024 src/lzma/args.c | 2 +- 9025 src/lzma/error.c | 2 +- 9026 src/lzma/list.c | 6 +++--- 9027 src/lzmadec/lzmadec.c | 2 +- 9028 tests/test_block.c | 8 ++++---- 9029 tests/test_block_header.c | 30 +++++++++++++++--------------- 9030 tests/test_filter_flags.c | 2 +- 9031 tests/test_index.c | 2 +- 9032 tests/test_stream_flags.c | 8 ++++---- 9033 tests/tests.h | 2 +- 9034 58 files changed, 220 insertions(+), 224 deletions(-) 9035 9036commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080 9037Author: Lasse Collin <lasse.collin@tukaani.org> 9038Date: 2008-09-12 22:41:40 +0300 9039 9040 Improved the Stream Flags handling API. 9041 9042 src/liblzma/api/lzma/stream_flags.h | 84 +++++++++++++++++++++++++++++-- 9043 src/liblzma/common/stream_decoder.c | 5 +- 9044 src/liblzma/common/stream_encoder.c | 2 + 9045 src/liblzma/common/stream_flags_common.c | 28 ++++++++--- 9046 src/liblzma/common/stream_flags_common.h | 9 ++++ 9047 src/liblzma/common/stream_flags_decoder.c | 3 +- 9048 src/liblzma/common/stream_flags_encoder.c | 10 ++-- 9049 tests/test_stream_flags.c | 8 ++- 9050 8 files changed, 129 insertions(+), 20 deletions(-) 9051 9052commit ec490da5228263b25bf786bb23d1008468f55b30 9053Author: Lasse Collin <lasse.collin@tukaani.org> 9054Date: 2008-09-11 23:10:44 +0300 9055 9056 Simplified debug/known_sizes.c to match the relaxed 9057 requirements of Block encoder. 9058 9059 debug/known_sizes.c | 14 +++++--------- 9060 1 file changed, 5 insertions(+), 9 deletions(-) 9061 9062commit 16e8b98f2659347edfa74afdbbb9e73311153cb9 9063Author: Lasse Collin <lasse.collin@tukaani.org> 9064Date: 2008-09-11 23:09:24 +0300 9065 9066 Remove a check from Block encoder that should have already 9067 been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e. 9068 9069 src/liblzma/common/block_encoder.c | 5 ----- 9070 1 file changed, 5 deletions(-) 9071 9072commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13 9073Author: Lasse Collin <lasse.collin@tukaani.org> 9074Date: 2008-09-11 20:02:38 +0300 9075 9076 Remove bogus #includes. 9077 9078 src/liblzma/common/Makefile.am | 1 - 9079 src/liblzma/common/stream_decoder.c | 3 --- 9080 src/liblzma/common/stream_encoder.c | 1 - 9081 src/liblzma/common/stream_flags_decoder.h | 31 ------------------------------- 9082 4 files changed, 36 deletions(-) 9083 9084commit 01892b2ca5f69bed0ea746e04b604030d57806bb 9085Author: Lasse Collin <lasse.collin@tukaani.org> 9086Date: 2008-09-11 10:49:14 +0300 9087 9088 Updated THANKS. 9089 9090 THANKS | 1 + 9091 1 file changed, 1 insertion(+) 9092 9093commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d 9094Author: Lasse Collin <lasse.collin@tukaani.org> 9095Date: 2008-09-11 10:48:12 +0300 9096 9097 Fix a compiler error on big endian systems that don't 9098 support unaligned memory access. 9099 9100 src/common/integer.h | 32 ++++++++++++++++++-------------- 9101 1 file changed, 18 insertions(+), 14 deletions(-) 9102 9103commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671 9104Author: Lasse Collin <lasse.collin@tukaani.org> 9105Date: 2008-09-11 10:46:14 +0300 9106 9107 Silence a compiler warning. 9108 9109 src/lzma/process.c | 2 +- 9110 1 file changed, 1 insertion(+), 1 deletion(-) 9111 9112commit 9373e81e18822db4972819442ea4c2cb9955470b 9113Author: Lasse Collin <lasse.collin@tukaani.org> 9114Date: 2008-09-10 19:16:32 +0300 9115 9116 Bumped version to 4.999.6alpha. 9117 9118 configure.ac | 2 +- 9119 src/liblzma/api/lzma/version.h | 2 +- 9120 2 files changed, 2 insertions(+), 2 deletions(-) 9121 9122commit cb072b7c8442ba68bb0c62c0abbbe939794887a3 9123Author: Lasse Collin <lasse.collin@tukaani.org> 9124Date: 2008-09-10 17:02:00 +0300 9125 9126 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c. 9127 Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID 9128 is in the reserved range. This allows Block Header encoder to 9129 detect unallowed Filter IDs, which is good for Stream encoder. 9130 9131 src/liblzma/common/filter_flags_encoder.c | 7 ++++--- 9132 1 file changed, 4 insertions(+), 3 deletions(-) 9133 9134commit 123ab0acec435c9e9866a99e30482116cfbd9ba5 9135Author: Lasse Collin <lasse.collin@tukaani.org> 9136Date: 2008-09-10 16:44:32 +0300 9137 9138 Filter handling cleanups 9139 9140 src/liblzma/api/lzma/filter.h | 133 +++++++++++++++++++++++++++--------- 9141 src/liblzma/common/filter_common.h | 3 + 9142 src/liblzma/common/filter_decoder.c | 80 +++++++--------------- 9143 src/liblzma/common/filter_decoder.h | 5 -- 9144 src/liblzma/common/filter_encoder.c | 82 +++++++--------------- 9145 src/liblzma/common/filter_encoder.h | 4 -- 9146 6 files changed, 156 insertions(+), 151 deletions(-) 9147 9148commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1 9149Author: Lasse Collin <lasse.collin@tukaani.org> 9150Date: 2008-09-10 00:33:00 +0300 9151 9152 Comments 9153 9154 src/liblzma/common/stream_encoder.c | 6 +++++- 9155 1 file changed, 5 insertions(+), 1 deletion(-) 9156 9157commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e 9158Author: Lasse Collin <lasse.collin@tukaani.org> 9159Date: 2008-09-10 00:27:02 +0300 9160 9161 Cleaned up Block encoder and moved the no longer shared 9162 code from block_private.h to block_decoder.c. Now the Block 9163 encoder doesn't need compressed_size and uncompressed_size 9164 from lzma_block structure to be initialized. 9165 9166 src/liblzma/api/lzma/block.h | 3 -- 9167 src/liblzma/common/Makefile.am | 1 - 9168 src/liblzma/common/block_decoder.c | 23 +++++++++- 9169 src/liblzma/common/block_encoder.c | 92 ++++++++++++++++++-------------------- 9170 src/liblzma/common/block_private.h | 47 ------------------- 9171 5 files changed, 66 insertions(+), 100 deletions(-) 9172 9173commit 07efcb5a6bc5d7018798ebd728586f84183e7d64 9174Author: Lasse Collin <lasse.collin@tukaani.org> 9175Date: 2008-09-07 10:23:13 +0300 9176 9177 Changed Filter ID of LZMA to 0x20. 9178 9179 doc/file-format.txt | 4 ++-- 9180 src/liblzma/api/lzma/lzma.h | 2 +- 9181 2 files changed, 3 insertions(+), 3 deletions(-) 9182 9183commit 32fe5fa541e82c08e054086279079ae5016bd8d8 9184Author: Lasse Collin <lasse.collin@tukaani.org> 9185Date: 2008-09-06 23:42:50 +0300 9186 9187 Comments 9188 9189 src/liblzma/api/lzma/base.h | 81 ++++++++++++++++++++++++++-------------- 9190 src/liblzma/api/lzma/container.h | 6 ++- 9191 src/liblzma/lz/lz_encoder.c | 3 +- 9192 src/liblzma/lz/lz_encoder.h | 12 +++--- 9193 src/liblzma/lz/lz_encoder_mf.c | 2 +- 9194 5 files changed, 65 insertions(+), 39 deletions(-) 9195 9196commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84 9197Author: Lasse Collin <lasse.collin@tukaani.org> 9198Date: 2008-09-06 15:14:30 +0300 9199 9200 Some API cleanups 9201 9202 src/liblzma/api/lzma/base.h | 314 +++++++++++++++++++++++------------- 9203 src/liblzma/api/lzma/check.h | 10 ++ 9204 src/liblzma/api/lzma/container.h | 40 +++-- 9205 src/liblzma/common/auto_decoder.c | 18 +-- 9206 src/liblzma/common/common.c | 7 + 9207 src/liblzma/common/common.h | 18 ++- 9208 src/liblzma/common/easy.c | 2 +- 9209 src/liblzma/common/stream_decoder.c | 31 ++-- 9210 src/lzma/process.c | 2 +- 9211 src/lzmadec/lzmadec.c | 6 +- 9212 tests/tests.h | 72 +++------ 9213 11 files changed, 301 insertions(+), 219 deletions(-) 9214 9215commit da98df54400998be2a6c3876f9655a3c51b93c10 9216Author: Lasse Collin <lasse.collin@tukaani.org> 9217Date: 2008-09-04 11:53:06 +0300 9218 9219 Added support for raw encoding and decoding to the command 9220 line tool, and made various cleanups. --lzma was renamed to 9221 --lzma1 to prevent people from accidentally using LZMA when 9222 they want LZMA2. 9223 9224 src/lzma/args.c | 17 +++++++++-------- 9225 src/lzma/args.h | 1 + 9226 src/lzma/help.c | 24 ++++++------------------ 9227 src/lzma/process.c | 42 ++++++++++++++++++++++++++++++++++-------- 9228 4 files changed, 50 insertions(+), 34 deletions(-) 9229 9230commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd 9231Author: Lasse Collin <lasse.collin@tukaani.org> 9232Date: 2008-09-04 10:39:15 +0300 9233 9234 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's 9235 simply nothing that would use it. Allow LZMA_FINISH to the 9236 decoders, which will usually ignore it (auto decoder and 9237 Stream decoder being exceptions). 9238 9239 src/liblzma/common/alone_decoder.c | 1 - 9240 src/liblzma/common/block_decoder.c | 2 +- 9241 src/liblzma/common/filter_decoder.c | 2 +- 9242 3 files changed, 2 insertions(+), 3 deletions(-) 9243 9244commit bea301c26d5d52675e11e0236faec0492af98f60 9245Author: Lasse Collin <lasse.collin@tukaani.org> 9246Date: 2008-09-03 17:06:25 +0300 9247 9248 Minor updates to the file format specification. 9249 9250 doc/file-format.txt | 105 ++++++++++++++++++++++++++++++++++++++++++---------- 9251 1 file changed, 85 insertions(+), 20 deletions(-) 9252 9253commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8 9254Author: Lasse Collin <lasse.collin@tukaani.org> 9255Date: 2008-09-02 19:33:32 +0300 9256 9257 Command line tool fixes 9258 9259 src/lzma/process.c | 21 +++++++++++++-------- 9260 1 file changed, 13 insertions(+), 8 deletions(-) 9261 9262commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4 9263Author: Lasse Collin <lasse.collin@tukaani.org> 9264Date: 2008-09-02 19:31:42 +0300 9265 9266 Auto decoder cleanup 9267 9268 src/liblzma/common/auto_decoder.c | 2 +- 9269 1 file changed, 1 insertion(+), 1 deletion(-) 9270 9271commit 689602336d126a46b60d791a67decab65e1e81f5 9272Author: Lasse Collin <lasse.collin@tukaani.org> 9273Date: 2008-09-02 19:12:12 +0300 9274 9275 Updated auto decoder to handle LZMA_CONCATENATED when decoding 9276 LZMA_Alone files. Decoding of concatenated LZMA_Alone files is 9277 intentionally not supported, so it is better to put this in 9278 auto decoder than LZMA_Alone decoder. 9279 9280 src/liblzma/common/auto_decoder.c | 87 ++++++++++++++++++++++++++++++++------- 9281 1 file changed, 71 insertions(+), 16 deletions(-) 9282 9283commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c 9284Author: Lasse Collin <lasse.collin@tukaani.org> 9285Date: 2008-09-02 14:56:52 +0300 9286 9287 Stream decoder cleanups 9288 9289 src/liblzma/common/stream_decoder.c | 57 +++++++++++++++++++++---------------- 9290 1 file changed, 32 insertions(+), 25 deletions(-) 9291 9292commit fc681657450ce57be1fe08f7a15d31dcc705e514 9293Author: Lasse Collin <lasse.collin@tukaani.org> 9294Date: 2008-09-02 11:45:39 +0300 9295 9296 Some fixes to LZ encoder. 9297 9298 src/liblzma/lz/lz_encoder.c | 56 ++++++++++++++++++++----- 9299 src/liblzma/lz/lz_encoder.h | 18 ++++---- 9300 src/liblzma/lz/lz_encoder_mf.c | 95 +++++++++++++++++------------------------- 9301 3 files changed, 94 insertions(+), 75 deletions(-) 9302 9303commit ede675f9ac1ca82a7d7c290324adba672118bc8d 9304Author: Lasse Collin <lasse.collin@tukaani.org> 9305Date: 2008-08-31 11:47:01 +0300 9306 9307 Fix wrong pointer calculation in LZMA encoder. 9308 9309 src/liblzma/lzma/lzma_encoder.c | 4 +++- 9310 1 file changed, 3 insertions(+), 1 deletion(-) 9311 9312commit 3b34851de1eaf358cf9268922fa0eeed8278d680 9313Author: Lasse Collin <lasse.collin@tukaani.org> 9314Date: 2008-08-28 22:53:15 +0300 9315 9316 Sort of garbage collection commit. :-| Many things are still 9317 broken. API has changed a lot and it will still change a 9318 little more here and there. The command line tool doesn't 9319 have all the required changes to reflect the API changes, so 9320 it's easy to get "internal error" or trigger assertions. 9321 9322 configure.ac | 356 +++--- 9323 debug/Makefile.am | 5 +- 9324 debug/crc32.c | 45 + 9325 debug/full_flush.c | 14 +- 9326 debug/hex2bin.c | 54 + 9327 debug/known_sizes.c | 135 ++ 9328 debug/memusage.c | 8 +- 9329 debug/sync_flush.c | 20 +- 9330 src/common/integer.h | 26 +- 9331 src/common/sysdefs.h | 42 +- 9332 src/liblzma/Makefile.am | 17 +- 9333 src/liblzma/api/Makefile.am | 6 +- 9334 src/liblzma/api/lzma.h | 161 ++- 9335 src/liblzma/api/lzma/alignment.h | 6 +- 9336 src/liblzma/api/lzma/alone.h | 52 - 9337 src/liblzma/api/lzma/auto.h | 36 - 9338 src/liblzma/api/lzma/base.h | 61 +- 9339 src/liblzma/api/lzma/block.h | 38 +- 9340 src/liblzma/api/lzma/check.h | 41 +- 9341 src/liblzma/api/lzma/container.h | 252 ++++ 9342 src/liblzma/api/lzma/delta.h | 36 +- 9343 src/liblzma/api/lzma/easy.h | 121 -- 9344 src/liblzma/api/lzma/filter.h | 74 +- 9345 src/liblzma/api/lzma/index.h | 40 +- 9346 src/liblzma/api/lzma/index_hash.h | 12 +- 9347 src/liblzma/api/lzma/lzma.h | 222 ++-- 9348 src/liblzma/api/lzma/memlimit.h | 15 +- 9349 src/liblzma/api/lzma/raw.h | 60 - 9350 src/liblzma/api/lzma/simple.h | 2 +- 9351 src/liblzma/api/lzma/stream.h | 53 - 9352 src/liblzma/api/lzma/stream_flags.h | 17 +- 9353 src/liblzma/api/lzma/subblock.h | 4 +- 9354 src/liblzma/api/lzma/version.h | 10 +- 9355 src/liblzma/api/lzma/vli.h | 131 +- 9356 src/liblzma/check/check.c | 128 +- 9357 src/liblzma/check/check.h | 67 +- 9358 src/liblzma/check/sha256.c | 29 +- 9359 src/liblzma/common/Makefile.am | 51 +- 9360 src/liblzma/common/alignment.c | 4 +- 9361 src/liblzma/common/allocator.c | 58 - 9362 src/liblzma/common/alone_decoder.c | 49 +- 9363 src/liblzma/common/alone_decoder.h | 9 +- 9364 src/liblzma/common/alone_encoder.c | 13 +- 9365 src/liblzma/common/auto_decoder.c | 38 +- 9366 src/liblzma/common/block_decoder.c | 67 +- 9367 src/liblzma/common/block_decoder.h | 2 +- 9368 src/liblzma/common/block_encoder.c | 42 +- 9369 src/liblzma/common/block_encoder.h | 2 +- 9370 src/liblzma/common/block_header_decoder.c | 6 +- 9371 src/liblzma/common/block_header_encoder.c | 9 +- 9372 src/liblzma/common/block_util.c | 10 +- 9373 src/liblzma/common/code.c | 203 --- 9374 src/liblzma/common/common.c | 298 +++++ 9375 src/liblzma/common/common.h | 237 ++-- 9376 src/liblzma/common/delta_common.c | 66 - 9377 src/liblzma/common/delta_common.h | 44 - 9378 src/liblzma/common/delta_decoder.c | 61 - 9379 src/liblzma/common/delta_decoder.h | 28 - 9380 src/liblzma/common/delta_encoder.c | 98 -- 9381 src/liblzma/common/delta_encoder.h | 28 - 9382 src/liblzma/common/easy.c | 18 +- 9383 src/liblzma/common/features.c | 66 - 9384 src/liblzma/common/filter_common.c | 262 ++++ 9385 src/liblzma/common/filter_common.h | 52 + 9386 src/liblzma/common/filter_decoder.c | 236 ++++ 9387 src/liblzma/common/filter_decoder.h | 35 + 9388 src/liblzma/common/filter_encoder.c | 308 +++++ 9389 src/liblzma/common/filter_encoder.h | 38 + 9390 src/liblzma/common/filter_flags_decoder.c | 185 +-- 9391 src/liblzma/common/filter_flags_encoder.c | 261 +--- 9392 src/liblzma/common/index_decoder.c | 14 +- 9393 src/liblzma/common/index_encoder.c | 16 +- 9394 src/liblzma/common/index_hash.c | 8 +- 9395 src/liblzma/common/init_encoder.c | 2 +- 9396 src/liblzma/common/memory_usage.c | 112 -- 9397 src/liblzma/common/next_coder.c | 65 - 9398 src/liblzma/common/raw_common.c | 127 -- 9399 src/liblzma/common/raw_common.h | 30 - 9400 src/liblzma/common/raw_decoder.c | 116 -- 9401 src/liblzma/common/raw_decoder.h | 29 - 9402 src/liblzma/common/raw_encoder.c | 111 -- 9403 src/liblzma/common/raw_encoder.h | 29 - 9404 src/liblzma/common/stream_common.c | 23 - 9405 src/liblzma/common/stream_common.h | 31 - 9406 src/liblzma/common/stream_decoder.c | 238 +++- 9407 src/liblzma/common/stream_decoder.h | 4 +- 9408 src/liblzma/common/stream_encoder.c | 35 +- 9409 src/liblzma/common/stream_encoder.h | 2 +- 9410 src/liblzma/common/stream_flags_common.c | 40 + 9411 src/liblzma/common/stream_flags_common.h | 31 + 9412 src/liblzma/common/stream_flags_decoder.c | 2 +- 9413 src/liblzma/common/stream_flags_encoder.c | 2 +- 9414 src/liblzma/common/stream_flags_equal.c | 36 - 9415 src/liblzma/common/version.c | 25 - 9416 src/liblzma/common/vli_decoder.c | 29 +- 9417 src/liblzma/common/vli_encoder.c | 23 +- 9418 src/liblzma/common/vli_size.c | 37 + 9419 src/liblzma/delta/Makefile.am | 34 + 9420 src/liblzma/delta/delta_common.c | 66 + 9421 src/liblzma/delta/delta_common.h | 44 + 9422 src/liblzma/delta/delta_decoder.c | 82 ++ 9423 src/liblzma/delta/delta_decoder.h | 32 + 9424 src/liblzma/delta/delta_encoder.c | 119 ++ 9425 src/liblzma/delta/delta_encoder.h | 30 + 9426 src/liblzma/lz/Makefile.am | 35 +- 9427 src/liblzma/lz/bt2.c | 27 - 9428 src/liblzma/lz/bt2.h | 31 - 9429 src/liblzma/lz/bt3.c | 29 - 9430 src/liblzma/lz/bt3.h | 31 - 9431 src/liblzma/lz/bt4.c | 30 - 9432 src/liblzma/lz/bt4.h | 31 - 9433 src/liblzma/lz/hc3.c | 30 - 9434 src/liblzma/lz/hc3.h | 31 - 9435 src/liblzma/lz/hc4.c | 31 - 9436 src/liblzma/lz/hc4.h | 31 - 9437 src/liblzma/lz/lz_decoder.c | 547 +++----- 9438 src/liblzma/lz/lz_decoder.h | 308 ++--- 9439 src/liblzma/lz/lz_encoder.c | 780 ++++++------ 9440 src/liblzma/lz/lz_encoder.h | 334 +++-- 9441 src/liblzma/lz/lz_encoder_hash.h | 104 ++ 9442 src/liblzma/lz/lz_encoder_mf.c | 780 ++++++++++++ 9443 src/liblzma/lz/lz_encoder_private.h | 40 - 9444 src/liblzma/lz/match_c.h | 412 ------ 9445 src/liblzma/lz/match_h.h | 69 -- 9446 src/liblzma/lzma/Makefile.am | 37 +- 9447 src/liblzma/lzma/fastpos.h | 8 +- 9448 src/liblzma/lzma/lzma2_decoder.c | 318 +++++ 9449 src/liblzma/lzma/lzma2_decoder.h | 35 + 9450 src/liblzma/lzma/lzma2_encoder.c | 406 ++++++ 9451 src/liblzma/lzma/lzma2_encoder.h | 34 + 9452 src/liblzma/lzma/lzma_common.h | 208 +++- 9453 src/liblzma/lzma/lzma_decoder.c | 1306 ++++++++++++-------- 9454 src/liblzma/lzma/lzma_decoder.h | 21 +- 9455 src/liblzma/lzma/lzma_encoder.c | 576 +++++++-- 9456 src/liblzma/lzma/lzma_encoder.h | 38 +- 9457 src/liblzma/lzma/lzma_encoder_features.c | 2 +- 9458 src/liblzma/lzma/lzma_encoder_getoptimum.c | 925 -------------- 9459 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 --- 9460 src/liblzma/lzma/lzma_encoder_init.c | 228 ---- 9461 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 193 +++ 9462 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 875 +++++++++++++ 9463 src/liblzma/lzma/lzma_encoder_presets.c | 52 +- 9464 src/liblzma/lzma/lzma_encoder_private.h | 174 +-- 9465 src/liblzma/lzma/lzma_literal.c | 51 - 9466 src/liblzma/lzma/lzma_literal.h | 71 -- 9467 src/liblzma/rangecoder/Makefile.am | 10 +- 9468 src/liblzma/rangecoder/price.h | 111 ++ 9469 src/liblzma/rangecoder/price_table.c | 84 +- 9470 src/liblzma/rangecoder/price_table_gen.c | 55 - 9471 src/liblzma/rangecoder/price_table_init.c | 33 +- 9472 src/liblzma/rangecoder/price_tablegen.c | 56 + 9473 src/liblzma/rangecoder/range_common.h | 17 +- 9474 src/liblzma/rangecoder/range_decoder.h | 209 ++-- 9475 src/liblzma/rangecoder/range_encoder.h | 92 +- 9476 src/liblzma/simple/Makefile.am | 12 + 9477 src/liblzma/simple/simple_coder.c | 8 +- 9478 src/liblzma/simple/simple_decoder.c | 47 + 9479 src/liblzma/simple/simple_decoder.h | 29 + 9480 src/liblzma/simple/simple_encoder.c | 45 + 9481 src/liblzma/simple/simple_encoder.h | 30 + 9482 src/liblzma/subblock/Makefile.am | 4 +- 9483 src/liblzma/subblock/subblock_decoder.c | 20 +- 9484 src/liblzma/subblock/subblock_decoder_helper.c | 2 +- 9485 src/liblzma/subblock/subblock_encoder.c | 28 +- 9486 src/lzma/args.c | 35 +- 9487 src/lzma/args.h | 4 +- 9488 src/lzma/options.c | 14 +- 9489 src/lzma/process.c | 88 +- 9490 src/lzmadec/lzmadec.c | 157 +-- 9491 tests/Makefile.am | 1 + 9492 tests/files/README | 303 ++--- 9493 tests/files/bad-0-backward_size.lzma | Bin 0 -> 32 bytes 9494 tests/files/bad-0-empty-truncated.lzma | Bin 0 -> 31 bytes 9495 tests/files/bad-0-nonempty_index.lzma | Bin 0 -> 32 bytes 9496 tests/files/bad-0cat-alone.lzma | Bin 0 -> 55 bytes 9497 tests/files/bad-0catpad-empty.lzma | Bin 0 -> 69 bytes 9498 tests/files/bad-0pad-empty.lzma | Bin 0 -> 37 bytes 9499 tests/files/bad-1-block_header-1.lzma | Bin 0 -> 64 bytes 9500 tests/files/bad-1-block_header-2.lzma | Bin 0 -> 64 bytes 9501 tests/files/bad-1-block_header-3.lzma | Bin 0 -> 68 bytes 9502 tests/files/bad-1-block_header-4.lzma | Bin 0 -> 72 bytes 9503 tests/files/bad-1-check-crc32.lzma | Bin 0 -> 68 bytes 9504 tests/files/bad-1-check-crc64.lzma | Bin 0 -> 72 bytes 9505 tests/files/bad-1-check-sha256.lzma | Bin 0 -> 96 bytes 9506 tests/files/bad-1-lzma2-1.lzma | Bin 0 -> 64 bytes 9507 tests/files/bad-1-lzma2-2.lzma | Bin 0 -> 424 bytes 9508 tests/files/bad-1-lzma2-3.lzma | Bin 0 -> 424 bytes 9509 tests/files/bad-1-lzma2-4.lzma | Bin 0 -> 408 bytes 9510 tests/files/bad-1-lzma2-5.lzma | Bin 0 -> 408 bytes 9511 tests/files/bad-1-lzma2-6.lzma | Bin 0 -> 68 bytes 9512 tests/files/bad-1-lzma2-7.lzma | Bin 0 -> 408 bytes 9513 tests/files/bad-1-stream_flags-1.lzma | Bin 0 -> 68 bytes 9514 tests/files/bad-1-stream_flags-2.lzma | Bin 0 -> 68 bytes 9515 tests/files/bad-1-stream_flags-3.lzma | Bin 0 -> 68 bytes 9516 tests/files/bad-1-vli-1.lzma | Bin 0 -> 72 bytes 9517 tests/files/bad-1-vli-2.lzma | Bin 0 -> 72 bytes 9518 tests/files/bad-2-compressed_data_padding.lzma | Bin 0 -> 92 bytes 9519 tests/files/bad-2-index-1.lzma | Bin 0 -> 92 bytes 9520 tests/files/bad-2-index-2.lzma | Bin 0 -> 92 bytes 9521 tests/files/bad-2-index-3.lzma | Bin 0 -> 92 bytes 9522 tests/files/bad-2-index-4.lzma | Bin 0 -> 92 bytes 9523 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 65 -> 0 bytes 9524 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 65 -> 0 bytes 9525 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 65 -> 0 bytes 9526 tests/files/bad-multi-none-1.lzma | Bin 54 -> 0 bytes 9527 tests/files/bad-multi-none-2.lzma | Bin 53 -> 0 bytes 9528 tests/files/bad-multi-none-3.lzma | Bin 53 -> 0 bytes 9529 tests/files/bad-multi-none-block_1.lzma | Bin 66 -> 0 bytes 9530 tests/files/bad-multi-none-block_2.lzma | Bin 66 -> 0 bytes 9531 tests/files/bad-multi-none-block_3.lzma | Bin 58 -> 0 bytes 9532 tests/files/bad-multi-none-extra_1.lzma | Bin 54 -> 0 bytes 9533 tests/files/bad-multi-none-extra_2.lzma | Bin 54 -> 0 bytes 9534 tests/files/bad-multi-none-extra_3.lzma | Bin 55 -> 0 bytes 9535 tests/files/bad-multi-none-header_1.lzma | Bin 57 -> 0 bytes 9536 tests/files/bad-multi-none-header_2.lzma | Bin 61 -> 0 bytes 9537 tests/files/bad-multi-none-header_3.lzma | Bin 59 -> 0 bytes 9538 tests/files/bad-multi-none-header_4.lzma | Bin 59 -> 0 bytes 9539 tests/files/bad-multi-none-header_5.lzma | Bin 58 -> 0 bytes 9540 tests/files/bad-multi-none-header_6.lzma | Bin 59 -> 0 bytes 9541 tests/files/bad-multi-none-header_7.lzma | Bin 59 -> 0 bytes 9542 tests/files/bad-multi-none-index_1.lzma | Bin 51 -> 0 bytes 9543 tests/files/bad-multi-none-index_2.lzma | Bin 49 -> 0 bytes 9544 tests/files/bad-multi-none-index_3.lzma | Bin 51 -> 0 bytes 9545 tests/files/bad-multi-none-index_4.lzma | Bin 51 -> 0 bytes 9546 tests/files/bad-single-data_after_eopm_1.lzma | Bin 55 -> 0 bytes 9547 tests/files/bad-single-data_after_eopm_2.lzma | Bin 56 -> 0 bytes 9548 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 53 -> 0 bytes 9549 tests/files/bad-single-lzma-flush_twice.lzma | Bin 63 -> 0 bytes 9550 tests/files/bad-single-none-empty.lzma | Bin 19 -> 0 bytes 9551 .../files/bad-single-none-footer_filter_flags.lzma | Bin 30 -> 0 bytes 9552 tests/files/bad-single-none-too_long_vli.lzma | Bin 39 -> 0 bytes 9553 tests/files/bad-single-none-truncated.lzma | Bin 29 -> 0 bytes 9554 tests/files/bad-single-subblock-padding_loop.lzma | Bin 43 -> 0 bytes 9555 tests/files/bad-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes 9556 tests/files/bad-single-subblock_subblock.lzma | Bin 26 -> 0 bytes 9557 tests/files/good-0-empty.lzma | Bin 0 -> 32 bytes 9558 tests/files/good-0cat-empty.lzma | Bin 0 -> 64 bytes 9559 tests/files/good-0catpad-empty.lzma | Bin 0 -> 68 bytes 9560 tests/files/good-0pad-empty.lzma | Bin 0 -> 36 bytes 9561 tests/files/good-1-3delta-lzma2.lzma | Bin 0 -> 528 bytes 9562 tests/files/good-1-block_header-1.lzma | Bin 0 -> 72 bytes 9563 tests/files/good-1-block_header-2.lzma | Bin 0 -> 68 bytes 9564 tests/files/good-1-block_header-3.lzma | Bin 0 -> 68 bytes 9565 tests/files/good-1-check-crc32.lzma | Bin 0 -> 68 bytes 9566 tests/files/good-1-check-crc64.lzma | Bin 0 -> 72 bytes 9567 tests/files/good-1-check-none.lzma | Bin 0 -> 64 bytes 9568 tests/files/good-1-check-sha256.lzma | Bin 0 -> 96 bytes 9569 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 0 -> 51312 bytes 9570 tests/files/good-1-lzma2-1.lzma | Bin 0 -> 424 bytes 9571 tests/files/good-1-lzma2-2.lzma | Bin 0 -> 424 bytes 9572 tests/files/good-1-lzma2-3.lzma | Bin 0 -> 408 bytes 9573 tests/files/good-1-sparc-lzma2.lzma | Bin 0 -> 2292 bytes 9574 tests/files/good-1-x86-lzma2.lzma | Bin 0 -> 1936 bytes 9575 tests/files/good-2-lzma2.lzma | Bin 0 -> 92 bytes 9576 tests/files/good-cat-single-none-pad.lzma | Bin 64 -> 0 bytes 9577 tests/files/good-multi-none-1.lzma | Bin 75 -> 0 bytes 9578 tests/files/good-multi-none-2.lzma | Bin 53 -> 0 bytes 9579 tests/files/good-multi-none-block_1.lzma | Bin 66 -> 0 bytes 9580 tests/files/good-multi-none-block_2.lzma | Bin 58 -> 0 bytes 9581 tests/files/good-multi-none-extra_1.lzma | Bin 51 -> 0 bytes 9582 tests/files/good-multi-none-extra_2.lzma | Bin 79 -> 0 bytes 9583 tests/files/good-multi-none-extra_3.lzma | Bin 55 -> 0 bytes 9584 tests/files/good-multi-none-header_1.lzma | Bin 58 -> 0 bytes 9585 tests/files/good-multi-none-header_2.lzma | Bin 66 -> 0 bytes 9586 tests/files/good-multi-none-header_3.lzma | Bin 59 -> 0 bytes 9587 tests/files/good-single-delta-lzma.tiff.lzma | Bin 51409 -> 0 bytes 9588 tests/files/good-single-lzma-empty.lzma | Bin 21 -> 0 bytes 9589 tests/files/good-single-lzma-flush_1.lzma | Bin 48 -> 0 bytes 9590 tests/files/good-single-lzma-flush_2.lzma | Bin 63 -> 0 bytes 9591 tests/files/good-single-lzma.lzma | Bin 44 -> 0 bytes 9592 tests/files/good-single-none-empty_1.lzma | Bin 18 -> 0 bytes 9593 tests/files/good-single-none-empty_2.lzma | Bin 26 -> 0 bytes 9594 tests/files/good-single-none-empty_3.lzma | Bin 19 -> 0 bytes 9595 tests/files/good-single-none-pad.lzma | Bin 32 -> 0 bytes 9596 tests/files/good-single-none.lzma | Bin 30 -> 0 bytes 9597 tests/files/good-single-sparc-lzma.lzma | Bin 2263 -> 0 bytes 9598 tests/files/good-single-subblock-lzma.lzma | Bin 50 -> 0 bytes 9599 tests/files/good-single-subblock_implicit.lzma | Bin 35 -> 0 bytes 9600 tests/files/good-single-subblock_rle.lzma | Bin 118 -> 0 bytes 9601 tests/files/good-single-x86-lzma.lzma | Bin 1909 -> 0 bytes 9602 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 51 -> 0 bytes 9603 tests/files/malicious-single-subblock-256MiB.lzma | Bin 30 -> 0 bytes 9604 tests/files/malicious-single-subblock-64PiB.lzma | Bin 45 -> 0 bytes 9605 tests/files/malicious-single-subblock31-slow.lzma | Bin 1233 -> 0 bytes 9606 tests/files/unsupported-block_header.lzma | Bin 0 -> 68 bytes 9607 tests/files/unsupported-check.lzma | Bin 0 -> 68 bytes 9608 tests/files/unsupported-filter_flags-1.lzma | Bin 0 -> 68 bytes 9609 tests/files/unsupported-filter_flags-2.lzma | Bin 0 -> 68 bytes 9610 tests/files/unsupported-filter_flags-3.lzma | Bin 0 -> 68 bytes 9611 tests/test_block_header.c | 28 +- 9612 tests/test_compress.sh | 4 +- 9613 tests/test_filter_flags.c | 51 +- 9614 tests/test_stream_flags.c | 4 +- 9615 tests/tests.h | 8 + 9616 294 files changed, 9768 insertions(+), 8195 deletions(-) 9617 9618commit 57b9a145a527f0716822615e5ed536d33aebd3fc 9619Author: Lasse Collin <lasse.collin@tukaani.org> 9620Date: 2008-06-20 17:16:32 +0300 9621 9622 Fix test_filter_flags to match the new restriction of lc+lp. 9623 9624 tests/test_filter_flags.c | 3 +++ 9625 1 file changed, 3 insertions(+) 9626 9627commit eaafc4367c77ec1d910e16d11b4da293969d97a3 9628Author: Lasse Collin <lasse.collin@tukaani.org> 9629Date: 2008-06-20 16:19:54 +0300 9630 9631 Remove some redundant code from LZMA encoder. 9632 9633 src/liblzma/lzma/lzma_encoder.c | 15 +-------------- 9634 1 file changed, 1 insertion(+), 14 deletions(-) 9635 9636commit 0809c46534fa5664fe35d9e98d95e87312ed130e 9637Author: Lasse Collin <lasse.collin@tukaani.org> 9638Date: 2008-06-19 16:35:08 +0300 9639 9640 Add limit of lc + lp <= 4. Now we can allocate the 9641 literal coder as part of the main LZMA encoder or 9642 decoder structure. 9643 9644 Make the LZMA decoder to rely on the current internal API 9645 to free the allocated memory in case an error occurs. 9646 9647 src/liblzma/api/lzma/lzma.h | 10 +++++- 9648 src/liblzma/lzma/lzma_decoder.c | 57 ++++++++------------------------- 9649 src/liblzma/lzma/lzma_encoder_init.c | 13 ++++---- 9650 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 9651 src/liblzma/lzma/lzma_literal.c | 39 +++++----------------- 9652 src/liblzma/lzma/lzma_literal.h | 13 +++----- 9653 6 files changed, 43 insertions(+), 91 deletions(-) 9654 9655commit d25ab1b96178f06a0e724f58e3cd68300b2b1275 9656Author: Lasse Collin <lasse.collin@tukaani.org> 9657Date: 2008-06-18 21:45:19 +0300 9658 9659 Comments 9660 9661 src/liblzma/lzma/lzma_encoder.c | 7 ++----- 9662 1 file changed, 2 insertions(+), 5 deletions(-) 9663 9664commit 6368a2fa5901c75864be5171dd57a50af7adbb41 9665Author: Lasse Collin <lasse.collin@tukaani.org> 9666Date: 2008-06-18 19:19:02 +0300 9667 9668 Delete old code that was supposed to be already deleted 9669 from test_block_header.c. 9670 9671 tests/test_block_header.c | 30 ------------------------------ 9672 1 file changed, 30 deletions(-) 9673 9674commit 7d17818cec8597f847b0a2537fde991bbc3d9e96 9675Author: Lasse Collin <lasse.collin@tukaani.org> 9676Date: 2008-06-18 18:02:10 +0300 9677 9678 Update the code to mostly match the new simpler file format 9679 specification. Simplify things by removing most of the 9680 support for known uncompressed size in most places. 9681 There are some miscellaneous changes here and there too. 9682 9683 The API of liblzma has got many changes and still some 9684 more will be done soon. While most of the code has been 9685 updated, some things are not fixed (the command line tool 9686 will choke with invalid filter chain, if nothing else). 9687 9688 Subblock filter is somewhat broken for now. It will be 9689 updated once the encoded format of the Subblock filter 9690 has been decided. 9691 9692 configure.ac | 41 +- 9693 debug/full_flush.c | 16 +- 9694 debug/sync_flush.c | 15 +- 9695 src/common/bswap.h | 44 ++ 9696 src/common/integer.h | 167 +++++ 9697 src/liblzma/api/Makefile.am | 5 +- 9698 src/liblzma/api/lzma.h | 9 +- 9699 src/liblzma/api/lzma/alone.h | 32 +- 9700 src/liblzma/api/lzma/auto.h | 7 +- 9701 src/liblzma/api/lzma/base.h | 15 + 9702 src/liblzma/api/lzma/block.h | 306 +++------- 9703 src/liblzma/api/lzma/check.h | 18 +- 9704 src/liblzma/api/lzma/copy.h | 29 - 9705 src/liblzma/api/lzma/easy.h | 61 +- 9706 src/liblzma/api/lzma/extra.h | 114 ---- 9707 src/liblzma/api/lzma/filter.h | 5 +- 9708 src/liblzma/api/lzma/index.h | 204 ++++++- 9709 src/liblzma/api/lzma/index_hash.h | 94 +++ 9710 src/liblzma/api/lzma/info.h | 315 ---------- 9711 src/liblzma/api/lzma/lzma.h | 2 +- 9712 src/liblzma/api/lzma/metadata.h | 100 --- 9713 src/liblzma/api/lzma/raw.h | 20 +- 9714 src/liblzma/api/lzma/stream.h | 157 +---- 9715 src/liblzma/api/lzma/stream_flags.h | 146 +++-- 9716 src/liblzma/api/lzma/version.h | 2 +- 9717 src/liblzma/api/lzma/vli.h | 83 ++- 9718 src/liblzma/check/Makefile.am | 1 - 9719 src/liblzma/check/check.c | 55 +- 9720 src/liblzma/check/check.h | 47 +- 9721 src/liblzma/check/check_byteswap.h | 43 -- 9722 src/liblzma/check/crc32_init.c | 2 +- 9723 src/liblzma/check/crc64_init.c | 2 +- 9724 src/liblzma/check/crc_macros.h | 2 +- 9725 src/liblzma/check/sha256.c | 53 +- 9726 src/liblzma/common/Makefile.am | 31 +- 9727 src/liblzma/common/alignment.c | 5 +- 9728 src/liblzma/common/alone_decoder.c | 77 +-- 9729 src/liblzma/common/alone_encoder.c | 99 ++- 9730 src/liblzma/common/auto_decoder.c | 18 +- 9731 src/liblzma/common/block_decoder.c | 298 +++------ 9732 src/liblzma/common/block_encoder.c | 228 ++----- 9733 src/liblzma/common/block_header_decoder.c | 400 +++--------- 9734 src/liblzma/common/block_header_encoder.c | 207 +++---- 9735 src/liblzma/common/block_private.h | 51 +- 9736 src/liblzma/common/block_util.c | 73 +++ 9737 src/liblzma/common/common.h | 44 +- 9738 src/liblzma/common/copy_coder.c | 144 ----- 9739 src/liblzma/common/copy_coder.h | 31 - 9740 src/liblzma/common/delta_common.c | 4 - 9741 src/liblzma/common/delta_common.h | 4 - 9742 src/liblzma/common/delta_decoder.c | 55 +- 9743 src/liblzma/common/delta_encoder.c | 7 +- 9744 src/liblzma/common/easy.c | 122 ++++ 9745 src/liblzma/common/easy_common.c | 54 -- 9746 src/liblzma/common/easy_common.h | 28 - 9747 src/liblzma/common/easy_multi.c | 103 ---- 9748 src/liblzma/common/easy_single.c | 37 -- 9749 src/liblzma/common/extra.c | 34 -- 9750 src/liblzma/common/features.c | 4 - 9751 src/liblzma/common/filter_flags_decoder.c | 384 ++++-------- 9752 src/liblzma/common/filter_flags_encoder.c | 120 +--- 9753 src/liblzma/common/index.c | 773 ++++++++++++++++++++--- 9754 src/liblzma/common/index.h | 67 ++ 9755 src/liblzma/common/index_decoder.c | 252 ++++++++ 9756 src/liblzma/common/index_encoder.c | 222 +++++++ 9757 src/liblzma/common/index_encoder.h | 30 + 9758 src/liblzma/common/index_hash.c | 340 +++++++++++ 9759 src/liblzma/common/info.c | 814 ------------------------- 9760 src/liblzma/common/memory_usage.c | 1 - 9761 src/liblzma/common/metadata_decoder.c | 578 ------------------ 9762 src/liblzma/common/metadata_decoder.h | 31 - 9763 src/liblzma/common/metadata_encoder.c | 435 ------------- 9764 src/liblzma/common/metadata_encoder.h | 30 - 9765 src/liblzma/common/raw_common.c | 178 ++---- 9766 src/liblzma/common/raw_common.h | 5 +- 9767 src/liblzma/common/raw_decoder.c | 19 +- 9768 src/liblzma/common/raw_decoder.h | 3 +- 9769 src/liblzma/common/raw_encoder.c | 101 +-- 9770 src/liblzma/common/raw_encoder.h | 3 +- 9771 src/liblzma/common/stream_common.h | 3 + 9772 src/liblzma/common/stream_decoder.c | 458 +++++--------- 9773 src/liblzma/common/stream_decoder.h | 28 + 9774 src/liblzma/common/stream_encoder.c | 282 +++++++++ 9775 src/liblzma/common/stream_encoder.h | 30 + 9776 src/liblzma/common/stream_encoder_multi.c | 445 -------------- 9777 src/liblzma/common/stream_encoder_multi.h | 26 - 9778 src/liblzma/common/stream_encoder_single.c | 219 ------- 9779 src/liblzma/common/stream_flags_decoder.c | 260 ++------ 9780 src/liblzma/common/stream_flags_encoder.c | 56 +- 9781 src/liblzma/common/stream_flags_equal.c | 36 ++ 9782 src/liblzma/common/vli_decoder.c | 68 ++- 9783 src/liblzma/common/vli_encoder.c | 59 +- 9784 src/liblzma/common/vli_reverse_decoder.c | 55 -- 9785 src/liblzma/lz/lz_decoder.c | 6 +- 9786 src/liblzma/lz/lz_decoder.h | 10 +- 9787 src/liblzma/lzma/lzma_decoder.c | 13 +- 9788 src/liblzma/lzma/lzma_decoder.h | 10 +- 9789 src/liblzma/simple/simple_coder.c | 29 +- 9790 src/liblzma/simple/simple_private.h | 4 - 9791 src/liblzma/subblock/subblock_decoder.c | 106 +--- 9792 src/liblzma/subblock/subblock_decoder_helper.c | 5 +- 9793 src/liblzma/subblock/subblock_encoder.c | 8 +- 9794 src/lzma/args.c | 22 +- 9795 src/lzma/args.h | 2 - 9796 src/lzma/error.c | 6 + 9797 src/lzma/process.c | 26 +- 9798 src/lzmadec/lzmadec.c | 8 +- 9799 tests/Makefile.am | 5 +- 9800 tests/test_block_header.c | 411 +++++-------- 9801 tests/test_compress.sh | 65 +- 9802 tests/test_filter_flags.c | 116 ++-- 9803 tests/test_index.c | 504 ++++++++++++++- 9804 tests/test_info.c | 717 ---------------------- 9805 tests/test_stream_flags.c | 134 ++-- 9806 tests/tests.h | 14 +- 9807 115 files changed, 4846 insertions(+), 8156 deletions(-) 9808 9809commit bf6348d1a3ff09fdc06940468f318f75ffa6af11 9810Author: Lasse Collin <lasse.collin@tukaani.org> 9811Date: 2008-06-17 15:03:46 +0300 9812 9813 Update the file format specification draft. The new one is 9814 a lot simpler than the previous versions, but it also means 9815 that the existing code will change a lot. 9816 9817 doc/file-format.txt | 1794 +++++++++++++++------------------------------------ 9818 1 file changed, 508 insertions(+), 1286 deletions(-) 9819 9820commit 803194ddd26f01ff60ba4e9924c6087a56b29827 9821Author: Lasse Collin <lasse.collin@tukaani.org> 9822Date: 2008-06-11 21:42:47 +0300 9823 9824 Fix uninitialized variable in LZMA encoder. This was 9825 introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f. 9826 9827 src/liblzma/lzma/lzma_encoder_init.c | 2 ++ 9828 1 file changed, 2 insertions(+) 9829 9830commit 0ea98e52ba87453497b1355c51f13bad55c8924a 9831Author: Lasse Collin <lasse.collin@tukaani.org> 9832Date: 2008-06-11 15:08:44 +0300 9833 9834 Improve command line integer parsing a little in lzma and 9835 lzmadec to make them accept also KiB in addition Ki etc. 9836 Fix also memory usage information in lzmadec --help. 9837 9838 src/lzma/util.c | 23 ++++++++++++++--------- 9839 src/lzmadec/lzmadec.c | 31 ++++++++++++++++++------------- 9840 2 files changed, 32 insertions(+), 22 deletions(-) 9841 9842commit 436fa5fae96d4e35759aed33066060f09ee8c6ef 9843Author: Lasse Collin <lasse.collin@tukaani.org> 9844Date: 2008-06-10 20:36:12 +0300 9845 9846 s/decompressed/compressed/ in the command line tool's 9847 error message. 9848 9849 src/lzma/main.c | 2 +- 9850 1 file changed, 1 insertion(+), 1 deletion(-) 9851 9852commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f 9853Author: Lasse Collin <lasse.collin@tukaani.org> 9854Date: 2008-06-01 12:48:17 +0300 9855 9856 Fix a buffer overflow in the LZMA encoder. It was due to my 9857 misunderstanding of the code. There's no tiny fix for this 9858 problem, so I also cleaned up the code in general. 9859 9860 This reduces the speed of the encoder 2-5 % in the fastest 9861 compression mode ("lzma -1"). High compression modes should 9862 have no noticeable performance difference. 9863 9864 This commit breaks things (especially LZMA_SYNC_FLUSH) but I 9865 will fix them once the new format and LZMA2 has been roughly 9866 implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all 9867 and won't be supported in the new .lzma format. This may 9868 change still but this is what it looks like now. 9869 9870 Support for known uncompressed size (that is, LZMA or LZMA2 9871 without EOPM) is likely to go away. This means there will 9872 be API changes. 9873 9874 src/liblzma/lz/lz_encoder.c | 113 +---- 9875 src/liblzma/lz/lz_encoder.h | 18 +- 9876 src/liblzma/lzma/lzma_encoder.c | 551 ++++++++++++------------- 9877 src/liblzma/lzma/lzma_encoder_getoptimum.c | 59 ++- 9878 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 4 +- 9879 src/liblzma/lzma/lzma_encoder_init.c | 9 +- 9880 src/liblzma/lzma/lzma_encoder_private.h | 15 +- 9881 src/liblzma/rangecoder/range_encoder.h | 383 +++++++++-------- 9882 8 files changed, 532 insertions(+), 620 deletions(-) 9883 9884commit e55e0e873ce2511325749d415ae547d62ab5f00d 9885Author: Lasse Collin <lasse.collin@tukaani.org> 9886Date: 2008-05-30 11:53:41 +0300 9887 9888 Typo fixes from meyering. 9889 9890 doc/faq.txt | 4 ++-- 9891 doc/liblzma-advanced.txt | 2 +- 9892 2 files changed, 3 insertions(+), 3 deletions(-) 9893 9894commit ed6664146fcbe9cc4a3b23b31632182ed812ea93 9895Author: Lasse Collin <lasse.collin@tukaani.org> 9896Date: 2008-05-11 14:24:42 +0300 9897 9898 Remove support for pre-C89 libc versions that lack memcpy, 9899 memmove, and memset. 9900 9901 configure.ac | 2 +- 9902 src/common/sysdefs.h | 15 ++------------- 9903 src/liblzma/common/allocator.c | 2 +- 9904 3 files changed, 4 insertions(+), 15 deletions(-) 9905 9906commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63 9907Author: Lasse Collin <lasse.collin@tukaani.org> 9908Date: 2008-05-11 14:17:21 +0300 9909 9910 Improved C99 compiler detection in configure.ac. It will 9911 pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic 9912 should still give warnings about GNU extensions like before 9913 except with some special keywords like asm(). 9914 9915 configure.ac | 24 ++++++++++++------------ 9916 1 file changed, 12 insertions(+), 12 deletions(-) 9917 9918commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf 9919Author: Lasse Collin <lasse.collin@tukaani.org> 9920Date: 2008-05-06 15:15:07 +0300 9921 9922 Bunch of grammar fixes from meyering. 9923 9924 doc/liblzma-security.txt | 8 ++++---- 9925 src/liblzma/api/lzma/memlimit.h | 6 +++--- 9926 src/lzma/help.c | 2 +- 9927 tests/files/README | 2 +- 9928 4 files changed, 9 insertions(+), 9 deletions(-) 9929 9930commit dc192b6343ae36276c85fcf7ef6006147816eadc 9931Author: Lasse Collin <lasse.collin@tukaani.org> 9932Date: 2008-05-06 13:41:05 +0300 9933 9934 Typo fix 9935 9936 src/liblzma/api/lzma/init.h | 2 +- 9937 1 file changed, 1 insertion(+), 1 deletion(-) 9938 9939commit 944b62b93239b27b338d117f2668c0e95849659b 9940Author: Lasse Collin <lasse.collin@tukaani.org> 9941Date: 2008-05-04 22:29:27 +0300 9942 9943 Don't print an error message on broken pipe unless --verbose 9944 is used. 9945 9946 src/lzma/io.c | 15 ++++++++++++++- 9947 1 file changed, 14 insertions(+), 1 deletion(-) 9948 9949commit 8e074349e47ea6832b8fdf9244e581d453733433 9950Author: Lasse Collin <lasse.collin@tukaani.org> 9951Date: 2008-04-30 22:16:17 +0300 9952 9953 Fix a crash with --format=alone if other filters than LZMA 9954 are specified on the command line. 9955 9956 src/lzma/args.c | 9 +++++++++ 9957 1 file changed, 9 insertions(+) 9958 9959commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73 9960Author: Lasse Collin <lasse.collin@tukaani.org> 9961Date: 2008-04-28 17:08:27 +0300 9962 9963 Updated THANKS. 9964 9965 THANKS | 1 + 9966 1 file changed, 1 insertion(+) 9967 9968commit 3be21fb12f4cec2cf07799e8960382f4cb375369 9969Author: Lasse Collin <lasse.collin@tukaani.org> 9970Date: 2008-04-28 17:06:34 +0300 9971 9972 Fixed wrong spelling "limitter" to "limiter". This affects 9973 liblzma's API. 9974 9975 doc/liblzma-security.txt | 14 +- 9976 src/liblzma/api/lzma/base.h | 4 +- 9977 src/liblzma/api/lzma/memlimit.h | 10 +- 9978 src/liblzma/api/lzma/stream.h | 4 +- 9979 src/liblzma/common/Makefile.am | 2 +- 9980 src/liblzma/common/memory_limiter.c | 288 +++++++++++++++++++++++++++++++++++ 9981 src/liblzma/common/memory_limitter.c | 288 ----------------------------------- 9982 src/lzma/list.c | 6 +- 9983 src/lzmadec/lzmadec.c | 12 +- 9984 tests/test_memlimit.c | 4 +- 9985 10 files changed, 316 insertions(+), 316 deletions(-) 9986 9987commit beeb81060821dfec4e7898e0d44b7900dcb2215e 9988Author: Lasse Collin <lasse.collin@tukaani.org> 9989Date: 2008-04-25 15:39:50 +0300 9990 9991 Prevent LZ encoder from hanging with known uncompressed 9992 size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream 9993 with known uncompressed size, but since it currently seems 9994 likely that support for encoding with known uncompressed 9995 size will go away anyway, I'm not fixing this problem now. 9996 9997 src/liblzma/lz/lz_encoder.c | 9 +++++++-- 9998 1 file changed, 7 insertions(+), 2 deletions(-) 9999 10000commit c324325f9f13cdeb92153c5d00962341ba070ca2 10001Author: Lasse Collin <lasse.collin@tukaani.org> 10002Date: 2008-04-25 13:58:56 +0300 10003 10004 Removed src/liblzma/common/sysdefs.h symlink, which was 10005 annoying, because "make dist" put two copies of sysdefs.h 10006 into the tarball instead of the symlink. 10007 10008 src/liblzma/check/crc32_table.c | 2 +- 10009 src/liblzma/check/crc64_table.c | 2 +- 10010 src/liblzma/common/Makefile.am | 1 - 10011 src/liblzma/common/common.h | 2 +- 10012 src/liblzma/common/sysdefs.h | 1 - 10013 5 files changed, 3 insertions(+), 5 deletions(-) 10014 10015commit d3ba30243c75c13d094de1793f9c58acdbacc692 10016Author: Lasse Collin <lasse.collin@tukaani.org> 10017Date: 2008-04-25 13:41:29 +0300 10018 10019 Added memusage.c to debug directory. 10020 10021 debug/Makefile.am | 3 ++- 10022 debug/memusage.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 10023 2 files changed, 57 insertions(+), 1 deletion(-) 10024 10025commit 8f804c29aa8471ccd6438ddca254092b8869ca52 10026Author: Lasse Collin <lasse.collin@tukaani.org> 10027Date: 2008-04-25 13:32:35 +0300 10028 10029 Bumped version number to 4.999.3alpha. It will become 5.0.0 10030 once we have a stable release (won't be very soon). The 10031 version number is no longer related to version of LZMA SDK. 10032 10033 Made some small Automake-related changes to toplevel 10034 Makefile.am and configure.ac. 10035 10036 Makefile.am | 7 +++++-- 10037 README | 29 +++++++++++++++++++++++++++++ 10038 configure.ac | 4 ++-- 10039 src/liblzma/api/lzma/version.h | 22 ++++++++++------------ 10040 4 files changed, 46 insertions(+), 16 deletions(-) 10041 10042commit c99037ea10f121cbacf60c37a36c29768ae53447 10043Author: Lasse Collin <lasse.collin@tukaani.org> 10044Date: 2008-04-24 20:25:39 +0300 10045 10046 Fix a memory leak by calling free(extra->data) in 10047 lzma_extra_free(). 10048 10049 src/liblzma/common/extra.c | 1 + 10050 1 file changed, 1 insertion(+) 10051 10052commit 22ba3b0b5043fa481903482ce85015fe775939e5 10053Author: Lasse Collin <lasse.collin@tukaani.org> 10054Date: 2008-04-24 20:23:05 +0300 10055 10056 Make unlzma and lzcat symlinks. 10057 10058 src/lzma/Makefile.am | 12 ++++++++++++ 10059 1 file changed, 12 insertions(+) 10060 10061commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e 10062Author: Lasse Collin <lasse.collin@tukaani.org> 10063Date: 2008-04-24 20:20:27 +0300 10064 10065 Fixed a bug in command line option parsing. 10066 10067 src/lzma/options.c | 2 +- 10068 1 file changed, 1 insertion(+), 1 deletion(-) 10069 10070commit 283f939974c32c47f05d495e8dea455ec646ed64 10071Author: Lasse Collin <lasse.collin@tukaani.org> 10072Date: 2008-04-24 20:19:20 +0300 10073 10074 Added two assert()s. 10075 10076 src/liblzma/lzma/lzma_encoder.c | 4 +++- 10077 1 file changed, 3 insertions(+), 1 deletion(-) 10078 10079commit eb348a60b6e19a7c093f892434f23c4756973ffd 10080Author: Lasse Collin <lasse.collin@tukaani.org> 10081Date: 2008-04-24 19:22:53 +0300 10082 10083 Switch to uint16_t as the type of range coder probabilities. 10084 10085 src/liblzma/rangecoder/range_common.h | 25 +++++++++++++++++++------ 10086 1 file changed, 19 insertions(+), 6 deletions(-) 10087 10088commit 6c5306e312bcfd254cf654f88c04e34ba786df3d 10089Author: Lasse Collin <lasse.collin@tukaani.org> 10090Date: 2008-04-24 18:39:57 +0300 10091 10092 Fix wrong return type (uint32_t -> bool). 10093 10094 src/liblzma/lz/lz_encoder.c | 2 +- 10095 src/liblzma/lz/lz_encoder.h | 2 +- 10096 2 files changed, 2 insertions(+), 2 deletions(-) 10097 10098commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8 10099Author: Lasse Collin <lasse.collin@tukaani.org> 10100Date: 2008-04-24 18:38:00 +0300 10101 10102 Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH. 10103 10104 src/liblzma/lz/lz_encoder.c | 16 ++++++++++++++++ 10105 src/liblzma/lz/lz_encoder.h | 4 ++++ 10106 src/liblzma/lz/match_c.h | 23 ++++++++++++++++++----- 10107 3 files changed, 38 insertions(+), 5 deletions(-) 10108 10109commit bc04486e368d20b3027cde625267762aae063965 10110Author: Lasse Collin <lasse.collin@tukaani.org> 10111Date: 2008-04-24 17:33:01 +0300 10112 10113 Fix fastpos problem in Makefile.am when built with --enable-small. 10114 10115 src/liblzma/lzma/Makefile.am | 5 ++++- 10116 1 file changed, 4 insertions(+), 1 deletion(-) 10117 10118commit 7ab493924e0ed590a5121a15ee54038d238880d3 10119Author: Lasse Collin <lasse.collin@tukaani.org> 10120Date: 2008-04-24 17:30:51 +0300 10121 10122 Use 64-bit integer as range encoder's cache size. This fixes a 10123 theoretical data corruption, which should be very hard to trigger 10124 even intentionally. 10125 10126 src/liblzma/rangecoder/range_encoder.h | 2 +- 10127 1 file changed, 1 insertion(+), 1 deletion(-) 10128 10129commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b 10130Author: Lasse Collin <lasse.collin@tukaani.org> 10131Date: 2008-03-24 16:38:40 +0200 10132 10133 Replaced the range decoder optimization that used arithmetic 10134 right shift with as fast version that doesn't need 10135 arithmetic right shift. Removed the related check from 10136 configure.ac. 10137 10138 configure.ac | 1 - 10139 m4/ax_c_arithmetic_rshift.m4 | 36 ----------------------- 10140 src/liblzma/rangecoder/range_decoder.h | 53 ++++++++++------------------------ 10141 3 files changed, 16 insertions(+), 74 deletions(-) 10142 10143commit ad999efd279d95f1e7ac555b14170e8e9020488c 10144Author: Lasse Collin <lasse.collin@tukaani.org> 10145Date: 2008-03-22 14:39:34 +0200 10146 10147 Take advantage of arithmetic right shift in range decoder. 10148 10149 src/liblzma/rangecoder/range_decoder.h | 52 ++++++++++++++++++++++++---------- 10150 1 file changed, 37 insertions(+), 15 deletions(-) 10151 10152commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d 10153Author: Lasse Collin <lasse.collin@tukaani.org> 10154Date: 2008-03-22 14:18:29 +0200 10155 10156 Added autoconf check to detect if we can use arithmetic 10157 right shift for optimizations. 10158 10159 configure.ac | 1 + 10160 m4/ax_c_arithmetic_rshift.m4 | 36 ++++++++++++++++++++++++++++++++++++ 10161 2 files changed, 37 insertions(+) 10162 10163commit 7521bbdc83acab834594a22bec50c8e1bd836298 10164Author: Lasse Collin <lasse.collin@tukaani.org> 10165Date: 2008-03-22 01:26:36 +0200 10166 10167 Update a comment to use the variable name rep_len_decoder. 10168 10169 (And BTW, the previous commit actually did change the 10170 program logic slightly.) 10171 10172 src/liblzma/lzma/lzma_decoder.c | 2 +- 10173 1 file changed, 1 insertion(+), 1 deletion(-) 10174 10175commit 63b74d000eedaebb8485f623e56864ff5ab71064 10176Author: Lasse Collin <lasse.collin@tukaani.org> 10177Date: 2008-03-22 00:57:33 +0200 10178 10179 Demystified the "state" variable in LZMA code. Use the 10180 word literal instead of char for better consistency. 10181 There are still some names with _char instead of _literal 10182 in lzma_optimum, these may be changed later. 10183 10184 Renamed length coder variables. 10185 10186 This commit doesn't change the program logic. 10187 10188 src/liblzma/lzma/lzma_common.h | 69 ++++++++++++++++++++++-------- 10189 src/liblzma/lzma/lzma_decoder.c | 47 ++++++++++---------- 10190 src/liblzma/lzma/lzma_encoder.c | 14 +++--- 10191 src/liblzma/lzma/lzma_encoder_getoptimum.c | 34 +++++++-------- 10192 src/liblzma/lzma/lzma_encoder_init.c | 5 ++- 10193 src/liblzma/lzma/lzma_encoder_private.h | 8 ++-- 10194 6 files changed, 107 insertions(+), 70 deletions(-) 10195 10196commit e6eb0a26757e851cef62b9440319a8e73b015cb9 10197Author: Lasse Collin <lasse.collin@tukaani.org> 10198Date: 2008-03-14 23:16:11 +0200 10199 10200 Fix data corruption in LZMA encoder. Note that this bug was 10201 specific to liblzma and was *not* present in LZMA SDK. 10202 10203 src/liblzma/lzma/lzma_encoder.c | 4 ++++ 10204 1 file changed, 4 insertions(+) 10205 10206commit 7d516f5129e4373a6d57249d7f608c634c66bf12 10207Author: Lasse Collin <lasse.collin@tukaani.org> 10208Date: 2008-03-14 21:32:37 +0200 10209 10210 Fix a comment API header. 10211 10212 src/liblzma/api/lzma/lzma.h | 2 +- 10213 1 file changed, 1 insertion(+), 1 deletion(-) 10214 10215commit 748d6e4274921a350bd0a317380309717441ef9c 10216Author: Lasse Collin <lasse.collin@tukaani.org> 10217Date: 2008-03-12 23:14:50 +0200 10218 10219 Make lzma_stream.next_in const. Let's see if anyone complains. 10220 10221 src/liblzma/api/lzma/base.h | 2 +- 10222 1 file changed, 1 insertion(+), 1 deletion(-) 10223 10224commit bfde3b24a5ae25ce53c854762b6148952386b025 10225Author: Lasse Collin <lasse.collin@tukaani.org> 10226Date: 2008-03-11 15:35:34 +0200 10227 10228 Apply a minor speed optimization to LZMA decoder. 10229 10230 src/liblzma/lzma/lzma_decoder.c | 85 +++++++++++++++++++++-------------------- 10231 1 file changed, 43 insertions(+), 42 deletions(-) 10232 10233commit f310c50286d9e4e9c6170bb65348c9bb430a65b4 10234Author: Lasse Collin <lasse.collin@tukaani.org> 10235Date: 2008-03-11 15:17:16 +0200 10236 10237 Initialize the last byte of the dictionary to zero so that 10238 lz_get_byte(lz, 0) returns zero. This was broken by 10239 1a3b21859818e4d8e89a1da99699233c1bfd197d. 10240 10241 src/liblzma/lz/lz_decoder.c | 1 + 10242 1 file changed, 1 insertion(+) 10243 10244commit 5ead36cf7f823093672a4e43c3180b38c9abbaff 10245Author: Lasse Collin <lasse.collin@tukaani.org> 10246Date: 2008-03-10 15:57:55 +0200 10247 10248 Really fix the price count initialization. 10249 10250 src/liblzma/lzma/lzma_encoder_init.c | 4 ++-- 10251 1 file changed, 2 insertions(+), 2 deletions(-) 10252 10253commit d4d7feb83d1a1ded8f662a82e21e053841ca726c 10254Author: Lasse Collin <lasse.collin@tukaani.org> 10255Date: 2008-03-10 13:47:17 +0200 10256 10257 Updated THANKS. 10258 10259 THANKS | 1 + 10260 1 file changed, 1 insertion(+) 10261 10262commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258 10263Author: Lasse Collin <lasse.collin@tukaani.org> 10264Date: 2008-03-10 13:46:48 +0200 10265 10266 Initialize align_price_count and match_price_count in 10267 lzma_encoder_init.c. While we don't call 10268 fill_distances_prices() and fill_align_prices() in 10269 lzma_lzma_encoder_init(), we still need to initialize 10270 these two variables so that the fill functions get 10271 called in lzma_encoder_getoptimum.c in the beginning 10272 of a stream. 10273 10274 src/liblzma/lzma/lzma_encoder_init.c | 2 ++ 10275 1 file changed, 2 insertions(+) 10276 10277commit 596fa1fac72823e4ef5bc26bb53f9090445bf748 10278Author: Lasse Collin <lasse.collin@tukaani.org> 10279Date: 2008-03-10 13:44:29 +0200 10280 10281 Always initialize lz->temp_size in lz_decoder.c. temp_size did 10282 get initialized as a side-effect after allocating a new decoder, 10283 but not when the decoder was reused. 10284 10285 src/liblzma/lz/lz_decoder.c | 11 ++++++----- 10286 1 file changed, 6 insertions(+), 5 deletions(-) 10287 10288commit 45e43e169527e7a98a8c8a821d37bf25822b764d 10289Author: Lasse Collin <lasse.collin@tukaani.org> 10290Date: 2008-03-10 13:41:25 +0200 10291 10292 Don't fill allocated memory with 0xFD when debugging is 10293 enabled. It hides errors from Valgrind. 10294 10295 src/liblzma/common/allocator.c | 7 ++++--- 10296 1 file changed, 4 insertions(+), 3 deletions(-) 10297 10298commit c0e19e0662205f81a86da8903cdc325d50635870 10299Author: Lasse Collin <lasse.collin@tukaani.org> 10300Date: 2008-02-28 10:24:31 +0200 10301 10302 Remove two redundant validity checks from the LZMA decoder. 10303 These are already checked elsewhere, so omitting these 10304 gives (very) tiny speed up. 10305 10306 src/liblzma/lzma/lzma_decoder.c | 23 ++++------------------- 10307 1 file changed, 4 insertions(+), 19 deletions(-) 10308 10309commit de7485806284d1614095ae8cb2ebbb5d74c9ac45 10310Author: Lasse Collin <lasse.collin@tukaani.org> 10311Date: 2008-02-06 13:25:32 +0200 10312 10313 Tiny clean up to file-format.txt. 10314 10315 doc/file-format.txt | 6 +++--- 10316 1 file changed, 3 insertions(+), 3 deletions(-) 10317 10318commit 1a3b21859818e4d8e89a1da99699233c1bfd197d 10319Author: Lasse Collin <lasse.collin@tukaani.org> 10320Date: 2008-02-02 14:51:06 +0200 10321 10322 Don't memzero() the history buffer when initializing LZ 10323 decoder. There's no danger of information leak here, so 10324 it isn't required. Doing memzero() takes a lot of time 10325 with large dictionaries, which could make it easier to 10326 construct DoS attack to consume too much CPU time. 10327 10328 src/liblzma/lz/lz_decoder.c | 7 +++---- 10329 1 file changed, 3 insertions(+), 4 deletions(-) 10330 10331commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0 10332Author: Lasse Collin <lasse.collin@tukaani.org> 10333Date: 2008-02-01 08:39:26 +0200 10334 10335 Do uncompressed size validation in raw encoder. This way 10336 it gets done for not only raw encoder, but also Block 10337 and LZMA_Alone encoders. 10338 10339 src/liblzma/common/raw_encoder.c | 90 ++++++++++++++++++++++++++++++++-------- 10340 1 file changed, 73 insertions(+), 17 deletions(-) 10341 10342commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc 10343Author: Lasse Collin <lasse.collin@tukaani.org> 10344Date: 2008-02-01 08:32:05 +0200 10345 10346 Avoid unneeded function call in raw_common.c. 10347 10348 src/liblzma/common/raw_common.c | 20 +++++++++++--------- 10349 1 file changed, 11 insertions(+), 9 deletions(-) 10350 10351commit b596fac963c3ff96f615d4d9b427a213ec341211 10352Author: Lasse Collin <lasse.collin@tukaani.org> 10353Date: 2008-01-26 21:42:38 +0200 10354 10355 Updated THANKS. 10356 10357 THANKS | 1 + 10358 1 file changed, 1 insertion(+) 10359 10360commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2 10361Author: Lasse Collin <lasse.collin@tukaani.org> 10362Date: 2008-01-26 21:40:23 +0200 10363 10364 Added note.GNU-stack to x86 assembler files. It is needed 10365 when using non-executable stack. 10366 10367 src/liblzma/check/crc32_x86.S | 9 +++++++++ 10368 src/liblzma/check/crc64_x86.S | 9 +++++++++ 10369 2 files changed, 18 insertions(+) 10370 10371commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae 10372Author: Lasse Collin <lasse.collin@tukaani.org> 10373Date: 2008-01-26 19:12:50 +0200 10374 10375 Added api/lzma/easy.h. I had forgot to add this to the 10376 git repo. Thanks to Stephan Kulow. 10377 10378 src/liblzma/api/lzma/easy.h | 174 ++++++++++++++++++++++++++++++++++++++++++++ 10379 1 file changed, 174 insertions(+) 10380 10381commit 288b232f54c3692cd36f471d4042f51daf3ea79f 10382Author: Lasse Collin <lasse.collin@tukaani.org> 10383Date: 2008-01-26 11:09:17 +0200 10384 10385 Added more test files. 10386 10387 tests/files/README | 11 +++++++++++ 10388 tests/files/bad-multi-none-header_7.lzma | Bin 0 -> 59 bytes 10389 tests/files/good-single-sparc-lzma.lzma | Bin 0 -> 2263 bytes 10390 tests/files/good-single-x86-lzma.lzma | Bin 0 -> 1909 bytes 10391 4 files changed, 11 insertions(+) 10392 10393commit c467b0defccf233d0c79234407bc38d7d09574d3 10394Author: Lasse Collin <lasse.collin@tukaani.org> 10395Date: 2008-01-26 10:47:55 +0200 10396 10397 Added more test files. 10398 10399 tests/files/README | 6 ++++++ 10400 tests/files/bad-multi-none-block_3.lzma | Bin 0 -> 58 bytes 10401 tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes 10402 3 files changed, 6 insertions(+) 10403 10404commit f9842f712732c482f2def9f24437851e57dd83f8 10405Author: Lasse Collin <lasse.collin@tukaani.org> 10406Date: 2008-01-26 00:25:34 +0200 10407 10408 Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any 10409 of the so called simple filters. If there is demand, limited 10410 support for LZMA_SYNC_FLUSH may be added in future. 10411 10412 After this commit, using LZMA_SYNC_FLUSH shouldn't cause 10413 undefined behavior in any situation. 10414 10415 src/liblzma/api/lzma/simple.h | 9 +++++++++ 10416 src/liblzma/simple/simple_coder.c | 8 ++++++++ 10417 2 files changed, 17 insertions(+) 10418 10419commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa 10420Author: Lasse Collin <lasse.collin@tukaani.org> 10421Date: 2008-01-25 23:50:35 +0200 10422 10423 Added more Multi-Block test files. Improved some 10424 descriptions in the test files' README. 10425 10426 tests/files/README | 34 +++++++++++++++++++++++++------ 10427 tests/files/bad-multi-none-block_1.lzma | Bin 0 -> 66 bytes 10428 tests/files/bad-multi-none-block_2.lzma | Bin 0 -> 66 bytes 10429 tests/files/good-multi-none-block_1.lzma | Bin 0 -> 66 bytes 10430 4 files changed, 28 insertions(+), 6 deletions(-) 10431 10432commit 4441e004185cd4c61bda184010eca5924c9dec87 10433Author: Lasse Collin <lasse.collin@tukaani.org> 10434Date: 2008-01-25 23:12:36 +0200 10435 10436 Combine lzma_options_block validation needed by both Block 10437 encoder and decoder, and put the shared things to 10438 block_private.h. Improved the checks a little so that 10439 they may detect too big Compressed Size at initialization 10440 time if lzma_options_block.total_size or .total_limit is 10441 known. 10442 10443 Allow encoding and decoding Blocks with combinations of 10444 fields that are not allowed by the file format specification. 10445 Doing this requires that the application passes such a 10446 combination in lzma_options_lzma; liblzma doesn't do that, 10447 but it's not impossible that someone could find them useful 10448 in some custom file format. 10449 10450 src/liblzma/common/block_decoder.c | 37 ++++++++++++---------------- 10451 src/liblzma/common/block_encoder.c | 32 +++++------------------- 10452 src/liblzma/common/block_private.h | 50 ++++++++++++++++++++++++++++++++++++++ 10453 3 files changed, 71 insertions(+), 48 deletions(-) 10454 10455commit bf4200c818fcf9102e56328d39cde91bfa13cfb6 10456Author: Lasse Collin <lasse.collin@tukaani.org> 10457Date: 2008-01-25 19:21:22 +0200 10458 10459 Added test_memlimit.c. 10460 10461 tests/Makefile.am | 2 + 10462 tests/test_memlimit.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++ 10463 2 files changed, 116 insertions(+) 10464 10465commit 7b8fc7e6b501a32a36636dac79ecb57099269005 10466Author: Lasse Collin <lasse.collin@tukaani.org> 10467Date: 2008-01-25 19:20:28 +0200 10468 10469 Improved the memory limitter: 10470 - Added lzma_memlimit_max() and lzma_memlimit_reached() 10471 API functions. 10472 - Added simple estimation of malloc()'s memory usage 10473 overhead. 10474 - Fixed integer overflow detection in lzma_memlimit_alloc(). 10475 - Made some white space cleanups and added more comments. 10476 10477 The description of lzma_memlimit_max() in memlimit.h is bad 10478 and should be improved. 10479 10480 src/liblzma/api/lzma/memlimit.h | 35 +++++++++++++ 10481 src/liblzma/common/memory_limitter.c | 97 ++++++++++++++++++++++++++++++------ 10482 2 files changed, 118 insertions(+), 14 deletions(-) 10483 10484commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db 10485Author: Lasse Collin <lasse.collin@tukaani.org> 10486Date: 2008-01-25 13:55:52 +0200 10487 10488 Use more parenthesis in succeed() macro in tests/tests.h. 10489 10490 tests/tests.h | 2 +- 10491 1 file changed, 1 insertion(+), 1 deletion(-) 10492 10493commit 1fd76d488179580d37f31ee11948f4932aed31fd 10494Author: Lasse Collin <lasse.collin@tukaani.org> 10495Date: 2008-01-24 14:49:34 +0200 10496 10497 Added more Multi-Block Stream test files. 10498 10499 tests/files/README | 23 +++++++++++++++++++++++ 10500 tests/files/bad-multi-none-header_2.lzma | Bin 0 -> 61 bytes 10501 tests/files/bad-multi-none-header_3.lzma | Bin 0 -> 59 bytes 10502 tests/files/bad-multi-none-header_4.lzma | Bin 0 -> 59 bytes 10503 tests/files/bad-multi-none-header_5.lzma | Bin 0 -> 58 bytes 10504 tests/files/bad-multi-none-header_6.lzma | Bin 0 -> 59 bytes 10505 tests/files/good-multi-none-header_3.lzma | Bin 0 -> 59 bytes 10506 7 files changed, 23 insertions(+) 10507 10508commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936 10509Author: Lasse Collin <lasse.collin@tukaani.org> 10510Date: 2008-01-24 00:46:05 +0200 10511 10512 Added bunch of test files containing Multi-Block Streams. 10513 10514 tests/files/README | 53 ++++++++++++++++++++++++++++++ 10515 tests/files/bad-multi-none-1.lzma | Bin 0 -> 54 bytes 10516 tests/files/bad-multi-none-2.lzma | Bin 0 -> 53 bytes 10517 tests/files/bad-multi-none-3.lzma | Bin 0 -> 53 bytes 10518 tests/files/bad-multi-none-extra_1.lzma | Bin 0 -> 54 bytes 10519 tests/files/bad-multi-none-extra_2.lzma | Bin 0 -> 54 bytes 10520 tests/files/bad-multi-none-extra_3.lzma | Bin 0 -> 55 bytes 10521 tests/files/bad-multi-none-header_1.lzma | Bin 0 -> 57 bytes 10522 tests/files/bad-multi-none-index_1.lzma | Bin 0 -> 51 bytes 10523 tests/files/bad-multi-none-index_2.lzma | Bin 0 -> 49 bytes 10524 tests/files/bad-multi-none-index_3.lzma | Bin 0 -> 51 bytes 10525 tests/files/bad-multi-none-index_4.lzma | Bin 0 -> 51 bytes 10526 tests/files/good-multi-none-1.lzma | Bin 0 -> 75 bytes 10527 tests/files/good-multi-none-2.lzma | Bin 0 -> 53 bytes 10528 tests/files/good-multi-none-extra_1.lzma | Bin 0 -> 51 bytes 10529 tests/files/good-multi-none-extra_2.lzma | Bin 0 -> 79 bytes 10530 tests/files/good-multi-none-extra_3.lzma | Bin 0 -> 55 bytes 10531 tests/files/good-multi-none-header_1.lzma | Bin 0 -> 58 bytes 10532 tests/files/good-multi-none-header_2.lzma | Bin 0 -> 66 bytes 10533 19 files changed, 53 insertions(+) 10534 10535commit db9df0a9609c01a00a227329fb96e983971040f5 10536Author: Lasse Collin <lasse.collin@tukaani.org> 10537Date: 2008-01-23 23:43:00 +0200 10538 10539 Fix decoding of empty Metadata Blocks, that don't have 10540 even the Metadata Flags field. Earlier the code allowed 10541 such files; now they are prohibited as the file format 10542 specification requires. 10543 10544 src/liblzma/common/metadata_decoder.c | 4 +++- 10545 1 file changed, 3 insertions(+), 1 deletion(-) 10546 10547commit 765f0b05f6e95ed9194fb90819cee189ebbac36b 10548Author: Lasse Collin <lasse.collin@tukaani.org> 10549Date: 2008-01-23 23:38:18 +0200 10550 10551 Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6. 10552 lzma_metadata.header_metadata_size was not properly set to 10553 zero if the Metadata had only the Metadata Flags field. 10554 10555 src/liblzma/common/metadata_decoder.c | 13 +++++++------ 10556 1 file changed, 7 insertions(+), 6 deletions(-) 10557 10558commit 3a7cc5c3dec7b078941f961b0393b86c418883b6 10559Author: Lasse Collin <lasse.collin@tukaani.org> 10560Date: 2008-01-23 23:35:49 +0200 10561 10562 Fix decoding of Extra Records that have empty Data. 10563 10564 src/liblzma/common/metadata_decoder.c | 13 ++++++++++++- 10565 1 file changed, 12 insertions(+), 1 deletion(-) 10566 10567commit e5fdec93e273855c1bcc2579b83cfb481a9a1492 10568Author: Lasse Collin <lasse.collin@tukaani.org> 10569Date: 2008-01-23 22:02:38 +0200 10570 10571 Add the trailing '\0' to lzma_extra.data as the API header 10572 already documents. 10573 10574 src/liblzma/common/metadata_decoder.c | 4 +++- 10575 1 file changed, 3 insertions(+), 1 deletion(-) 10576 10577commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e 10578Author: Lasse Collin <lasse.collin@tukaani.org> 10579Date: 2008-01-23 21:21:21 +0200 10580 10581 Added debug/full_flush.c. 10582 10583 debug/Makefile.am | 3 +- 10584 debug/full_flush.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 10585 2 files changed, 107 insertions(+), 1 deletion(-) 10586 10587commit ae0cd09a666a1682da8fc09487322227679e218d 10588Author: Lasse Collin <lasse.collin@tukaani.org> 10589Date: 2008-01-23 21:05:33 +0200 10590 10591 Return LZMA_STREAM_END instead of LZMA_OK if 10592 LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when 10593 there's no unfinished Block open. 10594 10595 src/liblzma/common/stream_encoder_multi.c | 6 +++++- 10596 1 file changed, 5 insertions(+), 1 deletion(-) 10597 10598commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db 10599Author: Lasse Collin <lasse.collin@tukaani.org> 10600Date: 2008-01-23 20:05:01 +0200 10601 10602 Added bad-single-none-footer_filter_flags.lzma and 10603 bad-single-none-too_long_vli.lzma. 10604 10605 tests/files/README | 5 +++++ 10606 tests/files/bad-single-none-footer_filter_flags.lzma | Bin 0 -> 30 bytes 10607 tests/files/bad-single-none-too_long_vli.lzma | Bin 0 -> 39 bytes 10608 3 files changed, 5 insertions(+) 10609 10610commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd 10611Author: Lasse Collin <lasse.collin@tukaani.org> 10612Date: 2008-01-23 13:42:35 +0200 10613 10614 Fixed a typo. 10615 10616 src/liblzma/subblock/subblock_decoder_helper.c | 2 +- 10617 1 file changed, 1 insertion(+), 1 deletion(-) 10618 10619commit 980f65a9a10160c4d105767871e3002b9aaba3e0 10620Author: Lasse Collin <lasse.collin@tukaani.org> 10621Date: 2008-01-23 13:40:45 +0200 10622 10623 Fix a memory leak in the Subblock encoder. 10624 10625 src/liblzma/subblock/subblock_encoder.c | 1 + 10626 1 file changed, 1 insertion(+) 10627 10628commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6 10629Author: Lasse Collin <lasse.collin@tukaani.org> 10630Date: 2008-01-23 13:36:07 +0200 10631 10632 Fix Size of Header Metadata Block handling. Now 10633 lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN 10634 is not allowed at all. To indicate missing Header Metadata 10635 Block, header_metadata_size must be set to zero. This is 10636 what Metadata decoder does after this patch too. 10637 10638 Note that other missing fields in lzma_metadata are still 10639 indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as 10640 illogical as it sounds at first, because missing Size of 10641 Header Metadata Block means that Header Metadata Block is 10642 not present in the Stream. With other Metadata fields, 10643 a missing field means only that the value is unknown. 10644 10645 src/liblzma/common/info.c | 13 ++++--------- 10646 src/liblzma/common/metadata_decoder.c | 6 ++++++ 10647 src/liblzma/common/metadata_encoder.c | 11 +++++------ 10648 tests/test_info.c | 4 ++-- 10649 4 files changed, 17 insertions(+), 17 deletions(-) 10650 10651commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81 10652Author: Lasse Collin <lasse.collin@tukaani.org> 10653Date: 2008-01-23 13:15:55 +0200 10654 10655 Fix a memory leak in metadata_decoder.c. 10656 10657 src/liblzma/common/metadata_decoder.c | 1 + 10658 1 file changed, 1 insertion(+) 10659 10660commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae 10661Author: Lasse Collin <lasse.collin@tukaani.org> 10662Date: 2008-01-23 13:13:58 +0200 10663 10664 Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which 10665 just moved to problem. Now it's really fixed. 10666 10667 src/liblzma/common/info.c | 5 ++++- 10668 1 file changed, 4 insertions(+), 1 deletion(-) 10669 10670commit 67321de963ccf69410b3868b8e31534fe18a90de 10671Author: Lasse Collin <lasse.collin@tukaani.org> 10672Date: 2008-01-23 00:21:04 +0200 10673 10674 Take advantage of return_if_error() macro in 10675 lzma_info_metadata_set() in info.c. 10676 10677 src/liblzma/common/info.c | 24 ++++++++---------------- 10678 1 file changed, 8 insertions(+), 16 deletions(-) 10679 10680commit 863028cb7ad6d8d0455fa69348f56b376d7b908f 10681Author: Lasse Collin <lasse.collin@tukaani.org> 10682Date: 2008-01-23 00:18:32 +0200 10683 10684 Fixed a dangling pointer that caused invalid free(). 10685 10686 src/liblzma/common/info.c | 1 + 10687 1 file changed, 1 insertion(+) 10688 10689commit cf49f42a6bd40143f54a6b10d6e605599e958c0b 10690Author: Lasse Collin <lasse.collin@tukaani.org> 10691Date: 2008-01-22 22:49:24 +0200 10692 10693 Added lzma_easy_* functions. These should make using 10694 liblzma as easy as using zlib, because the easy API 10695 don't require developers to know any fancy LZMA options. 10696 10697 Note that Multi-Block Stream encoding is currently broken. 10698 The easy API should be OK, the bug(s) are elsewhere. 10699 10700 src/liblzma/api/Makefile.am | 1 + 10701 src/liblzma/api/lzma.h | 1 + 10702 src/liblzma/common/Makefile.am | 5 ++ 10703 src/liblzma/common/easy_common.c | 54 ++++++++++++++++ 10704 src/liblzma/common/easy_common.h | 28 ++++++++ 10705 src/liblzma/common/easy_multi.c | 103 ++++++++++++++++++++++++++++++ 10706 src/liblzma/common/easy_single.c | 37 +++++++++++ 10707 src/liblzma/common/stream_encoder_multi.c | 3 +- 10708 src/liblzma/common/stream_encoder_multi.h | 26 ++++++++ 10709 9 files changed, 256 insertions(+), 2 deletions(-) 10710 10711commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a 10712Author: Lasse Collin <lasse.collin@tukaani.org> 10713Date: 2008-01-22 21:16:22 +0200 10714 10715 Fix Multi-Block Stream encoder's EOPM usage. 10716 10717 src/liblzma/common/stream_encoder_multi.c | 2 +- 10718 1 file changed, 1 insertion(+), 1 deletion(-) 10719 10720commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6 10721Author: Lasse Collin <lasse.collin@tukaani.org> 10722Date: 2008-01-22 00:15:11 +0200 10723 10724 Made lzma_extra pointers const in lzma_options_stream. 10725 10726 src/liblzma/api/lzma/stream.h | 4 ++-- 10727 src/liblzma/common/stream_encoder_multi.c | 8 ++++++-- 10728 2 files changed, 8 insertions(+), 4 deletions(-) 10729 10730commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4 10731Author: Lasse Collin <lasse.collin@tukaani.org> 10732Date: 2008-01-20 20:15:21 +0200 10733 10734 Updated debug/sync_flush.c. 10735 10736 debug/sync_flush.c | 26 ++++++++++++++++++++++++-- 10737 1 file changed, 24 insertions(+), 2 deletions(-) 10738 10739commit d53e9b77054cfade6a643e77d085273a348b189c 10740Author: Lasse Collin <lasse.collin@tukaani.org> 10741Date: 2008-01-20 20:14:26 +0200 10742 10743 Added debug/repeat.c. 10744 10745 debug/Makefile.am | 1 + 10746 debug/repeat.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 10747 2 files changed, 44 insertions(+) 10748 10749commit 107259e306bcfc2336a0fb870fb58034c28faa52 10750Author: Lasse Collin <lasse.collin@tukaani.org> 10751Date: 2008-01-20 20:12:58 +0200 10752 10753 Fix alignment handling bugs in Subblock encoder. 10754 10755 This leaves one known alignment bug unfixed: If repeat count 10756 doesn't fit into 28-bit integer, the encoder has to split 10757 this to multiple Subblocks with Subblock Type `Repeating Data'. 10758 The extra Subblocks may have wrong alignment. Correct alignment 10759 is restored after the split Repeating Data has been completely 10760 written out. 10761 10762 Since the encoder doesn't even try to fix the alignment unless 10763 the size of Data is at least 4 bytes, to trigger this bug you 10764 need at least 4 GiB of repeating data with sequence length of 10765 4 or more bytes. Since the worst thing done by this bug is 10766 misaligned data (no data corruption), this bug simply isn't 10767 worth fixing, because a proper fix isn't simple. 10768 10769 src/liblzma/subblock/subblock_encoder.c | 170 ++++++++++++++++++++++---------- 10770 1 file changed, 119 insertions(+), 51 deletions(-) 10771 10772commit e141fe18950400faaa3503ff88ac20eacd73e88c 10773Author: Lasse Collin <lasse.collin@tukaani.org> 10774Date: 2008-01-19 21:16:33 +0200 10775 10776 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder. 10777 The API for handing Subfilters was changed to make it 10778 consistent with LZMA_SYNC_FLUSH. 10779 10780 A few sanity checks were added for Subfilter handling. Some 10781 small bugs were fixed. More comments were added. 10782 10783 src/liblzma/api/lzma/subblock.h | 29 ++-- 10784 src/liblzma/subblock/subblock_encoder.c | 263 ++++++++++++++++++++++++-------- 10785 2 files changed, 214 insertions(+), 78 deletions(-) 10786 10787commit 23c227a864a3b69f38c6a74306161d4e6918d1cc 10788Author: Lasse Collin <lasse.collin@tukaani.org> 10789Date: 2008-01-19 15:19:21 +0200 10790 10791 Revised the Delta filter implementation. The initialization 10792 function is still shared between encoder and decoder, but the 10793 actual coding is in separate files for encoder and decoder. 10794 10795 There are now separate functions for the actual delta 10796 calculation depending on if Delta is the last filter in the 10797 chain or not. If it is the last, the new code copies the 10798 data from input to output buffer and does the delta 10799 calculation at the same time. The old code first copied the 10800 data, then did the delta in the target buffer, which required 10801 reading through the data twice. 10802 10803 Support for LZMA_SYNC_FLUSH was added to the Delta encoder. 10804 This doesn't change anything in the file format. 10805 10806 src/liblzma/common/Makefile.am | 14 ++- 10807 src/liblzma/common/delta_coder.c | 189 ------------------------------------- 10808 src/liblzma/common/delta_coder.h | 31 ------ 10809 src/liblzma/common/delta_common.c | 70 ++++++++++++++ 10810 src/liblzma/common/delta_common.h | 48 ++++++++++ 10811 src/liblzma/common/delta_decoder.c | 102 ++++++++++++++++++++ 10812 src/liblzma/common/delta_decoder.h | 28 ++++++ 10813 src/liblzma/common/delta_encoder.c | 97 +++++++++++++++++++ 10814 src/liblzma/common/delta_encoder.h | 28 ++++++ 10815 src/liblzma/common/raw_decoder.c | 2 +- 10816 src/liblzma/common/raw_encoder.c | 2 +- 10817 11 files changed, 387 insertions(+), 224 deletions(-) 10818 10819commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73 10820Author: Lasse Collin <lasse.collin@tukaani.org> 10821Date: 2008-01-18 20:18:08 +0200 10822 10823 Added the debug directory and the first debug tool 10824 (sync_flush). These tools are not built unless the 10825 user runs "make" in the debug directory. 10826 10827 Makefile.am | 1 + 10828 configure.ac | 1 + 10829 debug/Makefile.am | 30 ++++++++++++++ 10830 debug/README | 17 ++++++++ 10831 debug/sync_flush.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 10832 5 files changed, 165 insertions(+) 10833 10834commit 0ae3208db94585eb8294b97ded387de0a3a07646 10835Author: Lasse Collin <lasse.collin@tukaani.org> 10836Date: 2008-01-18 20:13:00 +0200 10837 10838 Added test files to test usage of flush marker in LZMA. 10839 10840 tests/files/README | 12 ++++++++++++ 10841 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 0 -> 53 bytes 10842 tests/files/bad-single-lzma-flush_twice.lzma | Bin 0 -> 63 bytes 10843 tests/files/good-single-lzma-flush_1.lzma | Bin 0 -> 48 bytes 10844 tests/files/good-single-lzma-flush_2.lzma | Bin 0 -> 63 bytes 10845 5 files changed, 12 insertions(+) 10846 10847commit ab5feaf1fcc146ef9fd39360c53c290bec39524e 10848Author: Lasse Collin <lasse.collin@tukaani.org> 10849Date: 2008-01-18 20:02:52 +0200 10850 10851 Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders. 10852 That code is now almost completely in LZ coder, where 10853 it can be shared with other LZ77-based algorithms in 10854 future. 10855 10856 src/liblzma/lz/lz_encoder.c | 34 ++++++++++++++++++++++++++-------- 10857 src/liblzma/lz/lz_encoder.h | 1 + 10858 src/liblzma/lzma/lzma_encoder.c | 27 ++------------------------- 10859 3 files changed, 29 insertions(+), 33 deletions(-) 10860 10861commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585 10862Author: Lasse Collin <lasse.collin@tukaani.org> 10863Date: 2008-01-18 17:21:24 +0200 10864 10865 Don't add -g to CFLAGS when --enable-debug is specified. 10866 It's the job of the user to put that in CFLAGS. 10867 10868 configure.ac | 1 - 10869 1 file changed, 1 deletion(-) 10870 10871commit 61d1784d8f1761d979a6da6e223e279ca33815e6 10872Author: Lasse Collin <lasse.collin@tukaani.org> 10873Date: 2008-01-18 14:17:37 +0200 10874 10875 Set stdin and stdout to binary mode on Windows. This patch is 10876 a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068 10877 from lzma-utils-legacy.git. I don't know if the new code base 10878 builds on Windows, but this is a start. 10879 10880 src/lzmadec/lzmadec.c | 9 +++++++++ 10881 1 file changed, 9 insertions(+) 10882 10883commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c 10884Author: Lasse Collin <lasse.collin@tukaani.org> 10885Date: 2008-01-18 00:50:29 +0200 10886 10887 Added test_compress.sh and bunch of files needed by it. 10888 This new set of tests compress and decompress several 10889 test files with many different compression options. 10890 This set of tests will be extended later. 10891 10892 tests/Makefile.am | 30 ++++--- 10893 tests/bcj_test.c | 66 ++++++++++++++ 10894 tests/compress_prepared_bcj_sparc | Bin 0 -> 6804 bytes 10895 tests/compress_prepared_bcj_x86 | Bin 0 -> 4649 bytes 10896 tests/create_compress_files.c | 164 ++++++++++++++++++++++++++++++++++ 10897 tests/test_compress.sh | 183 ++++++++++++++++++++++++++++++++++++++ 10898 6 files changed, 433 insertions(+), 10 deletions(-) 10899 10900commit 33be3c0e24d8f43376ccf71cc77d53671e792f07 10901Author: Lasse Collin <lasse.collin@tukaani.org> 10902Date: 2008-01-17 18:56:53 +0200 10903 10904 Subblock decoder: Don't exit the main loop in decode_buffer() 10905 too early if we hit End of Input while decoding a Subblock of 10906 type Repeating Data. To keep the loop termination condition 10907 elegant, the order of enumerations in coder->sequence were 10908 changed. 10909 10910 To keep the case-labels in roughly the same order as the 10911 enumerations in coder->sequence, large chunks of code was 10912 moved around. This made the diff big and ugly compared to 10913 the amount of the actual changes made. 10914 10915 src/liblzma/subblock/subblock_decoder.c | 272 ++++++++++++++++---------------- 10916 1 file changed, 139 insertions(+), 133 deletions(-) 10917 10918commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd 10919Author: Lasse Collin <lasse.collin@tukaani.org> 10920Date: 2008-01-17 17:39:42 +0200 10921 10922 Fix wrong too small size of argument unfiltered_max 10923 in ia64_coder_init(). It triggered assert() in 10924 simple_coder.c, and could have caused a buffer overflow. 10925 10926 This error was probably a copypaste mistake, since most 10927 of the simple filters use unfiltered_max = 4. 10928 10929 src/liblzma/simple/ia64.c | 2 +- 10930 1 file changed, 1 insertion(+), 1 deletion(-) 10931 10932commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a 10933Author: Lasse Collin <lasse.collin@tukaani.org> 10934Date: 2008-01-17 17:27:45 +0200 10935 10936 Added --delta to the output of "lzma --help". 10937 10938 src/lzma/help.c | 4 ++++ 10939 1 file changed, 4 insertions(+) 10940 10941commit f88590e0014b38d40465937c19f25f05f16c79ae 10942Author: Lasse Collin <lasse.collin@tukaani.org> 10943Date: 2008-01-17 13:14:20 +0200 10944 10945 Fix Subblock docoder: If Subblock filter was used with known 10946 Uncompressed Size, and the last output byte was from RLE, 10947 the code didn't stop decoding as it should have done. 10948 10949 src/liblzma/subblock/subblock_decoder.c | 6 ++++++ 10950 1 file changed, 6 insertions(+) 10951 10952commit bc0b945ca376e333077644d2f7fd54c2848aab8a 10953Author: Lasse Collin <lasse.collin@tukaani.org> 10954Date: 2008-01-16 16:33:37 +0200 10955 10956 Tiny non-technical edits to file-format.txt. 10957 10958 doc/file-format.txt | 6 +++--- 10959 1 file changed, 3 insertions(+), 3 deletions(-) 10960 10961commit 7599bb7064ccf007f054595dedda7927af868252 10962Author: Lasse Collin <lasse.collin@tukaani.org> 10963Date: 2008-01-16 14:48:04 +0200 10964 10965 Plugged a memory leak in stream_decoder.c. 10966 10967 src/liblzma/common/stream_decoder.c | 20 ++++++++++++++++++++ 10968 1 file changed, 20 insertions(+) 10969 10970commit 0b581539311f3712946e81e747839f8fb5f441a7 10971Author: Lasse Collin <lasse.collin@tukaani.org> 10972Date: 2008-01-16 14:47:27 +0200 10973 10974 Added memory leak detection to lzmadec.c. 10975 10976 src/lzmadec/lzmadec.c | 3 +++ 10977 1 file changed, 3 insertions(+) 10978 10979commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4 10980Author: Lasse Collin <lasse.collin@tukaani.org> 10981Date: 2008-01-16 14:46:50 +0200 10982 10983 Added lzma_memlimit_count(). 10984 10985 src/liblzma/api/lzma/memlimit.h | 10 ++++++++++ 10986 src/liblzma/common/memory_limitter.c | 19 +++++++++++++++++++ 10987 2 files changed, 29 insertions(+) 10988 10989commit 19389f2b82ec54fd4c847a18f16482e7be4c9887 10990Author: Lasse Collin <lasse.collin@tukaani.org> 10991Date: 2008-01-16 14:31:44 +0200 10992 10993 Added ARRAY_SIZE(array) macro. 10994 10995 src/common/sysdefs.h | 4 ++++ 10996 1 file changed, 4 insertions(+) 10997 10998commit 9bc33a54cbf83952130adbcb1be32c6882485416 10999Author: Lasse Collin <lasse.collin@tukaani.org> 11000Date: 2008-01-16 13:27:03 +0200 11001 11002 Make Uncompresed Size validation more strict 11003 in alone_decoder.c. 11004 11005 src/liblzma/common/alone_decoder.c | 3 ++- 11006 1 file changed, 2 insertions(+), 1 deletion(-) 11007 11008commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883 11009Author: Lasse Collin <lasse.collin@tukaani.org> 11010Date: 2008-01-15 17:46:59 +0200 11011 11012 Free the allocated memory in lzmadec if debugging is 11013 enabled. This should make it possible to detect possible 11014 memory leaks with Valgrind. 11015 11016 src/lzmadec/lzmadec.c | 7 +++++++ 11017 1 file changed, 7 insertions(+) 11018 11019commit 8235e6e5b2878f76633afcda9a334640db503ef5 11020Author: Lasse Collin <lasse.collin@tukaani.org> 11021Date: 2008-01-15 16:25:38 +0200 11022 11023 Fix memory leaks from test_block_header.c. 11024 11025 tests/test_block_header.c | 19 +++++++++++++++++-- 11026 1 file changed, 17 insertions(+), 2 deletions(-) 11027 11028commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6 11029Author: Lasse Collin <lasse.collin@tukaani.org> 11030Date: 2008-01-15 14:23:35 +0200 11031 11032 Use fastpos.h when encoding LZMA dictionary size in 11033 Filter Flags encoder. 11034 11035 src/liblzma/common/filter_flags_encoder.c | 40 +++++++++++++++---------------- 11036 1 file changed, 19 insertions(+), 21 deletions(-) 11037 11038commit e5728142a2048979f5c0c2149ce71ae952a092e1 11039Author: Lasse Collin <lasse.collin@tukaani.org> 11040Date: 2008-01-15 14:02:22 +0200 11041 11042 Revised the fastpos code. It now uses the slightly faster 11043 table-based version from LZMA SDK 4.57. This should be 11044 fast on most systems. 11045 11046 A simpler and smaller alternative version is also provided. 11047 On some CPUs this can be even a little faster than the 11048 default table-based version (see comments in fastpos.h), 11049 but on most systems the table-based code is faster. 11050 11051 src/liblzma/common/init_encoder.c | 3 - 11052 src/liblzma/lzma/Makefile.am | 4 + 11053 src/liblzma/lzma/fastpos.h | 156 +++++++++ 11054 src/liblzma/lzma/fastpos_table.c | 519 +++++++++++++++++++++++++++++ 11055 src/liblzma/lzma/fastpos_tablegen.c | 63 ++++ 11056 src/liblzma/lzma/lzma_common.h | 3 +- 11057 src/liblzma/lzma/lzma_encoder.c | 1 + 11058 src/liblzma/lzma/lzma_encoder_getoptimum.c | 1 + 11059 src/liblzma/lzma/lzma_encoder_init.c | 22 -- 11060 src/liblzma/lzma/lzma_encoder_private.h | 21 -- 11061 10 files changed, 746 insertions(+), 47 deletions(-) 11062 11063commit 10437b5b567f6a025ff16c45a572e417a0a9cc26 11064Author: Lasse Collin <lasse.collin@tukaani.org> 11065Date: 2008-01-15 13:32:13 +0200 11066 11067 Added bsr.h. 11068 11069 src/liblzma/common/Makefile.am | 1 + 11070 src/liblzma/common/bsr.h | 61 ++++++++++++++++++++++++++++++++++++++++++ 11071 2 files changed, 62 insertions(+) 11072 11073commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244 11074Author: Lasse Collin <lasse.collin@tukaani.org> 11075Date: 2008-01-15 13:29:14 +0200 11076 11077 Fixed assembler detection in configure.ac, and added 11078 detection for x86_64. 11079 11080 configure.ac | 32 ++++++++++++++++---------------- 11081 1 file changed, 16 insertions(+), 16 deletions(-) 11082 11083commit 54ec204f58287f50d3976288295da4188a19192b 11084Author: Lasse Collin <lasse.collin@tukaani.org> 11085Date: 2008-01-15 12:20:41 +0200 11086 11087 Omit invalid space from printf() format string 11088 in price_table_gen.c. 11089 11090 src/liblzma/rangecoder/price_table_gen.c | 2 +- 11091 1 file changed, 1 insertion(+), 1 deletion(-) 11092 11093commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1 11094Author: Lasse Collin <lasse.collin@tukaani.org> 11095Date: 2008-01-15 09:54:34 +0200 11096 11097 Removed a few unused macros from lzma_common.h. 11098 11099 src/liblzma/lzma/lzma_common.h | 8 ++------ 11100 1 file changed, 2 insertions(+), 6 deletions(-) 11101 11102commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d 11103Author: Lasse Collin <lasse.collin@tukaani.org> 11104Date: 2008-01-15 08:37:42 +0200 11105 11106 Fix a typo in lzma_encoder.c. 11107 11108 src/liblzma/lzma/lzma_encoder.c | 2 +- 11109 1 file changed, 1 insertion(+), 1 deletion(-) 11110 11111commit 9f9b1983013048f2142e8bc7e240149d2687bedc 11112Author: Lasse Collin <lasse.collin@tukaani.org> 11113Date: 2008-01-15 08:36:25 +0200 11114 11115 Convert bittree_get_price() and bittree_reverse_get_price() 11116 from macros to inline functions. 11117 11118 src/liblzma/lzma/lzma_encoder.c | 19 +++----- 11119 src/liblzma/lzma/lzma_encoder_getoptimum.c | 16 +++---- 11120 src/liblzma/rangecoder/range_encoder.h | 76 +++++++++++++++++------------- 11121 3 files changed, 56 insertions(+), 55 deletions(-) 11122 11123commit 78e85cb1a7667c54853670d2eb09d754bcbda87d 11124Author: Lasse Collin <lasse.collin@tukaani.org> 11125Date: 2008-01-15 07:44:59 +0200 11126 11127 Fix CRC code in case --enable-small is used. 11128 11129 src/liblzma/check/crc32_init.c | 2 +- 11130 src/liblzma/check/crc64_init.c | 2 +- 11131 src/liblzma/common/init_decoder.c | 2 -- 11132 src/liblzma/common/init_encoder.c | 2 -- 11133 tests/test_check.c | 2 ++ 11134 5 files changed, 4 insertions(+), 6 deletions(-) 11135 11136commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0 11137Author: Lasse Collin <lasse.collin@tukaani.org> 11138Date: 2008-01-15 07:41:39 +0200 11139 11140 Fix typo in test_index.c. 11141 11142 tests/test_index.c | 2 +- 11143 1 file changed, 1 insertion(+), 1 deletion(-) 11144 11145commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6 11146Author: Lasse Collin <lasse.collin@tukaani.org> 11147Date: 2008-01-15 07:40:21 +0200 11148 11149 Added precomputed range coder probability price table. 11150 11151 src/liblzma/common/init_encoder.c | 5 ++- 11152 src/liblzma/rangecoder/Makefile.am | 9 +++- 11153 src/liblzma/rangecoder/price_table.c | 70 +++++++++++++++++++++++++++++++ 11154 src/liblzma/rangecoder/price_table_gen.c | 55 ++++++++++++++++++++++++ 11155 src/liblzma/rangecoder/price_table_init.c | 48 +++++++++++++++++++++ 11156 src/liblzma/rangecoder/range_common.h | 4 +- 11157 src/liblzma/rangecoder/range_encoder.c | 46 -------------------- 11158 src/liblzma/rangecoder/range_encoder.h | 21 +++++----- 11159 8 files changed, 197 insertions(+), 61 deletions(-) 11160 11161commit 362dc3843b373c1007a50a4719f378981f18ae03 11162Author: Lasse Collin <lasse.collin@tukaani.org> 11163Date: 2008-01-14 13:42:43 +0200 11164 11165 Remove RC_BUFFER_SIZE from lzma_encoder_private.h 11166 and replace it with a sanity check. 11167 11168 src/liblzma/lzma/lzma_encoder_private.h | 6 ++++-- 11169 1 file changed, 4 insertions(+), 2 deletions(-) 11170 11171commit e22b37968d153683fec61ad37b6b160cb7ca4ddc 11172Author: Lasse Collin <lasse.collin@tukaani.org> 11173Date: 2008-01-14 13:39:54 +0200 11174 11175 Major changes to LZ encoder, LZMA encoder, and range encoder. 11176 These changes implement support for LZMA_SYNC_FLUSH in LZMA 11177 encoder, and move the temporary buffer needed by range encoder 11178 from lzma_range_encoder structure to lzma_lz_encoder. 11179 11180 src/liblzma/lz/lz_encoder.c | 138 ++++++++++++++++++++++++++++----- 11181 src/liblzma/lz/lz_encoder.h | 17 ++-- 11182 src/liblzma/lzma/lzma_encoder.c | 74 ++++++++++-------- 11183 src/liblzma/rangecoder/range_encoder.h | 117 ++++++++-------------------- 11184 4 files changed, 206 insertions(+), 140 deletions(-) 11185 11186commit b59ef3973781f892c0a72b5e5934194567100be5 11187Author: Lasse Collin <lasse.collin@tukaani.org> 11188Date: 2008-01-14 13:34:29 +0200 11189 11190 Added one assert() to process.c of the command line tool. 11191 11192 src/lzma/process.c | 1 + 11193 1 file changed, 1 insertion(+) 11194 11195commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7 11196Author: Lasse Collin <lasse.collin@tukaani.org> 11197Date: 2008-01-14 12:09:52 +0200 11198 11199 Don't use coder->lz.stream_end_was_reached in assertions 11200 in match_c.h. 11201 11202 src/liblzma/lz/match_c.h | 2 -- 11203 1 file changed, 2 deletions(-) 11204 11205commit 3e09e1c05871f3757f759b801890ccccc9286608 11206Author: Lasse Collin <lasse.collin@tukaani.org> 11207Date: 2008-01-14 12:08:02 +0200 11208 11209 In lzma_read_match_distances(), don't use 11210 coder->lz.stream_end_was_reached. That variable 11211 will be removed, and the check isn't required anyway. 11212 Rearrange the check so that it doesn't make one to 11213 think that there could be an integer overflow. 11214 11215 src/liblzma/lzma/lzma_encoder_private.h | 6 +++--- 11216 1 file changed, 3 insertions(+), 3 deletions(-) 11217 11218commit a670fec8021e5962429689c194148a04c3418872 11219Author: Lasse Collin <lasse.collin@tukaani.org> 11220Date: 2008-01-14 11:56:41 +0200 11221 11222 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders. 11223 11224 src/liblzma/common/block_encoder.c | 4 ++-- 11225 src/liblzma/common/stream_encoder_single.c | 1 + 11226 2 files changed, 3 insertions(+), 2 deletions(-) 11227 11228commit 3599dba9570a6972a16b6398d6c838e9b420e985 11229Author: Lasse Collin <lasse.collin@tukaani.org> 11230Date: 2008-01-14 11:54:56 +0200 11231 11232 More fixes to LZMA decoder's flush marker handling. 11233 11234 src/liblzma/lzma/lzma_decoder.c | 52 ++++++++++++++++++++++++----------------- 11235 1 file changed, 30 insertions(+), 22 deletions(-) 11236 11237commit f73c2ab6079ed5675a42b39d584a567befbd4624 11238Author: Lasse Collin <lasse.collin@tukaani.org> 11239Date: 2008-01-10 17:13:42 +0200 11240 11241 Eliminate lzma_lz_encoder.must_move_pos. It's needed 11242 only in one place which isn't performance criticial. 11243 11244 src/liblzma/lz/lz_encoder.c | 6 ++---- 11245 src/liblzma/lz/lz_encoder.h | 4 ---- 11246 2 files changed, 2 insertions(+), 8 deletions(-) 11247 11248commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd 11249Author: Lasse Collin <lasse.collin@tukaani.org> 11250Date: 2008-01-09 20:05:57 +0200 11251 11252 Define HAVE_ASM_X86 when x86 assembler optimizations are 11253 used. This #define will be useful for inline assembly. 11254 11255 configure.ac | 5 ++++- 11256 1 file changed, 4 insertions(+), 1 deletion(-) 11257 11258commit 0e70fbe4032351aab13a1cd8e5deced105c0b276 11259Author: Lasse Collin <lasse.collin@tukaani.org> 11260Date: 2008-01-09 12:06:46 +0200 11261 11262 Added good-single-none-empty_3.lzma and 11263 bad-single-none-empty.lzma. 11264 11265 tests/files/README | 6 ++++++ 11266 tests/files/bad-single-none-empty.lzma | Bin 0 -> 19 bytes 11267 tests/files/good-single-none-empty_3.lzma | Bin 0 -> 19 bytes 11268 3 files changed, 6 insertions(+) 11269 11270commit 379fbbe84d922c7cc00afa65c6f0c095da596b19 11271Author: Lasse Collin <lasse.collin@tukaani.org> 11272Date: 2008-01-08 23:11:59 +0200 11273 11274 Take advantage of return_if_error() in block_decoder.c. 11275 11276 src/liblzma/common/block_decoder.c | 23 +++++++---------------- 11277 1 file changed, 7 insertions(+), 16 deletions(-) 11278 11279commit 97d5fa82077e57815dfad995dc393c2809a78539 11280Author: Lasse Collin <lasse.collin@tukaani.org> 11281Date: 2008-01-08 23:10:57 +0200 11282 11283 Updated tests/files/README. 11284 11285 tests/files/README | 15 +++++++++------ 11286 1 file changed, 9 insertions(+), 6 deletions(-) 11287 11288commit 3bb9bb310936cba6a743b4f06739a397dec7c28f 11289Author: Lasse Collin <lasse.collin@tukaani.org> 11290Date: 2008-01-08 23:05:40 +0200 11291 11292 Added test files with empty Compressed Data. 11293 11294 tests/files/README | 6 ++++++ 11295 tests/files/good-single-lzma-empty.lzma | Bin 0 -> 21 bytes 11296 tests/files/good-single-none-empty_1.lzma | Bin 0 -> 18 bytes 11297 tests/files/good-single-none-empty_2.lzma | Bin 0 -> 26 bytes 11298 4 files changed, 6 insertions(+) 11299 11300commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f 11301Author: Lasse Collin <lasse.collin@tukaani.org> 11302Date: 2008-01-08 22:58:42 +0200 11303 11304 Fix decoding of Blocks that have only Block Header. 11305 11306 src/liblzma/common/block_decoder.c | 37 ++++++++++++++----------------------- 11307 1 file changed, 14 insertions(+), 23 deletions(-) 11308 11309commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4 11310Author: Lasse Collin <lasse.collin@tukaani.org> 11311Date: 2008-01-08 22:27:46 +0200 11312 11313 Added good-single-subblock_implicit.lzma. 11314 11315 tests/files/README | 2 ++ 11316 tests/files/good-single-subblock_implicit.lzma | Bin 0 -> 35 bytes 11317 2 files changed, 2 insertions(+) 11318 11319commit faeac7b7aca75f86afed1e7cc06279d9d497c627 11320Author: Lasse Collin <lasse.collin@tukaani.org> 11321Date: 2008-01-08 18:50:30 +0200 11322 11323 Disable CRC32 from Block Headers when --check=none 11324 has been specified. 11325 11326 src/lzma/process.c | 2 +- 11327 1 file changed, 1 insertion(+), 1 deletion(-) 11328 11329commit a751126dbb656767ed4666cf0e5d3e17349d93d1 11330Author: Lasse Collin <lasse.collin@tukaani.org> 11331Date: 2008-01-08 13:36:29 +0200 11332 11333 Fixed encoding of empty files. Arguments to is_size_valid() 11334 were in wrong order in block_encoder.c. 11335 11336 src/liblzma/common/block_encoder.c | 2 +- 11337 1 file changed, 1 insertion(+), 1 deletion(-) 11338 11339commit 9080267603b1006c4867c823307dca9df8be0d20 11340Author: Lasse Collin <lasse.collin@tukaani.org> 11341Date: 2008-01-08 13:35:36 +0200 11342 11343 Added a few test files. 11344 11345 tests/files/README | 21 ++++++++++++++++++--- 11346 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 0 -> 65 bytes 11347 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes 11348 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes 11349 tests/files/bad-single-data_after_eopm.lzma | Bin 55 -> 0 bytes 11350 tests/files/bad-single-data_after_eopm_1.lzma | Bin 0 -> 55 bytes 11351 tests/files/bad-single-none-truncated.lzma | Bin 0 -> 29 bytes 11352 7 files changed, 18 insertions(+), 3 deletions(-) 11353 11354commit b4943ccf73b64fc93a90a23474509c316f55eb2b 11355Author: Lasse Collin <lasse.collin@tukaani.org> 11356Date: 2008-01-08 12:29:58 +0200 11357 11358 Avoid using ! in test_files.sh, because that doesn't work 11359 with some ancient /bin/sh versions. 11360 11361 tests/test_files.sh | 4 +++- 11362 1 file changed, 3 insertions(+), 1 deletion(-) 11363 11364commit e2417b2b9134f3f65e14b61e23cd3644d8954353 11365Author: Lasse Collin <lasse.collin@tukaani.org> 11366Date: 2008-01-08 00:48:30 +0200 11367 11368 More pre-C99 inttypes.h compatibility fixes. Now the code 11369 should work even if the system has no inttypes.h. 11370 11371 src/common/physmem.h | 11 ----------- 11372 src/liblzma/check/crc32_init.c | 5 +---- 11373 src/liblzma/check/crc32_tablegen.c | 7 ++----- 11374 src/liblzma/check/crc64_init.c | 5 +---- 11375 src/liblzma/check/crc64_tablegen.c | 7 ++----- 11376 5 files changed, 6 insertions(+), 29 deletions(-) 11377 11378commit 5d227e51c23639423f4ade06aabb54e131f8505e 11379Author: Lasse Collin <lasse.collin@tukaani.org> 11380Date: 2008-01-07 23:25:32 +0200 11381 11382 Updated fi.po although it's currently pretty much crap. 11383 11384 po/fi.po | 12 ++++++------ 11385 1 file changed, 6 insertions(+), 6 deletions(-) 11386 11387commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d 11388Author: Lasse Collin <lasse.collin@tukaani.org> 11389Date: 2008-01-07 23:14:25 +0200 11390 11391 Test for $GCC = yes instead of if it is non-empty. This 11392 way it is possible to use ac_cv_c_compiler_gnu=no to 11393 force configure to think it is using non-GNU C compiler. 11394 11395 configure.ac | 2 +- 11396 1 file changed, 1 insertion(+), 1 deletion(-) 11397 11398commit 3dbbea82b74bb841c995ad332a3aeca613015e10 11399Author: Lasse Collin <lasse.collin@tukaani.org> 11400Date: 2008-01-07 21:49:41 +0200 11401 11402 Added test_files.sh to tests/Makefile.am so it gets 11403 included in the tarball with "make dist". 11404 11405 tests/Makefile.am | 2 +- 11406 1 file changed, 1 insertion(+), 1 deletion(-) 11407 11408commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0 11409Author: Lasse Collin <lasse.collin@tukaani.org> 11410Date: 2008-01-07 18:22:24 +0200 11411 11412 Cosmetic edit to test_files.sh. 11413 11414 tests/test_files.sh | 4 ++-- 11415 1 file changed, 2 insertions(+), 2 deletions(-) 11416 11417commit 9a71d573100a990ceb30ce0bec6a9a15d795605f 11418Author: Lasse Collin <lasse.collin@tukaani.org> 11419Date: 2008-01-07 18:09:44 +0200 11420 11421 Added tests/files/README. 11422 11423 tests/files/README | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 11424 1 file changed, 108 insertions(+) 11425 11426commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43 11427Author: Lasse Collin <lasse.collin@tukaani.org> 11428Date: 2008-01-07 14:20:57 +0200 11429 11430 Tell in COPYING that everything in tests/files is 11431 public domain. 11432 11433 COPYING | 3 ++- 11434 1 file changed, 2 insertions(+), 1 deletion(-) 11435 11436commit 3502b3e1d00251d3c8dda96079440705c28d8225 11437Author: Lasse Collin <lasse.collin@tukaani.org> 11438Date: 2008-01-07 14:19:05 +0200 11439 11440 Cleaned up the tests/files directory. 11441 11442 tests/files/bad-single-subblock-padding_loop.lzma | Bin 0 -> 43 bytes 11443 tests/files/bad-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes 11444 tests/files/malicious-single-subblock-loop.lzma | Bin 43 -> 0 bytes 11445 tests/files/malicious-single-subblock-lzma.lzma | Bin 505 -> 0 bytes 11446 tests/files/malicious-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes 11447 5 files changed, 0 insertions(+), 0 deletions(-) 11448 11449commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c 11450Author: Lasse Collin <lasse.collin@tukaani.org> 11451Date: 2008-01-07 13:49:19 +0200 11452 11453 Added test_files.sh to test decoding of the files in 11454 the tests/files directory. It doesn't test the malicious 11455 files yet. 11456 11457 tests/Makefile.am | 4 +++- 11458 tests/test_files.sh | 40 ++++++++++++++++++++++++++++++++++++++++ 11459 2 files changed, 43 insertions(+), 1 deletion(-) 11460 11461commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6 11462Author: Lasse Collin <lasse.collin@tukaani.org> 11463Date: 2008-01-07 11:23:13 +0200 11464 11465 Updated README regarding the assembler optimizations. 11466 11467 README | 10 +++++----- 11468 1 file changed, 5 insertions(+), 5 deletions(-) 11469 11470commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb 11471Author: Lasse Collin <lasse.collin@tukaani.org> 11472Date: 2008-01-07 10:58:00 +0200 11473 11474 Updated THANKS. 11475 11476 THANKS | 1 + 11477 1 file changed, 1 insertion(+) 11478 11479commit 1239649f96132b18e3b7e2dd152ecf53a195caa8 11480Author: Lasse Collin <lasse.collin@tukaani.org> 11481Date: 2008-01-06 21:47:17 +0200 11482 11483 Cosmetic changes to configure.ac. 11484 11485 configure.ac | 14 ++++++-------- 11486 1 file changed, 6 insertions(+), 8 deletions(-) 11487 11488commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e 11489Author: Lasse Collin <lasse.collin@tukaani.org> 11490Date: 2008-01-06 19:46:38 +0200 11491 11492 Automatically disable assembler code on Darwin x86. 11493 Darwin has different ABI than GNU+Linux and Solaris, 11494 thus the assembler code doesn't assemble on Darwin. 11495 11496 configure.ac | 17 +++++++++++++++-- 11497 1 file changed, 15 insertions(+), 2 deletions(-) 11498 11499commit c15a7abf66e3a70792f7444115e484c7981c8284 11500Author: Lasse Collin <lasse.collin@tukaani.org> 11501Date: 2008-01-06 19:45:27 +0200 11502 11503 With printf(), use PRIu64 with a cast to uint64_t instead 11504 of %zu, because some pre-C99 libc versions don't support %zu. 11505 11506 src/lzma/help.c | 13 +++++++------ 11507 src/lzmadec/lzmadec.c | 6 ++++-- 11508 2 files changed, 11 insertions(+), 8 deletions(-) 11509 11510commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb 11511Author: Lasse Collin <lasse.collin@tukaani.org> 11512Date: 2008-01-06 16:27:41 +0200 11513 11514 Introduced compatibility with systems that have pre-C99 11515 or no inttypes.h. This is useful when the compiler has 11516 good enough support for C99, but libc headers don't. 11517 11518 Changed liblzma API so that sys/types.h and inttypes.h 11519 have to be #included before #including lzma.h. On systems 11520 that don't have C99 inttypes.h, it's the problem of the 11521 applications to provide the required types and macros 11522 before #including lzma.h. 11523 11524 If lzma.h defined the missing types and macros, it could 11525 conflict with third-party applications whose configure 11526 has detected that the types are missing and defined them 11527 in config.h already. An alternative would have been 11528 introducing lzma_uint32 and similar types, but that would 11529 just be an extra pain on modern systems. 11530 11531 configure.ac | 13 ++++++++- 11532 doc/liblzma-intro.txt | 10 +++++-- 11533 src/common/sysdefs.h | 59 +++++++++++++++++++++++++++++++++++++- 11534 src/liblzma/api/lzma.h | 40 +++++++++++++++++--------- 11535 src/liblzma/check/crc32_table.c | 4 +-- 11536 src/liblzma/check/crc32_table_be.h | 2 -- 11537 src/liblzma/check/crc32_table_le.h | 2 -- 11538 src/liblzma/check/crc32_tablegen.c | 1 - 11539 src/liblzma/check/crc64_table.c | 4 +-- 11540 src/liblzma/check/crc64_table_be.h | 2 -- 11541 src/liblzma/check/crc64_table_le.h | 2 -- 11542 src/liblzma/check/crc64_tablegen.c | 1 - 11543 src/lzma/private.h | 1 - 11544 13 files changed, 106 insertions(+), 35 deletions(-) 11545 11546commit a71864f77dfb76b5d78a270641539947c312583a 11547Author: Lasse Collin <lasse.collin@tukaani.org> 11548Date: 2008-01-05 19:57:00 +0200 11549 11550 Fix typo in comment (INT64_MAX -> UINT64_MAX). 11551 11552 src/liblzma/api/lzma/vli.h | 2 +- 11553 1 file changed, 1 insertion(+), 1 deletion(-) 11554 11555commit 072927905a3b66281c6311b4b351caa501d8b73a 11556Author: Lasse Collin <lasse.collin@tukaani.org> 11557Date: 2008-01-05 19:42:04 +0200 11558 11559 Rearranged testing of GCC-specific flags. 11560 11561 configure.ac | 33 +++++++++++++++++++++++---------- 11562 1 file changed, 23 insertions(+), 10 deletions(-) 11563 11564commit d160ee32598c6d1cd9054ef019e8c9331208b188 11565Author: Lasse Collin <lasse.collin@tukaani.org> 11566Date: 2008-01-05 01:20:24 +0200 11567 11568 Another bug fix for flush marker detection. 11569 11570 src/liblzma/lzma/lzma_decoder.c | 10 +++++++++- 11571 1 file changed, 9 insertions(+), 1 deletion(-) 11572 11573commit fc67f79f607cbfa78c6f47a69dec098d8659b162 11574Author: Lasse Collin <lasse.collin@tukaani.org> 11575Date: 2008-01-04 21:37:01 +0200 11576 11577 Fix stupid bugs in flush marker detection. 11578 11579 src/liblzma/lzma/lzma_decoder.c | 7 ++++--- 11580 1 file changed, 4 insertions(+), 3 deletions(-) 11581 11582commit 0029cbbabe87d491fc046a55a629a6d556010baa 11583Author: Lasse Collin <lasse.collin@tukaani.org> 11584Date: 2008-01-04 21:30:33 +0200 11585 11586 Added support for flush marker, which will be in files 11587 that use LZMA_SYNC_FLUSH with encoder (not implemented 11588 yet). This is a new feature in the raw LZMA format, 11589 which isn't supported by old decoders. This shouldn't 11590 be a problem in practice, since lzma_alone_encoder() 11591 will not allow LZMA_SYNC_FLUSH, and thus not allow 11592 creating files on decodable with old decoders. 11593 11594 Made lzma_decoder.c to require tab width of 4 characters 11595 if one wants to fit the code in 80 columns. This makes 11596 the code easier to read. 11597 11598 src/liblzma/lzma/lzma_common.h | 4 + 11599 src/liblzma/lzma/lzma_decoder.c | 217 ++++++++++++++++++---------------------- 11600 2 files changed, 104 insertions(+), 117 deletions(-) 11601 11602commit bbfd1f6ab058a7e661545205befcb7f70c5685ab 11603Author: Lasse Collin <lasse.collin@tukaani.org> 11604Date: 2008-01-04 20:45:05 +0200 11605 11606 Moved range decoder initialization (reading the first 11607 five input bytes) from LZMA decoder to range decoder 11608 header. Did the same for decoding of direct bits. 11609 11610 src/liblzma/lzma/lzma_decoder.c | 42 +++------------- 11611 src/liblzma/rangecoder/range_decoder.h | 87 +++++++++++++++++++++++----------- 11612 2 files changed, 66 insertions(+), 63 deletions(-) 11613 11614commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc 11615Author: Lasse Collin <lasse.collin@tukaani.org> 11616Date: 2007-12-14 11:15:21 +0200 11617 11618 Added a note to README that --disable-assembler 11619 must be used on Darwin. 11620 11621 README | 4 ++++ 11622 1 file changed, 4 insertions(+) 11623 11624commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24 11625Author: Lasse Collin <lasse.collin@tukaani.org> 11626Date: 2007-12-14 10:07:10 +0200 11627 11628 Use the filename suffix .S instead of .s for assembler files 11629 so that the preprocessor removes the /* */ style comments, 11630 which are not supported by some non-GNU assemblers (Solaris) 11631 that otherwise work with this code. 11632 11633 src/liblzma/check/Makefile.am | 4 +- 11634 src/liblzma/check/crc32_x86.S | 217 ++++++++++++++++++++++++++++++++++++++++++ 11635 src/liblzma/check/crc32_x86.s | 217 ------------------------------------------ 11636 src/liblzma/check/crc64_x86.S | 203 +++++++++++++++++++++++++++++++++++++++ 11637 src/liblzma/check/crc64_x86.s | 203 --------------------------------------- 11638 5 files changed, 422 insertions(+), 422 deletions(-) 11639 11640commit ec1c82b2e82f395f6e8e19ac212a639644330cd7 11641Author: Lasse Collin <lasse.collin@tukaani.org> 11642Date: 2007-12-14 09:59:05 +0200 11643 11644 Fixed wrong symbol name in crc64_x86.s. 11645 11646 src/liblzma/check/crc64_x86.s | 2 +- 11647 1 file changed, 1 insertion(+), 1 deletion(-) 11648 11649commit 2881570df6803eed2fe550af34574e8e61794804 11650Author: Lasse Collin <lasse.collin@tukaani.org> 11651Date: 2007-12-14 09:53:24 +0200 11652 11653 Use .globl instead of .global in x86 assembler code for 11654 better portability. Still needs fixing the commenting. 11655 11656 src/liblzma/check/crc32_x86.s | 2 +- 11657 src/liblzma/check/crc64_x86.s | 2 +- 11658 2 files changed, 2 insertions(+), 2 deletions(-) 11659 11660commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66 11661Author: Lasse Collin <lasse.collin@tukaani.org> 11662Date: 2007-12-13 20:14:37 +0200 11663 11664 Fixed a few short options that take an argument. 11665 short_opts[] was missing colons to indicate 11666 required argument. Thanks to Fabio Pedretti for 11667 the bug report. 11668 11669 src/lzma/args.c | 2 +- 11670 1 file changed, 1 insertion(+), 1 deletion(-) 11671 11672commit 918bcb0e0728d2d976621e9f35b56f224f11d989 11673Author: Lasse Collin <lasse.collin@tukaani.org> 11674Date: 2007-12-11 17:08:04 +0200 11675 11676 Removed uncompressed size tracking from Delta encoder too. 11677 11678 src/liblzma/common/delta_coder.c | 21 +++------------------ 11679 1 file changed, 3 insertions(+), 18 deletions(-) 11680 11681commit 3e16d51dd645667b05ff826665b1fc353aa41cd9 11682Author: Lasse Collin <lasse.collin@tukaani.org> 11683Date: 2007-12-11 16:49:19 +0200 11684 11685 Remove uncompressed size tracking from the filter encoders. 11686 It's not strictly needed there, and just complicates the 11687 code. LZ encoder never even had this feature. 11688 11689 The primary reason to have uncompressed size tracking in 11690 filter encoders was validating that the application 11691 doesn't give different amount of input that it had 11692 promised. A side effect was to validate internal workings 11693 of liblzma. 11694 11695 Uncompressed size tracking is still present in the Block 11696 encoder. Maybe it should be added to LZMA_Alone and raw 11697 encoders too. It's simpler to have one coder just to 11698 validate the uncompressed size instead of having it 11699 in every filter. 11700 11701 src/liblzma/common/copy_coder.c | 25 ++-------------------- 11702 src/liblzma/simple/simple_coder.c | 29 ++++--------------------- 11703 src/liblzma/subblock/subblock_encoder.c | 38 ++++++--------------------------- 11704 3 files changed, 12 insertions(+), 80 deletions(-) 11705 11706commit 5286723e0d1ac386d5b07f08d78e61becf895a5a 11707Author: Lasse Collin <lasse.collin@tukaani.org> 11708Date: 2007-12-11 14:10:53 +0200 11709 11710 Get rid of no-NLS gnulib. I don't know how to get it 11711 working with Automake. People who want smaller lzmadec 11712 should use --disable-nls on non-GNU systems. 11713 11714 lib/Makefile.am | 10 +--------- 11715 src/lzma/Makefile.am | 2 +- 11716 src/lzmadec/Makefile.am | 4 +++- 11717 3 files changed, 5 insertions(+), 11 deletions(-) 11718 11719commit ce8b036a6c7a43b290356b673d953f6d76b2be64 11720Author: Lasse Collin <lasse.collin@tukaani.org> 11721Date: 2007-12-11 14:09:35 +0200 11722 11723 Fixed a typo in tests/Makefile.am which prevented 11724 building the tests if gnulib was needed. 11725 11726 tests/Makefile.am | 2 +- 11727 1 file changed, 1 insertion(+), 1 deletion(-) 11728 11729commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4 11730Author: Lasse Collin <lasse.collin@tukaani.org> 11731Date: 2007-12-11 11:18:58 +0200 11732 11733 Fixed wrong type of flags_size in Subblock encoder. 11734 11735 src/liblzma/subblock/subblock_encoder.c | 2 +- 11736 1 file changed, 1 insertion(+), 1 deletion(-) 11737 11738commit ce64df716243fdc40359090d1f6541f3a4f5f21a 11739Author: Lasse Collin <lasse.collin@tukaani.org> 11740Date: 2007-12-10 20:44:16 +0200 11741 11742 Bumped version number to 4.42.3alpha. 11743 11744 configure.ac | 2 +- 11745 src/liblzma/api/lzma/version.h | 2 +- 11746 2 files changed, 2 insertions(+), 2 deletions(-) 11747 11748commit b499a0403ea5c41d6a25b40275eb6c57643052ce 11749Author: Lasse Collin <lasse.collin@tukaani.org> 11750Date: 2007-12-10 15:02:50 +0200 11751 11752 Disabled some unneeded warnings and made "make dist" work. 11753 11754 Makefile.am | 9 +++------ 11755 configure.ac | 9 ++++++--- 11756 po/fi.po | 47 ++++++++++++++++++++++++----------------------- 11757 3 files changed, 33 insertions(+), 32 deletions(-) 11758 11759commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172 11760Author: Lasse Collin <lasse.collin@tukaani.org> 11761Date: 2007-12-09 21:43:15 +0200 11762 11763 Added LZMA_SYNC_FLUSH support to the Copy filter. 11764 11765 src/liblzma/common/copy_coder.c | 92 +++++++++++++++++++++++++---------------- 11766 1 file changed, 57 insertions(+), 35 deletions(-) 11767 11768commit 329c272d501e88793dda5540358d55c12428d194 11769Author: Lasse Collin <lasse.collin@tukaani.org> 11770Date: 2007-12-09 17:14:07 +0200 11771 11772 Added missing LZMA_API to the C versions of the CRC functions. 11773 The x86 assembler versions were already OK. 11774 11775 src/liblzma/check/crc32.c | 2 +- 11776 src/liblzma/check/crc64.c | 2 +- 11777 2 files changed, 2 insertions(+), 2 deletions(-) 11778 11779commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7 11780Author: Jim Meyering <meyering@redhat.com> 11781Date: 2007-12-09 15:34:25 +0100 11782 11783 * tests/test_block_header.c (test3): Remove duplicate initializer. 11784 11785 autogen.sh | 2 +- 11786 tests/test_block_header.c | 1 - 11787 2 files changed, 1 insertion(+), 2 deletions(-) 11788 11789commit 07ac881779a8477f2c1ab112b91a129e24aa743c 11790Author: Lasse Collin <lasse.collin@tukaani.org> 11791Date: 2007-12-09 17:06:45 +0200 11792 11793 Take advantage of return_if_error() macro in more places. 11794 Cleaned Subblock filter's initialization code too. 11795 11796 src/liblzma/common/block_decoder.c | 22 +++------- 11797 src/liblzma/common/delta_coder.c | 8 +--- 11798 src/liblzma/common/stream_decoder.c | 17 +++----- 11799 src/liblzma/common/stream_encoder_multi.c | 68 ++++++++++-------------------- 11800 src/liblzma/common/stream_encoder_single.c | 8 ++-- 11801 src/liblzma/subblock/subblock_decoder.c | 33 +++++---------- 11802 src/liblzma/subblock/subblock_encoder.c | 45 ++++++-------------- 11803 7 files changed, 63 insertions(+), 138 deletions(-) 11804 11805commit 41338717964f510ee61d70b25bd4c502ec9f77cf 11806Author: Lasse Collin <lasse.collin@tukaani.org> 11807Date: 2007-12-09 12:13:01 +0200 11808 11809 Added a bunch of .lzma test files. 11810 11811 tests/files/bad-single-data_after_eopm.lzma | Bin 0 -> 55 bytes 11812 tests/files/bad-single-data_after_eopm_2.lzma | Bin 0 -> 56 bytes 11813 tests/files/bad-single-subblock_subblock.lzma | Bin 0 -> 26 bytes 11814 tests/files/good-cat-single-none-pad.lzma | Bin 0 -> 64 bytes 11815 tests/files/good-single-delta-lzma.tiff.lzma | Bin 0 -> 51409 bytes 11816 tests/files/good-single-lzma.lzma | Bin 0 -> 44 bytes 11817 tests/files/good-single-none-pad.lzma | Bin 0 -> 32 bytes 11818 tests/files/good-single-none.lzma | Bin 0 -> 30 bytes 11819 tests/files/good-single-subblock-lzma.lzma | Bin 0 -> 50 bytes 11820 tests/files/good-single-subblock_rle.lzma | Bin 0 -> 118 bytes 11821 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 0 -> 51 bytes 11822 tests/files/malicious-single-subblock-256MiB.lzma | Bin 0 -> 30 bytes 11823 tests/files/malicious-single-subblock-64PiB.lzma | Bin 0 -> 45 bytes 11824 tests/files/malicious-single-subblock-loop.lzma | Bin 0 -> 43 bytes 11825 tests/files/malicious-single-subblock-lzma.lzma | Bin 0 -> 505 bytes 11826 tests/files/malicious-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes 11827 tests/files/malicious-single-subblock31-slow.lzma | Bin 0 -> 1233 bytes 11828 17 files changed, 0 insertions(+), 0 deletions(-) 11829 11830commit ff946ceb7975d4f11950afd33f6315b4d20d1a03 11831Author: Lasse Collin <lasse.collin@tukaani.org> 11832Date: 2007-12-09 11:24:48 +0200 11833 11834 Re-enabled the security checks in Subblock decoder 11835 that were disabled for debugging reasons. 11836 11837 src/liblzma/subblock/subblock_decoder.c | 6 +++--- 11838 1 file changed, 3 insertions(+), 3 deletions(-) 11839 11840commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1 11841Author: Lasse Collin <lasse.collin@tukaani.org> 11842Date: 2007-12-09 11:03:28 +0200 11843 11844 Fixed the tests to build with -Werror. 11845 11846 tests/test_block_header.c | 2 +- 11847 tests/test_check.c | 2 +- 11848 tests/test_filter_flags.c | 2 +- 11849 tests/test_index.c | 14 +++++++------- 11850 tests/test_info.c | 2 +- 11851 tests/test_stream_flags.c | 2 +- 11852 6 files changed, 12 insertions(+), 12 deletions(-) 11853 11854commit 5d018dc03549c1ee4958364712fb0c94e1bf2741 11855Author: Lasse Collin <lasse.collin@tukaani.org> 11856Date: 2007-12-09 00:42:33 +0200 11857 11858 Imported to git. 11859 11860 AUTHORS | 18 + 11861 COPYING | 24 + 11862 COPYING.GPLv2 | 339 +++++ 11863 COPYING.GPLv3 | 674 +++++++++ 11864 COPYING.LGPLv2.1 | 504 +++++++ 11865 ChangeLog | 2 + 11866 Doxyfile.in | 1229 ++++++++++++++++ 11867 Makefile.am | 38 + 11868 NEWS | 0 11869 README | 151 ++ 11870 THANKS | 23 + 11871 TODO | 109 ++ 11872 autogen.sh | 38 + 11873 configure.ac | 611 ++++++++ 11874 doc/bugs.txt | 46 + 11875 doc/faq.txt | 247 ++++ 11876 doc/file-format.txt | 1861 ++++++++++++++++++++++++ 11877 doc/history.txt | 140 ++ 11878 doc/liblzma-advanced.txt | 324 +++++ 11879 doc/liblzma-hacking.txt | 112 ++ 11880 doc/liblzma-intro.txt | 188 +++ 11881 doc/liblzma-security.txt | 219 +++ 11882 doc/lzma-intro.txt | 107 ++ 11883 extra/scanlzma/scanlzma.c | 85 ++ 11884 lib/Makefile.am | 40 + 11885 lib/getopt.c | 1191 +++++++++++++++ 11886 lib/getopt1.c | 171 +++ 11887 lib/getopt_.h | 226 +++ 11888 lib/getopt_int.h | 131 ++ 11889 lib/gettext.h | 240 +++ 11890 m4/acx_pthread.m4 | 279 ++++ 11891 m4/getopt.m4 | 83 ++ 11892 po/LINGUAS | 1 + 11893 po/Makevars | 46 + 11894 po/POTFILES.in | 13 + 11895 po/fi.po | 445 ++++++ 11896 src/Makefile.am | 16 + 11897 src/common/open_stdxxx.h | 50 + 11898 src/common/physmem.h | 77 + 11899 src/common/sysdefs.h | 100 ++ 11900 src/liblzma/Makefile.am | 47 + 11901 src/liblzma/api/Makefile.am | 39 + 11902 src/liblzma/api/lzma.h | 122 ++ 11903 src/liblzma/api/lzma/alignment.h | 60 + 11904 src/liblzma/api/lzma/alone.h | 82 ++ 11905 src/liblzma/api/lzma/auto.h | 41 + 11906 src/liblzma/api/lzma/base.h | 410 ++++++ 11907 src/liblzma/api/lzma/block.h | 409 ++++++ 11908 src/liblzma/api/lzma/check.h | 128 ++ 11909 src/liblzma/api/lzma/copy.h | 29 + 11910 src/liblzma/api/lzma/delta.h | 49 + 11911 src/liblzma/api/lzma/extra.h | 114 ++ 11912 src/liblzma/api/lzma/filter.h | 166 +++ 11913 src/liblzma/api/lzma/index.h | 84 ++ 11914 src/liblzma/api/lzma/info.h | 315 ++++ 11915 src/liblzma/api/lzma/init.h | 85 ++ 11916 src/liblzma/api/lzma/lzma.h | 312 ++++ 11917 src/liblzma/api/lzma/memlimit.h | 157 ++ 11918 src/liblzma/api/lzma/metadata.h | 100 ++ 11919 src/liblzma/api/lzma/raw.h | 72 + 11920 src/liblzma/api/lzma/simple.h | 85 ++ 11921 src/liblzma/api/lzma/stream.h | 178 +++ 11922 src/liblzma/api/lzma/stream_flags.h | 142 ++ 11923 src/liblzma/api/lzma/subblock.h | 197 +++ 11924 src/liblzma/api/lzma/version.h | 59 + 11925 src/liblzma/api/lzma/vli.h | 244 ++++ 11926 src/liblzma/check/Makefile.am | 64 + 11927 src/liblzma/check/check.c | 160 ++ 11928 src/liblzma/check/check.h | 102 ++ 11929 src/liblzma/check/check_byteswap.h | 43 + 11930 src/liblzma/check/check_init.c | 37 + 11931 src/liblzma/check/crc32.c | 88 ++ 11932 src/liblzma/check/crc32_init.c | 58 + 11933 src/liblzma/check/crc32_table.c | 22 + 11934 src/liblzma/check/crc32_table_be.h | 527 +++++++ 11935 src/liblzma/check/crc32_table_le.h | 527 +++++++ 11936 src/liblzma/check/crc32_tablegen.c | 55 + 11937 src/liblzma/check/crc32_x86.s | 217 +++ 11938 src/liblzma/check/crc64.c | 75 + 11939 src/liblzma/check/crc64_init.c | 58 + 11940 src/liblzma/check/crc64_table.c | 22 + 11941 src/liblzma/check/crc64_table_be.h | 523 +++++++ 11942 src/liblzma/check/crc64_table_le.h | 523 +++++++ 11943 src/liblzma/check/crc64_tablegen.c | 56 + 11944 src/liblzma/check/crc64_x86.s | 203 +++ 11945 src/liblzma/check/crc_macros.h | 33 + 11946 src/liblzma/check/sha256.c | 203 +++ 11947 src/liblzma/common/Makefile.am | 94 ++ 11948 src/liblzma/common/alignment.c | 118 ++ 11949 src/liblzma/common/allocator.c | 57 + 11950 src/liblzma/common/alone_decoder.c | 197 +++ 11951 src/liblzma/common/alone_decoder.h | 24 + 11952 src/liblzma/common/alone_encoder.c | 167 +++ 11953 src/liblzma/common/auto_decoder.c | 113 ++ 11954 src/liblzma/common/block_decoder.c | 405 ++++++ 11955 src/liblzma/common/block_decoder.h | 29 + 11956 src/liblzma/common/block_encoder.c | 375 +++++ 11957 src/liblzma/common/block_encoder.h | 29 + 11958 src/liblzma/common/block_header_decoder.c | 373 +++++ 11959 src/liblzma/common/block_header_encoder.c | 211 +++ 11960 src/liblzma/common/block_private.h | 46 + 11961 src/liblzma/common/chunk_size.c | 74 + 11962 src/liblzma/common/code.c | 203 +++ 11963 src/liblzma/common/common.h | 271 ++++ 11964 src/liblzma/common/copy_coder.c | 143 ++ 11965 src/liblzma/common/copy_coder.h | 31 + 11966 src/liblzma/common/delta_coder.c | 210 +++ 11967 src/liblzma/common/delta_coder.h | 31 + 11968 src/liblzma/common/extra.c | 33 + 11969 src/liblzma/common/features.c | 70 + 11970 src/liblzma/common/filter_flags_decoder.c | 382 +++++ 11971 src/liblzma/common/filter_flags_encoder.c | 359 +++++ 11972 src/liblzma/common/index.c | 140 ++ 11973 src/liblzma/common/info.c | 823 +++++++++++ 11974 src/liblzma/common/init.c | 39 + 11975 src/liblzma/common/init_decoder.c | 33 + 11976 src/liblzma/common/init_encoder.c | 44 + 11977 src/liblzma/common/memory_limitter.c | 200 +++ 11978 src/liblzma/common/memory_usage.c | 113 ++ 11979 src/liblzma/common/metadata_decoder.c | 555 +++++++ 11980 src/liblzma/common/metadata_decoder.h | 31 + 11981 src/liblzma/common/metadata_encoder.c | 436 ++++++ 11982 src/liblzma/common/metadata_encoder.h | 30 + 11983 src/liblzma/common/next_coder.c | 65 + 11984 src/liblzma/common/raw_common.c | 175 +++ 11985 src/liblzma/common/raw_common.h | 31 + 11986 src/liblzma/common/raw_decoder.c | 127 ++ 11987 src/liblzma/common/raw_decoder.h | 30 + 11988 src/liblzma/common/raw_encoder.c | 124 ++ 11989 src/liblzma/common/raw_encoder.h | 30 + 11990 src/liblzma/common/stream_common.c | 23 + 11991 src/liblzma/common/stream_common.h | 28 + 11992 src/liblzma/common/stream_decoder.c | 454 ++++++ 11993 src/liblzma/common/stream_encoder_multi.c | 460 ++++++ 11994 src/liblzma/common/stream_encoder_single.c | 220 +++ 11995 src/liblzma/common/stream_flags_decoder.c | 258 ++++ 11996 src/liblzma/common/stream_flags_decoder.h | 31 + 11997 src/liblzma/common/stream_flags_encoder.c | 75 + 11998 src/liblzma/common/sysdefs.h | 1 + 11999 src/liblzma/common/version.c | 25 + 12000 src/liblzma/common/vli_decoder.c | 69 + 12001 src/liblzma/common/vli_encoder.c | 81 ++ 12002 src/liblzma/common/vli_reverse_decoder.c | 55 + 12003 src/liblzma/lz/Makefile.am | 63 + 12004 src/liblzma/lz/bt2.c | 27 + 12005 src/liblzma/lz/bt2.h | 31 + 12006 src/liblzma/lz/bt3.c | 29 + 12007 src/liblzma/lz/bt3.h | 31 + 12008 src/liblzma/lz/bt4.c | 30 + 12009 src/liblzma/lz/bt4.h | 31 + 12010 src/liblzma/lz/hc3.c | 30 + 12011 src/liblzma/lz/hc3.h | 31 + 12012 src/liblzma/lz/hc4.c | 31 + 12013 src/liblzma/lz/hc4.h | 31 + 12014 src/liblzma/lz/lz_decoder.c | 462 ++++++ 12015 src/liblzma/lz/lz_decoder.h | 214 +++ 12016 src/liblzma/lz/lz_encoder.c | 481 ++++++ 12017 src/liblzma/lz/lz_encoder.h | 161 ++ 12018 src/liblzma/lz/lz_encoder_private.h | 40 + 12019 src/liblzma/lz/match_c.h | 401 +++++ 12020 src/liblzma/lz/match_h.h | 69 + 12021 src/liblzma/lzma.pc.in | 11 + 12022 src/liblzma/lzma/Makefile.am | 43 + 12023 src/liblzma/lzma/lzma_common.h | 128 ++ 12024 src/liblzma/lzma/lzma_decoder.c | 844 +++++++++++ 12025 src/liblzma/lzma/lzma_decoder.h | 41 + 12026 src/liblzma/lzma/lzma_encoder.c | 413 ++++++ 12027 src/liblzma/lzma/lzma_encoder.h | 35 + 12028 src/liblzma/lzma/lzma_encoder_features.c | 59 + 12029 src/liblzma/lzma/lzma_encoder_getoptimum.c | 893 ++++++++++++ 12030 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 +++ 12031 src/liblzma/lzma/lzma_encoder_init.c | 245 ++++ 12032 src/liblzma/lzma/lzma_encoder_presets.c | 34 + 12033 src/liblzma/lzma/lzma_encoder_private.h | 225 +++ 12034 src/liblzma/lzma/lzma_literal.c | 74 + 12035 src/liblzma/lzma/lzma_literal.h | 74 + 12036 src/liblzma/rangecoder/Makefile.am | 28 + 12037 src/liblzma/rangecoder/range_common.h | 68 + 12038 src/liblzma/rangecoder/range_decoder.h | 189 +++ 12039 src/liblzma/rangecoder/range_encoder.c | 46 + 12040 src/liblzma/rangecoder/range_encoder.h | 317 ++++ 12041 src/liblzma/simple/Makefile.am | 46 + 12042 src/liblzma/simple/arm.c | 76 + 12043 src/liblzma/simple/armthumb.c | 81 ++ 12044 src/liblzma/simple/ia64.c | 117 ++ 12045 src/liblzma/simple/powerpc.c | 80 + 12046 src/liblzma/simple/simple_coder.c | 306 ++++ 12047 src/liblzma/simple/simple_coder.h | 68 + 12048 src/liblzma/simple/simple_private.h | 86 ++ 12049 src/liblzma/simple/sparc.c | 88 ++ 12050 src/liblzma/simple/x86.c | 161 ++ 12051 src/liblzma/subblock/Makefile.am | 33 + 12052 src/liblzma/subblock/subblock_decoder.c | 681 +++++++++ 12053 src/liblzma/subblock/subblock_decoder.h | 29 + 12054 src/liblzma/subblock/subblock_decoder_helper.c | 80 + 12055 src/liblzma/subblock/subblock_decoder_helper.h | 36 + 12056 src/liblzma/subblock/subblock_encoder.c | 841 +++++++++++ 12057 src/liblzma/subblock/subblock_encoder.h | 28 + 12058 src/lzma/Makefile.am | 63 + 12059 src/lzma/alloc.c | 106 ++ 12060 src/lzma/alloc.h | 42 + 12061 src/lzma/args.c | 566 +++++++ 12062 src/lzma/args.h | 64 + 12063 src/lzma/error.c | 156 ++ 12064 src/lzma/error.h | 67 + 12065 src/lzma/hardware.c | 99 ++ 12066 src/lzma/hardware.h | 31 + 12067 src/lzma/help.c | 178 +++ 12068 src/lzma/help.h | 32 + 12069 src/lzma/io.c | 664 +++++++++ 12070 src/lzma/io.h | 60 + 12071 src/lzma/list.c | 477 ++++++ 12072 src/lzma/main.c | 254 ++++ 12073 src/lzma/options.c | 346 +++++ 12074 src/lzma/options.h | 46 + 12075 src/lzma/private.h | 55 + 12076 src/lzma/process.c | 458 ++++++ 12077 src/lzma/process.h | 30 + 12078 src/lzma/suffix.c | 145 ++ 12079 src/lzma/suffix.h | 25 + 12080 src/lzma/util.c | 182 +++ 12081 src/lzma/util.h | 32 + 12082 src/lzmadec/Makefile.am | 27 + 12083 src/lzmadec/lzmadec.c | 515 +++++++ 12084 src/scripts/Makefile.am | 24 + 12085 src/scripts/lzdiff | 67 + 12086 src/scripts/lzdiff.1 | 51 + 12087 src/scripts/lzgrep | 123 ++ 12088 src/scripts/lzgrep.1 | 61 + 12089 src/scripts/lzmore | 74 + 12090 src/scripts/lzmore.1 | 55 + 12091 tests/Makefile.am | 43 + 12092 tests/test_block.c | 59 + 12093 tests/test_block_header.c | 352 +++++ 12094 tests/test_check.c | 90 ++ 12095 tests/test_filter_flags.c | 326 +++++ 12096 tests/test_index.c | 43 + 12097 tests/test_info.c | 717 +++++++++ 12098 tests/test_stream_flags.c | 191 +++ 12099 tests/tests.h | 148 ++ 12100 240 files changed, 42513 insertions(+) 12101