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