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