1commit 9815cdf6987ef91a85493bfcfd1ce2aaf3b47a0a 2Author: Lasse Collin <lasse.collin@tukaani.org> 3Date: 2015-09-29 13:59:35 +0300 4 5 Bump version and soname for 5.2.2. 6 7 src/liblzma/Makefile.am | 2 +- 8 src/liblzma/api/lzma/version.h | 2 +- 9 2 files changed, 2 insertions(+), 2 deletions(-) 10 11commit cbe0cec8476bdd0416c7ca9bc83895c9bea1cf78 12Author: Lasse Collin <lasse.collin@tukaani.org> 13Date: 2015-09-29 13:57:28 +0300 14 15 Update NEWS for 5.2.2. 16 17 NEWS | 18 ++++++++++++++++++ 18 1 file changed, 18 insertions(+) 19 20commit 49427ce7eececdd18bbd35dab23c81910d083e1c 21Author: Andre Noll <maan@tuebingen.mpg.de> 22Date: 2015-05-28 15:50:00 +0200 23 24 Fix typo in German translation. 25 26 As pointed out by Robert Pollak, there's a typo in the German 27 translation of the compression preset option (-0 ... -9) help text. 28 "The compressor" translates to "der Komprimierer", and the genitive 29 form is "des Komprimierers". The old word makes no sense at all. 30 31 po/de.po | 2 +- 32 1 file changed, 1 insertion(+), 1 deletion(-) 33 34commit 608d6f06c940e7f28c25de005e8b99bdff42d27c 35Author: Hauke Henningsen <sqrt@entless.org> 36Date: 2015-08-17 04:59:54 +0200 37 38 Update German translation, mostly wrt orthography 39 40 Provide an update of the German translation. 41 * A lot of compound words were previously written with spaces, while 42 German orthography is relatively clear in that the components 43 should not be separated. 44 * When referring to the actual process of (de)compression rather than the 45 concept, replace “(De-)Kompression” with “(De-)Komprimierung”. 46 Previously, both forms were used in this context and are now used in a 47 manner consistent with “Komprimierung” being more likely to refer to 48 a process. 49 * Consistently translate “standard input”/“output” 50 * Use “Zeichen” instead of false friend “Charakter” for “character” 51 * Insert commas around relative clauses (as required in German) 52 * Some other minor corrections 53 * Capitalize “ß” as “ẞ” 54 * Consistently start option descriptions in --help with capital letters 55 56 Acked-By: Andre Noll <maan@tuebingen.mpg.de> 57 58 * Update after msgmerge 59 60 po/de.po | 383 ++++++++++++++++++++++++++++++++------------------------------- 61 1 file changed, 196 insertions(+), 187 deletions(-) 62 63commit c8988414e5b67b8ef2fe0ba7b1ccdd0ec73c60d3 64Author: Lasse Collin <lasse.collin@tukaani.org> 65Date: 2015-08-11 13:23:04 +0300 66 67 Build: Minor Cygwin cleanup. 68 69 Some tests used "cygwin*" and some used "cygwin". I changed 70 them all to use "cygwin". Shouldn't affect anything in practice. 71 72 configure.ac | 6 +++--- 73 1 file changed, 3 insertions(+), 3 deletions(-) 74 75commit 85a6dfed53477906bfe9a7c0123dd412e391cb48 76Author: Lasse Collin <lasse.collin@tukaani.org> 77Date: 2015-08-11 13:21:52 +0300 78 79 Build: Support building of MSYS2 binaries. 80 81 configure.ac | 16 +++++++++++----- 82 1 file changed, 11 insertions(+), 5 deletions(-) 83 84commit 77f270be8432df2e4516a0c48814b6976d6618c5 85Author: Lasse Collin <lasse.collin@tukaani.org> 86Date: 2015-08-09 21:06:26 +0300 87 88 Windows: Define DLL_EXPORT when building liblzma.dll with MSVC. 89 90 src/liblzma/common/common.h uses it to set __declspec(dllexport) 91 for the API symbols. 92 93 Thanks to Adam Walling. 94 95 windows/liblzma_dll.vcxproj | 12 ++++++------ 96 1 file changed, 6 insertions(+), 6 deletions(-) 97 98commit 8c975446c5903090a5a8493b5b96b71003056a88 99Author: Lasse Collin <lasse.collin@tukaani.org> 100Date: 2015-08-09 21:02:20 +0300 101 102 Windows: Omit unneeded header files from MSVC project files. 103 104 windows/liblzma.vcxproj | 5 ----- 105 windows/liblzma_dll.vcxproj | 5 ----- 106 2 files changed, 10 deletions(-) 107 108commit 119a00434954726ca58e4a578e6469f530fca30e 109Author: Lasse Collin <lasse.collin@tukaani.org> 110Date: 2015-07-12 20:48:19 +0300 111 112 liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer. 113 114 src/liblzma/api/lzma.h | 18 +++++++++++++----- 115 1 file changed, 13 insertions(+), 5 deletions(-) 116 117commit d4e7c557fcab353539c9481a8d95cb04bcb15c7c 118Author: Lasse Collin <lasse.collin@tukaani.org> 119Date: 2015-06-19 20:38:55 +0300 120 121 Update THANKS. 122 123 THANKS | 2 ++ 124 1 file changed, 2 insertions(+) 125 126commit 98001740ca56c894a7bd32eb47e9857a8a7d878d 127Author: Lasse Collin <lasse.collin@tukaani.org> 128Date: 2015-06-19 20:21:30 +0300 129 130 Windows: Update the docs. 131 132 INSTALL | 29 ++++++---- 133 windows/INSTALL-MSVC.txt | 47 +++++++++++++++ 134 windows/INSTALL-MinGW.txt | 138 ++++++++++++++++++++++++++++++++++++++++++++ 135 windows/INSTALL-Windows.txt | 138 -------------------------------------------- 136 4 files changed, 204 insertions(+), 148 deletions(-) 137 138commit 28195e4c877007cc760ecea1d17f740693d66873 139Author: Lasse Collin <lasse.collin@tukaani.org> 140Date: 2015-06-19 17:25:31 +0300 141 142 Windows: Add MSVC project files for building liblzma. 143 144 Thanks to Adam Walling for creating these files. 145 146 windows/liblzma.vcxproj | 359 ++++++++++++++++++++++++++++++++++++++++ 147 windows/liblzma_dll.vcxproj | 388 ++++++++++++++++++++++++++++++++++++++++++++ 148 windows/xz_win.sln | 48 ++++++ 149 3 files changed, 795 insertions(+) 150 151commit 960440f3230dc628f6966d9f7614fc1b28baf44e 152Author: Lasse Collin <lasse.collin@tukaani.org> 153Date: 2015-05-13 20:57:55 +0300 154 155 Tests: Fix a memory leak in test_bcj_exact_size. 156 157 Thanks to Cristian Rodríguez. 158 159 tests/test_bcj_exact_size.c | 1 + 160 1 file changed, 1 insertion(+) 161 162commit 68cd35acafbdcdf4e8ea8b5bb843c736939d6f8b 163Author: Lasse Collin <lasse.collin@tukaani.org> 164Date: 2015-05-12 18:08:24 +0300 165 166 Fix NEWS about threading in 5.2.0. 167 168 Thanks to Andy Hochhaus. 169 170 NEWS | 3 ++- 171 1 file changed, 2 insertions(+), 1 deletion(-) 172 173commit ff96ed6d25786728356017a13baf8c14731b4f1e 174Author: Lasse Collin <lasse.collin@tukaani.org> 175Date: 2015-05-11 21:26:16 +0300 176 177 xz: Document that threaded decompression hasn't been implemented yet. 178 179 src/xz/xz.1 | 10 +++++++++- 180 1 file changed, 9 insertions(+), 1 deletion(-) 181 182commit 00d37b64a64ea8597fd2422d5187afd761ab9531 183Author: Lasse Collin <lasse.collin@tukaani.org> 184Date: 2015-04-20 20:20:29 +0300 185 186 Update THANKS. 187 188 THANKS | 1 + 189 1 file changed, 1 insertion(+) 190 191commit db190a832c49ca3aed6d69cc992fa5583cae7b11 192Author: Lasse Collin <lasse.collin@tukaani.org> 193Date: 2015-04-20 19:59:18 +0300 194 195 Revert "xz: Use pipe2() if available." 196 197 This reverts commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd. 198 It is a problem when libc has pipe2() but the kernel is too 199 old to have pipe2() and thus pipe2() fails. In xz it's pointless 200 to have a fallback for non-functioning pipe2(); it's better to 201 avoid pipe2() completely. 202 203 Thanks to Michael Fox for the bug report. 204 205 configure.ac | 4 ++-- 206 src/xz/file_io.c | 9 +-------- 207 2 files changed, 3 insertions(+), 10 deletions(-) 208 209commit eccd8155e107c5ada03d13e7730675cdf1a44ddc 210Author: Lasse Collin <lasse.collin@tukaani.org> 211Date: 2015-03-29 22:14:47 +0300 212 213 Update THANKS. 214 215 THANKS | 1 + 216 1 file changed, 1 insertion(+) 217 218commit 25263fd9e7a8a913395cb93d7c104cd48c2b4a00 219Author: Lasse Collin <lasse.collin@tukaani.org> 220Date: 2015-03-29 22:13:48 +0300 221 222 Fix the detection of installed RAM on QNX. 223 224 The earlier version compiled but didn't actually work 225 since sysconf(_SC_PHYS_PAGES) always fails (or so I was told). 226 227 Thanks to Ole André Vadla Ravnås for the patch and testing. 228 229 m4/tuklib_physmem.m4 | 6 +++--- 230 src/common/tuklib_physmem.c | 14 +++++++++++++- 231 2 files changed, 16 insertions(+), 4 deletions(-) 232 233commit 4c544d2410903d38402221cb783ed85585b6a007 234Author: Lasse Collin <lasse.collin@tukaani.org> 235Date: 2015-03-27 22:39:07 +0200 236 237 Fix CPU core count detection on QNX. 238 239 It tried to use sysctl() on QNX but 240 - it broke the build because sysctl() needs -lsocket on QNX; 241 - sysctl() doesn't work for detecting the core count on QNX 242 even if it compiled. 243 244 sysconf() works. An alternative would have been to use 245 QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>. 246 247 Thanks to Ole André Vadla Ravnås. 248 249 m4/tuklib_cpucores.m4 | 15 +++++++++++---- 250 1 file changed, 11 insertions(+), 4 deletions(-) 251 252commit e0ea6737b03e83ccaff4514d00e31bb926f8f0f3 253Author: Lasse Collin <lasse.collin@tukaani.org> 254Date: 2015-03-07 22:05:57 +0200 255 256 xz: size_t/uint32_t cleanup in options.c. 257 258 src/xz/options.c | 12 ++++++------ 259 1 file changed, 6 insertions(+), 6 deletions(-) 260 261commit 8bcca29a65335fd679c13814b70b35b68fa5daed 262Author: Lasse Collin <lasse.collin@tukaani.org> 263Date: 2015-03-07 22:04:23 +0200 264 265 xz: Fix a comment and silence a warning in message.c. 266 267 src/xz/message.c | 5 +++-- 268 1 file changed, 3 insertions(+), 2 deletions(-) 269 270commit f243f5f44c6b19a7c289a0ec73a03ee08364cb5b 271Author: Lasse Collin <lasse.collin@tukaani.org> 272Date: 2015-03-07 22:01:00 +0200 273 274 liblzma: Silence more uint32_t vs. size_t warnings. 275 276 src/liblzma/lz/lz_encoder.c | 2 +- 277 src/liblzma/lzma/lzma_encoder.c | 2 +- 278 2 files changed, 2 insertions(+), 2 deletions(-) 279 280commit 7f0a4c50f4a374c40acf4b86848f301ad1e82d34 281Author: Lasse Collin <lasse.collin@tukaani.org> 282Date: 2015-03-07 19:54:00 +0200 283 284 xz: Make arg_count an unsigned int to silence a warning. 285 286 Actually the value of arg_count cannot exceed INT_MAX 287 but it's nicer as an unsigned int. 288 289 src/xz/args.h | 2 +- 290 src/xz/main.c | 2 +- 291 2 files changed, 2 insertions(+), 2 deletions(-) 292 293commit f6ec46801588b1be29c07c9db98558b521304002 294Author: Lasse Collin <lasse.collin@tukaani.org> 295Date: 2015-03-07 19:33:17 +0200 296 297 liblzma: Fix a warning in index.c. 298 299 src/liblzma/common/index.c | 4 +++- 300 1 file changed, 3 insertions(+), 1 deletion(-) 301 302commit a24518971cc621315af142dd3bb7614fab04ad27 303Author: Lasse Collin <lasse.collin@tukaani.org> 304Date: 2015-02-26 20:46:14 +0200 305 306 Build: Fix a CR+LF problem when running autoreconf -fi on OS/2. 307 308 build-aux/version.sh | 2 +- 309 1 file changed, 1 insertion(+), 1 deletion(-) 310 311commit dec11497a71518423b5ff0e759100cf8aadf6c7b 312Author: Lasse Collin <lasse.collin@tukaani.org> 313Date: 2015-02-26 16:53:44 +0200 314 315 Bump version and soname for 5.2.1. 316 317 src/liblzma/Makefile.am | 2 +- 318 src/liblzma/api/lzma/version.h | 2 +- 319 2 files changed, 2 insertions(+), 2 deletions(-) 320 321commit 29e39c79975ab89ee5dd671e97064534a9f3a649 322Author: Lasse Collin <lasse.collin@tukaani.org> 323Date: 2015-02-26 13:01:09 +0200 324 325 Update NEWS for 5.2.1. 326 327 NEWS | 14 ++++++++++++++ 328 1 file changed, 14 insertions(+) 329 330commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd 331Author: Lasse Collin <lasse.collin@tukaani.org> 332Date: 2015-02-22 19:38:48 +0200 333 334 xz: Use pipe2() if available. 335 336 configure.ac | 4 ++-- 337 src/xz/file_io.c | 9 ++++++++- 338 2 files changed, 10 insertions(+), 3 deletions(-) 339 340commit 117d962685c72682c63edc9bb765367189800202 341Author: Lasse Collin <lasse.collin@tukaani.org> 342Date: 2015-02-21 23:40:26 +0200 343 344 liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode. 345 346 The bug was added in the commit 347 f48fce093b07aeda95c18850f5e086d9f2383380 and thus 348 affected 5.1.4beta and 5.2.0. Luckily the bug cannot 349 cause data corruption or other nasty things. 350 351 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 352 1 file changed, 1 insertion(+), 1 deletion(-) 353 354commit ae984e31c167d3bc52972ec422dd1ebd5f5d5719 355Author: Lasse Collin <lasse.collin@tukaani.org> 356Date: 2015-02-21 23:00:19 +0200 357 358 xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick. 359 360 Now it reads the old flags instead of blindly setting O_NONBLOCK. 361 The old code may have worked correctly, but this is better. 362 363 src/xz/file_io.c | 16 +++++++++++----- 364 1 file changed, 11 insertions(+), 5 deletions(-) 365 366commit 2205bb5853098aea36a56df6f5747037175f66b4 367Author: Lasse Collin <lasse.collin@tukaani.org> 368Date: 2015-02-10 15:29:34 +0200 369 370 Update THANKS. 371 372 THANKS | 1 + 373 1 file changed, 1 insertion(+) 374 375commit d935b0cdf3db440269b9d952b2b281b18f8c7b08 376Author: Lasse Collin <lasse.collin@tukaani.org> 377Date: 2015-02-10 15:28:30 +0200 378 379 tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available. 380 381 In FreeBSD, cpuset_getaffinity() is the preferred way to get 382 the number of available cores. 383 384 Thanks to Rui Paulo for the patch. I edited it slightly, but 385 hopefully I didn't break anything. 386 387 m4/tuklib_cpucores.m4 | 23 ++++++++++++++++++++++- 388 src/common/tuklib_cpucores.c | 18 ++++++++++++++++++ 389 2 files changed, 40 insertions(+), 1 deletion(-) 390 391commit eb61bc58c20769cac4d05f363b9c0e8c9c71a560 392Author: Lasse Collin <lasse.collin@tukaani.org> 393Date: 2015-02-09 22:08:37 +0200 394 395 xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp. 396 397 Thanks to Rui Paulo for the fix. 398 399 src/scripts/xzdiff.in | 7 ++++++- 400 1 file changed, 6 insertions(+), 1 deletion(-) 401 402commit b9a5b6b7a29029680af733082b6a46e0fc01623a 403Author: Lasse Collin <lasse.collin@tukaani.org> 404Date: 2015-02-03 21:45:53 +0200 405 406 Add a few casts to tuklib_integer.h to silence possible warnings. 407 408 I heard that Visual Studio 2013 gave warnings without the casts. 409 410 Thanks to Gabi Davar. 411 412 src/common/tuklib_integer.h | 24 ++++++++++++------------ 413 1 file changed, 12 insertions(+), 12 deletions(-) 414 415commit c45757135f40e4a0de730ba5fff0100219493982 416Author: Lasse Collin <lasse.collin@tukaani.org> 417Date: 2015-01-26 21:24:39 +0200 418 419 liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method. 420 421 src/liblzma/common/memcmplen.h | 15 ++++++++++----- 422 1 file changed, 10 insertions(+), 5 deletions(-) 423 424commit 3c500174ed5485f550972a2a6109c361e875f069 425Author: Lasse Collin <lasse.collin@tukaani.org> 426Date: 2015-01-26 20:40:16 +0200 427 428 Update THANKS. 429 430 THANKS | 1 + 431 1 file changed, 1 insertion(+) 432 433commit fec88d41e672d9e197c9442aecf02bd0dfa6d516 434Author: Lasse Collin <lasse.collin@tukaani.org> 435Date: 2015-01-26 20:39:28 +0200 436 437 liblzma: Silence harmless Valgrind errors. 438 439 Thanks to Torsten Rupp for reporting this. I had 440 forgotten to run Valgrind before the 5.2.0 release. 441 442 src/liblzma/lz/lz_encoder.c | 6 ++++++ 443 1 file changed, 6 insertions(+) 444 445commit a9b45badfec0928d20a27c7176c005fa637f7d1e 446Author: Lasse Collin <lasse.collin@tukaani.org> 447Date: 2015-01-09 21:50:19 +0200 448 449 xz: Fix comments. 450 451 src/xz/file_io.c | 12 ++++++++---- 452 1 file changed, 8 insertions(+), 4 deletions(-) 453 454commit 541aee6dd4aa97a809aba281475a21b641bb89e2 455Author: Lasse Collin <lasse.collin@tukaani.org> 456Date: 2015-01-09 21:35:06 +0200 457 458 Update THANKS. 459 460 THANKS | 1 + 461 1 file changed, 1 insertion(+) 462 463commit 4170edc914655310d2363baccf5e615e09b04911 464Author: Lasse Collin <lasse.collin@tukaani.org> 465Date: 2015-01-09 21:34:06 +0200 466 467 xz: Don't fail if stdout doesn't support O_NONBLOCK. 468 469 This is similar to the case with stdin. 470 471 Thanks to Brad Smith for the bug report and testing 472 on OpenBSD. 473 474 src/xz/file_io.c | 36 +++++++++++++++--------------------- 475 1 file changed, 15 insertions(+), 21 deletions(-) 476 477commit 04bbc0c2843c50c8ad1cba42b937118e38b0508d 478Author: Lasse Collin <lasse.collin@tukaani.org> 479Date: 2015-01-07 19:18:20 +0200 480 481 xz: Fix a memory leak in DOS-specific code. 482 483 src/xz/file_io.c | 2 ++ 484 1 file changed, 2 insertions(+) 485 486commit f0f1f6c7235ffa901cf76fe18e33749e200b3eea 487Author: Lasse Collin <lasse.collin@tukaani.org> 488Date: 2015-01-07 19:08:06 +0200 489 490 xz: Don't fail if stdin doesn't support O_NONBLOCK. 491 492 It's a problem at least on OpenBSD which doesn't support 493 O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's 494 a problem on other OSes too since this behavior is allowed 495 in POSIX-1.2008. 496 497 The code relying on this behavior was committed in June 2013 498 and included in 5.1.3alpha released on 2013-10-26. Clearly 499 the development releases only get limited testing. 500 501 src/xz/file_io.c | 18 +++++++----------- 502 1 file changed, 7 insertions(+), 11 deletions(-) 503 504commit d2d484647d9d9d679f03c75abb0404f67069271c 505Author: Lasse Collin <lasse.collin@tukaani.org> 506Date: 2015-01-06 20:30:15 +0200 507 508 Tests: Don't hide unexpected error messages in test_files.sh. 509 510 Hiding them makes no sense since normally there's no error 511 when testing the "good" files. With "bad" files errors are 512 expected and then it makes sense to keep the messages hidden. 513 514 tests/test_files.sh | 4 ++-- 515 1 file changed, 2 insertions(+), 2 deletions(-) 516 517commit aae6a6aeda51cf94a47e39ad624728f9bee75e30 518Author: Lasse Collin <lasse.collin@tukaani.org> 519Date: 2014-12-30 11:17:16 +0200 520 521 Update Solaris notes in INSTALL. 522 523 Mention the possible "make check" failure on Solaris in the 524 Solaris-specific section of INSTALL. It was already in 525 section 4.5 but it is better mention it in the OS-specific 526 section too. 527 528 INSTALL | 4 ++++ 529 1 file changed, 4 insertions(+) 530 531commit 7815112153178800a3521b9f31960e7cdc26cfba 532Author: Lasse Collin <lasse.collin@tukaani.org> 533Date: 2014-12-26 12:00:05 +0200 534 535 Build: POSIX shell isn't required if scripts are disabled. 536 537 INSTALL | 3 ++- 538 configure.ac | 2 +- 539 2 files changed, 3 insertions(+), 2 deletions(-) 540 541commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a 542Author: Lasse Collin <lasse.collin@tukaani.org> 543Date: 2014-12-21 20:48:37 +0200 544 545 DOS: Update Makefile. 546 547 dos/Makefile | 1 + 548 1 file changed, 1 insertion(+) 549 550commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e 551Author: Lasse Collin <lasse.collin@tukaani.org> 552Date: 2014-12-21 19:50:38 +0200 553 554 Windows: Fix bin_i486 to bin_i686 in build.bash. 555 556 windows/build.bash | 2 +- 557 1 file changed, 1 insertion(+), 1 deletion(-) 558 559commit cbafa710918195dbba3db02c3fab4f0538235206 560Author: Lasse Collin <lasse.collin@tukaani.org> 561Date: 2014-12-21 18:58:44 +0200 562 563 Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c. 564 565 doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++---- 566 1 file changed, 26 insertions(+), 4 deletions(-) 567 568commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a 569Author: Lasse Collin <lasse.collin@tukaani.org> 570Date: 2014-12-21 18:56:44 +0200 571 572 Docs: Update docs/examples/00_README.txt. 573 574 doc/examples/00_README.txt | 4 ++++ 575 1 file changed, 4 insertions(+) 576 577commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6 578Author: Lasse Collin <lasse.collin@tukaani.org> 579Date: 2014-12-21 18:11:17 +0200 580 581 Bump version and soname for 5.2.0. 582 583 I know that soname != app version, but I skip AGE=1 584 in -version-info to make the soname match the liblzma 585 version anyway. It doesn't hurt anything as long as 586 it doesn't conflict with library versioning rules. 587 588 src/liblzma/Makefile.am | 2 +- 589 src/liblzma/api/lzma/version.h | 6 +++--- 590 src/liblzma/liblzma.map | 2 +- 591 3 files changed, 5 insertions(+), 5 deletions(-) 592 593commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da 594Author: Lasse Collin <lasse.collin@tukaani.org> 595Date: 2014-12-21 18:05:03 +0200 596 597 Avoid variable-length arrays in the debug programs. 598 599 debug/full_flush.c | 3 ++- 600 debug/sync_flush.c | 3 ++- 601 2 files changed, 4 insertions(+), 2 deletions(-) 602 603commit 72f7307cfdceb941aeb2bf30d424cc0d13621786 604Author: Lasse Collin <lasse.collin@tukaani.org> 605Date: 2014-12-21 18:01:45 +0200 606 607 Build: Include 04_compress_easy_mt.c in the tarball. 608 609 Makefile.am | 1 + 610 1 file changed, 1 insertion(+) 611 612commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0 613Author: Lasse Collin <lasse.collin@tukaani.org> 614Date: 2014-12-21 18:00:38 +0200 615 616 Fix build when --disable-threads is used. 617 618 src/common/mythread.h | 2 ++ 619 1 file changed, 2 insertions(+) 620 621commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17 622Author: Adrien Nader <adrien@notk.org> 623Date: 2014-12-21 15:56:15 +0100 624 625 po/fr: improve wording for help for --lzma1/--lzma2. 626 627 po/fr.po | 2 +- 628 1 file changed, 1 insertion(+), 1 deletion(-) 629 630commit a8b6b569e7fadbf5b5b9139d53bc764015c15027 631Author: Adrien Nader <adrien@notk.org> 632Date: 2014-12-21 15:55:48 +0100 633 634 po/fr: missing line in translation of --extreme. 635 636 po/fr.po | 1 + 637 1 file changed, 1 insertion(+) 638 639commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9 640Author: Lasse Collin <lasse.collin@tukaani.org> 641Date: 2014-12-21 14:32:33 +0200 642 643 Update NEWS for 5.2.0. 644 645 NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 646 1 file changed, 65 insertions(+) 647 648commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429 649Author: Lasse Collin <lasse.collin@tukaani.org> 650Date: 2014-12-21 14:32:22 +0200 651 652 Update NEWS for 5.0.8. 653 654 NEWS | 12 ++++++++++++ 655 1 file changed, 12 insertions(+) 656 657commit 42e97a32649bf53ce43be2258b902a417c6e7fa1 658Author: Lasse Collin <lasse.collin@tukaani.org> 659Date: 2014-12-21 14:07:54 +0200 660 661 xz: Fix a comment. 662 663 src/xz/options.c | 4 ++-- 664 1 file changed, 2 insertions(+), 2 deletions(-) 665 666commit 29b95d5d6665cedffa6a9d6d3d914f981e852182 667Author: Lasse Collin <lasse.collin@tukaani.org> 668Date: 2014-12-20 20:43:14 +0200 669 670 Update INSTALL about the dependencies of the scripts. 671 672 INSTALL | 15 ++++++++++----- 673 1 file changed, 10 insertions(+), 5 deletions(-) 674 675commit 3af91040bb42c21afbb81f5568c3313125e61192 676Author: Lasse Collin <lasse.collin@tukaani.org> 677Date: 2014-12-20 20:42:33 +0200 678 679 Windows: Update build instructions. 680 681 INSTALL | 15 +++++++++------ 682 windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++----------------------- 683 2 files changed, 30 insertions(+), 29 deletions(-) 684 685commit 0152f72bf6289d744823dc6c849538f3a139ad70 686Author: Lasse Collin <lasse.collin@tukaani.org> 687Date: 2014-12-20 20:41:48 +0200 688 689 Windows: Update the build script and README-Windows.txt. 690 691 The 32-bit build is now for i686 or newer because the 692 prebuilt MinGW-w64 toolchains include i686 code in the 693 executables even if one uses -march=i486. 694 695 The build script builds 32-bit SSE2 enabled version too. 696 Run-time detection of SSE2 support would be nice (on any OS) 697 but it's not implemented in XZ Utils yet. 698 699 windows/README-Windows.txt | 30 ++++++++++++++++-------------- 700 windows/build.bash | 23 ++++++++++++++--------- 701 2 files changed, 30 insertions(+), 23 deletions(-) 702 703commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a 704Author: Lasse Collin <lasse.collin@tukaani.org> 705Date: 2014-12-19 15:51:50 +0200 706 707 Windows: Define TUKLIB_SYMBOL_PREFIX in config.h. 708 709 It is to keep all symbols in the lzma_ namespace. 710 711 windows/config.h | 3 +++ 712 1 file changed, 3 insertions(+) 713 714commit 7f7d093de79eee0c7dbfd7433647e46302f19f82 715Author: Lasse Collin <lasse.collin@tukaani.org> 716Date: 2014-12-16 21:00:09 +0200 717 718 xz: Update the man page about --threads. 719 720 src/xz/xz.1 | 5 ----- 721 1 file changed, 5 deletions(-) 722 723commit 009823448b82aa5f465668878a544c5842885407 724Author: Lasse Collin <lasse.collin@tukaani.org> 725Date: 2014-12-16 20:57:43 +0200 726 727 xz: Update the man page about --block-size. 728 729 src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++-------- 730 1 file changed, 33 insertions(+), 8 deletions(-) 731 732commit 7dddfbeb499e528940bc12047355c184644aafe9 733Author: Adrien Nader <adrien@notk.org> 734Date: 2014-12-10 22:26:57 +0100 735 736 po/fr: several more translation updates: reword and handle --ignore-check. 737 738 po/fr.po | 50 ++++++++++++++++++++++++++------------------------ 739 1 file changed, 26 insertions(+), 24 deletions(-) 740 741commit 6eca5be40e04ddc4b738d493e4e56835956d8b69 742Author: Adrien Nader <adrien@notk.org> 743Date: 2014-12-10 22:23:01 +0100 744 745 po/fr: yet another place where my email address had to be updated. 746 747 po/fr.po | 2 +- 748 1 file changed, 1 insertion(+), 1 deletion(-) 749 750commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7 751Author: Adrien Nader <adrien@notk.org> 752Date: 2014-12-10 22:22:20 +0100 753 754 po/fr: fix several typos that have been around since the beginning. 755 756 po/fr.po | 22 +++++++++++----------- 757 1 file changed, 11 insertions(+), 11 deletions(-) 758 759commit 4c5aa911a0df027e46171e368debc543d2fa72b2 760Author: Adrien Nader <adrien@notk.org> 761Date: 2014-12-03 20:02:31 +0100 762 763 po/fr: last batch of new translations for now. 764 765 Four new error messages. 766 767 po/fr.po | 16 ++++++++-------- 768 1 file changed, 8 insertions(+), 8 deletions(-) 769 770commit 3e3099e36d27059499e7996fb38a62e8ab01d356 771Author: Adrien Nader <adrien@notk.org> 772Date: 2014-12-03 20:01:32 +0100 773 774 po/fr: translations for --threads, --block-size and --block-list. 775 776 po/fr.po | 12 ++++++++---- 777 1 file changed, 8 insertions(+), 4 deletions(-) 778 779commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53 780Author: Adrien Nader <adrien@notk.org> 781Date: 2014-12-03 20:00:53 +0100 782 783 po/fr: remove fuzzy marker for error messages that will be kept in English. 784 785 The following is a copy of a comment inside fr.po: 786 787 Note from translator on "file status flags". 788 The following entry is kept un-translated on purpose. It is difficult to 789 translate and should only happen in exceptional circumstances which means 790 that translating would: 791 - lose some of the meaning 792 - make it more difficult to look up in search engines; it might happen one 793 in 794 a million times, if we dilute the error message in 20 languages, it will be 795 almost impossible to find an explanation and support for the error. 796 797 po/fr.po | 22 ++++++++++++++++------ 798 1 file changed, 16 insertions(+), 6 deletions(-) 799 800commit 46cbb9033af8a21fafe543302d6919746e0d72af 801Author: Adrien Nader <adrien@notk.org> 802Date: 2014-12-03 19:58:25 +0100 803 804 po/fr: several minor updates and better wording. 805 806 Meaning doesn't change at all: it's only for better wording and/or 807 formatting of a few strings. 808 809 po/fr.po | 14 +++++++------- 810 1 file changed, 7 insertions(+), 7 deletions(-) 811 812commit 7ce49d444f04e73145f79c832eb4d510594b074a 813Author: Adrien Nader <adrien@notk.org> 814Date: 2014-12-03 19:56:12 +0100 815 816 po/fr: update my email address and copyright years. 817 818 po/fr.po | 4 ++-- 819 1 file changed, 2 insertions(+), 2 deletions(-) 820 821commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c 822Author: Adrien Nader <adrien@notk.org> 823Date: 2014-11-26 10:08:26 +0100 824 825 fr.po: commit file after only "update-po" so actual is readable. 826 827 po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++----------------------- 828 1 file changed, 199 insertions(+), 112 deletions(-) 829 830commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b 831Author: Lasse Collin <lasse.collin@tukaani.org> 832Date: 2014-12-02 20:04:07 +0200 833 834 liblzma: Document how lzma_mt.block_size affects memory usage. 835 836 src/liblzma/api/lzma/container.h | 4 ++++ 837 1 file changed, 4 insertions(+) 838 839commit e4fc1d2f9571fba79ce383595be2ea2a9257def0 840Author: Lasse Collin <lasse.collin@tukaani.org> 841Date: 2014-11-28 20:07:18 +0200 842 843 Update INSTALL about a "make check" failure in test_scripts.sh. 844 845 INSTALL | 24 +++++++++++++++++------- 846 1 file changed, 17 insertions(+), 7 deletions(-) 847 848commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe 849Author: Lasse Collin <lasse.collin@tukaani.org> 850Date: 2014-11-26 20:12:27 +0200 851 852 Remove LZMA_UNSTABLE macro. 853 854 src/liblzma/api/lzma/container.h | 4 ---- 855 src/liblzma/common/common.h | 2 -- 856 src/xz/private.h | 1 - 857 3 files changed, 7 deletions(-) 858 859commit 6d9c0ce9f2677b159e32b224aba5b535b304a705 860Author: Lasse Collin <lasse.collin@tukaani.org> 861Date: 2014-11-26 20:10:33 +0200 862 863 liblzma: Update lzma_stream_encoder_mt() API docs. 864 865 src/liblzma/api/lzma/container.h | 5 +++-- 866 1 file changed, 3 insertions(+), 2 deletions(-) 867 868commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3 869Author: Lasse Collin <lasse.collin@tukaani.org> 870Date: 2014-11-25 12:32:05 +0200 871 872 liblzma: Verify the filter chain in threaded encoder initialization. 873 874 This way an invalid filter chain is detected at the Stream 875 encoder initialization instead of delaying it to the first 876 call to lzma_code() which triggers the initialization of 877 the actual filter encoder(s). 878 879 src/liblzma/common/stream_encoder_mt.c | 9 ++++++--- 880 1 file changed, 6 insertions(+), 3 deletions(-) 881 882commit 107a263d5bb63cd3593fd6a5c938706539f84523 883Author: Lasse Collin <lasse.collin@tukaani.org> 884Date: 2014-11-17 19:11:49 +0200 885 886 Build: Update m4/ax_pthread.m4 from Autoconf Archive. 887 888 m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++------------------- 889 1 file changed, 47 insertions(+), 24 deletions(-) 890 891commit b13a781833399ff5726cfc997f3cb2f0acbdbf31 892Author: Lasse Collin <lasse.collin@tukaani.org> 893Date: 2014-11-17 18:52:21 +0200 894 895 Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING. 896 897 configure.ac | 36 ++++++++++++++++++------------------ 898 m4/tuklib_integer.m4 | 2 +- 899 2 files changed, 19 insertions(+), 19 deletions(-) 900 901commit 542cac122ed3550148a2af0033af22b757491378 902Author: Lasse Collin <lasse.collin@tukaani.org> 903Date: 2014-11-17 18:43:19 +0200 904 905 Build: Fix Autoconf warnings about escaped backquotes. 906 907 Thanks to Daniel Richard G. for pointing out that it's 908 good to sometimes run autoreconf -fi with -Wall. 909 910 configure.ac | 7 +++---- 911 1 file changed, 3 insertions(+), 4 deletions(-) 912 913commit 7b03a15cea8cd4f19ed680b51c4bcbae3ce4142f 914Author: Lasse Collin <lasse.collin@tukaani.org> 915Date: 2014-11-10 18:54:40 +0200 916 917 xzdiff: Use mkdir if mktemp isn't available. 918 919 src/scripts/xzdiff.in | 17 ++++++++++++++++- 920 1 file changed, 16 insertions(+), 1 deletion(-) 921 922commit f8c13e5e3609581d5dd9f8777985ca07f2390ad7 923Author: Lasse Collin <lasse.collin@tukaani.org> 924Date: 2014-11-10 18:45:01 +0200 925 926 xzdiff: Create a temporary directory to hold a temporary file. 927 928 This avoids the possibility of "File name too long" when 929 creating a temp file when the input file name is very long. 930 931 This also means that other users on the system can no longer 932 see the input file names in /tmp (or whatever $TMPDIR is) 933 since the temporary directory will have a generic name. This 934 usually doesn't matter since on many systems one can see 935 the arguments given to all processes anyway. 936 937 The number X chars to mktemp where increased from 6 to 10. 938 939 Note that with some shells temp files or dirs won't be used at all. 940 941 src/scripts/xzdiff.in | 10 +++++----- 942 1 file changed, 5 insertions(+), 5 deletions(-) 943 944commit 7716dcf9df7f457500cb657314e7a9aea5fedb06 945Author: Lasse Collin <lasse.collin@tukaani.org> 946Date: 2014-11-10 15:38:47 +0200 947 948 liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage(). 949 950 It read the filter chain from a wrong variable. This is a similar 951 bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e. 952 953 src/liblzma/common/stream_encoder_mt.c | 3 +-- 954 1 file changed, 1 insertion(+), 2 deletions(-) 955 956commit 230fa4a605542c84b4178a57381695a0af4e779b 957Author: Lasse Collin <lasse.collin@tukaani.org> 958Date: 2014-11-10 14:49:55 +0200 959 960 Update THANKS. 961 962 THANKS | 1 + 963 1 file changed, 1 insertion(+) 964 965commit 4e4ae08bc7c1711e399c9f2d26eb375d39d08101 966Author: Lasse Collin <lasse.collin@tukaani.org> 967Date: 2014-10-29 21:28:25 +0200 968 969 Update .gitignore files. 970 971 .gitignore | 2 ++ 972 m4/.gitignore | 3 +++ 973 2 files changed, 5 insertions(+) 974 975commit c923b140b27d1a055db6284e10fd546ad1a7fcdb 976Author: Lasse Collin <lasse.collin@tukaani.org> 977Date: 2014-10-29 21:15:35 +0200 978 979 Build: Prepare to support Automake's subdir-objects. 980 981 Due to a bug in Automake, subdir-objects won't be enabled 982 for now. 983 984 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354 985 986 Thanks to Daniel Richard G. for the original patches. 987 988 configure.ac | 7 ++++++- 989 src/Makefile.am | 22 +++++++++++++++++++++- 990 src/liblzma/Makefile.am | 4 ++-- 991 src/lzmainfo/Makefile.am | 4 ++-- 992 src/xz/Makefile.am | 10 +++++----- 993 src/xzdec/Makefile.am | 8 ++++---- 994 6 files changed, 40 insertions(+), 15 deletions(-) 995 996commit 08c2aa16bea0df82828f665d51fba2e0a5e8997f 997Author: Lasse Collin <lasse.collin@tukaani.org> 998Date: 2014-10-24 20:09:29 +0300 999 1000 Translations: Update the Italian translation. 1001 1002 Thanks to Milo Casagrande. 1003 1004 po/it.po | 452 ++++++++++++++++++++++++++++++++++++++------------------------- 1005 1 file changed, 275 insertions(+), 177 deletions(-) 1006 1007commit 2f9f61aa83539c54ff6c118a2693890f0519b3dd 1008Author: Lasse Collin <lasse.collin@tukaani.org> 1009Date: 2014-10-18 18:51:45 +0300 1010 1011 Translations: Update the Polish translation. 1012 1013 Thanks to Jakub Bogusz. 1014 1015 po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++----------------------- 1016 1 file changed, 214 insertions(+), 118 deletions(-) 1017 1018commit 4f9d233f67aea25e532824d11b7642cf7dee7a76 1019Author: Andre Noll <maan@tuebingen.mpg.de> 1020Date: 2014-10-14 17:30:30 +0200 1021 1022 l10n: de.po: Change translator email address. 1023 1024 Although the old address is still working, the new one should 1025 be preferred. So this commit changes all three places in de.po 1026 accordingly. 1027 1028 Signed-off-by: Andre Noll <maan@tuebingen.mpg.de> 1029 1030 po/de.po | 6 +++--- 1031 1 file changed, 3 insertions(+), 3 deletions(-) 1032 1033commit 00502b2bedad43f0cc167ac17ae0608837ee196b 1034Author: Andre Noll <maan@tuebingen.mpg.de> 1035Date: 2014-10-14 17:30:29 +0200 1036 1037 l10n: de.po: Update German translation 1038 1039 Signed-off-by: Andre Noll <maan@systemlinux.org> 1040 1041 po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------ 1042 1 file changed, 281 insertions(+), 250 deletions(-) 1043 1044commit 706b0496753fb609e69f1570ec603f11162189d1 1045Author: Andre Noll <maan@tuebingen.mpg.de> 1046Date: 2014-10-14 17:30:28 +0200 1047 1048 l10n: de.po: Fix typo: Schießen -> Schließen. 1049 1050 That's a funny one since "schießen" means to shoot :) 1051 1052 Signed-off-by: Andre Noll <maan@systemlinux.org> 1053 1054 po/de.po | 2 +- 1055 1 file changed, 1 insertion(+), 1 deletion(-) 1056 1057commit 7c32e6a935c3d7ee366abad1679bd5f322f0c7d4 1058Author: Lasse Collin <lasse.collin@tukaani.org> 1059Date: 2014-10-09 19:42:26 +0300 1060 1061 Update THANKS. 1062 1063 THANKS | 1 + 1064 1 file changed, 1 insertion(+) 1065 1066commit 076258cc458f1e705041ac7a729b15ffe8c5214a 1067Author: Lasse Collin <lasse.collin@tukaani.org> 1068Date: 2014-10-09 19:41:51 +0300 1069 1070 Add support for AmigaOS/AROS to tuklib_physmem(). 1071 1072 Thanks to Fredrik Wikstrom. 1073 1074 m4/tuklib_physmem.m4 | 3 ++- 1075 src/common/tuklib_physmem.c | 7 +++++++ 1076 2 files changed, 9 insertions(+), 1 deletion(-) 1077 1078commit efa7b0a210e1baa8e128fc98c5443a944c39ad24 1079Author: Lasse Collin <lasse.collin@tukaani.org> 1080Date: 2014-10-09 18:42:14 +0300 1081 1082 xzgrep: Avoid passing both -q and -l to grep. 1083 1084 The behavior of grep -ql varies: 1085 - GNU grep behaves like grep -q. 1086 - OpenBSD grep behaves like grep -l. 1087 1088 POSIX doesn't make it 100 % clear what behavior is expected. 1089 Anyway, using both -q and -l at the same time makes no sense 1090 so both options simply should never be used at the same time. 1091 1092 Thanks to Christian Weisgerber. 1093 1094 src/scripts/xzgrep.in | 6 ++++-- 1095 1 file changed, 4 insertions(+), 2 deletions(-) 1096 1097commit 9c5f76098c9986b48d2fc574a0b764f4cde0c538 1098Author: Trần Ngọc Quân <vnwildman@gmail.com> 1099Date: 2014-09-25 09:22:45 +0700 1100 1101 l10n: vi.po: Update Vietnamese translation 1102 1103 Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com> 1104 1105 po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------ 1106 1 file changed, 84 insertions(+), 52 deletions(-) 1107 1108commit c4911f2db36d811896c73c008b4218d8fa9a4730 1109Author: Lasse Collin <lasse.collin@tukaani.org> 1110Date: 2014-09-25 18:38:48 +0300 1111 1112 Build: Detect supported compiler warning flags better. 1113 1114 Clang and nowadays also GCC accept any -Wfoobar option 1115 but then may give a warning that an unknown warning option 1116 was specified. To avoid adding unsupported warning options, 1117 the options are now tested with -Werror. 1118 1119 Thanks to Charles Diza. 1120 1121 configure.ac | 5 +++-- 1122 1 file changed, 3 insertions(+), 2 deletions(-) 1123 1124commit 76e75522ed6f5c228d55587dee5a997893f6e474 1125Author: Lasse Collin <lasse.collin@tukaani.org> 1126Date: 2014-09-20 21:01:21 +0300 1127 1128 Update NEWS for 5.0.7. 1129 1130 NEWS | 11 +++++++++++ 1131 1 file changed, 11 insertions(+) 1132 1133commit d62028b4c1174fc67b6929f126f5eb24c018c700 1134Author: Lasse Collin <lasse.collin@tukaani.org> 1135Date: 2014-09-20 19:42:56 +0300 1136 1137 liblzma: Fix a portability problem in Makefile.am. 1138 1139 POSIX supports $< only in inference rules (suffix rules). 1140 Using it elsewhere is a GNU make extension and doesn't 1141 work e.g. with OpenBSD make. 1142 1143 Thanks to Christian Weisgerber for the patch. 1144 1145 src/liblzma/Makefile.am | 2 +- 1146 1 file changed, 1 insertion(+), 1 deletion(-) 1147 1148commit c35de31d4283edad3e57d37ffe939406542cb7bb 1149Author: Lasse Collin <lasse.collin@tukaani.org> 1150Date: 2014-09-14 21:54:09 +0300 1151 1152 Bump the version number to 5.1.4beta. 1153 1154 src/liblzma/api/lzma/version.h | 4 ++-- 1155 src/liblzma/liblzma.map | 2 +- 1156 2 files changed, 3 insertions(+), 3 deletions(-) 1157 1158commit e9e097e22cacdaa23e5414fea7913535449cb340 1159Author: Lasse Collin <lasse.collin@tukaani.org> 1160Date: 2014-09-14 21:50:13 +0300 1161 1162 Update NEWS for 5.0.6 and 5.1.4beta. 1163 1164 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1165 1 file changed, 50 insertions(+) 1166 1167commit 642f856bb8562ab66704b1e01ac7bc08b6d0a663 1168Author: Lasse Collin <lasse.collin@tukaani.org> 1169Date: 2014-09-14 21:02:41 +0300 1170 1171 Update TODO. 1172 1173 TODO | 38 ++++++++++++++++++++++++++++++++++---- 1174 1 file changed, 34 insertions(+), 4 deletions(-) 1175 1176commit 6b5e3b9eff5b8cedb2aac5f524d4d60fc8a48124 1177Author: Lasse Collin <lasse.collin@tukaani.org> 1178Date: 2014-08-05 22:32:36 +0300 1179 1180 xz: Add --ignore-check. 1181 1182 src/xz/args.c | 7 +++++++ 1183 src/xz/args.h | 1 + 1184 src/xz/coder.c | 10 +++++++++- 1185 src/xz/message.c | 2 ++ 1186 src/xz/xz.1 | 19 +++++++++++++++++++ 1187 5 files changed, 38 insertions(+), 1 deletion(-) 1188 1189commit 9adbc2ff373f979c917cdfd3679ce0ebd59f1040 1190Author: Lasse Collin <lasse.collin@tukaani.org> 1191Date: 2014-08-05 22:15:07 +0300 1192 1193 liblzma: Add support for LZMA_IGNORE_CHECK. 1194 1195 src/liblzma/api/lzma/container.h | 24 ++++++++++++++++++++++++ 1196 src/liblzma/common/common.h | 1 + 1197 src/liblzma/common/stream_decoder.c | 14 ++++++++++++-- 1198 3 files changed, 37 insertions(+), 2 deletions(-) 1199 1200commit 0e0f34b8e4f1c60ecaec15c2105982381cc9c3e6 1201Author: Lasse Collin <lasse.collin@tukaani.org> 1202Date: 2014-08-05 22:03:30 +0300 1203 1204 liblzma: Add support for lzma_block.ignore_check. 1205 1206 Note that this slightly changes how lzma_block_header_decode() 1207 has been documented. Earlier it said that the .version is set 1208 to the lowest required value, but now it says that the .version 1209 field is kept unchanged if possible. In practice this doesn't 1210 affect any old code, because before this commit the only 1211 possible .version was 0. 1212 1213 src/liblzma/api/lzma/block.h | 50 ++++++++++++++++++++++++------- 1214 src/liblzma/common/block_buffer_encoder.c | 2 +- 1215 src/liblzma/common/block_decoder.c | 18 ++++++++--- 1216 src/liblzma/common/block_encoder.c | 2 +- 1217 src/liblzma/common/block_header_decoder.c | 12 ++++++-- 1218 src/liblzma/common/block_header_encoder.c | 2 +- 1219 src/liblzma/common/block_util.c | 2 +- 1220 7 files changed, 68 insertions(+), 20 deletions(-) 1221 1222commit 71e1437ab585b46f7a25f5a131557d3d1c0cbaa2 1223Author: Lasse Collin <lasse.collin@tukaani.org> 1224Date: 2014-08-04 19:25:58 +0300 1225 1226 liblzma: Use lzma_memcmplen() in the BT3 match finder. 1227 1228 I had missed this when writing the commit 1229 5db75054e900fa06ef5ade5f2c21dffdd5d16141. 1230 1231 Thanks to Jun I Jin. 1232 1233 src/liblzma/lz/lz_encoder_mf.c | 5 ++--- 1234 1 file changed, 2 insertions(+), 3 deletions(-) 1235 1236commit 41dc9ea06e1414ebe8ef52afc8fc15b6e3282b04 1237Author: Lasse Collin <lasse.collin@tukaani.org> 1238Date: 2014-08-04 00:25:44 +0300 1239 1240 Update THANKS. 1241 1242 THANKS | 1 + 1243 1 file changed, 1 insertion(+) 1244 1245commit 5dcffdbcc23a68abc3ac3539b30be71bc9b5af84 1246Author: Lasse Collin <lasse.collin@tukaani.org> 1247Date: 2014-08-03 21:32:25 +0300 1248 1249 liblzma: SHA-256: Optimize the Maj macro slightly. 1250 1251 The Maj macro is used where multiple things are added 1252 together, so making Maj a sum of two expressions allows 1253 some extra freedom for the compiler to schedule the 1254 instructions. 1255 1256 I learned this trick from 1257 <http://www.hackersdelight.org/corres.txt>. 1258 1259 src/liblzma/check/sha256.c | 2 +- 1260 1 file changed, 1 insertion(+), 1 deletion(-) 1261 1262commit a9477d1e0c6fd0e47e637d051e7b9e2a5d9af517 1263Author: Lasse Collin <lasse.collin@tukaani.org> 1264Date: 2014-08-03 21:08:12 +0300 1265 1266 liblzma: SHA-256: Optimize the way rotations are done. 1267 1268 This looks weird because the rotations become sequential, 1269 but it helps quite a bit on both 32-bit and 64-bit x86: 1270 1271 - It requires fewer instructions on two-operand 1272 instruction sets like x86. 1273 1274 - It requires one register less which matters especially 1275 on 32-bit x86. 1276 1277 I hope this doesn't hurt other archs. 1278 1279 I didn't invent this idea myself, but I don't remember where 1280 I saw it first. 1281 1282 src/liblzma/check/sha256.c | 17 +++++++++++------ 1283 1 file changed, 11 insertions(+), 6 deletions(-) 1284 1285commit 5a76c7c8ee9a0afbeedb1c211db9224260404347 1286Author: Lasse Collin <lasse.collin@tukaani.org> 1287Date: 2014-08-03 20:38:13 +0300 1288 1289 liblzma: SHA-256: Remove the GCC #pragma that became unneeded. 1290 1291 The unrolling in the previous commit should avoid the 1292 situation where a compiler may think that an uninitialized 1293 variable might be accessed. 1294 1295 src/liblzma/check/sha256.c | 5 ----- 1296 1 file changed, 5 deletions(-) 1297 1298commit 9a096f8e57509775c331950b8351bbca77bdcfa8 1299Author: Lasse Collin <lasse.collin@tukaani.org> 1300Date: 2014-08-03 20:33:38 +0300 1301 1302 liblzma: SHA-256: Unroll a little more. 1303 1304 This way a branch isn't needed for each operation 1305 to choose between blk0 and blk2, and still the code 1306 doesn't grow as much as it would with full unrolling. 1307 1308 src/liblzma/check/sha256.c | 25 ++++++++++++++++--------- 1309 1 file changed, 16 insertions(+), 9 deletions(-) 1310 1311commit bc7650d87bf27f85f1a2a806dc2db1780e09e6a5 1312Author: Lasse Collin <lasse.collin@tukaani.org> 1313Date: 2014-08-03 19:56:43 +0300 1314 1315 liblzma: SHA-256: Do the byteswapping without a temporary buffer. 1316 1317 src/liblzma/check/sha256.c | 13 +------------ 1318 1 file changed, 1 insertion(+), 12 deletions(-) 1319 1320commit 544aaa3d13554e8640f9caf7db717a96360ec0f6 1321Author: Lasse Collin <lasse.collin@tukaani.org> 1322Date: 2014-07-25 22:38:28 +0300 1323 1324 liblzma: Use lzma_memcmplen() in normal mode of LZMA. 1325 1326 Two locations were not changed yet because the simplest change 1327 assumes that the initial "len" may be greater than "limit". 1328 1329 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++--------------- 1330 1 file changed, 5 insertions(+), 15 deletions(-) 1331 1332commit f48fce093b07aeda95c18850f5e086d9f2383380 1333Author: Lasse Collin <lasse.collin@tukaani.org> 1334Date: 2014-07-25 22:30:38 +0300 1335 1336 liblzma: Simplify LZMA fast mode code by using memcmp(). 1337 1338 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +---------- 1339 1 file changed, 1 insertion(+), 10 deletions(-) 1340 1341commit 6bf5308e34e23dede5b301b1b9b4f131dacd9218 1342Author: Lasse Collin <lasse.collin@tukaani.org> 1343Date: 2014-07-25 22:29:49 +0300 1344 1345 liblzma: Use lzma_memcmplen() in fast mode of LZMA. 1346 1347 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++--- 1348 1 file changed, 3 insertions(+), 3 deletions(-) 1349 1350commit 353212137e51e45b105a3a3fc2e6879f1cf0d492 1351Author: Lasse Collin <lasse.collin@tukaani.org> 1352Date: 2014-07-25 21:16:23 +0300 1353 1354 Update THANKS. 1355 1356 THANKS | 1 + 1357 1 file changed, 1 insertion(+) 1358 1359commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141 1360Author: Lasse Collin <lasse.collin@tukaani.org> 1361Date: 2014-07-25 21:15:07 +0300 1362 1363 liblzma: Use lzma_memcmplen() in the match finders. 1364 1365 This doesn't change the match finder output. 1366 1367 src/liblzma/lz/lz_encoder.c | 13 ++++++++++++- 1368 src/liblzma/lz/lz_encoder_mf.c | 33 +++++++++++---------------------- 1369 2 files changed, 23 insertions(+), 23 deletions(-) 1370 1371commit e1c8f1d01f4a4e2136173edab2dc63c71ef038f4 1372Author: Lasse Collin <lasse.collin@tukaani.org> 1373Date: 2014-07-25 20:57:20 +0300 1374 1375 liblzma: Add lzma_memcmplen() for fast memory comparison. 1376 1377 This commit just adds the function. Its uses will be in 1378 separate commits. 1379 1380 This hasn't been tested much yet and it's perhaps a bit early 1381 to commit it but if there are bugs they should get found quite 1382 quickly. 1383 1384 Thanks to Jun I Jin from Intel for help and for pointing out 1385 that string comparison needs to be optimized in liblzma. 1386 1387 configure.ac | 13 +++ 1388 src/liblzma/common/Makefile.inc | 1 + 1389 src/liblzma/common/memcmplen.h | 170 ++++++++++++++++++++++++++++++++++++++++ 1390 3 files changed, 184 insertions(+) 1391 1392commit 765735cf52e5123586e74a51b9c073b5257f631f 1393Author: Lasse Collin <lasse.collin@tukaani.org> 1394Date: 2014-07-12 21:10:09 +0300 1395 1396 Update THANKS. 1397 1398 THANKS | 1 + 1399 1 file changed, 1 insertion(+) 1400 1401commit 59da01785ef66c7e62f36e70ca808fd2824bb995 1402Author: Lasse Collin <lasse.collin@tukaani.org> 1403Date: 2014-07-12 20:06:08 +0300 1404 1405 Translations: Add Vietnamese translation. 1406 1407 Thanks to Trần Ngọc Quân. 1408 1409 po/LINGUAS | 1 + 1410 po/vi.po | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1411 2 files changed, 1008 insertions(+) 1412 1413commit 17215f751c354852700e7f8592ccf319570a0721 1414Author: Lasse Collin <lasse.collin@tukaani.org> 1415Date: 2014-06-29 20:54:14 +0300 1416 1417 xz: Update the help message of a few options. 1418 1419 Updated: --threads, --block-size, and --block-list 1420 Added: --flush-timeout 1421 1422 src/xz/message.c | 18 +++++++++++------- 1423 1 file changed, 11 insertions(+), 7 deletions(-) 1424 1425commit 96864a6ddf91ad693d102ea165f3d7918744d582 1426Author: Lasse Collin <lasse.collin@tukaani.org> 1427Date: 2014-06-18 22:07:06 +0300 1428 1429 xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores(). 1430 1431 src/xz/Makefile.am | 1 - 1432 src/xz/hardware.c | 12 +++++++++--- 1433 2 files changed, 9 insertions(+), 4 deletions(-) 1434 1435commit a115cc3748482e277f42a968baa3cd266f031dba 1436Author: Lasse Collin <lasse.collin@tukaani.org> 1437Date: 2014-06-18 22:04:24 +0300 1438 1439 liblzma: Add lzma_cputhreads(). 1440 1441 src/liblzma/Makefile.am | 8 +++++++- 1442 src/liblzma/api/lzma/hardware.h | 14 ++++++++++++++ 1443 src/liblzma/common/Makefile.inc | 1 + 1444 src/liblzma/common/hardware_cputhreads.c | 22 ++++++++++++++++++++++ 1445 src/liblzma/liblzma.map | 1 + 1446 5 files changed, 45 insertions(+), 1 deletion(-) 1447 1448commit 3ce3e7976904fbab4e6482bafa442856f77a51fa 1449Author: Lasse Collin <lasse.collin@tukaani.org> 1450Date: 2014-06-18 19:11:52 +0300 1451 1452 xz: Check for filter chain compatibility for --flush-timeout. 1453 1454 This avoids LZMA_PROG_ERROR from lzma_code() with filter chains 1455 that don't support LZMA_SYNC_FLUSH. 1456 1457 src/xz/coder.c | 30 +++++++++++++++++++++--------- 1458 1 file changed, 21 insertions(+), 9 deletions(-) 1459 1460commit 381ac14ed79e5d38809f251705be8b3193bba417 1461Author: Lasse Collin <lasse.collin@tukaani.org> 1462Date: 2014-06-13 19:21:54 +0300 1463 1464 xzgrep: List xzgrep_expected_output in tests/Makefile.am. 1465 1466 tests/Makefile.am | 3 ++- 1467 1 file changed, 2 insertions(+), 1 deletion(-) 1468 1469commit 4244b65b06d5ecaf6f9dd0387ac7e3166bd2364e 1470Author: Lasse Collin <lasse.collin@tukaani.org> 1471Date: 2014-06-13 18:58:22 +0300 1472 1473 xzgrep: Improve the test script. 1474 1475 Now it should be close to the functionality of the original 1476 version by Pavel Raiskup. 1477 1478 tests/Makefile.am | 3 ++- 1479 tests/test_scripts.sh | 24 ++++++++++++++---------- 1480 tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++ 1481 3 files changed, 55 insertions(+), 11 deletions(-) 1482 1483commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26 1484Author: Lasse Collin <lasse.collin@tukaani.org> 1485Date: 2014-06-11 21:03:25 +0300 1486 1487 xzgrep: Add a test for the previous fix. 1488 1489 This is a simplified version of Pavel Raiskup's 1490 original patch. 1491 1492 tests/test_scripts.sh | 26 ++++++++++++++++++++++---- 1493 1 file changed, 22 insertions(+), 4 deletions(-) 1494 1495commit ceca37901783988204caaf40dff4623d535cc789 1496Author: Lasse Collin <lasse.collin@tukaani.org> 1497Date: 2014-06-11 20:43:28 +0300 1498 1499 xzgrep: exit 0 when at least one file matches. 1500 1501 Mimic the original grep behavior and return exit_success when 1502 at least one xz compressed file matches given pattern. 1503 1504 Original bugreport: 1505 https://bugzilla.redhat.com/show_bug.cgi?id=1108085 1506 1507 Thanks to Pavel Raiskup for the patch. 1508 1509 src/scripts/xzgrep.in | 15 +++++++++++++-- 1510 1 file changed, 13 insertions(+), 2 deletions(-) 1511 1512commit 8c19216baccb92d011694590df8a1262da2e980c 1513Author: Lasse Collin <lasse.collin@tukaani.org> 1514Date: 2014-06-09 21:21:24 +0300 1515 1516 xz: Force single-threaded mode when --flush-timeout is used. 1517 1518 src/xz/coder.c | 11 +++++++++++ 1519 1 file changed, 11 insertions(+) 1520 1521commit 87f1a24810805187d7bbc8ac5512e7eec307ddf5 1522Author: Lasse Collin <lasse.collin@tukaani.org> 1523Date: 2014-05-25 22:05:39 +0300 1524 1525 Update THANKS. 1526 1527 THANKS | 1 + 1528 1 file changed, 1 insertion(+) 1529 1530commit da1718f266fcfc091e7bf08aae1bc986d0e6cc6b 1531Author: Lasse Collin <lasse.collin@tukaani.org> 1532Date: 2014-05-25 21:45:56 +0300 1533 1534 liblzma: Use lzma_alloc_zero() in LZ encoder initialization. 1535 1536 This avoids a memzero() call for a newly-allocated memory, 1537 which can be expensive when encoding small streams with 1538 an over-sized dictionary. 1539 1540 To avoid using lzma_alloc_zero() for memory that doesn't 1541 need to be zeroed, lzma_mf.son is now allocated separately, 1542 which requires handling it separately in normalize() too. 1543 1544 Thanks to Vincenzo Innocente for reporting the problem. 1545 1546 src/liblzma/lz/lz_encoder.c | 84 ++++++++++++++++++++++-------------------- 1547 src/liblzma/lz/lz_encoder.h | 2 +- 1548 src/liblzma/lz/lz_encoder_mf.c | 31 +++++++++------- 1549 3 files changed, 62 insertions(+), 55 deletions(-) 1550 1551commit 28af24e9cf2eb259997c85dce13d4c97b3daa47a 1552Author: Lasse Collin <lasse.collin@tukaani.org> 1553Date: 2014-05-25 19:25:57 +0300 1554 1555 liblzma: Add the internal function lzma_alloc_zero(). 1556 1557 src/liblzma/common/common.c | 21 +++++++++++++++++++++ 1558 src/liblzma/common/common.h | 6 ++++++ 1559 2 files changed, 27 insertions(+) 1560 1561commit ed9ac85822c490e34b68c259afa0b385d21d1c40 1562Author: Lasse Collin <lasse.collin@tukaani.org> 1563Date: 2014-05-08 18:03:09 +0300 1564 1565 xz: Fix uint64_t vs. size_t which broke 32-bit build. 1566 1567 Thanks to Christian Hesse. 1568 1569 src/xz/coder.c | 2 +- 1570 1 file changed, 1 insertion(+), 1 deletion(-) 1571 1572commit d716acdae3fa7996f9e68a7bac012e6d8d13dd02 1573Author: Lasse Collin <lasse.collin@tukaani.org> 1574Date: 2014-05-04 11:09:11 +0300 1575 1576 Docs: Update comments to refer to lzma/lzma12.h in example programs. 1577 1578 doc/examples/03_compress_custom.c | 6 +++--- 1579 1 file changed, 3 insertions(+), 3 deletions(-) 1580 1581commit 4d5b7b3fda31241ca86ed35e08e73f776ee916e0 1582Author: Lasse Collin <lasse.collin@tukaani.org> 1583Date: 2014-05-04 11:07:17 +0300 1584 1585 liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h. 1586 1587 It can be confusing that two header files have the same name. 1588 The public API file is still lzma.h. 1589 1590 src/liblzma/api/Makefile.am | 2 +- 1591 src/liblzma/api/lzma.h | 2 +- 1592 src/liblzma/api/lzma/lzma.h | 420 ------------------------------------------ 1593 src/liblzma/api/lzma/lzma12.h | 420 ++++++++++++++++++++++++++++++++++++++++++ 1594 4 files changed, 422 insertions(+), 422 deletions(-) 1595 1596commit 1555a9c5664afc7893a2b75e9970105437f01ef1 1597Author: Lasse Collin <lasse.collin@tukaani.org> 1598Date: 2014-04-25 17:53:42 +0300 1599 1600 Build: Fix the combination of --disable-xzdec --enable-lzmadec. 1601 1602 In this case "make install" could fail if the man page directory 1603 didn't already exist at the destination. If it did exist, a 1604 dangling symlink was created there. Now the link is omitted 1605 instead. This isn't the best fix but it's better than the old 1606 behavior. 1607 1608 src/xzdec/Makefile.am | 10 +++++++++- 1609 1 file changed, 9 insertions(+), 1 deletion(-) 1610 1611commit 56056571df3377eaa6ae6233b3ccc5d72e81d43d 1612Author: Lasse Collin <lasse.collin@tukaani.org> 1613Date: 2014-04-25 17:44:26 +0300 1614 1615 Build: Add --disable-doc to configure. 1616 1617 INSTALL | 6 ++++++ 1618 Makefile.am | 2 ++ 1619 configure.ac | 6 ++++++ 1620 3 files changed, 14 insertions(+) 1621 1622commit 6de61d8721097a6214810841aa85b08e303ac538 1623Author: Lasse Collin <lasse.collin@tukaani.org> 1624Date: 2014-04-24 18:06:24 +0300 1625 1626 Update INSTALL. 1627 1628 Add a note about failing "make check". The source of 1629 the problem should be fixed in libtool (if it really is 1630 a libtool bug and not mine) but I'm unable to spend time 1631 on that for now. Thanks to Nelson H. F. Beebe for reporting 1632 the issue. 1633 1634 Add a note about a possible need to run "ldconfig" after 1635 "make install". 1636 1637 INSTALL | 25 +++++++++++++++++++++++++ 1638 1 file changed, 25 insertions(+) 1639 1640commit 54df428799a8d853639b753d0e6784694d73eb3e 1641Author: Lasse Collin <lasse.collin@tukaani.org> 1642Date: 2014-04-09 17:26:10 +0300 1643 1644 xz: Rename a variable to avoid a namespace collision on Solaris. 1645 1646 I don't know the details but I have an impression that there's 1647 no problem in practice if using GCC since people have built xz 1648 with GCC (without patching xz), but renaming the variable cannot 1649 hurt either. 1650 1651 Thanks to Mark Ashley. 1652 1653 src/xz/signals.c | 12 +++++++----- 1654 1 file changed, 7 insertions(+), 5 deletions(-) 1655 1656commit 5876ca27daa1429676b1160007d9688266907f00 1657Author: Lasse Collin <lasse.collin@tukaani.org> 1658Date: 2014-01-29 20:19:41 +0200 1659 1660 Docs: Add example program for threaded encoding. 1661 1662 I didn't add -DLZMA_UNSTABLE to Makefile so one has to 1663 specify it manually as long as LZMA_UNSTABLE is needed. 1664 1665 doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++ 1666 doc/examples/Makefile | 3 +- 1667 2 files changed, 186 insertions(+), 1 deletion(-) 1668 1669commit 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e 1670Author: Lasse Collin <lasse.collin@tukaani.org> 1671Date: 2014-01-29 20:13:51 +0200 1672 1673 liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt(). 1674 1675 It read the filter chain from a wrong variable. 1676 1677 src/liblzma/common/stream_encoder_mt.c | 4 ++-- 1678 1 file changed, 2 insertions(+), 2 deletions(-) 1679 1680commit 673a4cb53de3a715685cb1b836da57a3c7dcd43c 1681Author: Lasse Collin <lasse.collin@tukaani.org> 1682Date: 2014-01-20 11:20:40 +0200 1683 1684 liblzma: Fix typo in a comment. 1685 1686 src/liblzma/api/lzma/block.h | 2 +- 1687 1 file changed, 1 insertion(+), 1 deletion(-) 1688 1689commit ad96a871a1470eb76d6233d3890ce9338047b7a3 1690Author: Lasse Collin <lasse.collin@tukaani.org> 1691Date: 2014-01-12 19:38:43 +0200 1692 1693 Windows: Add config.h for building liblzma with MSVC 2013. 1694 1695 This is for building liblzma. Building xz tool too requires 1696 a little more work. Maybe it will be supported, but for most 1697 MSVC users it's enough to be able to build liblzma. 1698 1699 C99 support in MSVC 2013 is almost usable which is a big 1700 improvement over earlier versions. It's "almost" because 1701 there's a dumb bug that breaks mixed declarations after 1702 an "if" statements unless the "if" statement uses braces: 1703 1704 https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug 1705 https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs 1706 1707 Hopefully it will get fixed. Then liblzma should be 1708 compilable with MSVC 2013 without patching. 1709 1710 windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1711 1 file changed, 139 insertions(+) 1712 1713commit 3d5c090872fab4212b57c290e8ed4d02c78c1737 1714Author: Lasse Collin <lasse.collin@tukaani.org> 1715Date: 2014-01-12 17:41:14 +0200 1716 1717 xz: Fix a comment. 1718 1719 src/xz/coder.c | 4 ++-- 1720 1 file changed, 2 insertions(+), 2 deletions(-) 1721 1722commit 69fd4e1c932c7975476a0143c86e45d81b60d3f9 1723Author: Lasse Collin <lasse.collin@tukaani.org> 1724Date: 2014-01-12 17:04:33 +0200 1725 1726 Windows: Add MSVC defines for inline and restrict keywords. 1727 1728 src/common/sysdefs.h | 10 ++++++++++ 1729 1 file changed, 10 insertions(+) 1730 1731commit a19d9e8575ee6647cd9154cf1f20203f1330485f 1732Author: Lasse Collin <lasse.collin@tukaani.org> 1733Date: 2014-01-12 16:44:52 +0200 1734 1735 liblzma: Avoid C99 compound literal arrays. 1736 1737 MSVC 2013 doesn't like them. Maybe they aren't so good 1738 for readability either since many aren't used to them. 1739 1740 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++--- 1741 1 file changed, 5 insertions(+), 3 deletions(-) 1742 1743commit e28528f1c867b2ed4ac91195ad08efb9bb8a6263 1744Author: Lasse Collin <lasse.collin@tukaani.org> 1745Date: 2014-01-12 12:50:30 +0200 1746 1747 liblzma: Remove a useless C99ism from sha256.c. 1748 1749 Unsurprisingly it makes no difference in compiled output. 1750 1751 src/liblzma/check/sha256.c | 2 +- 1752 1 file changed, 1 insertion(+), 1 deletion(-) 1753 1754commit 5ad1effc45adfb7dabc9a98e79736077e6b7e2d5 1755Author: Lasse Collin <lasse.collin@tukaani.org> 1756Date: 2014-01-12 12:17:08 +0200 1757 1758 xz: Fix use of wrong variable. 1759 1760 Since the only call to suffix_set() uses optarg 1761 as the argument, fixing this bug doesn't change 1762 the behavior of the program. 1763 1764 src/xz/suffix.c | 2 +- 1765 1 file changed, 1 insertion(+), 1 deletion(-) 1766 1767commit 3e62c68d75b5a3fdd46dbb34bb335d73289860d5 1768Author: Lasse Collin <lasse.collin@tukaani.org> 1769Date: 2014-01-12 12:11:36 +0200 1770 1771 Fix typos in comments. 1772 1773 src/common/mythread.h | 2 +- 1774 src/liblzma/check/crc32_fast.c | 2 +- 1775 2 files changed, 2 insertions(+), 2 deletions(-) 1776 1777commit e90ea601fb72867ec04adf456cbe4bf9520fd412 1778Author: Lasse Collin <lasse.collin@tukaani.org> 1779Date: 2013-11-26 18:20:16 +0200 1780 1781 Update THANKS. 1782 1783 THANKS | 1 + 1784 1 file changed, 1 insertion(+) 1785 1786commit b22e94d8d15764416354e04729382a7371ae2c30 1787Author: Lasse Collin <lasse.collin@tukaani.org> 1788Date: 2013-11-26 18:20:09 +0200 1789 1790 liblzma: Document the need for block->check for lzma_block_header_decode(). 1791 1792 Thanks to Tomer Chachamu. 1793 1794 src/liblzma/api/lzma/block.h | 3 +++ 1795 1 file changed, 3 insertions(+) 1796 1797commit d1cd8b1cb824b72421d1ee370e628024d2fcbec4 1798Author: Lasse Collin <lasse.collin@tukaani.org> 1799Date: 2013-11-12 16:38:57 +0200 1800 1801 xz: Update the man page about --block-size and --block-list. 1802 1803 src/xz/xz.1 | 24 +++++++++++++++--------- 1804 1 file changed, 15 insertions(+), 9 deletions(-) 1805 1806commit 76be7c612e6bcc38724488ccc3b8bcb1cfec9f0a 1807Author: Lasse Collin <lasse.collin@tukaani.org> 1808Date: 2013-11-12 16:30:53 +0200 1809 1810 Update THANKS. 1811 1812 THANKS | 1 + 1813 1 file changed, 1 insertion(+) 1814 1815commit dd750acbe2259d75444ef0f8da2d4bacc90d7afc 1816Author: Lasse Collin <lasse.collin@tukaani.org> 1817Date: 2013-11-12 16:29:48 +0200 1818 1819 xz: Make --block-list and --block-size work together in single-threaded. 1820 1821 Previously, --block-list and --block-size only worked together 1822 in threaded mode. Boundaries are specified by --block-list, but 1823 --block-size specifies the maximum size for a Block. Now this 1824 works in single-threaded mode too. 1825 1826 Thanks to James M Leddy for the original patch. 1827 1828 src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++---------- 1829 1 file changed, 75 insertions(+), 15 deletions(-) 1830 1831commit ae222fe9805d0161d022d75ba8485dab8bf6d7d5 1832Author: Lasse Collin <lasse.collin@tukaani.org> 1833Date: 2013-10-26 13:26:14 +0300 1834 1835 Bump the version number to 5.1.3alpha. 1836 1837 src/liblzma/api/lzma/version.h | 2 +- 1838 src/liblzma/liblzma.map | 2 +- 1839 2 files changed, 2 insertions(+), 2 deletions(-) 1840 1841commit 2193837a6a597cd3bf4e9ddf49421a5697d8e155 1842Author: Lasse Collin <lasse.collin@tukaani.org> 1843Date: 2013-10-26 13:25:02 +0300 1844 1845 Update NEWS for 5.1.3alpha. 1846 1847 NEWS | 35 +++++++++++++++++++++++++++++++++++ 1848 1 file changed, 35 insertions(+) 1849 1850commit ed48e75e2763876173aef8902da407a8eb28854b 1851Author: Lasse Collin <lasse.collin@tukaani.org> 1852Date: 2013-10-26 12:47:04 +0300 1853 1854 Update TODO. 1855 1856 TODO | 4 ---- 1857 1 file changed, 4 deletions(-) 1858 1859commit 841da0352d79a56a44796a4c39163429c9f039a3 1860Author: Lasse Collin <lasse.collin@tukaani.org> 1861Date: 2013-10-25 22:41:28 +0300 1862 1863 xz: Document behavior of --block-list with threads. 1864 1865 This needs to be updated before 5.2.0. 1866 1867 src/xz/xz.1 | 24 +++++++++++++++++++++--- 1868 1 file changed, 21 insertions(+), 3 deletions(-) 1869 1870commit 56feb8665b78c1032aabd53c619c62af51defe64 1871Author: Lasse Collin <lasse.collin@tukaani.org> 1872Date: 2013-10-22 20:03:12 +0300 1873 1874 xz: Document --flush-timeout=TIMEOUT on the man page. 1875 1876 src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++- 1877 1 file changed, 36 insertions(+), 1 deletion(-) 1878 1879commit ba413da1d5bb3324287cf3174922acd921165971 1880Author: Lasse Collin <lasse.collin@tukaani.org> 1881Date: 2013-10-22 19:51:55 +0300 1882 1883 xz: Take advantage of LZMA_FULL_BARRIER with --block-list. 1884 1885 Now if --block-list is used in threaded mode, the encoder 1886 won't need to flush at each Block boundary specified via 1887 --block-list. This improves performance a lot, making 1888 threading helpful with --block-list. 1889 1890 The flush timer was reset after LZMA_FULL_FLUSH but since 1891 LZMA_FULL_BARRIER doesn't flush, resetting the timer is 1892 no longer done. 1893 1894 src/xz/coder.c | 32 +++++++++++++++----------------- 1895 1 file changed, 15 insertions(+), 17 deletions(-) 1896 1897commit 0cd45fc2bc5537de287a0bc005e2d67467a92148 1898Author: Lasse Collin <lasse.collin@tukaani.org> 1899Date: 2013-10-02 20:05:23 +0300 1900 1901 liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder. 1902 1903 Now --block-list=SIZES works with in the threaded mode too, 1904 although the performance is still bad due to the use of 1905 LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER. 1906 1907 src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++---------- 1908 1 file changed, 39 insertions(+), 16 deletions(-) 1909 1910commit 97bb38712f414fabecca908af2e38a12570293fd 1911Author: Lasse Collin <lasse.collin@tukaani.org> 1912Date: 2013-10-02 12:55:11 +0300 1913 1914 liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder. 1915 1916 In the single-threaded encoder LZMA_FULL_BARRIER is simply 1917 an alias for LZMA_FULL_FLUSH. 1918 1919 src/liblzma/api/lzma/base.h | 37 ++++++++++++++++++++++++++++++------- 1920 src/liblzma/common/common.c | 17 +++++++++++++++-- 1921 src/liblzma/common/common.h | 7 ++++++- 1922 src/liblzma/common/stream_encoder.c | 4 +++- 1923 4 files changed, 54 insertions(+), 11 deletions(-) 1924 1925commit fef0c6b410c08e581c9178700a4e7599f0895ff9 1926Author: Lasse Collin <lasse.collin@tukaani.org> 1927Date: 2013-09-17 11:57:51 +0300 1928 1929 liblzma: Add block_buffer_encoder.h into Makefile.inc. 1930 1931 This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc. 1932 1933 src/liblzma/common/Makefile.inc | 1 + 1934 1 file changed, 1 insertion(+) 1935 1936commit 8083e03291b6d21c0f538163e187b4e8cd5594e4 1937Author: Lasse Collin <lasse.collin@tukaani.org> 1938Date: 2013-09-17 11:55:38 +0300 1939 1940 xz: Add a missing test for TUKLIB_DOSLIKE. 1941 1942 src/xz/file_io.c | 2 ++ 1943 1 file changed, 2 insertions(+) 1944 1945commit 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0 1946Author: Lasse Collin <lasse.collin@tukaani.org> 1947Date: 2013-09-17 11:52:28 +0300 1948 1949 Add native threading support on Windows. 1950 1951 Now liblzma only uses "mythread" functions and types 1952 which are defined in mythread.h matching the desired 1953 threading method. 1954 1955 Before Windows Vista, there is no direct equivalent to 1956 pthread condition variables. Since this package doesn't 1957 use pthread_cond_broadcast(), pre-Vista threading can 1958 still be kept quite simple. The pre-Vista code doesn't 1959 use anything that wasn't already available in Windows 95, 1960 so the binaries should run even on Windows 95 if someone 1961 happens to care. 1962 1963 INSTALL | 41 ++- 1964 configure.ac | 118 ++++++-- 1965 src/common/mythread.h | 513 ++++++++++++++++++++++++++------- 1966 src/liblzma/common/stream_encoder_mt.c | 83 +++--- 1967 src/xz/coder.c | 8 +- 1968 windows/README-Windows.txt | 2 +- 1969 windows/build.bash | 23 +- 1970 7 files changed, 573 insertions(+), 215 deletions(-) 1971 1972commit ae0ab74a88d5b9b15845f1d9a24ade4349a54f9f 1973Author: Lasse Collin <lasse.collin@tukaani.org> 1974Date: 2013-09-11 14:40:35 +0300 1975 1976 Build: Remove a comment about Automake 1.10 from configure.ac. 1977 1978 The previous commit supports silent rules and that requires 1979 Automake 1.11. 1980 1981 configure.ac | 2 -- 1982 1 file changed, 2 deletions(-) 1983 1984commit 72975df6c8c59aaf849138ab3606e8fb6970596a 1985Author: Lasse Collin <lasse.collin@tukaani.org> 1986Date: 2013-09-09 20:37:03 +0300 1987 1988 Build: Create liblzma.pc in a src/liblzma/Makefile.am. 1989 1990 Previously it was done in configure, but doing that goes 1991 against the Autoconf manual. Autoconf requires that it is 1992 possible to override e.g. prefix after running configure 1993 and that doesn't work correctly if liblzma.pc is created 1994 by configure. 1995 1996 A potential downside of this change is that now e.g. 1997 libdir in liblzma.pc is a standalone string instead of 1998 being defined via ${prefix}, so if one overrides prefix 1999 when running pkg-config the libdir won't get the new value. 2000 I don't know if this matters in practice. 2001 2002 Thanks to Vincent Torri. 2003 2004 configure.ac | 1 - 2005 src/liblzma/Makefile.am | 20 ++++++++++++++++++++ 2006 2 files changed, 20 insertions(+), 1 deletion(-) 2007 2008commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc 2009Author: Lasse Collin <lasse.collin@tukaani.org> 2010Date: 2013-08-04 15:24:09 +0300 2011 2012 Fix the previous commit which broke the build. 2013 2014 Apparently I didn't even compile-test the previous commit. 2015 2016 Thanks to Christian Hesse. 2017 2018 src/common/tuklib_cpucores.c | 2 +- 2019 1 file changed, 1 insertion(+), 1 deletion(-) 2020 2021commit 124eb69c7857f618b4807588c51bc9ba21bf8691 2022Author: Lasse Collin <lasse.collin@tukaani.org> 2023Date: 2013-08-03 13:52:58 +0300 2024 2025 Windows: Add Windows support to tuklib_cpucores(). 2026 2027 It is used for Cygwin too. I'm not sure if that is 2028 a good or bad idea. 2029 2030 Thanks to Vincent Torri. 2031 2032 m4/tuklib_cpucores.m4 | 19 +++++++++++++++++-- 2033 src/common/tuklib_cpucores.c | 13 ++++++++++++- 2034 2 files changed, 29 insertions(+), 3 deletions(-) 2035 2036commit eada8a875ce3fd521cb42e4ace2624d3d49c5f35 2037Author: Anders F Bjorklund <afb@users.sourceforge.net> 2038Date: 2013-08-02 15:59:46 +0200 2039 2040 macosx: separate liblzma package 2041 2042 macosx/build.sh | 23 +++++++++++++++-------- 2043 1 file changed, 15 insertions(+), 8 deletions(-) 2044 2045commit be0100d01ca6a75899d051bee00acf17e6dc0c15 2046Author: Anders F Bjorklund <afb@users.sourceforge.net> 2047Date: 2013-08-02 15:58:44 +0200 2048 2049 macosx: set minimum to leopard 2050 2051 macosx/build.sh | 13 ++++++++----- 2052 1 file changed, 8 insertions(+), 5 deletions(-) 2053 2054commit 416729e2d743f4b2fe9fd438eedeb98adce033c3 2055Author: Anders F Bjorklund <afb@users.sourceforge.net> 2056Date: 2011-08-07 13:13:30 +0200 2057 2058 move configurables into variables 2059 2060 macosx/build.sh | 25 ++++++++++++++++++------- 2061 1 file changed, 18 insertions(+), 7 deletions(-) 2062 2063commit 16581080e5f29f9a4e49efece21c5bf572323acc 2064Author: Lasse Collin <lasse.collin@tukaani.org> 2065Date: 2013-07-15 14:08:41 +0300 2066 2067 Update THANKS. 2068 2069 THANKS | 1 + 2070 1 file changed, 1 insertion(+) 2071 2072commit 3e2b198ba37b624efd9c7caee2a435dc986b46c6 2073Author: Lasse Collin <lasse.collin@tukaani.org> 2074Date: 2013-07-15 14:08:02 +0300 2075 2076 Build: Fix the detection of missing CRC32. 2077 2078 Thanks to Vincent Torri. 2079 2080 configure.ac | 2 +- 2081 1 file changed, 1 insertion(+), 1 deletion(-) 2082 2083commit dee6ad3d5915422bc30a6821efeacaeb8ca8ef00 2084Author: Lasse Collin <lasse.collin@tukaani.org> 2085Date: 2013-07-04 14:18:46 +0300 2086 2087 xz: Add preliminary support for --flush-timeout=TIMEOUT. 2088 2089 When --flush-timeout=TIMEOUT is used, xz will use 2090 LZMA_SYNC_FLUSH if read() would block and at least 2091 TIMEOUT milliseconds has elapsed since the previous flush. 2092 2093 This can be useful in realtime-like use cases where the 2094 data is simultanously decompressed by another process 2095 (possibly on a different computer). If new uncompressed 2096 input data is produced slowly, without this option xz could 2097 buffer the data for a long time until it would become 2098 decompressible from the output. 2099 2100 If TIMEOUT is 0, the feature is disabled. This is the default. 2101 2102 This commit affects the compression side. Using xz for 2103 the decompression side for the above purpose doesn't work 2104 yet so well because there is quite a bit of input and 2105 output buffering when decompressing. 2106 2107 The --long-help or man page were not updated yet. 2108 The details of this feature may change. 2109 2110 src/xz/args.c | 7 +++++++ 2111 src/xz/coder.c | 46 +++++++++++++++++++++++++++++++++++----------- 2112 src/xz/file_io.c | 46 ++++++++++++++++++++++++++++++++++++---------- 2113 3 files changed, 78 insertions(+), 21 deletions(-) 2114 2115commit fa381acaf9a29a8114e1c0a97de99bab9adb014e 2116Author: Lasse Collin <lasse.collin@tukaani.org> 2117Date: 2013-07-04 13:41:03 +0300 2118 2119 xz: Don't set src_eof=true after an I/O error because it's useless. 2120 2121 src/xz/file_io.c | 3 --- 2122 1 file changed, 3 deletions(-) 2123 2124commit ea00545beace5b950f709ec21e46878e0f448678 2125Author: Lasse Collin <lasse.collin@tukaani.org> 2126Date: 2013-07-04 13:25:11 +0300 2127 2128 xz: Fix the test when to read more input. 2129 2130 Testing for end of file was no longer correct after full flushing 2131 became possible with --block-size=SIZE and --block-list=SIZES. 2132 There was no bug in practice though because xz just made a few 2133 unneeded zero-byte reads. 2134 2135 src/xz/coder.c | 6 +++--- 2136 1 file changed, 3 insertions(+), 3 deletions(-) 2137 2138commit 736903c64bef394c06685d79908e397bcb08b88f 2139Author: Lasse Collin <lasse.collin@tukaani.org> 2140Date: 2013-07-04 12:51:57 +0300 2141 2142 xz: Move some of the timing code into mytime.[hc]. 2143 2144 This switches units from microseconds to milliseconds. 2145 2146 New clock_gettime(CLOCK_MONOTONIC) will be used if available. 2147 There is still a fallback to gettimeofday(). 2148 2149 src/xz/Makefile.am | 2 ++ 2150 src/xz/coder.c | 5 +++ 2151 src/xz/message.c | 54 +++++++++------------------------ 2152 src/xz/mytime.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2153 src/xz/mytime.h | 47 ++++++++++++++++++++++++++++ 2154 src/xz/private.h | 1 + 2155 6 files changed, 158 insertions(+), 40 deletions(-) 2156 2157commit 24edf8d807e24ffaa1e793114d94cca3b970027d 2158Author: Lasse Collin <lasse.collin@tukaani.org> 2159Date: 2013-07-01 14:35:03 +0300 2160 2161 Update THANKS. 2162 2163 THANKS | 1 + 2164 1 file changed, 1 insertion(+) 2165 2166commit c0627b3fceacfa1ed162f5f55235360ea26f569a 2167Author: Lasse Collin <lasse.collin@tukaani.org> 2168Date: 2013-07-01 14:34:11 +0300 2169 2170 xz: Silence a warning seen with _FORTIFY_SOURCE=2. 2171 2172 Thanks to Christian Hesse. 2173 2174 src/xz/file_io.c | 8 +++++++- 2175 1 file changed, 7 insertions(+), 1 deletion(-) 2176 2177commit 1936718bb38ee394bd89836fdd4eabc0beb02443 2178Author: Lasse Collin <lasse.collin@tukaani.org> 2179Date: 2013-06-30 19:40:11 +0300 2180 2181 Update NEWS for 5.0.5. 2182 2183 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2184 1 file changed, 52 insertions(+) 2185 2186commit a37ae8b5eb6093a530198f109c6f7a538c80ecf0 2187Author: Lasse Collin <lasse.collin@tukaani.org> 2188Date: 2013-06-30 18:02:27 +0300 2189 2190 Man pages: Use similar syntax for synopsis as in xz. 2191 2192 The man pages of lzmainfo, xzmore, and xzdec had similar 2193 constructs as the man page of xz had before the commit 2194 eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond 2195 didn't mention these man pages in his bug report, but 2196 it's nice to be consistent. 2197 2198 src/lzmainfo/lzmainfo.1 | 4 ++-- 2199 src/scripts/xzmore.1 | 6 +++--- 2200 src/xzdec/xzdec.1 | 10 +++++----- 2201 3 files changed, 10 insertions(+), 10 deletions(-) 2202 2203commit cdba9ddd870ae72fd6219a125662c20ec997f86c 2204Author: Lasse Collin <lasse.collin@tukaani.org> 2205Date: 2013-06-29 15:59:13 +0300 2206 2207 xz: Use non-blocking I/O for the output file. 2208 2209 Now both reading and writing should be without 2210 race conditions with signals. 2211 2212 They might still be signal handling issues left. 2213 Signals are blocked during many operations to avoid 2214 EINTR but it may cause problems e.g. if writing to 2215 stderr blocks when trying to display an error message. 2216 2217 src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 2218 1 file changed, 49 insertions(+), 8 deletions(-) 2219 2220commit e61a5c95da3fe31281d959e5e842885a8ba2b5bd 2221Author: Lasse Collin <lasse.collin@tukaani.org> 2222Date: 2013-06-28 23:56:17 +0300 2223 2224 xz: Fix return value type in io_write_buf(). 2225 2226 It didn't affect the behavior of the code since -1 2227 becomes true anyway. 2228 2229 src/xz/file_io.c | 2 +- 2230 1 file changed, 1 insertion(+), 1 deletion(-) 2231 2232commit 9dc319eabb34a826f4945f91c71620f14a60e9e2 2233Author: Lasse Collin <lasse.collin@tukaani.org> 2234Date: 2013-06-28 23:48:05 +0300 2235 2236 xz: Use the self-pipe trick to avoid a race condition with signals. 2237 2238 It is possible that a signal to set user_abort arrives right 2239 before a blocking system call is made. In this case the call 2240 may block until another signal arrives, while the wanted 2241 behavior is to make xz clean up and exit as soon as possible. 2242 2243 After this commit, the race condition is avoided with the 2244 input side which already uses non-blocking I/O. The output 2245 side still uses blocking I/O and thus has the race condition. 2246 2247 src/xz/file_io.c | 56 ++++++++++++++++++++++++++++++++++++++++++++------------ 2248 src/xz/file_io.h | 8 ++++++++ 2249 src/xz/signals.c | 5 +++++ 2250 3 files changed, 57 insertions(+), 12 deletions(-) 2251 2252commit 3541bc79d0cfabc0ad155c99bfdad1289f17fec3 2253Author: Lasse Collin <lasse.collin@tukaani.org> 2254Date: 2013-06-28 22:51:02 +0300 2255 2256 xz: Use non-blocking I/O for the input file. 2257 2258 src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++---------------- 2259 1 file changed, 111 insertions(+), 45 deletions(-) 2260 2261commit 78673a08bed5066c81e8a8e90d20e670c28ecfd5 2262Author: Lasse Collin <lasse.collin@tukaani.org> 2263Date: 2013-06-28 18:46:13 +0300 2264 2265 xz: Remove an outdated NetBSD-specific comment. 2266 2267 Nowadays errno == EFTYPE is documented in open(2). 2268 2269 src/xz/file_io.c | 4 ---- 2270 1 file changed, 4 deletions(-) 2271 2272commit a616fdad34b48b2932ef03fb87309dcc8b829527 2273Author: Lasse Collin <lasse.collin@tukaani.org> 2274Date: 2013-06-28 18:09:47 +0300 2275 2276 xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls. 2277 2278 POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on 2279 error and "other than -1" on success. This is how it is 2280 documented e.g. on OpenBSD too. On Linux, success with 2281 F_SETFL is always 0 (at least accorinding to fcntl(2) 2282 from man-pages 3.51). 2283 2284 src/xz/file_io.c | 8 ++++---- 2285 1 file changed, 4 insertions(+), 4 deletions(-) 2286 2287commit 4a08a6e4c61c65ab763ab314100a6d7a3bb89298 2288Author: Lasse Collin <lasse.collin@tukaani.org> 2289Date: 2013-06-28 17:36:47 +0300 2290 2291 xz: Fix use of wrong variable in a fcntl() call. 2292 2293 Due to a wrong variable name, when writing a sparse file 2294 to standard output, *all* file status flags were cleared 2295 (to the extent the operating system allowed it) instead of 2296 only clearing the O_APPEND flag. In practice this worked 2297 fine in the common situations on GNU/Linux, but I didn't 2298 check how it behaved elsewhere. 2299 2300 The original flags were still restored correctly. I still 2301 changed the code to use a separate boolean variable to 2302 indicate when the flags should be restored instead of 2303 relying on a special value in stdout_flags. 2304 2305 src/xz/file_io.c | 24 +++++++++++++----------- 2306 1 file changed, 13 insertions(+), 11 deletions(-) 2307 2308commit b790b435daa3351067f80a5973b647f8d55367a2 2309Author: Lasse Collin <lasse.collin@tukaani.org> 2310Date: 2013-06-28 14:55:37 +0300 2311 2312 xz: Fix assertion related to posix_fadvise(). 2313 2314 Input file can be a FIFO or something else that doesn't 2315 support posix_fadvise() so don't check the return value 2316 even with an assertion. Nothing bad happens if the call 2317 to posix_fadvise() fails. 2318 2319 src/xz/file_io.c | 10 ++-------- 2320 1 file changed, 2 insertions(+), 8 deletions(-) 2321 2322commit 84d2da6c9dc252f441deb7626c2522202b005d4d 2323Author: Lasse Collin <lasse.collin@tukaani.org> 2324Date: 2013-06-26 13:30:57 +0300 2325 2326 xz: Check the value of lzma_stream_flags.version in --list. 2327 2328 It is a no-op for now, but if an old xz version is used 2329 together with a newer liblzma that supports something new, 2330 then this check becomes important and will stop the old xz 2331 from trying to parse files that it won't understand. 2332 2333 src/xz/list.c | 14 ++++++++++++++ 2334 1 file changed, 14 insertions(+) 2335 2336commit 9376f5f8f762296f2173d61af9101112c36f38c0 2337Author: Lasse Collin <lasse.collin@tukaani.org> 2338Date: 2013-06-26 12:17:00 +0300 2339 2340 Build: Require Automake 1.12 and use serial-tests option. 2341 2342 It should actually still work with Automake 1.10 if 2343 the serial-tests option is removed. Automake 1.13 started 2344 using parallel tests by default and the option to get 2345 the old behavior isn't supported before 1.12. 2346 2347 At least for now, parallel tests don't improve anything 2348 in XZ Utils but they hide the progress output from 2349 test_compress.sh. 2350 2351 configure.ac | 4 +++- 2352 1 file changed, 3 insertions(+), 1 deletion(-) 2353 2354commit b7e200d7bd0a3c7c171c13ad37d68296d6f73374 2355Author: Lasse Collin <lasse.collin@tukaani.org> 2356Date: 2013-06-23 18:59:13 +0300 2357 2358 Update THANKS. 2359 2360 THANKS | 1 + 2361 1 file changed, 1 insertion(+) 2362 2363commit 46540e4c10923e363741ff5aab99e79fc0ce6ee8 2364Author: Lasse Collin <lasse.collin@tukaani.org> 2365Date: 2013-06-23 18:57:23 +0300 2366 2367 liblzma: Avoid a warning about a shadowed variable. 2368 2369 On Mac OS X wait() is declared in <sys/wait.h> that 2370 we include one way or other so don't use "wait" as 2371 a variable name. 2372 2373 Thanks to Christian Kujau. 2374 2375 src/liblzma/common/stream_encoder_mt.c | 4 ++-- 2376 1 file changed, 2 insertions(+), 2 deletions(-) 2377 2378commit ebb501ec73cecc546c67117dd01b5e33c90bfb4a 2379Author: Lasse Collin <lasse.collin@tukaani.org> 2380Date: 2013-06-23 17:36:47 +0300 2381 2382 xz: Validate Uncompressed Size from Block Header in list.c. 2383 2384 This affects only "xz -lvv". Normal decompression with xz 2385 already detected if Block Header and Index had mismatched 2386 Uncompressed Size fields. So this just makes "xz -lvv" 2387 show such files as corrupt instead of showing the 2388 Uncompressed Size from Index. 2389 2390 src/xz/list.c | 14 +++++++++++++- 2391 1 file changed, 13 insertions(+), 1 deletion(-) 2392 2393commit c09e91dd236d3cabee0fc48312b3dc8cceae41ab 2394Author: Lasse Collin <lasse.collin@tukaani.org> 2395Date: 2013-06-21 22:08:11 +0300 2396 2397 Update THANKS. 2398 2399 THANKS | 2 ++ 2400 1 file changed, 2 insertions(+) 2401 2402commit eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494 2403Author: Lasse Collin <lasse.collin@tukaani.org> 2404Date: 2013-06-21 22:04:45 +0300 2405 2406 xz: Make the man page more friendly to doclifter. 2407 2408 Thanks to Eric S. Raymond. 2409 2410 src/xz/xz.1 | 7 ++++--- 2411 1 file changed, 4 insertions(+), 3 deletions(-) 2412 2413commit 0c0a1947e6ad90a0a10b7a5c39f6ab99a0aa5c93 2414Author: Lasse Collin <lasse.collin@tukaani.org> 2415Date: 2013-06-21 21:54:59 +0300 2416 2417 xz: A couple of man page fixes. 2418 2419 Now the interaction of presets and custom filter chains 2420 is described correctly. Earlier it contradicted itself. 2421 2422 Thanks to DevHC who reported these issues on IRC to me 2423 on 2012-12-14. 2424 2425 src/xz/xz.1 | 35 +++++++++++++++++++++++------------ 2426 1 file changed, 23 insertions(+), 12 deletions(-) 2427 2428commit 2fcda89939c903106c429e109083d43d894049e0 2429Author: Lasse Collin <lasse.collin@tukaani.org> 2430Date: 2013-06-21 21:50:26 +0300 2431 2432 xz: Fix interaction between preset and custom filter chains. 2433 2434 There was somewhat illogical behavior when --extreme was 2435 specified and mixed with custom filter chains. 2436 2437 Before this commit, "xz -9 --lzma2 -e" was equivalent 2438 to "xz --lzma2". After it is equivalent to "xz -6e" 2439 (all earlier preset options get forgotten when a custom 2440 filter chain is specified and the default preset is 6 2441 to which -e is applied). I find this less illogical. 2442 2443 This also affects the meaning of "xz -9e --lzma2 -7". 2444 Earlier it was equivalent to "xz -7e" (the -e specified 2445 before a custom filter chain wasn't forgotten). Now it 2446 is "xz -7". Note that "xz -7e" still is the same as "xz -e7". 2447 2448 Hopefully very few cared about this in the first place, 2449 so pretty much no one should even notice this change. 2450 2451 Thanks to Conley Moorhous. 2452 2453 src/xz/coder.c | 35 +++++++++++++++++++++-------------- 2454 1 file changed, 21 insertions(+), 14 deletions(-) 2455 2456commit 97379c5ea758da3f8b0bc444d5f7fa43753ce610 2457Author: Lasse Collin <lasse.collin@tukaani.org> 2458Date: 2013-04-27 22:07:46 +0300 2459 2460 Build: Use -Wvla with GCC if supported. 2461 2462 Variable-length arrays are mandatory in C99 but optional in C11. 2463 The code doesn't currently use any VLAs and it shouldn't in the 2464 future either to stay compatible with C11 without requiring any 2465 optional C11 features. 2466 2467 configure.ac | 1 + 2468 1 file changed, 1 insertion(+) 2469 2470commit 8957c58609d3987c58aa72b96c436cf565cc4917 2471Author: Lasse Collin <lasse.collin@tukaani.org> 2472Date: 2013-04-15 19:29:09 +0300 2473 2474 xzdec: Improve the --help message. 2475 2476 The options are now ordered in the same order as in xz's help 2477 message. 2478 2479 Descriptions were added to the options that are ignored. 2480 I left them in parenthesis even if it looks a bit weird 2481 because I find it easier to spot the ignored vs. non-ignored 2482 options from the list that way. 2483 2484 src/xzdec/xzdec.c | 10 +++++----- 2485 1 file changed, 5 insertions(+), 5 deletions(-) 2486 2487commit ed886e1a92534a24401d0e99c11f1dcff3b5220a 2488Author: Lasse Collin <lasse.collin@tukaani.org> 2489Date: 2013-04-05 19:25:40 +0300 2490 2491 Update THANKS. 2492 2493 THANKS | 2 ++ 2494 1 file changed, 2 insertions(+) 2495 2496commit 5019413a055ce29e660dbbf15e02443cb5a26c59 2497Author: Jeff Bastian <jbastian@redhat.com> 2498Date: 2013-04-03 13:59:17 +0200 2499 2500 xzgrep: make the '-h' option to be --no-filename equivalent 2501 2502 * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing. 2503 2504 src/scripts/xzgrep.in | 2 +- 2505 1 file changed, 1 insertion(+), 1 deletion(-) 2506 2507commit 5ea900cb5ad862bca81316729f92357c1fc040ce 2508Author: Lasse Collin <lasse.collin@tukaani.org> 2509Date: 2013-03-23 22:25:15 +0200 2510 2511 liblzma: Be less picky in lzma_alone_decoder(). 2512 2513 To avoid false positives when detecting .lzma files, 2514 rare values in dictionary size and uncompressed size fields 2515 were rejected. They will still be rejected if .lzma files 2516 are decoded with lzma_auto_decoder(), but when using 2517 lzma_alone_decoder() directly, such files will now be accepted. 2518 Hopefully this is an OK compromise. 2519 2520 This doesn't affect xz because xz still has its own file 2521 format detection code. This does affect lzmadec though. 2522 So after this commit lzmadec will accept files that xz or 2523 xz-emulating-lzma doesn't. 2524 2525 NOTE: lzma_alone_decoder() still won't decode all .lzma files 2526 because liblzma's LZMA decoder doesn't support lc + lp > 4. 2527 2528 Reported here: 2529 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827 2530 2531 src/liblzma/common/alone_decoder.c | 22 ++++++++++++++-------- 2532 src/liblzma/common/alone_decoder.h | 5 +++-- 2533 src/liblzma/common/auto_decoder.c | 2 +- 2534 3 files changed, 18 insertions(+), 11 deletions(-) 2535 2536commit bb117fffa84604b6e3811b068c80db82bf7f7b05 2537Author: Lasse Collin <lasse.collin@tukaani.org> 2538Date: 2013-03-23 21:55:13 +0200 2539 2540 liblzma: Use lzma_block_buffer_bound64() in threaded encoder. 2541 2542 Now it uses lzma_block_uncomp_encode() if the data doesn't 2543 fit into the space calculated by lzma_block_buffer_bound64(). 2544 2545 src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++--------- 2546 1 file changed, 50 insertions(+), 16 deletions(-) 2547 2548commit e572e123b55b29527e54ce5f0807f115481d78b9 2549Author: Lasse Collin <lasse.collin@tukaani.org> 2550Date: 2013-03-23 21:51:38 +0200 2551 2552 liblzma: Fix another deadlock in the threaded encoder. 2553 2554 This race condition could cause a deadlock if lzma_end() was 2555 called before finishing the encoding. This can happen with 2556 xz with debugging enabled (non-debugging version doesn't 2557 call lzma_end() before exiting). 2558 2559 src/liblzma/common/stream_encoder_mt.c | 9 ++++++--- 2560 1 file changed, 6 insertions(+), 3 deletions(-) 2561 2562commit b465da5988dd59ad98fda10c2e4ea13d0b9c73bc 2563Author: Lasse Collin <lasse.collin@tukaani.org> 2564Date: 2013-03-23 19:17:33 +0200 2565 2566 liblzma: Add lzma_block_uncomp_encode(). 2567 2568 This also adds a new internal function 2569 lzma_block_buffer_bound64() which is similar to 2570 lzma_block_buffer_bound() but uses uint64_t instead 2571 of size_t. 2572 2573 src/liblzma/api/lzma/block.h | 18 ++++++ 2574 src/liblzma/common/block_buffer_encoder.c | 94 +++++++++++++++++++++---------- 2575 src/liblzma/common/block_buffer_encoder.h | 24 ++++++++ 2576 src/liblzma/liblzma.map | 1 + 2577 4 files changed, 106 insertions(+), 31 deletions(-) 2578 2579commit 9e6dabcf22ef4679f4faaae15ebd5b137ae2fad1 2580Author: Lasse Collin <lasse.collin@tukaani.org> 2581Date: 2013-03-05 19:14:50 +0200 2582 2583 Avoid unneeded use of awk in xzless. 2584 2585 Use "read" instead of "awk" in xzless to get the version 2586 number of "less". The need for awk was introduced in 2587 the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e. 2588 2589 Thanks to Ariel P for the patch. 2590 2591 src/scripts/xzless.in | 3 +-- 2592 1 file changed, 1 insertion(+), 2 deletions(-) 2593 2594commit e7b424d267a34803db8d92a3515528be2ed45abd 2595Author: Lasse Collin <lasse.collin@tukaani.org> 2596Date: 2012-12-14 20:13:32 +0200 2597 2598 Make the progress indicator smooth in threaded mode. 2599 2600 This adds lzma_get_progress() to liblzma and takes advantage 2601 of it in xz. 2602 2603 lzma_get_progress() collects progress information from 2604 the thread-specific structures so that fairly accurate 2605 progress information is available to applications. Adding 2606 a new function seemed to be a better way than making the 2607 information directly available in lzma_stream (like total_in 2608 and total_out are) because collecting the information requires 2609 locking mutexes. It's waste of time to do it more often than 2610 the up to date information is actually needed by an application. 2611 2612 src/liblzma/api/lzma/base.h | 22 +++++++++- 2613 src/liblzma/common/common.c | 16 +++++++ 2614 src/liblzma/common/common.h | 6 +++ 2615 src/liblzma/common/stream_encoder_mt.c | 77 +++++++++++++++++++++++++++++++--- 2616 src/liblzma/liblzma.map | 1 + 2617 src/xz/message.c | 20 +++++---- 2618 6 files changed, 129 insertions(+), 13 deletions(-) 2619 2620commit 2ebbb994e367f55f2561aa7c9e7451703c171f2f 2621Author: Lasse Collin <lasse.collin@tukaani.org> 2622Date: 2012-12-14 11:01:41 +0200 2623 2624 liblzma: Fix mythread_sync for nested locking. 2625 2626 src/common/mythread.h | 5 +++-- 2627 1 file changed, 3 insertions(+), 2 deletions(-) 2628 2629commit 4c7e28705f6de418d19cc77324ef301f996e01ff 2630Author: Lasse Collin <lasse.collin@tukaani.org> 2631Date: 2012-12-13 21:05:36 +0200 2632 2633 xz: Mention --threads in --help. 2634 2635 Thanks to Olivier Delhomme for pointing out that this 2636 was still missing. 2637 2638 src/xz/message.c | 4 ++++ 2639 1 file changed, 4 insertions(+) 2640 2641commit db5c1817fabf7cbb9e4087b1576eb26f0747338e 2642Author: Jonathan Nieder <jrnieder@gmail.com> 2643Date: 2012-11-19 00:10:10 -0800 2644 2645 xzless: Make "less -V" parsing more robust 2646 2647 In v4.999.9beta~30 (xzless: Support compressed standard input, 2648 2009-08-09), xzless learned to parse ‘less -V’ output to figure out 2649 whether less is new enough to handle $LESSOPEN settings starting 2650 with “|-”. That worked well for a while, but the version string from 2651 ‘less’ versions 448 (June, 2012) is misparsed, producing a warning: 2652 2653 $ xzless /tmp/test.xz; echo $? 2654 /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \ 2655 integer expression expected 2656 0 2657 2658 More precisely, modern ‘less’ lists the regexp implementation along 2659 with its version number, and xzless passes the entire version number 2660 with attached parenthetical phrase as a number to "test $a -gt $b", 2661 producing the above confusing message. 2662 2663 $ less-444 -V | head -1 2664 less 444 2665 $ less -V | head -1 2666 less 456 (no regular expressions) 2667 2668 So relax the pattern matched --- instead of expecting "less <number>", 2669 look for a line of the form "less <number>[ (extra parenthetical)]". 2670 While at it, improve the behavior when no matching line is found --- 2671 instead of producing a cryptic message, we can fall back on a LESSPIPE 2672 setting that is supported by all versions of ‘less’. 2673 2674 The implementation uses "awk" for simplicity. Hopefully that’s 2675 portable enough. 2676 2677 Reported-by: Jörg-Volker Peetz <jvpeetz@web.de> 2678 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 2679 2680 src/scripts/xzless.in | 3 ++- 2681 1 file changed, 2 insertions(+), 1 deletion(-) 2682 2683commit 65536214a31ecd33b6b03b68a351fb597d3703d6 2684Author: Lasse Collin <lasse.collin@tukaani.org> 2685Date: 2012-10-03 15:54:24 +0300 2686 2687 xz: Fix the note about --rsyncable on the man page. 2688 2689 src/xz/xz.1 | 17 +++++++++-------- 2690 1 file changed, 9 insertions(+), 8 deletions(-) 2691 2692commit 3d93b6354927247a1569caf22ad27b07e97ee904 2693Author: Lasse Collin <lasse.collin@tukaani.org> 2694Date: 2012-09-28 20:11:09 +0300 2695 2696 xz: Improve handling of failed realloc in xrealloc. 2697 2698 Thanks to Jim Meyering. 2699 2700 src/xz/util.c | 14 ++++++++++++-- 2701 1 file changed, 12 insertions(+), 2 deletions(-) 2702 2703commit ab225620664e235637833be2329935f9d290ba80 2704Author: Lasse Collin <lasse.collin@tukaani.org> 2705Date: 2012-08-24 16:27:31 +0300 2706 2707 A few typo fixes to comments and the xz man page. 2708 2709 Thanks to Jim Meyering. 2710 2711 configure.ac | 2 +- 2712 src/liblzma/check/sha256.c | 1 - 2713 src/xz/xz.1 | 4 ++-- 2714 3 files changed, 3 insertions(+), 4 deletions(-) 2715 2716commit f3c1ec69d910175ffd431fd82968dd35cec806ed 2717Author: Lasse Collin <lasse.collin@tukaani.org> 2718Date: 2012-08-13 21:40:09 +0300 2719 2720 xz: Add a warning to --help about alpha and beta versions. 2721 2722 src/xz/message.c | 5 +++++ 2723 1 file changed, 5 insertions(+) 2724 2725commit d8eaf9d8278c23c2cf2b7ca5562d4de570d3b5db 2726Author: Lasse Collin <lasse.collin@tukaani.org> 2727Date: 2012-08-02 17:13:30 +0300 2728 2729 Build: Bump gettext version requirement to 0.18. 2730 2731 Otherwise too old version of m4/lib-link.m4 gets included 2732 when autoreconf -fi is run. 2733 2734 configure.ac | 2 +- 2735 1 file changed, 1 insertion(+), 1 deletion(-) 2736 2737commit 96e08902b09f0f304d4ff80c6e83ef7fff883f34 2738Author: Lasse Collin <lasse.collin@tukaani.org> 2739Date: 2012-07-17 18:29:08 +0300 2740 2741 Update THANKS. 2742 2743 THANKS | 1 + 2744 1 file changed, 1 insertion(+) 2745 2746commit 3778db1be53e61ff285c573af5ee468803008456 2747Author: Lasse Collin <lasse.collin@tukaani.org> 2748Date: 2012-07-17 18:19:59 +0300 2749 2750 liblzma: Make the use of lzma_allocator const-correct. 2751 2752 There is a tiny risk of causing breakage: If an application 2753 assigns lzma_stream.allocator to a non-const pointer, such 2754 code won't compile anymore. I don't know why anyone would do 2755 such a thing though, so in practice this shouldn't cause trouble. 2756 2757 Thanks to Jan Kratochvil for the patch. 2758 2759 src/liblzma/api/lzma/base.h | 4 +++- 2760 src/liblzma/api/lzma/block.h | 6 ++--- 2761 src/liblzma/api/lzma/container.h | 9 +++++--- 2762 src/liblzma/api/lzma/filter.h | 13 ++++++----- 2763 src/liblzma/api/lzma/index.h | 16 ++++++------- 2764 src/liblzma/api/lzma/index_hash.h | 4 ++-- 2765 src/liblzma/common/alone_decoder.c | 6 ++--- 2766 src/liblzma/common/alone_decoder.h | 2 +- 2767 src/liblzma/common/alone_encoder.c | 8 +++---- 2768 src/liblzma/common/auto_decoder.c | 6 ++--- 2769 src/liblzma/common/block_buffer_decoder.c | 2 +- 2770 src/liblzma/common/block_buffer_encoder.c | 4 ++-- 2771 src/liblzma/common/block_decoder.c | 6 ++--- 2772 src/liblzma/common/block_decoder.h | 2 +- 2773 src/liblzma/common/block_encoder.c | 8 +++---- 2774 src/liblzma/common/block_encoder.h | 2 +- 2775 src/liblzma/common/block_header_decoder.c | 4 ++-- 2776 src/liblzma/common/common.c | 10 ++++----- 2777 src/liblzma/common/common.h | 20 +++++++++-------- 2778 src/liblzma/common/easy_buffer_encoder.c | 4 ++-- 2779 src/liblzma/common/filter_buffer_decoder.c | 3 ++- 2780 src/liblzma/common/filter_buffer_encoder.c | 7 +++--- 2781 src/liblzma/common/filter_common.c | 4 ++-- 2782 src/liblzma/common/filter_common.h | 2 +- 2783 src/liblzma/common/filter_decoder.c | 7 +++--- 2784 src/liblzma/common/filter_decoder.h | 2 +- 2785 src/liblzma/common/filter_encoder.c | 2 +- 2786 src/liblzma/common/filter_encoder.h | 2 +- 2787 src/liblzma/common/filter_flags_decoder.c | 2 +- 2788 src/liblzma/common/index.c | 26 ++++++++++----------- 2789 src/liblzma/common/index_decoder.c | 12 +++++----- 2790 src/liblzma/common/index_encoder.c | 6 ++--- 2791 src/liblzma/common/index_encoder.h | 2 +- 2792 src/liblzma/common/index_hash.c | 6 +++-- 2793 src/liblzma/common/outqueue.c | 4 ++-- 2794 src/liblzma/common/outqueue.h | 5 +++-- 2795 src/liblzma/common/stream_buffer_decoder.c | 2 +- 2796 src/liblzma/common/stream_buffer_encoder.c | 3 ++- 2797 src/liblzma/common/stream_decoder.c | 9 ++++---- 2798 src/liblzma/common/stream_decoder.h | 5 +++-- 2799 src/liblzma/common/stream_encoder.c | 10 ++++----- 2800 src/liblzma/common/stream_encoder_mt.c | 16 ++++++------- 2801 src/liblzma/delta/delta_common.c | 4 ++-- 2802 src/liblzma/delta/delta_decoder.c | 6 ++--- 2803 src/liblzma/delta/delta_decoder.h | 5 +++-- 2804 src/liblzma/delta/delta_encoder.c | 6 ++--- 2805 src/liblzma/delta/delta_encoder.h | 3 ++- 2806 src/liblzma/delta/delta_private.h | 2 +- 2807 src/liblzma/lz/lz_decoder.c | 8 +++---- 2808 src/liblzma/lz/lz_decoder.h | 7 +++--- 2809 src/liblzma/lz/lz_encoder.c | 19 ++++++++-------- 2810 src/liblzma/lz/lz_encoder.h | 6 ++--- 2811 src/liblzma/lzma/lzma2_decoder.c | 8 +++---- 2812 src/liblzma/lzma/lzma2_decoder.h | 5 +++-- 2813 src/liblzma/lzma/lzma2_encoder.c | 6 ++--- 2814 src/liblzma/lzma/lzma2_encoder.h | 2 +- 2815 src/liblzma/lzma/lzma_decoder.c | 8 +++---- 2816 src/liblzma/lzma/lzma_decoder.h | 7 +++--- 2817 src/liblzma/lzma/lzma_encoder.c | 7 +++--- 2818 src/liblzma/lzma/lzma_encoder.h | 5 +++-- 2819 src/liblzma/simple/arm.c | 8 ++++--- 2820 src/liblzma/simple/armthumb.c | 8 ++++--- 2821 src/liblzma/simple/ia64.c | 8 ++++--- 2822 src/liblzma/simple/powerpc.c | 8 ++++--- 2823 src/liblzma/simple/simple_coder.c | 10 ++++----- 2824 src/liblzma/simple/simple_coder.h | 36 ++++++++++++++++++++---------- 2825 src/liblzma/simple/simple_decoder.c | 2 +- 2826 src/liblzma/simple/simple_decoder.h | 2 +- 2827 src/liblzma/simple/simple_private.h | 3 ++- 2828 src/liblzma/simple/sparc.c | 8 ++++--- 2829 src/liblzma/simple/x86.c | 8 ++++--- 2830 71 files changed, 269 insertions(+), 219 deletions(-) 2831 2832commit d625c7cf824fd3b61c6da84f56179e94917ff603 2833Author: Lasse Collin <lasse.collin@tukaani.org> 2834Date: 2012-07-05 07:36:28 +0300 2835 2836 Tests: Remove tests/test_block.c that had gotten committed accidentally. 2837 2838 tests/test_block.c | 52 ---------------------------------------------------- 2839 1 file changed, 52 deletions(-) 2840 2841commit 0b09d266cce72bc4841933b171e79551e488927c 2842Author: Lasse Collin <lasse.collin@tukaani.org> 2843Date: 2012-07-05 07:33:35 +0300 2844 2845 Build: Include macosx/build.sh in the distribution. 2846 2847 It has been in the Git repository since 2010 but probably 2848 few people have seen it since it hasn't been included in 2849 the release tarballs. :-( 2850 2851 Makefile.am | 1 + 2852 1 file changed, 1 insertion(+) 2853 2854commit d6e0b23d4613b9f417893dd96cc168c8005ece3d 2855Author: Lasse Collin <lasse.collin@tukaani.org> 2856Date: 2012-07-05 07:28:53 +0300 2857 2858 Build: Include validate_map.sh in the distribution. 2859 2860 It's required by "make mydist". 2861 2862 Fix also the location of EXTRA_DIST+= so that those files 2863 get distributed also if symbol versioning isn't enabled. 2864 2865 src/liblzma/Makefile.am | 2 +- 2866 1 file changed, 1 insertion(+), 1 deletion(-) 2867 2868commit 19de545d86097c3954d69ab5d12820387f6a09bc 2869Author: Lasse Collin <lasse.collin@tukaani.org> 2870Date: 2012-07-05 07:24:45 +0300 2871 2872 Docs: Fix the name LZMA Utils -> XZ Utils in debug/README. 2873 2874 debug/README | 2 +- 2875 1 file changed, 1 insertion(+), 1 deletion(-) 2876 2877commit 672eccf57c31a40dfb956b7662db06d43e18618e 2878Author: Lasse Collin <lasse.collin@tukaani.org> 2879Date: 2012-07-05 07:23:17 +0300 2880 2881 Include debug/translation.bash in the distribution. 2882 2883 Also fix the script name mentioned in README. 2884 2885 README | 4 ++-- 2886 debug/Makefile.am | 3 +++ 2887 2 files changed, 5 insertions(+), 2 deletions(-) 2888 2889commit cafb523adac1caf305e70a04bc37f25602bf990c 2890Author: Lasse Collin <lasse.collin@tukaani.org> 2891Date: 2012-07-04 22:31:58 +0300 2892 2893 xz: Document --block-list better. 2894 2895 Thanks to Jonathan Nieder. 2896 2897 src/xz/xz.1 | 8 +++++++- 2898 1 file changed, 7 insertions(+), 1 deletion(-) 2899 2900commit c7ff218528bc8f7c65e7ef73c6515777346c6794 2901Author: Lasse Collin <lasse.collin@tukaani.org> 2902Date: 2012-07-04 20:01:49 +0300 2903 2904 Bump the version number to 5.1.2alpha. 2905 2906 src/liblzma/api/lzma/version.h | 2 +- 2907 src/liblzma/liblzma.map | 2 +- 2908 2 files changed, 2 insertions(+), 2 deletions(-) 2909 2910commit 8f3c1d886f93e6478ad509ff52102b2ce7faa999 2911Author: Lasse Collin <lasse.collin@tukaani.org> 2912Date: 2012-07-04 20:01:19 +0300 2913 2914 Update NEWS for 5.1.2alpha. 2915 2916 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++ 2917 1 file changed, 41 insertions(+) 2918 2919commit 0d5fa05466e580fbc458820f87013ae7644e20e5 2920Author: Lasse Collin <lasse.collin@tukaani.org> 2921Date: 2012-07-04 19:58:23 +0300 2922 2923 xz: Fix the version number printed by xz -lvv. 2924 2925 The decoder bug was fixed in 5.0.2 instead of 5.0.3. 2926 2927 src/xz/list.c | 6 +++--- 2928 1 file changed, 3 insertions(+), 3 deletions(-) 2929 2930commit df11317985a4165731dde12bb0f0028da0e7b77f 2931Author: Lasse Collin <lasse.collin@tukaani.org> 2932Date: 2012-07-04 17:11:31 +0300 2933 2934 Build: Add a comment to configure.ac about symbol versioning. 2935 2936 configure.ac | 4 ++++ 2937 1 file changed, 4 insertions(+) 2938 2939commit bd9cc179e8be3ef515201d3ed9c7dd79ae88869d 2940Author: Lasse Collin <lasse.collin@tukaani.org> 2941Date: 2012-07-04 17:06:49 +0300 2942 2943 Update TODO. 2944 2945 TODO | 12 ++++++++++-- 2946 1 file changed, 10 insertions(+), 2 deletions(-) 2947 2948commit 4a238dd9b22f462cac5e199828bf1beb0df05884 2949Author: Lasse Collin <lasse.collin@tukaani.org> 2950Date: 2012-07-04 17:05:46 +0300 2951 2952 Document --enable-symbol-versions in INSTALL. 2953 2954 INSTALL | 5 +++++ 2955 1 file changed, 5 insertions(+) 2956 2957commit 88ccf47205d7f3aa314d358c72ef214f10f68b43 2958Author: Lasse Collin <lasse.collin@tukaani.org> 2959Date: 2012-07-03 21:16:39 +0300 2960 2961 xz: Add incomplete support for --block-list. 2962 2963 It's broken with threads and when also --block-size is used. 2964 2965 src/xz/args.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2966 src/xz/args.h | 1 + 2967 src/xz/coder.c | 48 ++++++++++++++++++++++++++++------ 2968 src/xz/coder.h | 4 +++ 2969 src/xz/main.c | 1 + 2970 src/xz/message.c | 6 +++++ 2971 src/xz/xz.1 | 23 +++++++++++++++-- 2972 7 files changed, 151 insertions(+), 10 deletions(-) 2973 2974commit 972179cdcdf5d8949c48ee31737d87d3050b44af 2975Author: Lasse Collin <lasse.collin@tukaani.org> 2976Date: 2012-07-01 18:44:33 +0300 2977 2978 xz: Update the man page about the new field in --robot -lvv. 2979 2980 src/xz/xz.1 | 18 +++++++++++++++++- 2981 1 file changed, 17 insertions(+), 1 deletion(-) 2982 2983commit 1403707fc64a70976aebe66f8d9a9bd12f73a2c5 2984Author: Lasse Collin <lasse.collin@tukaani.org> 2985Date: 2012-06-28 10:47:49 +0300 2986 2987 liblzma: Check that the first byte of range encoded data is 0x00. 2988 2989 It is just to be more pedantic and thus perhaps catch broken 2990 files slightly earlier. 2991 2992 src/liblzma/lzma/lzma_decoder.c | 8 ++++++-- 2993 src/liblzma/rangecoder/range_decoder.h | 12 +++++++++--- 2994 2 files changed, 15 insertions(+), 5 deletions(-) 2995 2996commit eccd8017ffe2c5de473222c4963ec53c62f7fda2 2997Author: Lasse Collin <lasse.collin@tukaani.org> 2998Date: 2012-06-22 19:00:23 +0300 2999 3000 Update NEWS from 5.0.4. 3001 3002 NEWS | 37 +++++++++++++++++++++++++++++++++++++ 3003 1 file changed, 37 insertions(+) 3004 3005commit 2e6754eac26a431e8d340c28906f63bcd1e177e8 3006Author: Lasse Collin <lasse.collin@tukaani.org> 3007Date: 2012-06-22 14:34:03 +0300 3008 3009 xz: Update man page date to match the latest update. 3010 3011 src/xz/xz.1 | 2 +- 3012 1 file changed, 1 insertion(+), 1 deletion(-) 3013 3014commit b3235a0b1af45d5e1244cbe3191516966c076fa0 3015Author: Lasse Collin <lasse.collin@tukaani.org> 3016Date: 2012-06-18 21:27:47 +0300 3017 3018 Docs: Language fix to 01_compress_easy.c. 3019 3020 Thanks to Jonathan Nieder. 3021 3022 doc/examples/01_compress_easy.c | 2 +- 3023 1 file changed, 1 insertion(+), 1 deletion(-) 3024 3025commit f1675f765fe228cb5a5f904f853445a03e33cfe9 3026Author: Lasse Collin <lasse.collin@tukaani.org> 3027Date: 2012-06-14 20:15:30 +0300 3028 3029 Fix the top-level Makefile.am for the new example programs. 3030 3031 Makefile.am | 12 ++++++++++-- 3032 1 file changed, 10 insertions(+), 2 deletions(-) 3033 3034commit 3a0c5378abefaf86aa39a62a7c9682bdb21568a1 3035Author: Lasse Collin <lasse.collin@tukaani.org> 3036Date: 2012-06-14 10:52:33 +0300 3037 3038 Docs: Add new example programs. 3039 3040 These have more comments than the old examples and 3041 human-readable error messages. More tutorial-like examples 3042 are needed but these are a start. 3043 3044 doc/examples/00_README.txt | 27 ++++ 3045 doc/examples/01_compress_easy.c | 297 ++++++++++++++++++++++++++++++++++++++ 3046 doc/examples/02_decompress.c | 287 ++++++++++++++++++++++++++++++++++++ 3047 doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++ 3048 doc/examples/Makefile | 23 +++ 3049 5 files changed, 827 insertions(+) 3050 3051commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d 3052Author: Lasse Collin <lasse.collin@tukaani.org> 3053Date: 2012-06-14 10:33:27 +0300 3054 3055 Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old. 3056 3057 It is good to keep these around to so that if someone has 3058 copied the decompressor bug from xz_pipe_decomp.c he has 3059 an example how to easily fix it. 3060 3061 doc/examples/xz_pipe_comp.c | 127 -------------------------------------- 3062 doc/examples/xz_pipe_decomp.c | 123 ------------------------------------ 3063 doc/examples_old/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++ 3064 doc/examples_old/xz_pipe_decomp.c | 123 ++++++++++++++++++++++++++++++++++++ 3065 4 files changed, 250 insertions(+), 250 deletions(-) 3066 3067commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292 3068Author: Lasse Collin <lasse.collin@tukaani.org> 3069Date: 2012-06-14 10:33:01 +0300 3070 3071 Docs: Fix a bug in xz_pipe_decomp.c example program. 3072 3073 doc/examples/xz_pipe_decomp.c | 10 +++++++++- 3074 1 file changed, 9 insertions(+), 1 deletion(-) 3075 3076commit 4bd1a3bd5fdf4870b2f96dd0b8a21657c8a58ad8 3077Author: Lasse Collin <lasse.collin@tukaani.org> 3078Date: 2012-05-30 23:14:33 +0300 3079 3080 Translations: Update the French translation. 3081 3082 Thanks to Adrien Nader. 3083 3084 po/fr.po | 148 ++++++++++++++++++++++++++++++++++----------------------------- 3085 1 file changed, 79 insertions(+), 69 deletions(-) 3086 3087commit d2e836f2f3a87df6fe6bb0589b037db51205d910 3088Author: Lasse Collin <lasse.collin@tukaani.org> 3089Date: 2012-05-29 23:42:37 +0300 3090 3091 Translations: Update the German translation. 3092 3093 The previous only included the new strings in v5.0. 3094 3095 po/de.po | 229 +++++++++++++++++++++++++++++++++++++-------------------------- 3096 1 file changed, 133 insertions(+), 96 deletions(-) 3097 3098commit c9a16151577ba459afd6e3528df23bc0ddb95171 3099Author: Lasse Collin <lasse.collin@tukaani.org> 3100Date: 2012-05-29 22:26:27 +0300 3101 3102 Translations: Update the German translation. 3103 3104 po/de.po | 169 ++++++++++++++++++++++++++++++++++----------------------------- 3105 1 file changed, 91 insertions(+), 78 deletions(-) 3106 3107commit 1530a74fd48f8493372edad137a24541efe24713 3108Author: Lasse Collin <lasse.collin@tukaani.org> 3109Date: 2012-05-29 22:14:21 +0300 3110 3111 Translations: Update Polish translation. 3112 3113 po/pl.po | 283 +++++++++++++++++++++++++++++++++++++-------------------------- 3114 1 file changed, 165 insertions(+), 118 deletions(-) 3115 3116commit d8db706acb8316f9861abd432cfbe001dd6d0c5c 3117Author: Lasse Collin <lasse.collin@tukaani.org> 3118Date: 2012-05-28 20:42:11 +0300 3119 3120 liblzma: Fix possibility of incorrect LZMA_BUF_ERROR. 3121 3122 lzma_code() could incorrectly return LZMA_BUF_ERROR if 3123 all of the following was true: 3124 3125 - The caller knows how many bytes of output to expect 3126 and only provides that much output space. 3127 3128 - When the last output bytes are decoded, the 3129 caller-provided input buffer ends right before 3130 the LZMA2 end of payload marker. So LZMA2 won't 3131 provide more output anymore, but it won't know it 3132 yet and thus won't return LZMA_STREAM_END yet. 3133 3134 - A BCJ filter is in use and it hasn't left any 3135 unfiltered bytes in the temp buffer. This can happen 3136 with any BCJ filter, but in practice it's more likely 3137 with filters other than the x86 BCJ. 3138 3139 Another situation where the bug can be triggered happens 3140 if the uncompressed size is zero bytes and no output space 3141 is provided. In this case the decompression can fail even 3142 if the whole input file is given to lzma_code(). 3143 3144 A similar bug was fixed in XZ Embedded on 2011-09-19. 3145 3146 src/liblzma/simple/simple_coder.c | 2 +- 3147 tests/Makefile.am | 4 +- 3148 tests/test_bcj_exact_size.c | 112 ++++++++++++++++++++++++++++++++++++++ 3149 3 files changed, 116 insertions(+), 2 deletions(-) 3150 3151commit 3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda 3152Author: Lasse Collin <lasse.collin@tukaani.org> 3153Date: 2012-05-28 15:38:32 +0300 3154 3155 Update THANKS. 3156 3157 THANKS | 1 + 3158 1 file changed, 1 insertion(+) 3159 3160commit 7769ea051d739a38a1640fd448cf5eb83cb119c6 3161Author: Lasse Collin <lasse.collin@tukaani.org> 3162Date: 2012-05-28 15:37:43 +0300 3163 3164 xz: Don't show a huge number in -vv when memory limit is disabled. 3165 3166 src/xz/message.c | 12 +++++++++++- 3167 1 file changed, 11 insertions(+), 1 deletion(-) 3168 3169commit ec921105725e4d3ef0a683dd83eee6f24ab60ccd 3170Author: Lasse Collin <lasse.collin@tukaani.org> 3171Date: 2012-05-27 22:30:17 +0300 3172 3173 xz: Document the "summary" lines of --robot -lvv. 3174 3175 This documents only the columns that are in v5.0. 3176 The new columns added in the master branch aren't 3177 necessarily stable yet. 3178 3179 src/xz/xz.1 | 19 +++++++++++++++++++ 3180 1 file changed, 19 insertions(+) 3181 3182commit 27d24eb0a9f6eed96d6a4594c2b0bf7a91d29f9a 3183Author: Lasse Collin <lasse.collin@tukaani.org> 3184Date: 2012-05-27 21:53:20 +0300 3185 3186 xz: Fix output of verbose --robot --list modes. 3187 3188 It printed the filename in "filename (x/y)" format 3189 which it obviously shouldn't do in robot mode. 3190 3191 src/xz/message.c | 2 +- 3192 1 file changed, 1 insertion(+), 1 deletion(-) 3193 3194commit ab25b82a91754d9388c89abddf806424671d9431 3195Author: Lasse Collin <lasse.collin@tukaani.org> 3196Date: 2012-05-24 18:33:54 +0300 3197 3198 Build: Upgrade m4/acx_pthread.m4 to the latest version. 3199 3200 m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++--------------------- 3201 1 file changed, 62 insertions(+), 36 deletions(-) 3202 3203commit d05d6d65c41a4bc83f162fa3d67c5d84e8751634 3204Author: Lasse Collin <lasse.collin@tukaani.org> 3205Date: 2012-05-10 21:15:17 +0300 3206 3207 Update THANKS. 3208 3209 THANKS | 1 + 3210 1 file changed, 1 insertion(+) 3211 3212commit e077391982f9f28dbfe542bba8800e7c5b916666 3213Author: Lasse Collin <lasse.collin@tukaani.org> 3214Date: 2012-05-10 21:14:16 +0300 3215 3216 Docs: Cleanup line wrapping a bit. 3217 3218 README | 12 ++++++------ 3219 doc/history.txt | 49 +++++++++++++++++++++++++------------------------ 3220 2 files changed, 31 insertions(+), 30 deletions(-) 3221 3222commit fc39849c350225c6a1cd7f6e6adff1020521eabc 3223Author: Benno Schulenberg <bensberg@justemail.net> 3224Date: 2012-03-13 22:04:04 +0100 3225 3226 Fix a few typos and add some missing articles in some documents. 3227 3228 Also hyphenate several compound adjectives. 3229 3230 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 3231 3232 AUTHORS | 6 +++--- 3233 README | 42 ++++++++++++++++++++--------------------- 3234 doc/faq.txt | 24 ++++++++++++------------ 3235 doc/history.txt | 58 ++++++++++++++++++++++++++++----------------------------- 3236 4 files changed, 65 insertions(+), 65 deletions(-) 3237 3238commit 29fa0566d5df199cb9acb2d17bf7eea61acc7fa1 3239Author: Lasse Collin <lasse.collin@tukaani.org> 3240Date: 2012-04-29 11:51:25 +0300 3241 3242 Windows: Update notes about static linking with MSVC. 3243 3244 windows/README-Windows.txt | 13 +++++++++---- 3245 1 file changed, 9 insertions(+), 4 deletions(-) 3246 3247commit aac1b31ea4e66cf5a7a8c116bdaa15aa45e6c56e 3248Author: Lasse Collin <lasse.collin@tukaani.org> 3249Date: 2012-04-19 15:25:26 +0300 3250 3251 liblzma: Remove outdated comments. 3252 3253 src/liblzma/simple/simple_coder.c | 3 --- 3254 src/liblzma/simple/simple_private.h | 3 +-- 3255 2 files changed, 1 insertion(+), 5 deletions(-) 3256 3257commit df14a46013bea70c0bd35be7821b0b9108f97de7 3258Author: Lasse Collin <lasse.collin@tukaani.org> 3259Date: 2012-04-19 14:17:52 +0300 3260 3261 DOS: Link against DJGPP's libemu to support FPU emulation. 3262 3263 This way xz should work on 386SX and 486SX. Floating point 3264 only is needed for verbose output in xz. 3265 3266 dos/Makefile | 2 +- 3267 1 file changed, 1 insertion(+), 1 deletion(-) 3268 3269commit 03ed742a3a4931bb5c821357832083b26f577b13 3270Author: Lasse Collin <lasse.collin@tukaani.org> 3271Date: 2012-04-19 14:02:25 +0300 3272 3273 liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed. 3274 3275 src/liblzma/liblzma.pc.in | 2 +- 3276 1 file changed, 1 insertion(+), 1 deletion(-) 3277 3278commit 8c5b13ad59df70f49429bfdfd6ac120b8f892fda 3279Author: Lasse Collin <lasse.collin@tukaani.org> 3280Date: 2012-04-19 13:58:55 +0300 3281 3282 Docs: Update MINIX 3 information in INSTALL. 3283 3284 INSTALL | 8 +++++--- 3285 1 file changed, 5 insertions(+), 3 deletions(-) 3286 3287commit c7376fc415a1566f38b2de4b516a17013d516a8b 3288Author: Lasse Collin <lasse.collin@tukaani.org> 3289Date: 2012-02-22 14:23:13 +0200 3290 3291 Update THANKS. 3292 3293 THANKS | 1 + 3294 1 file changed, 1 insertion(+) 3295 3296commit cff070aba6281ba743d29a62b8c0c66e5da4b2a6 3297Author: Lasse Collin <lasse.collin@tukaani.org> 3298Date: 2012-02-22 14:02:34 +0200 3299 3300 Fix exit status of xzgrep when grepping binary files. 3301 3302 When grepping binary files, grep may exit before it has 3303 read all the input. In this case, gzip -q returns 2 (eating 3304 SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status 3305 (e.g. 141). This causes wrong exit status when grepping 3306 xz- or bzip2-compressed binary files. 3307 3308 The fix checks for the special exit status that indicates SIGPIPE. 3309 It uses kill -l which should be supported everywhere since it 3310 is in both SUSv2 (1997) and POSIX.1-2008. 3311 3312 Thanks to James Buren for the bug report. 3313 3314 src/scripts/xzgrep.in | 3 ++- 3315 1 file changed, 2 insertions(+), 1 deletion(-) 3316 3317commit 41cafb2bf9beea915710ee68f05fe929cd17759c 3318Author: Lasse Collin <lasse.collin@tukaani.org> 3319Date: 2012-02-22 12:08:43 +0200 3320 3321 Update THANKS. 3322 3323 THANKS | 1 + 3324 1 file changed, 1 insertion(+) 3325 3326commit 2dcea03712fa881930d69ec9eff70855c3d126d9 3327Author: Lasse Collin <lasse.collin@tukaani.org> 3328Date: 2012-02-22 12:00:16 +0200 3329 3330 Fix compiling with IBM XL C on AIX. 3331 3332 INSTALL | 36 ++++++++++++++++++++++-------------- 3333 configure.ac | 6 +++++- 3334 2 files changed, 27 insertions(+), 15 deletions(-) 3335 3336commit 7db6bdf4abcf524115be2cf5659ed540cef074c5 3337Author: Lasse Collin <lasse.collin@tukaani.org> 3338Date: 2012-01-10 17:13:03 +0200 3339 3340 Tests: Fix a compiler warning with _FORTIFY_SOURCE. 3341 3342 Reported here: 3343 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385 3344 3345 tests/create_compress_files.c | 3 ++- 3346 1 file changed, 2 insertions(+), 1 deletion(-) 3347 3348commit 694952d545b6cf056547893ced69486eff9ece55 3349Author: Lasse Collin <lasse.collin@tukaani.org> 3350Date: 2011-12-19 21:21:29 +0200 3351 3352 Docs: Explain the stable releases better in README. 3353 3354 README | 6 +++++- 3355 1 file changed, 5 insertions(+), 1 deletion(-) 3356 3357commit 418fe668b3c53a9a20020b6cc652aaf25c734b29 3358Author: Lasse Collin <lasse.collin@tukaani.org> 3359Date: 2011-11-07 13:07:52 +0200 3360 3361 xz: Show minimum required XZ Utils version in xz -lvv. 3362 3363 Man page wasn't updated yet. 3364 3365 src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------ 3366 1 file changed, 57 insertions(+), 6 deletions(-) 3367 3368commit 7081d82c37326bac97184e338345fa1c327e3580 3369Author: Lasse Collin <lasse.collin@tukaani.org> 3370Date: 2011-11-04 17:57:16 +0200 3371 3372 xz: Fix a typo in a comment. 3373 3374 Thanks to Bela Lubkin. 3375 3376 src/xz/args.c | 2 +- 3377 1 file changed, 1 insertion(+), 1 deletion(-) 3378 3379commit 232fe7cd70ad258d6a37f17e860e0f1b1891eeb5 3380Author: Lasse Collin <lasse.collin@tukaani.org> 3381Date: 2011-11-03 17:08:02 +0200 3382 3383 Update THANKS. 3384 3385 THANKS | 1 + 3386 1 file changed, 1 insertion(+) 3387 3388commit 74d2bae4d3449c68453b0473dd3430ce91fd90c1 3389Author: Lasse Collin <lasse.collin@tukaani.org> 3390Date: 2011-11-03 17:07:22 +0200 3391 3392 xz: Fix xz on EBCDIC systems. 3393 3394 Thanks to Chris Donawa. 3395 3396 src/xz/coder.c | 5 ++++- 3397 1 file changed, 4 insertions(+), 1 deletion(-) 3398 3399commit 4ac4923f47cc0ef97dd9ca5cfcc44fc53eeab34a 3400Author: Lasse Collin <lasse.collin@tukaani.org> 3401Date: 2011-10-23 17:09:10 +0300 3402 3403 Update THANKS. 3404 3405 THANKS | 1 + 3406 1 file changed, 1 insertion(+) 3407 3408commit ab50ae3ef40c81e5bf613905ca3fd636548b75e7 3409Author: Lasse Collin <lasse.collin@tukaani.org> 3410Date: 2011-10-23 17:08:14 +0300 3411 3412 liblzma: Fix invalid free() in the threaded encoder. 3413 3414 It was triggered if initialization failed e.g. due to 3415 running out of memory. 3416 3417 Thanks to Arkadiusz Miskiewicz. 3418 3419 src/liblzma/common/outqueue.c | 4 ++++ 3420 1 file changed, 4 insertions(+) 3421 3422commit 6b620a0f0813d28c3c544b4ff8cb595b38a6e908 3423Author: Lasse Collin <lasse.collin@tukaani.org> 3424Date: 2011-10-23 17:05:55 +0300 3425 3426 liblzma: Fix a deadlock in the threaded encoder. 3427 3428 It was triggered when reinitializing the encoder, 3429 e.g. when encoding two files. 3430 3431 src/liblzma/common/stream_encoder_mt.c | 4 +++- 3432 1 file changed, 3 insertions(+), 1 deletion(-) 3433 3434commit bd52cf150ecd51e3ab63a9cc1a3cff6a77500178 3435Author: Lasse Collin <lasse.collin@tukaani.org> 3436Date: 2011-09-06 12:03:41 +0300 3437 3438 Build: Fix "make check" on Windows. 3439 3440 tests/Makefile.am | 7 +++++-- 3441 windows/build.bash | 2 ++ 3442 2 files changed, 7 insertions(+), 2 deletions(-) 3443 3444commit 5c5b2256969ac473001b7d67615ed3bd0a54cc82 3445Author: Lasse Collin <lasse.collin@tukaani.org> 3446Date: 2011-08-09 21:19:13 +0300 3447 3448 Update THANKS. 3449 3450 THANKS | 2 ++ 3451 1 file changed, 2 insertions(+) 3452 3453commit 5b1e1f10741af9e4bbe4cfc3261fb7c7b04f7809 3454Author: Lasse Collin <lasse.collin@tukaani.org> 3455Date: 2011-08-09 21:16:44 +0300 3456 3457 Workaround unusual SIZE_MAX on SCO OpenServer. 3458 3459 src/common/sysdefs.h | 9 ++++++--- 3460 1 file changed, 6 insertions(+), 3 deletions(-) 3461 3462commit e9ed88126eee86e2511fa42681a5c7104820cf0a 3463Author: Lasse Collin <lasse.collin@tukaani.org> 3464Date: 2011-08-06 20:37:28 +0300 3465 3466 Run the scripts with the correct shell in test_scripts.sh. 3467 3468 The scripts are now made executable in the build tree. 3469 This way the scripts can be run like programs in 3470 test_scripts.sh. Previously test_scripts.sh always 3471 used sh but it's not correct if @POSIX_SHELL@ is set 3472 to something else by configure. 3473 3474 Thanks to Jonathan Nieder for the patch. 3475 3476 configure.ac | 8 ++++---- 3477 tests/test_scripts.sh | 8 ++++---- 3478 2 files changed, 8 insertions(+), 8 deletions(-) 3479 3480commit 1c673e5681720491a74fc4b2992e075f47302c22 3481Author: Lasse Collin <lasse.collin@tukaani.org> 3482Date: 2011-07-31 11:01:47 +0300 3483 3484 Fix exit status of "xzdiff foo.xz bar.xz". 3485 3486 xzdiff was clobbering the exit status from diff in a case 3487 statement used to analyze the exit statuses from "xz" when 3488 its operands were two compressed files. Save and restore 3489 diff's exit status to fix this. 3490 3491 The bug is inherited from zdiff in GNU gzip and was fixed 3492 there on 2009-10-09. 3493 3494 Thanks to Jonathan Nieder for the patch and 3495 to Peter Pallinger for reporting the bug. 3496 3497 src/scripts/xzdiff.in | 2 ++ 3498 tests/Makefile.am | 4 +++- 3499 tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3500 3 files changed, 59 insertions(+), 1 deletion(-) 3501 3502commit 324cde7a864f4506c32ae7846d688c359a83fe65 3503Author: Lasse Collin <lasse.collin@tukaani.org> 3504Date: 2011-06-16 12:15:29 +0300 3505 3506 liblzma: Remove unneeded semicolon. 3507 3508 src/liblzma/lz/lz_encoder_hash.h | 2 +- 3509 1 file changed, 1 insertion(+), 1 deletion(-) 3510 3511commit 492c86345551a51a29bf18e55fe55a5e86f169ce 3512Author: Lasse Collin <lasse.collin@tukaani.org> 3513Date: 2011-05-28 19:24:56 +0300 3514 3515 Build: Make configure print if symbol versioning is enabled or not. 3516 3517 configure.ac | 2 ++ 3518 1 file changed, 2 insertions(+) 3519 3520commit fc4d4436969bd4d71b704d400a165875e596034a 3521Author: Lasse Collin <lasse.collin@tukaani.org> 3522Date: 2011-05-28 16:43:26 +0300 3523 3524 Don't call close(-1) in tuklib_open_stdxxx() on error. 3525 3526 Thanks to Jim Meyering. 3527 3528 src/common/tuklib_open_stdxxx.c | 4 +++- 3529 1 file changed, 3 insertions(+), 1 deletion(-) 3530 3531commit bd35d903a04c4d388adb4065b0fa271302380895 3532Author: Lasse Collin <lasse.collin@tukaani.org> 3533Date: 2011-05-28 15:55:39 +0300 3534 3535 liblzma: Use symbol versioning. 3536 3537 Symbol versioning is enabled by default on GNU/Linux, 3538 other GNU-based systems, and FreeBSD. 3539 3540 I'm not sure how stable this is, so it may need 3541 backward-incompatible changes before the next release. 3542 3543 The idea is that alpha and beta symbols are considered 3544 unstable and require recompiling the applications that 3545 use those symbols. Once a symbol is stable, it may get 3546 extended with new features in ways that don't break 3547 compatibility with older ABI & API. 3548 3549 The mydist target runs validate_map.sh which should 3550 catch some probable problems in liblzma.map. Otherwise 3551 I would forget to update the map file for new releases. 3552 3553 Makefile.am | 1 + 3554 configure.ac | 21 +++++++++ 3555 src/liblzma/Makefile.am | 6 +++ 3556 src/liblzma/liblzma.map | 105 ++++++++++++++++++++++++++++++++++++++++++++ 3557 src/liblzma/validate_map.sh | 68 ++++++++++++++++++++++++++++ 3558 5 files changed, 201 insertions(+) 3559 3560commit afbb244362c9426a37ce4eb9d54aab768da3adad 3561Author: Lasse Collin <lasse.collin@tukaani.org> 3562Date: 2011-05-28 09:46:46 +0300 3563 3564 Translations: Update the Italian translation. 3565 3566 Thanks to Milo Casagrande. 3567 3568 po/it.po | 365 +++++++++++++++++++++++++++++++++++++-------------------------- 3569 1 file changed, 216 insertions(+), 149 deletions(-) 3570 3571commit 79bef85e0543c0c3723281c3c817616c6cec343b 3572Author: Lasse Collin <lasse.collin@tukaani.org> 3573Date: 2011-05-28 08:46:04 +0300 3574 3575 Tests: Add a test file for the bug in the previous commit. 3576 3577 tests/files/README | 4 ++++ 3578 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes 3579 2 files changed, 4 insertions(+) 3580 3581commit c0297445064951807803457dca1611b3c47e7f0f 3582Author: Lasse Collin <lasse.collin@tukaani.org> 3583Date: 2011-05-27 22:25:44 +0300 3584 3585 xz: Fix error handling in xz -lvv. 3586 3587 It could do an invalid free() and read past the end 3588 of the uninitialized filters array. 3589 3590 src/xz/list.c | 21 ++++++--------------- 3591 1 file changed, 6 insertions(+), 15 deletions(-) 3592 3593commit 8bd91918ac50731f00b1a2a48072980572eb2ff9 3594Author: Lasse Collin <lasse.collin@tukaani.org> 3595Date: 2011-05-27 22:09:49 +0300 3596 3597 liblzma: Handle allocation failures correctly in lzma_index_init(). 3598 3599 Thanks to Jim Meyering. 3600 3601 src/liblzma/common/index.c | 7 +++++-- 3602 1 file changed, 5 insertions(+), 2 deletions(-) 3603 3604commit fe00f95828ef5627721b57e054f7eb2d42a2c961 3605Author: Lasse Collin <lasse.collin@tukaani.org> 3606Date: 2011-05-24 00:23:46 +0300 3607 3608 Build: Fix checking for system-provided SHA-256. 3609 3610 configure.ac | 2 +- 3611 1 file changed, 1 insertion(+), 1 deletion(-) 3612 3613commit 21b45b9bab541f419712cbfd473ccc31802e0397 3614Author: Lasse Collin <lasse.collin@tukaani.org> 3615Date: 2011-05-23 18:30:30 +0300 3616 3617 Build: Set GZIP_ENV=-9n in top-level Makefile.am. 3618 3619 Makefile.am | 3 +++ 3620 1 file changed, 3 insertions(+) 3621 3622commit 48053e8a4550233af46359024538bff90c870ab1 3623Author: Lasse Collin <lasse.collin@tukaani.org> 3624Date: 2011-05-22 16:42:11 +0300 3625 3626 Update NEWS for 5.0.3. 3627 3628 NEWS | 32 ++++++++++++++++++++++++++++++++ 3629 1 file changed, 32 insertions(+) 3630 3631commit bba37df2c9e54ad773e15ff00a09d2d6989fb3b2 3632Author: Lasse Collin <lasse.collin@tukaani.org> 3633Date: 2011-05-21 16:28:44 +0300 3634 3635 Add French translation. 3636 3637 It is known that the BCJ filter --help text is only 3638 partially translated. 3639 3640 po/LINGUAS | 1 + 3641 po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3642 2 files changed, 865 insertions(+) 3643 3644commit 4161d7634965a7a287bf208dcd79f6185f448fe8 3645Author: Lasse Collin <lasse.collin@tukaani.org> 3646Date: 2011-05-21 15:12:10 +0300 3647 3648 xz: Translate also the string used to print the program name. 3649 3650 French needs a space before a colon, e.g. "xz : foo error". 3651 3652 src/xz/message.c | 6 +++++- 3653 1 file changed, 5 insertions(+), 1 deletion(-) 3654 3655commit b94aa0c8380cdb18cddb33440d625474c16643cf 3656Author: Lasse Collin <lasse.collin@tukaani.org> 3657Date: 2011-05-21 15:08:44 +0300 3658 3659 liblzma: Try to use SHA-256 from the operating system. 3660 3661 If the operating system libc or other base libraries 3662 provide SHA-256, use that instead of our own copy. 3663 Note that this doesn't use OpenSSL or libgcrypt or 3664 such libraries to avoid creating dependencies to 3665 other packages. 3666 3667 This supports at least FreeBSD, NetBSD, OpenBSD, Solaris, 3668 MINIX, and Darwin. They all provide similar but not 3669 identical SHA-256 APIs; everyone is a little different. 3670 3671 Thanks to Wim Lewis for the original patch, improvements, 3672 and testing. 3673 3674 configure.ac | 54 +++++++++++++++++++++++++++ 3675 src/liblzma/check/Makefile.inc | 2 + 3676 src/liblzma/check/check.h | 83 ++++++++++++++++++++++++++++++++++++++---- 3677 3 files changed, 131 insertions(+), 8 deletions(-) 3678 3679commit f004128678d43ea10b4a6401aa184cf83252d6ec 3680Author: Lasse Collin <lasse.collin@tukaani.org> 3681Date: 2011-05-17 12:52:18 +0300 3682 3683 Don't use clockid_t in mythread.h when clock_gettime() isn't available. 3684 3685 Thanks to Wim Lewis for the patch. 3686 3687 src/common/mythread.h | 2 ++ 3688 1 file changed, 2 insertions(+) 3689 3690commit f779516f42ebd2db47a5b7d6143459bf7737cf2f 3691Author: Lasse Collin <lasse.collin@tukaani.org> 3692Date: 2011-05-17 12:26:28 +0300 3693 3694 Update THANKS. 3695 3696 THANKS | 3 +++ 3697 1 file changed, 3 insertions(+) 3698 3699commit 830ba587775bb562f6eaf05cad61bf669d1f8892 3700Author: Lasse Collin <lasse.collin@tukaani.org> 3701Date: 2011-05-17 12:21:33 +0300 3702 3703 Update INSTALL with a note about linker problem on OpenSolaris x86. 3704 3705 INSTALL | 23 +++++++++++++++++------ 3706 1 file changed, 17 insertions(+), 6 deletions(-) 3707 3708commit ec7106309c8060e9c646dba20c4f15689a0bbb04 3709Author: Lasse Collin <lasse.collin@tukaani.org> 3710Date: 2011-05-17 12:01:37 +0300 3711 3712 Build: Fix initialization of enable_check_* variables in configure.ac. 3713 3714 This doesn't matter much in practice since it is unlikely 3715 that anyone would have such environment variable names. 3716 3717 Thanks to Wim Lewis. 3718 3719 configure.ac | 2 +- 3720 1 file changed, 1 insertion(+), 1 deletion(-) 3721 3722commit 4c6e146df99696920f12410fb17754412797ef36 3723Author: Lasse Collin <lasse.collin@tukaani.org> 3724Date: 2011-05-17 11:54:38 +0300 3725 3726 Add underscores to attributes (__attribute((__foo__))). 3727 3728 src/liblzma/common/alone_decoder.c | 2 +- 3729 src/liblzma/common/alone_encoder.c | 2 +- 3730 src/liblzma/common/block_encoder.c | 2 +- 3731 src/liblzma/common/common.c | 2 +- 3732 src/liblzma/common/common.h | 2 +- 3733 src/liblzma/common/index_decoder.c | 9 +++++---- 3734 src/liblzma/common/index_encoder.c | 11 ++++++----- 3735 src/liblzma/delta/delta_encoder.c | 2 +- 3736 src/liblzma/lz/lz_decoder.c | 2 +- 3737 src/liblzma/lz/lz_encoder.c | 2 +- 3738 src/liblzma/simple/arm.c | 2 +- 3739 src/liblzma/simple/armthumb.c | 2 +- 3740 src/liblzma/simple/ia64.c | 2 +- 3741 src/liblzma/simple/powerpc.c | 2 +- 3742 src/liblzma/simple/simple_coder.c | 2 +- 3743 src/liblzma/simple/sparc.c | 2 +- 3744 src/lzmainfo/lzmainfo.c | 4 ++-- 3745 src/xz/coder.c | 2 +- 3746 src/xz/hardware.h | 2 +- 3747 src/xz/message.c | 2 +- 3748 src/xz/message.h | 18 +++++++++--------- 3749 src/xz/options.c | 6 +++--- 3750 src/xz/signals.c | 2 +- 3751 src/xz/util.h | 6 +++--- 3752 src/xzdec/xzdec.c | 6 +++--- 3753 25 files changed, 49 insertions(+), 47 deletions(-) 3754 3755commit 7a480e485938884ef3021b48c3b0b9f9699dc9b6 3756Author: Lasse Collin <lasse.collin@tukaani.org> 3757Date: 2011-05-01 12:24:23 +0300 3758 3759 xz: Fix input file position when --single-stream is used. 3760 3761 Now the following works as you would expect: 3762 3763 echo foo | xz > foo.xz 3764 echo bar | xz >> foo.xz 3765 ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz 3766 3767 Note that it doesn't work if the input is not seekable 3768 or if there is Stream Padding between the concatenated 3769 .xz Streams. 3770 3771 src/xz/coder.c | 1 + 3772 src/xz/file_io.c | 15 +++++++++++++++ 3773 src/xz/file_io.h | 13 +++++++++++++ 3774 3 files changed, 29 insertions(+) 3775 3776commit c29e6630c1450c630c4e7b783bdd76515db9004c 3777Author: Lasse Collin <lasse.collin@tukaani.org> 3778Date: 2011-05-01 12:15:51 +0300 3779 3780 xz: Print the maximum number of worker threads in xz -vv. 3781 3782 src/xz/coder.c | 4 ++++ 3783 1 file changed, 4 insertions(+) 3784 3785commit 0b77c4a75158ccc416b07d6e81df8ee0abaea720 3786Author: Lasse Collin <lasse.collin@tukaani.org> 3787Date: 2011-04-19 10:44:48 +0300 3788 3789 Build: Warn if no supported method to detect the number of CPU cores. 3790 3791 configure.ac | 11 +++++------ 3792 1 file changed, 5 insertions(+), 6 deletions(-) 3793 3794commit e4622df9ab4982f8faa53d85b17be66216175a58 3795Author: Lasse Collin <lasse.collin@tukaani.org> 3796Date: 2011-04-19 09:55:06 +0300 3797 3798 Update THANKS. 3799 3800 THANKS | 1 + 3801 1 file changed, 1 insertion(+) 3802 3803commit 9c1b05828a88eff54409760b92162c7cc2c7cff6 3804Author: Lasse Collin <lasse.collin@tukaani.org> 3805Date: 2011-04-19 09:20:44 +0300 3806 3807 Fix portability problems in mythread.h. 3808 3809 Use gettimeofday() if clock_gettime() isn't available 3810 (e.g. Darwin). 3811 3812 The test for availability of pthread_condattr_setclock() 3813 and CLOCK_MONOTONIC was incorrect. Instead of fixing the 3814 #ifdefs, use an Autoconf test. That way if there exists a 3815 system that supports them but doesn't specify the matching 3816 POSIX #defines, the features will still get detected. 3817 3818 Don't try to use pthread_sigmask() on OpenVMS. It doesn't 3819 have that function. 3820 3821 Guard mythread.h against being #included multiple times. 3822 3823 configure.ac | 7 +++++++ 3824 src/common/mythread.h | 31 +++++++++++++++++++++++++++---- 3825 2 files changed, 34 insertions(+), 4 deletions(-) 3826 3827commit 3de00cc75da7b0e7b65e84c62b5351e231f501e9 3828Author: Lasse Collin <lasse.collin@tukaani.org> 3829Date: 2011-04-18 19:35:49 +0300 3830 3831 Update THANKS. 3832 3833 THANKS | 2 ++ 3834 1 file changed, 2 insertions(+) 3835 3836commit bd5002f5821e3d1b04f2f56989e4a19318e73633 3837Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> 3838Date: 2011-04-15 04:54:49 -0400 3839 3840 xzgrep: fix typo in $0 parsing 3841 3842 Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org> 3843 Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> 3844 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 3845 3846 src/scripts/xzgrep.in | 4 ++-- 3847 1 file changed, 2 insertions(+), 2 deletions(-) 3848 3849commit 6ef4eabc0acc49e1bb9dc68064706e19fa9fcf48 3850Author: Lasse Collin <lasse.collin@tukaani.org> 3851Date: 2011-04-12 12:48:31 +0300 3852 3853 Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99. 3854 3855 src/liblzma/Makefile.am | 2 +- 3856 src/liblzma/api/lzma/version.h | 2 +- 3857 2 files changed, 2 insertions(+), 2 deletions(-) 3858 3859commit 9a4377be0d21e597c66bad6c7452873aebfb3c1c 3860Author: Lasse Collin <lasse.collin@tukaani.org> 3861Date: 2011-04-12 12:42:37 +0300 3862 3863 Put the unstable APIs behind #ifdef LZMA_UNSTABLE. 3864 3865 This way people hopefully won't complain if these APIs 3866 change and break code that used an older API. 3867 3868 src/liblzma/api/lzma/container.h | 4 ++++ 3869 src/liblzma/common/common.h | 2 ++ 3870 src/xz/private.h | 2 ++ 3871 3 files changed, 8 insertions(+) 3872 3873commit 3e321a3acd50002cf6fdfd259e910f56d3389bc3 3874Author: Lasse Collin <lasse.collin@tukaani.org> 3875Date: 2011-04-12 11:59:49 +0300 3876 3877 Remove doubled words from documentation and comments. 3878 3879 Spot candidates by running these commands: 3880 git ls-files |xargs perl -0777 -n \ 3881 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \ 3882 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}' 3883 3884 Thanks to Jim Meyering for the original patch. 3885 3886 doc/lzma-file-format.txt | 4 ++-- 3887 src/liblzma/common/alone_encoder.c | 2 +- 3888 src/liblzma/lzma/lzma2_encoder.c | 2 +- 3889 src/xz/file_io.c | 2 +- 3890 src/xz/xz.1 | 2 +- 3891 windows/INSTALL-Windows.txt | 2 +- 3892 6 files changed, 7 insertions(+), 7 deletions(-) 3893 3894commit d91a84b534b012d19474f2fda1fbcaef873e1ba4 3895Author: Lasse Collin <lasse.collin@tukaani.org> 3896Date: 2011-04-12 11:46:01 +0300 3897 3898 Update NEWS. 3899 3900 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 3901 1 file changed, 45 insertions(+), 2 deletions(-) 3902 3903commit 14e6ad8cfe0165c1a8beeb5b2a1536558b29b0a1 3904Author: Lasse Collin <lasse.collin@tukaani.org> 3905Date: 2011-04-12 11:45:40 +0300 3906 3907 Update TODO. 3908 3909 TODO | 12 +++++++++++- 3910 1 file changed, 11 insertions(+), 1 deletion(-) 3911 3912commit 70e750f59793f9b5cd306a5adce9b8e427739e04 3913Author: Lasse Collin <lasse.collin@tukaani.org> 3914Date: 2011-04-12 11:08:55 +0300 3915 3916 xz: Update the man page about threading. 3917 3918 src/xz/xz.1 | 34 ++++++++++++++++++++-------------- 3919 1 file changed, 20 insertions(+), 14 deletions(-) 3920 3921commit 24e0406c0fb7494d2037dec033686faf1bf67068 3922Author: Lasse Collin <lasse.collin@tukaani.org> 3923Date: 2011-04-11 22:06:03 +0300 3924 3925 xz: Add support for threaded compression. 3926 3927 src/xz/args.c | 3 +- 3928 src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++---------------------- 3929 2 files changed, 125 insertions(+), 80 deletions(-) 3930 3931commit de678e0c924aa79a19293a8a6ed82e8cb6572a42 3932Author: Lasse Collin <lasse.collin@tukaani.org> 3933Date: 2011-04-11 22:03:30 +0300 3934 3935 liblzma: Add lzma_stream_encoder_mt() for threaded compression. 3936 3937 This is the simplest method to do threading, which splits 3938 the uncompressed data into blocks and compresses them 3939 independently from each other. There's room for improvement 3940 especially to reduce the memory usage, but nevertheless, 3941 this is a good start. 3942 3943 configure.ac | 1 + 3944 src/liblzma/api/lzma/container.h | 163 +++++ 3945 src/liblzma/common/Makefile.inc | 7 + 3946 src/liblzma/common/common.c | 9 +- 3947 src/liblzma/common/common.h | 14 + 3948 src/liblzma/common/outqueue.c | 180 ++++++ 3949 src/liblzma/common/outqueue.h | 155 +++++ 3950 src/liblzma/common/stream_encoder_mt.c | 1011 ++++++++++++++++++++++++++++++++ 3951 8 files changed, 1539 insertions(+), 1 deletion(-) 3952 3953commit 25fe729532cdf4b8fed56a4519b73cf31efaec50 3954Author: Lasse Collin <lasse.collin@tukaani.org> 3955Date: 2011-04-11 21:15:07 +0300 3956 3957 liblzma: Add the forgotten lzma_lzma2_block_size(). 3958 3959 This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a. 3960 3961 src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++ 3962 src/liblzma/lzma/lzma2_encoder.h | 2 ++ 3963 2 files changed, 12 insertions(+) 3964 3965commit 91afb785a1dee34862078d9bf844ef12b8cc3e35 3966Author: Lasse Collin <lasse.collin@tukaani.org> 3967Date: 2011-04-11 21:04:13 +0300 3968 3969 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too. 3970 3971 src/liblzma/api/lzma/container.h | 9 +++++++++ 3972 1 file changed, 9 insertions(+) 3973 3974commit 4a9905302a9e4a1601ae09d650d3f08ce98ae9ee 3975Author: Lasse Collin <lasse.collin@tukaani.org> 3976Date: 2011-04-11 20:59:07 +0300 3977 3978 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better. 3979 3980 It didn't mention the return value that is used if 3981 an error occurs. 3982 3983 src/liblzma/api/lzma/filter.h | 8 ++++++-- 3984 1 file changed, 6 insertions(+), 2 deletions(-) 3985 3986commit 0badb0b1bd649163322783b0bd9e590b4bc7a93d 3987Author: Lasse Collin <lasse.collin@tukaani.org> 3988Date: 2011-04-11 19:28:18 +0300 3989 3990 liblzma: Use memzero() to initialize supported_actions[]. 3991 3992 This is cleaner and makes it simpler to add new members 3993 to lzma_action enumeration. 3994 3995 src/liblzma/common/common.c | 6 ++---- 3996 1 file changed, 2 insertions(+), 4 deletions(-) 3997 3998commit a7934c446a58e20268689899d2a39f50e571f251 3999Author: Lasse Collin <lasse.collin@tukaani.org> 4000Date: 2011-04-11 19:26:27 +0300 4001 4002 liblzma: API comment about lzma_allocator with threaded coding. 4003 4004 src/liblzma/api/lzma/base.h | 18 +++++++++++++----- 4005 1 file changed, 13 insertions(+), 5 deletions(-) 4006 4007commit 5eefc0086d24a65e136352f8c1d19cefb0cbac7a 4008Author: Lasse Collin <lasse.collin@tukaani.org> 4009Date: 2011-04-11 19:16:30 +0300 4010 4011 liblzma: Add an internal function lzma_mt_block_size(). 4012 4013 This is based lzma_chunk_size() that was included in some 4014 development version of liblzma. 4015 4016 src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++------------------- 4017 src/liblzma/common/filter_encoder.h | 4 ++-- 4018 2 files changed, 24 insertions(+), 26 deletions(-) 4019 4020commit d1199274758049fc523d98c5b860ff814a799eec 4021Author: Lasse Collin <lasse.collin@tukaani.org> 4022Date: 2011-04-11 13:59:50 +0300 4023 4024 liblzma: Don't create an empty Block in lzma_stream_buffer_encode(). 4025 4026 Empty Block was created if the input buffer was empty. 4027 Empty Block wastes a few bytes of space, but more importantly 4028 it triggers a bug in XZ Utils 5.0.1 and older when trying 4029 to decompress such a file. 5.0.1 and older consider such 4030 files to be corrupt. I thought that no encoder creates empty 4031 Blocks when releasing 5.0.2 but I was wrong. 4032 4033 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++------- 4034 1 file changed, 13 insertions(+), 7 deletions(-) 4035 4036commit 3b22fc2c87ec85fcdd385c163b68fc49c97aa848 4037Author: Lasse Collin <lasse.collin@tukaani.org> 4038Date: 2011-04-11 13:28:40 +0300 4039 4040 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK. 4041 4042 This return value was missing from the API comments of 4043 four functions. 4044 4045 src/liblzma/api/lzma/block.h | 1 + 4046 src/liblzma/api/lzma/container.h | 3 +++ 4047 2 files changed, 4 insertions(+) 4048 4049commit 71b9380145dccf001f22e66a06b9d508905c25ce 4050Author: Lasse Collin <lasse.collin@tukaani.org> 4051Date: 2011-04-11 13:21:28 +0300 4052 4053 liblzma: Validate encoder arguments better. 4054 4055 The biggest problem was that the integrity check type 4056 wasn't validated, and e.g. lzma_easy_buffer_encode() 4057 would create a corrupt .xz Stream if given an unsupported 4058 Check ID. Luckily applications don't usually try to use 4059 an unsupport Check ID, so this bug is unlikely to cause 4060 many real-world problems. 4061 4062 src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------ 4063 src/liblzma/common/block_encoder.c | 5 +++++ 4064 src/liblzma/common/stream_buffer_encoder.c | 3 +++ 4065 3 files changed, 20 insertions(+), 6 deletions(-) 4066 4067commit ec7e3dbad704268825fc48f0bdd4577bc46b4f13 4068Author: Lasse Collin <lasse.collin@tukaani.org> 4069Date: 2011-04-11 09:57:30 +0300 4070 4071 xz: Move the description of --block-size in --long-help. 4072 4073 src/xz/message.c | 8 ++++---- 4074 1 file changed, 4 insertions(+), 4 deletions(-) 4075 4076commit cd3086ff443bb282bdf556919c28b3e3cbed8169 4077Author: Lasse Collin <lasse.collin@tukaani.org> 4078Date: 2011-04-11 09:55:35 +0300 4079 4080 Docs: Document --single-stream and --block-size. 4081 4082 src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++-- 4083 1 file changed, 36 insertions(+), 2 deletions(-) 4084 4085commit fb64a4924334e3c440865710990fe08090f2fed0 4086Author: Lasse Collin <lasse.collin@tukaani.org> 4087Date: 2011-04-11 09:27:57 +0300 4088 4089 liblzma: Make lzma_stream_encoder_init() static (second try). 4090 4091 It's an internal function and it's not needed by 4092 anything outside stream_encoder.c. 4093 4094 src/liblzma/common/Makefile.inc | 1 - 4095 src/liblzma/common/easy_encoder.c | 1 - 4096 src/liblzma/common/stream_encoder.c | 13 ++++++------- 4097 src/liblzma/common/stream_encoder.h | 23 ----------------------- 4098 4 files changed, 6 insertions(+), 32 deletions(-) 4099 4100commit a34730cf6af4d33a4057914e57227b6dfde6567e 4101Author: Lasse Collin <lasse.collin@tukaani.org> 4102Date: 2011-04-11 08:31:42 +0300 4103 4104 Revert "liblzma: Make lzma_stream_encoder_init() static." 4105 4106 This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7. 4107 I don't know what I was thinking. 4108 4109 src/liblzma/common/Makefile.inc | 1 + 4110 src/liblzma/common/stream_encoder.c | 9 +++++---- 4111 src/liblzma/common/stream_encoder.h | 23 +++++++++++++++++++++++ 4112 3 files changed, 29 insertions(+), 4 deletions(-) 4113 4114commit 9f0a806aef7ea79718e3f1f2baf3564295229a27 4115Author: Lasse Collin <lasse.collin@tukaani.org> 4116Date: 2011-04-10 21:23:21 +0300 4117 4118 Revise mythread.h. 4119 4120 This adds: 4121 4122 - mythread_sync() macro to create synchronized blocks 4123 4124 - mythread_cond structure and related functions 4125 and macros for condition variables with timed 4126 waiting using a relative timeout 4127 4128 - mythread_create() to create a thread with all 4129 signals blocked 4130 4131 Some of these wouldn't need to be inline functions, 4132 but I'll keep them this way for now for simplicity. 4133 4134 For timed waiting on a condition variable, librt is 4135 now required on some systems to use clock_gettime(). 4136 configure.ac was updated to handle this. 4137 4138 configure.ac | 1 + 4139 src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++----- 4140 2 files changed, 181 insertions(+), 20 deletions(-) 4141 4142commit 352ac82db5d3f64585c07b39e4759388dec0e4d7 4143Author: Lasse Collin <lasse.collin@tukaani.org> 4144Date: 2011-04-10 20:37:36 +0300 4145 4146 liblzma: Make lzma_stream_encoder_init() static. 4147 4148 It's an internal function and it's not needed by 4149 anything outside stream_encoder.c. 4150 4151 src/liblzma/common/Makefile.inc | 1 - 4152 src/liblzma/common/stream_encoder.c | 9 ++++----- 4153 src/liblzma/common/stream_encoder.h | 23 ----------------------- 4154 3 files changed, 4 insertions(+), 29 deletions(-) 4155 4156commit 9e807fe3fe79618ac48f58207cf7082ea20a6928 4157Author: Lasse Collin <lasse.collin@tukaani.org> 4158Date: 2011-04-10 14:58:10 +0300 4159 4160 DOS: Update the docs and include notes about 8.3 filenames. 4161 4162 dos/INSTALL.txt | 79 ++++++++++++++++++++++++++++++++++++ 4163 dos/README | 88 ---------------------------------------- 4164 dos/README.txt | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4165 3 files changed, 202 insertions(+), 88 deletions(-) 4166 4167commit ebd54dbd6e481d31e80757f900ac8109ad1423c6 4168Author: Lasse Collin <lasse.collin@tukaani.org> 4169Date: 2011-04-10 13:09:42 +0300 4170 4171 xz/DOS: Add experimental 8.3 filename support. 4172 4173 This is incompatible with the 8.3 support patch made by 4174 Juan Manuel Guerrero. I think this one is nicer, but 4175 I need to get feedback from DOS users before saying 4176 that this is the final version of 8.3 filename support. 4177 4178 src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 4179 1 file changed, 167 insertions(+), 9 deletions(-) 4180 4181commit cd4fe97852bcaeffe674ee51b4613709292a0972 4182Author: Lasse Collin <lasse.collin@tukaani.org> 4183Date: 2011-04-10 12:47:47 +0300 4184 4185 xz/DOS: Be more careful with the destination file. 4186 4187 Try to avoid overwriting the source file if --force is 4188 used and the generated destination filename refers to 4189 the source file. This can happen with 8.3 filenames where 4190 extra characters are ignored. 4191 4192 If the generated output file refers to a special file 4193 like "con" or "prn", refuse to write to it even if --force 4194 is used. 4195 4196 src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++-- 4197 1 file changed, 33 insertions(+), 2 deletions(-) 4198 4199commit 607f9f98ae5ef6d49f4c21c806d462bf6b3d6796 4200Author: Lasse Collin <lasse.collin@tukaani.org> 4201Date: 2011-04-09 18:29:30 +0300 4202 4203 Update THANKS. 4204 4205 THANKS | 1 + 4206 1 file changed, 1 insertion(+) 4207 4208commit fca396b37410d272b754843a5dc13847be443a3a 4209Author: Lasse Collin <lasse.collin@tukaani.org> 4210Date: 2011-04-09 18:28:58 +0300 4211 4212 liblzma: Add missing #ifdefs to filter_common.c. 4213 4214 Passing --disable-decoders to configure broke a few 4215 encoders due to missing #ifdefs in filter_common.c. 4216 4217 Thanks to Jason Gorski for the patch. 4218 4219 src/liblzma/common/filter_common.c | 6 +++--- 4220 1 file changed, 3 insertions(+), 3 deletions(-) 4221 4222commit b03f6cd3ebadd675f2cc9d518cb26fa860269447 4223Author: Lasse Collin <lasse.collin@tukaani.org> 4224Date: 2011-04-09 15:24:59 +0300 4225 4226 xz: Avoid unneeded fstat() on DOS-like systems. 4227 4228 src/xz/file_io.c | 14 ++++++++------ 4229 1 file changed, 8 insertions(+), 6 deletions(-) 4230 4231commit 335fe260a81f61ec99ff5940df733b4c50aedb7c 4232Author: Lasse Collin <lasse.collin@tukaani.org> 4233Date: 2011-04-09 15:11:13 +0300 4234 4235 xz: Minor internal changes to handling of --threads. 4236 4237 Now it always defaults to one thread. Maybe this 4238 will change again if a threading method is added 4239 that doesn't affect memory usage. 4240 4241 src/xz/args.c | 4 ++-- 4242 src/xz/hardware.c | 24 ++++++++++++------------ 4243 src/xz/hardware.h | 9 ++++----- 4244 3 files changed, 18 insertions(+), 19 deletions(-) 4245 4246commit 9edd6ee895fbe71d245a173f48e511f154a99875 4247Author: Lasse Collin <lasse.collin@tukaani.org> 4248Date: 2011-04-08 17:53:05 +0300 4249 4250 xz: Change size_t to uint32_t in a few places. 4251 4252 src/xz/coder.c | 6 +++--- 4253 src/xz/coder.h | 2 +- 4254 2 files changed, 4 insertions(+), 4 deletions(-) 4255 4256commit 411013ea4506a6df24d35a060fcbd73a57b73eb3 4257Author: Lasse Collin <lasse.collin@tukaani.org> 4258Date: 2011-04-08 17:48:41 +0300 4259 4260 xz: Fix a typo in a comment. 4261 4262 src/xz/coder.c | 2 +- 4263 1 file changed, 1 insertion(+), 1 deletion(-) 4264 4265commit b34c5ce4b22e8d7b81f9895d15054af41d17f805 4266Author: Lasse Collin <lasse.collin@tukaani.org> 4267Date: 2011-04-05 22:41:33 +0300 4268 4269 liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c. 4270 4271 src/liblzma/check/sha256.c | 6 +++--- 4272 1 file changed, 3 insertions(+), 3 deletions(-) 4273 4274commit db33117cc85c17e0b897b5312bd5eb43aac41c03 4275Author: Lasse Collin <lasse.collin@tukaani.org> 4276Date: 2011-04-05 17:12:20 +0300 4277 4278 Build: Upgrade m4/acx_pthread.m4 to the latest version. 4279 4280 It was renamed to ax_pthread.m4 in Autoconf Archive. 4281 4282 configure.ac | 2 +- 4283 m4/acx_pthread.m4 | 279 ----------------------------------------------------- 4284 m4/ax_pthread.m4 | 283 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4285 3 files changed, 284 insertions(+), 280 deletions(-) 4286 4287commit 1039bfcfc098b69d56ecb39d198a092552eacf6d 4288Author: Lasse Collin <lasse.collin@tukaani.org> 4289Date: 2011-04-05 15:27:26 +0300 4290 4291 xz: Use posix_fadvise() if it is available. 4292 4293 configure.ac | 3 +++ 4294 src/xz/file_io.c | 15 +++++++++++++++ 4295 2 files changed, 18 insertions(+) 4296 4297commit 1ef3cf44a8eb9512480af4482a5232ea08363b14 4298Author: Lasse Collin <lasse.collin@tukaani.org> 4299Date: 2011-04-05 15:13:29 +0300 4300 4301 xz: Call lzma_end(&strm) before exiting if debugging is enabled. 4302 4303 src/xz/coder.c | 10 ++++++++++ 4304 src/xz/coder.h | 5 +++++ 4305 src/xz/main.c | 4 ++++ 4306 3 files changed, 19 insertions(+) 4307 4308commit bd432015d33dcade611d297bc01eb0700088ef6c 4309Author: Lasse Collin <lasse.collin@tukaani.org> 4310Date: 2011-04-02 14:49:56 +0300 4311 4312 liblzma: Fix a memory leak in stream_encoder.c. 4313 4314 It leaks old filter options structures (hundred bytes or so) 4315 every time the lzma_stream is reinitialized. With the xz tool, 4316 this happens when compressing multiple files. 4317 4318 src/liblzma/common/stream_encoder.c | 2 +- 4319 1 file changed, 1 insertion(+), 1 deletion(-) 4320 4321commit 16889013214e7620d204b6e6c1bf9f3103a13655 4322Author: Lasse Collin <lasse.collin@tukaani.org> 4323Date: 2011-04-01 08:47:20 +0300 4324 4325 Updated NEWS for 5.0.2. 4326 4327 NEWS | 18 ++++++++++++++++++ 4328 1 file changed, 18 insertions(+) 4329 4330commit 85cdf7dd4e97b078e7b929e47f55a7f1da36010f 4331Author: Lasse Collin <lasse.collin@tukaani.org> 4332Date: 2011-03-31 15:06:58 +0300 4333 4334 Update INSTALL with another note about IRIX. 4335 4336 INSTALL | 4 ++++ 4337 1 file changed, 4 insertions(+) 4338 4339commit c3f4995586873d6a4fb7e451010a128571a9a370 4340Author: Lasse Collin <lasse.collin@tukaani.org> 4341Date: 2011-03-31 12:22:55 +0300 4342 4343 Tests: Add a new file to test empty LZMA2 streams. 4344 4345 tests/files/README | 4 ++++ 4346 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes 4347 2 files changed, 4 insertions(+) 4348 4349commit 0d21f49a809dc2088da6cc0da7f948404df7ecfa 4350Author: Lasse Collin <lasse.collin@tukaani.org> 4351Date: 2011-03-31 11:54:48 +0300 4352 4353 liblzma: Fix decoding of LZMA2 streams having no uncompressed data. 4354 4355 The decoder considered empty LZMA2 streams to be corrupt. 4356 This shouldn't matter much with .xz files, because no encoder 4357 creates empty LZMA2 streams in .xz. This bug is more likely 4358 to cause problems in applications that use raw LZMA2 streams. 4359 4360 src/liblzma/lzma/lzma2_decoder.c | 8 ++++---- 4361 1 file changed, 4 insertions(+), 4 deletions(-) 4362 4363commit 40277998cb9bad564ce4827aff152e6e1c904dfa 4364Author: Lasse Collin <lasse.collin@tukaani.org> 4365Date: 2011-03-24 01:42:49 +0200 4366 4367 Scripts: Better fix for xzgrep. 4368 4369 Now it uses "grep -q". 4370 4371 Thanks to Gregory Margo. 4372 4373 src/scripts/xzgrep.in | 8 ++++++-- 4374 1 file changed, 6 insertions(+), 2 deletions(-) 4375 4376commit 2118733045ad0ca183a3f181a0399baf876983a6 4377Author: Lasse Collin <lasse.collin@tukaani.org> 4378Date: 2011-03-24 01:22:18 +0200 4379 4380 Updated THANKS. 4381 4382 THANKS | 1 + 4383 1 file changed, 1 insertion(+) 4384 4385commit c7210d9a3fca6f31a57208bfddfc9ab20a2e097a 4386Author: Lasse Collin <lasse.collin@tukaani.org> 4387Date: 2011-03-24 01:21:32 +0200 4388 4389 Scripts: Fix xzgrep -l. 4390 4391 It didn't work at all. It tried to use the -q option 4392 for grep, but it appended it after "--". This works 4393 around it by redirecting to /dev/null. The downside 4394 is that this can be slower with big files compared 4395 to proper use of "grep -q". 4396 4397 Thanks to Gregory Margo. 4398 4399 src/scripts/xzgrep.in | 4 ++-- 4400 1 file changed, 2 insertions(+), 2 deletions(-) 4401 4402commit 4eb83e32046a6d670862bc91c3d82530963b455e 4403Author: Lasse Collin <lasse.collin@tukaani.org> 4404Date: 2011-03-19 13:08:22 +0200 4405 4406 Scripts: Add lzop (.lzo) support to xzdiff and xzgrep. 4407 4408 src/scripts/xzdiff.1 | 6 ++++-- 4409 src/scripts/xzdiff.in | 22 ++++++++++++++-------- 4410 src/scripts/xzgrep.1 | 11 +++++++---- 4411 src/scripts/xzgrep.in | 5 +++-- 4412 4 files changed, 28 insertions(+), 16 deletions(-) 4413 4414commit 923b22483bd9356f3219b2b784d96f455f4dc499 4415Author: Lasse Collin <lasse.collin@tukaani.org> 4416Date: 2011-03-18 19:10:30 +0200 4417 4418 xz: Add --block-size=SIZE. 4419 4420 This uses LZMA_FULL_FLUSH every SIZE bytes of input. 4421 4422 Man page wasn't updated yet. 4423 4424 src/xz/args.c | 7 +++++++ 4425 src/xz/coder.c | 50 ++++++++++++++++++++++++++++++++++++++++---------- 4426 src/xz/coder.h | 3 +++ 4427 src/xz/message.c | 4 ++++ 4428 4 files changed, 54 insertions(+), 10 deletions(-) 4429 4430commit 57597d42ca1740ad506437be168d800a50f1a0ad 4431Author: Lasse Collin <lasse.collin@tukaani.org> 4432Date: 2011-03-18 18:19:19 +0200 4433 4434 xz: Add --single-stream. 4435 4436 This can be useful when there is garbage after the 4437 compressed stream (.xz, .lzma, or raw stream). 4438 4439 Man page wasn't updated yet. 4440 4441 src/xz/args.c | 6 ++++++ 4442 src/xz/coder.c | 11 +++++++++-- 4443 src/xz/coder.h | 3 +++ 4444 src/xz/message.c | 6 +++++- 4445 4 files changed, 23 insertions(+), 3 deletions(-) 4446 4447commit 96f94bc925d579a700147fa5d7793b64d69cfc18 4448Author: Lasse Collin <lasse.collin@tukaani.org> 4449Date: 2011-02-04 22:49:31 +0200 4450 4451 xz: Clean up suffix.c. 4452 4453 struct suffix_pair isn't needed in compresed_name() 4454 so get rid of it there. 4455 4456 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------ 4457 1 file changed, 20 insertions(+), 24 deletions(-) 4458 4459commit 8930c7ae3f82bdae15aa129f01de08be23d7e8d7 4460Author: Lasse Collin <lasse.collin@tukaani.org> 4461Date: 2011-02-04 11:29:47 +0200 4462 4463 xz: Check if the file already has custom suffix when compressing. 4464 4465 Now "xz -S .test foo.test" refuses to compress the 4466 file because it already has the suffix .test. The man 4467 page had it documented this way already. 4468 4469 src/xz/suffix.c | 9 +++++++++ 4470 1 file changed, 9 insertions(+) 4471 4472commit 940d5852c6cf08abccc6befd9d1b5411c9076a58 4473Author: Lasse Collin <lasse.collin@tukaani.org> 4474Date: 2011-02-02 23:01:51 +0200 4475 4476 Updated THANKS. 4477 4478 THANKS | 1 + 4479 1 file changed, 1 insertion(+) 4480 4481commit 4ebe65f839613f27f127bab7b8c347d982330ee3 4482Author: Lasse Collin <lasse.collin@tukaani.org> 4483Date: 2011-02-02 23:00:33 +0200 4484 4485 Translations: Add Polish translation. 4486 4487 Thanks to Jakub Bogusz. 4488 4489 po/LINGUAS | 1 + 4490 po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4491 2 files changed, 826 insertions(+) 4492 4493commit fc1d292dca1925dfd17174f443f91a696ecd5bf8 4494Author: Lasse Collin <lasse.collin@tukaani.org> 4495Date: 2011-02-02 22:24:00 +0200 4496 4497 Updated THANKS. 4498 4499 THANKS | 1 + 4500 1 file changed, 1 insertion(+) 4501 4502commit 6dd061adfd2775428b079eb03d6fd47d7c0f1ffe 4503Merge: 9d542ce 5fbce0b 4504Author: Lasse Collin <lasse.collin@tukaani.org> 4505Date: 2011-02-06 20:13:01 +0200 4506 4507 Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d' 4508 4509commit 5fbce0b8d96dc96775aa0215e3581addc830e23d 4510Author: Lasse Collin <lasse.collin@tukaani.org> 4511Date: 2011-01-28 20:16:57 +0200 4512 4513 Update NEWS for 5.0.1. 4514 4515 NEWS | 14 ++++++++++++++ 4516 1 file changed, 14 insertions(+) 4517 4518commit 03ebd1bbb314f9f204940219a835c883bf442475 4519Author: Lasse Collin <lasse.collin@tukaani.org> 4520Date: 2011-01-26 12:19:08 +0200 4521 4522 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files. 4523 4524 xz didn't compress setuid/setgid/sticky files and files 4525 with multiple hard links even with --force. This bug was 4526 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4. 4527 4528 Thanks to Charles Wilson. 4529 4530 src/xz/file_io.c | 15 +++++++-------- 4531 1 file changed, 7 insertions(+), 8 deletions(-) 4532 4533commit 9d542ceebcbe40b174169c132ccfcdc720ca7089 4534Merge: 4f2c69a 7bd0a5e 4535Author: Lasse Collin <lasse.collin@tukaani.org> 4536Date: 2011-01-19 11:45:35 +0200 4537 4538 Merge branch 'v5.0' 4539 4540commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136 4541Author: Lasse Collin <lasse.collin@tukaani.org> 4542Date: 2011-01-18 21:25:24 +0200 4543 4544 Updated THANKS. 4545 4546 THANKS | 1 + 4547 1 file changed, 1 insertion(+) 4548 4549commit f71c4e16e913f660977526f0ef8d2acdf458d7c9 4550Author: Lasse Collin <lasse.collin@tukaani.org> 4551Date: 2011-01-18 21:23:50 +0200 4552 4553 Add alloc_size and malloc attributes to a few functions. 4554 4555 Thanks to Cristian Rodríguez for the original patch. 4556 4557 src/common/sysdefs.h | 6 ++++++ 4558 src/liblzma/common/common.h | 2 +- 4559 src/xz/util.h | 5 +++-- 4560 3 files changed, 10 insertions(+), 3 deletions(-) 4561 4562commit 316cbe24465143edde8f6ffb7532834b7b2ea93f 4563Author: Lasse Collin <lasse.collin@tukaani.org> 4564Date: 2010-12-13 16:36:33 +0200 4565 4566 Scripts: Fix gzip and bzip2 support in xzdiff. 4567 4568 src/scripts/xzdiff.in | 12 ++++++------ 4569 1 file changed, 6 insertions(+), 6 deletions(-) 4570 4571commit 4f2c69a4e3e0aee2e37b0b1671d34086e20c8ac6 4572Merge: adb89e6 9311774 4573Author: Lasse Collin <lasse.collin@tukaani.org> 4574Date: 2010-12-12 23:13:22 +0200 4575 4576 Merge branch 'v5.0' 4577 4578commit 9311774c493c19deab51ded919dcd2e9c4aa2829 4579Author: Lasse Collin <lasse.collin@tukaani.org> 4580Date: 2010-12-12 21:23:55 +0200 4581 4582 Build: Enable ASM on DJGPP by default. 4583 4584 configure.ac | 2 +- 4585 1 file changed, 1 insertion(+), 1 deletion(-) 4586 4587commit 4a42aaee282fc73b482581684d65110506d5efdd 4588Author: Lasse Collin <lasse.collin@tukaani.org> 4589Date: 2010-12-12 16:09:42 +0200 4590 4591 Updated THANKS. 4592 4593 THANKS | 1 + 4594 1 file changed, 1 insertion(+) 4595 4596commit ce56f63c41ee210e6308090eb6d49221fdf67d6c 4597Author: Lasse Collin <lasse.collin@tukaani.org> 4598Date: 2010-12-12 16:07:11 +0200 4599 4600 Add missing PRIx32 and PRIx64 compatibility definitions. 4601 4602 This fixes portability to systems that lack C99 inttypes.h. 4603 4604 Thanks to Juan Manuel Guerrero. 4605 4606 src/common/sysdefs.h | 9 +++++++++ 4607 1 file changed, 9 insertions(+) 4608 4609commit e6baedddcf54e7da049ebc49183565b99facd4c7 4610Author: Lasse Collin <lasse.collin@tukaani.org> 4611Date: 2010-12-12 14:50:04 +0200 4612 4613 DOS-like: Treat \ and : as directory separators in addition to /. 4614 4615 Juan Manuel Guerrero had fixed this in his XZ Utils port 4616 to DOS/DJGPP. The bug affects also Windows and OS/2. 4617 4618 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++---- 4619 1 file changed, 29 insertions(+), 4 deletions(-) 4620 4621commit adb89e68d43a4cadb0c215b45ef7a75737c9c3ec 4622Merge: 7c24e0d b7afd3e 4623Author: Lasse Collin <lasse.collin@tukaani.org> 4624Date: 2010-12-07 18:53:04 +0200 4625 4626 Merge branch 'v5.0' 4627 4628commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f 4629Author: Lasse Collin <lasse.collin@tukaani.org> 4630Date: 2010-12-07 18:52:04 +0200 4631 4632 Translations: Fix Czech translation of "sparse file". 4633 4634 Thanks to Petr Hubený and Marek Černocký. 4635 4636 po/cs.po | 88 ++++++++++++++++++++++++++++++++-------------------------------- 4637 1 file changed, 44 insertions(+), 44 deletions(-) 4638 4639commit 7c24e0d1b8a2e86e9263b0d56d39621e01aed7af 4640Merge: b4d42f1 3e56470 4641Author: Lasse Collin <lasse.collin@tukaani.org> 4642Date: 2010-11-15 14:33:01 +0200 4643 4644 Merge branch 'v5.0' 4645 4646commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e 4647Author: Lasse Collin <lasse.collin@tukaani.org> 4648Date: 2010-11-15 14:28:26 +0200 4649 4650 liblzma: Document the return value of lzma_lzma_preset(). 4651 4652 src/liblzma/api/lzma/lzma.h | 3 +++ 4653 1 file changed, 3 insertions(+) 4654 4655commit 2964d8d691ed92abdcf214888d79ad6d79774735 4656Author: Jonathan Nieder <jrnieder@gmail.com> 4657Date: 2010-11-12 15:22:13 -0600 4658 4659 Simplify paths in generated API docs 4660 4661 Currently the file list generated by Doxygen has src/ at the 4662 beginning of each path. Paths like common/sysdefs.h and 4663 liblzma/api/lzma.h are easier to read without such a prefix. 4664 4665 Builds from a separate build directory with 4666 4667 mkdir build 4668 cd build 4669 ../configure 4670 doxygen Doxyfile 4671 4672 include an even longer prefix /home/someone/src/xz/src; this 4673 patch has the nice side-effect of eliminating that prefix, too. 4674 4675 Fixes: http://bugs.debian.org/572273 4676 4677 Doxyfile.in | 2 +- 4678 1 file changed, 1 insertion(+), 1 deletion(-) 4679 4680commit b4d42f1a7120e2cefeb2f14425efe2ca6db85416 4681Author: Anders F Bjorklund <afb@users.sourceforge.net> 4682Date: 2010-11-05 12:56:11 +0100 4683 4684 add build script for macosx universal 4685 4686 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4687 1 file changed, 92 insertions(+) 4688 4689commit 15ee6935abe4a2fc76639ee342ca2e69af3e0ad6 4690Author: Lasse Collin <lasse.collin@tukaani.org> 4691Date: 2010-11-04 18:31:40 +0200 4692 4693 Update the copies of GPLv2 and LGPLv2.1 from gnu.org. 4694 4695 There are only a few white space changes. 4696 4697 COPYING.GPLv2 | 14 +++++++------- 4698 COPYING.LGPLv2.1 | 16 +++++++--------- 4699 2 files changed, 14 insertions(+), 16 deletions(-) 4700 4701commit 8e355f7fdbeee6fe394eb02a28f267ce99a882a2 4702Merge: 974ebe6 37c2565 4703Author: Lasse Collin <lasse.collin@tukaani.org> 4704Date: 2010-10-26 15:53:06 +0300 4705 4706 Merge branch 'v5.0' 4707 4708commit 37c25658efd25b034266daf87cd381d20d1df776 4709Author: Lasse Collin <lasse.collin@tukaani.org> 4710Date: 2010-10-26 15:48:48 +0300 4711 4712 Build: Copy the example programs to $docdir/examples. 4713 4714 The example programs by Daniel Mealha Cabrita were included 4715 in the git repository, but I had forgot to add them to 4716 Makefile.am. Thus, they didn't get included in the source 4717 package at all by "make dist". 4718 4719 Makefile.am | 5 +++++ 4720 windows/build.bash | 3 ++- 4721 2 files changed, 7 insertions(+), 1 deletion(-) 4722 4723commit 974ebe63497bdf0d262e06474f0dd5a70b1dd000 4724Author: Lasse Collin <lasse.collin@tukaani.org> 4725Date: 2010-10-26 10:36:41 +0300 4726 4727 liblzma: Rename a few variables and constants. 4728 4729 This has no semantic changes. I find the new names slightly 4730 more logical and they match the names that are already used 4731 in XZ Embedded. 4732 4733 The name fastpos wasn't changed (not worth the hassle). 4734 4735 src/liblzma/lzma/fastpos.h | 55 +++++------ 4736 src/liblzma/lzma/lzma2_encoder.c | 2 +- 4737 src/liblzma/lzma/lzma_common.h | 45 ++++----- 4738 src/liblzma/lzma/lzma_decoder.c | 58 +++++------ 4739 src/liblzma/lzma/lzma_encoder.c | 56 +++++------ 4740 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 9 +- 4741 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 128 ++++++++++++------------- 4742 src/liblzma/lzma/lzma_encoder_private.h | 16 ++-- 4743 8 files changed, 183 insertions(+), 186 deletions(-) 4744 4745commit 7c427ec38d016c0070a42315d752857e33792fc4 4746Author: Lasse Collin <lasse.collin@tukaani.org> 4747Date: 2010-10-25 12:59:25 +0300 4748 4749 Bump version 5.1.0alpha. 4750 4751 src/liblzma/api/lzma/version.h | 4 ++-- 4752 1 file changed, 2 insertions(+), 2 deletions(-) 4753 4754commit e45929260cd902036efd40c5610a8d0a50d5712b 4755Author: Lasse Collin <lasse.collin@tukaani.org> 4756Date: 2010-10-23 17:25:52 +0300 4757 4758 Build: Fix mydist rule when .git doesn't exist. 4759 4760 Makefile.am | 1 + 4761 1 file changed, 1 insertion(+) 4762 4763commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168 4764Author: Lasse Collin <lasse.collin@tukaani.org> 4765Date: 2010-10-23 14:15:35 +0300 4766 4767 Add NEWS for 5.0.0. 4768 4769 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4770 1 file changed, 62 insertions(+) 4771 4772commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c 4773Author: Lasse Collin <lasse.collin@tukaani.org> 4774Date: 2010-10-23 14:02:53 +0300 4775 4776 Bump version to 5.0.0 and liblzma version-info to 5:0:0. 4777 4778 src/liblzma/Makefile.am | 2 +- 4779 src/liblzma/api/lzma/version.h | 8 ++++---- 4780 2 files changed, 5 insertions(+), 5 deletions(-) 4781 4782commit 8c947e9291691629714dafb4536c718b6cc24fbd 4783Author: Lasse Collin <lasse.collin@tukaani.org> 4784Date: 2010-10-23 12:30:54 +0300 4785 4786 liblzma: Make lzma_code() check the reserved members in lzma_stream. 4787 4788 If any of the reserved members in lzma_stream are non-zero 4789 or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible 4790 that a new feature in the future is indicated by just setting 4791 a reserved member to some other value, so the old liblzma 4792 version need to catch it as an unsupported feature. 4793 4794 src/liblzma/common/common.c | 14 ++++++++++++++ 4795 1 file changed, 14 insertions(+) 4796 4797commit e61d85e082743ebd2dd0ff28fc0a82482ede0538 4798Author: Lasse Collin <lasse.collin@tukaani.org> 4799Date: 2010-10-23 12:26:33 +0300 4800 4801 Windows: Use MinGW's stdio functions. 4802 4803 The non-standard ones from msvcrt.dll appear to work 4804 most of the time with XZ Utils, but there are some 4805 corner cases where things may go very wrong. So it's 4806 good to use the better replacements provided by 4807 MinGW(-w64) runtime. 4808 4809 src/common/sysdefs.h | 5 +++++ 4810 1 file changed, 5 insertions(+) 4811 4812commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc 4813Author: Lasse Collin <lasse.collin@tukaani.org> 4814Date: 2010-10-23 12:21:32 +0300 4815 4816 liblzma: Use 512 as INDEX_GROUP_SIZE. 4817 4818 This lets compiler use shifting instead of 64-bit division. 4819 4820 src/liblzma/common/index.c | 2 +- 4821 1 file changed, 1 insertion(+), 1 deletion(-) 4822 4823commit 613939fc82603b75b59eee840871a05bc8dd08e0 4824Author: Lasse Collin <lasse.collin@tukaani.org> 4825Date: 2010-10-23 12:20:11 +0300 4826 4827 liblzma: A few ABI tweaks to reserve space in structures. 4828 4829 src/liblzma/api/lzma/base.h | 7 ++++++- 4830 src/liblzma/api/lzma/lzma.h | 4 ++-- 4831 src/liblzma/api/lzma/stream_flags.h | 4 ---- 4832 3 files changed, 8 insertions(+), 7 deletions(-) 4833 4834commit 68b83f252df3d27480a9f6f03445d16f6506fef1 4835Author: Lasse Collin <lasse.collin@tukaani.org> 4836Date: 2010-10-21 23:16:11 +0300 4837 4838 xz: Make sure that message_strm() can never return NULL. 4839 4840 src/xz/message.c | 7 +++++-- 4841 1 file changed, 5 insertions(+), 2 deletions(-) 4842 4843commit d09c5753e33ff96ee57edb6d1e98e34041203695 4844Author: Lasse Collin <lasse.collin@tukaani.org> 4845Date: 2010-10-21 23:06:31 +0300 4846 4847 liblzma: Update the comments in the API headers. 4848 4849 Adding support for LZMA_FINISH for Index encoding and 4850 decoding needed tiny additions to the relevant .c files too. 4851 4852 src/liblzma/api/lzma.h | 4 +-- 4853 src/liblzma/api/lzma/base.h | 38 +++++++++++++-------------- 4854 src/liblzma/api/lzma/bcj.h | 4 +-- 4855 src/liblzma/api/lzma/block.h | 4 +-- 4856 src/liblzma/api/lzma/container.h | 26 ++++++++++++------- 4857 src/liblzma/api/lzma/filter.h | 51 ++++++++++++++++++------------------- 4858 src/liblzma/api/lzma/hardware.h | 3 +-- 4859 src/liblzma/api/lzma/index.h | 28 ++++++++++++-------- 4860 src/liblzma/api/lzma/index_hash.h | 2 +- 4861 src/liblzma/api/lzma/lzma.h | 46 ++++++++++++++++++++++----------- 4862 src/liblzma/api/lzma/stream_flags.h | 4 +-- 4863 src/liblzma/api/lzma/vli.h | 31 +++++++++++----------- 4864 src/liblzma/common/index_decoder.c | 1 + 4865 src/liblzma/common/index_encoder.c | 1 + 4866 14 files changed, 136 insertions(+), 107 deletions(-) 4867 4868commit 33c1c0e102eb529588503b8beea0903a45488fad 4869Author: Lasse Collin <lasse.collin@tukaani.org> 4870Date: 2010-10-19 12:08:30 +0300 4871 4872 Update INSTALL.generic. 4873 4874 INSTALL.generic | 99 ++++++++++++++++++++++++++++++++++++++++++++++----------- 4875 1 file changed, 81 insertions(+), 18 deletions(-) 4876 4877commit 0076e03641f201c4b77dddd5a6db5880be19a78c 4878Author: Lasse Collin <lasse.collin@tukaani.org> 4879Date: 2010-10-19 11:44:37 +0300 4880 4881 Clean up a few FIXMEs and TODOs. 4882 4883 lzma_chunk_size() was commented out because it is 4884 currently useless. 4885 4886 src/liblzma/common/filter_encoder.c | 2 ++ 4887 src/liblzma/common/filter_encoder.h | 4 ++-- 4888 src/liblzma/lzma/lzma2_decoder.c | 1 - 4889 src/liblzma/lzma/lzma_decoder.c | 4 ++-- 4890 src/liblzma/lzma/lzma_encoder.c | 2 +- 4891 src/xz/message.h | 2 +- 4892 6 files changed, 8 insertions(+), 7 deletions(-) 4893 4894commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9 4895Author: Lasse Collin <lasse.collin@tukaani.org> 4896Date: 2010-10-19 10:21:08 +0300 4897 4898 Update docs. 4899 4900 INSTALL | 192 +++++++++++++++++++++++++++++++++++++++++-------------------- 4901 PACKAGERS | 104 +++++++++------------------------ 4902 TODO | 17 ++++-- 4903 dos/README | 2 +- 4904 4 files changed, 172 insertions(+), 143 deletions(-) 4905 4906commit f0fa880d247e73264d2c04fe31fb3412318a0026 4907Author: Lasse Collin <lasse.collin@tukaani.org> 4908Date: 2010-10-12 15:13:30 +0300 4909 4910 xz: Avoid raise() also on OpenVMS. 4911 4912 This is similar to DOS/DJGPP that killing the program 4913 with a signal will print a backtrace or a similar message. 4914 4915 src/xz/signals.c | 2 +- 4916 1 file changed, 1 insertion(+), 1 deletion(-) 4917 4918commit ac462b1c47c451f5c62e428306314c4bdad8ae7f 4919Author: Lasse Collin <lasse.collin@tukaani.org> 4920Date: 2010-10-11 21:26:19 +0300 4921 4922 xz: Avoid SA_RESTART for portability reasons. 4923 4924 SA_RESTART is not as portable as I had hoped. It's missing 4925 at least from OpenVMS, QNX, and DJGPP). Luckily we can do 4926 fine without SA_RESTART. 4927 4928 src/xz/message.c | 38 +++++++++++++++----------------------- 4929 src/xz/message.h | 4 ++++ 4930 src/xz/signals.c | 6 ++++++ 4931 3 files changed, 25 insertions(+), 23 deletions(-) 4932 4933commit d52b411716a614c202e89ba732492efb9916cd3f 4934Author: Lasse Collin <lasse.collin@tukaani.org> 4935Date: 2010-10-10 17:58:58 +0300 4936 4937 xz: Use "%"PRIu32 instead of "%d" in a format string. 4938 4939 src/xz/message.c | 2 +- 4940 1 file changed, 1 insertion(+), 1 deletion(-) 4941 4942commit ae74d1bdeb075c3beefe76e1136c5741804e7e91 4943Author: Lasse Collin <lasse.collin@tukaani.org> 4944Date: 2010-10-10 17:43:26 +0300 4945 4946 test_files.sh: Fix the first line. 4947 4948 For some reason this prevented running the test only 4949 on OS/2 and even on that it broke only recently. 4950 4951 Thanks to Elbert Pol. 4952 4953 tests/test_files.sh | 2 +- 4954 1 file changed, 1 insertion(+), 1 deletion(-) 4955 4956commit d492b80ddd6f9a13419de6d102df7374d8f448e8 4957Author: Lasse Collin <lasse.collin@tukaani.org> 4958Date: 2010-10-10 16:49:01 +0300 4959 4960 lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t. 4961 4962 src/lzmainfo/lzmainfo.c | 2 +- 4963 1 file changed, 1 insertion(+), 1 deletion(-) 4964 4965commit 825e859a9054bd91202e5723c41a17e72f63040a 4966Author: Lasse Collin <lasse.collin@tukaani.org> 4967Date: 2010-10-10 16:47:01 +0300 4968 4969 lzmainfo: Use fileno(stdin) instead of STDIN_FILENO. 4970 4971 src/lzmainfo/lzmainfo.c | 2 +- 4972 1 file changed, 1 insertion(+), 1 deletion(-) 4973 4974commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8 4975Author: Lasse Collin <lasse.collin@tukaani.org> 4976Date: 2010-10-09 23:20:51 +0300 4977 4978 lzmainfo: Use setmode() on DOS-like systems. 4979 4980 src/lzmainfo/lzmainfo.c | 9 +++++++++ 4981 1 file changed, 9 insertions(+) 4982 4983commit ef364d3abc5647111c5424ea0d83a567e184a23b 4984Author: Lasse Collin <lasse.collin@tukaani.org> 4985Date: 2010-10-09 21:51:03 +0300 4986 4987 OS/2 and DOS: Be less verbose on signals. 4988 4989 Calling raise() to kill xz when user has pressed C-c 4990 is a bit verbose on OS/2 and DOS/DJGPP. Instead of 4991 calling raise(), set only the exit status to 1. 4992 4993 src/xz/signals.c | 7 +++++++ 4994 1 file changed, 7 insertions(+) 4995 4996commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a 4997Author: Lasse Collin <lasse.collin@tukaani.org> 4998Date: 2010-10-09 19:28:49 +0300 4999 5000 DOS: Update the Makefile, config.h and README. 5001 5002 This is now simpler and builds only xz.exe. 5003 5004 dos/Makefile | 211 +++++++++++++++-------------------------------------------- 5005 dos/README | 73 +++++++-------------- 5006 dos/config.h | 45 ++++--------- 5007 3 files changed, 86 insertions(+), 243 deletions(-) 5008 5009commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac 5010Author: Lasse Collin <lasse.collin@tukaani.org> 5011Date: 2010-10-09 18:57:55 +0300 5012 5013 Windows: Put some license info into README-Windows.txt. 5014 5015 windows/README-Windows.txt | 8 ++++---- 5016 1 file changed, 4 insertions(+), 4 deletions(-) 5017 5018commit e75100f549f85d231df25c07aa94d63e78e2d668 5019Author: Lasse Collin <lasse.collin@tukaani.org> 5020Date: 2010-10-09 18:57:04 +0300 5021 5022 Windows: Fix a diagnostics bug in build.bash. 5023 5024 windows/build.bash | 2 +- 5025 1 file changed, 1 insertion(+), 1 deletion(-) 5026 5027commit efeb998a2b1025df1c1d202cc7d21d866cd1c336 5028Author: Lasse Collin <lasse.collin@tukaani.org> 5029Date: 2010-10-09 13:02:15 +0300 5030 5031 lzmainfo: Add Windows resource file. 5032 5033 src/lzmainfo/Makefile.am | 9 +++++++++ 5034 src/lzmainfo/lzmainfo_w32res.rc | 12 ++++++++++++ 5035 2 files changed, 21 insertions(+) 5036 5037commit 389d418445f1623593dfdbba55d52fbb6d1205f5 5038Author: Lasse Collin <lasse.collin@tukaani.org> 5039Date: 2010-10-09 12:57:25 +0300 5040 5041 Add missing public domain notice to lzmadec_w32res.rc. 5042 5043 src/xzdec/lzmadec_w32res.rc | 7 +++++++ 5044 1 file changed, 7 insertions(+) 5045 5046commit 6389c773a4912dd9f111256d74ba1605230a7957 5047Author: Lasse Collin <lasse.collin@tukaani.org> 5048Date: 2010-10-09 12:52:12 +0300 5049 5050 Windows: Update common_w32res.rc. 5051 5052 src/common/common_w32res.rc | 9 +++------ 5053 1 file changed, 3 insertions(+), 6 deletions(-) 5054 5055commit 71275457ca24c9b01721f5cfc3638cf094daf454 5056Author: Lasse Collin <lasse.collin@tukaani.org> 5057Date: 2010-10-09 12:27:08 +0300 5058 5059 Windows: Make build.bash prefer MinGW-w32 over MinGW. 5060 5061 This is simply for licensing reasons. The 64-bit version 5062 will be built with MinGW-w64 anyway (at least for now), 5063 so using it also for 32-bit build allows using the same 5064 copyright notice about the MinGW-w64/w32 runtime. 5065 5066 Note that using MinGW would require a copyright notice too, 5067 because its runtime is not in the public domain either even 5068 though MinGW's home page claims that it is public domain. 5069 See <http://marc.info/?l=mingw-users&m=126489506214078>. 5070 5071 windows/build.bash | 18 +++++++++--------- 5072 1 file changed, 9 insertions(+), 9 deletions(-) 5073 5074commit 3ac35719d8433af937af6491383d4a50e343099b 5075Author: Lasse Collin <lasse.collin@tukaani.org> 5076Date: 2010-10-09 11:33:21 +0300 5077 5078 Windows: Copy COPYING-Windows.txt (if it exists) to the package. 5079 5080 Also, put README-Windows.txt to the doc directory like 5081 the other documentation files. 5082 5083 windows/build.bash | 14 ++++++++++++-- 5084 1 file changed, 12 insertions(+), 2 deletions(-) 5085 5086commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae 5087Author: Lasse Collin <lasse.collin@tukaani.org> 5088Date: 2010-10-08 21:42:37 +0300 5089 5090 Windows: Fix build.bash again. 5091 5092 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good. 5093 5094 windows/build.bash | 7 ++++--- 5095 1 file changed, 4 insertions(+), 3 deletions(-) 5096 5097commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd 5098Author: Lasse Collin <lasse.collin@tukaani.org> 5099Date: 2010-10-08 16:53:20 +0300 5100 5101 Use LZMA_VERSION_STRING instead of PACKAGE_VERSION. 5102 5103 Those are the same thing, and the former makes it a bit 5104 easier to build the code with other build systems, because 5105 one doesn't need to update the version number into custom 5106 config.h. 5107 5108 This change affects only lzmainfo. Other tools were already 5109 using LZMA_VERSION_STRING. 5110 5111 src/lzmainfo/lzmainfo.c | 2 +- 5112 1 file changed, 1 insertion(+), 1 deletion(-) 5113 5114commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f 5115Author: Lasse Collin <lasse.collin@tukaani.org> 5116Date: 2010-10-08 15:59:25 +0300 5117 5118 configure.ac: Remove two unused defines. 5119 5120 configure.ac | 4 ---- 5121 1 file changed, 4 deletions(-) 5122 5123commit 11f51b6714357cb67ec7e56ed9575c199b5581fe 5124Author: Lasse Collin <lasse.collin@tukaani.org> 5125Date: 2010-10-08 15:32:29 +0300 5126 5127 Make tests accommodate missing xz or xzdec. 5128 5129 tests/test_compress.sh | 47 ++++++++++++++++++++++++++++++----------------- 5130 tests/test_files.sh | 28 ++++++++++++++++++++++++++-- 5131 2 files changed, 56 insertions(+), 19 deletions(-) 5132 5133commit b1c7368f95e93ccdefdd0748e04398c26766f47f 5134Author: Lasse Collin <lasse.collin@tukaani.org> 5135Date: 2010-10-08 15:25:45 +0300 5136 5137 Build: Add options to disable individual command line tools. 5138 5139 configure.ac | 38 ++++++++++++++++++++++++++++++ 5140 src/Makefile.am | 15 +++++++++++- 5141 src/scripts/Makefile.am | 62 +++++++++++++++++++++---------------------------- 5142 src/xz/Makefile.am | 6 ++++- 5143 src/xzdec/Makefile.am | 12 ++++++++-- 5144 5 files changed, 93 insertions(+), 40 deletions(-) 5145 5146commit 630a8beda34af0ac153c8051b1bf01230558e422 5147Author: Lasse Collin <lasse.collin@tukaani.org> 5148Date: 2010-10-07 00:44:53 +0300 5149 5150 Windows: Make build.bash work without --enable-dynamic=no. 5151 5152 windows/build.bash | 4 ++-- 5153 1 file changed, 2 insertions(+), 2 deletions(-) 5154 5155commit f9907503f882a745dce9d84c2968f6c175ba966a 5156Author: Lasse Collin <lasse.collin@tukaani.org> 5157Date: 2010-10-05 14:13:16 +0300 5158 5159 Build: Remove the static/dynamic tricks. 5160 5161 Most distros want xz linked against shared liblzma, so 5162 it doesn't help much to require --enable-dynamic for that. 5163 Those who want to avoid PIC on x86-32 to get better 5164 performance, can still do it e.g. by using --disable-shared 5165 to compile xz and then another pass to compile shared liblzma. 5166 5167 Part of these static/dynamic tricks were needed for Windows 5168 in the past. Nowadays we rely on GCC and binutils to do the 5169 right thing with auto-import. If the Autotooled build system 5170 needs to support some other toolchain on Windows in the future, 5171 this may need some rethinking. 5172 5173 configure.ac | 74 ------------------------------------------------ 5174 debug/Makefile.am | 5 +--- 5175 src/lzmainfo/Makefile.am | 4 +-- 5176 src/xz/Makefile.am | 4 +-- 5177 src/xzdec/Makefile.am | 4 +-- 5178 tests/Makefile.am | 5 +--- 5179 6 files changed, 5 insertions(+), 91 deletions(-) 5180 5181commit fda4724d8114fccfa31c1839c15479f350c2fb4c 5182Author: Lasse Collin <lasse.collin@tukaani.org> 5183Date: 2010-10-05 12:18:58 +0300 5184 5185 configure.ac: Silence a warning from Autoconf 2.68. 5186 5187 configure.ac | 2 +- 5188 1 file changed, 1 insertion(+), 1 deletion(-) 5189 5190commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9 5191Author: Lasse Collin <lasse.collin@tukaani.org> 5192Date: 2010-10-04 19:43:01 +0300 5193 5194 A few more languages files to the xz man page. 5195 5196 Thanks to Jonathan Nieder. 5197 5198 src/xz/xz.1 | 45 ++++++++++++++++++++++++--------------------- 5199 1 file changed, 24 insertions(+), 21 deletions(-) 5200 5201commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb 5202Author: Lasse Collin <lasse.collin@tukaani.org> 5203Date: 2010-10-02 12:07:33 +0300 5204 5205 Update the FAQ. 5206 5207 doc/faq.txt | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 5208 1 file changed, 100 insertions(+), 4 deletions(-) 5209 5210commit 61ae593661e8dc402394e84d567ca2044a51572b 5211Author: Lasse Collin <lasse.collin@tukaani.org> 5212Date: 2010-10-02 11:38:20 +0300 5213 5214 liblzma: Small fixes to comments in the API headers. 5215 5216 src/liblzma/api/lzma/lzma.h | 10 +++++++--- 5217 1 file changed, 7 insertions(+), 3 deletions(-) 5218 5219commit 9166682dc601fd42c1b9510572e3f917d18de504 5220Author: Lasse Collin <lasse.collin@tukaani.org> 5221Date: 2010-09-28 11:40:12 +0300 5222 5223 Create the PDF versions of the man pages better. 5224 5225 Makefile.am | 14 +++++++------ 5226 build-aux/manconv.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5227 2 files changed, 66 insertions(+), 6 deletions(-) 5228 5229commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8 5230Author: Lasse Collin <lasse.collin@tukaani.org> 5231Date: 2010-09-28 10:59:53 +0300 5232 5233 Move version.sh to build-aux. 5234 5235 Makefile.am | 4 ++-- 5236 build-aux/version.sh | 24 ++++++++++++++++++++++++ 5237 configure.ac | 2 +- 5238 version.sh | 24 ------------------------ 5239 windows/build.bash | 2 +- 5240 5 files changed, 28 insertions(+), 28 deletions(-) 5241 5242commit 84af9d8770451339a692e9b70f96cf56156a6069 5243Author: Lasse Collin <lasse.collin@tukaani.org> 5244Date: 2010-09-28 10:53:02 +0300 5245 5246 Update .gitignore. 5247 5248 .gitignore | 10 +++++++++- 5249 1 file changed, 9 insertions(+), 1 deletion(-) 5250 5251commit 31575a449ac64c523da3bab8d0c0b522cdc7c780 5252Author: Lasse Collin <lasse.collin@tukaani.org> 5253Date: 2010-09-28 01:17:14 +0300 5254 5255 Fix accomodate -> accommodate on the xz man page. 5256 5257 src/xz/xz.1 | 2 +- 5258 1 file changed, 1 insertion(+), 1 deletion(-) 5259 5260commit cec0ddc8ec4ce81685a51998b978e22167e461f9 5261Author: Lasse Collin <lasse.collin@tukaani.org> 5262Date: 2010-09-27 23:29:34 +0300 5263 5264 Major man page updates. 5265 5266 Lots of content was updated on the xz man page. 5267 5268 Technical improvements: 5269 - Start a new sentence on a new line. 5270 - Use fairly short lines. 5271 - Use constant-width font for examples (where supported). 5272 - Some minor cleanups. 5273 5274 Thanks to Jonathan Nieder for some language fixes. 5275 5276 src/lzmainfo/lzmainfo.1 | 25 +- 5277 src/scripts/xzdiff.1 | 15 +- 5278 src/scripts/xzgrep.1 | 11 +- 5279 src/scripts/xzless.1 | 13 +- 5280 src/scripts/xzmore.1 | 9 +- 5281 src/xz/xz.1 | 1964 ++++++++++++++++++++++++++++++++--------------- 5282 src/xzdec/xzdec.1 | 39 +- 5283 7 files changed, 1435 insertions(+), 641 deletions(-) 5284 5285commit 075257ab0416a0603be930082e31a5703e4ba345 5286Author: Lasse Collin <lasse.collin@tukaani.org> 5287Date: 2010-09-26 18:10:31 +0300 5288 5289 Fix the preset -3e. 5290 5291 depth=0 was missing. 5292 5293 src/liblzma/lzma/lzma_encoder_presets.c | 1 + 5294 1 file changed, 1 insertion(+) 5295 5296commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1 5297Author: Lasse Collin <lasse.collin@tukaani.org> 5298Date: 2010-09-23 14:03:10 +0300 5299 5300 Add translations.bash and translation notes to README. 5301 5302 translations.bash prints some messages from xz, which 5303 hopefully makes it a bit easier to test translations. 5304 5305 README | 96 +++++++++++++++++++++++++++++++++++++++++++++-- 5306 debug/translation.bash | 100 +++++++++++++++++++++++++++++++++++++++++++++++++ 5307 2 files changed, 192 insertions(+), 4 deletions(-) 5308 5309commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23 5310Author: Lasse Collin <lasse.collin@tukaani.org> 5311Date: 2010-09-17 22:14:30 +0300 5312 5313 xz: Update the Czech translation. 5314 5315 Thanks to Marek Černocký. 5316 5317 po/cs.po | 202 +++++++++++++++++++++++++++++++++++++++++---------------------- 5318 1 file changed, 131 insertions(+), 71 deletions(-) 5319 5320commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6 5321Author: Lasse Collin <lasse.collin@tukaani.org> 5322Date: 2010-09-16 23:40:41 +0300 5323 5324 xz: Add Italian translation. 5325 5326 Thanks to Milo Casagrande and Lorenzo De Liso. 5327 5328 THANKS | 2 + 5329 po/LINGUAS | 1 + 5330 po/it.po | 902 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5331 3 files changed, 905 insertions(+) 5332 5333commit 21088018554e2b0e02914205377ceb6e34a090bd 5334Author: Lasse Collin <lasse.collin@tukaani.org> 5335Date: 2010-09-15 00:34:13 +0300 5336 5337 xz: Edit a translators comment. 5338 5339 src/xz/list.c | 2 +- 5340 1 file changed, 1 insertion(+), 1 deletion(-) 5341 5342commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6 5343Author: Lasse Collin <lasse.collin@tukaani.org> 5344Date: 2010-09-14 22:47:14 +0300 5345 5346 xz: Add German translation. 5347 5348 Thanks to Andre Noll. 5349 5350 THANKS | 1 + 5351 po/LINGUAS | 1 + 5352 po/de.po | 903 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5353 3 files changed, 905 insertions(+) 5354 5355commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b 5356Author: Lasse Collin <lasse.collin@tukaani.org> 5357Date: 2010-09-10 14:30:25 +0300 5358 5359 Updated README. 5360 5361 README | 2 -- 5362 1 file changed, 2 deletions(-) 5363 5364commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71 5365Author: Lasse Collin <lasse.collin@tukaani.org> 5366Date: 2010-09-10 14:30:07 +0300 5367 5368 Updated INSTALL. 5369 5370 INSTALL | 7 ++++--- 5371 1 file changed, 4 insertions(+), 3 deletions(-) 5372 5373commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2 5374Author: Lasse Collin <lasse.collin@tukaani.org> 5375Date: 2010-09-10 14:26:20 +0300 5376 5377 Updated the git repository address in ChangeLog. 5378 5379 ChangeLog | 2 +- 5380 1 file changed, 1 insertion(+), 1 deletion(-) 5381 5382commit a8760203f93a69bc39fd14520a6e9e7b7d70be06 5383Author: Lasse Collin <lasse.collin@tukaani.org> 5384Date: 2010-09-10 14:09:33 +0300 5385 5386 xz: Add a comment to translators about "literal context bits". 5387 5388 src/xz/message.c | 4 ++++ 5389 1 file changed, 4 insertions(+) 5390 5391commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5 5392Author: Lasse Collin <lasse.collin@tukaani.org> 5393Date: 2010-09-10 10:30:33 +0300 5394 5395 xz: Multiple fixes. 5396 5397 The code assumed that printing numbers with thousand separators 5398 and decimal points would always produce only US-ASCII characters. 5399 This was used for buffer sizes (with snprintf(), no overflows) 5400 and aligning columns of the progress indicator and --list. That 5401 assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so 5402 multibyte character support was added in this commit. The old 5403 way is used if the operating system doesn't have enough multibyte 5404 support (e.g. lacks wcwidth()). 5405 5406 The sizes of buffers were increased to accomodate multibyte 5407 characters. I don't know how big they should be exactly, but 5408 they aren't used for anything critical, so it's not too bad. 5409 If they still aren't big enough, I hopefully get a bug report. 5410 snprintf() takes care of avoiding buffer overflows. 5411 5412 Some static buffers were replaced with buffers allocated on 5413 stack. double_to_str() was removed. uint64_to_str() and 5414 uint64_to_nicestr() now share the static buffer and test 5415 for thousand separator support. 5416 5417 Integrity check names "None" and "Unknown-N" (2 <= N <= 15) 5418 were marked to be translated. I had forgot these, plus they 5419 wouldn't have worked correctly anyway before this commit, 5420 because printing tables with multibyte strings didn't work. 5421 5422 Thanks to Marek Černocký for reporting the bug about 5423 misaligned table columns in --list output. 5424 5425 configure.ac | 1 + 5426 m4/tuklib_mbstr.m4 | 30 ++++++ 5427 src/common/tuklib_mbstr.h | 66 +++++++++++++ 5428 src/common/tuklib_mbstr_fw.c | 31 ++++++ 5429 src/common/tuklib_mbstr_width.c | 64 +++++++++++++ 5430 src/xz/Makefile.am | 4 +- 5431 src/xz/list.c | 205 +++++++++++++++++++++++++++------------- 5432 src/xz/message.c | 56 +++++++---- 5433 src/xz/message.h | 10 +- 5434 src/xz/private.h | 1 + 5435 src/xz/util.c | 136 +++++++++----------------- 5436 src/xz/util.h | 7 -- 5437 12 files changed, 424 insertions(+), 187 deletions(-) 5438 5439commit 639f8e2af33cf8a184d59ba56b6df7c098679d61 5440Author: Lasse Collin <lasse.collin@tukaani.org> 5441Date: 2010-09-08 08:49:22 +0300 5442 5443 Update the Czech translation. 5444 5445 Thanks to Marek Černocký. 5446 5447 po/cs.po | 655 +++++++++++++++++++++++++++++++++++++++++++-------------------- 5448 1 file changed, 454 insertions(+), 201 deletions(-) 5449 5450commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7 5451Author: Lasse Collin <lasse.collin@tukaani.org> 5452Date: 2010-09-07 12:31:40 +0300 5453 5454 xz: Add a note to translators. 5455 5456 src/xz/hardware.c | 2 ++ 5457 1 file changed, 2 insertions(+) 5458 5459commit 77a7746616e555fc08028e883a56d06bf0088b81 5460Author: Lasse Collin <lasse.collin@tukaani.org> 5461Date: 2010-09-07 10:42:13 +0300 5462 5463 Fix use of N_() and ngettext(). 5464 5465 I had somehow thought that N_() is usually used 5466 as shorthand for ngettext(). 5467 5468 This also fixes a missing \n from a call to ngettext(). 5469 5470 src/common/tuklib_gettext.h | 4 ++-- 5471 src/xz/list.c | 4 ++-- 5472 2 files changed, 4 insertions(+), 4 deletions(-) 5473 5474commit e6ad39335842343e622ab51207d1d3cb9caad801 5475Author: Lasse Collin <lasse.collin@tukaani.org> 5476Date: 2010-09-06 19:43:12 +0300 5477 5478 Add missing files to POTFILES.in. 5479 5480 po/POTFILES.in | 3 +++ 5481 1 file changed, 3 insertions(+) 5482 5483commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30 5484Author: Lasse Collin <lasse.collin@tukaani.org> 5485Date: 2010-09-06 10:16:24 +0300 5486 5487 xz: Improve a comment. 5488 5489 src/xz/file_io.c | 7 ++++--- 5490 1 file changed, 4 insertions(+), 3 deletions(-) 5491 5492commit bcb1b898341f7073f51660d7052d7ed6c5461a66 5493Author: Lasse Collin <lasse.collin@tukaani.org> 5494Date: 2010-09-05 21:34:29 +0300 5495 5496 xz: Update the comment about NetBSD in file_io.c. 5497 5498 Thanks to Joerg Sonnenberger. 5499 5500 src/xz/file_io.c | 8 ++++---- 5501 1 file changed, 4 insertions(+), 4 deletions(-) 5502 5503commit da014d55972f5addbf6b4360d3d8ed2ef4282170 5504Author: Lasse Collin <lasse.collin@tukaani.org> 5505Date: 2010-09-05 21:11:33 +0300 5506 5507 xz: Use an array instead of pointer for stdin_filename. 5508 5509 Thanks Joerg Sonnenberger. 5510 5511 src/xz/args.c | 2 +- 5512 src/xz/args.h | 2 +- 5513 2 files changed, 2 insertions(+), 2 deletions(-) 5514 5515commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee 5516Author: Lasse Collin <lasse.collin@tukaani.org> 5517Date: 2010-09-05 12:16:17 +0300 5518 5519 xz: Hopefully ease translating the messages in list.c. 5520 5521 src/xz/list.c | 33 +++++++++++++++++++++++---------- 5522 1 file changed, 23 insertions(+), 10 deletions(-) 5523 5524commit ef840950ad99cf2955c754875af0e01acf125079 5525Author: Lasse Collin <lasse.collin@tukaani.org> 5526Date: 2010-09-04 23:14:44 +0300 5527 5528 xz: Fix grammar. 5529 5530 src/xz/options.c | 3 +-- 5531 1 file changed, 1 insertion(+), 2 deletions(-) 5532 5533commit c46afd6edc04ea140db6c59e8486f5707c810c13 5534Author: Lasse Collin <lasse.collin@tukaani.org> 5535Date: 2010-09-04 23:12:20 +0300 5536 5537 xz: Use lzma_lzma_preset() to initialize the options structure. 5538 5539 src/xz/options.c | 14 ++------------ 5540 1 file changed, 2 insertions(+), 12 deletions(-) 5541 5542commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065 5543Author: Lasse Collin <lasse.collin@tukaani.org> 5544Date: 2010-09-04 22:16:28 +0300 5545 5546 Don't set lc=4 with --extreme. 5547 5548 This should reduce the cases where --extreme makes 5549 compression worse. On the other hand, some other 5550 files may now benefit slightly less from --extreme. 5551 5552 src/liblzma/lzma/lzma_encoder_presets.c | 1 - 5553 1 file changed, 1 deletion(-) 5554 5555commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b 5556Author: Lasse Collin <lasse.collin@tukaani.org> 5557Date: 2010-09-04 22:10:32 +0300 5558 5559 xz: Minor improvements to --help and --long-help. 5560 5561 src/xz/message.c | 24 ++++++++++++------------ 5562 1 file changed, 12 insertions(+), 12 deletions(-) 5563 5564commit 373ee26f955617295c5c537b04a153a1969140d2 5565Author: Jonathan Nieder <jrnieder@gmail.com> 5566Date: 2010-09-03 16:49:15 -0500 5567 5568 Adjust memory limits in test_compress.sh 5569 5570 Testing compression at level -4 now requires 48 MiB of free store at 5571 compression time and 5 MiB at decompression time. 5572 5573 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 5574 5575 tests/test_compress.sh | 2 +- 5576 1 file changed, 1 insertion(+), 1 deletion(-) 5577 5578commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087 5579Author: Lasse Collin <lasse.collin@tukaani.org> 5580Date: 2010-09-03 15:54:40 +0300 5581 5582 xz: Make -vv show also decompressor memory usage. 5583 5584 src/xz/coder.c | 7 +++++++ 5585 1 file changed, 7 insertions(+) 5586 5587commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6 5588Author: Lasse Collin <lasse.collin@tukaani.org> 5589Date: 2010-09-03 15:13:12 +0300 5590 5591 Tweak the compression presets -0 .. -5. 5592 5593 "Extreme" mode might need some further tweaking still. 5594 Docs were not updated yet. 5595 5596 src/liblzma/lzma/lzma_encoder_presets.c | 29 +++++++++++++++++++---------- 5597 1 file changed, 19 insertions(+), 10 deletions(-) 5598 5599commit 77fe5954cd3d10fb1837372684cbc133b56b6a87 5600Author: Lasse Collin <lasse.collin@tukaani.org> 5601Date: 2010-09-03 12:28:41 +0300 5602 5603 liblzma: Adjust default depth calculation for HC3 and HC4. 5604 5605 It was 8 + nice_len / 4, now it is 4 + nice_len / 4. 5606 This allows faster settings at lower nice_len values, 5607 even though it seems that I won't use automatic depth 5608 calcuation with HC3 and HC4 in the presets. 5609 5610 src/liblzma/lz/lz_encoder.c | 7 ++++--- 5611 1 file changed, 4 insertions(+), 3 deletions(-) 5612 5613commit fce69059cf901ce8075a78c7607d591f144a3b5a 5614Author: Lasse Collin <lasse.collin@tukaani.org> 5615Date: 2010-09-03 11:11:25 +0300 5616 5617 xz: Make --help two lines shorter. 5618 5619 At least for now, the --help option doesn't list any 5620 options that take arguments, so "Mandatory arguments to..." 5621 can be omitted. 5622 5623 src/xz/message.c | 7 +++++-- 5624 1 file changed, 5 insertions(+), 2 deletions(-) 5625 5626commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298 5627Author: Lasse Collin <lasse.collin@tukaani.org> 5628Date: 2010-09-02 19:22:35 +0300 5629 5630 xz: Make setting a preset override a custom filter chain. 5631 5632 This is more logical behavior than ignoring preset level 5633 options once a custom filter chain has been specified. 5634 5635 src/xz/coder.c | 9 +++++++++ 5636 1 file changed, 9 insertions(+) 5637 5638commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3 5639Author: Lasse Collin <lasse.collin@tukaani.org> 5640Date: 2010-09-02 19:09:57 +0300 5641 5642 xz: Always warn if adjusting dictionary size due to memlimit. 5643 5644 src/xz/coder.c | 28 +++++++++------------------- 5645 1 file changed, 9 insertions(+), 19 deletions(-) 5646 5647commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d 5648Author: Lasse Collin <lasse.collin@tukaani.org> 5649Date: 2010-08-10 11:04:30 +0300 5650 5651 Fix test_compress.sh. 5652 5653 It broke when --memory option was removed from xzdec. 5654 5655 Thanks to Jonathan Nieder. 5656 5657 tests/test_compress.sh | 6 +++--- 5658 1 file changed, 3 insertions(+), 3 deletions(-) 5659 5660commit 792331bdee706aa852a78b171040ebf814c6f3ae 5661Author: Lasse Collin <lasse.collin@tukaani.org> 5662Date: 2010-08-07 20:45:18 +0300 5663 5664 Disable the memory usage limiter by default. 5665 5666 For several people, the limiter causes bigger problems that 5667 it solves, so it is better to have it disabled by default. 5668 Those who want to have a limiter by default need to enable 5669 it via the environment variable XZ_DEFAULTS. 5670 5671 Support for environment variable XZ_DEFAULTS was added. It is 5672 parsed before XZ_OPT and technically identical with it. The 5673 intended uses differ quite a bit though; see the man page. 5674 5675 The memory usage limit can now be set separately for 5676 compression and decompression using --memlimit-compress and 5677 --memlimit-decompress. To set both at once, -M or --memlimit 5678 can be used. --memory was retained as a legacy alias for 5679 --memlimit for backwards compatibility. 5680 5681 The semantics of --info-memory were changed in backwards 5682 incompatible way. Compatibility wasn't meaningful due to 5683 changes in the memory usage limiter functionality. 5684 5685 The memory usage limiter info is no longer shown at the 5686 bottom of xz --long -help. 5687 5688 The memory usage limiter support for removed completely from xzdec. 5689 5690 xz's man page was updated to match the above changes. Various 5691 unrelated fixes were also made to the man page. 5692 5693 src/xz/args.c | 87 +++++++++----- 5694 src/xz/coder.c | 8 +- 5695 src/xz/hardware.c | 96 +++++++++------ 5696 src/xz/hardware.h | 23 ++-- 5697 src/xz/list.c | 2 +- 5698 src/xz/message.c | 39 ++----- 5699 src/xz/message.h | 4 - 5700 src/xz/xz.1 | 341 ++++++++++++++++++++++++++++++++++-------------------- 5701 src/xzdec/xzdec.1 | 45 +------ 5702 src/xzdec/xzdec.c | 176 +--------------------------- 5703 10 files changed, 373 insertions(+), 448 deletions(-) 5704 5705commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801 5706Author: Lasse Collin <lasse.collin@tukaani.org> 5707Date: 2010-08-06 20:22:16 +0300 5708 5709 Add missing const to a global constant in xz. 5710 5711 src/xz/args.c | 2 +- 5712 src/xz/args.h | 2 +- 5713 2 files changed, 2 insertions(+), 2 deletions(-) 5714 5715commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f 5716Author: Lasse Collin <lasse.collin@tukaani.org> 5717Date: 2010-07-28 11:44:55 +0300 5718 5719 Language fixes for man pages. 5720 5721 Thanks to A. Costa and Jonathan Nieder. 5722 5723 src/lzmainfo/lzmainfo.1 | 4 ++-- 5724 src/xz/xz.1 | 6 +++--- 5725 2 files changed, 5 insertions(+), 5 deletions(-) 5726 5727commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b 5728Author: Lasse Collin <lasse.collin@tukaani.org> 5729Date: 2010-07-27 20:47:12 +0300 5730 5731 Windows: Add a note about building a Git repository snapshot 5732 5733 windows/INSTALL-Windows.txt | 9 +++++++++ 5734 1 file changed, 9 insertions(+) 5735 5736commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38 5737Author: Lasse Collin <lasse.collin@tukaani.org> 5738Date: 2010-07-27 20:45:03 +0300 5739 5740 Windows: build.sh is a bash script so name it correctly. 5741 5742 INSTALL | 2 +- 5743 windows/INSTALL-Windows.txt | 6 +- 5744 windows/build.bash | 189 ++++++++++++++++++++++++++++++++++++++++++++ 5745 windows/build.sh | 189 -------------------------------------------- 5746 4 files changed, 193 insertions(+), 193 deletions(-) 5747 5748commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339 5749Author: Lasse Collin <lasse.collin@tukaani.org> 5750Date: 2010-07-27 20:27:32 +0300 5751 5752 Windows: Don't strip liblzma.a too much. 5753 5754 windows/build.sh | 3 ++- 5755 1 file changed, 2 insertions(+), 1 deletion(-) 5756 5757commit a540198ffb25fad36380c5e92ac20c2d28eec46a 5758Author: Lasse Collin <lasse.collin@tukaani.org> 5759Date: 2010-07-13 20:07:26 +0300 5760 5761 Updated THANKS. 5762 5763 THANKS | 1 + 5764 1 file changed, 1 insertion(+) 5765 5766commit bab0f01ed931f606b4675aa9f9331a17cec09bad 5767Author: Lasse Collin <lasse.collin@tukaani.org> 5768Date: 2010-07-13 19:55:50 +0300 5769 5770 Add two simple example programs. 5771 5772 Hopefully these help a bit when learning the basics 5773 of liblzma API. I plan to write detailed examples about 5774 both basic and advanced features with lots of comments, 5775 but these two examples are good have right now. 5776 5777 The examples were written by Daniel Mealha Cabrita. Thanks. 5778 5779 doc/examples/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++++++ 5780 doc/examples/xz_pipe_decomp.c | 115 ++++++++++++++++++++++++++++++++++++++ 5781 2 files changed, 242 insertions(+) 5782 5783commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00 5784Author: Lasse Collin <lasse.collin@tukaani.org> 5785Date: 2010-06-15 14:06:29 +0300 5786 5787 Add --no-adjust. 5788 5789 src/xz/args.c | 6 ++++++ 5790 src/xz/coder.c | 8 ++------ 5791 src/xz/coder.h | 4 ++++ 5792 src/xz/message.c | 6 +++++- 5793 src/xz/xz.1 | 13 +++++++++++-- 5794 5 files changed, 28 insertions(+), 9 deletions(-) 5795 5796commit 2130926dd1c839280358172dfadd8d3054bde2b4 5797Author: Lasse Collin <lasse.collin@tukaani.org> 5798Date: 2010-06-11 21:51:32 +0300 5799 5800 Updated THANKS. 5801 5802 THANKS | 1 + 5803 1 file changed, 1 insertion(+) 5804 5805commit bc612d0e0c9e4504c59d49168e87a7ae3e458443 5806Author: Lasse Collin <lasse.collin@tukaani.org> 5807Date: 2010-06-11 21:48:32 +0300 5808 5809 Clarify the description of the default memlimit in the man page. 5810 5811 Thanks to Denis Excoffier. 5812 5813 src/xz/xz.1 | 4 ++-- 5814 1 file changed, 2 insertions(+), 2 deletions(-) 5815 5816commit e1b6935d60a00405e6b5b455a3426d2248cc926c 5817Author: Lasse Collin <lasse.collin@tukaani.org> 5818Date: 2010-06-11 21:43:28 +0300 5819 5820 Fix string to uint64_t conversion. 5821 5822 Thanks to Denis Excoffier for the bug report. 5823 5824 src/xz/util.c | 10 ++++++++-- 5825 src/xzdec/xzdec.c | 13 +++++++++++-- 5826 2 files changed, 19 insertions(+), 4 deletions(-) 5827 5828commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0 5829Author: Lasse Collin <lasse.collin@tukaani.org> 5830Date: 2010-06-11 10:40:28 +0300 5831 5832 Put the git commit to the filename in mydist rule. 5833 5834 Makefile.am | 6 +++++- 5835 1 file changed, 5 insertions(+), 1 deletion(-) 5836 5837commit d8b41eedce486d400f701b757b7b5e4e32276618 5838Author: Lasse Collin <lasse.collin@tukaani.org> 5839Date: 2010-06-02 23:13:55 +0300 5840 5841 Fix compiling with -Werror. 5842 5843 src/xz/message.c | 4 ++-- 5844 1 file changed, 2 insertions(+), 2 deletions(-) 5845 5846commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8 5847Author: Lasse Collin <lasse.collin@tukaani.org> 5848Date: 2010-06-02 23:09:22 +0300 5849 5850 Silence a bogus Valgrind warning. 5851 5852 When using -O2 with GCC, it liked to swap two comparisons 5853 in one "if" statement. It's otherwise fine except that 5854 the latter part, which is seemingly never executed, got 5855 executed (nothing wrong with that) and then triggered 5856 warning in Valgrind about conditional jump depending on 5857 uninitialized variable. A few people find this annoying 5858 so do things a bit differently to avoid the warning. 5859 5860 src/liblzma/lz/lz_encoder.c | 6 +++++- 5861 1 file changed, 5 insertions(+), 1 deletion(-) 5862 5863commit 29a7b250e685852f2f97615493ec49acaf528623 5864Author: Lasse Collin <lasse.collin@tukaani.org> 5865Date: 2010-06-02 21:32:12 +0300 5866 5867 Fix a Windows-specific FIXME in signal handling code. 5868 5869 src/xz/main.c | 40 +++++++++++++++++++++++++++++++++++----- 5870 src/xz/private.h | 5 +++++ 5871 src/xz/signals.c | 16 ++++++++-------- 5872 3 files changed, 48 insertions(+), 13 deletions(-) 5873 5874commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d 5875Author: Lasse Collin <lasse.collin@tukaani.org> 5876Date: 2010-06-02 17:46:58 +0300 5877 5878 Adjust SA_RESTART workaround. 5879 5880 I want to get a bug report if something else than 5881 DJGPP lacks SA_RESTART. 5882 5883 src/xz/message.c | 14 +++++++------- 5884 1 file changed, 7 insertions(+), 7 deletions(-) 5885 5886commit e243145c84ab5c3be8259fd486ead0de5235b3f0 5887Author: Lasse Collin <lasse.collin@tukaani.org> 5888Date: 2010-06-01 16:02:30 +0300 5889 5890 xz man page updates. 5891 5892 - Concatenating .xz files and padding 5893 - List mode 5894 - Robot mode 5895 - A few examples (but many more are needed) 5896 5897 src/xz/xz.1 | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 5898 1 file changed, 366 insertions(+), 19 deletions(-) 5899 5900commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562 5901Author: Lasse Collin <lasse.collin@tukaani.org> 5902Date: 2010-06-01 15:51:44 +0300 5903 5904 Major update to xz --list. 5905 5906 src/xz/list.c | 652 ++++++++++++++++++++++++++++++++++++++++++---------------- 5907 1 file changed, 471 insertions(+), 181 deletions(-) 5908 5909commit 905e54804a899e4ad526d38fdba7e803ab9b71bd 5910Author: Lasse Collin <lasse.collin@tukaani.org> 5911Date: 2010-06-01 14:13:03 +0300 5912 5913 Rename message_filters_get() to message_filters_to_str(). 5914 5915 src/xz/message.c | 4 ++-- 5916 src/xz/message.h | 2 +- 5917 2 files changed, 3 insertions(+), 3 deletions(-) 5918 5919commit 4b346ae8af20045027ae5efb068c6d69da3324d2 5920Author: Lasse Collin <lasse.collin@tukaani.org> 5921Date: 2010-06-01 14:09:12 +0300 5922 5923 Fix a comment. 5924 5925 src/liblzma/api/lzma/index.h | 2 +- 5926 1 file changed, 1 insertion(+), 1 deletion(-) 5927 5928commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296 5929Author: Lasse Collin <lasse.collin@tukaani.org> 5930Date: 2010-05-27 16:17:42 +0300 5931 5932 Fix lzma_block_compressed_size(). 5933 5934 src/liblzma/common/block_util.c | 6 +++--- 5935 1 file changed, 3 insertions(+), 3 deletions(-) 5936 5937commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593 5938Author: Lasse Collin <lasse.collin@tukaani.org> 5939Date: 2010-05-27 14:32:51 +0300 5940 5941 Take Cygwin into account in some #if lines. 5942 5943 This change is no-op, but good to have just in case 5944 for the future. 5945 5946 src/xz/signals.c | 2 +- 5947 src/xz/signals.h | 4 ++-- 5948 2 files changed, 3 insertions(+), 3 deletions(-) 5949 5950commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7 5951Author: Lasse Collin <lasse.collin@tukaani.org> 5952Date: 2010-05-27 13:42:44 +0300 5953 5954 Remove references to the Subblock filter in xz and tests. 5955 5956 Thanks to Jonathan Nieder. 5957 5958 src/xz/message.c | 9 --------- 5959 tests/test_filter_flags.c | 23 ----------------------- 5960 2 files changed, 32 deletions(-) 5961 5962commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893 5963Author: Lasse Collin <lasse.collin@tukaani.org> 5964Date: 2010-05-27 13:35:36 +0300 5965 5966 Remove unused chunk_size.c. 5967 5968 Thanks to Jonathan Nieder for the reminder. 5969 5970 src/liblzma/common/chunk_size.c | 67 ----------------------------------------- 5971 1 file changed, 67 deletions(-) 5972 5973commit 01a414eaf4be6352c06b48001b041b47e8202faa 5974Author: Jonathan Nieder <jrnieder@gmail.com> 5975Date: 2010-05-27 02:31:33 -0500 5976 5977 Use my_min() instead of MIN() in src/xz/list.c 5978 5979 This should have been done in 5980 920a69a8d8e4203c5edddd829d932130eac188ea. 5981 5982 src/xz/list.c | 2 +- 5983 1 file changed, 1 insertion(+), 1 deletion(-) 5984 5985commit 920a69a8d8e4203c5edddd829d932130eac188ea 5986Author: Lasse Collin <lasse.collin@tukaani.org> 5987Date: 2010-05-26 10:36:46 +0300 5988 5989 Rename MIN() and MAX() to my_min() and my_max(). 5990 5991 This should avoid some minor portability issues. 5992 5993 debug/full_flush.c | 2 +- 5994 debug/sync_flush.c | 2 +- 5995 src/common/sysdefs.h | 12 +++++------- 5996 src/liblzma/common/block_buffer_encoder.c | 2 +- 5997 src/liblzma/common/common.c | 2 +- 5998 src/liblzma/common/stream_buffer_encoder.c | 2 +- 5999 src/liblzma/delta/delta_encoder.c | 2 +- 6000 src/liblzma/lz/lz_decoder.c | 7 ++++--- 6001 src/liblzma/lz/lz_decoder.h | 2 +- 6002 src/liblzma/lz/lz_encoder.c | 2 +- 6003 src/liblzma/lz/lz_encoder.h | 2 +- 6004 src/liblzma/lz/lz_encoder_mf.c | 4 ++-- 6005 src/liblzma/lzma/lzma2_encoder.c | 2 +- 6006 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 6007 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 14 +++++++------- 6008 src/xz/args.c | 3 ++- 6009 16 files changed, 31 insertions(+), 31 deletions(-) 6010 6011commit 019ae27c24d0c694545a6a46f8b9fb552198b015 6012Author: Lasse Collin <lasse.collin@tukaani.org> 6013Date: 2010-05-26 10:30:20 +0300 6014 6015 Fix compilation of debug/known_sizes.c. 6016 6017 debug/known_sizes.c | 2 +- 6018 1 file changed, 1 insertion(+), 1 deletion(-) 6019 6020commit 98a4856a6ea84f79c790057a6eb89a25bc45b074 6021Author: Lasse Collin <lasse.collin@tukaani.org> 6022Date: 2010-05-26 10:28:54 +0300 6023 6024 Remove references to Subblock filter in debug/sync_flush.c. 6025 6026 debug/sync_flush.c | 13 ------------- 6027 1 file changed, 13 deletions(-) 6028 6029commit 703d2c33c095c41ae0693ee8c27c45e3847e4535 6030Author: Lasse Collin <lasse.collin@tukaani.org> 6031Date: 2010-05-26 10:16:57 +0300 6032 6033 Better #error message. 6034 6035 src/common/sysdefs.h | 4 ++-- 6036 1 file changed, 2 insertions(+), 2 deletions(-) 6037 6038commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0 6039Author: Lasse Collin <lasse.collin@tukaani.org> 6040Date: 2010-05-26 09:55:47 +0300 6041 6042 Remove the Subblock filter code for now. 6043 6044 The spec isn't finished and the code didn't compile anymore. 6045 It won't be included in XZ Utils 5.0.0. It's easy to get it 6046 back once the spec is done. 6047 6048 configure.ac | 6 +- 6049 src/liblzma/Makefile.am | 5 - 6050 src/liblzma/api/Makefile.am | 1 - 6051 src/liblzma/api/lzma.h | 1 - 6052 src/liblzma/api/lzma/subblock.h | 200 ----- 6053 src/liblzma/common/common.h | 6 - 6054 src/liblzma/common/filter_common.c | 9 - 6055 src/liblzma/common/filter_decoder.c | 16 - 6056 src/liblzma/common/filter_encoder.c | 12 - 6057 src/liblzma/subblock/Makefile.inc | 20 - 6058 src/liblzma/subblock/subblock_decoder.c | 630 ---------------- 6059 src/liblzma/subblock/subblock_decoder.h | 22 - 6060 src/liblzma/subblock/subblock_decoder_helper.c | 70 -- 6061 src/liblzma/subblock/subblock_decoder_helper.h | 29 - 6062 src/liblzma/subblock/subblock_encoder.c | 984 ------------------------- 6063 src/liblzma/subblock/subblock_encoder.h | 21 - 6064 src/xz/args.c | 9 +- 6065 src/xz/options.c | 61 -- 6066 src/xz/options.h | 7 - 6067 19 files changed, 4 insertions(+), 2105 deletions(-) 6068 6069commit b6377fc990f9b8651149cae0fecb8b9c5904e26d 6070Author: Lasse Collin <lasse.collin@tukaani.org> 6071Date: 2010-05-16 18:42:22 +0300 6072 6073 Split message_filters(). 6074 6075 message_filters_to_str() converts the filter chain to 6076 a string. message_filters_show() replaces the original 6077 message_filters(). 6078 6079 uint32_to_optstr() was also added to show the dictionary 6080 size in nicer format when possible. 6081 6082 src/xz/coder.c | 2 +- 6083 src/xz/message.c | 187 +++++++++++++++++++++++++++++++++++-------------------- 6084 src/xz/message.h | 14 ++++- 6085 3 files changed, 134 insertions(+), 69 deletions(-) 6086 6087commit d9986db782d6cf0f314342127280519339378fa0 6088Author: Lasse Collin <lasse.collin@tukaani.org> 6089Date: 2010-05-14 23:17:20 +0300 6090 6091 Omit lzma_restrict from the API headers. 6092 6093 It isn't really useful so omitting it makes things 6094 shorter and slightly more readable. 6095 6096 src/liblzma/api/lzma.h | 12 ------------ 6097 src/liblzma/api/lzma/index.h | 5 ++--- 6098 src/liblzma/api/lzma/vli.h | 11 +++++------ 6099 3 files changed, 7 insertions(+), 21 deletions(-) 6100 6101commit 0d3489efca0a723dca0394809fa3e6170843af4b 6102Author: Lasse Collin <lasse.collin@tukaani.org> 6103Date: 2010-05-10 19:57:24 +0300 6104 6105 Updated INSTALL. 6106 6107 INSTALL | 5 ----- 6108 1 file changed, 5 deletions(-) 6109 6110commit 3fb3d594a2b53886adee161b6261e92277f05f7c 6111Author: Lasse Collin <lasse.collin@tukaani.org> 6112Date: 2010-05-10 19:54:52 +0300 6113 6114 Updated THANKS. 6115 6116 THANKS | 1 + 6117 1 file changed, 1 insertion(+) 6118 6119commit 6548e304657e77d3a972053db3c41c5daf591113 6120Author: Lasse Collin <lasse.collin@tukaani.org> 6121Date: 2010-05-10 19:54:15 +0300 6122 6123 Updates to tuklib_physmem and tuklib_cpucores. 6124 6125 Don't use #error to generate compile error, because some 6126 compilers actually don't take it as an error. This fixes 6127 tuklib_physmem on IRIX. 6128 6129 Fix incorrect error check for sysconf() return values. 6130 6131 Add AIX, HP-UX, and Tru64 specific code to detect the 6132 amount RAM. 6133 6134 Add HP-UX specific code to detect the number of CPU cores. 6135 6136 Thanks a lot to Peter O'Gorman for initial patches, 6137 testing, and debugging these fixes. 6138 6139 m4/tuklib_cpucores.m4 | 33 ++++++++++++++++---- 6140 m4/tuklib_physmem.m4 | 72 ++++++++++++++++++++++++++++++++++++++++++-- 6141 src/common/tuklib_cpucores.c | 14 +++++++-- 6142 src/common/tuklib_physmem.c | 33 +++++++++++++++++++- 6143 4 files changed, 141 insertions(+), 11 deletions(-) 6144 6145commit a290cfee3e23f046889c022aa96b4eca2016fdda 6146Author: Lasse Collin <lasse.collin@tukaani.org> 6147Date: 2010-04-12 21:55:56 +0300 6148 6149 Show both elapsed time and estimated remaining time in xz -v. 6150 6151 The extra space for showing both has been taken from the 6152 sizes field. If the sizes grow big, bigger units than MiB 6153 will be used. It makes it slightly difficult to see that 6154 progress is still happening with huge files, but it should 6155 be OK in practice. 6156 6157 Thanks to Trent W. Buck for <http://bugs.debian.org/574583> 6158 and Jonathan Nieder for suggestions how to fix it. 6159 6160 THANKS | 1 + 6161 src/xz/message.c | 86 +++++++++++++++++++++++++------------------------------- 6162 2 files changed, 39 insertions(+), 48 deletions(-) 6163 6164commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e 6165Author: Lasse Collin <lasse.collin@tukaani.org> 6166Date: 2010-03-31 16:47:25 +0300 6167 6168 Add a simple tip to faq.txt about tar and xz. 6169 6170 Thanks to Gilles Espinasse. 6171 6172 THANKS | 1 + 6173 doc/faq.txt | 6 ++++++ 6174 2 files changed, 7 insertions(+) 6175 6176commit c737eec91d200d730aa82662affd6b06ebb0bff0 6177Author: Lasse Collin <lasse.collin@tukaani.org> 6178Date: 2010-03-22 21:03:03 +0200 6179 6180 Updated THANKS. 6181 6182 THANKS | 1 + 6183 1 file changed, 1 insertion(+) 6184 6185commit f4b2b52624b802c786e4e2a8eb6895794dd93b24 6186Author: Lasse Collin <lasse.collin@tukaani.org> 6187Date: 2010-03-07 19:52:25 +0200 6188 6189 Fix xzgrep to not break if filenames have spaces or quotes. 6190 6191 Thanks to someone who reported the bug on IRC. 6192 6193 src/scripts/xzgrep.in | 2 +- 6194 1 file changed, 1 insertion(+), 1 deletion(-) 6195 6196commit cf38da00a140bd3bd65b192390ae5553380fd774 6197Author: Lasse Collin <lasse.collin@tukaani.org> 6198Date: 2010-03-07 13:59:32 +0200 6199 6200 Treat all integer multiplier suffixes as base-2. 6201 6202 Originally both base-2 and base-10 were supported, but since 6203 there seems to be little need for base-10 in XZ Utils, treat 6204 everything as base-2 and also be more relaxed about the case 6205 of the first letter of the suffix. Now xz will accept e.g. 6206 KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The 6207 recommended spelling of the suffixes are still KiB, MiB, and GiB. 6208 6209 src/xz/util.c | 53 +++++++++++++++++++++++------------------------------ 6210 src/xz/xz.1 | 48 ++++++++++++++++++++++++++++-------------------- 6211 src/xzdec/xzdec.c | 42 ++++++++++++++++-------------------------- 6212 3 files changed, 67 insertions(+), 76 deletions(-) 6213 6214commit 00fc1211ae7b687ac912098f4479112059deccbd 6215Author: Lasse Collin <lasse.collin@tukaani.org> 6216Date: 2010-03-07 13:50:23 +0200 6217 6218 Consistently round up the memory usage limit in messages. 6219 6220 It still feels a bit wrong to round 1 byte to 1 MiB but 6221 at least it is now done consistently so that the same 6222 byte value is always rounded the same way to MiB. 6223 6224 src/xz/message.c | 5 +++-- 6225 src/xzdec/xzdec.c | 7 +++++-- 6226 2 files changed, 8 insertions(+), 4 deletions(-) 6227 6228commit 9886d436ff5615fc70eef32ff757b1e934069621 6229Author: Lasse Collin <lasse.collin@tukaani.org> 6230Date: 2010-03-07 13:34:34 +0200 6231 6232 Change the default of --enable-assume-ram from 32 to 128 MiB. 6233 6234 This is to allow files created with "xz -9" to be decompressed 6235 if the amount of RAM cannot be determined. 6236 6237 INSTALL | 5 ++--- 6238 configure.ac | 11 ++++++----- 6239 2 files changed, 8 insertions(+), 8 deletions(-) 6240 6241commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418 6242Author: Lasse Collin <lasse.collin@tukaani.org> 6243Date: 2010-03-07 13:29:28 +0200 6244 6245 Increase the default memory usage limit on "low-memory" systems. 6246 6247 Previously the default limit was always 40 % of RAM. The 6248 new limit is a little bit more complex: 6249 6250 - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used 6251 as the limit. 6252 6253 - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit. 6254 6255 - Otherwise 80 % of RAM is used as the limit. 6256 6257 This should make it possible to decompress files created with 6258 "xz -9" on more systems. Swapping is generally more expected 6259 on systems with less RAM, so higher default limit on them 6260 shouldn't cause too bad surprises in terms of heavy swapping. 6261 Instead, the higher default limit should reduce the number of 6262 bad surprises when it used to prevent decompression of files 6263 created with "xz -9". The DoS prevention system shouldn't be 6264 a DoS itself. 6265 6266 Note that even with the new default limit, a system with 64 MiB 6267 RAM cannot decompress files created with "xz -9" without user 6268 overriding the limit. This should be OK, because if xz is going 6269 to need more memory than the system has RAM, it will run very 6270 very slowly and thus it's good that user has to override the limit 6271 in that case. 6272 6273 src/xz/hardware.c | 43 +++++++++++++++++++++++++++++++------------ 6274 src/xz/xz.1 | 21 +++++++++++++++------ 6275 src/xzdec/xzdec.1 | 8 ++++---- 6276 src/xzdec/xzdec.c | 42 ++++++++++++++++++++++++++++++------------ 6277 4 files changed, 80 insertions(+), 34 deletions(-) 6278 6279commit 5527b7269a997e7f335d60f237a64bbf225d9dc7 6280Author: Lasse Collin <lasse.collin@tukaani.org> 6281Date: 2010-03-06 21:36:19 +0200 6282 6283 Updated THANKS. 6284 6285 THANKS | 1 + 6286 1 file changed, 1 insertion(+) 6287 6288commit d0d1c51aea4351288a7e533cce28cb7f852f6b05 6289Author: Lasse Collin <lasse.collin@tukaani.org> 6290Date: 2010-03-06 21:17:20 +0200 6291 6292 Fix missing initialization in lzma_strm_init(). 6293 6294 With bad luck, lzma_code() could return LZMA_BUF_ERROR 6295 when it shouldn't. 6296 6297 This has been here since the early days of liblzma. 6298 It got triggered by the modifications made to the xz 6299 tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f 6300 but only when decompressing .lzma files. Somehow I managed 6301 to miss testing that with Valgrind earlier. 6302 6303 This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>. 6304 Thanks to Rafał Mużyło for helping to debug it on IRC. 6305 6306 src/liblzma/common/common.c | 1 + 6307 1 file changed, 1 insertion(+) 6308 6309commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea 6310Author: Lasse Collin <lasse.collin@tukaani.org> 6311Date: 2010-02-12 13:16:15 +0200 6312 6313 Collection of language fixes to comments and docs. 6314 6315 Thanks to Jonathan Nieder. 6316 6317 README | 2 +- 6318 configure.ac | 2 +- 6319 doc/faq.txt | 2 +- 6320 extra/7z2lzma/7z2lzma.bash | 2 +- 6321 src/common/tuklib_progname.c | 2 +- 6322 src/common/tuklib_progname.h | 2 +- 6323 src/liblzma/api/lzma/base.h | 8 ++++---- 6324 src/liblzma/api/lzma/bcj.h | 2 +- 6325 src/liblzma/api/lzma/block.h | 2 +- 6326 src/liblzma/api/lzma/check.h | 2 +- 6327 src/liblzma/api/lzma/filter.h | 4 ++-- 6328 src/liblzma/api/lzma/index.h | 6 +++--- 6329 src/liblzma/api/lzma/lzma.h | 2 +- 6330 src/liblzma/api/lzma/version.h | 2 +- 6331 src/liblzma/api/lzma/vli.h | 2 +- 6332 src/liblzma/common/block_header_encoder.c | 2 +- 6333 src/liblzma/common/chunk_size.c | 4 ++-- 6334 src/liblzma/common/common.h | 4 ++-- 6335 src/liblzma/common/filter_buffer_decoder.c | 2 +- 6336 src/liblzma/common/filter_encoder.c | 4 ++-- 6337 src/liblzma/common/index.c | 6 +++--- 6338 src/liblzma/common/index_encoder.c | 2 +- 6339 src/liblzma/common/stream_encoder.c | 2 +- 6340 src/liblzma/common/vli_decoder.c | 2 +- 6341 src/liblzma/lz/lz_encoder.c | 2 +- 6342 src/liblzma/lz/lz_encoder.h | 2 +- 6343 src/liblzma/lzma/lzma2_encoder.c | 2 +- 6344 src/liblzma/lzma/lzma_decoder.c | 4 ++-- 6345 src/liblzma/lzma/lzma_decoder.h | 2 +- 6346 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 6347 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +- 6348 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 6349 src/liblzma/simple/simple_coder.c | 2 +- 6350 src/liblzma/subblock/subblock_encoder.c | 2 +- 6351 src/scripts/xzdiff.1 | 2 +- 6352 src/scripts/xzless.1 | 10 +++++----- 6353 src/xz/coder.c | 2 +- 6354 src/xz/file_io.c | 2 +- 6355 src/xz/main.c | 6 +++--- 6356 src/xz/main.h | 2 +- 6357 src/xz/message.c | 10 +++++----- 6358 src/xz/message.h | 2 +- 6359 src/xz/xz.1 | 16 ++++++++-------- 6360 src/xzdec/lzmadec_w32res.rc | 2 +- 6361 src/xzdec/xzdec_w32res.rc | 2 +- 6362 tests/test_index.c | 2 +- 6363 windows/build.sh | 4 ++-- 6364 47 files changed, 77 insertions(+), 77 deletions(-) 6365 6366commit 4785f2021aa6a23f1caf724fcc823e562584f225 6367Author: Lasse Collin <lasse.collin@tukaani.org> 6368Date: 2010-02-12 12:41:20 +0200 6369 6370 Fix jl -> jb in ASM files. 6371 6372 src/liblzma/check/crc32_x86.S | 2 +- 6373 src/liblzma/check/crc64_x86.S | 4 ++-- 6374 2 files changed, 3 insertions(+), 3 deletions(-) 6375 6376commit 6b50c9429bf85521d355adc61745d06ee017f8c8 6377Author: Lasse Collin <lasse.collin@tukaani.org> 6378Date: 2010-02-12 12:31:22 +0200 6379 6380 Use __APPLE__ instead of __MACH__ in ASM files. 6381 6382 This allows the files to work on HURD. 6383 6384 Thanks to Jonathan Nieder. 6385 6386 src/liblzma/check/crc32_x86.S | 8 ++++---- 6387 src/liblzma/check/crc64_x86.S | 8 ++++---- 6388 2 files changed, 8 insertions(+), 8 deletions(-) 6389 6390commit 6503fde658a5cdbdd907a788865470dd64771601 6391Author: Lasse Collin <lasse.collin@tukaani.org> 6392Date: 2010-02-07 19:48:06 +0200 6393 6394 Subtle change to liblzma Block handling API. 6395 6396 lzma_block.version has to be initialized even for 6397 lzma_block_header_decode(). This way a future version 6398 of liblzma won't allocate memory in a way that an old 6399 application doesn't know how to free it. 6400 6401 The subtlety of this change is that all current apps 6402 using lzma_block_header_decode() will keep working for 6403 now, because the only possible version value is zero, 6404 and lzma_block_header_decode() unconditionally sets the 6405 version to zero even now. Unless fixed, these apps will 6406 break in the future if a new version of the Block options 6407 is ever needed. 6408 6409 src/liblzma/api/lzma/block.h | 39 ++++++++++++++++--------------------- 6410 src/liblzma/common/stream_decoder.c | 3 +++ 6411 2 files changed, 20 insertions(+), 22 deletions(-) 6412 6413commit dd7c3841ff78cb94ce02b0220c6e4748460970f7 6414Author: Lasse Collin <lasse.collin@tukaani.org> 6415Date: 2010-02-02 11:50:11 +0200 6416 6417 Fix wrong assertion. 6418 6419 This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735. 6420 6421 src/xz/main.c | 5 +++-- 6422 1 file changed, 3 insertions(+), 2 deletions(-) 6423 6424commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be 6425Author: Lasse Collin <lasse.collin@tukaani.org> 6426Date: 2010-02-01 22:48:42 +0200 6427 6428 Updated TODO. 6429 6430 TODO | 4 ---- 6431 1 file changed, 4 deletions(-) 6432 6433commit fef6333f52c8801308c3b78acb7942988541d137 6434Author: Lasse Collin <lasse.collin@tukaani.org> 6435Date: 2010-02-01 22:47:54 +0200 6436 6437 Fix typos in comments. 6438 6439 src/xz/list.c | 2 +- 6440 windows/build.sh | 2 +- 6441 2 files changed, 2 insertions(+), 2 deletions(-) 6442 6443commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735 6444Author: Lasse Collin <lasse.collin@tukaani.org> 6445Date: 2010-02-01 22:46:56 +0200 6446 6447 Fix signal handling for --list. 6448 6449 src/xz/main.c | 19 ++++++++++++++----- 6450 1 file changed, 14 insertions(+), 5 deletions(-) 6451 6452commit 82220a149015616f75641ee8bbea415137535b9b 6453Author: Lasse Collin <lasse.collin@tukaani.org> 6454Date: 2010-02-01 11:44:45 +0200 6455 6456 Fix compression of symlinks with --force. 6457 6458 xz --force accepted symlinks, but didn't remove 6459 them after successful compression. Instead, an error 6460 message was displayed. 6461 6462 src/xz/file_io.c | 14 +++++++++++++- 6463 1 file changed, 13 insertions(+), 1 deletion(-) 6464 6465commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e 6466Author: Lasse Collin <lasse.collin@tukaani.org> 6467Date: 2010-02-01 10:20:57 +0200 6468 6469 Fix a comment. 6470 6471 windows/build.sh | 5 ++--- 6472 1 file changed, 2 insertions(+), 3 deletions(-) 6473 6474commit f9dd797a423a148903cf345b4146cb1fe1eab11d 6475Author: Lasse Collin <lasse.collin@tukaani.org> 6476Date: 2010-01-31 23:43:54 +0200 6477 6478 Updated THANKS. 6479 6480 THANKS | 1 + 6481 1 file changed, 1 insertion(+) 6482 6483commit ee5ddb8b28419fe4923ded5c18a50570a762dcab 6484Author: Lasse Collin <lasse.collin@tukaani.org> 6485Date: 2010-01-31 23:41:29 +0200 6486 6487 Updated TODO. 6488 6489 TODO | 17 +++++++++++------ 6490 1 file changed, 11 insertions(+), 6 deletions(-) 6491 6492commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6 6493Author: Lasse Collin <lasse.collin@tukaani.org> 6494Date: 2010-01-31 23:35:04 +0200 6495 6496 Mention TODO in README. 6497 6498 README | 1 + 6499 1 file changed, 1 insertion(+) 6500 6501commit 2901a8e7e82af05675b8cd8758a8ceddb111359f 6502Author: Lasse Collin <lasse.collin@tukaani.org> 6503Date: 2010-01-31 23:31:14 +0200 6504 6505 Updated INSTALL. 6506 6507 INSTALL | 52 ++++++++++++++++++++++++++-------------------------- 6508 1 file changed, 26 insertions(+), 26 deletions(-) 6509 6510commit 8884e16864ba53fb4b58623d7537d7ef30c28e11 6511Author: Lasse Collin <lasse.collin@tukaani.org> 6512Date: 2010-01-31 23:28:51 +0200 6513 6514 Revise the Windows build files. 6515 6516 The old Makefile + config.h was deleted, because it 6517 becomes outdated too easily and building with the 6518 Autotools based build system works fine even on Windows. 6519 6520 windows/build.sh hasn't got much testing, but it should 6521 work to build 32-bit x86 and x86-64 versions of XZ Utils 6522 using MSYS, MinGW or MinGW-w32, and MinGW-w64. 6523 6524 windows/INSTALL-Windows.txt describes what packages are 6525 needed and how to install them. 6526 6527 windows/README-Windows.txt is a readme file for the binary 6528 package that build.sh hopefully builds. 6529 6530 There are no instructions about using Autotools for now, 6531 so those using a git snapshot may want to run 6532 "autoreconf -fi && ./configure && make mydist" on a UN*X 6533 box and then copy the resulting .tar.gz to a Windows. 6534 6535 windows/INSTALL-Windows.txt | 131 ++++++++++++++++++ 6536 windows/Makefile | 320 -------------------------------------------- 6537 windows/README | 155 --------------------- 6538 windows/README-Windows.txt | 115 ++++++++++++++++ 6539 windows/build.sh | 189 ++++++++++++++++++++++++++ 6540 windows/config.h | 170 ----------------------- 6541 6 files changed, 435 insertions(+), 645 deletions(-) 6542 6543commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c 6544Author: Lasse Collin <lasse.collin@tukaani.org> 6545Date: 2010-01-31 19:52:38 +0200 6546 6547 Select the default integrity check type at runtime. 6548 6549 Previously it was set statically to CRC64 or CRC32 6550 depending on options passed to the configure script. 6551 6552 src/xz/coder.c | 19 ++++++++++++++----- 6553 1 file changed, 14 insertions(+), 5 deletions(-) 6554 6555commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1 6556Author: Lasse Collin <lasse.collin@tukaani.org> 6557Date: 2010-01-31 18:17:50 +0200 6558 6559 Improve displaying of the memory usage limit. 6560 6561 src/xz/coder.c | 8 +++----- 6562 src/xz/message.c | 37 +++++++++++++++++++++++++++++-------- 6563 src/xz/util.c | 7 +++++++ 6564 src/xz/util.h | 6 ++++++ 6565 4 files changed, 45 insertions(+), 13 deletions(-) 6566 6567commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2 6568Author: Lasse Collin <lasse.collin@tukaani.org> 6569Date: 2010-01-31 12:53:56 +0200 6570 6571 Don't use uninitialized sigset_t. 6572 6573 If signal handlers haven't been established, then it's 6574 useless to try to block them, especially since the sigset_t 6575 used for blocking hasn't been initialized yet. 6576 6577 src/xz/signals.c | 34 ++++++++++++++++++++++++---------- 6578 1 file changed, 24 insertions(+), 10 deletions(-) 6579 6580commit 231c3c7098f1099a56abb8afece76fc9b8699f05 6581Author: Lasse Collin <lasse.collin@tukaani.org> 6582Date: 2010-01-31 12:01:54 +0200 6583 6584 Delay opening the destionation file and other fixes. 6585 6586 The opening of the destination file is now delayed a little. 6587 The coder is initialized, and if decompressing, the memory 6588 usage of the first Block compared against the memory 6589 usage limit before the destination file is opened. This 6590 means that if --force was used, the old "target" file won't 6591 be deleted so easily when something goes wrong very early. 6592 Thanks to Mark K for the bug report. 6593 6594 The above fix required some changes to progress message 6595 handling. Now there is a separate function for setting and 6596 printing the filename. It is used also in list.c. 6597 6598 list_file() now handles stdin correctly (gives an error). 6599 6600 A useless check for user_abort was removed from file_io.c. 6601 6602 src/xz/coder.c | 64 ++++++++++++++++++++++----------- 6603 src/xz/file_io.c | 107 +++++++++++++++++++++++++++---------------------------- 6604 src/xz/file_io.h | 8 +++-- 6605 src/xz/list.c | 28 +++++---------- 6606 src/xz/message.c | 46 +++++++++++++----------- 6607 src/xz/message.h | 29 ++++++++++----- 6608 6 files changed, 157 insertions(+), 125 deletions(-) 6609 6610commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105 6611Author: Lasse Collin <lasse.collin@tukaani.org> 6612Date: 2010-01-29 22:48:04 +0200 6613 6614 Add list.h to src/xz/Makefile.am. 6615 6616 This should have been already in 6617 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1. 6618 6619 src/xz/Makefile.am | 1 + 6620 1 file changed, 1 insertion(+) 6621 6622commit b4b1a56e0cbd597157858264f5c7189201ac9018 6623Author: Lasse Collin <lasse.collin@tukaani.org> 6624Date: 2010-01-29 13:24:27 +0200 6625 6626 Add lzmainfo.1 to manfiles list to convert to .txt and .pdf. 6627 6628 Makefile.am | 1 + 6629 1 file changed, 1 insertion(+) 6630 6631commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95 6632Author: Lasse Collin <lasse.collin@tukaani.org> 6633Date: 2010-01-27 16:42:11 +0200 6634 6635 Silence two compiler warnings on DOS-like systems. 6636 6637 src/common/tuklib_open_stdxxx.c | 6 +++++- 6638 src/xz/file_io.c | 3 +++ 6639 2 files changed, 8 insertions(+), 1 deletion(-) 6640 6641commit b063cc34a30a4edf109343ff373b2b62b8ca72d3 6642Author: Lasse Collin <lasse.collin@tukaani.org> 6643Date: 2010-01-27 13:31:03 +0200 6644 6645 Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE. 6646 6647 configure.ac | 9 ++------- 6648 src/liblzma/liblzma.pc.in | 2 +- 6649 src/lzmainfo/lzmainfo.c | 2 +- 6650 src/xz/message.c | 2 +- 6651 src/xzdec/xzdec.c | 2 +- 6652 5 files changed, 6 insertions(+), 11 deletions(-) 6653 6654commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f 6655Author: Lasse Collin <lasse.collin@tukaani.org> 6656Date: 2010-01-26 23:37:46 +0200 6657 6658 Add a missing space to an error message. 6659 6660 Thanks to Robert Readman. 6661 6662 src/xz/args.c | 2 +- 6663 1 file changed, 1 insertion(+), 1 deletion(-) 6664 6665commit e5496f9628ff5979392a80421d0b63a4de8015b4 6666Author: Lasse Collin <lasse.collin@tukaani.org> 6667Date: 2010-01-26 22:53:37 +0200 6668 6669 Use past tense in error message in io_unlink(). 6670 6671 Added a note to translators too. 6672 6673 Thanks to Robert Readman. 6674 6675 THANKS | 1 + 6676 src/xz/file_io.c | 14 ++++++++++++-- 6677 2 files changed, 13 insertions(+), 2 deletions(-) 6678 6679commit d9a9800597ea540090e434132c3b511217df0a2b 6680Author: Lasse Collin <lasse.collin@tukaani.org> 6681Date: 2010-01-26 15:42:24 +0200 6682 6683 Fix too small static buffer in util.c. 6684 6685 This was introduced in 6686 0dd6d007669b946543ca939a44243833c79e08f4 two days ago. 6687 6688 src/xz/util.c | 9 ++++----- 6689 1 file changed, 4 insertions(+), 5 deletions(-) 6690 6691commit d0b4bbf5da068503c099cd456e294d7673548cc0 6692Author: Lasse Collin <lasse.collin@tukaani.org> 6693Date: 2010-01-26 14:46:43 +0200 6694 6695 Minor comment fix. 6696 6697 src/xz/main.c | 4 ++-- 6698 1 file changed, 2 insertions(+), 2 deletions(-) 6699 6700commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1 6701Author: Lasse Collin <lasse.collin@tukaani.org> 6702Date: 2010-01-24 23:50:54 +0200 6703 6704 Add initial version of xz --list. 6705 6706 This is a bit rough but should be useful for basic things. 6707 Ideas (with detailed examples) about the output format are 6708 welcome. 6709 6710 The output of --robot --list is not necessarily stable yet, 6711 although I don't currently have any plans about changing it. 6712 6713 The man page hasn't been updated yet. 6714 6715 src/xz/Makefile.am | 1 + 6716 src/xz/list.c | 988 ++++++++++++++++++++++++++++++++++------------------- 6717 src/xz/list.h | 18 + 6718 src/xz/main.c | 19 +- 6719 src/xz/private.h | 1 + 6720 5 files changed, 668 insertions(+), 359 deletions(-) 6721 6722commit df254ce03be016e217b511e7acd5d493f9929ca5 6723Author: Lasse Collin <lasse.collin@tukaani.org> 6724Date: 2010-01-24 22:46:11 +0200 6725 6726 Add io_pread(). 6727 6728 It will be used by --list. 6729 6730 src/xz/file_io.c | 25 +++++++++++++++++++++++++ 6731 src/xz/file_io.h | 17 +++++++++++++++++ 6732 2 files changed, 42 insertions(+) 6733 6734commit ef68dd4a92976276304de2aedfbe34ae91a86abb 6735Author: Lasse Collin <lasse.collin@tukaani.org> 6736Date: 2010-01-24 22:45:14 +0200 6737 6738 Set LC_NUMERIC=C when --robot is used. 6739 6740 It is to ensure that floating point numbers 6741 will always have a dot as the decimal separator. 6742 6743 src/xz/args.c | 4 ++++ 6744 1 file changed, 4 insertions(+) 6745 6746commit 0dd6d007669b946543ca939a44243833c79e08f4 6747Author: Lasse Collin <lasse.collin@tukaani.org> 6748Date: 2010-01-24 16:57:40 +0200 6749 6750 Some improvements to printing sizes in xz. 6751 6752 src/xz/coder.c | 56 +++++++++++++++------------------------ 6753 src/xz/message.c | 80 ++++++++++++++++++-------------------------------------- 6754 src/xz/message.h | 4 +++ 6755 src/xz/util.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ 6756 src/xz/util.h | 44 +++++++++++++++++++++++++++++++ 6757 5 files changed, 166 insertions(+), 90 deletions(-) 6758 6759commit 2a98fdffd68c66371279c211c29153c808ad5c1d 6760Author: Lasse Collin <lasse.collin@tukaani.org> 6761Date: 2010-01-20 22:02:35 +0200 6762 6763 Fix a typo in README. 6764 6765 Thanks to R. Bijker. 6766 6767 README | 2 +- 6768 1 file changed, 1 insertion(+), 1 deletion(-) 6769 6770commit 07a11dad44e041b01dcfc73e8d4e00731158c06d 6771Author: Lasse Collin <lasse.collin@tukaani.org> 6772Date: 2010-01-17 11:59:54 +0200 6773 6774 Updated windows/Makefile. 6775 6776 Thanks to Dan Shechter for the patch. 6777 6778 It is likely that windows/Makefile will be removed 6779 completely, because Autotols based build nowadays 6780 works well with both 32-bit and 64-bit MinGW (I 6781 just need to update the docs). 6782 6783 windows/Makefile | 38 +++++++++++++++++++++++++------------- 6784 windows/config.h | 2 ++ 6785 2 files changed, 27 insertions(+), 13 deletions(-) 6786 6787commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3 6788Author: Lasse Collin <lasse.collin@tukaani.org> 6789Date: 2010-01-15 11:05:11 +0200 6790 6791 Update the xz man page to match the previous two commits. 6792 6793 src/xz/xz.1 | 9 +++------ 6794 1 file changed, 3 insertions(+), 6 deletions(-) 6795 6796commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7 6797Author: Lasse Collin <lasse.collin@tukaani.org> 6798Date: 2010-01-13 19:10:25 +0200 6799 6800 Don't read compressed data from a terminal or write it 6801 to a terminal even if --force is specified. 6802 6803 It just seems more reasonable this way. 6804 6805 The new behavior matches bzip2. The old one matched gzip. 6806 6807 src/xz/main.c | 20 +++++++++----------- 6808 src/xz/util.c | 8 ++++---- 6809 2 files changed, 13 insertions(+), 15 deletions(-) 6810 6811commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4 6812Author: Lasse Collin <lasse.collin@tukaani.org> 6813Date: 2010-01-13 18:12:40 +0200 6814 6815 Don't compress or decompress special files unless writing 6816 to stdout even if --force is used. 6817 6818 --force will still enable compression of symlinks, but only 6819 in case they point to a regular file. 6820 6821 The new way simply seems more reasonable. It matches gzip's 6822 behavior while the old one matched bzip2's behavior. 6823 6824 src/xz/file_io.c | 15 ++++++++++----- 6825 1 file changed, 10 insertions(+), 5 deletions(-) 6826 6827commit cee12aa852ec0902983dc1f153346ef750157fb9 6828Author: Lasse Collin <lasse.collin@tukaani.org> 6829Date: 2010-01-12 16:30:33 +0200 6830 6831 Updated THANKS. 6832 6833 THANKS | 1 + 6834 1 file changed, 1 insertion(+) 6835 6836commit 153c7740c54b3c90129dbd3d6153ac1303c4d605 6837Author: Lasse Collin <lasse.collin@tukaani.org> 6838Date: 2010-01-12 16:18:14 +0200 6839 6840 Add IRIX-specific code to tuklib_physmem and tuklib_cpucores. 6841 6842 This is untested but it will get tested soon and, if needed, 6843 fixed before 5.0.0. 6844 6845 Thanks to Stuart Shelton. 6846 6847 m4/tuklib_cpucores.m4 | 11 +++++++++-- 6848 m4/tuklib_physmem.m4 | 22 +++++++++++++++++++++- 6849 src/common/tuklib_cpucores.c | 6 ++++++ 6850 src/common/tuklib_physmem.c | 19 +++++++++++++++++++ 6851 4 files changed, 55 insertions(+), 3 deletions(-) 6852 6853commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1 6854Author: Lasse Collin <lasse.collin@tukaani.org> 6855Date: 2010-01-01 00:29:10 +0200 6856 6857 Fix _memconfig() functions. 6858 6859 This affects lzma_memusage() and lzma_memlimit_get(). 6860 6861 src/liblzma/api/lzma/index.h | 7 ------- 6862 src/liblzma/common/alone_decoder.c | 11 +++++++---- 6863 src/liblzma/common/index_decoder.c | 10 ++++++---- 6864 src/liblzma/common/stream_decoder.c | 11 +++++++---- 6865 4 files changed, 20 insertions(+), 19 deletions(-) 6866 6867commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691 6868Author: Lasse Collin <lasse.collin@tukaani.org> 6869Date: 2009-12-31 22:45:53 +0200 6870 6871 Revised the Index handling code. 6872 6873 This breaks API and ABI but most apps are not affected 6874 since most apps don't use this part of the API. You will 6875 get a compile error if you are using anything that got 6876 broken. 6877 6878 Summary of changes: 6879 6880 - Ability to store Stream Flags, which are needed 6881 for random-access reading in multi-Stream files. 6882 6883 - Separate function to set size of Stream Padding. 6884 6885 - Iterator structure makes it possible to read the same 6886 lzma_index from multiple threads at the same time. 6887 6888 - A lot faster code to locate Blocks. 6889 6890 - Removed lzma_index_equal() without adding anything 6891 to replace it. I don't know what it should do exactly 6892 with the new features and what actually needs this 6893 function in the first place other than test_index.c, 6894 which now has its own code to compare lzma_indexes. 6895 6896 src/liblzma/api/lzma/index.h | 572 +++++++--- 6897 src/liblzma/common/index.c | 1553 ++++++++++++++++++---------- 6898 src/liblzma/common/index.h | 6 + 6899 src/liblzma/common/index_decoder.c | 12 +- 6900 src/liblzma/common/index_encoder.c | 36 +- 6901 src/liblzma/common/index_encoder.h | 2 +- 6902 src/liblzma/common/stream_buffer_encoder.c | 6 +- 6903 src/liblzma/common/stream_encoder.c | 3 +- 6904 tests/test_index.c | 371 ++++--- 6905 9 files changed, 1703 insertions(+), 858 deletions(-) 6906 6907commit f29997a846e673cb3b8cbd57de47ed313b3978bb 6908Author: Lasse Collin <lasse.collin@tukaani.org> 6909Date: 2009-12-31 21:13:25 +0200 6910 6911 Remove c-format tag in cs.po. 6912 6913 It was fixed in the C code earlier. 6914 6915 po/cs.po | 1 - 6916 1 file changed, 1 deletion(-) 6917 6918commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644 6919Author: Lasse Collin <lasse.collin@tukaani.org> 6920Date: 2009-12-31 21:11:05 +0200 6921 6922 Add missing lzma_nothrow in filter.h. 6923 6924 src/liblzma/api/lzma/filter.h | 4 ++-- 6925 1 file changed, 2 insertions(+), 2 deletions(-) 6926 6927commit b56cb1fc31fa2381f92eefc040df85667048d626 6928Author: Lasse Collin <lasse.collin@tukaani.org> 6929Date: 2009-12-09 18:13:44 +0200 6930 6931 Remove redefinition of _(msgid) macro from lzmainfo.c. 6932 6933 src/lzmainfo/lzmainfo.c | 7 ------- 6934 1 file changed, 7 deletions(-) 6935 6936commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2 6937Author: Jonathan Nieder <jrnieder@gmail.com> 6938Date: 2009-12-08 19:41:57 -0600 6939 6940 update po/.gitignore 6941 6942 Since the *.gmo files are deleted by the maintainer-clean target, 6943 I assume they are not meant to be tracked. 6944 6945 Also add the other files listed in the Makefile’s clean targets 6946 (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they 6947 are not accidentally tracked. Most of these are intermediate 6948 files that would not appear unless a build is interrupted or 6949 fails. 6950 6951 Split the list of untracked files by origin to make it easier to 6952 tell if files are missing in the future. 6953 6954 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 6955 6956 po/.gitignore | 28 ++++++++++++++++++++++------ 6957 1 file changed, 22 insertions(+), 6 deletions(-) 6958 6959commit f7e44c6c11f630519072971b8b07a5729c096c36 6960Author: Lasse Collin <lasse.collin@tukaani.org> 6961Date: 2009-12-09 00:38:55 +0200 6962 6963 Always rely on GCC's auto-import on Windows. 6964 6965 I understood that this is nicer, because then people 6966 don't need to worry about the LZMA_API_STATIC macro. 6967 6968 Thanks to Charles Wilson and Keith Marshall. 6969 6970 src/liblzma/api/lzma.h | 16 +++++++++------- 6971 1 file changed, 9 insertions(+), 7 deletions(-) 6972 6973commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c 6974Author: Lasse Collin <lasse.collin@tukaani.org> 6975Date: 2009-12-07 21:46:53 +0200 6976 6977 Fix file_io.c on DOS-like systems. 6978 6979 The problem was introduced when adding sparse file 6980 support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902. 6981 6982 Thanks to Charles Wilson. 6983 6984 src/xz/file_io.c | 4 ++++ 6985 1 file changed, 4 insertions(+) 6986 6987commit 0696f5d268362221380e039bad48a86e29067c6a 6988Author: Lasse Collin <lasse.collin@tukaani.org> 6989Date: 2009-12-07 20:54:21 +0200 6990 6991 Add Czech translation. 6992 6993 Thanks to Marek Černocký. 6994 6995 Other people planning to translate xz: Note that the 6996 messages are a little bit in flux still. Translations 6997 are still welcome, just be prepared to some extra work 6998 in case there are changes. 6999 7000 THANKS | 1 + 7001 po/LINGUAS | 1 + 7002 po/cs.po | 637 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 7003 3 files changed, 639 insertions(+) 7004 7005commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5 7006Author: Lasse Collin <lasse.collin@tukaani.org> 7007Date: 2009-12-07 20:32:08 +0200 7008 7009 Add a note for translators to add a bug reporting address 7010 for translation bugs. 7011 7012 src/xz/message.c | 4 ++++ 7013 1 file changed, 4 insertions(+) 7014 7015commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37 7016Author: Lasse Collin <lasse.collin@tukaani.org> 7017Date: 2009-12-07 20:07:02 +0200 7018 7019 Prevent xgettext from taking one regular string as a C format string. 7020 7021 Thanks to Marek Černocký. 7022 7023 src/xz/message.c | 2 +- 7024 1 file changed, 1 insertion(+), 1 deletion(-) 7025 7026commit e0c2776b6ffbd2b1900fde353aceac734edc93d7 7027Author: Lasse Collin <lasse.collin@tukaani.org> 7028Date: 2009-11-28 17:45:22 +0200 7029 7030 Remove duplicate code in io_open_dest(). 7031 7032 Fix a missing _() in the error message too. 7033 7034 src/xz/file_io.c | 9 +-------- 7035 1 file changed, 1 insertion(+), 8 deletions(-) 7036 7037commit f057a33c6f7c5992389479f2d4feabf2900ba7ee 7038Author: Lasse Collin <lasse.collin@tukaani.org> 7039Date: 2009-11-26 10:11:23 +0200 7040 7041 Typo fix to sysdefs.h. 7042 7043 Thanks to Jonathan Nieder. 7044 7045 src/common/sysdefs.h | 2 +- 7046 1 file changed, 1 insertion(+), 1 deletion(-) 7047 7048commit 8767b41534eafdf5e742e12190646bf5740b0cdb 7049Author: Lasse Collin <lasse.collin@tukaani.org> 7050Date: 2009-11-26 10:10:36 +0200 7051 7052 Fix a memory leak in test_index.c. 7053 7054 This was introduced in 7055 bd13b04e202b6f495a68eb0766f97085b7c50a06. 7056 7057 Thanks to Jim Meyering for noticing it. 7058 7059 tests/test_index.c | 2 ++ 7060 1 file changed, 2 insertions(+) 7061 7062commit 919fbaff860acdaa4bcd216500a0b1c960a6db92 7063Author: Lasse Collin <lasse.collin@tukaani.org> 7064Date: 2009-11-25 14:22:19 +0200 7065 7066 Add missing error check to coder.c. 7067 7068 With bad luck this could cause a segfault due to 7069 reading (but not writing) past the end of the buffer. 7070 7071 src/xz/coder.c | 20 +++++++++++--------- 7072 1 file changed, 11 insertions(+), 9 deletions(-) 7073 7074commit bd13b04e202b6f495a68eb0766f97085b7c50a06 7075Author: Lasse Collin <lasse.collin@tukaani.org> 7076Date: 2009-11-25 13:04:10 +0200 7077 7078 Fix bugs in lzma_index_read() and lzma_index_cat(). 7079 7080 lzma_index_read() didn't skip over Stream Padding 7081 if it was the first record in the Index. 7082 7083 lzma_index_cat() didn't combine small Indexes correctly. 7084 7085 The test suite was updated to check for these bugs. 7086 7087 These bugs didn't affect the xz command line tool or 7088 most users of liblzma in any way. 7089 7090 src/liblzma/common/index.c | 30 +++++++++++++++++++----------- 7091 tests/test_index.c | 28 +++++++++++++++++++++++++--- 7092 2 files changed, 44 insertions(+), 14 deletions(-) 7093 7094commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa 7095Author: Lasse Collin <lasse.collin@tukaani.org> 7096Date: 2009-11-25 12:52:56 +0200 7097 7098 Index decoder fixes. 7099 7100 The Index decoder code didn't perfectly match the API docs, 7101 which said that *i will be set to point to the decoded Index 7102 only after decoding has succeeded. The docs were a bit unclear 7103 too. 7104 7105 Now the decoder will initially set *i to NULL. *i will be set 7106 to point to the decoded Index once decoding has succeeded. 7107 This simplifies applications too, since it avoids dangling 7108 pointers. 7109 7110 src/liblzma/api/lzma/index.h | 23 ++++++++++++----------- 7111 src/liblzma/common/index_decoder.c | 26 ++++++++++++++++++++------ 7112 2 files changed, 32 insertions(+), 17 deletions(-) 7113 7114commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902 7115Author: Lasse Collin <lasse.collin@tukaani.org> 7116Date: 2009-11-25 11:19:20 +0200 7117 7118 Create sparse files by default when decompressing into 7119 a regular file. 7120 7121 Sparse file creation can be disabled with --no-sparse. 7122 I don't promise yet that the name of this option won't 7123 change before 5.0.0. It's possible that the code, that 7124 checks when it is safe to use sparse output on stdout, 7125 is not good enough, and a more flexible command line 7126 option is needed to configure sparse file handling. 7127 7128 src/xz/args.c | 6 ++ 7129 src/xz/coder.c | 33 ++++---- 7130 src/xz/file_io.c | 243 +++++++++++++++++++++++++++++++++++++++++++++++-------- 7131 src/xz/file_io.h | 34 ++++++-- 7132 src/xz/message.c | 1 + 7133 src/xz/xz.1 | 11 +++ 7134 6 files changed, 272 insertions(+), 56 deletions(-) 7135 7136commit 37de544414fc2dc5039471d1002ebd015eb3e627 7137Author: Lasse Collin <lasse.collin@tukaani.org> 7138Date: 2009-11-22 12:43:06 +0200 7139 7140 Updated THANKS. 7141 7142 THANKS | 1 + 7143 1 file changed, 1 insertion(+) 7144 7145commit f1a28b96c900c658fe016852ff62f6c24d1f50fa 7146Author: Lasse Collin <lasse.collin@tukaani.org> 7147Date: 2009-11-22 12:05:33 +0200 7148 7149 Add missing consts to pointer casts. 7150 7151 src/liblzma/check/crc32_fast.c | 4 ++-- 7152 src/liblzma/check/crc64_fast.c | 5 +++-- 7153 2 files changed, 5 insertions(+), 4 deletions(-) 7154 7155commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef 7156Author: Lasse Collin <lasse.collin@tukaani.org> 7157Date: 2009-11-22 12:00:30 +0200 7158 7159 Enable assembler code only if it is known to work 7160 on that operating system. 7161 7162 I'm too lazy to think how to make a good Autoconf test 7163 for this and it's not that important anyway. 7164 7165 No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64. 7166 Inline assembler (if any) is used if a macro like 7167 __i386__ or __x86_64__ is defined. 7168 7169 configure.ac | 26 ++++++++++++-------------- 7170 1 file changed, 12 insertions(+), 14 deletions(-) 7171 7172commit 0733f4c9994db696420a405810d5f02c79ebc404 7173Author: Lasse Collin <lasse.collin@tukaani.org> 7174Date: 2009-11-22 11:55:03 +0200 7175 7176 Make fastpos.h use tuklib_integer.h instead of bsr.h 7177 when --enable-small has been specified. 7178 7179 src/liblzma/common/Makefile.inc | 1 - 7180 src/liblzma/common/bsr.h | 60 ----------------------------------------- 7181 src/liblzma/lzma/fastpos.h | 5 +--- 7182 3 files changed, 1 insertion(+), 65 deletions(-) 7183 7184commit 7ac3985d891dcc5773543f84cc5bce6c14841b12 7185Author: Lasse Collin <lasse.collin@tukaani.org> 7186Date: 2009-11-22 11:52:30 +0200 7187 7188 Update tuklib_integer.h with bit scan functions. 7189 7190 Thanks to Joachim Henke for the original patch. 7191 7192 src/common/tuklib_integer.h | 189 ++++++++++++++++++++++++++++++++++++++++++-- 7193 1 file changed, 181 insertions(+), 8 deletions(-) 7194 7195commit c74c132f7f79a842c073c66575a4fdb985e4c2e3 7196Author: Lasse Collin <lasse.collin@tukaani.org> 7197Date: 2009-11-20 12:51:19 +0200 7198 7199 Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib, 7200 which now use AC_CACHE_CHECK. Using the cache variable, 7201 configure now warns if there is no method to detect the amount 7202 of RAM and recommends using --enable-assume-ram. 7203 7204 configure.ac | 16 ++++++++++++++++ 7205 m4/tuklib_cpucores.m4 | 31 ++++++++++++++++++------------- 7206 m4/tuklib_physmem.m4 | 50 +++++++++++++++++++++++++++----------------------- 7207 3 files changed, 61 insertions(+), 36 deletions(-) 7208 7209commit d315ca4930ff96e1428c6021c96f209e1abdd83e 7210Author: Lasse Collin <lasse.collin@tukaani.org> 7211Date: 2009-11-16 18:16:45 +0200 7212 7213 Add support for --info-memory and --robot to xz. 7214 7215 Currently --robot works only with --info-memory and 7216 --version. --help and --long-help work too, but --robot 7217 has no effect on them. 7218 7219 Thanks to Jonathan Nieder for the original patches. 7220 7221 src/xz/args.c | 85 +++++++++++++++++++++++++++++++++----------------------- 7222 src/xz/args.h | 1 + 7223 src/xz/main.c | 11 +++++--- 7224 src/xz/message.c | 47 +++++++++++++++++++++++-------- 7225 src/xz/message.h | 4 +++ 7226 src/xz/xz.1 | 40 +++++++++++++++++++++++--- 7227 6 files changed, 133 insertions(+), 55 deletions(-) 7228 7229commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e 7230Author: Lasse Collin <lasse.collin@tukaani.org> 7231Date: 2009-11-15 12:54:45 +0200 7232 7233 Fix wrong indentation caused by incorrect settings 7234 in the text editor. 7235 7236 src/liblzma/lz/lz_decoder.c | 18 +++++++++--------- 7237 src/liblzma/lzma/lzma2_encoder.c | 6 +++--- 7238 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +- 7239 3 files changed, 13 insertions(+), 13 deletions(-) 7240 7241commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4 7242Author: Lasse Collin <lasse.collin@tukaani.org> 7243Date: 2009-11-15 12:40:17 +0200 7244 7245 Add lzma_physmem(). 7246 7247 I had hoped to keep liblzma as purely a compression 7248 library as possible (e.g. file I/O will go into 7249 a different library), but it seems that applications 7250 linking agaisnt liblzma need some way to determine 7251 the memory usage limit, and knowing the amount of RAM 7252 is one reasonable way to help making such decisions. 7253 7254 Thanks to Jonathan Nieder for the original patch. 7255 7256 src/liblzma/Makefile.am | 5 ++-- 7257 src/liblzma/api/Makefile.am | 1 + 7258 src/liblzma/api/lzma.h | 3 +++ 7259 src/liblzma/api/lzma/hardware.h | 51 +++++++++++++++++++++++++++++++++++ 7260 src/liblzma/common/Makefile.inc | 1 + 7261 src/liblzma/common/hardware_physmem.c | 25 +++++++++++++++++ 7262 src/xz/Makefile.am | 1 - 7263 src/xz/hardware.c | 3 +-- 7264 src/xzdec/Makefile.am | 6 ++--- 7265 src/xzdec/xzdec.c | 3 +-- 7266 10 files changed, 88 insertions(+), 11 deletions(-) 7267 7268commit cf39faca59083d38422058c6c97aa757ea7797d0 7269Author: Lasse Collin <lasse.collin@tukaani.org> 7270Date: 2009-11-14 20:21:19 +0200 7271 7272 Updated THANKS. 7273 7274 THANKS | 1 + 7275 1 file changed, 1 insertion(+) 7276 7277commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f 7278Author: Lasse Collin <lasse.collin@tukaani.org> 7279Date: 2009-11-14 20:20:03 +0200 7280 7281 Some updates to xz man page. 7282 7283 src/xz/xz.1 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++----- 7284 1 file changed, 49 insertions(+), 5 deletions(-) 7285 7286commit 19b2674f07f8b588dfaf6638396b4b42866d7e23 7287Author: Lasse Collin <lasse.collin@tukaani.org> 7288Date: 2009-11-14 19:51:03 +0200 7289 7290 Fix description of --memory in --long-help. 7291 7292 src/xz/message.c | 3 +-- 7293 1 file changed, 1 insertion(+), 2 deletions(-) 7294 7295commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8 7296Author: Lasse Collin <lasse.collin@tukaani.org> 7297Date: 2009-11-14 19:45:39 +0200 7298 7299 Update the debug programs so that they compile again. 7300 7301 debug/crc32.c | 1 + 7302 debug/memusage.c | 6 ++++-- 7303 debug/sync_flush.c | 14 +++++++++----- 7304 3 files changed, 14 insertions(+), 7 deletions(-) 7305 7306commit 418d64a32e8144210f98a810738fed5a897e8367 7307Author: Lasse Collin <lasse.collin@tukaani.org> 7308Date: 2009-11-14 18:59:19 +0200 7309 7310 Fix a design error in liblzma API. 7311 7312 Originally the idea was that using LZMA_FULL_FLUSH 7313 with Stream encoder would read the filter chain 7314 from the same array that was used to intialize the 7315 Stream encoder. Since most apps wouldn't use 7316 LZMA_FULL_FLUSH, most apps wouldn't need to keep 7317 the filter chain available after initializing the 7318 Stream encoder. However, due to my mistake, it 7319 actually required keeping the array always available. 7320 7321 Since setting the new filter chain via the array 7322 used at initialization time is not a nice way to do 7323 it for a couple of reasons, this commit ditches it 7324 and introduces lzma_filters_update(). This new function 7325 replaces also the "persistent" flag used by LZMA2 7326 (and to-be-designed Subblock filter), which was also 7327 an ugly thing to do. 7328 7329 Thanks to Alexey Tourbin for reminding me about the problem 7330 that Stream encoder used to require keeping the filter 7331 chain allocated. 7332 7333 src/liblzma/api/lzma/filter.h | 30 +++++++++++++ 7334 src/liblzma/api/lzma/lzma.h | 13 ------ 7335 src/liblzma/common/block_encoder.c | 14 ++++++ 7336 src/liblzma/common/common.c | 20 ++++++++- 7337 src/liblzma/common/common.h | 22 ++++++++++ 7338 src/liblzma/common/easy_encoder.c | 63 ++------------------------- 7339 src/liblzma/common/filter_common.c | 3 ++ 7340 src/liblzma/common/filter_encoder.c | 27 ++++++++++++ 7341 src/liblzma/common/filter_encoder.h | 2 +- 7342 src/liblzma/common/stream_encoder.c | 76 ++++++++++++++++++++++++++++----- 7343 src/liblzma/delta/delta_common.c | 5 +-- 7344 src/liblzma/delta/delta_decoder.c | 3 +- 7345 src/liblzma/delta/delta_encoder.c | 17 +++++++- 7346 src/liblzma/delta/delta_private.h | 2 +- 7347 src/liblzma/lz/lz_encoder.c | 17 ++++++++ 7348 src/liblzma/lz/lz_encoder.h | 4 ++ 7349 src/liblzma/lzma/lzma2_encoder.c | 59 ++++++++++++++----------- 7350 src/liblzma/lzma/lzma_encoder_presets.c | 1 - 7351 src/liblzma/simple/simple_coder.c | 12 ++++++ 7352 src/xz/options.c | 1 - 7353 20 files changed, 273 insertions(+), 118 deletions(-) 7354 7355commit f0bf7634b77263a4dd02b20c71861ab67995da68 7356Author: Lasse Collin <lasse.collin@tukaani.org> 7357Date: 2009-10-17 11:11:58 +0300 7358 7359 Fix wrong function name in the previous commit. 7360 7361 It was meant to be lzma_filters_copy(), not lzma_filters_dup(). 7362 7363 src/liblzma/api/lzma/filter.h | 2 +- 7364 src/liblzma/common/filter_common.c | 2 +- 7365 2 files changed, 2 insertions(+), 2 deletions(-) 7366 7367commit 6d118a0b9def82e96afba7386ec8d7da0b59649f 7368Author: Lasse Collin <lasse.collin@tukaani.org> 7369Date: 2009-10-17 01:47:07 +0300 7370 7371 Add lzma_filters_copy(). 7372 7373 This will be needed internally by liblzma once I fix 7374 a design mistake in the encoder API. This function may 7375 be useful to applications too so it's good to export it. 7376 7377 src/liblzma/api/lzma/filter.h | 31 ++++++++++++++ 7378 src/liblzma/common/filter_common.c | 82 ++++++++++++++++++++++++++++++++++++++ 7379 2 files changed, 113 insertions(+) 7380 7381commit 78e92c18470483e161388e679c1ee556adb3a691 7382Author: Jonathan Nieder <jrnieder@gmail.com> 7383Date: 2009-10-15 20:44:13 -0500 7384 7385 Escape dashes in xzmore.1 7386 7387 A minus sign is larger, easier to see in a printout, and more 7388 likely to use the same glyph as ASCII hyphen-minus in a terminal 7389 than a hyphen. Since broken manual pagers do not find hyphens 7390 when the user searches for a hyphen-minus, minus signs are also 7391 easier to search for. So use minus signs instead of hyphens to 7392 render sample terminal output. 7393 7394 src/scripts/xzmore.1 | 4 ++-- 7395 1 file changed, 2 insertions(+), 2 deletions(-) 7396 7397commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee 7398Author: Lasse Collin <lasse.collin@tukaani.org> 7399Date: 2009-10-16 20:35:39 +0300 7400 7401 Mention --check=none in --long-help. It was already in 7402 the man page though. 7403 7404 Thanks to Jim Meyering for noticing this. 7405 7406 src/xz/message.c | 2 +- 7407 1 file changed, 1 insertion(+), 1 deletion(-) 7408 7409commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24 7410Author: Lasse Collin <lasse.collin@tukaani.org> 7411Date: 2009-10-04 22:57:12 +0300 7412 7413 Use a tuklib module for integer handling. 7414 7415 This replaces bswap.h and integer.h. 7416 7417 The tuklib module uses <byteswap.h> on GNU, 7418 <sys/endian.h> on *BSDs and <sys/byteorder.h> 7419 on Solaris, which may contain optimized code 7420 like inline assembly. 7421 7422 configure.ac | 54 +---- 7423 m4/tuklib_integer.m4 | 74 +++++++ 7424 src/common/bswap.h | 52 ----- 7425 src/common/integer.h | 170 --------------- 7426 src/common/tuklib_config.h | 8 +- 7427 src/common/tuklib_integer.h | 350 ++++++++++++++++++++++++++++++ 7428 src/liblzma/check/check.c | 4 +- 7429 src/liblzma/check/crc32_fast.c | 4 +- 7430 src/liblzma/check/crc32_tablegen.c | 8 +- 7431 src/liblzma/check/crc64_fast.c | 4 +- 7432 src/liblzma/check/crc64_tablegen.c | 8 +- 7433 src/liblzma/check/crc_macros.h | 2 - 7434 src/liblzma/check/sha256.c | 18 +- 7435 src/liblzma/common/alone_encoder.c | 2 +- 7436 src/liblzma/common/block_header_decoder.c | 2 +- 7437 src/liblzma/common/block_header_encoder.c | 2 +- 7438 src/liblzma/common/common.h | 2 +- 7439 src/liblzma/common/stream_flags_decoder.c | 6 +- 7440 src/liblzma/common/stream_flags_encoder.c | 6 +- 7441 src/liblzma/lz/lz_encoder_hash.h | 2 +- 7442 src/liblzma/lzma/lzma_decoder.c | 2 +- 7443 src/liblzma/lzma/lzma_encoder.c | 2 +- 7444 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 7445 src/liblzma/simple/simple_decoder.c | 2 +- 7446 src/liblzma/simple/simple_encoder.c | 2 +- 7447 tests/test_block_header.c | 4 +- 7448 tests/test_stream_flags.c | 6 +- 7449 tests/tests.h | 2 +- 7450 28 files changed, 467 insertions(+), 333 deletions(-) 7451 7452commit 29fd321033276261b87da7be5223db33d879a4c7 7453Author: Lasse Collin <lasse.collin@tukaani.org> 7454Date: 2009-10-02 14:35:56 +0300 7455 7456 Add support for --enable-assume-ram=SIZE. 7457 7458 INSTALL | 16 ++++++++++++++++ 7459 configure.ac | 24 ++++++++++++++++++++++++ 7460 src/xz/hardware.c | 7 +++---- 7461 src/xzdec/xzdec.c | 5 +++-- 7462 4 files changed, 46 insertions(+), 6 deletions(-) 7463 7464commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25 7465Author: Lasse Collin <lasse.collin@tukaani.org> 7466Date: 2009-10-02 11:28:17 +0300 7467 7468 Use unaligned access (if possible) on both endiannesses 7469 in lz_encoder_hash.h. 7470 7471 src/liblzma/lz/lz_encoder_hash.h | 4 ++-- 7472 1 file changed, 2 insertions(+), 2 deletions(-) 7473 7474commit c5f68b5cc79085a87f950fea53843e27f328068e 7475Author: Lasse Collin <lasse.collin@tukaani.org> 7476Date: 2009-10-02 11:03:26 +0300 7477 7478 Make liblzma produce the same output on both endiannesses. 7479 7480 Seems that it is a problem in some cases if the same 7481 version of XZ Utils produces different output on different 7482 endiannesses, so this commit fixes that problem. The output 7483 will still vary between different XZ Utils versions, but I 7484 cannot avoid that for now. 7485 7486 This commit bloatens the code on big endian systems by 1 KiB, 7487 which should be OK since liblzma is bloated already. ;-) 7488 7489 src/liblzma/check/crc32_tablegen.c | 30 +++++++++++++++ 7490 src/liblzma/lz/Makefile.inc | 1 + 7491 src/liblzma/lz/lz_encoder.c | 7 +++- 7492 src/liblzma/lz/lz_encoder_hash.h | 35 +++++++++++------ 7493 src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++++ 7494 src/liblzma/lz/lz_encoder_mf.c | 1 - 7495 6 files changed, 128 insertions(+), 14 deletions(-) 7496 7497commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a 7498Author: Mike Frysinger <vapier@gentoo.org> 7499Date: 2009-09-26 12:51:50 -0400 7500 7501 add lzmainfo to gitignore 7502 7503 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 7504 7505 .gitignore | 2 ++ 7506 1 file changed, 2 insertions(+) 7507 7508commit 188a1dcd0cc7867810ed3a55c598d0680922c63b 7509Author: Lasse Collin <lasse.collin@tukaani.org> 7510Date: 2009-09-27 11:53:36 +0300 7511 7512 Updated THANKS. 7513 7514 THANKS | 1 + 7515 1 file changed, 1 insertion(+) 7516 7517commit db9119b9181b307e7ac5d2bae82444d04b902b59 7518Author: Lasse Collin <lasse.collin@tukaani.org> 7519Date: 2009-09-27 11:48:54 +0300 7520 7521 Work around a bug in Interix header files. 7522 7523 Thanks to Markus Duft for the patch. 7524 7525 src/common/sysdefs.h | 6 ++++++ 7526 1 file changed, 6 insertions(+) 7527 7528commit b3d105e69786a45963176fd2193abe75e05ba738 7529Author: Lasse Collin <lasse.collin@tukaani.org> 7530Date: 2009-09-24 17:50:17 +0300 7531 7532 Fix an error in OpenVMS-specific code. 7533 7534 Thanks to Jouk Jansen. 7535 7536 src/xz/file_io.c | 2 +- 7537 1 file changed, 1 insertion(+), 1 deletion(-) 7538 7539commit 5e000ff00d4d01e559397b49eb648ad3f159d496 7540Author: Lasse Collin <lasse.collin@tukaani.org> 7541Date: 2009-09-22 18:59:56 +0300 7542 7543 Added OpenVMS-specific information to INSTALL. 7544 7545 INSTALL | 11 +++++++++++ 7546 1 file changed, 11 insertions(+) 7547 7548commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4 7549Author: Lasse Collin <lasse.collin@tukaani.org> 7550Date: 2009-09-22 14:03:02 +0300 7551 7552 Better fixes for OpenVMS support. 7553 7554 Thanks to Jouk Jansen. 7555 7556 src/xz/file_io.c | 19 ++++++++++++++++--- 7557 1 file changed, 16 insertions(+), 3 deletions(-) 7558 7559commit 4c3630ec4179fe9265407a35c4db1374ffc82372 7560Author: Lasse Collin <lasse.collin@tukaani.org> 7561Date: 2009-09-22 13:40:19 +0300 7562 7563 Avoid non-standard preprocessor construct. 7564 7565 Thanks to Jouk Jansen. 7566 7567 src/common/tuklib_common.h | 11 +++++++---- 7568 1 file changed, 7 insertions(+), 4 deletions(-) 7569 7570commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9 7571Author: Lasse Collin <lasse.collin@tukaani.org> 7572Date: 2009-09-21 19:50:09 +0300 7573 7574 Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin. 7575 7576 Thanks to Charles Wilson. 7577 7578 src/common/tuklib_common.h | 3 ++- 7579 1 file changed, 2 insertions(+), 1 deletion(-) 7580 7581commit e599bba4216c0edb8cc8f40adad3a6dba88685f4 7582Author: Lasse Collin <lasse.collin@tukaani.org> 7583Date: 2009-09-19 09:47:30 +0300 7584 7585 Various changes. 7586 7587 Separate a few reusable components from XZ Utils specific 7588 code. The reusable code is now in "tuklib" modules. A few 7589 more could be separated still, e.g. bswap.h. 7590 7591 Fix some bugs in lzmainfo. 7592 7593 Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol 7594 for help. 7595 7596 Add OpenVMS support into physmem. Add a few #ifdefs to ease 7597 building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the 7598 original patch. 7599 7600 THANKS | 1 + 7601 configure.ac | 12 ++-- 7602 m4/lc_cpucores.m4 | 57 ---------------- 7603 m4/lc_physmem.m4 | 84 ----------------------- 7604 m4/tuklib_common.m4 | 22 ++++++ 7605 m4/tuklib_cpucores.m4 | 72 ++++++++++++++++++++ 7606 m4/tuklib_physmem.m4 | 119 ++++++++++++++++++++++++++++++++ 7607 m4/tuklib_progname.m4 | 25 +++++++ 7608 src/common/cpucores.h | 51 -------------- 7609 src/common/open_stdxxx.h | 49 -------------- 7610 src/common/physmem.h | 144 --------------------------------------- 7611 src/common/sysdefs.h | 4 -- 7612 src/common/tuklib_common.h | 67 ++++++++++++++++++ 7613 src/common/tuklib_config.h | 1 + 7614 src/common/tuklib_cpucores.c | 46 +++++++++++++ 7615 src/common/tuklib_cpucores.h | 23 +++++++ 7616 src/common/tuklib_exit.c | 57 ++++++++++++++++ 7617 src/common/tuklib_exit.h | 25 +++++++ 7618 src/common/tuklib_gettext.h | 44 ++++++++++++ 7619 src/common/tuklib_open_stdxxx.c | 51 ++++++++++++++ 7620 src/common/tuklib_open_stdxxx.h | 23 +++++++ 7621 src/common/tuklib_physmem.c | 146 ++++++++++++++++++++++++++++++++++++++++ 7622 src/common/tuklib_physmem.h | 28 ++++++++ 7623 src/common/tuklib_progname.c | 50 ++++++++++++++ 7624 src/common/tuklib_progname.h | 32 +++++++++ 7625 src/lzmainfo/Makefile.am | 5 +- 7626 src/lzmainfo/lzmainfo.c | 65 ++++++------------ 7627 src/xz/Makefile.am | 7 +- 7628 src/xz/args.c | 8 +-- 7629 src/xz/file_io.c | 43 ++++++------ 7630 src/xz/hardware.c | 8 +-- 7631 src/xz/main.c | 100 ++++++--------------------- 7632 src/xz/main.h | 7 -- 7633 src/xz/message.c | 30 +++++---- 7634 src/xz/message.h | 8 +-- 7635 src/xz/private.h | 11 +-- 7636 src/xz/signals.c | 2 + 7637 src/xz/signals.h | 17 +++-- 7638 src/xz/suffix.c | 2 +- 7639 src/xzdec/Makefile.am | 13 +++- 7640 src/xzdec/xzdec.c | 55 +++++---------- 7641 41 files changed, 974 insertions(+), 640 deletions(-) 7642 7643commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef 7644Author: Lasse Collin <lasse.collin@tukaani.org> 7645Date: 2009-09-15 21:07:23 +0300 7646 7647 Fix incorrect use of "restrict". 7648 7649 src/liblzma/api/lzma/vli.h | 4 ++-- 7650 src/liblzma/common/vli_decoder.c | 2 +- 7651 src/liblzma/common/vli_encoder.c | 2 +- 7652 3 files changed, 4 insertions(+), 4 deletions(-) 7653 7654commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c 7655Author: Lasse Collin <lasse.collin@tukaani.org> 7656Date: 2009-09-12 14:09:17 +0300 7657 7658 Fix GCC version check for nothrow attribute. 7659 7660 src/liblzma/api/lzma.h | 2 +- 7661 1 file changed, 1 insertion(+), 1 deletion(-) 7662 7663commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224 7664Author: Lasse Collin <lasse.collin@tukaani.org> 7665Date: 2009-09-12 14:08:15 +0300 7666 7667 Updated THANKS. 7668 7669 THANKS | 1 + 7670 1 file changed, 1 insertion(+) 7671 7672commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac 7673Author: Lasse Collin <lasse.collin@tukaani.org> 7674Date: 2009-09-12 14:07:36 +0300 7675 7676 A few grammar fixes. 7677 7678 Thanks to Christian Weisgerber for pointing out some of these. 7679 7680 src/liblzma/api/lzma.h | 4 ++-- 7681 src/liblzma/api/lzma/vli.h | 4 ++-- 7682 src/liblzma/common/block_header_encoder.c | 2 +- 7683 src/liblzma/common/filter_common.c | 2 +- 7684 src/liblzma/lz/lz_encoder.h | 10 +++++----- 7685 src/xz/message.c | 22 +++++++++++----------- 7686 src/xzdec/xzdec.c | 2 +- 7687 7 files changed, 23 insertions(+), 23 deletions(-) 7688 7689commit 8905a33daadcd2d6557c83c81c490b827d566c94 7690Author: Lasse Collin <lasse.collin@tukaani.org> 7691Date: 2009-09-11 17:08:15 +0300 7692 7693 Updated THANKS. 7694 7695 THANKS | 1 + 7696 1 file changed, 1 insertion(+) 7697 7698commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9 7699Author: Lasse Collin <lasse.collin@tukaani.org> 7700Date: 2009-09-11 17:06:32 +0300 7701 7702 Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors. 7703 7704 dos/config.h | 3 +++ 7705 windows/config.h | 3 +++ 7706 2 files changed, 6 insertions(+) 7707 7708commit 221be761f467da76875247bc02d7a1716682075d 7709Author: Lasse Collin <lasse.collin@tukaani.org> 7710Date: 2009-09-11 10:24:09 +0300 7711 7712 Use $(LN_EXEEXT) in symlinks to executables. 7713 7714 This fixes "make install" on operating systems using 7715 a suffix for executables. 7716 7717 Cygwin is treated specially. The symlink names won't have 7718 .exe suffix even though the executables themselves have. 7719 Thanks to Charles Wilson. 7720 7721 configure.ac | 9 +++++++++ 7722 src/xz/Makefile.am | 4 ++-- 7723 2 files changed, 11 insertions(+), 2 deletions(-) 7724 7725commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c 7726Author: Lasse Collin <lasse.collin@tukaani.org> 7727Date: 2009-09-11 09:25:09 +0300 7728 7729 Fix a couple of warnings. 7730 7731 src/liblzma/common/stream_decoder.c | 2 +- 7732 src/liblzma/lz/lz_encoder.c | 5 +---- 7733 src/liblzma/lzma/lzma_encoder.c | 2 +- 7734 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++---- 7735 tests/tests.h | 2 +- 7736 5 files changed, 8 insertions(+), 11 deletions(-) 7737 7738commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4 7739Author: Lasse Collin <lasse.collin@tukaani.org> 7740Date: 2009-09-05 18:39:21 +0300 7741 7742 Add OS/2-specific code to physmem.h. 7743 7744 Also move DJGPP-specific code near the code meant 7745 for other DOS-like systems. 7746 7747 src/common/physmem.h | 32 +++++++++++++++++++++----------- 7748 1 file changed, 21 insertions(+), 11 deletions(-) 7749 7750commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740 7751Author: Lasse Collin <lasse.collin@tukaani.org> 7752Date: 2009-09-05 01:21:15 +0300 7753 7754 Updated THANKS. 7755 7756 THANKS | 2 ++ 7757 1 file changed, 2 insertions(+) 7758 7759commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071 7760Author: Lasse Collin <lasse.collin@tukaani.org> 7761Date: 2009-09-05 01:20:29 +0300 7762 7763 Use sysctl() != -1 instead of !sysctl() to check if 7764 the function call succeeded. 7765 7766 NetBSD 4.0 returns positive values on success, but 7767 NetBSD Current and FreeBSD return zero. OpenBSD's 7768 man page doesn't tell what sysctl() returns on 7769 success. All these BSDs return -1 on error. 7770 7771 Thanks to Robert Elz and Thomas Klausner. 7772 7773 src/common/cpucores.h | 2 +- 7774 src/common/physmem.h | 2 +- 7775 2 files changed, 2 insertions(+), 2 deletions(-) 7776 7777commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32 7778Author: Lasse Collin <lasse.collin@tukaani.org> 7779Date: 2009-09-02 09:43:51 +0300 7780 7781 Mention in INSTALL that --enable-small doesn't modify CFLAGS. 7782 7783 INSTALL | 4 ++++ 7784 1 file changed, 4 insertions(+) 7785 7786commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc 7787Author: Lasse Collin <lasse.collin@tukaani.org> 7788Date: 2009-09-01 20:40:01 +0300 7789 7790 Refactored option parsing. 7791 7792 src/xz/options.c | 70 ++++++++++++++++++++++++++++---------------------------- 7793 1 file changed, 35 insertions(+), 35 deletions(-) 7794 7795commit 25adaaa56e2e51a47a910a8d73452414619a2e53 7796Author: Lasse Collin <lasse.collin@tukaani.org> 7797Date: 2009-09-01 20:23:30 +0300 7798 7799 Fix options parsing bug in xz. 7800 7801 xz used to reject "xz --lzma2=pb=2," while 7802 "xz --lzma2=pb=2,," worked. Now both work. 7803 7804 src/xz/options.c | 6 ++---- 7805 1 file changed, 2 insertions(+), 4 deletions(-) 7806 7807commit 5f6dddc6c911df02ba660564e78e6de80947c947 7808Author: Lasse Collin <lasse.collin@tukaani.org> 7809Date: 2009-09-01 20:20:19 +0300 7810 7811 Updated TODO. 7812 7813 TODO | 3 +++ 7814 1 file changed, 3 insertions(+) 7815 7816commit 655457b9ada5ec7db398c5392e41290f3f332ea8 7817Author: Lasse Collin <lasse.collin@tukaani.org> 7818Date: 2009-08-31 21:59:25 +0300 7819 7820 Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 7821 and use a fix that works on all systems using 7822 GNU assembler. 7823 7824 Maybe the assembler code is used e.g. on Solaris x86 7825 but let's worry about it if this doesn't work on it. 7826 7827 src/liblzma/check/crc32_x86.S | 7 ++----- 7828 src/liblzma/check/crc64_x86.S | 7 ++----- 7829 2 files changed, 4 insertions(+), 10 deletions(-) 7830 7831commit 162189c3477953805a28f96d3a75cb9ab9417928 7832Author: Lasse Collin <lasse.collin@tukaani.org> 7833Date: 2009-08-30 17:29:19 +0300 7834 7835 Updated THANKS. 7836 7837 THANKS | 1 + 7838 1 file changed, 1 insertion(+) 7839 7840commit 2331f5f97af3e5897e23da45d9df3d664099c7f8 7841Author: Lasse Collin <lasse.collin@tukaani.org> 7842Date: 2009-08-30 17:28:52 +0300 7843 7844 Add more OS/2 specific info to INSTALL. 7845 7846 INSTALL | 5 +++++ 7847 1 file changed, 5 insertions(+) 7848 7849commit 94c66b3297b3ad307eee93cf6b160e3c43997f11 7850Author: Lasse Collin <lasse.collin@tukaani.org> 7851Date: 2009-08-29 14:43:52 +0300 7852 7853 Use even more hackish way to support thousand separators. 7854 7855 Seems that in addition on Windows and DOS, also OpenBSD 7856 lacks support for %'d style printf() format strings. 7857 So far that is the only modern POSIX-like system I know 7858 with this problem, but after this hack, the thousand 7859 separator shouldn't be a problem on any system. 7860 7861 Maybe testing if a format string like %'d produces 7862 reasonable output is invoking undefined behavior on some 7863 systems, but so far all the problematic systems I've tried 7864 just print the raw format string (e.g. %'d prints 'd). 7865 7866 Maybe Autoconf test would have been better, but this 7867 hack works also for cross-compilation, and avoids 7868 recompilation in case the system libc starts to support 7869 the thousand separator. 7870 7871 src/xz/util.c | 36 +++++++++++++++++++++++++----------- 7872 1 file changed, 25 insertions(+), 11 deletions(-) 7873 7874commit 3432e9c6aab851da1227b63dce645d7f190c04d8 7875Author: Lasse Collin <lasse.collin@tukaani.org> 7876Date: 2009-08-29 13:42:56 +0300 7877 7878 Updated THANKS. 7879 7880 THANKS | 3 +++ 7881 1 file changed, 3 insertions(+) 7882 7883commit 27414daadf5727e8ab942374b5ec1c8990122878 7884Author: Lasse Collin <lasse.collin@tukaani.org> 7885Date: 2009-08-29 13:39:21 +0300 7886 7887 Fix sysctl() usage. 7888 7889 This fixes build on *BSDs and Darwin. 7890 7891 Thanks to Jukka Salmi for the patches. 7892 Richard Koch reported the problem too. 7893 7894 m4/lc_cpucores.m4 | 2 +- 7895 m4/lc_physmem.m4 | 2 +- 7896 src/common/cpucores.h | 2 +- 7897 src/common/physmem.h | 2 +- 7898 4 files changed, 4 insertions(+), 4 deletions(-) 7899 7900commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 7901Author: Lasse Collin <lasse.collin@tukaani.org> 7902Date: 2009-08-29 13:35:23 +0300 7903 7904 Fix x86 assembler on GCC 3. 7905 7906 Thanks to Karl Berry. 7907 7908 src/liblzma/check/crc32_x86.S | 7 +++++-- 7909 src/liblzma/check/crc64_x86.S | 7 +++++-- 7910 2 files changed, 10 insertions(+), 4 deletions(-) 7911 7912commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8 7913Author: Lasse Collin <lasse.collin@tukaani.org> 7914Date: 2009-08-27 18:36:59 +0300 7915 7916 "make dist" fixes 7917 7918 Makefile.am | 13 ++++++------- 7919 1 file changed, 6 insertions(+), 7 deletions(-) 7920 7921commit c8c184db1c95bf70f78256ec6237845a57f342af 7922Author: Lasse Collin <lasse.collin@tukaani.org> 7923Date: 2009-08-27 17:08:33 +0300 7924 7925 Update xz man page date. 7926 7927 src/xz/xz.1 | 2 +- 7928 1 file changed, 1 insertion(+), 1 deletion(-) 7929 7930commit 9756fce565e98b8fa5fe6ead296d84e7601ec254 7931Author: Lasse Collin <lasse.collin@tukaani.org> 7932Date: 2009-08-27 17:00:22 +0300 7933 7934 Fix the debug directory. 7935 7936 6a2eb54092fc625d59921a607ff68cd1a90aa898 and 7937 71f18e8a066a01dda0c8e5508b135ef104e43e4c required 7938 some changes that weren't applied in debug. 7939 7940 debug/Makefile.am | 5 +++-- 7941 debug/full_flush.c | 1 + 7942 debug/known_sizes.c | 1 + 7943 debug/memusage.c | 1 + 7944 debug/sync_flush.c | 1 + 7945 5 files changed, 7 insertions(+), 2 deletions(-) 7946 7947commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea 7948Author: Lasse Collin <lasse.collin@tukaani.org> 7949Date: 2009-08-27 16:36:40 +0300 7950 7951 Add missing files to EXTRA_DIST. 7952 7953 Makefile.am | 11 +++++++---- 7954 1 file changed, 7 insertions(+), 4 deletions(-) 7955 7956commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d 7957Author: Lasse Collin <lasse.collin@tukaani.org> 7958Date: 2009-08-27 16:21:22 +0300 7959 7960 Bumped version to 4.999.9beta. 7961 7962 src/liblzma/api/lzma/version.h | 2 +- 7963 1 file changed, 1 insertion(+), 1 deletion(-) 7964 7965commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4 7966Author: Lasse Collin <lasse.collin@tukaani.org> 7967Date: 2009-08-27 16:17:47 +0300 7968 7969 Updated THANKS. 7970 7971 THANKS | 2 ++ 7972 1 file changed, 2 insertions(+) 7973 7974commit c29e76c0f910fca0a90a50b78d337f6c32623e9d 7975Author: Lasse Collin <lasse.collin@tukaani.org> 7976Date: 2009-08-27 16:12:52 +0300 7977 7978 .xz file format specification 1.0.4 (probably). 7979 7980 Thanks to Christian von Roques, Peter Lawler, 7981 and Jim Meyering for the fixes. 7982 7983 doc/xz-file-format.txt | 26 +++++++++++++++----------- 7984 1 file changed, 15 insertions(+), 11 deletions(-) 7985 7986commit 696d7ee3953beaf4f0ed18e78917ccf300431966 7987Author: Lasse Collin <lasse.collin@tukaani.org> 7988Date: 2009-08-27 15:43:54 +0300 7989 7990 Require GNU libtool 2.2. 7991 7992 configure.ac | 13 +++---------- 7993 1 file changed, 3 insertions(+), 10 deletions(-) 7994 7995commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d 7996Author: Lasse Collin <lasse.collin@tukaani.org> 7997Date: 2009-08-27 15:34:45 +0300 7998 7999 Add "dos" to EXTRA_DIST. 8000 8001 Makefile.am | 1 + 8002 1 file changed, 1 insertion(+) 8003 8004commit 35b29e4424ced5a3ababf132283e519080c7b298 8005Author: Lasse Collin <lasse.collin@tukaani.org> 8006Date: 2009-08-27 15:23:27 +0300 8007 8008 Updated TODO. 8009 8010 TODO | 6 ++++++ 8011 1 file changed, 6 insertions(+) 8012 8013commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea 8014Author: Lasse Collin <lasse.collin@tukaani.org> 8015Date: 2009-08-27 15:17:00 +0300 8016 8017 Some xz man page improvements. 8018 8019 src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++++------------- 8020 1 file changed, 62 insertions(+), 16 deletions(-) 8021 8022commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d 8023Author: Lasse Collin <lasse.collin@tukaani.org> 8024Date: 2009-08-27 10:41:01 +0300 8025 8026 Removed doc/bugs.txt. 8027 8028 doc/bugs.txt | 46 ---------------------------------------------- 8029 1 file changed, 46 deletions(-) 8030 8031commit d88c4072b36d3a76f839185799fb1d91037a1b81 8032Author: Lasse Collin <lasse.collin@tukaani.org> 8033Date: 2009-08-27 10:40:25 +0300 8034 8035 Updated README. 8036 8037 It now includes bug reporting instructions/tips. 8038 8039 README | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 8040 1 file changed, 55 insertions(+), 10 deletions(-) 8041 8042commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e 8043Author: Lasse Collin <lasse.collin@tukaani.org> 8044Date: 2009-08-27 10:21:18 +0300 8045 8046 Fix a typo in FAQ. 8047 8048 Thanks to Jim Meyering. 8049 8050 (From now on, I try to always remember to put 8051 the relevant thanks to commit messages.) 8052 8053 doc/faq.txt | 2 +- 8054 1 file changed, 1 insertion(+), 1 deletion(-) 8055 8056commit 3e2ba8b58585743e59251e69ad2783eb08357079 8057Author: Lasse Collin <lasse.collin@tukaani.org> 8058Date: 2009-08-27 10:13:46 +0300 8059 8060 Updates to liblzma API headers. 8061 8062 Added lzma_nothrow for every function. It adds 8063 throw() when the header is used in C++ code. 8064 8065 Some lzma_attrs were added or removed. 8066 8067 Lots of comments were improved. 8068 8069 src/liblzma/api/lzma.h | 20 ++++++++ 8070 src/liblzma/api/lzma/base.h | 48 +++++++++--------- 8071 src/liblzma/api/lzma/block.h | 38 ++++++++------- 8072 src/liblzma/api/lzma/check.h | 22 +++++---- 8073 src/liblzma/api/lzma/container.h | 36 ++++++++------ 8074 src/liblzma/api/lzma/filter.h | 81 +++++++++++++++++++------------ 8075 src/liblzma/api/lzma/index.h | 97 ++++++++++++++++++++++--------------- 8076 src/liblzma/api/lzma/index_hash.h | 14 ++++-- 8077 src/liblzma/api/lzma/lzma.h | 87 +++++++++++++++++---------------- 8078 src/liblzma/api/lzma/stream_flags.h | 12 ++--- 8079 src/liblzma/api/lzma/version.h | 10 ++-- 8080 src/liblzma/api/lzma/vli.h | 7 +-- 8081 12 files changed, 275 insertions(+), 197 deletions(-) 8082 8083commit 8e8ebc17c535a1f8846718059b48417409c37050 8084Author: Lasse Collin <lasse.collin@tukaani.org> 8085Date: 2009-08-18 00:30:09 +0300 8086 8087 Install faq.txt. 8088 8089 Makefile.am | 1 + 8090 1 file changed, 1 insertion(+) 8091 8092commit b198e770a146e4a41f91a93f0b233713f2515848 8093Author: Lasse Collin <lasse.collin@tukaani.org> 8094Date: 2009-08-18 00:26:48 +0300 8095 8096 Updated faq.txt. 8097 8098 Some questions worth answering were removed, because I 8099 currently don't have good up to date answers to them. 8100 8101 doc/faq.txt | 239 +++++++++++++++++++----------------------------------------- 8102 1 file changed, 73 insertions(+), 166 deletions(-) 8103 8104commit fe111a25cd788d31b581996e4533910388a7f0a9 8105Author: Lasse Collin <lasse.collin@tukaani.org> 8106Date: 2009-08-17 22:45:50 +0300 8107 8108 Some xz man changes. 8109 8110 src/xz/xz.1 | 88 ++++++++++++++++++++++++++++++------------------------------- 8111 1 file changed, 43 insertions(+), 45 deletions(-) 8112 8113commit 10242a21e9abda0c5c6a03501703cc40b8a699a5 8114Author: Lasse Collin <lasse.collin@tukaani.org> 8115Date: 2009-08-16 22:15:42 +0300 8116 8117 Updated THANKS. 8118 8119 THANKS | 1 + 8120 1 file changed, 1 insertion(+) 8121 8122commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d 8123Author: Lasse Collin <lasse.collin@tukaani.org> 8124Date: 2009-08-16 22:15:13 +0300 8125 8126 Fix data corruption in LZ/LZMA2 encoder. 8127 8128 Thanks to Jonathan Stott for the bug report. 8129 8130 src/liblzma/lz/lz_encoder.h | 2 +- 8131 1 file changed, 1 insertion(+), 1 deletion(-) 8132 8133commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a 8134Author: Lasse Collin <lasse.collin@tukaani.org> 8135Date: 2009-08-13 15:15:37 +0300 8136 8137 Updated INSTALL and PACKAGERS to match the changes 8138 made in --enable-dynamic. 8139 8140 INSTALL | 20 ++++++++++++++++---- 8141 PACKAGERS | 11 ++++++----- 8142 2 files changed, 22 insertions(+), 9 deletions(-) 8143 8144commit 8238c4b2402f952c4e492e5b778aa272e57b6705 8145Author: Lasse Collin <lasse.collin@tukaani.org> 8146Date: 2009-08-13 15:03:46 +0300 8147 8148 Link lzmainfo against shared liblzma by default. 8149 8150 src/lzmainfo/Makefile.am | 4 ++-- 8151 1 file changed, 2 insertions(+), 2 deletions(-) 8152 8153commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c 8154Author: Lasse Collin <lasse.collin@tukaani.org> 8155Date: 2009-08-13 15:00:21 +0300 8156 8157 Make --enable-dynamic a tristate option. 8158 8159 Some programs will by default be linked against static 8160 liblzma and some against shared liblzma. --enable-dynamic 8161 now allows overriding the default to both directions 8162 (all dynamic or all static) even when building both 8163 shared and static liblzma. 8164 8165 This is quite messy compared to how simple thing it is supposed 8166 to be. The complexity is mostly due to Windows support. 8167 8168 configure.ac | 77 ++++++++++++++++++++++++++++++++++++++++++++---------------- 8169 1 file changed, 57 insertions(+), 20 deletions(-) 8170 8171commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61 8172Author: Lasse Collin <lasse.collin@tukaani.org> 8173Date: 2009-08-13 12:56:47 +0300 8174 8175 Fix xz Makefile.am for the man page. 8176 8177 install-exec-hook -> install-data-hook 8178 8179 src/xz/Makefile.am | 2 ++ 8180 1 file changed, 2 insertions(+) 8181 8182commit e51b4e49e800bd84e6d589dca2964d3985e88139 8183Author: Lasse Collin <lasse.collin@tukaani.org> 8184Date: 2009-08-13 12:55:45 +0300 8185 8186 Add lzmainfo for backward compatibility with LZMA Utils. 8187 8188 lzmainfo now links against static liblzma. In contrast 8189 to other command line tools in XZ Utils, linking lzmainfo 8190 against static liblzma by default is dumb. This will be 8191 fixed once I have fixed some related issues in configure.ac. 8192 8193 configure.ac | 1 + 8194 src/Makefile.am | 2 +- 8195 src/lzmainfo/Makefile.am | 29 ++++++ 8196 src/lzmainfo/lzmainfo.1 | 55 +++++++++++ 8197 src/lzmainfo/lzmainfo.c | 242 +++++++++++++++++++++++++++++++++++++++++++++++ 8198 5 files changed, 328 insertions(+), 1 deletion(-) 8199 8200commit a4165d0584376d948c213ec93c6065d24ff6a5e7 8201Author: Lasse Collin <lasse.collin@tukaani.org> 8202Date: 2009-08-13 12:42:36 +0300 8203 8204 Sync some error messages from xz to xzdec. 8205 8206 Make xz error message translation usable outside 8207 xz (at least in upcoming lzmainfo). 8208 8209 src/xz/main.c | 4 ++-- 8210 src/xzdec/xzdec.c | 6 +++--- 8211 2 files changed, 5 insertions(+), 5 deletions(-) 8212 8213commit df636eb4e066b4e154ce8e66e82c87ba1db652a6 8214Author: Lasse Collin <lasse.collin@tukaani.org> 8215Date: 2009-08-13 09:37:21 +0300 8216 8217 Add xz man page to manfiles in toplevel Makefile.am. 8218 8219 Makefile.am | 1 + 8220 1 file changed, 1 insertion(+) 8221 8222commit 180bdf58ea5bb07941e0a99b304d9aa832198748 8223Author: Lasse Collin <lasse.collin@tukaani.org> 8224Date: 2009-08-13 09:37:01 +0300 8225 8226 Fix first line of xz man page. 8227 8228 src/xz/xz.1 | 2 +- 8229 1 file changed, 1 insertion(+), 1 deletion(-) 8230 8231commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4 8232Author: Lasse Collin <lasse.collin@tukaani.org> 8233Date: 2009-08-10 11:22:31 +0300 8234 8235 Added a rough version of the xz man page. 8236 8237 src/xz/Makefile.am | 15 + 8238 src/xz/xz.1 | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 8239 2 files changed, 1221 insertions(+) 8240 8241commit e71903fc6101f1c039d702e335b08aad1e1b4100 8242Author: Jonathan Nieder <jrnieder@gmail.com> 8243Date: 2009-08-09 13:41:20 -0500 8244 8245 “xzdiff a.xz b.xz” always fails 8246 8247 Attempts to compare two compressed files result in no output and 8248 exit status 2. 8249 8250 Instead of going to standard output, ‘diff’ output is being 8251 captured in the xz_status variable along with the exit status from 8252 the decompression commands. Later, when this variable is examined 8253 for nonzero status codes, numerals from dates in the ‘diff’ output 8254 make it appear as though decompression failed. 8255 8256 So let the ‘diff’ output leak to standard output with another file 8257 descriptor. (This trick is used in all similar contexts elsewhere 8258 in xzdiff and in the analogous context in gzip’s zdiff script.) 8259 8260 src/scripts/xzdiff.in | 2 +- 8261 1 file changed, 1 insertion(+), 1 deletion(-) 8262 8263commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c 8264Author: Jonathan Nieder <jrnieder@gmail.com> 8265Date: 2009-08-09 13:22:12 -0500 8266 8267 xzless: Support compressed standard input 8268 8269 It can be somewhat confusing that 8270 8271 less < some_file.txt 8272 8273 works fine, whereas 8274 8275 xzless < some_file.txt.xz 8276 8277 does not. Since version 429, ‘less’ allows a filter specified in 8278 the LESSOPEN environment variable to preprocess its input even if 8279 it comes from standard input, if $LESSOPEN begins with ‘|-’. So 8280 set $LESSOPEN to take advantage of this feature. 8281 8282 Check less’s version at runtime so xzless can continue to work 8283 with older versions. 8284 8285 src/scripts/xzless.in | 8 +++++++- 8286 1 file changed, 7 insertions(+), 1 deletion(-) 8287 8288commit a7f5d2fe4826ac68839d00059f05004fb81d5c69 8289Author: Lasse Collin <lasse.collin@tukaani.org> 8290Date: 2009-08-09 20:57:46 +0300 8291 8292 GPLv2+ not GPLv2 for Doxyfile.in is probably OK. 8293 8294 Doxyfile.in | 2 +- 8295 1 file changed, 1 insertion(+), 1 deletion(-) 8296 8297commit b735cde20cc14857136ae65a0e5d336ed7ddc862 8298Author: Lasse Collin <lasse.collin@tukaani.org> 8299Date: 2009-08-02 00:27:29 +0300 8300 8301 Added a copyright notice to Doxyfile.in since it contains 8302 lots of comments from Doxygen. 8303 8304 It seems that the Doxygen authors' intent is to not apply 8305 their copyright on generated files, but since it doesn't 8306 matter for XZ Utils at all, better safe than sorry. 8307 8308 Doxyfile.in | 3 +++ 8309 1 file changed, 3 insertions(+) 8310 8311commit 0fd157cc008446adfc8f91394f5503868025a642 8312Author: Lasse Collin <lasse.collin@tukaani.org> 8313Date: 2009-08-02 00:11:37 +0300 8314 8315 Updated THANKS. 8316 8317 THANKS | 1 + 8318 1 file changed, 1 insertion(+) 8319 8320commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f 8321Author: Lasse Collin <lasse.collin@tukaani.org> 8322Date: 2009-08-02 00:10:22 +0300 8323 8324 Updated TODO. 8325 8326 TODO | 4 ++++ 8327 1 file changed, 4 insertions(+) 8328 8329commit 669413bb2db954bbfde3c4542fddbbab53891eb4 8330Author: Lasse Collin <lasse.collin@tukaani.org> 8331Date: 2009-07-30 12:25:55 +0300 8332 8333 Updated THANKS. 8334 8335 THANKS | 1 + 8336 1 file changed, 1 insertion(+) 8337 8338commit dbbd8fb870ae789d96497911006c869d37148c15 8339Author: Jonathan Nieder <jrnieder@gmail.com> 8340Date: 2009-07-28 17:37:24 -0500 8341 8342 xzdiff: add missing ;; to case statement 8343 8344 src/scripts/xzdiff.in | 6 +++--- 8345 1 file changed, 3 insertions(+), 3 deletions(-) 8346 8347commit adbad2d16cb5909f85d4a429011005613ea62ffe 8348Author: Lasse Collin <lasse.collin@tukaani.org> 8349Date: 2009-07-24 13:15:06 +0300 8350 8351 Added history.txt to doc_DATA. 8352 8353 Makefile.am | 1 + 8354 1 file changed, 1 insertion(+) 8355 8356commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27 8357Author: Lasse Collin <lasse.collin@tukaani.org> 8358Date: 2009-07-24 12:00:40 +0300 8359 8360 Updated .gitignore files. 8361 8362 .gitignore | 36 +++++++++++++++++++----------------- 8363 po/.gitignore | 3 +++ 8364 2 files changed, 22 insertions(+), 17 deletions(-) 8365 8366commit 2f34fb269265e3aba43a2a9c734020a45268826d 8367Author: Lasse Collin <lasse.collin@tukaani.org> 8368Date: 2009-07-24 11:34:02 +0300 8369 8370 Minor improvements to COPYING. 8371 8372 COPYING | 11 ++++++++--- 8373 1 file changed, 8 insertions(+), 3 deletions(-) 8374 8375commit 0db1befcfbc120377df4b89923762f16d25f548a 8376Author: Lasse Collin <lasse.collin@tukaani.org> 8377Date: 2009-07-23 19:10:55 +0300 8378 8379 Fix incorrect usage of getopt_long(), which caused 8380 invalid memory access if XZ_OPT was defined. 8381 8382 src/xz/args.c | 1 - 8383 1 file changed, 1 deletion(-) 8384 8385commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48 8386Author: Lasse Collin <lasse.collin@tukaani.org> 8387Date: 2009-07-20 15:43:32 +0300 8388 8389 Avoid internal error with --format=xz --lzma1. 8390 8391 src/xz/coder.c | 16 ++++++++++++---- 8392 1 file changed, 12 insertions(+), 4 deletions(-) 8393 8394commit 99f9e879a6a8bb54a65da99c12e0f390216c152a 8395Author: Lasse Collin <lasse.collin@tukaani.org> 8396Date: 2009-07-19 13:14:20 +0300 8397 8398 Major documentation update. 8399 8400 Installation and packaging instructions were added. 8401 README and other generic docs were revised. 8402 8403 Some of the documentation files are now installed to $docdir. 8404 8405 AUTHORS | 35 +++--- 8406 ChangeLog | 7 +- 8407 INSTALL | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 8408 INSTALL.generic | 302 +++++++++++++++++++++++++++++++++++++++++++++++++++ 8409 Makefile.am | 11 ++ 8410 PACKAGERS | 278 +++++++++++++++++++++++++++++++++++++++++++++++ 8411 README | 263 ++++++++++++++++++++------------------------- 8412 THANKS | 17 +-- 8413 8 files changed, 1070 insertions(+), 170 deletions(-) 8414 8415commit ef4cf1851de89022cba5674784f1a8f6343c15b0 8416Author: Lasse Collin <lasse.collin@tukaani.org> 8417Date: 2009-07-19 11:09:31 +0300 8418 8419 Added missing author notice to xzless.in. 8420 8421 src/scripts/xzless.in | 1 + 8422 1 file changed, 1 insertion(+) 8423 8424commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77 8425Author: Lasse Collin <lasse.collin@tukaani.org> 8426Date: 2009-07-18 18:54:55 +0300 8427 8428 Use AC_CONFIG_AUX_DIR to clean up the toplevel directory 8429 a little. 8430 8431 Fixed a related bug in the toplevel Makefile.am. 8432 8433 Added the build-aux directory to .gitignore. 8434 8435 .gitignore | 1 + 8436 Makefile.am | 1 - 8437 configure.ac | 3 ++- 8438 3 files changed, 3 insertions(+), 2 deletions(-) 8439 8440commit 366e436090a7a87215e9bf0e3ddcd55f05b50587 8441Author: Lasse Collin <lasse.collin@tukaani.org> 8442Date: 2009-07-18 14:34:08 +0300 8443 8444 Updated the totally outdated TODO file. 8445 8446 TODO | 117 ++++++++++++++++--------------------------------------------------- 8447 1 file changed, 27 insertions(+), 90 deletions(-) 8448 8449commit 64e498c89d8b9966e8663f43bf64d47c26c55c62 8450Author: Lasse Collin <lasse.collin@tukaani.org> 8451Date: 2009-07-18 11:26:39 +0300 8452 8453 Added public domain notice into a few files. 8454 8455 src/common/common_w32res.rc | 9 ++++++++- 8456 src/liblzma/liblzma.pc.in | 7 +++++++ 8457 src/liblzma/liblzma_w32res.rc | 7 +++++++ 8458 src/xz/xz_w32res.rc | 7 +++++++ 8459 src/xzdec/xzdec_w32res.rc | 7 +++++++ 8460 5 files changed, 36 insertions(+), 1 deletion(-) 8461 8462commit a35755c5de808df027675688855d1b621a4fb428 8463Author: Lasse Collin <lasse.collin@tukaani.org> 8464Date: 2009-07-14 21:10:36 +0300 8465 8466 Allow extra commas in filter-specific options on xz command line. 8467 8468 This may slightly ease writing scripts that construct 8469 filter-specific option strings dynamically. 8470 8471 src/xz/options.c | 7 +++++++ 8472 1 file changed, 7 insertions(+) 8473 8474commit 98f3cac1ad31191c5160a7e48398bf85141e941c 8475Author: Lasse Collin <lasse.collin@tukaani.org> 8476Date: 2009-07-14 18:04:31 +0300 8477 8478 Accept --lzma2=preset=6e where "e" is equivalent to --extreme 8479 when no custom chain is in use. 8480 8481 src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++++--------------- 8482 1 file changed, 59 insertions(+), 21 deletions(-) 8483 8484commit d873a09e956363e54bf58c577c8f7e487b6fb464 8485Author: Lasse Collin <lasse.collin@tukaani.org> 8486Date: 2009-07-12 19:08:30 +0300 8487 8488 Add dist-hook to create ChangeLog from the commit log, 8489 and to conver the man pages to PDF and plain text, which 8490 may be convenient to those who cannot render man pages. 8491 8492 Makefile.am | 31 +++++++++++++++++++++++++++++++ 8493 1 file changed, 31 insertions(+) 8494 8495commit cd69a5a6c16c289f6f8e2823b03c72289472270f 8496Author: Lasse Collin <lasse.collin@tukaani.org> 8497Date: 2009-07-10 11:39:38 +0300 8498 8499 BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR. 8500 8501 This is a quick and slightly dirty fix to make the code 8502 conform to the latest file format specification. Without 8503 this patch, it's possible to make corrupt files by 8504 specifying start offset that is not a multiple of the 8505 filter's alignment. Custom start offset is almost never 8506 used, so this was only a minor bug. 8507 8508 The xz command line tool doesn't validate the start offset, 8509 so one will get a bit unclear error message if trying to use 8510 an invalid start offset. 8511 8512 src/liblzma/simple/arm.c | 2 +- 8513 src/liblzma/simple/armthumb.c | 2 +- 8514 src/liblzma/simple/ia64.c | 2 +- 8515 src/liblzma/simple/powerpc.c | 2 +- 8516 src/liblzma/simple/simple_coder.c | 5 ++++- 8517 src/liblzma/simple/simple_private.h | 3 ++- 8518 src/liblzma/simple/sparc.c | 2 +- 8519 src/liblzma/simple/x86.c | 2 +- 8520 8 files changed, 12 insertions(+), 8 deletions(-) 8521 8522commit eed9953732b801f6c97317fb3160445a8754180b 8523Author: Lasse Collin <lasse.collin@tukaani.org> 8524Date: 2009-07-10 11:33:21 +0300 8525 8526 Look for full command names instead of substrings 8527 like "un", "cat", and "lz" when determining if 8528 xz is run as unxz, xzcat, lzma, unlzma, or lzcat. 8529 8530 This is to ensure that if xz is renamed (e.g. via 8531 --program-transform-name), it doesn't so easily 8532 work in wrong mode. 8533 8534 src/xz/args.c | 22 +++++++++++++--------- 8535 1 file changed, 13 insertions(+), 9 deletions(-) 8536 8537commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658 8538Author: Lasse Collin <lasse.collin@tukaani.org> 8539Date: 2009-07-08 23:06:46 +0300 8540 8541 Updated THANKS. 8542 8543 THANKS | 2 ++ 8544 1 file changed, 2 insertions(+) 8545 8546commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e 8547Author: Lasse Collin <lasse.collin@tukaani.org> 8548Date: 2009-07-08 23:05:29 +0300 8549 8550 Portability improvement to version.sh. 8551 8552 version.sh | 3 ++- 8553 1 file changed, 2 insertions(+), 1 deletion(-) 8554 8555commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f 8556Author: Lasse Collin <lasse.collin@tukaani.org> 8557Date: 2009-07-08 22:50:16 +0300 8558 8559 Remove --force from xzdec. 8560 8561 It was ignored for compatibility with xz, but now that 8562 --decompress --stdout --force copies unrecognized files 8563 as is to stdout, simply ignoring --force in xzdec would 8564 be wrong. xzdec will not support copying unrecognized 8565 data as is to stdout, so it cannot support --force. 8566 8567 src/xzdec/xzdec.1 | 5 ----- 8568 src/xzdec/xzdec.c | 5 +---- 8569 2 files changed, 1 insertion(+), 9 deletions(-) 8570 8571commit 5f16ef4abf220028a9ddbcb138217597a9455f62 8572Author: Lasse Collin <lasse.collin@tukaani.org> 8573Date: 2009-07-06 10:36:04 +0300 8574 8575 Use sed instead of $(SED) so that we don't need to 8576 use AC_PROG_SED. We don't do anything fancy with sed, 8577 so this should work OK. libtool 2.2 sets SED but 1.5 8578 doesn't, so $(SED) happened to work when using libtool 2.2. 8579 8580 src/liblzma/Makefile.am | 2 +- 8581 src/scripts/Makefile.am | 28 ++++++++++++++-------------- 8582 src/xz/Makefile.am | 6 +++--- 8583 src/xzdec/Makefile.am | 6 +++--- 8584 4 files changed, 21 insertions(+), 21 deletions(-) 8585 8586commit 96e4b257e101d72072d43e144897d92920270669 8587Author: Lasse Collin <lasse.collin@tukaani.org> 8588Date: 2009-07-05 22:25:17 +0300 8589 8590 Major update to the xzgrep and other scripts based on 8591 the latest versions found from gzip CVS repository. 8592 8593 configure will try to find a POSIX shell to be used by 8594 the scripts. This should ease portability on systems 8595 which have pre-POSIX /bin/sh. 8596 8597 xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files. 8598 xzmore and xzless support only .xz and .lzma files. 8599 8600 The name of the xz executable used in these scripts is 8601 now correct even if --program-transform-name has been used. 8602 8603 configure.ac | 14 ++++ 8604 m4/posix-shell.m4 | 63 ++++++++++++++++ 8605 src/scripts/Makefile.am | 24 +++--- 8606 src/scripts/xzdiff | 67 ----------------- 8607 src/scripts/xzdiff.1 | 58 ++++++++------ 8608 src/scripts/xzdiff.in | 172 ++++++++++++++++++++++++++++++++++++++++++ 8609 src/scripts/xzgrep | 123 ------------------------------ 8610 src/scripts/xzgrep.1 | 85 ++++++++++++--------- 8611 src/scripts/xzgrep.in | 196 ++++++++++++++++++++++++++++++++++++++++++++++++ 8612 src/scripts/xzless.1 | 66 ++++++++++++++++ 8613 src/scripts/xzless.in | 51 +++++++++++++ 8614 src/scripts/xzmore | 74 ------------------ 8615 src/scripts/xzmore.1 | 64 +++++++--------- 8616 src/scripts/xzmore.in | 78 +++++++++++++++++++ 8617 14 files changed, 766 insertions(+), 369 deletions(-) 8618 8619commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100 8620Author: Lasse Collin <lasse.collin@tukaani.org> 8621Date: 2009-07-05 19:26:53 +0300 8622 8623 Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in. 8624 8625 src/liblzma/liblzma.pc.in | 2 +- 8626 1 file changed, 1 insertion(+), 1 deletion(-) 8627 8628commit 18c10c30d2833f394cd7bce0e6a821044b15832f 8629Author: Lasse Collin <lasse.collin@tukaani.org> 8630Date: 2009-07-04 00:40:44 +0300 8631 8632 Make "xz --decompress --stdout --force" copy unrecognized 8633 files as is to standard output. 8634 8635 This feature is needed to be more compatible with gzip's 8636 behavior. This was more complicated to implement than it 8637 sounds, because the way liblzma is able to return errors with 8638 files of only a few bytes in size. xz now has its own file 8639 type detection code and no longer uses lzma_auto_decoder(). 8640 8641 src/xz/coder.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++---------- 8642 1 file changed, 178 insertions(+), 35 deletions(-) 8643 8644commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633 8645Author: Lasse Collin <lasse.collin@tukaani.org> 8646Date: 2009-07-02 14:30:38 +0300 8647 8648 Define PACKAGE_HOMEPAGE in configure.ac and use it in 8649 xz and xzdec. 8650 8651 Use also PACKAGE_NAME instead of hardcoding "XZ Utils". 8652 8653 configure.ac | 5 +++++ 8654 src/xz/message.c | 4 ++-- 8655 src/xzdec/xzdec.c | 4 ++-- 8656 3 files changed, 9 insertions(+), 4 deletions(-) 8657 8658commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c 8659Author: Lasse Collin <lasse.collin@tukaani.org> 8660Date: 2009-07-01 12:21:24 +0300 8661 8662 Avoid visibility related compiler warnings on Windows. 8663 8664 configure.ac | 20 +++++++++----------- 8665 1 file changed, 9 insertions(+), 11 deletions(-) 8666 8667commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e 8668Author: Lasse Collin <lasse.collin@tukaani.org> 8669Date: 2009-06-30 17:14:39 +0300 8670 8671 Use static liblzma by default also for tests. 8672 8673 tests/Makefile.am | 5 ++++- 8674 1 file changed, 4 insertions(+), 1 deletion(-) 8675 8676commit f42ee981668b545ab6d06c6072e262c29605273c 8677Author: Lasse Collin <lasse.collin@tukaani.org> 8678Date: 2009-06-30 17:09:57 +0300 8679 8680 Build system fixes 8681 8682 Don't use libtool convenience libraries to avoid recently 8683 discovered long-standing subtle but somewhat severe bugs 8684 in libtool (at least 1.5.22 and 2.2.6 are affected). It 8685 was found when porting XZ Utils to Windows 8686 <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html> 8687 but the problem is significant also e.g. on GNU/Linux. 8688 8689 Unless --disable-shared is passed to configure, static 8690 library built from a set of convenience libraries will 8691 contain PIC objects. That is, while libtool builds non-PIC 8692 objects too, only PIC objects will be used from the 8693 convenience libraries. On 32-bit x86 (tested on mobile XP2400+), 8694 using PIC instead of non-PIC makes the decompressor 10 % slower 8695 with the default CFLAGS. 8696 8697 So while xz was linked against static liblzma by default, 8698 it got the slower PIC objects unless --disable-shared was 8699 used. I tend develop and benchmark with --disable-shared 8700 due to faster build time, so I hadn't noticed the problem 8701 in benchmarks earlier. 8702 8703 This commit also adds support for building Windows resources 8704 into liblzma and executables. 8705 8706 configure.ac | 34 ++++++++++------ 8707 src/liblzma/Makefile.am | 79 +++++++++++++++++++++++++++++-------- 8708 src/liblzma/check/Makefile.am | 47 ---------------------- 8709 src/liblzma/check/Makefile.inc | 51 ++++++++++++++++++++++++ 8710 src/liblzma/common/Makefile.am | 78 ------------------------------------ 8711 src/liblzma/common/Makefile.inc | 67 +++++++++++++++++++++++++++++++ 8712 src/liblzma/common/common.h | 16 +++++--- 8713 src/liblzma/delta/Makefile.am | 28 ------------- 8714 src/liblzma/delta/Makefile.inc | 23 +++++++++++ 8715 src/liblzma/lz/Makefile.am | 29 -------------- 8716 src/liblzma/lz/Makefile.inc | 21 ++++++++++ 8717 src/liblzma/lzma/Makefile.am | 51 ------------------------ 8718 src/liblzma/lzma/Makefile.inc | 43 ++++++++++++++++++++ 8719 src/liblzma/rangecoder/Makefile.am | 26 ------------ 8720 src/liblzma/rangecoder/Makefile.inc | 21 ++++++++++ 8721 src/liblzma/simple/Makefile.am | 51 ------------------------ 8722 src/liblzma/simple/Makefile.inc | 47 ++++++++++++++++++++++ 8723 src/liblzma/subblock/Makefile.am | 26 ------------ 8724 src/liblzma/subblock/Makefile.inc | 20 ++++++++++ 8725 src/xz/Makefile.am | 11 +++++- 8726 src/xzdec/Makefile.am | 20 +++++++++- 8727 21 files changed, 417 insertions(+), 372 deletions(-) 8728 8729commit 89dac1db6f168d7469cfbc4432651d4724c5c0de 8730Author: Lasse Collin <lasse.collin@tukaani.org> 8731Date: 2009-06-29 22:19:51 +0300 8732 8733 Added a comment about "autoconf -fi" to autogen.sh. 8734 8735 autogen.sh | 3 +++ 8736 1 file changed, 3 insertions(+) 8737 8738commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd 8739Author: Lasse Collin <lasse.collin@tukaani.org> 8740Date: 2009-06-28 10:04:24 +0300 8741 8742 Add -no-undefined to get shared liblzma on Windows. 8743 8744 src/liblzma/Makefile.am | 2 +- 8745 1 file changed, 1 insertion(+), 1 deletion(-) 8746 8747commit 73f560ee5fa064992b76688d9472baf139432540 8748Author: Lasse Collin <lasse.collin@tukaani.org> 8749Date: 2009-06-27 22:57:15 +0300 8750 8751 Make physmem() work on Cygwin 1.5 and older. 8752 8753 src/common/physmem.h | 77 +++++++++++++++++++++++++++------------------------- 8754 1 file changed, 40 insertions(+), 37 deletions(-) 8755 8756commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1 8757Author: Lasse Collin <lasse.collin@tukaani.org> 8758Date: 2009-06-27 17:28:01 +0300 8759 8760 Moved the Windows resource files outside the windows directory 8761 to prepare for building them with Autotools. 8762 8763 src/common/common_w32res.rc | 46 +++++++++++++++++++++++++++++++++++++++++++ 8764 src/liblzma/liblzma_w32res.rc | 5 +++++ 8765 src/xz/xz_w32res.rc | 5 +++++ 8766 src/xzdec/lzmadec_w32res.rc | 5 +++++ 8767 src/xzdec/xzdec_w32res.rc | 5 +++++ 8768 windows/Makefile | 35 +++++++++++++++++--------------- 8769 windows/common.rc | 46 ------------------------------------------- 8770 windows/liblzma.rc | 5 ----- 8771 windows/lzmadec.rc | 5 ----- 8772 windows/xz.rc | 5 ----- 8773 windows/xzdec.rc | 5 ----- 8774 11 files changed, 85 insertions(+), 82 deletions(-) 8775 8776commit 449c634674f35336a4815d398172e447659a135e 8777Author: Lasse Collin <lasse.collin@tukaani.org> 8778Date: 2009-06-27 13:05:03 +0300 8779 8780 Added missing $(EXEEXT). 8781 8782 src/xz/Makefile.am | 2 +- 8783 1 file changed, 1 insertion(+), 1 deletion(-) 8784 8785commit 792db79f27ad9ab1fb977e23be65c7761f545752 8786Author: Lasse Collin <lasse.collin@tukaani.org> 8787Date: 2009-06-27 12:32:40 +0300 8788 8789 Create correct symlinks even when 8790 --program-{prefix,suffix,transform} is passed to configure. 8791 8792 src/scripts/Makefile.am | 80 ++++++++++++++++++++++++++++--------------------- 8793 src/xz/Makefile.am | 21 ++++++++----- 8794 src/xzdec/Makefile.am | 9 ++++-- 8795 3 files changed, 65 insertions(+), 45 deletions(-) 8796 8797commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b 8798Author: Lasse Collin <lasse.collin@tukaani.org> 8799Date: 2009-06-27 10:02:24 +0300 8800 8801 Silence a compiler warning on DOS-like systems. 8802 8803 src/xz/file_io.c | 5 ++++- 8804 1 file changed, 4 insertions(+), 1 deletion(-) 8805 8806commit ad12edc95254ede3f0cb8dec8645e8789e984c4f 8807Author: Lasse Collin <lasse.collin@tukaani.org> 8808Date: 2009-06-27 09:35:15 +0300 8809 8810 Updated the filenames in POTFILES.in too. 8811 8812 po/POTFILES.in | 4 ++-- 8813 1 file changed, 2 insertions(+), 2 deletions(-) 8814 8815commit b2b1f867532732fe9969131f8713bdd6b0731763 8816Author: Lasse Collin <lasse.collin@tukaani.org> 8817Date: 2009-06-27 00:43:06 +0300 8818 8819 Hopefully improved portability of the assembler code in 8820 Autotools based builds on Windows. 8821 8822 src/liblzma/check/crc32_x86.S | 8 +++++++- 8823 src/liblzma/check/crc64_x86.S | 8 +++++++- 8824 2 files changed, 14 insertions(+), 2 deletions(-) 8825 8826commit c393055947247627a09b6a6b8f20aa0c32f9be16 8827Author: Lasse Collin <lasse.collin@tukaani.org> 8828Date: 2009-06-26 21:17:29 +0300 8829 8830 Updated THANKS (most of today's commits are based on 8831 Charles Wilson's patches). 8832 8833 THANKS | 1 + 8834 1 file changed, 1 insertion(+) 8835 8836commit da0af22e4b4139b8a10710945f8b245b3a77c97d 8837Author: Lasse Collin <lasse.collin@tukaani.org> 8838Date: 2009-06-26 21:00:35 +0300 8839 8840 Updated comments to match renamed files. 8841 8842 src/xz/coder.c | 2 +- 8843 src/xz/coder.h | 2 +- 8844 src/xz/file_io.c | 2 +- 8845 src/xz/file_io.h | 2 +- 8846 4 files changed, 4 insertions(+), 4 deletions(-) 8847 8848commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2 8849Author: Lasse Collin <lasse.collin@tukaani.org> 8850Date: 2009-06-26 20:49:54 +0300 8851 8852 Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc] 8853 to avoid problems on systems with system headers with those 8854 names. 8855 8856 dos/Makefile | 4 +- 8857 src/xz/Makefile.am | 8 +- 8858 src/xz/coder.c | 488 ++++++++++++++++++++++++++++++++++++ 8859 src/xz/coder.h | 57 +++++ 8860 src/xz/file_io.c | 716 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 8861 src/xz/file_io.h | 86 +++++++ 8862 src/xz/io.c | 716 ----------------------------------------------------- 8863 src/xz/io.h | 86 ------- 8864 src/xz/private.h | 4 +- 8865 src/xz/process.c | 488 ------------------------------------ 8866 src/xz/process.h | 57 ----- 8867 windows/Makefile | 4 +- 8868 12 files changed, 1357 insertions(+), 1357 deletions(-) 8869 8870commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8 8871Author: Lasse Collin <lasse.collin@tukaani.org> 8872Date: 2009-06-26 20:43:36 +0300 8873 8874 Rename process_file() to coder_run(). 8875 8876 src/xz/main.c | 6 +++--- 8877 src/xz/process.c | 6 +++--- 8878 src/xz/process.h | 5 ++--- 8879 3 files changed, 8 insertions(+), 9 deletions(-) 8880 8881commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc 8882Author: Lasse Collin <lasse.collin@tukaani.org> 8883Date: 2009-06-26 20:36:45 +0300 8884 8885 Ugly hack to make it possible to use the thousand separator 8886 format character with snprintf() on POSIX systems but not 8887 on non-POSIX systems and still keep xgettext working. 8888 8889 dos/Makefile | 16 +++------------- 8890 src/xz/message.c | 17 +++++++++-------- 8891 src/xz/process.c | 30 +++++++++++++++--------------- 8892 src/xz/util.c | 34 ++++++++++++++++++++++++++++++++++ 8893 src/xz/util.h | 20 ++++++++++++++++++++ 8894 windows/Makefile | 13 +++---------- 8895 6 files changed, 84 insertions(+), 46 deletions(-) 8896 8897commit fe378d47074b16c52b00fe184d119287c68ce2e7 8898Author: Lasse Collin <lasse.collin@tukaani.org> 8899Date: 2009-06-26 15:40:40 +0300 8900 8901 Added missing source files to windows/Makefile. 8902 8903 windows/Makefile | 2 ++ 8904 1 file changed, 2 insertions(+) 8905 8906commit 390a6408563067613b29de895cb40e4d0386d62c 8907Author: Lasse Collin <lasse.collin@tukaani.org> 8908Date: 2009-06-26 15:37:53 +0300 8909 8910 Basic support for building with Cygwin and MinGW using 8911 the Autotools based build system. It's not good yet, more 8912 fixes will follow. 8913 8914 configure.ac | 7 +++++++ 8915 src/liblzma/api/lzma.h | 7 +++++-- 8916 src/liblzma/check/crc32_x86.S | 7 ++++--- 8917 src/liblzma/check/crc64_x86.S | 7 ++++--- 8918 src/liblzma/common/common.h | 2 +- 8919 windows/Makefile | 16 +++++++--------- 8920 6 files changed, 28 insertions(+), 18 deletions(-) 8921 8922commit 1c9360b7d1197457aaad2f8888b99f1149861579 8923Author: Lasse Collin <lasse.collin@tukaani.org> 8924Date: 2009-06-26 14:47:31 +0300 8925 8926 Fix @variables@ to $(variables) in Makefile.am files. 8927 Fix the ordering of libgnu.a and LTLIBINTL on the linker 8928 command line and added missing LTLIBINTL to tests/Makefile.am. 8929 8930 debug/Makefile.am | 12 ++++++------ 8931 src/liblzma/check/Makefile.am | 4 ++-- 8932 src/liblzma/common/Makefile.am | 16 ++++++++-------- 8933 src/liblzma/delta/Makefile.am | 4 ++-- 8934 src/liblzma/lz/Makefile.am | 6 +++--- 8935 src/liblzma/lzma/Makefile.am | 8 ++++---- 8936 src/liblzma/rangecoder/Makefile.am | 4 ++-- 8937 src/liblzma/simple/Makefile.am | 4 ++-- 8938 src/liblzma/subblock/Makefile.am | 4 ++-- 8939 src/xz/Makefile.am | 21 +++++++++++---------- 8940 src/xzdec/Makefile.am | 19 ++++++++++--------- 8941 tests/Makefile.am | 12 +++++++----- 8942 12 files changed, 59 insertions(+), 55 deletions(-) 8943 8944commit d45615c555e250209ebb55aa3649abe790f1eeac 8945Author: Lasse Collin <lasse.collin@tukaani.org> 8946Date: 2009-06-26 14:20:02 +0300 8947 8948 Allow to explicitly specify autotool versions in autogen.sh. 8949 8950 autogen.sh | 12 ++++++------ 8951 1 file changed, 6 insertions(+), 6 deletions(-) 8952 8953commit eaf8367368a329afa48785380f9dca6b681f3397 8954Author: Lasse Collin <lasse.collin@tukaani.org> 8955Date: 2009-06-26 14:18:32 +0300 8956 8957 Add version.sh to EXTRA_DIST. 8958 8959 Makefile.am | 3 ++- 8960 1 file changed, 2 insertions(+), 1 deletion(-) 8961 8962commit b317b218e2d383dd27a700094c0de4510540ea18 8963Author: Lasse Collin <lasse.collin@tukaani.org> 8964Date: 2009-06-24 20:14:10 +0300 8965 8966 Support HW_PHYSMEM64 8967 8968 src/common/physmem.h | 30 +++++++++++++++++++----------- 8969 1 file changed, 19 insertions(+), 11 deletions(-) 8970 8971commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7 8972Author: Lasse Collin <lasse.collin@tukaani.org> 8973Date: 2009-06-24 13:01:59 +0300 8974 8975 Cast a char argument to isspace() to unsigned char. 8976 8977 src/xz/args.c | 11 +++++++++-- 8978 1 file changed, 9 insertions(+), 2 deletions(-) 8979 8980commit 1735d31ea347210e914df038eeea4b2626e76e42 8981Author: Lasse Collin <lasse.collin@tukaani.org> 8982Date: 2009-06-05 13:46:26 +0300 8983 8984 A few more spelling fixes. Released the .xz spec 1.0.3. 8985 8986 doc/xz-file-format.txt | 12 +++++++----- 8987 1 file changed, 7 insertions(+), 5 deletions(-) 8988 8989commit 8ed156ce894966103e895aa08f2a9fb912f6fad5 8990Author: Lasse Collin <lasse.collin@tukaani.org> 8991Date: 2009-06-04 23:42:12 +0300 8992 8993 Added xzdec man page. 8994 8995 src/xzdec/Makefile.am | 11 ++++ 8996 src/xzdec/xzdec.1 | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++ 8997 2 files changed, 184 insertions(+) 8998 8999commit f6df39afaa84f71439507178a49b2a5dda6e824c 9000Author: Lasse Collin <lasse.collin@tukaani.org> 9001Date: 2009-06-04 23:26:47 +0300 9002 9003 Harmonized xzdec --memory with xz --memory and made 9004 minor cleanups. 9005 9006 src/xzdec/xzdec.c | 74 +++++++++++++++++++++++++++++++++++++++---------------- 9007 1 file changed, 53 insertions(+), 21 deletions(-) 9008 9009commit 1774f27c61ce294a56712ca2f4785f90a62441bc 9010Author: Lasse Collin <lasse.collin@tukaani.org> 9011Date: 2009-06-04 22:59:55 +0300 9012 9013 Fix purporse -> purpose. Thanks to Andrew Dudman. 9014 Released .xz spec 1.0.2 due to this fix too. 9015 9016 THANKS | 1 + 9017 doc/xz-file-format.txt | 8 +++++--- 9018 src/liblzma/liblzma.pc.in | 2 +- 9019 windows/Makefile | 2 +- 9020 4 files changed, 8 insertions(+), 5 deletions(-) 9021 9022commit cb613455642f48fb51059e22018615f64c59b70f 9023Author: Lasse Collin <lasse.collin@tukaani.org> 9024Date: 2009-06-01 14:53:57 +0300 9025 9026 The .xz file format version 1.0.1 9027 9028 doc/xz-file-format.txt | 29 ++++++++++++++++++++++------- 9029 1 file changed, 22 insertions(+), 7 deletions(-) 9030 9031commit 083c23c680ff844846d177cfc58bb7a874e7e6b9 9032Author: Lasse Collin <lasse.collin@tukaani.org> 9033Date: 2009-05-26 14:48:48 +0300 9034 9035 Make the raw value of the Check field available to applications 9036 via lzma_block structure. 9037 9038 This changes ABI but not doesn't break API. 9039 9040 src/liblzma/api/lzma/block.h | 17 ++++++++++++++++ 9041 src/liblzma/common/block_buffer_encoder.c | 1 + 9042 src/liblzma/common/block_decoder.c | 34 ++++++++++++++----------------- 9043 src/liblzma/common/block_encoder.c | 21 ++++++++----------- 9044 4 files changed, 42 insertions(+), 31 deletions(-) 9045 9046commit b4f5c814090dc07d4350453576305e41eb9c998d 9047Author: Lasse Collin <lasse.collin@tukaani.org> 9048Date: 2009-05-23 16:57:21 +0300 9049 9050 Remove undocumented alternative option names --bcj, --ppc, 9051 and --itanium. 9052 9053 src/xz/args.c | 3 --- 9054 1 file changed, 3 deletions(-) 9055 9056commit b1edee2cdc7ef4411b1a21c07094ec763f071281 9057Author: Lasse Collin <lasse.collin@tukaani.org> 9058Date: 2009-05-23 15:12:23 +0300 9059 9060 Add support for specifying the BCJ filter start offset 9061 in the xz command line tool. 9062 9063 src/xz/args.c | 36 +++++++++++++++++++++--------------- 9064 src/xz/message.c | 14 ++++++++------ 9065 src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++ 9066 src/xz/options.h | 7 +++++++ 9067 4 files changed, 76 insertions(+), 21 deletions(-) 9068 9069commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb 9070Author: Lasse Collin <lasse.collin@tukaani.org> 9071Date: 2009-05-23 14:51:09 +0300 9072 9073 Updated THANKS. 9074 9075 THANKS | 2 ++ 9076 1 file changed, 2 insertions(+) 9077 9078commit dcedb6998cefeca6597dd1219328a3abf5acf66d 9079Author: Lasse Collin <lasse.collin@tukaani.org> 9080Date: 2009-05-22 16:40:50 +0300 9081 9082 Added support for --quiet and --no-warn to xzdec. 9083 Cleaned up the --help message a little. 9084 9085 src/xzdec/xzdec.c | 76 +++++++++++++++++++++++++++++++++++-------------------- 9086 1 file changed, 49 insertions(+), 27 deletions(-) 9087 9088commit 5f735dae80aa629853f4831d7b84ec1c614979eb 9089Author: Lasse Collin <lasse.collin@tukaani.org> 9090Date: 2009-05-22 15:11:52 +0300 9091 9092 Use the 40 % of RAM memory usage limit in xzdec too. 9093 9094 Update the memory usage info text in --help to match 9095 the text in xz --long-help. 9096 9097 src/xzdec/xzdec.c | 10 +++++----- 9098 1 file changed, 5 insertions(+), 5 deletions(-) 9099 9100commit b60376249e0c586910c4121fab4f791820cc1289 9101Author: Lasse Collin <lasse.collin@tukaani.org> 9102Date: 2009-05-22 14:43:00 +0300 9103 9104 Add --no-warn. 9105 9106 src/xz/args.c | 8 +++++++- 9107 src/xz/main.c | 17 +++++++++++++++++ 9108 src/xz/main.h | 6 ++++++ 9109 src/xz/message.c | 4 ++++ 9110 4 files changed, 34 insertions(+), 1 deletion(-) 9111 9112commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008 9113Author: Lasse Collin <lasse.collin@tukaani.org> 9114Date: 2009-05-22 14:27:40 +0300 9115 9116 Fix a comment. 9117 9118 src/xz/main.h | 2 +- 9119 1 file changed, 1 insertion(+), 1 deletion(-) 9120 9121commit 4dd21d23f22569285ae706b58b0e5904b8db1839 9122Author: Lasse Collin <lasse.collin@tukaani.org> 9123Date: 2009-05-22 14:21:20 +0300 9124 9125 Remove the --info option, which was an alias for --list. 9126 9127 src/xz/args.c | 1 - 9128 1 file changed, 1 deletion(-) 9129 9130commit 8836139b63ce774bdd62abf17ab69b290e08229e 9131Author: Lasse Collin <lasse.collin@tukaani.org> 9132Date: 2009-05-22 12:27:43 +0300 9133 9134 If xz is run as lzma, unlzma, or lzcat, simply imply 9135 --format=lzma. This means that xz emulating lzma 9136 doesn't decompress .xz files, while before this 9137 commit it did. The new way is slightly simpler in 9138 code and especially in upcoming documentation. 9139 9140 src/xz/args.c | 17 ++++++----------- 9141 1 file changed, 6 insertions(+), 11 deletions(-) 9142 9143commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d 9144Author: Lasse Collin <lasse.collin@tukaani.org> 9145Date: 2009-05-22 11:29:50 +0300 9146 9147 Make the default memory usage limit 40 % of RAM for both 9148 compressing and decompressing. This should be OK now that 9149 xz automatically scales down the compression settings if 9150 they would exceed the memory usage limit (earlier, the limit 9151 for compression was increased to 90 % because low limit broke 9152 scripts that used "xz -9" on systems with low RAM). 9153 9154 Support spcifying the memory usage limit as a percentage 9155 of RAM (e.g. --memory=50%). 9156 9157 Support --threads=0 to reset the thread limit to the default 9158 value (number of available CPU cores). Use UINT32_MAX instead 9159 of SIZE_MAX as the maximum in args.c. hardware.c was already 9160 expecting uint32_t value. 9161 9162 Cleaned up the output of --help and --long-help. 9163 9164 src/xz/args.c | 28 +++++++++++++----- 9165 src/xz/hardware.c | 86 +++++++++++++++++++++++-------------------------------- 9166 src/xz/hardware.h | 10 +++---- 9167 src/xz/message.c | 28 +++++++++--------- 9168 src/xz/process.c | 18 +++++------- 9169 5 files changed, 82 insertions(+), 88 deletions(-) 9170 9171commit 071b825b23911a69dd1cd2f8cda004ef8a781fae 9172Author: Lasse Collin <lasse.collin@tukaani.org> 9173Date: 2009-05-21 17:22:01 +0300 9174 9175 Support special value "max" where xz and xzdec accept an integer. 9176 Don't round the memory usage limit in xzdec --help to avoid 9177 an integer overflow and to not give wrong impression that 9178 the limit is high enough when it may not actually be. 9179 9180 src/xz/util.c | 4 ++++ 9181 src/xzdec/xzdec.c | 6 +++++- 9182 2 files changed, 9 insertions(+), 1 deletion(-) 9183 9184commit 03ca67fd37dd43fa7f590de340899cd497c10802 9185Author: ABCD <en.abcd@gmail.com> 9186Date: 2009-05-20 17:31:18 -0400 9187 9188 Install lzdiff, lzgrep, and lzmore as symlinks 9189 9190 This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install. 9191 It also installs symlinks for the manual pages and removes the new 9192 symlinks on uninstall. 9193 9194 src/scripts/Makefile.am | 16 ++++++++++++++-- 9195 1 file changed, 14 insertions(+), 2 deletions(-) 9196 9197commit a6f43e64128a6da5cd641de1e1e527433b3e5638 9198Author: Lasse Collin <lasse.collin@tukaani.org> 9199Date: 2009-05-02 16:10:14 +0300 9200 9201 Use a GCC-specific #pragma instead of GCC-specific 9202 -Wno-uninitialized to silence a bogus warning. 9203 9204 configure.ac | 13 ------------- 9205 src/liblzma/check/Makefile.am | 5 ----- 9206 src/liblzma/check/sha256.c | 5 +++++ 9207 3 files changed, 5 insertions(+), 18 deletions(-) 9208 9209commit f6ce63ebdb45a857c8949960c83c9580ae888951 9210Author: Lasse Collin <lasse.collin@tukaani.org> 9211Date: 2009-05-02 14:46:50 +0300 9212 9213 Removed --disable-encoder and --disable-decoder. Use the values 9214 given to --enable-encoders and --enable-decoders to determine 9215 if any encoder or decoder support is wanted. 9216 9217 configure.ac | 48 ++++++++---------------------------------------- 9218 1 file changed, 8 insertions(+), 40 deletions(-) 9219 9220commit be06858d5cf8ba46557395035d821dc332f3f830 9221Author: Lasse Collin <lasse.collin@tukaani.org> 9222Date: 2009-05-01 11:28:52 +0300 9223 9224 Remove docs that are too outdated to be updated 9225 (rewrite will be better). 9226 9227 doc/liblzma-advanced.txt | 324 ----------------------------------------------- 9228 doc/liblzma-hacking.txt | 112 ---------------- 9229 doc/liblzma-intro.txt | 194 ---------------------------- 9230 doc/liblzma-security.txt | 219 -------------------------------- 9231 doc/lzma-intro.txt | 107 ---------------- 9232 5 files changed, 956 deletions(-) 9233 9234commit 0255401e57c96af87c6b159eca28974e79430a82 9235Author: Lasse Collin <lasse.collin@tukaani.org> 9236Date: 2009-05-01 11:21:46 +0300 9237 9238 Added documentation about the legacy .lzma file format. 9239 9240 doc/lzma-file-format.txt | 166 +++++++++++++++++++++++++++++++++++++++++++++++ 9241 1 file changed, 166 insertions(+) 9242 9243commit 1496ff437c46f38303e0e94c511ca604b3a11f85 9244Author: Lasse Collin <lasse.collin@tukaani.org> 9245Date: 2009-05-01 11:20:23 +0300 9246 9247 Renamed the file format specification to xz-file-format.txt 9248 which is the filename used on the WWW. 9249 9250 doc/file-format.txt | 1127 ------------------------------------------------ 9251 doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++ 9252 2 files changed, 1127 insertions(+), 1127 deletions(-) 9253 9254commit 21c6b94373d239d7e86bd480fcd558e30391712f 9255Author: Lasse Collin <lasse.collin@tukaani.org> 9256Date: 2009-04-28 23:08:32 +0300 9257 9258 Fixed a crash in liblzma. 9259 9260 liblzma tries to avoid useless free()/malloc() pairs in 9261 initialization when multiple files are handled using the 9262 same lzma_stream. This didn't work with filter chains 9263 due to comparison of wrong pointers in lzma_next_coder_init(), 9264 making liblzma think that no memory reallocation is needed 9265 even when it actually is. 9266 9267 Easy way to trigger this bug is to decompress two files with 9268 a single xz command. The first file should have e.g. x86+LZMA2 9269 as the filter chain, and the second file just LZMA2. 9270 9271 src/liblzma/common/alone_decoder.c | 2 +- 9272 src/liblzma/common/alone_encoder.c | 4 ++-- 9273 src/liblzma/common/auto_decoder.c | 2 +- 9274 src/liblzma/common/block_decoder.c | 2 +- 9275 src/liblzma/common/block_encoder.c | 2 +- 9276 src/liblzma/common/common.h | 4 ++-- 9277 src/liblzma/common/easy_encoder.c | 2 +- 9278 src/liblzma/common/index_decoder.c | 2 +- 9279 src/liblzma/common/index_encoder.c | 2 +- 9280 src/liblzma/common/stream_decoder.c | 2 +- 9281 src/liblzma/common/stream_encoder.c | 2 +- 9282 11 files changed, 13 insertions(+), 13 deletions(-) 9283 9284commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c 9285Author: Lasse Collin <lasse.collin@tukaani.org> 9286Date: 2009-04-15 14:13:38 +0300 9287 9288 Fix uint32_t -> size_t in ARM and ARM-Thumb filters. 9289 9290 On 64-bit system it would have gone into infinite 9291 loop if a single input buffer was over 4 GiB (unlikely). 9292 9293 src/liblzma/simple/arm.c | 2 +- 9294 src/liblzma/simple/armthumb.c | 2 +- 9295 2 files changed, 2 insertions(+), 2 deletions(-) 9296 9297commit 31decdce041581e57c0d8a407d4795b114ef27ca 9298Author: Lasse Collin <lasse.collin@tukaani.org> 9299Date: 2009-04-14 11:48:46 +0300 9300 9301 Minor fixes to test files' README. 9302 9303 tests/files/README | 17 +++++++++-------- 9304 1 file changed, 9 insertions(+), 8 deletions(-) 9305 9306commit 4787d654434891c7df5b43959b0d2873718f06e0 9307Author: Lasse Collin <lasse.collin@tukaani.org> 9308Date: 2009-04-13 16:36:41 +0300 9309 9310 Updated history.txt. 9311 9312 doc/history.txt | 123 ++++++++++++++++++++++++++++++-------------------------- 9313 1 file changed, 66 insertions(+), 57 deletions(-) 9314 9315commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9 9316Author: Lasse Collin <lasse.collin@tukaani.org> 9317Date: 2009-04-13 14:49:48 +0300 9318 9319 Quick & dirty update to support xz in diff/grep/more scripts. 9320 9321 src/scripts/Makefile.am | 38 +++++++++------ 9322 src/scripts/lzdiff | 67 -------------------------- 9323 src/scripts/lzdiff.1 | 51 -------------------- 9324 src/scripts/lzgrep | 123 ------------------------------------------------ 9325 src/scripts/lzgrep.1 | 61 ------------------------ 9326 src/scripts/lzmore | 74 ----------------------------- 9327 src/scripts/lzmore.1 | 55 ---------------------- 9328 src/scripts/xzdiff | 67 ++++++++++++++++++++++++++ 9329 src/scripts/xzdiff.1 | 58 +++++++++++++++++++++++ 9330 src/scripts/xzgrep | 123 ++++++++++++++++++++++++++++++++++++++++++++++++ 9331 src/scripts/xzgrep.1 | 77 ++++++++++++++++++++++++++++++ 9332 src/scripts/xzmore | 74 +++++++++++++++++++++++++++++ 9333 src/scripts/xzmore.1 | 66 ++++++++++++++++++++++++++ 9334 13 files changed, 489 insertions(+), 445 deletions(-) 9335 9336commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc 9337Author: Lasse Collin <lasse.collin@tukaani.org> 9338Date: 2009-04-13 11:27:40 +0300 9339 9340 Put the interesting parts of XZ Utils into the public domain. 9341 Some minor documentation cleanups were made at the same time. 9342 9343 COPYING | 67 ++++++++++++++++++++------ 9344 ChangeLog | 2 +- 9345 Doxyfile.in | 8 +-- 9346 Makefile.am | 13 ++--- 9347 autogen.sh | 9 ++++ 9348 configure.ac | 13 ++--- 9349 debug/Makefile.am | 13 ++--- 9350 debug/crc32.c | 13 ++--- 9351 debug/full_flush.c | 13 ++--- 9352 debug/hex2bin.c | 7 ++- 9353 debug/known_sizes.c | 13 ++--- 9354 debug/memusage.c | 13 ++--- 9355 debug/repeat.c | 13 ++--- 9356 debug/sync_flush.c | 13 ++--- 9357 doc/faq.txt | 38 ++------------- 9358 lib/Makefile.am | 18 +++---- 9359 src/Makefile.am | 13 ++--- 9360 src/common/bswap.h | 7 ++- 9361 src/common/cpucores.h | 7 ++- 9362 src/common/integer.h | 7 ++- 9363 src/common/mythread.h | 4 +- 9364 src/common/open_stdxxx.h | 7 ++- 9365 src/common/physmem.h | 7 ++- 9366 src/common/sysdefs.h | 13 ++--- 9367 src/liblzma/Makefile.am | 13 ++--- 9368 src/liblzma/api/Makefile.am | 13 ++--- 9369 src/liblzma/api/lzma.h | 38 +++++++++------ 9370 src/liblzma/api/lzma/base.h | 20 +++----- 9371 src/liblzma/api/lzma/bcj.h | 18 +++---- 9372 src/liblzma/api/lzma/block.h | 18 +++---- 9373 src/liblzma/api/lzma/check.h | 18 +++---- 9374 src/liblzma/api/lzma/container.h | 18 +++---- 9375 src/liblzma/api/lzma/delta.h | 18 +++---- 9376 src/liblzma/api/lzma/filter.h | 18 +++---- 9377 src/liblzma/api/lzma/index.h | 18 +++---- 9378 src/liblzma/api/lzma/index_hash.h | 22 +++------ 9379 src/liblzma/api/lzma/lzma.h | 18 +++---- 9380 src/liblzma/api/lzma/stream_flags.h | 18 +++---- 9381 src/liblzma/api/lzma/subblock.h | 18 +++---- 9382 src/liblzma/api/lzma/version.h | 18 +++---- 9383 src/liblzma/api/lzma/vli.h | 46 ++++++++---------- 9384 src/liblzma/check/Makefile.am | 8 ++- 9385 src/liblzma/check/check.c | 7 ++- 9386 src/liblzma/check/check.h | 7 ++- 9387 src/liblzma/check/crc32_fast.c | 30 +++++------- 9388 src/liblzma/check/crc32_small.c | 7 ++- 9389 src/liblzma/check/crc32_table.c | 7 ++- 9390 src/liblzma/check/crc32_tablegen.c | 7 ++- 9391 src/liblzma/check/crc32_x86.S | 21 +++++--- 9392 src/liblzma/check/crc64_fast.c | 20 +++----- 9393 src/liblzma/check/crc64_small.c | 7 ++- 9394 src/liblzma/check/crc64_table.c | 7 ++- 9395 src/liblzma/check/crc64_tablegen.c | 7 ++- 9396 src/liblzma/check/crc64_x86.S | 14 ++++-- 9397 src/liblzma/check/crc_macros.h | 9 ++-- 9398 src/liblzma/check/sha256.c | 23 +++++---- 9399 src/liblzma/common/Makefile.am | 13 ++--- 9400 src/liblzma/common/alone_decoder.c | 13 ++--- 9401 src/liblzma/common/alone_decoder.h | 13 ++--- 9402 src/liblzma/common/alone_encoder.c | 13 ++--- 9403 src/liblzma/common/auto_decoder.c | 13 ++--- 9404 src/liblzma/common/block_buffer_decoder.c | 13 ++--- 9405 src/liblzma/common/block_buffer_encoder.c | 13 ++--- 9406 src/liblzma/common/block_decoder.c | 13 ++--- 9407 src/liblzma/common/block_decoder.h | 13 ++--- 9408 src/liblzma/common/block_encoder.c | 13 ++--- 9409 src/liblzma/common/block_encoder.h | 13 ++--- 9410 src/liblzma/common/block_header_decoder.c | 13 ++--- 9411 src/liblzma/common/block_header_encoder.c | 13 ++--- 9412 src/liblzma/common/block_util.c | 13 ++--- 9413 src/liblzma/common/bsr.h | 7 ++- 9414 src/liblzma/common/chunk_size.c | 13 ++--- 9415 src/liblzma/common/common.c | 13 ++--- 9416 src/liblzma/common/common.h | 13 ++--- 9417 src/liblzma/common/easy_buffer_encoder.c | 13 ++--- 9418 src/liblzma/common/easy_decoder_memusage.c | 13 ++--- 9419 src/liblzma/common/easy_encoder.c | 13 ++--- 9420 src/liblzma/common/easy_encoder_memusage.c | 13 ++--- 9421 src/liblzma/common/easy_preset.c | 13 ++--- 9422 src/liblzma/common/easy_preset.h | 13 ++--- 9423 src/liblzma/common/filter_buffer_decoder.c | 13 ++--- 9424 src/liblzma/common/filter_buffer_encoder.c | 13 ++--- 9425 src/liblzma/common/filter_common.c | 13 ++--- 9426 src/liblzma/common/filter_common.h | 13 ++--- 9427 src/liblzma/common/filter_decoder.c | 13 ++--- 9428 src/liblzma/common/filter_decoder.h | 13 ++--- 9429 src/liblzma/common/filter_encoder.c | 13 ++--- 9430 src/liblzma/common/filter_encoder.h | 13 ++--- 9431 src/liblzma/common/filter_flags_decoder.c | 13 ++--- 9432 src/liblzma/common/filter_flags_encoder.c | 13 ++--- 9433 src/liblzma/common/index.c | 13 ++--- 9434 src/liblzma/common/index.h | 13 ++--- 9435 src/liblzma/common/index_decoder.c | 13 ++--- 9436 src/liblzma/common/index_encoder.c | 13 ++--- 9437 src/liblzma/common/index_encoder.h | 13 ++--- 9438 src/liblzma/common/index_hash.c | 13 ++--- 9439 src/liblzma/common/stream_buffer_decoder.c | 13 ++--- 9440 src/liblzma/common/stream_buffer_encoder.c | 13 ++--- 9441 src/liblzma/common/stream_decoder.c | 13 ++--- 9442 src/liblzma/common/stream_decoder.h | 13 ++--- 9443 src/liblzma/common/stream_encoder.c | 13 ++--- 9444 src/liblzma/common/stream_encoder.h | 13 ++--- 9445 src/liblzma/common/stream_flags_common.c | 13 ++--- 9446 src/liblzma/common/stream_flags_common.h | 13 ++--- 9447 src/liblzma/common/stream_flags_decoder.c | 13 ++--- 9448 src/liblzma/common/stream_flags_encoder.c | 13 ++--- 9449 src/liblzma/common/vli_decoder.c | 13 ++--- 9450 src/liblzma/common/vli_encoder.c | 13 ++--- 9451 src/liblzma/common/vli_size.c | 13 ++--- 9452 src/liblzma/delta/Makefile.am | 13 ++--- 9453 src/liblzma/delta/delta_common.c | 13 ++--- 9454 src/liblzma/delta/delta_common.h | 13 ++--- 9455 src/liblzma/delta/delta_decoder.c | 13 ++--- 9456 src/liblzma/delta/delta_decoder.h | 13 ++--- 9457 src/liblzma/delta/delta_encoder.c | 13 ++--- 9458 src/liblzma/delta/delta_encoder.h | 13 ++--- 9459 src/liblzma/delta/delta_private.h | 13 ++--- 9460 src/liblzma/lz/Makefile.am | 13 ++--- 9461 src/liblzma/lz/lz_decoder.c | 17 ++----- 9462 src/liblzma/lz/lz_decoder.h | 17 ++----- 9463 src/liblzma/lz/lz_encoder.c | 17 ++----- 9464 src/liblzma/lz/lz_encoder.h | 17 ++----- 9465 src/liblzma/lz/lz_encoder_hash.h | 13 ++--- 9466 src/liblzma/lz/lz_encoder_mf.c | 17 ++----- 9467 src/liblzma/lzma/Makefile.am | 13 ++--- 9468 src/liblzma/lzma/fastpos.h | 17 ++----- 9469 src/liblzma/lzma/fastpos_tablegen.c | 17 ++----- 9470 src/liblzma/lzma/lzma2_decoder.c | 17 ++----- 9471 src/liblzma/lzma/lzma2_decoder.h | 17 ++----- 9472 src/liblzma/lzma/lzma2_encoder.c | 17 ++----- 9473 src/liblzma/lzma/lzma2_encoder.h | 17 ++----- 9474 src/liblzma/lzma/lzma_common.h | 17 ++----- 9475 src/liblzma/lzma/lzma_decoder.c | 17 ++----- 9476 src/liblzma/lzma/lzma_decoder.h | 17 ++----- 9477 src/liblzma/lzma/lzma_encoder.c | 17 ++----- 9478 src/liblzma/lzma/lzma_encoder.h | 17 ++----- 9479 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 13 ++--- 9480 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 ++--- 9481 src/liblzma/lzma/lzma_encoder_presets.c | 13 ++--- 9482 src/liblzma/lzma/lzma_encoder_private.h | 17 ++----- 9483 src/liblzma/rangecoder/Makefile.am | 13 ++--- 9484 src/liblzma/rangecoder/price.h | 13 ++--- 9485 src/liblzma/rangecoder/price_tablegen.c | 16 ++---- 9486 src/liblzma/rangecoder/range_common.h | 17 ++----- 9487 src/liblzma/rangecoder/range_decoder.h | 17 ++----- 9488 src/liblzma/rangecoder/range_encoder.h | 17 ++----- 9489 src/liblzma/simple/Makefile.am | 13 ++--- 9490 src/liblzma/simple/arm.c | 17 ++----- 9491 src/liblzma/simple/armthumb.c | 17 ++----- 9492 src/liblzma/simple/ia64.c | 17 ++----- 9493 src/liblzma/simple/powerpc.c | 17 ++----- 9494 src/liblzma/simple/simple_coder.c | 13 ++--- 9495 src/liblzma/simple/simple_coder.h | 14 ++---- 9496 src/liblzma/simple/simple_decoder.c | 13 ++--- 9497 src/liblzma/simple/simple_decoder.h | 13 ++--- 9498 src/liblzma/simple/simple_encoder.c | 13 ++--- 9499 src/liblzma/simple/simple_encoder.h | 13 ++--- 9500 src/liblzma/simple/simple_private.h | 13 ++--- 9501 src/liblzma/simple/sparc.c | 17 ++----- 9502 src/liblzma/simple/x86.c | 17 ++----- 9503 src/liblzma/subblock/Makefile.am | 13 ++--- 9504 src/liblzma/subblock/subblock_decoder.c | 13 ++--- 9505 src/liblzma/subblock/subblock_decoder.h | 13 ++--- 9506 src/liblzma/subblock/subblock_decoder_helper.c | 13 ++--- 9507 src/liblzma/subblock/subblock_decoder_helper.h | 13 ++--- 9508 src/liblzma/subblock/subblock_encoder.c | 13 ++--- 9509 src/liblzma/subblock/subblock_encoder.h | 13 ++--- 9510 src/scripts/Makefile.am | 7 +++ 9511 src/xz/Makefile.am | 13 ++--- 9512 src/xz/args.c | 13 ++--- 9513 src/xz/args.h | 13 ++--- 9514 src/xz/hardware.c | 13 ++--- 9515 src/xz/hardware.h | 13 ++--- 9516 src/xz/io.c | 13 ++--- 9517 src/xz/io.h | 13 ++--- 9518 src/xz/list.c | 13 ++--- 9519 src/xz/main.c | 13 ++--- 9520 src/xz/main.h | 13 ++--- 9521 src/xz/message.c | 13 ++--- 9522 src/xz/message.h | 13 ++--- 9523 src/xz/options.c | 13 ++--- 9524 src/xz/options.h | 13 ++--- 9525 src/xz/private.h | 13 ++--- 9526 src/xz/process.c | 13 ++--- 9527 src/xz/process.h | 13 ++--- 9528 src/xz/signals.c | 13 ++--- 9529 src/xz/signals.h | 13 ++--- 9530 src/xz/suffix.c | 13 ++--- 9531 src/xz/suffix.h | 13 ++--- 9532 src/xz/util.c | 13 ++--- 9533 src/xz/util.h | 13 ++--- 9534 src/xzdec/Makefile.am | 13 ++--- 9535 src/xzdec/xzdec.c | 13 ++--- 9536 tests/Makefile.am | 13 ++--- 9537 tests/bcj_test.c | 7 ++- 9538 tests/create_compress_files.c | 13 ++--- 9539 tests/test_block.c | 13 ++--- 9540 tests/test_block_header.c | 13 ++--- 9541 tests/test_check.c | 13 ++--- 9542 tests/test_compress.sh | 13 ++--- 9543 tests/test_files.sh | 13 ++--- 9544 tests/test_filter_flags.c | 13 ++--- 9545 tests/test_index.c | 13 ++--- 9546 tests/test_stream_flags.c | 13 ++--- 9547 tests/tests.h | 13 ++--- 9548 windows/common.rc | 2 +- 9549 206 files changed, 868 insertions(+), 2023 deletions(-) 9550 9551commit e79c42d854657ae7f75613bd80c1a35ff7c525cb 9552Author: Lasse Collin <lasse.collin@tukaani.org> 9553Date: 2009-04-10 11:17:02 +0300 9554 9555 Fix off-by-one in LZ decoder. 9556 9557 Fortunately, this bug had no security risk other than accepting 9558 some corrupt files as valid. 9559 9560 src/liblzma/lz/lz_decoder.h | 2 +- 9561 1 file changed, 1 insertion(+), 1 deletion(-) 9562 9563commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af 9564Author: Pavel Roskin <proski@gnu.org> 9565Date: 2009-03-31 12:15:01 -0400 9566 9567 Fix minor typos in README 9568 9569 README | 6 +++--- 9570 1 file changed, 3 insertions(+), 3 deletions(-) 9571 9572commit 9bab5336ebd765ec4e12252f416eefdf04eba750 9573Author: Lasse Collin <lasse.collin@tukaani.org> 9574Date: 2009-03-31 21:52:51 +0300 9575 9576 Add a note and work-around instructions to README about 9577 problems detecting a C99 compiler when some standard 9578 headers are missing. 9579 9580 README | 11 +++++++++++ 9581 1 file changed, 11 insertions(+) 9582 9583commit a0497ff7a06f9350349264fe9b52dfefc6d53ead 9584Author: Lasse Collin <lasse.collin@tukaani.org> 9585Date: 2009-03-18 16:54:38 +0200 9586 9587 Updated THANKS. 9588 9589 THANKS | 1 + 9590 1 file changed, 1 insertion(+) 9591 9592commit 390e69887fc5e0a108eb41203bed9acd100a3d76 9593Author: Lasse Collin <lasse.collin@tukaani.org> 9594Date: 2009-03-18 16:51:41 +0200 9595 9596 Fix wrong macro names in lc_cpucores.m4 and cpucores.h. 9597 Thanks to Bert Wesarg. 9598 9599 m4/lc_cpucores.m4 | 4 ++-- 9600 src/common/cpucores.h | 4 ++-- 9601 2 files changed, 4 insertions(+), 4 deletions(-) 9602 9603commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6 9604Author: Lasse Collin <lasse.collin@tukaani.org> 9605Date: 2009-03-01 09:03:08 +0200 9606 9607 Test for Linux-specific sysinfo() only on Linux systems. 9608 Some other systems have sysinfo() with different semantics. 9609 9610 m4/lc_physmem.m4 | 28 +++++++++++++++++++--------- 9611 1 file changed, 19 insertions(+), 9 deletions(-) 9612 9613commit cf751edfde3ad6e088dc18e0522d31ae38405933 9614Author: Lasse Collin <lasse.collin@tukaani.org> 9615Date: 2009-03-01 09:00:06 +0200 9616 9617 Added AC_CONFIG_MACRO_DIR to configure.ac. 9618 9619 configure.ac | 1 + 9620 1 file changed, 1 insertion(+) 9621 9622commit 63df14c57dee7c461717784287056688482a7eb9 9623Author: Lasse Collin <lasse.collin@tukaani.org> 9624Date: 2009-03-01 08:58:41 +0200 9625 9626 Fix the Autoconf test for getopt_long replacement. 9627 It was broken by e114502b2bc371e4a45449832cb69be036360722. 9628 9629 m4/getopt.m4 | 4 ++++ 9630 1 file changed, 4 insertions(+) 9631 9632commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f 9633Author: Lasse Collin <lasse.collin@tukaani.org> 9634Date: 2009-02-22 19:07:54 +0200 9635 9636 Add a rough explanation of --extreme to output of --help. 9637 9638 src/xz/message.c | 4 ++++ 9639 1 file changed, 4 insertions(+) 9640 9641commit 68bf7ac2984d3627369a240ef0491934d53f7899 9642Author: Lasse Collin <lasse.collin@tukaani.org> 9643Date: 2009-02-22 18:52:49 +0200 9644 9645 Fixes to progress message handling in xz: 9646 9647 - Don't use Windows-specific code on Windows. The old code 9648 required at least Windows 2000. Now it should work on 9649 Windows 98 and later, and maybe on Windows 95 too. 9650 9651 - Use less precision when showing estimated remaining time. 9652 9653 - Fix some small design issues. 9654 9655 src/xz/message.c | 483 +++++++++++++++++++++++++++++++++++-------------------- 9656 src/xz/message.h | 28 ++-- 9657 src/xz/process.c | 53 +++--- 9658 3 files changed, 351 insertions(+), 213 deletions(-) 9659 9660commit 47c2e21f82242f50f18713a27d644c2c94ab3fea 9661Author: Lasse Collin <lasse.collin@tukaani.org> 9662Date: 2009-02-18 13:00:10 +0200 9663 9664 Added files missing from the previous commit. 9665 9666 src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++ 9667 src/liblzma/common/Makefile.am | 7 ++++++- 9668 2 files changed, 39 insertions(+), 1 deletion(-) 9669 9670commit 489a3dbaa0465f04400804e956a1cfbbee3654a2 9671Author: Lasse Collin <lasse.collin@tukaani.org> 9672Date: 2009-02-17 10:43:00 +0200 9673 9674 Added lzma_easy_buffer_encode(). Splitted easy.c into small 9675 pieces to avoid unneeded dependencies making statically 9676 linked applications bigger than needed. 9677 9678 dos/Makefile | 6 +- 9679 src/liblzma/common/easy.c | 128 ----------------------------- 9680 src/liblzma/common/easy_buffer_encoder.c | 34 ++++++++ 9681 src/liblzma/common/easy_decoder_memusage.c | 31 +++++++ 9682 src/liblzma/common/easy_encoder.c | 87 ++++++++++++++++++++ 9683 src/liblzma/common/easy_encoder_memusage.c | 31 +++++++ 9684 src/liblzma/common/easy_preset.c | 34 ++++++++ 9685 src/liblzma/common/easy_preset.h | 39 +++++++++ 9686 windows/Makefile | 6 +- 9687 9 files changed, 266 insertions(+), 130 deletions(-) 9688 9689commit 7494816ab08d82f4d6409788825930c4e43cfd0d 9690Author: Lasse Collin <lasse.collin@tukaani.org> 9691Date: 2009-02-15 15:48:45 +0200 9692 9693 Make physmem.h work on old Windows versions. 9694 Thanks to Hongbo Ni for the original patch. 9695 9696 src/common/physmem.h | 31 +++++++++++++++++++++++++++---- 9697 1 file changed, 27 insertions(+), 4 deletions(-) 9698 9699commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0 9700Author: Lasse Collin <lasse.collin@tukaani.org> 9701Date: 2009-02-14 20:44:52 +0200 9702 9703 Fix microsecond vs. nanosecond confusion in my_time(). 9704 9705 src/xz/message.c | 2 +- 9706 1 file changed, 1 insertion(+), 1 deletion(-) 9707 9708commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7 9709Author: Lasse Collin <lasse.collin@tukaani.org> 9710Date: 2009-02-14 00:45:29 +0200 9711 9712 Cleanups to the code that detects the amount of RAM and 9713 the number of CPU cores. Added support for using sysinfo() 9714 on Linux systems whose libc lacks appropriate sysconf() 9715 support (at least dietlibc). The Autoconf macros were 9716 split into separate files, and CPU core count detection 9717 was moved from hardware.c to cpucores.h. The core count 9718 isn't used for anything real for now, so a problematic 9719 part in process.c was commented out. 9720 9721 configure.ac | 89 ++------------------------------------------------- 9722 m4/lc_cpucores.m4 | 57 +++++++++++++++++++++++++++++++++ 9723 m4/lc_physmem.m4 | 74 ++++++++++++++++++++++++++++++++++++++++++ 9724 src/common/cpucores.h | 52 ++++++++++++++++++++++++++++++ 9725 src/common/physmem.h | 21 +++++++----- 9726 src/xz/args.c | 4 +-- 9727 src/xz/hardware.c | 50 +++++++++++++---------------- 9728 src/xz/hardware.h | 11 +++++-- 9729 src/xz/message.c | 5 +-- 9730 src/xz/process.c | 2 ++ 9731 10 files changed, 235 insertions(+), 130 deletions(-) 9732 9733commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8 9734Author: Lasse Collin <lasse.collin@tukaani.org> 9735Date: 2009-02-13 18:23:50 +0200 9736 9737 Initial port to DOS using DJGPP. 9738 9739 dos/Makefile | 261 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 9740 dos/README | 113 ++++++++++++++++++++++++++ 9741 dos/config.h | 150 ++++++++++++++++++++++++++++++++++ 9742 3 files changed, 524 insertions(+) 9743 9744commit 0dae8b7751d09e9c5a482d5519daaee4800ce203 9745Author: Lasse Collin <lasse.collin@tukaani.org> 9746Date: 2009-02-13 18:02:05 +0200 9747 9748 Windows port: Take advantage of the version number macros. 9749 Now the version number is not duplicated in the 9750 Windows-specific files anymore. 9751 9752 windows/Makefile | 2 +- 9753 windows/common.rc | 16 ++++++++-------- 9754 windows/config.h | 15 --------------- 9755 3 files changed, 9 insertions(+), 24 deletions(-) 9756 9757commit fdbc0cfa71f7d660855098a609175ba384259529 9758Author: Lasse Collin <lasse.collin@tukaani.org> 9759Date: 2009-02-13 18:00:03 +0200 9760 9761 Changed how the version number is specified in various places. 9762 Now configure.ac will get the version number directly from 9763 src/liblzma/api/lzma/version.h. The intent is to reduce the 9764 number of places where the version number is duplicated. In 9765 future, support for displaying Git commit ID may be added too. 9766 9767 configure.ac | 3 +- 9768 src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++++-- 9769 src/liblzma/common/common.c | 2 +- 9770 src/xz/message.c | 2 +- 9771 src/xzdec/xzdec.c | 2 +- 9772 version.sh | 23 ++++++++++++++ 9773 6 files changed, 95 insertions(+), 7 deletions(-) 9774 9775commit 1d924e584b146136989f48c13fff2632896efb3d 9776Author: Lasse Collin <lasse.collin@tukaani.org> 9777Date: 2009-02-13 17:30:30 +0200 9778 9779 Fix handling of integrity check type in the xz command line tool. 9780 9781 src/xz/args.c | 9 ++++++++- 9782 src/xz/process.c | 4 ++++ 9783 2 files changed, 12 insertions(+), 1 deletion(-) 9784 9785commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8 9786Author: Lasse Collin <lasse.collin@tukaani.org> 9787Date: 2009-02-13 17:29:02 +0200 9788 9789 Improve support for DOS-like systems. 9790 Here DOS-like means DOS, Windows, and OS/2. 9791 9792 src/common/physmem.h | 12 ++++++++++++ 9793 src/common/sysdefs.h | 4 ++++ 9794 src/liblzma/check/crc32_x86.S | 6 +++--- 9795 src/liblzma/check/crc64_x86.S | 6 +++--- 9796 src/xz/args.c | 13 +++++-------- 9797 src/xz/io.c | 39 +++++++++++++++++++++++++-------------- 9798 src/xz/main.c | 23 +++++++++++++++++++++++ 9799 src/xz/message.c | 3 +++ 9800 src/xz/suffix.c | 5 +++++ 9801 src/xzdec/xzdec.c | 5 +++-- 9802 10 files changed, 86 insertions(+), 30 deletions(-) 9803 9804commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33 9805Author: Lasse Collin <lasse.collin@tukaani.org> 9806Date: 2009-02-11 20:02:32 +0200 9807 9808 Remove dead directories from .gitignore. 9809 9810 .gitignore | 2 -- 9811 1 file changed, 2 deletions(-) 9812 9813commit 1ec5b0027911d94cb6f98892cbc690f818d8a861 9814Author: Jim Meyering <jim@meyering.net> 9815Date: 2009-02-11 14:45:14 +0100 9816 9817 .gitignore vs. Makefiles 9818 9819 How about this for those of us who do srcdir builds? 9820 9821 .gitignore | 22 ++++++++++++++++++++++ 9822 1 file changed, 22 insertions(+) 9823 9824commit 154f5aec2de201c674841de4fcc9804c2a87af07 9825Author: Lasse Collin <lasse.collin@tukaani.org> 9826Date: 2009-02-10 21:48:35 +0200 9827 9828 Removed Makefile from .gitignore since not all Makefiles 9829 in the repository are generated by Autotools. People 9830 should do test builds in a separate build directory anyway. 9831 9832 .gitignore | 1 - 9833 1 file changed, 1 deletion(-) 9834 9835commit e605c2663691b0a4c307786aa368d124ea081daa 9836Author: Lasse Collin <lasse.collin@tukaani.org> 9837Date: 2009-02-10 21:48:05 +0200 9838 9839 Added resource files for the Windows build. 9840 9841 windows/Makefile | 37 ++++++++++++++++++++++--------------- 9842 windows/common.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 9843 windows/liblzma.rc | 5 +++++ 9844 windows/lzmadec.rc | 5 +++++ 9845 windows/xz.rc | 5 +++++ 9846 windows/xzdec.rc | 5 +++++ 9847 6 files changed, 88 insertions(+), 15 deletions(-) 9848 9849commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476 9850Author: Lasse Collin <lasse.collin@tukaani.org> 9851Date: 2009-02-09 14:54:31 +0200 9852 9853 Let the user specify custom CFLAGS on the make command 9854 line. Previously custom CFLAGS worked only when they were 9855 passed to configure. 9856 9857 configure.ac | 58 ++++++++++++++++++++++--------------------- 9858 src/liblzma/check/Makefile.am | 2 +- 9859 2 files changed, 31 insertions(+), 29 deletions(-) 9860 9861commit 53f7598998b1860a69c51243b5d2e34623c6bf60 9862Author: Lasse Collin <lasse.collin@tukaani.org> 9863Date: 2009-02-08 21:35:11 +0200 9864 9865 Fix aliasing issue in physmem.h. 9866 9867 src/common/physmem.h | 19 ++++++++++--------- 9868 1 file changed, 10 insertions(+), 9 deletions(-) 9869 9870commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6 9871Author: Lasse Collin <lasse.collin@tukaani.org> 9872Date: 2009-02-08 18:24:50 +0200 9873 9874 Add a separate internal function to initialize the CRC32 9875 table, which is used also by LZ encoder. This was needed 9876 because calling lzma_crc32() and ignoring the result is 9877 a no-op due to lzma_attr_pure. 9878 9879 src/liblzma/check/check.h | 1 + 9880 src/liblzma/check/crc32_small.c | 10 +++++++++- 9881 src/liblzma/lz/lz_encoder.c | 4 ++-- 9882 3 files changed, 12 insertions(+), 3 deletions(-) 9883 9884commit ae1ad9af54210c9a2be336b1316532da5071516c 9885Author: Lasse Collin <lasse.collin@tukaani.org> 9886Date: 2009-02-08 18:17:05 +0200 9887 9888 Make "xz --force" to write to terminal as the error 9889 message suggests. 9890 9891 src/xz/main.c | 2 +- 9892 1 file changed, 1 insertion(+), 1 deletion(-) 9893 9894commit 79e25eded48d2fe33f31441ab7a034f902e335f8 9895Author: Lasse Collin <lasse.collin@tukaani.org> 9896Date: 2009-02-08 10:37:50 +0200 9897 9898 Support both slash and backslash as path component 9899 separator on Windows when parsing argv[0]. 9900 9901 src/xz/args.c | 9 +++++++++ 9902 1 file changed, 9 insertions(+) 9903 9904commit bc7c7109cc4410055a888c1c70cbd1c9445c4361 9905Author: Lasse Collin <lasse.collin@tukaani.org> 9906Date: 2009-02-07 23:18:13 +0200 9907 9908 Omit the wrong and (even if corrected) nowadays useless rm 9909 from autogen.sh. 9910 9911 autogen.sh | 28 ---------------------------- 9912 1 file changed, 28 deletions(-) 9913 9914commit edfc2031e56f8a2ccda063f02936b3a848d88723 9915Author: Lasse Collin <lasse.collin@tukaani.org> 9916Date: 2009-02-07 21:41:52 +0200 9917 9918 Updated THANKS. 9919 9920 THANKS | 1 + 9921 1 file changed, 1 insertion(+) 9922 9923commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3 9924Author: Lasse Collin <lasse.collin@tukaani.org> 9925Date: 2009-02-07 21:17:07 +0200 9926 9927 Make it easy to choose if command line tools should be 9928 linked statically or dynamically against liblzma. The 9929 default is still to use static liblzma, but it can now 9930 be changed by passing --enable-dynamic to configure. 9931 Thanks to Mike Frysinger for the original patch. 9932 9933 Fixed a few minor bugs in configure.ac. 9934 9935 configure.ac | 39 +++++++++++++++++++++++++++++++++++++++ 9936 src/xz/Makefile.am | 8 +++----- 9937 src/xzdec/Makefile.am | 5 +++-- 9938 3 files changed, 45 insertions(+), 7 deletions(-) 9939 9940commit 3f86532407e4ace3debb62be16035e009b56ca36 9941Author: Mike Frysinger <vapier@gentoo.org> 9942Date: 2009-02-06 23:38:39 -0500 9943 9944 add gitignore files 9945 9946 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 9947 9948 .gitignore | 32 ++++++++++++++++++++++++++++++++ 9949 m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++ 9950 po/.gitignore | 12 ++++++++++++ 9951 3 files changed, 79 insertions(+) 9952 9953commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5 9954Author: Lasse Collin <lasse.collin@tukaani.org> 9955Date: 2009-02-07 17:07:52 +0200 9956 9957 Assume 32 MiB of RAM on unsupported operating systems like 9958 the comment in hardware.c already said. 9959 9960 src/xz/hardware.c | 2 +- 9961 1 file changed, 1 insertion(+), 1 deletion(-) 9962 9963commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618 9964Author: Lasse Collin <lasse.collin@tukaani.org> 9965Date: 2009-02-07 16:26:58 +0200 9966 9967 MinGW support: Don't build fastpos_tablegen.c as part of 9968 liblzma. Build both static and dynamic liblzma, and also 9969 static and dynamic versions of the command line tools. 9970 9971 windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++++-------------- 9972 windows/README | 10 ------ 9973 2 files changed, 69 insertions(+), 33 deletions(-) 9974 9975commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45 9976Author: Lasse Collin <lasse.collin@tukaani.org> 9977Date: 2009-02-07 15:55:47 +0200 9978 9979 Support LZMA_API_STATIC in assembler files to 9980 avoid __declspec(dllexport) equivalent. 9981 9982 src/liblzma/check/crc32_x86.S | 4 ++++ 9983 src/liblzma/check/crc64_x86.S | 2 ++ 9984 2 files changed, 6 insertions(+) 9985 9986commit 3306cf3883492720b3c34baa02f4eb4227d91c73 9987Author: Lasse Collin <lasse.collin@tukaani.org> 9988Date: 2009-02-07 11:11:50 +0200 9989 9990 Introduced LZMA_API_STATIC macro, which the applications 9991 need to #define when linking against static liblzma on 9992 platforms like Windows. Most developers don't need to 9993 care about LZMA_API_STATIC at all. 9994 9995 src/liblzma/api/lzma.h | 31 ++++++++++++++++++++++++------- 9996 src/liblzma/common/common.h | 2 +- 9997 2 files changed, 25 insertions(+), 8 deletions(-) 9998 9999commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b 10000Author: Lasse Collin <lasse.collin@tukaani.org> 10001Date: 2009-02-06 16:55:45 +0200 10002 10003 Another grammar fix 10004 10005 README | 2 +- 10006 1 file changed, 1 insertion(+), 1 deletion(-) 10007 10008commit fe5434f940f75fec3611cf9d9edf78c4da8ac760 10009Author: Lasse Collin <lasse.collin@tukaani.org> 10010Date: 2009-02-06 12:30:23 +0200 10011 10012 Grammar fix in README. 10013 10014 README | 2 +- 10015 1 file changed, 1 insertion(+), 1 deletion(-) 10016 10017commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245 10018Author: Lasse Collin <lasse.collin@tukaani.org> 10019Date: 2009-02-06 10:06:32 +0200 10020 10021 Some MSYS installations (e.g. MsysGit) don't include 10022 install.exe, so don't rely on it. 10023 10024 windows/Makefile | 12 +++++++----- 10025 windows/README | 11 ++++++----- 10026 2 files changed, 13 insertions(+), 10 deletions(-) 10027 10028commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31 10029Author: Lasse Collin <lasse.collin@tukaani.org> 10030Date: 2009-02-06 09:13:15 +0200 10031 10032 Recreated the BCJ test files for x86 and SPARC. The old files 10033 were linked with crt*.o, which are copyrighted, and thus the 10034 old test files were not in the public domain as a whole. They 10035 are freely distributable though, but it is better to be careful 10036 and avoid including any copyrighted pieces in the test files. 10037 The new files are just compiled and assembled object files, 10038 and thus don't contain any copyrighted code. 10039 10040 tests/bcj_test.c | 2 +- 10041 tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes 10042 tests/compress_prepared_bcj_x86 | Bin 4649 -> 1388 bytes 10043 tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes 10044 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 716 bytes 10045 5 files changed, 1 insertion(+), 1 deletion(-) 10046 10047commit 094b1b09a531f0d201ec81f2b07346a995fd80b9 10048Author: Lasse Collin <lasse.collin@tukaani.org> 10049Date: 2009-02-05 21:21:27 +0200 10050 10051 Add the "windows" directory to EXTRA_DIST. 10052 10053 Makefile.am | 1 + 10054 1 file changed, 1 insertion(+) 10055 10056commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49 10057Author: Lasse Collin <lasse.collin@tukaani.org> 10058Date: 2009-02-05 09:17:51 +0200 10059 10060 Added initial experimental makefile for use with MinGW. 10061 10062 windows/Makefile | 253 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 10063 windows/README | 164 ++++++++++++++++++++++++++++++++++++ 10064 windows/config.h | 180 +++++++++++++++++++++++++++++++++++++++ 10065 3 files changed, 597 insertions(+) 10066 10067commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9 10068Author: Lasse Collin <lasse.collin@tukaani.org> 10069Date: 2009-02-05 09:12:57 +0200 10070 10071 Various code cleanups the the xz command line tool. 10072 It now builds with MinGW. 10073 10074 src/common/physmem.h | 13 ++++ 10075 src/xz/Makefile.am | 2 + 10076 src/xz/args.h | 8 --- 10077 src/xz/hardware.h | 10 +-- 10078 src/xz/io.c | 93 +++++++++++++++++++------- 10079 src/xz/io.h | 12 ++-- 10080 src/xz/main.c | 132 ++----------------------------------- 10081 src/xz/main.h | 22 ------- 10082 src/xz/message.c | 65 ++++++++++++++++--- 10083 src/xz/message.h | 6 -- 10084 src/xz/options.h | 8 --- 10085 src/xz/private.h | 18 ++++-- 10086 src/xz/process.h | 10 +-- 10087 src/xz/signals.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++ 10088 src/xz/signals.h | 51 +++++++++++++++ 10089 src/xz/suffix.h | 5 -- 10090 src/xz/util.c | 5 +- 10091 src/xz/util.h | 5 -- 10092 18 files changed, 399 insertions(+), 246 deletions(-) 10093 10094commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe 10095Author: Lasse Collin <lasse.collin@tukaani.org> 10096Date: 2009-02-03 12:15:17 +0200 10097 10098 Another utime() fix. 10099 10100 src/xz/io.c | 9 +++++---- 10101 1 file changed, 5 insertions(+), 4 deletions(-) 10102 10103commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca 10104Author: Lasse Collin <lasse.collin@tukaani.org> 10105Date: 2009-02-03 10:41:11 +0200 10106 10107 Fix wrong filename argument for utime() and utimes(). 10108 This doesn't affect most systems, since most systems 10109 have better functions available. 10110 10111 src/xz/io.c | 4 ++-- 10112 1 file changed, 2 insertions(+), 2 deletions(-) 10113 10114commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302 10115Author: Lasse Collin <lasse.collin@tukaani.org> 10116Date: 2009-02-02 21:19:01 +0200 10117 10118 Updated the x86 assembler code: 10119 - Use call/ret pair to get instruction pointer for PIC. 10120 - Use PIC only if PIC or __PIC__ is #defined. 10121 - The code should work on MinGW and Darwin in addition 10122 to GNU/Linux and Solaris. 10123 10124 configure.ac | 6 ---- 10125 src/liblzma/check/crc32_x86.S | 84 ++++++++++++++++++++++++++++++++++++------- 10126 src/liblzma/check/crc64_x86.S | 82 ++++++++++++++++++++++++++++++++++++------ 10127 3 files changed, 144 insertions(+), 28 deletions(-) 10128 10129commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f 10130Author: Lasse Collin <lasse.collin@tukaani.org> 10131Date: 2009-02-02 20:14:03 +0200 10132 10133 Modify LZMA_API macro so that it works on Windows with 10134 other compilers than MinGW. This may hurt readability 10135 of the API headers slightly, but I don't know any 10136 better way to do this. 10137 10138 src/liblzma/api/lzma.h | 6 ++--- 10139 src/liblzma/api/lzma/base.h | 11 ++++---- 10140 src/liblzma/api/lzma/block.h | 22 ++++++++-------- 10141 src/liblzma/api/lzma/check.h | 10 ++++---- 10142 src/liblzma/api/lzma/container.h | 22 ++++++++-------- 10143 src/liblzma/api/lzma/filter.h | 28 ++++++++++----------- 10144 src/liblzma/api/lzma/index.h | 40 +++++++++++++++--------------- 10145 src/liblzma/api/lzma/index_hash.h | 10 ++++---- 10146 src/liblzma/api/lzma/lzma.h | 6 ++--- 10147 src/liblzma/api/lzma/stream_flags.h | 10 ++++---- 10148 src/liblzma/api/lzma/version.h | 4 +-- 10149 src/liblzma/api/lzma/vli.h | 6 ++--- 10150 src/liblzma/check/check.c | 4 +-- 10151 src/liblzma/check/crc32_fast.c | 2 +- 10152 src/liblzma/check/crc32_small.c | 2 +- 10153 src/liblzma/check/crc64_fast.c | 2 +- 10154 src/liblzma/check/crc64_small.c | 2 +- 10155 src/liblzma/common/alone_decoder.c | 2 +- 10156 src/liblzma/common/alone_encoder.c | 2 +- 10157 src/liblzma/common/auto_decoder.c | 2 +- 10158 src/liblzma/common/block_buffer_decoder.c | 2 +- 10159 src/liblzma/common/block_buffer_encoder.c | 4 +-- 10160 src/liblzma/common/block_decoder.c | 2 +- 10161 src/liblzma/common/block_encoder.c | 2 +- 10162 src/liblzma/common/block_header_decoder.c | 2 +- 10163 src/liblzma/common/block_header_encoder.c | 4 +-- 10164 src/liblzma/common/block_util.c | 6 ++--- 10165 src/liblzma/common/chunk_size.c | 2 +- 10166 src/liblzma/common/common.c | 16 ++++++------ 10167 src/liblzma/common/common.h | 2 +- 10168 src/liblzma/common/easy.c | 6 ++--- 10169 src/liblzma/common/filter_buffer_decoder.c | 2 +- 10170 src/liblzma/common/filter_buffer_encoder.c | 2 +- 10171 src/liblzma/common/filter_decoder.c | 8 +++--- 10172 src/liblzma/common/filter_encoder.c | 12 ++++----- 10173 src/liblzma/common/filter_flags_decoder.c | 2 +- 10174 src/liblzma/common/filter_flags_encoder.c | 4 +-- 10175 src/liblzma/common/index.c | 32 ++++++++++++------------ 10176 src/liblzma/common/index_decoder.c | 4 +-- 10177 src/liblzma/common/index_encoder.c | 4 +-- 10178 src/liblzma/common/index_hash.c | 10 ++++---- 10179 src/liblzma/common/stream_buffer_decoder.c | 2 +- 10180 src/liblzma/common/stream_buffer_encoder.c | 4 +-- 10181 src/liblzma/common/stream_decoder.c | 2 +- 10182 src/liblzma/common/stream_encoder.c | 2 +- 10183 src/liblzma/common/stream_flags_common.c | 2 +- 10184 src/liblzma/common/stream_flags_decoder.c | 4 +-- 10185 src/liblzma/common/stream_flags_encoder.c | 4 +-- 10186 src/liblzma/common/vli_decoder.c | 2 +- 10187 src/liblzma/common/vli_encoder.c | 2 +- 10188 src/liblzma/common/vli_size.c | 2 +- 10189 src/liblzma/lz/lz_encoder.c | 2 +- 10190 src/liblzma/lzma/lzma_encoder.c | 2 +- 10191 src/liblzma/lzma/lzma_encoder_presets.c | 2 +- 10192 54 files changed, 177 insertions(+), 176 deletions(-) 10193 10194commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65 10195Author: Lasse Collin <lasse.collin@tukaani.org> 10196Date: 2009-02-01 22:40:35 +0200 10197 10198 Fix a bug in lzma_block_buffer_decode(), although this 10199 function should be rewritten anyway. 10200 10201 src/liblzma/common/block_buffer_decoder.c | 8 ++++---- 10202 1 file changed, 4 insertions(+), 4 deletions(-) 10203 10204commit 55fd41431e61fb8178858283d636b6781e33e847 10205Author: Lasse Collin <lasse.collin@tukaani.org> 10206Date: 2009-02-01 22:39:07 +0200 10207 10208 Added initial version of raw buffer-to-buffer coding 10209 functions, and cleaned up filter.h API header a little. 10210 May be very buggy, not tested yet. 10211 10212 src/liblzma/api/lzma/filter.h | 84 +++++++++++++++++++------- 10213 src/liblzma/common/Makefile.am | 2 + 10214 src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++++ 10215 src/liblzma/common/filter_buffer_encoder.c | 61 +++++++++++++++++++ 10216 4 files changed, 221 insertions(+), 20 deletions(-) 10217 10218commit 3e54ecee5cad30a5ca361a88a99230407abc0699 10219Author: Lasse Collin <lasse.collin@tukaani.org> 10220Date: 2009-02-01 00:11:20 +0200 10221 10222 Fix missing newlines in xzdec.c. 10223 10224 src/xzdec/xzdec.c | 6 +++--- 10225 1 file changed, 3 insertions(+), 3 deletions(-) 10226 10227commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35 10228Author: Lasse Collin <lasse.collin@tukaani.org> 10229Date: 2009-02-01 00:10:07 +0200 10230 10231 Use __cdecl also for function pointers in liblzma API when 10232 on Windows. 10233 10234 src/liblzma/api/lzma.h | 18 +++++++++++------- 10235 src/liblzma/api/lzma/base.h | 4 ++-- 10236 src/liblzma/common/common.h | 18 +++++++----------- 10237 3 files changed, 20 insertions(+), 20 deletions(-) 10238 10239commit 6a2eb54092fc625d59921a607ff68cd1a90aa898 10240Author: Lasse Collin <lasse.collin@tukaani.org> 10241Date: 2009-01-31 11:01:48 +0200 10242 10243 Add LZMA_API to liblzma API headers. It's useful at least 10244 on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h 10245 has to be #included separately where needed. 10246 10247 src/common/sysdefs.h | 2 -- 10248 src/liblzma/api/lzma.h | 17 ++++++++++++++ 10249 src/liblzma/api/lzma/base.h | 10 ++++---- 10250 src/liblzma/api/lzma/block.h | 25 +++++++++++--------- 10251 src/liblzma/api/lzma/check.h | 12 ++++++---- 10252 src/liblzma/api/lzma/container.h | 23 +++++++++--------- 10253 src/liblzma/api/lzma/filter.h | 24 +++++++++---------- 10254 src/liblzma/api/lzma/index.h | 47 +++++++++++++++++++++---------------- 10255 src/liblzma/api/lzma/index_hash.h | 11 +++++---- 10256 src/liblzma/api/lzma/lzma.h | 8 ++++--- 10257 src/liblzma/api/lzma/stream_flags.h | 10 ++++---- 10258 src/liblzma/api/lzma/version.h | 4 ++-- 10259 src/liblzma/api/lzma/vli.h | 10 ++++---- 10260 src/liblzma/common/common.h | 13 ++++++++-- 10261 src/xz/private.h | 1 + 10262 src/xzdec/xzdec.c | 1 + 10263 tests/tests.h | 1 + 10264 17 files changed, 131 insertions(+), 88 deletions(-) 10265 10266commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b 10267Author: Lasse Collin <lasse.collin@tukaani.org> 10268Date: 2009-01-31 10:13:09 +0200 10269 10270 Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. 10271 10272 src/xzdec/xzdec.c | 4 ++-- 10273 1 file changed, 2 insertions(+), 2 deletions(-) 10274 10275commit 2dbdc5befb33c3703e4609809101047c67caf343 10276Author: Lasse Collin <lasse.collin@tukaani.org> 10277Date: 2009-01-31 10:02:52 +0200 10278 10279 Fix two lines in lzma.h on which the # wasn't at the 10280 beginning of the line. 10281 10282 src/liblzma/api/lzma.h | 4 ++-- 10283 1 file changed, 2 insertions(+), 2 deletions(-) 10284 10285commit 4ab760109106dc04f39dd81c97d50f528d1b51c1 10286Author: Lasse Collin <lasse.collin@tukaani.org> 10287Date: 2009-01-31 09:55:05 +0200 10288 10289 Add support for using liblzma headers in MSVC, which has no 10290 stdint.h or inttypes.h. 10291 10292 src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++++----------------- 10293 1 file changed, 46 insertions(+), 24 deletions(-) 10294 10295commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9 10296Author: Lasse Collin <lasse.collin@tukaani.org> 10297Date: 2009-01-31 08:49:54 +0200 10298 10299 Fix # -> ## in a macro in lzma.h. 10300 10301 src/liblzma/api/lzma.h | 2 +- 10302 1 file changed, 1 insertion(+), 1 deletion(-) 10303 10304commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208 10305Author: Lasse Collin <lasse.collin@tukaani.org> 10306Date: 2009-01-30 18:50:16 +0200 10307 10308 Updated README. 10309 10310 README | 30 ++++++++++++++++++++---------- 10311 1 file changed, 20 insertions(+), 10 deletions(-) 10312 10313commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb 10314Author: Lasse Collin <lasse.collin@tukaani.org> 10315Date: 2009-01-30 00:29:58 +0200 10316 10317 Remove dangling crc64_init.c. 10318 10319 src/liblzma/check/crc64_init.c | 55 ------------------------------------------ 10320 1 file changed, 55 deletions(-) 10321 10322commit 982da7ed314398420c38bf154a8f759d5f18b480 10323Author: Lasse Collin <lasse.collin@tukaani.org> 10324Date: 2009-01-28 17:16:38 +0200 10325 10326 The .xz file format specification version 1.0.0 is now 10327 officially released. The format has been technically the same 10328 since 2008-11-19, but now that it is frozen, people can start 10329 using it without a fear that the format will break. 10330 10331 doc/file-format.txt | 84 +++++++++++++++++++++++++++++++---------------------- 10332 1 file changed, 49 insertions(+), 35 deletions(-) 10333 10334commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f 10335Author: Lasse Collin <lasse.collin@tukaani.org> 10336Date: 2009-01-28 08:45:59 +0200 10337 10338 Updated THANKS. 10339 10340 THANKS | 1 + 10341 1 file changed, 1 insertion(+) 10342 10343commit 3241317093595db9f79104faafe93cb989c9f858 10344Author: Lasse Collin <lasse.collin@tukaani.org> 10345Date: 2009-01-28 08:43:26 +0200 10346 10347 Fix uninitialized variables in alone_decoder.c. This bug was 10348 triggered by the previous commit, since these variables were 10349 not used by anything before support for a preset dictionary. 10350 10351 src/liblzma/common/alone_decoder.c | 2 ++ 10352 1 file changed, 2 insertions(+) 10353 10354commit f76e39cf930f888d460b443d18f977ebedea8b2a 10355Author: Lasse Collin <lasse.collin@tukaani.org> 10356Date: 2009-01-27 18:36:05 +0200 10357 10358 Added initial support for preset dictionary for raw LZMA1 10359 and LZMA2. It is not supported by the .xz format or the xz 10360 command line tool yet. 10361 10362 src/liblzma/lz/lz_decoder.c | 35 +++++++++++++++++++++++++---------- 10363 src/liblzma/lz/lz_decoder.h | 9 ++++++++- 10364 src/liblzma/lz/lz_encoder.c | 18 ++++++++++++++++-- 10365 src/liblzma/lzma/lzma2_decoder.c | 9 ++++++--- 10366 src/liblzma/lzma/lzma2_encoder.c | 12 +++++++----- 10367 src/liblzma/lzma/lzma_decoder.c | 10 ++++++---- 10368 src/liblzma/lzma/lzma_decoder.h | 2 +- 10369 src/liblzma/lzma/lzma_encoder.c | 9 ++++++++- 10370 8 files changed, 77 insertions(+), 27 deletions(-) 10371 10372commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3 10373Author: Lasse Collin <lasse.collin@tukaani.org> 10374Date: 2009-01-26 20:09:17 +0200 10375 10376 Regenerate the CRC tables without trailing blanks. 10377 10378 src/liblzma/check/crc32_table_be.h | 1008 +++++++++++++++++------------------ 10379 src/liblzma/check/crc32_table_le.h | 1008 +++++++++++++++++------------------ 10380 src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------ 10381 src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------ 10382 4 files changed, 2024 insertions(+), 2024 deletions(-) 10383 10384commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2 10385Author: Jim Meyering <meyering@redhat.com> 10386Date: 2009-01-19 21:37:16 +0100 10387 10388 remove trailing blanks from all but .xz files 10389 10390 debug/known_sizes.c | 2 +- 10391 extra/scanlzma/scanlzma.c | 5 ++--- 10392 src/liblzma/check/crc32_tablegen.c | 2 +- 10393 src/liblzma/check/crc64_tablegen.c | 2 +- 10394 src/scripts/lzdiff.1 | 4 ++-- 10395 src/scripts/lzmore.1 | 6 +++--- 10396 tests/test_compress.sh | 4 ++-- 10397 7 files changed, 12 insertions(+), 13 deletions(-) 10398 10399commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5 10400Author: Lasse Collin <lasse.collin@tukaani.org> 10401Date: 2009-01-26 14:34:10 +0200 10402 10403 Add lzma_block_buffer_decode(). 10404 10405 src/liblzma/api/lzma/block.h | 41 +++++++++++++++ 10406 src/liblzma/common/Makefile.am | 1 + 10407 src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++++ 10408 3 files changed, 129 insertions(+) 10409 10410commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d 10411Author: Lasse Collin <lasse.collin@tukaani.org> 10412Date: 2009-01-26 14:33:28 +0200 10413 10414 Add more sanity checks to lzma_stream_buffer_decode(). 10415 10416 src/liblzma/common/stream_buffer_decoder.c | 7 +++++++ 10417 1 file changed, 7 insertions(+) 10418 10419commit c129748675a5daa8838df92bde32cc04f6ce61ba 10420Author: Lasse Collin <lasse.collin@tukaani.org> 10421Date: 2009-01-26 14:33:13 +0200 10422 10423 Avoid hardcoded constant in easy.c. 10424 10425 src/liblzma/common/easy.c | 2 +- 10426 1 file changed, 1 insertion(+), 1 deletion(-) 10427 10428commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6 10429Author: Lasse Collin <lasse.collin@tukaani.org> 10430Date: 2009-01-26 13:06:49 +0200 10431 10432 Tiny bit better sanity check in block_util.c 10433 10434 src/liblzma/common/block_util.c | 2 +- 10435 1 file changed, 1 insertion(+), 1 deletion(-) 10436 10437commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7 10438Author: Lasse Collin <lasse.collin@tukaani.org> 10439Date: 2009-01-25 01:35:56 +0200 10440 10441 Fix a dumb bug in Block decoder, which made it return 10442 LZMA_DATA_ERROR with valid data. The bug was added in 10443 e114502b2bc371e4a45449832cb69be036360722. 10444 10445 src/liblzma/common/block_decoder.c | 6 +++--- 10446 1 file changed, 3 insertions(+), 3 deletions(-) 10447 10448commit c81f13ff29271de7293f8af3d81848b1dcae3d19 10449Author: Lasse Collin <lasse.collin@tukaani.org> 10450Date: 2009-01-23 22:27:50 +0200 10451 10452 Added lzma_stream_buffer_decode() and made minor cleanups. 10453 10454 src/liblzma/api/lzma/block.h | 3 +- 10455 src/liblzma/api/lzma/container.h | 51 ++++++++++++++++- 10456 src/liblzma/common/Makefile.am | 1 + 10457 src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++++ 10458 4 files changed, 144 insertions(+), 2 deletions(-) 10459 10460commit 0b3318661ce749550b8531dfd469639a08930391 10461Author: Lasse Collin <lasse.collin@tukaani.org> 10462Date: 2009-01-22 12:53:33 +0200 10463 10464 Fix a comment. 10465 10466 src/liblzma/common/common.h | 2 +- 10467 1 file changed, 1 insertion(+), 1 deletion(-) 10468 10469commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec 10470Author: Lasse Collin <lasse.collin@tukaani.org> 10471Date: 2009-01-20 16:37:27 +0200 10472 10473 Add some single-call buffer-to-buffer coding functions. 10474 10475 src/liblzma/api/lzma/block.h | 57 ++++++ 10476 src/liblzma/api/lzma/container.h | 56 ++++++ 10477 src/liblzma/api/lzma/index.h | 70 ++++++- 10478 src/liblzma/common/Makefile.am | 2 + 10479 src/liblzma/common/block_buffer_encoder.c | 305 +++++++++++++++++++++++++++++ 10480 src/liblzma/common/index_decoder.c | 83 ++++++-- 10481 src/liblzma/common/index_encoder.c | 59 +++++- 10482 src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++ 10483 tests/test_index.c | 24 +++ 10484 9 files changed, 768 insertions(+), 26 deletions(-) 10485 10486commit d8b58d099340f8f4007b24b211ee41a7210c061c 10487Author: Lasse Collin <lasse.collin@tukaani.org> 10488Date: 2009-01-20 13:45:41 +0200 10489 10490 Block encoder cleanups 10491 10492 src/liblzma/common/block_encoder.c | 28 +++++++--------------------- 10493 src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++ 10494 2 files changed, 32 insertions(+), 21 deletions(-) 10495 10496commit 0c09810cb3635cb575cb54e694d41523e7d0a335 10497Author: Lasse Collin <lasse.collin@tukaani.org> 10498Date: 2009-01-20 10:35:15 +0200 10499 10500 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h. 10501 10502 src/liblzma/common/common.c | 24 ++++++++---------------- 10503 1 file changed, 8 insertions(+), 16 deletions(-) 10504 10505commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00 10506Author: Lasse Collin <lasse.collin@tukaani.org> 10507Date: 2009-01-19 22:53:18 +0200 10508 10509 Fix handling of non-fatal errors in lzma_code(). 10510 10511 src/liblzma/common/common.c | 9 ++++++++- 10512 1 file changed, 8 insertions(+), 1 deletion(-) 10513 10514commit 4810b6bc25087be872960b9dd1d11ff07735dc88 10515Author: Lasse Collin <lasse.collin@tukaani.org> 10516Date: 2009-01-19 14:00:33 +0200 10517 10518 Move some LZMA2 constants to lzma2_encoder.h so that they 10519 can be used outside lzma2_encoder.c. 10520 10521 src/liblzma/lzma/lzma2_encoder.c | 13 ------------- 10522 src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++ 10523 src/liblzma/lzma/lzma_encoder.c | 3 ++- 10524 3 files changed, 16 insertions(+), 14 deletions(-) 10525 10526commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4 10527Author: Lasse Collin <lasse.collin@tukaani.org> 10528Date: 2009-01-19 13:52:36 +0200 10529 10530 Remove dead code. 10531 10532 src/liblzma/lzma/lzma_encoder.h | 8 -------- 10533 1 file changed, 8 deletions(-) 10534 10535commit 128586213f77c9bd82b7e9a62927f6d0c3769d85 10536Author: Lasse Collin <lasse.collin@tukaani.org> 10537Date: 2009-01-17 14:24:25 +0200 10538 10539 Beta was supposed to be API stable but I had forgot to rename 10540 lzma_memlimit_encoder and lzma_memlimit_decoder to 10541 lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-( 10542 Now it is fixed. Hopefully it doesn't cause too much trouble 10543 to those who already thought API is stable. 10544 10545 src/liblzma/api/lzma/filter.h | 4 ++-- 10546 src/liblzma/common/easy.c | 4 ++-- 10547 src/liblzma/common/filter_common.c | 2 +- 10548 src/liblzma/common/filter_common.h | 2 +- 10549 src/liblzma/common/filter_decoder.c | 4 ++-- 10550 src/liblzma/common/filter_encoder.c | 4 ++-- 10551 src/liblzma/common/stream_decoder.c | 2 +- 10552 src/xz/process.c | 6 +++--- 10553 8 files changed, 14 insertions(+), 14 deletions(-) 10554 10555commit b056379490be5c584c264a967f0540041a163a1e 10556Author: Lasse Collin <lasse.collin@tukaani.org> 10557Date: 2009-01-15 14:29:22 +0200 10558 10559 Updated THANKS. 10560 10561 THANKS | 1 + 10562 1 file changed, 1 insertion(+) 10563 10564commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89 10565Author: Lasse Collin <lasse.collin@tukaani.org> 10566Date: 2009-01-15 14:27:32 +0200 10567 10568 Fixed a bug in 7z2lzma.bash to make it work with .7z files 10569 that use something else than 2^n as the dictionary size. 10570 Thanks to Dan Shechter for the bug report. 10571 10572 extra/7z2lzma/7z2lzma.bash | 47 +++++++++++++++++++++++----------------------- 10573 1 file changed, 24 insertions(+), 23 deletions(-) 10574 10575commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2 10576Author: Lasse Collin <lasse.collin@tukaani.org> 10577Date: 2009-01-07 18:41:15 +0200 10578 10579 Use pthread_sigmask() instead of sigprocmask() when pthreads 10580 are enabled. 10581 10582 src/common/mythread.h | 6 ++++++ 10583 src/xz/main.c | 4 ++-- 10584 src/xz/private.h | 1 + 10585 3 files changed, 9 insertions(+), 2 deletions(-) 10586 10587commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9 10588Author: Lasse Collin <lasse.collin@tukaani.org> 10589Date: 2008-12-31 20:01:00 +0200 10590 10591 Bumped version to 4.999.8beta right after the release 10592 of 4.999.7beta. 10593 10594 configure.ac | 2 +- 10595 src/liblzma/api/lzma/version.h | 2 +- 10596 2 files changed, 2 insertions(+), 2 deletions(-) 10597 10598commit 061748f5932719643cda73383db715167d543c22 10599Author: Lasse Collin <lasse.collin@tukaani.org> 10600Date: 2008-12-31 18:59:02 +0200 10601 10602 Disable Subblock filter from test_compress.sh since it is 10603 disabled by default in configure.ac. 10604 10605 tests/test_compress.sh | 22 +++++++++++++--------- 10606 1 file changed, 13 insertions(+), 9 deletions(-) 10607 10608commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78 10609Author: Lasse Collin <lasse.collin@tukaani.org> 10610Date: 2008-12-31 17:44:20 +0200 10611 10612 Disable both Subblock encoder and decoder my default, 10613 since they are not finished and may have security issues too. 10614 10615 configure.ac | 2 +- 10616 1 file changed, 1 insertion(+), 1 deletion(-) 10617 10618commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88 10619Author: Lasse Collin <lasse.collin@tukaani.org> 10620Date: 2008-12-31 17:42:50 +0200 10621 10622 Update some files in debug directory. 10623 10624 debug/full_flush.c | 2 -- 10625 debug/memusage.c | 2 -- 10626 debug/sync_flush.c | 2 -- 10627 3 files changed, 6 deletions(-) 10628 10629commit d1d17a40d33a9682424ca37282813492f2cba6d0 10630Author: Lasse Collin <lasse.collin@tukaani.org> 10631Date: 2008-12-31 17:41:46 +0200 10632 10633 Prepare for 4.999.7beta release. 10634 10635 AUTHORS | 4 ++-- 10636 README | 34 +++++++++++++++++----------------- 10637 configure.ac | 4 ++-- 10638 src/liblzma/api/lzma/version.h | 2 +- 10639 4 files changed, 22 insertions(+), 22 deletions(-) 10640 10641commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3 10642Author: Lasse Collin <lasse.collin@tukaani.org> 10643Date: 2008-12-31 17:15:03 +0200 10644 10645 Cleaned up some comments in the API headers. 10646 10647 src/liblzma/api/lzma/check.h | 23 +++++++++++------------ 10648 src/liblzma/api/lzma/container.h | 2 +- 10649 src/liblzma/api/lzma/version.h | 4 +++- 10650 3 files changed, 15 insertions(+), 14 deletions(-) 10651 10652commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40 10653Author: Lasse Collin <lasse.collin@tukaani.org> 10654Date: 2008-12-31 16:29:39 +0200 10655 10656 Renamed lzma_options_simple to lzma_options_bcj in the API. 10657 The internal implementation is still using the name "simple". 10658 It may need some cleanups, so I look at it later. 10659 10660 src/liblzma/api/Makefile.am | 2 +- 10661 src/liblzma/api/lzma.h | 2 +- 10662 src/liblzma/api/lzma/bcj.h | 94 +++++++++++++++++++++++++++++++++++++ 10663 src/liblzma/api/lzma/simple.h | 94 ------------------------------------- 10664 src/liblzma/simple/simple_coder.c | 2 +- 10665 src/liblzma/simple/simple_decoder.c | 4 +- 10666 src/liblzma/simple/simple_encoder.c | 4 +- 10667 tests/test_filter_flags.c | 8 ++-- 10668 8 files changed, 105 insertions(+), 105 deletions(-) 10669 10670commit 7eea8bec3abfed883efba66264a1452a1c04f6b0 10671Author: Lasse Collin <lasse.collin@tukaani.org> 10672Date: 2008-12-31 00:57:27 +0200 10673 10674 Fixed missing quoting in configure.ac. 10675 10676 configure.ac | 38 +++++++++++++++++++------------------- 10677 1 file changed, 19 insertions(+), 19 deletions(-) 10678 10679commit 28e75f7086dbe9501d926c370375c69dfb1236ce 10680Author: Lasse Collin <lasse.collin@tukaani.org> 10681Date: 2008-12-31 00:48:23 +0200 10682 10683 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which 10684 should have been in the previous commit. 10685 10686 src/liblzma/Makefile.am | 4 ++-- 10687 1 file changed, 2 insertions(+), 2 deletions(-) 10688 10689commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90 10690Author: Lasse Collin <lasse.collin@tukaani.org> 10691Date: 2008-12-31 00:30:49 +0200 10692 10693 Remove lzma_init() and other init functions from liblzma API. 10694 Half of developers were already forgetting to use these 10695 functions, which could have caused total breakage in some future 10696 liblzma version or even now if --enable-small was used. Now 10697 liblzma uses pthread_once() to do the initializations unless 10698 it has been built with --disable-threads which make these 10699 initializations thread-unsafe. 10700 10701 When --enable-small isn't used, liblzma currently gets needlessly 10702 linked against libpthread (on systems that have it). While it is 10703 stupid for now, liblzma will need threads in future anyway, so 10704 this stupidity will be temporary only. 10705 10706 When --enable-small is used, different code CRC32 and CRC64 is 10707 now used than without --enable-small. This made the resulting 10708 binary slightly smaller, but the main reason was to clean it up 10709 and to handle the lack of lzma_init_check(). 10710 10711 The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not 10712 sure if it works correctly and portably for static linking 10713 (Libs.private includes -pthread or other operating system 10714 specific flags). Hopefully someone complains if it is bad. 10715 10716 lzma_rc_prices[] is now included as a precomputed array even 10717 with --enable-small. It's just 128 bytes now that it uses uint8_t 10718 instead of uint32_t. Smaller array seemed to be at least as fast 10719 as the more bloated uint32_t array on x86; hopefully it's not bad 10720 on other architectures. 10721 10722 configure.ac | 29 ++++++++-- 10723 src/common/mythread.h | 34 ++++++++++++ 10724 src/liblzma/api/Makefile.am | 1 - 10725 src/liblzma/api/lzma.h | 1 - 10726 src/liblzma/api/lzma/init.h | 85 ----------------------------- 10727 src/liblzma/check/Makefile.am | 29 ++++------ 10728 src/liblzma/check/check.c | 10 ++-- 10729 src/liblzma/check/check.h | 25 ++++----- 10730 src/liblzma/check/check_init.c | 37 ------------- 10731 src/liblzma/check/crc32.c | 88 ------------------------------- 10732 src/liblzma/check/crc32_fast.c | 88 +++++++++++++++++++++++++++++++ 10733 src/liblzma/check/crc32_init.c | 55 ------------------- 10734 src/liblzma/check/crc32_small.c | 54 +++++++++++++++++++ 10735 src/liblzma/check/crc32_tablegen.c | 55 ++++++++++++++++--- 10736 src/liblzma/check/crc64.c | 75 -------------------------- 10737 src/liblzma/check/crc64_fast.c | 75 ++++++++++++++++++++++++++ 10738 src/liblzma/check/crc64_small.c | 54 +++++++++++++++++++ 10739 src/liblzma/check/crc64_tablegen.c | 55 ++++++++++++++++--- 10740 src/liblzma/common/Makefile.am | 3 -- 10741 src/liblzma/common/common.h | 1 + 10742 src/liblzma/common/init.c | 39 -------------- 10743 src/liblzma/common/init_decoder.c | 31 ----------- 10744 src/liblzma/common/init_encoder.c | 40 -------------- 10745 src/liblzma/liblzma.pc.in | 12 +++++ 10746 src/liblzma/lz/lz_encoder.c | 6 +++ 10747 src/liblzma/lzma.pc.in | 11 ---- 10748 src/liblzma/rangecoder/Makefile.am | 8 +-- 10749 src/liblzma/rangecoder/price.h | 16 +----- 10750 src/liblzma/rangecoder/price_table.c | 2 +- 10751 src/liblzma/rangecoder/price_table_init.c | 55 ------------------- 10752 src/liblzma/rangecoder/price_tablegen.c | 51 +++++++++++++++--- 10753 src/xz/Makefile.am | 5 +- 10754 src/xz/main.c | 3 -- 10755 src/xzdec/xzdec.c | 3 -- 10756 tests/test_block_header.c | 1 - 10757 tests/test_check.c | 2 - 10758 tests/test_filter_flags.c | 2 - 10759 tests/test_index.c | 2 - 10760 tests/test_stream_flags.c | 2 - 10761 tests/tests.h | 2 +- 10762 40 files changed, 519 insertions(+), 628 deletions(-) 10763 10764commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2 10765Author: Lasse Collin <lasse.collin@tukaani.org> 10766Date: 2008-12-27 19:40:31 +0200 10767 10768 Use 28 MiB as memory usage limit for encoding in test_compress.sh. 10769 10770 tests/test_compress.sh | 2 +- 10771 1 file changed, 1 insertion(+), 1 deletion(-) 10772 10773commit 050eb14d29e2537c014662e83599fd8a77f13c45 10774Author: Lasse Collin <lasse.collin@tukaani.org> 10775Date: 2008-12-27 19:32:20 +0200 10776 10777 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680 10778 that was related to LZMA_MODE_FAST. The original code is slightly 10779 faster although it compresses slightly worse. But since it is fast 10780 mode, it is better to select the faster version. 10781 10782 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++--------------- 10783 1 file changed, 8 insertions(+), 15 deletions(-) 10784 10785commit 4820f10d0f173864f6a2ea7479663b509ac53358 10786Author: Lasse Collin <lasse.collin@tukaani.org> 10787Date: 2008-12-27 19:30:19 +0200 10788 10789 Some xz command line tool improvements. 10790 10791 src/xz/args.c | 23 +++++----- 10792 src/xz/message.c | 4 +- 10793 src/xz/options.c | 2 +- 10794 src/xz/process.c | 133 +++++++++++++++++++++++++++++++++++++++++++------------ 10795 src/xz/process.h | 3 ++ 10796 5 files changed, 121 insertions(+), 44 deletions(-) 10797 10798commit e33194e79d8f5ce07cb4aca909b324ae75098f7e 10799Author: Lasse Collin <lasse.collin@tukaani.org> 10800Date: 2008-12-27 19:27:49 +0200 10801 10802 Bunch of liblzma tweaks, including some API changes. 10803 The API and ABI should now be very close to stable, 10804 although the code behind it isn't yet. 10805 10806 src/liblzma/api/lzma.h | 8 ++-- 10807 src/liblzma/api/lzma/block.h | 63 ++++++++++++++++++++++++- 10808 src/liblzma/api/lzma/container.h | 76 +++++++++++++++---------------- 10809 src/liblzma/api/lzma/lzma.h | 41 +++++++++-------- 10810 src/liblzma/common/alone_decoder.c | 36 +++++++-------- 10811 src/liblzma/common/alone_encoder.c | 22 ++++----- 10812 src/liblzma/common/auto_decoder.c | 2 +- 10813 src/liblzma/common/block_decoder.c | 54 +++++++++++----------- 10814 src/liblzma/common/block_decoder.h | 4 +- 10815 src/liblzma/common/block_encoder.c | 37 ++++++++------- 10816 src/liblzma/common/block_encoder.h | 4 +- 10817 src/liblzma/common/block_header_decoder.c | 41 +++++++++-------- 10818 src/liblzma/common/block_header_encoder.c | 51 ++++++++++----------- 10819 src/liblzma/common/block_util.c | 3 +- 10820 src/liblzma/common/easy.c | 45 ++++++------------ 10821 src/liblzma/common/stream_decoder.c | 3 +- 10822 src/liblzma/common/stream_decoder.h | 2 +- 10823 src/liblzma/common/stream_encoder.c | 3 +- 10824 src/liblzma/common/stream_encoder.h | 2 +- 10825 src/liblzma/common/stream_flags_decoder.c | 2 +- 10826 src/liblzma/common/stream_flags_encoder.c | 2 +- 10827 src/liblzma/lzma/lzma_encoder.c | 2 +- 10828 src/liblzma/lzma/lzma_encoder_presets.c | 53 +++++++-------------- 10829 23 files changed, 294 insertions(+), 262 deletions(-) 10830 10831commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074 10832Author: Lasse Collin <lasse.collin@tukaani.org> 10833Date: 2008-12-18 13:42:52 +0200 10834 10835 Updated Makefile.am that was missing from the previous commit. 10836 10837 src/liblzma/common/Makefile.am | 1 - 10838 1 file changed, 1 deletion(-) 10839 10840commit 634636fa56ccee6e744f78b0abed76c8940f2f8f 10841Author: Lasse Collin <lasse.collin@tukaani.org> 10842Date: 2008-12-17 21:49:53 +0200 10843 10844 Remove the alignment functions for now. Maybe they will 10845 be added back in some form later, but the current version 10846 wasn't modular, so it would need fixing anyway. 10847 10848 src/liblzma/api/Makefile.am | 1 - 10849 src/liblzma/api/lzma.h | 1 - 10850 src/liblzma/api/lzma/alignment.h | 60 --------------------- 10851 src/liblzma/common/alignment.c | 114 --------------------------------------- 10852 4 files changed, 176 deletions(-) 10853 10854commit 4fed98417d1687f5eccccb42a133fde3ec81216a 10855Author: Lasse Collin <lasse.collin@tukaani.org> 10856Date: 2008-12-17 20:11:23 +0200 10857 10858 xz message handling improvements 10859 10860 src/xz/message.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 10861 src/xz/message.h | 7 +++- 10862 src/xz/process.c | 28 ++++++++++++- 10863 3 files changed, 146 insertions(+), 14 deletions(-) 10864 10865commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d 10866Author: Lasse Collin <lasse.collin@tukaani.org> 10867Date: 2008-12-15 23:26:43 +0200 10868 10869 Fix a dumb bug in .lzma decoder which was introduced in 10870 the previous commit. (Probably the previous commit has 10871 other bugs too, it wasn't tested.) 10872 10873 src/liblzma/common/alone_decoder.c | 29 ++++++++++++++--------------- 10874 1 file changed, 14 insertions(+), 15 deletions(-) 10875 10876commit 671a5adf1e844bfdd6fd327016c3c28694493158 10877Author: Lasse Collin <lasse.collin@tukaani.org> 10878Date: 2008-12-15 19:39:13 +0200 10879 10880 Bunch of liblzma API cleanups and fixes. 10881 10882 src/liblzma/api/lzma.h | 122 +++++++++++---------- 10883 src/liblzma/api/lzma/base.h | 174 ++++++++++++++++++----------- 10884 src/liblzma/api/lzma/block.h | 211 +++++++++++++++++++++++------------- 10885 src/liblzma/api/lzma/check.h | 28 ++--- 10886 src/liblzma/api/lzma/container.h | 155 +++++++++++++------------- 10887 src/liblzma/api/lzma/delta.h | 12 +- 10888 src/liblzma/api/lzma/filter.h | 27 +++-- 10889 src/liblzma/api/lzma/index.h | 97 ++++++++++++++--- 10890 src/liblzma/api/lzma/index_hash.h | 26 +++-- 10891 src/liblzma/api/lzma/init.h | 2 +- 10892 src/liblzma/api/lzma/lzma.h | 12 +- 10893 src/liblzma/api/lzma/simple.h | 4 +- 10894 src/liblzma/api/lzma/stream_flags.h | 46 +++++--- 10895 src/liblzma/api/lzma/version.h | 6 +- 10896 src/liblzma/api/lzma/vli.h | 17 ++- 10897 src/liblzma/common/alone_decoder.c | 47 +++++--- 10898 src/liblzma/common/auto_decoder.c | 29 +++++ 10899 src/liblzma/common/block_util.c | 52 +++++---- 10900 src/liblzma/common/common.c | 58 ++++++++++ 10901 src/liblzma/common/common.h | 9 +- 10902 src/liblzma/common/easy.c | 33 ++++-- 10903 src/liblzma/common/filter_common.c | 2 +- 10904 src/liblzma/common/index.c | 11 ++ 10905 src/liblzma/common/index_decoder.c | 46 ++++++-- 10906 src/liblzma/common/stream_decoder.c | 47 ++++++-- 10907 src/liblzma/lzma/lzma2_encoder.c | 6 +- 10908 tests/test_index.c | 10 +- 10909 27 files changed, 863 insertions(+), 426 deletions(-) 10910 10911commit 17781c2c20fd77029cb32e77792889f2f211d69d 10912Author: Lasse Collin <lasse.collin@tukaani.org> 10913Date: 2008-12-15 14:26:52 +0200 10914 10915 The LZMA2 decoder fix introduced a bug to LZ decoder, 10916 which made LZ decoder return too early after dictionary 10917 reset. This fixes it. 10918 10919 src/liblzma/lz/lz_decoder.c | 33 +++++++++++++++++++++++---------- 10920 1 file changed, 23 insertions(+), 10 deletions(-) 10921 10922commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8 10923Author: Lasse Collin <lasse.collin@tukaani.org> 10924Date: 2008-12-15 11:20:22 +0200 10925 10926 Added two new test files. 10927 10928 tests/files/README | 7 +++++++ 10929 tests/files/bad-1-lzma2-8.xz | Bin 0 -> 464 bytes 10930 tests/files/good-1-lzma2-4.xz | Bin 0 -> 464 bytes 10931 3 files changed, 7 insertions(+) 10932 10933commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf 10934Author: Lasse Collin <lasse.collin@tukaani.org> 10935Date: 2008-12-15 10:01:59 +0200 10936 10937 Fix data corruption in LZMA2 decoder. 10938 10939 src/liblzma/lz/lz_decoder.c | 17 ++++++++++++++++- 10940 src/liblzma/lz/lz_decoder.h | 8 +++++--- 10941 src/liblzma/lzma/lzma2_decoder.c | 15 +++++++++++---- 10942 3 files changed, 32 insertions(+), 8 deletions(-) 10943 10944commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613 10945Author: Lasse Collin <lasse.collin@tukaani.org> 10946Date: 2008-12-13 00:54:11 +0200 10947 10948 Name the package "xz" in configure.ac. 10949 10950 configure.ac | 11 ++++------- 10951 1 file changed, 4 insertions(+), 7 deletions(-) 10952 10953commit a94bf00d0af9b423851905b031be5a645a657820 10954Author: Lasse Collin <lasse.collin@tukaani.org> 10955Date: 2008-12-12 22:43:21 +0200 10956 10957 Some adjustments to GCC warning flags. The important change 10958 is the removal of -pedantic. It messes up -Werror (which I 10959 really want to keep so that I don't miss any warnings) with 10960 printf format strings that are in POSIX but not in C99. 10961 10962 configure.ac | 8 +++++--- 10963 1 file changed, 5 insertions(+), 3 deletions(-) 10964 10965commit 8582d392baacd2cdac07ca60041f8c661323676d 10966Author: Lasse Collin <lasse.collin@tukaani.org> 10967Date: 2008-12-10 01:31:00 +0200 10968 10969 Remove obsolete comment. 10970 10971 src/xz/message.c | 1 - 10972 1 file changed, 1 deletion(-) 10973 10974commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1 10975Author: Lasse Collin <lasse.collin@tukaani.org> 10976Date: 2008-12-10 01:27:15 +0200 10977 10978 Use "decompression" consistently in --long-help. 10979 10980 src/xz/message.c | 2 +- 10981 1 file changed, 1 insertion(+), 1 deletion(-) 10982 10983commit 1ea9e7f15afd5d3981e2432710e932320597bca9 10984Author: Lasse Collin <lasse.collin@tukaani.org> 10985Date: 2008-12-10 01:23:58 +0200 10986 10987 Added preset=NUM to --lzma1 and --lzma2. This makes it easy 10988 to take a preset as a template and modify it a little. 10989 10990 src/xz/message.c | 1 + 10991 src/xz/options.c | 8 ++++++++ 10992 2 files changed, 9 insertions(+) 10993 10994commit bceb3918dbb21f34976bfdd4c171a81319de71f7 10995Author: Lasse Collin <lasse.collin@tukaani.org> 10996Date: 2008-12-09 17:43:31 +0200 10997 10998 Put the file format specification into the public domain. 10999 Same will be done to the actual code later. 11000 11001 doc/file-format.txt | 24 +++++++++--------------- 11002 1 file changed, 9 insertions(+), 15 deletions(-) 11003 11004commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6 11005Author: Lasse Collin <lasse.collin@tukaani.org> 11006Date: 2008-12-09 17:41:49 +0200 11007 11008 Make the memusage functions of LZMA1 and LZMA2 encoders 11009 to validate the filter options. Add missing validation 11010 to LZMA2 encoder when options are changed in the middle 11011 of encoding. 11012 11013 src/liblzma/lzma/lzma2_encoder.c | 5 ++++- 11014 src/liblzma/lzma/lzma_encoder.c | 44 +++++++++++++++++++++++++++------------- 11015 src/liblzma/lzma/lzma_encoder.h | 2 +- 11016 3 files changed, 35 insertions(+), 16 deletions(-) 11017 11018commit f20a03206b71ff01b827bb7a932411d6a6a4e06a 11019Author: Lasse Collin <lasse.collin@tukaani.org> 11020Date: 2008-12-09 10:36:24 +0200 11021 11022 Updated THANKS. 11023 11024 THANKS | 1 + 11025 1 file changed, 1 insertion(+) 11026 11027commit ef7890d56453dca1aeb2e12db29b7e418d93dde4 11028Author: Lasse Collin <lasse.collin@tukaani.org> 11029Date: 2008-12-01 23:04:12 +0200 11030 11031 In command line tool, take advantage of memusage calculation's 11032 ability to also validate the filter chain and options (not 11033 implemented yet for all filters). 11034 11035 src/xz/process.c | 8 ++++---- 11036 1 file changed, 4 insertions(+), 4 deletions(-) 11037 11038commit ccd57afa09e332d664d6d6a7498702791ea5f659 11039Author: Lasse Collin <lasse.collin@tukaani.org> 11040Date: 2008-12-01 22:59:28 +0200 11041 11042 Validate the filter chain before checking filter-specific 11043 memory usage. 11044 11045 src/liblzma/common/filter_common.c | 14 ++++++++++---- 11046 1 file changed, 10 insertions(+), 4 deletions(-) 11047 11048commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15 11049Author: Lasse Collin <lasse.collin@tukaani.org> 11050Date: 2008-12-01 22:58:22 +0200 11051 11052 Make the memusage functions of LZMA1 and LZMA2 decoders 11053 to validate the filter options. 11054 11055 src/liblzma/lzma/lzma2_decoder.c | 7 ++----- 11056 src/liblzma/lzma/lzma_decoder.c | 14 ++++++++++---- 11057 src/liblzma/lzma/lzma_decoder.h | 5 +++++ 11058 3 files changed, 17 insertions(+), 9 deletions(-) 11059 11060commit c58f469be5bb9b0bdab825c6687445fd553f4f3a 11061Author: Lasse Collin <lasse.collin@tukaani.org> 11062Date: 2008-12-01 22:55:18 +0200 11063 11064 Added the changes for Delta filter that should have been 11065 part of 656ec87882ee74b192c4ea4a233a235eca7b04d4. 11066 11067 src/liblzma/common/filter_decoder.c | 2 +- 11068 src/liblzma/common/filter_encoder.c | 2 +- 11069 2 files changed, 2 insertions(+), 2 deletions(-) 11070 11071commit cd708015202dbf7585b84a8781462a20c42a324b 11072Author: Lasse Collin <lasse.collin@tukaani.org> 11073Date: 2008-12-01 22:50:28 +0200 11074 11075 LZMA2 decoder cleanups. Make it require new LZMA properties 11076 also in the first LZMA chunk after a dictionary reset in 11077 uncompressed chunk. 11078 11079 src/liblzma/lzma/lzma2_decoder.c | 95 +++++++++++++++++----------------------- 11080 1 file changed, 41 insertions(+), 54 deletions(-) 11081 11082commit 656ec87882ee74b192c4ea4a233a235eca7b04d4 11083Author: Lasse Collin <lasse.collin@tukaani.org> 11084Date: 2008-12-01 16:30:11 +0200 11085 11086 Added lzma_delta_coder_memusage() which also validates 11087 the options. 11088 11089 src/liblzma/delta/Makefile.am | 3 ++- 11090 src/liblzma/delta/delta_common.c | 28 ++++++++++++++++++------- 11091 src/liblzma/delta/delta_common.h | 19 +---------------- 11092 src/liblzma/delta/delta_decoder.c | 2 +- 11093 src/liblzma/delta/delta_decoder.h | 2 +- 11094 src/liblzma/delta/delta_encoder.c | 14 ++++--------- 11095 src/liblzma/delta/delta_encoder.h | 2 +- 11096 src/liblzma/delta/delta_private.h | 44 +++++++++++++++++++++++++++++++++++++++ 11097 8 files changed, 75 insertions(+), 39 deletions(-) 11098 11099commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a 11100Author: Lasse Collin <lasse.collin@tukaani.org> 11101Date: 2008-11-29 10:03:49 +0200 11102 11103 Automake includes the m4 directory, so don't add it in 11104 Makefile.am separately. 11105 11106 Updated THANKS. 11107 11108 Makefile.am | 1 - 11109 THANKS | 1 + 11110 2 files changed, 1 insertion(+), 1 deletion(-) 11111 11112commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0 11113Author: Lasse Collin <lasse.collin@tukaani.org> 11114Date: 2008-11-28 12:00:48 +0200 11115 11116 Tested using COLUMNS environment variable to avoid broken 11117 progress indicator but since COLUMNS isn't usually available, 11118 the code was left commented out. 11119 11120 src/xz/message.c | 14 +++++++++----- 11121 1 file changed, 9 insertions(+), 5 deletions(-) 11122 11123commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd 11124Author: Lasse Collin <lasse.collin@tukaani.org> 11125Date: 2008-11-27 19:28:59 +0200 11126 11127 Cleanups to message.c. 11128 11129 src/xz/message.c | 47 ++++++++++++++++++----------------------------- 11130 1 file changed, 18 insertions(+), 29 deletions(-) 11131 11132commit a8368b75cdcd5427299001cc42839287f27b244d 11133Author: Lasse Collin <lasse.collin@tukaani.org> 11134Date: 2008-11-25 02:37:47 +0200 11135 11136 Remove the nowadays unneeded memory limitting malloc() wrapper. 11137 11138 src/liblzma/api/Makefile.am | 1 - 11139 src/liblzma/api/lzma.h | 1 - 11140 src/liblzma/api/lzma/memlimit.h | 207 -------------------------- 11141 src/liblzma/common/Makefile.am | 1 - 11142 src/liblzma/common/memory_limiter.c | 288 ------------------------------------ 11143 tests/Makefile.am | 2 - 11144 tests/test_memlimit.c | 114 -------------- 11145 7 files changed, 614 deletions(-) 11146 11147commit 69472ee5f055a2bb6f28106f0923e1461fd1d080 11148Author: Lasse Collin <lasse.collin@tukaani.org> 11149Date: 2008-11-23 15:09:03 +0200 11150 11151 VLI encoder and decoder cleanups. Made encoder return 11152 LZMA_PROG_ERROR in single-call mode if there's no output 11153 space. 11154 11155 src/liblzma/common/vli_decoder.c | 15 +++++++++------ 11156 src/liblzma/common/vli_encoder.c | 31 ++++++++++++++++++++++++------- 11157 2 files changed, 33 insertions(+), 13 deletions(-) 11158 11159commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650 11160Author: Lasse Collin <lasse.collin@tukaani.org> 11161Date: 2008-11-22 17:44:33 +0200 11162 11163 Typo fix 11164 11165 src/xz/process.c | 2 +- 11166 1 file changed, 1 insertion(+), 1 deletion(-) 11167 11168commit 6d1d6f4598d121253dbe1084c6866b66e95c361b 11169Author: Lasse Collin <lasse.collin@tukaani.org> 11170Date: 2008-11-20 22:59:10 +0200 11171 11172 Support NetBSD's errno for O_NOFOLLOW. 11173 11174 src/xz/io.c | 8 ++++++++ 11175 1 file changed, 8 insertions(+) 11176 11177commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7 11178Author: Lasse Collin <lasse.collin@tukaani.org> 11179Date: 2008-11-20 18:05:52 +0200 11180 11181 Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz 11182 files and lzmadec only .lzma files. 11183 11184 src/xzdec/Makefile.am | 7 +- 11185 src/xzdec/xzdec.c | 311 ++++++++++++++++++++++---------------------------- 11186 2 files changed, 140 insertions(+), 178 deletions(-) 11187 11188commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c 11189Author: Lasse Collin <lasse.collin@tukaani.org> 11190Date: 2008-11-20 11:01:29 +0200 11191 11192 Minor cleanups to xzdec. 11193 11194 src/xzdec/xzdec.c | 20 ++++++++++---------- 11195 1 file changed, 10 insertions(+), 10 deletions(-) 11196 11197commit 54f716ba8905d09752dcd1519455a40bd21d5317 11198Author: Lasse Collin <lasse.collin@tukaani.org> 11199Date: 2008-11-19 23:55:22 +0200 11200 11201 Added missing check for uint16_t. 11202 11203 configure.ac | 1 + 11204 1 file changed, 1 insertion(+) 11205 11206commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06 11207Author: Lasse Collin <lasse.collin@tukaani.org> 11208Date: 2008-11-19 23:52:24 +0200 11209 11210 Renamed lzma to xz and lzmadec to xzdec. We create symlinks 11211 lzma, unlzma, and lzcat in "make install" for backwards 11212 compatibility with LZMA Utils 4.32.x; I'm not sure if this 11213 should be the default though. 11214 11215 configure.ac | 4 +- 11216 po/POTFILES.in | 21 +- 11217 src/Makefile.am | 2 +- 11218 src/lzma/Makefile.am | 72 ---- 11219 src/lzma/args.c | 500 --------------------------- 11220 src/lzma/args.h | 56 --- 11221 src/lzma/hardware.c | 122 ------- 11222 src/lzma/hardware.h | 45 --- 11223 src/lzma/io.c | 658 ----------------------------------- 11224 src/lzma/io.h | 97 ------ 11225 src/lzma/list.c | 477 -------------------------- 11226 src/lzma/main.c | 402 ---------------------- 11227 src/lzma/main.h | 60 ---- 11228 src/lzma/message.c | 892 ------------------------------------------------ 11229 src/lzma/message.h | 132 ------- 11230 src/lzma/options.c | 352 ------------------- 11231 src/lzma/options.h | 46 --- 11232 src/lzma/private.h | 52 --- 11233 src/lzma/process.c | 391 --------------------- 11234 src/lzma/process.h | 70 ---- 11235 src/lzma/suffix.c | 213 ------------ 11236 src/lzma/suffix.h | 40 --- 11237 src/lzma/util.c | 199 ----------- 11238 src/lzma/util.h | 71 ---- 11239 src/lzmadec/Makefile.am | 29 -- 11240 src/lzmadec/lzmadec.c | 492 -------------------------- 11241 src/xz/Makefile.am | 74 ++++ 11242 src/xz/args.c | 500 +++++++++++++++++++++++++++ 11243 src/xz/args.h | 56 +++ 11244 src/xz/hardware.c | 122 +++++++ 11245 src/xz/hardware.h | 45 +++ 11246 src/xz/io.c | 658 +++++++++++++++++++++++++++++++++++ 11247 src/xz/io.h | 97 ++++++ 11248 src/xz/list.c | 477 ++++++++++++++++++++++++++ 11249 src/xz/main.c | 402 ++++++++++++++++++++++ 11250 src/xz/main.h | 60 ++++ 11251 src/xz/message.c | 892 ++++++++++++++++++++++++++++++++++++++++++++++++ 11252 src/xz/message.h | 132 +++++++ 11253 src/xz/options.c | 352 +++++++++++++++++++ 11254 src/xz/options.h | 46 +++ 11255 src/xz/private.h | 52 +++ 11256 src/xz/process.c | 391 +++++++++++++++++++++ 11257 src/xz/process.h | 70 ++++ 11258 src/xz/suffix.c | 213 ++++++++++++ 11259 src/xz/suffix.h | 40 +++ 11260 src/xz/util.c | 199 +++++++++++ 11261 src/xz/util.h | 71 ++++ 11262 src/xzdec/Makefile.am | 29 ++ 11263 src/xzdec/xzdec.c | 492 ++++++++++++++++++++++++++ 11264 tests/test_compress.sh | 29 +- 11265 tests/test_files.sh | 4 +- 11266 51 files changed, 5498 insertions(+), 5500 deletions(-) 11267 11268commit e114502b2bc371e4a45449832cb69be036360722 11269Author: Lasse Collin <lasse.collin@tukaani.org> 11270Date: 2008-11-19 20:46:52 +0200 11271 11272 Oh well, big messy commit again. Some highlights: 11273 - Updated to the latest, probably final file format version. 11274 - Command line tool reworked to not use threads anymore. 11275 Threading will probably go into liblzma anyway. 11276 - Memory usage limit is now about 30 % for uncompression 11277 and about 90 % for compression. 11278 - Progress indicator with --verbose 11279 - Simplified --help and full --long-help 11280 - Upgraded to the last LGPLv2.1+ getopt_long from gnulib. 11281 - Some bug fixes 11282 11283 THANKS | 1 + 11284 configure.ac | 48 +- 11285 debug/full_flush.c | 6 +- 11286 debug/known_sizes.c | 2 +- 11287 debug/memusage.c | 2 +- 11288 debug/sync_flush.c | 10 +- 11289 doc/file-format.txt | 260 ++++---- 11290 lib/Makefile.am | 10 +- 11291 lib/getopt.c | 14 +- 11292 lib/getopt.in.h | 226 +++++++ 11293 lib/getopt1.c | 8 +- 11294 lib/getopt_.h | 226 ------- 11295 lib/gettext.h | 240 ------- 11296 m4/getopt.m4 | 64 +- 11297 src/common/bswap.h | 15 +- 11298 src/common/physmem.h | 4 + 11299 src/common/sysdefs.h | 12 +- 11300 src/liblzma/api/lzma/block.h | 47 +- 11301 src/liblzma/api/lzma/filter.h | 8 + 11302 src/liblzma/api/lzma/index.h | 20 +- 11303 src/liblzma/api/lzma/index_hash.h | 4 +- 11304 src/liblzma/common/block_decoder.c | 59 +- 11305 src/liblzma/common/block_encoder.c | 41 +- 11306 src/liblzma/common/block_header_decoder.c | 31 +- 11307 src/liblzma/common/block_header_encoder.c | 69 +-- 11308 src/liblzma/common/block_util.c | 45 +- 11309 src/liblzma/common/common.h | 8 - 11310 src/liblzma/common/filter_common.c | 4 +- 11311 src/liblzma/common/index.c | 259 ++++---- 11312 src/liblzma/common/index.h | 33 +- 11313 src/liblzma/common/index_decoder.c | 31 +- 11314 src/liblzma/common/index_encoder.c | 16 +- 11315 src/liblzma/common/index_hash.c | 68 +- 11316 src/liblzma/common/stream_decoder.c | 9 +- 11317 src/liblzma/common/stream_encoder.c | 6 +- 11318 src/liblzma/lz/lz_decoder.h | 4 +- 11319 src/liblzma/subblock/subblock_decoder.c | 3 +- 11320 src/lzma/Makefile.am | 9 +- 11321 src/lzma/alloc.c | 106 ---- 11322 src/lzma/alloc.h | 42 -- 11323 src/lzma/args.c | 531 +++++++--------- 11324 src/lzma/args.h | 42 +- 11325 src/lzma/error.c | 162 ----- 11326 src/lzma/error.h | 67 -- 11327 src/lzma/hardware.c | 75 ++- 11328 src/lzma/hardware.h | 16 +- 11329 src/lzma/help.c | 170 ----- 11330 src/lzma/help.h | 32 - 11331 src/lzma/io.c | 757 +++++++++++------------ 11332 src/lzma/io.h | 51 +- 11333 src/lzma/main.c | 392 ++++++++---- 11334 src/lzma/main.h | 60 ++ 11335 src/lzma/message.c | 892 +++++++++++++++++++++++++++ 11336 src/lzma/message.h | 132 ++++ 11337 src/lzma/options.c | 42 +- 11338 src/lzma/options.h | 6 +- 11339 src/lzma/private.h | 28 +- 11340 src/lzma/process.c | 525 ++++++++-------- 11341 src/lzma/process.h | 40 ++ 11342 src/lzma/suffix.c | 52 +- 11343 src/lzma/suffix.h | 17 +- 11344 src/lzma/util.c | 100 +-- 11345 src/lzma/util.h | 43 +- 11346 src/lzmadec/lzmadec.c | 36 +- 11347 tests/files/README | 12 +- 11348 tests/files/bad-1-block_header-1.xz | Bin 64 -> 64 bytes 11349 tests/files/bad-1-block_header-2.xz | Bin 64 -> 64 bytes 11350 tests/files/bad-1-block_header-3.xz | Bin 68 -> 68 bytes 11351 tests/files/bad-1-block_header-4.xz | Bin 72 -> 76 bytes 11352 tests/files/bad-1-block_header-5.xz | Bin 0 -> 72 bytes 11353 tests/files/bad-1-check-crc32.xz | Bin 68 -> 68 bytes 11354 tests/files/bad-1-check-crc64.xz | Bin 72 -> 72 bytes 11355 tests/files/bad-1-check-sha256.xz | Bin 96 -> 96 bytes 11356 tests/files/bad-1-lzma2-1.xz | Bin 64 -> 64 bytes 11357 tests/files/bad-1-lzma2-2.xz | Bin 424 -> 424 bytes 11358 tests/files/bad-1-lzma2-3.xz | Bin 424 -> 424 bytes 11359 tests/files/bad-1-lzma2-4.xz | Bin 408 -> 408 bytes 11360 tests/files/bad-1-lzma2-5.xz | Bin 408 -> 408 bytes 11361 tests/files/bad-1-lzma2-6.xz | Bin 68 -> 68 bytes 11362 tests/files/bad-1-lzma2-7.xz | Bin 408 -> 408 bytes 11363 tests/files/bad-1-stream_flags-1.xz | Bin 68 -> 68 bytes 11364 tests/files/bad-1-stream_flags-2.xz | Bin 68 -> 68 bytes 11365 tests/files/bad-1-stream_flags-3.xz | Bin 68 -> 68 bytes 11366 tests/files/bad-1-vli-1.xz | Bin 72 -> 72 bytes 11367 tests/files/bad-1-vli-2.xz | Bin 72 -> 76 bytes 11368 tests/files/bad-2-compressed_data_padding.xz | Bin 92 -> 92 bytes 11369 tests/files/bad-2-index-1.xz | Bin 92 -> 92 bytes 11370 tests/files/bad-2-index-2.xz | Bin 92 -> 92 bytes 11371 tests/files/bad-2-index-3.xz | Bin 92 -> 92 bytes 11372 tests/files/bad-2-index-4.xz | Bin 92 -> 92 bytes 11373 tests/files/bad-2-index-5.xz | Bin 0 -> 92 bytes 11374 tests/files/good-1-3delta-lzma2.xz | Bin 528 -> 528 bytes 11375 tests/files/good-1-block_header-1.xz | Bin 72 -> 72 bytes 11376 tests/files/good-1-block_header-2.xz | Bin 68 -> 68 bytes 11377 tests/files/good-1-block_header-3.xz | Bin 68 -> 68 bytes 11378 tests/files/good-1-check-crc32.xz | Bin 68 -> 68 bytes 11379 tests/files/good-1-check-crc64.xz | Bin 72 -> 72 bytes 11380 tests/files/good-1-check-none.xz | Bin 64 -> 64 bytes 11381 tests/files/good-1-check-sha256.xz | Bin 96 -> 96 bytes 11382 tests/files/good-1-delta-lzma2.tiff.xz | Bin 51312 -> 51316 bytes 11383 tests/files/good-1-lzma2-1.xz | Bin 424 -> 424 bytes 11384 tests/files/good-1-lzma2-2.xz | Bin 424 -> 424 bytes 11385 tests/files/good-1-lzma2-3.xz | Bin 408 -> 408 bytes 11386 tests/files/good-1-sparc-lzma2.xz | Bin 2292 -> 2296 bytes 11387 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 1936 bytes 11388 tests/files/good-2-lzma2.xz | Bin 92 -> 92 bytes 11389 tests/files/unsupported-block_header.xz | Bin 68 -> 68 bytes 11390 tests/files/unsupported-check.xz | Bin 68 -> 68 bytes 11391 tests/files/unsupported-filter_flags-1.xz | Bin 68 -> 68 bytes 11392 tests/files/unsupported-filter_flags-2.xz | Bin 68 -> 68 bytes 11393 tests/files/unsupported-filter_flags-3.xz | Bin 68 -> 68 bytes 11394 tests/test_block_header.c | 16 +- 11395 tests/test_index.c | 42 +- 11396 113 files changed, 3462 insertions(+), 2946 deletions(-) 11397 11398commit 3c3905b53462ae235c9438d86a4dc51086410932 11399Author: Lasse Collin <lasse.collin@tukaani.org> 11400Date: 2008-10-09 11:12:29 +0300 11401 11402 Fixed the test that should have been fixed as part 11403 of 1e8e4fd1f3e50129b4541406ad765d2aa1233943. 11404 11405 tests/test_block_header.c | 2 +- 11406 1 file changed, 1 insertion(+), 1 deletion(-) 11407 11408commit 0f295bf7a3ece01f667caae318cc3e3424085886 11409Author: Lasse Collin <lasse.collin@tukaani.org> 11410Date: 2008-10-07 16:42:18 +0300 11411 11412 Fixed some help messages. 11413 11414 src/lzma/help.c | 6 +++--- 11415 1 file changed, 3 insertions(+), 3 deletions(-) 11416 11417commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943 11418Author: Lasse Collin <lasse.collin@tukaani.org> 11419Date: 2008-10-07 09:40:31 +0300 11420 11421 Made the preset numbering more logical in liblzma API. 11422 11423 src/liblzma/api/lzma/container.h | 20 ++++++++++---------- 11424 src/liblzma/api/lzma/lzma.h | 2 +- 11425 src/liblzma/lzma/lzma_encoder_presets.c | 3 ++- 11426 src/lzma/args.c | 8 ++++---- 11427 src/lzma/args.h | 2 +- 11428 5 files changed, 18 insertions(+), 17 deletions(-) 11429 11430commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81 11431Author: Lasse Collin <lasse.collin@tukaani.org> 11432Date: 2008-10-03 19:36:09 +0300 11433 11434 Removed fi from po/LINGUAS. 11435 11436 po/LINGUAS | 1 - 11437 1 file changed, 1 deletion(-) 11438 11439commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128 11440Author: Lasse Collin <lasse.collin@tukaani.org> 11441Date: 2008-10-03 07:06:48 +0300 11442 11443 Fixed suffix handling with --format=raw. 11444 11445 src/lzma/suffix.c | 28 +++++++++++++++++++--------- 11446 1 file changed, 19 insertions(+), 9 deletions(-) 11447 11448commit bd137524f2f50e30ba054f42f1f6536cd3cee920 11449Author: Lasse Collin <lasse.collin@tukaani.org> 11450Date: 2008-10-02 22:51:46 +0300 11451 11452 Initial changes to change the suffix of the new format to .xz. 11453 This also fixes a bug related to --suffix option. Some issues 11454 with suffixes with --format=raw were not fixed. 11455 11456 src/lzma/args.c | 67 +++++++++++++++++++++++++++++++-------------- 11457 src/lzma/args.h | 13 +++++---- 11458 src/lzma/help.c | 4 +-- 11459 src/lzma/process.c | 24 +++++++++------- 11460 src/lzma/suffix.c | 74 +++++++++++++++++++++++++++++++++++++++++--------- 11461 tests/test_compress.sh | 3 +- 11462 6 files changed, 133 insertions(+), 52 deletions(-) 11463 11464commit 4c321a41c482821aa3c4d64cdf886a6ed904d844 11465Author: Lasse Collin <lasse.collin@tukaani.org> 11466Date: 2008-09-30 17:43:55 +0300 11467 11468 Renamed the test files from .lzma suffix to .xz suffix. 11469 11470 tests/files/README | 128 ++++++++++++------------- 11471 tests/files/bad-0-backward_size.lzma | Bin 32 -> 0 bytes 11472 tests/files/bad-0-backward_size.xz | Bin 0 -> 32 bytes 11473 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 0 bytes 11474 tests/files/bad-0-empty-truncated.xz | Bin 0 -> 31 bytes 11475 tests/files/bad-0-footer_magic.lzma | Bin 32 -> 0 bytes 11476 tests/files/bad-0-footer_magic.xz | Bin 0 -> 32 bytes 11477 tests/files/bad-0-header_magic.lzma | Bin 32 -> 0 bytes 11478 tests/files/bad-0-header_magic.xz | Bin 0 -> 32 bytes 11479 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 0 bytes 11480 tests/files/bad-0-nonempty_index.xz | Bin 0 -> 32 bytes 11481 tests/files/bad-0cat-alone.lzma | Bin 55 -> 0 bytes 11482 tests/files/bad-0cat-alone.xz | Bin 0 -> 55 bytes 11483 tests/files/bad-0cat-header_magic.lzma | Bin 64 -> 0 bytes 11484 tests/files/bad-0cat-header_magic.xz | Bin 0 -> 64 bytes 11485 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 0 bytes 11486 tests/files/bad-0catpad-empty.xz | Bin 0 -> 69 bytes 11487 tests/files/bad-0pad-empty.lzma | Bin 37 -> 0 bytes 11488 tests/files/bad-0pad-empty.xz | Bin 0 -> 37 bytes 11489 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 0 bytes 11490 tests/files/bad-1-block_header-1.xz | Bin 0 -> 64 bytes 11491 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 0 bytes 11492 tests/files/bad-1-block_header-2.xz | Bin 0 -> 64 bytes 11493 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 0 bytes 11494 tests/files/bad-1-block_header-3.xz | Bin 0 -> 68 bytes 11495 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 0 bytes 11496 tests/files/bad-1-block_header-4.xz | Bin 0 -> 72 bytes 11497 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 0 bytes 11498 tests/files/bad-1-check-crc32.xz | Bin 0 -> 68 bytes 11499 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 0 bytes 11500 tests/files/bad-1-check-crc64.xz | Bin 0 -> 72 bytes 11501 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 0 bytes 11502 tests/files/bad-1-check-sha256.xz | Bin 0 -> 96 bytes 11503 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 0 bytes 11504 tests/files/bad-1-lzma2-1.xz | Bin 0 -> 64 bytes 11505 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 0 bytes 11506 tests/files/bad-1-lzma2-2.xz | Bin 0 -> 424 bytes 11507 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 0 bytes 11508 tests/files/bad-1-lzma2-3.xz | Bin 0 -> 424 bytes 11509 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 0 bytes 11510 tests/files/bad-1-lzma2-4.xz | Bin 0 -> 408 bytes 11511 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 0 bytes 11512 tests/files/bad-1-lzma2-5.xz | Bin 0 -> 408 bytes 11513 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 0 bytes 11514 tests/files/bad-1-lzma2-6.xz | Bin 0 -> 68 bytes 11515 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 0 bytes 11516 tests/files/bad-1-lzma2-7.xz | Bin 0 -> 408 bytes 11517 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 0 bytes 11518 tests/files/bad-1-stream_flags-1.xz | Bin 0 -> 68 bytes 11519 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 0 bytes 11520 tests/files/bad-1-stream_flags-2.xz | Bin 0 -> 68 bytes 11521 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 0 bytes 11522 tests/files/bad-1-stream_flags-3.xz | Bin 0 -> 68 bytes 11523 tests/files/bad-1-vli-1.lzma | Bin 72 -> 0 bytes 11524 tests/files/bad-1-vli-1.xz | Bin 0 -> 72 bytes 11525 tests/files/bad-1-vli-2.lzma | Bin 72 -> 0 bytes 11526 tests/files/bad-1-vli-2.xz | Bin 0 -> 72 bytes 11527 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 0 bytes 11528 tests/files/bad-2-compressed_data_padding.xz | Bin 0 -> 92 bytes 11529 tests/files/bad-2-index-1.lzma | Bin 92 -> 0 bytes 11530 tests/files/bad-2-index-1.xz | Bin 0 -> 92 bytes 11531 tests/files/bad-2-index-2.lzma | Bin 92 -> 0 bytes 11532 tests/files/bad-2-index-2.xz | Bin 0 -> 92 bytes 11533 tests/files/bad-2-index-3.lzma | Bin 92 -> 0 bytes 11534 tests/files/bad-2-index-3.xz | Bin 0 -> 92 bytes 11535 tests/files/bad-2-index-4.lzma | Bin 92 -> 0 bytes 11536 tests/files/bad-2-index-4.xz | Bin 0 -> 92 bytes 11537 tests/files/good-0-empty.lzma | Bin 32 -> 0 bytes 11538 tests/files/good-0-empty.xz | Bin 0 -> 32 bytes 11539 tests/files/good-0cat-empty.lzma | Bin 64 -> 0 bytes 11540 tests/files/good-0cat-empty.xz | Bin 0 -> 64 bytes 11541 tests/files/good-0catpad-empty.lzma | Bin 68 -> 0 bytes 11542 tests/files/good-0catpad-empty.xz | Bin 0 -> 68 bytes 11543 tests/files/good-0pad-empty.lzma | Bin 36 -> 0 bytes 11544 tests/files/good-0pad-empty.xz | Bin 0 -> 36 bytes 11545 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 0 bytes 11546 tests/files/good-1-3delta-lzma2.xz | Bin 0 -> 528 bytes 11547 tests/files/good-1-block_header-1.lzma | Bin 72 -> 0 bytes 11548 tests/files/good-1-block_header-1.xz | Bin 0 -> 72 bytes 11549 tests/files/good-1-block_header-2.lzma | Bin 68 -> 0 bytes 11550 tests/files/good-1-block_header-2.xz | Bin 0 -> 68 bytes 11551 tests/files/good-1-block_header-3.lzma | Bin 68 -> 0 bytes 11552 tests/files/good-1-block_header-3.xz | Bin 0 -> 68 bytes 11553 tests/files/good-1-check-crc32.lzma | Bin 68 -> 0 bytes 11554 tests/files/good-1-check-crc32.xz | Bin 0 -> 68 bytes 11555 tests/files/good-1-check-crc64.lzma | Bin 72 -> 0 bytes 11556 tests/files/good-1-check-crc64.xz | Bin 0 -> 72 bytes 11557 tests/files/good-1-check-none.lzma | Bin 64 -> 0 bytes 11558 tests/files/good-1-check-none.xz | Bin 0 -> 64 bytes 11559 tests/files/good-1-check-sha256.lzma | Bin 96 -> 0 bytes 11560 tests/files/good-1-check-sha256.xz | Bin 0 -> 96 bytes 11561 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 0 bytes 11562 tests/files/good-1-delta-lzma2.tiff.xz | Bin 0 -> 51312 bytes 11563 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 0 bytes 11564 tests/files/good-1-lzma2-1.xz | Bin 0 -> 424 bytes 11565 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 0 bytes 11566 tests/files/good-1-lzma2-2.xz | Bin 0 -> 424 bytes 11567 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 0 bytes 11568 tests/files/good-1-lzma2-3.xz | Bin 0 -> 408 bytes 11569 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 0 bytes 11570 tests/files/good-1-sparc-lzma2.xz | Bin 0 -> 2292 bytes 11571 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 0 bytes 11572 tests/files/good-1-x86-lzma2.xz | Bin 0 -> 1936 bytes 11573 tests/files/good-2-lzma2.lzma | Bin 92 -> 0 bytes 11574 tests/files/good-2-lzma2.xz | Bin 0 -> 92 bytes 11575 tests/files/unsupported-block_header.lzma | Bin 68 -> 0 bytes 11576 tests/files/unsupported-block_header.xz | Bin 0 -> 68 bytes 11577 tests/files/unsupported-check.lzma | Bin 68 -> 0 bytes 11578 tests/files/unsupported-check.xz | Bin 0 -> 68 bytes 11579 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 0 bytes 11580 tests/files/unsupported-filter_flags-1.xz | Bin 0 -> 68 bytes 11581 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 0 bytes 11582 tests/files/unsupported-filter_flags-2.xz | Bin 0 -> 68 bytes 11583 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 0 bytes 11584 tests/files/unsupported-filter_flags-3.xz | Bin 0 -> 68 bytes 11585 tests/test_files.sh | 6 +- 11586 116 files changed, 66 insertions(+), 68 deletions(-) 11587 11588commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb 11589Author: Lasse Collin <lasse.collin@tukaani.org> 11590Date: 2008-09-30 13:57:44 +0300 11591 11592 Fixed Stream decoder to actually use the first_stream variable. 11593 11594 src/liblzma/common/stream_decoder.c | 5 +++++ 11595 1 file changed, 5 insertions(+) 11596 11597commit 3bdbc12c054d1961133ee19802af7dd3c3494543 11598Author: Lasse Collin <lasse.collin@tukaani.org> 11599Date: 2008-09-30 13:56:57 +0300 11600 11601 Added one more test file. 11602 11603 tests/files/README | 15 +++++++++++---- 11604 tests/files/bad-0cat-header_magic.lzma | Bin 0 -> 64 bytes 11605 2 files changed, 11 insertions(+), 4 deletions(-) 11606 11607commit a6639022fdc536e5659b070a465221b4cf7c51fa 11608Author: Lasse Collin <lasse.collin@tukaani.org> 11609Date: 2008-09-30 13:34:07 +0300 11610 11611 Fixed uninitialized variable in Stream decoder. 11612 11613 src/liblzma/common/stream_decoder.c | 1 + 11614 1 file changed, 1 insertion(+) 11615 11616commit ed3709000a3f17ecefab29b2235d7e2221b00003 11617Author: Lasse Collin <lasse.collin@tukaani.org> 11618Date: 2008-09-30 13:27:28 +0300 11619 11620 Added two test files. 11621 11622 tests/files/README | 6 ++++++ 11623 tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes 11624 tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes 11625 3 files changed, 6 insertions(+) 11626 11627commit ea560b0ea80525752bdcd0074d24f8dc170bbe29 11628Author: Lasse Collin <lasse.collin@tukaani.org> 11629Date: 2008-09-27 23:49:24 +0300 11630 11631 Fix conflicting Subblock helper filter's ID. 11632 11633 src/liblzma/common/common.h | 2 +- 11634 1 file changed, 1 insertion(+), 1 deletion(-) 11635 11636commit ad97483b6e55142fd8d5c041db057017a891cd95 11637Author: Lasse Collin <lasse.collin@tukaani.org> 11638Date: 2008-09-27 23:37:13 +0300 11639 11640 Changed magic bytes to match the updated spec. Filename 11641 suffix wasn't changed yet. 11642 11643 src/liblzma/common/auto_decoder.c | 4 ++-- 11644 src/liblzma/common/stream_flags_common.c | 2 +- 11645 tests/files/bad-0-backward_size.lzma | Bin 32 -> 32 bytes 11646 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 31 bytes 11647 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 32 bytes 11648 tests/files/bad-0cat-alone.lzma | Bin 55 -> 55 bytes 11649 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 69 bytes 11650 tests/files/bad-0pad-empty.lzma | Bin 37 -> 37 bytes 11651 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 64 bytes 11652 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 64 bytes 11653 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 68 bytes 11654 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 72 bytes 11655 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 68 bytes 11656 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 72 bytes 11657 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 96 bytes 11658 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 64 bytes 11659 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 424 bytes 11660 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 424 bytes 11661 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 408 bytes 11662 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 408 bytes 11663 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 68 bytes 11664 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 408 bytes 11665 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 68 bytes 11666 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 68 bytes 11667 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 68 bytes 11668 tests/files/bad-1-vli-1.lzma | Bin 72 -> 72 bytes 11669 tests/files/bad-1-vli-2.lzma | Bin 72 -> 72 bytes 11670 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 92 bytes 11671 tests/files/bad-2-index-1.lzma | Bin 92 -> 92 bytes 11672 tests/files/bad-2-index-2.lzma | Bin 92 -> 92 bytes 11673 tests/files/bad-2-index-3.lzma | Bin 92 -> 92 bytes 11674 tests/files/bad-2-index-4.lzma | Bin 92 -> 92 bytes 11675 tests/files/good-0-empty.lzma | Bin 32 -> 32 bytes 11676 tests/files/good-0cat-empty.lzma | Bin 64 -> 64 bytes 11677 tests/files/good-0catpad-empty.lzma | Bin 68 -> 68 bytes 11678 tests/files/good-0pad-empty.lzma | Bin 36 -> 36 bytes 11679 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 528 bytes 11680 tests/files/good-1-block_header-1.lzma | Bin 72 -> 72 bytes 11681 tests/files/good-1-block_header-2.lzma | Bin 68 -> 68 bytes 11682 tests/files/good-1-block_header-3.lzma | Bin 68 -> 68 bytes 11683 tests/files/good-1-check-crc32.lzma | Bin 68 -> 68 bytes 11684 tests/files/good-1-check-crc64.lzma | Bin 72 -> 72 bytes 11685 tests/files/good-1-check-none.lzma | Bin 64 -> 64 bytes 11686 tests/files/good-1-check-sha256.lzma | Bin 96 -> 96 bytes 11687 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 51312 bytes 11688 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 424 bytes 11689 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 424 bytes 11690 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 408 bytes 11691 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 2292 bytes 11692 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 1936 bytes 11693 tests/files/good-2-lzma2.lzma | Bin 92 -> 92 bytes 11694 tests/files/unsupported-block_header.lzma | Bin 68 -> 68 bytes 11695 tests/files/unsupported-check.lzma | Bin 68 -> 68 bytes 11696 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 68 bytes 11697 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 68 bytes 11698 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 68 bytes 11699 56 files changed, 3 insertions(+), 3 deletions(-) 11700 11701commit 7a57069167e9e63394e2b095ee3a63253fcb51c7 11702Author: Lasse Collin <lasse.collin@tukaani.org> 11703Date: 2008-09-27 23:16:09 +0300 11704 11705 Remove po/fi.po since I'm not keeping it updated for now. 11706 11707 po/fi.po | 446 --------------------------------------------------------------- 11708 1 file changed, 446 deletions(-) 11709 11710commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e 11711Author: Lasse Collin <lasse.collin@tukaani.org> 11712Date: 2008-09-27 23:13:54 +0300 11713 11714 Fix also test_compress.sh. 11715 11716 tests/test_compress.sh | 6 +++--- 11717 1 file changed, 3 insertions(+), 3 deletions(-) 11718 11719commit 3a62a5fb85d2eebd8666e64ed5d364d095062858 11720Author: Lasse Collin <lasse.collin@tukaani.org> 11721Date: 2008-09-27 23:01:15 +0300 11722 11723 Fixed compilation of test_filter_flags.c, which was broken by 11724 1dcecfb09b55157b8653d747963069c8bed74f04. 11725 11726 tests/test_filter_flags.c | 16 ++++++++-------- 11727 1 file changed, 8 insertions(+), 8 deletions(-) 11728 11729commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0 11730Author: Lasse Collin <lasse.collin@tukaani.org> 11731Date: 2008-09-27 19:11:02 +0300 11732 11733 Updated file format specification. It changes the suffix 11734 of the new format to .xz and removes the recently added 11735 LZMA filter. 11736 11737 doc/file-format.txt | 125 ++++++++++++++-------------------------------------- 11738 1 file changed, 32 insertions(+), 93 deletions(-) 11739 11740commit 1dcecfb09b55157b8653d747963069c8bed74f04 11741Author: Lasse Collin <lasse.collin@tukaani.org> 11742Date: 2008-09-27 19:09:21 +0300 11743 11744 Some API changes, bug fixes, cleanups etc. 11745 11746 configure.ac | 18 +- 11747 debug/full_flush.c | 7 +- 11748 debug/known_sizes.c | 6 +- 11749 debug/memusage.c | 22 +-- 11750 debug/sync_flush.c | 18 +- 11751 src/liblzma/Makefile.am | 2 +- 11752 src/liblzma/api/lzma/delta.h | 8 +- 11753 src/liblzma/api/lzma/lzma.h | 230 ++++++++++++++++--------- 11754 src/liblzma/common/alignment.c | 7 +- 11755 src/liblzma/common/alone_decoder.c | 11 +- 11756 src/liblzma/common/alone_encoder.c | 9 +- 11757 src/liblzma/common/chunk_size.c | 2 +- 11758 src/liblzma/common/easy.c | 20 ++- 11759 src/liblzma/common/filter_common.c | 4 +- 11760 src/liblzma/common/filter_decoder.c | 4 +- 11761 src/liblzma/common/filter_encoder.c | 4 +- 11762 src/liblzma/common/init_encoder.c | 2 +- 11763 src/liblzma/delta/delta_common.c | 12 +- 11764 src/liblzma/delta/delta_common.h | 2 +- 11765 src/liblzma/delta/delta_decoder.c | 2 +- 11766 src/liblzma/delta/delta_encoder.c | 6 +- 11767 src/liblzma/lz/lz_encoder.c | 30 ++-- 11768 src/liblzma/lz/lz_encoder.h | 26 +-- 11769 src/liblzma/lz/lz_encoder_mf.c | 30 ++-- 11770 src/liblzma/lzma/Makefile.am | 4 +- 11771 src/liblzma/lzma/lzma2_decoder.c | 10 +- 11772 src/liblzma/lzma/lzma2_encoder.c | 27 ++- 11773 src/liblzma/lzma/lzma_common.h | 26 ++- 11774 src/liblzma/lzma/lzma_decoder.c | 37 ++-- 11775 src/liblzma/lzma/lzma_encoder.c | 51 +++--- 11776 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 10 +- 11777 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +-- 11778 src/liblzma/lzma/lzma_encoder_presets.c | 50 ++++-- 11779 src/liblzma/rangecoder/Makefile.am | 4 +- 11780 src/liblzma/subblock/subblock_decoder.c | 2 +- 11781 src/lzma/args.c | 33 ++-- 11782 src/lzma/help.c | 17 +- 11783 src/lzma/options.c | 92 +++++----- 11784 tests/test_block_header.c | 9 +- 11785 tests/test_compress.sh | 4 +- 11786 tests/test_filter_flags.c | 2 +- 11787 41 files changed, 482 insertions(+), 398 deletions(-) 11788 11789commit 5cc5064cae603b649c64c40125c7dd365de54c9d 11790Author: Lasse Collin <lasse.collin@tukaani.org> 11791Date: 2008-09-27 11:28:49 +0300 11792 11793 Added 7z2lzma.bash. 11794 11795 extra/7z2lzma/7z2lzma.bash | 114 +++++++++++++++++++++++++++++++++++++++++++++ 11796 1 file changed, 114 insertions(+) 11797 11798commit f147666a5cd15542d4e427da58629f4a71cc38e1 11799Author: Lasse Collin <lasse.collin@tukaani.org> 11800Date: 2008-09-17 22:11:39 +0300 11801 11802 Miscellaneous LZ and LZMA encoder cleanups 11803 11804 src/liblzma/api/lzma/lzma.h | 14 ------- 11805 src/liblzma/lz/lz_encoder.c | 8 +++- 11806 src/liblzma/lzma/Makefile.am | 1 - 11807 src/liblzma/lzma/lzma_encoder.c | 64 ++++++++++++-------------------- 11808 src/liblzma/lzma/lzma_encoder_features.c | 59 ----------------------------- 11809 5 files changed, 29 insertions(+), 117 deletions(-) 11810 11811commit 13d68b069849e19c33822cd8996cd6447890abb1 11812Author: Lasse Collin <lasse.collin@tukaani.org> 11813Date: 2008-09-13 13:54:00 +0300 11814 11815 LZ decoder cleanup 11816 11817 src/liblzma/lz/lz_decoder.c | 5 ++--- 11818 1 file changed, 2 insertions(+), 3 deletions(-) 11819 11820commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7 11821Author: Lasse Collin <lasse.collin@tukaani.org> 11822Date: 2008-09-13 12:10:43 +0300 11823 11824 Renamed constants: 11825 - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX 11826 - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN 11827 - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR 11828 11829 debug/full_flush.c | 2 +- 11830 debug/known_sizes.c | 2 +- 11831 debug/sync_flush.c | 2 +- 11832 src/liblzma/api/lzma/alignment.h | 2 +- 11833 src/liblzma/api/lzma/base.h | 4 ++-- 11834 src/liblzma/api/lzma/block.h | 28 ++++++++++++++-------------- 11835 src/liblzma/api/lzma/container.h | 12 ++++++------ 11836 src/liblzma/api/lzma/filter.h | 28 ++++++++++++++-------------- 11837 src/liblzma/api/lzma/index.h | 2 +- 11838 src/liblzma/api/lzma/lzma.h | 4 ++-- 11839 src/liblzma/api/lzma/simple.h | 2 +- 11840 src/liblzma/api/lzma/stream_flags.h | 20 ++++++++++---------- 11841 src/liblzma/api/lzma/vli.h | 16 ++++++++-------- 11842 src/liblzma/common/alignment.c | 6 +++--- 11843 src/liblzma/common/alone_decoder.c | 2 +- 11844 src/liblzma/common/auto_decoder.c | 2 +- 11845 src/liblzma/common/block_decoder.c | 12 ++++++------ 11846 src/liblzma/common/block_encoder.c | 6 +++--- 11847 src/liblzma/common/block_header_decoder.c | 16 ++++++++-------- 11848 src/liblzma/common/block_header_encoder.c | 24 ++++++++++++------------ 11849 src/liblzma/common/block_util.c | 8 ++++---- 11850 src/liblzma/common/chunk_size.c | 2 +- 11851 src/liblzma/common/easy.c | 4 ++-- 11852 src/liblzma/common/filter_common.c | 22 +++++++++++----------- 11853 src/liblzma/common/filter_decoder.c | 6 +++--- 11854 src/liblzma/common/filter_encoder.c | 14 +++++++------- 11855 src/liblzma/common/index.c | 24 +++++++++++------------- 11856 src/liblzma/common/index.h | 2 +- 11857 src/liblzma/common/index_hash.c | 13 ++++++------- 11858 src/liblzma/common/stream_decoder.c | 4 ++-- 11859 src/liblzma/common/stream_encoder.c | 4 ++-- 11860 src/liblzma/common/stream_flags_common.c | 6 +++--- 11861 src/liblzma/common/stream_flags_decoder.c | 6 +++--- 11862 src/liblzma/common/stream_flags_encoder.c | 4 ++-- 11863 src/liblzma/common/vli_encoder.c | 2 +- 11864 src/liblzma/common/vli_size.c | 2 +- 11865 src/liblzma/delta/delta_common.c | 2 +- 11866 src/liblzma/delta/delta_decoder.c | 2 +- 11867 src/liblzma/delta/delta_encoder.c | 2 +- 11868 src/liblzma/lz/lz_decoder.c | 2 +- 11869 src/liblzma/lz/lz_encoder.c | 2 +- 11870 src/liblzma/lzma/lzma2_decoder.c | 6 +++--- 11871 src/liblzma/lzma/lzma_decoder.c | 14 +++++++------- 11872 src/liblzma/lzma/lzma_encoder.c | 8 ++++---- 11873 src/liblzma/simple/simple_coder.c | 2 +- 11874 src/liblzma/simple/simple_decoder.c | 2 +- 11875 src/liblzma/subblock/subblock_decoder.c | 6 +++--- 11876 src/liblzma/subblock/subblock_encoder.c | 17 ++++++++--------- 11877 src/lzma/args.c | 2 +- 11878 src/lzma/error.c | 2 +- 11879 src/lzma/list.c | 6 +++--- 11880 src/lzmadec/lzmadec.c | 2 +- 11881 tests/test_block.c | 8 ++++---- 11882 tests/test_block_header.c | 30 +++++++++++++++--------------- 11883 tests/test_filter_flags.c | 2 +- 11884 tests/test_index.c | 2 +- 11885 tests/test_stream_flags.c | 8 ++++---- 11886 tests/tests.h | 2 +- 11887 58 files changed, 220 insertions(+), 224 deletions(-) 11888 11889commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080 11890Author: Lasse Collin <lasse.collin@tukaani.org> 11891Date: 2008-09-12 22:41:40 +0300 11892 11893 Improved the Stream Flags handling API. 11894 11895 src/liblzma/api/lzma/stream_flags.h | 84 +++++++++++++++++++++++++++++-- 11896 src/liblzma/common/stream_decoder.c | 5 +- 11897 src/liblzma/common/stream_encoder.c | 2 + 11898 src/liblzma/common/stream_flags_common.c | 28 ++++++++--- 11899 src/liblzma/common/stream_flags_common.h | 9 ++++ 11900 src/liblzma/common/stream_flags_decoder.c | 3 +- 11901 src/liblzma/common/stream_flags_encoder.c | 10 ++-- 11902 tests/test_stream_flags.c | 8 ++- 11903 8 files changed, 129 insertions(+), 20 deletions(-) 11904 11905commit ec490da5228263b25bf786bb23d1008468f55b30 11906Author: Lasse Collin <lasse.collin@tukaani.org> 11907Date: 2008-09-11 23:10:44 +0300 11908 11909 Simplified debug/known_sizes.c to match the relaxed 11910 requirements of Block encoder. 11911 11912 debug/known_sizes.c | 14 +++++--------- 11913 1 file changed, 5 insertions(+), 9 deletions(-) 11914 11915commit 16e8b98f2659347edfa74afdbbb9e73311153cb9 11916Author: Lasse Collin <lasse.collin@tukaani.org> 11917Date: 2008-09-11 23:09:24 +0300 11918 11919 Remove a check from Block encoder that should have already 11920 been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e. 11921 11922 src/liblzma/common/block_encoder.c | 5 ----- 11923 1 file changed, 5 deletions(-) 11924 11925commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13 11926Author: Lasse Collin <lasse.collin@tukaani.org> 11927Date: 2008-09-11 20:02:38 +0300 11928 11929 Remove bogus #includes. 11930 11931 src/liblzma/common/Makefile.am | 1 - 11932 src/liblzma/common/stream_decoder.c | 3 --- 11933 src/liblzma/common/stream_encoder.c | 1 - 11934 src/liblzma/common/stream_flags_decoder.h | 31 ------------------------------- 11935 4 files changed, 36 deletions(-) 11936 11937commit 01892b2ca5f69bed0ea746e04b604030d57806bb 11938Author: Lasse Collin <lasse.collin@tukaani.org> 11939Date: 2008-09-11 10:49:14 +0300 11940 11941 Updated THANKS. 11942 11943 THANKS | 1 + 11944 1 file changed, 1 insertion(+) 11945 11946commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d 11947Author: Lasse Collin <lasse.collin@tukaani.org> 11948Date: 2008-09-11 10:48:12 +0300 11949 11950 Fix a compiler error on big endian systems that don't 11951 support unaligned memory access. 11952 11953 src/common/integer.h | 32 ++++++++++++++++++-------------- 11954 1 file changed, 18 insertions(+), 14 deletions(-) 11955 11956commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671 11957Author: Lasse Collin <lasse.collin@tukaani.org> 11958Date: 2008-09-11 10:46:14 +0300 11959 11960 Silence a compiler warning. 11961 11962 src/lzma/process.c | 2 +- 11963 1 file changed, 1 insertion(+), 1 deletion(-) 11964 11965commit 9373e81e18822db4972819442ea4c2cb9955470b 11966Author: Lasse Collin <lasse.collin@tukaani.org> 11967Date: 2008-09-10 19:16:32 +0300 11968 11969 Bumped version to 4.999.6alpha. 11970 11971 configure.ac | 2 +- 11972 src/liblzma/api/lzma/version.h | 2 +- 11973 2 files changed, 2 insertions(+), 2 deletions(-) 11974 11975commit cb072b7c8442ba68bb0c62c0abbbe939794887a3 11976Author: Lasse Collin <lasse.collin@tukaani.org> 11977Date: 2008-09-10 17:02:00 +0300 11978 11979 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c. 11980 Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID 11981 is in the reserved range. This allows Block Header encoder to 11982 detect unallowed Filter IDs, which is good for Stream encoder. 11983 11984 src/liblzma/common/filter_flags_encoder.c | 7 ++++--- 11985 1 file changed, 4 insertions(+), 3 deletions(-) 11986 11987commit 123ab0acec435c9e9866a99e30482116cfbd9ba5 11988Author: Lasse Collin <lasse.collin@tukaani.org> 11989Date: 2008-09-10 16:44:32 +0300 11990 11991 Filter handling cleanups 11992 11993 src/liblzma/api/lzma/filter.h | 133 +++++++++++++++++++++++++++--------- 11994 src/liblzma/common/filter_common.h | 3 + 11995 src/liblzma/common/filter_decoder.c | 80 +++++++--------------- 11996 src/liblzma/common/filter_decoder.h | 5 -- 11997 src/liblzma/common/filter_encoder.c | 82 +++++++--------------- 11998 src/liblzma/common/filter_encoder.h | 4 -- 11999 6 files changed, 156 insertions(+), 151 deletions(-) 12000 12001commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1 12002Author: Lasse Collin <lasse.collin@tukaani.org> 12003Date: 2008-09-10 00:33:00 +0300 12004 12005 Comments 12006 12007 src/liblzma/common/stream_encoder.c | 6 +++++- 12008 1 file changed, 5 insertions(+), 1 deletion(-) 12009 12010commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e 12011Author: Lasse Collin <lasse.collin@tukaani.org> 12012Date: 2008-09-10 00:27:02 +0300 12013 12014 Cleaned up Block encoder and moved the no longer shared 12015 code from block_private.h to block_decoder.c. Now the Block 12016 encoder doesn't need compressed_size and uncompressed_size 12017 from lzma_block structure to be initialized. 12018 12019 src/liblzma/api/lzma/block.h | 3 -- 12020 src/liblzma/common/Makefile.am | 1 - 12021 src/liblzma/common/block_decoder.c | 23 +++++++++- 12022 src/liblzma/common/block_encoder.c | 92 ++++++++++++++++++-------------------- 12023 src/liblzma/common/block_private.h | 47 ------------------- 12024 5 files changed, 66 insertions(+), 100 deletions(-) 12025 12026commit 07efcb5a6bc5d7018798ebd728586f84183e7d64 12027Author: Lasse Collin <lasse.collin@tukaani.org> 12028Date: 2008-09-07 10:23:13 +0300 12029 12030 Changed Filter ID of LZMA to 0x20. 12031 12032 doc/file-format.txt | 4 ++-- 12033 src/liblzma/api/lzma/lzma.h | 2 +- 12034 2 files changed, 3 insertions(+), 3 deletions(-) 12035 12036commit 32fe5fa541e82c08e054086279079ae5016bd8d8 12037Author: Lasse Collin <lasse.collin@tukaani.org> 12038Date: 2008-09-06 23:42:50 +0300 12039 12040 Comments 12041 12042 src/liblzma/api/lzma/base.h | 81 ++++++++++++++++++++++++++-------------- 12043 src/liblzma/api/lzma/container.h | 6 ++- 12044 src/liblzma/lz/lz_encoder.c | 3 +- 12045 src/liblzma/lz/lz_encoder.h | 12 +++--- 12046 src/liblzma/lz/lz_encoder_mf.c | 2 +- 12047 5 files changed, 65 insertions(+), 39 deletions(-) 12048 12049commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84 12050Author: Lasse Collin <lasse.collin@tukaani.org> 12051Date: 2008-09-06 15:14:30 +0300 12052 12053 Some API cleanups 12054 12055 src/liblzma/api/lzma/base.h | 314 +++++++++++++++++++++++------------- 12056 src/liblzma/api/lzma/check.h | 10 ++ 12057 src/liblzma/api/lzma/container.h | 40 +++-- 12058 src/liblzma/common/auto_decoder.c | 18 +-- 12059 src/liblzma/common/common.c | 7 + 12060 src/liblzma/common/common.h | 18 ++- 12061 src/liblzma/common/easy.c | 2 +- 12062 src/liblzma/common/stream_decoder.c | 31 ++-- 12063 src/lzma/process.c | 2 +- 12064 src/lzmadec/lzmadec.c | 6 +- 12065 tests/tests.h | 72 +++------ 12066 11 files changed, 301 insertions(+), 219 deletions(-) 12067 12068commit da98df54400998be2a6c3876f9655a3c51b93c10 12069Author: Lasse Collin <lasse.collin@tukaani.org> 12070Date: 2008-09-04 11:53:06 +0300 12071 12072 Added support for raw encoding and decoding to the command 12073 line tool, and made various cleanups. --lzma was renamed to 12074 --lzma1 to prevent people from accidentally using LZMA when 12075 they want LZMA2. 12076 12077 src/lzma/args.c | 17 +++++++++-------- 12078 src/lzma/args.h | 1 + 12079 src/lzma/help.c | 24 ++++++------------------ 12080 src/lzma/process.c | 42 ++++++++++++++++++++++++++++++++++-------- 12081 4 files changed, 50 insertions(+), 34 deletions(-) 12082 12083commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd 12084Author: Lasse Collin <lasse.collin@tukaani.org> 12085Date: 2008-09-04 10:39:15 +0300 12086 12087 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's 12088 simply nothing that would use it. Allow LZMA_FINISH to the 12089 decoders, which will usually ignore it (auto decoder and 12090 Stream decoder being exceptions). 12091 12092 src/liblzma/common/alone_decoder.c | 1 - 12093 src/liblzma/common/block_decoder.c | 2 +- 12094 src/liblzma/common/filter_decoder.c | 2 +- 12095 3 files changed, 2 insertions(+), 3 deletions(-) 12096 12097commit bea301c26d5d52675e11e0236faec0492af98f60 12098Author: Lasse Collin <lasse.collin@tukaani.org> 12099Date: 2008-09-03 17:06:25 +0300 12100 12101 Minor updates to the file format specification. 12102 12103 doc/file-format.txt | 105 ++++++++++++++++++++++++++++++++++++++++++---------- 12104 1 file changed, 85 insertions(+), 20 deletions(-) 12105 12106commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8 12107Author: Lasse Collin <lasse.collin@tukaani.org> 12108Date: 2008-09-02 19:33:32 +0300 12109 12110 Command line tool fixes 12111 12112 src/lzma/process.c | 21 +++++++++++++-------- 12113 1 file changed, 13 insertions(+), 8 deletions(-) 12114 12115commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4 12116Author: Lasse Collin <lasse.collin@tukaani.org> 12117Date: 2008-09-02 19:31:42 +0300 12118 12119 Auto decoder cleanup 12120 12121 src/liblzma/common/auto_decoder.c | 2 +- 12122 1 file changed, 1 insertion(+), 1 deletion(-) 12123 12124commit 689602336d126a46b60d791a67decab65e1e81f5 12125Author: Lasse Collin <lasse.collin@tukaani.org> 12126Date: 2008-09-02 19:12:12 +0300 12127 12128 Updated auto decoder to handle LZMA_CONCATENATED when decoding 12129 LZMA_Alone files. Decoding of concatenated LZMA_Alone files is 12130 intentionally not supported, so it is better to put this in 12131 auto decoder than LZMA_Alone decoder. 12132 12133 src/liblzma/common/auto_decoder.c | 87 ++++++++++++++++++++++++++++++++------- 12134 1 file changed, 71 insertions(+), 16 deletions(-) 12135 12136commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c 12137Author: Lasse Collin <lasse.collin@tukaani.org> 12138Date: 2008-09-02 14:56:52 +0300 12139 12140 Stream decoder cleanups 12141 12142 src/liblzma/common/stream_decoder.c | 57 +++++++++++++++++++++---------------- 12143 1 file changed, 32 insertions(+), 25 deletions(-) 12144 12145commit fc681657450ce57be1fe08f7a15d31dcc705e514 12146Author: Lasse Collin <lasse.collin@tukaani.org> 12147Date: 2008-09-02 11:45:39 +0300 12148 12149 Some fixes to LZ encoder. 12150 12151 src/liblzma/lz/lz_encoder.c | 56 ++++++++++++++++++++----- 12152 src/liblzma/lz/lz_encoder.h | 18 ++++---- 12153 src/liblzma/lz/lz_encoder_mf.c | 95 +++++++++++++++++------------------------- 12154 3 files changed, 94 insertions(+), 75 deletions(-) 12155 12156commit ede675f9ac1ca82a7d7c290324adba672118bc8d 12157Author: Lasse Collin <lasse.collin@tukaani.org> 12158Date: 2008-08-31 11:47:01 +0300 12159 12160 Fix wrong pointer calculation in LZMA encoder. 12161 12162 src/liblzma/lzma/lzma_encoder.c | 4 +++- 12163 1 file changed, 3 insertions(+), 1 deletion(-) 12164 12165commit 3b34851de1eaf358cf9268922fa0eeed8278d680 12166Author: Lasse Collin <lasse.collin@tukaani.org> 12167Date: 2008-08-28 22:53:15 +0300 12168 12169 Sort of garbage collection commit. :-| Many things are still 12170 broken. API has changed a lot and it will still change a 12171 little more here and there. The command line tool doesn't 12172 have all the required changes to reflect the API changes, so 12173 it's easy to get "internal error" or trigger assertions. 12174 12175 configure.ac | 356 +++--- 12176 debug/Makefile.am | 5 +- 12177 debug/crc32.c | 45 + 12178 debug/full_flush.c | 14 +- 12179 debug/hex2bin.c | 54 + 12180 debug/known_sizes.c | 135 ++ 12181 debug/memusage.c | 8 +- 12182 debug/sync_flush.c | 20 +- 12183 src/common/integer.h | 26 +- 12184 src/common/sysdefs.h | 42 +- 12185 src/liblzma/Makefile.am | 17 +- 12186 src/liblzma/api/Makefile.am | 6 +- 12187 src/liblzma/api/lzma.h | 161 ++- 12188 src/liblzma/api/lzma/alignment.h | 6 +- 12189 src/liblzma/api/lzma/alone.h | 52 - 12190 src/liblzma/api/lzma/auto.h | 36 - 12191 src/liblzma/api/lzma/base.h | 61 +- 12192 src/liblzma/api/lzma/block.h | 38 +- 12193 src/liblzma/api/lzma/check.h | 41 +- 12194 src/liblzma/api/lzma/container.h | 252 ++++ 12195 src/liblzma/api/lzma/delta.h | 36 +- 12196 src/liblzma/api/lzma/easy.h | 121 -- 12197 src/liblzma/api/lzma/filter.h | 74 +- 12198 src/liblzma/api/lzma/index.h | 40 +- 12199 src/liblzma/api/lzma/index_hash.h | 12 +- 12200 src/liblzma/api/lzma/lzma.h | 222 ++-- 12201 src/liblzma/api/lzma/memlimit.h | 15 +- 12202 src/liblzma/api/lzma/raw.h | 60 - 12203 src/liblzma/api/lzma/simple.h | 2 +- 12204 src/liblzma/api/lzma/stream.h | 53 - 12205 src/liblzma/api/lzma/stream_flags.h | 17 +- 12206 src/liblzma/api/lzma/subblock.h | 4 +- 12207 src/liblzma/api/lzma/version.h | 10 +- 12208 src/liblzma/api/lzma/vli.h | 131 +- 12209 src/liblzma/check/check.c | 128 +- 12210 src/liblzma/check/check.h | 67 +- 12211 src/liblzma/check/sha256.c | 29 +- 12212 src/liblzma/common/Makefile.am | 51 +- 12213 src/liblzma/common/alignment.c | 4 +- 12214 src/liblzma/common/allocator.c | 58 - 12215 src/liblzma/common/alone_decoder.c | 49 +- 12216 src/liblzma/common/alone_decoder.h | 9 +- 12217 src/liblzma/common/alone_encoder.c | 13 +- 12218 src/liblzma/common/auto_decoder.c | 38 +- 12219 src/liblzma/common/block_decoder.c | 67 +- 12220 src/liblzma/common/block_decoder.h | 2 +- 12221 src/liblzma/common/block_encoder.c | 42 +- 12222 src/liblzma/common/block_encoder.h | 2 +- 12223 src/liblzma/common/block_header_decoder.c | 6 +- 12224 src/liblzma/common/block_header_encoder.c | 9 +- 12225 src/liblzma/common/block_util.c | 10 +- 12226 src/liblzma/common/code.c | 203 --- 12227 src/liblzma/common/common.c | 298 +++++ 12228 src/liblzma/common/common.h | 237 ++-- 12229 src/liblzma/common/delta_common.c | 66 - 12230 src/liblzma/common/delta_common.h | 44 - 12231 src/liblzma/common/delta_decoder.c | 61 - 12232 src/liblzma/common/delta_decoder.h | 28 - 12233 src/liblzma/common/delta_encoder.c | 98 -- 12234 src/liblzma/common/delta_encoder.h | 28 - 12235 src/liblzma/common/easy.c | 18 +- 12236 src/liblzma/common/features.c | 66 - 12237 src/liblzma/common/filter_common.c | 262 ++++ 12238 src/liblzma/common/filter_common.h | 52 + 12239 src/liblzma/common/filter_decoder.c | 236 ++++ 12240 src/liblzma/common/filter_decoder.h | 35 + 12241 src/liblzma/common/filter_encoder.c | 308 +++++ 12242 src/liblzma/common/filter_encoder.h | 38 + 12243 src/liblzma/common/filter_flags_decoder.c | 185 +-- 12244 src/liblzma/common/filter_flags_encoder.c | 261 +--- 12245 src/liblzma/common/index_decoder.c | 14 +- 12246 src/liblzma/common/index_encoder.c | 16 +- 12247 src/liblzma/common/index_hash.c | 8 +- 12248 src/liblzma/common/init_encoder.c | 2 +- 12249 src/liblzma/common/memory_usage.c | 112 -- 12250 src/liblzma/common/next_coder.c | 65 - 12251 src/liblzma/common/raw_common.c | 127 -- 12252 src/liblzma/common/raw_common.h | 30 - 12253 src/liblzma/common/raw_decoder.c | 116 -- 12254 src/liblzma/common/raw_decoder.h | 29 - 12255 src/liblzma/common/raw_encoder.c | 111 -- 12256 src/liblzma/common/raw_encoder.h | 29 - 12257 src/liblzma/common/stream_common.c | 23 - 12258 src/liblzma/common/stream_common.h | 31 - 12259 src/liblzma/common/stream_decoder.c | 238 +++- 12260 src/liblzma/common/stream_decoder.h | 4 +- 12261 src/liblzma/common/stream_encoder.c | 35 +- 12262 src/liblzma/common/stream_encoder.h | 2 +- 12263 src/liblzma/common/stream_flags_common.c | 40 + 12264 src/liblzma/common/stream_flags_common.h | 31 + 12265 src/liblzma/common/stream_flags_decoder.c | 2 +- 12266 src/liblzma/common/stream_flags_encoder.c | 2 +- 12267 src/liblzma/common/stream_flags_equal.c | 36 - 12268 src/liblzma/common/version.c | 25 - 12269 src/liblzma/common/vli_decoder.c | 29 +- 12270 src/liblzma/common/vli_encoder.c | 23 +- 12271 src/liblzma/common/vli_size.c | 37 + 12272 src/liblzma/delta/Makefile.am | 34 + 12273 src/liblzma/delta/delta_common.c | 66 + 12274 src/liblzma/delta/delta_common.h | 44 + 12275 src/liblzma/delta/delta_decoder.c | 82 ++ 12276 src/liblzma/delta/delta_decoder.h | 32 + 12277 src/liblzma/delta/delta_encoder.c | 119 ++ 12278 src/liblzma/delta/delta_encoder.h | 30 + 12279 src/liblzma/lz/Makefile.am | 35 +- 12280 src/liblzma/lz/bt2.c | 27 - 12281 src/liblzma/lz/bt2.h | 31 - 12282 src/liblzma/lz/bt3.c | 29 - 12283 src/liblzma/lz/bt3.h | 31 - 12284 src/liblzma/lz/bt4.c | 30 - 12285 src/liblzma/lz/bt4.h | 31 - 12286 src/liblzma/lz/hc3.c | 30 - 12287 src/liblzma/lz/hc3.h | 31 - 12288 src/liblzma/lz/hc4.c | 31 - 12289 src/liblzma/lz/hc4.h | 31 - 12290 src/liblzma/lz/lz_decoder.c | 547 +++----- 12291 src/liblzma/lz/lz_decoder.h | 308 ++--- 12292 src/liblzma/lz/lz_encoder.c | 780 ++++++------ 12293 src/liblzma/lz/lz_encoder.h | 334 +++-- 12294 src/liblzma/lz/lz_encoder_hash.h | 104 ++ 12295 src/liblzma/lz/lz_encoder_mf.c | 780 ++++++++++++ 12296 src/liblzma/lz/lz_encoder_private.h | 40 - 12297 src/liblzma/lz/match_c.h | 412 ------ 12298 src/liblzma/lz/match_h.h | 69 -- 12299 src/liblzma/lzma/Makefile.am | 37 +- 12300 src/liblzma/lzma/fastpos.h | 8 +- 12301 src/liblzma/lzma/lzma2_decoder.c | 318 +++++ 12302 src/liblzma/lzma/lzma2_decoder.h | 35 + 12303 src/liblzma/lzma/lzma2_encoder.c | 406 ++++++ 12304 src/liblzma/lzma/lzma2_encoder.h | 34 + 12305 src/liblzma/lzma/lzma_common.h | 208 +++- 12306 src/liblzma/lzma/lzma_decoder.c | 1306 ++++++++++++-------- 12307 src/liblzma/lzma/lzma_decoder.h | 21 +- 12308 src/liblzma/lzma/lzma_encoder.c | 576 +++++++-- 12309 src/liblzma/lzma/lzma_encoder.h | 38 +- 12310 src/liblzma/lzma/lzma_encoder_features.c | 2 +- 12311 src/liblzma/lzma/lzma_encoder_getoptimum.c | 925 -------------- 12312 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 --- 12313 src/liblzma/lzma/lzma_encoder_init.c | 228 ---- 12314 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 193 +++ 12315 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 875 +++++++++++++ 12316 src/liblzma/lzma/lzma_encoder_presets.c | 52 +- 12317 src/liblzma/lzma/lzma_encoder_private.h | 174 +-- 12318 src/liblzma/lzma/lzma_literal.c | 51 - 12319 src/liblzma/lzma/lzma_literal.h | 71 -- 12320 src/liblzma/rangecoder/Makefile.am | 10 +- 12321 src/liblzma/rangecoder/price.h | 111 ++ 12322 src/liblzma/rangecoder/price_table.c | 84 +- 12323 src/liblzma/rangecoder/price_table_gen.c | 55 - 12324 src/liblzma/rangecoder/price_table_init.c | 33 +- 12325 src/liblzma/rangecoder/price_tablegen.c | 56 + 12326 src/liblzma/rangecoder/range_common.h | 17 +- 12327 src/liblzma/rangecoder/range_decoder.h | 209 ++-- 12328 src/liblzma/rangecoder/range_encoder.h | 92 +- 12329 src/liblzma/simple/Makefile.am | 12 + 12330 src/liblzma/simple/simple_coder.c | 8 +- 12331 src/liblzma/simple/simple_decoder.c | 47 + 12332 src/liblzma/simple/simple_decoder.h | 29 + 12333 src/liblzma/simple/simple_encoder.c | 45 + 12334 src/liblzma/simple/simple_encoder.h | 30 + 12335 src/liblzma/subblock/Makefile.am | 4 +- 12336 src/liblzma/subblock/subblock_decoder.c | 20 +- 12337 src/liblzma/subblock/subblock_decoder_helper.c | 2 +- 12338 src/liblzma/subblock/subblock_encoder.c | 28 +- 12339 src/lzma/args.c | 35 +- 12340 src/lzma/args.h | 4 +- 12341 src/lzma/options.c | 14 +- 12342 src/lzma/process.c | 88 +- 12343 src/lzmadec/lzmadec.c | 157 +-- 12344 tests/Makefile.am | 1 + 12345 tests/files/README | 303 ++--- 12346 tests/files/bad-0-backward_size.lzma | Bin 0 -> 32 bytes 12347 tests/files/bad-0-empty-truncated.lzma | Bin 0 -> 31 bytes 12348 tests/files/bad-0-nonempty_index.lzma | Bin 0 -> 32 bytes 12349 tests/files/bad-0cat-alone.lzma | Bin 0 -> 55 bytes 12350 tests/files/bad-0catpad-empty.lzma | Bin 0 -> 69 bytes 12351 tests/files/bad-0pad-empty.lzma | Bin 0 -> 37 bytes 12352 tests/files/bad-1-block_header-1.lzma | Bin 0 -> 64 bytes 12353 tests/files/bad-1-block_header-2.lzma | Bin 0 -> 64 bytes 12354 tests/files/bad-1-block_header-3.lzma | Bin 0 -> 68 bytes 12355 tests/files/bad-1-block_header-4.lzma | Bin 0 -> 72 bytes 12356 tests/files/bad-1-check-crc32.lzma | Bin 0 -> 68 bytes 12357 tests/files/bad-1-check-crc64.lzma | Bin 0 -> 72 bytes 12358 tests/files/bad-1-check-sha256.lzma | Bin 0 -> 96 bytes 12359 tests/files/bad-1-lzma2-1.lzma | Bin 0 -> 64 bytes 12360 tests/files/bad-1-lzma2-2.lzma | Bin 0 -> 424 bytes 12361 tests/files/bad-1-lzma2-3.lzma | Bin 0 -> 424 bytes 12362 tests/files/bad-1-lzma2-4.lzma | Bin 0 -> 408 bytes 12363 tests/files/bad-1-lzma2-5.lzma | Bin 0 -> 408 bytes 12364 tests/files/bad-1-lzma2-6.lzma | Bin 0 -> 68 bytes 12365 tests/files/bad-1-lzma2-7.lzma | Bin 0 -> 408 bytes 12366 tests/files/bad-1-stream_flags-1.lzma | Bin 0 -> 68 bytes 12367 tests/files/bad-1-stream_flags-2.lzma | Bin 0 -> 68 bytes 12368 tests/files/bad-1-stream_flags-3.lzma | Bin 0 -> 68 bytes 12369 tests/files/bad-1-vli-1.lzma | Bin 0 -> 72 bytes 12370 tests/files/bad-1-vli-2.lzma | Bin 0 -> 72 bytes 12371 tests/files/bad-2-compressed_data_padding.lzma | Bin 0 -> 92 bytes 12372 tests/files/bad-2-index-1.lzma | Bin 0 -> 92 bytes 12373 tests/files/bad-2-index-2.lzma | Bin 0 -> 92 bytes 12374 tests/files/bad-2-index-3.lzma | Bin 0 -> 92 bytes 12375 tests/files/bad-2-index-4.lzma | Bin 0 -> 92 bytes 12376 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 65 -> 0 bytes 12377 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 65 -> 0 bytes 12378 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 65 -> 0 bytes 12379 tests/files/bad-multi-none-1.lzma | Bin 54 -> 0 bytes 12380 tests/files/bad-multi-none-2.lzma | Bin 53 -> 0 bytes 12381 tests/files/bad-multi-none-3.lzma | Bin 53 -> 0 bytes 12382 tests/files/bad-multi-none-block_1.lzma | Bin 66 -> 0 bytes 12383 tests/files/bad-multi-none-block_2.lzma | Bin 66 -> 0 bytes 12384 tests/files/bad-multi-none-block_3.lzma | Bin 58 -> 0 bytes 12385 tests/files/bad-multi-none-extra_1.lzma | Bin 54 -> 0 bytes 12386 tests/files/bad-multi-none-extra_2.lzma | Bin 54 -> 0 bytes 12387 tests/files/bad-multi-none-extra_3.lzma | Bin 55 -> 0 bytes 12388 tests/files/bad-multi-none-header_1.lzma | Bin 57 -> 0 bytes 12389 tests/files/bad-multi-none-header_2.lzma | Bin 61 -> 0 bytes 12390 tests/files/bad-multi-none-header_3.lzma | Bin 59 -> 0 bytes 12391 tests/files/bad-multi-none-header_4.lzma | Bin 59 -> 0 bytes 12392 tests/files/bad-multi-none-header_5.lzma | Bin 58 -> 0 bytes 12393 tests/files/bad-multi-none-header_6.lzma | Bin 59 -> 0 bytes 12394 tests/files/bad-multi-none-header_7.lzma | Bin 59 -> 0 bytes 12395 tests/files/bad-multi-none-index_1.lzma | Bin 51 -> 0 bytes 12396 tests/files/bad-multi-none-index_2.lzma | Bin 49 -> 0 bytes 12397 tests/files/bad-multi-none-index_3.lzma | Bin 51 -> 0 bytes 12398 tests/files/bad-multi-none-index_4.lzma | Bin 51 -> 0 bytes 12399 tests/files/bad-single-data_after_eopm_1.lzma | Bin 55 -> 0 bytes 12400 tests/files/bad-single-data_after_eopm_2.lzma | Bin 56 -> 0 bytes 12401 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 53 -> 0 bytes 12402 tests/files/bad-single-lzma-flush_twice.lzma | Bin 63 -> 0 bytes 12403 tests/files/bad-single-none-empty.lzma | Bin 19 -> 0 bytes 12404 .../files/bad-single-none-footer_filter_flags.lzma | Bin 30 -> 0 bytes 12405 tests/files/bad-single-none-too_long_vli.lzma | Bin 39 -> 0 bytes 12406 tests/files/bad-single-none-truncated.lzma | Bin 29 -> 0 bytes 12407 tests/files/bad-single-subblock-padding_loop.lzma | Bin 43 -> 0 bytes 12408 tests/files/bad-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes 12409 tests/files/bad-single-subblock_subblock.lzma | Bin 26 -> 0 bytes 12410 tests/files/good-0-empty.lzma | Bin 0 -> 32 bytes 12411 tests/files/good-0cat-empty.lzma | Bin 0 -> 64 bytes 12412 tests/files/good-0catpad-empty.lzma | Bin 0 -> 68 bytes 12413 tests/files/good-0pad-empty.lzma | Bin 0 -> 36 bytes 12414 tests/files/good-1-3delta-lzma2.lzma | Bin 0 -> 528 bytes 12415 tests/files/good-1-block_header-1.lzma | Bin 0 -> 72 bytes 12416 tests/files/good-1-block_header-2.lzma | Bin 0 -> 68 bytes 12417 tests/files/good-1-block_header-3.lzma | Bin 0 -> 68 bytes 12418 tests/files/good-1-check-crc32.lzma | Bin 0 -> 68 bytes 12419 tests/files/good-1-check-crc64.lzma | Bin 0 -> 72 bytes 12420 tests/files/good-1-check-none.lzma | Bin 0 -> 64 bytes 12421 tests/files/good-1-check-sha256.lzma | Bin 0 -> 96 bytes 12422 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 0 -> 51312 bytes 12423 tests/files/good-1-lzma2-1.lzma | Bin 0 -> 424 bytes 12424 tests/files/good-1-lzma2-2.lzma | Bin 0 -> 424 bytes 12425 tests/files/good-1-lzma2-3.lzma | Bin 0 -> 408 bytes 12426 tests/files/good-1-sparc-lzma2.lzma | Bin 0 -> 2292 bytes 12427 tests/files/good-1-x86-lzma2.lzma | Bin 0 -> 1936 bytes 12428 tests/files/good-2-lzma2.lzma | Bin 0 -> 92 bytes 12429 tests/files/good-cat-single-none-pad.lzma | Bin 64 -> 0 bytes 12430 tests/files/good-multi-none-1.lzma | Bin 75 -> 0 bytes 12431 tests/files/good-multi-none-2.lzma | Bin 53 -> 0 bytes 12432 tests/files/good-multi-none-block_1.lzma | Bin 66 -> 0 bytes 12433 tests/files/good-multi-none-block_2.lzma | Bin 58 -> 0 bytes 12434 tests/files/good-multi-none-extra_1.lzma | Bin 51 -> 0 bytes 12435 tests/files/good-multi-none-extra_2.lzma | Bin 79 -> 0 bytes 12436 tests/files/good-multi-none-extra_3.lzma | Bin 55 -> 0 bytes 12437 tests/files/good-multi-none-header_1.lzma | Bin 58 -> 0 bytes 12438 tests/files/good-multi-none-header_2.lzma | Bin 66 -> 0 bytes 12439 tests/files/good-multi-none-header_3.lzma | Bin 59 -> 0 bytes 12440 tests/files/good-single-delta-lzma.tiff.lzma | Bin 51409 -> 0 bytes 12441 tests/files/good-single-lzma-empty.lzma | Bin 21 -> 0 bytes 12442 tests/files/good-single-lzma-flush_1.lzma | Bin 48 -> 0 bytes 12443 tests/files/good-single-lzma-flush_2.lzma | Bin 63 -> 0 bytes 12444 tests/files/good-single-lzma.lzma | Bin 44 -> 0 bytes 12445 tests/files/good-single-none-empty_1.lzma | Bin 18 -> 0 bytes 12446 tests/files/good-single-none-empty_2.lzma | Bin 26 -> 0 bytes 12447 tests/files/good-single-none-empty_3.lzma | Bin 19 -> 0 bytes 12448 tests/files/good-single-none-pad.lzma | Bin 32 -> 0 bytes 12449 tests/files/good-single-none.lzma | Bin 30 -> 0 bytes 12450 tests/files/good-single-sparc-lzma.lzma | Bin 2263 -> 0 bytes 12451 tests/files/good-single-subblock-lzma.lzma | Bin 50 -> 0 bytes 12452 tests/files/good-single-subblock_implicit.lzma | Bin 35 -> 0 bytes 12453 tests/files/good-single-subblock_rle.lzma | Bin 118 -> 0 bytes 12454 tests/files/good-single-x86-lzma.lzma | Bin 1909 -> 0 bytes 12455 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 51 -> 0 bytes 12456 tests/files/malicious-single-subblock-256MiB.lzma | Bin 30 -> 0 bytes 12457 tests/files/malicious-single-subblock-64PiB.lzma | Bin 45 -> 0 bytes 12458 tests/files/malicious-single-subblock31-slow.lzma | Bin 1233 -> 0 bytes 12459 tests/files/unsupported-block_header.lzma | Bin 0 -> 68 bytes 12460 tests/files/unsupported-check.lzma | Bin 0 -> 68 bytes 12461 tests/files/unsupported-filter_flags-1.lzma | Bin 0 -> 68 bytes 12462 tests/files/unsupported-filter_flags-2.lzma | Bin 0 -> 68 bytes 12463 tests/files/unsupported-filter_flags-3.lzma | Bin 0 -> 68 bytes 12464 tests/test_block_header.c | 28 +- 12465 tests/test_compress.sh | 4 +- 12466 tests/test_filter_flags.c | 51 +- 12467 tests/test_stream_flags.c | 4 +- 12468 tests/tests.h | 8 + 12469 294 files changed, 9768 insertions(+), 8195 deletions(-) 12470 12471commit 57b9a145a527f0716822615e5ed536d33aebd3fc 12472Author: Lasse Collin <lasse.collin@tukaani.org> 12473Date: 2008-06-20 17:16:32 +0300 12474 12475 Fix test_filter_flags to match the new restriction of lc+lp. 12476 12477 tests/test_filter_flags.c | 3 +++ 12478 1 file changed, 3 insertions(+) 12479 12480commit eaafc4367c77ec1d910e16d11b4da293969d97a3 12481Author: Lasse Collin <lasse.collin@tukaani.org> 12482Date: 2008-06-20 16:19:54 +0300 12483 12484 Remove some redundant code from LZMA encoder. 12485 12486 src/liblzma/lzma/lzma_encoder.c | 15 +-------------- 12487 1 file changed, 1 insertion(+), 14 deletions(-) 12488 12489commit 0809c46534fa5664fe35d9e98d95e87312ed130e 12490Author: Lasse Collin <lasse.collin@tukaani.org> 12491Date: 2008-06-19 16:35:08 +0300 12492 12493 Add limit of lc + lp <= 4. Now we can allocate the 12494 literal coder as part of the main LZMA encoder or 12495 decoder structure. 12496 12497 Make the LZMA decoder to rely on the current internal API 12498 to free the allocated memory in case an error occurs. 12499 12500 src/liblzma/api/lzma/lzma.h | 10 +++++- 12501 src/liblzma/lzma/lzma_decoder.c | 57 ++++++++------------------------- 12502 src/liblzma/lzma/lzma_encoder_init.c | 13 ++++---- 12503 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 12504 src/liblzma/lzma/lzma_literal.c | 39 +++++----------------- 12505 src/liblzma/lzma/lzma_literal.h | 13 +++----- 12506 6 files changed, 43 insertions(+), 91 deletions(-) 12507 12508commit d25ab1b96178f06a0e724f58e3cd68300b2b1275 12509Author: Lasse Collin <lasse.collin@tukaani.org> 12510Date: 2008-06-18 21:45:19 +0300 12511 12512 Comments 12513 12514 src/liblzma/lzma/lzma_encoder.c | 7 ++----- 12515 1 file changed, 2 insertions(+), 5 deletions(-) 12516 12517commit 6368a2fa5901c75864be5171dd57a50af7adbb41 12518Author: Lasse Collin <lasse.collin@tukaani.org> 12519Date: 2008-06-18 19:19:02 +0300 12520 12521 Delete old code that was supposed to be already deleted 12522 from test_block_header.c. 12523 12524 tests/test_block_header.c | 30 ------------------------------ 12525 1 file changed, 30 deletions(-) 12526 12527commit 7d17818cec8597f847b0a2537fde991bbc3d9e96 12528Author: Lasse Collin <lasse.collin@tukaani.org> 12529Date: 2008-06-18 18:02:10 +0300 12530 12531 Update the code to mostly match the new simpler file format 12532 specification. Simplify things by removing most of the 12533 support for known uncompressed size in most places. 12534 There are some miscellaneous changes here and there too. 12535 12536 The API of liblzma has got many changes and still some 12537 more will be done soon. While most of the code has been 12538 updated, some things are not fixed (the command line tool 12539 will choke with invalid filter chain, if nothing else). 12540 12541 Subblock filter is somewhat broken for now. It will be 12542 updated once the encoded format of the Subblock filter 12543 has been decided. 12544 12545 configure.ac | 41 +- 12546 debug/full_flush.c | 16 +- 12547 debug/sync_flush.c | 15 +- 12548 src/common/bswap.h | 44 ++ 12549 src/common/integer.h | 167 +++++ 12550 src/liblzma/api/Makefile.am | 5 +- 12551 src/liblzma/api/lzma.h | 9 +- 12552 src/liblzma/api/lzma/alone.h | 32 +- 12553 src/liblzma/api/lzma/auto.h | 7 +- 12554 src/liblzma/api/lzma/base.h | 15 + 12555 src/liblzma/api/lzma/block.h | 306 +++------- 12556 src/liblzma/api/lzma/check.h | 18 +- 12557 src/liblzma/api/lzma/copy.h | 29 - 12558 src/liblzma/api/lzma/easy.h | 61 +- 12559 src/liblzma/api/lzma/extra.h | 114 ---- 12560 src/liblzma/api/lzma/filter.h | 5 +- 12561 src/liblzma/api/lzma/index.h | 204 ++++++- 12562 src/liblzma/api/lzma/index_hash.h | 94 +++ 12563 src/liblzma/api/lzma/info.h | 315 ---------- 12564 src/liblzma/api/lzma/lzma.h | 2 +- 12565 src/liblzma/api/lzma/metadata.h | 100 --- 12566 src/liblzma/api/lzma/raw.h | 20 +- 12567 src/liblzma/api/lzma/stream.h | 157 +---- 12568 src/liblzma/api/lzma/stream_flags.h | 146 +++-- 12569 src/liblzma/api/lzma/version.h | 2 +- 12570 src/liblzma/api/lzma/vli.h | 83 ++- 12571 src/liblzma/check/Makefile.am | 1 - 12572 src/liblzma/check/check.c | 55 +- 12573 src/liblzma/check/check.h | 47 +- 12574 src/liblzma/check/check_byteswap.h | 43 -- 12575 src/liblzma/check/crc32_init.c | 2 +- 12576 src/liblzma/check/crc64_init.c | 2 +- 12577 src/liblzma/check/crc_macros.h | 2 +- 12578 src/liblzma/check/sha256.c | 53 +- 12579 src/liblzma/common/Makefile.am | 31 +- 12580 src/liblzma/common/alignment.c | 5 +- 12581 src/liblzma/common/alone_decoder.c | 77 +-- 12582 src/liblzma/common/alone_encoder.c | 99 ++- 12583 src/liblzma/common/auto_decoder.c | 18 +- 12584 src/liblzma/common/block_decoder.c | 298 +++------ 12585 src/liblzma/common/block_encoder.c | 228 ++----- 12586 src/liblzma/common/block_header_decoder.c | 400 +++--------- 12587 src/liblzma/common/block_header_encoder.c | 207 +++---- 12588 src/liblzma/common/block_private.h | 51 +- 12589 src/liblzma/common/block_util.c | 73 +++ 12590 src/liblzma/common/common.h | 44 +- 12591 src/liblzma/common/copy_coder.c | 144 ----- 12592 src/liblzma/common/copy_coder.h | 31 - 12593 src/liblzma/common/delta_common.c | 4 - 12594 src/liblzma/common/delta_common.h | 4 - 12595 src/liblzma/common/delta_decoder.c | 55 +- 12596 src/liblzma/common/delta_encoder.c | 7 +- 12597 src/liblzma/common/easy.c | 122 ++++ 12598 src/liblzma/common/easy_common.c | 54 -- 12599 src/liblzma/common/easy_common.h | 28 - 12600 src/liblzma/common/easy_multi.c | 103 ---- 12601 src/liblzma/common/easy_single.c | 37 -- 12602 src/liblzma/common/extra.c | 34 -- 12603 src/liblzma/common/features.c | 4 - 12604 src/liblzma/common/filter_flags_decoder.c | 384 ++++-------- 12605 src/liblzma/common/filter_flags_encoder.c | 120 +--- 12606 src/liblzma/common/index.c | 773 ++++++++++++++++++++--- 12607 src/liblzma/common/index.h | 67 ++ 12608 src/liblzma/common/index_decoder.c | 252 ++++++++ 12609 src/liblzma/common/index_encoder.c | 222 +++++++ 12610 src/liblzma/common/index_encoder.h | 30 + 12611 src/liblzma/common/index_hash.c | 340 +++++++++++ 12612 src/liblzma/common/info.c | 814 ------------------------- 12613 src/liblzma/common/memory_usage.c | 1 - 12614 src/liblzma/common/metadata_decoder.c | 578 ------------------ 12615 src/liblzma/common/metadata_decoder.h | 31 - 12616 src/liblzma/common/metadata_encoder.c | 435 ------------- 12617 src/liblzma/common/metadata_encoder.h | 30 - 12618 src/liblzma/common/raw_common.c | 178 ++---- 12619 src/liblzma/common/raw_common.h | 5 +- 12620 src/liblzma/common/raw_decoder.c | 19 +- 12621 src/liblzma/common/raw_decoder.h | 3 +- 12622 src/liblzma/common/raw_encoder.c | 101 +-- 12623 src/liblzma/common/raw_encoder.h | 3 +- 12624 src/liblzma/common/stream_common.h | 3 + 12625 src/liblzma/common/stream_decoder.c | 458 +++++--------- 12626 src/liblzma/common/stream_decoder.h | 28 + 12627 src/liblzma/common/stream_encoder.c | 282 +++++++++ 12628 src/liblzma/common/stream_encoder.h | 30 + 12629 src/liblzma/common/stream_encoder_multi.c | 445 -------------- 12630 src/liblzma/common/stream_encoder_multi.h | 26 - 12631 src/liblzma/common/stream_encoder_single.c | 219 ------- 12632 src/liblzma/common/stream_flags_decoder.c | 260 ++------ 12633 src/liblzma/common/stream_flags_encoder.c | 56 +- 12634 src/liblzma/common/stream_flags_equal.c | 36 ++ 12635 src/liblzma/common/vli_decoder.c | 68 ++- 12636 src/liblzma/common/vli_encoder.c | 59 +- 12637 src/liblzma/common/vli_reverse_decoder.c | 55 -- 12638 src/liblzma/lz/lz_decoder.c | 6 +- 12639 src/liblzma/lz/lz_decoder.h | 10 +- 12640 src/liblzma/lzma/lzma_decoder.c | 13 +- 12641 src/liblzma/lzma/lzma_decoder.h | 10 +- 12642 src/liblzma/simple/simple_coder.c | 29 +- 12643 src/liblzma/simple/simple_private.h | 4 - 12644 src/liblzma/subblock/subblock_decoder.c | 106 +--- 12645 src/liblzma/subblock/subblock_decoder_helper.c | 5 +- 12646 src/liblzma/subblock/subblock_encoder.c | 8 +- 12647 src/lzma/args.c | 22 +- 12648 src/lzma/args.h | 2 - 12649 src/lzma/error.c | 6 + 12650 src/lzma/process.c | 26 +- 12651 src/lzmadec/lzmadec.c | 8 +- 12652 tests/Makefile.am | 5 +- 12653 tests/test_block_header.c | 411 +++++-------- 12654 tests/test_compress.sh | 65 +- 12655 tests/test_filter_flags.c | 116 ++-- 12656 tests/test_index.c | 504 ++++++++++++++- 12657 tests/test_info.c | 717 ---------------------- 12658 tests/test_stream_flags.c | 134 ++-- 12659 tests/tests.h | 14 +- 12660 115 files changed, 4846 insertions(+), 8156 deletions(-) 12661 12662commit bf6348d1a3ff09fdc06940468f318f75ffa6af11 12663Author: Lasse Collin <lasse.collin@tukaani.org> 12664Date: 2008-06-17 15:03:46 +0300 12665 12666 Update the file format specification draft. The new one is 12667 a lot simpler than the previous versions, but it also means 12668 that the existing code will change a lot. 12669 12670 doc/file-format.txt | 1794 +++++++++++++++------------------------------------ 12671 1 file changed, 508 insertions(+), 1286 deletions(-) 12672 12673commit 803194ddd26f01ff60ba4e9924c6087a56b29827 12674Author: Lasse Collin <lasse.collin@tukaani.org> 12675Date: 2008-06-11 21:42:47 +0300 12676 12677 Fix uninitialized variable in LZMA encoder. This was 12678 introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f. 12679 12680 src/liblzma/lzma/lzma_encoder_init.c | 2 ++ 12681 1 file changed, 2 insertions(+) 12682 12683commit 0ea98e52ba87453497b1355c51f13bad55c8924a 12684Author: Lasse Collin <lasse.collin@tukaani.org> 12685Date: 2008-06-11 15:08:44 +0300 12686 12687 Improve command line integer parsing a little in lzma and 12688 lzmadec to make them accept also KiB in addition Ki etc. 12689 Fix also memory usage information in lzmadec --help. 12690 12691 src/lzma/util.c | 23 ++++++++++++++--------- 12692 src/lzmadec/lzmadec.c | 31 ++++++++++++++++++------------- 12693 2 files changed, 32 insertions(+), 22 deletions(-) 12694 12695commit 436fa5fae96d4e35759aed33066060f09ee8c6ef 12696Author: Lasse Collin <lasse.collin@tukaani.org> 12697Date: 2008-06-10 20:36:12 +0300 12698 12699 s/decompressed/compressed/ in the command line tool's 12700 error message. 12701 12702 src/lzma/main.c | 2 +- 12703 1 file changed, 1 insertion(+), 1 deletion(-) 12704 12705commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f 12706Author: Lasse Collin <lasse.collin@tukaani.org> 12707Date: 2008-06-01 12:48:17 +0300 12708 12709 Fix a buffer overflow in the LZMA encoder. It was due to my 12710 misunderstanding of the code. There's no tiny fix for this 12711 problem, so I also cleaned up the code in general. 12712 12713 This reduces the speed of the encoder 2-5 % in the fastest 12714 compression mode ("lzma -1"). High compression modes should 12715 have no noticeable performance difference. 12716 12717 This commit breaks things (especially LZMA_SYNC_FLUSH) but I 12718 will fix them once the new format and LZMA2 has been roughly 12719 implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all 12720 and won't be supported in the new .lzma format. This may 12721 change still but this is what it looks like now. 12722 12723 Support for known uncompressed size (that is, LZMA or LZMA2 12724 without EOPM) is likely to go away. This means there will 12725 be API changes. 12726 12727 src/liblzma/lz/lz_encoder.c | 113 +---- 12728 src/liblzma/lz/lz_encoder.h | 18 +- 12729 src/liblzma/lzma/lzma_encoder.c | 551 ++++++++++++------------- 12730 src/liblzma/lzma/lzma_encoder_getoptimum.c | 59 ++- 12731 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 4 +- 12732 src/liblzma/lzma/lzma_encoder_init.c | 9 +- 12733 src/liblzma/lzma/lzma_encoder_private.h | 15 +- 12734 src/liblzma/rangecoder/range_encoder.h | 383 +++++++++-------- 12735 8 files changed, 532 insertions(+), 620 deletions(-) 12736 12737commit e55e0e873ce2511325749d415ae547d62ab5f00d 12738Author: Lasse Collin <lasse.collin@tukaani.org> 12739Date: 2008-05-30 11:53:41 +0300 12740 12741 Typo fixes from meyering. 12742 12743 doc/faq.txt | 4 ++-- 12744 doc/liblzma-advanced.txt | 2 +- 12745 2 files changed, 3 insertions(+), 3 deletions(-) 12746 12747commit ed6664146fcbe9cc4a3b23b31632182ed812ea93 12748Author: Lasse Collin <lasse.collin@tukaani.org> 12749Date: 2008-05-11 14:24:42 +0300 12750 12751 Remove support for pre-C89 libc versions that lack memcpy, 12752 memmove, and memset. 12753 12754 configure.ac | 2 +- 12755 src/common/sysdefs.h | 15 ++------------- 12756 src/liblzma/common/allocator.c | 2 +- 12757 3 files changed, 4 insertions(+), 15 deletions(-) 12758 12759commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63 12760Author: Lasse Collin <lasse.collin@tukaani.org> 12761Date: 2008-05-11 14:17:21 +0300 12762 12763 Improved C99 compiler detection in configure.ac. It will 12764 pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic 12765 should still give warnings about GNU extensions like before 12766 except with some special keywords like asm(). 12767 12768 configure.ac | 24 ++++++++++++------------ 12769 1 file changed, 12 insertions(+), 12 deletions(-) 12770 12771commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf 12772Author: Lasse Collin <lasse.collin@tukaani.org> 12773Date: 2008-05-06 15:15:07 +0300 12774 12775 Bunch of grammar fixes from meyering. 12776 12777 doc/liblzma-security.txt | 8 ++++---- 12778 src/liblzma/api/lzma/memlimit.h | 6 +++--- 12779 src/lzma/help.c | 2 +- 12780 tests/files/README | 2 +- 12781 4 files changed, 9 insertions(+), 9 deletions(-) 12782 12783commit dc192b6343ae36276c85fcf7ef6006147816eadc 12784Author: Lasse Collin <lasse.collin@tukaani.org> 12785Date: 2008-05-06 13:41:05 +0300 12786 12787 Typo fix 12788 12789 src/liblzma/api/lzma/init.h | 2 +- 12790 1 file changed, 1 insertion(+), 1 deletion(-) 12791 12792commit 944b62b93239b27b338d117f2668c0e95849659b 12793Author: Lasse Collin <lasse.collin@tukaani.org> 12794Date: 2008-05-04 22:29:27 +0300 12795 12796 Don't print an error message on broken pipe unless --verbose 12797 is used. 12798 12799 src/lzma/io.c | 15 ++++++++++++++- 12800 1 file changed, 14 insertions(+), 1 deletion(-) 12801 12802commit 8e074349e47ea6832b8fdf9244e581d453733433 12803Author: Lasse Collin <lasse.collin@tukaani.org> 12804Date: 2008-04-30 22:16:17 +0300 12805 12806 Fix a crash with --format=alone if other filters than LZMA 12807 are specified on the command line. 12808 12809 src/lzma/args.c | 9 +++++++++ 12810 1 file changed, 9 insertions(+) 12811 12812commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73 12813Author: Lasse Collin <lasse.collin@tukaani.org> 12814Date: 2008-04-28 17:08:27 +0300 12815 12816 Updated THANKS. 12817 12818 THANKS | 1 + 12819 1 file changed, 1 insertion(+) 12820 12821commit 3be21fb12f4cec2cf07799e8960382f4cb375369 12822Author: Lasse Collin <lasse.collin@tukaani.org> 12823Date: 2008-04-28 17:06:34 +0300 12824 12825 Fixed wrong spelling "limitter" to "limiter". This affects 12826 liblzma's API. 12827 12828 doc/liblzma-security.txt | 14 +- 12829 src/liblzma/api/lzma/base.h | 4 +- 12830 src/liblzma/api/lzma/memlimit.h | 10 +- 12831 src/liblzma/api/lzma/stream.h | 4 +- 12832 src/liblzma/common/Makefile.am | 2 +- 12833 src/liblzma/common/memory_limiter.c | 288 +++++++++++++++++++++++++++++++++++ 12834 src/liblzma/common/memory_limitter.c | 288 ----------------------------------- 12835 src/lzma/list.c | 6 +- 12836 src/lzmadec/lzmadec.c | 12 +- 12837 tests/test_memlimit.c | 4 +- 12838 10 files changed, 316 insertions(+), 316 deletions(-) 12839 12840commit beeb81060821dfec4e7898e0d44b7900dcb2215e 12841Author: Lasse Collin <lasse.collin@tukaani.org> 12842Date: 2008-04-25 15:39:50 +0300 12843 12844 Prevent LZ encoder from hanging with known uncompressed 12845 size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream 12846 with known uncompressed size, but since it currently seems 12847 likely that support for encoding with known uncompressed 12848 size will go away anyway, I'm not fixing this problem now. 12849 12850 src/liblzma/lz/lz_encoder.c | 9 +++++++-- 12851 1 file changed, 7 insertions(+), 2 deletions(-) 12852 12853commit c324325f9f13cdeb92153c5d00962341ba070ca2 12854Author: Lasse Collin <lasse.collin@tukaani.org> 12855Date: 2008-04-25 13:58:56 +0300 12856 12857 Removed src/liblzma/common/sysdefs.h symlink, which was 12858 annoying, because "make dist" put two copies of sysdefs.h 12859 into the tarball instead of the symlink. 12860 12861 src/liblzma/check/crc32_table.c | 2 +- 12862 src/liblzma/check/crc64_table.c | 2 +- 12863 src/liblzma/common/Makefile.am | 1 - 12864 src/liblzma/common/common.h | 2 +- 12865 src/liblzma/common/sysdefs.h | 1 - 12866 5 files changed, 3 insertions(+), 5 deletions(-) 12867 12868commit d3ba30243c75c13d094de1793f9c58acdbacc692 12869Author: Lasse Collin <lasse.collin@tukaani.org> 12870Date: 2008-04-25 13:41:29 +0300 12871 12872 Added memusage.c to debug directory. 12873 12874 debug/Makefile.am | 3 ++- 12875 debug/memusage.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 12876 2 files changed, 57 insertions(+), 1 deletion(-) 12877 12878commit 8f804c29aa8471ccd6438ddca254092b8869ca52 12879Author: Lasse Collin <lasse.collin@tukaani.org> 12880Date: 2008-04-25 13:32:35 +0300 12881 12882 Bumped version number to 4.999.3alpha. It will become 5.0.0 12883 once we have a stable release (won't be very soon). The 12884 version number is no longer related to version of LZMA SDK. 12885 12886 Made some small Automake-related changes to toplevel 12887 Makefile.am and configure.ac. 12888 12889 Makefile.am | 7 +++++-- 12890 README | 29 +++++++++++++++++++++++++++++ 12891 configure.ac | 4 ++-- 12892 src/liblzma/api/lzma/version.h | 22 ++++++++++------------ 12893 4 files changed, 46 insertions(+), 16 deletions(-) 12894 12895commit c99037ea10f121cbacf60c37a36c29768ae53447 12896Author: Lasse Collin <lasse.collin@tukaani.org> 12897Date: 2008-04-24 20:25:39 +0300 12898 12899 Fix a memory leak by calling free(extra->data) in 12900 lzma_extra_free(). 12901 12902 src/liblzma/common/extra.c | 1 + 12903 1 file changed, 1 insertion(+) 12904 12905commit 22ba3b0b5043fa481903482ce85015fe775939e5 12906Author: Lasse Collin <lasse.collin@tukaani.org> 12907Date: 2008-04-24 20:23:05 +0300 12908 12909 Make unlzma and lzcat symlinks. 12910 12911 src/lzma/Makefile.am | 12 ++++++++++++ 12912 1 file changed, 12 insertions(+) 12913 12914commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e 12915Author: Lasse Collin <lasse.collin@tukaani.org> 12916Date: 2008-04-24 20:20:27 +0300 12917 12918 Fixed a bug in command line option parsing. 12919 12920 src/lzma/options.c | 2 +- 12921 1 file changed, 1 insertion(+), 1 deletion(-) 12922 12923commit 283f939974c32c47f05d495e8dea455ec646ed64 12924Author: Lasse Collin <lasse.collin@tukaani.org> 12925Date: 2008-04-24 20:19:20 +0300 12926 12927 Added two assert()s. 12928 12929 src/liblzma/lzma/lzma_encoder.c | 4 +++- 12930 1 file changed, 3 insertions(+), 1 deletion(-) 12931 12932commit eb348a60b6e19a7c093f892434f23c4756973ffd 12933Author: Lasse Collin <lasse.collin@tukaani.org> 12934Date: 2008-04-24 19:22:53 +0300 12935 12936 Switch to uint16_t as the type of range coder probabilities. 12937 12938 src/liblzma/rangecoder/range_common.h | 25 +++++++++++++++++++------ 12939 1 file changed, 19 insertions(+), 6 deletions(-) 12940 12941commit 6c5306e312bcfd254cf654f88c04e34ba786df3d 12942Author: Lasse Collin <lasse.collin@tukaani.org> 12943Date: 2008-04-24 18:39:57 +0300 12944 12945 Fix wrong return type (uint32_t -> bool). 12946 12947 src/liblzma/lz/lz_encoder.c | 2 +- 12948 src/liblzma/lz/lz_encoder.h | 2 +- 12949 2 files changed, 2 insertions(+), 2 deletions(-) 12950 12951commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8 12952Author: Lasse Collin <lasse.collin@tukaani.org> 12953Date: 2008-04-24 18:38:00 +0300 12954 12955 Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH. 12956 12957 src/liblzma/lz/lz_encoder.c | 16 ++++++++++++++++ 12958 src/liblzma/lz/lz_encoder.h | 4 ++++ 12959 src/liblzma/lz/match_c.h | 23 ++++++++++++++++++----- 12960 3 files changed, 38 insertions(+), 5 deletions(-) 12961 12962commit bc04486e368d20b3027cde625267762aae063965 12963Author: Lasse Collin <lasse.collin@tukaani.org> 12964Date: 2008-04-24 17:33:01 +0300 12965 12966 Fix fastpos problem in Makefile.am when built with --enable-small. 12967 12968 src/liblzma/lzma/Makefile.am | 5 ++++- 12969 1 file changed, 4 insertions(+), 1 deletion(-) 12970 12971commit 7ab493924e0ed590a5121a15ee54038d238880d3 12972Author: Lasse Collin <lasse.collin@tukaani.org> 12973Date: 2008-04-24 17:30:51 +0300 12974 12975 Use 64-bit integer as range encoder's cache size. This fixes a 12976 theoretical data corruption, which should be very hard to trigger 12977 even intentionally. 12978 12979 src/liblzma/rangecoder/range_encoder.h | 2 +- 12980 1 file changed, 1 insertion(+), 1 deletion(-) 12981 12982commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b 12983Author: Lasse Collin <lasse.collin@tukaani.org> 12984Date: 2008-03-24 16:38:40 +0200 12985 12986 Replaced the range decoder optimization that used arithmetic 12987 right shift with as fast version that doesn't need 12988 arithmetic right shift. Removed the related check from 12989 configure.ac. 12990 12991 configure.ac | 1 - 12992 m4/ax_c_arithmetic_rshift.m4 | 36 ----------------------- 12993 src/liblzma/rangecoder/range_decoder.h | 53 ++++++++++------------------------ 12994 3 files changed, 16 insertions(+), 74 deletions(-) 12995 12996commit ad999efd279d95f1e7ac555b14170e8e9020488c 12997Author: Lasse Collin <lasse.collin@tukaani.org> 12998Date: 2008-03-22 14:39:34 +0200 12999 13000 Take advantage of arithmetic right shift in range decoder. 13001 13002 src/liblzma/rangecoder/range_decoder.h | 52 ++++++++++++++++++++++++---------- 13003 1 file changed, 37 insertions(+), 15 deletions(-) 13004 13005commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d 13006Author: Lasse Collin <lasse.collin@tukaani.org> 13007Date: 2008-03-22 14:18:29 +0200 13008 13009 Added autoconf check to detect if we can use arithmetic 13010 right shift for optimizations. 13011 13012 configure.ac | 1 + 13013 m4/ax_c_arithmetic_rshift.m4 | 36 ++++++++++++++++++++++++++++++++++++ 13014 2 files changed, 37 insertions(+) 13015 13016commit 7521bbdc83acab834594a22bec50c8e1bd836298 13017Author: Lasse Collin <lasse.collin@tukaani.org> 13018Date: 2008-03-22 01:26:36 +0200 13019 13020 Update a comment to use the variable name rep_len_decoder. 13021 13022 (And BTW, the previous commit actually did change the 13023 program logic slightly.) 13024 13025 src/liblzma/lzma/lzma_decoder.c | 2 +- 13026 1 file changed, 1 insertion(+), 1 deletion(-) 13027 13028commit 63b74d000eedaebb8485f623e56864ff5ab71064 13029Author: Lasse Collin <lasse.collin@tukaani.org> 13030Date: 2008-03-22 00:57:33 +0200 13031 13032 Demystified the "state" variable in LZMA code. Use the 13033 word literal instead of char for better consistency. 13034 There are still some names with _char instead of _literal 13035 in lzma_optimum, these may be changed later. 13036 13037 Renamed length coder variables. 13038 13039 This commit doesn't change the program logic. 13040 13041 src/liblzma/lzma/lzma_common.h | 69 ++++++++++++++++++++++-------- 13042 src/liblzma/lzma/lzma_decoder.c | 47 ++++++++++---------- 13043 src/liblzma/lzma/lzma_encoder.c | 14 +++--- 13044 src/liblzma/lzma/lzma_encoder_getoptimum.c | 34 +++++++-------- 13045 src/liblzma/lzma/lzma_encoder_init.c | 5 ++- 13046 src/liblzma/lzma/lzma_encoder_private.h | 8 ++-- 13047 6 files changed, 107 insertions(+), 70 deletions(-) 13048 13049commit e6eb0a26757e851cef62b9440319a8e73b015cb9 13050Author: Lasse Collin <lasse.collin@tukaani.org> 13051Date: 2008-03-14 23:16:11 +0200 13052 13053 Fix data corruption in LZMA encoder. Note that this bug was 13054 specific to liblzma and was *not* present in LZMA SDK. 13055 13056 src/liblzma/lzma/lzma_encoder.c | 4 ++++ 13057 1 file changed, 4 insertions(+) 13058 13059commit 7d516f5129e4373a6d57249d7f608c634c66bf12 13060Author: Lasse Collin <lasse.collin@tukaani.org> 13061Date: 2008-03-14 21:32:37 +0200 13062 13063 Fix a comment API header. 13064 13065 src/liblzma/api/lzma/lzma.h | 2 +- 13066 1 file changed, 1 insertion(+), 1 deletion(-) 13067 13068commit 748d6e4274921a350bd0a317380309717441ef9c 13069Author: Lasse Collin <lasse.collin@tukaani.org> 13070Date: 2008-03-12 23:14:50 +0200 13071 13072 Make lzma_stream.next_in const. Let's see if anyone complains. 13073 13074 src/liblzma/api/lzma/base.h | 2 +- 13075 1 file changed, 1 insertion(+), 1 deletion(-) 13076 13077commit bfde3b24a5ae25ce53c854762b6148952386b025 13078Author: Lasse Collin <lasse.collin@tukaani.org> 13079Date: 2008-03-11 15:35:34 +0200 13080 13081 Apply a minor speed optimization to LZMA decoder. 13082 13083 src/liblzma/lzma/lzma_decoder.c | 85 +++++++++++++++++++++-------------------- 13084 1 file changed, 43 insertions(+), 42 deletions(-) 13085 13086commit f310c50286d9e4e9c6170bb65348c9bb430a65b4 13087Author: Lasse Collin <lasse.collin@tukaani.org> 13088Date: 2008-03-11 15:17:16 +0200 13089 13090 Initialize the last byte of the dictionary to zero so that 13091 lz_get_byte(lz, 0) returns zero. This was broken by 13092 1a3b21859818e4d8e89a1da99699233c1bfd197d. 13093 13094 src/liblzma/lz/lz_decoder.c | 1 + 13095 1 file changed, 1 insertion(+) 13096 13097commit 5ead36cf7f823093672a4e43c3180b38c9abbaff 13098Author: Lasse Collin <lasse.collin@tukaani.org> 13099Date: 2008-03-10 15:57:55 +0200 13100 13101 Really fix the price count initialization. 13102 13103 src/liblzma/lzma/lzma_encoder_init.c | 4 ++-- 13104 1 file changed, 2 insertions(+), 2 deletions(-) 13105 13106commit d4d7feb83d1a1ded8f662a82e21e053841ca726c 13107Author: Lasse Collin <lasse.collin@tukaani.org> 13108Date: 2008-03-10 13:47:17 +0200 13109 13110 Updated THANKS. 13111 13112 THANKS | 1 + 13113 1 file changed, 1 insertion(+) 13114 13115commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258 13116Author: Lasse Collin <lasse.collin@tukaani.org> 13117Date: 2008-03-10 13:46:48 +0200 13118 13119 Initialize align_price_count and match_price_count in 13120 lzma_encoder_init.c. While we don't call 13121 fill_distances_prices() and fill_align_prices() in 13122 lzma_lzma_encoder_init(), we still need to initialize 13123 these two variables so that the fill functions get 13124 called in lzma_encoder_getoptimum.c in the beginning 13125 of a stream. 13126 13127 src/liblzma/lzma/lzma_encoder_init.c | 2 ++ 13128 1 file changed, 2 insertions(+) 13129 13130commit 596fa1fac72823e4ef5bc26bb53f9090445bf748 13131Author: Lasse Collin <lasse.collin@tukaani.org> 13132Date: 2008-03-10 13:44:29 +0200 13133 13134 Always initialize lz->temp_size in lz_decoder.c. temp_size did 13135 get initialized as a side-effect after allocating a new decoder, 13136 but not when the decoder was reused. 13137 13138 src/liblzma/lz/lz_decoder.c | 11 ++++++----- 13139 1 file changed, 6 insertions(+), 5 deletions(-) 13140 13141commit 45e43e169527e7a98a8c8a821d37bf25822b764d 13142Author: Lasse Collin <lasse.collin@tukaani.org> 13143Date: 2008-03-10 13:41:25 +0200 13144 13145 Don't fill allocated memory with 0xFD when debugging is 13146 enabled. It hides errors from Valgrind. 13147 13148 src/liblzma/common/allocator.c | 7 ++++--- 13149 1 file changed, 4 insertions(+), 3 deletions(-) 13150 13151commit c0e19e0662205f81a86da8903cdc325d50635870 13152Author: Lasse Collin <lasse.collin@tukaani.org> 13153Date: 2008-02-28 10:24:31 +0200 13154 13155 Remove two redundant validity checks from the LZMA decoder. 13156 These are already checked elsewhere, so omitting these 13157 gives (very) tiny speed up. 13158 13159 src/liblzma/lzma/lzma_decoder.c | 23 ++++------------------- 13160 1 file changed, 4 insertions(+), 19 deletions(-) 13161 13162commit de7485806284d1614095ae8cb2ebbb5d74c9ac45 13163Author: Lasse Collin <lasse.collin@tukaani.org> 13164Date: 2008-02-06 13:25:32 +0200 13165 13166 Tiny clean up to file-format.txt. 13167 13168 doc/file-format.txt | 6 +++--- 13169 1 file changed, 3 insertions(+), 3 deletions(-) 13170 13171commit 1a3b21859818e4d8e89a1da99699233c1bfd197d 13172Author: Lasse Collin <lasse.collin@tukaani.org> 13173Date: 2008-02-02 14:51:06 +0200 13174 13175 Don't memzero() the history buffer when initializing LZ 13176 decoder. There's no danger of information leak here, so 13177 it isn't required. Doing memzero() takes a lot of time 13178 with large dictionaries, which could make it easier to 13179 construct DoS attack to consume too much CPU time. 13180 13181 src/liblzma/lz/lz_decoder.c | 7 +++---- 13182 1 file changed, 3 insertions(+), 4 deletions(-) 13183 13184commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0 13185Author: Lasse Collin <lasse.collin@tukaani.org> 13186Date: 2008-02-01 08:39:26 +0200 13187 13188 Do uncompressed size validation in raw encoder. This way 13189 it gets done for not only raw encoder, but also Block 13190 and LZMA_Alone encoders. 13191 13192 src/liblzma/common/raw_encoder.c | 90 ++++++++++++++++++++++++++++++++-------- 13193 1 file changed, 73 insertions(+), 17 deletions(-) 13194 13195commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc 13196Author: Lasse Collin <lasse.collin@tukaani.org> 13197Date: 2008-02-01 08:32:05 +0200 13198 13199 Avoid unneeded function call in raw_common.c. 13200 13201 src/liblzma/common/raw_common.c | 20 +++++++++++--------- 13202 1 file changed, 11 insertions(+), 9 deletions(-) 13203 13204commit b596fac963c3ff96f615d4d9b427a213ec341211 13205Author: Lasse Collin <lasse.collin@tukaani.org> 13206Date: 2008-01-26 21:42:38 +0200 13207 13208 Updated THANKS. 13209 13210 THANKS | 1 + 13211 1 file changed, 1 insertion(+) 13212 13213commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2 13214Author: Lasse Collin <lasse.collin@tukaani.org> 13215Date: 2008-01-26 21:40:23 +0200 13216 13217 Added note.GNU-stack to x86 assembler files. It is needed 13218 when using non-executable stack. 13219 13220 src/liblzma/check/crc32_x86.S | 9 +++++++++ 13221 src/liblzma/check/crc64_x86.S | 9 +++++++++ 13222 2 files changed, 18 insertions(+) 13223 13224commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae 13225Author: Lasse Collin <lasse.collin@tukaani.org> 13226Date: 2008-01-26 19:12:50 +0200 13227 13228 Added api/lzma/easy.h. I had forgot to add this to the 13229 git repo. Thanks to Stephan Kulow. 13230 13231 src/liblzma/api/lzma/easy.h | 174 ++++++++++++++++++++++++++++++++++++++++++++ 13232 1 file changed, 174 insertions(+) 13233 13234commit 288b232f54c3692cd36f471d4042f51daf3ea79f 13235Author: Lasse Collin <lasse.collin@tukaani.org> 13236Date: 2008-01-26 11:09:17 +0200 13237 13238 Added more test files. 13239 13240 tests/files/README | 11 +++++++++++ 13241 tests/files/bad-multi-none-header_7.lzma | Bin 0 -> 59 bytes 13242 tests/files/good-single-sparc-lzma.lzma | Bin 0 -> 2263 bytes 13243 tests/files/good-single-x86-lzma.lzma | Bin 0 -> 1909 bytes 13244 4 files changed, 11 insertions(+) 13245 13246commit c467b0defccf233d0c79234407bc38d7d09574d3 13247Author: Lasse Collin <lasse.collin@tukaani.org> 13248Date: 2008-01-26 10:47:55 +0200 13249 13250 Added more test files. 13251 13252 tests/files/README | 6 ++++++ 13253 tests/files/bad-multi-none-block_3.lzma | Bin 0 -> 58 bytes 13254 tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes 13255 3 files changed, 6 insertions(+) 13256 13257commit f9842f712732c482f2def9f24437851e57dd83f8 13258Author: Lasse Collin <lasse.collin@tukaani.org> 13259Date: 2008-01-26 00:25:34 +0200 13260 13261 Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any 13262 of the so called simple filters. If there is demand, limited 13263 support for LZMA_SYNC_FLUSH may be added in future. 13264 13265 After this commit, using LZMA_SYNC_FLUSH shouldn't cause 13266 undefined behavior in any situation. 13267 13268 src/liblzma/api/lzma/simple.h | 9 +++++++++ 13269 src/liblzma/simple/simple_coder.c | 8 ++++++++ 13270 2 files changed, 17 insertions(+) 13271 13272commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa 13273Author: Lasse Collin <lasse.collin@tukaani.org> 13274Date: 2008-01-25 23:50:35 +0200 13275 13276 Added more Multi-Block test files. Improved some 13277 descriptions in the test files' README. 13278 13279 tests/files/README | 34 +++++++++++++++++++++++++------ 13280 tests/files/bad-multi-none-block_1.lzma | Bin 0 -> 66 bytes 13281 tests/files/bad-multi-none-block_2.lzma | Bin 0 -> 66 bytes 13282 tests/files/good-multi-none-block_1.lzma | Bin 0 -> 66 bytes 13283 4 files changed, 28 insertions(+), 6 deletions(-) 13284 13285commit 4441e004185cd4c61bda184010eca5924c9dec87 13286Author: Lasse Collin <lasse.collin@tukaani.org> 13287Date: 2008-01-25 23:12:36 +0200 13288 13289 Combine lzma_options_block validation needed by both Block 13290 encoder and decoder, and put the shared things to 13291 block_private.h. Improved the checks a little so that 13292 they may detect too big Compressed Size at initialization 13293 time if lzma_options_block.total_size or .total_limit is 13294 known. 13295 13296 Allow encoding and decoding Blocks with combinations of 13297 fields that are not allowed by the file format specification. 13298 Doing this requires that the application passes such a 13299 combination in lzma_options_lzma; liblzma doesn't do that, 13300 but it's not impossible that someone could find them useful 13301 in some custom file format. 13302 13303 src/liblzma/common/block_decoder.c | 37 ++++++++++++---------------- 13304 src/liblzma/common/block_encoder.c | 32 +++++------------------- 13305 src/liblzma/common/block_private.h | 50 ++++++++++++++++++++++++++++++++++++++ 13306 3 files changed, 71 insertions(+), 48 deletions(-) 13307 13308commit bf4200c818fcf9102e56328d39cde91bfa13cfb6 13309Author: Lasse Collin <lasse.collin@tukaani.org> 13310Date: 2008-01-25 19:21:22 +0200 13311 13312 Added test_memlimit.c. 13313 13314 tests/Makefile.am | 2 + 13315 tests/test_memlimit.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++ 13316 2 files changed, 116 insertions(+) 13317 13318commit 7b8fc7e6b501a32a36636dac79ecb57099269005 13319Author: Lasse Collin <lasse.collin@tukaani.org> 13320Date: 2008-01-25 19:20:28 +0200 13321 13322 Improved the memory limitter: 13323 - Added lzma_memlimit_max() and lzma_memlimit_reached() 13324 API functions. 13325 - Added simple estimation of malloc()'s memory usage 13326 overhead. 13327 - Fixed integer overflow detection in lzma_memlimit_alloc(). 13328 - Made some white space cleanups and added more comments. 13329 13330 The description of lzma_memlimit_max() in memlimit.h is bad 13331 and should be improved. 13332 13333 src/liblzma/api/lzma/memlimit.h | 35 +++++++++++++ 13334 src/liblzma/common/memory_limitter.c | 97 ++++++++++++++++++++++++++++++------ 13335 2 files changed, 118 insertions(+), 14 deletions(-) 13336 13337commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db 13338Author: Lasse Collin <lasse.collin@tukaani.org> 13339Date: 2008-01-25 13:55:52 +0200 13340 13341 Use more parenthesis in succeed() macro in tests/tests.h. 13342 13343 tests/tests.h | 2 +- 13344 1 file changed, 1 insertion(+), 1 deletion(-) 13345 13346commit 1fd76d488179580d37f31ee11948f4932aed31fd 13347Author: Lasse Collin <lasse.collin@tukaani.org> 13348Date: 2008-01-24 14:49:34 +0200 13349 13350 Added more Multi-Block Stream test files. 13351 13352 tests/files/README | 23 +++++++++++++++++++++++ 13353 tests/files/bad-multi-none-header_2.lzma | Bin 0 -> 61 bytes 13354 tests/files/bad-multi-none-header_3.lzma | Bin 0 -> 59 bytes 13355 tests/files/bad-multi-none-header_4.lzma | Bin 0 -> 59 bytes 13356 tests/files/bad-multi-none-header_5.lzma | Bin 0 -> 58 bytes 13357 tests/files/bad-multi-none-header_6.lzma | Bin 0 -> 59 bytes 13358 tests/files/good-multi-none-header_3.lzma | Bin 0 -> 59 bytes 13359 7 files changed, 23 insertions(+) 13360 13361commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936 13362Author: Lasse Collin <lasse.collin@tukaani.org> 13363Date: 2008-01-24 00:46:05 +0200 13364 13365 Added bunch of test files containing Multi-Block Streams. 13366 13367 tests/files/README | 53 ++++++++++++++++++++++++++++++ 13368 tests/files/bad-multi-none-1.lzma | Bin 0 -> 54 bytes 13369 tests/files/bad-multi-none-2.lzma | Bin 0 -> 53 bytes 13370 tests/files/bad-multi-none-3.lzma | Bin 0 -> 53 bytes 13371 tests/files/bad-multi-none-extra_1.lzma | Bin 0 -> 54 bytes 13372 tests/files/bad-multi-none-extra_2.lzma | Bin 0 -> 54 bytes 13373 tests/files/bad-multi-none-extra_3.lzma | Bin 0 -> 55 bytes 13374 tests/files/bad-multi-none-header_1.lzma | Bin 0 -> 57 bytes 13375 tests/files/bad-multi-none-index_1.lzma | Bin 0 -> 51 bytes 13376 tests/files/bad-multi-none-index_2.lzma | Bin 0 -> 49 bytes 13377 tests/files/bad-multi-none-index_3.lzma | Bin 0 -> 51 bytes 13378 tests/files/bad-multi-none-index_4.lzma | Bin 0 -> 51 bytes 13379 tests/files/good-multi-none-1.lzma | Bin 0 -> 75 bytes 13380 tests/files/good-multi-none-2.lzma | Bin 0 -> 53 bytes 13381 tests/files/good-multi-none-extra_1.lzma | Bin 0 -> 51 bytes 13382 tests/files/good-multi-none-extra_2.lzma | Bin 0 -> 79 bytes 13383 tests/files/good-multi-none-extra_3.lzma | Bin 0 -> 55 bytes 13384 tests/files/good-multi-none-header_1.lzma | Bin 0 -> 58 bytes 13385 tests/files/good-multi-none-header_2.lzma | Bin 0 -> 66 bytes 13386 19 files changed, 53 insertions(+) 13387 13388commit db9df0a9609c01a00a227329fb96e983971040f5 13389Author: Lasse Collin <lasse.collin@tukaani.org> 13390Date: 2008-01-23 23:43:00 +0200 13391 13392 Fix decoding of empty Metadata Blocks, that don't have 13393 even the Metadata Flags field. Earlier the code allowed 13394 such files; now they are prohibited as the file format 13395 specification requires. 13396 13397 src/liblzma/common/metadata_decoder.c | 4 +++- 13398 1 file changed, 3 insertions(+), 1 deletion(-) 13399 13400commit 765f0b05f6e95ed9194fb90819cee189ebbac36b 13401Author: Lasse Collin <lasse.collin@tukaani.org> 13402Date: 2008-01-23 23:38:18 +0200 13403 13404 Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6. 13405 lzma_metadata.header_metadata_size was not properly set to 13406 zero if the Metadata had only the Metadata Flags field. 13407 13408 src/liblzma/common/metadata_decoder.c | 13 +++++++------ 13409 1 file changed, 7 insertions(+), 6 deletions(-) 13410 13411commit 3a7cc5c3dec7b078941f961b0393b86c418883b6 13412Author: Lasse Collin <lasse.collin@tukaani.org> 13413Date: 2008-01-23 23:35:49 +0200 13414 13415 Fix decoding of Extra Records that have empty Data. 13416 13417 src/liblzma/common/metadata_decoder.c | 13 ++++++++++++- 13418 1 file changed, 12 insertions(+), 1 deletion(-) 13419 13420commit e5fdec93e273855c1bcc2579b83cfb481a9a1492 13421Author: Lasse Collin <lasse.collin@tukaani.org> 13422Date: 2008-01-23 22:02:38 +0200 13423 13424 Add the trailing '\0' to lzma_extra.data as the API header 13425 already documents. 13426 13427 src/liblzma/common/metadata_decoder.c | 4 +++- 13428 1 file changed, 3 insertions(+), 1 deletion(-) 13429 13430commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e 13431Author: Lasse Collin <lasse.collin@tukaani.org> 13432Date: 2008-01-23 21:21:21 +0200 13433 13434 Added debug/full_flush.c. 13435 13436 debug/Makefile.am | 3 +- 13437 debug/full_flush.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 13438 2 files changed, 107 insertions(+), 1 deletion(-) 13439 13440commit ae0cd09a666a1682da8fc09487322227679e218d 13441Author: Lasse Collin <lasse.collin@tukaani.org> 13442Date: 2008-01-23 21:05:33 +0200 13443 13444 Return LZMA_STREAM_END instead of LZMA_OK if 13445 LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when 13446 there's no unfinished Block open. 13447 13448 src/liblzma/common/stream_encoder_multi.c | 6 +++++- 13449 1 file changed, 5 insertions(+), 1 deletion(-) 13450 13451commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db 13452Author: Lasse Collin <lasse.collin@tukaani.org> 13453Date: 2008-01-23 20:05:01 +0200 13454 13455 Added bad-single-none-footer_filter_flags.lzma and 13456 bad-single-none-too_long_vli.lzma. 13457 13458 tests/files/README | 5 +++++ 13459 tests/files/bad-single-none-footer_filter_flags.lzma | Bin 0 -> 30 bytes 13460 tests/files/bad-single-none-too_long_vli.lzma | Bin 0 -> 39 bytes 13461 3 files changed, 5 insertions(+) 13462 13463commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd 13464Author: Lasse Collin <lasse.collin@tukaani.org> 13465Date: 2008-01-23 13:42:35 +0200 13466 13467 Fixed a typo. 13468 13469 src/liblzma/subblock/subblock_decoder_helper.c | 2 +- 13470 1 file changed, 1 insertion(+), 1 deletion(-) 13471 13472commit 980f65a9a10160c4d105767871e3002b9aaba3e0 13473Author: Lasse Collin <lasse.collin@tukaani.org> 13474Date: 2008-01-23 13:40:45 +0200 13475 13476 Fix a memory leak in the Subblock encoder. 13477 13478 src/liblzma/subblock/subblock_encoder.c | 1 + 13479 1 file changed, 1 insertion(+) 13480 13481commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6 13482Author: Lasse Collin <lasse.collin@tukaani.org> 13483Date: 2008-01-23 13:36:07 +0200 13484 13485 Fix Size of Header Metadata Block handling. Now 13486 lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN 13487 is not allowed at all. To indicate missing Header Metadata 13488 Block, header_metadata_size must be set to zero. This is 13489 what Metadata decoder does after this patch too. 13490 13491 Note that other missing fields in lzma_metadata are still 13492 indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as 13493 illogical as it sounds at first, because missing Size of 13494 Header Metadata Block means that Header Metadata Block is 13495 not present in the Stream. With other Metadata fields, 13496 a missing field means only that the value is unknown. 13497 13498 src/liblzma/common/info.c | 13 ++++--------- 13499 src/liblzma/common/metadata_decoder.c | 6 ++++++ 13500 src/liblzma/common/metadata_encoder.c | 11 +++++------ 13501 tests/test_info.c | 4 ++-- 13502 4 files changed, 17 insertions(+), 17 deletions(-) 13503 13504commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81 13505Author: Lasse Collin <lasse.collin@tukaani.org> 13506Date: 2008-01-23 13:15:55 +0200 13507 13508 Fix a memory leak in metadata_decoder.c. 13509 13510 src/liblzma/common/metadata_decoder.c | 1 + 13511 1 file changed, 1 insertion(+) 13512 13513commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae 13514Author: Lasse Collin <lasse.collin@tukaani.org> 13515Date: 2008-01-23 13:13:58 +0200 13516 13517 Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which 13518 just moved to problem. Now it's really fixed. 13519 13520 src/liblzma/common/info.c | 5 ++++- 13521 1 file changed, 4 insertions(+), 1 deletion(-) 13522 13523commit 67321de963ccf69410b3868b8e31534fe18a90de 13524Author: Lasse Collin <lasse.collin@tukaani.org> 13525Date: 2008-01-23 00:21:04 +0200 13526 13527 Take advantage of return_if_error() macro in 13528 lzma_info_metadata_set() in info.c. 13529 13530 src/liblzma/common/info.c | 24 ++++++++---------------- 13531 1 file changed, 8 insertions(+), 16 deletions(-) 13532 13533commit 863028cb7ad6d8d0455fa69348f56b376d7b908f 13534Author: Lasse Collin <lasse.collin@tukaani.org> 13535Date: 2008-01-23 00:18:32 +0200 13536 13537 Fixed a dangling pointer that caused invalid free(). 13538 13539 src/liblzma/common/info.c | 1 + 13540 1 file changed, 1 insertion(+) 13541 13542commit cf49f42a6bd40143f54a6b10d6e605599e958c0b 13543Author: Lasse Collin <lasse.collin@tukaani.org> 13544Date: 2008-01-22 22:49:24 +0200 13545 13546 Added lzma_easy_* functions. These should make using 13547 liblzma as easy as using zlib, because the easy API 13548 don't require developers to know any fancy LZMA options. 13549 13550 Note that Multi-Block Stream encoding is currently broken. 13551 The easy API should be OK, the bug(s) are elsewhere. 13552 13553 src/liblzma/api/Makefile.am | 1 + 13554 src/liblzma/api/lzma.h | 1 + 13555 src/liblzma/common/Makefile.am | 5 ++ 13556 src/liblzma/common/easy_common.c | 54 ++++++++++++++++ 13557 src/liblzma/common/easy_common.h | 28 ++++++++ 13558 src/liblzma/common/easy_multi.c | 103 ++++++++++++++++++++++++++++++ 13559 src/liblzma/common/easy_single.c | 37 +++++++++++ 13560 src/liblzma/common/stream_encoder_multi.c | 3 +- 13561 src/liblzma/common/stream_encoder_multi.h | 26 ++++++++ 13562 9 files changed, 256 insertions(+), 2 deletions(-) 13563 13564commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a 13565Author: Lasse Collin <lasse.collin@tukaani.org> 13566Date: 2008-01-22 21:16:22 +0200 13567 13568 Fix Multi-Block Stream encoder's EOPM usage. 13569 13570 src/liblzma/common/stream_encoder_multi.c | 2 +- 13571 1 file changed, 1 insertion(+), 1 deletion(-) 13572 13573commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6 13574Author: Lasse Collin <lasse.collin@tukaani.org> 13575Date: 2008-01-22 00:15:11 +0200 13576 13577 Made lzma_extra pointers const in lzma_options_stream. 13578 13579 src/liblzma/api/lzma/stream.h | 4 ++-- 13580 src/liblzma/common/stream_encoder_multi.c | 8 ++++++-- 13581 2 files changed, 8 insertions(+), 4 deletions(-) 13582 13583commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4 13584Author: Lasse Collin <lasse.collin@tukaani.org> 13585Date: 2008-01-20 20:15:21 +0200 13586 13587 Updated debug/sync_flush.c. 13588 13589 debug/sync_flush.c | 26 ++++++++++++++++++++++++-- 13590 1 file changed, 24 insertions(+), 2 deletions(-) 13591 13592commit d53e9b77054cfade6a643e77d085273a348b189c 13593Author: Lasse Collin <lasse.collin@tukaani.org> 13594Date: 2008-01-20 20:14:26 +0200 13595 13596 Added debug/repeat.c. 13597 13598 debug/Makefile.am | 1 + 13599 debug/repeat.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 13600 2 files changed, 44 insertions(+) 13601 13602commit 107259e306bcfc2336a0fb870fb58034c28faa52 13603Author: Lasse Collin <lasse.collin@tukaani.org> 13604Date: 2008-01-20 20:12:58 +0200 13605 13606 Fix alignment handling bugs in Subblock encoder. 13607 13608 This leaves one known alignment bug unfixed: If repeat count 13609 doesn't fit into 28-bit integer, the encoder has to split 13610 this to multiple Subblocks with Subblock Type `Repeating Data'. 13611 The extra Subblocks may have wrong alignment. Correct alignment 13612 is restored after the split Repeating Data has been completely 13613 written out. 13614 13615 Since the encoder doesn't even try to fix the alignment unless 13616 the size of Data is at least 4 bytes, to trigger this bug you 13617 need at least 4 GiB of repeating data with sequence length of 13618 4 or more bytes. Since the worst thing done by this bug is 13619 misaligned data (no data corruption), this bug simply isn't 13620 worth fixing, because a proper fix isn't simple. 13621 13622 src/liblzma/subblock/subblock_encoder.c | 170 ++++++++++++++++++++++---------- 13623 1 file changed, 119 insertions(+), 51 deletions(-) 13624 13625commit e141fe18950400faaa3503ff88ac20eacd73e88c 13626Author: Lasse Collin <lasse.collin@tukaani.org> 13627Date: 2008-01-19 21:16:33 +0200 13628 13629 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder. 13630 The API for handing Subfilters was changed to make it 13631 consistent with LZMA_SYNC_FLUSH. 13632 13633 A few sanity checks were added for Subfilter handling. Some 13634 small bugs were fixed. More comments were added. 13635 13636 src/liblzma/api/lzma/subblock.h | 29 ++-- 13637 src/liblzma/subblock/subblock_encoder.c | 263 ++++++++++++++++++++++++-------- 13638 2 files changed, 214 insertions(+), 78 deletions(-) 13639 13640commit 23c227a864a3b69f38c6a74306161d4e6918d1cc 13641Author: Lasse Collin <lasse.collin@tukaani.org> 13642Date: 2008-01-19 15:19:21 +0200 13643 13644 Revised the Delta filter implementation. The initialization 13645 function is still shared between encoder and decoder, but the 13646 actual coding is in separate files for encoder and decoder. 13647 13648 There are now separate functions for the actual delta 13649 calculation depending on if Delta is the last filter in the 13650 chain or not. If it is the last, the new code copies the 13651 data from input to output buffer and does the delta 13652 calculation at the same time. The old code first copied the 13653 data, then did the delta in the target buffer, which required 13654 reading through the data twice. 13655 13656 Support for LZMA_SYNC_FLUSH was added to the Delta encoder. 13657 This doesn't change anything in the file format. 13658 13659 src/liblzma/common/Makefile.am | 14 ++- 13660 src/liblzma/common/delta_coder.c | 189 ------------------------------------- 13661 src/liblzma/common/delta_coder.h | 31 ------ 13662 src/liblzma/common/delta_common.c | 70 ++++++++++++++ 13663 src/liblzma/common/delta_common.h | 48 ++++++++++ 13664 src/liblzma/common/delta_decoder.c | 102 ++++++++++++++++++++ 13665 src/liblzma/common/delta_decoder.h | 28 ++++++ 13666 src/liblzma/common/delta_encoder.c | 97 +++++++++++++++++++ 13667 src/liblzma/common/delta_encoder.h | 28 ++++++ 13668 src/liblzma/common/raw_decoder.c | 2 +- 13669 src/liblzma/common/raw_encoder.c | 2 +- 13670 11 files changed, 387 insertions(+), 224 deletions(-) 13671 13672commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73 13673Author: Lasse Collin <lasse.collin@tukaani.org> 13674Date: 2008-01-18 20:18:08 +0200 13675 13676 Added the debug directory and the first debug tool 13677 (sync_flush). These tools are not built unless the 13678 user runs "make" in the debug directory. 13679 13680 Makefile.am | 1 + 13681 configure.ac | 1 + 13682 debug/Makefile.am | 30 ++++++++++++++ 13683 debug/README | 17 ++++++++ 13684 debug/sync_flush.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 13685 5 files changed, 165 insertions(+) 13686 13687commit 0ae3208db94585eb8294b97ded387de0a3a07646 13688Author: Lasse Collin <lasse.collin@tukaani.org> 13689Date: 2008-01-18 20:13:00 +0200 13690 13691 Added test files to test usage of flush marker in LZMA. 13692 13693 tests/files/README | 12 ++++++++++++ 13694 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 0 -> 53 bytes 13695 tests/files/bad-single-lzma-flush_twice.lzma | Bin 0 -> 63 bytes 13696 tests/files/good-single-lzma-flush_1.lzma | Bin 0 -> 48 bytes 13697 tests/files/good-single-lzma-flush_2.lzma | Bin 0 -> 63 bytes 13698 5 files changed, 12 insertions(+) 13699 13700commit ab5feaf1fcc146ef9fd39360c53c290bec39524e 13701Author: Lasse Collin <lasse.collin@tukaani.org> 13702Date: 2008-01-18 20:02:52 +0200 13703 13704 Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders. 13705 That code is now almost completely in LZ coder, where 13706 it can be shared with other LZ77-based algorithms in 13707 future. 13708 13709 src/liblzma/lz/lz_encoder.c | 34 ++++++++++++++++++++++++++-------- 13710 src/liblzma/lz/lz_encoder.h | 1 + 13711 src/liblzma/lzma/lzma_encoder.c | 27 ++------------------------- 13712 3 files changed, 29 insertions(+), 33 deletions(-) 13713 13714commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585 13715Author: Lasse Collin <lasse.collin@tukaani.org> 13716Date: 2008-01-18 17:21:24 +0200 13717 13718 Don't add -g to CFLAGS when --enable-debug is specified. 13719 It's the job of the user to put that in CFLAGS. 13720 13721 configure.ac | 1 - 13722 1 file changed, 1 deletion(-) 13723 13724commit 61d1784d8f1761d979a6da6e223e279ca33815e6 13725Author: Lasse Collin <lasse.collin@tukaani.org> 13726Date: 2008-01-18 14:17:37 +0200 13727 13728 Set stdin and stdout to binary mode on Windows. This patch is 13729 a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068 13730 from lzma-utils-legacy.git. I don't know if the new code base 13731 builds on Windows, but this is a start. 13732 13733 src/lzmadec/lzmadec.c | 9 +++++++++ 13734 1 file changed, 9 insertions(+) 13735 13736commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c 13737Author: Lasse Collin <lasse.collin@tukaani.org> 13738Date: 2008-01-18 00:50:29 +0200 13739 13740 Added test_compress.sh and bunch of files needed by it. 13741 This new set of tests compress and decompress several 13742 test files with many different compression options. 13743 This set of tests will be extended later. 13744 13745 tests/Makefile.am | 30 ++++--- 13746 tests/bcj_test.c | 66 ++++++++++++++ 13747 tests/compress_prepared_bcj_sparc | Bin 0 -> 6804 bytes 13748 tests/compress_prepared_bcj_x86 | Bin 0 -> 4649 bytes 13749 tests/create_compress_files.c | 164 ++++++++++++++++++++++++++++++++++ 13750 tests/test_compress.sh | 183 ++++++++++++++++++++++++++++++++++++++ 13751 6 files changed, 433 insertions(+), 10 deletions(-) 13752 13753commit 33be3c0e24d8f43376ccf71cc77d53671e792f07 13754Author: Lasse Collin <lasse.collin@tukaani.org> 13755Date: 2008-01-17 18:56:53 +0200 13756 13757 Subblock decoder: Don't exit the main loop in decode_buffer() 13758 too early if we hit End of Input while decoding a Subblock of 13759 type Repeating Data. To keep the loop termination condition 13760 elegant, the order of enumerations in coder->sequence were 13761 changed. 13762 13763 To keep the case-labels in roughly the same order as the 13764 enumerations in coder->sequence, large chunks of code was 13765 moved around. This made the diff big and ugly compared to 13766 the amount of the actual changes made. 13767 13768 src/liblzma/subblock/subblock_decoder.c | 272 ++++++++++++++++---------------- 13769 1 file changed, 139 insertions(+), 133 deletions(-) 13770 13771commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd 13772Author: Lasse Collin <lasse.collin@tukaani.org> 13773Date: 2008-01-17 17:39:42 +0200 13774 13775 Fix wrong too small size of argument unfiltered_max 13776 in ia64_coder_init(). It triggered assert() in 13777 simple_coder.c, and could have caused a buffer overflow. 13778 13779 This error was probably a copypaste mistake, since most 13780 of the simple filters use unfiltered_max = 4. 13781 13782 src/liblzma/simple/ia64.c | 2 +- 13783 1 file changed, 1 insertion(+), 1 deletion(-) 13784 13785commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a 13786Author: Lasse Collin <lasse.collin@tukaani.org> 13787Date: 2008-01-17 17:27:45 +0200 13788 13789 Added --delta to the output of "lzma --help". 13790 13791 src/lzma/help.c | 4 ++++ 13792 1 file changed, 4 insertions(+) 13793 13794commit f88590e0014b38d40465937c19f25f05f16c79ae 13795Author: Lasse Collin <lasse.collin@tukaani.org> 13796Date: 2008-01-17 13:14:20 +0200 13797 13798 Fix Subblock docoder: If Subblock filter was used with known 13799 Uncompressed Size, and the last output byte was from RLE, 13800 the code didn't stop decoding as it should have done. 13801 13802 src/liblzma/subblock/subblock_decoder.c | 6 ++++++ 13803 1 file changed, 6 insertions(+) 13804 13805commit bc0b945ca376e333077644d2f7fd54c2848aab8a 13806Author: Lasse Collin <lasse.collin@tukaani.org> 13807Date: 2008-01-16 16:33:37 +0200 13808 13809 Tiny non-technical edits to file-format.txt. 13810 13811 doc/file-format.txt | 6 +++--- 13812 1 file changed, 3 insertions(+), 3 deletions(-) 13813 13814commit 7599bb7064ccf007f054595dedda7927af868252 13815Author: Lasse Collin <lasse.collin@tukaani.org> 13816Date: 2008-01-16 14:48:04 +0200 13817 13818 Plugged a memory leak in stream_decoder.c. 13819 13820 src/liblzma/common/stream_decoder.c | 20 ++++++++++++++++++++ 13821 1 file changed, 20 insertions(+) 13822 13823commit 0b581539311f3712946e81e747839f8fb5f441a7 13824Author: Lasse Collin <lasse.collin@tukaani.org> 13825Date: 2008-01-16 14:47:27 +0200 13826 13827 Added memory leak detection to lzmadec.c. 13828 13829 src/lzmadec/lzmadec.c | 3 +++ 13830 1 file changed, 3 insertions(+) 13831 13832commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4 13833Author: Lasse Collin <lasse.collin@tukaani.org> 13834Date: 2008-01-16 14:46:50 +0200 13835 13836 Added lzma_memlimit_count(). 13837 13838 src/liblzma/api/lzma/memlimit.h | 10 ++++++++++ 13839 src/liblzma/common/memory_limitter.c | 19 +++++++++++++++++++ 13840 2 files changed, 29 insertions(+) 13841 13842commit 19389f2b82ec54fd4c847a18f16482e7be4c9887 13843Author: Lasse Collin <lasse.collin@tukaani.org> 13844Date: 2008-01-16 14:31:44 +0200 13845 13846 Added ARRAY_SIZE(array) macro. 13847 13848 src/common/sysdefs.h | 4 ++++ 13849 1 file changed, 4 insertions(+) 13850 13851commit 9bc33a54cbf83952130adbcb1be32c6882485416 13852Author: Lasse Collin <lasse.collin@tukaani.org> 13853Date: 2008-01-16 13:27:03 +0200 13854 13855 Make Uncompresed Size validation more strict 13856 in alone_decoder.c. 13857 13858 src/liblzma/common/alone_decoder.c | 3 ++- 13859 1 file changed, 2 insertions(+), 1 deletion(-) 13860 13861commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883 13862Author: Lasse Collin <lasse.collin@tukaani.org> 13863Date: 2008-01-15 17:46:59 +0200 13864 13865 Free the allocated memory in lzmadec if debugging is 13866 enabled. This should make it possible to detect possible 13867 memory leaks with Valgrind. 13868 13869 src/lzmadec/lzmadec.c | 7 +++++++ 13870 1 file changed, 7 insertions(+) 13871 13872commit 8235e6e5b2878f76633afcda9a334640db503ef5 13873Author: Lasse Collin <lasse.collin@tukaani.org> 13874Date: 2008-01-15 16:25:38 +0200 13875 13876 Fix memory leaks from test_block_header.c. 13877 13878 tests/test_block_header.c | 19 +++++++++++++++++-- 13879 1 file changed, 17 insertions(+), 2 deletions(-) 13880 13881commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6 13882Author: Lasse Collin <lasse.collin@tukaani.org> 13883Date: 2008-01-15 14:23:35 +0200 13884 13885 Use fastpos.h when encoding LZMA dictionary size in 13886 Filter Flags encoder. 13887 13888 src/liblzma/common/filter_flags_encoder.c | 40 +++++++++++++++---------------- 13889 1 file changed, 19 insertions(+), 21 deletions(-) 13890 13891commit e5728142a2048979f5c0c2149ce71ae952a092e1 13892Author: Lasse Collin <lasse.collin@tukaani.org> 13893Date: 2008-01-15 14:02:22 +0200 13894 13895 Revised the fastpos code. It now uses the slightly faster 13896 table-based version from LZMA SDK 4.57. This should be 13897 fast on most systems. 13898 13899 A simpler and smaller alternative version is also provided. 13900 On some CPUs this can be even a little faster than the 13901 default table-based version (see comments in fastpos.h), 13902 but on most systems the table-based code is faster. 13903 13904 src/liblzma/common/init_encoder.c | 3 - 13905 src/liblzma/lzma/Makefile.am | 4 + 13906 src/liblzma/lzma/fastpos.h | 156 +++++++++ 13907 src/liblzma/lzma/fastpos_table.c | 519 +++++++++++++++++++++++++++++ 13908 src/liblzma/lzma/fastpos_tablegen.c | 63 ++++ 13909 src/liblzma/lzma/lzma_common.h | 3 +- 13910 src/liblzma/lzma/lzma_encoder.c | 1 + 13911 src/liblzma/lzma/lzma_encoder_getoptimum.c | 1 + 13912 src/liblzma/lzma/lzma_encoder_init.c | 22 -- 13913 src/liblzma/lzma/lzma_encoder_private.h | 21 -- 13914 10 files changed, 746 insertions(+), 47 deletions(-) 13915 13916commit 10437b5b567f6a025ff16c45a572e417a0a9cc26 13917Author: Lasse Collin <lasse.collin@tukaani.org> 13918Date: 2008-01-15 13:32:13 +0200 13919 13920 Added bsr.h. 13921 13922 src/liblzma/common/Makefile.am | 1 + 13923 src/liblzma/common/bsr.h | 61 ++++++++++++++++++++++++++++++++++++++++++ 13924 2 files changed, 62 insertions(+) 13925 13926commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244 13927Author: Lasse Collin <lasse.collin@tukaani.org> 13928Date: 2008-01-15 13:29:14 +0200 13929 13930 Fixed assembler detection in configure.ac, and added 13931 detection for x86_64. 13932 13933 configure.ac | 32 ++++++++++++++++---------------- 13934 1 file changed, 16 insertions(+), 16 deletions(-) 13935 13936commit 54ec204f58287f50d3976288295da4188a19192b 13937Author: Lasse Collin <lasse.collin@tukaani.org> 13938Date: 2008-01-15 12:20:41 +0200 13939 13940 Omit invalid space from printf() format string 13941 in price_table_gen.c. 13942 13943 src/liblzma/rangecoder/price_table_gen.c | 2 +- 13944 1 file changed, 1 insertion(+), 1 deletion(-) 13945 13946commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1 13947Author: Lasse Collin <lasse.collin@tukaani.org> 13948Date: 2008-01-15 09:54:34 +0200 13949 13950 Removed a few unused macros from lzma_common.h. 13951 13952 src/liblzma/lzma/lzma_common.h | 8 ++------ 13953 1 file changed, 2 insertions(+), 6 deletions(-) 13954 13955commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d 13956Author: Lasse Collin <lasse.collin@tukaani.org> 13957Date: 2008-01-15 08:37:42 +0200 13958 13959 Fix a typo in lzma_encoder.c. 13960 13961 src/liblzma/lzma/lzma_encoder.c | 2 +- 13962 1 file changed, 1 insertion(+), 1 deletion(-) 13963 13964commit 9f9b1983013048f2142e8bc7e240149d2687bedc 13965Author: Lasse Collin <lasse.collin@tukaani.org> 13966Date: 2008-01-15 08:36:25 +0200 13967 13968 Convert bittree_get_price() and bittree_reverse_get_price() 13969 from macros to inline functions. 13970 13971 src/liblzma/lzma/lzma_encoder.c | 19 +++----- 13972 src/liblzma/lzma/lzma_encoder_getoptimum.c | 16 +++---- 13973 src/liblzma/rangecoder/range_encoder.h | 76 +++++++++++++++++------------- 13974 3 files changed, 56 insertions(+), 55 deletions(-) 13975 13976commit 78e85cb1a7667c54853670d2eb09d754bcbda87d 13977Author: Lasse Collin <lasse.collin@tukaani.org> 13978Date: 2008-01-15 07:44:59 +0200 13979 13980 Fix CRC code in case --enable-small is used. 13981 13982 src/liblzma/check/crc32_init.c | 2 +- 13983 src/liblzma/check/crc64_init.c | 2 +- 13984 src/liblzma/common/init_decoder.c | 2 -- 13985 src/liblzma/common/init_encoder.c | 2 -- 13986 tests/test_check.c | 2 ++ 13987 5 files changed, 4 insertions(+), 6 deletions(-) 13988 13989commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0 13990Author: Lasse Collin <lasse.collin@tukaani.org> 13991Date: 2008-01-15 07:41:39 +0200 13992 13993 Fix typo in test_index.c. 13994 13995 tests/test_index.c | 2 +- 13996 1 file changed, 1 insertion(+), 1 deletion(-) 13997 13998commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6 13999Author: Lasse Collin <lasse.collin@tukaani.org> 14000Date: 2008-01-15 07:40:21 +0200 14001 14002 Added precomputed range coder probability price table. 14003 14004 src/liblzma/common/init_encoder.c | 5 ++- 14005 src/liblzma/rangecoder/Makefile.am | 9 +++- 14006 src/liblzma/rangecoder/price_table.c | 70 +++++++++++++++++++++++++++++++ 14007 src/liblzma/rangecoder/price_table_gen.c | 55 ++++++++++++++++++++++++ 14008 src/liblzma/rangecoder/price_table_init.c | 48 +++++++++++++++++++++ 14009 src/liblzma/rangecoder/range_common.h | 4 +- 14010 src/liblzma/rangecoder/range_encoder.c | 46 -------------------- 14011 src/liblzma/rangecoder/range_encoder.h | 21 +++++----- 14012 8 files changed, 197 insertions(+), 61 deletions(-) 14013 14014commit 362dc3843b373c1007a50a4719f378981f18ae03 14015Author: Lasse Collin <lasse.collin@tukaani.org> 14016Date: 2008-01-14 13:42:43 +0200 14017 14018 Remove RC_BUFFER_SIZE from lzma_encoder_private.h 14019 and replace it with a sanity check. 14020 14021 src/liblzma/lzma/lzma_encoder_private.h | 6 ++++-- 14022 1 file changed, 4 insertions(+), 2 deletions(-) 14023 14024commit e22b37968d153683fec61ad37b6b160cb7ca4ddc 14025Author: Lasse Collin <lasse.collin@tukaani.org> 14026Date: 2008-01-14 13:39:54 +0200 14027 14028 Major changes to LZ encoder, LZMA encoder, and range encoder. 14029 These changes implement support for LZMA_SYNC_FLUSH in LZMA 14030 encoder, and move the temporary buffer needed by range encoder 14031 from lzma_range_encoder structure to lzma_lz_encoder. 14032 14033 src/liblzma/lz/lz_encoder.c | 138 ++++++++++++++++++++++++++++----- 14034 src/liblzma/lz/lz_encoder.h | 17 ++-- 14035 src/liblzma/lzma/lzma_encoder.c | 74 ++++++++++-------- 14036 src/liblzma/rangecoder/range_encoder.h | 117 ++++++++-------------------- 14037 4 files changed, 206 insertions(+), 140 deletions(-) 14038 14039commit b59ef3973781f892c0a72b5e5934194567100be5 14040Author: Lasse Collin <lasse.collin@tukaani.org> 14041Date: 2008-01-14 13:34:29 +0200 14042 14043 Added one assert() to process.c of the command line tool. 14044 14045 src/lzma/process.c | 1 + 14046 1 file changed, 1 insertion(+) 14047 14048commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7 14049Author: Lasse Collin <lasse.collin@tukaani.org> 14050Date: 2008-01-14 12:09:52 +0200 14051 14052 Don't use coder->lz.stream_end_was_reached in assertions 14053 in match_c.h. 14054 14055 src/liblzma/lz/match_c.h | 2 -- 14056 1 file changed, 2 deletions(-) 14057 14058commit 3e09e1c05871f3757f759b801890ccccc9286608 14059Author: Lasse Collin <lasse.collin@tukaani.org> 14060Date: 2008-01-14 12:08:02 +0200 14061 14062 In lzma_read_match_distances(), don't use 14063 coder->lz.stream_end_was_reached. That variable 14064 will be removed, and the check isn't required anyway. 14065 Rearrange the check so that it doesn't make one to 14066 think that there could be an integer overflow. 14067 14068 src/liblzma/lzma/lzma_encoder_private.h | 6 +++--- 14069 1 file changed, 3 insertions(+), 3 deletions(-) 14070 14071commit a670fec8021e5962429689c194148a04c3418872 14072Author: Lasse Collin <lasse.collin@tukaani.org> 14073Date: 2008-01-14 11:56:41 +0200 14074 14075 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders. 14076 14077 src/liblzma/common/block_encoder.c | 4 ++-- 14078 src/liblzma/common/stream_encoder_single.c | 1 + 14079 2 files changed, 3 insertions(+), 2 deletions(-) 14080 14081commit 3599dba9570a6972a16b6398d6c838e9b420e985 14082Author: Lasse Collin <lasse.collin@tukaani.org> 14083Date: 2008-01-14 11:54:56 +0200 14084 14085 More fixes to LZMA decoder's flush marker handling. 14086 14087 src/liblzma/lzma/lzma_decoder.c | 52 ++++++++++++++++++++++++----------------- 14088 1 file changed, 30 insertions(+), 22 deletions(-) 14089 14090commit f73c2ab6079ed5675a42b39d584a567befbd4624 14091Author: Lasse Collin <lasse.collin@tukaani.org> 14092Date: 2008-01-10 17:13:42 +0200 14093 14094 Eliminate lzma_lz_encoder.must_move_pos. It's needed 14095 only in one place which isn't performance criticial. 14096 14097 src/liblzma/lz/lz_encoder.c | 6 ++---- 14098 src/liblzma/lz/lz_encoder.h | 4 ---- 14099 2 files changed, 2 insertions(+), 8 deletions(-) 14100 14101commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd 14102Author: Lasse Collin <lasse.collin@tukaani.org> 14103Date: 2008-01-09 20:05:57 +0200 14104 14105 Define HAVE_ASM_X86 when x86 assembler optimizations are 14106 used. This #define will be useful for inline assembly. 14107 14108 configure.ac | 5 ++++- 14109 1 file changed, 4 insertions(+), 1 deletion(-) 14110 14111commit 0e70fbe4032351aab13a1cd8e5deced105c0b276 14112Author: Lasse Collin <lasse.collin@tukaani.org> 14113Date: 2008-01-09 12:06:46 +0200 14114 14115 Added good-single-none-empty_3.lzma and 14116 bad-single-none-empty.lzma. 14117 14118 tests/files/README | 6 ++++++ 14119 tests/files/bad-single-none-empty.lzma | Bin 0 -> 19 bytes 14120 tests/files/good-single-none-empty_3.lzma | Bin 0 -> 19 bytes 14121 3 files changed, 6 insertions(+) 14122 14123commit 379fbbe84d922c7cc00afa65c6f0c095da596b19 14124Author: Lasse Collin <lasse.collin@tukaani.org> 14125Date: 2008-01-08 23:11:59 +0200 14126 14127 Take advantage of return_if_error() in block_decoder.c. 14128 14129 src/liblzma/common/block_decoder.c | 23 +++++++---------------- 14130 1 file changed, 7 insertions(+), 16 deletions(-) 14131 14132commit 97d5fa82077e57815dfad995dc393c2809a78539 14133Author: Lasse Collin <lasse.collin@tukaani.org> 14134Date: 2008-01-08 23:10:57 +0200 14135 14136 Updated tests/files/README. 14137 14138 tests/files/README | 15 +++++++++------ 14139 1 file changed, 9 insertions(+), 6 deletions(-) 14140 14141commit 3bb9bb310936cba6a743b4f06739a397dec7c28f 14142Author: Lasse Collin <lasse.collin@tukaani.org> 14143Date: 2008-01-08 23:05:40 +0200 14144 14145 Added test files with empty Compressed Data. 14146 14147 tests/files/README | 6 ++++++ 14148 tests/files/good-single-lzma-empty.lzma | Bin 0 -> 21 bytes 14149 tests/files/good-single-none-empty_1.lzma | Bin 0 -> 18 bytes 14150 tests/files/good-single-none-empty_2.lzma | Bin 0 -> 26 bytes 14151 4 files changed, 6 insertions(+) 14152 14153commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f 14154Author: Lasse Collin <lasse.collin@tukaani.org> 14155Date: 2008-01-08 22:58:42 +0200 14156 14157 Fix decoding of Blocks that have only Block Header. 14158 14159 src/liblzma/common/block_decoder.c | 37 ++++++++++++++----------------------- 14160 1 file changed, 14 insertions(+), 23 deletions(-) 14161 14162commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4 14163Author: Lasse Collin <lasse.collin@tukaani.org> 14164Date: 2008-01-08 22:27:46 +0200 14165 14166 Added good-single-subblock_implicit.lzma. 14167 14168 tests/files/README | 2 ++ 14169 tests/files/good-single-subblock_implicit.lzma | Bin 0 -> 35 bytes 14170 2 files changed, 2 insertions(+) 14171 14172commit faeac7b7aca75f86afed1e7cc06279d9d497c627 14173Author: Lasse Collin <lasse.collin@tukaani.org> 14174Date: 2008-01-08 18:50:30 +0200 14175 14176 Disable CRC32 from Block Headers when --check=none 14177 has been specified. 14178 14179 src/lzma/process.c | 2 +- 14180 1 file changed, 1 insertion(+), 1 deletion(-) 14181 14182commit a751126dbb656767ed4666cf0e5d3e17349d93d1 14183Author: Lasse Collin <lasse.collin@tukaani.org> 14184Date: 2008-01-08 13:36:29 +0200 14185 14186 Fixed encoding of empty files. Arguments to is_size_valid() 14187 were in wrong order in block_encoder.c. 14188 14189 src/liblzma/common/block_encoder.c | 2 +- 14190 1 file changed, 1 insertion(+), 1 deletion(-) 14191 14192commit 9080267603b1006c4867c823307dca9df8be0d20 14193Author: Lasse Collin <lasse.collin@tukaani.org> 14194Date: 2008-01-08 13:35:36 +0200 14195 14196 Added a few test files. 14197 14198 tests/files/README | 21 ++++++++++++++++++--- 14199 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 0 -> 65 bytes 14200 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes 14201 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes 14202 tests/files/bad-single-data_after_eopm.lzma | Bin 55 -> 0 bytes 14203 tests/files/bad-single-data_after_eopm_1.lzma | Bin 0 -> 55 bytes 14204 tests/files/bad-single-none-truncated.lzma | Bin 0 -> 29 bytes 14205 7 files changed, 18 insertions(+), 3 deletions(-) 14206 14207commit b4943ccf73b64fc93a90a23474509c316f55eb2b 14208Author: Lasse Collin <lasse.collin@tukaani.org> 14209Date: 2008-01-08 12:29:58 +0200 14210 14211 Avoid using ! in test_files.sh, because that doesn't work 14212 with some ancient /bin/sh versions. 14213 14214 tests/test_files.sh | 4 +++- 14215 1 file changed, 3 insertions(+), 1 deletion(-) 14216 14217commit e2417b2b9134f3f65e14b61e23cd3644d8954353 14218Author: Lasse Collin <lasse.collin@tukaani.org> 14219Date: 2008-01-08 00:48:30 +0200 14220 14221 More pre-C99 inttypes.h compatibility fixes. Now the code 14222 should work even if the system has no inttypes.h. 14223 14224 src/common/physmem.h | 11 ----------- 14225 src/liblzma/check/crc32_init.c | 5 +---- 14226 src/liblzma/check/crc32_tablegen.c | 7 ++----- 14227 src/liblzma/check/crc64_init.c | 5 +---- 14228 src/liblzma/check/crc64_tablegen.c | 7 ++----- 14229 5 files changed, 6 insertions(+), 29 deletions(-) 14230 14231commit 5d227e51c23639423f4ade06aabb54e131f8505e 14232Author: Lasse Collin <lasse.collin@tukaani.org> 14233Date: 2008-01-07 23:25:32 +0200 14234 14235 Updated fi.po although it's currently pretty much crap. 14236 14237 po/fi.po | 12 ++++++------ 14238 1 file changed, 6 insertions(+), 6 deletions(-) 14239 14240commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d 14241Author: Lasse Collin <lasse.collin@tukaani.org> 14242Date: 2008-01-07 23:14:25 +0200 14243 14244 Test for $GCC = yes instead of if it is non-empty. This 14245 way it is possible to use ac_cv_c_compiler_gnu=no to 14246 force configure to think it is using non-GNU C compiler. 14247 14248 configure.ac | 2 +- 14249 1 file changed, 1 insertion(+), 1 deletion(-) 14250 14251commit 3dbbea82b74bb841c995ad332a3aeca613015e10 14252Author: Lasse Collin <lasse.collin@tukaani.org> 14253Date: 2008-01-07 21:49:41 +0200 14254 14255 Added test_files.sh to tests/Makefile.am so it gets 14256 included in the tarball with "make dist". 14257 14258 tests/Makefile.am | 2 +- 14259 1 file changed, 1 insertion(+), 1 deletion(-) 14260 14261commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0 14262Author: Lasse Collin <lasse.collin@tukaani.org> 14263Date: 2008-01-07 18:22:24 +0200 14264 14265 Cosmetic edit to test_files.sh. 14266 14267 tests/test_files.sh | 4 ++-- 14268 1 file changed, 2 insertions(+), 2 deletions(-) 14269 14270commit 9a71d573100a990ceb30ce0bec6a9a15d795605f 14271Author: Lasse Collin <lasse.collin@tukaani.org> 14272Date: 2008-01-07 18:09:44 +0200 14273 14274 Added tests/files/README. 14275 14276 tests/files/README | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 14277 1 file changed, 108 insertions(+) 14278 14279commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43 14280Author: Lasse Collin <lasse.collin@tukaani.org> 14281Date: 2008-01-07 14:20:57 +0200 14282 14283 Tell in COPYING that everything in tests/files is 14284 public domain. 14285 14286 COPYING | 3 ++- 14287 1 file changed, 2 insertions(+), 1 deletion(-) 14288 14289commit 3502b3e1d00251d3c8dda96079440705c28d8225 14290Author: Lasse Collin <lasse.collin@tukaani.org> 14291Date: 2008-01-07 14:19:05 +0200 14292 14293 Cleaned up the tests/files directory. 14294 14295 tests/files/bad-single-subblock-padding_loop.lzma | Bin 0 -> 43 bytes 14296 tests/files/bad-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes 14297 tests/files/malicious-single-subblock-loop.lzma | Bin 43 -> 0 bytes 14298 tests/files/malicious-single-subblock-lzma.lzma | Bin 505 -> 0 bytes 14299 tests/files/malicious-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes 14300 5 files changed, 0 insertions(+), 0 deletions(-) 14301 14302commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c 14303Author: Lasse Collin <lasse.collin@tukaani.org> 14304Date: 2008-01-07 13:49:19 +0200 14305 14306 Added test_files.sh to test decoding of the files in 14307 the tests/files directory. It doesn't test the malicious 14308 files yet. 14309 14310 tests/Makefile.am | 4 +++- 14311 tests/test_files.sh | 40 ++++++++++++++++++++++++++++++++++++++++ 14312 2 files changed, 43 insertions(+), 1 deletion(-) 14313 14314commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6 14315Author: Lasse Collin <lasse.collin@tukaani.org> 14316Date: 2008-01-07 11:23:13 +0200 14317 14318 Updated README regarding the assembler optimizations. 14319 14320 README | 10 +++++----- 14321 1 file changed, 5 insertions(+), 5 deletions(-) 14322 14323commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb 14324Author: Lasse Collin <lasse.collin@tukaani.org> 14325Date: 2008-01-07 10:58:00 +0200 14326 14327 Updated THANKS. 14328 14329 THANKS | 1 + 14330 1 file changed, 1 insertion(+) 14331 14332commit 1239649f96132b18e3b7e2dd152ecf53a195caa8 14333Author: Lasse Collin <lasse.collin@tukaani.org> 14334Date: 2008-01-06 21:47:17 +0200 14335 14336 Cosmetic changes to configure.ac. 14337 14338 configure.ac | 14 ++++++-------- 14339 1 file changed, 6 insertions(+), 8 deletions(-) 14340 14341commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e 14342Author: Lasse Collin <lasse.collin@tukaani.org> 14343Date: 2008-01-06 19:46:38 +0200 14344 14345 Automatically disable assembler code on Darwin x86. 14346 Darwin has different ABI than GNU+Linux and Solaris, 14347 thus the assembler code doesn't assemble on Darwin. 14348 14349 configure.ac | 17 +++++++++++++++-- 14350 1 file changed, 15 insertions(+), 2 deletions(-) 14351 14352commit c15a7abf66e3a70792f7444115e484c7981c8284 14353Author: Lasse Collin <lasse.collin@tukaani.org> 14354Date: 2008-01-06 19:45:27 +0200 14355 14356 With printf(), use PRIu64 with a cast to uint64_t instead 14357 of %zu, because some pre-C99 libc versions don't support %zu. 14358 14359 src/lzma/help.c | 13 +++++++------ 14360 src/lzmadec/lzmadec.c | 6 ++++-- 14361 2 files changed, 11 insertions(+), 8 deletions(-) 14362 14363commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb 14364Author: Lasse Collin <lasse.collin@tukaani.org> 14365Date: 2008-01-06 16:27:41 +0200 14366 14367 Introduced compatibility with systems that have pre-C99 14368 or no inttypes.h. This is useful when the compiler has 14369 good enough support for C99, but libc headers don't. 14370 14371 Changed liblzma API so that sys/types.h and inttypes.h 14372 have to be #included before #including lzma.h. On systems 14373 that don't have C99 inttypes.h, it's the problem of the 14374 applications to provide the required types and macros 14375 before #including lzma.h. 14376 14377 If lzma.h defined the missing types and macros, it could 14378 conflict with third-party applications whose configure 14379 has detected that the types are missing and defined them 14380 in config.h already. An alternative would have been 14381 introducing lzma_uint32 and similar types, but that would 14382 just be an extra pain on modern systems. 14383 14384 configure.ac | 13 ++++++++- 14385 doc/liblzma-intro.txt | 10 +++++-- 14386 src/common/sysdefs.h | 59 +++++++++++++++++++++++++++++++++++++- 14387 src/liblzma/api/lzma.h | 40 +++++++++++++++++--------- 14388 src/liblzma/check/crc32_table.c | 4 +-- 14389 src/liblzma/check/crc32_table_be.h | 2 -- 14390 src/liblzma/check/crc32_table_le.h | 2 -- 14391 src/liblzma/check/crc32_tablegen.c | 1 - 14392 src/liblzma/check/crc64_table.c | 4 +-- 14393 src/liblzma/check/crc64_table_be.h | 2 -- 14394 src/liblzma/check/crc64_table_le.h | 2 -- 14395 src/liblzma/check/crc64_tablegen.c | 1 - 14396 src/lzma/private.h | 1 - 14397 13 files changed, 106 insertions(+), 35 deletions(-) 14398 14399commit a71864f77dfb76b5d78a270641539947c312583a 14400Author: Lasse Collin <lasse.collin@tukaani.org> 14401Date: 2008-01-05 19:57:00 +0200 14402 14403 Fix typo in comment (INT64_MAX -> UINT64_MAX). 14404 14405 src/liblzma/api/lzma/vli.h | 2 +- 14406 1 file changed, 1 insertion(+), 1 deletion(-) 14407 14408commit 072927905a3b66281c6311b4b351caa501d8b73a 14409Author: Lasse Collin <lasse.collin@tukaani.org> 14410Date: 2008-01-05 19:42:04 +0200 14411 14412 Rearranged testing of GCC-specific flags. 14413 14414 configure.ac | 33 +++++++++++++++++++++++---------- 14415 1 file changed, 23 insertions(+), 10 deletions(-) 14416 14417commit d160ee32598c6d1cd9054ef019e8c9331208b188 14418Author: Lasse Collin <lasse.collin@tukaani.org> 14419Date: 2008-01-05 01:20:24 +0200 14420 14421 Another bug fix for flush marker detection. 14422 14423 src/liblzma/lzma/lzma_decoder.c | 10 +++++++++- 14424 1 file changed, 9 insertions(+), 1 deletion(-) 14425 14426commit fc67f79f607cbfa78c6f47a69dec098d8659b162 14427Author: Lasse Collin <lasse.collin@tukaani.org> 14428Date: 2008-01-04 21:37:01 +0200 14429 14430 Fix stupid bugs in flush marker detection. 14431 14432 src/liblzma/lzma/lzma_decoder.c | 7 ++++--- 14433 1 file changed, 4 insertions(+), 3 deletions(-) 14434 14435commit 0029cbbabe87d491fc046a55a629a6d556010baa 14436Author: Lasse Collin <lasse.collin@tukaani.org> 14437Date: 2008-01-04 21:30:33 +0200 14438 14439 Added support for flush marker, which will be in files 14440 that use LZMA_SYNC_FLUSH with encoder (not implemented 14441 yet). This is a new feature in the raw LZMA format, 14442 which isn't supported by old decoders. This shouldn't 14443 be a problem in practice, since lzma_alone_encoder() 14444 will not allow LZMA_SYNC_FLUSH, and thus not allow 14445 creating files on decodable with old decoders. 14446 14447 Made lzma_decoder.c to require tab width of 4 characters 14448 if one wants to fit the code in 80 columns. This makes 14449 the code easier to read. 14450 14451 src/liblzma/lzma/lzma_common.h | 4 + 14452 src/liblzma/lzma/lzma_decoder.c | 217 ++++++++++++++++++---------------------- 14453 2 files changed, 104 insertions(+), 117 deletions(-) 14454 14455commit bbfd1f6ab058a7e661545205befcb7f70c5685ab 14456Author: Lasse Collin <lasse.collin@tukaani.org> 14457Date: 2008-01-04 20:45:05 +0200 14458 14459 Moved range decoder initialization (reading the first 14460 five input bytes) from LZMA decoder to range decoder 14461 header. Did the same for decoding of direct bits. 14462 14463 src/liblzma/lzma/lzma_decoder.c | 42 +++------------- 14464 src/liblzma/rangecoder/range_decoder.h | 87 +++++++++++++++++++++++----------- 14465 2 files changed, 66 insertions(+), 63 deletions(-) 14466 14467commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc 14468Author: Lasse Collin <lasse.collin@tukaani.org> 14469Date: 2007-12-14 11:15:21 +0200 14470 14471 Added a note to README that --disable-assembler 14472 must be used on Darwin. 14473 14474 README | 4 ++++ 14475 1 file changed, 4 insertions(+) 14476 14477commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24 14478Author: Lasse Collin <lasse.collin@tukaani.org> 14479Date: 2007-12-14 10:07:10 +0200 14480 14481 Use the filename suffix .S instead of .s for assembler files 14482 so that the preprocessor removes the /* */ style comments, 14483 which are not supported by some non-GNU assemblers (Solaris) 14484 that otherwise work with this code. 14485 14486 src/liblzma/check/Makefile.am | 4 +- 14487 src/liblzma/check/crc32_x86.S | 217 ++++++++++++++++++++++++++++++++++++++++++ 14488 src/liblzma/check/crc32_x86.s | 217 ------------------------------------------ 14489 src/liblzma/check/crc64_x86.S | 203 +++++++++++++++++++++++++++++++++++++++ 14490 src/liblzma/check/crc64_x86.s | 203 --------------------------------------- 14491 5 files changed, 422 insertions(+), 422 deletions(-) 14492 14493commit ec1c82b2e82f395f6e8e19ac212a639644330cd7 14494Author: Lasse Collin <lasse.collin@tukaani.org> 14495Date: 2007-12-14 09:59:05 +0200 14496 14497 Fixed wrong symbol name in crc64_x86.s. 14498 14499 src/liblzma/check/crc64_x86.s | 2 +- 14500 1 file changed, 1 insertion(+), 1 deletion(-) 14501 14502commit 2881570df6803eed2fe550af34574e8e61794804 14503Author: Lasse Collin <lasse.collin@tukaani.org> 14504Date: 2007-12-14 09:53:24 +0200 14505 14506 Use .globl instead of .global in x86 assembler code for 14507 better portability. Still needs fixing the commenting. 14508 14509 src/liblzma/check/crc32_x86.s | 2 +- 14510 src/liblzma/check/crc64_x86.s | 2 +- 14511 2 files changed, 2 insertions(+), 2 deletions(-) 14512 14513commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66 14514Author: Lasse Collin <lasse.collin@tukaani.org> 14515Date: 2007-12-13 20:14:37 +0200 14516 14517 Fixed a few short options that take an argument. 14518 short_opts[] was missing colons to indicate 14519 required argument. Thanks to Fabio Pedretti for 14520 the bug report. 14521 14522 src/lzma/args.c | 2 +- 14523 1 file changed, 1 insertion(+), 1 deletion(-) 14524 14525commit 918bcb0e0728d2d976621e9f35b56f224f11d989 14526Author: Lasse Collin <lasse.collin@tukaani.org> 14527Date: 2007-12-11 17:08:04 +0200 14528 14529 Removed uncompressed size tracking from Delta encoder too. 14530 14531 src/liblzma/common/delta_coder.c | 21 +++------------------ 14532 1 file changed, 3 insertions(+), 18 deletions(-) 14533 14534commit 3e16d51dd645667b05ff826665b1fc353aa41cd9 14535Author: Lasse Collin <lasse.collin@tukaani.org> 14536Date: 2007-12-11 16:49:19 +0200 14537 14538 Remove uncompressed size tracking from the filter encoders. 14539 It's not strictly needed there, and just complicates the 14540 code. LZ encoder never even had this feature. 14541 14542 The primary reason to have uncompressed size tracking in 14543 filter encoders was validating that the application 14544 doesn't give different amount of input that it had 14545 promised. A side effect was to validate internal workings 14546 of liblzma. 14547 14548 Uncompressed size tracking is still present in the Block 14549 encoder. Maybe it should be added to LZMA_Alone and raw 14550 encoders too. It's simpler to have one coder just to 14551 validate the uncompressed size instead of having it 14552 in every filter. 14553 14554 src/liblzma/common/copy_coder.c | 25 ++-------------------- 14555 src/liblzma/simple/simple_coder.c | 29 ++++--------------------- 14556 src/liblzma/subblock/subblock_encoder.c | 38 ++++++--------------------------- 14557 3 files changed, 12 insertions(+), 80 deletions(-) 14558 14559commit 5286723e0d1ac386d5b07f08d78e61becf895a5a 14560Author: Lasse Collin <lasse.collin@tukaani.org> 14561Date: 2007-12-11 14:10:53 +0200 14562 14563 Get rid of no-NLS gnulib. I don't know how to get it 14564 working with Automake. People who want smaller lzmadec 14565 should use --disable-nls on non-GNU systems. 14566 14567 lib/Makefile.am | 10 +--------- 14568 src/lzma/Makefile.am | 2 +- 14569 src/lzmadec/Makefile.am | 4 +++- 14570 3 files changed, 5 insertions(+), 11 deletions(-) 14571 14572commit ce8b036a6c7a43b290356b673d953f6d76b2be64 14573Author: Lasse Collin <lasse.collin@tukaani.org> 14574Date: 2007-12-11 14:09:35 +0200 14575 14576 Fixed a typo in tests/Makefile.am which prevented 14577 building the tests if gnulib was needed. 14578 14579 tests/Makefile.am | 2 +- 14580 1 file changed, 1 insertion(+), 1 deletion(-) 14581 14582commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4 14583Author: Lasse Collin <lasse.collin@tukaani.org> 14584Date: 2007-12-11 11:18:58 +0200 14585 14586 Fixed wrong type of flags_size in Subblock encoder. 14587 14588 src/liblzma/subblock/subblock_encoder.c | 2 +- 14589 1 file changed, 1 insertion(+), 1 deletion(-) 14590 14591commit ce64df716243fdc40359090d1f6541f3a4f5f21a 14592Author: Lasse Collin <lasse.collin@tukaani.org> 14593Date: 2007-12-10 20:44:16 +0200 14594 14595 Bumped version number to 4.42.3alpha. 14596 14597 configure.ac | 2 +- 14598 src/liblzma/api/lzma/version.h | 2 +- 14599 2 files changed, 2 insertions(+), 2 deletions(-) 14600 14601commit b499a0403ea5c41d6a25b40275eb6c57643052ce 14602Author: Lasse Collin <lasse.collin@tukaani.org> 14603Date: 2007-12-10 15:02:50 +0200 14604 14605 Disabled some unneeded warnings and made "make dist" work. 14606 14607 Makefile.am | 9 +++------ 14608 configure.ac | 9 ++++++--- 14609 po/fi.po | 47 ++++++++++++++++++++++++----------------------- 14610 3 files changed, 33 insertions(+), 32 deletions(-) 14611 14612commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172 14613Author: Lasse Collin <lasse.collin@tukaani.org> 14614Date: 2007-12-09 21:43:15 +0200 14615 14616 Added LZMA_SYNC_FLUSH support to the Copy filter. 14617 14618 src/liblzma/common/copy_coder.c | 92 +++++++++++++++++++++++++---------------- 14619 1 file changed, 57 insertions(+), 35 deletions(-) 14620 14621commit 329c272d501e88793dda5540358d55c12428d194 14622Author: Lasse Collin <lasse.collin@tukaani.org> 14623Date: 2007-12-09 17:14:07 +0200 14624 14625 Added missing LZMA_API to the C versions of the CRC functions. 14626 The x86 assembler versions were already OK. 14627 14628 src/liblzma/check/crc32.c | 2 +- 14629 src/liblzma/check/crc64.c | 2 +- 14630 2 files changed, 2 insertions(+), 2 deletions(-) 14631 14632commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7 14633Author: Jim Meyering <meyering@redhat.com> 14634Date: 2007-12-09 15:34:25 +0100 14635 14636 * tests/test_block_header.c (test3): Remove duplicate initializer. 14637 14638 autogen.sh | 2 +- 14639 tests/test_block_header.c | 1 - 14640 2 files changed, 1 insertion(+), 2 deletions(-) 14641 14642commit 07ac881779a8477f2c1ab112b91a129e24aa743c 14643Author: Lasse Collin <lasse.collin@tukaani.org> 14644Date: 2007-12-09 17:06:45 +0200 14645 14646 Take advantage of return_if_error() macro in more places. 14647 Cleaned Subblock filter's initialization code too. 14648 14649 src/liblzma/common/block_decoder.c | 22 +++------- 14650 src/liblzma/common/delta_coder.c | 8 +--- 14651 src/liblzma/common/stream_decoder.c | 17 +++----- 14652 src/liblzma/common/stream_encoder_multi.c | 68 ++++++++++-------------------- 14653 src/liblzma/common/stream_encoder_single.c | 8 ++-- 14654 src/liblzma/subblock/subblock_decoder.c | 33 +++++---------- 14655 src/liblzma/subblock/subblock_encoder.c | 45 ++++++-------------- 14656 7 files changed, 63 insertions(+), 138 deletions(-) 14657 14658commit 41338717964f510ee61d70b25bd4c502ec9f77cf 14659Author: Lasse Collin <lasse.collin@tukaani.org> 14660Date: 2007-12-09 12:13:01 +0200 14661 14662 Added a bunch of .lzma test files. 14663 14664 tests/files/bad-single-data_after_eopm.lzma | Bin 0 -> 55 bytes 14665 tests/files/bad-single-data_after_eopm_2.lzma | Bin 0 -> 56 bytes 14666 tests/files/bad-single-subblock_subblock.lzma | Bin 0 -> 26 bytes 14667 tests/files/good-cat-single-none-pad.lzma | Bin 0 -> 64 bytes 14668 tests/files/good-single-delta-lzma.tiff.lzma | Bin 0 -> 51409 bytes 14669 tests/files/good-single-lzma.lzma | Bin 0 -> 44 bytes 14670 tests/files/good-single-none-pad.lzma | Bin 0 -> 32 bytes 14671 tests/files/good-single-none.lzma | Bin 0 -> 30 bytes 14672 tests/files/good-single-subblock-lzma.lzma | Bin 0 -> 50 bytes 14673 tests/files/good-single-subblock_rle.lzma | Bin 0 -> 118 bytes 14674 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 0 -> 51 bytes 14675 tests/files/malicious-single-subblock-256MiB.lzma | Bin 0 -> 30 bytes 14676 tests/files/malicious-single-subblock-64PiB.lzma | Bin 0 -> 45 bytes 14677 tests/files/malicious-single-subblock-loop.lzma | Bin 0 -> 43 bytes 14678 tests/files/malicious-single-subblock-lzma.lzma | Bin 0 -> 505 bytes 14679 tests/files/malicious-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes 14680 tests/files/malicious-single-subblock31-slow.lzma | Bin 0 -> 1233 bytes 14681 17 files changed, 0 insertions(+), 0 deletions(-) 14682 14683commit ff946ceb7975d4f11950afd33f6315b4d20d1a03 14684Author: Lasse Collin <lasse.collin@tukaani.org> 14685Date: 2007-12-09 11:24:48 +0200 14686 14687 Re-enabled the security checks in Subblock decoder 14688 that were disabled for debugging reasons. 14689 14690 src/liblzma/subblock/subblock_decoder.c | 6 +++--- 14691 1 file changed, 3 insertions(+), 3 deletions(-) 14692 14693commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1 14694Author: Lasse Collin <lasse.collin@tukaani.org> 14695Date: 2007-12-09 11:03:28 +0200 14696 14697 Fixed the tests to build with -Werror. 14698 14699 tests/test_block_header.c | 2 +- 14700 tests/test_check.c | 2 +- 14701 tests/test_filter_flags.c | 2 +- 14702 tests/test_index.c | 14 +++++++------- 14703 tests/test_info.c | 2 +- 14704 tests/test_stream_flags.c | 2 +- 14705 6 files changed, 12 insertions(+), 12 deletions(-) 14706 14707commit 5d018dc03549c1ee4958364712fb0c94e1bf2741 14708Author: Lasse Collin <lasse.collin@tukaani.org> 14709Date: 2007-12-09 00:42:33 +0200 14710 14711 Imported to git. 14712 14713 AUTHORS | 18 + 14714 COPYING | 24 + 14715 COPYING.GPLv2 | 339 +++++ 14716 COPYING.GPLv3 | 674 +++++++++ 14717 COPYING.LGPLv2.1 | 504 +++++++ 14718 ChangeLog | 2 + 14719 Doxyfile.in | 1229 ++++++++++++++++ 14720 Makefile.am | 38 + 14721 NEWS | 0 14722 README | 151 ++ 14723 THANKS | 23 + 14724 TODO | 109 ++ 14725 autogen.sh | 38 + 14726 configure.ac | 611 ++++++++ 14727 doc/bugs.txt | 46 + 14728 doc/faq.txt | 247 ++++ 14729 doc/file-format.txt | 1861 ++++++++++++++++++++++++ 14730 doc/history.txt | 140 ++ 14731 doc/liblzma-advanced.txt | 324 +++++ 14732 doc/liblzma-hacking.txt | 112 ++ 14733 doc/liblzma-intro.txt | 188 +++ 14734 doc/liblzma-security.txt | 219 +++ 14735 doc/lzma-intro.txt | 107 ++ 14736 extra/scanlzma/scanlzma.c | 85 ++ 14737 lib/Makefile.am | 40 + 14738 lib/getopt.c | 1191 +++++++++++++++ 14739 lib/getopt1.c | 171 +++ 14740 lib/getopt_.h | 226 +++ 14741 lib/getopt_int.h | 131 ++ 14742 lib/gettext.h | 240 +++ 14743 m4/acx_pthread.m4 | 279 ++++ 14744 m4/getopt.m4 | 83 ++ 14745 po/LINGUAS | 1 + 14746 po/Makevars | 46 + 14747 po/POTFILES.in | 13 + 14748 po/fi.po | 445 ++++++ 14749 src/Makefile.am | 16 + 14750 src/common/open_stdxxx.h | 50 + 14751 src/common/physmem.h | 77 + 14752 src/common/sysdefs.h | 100 ++ 14753 src/liblzma/Makefile.am | 47 + 14754 src/liblzma/api/Makefile.am | 39 + 14755 src/liblzma/api/lzma.h | 122 ++ 14756 src/liblzma/api/lzma/alignment.h | 60 + 14757 src/liblzma/api/lzma/alone.h | 82 ++ 14758 src/liblzma/api/lzma/auto.h | 41 + 14759 src/liblzma/api/lzma/base.h | 410 ++++++ 14760 src/liblzma/api/lzma/block.h | 409 ++++++ 14761 src/liblzma/api/lzma/check.h | 128 ++ 14762 src/liblzma/api/lzma/copy.h | 29 + 14763 src/liblzma/api/lzma/delta.h | 49 + 14764 src/liblzma/api/lzma/extra.h | 114 ++ 14765 src/liblzma/api/lzma/filter.h | 166 +++ 14766 src/liblzma/api/lzma/index.h | 84 ++ 14767 src/liblzma/api/lzma/info.h | 315 ++++ 14768 src/liblzma/api/lzma/init.h | 85 ++ 14769 src/liblzma/api/lzma/lzma.h | 312 ++++ 14770 src/liblzma/api/lzma/memlimit.h | 157 ++ 14771 src/liblzma/api/lzma/metadata.h | 100 ++ 14772 src/liblzma/api/lzma/raw.h | 72 + 14773 src/liblzma/api/lzma/simple.h | 85 ++ 14774 src/liblzma/api/lzma/stream.h | 178 +++ 14775 src/liblzma/api/lzma/stream_flags.h | 142 ++ 14776 src/liblzma/api/lzma/subblock.h | 197 +++ 14777 src/liblzma/api/lzma/version.h | 59 + 14778 src/liblzma/api/lzma/vli.h | 244 ++++ 14779 src/liblzma/check/Makefile.am | 64 + 14780 src/liblzma/check/check.c | 160 ++ 14781 src/liblzma/check/check.h | 102 ++ 14782 src/liblzma/check/check_byteswap.h | 43 + 14783 src/liblzma/check/check_init.c | 37 + 14784 src/liblzma/check/crc32.c | 88 ++ 14785 src/liblzma/check/crc32_init.c | 58 + 14786 src/liblzma/check/crc32_table.c | 22 + 14787 src/liblzma/check/crc32_table_be.h | 527 +++++++ 14788 src/liblzma/check/crc32_table_le.h | 527 +++++++ 14789 src/liblzma/check/crc32_tablegen.c | 55 + 14790 src/liblzma/check/crc32_x86.s | 217 +++ 14791 src/liblzma/check/crc64.c | 75 + 14792 src/liblzma/check/crc64_init.c | 58 + 14793 src/liblzma/check/crc64_table.c | 22 + 14794 src/liblzma/check/crc64_table_be.h | 523 +++++++ 14795 src/liblzma/check/crc64_table_le.h | 523 +++++++ 14796 src/liblzma/check/crc64_tablegen.c | 56 + 14797 src/liblzma/check/crc64_x86.s | 203 +++ 14798 src/liblzma/check/crc_macros.h | 33 + 14799 src/liblzma/check/sha256.c | 203 +++ 14800 src/liblzma/common/Makefile.am | 94 ++ 14801 src/liblzma/common/alignment.c | 118 ++ 14802 src/liblzma/common/allocator.c | 57 + 14803 src/liblzma/common/alone_decoder.c | 197 +++ 14804 src/liblzma/common/alone_decoder.h | 24 + 14805 src/liblzma/common/alone_encoder.c | 167 +++ 14806 src/liblzma/common/auto_decoder.c | 113 ++ 14807 src/liblzma/common/block_decoder.c | 405 ++++++ 14808 src/liblzma/common/block_decoder.h | 29 + 14809 src/liblzma/common/block_encoder.c | 375 +++++ 14810 src/liblzma/common/block_encoder.h | 29 + 14811 src/liblzma/common/block_header_decoder.c | 373 +++++ 14812 src/liblzma/common/block_header_encoder.c | 211 +++ 14813 src/liblzma/common/block_private.h | 46 + 14814 src/liblzma/common/chunk_size.c | 74 + 14815 src/liblzma/common/code.c | 203 +++ 14816 src/liblzma/common/common.h | 271 ++++ 14817 src/liblzma/common/copy_coder.c | 143 ++ 14818 src/liblzma/common/copy_coder.h | 31 + 14819 src/liblzma/common/delta_coder.c | 210 +++ 14820 src/liblzma/common/delta_coder.h | 31 + 14821 src/liblzma/common/extra.c | 33 + 14822 src/liblzma/common/features.c | 70 + 14823 src/liblzma/common/filter_flags_decoder.c | 382 +++++ 14824 src/liblzma/common/filter_flags_encoder.c | 359 +++++ 14825 src/liblzma/common/index.c | 140 ++ 14826 src/liblzma/common/info.c | 823 +++++++++++ 14827 src/liblzma/common/init.c | 39 + 14828 src/liblzma/common/init_decoder.c | 33 + 14829 src/liblzma/common/init_encoder.c | 44 + 14830 src/liblzma/common/memory_limitter.c | 200 +++ 14831 src/liblzma/common/memory_usage.c | 113 ++ 14832 src/liblzma/common/metadata_decoder.c | 555 +++++++ 14833 src/liblzma/common/metadata_decoder.h | 31 + 14834 src/liblzma/common/metadata_encoder.c | 436 ++++++ 14835 src/liblzma/common/metadata_encoder.h | 30 + 14836 src/liblzma/common/next_coder.c | 65 + 14837 src/liblzma/common/raw_common.c | 175 +++ 14838 src/liblzma/common/raw_common.h | 31 + 14839 src/liblzma/common/raw_decoder.c | 127 ++ 14840 src/liblzma/common/raw_decoder.h | 30 + 14841 src/liblzma/common/raw_encoder.c | 124 ++ 14842 src/liblzma/common/raw_encoder.h | 30 + 14843 src/liblzma/common/stream_common.c | 23 + 14844 src/liblzma/common/stream_common.h | 28 + 14845 src/liblzma/common/stream_decoder.c | 454 ++++++ 14846 src/liblzma/common/stream_encoder_multi.c | 460 ++++++ 14847 src/liblzma/common/stream_encoder_single.c | 220 +++ 14848 src/liblzma/common/stream_flags_decoder.c | 258 ++++ 14849 src/liblzma/common/stream_flags_decoder.h | 31 + 14850 src/liblzma/common/stream_flags_encoder.c | 75 + 14851 src/liblzma/common/sysdefs.h | 1 + 14852 src/liblzma/common/version.c | 25 + 14853 src/liblzma/common/vli_decoder.c | 69 + 14854 src/liblzma/common/vli_encoder.c | 81 ++ 14855 src/liblzma/common/vli_reverse_decoder.c | 55 + 14856 src/liblzma/lz/Makefile.am | 63 + 14857 src/liblzma/lz/bt2.c | 27 + 14858 src/liblzma/lz/bt2.h | 31 + 14859 src/liblzma/lz/bt3.c | 29 + 14860 src/liblzma/lz/bt3.h | 31 + 14861 src/liblzma/lz/bt4.c | 30 + 14862 src/liblzma/lz/bt4.h | 31 + 14863 src/liblzma/lz/hc3.c | 30 + 14864 src/liblzma/lz/hc3.h | 31 + 14865 src/liblzma/lz/hc4.c | 31 + 14866 src/liblzma/lz/hc4.h | 31 + 14867 src/liblzma/lz/lz_decoder.c | 462 ++++++ 14868 src/liblzma/lz/lz_decoder.h | 214 +++ 14869 src/liblzma/lz/lz_encoder.c | 481 ++++++ 14870 src/liblzma/lz/lz_encoder.h | 161 ++ 14871 src/liblzma/lz/lz_encoder_private.h | 40 + 14872 src/liblzma/lz/match_c.h | 401 +++++ 14873 src/liblzma/lz/match_h.h | 69 + 14874 src/liblzma/lzma.pc.in | 11 + 14875 src/liblzma/lzma/Makefile.am | 43 + 14876 src/liblzma/lzma/lzma_common.h | 128 ++ 14877 src/liblzma/lzma/lzma_decoder.c | 844 +++++++++++ 14878 src/liblzma/lzma/lzma_decoder.h | 41 + 14879 src/liblzma/lzma/lzma_encoder.c | 413 ++++++ 14880 src/liblzma/lzma/lzma_encoder.h | 35 + 14881 src/liblzma/lzma/lzma_encoder_features.c | 59 + 14882 src/liblzma/lzma/lzma_encoder_getoptimum.c | 893 ++++++++++++ 14883 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 +++ 14884 src/liblzma/lzma/lzma_encoder_init.c | 245 ++++ 14885 src/liblzma/lzma/lzma_encoder_presets.c | 34 + 14886 src/liblzma/lzma/lzma_encoder_private.h | 225 +++ 14887 src/liblzma/lzma/lzma_literal.c | 74 + 14888 src/liblzma/lzma/lzma_literal.h | 74 + 14889 src/liblzma/rangecoder/Makefile.am | 28 + 14890 src/liblzma/rangecoder/range_common.h | 68 + 14891 src/liblzma/rangecoder/range_decoder.h | 189 +++ 14892 src/liblzma/rangecoder/range_encoder.c | 46 + 14893 src/liblzma/rangecoder/range_encoder.h | 317 ++++ 14894 src/liblzma/simple/Makefile.am | 46 + 14895 src/liblzma/simple/arm.c | 76 + 14896 src/liblzma/simple/armthumb.c | 81 ++ 14897 src/liblzma/simple/ia64.c | 117 ++ 14898 src/liblzma/simple/powerpc.c | 80 + 14899 src/liblzma/simple/simple_coder.c | 306 ++++ 14900 src/liblzma/simple/simple_coder.h | 68 + 14901 src/liblzma/simple/simple_private.h | 86 ++ 14902 src/liblzma/simple/sparc.c | 88 ++ 14903 src/liblzma/simple/x86.c | 161 ++ 14904 src/liblzma/subblock/Makefile.am | 33 + 14905 src/liblzma/subblock/subblock_decoder.c | 681 +++++++++ 14906 src/liblzma/subblock/subblock_decoder.h | 29 + 14907 src/liblzma/subblock/subblock_decoder_helper.c | 80 + 14908 src/liblzma/subblock/subblock_decoder_helper.h | 36 + 14909 src/liblzma/subblock/subblock_encoder.c | 841 +++++++++++ 14910 src/liblzma/subblock/subblock_encoder.h | 28 + 14911 src/lzma/Makefile.am | 63 + 14912 src/lzma/alloc.c | 106 ++ 14913 src/lzma/alloc.h | 42 + 14914 src/lzma/args.c | 566 +++++++ 14915 src/lzma/args.h | 64 + 14916 src/lzma/error.c | 156 ++ 14917 src/lzma/error.h | 67 + 14918 src/lzma/hardware.c | 99 ++ 14919 src/lzma/hardware.h | 31 + 14920 src/lzma/help.c | 178 +++ 14921 src/lzma/help.h | 32 + 14922 src/lzma/io.c | 664 +++++++++ 14923 src/lzma/io.h | 60 + 14924 src/lzma/list.c | 477 ++++++ 14925 src/lzma/main.c | 254 ++++ 14926 src/lzma/options.c | 346 +++++ 14927 src/lzma/options.h | 46 + 14928 src/lzma/private.h | 55 + 14929 src/lzma/process.c | 458 ++++++ 14930 src/lzma/process.h | 30 + 14931 src/lzma/suffix.c | 145 ++ 14932 src/lzma/suffix.h | 25 + 14933 src/lzma/util.c | 182 +++ 14934 src/lzma/util.h | 32 + 14935 src/lzmadec/Makefile.am | 27 + 14936 src/lzmadec/lzmadec.c | 515 +++++++ 14937 src/scripts/Makefile.am | 24 + 14938 src/scripts/lzdiff | 67 + 14939 src/scripts/lzdiff.1 | 51 + 14940 src/scripts/lzgrep | 123 ++ 14941 src/scripts/lzgrep.1 | 61 + 14942 src/scripts/lzmore | 74 + 14943 src/scripts/lzmore.1 | 55 + 14944 tests/Makefile.am | 43 + 14945 tests/test_block.c | 59 + 14946 tests/test_block_header.c | 352 +++++ 14947 tests/test_check.c | 90 ++ 14948 tests/test_filter_flags.c | 326 +++++ 14949 tests/test_index.c | 43 + 14950 tests/test_info.c | 717 +++++++++ 14951 tests/test_stream_flags.c | 191 +++ 14952 tests/tests.h | 148 ++ 14953 240 files changed, 42513 insertions(+) 14954