1commit a290cfee3e23f046889c022aa96b4eca2016fdda 2Author: Lasse Collin <lasse.collin@tukaani.org> 3Date: Mon Apr 12 21:55:56 2010 +0300 4 5 Show both elapsed time and estimated remaining time in xz -v. 6 7 The extra space for showing both has been taken from the 8 sizes field. If the sizes grow big, bigger units than MiB 9 will be used. It makes it slightly difficult to see that 10 progress is still happening with huge files, but it should 11 be OK in practice. 12 13 Thanks to Trent W. Buck for <http://bugs.debian.org/574583> 14 and Jonathan Nieder for suggestions how to fix it. 15 16commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e 17Author: Lasse Collin <lasse.collin@tukaani.org> 18Date: Wed Mar 31 16:47:25 2010 +0300 19 20 Add a simple tip to faq.txt about tar and xz. 21 22 Thanks to Gilles Espinasse. 23 24commit c737eec91d200d730aa82662affd6b06ebb0bff0 25Author: Lasse Collin <lasse.collin@tukaani.org> 26Date: Mon Mar 22 21:03:03 2010 +0200 27 28 Updated THANKS. 29 30commit f4b2b52624b802c786e4e2a8eb6895794dd93b24 31Author: Lasse Collin <lasse.collin@tukaani.org> 32Date: Sun Mar 7 19:52:25 2010 +0200 33 34 Fix xzgrep to not break if filenames have spaces or quotes. 35 36 Thanks to someone who reported the bug on IRC. 37 38commit cf38da00a140bd3bd65b192390ae5553380fd774 39Author: Lasse Collin <lasse.collin@tukaani.org> 40Date: Sun Mar 7 13:59:32 2010 +0200 41 42 Treat all integer multiplier suffixes as base-2. 43 44 Originally both base-2 and base-10 were supported, but since 45 there seems to be little need for base-10 in XZ Utils, treat 46 everything as base-2 and also be more relaxed about the case 47 of the first letter of the suffix. Now xz will accept e.g. 48 KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The 49 recommended spelling of the suffixes are still KiB, MiB, and GiB. 50 51commit 00fc1211ae7b687ac912098f4479112059deccbd 52Author: Lasse Collin <lasse.collin@tukaani.org> 53Date: Sun Mar 7 13:50:23 2010 +0200 54 55 Consistently round up the memory usage limit in messages. 56 57 It still feels a bit wrong to round 1 byte to 1 MiB but 58 at least it is now done consistently so that the same 59 byte value is always rounded the same way to MiB. 60 61commit 9886d436ff5615fc70eef32ff757b1e934069621 62Author: Lasse Collin <lasse.collin@tukaani.org> 63Date: Sun Mar 7 13:34:34 2010 +0200 64 65 Change the default of --enable-assume-ram from 32 to 128 MiB. 66 67 This is to allow files created with "xz -9" to be decompressed 68 if the amount of RAM cannot be determined. 69 70commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418 71Author: Lasse Collin <lasse.collin@tukaani.org> 72Date: Sun Mar 7 13:29:28 2010 +0200 73 74 Increase the default memory usage limit on "low-memory" systems. 75 76 Previously the default limit was always 40 % of RAM. The 77 new limit is a little bit more complex: 78 79 - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used 80 as the limit. 81 82 - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit. 83 84 - Otherwise 80 % of RAM is used as the limit. 85 86 This should make it possible to decompress files created with 87 "xz -9" on more systems. Swapping is generally more expected 88 on systems with less RAM, so higher default limit on them 89 shouldn't cause too bad surprises in terms of heavy swapping. 90 Instead, the higher default limit should reduce the number of 91 bad surprises when it used to prevent decompression of files 92 created with "xz -9". The DoS prevention system shouldn't be 93 a DoS itself. 94 95 Note that even with the new default limit, a system with 64 MiB 96 RAM cannot decompress files created with "xz -9" without user 97 overriding the limit. This should be OK, because if xz is going 98 to need more memory than the system has RAM, it will run very 99 very slowly and thus it's good that user has to override the limit 100 in that case. 101 102commit 5527b7269a997e7f335d60f237a64bbf225d9dc7 103Author: Lasse Collin <lasse.collin@tukaani.org> 104Date: Sat Mar 6 21:36:19 2010 +0200 105 106 Updated THANKS. 107 108commit d0d1c51aea4351288a7e533cce28cb7f852f6b05 109Author: Lasse Collin <lasse.collin@tukaani.org> 110Date: Sat Mar 6 21:17:20 2010 +0200 111 112 Fix missing initialization in lzma_strm_init(). 113 114 With bad luck, lzma_code() could return LZMA_BUF_ERROR 115 when it shouldn't. 116 117 This has been here since the early days of liblzma. 118 It got triggered by the modifications made to the xz 119 tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f 120 but only when decompressing .lzma files. Somehow I managed 121 to miss testing that with Valgrind earlier. 122 123 This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>. 124 Thanks to Rafał Mużyło for helping to debug it on IRC. 125 126commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea 127Author: Lasse Collin <lasse.collin@tukaani.org> 128Date: Fri Feb 12 13:16:15 2010 +0200 129 130 Collection of language fixes to comments and docs. 131 132 Thanks to Jonathan Nieder. 133 134commit 4785f2021aa6a23f1caf724fcc823e562584f225 135Author: Lasse Collin <lasse.collin@tukaani.org> 136Date: Fri Feb 12 12:41:20 2010 +0200 137 138 Fix jl -> jb in ASM files. 139 140commit 6b50c9429bf85521d355adc61745d06ee017f8c8 141Author: Lasse Collin <lasse.collin@tukaani.org> 142Date: Fri Feb 12 12:31:22 2010 +0200 143 144 Use __APPLE__ instead of __MACH__ in ASM files. 145 146 This allows the files to work on HURD. 147 148 Thanks to Jonathan Nieder. 149 150commit 6503fde658a5cdbdd907a788865470dd64771601 151Author: Lasse Collin <lasse.collin@tukaani.org> 152Date: Sun Feb 7 19:48:06 2010 +0200 153 154 Subtle change to liblzma Block handling API. 155 156 lzma_block.version has to be initialized even for 157 lzma_block_header_decode(). This way a future version 158 of liblzma won't allocate memory in a way that an old 159 application doesn't know how to free it. 160 161 The subtlety of this change is that all current apps 162 using lzma_block_header_decode() will keep working for 163 now, because the only possible version value is zero, 164 and lzma_block_header_decode() unconditionally sets the 165 version to zero even now. Unless fixed, these apps will 166 break in the future if a new version of the Block options 167 is ever needed. 168 169commit dd7c3841ff78cb94ce02b0220c6e4748460970f7 170Author: Lasse Collin <lasse.collin@tukaani.org> 171Date: Tue Feb 2 11:50:11 2010 +0200 172 173 Fix wrong assertion. 174 175 This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735. 176 177commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be 178Author: Lasse Collin <lasse.collin@tukaani.org> 179Date: Mon Feb 1 22:48:42 2010 +0200 180 181 Updated TODO. 182 183commit fef6333f52c8801308c3b78acb7942988541d137 184Author: Lasse Collin <lasse.collin@tukaani.org> 185Date: Mon Feb 1 22:47:54 2010 +0200 186 187 Fix typos in comments. 188 189commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735 190Author: Lasse Collin <lasse.collin@tukaani.org> 191Date: Mon Feb 1 22:46:56 2010 +0200 192 193 Fix signal handling for --list. 194 195commit 82220a149015616f75641ee8bbea415137535b9b 196Author: Lasse Collin <lasse.collin@tukaani.org> 197Date: Mon Feb 1 11:44:45 2010 +0200 198 199 Fix compression of symlinks with --force. 200 201 xz --force accepted symlinks, but didn't remove 202 them after successful compression. Instead, an error 203 message was displayed. 204 205commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e 206Author: Lasse Collin <lasse.collin@tukaani.org> 207Date: Mon Feb 1 10:20:57 2010 +0200 208 209 Fix a comment. 210 211commit f9dd797a423a148903cf345b4146cb1fe1eab11d 212Author: Lasse Collin <lasse.collin@tukaani.org> 213Date: Sun Jan 31 23:43:54 2010 +0200 214 215 Updated THANKS. 216 217commit ee5ddb8b28419fe4923ded5c18a50570a762dcab 218Author: Lasse Collin <lasse.collin@tukaani.org> 219Date: Sun Jan 31 23:41:29 2010 +0200 220 221 Updated TODO. 222 223commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6 224Author: Lasse Collin <lasse.collin@tukaani.org> 225Date: Sun Jan 31 23:35:04 2010 +0200 226 227 Mention TODO in README. 228 229commit 2901a8e7e82af05675b8cd8758a8ceddb111359f 230Author: Lasse Collin <lasse.collin@tukaani.org> 231Date: Sun Jan 31 23:31:14 2010 +0200 232 233 Updated INSTALL. 234 235commit 8884e16864ba53fb4b58623d7537d7ef30c28e11 236Author: Lasse Collin <lasse.collin@tukaani.org> 237Date: Sun Jan 31 23:28:51 2010 +0200 238 239 Revise the Windows build files. 240 241 The old Makefile + config.h was deleted, because it 242 becomes outdated too easily and building with the 243 Autotools based build system works fine even on Windows. 244 245 windows/build.sh hasn't got much testing, but it should 246 work to build 32-bit x86 and x86-64 versions of XZ Utils 247 using MSYS, MinGW or MinGW-w32, and MinGW-w64. 248 249 windows/INSTALL-Windows.txt describes what packages are 250 needed and how to install them. 251 252 windows/README-Windows.txt is a readme file for the binary 253 package that build.sh hopefully builds. 254 255 There are no instructions about using Autotools for now, 256 so those using a git snapshot may want to run 257 "autoreconf -fi && ./configure && make mydist" on a UN*X 258 box and then copy the resulting .tar.gz to a Windows. 259 260commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c 261Author: Lasse Collin <lasse.collin@tukaani.org> 262Date: Sun Jan 31 19:52:38 2010 +0200 263 264 Select the default integrity check type at runtime. 265 266 Previously it was set statically to CRC64 or CRC32 267 depending on options passed to the configure script. 268 269commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1 270Author: Lasse Collin <lasse.collin@tukaani.org> 271Date: Sun Jan 31 18:17:50 2010 +0200 272 273 Improve displaying of the memory usage limit. 274 275commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2 276Author: Lasse Collin <lasse.collin@tukaani.org> 277Date: Sun Jan 31 12:53:56 2010 +0200 278 279 Don't use uninitialized sigset_t. 280 281 If signal handlers haven't been established, then it's 282 useless to try to block them, especially since the sigset_t 283 used for blocking hasn't been initialized yet. 284 285commit 231c3c7098f1099a56abb8afece76fc9b8699f05 286Author: Lasse Collin <lasse.collin@tukaani.org> 287Date: Sun Jan 31 12:01:54 2010 +0200 288 289 Delay opening the destionation file and other fixes. 290 291 The opening of the destination file is now delayed a little. 292 The coder is initialized, and if decompressing, the memory 293 usage of the first Block compared against the memory 294 usage limit before the destination file is opened. This 295 means that if --force was used, the old "target" file won't 296 be deleted so easily when something goes wrong very early. 297 Thanks to Mark K for the bug report. 298 299 The above fix required some changes to progress message 300 handling. Now there is a separate function for setting and 301 printing the filename. It is used also in list.c. 302 303 list_file() now handles stdin correctly (gives an error). 304 305 A useless check for user_abort was removed from file_io.c. 306 307commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105 308Author: Lasse Collin <lasse.collin@tukaani.org> 309Date: Fri Jan 29 22:48:04 2010 +0200 310 311 Add list.h to src/xz/Makefile.am. 312 313 This should have been already in 314 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1. 315 316commit b4b1a56e0cbd597157858264f5c7189201ac9018 317Author: Lasse Collin <lasse.collin@tukaani.org> 318Date: Fri Jan 29 13:24:27 2010 +0200 319 320 Add lzmainfo.1 to manfiles list to convert to .txt and .pdf. 321 322commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95 323Author: Lasse Collin <lasse.collin@tukaani.org> 324Date: Wed Jan 27 16:42:11 2010 +0200 325 326 Silence two compiler warnings on DOS-like systems. 327 328commit b063cc34a30a4edf109343ff373b2b62b8ca72d3 329Author: Lasse Collin <lasse.collin@tukaani.org> 330Date: Wed Jan 27 13:31:03 2010 +0200 331 332 Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE. 333 334commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f 335Author: Lasse Collin <lasse.collin@tukaani.org> 336Date: Tue Jan 26 23:37:46 2010 +0200 337 338 Add a missing space to an error message. 339 340 Thanks to Robert Readman. 341 342commit e5496f9628ff5979392a80421d0b63a4de8015b4 343Author: Lasse Collin <lasse.collin@tukaani.org> 344Date: Tue Jan 26 22:53:37 2010 +0200 345 346 Use past tense in error message in io_unlink(). 347 348 Added a note to translators too. 349 350 Thanks to Robert Readman. 351 352commit d9a9800597ea540090e434132c3b511217df0a2b 353Author: Lasse Collin <lasse.collin@tukaani.org> 354Date: Tue Jan 26 15:42:24 2010 +0200 355 356 Fix too small static buffer in util.c. 357 358 This was introduced in 359 0dd6d007669b946543ca939a44243833c79e08f4 two days ago. 360 361commit d0b4bbf5da068503c099cd456e294d7673548cc0 362Author: Lasse Collin <lasse.collin@tukaani.org> 363Date: Tue Jan 26 14:46:43 2010 +0200 364 365 Minor comment fix. 366 367commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1 368Author: Lasse Collin <lasse.collin@tukaani.org> 369Date: Sun Jan 24 23:50:54 2010 +0200 370 371 Add initial version of xz --list. 372 373 This is a bit rough but should be useful for basic things. 374 Ideas (with detailed examples) about the output format are 375 welcome. 376 377 The output of --robot --list is not necessarily stable yet, 378 although I don't currently have any plans about changing it. 379 380 The man page hasn't been updated yet. 381 382commit df254ce03be016e217b511e7acd5d493f9929ca5 383Author: Lasse Collin <lasse.collin@tukaani.org> 384Date: Sun Jan 24 22:46:11 2010 +0200 385 386 Add io_pread(). 387 388 It will be used by --list. 389 390commit ef68dd4a92976276304de2aedfbe34ae91a86abb 391Author: Lasse Collin <lasse.collin@tukaani.org> 392Date: Sun Jan 24 22:45:14 2010 +0200 393 394 Set LC_NUMERIC=C when --robot is used. 395 396 It is to ensure that floating point numbers 397 will always have a dot as the decimal separator. 398 399commit 0dd6d007669b946543ca939a44243833c79e08f4 400Author: Lasse Collin <lasse.collin@tukaani.org> 401Date: Sun Jan 24 16:57:40 2010 +0200 402 403 Some improvements to printing sizes in xz. 404 405commit 2a98fdffd68c66371279c211c29153c808ad5c1d 406Author: Lasse Collin <lasse.collin@tukaani.org> 407Date: Wed Jan 20 22:02:35 2010 +0200 408 409 Fix a typo in README. 410 411 Thanks to R. Bijker. 412 413commit 07a11dad44e041b01dcfc73e8d4e00731158c06d 414Author: Lasse Collin <lasse.collin@tukaani.org> 415Date: Sun Jan 17 11:59:54 2010 +0200 416 417 Updated windows/Makefile. 418 419 Thanks to Dan Shechter for the patch. 420 421 It is likely that windows/Makefile will be removed 422 completely, because Autotols based build nowadays 423 works well with both 32-bit and 64-bit MinGW (I 424 just need to update the docs). 425 426commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3 427Author: Lasse Collin <lasse.collin@tukaani.org> 428Date: Fri Jan 15 11:05:11 2010 +0200 429 430 Update the xz man page to match the previous two commits. 431 432commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7 433Author: Lasse Collin <lasse.collin@tukaani.org> 434Date: Wed Jan 13 19:10:25 2010 +0200 435 436 Don't read compressed data from a terminal or write it 437 to a terminal even if --force is specified. 438 439 It just seems more reasonable this way. 440 441 The new behavior matches bzip2. The old one matched gzip. 442 443commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4 444Author: Lasse Collin <lasse.collin@tukaani.org> 445Date: Wed Jan 13 18:12:40 2010 +0200 446 447 Don't compress or decompress special files unless writing 448 to stdout even if --force is used. 449 450 --force will still enable compression of symlinks, but only 451 in case they point to a regular file. 452 453 The new way simply seems more reasonable. It matches gzip's 454 behavior while the old one matched bzip2's behavior. 455 456commit cee12aa852ec0902983dc1f153346ef750157fb9 457Author: Lasse Collin <lasse.collin@tukaani.org> 458Date: Tue Jan 12 16:30:33 2010 +0200 459 460 Updated THANKS. 461 462commit 153c7740c54b3c90129dbd3d6153ac1303c4d605 463Author: Lasse Collin <lasse.collin@tukaani.org> 464Date: Tue Jan 12 16:18:14 2010 +0200 465 466 Add IRIX-specific code to tuklib_physmem and tuklib_cpucores. 467 468 This is untested but it will get tested soon and, if needed, 469 fixed before 5.0.0. 470 471 Thanks to Stuart Shelton. 472 473commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1 474Author: Lasse Collin <lasse.collin@tukaani.org> 475Date: Fri Jan 1 00:29:10 2010 +0200 476 477 Fix _memconfig() functions. 478 479 This affects lzma_memusage() and lzma_memlimit_get(). 480 481commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691 482Author: Lasse Collin <lasse.collin@tukaani.org> 483Date: Thu Dec 31 22:45:53 2009 +0200 484 485 Revised the Index handling code. 486 487 This breaks API and ABI but most apps are not affected 488 since most apps don't use this part of the API. You will 489 get a compile error if you are using anything that got 490 broken. 491 492 Summary of changes: 493 494 - Ability to store Stream Flags, which are needed 495 for random-access reading in multi-Stream files. 496 497 - Separate function to set size of Stream Padding. 498 499 - Iterator structure makes it possible to read the same 500 lzma_index from multiple threads at the same time. 501 502 - A lot faster code to locate Blocks. 503 504 - Removed lzma_index_equal() without adding anything 505 to replace it. I don't know what it should do exactly 506 with the new features and what actually needs this 507 function in the first place other than test_index.c, 508 which now has its own code to compare lzma_indexes. 509 510commit f29997a846e673cb3b8cbd57de47ed313b3978bb 511Author: Lasse Collin <lasse.collin@tukaani.org> 512Date: Thu Dec 31 21:13:25 2009 +0200 513 514 Remove c-format tag in cs.po. 515 516 It was fixed in the C code earlier. 517 518commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644 519Author: Lasse Collin <lasse.collin@tukaani.org> 520Date: Thu Dec 31 21:11:05 2009 +0200 521 522 Add missing lzma_nothrow in filter.h. 523 524commit b56cb1fc31fa2381f92eefc040df85667048d626 525Author: Lasse Collin <lasse.collin@tukaani.org> 526Date: Wed Dec 9 18:13:44 2009 +0200 527 528 Remove redefinition of _(msgid) macro from lzmainfo.c. 529 530commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2 531Author: Jonathan Nieder <jrnieder@gmail.com> 532Date: Tue Dec 8 19:41:57 2009 -0600 533 534 update po/.gitignore 535 536 Since the *.gmo files are deleted by the maintainer-clean target, 537 I assume they are not meant to be tracked. 538 539 Also add the other files listed in the Makefile’s clean targets 540 (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they 541 are not accidentally tracked. Most of these are intermediate 542 files that would not appear unless a build is interrupted or 543 fails. 544 545 Split the list of untracked files by origin to make it easier to 546 tell if files are missing in the future. 547 548 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 549 550commit f7e44c6c11f630519072971b8b07a5729c096c36 551Author: Lasse Collin <lasse.collin@tukaani.org> 552Date: Wed Dec 9 00:38:55 2009 +0200 553 554 Always rely on GCC's auto-import on Windows. 555 556 I understood that this is nicer, because then people 557 don't need to worry about the LZMA_API_STATIC macro. 558 559 Thanks to Charles Wilson and Keith Marshall. 560 561commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c 562Author: Lasse Collin <lasse.collin@tukaani.org> 563Date: Mon Dec 7 21:46:53 2009 +0200 564 565 Fix file_io.c on DOS-like systems. 566 567 The problem was introduced when adding sparse file 568 support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902. 569 570 Thanks to Charles Wilson. 571 572commit 0696f5d268362221380e039bad48a86e29067c6a 573Author: Lasse Collin <lasse.collin@tukaani.org> 574Date: Mon Dec 7 20:54:21 2009 +0200 575 576 Add Czech translation. 577 578 Thanks to Marek Černocký. 579 580 Other people planning to translate xz: Note that the 581 messages are a little bit in flux still. Translations 582 are still welcome, just be prepared to some extra work 583 in case there are changes. 584 585commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5 586Author: Lasse Collin <lasse.collin@tukaani.org> 587Date: Mon Dec 7 20:32:08 2009 +0200 588 589 Add a note for translators to add a bug reporting address 590 for translation bugs. 591 592commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37 593Author: Lasse Collin <lasse.collin@tukaani.org> 594Date: Mon Dec 7 20:07:02 2009 +0200 595 596 Prevent xgettext from taking one regular string as a C format string. 597 598 Thanks to Marek Černocký. 599 600commit e0c2776b6ffbd2b1900fde353aceac734edc93d7 601Author: Lasse Collin <lasse.collin@tukaani.org> 602Date: Sat Nov 28 17:45:22 2009 +0200 603 604 Remove duplicate code in io_open_dest(). 605 606 Fix a missing _() in the error message too. 607 608commit f057a33c6f7c5992389479f2d4feabf2900ba7ee 609Author: Lasse Collin <lasse.collin@tukaani.org> 610Date: Thu Nov 26 10:11:23 2009 +0200 611 612 Typo fix to sysdefs.h. 613 614 Thanks to Jonathan Nieder. 615 616commit 8767b41534eafdf5e742e12190646bf5740b0cdb 617Author: Lasse Collin <lasse.collin@tukaani.org> 618Date: Thu Nov 26 10:10:36 2009 +0200 619 620 Fix a memory leak in test_index.c. 621 622 This was introduced in 623 bd13b04e202b6f495a68eb0766f97085b7c50a06. 624 625 Thanks to Jim Meyering for noticing it. 626 627commit 919fbaff860acdaa4bcd216500a0b1c960a6db92 628Author: Lasse Collin <lasse.collin@tukaani.org> 629Date: Wed Nov 25 14:22:19 2009 +0200 630 631 Add missing error check to coder.c. 632 633 With bad luck this could cause a segfault due to 634 reading (but not writing) past the end of the buffer. 635 636commit bd13b04e202b6f495a68eb0766f97085b7c50a06 637Author: Lasse Collin <lasse.collin@tukaani.org> 638Date: Wed Nov 25 13:04:10 2009 +0200 639 640 Fix bugs in lzma_index_read() and lzma_index_cat(). 641 642 lzma_index_read() didn't skip over Stream Padding 643 if it was the first record in the Index. 644 645 lzma_index_cat() didn't combine small Indexes correctly. 646 647 The test suite was updated to check for these bugs. 648 649 These bugs didn't affect the xz command line tool or 650 most users of liblzma in any way. 651 652commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa 653Author: Lasse Collin <lasse.collin@tukaani.org> 654Date: Wed Nov 25 12:52:56 2009 +0200 655 656 Index decoder fixes. 657 658 The Index decoder code didn't perfectly match the API docs, 659 which said that *i will be set to point to the decoded Index 660 only after decoding has succeeded. The docs were a bit unclear 661 too. 662 663 Now the decoder will initially set *i to NULL. *i will be set 664 to point to the decoded Index once decoding has succeeded. 665 This simplifies applications too, since it avoids dangling 666 pointers. 667 668commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902 669Author: Lasse Collin <lasse.collin@tukaani.org> 670Date: Wed Nov 25 11:19:20 2009 +0200 671 672 Create sparse files by default when decompressing into 673 a regular file. 674 675 Sparse file creation can be disabled with --no-sparse. 676 I don't promise yet that the name of this option won't 677 change before 5.0.0. It's possible that the code, that 678 checks when it is safe to use sparse output on stdout, 679 is not good enough, and a more flexible command line 680 option is needed to configure sparse file handling. 681 682commit 37de544414fc2dc5039471d1002ebd015eb3e627 683Author: Lasse Collin <lasse.collin@tukaani.org> 684Date: Sun Nov 22 12:43:06 2009 +0200 685 686 Updated THANKS. 687 688commit f1a28b96c900c658fe016852ff62f6c24d1f50fa 689Author: Lasse Collin <lasse.collin@tukaani.org> 690Date: Sun Nov 22 12:05:33 2009 +0200 691 692 Add missing consts to pointer casts. 693 694commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef 695Author: Lasse Collin <lasse.collin@tukaani.org> 696Date: Sun Nov 22 12:00:30 2009 +0200 697 698 Enable assembler code only if it is known to work 699 on that operating system. 700 701 I'm too lazy to think how to make a good Autoconf test 702 for this and it's not that important anyway. 703 704 No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64. 705 Inline assembler (if any) is used if a macro like 706 __i386__ or __x86_64__ is defined. 707 708commit 0733f4c9994db696420a405810d5f02c79ebc404 709Author: Lasse Collin <lasse.collin@tukaani.org> 710Date: Sun Nov 22 11:55:03 2009 +0200 711 712 Make fastpos.h use tuklib_integer.h instead of bsr.h 713 when --enable-small has been specified. 714 715commit 7ac3985d891dcc5773543f84cc5bce6c14841b12 716Author: Lasse Collin <lasse.collin@tukaani.org> 717Date: Sun Nov 22 11:52:30 2009 +0200 718 719 Update tuklib_integer.h with bit scan functions. 720 721 Thanks to Joachim Henke for the original patch. 722 723commit c74c132f7f79a842c073c66575a4fdb985e4c2e3 724Author: Lasse Collin <lasse.collin@tukaani.org> 725Date: Fri Nov 20 12:51:19 2009 +0200 726 727 Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib, 728 which now use AC_CACHE_CHECK. Using the cache variable, 729 configure now warns if there is no method to detect the amount 730 of RAM and recommends using --enable-assume-ram. 731 732commit d315ca4930ff96e1428c6021c96f209e1abdd83e 733Author: Lasse Collin <lasse.collin@tukaani.org> 734Date: Mon Nov 16 18:16:45 2009 +0200 735 736 Add support for --info-memory and --robot to xz. 737 738 Currently --robot works only with --info-memory and 739 --version. --help and --long-help work too, but --robot 740 has no effect on them. 741 742 Thanks to Jonathan Nieder for the original patches. 743 744commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e 745Author: Lasse Collin <lasse.collin@tukaani.org> 746Date: Sun Nov 15 12:54:45 2009 +0200 747 748 Fix wrong indentation caused by incorrect settings 749 in the text editor. 750 751commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4 752Author: Lasse Collin <lasse.collin@tukaani.org> 753Date: Sun Nov 15 12:40:17 2009 +0200 754 755 Add lzma_physmem(). 756 757 I had hoped to keep liblzma as purely a compression 758 library as possible (e.g. file I/O will go into 759 a different library), but it seems that applications 760 linking agaisnt liblzma need some way to determine 761 the memory usage limit, and knowing the amount of RAM 762 is one reasonable way to help making such decisions. 763 764 Thanks to Jonathan Nieder for the original patch. 765 766commit cf39faca59083d38422058c6c97aa757ea7797d0 767Author: Lasse Collin <lasse.collin@tukaani.org> 768Date: Sat Nov 14 20:21:19 2009 +0200 769 770 Updated THANKS. 771 772commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f 773Author: Lasse Collin <lasse.collin@tukaani.org> 774Date: Sat Nov 14 20:20:03 2009 +0200 775 776 Some updates to xz man page. 777 778commit 19b2674f07f8b588dfaf6638396b4b42866d7e23 779Author: Lasse Collin <lasse.collin@tukaani.org> 780Date: Sat Nov 14 19:51:03 2009 +0200 781 782 Fix description of --memory in --long-help. 783 784commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8 785Author: Lasse Collin <lasse.collin@tukaani.org> 786Date: Sat Nov 14 19:45:39 2009 +0200 787 788 Update the debug programs so that they compile again. 789 790commit 418d64a32e8144210f98a810738fed5a897e8367 791Author: Lasse Collin <lasse.collin@tukaani.org> 792Date: Sat Nov 14 18:59:19 2009 +0200 793 794 Fix a design error in liblzma API. 795 796 Originally the idea was that using LZMA_FULL_FLUSH 797 with Stream encoder would read the filter chain 798 from the same array that was used to intialize the 799 Stream encoder. Since most apps wouldn't use 800 LZMA_FULL_FLUSH, most apps wouldn't need to keep 801 the filter chain available after initializing the 802 Stream encoder. However, due to my mistake, it 803 actually required keeping the array always available. 804 805 Since setting the new filter chain via the array 806 used at initialization time is not a nice way to do 807 it for a couple of reasons, this commit ditches it 808 and introduces lzma_filters_update(). This new function 809 replaces also the "persistent" flag used by LZMA2 810 (and to-be-designed Subblock filter), which was also 811 an ugly thing to do. 812 813 Thanks to Alexey Tourbin for reminding me about the problem 814 that Stream encoder used to require keeping the filter 815 chain allocated. 816 817commit f0bf7634b77263a4dd02b20c71861ab67995da68 818Author: Lasse Collin <lasse.collin@tukaani.org> 819Date: Sat Oct 17 11:11:58 2009 +0300 820 821 Fix wrong function name in the previous commit. 822 823 It was meant to be lzma_filters_copy(), not lzma_filters_dup(). 824 825commit 6d118a0b9def82e96afba7386ec8d7da0b59649f 826Author: Lasse Collin <lasse.collin@tukaani.org> 827Date: Sat Oct 17 01:47:07 2009 +0300 828 829 Add lzma_filters_copy(). 830 831 This will be needed internally by liblzma once I fix 832 a design mistake in the encoder API. This function may 833 be useful to applications too so it's good to export it. 834 835commit 78e92c18470483e161388e679c1ee556adb3a691 836Author: Jonathan Nieder <jrnieder@gmail.com> 837Date: Thu Oct 15 20:44:13 2009 -0500 838 839 Escape dashes in xzmore.1 840 841 A minus sign is larger, easier to see in a printout, and more 842 likely to use the same glyph as ASCII hyphen-minus in a terminal 843 than a hyphen. Since broken manual pagers do not find hyphens 844 when the user searches for a hyphen-minus, minus signs are also 845 easier to search for. So use minus signs instead of hyphens to 846 render sample terminal output. 847 848commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee 849Author: Lasse Collin <lasse.collin@tukaani.org> 850Date: Fri Oct 16 20:35:39 2009 +0300 851 852 Mention --check=none in --long-help. It was already in 853 the man page though. 854 855 Thanks to Jim Meyering for noticing this. 856 857commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24 858Author: Lasse Collin <lasse.collin@tukaani.org> 859Date: Sun Oct 4 22:57:12 2009 +0300 860 861 Use a tuklib module for integer handling. 862 863 This replaces bswap.h and integer.h. 864 865 The tuklib module uses <byteswap.h> on GNU, 866 <sys/endian.h> on *BSDs and <sys/byteorder.h> 867 on Solaris, which may contain optimized code 868 like inline assembly. 869 870commit 29fd321033276261b87da7be5223db33d879a4c7 871Author: Lasse Collin <lasse.collin@tukaani.org> 872Date: Fri Oct 2 14:35:56 2009 +0300 873 874 Add support for --enable-assume-ram=SIZE. 875 876commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25 877Author: Lasse Collin <lasse.collin@tukaani.org> 878Date: Fri Oct 2 11:28:17 2009 +0300 879 880 Use unaligned access (if possible) on both endiannesses 881 in lz_encoder_hash.h. 882 883commit c5f68b5cc79085a87f950fea53843e27f328068e 884Author: Lasse Collin <lasse.collin@tukaani.org> 885Date: Fri Oct 2 11:03:26 2009 +0300 886 887 Make liblzma produce the same output on both endiannesses. 888 889 Seems that it is a problem in some cases if the same 890 version of XZ Utils produces different output on different 891 endiannesses, so this commit fixes that problem. The output 892 will still vary between different XZ Utils versions, but I 893 cannot avoid that for now. 894 895 This commit bloatens the code on big endian systems by 1 KiB, 896 which should be OK since liblzma is bloated already. ;-) 897 898commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a 899Author: Mike Frysinger <vapier@gentoo.org> 900Date: Sat Sep 26 12:51:50 2009 -0400 901 902 add lzmainfo to gitignore 903 904 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 905 906commit 188a1dcd0cc7867810ed3a55c598d0680922c63b 907Author: Lasse Collin <lasse.collin@tukaani.org> 908Date: Sun Sep 27 11:53:36 2009 +0300 909 910 Updated THANKS. 911 912commit db9119b9181b307e7ac5d2bae82444d04b902b59 913Author: Lasse Collin <lasse.collin@tukaani.org> 914Date: Sun Sep 27 11:48:54 2009 +0300 915 916 Work around a bug in Interix header files. 917 918 Thanks to Markus Duft for the patch. 919 920commit b3d105e69786a45963176fd2193abe75e05ba738 921Author: Lasse Collin <lasse.collin@tukaani.org> 922Date: Thu Sep 24 17:50:17 2009 +0300 923 924 Fix an error in OpenVMS-specific code. 925 926 Thanks to Jouk Jansen. 927 928commit 5e000ff00d4d01e559397b49eb648ad3f159d496 929Author: Lasse Collin <lasse.collin@tukaani.org> 930Date: Tue Sep 22 18:59:56 2009 +0300 931 932 Added OpenVMS-specific information to INSTALL. 933 934commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4 935Author: Lasse Collin <lasse.collin@tukaani.org> 936Date: Tue Sep 22 14:03:02 2009 +0300 937 938 Better fixes for OpenVMS support. 939 940 Thanks to Jouk Jansen. 941 942commit 4c3630ec4179fe9265407a35c4db1374ffc82372 943Author: Lasse Collin <lasse.collin@tukaani.org> 944Date: Tue Sep 22 13:40:19 2009 +0300 945 946 Avoid non-standard preprocessor construct. 947 948 Thanks to Jouk Jansen. 949 950commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9 951Author: Lasse Collin <lasse.collin@tukaani.org> 952Date: Mon Sep 21 19:50:09 2009 +0300 953 954 Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin. 955 956 Thanks to Charles Wilson. 957 958commit e599bba4216c0edb8cc8f40adad3a6dba88685f4 959Author: Lasse Collin <lasse.collin@tukaani.org> 960Date: Sat Sep 19 09:47:30 2009 +0300 961 962 Various changes. 963 964 Separate a few reusable components from XZ Utils specific 965 code. The reusable code is now in "tuklib" modules. A few 966 more could be separated still, e.g. bswap.h. 967 968 Fix some bugs in lzmainfo. 969 970 Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol 971 for help. 972 973 Add OpenVMS support into physmem. Add a few #ifdefs to ease 974 building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the 975 original patch. 976 977commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef 978Author: Lasse Collin <lasse.collin@tukaani.org> 979Date: Tue Sep 15 21:07:23 2009 +0300 980 981 Fix incorrect use of "restrict". 982 983commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c 984Author: Lasse Collin <lasse.collin@tukaani.org> 985Date: Sat Sep 12 14:09:17 2009 +0300 986 987 Fix GCC version check for nothrow attribute. 988 989commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224 990Author: Lasse Collin <lasse.collin@tukaani.org> 991Date: Sat Sep 12 14:08:15 2009 +0300 992 993 Updated THANKS. 994 995commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac 996Author: Lasse Collin <lasse.collin@tukaani.org> 997Date: Sat Sep 12 14:07:36 2009 +0300 998 999 A few grammar fixes. 1000 1001 Thanks to Christian Weisgerber for pointing out some of these. 1002 1003commit 8905a33daadcd2d6557c83c81c490b827d566c94 1004Author: Lasse Collin <lasse.collin@tukaani.org> 1005Date: Fri Sep 11 17:08:15 2009 +0300 1006 1007 Updated THANKS. 1008 1009commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9 1010Author: Lasse Collin <lasse.collin@tukaani.org> 1011Date: Fri Sep 11 17:06:32 2009 +0300 1012 1013 Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors. 1014 1015commit 221be761f467da76875247bc02d7a1716682075d 1016Author: Lasse Collin <lasse.collin@tukaani.org> 1017Date: Fri Sep 11 10:24:09 2009 +0300 1018 1019 Use $(LN_EXEEXT) in symlinks to executables. 1020 1021 This fixes "make install" on operating systems using 1022 a suffix for executables. 1023 1024 Cygwin is treated specially. The symlink names won't have 1025 .exe suffix even though the executables themselves have. 1026 Thanks to Charles Wilson. 1027 1028commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c 1029Author: Lasse Collin <lasse.collin@tukaani.org> 1030Date: Fri Sep 11 09:25:09 2009 +0300 1031 1032 Fix a couple of warnings. 1033 1034commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4 1035Author: Lasse Collin <lasse.collin@tukaani.org> 1036Date: Sat Sep 5 18:39:21 2009 +0300 1037 1038 Add OS/2-specific code to physmem.h. 1039 1040 Also move DJGPP-specific code near the code meant 1041 for other DOS-like systems. 1042 1043commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740 1044Author: Lasse Collin <lasse.collin@tukaani.org> 1045Date: Sat Sep 5 01:21:15 2009 +0300 1046 1047 Updated THANKS. 1048 1049commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071 1050Author: Lasse Collin <lasse.collin@tukaani.org> 1051Date: Sat Sep 5 01:20:29 2009 +0300 1052 1053 Use sysctl() != -1 instead of !sysctl() to check if 1054 the function call succeeded. 1055 1056 NetBSD 4.0 returns positive values on success, but 1057 NetBSD Current and FreeBSD return zero. OpenBSD's 1058 man page doesn't tell what sysctl() returns on 1059 success. All these BSDs return -1 on error. 1060 1061 Thanks to Robert Elz and Thomas Klausner. 1062 1063commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32 1064Author: Lasse Collin <lasse.collin@tukaani.org> 1065Date: Wed Sep 2 09:43:51 2009 +0300 1066 1067 Mention in INSTALL that --enable-small doesn't modify CFLAGS. 1068 1069commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc 1070Author: Lasse Collin <lasse.collin@tukaani.org> 1071Date: Tue Sep 1 20:40:01 2009 +0300 1072 1073 Refactored option parsing. 1074 1075commit 25adaaa56e2e51a47a910a8d73452414619a2e53 1076Author: Lasse Collin <lasse.collin@tukaani.org> 1077Date: Tue Sep 1 20:23:30 2009 +0300 1078 1079 Fix options parsing bug in xz. 1080 1081 xz used to reject "xz --lzma2=pb=2," while 1082 "xz --lzma2=pb=2,," worked. Now both work. 1083 1084commit 5f6dddc6c911df02ba660564e78e6de80947c947 1085Author: Lasse Collin <lasse.collin@tukaani.org> 1086Date: Tue Sep 1 20:20:19 2009 +0300 1087 1088 Updated TODO. 1089 1090commit 655457b9ada5ec7db398c5392e41290f3f332ea8 1091Author: Lasse Collin <lasse.collin@tukaani.org> 1092Date: Mon Aug 31 21:59:25 2009 +0300 1093 1094 Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 1095 and use a fix that works on all systems using 1096 GNU assembler. 1097 1098 Maybe the assembler code is used e.g. on Solaris x86 1099 but let's worry about it if this doesn't work on it. 1100 1101commit 162189c3477953805a28f96d3a75cb9ab9417928 1102Author: Lasse Collin <lasse.collin@tukaani.org> 1103Date: Sun Aug 30 17:29:19 2009 +0300 1104 1105 Updated THANKS. 1106 1107commit 2331f5f97af3e5897e23da45d9df3d664099c7f8 1108Author: Lasse Collin <lasse.collin@tukaani.org> 1109Date: Sun Aug 30 17:28:52 2009 +0300 1110 1111 Add more OS/2 specific info to INSTALL. 1112 1113commit 94c66b3297b3ad307eee93cf6b160e3c43997f11 1114Author: Lasse Collin <lasse.collin@tukaani.org> 1115Date: Sat Aug 29 14:43:52 2009 +0300 1116 1117 Use even more hackish way to support thousand separators. 1118 1119 Seems that in addition on Windows and DOS, also OpenBSD 1120 lacks support for %'d style printf() format strings. 1121 So far that is the only modern POSIX-like system I know 1122 with this problem, but after this hack, the thousand 1123 separator shouldn't be a problem on any system. 1124 1125 Maybe testing if a format string like %'d produces 1126 reasonable output is invoking undefined behavior on some 1127 systems, but so far all the problematic systems I've tried 1128 just print the raw format string (e.g. %'d prints 'd). 1129 1130 Maybe Autoconf test would have been better, but this 1131 hack works also for cross-compilation, and avoids 1132 recompilation in case the system libc starts to support 1133 the thousand separator. 1134 1135commit 3432e9c6aab851da1227b63dce645d7f190c04d8 1136Author: Lasse Collin <lasse.collin@tukaani.org> 1137Date: Sat Aug 29 13:42:56 2009 +0300 1138 1139 Updated THANKS. 1140 1141commit 27414daadf5727e8ab942374b5ec1c8990122878 1142Author: Lasse Collin <lasse.collin@tukaani.org> 1143Date: Sat Aug 29 13:39:21 2009 +0300 1144 1145 Fix sysctl() usage. 1146 1147 This fixes build on *BSDs and Darwin. 1148 1149 Thanks to Jukka Salmi for the patches. 1150 Richard Koch reported the problem too. 1151 1152commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 1153Author: Lasse Collin <lasse.collin@tukaani.org> 1154Date: Sat Aug 29 13:35:23 2009 +0300 1155 1156 Fix x86 assembler on GCC 3. 1157 1158 Thanks to Karl Berry. 1159 1160commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8 1161Author: Lasse Collin <lasse.collin@tukaani.org> 1162Date: Thu Aug 27 18:36:59 2009 +0300 1163 1164 "make dist" fixes 1165 1166commit c8c184db1c95bf70f78256ec6237845a57f342af 1167Author: Lasse Collin <lasse.collin@tukaani.org> 1168Date: Thu Aug 27 17:08:33 2009 +0300 1169 1170 Update xz man page date. 1171 1172commit 9756fce565e98b8fa5fe6ead296d84e7601ec254 1173Author: Lasse Collin <lasse.collin@tukaani.org> 1174Date: Thu Aug 27 17:00:22 2009 +0300 1175 1176 Fix the debug directory. 1177 1178 6a2eb54092fc625d59921a607ff68cd1a90aa898 and 1179 71f18e8a066a01dda0c8e5508b135ef104e43e4c required 1180 some changes that weren't applied in debug. 1181 1182commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea 1183Author: Lasse Collin <lasse.collin@tukaani.org> 1184Date: Thu Aug 27 16:36:40 2009 +0300 1185 1186 Add missing files to EXTRA_DIST. 1187 1188commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d 1189Author: Lasse Collin <lasse.collin@tukaani.org> 1190Date: Thu Aug 27 16:21:22 2009 +0300 1191 1192 Bumped version to 4.999.9beta. 1193 1194commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4 1195Author: Lasse Collin <lasse.collin@tukaani.org> 1196Date: Thu Aug 27 16:17:47 2009 +0300 1197 1198 Updated THANKS. 1199 1200commit c29e76c0f910fca0a90a50b78d337f6c32623e9d 1201Author: Lasse Collin <lasse.collin@tukaani.org> 1202Date: Thu Aug 27 16:12:52 2009 +0300 1203 1204 .xz file format specification 1.0.4 (probably). 1205 1206 Thanks to Christian von Roques, Peter Lawler, 1207 and Jim Meyering for the fixes. 1208 1209commit 696d7ee3953beaf4f0ed18e78917ccf300431966 1210Author: Lasse Collin <lasse.collin@tukaani.org> 1211Date: Thu Aug 27 15:43:54 2009 +0300 1212 1213 Require GNU libtool 2.2. 1214 1215commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d 1216Author: Lasse Collin <lasse.collin@tukaani.org> 1217Date: Thu Aug 27 15:34:45 2009 +0300 1218 1219 Add "dos" to EXTRA_DIST. 1220 1221commit 35b29e4424ced5a3ababf132283e519080c7b298 1222Author: Lasse Collin <lasse.collin@tukaani.org> 1223Date: Thu Aug 27 15:23:27 2009 +0300 1224 1225 Updated TODO. 1226 1227commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea 1228Author: Lasse Collin <lasse.collin@tukaani.org> 1229Date: Thu Aug 27 15:17:00 2009 +0300 1230 1231 Some xz man page improvements. 1232 1233commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d 1234Author: Lasse Collin <lasse.collin@tukaani.org> 1235Date: Thu Aug 27 10:41:01 2009 +0300 1236 1237 Removed doc/bugs.txt. 1238 1239commit d88c4072b36d3a76f839185799fb1d91037a1b81 1240Author: Lasse Collin <lasse.collin@tukaani.org> 1241Date: Thu Aug 27 10:40:25 2009 +0300 1242 1243 Updated README. 1244 1245 It now includes bug reporting instructions/tips. 1246 1247commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e 1248Author: Lasse Collin <lasse.collin@tukaani.org> 1249Date: Thu Aug 27 10:21:18 2009 +0300 1250 1251 Fix a typo in FAQ. 1252 1253 Thanks to Jim Meyering. 1254 1255 (From now on, I try to always remember to put 1256 the relevant thanks to commit messages.) 1257 1258commit 3e2ba8b58585743e59251e69ad2783eb08357079 1259Author: Lasse Collin <lasse.collin@tukaani.org> 1260Date: Thu Aug 27 10:13:46 2009 +0300 1261 1262 Updates to liblzma API headers. 1263 1264 Added lzma_nothrow for every function. It adds 1265 throw() when the header is used in C++ code. 1266 1267 Some lzma_attrs were added or removed. 1268 1269 Lots of comments were improved. 1270 1271commit 8e8ebc17c535a1f8846718059b48417409c37050 1272Author: Lasse Collin <lasse.collin@tukaani.org> 1273Date: Tue Aug 18 00:30:09 2009 +0300 1274 1275 Install faq.txt. 1276 1277commit b198e770a146e4a41f91a93f0b233713f2515848 1278Author: Lasse Collin <lasse.collin@tukaani.org> 1279Date: Tue Aug 18 00:26:48 2009 +0300 1280 1281 Updated faq.txt. 1282 1283 Some questions worth answering were removed, because I 1284 currently don't have good up to date answers to them. 1285 1286commit fe111a25cd788d31b581996e4533910388a7f0a9 1287Author: Lasse Collin <lasse.collin@tukaani.org> 1288Date: Mon Aug 17 22:45:50 2009 +0300 1289 1290 Some xz man changes. 1291 1292commit 10242a21e9abda0c5c6a03501703cc40b8a699a5 1293Author: Lasse Collin <lasse.collin@tukaani.org> 1294Date: Sun Aug 16 22:15:42 2009 +0300 1295 1296 Updated THANKS. 1297 1298commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d 1299Author: Lasse Collin <lasse.collin@tukaani.org> 1300Date: Sun Aug 16 22:15:13 2009 +0300 1301 1302 Fix data corruption in LZ/LZMA2 encoder. 1303 1304 Thanks to Jonathan Stott for the bug report. 1305 1306commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a 1307Author: Lasse Collin <lasse.collin@tukaani.org> 1308Date: Thu Aug 13 15:15:37 2009 +0300 1309 1310 Updated INSTALL and PACKAGERS to match the changes 1311 made in --enable-dynamic. 1312 1313commit 8238c4b2402f952c4e492e5b778aa272e57b6705 1314Author: Lasse Collin <lasse.collin@tukaani.org> 1315Date: Thu Aug 13 15:03:46 2009 +0300 1316 1317 Link lzmainfo against shared liblzma by default. 1318 1319commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c 1320Author: Lasse Collin <lasse.collin@tukaani.org> 1321Date: Thu Aug 13 15:00:21 2009 +0300 1322 1323 Make --enable-dynamic a tristate option. 1324 1325 Some programs will by default be linked against static 1326 liblzma and some against shared liblzma. --enable-dynamic 1327 now allows overriding the default to both directions 1328 (all dynamic or all static) even when building both 1329 shared and static liblzma. 1330 1331 This is quite messy compared to how simple thing it is supposed 1332 to be. The complexity is mostly due to Windows support. 1333 1334commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61 1335Author: Lasse Collin <lasse.collin@tukaani.org> 1336Date: Thu Aug 13 12:56:47 2009 +0300 1337 1338 Fix xz Makefile.am for the man page. 1339 1340 install-exec-hook -> install-data-hook 1341 1342commit e51b4e49e800bd84e6d589dca2964d3985e88139 1343Author: Lasse Collin <lasse.collin@tukaani.org> 1344Date: Thu Aug 13 12:55:45 2009 +0300 1345 1346 Add lzmainfo for backward compatibility with LZMA Utils. 1347 1348 lzmainfo now links against static liblzma. In contrast 1349 to other command line tools in XZ Utils, linking lzmainfo 1350 against static liblzma by default is dumb. This will be 1351 fixed once I have fixed some related issues in configure.ac. 1352 1353commit a4165d0584376d948c213ec93c6065d24ff6a5e7 1354Author: Lasse Collin <lasse.collin@tukaani.org> 1355Date: Thu Aug 13 12:42:36 2009 +0300 1356 1357 Sync some error messages from xz to xzdec. 1358 1359 Make xz error message translation usable outside 1360 xz (at least in upcoming lzmainfo). 1361 1362commit df636eb4e066b4e154ce8e66e82c87ba1db652a6 1363Author: Lasse Collin <lasse.collin@tukaani.org> 1364Date: Thu Aug 13 09:37:21 2009 +0300 1365 1366 Add xz man page to manfiles in toplevel Makefile.am. 1367 1368commit 180bdf58ea5bb07941e0a99b304d9aa832198748 1369Author: Lasse Collin <lasse.collin@tukaani.org> 1370Date: Thu Aug 13 09:37:01 2009 +0300 1371 1372 Fix first line of xz man page. 1373 1374commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4 1375Author: Lasse Collin <lasse.collin@tukaani.org> 1376Date: Mon Aug 10 11:22:31 2009 +0300 1377 1378 Added a rough version of the xz man page. 1379 1380commit e71903fc6101f1c039d702e335b08aad1e1b4100 1381Author: Jonathan Nieder <jrnieder@gmail.com> 1382Date: Sun Aug 9 13:41:20 2009 -0500 1383 1384 “xzdiff a.xz b.xz” always fails 1385 1386 Attempts to compare two compressed files result in no output and 1387 exit status 2. 1388 1389 Instead of going to standard output, ‘diff’ output is being 1390 captured in the xz_status variable along with the exit status from 1391 the decompression commands. Later, when this variable is examined 1392 for nonzero status codes, numerals from dates in the ‘diff’ output 1393 make it appear as though decompression failed. 1394 1395 So let the ‘diff’ output leak to standard output with another file 1396 descriptor. (This trick is used in all similar contexts elsewhere 1397 in xzdiff and in the analogous context in gzip’s zdiff script.) 1398 1399commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c 1400Author: Jonathan Nieder <jrnieder@gmail.com> 1401Date: Sun Aug 9 13:22:12 2009 -0500 1402 1403 xzless: Support compressed standard input 1404 1405 It can be somewhat confusing that 1406 1407 less < some_file.txt 1408 1409 works fine, whereas 1410 1411 xzless < some_file.txt.xz 1412 1413 does not. Since version 429, ‘less’ allows a filter specified in 1414 the LESSOPEN environment variable to preprocess its input even if 1415 it comes from standard input, if $LESSOPEN begins with ‘|-’. So 1416 set $LESSOPEN to take advantage of this feature. 1417 1418 Check less’s version at runtime so xzless can continue to work 1419 with older versions. 1420 1421commit a7f5d2fe4826ac68839d00059f05004fb81d5c69 1422Author: Lasse Collin <lasse.collin@tukaani.org> 1423Date: Sun Aug 9 20:57:46 2009 +0300 1424 1425 GPLv2+ not GPLv2 for Doxyfile.in is probably OK. 1426 1427commit b735cde20cc14857136ae65a0e5d336ed7ddc862 1428Author: Lasse Collin <lasse.collin@tukaani.org> 1429Date: Sun Aug 2 00:27:29 2009 +0300 1430 1431 Added a copyright notice to Doxyfile.in since it contains 1432 lots of comments from Doxygen. 1433 1434 It seems that the Doxygen authors' intent is to not apply 1435 their copyright on generated files, but since it doesn't 1436 matter for XZ Utils at all, better safe than sorry. 1437 1438commit 0fd157cc008446adfc8f91394f5503868025a642 1439Author: Lasse Collin <lasse.collin@tukaani.org> 1440Date: Sun Aug 2 00:11:37 2009 +0300 1441 1442 Updated THANKS. 1443 1444commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f 1445Author: Lasse Collin <lasse.collin@tukaani.org> 1446Date: Sun Aug 2 00:10:22 2009 +0300 1447 1448 Updated TODO. 1449 1450commit 669413bb2db954bbfde3c4542fddbbab53891eb4 1451Author: Lasse Collin <lasse.collin@tukaani.org> 1452Date: Thu Jul 30 12:25:55 2009 +0300 1453 1454 Updated THANKS. 1455 1456commit dbbd8fb870ae789d96497911006c869d37148c15 1457Author: Jonathan Nieder <jrnieder@gmail.com> 1458Date: Tue Jul 28 17:37:24 2009 -0500 1459 1460 xzdiff: add missing ;; to case statement 1461 1462commit adbad2d16cb5909f85d4a429011005613ea62ffe 1463Author: Lasse Collin <lasse.collin@tukaani.org> 1464Date: Fri Jul 24 13:15:06 2009 +0300 1465 1466 Added history.txt to doc_DATA. 1467 1468commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27 1469Author: Lasse Collin <lasse.collin@tukaani.org> 1470Date: Fri Jul 24 12:00:40 2009 +0300 1471 1472 Updated .gitignore files. 1473 1474commit 2f34fb269265e3aba43a2a9c734020a45268826d 1475Author: Lasse Collin <lasse.collin@tukaani.org> 1476Date: Fri Jul 24 11:34:02 2009 +0300 1477 1478 Minor improvements to COPYING. 1479 1480commit 0db1befcfbc120377df4b89923762f16d25f548a 1481Author: Lasse Collin <lasse.collin@tukaani.org> 1482Date: Thu Jul 23 19:10:55 2009 +0300 1483 1484 Fix incorrect usage of getopt_long(), which caused 1485 invalid memory access if XZ_OPT was defined. 1486 1487commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48 1488Author: Lasse Collin <lasse.collin@tukaani.org> 1489Date: Mon Jul 20 15:43:32 2009 +0300 1490 1491 Avoid internal error with --format=xz --lzma1. 1492 1493commit 99f9e879a6a8bb54a65da99c12e0f390216c152a 1494Author: Lasse Collin <lasse.collin@tukaani.org> 1495Date: Sun Jul 19 13:14:20 2009 +0300 1496 1497 Major documentation update. 1498 1499 Installation and packaging instructions were added. 1500 README and other generic docs were revised. 1501 1502 Some of the documentation files are now installed to $docdir. 1503 1504commit ef4cf1851de89022cba5674784f1a8f6343c15b0 1505Author: Lasse Collin <lasse.collin@tukaani.org> 1506Date: Sun Jul 19 11:09:31 2009 +0300 1507 1508 Added missing author notice to xzless.in. 1509 1510commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77 1511Author: Lasse Collin <lasse.collin@tukaani.org> 1512Date: Sat Jul 18 18:54:55 2009 +0300 1513 1514 Use AC_CONFIG_AUX_DIR to clean up the toplevel directory 1515 a little. 1516 1517 Fixed a related bug in the toplevel Makefile.am. 1518 1519 Added the build-aux directory to .gitignore. 1520 1521commit 366e436090a7a87215e9bf0e3ddcd55f05b50587 1522Author: Lasse Collin <lasse.collin@tukaani.org> 1523Date: Sat Jul 18 14:34:08 2009 +0300 1524 1525 Updated the totally outdated TODO file. 1526 1527commit 64e498c89d8b9966e8663f43bf64d47c26c55c62 1528Author: Lasse Collin <lasse.collin@tukaani.org> 1529Date: Sat Jul 18 11:26:39 2009 +0300 1530 1531 Added public domain notice into a few files. 1532 1533commit a35755c5de808df027675688855d1b621a4fb428 1534Author: Lasse Collin <lasse.collin@tukaani.org> 1535Date: Tue Jul 14 21:10:36 2009 +0300 1536 1537 Allow extra commas in filter-specific options on xz command line. 1538 1539 This may slightly ease writing scripts that construct 1540 filter-specific option strings dynamically. 1541 1542commit 98f3cac1ad31191c5160a7e48398bf85141e941c 1543Author: Lasse Collin <lasse.collin@tukaani.org> 1544Date: Tue Jul 14 18:04:31 2009 +0300 1545 1546 Accept --lzma2=preset=6e where "e" is equivalent to --extreme 1547 when no custom chain is in use. 1548 1549commit d873a09e956363e54bf58c577c8f7e487b6fb464 1550Author: Lasse Collin <lasse.collin@tukaani.org> 1551Date: Sun Jul 12 19:08:30 2009 +0300 1552 1553 Add dist-hook to create ChangeLog from the commit log, 1554 and to conver the man pages to PDF and plain text, which 1555 may be convenient to those who cannot render man pages. 1556 1557commit cd69a5a6c16c289f6f8e2823b03c72289472270f 1558Author: Lasse Collin <lasse.collin@tukaani.org> 1559Date: Fri Jul 10 11:39:38 2009 +0300 1560 1561 BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR. 1562 1563 This is a quick and slightly dirty fix to make the code 1564 conform to the latest file format specification. Without 1565 this patch, it's possible to make corrupt files by 1566 specifying start offset that is not a multiple of the 1567 filter's alignment. Custom start offset is almost never 1568 used, so this was only a minor bug. 1569 1570 The xz command line tool doesn't validate the start offset, 1571 so one will get a bit unclear error message if trying to use 1572 an invalid start offset. 1573 1574commit eed9953732b801f6c97317fb3160445a8754180b 1575Author: Lasse Collin <lasse.collin@tukaani.org> 1576Date: Fri Jul 10 11:33:21 2009 +0300 1577 1578 Look for full command names instead of substrings 1579 like "un", "cat", and "lz" when determining if 1580 xz is run as unxz, xzcat, lzma, unlzma, or lzcat. 1581 1582 This is to ensure that if xz is renamed (e.g. via 1583 --program-transform-name), it doesn't so easily 1584 work in wrong mode. 1585 1586commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658 1587Author: Lasse Collin <lasse.collin@tukaani.org> 1588Date: Wed Jul 8 23:06:46 2009 +0300 1589 1590 Updated THANKS. 1591 1592commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e 1593Author: Lasse Collin <lasse.collin@tukaani.org> 1594Date: Wed Jul 8 23:05:29 2009 +0300 1595 1596 Portability improvement to version.sh. 1597 1598commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f 1599Author: Lasse Collin <lasse.collin@tukaani.org> 1600Date: Wed Jul 8 22:50:16 2009 +0300 1601 1602 Remove --force from xzdec. 1603 1604 It was ignored for compatibility with xz, but now that 1605 --decompress --stdout --force copies unrecognized files 1606 as is to stdout, simply ignoring --force in xzdec would 1607 be wrong. xzdec will not support copying unrecognized 1608 data as is to stdout, so it cannot support --force. 1609 1610commit 5f16ef4abf220028a9ddbcb138217597a9455f62 1611Author: Lasse Collin <lasse.collin@tukaani.org> 1612Date: Mon Jul 6 10:36:04 2009 +0300 1613 1614 Use sed instead of $(SED) so that we don't need to 1615 use AC_PROG_SED. We don't do anything fancy with sed, 1616 so this should work OK. libtool 2.2 sets SED but 1.5 1617 doesn't, so $(SED) happened to work when using libtool 2.2. 1618 1619commit 96e4b257e101d72072d43e144897d92920270669 1620Author: Lasse Collin <lasse.collin@tukaani.org> 1621Date: Sun Jul 5 22:25:17 2009 +0300 1622 1623 Major update to the xzgrep and other scripts based on 1624 the latest versions found from gzip CVS repository. 1625 1626 configure will try to find a POSIX shell to be used by 1627 the scripts. This should ease portability on systems 1628 which have pre-POSIX /bin/sh. 1629 1630 xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files. 1631 xzmore and xzless support only .xz and .lzma files. 1632 1633 The name of the xz executable used in these scripts is 1634 now correct even if --program-transform-name has been used. 1635 1636commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100 1637Author: Lasse Collin <lasse.collin@tukaani.org> 1638Date: Sun Jul 5 19:26:53 2009 +0300 1639 1640 Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in. 1641 1642commit 18c10c30d2833f394cd7bce0e6a821044b15832f 1643Author: Lasse Collin <lasse.collin@tukaani.org> 1644Date: Sat Jul 4 00:40:44 2009 +0300 1645 1646 Make "xz --decompress --stdout --force" copy unrecognized 1647 files as is to standard output. 1648 1649 This feature is needed to be more compatible with gzip's 1650 behavior. This was more complicated to implement than it 1651 sounds, because the way liblzma is able to return errors with 1652 files of only a few bytes in size. xz now has its own file 1653 type detection code and no longer uses lzma_auto_decoder(). 1654 1655commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633 1656Author: Lasse Collin <lasse.collin@tukaani.org> 1657Date: Thu Jul 2 14:30:38 2009 +0300 1658 1659 Define PACKAGE_HOMEPAGE in configure.ac and use it in 1660 xz and xzdec. 1661 1662 Use also PACKAGE_NAME instead of hardcoding "XZ Utils". 1663 1664commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c 1665Author: Lasse Collin <lasse.collin@tukaani.org> 1666Date: Wed Jul 1 12:21:24 2009 +0300 1667 1668 Avoid visibility related compiler warnings on Windows. 1669 1670commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e 1671Author: Lasse Collin <lasse.collin@tukaani.org> 1672Date: Tue Jun 30 17:14:39 2009 +0300 1673 1674 Use static liblzma by default also for tests. 1675 1676commit f42ee981668b545ab6d06c6072e262c29605273c 1677Author: Lasse Collin <lasse.collin@tukaani.org> 1678Date: Tue Jun 30 17:09:57 2009 +0300 1679 1680 Build system fixes 1681 1682 Don't use libtool convenience libraries to avoid recently 1683 discovered long-standing subtle but somewhat severe bugs 1684 in libtool (at least 1.5.22 and 2.2.6 are affected). It 1685 was found when porting XZ Utils to Windows 1686 <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html> 1687 but the problem is significant also e.g. on GNU/Linux. 1688 1689 Unless --disable-shared is passed to configure, static 1690 library built from a set of convenience libraries will 1691 contain PIC objects. That is, while libtool builds non-PIC 1692 objects too, only PIC objects will be used from the 1693 convenience libraries. On 32-bit x86 (tested on mobile XP2400+), 1694 using PIC instead of non-PIC makes the decompressor 10 % slower 1695 with the default CFLAGS. 1696 1697 So while xz was linked against static liblzma by default, 1698 it got the slower PIC objects unless --disable-shared was 1699 used. I tend develop and benchmark with --disable-shared 1700 due to faster build time, so I hadn't noticed the problem 1701 in benchmarks earlier. 1702 1703 This commit also adds support for building Windows resources 1704 into liblzma and executables. 1705 1706commit 89dac1db6f168d7469cfbc4432651d4724c5c0de 1707Author: Lasse Collin <lasse.collin@tukaani.org> 1708Date: Mon Jun 29 22:19:51 2009 +0300 1709 1710 Added a comment about "autoconf -fi" to autogen.sh. 1711 1712commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd 1713Author: Lasse Collin <lasse.collin@tukaani.org> 1714Date: Sun Jun 28 10:04:24 2009 +0300 1715 1716 Add -no-undefined to get shared liblzma on Windows. 1717 1718commit 73f560ee5fa064992b76688d9472baf139432540 1719Author: Lasse Collin <lasse.collin@tukaani.org> 1720Date: Sat Jun 27 22:57:15 2009 +0300 1721 1722 Make physmem() work on Cygwin 1.5 and older. 1723 1724commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1 1725Author: Lasse Collin <lasse.collin@tukaani.org> 1726Date: Sat Jun 27 17:28:01 2009 +0300 1727 1728 Moved the Windows resource files outside the windows directory 1729 to prepare for building them with Autotools. 1730 1731commit 449c634674f35336a4815d398172e447659a135e 1732Author: Lasse Collin <lasse.collin@tukaani.org> 1733Date: Sat Jun 27 13:05:03 2009 +0300 1734 1735 Added missing $(EXEEXT). 1736 1737commit 792db79f27ad9ab1fb977e23be65c7761f545752 1738Author: Lasse Collin <lasse.collin@tukaani.org> 1739Date: Sat Jun 27 12:32:40 2009 +0300 1740 1741 Create correct symlinks even when 1742 --program-{prefix,suffix,transform} is passed to configure. 1743 1744commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b 1745Author: Lasse Collin <lasse.collin@tukaani.org> 1746Date: Sat Jun 27 10:02:24 2009 +0300 1747 1748 Silence a compiler warning on DOS-like systems. 1749 1750commit ad12edc95254ede3f0cb8dec8645e8789e984c4f 1751Author: Lasse Collin <lasse.collin@tukaani.org> 1752Date: Sat Jun 27 09:35:15 2009 +0300 1753 1754 Updated the filenames in POTFILES.in too. 1755 1756commit b2b1f867532732fe9969131f8713bdd6b0731763 1757Author: Lasse Collin <lasse.collin@tukaani.org> 1758Date: Sat Jun 27 00:43:06 2009 +0300 1759 1760 Hopefully improved portability of the assembler code in 1761 Autotools based builds on Windows. 1762 1763commit c393055947247627a09b6a6b8f20aa0c32f9be16 1764Author: Lasse Collin <lasse.collin@tukaani.org> 1765Date: Fri Jun 26 21:17:29 2009 +0300 1766 1767 Updated THANKS (most of today's commits are based on 1768 Charles Wilson's patches). 1769 1770commit da0af22e4b4139b8a10710945f8b245b3a77c97d 1771Author: Lasse Collin <lasse.collin@tukaani.org> 1772Date: Fri Jun 26 21:00:35 2009 +0300 1773 1774 Updated comments to match renamed files. 1775 1776commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2 1777Author: Lasse Collin <lasse.collin@tukaani.org> 1778Date: Fri Jun 26 20:49:54 2009 +0300 1779 1780 Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc] 1781 to avoid problems on systems with system headers with those 1782 names. 1783 1784commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8 1785Author: Lasse Collin <lasse.collin@tukaani.org> 1786Date: Fri Jun 26 20:43:36 2009 +0300 1787 1788 Rename process_file() to coder_run(). 1789 1790commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc 1791Author: Lasse Collin <lasse.collin@tukaani.org> 1792Date: Fri Jun 26 20:36:45 2009 +0300 1793 1794 Ugly hack to make it possible to use the thousand separator 1795 format character with snprintf() on POSIX systems but not 1796 on non-POSIX systems and still keep xgettext working. 1797 1798commit fe378d47074b16c52b00fe184d119287c68ce2e7 1799Author: Lasse Collin <lasse.collin@tukaani.org> 1800Date: Fri Jun 26 15:40:40 2009 +0300 1801 1802 Added missing source files to windows/Makefile. 1803 1804commit 390a6408563067613b29de895cb40e4d0386d62c 1805Author: Lasse Collin <lasse.collin@tukaani.org> 1806Date: Fri Jun 26 15:37:53 2009 +0300 1807 1808 Basic support for building with Cygwin and MinGW using 1809 the Autotools based build system. It's not good yet, more 1810 fixes will follow. 1811 1812commit 1c9360b7d1197457aaad2f8888b99f1149861579 1813Author: Lasse Collin <lasse.collin@tukaani.org> 1814Date: Fri Jun 26 14:47:31 2009 +0300 1815 1816 Fix @variables@ to $(variables) in Makefile.am files. 1817 Fix the ordering of libgnu.a and LTLIBINTL on the linker 1818 command line and added missing LTLIBINTL to tests/Makefile.am. 1819 1820commit d45615c555e250209ebb55aa3649abe790f1eeac 1821Author: Lasse Collin <lasse.collin@tukaani.org> 1822Date: Fri Jun 26 14:20:02 2009 +0300 1823 1824 Allow to explicitly specify autotool versions in autogen.sh. 1825 1826commit eaf8367368a329afa48785380f9dca6b681f3397 1827Author: Lasse Collin <lasse.collin@tukaani.org> 1828Date: Fri Jun 26 14:18:32 2009 +0300 1829 1830 Add version.sh to EXTRA_DIST. 1831 1832commit b317b218e2d383dd27a700094c0de4510540ea18 1833Author: Lasse Collin <lasse.collin@tukaani.org> 1834Date: Wed Jun 24 20:14:10 2009 +0300 1835 1836 Support HW_PHYSMEM64 1837 1838commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7 1839Author: Lasse Collin <lasse.collin@tukaani.org> 1840Date: Wed Jun 24 13:01:59 2009 +0300 1841 1842 Cast a char argument to isspace() to unsigned char. 1843 1844commit 1735d31ea347210e914df038eeea4b2626e76e42 1845Author: Lasse Collin <lasse.collin@tukaani.org> 1846Date: Fri Jun 5 13:46:26 2009 +0300 1847 1848 A few more spelling fixes. Released the .xz spec 1.0.3. 1849 1850commit 8ed156ce894966103e895aa08f2a9fb912f6fad5 1851Author: Lasse Collin <lasse.collin@tukaani.org> 1852Date: Thu Jun 4 23:42:12 2009 +0300 1853 1854 Added xzdec man page. 1855 1856commit f6df39afaa84f71439507178a49b2a5dda6e824c 1857Author: Lasse Collin <lasse.collin@tukaani.org> 1858Date: Thu Jun 4 23:26:47 2009 +0300 1859 1860 Harmonized xzdec --memory with xz --memory and made 1861 minor cleanups. 1862 1863commit 1774f27c61ce294a56712ca2f4785f90a62441bc 1864Author: Lasse Collin <lasse.collin@tukaani.org> 1865Date: Thu Jun 4 22:59:55 2009 +0300 1866 1867 Fix purporse -> purpose. Thanks to Andrew Dudman. 1868 Released .xz spec 1.0.2 due to this fix too. 1869 1870commit cb613455642f48fb51059e22018615f64c59b70f 1871Author: Lasse Collin <lasse.collin@tukaani.org> 1872Date: Mon Jun 1 14:53:57 2009 +0300 1873 1874 The .xz file format version 1.0.1 1875 1876commit 083c23c680ff844846d177cfc58bb7a874e7e6b9 1877Author: Lasse Collin <lasse.collin@tukaani.org> 1878Date: Tue May 26 14:48:48 2009 +0300 1879 1880 Make the raw value of the Check field available to applications 1881 via lzma_block structure. 1882 1883 This changes ABI but not doesn't break API. 1884 1885commit b4f5c814090dc07d4350453576305e41eb9c998d 1886Author: Lasse Collin <lasse.collin@tukaani.org> 1887Date: Sat May 23 16:57:21 2009 +0300 1888 1889 Remove undocumented alternative option names --bcj, --ppc, 1890 and --itanium. 1891 1892commit b1edee2cdc7ef4411b1a21c07094ec763f071281 1893Author: Lasse Collin <lasse.collin@tukaani.org> 1894Date: Sat May 23 15:12:23 2009 +0300 1895 1896 Add support for specifying the BCJ filter start offset 1897 in the xz command line tool. 1898 1899commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb 1900Author: Lasse Collin <lasse.collin@tukaani.org> 1901Date: Sat May 23 14:51:09 2009 +0300 1902 1903 Updated THANKS. 1904 1905commit dcedb6998cefeca6597dd1219328a3abf5acf66d 1906Author: Lasse Collin <lasse.collin@tukaani.org> 1907Date: Fri May 22 16:40:50 2009 +0300 1908 1909 Added support for --quiet and --no-warn to xzdec. 1910 Cleaned up the --help message a little. 1911 1912commit 5f735dae80aa629853f4831d7b84ec1c614979eb 1913Author: Lasse Collin <lasse.collin@tukaani.org> 1914Date: Fri May 22 15:11:52 2009 +0300 1915 1916 Use the 40 % of RAM memory usage limit in xzdec too. 1917 1918 Update the memory usage info text in --help to match 1919 the text in xz --long-help. 1920 1921commit b60376249e0c586910c4121fab4f791820cc1289 1922Author: Lasse Collin <lasse.collin@tukaani.org> 1923Date: Fri May 22 14:43:00 2009 +0300 1924 1925 Add --no-warn. 1926 1927commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008 1928Author: Lasse Collin <lasse.collin@tukaani.org> 1929Date: Fri May 22 14:27:40 2009 +0300 1930 1931 Fix a comment. 1932 1933commit 4dd21d23f22569285ae706b58b0e5904b8db1839 1934Author: Lasse Collin <lasse.collin@tukaani.org> 1935Date: Fri May 22 14:21:20 2009 +0300 1936 1937 Remove the --info option, which was an alias for --list. 1938 1939commit 8836139b63ce774bdd62abf17ab69b290e08229e 1940Author: Lasse Collin <lasse.collin@tukaani.org> 1941Date: Fri May 22 12:27:43 2009 +0300 1942 1943 If xz is run as lzma, unlzma, or lzcat, simply imply 1944 --format=lzma. This means that xz emulating lzma 1945 doesn't decompress .xz files, while before this 1946 commit it did. The new way is slightly simpler in 1947 code and especially in upcoming documentation. 1948 1949commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d 1950Author: Lasse Collin <lasse.collin@tukaani.org> 1951Date: Fri May 22 11:29:50 2009 +0300 1952 1953 Make the default memory usage limit 40 % of RAM for both 1954 compressing and decompressing. This should be OK now that 1955 xz automatically scales down the compression settings if 1956 they would exceed the memory usage limit (earlier, the limit 1957 for compression was increased to 90 % because low limit broke 1958 scripts that used "xz -9" on systems with low RAM). 1959 1960 Support spcifying the memory usage limit as a percentage 1961 of RAM (e.g. --memory=50%). 1962 1963 Support --threads=0 to reset the thread limit to the default 1964 value (number of available CPU cores). Use UINT32_MAX instead 1965 of SIZE_MAX as the maximum in args.c. hardware.c was already 1966 expecting uint32_t value. 1967 1968 Cleaned up the output of --help and --long-help. 1969 1970commit 071b825b23911a69dd1cd2f8cda004ef8a781fae 1971Author: Lasse Collin <lasse.collin@tukaani.org> 1972Date: Thu May 21 17:22:01 2009 +0300 1973 1974 Support special value "max" where xz and xzdec accept an integer. 1975 Don't round the memory usage limit in xzdec --help to avoid 1976 an integer overflow and to not give wrong impression that 1977 the limit is high enough when it may not actually be. 1978 1979commit 03ca67fd37dd43fa7f590de340899cd497c10802 1980Author: ABCD <en.abcd@gmail.com> 1981Date: Wed May 20 17:31:18 2009 -0400 1982 1983 Install lzdiff, lzgrep, and lzmore as symlinks 1984 1985 This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install. 1986 It also installs symlinks for the manual pages and removes the new 1987 symlinks on uninstall. 1988 1989commit a6f43e64128a6da5cd641de1e1e527433b3e5638 1990Author: Lasse Collin <lasse.collin@tukaani.org> 1991Date: Sat May 2 16:10:14 2009 +0300 1992 1993 Use a GCC-specific #pragma instead of GCC-specific 1994 -Wno-uninitialized to silence a bogus warning. 1995 1996commit f6ce63ebdb45a857c8949960c83c9580ae888951 1997Author: Lasse Collin <lasse.collin@tukaani.org> 1998Date: Sat May 2 14:46:50 2009 +0300 1999 2000 Removed --disable-encoder and --disable-decoder. Use the values 2001 given to --enable-encoders and --enable-decoders to determine 2002 if any encoder or decoder support is wanted. 2003 2004commit be06858d5cf8ba46557395035d821dc332f3f830 2005Author: Lasse Collin <lasse.collin@tukaani.org> 2006Date: Fri May 1 11:28:52 2009 +0300 2007 2008 Remove docs that are too outdated to be updated 2009 (rewrite will be better). 2010 2011commit 0255401e57c96af87c6b159eca28974e79430a82 2012Author: Lasse Collin <lasse.collin@tukaani.org> 2013Date: Fri May 1 11:21:46 2009 +0300 2014 2015 Added documentation about the legacy .lzma file format. 2016 2017commit 1496ff437c46f38303e0e94c511ca604b3a11f85 2018Author: Lasse Collin <lasse.collin@tukaani.org> 2019Date: Fri May 1 11:20:23 2009 +0300 2020 2021 Renamed the file format specification to xz-file-format.txt 2022 which is the filename used on the WWW. 2023 2024commit 21c6b94373d239d7e86bd480fcd558e30391712f 2025Author: Lasse Collin <lasse.collin@tukaani.org> 2026Date: Tue Apr 28 23:08:32 2009 +0300 2027 2028 Fixed a crash in liblzma. 2029 2030 liblzma tries to avoid useless free()/malloc() pairs in 2031 initialization when multiple files are handled using the 2032 same lzma_stream. This didn't work with filter chains 2033 due to comparison of wrong pointers in lzma_next_coder_init(), 2034 making liblzma think that no memory reallocation is needed 2035 even when it actually is. 2036 2037 Easy way to trigger this bug is to decompress two files with 2038 a single xz command. The first file should have e.g. x86+LZMA2 2039 as the filter chain, and the second file just LZMA2. 2040 2041commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c 2042Author: Lasse Collin <lasse.collin@tukaani.org> 2043Date: Wed Apr 15 14:13:38 2009 +0300 2044 2045 Fix uint32_t -> size_t in ARM and ARM-Thumb filters. 2046 2047 On 64-bit system it would have gone into infinite 2048 loop if a single input buffer was over 4 GiB (unlikely). 2049 2050commit 31decdce041581e57c0d8a407d4795b114ef27ca 2051Author: Lasse Collin <lasse.collin@tukaani.org> 2052Date: Tue Apr 14 11:48:46 2009 +0300 2053 2054 Minor fixes to test files' README. 2055 2056commit 4787d654434891c7df5b43959b0d2873718f06e0 2057Author: Lasse Collin <lasse.collin@tukaani.org> 2058Date: Mon Apr 13 16:36:41 2009 +0300 2059 2060 Updated history.txt. 2061 2062commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9 2063Author: Lasse Collin <lasse.collin@tukaani.org> 2064Date: Mon Apr 13 14:49:48 2009 +0300 2065 2066 Quick & dirty update to support xz in diff/grep/more scripts. 2067 2068commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc 2069Author: Lasse Collin <lasse.collin@tukaani.org> 2070Date: Mon Apr 13 11:27:40 2009 +0300 2071 2072 Put the interesting parts of XZ Utils into the public domain. 2073 Some minor documentation cleanups were made at the same time. 2074 2075commit e79c42d854657ae7f75613bd80c1a35ff7c525cb 2076Author: Lasse Collin <lasse.collin@tukaani.org> 2077Date: Fri Apr 10 11:17:02 2009 +0300 2078 2079 Fix off-by-one in LZ decoder. 2080 2081 Fortunately, this bug had no security risk other than accepting 2082 some corrupt files as valid. 2083 2084commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af 2085Author: Pavel Roskin <proski@gnu.org> 2086Date: Tue Mar 31 12:15:01 2009 -0400 2087 2088 Fix minor typos in README 2089 2090commit 9bab5336ebd765ec4e12252f416eefdf04eba750 2091Author: Lasse Collin <lasse.collin@tukaani.org> 2092Date: Tue Mar 31 21:52:51 2009 +0300 2093 2094 Add a note and work-around instructions to README about 2095 problems detecting a C99 compiler when some standard 2096 headers are missing. 2097 2098commit a0497ff7a06f9350349264fe9b52dfefc6d53ead 2099Author: Lasse Collin <lasse.collin@tukaani.org> 2100Date: Wed Mar 18 16:54:38 2009 +0200 2101 2102 Updated THANKS. 2103 2104commit 390e69887fc5e0a108eb41203bed9acd100a3d76 2105Author: Lasse Collin <lasse.collin@tukaani.org> 2106Date: Wed Mar 18 16:51:41 2009 +0200 2107 2108 Fix wrong macro names in lc_cpucores.m4 and cpucores.h. 2109 Thanks to Bert Wesarg. 2110 2111commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6 2112Author: Lasse Collin <lasse.collin@tukaani.org> 2113Date: Sun Mar 1 09:03:08 2009 +0200 2114 2115 Test for Linux-specific sysinfo() only on Linux systems. 2116 Some other systems have sysinfo() with different semantics. 2117 2118commit cf751edfde3ad6e088dc18e0522d31ae38405933 2119Author: Lasse Collin <lasse.collin@tukaani.org> 2120Date: Sun Mar 1 09:00:06 2009 +0200 2121 2122 Added AC_CONFIG_MACRO_DIR to configure.ac. 2123 2124commit 63df14c57dee7c461717784287056688482a7eb9 2125Author: Lasse Collin <lasse.collin@tukaani.org> 2126Date: Sun Mar 1 08:58:41 2009 +0200 2127 2128 Fix the Autoconf test for getopt_long replacement. 2129 It was broken by e114502b2bc371e4a45449832cb69be036360722. 2130 2131commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f 2132Author: Lasse Collin <lasse.collin@tukaani.org> 2133Date: Sun Feb 22 19:07:54 2009 +0200 2134 2135 Add a rough explanation of --extreme to output of --help. 2136 2137commit 68bf7ac2984d3627369a240ef0491934d53f7899 2138Author: Lasse Collin <lasse.collin@tukaani.org> 2139Date: Sun Feb 22 18:52:49 2009 +0200 2140 2141 Fixes to progress message handling in xz: 2142 2143 - Don't use Windows-specific code on Windows. The old code 2144 required at least Windows 2000. Now it should work on 2145 Windows 98 and later, and maybe on Windows 95 too. 2146 2147 - Use less precision when showing estimated remaining time. 2148 2149 - Fix some small design issues. 2150 2151commit 47c2e21f82242f50f18713a27d644c2c94ab3fea 2152Author: Lasse Collin <lasse.collin@tukaani.org> 2153Date: Wed Feb 18 13:00:10 2009 +0200 2154 2155 Added files missing from the previous commit. 2156 2157commit 489a3dbaa0465f04400804e956a1cfbbee3654a2 2158Author: Lasse Collin <lasse.collin@tukaani.org> 2159Date: Tue Feb 17 10:43:00 2009 +0200 2160 2161 Added lzma_easy_buffer_encode(). Splitted easy.c into small 2162 pieces to avoid unneeded dependencies making statically 2163 linked applications bigger than needed. 2164 2165commit 7494816ab08d82f4d6409788825930c4e43cfd0d 2166Author: Lasse Collin <lasse.collin@tukaani.org> 2167Date: Sun Feb 15 15:48:45 2009 +0200 2168 2169 Make physmem.h work on old Windows versions. 2170 Thanks to Hongbo Ni for the original patch. 2171 2172commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0 2173Author: Lasse Collin <lasse.collin@tukaani.org> 2174Date: Sat Feb 14 20:44:52 2009 +0200 2175 2176 Fix microsecond vs. nanosecond confusion in my_time(). 2177 2178commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7 2179Author: Lasse Collin <lasse.collin@tukaani.org> 2180Date: Sat Feb 14 00:45:29 2009 +0200 2181 2182 Cleanups to the code that detects the amount of RAM and 2183 the number of CPU cores. Added support for using sysinfo() 2184 on Linux systems whose libc lacks appropriate sysconf() 2185 support (at least dietlibc). The Autoconf macros were 2186 split into separate files, and CPU core count detection 2187 was moved from hardware.c to cpucores.h. The core count 2188 isn't used for anything real for now, so a problematic 2189 part in process.c was commented out. 2190 2191commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8 2192Author: Lasse Collin <lasse.collin@tukaani.org> 2193Date: Fri Feb 13 18:23:50 2009 +0200 2194 2195 Initial port to DOS using DJGPP. 2196 2197commit 0dae8b7751d09e9c5a482d5519daaee4800ce203 2198Author: Lasse Collin <lasse.collin@tukaani.org> 2199Date: Fri Feb 13 18:02:05 2009 +0200 2200 2201 Windows port: Take advantage of the version number macros. 2202 Now the version number is not duplicated in the 2203 Windows-specific files anymore. 2204 2205commit fdbc0cfa71f7d660855098a609175ba384259529 2206Author: Lasse Collin <lasse.collin@tukaani.org> 2207Date: Fri Feb 13 18:00:03 2009 +0200 2208 2209 Changed how the version number is specified in various places. 2210 Now configure.ac will get the version number directly from 2211 src/liblzma/api/lzma/version.h. The intent is to reduce the 2212 number of places where the version number is duplicated. In 2213 future, support for displaying Git commit ID may be added too. 2214 2215commit 1d924e584b146136989f48c13fff2632896efb3d 2216Author: Lasse Collin <lasse.collin@tukaani.org> 2217Date: Fri Feb 13 17:30:30 2009 +0200 2218 2219 Fix handling of integrity check type in the xz command line tool. 2220 2221commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8 2222Author: Lasse Collin <lasse.collin@tukaani.org> 2223Date: Fri Feb 13 17:29:02 2009 +0200 2224 2225 Improve support for DOS-like systems. 2226 Here DOS-like means DOS, Windows, and OS/2. 2227 2228commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33 2229Author: Lasse Collin <lasse.collin@tukaani.org> 2230Date: Wed Feb 11 20:02:32 2009 +0200 2231 2232 Remove dead directories from .gitignore. 2233 2234commit 1ec5b0027911d94cb6f98892cbc690f818d8a861 2235Author: Jim Meyering <jim@meyering.net> 2236Date: Wed Feb 11 14:45:14 2009 +0100 2237 2238 .gitignore vs. Makefiles 2239 2240 How about this for those of us who do srcdir builds? 2241 2242commit 154f5aec2de201c674841de4fcc9804c2a87af07 2243Author: Lasse Collin <lasse.collin@tukaani.org> 2244Date: Tue Feb 10 21:48:35 2009 +0200 2245 2246 Removed Makefile from .gitignore since not all Makefiles 2247 in the repository are generated by Autotools. People 2248 should do test builds in a separate build directory anyway. 2249 2250commit e605c2663691b0a4c307786aa368d124ea081daa 2251Author: Lasse Collin <lasse.collin@tukaani.org> 2252Date: Tue Feb 10 21:48:05 2009 +0200 2253 2254 Added resource files for the Windows build. 2255 2256commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476 2257Author: Lasse Collin <lasse.collin@tukaani.org> 2258Date: Mon Feb 9 14:54:31 2009 +0200 2259 2260 Let the user specify custom CFLAGS on the make command 2261 line. Previously custom CFLAGS worked only when they were 2262 passed to configure. 2263 2264commit 53f7598998b1860a69c51243b5d2e34623c6bf60 2265Author: Lasse Collin <lasse.collin@tukaani.org> 2266Date: Sun Feb 8 21:35:11 2009 +0200 2267 2268 Fix aliasing issue in physmem.h. 2269 2270commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6 2271Author: Lasse Collin <lasse.collin@tukaani.org> 2272Date: Sun Feb 8 18:24:50 2009 +0200 2273 2274 Add a separate internal function to initialize the CRC32 2275 table, which is used also by LZ encoder. This was needed 2276 because calling lzma_crc32() and ignoring the result is 2277 a no-op due to lzma_attr_pure. 2278 2279commit ae1ad9af54210c9a2be336b1316532da5071516c 2280Author: Lasse Collin <lasse.collin@tukaani.org> 2281Date: Sun Feb 8 18:17:05 2009 +0200 2282 2283 Make "xz --force" to write to terminal as the error 2284 message suggests. 2285 2286commit 79e25eded48d2fe33f31441ab7a034f902e335f8 2287Author: Lasse Collin <lasse.collin@tukaani.org> 2288Date: Sun Feb 8 10:37:50 2009 +0200 2289 2290 Support both slash and backslash as path component 2291 separator on Windows when parsing argv[0]. 2292 2293commit bc7c7109cc4410055a888c1c70cbd1c9445c4361 2294Author: Lasse Collin <lasse.collin@tukaani.org> 2295Date: Sat Feb 7 23:18:13 2009 +0200 2296 2297 Omit the wrong and (even if corrected) nowadays useless rm 2298 from autogen.sh. 2299 2300commit edfc2031e56f8a2ccda063f02936b3a848d88723 2301Author: Lasse Collin <lasse.collin@tukaani.org> 2302Date: Sat Feb 7 21:41:52 2009 +0200 2303 2304 Updated THANKS. 2305 2306commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3 2307Author: Lasse Collin <lasse.collin@tukaani.org> 2308Date: Sat Feb 7 21:17:07 2009 +0200 2309 2310 Make it easy to choose if command line tools should be 2311 linked statically or dynamically against liblzma. The 2312 default is still to use static liblzma, but it can now 2313 be changed by passing --enable-dynamic to configure. 2314 Thanks to Mike Frysinger for the original patch. 2315 2316 Fixed a few minor bugs in configure.ac. 2317 2318commit 3f86532407e4ace3debb62be16035e009b56ca36 2319Author: Mike Frysinger <vapier@gentoo.org> 2320Date: Fri Feb 6 23:38:39 2009 -0500 2321 2322 add gitignore files 2323 2324 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 2325 2326commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5 2327Author: Lasse Collin <lasse.collin@tukaani.org> 2328Date: Sat Feb 7 17:07:52 2009 +0200 2329 2330 Assume 32 MiB of RAM on unsupported operating systems like 2331 the comment in hardware.c already said. 2332 2333commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618 2334Author: Lasse Collin <lasse.collin@tukaani.org> 2335Date: Sat Feb 7 16:26:58 2009 +0200 2336 2337 MinGW support: Don't build fastpos_tablegen.c as part of 2338 liblzma. Build both static and dynamic liblzma, and also 2339 static and dynamic versions of the command line tools. 2340 2341commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45 2342Author: Lasse Collin <lasse.collin@tukaani.org> 2343Date: Sat Feb 7 15:55:47 2009 +0200 2344 2345 Support LZMA_API_STATIC in assembler files to 2346 avoid __declspec(dllexport) equivalent. 2347 2348commit 3306cf3883492720b3c34baa02f4eb4227d91c73 2349Author: Lasse Collin <lasse.collin@tukaani.org> 2350Date: Sat Feb 7 11:11:50 2009 +0200 2351 2352 Introduced LZMA_API_STATIC macro, which the applications 2353 need to #define when linking against static liblzma on 2354 platforms like Windows. Most developers don't need to 2355 care about LZMA_API_STATIC at all. 2356 2357commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b 2358Author: Lasse Collin <lasse.collin@tukaani.org> 2359Date: Fri Feb 6 16:55:45 2009 +0200 2360 2361 Another grammar fix 2362 2363commit fe5434f940f75fec3611cf9d9edf78c4da8ac760 2364Author: Lasse Collin <lasse.collin@tukaani.org> 2365Date: Fri Feb 6 12:30:23 2009 +0200 2366 2367 Grammar fix in README. 2368 2369commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245 2370Author: Lasse Collin <lasse.collin@tukaani.org> 2371Date: Fri Feb 6 10:06:32 2009 +0200 2372 2373 Some MSYS installations (e.g. MsysGit) don't include 2374 install.exe, so don't rely on it. 2375 2376commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31 2377Author: Lasse Collin <lasse.collin@tukaani.org> 2378Date: Fri Feb 6 09:13:15 2009 +0200 2379 2380 Recreated the BCJ test files for x86 and SPARC. The old files 2381 were linked with crt*.o, which are copyrighted, and thus the 2382 old test files were not in the public domain as a whole. They 2383 are freely distributable though, but it is better to be careful 2384 and avoid including any copyrighted pieces in the test files. 2385 The new files are just compiled and assembled object files, 2386 and thus don't contain any copyrighted code. 2387 2388commit 094b1b09a531f0d201ec81f2b07346a995fd80b9 2389Author: Lasse Collin <lasse.collin@tukaani.org> 2390Date: Thu Feb 5 21:21:27 2009 +0200 2391 2392 Add the "windows" directory to EXTRA_DIST. 2393 2394commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49 2395Author: Lasse Collin <lasse.collin@tukaani.org> 2396Date: Thu Feb 5 09:17:51 2009 +0200 2397 2398 Added initial experimental makefile for use with MinGW. 2399 2400commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9 2401Author: Lasse Collin <lasse.collin@tukaani.org> 2402Date: Thu Feb 5 09:12:57 2009 +0200 2403 2404 Various code cleanups the the xz command line tool. 2405 It now builds with MinGW. 2406 2407commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe 2408Author: Lasse Collin <lasse.collin@tukaani.org> 2409Date: Tue Feb 3 12:15:17 2009 +0200 2410 2411 Another utime() fix. 2412 2413commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca 2414Author: Lasse Collin <lasse.collin@tukaani.org> 2415Date: Tue Feb 3 10:41:11 2009 +0200 2416 2417 Fix wrong filename argument for utime() and utimes(). 2418 This doesn't affect most systems, since most systems 2419 have better functions available. 2420 2421commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302 2422Author: Lasse Collin <lasse.collin@tukaani.org> 2423Date: Mon Feb 2 21:19:01 2009 +0200 2424 2425 Updated the x86 assembler code: 2426 - Use call/ret pair to get instruction pointer for PIC. 2427 - Use PIC only if PIC or __PIC__ is #defined. 2428 - The code should work on MinGW and Darwin in addition 2429 to GNU/Linux and Solaris. 2430 2431commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f 2432Author: Lasse Collin <lasse.collin@tukaani.org> 2433Date: Mon Feb 2 20:14:03 2009 +0200 2434 2435 Modify LZMA_API macro so that it works on Windows with 2436 other compilers than MinGW. This may hurt readability 2437 of the API headers slightly, but I don't know any 2438 better way to do this. 2439 2440commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65 2441Author: Lasse Collin <lasse.collin@tukaani.org> 2442Date: Sun Feb 1 22:40:35 2009 +0200 2443 2444 Fix a bug in lzma_block_buffer_decode(), although this 2445 function should be rewritten anyway. 2446 2447commit 55fd41431e61fb8178858283d636b6781e33e847 2448Author: Lasse Collin <lasse.collin@tukaani.org> 2449Date: Sun Feb 1 22:39:07 2009 +0200 2450 2451 Added initial version of raw buffer-to-buffer coding 2452 functions, and cleaned up filter.h API header a little. 2453 May be very buggy, not tested yet. 2454 2455commit 3e54ecee5cad30a5ca361a88a99230407abc0699 2456Author: Lasse Collin <lasse.collin@tukaani.org> 2457Date: Sun Feb 1 00:11:20 2009 +0200 2458 2459 Fix missing newlines in xzdec.c. 2460 2461commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35 2462Author: Lasse Collin <lasse.collin@tukaani.org> 2463Date: Sun Feb 1 00:10:07 2009 +0200 2464 2465 Use __cdecl also for function pointers in liblzma API when 2466 on Windows. 2467 2468commit 6a2eb54092fc625d59921a607ff68cd1a90aa898 2469Author: Lasse Collin <lasse.collin@tukaani.org> 2470Date: Sat Jan 31 11:01:48 2009 +0200 2471 2472 Add LZMA_API to liblzma API headers. It's useful at least 2473 on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h 2474 has to be #included separately where needed. 2475 2476commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b 2477Author: Lasse Collin <lasse.collin@tukaani.org> 2478Date: Sat Jan 31 10:13:09 2009 +0200 2479 2480 Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. 2481 2482commit 2dbdc5befb33c3703e4609809101047c67caf343 2483Author: Lasse Collin <lasse.collin@tukaani.org> 2484Date: Sat Jan 31 10:02:52 2009 +0200 2485 2486 Fix two lines in lzma.h on which the # wasn't at the 2487 beginning of the line. 2488 2489commit 4ab760109106dc04f39dd81c97d50f528d1b51c1 2490Author: Lasse Collin <lasse.collin@tukaani.org> 2491Date: Sat Jan 31 09:55:05 2009 +0200 2492 2493 Add support for using liblzma headers in MSVC, which has no 2494 stdint.h or inttypes.h. 2495 2496commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9 2497Author: Lasse Collin <lasse.collin@tukaani.org> 2498Date: Sat Jan 31 08:49:54 2009 +0200 2499 2500 Fix # -> ## in a macro in lzma.h. 2501 2502commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208 2503Author: Lasse Collin <lasse.collin@tukaani.org> 2504Date: Fri Jan 30 18:50:16 2009 +0200 2505 2506 Updated README. 2507 2508commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb 2509Author: Lasse Collin <lasse.collin@tukaani.org> 2510Date: Fri Jan 30 00:29:58 2009 +0200 2511 2512 Remove dangling crc64_init.c. 2513 2514commit 982da7ed314398420c38bf154a8f759d5f18b480 2515Author: Lasse Collin <lasse.collin@tukaani.org> 2516Date: Wed Jan 28 17:16:38 2009 +0200 2517 2518 The .xz file format specification version 1.0.0 is now 2519 officially released. The format has been technically the same 2520 since 2008-11-19, but now that it is frozen, people can start 2521 using it without a fear that the format will break. 2522 2523commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f 2524Author: Lasse Collin <lasse.collin@tukaani.org> 2525Date: Wed Jan 28 08:45:59 2009 +0200 2526 2527 Updated THANKS. 2528 2529commit 3241317093595db9f79104faafe93cb989c9f858 2530Author: Lasse Collin <lasse.collin@tukaani.org> 2531Date: Wed Jan 28 08:43:26 2009 +0200 2532 2533 Fix uninitialized variables in alone_decoder.c. This bug was 2534 triggered by the previous commit, since these variables were 2535 not used by anything before support for a preset dictionary. 2536 2537commit f76e39cf930f888d460b443d18f977ebedea8b2a 2538Author: Lasse Collin <lasse.collin@tukaani.org> 2539Date: Tue Jan 27 18:36:05 2009 +0200 2540 2541 Added initial support for preset dictionary for raw LZMA1 2542 and LZMA2. It is not supported by the .xz format or the xz 2543 command line tool yet. 2544 2545commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3 2546Author: Lasse Collin <lasse.collin@tukaani.org> 2547Date: Mon Jan 26 20:09:17 2009 +0200 2548 2549 Regenerate the CRC tables without trailing blanks. 2550 2551commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2 2552Author: Jim Meyering <meyering@redhat.com> 2553Date: Mon Jan 19 21:37:16 2009 +0100 2554 2555 remove trailing blanks from all but .xz files 2556 2557commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5 2558Author: Lasse Collin <lasse.collin@tukaani.org> 2559Date: Mon Jan 26 14:34:10 2009 +0200 2560 2561 Add lzma_block_buffer_decode(). 2562 2563commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d 2564Author: Lasse Collin <lasse.collin@tukaani.org> 2565Date: Mon Jan 26 14:33:28 2009 +0200 2566 2567 Add more sanity checks to lzma_stream_buffer_decode(). 2568 2569commit c129748675a5daa8838df92bde32cc04f6ce61ba 2570Author: Lasse Collin <lasse.collin@tukaani.org> 2571Date: Mon Jan 26 14:33:13 2009 +0200 2572 2573 Avoid hardcoded constant in easy.c. 2574 2575commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6 2576Author: Lasse Collin <lasse.collin@tukaani.org> 2577Date: Mon Jan 26 13:06:49 2009 +0200 2578 2579 Tiny bit better sanity check in block_util.c 2580 2581commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7 2582Author: Lasse Collin <lasse.collin@tukaani.org> 2583Date: Sun Jan 25 01:35:56 2009 +0200 2584 2585 Fix a dumb bug in Block decoder, which made it return 2586 LZMA_DATA_ERROR with valid data. The bug was added in 2587 e114502b2bc371e4a45449832cb69be036360722. 2588 2589commit c81f13ff29271de7293f8af3d81848b1dcae3d19 2590Author: Lasse Collin <lasse.collin@tukaani.org> 2591Date: Fri Jan 23 22:27:50 2009 +0200 2592 2593 Added lzma_stream_buffer_decode() and made minor cleanups. 2594 2595commit 0b3318661ce749550b8531dfd469639a08930391 2596Author: Lasse Collin <lasse.collin@tukaani.org> 2597Date: Thu Jan 22 12:53:33 2009 +0200 2598 2599 Fix a comment. 2600 2601commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec 2602Author: Lasse Collin <lasse.collin@tukaani.org> 2603Date: Tue Jan 20 16:37:27 2009 +0200 2604 2605 Add some single-call buffer-to-buffer coding functions. 2606 2607commit d8b58d099340f8f4007b24b211ee41a7210c061c 2608Author: Lasse Collin <lasse.collin@tukaani.org> 2609Date: Tue Jan 20 13:45:41 2009 +0200 2610 2611 Block encoder cleanups 2612 2613commit 0c09810cb3635cb575cb54e694d41523e7d0a335 2614Author: Lasse Collin <lasse.collin@tukaani.org> 2615Date: Tue Jan 20 10:35:15 2009 +0200 2616 2617 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h. 2618 2619commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00 2620Author: Lasse Collin <lasse.collin@tukaani.org> 2621Date: Mon Jan 19 22:53:18 2009 +0200 2622 2623 Fix handling of non-fatal errors in lzma_code(). 2624 2625commit 4810b6bc25087be872960b9dd1d11ff07735dc88 2626Author: Lasse Collin <lasse.collin@tukaani.org> 2627Date: Mon Jan 19 14:00:33 2009 +0200 2628 2629 Move some LZMA2 constants to lzma2_encoder.h so that they 2630 can be used outside lzma2_encoder.c. 2631 2632commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4 2633Author: Lasse Collin <lasse.collin@tukaani.org> 2634Date: Mon Jan 19 13:52:36 2009 +0200 2635 2636 Remove dead code. 2637 2638commit 128586213f77c9bd82b7e9a62927f6d0c3769d85 2639Author: Lasse Collin <lasse.collin@tukaani.org> 2640Date: Sat Jan 17 14:24:25 2009 +0200 2641 2642 Beta was supposed to be API stable but I had forgot to rename 2643 lzma_memlimit_encoder and lzma_memlimit_decoder to 2644 lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-( 2645 Now it is fixed. Hopefully it doesn't cause too much trouble 2646 to those who already thought API is stable. 2647 2648commit b056379490be5c584c264a967f0540041a163a1e 2649Author: Lasse Collin <lasse.collin@tukaani.org> 2650Date: Thu Jan 15 14:29:22 2009 +0200 2651 2652 Updated THANKS. 2653 2654commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89 2655Author: Lasse Collin <lasse.collin@tukaani.org> 2656Date: Thu Jan 15 14:27:32 2009 +0200 2657 2658 Fixed a bug in 7z2lzma.bash to make it work with .7z files 2659 that use something else than 2^n as the dictionary size. 2660 Thanks to Dan Shechter for the bug report. 2661 2662commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2 2663Author: Lasse Collin <lasse.collin@tukaani.org> 2664Date: Wed Jan 7 18:41:15 2009 +0200 2665 2666 Use pthread_sigmask() instead of sigprocmask() when pthreads 2667 are enabled. 2668 2669commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9 2670Author: Lasse Collin <lasse.collin@tukaani.org> 2671Date: Wed Dec 31 20:01:00 2008 +0200 2672 2673 Bumped version to 4.999.8beta right after the release 2674 of 4.999.7beta. 2675 2676commit 061748f5932719643cda73383db715167d543c22 2677Author: Lasse Collin <lasse.collin@tukaani.org> 2678Date: Wed Dec 31 18:59:02 2008 +0200 2679 2680 Disable Subblock filter from test_compress.sh since it is 2681 disabled by default in configure.ac. 2682 2683commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78 2684Author: Lasse Collin <lasse.collin@tukaani.org> 2685Date: Wed Dec 31 17:44:20 2008 +0200 2686 2687 Disable both Subblock encoder and decoder my default, 2688 since they are not finished and may have security issues too. 2689 2690commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88 2691Author: Lasse Collin <lasse.collin@tukaani.org> 2692Date: Wed Dec 31 17:42:50 2008 +0200 2693 2694 Update some files in debug directory. 2695 2696commit d1d17a40d33a9682424ca37282813492f2cba6d0 2697Author: Lasse Collin <lasse.collin@tukaani.org> 2698Date: Wed Dec 31 17:41:46 2008 +0200 2699 2700 Prepare for 4.999.7beta release. 2701 2702commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3 2703Author: Lasse Collin <lasse.collin@tukaani.org> 2704Date: Wed Dec 31 17:15:03 2008 +0200 2705 2706 Cleaned up some comments in the API headers. 2707 2708commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40 2709Author: Lasse Collin <lasse.collin@tukaani.org> 2710Date: Wed Dec 31 16:29:39 2008 +0200 2711 2712 Renamed lzma_options_simple to lzma_options_bcj in the API. 2713 The internal implementation is still using the name "simple". 2714 It may need some cleanups, so I look at it later. 2715 2716commit 7eea8bec3abfed883efba66264a1452a1c04f6b0 2717Author: Lasse Collin <lasse.collin@tukaani.org> 2718Date: Wed Dec 31 00:57:27 2008 +0200 2719 2720 Fixed missing quoting in configure.ac. 2721 2722commit 28e75f7086dbe9501d926c370375c69dfb1236ce 2723Author: Lasse Collin <lasse.collin@tukaani.org> 2724Date: Wed Dec 31 00:48:23 2008 +0200 2725 2726 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which 2727 should have been in the previous commit. 2728 2729commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90 2730Author: Lasse Collin <lasse.collin@tukaani.org> 2731Date: Wed Dec 31 00:30:49 2008 +0200 2732 2733 Remove lzma_init() and other init functions from liblzma API. 2734 Half of developers were already forgetting to use these 2735 functions, which could have caused total breakage in some future 2736 liblzma version or even now if --enable-small was used. Now 2737 liblzma uses pthread_once() to do the initializations unless 2738 it has been built with --disable-threads which make these 2739 initializations thread-unsafe. 2740 2741 When --enable-small isn't used, liblzma currently gets needlessly 2742 linked against libpthread (on systems that have it). While it is 2743 stupid for now, liblzma will need threads in future anyway, so 2744 this stupidity will be temporary only. 2745 2746 When --enable-small is used, different code CRC32 and CRC64 is 2747 now used than without --enable-small. This made the resulting 2748 binary slightly smaller, but the main reason was to clean it up 2749 and to handle the lack of lzma_init_check(). 2750 2751 The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not 2752 sure if it works correctly and portably for static linking 2753 (Libs.private includes -pthread or other operating system 2754 specific flags). Hopefully someone complains if it is bad. 2755 2756 lzma_rc_prices[] is now included as a precomputed array even 2757 with --enable-small. It's just 128 bytes now that it uses uint8_t 2758 instead of uint32_t. Smaller array seemed to be at least as fast 2759 as the more bloated uint32_t array on x86; hopefully it's not bad 2760 on other architectures. 2761 2762commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2 2763Author: Lasse Collin <lasse.collin@tukaani.org> 2764Date: Sat Dec 27 19:40:31 2008 +0200 2765 2766 Use 28 MiB as memory usage limit for encoding in test_compress.sh. 2767 2768commit 050eb14d29e2537c014662e83599fd8a77f13c45 2769Author: Lasse Collin <lasse.collin@tukaani.org> 2770Date: Sat Dec 27 19:32:20 2008 +0200 2771 2772 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680 2773 that was related to LZMA_MODE_FAST. The original code is slightly 2774 faster although it compresses slightly worse. But since it is fast 2775 mode, it is better to select the faster version. 2776 2777commit 4820f10d0f173864f6a2ea7479663b509ac53358 2778Author: Lasse Collin <lasse.collin@tukaani.org> 2779Date: Sat Dec 27 19:30:19 2008 +0200 2780 2781 Some xz command line tool improvements. 2782 2783commit e33194e79d8f5ce07cb4aca909b324ae75098f7e 2784Author: Lasse Collin <lasse.collin@tukaani.org> 2785Date: Sat Dec 27 19:27:49 2008 +0200 2786 2787 Bunch of liblzma tweaks, including some API changes. 2788 The API and ABI should now be very close to stable, 2789 although the code behind it isn't yet. 2790 2791commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074 2792Author: Lasse Collin <lasse.collin@tukaani.org> 2793Date: Thu Dec 18 13:42:52 2008 +0200 2794 2795 Updated Makefile.am that was missing from the previous commit. 2796 2797commit 634636fa56ccee6e744f78b0abed76c8940f2f8f 2798Author: Lasse Collin <lasse.collin@tukaani.org> 2799Date: Wed Dec 17 21:49:53 2008 +0200 2800 2801 Remove the alignment functions for now. Maybe they will 2802 be added back in some form later, but the current version 2803 wasn't modular, so it would need fixing anyway. 2804 2805commit 4fed98417d1687f5eccccb42a133fde3ec81216a 2806Author: Lasse Collin <lasse.collin@tukaani.org> 2807Date: Wed Dec 17 20:11:23 2008 +0200 2808 2809 xz message handling improvements 2810 2811commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d 2812Author: Lasse Collin <lasse.collin@tukaani.org> 2813Date: Mon Dec 15 23:26:43 2008 +0200 2814 2815 Fix a dumb bug in .lzma decoder which was introduced in 2816 the previous commit. (Probably the previous commit has 2817 other bugs too, it wasn't tested.) 2818 2819commit 671a5adf1e844bfdd6fd327016c3c28694493158 2820Author: Lasse Collin <lasse.collin@tukaani.org> 2821Date: Mon Dec 15 19:39:13 2008 +0200 2822 2823 Bunch of liblzma API cleanups and fixes. 2824 2825commit 17781c2c20fd77029cb32e77792889f2f211d69d 2826Author: Lasse Collin <lasse.collin@tukaani.org> 2827Date: Mon Dec 15 14:26:52 2008 +0200 2828 2829 The LZMA2 decoder fix introduced a bug to LZ decoder, 2830 which made LZ decoder return too early after dictionary 2831 reset. This fixes it. 2832 2833commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8 2834Author: Lasse Collin <lasse.collin@tukaani.org> 2835Date: Mon Dec 15 11:20:22 2008 +0200 2836 2837 Added two new test files. 2838 2839commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf 2840Author: Lasse Collin <lasse.collin@tukaani.org> 2841Date: Mon Dec 15 10:01:59 2008 +0200 2842 2843 Fix data corruption in LZMA2 decoder. 2844 2845commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613 2846Author: Lasse Collin <lasse.collin@tukaani.org> 2847Date: Sat Dec 13 00:54:11 2008 +0200 2848 2849 Name the package "xz" in configure.ac. 2850 2851commit a94bf00d0af9b423851905b031be5a645a657820 2852Author: Lasse Collin <lasse.collin@tukaani.org> 2853Date: Fri Dec 12 22:43:21 2008 +0200 2854 2855 Some adjustments to GCC warning flags. The important change 2856 is the removal of -pedantic. It messes up -Werror (which I 2857 really want to keep so that I don't miss any warnings) with 2858 printf format strings that are in POSIX but not in C99. 2859 2860commit 8582d392baacd2cdac07ca60041f8c661323676d 2861Author: Lasse Collin <lasse.collin@tukaani.org> 2862Date: Wed Dec 10 01:31:00 2008 +0200 2863 2864 Remove obsolete comment. 2865 2866commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1 2867Author: Lasse Collin <lasse.collin@tukaani.org> 2868Date: Wed Dec 10 01:27:15 2008 +0200 2869 2870 Use "decompression" consistently in --long-help. 2871 2872commit 1ea9e7f15afd5d3981e2432710e932320597bca9 2873Author: Lasse Collin <lasse.collin@tukaani.org> 2874Date: Wed Dec 10 01:23:58 2008 +0200 2875 2876 Added preset=NUM to --lzma1 and --lzma2. This makes it easy 2877 to take a preset as a template and modify it a little. 2878 2879commit bceb3918dbb21f34976bfdd4c171a81319de71f7 2880Author: Lasse Collin <lasse.collin@tukaani.org> 2881Date: Tue Dec 9 17:43:31 2008 +0200 2882 2883 Put the file format specification into the public domain. 2884 Same will be done to the actual code later. 2885 2886commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6 2887Author: Lasse Collin <lasse.collin@tukaani.org> 2888Date: Tue Dec 9 17:41:49 2008 +0200 2889 2890 Make the memusage functions of LZMA1 and LZMA2 encoders 2891 to validate the filter options. Add missing validation 2892 to LZMA2 encoder when options are changed in the middle 2893 of encoding. 2894 2895commit f20a03206b71ff01b827bb7a932411d6a6a4e06a 2896Author: Lasse Collin <lasse.collin@tukaani.org> 2897Date: Tue Dec 9 10:36:24 2008 +0200 2898 2899 Updated THANKS. 2900 2901commit ef7890d56453dca1aeb2e12db29b7e418d93dde4 2902Author: Lasse Collin <lasse.collin@tukaani.org> 2903Date: Mon Dec 1 23:04:12 2008 +0200 2904 2905 In command line tool, take advantage of memusage calculation's 2906 ability to also validate the filter chain and options (not 2907 implemented yet for all filters). 2908 2909commit ccd57afa09e332d664d6d6a7498702791ea5f659 2910Author: Lasse Collin <lasse.collin@tukaani.org> 2911Date: Mon Dec 1 22:59:28 2008 +0200 2912 2913 Validate the filter chain before checking filter-specific 2914 memory usage. 2915 2916commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15 2917Author: Lasse Collin <lasse.collin@tukaani.org> 2918Date: Mon Dec 1 22:58:22 2008 +0200 2919 2920 Make the memusage functions of LZMA1 and LZMA2 decoders 2921 to validate the filter options. 2922 2923commit c58f469be5bb9b0bdab825c6687445fd553f4f3a 2924Author: Lasse Collin <lasse.collin@tukaani.org> 2925Date: Mon Dec 1 22:55:18 2008 +0200 2926 2927 Added the changes for Delta filter that should have been 2928 part of 656ec87882ee74b192c4ea4a233a235eca7b04d4. 2929 2930commit cd708015202dbf7585b84a8781462a20c42a324b 2931Author: Lasse Collin <lasse.collin@tukaani.org> 2932Date: Mon Dec 1 22:50:28 2008 +0200 2933 2934 LZMA2 decoder cleanups. Make it require new LZMA properties 2935 also in the first LZMA chunk after a dictionary reset in 2936 uncompressed chunk. 2937 2938commit 656ec87882ee74b192c4ea4a233a235eca7b04d4 2939Author: Lasse Collin <lasse.collin@tukaani.org> 2940Date: Mon Dec 1 16:30:11 2008 +0200 2941 2942 Added lzma_delta_coder_memusage() which also validates 2943 the options. 2944 2945commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a 2946Author: Lasse Collin <lasse.collin@tukaani.org> 2947Date: Sat Nov 29 10:03:49 2008 +0200 2948 2949 Automake includes the m4 directory, so don't add it in 2950 Makefile.am separately. 2951 2952 Updated THANKS. 2953 2954commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0 2955Author: Lasse Collin <lasse.collin@tukaani.org> 2956Date: Fri Nov 28 12:00:48 2008 +0200 2957 2958 Tested using COLUMNS environment variable to avoid broken 2959 progress indicator but since COLUMNS isn't usually available, 2960 the code was left commented out. 2961 2962commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd 2963Author: Lasse Collin <lasse.collin@tukaani.org> 2964Date: Thu Nov 27 19:28:59 2008 +0200 2965 2966 Cleanups to message.c. 2967 2968commit a8368b75cdcd5427299001cc42839287f27b244d 2969Author: Lasse Collin <lasse.collin@tukaani.org> 2970Date: Tue Nov 25 02:37:47 2008 +0200 2971 2972 Remove the nowadays unneeded memory limitting malloc() wrapper. 2973 2974commit 69472ee5f055a2bb6f28106f0923e1461fd1d080 2975Author: Lasse Collin <lasse.collin@tukaani.org> 2976Date: Sun Nov 23 15:09:03 2008 +0200 2977 2978 VLI encoder and decoder cleanups. Made encoder return 2979 LZMA_PROG_ERROR in single-call mode if there's no output 2980 space. 2981 2982commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650 2983Author: Lasse Collin <lasse.collin@tukaani.org> 2984Date: Sat Nov 22 17:44:33 2008 +0200 2985 2986 Typo fix 2987 2988commit 6d1d6f4598d121253dbe1084c6866b66e95c361b 2989Author: Lasse Collin <lasse.collin@tukaani.org> 2990Date: Thu Nov 20 22:59:10 2008 +0200 2991 2992 Support NetBSD's errno for O_NOFOLLOW. 2993 2994commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7 2995Author: Lasse Collin <lasse.collin@tukaani.org> 2996Date: Thu Nov 20 18:05:52 2008 +0200 2997 2998 Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz 2999 files and lzmadec only .lzma files. 3000 3001commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c 3002Author: Lasse Collin <lasse.collin@tukaani.org> 3003Date: Thu Nov 20 11:01:29 2008 +0200 3004 3005 Minor cleanups to xzdec. 3006 3007commit 54f716ba8905d09752dcd1519455a40bd21d5317 3008Author: Lasse Collin <lasse.collin@tukaani.org> 3009Date: Wed Nov 19 23:55:22 2008 +0200 3010 3011 Added missing check for uint16_t. 3012 3013commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06 3014Author: Lasse Collin <lasse.collin@tukaani.org> 3015Date: Wed Nov 19 23:52:24 2008 +0200 3016 3017 Renamed lzma to xz and lzmadec to xzdec. We create symlinks 3018 lzma, unlzma, and lzcat in "make install" for backwards 3019 compatibility with LZMA Utils 4.32.x; I'm not sure if this 3020 should be the default though. 3021 3022commit e114502b2bc371e4a45449832cb69be036360722 3023Author: Lasse Collin <lasse.collin@tukaani.org> 3024Date: Wed Nov 19 20:46:52 2008 +0200 3025 3026 Oh well, big messy commit again. Some highlights: 3027 - Updated to the latest, probably final file format version. 3028 - Command line tool reworked to not use threads anymore. 3029 Threading will probably go into liblzma anyway. 3030 - Memory usage limit is now about 30 % for uncompression 3031 and about 90 % for compression. 3032 - Progress indicator with --verbose 3033 - Simplified --help and full --long-help 3034 - Upgraded to the last LGPLv2.1+ getopt_long from gnulib. 3035 - Some bug fixes 3036 3037commit 3c3905b53462ae235c9438d86a4dc51086410932 3038Author: Lasse Collin <lasse.collin@tukaani.org> 3039Date: Thu Oct 9 11:12:29 2008 +0300 3040 3041 Fixed the test that should have been fixed as part 3042 of 1e8e4fd1f3e50129b4541406ad765d2aa1233943. 3043 3044commit 0f295bf7a3ece01f667caae318cc3e3424085886 3045Author: Lasse Collin <lasse.collin@tukaani.org> 3046Date: Tue Oct 7 16:42:18 2008 +0300 3047 3048 Fixed some help messages. 3049 3050commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943 3051Author: Lasse Collin <lasse.collin@tukaani.org> 3052Date: Tue Oct 7 09:40:31 2008 +0300 3053 3054 Made the preset numbering more logical in liblzma API. 3055 3056commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81 3057Author: Lasse Collin <lasse.collin@tukaani.org> 3058Date: Fri Oct 3 19:36:09 2008 +0300 3059 3060 Removed fi from po/LINGUAS. 3061 3062commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128 3063Author: Lasse Collin <lasse.collin@tukaani.org> 3064Date: Fri Oct 3 07:06:48 2008 +0300 3065 3066 Fixed suffix handling with --format=raw. 3067 3068commit bd137524f2f50e30ba054f42f1f6536cd3cee920 3069Author: Lasse Collin <lasse.collin@tukaani.org> 3070Date: Thu Oct 2 22:51:46 2008 +0300 3071 3072 Initial changes to change the suffix of the new format to .xz. 3073 This also fixes a bug related to --suffix option. Some issues 3074 with suffixes with --format=raw were not fixed. 3075 3076commit 4c321a41c482821aa3c4d64cdf886a6ed904d844 3077Author: Lasse Collin <lasse.collin@tukaani.org> 3078Date: Tue Sep 30 17:43:55 2008 +0300 3079 3080 Renamed the test files from .lzma suffix to .xz suffix. 3081 3082commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb 3083Author: Lasse Collin <lasse.collin@tukaani.org> 3084Date: Tue Sep 30 13:57:44 2008 +0300 3085 3086 Fixed Stream decoder to actually use the first_stream variable. 3087 3088commit 3bdbc12c054d1961133ee19802af7dd3c3494543 3089Author: Lasse Collin <lasse.collin@tukaani.org> 3090Date: Tue Sep 30 13:56:57 2008 +0300 3091 3092 Added one more test file. 3093 3094commit a6639022fdc536e5659b070a465221b4cf7c51fa 3095Author: Lasse Collin <lasse.collin@tukaani.org> 3096Date: Tue Sep 30 13:34:07 2008 +0300 3097 3098 Fixed uninitialized variable in Stream decoder. 3099 3100commit ed3709000a3f17ecefab29b2235d7e2221b00003 3101Author: Lasse Collin <lasse.collin@tukaani.org> 3102Date: Tue Sep 30 13:27:28 2008 +0300 3103 3104 Added two test files. 3105 3106commit ea560b0ea80525752bdcd0074d24f8dc170bbe29 3107Author: Lasse Collin <lasse.collin@tukaani.org> 3108Date: Sat Sep 27 23:49:24 2008 +0300 3109 3110 Fix conflicting Subblock helper filter's ID. 3111 3112commit ad97483b6e55142fd8d5c041db057017a891cd95 3113Author: Lasse Collin <lasse.collin@tukaani.org> 3114Date: Sat Sep 27 23:37:13 2008 +0300 3115 3116 Changed magic bytes to match the updated spec. Filename 3117 suffix wasn't changed yet. 3118 3119commit 7a57069167e9e63394e2b095ee3a63253fcb51c7 3120Author: Lasse Collin <lasse.collin@tukaani.org> 3121Date: Sat Sep 27 23:16:09 2008 +0300 3122 3123 Remove po/fi.po since I'm not keeping it updated for now. 3124 3125commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e 3126Author: Lasse Collin <lasse.collin@tukaani.org> 3127Date: Sat Sep 27 23:13:54 2008 +0300 3128 3129 Fix also test_compress.sh. 3130 3131commit 3a62a5fb85d2eebd8666e64ed5d364d095062858 3132Author: Lasse Collin <lasse.collin@tukaani.org> 3133Date: Sat Sep 27 23:01:15 2008 +0300 3134 3135 Fixed compilation of test_filter_flags.c, which was broken by 3136 1dcecfb09b55157b8653d747963069c8bed74f04. 3137 3138commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0 3139Author: Lasse Collin <lasse.collin@tukaani.org> 3140Date: Sat Sep 27 19:11:02 2008 +0300 3141 3142 Updated file format specification. It changes the suffix 3143 of the new format to .xz and removes the recently added 3144 LZMA filter. 3145 3146commit 1dcecfb09b55157b8653d747963069c8bed74f04 3147Author: Lasse Collin <lasse.collin@tukaani.org> 3148Date: Sat Sep 27 19:09:21 2008 +0300 3149 3150 Some API changes, bug fixes, cleanups etc. 3151 3152commit 5cc5064cae603b649c64c40125c7dd365de54c9d 3153Author: Lasse Collin <lasse.collin@tukaani.org> 3154Date: Sat Sep 27 11:28:49 2008 +0300 3155 3156 Added 7z2lzma.bash. 3157 3158commit f147666a5cd15542d4e427da58629f4a71cc38e1 3159Author: Lasse Collin <lasse.collin@tukaani.org> 3160Date: Wed Sep 17 22:11:39 2008 +0300 3161 3162 Miscellaneous LZ and LZMA encoder cleanups 3163 3164commit 13d68b069849e19c33822cd8996cd6447890abb1 3165Author: Lasse Collin <lasse.collin@tukaani.org> 3166Date: Sat Sep 13 13:54:00 2008 +0300 3167 3168 LZ decoder cleanup 3169 3170commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7 3171Author: Lasse Collin <lasse.collin@tukaani.org> 3172Date: Sat Sep 13 12:10:43 2008 +0300 3173 3174 Renamed constants: 3175 - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX 3176 - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN 3177 - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR 3178 3179commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080 3180Author: Lasse Collin <lasse.collin@tukaani.org> 3181Date: Fri Sep 12 22:41:40 2008 +0300 3182 3183 Improved the Stream Flags handling API. 3184 3185commit ec490da5228263b25bf786bb23d1008468f55b30 3186Author: Lasse Collin <lasse.collin@tukaani.org> 3187Date: Thu Sep 11 23:10:44 2008 +0300 3188 3189 Simplified debug/known_sizes.c to match the relaxed 3190 requirements of Block encoder. 3191 3192commit 16e8b98f2659347edfa74afdbbb9e73311153cb9 3193Author: Lasse Collin <lasse.collin@tukaani.org> 3194Date: Thu Sep 11 23:09:24 2008 +0300 3195 3196 Remove a check from Block encoder that should have already 3197 been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e. 3198 3199commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13 3200Author: Lasse Collin <lasse.collin@tukaani.org> 3201Date: Thu Sep 11 20:02:38 2008 +0300 3202 3203 Remove bogus #includes. 3204 3205commit 01892b2ca5f69bed0ea746e04b604030d57806bb 3206Author: Lasse Collin <lasse.collin@tukaani.org> 3207Date: Thu Sep 11 10:49:14 2008 +0300 3208 3209 Updated THANKS. 3210 3211commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d 3212Author: Lasse Collin <lasse.collin@tukaani.org> 3213Date: Thu Sep 11 10:48:12 2008 +0300 3214 3215 Fix a compiler error on big endian systems that don't 3216 support unaligned memory access. 3217 3218commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671 3219Author: Lasse Collin <lasse.collin@tukaani.org> 3220Date: Thu Sep 11 10:46:14 2008 +0300 3221 3222 Silence a compiler warning. 3223 3224commit 9373e81e18822db4972819442ea4c2cb9955470b 3225Author: Lasse Collin <lasse.collin@tukaani.org> 3226Date: Wed Sep 10 19:16:32 2008 +0300 3227 3228 Bumped version to 4.999.6alpha. 3229 3230commit cb072b7c8442ba68bb0c62c0abbbe939794887a3 3231Author: Lasse Collin <lasse.collin@tukaani.org> 3232Date: Wed Sep 10 17:02:00 2008 +0300 3233 3234 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c. 3235 Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID 3236 is in the reserved range. This allows Block Header encoder to 3237 detect unallowed Filter IDs, which is good for Stream encoder. 3238 3239commit 123ab0acec435c9e9866a99e30482116cfbd9ba5 3240Author: Lasse Collin <lasse.collin@tukaani.org> 3241Date: Wed Sep 10 16:44:32 2008 +0300 3242 3243 Filter handling cleanups 3244 3245commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1 3246Author: Lasse Collin <lasse.collin@tukaani.org> 3247Date: Wed Sep 10 00:33:00 2008 +0300 3248 3249 Comments 3250 3251commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e 3252Author: Lasse Collin <lasse.collin@tukaani.org> 3253Date: Wed Sep 10 00:27:02 2008 +0300 3254 3255 Cleaned up Block encoder and moved the no longer shared 3256 code from block_private.h to block_decoder.c. Now the Block 3257 encoder doesn't need compressed_size and uncompressed_size 3258 from lzma_block structure to be initialized. 3259 3260commit 07efcb5a6bc5d7018798ebd728586f84183e7d64 3261Author: Lasse Collin <lasse.collin@tukaani.org> 3262Date: Sun Sep 7 10:23:13 2008 +0300 3263 3264 Changed Filter ID of LZMA to 0x20. 3265 3266commit 32fe5fa541e82c08e054086279079ae5016bd8d8 3267Author: Lasse Collin <lasse.collin@tukaani.org> 3268Date: Sat Sep 6 23:42:50 2008 +0300 3269 3270 Comments 3271 3272commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84 3273Author: Lasse Collin <lasse.collin@tukaani.org> 3274Date: Sat Sep 6 15:14:30 2008 +0300 3275 3276 Some API cleanups 3277 3278commit da98df54400998be2a6c3876f9655a3c51b93c10 3279Author: Lasse Collin <lasse.collin@tukaani.org> 3280Date: Thu Sep 4 11:53:06 2008 +0300 3281 3282 Added support for raw encoding and decoding to the command 3283 line tool, and made various cleanups. --lzma was renamed to 3284 --lzma1 to prevent people from accidentally using LZMA when 3285 they want LZMA2. 3286 3287commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd 3288Author: Lasse Collin <lasse.collin@tukaani.org> 3289Date: Thu Sep 4 10:39:15 2008 +0300 3290 3291 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's 3292 simply nothing that would use it. Allow LZMA_FINISH to the 3293 decoders, which will usually ignore it (auto decoder and 3294 Stream decoder being exceptions). 3295 3296commit bea301c26d5d52675e11e0236faec0492af98f60 3297Author: Lasse Collin <lasse.collin@tukaani.org> 3298Date: Wed Sep 3 17:06:25 2008 +0300 3299 3300 Minor updates to the file format specification. 3301 3302commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8 3303Author: Lasse Collin <lasse.collin@tukaani.org> 3304Date: Tue Sep 2 19:33:32 2008 +0300 3305 3306 Command line tool fixes 3307 3308commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4 3309Author: Lasse Collin <lasse.collin@tukaani.org> 3310Date: Tue Sep 2 19:31:42 2008 +0300 3311 3312 Auto decoder cleanup 3313 3314commit 689602336d126a46b60d791a67decab65e1e81f5 3315Author: Lasse Collin <lasse.collin@tukaani.org> 3316Date: Tue Sep 2 19:12:12 2008 +0300 3317 3318 Updated auto decoder to handle LZMA_CONCATENATED when decoding 3319 LZMA_Alone files. Decoding of concatenated LZMA_Alone files is 3320 intentionally not supported, so it is better to put this in 3321 auto decoder than LZMA_Alone decoder. 3322 3323commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c 3324Author: Lasse Collin <lasse.collin@tukaani.org> 3325Date: Tue Sep 2 14:56:52 2008 +0300 3326 3327 Stream decoder cleanups 3328 3329commit fc681657450ce57be1fe08f7a15d31dcc705e514 3330Author: Lasse Collin <lasse.collin@tukaani.org> 3331Date: Tue Sep 2 11:45:39 2008 +0300 3332 3333 Some fixes to LZ encoder. 3334 3335commit ede675f9ac1ca82a7d7c290324adba672118bc8d 3336Author: Lasse Collin <lasse.collin@tukaani.org> 3337Date: Sun Aug 31 11:47:01 2008 +0300 3338 3339 Fix wrong pointer calculation in LZMA encoder. 3340 3341commit 3b34851de1eaf358cf9268922fa0eeed8278d680 3342Author: Lasse Collin <lasse.collin@tukaani.org> 3343Date: Thu Aug 28 22:53:15 2008 +0300 3344 3345 Sort of garbage collection commit. :-| Many things are still 3346 broken. API has changed a lot and it will still change a 3347 little more here and there. The command line tool doesn't 3348 have all the required changes to reflect the API changes, so 3349 it's easy to get "internal error" or trigger assertions. 3350 3351commit 57b9a145a527f0716822615e5ed536d33aebd3fc 3352Author: Lasse Collin <lasse.collin@tukaani.org> 3353Date: Fri Jun 20 17:16:32 2008 +0300 3354 3355 Fix test_filter_flags to match the new restriction of lc+lp. 3356 3357commit eaafc4367c77ec1d910e16d11b4da293969d97a3 3358Author: Lasse Collin <lasse.collin@tukaani.org> 3359Date: Fri Jun 20 16:19:54 2008 +0300 3360 3361 Remove some redundant code from LZMA encoder. 3362 3363commit 0809c46534fa5664fe35d9e98d95e87312ed130e 3364Author: Lasse Collin <lasse.collin@tukaani.org> 3365Date: Thu Jun 19 16:35:08 2008 +0300 3366 3367 Add limit of lc + lp <= 4. Now we can allocate the 3368 literal coder as part of the main LZMA encoder or 3369 decoder structure. 3370 3371 Make the LZMA decoder to rely on the current internal API 3372 to free the allocated memory in case an error occurs. 3373 3374commit d25ab1b96178f06a0e724f58e3cd68300b2b1275 3375Author: Lasse Collin <lasse.collin@tukaani.org> 3376Date: Wed Jun 18 21:45:19 2008 +0300 3377 3378 Comments 3379 3380commit 6368a2fa5901c75864be5171dd57a50af7adbb41 3381Author: Lasse Collin <lasse.collin@tukaani.org> 3382Date: Wed Jun 18 19:19:02 2008 +0300 3383 3384 Delete old code that was supposed to be already deleted 3385 from test_block_header.c. 3386 3387commit 7d17818cec8597f847b0a2537fde991bbc3d9e96 3388Author: Lasse Collin <lasse.collin@tukaani.org> 3389Date: Wed Jun 18 18:02:10 2008 +0300 3390 3391 Update the code to mostly match the new simpler file format 3392 specification. Simplify things by removing most of the 3393 support for known uncompressed size in most places. 3394 There are some miscellaneous changes here and there too. 3395 3396 The API of liblzma has got many changes and still some 3397 more will be done soon. While most of the code has been 3398 updated, some things are not fixed (the command line tool 3399 will choke with invalid filter chain, if nothing else). 3400 3401 Subblock filter is somewhat broken for now. It will be 3402 updated once the encoded format of the Subblock filter 3403 has been decided. 3404 3405commit bf6348d1a3ff09fdc06940468f318f75ffa6af11 3406Author: Lasse Collin <lasse.collin@tukaani.org> 3407Date: Tue Jun 17 15:03:46 2008 +0300 3408 3409 Update the file format specification draft. The new one is 3410 a lot simpler than the previous versions, but it also means 3411 that the existing code will change a lot. 3412 3413commit 803194ddd26f01ff60ba4e9924c6087a56b29827 3414Author: Lasse Collin <lasse.collin@tukaani.org> 3415Date: Wed Jun 11 21:42:47 2008 +0300 3416 3417 Fix uninitialized variable in LZMA encoder. This was 3418 introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f. 3419 3420commit 0ea98e52ba87453497b1355c51f13bad55c8924a 3421Author: Lasse Collin <lasse.collin@tukaani.org> 3422Date: Wed Jun 11 15:08:44 2008 +0300 3423 3424 Improve command line integer parsing a little in lzma and 3425 lzmadec to make them accept also KiB in addition Ki etc. 3426 Fix also memory usage information in lzmadec --help. 3427 3428commit 436fa5fae96d4e35759aed33066060f09ee8c6ef 3429Author: Lasse Collin <lasse.collin@tukaani.org> 3430Date: Tue Jun 10 20:36:12 2008 +0300 3431 3432 s/decompressed/compressed/ in the command line tool's 3433 error message. 3434 3435commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f 3436Author: Lasse Collin <lasse.collin@tukaani.org> 3437Date: Sun Jun 1 12:48:17 2008 +0300 3438 3439 Fix a buffer overflow in the LZMA encoder. It was due to my 3440 misunderstanding of the code. There's no tiny fix for this 3441 problem, so I also cleaned up the code in general. 3442 3443 This reduces the speed of the encoder 2-5 % in the fastest 3444 compression mode ("lzma -1"). High compression modes should 3445 have no noticeable performance difference. 3446 3447 This commit breaks things (especially LZMA_SYNC_FLUSH) but I 3448 will fix them once the new format and LZMA2 has been roughly 3449 implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all 3450 and won't be supported in the new .lzma format. This may 3451 change still but this is what it looks like now. 3452 3453 Support for known uncompressed size (that is, LZMA or LZMA2 3454 without EOPM) is likely to go away. This means there will 3455 be API changes. 3456 3457commit e55e0e873ce2511325749d415ae547d62ab5f00d 3458Author: Lasse Collin <lasse.collin@tukaani.org> 3459Date: Fri May 30 11:53:41 2008 +0300 3460 3461 Typo fixes from meyering. 3462 3463commit ed6664146fcbe9cc4a3b23b31632182ed812ea93 3464Author: Lasse Collin <lasse.collin@tukaani.org> 3465Date: Sun May 11 14:24:42 2008 +0300 3466 3467 Remove support for pre-C89 libc versions that lack memcpy, 3468 memmove, and memset. 3469 3470commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63 3471Author: Lasse Collin <lasse.collin@tukaani.org> 3472Date: Sun May 11 14:17:21 2008 +0300 3473 3474 Improved C99 compiler detection in configure.ac. It will 3475 pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic 3476 should still give warnings about GNU extensions like before 3477 except with some special keywords like asm(). 3478 3479commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf 3480Author: Lasse Collin <lasse.collin@tukaani.org> 3481Date: Tue May 6 15:15:07 2008 +0300 3482 3483 Bunch of grammar fixes from meyering. 3484 3485commit dc192b6343ae36276c85fcf7ef6006147816eadc 3486Author: Lasse Collin <lasse.collin@tukaani.org> 3487Date: Tue May 6 13:41:05 2008 +0300 3488 3489 Typo fix 3490 3491commit 944b62b93239b27b338d117f2668c0e95849659b 3492Author: Lasse Collin <lasse.collin@tukaani.org> 3493Date: Sun May 4 22:29:27 2008 +0300 3494 3495 Don't print an error message on broken pipe unless --verbose 3496 is used. 3497 3498commit 8e074349e47ea6832b8fdf9244e581d453733433 3499Author: Lasse Collin <lasse.collin@tukaani.org> 3500Date: Wed Apr 30 22:16:17 2008 +0300 3501 3502 Fix a crash with --format=alone if other filters than LZMA 3503 are specified on the command line. 3504 3505commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73 3506Author: Lasse Collin <lasse.collin@tukaani.org> 3507Date: Mon Apr 28 17:08:27 2008 +0300 3508 3509 Updated THANKS. 3510 3511commit 3be21fb12f4cec2cf07799e8960382f4cb375369 3512Author: Lasse Collin <lasse.collin@tukaani.org> 3513Date: Mon Apr 28 17:06:34 2008 +0300 3514 3515 Fixed wrong spelling "limitter" to "limiter". This affects 3516 liblzma's API. 3517 3518commit beeb81060821dfec4e7898e0d44b7900dcb2215e 3519Author: Lasse Collin <lasse.collin@tukaani.org> 3520Date: Fri Apr 25 15:39:50 2008 +0300 3521 3522 Prevent LZ encoder from hanging with known uncompressed 3523 size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream 3524 with known uncompressed size, but since it currently seems 3525 likely that support for encoding with known uncompressed 3526 size will go away anyway, I'm not fixing this problem now. 3527 3528commit c324325f9f13cdeb92153c5d00962341ba070ca2 3529Author: Lasse Collin <lasse.collin@tukaani.org> 3530Date: Fri Apr 25 13:58:56 2008 +0300 3531 3532 Removed src/liblzma/common/sysdefs.h symlink, which was 3533 annoying, because "make dist" put two copies of sysdefs.h 3534 into the tarball instead of the symlink. 3535 3536commit d3ba30243c75c13d094de1793f9c58acdbacc692 3537Author: Lasse Collin <lasse.collin@tukaani.org> 3538Date: Fri Apr 25 13:41:29 2008 +0300 3539 3540 Added memusage.c to debug directory. 3541 3542commit 8f804c29aa8471ccd6438ddca254092b8869ca52 3543Author: Lasse Collin <lasse.collin@tukaani.org> 3544Date: Fri Apr 25 13:32:35 2008 +0300 3545 3546 Bumped version number to 4.999.3alpha. It will become 5.0.0 3547 once we have a stable release (won't be very soon). The 3548 version number is no longer related to version of LZMA SDK. 3549 3550 Made some small Automake-related changes to toplevel 3551 Makefile.am and configure.ac. 3552 3553commit c99037ea10f121cbacf60c37a36c29768ae53447 3554Author: Lasse Collin <lasse.collin@tukaani.org> 3555Date: Thu Apr 24 20:25:39 2008 +0300 3556 3557 Fix a memory leak by calling free(extra->data) in 3558 lzma_extra_free(). 3559 3560commit 22ba3b0b5043fa481903482ce85015fe775939e5 3561Author: Lasse Collin <lasse.collin@tukaani.org> 3562Date: Thu Apr 24 20:23:05 2008 +0300 3563 3564 Make unlzma and lzcat symlinks. 3565 3566commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e 3567Author: Lasse Collin <lasse.collin@tukaani.org> 3568Date: Thu Apr 24 20:20:27 2008 +0300 3569 3570 Fixed a bug in command line option parsing. 3571 3572commit 283f939974c32c47f05d495e8dea455ec646ed64 3573Author: Lasse Collin <lasse.collin@tukaani.org> 3574Date: Thu Apr 24 20:19:20 2008 +0300 3575 3576 Added two assert()s. 3577 3578commit eb348a60b6e19a7c093f892434f23c4756973ffd 3579Author: Lasse Collin <lasse.collin@tukaani.org> 3580Date: Thu Apr 24 19:22:53 2008 +0300 3581 3582 Switch to uint16_t as the type of range coder probabilities. 3583 3584commit 6c5306e312bcfd254cf654f88c04e34ba786df3d 3585Author: Lasse Collin <lasse.collin@tukaani.org> 3586Date: Thu Apr 24 18:39:57 2008 +0300 3587 3588 Fix wrong return type (uint32_t -> bool). 3589 3590commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8 3591Author: Lasse Collin <lasse.collin@tukaani.org> 3592Date: Thu Apr 24 18:38:00 2008 +0300 3593 3594 Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH. 3595 3596commit bc04486e368d20b3027cde625267762aae063965 3597Author: Lasse Collin <lasse.collin@tukaani.org> 3598Date: Thu Apr 24 17:33:01 2008 +0300 3599 3600 Fix fastpos problem in Makefile.am when built with --enable-small. 3601 3602commit 7ab493924e0ed590a5121a15ee54038d238880d3 3603Author: Lasse Collin <lasse.collin@tukaani.org> 3604Date: Thu Apr 24 17:30:51 2008 +0300 3605 3606 Use 64-bit integer as range encoder's cache size. This fixes a 3607 theoretical data corruption, which should be very hard to trigger 3608 even intentionally. 3609 3610commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b 3611Author: Lasse Collin <lasse.collin@tukaani.org> 3612Date: Mon Mar 24 16:38:40 2008 +0200 3613 3614 Replaced the range decoder optimization that used arithmetic 3615 right shift with as fast version that doesn't need 3616 arithmetic right shift. Removed the related check from 3617 configure.ac. 3618 3619commit ad999efd279d95f1e7ac555b14170e8e9020488c 3620Author: Lasse Collin <lasse.collin@tukaani.org> 3621Date: Sat Mar 22 14:39:34 2008 +0200 3622 3623 Take advantage of arithmetic right shift in range decoder. 3624 3625commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d 3626Author: Lasse Collin <lasse.collin@tukaani.org> 3627Date: Sat Mar 22 14:18:29 2008 +0200 3628 3629 Added autoconf check to detect if we can use arithmetic 3630 right shift for optimizations. 3631 3632commit 7521bbdc83acab834594a22bec50c8e1bd836298 3633Author: Lasse Collin <lasse.collin@tukaani.org> 3634Date: Sat Mar 22 01:26:36 2008 +0200 3635 3636 Update a comment to use the variable name rep_len_decoder. 3637 3638 (And BTW, the previous commit actually did change the 3639 program logic slightly.) 3640 3641commit 63b74d000eedaebb8485f623e56864ff5ab71064 3642Author: Lasse Collin <lasse.collin@tukaani.org> 3643Date: Sat Mar 22 00:57:33 2008 +0200 3644 3645 Demystified the "state" variable in LZMA code. Use the 3646 word literal instead of char for better consistency. 3647 There are still some names with _char instead of _literal 3648 in lzma_optimum, these may be changed later. 3649 3650 Renamed length coder variables. 3651 3652 This commit doesn't change the program logic. 3653 3654commit e6eb0a26757e851cef62b9440319a8e73b015cb9 3655Author: Lasse Collin <lasse.collin@tukaani.org> 3656Date: Fri Mar 14 23:16:11 2008 +0200 3657 3658 Fix data corruption in LZMA encoder. Note that this bug was 3659 specific to liblzma and was *not* present in LZMA SDK. 3660 3661commit 7d516f5129e4373a6d57249d7f608c634c66bf12 3662Author: Lasse Collin <lasse.collin@tukaani.org> 3663Date: Fri Mar 14 21:32:37 2008 +0200 3664 3665 Fix a comment API header. 3666 3667commit 748d6e4274921a350bd0a317380309717441ef9c 3668Author: Lasse Collin <lasse.collin@tukaani.org> 3669Date: Wed Mar 12 23:14:50 2008 +0200 3670 3671 Make lzma_stream.next_in const. Let's see if anyone complains. 3672 3673commit bfde3b24a5ae25ce53c854762b6148952386b025 3674Author: Lasse Collin <lasse.collin@tukaani.org> 3675Date: Tue Mar 11 15:35:34 2008 +0200 3676 3677 Apply a minor speed optimization to LZMA decoder. 3678 3679commit f310c50286d9e4e9c6170bb65348c9bb430a65b4 3680Author: Lasse Collin <lasse.collin@tukaani.org> 3681Date: Tue Mar 11 15:17:16 2008 +0200 3682 3683 Initialize the last byte of the dictionary to zero so that 3684 lz_get_byte(lz, 0) returns zero. This was broken by 3685 1a3b21859818e4d8e89a1da99699233c1bfd197d. 3686 3687commit 5ead36cf7f823093672a4e43c3180b38c9abbaff 3688Author: Lasse Collin <lasse.collin@tukaani.org> 3689Date: Mon Mar 10 15:57:55 2008 +0200 3690 3691 Really fix the price count initialization. 3692 3693commit d4d7feb83d1a1ded8f662a82e21e053841ca726c 3694Author: Lasse Collin <lasse.collin@tukaani.org> 3695Date: Mon Mar 10 13:47:17 2008 +0200 3696 3697 Updated THANKS. 3698 3699commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258 3700Author: Lasse Collin <lasse.collin@tukaani.org> 3701Date: Mon Mar 10 13:46:48 2008 +0200 3702 3703 Initialize align_price_count and match_price_count in 3704 lzma_encoder_init.c. While we don't call 3705 fill_distances_prices() and fill_align_prices() in 3706 lzma_lzma_encoder_init(), we still need to initialize 3707 these two variables so that the fill functions get 3708 called in lzma_encoder_getoptimum.c in the beginning 3709 of a stream. 3710 3711commit 596fa1fac72823e4ef5bc26bb53f9090445bf748 3712Author: Lasse Collin <lasse.collin@tukaani.org> 3713Date: Mon Mar 10 13:44:29 2008 +0200 3714 3715 Always initialize lz->temp_size in lz_decoder.c. temp_size did 3716 get initialized as a side-effect after allocating a new decoder, 3717 but not when the decoder was reused. 3718 3719commit 45e43e169527e7a98a8c8a821d37bf25822b764d 3720Author: Lasse Collin <lasse.collin@tukaani.org> 3721Date: Mon Mar 10 13:41:25 2008 +0200 3722 3723 Don't fill allocated memory with 0xFD when debugging is 3724 enabled. It hides errors from Valgrind. 3725 3726commit c0e19e0662205f81a86da8903cdc325d50635870 3727Author: Lasse Collin <lasse.collin@tukaani.org> 3728Date: Thu Feb 28 10:24:31 2008 +0200 3729 3730 Remove two redundant validity checks from the LZMA decoder. 3731 These are already checked elsewhere, so omitting these 3732 gives (very) tiny speed up. 3733 3734commit de7485806284d1614095ae8cb2ebbb5d74c9ac45 3735Author: Lasse Collin <lasse.collin@tukaani.org> 3736Date: Wed Feb 6 13:25:32 2008 +0200 3737 3738 Tiny clean up to file-format.txt. 3739 3740commit 1a3b21859818e4d8e89a1da99699233c1bfd197d 3741Author: Lasse Collin <lasse.collin@tukaani.org> 3742Date: Sat Feb 2 14:51:06 2008 +0200 3743 3744 Don't memzero() the history buffer when initializing LZ 3745 decoder. There's no danger of information leak here, so 3746 it isn't required. Doing memzero() takes a lot of time 3747 with large dictionaries, which could make it easier to 3748 construct DoS attack to consume too much CPU time. 3749 3750commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0 3751Author: Lasse Collin <lasse.collin@tukaani.org> 3752Date: Fri Feb 1 08:39:26 2008 +0200 3753 3754 Do uncompressed size validation in raw encoder. This way 3755 it gets done for not only raw encoder, but also Block 3756 and LZMA_Alone encoders. 3757 3758commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc 3759Author: Lasse Collin <lasse.collin@tukaani.org> 3760Date: Fri Feb 1 08:32:05 2008 +0200 3761 3762 Avoid unneeded function call in raw_common.c. 3763 3764commit b596fac963c3ff96f615d4d9b427a213ec341211 3765Author: Lasse Collin <lasse.collin@tukaani.org> 3766Date: Sat Jan 26 21:42:38 2008 +0200 3767 3768 Updated THANKS. 3769 3770commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2 3771Author: Lasse Collin <lasse.collin@tukaani.org> 3772Date: Sat Jan 26 21:40:23 2008 +0200 3773 3774 Added note.GNU-stack to x86 assembler files. It is needed 3775 when using non-executable stack. 3776 3777commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae 3778Author: Lasse Collin <lasse.collin@tukaani.org> 3779Date: Sat Jan 26 19:12:50 2008 +0200 3780 3781 Added api/lzma/easy.h. I had forgot to add this to the 3782 git repo. Thanks to Stephan Kulow. 3783 3784commit 288b232f54c3692cd36f471d4042f51daf3ea79f 3785Author: Lasse Collin <lasse.collin@tukaani.org> 3786Date: Sat Jan 26 11:09:17 2008 +0200 3787 3788 Added more test files. 3789 3790commit c467b0defccf233d0c79234407bc38d7d09574d3 3791Author: Lasse Collin <lasse.collin@tukaani.org> 3792Date: Sat Jan 26 10:47:55 2008 +0200 3793 3794 Added more test files. 3795 3796commit f9842f712732c482f2def9f24437851e57dd83f8 3797Author: Lasse Collin <lasse.collin@tukaani.org> 3798Date: Sat Jan 26 00:25:34 2008 +0200 3799 3800 Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any 3801 of the so called simple filters. If there is demand, limited 3802 support for LZMA_SYNC_FLUSH may be added in future. 3803 3804 After this commit, using LZMA_SYNC_FLUSH shouldn't cause 3805 undefined behavior in any situation. 3806 3807commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa 3808Author: Lasse Collin <lasse.collin@tukaani.org> 3809Date: Fri Jan 25 23:50:35 2008 +0200 3810 3811 Added more Multi-Block test files. Improved some 3812 descriptions in the test files' README. 3813 3814commit 4441e004185cd4c61bda184010eca5924c9dec87 3815Author: Lasse Collin <lasse.collin@tukaani.org> 3816Date: Fri Jan 25 23:12:36 2008 +0200 3817 3818 Combine lzma_options_block validation needed by both Block 3819 encoder and decoder, and put the shared things to 3820 block_private.h. Improved the checks a little so that 3821 they may detect too big Compressed Size at initialization 3822 time if lzma_options_block.total_size or .total_limit is 3823 known. 3824 3825 Allow encoding and decoding Blocks with combinations of 3826 fields that are not allowed by the file format specification. 3827 Doing this requires that the application passes such a 3828 combination in lzma_options_lzma; liblzma doesn't do that, 3829 but it's not impossible that someone could find them useful 3830 in some custom file format. 3831 3832commit bf4200c818fcf9102e56328d39cde91bfa13cfb6 3833Author: Lasse Collin <lasse.collin@tukaani.org> 3834Date: Fri Jan 25 19:21:22 2008 +0200 3835 3836 Added test_memlimit.c. 3837 3838commit 7b8fc7e6b501a32a36636dac79ecb57099269005 3839Author: Lasse Collin <lasse.collin@tukaani.org> 3840Date: Fri Jan 25 19:20:28 2008 +0200 3841 3842 Improved the memory limitter: 3843 - Added lzma_memlimit_max() and lzma_memlimit_reached() 3844 API functions. 3845 - Added simple estimation of malloc()'s memory usage 3846 overhead. 3847 - Fixed integer overflow detection in lzma_memlimit_alloc(). 3848 - Made some white space cleanups and added more comments. 3849 3850 The description of lzma_memlimit_max() in memlimit.h is bad 3851 and should be improved. 3852 3853commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db 3854Author: Lasse Collin <lasse.collin@tukaani.org> 3855Date: Fri Jan 25 13:55:52 2008 +0200 3856 3857 Use more parenthesis in succeed() macro in tests/tests.h. 3858 3859commit 1fd76d488179580d37f31ee11948f4932aed31fd 3860Author: Lasse Collin <lasse.collin@tukaani.org> 3861Date: Thu Jan 24 14:49:34 2008 +0200 3862 3863 Added more Multi-Block Stream test files. 3864 3865commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936 3866Author: Lasse Collin <lasse.collin@tukaani.org> 3867Date: Thu Jan 24 00:46:05 2008 +0200 3868 3869 Added bunch of test files containing Multi-Block Streams. 3870 3871commit db9df0a9609c01a00a227329fb96e983971040f5 3872Author: Lasse Collin <lasse.collin@tukaani.org> 3873Date: Wed Jan 23 23:43:00 2008 +0200 3874 3875 Fix decoding of empty Metadata Blocks, that don't have 3876 even the Metadata Flags field. Earlier the code allowed 3877 such files; now they are prohibited as the file format 3878 specification requires. 3879 3880commit 765f0b05f6e95ed9194fb90819cee189ebbac36b 3881Author: Lasse Collin <lasse.collin@tukaani.org> 3882Date: Wed Jan 23 23:38:18 2008 +0200 3883 3884 Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6. 3885 lzma_metadata.header_metadata_size was not properly set to 3886 zero if the Metadata had only the Metadata Flags field. 3887 3888commit 3a7cc5c3dec7b078941f961b0393b86c418883b6 3889Author: Lasse Collin <lasse.collin@tukaani.org> 3890Date: Wed Jan 23 23:35:49 2008 +0200 3891 3892 Fix decoding of Extra Records that have empty Data. 3893 3894commit e5fdec93e273855c1bcc2579b83cfb481a9a1492 3895Author: Lasse Collin <lasse.collin@tukaani.org> 3896Date: Wed Jan 23 22:02:38 2008 +0200 3897 3898 Add the trailing '\0' to lzma_extra.data as the API header 3899 already documents. 3900 3901commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e 3902Author: Lasse Collin <lasse.collin@tukaani.org> 3903Date: Wed Jan 23 21:21:21 2008 +0200 3904 3905 Added debug/full_flush.c. 3906 3907commit ae0cd09a666a1682da8fc09487322227679e218d 3908Author: Lasse Collin <lasse.collin@tukaani.org> 3909Date: Wed Jan 23 21:05:33 2008 +0200 3910 3911 Return LZMA_STREAM_END instead of LZMA_OK if 3912 LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when 3913 there's no unfinished Block open. 3914 3915commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db 3916Author: Lasse Collin <lasse.collin@tukaani.org> 3917Date: Wed Jan 23 20:05:01 2008 +0200 3918 3919 Added bad-single-none-footer_filter_flags.lzma and 3920 bad-single-none-too_long_vli.lzma. 3921 3922commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd 3923Author: Lasse Collin <lasse.collin@tukaani.org> 3924Date: Wed Jan 23 13:42:35 2008 +0200 3925 3926 Fixed a typo. 3927 3928commit 980f65a9a10160c4d105767871e3002b9aaba3e0 3929Author: Lasse Collin <lasse.collin@tukaani.org> 3930Date: Wed Jan 23 13:40:45 2008 +0200 3931 3932 Fix a memory leak in the Subblock encoder. 3933 3934commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6 3935Author: Lasse Collin <lasse.collin@tukaani.org> 3936Date: Wed Jan 23 13:36:07 2008 +0200 3937 3938 Fix Size of Header Metadata Block handling. Now 3939 lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN 3940 is not allowed at all. To indicate missing Header Metadata 3941 Block, header_metadata_size must be set to zero. This is 3942 what Metadata decoder does after this patch too. 3943 3944 Note that other missing fields in lzma_metadata are still 3945 indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as 3946 illogical as it sounds at first, because missing Size of 3947 Header Metadata Block means that Header Metadata Block is 3948 not present in the Stream. With other Metadata fields, 3949 a missing field means only that the value is unknown. 3950 3951commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81 3952Author: Lasse Collin <lasse.collin@tukaani.org> 3953Date: Wed Jan 23 13:15:55 2008 +0200 3954 3955 Fix a memory leak in metadata_decoder.c. 3956 3957commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae 3958Author: Lasse Collin <lasse.collin@tukaani.org> 3959Date: Wed Jan 23 13:13:58 2008 +0200 3960 3961 Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which 3962 just moved to problem. Now it's really fixed. 3963 3964commit 67321de963ccf69410b3868b8e31534fe18a90de 3965Author: Lasse Collin <lasse.collin@tukaani.org> 3966Date: Wed Jan 23 00:21:04 2008 +0200 3967 3968 Take advantage of return_if_error() macro in 3969 lzma_info_metadata_set() in info.c. 3970 3971commit 863028cb7ad6d8d0455fa69348f56b376d7b908f 3972Author: Lasse Collin <lasse.collin@tukaani.org> 3973Date: Wed Jan 23 00:18:32 2008 +0200 3974 3975 Fixed a dangling pointer that caused invalid free(). 3976 3977commit cf49f42a6bd40143f54a6b10d6e605599e958c0b 3978Author: Lasse Collin <lasse.collin@tukaani.org> 3979Date: Tue Jan 22 22:49:24 2008 +0200 3980 3981 Added lzma_easy_* functions. These should make using 3982 liblzma as easy as using zlib, because the easy API 3983 don't require developers to know any fancy LZMA options. 3984 3985 Note that Multi-Block Stream encoding is currently broken. 3986 The easy API should be OK, the bug(s) are elsewhere. 3987 3988commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a 3989Author: Lasse Collin <lasse.collin@tukaani.org> 3990Date: Tue Jan 22 21:16:22 2008 +0200 3991 3992 Fix Multi-Block Stream encoder's EOPM usage. 3993 3994commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6 3995Author: Lasse Collin <lasse.collin@tukaani.org> 3996Date: Tue Jan 22 00:15:11 2008 +0200 3997 3998 Made lzma_extra pointers const in lzma_options_stream. 3999 4000commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4 4001Author: Lasse Collin <lasse.collin@tukaani.org> 4002Date: Sun Jan 20 20:15:21 2008 +0200 4003 4004 Updated debug/sync_flush.c. 4005 4006commit d53e9b77054cfade6a643e77d085273a348b189c 4007Author: Lasse Collin <lasse.collin@tukaani.org> 4008Date: Sun Jan 20 20:14:26 2008 +0200 4009 4010 Added debug/repeat.c. 4011 4012commit 107259e306bcfc2336a0fb870fb58034c28faa52 4013Author: Lasse Collin <lasse.collin@tukaani.org> 4014Date: Sun Jan 20 20:12:58 2008 +0200 4015 4016 Fix alignment handling bugs in Subblock encoder. 4017 4018 This leaves one known alignment bug unfixed: If repeat count 4019 doesn't fit into 28-bit integer, the encoder has to split 4020 this to multiple Subblocks with Subblock Type `Repeating Data'. 4021 The extra Subblocks may have wrong alignment. Correct alignment 4022 is restored after the split Repeating Data has been completely 4023 written out. 4024 4025 Since the encoder doesn't even try to fix the alignment unless 4026 the size of Data is at least 4 bytes, to trigger this bug you 4027 need at least 4 GiB of repeating data with sequence length of 4028 4 or more bytes. Since the worst thing done by this bug is 4029 misaligned data (no data corruption), this bug simply isn't 4030 worth fixing, because a proper fix isn't simple. 4031 4032commit e141fe18950400faaa3503ff88ac20eacd73e88c 4033Author: Lasse Collin <lasse.collin@tukaani.org> 4034Date: Sat Jan 19 21:16:33 2008 +0200 4035 4036 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder. 4037 The API for handing Subfilters was changed to make it 4038 consistent with LZMA_SYNC_FLUSH. 4039 4040 A few sanity checks were added for Subfilter handling. Some 4041 small bugs were fixed. More comments were added. 4042 4043commit 23c227a864a3b69f38c6a74306161d4e6918d1cc 4044Author: Lasse Collin <lasse.collin@tukaani.org> 4045Date: Sat Jan 19 15:19:21 2008 +0200 4046 4047 Revised the Delta filter implementation. The initialization 4048 function is still shared between encoder and decoder, but the 4049 actual coding is in separate files for encoder and decoder. 4050 4051 There are now separate functions for the actual delta 4052 calculation depending on if Delta is the last filter in the 4053 chain or not. If it is the last, the new code copies the 4054 data from input to output buffer and does the delta 4055 calculation at the same time. The old code first copied the 4056 data, then did the delta in the target buffer, which required 4057 reading through the data twice. 4058 4059 Support for LZMA_SYNC_FLUSH was added to the Delta encoder. 4060 This doesn't change anything in the file format. 4061 4062commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73 4063Author: Lasse Collin <lasse.collin@tukaani.org> 4064Date: Fri Jan 18 20:18:08 2008 +0200 4065 4066 Added the debug directory and the first debug tool 4067 (sync_flush). These tools are not built unless the 4068 user runs "make" in the debug directory. 4069 4070commit 0ae3208db94585eb8294b97ded387de0a3a07646 4071Author: Lasse Collin <lasse.collin@tukaani.org> 4072Date: Fri Jan 18 20:13:00 2008 +0200 4073 4074 Added test files to test usage of flush marker in LZMA. 4075 4076commit ab5feaf1fcc146ef9fd39360c53c290bec39524e 4077Author: Lasse Collin <lasse.collin@tukaani.org> 4078Date: Fri Jan 18 20:02:52 2008 +0200 4079 4080 Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders. 4081 That code is now almost completely in LZ coder, where 4082 it can be shared with other LZ77-based algorithms in 4083 future. 4084 4085commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585 4086Author: Lasse Collin <lasse.collin@tukaani.org> 4087Date: Fri Jan 18 17:21:24 2008 +0200 4088 4089 Don't add -g to CFLAGS when --enable-debug is specified. 4090 It's the job of the user to put that in CFLAGS. 4091 4092commit 61d1784d8f1761d979a6da6e223e279ca33815e6 4093Author: Lasse Collin <lasse.collin@tukaani.org> 4094Date: Fri Jan 18 14:17:37 2008 +0200 4095 4096 Set stdin and stdout to binary mode on Windows. This patch is 4097 a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068 4098 from lzma-utils-legacy.git. I don't know if the new code base 4099 builds on Windows, but this is a start. 4100 4101commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c 4102Author: Lasse Collin <lasse.collin@tukaani.org> 4103Date: Fri Jan 18 00:50:29 2008 +0200 4104 4105 Added test_compress.sh and bunch of files needed by it. 4106 This new set of tests compress and decompress several 4107 test files with many different compression options. 4108 This set of tests will be extended later. 4109 4110commit 33be3c0e24d8f43376ccf71cc77d53671e792f07 4111Author: Lasse Collin <lasse.collin@tukaani.org> 4112Date: Thu Jan 17 18:56:53 2008 +0200 4113 4114 Subblock decoder: Don't exit the main loop in decode_buffer() 4115 too early if we hit End of Input while decoding a Subblock of 4116 type Repeating Data. To keep the loop termination condition 4117 elegant, the order of enumerations in coder->sequence were 4118 changed. 4119 4120 To keep the case-labels in roughly the same order as the 4121 enumerations in coder->sequence, large chunks of code was 4122 moved around. This made the diff big and ugly compared to 4123 the amount of the actual changes made. 4124 4125commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd 4126Author: Lasse Collin <lasse.collin@tukaani.org> 4127Date: Thu Jan 17 17:39:42 2008 +0200 4128 4129 Fix wrong too small size of argument unfiltered_max 4130 in ia64_coder_init(). It triggered assert() in 4131 simple_coder.c, and could have caused a buffer overflow. 4132 4133 This error was probably a copypaste mistake, since most 4134 of the simple filters use unfiltered_max = 4. 4135 4136commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a 4137Author: Lasse Collin <lasse.collin@tukaani.org> 4138Date: Thu Jan 17 17:27:45 2008 +0200 4139 4140 Added --delta to the output of "lzma --help". 4141 4142commit f88590e0014b38d40465937c19f25f05f16c79ae 4143Author: Lasse Collin <lasse.collin@tukaani.org> 4144Date: Thu Jan 17 13:14:20 2008 +0200 4145 4146 Fix Subblock docoder: If Subblock filter was used with known 4147 Uncompressed Size, and the last output byte was from RLE, 4148 the code didn't stop decoding as it should have done. 4149 4150commit bc0b945ca376e333077644d2f7fd54c2848aab8a 4151Author: Lasse Collin <lasse.collin@tukaani.org> 4152Date: Wed Jan 16 16:33:37 2008 +0200 4153 4154 Tiny non-technical edits to file-format.txt. 4155 4156commit 7599bb7064ccf007f054595dedda7927af868252 4157Author: Lasse Collin <lasse.collin@tukaani.org> 4158Date: Wed Jan 16 14:48:04 2008 +0200 4159 4160 Plugged a memory leak in stream_decoder.c. 4161 4162commit 0b581539311f3712946e81e747839f8fb5f441a7 4163Author: Lasse Collin <lasse.collin@tukaani.org> 4164Date: Wed Jan 16 14:47:27 2008 +0200 4165 4166 Added memory leak detection to lzmadec.c. 4167 4168commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4 4169Author: Lasse Collin <lasse.collin@tukaani.org> 4170Date: Wed Jan 16 14:46:50 2008 +0200 4171 4172 Added lzma_memlimit_count(). 4173 4174commit 19389f2b82ec54fd4c847a18f16482e7be4c9887 4175Author: Lasse Collin <lasse.collin@tukaani.org> 4176Date: Wed Jan 16 14:31:44 2008 +0200 4177 4178 Added ARRAY_SIZE(array) macro. 4179 4180commit 9bc33a54cbf83952130adbcb1be32c6882485416 4181Author: Lasse Collin <lasse.collin@tukaani.org> 4182Date: Wed Jan 16 13:27:03 2008 +0200 4183 4184 Make Uncompresed Size validation more strict 4185 in alone_decoder.c. 4186 4187commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883 4188Author: Lasse Collin <lasse.collin@tukaani.org> 4189Date: Tue Jan 15 17:46:59 2008 +0200 4190 4191 Free the allocated memory in lzmadec if debugging is 4192 enabled. This should make it possible to detect possible 4193 memory leaks with Valgrind. 4194 4195commit 8235e6e5b2878f76633afcda9a334640db503ef5 4196Author: Lasse Collin <lasse.collin@tukaani.org> 4197Date: Tue Jan 15 16:25:38 2008 +0200 4198 4199 Fix memory leaks from test_block_header.c. 4200 4201commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6 4202Author: Lasse Collin <lasse.collin@tukaani.org> 4203Date: Tue Jan 15 14:23:35 2008 +0200 4204 4205 Use fastpos.h when encoding LZMA dictionary size in 4206 Filter Flags encoder. 4207 4208commit e5728142a2048979f5c0c2149ce71ae952a092e1 4209Author: Lasse Collin <lasse.collin@tukaani.org> 4210Date: Tue Jan 15 14:02:22 2008 +0200 4211 4212 Revised the fastpos code. It now uses the slightly faster 4213 table-based version from LZMA SDK 4.57. This should be 4214 fast on most systems. 4215 4216 A simpler and smaller alternative version is also provided. 4217 On some CPUs this can be even a little faster than the 4218 default table-based version (see comments in fastpos.h), 4219 but on most systems the table-based code is faster. 4220 4221commit 10437b5b567f6a025ff16c45a572e417a0a9cc26 4222Author: Lasse Collin <lasse.collin@tukaani.org> 4223Date: Tue Jan 15 13:32:13 2008 +0200 4224 4225 Added bsr.h. 4226 4227commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244 4228Author: Lasse Collin <lasse.collin@tukaani.org> 4229Date: Tue Jan 15 13:29:14 2008 +0200 4230 4231 Fixed assembler detection in configure.ac, and added 4232 detection for x86_64. 4233 4234commit 54ec204f58287f50d3976288295da4188a19192b 4235Author: Lasse Collin <lasse.collin@tukaani.org> 4236Date: Tue Jan 15 12:20:41 2008 +0200 4237 4238 Omit invalid space from printf() format string 4239 in price_table_gen.c. 4240 4241commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1 4242Author: Lasse Collin <lasse.collin@tukaani.org> 4243Date: Tue Jan 15 09:54:34 2008 +0200 4244 4245 Removed a few unused macros from lzma_common.h. 4246 4247commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d 4248Author: Lasse Collin <lasse.collin@tukaani.org> 4249Date: Tue Jan 15 08:37:42 2008 +0200 4250 4251 Fix a typo in lzma_encoder.c. 4252 4253commit 9f9b1983013048f2142e8bc7e240149d2687bedc 4254Author: Lasse Collin <lasse.collin@tukaani.org> 4255Date: Tue Jan 15 08:36:25 2008 +0200 4256 4257 Convert bittree_get_price() and bittree_reverse_get_price() 4258 from macros to inline functions. 4259 4260commit 78e85cb1a7667c54853670d2eb09d754bcbda87d 4261Author: Lasse Collin <lasse.collin@tukaani.org> 4262Date: Tue Jan 15 07:44:59 2008 +0200 4263 4264 Fix CRC code in case --enable-small is used. 4265 4266commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0 4267Author: Lasse Collin <lasse.collin@tukaani.org> 4268Date: Tue Jan 15 07:41:39 2008 +0200 4269 4270 Fix typo in test_index.c. 4271 4272commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6 4273Author: Lasse Collin <lasse.collin@tukaani.org> 4274Date: Tue Jan 15 07:40:21 2008 +0200 4275 4276 Added precomputed range coder probability price table. 4277 4278commit 362dc3843b373c1007a50a4719f378981f18ae03 4279Author: Lasse Collin <lasse.collin@tukaani.org> 4280Date: Mon Jan 14 13:42:43 2008 +0200 4281 4282 Remove RC_BUFFER_SIZE from lzma_encoder_private.h 4283 and replace it with a sanity check. 4284 4285commit e22b37968d153683fec61ad37b6b160cb7ca4ddc 4286Author: Lasse Collin <lasse.collin@tukaani.org> 4287Date: Mon Jan 14 13:39:54 2008 +0200 4288 4289 Major changes to LZ encoder, LZMA encoder, and range encoder. 4290 These changes implement support for LZMA_SYNC_FLUSH in LZMA 4291 encoder, and move the temporary buffer needed by range encoder 4292 from lzma_range_encoder structure to lzma_lz_encoder. 4293 4294commit b59ef3973781f892c0a72b5e5934194567100be5 4295Author: Lasse Collin <lasse.collin@tukaani.org> 4296Date: Mon Jan 14 13:34:29 2008 +0200 4297 4298 Added one assert() to process.c of the command line tool. 4299 4300commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7 4301Author: Lasse Collin <lasse.collin@tukaani.org> 4302Date: Mon Jan 14 12:09:52 2008 +0200 4303 4304 Don't use coder->lz.stream_end_was_reached in assertions 4305 in match_c.h. 4306 4307commit 3e09e1c05871f3757f759b801890ccccc9286608 4308Author: Lasse Collin <lasse.collin@tukaani.org> 4309Date: Mon Jan 14 12:08:02 2008 +0200 4310 4311 In lzma_read_match_distances(), don't use 4312 coder->lz.stream_end_was_reached. That variable 4313 will be removed, and the check isn't required anyway. 4314 Rearrange the check so that it doesn't make one to 4315 think that there could be an integer overflow. 4316 4317commit a670fec8021e5962429689c194148a04c3418872 4318Author: Lasse Collin <lasse.collin@tukaani.org> 4319Date: Mon Jan 14 11:56:41 2008 +0200 4320 4321 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders. 4322 4323commit 3599dba9570a6972a16b6398d6c838e9b420e985 4324Author: Lasse Collin <lasse.collin@tukaani.org> 4325Date: Mon Jan 14 11:54:56 2008 +0200 4326 4327 More fixes to LZMA decoder's flush marker handling. 4328 4329commit f73c2ab6079ed5675a42b39d584a567befbd4624 4330Author: Lasse Collin <lasse.collin@tukaani.org> 4331Date: Thu Jan 10 17:13:42 2008 +0200 4332 4333 Eliminate lzma_lz_encoder.must_move_pos. It's needed 4334 only in one place which isn't performance criticial. 4335 4336commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd 4337Author: Lasse Collin <lasse.collin@tukaani.org> 4338Date: Wed Jan 9 20:05:57 2008 +0200 4339 4340 Define HAVE_ASM_X86 when x86 assembler optimizations are 4341 used. This #define will be useful for inline assembly. 4342 4343commit 0e70fbe4032351aab13a1cd8e5deced105c0b276 4344Author: Lasse Collin <lasse.collin@tukaani.org> 4345Date: Wed Jan 9 12:06:46 2008 +0200 4346 4347 Added good-single-none-empty_3.lzma and 4348 bad-single-none-empty.lzma. 4349 4350commit 379fbbe84d922c7cc00afa65c6f0c095da596b19 4351Author: Lasse Collin <lasse.collin@tukaani.org> 4352Date: Tue Jan 8 23:11:59 2008 +0200 4353 4354 Take advantage of return_if_error() in block_decoder.c. 4355 4356commit 97d5fa82077e57815dfad995dc393c2809a78539 4357Author: Lasse Collin <lasse.collin@tukaani.org> 4358Date: Tue Jan 8 23:10:57 2008 +0200 4359 4360 Updated tests/files/README. 4361 4362commit 3bb9bb310936cba6a743b4f06739a397dec7c28f 4363Author: Lasse Collin <lasse.collin@tukaani.org> 4364Date: Tue Jan 8 23:05:40 2008 +0200 4365 4366 Added test files with empty Compressed Data. 4367 4368commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f 4369Author: Lasse Collin <lasse.collin@tukaani.org> 4370Date: Tue Jan 8 22:58:42 2008 +0200 4371 4372 Fix decoding of Blocks that have only Block Header. 4373 4374commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4 4375Author: Lasse Collin <lasse.collin@tukaani.org> 4376Date: Tue Jan 8 22:27:46 2008 +0200 4377 4378 Added good-single-subblock_implicit.lzma. 4379 4380commit faeac7b7aca75f86afed1e7cc06279d9d497c627 4381Author: Lasse Collin <lasse.collin@tukaani.org> 4382Date: Tue Jan 8 18:50:30 2008 +0200 4383 4384 Disable CRC32 from Block Headers when --check=none 4385 has been specified. 4386 4387commit a751126dbb656767ed4666cf0e5d3e17349d93d1 4388Author: Lasse Collin <lasse.collin@tukaani.org> 4389Date: Tue Jan 8 13:36:29 2008 +0200 4390 4391 Fixed encoding of empty files. Arguments to is_size_valid() 4392 were in wrong order in block_encoder.c. 4393 4394commit 9080267603b1006c4867c823307dca9df8be0d20 4395Author: Lasse Collin <lasse.collin@tukaani.org> 4396Date: Tue Jan 8 13:35:36 2008 +0200 4397 4398 Added a few test files. 4399 4400commit b4943ccf73b64fc93a90a23474509c316f55eb2b 4401Author: Lasse Collin <lasse.collin@tukaani.org> 4402Date: Tue Jan 8 12:29:58 2008 +0200 4403 4404 Avoid using ! in test_files.sh, because that doesn't work 4405 with some ancient /bin/sh versions. 4406 4407commit e2417b2b9134f3f65e14b61e23cd3644d8954353 4408Author: Lasse Collin <lasse.collin@tukaani.org> 4409Date: Tue Jan 8 00:48:30 2008 +0200 4410 4411 More pre-C99 inttypes.h compatibility fixes. Now the code 4412 should work even if the system has no inttypes.h. 4413 4414commit 5d227e51c23639423f4ade06aabb54e131f8505e 4415Author: Lasse Collin <lasse.collin@tukaani.org> 4416Date: Mon Jan 7 23:25:32 2008 +0200 4417 4418 Updated fi.po although it's currently pretty much crap. 4419 4420commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d 4421Author: Lasse Collin <lasse.collin@tukaani.org> 4422Date: Mon Jan 7 23:14:25 2008 +0200 4423 4424 Test for $GCC = yes instead of if it is non-empty. This 4425 way it is possible to use ac_cv_c_compiler_gnu=no to 4426 force configure to think it is using non-GNU C compiler. 4427 4428commit 3dbbea82b74bb841c995ad332a3aeca613015e10 4429Author: Lasse Collin <lasse.collin@tukaani.org> 4430Date: Mon Jan 7 21:49:41 2008 +0200 4431 4432 Added test_files.sh to tests/Makefile.am so it gets 4433 included in the tarball with "make dist". 4434 4435commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0 4436Author: Lasse Collin <lasse.collin@tukaani.org> 4437Date: Mon Jan 7 18:22:24 2008 +0200 4438 4439 Cosmetic edit to test_files.sh. 4440 4441commit 9a71d573100a990ceb30ce0bec6a9a15d795605f 4442Author: Lasse Collin <lasse.collin@tukaani.org> 4443Date: Mon Jan 7 18:09:44 2008 +0200 4444 4445 Added tests/files/README. 4446 4447commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43 4448Author: Lasse Collin <lasse.collin@tukaani.org> 4449Date: Mon Jan 7 14:20:57 2008 +0200 4450 4451 Tell in COPYING that everything in tests/files is 4452 public domain. 4453 4454commit 3502b3e1d00251d3c8dda96079440705c28d8225 4455Author: Lasse Collin <lasse.collin@tukaani.org> 4456Date: Mon Jan 7 14:19:05 2008 +0200 4457 4458 Cleaned up the tests/files directory. 4459 4460commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c 4461Author: Lasse Collin <lasse.collin@tukaani.org> 4462Date: Mon Jan 7 13:49:19 2008 +0200 4463 4464 Added test_files.sh to test decoding of the files in 4465 the tests/files directory. It doesn't test the malicious 4466 files yet. 4467 4468commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6 4469Author: Lasse Collin <lasse.collin@tukaani.org> 4470Date: Mon Jan 7 11:23:13 2008 +0200 4471 4472 Updated README regarding the assembler optimizations. 4473 4474commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb 4475Author: Lasse Collin <lasse.collin@tukaani.org> 4476Date: Mon Jan 7 10:58:00 2008 +0200 4477 4478 Updated THANKS. 4479 4480commit 1239649f96132b18e3b7e2dd152ecf53a195caa8 4481Author: Lasse Collin <lasse.collin@tukaani.org> 4482Date: Sun Jan 6 21:47:17 2008 +0200 4483 4484 Cosmetic changes to configure.ac. 4485 4486commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e 4487Author: Lasse Collin <lasse.collin@tukaani.org> 4488Date: Sun Jan 6 19:46:38 2008 +0200 4489 4490 Automatically disable assembler code on Darwin x86. 4491 Darwin has different ABI than GNU+Linux and Solaris, 4492 thus the assembler code doesn't assemble on Darwin. 4493 4494commit c15a7abf66e3a70792f7444115e484c7981c8284 4495Author: Lasse Collin <lasse.collin@tukaani.org> 4496Date: Sun Jan 6 19:45:27 2008 +0200 4497 4498 With printf(), use PRIu64 with a cast to uint64_t instead 4499 of %zu, because some pre-C99 libc versions don't support %zu. 4500 4501commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb 4502Author: Lasse Collin <lasse.collin@tukaani.org> 4503Date: Sun Jan 6 16:27:41 2008 +0200 4504 4505 Introduced compatibility with systems that have pre-C99 4506 or no inttypes.h. This is useful when the compiler has 4507 good enough support for C99, but libc headers don't. 4508 4509 Changed liblzma API so that sys/types.h and inttypes.h 4510 have to be #included before #including lzma.h. On systems 4511 that don't have C99 inttypes.h, it's the problem of the 4512 applications to provide the required types and macros 4513 before #including lzma.h. 4514 4515 If lzma.h defined the missing types and macros, it could 4516 conflict with third-party applications whose configure 4517 has detected that the types are missing and defined them 4518 in config.h already. An alternative would have been 4519 introducing lzma_uint32 and similar types, but that would 4520 just be an extra pain on modern systems. 4521 4522commit a71864f77dfb76b5d78a270641539947c312583a 4523Author: Lasse Collin <lasse.collin@tukaani.org> 4524Date: Sat Jan 5 19:57:00 2008 +0200 4525 4526 Fix typo in comment (INT64_MAX -> UINT64_MAX). 4527 4528commit 072927905a3b66281c6311b4b351caa501d8b73a 4529Author: Lasse Collin <lasse.collin@tukaani.org> 4530Date: Sat Jan 5 19:42:04 2008 +0200 4531 4532 Rearranged testing of GCC-specific flags. 4533 4534commit d160ee32598c6d1cd9054ef019e8c9331208b188 4535Author: Lasse Collin <lasse.collin@tukaani.org> 4536Date: Sat Jan 5 01:20:24 2008 +0200 4537 4538 Another bug fix for flush marker detection. 4539 4540commit fc67f79f607cbfa78c6f47a69dec098d8659b162 4541Author: Lasse Collin <lasse.collin@tukaani.org> 4542Date: Fri Jan 4 21:37:01 2008 +0200 4543 4544 Fix stupid bugs in flush marker detection. 4545 4546commit 0029cbbabe87d491fc046a55a629a6d556010baa 4547Author: Lasse Collin <lasse.collin@tukaani.org> 4548Date: Fri Jan 4 21:30:33 2008 +0200 4549 4550 Added support for flush marker, which will be in files 4551 that use LZMA_SYNC_FLUSH with encoder (not implemented 4552 yet). This is a new feature in the raw LZMA format, 4553 which isn't supported by old decoders. This shouldn't 4554 be a problem in practice, since lzma_alone_encoder() 4555 will not allow LZMA_SYNC_FLUSH, and thus not allow 4556 creating files on decodable with old decoders. 4557 4558 Made lzma_decoder.c to require tab width of 4 characters 4559 if one wants to fit the code in 80 columns. This makes 4560 the code easier to read. 4561 4562commit bbfd1f6ab058a7e661545205befcb7f70c5685ab 4563Author: Lasse Collin <lasse.collin@tukaani.org> 4564Date: Fri Jan 4 20:45:05 2008 +0200 4565 4566 Moved range decoder initialization (reading the first 4567 five input bytes) from LZMA decoder to range decoder 4568 header. Did the same for decoding of direct bits. 4569 4570commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc 4571Author: Lasse Collin <lasse.collin@tukaani.org> 4572Date: Fri Dec 14 11:15:21 2007 +0200 4573 4574 Added a note to README that --disable-assembler 4575 must be used on Darwin. 4576 4577commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24 4578Author: Lasse Collin <lasse.collin@tukaani.org> 4579Date: Fri Dec 14 10:07:10 2007 +0200 4580 4581 Use the filename suffix .S instead of .s for assembler files 4582 so that the preprocessor removes the /* */ style comments, 4583 which are not supported by some non-GNU assemblers (Solaris) 4584 that otherwise work with this code. 4585 4586commit ec1c82b2e82f395f6e8e19ac212a639644330cd7 4587Author: Lasse Collin <lasse.collin@tukaani.org> 4588Date: Fri Dec 14 09:59:05 2007 +0200 4589 4590 Fixed wrong symbol name in crc64_x86.s. 4591 4592commit 2881570df6803eed2fe550af34574e8e61794804 4593Author: Lasse Collin <lasse.collin@tukaani.org> 4594Date: Fri Dec 14 09:53:24 2007 +0200 4595 4596 Use .globl instead of .global in x86 assembler code for 4597 better portability. Still needs fixing the commenting. 4598 4599commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66 4600Author: Lasse Collin <lasse.collin@tukaani.org> 4601Date: Thu Dec 13 20:14:37 2007 +0200 4602 4603 Fixed a few short options that take an argument. 4604 short_opts[] was missing colons to indicate 4605 required argument. Thanks to Fabio Pedretti for 4606 the bug report. 4607 4608commit 918bcb0e0728d2d976621e9f35b56f224f11d989 4609Author: Lasse Collin <lasse.collin@tukaani.org> 4610Date: Tue Dec 11 17:08:04 2007 +0200 4611 4612 Removed uncompressed size tracking from Delta encoder too. 4613 4614commit 3e16d51dd645667b05ff826665b1fc353aa41cd9 4615Author: Lasse Collin <lasse.collin@tukaani.org> 4616Date: Tue Dec 11 16:49:19 2007 +0200 4617 4618 Remove uncompressed size tracking from the filter encoders. 4619 It's not strictly needed there, and just complicates the 4620 code. LZ encoder never even had this feature. 4621 4622 The primary reason to have uncompressed size tracking in 4623 filter encoders was validating that the application 4624 doesn't give different amount of input that it had 4625 promised. A side effect was to validate internal workings 4626 of liblzma. 4627 4628 Uncompressed size tracking is still present in the Block 4629 encoder. Maybe it should be added to LZMA_Alone and raw 4630 encoders too. It's simpler to have one coder just to 4631 validate the uncompressed size instead of having it 4632 in every filter. 4633 4634commit 5286723e0d1ac386d5b07f08d78e61becf895a5a 4635Author: Lasse Collin <lasse.collin@tukaani.org> 4636Date: Tue Dec 11 14:10:53 2007 +0200 4637 4638 Get rid of no-NLS gnulib. I don't know how to get it 4639 working with Automake. People who want smaller lzmadec 4640 should use --disable-nls on non-GNU systems. 4641 4642commit ce8b036a6c7a43b290356b673d953f6d76b2be64 4643Author: Lasse Collin <lasse.collin@tukaani.org> 4644Date: Tue Dec 11 14:09:35 2007 +0200 4645 4646 Fixed a typo in tests/Makefile.am which prevented 4647 building the tests if gnulib was needed. 4648 4649commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4 4650Author: Lasse Collin <lasse.collin@tukaani.org> 4651Date: Tue Dec 11 11:18:58 2007 +0200 4652 4653 Fixed wrong type of flags_size in Subblock encoder. 4654 4655commit ce64df716243fdc40359090d1f6541f3a4f5f21a 4656Author: Lasse Collin <lasse.collin@tukaani.org> 4657Date: Mon Dec 10 20:44:16 2007 +0200 4658 4659 Bumped version number to 4.42.3alpha. 4660 4661commit b499a0403ea5c41d6a25b40275eb6c57643052ce 4662Author: Lasse Collin <lasse.collin@tukaani.org> 4663Date: Mon Dec 10 15:02:50 2007 +0200 4664 4665 Disabled some unneeded warnings and made "make dist" work. 4666 4667commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172 4668Author: Lasse Collin <lasse.collin@tukaani.org> 4669Date: Sun Dec 9 21:43:15 2007 +0200 4670 4671 Added LZMA_SYNC_FLUSH support to the Copy filter. 4672 4673commit 329c272d501e88793dda5540358d55c12428d194 4674Author: Lasse Collin <lasse.collin@tukaani.org> 4675Date: Sun Dec 9 17:14:07 2007 +0200 4676 4677 Added missing LZMA_API to the C versions of the CRC functions. 4678 The x86 assembler versions were already OK. 4679 4680commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7 4681Author: Jim Meyering <meyering@redhat.com> 4682Date: Sun Dec 9 15:34:25 2007 +0100 4683 4684 * tests/test_block_header.c (test3): Remove duplicate initializer. 4685 4686commit 07ac881779a8477f2c1ab112b91a129e24aa743c 4687Author: Lasse Collin <lasse.collin@tukaani.org> 4688Date: Sun Dec 9 17:06:45 2007 +0200 4689 4690 Take advantage of return_if_error() macro in more places. 4691 Cleaned Subblock filter's initialization code too. 4692 4693commit 41338717964f510ee61d70b25bd4c502ec9f77cf 4694Author: Lasse Collin <lasse.collin@tukaani.org> 4695Date: Sun Dec 9 12:13:01 2007 +0200 4696 4697 Added a bunch of .lzma test files. 4698 4699commit ff946ceb7975d4f11950afd33f6315b4d20d1a03 4700Author: Lasse Collin <lasse.collin@tukaani.org> 4701Date: Sun Dec 9 11:24:48 2007 +0200 4702 4703 Re-enabled the security checks in Subblock decoder 4704 that were disabled for debugging reasons. 4705 4706commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1 4707Author: Lasse Collin <lasse.collin@tukaani.org> 4708Date: Sun Dec 9 11:03:28 2007 +0200 4709 4710 Fixed the tests to build with -Werror. 4711 4712commit 5d018dc03549c1ee4958364712fb0c94e1bf2741 4713Author: Lasse Collin <lasse.collin@tukaani.org> 4714Date: Sun Dec 9 00:42:33 2007 +0200 4715 4716 Imported to git. 4717