1commit 3d566cd519017eee1a400e7961ff14058dfaf33c 2Author: Lasse Collin <lasse.collin@tukaani.org> 3Date: 2016-12-30 13:26:36 +0200 4 5 Bump version and soname for 5.2.3. 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 053e624fe33795e779ff736f16ce44a129c829b5 12Author: Lasse Collin <lasse.collin@tukaani.org> 13Date: 2016-12-30 13:25:10 +0200 14 15 Update NEWS for 5.2.3. 16 17 NEWS | 39 +++++++++++++++++++++++++++++++++++++++ 18 1 file changed, 39 insertions(+) 19 20commit cae412b2b77d7fd88d187ed7659331709311f80d 21Author: Lasse Collin <lasse.collin@tukaani.org> 22Date: 2015-04-01 14:45:25 +0300 23 24 xz: Fix the Capsicum rights on user_abort_pipe. 25 26 src/xz/file_io.c | 6 +++++- 27 1 file changed, 5 insertions(+), 1 deletion(-) 28 29commit 9ccbae41000572193b9a09e7102f9e84dc6d96de 30Author: Lasse Collin <lasse.collin@tukaani.org> 31Date: 2016-12-28 21:05:22 +0200 32 33 Mention potential sandboxing bugs in INSTALL. 34 35 INSTALL | 5 ++++- 36 1 file changed, 4 insertions(+), 1 deletion(-) 37 38commit e013a337d3de77cce24360dffe956ea2339489b6 39Author: Lasse Collin <lasse.collin@tukaani.org> 40Date: 2016-11-21 20:24:50 +0200 41 42 liblzma: Avoid multiple definitions of lzma_coder structures. 43 44 Only one definition was visible in a translation unit. 45 It avoided a few casts and temp variables but seems that 46 this hack doesn't work with link-time optimizations in compilers 47 as it's not C99/C11 compliant. 48 49 Fixes: 50 http://www.mail-archive.com/xz-devel@tukaani.org/msg00279.html 51 52 src/liblzma/common/alone_decoder.c | 44 +++++---- 53 src/liblzma/common/alone_encoder.c | 34 ++++--- 54 src/liblzma/common/auto_decoder.c | 35 ++++--- 55 src/liblzma/common/block_decoder.c | 41 ++++---- 56 src/liblzma/common/block_encoder.c | 40 ++++---- 57 src/liblzma/common/common.h | 18 ++-- 58 src/liblzma/common/index_decoder.c | 33 ++++--- 59 src/liblzma/common/index_encoder.c | 16 ++-- 60 src/liblzma/common/stream_decoder.c | 50 +++++----- 61 src/liblzma/common/stream_encoder.c | 56 ++++++----- 62 src/liblzma/common/stream_encoder_mt.c | 124 ++++++++++++++----------- 63 src/liblzma/delta/delta_common.c | 25 ++--- 64 src/liblzma/delta/delta_decoder.c | 6 +- 65 src/liblzma/delta/delta_encoder.c | 12 ++- 66 src/liblzma/delta/delta_private.h | 4 +- 67 src/liblzma/lz/lz_decoder.c | 60 ++++++------ 68 src/liblzma/lz/lz_decoder.h | 13 ++- 69 src/liblzma/lz/lz_encoder.c | 57 +++++++----- 70 src/liblzma/lz/lz_encoder.h | 9 +- 71 src/liblzma/lzma/lzma2_decoder.c | 32 ++++--- 72 src/liblzma/lzma/lzma2_encoder.c | 51 +++++----- 73 src/liblzma/lzma/lzma_decoder.c | 27 +++--- 74 src/liblzma/lzma/lzma_encoder.c | 29 +++--- 75 src/liblzma/lzma/lzma_encoder.h | 9 +- 76 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 3 +- 77 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 23 ++--- 78 src/liblzma/lzma/lzma_encoder_private.h | 6 +- 79 src/liblzma/simple/arm.c | 2 +- 80 src/liblzma/simple/armthumb.c | 2 +- 81 src/liblzma/simple/ia64.c | 2 +- 82 src/liblzma/simple/powerpc.c | 2 +- 83 src/liblzma/simple/simple_coder.c | 61 ++++++------ 84 src/liblzma/simple/simple_private.h | 12 +-- 85 src/liblzma/simple/sparc.c | 2 +- 86 src/liblzma/simple/x86.c | 15 +-- 87 35 files changed, 532 insertions(+), 423 deletions(-) 88 89commit 8e0f1af3dcaec00a3879cce8ad7441edc6359d1c 90Author: Lasse Collin <lasse.collin@tukaani.org> 91Date: 2016-12-26 20:50:25 +0200 92 93 Document --enable-sandbox configure option in INSTALL. 94 95 INSTALL | 25 +++++++++++++++++++++++++ 96 1 file changed, 25 insertions(+) 97 98commit ce2542d220de06acd618fd9f5c0a6683029fb4eb 99Author: Lasse Collin <lasse.collin@tukaani.org> 100Date: 2015-03-31 22:19:34 +0300 101 102 xz: Add support for sandboxing with Capsicum (disabled by default). 103 104 In the v5.2 branch this feature is considered experimental 105 and thus disabled by default. 106 107 The sandboxing is used conditionally as described in main.c. 108 This isn't optimal but it was much easier to implement than 109 a full sandboxing solution and it still covers the most common 110 use cases where xz is writing to standard output. This should 111 have practically no effect on performance even with small files 112 as fork() isn't needed. 113 114 C and locale libraries can open files as needed. This has been 115 fine in the past, but it's a problem with things like Capsicum. 116 io_sandbox_enter() tries to ensure that various locale-related 117 files have been loaded before cap_enter() is called, but it's 118 possible that there are other similar problems which haven't 119 been seen yet. 120 121 Currently Capsicum is available on FreeBSD 10 and later 122 and there is a port to Linux too. 123 124 Thanks to Loganaden Velvindron for help. 125 126 configure.ac | 41 +++++++++++++++++++++++++++ 127 src/xz/Makefile.am | 2 +- 128 src/xz/file_io.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 129 src/xz/file_io.h | 6 ++++ 130 src/xz/main.c | 18 ++++++++++++ 131 src/xz/private.h | 4 +++ 132 6 files changed, 151 insertions(+), 1 deletion(-) 133 134commit 3ca1d5e6320111043e19434da881065fadafa0e4 135Author: Lasse Collin <lasse.collin@tukaani.org> 136Date: 2015-03-31 21:12:30 +0300 137 138 Fix bugs and otherwise improve ax_check_capsicum.m4. 139 140 AU_ALIAS was removed because the new version is incompatible 141 with the old version. 142 143 It no longer checks for <sys/capability.h> separately. 144 It's enough to test for it as part of AC_CHECK_DECL. 145 The defines HAVE_CAPSICUM_SYS_CAPSICUM_H and 146 HAVE_CAPSICUM_SYS_CAPABILITY_H were removed as unneeded. 147 HAVE_SYS_CAPSICUM_H from AC_CHECK_HEADERS is enough. 148 149 It no longer does a useless search for the Capsicum library 150 if the header wasn't found. 151 152 Fixed a bug in ACTION-IF-FOUND (the first argument). Specifying 153 the argument omitted the default action but the given action 154 wasn't used instead. 155 156 AC_DEFINE([HAVE_CAPSICUM]) is now always called when Capsicum 157 support is found. Previously it was part of the default 158 ACTION-IF-FOUND which a custom action would override. Now 159 the default action only prepends ${CAPSICUM_LIB} to LIBS. 160 161 The documentation was updated. 162 163 Since there as no serial number, "#serial 2" was added. 164 165 m4/ax_check_capsicum.m4 | 103 ++++++++++++++++++++++++------------------------ 166 1 file changed, 51 insertions(+), 52 deletions(-) 167 168commit 5f3a742b64197fe8bedb6f05fc6ce5d177d11145 169Author: Lasse Collin <lasse.collin@tukaani.org> 170Date: 2015-03-31 19:20:24 +0300 171 172 Add m4/ax_check_capsicum.m4 for detecting Capsicum support. 173 174 The file was loaded from this web page: 175 https://github.com/google/capsicum-test/blob/dev/autoconf/m4/ax_check_capsicum.m4 176 177 Thanks to Loganaden Velvindron for pointing it out for me. 178 179 m4/ax_check_capsicum.m4 | 86 +++++++++++++++++++++++++++++++++++++++++++++++++ 180 1 file changed, 86 insertions(+) 181 182commit d74377e62b4c649e40294dd441de72c0f092e67c 183Author: Lasse Collin <lasse.collin@tukaani.org> 184Date: 2015-10-12 20:29:09 +0300 185 186 liblzma: Fix a memory leak in error path of lzma_index_dup(). 187 188 lzma_index_dup() calls index_dup_stream() which, in case of 189 an error, calls index_stream_end() to free memory allocated 190 by index_stream_init(). However, it illogically didn't 191 actually free the memory. To make it logical, the tree 192 handling code was modified a bit in addition to changing 193 index_stream_end(). 194 195 Thanks to Evan Nemerson for the bug report. 196 197 src/liblzma/common/index.c | 18 +++++++++--------- 198 1 file changed, 9 insertions(+), 9 deletions(-) 199 200commit f580732216dcf971f3f006fe8e01cd4979e1d964 201Author: Lasse Collin <lasse.collin@tukaani.org> 202Date: 2016-10-24 18:53:25 +0300 203 204 Update THANKS. 205 206 THANKS | 1 + 207 1 file changed, 1 insertion(+) 208 209commit 88d7a7fd153bf1355cdf798ffdac7443d0169afc 210Author: Lasse Collin <lasse.collin@tukaani.org> 211Date: 2016-10-24 18:51:36 +0300 212 213 tuklib_cpucores: Add support for sched_getaffinity(). 214 215 It's available in glibc (GNU/Linux, GNU/kFreeBSD). It's better 216 than sysconf(_SC_NPROCESSORS_ONLN) because sched_getaffinity() 217 gives the number of cores available to the process instead of 218 the total number of cores online. 219 220 As a side effect, this commit fixes a bug on GNU/kFreeBSD where 221 configure would detect the FreeBSD-specific cpuset_getaffinity() 222 but it wouldn't actually work because on GNU/kFreeBSD it requires 223 using -lfreebsd-glue when linking. Now the glibc-specific function 224 will be used instead. 225 226 Thanks to Sebastian Andrzej Siewior for the original patch 227 and testing. 228 229 m4/tuklib_cpucores.m4 | 30 +++++++++++++++++++++++++++++- 230 src/common/tuklib_cpucores.c | 9 +++++++++ 231 2 files changed, 38 insertions(+), 1 deletion(-) 232 233commit 51baf684376903dbeddd840582bfdf9fa91b311b 234Author: Lasse Collin <lasse.collin@tukaani.org> 235Date: 2016-06-30 20:27:36 +0300 236 237 xz: Fix copying of timestamps on Windows. 238 239 xz used to call utime() on Windows, but its result gets lost 240 on close(). Using _futime() seems to work. 241 242 Thanks to Martok for reporting the bug: 243 http://www.mail-archive.com/xz-devel@tukaani.org/msg00261.html 244 245 configure.ac | 2 +- 246 src/xz/file_io.c | 18 ++++++++++++++++++ 247 2 files changed, 19 insertions(+), 1 deletion(-) 248 249commit 1ddc479851139d6e8202e5835421bfe6578d9e07 250Author: Lasse Collin <lasse.collin@tukaani.org> 251Date: 2016-06-16 22:46:02 +0300 252 253 xz: Silence warnings from -Wlogical-op. 254 255 Thanks to Evan Nemerson. 256 257 src/xz/file_io.c | 12 ++++++++++-- 258 1 file changed, 10 insertions(+), 2 deletions(-) 259 260commit be647ff5ed5a1c244a65722af6ce250259f3b14a 261Author: Lasse Collin <lasse.collin@tukaani.org> 262Date: 2016-04-10 20:55:49 +0300 263 264 Build: Fix = to += for xz_SOURCES in src/xz/Makefile.am. 265 266 Thanks to Christian Kujau. 267 268 src/xz/Makefile.am | 2 +- 269 1 file changed, 1 insertion(+), 1 deletion(-) 270 271commit fb6d50c15343831f35305982cefa82053099191d 272Author: Lasse Collin <lasse.collin@tukaani.org> 273Date: 2016-04-10 20:54:17 +0300 274 275 Build: Bump GNU Gettext version requirement to 0.19. 276 277 It silences a few warnings and most people probably have 278 0.19 even on stable distributions. 279 280 Thanks to Christian Kujau. 281 282 configure.ac | 2 +- 283 1 file changed, 1 insertion(+), 1 deletion(-) 284 285commit 74f8dad9f912a2993768d93d108ea2b0b2c196e0 286Author: Lasse Collin <lasse.collin@tukaani.org> 287Date: 2016-03-13 20:21:49 +0200 288 289 liblzma: Disable external SHA-256 by default. 290 291 This is the sane thing to do. The conflict with OpenSSL 292 on some OSes and especially that the OS-provided versions 293 can be significantly slower makes it clear that it was 294 a mistake to have the external SHA-256 support enabled by 295 default. 296 297 Those who want it can now pass --enable-external-sha256 to 298 configure. INSTALL was updated with notes about OSes where 299 this can be a bad idea. 300 301 The SHA-256 detection code in configure.ac had some bugs that 302 could lead to a build failure in some situations. These were 303 fixed, although it doesn't matter that much now that the 304 external SHA-256 is disabled by default. 305 306 MINIX >= 3.2.0 uses NetBSD's libc and thus has SHA256_Init 307 in libc instead of libutil. Support for the libutil version 308 was removed. 309 310 INSTALL | 36 ++++++++++++++++++++++ 311 configure.ac | 76 +++++++++++++++++++++++------------------------ 312 src/liblzma/check/check.h | 16 ++++------ 313 3 files changed, 79 insertions(+), 49 deletions(-) 314 315commit ea7f6ff04cb5bb1498088eb09960a4c3f13dfe39 316Author: Lasse Collin <lasse.collin@tukaani.org> 317Date: 2016-03-10 20:27:05 +0200 318 319 Update THANKS. 320 321 THANKS | 1 + 322 1 file changed, 1 insertion(+) 323 324commit d0e018016b311232e82d9a98dc68f1e3dabce794 325Author: Lasse Collin <lasse.collin@tukaani.org> 326Date: 2016-03-10 20:26:49 +0200 327 328 Build: Avoid SHA256_Init on FreeBSD and MINIX 3. 329 330 On FreeBSD 10 and older, SHA256_Init from libmd conflicts 331 with libcrypto from OpenSSL. The OpenSSL version has 332 different sizeof(SHA256_CTX) and it can cause weird 333 problems if wrong SHA256_Init gets used. 334 335 Looking at the source, MINIX 3 seems to have a similar issue but 336 I'm not sure. To be safe, I disabled SHA256_Init on MINIX 3 too. 337 338 NetBSD has SHA256_Init in libc and they had a similar problem, 339 but they already fixed it in 2009. 340 341 Thanks to Jim Wilcoxson for the bug report that helped 342 in finding the problem. 343 344 configure.ac | 27 +++++++++++++++++++++------ 345 1 file changed, 21 insertions(+), 6 deletions(-) 346 347commit 5daae123915f32a4ed6dc948b831533c2d1beec3 348Author: Lasse Collin <lasse.collin@tukaani.org> 349Date: 2015-11-08 20:16:10 +0200 350 351 tuklib_physmem: Hopefully silence a warning on Windows. 352 353 src/common/tuklib_physmem.c | 3 ++- 354 1 file changed, 2 insertions(+), 1 deletion(-) 355 356commit 491acc406e098167ccb7fce0728b94c2f32cff9f 357Author: Lasse Collin <lasse.collin@tukaani.org> 358Date: 2015-11-04 23:17:43 +0200 359 360 Update THANKS. 361 362 THANKS | 1 + 363 1 file changed, 1 insertion(+) 364 365commit 8173ff8790ad3502d04e1c07d014cb84a3b8187b 366Author: Lasse Collin <lasse.collin@tukaani.org> 367Date: 2015-11-04 23:14:00 +0200 368 369 liblzma: Make Valgrind happier with optimized (gcc -O2) liblzma. 370 371 When optimizing, GCC can reorder code so that an uninitialized 372 value gets used in a comparison, which makes Valgrind unhappy. 373 It doesn't happen when compiled with -O0, which I tend to use 374 when running Valgrind. 375 376 Thanks to Rich Prohaska. I remember this being mentioned long 377 ago by someone else but nothing was done back then. 378 379 src/liblzma/lz/lz_encoder.c | 4 ++++ 380 1 file changed, 4 insertions(+) 381 382commit 013de2b5ab8094d2c82a2771f3d143eeb656eda9 383Author: Lasse Collin <lasse.collin@tukaani.org> 384Date: 2015-11-03 20:55:45 +0200 385 386 liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c. 387 388 It would be too annoying to update other build systems 389 just because of this. 390 391 src/liblzma/lzma/Makefile.inc | 2 +- 392 src/liblzma/lzma/{lzma_presets.c => lzma_encoder_presets.c} | 2 +- 393 2 files changed, 2 insertions(+), 2 deletions(-) 394 395commit a322f70ad96de88968c2c36e6a36bc08ae30bd20 396Author: Lasse Collin <lasse.collin@tukaani.org> 397Date: 2015-11-03 20:47:07 +0200 398 399 Build: Disable xzdec, lzmadec, and lzmainfo when they cannot be built. 400 401 They all need decoder support and if that isn't available, 402 there's no point trying to build them. 403 404 configure.ac | 3 +++ 405 1 file changed, 3 insertions(+) 406 407commit 8ea49606cf6427e32319de7693eca9e43f1c8ad6 408Author: Lasse Collin <lasse.collin@tukaani.org> 409Date: 2015-11-03 20:35:19 +0200 410 411 Build: Simplify $enable_{encoders,decoders} usage a bit. 412 413 configure.ac | 6 ++++-- 414 1 file changed, 4 insertions(+), 2 deletions(-) 415 416commit 42131a25e52bfe400acfa7df93469a96bb78bb78 417Author: Lasse Collin <lasse.collin@tukaani.org> 418Date: 2015-11-03 20:31:31 +0200 419 420 Windows/MSVC: Update config.h. 421 422 windows/config.h | 6 ++++++ 423 1 file changed, 6 insertions(+) 424 425commit e9184e87cc989d14c7413e6adb3eca98f6ae0290 426Author: Lasse Collin <lasse.collin@tukaani.org> 427Date: 2015-11-03 20:29:58 +0200 428 429 DOS: Update config.h. 430 431 dos/config.h | 6 ++++++ 432 1 file changed, 6 insertions(+) 433 434commit 2296778f3c9a1e3a8699973b09dd3610b8baa402 435Author: Lasse Collin <lasse.collin@tukaani.org> 436Date: 2015-11-03 20:29:33 +0200 437 438 xz: Make xz buildable even when encoders or decoders are disabled. 439 440 The patch is quite long but it's mostly about adding new #ifdefs 441 to omit code when encoders or decoders have been disabled. 442 443 This adds two new #defines to config.h: HAVE_ENCODERS and 444 HAVE_DECODERS. 445 446 configure.ac | 4 ++++ 447 src/xz/Makefile.am | 8 ++++++-- 448 src/xz/args.c | 16 ++++++++++++++++ 449 src/xz/coder.c | 33 +++++++++++++++++++++++++-------- 450 src/xz/main.c | 9 +++++++-- 451 src/xz/private.h | 5 ++++- 452 6 files changed, 62 insertions(+), 13 deletions(-) 453 454commit 97a3109281e475d9cf1b5095237d672fa0ad25e5 455Author: Lasse Collin <lasse.collin@tukaani.org> 456Date: 2015-11-03 18:06:40 +0200 457 458 Build: Build LZMA1/2 presets also when only decoder is wanted. 459 460 People shouldn't rely on the presets when decoding raw streams, 461 but xz uses the presets as the starting point for raw decoder 462 options anyway. 463 464 lzma_encocder_presets.c was renamed to lzma_presets.c to 465 make it clear it's not used solely by the encoder code. 466 467 src/liblzma/lzma/Makefile.inc | 6 +++++- 468 src/liblzma/lzma/{lzma_encoder_presets.c => lzma_presets.c} | 3 ++- 469 2 files changed, 7 insertions(+), 2 deletions(-) 470 471commit dc6b78d7f0f6fe43e9d4215146e8581feb8090e7 472Author: Lasse Collin <lasse.collin@tukaani.org> 473Date: 2015-11-03 17:54:48 +0200 474 475 Build: Fix configure to handle LZMA1 dependency with LZMA2. 476 477 Now it gives an error if LZMA1 encoder/decoder is missing 478 when LZMA2 encoder/decoder was requested. Even better would 479 be LZMA2 implicitly enabling LZMA1 but it would need more code. 480 481 configure.ac | 5 ----- 482 1 file changed, 5 deletions(-) 483 484commit 46d76c9cd3cb26a31f5ae6c3a8bbcf38e6da1add 485Author: Lasse Collin <lasse.collin@tukaani.org> 486Date: 2015-11-03 17:41:54 +0200 487 488 Build: Don't omit lzma_cputhreads() unless using --disable-threads. 489 490 Previously it was omitted if encoders were disabled 491 with --disable-encoders. It didn't make sense and 492 it also broke the build. 493 494 src/liblzma/common/Makefile.inc | 5 ++++- 495 1 file changed, 4 insertions(+), 1 deletion(-) 496 497commit 16d68f874d89f1e4a1919786a35bbaef7d71a077 498Author: Lasse Collin <lasse.collin@tukaani.org> 499Date: 2015-11-02 18:16:51 +0200 500 501 liblzma: Fix a build failure related to external SHA-256 support. 502 503 If an appropriate header and structure were found by configure, 504 but a library with a usable SHA-256 functions wasn't, the build 505 failed. 506 507 src/liblzma/check/check.h | 32 +++++++++++++++++++++++--------- 508 1 file changed, 23 insertions(+), 9 deletions(-) 509 510commit d9311647fc1ab512a3394596221ab8039c00af6b 511Author: Lasse Collin <lasse.collin@tukaani.org> 512Date: 2015-11-02 15:19:10 +0200 513 514 xz: Always close the file before trying to delete it. 515 516 unlink() can return EBUSY in errno for open files on some 517 operating systems and file systems. 518 519 src/xz/file_io.c | 25 ++++++++++++------------- 520 1 file changed, 12 insertions(+), 13 deletions(-) 521 522commit f59c4183f3c9066626ce45dc3db4642fa603fa21 523Author: Lasse Collin <lasse.collin@tukaani.org> 524Date: 2015-10-12 21:08:42 +0300 525 526 Update THANKS. 527 528 THANKS | 1 + 529 1 file changed, 1 insertion(+) 530 531commit 35f189673e280c12e4c5129f9f97e54eef3bbc04 532Author: Lasse Collin <lasse.collin@tukaani.org> 533Date: 2015-10-12 21:07:41 +0300 534 535 Tests: Add tests for the two bugs fixed in index.c. 536 537 tests/test_index.c | 30 ++++++++++++++++++++++++++++++ 538 1 file changed, 30 insertions(+) 539 540commit e10bfdb0fcaff12f3a6dadee51e0a022aadccb51 541Author: Lasse Collin <lasse.collin@tukaani.org> 542Date: 2015-10-12 20:45:15 +0300 543 544 liblzma: Fix lzma_index_dup() for empty Streams. 545 546 Stream Flags and Stream Padding weren't copied from 547 empty Streams. 548 549 src/liblzma/common/index.c | 11 ++++++----- 550 1 file changed, 6 insertions(+), 5 deletions(-) 551 552commit 06f434bd8980f25ca23232eb7bb7df7e37dc8448 553Author: Lasse Collin <lasse.collin@tukaani.org> 554Date: 2015-10-12 20:31:44 +0300 555 556 liblzma: Add a note to index.c for those using static analyzers. 557 558 src/liblzma/common/index.c | 3 +++ 559 1 file changed, 3 insertions(+) 560 561commit 9815cdf6987ef91a85493bfcfd1ce2aaf3b47a0a 562Author: Lasse Collin <lasse.collin@tukaani.org> 563Date: 2015-09-29 13:59:35 +0300 564 565 Bump version and soname for 5.2.2. 566 567 src/liblzma/Makefile.am | 2 +- 568 src/liblzma/api/lzma/version.h | 2 +- 569 2 files changed, 2 insertions(+), 2 deletions(-) 570 571commit cbe0cec8476bdd0416c7ca9bc83895c9bea1cf78 572Author: Lasse Collin <lasse.collin@tukaani.org> 573Date: 2015-09-29 13:57:28 +0300 574 575 Update NEWS for 5.2.2. 576 577 NEWS | 18 ++++++++++++++++++ 578 1 file changed, 18 insertions(+) 579 580commit 49427ce7eececdd18bbd35dab23c81910d083e1c 581Author: Andre Noll <maan@tuebingen.mpg.de> 582Date: 2015-05-28 15:50:00 +0200 583 584 Fix typo in German translation. 585 586 As pointed out by Robert Pollak, there's a typo in the German 587 translation of the compression preset option (-0 ... -9) help text. 588 "The compressor" translates to "der Komprimierer", and the genitive 589 form is "des Komprimierers". The old word makes no sense at all. 590 591 po/de.po | 2 +- 592 1 file changed, 1 insertion(+), 1 deletion(-) 593 594commit 608d6f06c940e7f28c25de005e8b99bdff42d27c 595Author: Hauke Henningsen <sqrt@entless.org> 596Date: 2015-08-17 04:59:54 +0200 597 598 Update German translation, mostly wrt orthography 599 600 Provide an update of the German translation. 601 * A lot of compound words were previously written with spaces, while 602 German orthography is relatively clear in that the components 603 should not be separated. 604 * When referring to the actual process of (de)compression rather than the 605 concept, replace “(De-)Kompression” with “(De-)Komprimierung”. 606 Previously, both forms were used in this context and are now used in a 607 manner consistent with “Komprimierung” being more likely to refer to 608 a process. 609 * Consistently translate “standard input”/“output” 610 * Use “Zeichen” instead of false friend “Charakter” for “character” 611 * Insert commas around relative clauses (as required in German) 612 * Some other minor corrections 613 * Capitalize “ß” as “ẞ” 614 * Consistently start option descriptions in --help with capital letters 615 616 Acked-By: Andre Noll <maan@tuebingen.mpg.de> 617 618 * Update after msgmerge 619 620 po/de.po | 383 ++++++++++++++++++++++++++++++++------------------------------- 621 1 file changed, 196 insertions(+), 187 deletions(-) 622 623commit c8988414e5b67b8ef2fe0ba7b1ccdd0ec73c60d3 624Author: Lasse Collin <lasse.collin@tukaani.org> 625Date: 2015-08-11 13:23:04 +0300 626 627 Build: Minor Cygwin cleanup. 628 629 Some tests used "cygwin*" and some used "cygwin". I changed 630 them all to use "cygwin". Shouldn't affect anything in practice. 631 632 configure.ac | 6 +++--- 633 1 file changed, 3 insertions(+), 3 deletions(-) 634 635commit 85a6dfed53477906bfe9a7c0123dd412e391cb48 636Author: Lasse Collin <lasse.collin@tukaani.org> 637Date: 2015-08-11 13:21:52 +0300 638 639 Build: Support building of MSYS2 binaries. 640 641 configure.ac | 16 +++++++++++----- 642 1 file changed, 11 insertions(+), 5 deletions(-) 643 644commit 77f270be8432df2e4516a0c48814b6976d6618c5 645Author: Lasse Collin <lasse.collin@tukaani.org> 646Date: 2015-08-09 21:06:26 +0300 647 648 Windows: Define DLL_EXPORT when building liblzma.dll with MSVC. 649 650 src/liblzma/common/common.h uses it to set __declspec(dllexport) 651 for the API symbols. 652 653 Thanks to Adam Walling. 654 655 windows/liblzma_dll.vcxproj | 12 ++++++------ 656 1 file changed, 6 insertions(+), 6 deletions(-) 657 658commit 8c975446c5903090a5a8493b5b96b71003056a88 659Author: Lasse Collin <lasse.collin@tukaani.org> 660Date: 2015-08-09 21:02:20 +0300 661 662 Windows: Omit unneeded header files from MSVC project files. 663 664 windows/liblzma.vcxproj | 5 ----- 665 windows/liblzma_dll.vcxproj | 5 ----- 666 2 files changed, 10 deletions(-) 667 668commit 119a00434954726ca58e4a578e6469f530fca30e 669Author: Lasse Collin <lasse.collin@tukaani.org> 670Date: 2015-07-12 20:48:19 +0300 671 672 liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer. 673 674 src/liblzma/api/lzma.h | 18 +++++++++++++----- 675 1 file changed, 13 insertions(+), 5 deletions(-) 676 677commit d4e7c557fcab353539c9481a8d95cb04bcb15c7c 678Author: Lasse Collin <lasse.collin@tukaani.org> 679Date: 2015-06-19 20:38:55 +0300 680 681 Update THANKS. 682 683 THANKS | 2 ++ 684 1 file changed, 2 insertions(+) 685 686commit 98001740ca56c894a7bd32eb47e9857a8a7d878d 687Author: Lasse Collin <lasse.collin@tukaani.org> 688Date: 2015-06-19 20:21:30 +0300 689 690 Windows: Update the docs. 691 692 INSTALL | 29 ++++++++----- 693 windows/INSTALL-MSVC.txt | 47 ++++++++++++++++++++++ 694 windows/{INSTALL-Windows.txt => INSTALL-MinGW.txt} | 2 +- 695 3 files changed, 67 insertions(+), 11 deletions(-) 696 697commit 28195e4c877007cc760ecea1d17f740693d66873 698Author: Lasse Collin <lasse.collin@tukaani.org> 699Date: 2015-06-19 17:25:31 +0300 700 701 Windows: Add MSVC project files for building liblzma. 702 703 Thanks to Adam Walling for creating these files. 704 705 windows/liblzma.vcxproj | 359 ++++++++++++++++++++++++++++++++++++++++ 706 windows/liblzma_dll.vcxproj | 388 ++++++++++++++++++++++++++++++++++++++++++++ 707 windows/xz_win.sln | 48 ++++++ 708 3 files changed, 795 insertions(+) 709 710commit 960440f3230dc628f6966d9f7614fc1b28baf44e 711Author: Lasse Collin <lasse.collin@tukaani.org> 712Date: 2015-05-13 20:57:55 +0300 713 714 Tests: Fix a memory leak in test_bcj_exact_size. 715 716 Thanks to Cristian Rodríguez. 717 718 tests/test_bcj_exact_size.c | 1 + 719 1 file changed, 1 insertion(+) 720 721commit 68cd35acafbdcdf4e8ea8b5bb843c736939d6f8b 722Author: Lasse Collin <lasse.collin@tukaani.org> 723Date: 2015-05-12 18:08:24 +0300 724 725 Fix NEWS about threading in 5.2.0. 726 727 Thanks to Andy Hochhaus. 728 729 NEWS | 3 ++- 730 1 file changed, 2 insertions(+), 1 deletion(-) 731 732commit ff96ed6d25786728356017a13baf8c14731b4f1e 733Author: Lasse Collin <lasse.collin@tukaani.org> 734Date: 2015-05-11 21:26:16 +0300 735 736 xz: Document that threaded decompression hasn't been implemented yet. 737 738 src/xz/xz.1 | 10 +++++++++- 739 1 file changed, 9 insertions(+), 1 deletion(-) 740 741commit 00d37b64a64ea8597fd2422d5187afd761ab9531 742Author: Lasse Collin <lasse.collin@tukaani.org> 743Date: 2015-04-20 20:20:29 +0300 744 745 Update THANKS. 746 747 THANKS | 1 + 748 1 file changed, 1 insertion(+) 749 750commit db190a832c49ca3aed6d69cc992fa5583cae7b11 751Author: Lasse Collin <lasse.collin@tukaani.org> 752Date: 2015-04-20 19:59:18 +0300 753 754 Revert "xz: Use pipe2() if available." 755 756 This reverts commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd. 757 It is a problem when libc has pipe2() but the kernel is too 758 old to have pipe2() and thus pipe2() fails. In xz it's pointless 759 to have a fallback for non-functioning pipe2(); it's better to 760 avoid pipe2() completely. 761 762 Thanks to Michael Fox for the bug report. 763 764 configure.ac | 4 ++-- 765 src/xz/file_io.c | 9 +-------- 766 2 files changed, 3 insertions(+), 10 deletions(-) 767 768commit eccd8155e107c5ada03d13e7730675cdf1a44ddc 769Author: Lasse Collin <lasse.collin@tukaani.org> 770Date: 2015-03-29 22:14:47 +0300 771 772 Update THANKS. 773 774 THANKS | 1 + 775 1 file changed, 1 insertion(+) 776 777commit 25263fd9e7a8a913395cb93d7c104cd48c2b4a00 778Author: Lasse Collin <lasse.collin@tukaani.org> 779Date: 2015-03-29 22:13:48 +0300 780 781 Fix the detection of installed RAM on QNX. 782 783 The earlier version compiled but didn't actually work 784 since sysconf(_SC_PHYS_PAGES) always fails (or so I was told). 785 786 Thanks to Ole André Vadla Ravnås for the patch and testing. 787 788 m4/tuklib_physmem.m4 | 6 +++--- 789 src/common/tuklib_physmem.c | 14 +++++++++++++- 790 2 files changed, 16 insertions(+), 4 deletions(-) 791 792commit 4c544d2410903d38402221cb783ed85585b6a007 793Author: Lasse Collin <lasse.collin@tukaani.org> 794Date: 2015-03-27 22:39:07 +0200 795 796 Fix CPU core count detection on QNX. 797 798 It tried to use sysctl() on QNX but 799 - it broke the build because sysctl() needs -lsocket on QNX; 800 - sysctl() doesn't work for detecting the core count on QNX 801 even if it compiled. 802 803 sysconf() works. An alternative would have been to use 804 QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>. 805 806 Thanks to Ole André Vadla Ravnås. 807 808 m4/tuklib_cpucores.m4 | 15 +++++++++++---- 809 1 file changed, 11 insertions(+), 4 deletions(-) 810 811commit e0ea6737b03e83ccaff4514d00e31bb926f8f0f3 812Author: Lasse Collin <lasse.collin@tukaani.org> 813Date: 2015-03-07 22:05:57 +0200 814 815 xz: size_t/uint32_t cleanup in options.c. 816 817 src/xz/options.c | 12 ++++++------ 818 1 file changed, 6 insertions(+), 6 deletions(-) 819 820commit 8bcca29a65335fd679c13814b70b35b68fa5daed 821Author: Lasse Collin <lasse.collin@tukaani.org> 822Date: 2015-03-07 22:04:23 +0200 823 824 xz: Fix a comment and silence a warning in message.c. 825 826 src/xz/message.c | 5 +++-- 827 1 file changed, 3 insertions(+), 2 deletions(-) 828 829commit f243f5f44c6b19a7c289a0ec73a03ee08364cb5b 830Author: Lasse Collin <lasse.collin@tukaani.org> 831Date: 2015-03-07 22:01:00 +0200 832 833 liblzma: Silence more uint32_t vs. size_t warnings. 834 835 src/liblzma/lz/lz_encoder.c | 2 +- 836 src/liblzma/lzma/lzma_encoder.c | 2 +- 837 2 files changed, 2 insertions(+), 2 deletions(-) 838 839commit 7f0a4c50f4a374c40acf4b86848f301ad1e82d34 840Author: Lasse Collin <lasse.collin@tukaani.org> 841Date: 2015-03-07 19:54:00 +0200 842 843 xz: Make arg_count an unsigned int to silence a warning. 844 845 Actually the value of arg_count cannot exceed INT_MAX 846 but it's nicer as an unsigned int. 847 848 src/xz/args.h | 2 +- 849 src/xz/main.c | 2 +- 850 2 files changed, 2 insertions(+), 2 deletions(-) 851 852commit f6ec46801588b1be29c07c9db98558b521304002 853Author: Lasse Collin <lasse.collin@tukaani.org> 854Date: 2015-03-07 19:33:17 +0200 855 856 liblzma: Fix a warning in index.c. 857 858 src/liblzma/common/index.c | 4 +++- 859 1 file changed, 3 insertions(+), 1 deletion(-) 860 861commit a24518971cc621315af142dd3bb7614fab04ad27 862Author: Lasse Collin <lasse.collin@tukaani.org> 863Date: 2015-02-26 20:46:14 +0200 864 865 Build: Fix a CR+LF problem when running autoreconf -fi on OS/2. 866 867 build-aux/version.sh | 2 +- 868 1 file changed, 1 insertion(+), 1 deletion(-) 869 870commit dec11497a71518423b5ff0e759100cf8aadf6c7b 871Author: Lasse Collin <lasse.collin@tukaani.org> 872Date: 2015-02-26 16:53:44 +0200 873 874 Bump version and soname for 5.2.1. 875 876 src/liblzma/Makefile.am | 2 +- 877 src/liblzma/api/lzma/version.h | 2 +- 878 2 files changed, 2 insertions(+), 2 deletions(-) 879 880commit 29e39c79975ab89ee5dd671e97064534a9f3a649 881Author: Lasse Collin <lasse.collin@tukaani.org> 882Date: 2015-02-26 13:01:09 +0200 883 884 Update NEWS for 5.2.1. 885 886 NEWS | 14 ++++++++++++++ 887 1 file changed, 14 insertions(+) 888 889commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd 890Author: Lasse Collin <lasse.collin@tukaani.org> 891Date: 2015-02-22 19:38:48 +0200 892 893 xz: Use pipe2() if available. 894 895 configure.ac | 4 ++-- 896 src/xz/file_io.c | 9 ++++++++- 897 2 files changed, 10 insertions(+), 3 deletions(-) 898 899commit 117d962685c72682c63edc9bb765367189800202 900Author: Lasse Collin <lasse.collin@tukaani.org> 901Date: 2015-02-21 23:40:26 +0200 902 903 liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode. 904 905 The bug was added in the commit 906 f48fce093b07aeda95c18850f5e086d9f2383380 and thus 907 affected 5.1.4beta and 5.2.0. Luckily the bug cannot 908 cause data corruption or other nasty things. 909 910 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 911 1 file changed, 1 insertion(+), 1 deletion(-) 912 913commit ae984e31c167d3bc52972ec422dd1ebd5f5d5719 914Author: Lasse Collin <lasse.collin@tukaani.org> 915Date: 2015-02-21 23:00:19 +0200 916 917 xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick. 918 919 Now it reads the old flags instead of blindly setting O_NONBLOCK. 920 The old code may have worked correctly, but this is better. 921 922 src/xz/file_io.c | 16 +++++++++++----- 923 1 file changed, 11 insertions(+), 5 deletions(-) 924 925commit 2205bb5853098aea36a56df6f5747037175f66b4 926Author: Lasse Collin <lasse.collin@tukaani.org> 927Date: 2015-02-10 15:29:34 +0200 928 929 Update THANKS. 930 931 THANKS | 1 + 932 1 file changed, 1 insertion(+) 933 934commit d935b0cdf3db440269b9d952b2b281b18f8c7b08 935Author: Lasse Collin <lasse.collin@tukaani.org> 936Date: 2015-02-10 15:28:30 +0200 937 938 tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available. 939 940 In FreeBSD, cpuset_getaffinity() is the preferred way to get 941 the number of available cores. 942 943 Thanks to Rui Paulo for the patch. I edited it slightly, but 944 hopefully I didn't break anything. 945 946 m4/tuklib_cpucores.m4 | 23 ++++++++++++++++++++++- 947 src/common/tuklib_cpucores.c | 18 ++++++++++++++++++ 948 2 files changed, 40 insertions(+), 1 deletion(-) 949 950commit eb61bc58c20769cac4d05f363b9c0e8c9c71a560 951Author: Lasse Collin <lasse.collin@tukaani.org> 952Date: 2015-02-09 22:08:37 +0200 953 954 xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp. 955 956 Thanks to Rui Paulo for the fix. 957 958 src/scripts/xzdiff.in | 7 ++++++- 959 1 file changed, 6 insertions(+), 1 deletion(-) 960 961commit b9a5b6b7a29029680af733082b6a46e0fc01623a 962Author: Lasse Collin <lasse.collin@tukaani.org> 963Date: 2015-02-03 21:45:53 +0200 964 965 Add a few casts to tuklib_integer.h to silence possible warnings. 966 967 I heard that Visual Studio 2013 gave warnings without the casts. 968 969 Thanks to Gabi Davar. 970 971 src/common/tuklib_integer.h | 24 ++++++++++++------------ 972 1 file changed, 12 insertions(+), 12 deletions(-) 973 974commit c45757135f40e4a0de730ba5fff0100219493982 975Author: Lasse Collin <lasse.collin@tukaani.org> 976Date: 2015-01-26 21:24:39 +0200 977 978 liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method. 979 980 src/liblzma/common/memcmplen.h | 15 ++++++++++----- 981 1 file changed, 10 insertions(+), 5 deletions(-) 982 983commit 3c500174ed5485f550972a2a6109c361e875f069 984Author: Lasse Collin <lasse.collin@tukaani.org> 985Date: 2015-01-26 20:40:16 +0200 986 987 Update THANKS. 988 989 THANKS | 1 + 990 1 file changed, 1 insertion(+) 991 992commit fec88d41e672d9e197c9442aecf02bd0dfa6d516 993Author: Lasse Collin <lasse.collin@tukaani.org> 994Date: 2015-01-26 20:39:28 +0200 995 996 liblzma: Silence harmless Valgrind errors. 997 998 Thanks to Torsten Rupp for reporting this. I had 999 forgotten to run Valgrind before the 5.2.0 release. 1000 1001 src/liblzma/lz/lz_encoder.c | 6 ++++++ 1002 1 file changed, 6 insertions(+) 1003 1004commit a9b45badfec0928d20a27c7176c005fa637f7d1e 1005Author: Lasse Collin <lasse.collin@tukaani.org> 1006Date: 2015-01-09 21:50:19 +0200 1007 1008 xz: Fix comments. 1009 1010 src/xz/file_io.c | 12 ++++++++---- 1011 1 file changed, 8 insertions(+), 4 deletions(-) 1012 1013commit 541aee6dd4aa97a809aba281475a21b641bb89e2 1014Author: Lasse Collin <lasse.collin@tukaani.org> 1015Date: 2015-01-09 21:35:06 +0200 1016 1017 Update THANKS. 1018 1019 THANKS | 1 + 1020 1 file changed, 1 insertion(+) 1021 1022commit 4170edc914655310d2363baccf5e615e09b04911 1023Author: Lasse Collin <lasse.collin@tukaani.org> 1024Date: 2015-01-09 21:34:06 +0200 1025 1026 xz: Don't fail if stdout doesn't support O_NONBLOCK. 1027 1028 This is similar to the case with stdin. 1029 1030 Thanks to Brad Smith for the bug report and testing 1031 on OpenBSD. 1032 1033 src/xz/file_io.c | 36 +++++++++++++++--------------------- 1034 1 file changed, 15 insertions(+), 21 deletions(-) 1035 1036commit 04bbc0c2843c50c8ad1cba42b937118e38b0508d 1037Author: Lasse Collin <lasse.collin@tukaani.org> 1038Date: 2015-01-07 19:18:20 +0200 1039 1040 xz: Fix a memory leak in DOS-specific code. 1041 1042 src/xz/file_io.c | 2 ++ 1043 1 file changed, 2 insertions(+) 1044 1045commit f0f1f6c7235ffa901cf76fe18e33749e200b3eea 1046Author: Lasse Collin <lasse.collin@tukaani.org> 1047Date: 2015-01-07 19:08:06 +0200 1048 1049 xz: Don't fail if stdin doesn't support O_NONBLOCK. 1050 1051 It's a problem at least on OpenBSD which doesn't support 1052 O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's 1053 a problem on other OSes too since this behavior is allowed 1054 in POSIX-1.2008. 1055 1056 The code relying on this behavior was committed in June 2013 1057 and included in 5.1.3alpha released on 2013-10-26. Clearly 1058 the development releases only get limited testing. 1059 1060 src/xz/file_io.c | 18 +++++++----------- 1061 1 file changed, 7 insertions(+), 11 deletions(-) 1062 1063commit d2d484647d9d9d679f03c75abb0404f67069271c 1064Author: Lasse Collin <lasse.collin@tukaani.org> 1065Date: 2015-01-06 20:30:15 +0200 1066 1067 Tests: Don't hide unexpected error messages in test_files.sh. 1068 1069 Hiding them makes no sense since normally there's no error 1070 when testing the "good" files. With "bad" files errors are 1071 expected and then it makes sense to keep the messages hidden. 1072 1073 tests/test_files.sh | 4 ++-- 1074 1 file changed, 2 insertions(+), 2 deletions(-) 1075 1076commit aae6a6aeda51cf94a47e39ad624728f9bee75e30 1077Author: Lasse Collin <lasse.collin@tukaani.org> 1078Date: 2014-12-30 11:17:16 +0200 1079 1080 Update Solaris notes in INSTALL. 1081 1082 Mention the possible "make check" failure on Solaris in the 1083 Solaris-specific section of INSTALL. It was already in 1084 section 4.5 but it is better mention it in the OS-specific 1085 section too. 1086 1087 INSTALL | 4 ++++ 1088 1 file changed, 4 insertions(+) 1089 1090commit 7815112153178800a3521b9f31960e7cdc26cfba 1091Author: Lasse Collin <lasse.collin@tukaani.org> 1092Date: 2014-12-26 12:00:05 +0200 1093 1094 Build: POSIX shell isn't required if scripts are disabled. 1095 1096 INSTALL | 3 ++- 1097 configure.ac | 2 +- 1098 2 files changed, 3 insertions(+), 2 deletions(-) 1099 1100commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a 1101Author: Lasse Collin <lasse.collin@tukaani.org> 1102Date: 2014-12-21 20:48:37 +0200 1103 1104 DOS: Update Makefile. 1105 1106 dos/Makefile | 1 + 1107 1 file changed, 1 insertion(+) 1108 1109commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e 1110Author: Lasse Collin <lasse.collin@tukaani.org> 1111Date: 2014-12-21 19:50:38 +0200 1112 1113 Windows: Fix bin_i486 to bin_i686 in build.bash. 1114 1115 windows/build.bash | 2 +- 1116 1 file changed, 1 insertion(+), 1 deletion(-) 1117 1118commit cbafa710918195dbba3db02c3fab4f0538235206 1119Author: Lasse Collin <lasse.collin@tukaani.org> 1120Date: 2014-12-21 18:58:44 +0200 1121 1122 Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c. 1123 1124 doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++---- 1125 1 file changed, 26 insertions(+), 4 deletions(-) 1126 1127commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a 1128Author: Lasse Collin <lasse.collin@tukaani.org> 1129Date: 2014-12-21 18:56:44 +0200 1130 1131 Docs: Update docs/examples/00_README.txt. 1132 1133 doc/examples/00_README.txt | 4 ++++ 1134 1 file changed, 4 insertions(+) 1135 1136commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6 1137Author: Lasse Collin <lasse.collin@tukaani.org> 1138Date: 2014-12-21 18:11:17 +0200 1139 1140 Bump version and soname for 5.2.0. 1141 1142 I know that soname != app version, but I skip AGE=1 1143 in -version-info to make the soname match the liblzma 1144 version anyway. It doesn't hurt anything as long as 1145 it doesn't conflict with library versioning rules. 1146 1147 src/liblzma/Makefile.am | 2 +- 1148 src/liblzma/api/lzma/version.h | 6 +++--- 1149 src/liblzma/liblzma.map | 2 +- 1150 3 files changed, 5 insertions(+), 5 deletions(-) 1151 1152commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da 1153Author: Lasse Collin <lasse.collin@tukaani.org> 1154Date: 2014-12-21 18:05:03 +0200 1155 1156 Avoid variable-length arrays in the debug programs. 1157 1158 debug/full_flush.c | 3 ++- 1159 debug/sync_flush.c | 3 ++- 1160 2 files changed, 4 insertions(+), 2 deletions(-) 1161 1162commit 72f7307cfdceb941aeb2bf30d424cc0d13621786 1163Author: Lasse Collin <lasse.collin@tukaani.org> 1164Date: 2014-12-21 18:01:45 +0200 1165 1166 Build: Include 04_compress_easy_mt.c in the tarball. 1167 1168 Makefile.am | 1 + 1169 1 file changed, 1 insertion(+) 1170 1171commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0 1172Author: Lasse Collin <lasse.collin@tukaani.org> 1173Date: 2014-12-21 18:00:38 +0200 1174 1175 Fix build when --disable-threads is used. 1176 1177 src/common/mythread.h | 2 ++ 1178 1 file changed, 2 insertions(+) 1179 1180commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17 1181Author: Adrien Nader <adrien@notk.org> 1182Date: 2014-12-21 15:56:15 +0100 1183 1184 po/fr: improve wording for help for --lzma1/--lzma2. 1185 1186 po/fr.po | 2 +- 1187 1 file changed, 1 insertion(+), 1 deletion(-) 1188 1189commit a8b6b569e7fadbf5b5b9139d53bc764015c15027 1190Author: Adrien Nader <adrien@notk.org> 1191Date: 2014-12-21 15:55:48 +0100 1192 1193 po/fr: missing line in translation of --extreme. 1194 1195 po/fr.po | 1 + 1196 1 file changed, 1 insertion(+) 1197 1198commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9 1199Author: Lasse Collin <lasse.collin@tukaani.org> 1200Date: 2014-12-21 14:32:33 +0200 1201 1202 Update NEWS for 5.2.0. 1203 1204 NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1205 1 file changed, 65 insertions(+) 1206 1207commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429 1208Author: Lasse Collin <lasse.collin@tukaani.org> 1209Date: 2014-12-21 14:32:22 +0200 1210 1211 Update NEWS for 5.0.8. 1212 1213 NEWS | 12 ++++++++++++ 1214 1 file changed, 12 insertions(+) 1215 1216commit 42e97a32649bf53ce43be2258b902a417c6e7fa1 1217Author: Lasse Collin <lasse.collin@tukaani.org> 1218Date: 2014-12-21 14:07:54 +0200 1219 1220 xz: Fix a comment. 1221 1222 src/xz/options.c | 4 ++-- 1223 1 file changed, 2 insertions(+), 2 deletions(-) 1224 1225commit 29b95d5d6665cedffa6a9d6d3d914f981e852182 1226Author: Lasse Collin <lasse.collin@tukaani.org> 1227Date: 2014-12-20 20:43:14 +0200 1228 1229 Update INSTALL about the dependencies of the scripts. 1230 1231 INSTALL | 15 ++++++++++----- 1232 1 file changed, 10 insertions(+), 5 deletions(-) 1233 1234commit 3af91040bb42c21afbb81f5568c3313125e61192 1235Author: Lasse Collin <lasse.collin@tukaani.org> 1236Date: 2014-12-20 20:42:33 +0200 1237 1238 Windows: Update build instructions. 1239 1240 INSTALL | 15 +++++++++------ 1241 windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++----------------------- 1242 2 files changed, 30 insertions(+), 29 deletions(-) 1243 1244commit 0152f72bf6289d744823dc6c849538f3a139ad70 1245Author: Lasse Collin <lasse.collin@tukaani.org> 1246Date: 2014-12-20 20:41:48 +0200 1247 1248 Windows: Update the build script and README-Windows.txt. 1249 1250 The 32-bit build is now for i686 or newer because the 1251 prebuilt MinGW-w64 toolchains include i686 code in the 1252 executables even if one uses -march=i486. 1253 1254 The build script builds 32-bit SSE2 enabled version too. 1255 Run-time detection of SSE2 support would be nice (on any OS) 1256 but it's not implemented in XZ Utils yet. 1257 1258 windows/README-Windows.txt | 30 ++++++++++++++++-------------- 1259 windows/build.bash | 23 ++++++++++++++--------- 1260 2 files changed, 30 insertions(+), 23 deletions(-) 1261 1262commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a 1263Author: Lasse Collin <lasse.collin@tukaani.org> 1264Date: 2014-12-19 15:51:50 +0200 1265 1266 Windows: Define TUKLIB_SYMBOL_PREFIX in config.h. 1267 1268 It is to keep all symbols in the lzma_ namespace. 1269 1270 windows/config.h | 3 +++ 1271 1 file changed, 3 insertions(+) 1272 1273commit 7f7d093de79eee0c7dbfd7433647e46302f19f82 1274Author: Lasse Collin <lasse.collin@tukaani.org> 1275Date: 2014-12-16 21:00:09 +0200 1276 1277 xz: Update the man page about --threads. 1278 1279 src/xz/xz.1 | 5 ----- 1280 1 file changed, 5 deletions(-) 1281 1282commit 009823448b82aa5f465668878a544c5842885407 1283Author: Lasse Collin <lasse.collin@tukaani.org> 1284Date: 2014-12-16 20:57:43 +0200 1285 1286 xz: Update the man page about --block-size. 1287 1288 src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++-------- 1289 1 file changed, 33 insertions(+), 8 deletions(-) 1290 1291commit 7dddfbeb499e528940bc12047355c184644aafe9 1292Author: Adrien Nader <adrien@notk.org> 1293Date: 2014-12-10 22:26:57 +0100 1294 1295 po/fr: several more translation updates: reword and handle --ignore-check. 1296 1297 po/fr.po | 50 ++++++++++++++++++++++++++------------------------ 1298 1 file changed, 26 insertions(+), 24 deletions(-) 1299 1300commit 6eca5be40e04ddc4b738d493e4e56835956d8b69 1301Author: Adrien Nader <adrien@notk.org> 1302Date: 2014-12-10 22:23:01 +0100 1303 1304 po/fr: yet another place where my email address had to be updated. 1305 1306 po/fr.po | 2 +- 1307 1 file changed, 1 insertion(+), 1 deletion(-) 1308 1309commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7 1310Author: Adrien Nader <adrien@notk.org> 1311Date: 2014-12-10 22:22:20 +0100 1312 1313 po/fr: fix several typos that have been around since the beginning. 1314 1315 po/fr.po | 22 +++++++++++----------- 1316 1 file changed, 11 insertions(+), 11 deletions(-) 1317 1318commit 4c5aa911a0df027e46171e368debc543d2fa72b2 1319Author: Adrien Nader <adrien@notk.org> 1320Date: 2014-12-03 20:02:31 +0100 1321 1322 po/fr: last batch of new translations for now. 1323 1324 Four new error messages. 1325 1326 po/fr.po | 16 ++++++++-------- 1327 1 file changed, 8 insertions(+), 8 deletions(-) 1328 1329commit 3e3099e36d27059499e7996fb38a62e8ab01d356 1330Author: Adrien Nader <adrien@notk.org> 1331Date: 2014-12-03 20:01:32 +0100 1332 1333 po/fr: translations for --threads, --block-size and --block-list. 1334 1335 po/fr.po | 12 ++++++++---- 1336 1 file changed, 8 insertions(+), 4 deletions(-) 1337 1338commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53 1339Author: Adrien Nader <adrien@notk.org> 1340Date: 2014-12-03 20:00:53 +0100 1341 1342 po/fr: remove fuzzy marker for error messages that will be kept in English. 1343 1344 The following is a copy of a comment inside fr.po: 1345 1346 Note from translator on "file status flags". 1347 The following entry is kept un-translated on purpose. It is difficult to 1348 translate and should only happen in exceptional circumstances which means 1349 that translating would: 1350 - lose some of the meaning 1351 - make it more difficult to look up in search engines; it might happen one 1352 in 1353 a million times, if we dilute the error message in 20 languages, it will be 1354 almost impossible to find an explanation and support for the error. 1355 1356 po/fr.po | 22 ++++++++++++++++------ 1357 1 file changed, 16 insertions(+), 6 deletions(-) 1358 1359commit 46cbb9033af8a21fafe543302d6919746e0d72af 1360Author: Adrien Nader <adrien@notk.org> 1361Date: 2014-12-03 19:58:25 +0100 1362 1363 po/fr: several minor updates and better wording. 1364 1365 Meaning doesn't change at all: it's only for better wording and/or 1366 formatting of a few strings. 1367 1368 po/fr.po | 14 +++++++------- 1369 1 file changed, 7 insertions(+), 7 deletions(-) 1370 1371commit 7ce49d444f04e73145f79c832eb4d510594b074a 1372Author: Adrien Nader <adrien@notk.org> 1373Date: 2014-12-03 19:56:12 +0100 1374 1375 po/fr: update my email address and copyright years. 1376 1377 po/fr.po | 4 ++-- 1378 1 file changed, 2 insertions(+), 2 deletions(-) 1379 1380commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c 1381Author: Adrien Nader <adrien@notk.org> 1382Date: 2014-11-26 10:08:26 +0100 1383 1384 fr.po: commit file after only "update-po" so actual is readable. 1385 1386 po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++----------------------- 1387 1 file changed, 199 insertions(+), 112 deletions(-) 1388 1389commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b 1390Author: Lasse Collin <lasse.collin@tukaani.org> 1391Date: 2014-12-02 20:04:07 +0200 1392 1393 liblzma: Document how lzma_mt.block_size affects memory usage. 1394 1395 src/liblzma/api/lzma/container.h | 4 ++++ 1396 1 file changed, 4 insertions(+) 1397 1398commit e4fc1d2f9571fba79ce383595be2ea2a9257def0 1399Author: Lasse Collin <lasse.collin@tukaani.org> 1400Date: 2014-11-28 20:07:18 +0200 1401 1402 Update INSTALL about a "make check" failure in test_scripts.sh. 1403 1404 INSTALL | 24 +++++++++++++++++------- 1405 1 file changed, 17 insertions(+), 7 deletions(-) 1406 1407commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe 1408Author: Lasse Collin <lasse.collin@tukaani.org> 1409Date: 2014-11-26 20:12:27 +0200 1410 1411 Remove LZMA_UNSTABLE macro. 1412 1413 src/liblzma/api/lzma/container.h | 4 ---- 1414 src/liblzma/common/common.h | 2 -- 1415 src/xz/private.h | 1 - 1416 3 files changed, 7 deletions(-) 1417 1418commit 6d9c0ce9f2677b159e32b224aba5b535b304a705 1419Author: Lasse Collin <lasse.collin@tukaani.org> 1420Date: 2014-11-26 20:10:33 +0200 1421 1422 liblzma: Update lzma_stream_encoder_mt() API docs. 1423 1424 src/liblzma/api/lzma/container.h | 5 +++-- 1425 1 file changed, 3 insertions(+), 2 deletions(-) 1426 1427commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3 1428Author: Lasse Collin <lasse.collin@tukaani.org> 1429Date: 2014-11-25 12:32:05 +0200 1430 1431 liblzma: Verify the filter chain in threaded encoder initialization. 1432 1433 This way an invalid filter chain is detected at the Stream 1434 encoder initialization instead of delaying it to the first 1435 call to lzma_code() which triggers the initialization of 1436 the actual filter encoder(s). 1437 1438 src/liblzma/common/stream_encoder_mt.c | 9 ++++++--- 1439 1 file changed, 6 insertions(+), 3 deletions(-) 1440 1441commit 107a263d5bb63cd3593fd6a5c938706539f84523 1442Author: Lasse Collin <lasse.collin@tukaani.org> 1443Date: 2014-11-17 19:11:49 +0200 1444 1445 Build: Update m4/ax_pthread.m4 from Autoconf Archive. 1446 1447 m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++------------------- 1448 1 file changed, 47 insertions(+), 24 deletions(-) 1449 1450commit b13a781833399ff5726cfc997f3cb2f0acbdbf31 1451Author: Lasse Collin <lasse.collin@tukaani.org> 1452Date: 2014-11-17 18:52:21 +0200 1453 1454 Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING. 1455 1456 configure.ac | 36 ++++++++++++++++++------------------ 1457 m4/tuklib_integer.m4 | 2 +- 1458 2 files changed, 19 insertions(+), 19 deletions(-) 1459 1460commit 542cac122ed3550148a2af0033af22b757491378 1461Author: Lasse Collin <lasse.collin@tukaani.org> 1462Date: 2014-11-17 18:43:19 +0200 1463 1464 Build: Fix Autoconf warnings about escaped backquotes. 1465 1466 Thanks to Daniel Richard G. for pointing out that it's 1467 good to sometimes run autoreconf -fi with -Wall. 1468 1469 configure.ac | 7 +++---- 1470 1 file changed, 3 insertions(+), 4 deletions(-) 1471 1472commit 7b03a15cea8cd4f19ed680b51c4bcbae3ce4142f 1473Author: Lasse Collin <lasse.collin@tukaani.org> 1474Date: 2014-11-10 18:54:40 +0200 1475 1476 xzdiff: Use mkdir if mktemp isn't available. 1477 1478 src/scripts/xzdiff.in | 17 ++++++++++++++++- 1479 1 file changed, 16 insertions(+), 1 deletion(-) 1480 1481commit f8c13e5e3609581d5dd9f8777985ca07f2390ad7 1482Author: Lasse Collin <lasse.collin@tukaani.org> 1483Date: 2014-11-10 18:45:01 +0200 1484 1485 xzdiff: Create a temporary directory to hold a temporary file. 1486 1487 This avoids the possibility of "File name too long" when 1488 creating a temp file when the input file name is very long. 1489 1490 This also means that other users on the system can no longer 1491 see the input file names in /tmp (or whatever $TMPDIR is) 1492 since the temporary directory will have a generic name. This 1493 usually doesn't matter since on many systems one can see 1494 the arguments given to all processes anyway. 1495 1496 The number X chars to mktemp where increased from 6 to 10. 1497 1498 Note that with some shells temp files or dirs won't be used at all. 1499 1500 src/scripts/xzdiff.in | 10 +++++----- 1501 1 file changed, 5 insertions(+), 5 deletions(-) 1502 1503commit 7716dcf9df7f457500cb657314e7a9aea5fedb06 1504Author: Lasse Collin <lasse.collin@tukaani.org> 1505Date: 2014-11-10 15:38:47 +0200 1506 1507 liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage(). 1508 1509 It read the filter chain from a wrong variable. This is a similar 1510 bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e. 1511 1512 src/liblzma/common/stream_encoder_mt.c | 3 +-- 1513 1 file changed, 1 insertion(+), 2 deletions(-) 1514 1515commit 230fa4a605542c84b4178a57381695a0af4e779b 1516Author: Lasse Collin <lasse.collin@tukaani.org> 1517Date: 2014-11-10 14:49:55 +0200 1518 1519 Update THANKS. 1520 1521 THANKS | 1 + 1522 1 file changed, 1 insertion(+) 1523 1524commit 4e4ae08bc7c1711e399c9f2d26eb375d39d08101 1525Author: Lasse Collin <lasse.collin@tukaani.org> 1526Date: 2014-10-29 21:28:25 +0200 1527 1528 Update .gitignore files. 1529 1530 .gitignore | 2 ++ 1531 m4/.gitignore | 3 +++ 1532 2 files changed, 5 insertions(+) 1533 1534commit c923b140b27d1a055db6284e10fd546ad1a7fcdb 1535Author: Lasse Collin <lasse.collin@tukaani.org> 1536Date: 2014-10-29 21:15:35 +0200 1537 1538 Build: Prepare to support Automake's subdir-objects. 1539 1540 Due to a bug in Automake, subdir-objects won't be enabled 1541 for now. 1542 1543 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354 1544 1545 Thanks to Daniel Richard G. for the original patches. 1546 1547 configure.ac | 7 ++++++- 1548 src/Makefile.am | 22 +++++++++++++++++++++- 1549 src/liblzma/Makefile.am | 4 ++-- 1550 src/lzmainfo/Makefile.am | 4 ++-- 1551 src/xz/Makefile.am | 10 +++++----- 1552 src/xzdec/Makefile.am | 8 ++++---- 1553 6 files changed, 40 insertions(+), 15 deletions(-) 1554 1555commit 08c2aa16bea0df82828f665d51fba2e0a5e8997f 1556Author: Lasse Collin <lasse.collin@tukaani.org> 1557Date: 2014-10-24 20:09:29 +0300 1558 1559 Translations: Update the Italian translation. 1560 1561 Thanks to Milo Casagrande. 1562 1563 po/it.po | 452 ++++++++++++++++++++++++++++++++++++++------------------------- 1564 1 file changed, 275 insertions(+), 177 deletions(-) 1565 1566commit 2f9f61aa83539c54ff6c118a2693890f0519b3dd 1567Author: Lasse Collin <lasse.collin@tukaani.org> 1568Date: 2014-10-18 18:51:45 +0300 1569 1570 Translations: Update the Polish translation. 1571 1572 Thanks to Jakub Bogusz. 1573 1574 po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++----------------------- 1575 1 file changed, 214 insertions(+), 118 deletions(-) 1576 1577commit 4f9d233f67aea25e532824d11b7642cf7dee7a76 1578Author: Andre Noll <maan@tuebingen.mpg.de> 1579Date: 2014-10-14 17:30:30 +0200 1580 1581 l10n: de.po: Change translator email address. 1582 1583 Although the old address is still working, the new one should 1584 be preferred. So this commit changes all three places in de.po 1585 accordingly. 1586 1587 Signed-off-by: Andre Noll <maan@tuebingen.mpg.de> 1588 1589 po/de.po | 6 +++--- 1590 1 file changed, 3 insertions(+), 3 deletions(-) 1591 1592commit 00502b2bedad43f0cc167ac17ae0608837ee196b 1593Author: Andre Noll <maan@tuebingen.mpg.de> 1594Date: 2014-10-14 17:30:29 +0200 1595 1596 l10n: de.po: Update German translation 1597 1598 Signed-off-by: Andre Noll <maan@systemlinux.org> 1599 1600 po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------ 1601 1 file changed, 281 insertions(+), 250 deletions(-) 1602 1603commit 706b0496753fb609e69f1570ec603f11162189d1 1604Author: Andre Noll <maan@tuebingen.mpg.de> 1605Date: 2014-10-14 17:30:28 +0200 1606 1607 l10n: de.po: Fix typo: Schießen -> Schließen. 1608 1609 That's a funny one since "schießen" means to shoot :) 1610 1611 Signed-off-by: Andre Noll <maan@systemlinux.org> 1612 1613 po/de.po | 2 +- 1614 1 file changed, 1 insertion(+), 1 deletion(-) 1615 1616commit 7c32e6a935c3d7ee366abad1679bd5f322f0c7d4 1617Author: Lasse Collin <lasse.collin@tukaani.org> 1618Date: 2014-10-09 19:42:26 +0300 1619 1620 Update THANKS. 1621 1622 THANKS | 1 + 1623 1 file changed, 1 insertion(+) 1624 1625commit 076258cc458f1e705041ac7a729b15ffe8c5214a 1626Author: Lasse Collin <lasse.collin@tukaani.org> 1627Date: 2014-10-09 19:41:51 +0300 1628 1629 Add support for AmigaOS/AROS to tuklib_physmem(). 1630 1631 Thanks to Fredrik Wikstrom. 1632 1633 m4/tuklib_physmem.m4 | 3 ++- 1634 src/common/tuklib_physmem.c | 7 +++++++ 1635 2 files changed, 9 insertions(+), 1 deletion(-) 1636 1637commit efa7b0a210e1baa8e128fc98c5443a944c39ad24 1638Author: Lasse Collin <lasse.collin@tukaani.org> 1639Date: 2014-10-09 18:42:14 +0300 1640 1641 xzgrep: Avoid passing both -q and -l to grep. 1642 1643 The behavior of grep -ql varies: 1644 - GNU grep behaves like grep -q. 1645 - OpenBSD grep behaves like grep -l. 1646 1647 POSIX doesn't make it 100 % clear what behavior is expected. 1648 Anyway, using both -q and -l at the same time makes no sense 1649 so both options simply should never be used at the same time. 1650 1651 Thanks to Christian Weisgerber. 1652 1653 src/scripts/xzgrep.in | 6 ++++-- 1654 1 file changed, 4 insertions(+), 2 deletions(-) 1655 1656commit 9c5f76098c9986b48d2fc574a0b764f4cde0c538 1657Author: Trần Ngọc Quân <vnwildman@gmail.com> 1658Date: 2014-09-25 09:22:45 +0700 1659 1660 l10n: vi.po: Update Vietnamese translation 1661 1662 Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com> 1663 1664 po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------ 1665 1 file changed, 84 insertions(+), 52 deletions(-) 1666 1667commit c4911f2db36d811896c73c008b4218d8fa9a4730 1668Author: Lasse Collin <lasse.collin@tukaani.org> 1669Date: 2014-09-25 18:38:48 +0300 1670 1671 Build: Detect supported compiler warning flags better. 1672 1673 Clang and nowadays also GCC accept any -Wfoobar option 1674 but then may give a warning that an unknown warning option 1675 was specified. To avoid adding unsupported warning options, 1676 the options are now tested with -Werror. 1677 1678 Thanks to Charles Diza. 1679 1680 configure.ac | 5 +++-- 1681 1 file changed, 3 insertions(+), 2 deletions(-) 1682 1683commit 76e75522ed6f5c228d55587dee5a997893f6e474 1684Author: Lasse Collin <lasse.collin@tukaani.org> 1685Date: 2014-09-20 21:01:21 +0300 1686 1687 Update NEWS for 5.0.7. 1688 1689 NEWS | 11 +++++++++++ 1690 1 file changed, 11 insertions(+) 1691 1692commit d62028b4c1174fc67b6929f126f5eb24c018c700 1693Author: Lasse Collin <lasse.collin@tukaani.org> 1694Date: 2014-09-20 19:42:56 +0300 1695 1696 liblzma: Fix a portability problem in Makefile.am. 1697 1698 POSIX supports $< only in inference rules (suffix rules). 1699 Using it elsewhere is a GNU make extension and doesn't 1700 work e.g. with OpenBSD make. 1701 1702 Thanks to Christian Weisgerber for the patch. 1703 1704 src/liblzma/Makefile.am | 2 +- 1705 1 file changed, 1 insertion(+), 1 deletion(-) 1706 1707commit c35de31d4283edad3e57d37ffe939406542cb7bb 1708Author: Lasse Collin <lasse.collin@tukaani.org> 1709Date: 2014-09-14 21:54:09 +0300 1710 1711 Bump the version number to 5.1.4beta. 1712 1713 src/liblzma/api/lzma/version.h | 4 ++-- 1714 src/liblzma/liblzma.map | 2 +- 1715 2 files changed, 3 insertions(+), 3 deletions(-) 1716 1717commit e9e097e22cacdaa23e5414fea7913535449cb340 1718Author: Lasse Collin <lasse.collin@tukaani.org> 1719Date: 2014-09-14 21:50:13 +0300 1720 1721 Update NEWS for 5.0.6 and 5.1.4beta. 1722 1723 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1724 1 file changed, 50 insertions(+) 1725 1726commit 642f856bb8562ab66704b1e01ac7bc08b6d0a663 1727Author: Lasse Collin <lasse.collin@tukaani.org> 1728Date: 2014-09-14 21:02:41 +0300 1729 1730 Update TODO. 1731 1732 TODO | 38 ++++++++++++++++++++++++++++++++++---- 1733 1 file changed, 34 insertions(+), 4 deletions(-) 1734 1735commit 6b5e3b9eff5b8cedb2aac5f524d4d60fc8a48124 1736Author: Lasse Collin <lasse.collin@tukaani.org> 1737Date: 2014-08-05 22:32:36 +0300 1738 1739 xz: Add --ignore-check. 1740 1741 src/xz/args.c | 7 +++++++ 1742 src/xz/args.h | 1 + 1743 src/xz/coder.c | 10 +++++++++- 1744 src/xz/message.c | 2 ++ 1745 src/xz/xz.1 | 19 +++++++++++++++++++ 1746 5 files changed, 38 insertions(+), 1 deletion(-) 1747 1748commit 9adbc2ff373f979c917cdfd3679ce0ebd59f1040 1749Author: Lasse Collin <lasse.collin@tukaani.org> 1750Date: 2014-08-05 22:15:07 +0300 1751 1752 liblzma: Add support for LZMA_IGNORE_CHECK. 1753 1754 src/liblzma/api/lzma/container.h | 24 ++++++++++++++++++++++++ 1755 src/liblzma/common/common.h | 1 + 1756 src/liblzma/common/stream_decoder.c | 14 ++++++++++++-- 1757 3 files changed, 37 insertions(+), 2 deletions(-) 1758 1759commit 0e0f34b8e4f1c60ecaec15c2105982381cc9c3e6 1760Author: Lasse Collin <lasse.collin@tukaani.org> 1761Date: 2014-08-05 22:03:30 +0300 1762 1763 liblzma: Add support for lzma_block.ignore_check. 1764 1765 Note that this slightly changes how lzma_block_header_decode() 1766 has been documented. Earlier it said that the .version is set 1767 to the lowest required value, but now it says that the .version 1768 field is kept unchanged if possible. In practice this doesn't 1769 affect any old code, because before this commit the only 1770 possible .version was 0. 1771 1772 src/liblzma/api/lzma/block.h | 50 ++++++++++++++++++++++++------- 1773 src/liblzma/common/block_buffer_encoder.c | 2 +- 1774 src/liblzma/common/block_decoder.c | 18 ++++++++--- 1775 src/liblzma/common/block_encoder.c | 2 +- 1776 src/liblzma/common/block_header_decoder.c | 12 ++++++-- 1777 src/liblzma/common/block_header_encoder.c | 2 +- 1778 src/liblzma/common/block_util.c | 2 +- 1779 7 files changed, 68 insertions(+), 20 deletions(-) 1780 1781commit 71e1437ab585b46f7a25f5a131557d3d1c0cbaa2 1782Author: Lasse Collin <lasse.collin@tukaani.org> 1783Date: 2014-08-04 19:25:58 +0300 1784 1785 liblzma: Use lzma_memcmplen() in the BT3 match finder. 1786 1787 I had missed this when writing the commit 1788 5db75054e900fa06ef5ade5f2c21dffdd5d16141. 1789 1790 Thanks to Jun I Jin. 1791 1792 src/liblzma/lz/lz_encoder_mf.c | 5 ++--- 1793 1 file changed, 2 insertions(+), 3 deletions(-) 1794 1795commit 41dc9ea06e1414ebe8ef52afc8fc15b6e3282b04 1796Author: Lasse Collin <lasse.collin@tukaani.org> 1797Date: 2014-08-04 00:25:44 +0300 1798 1799 Update THANKS. 1800 1801 THANKS | 1 + 1802 1 file changed, 1 insertion(+) 1803 1804commit 5dcffdbcc23a68abc3ac3539b30be71bc9b5af84 1805Author: Lasse Collin <lasse.collin@tukaani.org> 1806Date: 2014-08-03 21:32:25 +0300 1807 1808 liblzma: SHA-256: Optimize the Maj macro slightly. 1809 1810 The Maj macro is used where multiple things are added 1811 together, so making Maj a sum of two expressions allows 1812 some extra freedom for the compiler to schedule the 1813 instructions. 1814 1815 I learned this trick from 1816 <http://www.hackersdelight.org/corres.txt>. 1817 1818 src/liblzma/check/sha256.c | 2 +- 1819 1 file changed, 1 insertion(+), 1 deletion(-) 1820 1821commit a9477d1e0c6fd0e47e637d051e7b9e2a5d9af517 1822Author: Lasse Collin <lasse.collin@tukaani.org> 1823Date: 2014-08-03 21:08:12 +0300 1824 1825 liblzma: SHA-256: Optimize the way rotations are done. 1826 1827 This looks weird because the rotations become sequential, 1828 but it helps quite a bit on both 32-bit and 64-bit x86: 1829 1830 - It requires fewer instructions on two-operand 1831 instruction sets like x86. 1832 1833 - It requires one register less which matters especially 1834 on 32-bit x86. 1835 1836 I hope this doesn't hurt other archs. 1837 1838 I didn't invent this idea myself, but I don't remember where 1839 I saw it first. 1840 1841 src/liblzma/check/sha256.c | 17 +++++++++++------ 1842 1 file changed, 11 insertions(+), 6 deletions(-) 1843 1844commit 5a76c7c8ee9a0afbeedb1c211db9224260404347 1845Author: Lasse Collin <lasse.collin@tukaani.org> 1846Date: 2014-08-03 20:38:13 +0300 1847 1848 liblzma: SHA-256: Remove the GCC #pragma that became unneeded. 1849 1850 The unrolling in the previous commit should avoid the 1851 situation where a compiler may think that an uninitialized 1852 variable might be accessed. 1853 1854 src/liblzma/check/sha256.c | 5 ----- 1855 1 file changed, 5 deletions(-) 1856 1857commit 9a096f8e57509775c331950b8351bbca77bdcfa8 1858Author: Lasse Collin <lasse.collin@tukaani.org> 1859Date: 2014-08-03 20:33:38 +0300 1860 1861 liblzma: SHA-256: Unroll a little more. 1862 1863 This way a branch isn't needed for each operation 1864 to choose between blk0 and blk2, and still the code 1865 doesn't grow as much as it would with full unrolling. 1866 1867 src/liblzma/check/sha256.c | 25 ++++++++++++++++--------- 1868 1 file changed, 16 insertions(+), 9 deletions(-) 1869 1870commit bc7650d87bf27f85f1a2a806dc2db1780e09e6a5 1871Author: Lasse Collin <lasse.collin@tukaani.org> 1872Date: 2014-08-03 19:56:43 +0300 1873 1874 liblzma: SHA-256: Do the byteswapping without a temporary buffer. 1875 1876 src/liblzma/check/sha256.c | 13 +------------ 1877 1 file changed, 1 insertion(+), 12 deletions(-) 1878 1879commit 544aaa3d13554e8640f9caf7db717a96360ec0f6 1880Author: Lasse Collin <lasse.collin@tukaani.org> 1881Date: 2014-07-25 22:38:28 +0300 1882 1883 liblzma: Use lzma_memcmplen() in normal mode of LZMA. 1884 1885 Two locations were not changed yet because the simplest change 1886 assumes that the initial "len" may be greater than "limit". 1887 1888 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++--------------- 1889 1 file changed, 5 insertions(+), 15 deletions(-) 1890 1891commit f48fce093b07aeda95c18850f5e086d9f2383380 1892Author: Lasse Collin <lasse.collin@tukaani.org> 1893Date: 2014-07-25 22:30:38 +0300 1894 1895 liblzma: Simplify LZMA fast mode code by using memcmp(). 1896 1897 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +---------- 1898 1 file changed, 1 insertion(+), 10 deletions(-) 1899 1900commit 6bf5308e34e23dede5b301b1b9b4f131dacd9218 1901Author: Lasse Collin <lasse.collin@tukaani.org> 1902Date: 2014-07-25 22:29:49 +0300 1903 1904 liblzma: Use lzma_memcmplen() in fast mode of LZMA. 1905 1906 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++--- 1907 1 file changed, 3 insertions(+), 3 deletions(-) 1908 1909commit 353212137e51e45b105a3a3fc2e6879f1cf0d492 1910Author: Lasse Collin <lasse.collin@tukaani.org> 1911Date: 2014-07-25 21:16:23 +0300 1912 1913 Update THANKS. 1914 1915 THANKS | 1 + 1916 1 file changed, 1 insertion(+) 1917 1918commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141 1919Author: Lasse Collin <lasse.collin@tukaani.org> 1920Date: 2014-07-25 21:15:07 +0300 1921 1922 liblzma: Use lzma_memcmplen() in the match finders. 1923 1924 This doesn't change the match finder output. 1925 1926 src/liblzma/lz/lz_encoder.c | 13 ++++++++++++- 1927 src/liblzma/lz/lz_encoder_mf.c | 33 +++++++++++---------------------- 1928 2 files changed, 23 insertions(+), 23 deletions(-) 1929 1930commit e1c8f1d01f4a4e2136173edab2dc63c71ef038f4 1931Author: Lasse Collin <lasse.collin@tukaani.org> 1932Date: 2014-07-25 20:57:20 +0300 1933 1934 liblzma: Add lzma_memcmplen() for fast memory comparison. 1935 1936 This commit just adds the function. Its uses will be in 1937 separate commits. 1938 1939 This hasn't been tested much yet and it's perhaps a bit early 1940 to commit it but if there are bugs they should get found quite 1941 quickly. 1942 1943 Thanks to Jun I Jin from Intel for help and for pointing out 1944 that string comparison needs to be optimized in liblzma. 1945 1946 configure.ac | 13 +++ 1947 src/liblzma/common/Makefile.inc | 1 + 1948 src/liblzma/common/memcmplen.h | 170 ++++++++++++++++++++++++++++++++++++++++ 1949 3 files changed, 184 insertions(+) 1950 1951commit 765735cf52e5123586e74a51b9c073b5257f631f 1952Author: Lasse Collin <lasse.collin@tukaani.org> 1953Date: 2014-07-12 21:10:09 +0300 1954 1955 Update THANKS. 1956 1957 THANKS | 1 + 1958 1 file changed, 1 insertion(+) 1959 1960commit 59da01785ef66c7e62f36e70ca808fd2824bb995 1961Author: Lasse Collin <lasse.collin@tukaani.org> 1962Date: 2014-07-12 20:06:08 +0300 1963 1964 Translations: Add Vietnamese translation. 1965 1966 Thanks to Trần Ngọc Quân. 1967 1968 po/LINGUAS | 1 + 1969 po/vi.po | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1970 2 files changed, 1008 insertions(+) 1971 1972commit 17215f751c354852700e7f8592ccf319570a0721 1973Author: Lasse Collin <lasse.collin@tukaani.org> 1974Date: 2014-06-29 20:54:14 +0300 1975 1976 xz: Update the help message of a few options. 1977 1978 Updated: --threads, --block-size, and --block-list 1979 Added: --flush-timeout 1980 1981 src/xz/message.c | 18 +++++++++++------- 1982 1 file changed, 11 insertions(+), 7 deletions(-) 1983 1984commit 96864a6ddf91ad693d102ea165f3d7918744d582 1985Author: Lasse Collin <lasse.collin@tukaani.org> 1986Date: 2014-06-18 22:07:06 +0300 1987 1988 xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores(). 1989 1990 src/xz/Makefile.am | 1 - 1991 src/xz/hardware.c | 12 +++++++++--- 1992 2 files changed, 9 insertions(+), 4 deletions(-) 1993 1994commit a115cc3748482e277f42a968baa3cd266f031dba 1995Author: Lasse Collin <lasse.collin@tukaani.org> 1996Date: 2014-06-18 22:04:24 +0300 1997 1998 liblzma: Add lzma_cputhreads(). 1999 2000 src/liblzma/Makefile.am | 8 +++++++- 2001 src/liblzma/api/lzma/hardware.h | 14 ++++++++++++++ 2002 src/liblzma/common/Makefile.inc | 1 + 2003 src/liblzma/common/hardware_cputhreads.c | 22 ++++++++++++++++++++++ 2004 src/liblzma/liblzma.map | 1 + 2005 5 files changed, 45 insertions(+), 1 deletion(-) 2006 2007commit 3ce3e7976904fbab4e6482bafa442856f77a51fa 2008Author: Lasse Collin <lasse.collin@tukaani.org> 2009Date: 2014-06-18 19:11:52 +0300 2010 2011 xz: Check for filter chain compatibility for --flush-timeout. 2012 2013 This avoids LZMA_PROG_ERROR from lzma_code() with filter chains 2014 that don't support LZMA_SYNC_FLUSH. 2015 2016 src/xz/coder.c | 30 +++++++++++++++++++++--------- 2017 1 file changed, 21 insertions(+), 9 deletions(-) 2018 2019commit 381ac14ed79e5d38809f251705be8b3193bba417 2020Author: Lasse Collin <lasse.collin@tukaani.org> 2021Date: 2014-06-13 19:21:54 +0300 2022 2023 xzgrep: List xzgrep_expected_output in tests/Makefile.am. 2024 2025 tests/Makefile.am | 3 ++- 2026 1 file changed, 2 insertions(+), 1 deletion(-) 2027 2028commit 4244b65b06d5ecaf6f9dd0387ac7e3166bd2364e 2029Author: Lasse Collin <lasse.collin@tukaani.org> 2030Date: 2014-06-13 18:58:22 +0300 2031 2032 xzgrep: Improve the test script. 2033 2034 Now it should be close to the functionality of the original 2035 version by Pavel Raiskup. 2036 2037 tests/Makefile.am | 3 ++- 2038 tests/test_scripts.sh | 24 ++++++++++++++---------- 2039 tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++ 2040 3 files changed, 55 insertions(+), 11 deletions(-) 2041 2042commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26 2043Author: Lasse Collin <lasse.collin@tukaani.org> 2044Date: 2014-06-11 21:03:25 +0300 2045 2046 xzgrep: Add a test for the previous fix. 2047 2048 This is a simplified version of Pavel Raiskup's 2049 original patch. 2050 2051 tests/test_scripts.sh | 26 ++++++++++++++++++++++---- 2052 1 file changed, 22 insertions(+), 4 deletions(-) 2053 2054commit ceca37901783988204caaf40dff4623d535cc789 2055Author: Lasse Collin <lasse.collin@tukaani.org> 2056Date: 2014-06-11 20:43:28 +0300 2057 2058 xzgrep: exit 0 when at least one file matches. 2059 2060 Mimic the original grep behavior and return exit_success when 2061 at least one xz compressed file matches given pattern. 2062 2063 Original bugreport: 2064 https://bugzilla.redhat.com/show_bug.cgi?id=1108085 2065 2066 Thanks to Pavel Raiskup for the patch. 2067 2068 src/scripts/xzgrep.in | 15 +++++++++++++-- 2069 1 file changed, 13 insertions(+), 2 deletions(-) 2070 2071commit 8c19216baccb92d011694590df8a1262da2e980c 2072Author: Lasse Collin <lasse.collin@tukaani.org> 2073Date: 2014-06-09 21:21:24 +0300 2074 2075 xz: Force single-threaded mode when --flush-timeout is used. 2076 2077 src/xz/coder.c | 11 +++++++++++ 2078 1 file changed, 11 insertions(+) 2079 2080commit 87f1a24810805187d7bbc8ac5512e7eec307ddf5 2081Author: Lasse Collin <lasse.collin@tukaani.org> 2082Date: 2014-05-25 22:05:39 +0300 2083 2084 Update THANKS. 2085 2086 THANKS | 1 + 2087 1 file changed, 1 insertion(+) 2088 2089commit da1718f266fcfc091e7bf08aae1bc986d0e6cc6b 2090Author: Lasse Collin <lasse.collin@tukaani.org> 2091Date: 2014-05-25 21:45:56 +0300 2092 2093 liblzma: Use lzma_alloc_zero() in LZ encoder initialization. 2094 2095 This avoids a memzero() call for a newly-allocated memory, 2096 which can be expensive when encoding small streams with 2097 an over-sized dictionary. 2098 2099 To avoid using lzma_alloc_zero() for memory that doesn't 2100 need to be zeroed, lzma_mf.son is now allocated separately, 2101 which requires handling it separately in normalize() too. 2102 2103 Thanks to Vincenzo Innocente for reporting the problem. 2104 2105 src/liblzma/lz/lz_encoder.c | 84 ++++++++++++++++++++++-------------------- 2106 src/liblzma/lz/lz_encoder.h | 2 +- 2107 src/liblzma/lz/lz_encoder_mf.c | 31 +++++++++------- 2108 3 files changed, 62 insertions(+), 55 deletions(-) 2109 2110commit 28af24e9cf2eb259997c85dce13d4c97b3daa47a 2111Author: Lasse Collin <lasse.collin@tukaani.org> 2112Date: 2014-05-25 19:25:57 +0300 2113 2114 liblzma: Add the internal function lzma_alloc_zero(). 2115 2116 src/liblzma/common/common.c | 21 +++++++++++++++++++++ 2117 src/liblzma/common/common.h | 6 ++++++ 2118 2 files changed, 27 insertions(+) 2119 2120commit ed9ac85822c490e34b68c259afa0b385d21d1c40 2121Author: Lasse Collin <lasse.collin@tukaani.org> 2122Date: 2014-05-08 18:03:09 +0300 2123 2124 xz: Fix uint64_t vs. size_t which broke 32-bit build. 2125 2126 Thanks to Christian Hesse. 2127 2128 src/xz/coder.c | 2 +- 2129 1 file changed, 1 insertion(+), 1 deletion(-) 2130 2131commit d716acdae3fa7996f9e68a7bac012e6d8d13dd02 2132Author: Lasse Collin <lasse.collin@tukaani.org> 2133Date: 2014-05-04 11:09:11 +0300 2134 2135 Docs: Update comments to refer to lzma/lzma12.h in example programs. 2136 2137 doc/examples/03_compress_custom.c | 6 +++--- 2138 1 file changed, 3 insertions(+), 3 deletions(-) 2139 2140commit 4d5b7b3fda31241ca86ed35e08e73f776ee916e0 2141Author: Lasse Collin <lasse.collin@tukaani.org> 2142Date: 2014-05-04 11:07:17 +0300 2143 2144 liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h. 2145 2146 It can be confusing that two header files have the same name. 2147 The public API file is still lzma.h. 2148 2149 src/liblzma/api/Makefile.am | 2 +- 2150 src/liblzma/api/lzma.h | 2 +- 2151 src/liblzma/api/lzma/{lzma.h => lzma12.h} | 2 +- 2152 3 files changed, 3 insertions(+), 3 deletions(-) 2153 2154commit 1555a9c5664afc7893a2b75e9970105437f01ef1 2155Author: Lasse Collin <lasse.collin@tukaani.org> 2156Date: 2014-04-25 17:53:42 +0300 2157 2158 Build: Fix the combination of --disable-xzdec --enable-lzmadec. 2159 2160 In this case "make install" could fail if the man page directory 2161 didn't already exist at the destination. If it did exist, a 2162 dangling symlink was created there. Now the link is omitted 2163 instead. This isn't the best fix but it's better than the old 2164 behavior. 2165 2166 src/xzdec/Makefile.am | 10 +++++++++- 2167 1 file changed, 9 insertions(+), 1 deletion(-) 2168 2169commit 56056571df3377eaa6ae6233b3ccc5d72e81d43d 2170Author: Lasse Collin <lasse.collin@tukaani.org> 2171Date: 2014-04-25 17:44:26 +0300 2172 2173 Build: Add --disable-doc to configure. 2174 2175 INSTALL | 6 ++++++ 2176 Makefile.am | 2 ++ 2177 configure.ac | 6 ++++++ 2178 3 files changed, 14 insertions(+) 2179 2180commit 6de61d8721097a6214810841aa85b08e303ac538 2181Author: Lasse Collin <lasse.collin@tukaani.org> 2182Date: 2014-04-24 18:06:24 +0300 2183 2184 Update INSTALL. 2185 2186 Add a note about failing "make check". The source of 2187 the problem should be fixed in libtool (if it really is 2188 a libtool bug and not mine) but I'm unable to spend time 2189 on that for now. Thanks to Nelson H. F. Beebe for reporting 2190 the issue. 2191 2192 Add a note about a possible need to run "ldconfig" after 2193 "make install". 2194 2195 INSTALL | 25 +++++++++++++++++++++++++ 2196 1 file changed, 25 insertions(+) 2197 2198commit 54df428799a8d853639b753d0e6784694d73eb3e 2199Author: Lasse Collin <lasse.collin@tukaani.org> 2200Date: 2014-04-09 17:26:10 +0300 2201 2202 xz: Rename a variable to avoid a namespace collision on Solaris. 2203 2204 I don't know the details but I have an impression that there's 2205 no problem in practice if using GCC since people have built xz 2206 with GCC (without patching xz), but renaming the variable cannot 2207 hurt either. 2208 2209 Thanks to Mark Ashley. 2210 2211 src/xz/signals.c | 12 +++++++----- 2212 1 file changed, 7 insertions(+), 5 deletions(-) 2213 2214commit 5876ca27daa1429676b1160007d9688266907f00 2215Author: Lasse Collin <lasse.collin@tukaani.org> 2216Date: 2014-01-29 20:19:41 +0200 2217 2218 Docs: Add example program for threaded encoding. 2219 2220 I didn't add -DLZMA_UNSTABLE to Makefile so one has to 2221 specify it manually as long as LZMA_UNSTABLE is needed. 2222 2223 doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++ 2224 doc/examples/Makefile | 3 +- 2225 2 files changed, 186 insertions(+), 1 deletion(-) 2226 2227commit 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e 2228Author: Lasse Collin <lasse.collin@tukaani.org> 2229Date: 2014-01-29 20:13:51 +0200 2230 2231 liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt(). 2232 2233 It read the filter chain from a wrong variable. 2234 2235 src/liblzma/common/stream_encoder_mt.c | 4 ++-- 2236 1 file changed, 2 insertions(+), 2 deletions(-) 2237 2238commit 673a4cb53de3a715685cb1b836da57a3c7dcd43c 2239Author: Lasse Collin <lasse.collin@tukaani.org> 2240Date: 2014-01-20 11:20:40 +0200 2241 2242 liblzma: Fix typo in a comment. 2243 2244 src/liblzma/api/lzma/block.h | 2 +- 2245 1 file changed, 1 insertion(+), 1 deletion(-) 2246 2247commit ad96a871a1470eb76d6233d3890ce9338047b7a3 2248Author: Lasse Collin <lasse.collin@tukaani.org> 2249Date: 2014-01-12 19:38:43 +0200 2250 2251 Windows: Add config.h for building liblzma with MSVC 2013. 2252 2253 This is for building liblzma. Building xz tool too requires 2254 a little more work. Maybe it will be supported, but for most 2255 MSVC users it's enough to be able to build liblzma. 2256 2257 C99 support in MSVC 2013 is almost usable which is a big 2258 improvement over earlier versions. It's "almost" because 2259 there's a dumb bug that breaks mixed declarations after 2260 an "if" statements unless the "if" statement uses braces: 2261 2262 https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug 2263 https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs 2264 2265 Hopefully it will get fixed. Then liblzma should be 2266 compilable with MSVC 2013 without patching. 2267 2268 windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2269 1 file changed, 139 insertions(+) 2270 2271commit 3d5c090872fab4212b57c290e8ed4d02c78c1737 2272Author: Lasse Collin <lasse.collin@tukaani.org> 2273Date: 2014-01-12 17:41:14 +0200 2274 2275 xz: Fix a comment. 2276 2277 src/xz/coder.c | 4 ++-- 2278 1 file changed, 2 insertions(+), 2 deletions(-) 2279 2280commit 69fd4e1c932c7975476a0143c86e45d81b60d3f9 2281Author: Lasse Collin <lasse.collin@tukaani.org> 2282Date: 2014-01-12 17:04:33 +0200 2283 2284 Windows: Add MSVC defines for inline and restrict keywords. 2285 2286 src/common/sysdefs.h | 10 ++++++++++ 2287 1 file changed, 10 insertions(+) 2288 2289commit a19d9e8575ee6647cd9154cf1f20203f1330485f 2290Author: Lasse Collin <lasse.collin@tukaani.org> 2291Date: 2014-01-12 16:44:52 +0200 2292 2293 liblzma: Avoid C99 compound literal arrays. 2294 2295 MSVC 2013 doesn't like them. Maybe they aren't so good 2296 for readability either since many aren't used to them. 2297 2298 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++--- 2299 1 file changed, 5 insertions(+), 3 deletions(-) 2300 2301commit e28528f1c867b2ed4ac91195ad08efb9bb8a6263 2302Author: Lasse Collin <lasse.collin@tukaani.org> 2303Date: 2014-01-12 12:50:30 +0200 2304 2305 liblzma: Remove a useless C99ism from sha256.c. 2306 2307 Unsurprisingly it makes no difference in compiled output. 2308 2309 src/liblzma/check/sha256.c | 2 +- 2310 1 file changed, 1 insertion(+), 1 deletion(-) 2311 2312commit 5ad1effc45adfb7dabc9a98e79736077e6b7e2d5 2313Author: Lasse Collin <lasse.collin@tukaani.org> 2314Date: 2014-01-12 12:17:08 +0200 2315 2316 xz: Fix use of wrong variable. 2317 2318 Since the only call to suffix_set() uses optarg 2319 as the argument, fixing this bug doesn't change 2320 the behavior of the program. 2321 2322 src/xz/suffix.c | 2 +- 2323 1 file changed, 1 insertion(+), 1 deletion(-) 2324 2325commit 3e62c68d75b5a3fdd46dbb34bb335d73289860d5 2326Author: Lasse Collin <lasse.collin@tukaani.org> 2327Date: 2014-01-12 12:11:36 +0200 2328 2329 Fix typos in comments. 2330 2331 src/common/mythread.h | 2 +- 2332 src/liblzma/check/crc32_fast.c | 2 +- 2333 2 files changed, 2 insertions(+), 2 deletions(-) 2334 2335commit e90ea601fb72867ec04adf456cbe4bf9520fd412 2336Author: Lasse Collin <lasse.collin@tukaani.org> 2337Date: 2013-11-26 18:20:16 +0200 2338 2339 Update THANKS. 2340 2341 THANKS | 1 + 2342 1 file changed, 1 insertion(+) 2343 2344commit b22e94d8d15764416354e04729382a7371ae2c30 2345Author: Lasse Collin <lasse.collin@tukaani.org> 2346Date: 2013-11-26 18:20:09 +0200 2347 2348 liblzma: Document the need for block->check for lzma_block_header_decode(). 2349 2350 Thanks to Tomer Chachamu. 2351 2352 src/liblzma/api/lzma/block.h | 3 +++ 2353 1 file changed, 3 insertions(+) 2354 2355commit d1cd8b1cb824b72421d1ee370e628024d2fcbec4 2356Author: Lasse Collin <lasse.collin@tukaani.org> 2357Date: 2013-11-12 16:38:57 +0200 2358 2359 xz: Update the man page about --block-size and --block-list. 2360 2361 src/xz/xz.1 | 24 +++++++++++++++--------- 2362 1 file changed, 15 insertions(+), 9 deletions(-) 2363 2364commit 76be7c612e6bcc38724488ccc3b8bcb1cfec9f0a 2365Author: Lasse Collin <lasse.collin@tukaani.org> 2366Date: 2013-11-12 16:30:53 +0200 2367 2368 Update THANKS. 2369 2370 THANKS | 1 + 2371 1 file changed, 1 insertion(+) 2372 2373commit dd750acbe2259d75444ef0f8da2d4bacc90d7afc 2374Author: Lasse Collin <lasse.collin@tukaani.org> 2375Date: 2013-11-12 16:29:48 +0200 2376 2377 xz: Make --block-list and --block-size work together in single-threaded. 2378 2379 Previously, --block-list and --block-size only worked together 2380 in threaded mode. Boundaries are specified by --block-list, but 2381 --block-size specifies the maximum size for a Block. Now this 2382 works in single-threaded mode too. 2383 2384 Thanks to James M Leddy for the original patch. 2385 2386 src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++---------- 2387 1 file changed, 75 insertions(+), 15 deletions(-) 2388 2389commit ae222fe9805d0161d022d75ba8485dab8bf6d7d5 2390Author: Lasse Collin <lasse.collin@tukaani.org> 2391Date: 2013-10-26 13:26:14 +0300 2392 2393 Bump the version number to 5.1.3alpha. 2394 2395 src/liblzma/api/lzma/version.h | 2 +- 2396 src/liblzma/liblzma.map | 2 +- 2397 2 files changed, 2 insertions(+), 2 deletions(-) 2398 2399commit 2193837a6a597cd3bf4e9ddf49421a5697d8e155 2400Author: Lasse Collin <lasse.collin@tukaani.org> 2401Date: 2013-10-26 13:25:02 +0300 2402 2403 Update NEWS for 5.1.3alpha. 2404 2405 NEWS | 35 +++++++++++++++++++++++++++++++++++ 2406 1 file changed, 35 insertions(+) 2407 2408commit ed48e75e2763876173aef8902da407a8eb28854b 2409Author: Lasse Collin <lasse.collin@tukaani.org> 2410Date: 2013-10-26 12:47:04 +0300 2411 2412 Update TODO. 2413 2414 TODO | 4 ---- 2415 1 file changed, 4 deletions(-) 2416 2417commit 841da0352d79a56a44796a4c39163429c9f039a3 2418Author: Lasse Collin <lasse.collin@tukaani.org> 2419Date: 2013-10-25 22:41:28 +0300 2420 2421 xz: Document behavior of --block-list with threads. 2422 2423 This needs to be updated before 5.2.0. 2424 2425 src/xz/xz.1 | 24 +++++++++++++++++++++--- 2426 1 file changed, 21 insertions(+), 3 deletions(-) 2427 2428commit 56feb8665b78c1032aabd53c619c62af51defe64 2429Author: Lasse Collin <lasse.collin@tukaani.org> 2430Date: 2013-10-22 20:03:12 +0300 2431 2432 xz: Document --flush-timeout=TIMEOUT on the man page. 2433 2434 src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++- 2435 1 file changed, 36 insertions(+), 1 deletion(-) 2436 2437commit ba413da1d5bb3324287cf3174922acd921165971 2438Author: Lasse Collin <lasse.collin@tukaani.org> 2439Date: 2013-10-22 19:51:55 +0300 2440 2441 xz: Take advantage of LZMA_FULL_BARRIER with --block-list. 2442 2443 Now if --block-list is used in threaded mode, the encoder 2444 won't need to flush at each Block boundary specified via 2445 --block-list. This improves performance a lot, making 2446 threading helpful with --block-list. 2447 2448 The flush timer was reset after LZMA_FULL_FLUSH but since 2449 LZMA_FULL_BARRIER doesn't flush, resetting the timer is 2450 no longer done. 2451 2452 src/xz/coder.c | 32 +++++++++++++++----------------- 2453 1 file changed, 15 insertions(+), 17 deletions(-) 2454 2455commit 0cd45fc2bc5537de287a0bc005e2d67467a92148 2456Author: Lasse Collin <lasse.collin@tukaani.org> 2457Date: 2013-10-02 20:05:23 +0300 2458 2459 liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder. 2460 2461 Now --block-list=SIZES works with in the threaded mode too, 2462 although the performance is still bad due to the use of 2463 LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER. 2464 2465 src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++---------- 2466 1 file changed, 39 insertions(+), 16 deletions(-) 2467 2468commit 97bb38712f414fabecca908af2e38a12570293fd 2469Author: Lasse Collin <lasse.collin@tukaani.org> 2470Date: 2013-10-02 12:55:11 +0300 2471 2472 liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder. 2473 2474 In the single-threaded encoder LZMA_FULL_BARRIER is simply 2475 an alias for LZMA_FULL_FLUSH. 2476 2477 src/liblzma/api/lzma/base.h | 37 ++++++++++++++++++++++++++++++------- 2478 src/liblzma/common/common.c | 17 +++++++++++++++-- 2479 src/liblzma/common/common.h | 7 ++++++- 2480 src/liblzma/common/stream_encoder.c | 4 +++- 2481 4 files changed, 54 insertions(+), 11 deletions(-) 2482 2483commit fef0c6b410c08e581c9178700a4e7599f0895ff9 2484Author: Lasse Collin <lasse.collin@tukaani.org> 2485Date: 2013-09-17 11:57:51 +0300 2486 2487 liblzma: Add block_buffer_encoder.h into Makefile.inc. 2488 2489 This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc. 2490 2491 src/liblzma/common/Makefile.inc | 1 + 2492 1 file changed, 1 insertion(+) 2493 2494commit 8083e03291b6d21c0f538163e187b4e8cd5594e4 2495Author: Lasse Collin <lasse.collin@tukaani.org> 2496Date: 2013-09-17 11:55:38 +0300 2497 2498 xz: Add a missing test for TUKLIB_DOSLIKE. 2499 2500 src/xz/file_io.c | 2 ++ 2501 1 file changed, 2 insertions(+) 2502 2503commit 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0 2504Author: Lasse Collin <lasse.collin@tukaani.org> 2505Date: 2013-09-17 11:52:28 +0300 2506 2507 Add native threading support on Windows. 2508 2509 Now liblzma only uses "mythread" functions and types 2510 which are defined in mythread.h matching the desired 2511 threading method. 2512 2513 Before Windows Vista, there is no direct equivalent to 2514 pthread condition variables. Since this package doesn't 2515 use pthread_cond_broadcast(), pre-Vista threading can 2516 still be kept quite simple. The pre-Vista code doesn't 2517 use anything that wasn't already available in Windows 95, 2518 so the binaries should run even on Windows 95 if someone 2519 happens to care. 2520 2521 INSTALL | 41 ++- 2522 configure.ac | 118 ++++++-- 2523 src/common/mythread.h | 513 ++++++++++++++++++++++++++------- 2524 src/liblzma/common/stream_encoder_mt.c | 83 +++--- 2525 src/xz/coder.c | 8 +- 2526 windows/README-Windows.txt | 2 +- 2527 windows/build.bash | 23 +- 2528 7 files changed, 573 insertions(+), 215 deletions(-) 2529 2530commit ae0ab74a88d5b9b15845f1d9a24ade4349a54f9f 2531Author: Lasse Collin <lasse.collin@tukaani.org> 2532Date: 2013-09-11 14:40:35 +0300 2533 2534 Build: Remove a comment about Automake 1.10 from configure.ac. 2535 2536 The previous commit supports silent rules and that requires 2537 Automake 1.11. 2538 2539 configure.ac | 2 -- 2540 1 file changed, 2 deletions(-) 2541 2542commit 72975df6c8c59aaf849138ab3606e8fb6970596a 2543Author: Lasse Collin <lasse.collin@tukaani.org> 2544Date: 2013-09-09 20:37:03 +0300 2545 2546 Build: Create liblzma.pc in a src/liblzma/Makefile.am. 2547 2548 Previously it was done in configure, but doing that goes 2549 against the Autoconf manual. Autoconf requires that it is 2550 possible to override e.g. prefix after running configure 2551 and that doesn't work correctly if liblzma.pc is created 2552 by configure. 2553 2554 A potential downside of this change is that now e.g. 2555 libdir in liblzma.pc is a standalone string instead of 2556 being defined via ${prefix}, so if one overrides prefix 2557 when running pkg-config the libdir won't get the new value. 2558 I don't know if this matters in practice. 2559 2560 Thanks to Vincent Torri. 2561 2562 configure.ac | 1 - 2563 src/liblzma/Makefile.am | 20 ++++++++++++++++++++ 2564 2 files changed, 20 insertions(+), 1 deletion(-) 2565 2566commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc 2567Author: Lasse Collin <lasse.collin@tukaani.org> 2568Date: 2013-08-04 15:24:09 +0300 2569 2570 Fix the previous commit which broke the build. 2571 2572 Apparently I didn't even compile-test the previous commit. 2573 2574 Thanks to Christian Hesse. 2575 2576 src/common/tuklib_cpucores.c | 2 +- 2577 1 file changed, 1 insertion(+), 1 deletion(-) 2578 2579commit 124eb69c7857f618b4807588c51bc9ba21bf8691 2580Author: Lasse Collin <lasse.collin@tukaani.org> 2581Date: 2013-08-03 13:52:58 +0300 2582 2583 Windows: Add Windows support to tuklib_cpucores(). 2584 2585 It is used for Cygwin too. I'm not sure if that is 2586 a good or bad idea. 2587 2588 Thanks to Vincent Torri. 2589 2590 m4/tuklib_cpucores.m4 | 19 +++++++++++++++++-- 2591 src/common/tuklib_cpucores.c | 13 ++++++++++++- 2592 2 files changed, 29 insertions(+), 3 deletions(-) 2593 2594commit eada8a875ce3fd521cb42e4ace2624d3d49c5f35 2595Author: Anders F Bjorklund <afb@users.sourceforge.net> 2596Date: 2013-08-02 15:59:46 +0200 2597 2598 macosx: separate liblzma package 2599 2600 macosx/build.sh | 23 +++++++++++++++-------- 2601 1 file changed, 15 insertions(+), 8 deletions(-) 2602 2603commit be0100d01ca6a75899d051bee00acf17e6dc0c15 2604Author: Anders F Bjorklund <afb@users.sourceforge.net> 2605Date: 2013-08-02 15:58:44 +0200 2606 2607 macosx: set minimum to leopard 2608 2609 macosx/build.sh | 13 ++++++++----- 2610 1 file changed, 8 insertions(+), 5 deletions(-) 2611 2612commit 416729e2d743f4b2fe9fd438eedeb98adce033c3 2613Author: Anders F Bjorklund <afb@users.sourceforge.net> 2614Date: 2011-08-07 13:13:30 +0200 2615 2616 move configurables into variables 2617 2618 macosx/build.sh | 25 ++++++++++++++++++------- 2619 1 file changed, 18 insertions(+), 7 deletions(-) 2620 2621commit 16581080e5f29f9a4e49efece21c5bf572323acc 2622Author: Lasse Collin <lasse.collin@tukaani.org> 2623Date: 2013-07-15 14:08:41 +0300 2624 2625 Update THANKS. 2626 2627 THANKS | 1 + 2628 1 file changed, 1 insertion(+) 2629 2630commit 3e2b198ba37b624efd9c7caee2a435dc986b46c6 2631Author: Lasse Collin <lasse.collin@tukaani.org> 2632Date: 2013-07-15 14:08:02 +0300 2633 2634 Build: Fix the detection of missing CRC32. 2635 2636 Thanks to Vincent Torri. 2637 2638 configure.ac | 2 +- 2639 1 file changed, 1 insertion(+), 1 deletion(-) 2640 2641commit dee6ad3d5915422bc30a6821efeacaeb8ca8ef00 2642Author: Lasse Collin <lasse.collin@tukaani.org> 2643Date: 2013-07-04 14:18:46 +0300 2644 2645 xz: Add preliminary support for --flush-timeout=TIMEOUT. 2646 2647 When --flush-timeout=TIMEOUT is used, xz will use 2648 LZMA_SYNC_FLUSH if read() would block and at least 2649 TIMEOUT milliseconds has elapsed since the previous flush. 2650 2651 This can be useful in realtime-like use cases where the 2652 data is simultanously decompressed by another process 2653 (possibly on a different computer). If new uncompressed 2654 input data is produced slowly, without this option xz could 2655 buffer the data for a long time until it would become 2656 decompressible from the output. 2657 2658 If TIMEOUT is 0, the feature is disabled. This is the default. 2659 2660 This commit affects the compression side. Using xz for 2661 the decompression side for the above purpose doesn't work 2662 yet so well because there is quite a bit of input and 2663 output buffering when decompressing. 2664 2665 The --long-help or man page were not updated yet. 2666 The details of this feature may change. 2667 2668 src/xz/args.c | 7 +++++++ 2669 src/xz/coder.c | 46 +++++++++++++++++++++++++++++++++++----------- 2670 src/xz/file_io.c | 46 ++++++++++++++++++++++++++++++++++++---------- 2671 3 files changed, 78 insertions(+), 21 deletions(-) 2672 2673commit fa381acaf9a29a8114e1c0a97de99bab9adb014e 2674Author: Lasse Collin <lasse.collin@tukaani.org> 2675Date: 2013-07-04 13:41:03 +0300 2676 2677 xz: Don't set src_eof=true after an I/O error because it's useless. 2678 2679 src/xz/file_io.c | 3 --- 2680 1 file changed, 3 deletions(-) 2681 2682commit ea00545beace5b950f709ec21e46878e0f448678 2683Author: Lasse Collin <lasse.collin@tukaani.org> 2684Date: 2013-07-04 13:25:11 +0300 2685 2686 xz: Fix the test when to read more input. 2687 2688 Testing for end of file was no longer correct after full flushing 2689 became possible with --block-size=SIZE and --block-list=SIZES. 2690 There was no bug in practice though because xz just made a few 2691 unneeded zero-byte reads. 2692 2693 src/xz/coder.c | 6 +++--- 2694 1 file changed, 3 insertions(+), 3 deletions(-) 2695 2696commit 736903c64bef394c06685d79908e397bcb08b88f 2697Author: Lasse Collin <lasse.collin@tukaani.org> 2698Date: 2013-07-04 12:51:57 +0300 2699 2700 xz: Move some of the timing code into mytime.[hc]. 2701 2702 This switches units from microseconds to milliseconds. 2703 2704 New clock_gettime(CLOCK_MONOTONIC) will be used if available. 2705 There is still a fallback to gettimeofday(). 2706 2707 src/xz/Makefile.am | 2 ++ 2708 src/xz/coder.c | 5 +++ 2709 src/xz/message.c | 54 +++++++++------------------------ 2710 src/xz/mytime.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2711 src/xz/mytime.h | 47 ++++++++++++++++++++++++++++ 2712 src/xz/private.h | 1 + 2713 6 files changed, 158 insertions(+), 40 deletions(-) 2714 2715commit 24edf8d807e24ffaa1e793114d94cca3b970027d 2716Author: Lasse Collin <lasse.collin@tukaani.org> 2717Date: 2013-07-01 14:35:03 +0300 2718 2719 Update THANKS. 2720 2721 THANKS | 1 + 2722 1 file changed, 1 insertion(+) 2723 2724commit c0627b3fceacfa1ed162f5f55235360ea26f569a 2725Author: Lasse Collin <lasse.collin@tukaani.org> 2726Date: 2013-07-01 14:34:11 +0300 2727 2728 xz: Silence a warning seen with _FORTIFY_SOURCE=2. 2729 2730 Thanks to Christian Hesse. 2731 2732 src/xz/file_io.c | 8 +++++++- 2733 1 file changed, 7 insertions(+), 1 deletion(-) 2734 2735commit 1936718bb38ee394bd89836fdd4eabc0beb02443 2736Author: Lasse Collin <lasse.collin@tukaani.org> 2737Date: 2013-06-30 19:40:11 +0300 2738 2739 Update NEWS for 5.0.5. 2740 2741 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2742 1 file changed, 52 insertions(+) 2743 2744commit a37ae8b5eb6093a530198f109c6f7a538c80ecf0 2745Author: Lasse Collin <lasse.collin@tukaani.org> 2746Date: 2013-06-30 18:02:27 +0300 2747 2748 Man pages: Use similar syntax for synopsis as in xz. 2749 2750 The man pages of lzmainfo, xzmore, and xzdec had similar 2751 constructs as the man page of xz had before the commit 2752 eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond 2753 didn't mention these man pages in his bug report, but 2754 it's nice to be consistent. 2755 2756 src/lzmainfo/lzmainfo.1 | 4 ++-- 2757 src/scripts/xzmore.1 | 6 +++--- 2758 src/xzdec/xzdec.1 | 10 +++++----- 2759 3 files changed, 10 insertions(+), 10 deletions(-) 2760 2761commit cdba9ddd870ae72fd6219a125662c20ec997f86c 2762Author: Lasse Collin <lasse.collin@tukaani.org> 2763Date: 2013-06-29 15:59:13 +0300 2764 2765 xz: Use non-blocking I/O for the output file. 2766 2767 Now both reading and writing should be without 2768 race conditions with signals. 2769 2770 They might still be signal handling issues left. 2771 Signals are blocked during many operations to avoid 2772 EINTR but it may cause problems e.g. if writing to 2773 stderr blocks when trying to display an error message. 2774 2775 src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 2776 1 file changed, 49 insertions(+), 8 deletions(-) 2777 2778commit e61a5c95da3fe31281d959e5e842885a8ba2b5bd 2779Author: Lasse Collin <lasse.collin@tukaani.org> 2780Date: 2013-06-28 23:56:17 +0300 2781 2782 xz: Fix return value type in io_write_buf(). 2783 2784 It didn't affect the behavior of the code since -1 2785 becomes true anyway. 2786 2787 src/xz/file_io.c | 2 +- 2788 1 file changed, 1 insertion(+), 1 deletion(-) 2789 2790commit 9dc319eabb34a826f4945f91c71620f14a60e9e2 2791Author: Lasse Collin <lasse.collin@tukaani.org> 2792Date: 2013-06-28 23:48:05 +0300 2793 2794 xz: Use the self-pipe trick to avoid a race condition with signals. 2795 2796 It is possible that a signal to set user_abort arrives right 2797 before a blocking system call is made. In this case the call 2798 may block until another signal arrives, while the wanted 2799 behavior is to make xz clean up and exit as soon as possible. 2800 2801 After this commit, the race condition is avoided with the 2802 input side which already uses non-blocking I/O. The output 2803 side still uses blocking I/O and thus has the race condition. 2804 2805 src/xz/file_io.c | 56 ++++++++++++++++++++++++++++++++++++++++++++------------ 2806 src/xz/file_io.h | 8 ++++++++ 2807 src/xz/signals.c | 5 +++++ 2808 3 files changed, 57 insertions(+), 12 deletions(-) 2809 2810commit 3541bc79d0cfabc0ad155c99bfdad1289f17fec3 2811Author: Lasse Collin <lasse.collin@tukaani.org> 2812Date: 2013-06-28 22:51:02 +0300 2813 2814 xz: Use non-blocking I/O for the input file. 2815 2816 src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++---------------- 2817 1 file changed, 111 insertions(+), 45 deletions(-) 2818 2819commit 78673a08bed5066c81e8a8e90d20e670c28ecfd5 2820Author: Lasse Collin <lasse.collin@tukaani.org> 2821Date: 2013-06-28 18:46:13 +0300 2822 2823 xz: Remove an outdated NetBSD-specific comment. 2824 2825 Nowadays errno == EFTYPE is documented in open(2). 2826 2827 src/xz/file_io.c | 4 ---- 2828 1 file changed, 4 deletions(-) 2829 2830commit a616fdad34b48b2932ef03fb87309dcc8b829527 2831Author: Lasse Collin <lasse.collin@tukaani.org> 2832Date: 2013-06-28 18:09:47 +0300 2833 2834 xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls. 2835 2836 POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on 2837 error and "other than -1" on success. This is how it is 2838 documented e.g. on OpenBSD too. On Linux, success with 2839 F_SETFL is always 0 (at least accorinding to fcntl(2) 2840 from man-pages 3.51). 2841 2842 src/xz/file_io.c | 8 ++++---- 2843 1 file changed, 4 insertions(+), 4 deletions(-) 2844 2845commit 4a08a6e4c61c65ab763ab314100a6d7a3bb89298 2846Author: Lasse Collin <lasse.collin@tukaani.org> 2847Date: 2013-06-28 17:36:47 +0300 2848 2849 xz: Fix use of wrong variable in a fcntl() call. 2850 2851 Due to a wrong variable name, when writing a sparse file 2852 to standard output, *all* file status flags were cleared 2853 (to the extent the operating system allowed it) instead of 2854 only clearing the O_APPEND flag. In practice this worked 2855 fine in the common situations on GNU/Linux, but I didn't 2856 check how it behaved elsewhere. 2857 2858 The original flags were still restored correctly. I still 2859 changed the code to use a separate boolean variable to 2860 indicate when the flags should be restored instead of 2861 relying on a special value in stdout_flags. 2862 2863 src/xz/file_io.c | 24 +++++++++++++----------- 2864 1 file changed, 13 insertions(+), 11 deletions(-) 2865 2866commit b790b435daa3351067f80a5973b647f8d55367a2 2867Author: Lasse Collin <lasse.collin@tukaani.org> 2868Date: 2013-06-28 14:55:37 +0300 2869 2870 xz: Fix assertion related to posix_fadvise(). 2871 2872 Input file can be a FIFO or something else that doesn't 2873 support posix_fadvise() so don't check the return value 2874 even with an assertion. Nothing bad happens if the call 2875 to posix_fadvise() fails. 2876 2877 src/xz/file_io.c | 10 ++-------- 2878 1 file changed, 2 insertions(+), 8 deletions(-) 2879 2880commit 84d2da6c9dc252f441deb7626c2522202b005d4d 2881Author: Lasse Collin <lasse.collin@tukaani.org> 2882Date: 2013-06-26 13:30:57 +0300 2883 2884 xz: Check the value of lzma_stream_flags.version in --list. 2885 2886 It is a no-op for now, but if an old xz version is used 2887 together with a newer liblzma that supports something new, 2888 then this check becomes important and will stop the old xz 2889 from trying to parse files that it won't understand. 2890 2891 src/xz/list.c | 14 ++++++++++++++ 2892 1 file changed, 14 insertions(+) 2893 2894commit 9376f5f8f762296f2173d61af9101112c36f38c0 2895Author: Lasse Collin <lasse.collin@tukaani.org> 2896Date: 2013-06-26 12:17:00 +0300 2897 2898 Build: Require Automake 1.12 and use serial-tests option. 2899 2900 It should actually still work with Automake 1.10 if 2901 the serial-tests option is removed. Automake 1.13 started 2902 using parallel tests by default and the option to get 2903 the old behavior isn't supported before 1.12. 2904 2905 At least for now, parallel tests don't improve anything 2906 in XZ Utils but they hide the progress output from 2907 test_compress.sh. 2908 2909 configure.ac | 4 +++- 2910 1 file changed, 3 insertions(+), 1 deletion(-) 2911 2912commit b7e200d7bd0a3c7c171c13ad37d68296d6f73374 2913Author: Lasse Collin <lasse.collin@tukaani.org> 2914Date: 2013-06-23 18:59:13 +0300 2915 2916 Update THANKS. 2917 2918 THANKS | 1 + 2919 1 file changed, 1 insertion(+) 2920 2921commit 46540e4c10923e363741ff5aab99e79fc0ce6ee8 2922Author: Lasse Collin <lasse.collin@tukaani.org> 2923Date: 2013-06-23 18:57:23 +0300 2924 2925 liblzma: Avoid a warning about a shadowed variable. 2926 2927 On Mac OS X wait() is declared in <sys/wait.h> that 2928 we include one way or other so don't use "wait" as 2929 a variable name. 2930 2931 Thanks to Christian Kujau. 2932 2933 src/liblzma/common/stream_encoder_mt.c | 4 ++-- 2934 1 file changed, 2 insertions(+), 2 deletions(-) 2935 2936commit ebb501ec73cecc546c67117dd01b5e33c90bfb4a 2937Author: Lasse Collin <lasse.collin@tukaani.org> 2938Date: 2013-06-23 17:36:47 +0300 2939 2940 xz: Validate Uncompressed Size from Block Header in list.c. 2941 2942 This affects only "xz -lvv". Normal decompression with xz 2943 already detected if Block Header and Index had mismatched 2944 Uncompressed Size fields. So this just makes "xz -lvv" 2945 show such files as corrupt instead of showing the 2946 Uncompressed Size from Index. 2947 2948 src/xz/list.c | 14 +++++++++++++- 2949 1 file changed, 13 insertions(+), 1 deletion(-) 2950 2951commit c09e91dd236d3cabee0fc48312b3dc8cceae41ab 2952Author: Lasse Collin <lasse.collin@tukaani.org> 2953Date: 2013-06-21 22:08:11 +0300 2954 2955 Update THANKS. 2956 2957 THANKS | 2 ++ 2958 1 file changed, 2 insertions(+) 2959 2960commit eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494 2961Author: Lasse Collin <lasse.collin@tukaani.org> 2962Date: 2013-06-21 22:04:45 +0300 2963 2964 xz: Make the man page more friendly to doclifter. 2965 2966 Thanks to Eric S. Raymond. 2967 2968 src/xz/xz.1 | 7 ++++--- 2969 1 file changed, 4 insertions(+), 3 deletions(-) 2970 2971commit 0c0a1947e6ad90a0a10b7a5c39f6ab99a0aa5c93 2972Author: Lasse Collin <lasse.collin@tukaani.org> 2973Date: 2013-06-21 21:54:59 +0300 2974 2975 xz: A couple of man page fixes. 2976 2977 Now the interaction of presets and custom filter chains 2978 is described correctly. Earlier it contradicted itself. 2979 2980 Thanks to DevHC who reported these issues on IRC to me 2981 on 2012-12-14. 2982 2983 src/xz/xz.1 | 35 +++++++++++++++++++++++------------ 2984 1 file changed, 23 insertions(+), 12 deletions(-) 2985 2986commit 2fcda89939c903106c429e109083d43d894049e0 2987Author: Lasse Collin <lasse.collin@tukaani.org> 2988Date: 2013-06-21 21:50:26 +0300 2989 2990 xz: Fix interaction between preset and custom filter chains. 2991 2992 There was somewhat illogical behavior when --extreme was 2993 specified and mixed with custom filter chains. 2994 2995 Before this commit, "xz -9 --lzma2 -e" was equivalent 2996 to "xz --lzma2". After it is equivalent to "xz -6e" 2997 (all earlier preset options get forgotten when a custom 2998 filter chain is specified and the default preset is 6 2999 to which -e is applied). I find this less illogical. 3000 3001 This also affects the meaning of "xz -9e --lzma2 -7". 3002 Earlier it was equivalent to "xz -7e" (the -e specified 3003 before a custom filter chain wasn't forgotten). Now it 3004 is "xz -7". Note that "xz -7e" still is the same as "xz -e7". 3005 3006 Hopefully very few cared about this in the first place, 3007 so pretty much no one should even notice this change. 3008 3009 Thanks to Conley Moorhous. 3010 3011 src/xz/coder.c | 35 +++++++++++++++++++++-------------- 3012 1 file changed, 21 insertions(+), 14 deletions(-) 3013 3014commit 97379c5ea758da3f8b0bc444d5f7fa43753ce610 3015Author: Lasse Collin <lasse.collin@tukaani.org> 3016Date: 2013-04-27 22:07:46 +0300 3017 3018 Build: Use -Wvla with GCC if supported. 3019 3020 Variable-length arrays are mandatory in C99 but optional in C11. 3021 The code doesn't currently use any VLAs and it shouldn't in the 3022 future either to stay compatible with C11 without requiring any 3023 optional C11 features. 3024 3025 configure.ac | 1 + 3026 1 file changed, 1 insertion(+) 3027 3028commit 8957c58609d3987c58aa72b96c436cf565cc4917 3029Author: Lasse Collin <lasse.collin@tukaani.org> 3030Date: 2013-04-15 19:29:09 +0300 3031 3032 xzdec: Improve the --help message. 3033 3034 The options are now ordered in the same order as in xz's help 3035 message. 3036 3037 Descriptions were added to the options that are ignored. 3038 I left them in parenthesis even if it looks a bit weird 3039 because I find it easier to spot the ignored vs. non-ignored 3040 options from the list that way. 3041 3042 src/xzdec/xzdec.c | 10 +++++----- 3043 1 file changed, 5 insertions(+), 5 deletions(-) 3044 3045commit ed886e1a92534a24401d0e99c11f1dcff3b5220a 3046Author: Lasse Collin <lasse.collin@tukaani.org> 3047Date: 2013-04-05 19:25:40 +0300 3048 3049 Update THANKS. 3050 3051 THANKS | 2 ++ 3052 1 file changed, 2 insertions(+) 3053 3054commit 5019413a055ce29e660dbbf15e02443cb5a26c59 3055Author: Jeff Bastian <jbastian@redhat.com> 3056Date: 2013-04-03 13:59:17 +0200 3057 3058 xzgrep: make the '-h' option to be --no-filename equivalent 3059 3060 * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing. 3061 3062 src/scripts/xzgrep.in | 2 +- 3063 1 file changed, 1 insertion(+), 1 deletion(-) 3064 3065commit 5ea900cb5ad862bca81316729f92357c1fc040ce 3066Author: Lasse Collin <lasse.collin@tukaani.org> 3067Date: 2013-03-23 22:25:15 +0200 3068 3069 liblzma: Be less picky in lzma_alone_decoder(). 3070 3071 To avoid false positives when detecting .lzma files, 3072 rare values in dictionary size and uncompressed size fields 3073 were rejected. They will still be rejected if .lzma files 3074 are decoded with lzma_auto_decoder(), but when using 3075 lzma_alone_decoder() directly, such files will now be accepted. 3076 Hopefully this is an OK compromise. 3077 3078 This doesn't affect xz because xz still has its own file 3079 format detection code. This does affect lzmadec though. 3080 So after this commit lzmadec will accept files that xz or 3081 xz-emulating-lzma doesn't. 3082 3083 NOTE: lzma_alone_decoder() still won't decode all .lzma files 3084 because liblzma's LZMA decoder doesn't support lc + lp > 4. 3085 3086 Reported here: 3087 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827 3088 3089 src/liblzma/common/alone_decoder.c | 22 ++++++++++++++-------- 3090 src/liblzma/common/alone_decoder.h | 5 +++-- 3091 src/liblzma/common/auto_decoder.c | 2 +- 3092 3 files changed, 18 insertions(+), 11 deletions(-) 3093 3094commit bb117fffa84604b6e3811b068c80db82bf7f7b05 3095Author: Lasse Collin <lasse.collin@tukaani.org> 3096Date: 2013-03-23 21:55:13 +0200 3097 3098 liblzma: Use lzma_block_buffer_bound64() in threaded encoder. 3099 3100 Now it uses lzma_block_uncomp_encode() if the data doesn't 3101 fit into the space calculated by lzma_block_buffer_bound64(). 3102 3103 src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++--------- 3104 1 file changed, 50 insertions(+), 16 deletions(-) 3105 3106commit e572e123b55b29527e54ce5f0807f115481d78b9 3107Author: Lasse Collin <lasse.collin@tukaani.org> 3108Date: 2013-03-23 21:51:38 +0200 3109 3110 liblzma: Fix another deadlock in the threaded encoder. 3111 3112 This race condition could cause a deadlock if lzma_end() was 3113 called before finishing the encoding. This can happen with 3114 xz with debugging enabled (non-debugging version doesn't 3115 call lzma_end() before exiting). 3116 3117 src/liblzma/common/stream_encoder_mt.c | 9 ++++++--- 3118 1 file changed, 6 insertions(+), 3 deletions(-) 3119 3120commit b465da5988dd59ad98fda10c2e4ea13d0b9c73bc 3121Author: Lasse Collin <lasse.collin@tukaani.org> 3122Date: 2013-03-23 19:17:33 +0200 3123 3124 liblzma: Add lzma_block_uncomp_encode(). 3125 3126 This also adds a new internal function 3127 lzma_block_buffer_bound64() which is similar to 3128 lzma_block_buffer_bound() but uses uint64_t instead 3129 of size_t. 3130 3131 src/liblzma/api/lzma/block.h | 18 ++++++ 3132 src/liblzma/common/block_buffer_encoder.c | 94 +++++++++++++++++++++---------- 3133 src/liblzma/common/block_buffer_encoder.h | 24 ++++++++ 3134 src/liblzma/liblzma.map | 1 + 3135 4 files changed, 106 insertions(+), 31 deletions(-) 3136 3137commit 9e6dabcf22ef4679f4faaae15ebd5b137ae2fad1 3138Author: Lasse Collin <lasse.collin@tukaani.org> 3139Date: 2013-03-05 19:14:50 +0200 3140 3141 Avoid unneeded use of awk in xzless. 3142 3143 Use "read" instead of "awk" in xzless to get the version 3144 number of "less". The need for awk was introduced in 3145 the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e. 3146 3147 Thanks to Ariel P for the patch. 3148 3149 src/scripts/xzless.in | 3 +-- 3150 1 file changed, 1 insertion(+), 2 deletions(-) 3151 3152commit e7b424d267a34803db8d92a3515528be2ed45abd 3153Author: Lasse Collin <lasse.collin@tukaani.org> 3154Date: 2012-12-14 20:13:32 +0200 3155 3156 Make the progress indicator smooth in threaded mode. 3157 3158 This adds lzma_get_progress() to liblzma and takes advantage 3159 of it in xz. 3160 3161 lzma_get_progress() collects progress information from 3162 the thread-specific structures so that fairly accurate 3163 progress information is available to applications. Adding 3164 a new function seemed to be a better way than making the 3165 information directly available in lzma_stream (like total_in 3166 and total_out are) because collecting the information requires 3167 locking mutexes. It's waste of time to do it more often than 3168 the up to date information is actually needed by an application. 3169 3170 src/liblzma/api/lzma/base.h | 22 +++++++++- 3171 src/liblzma/common/common.c | 16 +++++++ 3172 src/liblzma/common/common.h | 6 +++ 3173 src/liblzma/common/stream_encoder_mt.c | 77 +++++++++++++++++++++++++++++++--- 3174 src/liblzma/liblzma.map | 1 + 3175 src/xz/message.c | 20 +++++---- 3176 6 files changed, 129 insertions(+), 13 deletions(-) 3177 3178commit 2ebbb994e367f55f2561aa7c9e7451703c171f2f 3179Author: Lasse Collin <lasse.collin@tukaani.org> 3180Date: 2012-12-14 11:01:41 +0200 3181 3182 liblzma: Fix mythread_sync for nested locking. 3183 3184 src/common/mythread.h | 5 +++-- 3185 1 file changed, 3 insertions(+), 2 deletions(-) 3186 3187commit 4c7e28705f6de418d19cc77324ef301f996e01ff 3188Author: Lasse Collin <lasse.collin@tukaani.org> 3189Date: 2012-12-13 21:05:36 +0200 3190 3191 xz: Mention --threads in --help. 3192 3193 Thanks to Olivier Delhomme for pointing out that this 3194 was still missing. 3195 3196 src/xz/message.c | 4 ++++ 3197 1 file changed, 4 insertions(+) 3198 3199commit db5c1817fabf7cbb9e4087b1576eb26f0747338e 3200Author: Jonathan Nieder <jrnieder@gmail.com> 3201Date: 2012-11-19 00:10:10 -0800 3202 3203 xzless: Make "less -V" parsing more robust 3204 3205 In v4.999.9beta~30 (xzless: Support compressed standard input, 3206 2009-08-09), xzless learned to parse ‘less -V’ output to figure out 3207 whether less is new enough to handle $LESSOPEN settings starting 3208 with “|-”. That worked well for a while, but the version string from 3209 ‘less’ versions 448 (June, 2012) is misparsed, producing a warning: 3210 3211 $ xzless /tmp/test.xz; echo $? 3212 /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \ 3213 integer expression expected 3214 0 3215 3216 More precisely, modern ‘less’ lists the regexp implementation along 3217 with its version number, and xzless passes the entire version number 3218 with attached parenthetical phrase as a number to "test $a -gt $b", 3219 producing the above confusing message. 3220 3221 $ less-444 -V | head -1 3222 less 444 3223 $ less -V | head -1 3224 less 456 (no regular expressions) 3225 3226 So relax the pattern matched --- instead of expecting "less <number>", 3227 look for a line of the form "less <number>[ (extra parenthetical)]". 3228 While at it, improve the behavior when no matching line is found --- 3229 instead of producing a cryptic message, we can fall back on a LESSPIPE 3230 setting that is supported by all versions of ‘less’. 3231 3232 The implementation uses "awk" for simplicity. Hopefully that’s 3233 portable enough. 3234 3235 Reported-by: Jörg-Volker Peetz <jvpeetz@web.de> 3236 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 3237 3238 src/scripts/xzless.in | 3 ++- 3239 1 file changed, 2 insertions(+), 1 deletion(-) 3240 3241commit 65536214a31ecd33b6b03b68a351fb597d3703d6 3242Author: Lasse Collin <lasse.collin@tukaani.org> 3243Date: 2012-10-03 15:54:24 +0300 3244 3245 xz: Fix the note about --rsyncable on the man page. 3246 3247 src/xz/xz.1 | 17 +++++++++-------- 3248 1 file changed, 9 insertions(+), 8 deletions(-) 3249 3250commit 3d93b6354927247a1569caf22ad27b07e97ee904 3251Author: Lasse Collin <lasse.collin@tukaani.org> 3252Date: 2012-09-28 20:11:09 +0300 3253 3254 xz: Improve handling of failed realloc in xrealloc. 3255 3256 Thanks to Jim Meyering. 3257 3258 src/xz/util.c | 14 ++++++++++++-- 3259 1 file changed, 12 insertions(+), 2 deletions(-) 3260 3261commit ab225620664e235637833be2329935f9d290ba80 3262Author: Lasse Collin <lasse.collin@tukaani.org> 3263Date: 2012-08-24 16:27:31 +0300 3264 3265 A few typo fixes to comments and the xz man page. 3266 3267 Thanks to Jim Meyering. 3268 3269 configure.ac | 2 +- 3270 src/liblzma/check/sha256.c | 1 - 3271 src/xz/xz.1 | 4 ++-- 3272 3 files changed, 3 insertions(+), 4 deletions(-) 3273 3274commit f3c1ec69d910175ffd431fd82968dd35cec806ed 3275Author: Lasse Collin <lasse.collin@tukaani.org> 3276Date: 2012-08-13 21:40:09 +0300 3277 3278 xz: Add a warning to --help about alpha and beta versions. 3279 3280 src/xz/message.c | 5 +++++ 3281 1 file changed, 5 insertions(+) 3282 3283commit d8eaf9d8278c23c2cf2b7ca5562d4de570d3b5db 3284Author: Lasse Collin <lasse.collin@tukaani.org> 3285Date: 2012-08-02 17:13:30 +0300 3286 3287 Build: Bump gettext version requirement to 0.18. 3288 3289 Otherwise too old version of m4/lib-link.m4 gets included 3290 when autoreconf -fi is run. 3291 3292 configure.ac | 2 +- 3293 1 file changed, 1 insertion(+), 1 deletion(-) 3294 3295commit 96e08902b09f0f304d4ff80c6e83ef7fff883f34 3296Author: Lasse Collin <lasse.collin@tukaani.org> 3297Date: 2012-07-17 18:29:08 +0300 3298 3299 Update THANKS. 3300 3301 THANKS | 1 + 3302 1 file changed, 1 insertion(+) 3303 3304commit 3778db1be53e61ff285c573af5ee468803008456 3305Author: Lasse Collin <lasse.collin@tukaani.org> 3306Date: 2012-07-17 18:19:59 +0300 3307 3308 liblzma: Make the use of lzma_allocator const-correct. 3309 3310 There is a tiny risk of causing breakage: If an application 3311 assigns lzma_stream.allocator to a non-const pointer, such 3312 code won't compile anymore. I don't know why anyone would do 3313 such a thing though, so in practice this shouldn't cause trouble. 3314 3315 Thanks to Jan Kratochvil for the patch. 3316 3317 src/liblzma/api/lzma/base.h | 4 +++- 3318 src/liblzma/api/lzma/block.h | 6 ++--- 3319 src/liblzma/api/lzma/container.h | 9 +++++--- 3320 src/liblzma/api/lzma/filter.h | 13 ++++++----- 3321 src/liblzma/api/lzma/index.h | 16 ++++++------- 3322 src/liblzma/api/lzma/index_hash.h | 4 ++-- 3323 src/liblzma/common/alone_decoder.c | 6 ++--- 3324 src/liblzma/common/alone_decoder.h | 2 +- 3325 src/liblzma/common/alone_encoder.c | 8 +++---- 3326 src/liblzma/common/auto_decoder.c | 6 ++--- 3327 src/liblzma/common/block_buffer_decoder.c | 2 +- 3328 src/liblzma/common/block_buffer_encoder.c | 4 ++-- 3329 src/liblzma/common/block_decoder.c | 6 ++--- 3330 src/liblzma/common/block_decoder.h | 2 +- 3331 src/liblzma/common/block_encoder.c | 8 +++---- 3332 src/liblzma/common/block_encoder.h | 2 +- 3333 src/liblzma/common/block_header_decoder.c | 4 ++-- 3334 src/liblzma/common/common.c | 10 ++++----- 3335 src/liblzma/common/common.h | 20 +++++++++-------- 3336 src/liblzma/common/easy_buffer_encoder.c | 4 ++-- 3337 src/liblzma/common/filter_buffer_decoder.c | 3 ++- 3338 src/liblzma/common/filter_buffer_encoder.c | 7 +++--- 3339 src/liblzma/common/filter_common.c | 4 ++-- 3340 src/liblzma/common/filter_common.h | 2 +- 3341 src/liblzma/common/filter_decoder.c | 7 +++--- 3342 src/liblzma/common/filter_decoder.h | 2 +- 3343 src/liblzma/common/filter_encoder.c | 2 +- 3344 src/liblzma/common/filter_encoder.h | 2 +- 3345 src/liblzma/common/filter_flags_decoder.c | 2 +- 3346 src/liblzma/common/index.c | 26 ++++++++++----------- 3347 src/liblzma/common/index_decoder.c | 12 +++++----- 3348 src/liblzma/common/index_encoder.c | 6 ++--- 3349 src/liblzma/common/index_encoder.h | 2 +- 3350 src/liblzma/common/index_hash.c | 6 +++-- 3351 src/liblzma/common/outqueue.c | 4 ++-- 3352 src/liblzma/common/outqueue.h | 5 +++-- 3353 src/liblzma/common/stream_buffer_decoder.c | 2 +- 3354 src/liblzma/common/stream_buffer_encoder.c | 3 ++- 3355 src/liblzma/common/stream_decoder.c | 9 ++++---- 3356 src/liblzma/common/stream_decoder.h | 5 +++-- 3357 src/liblzma/common/stream_encoder.c | 10 ++++----- 3358 src/liblzma/common/stream_encoder_mt.c | 16 ++++++------- 3359 src/liblzma/delta/delta_common.c | 4 ++-- 3360 src/liblzma/delta/delta_decoder.c | 6 ++--- 3361 src/liblzma/delta/delta_decoder.h | 5 +++-- 3362 src/liblzma/delta/delta_encoder.c | 6 ++--- 3363 src/liblzma/delta/delta_encoder.h | 3 ++- 3364 src/liblzma/delta/delta_private.h | 2 +- 3365 src/liblzma/lz/lz_decoder.c | 8 +++---- 3366 src/liblzma/lz/lz_decoder.h | 7 +++--- 3367 src/liblzma/lz/lz_encoder.c | 19 ++++++++-------- 3368 src/liblzma/lz/lz_encoder.h | 6 ++--- 3369 src/liblzma/lzma/lzma2_decoder.c | 8 +++---- 3370 src/liblzma/lzma/lzma2_decoder.h | 5 +++-- 3371 src/liblzma/lzma/lzma2_encoder.c | 6 ++--- 3372 src/liblzma/lzma/lzma2_encoder.h | 2 +- 3373 src/liblzma/lzma/lzma_decoder.c | 8 +++---- 3374 src/liblzma/lzma/lzma_decoder.h | 7 +++--- 3375 src/liblzma/lzma/lzma_encoder.c | 7 +++--- 3376 src/liblzma/lzma/lzma_encoder.h | 5 +++-- 3377 src/liblzma/simple/arm.c | 8 ++++--- 3378 src/liblzma/simple/armthumb.c | 8 ++++--- 3379 src/liblzma/simple/ia64.c | 8 ++++--- 3380 src/liblzma/simple/powerpc.c | 8 ++++--- 3381 src/liblzma/simple/simple_coder.c | 10 ++++----- 3382 src/liblzma/simple/simple_coder.h | 36 ++++++++++++++++++++---------- 3383 src/liblzma/simple/simple_decoder.c | 2 +- 3384 src/liblzma/simple/simple_decoder.h | 2 +- 3385 src/liblzma/simple/simple_private.h | 3 ++- 3386 src/liblzma/simple/sparc.c | 8 ++++--- 3387 src/liblzma/simple/x86.c | 8 ++++--- 3388 71 files changed, 269 insertions(+), 219 deletions(-) 3389 3390commit d625c7cf824fd3b61c6da84f56179e94917ff603 3391Author: Lasse Collin <lasse.collin@tukaani.org> 3392Date: 2012-07-05 07:36:28 +0300 3393 3394 Tests: Remove tests/test_block.c that had gotten committed accidentally. 3395 3396 tests/test_block.c | 52 ---------------------------------------------------- 3397 1 file changed, 52 deletions(-) 3398 3399commit 0b09d266cce72bc4841933b171e79551e488927c 3400Author: Lasse Collin <lasse.collin@tukaani.org> 3401Date: 2012-07-05 07:33:35 +0300 3402 3403 Build: Include macosx/build.sh in the distribution. 3404 3405 It has been in the Git repository since 2010 but probably 3406 few people have seen it since it hasn't been included in 3407 the release tarballs. :-( 3408 3409 Makefile.am | 1 + 3410 1 file changed, 1 insertion(+) 3411 3412commit d6e0b23d4613b9f417893dd96cc168c8005ece3d 3413Author: Lasse Collin <lasse.collin@tukaani.org> 3414Date: 2012-07-05 07:28:53 +0300 3415 3416 Build: Include validate_map.sh in the distribution. 3417 3418 It's required by "make mydist". 3419 3420 Fix also the location of EXTRA_DIST+= so that those files 3421 get distributed also if symbol versioning isn't enabled. 3422 3423 src/liblzma/Makefile.am | 2 +- 3424 1 file changed, 1 insertion(+), 1 deletion(-) 3425 3426commit 19de545d86097c3954d69ab5d12820387f6a09bc 3427Author: Lasse Collin <lasse.collin@tukaani.org> 3428Date: 2012-07-05 07:24:45 +0300 3429 3430 Docs: Fix the name LZMA Utils -> XZ Utils in debug/README. 3431 3432 debug/README | 2 +- 3433 1 file changed, 1 insertion(+), 1 deletion(-) 3434 3435commit 672eccf57c31a40dfb956b7662db06d43e18618e 3436Author: Lasse Collin <lasse.collin@tukaani.org> 3437Date: 2012-07-05 07:23:17 +0300 3438 3439 Include debug/translation.bash in the distribution. 3440 3441 Also fix the script name mentioned in README. 3442 3443 README | 4 ++-- 3444 debug/Makefile.am | 3 +++ 3445 2 files changed, 5 insertions(+), 2 deletions(-) 3446 3447commit cafb523adac1caf305e70a04bc37f25602bf990c 3448Author: Lasse Collin <lasse.collin@tukaani.org> 3449Date: 2012-07-04 22:31:58 +0300 3450 3451 xz: Document --block-list better. 3452 3453 Thanks to Jonathan Nieder. 3454 3455 src/xz/xz.1 | 8 +++++++- 3456 1 file changed, 7 insertions(+), 1 deletion(-) 3457 3458commit c7ff218528bc8f7c65e7ef73c6515777346c6794 3459Author: Lasse Collin <lasse.collin@tukaani.org> 3460Date: 2012-07-04 20:01:49 +0300 3461 3462 Bump the version number to 5.1.2alpha. 3463 3464 src/liblzma/api/lzma/version.h | 2 +- 3465 src/liblzma/liblzma.map | 2 +- 3466 2 files changed, 2 insertions(+), 2 deletions(-) 3467 3468commit 8f3c1d886f93e6478ad509ff52102b2ce7faa999 3469Author: Lasse Collin <lasse.collin@tukaani.org> 3470Date: 2012-07-04 20:01:19 +0300 3471 3472 Update NEWS for 5.1.2alpha. 3473 3474 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++ 3475 1 file changed, 41 insertions(+) 3476 3477commit 0d5fa05466e580fbc458820f87013ae7644e20e5 3478Author: Lasse Collin <lasse.collin@tukaani.org> 3479Date: 2012-07-04 19:58:23 +0300 3480 3481 xz: Fix the version number printed by xz -lvv. 3482 3483 The decoder bug was fixed in 5.0.2 instead of 5.0.3. 3484 3485 src/xz/list.c | 6 +++--- 3486 1 file changed, 3 insertions(+), 3 deletions(-) 3487 3488commit df11317985a4165731dde12bb0f0028da0e7b77f 3489Author: Lasse Collin <lasse.collin@tukaani.org> 3490Date: 2012-07-04 17:11:31 +0300 3491 3492 Build: Add a comment to configure.ac about symbol versioning. 3493 3494 configure.ac | 4 ++++ 3495 1 file changed, 4 insertions(+) 3496 3497commit bd9cc179e8be3ef515201d3ed9c7dd79ae88869d 3498Author: Lasse Collin <lasse.collin@tukaani.org> 3499Date: 2012-07-04 17:06:49 +0300 3500 3501 Update TODO. 3502 3503 TODO | 12 ++++++++++-- 3504 1 file changed, 10 insertions(+), 2 deletions(-) 3505 3506commit 4a238dd9b22f462cac5e199828bf1beb0df05884 3507Author: Lasse Collin <lasse.collin@tukaani.org> 3508Date: 2012-07-04 17:05:46 +0300 3509 3510 Document --enable-symbol-versions in INSTALL. 3511 3512 INSTALL | 5 +++++ 3513 1 file changed, 5 insertions(+) 3514 3515commit 88ccf47205d7f3aa314d358c72ef214f10f68b43 3516Author: Lasse Collin <lasse.collin@tukaani.org> 3517Date: 2012-07-03 21:16:39 +0300 3518 3519 xz: Add incomplete support for --block-list. 3520 3521 It's broken with threads and when also --block-size is used. 3522 3523 src/xz/args.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3524 src/xz/args.h | 1 + 3525 src/xz/coder.c | 48 ++++++++++++++++++++++++++++------ 3526 src/xz/coder.h | 4 +++ 3527 src/xz/main.c | 1 + 3528 src/xz/message.c | 6 +++++ 3529 src/xz/xz.1 | 23 +++++++++++++++-- 3530 7 files changed, 151 insertions(+), 10 deletions(-) 3531 3532commit 972179cdcdf5d8949c48ee31737d87d3050b44af 3533Author: Lasse Collin <lasse.collin@tukaani.org> 3534Date: 2012-07-01 18:44:33 +0300 3535 3536 xz: Update the man page about the new field in --robot -lvv. 3537 3538 src/xz/xz.1 | 18 +++++++++++++++++- 3539 1 file changed, 17 insertions(+), 1 deletion(-) 3540 3541commit 1403707fc64a70976aebe66f8d9a9bd12f73a2c5 3542Author: Lasse Collin <lasse.collin@tukaani.org> 3543Date: 2012-06-28 10:47:49 +0300 3544 3545 liblzma: Check that the first byte of range encoded data is 0x00. 3546 3547 It is just to be more pedantic and thus perhaps catch broken 3548 files slightly earlier. 3549 3550 src/liblzma/lzma/lzma_decoder.c | 8 ++++++-- 3551 src/liblzma/rangecoder/range_decoder.h | 12 +++++++++--- 3552 2 files changed, 15 insertions(+), 5 deletions(-) 3553 3554commit eccd8017ffe2c5de473222c4963ec53c62f7fda2 3555Author: Lasse Collin <lasse.collin@tukaani.org> 3556Date: 2012-06-22 19:00:23 +0300 3557 3558 Update NEWS from 5.0.4. 3559 3560 NEWS | 37 +++++++++++++++++++++++++++++++++++++ 3561 1 file changed, 37 insertions(+) 3562 3563commit 2e6754eac26a431e8d340c28906f63bcd1e177e8 3564Author: Lasse Collin <lasse.collin@tukaani.org> 3565Date: 2012-06-22 14:34:03 +0300 3566 3567 xz: Update man page date to match the latest update. 3568 3569 src/xz/xz.1 | 2 +- 3570 1 file changed, 1 insertion(+), 1 deletion(-) 3571 3572commit b3235a0b1af45d5e1244cbe3191516966c076fa0 3573Author: Lasse Collin <lasse.collin@tukaani.org> 3574Date: 2012-06-18 21:27:47 +0300 3575 3576 Docs: Language fix to 01_compress_easy.c. 3577 3578 Thanks to Jonathan Nieder. 3579 3580 doc/examples/01_compress_easy.c | 2 +- 3581 1 file changed, 1 insertion(+), 1 deletion(-) 3582 3583commit f1675f765fe228cb5a5f904f853445a03e33cfe9 3584Author: Lasse Collin <lasse.collin@tukaani.org> 3585Date: 2012-06-14 20:15:30 +0300 3586 3587 Fix the top-level Makefile.am for the new example programs. 3588 3589 Makefile.am | 12 ++++++++++-- 3590 1 file changed, 10 insertions(+), 2 deletions(-) 3591 3592commit 3a0c5378abefaf86aa39a62a7c9682bdb21568a1 3593Author: Lasse Collin <lasse.collin@tukaani.org> 3594Date: 2012-06-14 10:52:33 +0300 3595 3596 Docs: Add new example programs. 3597 3598 These have more comments than the old examples and 3599 human-readable error messages. More tutorial-like examples 3600 are needed but these are a start. 3601 3602 doc/examples/00_README.txt | 27 ++++ 3603 doc/examples/01_compress_easy.c | 297 ++++++++++++++++++++++++++++++++++++++ 3604 doc/examples/02_decompress.c | 287 ++++++++++++++++++++++++++++++++++++ 3605 doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++ 3606 doc/examples/Makefile | 23 +++ 3607 5 files changed, 827 insertions(+) 3608 3609commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d 3610Author: Lasse Collin <lasse.collin@tukaani.org> 3611Date: 2012-06-14 10:33:27 +0300 3612 3613 Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old. 3614 3615 It is good to keep these around to so that if someone has 3616 copied the decompressor bug from xz_pipe_decomp.c he has 3617 an example how to easily fix it. 3618 3619 doc/{examples => examples_old}/xz_pipe_comp.c | 0 3620 doc/{examples => examples_old}/xz_pipe_decomp.c | 0 3621 2 files changed, 0 insertions(+), 0 deletions(-) 3622 3623commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292 3624Author: Lasse Collin <lasse.collin@tukaani.org> 3625Date: 2012-06-14 10:33:01 +0300 3626 3627 Docs: Fix a bug in xz_pipe_decomp.c example program. 3628 3629 doc/examples/xz_pipe_decomp.c | 10 +++++++++- 3630 1 file changed, 9 insertions(+), 1 deletion(-) 3631 3632commit 4bd1a3bd5fdf4870b2f96dd0b8a21657c8a58ad8 3633Author: Lasse Collin <lasse.collin@tukaani.org> 3634Date: 2012-05-30 23:14:33 +0300 3635 3636 Translations: Update the French translation. 3637 3638 Thanks to Adrien Nader. 3639 3640 po/fr.po | 148 ++++++++++++++++++++++++++++++++++----------------------------- 3641 1 file changed, 79 insertions(+), 69 deletions(-) 3642 3643commit d2e836f2f3a87df6fe6bb0589b037db51205d910 3644Author: Lasse Collin <lasse.collin@tukaani.org> 3645Date: 2012-05-29 23:42:37 +0300 3646 3647 Translations: Update the German translation. 3648 3649 The previous only included the new strings in v5.0. 3650 3651 po/de.po | 229 +++++++++++++++++++++++++++++++++++++-------------------------- 3652 1 file changed, 133 insertions(+), 96 deletions(-) 3653 3654commit c9a16151577ba459afd6e3528df23bc0ddb95171 3655Author: Lasse Collin <lasse.collin@tukaani.org> 3656Date: 2012-05-29 22:26:27 +0300 3657 3658 Translations: Update the German translation. 3659 3660 po/de.po | 169 ++++++++++++++++++++++++++++++++++----------------------------- 3661 1 file changed, 91 insertions(+), 78 deletions(-) 3662 3663commit 1530a74fd48f8493372edad137a24541efe24713 3664Author: Lasse Collin <lasse.collin@tukaani.org> 3665Date: 2012-05-29 22:14:21 +0300 3666 3667 Translations: Update Polish translation. 3668 3669 po/pl.po | 283 +++++++++++++++++++++++++++++++++++++-------------------------- 3670 1 file changed, 165 insertions(+), 118 deletions(-) 3671 3672commit d8db706acb8316f9861abd432cfbe001dd6d0c5c 3673Author: Lasse Collin <lasse.collin@tukaani.org> 3674Date: 2012-05-28 20:42:11 +0300 3675 3676 liblzma: Fix possibility of incorrect LZMA_BUF_ERROR. 3677 3678 lzma_code() could incorrectly return LZMA_BUF_ERROR if 3679 all of the following was true: 3680 3681 - The caller knows how many bytes of output to expect 3682 and only provides that much output space. 3683 3684 - When the last output bytes are decoded, the 3685 caller-provided input buffer ends right before 3686 the LZMA2 end of payload marker. So LZMA2 won't 3687 provide more output anymore, but it won't know it 3688 yet and thus won't return LZMA_STREAM_END yet. 3689 3690 - A BCJ filter is in use and it hasn't left any 3691 unfiltered bytes in the temp buffer. This can happen 3692 with any BCJ filter, but in practice it's more likely 3693 with filters other than the x86 BCJ. 3694 3695 Another situation where the bug can be triggered happens 3696 if the uncompressed size is zero bytes and no output space 3697 is provided. In this case the decompression can fail even 3698 if the whole input file is given to lzma_code(). 3699 3700 A similar bug was fixed in XZ Embedded on 2011-09-19. 3701 3702 src/liblzma/simple/simple_coder.c | 2 +- 3703 tests/Makefile.am | 4 +- 3704 tests/test_bcj_exact_size.c | 112 ++++++++++++++++++++++++++++++++++++++ 3705 3 files changed, 116 insertions(+), 2 deletions(-) 3706 3707commit 3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda 3708Author: Lasse Collin <lasse.collin@tukaani.org> 3709Date: 2012-05-28 15:38:32 +0300 3710 3711 Update THANKS. 3712 3713 THANKS | 1 + 3714 1 file changed, 1 insertion(+) 3715 3716commit 7769ea051d739a38a1640fd448cf5eb83cb119c6 3717Author: Lasse Collin <lasse.collin@tukaani.org> 3718Date: 2012-05-28 15:37:43 +0300 3719 3720 xz: Don't show a huge number in -vv when memory limit is disabled. 3721 3722 src/xz/message.c | 12 +++++++++++- 3723 1 file changed, 11 insertions(+), 1 deletion(-) 3724 3725commit ec921105725e4d3ef0a683dd83eee6f24ab60ccd 3726Author: Lasse Collin <lasse.collin@tukaani.org> 3727Date: 2012-05-27 22:30:17 +0300 3728 3729 xz: Document the "summary" lines of --robot -lvv. 3730 3731 This documents only the columns that are in v5.0. 3732 The new columns added in the master branch aren't 3733 necessarily stable yet. 3734 3735 src/xz/xz.1 | 19 +++++++++++++++++++ 3736 1 file changed, 19 insertions(+) 3737 3738commit 27d24eb0a9f6eed96d6a4594c2b0bf7a91d29f9a 3739Author: Lasse Collin <lasse.collin@tukaani.org> 3740Date: 2012-05-27 21:53:20 +0300 3741 3742 xz: Fix output of verbose --robot --list modes. 3743 3744 It printed the filename in "filename (x/y)" format 3745 which it obviously shouldn't do in robot mode. 3746 3747 src/xz/message.c | 2 +- 3748 1 file changed, 1 insertion(+), 1 deletion(-) 3749 3750commit ab25b82a91754d9388c89abddf806424671d9431 3751Author: Lasse Collin <lasse.collin@tukaani.org> 3752Date: 2012-05-24 18:33:54 +0300 3753 3754 Build: Upgrade m4/acx_pthread.m4 to the latest version. 3755 3756 m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++--------------------- 3757 1 file changed, 62 insertions(+), 36 deletions(-) 3758 3759commit d05d6d65c41a4bc83f162fa3d67c5d84e8751634 3760Author: Lasse Collin <lasse.collin@tukaani.org> 3761Date: 2012-05-10 21:15:17 +0300 3762 3763 Update THANKS. 3764 3765 THANKS | 1 + 3766 1 file changed, 1 insertion(+) 3767 3768commit e077391982f9f28dbfe542bba8800e7c5b916666 3769Author: Lasse Collin <lasse.collin@tukaani.org> 3770Date: 2012-05-10 21:14:16 +0300 3771 3772 Docs: Cleanup line wrapping a bit. 3773 3774 README | 12 ++++++------ 3775 doc/history.txt | 49 +++++++++++++++++++++++++------------------------ 3776 2 files changed, 31 insertions(+), 30 deletions(-) 3777 3778commit fc39849c350225c6a1cd7f6e6adff1020521eabc 3779Author: Benno Schulenberg <bensberg@justemail.net> 3780Date: 2012-03-13 22:04:04 +0100 3781 3782 Fix a few typos and add some missing articles in some documents. 3783 3784 Also hyphenate several compound adjectives. 3785 3786 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 3787 3788 AUTHORS | 6 +++--- 3789 README | 42 ++++++++++++++++++++--------------------- 3790 doc/faq.txt | 24 ++++++++++++------------ 3791 doc/history.txt | 58 ++++++++++++++++++++++++++++----------------------------- 3792 4 files changed, 65 insertions(+), 65 deletions(-) 3793 3794commit 29fa0566d5df199cb9acb2d17bf7eea61acc7fa1 3795Author: Lasse Collin <lasse.collin@tukaani.org> 3796Date: 2012-04-29 11:51:25 +0300 3797 3798 Windows: Update notes about static linking with MSVC. 3799 3800 windows/README-Windows.txt | 13 +++++++++---- 3801 1 file changed, 9 insertions(+), 4 deletions(-) 3802 3803commit aac1b31ea4e66cf5a7a8c116bdaa15aa45e6c56e 3804Author: Lasse Collin <lasse.collin@tukaani.org> 3805Date: 2012-04-19 15:25:26 +0300 3806 3807 liblzma: Remove outdated comments. 3808 3809 src/liblzma/simple/simple_coder.c | 3 --- 3810 src/liblzma/simple/simple_private.h | 3 +-- 3811 2 files changed, 1 insertion(+), 5 deletions(-) 3812 3813commit df14a46013bea70c0bd35be7821b0b9108f97de7 3814Author: Lasse Collin <lasse.collin@tukaani.org> 3815Date: 2012-04-19 14:17:52 +0300 3816 3817 DOS: Link against DJGPP's libemu to support FPU emulation. 3818 3819 This way xz should work on 386SX and 486SX. Floating point 3820 only is needed for verbose output in xz. 3821 3822 dos/Makefile | 2 +- 3823 1 file changed, 1 insertion(+), 1 deletion(-) 3824 3825commit 03ed742a3a4931bb5c821357832083b26f577b13 3826Author: Lasse Collin <lasse.collin@tukaani.org> 3827Date: 2012-04-19 14:02:25 +0300 3828 3829 liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed. 3830 3831 src/liblzma/liblzma.pc.in | 2 +- 3832 1 file changed, 1 insertion(+), 1 deletion(-) 3833 3834commit 8c5b13ad59df70f49429bfdfd6ac120b8f892fda 3835Author: Lasse Collin <lasse.collin@tukaani.org> 3836Date: 2012-04-19 13:58:55 +0300 3837 3838 Docs: Update MINIX 3 information in INSTALL. 3839 3840 INSTALL | 8 +++++--- 3841 1 file changed, 5 insertions(+), 3 deletions(-) 3842 3843commit c7376fc415a1566f38b2de4b516a17013d516a8b 3844Author: Lasse Collin <lasse.collin@tukaani.org> 3845Date: 2012-02-22 14:23:13 +0200 3846 3847 Update THANKS. 3848 3849 THANKS | 1 + 3850 1 file changed, 1 insertion(+) 3851 3852commit cff070aba6281ba743d29a62b8c0c66e5da4b2a6 3853Author: Lasse Collin <lasse.collin@tukaani.org> 3854Date: 2012-02-22 14:02:34 +0200 3855 3856 Fix exit status of xzgrep when grepping binary files. 3857 3858 When grepping binary files, grep may exit before it has 3859 read all the input. In this case, gzip -q returns 2 (eating 3860 SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status 3861 (e.g. 141). This causes wrong exit status when grepping 3862 xz- or bzip2-compressed binary files. 3863 3864 The fix checks for the special exit status that indicates SIGPIPE. 3865 It uses kill -l which should be supported everywhere since it 3866 is in both SUSv2 (1997) and POSIX.1-2008. 3867 3868 Thanks to James Buren for the bug report. 3869 3870 src/scripts/xzgrep.in | 3 ++- 3871 1 file changed, 2 insertions(+), 1 deletion(-) 3872 3873commit 41cafb2bf9beea915710ee68f05fe929cd17759c 3874Author: Lasse Collin <lasse.collin@tukaani.org> 3875Date: 2012-02-22 12:08:43 +0200 3876 3877 Update THANKS. 3878 3879 THANKS | 1 + 3880 1 file changed, 1 insertion(+) 3881 3882commit 2dcea03712fa881930d69ec9eff70855c3d126d9 3883Author: Lasse Collin <lasse.collin@tukaani.org> 3884Date: 2012-02-22 12:00:16 +0200 3885 3886 Fix compiling with IBM XL C on AIX. 3887 3888 INSTALL | 36 ++++++++++++++++++++++-------------- 3889 configure.ac | 6 +++++- 3890 2 files changed, 27 insertions(+), 15 deletions(-) 3891 3892commit 7db6bdf4abcf524115be2cf5659ed540cef074c5 3893Author: Lasse Collin <lasse.collin@tukaani.org> 3894Date: 2012-01-10 17:13:03 +0200 3895 3896 Tests: Fix a compiler warning with _FORTIFY_SOURCE. 3897 3898 Reported here: 3899 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385 3900 3901 tests/create_compress_files.c | 3 ++- 3902 1 file changed, 2 insertions(+), 1 deletion(-) 3903 3904commit 694952d545b6cf056547893ced69486eff9ece55 3905Author: Lasse Collin <lasse.collin@tukaani.org> 3906Date: 2011-12-19 21:21:29 +0200 3907 3908 Docs: Explain the stable releases better in README. 3909 3910 README | 6 +++++- 3911 1 file changed, 5 insertions(+), 1 deletion(-) 3912 3913commit 418fe668b3c53a9a20020b6cc652aaf25c734b29 3914Author: Lasse Collin <lasse.collin@tukaani.org> 3915Date: 2011-11-07 13:07:52 +0200 3916 3917 xz: Show minimum required XZ Utils version in xz -lvv. 3918 3919 Man page wasn't updated yet. 3920 3921 src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------ 3922 1 file changed, 57 insertions(+), 6 deletions(-) 3923 3924commit 7081d82c37326bac97184e338345fa1c327e3580 3925Author: Lasse Collin <lasse.collin@tukaani.org> 3926Date: 2011-11-04 17:57:16 +0200 3927 3928 xz: Fix a typo in a comment. 3929 3930 Thanks to Bela Lubkin. 3931 3932 src/xz/args.c | 2 +- 3933 1 file changed, 1 insertion(+), 1 deletion(-) 3934 3935commit 232fe7cd70ad258d6a37f17e860e0f1b1891eeb5 3936Author: Lasse Collin <lasse.collin@tukaani.org> 3937Date: 2011-11-03 17:08:02 +0200 3938 3939 Update THANKS. 3940 3941 THANKS | 1 + 3942 1 file changed, 1 insertion(+) 3943 3944commit 74d2bae4d3449c68453b0473dd3430ce91fd90c1 3945Author: Lasse Collin <lasse.collin@tukaani.org> 3946Date: 2011-11-03 17:07:22 +0200 3947 3948 xz: Fix xz on EBCDIC systems. 3949 3950 Thanks to Chris Donawa. 3951 3952 src/xz/coder.c | 5 ++++- 3953 1 file changed, 4 insertions(+), 1 deletion(-) 3954 3955commit 4ac4923f47cc0ef97dd9ca5cfcc44fc53eeab34a 3956Author: Lasse Collin <lasse.collin@tukaani.org> 3957Date: 2011-10-23 17:09:10 +0300 3958 3959 Update THANKS. 3960 3961 THANKS | 1 + 3962 1 file changed, 1 insertion(+) 3963 3964commit ab50ae3ef40c81e5bf613905ca3fd636548b75e7 3965Author: Lasse Collin <lasse.collin@tukaani.org> 3966Date: 2011-10-23 17:08:14 +0300 3967 3968 liblzma: Fix invalid free() in the threaded encoder. 3969 3970 It was triggered if initialization failed e.g. due to 3971 running out of memory. 3972 3973 Thanks to Arkadiusz Miskiewicz. 3974 3975 src/liblzma/common/outqueue.c | 4 ++++ 3976 1 file changed, 4 insertions(+) 3977 3978commit 6b620a0f0813d28c3c544b4ff8cb595b38a6e908 3979Author: Lasse Collin <lasse.collin@tukaani.org> 3980Date: 2011-10-23 17:05:55 +0300 3981 3982 liblzma: Fix a deadlock in the threaded encoder. 3983 3984 It was triggered when reinitializing the encoder, 3985 e.g. when encoding two files. 3986 3987 src/liblzma/common/stream_encoder_mt.c | 4 +++- 3988 1 file changed, 3 insertions(+), 1 deletion(-) 3989 3990commit bd52cf150ecd51e3ab63a9cc1a3cff6a77500178 3991Author: Lasse Collin <lasse.collin@tukaani.org> 3992Date: 2011-09-06 12:03:41 +0300 3993 3994 Build: Fix "make check" on Windows. 3995 3996 tests/Makefile.am | 7 +++++-- 3997 windows/build.bash | 2 ++ 3998 2 files changed, 7 insertions(+), 2 deletions(-) 3999 4000commit 5c5b2256969ac473001b7d67615ed3bd0a54cc82 4001Author: Lasse Collin <lasse.collin@tukaani.org> 4002Date: 2011-08-09 21:19:13 +0300 4003 4004 Update THANKS. 4005 4006 THANKS | 2 ++ 4007 1 file changed, 2 insertions(+) 4008 4009commit 5b1e1f10741af9e4bbe4cfc3261fb7c7b04f7809 4010Author: Lasse Collin <lasse.collin@tukaani.org> 4011Date: 2011-08-09 21:16:44 +0300 4012 4013 Workaround unusual SIZE_MAX on SCO OpenServer. 4014 4015 src/common/sysdefs.h | 9 ++++++--- 4016 1 file changed, 6 insertions(+), 3 deletions(-) 4017 4018commit e9ed88126eee86e2511fa42681a5c7104820cf0a 4019Author: Lasse Collin <lasse.collin@tukaani.org> 4020Date: 2011-08-06 20:37:28 +0300 4021 4022 Run the scripts with the correct shell in test_scripts.sh. 4023 4024 The scripts are now made executable in the build tree. 4025 This way the scripts can be run like programs in 4026 test_scripts.sh. Previously test_scripts.sh always 4027 used sh but it's not correct if @POSIX_SHELL@ is set 4028 to something else by configure. 4029 4030 Thanks to Jonathan Nieder for the patch. 4031 4032 configure.ac | 8 ++++---- 4033 tests/test_scripts.sh | 8 ++++---- 4034 2 files changed, 8 insertions(+), 8 deletions(-) 4035 4036commit 1c673e5681720491a74fc4b2992e075f47302c22 4037Author: Lasse Collin <lasse.collin@tukaani.org> 4038Date: 2011-07-31 11:01:47 +0300 4039 4040 Fix exit status of "xzdiff foo.xz bar.xz". 4041 4042 xzdiff was clobbering the exit status from diff in a case 4043 statement used to analyze the exit statuses from "xz" when 4044 its operands were two compressed files. Save and restore 4045 diff's exit status to fix this. 4046 4047 The bug is inherited from zdiff in GNU gzip and was fixed 4048 there on 2009-10-09. 4049 4050 Thanks to Jonathan Nieder for the patch and 4051 to Peter Pallinger for reporting the bug. 4052 4053 src/scripts/xzdiff.in | 2 ++ 4054 tests/Makefile.am | 4 +++- 4055 tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4056 3 files changed, 59 insertions(+), 1 deletion(-) 4057 4058commit 324cde7a864f4506c32ae7846d688c359a83fe65 4059Author: Lasse Collin <lasse.collin@tukaani.org> 4060Date: 2011-06-16 12:15:29 +0300 4061 4062 liblzma: Remove unneeded semicolon. 4063 4064 src/liblzma/lz/lz_encoder_hash.h | 2 +- 4065 1 file changed, 1 insertion(+), 1 deletion(-) 4066 4067commit 492c86345551a51a29bf18e55fe55a5e86f169ce 4068Author: Lasse Collin <lasse.collin@tukaani.org> 4069Date: 2011-05-28 19:24:56 +0300 4070 4071 Build: Make configure print if symbol versioning is enabled or not. 4072 4073 configure.ac | 2 ++ 4074 1 file changed, 2 insertions(+) 4075 4076commit fc4d4436969bd4d71b704d400a165875e596034a 4077Author: Lasse Collin <lasse.collin@tukaani.org> 4078Date: 2011-05-28 16:43:26 +0300 4079 4080 Don't call close(-1) in tuklib_open_stdxxx() on error. 4081 4082 Thanks to Jim Meyering. 4083 4084 src/common/tuklib_open_stdxxx.c | 4 +++- 4085 1 file changed, 3 insertions(+), 1 deletion(-) 4086 4087commit bd35d903a04c4d388adb4065b0fa271302380895 4088Author: Lasse Collin <lasse.collin@tukaani.org> 4089Date: 2011-05-28 15:55:39 +0300 4090 4091 liblzma: Use symbol versioning. 4092 4093 Symbol versioning is enabled by default on GNU/Linux, 4094 other GNU-based systems, and FreeBSD. 4095 4096 I'm not sure how stable this is, so it may need 4097 backward-incompatible changes before the next release. 4098 4099 The idea is that alpha and beta symbols are considered 4100 unstable and require recompiling the applications that 4101 use those symbols. Once a symbol is stable, it may get 4102 extended with new features in ways that don't break 4103 compatibility with older ABI & API. 4104 4105 The mydist target runs validate_map.sh which should 4106 catch some probable problems in liblzma.map. Otherwise 4107 I would forget to update the map file for new releases. 4108 4109 Makefile.am | 1 + 4110 configure.ac | 21 +++++++++ 4111 src/liblzma/Makefile.am | 6 +++ 4112 src/liblzma/liblzma.map | 105 ++++++++++++++++++++++++++++++++++++++++++++ 4113 src/liblzma/validate_map.sh | 68 ++++++++++++++++++++++++++++ 4114 5 files changed, 201 insertions(+) 4115 4116commit afbb244362c9426a37ce4eb9d54aab768da3adad 4117Author: Lasse Collin <lasse.collin@tukaani.org> 4118Date: 2011-05-28 09:46:46 +0300 4119 4120 Translations: Update the Italian translation. 4121 4122 Thanks to Milo Casagrande. 4123 4124 po/it.po | 365 +++++++++++++++++++++++++++++++++++++-------------------------- 4125 1 file changed, 216 insertions(+), 149 deletions(-) 4126 4127commit 79bef85e0543c0c3723281c3c817616c6cec343b 4128Author: Lasse Collin <lasse.collin@tukaani.org> 4129Date: 2011-05-28 08:46:04 +0300 4130 4131 Tests: Add a test file for the bug in the previous commit. 4132 4133 tests/files/README | 4 ++++ 4134 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes 4135 2 files changed, 4 insertions(+) 4136 4137commit c0297445064951807803457dca1611b3c47e7f0f 4138Author: Lasse Collin <lasse.collin@tukaani.org> 4139Date: 2011-05-27 22:25:44 +0300 4140 4141 xz: Fix error handling in xz -lvv. 4142 4143 It could do an invalid free() and read past the end 4144 of the uninitialized filters array. 4145 4146 src/xz/list.c | 21 ++++++--------------- 4147 1 file changed, 6 insertions(+), 15 deletions(-) 4148 4149commit 8bd91918ac50731f00b1a2a48072980572eb2ff9 4150Author: Lasse Collin <lasse.collin@tukaani.org> 4151Date: 2011-05-27 22:09:49 +0300 4152 4153 liblzma: Handle allocation failures correctly in lzma_index_init(). 4154 4155 Thanks to Jim Meyering. 4156 4157 src/liblzma/common/index.c | 7 +++++-- 4158 1 file changed, 5 insertions(+), 2 deletions(-) 4159 4160commit fe00f95828ef5627721b57e054f7eb2d42a2c961 4161Author: Lasse Collin <lasse.collin@tukaani.org> 4162Date: 2011-05-24 00:23:46 +0300 4163 4164 Build: Fix checking for system-provided SHA-256. 4165 4166 configure.ac | 2 +- 4167 1 file changed, 1 insertion(+), 1 deletion(-) 4168 4169commit 21b45b9bab541f419712cbfd473ccc31802e0397 4170Author: Lasse Collin <lasse.collin@tukaani.org> 4171Date: 2011-05-23 18:30:30 +0300 4172 4173 Build: Set GZIP_ENV=-9n in top-level Makefile.am. 4174 4175 Makefile.am | 3 +++ 4176 1 file changed, 3 insertions(+) 4177 4178commit 48053e8a4550233af46359024538bff90c870ab1 4179Author: Lasse Collin <lasse.collin@tukaani.org> 4180Date: 2011-05-22 16:42:11 +0300 4181 4182 Update NEWS for 5.0.3. 4183 4184 NEWS | 32 ++++++++++++++++++++++++++++++++ 4185 1 file changed, 32 insertions(+) 4186 4187commit bba37df2c9e54ad773e15ff00a09d2d6989fb3b2 4188Author: Lasse Collin <lasse.collin@tukaani.org> 4189Date: 2011-05-21 16:28:44 +0300 4190 4191 Add French translation. 4192 4193 It is known that the BCJ filter --help text is only 4194 partially translated. 4195 4196 po/LINGUAS | 1 + 4197 po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4198 2 files changed, 865 insertions(+) 4199 4200commit 4161d7634965a7a287bf208dcd79f6185f448fe8 4201Author: Lasse Collin <lasse.collin@tukaani.org> 4202Date: 2011-05-21 15:12:10 +0300 4203 4204 xz: Translate also the string used to print the program name. 4205 4206 French needs a space before a colon, e.g. "xz : foo error". 4207 4208 src/xz/message.c | 6 +++++- 4209 1 file changed, 5 insertions(+), 1 deletion(-) 4210 4211commit b94aa0c8380cdb18cddb33440d625474c16643cf 4212Author: Lasse Collin <lasse.collin@tukaani.org> 4213Date: 2011-05-21 15:08:44 +0300 4214 4215 liblzma: Try to use SHA-256 from the operating system. 4216 4217 If the operating system libc or other base libraries 4218 provide SHA-256, use that instead of our own copy. 4219 Note that this doesn't use OpenSSL or libgcrypt or 4220 such libraries to avoid creating dependencies to 4221 other packages. 4222 4223 This supports at least FreeBSD, NetBSD, OpenBSD, Solaris, 4224 MINIX, and Darwin. They all provide similar but not 4225 identical SHA-256 APIs; everyone is a little different. 4226 4227 Thanks to Wim Lewis for the original patch, improvements, 4228 and testing. 4229 4230 configure.ac | 54 +++++++++++++++++++++++++++ 4231 src/liblzma/check/Makefile.inc | 2 + 4232 src/liblzma/check/check.h | 83 ++++++++++++++++++++++++++++++++++++++---- 4233 3 files changed, 131 insertions(+), 8 deletions(-) 4234 4235commit f004128678d43ea10b4a6401aa184cf83252d6ec 4236Author: Lasse Collin <lasse.collin@tukaani.org> 4237Date: 2011-05-17 12:52:18 +0300 4238 4239 Don't use clockid_t in mythread.h when clock_gettime() isn't available. 4240 4241 Thanks to Wim Lewis for the patch. 4242 4243 src/common/mythread.h | 2 ++ 4244 1 file changed, 2 insertions(+) 4245 4246commit f779516f42ebd2db47a5b7d6143459bf7737cf2f 4247Author: Lasse Collin <lasse.collin@tukaani.org> 4248Date: 2011-05-17 12:26:28 +0300 4249 4250 Update THANKS. 4251 4252 THANKS | 3 +++ 4253 1 file changed, 3 insertions(+) 4254 4255commit 830ba587775bb562f6eaf05cad61bf669d1f8892 4256Author: Lasse Collin <lasse.collin@tukaani.org> 4257Date: 2011-05-17 12:21:33 +0300 4258 4259 Update INSTALL with a note about linker problem on OpenSolaris x86. 4260 4261 INSTALL | 23 +++++++++++++++++------ 4262 1 file changed, 17 insertions(+), 6 deletions(-) 4263 4264commit ec7106309c8060e9c646dba20c4f15689a0bbb04 4265Author: Lasse Collin <lasse.collin@tukaani.org> 4266Date: 2011-05-17 12:01:37 +0300 4267 4268 Build: Fix initialization of enable_check_* variables in configure.ac. 4269 4270 This doesn't matter much in practice since it is unlikely 4271 that anyone would have such environment variable names. 4272 4273 Thanks to Wim Lewis. 4274 4275 configure.ac | 2 +- 4276 1 file changed, 1 insertion(+), 1 deletion(-) 4277 4278commit 4c6e146df99696920f12410fb17754412797ef36 4279Author: Lasse Collin <lasse.collin@tukaani.org> 4280Date: 2011-05-17 11:54:38 +0300 4281 4282 Add underscores to attributes (__attribute((__foo__))). 4283 4284 src/liblzma/common/alone_decoder.c | 2 +- 4285 src/liblzma/common/alone_encoder.c | 2 +- 4286 src/liblzma/common/block_encoder.c | 2 +- 4287 src/liblzma/common/common.c | 2 +- 4288 src/liblzma/common/common.h | 2 +- 4289 src/liblzma/common/index_decoder.c | 9 +++++---- 4290 src/liblzma/common/index_encoder.c | 11 ++++++----- 4291 src/liblzma/delta/delta_encoder.c | 2 +- 4292 src/liblzma/lz/lz_decoder.c | 2 +- 4293 src/liblzma/lz/lz_encoder.c | 2 +- 4294 src/liblzma/simple/arm.c | 2 +- 4295 src/liblzma/simple/armthumb.c | 2 +- 4296 src/liblzma/simple/ia64.c | 2 +- 4297 src/liblzma/simple/powerpc.c | 2 +- 4298 src/liblzma/simple/simple_coder.c | 2 +- 4299 src/liblzma/simple/sparc.c | 2 +- 4300 src/lzmainfo/lzmainfo.c | 4 ++-- 4301 src/xz/coder.c | 2 +- 4302 src/xz/hardware.h | 2 +- 4303 src/xz/message.c | 2 +- 4304 src/xz/message.h | 18 +++++++++--------- 4305 src/xz/options.c | 6 +++--- 4306 src/xz/signals.c | 2 +- 4307 src/xz/util.h | 6 +++--- 4308 src/xzdec/xzdec.c | 6 +++--- 4309 25 files changed, 49 insertions(+), 47 deletions(-) 4310 4311commit 7a480e485938884ef3021b48c3b0b9f9699dc9b6 4312Author: Lasse Collin <lasse.collin@tukaani.org> 4313Date: 2011-05-01 12:24:23 +0300 4314 4315 xz: Fix input file position when --single-stream is used. 4316 4317 Now the following works as you would expect: 4318 4319 echo foo | xz > foo.xz 4320 echo bar | xz >> foo.xz 4321 ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz 4322 4323 Note that it doesn't work if the input is not seekable 4324 or if there is Stream Padding between the concatenated 4325 .xz Streams. 4326 4327 src/xz/coder.c | 1 + 4328 src/xz/file_io.c | 15 +++++++++++++++ 4329 src/xz/file_io.h | 13 +++++++++++++ 4330 3 files changed, 29 insertions(+) 4331 4332commit c29e6630c1450c630c4e7b783bdd76515db9004c 4333Author: Lasse Collin <lasse.collin@tukaani.org> 4334Date: 2011-05-01 12:15:51 +0300 4335 4336 xz: Print the maximum number of worker threads in xz -vv. 4337 4338 src/xz/coder.c | 4 ++++ 4339 1 file changed, 4 insertions(+) 4340 4341commit 0b77c4a75158ccc416b07d6e81df8ee0abaea720 4342Author: Lasse Collin <lasse.collin@tukaani.org> 4343Date: 2011-04-19 10:44:48 +0300 4344 4345 Build: Warn if no supported method to detect the number of CPU cores. 4346 4347 configure.ac | 11 +++++------ 4348 1 file changed, 5 insertions(+), 6 deletions(-) 4349 4350commit e4622df9ab4982f8faa53d85b17be66216175a58 4351Author: Lasse Collin <lasse.collin@tukaani.org> 4352Date: 2011-04-19 09:55:06 +0300 4353 4354 Update THANKS. 4355 4356 THANKS | 1 + 4357 1 file changed, 1 insertion(+) 4358 4359commit 9c1b05828a88eff54409760b92162c7cc2c7cff6 4360Author: Lasse Collin <lasse.collin@tukaani.org> 4361Date: 2011-04-19 09:20:44 +0300 4362 4363 Fix portability problems in mythread.h. 4364 4365 Use gettimeofday() if clock_gettime() isn't available 4366 (e.g. Darwin). 4367 4368 The test for availability of pthread_condattr_setclock() 4369 and CLOCK_MONOTONIC was incorrect. Instead of fixing the 4370 #ifdefs, use an Autoconf test. That way if there exists a 4371 system that supports them but doesn't specify the matching 4372 POSIX #defines, the features will still get detected. 4373 4374 Don't try to use pthread_sigmask() on OpenVMS. It doesn't 4375 have that function. 4376 4377 Guard mythread.h against being #included multiple times. 4378 4379 configure.ac | 7 +++++++ 4380 src/common/mythread.h | 31 +++++++++++++++++++++++++++---- 4381 2 files changed, 34 insertions(+), 4 deletions(-) 4382 4383commit 3de00cc75da7b0e7b65e84c62b5351e231f501e9 4384Author: Lasse Collin <lasse.collin@tukaani.org> 4385Date: 2011-04-18 19:35:49 +0300 4386 4387 Update THANKS. 4388 4389 THANKS | 2 ++ 4390 1 file changed, 2 insertions(+) 4391 4392commit bd5002f5821e3d1b04f2f56989e4a19318e73633 4393Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> 4394Date: 2011-04-15 04:54:49 -0400 4395 4396 xzgrep: fix typo in $0 parsing 4397 4398 Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org> 4399 Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> 4400 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 4401 4402 src/scripts/xzgrep.in | 4 ++-- 4403 1 file changed, 2 insertions(+), 2 deletions(-) 4404 4405commit 6ef4eabc0acc49e1bb9dc68064706e19fa9fcf48 4406Author: Lasse Collin <lasse.collin@tukaani.org> 4407Date: 2011-04-12 12:48:31 +0300 4408 4409 Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99. 4410 4411 src/liblzma/Makefile.am | 2 +- 4412 src/liblzma/api/lzma/version.h | 2 +- 4413 2 files changed, 2 insertions(+), 2 deletions(-) 4414 4415commit 9a4377be0d21e597c66bad6c7452873aebfb3c1c 4416Author: Lasse Collin <lasse.collin@tukaani.org> 4417Date: 2011-04-12 12:42:37 +0300 4418 4419 Put the unstable APIs behind #ifdef LZMA_UNSTABLE. 4420 4421 This way people hopefully won't complain if these APIs 4422 change and break code that used an older API. 4423 4424 src/liblzma/api/lzma/container.h | 4 ++++ 4425 src/liblzma/common/common.h | 2 ++ 4426 src/xz/private.h | 2 ++ 4427 3 files changed, 8 insertions(+) 4428 4429commit 3e321a3acd50002cf6fdfd259e910f56d3389bc3 4430Author: Lasse Collin <lasse.collin@tukaani.org> 4431Date: 2011-04-12 11:59:49 +0300 4432 4433 Remove doubled words from documentation and comments. 4434 4435 Spot candidates by running these commands: 4436 git ls-files |xargs perl -0777 -n \ 4437 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \ 4438 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}' 4439 4440 Thanks to Jim Meyering for the original patch. 4441 4442 doc/lzma-file-format.txt | 4 ++-- 4443 src/liblzma/common/alone_encoder.c | 2 +- 4444 src/liblzma/lzma/lzma2_encoder.c | 2 +- 4445 src/xz/file_io.c | 2 +- 4446 src/xz/xz.1 | 2 +- 4447 windows/INSTALL-Windows.txt | 2 +- 4448 6 files changed, 7 insertions(+), 7 deletions(-) 4449 4450commit d91a84b534b012d19474f2fda1fbcaef873e1ba4 4451Author: Lasse Collin <lasse.collin@tukaani.org> 4452Date: 2011-04-12 11:46:01 +0300 4453 4454 Update NEWS. 4455 4456 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 4457 1 file changed, 45 insertions(+), 2 deletions(-) 4458 4459commit 14e6ad8cfe0165c1a8beeb5b2a1536558b29b0a1 4460Author: Lasse Collin <lasse.collin@tukaani.org> 4461Date: 2011-04-12 11:45:40 +0300 4462 4463 Update TODO. 4464 4465 TODO | 12 +++++++++++- 4466 1 file changed, 11 insertions(+), 1 deletion(-) 4467 4468commit 70e750f59793f9b5cd306a5adce9b8e427739e04 4469Author: Lasse Collin <lasse.collin@tukaani.org> 4470Date: 2011-04-12 11:08:55 +0300 4471 4472 xz: Update the man page about threading. 4473 4474 src/xz/xz.1 | 34 ++++++++++++++++++++-------------- 4475 1 file changed, 20 insertions(+), 14 deletions(-) 4476 4477commit 24e0406c0fb7494d2037dec033686faf1bf67068 4478Author: Lasse Collin <lasse.collin@tukaani.org> 4479Date: 2011-04-11 22:06:03 +0300 4480 4481 xz: Add support for threaded compression. 4482 4483 src/xz/args.c | 3 +- 4484 src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++---------------------- 4485 2 files changed, 125 insertions(+), 80 deletions(-) 4486 4487commit de678e0c924aa79a19293a8a6ed82e8cb6572a42 4488Author: Lasse Collin <lasse.collin@tukaani.org> 4489Date: 2011-04-11 22:03:30 +0300 4490 4491 liblzma: Add lzma_stream_encoder_mt() for threaded compression. 4492 4493 This is the simplest method to do threading, which splits 4494 the uncompressed data into blocks and compresses them 4495 independently from each other. There's room for improvement 4496 especially to reduce the memory usage, but nevertheless, 4497 this is a good start. 4498 4499 configure.ac | 1 + 4500 src/liblzma/api/lzma/container.h | 163 +++++ 4501 src/liblzma/common/Makefile.inc | 7 + 4502 src/liblzma/common/common.c | 9 +- 4503 src/liblzma/common/common.h | 14 + 4504 src/liblzma/common/outqueue.c | 180 ++++++ 4505 src/liblzma/common/outqueue.h | 155 +++++ 4506 src/liblzma/common/stream_encoder_mt.c | 1011 ++++++++++++++++++++++++++++++++ 4507 8 files changed, 1539 insertions(+), 1 deletion(-) 4508 4509commit 25fe729532cdf4b8fed56a4519b73cf31efaec50 4510Author: Lasse Collin <lasse.collin@tukaani.org> 4511Date: 2011-04-11 21:15:07 +0300 4512 4513 liblzma: Add the forgotten lzma_lzma2_block_size(). 4514 4515 This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a. 4516 4517 src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++ 4518 src/liblzma/lzma/lzma2_encoder.h | 2 ++ 4519 2 files changed, 12 insertions(+) 4520 4521commit 91afb785a1dee34862078d9bf844ef12b8cc3e35 4522Author: Lasse Collin <lasse.collin@tukaani.org> 4523Date: 2011-04-11 21:04:13 +0300 4524 4525 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too. 4526 4527 src/liblzma/api/lzma/container.h | 9 +++++++++ 4528 1 file changed, 9 insertions(+) 4529 4530commit 4a9905302a9e4a1601ae09d650d3f08ce98ae9ee 4531Author: Lasse Collin <lasse.collin@tukaani.org> 4532Date: 2011-04-11 20:59:07 +0300 4533 4534 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better. 4535 4536 It didn't mention the return value that is used if 4537 an error occurs. 4538 4539 src/liblzma/api/lzma/filter.h | 8 ++++++-- 4540 1 file changed, 6 insertions(+), 2 deletions(-) 4541 4542commit 0badb0b1bd649163322783b0bd9e590b4bc7a93d 4543Author: Lasse Collin <lasse.collin@tukaani.org> 4544Date: 2011-04-11 19:28:18 +0300 4545 4546 liblzma: Use memzero() to initialize supported_actions[]. 4547 4548 This is cleaner and makes it simpler to add new members 4549 to lzma_action enumeration. 4550 4551 src/liblzma/common/common.c | 6 ++---- 4552 1 file changed, 2 insertions(+), 4 deletions(-) 4553 4554commit a7934c446a58e20268689899d2a39f50e571f251 4555Author: Lasse Collin <lasse.collin@tukaani.org> 4556Date: 2011-04-11 19:26:27 +0300 4557 4558 liblzma: API comment about lzma_allocator with threaded coding. 4559 4560 src/liblzma/api/lzma/base.h | 18 +++++++++++++----- 4561 1 file changed, 13 insertions(+), 5 deletions(-) 4562 4563commit 5eefc0086d24a65e136352f8c1d19cefb0cbac7a 4564Author: Lasse Collin <lasse.collin@tukaani.org> 4565Date: 2011-04-11 19:16:30 +0300 4566 4567 liblzma: Add an internal function lzma_mt_block_size(). 4568 4569 This is based lzma_chunk_size() that was included in some 4570 development version of liblzma. 4571 4572 src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++------------------- 4573 src/liblzma/common/filter_encoder.h | 4 ++-- 4574 2 files changed, 24 insertions(+), 26 deletions(-) 4575 4576commit d1199274758049fc523d98c5b860ff814a799eec 4577Author: Lasse Collin <lasse.collin@tukaani.org> 4578Date: 2011-04-11 13:59:50 +0300 4579 4580 liblzma: Don't create an empty Block in lzma_stream_buffer_encode(). 4581 4582 Empty Block was created if the input buffer was empty. 4583 Empty Block wastes a few bytes of space, but more importantly 4584 it triggers a bug in XZ Utils 5.0.1 and older when trying 4585 to decompress such a file. 5.0.1 and older consider such 4586 files to be corrupt. I thought that no encoder creates empty 4587 Blocks when releasing 5.0.2 but I was wrong. 4588 4589 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++------- 4590 1 file changed, 13 insertions(+), 7 deletions(-) 4591 4592commit 3b22fc2c87ec85fcdd385c163b68fc49c97aa848 4593Author: Lasse Collin <lasse.collin@tukaani.org> 4594Date: 2011-04-11 13:28:40 +0300 4595 4596 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK. 4597 4598 This return value was missing from the API comments of 4599 four functions. 4600 4601 src/liblzma/api/lzma/block.h | 1 + 4602 src/liblzma/api/lzma/container.h | 3 +++ 4603 2 files changed, 4 insertions(+) 4604 4605commit 71b9380145dccf001f22e66a06b9d508905c25ce 4606Author: Lasse Collin <lasse.collin@tukaani.org> 4607Date: 2011-04-11 13:21:28 +0300 4608 4609 liblzma: Validate encoder arguments better. 4610 4611 The biggest problem was that the integrity check type 4612 wasn't validated, and e.g. lzma_easy_buffer_encode() 4613 would create a corrupt .xz Stream if given an unsupported 4614 Check ID. Luckily applications don't usually try to use 4615 an unsupport Check ID, so this bug is unlikely to cause 4616 many real-world problems. 4617 4618 src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------ 4619 src/liblzma/common/block_encoder.c | 5 +++++ 4620 src/liblzma/common/stream_buffer_encoder.c | 3 +++ 4621 3 files changed, 20 insertions(+), 6 deletions(-) 4622 4623commit ec7e3dbad704268825fc48f0bdd4577bc46b4f13 4624Author: Lasse Collin <lasse.collin@tukaani.org> 4625Date: 2011-04-11 09:57:30 +0300 4626 4627 xz: Move the description of --block-size in --long-help. 4628 4629 src/xz/message.c | 8 ++++---- 4630 1 file changed, 4 insertions(+), 4 deletions(-) 4631 4632commit cd3086ff443bb282bdf556919c28b3e3cbed8169 4633Author: Lasse Collin <lasse.collin@tukaani.org> 4634Date: 2011-04-11 09:55:35 +0300 4635 4636 Docs: Document --single-stream and --block-size. 4637 4638 src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++-- 4639 1 file changed, 36 insertions(+), 2 deletions(-) 4640 4641commit fb64a4924334e3c440865710990fe08090f2fed0 4642Author: Lasse Collin <lasse.collin@tukaani.org> 4643Date: 2011-04-11 09:27:57 +0300 4644 4645 liblzma: Make lzma_stream_encoder_init() static (second try). 4646 4647 It's an internal function and it's not needed by 4648 anything outside stream_encoder.c. 4649 4650 src/liblzma/common/Makefile.inc | 1 - 4651 src/liblzma/common/easy_encoder.c | 1 - 4652 src/liblzma/common/stream_encoder.c | 13 ++++++------- 4653 src/liblzma/common/stream_encoder.h | 23 ----------------------- 4654 4 files changed, 6 insertions(+), 32 deletions(-) 4655 4656commit a34730cf6af4d33a4057914e57227b6dfde6567e 4657Author: Lasse Collin <lasse.collin@tukaani.org> 4658Date: 2011-04-11 08:31:42 +0300 4659 4660 Revert "liblzma: Make lzma_stream_encoder_init() static." 4661 4662 This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7. 4663 I don't know what I was thinking. 4664 4665 src/liblzma/common/Makefile.inc | 1 + 4666 src/liblzma/common/stream_encoder.c | 9 +++++---- 4667 src/liblzma/common/stream_encoder.h | 23 +++++++++++++++++++++++ 4668 3 files changed, 29 insertions(+), 4 deletions(-) 4669 4670commit 9f0a806aef7ea79718e3f1f2baf3564295229a27 4671Author: Lasse Collin <lasse.collin@tukaani.org> 4672Date: 2011-04-10 21:23:21 +0300 4673 4674 Revise mythread.h. 4675 4676 This adds: 4677 4678 - mythread_sync() macro to create synchronized blocks 4679 4680 - mythread_cond structure and related functions 4681 and macros for condition variables with timed 4682 waiting using a relative timeout 4683 4684 - mythread_create() to create a thread with all 4685 signals blocked 4686 4687 Some of these wouldn't need to be inline functions, 4688 but I'll keep them this way for now for simplicity. 4689 4690 For timed waiting on a condition variable, librt is 4691 now required on some systems to use clock_gettime(). 4692 configure.ac was updated to handle this. 4693 4694 configure.ac | 1 + 4695 src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++----- 4696 2 files changed, 181 insertions(+), 20 deletions(-) 4697 4698commit 352ac82db5d3f64585c07b39e4759388dec0e4d7 4699Author: Lasse Collin <lasse.collin@tukaani.org> 4700Date: 2011-04-10 20:37:36 +0300 4701 4702 liblzma: Make lzma_stream_encoder_init() static. 4703 4704 It's an internal function and it's not needed by 4705 anything outside stream_encoder.c. 4706 4707 src/liblzma/common/Makefile.inc | 1 - 4708 src/liblzma/common/stream_encoder.c | 9 ++++----- 4709 src/liblzma/common/stream_encoder.h | 23 ----------------------- 4710 3 files changed, 4 insertions(+), 29 deletions(-) 4711 4712commit 9e807fe3fe79618ac48f58207cf7082ea20a6928 4713Author: Lasse Collin <lasse.collin@tukaani.org> 4714Date: 2011-04-10 14:58:10 +0300 4715 4716 DOS: Update the docs and include notes about 8.3 filenames. 4717 4718 dos/{README => INSTALL.txt} | 13 +---- 4719 dos/README.txt | 123 ++++++++++++++++++++++++++++++++++++++++++++ 4720 2 files changed, 125 insertions(+), 11 deletions(-) 4721 4722commit ebd54dbd6e481d31e80757f900ac8109ad1423c6 4723Author: Lasse Collin <lasse.collin@tukaani.org> 4724Date: 2011-04-10 13:09:42 +0300 4725 4726 xz/DOS: Add experimental 8.3 filename support. 4727 4728 This is incompatible with the 8.3 support patch made by 4729 Juan Manuel Guerrero. I think this one is nicer, but 4730 I need to get feedback from DOS users before saying 4731 that this is the final version of 8.3 filename support. 4732 4733 src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 4734 1 file changed, 167 insertions(+), 9 deletions(-) 4735 4736commit cd4fe97852bcaeffe674ee51b4613709292a0972 4737Author: Lasse Collin <lasse.collin@tukaani.org> 4738Date: 2011-04-10 12:47:47 +0300 4739 4740 xz/DOS: Be more careful with the destination file. 4741 4742 Try to avoid overwriting the source file if --force is 4743 used and the generated destination filename refers to 4744 the source file. This can happen with 8.3 filenames where 4745 extra characters are ignored. 4746 4747 If the generated output file refers to a special file 4748 like "con" or "prn", refuse to write to it even if --force 4749 is used. 4750 4751 src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++-- 4752 1 file changed, 33 insertions(+), 2 deletions(-) 4753 4754commit 607f9f98ae5ef6d49f4c21c806d462bf6b3d6796 4755Author: Lasse Collin <lasse.collin@tukaani.org> 4756Date: 2011-04-09 18:29:30 +0300 4757 4758 Update THANKS. 4759 4760 THANKS | 1 + 4761 1 file changed, 1 insertion(+) 4762 4763commit fca396b37410d272b754843a5dc13847be443a3a 4764Author: Lasse Collin <lasse.collin@tukaani.org> 4765Date: 2011-04-09 18:28:58 +0300 4766 4767 liblzma: Add missing #ifdefs to filter_common.c. 4768 4769 Passing --disable-decoders to configure broke a few 4770 encoders due to missing #ifdefs in filter_common.c. 4771 4772 Thanks to Jason Gorski for the patch. 4773 4774 src/liblzma/common/filter_common.c | 6 +++--- 4775 1 file changed, 3 insertions(+), 3 deletions(-) 4776 4777commit b03f6cd3ebadd675f2cc9d518cb26fa860269447 4778Author: Lasse Collin <lasse.collin@tukaani.org> 4779Date: 2011-04-09 15:24:59 +0300 4780 4781 xz: Avoid unneeded fstat() on DOS-like systems. 4782 4783 src/xz/file_io.c | 14 ++++++++------ 4784 1 file changed, 8 insertions(+), 6 deletions(-) 4785 4786commit 335fe260a81f61ec99ff5940df733b4c50aedb7c 4787Author: Lasse Collin <lasse.collin@tukaani.org> 4788Date: 2011-04-09 15:11:13 +0300 4789 4790 xz: Minor internal changes to handling of --threads. 4791 4792 Now it always defaults to one thread. Maybe this 4793 will change again if a threading method is added 4794 that doesn't affect memory usage. 4795 4796 src/xz/args.c | 4 ++-- 4797 src/xz/hardware.c | 24 ++++++++++++------------ 4798 src/xz/hardware.h | 9 ++++----- 4799 3 files changed, 18 insertions(+), 19 deletions(-) 4800 4801commit 9edd6ee895fbe71d245a173f48e511f154a99875 4802Author: Lasse Collin <lasse.collin@tukaani.org> 4803Date: 2011-04-08 17:53:05 +0300 4804 4805 xz: Change size_t to uint32_t in a few places. 4806 4807 src/xz/coder.c | 6 +++--- 4808 src/xz/coder.h | 2 +- 4809 2 files changed, 4 insertions(+), 4 deletions(-) 4810 4811commit 411013ea4506a6df24d35a060fcbd73a57b73eb3 4812Author: Lasse Collin <lasse.collin@tukaani.org> 4813Date: 2011-04-08 17:48:41 +0300 4814 4815 xz: Fix a typo in a comment. 4816 4817 src/xz/coder.c | 2 +- 4818 1 file changed, 1 insertion(+), 1 deletion(-) 4819 4820commit b34c5ce4b22e8d7b81f9895d15054af41d17f805 4821Author: Lasse Collin <lasse.collin@tukaani.org> 4822Date: 2011-04-05 22:41:33 +0300 4823 4824 liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c. 4825 4826 src/liblzma/check/sha256.c | 6 +++--- 4827 1 file changed, 3 insertions(+), 3 deletions(-) 4828 4829commit db33117cc85c17e0b897b5312bd5eb43aac41c03 4830Author: Lasse Collin <lasse.collin@tukaani.org> 4831Date: 2011-04-05 17:12:20 +0300 4832 4833 Build: Upgrade m4/acx_pthread.m4 to the latest version. 4834 4835 It was renamed to ax_pthread.m4 in Autoconf Archive. 4836 4837 configure.ac | 2 +- 4838 m4/{acx_pthread.m4 => ax_pthread.m4} | 170 ++++++++++++++++++----------------- 4839 2 files changed, 88 insertions(+), 84 deletions(-) 4840 4841commit 1039bfcfc098b69d56ecb39d198a092552eacf6d 4842Author: Lasse Collin <lasse.collin@tukaani.org> 4843Date: 2011-04-05 15:27:26 +0300 4844 4845 xz: Use posix_fadvise() if it is available. 4846 4847 configure.ac | 3 +++ 4848 src/xz/file_io.c | 15 +++++++++++++++ 4849 2 files changed, 18 insertions(+) 4850 4851commit 1ef3cf44a8eb9512480af4482a5232ea08363b14 4852Author: Lasse Collin <lasse.collin@tukaani.org> 4853Date: 2011-04-05 15:13:29 +0300 4854 4855 xz: Call lzma_end(&strm) before exiting if debugging is enabled. 4856 4857 src/xz/coder.c | 10 ++++++++++ 4858 src/xz/coder.h | 5 +++++ 4859 src/xz/main.c | 4 ++++ 4860 3 files changed, 19 insertions(+) 4861 4862commit bd432015d33dcade611d297bc01eb0700088ef6c 4863Author: Lasse Collin <lasse.collin@tukaani.org> 4864Date: 2011-04-02 14:49:56 +0300 4865 4866 liblzma: Fix a memory leak in stream_encoder.c. 4867 4868 It leaks old filter options structures (hundred bytes or so) 4869 every time the lzma_stream is reinitialized. With the xz tool, 4870 this happens when compressing multiple files. 4871 4872 src/liblzma/common/stream_encoder.c | 2 +- 4873 1 file changed, 1 insertion(+), 1 deletion(-) 4874 4875commit 16889013214e7620d204b6e6c1bf9f3103a13655 4876Author: Lasse Collin <lasse.collin@tukaani.org> 4877Date: 2011-04-01 08:47:20 +0300 4878 4879 Updated NEWS for 5.0.2. 4880 4881 NEWS | 18 ++++++++++++++++++ 4882 1 file changed, 18 insertions(+) 4883 4884commit 85cdf7dd4e97b078e7b929e47f55a7f1da36010f 4885Author: Lasse Collin <lasse.collin@tukaani.org> 4886Date: 2011-03-31 15:06:58 +0300 4887 4888 Update INSTALL with another note about IRIX. 4889 4890 INSTALL | 4 ++++ 4891 1 file changed, 4 insertions(+) 4892 4893commit c3f4995586873d6a4fb7e451010a128571a9a370 4894Author: Lasse Collin <lasse.collin@tukaani.org> 4895Date: 2011-03-31 12:22:55 +0300 4896 4897 Tests: Add a new file to test empty LZMA2 streams. 4898 4899 tests/files/README | 4 ++++ 4900 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes 4901 2 files changed, 4 insertions(+) 4902 4903commit 0d21f49a809dc2088da6cc0da7f948404df7ecfa 4904Author: Lasse Collin <lasse.collin@tukaani.org> 4905Date: 2011-03-31 11:54:48 +0300 4906 4907 liblzma: Fix decoding of LZMA2 streams having no uncompressed data. 4908 4909 The decoder considered empty LZMA2 streams to be corrupt. 4910 This shouldn't matter much with .xz files, because no encoder 4911 creates empty LZMA2 streams in .xz. This bug is more likely 4912 to cause problems in applications that use raw LZMA2 streams. 4913 4914 src/liblzma/lzma/lzma2_decoder.c | 8 ++++---- 4915 1 file changed, 4 insertions(+), 4 deletions(-) 4916 4917commit 40277998cb9bad564ce4827aff152e6e1c904dfa 4918Author: Lasse Collin <lasse.collin@tukaani.org> 4919Date: 2011-03-24 01:42:49 +0200 4920 4921 Scripts: Better fix for xzgrep. 4922 4923 Now it uses "grep -q". 4924 4925 Thanks to Gregory Margo. 4926 4927 src/scripts/xzgrep.in | 8 ++++++-- 4928 1 file changed, 6 insertions(+), 2 deletions(-) 4929 4930commit 2118733045ad0ca183a3f181a0399baf876983a6 4931Author: Lasse Collin <lasse.collin@tukaani.org> 4932Date: 2011-03-24 01:22:18 +0200 4933 4934 Updated THANKS. 4935 4936 THANKS | 1 + 4937 1 file changed, 1 insertion(+) 4938 4939commit c7210d9a3fca6f31a57208bfddfc9ab20a2e097a 4940Author: Lasse Collin <lasse.collin@tukaani.org> 4941Date: 2011-03-24 01:21:32 +0200 4942 4943 Scripts: Fix xzgrep -l. 4944 4945 It didn't work at all. It tried to use the -q option 4946 for grep, but it appended it after "--". This works 4947 around it by redirecting to /dev/null. The downside 4948 is that this can be slower with big files compared 4949 to proper use of "grep -q". 4950 4951 Thanks to Gregory Margo. 4952 4953 src/scripts/xzgrep.in | 4 ++-- 4954 1 file changed, 2 insertions(+), 2 deletions(-) 4955 4956commit 4eb83e32046a6d670862bc91c3d82530963b455e 4957Author: Lasse Collin <lasse.collin@tukaani.org> 4958Date: 2011-03-19 13:08:22 +0200 4959 4960 Scripts: Add lzop (.lzo) support to xzdiff and xzgrep. 4961 4962 src/scripts/xzdiff.1 | 6 ++++-- 4963 src/scripts/xzdiff.in | 22 ++++++++++++++-------- 4964 src/scripts/xzgrep.1 | 11 +++++++---- 4965 src/scripts/xzgrep.in | 5 +++-- 4966 4 files changed, 28 insertions(+), 16 deletions(-) 4967 4968commit 923b22483bd9356f3219b2b784d96f455f4dc499 4969Author: Lasse Collin <lasse.collin@tukaani.org> 4970Date: 2011-03-18 19:10:30 +0200 4971 4972 xz: Add --block-size=SIZE. 4973 4974 This uses LZMA_FULL_FLUSH every SIZE bytes of input. 4975 4976 Man page wasn't updated yet. 4977 4978 src/xz/args.c | 7 +++++++ 4979 src/xz/coder.c | 50 ++++++++++++++++++++++++++++++++++++++++---------- 4980 src/xz/coder.h | 3 +++ 4981 src/xz/message.c | 4 ++++ 4982 4 files changed, 54 insertions(+), 10 deletions(-) 4983 4984commit 57597d42ca1740ad506437be168d800a50f1a0ad 4985Author: Lasse Collin <lasse.collin@tukaani.org> 4986Date: 2011-03-18 18:19:19 +0200 4987 4988 xz: Add --single-stream. 4989 4990 This can be useful when there is garbage after the 4991 compressed stream (.xz, .lzma, or raw stream). 4992 4993 Man page wasn't updated yet. 4994 4995 src/xz/args.c | 6 ++++++ 4996 src/xz/coder.c | 11 +++++++++-- 4997 src/xz/coder.h | 3 +++ 4998 src/xz/message.c | 6 +++++- 4999 4 files changed, 23 insertions(+), 3 deletions(-) 5000 5001commit 96f94bc925d579a700147fa5d7793b64d69cfc18 5002Author: Lasse Collin <lasse.collin@tukaani.org> 5003Date: 2011-02-04 22:49:31 +0200 5004 5005 xz: Clean up suffix.c. 5006 5007 struct suffix_pair isn't needed in compresed_name() 5008 so get rid of it there. 5009 5010 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------ 5011 1 file changed, 20 insertions(+), 24 deletions(-) 5012 5013commit 8930c7ae3f82bdae15aa129f01de08be23d7e8d7 5014Author: Lasse Collin <lasse.collin@tukaani.org> 5015Date: 2011-02-04 11:29:47 +0200 5016 5017 xz: Check if the file already has custom suffix when compressing. 5018 5019 Now "xz -S .test foo.test" refuses to compress the 5020 file because it already has the suffix .test. The man 5021 page had it documented this way already. 5022 5023 src/xz/suffix.c | 9 +++++++++ 5024 1 file changed, 9 insertions(+) 5025 5026commit 940d5852c6cf08abccc6befd9d1b5411c9076a58 5027Author: Lasse Collin <lasse.collin@tukaani.org> 5028Date: 2011-02-02 23:01:51 +0200 5029 5030 Updated THANKS. 5031 5032 THANKS | 1 + 5033 1 file changed, 1 insertion(+) 5034 5035commit 4ebe65f839613f27f127bab7b8c347d982330ee3 5036Author: Lasse Collin <lasse.collin@tukaani.org> 5037Date: 2011-02-02 23:00:33 +0200 5038 5039 Translations: Add Polish translation. 5040 5041 Thanks to Jakub Bogusz. 5042 5043 po/LINGUAS | 1 + 5044 po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5045 2 files changed, 826 insertions(+) 5046 5047commit fc1d292dca1925dfd17174f443f91a696ecd5bf8 5048Author: Lasse Collin <lasse.collin@tukaani.org> 5049Date: 2011-02-02 22:24:00 +0200 5050 5051 Updated THANKS. 5052 5053 THANKS | 1 + 5054 1 file changed, 1 insertion(+) 5055 5056commit 6dd061adfd2775428b079eb03d6fd47d7c0f1ffe 5057Merge: 9d542ce 5fbce0b 5058Author: Lasse Collin <lasse.collin@tukaani.org> 5059Date: 2011-02-06 20:13:01 +0200 5060 5061 Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d' 5062 5063commit 5fbce0b8d96dc96775aa0215e3581addc830e23d 5064Author: Lasse Collin <lasse.collin@tukaani.org> 5065Date: 2011-01-28 20:16:57 +0200 5066 5067 Update NEWS for 5.0.1. 5068 5069 NEWS | 14 ++++++++++++++ 5070 1 file changed, 14 insertions(+) 5071 5072commit 03ebd1bbb314f9f204940219a835c883bf442475 5073Author: Lasse Collin <lasse.collin@tukaani.org> 5074Date: 2011-01-26 12:19:08 +0200 5075 5076 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files. 5077 5078 xz didn't compress setuid/setgid/sticky files and files 5079 with multiple hard links even with --force. This bug was 5080 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4. 5081 5082 Thanks to Charles Wilson. 5083 5084 src/xz/file_io.c | 15 +++++++-------- 5085 1 file changed, 7 insertions(+), 8 deletions(-) 5086 5087commit 9d542ceebcbe40b174169c132ccfcdc720ca7089 5088Merge: 4f2c69a 7bd0a5e 5089Author: Lasse Collin <lasse.collin@tukaani.org> 5090Date: 2011-01-19 11:45:35 +0200 5091 5092 Merge branch 'v5.0' 5093 5094commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136 5095Author: Lasse Collin <lasse.collin@tukaani.org> 5096Date: 2011-01-18 21:25:24 +0200 5097 5098 Updated THANKS. 5099 5100 THANKS | 1 + 5101 1 file changed, 1 insertion(+) 5102 5103commit f71c4e16e913f660977526f0ef8d2acdf458d7c9 5104Author: Lasse Collin <lasse.collin@tukaani.org> 5105Date: 2011-01-18 21:23:50 +0200 5106 5107 Add alloc_size and malloc attributes to a few functions. 5108 5109 Thanks to Cristian Rodríguez for the original patch. 5110 5111 src/common/sysdefs.h | 6 ++++++ 5112 src/liblzma/common/common.h | 2 +- 5113 src/xz/util.h | 5 +++-- 5114 3 files changed, 10 insertions(+), 3 deletions(-) 5115 5116commit 316cbe24465143edde8f6ffb7532834b7b2ea93f 5117Author: Lasse Collin <lasse.collin@tukaani.org> 5118Date: 2010-12-13 16:36:33 +0200 5119 5120 Scripts: Fix gzip and bzip2 support in xzdiff. 5121 5122 src/scripts/xzdiff.in | 12 ++++++------ 5123 1 file changed, 6 insertions(+), 6 deletions(-) 5124 5125commit 4f2c69a4e3e0aee2e37b0b1671d34086e20c8ac6 5126Merge: adb89e6 9311774 5127Author: Lasse Collin <lasse.collin@tukaani.org> 5128Date: 2010-12-12 23:13:22 +0200 5129 5130 Merge branch 'v5.0' 5131 5132commit 9311774c493c19deab51ded919dcd2e9c4aa2829 5133Author: Lasse Collin <lasse.collin@tukaani.org> 5134Date: 2010-12-12 21:23:55 +0200 5135 5136 Build: Enable ASM on DJGPP by default. 5137 5138 configure.ac | 2 +- 5139 1 file changed, 1 insertion(+), 1 deletion(-) 5140 5141commit 4a42aaee282fc73b482581684d65110506d5efdd 5142Author: Lasse Collin <lasse.collin@tukaani.org> 5143Date: 2010-12-12 16:09:42 +0200 5144 5145 Updated THANKS. 5146 5147 THANKS | 1 + 5148 1 file changed, 1 insertion(+) 5149 5150commit ce56f63c41ee210e6308090eb6d49221fdf67d6c 5151Author: Lasse Collin <lasse.collin@tukaani.org> 5152Date: 2010-12-12 16:07:11 +0200 5153 5154 Add missing PRIx32 and PRIx64 compatibility definitions. 5155 5156 This fixes portability to systems that lack C99 inttypes.h. 5157 5158 Thanks to Juan Manuel Guerrero. 5159 5160 src/common/sysdefs.h | 9 +++++++++ 5161 1 file changed, 9 insertions(+) 5162 5163commit e6baedddcf54e7da049ebc49183565b99facd4c7 5164Author: Lasse Collin <lasse.collin@tukaani.org> 5165Date: 2010-12-12 14:50:04 +0200 5166 5167 DOS-like: Treat \ and : as directory separators in addition to /. 5168 5169 Juan Manuel Guerrero had fixed this in his XZ Utils port 5170 to DOS/DJGPP. The bug affects also Windows and OS/2. 5171 5172 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++---- 5173 1 file changed, 29 insertions(+), 4 deletions(-) 5174 5175commit adb89e68d43a4cadb0c215b45ef7a75737c9c3ec 5176Merge: 7c24e0d b7afd3e 5177Author: Lasse Collin <lasse.collin@tukaani.org> 5178Date: 2010-12-07 18:53:04 +0200 5179 5180 Merge branch 'v5.0' 5181 5182commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f 5183Author: Lasse Collin <lasse.collin@tukaani.org> 5184Date: 2010-12-07 18:52:04 +0200 5185 5186 Translations: Fix Czech translation of "sparse file". 5187 5188 Thanks to Petr Hubený and Marek Černocký. 5189 5190 po/cs.po | 88 ++++++++++++++++++++++++++++++++-------------------------------- 5191 1 file changed, 44 insertions(+), 44 deletions(-) 5192 5193commit 7c24e0d1b8a2e86e9263b0d56d39621e01aed7af 5194Merge: b4d42f1 3e56470 5195Author: Lasse Collin <lasse.collin@tukaani.org> 5196Date: 2010-11-15 14:33:01 +0200 5197 5198 Merge branch 'v5.0' 5199 5200commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e 5201Author: Lasse Collin <lasse.collin@tukaani.org> 5202Date: 2010-11-15 14:28:26 +0200 5203 5204 liblzma: Document the return value of lzma_lzma_preset(). 5205 5206 src/liblzma/api/lzma/lzma.h | 3 +++ 5207 1 file changed, 3 insertions(+) 5208 5209commit 2964d8d691ed92abdcf214888d79ad6d79774735 5210Author: Jonathan Nieder <jrnieder@gmail.com> 5211Date: 2010-11-12 15:22:13 -0600 5212 5213 Simplify paths in generated API docs 5214 5215 Currently the file list generated by Doxygen has src/ at the 5216 beginning of each path. Paths like common/sysdefs.h and 5217 liblzma/api/lzma.h are easier to read without such a prefix. 5218 5219 Builds from a separate build directory with 5220 5221 mkdir build 5222 cd build 5223 ../configure 5224 doxygen Doxyfile 5225 5226 include an even longer prefix /home/someone/src/xz/src; this 5227 patch has the nice side-effect of eliminating that prefix, too. 5228 5229 Fixes: http://bugs.debian.org/572273 5230 5231 Doxyfile.in | 2 +- 5232 1 file changed, 1 insertion(+), 1 deletion(-) 5233 5234commit b4d42f1a7120e2cefeb2f14425efe2ca6db85416 5235Author: Anders F Bjorklund <afb@users.sourceforge.net> 5236Date: 2010-11-05 12:56:11 +0100 5237 5238 add build script for macosx universal 5239 5240 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5241 1 file changed, 92 insertions(+) 5242 5243commit 15ee6935abe4a2fc76639ee342ca2e69af3e0ad6 5244Author: Lasse Collin <lasse.collin@tukaani.org> 5245Date: 2010-11-04 18:31:40 +0200 5246 5247 Update the copies of GPLv2 and LGPLv2.1 from gnu.org. 5248 5249 There are only a few white space changes. 5250 5251 COPYING.GPLv2 | 14 +++++++------- 5252 COPYING.LGPLv2.1 | 16 +++++++--------- 5253 2 files changed, 14 insertions(+), 16 deletions(-) 5254 5255commit 8e355f7fdbeee6fe394eb02a28f267ce99a882a2 5256Merge: 974ebe6 37c2565 5257Author: Lasse Collin <lasse.collin@tukaani.org> 5258Date: 2010-10-26 15:53:06 +0300 5259 5260 Merge branch 'v5.0' 5261 5262commit 37c25658efd25b034266daf87cd381d20d1df776 5263Author: Lasse Collin <lasse.collin@tukaani.org> 5264Date: 2010-10-26 15:48:48 +0300 5265 5266 Build: Copy the example programs to $docdir/examples. 5267 5268 The example programs by Daniel Mealha Cabrita were included 5269 in the git repository, but I had forgot to add them to 5270 Makefile.am. Thus, they didn't get included in the source 5271 package at all by "make dist". 5272 5273 Makefile.am | 5 +++++ 5274 windows/build.bash | 3 ++- 5275 2 files changed, 7 insertions(+), 1 deletion(-) 5276 5277commit 974ebe63497bdf0d262e06474f0dd5a70b1dd000 5278Author: Lasse Collin <lasse.collin@tukaani.org> 5279Date: 2010-10-26 10:36:41 +0300 5280 5281 liblzma: Rename a few variables and constants. 5282 5283 This has no semantic changes. I find the new names slightly 5284 more logical and they match the names that are already used 5285 in XZ Embedded. 5286 5287 The name fastpos wasn't changed (not worth the hassle). 5288 5289 src/liblzma/lzma/fastpos.h | 55 +++++------ 5290 src/liblzma/lzma/lzma2_encoder.c | 2 +- 5291 src/liblzma/lzma/lzma_common.h | 45 ++++----- 5292 src/liblzma/lzma/lzma_decoder.c | 58 +++++------ 5293 src/liblzma/lzma/lzma_encoder.c | 56 +++++------ 5294 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 9 +- 5295 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 128 ++++++++++++------------- 5296 src/liblzma/lzma/lzma_encoder_private.h | 16 ++-- 5297 8 files changed, 183 insertions(+), 186 deletions(-) 5298 5299commit 7c427ec38d016c0070a42315d752857e33792fc4 5300Author: Lasse Collin <lasse.collin@tukaani.org> 5301Date: 2010-10-25 12:59:25 +0300 5302 5303 Bump version 5.1.0alpha. 5304 5305 src/liblzma/api/lzma/version.h | 4 ++-- 5306 1 file changed, 2 insertions(+), 2 deletions(-) 5307 5308commit e45929260cd902036efd40c5610a8d0a50d5712b 5309Author: Lasse Collin <lasse.collin@tukaani.org> 5310Date: 2010-10-23 17:25:52 +0300 5311 5312 Build: Fix mydist rule when .git doesn't exist. 5313 5314 Makefile.am | 1 + 5315 1 file changed, 1 insertion(+) 5316 5317commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168 5318Author: Lasse Collin <lasse.collin@tukaani.org> 5319Date: 2010-10-23 14:15:35 +0300 5320 5321 Add NEWS for 5.0.0. 5322 5323 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5324 1 file changed, 62 insertions(+) 5325 5326commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c 5327Author: Lasse Collin <lasse.collin@tukaani.org> 5328Date: 2010-10-23 14:02:53 +0300 5329 5330 Bump version to 5.0.0 and liblzma version-info to 5:0:0. 5331 5332 src/liblzma/Makefile.am | 2 +- 5333 src/liblzma/api/lzma/version.h | 8 ++++---- 5334 2 files changed, 5 insertions(+), 5 deletions(-) 5335 5336commit 8c947e9291691629714dafb4536c718b6cc24fbd 5337Author: Lasse Collin <lasse.collin@tukaani.org> 5338Date: 2010-10-23 12:30:54 +0300 5339 5340 liblzma: Make lzma_code() check the reserved members in lzma_stream. 5341 5342 If any of the reserved members in lzma_stream are non-zero 5343 or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible 5344 that a new feature in the future is indicated by just setting 5345 a reserved member to some other value, so the old liblzma 5346 version need to catch it as an unsupported feature. 5347 5348 src/liblzma/common/common.c | 14 ++++++++++++++ 5349 1 file changed, 14 insertions(+) 5350 5351commit e61d85e082743ebd2dd0ff28fc0a82482ede0538 5352Author: Lasse Collin <lasse.collin@tukaani.org> 5353Date: 2010-10-23 12:26:33 +0300 5354 5355 Windows: Use MinGW's stdio functions. 5356 5357 The non-standard ones from msvcrt.dll appear to work 5358 most of the time with XZ Utils, but there are some 5359 corner cases where things may go very wrong. So it's 5360 good to use the better replacements provided by 5361 MinGW(-w64) runtime. 5362 5363 src/common/sysdefs.h | 5 +++++ 5364 1 file changed, 5 insertions(+) 5365 5366commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc 5367Author: Lasse Collin <lasse.collin@tukaani.org> 5368Date: 2010-10-23 12:21:32 +0300 5369 5370 liblzma: Use 512 as INDEX_GROUP_SIZE. 5371 5372 This lets compiler use shifting instead of 64-bit division. 5373 5374 src/liblzma/common/index.c | 2 +- 5375 1 file changed, 1 insertion(+), 1 deletion(-) 5376 5377commit 613939fc82603b75b59eee840871a05bc8dd08e0 5378Author: Lasse Collin <lasse.collin@tukaani.org> 5379Date: 2010-10-23 12:20:11 +0300 5380 5381 liblzma: A few ABI tweaks to reserve space in structures. 5382 5383 src/liblzma/api/lzma/base.h | 7 ++++++- 5384 src/liblzma/api/lzma/lzma.h | 4 ++-- 5385 src/liblzma/api/lzma/stream_flags.h | 4 ---- 5386 3 files changed, 8 insertions(+), 7 deletions(-) 5387 5388commit 68b83f252df3d27480a9f6f03445d16f6506fef1 5389Author: Lasse Collin <lasse.collin@tukaani.org> 5390Date: 2010-10-21 23:16:11 +0300 5391 5392 xz: Make sure that message_strm() can never return NULL. 5393 5394 src/xz/message.c | 7 +++++-- 5395 1 file changed, 5 insertions(+), 2 deletions(-) 5396 5397commit d09c5753e33ff96ee57edb6d1e98e34041203695 5398Author: Lasse Collin <lasse.collin@tukaani.org> 5399Date: 2010-10-21 23:06:31 +0300 5400 5401 liblzma: Update the comments in the API headers. 5402 5403 Adding support for LZMA_FINISH for Index encoding and 5404 decoding needed tiny additions to the relevant .c files too. 5405 5406 src/liblzma/api/lzma.h | 4 +-- 5407 src/liblzma/api/lzma/base.h | 38 +++++++++++++-------------- 5408 src/liblzma/api/lzma/bcj.h | 4 +-- 5409 src/liblzma/api/lzma/block.h | 4 +-- 5410 src/liblzma/api/lzma/container.h | 26 ++++++++++++------- 5411 src/liblzma/api/lzma/filter.h | 51 ++++++++++++++++++------------------- 5412 src/liblzma/api/lzma/hardware.h | 3 +-- 5413 src/liblzma/api/lzma/index.h | 28 ++++++++++++-------- 5414 src/liblzma/api/lzma/index_hash.h | 2 +- 5415 src/liblzma/api/lzma/lzma.h | 46 ++++++++++++++++++++++----------- 5416 src/liblzma/api/lzma/stream_flags.h | 4 +-- 5417 src/liblzma/api/lzma/vli.h | 31 +++++++++++----------- 5418 src/liblzma/common/index_decoder.c | 1 + 5419 src/liblzma/common/index_encoder.c | 1 + 5420 14 files changed, 136 insertions(+), 107 deletions(-) 5421 5422commit 33c1c0e102eb529588503b8beea0903a45488fad 5423Author: Lasse Collin <lasse.collin@tukaani.org> 5424Date: 2010-10-19 12:08:30 +0300 5425 5426 Update INSTALL.generic. 5427 5428 INSTALL.generic | 99 ++++++++++++++++++++++++++++++++++++++++++++++----------- 5429 1 file changed, 81 insertions(+), 18 deletions(-) 5430 5431commit 0076e03641f201c4b77dddd5a6db5880be19a78c 5432Author: Lasse Collin <lasse.collin@tukaani.org> 5433Date: 2010-10-19 11:44:37 +0300 5434 5435 Clean up a few FIXMEs and TODOs. 5436 5437 lzma_chunk_size() was commented out because it is 5438 currently useless. 5439 5440 src/liblzma/common/filter_encoder.c | 2 ++ 5441 src/liblzma/common/filter_encoder.h | 4 ++-- 5442 src/liblzma/lzma/lzma2_decoder.c | 1 - 5443 src/liblzma/lzma/lzma_decoder.c | 4 ++-- 5444 src/liblzma/lzma/lzma_encoder.c | 2 +- 5445 src/xz/message.h | 2 +- 5446 6 files changed, 8 insertions(+), 7 deletions(-) 5447 5448commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9 5449Author: Lasse Collin <lasse.collin@tukaani.org> 5450Date: 2010-10-19 10:21:08 +0300 5451 5452 Update docs. 5453 5454 INSTALL | 192 +++++++++++++++++++++++++++++++++++++++++-------------------- 5455 PACKAGERS | 104 +++++++++------------------------ 5456 TODO | 17 ++++-- 5457 dos/README | 2 +- 5458 4 files changed, 172 insertions(+), 143 deletions(-) 5459 5460commit f0fa880d247e73264d2c04fe31fb3412318a0026 5461Author: Lasse Collin <lasse.collin@tukaani.org> 5462Date: 2010-10-12 15:13:30 +0300 5463 5464 xz: Avoid raise() also on OpenVMS. 5465 5466 This is similar to DOS/DJGPP that killing the program 5467 with a signal will print a backtrace or a similar message. 5468 5469 src/xz/signals.c | 2 +- 5470 1 file changed, 1 insertion(+), 1 deletion(-) 5471 5472commit ac462b1c47c451f5c62e428306314c4bdad8ae7f 5473Author: Lasse Collin <lasse.collin@tukaani.org> 5474Date: 2010-10-11 21:26:19 +0300 5475 5476 xz: Avoid SA_RESTART for portability reasons. 5477 5478 SA_RESTART is not as portable as I had hoped. It's missing 5479 at least from OpenVMS, QNX, and DJGPP). Luckily we can do 5480 fine without SA_RESTART. 5481 5482 src/xz/message.c | 38 +++++++++++++++----------------------- 5483 src/xz/message.h | 4 ++++ 5484 src/xz/signals.c | 6 ++++++ 5485 3 files changed, 25 insertions(+), 23 deletions(-) 5486 5487commit d52b411716a614c202e89ba732492efb9916cd3f 5488Author: Lasse Collin <lasse.collin@tukaani.org> 5489Date: 2010-10-10 17:58:58 +0300 5490 5491 xz: Use "%"PRIu32 instead of "%d" in a format string. 5492 5493 src/xz/message.c | 2 +- 5494 1 file changed, 1 insertion(+), 1 deletion(-) 5495 5496commit ae74d1bdeb075c3beefe76e1136c5741804e7e91 5497Author: Lasse Collin <lasse.collin@tukaani.org> 5498Date: 2010-10-10 17:43:26 +0300 5499 5500 test_files.sh: Fix the first line. 5501 5502 For some reason this prevented running the test only 5503 on OS/2 and even on that it broke only recently. 5504 5505 Thanks to Elbert Pol. 5506 5507 tests/test_files.sh | 2 +- 5508 1 file changed, 1 insertion(+), 1 deletion(-) 5509 5510commit d492b80ddd6f9a13419de6d102df7374d8f448e8 5511Author: Lasse Collin <lasse.collin@tukaani.org> 5512Date: 2010-10-10 16:49:01 +0300 5513 5514 lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t. 5515 5516 src/lzmainfo/lzmainfo.c | 2 +- 5517 1 file changed, 1 insertion(+), 1 deletion(-) 5518 5519commit 825e859a9054bd91202e5723c41a17e72f63040a 5520Author: Lasse Collin <lasse.collin@tukaani.org> 5521Date: 2010-10-10 16:47:01 +0300 5522 5523 lzmainfo: Use fileno(stdin) instead of STDIN_FILENO. 5524 5525 src/lzmainfo/lzmainfo.c | 2 +- 5526 1 file changed, 1 insertion(+), 1 deletion(-) 5527 5528commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8 5529Author: Lasse Collin <lasse.collin@tukaani.org> 5530Date: 2010-10-09 23:20:51 +0300 5531 5532 lzmainfo: Use setmode() on DOS-like systems. 5533 5534 src/lzmainfo/lzmainfo.c | 9 +++++++++ 5535 1 file changed, 9 insertions(+) 5536 5537commit ef364d3abc5647111c5424ea0d83a567e184a23b 5538Author: Lasse Collin <lasse.collin@tukaani.org> 5539Date: 2010-10-09 21:51:03 +0300 5540 5541 OS/2 and DOS: Be less verbose on signals. 5542 5543 Calling raise() to kill xz when user has pressed C-c 5544 is a bit verbose on OS/2 and DOS/DJGPP. Instead of 5545 calling raise(), set only the exit status to 1. 5546 5547 src/xz/signals.c | 7 +++++++ 5548 1 file changed, 7 insertions(+) 5549 5550commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a 5551Author: Lasse Collin <lasse.collin@tukaani.org> 5552Date: 2010-10-09 19:28:49 +0300 5553 5554 DOS: Update the Makefile, config.h and README. 5555 5556 This is now simpler and builds only xz.exe. 5557 5558 dos/Makefile | 211 +++++++++++++++-------------------------------------------- 5559 dos/README | 73 +++++++-------------- 5560 dos/config.h | 45 ++++--------- 5561 3 files changed, 86 insertions(+), 243 deletions(-) 5562 5563commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac 5564Author: Lasse Collin <lasse.collin@tukaani.org> 5565Date: 2010-10-09 18:57:55 +0300 5566 5567 Windows: Put some license info into README-Windows.txt. 5568 5569 windows/README-Windows.txt | 8 ++++---- 5570 1 file changed, 4 insertions(+), 4 deletions(-) 5571 5572commit e75100f549f85d231df25c07aa94d63e78e2d668 5573Author: Lasse Collin <lasse.collin@tukaani.org> 5574Date: 2010-10-09 18:57:04 +0300 5575 5576 Windows: Fix a diagnostics bug in build.bash. 5577 5578 windows/build.bash | 2 +- 5579 1 file changed, 1 insertion(+), 1 deletion(-) 5580 5581commit efeb998a2b1025df1c1d202cc7d21d866cd1c336 5582Author: Lasse Collin <lasse.collin@tukaani.org> 5583Date: 2010-10-09 13:02:15 +0300 5584 5585 lzmainfo: Add Windows resource file. 5586 5587 src/lzmainfo/Makefile.am | 9 +++++++++ 5588 src/lzmainfo/lzmainfo_w32res.rc | 12 ++++++++++++ 5589 2 files changed, 21 insertions(+) 5590 5591commit 389d418445f1623593dfdbba55d52fbb6d1205f5 5592Author: Lasse Collin <lasse.collin@tukaani.org> 5593Date: 2010-10-09 12:57:25 +0300 5594 5595 Add missing public domain notice to lzmadec_w32res.rc. 5596 5597 src/xzdec/lzmadec_w32res.rc | 7 +++++++ 5598 1 file changed, 7 insertions(+) 5599 5600commit 6389c773a4912dd9f111256d74ba1605230a7957 5601Author: Lasse Collin <lasse.collin@tukaani.org> 5602Date: 2010-10-09 12:52:12 +0300 5603 5604 Windows: Update common_w32res.rc. 5605 5606 src/common/common_w32res.rc | 9 +++------ 5607 1 file changed, 3 insertions(+), 6 deletions(-) 5608 5609commit 71275457ca24c9b01721f5cfc3638cf094daf454 5610Author: Lasse Collin <lasse.collin@tukaani.org> 5611Date: 2010-10-09 12:27:08 +0300 5612 5613 Windows: Make build.bash prefer MinGW-w32 over MinGW. 5614 5615 This is simply for licensing reasons. The 64-bit version 5616 will be built with MinGW-w64 anyway (at least for now), 5617 so using it also for 32-bit build allows using the same 5618 copyright notice about the MinGW-w64/w32 runtime. 5619 5620 Note that using MinGW would require a copyright notice too, 5621 because its runtime is not in the public domain either even 5622 though MinGW's home page claims that it is public domain. 5623 See <http://marc.info/?l=mingw-users&m=126489506214078>. 5624 5625 windows/build.bash | 18 +++++++++--------- 5626 1 file changed, 9 insertions(+), 9 deletions(-) 5627 5628commit 3ac35719d8433af937af6491383d4a50e343099b 5629Author: Lasse Collin <lasse.collin@tukaani.org> 5630Date: 2010-10-09 11:33:21 +0300 5631 5632 Windows: Copy COPYING-Windows.txt (if it exists) to the package. 5633 5634 Also, put README-Windows.txt to the doc directory like 5635 the other documentation files. 5636 5637 windows/build.bash | 14 ++++++++++++-- 5638 1 file changed, 12 insertions(+), 2 deletions(-) 5639 5640commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae 5641Author: Lasse Collin <lasse.collin@tukaani.org> 5642Date: 2010-10-08 21:42:37 +0300 5643 5644 Windows: Fix build.bash again. 5645 5646 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good. 5647 5648 windows/build.bash | 7 ++++--- 5649 1 file changed, 4 insertions(+), 3 deletions(-) 5650 5651commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd 5652Author: Lasse Collin <lasse.collin@tukaani.org> 5653Date: 2010-10-08 16:53:20 +0300 5654 5655 Use LZMA_VERSION_STRING instead of PACKAGE_VERSION. 5656 5657 Those are the same thing, and the former makes it a bit 5658 easier to build the code with other build systems, because 5659 one doesn't need to update the version number into custom 5660 config.h. 5661 5662 This change affects only lzmainfo. Other tools were already 5663 using LZMA_VERSION_STRING. 5664 5665 src/lzmainfo/lzmainfo.c | 2 +- 5666 1 file changed, 1 insertion(+), 1 deletion(-) 5667 5668commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f 5669Author: Lasse Collin <lasse.collin@tukaani.org> 5670Date: 2010-10-08 15:59:25 +0300 5671 5672 configure.ac: Remove two unused defines. 5673 5674 configure.ac | 4 ---- 5675 1 file changed, 4 deletions(-) 5676 5677commit 11f51b6714357cb67ec7e56ed9575c199b5581fe 5678Author: Lasse Collin <lasse.collin@tukaani.org> 5679Date: 2010-10-08 15:32:29 +0300 5680 5681 Make tests accommodate missing xz or xzdec. 5682 5683 tests/test_compress.sh | 47 ++++++++++++++++++++++++++++++----------------- 5684 tests/test_files.sh | 28 ++++++++++++++++++++++++++-- 5685 2 files changed, 56 insertions(+), 19 deletions(-) 5686 5687commit b1c7368f95e93ccdefdd0748e04398c26766f47f 5688Author: Lasse Collin <lasse.collin@tukaani.org> 5689Date: 2010-10-08 15:25:45 +0300 5690 5691 Build: Add options to disable individual command line tools. 5692 5693 configure.ac | 38 ++++++++++++++++++++++++++++++ 5694 src/Makefile.am | 15 +++++++++++- 5695 src/scripts/Makefile.am | 62 +++++++++++++++++++++---------------------------- 5696 src/xz/Makefile.am | 6 ++++- 5697 src/xzdec/Makefile.am | 12 ++++++++-- 5698 5 files changed, 93 insertions(+), 40 deletions(-) 5699 5700commit 630a8beda34af0ac153c8051b1bf01230558e422 5701Author: Lasse Collin <lasse.collin@tukaani.org> 5702Date: 2010-10-07 00:44:53 +0300 5703 5704 Windows: Make build.bash work without --enable-dynamic=no. 5705 5706 windows/build.bash | 4 ++-- 5707 1 file changed, 2 insertions(+), 2 deletions(-) 5708 5709commit f9907503f882a745dce9d84c2968f6c175ba966a 5710Author: Lasse Collin <lasse.collin@tukaani.org> 5711Date: 2010-10-05 14:13:16 +0300 5712 5713 Build: Remove the static/dynamic tricks. 5714 5715 Most distros want xz linked against shared liblzma, so 5716 it doesn't help much to require --enable-dynamic for that. 5717 Those who want to avoid PIC on x86-32 to get better 5718 performance, can still do it e.g. by using --disable-shared 5719 to compile xz and then another pass to compile shared liblzma. 5720 5721 Part of these static/dynamic tricks were needed for Windows 5722 in the past. Nowadays we rely on GCC and binutils to do the 5723 right thing with auto-import. If the Autotooled build system 5724 needs to support some other toolchain on Windows in the future, 5725 this may need some rethinking. 5726 5727 configure.ac | 74 ------------------------------------------------ 5728 debug/Makefile.am | 5 +--- 5729 src/lzmainfo/Makefile.am | 4 +-- 5730 src/xz/Makefile.am | 4 +-- 5731 src/xzdec/Makefile.am | 4 +-- 5732 tests/Makefile.am | 5 +--- 5733 6 files changed, 5 insertions(+), 91 deletions(-) 5734 5735commit fda4724d8114fccfa31c1839c15479f350c2fb4c 5736Author: Lasse Collin <lasse.collin@tukaani.org> 5737Date: 2010-10-05 12:18:58 +0300 5738 5739 configure.ac: Silence a warning from Autoconf 2.68. 5740 5741 configure.ac | 2 +- 5742 1 file changed, 1 insertion(+), 1 deletion(-) 5743 5744commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9 5745Author: Lasse Collin <lasse.collin@tukaani.org> 5746Date: 2010-10-04 19:43:01 +0300 5747 5748 A few more languages files to the xz man page. 5749 5750 Thanks to Jonathan Nieder. 5751 5752 src/xz/xz.1 | 45 ++++++++++++++++++++++++--------------------- 5753 1 file changed, 24 insertions(+), 21 deletions(-) 5754 5755commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb 5756Author: Lasse Collin <lasse.collin@tukaani.org> 5757Date: 2010-10-02 12:07:33 +0300 5758 5759 Update the FAQ. 5760 5761 doc/faq.txt | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 5762 1 file changed, 100 insertions(+), 4 deletions(-) 5763 5764commit 61ae593661e8dc402394e84d567ca2044a51572b 5765Author: Lasse Collin <lasse.collin@tukaani.org> 5766Date: 2010-10-02 11:38:20 +0300 5767 5768 liblzma: Small fixes to comments in the API headers. 5769 5770 src/liblzma/api/lzma/lzma.h | 10 +++++++--- 5771 1 file changed, 7 insertions(+), 3 deletions(-) 5772 5773commit 9166682dc601fd42c1b9510572e3f917d18de504 5774Author: Lasse Collin <lasse.collin@tukaani.org> 5775Date: 2010-09-28 11:40:12 +0300 5776 5777 Create the PDF versions of the man pages better. 5778 5779 Makefile.am | 14 +++++++------ 5780 build-aux/manconv.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5781 2 files changed, 66 insertions(+), 6 deletions(-) 5782 5783commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8 5784Author: Lasse Collin <lasse.collin@tukaani.org> 5785Date: 2010-09-28 10:59:53 +0300 5786 5787 Move version.sh to build-aux. 5788 5789 Makefile.am | 4 ++-- 5790 version.sh => build-aux/version.sh | 0 5791 configure.ac | 2 +- 5792 windows/build.bash | 2 +- 5793 4 files changed, 4 insertions(+), 4 deletions(-) 5794 5795commit 84af9d8770451339a692e9b70f96cf56156a6069 5796Author: Lasse Collin <lasse.collin@tukaani.org> 5797Date: 2010-09-28 10:53:02 +0300 5798 5799 Update .gitignore. 5800 5801 .gitignore | 10 +++++++++- 5802 1 file changed, 9 insertions(+), 1 deletion(-) 5803 5804commit 31575a449ac64c523da3bab8d0c0b522cdc7c780 5805Author: Lasse Collin <lasse.collin@tukaani.org> 5806Date: 2010-09-28 01:17:14 +0300 5807 5808 Fix accomodate -> accommodate on the xz man page. 5809 5810 src/xz/xz.1 | 2 +- 5811 1 file changed, 1 insertion(+), 1 deletion(-) 5812 5813commit cec0ddc8ec4ce81685a51998b978e22167e461f9 5814Author: Lasse Collin <lasse.collin@tukaani.org> 5815Date: 2010-09-27 23:29:34 +0300 5816 5817 Major man page updates. 5818 5819 Lots of content was updated on the xz man page. 5820 5821 Technical improvements: 5822 - Start a new sentence on a new line. 5823 - Use fairly short lines. 5824 - Use constant-width font for examples (where supported). 5825 - Some minor cleanups. 5826 5827 Thanks to Jonathan Nieder for some language fixes. 5828 5829 src/lzmainfo/lzmainfo.1 | 25 +- 5830 src/scripts/xzdiff.1 | 15 +- 5831 src/scripts/xzgrep.1 | 11 +- 5832 src/scripts/xzless.1 | 13 +- 5833 src/scripts/xzmore.1 | 9 +- 5834 src/xz/xz.1 | 1964 ++++++++++++++++++++++++++++++++--------------- 5835 src/xzdec/xzdec.1 | 39 +- 5836 7 files changed, 1435 insertions(+), 641 deletions(-) 5837 5838commit 075257ab0416a0603be930082e31a5703e4ba345 5839Author: Lasse Collin <lasse.collin@tukaani.org> 5840Date: 2010-09-26 18:10:31 +0300 5841 5842 Fix the preset -3e. 5843 5844 depth=0 was missing. 5845 5846 src/liblzma/lzma/lzma_encoder_presets.c | 1 + 5847 1 file changed, 1 insertion(+) 5848 5849commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1 5850Author: Lasse Collin <lasse.collin@tukaani.org> 5851Date: 2010-09-23 14:03:10 +0300 5852 5853 Add translations.bash and translation notes to README. 5854 5855 translations.bash prints some messages from xz, which 5856 hopefully makes it a bit easier to test translations. 5857 5858 README | 96 +++++++++++++++++++++++++++++++++++++++++++++-- 5859 debug/translation.bash | 100 +++++++++++++++++++++++++++++++++++++++++++++++++ 5860 2 files changed, 192 insertions(+), 4 deletions(-) 5861 5862commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23 5863Author: Lasse Collin <lasse.collin@tukaani.org> 5864Date: 2010-09-17 22:14:30 +0300 5865 5866 xz: Update the Czech translation. 5867 5868 Thanks to Marek Černocký. 5869 5870 po/cs.po | 202 +++++++++++++++++++++++++++++++++++++++++---------------------- 5871 1 file changed, 131 insertions(+), 71 deletions(-) 5872 5873commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6 5874Author: Lasse Collin <lasse.collin@tukaani.org> 5875Date: 2010-09-16 23:40:41 +0300 5876 5877 xz: Add Italian translation. 5878 5879 Thanks to Milo Casagrande and Lorenzo De Liso. 5880 5881 THANKS | 2 + 5882 po/LINGUAS | 1 + 5883 po/it.po | 902 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5884 3 files changed, 905 insertions(+) 5885 5886commit 21088018554e2b0e02914205377ceb6e34a090bd 5887Author: Lasse Collin <lasse.collin@tukaani.org> 5888Date: 2010-09-15 00:34:13 +0300 5889 5890 xz: Edit a translators comment. 5891 5892 src/xz/list.c | 2 +- 5893 1 file changed, 1 insertion(+), 1 deletion(-) 5894 5895commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6 5896Author: Lasse Collin <lasse.collin@tukaani.org> 5897Date: 2010-09-14 22:47:14 +0300 5898 5899 xz: Add German translation. 5900 5901 Thanks to Andre Noll. 5902 5903 THANKS | 1 + 5904 po/LINGUAS | 1 + 5905 po/de.po | 903 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5906 3 files changed, 905 insertions(+) 5907 5908commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b 5909Author: Lasse Collin <lasse.collin@tukaani.org> 5910Date: 2010-09-10 14:30:25 +0300 5911 5912 Updated README. 5913 5914 README | 2 -- 5915 1 file changed, 2 deletions(-) 5916 5917commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71 5918Author: Lasse Collin <lasse.collin@tukaani.org> 5919Date: 2010-09-10 14:30:07 +0300 5920 5921 Updated INSTALL. 5922 5923 INSTALL | 7 ++++--- 5924 1 file changed, 4 insertions(+), 3 deletions(-) 5925 5926commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2 5927Author: Lasse Collin <lasse.collin@tukaani.org> 5928Date: 2010-09-10 14:26:20 +0300 5929 5930 Updated the git repository address in ChangeLog. 5931 5932 ChangeLog | 2 +- 5933 1 file changed, 1 insertion(+), 1 deletion(-) 5934 5935commit a8760203f93a69bc39fd14520a6e9e7b7d70be06 5936Author: Lasse Collin <lasse.collin@tukaani.org> 5937Date: 2010-09-10 14:09:33 +0300 5938 5939 xz: Add a comment to translators about "literal context bits". 5940 5941 src/xz/message.c | 4 ++++ 5942 1 file changed, 4 insertions(+) 5943 5944commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5 5945Author: Lasse Collin <lasse.collin@tukaani.org> 5946Date: 2010-09-10 10:30:33 +0300 5947 5948 xz: Multiple fixes. 5949 5950 The code assumed that printing numbers with thousand separators 5951 and decimal points would always produce only US-ASCII characters. 5952 This was used for buffer sizes (with snprintf(), no overflows) 5953 and aligning columns of the progress indicator and --list. That 5954 assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so 5955 multibyte character support was added in this commit. The old 5956 way is used if the operating system doesn't have enough multibyte 5957 support (e.g. lacks wcwidth()). 5958 5959 The sizes of buffers were increased to accomodate multibyte 5960 characters. I don't know how big they should be exactly, but 5961 they aren't used for anything critical, so it's not too bad. 5962 If they still aren't big enough, I hopefully get a bug report. 5963 snprintf() takes care of avoiding buffer overflows. 5964 5965 Some static buffers were replaced with buffers allocated on 5966 stack. double_to_str() was removed. uint64_to_str() and 5967 uint64_to_nicestr() now share the static buffer and test 5968 for thousand separator support. 5969 5970 Integrity check names "None" and "Unknown-N" (2 <= N <= 15) 5971 were marked to be translated. I had forgot these, plus they 5972 wouldn't have worked correctly anyway before this commit, 5973 because printing tables with multibyte strings didn't work. 5974 5975 Thanks to Marek Černocký for reporting the bug about 5976 misaligned table columns in --list output. 5977 5978 configure.ac | 1 + 5979 m4/tuklib_mbstr.m4 | 30 ++++++ 5980 src/common/tuklib_mbstr.h | 66 +++++++++++++ 5981 src/common/tuklib_mbstr_fw.c | 31 ++++++ 5982 src/common/tuklib_mbstr_width.c | 64 +++++++++++++ 5983 src/xz/Makefile.am | 4 +- 5984 src/xz/list.c | 205 +++++++++++++++++++++++++++------------- 5985 src/xz/message.c | 56 +++++++---- 5986 src/xz/message.h | 10 +- 5987 src/xz/private.h | 1 + 5988 src/xz/util.c | 136 +++++++++----------------- 5989 src/xz/util.h | 7 -- 5990 12 files changed, 424 insertions(+), 187 deletions(-) 5991 5992commit 639f8e2af33cf8a184d59ba56b6df7c098679d61 5993Author: Lasse Collin <lasse.collin@tukaani.org> 5994Date: 2010-09-08 08:49:22 +0300 5995 5996 Update the Czech translation. 5997 5998 Thanks to Marek Černocký. 5999 6000 po/cs.po | 655 +++++++++++++++++++++++++++++++++++++++++++-------------------- 6001 1 file changed, 454 insertions(+), 201 deletions(-) 6002 6003commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7 6004Author: Lasse Collin <lasse.collin@tukaani.org> 6005Date: 2010-09-07 12:31:40 +0300 6006 6007 xz: Add a note to translators. 6008 6009 src/xz/hardware.c | 2 ++ 6010 1 file changed, 2 insertions(+) 6011 6012commit 77a7746616e555fc08028e883a56d06bf0088b81 6013Author: Lasse Collin <lasse.collin@tukaani.org> 6014Date: 2010-09-07 10:42:13 +0300 6015 6016 Fix use of N_() and ngettext(). 6017 6018 I had somehow thought that N_() is usually used 6019 as shorthand for ngettext(). 6020 6021 This also fixes a missing \n from a call to ngettext(). 6022 6023 src/common/tuklib_gettext.h | 4 ++-- 6024 src/xz/list.c | 4 ++-- 6025 2 files changed, 4 insertions(+), 4 deletions(-) 6026 6027commit e6ad39335842343e622ab51207d1d3cb9caad801 6028Author: Lasse Collin <lasse.collin@tukaani.org> 6029Date: 2010-09-06 19:43:12 +0300 6030 6031 Add missing files to POTFILES.in. 6032 6033 po/POTFILES.in | 3 +++ 6034 1 file changed, 3 insertions(+) 6035 6036commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30 6037Author: Lasse Collin <lasse.collin@tukaani.org> 6038Date: 2010-09-06 10:16:24 +0300 6039 6040 xz: Improve a comment. 6041 6042 src/xz/file_io.c | 7 ++++--- 6043 1 file changed, 4 insertions(+), 3 deletions(-) 6044 6045commit bcb1b898341f7073f51660d7052d7ed6c5461a66 6046Author: Lasse Collin <lasse.collin@tukaani.org> 6047Date: 2010-09-05 21:34:29 +0300 6048 6049 xz: Update the comment about NetBSD in file_io.c. 6050 6051 Thanks to Joerg Sonnenberger. 6052 6053 src/xz/file_io.c | 8 ++++---- 6054 1 file changed, 4 insertions(+), 4 deletions(-) 6055 6056commit da014d55972f5addbf6b4360d3d8ed2ef4282170 6057Author: Lasse Collin <lasse.collin@tukaani.org> 6058Date: 2010-09-05 21:11:33 +0300 6059 6060 xz: Use an array instead of pointer for stdin_filename. 6061 6062 Thanks Joerg Sonnenberger. 6063 6064 src/xz/args.c | 2 +- 6065 src/xz/args.h | 2 +- 6066 2 files changed, 2 insertions(+), 2 deletions(-) 6067 6068commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee 6069Author: Lasse Collin <lasse.collin@tukaani.org> 6070Date: 2010-09-05 12:16:17 +0300 6071 6072 xz: Hopefully ease translating the messages in list.c. 6073 6074 src/xz/list.c | 33 +++++++++++++++++++++++---------- 6075 1 file changed, 23 insertions(+), 10 deletions(-) 6076 6077commit ef840950ad99cf2955c754875af0e01acf125079 6078Author: Lasse Collin <lasse.collin@tukaani.org> 6079Date: 2010-09-04 23:14:44 +0300 6080 6081 xz: Fix grammar. 6082 6083 src/xz/options.c | 3 +-- 6084 1 file changed, 1 insertion(+), 2 deletions(-) 6085 6086commit c46afd6edc04ea140db6c59e8486f5707c810c13 6087Author: Lasse Collin <lasse.collin@tukaani.org> 6088Date: 2010-09-04 23:12:20 +0300 6089 6090 xz: Use lzma_lzma_preset() to initialize the options structure. 6091 6092 src/xz/options.c | 14 ++------------ 6093 1 file changed, 2 insertions(+), 12 deletions(-) 6094 6095commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065 6096Author: Lasse Collin <lasse.collin@tukaani.org> 6097Date: 2010-09-04 22:16:28 +0300 6098 6099 Don't set lc=4 with --extreme. 6100 6101 This should reduce the cases where --extreme makes 6102 compression worse. On the other hand, some other 6103 files may now benefit slightly less from --extreme. 6104 6105 src/liblzma/lzma/lzma_encoder_presets.c | 1 - 6106 1 file changed, 1 deletion(-) 6107 6108commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b 6109Author: Lasse Collin <lasse.collin@tukaani.org> 6110Date: 2010-09-04 22:10:32 +0300 6111 6112 xz: Minor improvements to --help and --long-help. 6113 6114 src/xz/message.c | 24 ++++++++++++------------ 6115 1 file changed, 12 insertions(+), 12 deletions(-) 6116 6117commit 373ee26f955617295c5c537b04a153a1969140d2 6118Author: Jonathan Nieder <jrnieder@gmail.com> 6119Date: 2010-09-03 16:49:15 -0500 6120 6121 Adjust memory limits in test_compress.sh 6122 6123 Testing compression at level -4 now requires 48 MiB of free store at 6124 compression time and 5 MiB at decompression time. 6125 6126 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 6127 6128 tests/test_compress.sh | 2 +- 6129 1 file changed, 1 insertion(+), 1 deletion(-) 6130 6131commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087 6132Author: Lasse Collin <lasse.collin@tukaani.org> 6133Date: 2010-09-03 15:54:40 +0300 6134 6135 xz: Make -vv show also decompressor memory usage. 6136 6137 src/xz/coder.c | 7 +++++++ 6138 1 file changed, 7 insertions(+) 6139 6140commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6 6141Author: Lasse Collin <lasse.collin@tukaani.org> 6142Date: 2010-09-03 15:13:12 +0300 6143 6144 Tweak the compression presets -0 .. -5. 6145 6146 "Extreme" mode might need some further tweaking still. 6147 Docs were not updated yet. 6148 6149 src/liblzma/lzma/lzma_encoder_presets.c | 29 +++++++++++++++++++---------- 6150 1 file changed, 19 insertions(+), 10 deletions(-) 6151 6152commit 77fe5954cd3d10fb1837372684cbc133b56b6a87 6153Author: Lasse Collin <lasse.collin@tukaani.org> 6154Date: 2010-09-03 12:28:41 +0300 6155 6156 liblzma: Adjust default depth calculation for HC3 and HC4. 6157 6158 It was 8 + nice_len / 4, now it is 4 + nice_len / 4. 6159 This allows faster settings at lower nice_len values, 6160 even though it seems that I won't use automatic depth 6161 calcuation with HC3 and HC4 in the presets. 6162 6163 src/liblzma/lz/lz_encoder.c | 7 ++++--- 6164 1 file changed, 4 insertions(+), 3 deletions(-) 6165 6166commit fce69059cf901ce8075a78c7607d591f144a3b5a 6167Author: Lasse Collin <lasse.collin@tukaani.org> 6168Date: 2010-09-03 11:11:25 +0300 6169 6170 xz: Make --help two lines shorter. 6171 6172 At least for now, the --help option doesn't list any 6173 options that take arguments, so "Mandatory arguments to..." 6174 can be omitted. 6175 6176 src/xz/message.c | 7 +++++-- 6177 1 file changed, 5 insertions(+), 2 deletions(-) 6178 6179commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298 6180Author: Lasse Collin <lasse.collin@tukaani.org> 6181Date: 2010-09-02 19:22:35 +0300 6182 6183 xz: Make setting a preset override a custom filter chain. 6184 6185 This is more logical behavior than ignoring preset level 6186 options once a custom filter chain has been specified. 6187 6188 src/xz/coder.c | 9 +++++++++ 6189 1 file changed, 9 insertions(+) 6190 6191commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3 6192Author: Lasse Collin <lasse.collin@tukaani.org> 6193Date: 2010-09-02 19:09:57 +0300 6194 6195 xz: Always warn if adjusting dictionary size due to memlimit. 6196 6197 src/xz/coder.c | 28 +++++++++------------------- 6198 1 file changed, 9 insertions(+), 19 deletions(-) 6199 6200commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d 6201Author: Lasse Collin <lasse.collin@tukaani.org> 6202Date: 2010-08-10 11:04:30 +0300 6203 6204 Fix test_compress.sh. 6205 6206 It broke when --memory option was removed from xzdec. 6207 6208 Thanks to Jonathan Nieder. 6209 6210 tests/test_compress.sh | 6 +++--- 6211 1 file changed, 3 insertions(+), 3 deletions(-) 6212 6213commit 792331bdee706aa852a78b171040ebf814c6f3ae 6214Author: Lasse Collin <lasse.collin@tukaani.org> 6215Date: 2010-08-07 20:45:18 +0300 6216 6217 Disable the memory usage limiter by default. 6218 6219 For several people, the limiter causes bigger problems that 6220 it solves, so it is better to have it disabled by default. 6221 Those who want to have a limiter by default need to enable 6222 it via the environment variable XZ_DEFAULTS. 6223 6224 Support for environment variable XZ_DEFAULTS was added. It is 6225 parsed before XZ_OPT and technically identical with it. The 6226 intended uses differ quite a bit though; see the man page. 6227 6228 The memory usage limit can now be set separately for 6229 compression and decompression using --memlimit-compress and 6230 --memlimit-decompress. To set both at once, -M or --memlimit 6231 can be used. --memory was retained as a legacy alias for 6232 --memlimit for backwards compatibility. 6233 6234 The semantics of --info-memory were changed in backwards 6235 incompatible way. Compatibility wasn't meaningful due to 6236 changes in the memory usage limiter functionality. 6237 6238 The memory usage limiter info is no longer shown at the 6239 bottom of xz --long -help. 6240 6241 The memory usage limiter support for removed completely from xzdec. 6242 6243 xz's man page was updated to match the above changes. Various 6244 unrelated fixes were also made to the man page. 6245 6246 src/xz/args.c | 87 +++++++++----- 6247 src/xz/coder.c | 8 +- 6248 src/xz/hardware.c | 96 +++++++++------ 6249 src/xz/hardware.h | 23 ++-- 6250 src/xz/list.c | 2 +- 6251 src/xz/message.c | 39 ++----- 6252 src/xz/message.h | 4 - 6253 src/xz/xz.1 | 341 ++++++++++++++++++++++++++++++++++-------------------- 6254 src/xzdec/xzdec.1 | 45 +------ 6255 src/xzdec/xzdec.c | 176 +--------------------------- 6256 10 files changed, 373 insertions(+), 448 deletions(-) 6257 6258commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801 6259Author: Lasse Collin <lasse.collin@tukaani.org> 6260Date: 2010-08-06 20:22:16 +0300 6261 6262 Add missing const to a global constant in xz. 6263 6264 src/xz/args.c | 2 +- 6265 src/xz/args.h | 2 +- 6266 2 files changed, 2 insertions(+), 2 deletions(-) 6267 6268commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f 6269Author: Lasse Collin <lasse.collin@tukaani.org> 6270Date: 2010-07-28 11:44:55 +0300 6271 6272 Language fixes for man pages. 6273 6274 Thanks to A. Costa and Jonathan Nieder. 6275 6276 src/lzmainfo/lzmainfo.1 | 4 ++-- 6277 src/xz/xz.1 | 6 +++--- 6278 2 files changed, 5 insertions(+), 5 deletions(-) 6279 6280commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b 6281Author: Lasse Collin <lasse.collin@tukaani.org> 6282Date: 2010-07-27 20:47:12 +0300 6283 6284 Windows: Add a note about building a Git repository snapshot 6285 6286 windows/INSTALL-Windows.txt | 9 +++++++++ 6287 1 file changed, 9 insertions(+) 6288 6289commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38 6290Author: Lasse Collin <lasse.collin@tukaani.org> 6291Date: 2010-07-27 20:45:03 +0300 6292 6293 Windows: build.sh is a bash script so name it correctly. 6294 6295 INSTALL | 2 +- 6296 windows/INSTALL-Windows.txt | 6 +++--- 6297 windows/{build.sh => build.bash} | 6 +++--- 6298 3 files changed, 7 insertions(+), 7 deletions(-) 6299 6300commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339 6301Author: Lasse Collin <lasse.collin@tukaani.org> 6302Date: 2010-07-27 20:27:32 +0300 6303 6304 Windows: Don't strip liblzma.a too much. 6305 6306 windows/build.sh | 3 ++- 6307 1 file changed, 2 insertions(+), 1 deletion(-) 6308 6309commit a540198ffb25fad36380c5e92ac20c2d28eec46a 6310Author: Lasse Collin <lasse.collin@tukaani.org> 6311Date: 2010-07-13 20:07:26 +0300 6312 6313 Updated THANKS. 6314 6315 THANKS | 1 + 6316 1 file changed, 1 insertion(+) 6317 6318commit bab0f01ed931f606b4675aa9f9331a17cec09bad 6319Author: Lasse Collin <lasse.collin@tukaani.org> 6320Date: 2010-07-13 19:55:50 +0300 6321 6322 Add two simple example programs. 6323 6324 Hopefully these help a bit when learning the basics 6325 of liblzma API. I plan to write detailed examples about 6326 both basic and advanced features with lots of comments, 6327 but these two examples are good have right now. 6328 6329 The examples were written by Daniel Mealha Cabrita. Thanks. 6330 6331 doc/examples/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++++++ 6332 doc/examples/xz_pipe_decomp.c | 115 ++++++++++++++++++++++++++++++++++++++ 6333 2 files changed, 242 insertions(+) 6334 6335commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00 6336Author: Lasse Collin <lasse.collin@tukaani.org> 6337Date: 2010-06-15 14:06:29 +0300 6338 6339 Add --no-adjust. 6340 6341 src/xz/args.c | 6 ++++++ 6342 src/xz/coder.c | 8 ++------ 6343 src/xz/coder.h | 4 ++++ 6344 src/xz/message.c | 6 +++++- 6345 src/xz/xz.1 | 13 +++++++++++-- 6346 5 files changed, 28 insertions(+), 9 deletions(-) 6347 6348commit 2130926dd1c839280358172dfadd8d3054bde2b4 6349Author: Lasse Collin <lasse.collin@tukaani.org> 6350Date: 2010-06-11 21:51:32 +0300 6351 6352 Updated THANKS. 6353 6354 THANKS | 1 + 6355 1 file changed, 1 insertion(+) 6356 6357commit bc612d0e0c9e4504c59d49168e87a7ae3e458443 6358Author: Lasse Collin <lasse.collin@tukaani.org> 6359Date: 2010-06-11 21:48:32 +0300 6360 6361 Clarify the description of the default memlimit in the man page. 6362 6363 Thanks to Denis Excoffier. 6364 6365 src/xz/xz.1 | 4 ++-- 6366 1 file changed, 2 insertions(+), 2 deletions(-) 6367 6368commit e1b6935d60a00405e6b5b455a3426d2248cc926c 6369Author: Lasse Collin <lasse.collin@tukaani.org> 6370Date: 2010-06-11 21:43:28 +0300 6371 6372 Fix string to uint64_t conversion. 6373 6374 Thanks to Denis Excoffier for the bug report. 6375 6376 src/xz/util.c | 10 ++++++++-- 6377 src/xzdec/xzdec.c | 13 +++++++++++-- 6378 2 files changed, 19 insertions(+), 4 deletions(-) 6379 6380commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0 6381Author: Lasse Collin <lasse.collin@tukaani.org> 6382Date: 2010-06-11 10:40:28 +0300 6383 6384 Put the git commit to the filename in mydist rule. 6385 6386 Makefile.am | 6 +++++- 6387 1 file changed, 5 insertions(+), 1 deletion(-) 6388 6389commit d8b41eedce486d400f701b757b7b5e4e32276618 6390Author: Lasse Collin <lasse.collin@tukaani.org> 6391Date: 2010-06-02 23:13:55 +0300 6392 6393 Fix compiling with -Werror. 6394 6395 src/xz/message.c | 4 ++-- 6396 1 file changed, 2 insertions(+), 2 deletions(-) 6397 6398commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8 6399Author: Lasse Collin <lasse.collin@tukaani.org> 6400Date: 2010-06-02 23:09:22 +0300 6401 6402 Silence a bogus Valgrind warning. 6403 6404 When using -O2 with GCC, it liked to swap two comparisons 6405 in one "if" statement. It's otherwise fine except that 6406 the latter part, which is seemingly never executed, got 6407 executed (nothing wrong with that) and then triggered 6408 warning in Valgrind about conditional jump depending on 6409 uninitialized variable. A few people find this annoying 6410 so do things a bit differently to avoid the warning. 6411 6412 src/liblzma/lz/lz_encoder.c | 6 +++++- 6413 1 file changed, 5 insertions(+), 1 deletion(-) 6414 6415commit 29a7b250e685852f2f97615493ec49acaf528623 6416Author: Lasse Collin <lasse.collin@tukaani.org> 6417Date: 2010-06-02 21:32:12 +0300 6418 6419 Fix a Windows-specific FIXME in signal handling code. 6420 6421 src/xz/main.c | 40 +++++++++++++++++++++++++++++++++++----- 6422 src/xz/private.h | 5 +++++ 6423 src/xz/signals.c | 16 ++++++++-------- 6424 3 files changed, 48 insertions(+), 13 deletions(-) 6425 6426commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d 6427Author: Lasse Collin <lasse.collin@tukaani.org> 6428Date: 2010-06-02 17:46:58 +0300 6429 6430 Adjust SA_RESTART workaround. 6431 6432 I want to get a bug report if something else than 6433 DJGPP lacks SA_RESTART. 6434 6435 src/xz/message.c | 14 +++++++------- 6436 1 file changed, 7 insertions(+), 7 deletions(-) 6437 6438commit e243145c84ab5c3be8259fd486ead0de5235b3f0 6439Author: Lasse Collin <lasse.collin@tukaani.org> 6440Date: 2010-06-01 16:02:30 +0300 6441 6442 xz man page updates. 6443 6444 - Concatenating .xz files and padding 6445 - List mode 6446 - Robot mode 6447 - A few examples (but many more are needed) 6448 6449 src/xz/xz.1 | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 6450 1 file changed, 366 insertions(+), 19 deletions(-) 6451 6452commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562 6453Author: Lasse Collin <lasse.collin@tukaani.org> 6454Date: 2010-06-01 15:51:44 +0300 6455 6456 Major update to xz --list. 6457 6458 src/xz/list.c | 652 ++++++++++++++++++++++++++++++++++++++++++---------------- 6459 1 file changed, 471 insertions(+), 181 deletions(-) 6460 6461commit 905e54804a899e4ad526d38fdba7e803ab9b71bd 6462Author: Lasse Collin <lasse.collin@tukaani.org> 6463Date: 2010-06-01 14:13:03 +0300 6464 6465 Rename message_filters_get() to message_filters_to_str(). 6466 6467 src/xz/message.c | 4 ++-- 6468 src/xz/message.h | 2 +- 6469 2 files changed, 3 insertions(+), 3 deletions(-) 6470 6471commit 4b346ae8af20045027ae5efb068c6d69da3324d2 6472Author: Lasse Collin <lasse.collin@tukaani.org> 6473Date: 2010-06-01 14:09:12 +0300 6474 6475 Fix a comment. 6476 6477 src/liblzma/api/lzma/index.h | 2 +- 6478 1 file changed, 1 insertion(+), 1 deletion(-) 6479 6480commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296 6481Author: Lasse Collin <lasse.collin@tukaani.org> 6482Date: 2010-05-27 16:17:42 +0300 6483 6484 Fix lzma_block_compressed_size(). 6485 6486 src/liblzma/common/block_util.c | 6 +++--- 6487 1 file changed, 3 insertions(+), 3 deletions(-) 6488 6489commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593 6490Author: Lasse Collin <lasse.collin@tukaani.org> 6491Date: 2010-05-27 14:32:51 +0300 6492 6493 Take Cygwin into account in some #if lines. 6494 6495 This change is no-op, but good to have just in case 6496 for the future. 6497 6498 src/xz/signals.c | 2 +- 6499 src/xz/signals.h | 4 ++-- 6500 2 files changed, 3 insertions(+), 3 deletions(-) 6501 6502commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7 6503Author: Lasse Collin <lasse.collin@tukaani.org> 6504Date: 2010-05-27 13:42:44 +0300 6505 6506 Remove references to the Subblock filter in xz and tests. 6507 6508 Thanks to Jonathan Nieder. 6509 6510 src/xz/message.c | 9 --------- 6511 tests/test_filter_flags.c | 23 ----------------------- 6512 2 files changed, 32 deletions(-) 6513 6514commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893 6515Author: Lasse Collin <lasse.collin@tukaani.org> 6516Date: 2010-05-27 13:35:36 +0300 6517 6518 Remove unused chunk_size.c. 6519 6520 Thanks to Jonathan Nieder for the reminder. 6521 6522 src/liblzma/common/chunk_size.c | 67 ----------------------------------------- 6523 1 file changed, 67 deletions(-) 6524 6525commit 01a414eaf4be6352c06b48001b041b47e8202faa 6526Author: Jonathan Nieder <jrnieder@gmail.com> 6527Date: 2010-05-27 02:31:33 -0500 6528 6529 Use my_min() instead of MIN() in src/xz/list.c 6530 6531 This should have been done in 6532 920a69a8d8e4203c5edddd829d932130eac188ea. 6533 6534 src/xz/list.c | 2 +- 6535 1 file changed, 1 insertion(+), 1 deletion(-) 6536 6537commit 920a69a8d8e4203c5edddd829d932130eac188ea 6538Author: Lasse Collin <lasse.collin@tukaani.org> 6539Date: 2010-05-26 10:36:46 +0300 6540 6541 Rename MIN() and MAX() to my_min() and my_max(). 6542 6543 This should avoid some minor portability issues. 6544 6545 debug/full_flush.c | 2 +- 6546 debug/sync_flush.c | 2 +- 6547 src/common/sysdefs.h | 12 +++++------- 6548 src/liblzma/common/block_buffer_encoder.c | 2 +- 6549 src/liblzma/common/common.c | 2 +- 6550 src/liblzma/common/stream_buffer_encoder.c | 2 +- 6551 src/liblzma/delta/delta_encoder.c | 2 +- 6552 src/liblzma/lz/lz_decoder.c | 7 ++++--- 6553 src/liblzma/lz/lz_decoder.h | 2 +- 6554 src/liblzma/lz/lz_encoder.c | 2 +- 6555 src/liblzma/lz/lz_encoder.h | 2 +- 6556 src/liblzma/lz/lz_encoder_mf.c | 4 ++-- 6557 src/liblzma/lzma/lzma2_encoder.c | 2 +- 6558 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 6559 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 14 +++++++------- 6560 src/xz/args.c | 3 ++- 6561 16 files changed, 31 insertions(+), 31 deletions(-) 6562 6563commit 019ae27c24d0c694545a6a46f8b9fb552198b015 6564Author: Lasse Collin <lasse.collin@tukaani.org> 6565Date: 2010-05-26 10:30:20 +0300 6566 6567 Fix compilation of debug/known_sizes.c. 6568 6569 debug/known_sizes.c | 2 +- 6570 1 file changed, 1 insertion(+), 1 deletion(-) 6571 6572commit 98a4856a6ea84f79c790057a6eb89a25bc45b074 6573Author: Lasse Collin <lasse.collin@tukaani.org> 6574Date: 2010-05-26 10:28:54 +0300 6575 6576 Remove references to Subblock filter in debug/sync_flush.c. 6577 6578 debug/sync_flush.c | 13 ------------- 6579 1 file changed, 13 deletions(-) 6580 6581commit 703d2c33c095c41ae0693ee8c27c45e3847e4535 6582Author: Lasse Collin <lasse.collin@tukaani.org> 6583Date: 2010-05-26 10:16:57 +0300 6584 6585 Better #error message. 6586 6587 src/common/sysdefs.h | 4 ++-- 6588 1 file changed, 2 insertions(+), 2 deletions(-) 6589 6590commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0 6591Author: Lasse Collin <lasse.collin@tukaani.org> 6592Date: 2010-05-26 09:55:47 +0300 6593 6594 Remove the Subblock filter code for now. 6595 6596 The spec isn't finished and the code didn't compile anymore. 6597 It won't be included in XZ Utils 5.0.0. It's easy to get it 6598 back once the spec is done. 6599 6600 configure.ac | 6 +- 6601 src/liblzma/Makefile.am | 5 - 6602 src/liblzma/api/Makefile.am | 1 - 6603 src/liblzma/api/lzma.h | 1 - 6604 src/liblzma/api/lzma/subblock.h | 200 ----- 6605 src/liblzma/common/common.h | 6 - 6606 src/liblzma/common/filter_common.c | 9 - 6607 src/liblzma/common/filter_decoder.c | 16 - 6608 src/liblzma/common/filter_encoder.c | 12 - 6609 src/liblzma/subblock/Makefile.inc | 20 - 6610 src/liblzma/subblock/subblock_decoder.c | 630 ---------------- 6611 src/liblzma/subblock/subblock_decoder.h | 22 - 6612 src/liblzma/subblock/subblock_decoder_helper.c | 70 -- 6613 src/liblzma/subblock/subblock_decoder_helper.h | 29 - 6614 src/liblzma/subblock/subblock_encoder.c | 984 ------------------------- 6615 src/liblzma/subblock/subblock_encoder.h | 21 - 6616 src/xz/args.c | 9 +- 6617 src/xz/options.c | 61 -- 6618 src/xz/options.h | 7 - 6619 19 files changed, 4 insertions(+), 2105 deletions(-) 6620 6621commit b6377fc990f9b8651149cae0fecb8b9c5904e26d 6622Author: Lasse Collin <lasse.collin@tukaani.org> 6623Date: 2010-05-16 18:42:22 +0300 6624 6625 Split message_filters(). 6626 6627 message_filters_to_str() converts the filter chain to 6628 a string. message_filters_show() replaces the original 6629 message_filters(). 6630 6631 uint32_to_optstr() was also added to show the dictionary 6632 size in nicer format when possible. 6633 6634 src/xz/coder.c | 2 +- 6635 src/xz/message.c | 187 +++++++++++++++++++++++++++++++++++-------------------- 6636 src/xz/message.h | 14 ++++- 6637 3 files changed, 134 insertions(+), 69 deletions(-) 6638 6639commit d9986db782d6cf0f314342127280519339378fa0 6640Author: Lasse Collin <lasse.collin@tukaani.org> 6641Date: 2010-05-14 23:17:20 +0300 6642 6643 Omit lzma_restrict from the API headers. 6644 6645 It isn't really useful so omitting it makes things 6646 shorter and slightly more readable. 6647 6648 src/liblzma/api/lzma.h | 12 ------------ 6649 src/liblzma/api/lzma/index.h | 5 ++--- 6650 src/liblzma/api/lzma/vli.h | 11 +++++------ 6651 3 files changed, 7 insertions(+), 21 deletions(-) 6652 6653commit 0d3489efca0a723dca0394809fa3e6170843af4b 6654Author: Lasse Collin <lasse.collin@tukaani.org> 6655Date: 2010-05-10 19:57:24 +0300 6656 6657 Updated INSTALL. 6658 6659 INSTALL | 5 ----- 6660 1 file changed, 5 deletions(-) 6661 6662commit 3fb3d594a2b53886adee161b6261e92277f05f7c 6663Author: Lasse Collin <lasse.collin@tukaani.org> 6664Date: 2010-05-10 19:54:52 +0300 6665 6666 Updated THANKS. 6667 6668 THANKS | 1 + 6669 1 file changed, 1 insertion(+) 6670 6671commit 6548e304657e77d3a972053db3c41c5daf591113 6672Author: Lasse Collin <lasse.collin@tukaani.org> 6673Date: 2010-05-10 19:54:15 +0300 6674 6675 Updates to tuklib_physmem and tuklib_cpucores. 6676 6677 Don't use #error to generate compile error, because some 6678 compilers actually don't take it as an error. This fixes 6679 tuklib_physmem on IRIX. 6680 6681 Fix incorrect error check for sysconf() return values. 6682 6683 Add AIX, HP-UX, and Tru64 specific code to detect the 6684 amount RAM. 6685 6686 Add HP-UX specific code to detect the number of CPU cores. 6687 6688 Thanks a lot to Peter O'Gorman for initial patches, 6689 testing, and debugging these fixes. 6690 6691 m4/tuklib_cpucores.m4 | 33 ++++++++++++++++---- 6692 m4/tuklib_physmem.m4 | 72 ++++++++++++++++++++++++++++++++++++++++++-- 6693 src/common/tuklib_cpucores.c | 14 +++++++-- 6694 src/common/tuklib_physmem.c | 33 +++++++++++++++++++- 6695 4 files changed, 141 insertions(+), 11 deletions(-) 6696 6697commit a290cfee3e23f046889c022aa96b4eca2016fdda 6698Author: Lasse Collin <lasse.collin@tukaani.org> 6699Date: 2010-04-12 21:55:56 +0300 6700 6701 Show both elapsed time and estimated remaining time in xz -v. 6702 6703 The extra space for showing both has been taken from the 6704 sizes field. If the sizes grow big, bigger units than MiB 6705 will be used. It makes it slightly difficult to see that 6706 progress is still happening with huge files, but it should 6707 be OK in practice. 6708 6709 Thanks to Trent W. Buck for <http://bugs.debian.org/574583> 6710 and Jonathan Nieder for suggestions how to fix it. 6711 6712 THANKS | 1 + 6713 src/xz/message.c | 86 +++++++++++++++++++++++++------------------------------- 6714 2 files changed, 39 insertions(+), 48 deletions(-) 6715 6716commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e 6717Author: Lasse Collin <lasse.collin@tukaani.org> 6718Date: 2010-03-31 16:47:25 +0300 6719 6720 Add a simple tip to faq.txt about tar and xz. 6721 6722 Thanks to Gilles Espinasse. 6723 6724 THANKS | 1 + 6725 doc/faq.txt | 6 ++++++ 6726 2 files changed, 7 insertions(+) 6727 6728commit c737eec91d200d730aa82662affd6b06ebb0bff0 6729Author: Lasse Collin <lasse.collin@tukaani.org> 6730Date: 2010-03-22 21:03:03 +0200 6731 6732 Updated THANKS. 6733 6734 THANKS | 1 + 6735 1 file changed, 1 insertion(+) 6736 6737commit f4b2b52624b802c786e4e2a8eb6895794dd93b24 6738Author: Lasse Collin <lasse.collin@tukaani.org> 6739Date: 2010-03-07 19:52:25 +0200 6740 6741 Fix xzgrep to not break if filenames have spaces or quotes. 6742 6743 Thanks to someone who reported the bug on IRC. 6744 6745 src/scripts/xzgrep.in | 2 +- 6746 1 file changed, 1 insertion(+), 1 deletion(-) 6747 6748commit cf38da00a140bd3bd65b192390ae5553380fd774 6749Author: Lasse Collin <lasse.collin@tukaani.org> 6750Date: 2010-03-07 13:59:32 +0200 6751 6752 Treat all integer multiplier suffixes as base-2. 6753 6754 Originally both base-2 and base-10 were supported, but since 6755 there seems to be little need for base-10 in XZ Utils, treat 6756 everything as base-2 and also be more relaxed about the case 6757 of the first letter of the suffix. Now xz will accept e.g. 6758 KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The 6759 recommended spelling of the suffixes are still KiB, MiB, and GiB. 6760 6761 src/xz/util.c | 53 +++++++++++++++++++++++------------------------------ 6762 src/xz/xz.1 | 48 ++++++++++++++++++++++++++++-------------------- 6763 src/xzdec/xzdec.c | 42 ++++++++++++++++-------------------------- 6764 3 files changed, 67 insertions(+), 76 deletions(-) 6765 6766commit 00fc1211ae7b687ac912098f4479112059deccbd 6767Author: Lasse Collin <lasse.collin@tukaani.org> 6768Date: 2010-03-07 13:50:23 +0200 6769 6770 Consistently round up the memory usage limit in messages. 6771 6772 It still feels a bit wrong to round 1 byte to 1 MiB but 6773 at least it is now done consistently so that the same 6774 byte value is always rounded the same way to MiB. 6775 6776 src/xz/message.c | 5 +++-- 6777 src/xzdec/xzdec.c | 7 +++++-- 6778 2 files changed, 8 insertions(+), 4 deletions(-) 6779 6780commit 9886d436ff5615fc70eef32ff757b1e934069621 6781Author: Lasse Collin <lasse.collin@tukaani.org> 6782Date: 2010-03-07 13:34:34 +0200 6783 6784 Change the default of --enable-assume-ram from 32 to 128 MiB. 6785 6786 This is to allow files created with "xz -9" to be decompressed 6787 if the amount of RAM cannot be determined. 6788 6789 INSTALL | 5 ++--- 6790 configure.ac | 11 ++++++----- 6791 2 files changed, 8 insertions(+), 8 deletions(-) 6792 6793commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418 6794Author: Lasse Collin <lasse.collin@tukaani.org> 6795Date: 2010-03-07 13:29:28 +0200 6796 6797 Increase the default memory usage limit on "low-memory" systems. 6798 6799 Previously the default limit was always 40 % of RAM. The 6800 new limit is a little bit more complex: 6801 6802 - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used 6803 as the limit. 6804 6805 - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit. 6806 6807 - Otherwise 80 % of RAM is used as the limit. 6808 6809 This should make it possible to decompress files created with 6810 "xz -9" on more systems. Swapping is generally more expected 6811 on systems with less RAM, so higher default limit on them 6812 shouldn't cause too bad surprises in terms of heavy swapping. 6813 Instead, the higher default limit should reduce the number of 6814 bad surprises when it used to prevent decompression of files 6815 created with "xz -9". The DoS prevention system shouldn't be 6816 a DoS itself. 6817 6818 Note that even with the new default limit, a system with 64 MiB 6819 RAM cannot decompress files created with "xz -9" without user 6820 overriding the limit. This should be OK, because if xz is going 6821 to need more memory than the system has RAM, it will run very 6822 very slowly and thus it's good that user has to override the limit 6823 in that case. 6824 6825 src/xz/hardware.c | 43 +++++++++++++++++++++++++++++++------------ 6826 src/xz/xz.1 | 21 +++++++++++++++------ 6827 src/xzdec/xzdec.1 | 8 ++++---- 6828 src/xzdec/xzdec.c | 42 ++++++++++++++++++++++++++++++------------ 6829 4 files changed, 80 insertions(+), 34 deletions(-) 6830 6831commit 5527b7269a997e7f335d60f237a64bbf225d9dc7 6832Author: Lasse Collin <lasse.collin@tukaani.org> 6833Date: 2010-03-06 21:36:19 +0200 6834 6835 Updated THANKS. 6836 6837 THANKS | 1 + 6838 1 file changed, 1 insertion(+) 6839 6840commit d0d1c51aea4351288a7e533cce28cb7f852f6b05 6841Author: Lasse Collin <lasse.collin@tukaani.org> 6842Date: 2010-03-06 21:17:20 +0200 6843 6844 Fix missing initialization in lzma_strm_init(). 6845 6846 With bad luck, lzma_code() could return LZMA_BUF_ERROR 6847 when it shouldn't. 6848 6849 This has been here since the early days of liblzma. 6850 It got triggered by the modifications made to the xz 6851 tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f 6852 but only when decompressing .lzma files. Somehow I managed 6853 to miss testing that with Valgrind earlier. 6854 6855 This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>. 6856 Thanks to Rafał Mużyło for helping to debug it on IRC. 6857 6858 src/liblzma/common/common.c | 1 + 6859 1 file changed, 1 insertion(+) 6860 6861commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea 6862Author: Lasse Collin <lasse.collin@tukaani.org> 6863Date: 2010-02-12 13:16:15 +0200 6864 6865 Collection of language fixes to comments and docs. 6866 6867 Thanks to Jonathan Nieder. 6868 6869 README | 2 +- 6870 configure.ac | 2 +- 6871 doc/faq.txt | 2 +- 6872 extra/7z2lzma/7z2lzma.bash | 2 +- 6873 src/common/tuklib_progname.c | 2 +- 6874 src/common/tuklib_progname.h | 2 +- 6875 src/liblzma/api/lzma/base.h | 8 ++++---- 6876 src/liblzma/api/lzma/bcj.h | 2 +- 6877 src/liblzma/api/lzma/block.h | 2 +- 6878 src/liblzma/api/lzma/check.h | 2 +- 6879 src/liblzma/api/lzma/filter.h | 4 ++-- 6880 src/liblzma/api/lzma/index.h | 6 +++--- 6881 src/liblzma/api/lzma/lzma.h | 2 +- 6882 src/liblzma/api/lzma/version.h | 2 +- 6883 src/liblzma/api/lzma/vli.h | 2 +- 6884 src/liblzma/common/block_header_encoder.c | 2 +- 6885 src/liblzma/common/chunk_size.c | 4 ++-- 6886 src/liblzma/common/common.h | 4 ++-- 6887 src/liblzma/common/filter_buffer_decoder.c | 2 +- 6888 src/liblzma/common/filter_encoder.c | 4 ++-- 6889 src/liblzma/common/index.c | 6 +++--- 6890 src/liblzma/common/index_encoder.c | 2 +- 6891 src/liblzma/common/stream_encoder.c | 2 +- 6892 src/liblzma/common/vli_decoder.c | 2 +- 6893 src/liblzma/lz/lz_encoder.c | 2 +- 6894 src/liblzma/lz/lz_encoder.h | 2 +- 6895 src/liblzma/lzma/lzma2_encoder.c | 2 +- 6896 src/liblzma/lzma/lzma_decoder.c | 4 ++-- 6897 src/liblzma/lzma/lzma_decoder.h | 2 +- 6898 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 6899 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +- 6900 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 6901 src/liblzma/simple/simple_coder.c | 2 +- 6902 src/liblzma/subblock/subblock_encoder.c | 2 +- 6903 src/scripts/xzdiff.1 | 2 +- 6904 src/scripts/xzless.1 | 10 +++++----- 6905 src/xz/coder.c | 2 +- 6906 src/xz/file_io.c | 2 +- 6907 src/xz/main.c | 6 +++--- 6908 src/xz/main.h | 2 +- 6909 src/xz/message.c | 10 +++++----- 6910 src/xz/message.h | 2 +- 6911 src/xz/xz.1 | 16 ++++++++-------- 6912 src/xzdec/lzmadec_w32res.rc | 2 +- 6913 src/xzdec/xzdec_w32res.rc | 2 +- 6914 tests/test_index.c | 2 +- 6915 windows/build.sh | 4 ++-- 6916 47 files changed, 77 insertions(+), 77 deletions(-) 6917 6918commit 4785f2021aa6a23f1caf724fcc823e562584f225 6919Author: Lasse Collin <lasse.collin@tukaani.org> 6920Date: 2010-02-12 12:41:20 +0200 6921 6922 Fix jl -> jb in ASM files. 6923 6924 src/liblzma/check/crc32_x86.S | 2 +- 6925 src/liblzma/check/crc64_x86.S | 4 ++-- 6926 2 files changed, 3 insertions(+), 3 deletions(-) 6927 6928commit 6b50c9429bf85521d355adc61745d06ee017f8c8 6929Author: Lasse Collin <lasse.collin@tukaani.org> 6930Date: 2010-02-12 12:31:22 +0200 6931 6932 Use __APPLE__ instead of __MACH__ in ASM files. 6933 6934 This allows the files to work on HURD. 6935 6936 Thanks to Jonathan Nieder. 6937 6938 src/liblzma/check/crc32_x86.S | 8 ++++---- 6939 src/liblzma/check/crc64_x86.S | 8 ++++---- 6940 2 files changed, 8 insertions(+), 8 deletions(-) 6941 6942commit 6503fde658a5cdbdd907a788865470dd64771601 6943Author: Lasse Collin <lasse.collin@tukaani.org> 6944Date: 2010-02-07 19:48:06 +0200 6945 6946 Subtle change to liblzma Block handling API. 6947 6948 lzma_block.version has to be initialized even for 6949 lzma_block_header_decode(). This way a future version 6950 of liblzma won't allocate memory in a way that an old 6951 application doesn't know how to free it. 6952 6953 The subtlety of this change is that all current apps 6954 using lzma_block_header_decode() will keep working for 6955 now, because the only possible version value is zero, 6956 and lzma_block_header_decode() unconditionally sets the 6957 version to zero even now. Unless fixed, these apps will 6958 break in the future if a new version of the Block options 6959 is ever needed. 6960 6961 src/liblzma/api/lzma/block.h | 39 ++++++++++++++++--------------------- 6962 src/liblzma/common/stream_decoder.c | 3 +++ 6963 2 files changed, 20 insertions(+), 22 deletions(-) 6964 6965commit dd7c3841ff78cb94ce02b0220c6e4748460970f7 6966Author: Lasse Collin <lasse.collin@tukaani.org> 6967Date: 2010-02-02 11:50:11 +0200 6968 6969 Fix wrong assertion. 6970 6971 This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735. 6972 6973 src/xz/main.c | 5 +++-- 6974 1 file changed, 3 insertions(+), 2 deletions(-) 6975 6976commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be 6977Author: Lasse Collin <lasse.collin@tukaani.org> 6978Date: 2010-02-01 22:48:42 +0200 6979 6980 Updated TODO. 6981 6982 TODO | 4 ---- 6983 1 file changed, 4 deletions(-) 6984 6985commit fef6333f52c8801308c3b78acb7942988541d137 6986Author: Lasse Collin <lasse.collin@tukaani.org> 6987Date: 2010-02-01 22:47:54 +0200 6988 6989 Fix typos in comments. 6990 6991 src/xz/list.c | 2 +- 6992 windows/build.sh | 2 +- 6993 2 files changed, 2 insertions(+), 2 deletions(-) 6994 6995commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735 6996Author: Lasse Collin <lasse.collin@tukaani.org> 6997Date: 2010-02-01 22:46:56 +0200 6998 6999 Fix signal handling for --list. 7000 7001 src/xz/main.c | 19 ++++++++++++++----- 7002 1 file changed, 14 insertions(+), 5 deletions(-) 7003 7004commit 82220a149015616f75641ee8bbea415137535b9b 7005Author: Lasse Collin <lasse.collin@tukaani.org> 7006Date: 2010-02-01 11:44:45 +0200 7007 7008 Fix compression of symlinks with --force. 7009 7010 xz --force accepted symlinks, but didn't remove 7011 them after successful compression. Instead, an error 7012 message was displayed. 7013 7014 src/xz/file_io.c | 14 +++++++++++++- 7015 1 file changed, 13 insertions(+), 1 deletion(-) 7016 7017commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e 7018Author: Lasse Collin <lasse.collin@tukaani.org> 7019Date: 2010-02-01 10:20:57 +0200 7020 7021 Fix a comment. 7022 7023 windows/build.sh | 5 ++--- 7024 1 file changed, 2 insertions(+), 3 deletions(-) 7025 7026commit f9dd797a423a148903cf345b4146cb1fe1eab11d 7027Author: Lasse Collin <lasse.collin@tukaani.org> 7028Date: 2010-01-31 23:43:54 +0200 7029 7030 Updated THANKS. 7031 7032 THANKS | 1 + 7033 1 file changed, 1 insertion(+) 7034 7035commit ee5ddb8b28419fe4923ded5c18a50570a762dcab 7036Author: Lasse Collin <lasse.collin@tukaani.org> 7037Date: 2010-01-31 23:41:29 +0200 7038 7039 Updated TODO. 7040 7041 TODO | 17 +++++++++++------ 7042 1 file changed, 11 insertions(+), 6 deletions(-) 7043 7044commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6 7045Author: Lasse Collin <lasse.collin@tukaani.org> 7046Date: 2010-01-31 23:35:04 +0200 7047 7048 Mention TODO in README. 7049 7050 README | 1 + 7051 1 file changed, 1 insertion(+) 7052 7053commit 2901a8e7e82af05675b8cd8758a8ceddb111359f 7054Author: Lasse Collin <lasse.collin@tukaani.org> 7055Date: 2010-01-31 23:31:14 +0200 7056 7057 Updated INSTALL. 7058 7059 INSTALL | 52 ++++++++++++++++++++++++++-------------------------- 7060 1 file changed, 26 insertions(+), 26 deletions(-) 7061 7062commit 8884e16864ba53fb4b58623d7537d7ef30c28e11 7063Author: Lasse Collin <lasse.collin@tukaani.org> 7064Date: 2010-01-31 23:28:51 +0200 7065 7066 Revise the Windows build files. 7067 7068 The old Makefile + config.h was deleted, because it 7069 becomes outdated too easily and building with the 7070 Autotools based build system works fine even on Windows. 7071 7072 windows/build.sh hasn't got much testing, but it should 7073 work to build 32-bit x86 and x86-64 versions of XZ Utils 7074 using MSYS, MinGW or MinGW-w32, and MinGW-w64. 7075 7076 windows/INSTALL-Windows.txt describes what packages are 7077 needed and how to install them. 7078 7079 windows/README-Windows.txt is a readme file for the binary 7080 package that build.sh hopefully builds. 7081 7082 There are no instructions about using Autotools for now, 7083 so those using a git snapshot may want to run 7084 "autoreconf -fi && ./configure && make mydist" on a UN*X 7085 box and then copy the resulting .tar.gz to a Windows. 7086 7087 windows/INSTALL-Windows.txt | 131 ++++++++++++++++++ 7088 windows/Makefile | 320 -------------------------------------------- 7089 windows/README | 155 --------------------- 7090 windows/README-Windows.txt | 115 ++++++++++++++++ 7091 windows/build.sh | 189 ++++++++++++++++++++++++++ 7092 windows/config.h | 170 ----------------------- 7093 6 files changed, 435 insertions(+), 645 deletions(-) 7094 7095commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c 7096Author: Lasse Collin <lasse.collin@tukaani.org> 7097Date: 2010-01-31 19:52:38 +0200 7098 7099 Select the default integrity check type at runtime. 7100 7101 Previously it was set statically to CRC64 or CRC32 7102 depending on options passed to the configure script. 7103 7104 src/xz/coder.c | 19 ++++++++++++++----- 7105 1 file changed, 14 insertions(+), 5 deletions(-) 7106 7107commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1 7108Author: Lasse Collin <lasse.collin@tukaani.org> 7109Date: 2010-01-31 18:17:50 +0200 7110 7111 Improve displaying of the memory usage limit. 7112 7113 src/xz/coder.c | 8 +++----- 7114 src/xz/message.c | 37 +++++++++++++++++++++++++++++-------- 7115 src/xz/util.c | 7 +++++++ 7116 src/xz/util.h | 6 ++++++ 7117 4 files changed, 45 insertions(+), 13 deletions(-) 7118 7119commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2 7120Author: Lasse Collin <lasse.collin@tukaani.org> 7121Date: 2010-01-31 12:53:56 +0200 7122 7123 Don't use uninitialized sigset_t. 7124 7125 If signal handlers haven't been established, then it's 7126 useless to try to block them, especially since the sigset_t 7127 used for blocking hasn't been initialized yet. 7128 7129 src/xz/signals.c | 34 ++++++++++++++++++++++++---------- 7130 1 file changed, 24 insertions(+), 10 deletions(-) 7131 7132commit 231c3c7098f1099a56abb8afece76fc9b8699f05 7133Author: Lasse Collin <lasse.collin@tukaani.org> 7134Date: 2010-01-31 12:01:54 +0200 7135 7136 Delay opening the destionation file and other fixes. 7137 7138 The opening of the destination file is now delayed a little. 7139 The coder is initialized, and if decompressing, the memory 7140 usage of the first Block compared against the memory 7141 usage limit before the destination file is opened. This 7142 means that if --force was used, the old "target" file won't 7143 be deleted so easily when something goes wrong very early. 7144 Thanks to Mark K for the bug report. 7145 7146 The above fix required some changes to progress message 7147 handling. Now there is a separate function for setting and 7148 printing the filename. It is used also in list.c. 7149 7150 list_file() now handles stdin correctly (gives an error). 7151 7152 A useless check for user_abort was removed from file_io.c. 7153 7154 src/xz/coder.c | 64 ++++++++++++++++++++++----------- 7155 src/xz/file_io.c | 107 +++++++++++++++++++++++++++---------------------------- 7156 src/xz/file_io.h | 8 +++-- 7157 src/xz/list.c | 28 +++++---------- 7158 src/xz/message.c | 46 +++++++++++++----------- 7159 src/xz/message.h | 29 ++++++++++----- 7160 6 files changed, 157 insertions(+), 125 deletions(-) 7161 7162commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105 7163Author: Lasse Collin <lasse.collin@tukaani.org> 7164Date: 2010-01-29 22:48:04 +0200 7165 7166 Add list.h to src/xz/Makefile.am. 7167 7168 This should have been already in 7169 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1. 7170 7171 src/xz/Makefile.am | 1 + 7172 1 file changed, 1 insertion(+) 7173 7174commit b4b1a56e0cbd597157858264f5c7189201ac9018 7175Author: Lasse Collin <lasse.collin@tukaani.org> 7176Date: 2010-01-29 13:24:27 +0200 7177 7178 Add lzmainfo.1 to manfiles list to convert to .txt and .pdf. 7179 7180 Makefile.am | 1 + 7181 1 file changed, 1 insertion(+) 7182 7183commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95 7184Author: Lasse Collin <lasse.collin@tukaani.org> 7185Date: 2010-01-27 16:42:11 +0200 7186 7187 Silence two compiler warnings on DOS-like systems. 7188 7189 src/common/tuklib_open_stdxxx.c | 6 +++++- 7190 src/xz/file_io.c | 3 +++ 7191 2 files changed, 8 insertions(+), 1 deletion(-) 7192 7193commit b063cc34a30a4edf109343ff373b2b62b8ca72d3 7194Author: Lasse Collin <lasse.collin@tukaani.org> 7195Date: 2010-01-27 13:31:03 +0200 7196 7197 Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE. 7198 7199 configure.ac | 9 ++------- 7200 src/liblzma/liblzma.pc.in | 2 +- 7201 src/lzmainfo/lzmainfo.c | 2 +- 7202 src/xz/message.c | 2 +- 7203 src/xzdec/xzdec.c | 2 +- 7204 5 files changed, 6 insertions(+), 11 deletions(-) 7205 7206commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f 7207Author: Lasse Collin <lasse.collin@tukaani.org> 7208Date: 2010-01-26 23:37:46 +0200 7209 7210 Add a missing space to an error message. 7211 7212 Thanks to Robert Readman. 7213 7214 src/xz/args.c | 2 +- 7215 1 file changed, 1 insertion(+), 1 deletion(-) 7216 7217commit e5496f9628ff5979392a80421d0b63a4de8015b4 7218Author: Lasse Collin <lasse.collin@tukaani.org> 7219Date: 2010-01-26 22:53:37 +0200 7220 7221 Use past tense in error message in io_unlink(). 7222 7223 Added a note to translators too. 7224 7225 Thanks to Robert Readman. 7226 7227 THANKS | 1 + 7228 src/xz/file_io.c | 14 ++++++++++++-- 7229 2 files changed, 13 insertions(+), 2 deletions(-) 7230 7231commit d9a9800597ea540090e434132c3b511217df0a2b 7232Author: Lasse Collin <lasse.collin@tukaani.org> 7233Date: 2010-01-26 15:42:24 +0200 7234 7235 Fix too small static buffer in util.c. 7236 7237 This was introduced in 7238 0dd6d007669b946543ca939a44243833c79e08f4 two days ago. 7239 7240 src/xz/util.c | 9 ++++----- 7241 1 file changed, 4 insertions(+), 5 deletions(-) 7242 7243commit d0b4bbf5da068503c099cd456e294d7673548cc0 7244Author: Lasse Collin <lasse.collin@tukaani.org> 7245Date: 2010-01-26 14:46:43 +0200 7246 7247 Minor comment fix. 7248 7249 src/xz/main.c | 4 ++-- 7250 1 file changed, 2 insertions(+), 2 deletions(-) 7251 7252commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1 7253Author: Lasse Collin <lasse.collin@tukaani.org> 7254Date: 2010-01-24 23:50:54 +0200 7255 7256 Add initial version of xz --list. 7257 7258 This is a bit rough but should be useful for basic things. 7259 Ideas (with detailed examples) about the output format are 7260 welcome. 7261 7262 The output of --robot --list is not necessarily stable yet, 7263 although I don't currently have any plans about changing it. 7264 7265 The man page hasn't been updated yet. 7266 7267 src/xz/Makefile.am | 1 + 7268 src/xz/list.c | 988 ++++++++++++++++++++++++++++++++++------------------- 7269 src/xz/list.h | 18 + 7270 src/xz/main.c | 19 +- 7271 src/xz/private.h | 1 + 7272 5 files changed, 668 insertions(+), 359 deletions(-) 7273 7274commit df254ce03be016e217b511e7acd5d493f9929ca5 7275Author: Lasse Collin <lasse.collin@tukaani.org> 7276Date: 2010-01-24 22:46:11 +0200 7277 7278 Add io_pread(). 7279 7280 It will be used by --list. 7281 7282 src/xz/file_io.c | 25 +++++++++++++++++++++++++ 7283 src/xz/file_io.h | 17 +++++++++++++++++ 7284 2 files changed, 42 insertions(+) 7285 7286commit ef68dd4a92976276304de2aedfbe34ae91a86abb 7287Author: Lasse Collin <lasse.collin@tukaani.org> 7288Date: 2010-01-24 22:45:14 +0200 7289 7290 Set LC_NUMERIC=C when --robot is used. 7291 7292 It is to ensure that floating point numbers 7293 will always have a dot as the decimal separator. 7294 7295 src/xz/args.c | 4 ++++ 7296 1 file changed, 4 insertions(+) 7297 7298commit 0dd6d007669b946543ca939a44243833c79e08f4 7299Author: Lasse Collin <lasse.collin@tukaani.org> 7300Date: 2010-01-24 16:57:40 +0200 7301 7302 Some improvements to printing sizes in xz. 7303 7304 src/xz/coder.c | 56 +++++++++++++++------------------------ 7305 src/xz/message.c | 80 ++++++++++++++++++-------------------------------------- 7306 src/xz/message.h | 4 +++ 7307 src/xz/util.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ 7308 src/xz/util.h | 44 +++++++++++++++++++++++++++++++ 7309 5 files changed, 166 insertions(+), 90 deletions(-) 7310 7311commit 2a98fdffd68c66371279c211c29153c808ad5c1d 7312Author: Lasse Collin <lasse.collin@tukaani.org> 7313Date: 2010-01-20 22:02:35 +0200 7314 7315 Fix a typo in README. 7316 7317 Thanks to R. Bijker. 7318 7319 README | 2 +- 7320 1 file changed, 1 insertion(+), 1 deletion(-) 7321 7322commit 07a11dad44e041b01dcfc73e8d4e00731158c06d 7323Author: Lasse Collin <lasse.collin@tukaani.org> 7324Date: 2010-01-17 11:59:54 +0200 7325 7326 Updated windows/Makefile. 7327 7328 Thanks to Dan Shechter for the patch. 7329 7330 It is likely that windows/Makefile will be removed 7331 completely, because Autotols based build nowadays 7332 works well with both 32-bit and 64-bit MinGW (I 7333 just need to update the docs). 7334 7335 windows/Makefile | 38 +++++++++++++++++++++++++------------- 7336 windows/config.h | 2 ++ 7337 2 files changed, 27 insertions(+), 13 deletions(-) 7338 7339commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3 7340Author: Lasse Collin <lasse.collin@tukaani.org> 7341Date: 2010-01-15 11:05:11 +0200 7342 7343 Update the xz man page to match the previous two commits. 7344 7345 src/xz/xz.1 | 9 +++------ 7346 1 file changed, 3 insertions(+), 6 deletions(-) 7347 7348commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7 7349Author: Lasse Collin <lasse.collin@tukaani.org> 7350Date: 2010-01-13 19:10:25 +0200 7351 7352 Don't read compressed data from a terminal or write it 7353 to a terminal even if --force is specified. 7354 7355 It just seems more reasonable this way. 7356 7357 The new behavior matches bzip2. The old one matched gzip. 7358 7359 src/xz/main.c | 20 +++++++++----------- 7360 src/xz/util.c | 8 ++++---- 7361 2 files changed, 13 insertions(+), 15 deletions(-) 7362 7363commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4 7364Author: Lasse Collin <lasse.collin@tukaani.org> 7365Date: 2010-01-13 18:12:40 +0200 7366 7367 Don't compress or decompress special files unless writing 7368 to stdout even if --force is used. 7369 7370 --force will still enable compression of symlinks, but only 7371 in case they point to a regular file. 7372 7373 The new way simply seems more reasonable. It matches gzip's 7374 behavior while the old one matched bzip2's behavior. 7375 7376 src/xz/file_io.c | 15 ++++++++++----- 7377 1 file changed, 10 insertions(+), 5 deletions(-) 7378 7379commit cee12aa852ec0902983dc1f153346ef750157fb9 7380Author: Lasse Collin <lasse.collin@tukaani.org> 7381Date: 2010-01-12 16:30:33 +0200 7382 7383 Updated THANKS. 7384 7385 THANKS | 1 + 7386 1 file changed, 1 insertion(+) 7387 7388commit 153c7740c54b3c90129dbd3d6153ac1303c4d605 7389Author: Lasse Collin <lasse.collin@tukaani.org> 7390Date: 2010-01-12 16:18:14 +0200 7391 7392 Add IRIX-specific code to tuklib_physmem and tuklib_cpucores. 7393 7394 This is untested but it will get tested soon and, if needed, 7395 fixed before 5.0.0. 7396 7397 Thanks to Stuart Shelton. 7398 7399 m4/tuklib_cpucores.m4 | 11 +++++++++-- 7400 m4/tuklib_physmem.m4 | 22 +++++++++++++++++++++- 7401 src/common/tuklib_cpucores.c | 6 ++++++ 7402 src/common/tuklib_physmem.c | 19 +++++++++++++++++++ 7403 4 files changed, 55 insertions(+), 3 deletions(-) 7404 7405commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1 7406Author: Lasse Collin <lasse.collin@tukaani.org> 7407Date: 2010-01-01 00:29:10 +0200 7408 7409 Fix _memconfig() functions. 7410 7411 This affects lzma_memusage() and lzma_memlimit_get(). 7412 7413 src/liblzma/api/lzma/index.h | 7 ------- 7414 src/liblzma/common/alone_decoder.c | 11 +++++++---- 7415 src/liblzma/common/index_decoder.c | 10 ++++++---- 7416 src/liblzma/common/stream_decoder.c | 11 +++++++---- 7417 4 files changed, 20 insertions(+), 19 deletions(-) 7418 7419commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691 7420Author: Lasse Collin <lasse.collin@tukaani.org> 7421Date: 2009-12-31 22:45:53 +0200 7422 7423 Revised the Index handling code. 7424 7425 This breaks API and ABI but most apps are not affected 7426 since most apps don't use this part of the API. You will 7427 get a compile error if you are using anything that got 7428 broken. 7429 7430 Summary of changes: 7431 7432 - Ability to store Stream Flags, which are needed 7433 for random-access reading in multi-Stream files. 7434 7435 - Separate function to set size of Stream Padding. 7436 7437 - Iterator structure makes it possible to read the same 7438 lzma_index from multiple threads at the same time. 7439 7440 - A lot faster code to locate Blocks. 7441 7442 - Removed lzma_index_equal() without adding anything 7443 to replace it. I don't know what it should do exactly 7444 with the new features and what actually needs this 7445 function in the first place other than test_index.c, 7446 which now has its own code to compare lzma_indexes. 7447 7448 src/liblzma/api/lzma/index.h | 572 +++++++--- 7449 src/liblzma/common/index.c | 1553 ++++++++++++++++++---------- 7450 src/liblzma/common/index.h | 6 + 7451 src/liblzma/common/index_decoder.c | 12 +- 7452 src/liblzma/common/index_encoder.c | 36 +- 7453 src/liblzma/common/index_encoder.h | 2 +- 7454 src/liblzma/common/stream_buffer_encoder.c | 6 +- 7455 src/liblzma/common/stream_encoder.c | 3 +- 7456 tests/test_index.c | 371 ++++--- 7457 9 files changed, 1703 insertions(+), 858 deletions(-) 7458 7459commit f29997a846e673cb3b8cbd57de47ed313b3978bb 7460Author: Lasse Collin <lasse.collin@tukaani.org> 7461Date: 2009-12-31 21:13:25 +0200 7462 7463 Remove c-format tag in cs.po. 7464 7465 It was fixed in the C code earlier. 7466 7467 po/cs.po | 1 - 7468 1 file changed, 1 deletion(-) 7469 7470commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644 7471Author: Lasse Collin <lasse.collin@tukaani.org> 7472Date: 2009-12-31 21:11:05 +0200 7473 7474 Add missing lzma_nothrow in filter.h. 7475 7476 src/liblzma/api/lzma/filter.h | 4 ++-- 7477 1 file changed, 2 insertions(+), 2 deletions(-) 7478 7479commit b56cb1fc31fa2381f92eefc040df85667048d626 7480Author: Lasse Collin <lasse.collin@tukaani.org> 7481Date: 2009-12-09 18:13:44 +0200 7482 7483 Remove redefinition of _(msgid) macro from lzmainfo.c. 7484 7485 src/lzmainfo/lzmainfo.c | 7 ------- 7486 1 file changed, 7 deletions(-) 7487 7488commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2 7489Author: Jonathan Nieder <jrnieder@gmail.com> 7490Date: 2009-12-08 19:41:57 -0600 7491 7492 update po/.gitignore 7493 7494 Since the *.gmo files are deleted by the maintainer-clean target, 7495 I assume they are not meant to be tracked. 7496 7497 Also add the other files listed in the Makefile’s clean targets 7498 (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they 7499 are not accidentally tracked. Most of these are intermediate 7500 files that would not appear unless a build is interrupted or 7501 fails. 7502 7503 Split the list of untracked files by origin to make it easier to 7504 tell if files are missing in the future. 7505 7506 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 7507 7508 po/.gitignore | 28 ++++++++++++++++++++++------ 7509 1 file changed, 22 insertions(+), 6 deletions(-) 7510 7511commit f7e44c6c11f630519072971b8b07a5729c096c36 7512Author: Lasse Collin <lasse.collin@tukaani.org> 7513Date: 2009-12-09 00:38:55 +0200 7514 7515 Always rely on GCC's auto-import on Windows. 7516 7517 I understood that this is nicer, because then people 7518 don't need to worry about the LZMA_API_STATIC macro. 7519 7520 Thanks to Charles Wilson and Keith Marshall. 7521 7522 src/liblzma/api/lzma.h | 16 +++++++++------- 7523 1 file changed, 9 insertions(+), 7 deletions(-) 7524 7525commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c 7526Author: Lasse Collin <lasse.collin@tukaani.org> 7527Date: 2009-12-07 21:46:53 +0200 7528 7529 Fix file_io.c on DOS-like systems. 7530 7531 The problem was introduced when adding sparse file 7532 support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902. 7533 7534 Thanks to Charles Wilson. 7535 7536 src/xz/file_io.c | 4 ++++ 7537 1 file changed, 4 insertions(+) 7538 7539commit 0696f5d268362221380e039bad48a86e29067c6a 7540Author: Lasse Collin <lasse.collin@tukaani.org> 7541Date: 2009-12-07 20:54:21 +0200 7542 7543 Add Czech translation. 7544 7545 Thanks to Marek Černocký. 7546 7547 Other people planning to translate xz: Note that the 7548 messages are a little bit in flux still. Translations 7549 are still welcome, just be prepared to some extra work 7550 in case there are changes. 7551 7552 THANKS | 1 + 7553 po/LINGUAS | 1 + 7554 po/cs.po | 637 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 7555 3 files changed, 639 insertions(+) 7556 7557commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5 7558Author: Lasse Collin <lasse.collin@tukaani.org> 7559Date: 2009-12-07 20:32:08 +0200 7560 7561 Add a note for translators to add a bug reporting address 7562 for translation bugs. 7563 7564 src/xz/message.c | 4 ++++ 7565 1 file changed, 4 insertions(+) 7566 7567commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37 7568Author: Lasse Collin <lasse.collin@tukaani.org> 7569Date: 2009-12-07 20:07:02 +0200 7570 7571 Prevent xgettext from taking one regular string as a C format string. 7572 7573 Thanks to Marek Černocký. 7574 7575 src/xz/message.c | 2 +- 7576 1 file changed, 1 insertion(+), 1 deletion(-) 7577 7578commit e0c2776b6ffbd2b1900fde353aceac734edc93d7 7579Author: Lasse Collin <lasse.collin@tukaani.org> 7580Date: 2009-11-28 17:45:22 +0200 7581 7582 Remove duplicate code in io_open_dest(). 7583 7584 Fix a missing _() in the error message too. 7585 7586 src/xz/file_io.c | 9 +-------- 7587 1 file changed, 1 insertion(+), 8 deletions(-) 7588 7589commit f057a33c6f7c5992389479f2d4feabf2900ba7ee 7590Author: Lasse Collin <lasse.collin@tukaani.org> 7591Date: 2009-11-26 10:11:23 +0200 7592 7593 Typo fix to sysdefs.h. 7594 7595 Thanks to Jonathan Nieder. 7596 7597 src/common/sysdefs.h | 2 +- 7598 1 file changed, 1 insertion(+), 1 deletion(-) 7599 7600commit 8767b41534eafdf5e742e12190646bf5740b0cdb 7601Author: Lasse Collin <lasse.collin@tukaani.org> 7602Date: 2009-11-26 10:10:36 +0200 7603 7604 Fix a memory leak in test_index.c. 7605 7606 This was introduced in 7607 bd13b04e202b6f495a68eb0766f97085b7c50a06. 7608 7609 Thanks to Jim Meyering for noticing it. 7610 7611 tests/test_index.c | 2 ++ 7612 1 file changed, 2 insertions(+) 7613 7614commit 919fbaff860acdaa4bcd216500a0b1c960a6db92 7615Author: Lasse Collin <lasse.collin@tukaani.org> 7616Date: 2009-11-25 14:22:19 +0200 7617 7618 Add missing error check to coder.c. 7619 7620 With bad luck this could cause a segfault due to 7621 reading (but not writing) past the end of the buffer. 7622 7623 src/xz/coder.c | 20 +++++++++++--------- 7624 1 file changed, 11 insertions(+), 9 deletions(-) 7625 7626commit bd13b04e202b6f495a68eb0766f97085b7c50a06 7627Author: Lasse Collin <lasse.collin@tukaani.org> 7628Date: 2009-11-25 13:04:10 +0200 7629 7630 Fix bugs in lzma_index_read() and lzma_index_cat(). 7631 7632 lzma_index_read() didn't skip over Stream Padding 7633 if it was the first record in the Index. 7634 7635 lzma_index_cat() didn't combine small Indexes correctly. 7636 7637 The test suite was updated to check for these bugs. 7638 7639 These bugs didn't affect the xz command line tool or 7640 most users of liblzma in any way. 7641 7642 src/liblzma/common/index.c | 30 +++++++++++++++++++----------- 7643 tests/test_index.c | 28 +++++++++++++++++++++++++--- 7644 2 files changed, 44 insertions(+), 14 deletions(-) 7645 7646commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa 7647Author: Lasse Collin <lasse.collin@tukaani.org> 7648Date: 2009-11-25 12:52:56 +0200 7649 7650 Index decoder fixes. 7651 7652 The Index decoder code didn't perfectly match the API docs, 7653 which said that *i will be set to point to the decoded Index 7654 only after decoding has succeeded. The docs were a bit unclear 7655 too. 7656 7657 Now the decoder will initially set *i to NULL. *i will be set 7658 to point to the decoded Index once decoding has succeeded. 7659 This simplifies applications too, since it avoids dangling 7660 pointers. 7661 7662 src/liblzma/api/lzma/index.h | 23 ++++++++++++----------- 7663 src/liblzma/common/index_decoder.c | 26 ++++++++++++++++++++------ 7664 2 files changed, 32 insertions(+), 17 deletions(-) 7665 7666commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902 7667Author: Lasse Collin <lasse.collin@tukaani.org> 7668Date: 2009-11-25 11:19:20 +0200 7669 7670 Create sparse files by default when decompressing into 7671 a regular file. 7672 7673 Sparse file creation can be disabled with --no-sparse. 7674 I don't promise yet that the name of this option won't 7675 change before 5.0.0. It's possible that the code, that 7676 checks when it is safe to use sparse output on stdout, 7677 is not good enough, and a more flexible command line 7678 option is needed to configure sparse file handling. 7679 7680 src/xz/args.c | 6 ++ 7681 src/xz/coder.c | 33 ++++---- 7682 src/xz/file_io.c | 243 +++++++++++++++++++++++++++++++++++++++++++++++-------- 7683 src/xz/file_io.h | 34 ++++++-- 7684 src/xz/message.c | 1 + 7685 src/xz/xz.1 | 11 +++ 7686 6 files changed, 272 insertions(+), 56 deletions(-) 7687 7688commit 37de544414fc2dc5039471d1002ebd015eb3e627 7689Author: Lasse Collin <lasse.collin@tukaani.org> 7690Date: 2009-11-22 12:43:06 +0200 7691 7692 Updated THANKS. 7693 7694 THANKS | 1 + 7695 1 file changed, 1 insertion(+) 7696 7697commit f1a28b96c900c658fe016852ff62f6c24d1f50fa 7698Author: Lasse Collin <lasse.collin@tukaani.org> 7699Date: 2009-11-22 12:05:33 +0200 7700 7701 Add missing consts to pointer casts. 7702 7703 src/liblzma/check/crc32_fast.c | 4 ++-- 7704 src/liblzma/check/crc64_fast.c | 5 +++-- 7705 2 files changed, 5 insertions(+), 4 deletions(-) 7706 7707commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef 7708Author: Lasse Collin <lasse.collin@tukaani.org> 7709Date: 2009-11-22 12:00:30 +0200 7710 7711 Enable assembler code only if it is known to work 7712 on that operating system. 7713 7714 I'm too lazy to think how to make a good Autoconf test 7715 for this and it's not that important anyway. 7716 7717 No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64. 7718 Inline assembler (if any) is used if a macro like 7719 __i386__ or __x86_64__ is defined. 7720 7721 configure.ac | 26 ++++++++++++-------------- 7722 1 file changed, 12 insertions(+), 14 deletions(-) 7723 7724commit 0733f4c9994db696420a405810d5f02c79ebc404 7725Author: Lasse Collin <lasse.collin@tukaani.org> 7726Date: 2009-11-22 11:55:03 +0200 7727 7728 Make fastpos.h use tuklib_integer.h instead of bsr.h 7729 when --enable-small has been specified. 7730 7731 src/liblzma/common/Makefile.inc | 1 - 7732 src/liblzma/common/bsr.h | 60 ----------------------------------------- 7733 src/liblzma/lzma/fastpos.h | 5 +--- 7734 3 files changed, 1 insertion(+), 65 deletions(-) 7735 7736commit 7ac3985d891dcc5773543f84cc5bce6c14841b12 7737Author: Lasse Collin <lasse.collin@tukaani.org> 7738Date: 2009-11-22 11:52:30 +0200 7739 7740 Update tuklib_integer.h with bit scan functions. 7741 7742 Thanks to Joachim Henke for the original patch. 7743 7744 src/common/tuklib_integer.h | 189 ++++++++++++++++++++++++++++++++++++++++++-- 7745 1 file changed, 181 insertions(+), 8 deletions(-) 7746 7747commit c74c132f7f79a842c073c66575a4fdb985e4c2e3 7748Author: Lasse Collin <lasse.collin@tukaani.org> 7749Date: 2009-11-20 12:51:19 +0200 7750 7751 Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib, 7752 which now use AC_CACHE_CHECK. Using the cache variable, 7753 configure now warns if there is no method to detect the amount 7754 of RAM and recommends using --enable-assume-ram. 7755 7756 configure.ac | 16 ++++++++++++++++ 7757 m4/tuklib_cpucores.m4 | 31 ++++++++++++++++++------------- 7758 m4/tuklib_physmem.m4 | 50 +++++++++++++++++++++++++++----------------------- 7759 3 files changed, 61 insertions(+), 36 deletions(-) 7760 7761commit d315ca4930ff96e1428c6021c96f209e1abdd83e 7762Author: Lasse Collin <lasse.collin@tukaani.org> 7763Date: 2009-11-16 18:16:45 +0200 7764 7765 Add support for --info-memory and --robot to xz. 7766 7767 Currently --robot works only with --info-memory and 7768 --version. --help and --long-help work too, but --robot 7769 has no effect on them. 7770 7771 Thanks to Jonathan Nieder for the original patches. 7772 7773 src/xz/args.c | 85 +++++++++++++++++++++++++++++++++----------------------- 7774 src/xz/args.h | 1 + 7775 src/xz/main.c | 11 +++++--- 7776 src/xz/message.c | 47 +++++++++++++++++++++++-------- 7777 src/xz/message.h | 4 +++ 7778 src/xz/xz.1 | 40 +++++++++++++++++++++++--- 7779 6 files changed, 133 insertions(+), 55 deletions(-) 7780 7781commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e 7782Author: Lasse Collin <lasse.collin@tukaani.org> 7783Date: 2009-11-15 12:54:45 +0200 7784 7785 Fix wrong indentation caused by incorrect settings 7786 in the text editor. 7787 7788 src/liblzma/lz/lz_decoder.c | 18 +++++++++--------- 7789 src/liblzma/lzma/lzma2_encoder.c | 6 +++--- 7790 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +- 7791 3 files changed, 13 insertions(+), 13 deletions(-) 7792 7793commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4 7794Author: Lasse Collin <lasse.collin@tukaani.org> 7795Date: 2009-11-15 12:40:17 +0200 7796 7797 Add lzma_physmem(). 7798 7799 I had hoped to keep liblzma as purely a compression 7800 library as possible (e.g. file I/O will go into 7801 a different library), but it seems that applications 7802 linking agaisnt liblzma need some way to determine 7803 the memory usage limit, and knowing the amount of RAM 7804 is one reasonable way to help making such decisions. 7805 7806 Thanks to Jonathan Nieder for the original patch. 7807 7808 src/liblzma/Makefile.am | 5 ++-- 7809 src/liblzma/api/Makefile.am | 1 + 7810 src/liblzma/api/lzma.h | 3 +++ 7811 src/liblzma/api/lzma/hardware.h | 51 +++++++++++++++++++++++++++++++++++ 7812 src/liblzma/common/Makefile.inc | 1 + 7813 src/liblzma/common/hardware_physmem.c | 25 +++++++++++++++++ 7814 src/xz/Makefile.am | 1 - 7815 src/xz/hardware.c | 3 +-- 7816 src/xzdec/Makefile.am | 6 ++--- 7817 src/xzdec/xzdec.c | 3 +-- 7818 10 files changed, 88 insertions(+), 11 deletions(-) 7819 7820commit cf39faca59083d38422058c6c97aa757ea7797d0 7821Author: Lasse Collin <lasse.collin@tukaani.org> 7822Date: 2009-11-14 20:21:19 +0200 7823 7824 Updated THANKS. 7825 7826 THANKS | 1 + 7827 1 file changed, 1 insertion(+) 7828 7829commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f 7830Author: Lasse Collin <lasse.collin@tukaani.org> 7831Date: 2009-11-14 20:20:03 +0200 7832 7833 Some updates to xz man page. 7834 7835 src/xz/xz.1 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++----- 7836 1 file changed, 49 insertions(+), 5 deletions(-) 7837 7838commit 19b2674f07f8b588dfaf6638396b4b42866d7e23 7839Author: Lasse Collin <lasse.collin@tukaani.org> 7840Date: 2009-11-14 19:51:03 +0200 7841 7842 Fix description of --memory in --long-help. 7843 7844 src/xz/message.c | 3 +-- 7845 1 file changed, 1 insertion(+), 2 deletions(-) 7846 7847commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8 7848Author: Lasse Collin <lasse.collin@tukaani.org> 7849Date: 2009-11-14 19:45:39 +0200 7850 7851 Update the debug programs so that they compile again. 7852 7853 debug/crc32.c | 1 + 7854 debug/memusage.c | 6 ++++-- 7855 debug/sync_flush.c | 14 +++++++++----- 7856 3 files changed, 14 insertions(+), 7 deletions(-) 7857 7858commit 418d64a32e8144210f98a810738fed5a897e8367 7859Author: Lasse Collin <lasse.collin@tukaani.org> 7860Date: 2009-11-14 18:59:19 +0200 7861 7862 Fix a design error in liblzma API. 7863 7864 Originally the idea was that using LZMA_FULL_FLUSH 7865 with Stream encoder would read the filter chain 7866 from the same array that was used to intialize the 7867 Stream encoder. Since most apps wouldn't use 7868 LZMA_FULL_FLUSH, most apps wouldn't need to keep 7869 the filter chain available after initializing the 7870 Stream encoder. However, due to my mistake, it 7871 actually required keeping the array always available. 7872 7873 Since setting the new filter chain via the array 7874 used at initialization time is not a nice way to do 7875 it for a couple of reasons, this commit ditches it 7876 and introduces lzma_filters_update(). This new function 7877 replaces also the "persistent" flag used by LZMA2 7878 (and to-be-designed Subblock filter), which was also 7879 an ugly thing to do. 7880 7881 Thanks to Alexey Tourbin for reminding me about the problem 7882 that Stream encoder used to require keeping the filter 7883 chain allocated. 7884 7885 src/liblzma/api/lzma/filter.h | 30 +++++++++++++ 7886 src/liblzma/api/lzma/lzma.h | 13 ------ 7887 src/liblzma/common/block_encoder.c | 14 ++++++ 7888 src/liblzma/common/common.c | 20 ++++++++- 7889 src/liblzma/common/common.h | 22 ++++++++++ 7890 src/liblzma/common/easy_encoder.c | 63 ++------------------------- 7891 src/liblzma/common/filter_common.c | 3 ++ 7892 src/liblzma/common/filter_encoder.c | 27 ++++++++++++ 7893 src/liblzma/common/filter_encoder.h | 2 +- 7894 src/liblzma/common/stream_encoder.c | 76 ++++++++++++++++++++++++++++----- 7895 src/liblzma/delta/delta_common.c | 5 +-- 7896 src/liblzma/delta/delta_decoder.c | 3 +- 7897 src/liblzma/delta/delta_encoder.c | 17 +++++++- 7898 src/liblzma/delta/delta_private.h | 2 +- 7899 src/liblzma/lz/lz_encoder.c | 17 ++++++++ 7900 src/liblzma/lz/lz_encoder.h | 4 ++ 7901 src/liblzma/lzma/lzma2_encoder.c | 59 ++++++++++++++----------- 7902 src/liblzma/lzma/lzma_encoder_presets.c | 1 - 7903 src/liblzma/simple/simple_coder.c | 12 ++++++ 7904 src/xz/options.c | 1 - 7905 20 files changed, 273 insertions(+), 118 deletions(-) 7906 7907commit f0bf7634b77263a4dd02b20c71861ab67995da68 7908Author: Lasse Collin <lasse.collin@tukaani.org> 7909Date: 2009-10-17 11:11:58 +0300 7910 7911 Fix wrong function name in the previous commit. 7912 7913 It was meant to be lzma_filters_copy(), not lzma_filters_dup(). 7914 7915 src/liblzma/api/lzma/filter.h | 2 +- 7916 src/liblzma/common/filter_common.c | 2 +- 7917 2 files changed, 2 insertions(+), 2 deletions(-) 7918 7919commit 6d118a0b9def82e96afba7386ec8d7da0b59649f 7920Author: Lasse Collin <lasse.collin@tukaani.org> 7921Date: 2009-10-17 01:47:07 +0300 7922 7923 Add lzma_filters_copy(). 7924 7925 This will be needed internally by liblzma once I fix 7926 a design mistake in the encoder API. This function may 7927 be useful to applications too so it's good to export it. 7928 7929 src/liblzma/api/lzma/filter.h | 31 ++++++++++++++ 7930 src/liblzma/common/filter_common.c | 82 ++++++++++++++++++++++++++++++++++++++ 7931 2 files changed, 113 insertions(+) 7932 7933commit 78e92c18470483e161388e679c1ee556adb3a691 7934Author: Jonathan Nieder <jrnieder@gmail.com> 7935Date: 2009-10-15 20:44:13 -0500 7936 7937 Escape dashes in xzmore.1 7938 7939 A minus sign is larger, easier to see in a printout, and more 7940 likely to use the same glyph as ASCII hyphen-minus in a terminal 7941 than a hyphen. Since broken manual pagers do not find hyphens 7942 when the user searches for a hyphen-minus, minus signs are also 7943 easier to search for. So use minus signs instead of hyphens to 7944 render sample terminal output. 7945 7946 src/scripts/xzmore.1 | 4 ++-- 7947 1 file changed, 2 insertions(+), 2 deletions(-) 7948 7949commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee 7950Author: Lasse Collin <lasse.collin@tukaani.org> 7951Date: 2009-10-16 20:35:39 +0300 7952 7953 Mention --check=none in --long-help. It was already in 7954 the man page though. 7955 7956 Thanks to Jim Meyering for noticing this. 7957 7958 src/xz/message.c | 2 +- 7959 1 file changed, 1 insertion(+), 1 deletion(-) 7960 7961commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24 7962Author: Lasse Collin <lasse.collin@tukaani.org> 7963Date: 2009-10-04 22:57:12 +0300 7964 7965 Use a tuklib module for integer handling. 7966 7967 This replaces bswap.h and integer.h. 7968 7969 The tuklib module uses <byteswap.h> on GNU, 7970 <sys/endian.h> on *BSDs and <sys/byteorder.h> 7971 on Solaris, which may contain optimized code 7972 like inline assembly. 7973 7974 configure.ac | 54 +---- 7975 m4/tuklib_integer.m4 | 74 +++++++ 7976 src/common/bswap.h | 52 ----- 7977 src/common/integer.h | 170 --------------- 7978 src/common/tuklib_config.h | 8 +- 7979 src/common/tuklib_integer.h | 350 ++++++++++++++++++++++++++++++ 7980 src/liblzma/check/check.c | 4 +- 7981 src/liblzma/check/crc32_fast.c | 4 +- 7982 src/liblzma/check/crc32_tablegen.c | 8 +- 7983 src/liblzma/check/crc64_fast.c | 4 +- 7984 src/liblzma/check/crc64_tablegen.c | 8 +- 7985 src/liblzma/check/crc_macros.h | 2 - 7986 src/liblzma/check/sha256.c | 18 +- 7987 src/liblzma/common/alone_encoder.c | 2 +- 7988 src/liblzma/common/block_header_decoder.c | 2 +- 7989 src/liblzma/common/block_header_encoder.c | 2 +- 7990 src/liblzma/common/common.h | 2 +- 7991 src/liblzma/common/stream_flags_decoder.c | 6 +- 7992 src/liblzma/common/stream_flags_encoder.c | 6 +- 7993 src/liblzma/lz/lz_encoder_hash.h | 2 +- 7994 src/liblzma/lzma/lzma_decoder.c | 2 +- 7995 src/liblzma/lzma/lzma_encoder.c | 2 +- 7996 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 7997 src/liblzma/simple/simple_decoder.c | 2 +- 7998 src/liblzma/simple/simple_encoder.c | 2 +- 7999 tests/test_block_header.c | 4 +- 8000 tests/test_stream_flags.c | 6 +- 8001 tests/tests.h | 2 +- 8002 28 files changed, 467 insertions(+), 333 deletions(-) 8003 8004commit 29fd321033276261b87da7be5223db33d879a4c7 8005Author: Lasse Collin <lasse.collin@tukaani.org> 8006Date: 2009-10-02 14:35:56 +0300 8007 8008 Add support for --enable-assume-ram=SIZE. 8009 8010 INSTALL | 16 ++++++++++++++++ 8011 configure.ac | 24 ++++++++++++++++++++++++ 8012 src/xz/hardware.c | 7 +++---- 8013 src/xzdec/xzdec.c | 5 +++-- 8014 4 files changed, 46 insertions(+), 6 deletions(-) 8015 8016commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25 8017Author: Lasse Collin <lasse.collin@tukaani.org> 8018Date: 2009-10-02 11:28:17 +0300 8019 8020 Use unaligned access (if possible) on both endiannesses 8021 in lz_encoder_hash.h. 8022 8023 src/liblzma/lz/lz_encoder_hash.h | 4 ++-- 8024 1 file changed, 2 insertions(+), 2 deletions(-) 8025 8026commit c5f68b5cc79085a87f950fea53843e27f328068e 8027Author: Lasse Collin <lasse.collin@tukaani.org> 8028Date: 2009-10-02 11:03:26 +0300 8029 8030 Make liblzma produce the same output on both endiannesses. 8031 8032 Seems that it is a problem in some cases if the same 8033 version of XZ Utils produces different output on different 8034 endiannesses, so this commit fixes that problem. The output 8035 will still vary between different XZ Utils versions, but I 8036 cannot avoid that for now. 8037 8038 This commit bloatens the code on big endian systems by 1 KiB, 8039 which should be OK since liblzma is bloated already. ;-) 8040 8041 src/liblzma/check/crc32_tablegen.c | 30 +++++++++++++++ 8042 src/liblzma/lz/Makefile.inc | 1 + 8043 src/liblzma/lz/lz_encoder.c | 7 +++- 8044 src/liblzma/lz/lz_encoder_hash.h | 35 +++++++++++------ 8045 src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++++ 8046 src/liblzma/lz/lz_encoder_mf.c | 1 - 8047 6 files changed, 128 insertions(+), 14 deletions(-) 8048 8049commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a 8050Author: Mike Frysinger <vapier@gentoo.org> 8051Date: 2009-09-26 12:51:50 -0400 8052 8053 add lzmainfo to gitignore 8054 8055 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 8056 8057 .gitignore | 2 ++ 8058 1 file changed, 2 insertions(+) 8059 8060commit 188a1dcd0cc7867810ed3a55c598d0680922c63b 8061Author: Lasse Collin <lasse.collin@tukaani.org> 8062Date: 2009-09-27 11:53:36 +0300 8063 8064 Updated THANKS. 8065 8066 THANKS | 1 + 8067 1 file changed, 1 insertion(+) 8068 8069commit db9119b9181b307e7ac5d2bae82444d04b902b59 8070Author: Lasse Collin <lasse.collin@tukaani.org> 8071Date: 2009-09-27 11:48:54 +0300 8072 8073 Work around a bug in Interix header files. 8074 8075 Thanks to Markus Duft for the patch. 8076 8077 src/common/sysdefs.h | 6 ++++++ 8078 1 file changed, 6 insertions(+) 8079 8080commit b3d105e69786a45963176fd2193abe75e05ba738 8081Author: Lasse Collin <lasse.collin@tukaani.org> 8082Date: 2009-09-24 17:50:17 +0300 8083 8084 Fix an error in OpenVMS-specific code. 8085 8086 Thanks to Jouk Jansen. 8087 8088 src/xz/file_io.c | 2 +- 8089 1 file changed, 1 insertion(+), 1 deletion(-) 8090 8091commit 5e000ff00d4d01e559397b49eb648ad3f159d496 8092Author: Lasse Collin <lasse.collin@tukaani.org> 8093Date: 2009-09-22 18:59:56 +0300 8094 8095 Added OpenVMS-specific information to INSTALL. 8096 8097 INSTALL | 11 +++++++++++ 8098 1 file changed, 11 insertions(+) 8099 8100commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4 8101Author: Lasse Collin <lasse.collin@tukaani.org> 8102Date: 2009-09-22 14:03:02 +0300 8103 8104 Better fixes for OpenVMS support. 8105 8106 Thanks to Jouk Jansen. 8107 8108 src/xz/file_io.c | 19 ++++++++++++++++--- 8109 1 file changed, 16 insertions(+), 3 deletions(-) 8110 8111commit 4c3630ec4179fe9265407a35c4db1374ffc82372 8112Author: Lasse Collin <lasse.collin@tukaani.org> 8113Date: 2009-09-22 13:40:19 +0300 8114 8115 Avoid non-standard preprocessor construct. 8116 8117 Thanks to Jouk Jansen. 8118 8119 src/common/tuklib_common.h | 11 +++++++---- 8120 1 file changed, 7 insertions(+), 4 deletions(-) 8121 8122commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9 8123Author: Lasse Collin <lasse.collin@tukaani.org> 8124Date: 2009-09-21 19:50:09 +0300 8125 8126 Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin. 8127 8128 Thanks to Charles Wilson. 8129 8130 src/common/tuklib_common.h | 3 ++- 8131 1 file changed, 2 insertions(+), 1 deletion(-) 8132 8133commit e599bba4216c0edb8cc8f40adad3a6dba88685f4 8134Author: Lasse Collin <lasse.collin@tukaani.org> 8135Date: 2009-09-19 09:47:30 +0300 8136 8137 Various changes. 8138 8139 Separate a few reusable components from XZ Utils specific 8140 code. The reusable code is now in "tuklib" modules. A few 8141 more could be separated still, e.g. bswap.h. 8142 8143 Fix some bugs in lzmainfo. 8144 8145 Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol 8146 for help. 8147 8148 Add OpenVMS support into physmem. Add a few #ifdefs to ease 8149 building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the 8150 original patch. 8151 8152 THANKS | 1 + 8153 configure.ac | 12 +-- 8154 m4/lc_physmem.m4 | 84 --------------- 8155 m4/tuklib_common.m4 | 22 ++++ 8156 m4/{lc_cpucores.m4 => tuklib_cpucores.m4} | 83 ++++++++------ 8157 m4/tuklib_physmem.m4 | 119 +++++++++++++++++++++ 8158 m4/tuklib_progname.m4 | 25 +++++ 8159 src/common/sysdefs.h | 4 - 8160 src/common/tuklib_common.h | 67 ++++++++++++ 8161 src/common/tuklib_config.h | 1 + 8162 src/common/{cpucores.h => tuklib_cpucores.c} | 39 +++---- 8163 src/common/tuklib_cpucores.h | 23 ++++ 8164 src/common/tuklib_exit.c | 57 ++++++++++ 8165 src/common/tuklib_exit.h | 25 +++++ 8166 src/common/tuklib_gettext.h | 44 ++++++++ 8167 src/common/{open_stdxxx.h => tuklib_open_stdxxx.c} | 24 +++-- 8168 src/common/tuklib_open_stdxxx.h | 23 ++++ 8169 src/common/{physmem.h => tuklib_physmem.c} | 58 +++++----- 8170 src/common/tuklib_physmem.h | 28 +++++ 8171 src/common/tuklib_progname.c | 50 +++++++++ 8172 src/common/tuklib_progname.h | 32 ++++++ 8173 src/lzmainfo/Makefile.am | 5 +- 8174 src/lzmainfo/lzmainfo.c | 65 ++++------- 8175 src/xz/Makefile.am | 7 +- 8176 src/xz/args.c | 8 +- 8177 src/xz/file_io.c | 43 ++++---- 8178 src/xz/hardware.c | 8 +- 8179 src/xz/main.c | 100 ++++------------- 8180 src/xz/main.h | 7 -- 8181 src/xz/message.c | 30 +++--- 8182 src/xz/message.h | 8 +- 8183 src/xz/private.h | 11 +- 8184 src/xz/signals.c | 2 + 8185 src/xz/signals.h | 17 ++- 8186 src/xz/suffix.c | 2 +- 8187 src/xzdec/Makefile.am | 13 ++- 8188 src/xzdec/xzdec.c | 55 +++------- 8189 37 files changed, 768 insertions(+), 434 deletions(-) 8190 8191commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef 8192Author: Lasse Collin <lasse.collin@tukaani.org> 8193Date: 2009-09-15 21:07:23 +0300 8194 8195 Fix incorrect use of "restrict". 8196 8197 src/liblzma/api/lzma/vli.h | 4 ++-- 8198 src/liblzma/common/vli_decoder.c | 2 +- 8199 src/liblzma/common/vli_encoder.c | 2 +- 8200 3 files changed, 4 insertions(+), 4 deletions(-) 8201 8202commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c 8203Author: Lasse Collin <lasse.collin@tukaani.org> 8204Date: 2009-09-12 14:09:17 +0300 8205 8206 Fix GCC version check for nothrow attribute. 8207 8208 src/liblzma/api/lzma.h | 2 +- 8209 1 file changed, 1 insertion(+), 1 deletion(-) 8210 8211commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224 8212Author: Lasse Collin <lasse.collin@tukaani.org> 8213Date: 2009-09-12 14:08:15 +0300 8214 8215 Updated THANKS. 8216 8217 THANKS | 1 + 8218 1 file changed, 1 insertion(+) 8219 8220commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac 8221Author: Lasse Collin <lasse.collin@tukaani.org> 8222Date: 2009-09-12 14:07:36 +0300 8223 8224 A few grammar fixes. 8225 8226 Thanks to Christian Weisgerber for pointing out some of these. 8227 8228 src/liblzma/api/lzma.h | 4 ++-- 8229 src/liblzma/api/lzma/vli.h | 4 ++-- 8230 src/liblzma/common/block_header_encoder.c | 2 +- 8231 src/liblzma/common/filter_common.c | 2 +- 8232 src/liblzma/lz/lz_encoder.h | 10 +++++----- 8233 src/xz/message.c | 22 +++++++++++----------- 8234 src/xzdec/xzdec.c | 2 +- 8235 7 files changed, 23 insertions(+), 23 deletions(-) 8236 8237commit 8905a33daadcd2d6557c83c81c490b827d566c94 8238Author: Lasse Collin <lasse.collin@tukaani.org> 8239Date: 2009-09-11 17:08:15 +0300 8240 8241 Updated THANKS. 8242 8243 THANKS | 1 + 8244 1 file changed, 1 insertion(+) 8245 8246commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9 8247Author: Lasse Collin <lasse.collin@tukaani.org> 8248Date: 2009-09-11 17:06:32 +0300 8249 8250 Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors. 8251 8252 dos/config.h | 3 +++ 8253 windows/config.h | 3 +++ 8254 2 files changed, 6 insertions(+) 8255 8256commit 221be761f467da76875247bc02d7a1716682075d 8257Author: Lasse Collin <lasse.collin@tukaani.org> 8258Date: 2009-09-11 10:24:09 +0300 8259 8260 Use $(LN_EXEEXT) in symlinks to executables. 8261 8262 This fixes "make install" on operating systems using 8263 a suffix for executables. 8264 8265 Cygwin is treated specially. The symlink names won't have 8266 .exe suffix even though the executables themselves have. 8267 Thanks to Charles Wilson. 8268 8269 configure.ac | 9 +++++++++ 8270 src/xz/Makefile.am | 4 ++-- 8271 2 files changed, 11 insertions(+), 2 deletions(-) 8272 8273commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c 8274Author: Lasse Collin <lasse.collin@tukaani.org> 8275Date: 2009-09-11 09:25:09 +0300 8276 8277 Fix a couple of warnings. 8278 8279 src/liblzma/common/stream_decoder.c | 2 +- 8280 src/liblzma/lz/lz_encoder.c | 5 +---- 8281 src/liblzma/lzma/lzma_encoder.c | 2 +- 8282 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++---- 8283 tests/tests.h | 2 +- 8284 5 files changed, 8 insertions(+), 11 deletions(-) 8285 8286commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4 8287Author: Lasse Collin <lasse.collin@tukaani.org> 8288Date: 2009-09-05 18:39:21 +0300 8289 8290 Add OS/2-specific code to physmem.h. 8291 8292 Also move DJGPP-specific code near the code meant 8293 for other DOS-like systems. 8294 8295 src/common/physmem.h | 32 +++++++++++++++++++++----------- 8296 1 file changed, 21 insertions(+), 11 deletions(-) 8297 8298commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740 8299Author: Lasse Collin <lasse.collin@tukaani.org> 8300Date: 2009-09-05 01:21:15 +0300 8301 8302 Updated THANKS. 8303 8304 THANKS | 2 ++ 8305 1 file changed, 2 insertions(+) 8306 8307commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071 8308Author: Lasse Collin <lasse.collin@tukaani.org> 8309Date: 2009-09-05 01:20:29 +0300 8310 8311 Use sysctl() != -1 instead of !sysctl() to check if 8312 the function call succeeded. 8313 8314 NetBSD 4.0 returns positive values on success, but 8315 NetBSD Current and FreeBSD return zero. OpenBSD's 8316 man page doesn't tell what sysctl() returns on 8317 success. All these BSDs return -1 on error. 8318 8319 Thanks to Robert Elz and Thomas Klausner. 8320 8321 src/common/cpucores.h | 2 +- 8322 src/common/physmem.h | 2 +- 8323 2 files changed, 2 insertions(+), 2 deletions(-) 8324 8325commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32 8326Author: Lasse Collin <lasse.collin@tukaani.org> 8327Date: 2009-09-02 09:43:51 +0300 8328 8329 Mention in INSTALL that --enable-small doesn't modify CFLAGS. 8330 8331 INSTALL | 4 ++++ 8332 1 file changed, 4 insertions(+) 8333 8334commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc 8335Author: Lasse Collin <lasse.collin@tukaani.org> 8336Date: 2009-09-01 20:40:01 +0300 8337 8338 Refactored option parsing. 8339 8340 src/xz/options.c | 70 ++++++++++++++++++++++++++++---------------------------- 8341 1 file changed, 35 insertions(+), 35 deletions(-) 8342 8343commit 25adaaa56e2e51a47a910a8d73452414619a2e53 8344Author: Lasse Collin <lasse.collin@tukaani.org> 8345Date: 2009-09-01 20:23:30 +0300 8346 8347 Fix options parsing bug in xz. 8348 8349 xz used to reject "xz --lzma2=pb=2," while 8350 "xz --lzma2=pb=2,," worked. Now both work. 8351 8352 src/xz/options.c | 6 ++---- 8353 1 file changed, 2 insertions(+), 4 deletions(-) 8354 8355commit 5f6dddc6c911df02ba660564e78e6de80947c947 8356Author: Lasse Collin <lasse.collin@tukaani.org> 8357Date: 2009-09-01 20:20:19 +0300 8358 8359 Updated TODO. 8360 8361 TODO | 3 +++ 8362 1 file changed, 3 insertions(+) 8363 8364commit 655457b9ada5ec7db398c5392e41290f3f332ea8 8365Author: Lasse Collin <lasse.collin@tukaani.org> 8366Date: 2009-08-31 21:59:25 +0300 8367 8368 Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 8369 and use a fix that works on all systems using 8370 GNU assembler. 8371 8372 Maybe the assembler code is used e.g. on Solaris x86 8373 but let's worry about it if this doesn't work on it. 8374 8375 src/liblzma/check/crc32_x86.S | 7 ++----- 8376 src/liblzma/check/crc64_x86.S | 7 ++----- 8377 2 files changed, 4 insertions(+), 10 deletions(-) 8378 8379commit 162189c3477953805a28f96d3a75cb9ab9417928 8380Author: Lasse Collin <lasse.collin@tukaani.org> 8381Date: 2009-08-30 17:29:19 +0300 8382 8383 Updated THANKS. 8384 8385 THANKS | 1 + 8386 1 file changed, 1 insertion(+) 8387 8388commit 2331f5f97af3e5897e23da45d9df3d664099c7f8 8389Author: Lasse Collin <lasse.collin@tukaani.org> 8390Date: 2009-08-30 17:28:52 +0300 8391 8392 Add more OS/2 specific info to INSTALL. 8393 8394 INSTALL | 5 +++++ 8395 1 file changed, 5 insertions(+) 8396 8397commit 94c66b3297b3ad307eee93cf6b160e3c43997f11 8398Author: Lasse Collin <lasse.collin@tukaani.org> 8399Date: 2009-08-29 14:43:52 +0300 8400 8401 Use even more hackish way to support thousand separators. 8402 8403 Seems that in addition on Windows and DOS, also OpenBSD 8404 lacks support for %'d style printf() format strings. 8405 So far that is the only modern POSIX-like system I know 8406 with this problem, but after this hack, the thousand 8407 separator shouldn't be a problem on any system. 8408 8409 Maybe testing if a format string like %'d produces 8410 reasonable output is invoking undefined behavior on some 8411 systems, but so far all the problematic systems I've tried 8412 just print the raw format string (e.g. %'d prints 'd). 8413 8414 Maybe Autoconf test would have been better, but this 8415 hack works also for cross-compilation, and avoids 8416 recompilation in case the system libc starts to support 8417 the thousand separator. 8418 8419 src/xz/util.c | 36 +++++++++++++++++++++++++----------- 8420 1 file changed, 25 insertions(+), 11 deletions(-) 8421 8422commit 3432e9c6aab851da1227b63dce645d7f190c04d8 8423Author: Lasse Collin <lasse.collin@tukaani.org> 8424Date: 2009-08-29 13:42:56 +0300 8425 8426 Updated THANKS. 8427 8428 THANKS | 3 +++ 8429 1 file changed, 3 insertions(+) 8430 8431commit 27414daadf5727e8ab942374b5ec1c8990122878 8432Author: Lasse Collin <lasse.collin@tukaani.org> 8433Date: 2009-08-29 13:39:21 +0300 8434 8435 Fix sysctl() usage. 8436 8437 This fixes build on *BSDs and Darwin. 8438 8439 Thanks to Jukka Salmi for the patches. 8440 Richard Koch reported the problem too. 8441 8442 m4/lc_cpucores.m4 | 2 +- 8443 m4/lc_physmem.m4 | 2 +- 8444 src/common/cpucores.h | 2 +- 8445 src/common/physmem.h | 2 +- 8446 4 files changed, 4 insertions(+), 4 deletions(-) 8447 8448commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 8449Author: Lasse Collin <lasse.collin@tukaani.org> 8450Date: 2009-08-29 13:35:23 +0300 8451 8452 Fix x86 assembler on GCC 3. 8453 8454 Thanks to Karl Berry. 8455 8456 src/liblzma/check/crc32_x86.S | 7 +++++-- 8457 src/liblzma/check/crc64_x86.S | 7 +++++-- 8458 2 files changed, 10 insertions(+), 4 deletions(-) 8459 8460commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8 8461Author: Lasse Collin <lasse.collin@tukaani.org> 8462Date: 2009-08-27 18:36:59 +0300 8463 8464 "make dist" fixes 8465 8466 Makefile.am | 13 ++++++------- 8467 1 file changed, 6 insertions(+), 7 deletions(-) 8468 8469commit c8c184db1c95bf70f78256ec6237845a57f342af 8470Author: Lasse Collin <lasse.collin@tukaani.org> 8471Date: 2009-08-27 17:08:33 +0300 8472 8473 Update xz man page date. 8474 8475 src/xz/xz.1 | 2 +- 8476 1 file changed, 1 insertion(+), 1 deletion(-) 8477 8478commit 9756fce565e98b8fa5fe6ead296d84e7601ec254 8479Author: Lasse Collin <lasse.collin@tukaani.org> 8480Date: 2009-08-27 17:00:22 +0300 8481 8482 Fix the debug directory. 8483 8484 6a2eb54092fc625d59921a607ff68cd1a90aa898 and 8485 71f18e8a066a01dda0c8e5508b135ef104e43e4c required 8486 some changes that weren't applied in debug. 8487 8488 debug/Makefile.am | 5 +++-- 8489 debug/full_flush.c | 1 + 8490 debug/known_sizes.c | 1 + 8491 debug/memusage.c | 1 + 8492 debug/sync_flush.c | 1 + 8493 5 files changed, 7 insertions(+), 2 deletions(-) 8494 8495commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea 8496Author: Lasse Collin <lasse.collin@tukaani.org> 8497Date: 2009-08-27 16:36:40 +0300 8498 8499 Add missing files to EXTRA_DIST. 8500 8501 Makefile.am | 11 +++++++---- 8502 1 file changed, 7 insertions(+), 4 deletions(-) 8503 8504commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d 8505Author: Lasse Collin <lasse.collin@tukaani.org> 8506Date: 2009-08-27 16:21:22 +0300 8507 8508 Bumped version to 4.999.9beta. 8509 8510 src/liblzma/api/lzma/version.h | 2 +- 8511 1 file changed, 1 insertion(+), 1 deletion(-) 8512 8513commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4 8514Author: Lasse Collin <lasse.collin@tukaani.org> 8515Date: 2009-08-27 16:17:47 +0300 8516 8517 Updated THANKS. 8518 8519 THANKS | 2 ++ 8520 1 file changed, 2 insertions(+) 8521 8522commit c29e76c0f910fca0a90a50b78d337f6c32623e9d 8523Author: Lasse Collin <lasse.collin@tukaani.org> 8524Date: 2009-08-27 16:12:52 +0300 8525 8526 .xz file format specification 1.0.4 (probably). 8527 8528 Thanks to Christian von Roques, Peter Lawler, 8529 and Jim Meyering for the fixes. 8530 8531 doc/xz-file-format.txt | 26 +++++++++++++++----------- 8532 1 file changed, 15 insertions(+), 11 deletions(-) 8533 8534commit 696d7ee3953beaf4f0ed18e78917ccf300431966 8535Author: Lasse Collin <lasse.collin@tukaani.org> 8536Date: 2009-08-27 15:43:54 +0300 8537 8538 Require GNU libtool 2.2. 8539 8540 configure.ac | 13 +++---------- 8541 1 file changed, 3 insertions(+), 10 deletions(-) 8542 8543commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d 8544Author: Lasse Collin <lasse.collin@tukaani.org> 8545Date: 2009-08-27 15:34:45 +0300 8546 8547 Add "dos" to EXTRA_DIST. 8548 8549 Makefile.am | 1 + 8550 1 file changed, 1 insertion(+) 8551 8552commit 35b29e4424ced5a3ababf132283e519080c7b298 8553Author: Lasse Collin <lasse.collin@tukaani.org> 8554Date: 2009-08-27 15:23:27 +0300 8555 8556 Updated TODO. 8557 8558 TODO | 6 ++++++ 8559 1 file changed, 6 insertions(+) 8560 8561commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea 8562Author: Lasse Collin <lasse.collin@tukaani.org> 8563Date: 2009-08-27 15:17:00 +0300 8564 8565 Some xz man page improvements. 8566 8567 src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++++------------- 8568 1 file changed, 62 insertions(+), 16 deletions(-) 8569 8570commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d 8571Author: Lasse Collin <lasse.collin@tukaani.org> 8572Date: 2009-08-27 10:41:01 +0300 8573 8574 Removed doc/bugs.txt. 8575 8576 doc/bugs.txt | 46 ---------------------------------------------- 8577 1 file changed, 46 deletions(-) 8578 8579commit d88c4072b36d3a76f839185799fb1d91037a1b81 8580Author: Lasse Collin <lasse.collin@tukaani.org> 8581Date: 2009-08-27 10:40:25 +0300 8582 8583 Updated README. 8584 8585 It now includes bug reporting instructions/tips. 8586 8587 README | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 8588 1 file changed, 55 insertions(+), 10 deletions(-) 8589 8590commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e 8591Author: Lasse Collin <lasse.collin@tukaani.org> 8592Date: 2009-08-27 10:21:18 +0300 8593 8594 Fix a typo in FAQ. 8595 8596 Thanks to Jim Meyering. 8597 8598 (From now on, I try to always remember to put 8599 the relevant thanks to commit messages.) 8600 8601 doc/faq.txt | 2 +- 8602 1 file changed, 1 insertion(+), 1 deletion(-) 8603 8604commit 3e2ba8b58585743e59251e69ad2783eb08357079 8605Author: Lasse Collin <lasse.collin@tukaani.org> 8606Date: 2009-08-27 10:13:46 +0300 8607 8608 Updates to liblzma API headers. 8609 8610 Added lzma_nothrow for every function. It adds 8611 throw() when the header is used in C++ code. 8612 8613 Some lzma_attrs were added or removed. 8614 8615 Lots of comments were improved. 8616 8617 src/liblzma/api/lzma.h | 20 ++++++++ 8618 src/liblzma/api/lzma/base.h | 48 +++++++++--------- 8619 src/liblzma/api/lzma/block.h | 38 ++++++++------- 8620 src/liblzma/api/lzma/check.h | 22 +++++---- 8621 src/liblzma/api/lzma/container.h | 36 ++++++++------ 8622 src/liblzma/api/lzma/filter.h | 81 +++++++++++++++++++------------ 8623 src/liblzma/api/lzma/index.h | 97 ++++++++++++++++++++++--------------- 8624 src/liblzma/api/lzma/index_hash.h | 14 ++++-- 8625 src/liblzma/api/lzma/lzma.h | 87 +++++++++++++++++---------------- 8626 src/liblzma/api/lzma/stream_flags.h | 12 ++--- 8627 src/liblzma/api/lzma/version.h | 10 ++-- 8628 src/liblzma/api/lzma/vli.h | 7 +-- 8629 12 files changed, 275 insertions(+), 197 deletions(-) 8630 8631commit 8e8ebc17c535a1f8846718059b48417409c37050 8632Author: Lasse Collin <lasse.collin@tukaani.org> 8633Date: 2009-08-18 00:30:09 +0300 8634 8635 Install faq.txt. 8636 8637 Makefile.am | 1 + 8638 1 file changed, 1 insertion(+) 8639 8640commit b198e770a146e4a41f91a93f0b233713f2515848 8641Author: Lasse Collin <lasse.collin@tukaani.org> 8642Date: 2009-08-18 00:26:48 +0300 8643 8644 Updated faq.txt. 8645 8646 Some questions worth answering were removed, because I 8647 currently don't have good up to date answers to them. 8648 8649 doc/faq.txt | 239 +++++++++++++++++++----------------------------------------- 8650 1 file changed, 73 insertions(+), 166 deletions(-) 8651 8652commit fe111a25cd788d31b581996e4533910388a7f0a9 8653Author: Lasse Collin <lasse.collin@tukaani.org> 8654Date: 2009-08-17 22:45:50 +0300 8655 8656 Some xz man changes. 8657 8658 src/xz/xz.1 | 88 ++++++++++++++++++++++++++++++------------------------------- 8659 1 file changed, 43 insertions(+), 45 deletions(-) 8660 8661commit 10242a21e9abda0c5c6a03501703cc40b8a699a5 8662Author: Lasse Collin <lasse.collin@tukaani.org> 8663Date: 2009-08-16 22:15:42 +0300 8664 8665 Updated THANKS. 8666 8667 THANKS | 1 + 8668 1 file changed, 1 insertion(+) 8669 8670commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d 8671Author: Lasse Collin <lasse.collin@tukaani.org> 8672Date: 2009-08-16 22:15:13 +0300 8673 8674 Fix data corruption in LZ/LZMA2 encoder. 8675 8676 Thanks to Jonathan Stott for the bug report. 8677 8678 src/liblzma/lz/lz_encoder.h | 2 +- 8679 1 file changed, 1 insertion(+), 1 deletion(-) 8680 8681commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a 8682Author: Lasse Collin <lasse.collin@tukaani.org> 8683Date: 2009-08-13 15:15:37 +0300 8684 8685 Updated INSTALL and PACKAGERS to match the changes 8686 made in --enable-dynamic. 8687 8688 INSTALL | 20 ++++++++++++++++---- 8689 PACKAGERS | 11 ++++++----- 8690 2 files changed, 22 insertions(+), 9 deletions(-) 8691 8692commit 8238c4b2402f952c4e492e5b778aa272e57b6705 8693Author: Lasse Collin <lasse.collin@tukaani.org> 8694Date: 2009-08-13 15:03:46 +0300 8695 8696 Link lzmainfo against shared liblzma by default. 8697 8698 src/lzmainfo/Makefile.am | 4 ++-- 8699 1 file changed, 2 insertions(+), 2 deletions(-) 8700 8701commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c 8702Author: Lasse Collin <lasse.collin@tukaani.org> 8703Date: 2009-08-13 15:00:21 +0300 8704 8705 Make --enable-dynamic a tristate option. 8706 8707 Some programs will by default be linked against static 8708 liblzma and some against shared liblzma. --enable-dynamic 8709 now allows overriding the default to both directions 8710 (all dynamic or all static) even when building both 8711 shared and static liblzma. 8712 8713 This is quite messy compared to how simple thing it is supposed 8714 to be. The complexity is mostly due to Windows support. 8715 8716 configure.ac | 77 ++++++++++++++++++++++++++++++++++++++++++++---------------- 8717 1 file changed, 57 insertions(+), 20 deletions(-) 8718 8719commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61 8720Author: Lasse Collin <lasse.collin@tukaani.org> 8721Date: 2009-08-13 12:56:47 +0300 8722 8723 Fix xz Makefile.am for the man page. 8724 8725 install-exec-hook -> install-data-hook 8726 8727 src/xz/Makefile.am | 2 ++ 8728 1 file changed, 2 insertions(+) 8729 8730commit e51b4e49e800bd84e6d589dca2964d3985e88139 8731Author: Lasse Collin <lasse.collin@tukaani.org> 8732Date: 2009-08-13 12:55:45 +0300 8733 8734 Add lzmainfo for backward compatibility with LZMA Utils. 8735 8736 lzmainfo now links against static liblzma. In contrast 8737 to other command line tools in XZ Utils, linking lzmainfo 8738 against static liblzma by default is dumb. This will be 8739 fixed once I have fixed some related issues in configure.ac. 8740 8741 configure.ac | 1 + 8742 src/Makefile.am | 2 +- 8743 src/lzmainfo/Makefile.am | 29 ++++++ 8744 src/lzmainfo/lzmainfo.1 | 55 +++++++++++ 8745 src/lzmainfo/lzmainfo.c | 242 +++++++++++++++++++++++++++++++++++++++++++++++ 8746 5 files changed, 328 insertions(+), 1 deletion(-) 8747 8748commit a4165d0584376d948c213ec93c6065d24ff6a5e7 8749Author: Lasse Collin <lasse.collin@tukaani.org> 8750Date: 2009-08-13 12:42:36 +0300 8751 8752 Sync some error messages from xz to xzdec. 8753 8754 Make xz error message translation usable outside 8755 xz (at least in upcoming lzmainfo). 8756 8757 src/xz/main.c | 4 ++-- 8758 src/xzdec/xzdec.c | 6 +++--- 8759 2 files changed, 5 insertions(+), 5 deletions(-) 8760 8761commit df636eb4e066b4e154ce8e66e82c87ba1db652a6 8762Author: Lasse Collin <lasse.collin@tukaani.org> 8763Date: 2009-08-13 09:37:21 +0300 8764 8765 Add xz man page to manfiles in toplevel Makefile.am. 8766 8767 Makefile.am | 1 + 8768 1 file changed, 1 insertion(+) 8769 8770commit 180bdf58ea5bb07941e0a99b304d9aa832198748 8771Author: Lasse Collin <lasse.collin@tukaani.org> 8772Date: 2009-08-13 09:37:01 +0300 8773 8774 Fix first line of xz man page. 8775 8776 src/xz/xz.1 | 2 +- 8777 1 file changed, 1 insertion(+), 1 deletion(-) 8778 8779commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4 8780Author: Lasse Collin <lasse.collin@tukaani.org> 8781Date: 2009-08-10 11:22:31 +0300 8782 8783 Added a rough version of the xz man page. 8784 8785 src/xz/Makefile.am | 15 + 8786 src/xz/xz.1 | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 8787 2 files changed, 1221 insertions(+) 8788 8789commit e71903fc6101f1c039d702e335b08aad1e1b4100 8790Author: Jonathan Nieder <jrnieder@gmail.com> 8791Date: 2009-08-09 13:41:20 -0500 8792 8793 “xzdiff a.xz b.xz” always fails 8794 8795 Attempts to compare two compressed files result in no output and 8796 exit status 2. 8797 8798 Instead of going to standard output, ‘diff’ output is being 8799 captured in the xz_status variable along with the exit status from 8800 the decompression commands. Later, when this variable is examined 8801 for nonzero status codes, numerals from dates in the ‘diff’ output 8802 make it appear as though decompression failed. 8803 8804 So let the ‘diff’ output leak to standard output with another file 8805 descriptor. (This trick is used in all similar contexts elsewhere 8806 in xzdiff and in the analogous context in gzip’s zdiff script.) 8807 8808 src/scripts/xzdiff.in | 2 +- 8809 1 file changed, 1 insertion(+), 1 deletion(-) 8810 8811commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c 8812Author: Jonathan Nieder <jrnieder@gmail.com> 8813Date: 2009-08-09 13:22:12 -0500 8814 8815 xzless: Support compressed standard input 8816 8817 It can be somewhat confusing that 8818 8819 less < some_file.txt 8820 8821 works fine, whereas 8822 8823 xzless < some_file.txt.xz 8824 8825 does not. Since version 429, ‘less’ allows a filter specified in 8826 the LESSOPEN environment variable to preprocess its input even if 8827 it comes from standard input, if $LESSOPEN begins with ‘|-’. So 8828 set $LESSOPEN to take advantage of this feature. 8829 8830 Check less’s version at runtime so xzless can continue to work 8831 with older versions. 8832 8833 src/scripts/xzless.in | 8 +++++++- 8834 1 file changed, 7 insertions(+), 1 deletion(-) 8835 8836commit a7f5d2fe4826ac68839d00059f05004fb81d5c69 8837Author: Lasse Collin <lasse.collin@tukaani.org> 8838Date: 2009-08-09 20:57:46 +0300 8839 8840 GPLv2+ not GPLv2 for Doxyfile.in is probably OK. 8841 8842 Doxyfile.in | 2 +- 8843 1 file changed, 1 insertion(+), 1 deletion(-) 8844 8845commit b735cde20cc14857136ae65a0e5d336ed7ddc862 8846Author: Lasse Collin <lasse.collin@tukaani.org> 8847Date: 2009-08-02 00:27:29 +0300 8848 8849 Added a copyright notice to Doxyfile.in since it contains 8850 lots of comments from Doxygen. 8851 8852 It seems that the Doxygen authors' intent is to not apply 8853 their copyright on generated files, but since it doesn't 8854 matter for XZ Utils at all, better safe than sorry. 8855 8856 Doxyfile.in | 3 +++ 8857 1 file changed, 3 insertions(+) 8858 8859commit 0fd157cc008446adfc8f91394f5503868025a642 8860Author: Lasse Collin <lasse.collin@tukaani.org> 8861Date: 2009-08-02 00:11:37 +0300 8862 8863 Updated THANKS. 8864 8865 THANKS | 1 + 8866 1 file changed, 1 insertion(+) 8867 8868commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f 8869Author: Lasse Collin <lasse.collin@tukaani.org> 8870Date: 2009-08-02 00:10:22 +0300 8871 8872 Updated TODO. 8873 8874 TODO | 4 ++++ 8875 1 file changed, 4 insertions(+) 8876 8877commit 669413bb2db954bbfde3c4542fddbbab53891eb4 8878Author: Lasse Collin <lasse.collin@tukaani.org> 8879Date: 2009-07-30 12:25:55 +0300 8880 8881 Updated THANKS. 8882 8883 THANKS | 1 + 8884 1 file changed, 1 insertion(+) 8885 8886commit dbbd8fb870ae789d96497911006c869d37148c15 8887Author: Jonathan Nieder <jrnieder@gmail.com> 8888Date: 2009-07-28 17:37:24 -0500 8889 8890 xzdiff: add missing ;; to case statement 8891 8892 src/scripts/xzdiff.in | 6 +++--- 8893 1 file changed, 3 insertions(+), 3 deletions(-) 8894 8895commit adbad2d16cb5909f85d4a429011005613ea62ffe 8896Author: Lasse Collin <lasse.collin@tukaani.org> 8897Date: 2009-07-24 13:15:06 +0300 8898 8899 Added history.txt to doc_DATA. 8900 8901 Makefile.am | 1 + 8902 1 file changed, 1 insertion(+) 8903 8904commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27 8905Author: Lasse Collin <lasse.collin@tukaani.org> 8906Date: 2009-07-24 12:00:40 +0300 8907 8908 Updated .gitignore files. 8909 8910 .gitignore | 36 +++++++++++++++++++----------------- 8911 po/.gitignore | 3 +++ 8912 2 files changed, 22 insertions(+), 17 deletions(-) 8913 8914commit 2f34fb269265e3aba43a2a9c734020a45268826d 8915Author: Lasse Collin <lasse.collin@tukaani.org> 8916Date: 2009-07-24 11:34:02 +0300 8917 8918 Minor improvements to COPYING. 8919 8920 COPYING | 11 ++++++++--- 8921 1 file changed, 8 insertions(+), 3 deletions(-) 8922 8923commit 0db1befcfbc120377df4b89923762f16d25f548a 8924Author: Lasse Collin <lasse.collin@tukaani.org> 8925Date: 2009-07-23 19:10:55 +0300 8926 8927 Fix incorrect usage of getopt_long(), which caused 8928 invalid memory access if XZ_OPT was defined. 8929 8930 src/xz/args.c | 1 - 8931 1 file changed, 1 deletion(-) 8932 8933commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48 8934Author: Lasse Collin <lasse.collin@tukaani.org> 8935Date: 2009-07-20 15:43:32 +0300 8936 8937 Avoid internal error with --format=xz --lzma1. 8938 8939 src/xz/coder.c | 16 ++++++++++++---- 8940 1 file changed, 12 insertions(+), 4 deletions(-) 8941 8942commit 99f9e879a6a8bb54a65da99c12e0f390216c152a 8943Author: Lasse Collin <lasse.collin@tukaani.org> 8944Date: 2009-07-19 13:14:20 +0300 8945 8946 Major documentation update. 8947 8948 Installation and packaging instructions were added. 8949 README and other generic docs were revised. 8950 8951 Some of the documentation files are now installed to $docdir. 8952 8953 AUTHORS | 35 +++--- 8954 ChangeLog | 7 +- 8955 INSTALL | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 8956 INSTALL.generic | 302 +++++++++++++++++++++++++++++++++++++++++++++++++++ 8957 Makefile.am | 11 ++ 8958 PACKAGERS | 278 +++++++++++++++++++++++++++++++++++++++++++++++ 8959 README | 263 ++++++++++++++++++++------------------------- 8960 THANKS | 17 +-- 8961 8 files changed, 1070 insertions(+), 170 deletions(-) 8962 8963commit ef4cf1851de89022cba5674784f1a8f6343c15b0 8964Author: Lasse Collin <lasse.collin@tukaani.org> 8965Date: 2009-07-19 11:09:31 +0300 8966 8967 Added missing author notice to xzless.in. 8968 8969 src/scripts/xzless.in | 1 + 8970 1 file changed, 1 insertion(+) 8971 8972commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77 8973Author: Lasse Collin <lasse.collin@tukaani.org> 8974Date: 2009-07-18 18:54:55 +0300 8975 8976 Use AC_CONFIG_AUX_DIR to clean up the toplevel directory 8977 a little. 8978 8979 Fixed a related bug in the toplevel Makefile.am. 8980 8981 Added the build-aux directory to .gitignore. 8982 8983 .gitignore | 1 + 8984 Makefile.am | 1 - 8985 configure.ac | 3 ++- 8986 3 files changed, 3 insertions(+), 2 deletions(-) 8987 8988commit 366e436090a7a87215e9bf0e3ddcd55f05b50587 8989Author: Lasse Collin <lasse.collin@tukaani.org> 8990Date: 2009-07-18 14:34:08 +0300 8991 8992 Updated the totally outdated TODO file. 8993 8994 TODO | 117 ++++++++++++++++--------------------------------------------------- 8995 1 file changed, 27 insertions(+), 90 deletions(-) 8996 8997commit 64e498c89d8b9966e8663f43bf64d47c26c55c62 8998Author: Lasse Collin <lasse.collin@tukaani.org> 8999Date: 2009-07-18 11:26:39 +0300 9000 9001 Added public domain notice into a few files. 9002 9003 src/common/common_w32res.rc | 9 ++++++++- 9004 src/liblzma/liblzma.pc.in | 7 +++++++ 9005 src/liblzma/liblzma_w32res.rc | 7 +++++++ 9006 src/xz/xz_w32res.rc | 7 +++++++ 9007 src/xzdec/xzdec_w32res.rc | 7 +++++++ 9008 5 files changed, 36 insertions(+), 1 deletion(-) 9009 9010commit a35755c5de808df027675688855d1b621a4fb428 9011Author: Lasse Collin <lasse.collin@tukaani.org> 9012Date: 2009-07-14 21:10:36 +0300 9013 9014 Allow extra commas in filter-specific options on xz command line. 9015 9016 This may slightly ease writing scripts that construct 9017 filter-specific option strings dynamically. 9018 9019 src/xz/options.c | 7 +++++++ 9020 1 file changed, 7 insertions(+) 9021 9022commit 98f3cac1ad31191c5160a7e48398bf85141e941c 9023Author: Lasse Collin <lasse.collin@tukaani.org> 9024Date: 2009-07-14 18:04:31 +0300 9025 9026 Accept --lzma2=preset=6e where "e" is equivalent to --extreme 9027 when no custom chain is in use. 9028 9029 src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++++--------------- 9030 1 file changed, 59 insertions(+), 21 deletions(-) 9031 9032commit d873a09e956363e54bf58c577c8f7e487b6fb464 9033Author: Lasse Collin <lasse.collin@tukaani.org> 9034Date: 2009-07-12 19:08:30 +0300 9035 9036 Add dist-hook to create ChangeLog from the commit log, 9037 and to conver the man pages to PDF and plain text, which 9038 may be convenient to those who cannot render man pages. 9039 9040 Makefile.am | 31 +++++++++++++++++++++++++++++++ 9041 1 file changed, 31 insertions(+) 9042 9043commit cd69a5a6c16c289f6f8e2823b03c72289472270f 9044Author: Lasse Collin <lasse.collin@tukaani.org> 9045Date: 2009-07-10 11:39:38 +0300 9046 9047 BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR. 9048 9049 This is a quick and slightly dirty fix to make the code 9050 conform to the latest file format specification. Without 9051 this patch, it's possible to make corrupt files by 9052 specifying start offset that is not a multiple of the 9053 filter's alignment. Custom start offset is almost never 9054 used, so this was only a minor bug. 9055 9056 The xz command line tool doesn't validate the start offset, 9057 so one will get a bit unclear error message if trying to use 9058 an invalid start offset. 9059 9060 src/liblzma/simple/arm.c | 2 +- 9061 src/liblzma/simple/armthumb.c | 2 +- 9062 src/liblzma/simple/ia64.c | 2 +- 9063 src/liblzma/simple/powerpc.c | 2 +- 9064 src/liblzma/simple/simple_coder.c | 5 ++++- 9065 src/liblzma/simple/simple_private.h | 3 ++- 9066 src/liblzma/simple/sparc.c | 2 +- 9067 src/liblzma/simple/x86.c | 2 +- 9068 8 files changed, 12 insertions(+), 8 deletions(-) 9069 9070commit eed9953732b801f6c97317fb3160445a8754180b 9071Author: Lasse Collin <lasse.collin@tukaani.org> 9072Date: 2009-07-10 11:33:21 +0300 9073 9074 Look for full command names instead of substrings 9075 like "un", "cat", and "lz" when determining if 9076 xz is run as unxz, xzcat, lzma, unlzma, or lzcat. 9077 9078 This is to ensure that if xz is renamed (e.g. via 9079 --program-transform-name), it doesn't so easily 9080 work in wrong mode. 9081 9082 src/xz/args.c | 22 +++++++++++++--------- 9083 1 file changed, 13 insertions(+), 9 deletions(-) 9084 9085commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658 9086Author: Lasse Collin <lasse.collin@tukaani.org> 9087Date: 2009-07-08 23:06:46 +0300 9088 9089 Updated THANKS. 9090 9091 THANKS | 2 ++ 9092 1 file changed, 2 insertions(+) 9093 9094commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e 9095Author: Lasse Collin <lasse.collin@tukaani.org> 9096Date: 2009-07-08 23:05:29 +0300 9097 9098 Portability improvement to version.sh. 9099 9100 version.sh | 3 ++- 9101 1 file changed, 2 insertions(+), 1 deletion(-) 9102 9103commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f 9104Author: Lasse Collin <lasse.collin@tukaani.org> 9105Date: 2009-07-08 22:50:16 +0300 9106 9107 Remove --force from xzdec. 9108 9109 It was ignored for compatibility with xz, but now that 9110 --decompress --stdout --force copies unrecognized files 9111 as is to stdout, simply ignoring --force in xzdec would 9112 be wrong. xzdec will not support copying unrecognized 9113 data as is to stdout, so it cannot support --force. 9114 9115 src/xzdec/xzdec.1 | 5 ----- 9116 src/xzdec/xzdec.c | 5 +---- 9117 2 files changed, 1 insertion(+), 9 deletions(-) 9118 9119commit 5f16ef4abf220028a9ddbcb138217597a9455f62 9120Author: Lasse Collin <lasse.collin@tukaani.org> 9121Date: 2009-07-06 10:36:04 +0300 9122 9123 Use sed instead of $(SED) so that we don't need to 9124 use AC_PROG_SED. We don't do anything fancy with sed, 9125 so this should work OK. libtool 2.2 sets SED but 1.5 9126 doesn't, so $(SED) happened to work when using libtool 2.2. 9127 9128 src/liblzma/Makefile.am | 2 +- 9129 src/scripts/Makefile.am | 28 ++++++++++++++-------------- 9130 src/xz/Makefile.am | 6 +++--- 9131 src/xzdec/Makefile.am | 6 +++--- 9132 4 files changed, 21 insertions(+), 21 deletions(-) 9133 9134commit 96e4b257e101d72072d43e144897d92920270669 9135Author: Lasse Collin <lasse.collin@tukaani.org> 9136Date: 2009-07-05 22:25:17 +0300 9137 9138 Major update to the xzgrep and other scripts based on 9139 the latest versions found from gzip CVS repository. 9140 9141 configure will try to find a POSIX shell to be used by 9142 the scripts. This should ease portability on systems 9143 which have pre-POSIX /bin/sh. 9144 9145 xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files. 9146 xzmore and xzless support only .xz and .lzma files. 9147 9148 The name of the xz executable used in these scripts is 9149 now correct even if --program-transform-name has been used. 9150 9151 configure.ac | 14 ++++ 9152 m4/posix-shell.m4 | 63 ++++++++++++++++ 9153 src/scripts/Makefile.am | 24 +++--- 9154 src/scripts/xzdiff | 67 ----------------- 9155 src/scripts/xzdiff.1 | 58 ++++++++------ 9156 src/scripts/xzdiff.in | 172 ++++++++++++++++++++++++++++++++++++++++++ 9157 src/scripts/xzgrep | 123 ------------------------------ 9158 src/scripts/xzgrep.1 | 85 ++++++++++++--------- 9159 src/scripts/xzgrep.in | 196 ++++++++++++++++++++++++++++++++++++++++++++++++ 9160 src/scripts/xzless.1 | 66 ++++++++++++++++ 9161 src/scripts/xzless.in | 51 +++++++++++++ 9162 src/scripts/xzmore | 74 ------------------ 9163 src/scripts/xzmore.1 | 64 +++++++--------- 9164 src/scripts/xzmore.in | 78 +++++++++++++++++++ 9165 14 files changed, 766 insertions(+), 369 deletions(-) 9166 9167commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100 9168Author: Lasse Collin <lasse.collin@tukaani.org> 9169Date: 2009-07-05 19:26:53 +0300 9170 9171 Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in. 9172 9173 src/liblzma/liblzma.pc.in | 2 +- 9174 1 file changed, 1 insertion(+), 1 deletion(-) 9175 9176commit 18c10c30d2833f394cd7bce0e6a821044b15832f 9177Author: Lasse Collin <lasse.collin@tukaani.org> 9178Date: 2009-07-04 00:40:44 +0300 9179 9180 Make "xz --decompress --stdout --force" copy unrecognized 9181 files as is to standard output. 9182 9183 This feature is needed to be more compatible with gzip's 9184 behavior. This was more complicated to implement than it 9185 sounds, because the way liblzma is able to return errors with 9186 files of only a few bytes in size. xz now has its own file 9187 type detection code and no longer uses lzma_auto_decoder(). 9188 9189 src/xz/coder.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++---------- 9190 1 file changed, 178 insertions(+), 35 deletions(-) 9191 9192commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633 9193Author: Lasse Collin <lasse.collin@tukaani.org> 9194Date: 2009-07-02 14:30:38 +0300 9195 9196 Define PACKAGE_HOMEPAGE in configure.ac and use it in 9197 xz and xzdec. 9198 9199 Use also PACKAGE_NAME instead of hardcoding "XZ Utils". 9200 9201 configure.ac | 5 +++++ 9202 src/xz/message.c | 4 ++-- 9203 src/xzdec/xzdec.c | 4 ++-- 9204 3 files changed, 9 insertions(+), 4 deletions(-) 9205 9206commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c 9207Author: Lasse Collin <lasse.collin@tukaani.org> 9208Date: 2009-07-01 12:21:24 +0300 9209 9210 Avoid visibility related compiler warnings on Windows. 9211 9212 configure.ac | 20 +++++++++----------- 9213 1 file changed, 9 insertions(+), 11 deletions(-) 9214 9215commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e 9216Author: Lasse Collin <lasse.collin@tukaani.org> 9217Date: 2009-06-30 17:14:39 +0300 9218 9219 Use static liblzma by default also for tests. 9220 9221 tests/Makefile.am | 5 ++++- 9222 1 file changed, 4 insertions(+), 1 deletion(-) 9223 9224commit f42ee981668b545ab6d06c6072e262c29605273c 9225Author: Lasse Collin <lasse.collin@tukaani.org> 9226Date: 2009-06-30 17:09:57 +0300 9227 9228 Build system fixes 9229 9230 Don't use libtool convenience libraries to avoid recently 9231 discovered long-standing subtle but somewhat severe bugs 9232 in libtool (at least 1.5.22 and 2.2.6 are affected). It 9233 was found when porting XZ Utils to Windows 9234 <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html> 9235 but the problem is significant also e.g. on GNU/Linux. 9236 9237 Unless --disable-shared is passed to configure, static 9238 library built from a set of convenience libraries will 9239 contain PIC objects. That is, while libtool builds non-PIC 9240 objects too, only PIC objects will be used from the 9241 convenience libraries. On 32-bit x86 (tested on mobile XP2400+), 9242 using PIC instead of non-PIC makes the decompressor 10 % slower 9243 with the default CFLAGS. 9244 9245 So while xz was linked against static liblzma by default, 9246 it got the slower PIC objects unless --disable-shared was 9247 used. I tend develop and benchmark with --disable-shared 9248 due to faster build time, so I hadn't noticed the problem 9249 in benchmarks earlier. 9250 9251 This commit also adds support for building Windows resources 9252 into liblzma and executables. 9253 9254 configure.ac | 34 ++++++++++------ 9255 src/liblzma/Makefile.am | 79 +++++++++++++++++++++++++++++-------- 9256 src/liblzma/check/Makefile.am | 47 ---------------------- 9257 src/liblzma/check/Makefile.inc | 51 ++++++++++++++++++++++++ 9258 src/liblzma/common/Makefile.am | 78 ------------------------------------ 9259 src/liblzma/common/Makefile.inc | 67 +++++++++++++++++++++++++++++++ 9260 src/liblzma/common/common.h | 16 +++++--- 9261 src/liblzma/delta/Makefile.am | 28 ------------- 9262 src/liblzma/delta/Makefile.inc | 23 +++++++++++ 9263 src/liblzma/lz/Makefile.am | 29 -------------- 9264 src/liblzma/lz/Makefile.inc | 21 ++++++++++ 9265 src/liblzma/lzma/Makefile.am | 51 ------------------------ 9266 src/liblzma/lzma/Makefile.inc | 43 ++++++++++++++++++++ 9267 src/liblzma/rangecoder/Makefile.am | 26 ------------ 9268 src/liblzma/rangecoder/Makefile.inc | 21 ++++++++++ 9269 src/liblzma/simple/Makefile.am | 51 ------------------------ 9270 src/liblzma/simple/Makefile.inc | 47 ++++++++++++++++++++++ 9271 src/liblzma/subblock/Makefile.am | 26 ------------ 9272 src/liblzma/subblock/Makefile.inc | 20 ++++++++++ 9273 src/xz/Makefile.am | 11 +++++- 9274 src/xzdec/Makefile.am | 20 +++++++++- 9275 21 files changed, 417 insertions(+), 372 deletions(-) 9276 9277commit 89dac1db6f168d7469cfbc4432651d4724c5c0de 9278Author: Lasse Collin <lasse.collin@tukaani.org> 9279Date: 2009-06-29 22:19:51 +0300 9280 9281 Added a comment about "autoconf -fi" to autogen.sh. 9282 9283 autogen.sh | 3 +++ 9284 1 file changed, 3 insertions(+) 9285 9286commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd 9287Author: Lasse Collin <lasse.collin@tukaani.org> 9288Date: 2009-06-28 10:04:24 +0300 9289 9290 Add -no-undefined to get shared liblzma on Windows. 9291 9292 src/liblzma/Makefile.am | 2 +- 9293 1 file changed, 1 insertion(+), 1 deletion(-) 9294 9295commit 73f560ee5fa064992b76688d9472baf139432540 9296Author: Lasse Collin <lasse.collin@tukaani.org> 9297Date: 2009-06-27 22:57:15 +0300 9298 9299 Make physmem() work on Cygwin 1.5 and older. 9300 9301 src/common/physmem.h | 77 +++++++++++++++++++++++++++------------------------- 9302 1 file changed, 40 insertions(+), 37 deletions(-) 9303 9304commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1 9305Author: Lasse Collin <lasse.collin@tukaani.org> 9306Date: 2009-06-27 17:28:01 +0300 9307 9308 Moved the Windows resource files outside the windows directory 9309 to prepare for building them with Autotools. 9310 9311 windows/common.rc => src/common/common_w32res.rc | 0 9312 .../liblzma.rc => src/liblzma/liblzma_w32res.rc | 2 +- 9313 windows/xz.rc => src/xz/xz_w32res.rc | 2 +- 9314 windows/lzmadec.rc => src/xzdec/lzmadec_w32res.rc | 2 +- 9315 windows/xzdec.rc => src/xzdec/xzdec_w32res.rc | 2 +- 9316 windows/Makefile | 35 ++++++++++++---------- 9317 6 files changed, 23 insertions(+), 20 deletions(-) 9318 9319commit 449c634674f35336a4815d398172e447659a135e 9320Author: Lasse Collin <lasse.collin@tukaani.org> 9321Date: 2009-06-27 13:05:03 +0300 9322 9323 Added missing $(EXEEXT). 9324 9325 src/xz/Makefile.am | 2 +- 9326 1 file changed, 1 insertion(+), 1 deletion(-) 9327 9328commit 792db79f27ad9ab1fb977e23be65c7761f545752 9329Author: Lasse Collin <lasse.collin@tukaani.org> 9330Date: 2009-06-27 12:32:40 +0300 9331 9332 Create correct symlinks even when 9333 --program-{prefix,suffix,transform} is passed to configure. 9334 9335 src/scripts/Makefile.am | 80 ++++++++++++++++++++++++++++--------------------- 9336 src/xz/Makefile.am | 21 ++++++++----- 9337 src/xzdec/Makefile.am | 9 ++++-- 9338 3 files changed, 65 insertions(+), 45 deletions(-) 9339 9340commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b 9341Author: Lasse Collin <lasse.collin@tukaani.org> 9342Date: 2009-06-27 10:02:24 +0300 9343 9344 Silence a compiler warning on DOS-like systems. 9345 9346 src/xz/file_io.c | 5 ++++- 9347 1 file changed, 4 insertions(+), 1 deletion(-) 9348 9349commit ad12edc95254ede3f0cb8dec8645e8789e984c4f 9350Author: Lasse Collin <lasse.collin@tukaani.org> 9351Date: 2009-06-27 09:35:15 +0300 9352 9353 Updated the filenames in POTFILES.in too. 9354 9355 po/POTFILES.in | 4 ++-- 9356 1 file changed, 2 insertions(+), 2 deletions(-) 9357 9358commit b2b1f867532732fe9969131f8713bdd6b0731763 9359Author: Lasse Collin <lasse.collin@tukaani.org> 9360Date: 2009-06-27 00:43:06 +0300 9361 9362 Hopefully improved portability of the assembler code in 9363 Autotools based builds on Windows. 9364 9365 src/liblzma/check/crc32_x86.S | 8 +++++++- 9366 src/liblzma/check/crc64_x86.S | 8 +++++++- 9367 2 files changed, 14 insertions(+), 2 deletions(-) 9368 9369commit c393055947247627a09b6a6b8f20aa0c32f9be16 9370Author: Lasse Collin <lasse.collin@tukaani.org> 9371Date: 2009-06-26 21:17:29 +0300 9372 9373 Updated THANKS (most of today's commits are based on 9374 Charles Wilson's patches). 9375 9376 THANKS | 1 + 9377 1 file changed, 1 insertion(+) 9378 9379commit da0af22e4b4139b8a10710945f8b245b3a77c97d 9380Author: Lasse Collin <lasse.collin@tukaani.org> 9381Date: 2009-06-26 21:00:35 +0300 9382 9383 Updated comments to match renamed files. 9384 9385 src/xz/coder.c | 2 +- 9386 src/xz/coder.h | 2 +- 9387 src/xz/file_io.c | 2 +- 9388 src/xz/file_io.h | 2 +- 9389 4 files changed, 4 insertions(+), 4 deletions(-) 9390 9391commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2 9392Author: Lasse Collin <lasse.collin@tukaani.org> 9393Date: 2009-06-26 20:49:54 +0300 9394 9395 Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc] 9396 to avoid problems on systems with system headers with those 9397 names. 9398 9399 dos/Makefile | 4 ++-- 9400 src/xz/Makefile.am | 8 ++++---- 9401 src/xz/{process.c => coder.c} | 0 9402 src/xz/{process.h => coder.h} | 0 9403 src/xz/{io.c => file_io.c} | 0 9404 src/xz/{io.h => file_io.h} | 0 9405 src/xz/private.h | 4 ++-- 9406 windows/Makefile | 4 ++-- 9407 8 files changed, 10 insertions(+), 10 deletions(-) 9408 9409commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8 9410Author: Lasse Collin <lasse.collin@tukaani.org> 9411Date: 2009-06-26 20:43:36 +0300 9412 9413 Rename process_file() to coder_run(). 9414 9415 src/xz/main.c | 6 +++--- 9416 src/xz/process.c | 6 +++--- 9417 src/xz/process.h | 5 ++--- 9418 3 files changed, 8 insertions(+), 9 deletions(-) 9419 9420commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc 9421Author: Lasse Collin <lasse.collin@tukaani.org> 9422Date: 2009-06-26 20:36:45 +0300 9423 9424 Ugly hack to make it possible to use the thousand separator 9425 format character with snprintf() on POSIX systems but not 9426 on non-POSIX systems and still keep xgettext working. 9427 9428 dos/Makefile | 16 +++------------- 9429 src/xz/message.c | 17 +++++++++-------- 9430 src/xz/process.c | 30 +++++++++++++++--------------- 9431 src/xz/util.c | 34 ++++++++++++++++++++++++++++++++++ 9432 src/xz/util.h | 20 ++++++++++++++++++++ 9433 windows/Makefile | 13 +++---------- 9434 6 files changed, 84 insertions(+), 46 deletions(-) 9435 9436commit fe378d47074b16c52b00fe184d119287c68ce2e7 9437Author: Lasse Collin <lasse.collin@tukaani.org> 9438Date: 2009-06-26 15:40:40 +0300 9439 9440 Added missing source files to windows/Makefile. 9441 9442 windows/Makefile | 2 ++ 9443 1 file changed, 2 insertions(+) 9444 9445commit 390a6408563067613b29de895cb40e4d0386d62c 9446Author: Lasse Collin <lasse.collin@tukaani.org> 9447Date: 2009-06-26 15:37:53 +0300 9448 9449 Basic support for building with Cygwin and MinGW using 9450 the Autotools based build system. It's not good yet, more 9451 fixes will follow. 9452 9453 configure.ac | 7 +++++++ 9454 src/liblzma/api/lzma.h | 7 +++++-- 9455 src/liblzma/check/crc32_x86.S | 7 ++++--- 9456 src/liblzma/check/crc64_x86.S | 7 ++++--- 9457 src/liblzma/common/common.h | 2 +- 9458 windows/Makefile | 16 +++++++--------- 9459 6 files changed, 28 insertions(+), 18 deletions(-) 9460 9461commit 1c9360b7d1197457aaad2f8888b99f1149861579 9462Author: Lasse Collin <lasse.collin@tukaani.org> 9463Date: 2009-06-26 14:47:31 +0300 9464 9465 Fix @variables@ to $(variables) in Makefile.am files. 9466 Fix the ordering of libgnu.a and LTLIBINTL on the linker 9467 command line and added missing LTLIBINTL to tests/Makefile.am. 9468 9469 debug/Makefile.am | 12 ++++++------ 9470 src/liblzma/check/Makefile.am | 4 ++-- 9471 src/liblzma/common/Makefile.am | 16 ++++++++-------- 9472 src/liblzma/delta/Makefile.am | 4 ++-- 9473 src/liblzma/lz/Makefile.am | 6 +++--- 9474 src/liblzma/lzma/Makefile.am | 8 ++++---- 9475 src/liblzma/rangecoder/Makefile.am | 4 ++-- 9476 src/liblzma/simple/Makefile.am | 4 ++-- 9477 src/liblzma/subblock/Makefile.am | 4 ++-- 9478 src/xz/Makefile.am | 21 +++++++++++---------- 9479 src/xzdec/Makefile.am | 19 ++++++++++--------- 9480 tests/Makefile.am | 12 +++++++----- 9481 12 files changed, 59 insertions(+), 55 deletions(-) 9482 9483commit d45615c555e250209ebb55aa3649abe790f1eeac 9484Author: Lasse Collin <lasse.collin@tukaani.org> 9485Date: 2009-06-26 14:20:02 +0300 9486 9487 Allow to explicitly specify autotool versions in autogen.sh. 9488 9489 autogen.sh | 12 ++++++------ 9490 1 file changed, 6 insertions(+), 6 deletions(-) 9491 9492commit eaf8367368a329afa48785380f9dca6b681f3397 9493Author: Lasse Collin <lasse.collin@tukaani.org> 9494Date: 2009-06-26 14:18:32 +0300 9495 9496 Add version.sh to EXTRA_DIST. 9497 9498 Makefile.am | 3 ++- 9499 1 file changed, 2 insertions(+), 1 deletion(-) 9500 9501commit b317b218e2d383dd27a700094c0de4510540ea18 9502Author: Lasse Collin <lasse.collin@tukaani.org> 9503Date: 2009-06-24 20:14:10 +0300 9504 9505 Support HW_PHYSMEM64 9506 9507 src/common/physmem.h | 30 +++++++++++++++++++----------- 9508 1 file changed, 19 insertions(+), 11 deletions(-) 9509 9510commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7 9511Author: Lasse Collin <lasse.collin@tukaani.org> 9512Date: 2009-06-24 13:01:59 +0300 9513 9514 Cast a char argument to isspace() to unsigned char. 9515 9516 src/xz/args.c | 11 +++++++++-- 9517 1 file changed, 9 insertions(+), 2 deletions(-) 9518 9519commit 1735d31ea347210e914df038eeea4b2626e76e42 9520Author: Lasse Collin <lasse.collin@tukaani.org> 9521Date: 2009-06-05 13:46:26 +0300 9522 9523 A few more spelling fixes. Released the .xz spec 1.0.3. 9524 9525 doc/xz-file-format.txt | 12 +++++++----- 9526 1 file changed, 7 insertions(+), 5 deletions(-) 9527 9528commit 8ed156ce894966103e895aa08f2a9fb912f6fad5 9529Author: Lasse Collin <lasse.collin@tukaani.org> 9530Date: 2009-06-04 23:42:12 +0300 9531 9532 Added xzdec man page. 9533 9534 src/xzdec/Makefile.am | 11 ++++ 9535 src/xzdec/xzdec.1 | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++ 9536 2 files changed, 184 insertions(+) 9537 9538commit f6df39afaa84f71439507178a49b2a5dda6e824c 9539Author: Lasse Collin <lasse.collin@tukaani.org> 9540Date: 2009-06-04 23:26:47 +0300 9541 9542 Harmonized xzdec --memory with xz --memory and made 9543 minor cleanups. 9544 9545 src/xzdec/xzdec.c | 74 +++++++++++++++++++++++++++++++++++++++---------------- 9546 1 file changed, 53 insertions(+), 21 deletions(-) 9547 9548commit 1774f27c61ce294a56712ca2f4785f90a62441bc 9549Author: Lasse Collin <lasse.collin@tukaani.org> 9550Date: 2009-06-04 22:59:55 +0300 9551 9552 Fix purporse -> purpose. Thanks to Andrew Dudman. 9553 Released .xz spec 1.0.2 due to this fix too. 9554 9555 THANKS | 1 + 9556 doc/xz-file-format.txt | 8 +++++--- 9557 src/liblzma/liblzma.pc.in | 2 +- 9558 windows/Makefile | 2 +- 9559 4 files changed, 8 insertions(+), 5 deletions(-) 9560 9561commit cb613455642f48fb51059e22018615f64c59b70f 9562Author: Lasse Collin <lasse.collin@tukaani.org> 9563Date: 2009-06-01 14:53:57 +0300 9564 9565 The .xz file format version 1.0.1 9566 9567 doc/xz-file-format.txt | 29 ++++++++++++++++++++++------- 9568 1 file changed, 22 insertions(+), 7 deletions(-) 9569 9570commit 083c23c680ff844846d177cfc58bb7a874e7e6b9 9571Author: Lasse Collin <lasse.collin@tukaani.org> 9572Date: 2009-05-26 14:48:48 +0300 9573 9574 Make the raw value of the Check field available to applications 9575 via lzma_block structure. 9576 9577 This changes ABI but not doesn't break API. 9578 9579 src/liblzma/api/lzma/block.h | 17 ++++++++++++++++ 9580 src/liblzma/common/block_buffer_encoder.c | 1 + 9581 src/liblzma/common/block_decoder.c | 34 ++++++++++++++----------------- 9582 src/liblzma/common/block_encoder.c | 21 ++++++++----------- 9583 4 files changed, 42 insertions(+), 31 deletions(-) 9584 9585commit b4f5c814090dc07d4350453576305e41eb9c998d 9586Author: Lasse Collin <lasse.collin@tukaani.org> 9587Date: 2009-05-23 16:57:21 +0300 9588 9589 Remove undocumented alternative option names --bcj, --ppc, 9590 and --itanium. 9591 9592 src/xz/args.c | 3 --- 9593 1 file changed, 3 deletions(-) 9594 9595commit b1edee2cdc7ef4411b1a21c07094ec763f071281 9596Author: Lasse Collin <lasse.collin@tukaani.org> 9597Date: 2009-05-23 15:12:23 +0300 9598 9599 Add support for specifying the BCJ filter start offset 9600 in the xz command line tool. 9601 9602 src/xz/args.c | 36 +++++++++++++++++++++--------------- 9603 src/xz/message.c | 14 ++++++++------ 9604 src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++ 9605 src/xz/options.h | 7 +++++++ 9606 4 files changed, 76 insertions(+), 21 deletions(-) 9607 9608commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb 9609Author: Lasse Collin <lasse.collin@tukaani.org> 9610Date: 2009-05-23 14:51:09 +0300 9611 9612 Updated THANKS. 9613 9614 THANKS | 2 ++ 9615 1 file changed, 2 insertions(+) 9616 9617commit dcedb6998cefeca6597dd1219328a3abf5acf66d 9618Author: Lasse Collin <lasse.collin@tukaani.org> 9619Date: 2009-05-22 16:40:50 +0300 9620 9621 Added support for --quiet and --no-warn to xzdec. 9622 Cleaned up the --help message a little. 9623 9624 src/xzdec/xzdec.c | 76 +++++++++++++++++++++++++++++++++++-------------------- 9625 1 file changed, 49 insertions(+), 27 deletions(-) 9626 9627commit 5f735dae80aa629853f4831d7b84ec1c614979eb 9628Author: Lasse Collin <lasse.collin@tukaani.org> 9629Date: 2009-05-22 15:11:52 +0300 9630 9631 Use the 40 % of RAM memory usage limit in xzdec too. 9632 9633 Update the memory usage info text in --help to match 9634 the text in xz --long-help. 9635 9636 src/xzdec/xzdec.c | 10 +++++----- 9637 1 file changed, 5 insertions(+), 5 deletions(-) 9638 9639commit b60376249e0c586910c4121fab4f791820cc1289 9640Author: Lasse Collin <lasse.collin@tukaani.org> 9641Date: 2009-05-22 14:43:00 +0300 9642 9643 Add --no-warn. 9644 9645 src/xz/args.c | 8 +++++++- 9646 src/xz/main.c | 17 +++++++++++++++++ 9647 src/xz/main.h | 6 ++++++ 9648 src/xz/message.c | 4 ++++ 9649 4 files changed, 34 insertions(+), 1 deletion(-) 9650 9651commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008 9652Author: Lasse Collin <lasse.collin@tukaani.org> 9653Date: 2009-05-22 14:27:40 +0300 9654 9655 Fix a comment. 9656 9657 src/xz/main.h | 2 +- 9658 1 file changed, 1 insertion(+), 1 deletion(-) 9659 9660commit 4dd21d23f22569285ae706b58b0e5904b8db1839 9661Author: Lasse Collin <lasse.collin@tukaani.org> 9662Date: 2009-05-22 14:21:20 +0300 9663 9664 Remove the --info option, which was an alias for --list. 9665 9666 src/xz/args.c | 1 - 9667 1 file changed, 1 deletion(-) 9668 9669commit 8836139b63ce774bdd62abf17ab69b290e08229e 9670Author: Lasse Collin <lasse.collin@tukaani.org> 9671Date: 2009-05-22 12:27:43 +0300 9672 9673 If xz is run as lzma, unlzma, or lzcat, simply imply 9674 --format=lzma. This means that xz emulating lzma 9675 doesn't decompress .xz files, while before this 9676 commit it did. The new way is slightly simpler in 9677 code and especially in upcoming documentation. 9678 9679 src/xz/args.c | 17 ++++++----------- 9680 1 file changed, 6 insertions(+), 11 deletions(-) 9681 9682commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d 9683Author: Lasse Collin <lasse.collin@tukaani.org> 9684Date: 2009-05-22 11:29:50 +0300 9685 9686 Make the default memory usage limit 40 % of RAM for both 9687 compressing and decompressing. This should be OK now that 9688 xz automatically scales down the compression settings if 9689 they would exceed the memory usage limit (earlier, the limit 9690 for compression was increased to 90 % because low limit broke 9691 scripts that used "xz -9" on systems with low RAM). 9692 9693 Support spcifying the memory usage limit as a percentage 9694 of RAM (e.g. --memory=50%). 9695 9696 Support --threads=0 to reset the thread limit to the default 9697 value (number of available CPU cores). Use UINT32_MAX instead 9698 of SIZE_MAX as the maximum in args.c. hardware.c was already 9699 expecting uint32_t value. 9700 9701 Cleaned up the output of --help and --long-help. 9702 9703 src/xz/args.c | 28 +++++++++++++----- 9704 src/xz/hardware.c | 86 +++++++++++++++++++++++-------------------------------- 9705 src/xz/hardware.h | 10 +++---- 9706 src/xz/message.c | 28 +++++++++--------- 9707 src/xz/process.c | 18 +++++------- 9708 5 files changed, 82 insertions(+), 88 deletions(-) 9709 9710commit 071b825b23911a69dd1cd2f8cda004ef8a781fae 9711Author: Lasse Collin <lasse.collin@tukaani.org> 9712Date: 2009-05-21 17:22:01 +0300 9713 9714 Support special value "max" where xz and xzdec accept an integer. 9715 Don't round the memory usage limit in xzdec --help to avoid 9716 an integer overflow and to not give wrong impression that 9717 the limit is high enough when it may not actually be. 9718 9719 src/xz/util.c | 4 ++++ 9720 src/xzdec/xzdec.c | 6 +++++- 9721 2 files changed, 9 insertions(+), 1 deletion(-) 9722 9723commit 03ca67fd37dd43fa7f590de340899cd497c10802 9724Author: ABCD <en.abcd@gmail.com> 9725Date: 2009-05-20 17:31:18 -0400 9726 9727 Install lzdiff, lzgrep, and lzmore as symlinks 9728 9729 This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install. 9730 It also installs symlinks for the manual pages and removes the new 9731 symlinks on uninstall. 9732 9733 src/scripts/Makefile.am | 16 ++++++++++++++-- 9734 1 file changed, 14 insertions(+), 2 deletions(-) 9735 9736commit a6f43e64128a6da5cd641de1e1e527433b3e5638 9737Author: Lasse Collin <lasse.collin@tukaani.org> 9738Date: 2009-05-02 16:10:14 +0300 9739 9740 Use a GCC-specific #pragma instead of GCC-specific 9741 -Wno-uninitialized to silence a bogus warning. 9742 9743 configure.ac | 13 ------------- 9744 src/liblzma/check/Makefile.am | 5 ----- 9745 src/liblzma/check/sha256.c | 5 +++++ 9746 3 files changed, 5 insertions(+), 18 deletions(-) 9747 9748commit f6ce63ebdb45a857c8949960c83c9580ae888951 9749Author: Lasse Collin <lasse.collin@tukaani.org> 9750Date: 2009-05-02 14:46:50 +0300 9751 9752 Removed --disable-encoder and --disable-decoder. Use the values 9753 given to --enable-encoders and --enable-decoders to determine 9754 if any encoder or decoder support is wanted. 9755 9756 configure.ac | 48 ++++++++---------------------------------------- 9757 1 file changed, 8 insertions(+), 40 deletions(-) 9758 9759commit be06858d5cf8ba46557395035d821dc332f3f830 9760Author: Lasse Collin <lasse.collin@tukaani.org> 9761Date: 2009-05-01 11:28:52 +0300 9762 9763 Remove docs that are too outdated to be updated 9764 (rewrite will be better). 9765 9766 doc/liblzma-advanced.txt | 324 ----------------------------------------------- 9767 doc/liblzma-hacking.txt | 112 ---------------- 9768 doc/liblzma-intro.txt | 194 ---------------------------- 9769 doc/liblzma-security.txt | 219 -------------------------------- 9770 doc/lzma-intro.txt | 107 ---------------- 9771 5 files changed, 956 deletions(-) 9772 9773commit 0255401e57c96af87c6b159eca28974e79430a82 9774Author: Lasse Collin <lasse.collin@tukaani.org> 9775Date: 2009-05-01 11:21:46 +0300 9776 9777 Added documentation about the legacy .lzma file format. 9778 9779 doc/lzma-file-format.txt | 166 +++++++++++++++++++++++++++++++++++++++++++++++ 9780 1 file changed, 166 insertions(+) 9781 9782commit 1496ff437c46f38303e0e94c511ca604b3a11f85 9783Author: Lasse Collin <lasse.collin@tukaani.org> 9784Date: 2009-05-01 11:20:23 +0300 9785 9786 Renamed the file format specification to xz-file-format.txt 9787 which is the filename used on the WWW. 9788 9789 doc/{file-format.txt => xz-file-format.txt} | 0 9790 1 file changed, 0 insertions(+), 0 deletions(-) 9791 9792commit 21c6b94373d239d7e86bd480fcd558e30391712f 9793Author: Lasse Collin <lasse.collin@tukaani.org> 9794Date: 2009-04-28 23:08:32 +0300 9795 9796 Fixed a crash in liblzma. 9797 9798 liblzma tries to avoid useless free()/malloc() pairs in 9799 initialization when multiple files are handled using the 9800 same lzma_stream. This didn't work with filter chains 9801 due to comparison of wrong pointers in lzma_next_coder_init(), 9802 making liblzma think that no memory reallocation is needed 9803 even when it actually is. 9804 9805 Easy way to trigger this bug is to decompress two files with 9806 a single xz command. The first file should have e.g. x86+LZMA2 9807 as the filter chain, and the second file just LZMA2. 9808 9809 src/liblzma/common/alone_decoder.c | 2 +- 9810 src/liblzma/common/alone_encoder.c | 4 ++-- 9811 src/liblzma/common/auto_decoder.c | 2 +- 9812 src/liblzma/common/block_decoder.c | 2 +- 9813 src/liblzma/common/block_encoder.c | 2 +- 9814 src/liblzma/common/common.h | 4 ++-- 9815 src/liblzma/common/easy_encoder.c | 2 +- 9816 src/liblzma/common/index_decoder.c | 2 +- 9817 src/liblzma/common/index_encoder.c | 2 +- 9818 src/liblzma/common/stream_decoder.c | 2 +- 9819 src/liblzma/common/stream_encoder.c | 2 +- 9820 11 files changed, 13 insertions(+), 13 deletions(-) 9821 9822commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c 9823Author: Lasse Collin <lasse.collin@tukaani.org> 9824Date: 2009-04-15 14:13:38 +0300 9825 9826 Fix uint32_t -> size_t in ARM and ARM-Thumb filters. 9827 9828 On 64-bit system it would have gone into infinite 9829 loop if a single input buffer was over 4 GiB (unlikely). 9830 9831 src/liblzma/simple/arm.c | 2 +- 9832 src/liblzma/simple/armthumb.c | 2 +- 9833 2 files changed, 2 insertions(+), 2 deletions(-) 9834 9835commit 31decdce041581e57c0d8a407d4795b114ef27ca 9836Author: Lasse Collin <lasse.collin@tukaani.org> 9837Date: 2009-04-14 11:48:46 +0300 9838 9839 Minor fixes to test files' README. 9840 9841 tests/files/README | 17 +++++++++-------- 9842 1 file changed, 9 insertions(+), 8 deletions(-) 9843 9844commit 4787d654434891c7df5b43959b0d2873718f06e0 9845Author: Lasse Collin <lasse.collin@tukaani.org> 9846Date: 2009-04-13 16:36:41 +0300 9847 9848 Updated history.txt. 9849 9850 doc/history.txt | 123 ++++++++++++++++++++++++++++++-------------------------- 9851 1 file changed, 66 insertions(+), 57 deletions(-) 9852 9853commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9 9854Author: Lasse Collin <lasse.collin@tukaani.org> 9855Date: 2009-04-13 14:49:48 +0300 9856 9857 Quick & dirty update to support xz in diff/grep/more scripts. 9858 9859 src/scripts/Makefile.am | 38 +++++++++++++++++++----------- 9860 src/scripts/{lzdiff => xzdiff} | 24 +++++++++---------- 9861 src/scripts/{lzdiff.1 => xzdiff.1} | 29 ++++++++++++++--------- 9862 src/scripts/{lzgrep => xzgrep} | 10 ++++---- 9863 src/scripts/{lzgrep.1 => xzgrep.1} | 48 +++++++++++++++++++++++++------------- 9864 src/scripts/{lzmore => xzmore} | 12 +++++----- 9865 src/scripts/{lzmore.1 => xzmore.1} | 33 +++++++++++++++++--------- 9866 7 files changed, 119 insertions(+), 75 deletions(-) 9867 9868commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc 9869Author: Lasse Collin <lasse.collin@tukaani.org> 9870Date: 2009-04-13 11:27:40 +0300 9871 9872 Put the interesting parts of XZ Utils into the public domain. 9873 Some minor documentation cleanups were made at the same time. 9874 9875 COPYING | 67 ++++++++++++++++++++------ 9876 ChangeLog | 2 +- 9877 Doxyfile.in | 8 +-- 9878 Makefile.am | 13 ++--- 9879 autogen.sh | 9 ++++ 9880 configure.ac | 13 ++--- 9881 debug/Makefile.am | 13 ++--- 9882 debug/crc32.c | 13 ++--- 9883 debug/full_flush.c | 13 ++--- 9884 debug/hex2bin.c | 7 ++- 9885 debug/known_sizes.c | 13 ++--- 9886 debug/memusage.c | 13 ++--- 9887 debug/repeat.c | 13 ++--- 9888 debug/sync_flush.c | 13 ++--- 9889 doc/faq.txt | 38 ++------------- 9890 lib/Makefile.am | 18 +++---- 9891 src/Makefile.am | 13 ++--- 9892 src/common/bswap.h | 7 ++- 9893 src/common/cpucores.h | 7 ++- 9894 src/common/integer.h | 7 ++- 9895 src/common/mythread.h | 4 +- 9896 src/common/open_stdxxx.h | 7 ++- 9897 src/common/physmem.h | 7 ++- 9898 src/common/sysdefs.h | 13 ++--- 9899 src/liblzma/Makefile.am | 13 ++--- 9900 src/liblzma/api/Makefile.am | 13 ++--- 9901 src/liblzma/api/lzma.h | 38 +++++++++------ 9902 src/liblzma/api/lzma/base.h | 20 +++----- 9903 src/liblzma/api/lzma/bcj.h | 18 +++---- 9904 src/liblzma/api/lzma/block.h | 18 +++---- 9905 src/liblzma/api/lzma/check.h | 18 +++---- 9906 src/liblzma/api/lzma/container.h | 18 +++---- 9907 src/liblzma/api/lzma/delta.h | 18 +++---- 9908 src/liblzma/api/lzma/filter.h | 18 +++---- 9909 src/liblzma/api/lzma/index.h | 18 +++---- 9910 src/liblzma/api/lzma/index_hash.h | 22 +++------ 9911 src/liblzma/api/lzma/lzma.h | 18 +++---- 9912 src/liblzma/api/lzma/stream_flags.h | 18 +++---- 9913 src/liblzma/api/lzma/subblock.h | 18 +++---- 9914 src/liblzma/api/lzma/version.h | 18 +++---- 9915 src/liblzma/api/lzma/vli.h | 46 ++++++++---------- 9916 src/liblzma/check/Makefile.am | 8 ++- 9917 src/liblzma/check/check.c | 7 ++- 9918 src/liblzma/check/check.h | 7 ++- 9919 src/liblzma/check/crc32_fast.c | 30 +++++------- 9920 src/liblzma/check/crc32_small.c | 7 ++- 9921 src/liblzma/check/crc32_table.c | 7 ++- 9922 src/liblzma/check/crc32_tablegen.c | 7 ++- 9923 src/liblzma/check/crc32_x86.S | 21 +++++--- 9924 src/liblzma/check/crc64_fast.c | 20 +++----- 9925 src/liblzma/check/crc64_small.c | 7 ++- 9926 src/liblzma/check/crc64_table.c | 7 ++- 9927 src/liblzma/check/crc64_tablegen.c | 7 ++- 9928 src/liblzma/check/crc64_x86.S | 14 ++++-- 9929 src/liblzma/check/crc_macros.h | 9 ++-- 9930 src/liblzma/check/sha256.c | 23 +++++---- 9931 src/liblzma/common/Makefile.am | 13 ++--- 9932 src/liblzma/common/alone_decoder.c | 13 ++--- 9933 src/liblzma/common/alone_decoder.h | 13 ++--- 9934 src/liblzma/common/alone_encoder.c | 13 ++--- 9935 src/liblzma/common/auto_decoder.c | 13 ++--- 9936 src/liblzma/common/block_buffer_decoder.c | 13 ++--- 9937 src/liblzma/common/block_buffer_encoder.c | 13 ++--- 9938 src/liblzma/common/block_decoder.c | 13 ++--- 9939 src/liblzma/common/block_decoder.h | 13 ++--- 9940 src/liblzma/common/block_encoder.c | 13 ++--- 9941 src/liblzma/common/block_encoder.h | 13 ++--- 9942 src/liblzma/common/block_header_decoder.c | 13 ++--- 9943 src/liblzma/common/block_header_encoder.c | 13 ++--- 9944 src/liblzma/common/block_util.c | 13 ++--- 9945 src/liblzma/common/bsr.h | 7 ++- 9946 src/liblzma/common/chunk_size.c | 13 ++--- 9947 src/liblzma/common/common.c | 13 ++--- 9948 src/liblzma/common/common.h | 13 ++--- 9949 src/liblzma/common/easy_buffer_encoder.c | 13 ++--- 9950 src/liblzma/common/easy_decoder_memusage.c | 13 ++--- 9951 src/liblzma/common/easy_encoder.c | 13 ++--- 9952 src/liblzma/common/easy_encoder_memusage.c | 13 ++--- 9953 src/liblzma/common/easy_preset.c | 13 ++--- 9954 src/liblzma/common/easy_preset.h | 13 ++--- 9955 src/liblzma/common/filter_buffer_decoder.c | 13 ++--- 9956 src/liblzma/common/filter_buffer_encoder.c | 13 ++--- 9957 src/liblzma/common/filter_common.c | 13 ++--- 9958 src/liblzma/common/filter_common.h | 13 ++--- 9959 src/liblzma/common/filter_decoder.c | 13 ++--- 9960 src/liblzma/common/filter_decoder.h | 13 ++--- 9961 src/liblzma/common/filter_encoder.c | 13 ++--- 9962 src/liblzma/common/filter_encoder.h | 13 ++--- 9963 src/liblzma/common/filter_flags_decoder.c | 13 ++--- 9964 src/liblzma/common/filter_flags_encoder.c | 13 ++--- 9965 src/liblzma/common/index.c | 13 ++--- 9966 src/liblzma/common/index.h | 13 ++--- 9967 src/liblzma/common/index_decoder.c | 13 ++--- 9968 src/liblzma/common/index_encoder.c | 13 ++--- 9969 src/liblzma/common/index_encoder.h | 13 ++--- 9970 src/liblzma/common/index_hash.c | 13 ++--- 9971 src/liblzma/common/stream_buffer_decoder.c | 13 ++--- 9972 src/liblzma/common/stream_buffer_encoder.c | 13 ++--- 9973 src/liblzma/common/stream_decoder.c | 13 ++--- 9974 src/liblzma/common/stream_decoder.h | 13 ++--- 9975 src/liblzma/common/stream_encoder.c | 13 ++--- 9976 src/liblzma/common/stream_encoder.h | 13 ++--- 9977 src/liblzma/common/stream_flags_common.c | 13 ++--- 9978 src/liblzma/common/stream_flags_common.h | 13 ++--- 9979 src/liblzma/common/stream_flags_decoder.c | 13 ++--- 9980 src/liblzma/common/stream_flags_encoder.c | 13 ++--- 9981 src/liblzma/common/vli_decoder.c | 13 ++--- 9982 src/liblzma/common/vli_encoder.c | 13 ++--- 9983 src/liblzma/common/vli_size.c | 13 ++--- 9984 src/liblzma/delta/Makefile.am | 13 ++--- 9985 src/liblzma/delta/delta_common.c | 13 ++--- 9986 src/liblzma/delta/delta_common.h | 13 ++--- 9987 src/liblzma/delta/delta_decoder.c | 13 ++--- 9988 src/liblzma/delta/delta_decoder.h | 13 ++--- 9989 src/liblzma/delta/delta_encoder.c | 13 ++--- 9990 src/liblzma/delta/delta_encoder.h | 13 ++--- 9991 src/liblzma/delta/delta_private.h | 13 ++--- 9992 src/liblzma/lz/Makefile.am | 13 ++--- 9993 src/liblzma/lz/lz_decoder.c | 17 ++----- 9994 src/liblzma/lz/lz_decoder.h | 17 ++----- 9995 src/liblzma/lz/lz_encoder.c | 17 ++----- 9996 src/liblzma/lz/lz_encoder.h | 17 ++----- 9997 src/liblzma/lz/lz_encoder_hash.h | 13 ++--- 9998 src/liblzma/lz/lz_encoder_mf.c | 17 ++----- 9999 src/liblzma/lzma/Makefile.am | 13 ++--- 10000 src/liblzma/lzma/fastpos.h | 17 ++----- 10001 src/liblzma/lzma/fastpos_tablegen.c | 17 ++----- 10002 src/liblzma/lzma/lzma2_decoder.c | 17 ++----- 10003 src/liblzma/lzma/lzma2_decoder.h | 17 ++----- 10004 src/liblzma/lzma/lzma2_encoder.c | 17 ++----- 10005 src/liblzma/lzma/lzma2_encoder.h | 17 ++----- 10006 src/liblzma/lzma/lzma_common.h | 17 ++----- 10007 src/liblzma/lzma/lzma_decoder.c | 17 ++----- 10008 src/liblzma/lzma/lzma_decoder.h | 17 ++----- 10009 src/liblzma/lzma/lzma_encoder.c | 17 ++----- 10010 src/liblzma/lzma/lzma_encoder.h | 17 ++----- 10011 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 13 ++--- 10012 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 ++--- 10013 src/liblzma/lzma/lzma_encoder_presets.c | 13 ++--- 10014 src/liblzma/lzma/lzma_encoder_private.h | 17 ++----- 10015 src/liblzma/rangecoder/Makefile.am | 13 ++--- 10016 src/liblzma/rangecoder/price.h | 13 ++--- 10017 src/liblzma/rangecoder/price_tablegen.c | 16 ++---- 10018 src/liblzma/rangecoder/range_common.h | 17 ++----- 10019 src/liblzma/rangecoder/range_decoder.h | 17 ++----- 10020 src/liblzma/rangecoder/range_encoder.h | 17 ++----- 10021 src/liblzma/simple/Makefile.am | 13 ++--- 10022 src/liblzma/simple/arm.c | 17 ++----- 10023 src/liblzma/simple/armthumb.c | 17 ++----- 10024 src/liblzma/simple/ia64.c | 17 ++----- 10025 src/liblzma/simple/powerpc.c | 17 ++----- 10026 src/liblzma/simple/simple_coder.c | 13 ++--- 10027 src/liblzma/simple/simple_coder.h | 14 ++---- 10028 src/liblzma/simple/simple_decoder.c | 13 ++--- 10029 src/liblzma/simple/simple_decoder.h | 13 ++--- 10030 src/liblzma/simple/simple_encoder.c | 13 ++--- 10031 src/liblzma/simple/simple_encoder.h | 13 ++--- 10032 src/liblzma/simple/simple_private.h | 13 ++--- 10033 src/liblzma/simple/sparc.c | 17 ++----- 10034 src/liblzma/simple/x86.c | 17 ++----- 10035 src/liblzma/subblock/Makefile.am | 13 ++--- 10036 src/liblzma/subblock/subblock_decoder.c | 13 ++--- 10037 src/liblzma/subblock/subblock_decoder.h | 13 ++--- 10038 src/liblzma/subblock/subblock_decoder_helper.c | 13 ++--- 10039 src/liblzma/subblock/subblock_decoder_helper.h | 13 ++--- 10040 src/liblzma/subblock/subblock_encoder.c | 13 ++--- 10041 src/liblzma/subblock/subblock_encoder.h | 13 ++--- 10042 src/scripts/Makefile.am | 7 +++ 10043 src/xz/Makefile.am | 13 ++--- 10044 src/xz/args.c | 13 ++--- 10045 src/xz/args.h | 13 ++--- 10046 src/xz/hardware.c | 13 ++--- 10047 src/xz/hardware.h | 13 ++--- 10048 src/xz/io.c | 13 ++--- 10049 src/xz/io.h | 13 ++--- 10050 src/xz/list.c | 13 ++--- 10051 src/xz/main.c | 13 ++--- 10052 src/xz/main.h | 13 ++--- 10053 src/xz/message.c | 13 ++--- 10054 src/xz/message.h | 13 ++--- 10055 src/xz/options.c | 13 ++--- 10056 src/xz/options.h | 13 ++--- 10057 src/xz/private.h | 13 ++--- 10058 src/xz/process.c | 13 ++--- 10059 src/xz/process.h | 13 ++--- 10060 src/xz/signals.c | 13 ++--- 10061 src/xz/signals.h | 13 ++--- 10062 src/xz/suffix.c | 13 ++--- 10063 src/xz/suffix.h | 13 ++--- 10064 src/xz/util.c | 13 ++--- 10065 src/xz/util.h | 13 ++--- 10066 src/xzdec/Makefile.am | 13 ++--- 10067 src/xzdec/xzdec.c | 13 ++--- 10068 tests/Makefile.am | 13 ++--- 10069 tests/bcj_test.c | 7 ++- 10070 tests/create_compress_files.c | 13 ++--- 10071 tests/test_block.c | 13 ++--- 10072 tests/test_block_header.c | 13 ++--- 10073 tests/test_check.c | 13 ++--- 10074 tests/test_compress.sh | 13 ++--- 10075 tests/test_files.sh | 13 ++--- 10076 tests/test_filter_flags.c | 13 ++--- 10077 tests/test_index.c | 13 ++--- 10078 tests/test_stream_flags.c | 13 ++--- 10079 tests/tests.h | 13 ++--- 10080 windows/common.rc | 2 +- 10081 206 files changed, 868 insertions(+), 2023 deletions(-) 10082 10083commit e79c42d854657ae7f75613bd80c1a35ff7c525cb 10084Author: Lasse Collin <lasse.collin@tukaani.org> 10085Date: 2009-04-10 11:17:02 +0300 10086 10087 Fix off-by-one in LZ decoder. 10088 10089 Fortunately, this bug had no security risk other than accepting 10090 some corrupt files as valid. 10091 10092 src/liblzma/lz/lz_decoder.h | 2 +- 10093 1 file changed, 1 insertion(+), 1 deletion(-) 10094 10095commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af 10096Author: Pavel Roskin <proski@gnu.org> 10097Date: 2009-03-31 12:15:01 -0400 10098 10099 Fix minor typos in README 10100 10101 README | 6 +++--- 10102 1 file changed, 3 insertions(+), 3 deletions(-) 10103 10104commit 9bab5336ebd765ec4e12252f416eefdf04eba750 10105Author: Lasse Collin <lasse.collin@tukaani.org> 10106Date: 2009-03-31 21:52:51 +0300 10107 10108 Add a note and work-around instructions to README about 10109 problems detecting a C99 compiler when some standard 10110 headers are missing. 10111 10112 README | 11 +++++++++++ 10113 1 file changed, 11 insertions(+) 10114 10115commit a0497ff7a06f9350349264fe9b52dfefc6d53ead 10116Author: Lasse Collin <lasse.collin@tukaani.org> 10117Date: 2009-03-18 16:54:38 +0200 10118 10119 Updated THANKS. 10120 10121 THANKS | 1 + 10122 1 file changed, 1 insertion(+) 10123 10124commit 390e69887fc5e0a108eb41203bed9acd100a3d76 10125Author: Lasse Collin <lasse.collin@tukaani.org> 10126Date: 2009-03-18 16:51:41 +0200 10127 10128 Fix wrong macro names in lc_cpucores.m4 and cpucores.h. 10129 Thanks to Bert Wesarg. 10130 10131 m4/lc_cpucores.m4 | 4 ++-- 10132 src/common/cpucores.h | 4 ++-- 10133 2 files changed, 4 insertions(+), 4 deletions(-) 10134 10135commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6 10136Author: Lasse Collin <lasse.collin@tukaani.org> 10137Date: 2009-03-01 09:03:08 +0200 10138 10139 Test for Linux-specific sysinfo() only on Linux systems. 10140 Some other systems have sysinfo() with different semantics. 10141 10142 m4/lc_physmem.m4 | 28 +++++++++++++++++++--------- 10143 1 file changed, 19 insertions(+), 9 deletions(-) 10144 10145commit cf751edfde3ad6e088dc18e0522d31ae38405933 10146Author: Lasse Collin <lasse.collin@tukaani.org> 10147Date: 2009-03-01 09:00:06 +0200 10148 10149 Added AC_CONFIG_MACRO_DIR to configure.ac. 10150 10151 configure.ac | 1 + 10152 1 file changed, 1 insertion(+) 10153 10154commit 63df14c57dee7c461717784287056688482a7eb9 10155Author: Lasse Collin <lasse.collin@tukaani.org> 10156Date: 2009-03-01 08:58:41 +0200 10157 10158 Fix the Autoconf test for getopt_long replacement. 10159 It was broken by e114502b2bc371e4a45449832cb69be036360722. 10160 10161 m4/getopt.m4 | 4 ++++ 10162 1 file changed, 4 insertions(+) 10163 10164commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f 10165Author: Lasse Collin <lasse.collin@tukaani.org> 10166Date: 2009-02-22 19:07:54 +0200 10167 10168 Add a rough explanation of --extreme to output of --help. 10169 10170 src/xz/message.c | 4 ++++ 10171 1 file changed, 4 insertions(+) 10172 10173commit 68bf7ac2984d3627369a240ef0491934d53f7899 10174Author: Lasse Collin <lasse.collin@tukaani.org> 10175Date: 2009-02-22 18:52:49 +0200 10176 10177 Fixes to progress message handling in xz: 10178 10179 - Don't use Windows-specific code on Windows. The old code 10180 required at least Windows 2000. Now it should work on 10181 Windows 98 and later, and maybe on Windows 95 too. 10182 10183 - Use less precision when showing estimated remaining time. 10184 10185 - Fix some small design issues. 10186 10187 src/xz/message.c | 483 +++++++++++++++++++++++++++++++++++-------------------- 10188 src/xz/message.h | 28 ++-- 10189 src/xz/process.c | 53 +++--- 10190 3 files changed, 351 insertions(+), 213 deletions(-) 10191 10192commit 47c2e21f82242f50f18713a27d644c2c94ab3fea 10193Author: Lasse Collin <lasse.collin@tukaani.org> 10194Date: 2009-02-18 13:00:10 +0200 10195 10196 Added files missing from the previous commit. 10197 10198 src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++ 10199 src/liblzma/common/Makefile.am | 7 ++++++- 10200 2 files changed, 39 insertions(+), 1 deletion(-) 10201 10202commit 489a3dbaa0465f04400804e956a1cfbbee3654a2 10203Author: Lasse Collin <lasse.collin@tukaani.org> 10204Date: 2009-02-17 10:43:00 +0200 10205 10206 Added lzma_easy_buffer_encode(). Splitted easy.c into small 10207 pieces to avoid unneeded dependencies making statically 10208 linked applications bigger than needed. 10209 10210 dos/Makefile | 6 ++- 10211 src/liblzma/common/easy_buffer_encoder.c | 34 +++++++++++++++++ 10212 src/liblzma/common/easy_decoder_memusage.c | 31 ++++++++++++++++ 10213 src/liblzma/common/{easy.c => easy_encoder.c} | 53 +++------------------------ 10214 src/liblzma/common/easy_encoder_memusage.c | 31 ++++++++++++++++ 10215 src/liblzma/common/easy_preset.c | 34 +++++++++++++++++ 10216 src/liblzma/common/easy_preset.h | 39 ++++++++++++++++++++ 10217 windows/Makefile | 6 ++- 10218 8 files changed, 185 insertions(+), 49 deletions(-) 10219 10220commit 7494816ab08d82f4d6409788825930c4e43cfd0d 10221Author: Lasse Collin <lasse.collin@tukaani.org> 10222Date: 2009-02-15 15:48:45 +0200 10223 10224 Make physmem.h work on old Windows versions. 10225 Thanks to Hongbo Ni for the original patch. 10226 10227 src/common/physmem.h | 31 +++++++++++++++++++++++++++---- 10228 1 file changed, 27 insertions(+), 4 deletions(-) 10229 10230commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0 10231Author: Lasse Collin <lasse.collin@tukaani.org> 10232Date: 2009-02-14 20:44:52 +0200 10233 10234 Fix microsecond vs. nanosecond confusion in my_time(). 10235 10236 src/xz/message.c | 2 +- 10237 1 file changed, 1 insertion(+), 1 deletion(-) 10238 10239commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7 10240Author: Lasse Collin <lasse.collin@tukaani.org> 10241Date: 2009-02-14 00:45:29 +0200 10242 10243 Cleanups to the code that detects the amount of RAM and 10244 the number of CPU cores. Added support for using sysinfo() 10245 on Linux systems whose libc lacks appropriate sysconf() 10246 support (at least dietlibc). The Autoconf macros were 10247 split into separate files, and CPU core count detection 10248 was moved from hardware.c to cpucores.h. The core count 10249 isn't used for anything real for now, so a problematic 10250 part in process.c was commented out. 10251 10252 configure.ac | 89 ++------------------------------------------------- 10253 m4/lc_cpucores.m4 | 57 +++++++++++++++++++++++++++++++++ 10254 m4/lc_physmem.m4 | 74 ++++++++++++++++++++++++++++++++++++++++++ 10255 src/common/cpucores.h | 52 ++++++++++++++++++++++++++++++ 10256 src/common/physmem.h | 21 +++++++----- 10257 src/xz/args.c | 4 +-- 10258 src/xz/hardware.c | 50 +++++++++++++---------------- 10259 src/xz/hardware.h | 11 +++++-- 10260 src/xz/message.c | 5 +-- 10261 src/xz/process.c | 2 ++ 10262 10 files changed, 235 insertions(+), 130 deletions(-) 10263 10264commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8 10265Author: Lasse Collin <lasse.collin@tukaani.org> 10266Date: 2009-02-13 18:23:50 +0200 10267 10268 Initial port to DOS using DJGPP. 10269 10270 dos/Makefile | 261 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 10271 dos/README | 113 ++++++++++++++++++++++++++ 10272 dos/config.h | 150 ++++++++++++++++++++++++++++++++++ 10273 3 files changed, 524 insertions(+) 10274 10275commit 0dae8b7751d09e9c5a482d5519daaee4800ce203 10276Author: Lasse Collin <lasse.collin@tukaani.org> 10277Date: 2009-02-13 18:02:05 +0200 10278 10279 Windows port: Take advantage of the version number macros. 10280 Now the version number is not duplicated in the 10281 Windows-specific files anymore. 10282 10283 windows/Makefile | 2 +- 10284 windows/common.rc | 16 ++++++++-------- 10285 windows/config.h | 15 --------------- 10286 3 files changed, 9 insertions(+), 24 deletions(-) 10287 10288commit fdbc0cfa71f7d660855098a609175ba384259529 10289Author: Lasse Collin <lasse.collin@tukaani.org> 10290Date: 2009-02-13 18:00:03 +0200 10291 10292 Changed how the version number is specified in various places. 10293 Now configure.ac will get the version number directly from 10294 src/liblzma/api/lzma/version.h. The intent is to reduce the 10295 number of places where the version number is duplicated. In 10296 future, support for displaying Git commit ID may be added too. 10297 10298 configure.ac | 3 +- 10299 src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++++-- 10300 src/liblzma/common/common.c | 2 +- 10301 src/xz/message.c | 2 +- 10302 src/xzdec/xzdec.c | 2 +- 10303 version.sh | 23 ++++++++++++++ 10304 6 files changed, 95 insertions(+), 7 deletions(-) 10305 10306commit 1d924e584b146136989f48c13fff2632896efb3d 10307Author: Lasse Collin <lasse.collin@tukaani.org> 10308Date: 2009-02-13 17:30:30 +0200 10309 10310 Fix handling of integrity check type in the xz command line tool. 10311 10312 src/xz/args.c | 9 ++++++++- 10313 src/xz/process.c | 4 ++++ 10314 2 files changed, 12 insertions(+), 1 deletion(-) 10315 10316commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8 10317Author: Lasse Collin <lasse.collin@tukaani.org> 10318Date: 2009-02-13 17:29:02 +0200 10319 10320 Improve support for DOS-like systems. 10321 Here DOS-like means DOS, Windows, and OS/2. 10322 10323 src/common/physmem.h | 12 ++++++++++++ 10324 src/common/sysdefs.h | 4 ++++ 10325 src/liblzma/check/crc32_x86.S | 6 +++--- 10326 src/liblzma/check/crc64_x86.S | 6 +++--- 10327 src/xz/args.c | 13 +++++-------- 10328 src/xz/io.c | 39 +++++++++++++++++++++++++-------------- 10329 src/xz/main.c | 23 +++++++++++++++++++++++ 10330 src/xz/message.c | 3 +++ 10331 src/xz/suffix.c | 5 +++++ 10332 src/xzdec/xzdec.c | 5 +++-- 10333 10 files changed, 86 insertions(+), 30 deletions(-) 10334 10335commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33 10336Author: Lasse Collin <lasse.collin@tukaani.org> 10337Date: 2009-02-11 20:02:32 +0200 10338 10339 Remove dead directories from .gitignore. 10340 10341 .gitignore | 2 -- 10342 1 file changed, 2 deletions(-) 10343 10344commit 1ec5b0027911d94cb6f98892cbc690f818d8a861 10345Author: Jim Meyering <jim@meyering.net> 10346Date: 2009-02-11 14:45:14 +0100 10347 10348 .gitignore vs. Makefiles 10349 10350 How about this for those of us who do srcdir builds? 10351 10352 .gitignore | 22 ++++++++++++++++++++++ 10353 1 file changed, 22 insertions(+) 10354 10355commit 154f5aec2de201c674841de4fcc9804c2a87af07 10356Author: Lasse Collin <lasse.collin@tukaani.org> 10357Date: 2009-02-10 21:48:35 +0200 10358 10359 Removed Makefile from .gitignore since not all Makefiles 10360 in the repository are generated by Autotools. People 10361 should do test builds in a separate build directory anyway. 10362 10363 .gitignore | 1 - 10364 1 file changed, 1 deletion(-) 10365 10366commit e605c2663691b0a4c307786aa368d124ea081daa 10367Author: Lasse Collin <lasse.collin@tukaani.org> 10368Date: 2009-02-10 21:48:05 +0200 10369 10370 Added resource files for the Windows build. 10371 10372 windows/Makefile | 37 ++++++++++++++++++++++--------------- 10373 windows/common.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 10374 windows/liblzma.rc | 5 +++++ 10375 windows/lzmadec.rc | 5 +++++ 10376 windows/xz.rc | 5 +++++ 10377 windows/xzdec.rc | 5 +++++ 10378 6 files changed, 88 insertions(+), 15 deletions(-) 10379 10380commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476 10381Author: Lasse Collin <lasse.collin@tukaani.org> 10382Date: 2009-02-09 14:54:31 +0200 10383 10384 Let the user specify custom CFLAGS on the make command 10385 line. Previously custom CFLAGS worked only when they were 10386 passed to configure. 10387 10388 configure.ac | 58 ++++++++++++++++++++++--------------------- 10389 src/liblzma/check/Makefile.am | 2 +- 10390 2 files changed, 31 insertions(+), 29 deletions(-) 10391 10392commit 53f7598998b1860a69c51243b5d2e34623c6bf60 10393Author: Lasse Collin <lasse.collin@tukaani.org> 10394Date: 2009-02-08 21:35:11 +0200 10395 10396 Fix aliasing issue in physmem.h. 10397 10398 src/common/physmem.h | 19 ++++++++++--------- 10399 1 file changed, 10 insertions(+), 9 deletions(-) 10400 10401commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6 10402Author: Lasse Collin <lasse.collin@tukaani.org> 10403Date: 2009-02-08 18:24:50 +0200 10404 10405 Add a separate internal function to initialize the CRC32 10406 table, which is used also by LZ encoder. This was needed 10407 because calling lzma_crc32() and ignoring the result is 10408 a no-op due to lzma_attr_pure. 10409 10410 src/liblzma/check/check.h | 1 + 10411 src/liblzma/check/crc32_small.c | 10 +++++++++- 10412 src/liblzma/lz/lz_encoder.c | 4 ++-- 10413 3 files changed, 12 insertions(+), 3 deletions(-) 10414 10415commit ae1ad9af54210c9a2be336b1316532da5071516c 10416Author: Lasse Collin <lasse.collin@tukaani.org> 10417Date: 2009-02-08 18:17:05 +0200 10418 10419 Make "xz --force" to write to terminal as the error 10420 message suggests. 10421 10422 src/xz/main.c | 2 +- 10423 1 file changed, 1 insertion(+), 1 deletion(-) 10424 10425commit 79e25eded48d2fe33f31441ab7a034f902e335f8 10426Author: Lasse Collin <lasse.collin@tukaani.org> 10427Date: 2009-02-08 10:37:50 +0200 10428 10429 Support both slash and backslash as path component 10430 separator on Windows when parsing argv[0]. 10431 10432 src/xz/args.c | 9 +++++++++ 10433 1 file changed, 9 insertions(+) 10434 10435commit bc7c7109cc4410055a888c1c70cbd1c9445c4361 10436Author: Lasse Collin <lasse.collin@tukaani.org> 10437Date: 2009-02-07 23:18:13 +0200 10438 10439 Omit the wrong and (even if corrected) nowadays useless rm 10440 from autogen.sh. 10441 10442 autogen.sh | 28 ---------------------------- 10443 1 file changed, 28 deletions(-) 10444 10445commit edfc2031e56f8a2ccda063f02936b3a848d88723 10446Author: Lasse Collin <lasse.collin@tukaani.org> 10447Date: 2009-02-07 21:41:52 +0200 10448 10449 Updated THANKS. 10450 10451 THANKS | 1 + 10452 1 file changed, 1 insertion(+) 10453 10454commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3 10455Author: Lasse Collin <lasse.collin@tukaani.org> 10456Date: 2009-02-07 21:17:07 +0200 10457 10458 Make it easy to choose if command line tools should be 10459 linked statically or dynamically against liblzma. The 10460 default is still to use static liblzma, but it can now 10461 be changed by passing --enable-dynamic to configure. 10462 Thanks to Mike Frysinger for the original patch. 10463 10464 Fixed a few minor bugs in configure.ac. 10465 10466 configure.ac | 39 +++++++++++++++++++++++++++++++++++++++ 10467 src/xz/Makefile.am | 8 +++----- 10468 src/xzdec/Makefile.am | 5 +++-- 10469 3 files changed, 45 insertions(+), 7 deletions(-) 10470 10471commit 3f86532407e4ace3debb62be16035e009b56ca36 10472Author: Mike Frysinger <vapier@gentoo.org> 10473Date: 2009-02-06 23:38:39 -0500 10474 10475 add gitignore files 10476 10477 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 10478 10479 .gitignore | 32 ++++++++++++++++++++++++++++++++ 10480 m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++ 10481 po/.gitignore | 12 ++++++++++++ 10482 3 files changed, 79 insertions(+) 10483 10484commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5 10485Author: Lasse Collin <lasse.collin@tukaani.org> 10486Date: 2009-02-07 17:07:52 +0200 10487 10488 Assume 32 MiB of RAM on unsupported operating systems like 10489 the comment in hardware.c already said. 10490 10491 src/xz/hardware.c | 2 +- 10492 1 file changed, 1 insertion(+), 1 deletion(-) 10493 10494commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618 10495Author: Lasse Collin <lasse.collin@tukaani.org> 10496Date: 2009-02-07 16:26:58 +0200 10497 10498 MinGW support: Don't build fastpos_tablegen.c as part of 10499 liblzma. Build both static and dynamic liblzma, and also 10500 static and dynamic versions of the command line tools. 10501 10502 windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++++-------------- 10503 windows/README | 10 ------ 10504 2 files changed, 69 insertions(+), 33 deletions(-) 10505 10506commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45 10507Author: Lasse Collin <lasse.collin@tukaani.org> 10508Date: 2009-02-07 15:55:47 +0200 10509 10510 Support LZMA_API_STATIC in assembler files to 10511 avoid __declspec(dllexport) equivalent. 10512 10513 src/liblzma/check/crc32_x86.S | 4 ++++ 10514 src/liblzma/check/crc64_x86.S | 2 ++ 10515 2 files changed, 6 insertions(+) 10516 10517commit 3306cf3883492720b3c34baa02f4eb4227d91c73 10518Author: Lasse Collin <lasse.collin@tukaani.org> 10519Date: 2009-02-07 11:11:50 +0200 10520 10521 Introduced LZMA_API_STATIC macro, which the applications 10522 need to #define when linking against static liblzma on 10523 platforms like Windows. Most developers don't need to 10524 care about LZMA_API_STATIC at all. 10525 10526 src/liblzma/api/lzma.h | 31 ++++++++++++++++++++++++------- 10527 src/liblzma/common/common.h | 2 +- 10528 2 files changed, 25 insertions(+), 8 deletions(-) 10529 10530commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b 10531Author: Lasse Collin <lasse.collin@tukaani.org> 10532Date: 2009-02-06 16:55:45 +0200 10533 10534 Another grammar fix 10535 10536 README | 2 +- 10537 1 file changed, 1 insertion(+), 1 deletion(-) 10538 10539commit fe5434f940f75fec3611cf9d9edf78c4da8ac760 10540Author: Lasse Collin <lasse.collin@tukaani.org> 10541Date: 2009-02-06 12:30:23 +0200 10542 10543 Grammar fix in README. 10544 10545 README | 2 +- 10546 1 file changed, 1 insertion(+), 1 deletion(-) 10547 10548commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245 10549Author: Lasse Collin <lasse.collin@tukaani.org> 10550Date: 2009-02-06 10:06:32 +0200 10551 10552 Some MSYS installations (e.g. MsysGit) don't include 10553 install.exe, so don't rely on it. 10554 10555 windows/Makefile | 12 +++++++----- 10556 windows/README | 11 ++++++----- 10557 2 files changed, 13 insertions(+), 10 deletions(-) 10558 10559commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31 10560Author: Lasse Collin <lasse.collin@tukaani.org> 10561Date: 2009-02-06 09:13:15 +0200 10562 10563 Recreated the BCJ test files for x86 and SPARC. The old files 10564 were linked with crt*.o, which are copyrighted, and thus the 10565 old test files were not in the public domain as a whole. They 10566 are freely distributable though, but it is better to be careful 10567 and avoid including any copyrighted pieces in the test files. 10568 The new files are just compiled and assembled object files, 10569 and thus don't contain any copyrighted code. 10570 10571 tests/bcj_test.c | 2 +- 10572 tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes 10573 tests/compress_prepared_bcj_x86 | Bin 4649 -> 1388 bytes 10574 tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes 10575 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 716 bytes 10576 5 files changed, 1 insertion(+), 1 deletion(-) 10577 10578commit 094b1b09a531f0d201ec81f2b07346a995fd80b9 10579Author: Lasse Collin <lasse.collin@tukaani.org> 10580Date: 2009-02-05 21:21:27 +0200 10581 10582 Add the "windows" directory to EXTRA_DIST. 10583 10584 Makefile.am | 1 + 10585 1 file changed, 1 insertion(+) 10586 10587commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49 10588Author: Lasse Collin <lasse.collin@tukaani.org> 10589Date: 2009-02-05 09:17:51 +0200 10590 10591 Added initial experimental makefile for use with MinGW. 10592 10593 windows/Makefile | 253 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 10594 windows/README | 164 ++++++++++++++++++++++++++++++++++++ 10595 windows/config.h | 180 +++++++++++++++++++++++++++++++++++++++ 10596 3 files changed, 597 insertions(+) 10597 10598commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9 10599Author: Lasse Collin <lasse.collin@tukaani.org> 10600Date: 2009-02-05 09:12:57 +0200 10601 10602 Various code cleanups the the xz command line tool. 10603 It now builds with MinGW. 10604 10605 src/common/physmem.h | 13 ++++ 10606 src/xz/Makefile.am | 2 + 10607 src/xz/args.h | 8 --- 10608 src/xz/hardware.h | 10 +-- 10609 src/xz/io.c | 93 +++++++++++++++++++------- 10610 src/xz/io.h | 12 ++-- 10611 src/xz/main.c | 132 ++----------------------------------- 10612 src/xz/main.h | 22 ------- 10613 src/xz/message.c | 65 ++++++++++++++++--- 10614 src/xz/message.h | 6 -- 10615 src/xz/options.h | 8 --- 10616 src/xz/private.h | 18 ++++-- 10617 src/xz/process.h | 10 +-- 10618 src/xz/signals.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++ 10619 src/xz/signals.h | 51 +++++++++++++++ 10620 src/xz/suffix.h | 5 -- 10621 src/xz/util.c | 5 +- 10622 src/xz/util.h | 5 -- 10623 18 files changed, 399 insertions(+), 246 deletions(-) 10624 10625commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe 10626Author: Lasse Collin <lasse.collin@tukaani.org> 10627Date: 2009-02-03 12:15:17 +0200 10628 10629 Another utime() fix. 10630 10631 src/xz/io.c | 9 +++++---- 10632 1 file changed, 5 insertions(+), 4 deletions(-) 10633 10634commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca 10635Author: Lasse Collin <lasse.collin@tukaani.org> 10636Date: 2009-02-03 10:41:11 +0200 10637 10638 Fix wrong filename argument for utime() and utimes(). 10639 This doesn't affect most systems, since most systems 10640 have better functions available. 10641 10642 src/xz/io.c | 4 ++-- 10643 1 file changed, 2 insertions(+), 2 deletions(-) 10644 10645commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302 10646Author: Lasse Collin <lasse.collin@tukaani.org> 10647Date: 2009-02-02 21:19:01 +0200 10648 10649 Updated the x86 assembler code: 10650 - Use call/ret pair to get instruction pointer for PIC. 10651 - Use PIC only if PIC or __PIC__ is #defined. 10652 - The code should work on MinGW and Darwin in addition 10653 to GNU/Linux and Solaris. 10654 10655 configure.ac | 6 ---- 10656 src/liblzma/check/crc32_x86.S | 84 ++++++++++++++++++++++++++++++++++++------- 10657 src/liblzma/check/crc64_x86.S | 82 ++++++++++++++++++++++++++++++++++++------ 10658 3 files changed, 144 insertions(+), 28 deletions(-) 10659 10660commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f 10661Author: Lasse Collin <lasse.collin@tukaani.org> 10662Date: 2009-02-02 20:14:03 +0200 10663 10664 Modify LZMA_API macro so that it works on Windows with 10665 other compilers than MinGW. This may hurt readability 10666 of the API headers slightly, but I don't know any 10667 better way to do this. 10668 10669 src/liblzma/api/lzma.h | 6 ++--- 10670 src/liblzma/api/lzma/base.h | 11 ++++---- 10671 src/liblzma/api/lzma/block.h | 22 ++++++++-------- 10672 src/liblzma/api/lzma/check.h | 10 ++++---- 10673 src/liblzma/api/lzma/container.h | 22 ++++++++-------- 10674 src/liblzma/api/lzma/filter.h | 28 ++++++++++----------- 10675 src/liblzma/api/lzma/index.h | 40 +++++++++++++++--------------- 10676 src/liblzma/api/lzma/index_hash.h | 10 ++++---- 10677 src/liblzma/api/lzma/lzma.h | 6 ++--- 10678 src/liblzma/api/lzma/stream_flags.h | 10 ++++---- 10679 src/liblzma/api/lzma/version.h | 4 +-- 10680 src/liblzma/api/lzma/vli.h | 6 ++--- 10681 src/liblzma/check/check.c | 4 +-- 10682 src/liblzma/check/crc32_fast.c | 2 +- 10683 src/liblzma/check/crc32_small.c | 2 +- 10684 src/liblzma/check/crc64_fast.c | 2 +- 10685 src/liblzma/check/crc64_small.c | 2 +- 10686 src/liblzma/common/alone_decoder.c | 2 +- 10687 src/liblzma/common/alone_encoder.c | 2 +- 10688 src/liblzma/common/auto_decoder.c | 2 +- 10689 src/liblzma/common/block_buffer_decoder.c | 2 +- 10690 src/liblzma/common/block_buffer_encoder.c | 4 +-- 10691 src/liblzma/common/block_decoder.c | 2 +- 10692 src/liblzma/common/block_encoder.c | 2 +- 10693 src/liblzma/common/block_header_decoder.c | 2 +- 10694 src/liblzma/common/block_header_encoder.c | 4 +-- 10695 src/liblzma/common/block_util.c | 6 ++--- 10696 src/liblzma/common/chunk_size.c | 2 +- 10697 src/liblzma/common/common.c | 16 ++++++------ 10698 src/liblzma/common/common.h | 2 +- 10699 src/liblzma/common/easy.c | 6 ++--- 10700 src/liblzma/common/filter_buffer_decoder.c | 2 +- 10701 src/liblzma/common/filter_buffer_encoder.c | 2 +- 10702 src/liblzma/common/filter_decoder.c | 8 +++--- 10703 src/liblzma/common/filter_encoder.c | 12 ++++----- 10704 src/liblzma/common/filter_flags_decoder.c | 2 +- 10705 src/liblzma/common/filter_flags_encoder.c | 4 +-- 10706 src/liblzma/common/index.c | 32 ++++++++++++------------ 10707 src/liblzma/common/index_decoder.c | 4 +-- 10708 src/liblzma/common/index_encoder.c | 4 +-- 10709 src/liblzma/common/index_hash.c | 10 ++++---- 10710 src/liblzma/common/stream_buffer_decoder.c | 2 +- 10711 src/liblzma/common/stream_buffer_encoder.c | 4 +-- 10712 src/liblzma/common/stream_decoder.c | 2 +- 10713 src/liblzma/common/stream_encoder.c | 2 +- 10714 src/liblzma/common/stream_flags_common.c | 2 +- 10715 src/liblzma/common/stream_flags_decoder.c | 4 +-- 10716 src/liblzma/common/stream_flags_encoder.c | 4 +-- 10717 src/liblzma/common/vli_decoder.c | 2 +- 10718 src/liblzma/common/vli_encoder.c | 2 +- 10719 src/liblzma/common/vli_size.c | 2 +- 10720 src/liblzma/lz/lz_encoder.c | 2 +- 10721 src/liblzma/lzma/lzma_encoder.c | 2 +- 10722 src/liblzma/lzma/lzma_encoder_presets.c | 2 +- 10723 54 files changed, 177 insertions(+), 176 deletions(-) 10724 10725commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65 10726Author: Lasse Collin <lasse.collin@tukaani.org> 10727Date: 2009-02-01 22:40:35 +0200 10728 10729 Fix a bug in lzma_block_buffer_decode(), although this 10730 function should be rewritten anyway. 10731 10732 src/liblzma/common/block_buffer_decoder.c | 8 ++++---- 10733 1 file changed, 4 insertions(+), 4 deletions(-) 10734 10735commit 55fd41431e61fb8178858283d636b6781e33e847 10736Author: Lasse Collin <lasse.collin@tukaani.org> 10737Date: 2009-02-01 22:39:07 +0200 10738 10739 Added initial version of raw buffer-to-buffer coding 10740 functions, and cleaned up filter.h API header a little. 10741 May be very buggy, not tested yet. 10742 10743 src/liblzma/api/lzma/filter.h | 84 +++++++++++++++++++------- 10744 src/liblzma/common/Makefile.am | 2 + 10745 src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++++ 10746 src/liblzma/common/filter_buffer_encoder.c | 61 +++++++++++++++++++ 10747 4 files changed, 221 insertions(+), 20 deletions(-) 10748 10749commit 3e54ecee5cad30a5ca361a88a99230407abc0699 10750Author: Lasse Collin <lasse.collin@tukaani.org> 10751Date: 2009-02-01 00:11:20 +0200 10752 10753 Fix missing newlines in xzdec.c. 10754 10755 src/xzdec/xzdec.c | 6 +++--- 10756 1 file changed, 3 insertions(+), 3 deletions(-) 10757 10758commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35 10759Author: Lasse Collin <lasse.collin@tukaani.org> 10760Date: 2009-02-01 00:10:07 +0200 10761 10762 Use __cdecl also for function pointers in liblzma API when 10763 on Windows. 10764 10765 src/liblzma/api/lzma.h | 18 +++++++++++------- 10766 src/liblzma/api/lzma/base.h | 4 ++-- 10767 src/liblzma/common/common.h | 18 +++++++----------- 10768 3 files changed, 20 insertions(+), 20 deletions(-) 10769 10770commit 6a2eb54092fc625d59921a607ff68cd1a90aa898 10771Author: Lasse Collin <lasse.collin@tukaani.org> 10772Date: 2009-01-31 11:01:48 +0200 10773 10774 Add LZMA_API to liblzma API headers. It's useful at least 10775 on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h 10776 has to be #included separately where needed. 10777 10778 src/common/sysdefs.h | 2 -- 10779 src/liblzma/api/lzma.h | 17 ++++++++++++++ 10780 src/liblzma/api/lzma/base.h | 10 ++++---- 10781 src/liblzma/api/lzma/block.h | 25 +++++++++++--------- 10782 src/liblzma/api/lzma/check.h | 12 ++++++---- 10783 src/liblzma/api/lzma/container.h | 23 +++++++++--------- 10784 src/liblzma/api/lzma/filter.h | 24 +++++++++---------- 10785 src/liblzma/api/lzma/index.h | 47 +++++++++++++++++++++---------------- 10786 src/liblzma/api/lzma/index_hash.h | 11 +++++---- 10787 src/liblzma/api/lzma/lzma.h | 8 ++++--- 10788 src/liblzma/api/lzma/stream_flags.h | 10 ++++---- 10789 src/liblzma/api/lzma/version.h | 4 ++-- 10790 src/liblzma/api/lzma/vli.h | 10 ++++---- 10791 src/liblzma/common/common.h | 13 ++++++++-- 10792 src/xz/private.h | 1 + 10793 src/xzdec/xzdec.c | 1 + 10794 tests/tests.h | 1 + 10795 17 files changed, 131 insertions(+), 88 deletions(-) 10796 10797commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b 10798Author: Lasse Collin <lasse.collin@tukaani.org> 10799Date: 2009-01-31 10:13:09 +0200 10800 10801 Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. 10802 10803 src/xzdec/xzdec.c | 4 ++-- 10804 1 file changed, 2 insertions(+), 2 deletions(-) 10805 10806commit 2dbdc5befb33c3703e4609809101047c67caf343 10807Author: Lasse Collin <lasse.collin@tukaani.org> 10808Date: 2009-01-31 10:02:52 +0200 10809 10810 Fix two lines in lzma.h on which the # wasn't at the 10811 beginning of the line. 10812 10813 src/liblzma/api/lzma.h | 4 ++-- 10814 1 file changed, 2 insertions(+), 2 deletions(-) 10815 10816commit 4ab760109106dc04f39dd81c97d50f528d1b51c1 10817Author: Lasse Collin <lasse.collin@tukaani.org> 10818Date: 2009-01-31 09:55:05 +0200 10819 10820 Add support for using liblzma headers in MSVC, which has no 10821 stdint.h or inttypes.h. 10822 10823 src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++++----------------- 10824 1 file changed, 46 insertions(+), 24 deletions(-) 10825 10826commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9 10827Author: Lasse Collin <lasse.collin@tukaani.org> 10828Date: 2009-01-31 08:49:54 +0200 10829 10830 Fix # -> ## in a macro in lzma.h. 10831 10832 src/liblzma/api/lzma.h | 2 +- 10833 1 file changed, 1 insertion(+), 1 deletion(-) 10834 10835commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208 10836Author: Lasse Collin <lasse.collin@tukaani.org> 10837Date: 2009-01-30 18:50:16 +0200 10838 10839 Updated README. 10840 10841 README | 30 ++++++++++++++++++++---------- 10842 1 file changed, 20 insertions(+), 10 deletions(-) 10843 10844commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb 10845Author: Lasse Collin <lasse.collin@tukaani.org> 10846Date: 2009-01-30 00:29:58 +0200 10847 10848 Remove dangling crc64_init.c. 10849 10850 src/liblzma/check/crc64_init.c | 55 ------------------------------------------ 10851 1 file changed, 55 deletions(-) 10852 10853commit 982da7ed314398420c38bf154a8f759d5f18b480 10854Author: Lasse Collin <lasse.collin@tukaani.org> 10855Date: 2009-01-28 17:16:38 +0200 10856 10857 The .xz file format specification version 1.0.0 is now 10858 officially released. The format has been technically the same 10859 since 2008-11-19, but now that it is frozen, people can start 10860 using it without a fear that the format will break. 10861 10862 doc/file-format.txt | 84 +++++++++++++++++++++++++++++++---------------------- 10863 1 file changed, 49 insertions(+), 35 deletions(-) 10864 10865commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f 10866Author: Lasse Collin <lasse.collin@tukaani.org> 10867Date: 2009-01-28 08:45:59 +0200 10868 10869 Updated THANKS. 10870 10871 THANKS | 1 + 10872 1 file changed, 1 insertion(+) 10873 10874commit 3241317093595db9f79104faafe93cb989c9f858 10875Author: Lasse Collin <lasse.collin@tukaani.org> 10876Date: 2009-01-28 08:43:26 +0200 10877 10878 Fix uninitialized variables in alone_decoder.c. This bug was 10879 triggered by the previous commit, since these variables were 10880 not used by anything before support for a preset dictionary. 10881 10882 src/liblzma/common/alone_decoder.c | 2 ++ 10883 1 file changed, 2 insertions(+) 10884 10885commit f76e39cf930f888d460b443d18f977ebedea8b2a 10886Author: Lasse Collin <lasse.collin@tukaani.org> 10887Date: 2009-01-27 18:36:05 +0200 10888 10889 Added initial support for preset dictionary for raw LZMA1 10890 and LZMA2. It is not supported by the .xz format or the xz 10891 command line tool yet. 10892 10893 src/liblzma/lz/lz_decoder.c | 35 +++++++++++++++++++++++++---------- 10894 src/liblzma/lz/lz_decoder.h | 9 ++++++++- 10895 src/liblzma/lz/lz_encoder.c | 18 ++++++++++++++++-- 10896 src/liblzma/lzma/lzma2_decoder.c | 9 ++++++--- 10897 src/liblzma/lzma/lzma2_encoder.c | 12 +++++++----- 10898 src/liblzma/lzma/lzma_decoder.c | 10 ++++++---- 10899 src/liblzma/lzma/lzma_decoder.h | 2 +- 10900 src/liblzma/lzma/lzma_encoder.c | 9 ++++++++- 10901 8 files changed, 77 insertions(+), 27 deletions(-) 10902 10903commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3 10904Author: Lasse Collin <lasse.collin@tukaani.org> 10905Date: 2009-01-26 20:09:17 +0200 10906 10907 Regenerate the CRC tables without trailing blanks. 10908 10909 src/liblzma/check/crc32_table_be.h | 1008 +++++++++++++++++------------------ 10910 src/liblzma/check/crc32_table_le.h | 1008 +++++++++++++++++------------------ 10911 src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------ 10912 src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------ 10913 4 files changed, 2024 insertions(+), 2024 deletions(-) 10914 10915commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2 10916Author: Jim Meyering <meyering@redhat.com> 10917Date: 2009-01-19 21:37:16 +0100 10918 10919 remove trailing blanks from all but .xz files 10920 10921 debug/known_sizes.c | 2 +- 10922 extra/scanlzma/scanlzma.c | 5 ++--- 10923 src/liblzma/check/crc32_tablegen.c | 2 +- 10924 src/liblzma/check/crc64_tablegen.c | 2 +- 10925 src/scripts/lzdiff.1 | 4 ++-- 10926 src/scripts/lzmore.1 | 6 +++--- 10927 tests/test_compress.sh | 4 ++-- 10928 7 files changed, 12 insertions(+), 13 deletions(-) 10929 10930commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5 10931Author: Lasse Collin <lasse.collin@tukaani.org> 10932Date: 2009-01-26 14:34:10 +0200 10933 10934 Add lzma_block_buffer_decode(). 10935 10936 src/liblzma/api/lzma/block.h | 41 +++++++++++++++ 10937 src/liblzma/common/Makefile.am | 1 + 10938 src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++++ 10939 3 files changed, 129 insertions(+) 10940 10941commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d 10942Author: Lasse Collin <lasse.collin@tukaani.org> 10943Date: 2009-01-26 14:33:28 +0200 10944 10945 Add more sanity checks to lzma_stream_buffer_decode(). 10946 10947 src/liblzma/common/stream_buffer_decoder.c | 7 +++++++ 10948 1 file changed, 7 insertions(+) 10949 10950commit c129748675a5daa8838df92bde32cc04f6ce61ba 10951Author: Lasse Collin <lasse.collin@tukaani.org> 10952Date: 2009-01-26 14:33:13 +0200 10953 10954 Avoid hardcoded constant in easy.c. 10955 10956 src/liblzma/common/easy.c | 2 +- 10957 1 file changed, 1 insertion(+), 1 deletion(-) 10958 10959commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6 10960Author: Lasse Collin <lasse.collin@tukaani.org> 10961Date: 2009-01-26 13:06:49 +0200 10962 10963 Tiny bit better sanity check in block_util.c 10964 10965 src/liblzma/common/block_util.c | 2 +- 10966 1 file changed, 1 insertion(+), 1 deletion(-) 10967 10968commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7 10969Author: Lasse Collin <lasse.collin@tukaani.org> 10970Date: 2009-01-25 01:35:56 +0200 10971 10972 Fix a dumb bug in Block decoder, which made it return 10973 LZMA_DATA_ERROR with valid data. The bug was added in 10974 e114502b2bc371e4a45449832cb69be036360722. 10975 10976 src/liblzma/common/block_decoder.c | 6 +++--- 10977 1 file changed, 3 insertions(+), 3 deletions(-) 10978 10979commit c81f13ff29271de7293f8af3d81848b1dcae3d19 10980Author: Lasse Collin <lasse.collin@tukaani.org> 10981Date: 2009-01-23 22:27:50 +0200 10982 10983 Added lzma_stream_buffer_decode() and made minor cleanups. 10984 10985 src/liblzma/api/lzma/block.h | 3 +- 10986 src/liblzma/api/lzma/container.h | 51 ++++++++++++++++- 10987 src/liblzma/common/Makefile.am | 1 + 10988 src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++++ 10989 4 files changed, 144 insertions(+), 2 deletions(-) 10990 10991commit 0b3318661ce749550b8531dfd469639a08930391 10992Author: Lasse Collin <lasse.collin@tukaani.org> 10993Date: 2009-01-22 12:53:33 +0200 10994 10995 Fix a comment. 10996 10997 src/liblzma/common/common.h | 2 +- 10998 1 file changed, 1 insertion(+), 1 deletion(-) 10999 11000commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec 11001Author: Lasse Collin <lasse.collin@tukaani.org> 11002Date: 2009-01-20 16:37:27 +0200 11003 11004 Add some single-call buffer-to-buffer coding functions. 11005 11006 src/liblzma/api/lzma/block.h | 57 ++++++ 11007 src/liblzma/api/lzma/container.h | 56 ++++++ 11008 src/liblzma/api/lzma/index.h | 70 ++++++- 11009 src/liblzma/common/Makefile.am | 2 + 11010 src/liblzma/common/block_buffer_encoder.c | 305 +++++++++++++++++++++++++++++ 11011 src/liblzma/common/index_decoder.c | 83 ++++++-- 11012 src/liblzma/common/index_encoder.c | 59 +++++- 11013 src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++ 11014 tests/test_index.c | 24 +++ 11015 9 files changed, 768 insertions(+), 26 deletions(-) 11016 11017commit d8b58d099340f8f4007b24b211ee41a7210c061c 11018Author: Lasse Collin <lasse.collin@tukaani.org> 11019Date: 2009-01-20 13:45:41 +0200 11020 11021 Block encoder cleanups 11022 11023 src/liblzma/common/block_encoder.c | 28 +++++++--------------------- 11024 src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++ 11025 2 files changed, 32 insertions(+), 21 deletions(-) 11026 11027commit 0c09810cb3635cb575cb54e694d41523e7d0a335 11028Author: Lasse Collin <lasse.collin@tukaani.org> 11029Date: 2009-01-20 10:35:15 +0200 11030 11031 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h. 11032 11033 src/liblzma/common/common.c | 24 ++++++++---------------- 11034 1 file changed, 8 insertions(+), 16 deletions(-) 11035 11036commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00 11037Author: Lasse Collin <lasse.collin@tukaani.org> 11038Date: 2009-01-19 22:53:18 +0200 11039 11040 Fix handling of non-fatal errors in lzma_code(). 11041 11042 src/liblzma/common/common.c | 9 ++++++++- 11043 1 file changed, 8 insertions(+), 1 deletion(-) 11044 11045commit 4810b6bc25087be872960b9dd1d11ff07735dc88 11046Author: Lasse Collin <lasse.collin@tukaani.org> 11047Date: 2009-01-19 14:00:33 +0200 11048 11049 Move some LZMA2 constants to lzma2_encoder.h so that they 11050 can be used outside lzma2_encoder.c. 11051 11052 src/liblzma/lzma/lzma2_encoder.c | 13 ------------- 11053 src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++ 11054 src/liblzma/lzma/lzma_encoder.c | 3 ++- 11055 3 files changed, 16 insertions(+), 14 deletions(-) 11056 11057commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4 11058Author: Lasse Collin <lasse.collin@tukaani.org> 11059Date: 2009-01-19 13:52:36 +0200 11060 11061 Remove dead code. 11062 11063 src/liblzma/lzma/lzma_encoder.h | 8 -------- 11064 1 file changed, 8 deletions(-) 11065 11066commit 128586213f77c9bd82b7e9a62927f6d0c3769d85 11067Author: Lasse Collin <lasse.collin@tukaani.org> 11068Date: 2009-01-17 14:24:25 +0200 11069 11070 Beta was supposed to be API stable but I had forgot to rename 11071 lzma_memlimit_encoder and lzma_memlimit_decoder to 11072 lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-( 11073 Now it is fixed. Hopefully it doesn't cause too much trouble 11074 to those who already thought API is stable. 11075 11076 src/liblzma/api/lzma/filter.h | 4 ++-- 11077 src/liblzma/common/easy.c | 4 ++-- 11078 src/liblzma/common/filter_common.c | 2 +- 11079 src/liblzma/common/filter_common.h | 2 +- 11080 src/liblzma/common/filter_decoder.c | 4 ++-- 11081 src/liblzma/common/filter_encoder.c | 4 ++-- 11082 src/liblzma/common/stream_decoder.c | 2 +- 11083 src/xz/process.c | 6 +++--- 11084 8 files changed, 14 insertions(+), 14 deletions(-) 11085 11086commit b056379490be5c584c264a967f0540041a163a1e 11087Author: Lasse Collin <lasse.collin@tukaani.org> 11088Date: 2009-01-15 14:29:22 +0200 11089 11090 Updated THANKS. 11091 11092 THANKS | 1 + 11093 1 file changed, 1 insertion(+) 11094 11095commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89 11096Author: Lasse Collin <lasse.collin@tukaani.org> 11097Date: 2009-01-15 14:27:32 +0200 11098 11099 Fixed a bug in 7z2lzma.bash to make it work with .7z files 11100 that use something else than 2^n as the dictionary size. 11101 Thanks to Dan Shechter for the bug report. 11102 11103 extra/7z2lzma/7z2lzma.bash | 47 +++++++++++++++++++++++----------------------- 11104 1 file changed, 24 insertions(+), 23 deletions(-) 11105 11106commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2 11107Author: Lasse Collin <lasse.collin@tukaani.org> 11108Date: 2009-01-07 18:41:15 +0200 11109 11110 Use pthread_sigmask() instead of sigprocmask() when pthreads 11111 are enabled. 11112 11113 src/common/mythread.h | 6 ++++++ 11114 src/xz/main.c | 4 ++-- 11115 src/xz/private.h | 1 + 11116 3 files changed, 9 insertions(+), 2 deletions(-) 11117 11118commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9 11119Author: Lasse Collin <lasse.collin@tukaani.org> 11120Date: 2008-12-31 20:01:00 +0200 11121 11122 Bumped version to 4.999.8beta right after the release 11123 of 4.999.7beta. 11124 11125 configure.ac | 2 +- 11126 src/liblzma/api/lzma/version.h | 2 +- 11127 2 files changed, 2 insertions(+), 2 deletions(-) 11128 11129commit 061748f5932719643cda73383db715167d543c22 11130Author: Lasse Collin <lasse.collin@tukaani.org> 11131Date: 2008-12-31 18:59:02 +0200 11132 11133 Disable Subblock filter from test_compress.sh since it is 11134 disabled by default in configure.ac. 11135 11136 tests/test_compress.sh | 22 +++++++++++++--------- 11137 1 file changed, 13 insertions(+), 9 deletions(-) 11138 11139commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78 11140Author: Lasse Collin <lasse.collin@tukaani.org> 11141Date: 2008-12-31 17:44:20 +0200 11142 11143 Disable both Subblock encoder and decoder my default, 11144 since they are not finished and may have security issues too. 11145 11146 configure.ac | 2 +- 11147 1 file changed, 1 insertion(+), 1 deletion(-) 11148 11149commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88 11150Author: Lasse Collin <lasse.collin@tukaani.org> 11151Date: 2008-12-31 17:42:50 +0200 11152 11153 Update some files in debug directory. 11154 11155 debug/full_flush.c | 2 -- 11156 debug/memusage.c | 2 -- 11157 debug/sync_flush.c | 2 -- 11158 3 files changed, 6 deletions(-) 11159 11160commit d1d17a40d33a9682424ca37282813492f2cba6d0 11161Author: Lasse Collin <lasse.collin@tukaani.org> 11162Date: 2008-12-31 17:41:46 +0200 11163 11164 Prepare for 4.999.7beta release. 11165 11166 AUTHORS | 4 ++-- 11167 README | 34 +++++++++++++++++----------------- 11168 configure.ac | 4 ++-- 11169 src/liblzma/api/lzma/version.h | 2 +- 11170 4 files changed, 22 insertions(+), 22 deletions(-) 11171 11172commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3 11173Author: Lasse Collin <lasse.collin@tukaani.org> 11174Date: 2008-12-31 17:15:03 +0200 11175 11176 Cleaned up some comments in the API headers. 11177 11178 src/liblzma/api/lzma/check.h | 23 +++++++++++------------ 11179 src/liblzma/api/lzma/container.h | 2 +- 11180 src/liblzma/api/lzma/version.h | 4 +++- 11181 3 files changed, 15 insertions(+), 14 deletions(-) 11182 11183commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40 11184Author: Lasse Collin <lasse.collin@tukaani.org> 11185Date: 2008-12-31 16:29:39 +0200 11186 11187 Renamed lzma_options_simple to lzma_options_bcj in the API. 11188 The internal implementation is still using the name "simple". 11189 It may need some cleanups, so I look at it later. 11190 11191 src/liblzma/api/Makefile.am | 2 +- 11192 src/liblzma/api/lzma.h | 2 +- 11193 src/liblzma/api/lzma/{simple.h => bcj.h} | 22 +++++++++++----------- 11194 src/liblzma/simple/simple_coder.c | 2 +- 11195 src/liblzma/simple/simple_decoder.c | 4 ++-- 11196 src/liblzma/simple/simple_encoder.c | 4 ++-- 11197 tests/test_filter_flags.c | 8 ++++---- 11198 7 files changed, 22 insertions(+), 22 deletions(-) 11199 11200commit 7eea8bec3abfed883efba66264a1452a1c04f6b0 11201Author: Lasse Collin <lasse.collin@tukaani.org> 11202Date: 2008-12-31 00:57:27 +0200 11203 11204 Fixed missing quoting in configure.ac. 11205 11206 configure.ac | 38 +++++++++++++++++++------------------- 11207 1 file changed, 19 insertions(+), 19 deletions(-) 11208 11209commit 28e75f7086dbe9501d926c370375c69dfb1236ce 11210Author: Lasse Collin <lasse.collin@tukaani.org> 11211Date: 2008-12-31 00:48:23 +0200 11212 11213 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which 11214 should have been in the previous commit. 11215 11216 src/liblzma/Makefile.am | 4 ++-- 11217 1 file changed, 2 insertions(+), 2 deletions(-) 11218 11219commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90 11220Author: Lasse Collin <lasse.collin@tukaani.org> 11221Date: 2008-12-31 00:30:49 +0200 11222 11223 Remove lzma_init() and other init functions from liblzma API. 11224 Half of developers were already forgetting to use these 11225 functions, which could have caused total breakage in some future 11226 liblzma version or even now if --enable-small was used. Now 11227 liblzma uses pthread_once() to do the initializations unless 11228 it has been built with --disable-threads which make these 11229 initializations thread-unsafe. 11230 11231 When --enable-small isn't used, liblzma currently gets needlessly 11232 linked against libpthread (on systems that have it). While it is 11233 stupid for now, liblzma will need threads in future anyway, so 11234 this stupidity will be temporary only. 11235 11236 When --enable-small is used, different code CRC32 and CRC64 is 11237 now used than without --enable-small. This made the resulting 11238 binary slightly smaller, but the main reason was to clean it up 11239 and to handle the lack of lzma_init_check(). 11240 11241 The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not 11242 sure if it works correctly and portably for static linking 11243 (Libs.private includes -pthread or other operating system 11244 specific flags). Hopefully someone complains if it is bad. 11245 11246 lzma_rc_prices[] is now included as a precomputed array even 11247 with --enable-small. It's just 128 bytes now that it uses uint8_t 11248 instead of uint32_t. Smaller array seemed to be at least as fast 11249 as the more bloated uint32_t array on x86; hopefully it's not bad 11250 on other architectures. 11251 11252 configure.ac | 29 ++++++++-- 11253 src/common/mythread.h | 34 ++++++++++++ 11254 src/liblzma/api/Makefile.am | 1 - 11255 src/liblzma/api/lzma.h | 1 - 11256 src/liblzma/api/lzma/init.h | 85 ----------------------------- 11257 src/liblzma/check/Makefile.am | 29 ++++------ 11258 src/liblzma/check/check.c | 10 ++-- 11259 src/liblzma/check/check.h | 25 +++------ 11260 src/liblzma/check/check_init.c | 37 ------------- 11261 src/liblzma/check/{crc32.c => crc32_fast.c} | 0 11262 src/liblzma/check/crc32_init.c | 55 ------------------- 11263 src/liblzma/check/crc32_small.c | 54 ++++++++++++++++++ 11264 src/liblzma/check/crc32_tablegen.c | 55 ++++++++++++++++--- 11265 src/liblzma/check/{crc64.c => crc64_fast.c} | 0 11266 src/liblzma/check/crc64_small.c | 54 ++++++++++++++++++ 11267 src/liblzma/check/crc64_tablegen.c | 55 ++++++++++++++++--- 11268 src/liblzma/common/Makefile.am | 3 - 11269 src/liblzma/common/common.h | 1 + 11270 src/liblzma/common/init.c | 39 ------------- 11271 src/liblzma/common/init_decoder.c | 31 ----------- 11272 src/liblzma/common/init_encoder.c | 40 -------------- 11273 src/liblzma/{lzma.pc.in => liblzma.pc.in} | 5 +- 11274 src/liblzma/lz/lz_encoder.c | 6 ++ 11275 src/liblzma/rangecoder/Makefile.am | 8 +-- 11276 src/liblzma/rangecoder/price.h | 16 +----- 11277 src/liblzma/rangecoder/price_table.c | 2 +- 11278 src/liblzma/rangecoder/price_table_init.c | 55 ------------------- 11279 src/liblzma/rangecoder/price_tablegen.c | 51 ++++++++++++++--- 11280 src/xz/Makefile.am | 5 +- 11281 src/xz/main.c | 3 - 11282 src/xzdec/xzdec.c | 3 - 11283 tests/test_block_header.c | 1 - 11284 tests/test_check.c | 2 - 11285 tests/test_filter_flags.c | 2 - 11286 tests/test_index.c | 2 - 11287 tests/test_stream_flags.c | 2 - 11288 tests/tests.h | 2 +- 11289 37 files changed, 347 insertions(+), 456 deletions(-) 11290 11291commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2 11292Author: Lasse Collin <lasse.collin@tukaani.org> 11293Date: 2008-12-27 19:40:31 +0200 11294 11295 Use 28 MiB as memory usage limit for encoding in test_compress.sh. 11296 11297 tests/test_compress.sh | 2 +- 11298 1 file changed, 1 insertion(+), 1 deletion(-) 11299 11300commit 050eb14d29e2537c014662e83599fd8a77f13c45 11301Author: Lasse Collin <lasse.collin@tukaani.org> 11302Date: 2008-12-27 19:32:20 +0200 11303 11304 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680 11305 that was related to LZMA_MODE_FAST. The original code is slightly 11306 faster although it compresses slightly worse. But since it is fast 11307 mode, it is better to select the faster version. 11308 11309 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++--------------- 11310 1 file changed, 8 insertions(+), 15 deletions(-) 11311 11312commit 4820f10d0f173864f6a2ea7479663b509ac53358 11313Author: Lasse Collin <lasse.collin@tukaani.org> 11314Date: 2008-12-27 19:30:19 +0200 11315 11316 Some xz command line tool improvements. 11317 11318 src/xz/args.c | 23 +++++----- 11319 src/xz/message.c | 4 +- 11320 src/xz/options.c | 2 +- 11321 src/xz/process.c | 133 +++++++++++++++++++++++++++++++++++++++++++------------ 11322 src/xz/process.h | 3 ++ 11323 5 files changed, 121 insertions(+), 44 deletions(-) 11324 11325commit e33194e79d8f5ce07cb4aca909b324ae75098f7e 11326Author: Lasse Collin <lasse.collin@tukaani.org> 11327Date: 2008-12-27 19:27:49 +0200 11328 11329 Bunch of liblzma tweaks, including some API changes. 11330 The API and ABI should now be very close to stable, 11331 although the code behind it isn't yet. 11332 11333 src/liblzma/api/lzma.h | 8 ++-- 11334 src/liblzma/api/lzma/block.h | 63 ++++++++++++++++++++++++- 11335 src/liblzma/api/lzma/container.h | 76 +++++++++++++++---------------- 11336 src/liblzma/api/lzma/lzma.h | 41 +++++++++-------- 11337 src/liblzma/common/alone_decoder.c | 36 +++++++-------- 11338 src/liblzma/common/alone_encoder.c | 22 ++++----- 11339 src/liblzma/common/auto_decoder.c | 2 +- 11340 src/liblzma/common/block_decoder.c | 54 +++++++++++----------- 11341 src/liblzma/common/block_decoder.h | 4 +- 11342 src/liblzma/common/block_encoder.c | 37 ++++++++------- 11343 src/liblzma/common/block_encoder.h | 4 +- 11344 src/liblzma/common/block_header_decoder.c | 41 +++++++++-------- 11345 src/liblzma/common/block_header_encoder.c | 51 ++++++++++----------- 11346 src/liblzma/common/block_util.c | 3 +- 11347 src/liblzma/common/easy.c | 45 ++++++------------ 11348 src/liblzma/common/stream_decoder.c | 3 +- 11349 src/liblzma/common/stream_decoder.h | 2 +- 11350 src/liblzma/common/stream_encoder.c | 3 +- 11351 src/liblzma/common/stream_encoder.h | 2 +- 11352 src/liblzma/common/stream_flags_decoder.c | 2 +- 11353 src/liblzma/common/stream_flags_encoder.c | 2 +- 11354 src/liblzma/lzma/lzma_encoder.c | 2 +- 11355 src/liblzma/lzma/lzma_encoder_presets.c | 53 +++++++-------------- 11356 23 files changed, 294 insertions(+), 262 deletions(-) 11357 11358commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074 11359Author: Lasse Collin <lasse.collin@tukaani.org> 11360Date: 2008-12-18 13:42:52 +0200 11361 11362 Updated Makefile.am that was missing from the previous commit. 11363 11364 src/liblzma/common/Makefile.am | 1 - 11365 1 file changed, 1 deletion(-) 11366 11367commit 634636fa56ccee6e744f78b0abed76c8940f2f8f 11368Author: Lasse Collin <lasse.collin@tukaani.org> 11369Date: 2008-12-17 21:49:53 +0200 11370 11371 Remove the alignment functions for now. Maybe they will 11372 be added back in some form later, but the current version 11373 wasn't modular, so it would need fixing anyway. 11374 11375 src/liblzma/api/Makefile.am | 1 - 11376 src/liblzma/api/lzma.h | 1 - 11377 src/liblzma/api/lzma/alignment.h | 60 --------------------- 11378 src/liblzma/common/alignment.c | 114 --------------------------------------- 11379 4 files changed, 176 deletions(-) 11380 11381commit 4fed98417d1687f5eccccb42a133fde3ec81216a 11382Author: Lasse Collin <lasse.collin@tukaani.org> 11383Date: 2008-12-17 20:11:23 +0200 11384 11385 xz message handling improvements 11386 11387 src/xz/message.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 11388 src/xz/message.h | 7 +++- 11389 src/xz/process.c | 28 ++++++++++++- 11390 3 files changed, 146 insertions(+), 14 deletions(-) 11391 11392commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d 11393Author: Lasse Collin <lasse.collin@tukaani.org> 11394Date: 2008-12-15 23:26:43 +0200 11395 11396 Fix a dumb bug in .lzma decoder which was introduced in 11397 the previous commit. (Probably the previous commit has 11398 other bugs too, it wasn't tested.) 11399 11400 src/liblzma/common/alone_decoder.c | 29 ++++++++++++++--------------- 11401 1 file changed, 14 insertions(+), 15 deletions(-) 11402 11403commit 671a5adf1e844bfdd6fd327016c3c28694493158 11404Author: Lasse Collin <lasse.collin@tukaani.org> 11405Date: 2008-12-15 19:39:13 +0200 11406 11407 Bunch of liblzma API cleanups and fixes. 11408 11409 src/liblzma/api/lzma.h | 122 +++++++++++---------- 11410 src/liblzma/api/lzma/base.h | 174 ++++++++++++++++++----------- 11411 src/liblzma/api/lzma/block.h | 211 +++++++++++++++++++++++------------- 11412 src/liblzma/api/lzma/check.h | 28 ++--- 11413 src/liblzma/api/lzma/container.h | 155 +++++++++++++------------- 11414 src/liblzma/api/lzma/delta.h | 12 +- 11415 src/liblzma/api/lzma/filter.h | 27 +++-- 11416 src/liblzma/api/lzma/index.h | 97 ++++++++++++++--- 11417 src/liblzma/api/lzma/index_hash.h | 26 +++-- 11418 src/liblzma/api/lzma/init.h | 2 +- 11419 src/liblzma/api/lzma/lzma.h | 12 +- 11420 src/liblzma/api/lzma/simple.h | 4 +- 11421 src/liblzma/api/lzma/stream_flags.h | 46 +++++--- 11422 src/liblzma/api/lzma/version.h | 6 +- 11423 src/liblzma/api/lzma/vli.h | 17 ++- 11424 src/liblzma/common/alone_decoder.c | 47 +++++--- 11425 src/liblzma/common/auto_decoder.c | 29 +++++ 11426 src/liblzma/common/block_util.c | 52 +++++---- 11427 src/liblzma/common/common.c | 58 ++++++++++ 11428 src/liblzma/common/common.h | 9 +- 11429 src/liblzma/common/easy.c | 33 ++++-- 11430 src/liblzma/common/filter_common.c | 2 +- 11431 src/liblzma/common/index.c | 11 ++ 11432 src/liblzma/common/index_decoder.c | 46 ++++++-- 11433 src/liblzma/common/stream_decoder.c | 47 ++++++-- 11434 src/liblzma/lzma/lzma2_encoder.c | 6 +- 11435 tests/test_index.c | 10 +- 11436 27 files changed, 863 insertions(+), 426 deletions(-) 11437 11438commit 17781c2c20fd77029cb32e77792889f2f211d69d 11439Author: Lasse Collin <lasse.collin@tukaani.org> 11440Date: 2008-12-15 14:26:52 +0200 11441 11442 The LZMA2 decoder fix introduced a bug to LZ decoder, 11443 which made LZ decoder return too early after dictionary 11444 reset. This fixes it. 11445 11446 src/liblzma/lz/lz_decoder.c | 33 +++++++++++++++++++++++---------- 11447 1 file changed, 23 insertions(+), 10 deletions(-) 11448 11449commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8 11450Author: Lasse Collin <lasse.collin@tukaani.org> 11451Date: 2008-12-15 11:20:22 +0200 11452 11453 Added two new test files. 11454 11455 tests/files/README | 7 +++++++ 11456 tests/files/bad-1-lzma2-8.xz | Bin 0 -> 464 bytes 11457 tests/files/good-1-lzma2-4.xz | Bin 0 -> 464 bytes 11458 3 files changed, 7 insertions(+) 11459 11460commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf 11461Author: Lasse Collin <lasse.collin@tukaani.org> 11462Date: 2008-12-15 10:01:59 +0200 11463 11464 Fix data corruption in LZMA2 decoder. 11465 11466 src/liblzma/lz/lz_decoder.c | 17 ++++++++++++++++- 11467 src/liblzma/lz/lz_decoder.h | 8 +++++--- 11468 src/liblzma/lzma/lzma2_decoder.c | 15 +++++++++++---- 11469 3 files changed, 32 insertions(+), 8 deletions(-) 11470 11471commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613 11472Author: Lasse Collin <lasse.collin@tukaani.org> 11473Date: 2008-12-13 00:54:11 +0200 11474 11475 Name the package "xz" in configure.ac. 11476 11477 configure.ac | 11 ++++------- 11478 1 file changed, 4 insertions(+), 7 deletions(-) 11479 11480commit a94bf00d0af9b423851905b031be5a645a657820 11481Author: Lasse Collin <lasse.collin@tukaani.org> 11482Date: 2008-12-12 22:43:21 +0200 11483 11484 Some adjustments to GCC warning flags. The important change 11485 is the removal of -pedantic. It messes up -Werror (which I 11486 really want to keep so that I don't miss any warnings) with 11487 printf format strings that are in POSIX but not in C99. 11488 11489 configure.ac | 8 +++++--- 11490 1 file changed, 5 insertions(+), 3 deletions(-) 11491 11492commit 8582d392baacd2cdac07ca60041f8c661323676d 11493Author: Lasse Collin <lasse.collin@tukaani.org> 11494Date: 2008-12-10 01:31:00 +0200 11495 11496 Remove obsolete comment. 11497 11498 src/xz/message.c | 1 - 11499 1 file changed, 1 deletion(-) 11500 11501commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1 11502Author: Lasse Collin <lasse.collin@tukaani.org> 11503Date: 2008-12-10 01:27:15 +0200 11504 11505 Use "decompression" consistently in --long-help. 11506 11507 src/xz/message.c | 2 +- 11508 1 file changed, 1 insertion(+), 1 deletion(-) 11509 11510commit 1ea9e7f15afd5d3981e2432710e932320597bca9 11511Author: Lasse Collin <lasse.collin@tukaani.org> 11512Date: 2008-12-10 01:23:58 +0200 11513 11514 Added preset=NUM to --lzma1 and --lzma2. This makes it easy 11515 to take a preset as a template and modify it a little. 11516 11517 src/xz/message.c | 1 + 11518 src/xz/options.c | 8 ++++++++ 11519 2 files changed, 9 insertions(+) 11520 11521commit bceb3918dbb21f34976bfdd4c171a81319de71f7 11522Author: Lasse Collin <lasse.collin@tukaani.org> 11523Date: 2008-12-09 17:43:31 +0200 11524 11525 Put the file format specification into the public domain. 11526 Same will be done to the actual code later. 11527 11528 doc/file-format.txt | 24 +++++++++--------------- 11529 1 file changed, 9 insertions(+), 15 deletions(-) 11530 11531commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6 11532Author: Lasse Collin <lasse.collin@tukaani.org> 11533Date: 2008-12-09 17:41:49 +0200 11534 11535 Make the memusage functions of LZMA1 and LZMA2 encoders 11536 to validate the filter options. Add missing validation 11537 to LZMA2 encoder when options are changed in the middle 11538 of encoding. 11539 11540 src/liblzma/lzma/lzma2_encoder.c | 5 ++++- 11541 src/liblzma/lzma/lzma_encoder.c | 44 +++++++++++++++++++++++++++------------- 11542 src/liblzma/lzma/lzma_encoder.h | 2 +- 11543 3 files changed, 35 insertions(+), 16 deletions(-) 11544 11545commit f20a03206b71ff01b827bb7a932411d6a6a4e06a 11546Author: Lasse Collin <lasse.collin@tukaani.org> 11547Date: 2008-12-09 10:36:24 +0200 11548 11549 Updated THANKS. 11550 11551 THANKS | 1 + 11552 1 file changed, 1 insertion(+) 11553 11554commit ef7890d56453dca1aeb2e12db29b7e418d93dde4 11555Author: Lasse Collin <lasse.collin@tukaani.org> 11556Date: 2008-12-01 23:04:12 +0200 11557 11558 In command line tool, take advantage of memusage calculation's 11559 ability to also validate the filter chain and options (not 11560 implemented yet for all filters). 11561 11562 src/xz/process.c | 8 ++++---- 11563 1 file changed, 4 insertions(+), 4 deletions(-) 11564 11565commit ccd57afa09e332d664d6d6a7498702791ea5f659 11566Author: Lasse Collin <lasse.collin@tukaani.org> 11567Date: 2008-12-01 22:59:28 +0200 11568 11569 Validate the filter chain before checking filter-specific 11570 memory usage. 11571 11572 src/liblzma/common/filter_common.c | 14 ++++++++++---- 11573 1 file changed, 10 insertions(+), 4 deletions(-) 11574 11575commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15 11576Author: Lasse Collin <lasse.collin@tukaani.org> 11577Date: 2008-12-01 22:58:22 +0200 11578 11579 Make the memusage functions of LZMA1 and LZMA2 decoders 11580 to validate the filter options. 11581 11582 src/liblzma/lzma/lzma2_decoder.c | 7 ++----- 11583 src/liblzma/lzma/lzma_decoder.c | 14 ++++++++++---- 11584 src/liblzma/lzma/lzma_decoder.h | 5 +++++ 11585 3 files changed, 17 insertions(+), 9 deletions(-) 11586 11587commit c58f469be5bb9b0bdab825c6687445fd553f4f3a 11588Author: Lasse Collin <lasse.collin@tukaani.org> 11589Date: 2008-12-01 22:55:18 +0200 11590 11591 Added the changes for Delta filter that should have been 11592 part of 656ec87882ee74b192c4ea4a233a235eca7b04d4. 11593 11594 src/liblzma/common/filter_decoder.c | 2 +- 11595 src/liblzma/common/filter_encoder.c | 2 +- 11596 2 files changed, 2 insertions(+), 2 deletions(-) 11597 11598commit cd708015202dbf7585b84a8781462a20c42a324b 11599Author: Lasse Collin <lasse.collin@tukaani.org> 11600Date: 2008-12-01 22:50:28 +0200 11601 11602 LZMA2 decoder cleanups. Make it require new LZMA properties 11603 also in the first LZMA chunk after a dictionary reset in 11604 uncompressed chunk. 11605 11606 src/liblzma/lzma/lzma2_decoder.c | 95 +++++++++++++++++----------------------- 11607 1 file changed, 41 insertions(+), 54 deletions(-) 11608 11609commit 656ec87882ee74b192c4ea4a233a235eca7b04d4 11610Author: Lasse Collin <lasse.collin@tukaani.org> 11611Date: 2008-12-01 16:30:11 +0200 11612 11613 Added lzma_delta_coder_memusage() which also validates 11614 the options. 11615 11616 src/liblzma/delta/Makefile.am | 3 ++- 11617 src/liblzma/delta/delta_common.c | 28 ++++++++++++++++++------- 11618 src/liblzma/delta/delta_common.h | 19 +---------------- 11619 src/liblzma/delta/delta_decoder.c | 2 +- 11620 src/liblzma/delta/delta_decoder.h | 2 +- 11621 src/liblzma/delta/delta_encoder.c | 14 ++++--------- 11622 src/liblzma/delta/delta_encoder.h | 2 +- 11623 src/liblzma/delta/delta_private.h | 44 +++++++++++++++++++++++++++++++++++++++ 11624 8 files changed, 75 insertions(+), 39 deletions(-) 11625 11626commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a 11627Author: Lasse Collin <lasse.collin@tukaani.org> 11628Date: 2008-11-29 10:03:49 +0200 11629 11630 Automake includes the m4 directory, so don't add it in 11631 Makefile.am separately. 11632 11633 Updated THANKS. 11634 11635 Makefile.am | 1 - 11636 THANKS | 1 + 11637 2 files changed, 1 insertion(+), 1 deletion(-) 11638 11639commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0 11640Author: Lasse Collin <lasse.collin@tukaani.org> 11641Date: 2008-11-28 12:00:48 +0200 11642 11643 Tested using COLUMNS environment variable to avoid broken 11644 progress indicator but since COLUMNS isn't usually available, 11645 the code was left commented out. 11646 11647 src/xz/message.c | 14 +++++++++----- 11648 1 file changed, 9 insertions(+), 5 deletions(-) 11649 11650commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd 11651Author: Lasse Collin <lasse.collin@tukaani.org> 11652Date: 2008-11-27 19:28:59 +0200 11653 11654 Cleanups to message.c. 11655 11656 src/xz/message.c | 47 ++++++++++++++++++----------------------------- 11657 1 file changed, 18 insertions(+), 29 deletions(-) 11658 11659commit a8368b75cdcd5427299001cc42839287f27b244d 11660Author: Lasse Collin <lasse.collin@tukaani.org> 11661Date: 2008-11-25 02:37:47 +0200 11662 11663 Remove the nowadays unneeded memory limitting malloc() wrapper. 11664 11665 src/liblzma/api/Makefile.am | 1 - 11666 src/liblzma/api/lzma.h | 1 - 11667 src/liblzma/api/lzma/memlimit.h | 207 -------------------------- 11668 src/liblzma/common/Makefile.am | 1 - 11669 src/liblzma/common/memory_limiter.c | 288 ------------------------------------ 11670 tests/Makefile.am | 2 - 11671 tests/test_memlimit.c | 114 -------------- 11672 7 files changed, 614 deletions(-) 11673 11674commit 69472ee5f055a2bb6f28106f0923e1461fd1d080 11675Author: Lasse Collin <lasse.collin@tukaani.org> 11676Date: 2008-11-23 15:09:03 +0200 11677 11678 VLI encoder and decoder cleanups. Made encoder return 11679 LZMA_PROG_ERROR in single-call mode if there's no output 11680 space. 11681 11682 src/liblzma/common/vli_decoder.c | 15 +++++++++------ 11683 src/liblzma/common/vli_encoder.c | 31 ++++++++++++++++++++++++------- 11684 2 files changed, 33 insertions(+), 13 deletions(-) 11685 11686commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650 11687Author: Lasse Collin <lasse.collin@tukaani.org> 11688Date: 2008-11-22 17:44:33 +0200 11689 11690 Typo fix 11691 11692 src/xz/process.c | 2 +- 11693 1 file changed, 1 insertion(+), 1 deletion(-) 11694 11695commit 6d1d6f4598d121253dbe1084c6866b66e95c361b 11696Author: Lasse Collin <lasse.collin@tukaani.org> 11697Date: 2008-11-20 22:59:10 +0200 11698 11699 Support NetBSD's errno for O_NOFOLLOW. 11700 11701 src/xz/io.c | 8 ++++++++ 11702 1 file changed, 8 insertions(+) 11703 11704commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7 11705Author: Lasse Collin <lasse.collin@tukaani.org> 11706Date: 2008-11-20 18:05:52 +0200 11707 11708 Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz 11709 files and lzmadec only .lzma files. 11710 11711 src/xzdec/Makefile.am | 7 +- 11712 src/xzdec/xzdec.c | 311 ++++++++++++++++++++++---------------------------- 11713 2 files changed, 140 insertions(+), 178 deletions(-) 11714 11715commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c 11716Author: Lasse Collin <lasse.collin@tukaani.org> 11717Date: 2008-11-20 11:01:29 +0200 11718 11719 Minor cleanups to xzdec. 11720 11721 src/xzdec/xzdec.c | 20 ++++++++++---------- 11722 1 file changed, 10 insertions(+), 10 deletions(-) 11723 11724commit 54f716ba8905d09752dcd1519455a40bd21d5317 11725Author: Lasse Collin <lasse.collin@tukaani.org> 11726Date: 2008-11-19 23:55:22 +0200 11727 11728 Added missing check for uint16_t. 11729 11730 configure.ac | 1 + 11731 1 file changed, 1 insertion(+) 11732 11733commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06 11734Author: Lasse Collin <lasse.collin@tukaani.org> 11735Date: 2008-11-19 23:52:24 +0200 11736 11737 Renamed lzma to xz and lzmadec to xzdec. We create symlinks 11738 lzma, unlzma, and lzcat in "make install" for backwards 11739 compatibility with LZMA Utils 4.32.x; I'm not sure if this 11740 should be the default though. 11741 11742 configure.ac | 4 ++-- 11743 po/POTFILES.in | 21 +++++++++------------ 11744 src/Makefile.am | 2 +- 11745 src/{lzma => xz}/Makefile.am | 32 +++++++++++++++++--------------- 11746 src/{lzma => xz}/args.c | 0 11747 src/{lzma => xz}/args.h | 0 11748 src/{lzma => xz}/hardware.c | 0 11749 src/{lzma => xz}/hardware.h | 0 11750 src/{lzma => xz}/io.c | 0 11751 src/{lzma => xz}/io.h | 0 11752 src/{lzma => xz}/list.c | 0 11753 src/{lzma => xz}/main.c | 0 11754 src/{lzma => xz}/main.h | 0 11755 src/{lzma => xz}/message.c | 0 11756 src/{lzma => xz}/message.h | 0 11757 src/{lzma => xz}/options.c | 0 11758 src/{lzma => xz}/options.h | 0 11759 src/{lzma => xz}/private.h | 0 11760 src/{lzma => xz}/process.c | 0 11761 src/{lzma => xz}/process.h | 0 11762 src/{lzma => xz}/suffix.c | 0 11763 src/{lzma => xz}/suffix.h | 0 11764 src/{lzma => xz}/util.c | 0 11765 src/{lzma => xz}/util.h | 0 11766 src/{lzmadec => xzdec}/Makefile.am | 12 ++++++------ 11767 src/{lzmadec/lzmadec.c => xzdec/xzdec.c} | 4 ++-- 11768 tests/test_compress.sh | 29 ++++++++++++++--------------- 11769 tests/test_files.sh | 4 ++-- 11770 28 files changed, 53 insertions(+), 55 deletions(-) 11771 11772commit e114502b2bc371e4a45449832cb69be036360722 11773Author: Lasse Collin <lasse.collin@tukaani.org> 11774Date: 2008-11-19 20:46:52 +0200 11775 11776 Oh well, big messy commit again. Some highlights: 11777 - Updated to the latest, probably final file format version. 11778 - Command line tool reworked to not use threads anymore. 11779 Threading will probably go into liblzma anyway. 11780 - Memory usage limit is now about 30 % for uncompression 11781 and about 90 % for compression. 11782 - Progress indicator with --verbose 11783 - Simplified --help and full --long-help 11784 - Upgraded to the last LGPLv2.1+ getopt_long from gnulib. 11785 - Some bug fixes 11786 11787 THANKS | 1 + 11788 configure.ac | 48 +- 11789 debug/full_flush.c | 6 +- 11790 debug/known_sizes.c | 2 +- 11791 debug/memusage.c | 2 +- 11792 debug/sync_flush.c | 10 +- 11793 doc/file-format.txt | 260 ++++---- 11794 lib/Makefile.am | 10 +- 11795 lib/getopt.c | 14 +- 11796 lib/{getopt_.h => getopt.in.h} | 8 +- 11797 lib/getopt1.c | 8 +- 11798 lib/gettext.h | 240 ------- 11799 m4/getopt.m4 | 64 +- 11800 src/common/bswap.h | 15 +- 11801 src/common/physmem.h | 4 + 11802 src/common/sysdefs.h | 12 +- 11803 src/liblzma/api/lzma/block.h | 47 +- 11804 src/liblzma/api/lzma/filter.h | 8 + 11805 src/liblzma/api/lzma/index.h | 20 +- 11806 src/liblzma/api/lzma/index_hash.h | 4 +- 11807 src/liblzma/common/block_decoder.c | 59 +- 11808 src/liblzma/common/block_encoder.c | 41 +- 11809 src/liblzma/common/block_header_decoder.c | 31 +- 11810 src/liblzma/common/block_header_encoder.c | 69 +-- 11811 src/liblzma/common/block_util.c | 45 +- 11812 src/liblzma/common/common.h | 8 - 11813 src/liblzma/common/filter_common.c | 4 +- 11814 src/liblzma/common/index.c | 259 ++++---- 11815 src/liblzma/common/index.h | 33 +- 11816 src/liblzma/common/index_decoder.c | 31 +- 11817 src/liblzma/common/index_encoder.c | 16 +- 11818 src/liblzma/common/index_hash.c | 68 +- 11819 src/liblzma/common/stream_decoder.c | 9 +- 11820 src/liblzma/common/stream_encoder.c | 6 +- 11821 src/liblzma/lz/lz_decoder.h | 4 +- 11822 src/liblzma/subblock/subblock_decoder.c | 3 +- 11823 src/lzma/Makefile.am | 9 +- 11824 src/lzma/alloc.c | 106 ---- 11825 src/lzma/alloc.h | 42 -- 11826 src/lzma/args.c | 531 +++++++--------- 11827 src/lzma/args.h | 42 +- 11828 src/lzma/error.c | 162 ----- 11829 src/lzma/error.h | 67 -- 11830 src/lzma/hardware.c | 75 ++- 11831 src/lzma/hardware.h | 16 +- 11832 src/lzma/help.c | 170 ----- 11833 src/lzma/help.h | 32 - 11834 src/lzma/io.c | 757 +++++++++++------------ 11835 src/lzma/io.h | 51 +- 11836 src/lzma/main.c | 392 ++++++++---- 11837 src/lzma/main.h | 60 ++ 11838 src/lzma/message.c | 892 +++++++++++++++++++++++++++ 11839 src/lzma/message.h | 132 ++++ 11840 src/lzma/options.c | 42 +- 11841 src/lzma/options.h | 6 +- 11842 src/lzma/private.h | 28 +- 11843 src/lzma/process.c | 525 ++++++++-------- 11844 src/lzma/process.h | 40 ++ 11845 src/lzma/suffix.c | 52 +- 11846 src/lzma/suffix.h | 17 +- 11847 src/lzma/util.c | 100 +-- 11848 src/lzma/util.h | 43 +- 11849 src/lzmadec/lzmadec.c | 36 +- 11850 tests/files/README | 12 +- 11851 tests/files/bad-1-block_header-1.xz | Bin 64 -> 64 bytes 11852 tests/files/bad-1-block_header-2.xz | Bin 64 -> 64 bytes 11853 tests/files/bad-1-block_header-3.xz | Bin 68 -> 68 bytes 11854 tests/files/bad-1-block_header-4.xz | Bin 72 -> 76 bytes 11855 tests/files/bad-1-block_header-5.xz | Bin 0 -> 72 bytes 11856 tests/files/bad-1-check-crc32.xz | Bin 68 -> 68 bytes 11857 tests/files/bad-1-check-crc64.xz | Bin 72 -> 72 bytes 11858 tests/files/bad-1-check-sha256.xz | Bin 96 -> 96 bytes 11859 tests/files/bad-1-lzma2-1.xz | Bin 64 -> 64 bytes 11860 tests/files/bad-1-lzma2-2.xz | Bin 424 -> 424 bytes 11861 tests/files/bad-1-lzma2-3.xz | Bin 424 -> 424 bytes 11862 tests/files/bad-1-lzma2-4.xz | Bin 408 -> 408 bytes 11863 tests/files/bad-1-lzma2-5.xz | Bin 408 -> 408 bytes 11864 tests/files/bad-1-lzma2-6.xz | Bin 68 -> 68 bytes 11865 tests/files/bad-1-lzma2-7.xz | Bin 408 -> 408 bytes 11866 tests/files/bad-1-stream_flags-1.xz | Bin 68 -> 68 bytes 11867 tests/files/bad-1-stream_flags-2.xz | Bin 68 -> 68 bytes 11868 tests/files/bad-1-stream_flags-3.xz | Bin 68 -> 68 bytes 11869 tests/files/bad-1-vli-1.xz | Bin 72 -> 72 bytes 11870 tests/files/bad-1-vli-2.xz | Bin 72 -> 76 bytes 11871 tests/files/bad-2-compressed_data_padding.xz | Bin 92 -> 92 bytes 11872 tests/files/bad-2-index-1.xz | Bin 92 -> 92 bytes 11873 tests/files/bad-2-index-2.xz | Bin 92 -> 92 bytes 11874 tests/files/bad-2-index-3.xz | Bin 92 -> 92 bytes 11875 tests/files/bad-2-index-4.xz | Bin 92 -> 92 bytes 11876 tests/files/bad-2-index-5.xz | Bin 0 -> 92 bytes 11877 tests/files/good-1-3delta-lzma2.xz | Bin 528 -> 528 bytes 11878 tests/files/good-1-block_header-1.xz | Bin 72 -> 72 bytes 11879 tests/files/good-1-block_header-2.xz | Bin 68 -> 68 bytes 11880 tests/files/good-1-block_header-3.xz | Bin 68 -> 68 bytes 11881 tests/files/good-1-check-crc32.xz | Bin 68 -> 68 bytes 11882 tests/files/good-1-check-crc64.xz | Bin 72 -> 72 bytes 11883 tests/files/good-1-check-none.xz | Bin 64 -> 64 bytes 11884 tests/files/good-1-check-sha256.xz | Bin 96 -> 96 bytes 11885 tests/files/good-1-delta-lzma2.tiff.xz | Bin 51312 -> 51316 bytes 11886 tests/files/good-1-lzma2-1.xz | Bin 424 -> 424 bytes 11887 tests/files/good-1-lzma2-2.xz | Bin 424 -> 424 bytes 11888 tests/files/good-1-lzma2-3.xz | Bin 408 -> 408 bytes 11889 tests/files/good-1-sparc-lzma2.xz | Bin 2292 -> 2296 bytes 11890 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 1936 bytes 11891 tests/files/good-2-lzma2.xz | Bin 92 -> 92 bytes 11892 tests/files/unsupported-block_header.xz | Bin 68 -> 68 bytes 11893 tests/files/unsupported-check.xz | Bin 68 -> 68 bytes 11894 tests/files/unsupported-filter_flags-1.xz | Bin 68 -> 68 bytes 11895 tests/files/unsupported-filter_flags-2.xz | Bin 68 -> 68 bytes 11896 tests/files/unsupported-filter_flags-3.xz | Bin 68 -> 68 bytes 11897 tests/test_block_header.c | 16 +- 11898 tests/test_index.c | 42 +- 11899 112 files changed, 3240 insertions(+), 2724 deletions(-) 11900 11901commit 3c3905b53462ae235c9438d86a4dc51086410932 11902Author: Lasse Collin <lasse.collin@tukaani.org> 11903Date: 2008-10-09 11:12:29 +0300 11904 11905 Fixed the test that should have been fixed as part 11906 of 1e8e4fd1f3e50129b4541406ad765d2aa1233943. 11907 11908 tests/test_block_header.c | 2 +- 11909 1 file changed, 1 insertion(+), 1 deletion(-) 11910 11911commit 0f295bf7a3ece01f667caae318cc3e3424085886 11912Author: Lasse Collin <lasse.collin@tukaani.org> 11913Date: 2008-10-07 16:42:18 +0300 11914 11915 Fixed some help messages. 11916 11917 src/lzma/help.c | 6 +++--- 11918 1 file changed, 3 insertions(+), 3 deletions(-) 11919 11920commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943 11921Author: Lasse Collin <lasse.collin@tukaani.org> 11922Date: 2008-10-07 09:40:31 +0300 11923 11924 Made the preset numbering more logical in liblzma API. 11925 11926 src/liblzma/api/lzma/container.h | 20 ++++++++++---------- 11927 src/liblzma/api/lzma/lzma.h | 2 +- 11928 src/liblzma/lzma/lzma_encoder_presets.c | 3 ++- 11929 src/lzma/args.c | 8 ++++---- 11930 src/lzma/args.h | 2 +- 11931 5 files changed, 18 insertions(+), 17 deletions(-) 11932 11933commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81 11934Author: Lasse Collin <lasse.collin@tukaani.org> 11935Date: 2008-10-03 19:36:09 +0300 11936 11937 Removed fi from po/LINGUAS. 11938 11939 po/LINGUAS | 1 - 11940 1 file changed, 1 deletion(-) 11941 11942commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128 11943Author: Lasse Collin <lasse.collin@tukaani.org> 11944Date: 2008-10-03 07:06:48 +0300 11945 11946 Fixed suffix handling with --format=raw. 11947 11948 src/lzma/suffix.c | 28 +++++++++++++++++++--------- 11949 1 file changed, 19 insertions(+), 9 deletions(-) 11950 11951commit bd137524f2f50e30ba054f42f1f6536cd3cee920 11952Author: Lasse Collin <lasse.collin@tukaani.org> 11953Date: 2008-10-02 22:51:46 +0300 11954 11955 Initial changes to change the suffix of the new format to .xz. 11956 This also fixes a bug related to --suffix option. Some issues 11957 with suffixes with --format=raw were not fixed. 11958 11959 src/lzma/args.c | 67 +++++++++++++++++++++++++++++++-------------- 11960 src/lzma/args.h | 13 +++++---- 11961 src/lzma/help.c | 4 +-- 11962 src/lzma/process.c | 24 +++++++++------- 11963 src/lzma/suffix.c | 74 +++++++++++++++++++++++++++++++++++++++++--------- 11964 tests/test_compress.sh | 3 +- 11965 6 files changed, 133 insertions(+), 52 deletions(-) 11966 11967commit 4c321a41c482821aa3c4d64cdf886a6ed904d844 11968Author: Lasse Collin <lasse.collin@tukaani.org> 11969Date: 2008-09-30 17:43:55 +0300 11970 11971 Renamed the test files from .lzma suffix to .xz suffix. 11972 11973 tests/files/README | 128 ++++++++++----------- 11974 ...0-backward_size.lzma => bad-0-backward_size.xz} | Bin 11975 ...pty-truncated.lzma => bad-0-empty-truncated.xz} | Bin 11976 ...d-0-footer_magic.lzma => bad-0-footer_magic.xz} | Bin 11977 ...d-0-header_magic.lzma => bad-0-header_magic.xz} | Bin 11978 ...nonempty_index.lzma => bad-0-nonempty_index.xz} | Bin 11979 .../{bad-0cat-alone.lzma => bad-0cat-alone.xz} | Bin 11980 ...-header_magic.lzma => bad-0cat-header_magic.xz} | Bin 11981 ...bad-0catpad-empty.lzma => bad-0catpad-empty.xz} | Bin 11982 .../{bad-0pad-empty.lzma => bad-0pad-empty.xz} | Bin 11983 ...block_header-1.lzma => bad-1-block_header-1.xz} | Bin 11984 ...block_header-2.lzma => bad-1-block_header-2.xz} | Bin 11985 ...block_header-3.lzma => bad-1-block_header-3.xz} | Bin 11986 ...block_header-4.lzma => bad-1-block_header-4.xz} | Bin 11987 ...bad-1-check-crc32.lzma => bad-1-check-crc32.xz} | Bin 11988 ...bad-1-check-crc64.lzma => bad-1-check-crc64.xz} | Bin 11989 ...d-1-check-sha256.lzma => bad-1-check-sha256.xz} | Bin 11990 .../files/{bad-1-lzma2-1.lzma => bad-1-lzma2-1.xz} | Bin 11991 .../files/{bad-1-lzma2-2.lzma => bad-1-lzma2-2.xz} | Bin 11992 .../files/{bad-1-lzma2-3.lzma => bad-1-lzma2-3.xz} | Bin 11993 .../files/{bad-1-lzma2-4.lzma => bad-1-lzma2-4.xz} | Bin 11994 .../files/{bad-1-lzma2-5.lzma => bad-1-lzma2-5.xz} | Bin 11995 .../files/{bad-1-lzma2-6.lzma => bad-1-lzma2-6.xz} | Bin 11996 .../files/{bad-1-lzma2-7.lzma => bad-1-lzma2-7.xz} | Bin 11997 ...stream_flags-1.lzma => bad-1-stream_flags-1.xz} | Bin 11998 ...stream_flags-2.lzma => bad-1-stream_flags-2.xz} | Bin 11999 ...stream_flags-3.lzma => bad-1-stream_flags-3.xz} | Bin 12000 tests/files/{bad-1-vli-1.lzma => bad-1-vli-1.xz} | Bin 12001 tests/files/{bad-1-vli-2.lzma => bad-1-vli-2.xz} | Bin 12002 ...dding.lzma => bad-2-compressed_data_padding.xz} | Bin 12003 .../files/{bad-2-index-1.lzma => bad-2-index-1.xz} | Bin 12004 .../files/{bad-2-index-2.lzma => bad-2-index-2.xz} | Bin 12005 .../files/{bad-2-index-3.lzma => bad-2-index-3.xz} | Bin 12006 .../files/{bad-2-index-4.lzma => bad-2-index-4.xz} | Bin 12007 tests/files/{good-0-empty.lzma => good-0-empty.xz} | Bin 12008 .../{good-0cat-empty.lzma => good-0cat-empty.xz} | Bin 12009 ...od-0catpad-empty.lzma => good-0catpad-empty.xz} | Bin 12010 .../{good-0pad-empty.lzma => good-0pad-empty.xz} | Bin 12011 ...-1-3delta-lzma2.lzma => good-1-3delta-lzma2.xz} | Bin 12012 ...lock_header-1.lzma => good-1-block_header-1.xz} | Bin 12013 ...lock_header-2.lzma => good-1-block_header-2.xz} | Bin 12014 ...lock_header-3.lzma => good-1-block_header-3.xz} | Bin 12015 ...od-1-check-crc32.lzma => good-1-check-crc32.xz} | Bin 12016 ...od-1-check-crc64.lzma => good-1-check-crc64.xz} | Bin 12017 ...good-1-check-none.lzma => good-1-check-none.xz} | Bin 12018 ...-1-check-sha256.lzma => good-1-check-sha256.xz} | Bin 12019 ...-lzma2.tiff.lzma => good-1-delta-lzma2.tiff.xz} | Bin 12020 .../{good-1-lzma2-1.lzma => good-1-lzma2-1.xz} | Bin 12021 .../{good-1-lzma2-2.lzma => good-1-lzma2-2.xz} | Bin 12022 .../{good-1-lzma2-3.lzma => good-1-lzma2-3.xz} | Bin 12023 ...od-1-sparc-lzma2.lzma => good-1-sparc-lzma2.xz} | Bin 12024 .../{good-1-x86-lzma2.lzma => good-1-x86-lzma2.xz} | Bin 12025 tests/files/{good-2-lzma2.lzma => good-2-lzma2.xz} | Bin 12026 ...ock_header.lzma => unsupported-block_header.xz} | Bin 12027 ...unsupported-check.lzma => unsupported-check.xz} | Bin 12028 ..._flags-1.lzma => unsupported-filter_flags-1.xz} | Bin 12029 ..._flags-2.lzma => unsupported-filter_flags-2.xz} | Bin 12030 ..._flags-3.lzma => unsupported-filter_flags-3.xz} | Bin 12031 tests/test_files.sh | 6 +- 12032 59 files changed, 66 insertions(+), 68 deletions(-) 12033 12034commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb 12035Author: Lasse Collin <lasse.collin@tukaani.org> 12036Date: 2008-09-30 13:57:44 +0300 12037 12038 Fixed Stream decoder to actually use the first_stream variable. 12039 12040 src/liblzma/common/stream_decoder.c | 5 +++++ 12041 1 file changed, 5 insertions(+) 12042 12043commit 3bdbc12c054d1961133ee19802af7dd3c3494543 12044Author: Lasse Collin <lasse.collin@tukaani.org> 12045Date: 2008-09-30 13:56:57 +0300 12046 12047 Added one more test file. 12048 12049 tests/files/README | 15 +++++++++++---- 12050 tests/files/bad-0cat-header_magic.lzma | Bin 0 -> 64 bytes 12051 2 files changed, 11 insertions(+), 4 deletions(-) 12052 12053commit a6639022fdc536e5659b070a465221b4cf7c51fa 12054Author: Lasse Collin <lasse.collin@tukaani.org> 12055Date: 2008-09-30 13:34:07 +0300 12056 12057 Fixed uninitialized variable in Stream decoder. 12058 12059 src/liblzma/common/stream_decoder.c | 1 + 12060 1 file changed, 1 insertion(+) 12061 12062commit ed3709000a3f17ecefab29b2235d7e2221b00003 12063Author: Lasse Collin <lasse.collin@tukaani.org> 12064Date: 2008-09-30 13:27:28 +0300 12065 12066 Added two test files. 12067 12068 tests/files/README | 6 ++++++ 12069 tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes 12070 tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes 12071 3 files changed, 6 insertions(+) 12072 12073commit ea560b0ea80525752bdcd0074d24f8dc170bbe29 12074Author: Lasse Collin <lasse.collin@tukaani.org> 12075Date: 2008-09-27 23:49:24 +0300 12076 12077 Fix conflicting Subblock helper filter's ID. 12078 12079 src/liblzma/common/common.h | 2 +- 12080 1 file changed, 1 insertion(+), 1 deletion(-) 12081 12082commit ad97483b6e55142fd8d5c041db057017a891cd95 12083Author: Lasse Collin <lasse.collin@tukaani.org> 12084Date: 2008-09-27 23:37:13 +0300 12085 12086 Changed magic bytes to match the updated spec. Filename 12087 suffix wasn't changed yet. 12088 12089 src/liblzma/common/auto_decoder.c | 4 ++-- 12090 src/liblzma/common/stream_flags_common.c | 2 +- 12091 tests/files/bad-0-backward_size.lzma | Bin 32 -> 32 bytes 12092 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 31 bytes 12093 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 32 bytes 12094 tests/files/bad-0cat-alone.lzma | Bin 55 -> 55 bytes 12095 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 69 bytes 12096 tests/files/bad-0pad-empty.lzma | Bin 37 -> 37 bytes 12097 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 64 bytes 12098 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 64 bytes 12099 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 68 bytes 12100 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 72 bytes 12101 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 68 bytes 12102 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 72 bytes 12103 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 96 bytes 12104 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 64 bytes 12105 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 424 bytes 12106 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 424 bytes 12107 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 408 bytes 12108 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 408 bytes 12109 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 68 bytes 12110 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 408 bytes 12111 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 68 bytes 12112 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 68 bytes 12113 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 68 bytes 12114 tests/files/bad-1-vli-1.lzma | Bin 72 -> 72 bytes 12115 tests/files/bad-1-vli-2.lzma | Bin 72 -> 72 bytes 12116 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 92 bytes 12117 tests/files/bad-2-index-1.lzma | Bin 92 -> 92 bytes 12118 tests/files/bad-2-index-2.lzma | Bin 92 -> 92 bytes 12119 tests/files/bad-2-index-3.lzma | Bin 92 -> 92 bytes 12120 tests/files/bad-2-index-4.lzma | Bin 92 -> 92 bytes 12121 tests/files/good-0-empty.lzma | Bin 32 -> 32 bytes 12122 tests/files/good-0cat-empty.lzma | Bin 64 -> 64 bytes 12123 tests/files/good-0catpad-empty.lzma | Bin 68 -> 68 bytes 12124 tests/files/good-0pad-empty.lzma | Bin 36 -> 36 bytes 12125 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 528 bytes 12126 tests/files/good-1-block_header-1.lzma | Bin 72 -> 72 bytes 12127 tests/files/good-1-block_header-2.lzma | Bin 68 -> 68 bytes 12128 tests/files/good-1-block_header-3.lzma | Bin 68 -> 68 bytes 12129 tests/files/good-1-check-crc32.lzma | Bin 68 -> 68 bytes 12130 tests/files/good-1-check-crc64.lzma | Bin 72 -> 72 bytes 12131 tests/files/good-1-check-none.lzma | Bin 64 -> 64 bytes 12132 tests/files/good-1-check-sha256.lzma | Bin 96 -> 96 bytes 12133 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 51312 bytes 12134 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 424 bytes 12135 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 424 bytes 12136 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 408 bytes 12137 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 2292 bytes 12138 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 1936 bytes 12139 tests/files/good-2-lzma2.lzma | Bin 92 -> 92 bytes 12140 tests/files/unsupported-block_header.lzma | Bin 68 -> 68 bytes 12141 tests/files/unsupported-check.lzma | Bin 68 -> 68 bytes 12142 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 68 bytes 12143 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 68 bytes 12144 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 68 bytes 12145 56 files changed, 3 insertions(+), 3 deletions(-) 12146 12147commit 7a57069167e9e63394e2b095ee3a63253fcb51c7 12148Author: Lasse Collin <lasse.collin@tukaani.org> 12149Date: 2008-09-27 23:16:09 +0300 12150 12151 Remove po/fi.po since I'm not keeping it updated for now. 12152 12153 po/fi.po | 446 --------------------------------------------------------------- 12154 1 file changed, 446 deletions(-) 12155 12156commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e 12157Author: Lasse Collin <lasse.collin@tukaani.org> 12158Date: 2008-09-27 23:13:54 +0300 12159 12160 Fix also test_compress.sh. 12161 12162 tests/test_compress.sh | 6 +++--- 12163 1 file changed, 3 insertions(+), 3 deletions(-) 12164 12165commit 3a62a5fb85d2eebd8666e64ed5d364d095062858 12166Author: Lasse Collin <lasse.collin@tukaani.org> 12167Date: 2008-09-27 23:01:15 +0300 12168 12169 Fixed compilation of test_filter_flags.c, which was broken by 12170 1dcecfb09b55157b8653d747963069c8bed74f04. 12171 12172 tests/test_filter_flags.c | 16 ++++++++-------- 12173 1 file changed, 8 insertions(+), 8 deletions(-) 12174 12175commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0 12176Author: Lasse Collin <lasse.collin@tukaani.org> 12177Date: 2008-09-27 19:11:02 +0300 12178 12179 Updated file format specification. It changes the suffix 12180 of the new format to .xz and removes the recently added 12181 LZMA filter. 12182 12183 doc/file-format.txt | 125 ++++++++++++++-------------------------------------- 12184 1 file changed, 32 insertions(+), 93 deletions(-) 12185 12186commit 1dcecfb09b55157b8653d747963069c8bed74f04 12187Author: Lasse Collin <lasse.collin@tukaani.org> 12188Date: 2008-09-27 19:09:21 +0300 12189 12190 Some API changes, bug fixes, cleanups etc. 12191 12192 configure.ac | 18 +- 12193 debug/full_flush.c | 7 +- 12194 debug/known_sizes.c | 6 +- 12195 debug/memusage.c | 22 +-- 12196 debug/sync_flush.c | 18 +- 12197 src/liblzma/Makefile.am | 2 +- 12198 src/liblzma/api/lzma/delta.h | 8 +- 12199 src/liblzma/api/lzma/lzma.h | 230 ++++++++++++++++--------- 12200 src/liblzma/common/alignment.c | 7 +- 12201 src/liblzma/common/alone_decoder.c | 11 +- 12202 src/liblzma/common/alone_encoder.c | 9 +- 12203 src/liblzma/common/chunk_size.c | 2 +- 12204 src/liblzma/common/easy.c | 20 ++- 12205 src/liblzma/common/filter_common.c | 4 +- 12206 src/liblzma/common/filter_decoder.c | 4 +- 12207 src/liblzma/common/filter_encoder.c | 4 +- 12208 src/liblzma/common/init_encoder.c | 2 +- 12209 src/liblzma/delta/delta_common.c | 12 +- 12210 src/liblzma/delta/delta_common.h | 2 +- 12211 src/liblzma/delta/delta_decoder.c | 2 +- 12212 src/liblzma/delta/delta_encoder.c | 6 +- 12213 src/liblzma/lz/lz_encoder.c | 30 ++-- 12214 src/liblzma/lz/lz_encoder.h | 26 +-- 12215 src/liblzma/lz/lz_encoder_mf.c | 30 ++-- 12216 src/liblzma/lzma/Makefile.am | 4 +- 12217 src/liblzma/lzma/lzma2_decoder.c | 10 +- 12218 src/liblzma/lzma/lzma2_encoder.c | 27 ++- 12219 src/liblzma/lzma/lzma_common.h | 26 ++- 12220 src/liblzma/lzma/lzma_decoder.c | 37 ++-- 12221 src/liblzma/lzma/lzma_encoder.c | 51 +++--- 12222 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 10 +- 12223 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +-- 12224 src/liblzma/lzma/lzma_encoder_presets.c | 50 ++++-- 12225 src/liblzma/rangecoder/Makefile.am | 4 +- 12226 src/liblzma/subblock/subblock_decoder.c | 2 +- 12227 src/lzma/args.c | 33 ++-- 12228 src/lzma/help.c | 17 +- 12229 src/lzma/options.c | 92 +++++----- 12230 tests/test_block_header.c | 9 +- 12231 tests/test_compress.sh | 4 +- 12232 tests/test_filter_flags.c | 2 +- 12233 41 files changed, 482 insertions(+), 398 deletions(-) 12234 12235commit 5cc5064cae603b649c64c40125c7dd365de54c9d 12236Author: Lasse Collin <lasse.collin@tukaani.org> 12237Date: 2008-09-27 11:28:49 +0300 12238 12239 Added 7z2lzma.bash. 12240 12241 extra/7z2lzma/7z2lzma.bash | 114 +++++++++++++++++++++++++++++++++++++++++++++ 12242 1 file changed, 114 insertions(+) 12243 12244commit f147666a5cd15542d4e427da58629f4a71cc38e1 12245Author: Lasse Collin <lasse.collin@tukaani.org> 12246Date: 2008-09-17 22:11:39 +0300 12247 12248 Miscellaneous LZ and LZMA encoder cleanups 12249 12250 src/liblzma/api/lzma/lzma.h | 14 ------- 12251 src/liblzma/lz/lz_encoder.c | 8 +++- 12252 src/liblzma/lzma/Makefile.am | 1 - 12253 src/liblzma/lzma/lzma_encoder.c | 64 ++++++++++++-------------------- 12254 src/liblzma/lzma/lzma_encoder_features.c | 59 ----------------------------- 12255 5 files changed, 29 insertions(+), 117 deletions(-) 12256 12257commit 13d68b069849e19c33822cd8996cd6447890abb1 12258Author: Lasse Collin <lasse.collin@tukaani.org> 12259Date: 2008-09-13 13:54:00 +0300 12260 12261 LZ decoder cleanup 12262 12263 src/liblzma/lz/lz_decoder.c | 5 ++--- 12264 1 file changed, 2 insertions(+), 3 deletions(-) 12265 12266commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7 12267Author: Lasse Collin <lasse.collin@tukaani.org> 12268Date: 2008-09-13 12:10:43 +0300 12269 12270 Renamed constants: 12271 - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX 12272 - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN 12273 - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR 12274 12275 debug/full_flush.c | 2 +- 12276 debug/known_sizes.c | 2 +- 12277 debug/sync_flush.c | 2 +- 12278 src/liblzma/api/lzma/alignment.h | 2 +- 12279 src/liblzma/api/lzma/base.h | 4 ++-- 12280 src/liblzma/api/lzma/block.h | 28 ++++++++++++++-------------- 12281 src/liblzma/api/lzma/container.h | 12 ++++++------ 12282 src/liblzma/api/lzma/filter.h | 28 ++++++++++++++-------------- 12283 src/liblzma/api/lzma/index.h | 2 +- 12284 src/liblzma/api/lzma/lzma.h | 4 ++-- 12285 src/liblzma/api/lzma/simple.h | 2 +- 12286 src/liblzma/api/lzma/stream_flags.h | 20 ++++++++++---------- 12287 src/liblzma/api/lzma/vli.h | 16 ++++++++-------- 12288 src/liblzma/common/alignment.c | 6 +++--- 12289 src/liblzma/common/alone_decoder.c | 2 +- 12290 src/liblzma/common/auto_decoder.c | 2 +- 12291 src/liblzma/common/block_decoder.c | 12 ++++++------ 12292 src/liblzma/common/block_encoder.c | 6 +++--- 12293 src/liblzma/common/block_header_decoder.c | 16 ++++++++-------- 12294 src/liblzma/common/block_header_encoder.c | 24 ++++++++++++------------ 12295 src/liblzma/common/block_util.c | 8 ++++---- 12296 src/liblzma/common/chunk_size.c | 2 +- 12297 src/liblzma/common/easy.c | 4 ++-- 12298 src/liblzma/common/filter_common.c | 22 +++++++++++----------- 12299 src/liblzma/common/filter_decoder.c | 6 +++--- 12300 src/liblzma/common/filter_encoder.c | 14 +++++++------- 12301 src/liblzma/common/index.c | 24 +++++++++++------------- 12302 src/liblzma/common/index.h | 2 +- 12303 src/liblzma/common/index_hash.c | 13 ++++++------- 12304 src/liblzma/common/stream_decoder.c | 4 ++-- 12305 src/liblzma/common/stream_encoder.c | 4 ++-- 12306 src/liblzma/common/stream_flags_common.c | 6 +++--- 12307 src/liblzma/common/stream_flags_decoder.c | 6 +++--- 12308 src/liblzma/common/stream_flags_encoder.c | 4 ++-- 12309 src/liblzma/common/vli_encoder.c | 2 +- 12310 src/liblzma/common/vli_size.c | 2 +- 12311 src/liblzma/delta/delta_common.c | 2 +- 12312 src/liblzma/delta/delta_decoder.c | 2 +- 12313 src/liblzma/delta/delta_encoder.c | 2 +- 12314 src/liblzma/lz/lz_decoder.c | 2 +- 12315 src/liblzma/lz/lz_encoder.c | 2 +- 12316 src/liblzma/lzma/lzma2_decoder.c | 6 +++--- 12317 src/liblzma/lzma/lzma_decoder.c | 14 +++++++------- 12318 src/liblzma/lzma/lzma_encoder.c | 8 ++++---- 12319 src/liblzma/simple/simple_coder.c | 2 +- 12320 src/liblzma/simple/simple_decoder.c | 2 +- 12321 src/liblzma/subblock/subblock_decoder.c | 6 +++--- 12322 src/liblzma/subblock/subblock_encoder.c | 17 ++++++++--------- 12323 src/lzma/args.c | 2 +- 12324 src/lzma/error.c | 2 +- 12325 src/lzma/list.c | 6 +++--- 12326 src/lzmadec/lzmadec.c | 2 +- 12327 tests/test_block.c | 8 ++++---- 12328 tests/test_block_header.c | 30 +++++++++++++++--------------- 12329 tests/test_filter_flags.c | 2 +- 12330 tests/test_index.c | 2 +- 12331 tests/test_stream_flags.c | 8 ++++---- 12332 tests/tests.h | 2 +- 12333 58 files changed, 220 insertions(+), 224 deletions(-) 12334 12335commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080 12336Author: Lasse Collin <lasse.collin@tukaani.org> 12337Date: 2008-09-12 22:41:40 +0300 12338 12339 Improved the Stream Flags handling API. 12340 12341 src/liblzma/api/lzma/stream_flags.h | 84 +++++++++++++++++++++++++++++-- 12342 src/liblzma/common/stream_decoder.c | 5 +- 12343 src/liblzma/common/stream_encoder.c | 2 + 12344 src/liblzma/common/stream_flags_common.c | 28 ++++++++--- 12345 src/liblzma/common/stream_flags_common.h | 9 ++++ 12346 src/liblzma/common/stream_flags_decoder.c | 3 +- 12347 src/liblzma/common/stream_flags_encoder.c | 10 ++-- 12348 tests/test_stream_flags.c | 8 ++- 12349 8 files changed, 129 insertions(+), 20 deletions(-) 12350 12351commit ec490da5228263b25bf786bb23d1008468f55b30 12352Author: Lasse Collin <lasse.collin@tukaani.org> 12353Date: 2008-09-11 23:10:44 +0300 12354 12355 Simplified debug/known_sizes.c to match the relaxed 12356 requirements of Block encoder. 12357 12358 debug/known_sizes.c | 14 +++++--------- 12359 1 file changed, 5 insertions(+), 9 deletions(-) 12360 12361commit 16e8b98f2659347edfa74afdbbb9e73311153cb9 12362Author: Lasse Collin <lasse.collin@tukaani.org> 12363Date: 2008-09-11 23:09:24 +0300 12364 12365 Remove a check from Block encoder that should have already 12366 been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e. 12367 12368 src/liblzma/common/block_encoder.c | 5 ----- 12369 1 file changed, 5 deletions(-) 12370 12371commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13 12372Author: Lasse Collin <lasse.collin@tukaani.org> 12373Date: 2008-09-11 20:02:38 +0300 12374 12375 Remove bogus #includes. 12376 12377 src/liblzma/common/Makefile.am | 1 - 12378 src/liblzma/common/stream_decoder.c | 3 --- 12379 src/liblzma/common/stream_encoder.c | 1 - 12380 src/liblzma/common/stream_flags_decoder.h | 31 ------------------------------- 12381 4 files changed, 36 deletions(-) 12382 12383commit 01892b2ca5f69bed0ea746e04b604030d57806bb 12384Author: Lasse Collin <lasse.collin@tukaani.org> 12385Date: 2008-09-11 10:49:14 +0300 12386 12387 Updated THANKS. 12388 12389 THANKS | 1 + 12390 1 file changed, 1 insertion(+) 12391 12392commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d 12393Author: Lasse Collin <lasse.collin@tukaani.org> 12394Date: 2008-09-11 10:48:12 +0300 12395 12396 Fix a compiler error on big endian systems that don't 12397 support unaligned memory access. 12398 12399 src/common/integer.h | 32 ++++++++++++++++++-------------- 12400 1 file changed, 18 insertions(+), 14 deletions(-) 12401 12402commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671 12403Author: Lasse Collin <lasse.collin@tukaani.org> 12404Date: 2008-09-11 10:46:14 +0300 12405 12406 Silence a compiler warning. 12407 12408 src/lzma/process.c | 2 +- 12409 1 file changed, 1 insertion(+), 1 deletion(-) 12410 12411commit 9373e81e18822db4972819442ea4c2cb9955470b 12412Author: Lasse Collin <lasse.collin@tukaani.org> 12413Date: 2008-09-10 19:16:32 +0300 12414 12415 Bumped version to 4.999.6alpha. 12416 12417 configure.ac | 2 +- 12418 src/liblzma/api/lzma/version.h | 2 +- 12419 2 files changed, 2 insertions(+), 2 deletions(-) 12420 12421commit cb072b7c8442ba68bb0c62c0abbbe939794887a3 12422Author: Lasse Collin <lasse.collin@tukaani.org> 12423Date: 2008-09-10 17:02:00 +0300 12424 12425 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c. 12426 Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID 12427 is in the reserved range. This allows Block Header encoder to 12428 detect unallowed Filter IDs, which is good for Stream encoder. 12429 12430 src/liblzma/common/filter_flags_encoder.c | 7 ++++--- 12431 1 file changed, 4 insertions(+), 3 deletions(-) 12432 12433commit 123ab0acec435c9e9866a99e30482116cfbd9ba5 12434Author: Lasse Collin <lasse.collin@tukaani.org> 12435Date: 2008-09-10 16:44:32 +0300 12436 12437 Filter handling cleanups 12438 12439 src/liblzma/api/lzma/filter.h | 133 +++++++++++++++++++++++++++--------- 12440 src/liblzma/common/filter_common.h | 3 + 12441 src/liblzma/common/filter_decoder.c | 80 +++++++--------------- 12442 src/liblzma/common/filter_decoder.h | 5 -- 12443 src/liblzma/common/filter_encoder.c | 82 +++++++--------------- 12444 src/liblzma/common/filter_encoder.h | 4 -- 12445 6 files changed, 156 insertions(+), 151 deletions(-) 12446 12447commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1 12448Author: Lasse Collin <lasse.collin@tukaani.org> 12449Date: 2008-09-10 00:33:00 +0300 12450 12451 Comments 12452 12453 src/liblzma/common/stream_encoder.c | 6 +++++- 12454 1 file changed, 5 insertions(+), 1 deletion(-) 12455 12456commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e 12457Author: Lasse Collin <lasse.collin@tukaani.org> 12458Date: 2008-09-10 00:27:02 +0300 12459 12460 Cleaned up Block encoder and moved the no longer shared 12461 code from block_private.h to block_decoder.c. Now the Block 12462 encoder doesn't need compressed_size and uncompressed_size 12463 from lzma_block structure to be initialized. 12464 12465 src/liblzma/api/lzma/block.h | 3 -- 12466 src/liblzma/common/Makefile.am | 1 - 12467 src/liblzma/common/block_decoder.c | 23 +++++++++- 12468 src/liblzma/common/block_encoder.c | 92 ++++++++++++++++++-------------------- 12469 src/liblzma/common/block_private.h | 47 ------------------- 12470 5 files changed, 66 insertions(+), 100 deletions(-) 12471 12472commit 07efcb5a6bc5d7018798ebd728586f84183e7d64 12473Author: Lasse Collin <lasse.collin@tukaani.org> 12474Date: 2008-09-07 10:23:13 +0300 12475 12476 Changed Filter ID of LZMA to 0x20. 12477 12478 doc/file-format.txt | 4 ++-- 12479 src/liblzma/api/lzma/lzma.h | 2 +- 12480 2 files changed, 3 insertions(+), 3 deletions(-) 12481 12482commit 32fe5fa541e82c08e054086279079ae5016bd8d8 12483Author: Lasse Collin <lasse.collin@tukaani.org> 12484Date: 2008-09-06 23:42:50 +0300 12485 12486 Comments 12487 12488 src/liblzma/api/lzma/base.h | 81 ++++++++++++++++++++++++++-------------- 12489 src/liblzma/api/lzma/container.h | 6 ++- 12490 src/liblzma/lz/lz_encoder.c | 3 +- 12491 src/liblzma/lz/lz_encoder.h | 12 +++--- 12492 src/liblzma/lz/lz_encoder_mf.c | 2 +- 12493 5 files changed, 65 insertions(+), 39 deletions(-) 12494 12495commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84 12496Author: Lasse Collin <lasse.collin@tukaani.org> 12497Date: 2008-09-06 15:14:30 +0300 12498 12499 Some API cleanups 12500 12501 src/liblzma/api/lzma/base.h | 314 +++++++++++++++++++++++------------- 12502 src/liblzma/api/lzma/check.h | 10 ++ 12503 src/liblzma/api/lzma/container.h | 40 +++-- 12504 src/liblzma/common/auto_decoder.c | 18 +-- 12505 src/liblzma/common/common.c | 7 + 12506 src/liblzma/common/common.h | 18 ++- 12507 src/liblzma/common/easy.c | 2 +- 12508 src/liblzma/common/stream_decoder.c | 31 ++-- 12509 src/lzma/process.c | 2 +- 12510 src/lzmadec/lzmadec.c | 6 +- 12511 tests/tests.h | 72 +++------ 12512 11 files changed, 301 insertions(+), 219 deletions(-) 12513 12514commit da98df54400998be2a6c3876f9655a3c51b93c10 12515Author: Lasse Collin <lasse.collin@tukaani.org> 12516Date: 2008-09-04 11:53:06 +0300 12517 12518 Added support for raw encoding and decoding to the command 12519 line tool, and made various cleanups. --lzma was renamed to 12520 --lzma1 to prevent people from accidentally using LZMA when 12521 they want LZMA2. 12522 12523 src/lzma/args.c | 17 +++++++++-------- 12524 src/lzma/args.h | 1 + 12525 src/lzma/help.c | 24 ++++++------------------ 12526 src/lzma/process.c | 42 ++++++++++++++++++++++++++++++++++-------- 12527 4 files changed, 50 insertions(+), 34 deletions(-) 12528 12529commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd 12530Author: Lasse Collin <lasse.collin@tukaani.org> 12531Date: 2008-09-04 10:39:15 +0300 12532 12533 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's 12534 simply nothing that would use it. Allow LZMA_FINISH to the 12535 decoders, which will usually ignore it (auto decoder and 12536 Stream decoder being exceptions). 12537 12538 src/liblzma/common/alone_decoder.c | 1 - 12539 src/liblzma/common/block_decoder.c | 2 +- 12540 src/liblzma/common/filter_decoder.c | 2 +- 12541 3 files changed, 2 insertions(+), 3 deletions(-) 12542 12543commit bea301c26d5d52675e11e0236faec0492af98f60 12544Author: Lasse Collin <lasse.collin@tukaani.org> 12545Date: 2008-09-03 17:06:25 +0300 12546 12547 Minor updates to the file format specification. 12548 12549 doc/file-format.txt | 105 ++++++++++++++++++++++++++++++++++++++++++---------- 12550 1 file changed, 85 insertions(+), 20 deletions(-) 12551 12552commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8 12553Author: Lasse Collin <lasse.collin@tukaani.org> 12554Date: 2008-09-02 19:33:32 +0300 12555 12556 Command line tool fixes 12557 12558 src/lzma/process.c | 21 +++++++++++++-------- 12559 1 file changed, 13 insertions(+), 8 deletions(-) 12560 12561commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4 12562Author: Lasse Collin <lasse.collin@tukaani.org> 12563Date: 2008-09-02 19:31:42 +0300 12564 12565 Auto decoder cleanup 12566 12567 src/liblzma/common/auto_decoder.c | 2 +- 12568 1 file changed, 1 insertion(+), 1 deletion(-) 12569 12570commit 689602336d126a46b60d791a67decab65e1e81f5 12571Author: Lasse Collin <lasse.collin@tukaani.org> 12572Date: 2008-09-02 19:12:12 +0300 12573 12574 Updated auto decoder to handle LZMA_CONCATENATED when decoding 12575 LZMA_Alone files. Decoding of concatenated LZMA_Alone files is 12576 intentionally not supported, so it is better to put this in 12577 auto decoder than LZMA_Alone decoder. 12578 12579 src/liblzma/common/auto_decoder.c | 87 ++++++++++++++++++++++++++++++++------- 12580 1 file changed, 71 insertions(+), 16 deletions(-) 12581 12582commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c 12583Author: Lasse Collin <lasse.collin@tukaani.org> 12584Date: 2008-09-02 14:56:52 +0300 12585 12586 Stream decoder cleanups 12587 12588 src/liblzma/common/stream_decoder.c | 57 +++++++++++++++++++++---------------- 12589 1 file changed, 32 insertions(+), 25 deletions(-) 12590 12591commit fc681657450ce57be1fe08f7a15d31dcc705e514 12592Author: Lasse Collin <lasse.collin@tukaani.org> 12593Date: 2008-09-02 11:45:39 +0300 12594 12595 Some fixes to LZ encoder. 12596 12597 src/liblzma/lz/lz_encoder.c | 56 ++++++++++++++++++++----- 12598 src/liblzma/lz/lz_encoder.h | 18 ++++---- 12599 src/liblzma/lz/lz_encoder_mf.c | 95 +++++++++++++++++------------------------- 12600 3 files changed, 94 insertions(+), 75 deletions(-) 12601 12602commit ede675f9ac1ca82a7d7c290324adba672118bc8d 12603Author: Lasse Collin <lasse.collin@tukaani.org> 12604Date: 2008-08-31 11:47:01 +0300 12605 12606 Fix wrong pointer calculation in LZMA encoder. 12607 12608 src/liblzma/lzma/lzma_encoder.c | 4 +++- 12609 1 file changed, 3 insertions(+), 1 deletion(-) 12610 12611commit 3b34851de1eaf358cf9268922fa0eeed8278d680 12612Author: Lasse Collin <lasse.collin@tukaani.org> 12613Date: 2008-08-28 22:53:15 +0300 12614 12615 Sort of garbage collection commit. :-| Many things are still 12616 broken. API has changed a lot and it will still change a 12617 little more here and there. The command line tool doesn't 12618 have all the required changes to reflect the API changes, so 12619 it's easy to get "internal error" or trigger assertions. 12620 12621 configure.ac | 356 +++--- 12622 debug/Makefile.am | 5 +- 12623 .../lz/lz_encoder_private.h => debug/crc32.c | 41 +- 12624 debug/full_flush.c | 14 +- 12625 debug/hex2bin.c | 54 + 12626 debug/known_sizes.c | 135 ++ 12627 debug/memusage.c | 8 +- 12628 debug/sync_flush.c | 20 +- 12629 src/common/integer.h | 26 +- 12630 src/common/sysdefs.h | 42 +- 12631 src/liblzma/Makefile.am | 17 +- 12632 src/liblzma/api/Makefile.am | 6 +- 12633 src/liblzma/api/lzma.h | 161 ++- 12634 src/liblzma/api/lzma/alignment.h | 6 +- 12635 src/liblzma/api/lzma/alone.h | 52 - 12636 src/liblzma/api/lzma/auto.h | 36 - 12637 src/liblzma/api/lzma/base.h | 61 +- 12638 src/liblzma/api/lzma/block.h | 38 +- 12639 src/liblzma/api/lzma/check.h | 41 +- 12640 src/liblzma/api/lzma/container.h | 252 ++++ 12641 src/liblzma/api/lzma/delta.h | 36 +- 12642 src/liblzma/api/lzma/easy.h | 121 -- 12643 src/liblzma/api/lzma/filter.h | 74 +- 12644 src/liblzma/api/lzma/index.h | 40 +- 12645 src/liblzma/api/lzma/index_hash.h | 12 +- 12646 src/liblzma/api/lzma/lzma.h | 222 ++-- 12647 src/liblzma/api/lzma/memlimit.h | 15 +- 12648 src/liblzma/api/lzma/raw.h | 60 - 12649 src/liblzma/api/lzma/simple.h | 2 +- 12650 src/liblzma/api/lzma/stream.h | 53 - 12651 src/liblzma/api/lzma/stream_flags.h | 17 +- 12652 src/liblzma/api/lzma/subblock.h | 4 +- 12653 src/liblzma/api/lzma/version.h | 10 +- 12654 src/liblzma/api/lzma/vli.h | 131 +- 12655 src/liblzma/check/check.c | 128 +- 12656 src/liblzma/check/check.h | 67 +- 12657 src/liblzma/check/sha256.c | 29 +- 12658 src/liblzma/common/Makefile.am | 51 +- 12659 src/liblzma/common/alignment.c | 4 +- 12660 src/liblzma/common/allocator.c | 58 - 12661 src/liblzma/common/alone_decoder.c | 49 +- 12662 src/liblzma/common/alone_decoder.h | 9 +- 12663 src/liblzma/common/alone_encoder.c | 13 +- 12664 src/liblzma/common/auto_decoder.c | 38 +- 12665 src/liblzma/common/block_decoder.c | 67 +- 12666 src/liblzma/common/block_decoder.h | 2 +- 12667 src/liblzma/common/block_encoder.c | 42 +- 12668 src/liblzma/common/block_encoder.h | 2 +- 12669 src/liblzma/common/block_header_decoder.c | 6 +- 12670 src/liblzma/common/block_header_encoder.c | 9 +- 12671 src/liblzma/common/block_util.c | 10 +- 12672 src/liblzma/common/{code.c => common.c} | 129 +- 12673 src/liblzma/common/common.h | 237 ++-- 12674 src/liblzma/common/easy.c | 18 +- 12675 src/liblzma/common/features.c | 66 - 12676 src/liblzma/common/filter_common.c | 262 ++++ 12677 src/liblzma/common/filter_common.h | 52 + 12678 src/liblzma/common/filter_decoder.c | 236 ++++ 12679 src/liblzma/common/filter_decoder.h | 35 + 12680 src/liblzma/common/filter_encoder.c | 308 +++++ 12681 src/liblzma/common/filter_encoder.h | 38 + 12682 src/liblzma/common/filter_flags_decoder.c | 185 +-- 12683 src/liblzma/common/filter_flags_encoder.c | 261 +--- 12684 src/liblzma/common/index_decoder.c | 14 +- 12685 src/liblzma/common/index_encoder.c | 16 +- 12686 src/liblzma/common/index_hash.c | 8 +- 12687 src/liblzma/common/init_encoder.c | 2 +- 12688 src/liblzma/common/memory_usage.c | 112 -- 12689 src/liblzma/common/next_coder.c | 65 - 12690 src/liblzma/common/raw_common.c | 127 -- 12691 src/liblzma/common/raw_decoder.c | 116 -- 12692 src/liblzma/common/raw_encoder.c | 111 -- 12693 src/liblzma/common/stream_common.c | 23 - 12694 src/liblzma/common/stream_decoder.c | 238 +++- 12695 src/liblzma/common/stream_decoder.h | 4 +- 12696 src/liblzma/common/stream_encoder.c | 35 +- 12697 src/liblzma/common/stream_encoder.h | 2 +- 12698 ...{stream_flags_equal.c => stream_flags_common.c} | 14 +- 12699 .../{stream_common.h => stream_flags_common.h} | 8 +- 12700 src/liblzma/common/stream_flags_decoder.c | 2 +- 12701 src/liblzma/common/stream_flags_encoder.c | 2 +- 12702 src/liblzma/common/vli_decoder.c | 29 +- 12703 src/liblzma/common/vli_encoder.c | 23 +- 12704 src/liblzma/common/{version.c => vli_size.c} | 22 +- 12705 src/liblzma/delta/Makefile.am | 34 + 12706 src/liblzma/{common => delta}/delta_common.c | 2 +- 12707 src/liblzma/{common => delta}/delta_common.h | 0 12708 src/liblzma/{common => delta}/delta_decoder.c | 21 + 12709 src/liblzma/{common => delta}/delta_decoder.h | 4 + 12710 src/liblzma/{common => delta}/delta_encoder.c | 21 + 12711 src/liblzma/{common => delta}/delta_encoder.h | 2 + 12712 src/liblzma/lz/Makefile.am | 35 +- 12713 src/liblzma/lz/bt2.c | 27 - 12714 src/liblzma/lz/bt2.h | 31 - 12715 src/liblzma/lz/bt3.c | 29 - 12716 src/liblzma/lz/bt3.h | 31 - 12717 src/liblzma/lz/bt4.c | 30 - 12718 src/liblzma/lz/bt4.h | 31 - 12719 src/liblzma/lz/hc3.c | 30 - 12720 src/liblzma/lz/hc3.h | 31 - 12721 src/liblzma/lz/hc4.c | 31 - 12722 src/liblzma/lz/hc4.h | 31 - 12723 src/liblzma/lz/lz_decoder.c | 547 +++----- 12724 src/liblzma/lz/lz_decoder.h | 308 ++--- 12725 src/liblzma/lz/lz_encoder.c | 780 ++++++------ 12726 src/liblzma/lz/lz_encoder.h | 334 +++-- 12727 src/liblzma/lz/lz_encoder_hash.h | 104 ++ 12728 src/liblzma/lz/lz_encoder_mf.c | 780 ++++++++++++ 12729 src/liblzma/lz/match_c.h | 412 ------ 12730 src/liblzma/lz/match_h.h | 69 -- 12731 src/liblzma/lzma/Makefile.am | 37 +- 12732 src/liblzma/lzma/fastpos.h | 8 +- 12733 src/liblzma/lzma/lzma2_decoder.c | 318 +++++ 12734 src/liblzma/lzma/lzma2_decoder.h | 35 + 12735 src/liblzma/lzma/lzma2_encoder.c | 406 ++++++ 12736 .../{common/raw_common.h => lzma/lzma2_encoder.h} | 22 +- 12737 src/liblzma/lzma/lzma_common.h | 208 +++- 12738 src/liblzma/lzma/lzma_decoder.c | 1306 ++++++++++++-------- 12739 src/liblzma/lzma/lzma_decoder.h | 21 +- 12740 src/liblzma/lzma/lzma_encoder.c | 576 +++++++-- 12741 src/liblzma/lzma/lzma_encoder.h | 38 +- 12742 src/liblzma/lzma/lzma_encoder_features.c | 2 +- 12743 src/liblzma/lzma/lzma_encoder_getoptimum.c | 925 -------------- 12744 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 --- 12745 src/liblzma/lzma/lzma_encoder_init.c | 228 ---- 12746 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 193 +++ 12747 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 875 +++++++++++++ 12748 src/liblzma/lzma/lzma_encoder_presets.c | 52 +- 12749 src/liblzma/lzma/lzma_encoder_private.h | 174 +-- 12750 src/liblzma/lzma/lzma_literal.c | 51 - 12751 src/liblzma/lzma/lzma_literal.h | 71 -- 12752 src/liblzma/rangecoder/Makefile.am | 10 +- 12753 src/liblzma/rangecoder/price.h | 111 ++ 12754 src/liblzma/rangecoder/price_table.c | 84 +- 12755 src/liblzma/rangecoder/price_table_init.c | 33 +- 12756 .../{price_table_gen.c => price_tablegen.c} | 19 +- 12757 src/liblzma/rangecoder/range_common.h | 17 +- 12758 src/liblzma/rangecoder/range_decoder.h | 209 ++-- 12759 src/liblzma/rangecoder/range_encoder.h | 92 +- 12760 src/liblzma/simple/Makefile.am | 12 + 12761 src/liblzma/simple/simple_coder.c | 8 +- 12762 src/liblzma/simple/simple_decoder.c | 47 + 12763 .../raw_decoder.h => simple/simple_decoder.h} | 18 +- 12764 src/liblzma/simple/simple_encoder.c | 45 + 12765 .../raw_encoder.h => simple/simple_encoder.h} | 17 +- 12766 src/liblzma/subblock/Makefile.am | 4 +- 12767 src/liblzma/subblock/subblock_decoder.c | 20 +- 12768 src/liblzma/subblock/subblock_decoder_helper.c | 2 +- 12769 src/liblzma/subblock/subblock_encoder.c | 28 +- 12770 src/lzma/args.c | 35 +- 12771 src/lzma/args.h | 4 +- 12772 src/lzma/options.c | 14 +- 12773 src/lzma/process.c | 88 +- 12774 src/lzmadec/lzmadec.c | 157 +-- 12775 tests/Makefile.am | 1 + 12776 tests/files/README | 303 ++--- 12777 tests/files/bad-0-backward_size.lzma | Bin 0 -> 32 bytes 12778 tests/files/bad-0-empty-truncated.lzma | Bin 0 -> 31 bytes 12779 tests/files/bad-0-nonempty_index.lzma | Bin 0 -> 32 bytes 12780 tests/files/bad-0cat-alone.lzma | Bin 0 -> 55 bytes 12781 tests/files/bad-0catpad-empty.lzma | Bin 0 -> 69 bytes 12782 tests/files/bad-0pad-empty.lzma | Bin 0 -> 37 bytes 12783 tests/files/bad-1-block_header-1.lzma | Bin 0 -> 64 bytes 12784 tests/files/bad-1-block_header-2.lzma | Bin 0 -> 64 bytes 12785 tests/files/bad-1-block_header-3.lzma | Bin 0 -> 68 bytes 12786 tests/files/bad-1-block_header-4.lzma | Bin 0 -> 72 bytes 12787 tests/files/bad-1-check-crc32.lzma | Bin 0 -> 68 bytes 12788 tests/files/bad-1-check-crc64.lzma | Bin 0 -> 72 bytes 12789 tests/files/bad-1-check-sha256.lzma | Bin 0 -> 96 bytes 12790 tests/files/bad-1-lzma2-1.lzma | Bin 0 -> 64 bytes 12791 tests/files/bad-1-lzma2-2.lzma | Bin 0 -> 424 bytes 12792 tests/files/bad-1-lzma2-3.lzma | Bin 0 -> 424 bytes 12793 tests/files/bad-1-lzma2-4.lzma | Bin 0 -> 408 bytes 12794 tests/files/bad-1-lzma2-5.lzma | Bin 0 -> 408 bytes 12795 tests/files/bad-1-lzma2-6.lzma | Bin 0 -> 68 bytes 12796 tests/files/bad-1-lzma2-7.lzma | Bin 0 -> 408 bytes 12797 tests/files/bad-1-stream_flags-1.lzma | Bin 0 -> 68 bytes 12798 tests/files/bad-1-stream_flags-2.lzma | Bin 0 -> 68 bytes 12799 tests/files/bad-1-stream_flags-3.lzma | Bin 0 -> 68 bytes 12800 tests/files/bad-1-vli-1.lzma | Bin 0 -> 72 bytes 12801 tests/files/bad-1-vli-2.lzma | Bin 0 -> 72 bytes 12802 tests/files/bad-2-compressed_data_padding.lzma | Bin 0 -> 92 bytes 12803 tests/files/bad-2-index-1.lzma | Bin 0 -> 92 bytes 12804 tests/files/bad-2-index-2.lzma | Bin 0 -> 92 bytes 12805 tests/files/bad-2-index-3.lzma | Bin 0 -> 92 bytes 12806 tests/files/bad-2-index-4.lzma | Bin 0 -> 92 bytes 12807 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 65 -> 0 bytes 12808 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 65 -> 0 bytes 12809 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 65 -> 0 bytes 12810 tests/files/bad-multi-none-1.lzma | Bin 54 -> 0 bytes 12811 tests/files/bad-multi-none-2.lzma | Bin 53 -> 0 bytes 12812 tests/files/bad-multi-none-3.lzma | Bin 53 -> 0 bytes 12813 tests/files/bad-multi-none-block_1.lzma | Bin 66 -> 0 bytes 12814 tests/files/bad-multi-none-block_2.lzma | Bin 66 -> 0 bytes 12815 tests/files/bad-multi-none-block_3.lzma | Bin 58 -> 0 bytes 12816 tests/files/bad-multi-none-extra_1.lzma | Bin 54 -> 0 bytes 12817 tests/files/bad-multi-none-extra_2.lzma | Bin 54 -> 0 bytes 12818 tests/files/bad-multi-none-extra_3.lzma | Bin 55 -> 0 bytes 12819 tests/files/bad-multi-none-header_1.lzma | Bin 57 -> 0 bytes 12820 tests/files/bad-multi-none-header_2.lzma | Bin 61 -> 0 bytes 12821 tests/files/bad-multi-none-header_3.lzma | Bin 59 -> 0 bytes 12822 tests/files/bad-multi-none-header_4.lzma | Bin 59 -> 0 bytes 12823 tests/files/bad-multi-none-header_5.lzma | Bin 58 -> 0 bytes 12824 tests/files/bad-multi-none-header_6.lzma | Bin 59 -> 0 bytes 12825 tests/files/bad-multi-none-header_7.lzma | Bin 59 -> 0 bytes 12826 tests/files/bad-multi-none-index_1.lzma | Bin 51 -> 0 bytes 12827 tests/files/bad-multi-none-index_2.lzma | Bin 49 -> 0 bytes 12828 tests/files/bad-multi-none-index_3.lzma | Bin 51 -> 0 bytes 12829 tests/files/bad-multi-none-index_4.lzma | Bin 51 -> 0 bytes 12830 tests/files/bad-single-data_after_eopm_1.lzma | Bin 55 -> 0 bytes 12831 tests/files/bad-single-data_after_eopm_2.lzma | Bin 56 -> 0 bytes 12832 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 53 -> 0 bytes 12833 tests/files/bad-single-lzma-flush_twice.lzma | Bin 63 -> 0 bytes 12834 tests/files/bad-single-none-empty.lzma | Bin 19 -> 0 bytes 12835 .../files/bad-single-none-footer_filter_flags.lzma | Bin 30 -> 0 bytes 12836 tests/files/bad-single-none-too_long_vli.lzma | Bin 39 -> 0 bytes 12837 tests/files/bad-single-none-truncated.lzma | Bin 29 -> 0 bytes 12838 tests/files/bad-single-subblock-padding_loop.lzma | Bin 43 -> 0 bytes 12839 tests/files/bad-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes 12840 tests/files/bad-single-subblock_subblock.lzma | Bin 26 -> 0 bytes 12841 tests/files/good-0-empty.lzma | Bin 0 -> 32 bytes 12842 tests/files/good-0cat-empty.lzma | Bin 0 -> 64 bytes 12843 tests/files/good-0catpad-empty.lzma | Bin 0 -> 68 bytes 12844 tests/files/good-0pad-empty.lzma | Bin 0 -> 36 bytes 12845 tests/files/good-1-3delta-lzma2.lzma | Bin 0 -> 528 bytes 12846 tests/files/good-1-block_header-1.lzma | Bin 0 -> 72 bytes 12847 tests/files/good-1-block_header-2.lzma | Bin 0 -> 68 bytes 12848 tests/files/good-1-block_header-3.lzma | Bin 0 -> 68 bytes 12849 tests/files/good-1-check-crc32.lzma | Bin 0 -> 68 bytes 12850 tests/files/good-1-check-crc64.lzma | Bin 0 -> 72 bytes 12851 tests/files/good-1-check-none.lzma | Bin 0 -> 64 bytes 12852 tests/files/good-1-check-sha256.lzma | Bin 0 -> 96 bytes 12853 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 0 -> 51312 bytes 12854 tests/files/good-1-lzma2-1.lzma | Bin 0 -> 424 bytes 12855 tests/files/good-1-lzma2-2.lzma | Bin 0 -> 424 bytes 12856 tests/files/good-1-lzma2-3.lzma | Bin 0 -> 408 bytes 12857 ...gle-sparc-lzma.lzma => good-1-sparc-lzma2.lzma} | Bin 2263 -> 2292 bytes 12858 ...-single-x86-lzma.lzma => good-1-x86-lzma2.lzma} | Bin 1909 -> 1936 bytes 12859 tests/files/good-2-lzma2.lzma | Bin 0 -> 92 bytes 12860 tests/files/good-cat-single-none-pad.lzma | Bin 64 -> 0 bytes 12861 tests/files/good-multi-none-1.lzma | Bin 75 -> 0 bytes 12862 tests/files/good-multi-none-2.lzma | Bin 53 -> 0 bytes 12863 tests/files/good-multi-none-block_1.lzma | Bin 66 -> 0 bytes 12864 tests/files/good-multi-none-block_2.lzma | Bin 58 -> 0 bytes 12865 tests/files/good-multi-none-extra_1.lzma | Bin 51 -> 0 bytes 12866 tests/files/good-multi-none-extra_2.lzma | Bin 79 -> 0 bytes 12867 tests/files/good-multi-none-extra_3.lzma | Bin 55 -> 0 bytes 12868 tests/files/good-multi-none-header_1.lzma | Bin 58 -> 0 bytes 12869 tests/files/good-multi-none-header_2.lzma | Bin 66 -> 0 bytes 12870 tests/files/good-multi-none-header_3.lzma | Bin 59 -> 0 bytes 12871 tests/files/good-single-delta-lzma.tiff.lzma | Bin 51409 -> 0 bytes 12872 tests/files/good-single-lzma-empty.lzma | Bin 21 -> 0 bytes 12873 tests/files/good-single-lzma-flush_1.lzma | Bin 48 -> 0 bytes 12874 tests/files/good-single-lzma-flush_2.lzma | Bin 63 -> 0 bytes 12875 tests/files/good-single-lzma.lzma | Bin 44 -> 0 bytes 12876 tests/files/good-single-none-empty_1.lzma | Bin 18 -> 0 bytes 12877 tests/files/good-single-none-empty_2.lzma | Bin 26 -> 0 bytes 12878 tests/files/good-single-none-empty_3.lzma | Bin 19 -> 0 bytes 12879 tests/files/good-single-none-pad.lzma | Bin 32 -> 0 bytes 12880 tests/files/good-single-none.lzma | Bin 30 -> 0 bytes 12881 tests/files/good-single-subblock-lzma.lzma | Bin 50 -> 0 bytes 12882 tests/files/good-single-subblock_implicit.lzma | Bin 35 -> 0 bytes 12883 tests/files/good-single-subblock_rle.lzma | Bin 118 -> 0 bytes 12884 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 51 -> 0 bytes 12885 tests/files/malicious-single-subblock-256MiB.lzma | Bin 30 -> 0 bytes 12886 tests/files/malicious-single-subblock-64PiB.lzma | Bin 45 -> 0 bytes 12887 tests/files/malicious-single-subblock31-slow.lzma | Bin 1233 -> 0 bytes 12888 tests/files/unsupported-block_header.lzma | Bin 0 -> 68 bytes 12889 tests/files/unsupported-check.lzma | Bin 0 -> 68 bytes 12890 tests/files/unsupported-filter_flags-1.lzma | Bin 0 -> 68 bytes 12891 tests/files/unsupported-filter_flags-2.lzma | Bin 0 -> 68 bytes 12892 tests/files/unsupported-filter_flags-3.lzma | Bin 0 -> 68 bytes 12893 tests/test_block_header.c | 28 +- 12894 tests/test_compress.sh | 4 +- 12895 tests/test_filter_flags.c | 51 +- 12896 tests/test_stream_flags.c | 4 +- 12897 tests/tests.h | 8 + 12898 277 files changed, 9050 insertions(+), 7477 deletions(-) 12899 12900commit 57b9a145a527f0716822615e5ed536d33aebd3fc 12901Author: Lasse Collin <lasse.collin@tukaani.org> 12902Date: 2008-06-20 17:16:32 +0300 12903 12904 Fix test_filter_flags to match the new restriction of lc+lp. 12905 12906 tests/test_filter_flags.c | 3 +++ 12907 1 file changed, 3 insertions(+) 12908 12909commit eaafc4367c77ec1d910e16d11b4da293969d97a3 12910Author: Lasse Collin <lasse.collin@tukaani.org> 12911Date: 2008-06-20 16:19:54 +0300 12912 12913 Remove some redundant code from LZMA encoder. 12914 12915 src/liblzma/lzma/lzma_encoder.c | 15 +-------------- 12916 1 file changed, 1 insertion(+), 14 deletions(-) 12917 12918commit 0809c46534fa5664fe35d9e98d95e87312ed130e 12919Author: Lasse Collin <lasse.collin@tukaani.org> 12920Date: 2008-06-19 16:35:08 +0300 12921 12922 Add limit of lc + lp <= 4. Now we can allocate the 12923 literal coder as part of the main LZMA encoder or 12924 decoder structure. 12925 12926 Make the LZMA decoder to rely on the current internal API 12927 to free the allocated memory in case an error occurs. 12928 12929 src/liblzma/api/lzma/lzma.h | 10 +++++- 12930 src/liblzma/lzma/lzma_decoder.c | 57 ++++++++------------------------- 12931 src/liblzma/lzma/lzma_encoder_init.c | 13 ++++---- 12932 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 12933 src/liblzma/lzma/lzma_literal.c | 39 +++++----------------- 12934 src/liblzma/lzma/lzma_literal.h | 13 +++----- 12935 6 files changed, 43 insertions(+), 91 deletions(-) 12936 12937commit d25ab1b96178f06a0e724f58e3cd68300b2b1275 12938Author: Lasse Collin <lasse.collin@tukaani.org> 12939Date: 2008-06-18 21:45:19 +0300 12940 12941 Comments 12942 12943 src/liblzma/lzma/lzma_encoder.c | 7 ++----- 12944 1 file changed, 2 insertions(+), 5 deletions(-) 12945 12946commit 6368a2fa5901c75864be5171dd57a50af7adbb41 12947Author: Lasse Collin <lasse.collin@tukaani.org> 12948Date: 2008-06-18 19:19:02 +0300 12949 12950 Delete old code that was supposed to be already deleted 12951 from test_block_header.c. 12952 12953 tests/test_block_header.c | 30 ------------------------------ 12954 1 file changed, 30 deletions(-) 12955 12956commit 7d17818cec8597f847b0a2537fde991bbc3d9e96 12957Author: Lasse Collin <lasse.collin@tukaani.org> 12958Date: 2008-06-18 18:02:10 +0300 12959 12960 Update the code to mostly match the new simpler file format 12961 specification. Simplify things by removing most of the 12962 support for known uncompressed size in most places. 12963 There are some miscellaneous changes here and there too. 12964 12965 The API of liblzma has got many changes and still some 12966 more will be done soon. While most of the code has been 12967 updated, some things are not fixed (the command line tool 12968 will choke with invalid filter chain, if nothing else). 12969 12970 Subblock filter is somewhat broken for now. It will be 12971 updated once the encoded format of the Subblock filter 12972 has been decided. 12973 12974 configure.ac | 41 +- 12975 debug/full_flush.c | 16 +- 12976 debug/sync_flush.c | 15 +- 12977 .../check/check_byteswap.h => common/bswap.h} | 15 +- 12978 src/common/integer.h | 167 +++++ 12979 src/liblzma/api/Makefile.am | 5 +- 12980 src/liblzma/api/lzma.h | 9 +- 12981 src/liblzma/api/lzma/alone.h | 32 +- 12982 src/liblzma/api/lzma/auto.h | 7 +- 12983 src/liblzma/api/lzma/base.h | 15 + 12984 src/liblzma/api/lzma/block.h | 306 +++----- 12985 src/liblzma/api/lzma/check.h | 18 +- 12986 src/liblzma/api/lzma/copy.h | 29 - 12987 src/liblzma/api/lzma/easy.h | 61 +- 12988 src/liblzma/api/lzma/extra.h | 114 --- 12989 src/liblzma/api/lzma/filter.h | 5 +- 12990 src/liblzma/api/lzma/index.h | 204 +++++- 12991 src/liblzma/api/lzma/index_hash.h | 94 +++ 12992 src/liblzma/api/lzma/info.h | 315 -------- 12993 src/liblzma/api/lzma/lzma.h | 2 +- 12994 src/liblzma/api/lzma/metadata.h | 100 --- 12995 src/liblzma/api/lzma/raw.h | 20 +- 12996 src/liblzma/api/lzma/stream.h | 157 +--- 12997 src/liblzma/api/lzma/stream_flags.h | 146 ++-- 12998 src/liblzma/api/lzma/version.h | 2 +- 12999 src/liblzma/api/lzma/vli.h | 83 +-- 13000 src/liblzma/check/Makefile.am | 1 - 13001 src/liblzma/check/check.c | 55 +- 13002 src/liblzma/check/check.h | 47 +- 13003 src/liblzma/check/crc32_init.c | 2 +- 13004 src/liblzma/check/crc64_init.c | 2 +- 13005 src/liblzma/check/crc_macros.h | 2 +- 13006 src/liblzma/check/sha256.c | 53 +- 13007 src/liblzma/common/Makefile.am | 31 +- 13008 src/liblzma/common/alignment.c | 5 +- 13009 src/liblzma/common/alone_decoder.c | 77 +- 13010 src/liblzma/common/alone_encoder.c | 99 ++- 13011 src/liblzma/common/auto_decoder.c | 18 +- 13012 src/liblzma/common/block_decoder.c | 298 ++------ 13013 src/liblzma/common/block_encoder.c | 228 ++---- 13014 src/liblzma/common/block_header_decoder.c | 400 ++-------- 13015 src/liblzma/common/block_header_encoder.c | 207 ++---- 13016 src/liblzma/common/block_private.h | 51 +- 13017 src/liblzma/common/block_util.c | 73 ++ 13018 src/liblzma/common/common.h | 44 +- 13019 src/liblzma/common/copy_coder.c | 144 ---- 13020 src/liblzma/common/copy_coder.h | 31 - 13021 src/liblzma/common/delta_common.c | 4 - 13022 src/liblzma/common/delta_common.h | 4 - 13023 src/liblzma/common/delta_decoder.c | 55 +- 13024 src/liblzma/common/delta_encoder.c | 7 +- 13025 src/liblzma/common/{easy_multi.c => easy.c} | 87 ++- 13026 src/liblzma/common/easy_common.c | 54 -- 13027 src/liblzma/common/extra.c | 34 - 13028 src/liblzma/common/features.c | 4 - 13029 src/liblzma/common/filter_flags_decoder.c | 384 +++------- 13030 src/liblzma/common/filter_flags_encoder.c | 120 +-- 13031 src/liblzma/common/index.c | 773 ++++++++++++++++--- 13032 src/liblzma/common/index.h | 67 ++ 13033 src/liblzma/common/index_decoder.c | 252 +++++++ 13034 src/liblzma/common/index_encoder.c | 222 ++++++ 13035 .../{stream_encoder_multi.h => index_encoder.h} | 18 +- 13036 src/liblzma/common/index_hash.c | 340 +++++++++ 13037 src/liblzma/common/info.c | 814 --------------------- 13038 src/liblzma/common/memory_usage.c | 1 - 13039 src/liblzma/common/metadata_decoder.c | 578 --------------- 13040 src/liblzma/common/metadata_decoder.h | 31 - 13041 src/liblzma/common/metadata_encoder.c | 435 ----------- 13042 src/liblzma/common/raw_common.c | 178 ++--- 13043 src/liblzma/common/raw_common.h | 5 +- 13044 src/liblzma/common/raw_decoder.c | 19 +- 13045 src/liblzma/common/raw_decoder.h | 3 +- 13046 src/liblzma/common/raw_encoder.c | 101 +-- 13047 src/liblzma/common/raw_encoder.h | 3 +- 13048 src/liblzma/common/stream_common.h | 3 + 13049 src/liblzma/common/stream_decoder.c | 458 ++++-------- 13050 .../common/{easy_common.h => stream_decoder.h} | 14 +- 13051 src/liblzma/common/stream_encoder.c | 282 +++++++ 13052 .../{metadata_encoder.h => stream_encoder.h} | 14 +- 13053 src/liblzma/common/stream_encoder_multi.c | 445 ----------- 13054 src/liblzma/common/stream_encoder_single.c | 219 ------ 13055 src/liblzma/common/stream_flags_decoder.c | 260 ++----- 13056 src/liblzma/common/stream_flags_encoder.c | 56 +- 13057 .../common/{easy_single.c => stream_flags_equal.c} | 27 +- 13058 src/liblzma/common/vli_decoder.c | 68 +- 13059 src/liblzma/common/vli_encoder.c | 59 +- 13060 src/liblzma/common/vli_reverse_decoder.c | 55 -- 13061 src/liblzma/lz/lz_decoder.c | 6 +- 13062 src/liblzma/lz/lz_decoder.h | 10 +- 13063 src/liblzma/lzma/lzma_decoder.c | 13 +- 13064 src/liblzma/lzma/lzma_decoder.h | 10 +- 13065 src/liblzma/simple/simple_coder.c | 29 +- 13066 src/liblzma/simple/simple_private.h | 4 - 13067 src/liblzma/subblock/subblock_decoder.c | 106 +-- 13068 src/liblzma/subblock/subblock_decoder_helper.c | 5 +- 13069 src/liblzma/subblock/subblock_encoder.c | 8 +- 13070 src/lzma/args.c | 22 +- 13071 src/lzma/args.h | 2 - 13072 src/lzma/error.c | 6 + 13073 src/lzma/process.c | 26 +- 13074 src/lzmadec/lzmadec.c | 8 +- 13075 tests/Makefile.am | 5 +- 13076 tests/test_block_header.c | 411 ++++------- 13077 tests/test_compress.sh | 65 +- 13078 tests/test_filter_flags.c | 116 ++- 13079 tests/test_index.c | 504 ++++++++++++- 13080 tests/test_info.c | 717 ------------------ 13081 tests/test_stream_flags.c | 134 ++-- 13082 tests/tests.h | 14 +- 13083 109 files changed, 4655 insertions(+), 7965 deletions(-) 13084 13085commit bf6348d1a3ff09fdc06940468f318f75ffa6af11 13086Author: Lasse Collin <lasse.collin@tukaani.org> 13087Date: 2008-06-17 15:03:46 +0300 13088 13089 Update the file format specification draft. The new one is 13090 a lot simpler than the previous versions, but it also means 13091 that the existing code will change a lot. 13092 13093 doc/file-format.txt | 1794 +++++++++++++++------------------------------------ 13094 1 file changed, 508 insertions(+), 1286 deletions(-) 13095 13096commit 803194ddd26f01ff60ba4e9924c6087a56b29827 13097Author: Lasse Collin <lasse.collin@tukaani.org> 13098Date: 2008-06-11 21:42:47 +0300 13099 13100 Fix uninitialized variable in LZMA encoder. This was 13101 introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f. 13102 13103 src/liblzma/lzma/lzma_encoder_init.c | 2 ++ 13104 1 file changed, 2 insertions(+) 13105 13106commit 0ea98e52ba87453497b1355c51f13bad55c8924a 13107Author: Lasse Collin <lasse.collin@tukaani.org> 13108Date: 2008-06-11 15:08:44 +0300 13109 13110 Improve command line integer parsing a little in lzma and 13111 lzmadec to make them accept also KiB in addition Ki etc. 13112 Fix also memory usage information in lzmadec --help. 13113 13114 src/lzma/util.c | 23 ++++++++++++++--------- 13115 src/lzmadec/lzmadec.c | 31 ++++++++++++++++++------------- 13116 2 files changed, 32 insertions(+), 22 deletions(-) 13117 13118commit 436fa5fae96d4e35759aed33066060f09ee8c6ef 13119Author: Lasse Collin <lasse.collin@tukaani.org> 13120Date: 2008-06-10 20:36:12 +0300 13121 13122 s/decompressed/compressed/ in the command line tool's 13123 error message. 13124 13125 src/lzma/main.c | 2 +- 13126 1 file changed, 1 insertion(+), 1 deletion(-) 13127 13128commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f 13129Author: Lasse Collin <lasse.collin@tukaani.org> 13130Date: 2008-06-01 12:48:17 +0300 13131 13132 Fix a buffer overflow in the LZMA encoder. It was due to my 13133 misunderstanding of the code. There's no tiny fix for this 13134 problem, so I also cleaned up the code in general. 13135 13136 This reduces the speed of the encoder 2-5 % in the fastest 13137 compression mode ("lzma -1"). High compression modes should 13138 have no noticeable performance difference. 13139 13140 This commit breaks things (especially LZMA_SYNC_FLUSH) but I 13141 will fix them once the new format and LZMA2 has been roughly 13142 implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all 13143 and won't be supported in the new .lzma format. This may 13144 change still but this is what it looks like now. 13145 13146 Support for known uncompressed size (that is, LZMA or LZMA2 13147 without EOPM) is likely to go away. This means there will 13148 be API changes. 13149 13150 src/liblzma/lz/lz_encoder.c | 113 +---- 13151 src/liblzma/lz/lz_encoder.h | 18 +- 13152 src/liblzma/lzma/lzma_encoder.c | 551 ++++++++++++------------- 13153 src/liblzma/lzma/lzma_encoder_getoptimum.c | 59 ++- 13154 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 4 +- 13155 src/liblzma/lzma/lzma_encoder_init.c | 9 +- 13156 src/liblzma/lzma/lzma_encoder_private.h | 15 +- 13157 src/liblzma/rangecoder/range_encoder.h | 383 +++++++++-------- 13158 8 files changed, 532 insertions(+), 620 deletions(-) 13159 13160commit e55e0e873ce2511325749d415ae547d62ab5f00d 13161Author: Lasse Collin <lasse.collin@tukaani.org> 13162Date: 2008-05-30 11:53:41 +0300 13163 13164 Typo fixes from meyering. 13165 13166 doc/faq.txt | 4 ++-- 13167 doc/liblzma-advanced.txt | 2 +- 13168 2 files changed, 3 insertions(+), 3 deletions(-) 13169 13170commit ed6664146fcbe9cc4a3b23b31632182ed812ea93 13171Author: Lasse Collin <lasse.collin@tukaani.org> 13172Date: 2008-05-11 14:24:42 +0300 13173 13174 Remove support for pre-C89 libc versions that lack memcpy, 13175 memmove, and memset. 13176 13177 configure.ac | 2 +- 13178 src/common/sysdefs.h | 15 ++------------- 13179 src/liblzma/common/allocator.c | 2 +- 13180 3 files changed, 4 insertions(+), 15 deletions(-) 13181 13182commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63 13183Author: Lasse Collin <lasse.collin@tukaani.org> 13184Date: 2008-05-11 14:17:21 +0300 13185 13186 Improved C99 compiler detection in configure.ac. It will 13187 pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic 13188 should still give warnings about GNU extensions like before 13189 except with some special keywords like asm(). 13190 13191 configure.ac | 24 ++++++++++++------------ 13192 1 file changed, 12 insertions(+), 12 deletions(-) 13193 13194commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf 13195Author: Lasse Collin <lasse.collin@tukaani.org> 13196Date: 2008-05-06 15:15:07 +0300 13197 13198 Bunch of grammar fixes from meyering. 13199 13200 doc/liblzma-security.txt | 8 ++++---- 13201 src/liblzma/api/lzma/memlimit.h | 6 +++--- 13202 src/lzma/help.c | 2 +- 13203 tests/files/README | 2 +- 13204 4 files changed, 9 insertions(+), 9 deletions(-) 13205 13206commit dc192b6343ae36276c85fcf7ef6006147816eadc 13207Author: Lasse Collin <lasse.collin@tukaani.org> 13208Date: 2008-05-06 13:41:05 +0300 13209 13210 Typo fix 13211 13212 src/liblzma/api/lzma/init.h | 2 +- 13213 1 file changed, 1 insertion(+), 1 deletion(-) 13214 13215commit 944b62b93239b27b338d117f2668c0e95849659b 13216Author: Lasse Collin <lasse.collin@tukaani.org> 13217Date: 2008-05-04 22:29:27 +0300 13218 13219 Don't print an error message on broken pipe unless --verbose 13220 is used. 13221 13222 src/lzma/io.c | 15 ++++++++++++++- 13223 1 file changed, 14 insertions(+), 1 deletion(-) 13224 13225commit 8e074349e47ea6832b8fdf9244e581d453733433 13226Author: Lasse Collin <lasse.collin@tukaani.org> 13227Date: 2008-04-30 22:16:17 +0300 13228 13229 Fix a crash with --format=alone if other filters than LZMA 13230 are specified on the command line. 13231 13232 src/lzma/args.c | 9 +++++++++ 13233 1 file changed, 9 insertions(+) 13234 13235commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73 13236Author: Lasse Collin <lasse.collin@tukaani.org> 13237Date: 2008-04-28 17:08:27 +0300 13238 13239 Updated THANKS. 13240 13241 THANKS | 1 + 13242 1 file changed, 1 insertion(+) 13243 13244commit 3be21fb12f4cec2cf07799e8960382f4cb375369 13245Author: Lasse Collin <lasse.collin@tukaani.org> 13246Date: 2008-04-28 17:06:34 +0300 13247 13248 Fixed wrong spelling "limitter" to "limiter". This affects 13249 liblzma's API. 13250 13251 doc/liblzma-security.txt | 14 +++++++------- 13252 src/liblzma/api/lzma/base.h | 4 ++-- 13253 src/liblzma/api/lzma/memlimit.h | 10 +++++----- 13254 src/liblzma/api/lzma/stream.h | 4 ++-- 13255 src/liblzma/common/Makefile.am | 2 +- 13256 src/liblzma/common/{memory_limitter.c => memory_limiter.c} | 2 +- 13257 src/lzma/list.c | 6 +++--- 13258 src/lzmadec/lzmadec.c | 12 ++++++------ 13259 tests/test_memlimit.c | 4 ++-- 13260 9 files changed, 29 insertions(+), 29 deletions(-) 13261 13262commit beeb81060821dfec4e7898e0d44b7900dcb2215e 13263Author: Lasse Collin <lasse.collin@tukaani.org> 13264Date: 2008-04-25 15:39:50 +0300 13265 13266 Prevent LZ encoder from hanging with known uncompressed 13267 size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream 13268 with known uncompressed size, but since it currently seems 13269 likely that support for encoding with known uncompressed 13270 size will go away anyway, I'm not fixing this problem now. 13271 13272 src/liblzma/lz/lz_encoder.c | 9 +++++++-- 13273 1 file changed, 7 insertions(+), 2 deletions(-) 13274 13275commit c324325f9f13cdeb92153c5d00962341ba070ca2 13276Author: Lasse Collin <lasse.collin@tukaani.org> 13277Date: 2008-04-25 13:58:56 +0300 13278 13279 Removed src/liblzma/common/sysdefs.h symlink, which was 13280 annoying, because "make dist" put two copies of sysdefs.h 13281 into the tarball instead of the symlink. 13282 13283 src/liblzma/check/crc32_table.c | 2 +- 13284 src/liblzma/check/crc64_table.c | 2 +- 13285 src/liblzma/common/Makefile.am | 1 - 13286 src/liblzma/common/common.h | 2 +- 13287 src/liblzma/common/sysdefs.h | 1 - 13288 5 files changed, 3 insertions(+), 5 deletions(-) 13289 13290commit d3ba30243c75c13d094de1793f9c58acdbacc692 13291Author: Lasse Collin <lasse.collin@tukaani.org> 13292Date: 2008-04-25 13:41:29 +0300 13293 13294 Added memusage.c to debug directory. 13295 13296 debug/Makefile.am | 3 ++- 13297 debug/memusage.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 13298 2 files changed, 57 insertions(+), 1 deletion(-) 13299 13300commit 8f804c29aa8471ccd6438ddca254092b8869ca52 13301Author: Lasse Collin <lasse.collin@tukaani.org> 13302Date: 2008-04-25 13:32:35 +0300 13303 13304 Bumped version number to 4.999.3alpha. It will become 5.0.0 13305 once we have a stable release (won't be very soon). The 13306 version number is no longer related to version of LZMA SDK. 13307 13308 Made some small Automake-related changes to toplevel 13309 Makefile.am and configure.ac. 13310 13311 Makefile.am | 7 +++++-- 13312 README | 29 +++++++++++++++++++++++++++++ 13313 configure.ac | 4 ++-- 13314 src/liblzma/api/lzma/version.h | 22 ++++++++++------------ 13315 4 files changed, 46 insertions(+), 16 deletions(-) 13316 13317commit c99037ea10f121cbacf60c37a36c29768ae53447 13318Author: Lasse Collin <lasse.collin@tukaani.org> 13319Date: 2008-04-24 20:25:39 +0300 13320 13321 Fix a memory leak by calling free(extra->data) in 13322 lzma_extra_free(). 13323 13324 src/liblzma/common/extra.c | 1 + 13325 1 file changed, 1 insertion(+) 13326 13327commit 22ba3b0b5043fa481903482ce85015fe775939e5 13328Author: Lasse Collin <lasse.collin@tukaani.org> 13329Date: 2008-04-24 20:23:05 +0300 13330 13331 Make unlzma and lzcat symlinks. 13332 13333 src/lzma/Makefile.am | 12 ++++++++++++ 13334 1 file changed, 12 insertions(+) 13335 13336commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e 13337Author: Lasse Collin <lasse.collin@tukaani.org> 13338Date: 2008-04-24 20:20:27 +0300 13339 13340 Fixed a bug in command line option parsing. 13341 13342 src/lzma/options.c | 2 +- 13343 1 file changed, 1 insertion(+), 1 deletion(-) 13344 13345commit 283f939974c32c47f05d495e8dea455ec646ed64 13346Author: Lasse Collin <lasse.collin@tukaani.org> 13347Date: 2008-04-24 20:19:20 +0300 13348 13349 Added two assert()s. 13350 13351 src/liblzma/lzma/lzma_encoder.c | 4 +++- 13352 1 file changed, 3 insertions(+), 1 deletion(-) 13353 13354commit eb348a60b6e19a7c093f892434f23c4756973ffd 13355Author: Lasse Collin <lasse.collin@tukaani.org> 13356Date: 2008-04-24 19:22:53 +0300 13357 13358 Switch to uint16_t as the type of range coder probabilities. 13359 13360 src/liblzma/rangecoder/range_common.h | 25 +++++++++++++++++++------ 13361 1 file changed, 19 insertions(+), 6 deletions(-) 13362 13363commit 6c5306e312bcfd254cf654f88c04e34ba786df3d 13364Author: Lasse Collin <lasse.collin@tukaani.org> 13365Date: 2008-04-24 18:39:57 +0300 13366 13367 Fix wrong return type (uint32_t -> bool). 13368 13369 src/liblzma/lz/lz_encoder.c | 2 +- 13370 src/liblzma/lz/lz_encoder.h | 2 +- 13371 2 files changed, 2 insertions(+), 2 deletions(-) 13372 13373commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8 13374Author: Lasse Collin <lasse.collin@tukaani.org> 13375Date: 2008-04-24 18:38:00 +0300 13376 13377 Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH. 13378 13379 src/liblzma/lz/lz_encoder.c | 16 ++++++++++++++++ 13380 src/liblzma/lz/lz_encoder.h | 4 ++++ 13381 src/liblzma/lz/match_c.h | 23 ++++++++++++++++++----- 13382 3 files changed, 38 insertions(+), 5 deletions(-) 13383 13384commit bc04486e368d20b3027cde625267762aae063965 13385Author: Lasse Collin <lasse.collin@tukaani.org> 13386Date: 2008-04-24 17:33:01 +0300 13387 13388 Fix fastpos problem in Makefile.am when built with --enable-small. 13389 13390 src/liblzma/lzma/Makefile.am | 5 ++++- 13391 1 file changed, 4 insertions(+), 1 deletion(-) 13392 13393commit 7ab493924e0ed590a5121a15ee54038d238880d3 13394Author: Lasse Collin <lasse.collin@tukaani.org> 13395Date: 2008-04-24 17:30:51 +0300 13396 13397 Use 64-bit integer as range encoder's cache size. This fixes a 13398 theoretical data corruption, which should be very hard to trigger 13399 even intentionally. 13400 13401 src/liblzma/rangecoder/range_encoder.h | 2 +- 13402 1 file changed, 1 insertion(+), 1 deletion(-) 13403 13404commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b 13405Author: Lasse Collin <lasse.collin@tukaani.org> 13406Date: 2008-03-24 16:38:40 +0200 13407 13408 Replaced the range decoder optimization that used arithmetic 13409 right shift with as fast version that doesn't need 13410 arithmetic right shift. Removed the related check from 13411 configure.ac. 13412 13413 configure.ac | 1 - 13414 m4/ax_c_arithmetic_rshift.m4 | 36 ----------------------- 13415 src/liblzma/rangecoder/range_decoder.h | 53 ++++++++++------------------------ 13416 3 files changed, 16 insertions(+), 74 deletions(-) 13417 13418commit ad999efd279d95f1e7ac555b14170e8e9020488c 13419Author: Lasse Collin <lasse.collin@tukaani.org> 13420Date: 2008-03-22 14:39:34 +0200 13421 13422 Take advantage of arithmetic right shift in range decoder. 13423 13424 src/liblzma/rangecoder/range_decoder.h | 52 ++++++++++++++++++++++++---------- 13425 1 file changed, 37 insertions(+), 15 deletions(-) 13426 13427commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d 13428Author: Lasse Collin <lasse.collin@tukaani.org> 13429Date: 2008-03-22 14:18:29 +0200 13430 13431 Added autoconf check to detect if we can use arithmetic 13432 right shift for optimizations. 13433 13434 configure.ac | 1 + 13435 m4/ax_c_arithmetic_rshift.m4 | 36 ++++++++++++++++++++++++++++++++++++ 13436 2 files changed, 37 insertions(+) 13437 13438commit 7521bbdc83acab834594a22bec50c8e1bd836298 13439Author: Lasse Collin <lasse.collin@tukaani.org> 13440Date: 2008-03-22 01:26:36 +0200 13441 13442 Update a comment to use the variable name rep_len_decoder. 13443 13444 (And BTW, the previous commit actually did change the 13445 program logic slightly.) 13446 13447 src/liblzma/lzma/lzma_decoder.c | 2 +- 13448 1 file changed, 1 insertion(+), 1 deletion(-) 13449 13450commit 63b74d000eedaebb8485f623e56864ff5ab71064 13451Author: Lasse Collin <lasse.collin@tukaani.org> 13452Date: 2008-03-22 00:57:33 +0200 13453 13454 Demystified the "state" variable in LZMA code. Use the 13455 word literal instead of char for better consistency. 13456 There are still some names with _char instead of _literal 13457 in lzma_optimum, these may be changed later. 13458 13459 Renamed length coder variables. 13460 13461 This commit doesn't change the program logic. 13462 13463 src/liblzma/lzma/lzma_common.h | 69 ++++++++++++++++++++++-------- 13464 src/liblzma/lzma/lzma_decoder.c | 47 ++++++++++---------- 13465 src/liblzma/lzma/lzma_encoder.c | 14 +++--- 13466 src/liblzma/lzma/lzma_encoder_getoptimum.c | 34 +++++++-------- 13467 src/liblzma/lzma/lzma_encoder_init.c | 5 ++- 13468 src/liblzma/lzma/lzma_encoder_private.h | 8 ++-- 13469 6 files changed, 107 insertions(+), 70 deletions(-) 13470 13471commit e6eb0a26757e851cef62b9440319a8e73b015cb9 13472Author: Lasse Collin <lasse.collin@tukaani.org> 13473Date: 2008-03-14 23:16:11 +0200 13474 13475 Fix data corruption in LZMA encoder. Note that this bug was 13476 specific to liblzma and was *not* present in LZMA SDK. 13477 13478 src/liblzma/lzma/lzma_encoder.c | 4 ++++ 13479 1 file changed, 4 insertions(+) 13480 13481commit 7d516f5129e4373a6d57249d7f608c634c66bf12 13482Author: Lasse Collin <lasse.collin@tukaani.org> 13483Date: 2008-03-14 21:32:37 +0200 13484 13485 Fix a comment API header. 13486 13487 src/liblzma/api/lzma/lzma.h | 2 +- 13488 1 file changed, 1 insertion(+), 1 deletion(-) 13489 13490commit 748d6e4274921a350bd0a317380309717441ef9c 13491Author: Lasse Collin <lasse.collin@tukaani.org> 13492Date: 2008-03-12 23:14:50 +0200 13493 13494 Make lzma_stream.next_in const. Let's see if anyone complains. 13495 13496 src/liblzma/api/lzma/base.h | 2 +- 13497 1 file changed, 1 insertion(+), 1 deletion(-) 13498 13499commit bfde3b24a5ae25ce53c854762b6148952386b025 13500Author: Lasse Collin <lasse.collin@tukaani.org> 13501Date: 2008-03-11 15:35:34 +0200 13502 13503 Apply a minor speed optimization to LZMA decoder. 13504 13505 src/liblzma/lzma/lzma_decoder.c | 85 +++++++++++++++++++++-------------------- 13506 1 file changed, 43 insertions(+), 42 deletions(-) 13507 13508commit f310c50286d9e4e9c6170bb65348c9bb430a65b4 13509Author: Lasse Collin <lasse.collin@tukaani.org> 13510Date: 2008-03-11 15:17:16 +0200 13511 13512 Initialize the last byte of the dictionary to zero so that 13513 lz_get_byte(lz, 0) returns zero. This was broken by 13514 1a3b21859818e4d8e89a1da99699233c1bfd197d. 13515 13516 src/liblzma/lz/lz_decoder.c | 1 + 13517 1 file changed, 1 insertion(+) 13518 13519commit 5ead36cf7f823093672a4e43c3180b38c9abbaff 13520Author: Lasse Collin <lasse.collin@tukaani.org> 13521Date: 2008-03-10 15:57:55 +0200 13522 13523 Really fix the price count initialization. 13524 13525 src/liblzma/lzma/lzma_encoder_init.c | 4 ++-- 13526 1 file changed, 2 insertions(+), 2 deletions(-) 13527 13528commit d4d7feb83d1a1ded8f662a82e21e053841ca726c 13529Author: Lasse Collin <lasse.collin@tukaani.org> 13530Date: 2008-03-10 13:47:17 +0200 13531 13532 Updated THANKS. 13533 13534 THANKS | 1 + 13535 1 file changed, 1 insertion(+) 13536 13537commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258 13538Author: Lasse Collin <lasse.collin@tukaani.org> 13539Date: 2008-03-10 13:46:48 +0200 13540 13541 Initialize align_price_count and match_price_count in 13542 lzma_encoder_init.c. While we don't call 13543 fill_distances_prices() and fill_align_prices() in 13544 lzma_lzma_encoder_init(), we still need to initialize 13545 these two variables so that the fill functions get 13546 called in lzma_encoder_getoptimum.c in the beginning 13547 of a stream. 13548 13549 src/liblzma/lzma/lzma_encoder_init.c | 2 ++ 13550 1 file changed, 2 insertions(+) 13551 13552commit 596fa1fac72823e4ef5bc26bb53f9090445bf748 13553Author: Lasse Collin <lasse.collin@tukaani.org> 13554Date: 2008-03-10 13:44:29 +0200 13555 13556 Always initialize lz->temp_size in lz_decoder.c. temp_size did 13557 get initialized as a side-effect after allocating a new decoder, 13558 but not when the decoder was reused. 13559 13560 src/liblzma/lz/lz_decoder.c | 11 ++++++----- 13561 1 file changed, 6 insertions(+), 5 deletions(-) 13562 13563commit 45e43e169527e7a98a8c8a821d37bf25822b764d 13564Author: Lasse Collin <lasse.collin@tukaani.org> 13565Date: 2008-03-10 13:41:25 +0200 13566 13567 Don't fill allocated memory with 0xFD when debugging is 13568 enabled. It hides errors from Valgrind. 13569 13570 src/liblzma/common/allocator.c | 7 ++++--- 13571 1 file changed, 4 insertions(+), 3 deletions(-) 13572 13573commit c0e19e0662205f81a86da8903cdc325d50635870 13574Author: Lasse Collin <lasse.collin@tukaani.org> 13575Date: 2008-02-28 10:24:31 +0200 13576 13577 Remove two redundant validity checks from the LZMA decoder. 13578 These are already checked elsewhere, so omitting these 13579 gives (very) tiny speed up. 13580 13581 src/liblzma/lzma/lzma_decoder.c | 23 ++++------------------- 13582 1 file changed, 4 insertions(+), 19 deletions(-) 13583 13584commit de7485806284d1614095ae8cb2ebbb5d74c9ac45 13585Author: Lasse Collin <lasse.collin@tukaani.org> 13586Date: 2008-02-06 13:25:32 +0200 13587 13588 Tiny clean up to file-format.txt. 13589 13590 doc/file-format.txt | 6 +++--- 13591 1 file changed, 3 insertions(+), 3 deletions(-) 13592 13593commit 1a3b21859818e4d8e89a1da99699233c1bfd197d 13594Author: Lasse Collin <lasse.collin@tukaani.org> 13595Date: 2008-02-02 14:51:06 +0200 13596 13597 Don't memzero() the history buffer when initializing LZ 13598 decoder. There's no danger of information leak here, so 13599 it isn't required. Doing memzero() takes a lot of time 13600 with large dictionaries, which could make it easier to 13601 construct DoS attack to consume too much CPU time. 13602 13603 src/liblzma/lz/lz_decoder.c | 7 +++---- 13604 1 file changed, 3 insertions(+), 4 deletions(-) 13605 13606commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0 13607Author: Lasse Collin <lasse.collin@tukaani.org> 13608Date: 2008-02-01 08:39:26 +0200 13609 13610 Do uncompressed size validation in raw encoder. This way 13611 it gets done for not only raw encoder, but also Block 13612 and LZMA_Alone encoders. 13613 13614 src/liblzma/common/raw_encoder.c | 90 ++++++++++++++++++++++++++++++++-------- 13615 1 file changed, 73 insertions(+), 17 deletions(-) 13616 13617commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc 13618Author: Lasse Collin <lasse.collin@tukaani.org> 13619Date: 2008-02-01 08:32:05 +0200 13620 13621 Avoid unneeded function call in raw_common.c. 13622 13623 src/liblzma/common/raw_common.c | 20 +++++++++++--------- 13624 1 file changed, 11 insertions(+), 9 deletions(-) 13625 13626commit b596fac963c3ff96f615d4d9b427a213ec341211 13627Author: Lasse Collin <lasse.collin@tukaani.org> 13628Date: 2008-01-26 21:42:38 +0200 13629 13630 Updated THANKS. 13631 13632 THANKS | 1 + 13633 1 file changed, 1 insertion(+) 13634 13635commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2 13636Author: Lasse Collin <lasse.collin@tukaani.org> 13637Date: 2008-01-26 21:40:23 +0200 13638 13639 Added note.GNU-stack to x86 assembler files. It is needed 13640 when using non-executable stack. 13641 13642 src/liblzma/check/crc32_x86.S | 9 +++++++++ 13643 src/liblzma/check/crc64_x86.S | 9 +++++++++ 13644 2 files changed, 18 insertions(+) 13645 13646commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae 13647Author: Lasse Collin <lasse.collin@tukaani.org> 13648Date: 2008-01-26 19:12:50 +0200 13649 13650 Added api/lzma/easy.h. I had forgot to add this to the 13651 git repo. Thanks to Stephan Kulow. 13652 13653 src/liblzma/api/lzma/easy.h | 174 ++++++++++++++++++++++++++++++++++++++++++++ 13654 1 file changed, 174 insertions(+) 13655 13656commit 288b232f54c3692cd36f471d4042f51daf3ea79f 13657Author: Lasse Collin <lasse.collin@tukaani.org> 13658Date: 2008-01-26 11:09:17 +0200 13659 13660 Added more test files. 13661 13662 tests/files/README | 11 +++++++++++ 13663 tests/files/bad-multi-none-header_7.lzma | Bin 0 -> 59 bytes 13664 tests/files/good-single-sparc-lzma.lzma | Bin 0 -> 2263 bytes 13665 tests/files/good-single-x86-lzma.lzma | Bin 0 -> 1909 bytes 13666 4 files changed, 11 insertions(+) 13667 13668commit c467b0defccf233d0c79234407bc38d7d09574d3 13669Author: Lasse Collin <lasse.collin@tukaani.org> 13670Date: 2008-01-26 10:47:55 +0200 13671 13672 Added more test files. 13673 13674 tests/files/README | 6 ++++++ 13675 tests/files/bad-multi-none-block_3.lzma | Bin 0 -> 58 bytes 13676 tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes 13677 3 files changed, 6 insertions(+) 13678 13679commit f9842f712732c482f2def9f24437851e57dd83f8 13680Author: Lasse Collin <lasse.collin@tukaani.org> 13681Date: 2008-01-26 00:25:34 +0200 13682 13683 Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any 13684 of the so called simple filters. If there is demand, limited 13685 support for LZMA_SYNC_FLUSH may be added in future. 13686 13687 After this commit, using LZMA_SYNC_FLUSH shouldn't cause 13688 undefined behavior in any situation. 13689 13690 src/liblzma/api/lzma/simple.h | 9 +++++++++ 13691 src/liblzma/simple/simple_coder.c | 8 ++++++++ 13692 2 files changed, 17 insertions(+) 13693 13694commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa 13695Author: Lasse Collin <lasse.collin@tukaani.org> 13696Date: 2008-01-25 23:50:35 +0200 13697 13698 Added more Multi-Block test files. Improved some 13699 descriptions in the test files' README. 13700 13701 tests/files/README | 34 +++++++++++++++++++++++++------ 13702 tests/files/bad-multi-none-block_1.lzma | Bin 0 -> 66 bytes 13703 tests/files/bad-multi-none-block_2.lzma | Bin 0 -> 66 bytes 13704 tests/files/good-multi-none-block_1.lzma | Bin 0 -> 66 bytes 13705 4 files changed, 28 insertions(+), 6 deletions(-) 13706 13707commit 4441e004185cd4c61bda184010eca5924c9dec87 13708Author: Lasse Collin <lasse.collin@tukaani.org> 13709Date: 2008-01-25 23:12:36 +0200 13710 13711 Combine lzma_options_block validation needed by both Block 13712 encoder and decoder, and put the shared things to 13713 block_private.h. Improved the checks a little so that 13714 they may detect too big Compressed Size at initialization 13715 time if lzma_options_block.total_size or .total_limit is 13716 known. 13717 13718 Allow encoding and decoding Blocks with combinations of 13719 fields that are not allowed by the file format specification. 13720 Doing this requires that the application passes such a 13721 combination in lzma_options_lzma; liblzma doesn't do that, 13722 but it's not impossible that someone could find them useful 13723 in some custom file format. 13724 13725 src/liblzma/common/block_decoder.c | 37 ++++++++++++---------------- 13726 src/liblzma/common/block_encoder.c | 32 +++++------------------- 13727 src/liblzma/common/block_private.h | 50 ++++++++++++++++++++++++++++++++++++++ 13728 3 files changed, 71 insertions(+), 48 deletions(-) 13729 13730commit bf4200c818fcf9102e56328d39cde91bfa13cfb6 13731Author: Lasse Collin <lasse.collin@tukaani.org> 13732Date: 2008-01-25 19:21:22 +0200 13733 13734 Added test_memlimit.c. 13735 13736 tests/Makefile.am | 2 + 13737 tests/test_memlimit.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++ 13738 2 files changed, 116 insertions(+) 13739 13740commit 7b8fc7e6b501a32a36636dac79ecb57099269005 13741Author: Lasse Collin <lasse.collin@tukaani.org> 13742Date: 2008-01-25 19:20:28 +0200 13743 13744 Improved the memory limitter: 13745 - Added lzma_memlimit_max() and lzma_memlimit_reached() 13746 API functions. 13747 - Added simple estimation of malloc()'s memory usage 13748 overhead. 13749 - Fixed integer overflow detection in lzma_memlimit_alloc(). 13750 - Made some white space cleanups and added more comments. 13751 13752 The description of lzma_memlimit_max() in memlimit.h is bad 13753 and should be improved. 13754 13755 src/liblzma/api/lzma/memlimit.h | 35 +++++++++++++ 13756 src/liblzma/common/memory_limitter.c | 97 ++++++++++++++++++++++++++++++------ 13757 2 files changed, 118 insertions(+), 14 deletions(-) 13758 13759commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db 13760Author: Lasse Collin <lasse.collin@tukaani.org> 13761Date: 2008-01-25 13:55:52 +0200 13762 13763 Use more parenthesis in succeed() macro in tests/tests.h. 13764 13765 tests/tests.h | 2 +- 13766 1 file changed, 1 insertion(+), 1 deletion(-) 13767 13768commit 1fd76d488179580d37f31ee11948f4932aed31fd 13769Author: Lasse Collin <lasse.collin@tukaani.org> 13770Date: 2008-01-24 14:49:34 +0200 13771 13772 Added more Multi-Block Stream test files. 13773 13774 tests/files/README | 23 +++++++++++++++++++++++ 13775 tests/files/bad-multi-none-header_2.lzma | Bin 0 -> 61 bytes 13776 tests/files/bad-multi-none-header_3.lzma | Bin 0 -> 59 bytes 13777 tests/files/bad-multi-none-header_4.lzma | Bin 0 -> 59 bytes 13778 tests/files/bad-multi-none-header_5.lzma | Bin 0 -> 58 bytes 13779 tests/files/bad-multi-none-header_6.lzma | Bin 0 -> 59 bytes 13780 tests/files/good-multi-none-header_3.lzma | Bin 0 -> 59 bytes 13781 7 files changed, 23 insertions(+) 13782 13783commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936 13784Author: Lasse Collin <lasse.collin@tukaani.org> 13785Date: 2008-01-24 00:46:05 +0200 13786 13787 Added bunch of test files containing Multi-Block Streams. 13788 13789 tests/files/README | 53 ++++++++++++++++++++++++++++++ 13790 tests/files/bad-multi-none-1.lzma | Bin 0 -> 54 bytes 13791 tests/files/bad-multi-none-2.lzma | Bin 0 -> 53 bytes 13792 tests/files/bad-multi-none-3.lzma | Bin 0 -> 53 bytes 13793 tests/files/bad-multi-none-extra_1.lzma | Bin 0 -> 54 bytes 13794 tests/files/bad-multi-none-extra_2.lzma | Bin 0 -> 54 bytes 13795 tests/files/bad-multi-none-extra_3.lzma | Bin 0 -> 55 bytes 13796 tests/files/bad-multi-none-header_1.lzma | Bin 0 -> 57 bytes 13797 tests/files/bad-multi-none-index_1.lzma | Bin 0 -> 51 bytes 13798 tests/files/bad-multi-none-index_2.lzma | Bin 0 -> 49 bytes 13799 tests/files/bad-multi-none-index_3.lzma | Bin 0 -> 51 bytes 13800 tests/files/bad-multi-none-index_4.lzma | Bin 0 -> 51 bytes 13801 tests/files/good-multi-none-1.lzma | Bin 0 -> 75 bytes 13802 tests/files/good-multi-none-2.lzma | Bin 0 -> 53 bytes 13803 tests/files/good-multi-none-extra_1.lzma | Bin 0 -> 51 bytes 13804 tests/files/good-multi-none-extra_2.lzma | Bin 0 -> 79 bytes 13805 tests/files/good-multi-none-extra_3.lzma | Bin 0 -> 55 bytes 13806 tests/files/good-multi-none-header_1.lzma | Bin 0 -> 58 bytes 13807 tests/files/good-multi-none-header_2.lzma | Bin 0 -> 66 bytes 13808 19 files changed, 53 insertions(+) 13809 13810commit db9df0a9609c01a00a227329fb96e983971040f5 13811Author: Lasse Collin <lasse.collin@tukaani.org> 13812Date: 2008-01-23 23:43:00 +0200 13813 13814 Fix decoding of empty Metadata Blocks, that don't have 13815 even the Metadata Flags field. Earlier the code allowed 13816 such files; now they are prohibited as the file format 13817 specification requires. 13818 13819 src/liblzma/common/metadata_decoder.c | 4 +++- 13820 1 file changed, 3 insertions(+), 1 deletion(-) 13821 13822commit 765f0b05f6e95ed9194fb90819cee189ebbac36b 13823Author: Lasse Collin <lasse.collin@tukaani.org> 13824Date: 2008-01-23 23:38:18 +0200 13825 13826 Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6. 13827 lzma_metadata.header_metadata_size was not properly set to 13828 zero if the Metadata had only the Metadata Flags field. 13829 13830 src/liblzma/common/metadata_decoder.c | 13 +++++++------ 13831 1 file changed, 7 insertions(+), 6 deletions(-) 13832 13833commit 3a7cc5c3dec7b078941f961b0393b86c418883b6 13834Author: Lasse Collin <lasse.collin@tukaani.org> 13835Date: 2008-01-23 23:35:49 +0200 13836 13837 Fix decoding of Extra Records that have empty Data. 13838 13839 src/liblzma/common/metadata_decoder.c | 13 ++++++++++++- 13840 1 file changed, 12 insertions(+), 1 deletion(-) 13841 13842commit e5fdec93e273855c1bcc2579b83cfb481a9a1492 13843Author: Lasse Collin <lasse.collin@tukaani.org> 13844Date: 2008-01-23 22:02:38 +0200 13845 13846 Add the trailing '\0' to lzma_extra.data as the API header 13847 already documents. 13848 13849 src/liblzma/common/metadata_decoder.c | 4 +++- 13850 1 file changed, 3 insertions(+), 1 deletion(-) 13851 13852commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e 13853Author: Lasse Collin <lasse.collin@tukaani.org> 13854Date: 2008-01-23 21:21:21 +0200 13855 13856 Added debug/full_flush.c. 13857 13858 debug/Makefile.am | 3 +- 13859 debug/full_flush.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 13860 2 files changed, 107 insertions(+), 1 deletion(-) 13861 13862commit ae0cd09a666a1682da8fc09487322227679e218d 13863Author: Lasse Collin <lasse.collin@tukaani.org> 13864Date: 2008-01-23 21:05:33 +0200 13865 13866 Return LZMA_STREAM_END instead of LZMA_OK if 13867 LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when 13868 there's no unfinished Block open. 13869 13870 src/liblzma/common/stream_encoder_multi.c | 6 +++++- 13871 1 file changed, 5 insertions(+), 1 deletion(-) 13872 13873commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db 13874Author: Lasse Collin <lasse.collin@tukaani.org> 13875Date: 2008-01-23 20:05:01 +0200 13876 13877 Added bad-single-none-footer_filter_flags.lzma and 13878 bad-single-none-too_long_vli.lzma. 13879 13880 tests/files/README | 5 +++++ 13881 tests/files/bad-single-none-footer_filter_flags.lzma | Bin 0 -> 30 bytes 13882 tests/files/bad-single-none-too_long_vli.lzma | Bin 0 -> 39 bytes 13883 3 files changed, 5 insertions(+) 13884 13885commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd 13886Author: Lasse Collin <lasse.collin@tukaani.org> 13887Date: 2008-01-23 13:42:35 +0200 13888 13889 Fixed a typo. 13890 13891 src/liblzma/subblock/subblock_decoder_helper.c | 2 +- 13892 1 file changed, 1 insertion(+), 1 deletion(-) 13893 13894commit 980f65a9a10160c4d105767871e3002b9aaba3e0 13895Author: Lasse Collin <lasse.collin@tukaani.org> 13896Date: 2008-01-23 13:40:45 +0200 13897 13898 Fix a memory leak in the Subblock encoder. 13899 13900 src/liblzma/subblock/subblock_encoder.c | 1 + 13901 1 file changed, 1 insertion(+) 13902 13903commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6 13904Author: Lasse Collin <lasse.collin@tukaani.org> 13905Date: 2008-01-23 13:36:07 +0200 13906 13907 Fix Size of Header Metadata Block handling. Now 13908 lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN 13909 is not allowed at all. To indicate missing Header Metadata 13910 Block, header_metadata_size must be set to zero. This is 13911 what Metadata decoder does after this patch too. 13912 13913 Note that other missing fields in lzma_metadata are still 13914 indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as 13915 illogical as it sounds at first, because missing Size of 13916 Header Metadata Block means that Header Metadata Block is 13917 not present in the Stream. With other Metadata fields, 13918 a missing field means only that the value is unknown. 13919 13920 src/liblzma/common/info.c | 13 ++++--------- 13921 src/liblzma/common/metadata_decoder.c | 6 ++++++ 13922 src/liblzma/common/metadata_encoder.c | 11 +++++------ 13923 tests/test_info.c | 4 ++-- 13924 4 files changed, 17 insertions(+), 17 deletions(-) 13925 13926commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81 13927Author: Lasse Collin <lasse.collin@tukaani.org> 13928Date: 2008-01-23 13:15:55 +0200 13929 13930 Fix a memory leak in metadata_decoder.c. 13931 13932 src/liblzma/common/metadata_decoder.c | 1 + 13933 1 file changed, 1 insertion(+) 13934 13935commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae 13936Author: Lasse Collin <lasse.collin@tukaani.org> 13937Date: 2008-01-23 13:13:58 +0200 13938 13939 Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which 13940 just moved to problem. Now it's really fixed. 13941 13942 src/liblzma/common/info.c | 5 ++++- 13943 1 file changed, 4 insertions(+), 1 deletion(-) 13944 13945commit 67321de963ccf69410b3868b8e31534fe18a90de 13946Author: Lasse Collin <lasse.collin@tukaani.org> 13947Date: 2008-01-23 00:21:04 +0200 13948 13949 Take advantage of return_if_error() macro in 13950 lzma_info_metadata_set() in info.c. 13951 13952 src/liblzma/common/info.c | 24 ++++++++---------------- 13953 1 file changed, 8 insertions(+), 16 deletions(-) 13954 13955commit 863028cb7ad6d8d0455fa69348f56b376d7b908f 13956Author: Lasse Collin <lasse.collin@tukaani.org> 13957Date: 2008-01-23 00:18:32 +0200 13958 13959 Fixed a dangling pointer that caused invalid free(). 13960 13961 src/liblzma/common/info.c | 1 + 13962 1 file changed, 1 insertion(+) 13963 13964commit cf49f42a6bd40143f54a6b10d6e605599e958c0b 13965Author: Lasse Collin <lasse.collin@tukaani.org> 13966Date: 2008-01-22 22:49:24 +0200 13967 13968 Added lzma_easy_* functions. These should make using 13969 liblzma as easy as using zlib, because the easy API 13970 don't require developers to know any fancy LZMA options. 13971 13972 Note that Multi-Block Stream encoding is currently broken. 13973 The easy API should be OK, the bug(s) are elsewhere. 13974 13975 src/liblzma/api/Makefile.am | 1 + 13976 src/liblzma/api/lzma.h | 1 + 13977 src/liblzma/common/Makefile.am | 5 ++ 13978 src/liblzma/common/easy_common.c | 54 ++++++++++++++++ 13979 src/liblzma/common/easy_common.h | 28 ++++++++ 13980 src/liblzma/common/easy_multi.c | 103 ++++++++++++++++++++++++++++++ 13981 src/liblzma/common/easy_single.c | 37 +++++++++++ 13982 src/liblzma/common/stream_encoder_multi.c | 3 +- 13983 src/liblzma/common/stream_encoder_multi.h | 26 ++++++++ 13984 9 files changed, 256 insertions(+), 2 deletions(-) 13985 13986commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a 13987Author: Lasse Collin <lasse.collin@tukaani.org> 13988Date: 2008-01-22 21:16:22 +0200 13989 13990 Fix Multi-Block Stream encoder's EOPM usage. 13991 13992 src/liblzma/common/stream_encoder_multi.c | 2 +- 13993 1 file changed, 1 insertion(+), 1 deletion(-) 13994 13995commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6 13996Author: Lasse Collin <lasse.collin@tukaani.org> 13997Date: 2008-01-22 00:15:11 +0200 13998 13999 Made lzma_extra pointers const in lzma_options_stream. 14000 14001 src/liblzma/api/lzma/stream.h | 4 ++-- 14002 src/liblzma/common/stream_encoder_multi.c | 8 ++++++-- 14003 2 files changed, 8 insertions(+), 4 deletions(-) 14004 14005commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4 14006Author: Lasse Collin <lasse.collin@tukaani.org> 14007Date: 2008-01-20 20:15:21 +0200 14008 14009 Updated debug/sync_flush.c. 14010 14011 debug/sync_flush.c | 26 ++++++++++++++++++++++++-- 14012 1 file changed, 24 insertions(+), 2 deletions(-) 14013 14014commit d53e9b77054cfade6a643e77d085273a348b189c 14015Author: Lasse Collin <lasse.collin@tukaani.org> 14016Date: 2008-01-20 20:14:26 +0200 14017 14018 Added debug/repeat.c. 14019 14020 debug/Makefile.am | 1 + 14021 debug/repeat.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 14022 2 files changed, 44 insertions(+) 14023 14024commit 107259e306bcfc2336a0fb870fb58034c28faa52 14025Author: Lasse Collin <lasse.collin@tukaani.org> 14026Date: 2008-01-20 20:12:58 +0200 14027 14028 Fix alignment handling bugs in Subblock encoder. 14029 14030 This leaves one known alignment bug unfixed: If repeat count 14031 doesn't fit into 28-bit integer, the encoder has to split 14032 this to multiple Subblocks with Subblock Type `Repeating Data'. 14033 The extra Subblocks may have wrong alignment. Correct alignment 14034 is restored after the split Repeating Data has been completely 14035 written out. 14036 14037 Since the encoder doesn't even try to fix the alignment unless 14038 the size of Data is at least 4 bytes, to trigger this bug you 14039 need at least 4 GiB of repeating data with sequence length of 14040 4 or more bytes. Since the worst thing done by this bug is 14041 misaligned data (no data corruption), this bug simply isn't 14042 worth fixing, because a proper fix isn't simple. 14043 14044 src/liblzma/subblock/subblock_encoder.c | 170 ++++++++++++++++++++++---------- 14045 1 file changed, 119 insertions(+), 51 deletions(-) 14046 14047commit e141fe18950400faaa3503ff88ac20eacd73e88c 14048Author: Lasse Collin <lasse.collin@tukaani.org> 14049Date: 2008-01-19 21:16:33 +0200 14050 14051 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder. 14052 The API for handing Subfilters was changed to make it 14053 consistent with LZMA_SYNC_FLUSH. 14054 14055 A few sanity checks were added for Subfilter handling. Some 14056 small bugs were fixed. More comments were added. 14057 14058 src/liblzma/api/lzma/subblock.h | 29 ++-- 14059 src/liblzma/subblock/subblock_encoder.c | 263 ++++++++++++++++++++++++-------- 14060 2 files changed, 214 insertions(+), 78 deletions(-) 14061 14062commit 23c227a864a3b69f38c6a74306161d4e6918d1cc 14063Author: Lasse Collin <lasse.collin@tukaani.org> 14064Date: 2008-01-19 15:19:21 +0200 14065 14066 Revised the Delta filter implementation. The initialization 14067 function is still shared between encoder and decoder, but the 14068 actual coding is in separate files for encoder and decoder. 14069 14070 There are now separate functions for the actual delta 14071 calculation depending on if Delta is the last filter in the 14072 chain or not. If it is the last, the new code copies the 14073 data from input to output buffer and does the delta 14074 calculation at the same time. The old code first copied the 14075 data, then did the delta in the target buffer, which required 14076 reading through the data twice. 14077 14078 Support for LZMA_SYNC_FLUSH was added to the Delta encoder. 14079 This doesn't change anything in the file format. 14080 14081 src/liblzma/common/Makefile.am | 14 +- 14082 src/liblzma/common/delta_coder.c | 189 --------------------- 14083 src/liblzma/common/delta_common.c | 70 ++++++++ 14084 src/liblzma/common/delta_common.h | 48 ++++++ 14085 src/liblzma/common/delta_decoder.c | 102 +++++++++++ 14086 .../common/{delta_coder.h => delta_decoder.h} | 11 +- 14087 src/liblzma/common/delta_encoder.c | 97 +++++++++++ 14088 src/liblzma/common/delta_encoder.h | 28 +++ 14089 src/liblzma/common/raw_decoder.c | 2 +- 14090 src/liblzma/common/raw_encoder.c | 2 +- 14091 10 files changed, 363 insertions(+), 200 deletions(-) 14092 14093commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73 14094Author: Lasse Collin <lasse.collin@tukaani.org> 14095Date: 2008-01-18 20:18:08 +0200 14096 14097 Added the debug directory and the first debug tool 14098 (sync_flush). These tools are not built unless the 14099 user runs "make" in the debug directory. 14100 14101 Makefile.am | 1 + 14102 configure.ac | 1 + 14103 debug/Makefile.am | 30 ++++++++++++++ 14104 debug/README | 17 ++++++++ 14105 debug/sync_flush.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 14106 5 files changed, 165 insertions(+) 14107 14108commit 0ae3208db94585eb8294b97ded387de0a3a07646 14109Author: Lasse Collin <lasse.collin@tukaani.org> 14110Date: 2008-01-18 20:13:00 +0200 14111 14112 Added test files to test usage of flush marker in LZMA. 14113 14114 tests/files/README | 12 ++++++++++++ 14115 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 0 -> 53 bytes 14116 tests/files/bad-single-lzma-flush_twice.lzma | Bin 0 -> 63 bytes 14117 tests/files/good-single-lzma-flush_1.lzma | Bin 0 -> 48 bytes 14118 tests/files/good-single-lzma-flush_2.lzma | Bin 0 -> 63 bytes 14119 5 files changed, 12 insertions(+) 14120 14121commit ab5feaf1fcc146ef9fd39360c53c290bec39524e 14122Author: Lasse Collin <lasse.collin@tukaani.org> 14123Date: 2008-01-18 20:02:52 +0200 14124 14125 Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders. 14126 That code is now almost completely in LZ coder, where 14127 it can be shared with other LZ77-based algorithms in 14128 future. 14129 14130 src/liblzma/lz/lz_encoder.c | 34 ++++++++++++++++++++++++++-------- 14131 src/liblzma/lz/lz_encoder.h | 1 + 14132 src/liblzma/lzma/lzma_encoder.c | 27 ++------------------------- 14133 3 files changed, 29 insertions(+), 33 deletions(-) 14134 14135commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585 14136Author: Lasse Collin <lasse.collin@tukaani.org> 14137Date: 2008-01-18 17:21:24 +0200 14138 14139 Don't add -g to CFLAGS when --enable-debug is specified. 14140 It's the job of the user to put that in CFLAGS. 14141 14142 configure.ac | 1 - 14143 1 file changed, 1 deletion(-) 14144 14145commit 61d1784d8f1761d979a6da6e223e279ca33815e6 14146Author: Lasse Collin <lasse.collin@tukaani.org> 14147Date: 2008-01-18 14:17:37 +0200 14148 14149 Set stdin and stdout to binary mode on Windows. This patch is 14150 a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068 14151 from lzma-utils-legacy.git. I don't know if the new code base 14152 builds on Windows, but this is a start. 14153 14154 src/lzmadec/lzmadec.c | 9 +++++++++ 14155 1 file changed, 9 insertions(+) 14156 14157commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c 14158Author: Lasse Collin <lasse.collin@tukaani.org> 14159Date: 2008-01-18 00:50:29 +0200 14160 14161 Added test_compress.sh and bunch of files needed by it. 14162 This new set of tests compress and decompress several 14163 test files with many different compression options. 14164 This set of tests will be extended later. 14165 14166 tests/Makefile.am | 30 ++++--- 14167 tests/bcj_test.c | 66 ++++++++++++++ 14168 tests/compress_prepared_bcj_sparc | Bin 0 -> 6804 bytes 14169 tests/compress_prepared_bcj_x86 | Bin 0 -> 4649 bytes 14170 tests/create_compress_files.c | 164 ++++++++++++++++++++++++++++++++++ 14171 tests/test_compress.sh | 183 ++++++++++++++++++++++++++++++++++++++ 14172 6 files changed, 433 insertions(+), 10 deletions(-) 14173 14174commit 33be3c0e24d8f43376ccf71cc77d53671e792f07 14175Author: Lasse Collin <lasse.collin@tukaani.org> 14176Date: 2008-01-17 18:56:53 +0200 14177 14178 Subblock decoder: Don't exit the main loop in decode_buffer() 14179 too early if we hit End of Input while decoding a Subblock of 14180 type Repeating Data. To keep the loop termination condition 14181 elegant, the order of enumerations in coder->sequence were 14182 changed. 14183 14184 To keep the case-labels in roughly the same order as the 14185 enumerations in coder->sequence, large chunks of code was 14186 moved around. This made the diff big and ugly compared to 14187 the amount of the actual changes made. 14188 14189 src/liblzma/subblock/subblock_decoder.c | 272 ++++++++++++++++---------------- 14190 1 file changed, 139 insertions(+), 133 deletions(-) 14191 14192commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd 14193Author: Lasse Collin <lasse.collin@tukaani.org> 14194Date: 2008-01-17 17:39:42 +0200 14195 14196 Fix wrong too small size of argument unfiltered_max 14197 in ia64_coder_init(). It triggered assert() in 14198 simple_coder.c, and could have caused a buffer overflow. 14199 14200 This error was probably a copypaste mistake, since most 14201 of the simple filters use unfiltered_max = 4. 14202 14203 src/liblzma/simple/ia64.c | 2 +- 14204 1 file changed, 1 insertion(+), 1 deletion(-) 14205 14206commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a 14207Author: Lasse Collin <lasse.collin@tukaani.org> 14208Date: 2008-01-17 17:27:45 +0200 14209 14210 Added --delta to the output of "lzma --help". 14211 14212 src/lzma/help.c | 4 ++++ 14213 1 file changed, 4 insertions(+) 14214 14215commit f88590e0014b38d40465937c19f25f05f16c79ae 14216Author: Lasse Collin <lasse.collin@tukaani.org> 14217Date: 2008-01-17 13:14:20 +0200 14218 14219 Fix Subblock docoder: If Subblock filter was used with known 14220 Uncompressed Size, and the last output byte was from RLE, 14221 the code didn't stop decoding as it should have done. 14222 14223 src/liblzma/subblock/subblock_decoder.c | 6 ++++++ 14224 1 file changed, 6 insertions(+) 14225 14226commit bc0b945ca376e333077644d2f7fd54c2848aab8a 14227Author: Lasse Collin <lasse.collin@tukaani.org> 14228Date: 2008-01-16 16:33:37 +0200 14229 14230 Tiny non-technical edits to file-format.txt. 14231 14232 doc/file-format.txt | 6 +++--- 14233 1 file changed, 3 insertions(+), 3 deletions(-) 14234 14235commit 7599bb7064ccf007f054595dedda7927af868252 14236Author: Lasse Collin <lasse.collin@tukaani.org> 14237Date: 2008-01-16 14:48:04 +0200 14238 14239 Plugged a memory leak in stream_decoder.c. 14240 14241 src/liblzma/common/stream_decoder.c | 20 ++++++++++++++++++++ 14242 1 file changed, 20 insertions(+) 14243 14244commit 0b581539311f3712946e81e747839f8fb5f441a7 14245Author: Lasse Collin <lasse.collin@tukaani.org> 14246Date: 2008-01-16 14:47:27 +0200 14247 14248 Added memory leak detection to lzmadec.c. 14249 14250 src/lzmadec/lzmadec.c | 3 +++ 14251 1 file changed, 3 insertions(+) 14252 14253commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4 14254Author: Lasse Collin <lasse.collin@tukaani.org> 14255Date: 2008-01-16 14:46:50 +0200 14256 14257 Added lzma_memlimit_count(). 14258 14259 src/liblzma/api/lzma/memlimit.h | 10 ++++++++++ 14260 src/liblzma/common/memory_limitter.c | 19 +++++++++++++++++++ 14261 2 files changed, 29 insertions(+) 14262 14263commit 19389f2b82ec54fd4c847a18f16482e7be4c9887 14264Author: Lasse Collin <lasse.collin@tukaani.org> 14265Date: 2008-01-16 14:31:44 +0200 14266 14267 Added ARRAY_SIZE(array) macro. 14268 14269 src/common/sysdefs.h | 4 ++++ 14270 1 file changed, 4 insertions(+) 14271 14272commit 9bc33a54cbf83952130adbcb1be32c6882485416 14273Author: Lasse Collin <lasse.collin@tukaani.org> 14274Date: 2008-01-16 13:27:03 +0200 14275 14276 Make Uncompresed Size validation more strict 14277 in alone_decoder.c. 14278 14279 src/liblzma/common/alone_decoder.c | 3 ++- 14280 1 file changed, 2 insertions(+), 1 deletion(-) 14281 14282commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883 14283Author: Lasse Collin <lasse.collin@tukaani.org> 14284Date: 2008-01-15 17:46:59 +0200 14285 14286 Free the allocated memory in lzmadec if debugging is 14287 enabled. This should make it possible to detect possible 14288 memory leaks with Valgrind. 14289 14290 src/lzmadec/lzmadec.c | 7 +++++++ 14291 1 file changed, 7 insertions(+) 14292 14293commit 8235e6e5b2878f76633afcda9a334640db503ef5 14294Author: Lasse Collin <lasse.collin@tukaani.org> 14295Date: 2008-01-15 16:25:38 +0200 14296 14297 Fix memory leaks from test_block_header.c. 14298 14299 tests/test_block_header.c | 19 +++++++++++++++++-- 14300 1 file changed, 17 insertions(+), 2 deletions(-) 14301 14302commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6 14303Author: Lasse Collin <lasse.collin@tukaani.org> 14304Date: 2008-01-15 14:23:35 +0200 14305 14306 Use fastpos.h when encoding LZMA dictionary size in 14307 Filter Flags encoder. 14308 14309 src/liblzma/common/filter_flags_encoder.c | 40 +++++++++++++++---------------- 14310 1 file changed, 19 insertions(+), 21 deletions(-) 14311 14312commit e5728142a2048979f5c0c2149ce71ae952a092e1 14313Author: Lasse Collin <lasse.collin@tukaani.org> 14314Date: 2008-01-15 14:02:22 +0200 14315 14316 Revised the fastpos code. It now uses the slightly faster 14317 table-based version from LZMA SDK 4.57. This should be 14318 fast on most systems. 14319 14320 A simpler and smaller alternative version is also provided. 14321 On some CPUs this can be even a little faster than the 14322 default table-based version (see comments in fastpos.h), 14323 but on most systems the table-based code is faster. 14324 14325 src/liblzma/common/init_encoder.c | 3 - 14326 src/liblzma/lzma/Makefile.am | 4 + 14327 src/liblzma/lzma/fastpos.h | 156 +++++++++ 14328 src/liblzma/lzma/fastpos_table.c | 519 +++++++++++++++++++++++++++++ 14329 src/liblzma/lzma/fastpos_tablegen.c | 63 ++++ 14330 src/liblzma/lzma/lzma_common.h | 3 +- 14331 src/liblzma/lzma/lzma_encoder.c | 1 + 14332 src/liblzma/lzma/lzma_encoder_getoptimum.c | 1 + 14333 src/liblzma/lzma/lzma_encoder_init.c | 22 -- 14334 src/liblzma/lzma/lzma_encoder_private.h | 21 -- 14335 10 files changed, 746 insertions(+), 47 deletions(-) 14336 14337commit 10437b5b567f6a025ff16c45a572e417a0a9cc26 14338Author: Lasse Collin <lasse.collin@tukaani.org> 14339Date: 2008-01-15 13:32:13 +0200 14340 14341 Added bsr.h. 14342 14343 src/liblzma/common/Makefile.am | 1 + 14344 src/liblzma/common/bsr.h | 61 ++++++++++++++++++++++++++++++++++++++++++ 14345 2 files changed, 62 insertions(+) 14346 14347commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244 14348Author: Lasse Collin <lasse.collin@tukaani.org> 14349Date: 2008-01-15 13:29:14 +0200 14350 14351 Fixed assembler detection in configure.ac, and added 14352 detection for x86_64. 14353 14354 configure.ac | 32 ++++++++++++++++---------------- 14355 1 file changed, 16 insertions(+), 16 deletions(-) 14356 14357commit 54ec204f58287f50d3976288295da4188a19192b 14358Author: Lasse Collin <lasse.collin@tukaani.org> 14359Date: 2008-01-15 12:20:41 +0200 14360 14361 Omit invalid space from printf() format string 14362 in price_table_gen.c. 14363 14364 src/liblzma/rangecoder/price_table_gen.c | 2 +- 14365 1 file changed, 1 insertion(+), 1 deletion(-) 14366 14367commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1 14368Author: Lasse Collin <lasse.collin@tukaani.org> 14369Date: 2008-01-15 09:54:34 +0200 14370 14371 Removed a few unused macros from lzma_common.h. 14372 14373 src/liblzma/lzma/lzma_common.h | 8 ++------ 14374 1 file changed, 2 insertions(+), 6 deletions(-) 14375 14376commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d 14377Author: Lasse Collin <lasse.collin@tukaani.org> 14378Date: 2008-01-15 08:37:42 +0200 14379 14380 Fix a typo in lzma_encoder.c. 14381 14382 src/liblzma/lzma/lzma_encoder.c | 2 +- 14383 1 file changed, 1 insertion(+), 1 deletion(-) 14384 14385commit 9f9b1983013048f2142e8bc7e240149d2687bedc 14386Author: Lasse Collin <lasse.collin@tukaani.org> 14387Date: 2008-01-15 08:36:25 +0200 14388 14389 Convert bittree_get_price() and bittree_reverse_get_price() 14390 from macros to inline functions. 14391 14392 src/liblzma/lzma/lzma_encoder.c | 19 +++----- 14393 src/liblzma/lzma/lzma_encoder_getoptimum.c | 16 +++---- 14394 src/liblzma/rangecoder/range_encoder.h | 76 +++++++++++++++++------------- 14395 3 files changed, 56 insertions(+), 55 deletions(-) 14396 14397commit 78e85cb1a7667c54853670d2eb09d754bcbda87d 14398Author: Lasse Collin <lasse.collin@tukaani.org> 14399Date: 2008-01-15 07:44:59 +0200 14400 14401 Fix CRC code in case --enable-small is used. 14402 14403 src/liblzma/check/crc32_init.c | 2 +- 14404 src/liblzma/check/crc64_init.c | 2 +- 14405 src/liblzma/common/init_decoder.c | 2 -- 14406 src/liblzma/common/init_encoder.c | 2 -- 14407 tests/test_check.c | 2 ++ 14408 5 files changed, 4 insertions(+), 6 deletions(-) 14409 14410commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0 14411Author: Lasse Collin <lasse.collin@tukaani.org> 14412Date: 2008-01-15 07:41:39 +0200 14413 14414 Fix typo in test_index.c. 14415 14416 tests/test_index.c | 2 +- 14417 1 file changed, 1 insertion(+), 1 deletion(-) 14418 14419commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6 14420Author: Lasse Collin <lasse.collin@tukaani.org> 14421Date: 2008-01-15 07:40:21 +0200 14422 14423 Added precomputed range coder probability price table. 14424 14425 src/liblzma/common/init_encoder.c | 5 +- 14426 src/liblzma/rangecoder/Makefile.am | 9 ++- 14427 src/liblzma/rangecoder/price_table.c | 70 ++++++++++++++++++++++ 14428 src/liblzma/rangecoder/price_table_gen.c | 55 +++++++++++++++++ 14429 .../{range_encoder.c => price_table_init.c} | 6 +- 14430 src/liblzma/rangecoder/range_common.h | 4 +- 14431 src/liblzma/rangecoder/range_encoder.h | 21 ++++--- 14432 7 files changed, 153 insertions(+), 17 deletions(-) 14433 14434commit 362dc3843b373c1007a50a4719f378981f18ae03 14435Author: Lasse Collin <lasse.collin@tukaani.org> 14436Date: 2008-01-14 13:42:43 +0200 14437 14438 Remove RC_BUFFER_SIZE from lzma_encoder_private.h 14439 and replace it with a sanity check. 14440 14441 src/liblzma/lzma/lzma_encoder_private.h | 6 ++++-- 14442 1 file changed, 4 insertions(+), 2 deletions(-) 14443 14444commit e22b37968d153683fec61ad37b6b160cb7ca4ddc 14445Author: Lasse Collin <lasse.collin@tukaani.org> 14446Date: 2008-01-14 13:39:54 +0200 14447 14448 Major changes to LZ encoder, LZMA encoder, and range encoder. 14449 These changes implement support for LZMA_SYNC_FLUSH in LZMA 14450 encoder, and move the temporary buffer needed by range encoder 14451 from lzma_range_encoder structure to lzma_lz_encoder. 14452 14453 src/liblzma/lz/lz_encoder.c | 138 ++++++++++++++++++++++++++++----- 14454 src/liblzma/lz/lz_encoder.h | 17 ++-- 14455 src/liblzma/lzma/lzma_encoder.c | 74 ++++++++++-------- 14456 src/liblzma/rangecoder/range_encoder.h | 117 ++++++++-------------------- 14457 4 files changed, 206 insertions(+), 140 deletions(-) 14458 14459commit b59ef3973781f892c0a72b5e5934194567100be5 14460Author: Lasse Collin <lasse.collin@tukaani.org> 14461Date: 2008-01-14 13:34:29 +0200 14462 14463 Added one assert() to process.c of the command line tool. 14464 14465 src/lzma/process.c | 1 + 14466 1 file changed, 1 insertion(+) 14467 14468commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7 14469Author: Lasse Collin <lasse.collin@tukaani.org> 14470Date: 2008-01-14 12:09:52 +0200 14471 14472 Don't use coder->lz.stream_end_was_reached in assertions 14473 in match_c.h. 14474 14475 src/liblzma/lz/match_c.h | 2 -- 14476 1 file changed, 2 deletions(-) 14477 14478commit 3e09e1c05871f3757f759b801890ccccc9286608 14479Author: Lasse Collin <lasse.collin@tukaani.org> 14480Date: 2008-01-14 12:08:02 +0200 14481 14482 In lzma_read_match_distances(), don't use 14483 coder->lz.stream_end_was_reached. That variable 14484 will be removed, and the check isn't required anyway. 14485 Rearrange the check so that it doesn't make one to 14486 think that there could be an integer overflow. 14487 14488 src/liblzma/lzma/lzma_encoder_private.h | 6 +++--- 14489 1 file changed, 3 insertions(+), 3 deletions(-) 14490 14491commit a670fec8021e5962429689c194148a04c3418872 14492Author: Lasse Collin <lasse.collin@tukaani.org> 14493Date: 2008-01-14 11:56:41 +0200 14494 14495 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders. 14496 14497 src/liblzma/common/block_encoder.c | 4 ++-- 14498 src/liblzma/common/stream_encoder_single.c | 1 + 14499 2 files changed, 3 insertions(+), 2 deletions(-) 14500 14501commit 3599dba9570a6972a16b6398d6c838e9b420e985 14502Author: Lasse Collin <lasse.collin@tukaani.org> 14503Date: 2008-01-14 11:54:56 +0200 14504 14505 More fixes to LZMA decoder's flush marker handling. 14506 14507 src/liblzma/lzma/lzma_decoder.c | 52 ++++++++++++++++++++++++----------------- 14508 1 file changed, 30 insertions(+), 22 deletions(-) 14509 14510commit f73c2ab6079ed5675a42b39d584a567befbd4624 14511Author: Lasse Collin <lasse.collin@tukaani.org> 14512Date: 2008-01-10 17:13:42 +0200 14513 14514 Eliminate lzma_lz_encoder.must_move_pos. It's needed 14515 only in one place which isn't performance criticial. 14516 14517 src/liblzma/lz/lz_encoder.c | 6 ++---- 14518 src/liblzma/lz/lz_encoder.h | 4 ---- 14519 2 files changed, 2 insertions(+), 8 deletions(-) 14520 14521commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd 14522Author: Lasse Collin <lasse.collin@tukaani.org> 14523Date: 2008-01-09 20:05:57 +0200 14524 14525 Define HAVE_ASM_X86 when x86 assembler optimizations are 14526 used. This #define will be useful for inline assembly. 14527 14528 configure.ac | 5 ++++- 14529 1 file changed, 4 insertions(+), 1 deletion(-) 14530 14531commit 0e70fbe4032351aab13a1cd8e5deced105c0b276 14532Author: Lasse Collin <lasse.collin@tukaani.org> 14533Date: 2008-01-09 12:06:46 +0200 14534 14535 Added good-single-none-empty_3.lzma and 14536 bad-single-none-empty.lzma. 14537 14538 tests/files/README | 6 ++++++ 14539 tests/files/bad-single-none-empty.lzma | Bin 0 -> 19 bytes 14540 tests/files/good-single-none-empty_3.lzma | Bin 0 -> 19 bytes 14541 3 files changed, 6 insertions(+) 14542 14543commit 379fbbe84d922c7cc00afa65c6f0c095da596b19 14544Author: Lasse Collin <lasse.collin@tukaani.org> 14545Date: 2008-01-08 23:11:59 +0200 14546 14547 Take advantage of return_if_error() in block_decoder.c. 14548 14549 src/liblzma/common/block_decoder.c | 23 +++++++---------------- 14550 1 file changed, 7 insertions(+), 16 deletions(-) 14551 14552commit 97d5fa82077e57815dfad995dc393c2809a78539 14553Author: Lasse Collin <lasse.collin@tukaani.org> 14554Date: 2008-01-08 23:10:57 +0200 14555 14556 Updated tests/files/README. 14557 14558 tests/files/README | 15 +++++++++------ 14559 1 file changed, 9 insertions(+), 6 deletions(-) 14560 14561commit 3bb9bb310936cba6a743b4f06739a397dec7c28f 14562Author: Lasse Collin <lasse.collin@tukaani.org> 14563Date: 2008-01-08 23:05:40 +0200 14564 14565 Added test files with empty Compressed Data. 14566 14567 tests/files/README | 6 ++++++ 14568 tests/files/good-single-lzma-empty.lzma | Bin 0 -> 21 bytes 14569 tests/files/good-single-none-empty_1.lzma | Bin 0 -> 18 bytes 14570 tests/files/good-single-none-empty_2.lzma | Bin 0 -> 26 bytes 14571 4 files changed, 6 insertions(+) 14572 14573commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f 14574Author: Lasse Collin <lasse.collin@tukaani.org> 14575Date: 2008-01-08 22:58:42 +0200 14576 14577 Fix decoding of Blocks that have only Block Header. 14578 14579 src/liblzma/common/block_decoder.c | 37 ++++++++++++++----------------------- 14580 1 file changed, 14 insertions(+), 23 deletions(-) 14581 14582commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4 14583Author: Lasse Collin <lasse.collin@tukaani.org> 14584Date: 2008-01-08 22:27:46 +0200 14585 14586 Added good-single-subblock_implicit.lzma. 14587 14588 tests/files/README | 2 ++ 14589 tests/files/good-single-subblock_implicit.lzma | Bin 0 -> 35 bytes 14590 2 files changed, 2 insertions(+) 14591 14592commit faeac7b7aca75f86afed1e7cc06279d9d497c627 14593Author: Lasse Collin <lasse.collin@tukaani.org> 14594Date: 2008-01-08 18:50:30 +0200 14595 14596 Disable CRC32 from Block Headers when --check=none 14597 has been specified. 14598 14599 src/lzma/process.c | 2 +- 14600 1 file changed, 1 insertion(+), 1 deletion(-) 14601 14602commit a751126dbb656767ed4666cf0e5d3e17349d93d1 14603Author: Lasse Collin <lasse.collin@tukaani.org> 14604Date: 2008-01-08 13:36:29 +0200 14605 14606 Fixed encoding of empty files. Arguments to is_size_valid() 14607 were in wrong order in block_encoder.c. 14608 14609 src/liblzma/common/block_encoder.c | 2 +- 14610 1 file changed, 1 insertion(+), 1 deletion(-) 14611 14612commit 9080267603b1006c4867c823307dca9df8be0d20 14613Author: Lasse Collin <lasse.collin@tukaani.org> 14614Date: 2008-01-08 13:35:36 +0200 14615 14616 Added a few test files. 14617 14618 tests/files/README | 21 ++++++++++++++++++--- 14619 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 0 -> 65 bytes 14620 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes 14621 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes 14622 ...eopm.lzma => bad-single-data_after_eopm_1.lzma} | Bin 14623 tests/files/bad-single-none-truncated.lzma | Bin 0 -> 29 bytes 14624 6 files changed, 18 insertions(+), 3 deletions(-) 14625 14626commit b4943ccf73b64fc93a90a23474509c316f55eb2b 14627Author: Lasse Collin <lasse.collin@tukaani.org> 14628Date: 2008-01-08 12:29:58 +0200 14629 14630 Avoid using ! in test_files.sh, because that doesn't work 14631 with some ancient /bin/sh versions. 14632 14633 tests/test_files.sh | 4 +++- 14634 1 file changed, 3 insertions(+), 1 deletion(-) 14635 14636commit e2417b2b9134f3f65e14b61e23cd3644d8954353 14637Author: Lasse Collin <lasse.collin@tukaani.org> 14638Date: 2008-01-08 00:48:30 +0200 14639 14640 More pre-C99 inttypes.h compatibility fixes. Now the code 14641 should work even if the system has no inttypes.h. 14642 14643 src/common/physmem.h | 11 ----------- 14644 src/liblzma/check/crc32_init.c | 5 +---- 14645 src/liblzma/check/crc32_tablegen.c | 7 ++----- 14646 src/liblzma/check/crc64_init.c | 5 +---- 14647 src/liblzma/check/crc64_tablegen.c | 7 ++----- 14648 5 files changed, 6 insertions(+), 29 deletions(-) 14649 14650commit 5d227e51c23639423f4ade06aabb54e131f8505e 14651Author: Lasse Collin <lasse.collin@tukaani.org> 14652Date: 2008-01-07 23:25:32 +0200 14653 14654 Updated fi.po although it's currently pretty much crap. 14655 14656 po/fi.po | 12 ++++++------ 14657 1 file changed, 6 insertions(+), 6 deletions(-) 14658 14659commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d 14660Author: Lasse Collin <lasse.collin@tukaani.org> 14661Date: 2008-01-07 23:14:25 +0200 14662 14663 Test for $GCC = yes instead of if it is non-empty. This 14664 way it is possible to use ac_cv_c_compiler_gnu=no to 14665 force configure to think it is using non-GNU C compiler. 14666 14667 configure.ac | 2 +- 14668 1 file changed, 1 insertion(+), 1 deletion(-) 14669 14670commit 3dbbea82b74bb841c995ad332a3aeca613015e10 14671Author: Lasse Collin <lasse.collin@tukaani.org> 14672Date: 2008-01-07 21:49:41 +0200 14673 14674 Added test_files.sh to tests/Makefile.am so it gets 14675 included in the tarball with "make dist". 14676 14677 tests/Makefile.am | 2 +- 14678 1 file changed, 1 insertion(+), 1 deletion(-) 14679 14680commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0 14681Author: Lasse Collin <lasse.collin@tukaani.org> 14682Date: 2008-01-07 18:22:24 +0200 14683 14684 Cosmetic edit to test_files.sh. 14685 14686 tests/test_files.sh | 4 ++-- 14687 1 file changed, 2 insertions(+), 2 deletions(-) 14688 14689commit 9a71d573100a990ceb30ce0bec6a9a15d795605f 14690Author: Lasse Collin <lasse.collin@tukaani.org> 14691Date: 2008-01-07 18:09:44 +0200 14692 14693 Added tests/files/README. 14694 14695 tests/files/README | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 14696 1 file changed, 108 insertions(+) 14697 14698commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43 14699Author: Lasse Collin <lasse.collin@tukaani.org> 14700Date: 2008-01-07 14:20:57 +0200 14701 14702 Tell in COPYING that everything in tests/files is 14703 public domain. 14704 14705 COPYING | 3 ++- 14706 1 file changed, 2 insertions(+), 1 deletion(-) 14707 14708commit 3502b3e1d00251d3c8dda96079440705c28d8225 14709Author: Lasse Collin <lasse.collin@tukaani.org> 14710Date: 2008-01-07 14:19:05 +0200 14711 14712 Cleaned up the tests/files directory. 14713 14714 ...ck-loop.lzma => bad-single-subblock-padding_loop.lzma} | Bin 14715 ...ck1023-slow.lzma => bad-single-subblock1023-slow.lzma} | Bin 14716 tests/files/malicious-single-subblock-lzma.lzma | Bin 505 -> 0 bytes 14717 3 files changed, 0 insertions(+), 0 deletions(-) 14718 14719commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c 14720Author: Lasse Collin <lasse.collin@tukaani.org> 14721Date: 2008-01-07 13:49:19 +0200 14722 14723 Added test_files.sh to test decoding of the files in 14724 the tests/files directory. It doesn't test the malicious 14725 files yet. 14726 14727 tests/Makefile.am | 4 +++- 14728 tests/test_files.sh | 40 ++++++++++++++++++++++++++++++++++++++++ 14729 2 files changed, 43 insertions(+), 1 deletion(-) 14730 14731commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6 14732Author: Lasse Collin <lasse.collin@tukaani.org> 14733Date: 2008-01-07 11:23:13 +0200 14734 14735 Updated README regarding the assembler optimizations. 14736 14737 README | 10 +++++----- 14738 1 file changed, 5 insertions(+), 5 deletions(-) 14739 14740commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb 14741Author: Lasse Collin <lasse.collin@tukaani.org> 14742Date: 2008-01-07 10:58:00 +0200 14743 14744 Updated THANKS. 14745 14746 THANKS | 1 + 14747 1 file changed, 1 insertion(+) 14748 14749commit 1239649f96132b18e3b7e2dd152ecf53a195caa8 14750Author: Lasse Collin <lasse.collin@tukaani.org> 14751Date: 2008-01-06 21:47:17 +0200 14752 14753 Cosmetic changes to configure.ac. 14754 14755 configure.ac | 14 ++++++-------- 14756 1 file changed, 6 insertions(+), 8 deletions(-) 14757 14758commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e 14759Author: Lasse Collin <lasse.collin@tukaani.org> 14760Date: 2008-01-06 19:46:38 +0200 14761 14762 Automatically disable assembler code on Darwin x86. 14763 Darwin has different ABI than GNU+Linux and Solaris, 14764 thus the assembler code doesn't assemble on Darwin. 14765 14766 configure.ac | 17 +++++++++++++++-- 14767 1 file changed, 15 insertions(+), 2 deletions(-) 14768 14769commit c15a7abf66e3a70792f7444115e484c7981c8284 14770Author: Lasse Collin <lasse.collin@tukaani.org> 14771Date: 2008-01-06 19:45:27 +0200 14772 14773 With printf(), use PRIu64 with a cast to uint64_t instead 14774 of %zu, because some pre-C99 libc versions don't support %zu. 14775 14776 src/lzma/help.c | 13 +++++++------ 14777 src/lzmadec/lzmadec.c | 6 ++++-- 14778 2 files changed, 11 insertions(+), 8 deletions(-) 14779 14780commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb 14781Author: Lasse Collin <lasse.collin@tukaani.org> 14782Date: 2008-01-06 16:27:41 +0200 14783 14784 Introduced compatibility with systems that have pre-C99 14785 or no inttypes.h. This is useful when the compiler has 14786 good enough support for C99, but libc headers don't. 14787 14788 Changed liblzma API so that sys/types.h and inttypes.h 14789 have to be #included before #including lzma.h. On systems 14790 that don't have C99 inttypes.h, it's the problem of the 14791 applications to provide the required types and macros 14792 before #including lzma.h. 14793 14794 If lzma.h defined the missing types and macros, it could 14795 conflict with third-party applications whose configure 14796 has detected that the types are missing and defined them 14797 in config.h already. An alternative would have been 14798 introducing lzma_uint32 and similar types, but that would 14799 just be an extra pain on modern systems. 14800 14801 configure.ac | 13 ++++++++- 14802 doc/liblzma-intro.txt | 10 +++++-- 14803 src/common/sysdefs.h | 59 +++++++++++++++++++++++++++++++++++++- 14804 src/liblzma/api/lzma.h | 40 +++++++++++++++++--------- 14805 src/liblzma/check/crc32_table.c | 4 +-- 14806 src/liblzma/check/crc32_table_be.h | 2 -- 14807 src/liblzma/check/crc32_table_le.h | 2 -- 14808 src/liblzma/check/crc32_tablegen.c | 1 - 14809 src/liblzma/check/crc64_table.c | 4 +-- 14810 src/liblzma/check/crc64_table_be.h | 2 -- 14811 src/liblzma/check/crc64_table_le.h | 2 -- 14812 src/liblzma/check/crc64_tablegen.c | 1 - 14813 src/lzma/private.h | 1 - 14814 13 files changed, 106 insertions(+), 35 deletions(-) 14815 14816commit a71864f77dfb76b5d78a270641539947c312583a 14817Author: Lasse Collin <lasse.collin@tukaani.org> 14818Date: 2008-01-05 19:57:00 +0200 14819 14820 Fix typo in comment (INT64_MAX -> UINT64_MAX). 14821 14822 src/liblzma/api/lzma/vli.h | 2 +- 14823 1 file changed, 1 insertion(+), 1 deletion(-) 14824 14825commit 072927905a3b66281c6311b4b351caa501d8b73a 14826Author: Lasse Collin <lasse.collin@tukaani.org> 14827Date: 2008-01-05 19:42:04 +0200 14828 14829 Rearranged testing of GCC-specific flags. 14830 14831 configure.ac | 33 +++++++++++++++++++++++---------- 14832 1 file changed, 23 insertions(+), 10 deletions(-) 14833 14834commit d160ee32598c6d1cd9054ef019e8c9331208b188 14835Author: Lasse Collin <lasse.collin@tukaani.org> 14836Date: 2008-01-05 01:20:24 +0200 14837 14838 Another bug fix for flush marker detection. 14839 14840 src/liblzma/lzma/lzma_decoder.c | 10 +++++++++- 14841 1 file changed, 9 insertions(+), 1 deletion(-) 14842 14843commit fc67f79f607cbfa78c6f47a69dec098d8659b162 14844Author: Lasse Collin <lasse.collin@tukaani.org> 14845Date: 2008-01-04 21:37:01 +0200 14846 14847 Fix stupid bugs in flush marker detection. 14848 14849 src/liblzma/lzma/lzma_decoder.c | 7 ++++--- 14850 1 file changed, 4 insertions(+), 3 deletions(-) 14851 14852commit 0029cbbabe87d491fc046a55a629a6d556010baa 14853Author: Lasse Collin <lasse.collin@tukaani.org> 14854Date: 2008-01-04 21:30:33 +0200 14855 14856 Added support for flush marker, which will be in files 14857 that use LZMA_SYNC_FLUSH with encoder (not implemented 14858 yet). This is a new feature in the raw LZMA format, 14859 which isn't supported by old decoders. This shouldn't 14860 be a problem in practice, since lzma_alone_encoder() 14861 will not allow LZMA_SYNC_FLUSH, and thus not allow 14862 creating files on decodable with old decoders. 14863 14864 Made lzma_decoder.c to require tab width of 4 characters 14865 if one wants to fit the code in 80 columns. This makes 14866 the code easier to read. 14867 14868 src/liblzma/lzma/lzma_common.h | 4 + 14869 src/liblzma/lzma/lzma_decoder.c | 217 ++++++++++++++++++---------------------- 14870 2 files changed, 104 insertions(+), 117 deletions(-) 14871 14872commit bbfd1f6ab058a7e661545205befcb7f70c5685ab 14873Author: Lasse Collin <lasse.collin@tukaani.org> 14874Date: 2008-01-04 20:45:05 +0200 14875 14876 Moved range decoder initialization (reading the first 14877 five input bytes) from LZMA decoder to range decoder 14878 header. Did the same for decoding of direct bits. 14879 14880 src/liblzma/lzma/lzma_decoder.c | 42 +++------------- 14881 src/liblzma/rangecoder/range_decoder.h | 87 +++++++++++++++++++++++----------- 14882 2 files changed, 66 insertions(+), 63 deletions(-) 14883 14884commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc 14885Author: Lasse Collin <lasse.collin@tukaani.org> 14886Date: 2007-12-14 11:15:21 +0200 14887 14888 Added a note to README that --disable-assembler 14889 must be used on Darwin. 14890 14891 README | 4 ++++ 14892 1 file changed, 4 insertions(+) 14893 14894commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24 14895Author: Lasse Collin <lasse.collin@tukaani.org> 14896Date: 2007-12-14 10:07:10 +0200 14897 14898 Use the filename suffix .S instead of .s for assembler files 14899 so that the preprocessor removes the /* */ style comments, 14900 which are not supported by some non-GNU assemblers (Solaris) 14901 that otherwise work with this code. 14902 14903 src/liblzma/check/Makefile.am | 4 ++-- 14904 src/liblzma/check/{crc32_x86.s => crc32_x86.S} | 0 14905 src/liblzma/check/{crc64_x86.s => crc64_x86.S} | 0 14906 3 files changed, 2 insertions(+), 2 deletions(-) 14907 14908commit ec1c82b2e82f395f6e8e19ac212a639644330cd7 14909Author: Lasse Collin <lasse.collin@tukaani.org> 14910Date: 2007-12-14 09:59:05 +0200 14911 14912 Fixed wrong symbol name in crc64_x86.s. 14913 14914 src/liblzma/check/crc64_x86.s | 2 +- 14915 1 file changed, 1 insertion(+), 1 deletion(-) 14916 14917commit 2881570df6803eed2fe550af34574e8e61794804 14918Author: Lasse Collin <lasse.collin@tukaani.org> 14919Date: 2007-12-14 09:53:24 +0200 14920 14921 Use .globl instead of .global in x86 assembler code for 14922 better portability. Still needs fixing the commenting. 14923 14924 src/liblzma/check/crc32_x86.s | 2 +- 14925 src/liblzma/check/crc64_x86.s | 2 +- 14926 2 files changed, 2 insertions(+), 2 deletions(-) 14927 14928commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66 14929Author: Lasse Collin <lasse.collin@tukaani.org> 14930Date: 2007-12-13 20:14:37 +0200 14931 14932 Fixed a few short options that take an argument. 14933 short_opts[] was missing colons to indicate 14934 required argument. Thanks to Fabio Pedretti for 14935 the bug report. 14936 14937 src/lzma/args.c | 2 +- 14938 1 file changed, 1 insertion(+), 1 deletion(-) 14939 14940commit 918bcb0e0728d2d976621e9f35b56f224f11d989 14941Author: Lasse Collin <lasse.collin@tukaani.org> 14942Date: 2007-12-11 17:08:04 +0200 14943 14944 Removed uncompressed size tracking from Delta encoder too. 14945 14946 src/liblzma/common/delta_coder.c | 21 +++------------------ 14947 1 file changed, 3 insertions(+), 18 deletions(-) 14948 14949commit 3e16d51dd645667b05ff826665b1fc353aa41cd9 14950Author: Lasse Collin <lasse.collin@tukaani.org> 14951Date: 2007-12-11 16:49:19 +0200 14952 14953 Remove uncompressed size tracking from the filter encoders. 14954 It's not strictly needed there, and just complicates the 14955 code. LZ encoder never even had this feature. 14956 14957 The primary reason to have uncompressed size tracking in 14958 filter encoders was validating that the application 14959 doesn't give different amount of input that it had 14960 promised. A side effect was to validate internal workings 14961 of liblzma. 14962 14963 Uncompressed size tracking is still present in the Block 14964 encoder. Maybe it should be added to LZMA_Alone and raw 14965 encoders too. It's simpler to have one coder just to 14966 validate the uncompressed size instead of having it 14967 in every filter. 14968 14969 src/liblzma/common/copy_coder.c | 25 ++-------------------- 14970 src/liblzma/simple/simple_coder.c | 29 ++++--------------------- 14971 src/liblzma/subblock/subblock_encoder.c | 38 ++++++--------------------------- 14972 3 files changed, 12 insertions(+), 80 deletions(-) 14973 14974commit 5286723e0d1ac386d5b07f08d78e61becf895a5a 14975Author: Lasse Collin <lasse.collin@tukaani.org> 14976Date: 2007-12-11 14:10:53 +0200 14977 14978 Get rid of no-NLS gnulib. I don't know how to get it 14979 working with Automake. People who want smaller lzmadec 14980 should use --disable-nls on non-GNU systems. 14981 14982 lib/Makefile.am | 10 +--------- 14983 src/lzma/Makefile.am | 2 +- 14984 src/lzmadec/Makefile.am | 4 +++- 14985 3 files changed, 5 insertions(+), 11 deletions(-) 14986 14987commit ce8b036a6c7a43b290356b673d953f6d76b2be64 14988Author: Lasse Collin <lasse.collin@tukaani.org> 14989Date: 2007-12-11 14:09:35 +0200 14990 14991 Fixed a typo in tests/Makefile.am which prevented 14992 building the tests if gnulib was needed. 14993 14994 tests/Makefile.am | 2 +- 14995 1 file changed, 1 insertion(+), 1 deletion(-) 14996 14997commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4 14998Author: Lasse Collin <lasse.collin@tukaani.org> 14999Date: 2007-12-11 11:18:58 +0200 15000 15001 Fixed wrong type of flags_size in Subblock encoder. 15002 15003 src/liblzma/subblock/subblock_encoder.c | 2 +- 15004 1 file changed, 1 insertion(+), 1 deletion(-) 15005 15006commit ce64df716243fdc40359090d1f6541f3a4f5f21a 15007Author: Lasse Collin <lasse.collin@tukaani.org> 15008Date: 2007-12-10 20:44:16 +0200 15009 15010 Bumped version number to 4.42.3alpha. 15011 15012 configure.ac | 2 +- 15013 src/liblzma/api/lzma/version.h | 2 +- 15014 2 files changed, 2 insertions(+), 2 deletions(-) 15015 15016commit b499a0403ea5c41d6a25b40275eb6c57643052ce 15017Author: Lasse Collin <lasse.collin@tukaani.org> 15018Date: 2007-12-10 15:02:50 +0200 15019 15020 Disabled some unneeded warnings and made "make dist" work. 15021 15022 Makefile.am | 9 +++------ 15023 configure.ac | 9 ++++++--- 15024 po/fi.po | 47 ++++++++++++++++++++++++----------------------- 15025 3 files changed, 33 insertions(+), 32 deletions(-) 15026 15027commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172 15028Author: Lasse Collin <lasse.collin@tukaani.org> 15029Date: 2007-12-09 21:43:15 +0200 15030 15031 Added LZMA_SYNC_FLUSH support to the Copy filter. 15032 15033 src/liblzma/common/copy_coder.c | 92 +++++++++++++++++++++++++---------------- 15034 1 file changed, 57 insertions(+), 35 deletions(-) 15035 15036commit 329c272d501e88793dda5540358d55c12428d194 15037Author: Lasse Collin <lasse.collin@tukaani.org> 15038Date: 2007-12-09 17:14:07 +0200 15039 15040 Added missing LZMA_API to the C versions of the CRC functions. 15041 The x86 assembler versions were already OK. 15042 15043 src/liblzma/check/crc32.c | 2 +- 15044 src/liblzma/check/crc64.c | 2 +- 15045 2 files changed, 2 insertions(+), 2 deletions(-) 15046 15047commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7 15048Author: Jim Meyering <meyering@redhat.com> 15049Date: 2007-12-09 15:34:25 +0100 15050 15051 * tests/test_block_header.c (test3): Remove duplicate initializer. 15052 15053 autogen.sh | 2 +- 15054 tests/test_block_header.c | 1 - 15055 2 files changed, 1 insertion(+), 2 deletions(-) 15056 15057commit 07ac881779a8477f2c1ab112b91a129e24aa743c 15058Author: Lasse Collin <lasse.collin@tukaani.org> 15059Date: 2007-12-09 17:06:45 +0200 15060 15061 Take advantage of return_if_error() macro in more places. 15062 Cleaned Subblock filter's initialization code too. 15063 15064 src/liblzma/common/block_decoder.c | 22 +++------- 15065 src/liblzma/common/delta_coder.c | 8 +--- 15066 src/liblzma/common/stream_decoder.c | 17 +++----- 15067 src/liblzma/common/stream_encoder_multi.c | 68 ++++++++++-------------------- 15068 src/liblzma/common/stream_encoder_single.c | 8 ++-- 15069 src/liblzma/subblock/subblock_decoder.c | 33 +++++---------- 15070 src/liblzma/subblock/subblock_encoder.c | 45 ++++++-------------- 15071 7 files changed, 63 insertions(+), 138 deletions(-) 15072 15073commit 41338717964f510ee61d70b25bd4c502ec9f77cf 15074Author: Lasse Collin <lasse.collin@tukaani.org> 15075Date: 2007-12-09 12:13:01 +0200 15076 15077 Added a bunch of .lzma test files. 15078 15079 tests/files/bad-single-data_after_eopm.lzma | Bin 0 -> 55 bytes 15080 tests/files/bad-single-data_after_eopm_2.lzma | Bin 0 -> 56 bytes 15081 tests/files/bad-single-subblock_subblock.lzma | Bin 0 -> 26 bytes 15082 tests/files/good-cat-single-none-pad.lzma | Bin 0 -> 64 bytes 15083 tests/files/good-single-delta-lzma.tiff.lzma | Bin 0 -> 51409 bytes 15084 tests/files/good-single-lzma.lzma | Bin 0 -> 44 bytes 15085 tests/files/good-single-none-pad.lzma | Bin 0 -> 32 bytes 15086 tests/files/good-single-none.lzma | Bin 0 -> 30 bytes 15087 tests/files/good-single-subblock-lzma.lzma | Bin 0 -> 50 bytes 15088 tests/files/good-single-subblock_rle.lzma | Bin 0 -> 118 bytes 15089 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 0 -> 51 bytes 15090 tests/files/malicious-single-subblock-256MiB.lzma | Bin 0 -> 30 bytes 15091 tests/files/malicious-single-subblock-64PiB.lzma | Bin 0 -> 45 bytes 15092 tests/files/malicious-single-subblock-loop.lzma | Bin 0 -> 43 bytes 15093 tests/files/malicious-single-subblock-lzma.lzma | Bin 0 -> 505 bytes 15094 tests/files/malicious-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes 15095 tests/files/malicious-single-subblock31-slow.lzma | Bin 0 -> 1233 bytes 15096 17 files changed, 0 insertions(+), 0 deletions(-) 15097 15098commit ff946ceb7975d4f11950afd33f6315b4d20d1a03 15099Author: Lasse Collin <lasse.collin@tukaani.org> 15100Date: 2007-12-09 11:24:48 +0200 15101 15102 Re-enabled the security checks in Subblock decoder 15103 that were disabled for debugging reasons. 15104 15105 src/liblzma/subblock/subblock_decoder.c | 6 +++--- 15106 1 file changed, 3 insertions(+), 3 deletions(-) 15107 15108commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1 15109Author: Lasse Collin <lasse.collin@tukaani.org> 15110Date: 2007-12-09 11:03:28 +0200 15111 15112 Fixed the tests to build with -Werror. 15113 15114 tests/test_block_header.c | 2 +- 15115 tests/test_check.c | 2 +- 15116 tests/test_filter_flags.c | 2 +- 15117 tests/test_index.c | 14 +++++++------- 15118 tests/test_info.c | 2 +- 15119 tests/test_stream_flags.c | 2 +- 15120 6 files changed, 12 insertions(+), 12 deletions(-) 15121 15122commit 5d018dc03549c1ee4958364712fb0c94e1bf2741 15123Author: Lasse Collin <lasse.collin@tukaani.org> 15124Date: 2007-12-09 00:42:33 +0200 15125 15126 Imported to git. 15127 15128 AUTHORS | 18 + 15129 COPYING | 24 + 15130 COPYING.GPLv2 | 339 +++++ 15131 COPYING.GPLv3 | 674 +++++++++ 15132 COPYING.LGPLv2.1 | 504 +++++++ 15133 ChangeLog | 2 + 15134 Doxyfile.in | 1229 ++++++++++++++++ 15135 Makefile.am | 38 + 15136 NEWS | 0 15137 README | 151 ++ 15138 THANKS | 23 + 15139 TODO | 109 ++ 15140 autogen.sh | 38 + 15141 configure.ac | 611 ++++++++ 15142 doc/bugs.txt | 46 + 15143 doc/faq.txt | 247 ++++ 15144 doc/file-format.txt | 1861 ++++++++++++++++++++++++ 15145 doc/history.txt | 140 ++ 15146 doc/liblzma-advanced.txt | 324 +++++ 15147 doc/liblzma-hacking.txt | 112 ++ 15148 doc/liblzma-intro.txt | 188 +++ 15149 doc/liblzma-security.txt | 219 +++ 15150 doc/lzma-intro.txt | 107 ++ 15151 extra/scanlzma/scanlzma.c | 85 ++ 15152 lib/Makefile.am | 40 + 15153 lib/getopt.c | 1191 +++++++++++++++ 15154 lib/getopt1.c | 171 +++ 15155 lib/getopt_.h | 226 +++ 15156 lib/getopt_int.h | 131 ++ 15157 lib/gettext.h | 240 +++ 15158 m4/acx_pthread.m4 | 279 ++++ 15159 m4/getopt.m4 | 83 ++ 15160 po/LINGUAS | 1 + 15161 po/Makevars | 46 + 15162 po/POTFILES.in | 13 + 15163 po/fi.po | 445 ++++++ 15164 src/Makefile.am | 16 + 15165 src/common/open_stdxxx.h | 50 + 15166 src/common/physmem.h | 77 + 15167 src/common/sysdefs.h | 100 ++ 15168 src/liblzma/Makefile.am | 47 + 15169 src/liblzma/api/Makefile.am | 39 + 15170 src/liblzma/api/lzma.h | 122 ++ 15171 src/liblzma/api/lzma/alignment.h | 60 + 15172 src/liblzma/api/lzma/alone.h | 82 ++ 15173 src/liblzma/api/lzma/auto.h | 41 + 15174 src/liblzma/api/lzma/base.h | 410 ++++++ 15175 src/liblzma/api/lzma/block.h | 409 ++++++ 15176 src/liblzma/api/lzma/check.h | 128 ++ 15177 src/liblzma/api/lzma/copy.h | 29 + 15178 src/liblzma/api/lzma/delta.h | 49 + 15179 src/liblzma/api/lzma/extra.h | 114 ++ 15180 src/liblzma/api/lzma/filter.h | 166 +++ 15181 src/liblzma/api/lzma/index.h | 84 ++ 15182 src/liblzma/api/lzma/info.h | 315 ++++ 15183 src/liblzma/api/lzma/init.h | 85 ++ 15184 src/liblzma/api/lzma/lzma.h | 312 ++++ 15185 src/liblzma/api/lzma/memlimit.h | 157 ++ 15186 src/liblzma/api/lzma/metadata.h | 100 ++ 15187 src/liblzma/api/lzma/raw.h | 72 + 15188 src/liblzma/api/lzma/simple.h | 85 ++ 15189 src/liblzma/api/lzma/stream.h | 178 +++ 15190 src/liblzma/api/lzma/stream_flags.h | 142 ++ 15191 src/liblzma/api/lzma/subblock.h | 197 +++ 15192 src/liblzma/api/lzma/version.h | 59 + 15193 src/liblzma/api/lzma/vli.h | 244 ++++ 15194 src/liblzma/check/Makefile.am | 64 + 15195 src/liblzma/check/check.c | 160 ++ 15196 src/liblzma/check/check.h | 102 ++ 15197 src/liblzma/check/check_byteswap.h | 43 + 15198 src/liblzma/check/check_init.c | 37 + 15199 src/liblzma/check/crc32.c | 88 ++ 15200 src/liblzma/check/crc32_init.c | 58 + 15201 src/liblzma/check/crc32_table.c | 22 + 15202 src/liblzma/check/crc32_table_be.h | 527 +++++++ 15203 src/liblzma/check/crc32_table_le.h | 527 +++++++ 15204 src/liblzma/check/crc32_tablegen.c | 55 + 15205 src/liblzma/check/crc32_x86.s | 217 +++ 15206 src/liblzma/check/crc64.c | 75 + 15207 src/liblzma/check/crc64_init.c | 58 + 15208 src/liblzma/check/crc64_table.c | 22 + 15209 src/liblzma/check/crc64_table_be.h | 523 +++++++ 15210 src/liblzma/check/crc64_table_le.h | 523 +++++++ 15211 src/liblzma/check/crc64_tablegen.c | 56 + 15212 src/liblzma/check/crc64_x86.s | 203 +++ 15213 src/liblzma/check/crc_macros.h | 33 + 15214 src/liblzma/check/sha256.c | 203 +++ 15215 src/liblzma/common/Makefile.am | 94 ++ 15216 src/liblzma/common/alignment.c | 118 ++ 15217 src/liblzma/common/allocator.c | 57 + 15218 src/liblzma/common/alone_decoder.c | 197 +++ 15219 src/liblzma/common/alone_decoder.h | 24 + 15220 src/liblzma/common/alone_encoder.c | 167 +++ 15221 src/liblzma/common/auto_decoder.c | 113 ++ 15222 src/liblzma/common/block_decoder.c | 405 ++++++ 15223 src/liblzma/common/block_decoder.h | 29 + 15224 src/liblzma/common/block_encoder.c | 375 +++++ 15225 src/liblzma/common/block_encoder.h | 29 + 15226 src/liblzma/common/block_header_decoder.c | 373 +++++ 15227 src/liblzma/common/block_header_encoder.c | 211 +++ 15228 src/liblzma/common/block_private.h | 46 + 15229 src/liblzma/common/chunk_size.c | 74 + 15230 src/liblzma/common/code.c | 203 +++ 15231 src/liblzma/common/common.h | 271 ++++ 15232 src/liblzma/common/copy_coder.c | 143 ++ 15233 src/liblzma/common/copy_coder.h | 31 + 15234 src/liblzma/common/delta_coder.c | 210 +++ 15235 src/liblzma/common/delta_coder.h | 31 + 15236 src/liblzma/common/extra.c | 33 + 15237 src/liblzma/common/features.c | 70 + 15238 src/liblzma/common/filter_flags_decoder.c | 382 +++++ 15239 src/liblzma/common/filter_flags_encoder.c | 359 +++++ 15240 src/liblzma/common/index.c | 140 ++ 15241 src/liblzma/common/info.c | 823 +++++++++++ 15242 src/liblzma/common/init.c | 39 + 15243 src/liblzma/common/init_decoder.c | 33 + 15244 src/liblzma/common/init_encoder.c | 44 + 15245 src/liblzma/common/memory_limitter.c | 200 +++ 15246 src/liblzma/common/memory_usage.c | 113 ++ 15247 src/liblzma/common/metadata_decoder.c | 555 +++++++ 15248 src/liblzma/common/metadata_decoder.h | 31 + 15249 src/liblzma/common/metadata_encoder.c | 436 ++++++ 15250 src/liblzma/common/metadata_encoder.h | 30 + 15251 src/liblzma/common/next_coder.c | 65 + 15252 src/liblzma/common/raw_common.c | 175 +++ 15253 src/liblzma/common/raw_common.h | 31 + 15254 src/liblzma/common/raw_decoder.c | 127 ++ 15255 src/liblzma/common/raw_decoder.h | 30 + 15256 src/liblzma/common/raw_encoder.c | 124 ++ 15257 src/liblzma/common/raw_encoder.h | 30 + 15258 src/liblzma/common/stream_common.c | 23 + 15259 src/liblzma/common/stream_common.h | 28 + 15260 src/liblzma/common/stream_decoder.c | 454 ++++++ 15261 src/liblzma/common/stream_encoder_multi.c | 460 ++++++ 15262 src/liblzma/common/stream_encoder_single.c | 220 +++ 15263 src/liblzma/common/stream_flags_decoder.c | 258 ++++ 15264 src/liblzma/common/stream_flags_decoder.h | 31 + 15265 src/liblzma/common/stream_flags_encoder.c | 75 + 15266 src/liblzma/common/sysdefs.h | 1 + 15267 src/liblzma/common/version.c | 25 + 15268 src/liblzma/common/vli_decoder.c | 69 + 15269 src/liblzma/common/vli_encoder.c | 81 ++ 15270 src/liblzma/common/vli_reverse_decoder.c | 55 + 15271 src/liblzma/lz/Makefile.am | 63 + 15272 src/liblzma/lz/bt2.c | 27 + 15273 src/liblzma/lz/bt2.h | 31 + 15274 src/liblzma/lz/bt3.c | 29 + 15275 src/liblzma/lz/bt3.h | 31 + 15276 src/liblzma/lz/bt4.c | 30 + 15277 src/liblzma/lz/bt4.h | 31 + 15278 src/liblzma/lz/hc3.c | 30 + 15279 src/liblzma/lz/hc3.h | 31 + 15280 src/liblzma/lz/hc4.c | 31 + 15281 src/liblzma/lz/hc4.h | 31 + 15282 src/liblzma/lz/lz_decoder.c | 462 ++++++ 15283 src/liblzma/lz/lz_decoder.h | 214 +++ 15284 src/liblzma/lz/lz_encoder.c | 481 ++++++ 15285 src/liblzma/lz/lz_encoder.h | 161 ++ 15286 src/liblzma/lz/lz_encoder_private.h | 40 + 15287 src/liblzma/lz/match_c.h | 401 +++++ 15288 src/liblzma/lz/match_h.h | 69 + 15289 src/liblzma/lzma.pc.in | 11 + 15290 src/liblzma/lzma/Makefile.am | 43 + 15291 src/liblzma/lzma/lzma_common.h | 128 ++ 15292 src/liblzma/lzma/lzma_decoder.c | 844 +++++++++++ 15293 src/liblzma/lzma/lzma_decoder.h | 41 + 15294 src/liblzma/lzma/lzma_encoder.c | 413 ++++++ 15295 src/liblzma/lzma/lzma_encoder.h | 35 + 15296 src/liblzma/lzma/lzma_encoder_features.c | 59 + 15297 src/liblzma/lzma/lzma_encoder_getoptimum.c | 893 ++++++++++++ 15298 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 +++ 15299 src/liblzma/lzma/lzma_encoder_init.c | 245 ++++ 15300 src/liblzma/lzma/lzma_encoder_presets.c | 34 + 15301 src/liblzma/lzma/lzma_encoder_private.h | 225 +++ 15302 src/liblzma/lzma/lzma_literal.c | 74 + 15303 src/liblzma/lzma/lzma_literal.h | 74 + 15304 src/liblzma/rangecoder/Makefile.am | 28 + 15305 src/liblzma/rangecoder/range_common.h | 68 + 15306 src/liblzma/rangecoder/range_decoder.h | 189 +++ 15307 src/liblzma/rangecoder/range_encoder.c | 46 + 15308 src/liblzma/rangecoder/range_encoder.h | 317 ++++ 15309 src/liblzma/simple/Makefile.am | 46 + 15310 src/liblzma/simple/arm.c | 76 + 15311 src/liblzma/simple/armthumb.c | 81 ++ 15312 src/liblzma/simple/ia64.c | 117 ++ 15313 src/liblzma/simple/powerpc.c | 80 + 15314 src/liblzma/simple/simple_coder.c | 306 ++++ 15315 src/liblzma/simple/simple_coder.h | 68 + 15316 src/liblzma/simple/simple_private.h | 86 ++ 15317 src/liblzma/simple/sparc.c | 88 ++ 15318 src/liblzma/simple/x86.c | 161 ++ 15319 src/liblzma/subblock/Makefile.am | 33 + 15320 src/liblzma/subblock/subblock_decoder.c | 681 +++++++++ 15321 src/liblzma/subblock/subblock_decoder.h | 29 + 15322 src/liblzma/subblock/subblock_decoder_helper.c | 80 + 15323 src/liblzma/subblock/subblock_decoder_helper.h | 36 + 15324 src/liblzma/subblock/subblock_encoder.c | 841 +++++++++++ 15325 src/liblzma/subblock/subblock_encoder.h | 28 + 15326 src/lzma/Makefile.am | 63 + 15327 src/lzma/alloc.c | 106 ++ 15328 src/lzma/alloc.h | 42 + 15329 src/lzma/args.c | 566 +++++++ 15330 src/lzma/args.h | 64 + 15331 src/lzma/error.c | 156 ++ 15332 src/lzma/error.h | 67 + 15333 src/lzma/hardware.c | 99 ++ 15334 src/lzma/hardware.h | 31 + 15335 src/lzma/help.c | 178 +++ 15336 src/lzma/help.h | 32 + 15337 src/lzma/io.c | 664 +++++++++ 15338 src/lzma/io.h | 60 + 15339 src/lzma/list.c | 477 ++++++ 15340 src/lzma/main.c | 254 ++++ 15341 src/lzma/options.c | 346 +++++ 15342 src/lzma/options.h | 46 + 15343 src/lzma/private.h | 55 + 15344 src/lzma/process.c | 458 ++++++ 15345 src/lzma/process.h | 30 + 15346 src/lzma/suffix.c | 145 ++ 15347 src/lzma/suffix.h | 25 + 15348 src/lzma/util.c | 182 +++ 15349 src/lzma/util.h | 32 + 15350 src/lzmadec/Makefile.am | 27 + 15351 src/lzmadec/lzmadec.c | 515 +++++++ 15352 src/scripts/Makefile.am | 24 + 15353 src/scripts/lzdiff | 67 + 15354 src/scripts/lzdiff.1 | 51 + 15355 src/scripts/lzgrep | 123 ++ 15356 src/scripts/lzgrep.1 | 61 + 15357 src/scripts/lzmore | 74 + 15358 src/scripts/lzmore.1 | 55 + 15359 tests/Makefile.am | 43 + 15360 tests/test_block.c | 59 + 15361 tests/test_block_header.c | 352 +++++ 15362 tests/test_check.c | 90 ++ 15363 tests/test_filter_flags.c | 326 +++++ 15364 tests/test_index.c | 43 + 15365 tests/test_info.c | 717 +++++++++ 15366 tests/test_stream_flags.c | 191 +++ 15367 tests/tests.h | 148 ++ 15368 240 files changed, 42513 insertions(+) 15369