1commit b5be61cc06088bb07f488f9baf7d447ff47b37c1 2Author: Lasse Collin <lasse.collin@tukaani.org> 3Date: 2018-04-29 19:00:06 +0300 4 5 Bump version and soname for 5.2.4. 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 c47fa6d06745bb2e99866e76b81ac7a9c5a8bfec 12Author: Lasse Collin <lasse.collin@tukaani.org> 13Date: 2018-04-29 18:48:00 +0300 14 15 extra/scanlzma: Fix compiler warnings. 16 17 extra/scanlzma/scanlzma.c | 6 +++++- 18 1 file changed, 5 insertions(+), 1 deletion(-) 19 20commit 7b350fe21aa4fd6495a3b6188a40e3f1ae7c0edf 21Author: Lasse Collin <lasse.collin@tukaani.org> 22Date: 2018-04-29 18:15:37 +0300 23 24 Add NEWS for 5.2.4. 25 26 NEWS | 27 +++++++++++++++++++++++++++ 27 1 file changed, 27 insertions(+) 28 29commit 5801591162a280aa52d156dfde42c531ec7fd8b6 30Author: Lasse Collin <lasse.collin@tukaani.org> 31Date: 2018-02-06 19:36:30 +0200 32 33 Update THANKS. 34 35 THANKS | 2 ++ 36 1 file changed, 2 insertions(+) 37 38commit c4a616f4536146f8906e1b4412eefeec07b28fae 39Author: Ben Boeckel <mathstuf@gmail.com> 40Date: 2018-01-29 13:58:18 -0500 41 42 nothrow: use noexcept for C++11 and newer 43 44 In C++11, the `throw()` specifier is deprecated and `noexcept` is 45 preffered instead. 46 47 src/liblzma/api/lzma.h | 6 +++++- 48 1 file changed, 5 insertions(+), 1 deletion(-) 49 50commit 0b8947782ff3c5ef830a7f85412e44dcf3cdeb77 51Author: Lasse Collin <lasse.collin@tukaani.org> 52Date: 2018-02-06 18:02:48 +0200 53 54 liblzma: Remove incorrect #ifdef from range_common.h. 55 56 In most cases it was harmless but it could affect some 57 custom build systems. 58 59 Thanks to Pippijn van Steenhoven. 60 61 src/liblzma/rangecoder/range_common.h | 4 +--- 62 1 file changed, 1 insertion(+), 3 deletions(-) 63 64commit 48f3b9f73ffea7f55d5678997aba0e79d2e82168 65Author: Lasse Collin <lasse.collin@tukaani.org> 66Date: 2018-01-10 22:10:39 +0200 67 68 Update THANKS. 69 70 THANKS | 1 + 71 1 file changed, 1 insertion(+) 72 73commit a3ce3e902342be37c626a561ce3d9ffcf27d0f94 74Author: Lasse Collin <lasse.collin@tukaani.org> 75Date: 2018-01-10 21:54:27 +0200 76 77 tuklib_integer: New Intel C compiler needs immintrin.h. 78 79 Thanks to Melanie Blower (Intel) for the patch. 80 81 src/common/tuklib_integer.h | 11 +++++++++++ 82 1 file changed, 11 insertions(+) 83 84commit 4505ca483985f88c6923c05a43b4327feaab83b1 85Author: Lasse Collin <lasse.collin@tukaani.org> 86Date: 2017-09-24 20:04:24 +0300 87 88 Update THANKS. 89 90 THANKS | 1 + 91 1 file changed, 1 insertion(+) 92 93commit 1ef3cc226e3ce173575c218238b71a4eecabc470 94Author: Lasse Collin <lasse.collin@tukaani.org> 95Date: 2017-09-16 20:36:20 +0300 96 97 Windows: Fix paths in VS project files. 98 99 Some paths use slashes instead of backslashes as directory 100 separators... now it should work (I tested VS2013 version). 101 102 windows/vs2013/liblzma.vcxproj | 12 ++++++------ 103 windows/vs2013/liblzma_dll.vcxproj | 24 ++++++++++++------------ 104 windows/vs2017/liblzma.vcxproj | 12 ++++++------ 105 windows/vs2017/liblzma_dll.vcxproj | 24 ++++++++++++------------ 106 4 files changed, 36 insertions(+), 36 deletions(-) 107 108commit e775d2a8189d24f60470e6e49d8af881df3a1680 109Author: Lasse Collin <lasse.collin@tukaani.org> 110Date: 2017-09-16 12:54:23 +0300 111 112 Windows: Add project files for VS2017. 113 114 These files match the v5.2 branch (no file info decoder). 115 116 windows/vs2017/config.h | 148 ++++++++++++++ 117 windows/vs2017/liblzma.vcxproj | 355 ++++++++++++++++++++++++++++++++++ 118 windows/vs2017/liblzma_dll.vcxproj | 384 +++++++++++++++++++++++++++++++++++++ 119 windows/vs2017/xz_win.sln | 48 +++++ 120 4 files changed, 935 insertions(+) 121 122commit 10e02e0fbb6e2173f8b41f6e39b7b570f47dd74d 123Author: Lasse Collin <lasse.collin@tukaani.org> 124Date: 2017-09-16 12:39:43 +0300 125 126 Windows: Move VS2013 files into windows/vs2013 directory. 127 128 windows/{ => vs2013}/config.h | 0 129 windows/{ => vs2013}/liblzma.vcxproj | 278 +++++++++++++++--------------- 130 windows/{ => vs2013}/liblzma_dll.vcxproj | 280 +++++++++++++++---------------- 131 windows/{ => vs2013}/xz_win.sln | 0 132 4 files changed, 279 insertions(+), 279 deletions(-) 133 134commit 06eebd4543196ded36fa9b8b9544195b38b24ef2 135Author: Lasse Collin <lasse.collin@tukaani.org> 136Date: 2017-08-14 20:08:33 +0300 137 138 Fix or hide warnings from GCC 7's -Wimplicit-fallthrough. 139 140 src/liblzma/lzma/lzma_decoder.c | 6 ++++++ 141 src/xz/list.c | 2 ++ 142 2 files changed, 8 insertions(+) 143 144commit ea4ea1dffafebaa8b2770bf3eca46900e4dd22dc 145Author: Alexey Tourbin <alexey.tourbin@gmail.com> 146Date: 2017-05-16 23:56:35 +0300 147 148 Docs: Fix a typo in a comment in doc/examples/02_decompress.c. 149 150 doc/examples/02_decompress.c | 2 +- 151 1 file changed, 1 insertion(+), 1 deletion(-) 152 153commit eb2ef4c79bf405ea0d215f3b1df3d0eaf5e1d27b 154Author: Lasse Collin <lasse.collin@tukaani.org> 155Date: 2017-05-23 18:34:43 +0300 156 157 xz: Fix "xz --list --robot missing_or_bad_file.xz". 158 159 It ended up printing an uninitialized char-array when trying to 160 print the check names (column 7) on the "totals" line. 161 162 This also changes the column 12 (minimum xz version) to 163 50000002 (xz 5.0.0) instead of 0 when there are no valid 164 input files. 165 166 Thanks to kidmin for the bug report. 167 168 src/xz/list.c | 8 ++++++-- 169 1 file changed, 6 insertions(+), 2 deletions(-) 170 171commit 3ea5dbd9b0d79048e336e40cef3b6d814fb74e13 172Author: Lasse Collin <lasse.collin@tukaani.org> 173Date: 2017-04-24 19:48:47 +0300 174 175 Build: Omit pre-5.0.0 entries from the generated ChangeLog. 176 177 It makes ChangeLog significantly smaller. 178 179 Makefile.am | 3 ++- 180 1 file changed, 2 insertions(+), 1 deletion(-) 181 182commit bae24675936df99064de1502593c006bd902594b 183Author: Lasse Collin <lasse.collin@tukaani.org> 184Date: 2017-04-24 19:30:22 +0300 185 186 Update the Git repository URL to HTTPS in ChangeLog. 187 188 ChangeLog | 2 +- 189 1 file changed, 1 insertion(+), 1 deletion(-) 190 191commit 70f479211973b5361f4d7cb08ba5be69b4266e7a 192Author: Lasse Collin <lasse.collin@tukaani.org> 193Date: 2017-04-19 22:17:35 +0300 194 195 Update the home page URLs to HTTPS. 196 197 COPYING | 2 +- 198 README | 2 +- 199 configure.ac | 2 +- 200 doc/faq.txt | 4 ++-- 201 dos/config.h | 2 +- 202 src/common/common_w32res.rc | 2 +- 203 src/xz/xz.1 | 6 +++--- 204 src/xzdec/xzdec.1 | 4 ++-- 205 windows/README-Windows.txt | 2 +- 206 windows/config.h | 2 +- 207 10 files changed, 14 insertions(+), 14 deletions(-) 208 209commit 2a4b2fa75d06a097261a02ecd3cf2b6d449bf754 210Author: Lasse Collin <lasse.collin@tukaani.org> 211Date: 2017-03-30 22:01:54 +0300 212 213 xz: Use POSIX_FADV_RANDOM for in "xz --list" mode. 214 215 xz --list is random access so POSIX_FADV_SEQUENTIAL was clearly 216 wrong. 217 218 src/xz/file_io.c | 10 ++++++++-- 219 1 file changed, 8 insertions(+), 2 deletions(-) 220 221commit eb25743ade39170cffd9566a1aae272098cce216 222Author: Lasse Collin <lasse.collin@tukaani.org> 223Date: 2017-03-30 19:47:45 +0300 224 225 liblzma: Fix lzma_memlimit_set(strm, 0). 226 227 The 0 got treated specially in a buggy way and as a result 228 the function did nothing. The API doc said that 0 was supposed 229 to return LZMA_PROG_ERROR but it didn't. 230 231 Now 0 is treated as if 1 had been specified. This is done because 232 0 is already used to indicate an error from lzma_memlimit_get() 233 and lzma_memusage(). 234 235 In addition, lzma_memlimit_set() no longer checks that the new 236 limit is at least LZMA_MEMUSAGE_BASE. It's counter-productive 237 for the Index decoder and was actually needed only by the 238 auto decoder. Auto decoder has now been modified to check for 239 LZMA_MEMUSAGE_BASE. 240 241 src/liblzma/api/lzma/base.h | 7 ++++++- 242 src/liblzma/common/auto_decoder.c | 3 +++ 243 src/liblzma/common/common.c | 6 ++++-- 244 3 files changed, 13 insertions(+), 3 deletions(-) 245 246commit ef36c6362f3f3853f21b8a6359bcd06576ebf207 247Author: Lasse Collin <lasse.collin@tukaani.org> 248Date: 2017-03-30 19:16:55 +0300 249 250 liblzma: Similar memlimit fix for stream_, alone_, and auto_decoder. 251 252 src/liblzma/api/lzma/container.h | 21 +++++++++++++++++---- 253 src/liblzma/common/alone_decoder.c | 5 +---- 254 src/liblzma/common/auto_decoder.c | 5 +---- 255 src/liblzma/common/stream_decoder.c | 5 +---- 256 4 files changed, 20 insertions(+), 16 deletions(-) 257 258commit 57616032650f03840480b696d7878acdd2065521 259Author: Lasse Collin <lasse.collin@tukaani.org> 260Date: 2017-03-30 18:58:18 +0300 261 262 liblzma: Fix handling of memlimit == 0 in lzma_index_decoder(). 263 264 It returned LZMA_PROG_ERROR, which was done to avoid zero as 265 the limit (because it's a special value elsewhere), but using 266 LZMA_PROG_ERROR is simply inconvenient and can cause bugs. 267 268 The fix/workaround is to treat 0 as if it were 1 byte. It's 269 effectively the same thing. The only weird consequence is 270 that then lzma_memlimit_get() will return 1 even when 0 was 271 specified as the limit. 272 273 This fixes a very rare corner case in xz --list where a specific 274 memory usage limit and a multi-stream file could print the 275 error message "Internal error (bug)" instead of saying that 276 the memory usage limit is too low. 277 278 src/liblzma/api/lzma/index.h | 18 +++++++++++------- 279 src/liblzma/common/index_decoder.c | 4 ++-- 280 2 files changed, 13 insertions(+), 9 deletions(-) 281 282commit 3d566cd519017eee1a400e7961ff14058dfaf33c 283Author: Lasse Collin <lasse.collin@tukaani.org> 284Date: 2016-12-30 13:26:36 +0200 285 286 Bump version and soname for 5.2.3. 287 288 src/liblzma/Makefile.am | 2 +- 289 src/liblzma/api/lzma/version.h | 2 +- 290 2 files changed, 2 insertions(+), 2 deletions(-) 291 292commit 053e624fe33795e779ff736f16ce44a129c829b5 293Author: Lasse Collin <lasse.collin@tukaani.org> 294Date: 2016-12-30 13:25:10 +0200 295 296 Update NEWS for 5.2.3. 297 298 NEWS | 39 +++++++++++++++++++++++++++++++++++++++ 299 1 file changed, 39 insertions(+) 300 301commit cae412b2b77d7fd88d187ed7659331709311f80d 302Author: Lasse Collin <lasse.collin@tukaani.org> 303Date: 2015-04-01 14:45:25 +0300 304 305 xz: Fix the Capsicum rights on user_abort_pipe. 306 307 src/xz/file_io.c | 6 +++++- 308 1 file changed, 5 insertions(+), 1 deletion(-) 309 310commit 9ccbae41000572193b9a09e7102f9e84dc6d96de 311Author: Lasse Collin <lasse.collin@tukaani.org> 312Date: 2016-12-28 21:05:22 +0200 313 314 Mention potential sandboxing bugs in INSTALL. 315 316 INSTALL | 5 ++++- 317 1 file changed, 4 insertions(+), 1 deletion(-) 318 319commit e013a337d3de77cce24360dffe956ea2339489b6 320Author: Lasse Collin <lasse.collin@tukaani.org> 321Date: 2016-11-21 20:24:50 +0200 322 323 liblzma: Avoid multiple definitions of lzma_coder structures. 324 325 Only one definition was visible in a translation unit. 326 It avoided a few casts and temp variables but seems that 327 this hack doesn't work with link-time optimizations in compilers 328 as it's not C99/C11 compliant. 329 330 Fixes: 331 http://www.mail-archive.com/xz-devel@tukaani.org/msg00279.html 332 333 src/liblzma/common/alone_decoder.c | 44 +++++---- 334 src/liblzma/common/alone_encoder.c | 34 ++++--- 335 src/liblzma/common/auto_decoder.c | 35 ++++--- 336 src/liblzma/common/block_decoder.c | 41 ++++---- 337 src/liblzma/common/block_encoder.c | 40 ++++---- 338 src/liblzma/common/common.h | 18 ++-- 339 src/liblzma/common/index_decoder.c | 33 ++++--- 340 src/liblzma/common/index_encoder.c | 16 ++-- 341 src/liblzma/common/stream_decoder.c | 50 +++++----- 342 src/liblzma/common/stream_encoder.c | 56 ++++++----- 343 src/liblzma/common/stream_encoder_mt.c | 124 ++++++++++++++----------- 344 src/liblzma/delta/delta_common.c | 25 ++--- 345 src/liblzma/delta/delta_decoder.c | 6 +- 346 src/liblzma/delta/delta_encoder.c | 12 ++- 347 src/liblzma/delta/delta_private.h | 4 +- 348 src/liblzma/lz/lz_decoder.c | 60 ++++++------ 349 src/liblzma/lz/lz_decoder.h | 13 ++- 350 src/liblzma/lz/lz_encoder.c | 57 +++++++----- 351 src/liblzma/lz/lz_encoder.h | 9 +- 352 src/liblzma/lzma/lzma2_decoder.c | 32 ++++--- 353 src/liblzma/lzma/lzma2_encoder.c | 51 +++++----- 354 src/liblzma/lzma/lzma_decoder.c | 27 +++--- 355 src/liblzma/lzma/lzma_encoder.c | 29 +++--- 356 src/liblzma/lzma/lzma_encoder.h | 9 +- 357 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 3 +- 358 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 23 ++--- 359 src/liblzma/lzma/lzma_encoder_private.h | 6 +- 360 src/liblzma/simple/arm.c | 2 +- 361 src/liblzma/simple/armthumb.c | 2 +- 362 src/liblzma/simple/ia64.c | 2 +- 363 src/liblzma/simple/powerpc.c | 2 +- 364 src/liblzma/simple/simple_coder.c | 61 ++++++------ 365 src/liblzma/simple/simple_private.h | 12 +-- 366 src/liblzma/simple/sparc.c | 2 +- 367 src/liblzma/simple/x86.c | 15 +-- 368 35 files changed, 532 insertions(+), 423 deletions(-) 369 370commit 8e0f1af3dcaec00a3879cce8ad7441edc6359d1c 371Author: Lasse Collin <lasse.collin@tukaani.org> 372Date: 2016-12-26 20:50:25 +0200 373 374 Document --enable-sandbox configure option in INSTALL. 375 376 INSTALL | 25 +++++++++++++++++++++++++ 377 1 file changed, 25 insertions(+) 378 379commit ce2542d220de06acd618fd9f5c0a6683029fb4eb 380Author: Lasse Collin <lasse.collin@tukaani.org> 381Date: 2015-03-31 22:19:34 +0300 382 383 xz: Add support for sandboxing with Capsicum (disabled by default). 384 385 In the v5.2 branch this feature is considered experimental 386 and thus disabled by default. 387 388 The sandboxing is used conditionally as described in main.c. 389 This isn't optimal but it was much easier to implement than 390 a full sandboxing solution and it still covers the most common 391 use cases where xz is writing to standard output. This should 392 have practically no effect on performance even with small files 393 as fork() isn't needed. 394 395 C and locale libraries can open files as needed. This has been 396 fine in the past, but it's a problem with things like Capsicum. 397 io_sandbox_enter() tries to ensure that various locale-related 398 files have been loaded before cap_enter() is called, but it's 399 possible that there are other similar problems which haven't 400 been seen yet. 401 402 Currently Capsicum is available on FreeBSD 10 and later 403 and there is a port to Linux too. 404 405 Thanks to Loganaden Velvindron for help. 406 407 configure.ac | 41 +++++++++++++++++++++++++++ 408 src/xz/Makefile.am | 2 +- 409 src/xz/file_io.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 410 src/xz/file_io.h | 6 ++++ 411 src/xz/main.c | 18 ++++++++++++ 412 src/xz/private.h | 4 +++ 413 6 files changed, 151 insertions(+), 1 deletion(-) 414 415commit 3ca1d5e6320111043e19434da881065fadafa0e4 416Author: Lasse Collin <lasse.collin@tukaani.org> 417Date: 2015-03-31 21:12:30 +0300 418 419 Fix bugs and otherwise improve ax_check_capsicum.m4. 420 421 AU_ALIAS was removed because the new version is incompatible 422 with the old version. 423 424 It no longer checks for <sys/capability.h> separately. 425 It's enough to test for it as part of AC_CHECK_DECL. 426 The defines HAVE_CAPSICUM_SYS_CAPSICUM_H and 427 HAVE_CAPSICUM_SYS_CAPABILITY_H were removed as unneeded. 428 HAVE_SYS_CAPSICUM_H from AC_CHECK_HEADERS is enough. 429 430 It no longer does a useless search for the Capsicum library 431 if the header wasn't found. 432 433 Fixed a bug in ACTION-IF-FOUND (the first argument). Specifying 434 the argument omitted the default action but the given action 435 wasn't used instead. 436 437 AC_DEFINE([HAVE_CAPSICUM]) is now always called when Capsicum 438 support is found. Previously it was part of the default 439 ACTION-IF-FOUND which a custom action would override. Now 440 the default action only prepends ${CAPSICUM_LIB} to LIBS. 441 442 The documentation was updated. 443 444 Since there as no serial number, "#serial 2" was added. 445 446 m4/ax_check_capsicum.m4 | 103 ++++++++++++++++++++++++------------------------ 447 1 file changed, 51 insertions(+), 52 deletions(-) 448 449commit 5f3a742b64197fe8bedb6f05fc6ce5d177d11145 450Author: Lasse Collin <lasse.collin@tukaani.org> 451Date: 2015-03-31 19:20:24 +0300 452 453 Add m4/ax_check_capsicum.m4 for detecting Capsicum support. 454 455 The file was loaded from this web page: 456 https://github.com/google/capsicum-test/blob/dev/autoconf/m4/ax_check_capsicum.m4 457 458 Thanks to Loganaden Velvindron for pointing it out for me. 459 460 m4/ax_check_capsicum.m4 | 86 +++++++++++++++++++++++++++++++++++++++++++++++++ 461 1 file changed, 86 insertions(+) 462 463commit d74377e62b4c649e40294dd441de72c0f092e67c 464Author: Lasse Collin <lasse.collin@tukaani.org> 465Date: 2015-10-12 20:29:09 +0300 466 467 liblzma: Fix a memory leak in error path of lzma_index_dup(). 468 469 lzma_index_dup() calls index_dup_stream() which, in case of 470 an error, calls index_stream_end() to free memory allocated 471 by index_stream_init(). However, it illogically didn't 472 actually free the memory. To make it logical, the tree 473 handling code was modified a bit in addition to changing 474 index_stream_end(). 475 476 Thanks to Evan Nemerson for the bug report. 477 478 src/liblzma/common/index.c | 18 +++++++++--------- 479 1 file changed, 9 insertions(+), 9 deletions(-) 480 481commit f580732216dcf971f3f006fe8e01cd4979e1d964 482Author: Lasse Collin <lasse.collin@tukaani.org> 483Date: 2016-10-24 18:53:25 +0300 484 485 Update THANKS. 486 487 THANKS | 1 + 488 1 file changed, 1 insertion(+) 489 490commit 88d7a7fd153bf1355cdf798ffdac7443d0169afc 491Author: Lasse Collin <lasse.collin@tukaani.org> 492Date: 2016-10-24 18:51:36 +0300 493 494 tuklib_cpucores: Add support for sched_getaffinity(). 495 496 It's available in glibc (GNU/Linux, GNU/kFreeBSD). It's better 497 than sysconf(_SC_NPROCESSORS_ONLN) because sched_getaffinity() 498 gives the number of cores available to the process instead of 499 the total number of cores online. 500 501 As a side effect, this commit fixes a bug on GNU/kFreeBSD where 502 configure would detect the FreeBSD-specific cpuset_getaffinity() 503 but it wouldn't actually work because on GNU/kFreeBSD it requires 504 using -lfreebsd-glue when linking. Now the glibc-specific function 505 will be used instead. 506 507 Thanks to Sebastian Andrzej Siewior for the original patch 508 and testing. 509 510 m4/tuklib_cpucores.m4 | 30 +++++++++++++++++++++++++++++- 511 src/common/tuklib_cpucores.c | 9 +++++++++ 512 2 files changed, 38 insertions(+), 1 deletion(-) 513 514commit 51baf684376903dbeddd840582bfdf9fa91b311b 515Author: Lasse Collin <lasse.collin@tukaani.org> 516Date: 2016-06-30 20:27:36 +0300 517 518 xz: Fix copying of timestamps on Windows. 519 520 xz used to call utime() on Windows, but its result gets lost 521 on close(). Using _futime() seems to work. 522 523 Thanks to Martok for reporting the bug: 524 http://www.mail-archive.com/xz-devel@tukaani.org/msg00261.html 525 526 configure.ac | 2 +- 527 src/xz/file_io.c | 18 ++++++++++++++++++ 528 2 files changed, 19 insertions(+), 1 deletion(-) 529 530commit 1ddc479851139d6e8202e5835421bfe6578d9e07 531Author: Lasse Collin <lasse.collin@tukaani.org> 532Date: 2016-06-16 22:46:02 +0300 533 534 xz: Silence warnings from -Wlogical-op. 535 536 Thanks to Evan Nemerson. 537 538 src/xz/file_io.c | 12 ++++++++++-- 539 1 file changed, 10 insertions(+), 2 deletions(-) 540 541commit be647ff5ed5a1c244a65722af6ce250259f3b14a 542Author: Lasse Collin <lasse.collin@tukaani.org> 543Date: 2016-04-10 20:55:49 +0300 544 545 Build: Fix = to += for xz_SOURCES in src/xz/Makefile.am. 546 547 Thanks to Christian Kujau. 548 549 src/xz/Makefile.am | 2 +- 550 1 file changed, 1 insertion(+), 1 deletion(-) 551 552commit fb6d50c15343831f35305982cefa82053099191d 553Author: Lasse Collin <lasse.collin@tukaani.org> 554Date: 2016-04-10 20:54:17 +0300 555 556 Build: Bump GNU Gettext version requirement to 0.19. 557 558 It silences a few warnings and most people probably have 559 0.19 even on stable distributions. 560 561 Thanks to Christian Kujau. 562 563 configure.ac | 2 +- 564 1 file changed, 1 insertion(+), 1 deletion(-) 565 566commit 74f8dad9f912a2993768d93d108ea2b0b2c196e0 567Author: Lasse Collin <lasse.collin@tukaani.org> 568Date: 2016-03-13 20:21:49 +0200 569 570 liblzma: Disable external SHA-256 by default. 571 572 This is the sane thing to do. The conflict with OpenSSL 573 on some OSes and especially that the OS-provided versions 574 can be significantly slower makes it clear that it was 575 a mistake to have the external SHA-256 support enabled by 576 default. 577 578 Those who want it can now pass --enable-external-sha256 to 579 configure. INSTALL was updated with notes about OSes where 580 this can be a bad idea. 581 582 The SHA-256 detection code in configure.ac had some bugs that 583 could lead to a build failure in some situations. These were 584 fixed, although it doesn't matter that much now that the 585 external SHA-256 is disabled by default. 586 587 MINIX >= 3.2.0 uses NetBSD's libc and thus has SHA256_Init 588 in libc instead of libutil. Support for the libutil version 589 was removed. 590 591 INSTALL | 36 ++++++++++++++++++++++ 592 configure.ac | 76 +++++++++++++++++++++++------------------------ 593 src/liblzma/check/check.h | 16 ++++------ 594 3 files changed, 79 insertions(+), 49 deletions(-) 595 596commit ea7f6ff04cb5bb1498088eb09960a4c3f13dfe39 597Author: Lasse Collin <lasse.collin@tukaani.org> 598Date: 2016-03-10 20:27:05 +0200 599 600 Update THANKS. 601 602 THANKS | 1 + 603 1 file changed, 1 insertion(+) 604 605commit d0e018016b311232e82d9a98dc68f1e3dabce794 606Author: Lasse Collin <lasse.collin@tukaani.org> 607Date: 2016-03-10 20:26:49 +0200 608 609 Build: Avoid SHA256_Init on FreeBSD and MINIX 3. 610 611 On FreeBSD 10 and older, SHA256_Init from libmd conflicts 612 with libcrypto from OpenSSL. The OpenSSL version has 613 different sizeof(SHA256_CTX) and it can cause weird 614 problems if wrong SHA256_Init gets used. 615 616 Looking at the source, MINIX 3 seems to have a similar issue but 617 I'm not sure. To be safe, I disabled SHA256_Init on MINIX 3 too. 618 619 NetBSD has SHA256_Init in libc and they had a similar problem, 620 but they already fixed it in 2009. 621 622 Thanks to Jim Wilcoxson for the bug report that helped 623 in finding the problem. 624 625 configure.ac | 27 +++++++++++++++++++++------ 626 1 file changed, 21 insertions(+), 6 deletions(-) 627 628commit 5daae123915f32a4ed6dc948b831533c2d1beec3 629Author: Lasse Collin <lasse.collin@tukaani.org> 630Date: 2015-11-08 20:16:10 +0200 631 632 tuklib_physmem: Hopefully silence a warning on Windows. 633 634 src/common/tuklib_physmem.c | 3 ++- 635 1 file changed, 2 insertions(+), 1 deletion(-) 636 637commit 491acc406e098167ccb7fce0728b94c2f32cff9f 638Author: Lasse Collin <lasse.collin@tukaani.org> 639Date: 2015-11-04 23:17:43 +0200 640 641 Update THANKS. 642 643 THANKS | 1 + 644 1 file changed, 1 insertion(+) 645 646commit 8173ff8790ad3502d04e1c07d014cb84a3b8187b 647Author: Lasse Collin <lasse.collin@tukaani.org> 648Date: 2015-11-04 23:14:00 +0200 649 650 liblzma: Make Valgrind happier with optimized (gcc -O2) liblzma. 651 652 When optimizing, GCC can reorder code so that an uninitialized 653 value gets used in a comparison, which makes Valgrind unhappy. 654 It doesn't happen when compiled with -O0, which I tend to use 655 when running Valgrind. 656 657 Thanks to Rich Prohaska. I remember this being mentioned long 658 ago by someone else but nothing was done back then. 659 660 src/liblzma/lz/lz_encoder.c | 4 ++++ 661 1 file changed, 4 insertions(+) 662 663commit 013de2b5ab8094d2c82a2771f3d143eeb656eda9 664Author: Lasse Collin <lasse.collin@tukaani.org> 665Date: 2015-11-03 20:55:45 +0200 666 667 liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c. 668 669 It would be too annoying to update other build systems 670 just because of this. 671 672 src/liblzma/lzma/Makefile.inc | 2 +- 673 src/liblzma/lzma/{lzma_presets.c => lzma_encoder_presets.c} | 2 +- 674 2 files changed, 2 insertions(+), 2 deletions(-) 675 676commit a322f70ad96de88968c2c36e6a36bc08ae30bd20 677Author: Lasse Collin <lasse.collin@tukaani.org> 678Date: 2015-11-03 20:47:07 +0200 679 680 Build: Disable xzdec, lzmadec, and lzmainfo when they cannot be built. 681 682 They all need decoder support and if that isn't available, 683 there's no point trying to build them. 684 685 configure.ac | 3 +++ 686 1 file changed, 3 insertions(+) 687 688commit 8ea49606cf6427e32319de7693eca9e43f1c8ad6 689Author: Lasse Collin <lasse.collin@tukaani.org> 690Date: 2015-11-03 20:35:19 +0200 691 692 Build: Simplify $enable_{encoders,decoders} usage a bit. 693 694 configure.ac | 6 ++++-- 695 1 file changed, 4 insertions(+), 2 deletions(-) 696 697commit 42131a25e52bfe400acfa7df93469a96bb78bb78 698Author: Lasse Collin <lasse.collin@tukaani.org> 699Date: 2015-11-03 20:31:31 +0200 700 701 Windows/MSVC: Update config.h. 702 703 windows/config.h | 6 ++++++ 704 1 file changed, 6 insertions(+) 705 706commit e9184e87cc989d14c7413e6adb3eca98f6ae0290 707Author: Lasse Collin <lasse.collin@tukaani.org> 708Date: 2015-11-03 20:29:58 +0200 709 710 DOS: Update config.h. 711 712 dos/config.h | 6 ++++++ 713 1 file changed, 6 insertions(+) 714 715commit 2296778f3c9a1e3a8699973b09dd3610b8baa402 716Author: Lasse Collin <lasse.collin@tukaani.org> 717Date: 2015-11-03 20:29:33 +0200 718 719 xz: Make xz buildable even when encoders or decoders are disabled. 720 721 The patch is quite long but it's mostly about adding new #ifdefs 722 to omit code when encoders or decoders have been disabled. 723 724 This adds two new #defines to config.h: HAVE_ENCODERS and 725 HAVE_DECODERS. 726 727 configure.ac | 4 ++++ 728 src/xz/Makefile.am | 8 ++++++-- 729 src/xz/args.c | 16 ++++++++++++++++ 730 src/xz/coder.c | 33 +++++++++++++++++++++++++-------- 731 src/xz/main.c | 9 +++++++-- 732 src/xz/private.h | 5 ++++- 733 6 files changed, 62 insertions(+), 13 deletions(-) 734 735commit 97a3109281e475d9cf1b5095237d672fa0ad25e5 736Author: Lasse Collin <lasse.collin@tukaani.org> 737Date: 2015-11-03 18:06:40 +0200 738 739 Build: Build LZMA1/2 presets also when only decoder is wanted. 740 741 People shouldn't rely on the presets when decoding raw streams, 742 but xz uses the presets as the starting point for raw decoder 743 options anyway. 744 745 lzma_encocder_presets.c was renamed to lzma_presets.c to 746 make it clear it's not used solely by the encoder code. 747 748 src/liblzma/lzma/Makefile.inc | 6 +++++- 749 src/liblzma/lzma/{lzma_encoder_presets.c => lzma_presets.c} | 3 ++- 750 2 files changed, 7 insertions(+), 2 deletions(-) 751 752commit dc6b78d7f0f6fe43e9d4215146e8581feb8090e7 753Author: Lasse Collin <lasse.collin@tukaani.org> 754Date: 2015-11-03 17:54:48 +0200 755 756 Build: Fix configure to handle LZMA1 dependency with LZMA2. 757 758 Now it gives an error if LZMA1 encoder/decoder is missing 759 when LZMA2 encoder/decoder was requested. Even better would 760 be LZMA2 implicitly enabling LZMA1 but it would need more code. 761 762 configure.ac | 5 ----- 763 1 file changed, 5 deletions(-) 764 765commit 46d76c9cd3cb26a31f5ae6c3a8bbcf38e6da1add 766Author: Lasse Collin <lasse.collin@tukaani.org> 767Date: 2015-11-03 17:41:54 +0200 768 769 Build: Don't omit lzma_cputhreads() unless using --disable-threads. 770 771 Previously it was omitted if encoders were disabled 772 with --disable-encoders. It didn't make sense and 773 it also broke the build. 774 775 src/liblzma/common/Makefile.inc | 5 ++++- 776 1 file changed, 4 insertions(+), 1 deletion(-) 777 778commit 16d68f874d89f1e4a1919786a35bbaef7d71a077 779Author: Lasse Collin <lasse.collin@tukaani.org> 780Date: 2015-11-02 18:16:51 +0200 781 782 liblzma: Fix a build failure related to external SHA-256 support. 783 784 If an appropriate header and structure were found by configure, 785 but a library with a usable SHA-256 functions wasn't, the build 786 failed. 787 788 src/liblzma/check/check.h | 32 +++++++++++++++++++++++--------- 789 1 file changed, 23 insertions(+), 9 deletions(-) 790 791commit d9311647fc1ab512a3394596221ab8039c00af6b 792Author: Lasse Collin <lasse.collin@tukaani.org> 793Date: 2015-11-02 15:19:10 +0200 794 795 xz: Always close the file before trying to delete it. 796 797 unlink() can return EBUSY in errno for open files on some 798 operating systems and file systems. 799 800 src/xz/file_io.c | 25 ++++++++++++------------- 801 1 file changed, 12 insertions(+), 13 deletions(-) 802 803commit f59c4183f3c9066626ce45dc3db4642fa603fa21 804Author: Lasse Collin <lasse.collin@tukaani.org> 805Date: 2015-10-12 21:08:42 +0300 806 807 Update THANKS. 808 809 THANKS | 1 + 810 1 file changed, 1 insertion(+) 811 812commit 35f189673e280c12e4c5129f9f97e54eef3bbc04 813Author: Lasse Collin <lasse.collin@tukaani.org> 814Date: 2015-10-12 21:07:41 +0300 815 816 Tests: Add tests for the two bugs fixed in index.c. 817 818 tests/test_index.c | 30 ++++++++++++++++++++++++++++++ 819 1 file changed, 30 insertions(+) 820 821commit e10bfdb0fcaff12f3a6dadee51e0a022aadccb51 822Author: Lasse Collin <lasse.collin@tukaani.org> 823Date: 2015-10-12 20:45:15 +0300 824 825 liblzma: Fix lzma_index_dup() for empty Streams. 826 827 Stream Flags and Stream Padding weren't copied from 828 empty Streams. 829 830 src/liblzma/common/index.c | 11 ++++++----- 831 1 file changed, 6 insertions(+), 5 deletions(-) 832 833commit 06f434bd8980f25ca23232eb7bb7df7e37dc8448 834Author: Lasse Collin <lasse.collin@tukaani.org> 835Date: 2015-10-12 20:31:44 +0300 836 837 liblzma: Add a note to index.c for those using static analyzers. 838 839 src/liblzma/common/index.c | 3 +++ 840 1 file changed, 3 insertions(+) 841 842commit 9815cdf6987ef91a85493bfcfd1ce2aaf3b47a0a 843Author: Lasse Collin <lasse.collin@tukaani.org> 844Date: 2015-09-29 13:59:35 +0300 845 846 Bump version and soname for 5.2.2. 847 848 src/liblzma/Makefile.am | 2 +- 849 src/liblzma/api/lzma/version.h | 2 +- 850 2 files changed, 2 insertions(+), 2 deletions(-) 851 852commit cbe0cec8476bdd0416c7ca9bc83895c9bea1cf78 853Author: Lasse Collin <lasse.collin@tukaani.org> 854Date: 2015-09-29 13:57:28 +0300 855 856 Update NEWS for 5.2.2. 857 858 NEWS | 18 ++++++++++++++++++ 859 1 file changed, 18 insertions(+) 860 861commit 49427ce7eececdd18bbd35dab23c81910d083e1c 862Author: Andre Noll <maan@tuebingen.mpg.de> 863Date: 2015-05-28 15:50:00 +0200 864 865 Fix typo in German translation. 866 867 As pointed out by Robert Pollak, there's a typo in the German 868 translation of the compression preset option (-0 ... -9) help text. 869 "The compressor" translates to "der Komprimierer", and the genitive 870 form is "des Komprimierers". The old word makes no sense at all. 871 872 po/de.po | 2 +- 873 1 file changed, 1 insertion(+), 1 deletion(-) 874 875commit 608d6f06c940e7f28c25de005e8b99bdff42d27c 876Author: Hauke Henningsen <sqrt@entless.org> 877Date: 2015-08-17 04:59:54 +0200 878 879 Update German translation, mostly wrt orthography 880 881 Provide an update of the German translation. 882 * A lot of compound words were previously written with spaces, while 883 German orthography is relatively clear in that the components 884 should not be separated. 885 * When referring to the actual process of (de)compression rather than the 886 concept, replace “(De-)Kompression” with “(De-)Komprimierung”. 887 Previously, both forms were used in this context and are now used in a 888 manner consistent with “Komprimierung” being more likely to refer to 889 a process. 890 * Consistently translate “standard input”/“output” 891 * Use “Zeichen” instead of false friend “Charakter” for “character” 892 * Insert commas around relative clauses (as required in German) 893 * Some other minor corrections 894 * Capitalize “ß” as “ẞ” 895 * Consistently start option descriptions in --help with capital letters 896 897 Acked-By: Andre Noll <maan@tuebingen.mpg.de> 898 899 * Update after msgmerge 900 901 po/de.po | 383 ++++++++++++++++++++++++++++++++------------------------------- 902 1 file changed, 196 insertions(+), 187 deletions(-) 903 904commit c8988414e5b67b8ef2fe0ba7b1ccdd0ec73c60d3 905Author: Lasse Collin <lasse.collin@tukaani.org> 906Date: 2015-08-11 13:23:04 +0300 907 908 Build: Minor Cygwin cleanup. 909 910 Some tests used "cygwin*" and some used "cygwin". I changed 911 them all to use "cygwin". Shouldn't affect anything in practice. 912 913 configure.ac | 6 +++--- 914 1 file changed, 3 insertions(+), 3 deletions(-) 915 916commit 85a6dfed53477906bfe9a7c0123dd412e391cb48 917Author: Lasse Collin <lasse.collin@tukaani.org> 918Date: 2015-08-11 13:21:52 +0300 919 920 Build: Support building of MSYS2 binaries. 921 922 configure.ac | 16 +++++++++++----- 923 1 file changed, 11 insertions(+), 5 deletions(-) 924 925commit 77f270be8432df2e4516a0c48814b6976d6618c5 926Author: Lasse Collin <lasse.collin@tukaani.org> 927Date: 2015-08-09 21:06:26 +0300 928 929 Windows: Define DLL_EXPORT when building liblzma.dll with MSVC. 930 931 src/liblzma/common/common.h uses it to set __declspec(dllexport) 932 for the API symbols. 933 934 Thanks to Adam Walling. 935 936 windows/liblzma_dll.vcxproj | 12 ++++++------ 937 1 file changed, 6 insertions(+), 6 deletions(-) 938 939commit 8c975446c5903090a5a8493b5b96b71003056a88 940Author: Lasse Collin <lasse.collin@tukaani.org> 941Date: 2015-08-09 21:02:20 +0300 942 943 Windows: Omit unneeded header files from MSVC project files. 944 945 windows/liblzma.vcxproj | 5 ----- 946 windows/liblzma_dll.vcxproj | 5 ----- 947 2 files changed, 10 deletions(-) 948 949commit 119a00434954726ca58e4a578e6469f530fca30e 950Author: Lasse Collin <lasse.collin@tukaani.org> 951Date: 2015-07-12 20:48:19 +0300 952 953 liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer. 954 955 src/liblzma/api/lzma.h | 18 +++++++++++++----- 956 1 file changed, 13 insertions(+), 5 deletions(-) 957 958commit d4e7c557fcab353539c9481a8d95cb04bcb15c7c 959Author: Lasse Collin <lasse.collin@tukaani.org> 960Date: 2015-06-19 20:38:55 +0300 961 962 Update THANKS. 963 964 THANKS | 2 ++ 965 1 file changed, 2 insertions(+) 966 967commit 98001740ca56c894a7bd32eb47e9857a8a7d878d 968Author: Lasse Collin <lasse.collin@tukaani.org> 969Date: 2015-06-19 20:21:30 +0300 970 971 Windows: Update the docs. 972 973 INSTALL | 29 ++++++++----- 974 windows/INSTALL-MSVC.txt | 47 ++++++++++++++++++++++ 975 windows/{INSTALL-Windows.txt => INSTALL-MinGW.txt} | 2 +- 976 3 files changed, 67 insertions(+), 11 deletions(-) 977 978commit 28195e4c877007cc760ecea1d17f740693d66873 979Author: Lasse Collin <lasse.collin@tukaani.org> 980Date: 2015-06-19 17:25:31 +0300 981 982 Windows: Add MSVC project files for building liblzma. 983 984 Thanks to Adam Walling for creating these files. 985 986 windows/liblzma.vcxproj | 359 ++++++++++++++++++++++++++++++++++++++++ 987 windows/liblzma_dll.vcxproj | 388 ++++++++++++++++++++++++++++++++++++++++++++ 988 windows/xz_win.sln | 48 ++++++ 989 3 files changed, 795 insertions(+) 990 991commit 960440f3230dc628f6966d9f7614fc1b28baf44e 992Author: Lasse Collin <lasse.collin@tukaani.org> 993Date: 2015-05-13 20:57:55 +0300 994 995 Tests: Fix a memory leak in test_bcj_exact_size. 996 997 Thanks to Cristian Rodríguez. 998 999 tests/test_bcj_exact_size.c | 1 + 1000 1 file changed, 1 insertion(+) 1001 1002commit 68cd35acafbdcdf4e8ea8b5bb843c736939d6f8b 1003Author: Lasse Collin <lasse.collin@tukaani.org> 1004Date: 2015-05-12 18:08:24 +0300 1005 1006 Fix NEWS about threading in 5.2.0. 1007 1008 Thanks to Andy Hochhaus. 1009 1010 NEWS | 3 ++- 1011 1 file changed, 2 insertions(+), 1 deletion(-) 1012 1013commit ff96ed6d25786728356017a13baf8c14731b4f1e 1014Author: Lasse Collin <lasse.collin@tukaani.org> 1015Date: 2015-05-11 21:26:16 +0300 1016 1017 xz: Document that threaded decompression hasn't been implemented yet. 1018 1019 src/xz/xz.1 | 10 +++++++++- 1020 1 file changed, 9 insertions(+), 1 deletion(-) 1021 1022commit 00d37b64a64ea8597fd2422d5187afd761ab9531 1023Author: Lasse Collin <lasse.collin@tukaani.org> 1024Date: 2015-04-20 20:20:29 +0300 1025 1026 Update THANKS. 1027 1028 THANKS | 1 + 1029 1 file changed, 1 insertion(+) 1030 1031commit db190a832c49ca3aed6d69cc992fa5583cae7b11 1032Author: Lasse Collin <lasse.collin@tukaani.org> 1033Date: 2015-04-20 19:59:18 +0300 1034 1035 Revert "xz: Use pipe2() if available." 1036 1037 This reverts commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd. 1038 It is a problem when libc has pipe2() but the kernel is too 1039 old to have pipe2() and thus pipe2() fails. In xz it's pointless 1040 to have a fallback for non-functioning pipe2(); it's better to 1041 avoid pipe2() completely. 1042 1043 Thanks to Michael Fox for the bug report. 1044 1045 configure.ac | 4 ++-- 1046 src/xz/file_io.c | 9 +-------- 1047 2 files changed, 3 insertions(+), 10 deletions(-) 1048 1049commit eccd8155e107c5ada03d13e7730675cdf1a44ddc 1050Author: Lasse Collin <lasse.collin@tukaani.org> 1051Date: 2015-03-29 22:14:47 +0300 1052 1053 Update THANKS. 1054 1055 THANKS | 1 + 1056 1 file changed, 1 insertion(+) 1057 1058commit 25263fd9e7a8a913395cb93d7c104cd48c2b4a00 1059Author: Lasse Collin <lasse.collin@tukaani.org> 1060Date: 2015-03-29 22:13:48 +0300 1061 1062 Fix the detection of installed RAM on QNX. 1063 1064 The earlier version compiled but didn't actually work 1065 since sysconf(_SC_PHYS_PAGES) always fails (or so I was told). 1066 1067 Thanks to Ole André Vadla Ravnås for the patch and testing. 1068 1069 m4/tuklib_physmem.m4 | 6 +++--- 1070 src/common/tuklib_physmem.c | 14 +++++++++++++- 1071 2 files changed, 16 insertions(+), 4 deletions(-) 1072 1073commit 4c544d2410903d38402221cb783ed85585b6a007 1074Author: Lasse Collin <lasse.collin@tukaani.org> 1075Date: 2015-03-27 22:39:07 +0200 1076 1077 Fix CPU core count detection on QNX. 1078 1079 It tried to use sysctl() on QNX but 1080 - it broke the build because sysctl() needs -lsocket on QNX; 1081 - sysctl() doesn't work for detecting the core count on QNX 1082 even if it compiled. 1083 1084 sysconf() works. An alternative would have been to use 1085 QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>. 1086 1087 Thanks to Ole André Vadla Ravnås. 1088 1089 m4/tuklib_cpucores.m4 | 15 +++++++++++---- 1090 1 file changed, 11 insertions(+), 4 deletions(-) 1091 1092commit e0ea6737b03e83ccaff4514d00e31bb926f8f0f3 1093Author: Lasse Collin <lasse.collin@tukaani.org> 1094Date: 2015-03-07 22:05:57 +0200 1095 1096 xz: size_t/uint32_t cleanup in options.c. 1097 1098 src/xz/options.c | 12 ++++++------ 1099 1 file changed, 6 insertions(+), 6 deletions(-) 1100 1101commit 8bcca29a65335fd679c13814b70b35b68fa5daed 1102Author: Lasse Collin <lasse.collin@tukaani.org> 1103Date: 2015-03-07 22:04:23 +0200 1104 1105 xz: Fix a comment and silence a warning in message.c. 1106 1107 src/xz/message.c | 5 +++-- 1108 1 file changed, 3 insertions(+), 2 deletions(-) 1109 1110commit f243f5f44c6b19a7c289a0ec73a03ee08364cb5b 1111Author: Lasse Collin <lasse.collin@tukaani.org> 1112Date: 2015-03-07 22:01:00 +0200 1113 1114 liblzma: Silence more uint32_t vs. size_t warnings. 1115 1116 src/liblzma/lz/lz_encoder.c | 2 +- 1117 src/liblzma/lzma/lzma_encoder.c | 2 +- 1118 2 files changed, 2 insertions(+), 2 deletions(-) 1119 1120commit 7f0a4c50f4a374c40acf4b86848f301ad1e82d34 1121Author: Lasse Collin <lasse.collin@tukaani.org> 1122Date: 2015-03-07 19:54:00 +0200 1123 1124 xz: Make arg_count an unsigned int to silence a warning. 1125 1126 Actually the value of arg_count cannot exceed INT_MAX 1127 but it's nicer as an unsigned int. 1128 1129 src/xz/args.h | 2 +- 1130 src/xz/main.c | 2 +- 1131 2 files changed, 2 insertions(+), 2 deletions(-) 1132 1133commit f6ec46801588b1be29c07c9db98558b521304002 1134Author: Lasse Collin <lasse.collin@tukaani.org> 1135Date: 2015-03-07 19:33:17 +0200 1136 1137 liblzma: Fix a warning in index.c. 1138 1139 src/liblzma/common/index.c | 4 +++- 1140 1 file changed, 3 insertions(+), 1 deletion(-) 1141 1142commit a24518971cc621315af142dd3bb7614fab04ad27 1143Author: Lasse Collin <lasse.collin@tukaani.org> 1144Date: 2015-02-26 20:46:14 +0200 1145 1146 Build: Fix a CR+LF problem when running autoreconf -fi on OS/2. 1147 1148 build-aux/version.sh | 2 +- 1149 1 file changed, 1 insertion(+), 1 deletion(-) 1150 1151commit dec11497a71518423b5ff0e759100cf8aadf6c7b 1152Author: Lasse Collin <lasse.collin@tukaani.org> 1153Date: 2015-02-26 16:53:44 +0200 1154 1155 Bump version and soname for 5.2.1. 1156 1157 src/liblzma/Makefile.am | 2 +- 1158 src/liblzma/api/lzma/version.h | 2 +- 1159 2 files changed, 2 insertions(+), 2 deletions(-) 1160 1161commit 29e39c79975ab89ee5dd671e97064534a9f3a649 1162Author: Lasse Collin <lasse.collin@tukaani.org> 1163Date: 2015-02-26 13:01:09 +0200 1164 1165 Update NEWS for 5.2.1. 1166 1167 NEWS | 14 ++++++++++++++ 1168 1 file changed, 14 insertions(+) 1169 1170commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd 1171Author: Lasse Collin <lasse.collin@tukaani.org> 1172Date: 2015-02-22 19:38:48 +0200 1173 1174 xz: Use pipe2() if available. 1175 1176 configure.ac | 4 ++-- 1177 src/xz/file_io.c | 9 ++++++++- 1178 2 files changed, 10 insertions(+), 3 deletions(-) 1179 1180commit 117d962685c72682c63edc9bb765367189800202 1181Author: Lasse Collin <lasse.collin@tukaani.org> 1182Date: 2015-02-21 23:40:26 +0200 1183 1184 liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode. 1185 1186 The bug was added in the commit 1187 f48fce093b07aeda95c18850f5e086d9f2383380 and thus 1188 affected 5.1.4beta and 5.2.0. Luckily the bug cannot 1189 cause data corruption or other nasty things. 1190 1191 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 1192 1 file changed, 1 insertion(+), 1 deletion(-) 1193 1194commit ae984e31c167d3bc52972ec422dd1ebd5f5d5719 1195Author: Lasse Collin <lasse.collin@tukaani.org> 1196Date: 2015-02-21 23:00:19 +0200 1197 1198 xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick. 1199 1200 Now it reads the old flags instead of blindly setting O_NONBLOCK. 1201 The old code may have worked correctly, but this is better. 1202 1203 src/xz/file_io.c | 16 +++++++++++----- 1204 1 file changed, 11 insertions(+), 5 deletions(-) 1205 1206commit 2205bb5853098aea36a56df6f5747037175f66b4 1207Author: Lasse Collin <lasse.collin@tukaani.org> 1208Date: 2015-02-10 15:29:34 +0200 1209 1210 Update THANKS. 1211 1212 THANKS | 1 + 1213 1 file changed, 1 insertion(+) 1214 1215commit d935b0cdf3db440269b9d952b2b281b18f8c7b08 1216Author: Lasse Collin <lasse.collin@tukaani.org> 1217Date: 2015-02-10 15:28:30 +0200 1218 1219 tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available. 1220 1221 In FreeBSD, cpuset_getaffinity() is the preferred way to get 1222 the number of available cores. 1223 1224 Thanks to Rui Paulo for the patch. I edited it slightly, but 1225 hopefully I didn't break anything. 1226 1227 m4/tuklib_cpucores.m4 | 23 ++++++++++++++++++++++- 1228 src/common/tuklib_cpucores.c | 18 ++++++++++++++++++ 1229 2 files changed, 40 insertions(+), 1 deletion(-) 1230 1231commit eb61bc58c20769cac4d05f363b9c0e8c9c71a560 1232Author: Lasse Collin <lasse.collin@tukaani.org> 1233Date: 2015-02-09 22:08:37 +0200 1234 1235 xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp. 1236 1237 Thanks to Rui Paulo for the fix. 1238 1239 src/scripts/xzdiff.in | 7 ++++++- 1240 1 file changed, 6 insertions(+), 1 deletion(-) 1241 1242commit b9a5b6b7a29029680af733082b6a46e0fc01623a 1243Author: Lasse Collin <lasse.collin@tukaani.org> 1244Date: 2015-02-03 21:45:53 +0200 1245 1246 Add a few casts to tuklib_integer.h to silence possible warnings. 1247 1248 I heard that Visual Studio 2013 gave warnings without the casts. 1249 1250 Thanks to Gabi Davar. 1251 1252 src/common/tuklib_integer.h | 24 ++++++++++++------------ 1253 1 file changed, 12 insertions(+), 12 deletions(-) 1254 1255commit c45757135f40e4a0de730ba5fff0100219493982 1256Author: Lasse Collin <lasse.collin@tukaani.org> 1257Date: 2015-01-26 21:24:39 +0200 1258 1259 liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method. 1260 1261 src/liblzma/common/memcmplen.h | 15 ++++++++++----- 1262 1 file changed, 10 insertions(+), 5 deletions(-) 1263 1264commit 3c500174ed5485f550972a2a6109c361e875f069 1265Author: Lasse Collin <lasse.collin@tukaani.org> 1266Date: 2015-01-26 20:40:16 +0200 1267 1268 Update THANKS. 1269 1270 THANKS | 1 + 1271 1 file changed, 1 insertion(+) 1272 1273commit fec88d41e672d9e197c9442aecf02bd0dfa6d516 1274Author: Lasse Collin <lasse.collin@tukaani.org> 1275Date: 2015-01-26 20:39:28 +0200 1276 1277 liblzma: Silence harmless Valgrind errors. 1278 1279 Thanks to Torsten Rupp for reporting this. I had 1280 forgotten to run Valgrind before the 5.2.0 release. 1281 1282 src/liblzma/lz/lz_encoder.c | 6 ++++++ 1283 1 file changed, 6 insertions(+) 1284 1285commit a9b45badfec0928d20a27c7176c005fa637f7d1e 1286Author: Lasse Collin <lasse.collin@tukaani.org> 1287Date: 2015-01-09 21:50:19 +0200 1288 1289 xz: Fix comments. 1290 1291 src/xz/file_io.c | 12 ++++++++---- 1292 1 file changed, 8 insertions(+), 4 deletions(-) 1293 1294commit 541aee6dd4aa97a809aba281475a21b641bb89e2 1295Author: Lasse Collin <lasse.collin@tukaani.org> 1296Date: 2015-01-09 21:35:06 +0200 1297 1298 Update THANKS. 1299 1300 THANKS | 1 + 1301 1 file changed, 1 insertion(+) 1302 1303commit 4170edc914655310d2363baccf5e615e09b04911 1304Author: Lasse Collin <lasse.collin@tukaani.org> 1305Date: 2015-01-09 21:34:06 +0200 1306 1307 xz: Don't fail if stdout doesn't support O_NONBLOCK. 1308 1309 This is similar to the case with stdin. 1310 1311 Thanks to Brad Smith for the bug report and testing 1312 on OpenBSD. 1313 1314 src/xz/file_io.c | 36 +++++++++++++++--------------------- 1315 1 file changed, 15 insertions(+), 21 deletions(-) 1316 1317commit 04bbc0c2843c50c8ad1cba42b937118e38b0508d 1318Author: Lasse Collin <lasse.collin@tukaani.org> 1319Date: 2015-01-07 19:18:20 +0200 1320 1321 xz: Fix a memory leak in DOS-specific code. 1322 1323 src/xz/file_io.c | 2 ++ 1324 1 file changed, 2 insertions(+) 1325 1326commit f0f1f6c7235ffa901cf76fe18e33749e200b3eea 1327Author: Lasse Collin <lasse.collin@tukaani.org> 1328Date: 2015-01-07 19:08:06 +0200 1329 1330 xz: Don't fail if stdin doesn't support O_NONBLOCK. 1331 1332 It's a problem at least on OpenBSD which doesn't support 1333 O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's 1334 a problem on other OSes too since this behavior is allowed 1335 in POSIX-1.2008. 1336 1337 The code relying on this behavior was committed in June 2013 1338 and included in 5.1.3alpha released on 2013-10-26. Clearly 1339 the development releases only get limited testing. 1340 1341 src/xz/file_io.c | 18 +++++++----------- 1342 1 file changed, 7 insertions(+), 11 deletions(-) 1343 1344commit d2d484647d9d9d679f03c75abb0404f67069271c 1345Author: Lasse Collin <lasse.collin@tukaani.org> 1346Date: 2015-01-06 20:30:15 +0200 1347 1348 Tests: Don't hide unexpected error messages in test_files.sh. 1349 1350 Hiding them makes no sense since normally there's no error 1351 when testing the "good" files. With "bad" files errors are 1352 expected and then it makes sense to keep the messages hidden. 1353 1354 tests/test_files.sh | 4 ++-- 1355 1 file changed, 2 insertions(+), 2 deletions(-) 1356 1357commit aae6a6aeda51cf94a47e39ad624728f9bee75e30 1358Author: Lasse Collin <lasse.collin@tukaani.org> 1359Date: 2014-12-30 11:17:16 +0200 1360 1361 Update Solaris notes in INSTALL. 1362 1363 Mention the possible "make check" failure on Solaris in the 1364 Solaris-specific section of INSTALL. It was already in 1365 section 4.5 but it is better mention it in the OS-specific 1366 section too. 1367 1368 INSTALL | 4 ++++ 1369 1 file changed, 4 insertions(+) 1370 1371commit 7815112153178800a3521b9f31960e7cdc26cfba 1372Author: Lasse Collin <lasse.collin@tukaani.org> 1373Date: 2014-12-26 12:00:05 +0200 1374 1375 Build: POSIX shell isn't required if scripts are disabled. 1376 1377 INSTALL | 3 ++- 1378 configure.ac | 2 +- 1379 2 files changed, 3 insertions(+), 2 deletions(-) 1380 1381commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a 1382Author: Lasse Collin <lasse.collin@tukaani.org> 1383Date: 2014-12-21 20:48:37 +0200 1384 1385 DOS: Update Makefile. 1386 1387 dos/Makefile | 1 + 1388 1 file changed, 1 insertion(+) 1389 1390commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e 1391Author: Lasse Collin <lasse.collin@tukaani.org> 1392Date: 2014-12-21 19:50:38 +0200 1393 1394 Windows: Fix bin_i486 to bin_i686 in build.bash. 1395 1396 windows/build.bash | 2 +- 1397 1 file changed, 1 insertion(+), 1 deletion(-) 1398 1399commit cbafa710918195dbba3db02c3fab4f0538235206 1400Author: Lasse Collin <lasse.collin@tukaani.org> 1401Date: 2014-12-21 18:58:44 +0200 1402 1403 Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c. 1404 1405 doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++---- 1406 1 file changed, 26 insertions(+), 4 deletions(-) 1407 1408commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a 1409Author: Lasse Collin <lasse.collin@tukaani.org> 1410Date: 2014-12-21 18:56:44 +0200 1411 1412 Docs: Update docs/examples/00_README.txt. 1413 1414 doc/examples/00_README.txt | 4 ++++ 1415 1 file changed, 4 insertions(+) 1416 1417commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6 1418Author: Lasse Collin <lasse.collin@tukaani.org> 1419Date: 2014-12-21 18:11:17 +0200 1420 1421 Bump version and soname for 5.2.0. 1422 1423 I know that soname != app version, but I skip AGE=1 1424 in -version-info to make the soname match the liblzma 1425 version anyway. It doesn't hurt anything as long as 1426 it doesn't conflict with library versioning rules. 1427 1428 src/liblzma/Makefile.am | 2 +- 1429 src/liblzma/api/lzma/version.h | 6 +++--- 1430 src/liblzma/liblzma.map | 2 +- 1431 3 files changed, 5 insertions(+), 5 deletions(-) 1432 1433commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da 1434Author: Lasse Collin <lasse.collin@tukaani.org> 1435Date: 2014-12-21 18:05:03 +0200 1436 1437 Avoid variable-length arrays in the debug programs. 1438 1439 debug/full_flush.c | 3 ++- 1440 debug/sync_flush.c | 3 ++- 1441 2 files changed, 4 insertions(+), 2 deletions(-) 1442 1443commit 72f7307cfdceb941aeb2bf30d424cc0d13621786 1444Author: Lasse Collin <lasse.collin@tukaani.org> 1445Date: 2014-12-21 18:01:45 +0200 1446 1447 Build: Include 04_compress_easy_mt.c in the tarball. 1448 1449 Makefile.am | 1 + 1450 1 file changed, 1 insertion(+) 1451 1452commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0 1453Author: Lasse Collin <lasse.collin@tukaani.org> 1454Date: 2014-12-21 18:00:38 +0200 1455 1456 Fix build when --disable-threads is used. 1457 1458 src/common/mythread.h | 2 ++ 1459 1 file changed, 2 insertions(+) 1460 1461commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17 1462Author: Adrien Nader <adrien@notk.org> 1463Date: 2014-12-21 15:56:15 +0100 1464 1465 po/fr: improve wording for help for --lzma1/--lzma2. 1466 1467 po/fr.po | 2 +- 1468 1 file changed, 1 insertion(+), 1 deletion(-) 1469 1470commit a8b6b569e7fadbf5b5b9139d53bc764015c15027 1471Author: Adrien Nader <adrien@notk.org> 1472Date: 2014-12-21 15:55:48 +0100 1473 1474 po/fr: missing line in translation of --extreme. 1475 1476 po/fr.po | 1 + 1477 1 file changed, 1 insertion(+) 1478 1479commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9 1480Author: Lasse Collin <lasse.collin@tukaani.org> 1481Date: 2014-12-21 14:32:33 +0200 1482 1483 Update NEWS for 5.2.0. 1484 1485 NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1486 1 file changed, 65 insertions(+) 1487 1488commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429 1489Author: Lasse Collin <lasse.collin@tukaani.org> 1490Date: 2014-12-21 14:32:22 +0200 1491 1492 Update NEWS for 5.0.8. 1493 1494 NEWS | 12 ++++++++++++ 1495 1 file changed, 12 insertions(+) 1496 1497commit 42e97a32649bf53ce43be2258b902a417c6e7fa1 1498Author: Lasse Collin <lasse.collin@tukaani.org> 1499Date: 2014-12-21 14:07:54 +0200 1500 1501 xz: Fix a comment. 1502 1503 src/xz/options.c | 4 ++-- 1504 1 file changed, 2 insertions(+), 2 deletions(-) 1505 1506commit 29b95d5d6665cedffa6a9d6d3d914f981e852182 1507Author: Lasse Collin <lasse.collin@tukaani.org> 1508Date: 2014-12-20 20:43:14 +0200 1509 1510 Update INSTALL about the dependencies of the scripts. 1511 1512 INSTALL | 15 ++++++++++----- 1513 1 file changed, 10 insertions(+), 5 deletions(-) 1514 1515commit 3af91040bb42c21afbb81f5568c3313125e61192 1516Author: Lasse Collin <lasse.collin@tukaani.org> 1517Date: 2014-12-20 20:42:33 +0200 1518 1519 Windows: Update build instructions. 1520 1521 INSTALL | 15 +++++++++------ 1522 windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++----------------------- 1523 2 files changed, 30 insertions(+), 29 deletions(-) 1524 1525commit 0152f72bf6289d744823dc6c849538f3a139ad70 1526Author: Lasse Collin <lasse.collin@tukaani.org> 1527Date: 2014-12-20 20:41:48 +0200 1528 1529 Windows: Update the build script and README-Windows.txt. 1530 1531 The 32-bit build is now for i686 or newer because the 1532 prebuilt MinGW-w64 toolchains include i686 code in the 1533 executables even if one uses -march=i486. 1534 1535 The build script builds 32-bit SSE2 enabled version too. 1536 Run-time detection of SSE2 support would be nice (on any OS) 1537 but it's not implemented in XZ Utils yet. 1538 1539 windows/README-Windows.txt | 30 ++++++++++++++++-------------- 1540 windows/build.bash | 23 ++++++++++++++--------- 1541 2 files changed, 30 insertions(+), 23 deletions(-) 1542 1543commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a 1544Author: Lasse Collin <lasse.collin@tukaani.org> 1545Date: 2014-12-19 15:51:50 +0200 1546 1547 Windows: Define TUKLIB_SYMBOL_PREFIX in config.h. 1548 1549 It is to keep all symbols in the lzma_ namespace. 1550 1551 windows/config.h | 3 +++ 1552 1 file changed, 3 insertions(+) 1553 1554commit 7f7d093de79eee0c7dbfd7433647e46302f19f82 1555Author: Lasse Collin <lasse.collin@tukaani.org> 1556Date: 2014-12-16 21:00:09 +0200 1557 1558 xz: Update the man page about --threads. 1559 1560 src/xz/xz.1 | 5 ----- 1561 1 file changed, 5 deletions(-) 1562 1563commit 009823448b82aa5f465668878a544c5842885407 1564Author: Lasse Collin <lasse.collin@tukaani.org> 1565Date: 2014-12-16 20:57:43 +0200 1566 1567 xz: Update the man page about --block-size. 1568 1569 src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++-------- 1570 1 file changed, 33 insertions(+), 8 deletions(-) 1571 1572commit 7dddfbeb499e528940bc12047355c184644aafe9 1573Author: Adrien Nader <adrien@notk.org> 1574Date: 2014-12-10 22:26:57 +0100 1575 1576 po/fr: several more translation updates: reword and handle --ignore-check. 1577 1578 po/fr.po | 50 ++++++++++++++++++++++++++------------------------ 1579 1 file changed, 26 insertions(+), 24 deletions(-) 1580 1581commit 6eca5be40e04ddc4b738d493e4e56835956d8b69 1582Author: Adrien Nader <adrien@notk.org> 1583Date: 2014-12-10 22:23:01 +0100 1584 1585 po/fr: yet another place where my email address had to be updated. 1586 1587 po/fr.po | 2 +- 1588 1 file changed, 1 insertion(+), 1 deletion(-) 1589 1590commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7 1591Author: Adrien Nader <adrien@notk.org> 1592Date: 2014-12-10 22:22:20 +0100 1593 1594 po/fr: fix several typos that have been around since the beginning. 1595 1596 po/fr.po | 22 +++++++++++----------- 1597 1 file changed, 11 insertions(+), 11 deletions(-) 1598 1599commit 4c5aa911a0df027e46171e368debc543d2fa72b2 1600Author: Adrien Nader <adrien@notk.org> 1601Date: 2014-12-03 20:02:31 +0100 1602 1603 po/fr: last batch of new translations for now. 1604 1605 Four new error messages. 1606 1607 po/fr.po | 16 ++++++++-------- 1608 1 file changed, 8 insertions(+), 8 deletions(-) 1609 1610commit 3e3099e36d27059499e7996fb38a62e8ab01d356 1611Author: Adrien Nader <adrien@notk.org> 1612Date: 2014-12-03 20:01:32 +0100 1613 1614 po/fr: translations for --threads, --block-size and --block-list. 1615 1616 po/fr.po | 12 ++++++++---- 1617 1 file changed, 8 insertions(+), 4 deletions(-) 1618 1619commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53 1620Author: Adrien Nader <adrien@notk.org> 1621Date: 2014-12-03 20:00:53 +0100 1622 1623 po/fr: remove fuzzy marker for error messages that will be kept in English. 1624 1625 The following is a copy of a comment inside fr.po: 1626 1627 Note from translator on "file status flags". 1628 The following entry is kept un-translated on purpose. It is difficult to 1629 translate and should only happen in exceptional circumstances which means 1630 that translating would: 1631 - lose some of the meaning 1632 - make it more difficult to look up in search engines; it might happen one 1633 in 1634 a million times, if we dilute the error message in 20 languages, it will be 1635 almost impossible to find an explanation and support for the error. 1636 1637 po/fr.po | 22 ++++++++++++++++------ 1638 1 file changed, 16 insertions(+), 6 deletions(-) 1639 1640commit 46cbb9033af8a21fafe543302d6919746e0d72af 1641Author: Adrien Nader <adrien@notk.org> 1642Date: 2014-12-03 19:58:25 +0100 1643 1644 po/fr: several minor updates and better wording. 1645 1646 Meaning doesn't change at all: it's only for better wording and/or 1647 formatting of a few strings. 1648 1649 po/fr.po | 14 +++++++------- 1650 1 file changed, 7 insertions(+), 7 deletions(-) 1651 1652commit 7ce49d444f04e73145f79c832eb4d510594b074a 1653Author: Adrien Nader <adrien@notk.org> 1654Date: 2014-12-03 19:56:12 +0100 1655 1656 po/fr: update my email address and copyright years. 1657 1658 po/fr.po | 4 ++-- 1659 1 file changed, 2 insertions(+), 2 deletions(-) 1660 1661commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c 1662Author: Adrien Nader <adrien@notk.org> 1663Date: 2014-11-26 10:08:26 +0100 1664 1665 fr.po: commit file after only "update-po" so actual is readable. 1666 1667 po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++----------------------- 1668 1 file changed, 199 insertions(+), 112 deletions(-) 1669 1670commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b 1671Author: Lasse Collin <lasse.collin@tukaani.org> 1672Date: 2014-12-02 20:04:07 +0200 1673 1674 liblzma: Document how lzma_mt.block_size affects memory usage. 1675 1676 src/liblzma/api/lzma/container.h | 4 ++++ 1677 1 file changed, 4 insertions(+) 1678 1679commit e4fc1d2f9571fba79ce383595be2ea2a9257def0 1680Author: Lasse Collin <lasse.collin@tukaani.org> 1681Date: 2014-11-28 20:07:18 +0200 1682 1683 Update INSTALL about a "make check" failure in test_scripts.sh. 1684 1685 INSTALL | 24 +++++++++++++++++------- 1686 1 file changed, 17 insertions(+), 7 deletions(-) 1687 1688commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe 1689Author: Lasse Collin <lasse.collin@tukaani.org> 1690Date: 2014-11-26 20:12:27 +0200 1691 1692 Remove LZMA_UNSTABLE macro. 1693 1694 src/liblzma/api/lzma/container.h | 4 ---- 1695 src/liblzma/common/common.h | 2 -- 1696 src/xz/private.h | 1 - 1697 3 files changed, 7 deletions(-) 1698 1699commit 6d9c0ce9f2677b159e32b224aba5b535b304a705 1700Author: Lasse Collin <lasse.collin@tukaani.org> 1701Date: 2014-11-26 20:10:33 +0200 1702 1703 liblzma: Update lzma_stream_encoder_mt() API docs. 1704 1705 src/liblzma/api/lzma/container.h | 5 +++-- 1706 1 file changed, 3 insertions(+), 2 deletions(-) 1707 1708commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3 1709Author: Lasse Collin <lasse.collin@tukaani.org> 1710Date: 2014-11-25 12:32:05 +0200 1711 1712 liblzma: Verify the filter chain in threaded encoder initialization. 1713 1714 This way an invalid filter chain is detected at the Stream 1715 encoder initialization instead of delaying it to the first 1716 call to lzma_code() which triggers the initialization of 1717 the actual filter encoder(s). 1718 1719 src/liblzma/common/stream_encoder_mt.c | 9 ++++++--- 1720 1 file changed, 6 insertions(+), 3 deletions(-) 1721 1722commit 107a263d5bb63cd3593fd6a5c938706539f84523 1723Author: Lasse Collin <lasse.collin@tukaani.org> 1724Date: 2014-11-17 19:11:49 +0200 1725 1726 Build: Update m4/ax_pthread.m4 from Autoconf Archive. 1727 1728 m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++------------------- 1729 1 file changed, 47 insertions(+), 24 deletions(-) 1730 1731commit b13a781833399ff5726cfc997f3cb2f0acbdbf31 1732Author: Lasse Collin <lasse.collin@tukaani.org> 1733Date: 2014-11-17 18:52:21 +0200 1734 1735 Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING. 1736 1737 configure.ac | 36 ++++++++++++++++++------------------ 1738 m4/tuklib_integer.m4 | 2 +- 1739 2 files changed, 19 insertions(+), 19 deletions(-) 1740 1741commit 542cac122ed3550148a2af0033af22b757491378 1742Author: Lasse Collin <lasse.collin@tukaani.org> 1743Date: 2014-11-17 18:43:19 +0200 1744 1745 Build: Fix Autoconf warnings about escaped backquotes. 1746 1747 Thanks to Daniel Richard G. for pointing out that it's 1748 good to sometimes run autoreconf -fi with -Wall. 1749 1750 configure.ac | 7 +++---- 1751 1 file changed, 3 insertions(+), 4 deletions(-) 1752 1753commit 7b03a15cea8cd4f19ed680b51c4bcbae3ce4142f 1754Author: Lasse Collin <lasse.collin@tukaani.org> 1755Date: 2014-11-10 18:54:40 +0200 1756 1757 xzdiff: Use mkdir if mktemp isn't available. 1758 1759 src/scripts/xzdiff.in | 17 ++++++++++++++++- 1760 1 file changed, 16 insertions(+), 1 deletion(-) 1761 1762commit f8c13e5e3609581d5dd9f8777985ca07f2390ad7 1763Author: Lasse Collin <lasse.collin@tukaani.org> 1764Date: 2014-11-10 18:45:01 +0200 1765 1766 xzdiff: Create a temporary directory to hold a temporary file. 1767 1768 This avoids the possibility of "File name too long" when 1769 creating a temp file when the input file name is very long. 1770 1771 This also means that other users on the system can no longer 1772 see the input file names in /tmp (or whatever $TMPDIR is) 1773 since the temporary directory will have a generic name. This 1774 usually doesn't matter since on many systems one can see 1775 the arguments given to all processes anyway. 1776 1777 The number X chars to mktemp where increased from 6 to 10. 1778 1779 Note that with some shells temp files or dirs won't be used at all. 1780 1781 src/scripts/xzdiff.in | 10 +++++----- 1782 1 file changed, 5 insertions(+), 5 deletions(-) 1783 1784commit 7716dcf9df7f457500cb657314e7a9aea5fedb06 1785Author: Lasse Collin <lasse.collin@tukaani.org> 1786Date: 2014-11-10 15:38:47 +0200 1787 1788 liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage(). 1789 1790 It read the filter chain from a wrong variable. This is a similar 1791 bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e. 1792 1793 src/liblzma/common/stream_encoder_mt.c | 3 +-- 1794 1 file changed, 1 insertion(+), 2 deletions(-) 1795 1796commit 230fa4a605542c84b4178a57381695a0af4e779b 1797Author: Lasse Collin <lasse.collin@tukaani.org> 1798Date: 2014-11-10 14:49:55 +0200 1799 1800 Update THANKS. 1801 1802 THANKS | 1 + 1803 1 file changed, 1 insertion(+) 1804 1805commit 4e4ae08bc7c1711e399c9f2d26eb375d39d08101 1806Author: Lasse Collin <lasse.collin@tukaani.org> 1807Date: 2014-10-29 21:28:25 +0200 1808 1809 Update .gitignore files. 1810 1811 .gitignore | 2 ++ 1812 m4/.gitignore | 3 +++ 1813 2 files changed, 5 insertions(+) 1814 1815commit c923b140b27d1a055db6284e10fd546ad1a7fcdb 1816Author: Lasse Collin <lasse.collin@tukaani.org> 1817Date: 2014-10-29 21:15:35 +0200 1818 1819 Build: Prepare to support Automake's subdir-objects. 1820 1821 Due to a bug in Automake, subdir-objects won't be enabled 1822 for now. 1823 1824 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354 1825 1826 Thanks to Daniel Richard G. for the original patches. 1827 1828 configure.ac | 7 ++++++- 1829 src/Makefile.am | 22 +++++++++++++++++++++- 1830 src/liblzma/Makefile.am | 4 ++-- 1831 src/lzmainfo/Makefile.am | 4 ++-- 1832 src/xz/Makefile.am | 10 +++++----- 1833 src/xzdec/Makefile.am | 8 ++++---- 1834 6 files changed, 40 insertions(+), 15 deletions(-) 1835 1836commit 08c2aa16bea0df82828f665d51fba2e0a5e8997f 1837Author: Lasse Collin <lasse.collin@tukaani.org> 1838Date: 2014-10-24 20:09:29 +0300 1839 1840 Translations: Update the Italian translation. 1841 1842 Thanks to Milo Casagrande. 1843 1844 po/it.po | 452 ++++++++++++++++++++++++++++++++++++++------------------------- 1845 1 file changed, 275 insertions(+), 177 deletions(-) 1846 1847commit 2f9f61aa83539c54ff6c118a2693890f0519b3dd 1848Author: Lasse Collin <lasse.collin@tukaani.org> 1849Date: 2014-10-18 18:51:45 +0300 1850 1851 Translations: Update the Polish translation. 1852 1853 Thanks to Jakub Bogusz. 1854 1855 po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++----------------------- 1856 1 file changed, 214 insertions(+), 118 deletions(-) 1857 1858commit 4f9d233f67aea25e532824d11b7642cf7dee7a76 1859Author: Andre Noll <maan@tuebingen.mpg.de> 1860Date: 2014-10-14 17:30:30 +0200 1861 1862 l10n: de.po: Change translator email address. 1863 1864 Although the old address is still working, the new one should 1865 be preferred. So this commit changes all three places in de.po 1866 accordingly. 1867 1868 Signed-off-by: Andre Noll <maan@tuebingen.mpg.de> 1869 1870 po/de.po | 6 +++--- 1871 1 file changed, 3 insertions(+), 3 deletions(-) 1872 1873commit 00502b2bedad43f0cc167ac17ae0608837ee196b 1874Author: Andre Noll <maan@tuebingen.mpg.de> 1875Date: 2014-10-14 17:30:29 +0200 1876 1877 l10n: de.po: Update German translation 1878 1879 Signed-off-by: Andre Noll <maan@systemlinux.org> 1880 1881 po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------ 1882 1 file changed, 281 insertions(+), 250 deletions(-) 1883 1884commit 706b0496753fb609e69f1570ec603f11162189d1 1885Author: Andre Noll <maan@tuebingen.mpg.de> 1886Date: 2014-10-14 17:30:28 +0200 1887 1888 l10n: de.po: Fix typo: Schießen -> Schließen. 1889 1890 That's a funny one since "schießen" means to shoot :) 1891 1892 Signed-off-by: Andre Noll <maan@systemlinux.org> 1893 1894 po/de.po | 2 +- 1895 1 file changed, 1 insertion(+), 1 deletion(-) 1896 1897commit 7c32e6a935c3d7ee366abad1679bd5f322f0c7d4 1898Author: Lasse Collin <lasse.collin@tukaani.org> 1899Date: 2014-10-09 19:42:26 +0300 1900 1901 Update THANKS. 1902 1903 THANKS | 1 + 1904 1 file changed, 1 insertion(+) 1905 1906commit 076258cc458f1e705041ac7a729b15ffe8c5214a 1907Author: Lasse Collin <lasse.collin@tukaani.org> 1908Date: 2014-10-09 19:41:51 +0300 1909 1910 Add support for AmigaOS/AROS to tuklib_physmem(). 1911 1912 Thanks to Fredrik Wikstrom. 1913 1914 m4/tuklib_physmem.m4 | 3 ++- 1915 src/common/tuklib_physmem.c | 7 +++++++ 1916 2 files changed, 9 insertions(+), 1 deletion(-) 1917 1918commit efa7b0a210e1baa8e128fc98c5443a944c39ad24 1919Author: Lasse Collin <lasse.collin@tukaani.org> 1920Date: 2014-10-09 18:42:14 +0300 1921 1922 xzgrep: Avoid passing both -q and -l to grep. 1923 1924 The behavior of grep -ql varies: 1925 - GNU grep behaves like grep -q. 1926 - OpenBSD grep behaves like grep -l. 1927 1928 POSIX doesn't make it 100 % clear what behavior is expected. 1929 Anyway, using both -q and -l at the same time makes no sense 1930 so both options simply should never be used at the same time. 1931 1932 Thanks to Christian Weisgerber. 1933 1934 src/scripts/xzgrep.in | 6 ++++-- 1935 1 file changed, 4 insertions(+), 2 deletions(-) 1936 1937commit 9c5f76098c9986b48d2fc574a0b764f4cde0c538 1938Author: Trần Ngọc Quân <vnwildman@gmail.com> 1939Date: 2014-09-25 09:22:45 +0700 1940 1941 l10n: vi.po: Update Vietnamese translation 1942 1943 Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com> 1944 1945 po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------ 1946 1 file changed, 84 insertions(+), 52 deletions(-) 1947 1948commit c4911f2db36d811896c73c008b4218d8fa9a4730 1949Author: Lasse Collin <lasse.collin@tukaani.org> 1950Date: 2014-09-25 18:38:48 +0300 1951 1952 Build: Detect supported compiler warning flags better. 1953 1954 Clang and nowadays also GCC accept any -Wfoobar option 1955 but then may give a warning that an unknown warning option 1956 was specified. To avoid adding unsupported warning options, 1957 the options are now tested with -Werror. 1958 1959 Thanks to Charles Diza. 1960 1961 configure.ac | 5 +++-- 1962 1 file changed, 3 insertions(+), 2 deletions(-) 1963 1964commit 76e75522ed6f5c228d55587dee5a997893f6e474 1965Author: Lasse Collin <lasse.collin@tukaani.org> 1966Date: 2014-09-20 21:01:21 +0300 1967 1968 Update NEWS for 5.0.7. 1969 1970 NEWS | 11 +++++++++++ 1971 1 file changed, 11 insertions(+) 1972 1973commit d62028b4c1174fc67b6929f126f5eb24c018c700 1974Author: Lasse Collin <lasse.collin@tukaani.org> 1975Date: 2014-09-20 19:42:56 +0300 1976 1977 liblzma: Fix a portability problem in Makefile.am. 1978 1979 POSIX supports $< only in inference rules (suffix rules). 1980 Using it elsewhere is a GNU make extension and doesn't 1981 work e.g. with OpenBSD make. 1982 1983 Thanks to Christian Weisgerber for the patch. 1984 1985 src/liblzma/Makefile.am | 2 +- 1986 1 file changed, 1 insertion(+), 1 deletion(-) 1987 1988commit c35de31d4283edad3e57d37ffe939406542cb7bb 1989Author: Lasse Collin <lasse.collin@tukaani.org> 1990Date: 2014-09-14 21:54:09 +0300 1991 1992 Bump the version number to 5.1.4beta. 1993 1994 src/liblzma/api/lzma/version.h | 4 ++-- 1995 src/liblzma/liblzma.map | 2 +- 1996 2 files changed, 3 insertions(+), 3 deletions(-) 1997 1998commit e9e097e22cacdaa23e5414fea7913535449cb340 1999Author: Lasse Collin <lasse.collin@tukaani.org> 2000Date: 2014-09-14 21:50:13 +0300 2001 2002 Update NEWS for 5.0.6 and 5.1.4beta. 2003 2004 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2005 1 file changed, 50 insertions(+) 2006 2007commit 642f856bb8562ab66704b1e01ac7bc08b6d0a663 2008Author: Lasse Collin <lasse.collin@tukaani.org> 2009Date: 2014-09-14 21:02:41 +0300 2010 2011 Update TODO. 2012 2013 TODO | 38 ++++++++++++++++++++++++++++++++++---- 2014 1 file changed, 34 insertions(+), 4 deletions(-) 2015 2016commit 6b5e3b9eff5b8cedb2aac5f524d4d60fc8a48124 2017Author: Lasse Collin <lasse.collin@tukaani.org> 2018Date: 2014-08-05 22:32:36 +0300 2019 2020 xz: Add --ignore-check. 2021 2022 src/xz/args.c | 7 +++++++ 2023 src/xz/args.h | 1 + 2024 src/xz/coder.c | 10 +++++++++- 2025 src/xz/message.c | 2 ++ 2026 src/xz/xz.1 | 19 +++++++++++++++++++ 2027 5 files changed, 38 insertions(+), 1 deletion(-) 2028 2029commit 9adbc2ff373f979c917cdfd3679ce0ebd59f1040 2030Author: Lasse Collin <lasse.collin@tukaani.org> 2031Date: 2014-08-05 22:15:07 +0300 2032 2033 liblzma: Add support for LZMA_IGNORE_CHECK. 2034 2035 src/liblzma/api/lzma/container.h | 24 ++++++++++++++++++++++++ 2036 src/liblzma/common/common.h | 1 + 2037 src/liblzma/common/stream_decoder.c | 14 ++++++++++++-- 2038 3 files changed, 37 insertions(+), 2 deletions(-) 2039 2040commit 0e0f34b8e4f1c60ecaec15c2105982381cc9c3e6 2041Author: Lasse Collin <lasse.collin@tukaani.org> 2042Date: 2014-08-05 22:03:30 +0300 2043 2044 liblzma: Add support for lzma_block.ignore_check. 2045 2046 Note that this slightly changes how lzma_block_header_decode() 2047 has been documented. Earlier it said that the .version is set 2048 to the lowest required value, but now it says that the .version 2049 field is kept unchanged if possible. In practice this doesn't 2050 affect any old code, because before this commit the only 2051 possible .version was 0. 2052 2053 src/liblzma/api/lzma/block.h | 50 ++++++++++++++++++++++++------- 2054 src/liblzma/common/block_buffer_encoder.c | 2 +- 2055 src/liblzma/common/block_decoder.c | 18 ++++++++--- 2056 src/liblzma/common/block_encoder.c | 2 +- 2057 src/liblzma/common/block_header_decoder.c | 12 ++++++-- 2058 src/liblzma/common/block_header_encoder.c | 2 +- 2059 src/liblzma/common/block_util.c | 2 +- 2060 7 files changed, 68 insertions(+), 20 deletions(-) 2061 2062commit 71e1437ab585b46f7a25f5a131557d3d1c0cbaa2 2063Author: Lasse Collin <lasse.collin@tukaani.org> 2064Date: 2014-08-04 19:25:58 +0300 2065 2066 liblzma: Use lzma_memcmplen() in the BT3 match finder. 2067 2068 I had missed this when writing the commit 2069 5db75054e900fa06ef5ade5f2c21dffdd5d16141. 2070 2071 Thanks to Jun I Jin. 2072 2073 src/liblzma/lz/lz_encoder_mf.c | 5 ++--- 2074 1 file changed, 2 insertions(+), 3 deletions(-) 2075 2076commit 41dc9ea06e1414ebe8ef52afc8fc15b6e3282b04 2077Author: Lasse Collin <lasse.collin@tukaani.org> 2078Date: 2014-08-04 00:25:44 +0300 2079 2080 Update THANKS. 2081 2082 THANKS | 1 + 2083 1 file changed, 1 insertion(+) 2084 2085commit 5dcffdbcc23a68abc3ac3539b30be71bc9b5af84 2086Author: Lasse Collin <lasse.collin@tukaani.org> 2087Date: 2014-08-03 21:32:25 +0300 2088 2089 liblzma: SHA-256: Optimize the Maj macro slightly. 2090 2091 The Maj macro is used where multiple things are added 2092 together, so making Maj a sum of two expressions allows 2093 some extra freedom for the compiler to schedule the 2094 instructions. 2095 2096 I learned this trick from 2097 <http://www.hackersdelight.org/corres.txt>. 2098 2099 src/liblzma/check/sha256.c | 2 +- 2100 1 file changed, 1 insertion(+), 1 deletion(-) 2101 2102commit a9477d1e0c6fd0e47e637d051e7b9e2a5d9af517 2103Author: Lasse Collin <lasse.collin@tukaani.org> 2104Date: 2014-08-03 21:08:12 +0300 2105 2106 liblzma: SHA-256: Optimize the way rotations are done. 2107 2108 This looks weird because the rotations become sequential, 2109 but it helps quite a bit on both 32-bit and 64-bit x86: 2110 2111 - It requires fewer instructions on two-operand 2112 instruction sets like x86. 2113 2114 - It requires one register less which matters especially 2115 on 32-bit x86. 2116 2117 I hope this doesn't hurt other archs. 2118 2119 I didn't invent this idea myself, but I don't remember where 2120 I saw it first. 2121 2122 src/liblzma/check/sha256.c | 17 +++++++++++------ 2123 1 file changed, 11 insertions(+), 6 deletions(-) 2124 2125commit 5a76c7c8ee9a0afbeedb1c211db9224260404347 2126Author: Lasse Collin <lasse.collin@tukaani.org> 2127Date: 2014-08-03 20:38:13 +0300 2128 2129 liblzma: SHA-256: Remove the GCC #pragma that became unneeded. 2130 2131 The unrolling in the previous commit should avoid the 2132 situation where a compiler may think that an uninitialized 2133 variable might be accessed. 2134 2135 src/liblzma/check/sha256.c | 5 ----- 2136 1 file changed, 5 deletions(-) 2137 2138commit 9a096f8e57509775c331950b8351bbca77bdcfa8 2139Author: Lasse Collin <lasse.collin@tukaani.org> 2140Date: 2014-08-03 20:33:38 +0300 2141 2142 liblzma: SHA-256: Unroll a little more. 2143 2144 This way a branch isn't needed for each operation 2145 to choose between blk0 and blk2, and still the code 2146 doesn't grow as much as it would with full unrolling. 2147 2148 src/liblzma/check/sha256.c | 25 ++++++++++++++++--------- 2149 1 file changed, 16 insertions(+), 9 deletions(-) 2150 2151commit bc7650d87bf27f85f1a2a806dc2db1780e09e6a5 2152Author: Lasse Collin <lasse.collin@tukaani.org> 2153Date: 2014-08-03 19:56:43 +0300 2154 2155 liblzma: SHA-256: Do the byteswapping without a temporary buffer. 2156 2157 src/liblzma/check/sha256.c | 13 +------------ 2158 1 file changed, 1 insertion(+), 12 deletions(-) 2159 2160commit 544aaa3d13554e8640f9caf7db717a96360ec0f6 2161Author: Lasse Collin <lasse.collin@tukaani.org> 2162Date: 2014-07-25 22:38:28 +0300 2163 2164 liblzma: Use lzma_memcmplen() in normal mode of LZMA. 2165 2166 Two locations were not changed yet because the simplest change 2167 assumes that the initial "len" may be greater than "limit". 2168 2169 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++--------------- 2170 1 file changed, 5 insertions(+), 15 deletions(-) 2171 2172commit f48fce093b07aeda95c18850f5e086d9f2383380 2173Author: Lasse Collin <lasse.collin@tukaani.org> 2174Date: 2014-07-25 22:30:38 +0300 2175 2176 liblzma: Simplify LZMA fast mode code by using memcmp(). 2177 2178 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +---------- 2179 1 file changed, 1 insertion(+), 10 deletions(-) 2180 2181commit 6bf5308e34e23dede5b301b1b9b4f131dacd9218 2182Author: Lasse Collin <lasse.collin@tukaani.org> 2183Date: 2014-07-25 22:29:49 +0300 2184 2185 liblzma: Use lzma_memcmplen() in fast mode of LZMA. 2186 2187 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++--- 2188 1 file changed, 3 insertions(+), 3 deletions(-) 2189 2190commit 353212137e51e45b105a3a3fc2e6879f1cf0d492 2191Author: Lasse Collin <lasse.collin@tukaani.org> 2192Date: 2014-07-25 21:16:23 +0300 2193 2194 Update THANKS. 2195 2196 THANKS | 1 + 2197 1 file changed, 1 insertion(+) 2198 2199commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141 2200Author: Lasse Collin <lasse.collin@tukaani.org> 2201Date: 2014-07-25 21:15:07 +0300 2202 2203 liblzma: Use lzma_memcmplen() in the match finders. 2204 2205 This doesn't change the match finder output. 2206 2207 src/liblzma/lz/lz_encoder.c | 13 ++++++++++++- 2208 src/liblzma/lz/lz_encoder_mf.c | 33 +++++++++++---------------------- 2209 2 files changed, 23 insertions(+), 23 deletions(-) 2210 2211commit e1c8f1d01f4a4e2136173edab2dc63c71ef038f4 2212Author: Lasse Collin <lasse.collin@tukaani.org> 2213Date: 2014-07-25 20:57:20 +0300 2214 2215 liblzma: Add lzma_memcmplen() for fast memory comparison. 2216 2217 This commit just adds the function. Its uses will be in 2218 separate commits. 2219 2220 This hasn't been tested much yet and it's perhaps a bit early 2221 to commit it but if there are bugs they should get found quite 2222 quickly. 2223 2224 Thanks to Jun I Jin from Intel for help and for pointing out 2225 that string comparison needs to be optimized in liblzma. 2226 2227 configure.ac | 13 +++ 2228 src/liblzma/common/Makefile.inc | 1 + 2229 src/liblzma/common/memcmplen.h | 170 ++++++++++++++++++++++++++++++++++++++++ 2230 3 files changed, 184 insertions(+) 2231 2232commit 765735cf52e5123586e74a51b9c073b5257f631f 2233Author: Lasse Collin <lasse.collin@tukaani.org> 2234Date: 2014-07-12 21:10:09 +0300 2235 2236 Update THANKS. 2237 2238 THANKS | 1 + 2239 1 file changed, 1 insertion(+) 2240 2241commit 59da01785ef66c7e62f36e70ca808fd2824bb995 2242Author: Lasse Collin <lasse.collin@tukaani.org> 2243Date: 2014-07-12 20:06:08 +0300 2244 2245 Translations: Add Vietnamese translation. 2246 2247 Thanks to Trần Ngọc Quân. 2248 2249 po/LINGUAS | 1 + 2250 po/vi.po | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2251 2 files changed, 1008 insertions(+) 2252 2253commit 17215f751c354852700e7f8592ccf319570a0721 2254Author: Lasse Collin <lasse.collin@tukaani.org> 2255Date: 2014-06-29 20:54:14 +0300 2256 2257 xz: Update the help message of a few options. 2258 2259 Updated: --threads, --block-size, and --block-list 2260 Added: --flush-timeout 2261 2262 src/xz/message.c | 18 +++++++++++------- 2263 1 file changed, 11 insertions(+), 7 deletions(-) 2264 2265commit 96864a6ddf91ad693d102ea165f3d7918744d582 2266Author: Lasse Collin <lasse.collin@tukaani.org> 2267Date: 2014-06-18 22:07:06 +0300 2268 2269 xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores(). 2270 2271 src/xz/Makefile.am | 1 - 2272 src/xz/hardware.c | 12 +++++++++--- 2273 2 files changed, 9 insertions(+), 4 deletions(-) 2274 2275commit a115cc3748482e277f42a968baa3cd266f031dba 2276Author: Lasse Collin <lasse.collin@tukaani.org> 2277Date: 2014-06-18 22:04:24 +0300 2278 2279 liblzma: Add lzma_cputhreads(). 2280 2281 src/liblzma/Makefile.am | 8 +++++++- 2282 src/liblzma/api/lzma/hardware.h | 14 ++++++++++++++ 2283 src/liblzma/common/Makefile.inc | 1 + 2284 src/liblzma/common/hardware_cputhreads.c | 22 ++++++++++++++++++++++ 2285 src/liblzma/liblzma.map | 1 + 2286 5 files changed, 45 insertions(+), 1 deletion(-) 2287 2288commit 3ce3e7976904fbab4e6482bafa442856f77a51fa 2289Author: Lasse Collin <lasse.collin@tukaani.org> 2290Date: 2014-06-18 19:11:52 +0300 2291 2292 xz: Check for filter chain compatibility for --flush-timeout. 2293 2294 This avoids LZMA_PROG_ERROR from lzma_code() with filter chains 2295 that don't support LZMA_SYNC_FLUSH. 2296 2297 src/xz/coder.c | 30 +++++++++++++++++++++--------- 2298 1 file changed, 21 insertions(+), 9 deletions(-) 2299 2300commit 381ac14ed79e5d38809f251705be8b3193bba417 2301Author: Lasse Collin <lasse.collin@tukaani.org> 2302Date: 2014-06-13 19:21:54 +0300 2303 2304 xzgrep: List xzgrep_expected_output in tests/Makefile.am. 2305 2306 tests/Makefile.am | 3 ++- 2307 1 file changed, 2 insertions(+), 1 deletion(-) 2308 2309commit 4244b65b06d5ecaf6f9dd0387ac7e3166bd2364e 2310Author: Lasse Collin <lasse.collin@tukaani.org> 2311Date: 2014-06-13 18:58:22 +0300 2312 2313 xzgrep: Improve the test script. 2314 2315 Now it should be close to the functionality of the original 2316 version by Pavel Raiskup. 2317 2318 tests/Makefile.am | 3 ++- 2319 tests/test_scripts.sh | 24 ++++++++++++++---------- 2320 tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++ 2321 3 files changed, 55 insertions(+), 11 deletions(-) 2322 2323commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26 2324Author: Lasse Collin <lasse.collin@tukaani.org> 2325Date: 2014-06-11 21:03:25 +0300 2326 2327 xzgrep: Add a test for the previous fix. 2328 2329 This is a simplified version of Pavel Raiskup's 2330 original patch. 2331 2332 tests/test_scripts.sh | 26 ++++++++++++++++++++++---- 2333 1 file changed, 22 insertions(+), 4 deletions(-) 2334 2335commit ceca37901783988204caaf40dff4623d535cc789 2336Author: Lasse Collin <lasse.collin@tukaani.org> 2337Date: 2014-06-11 20:43:28 +0300 2338 2339 xzgrep: exit 0 when at least one file matches. 2340 2341 Mimic the original grep behavior and return exit_success when 2342 at least one xz compressed file matches given pattern. 2343 2344 Original bugreport: 2345 https://bugzilla.redhat.com/show_bug.cgi?id=1108085 2346 2347 Thanks to Pavel Raiskup for the patch. 2348 2349 src/scripts/xzgrep.in | 15 +++++++++++++-- 2350 1 file changed, 13 insertions(+), 2 deletions(-) 2351 2352commit 8c19216baccb92d011694590df8a1262da2e980c 2353Author: Lasse Collin <lasse.collin@tukaani.org> 2354Date: 2014-06-09 21:21:24 +0300 2355 2356 xz: Force single-threaded mode when --flush-timeout is used. 2357 2358 src/xz/coder.c | 11 +++++++++++ 2359 1 file changed, 11 insertions(+) 2360 2361commit 87f1a24810805187d7bbc8ac5512e7eec307ddf5 2362Author: Lasse Collin <lasse.collin@tukaani.org> 2363Date: 2014-05-25 22:05:39 +0300 2364 2365 Update THANKS. 2366 2367 THANKS | 1 + 2368 1 file changed, 1 insertion(+) 2369 2370commit da1718f266fcfc091e7bf08aae1bc986d0e6cc6b 2371Author: Lasse Collin <lasse.collin@tukaani.org> 2372Date: 2014-05-25 21:45:56 +0300 2373 2374 liblzma: Use lzma_alloc_zero() in LZ encoder initialization. 2375 2376 This avoids a memzero() call for a newly-allocated memory, 2377 which can be expensive when encoding small streams with 2378 an over-sized dictionary. 2379 2380 To avoid using lzma_alloc_zero() for memory that doesn't 2381 need to be zeroed, lzma_mf.son is now allocated separately, 2382 which requires handling it separately in normalize() too. 2383 2384 Thanks to Vincenzo Innocente for reporting the problem. 2385 2386 src/liblzma/lz/lz_encoder.c | 84 ++++++++++++++++++++++-------------------- 2387 src/liblzma/lz/lz_encoder.h | 2 +- 2388 src/liblzma/lz/lz_encoder_mf.c | 31 +++++++++------- 2389 3 files changed, 62 insertions(+), 55 deletions(-) 2390 2391commit 28af24e9cf2eb259997c85dce13d4c97b3daa47a 2392Author: Lasse Collin <lasse.collin@tukaani.org> 2393Date: 2014-05-25 19:25:57 +0300 2394 2395 liblzma: Add the internal function lzma_alloc_zero(). 2396 2397 src/liblzma/common/common.c | 21 +++++++++++++++++++++ 2398 src/liblzma/common/common.h | 6 ++++++ 2399 2 files changed, 27 insertions(+) 2400 2401commit ed9ac85822c490e34b68c259afa0b385d21d1c40 2402Author: Lasse Collin <lasse.collin@tukaani.org> 2403Date: 2014-05-08 18:03:09 +0300 2404 2405 xz: Fix uint64_t vs. size_t which broke 32-bit build. 2406 2407 Thanks to Christian Hesse. 2408 2409 src/xz/coder.c | 2 +- 2410 1 file changed, 1 insertion(+), 1 deletion(-) 2411 2412commit d716acdae3fa7996f9e68a7bac012e6d8d13dd02 2413Author: Lasse Collin <lasse.collin@tukaani.org> 2414Date: 2014-05-04 11:09:11 +0300 2415 2416 Docs: Update comments to refer to lzma/lzma12.h in example programs. 2417 2418 doc/examples/03_compress_custom.c | 6 +++--- 2419 1 file changed, 3 insertions(+), 3 deletions(-) 2420 2421commit 4d5b7b3fda31241ca86ed35e08e73f776ee916e0 2422Author: Lasse Collin <lasse.collin@tukaani.org> 2423Date: 2014-05-04 11:07:17 +0300 2424 2425 liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h. 2426 2427 It can be confusing that two header files have the same name. 2428 The public API file is still lzma.h. 2429 2430 src/liblzma/api/Makefile.am | 2 +- 2431 src/liblzma/api/lzma.h | 2 +- 2432 src/liblzma/api/lzma/{lzma.h => lzma12.h} | 2 +- 2433 3 files changed, 3 insertions(+), 3 deletions(-) 2434 2435commit 1555a9c5664afc7893a2b75e9970105437f01ef1 2436Author: Lasse Collin <lasse.collin@tukaani.org> 2437Date: 2014-04-25 17:53:42 +0300 2438 2439 Build: Fix the combination of --disable-xzdec --enable-lzmadec. 2440 2441 In this case "make install" could fail if the man page directory 2442 didn't already exist at the destination. If it did exist, a 2443 dangling symlink was created there. Now the link is omitted 2444 instead. This isn't the best fix but it's better than the old 2445 behavior. 2446 2447 src/xzdec/Makefile.am | 10 +++++++++- 2448 1 file changed, 9 insertions(+), 1 deletion(-) 2449 2450commit 56056571df3377eaa6ae6233b3ccc5d72e81d43d 2451Author: Lasse Collin <lasse.collin@tukaani.org> 2452Date: 2014-04-25 17:44:26 +0300 2453 2454 Build: Add --disable-doc to configure. 2455 2456 INSTALL | 6 ++++++ 2457 Makefile.am | 2 ++ 2458 configure.ac | 6 ++++++ 2459 3 files changed, 14 insertions(+) 2460 2461commit 6de61d8721097a6214810841aa85b08e303ac538 2462Author: Lasse Collin <lasse.collin@tukaani.org> 2463Date: 2014-04-24 18:06:24 +0300 2464 2465 Update INSTALL. 2466 2467 Add a note about failing "make check". The source of 2468 the problem should be fixed in libtool (if it really is 2469 a libtool bug and not mine) but I'm unable to spend time 2470 on that for now. Thanks to Nelson H. F. Beebe for reporting 2471 the issue. 2472 2473 Add a note about a possible need to run "ldconfig" after 2474 "make install". 2475 2476 INSTALL | 25 +++++++++++++++++++++++++ 2477 1 file changed, 25 insertions(+) 2478 2479commit 54df428799a8d853639b753d0e6784694d73eb3e 2480Author: Lasse Collin <lasse.collin@tukaani.org> 2481Date: 2014-04-09 17:26:10 +0300 2482 2483 xz: Rename a variable to avoid a namespace collision on Solaris. 2484 2485 I don't know the details but I have an impression that there's 2486 no problem in practice if using GCC since people have built xz 2487 with GCC (without patching xz), but renaming the variable cannot 2488 hurt either. 2489 2490 Thanks to Mark Ashley. 2491 2492 src/xz/signals.c | 12 +++++++----- 2493 1 file changed, 7 insertions(+), 5 deletions(-) 2494 2495commit 5876ca27daa1429676b1160007d9688266907f00 2496Author: Lasse Collin <lasse.collin@tukaani.org> 2497Date: 2014-01-29 20:19:41 +0200 2498 2499 Docs: Add example program for threaded encoding. 2500 2501 I didn't add -DLZMA_UNSTABLE to Makefile so one has to 2502 specify it manually as long as LZMA_UNSTABLE is needed. 2503 2504 doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++ 2505 doc/examples/Makefile | 3 +- 2506 2 files changed, 186 insertions(+), 1 deletion(-) 2507 2508commit 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e 2509Author: Lasse Collin <lasse.collin@tukaani.org> 2510Date: 2014-01-29 20:13:51 +0200 2511 2512 liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt(). 2513 2514 It read the filter chain from a wrong variable. 2515 2516 src/liblzma/common/stream_encoder_mt.c | 4 ++-- 2517 1 file changed, 2 insertions(+), 2 deletions(-) 2518 2519commit 673a4cb53de3a715685cb1b836da57a3c7dcd43c 2520Author: Lasse Collin <lasse.collin@tukaani.org> 2521Date: 2014-01-20 11:20:40 +0200 2522 2523 liblzma: Fix typo in a comment. 2524 2525 src/liblzma/api/lzma/block.h | 2 +- 2526 1 file changed, 1 insertion(+), 1 deletion(-) 2527 2528commit ad96a871a1470eb76d6233d3890ce9338047b7a3 2529Author: Lasse Collin <lasse.collin@tukaani.org> 2530Date: 2014-01-12 19:38:43 +0200 2531 2532 Windows: Add config.h for building liblzma with MSVC 2013. 2533 2534 This is for building liblzma. Building xz tool too requires 2535 a little more work. Maybe it will be supported, but for most 2536 MSVC users it's enough to be able to build liblzma. 2537 2538 C99 support in MSVC 2013 is almost usable which is a big 2539 improvement over earlier versions. It's "almost" because 2540 there's a dumb bug that breaks mixed declarations after 2541 an "if" statements unless the "if" statement uses braces: 2542 2543 https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug 2544 https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs 2545 2546 Hopefully it will get fixed. Then liblzma should be 2547 compilable with MSVC 2013 without patching. 2548 2549 windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2550 1 file changed, 139 insertions(+) 2551 2552commit 3d5c090872fab4212b57c290e8ed4d02c78c1737 2553Author: Lasse Collin <lasse.collin@tukaani.org> 2554Date: 2014-01-12 17:41:14 +0200 2555 2556 xz: Fix a comment. 2557 2558 src/xz/coder.c | 4 ++-- 2559 1 file changed, 2 insertions(+), 2 deletions(-) 2560 2561commit 69fd4e1c932c7975476a0143c86e45d81b60d3f9 2562Author: Lasse Collin <lasse.collin@tukaani.org> 2563Date: 2014-01-12 17:04:33 +0200 2564 2565 Windows: Add MSVC defines for inline and restrict keywords. 2566 2567 src/common/sysdefs.h | 10 ++++++++++ 2568 1 file changed, 10 insertions(+) 2569 2570commit a19d9e8575ee6647cd9154cf1f20203f1330485f 2571Author: Lasse Collin <lasse.collin@tukaani.org> 2572Date: 2014-01-12 16:44:52 +0200 2573 2574 liblzma: Avoid C99 compound literal arrays. 2575 2576 MSVC 2013 doesn't like them. Maybe they aren't so good 2577 for readability either since many aren't used to them. 2578 2579 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++--- 2580 1 file changed, 5 insertions(+), 3 deletions(-) 2581 2582commit e28528f1c867b2ed4ac91195ad08efb9bb8a6263 2583Author: Lasse Collin <lasse.collin@tukaani.org> 2584Date: 2014-01-12 12:50:30 +0200 2585 2586 liblzma: Remove a useless C99ism from sha256.c. 2587 2588 Unsurprisingly it makes no difference in compiled output. 2589 2590 src/liblzma/check/sha256.c | 2 +- 2591 1 file changed, 1 insertion(+), 1 deletion(-) 2592 2593commit 5ad1effc45adfb7dabc9a98e79736077e6b7e2d5 2594Author: Lasse Collin <lasse.collin@tukaani.org> 2595Date: 2014-01-12 12:17:08 +0200 2596 2597 xz: Fix use of wrong variable. 2598 2599 Since the only call to suffix_set() uses optarg 2600 as the argument, fixing this bug doesn't change 2601 the behavior of the program. 2602 2603 src/xz/suffix.c | 2 +- 2604 1 file changed, 1 insertion(+), 1 deletion(-) 2605 2606commit 3e62c68d75b5a3fdd46dbb34bb335d73289860d5 2607Author: Lasse Collin <lasse.collin@tukaani.org> 2608Date: 2014-01-12 12:11:36 +0200 2609 2610 Fix typos in comments. 2611 2612 src/common/mythread.h | 2 +- 2613 src/liblzma/check/crc32_fast.c | 2 +- 2614 2 files changed, 2 insertions(+), 2 deletions(-) 2615 2616commit e90ea601fb72867ec04adf456cbe4bf9520fd412 2617Author: Lasse Collin <lasse.collin@tukaani.org> 2618Date: 2013-11-26 18:20:16 +0200 2619 2620 Update THANKS. 2621 2622 THANKS | 1 + 2623 1 file changed, 1 insertion(+) 2624 2625commit b22e94d8d15764416354e04729382a7371ae2c30 2626Author: Lasse Collin <lasse.collin@tukaani.org> 2627Date: 2013-11-26 18:20:09 +0200 2628 2629 liblzma: Document the need for block->check for lzma_block_header_decode(). 2630 2631 Thanks to Tomer Chachamu. 2632 2633 src/liblzma/api/lzma/block.h | 3 +++ 2634 1 file changed, 3 insertions(+) 2635 2636commit d1cd8b1cb824b72421d1ee370e628024d2fcbec4 2637Author: Lasse Collin <lasse.collin@tukaani.org> 2638Date: 2013-11-12 16:38:57 +0200 2639 2640 xz: Update the man page about --block-size and --block-list. 2641 2642 src/xz/xz.1 | 24 +++++++++++++++--------- 2643 1 file changed, 15 insertions(+), 9 deletions(-) 2644 2645commit 76be7c612e6bcc38724488ccc3b8bcb1cfec9f0a 2646Author: Lasse Collin <lasse.collin@tukaani.org> 2647Date: 2013-11-12 16:30:53 +0200 2648 2649 Update THANKS. 2650 2651 THANKS | 1 + 2652 1 file changed, 1 insertion(+) 2653 2654commit dd750acbe2259d75444ef0f8da2d4bacc90d7afc 2655Author: Lasse Collin <lasse.collin@tukaani.org> 2656Date: 2013-11-12 16:29:48 +0200 2657 2658 xz: Make --block-list and --block-size work together in single-threaded. 2659 2660 Previously, --block-list and --block-size only worked together 2661 in threaded mode. Boundaries are specified by --block-list, but 2662 --block-size specifies the maximum size for a Block. Now this 2663 works in single-threaded mode too. 2664 2665 Thanks to James M Leddy for the original patch. 2666 2667 src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++---------- 2668 1 file changed, 75 insertions(+), 15 deletions(-) 2669 2670commit ae222fe9805d0161d022d75ba8485dab8bf6d7d5 2671Author: Lasse Collin <lasse.collin@tukaani.org> 2672Date: 2013-10-26 13:26:14 +0300 2673 2674 Bump the version number to 5.1.3alpha. 2675 2676 src/liblzma/api/lzma/version.h | 2 +- 2677 src/liblzma/liblzma.map | 2 +- 2678 2 files changed, 2 insertions(+), 2 deletions(-) 2679 2680commit 2193837a6a597cd3bf4e9ddf49421a5697d8e155 2681Author: Lasse Collin <lasse.collin@tukaani.org> 2682Date: 2013-10-26 13:25:02 +0300 2683 2684 Update NEWS for 5.1.3alpha. 2685 2686 NEWS | 35 +++++++++++++++++++++++++++++++++++ 2687 1 file changed, 35 insertions(+) 2688 2689commit ed48e75e2763876173aef8902da407a8eb28854b 2690Author: Lasse Collin <lasse.collin@tukaani.org> 2691Date: 2013-10-26 12:47:04 +0300 2692 2693 Update TODO. 2694 2695 TODO | 4 ---- 2696 1 file changed, 4 deletions(-) 2697 2698commit 841da0352d79a56a44796a4c39163429c9f039a3 2699Author: Lasse Collin <lasse.collin@tukaani.org> 2700Date: 2013-10-25 22:41:28 +0300 2701 2702 xz: Document behavior of --block-list with threads. 2703 2704 This needs to be updated before 5.2.0. 2705 2706 src/xz/xz.1 | 24 +++++++++++++++++++++--- 2707 1 file changed, 21 insertions(+), 3 deletions(-) 2708 2709commit 56feb8665b78c1032aabd53c619c62af51defe64 2710Author: Lasse Collin <lasse.collin@tukaani.org> 2711Date: 2013-10-22 20:03:12 +0300 2712 2713 xz: Document --flush-timeout=TIMEOUT on the man page. 2714 2715 src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++- 2716 1 file changed, 36 insertions(+), 1 deletion(-) 2717 2718commit ba413da1d5bb3324287cf3174922acd921165971 2719Author: Lasse Collin <lasse.collin@tukaani.org> 2720Date: 2013-10-22 19:51:55 +0300 2721 2722 xz: Take advantage of LZMA_FULL_BARRIER with --block-list. 2723 2724 Now if --block-list is used in threaded mode, the encoder 2725 won't need to flush at each Block boundary specified via 2726 --block-list. This improves performance a lot, making 2727 threading helpful with --block-list. 2728 2729 The flush timer was reset after LZMA_FULL_FLUSH but since 2730 LZMA_FULL_BARRIER doesn't flush, resetting the timer is 2731 no longer done. 2732 2733 src/xz/coder.c | 32 +++++++++++++++----------------- 2734 1 file changed, 15 insertions(+), 17 deletions(-) 2735 2736commit 0cd45fc2bc5537de287a0bc005e2d67467a92148 2737Author: Lasse Collin <lasse.collin@tukaani.org> 2738Date: 2013-10-02 20:05:23 +0300 2739 2740 liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder. 2741 2742 Now --block-list=SIZES works with in the threaded mode too, 2743 although the performance is still bad due to the use of 2744 LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER. 2745 2746 src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++---------- 2747 1 file changed, 39 insertions(+), 16 deletions(-) 2748 2749commit 97bb38712f414fabecca908af2e38a12570293fd 2750Author: Lasse Collin <lasse.collin@tukaani.org> 2751Date: 2013-10-02 12:55:11 +0300 2752 2753 liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder. 2754 2755 In the single-threaded encoder LZMA_FULL_BARRIER is simply 2756 an alias for LZMA_FULL_FLUSH. 2757 2758 src/liblzma/api/lzma/base.h | 37 ++++++++++++++++++++++++++++++------- 2759 src/liblzma/common/common.c | 17 +++++++++++++++-- 2760 src/liblzma/common/common.h | 7 ++++++- 2761 src/liblzma/common/stream_encoder.c | 4 +++- 2762 4 files changed, 54 insertions(+), 11 deletions(-) 2763 2764commit fef0c6b410c08e581c9178700a4e7599f0895ff9 2765Author: Lasse Collin <lasse.collin@tukaani.org> 2766Date: 2013-09-17 11:57:51 +0300 2767 2768 liblzma: Add block_buffer_encoder.h into Makefile.inc. 2769 2770 This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc. 2771 2772 src/liblzma/common/Makefile.inc | 1 + 2773 1 file changed, 1 insertion(+) 2774 2775commit 8083e03291b6d21c0f538163e187b4e8cd5594e4 2776Author: Lasse Collin <lasse.collin@tukaani.org> 2777Date: 2013-09-17 11:55:38 +0300 2778 2779 xz: Add a missing test for TUKLIB_DOSLIKE. 2780 2781 src/xz/file_io.c | 2 ++ 2782 1 file changed, 2 insertions(+) 2783 2784commit 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0 2785Author: Lasse Collin <lasse.collin@tukaani.org> 2786Date: 2013-09-17 11:52:28 +0300 2787 2788 Add native threading support on Windows. 2789 2790 Now liblzma only uses "mythread" functions and types 2791 which are defined in mythread.h matching the desired 2792 threading method. 2793 2794 Before Windows Vista, there is no direct equivalent to 2795 pthread condition variables. Since this package doesn't 2796 use pthread_cond_broadcast(), pre-Vista threading can 2797 still be kept quite simple. The pre-Vista code doesn't 2798 use anything that wasn't already available in Windows 95, 2799 so the binaries should run even on Windows 95 if someone 2800 happens to care. 2801 2802 INSTALL | 41 ++- 2803 configure.ac | 118 ++++++-- 2804 src/common/mythread.h | 513 ++++++++++++++++++++++++++------- 2805 src/liblzma/common/stream_encoder_mt.c | 83 +++--- 2806 src/xz/coder.c | 8 +- 2807 windows/README-Windows.txt | 2 +- 2808 windows/build.bash | 23 +- 2809 7 files changed, 573 insertions(+), 215 deletions(-) 2810 2811commit ae0ab74a88d5b9b15845f1d9a24ade4349a54f9f 2812Author: Lasse Collin <lasse.collin@tukaani.org> 2813Date: 2013-09-11 14:40:35 +0300 2814 2815 Build: Remove a comment about Automake 1.10 from configure.ac. 2816 2817 The previous commit supports silent rules and that requires 2818 Automake 1.11. 2819 2820 configure.ac | 2 -- 2821 1 file changed, 2 deletions(-) 2822 2823commit 72975df6c8c59aaf849138ab3606e8fb6970596a 2824Author: Lasse Collin <lasse.collin@tukaani.org> 2825Date: 2013-09-09 20:37:03 +0300 2826 2827 Build: Create liblzma.pc in a src/liblzma/Makefile.am. 2828 2829 Previously it was done in configure, but doing that goes 2830 against the Autoconf manual. Autoconf requires that it is 2831 possible to override e.g. prefix after running configure 2832 and that doesn't work correctly if liblzma.pc is created 2833 by configure. 2834 2835 A potential downside of this change is that now e.g. 2836 libdir in liblzma.pc is a standalone string instead of 2837 being defined via ${prefix}, so if one overrides prefix 2838 when running pkg-config the libdir won't get the new value. 2839 I don't know if this matters in practice. 2840 2841 Thanks to Vincent Torri. 2842 2843 configure.ac | 1 - 2844 src/liblzma/Makefile.am | 20 ++++++++++++++++++++ 2845 2 files changed, 20 insertions(+), 1 deletion(-) 2846 2847commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc 2848Author: Lasse Collin <lasse.collin@tukaani.org> 2849Date: 2013-08-04 15:24:09 +0300 2850 2851 Fix the previous commit which broke the build. 2852 2853 Apparently I didn't even compile-test the previous commit. 2854 2855 Thanks to Christian Hesse. 2856 2857 src/common/tuklib_cpucores.c | 2 +- 2858 1 file changed, 1 insertion(+), 1 deletion(-) 2859 2860commit 124eb69c7857f618b4807588c51bc9ba21bf8691 2861Author: Lasse Collin <lasse.collin@tukaani.org> 2862Date: 2013-08-03 13:52:58 +0300 2863 2864 Windows: Add Windows support to tuklib_cpucores(). 2865 2866 It is used for Cygwin too. I'm not sure if that is 2867 a good or bad idea. 2868 2869 Thanks to Vincent Torri. 2870 2871 m4/tuklib_cpucores.m4 | 19 +++++++++++++++++-- 2872 src/common/tuklib_cpucores.c | 13 ++++++++++++- 2873 2 files changed, 29 insertions(+), 3 deletions(-) 2874 2875commit eada8a875ce3fd521cb42e4ace2624d3d49c5f35 2876Author: Anders F Bjorklund <afb@users.sourceforge.net> 2877Date: 2013-08-02 15:59:46 +0200 2878 2879 macosx: separate liblzma package 2880 2881 macosx/build.sh | 23 +++++++++++++++-------- 2882 1 file changed, 15 insertions(+), 8 deletions(-) 2883 2884commit be0100d01ca6a75899d051bee00acf17e6dc0c15 2885Author: Anders F Bjorklund <afb@users.sourceforge.net> 2886Date: 2013-08-02 15:58:44 +0200 2887 2888 macosx: set minimum to leopard 2889 2890 macosx/build.sh | 13 ++++++++----- 2891 1 file changed, 8 insertions(+), 5 deletions(-) 2892 2893commit 416729e2d743f4b2fe9fd438eedeb98adce033c3 2894Author: Anders F Bjorklund <afb@users.sourceforge.net> 2895Date: 2011-08-07 13:13:30 +0200 2896 2897 move configurables into variables 2898 2899 macosx/build.sh | 25 ++++++++++++++++++------- 2900 1 file changed, 18 insertions(+), 7 deletions(-) 2901 2902commit 16581080e5f29f9a4e49efece21c5bf572323acc 2903Author: Lasse Collin <lasse.collin@tukaani.org> 2904Date: 2013-07-15 14:08:41 +0300 2905 2906 Update THANKS. 2907 2908 THANKS | 1 + 2909 1 file changed, 1 insertion(+) 2910 2911commit 3e2b198ba37b624efd9c7caee2a435dc986b46c6 2912Author: Lasse Collin <lasse.collin@tukaani.org> 2913Date: 2013-07-15 14:08:02 +0300 2914 2915 Build: Fix the detection of missing CRC32. 2916 2917 Thanks to Vincent Torri. 2918 2919 configure.ac | 2 +- 2920 1 file changed, 1 insertion(+), 1 deletion(-) 2921 2922commit dee6ad3d5915422bc30a6821efeacaeb8ca8ef00 2923Author: Lasse Collin <lasse.collin@tukaani.org> 2924Date: 2013-07-04 14:18:46 +0300 2925 2926 xz: Add preliminary support for --flush-timeout=TIMEOUT. 2927 2928 When --flush-timeout=TIMEOUT is used, xz will use 2929 LZMA_SYNC_FLUSH if read() would block and at least 2930 TIMEOUT milliseconds has elapsed since the previous flush. 2931 2932 This can be useful in realtime-like use cases where the 2933 data is simultanously decompressed by another process 2934 (possibly on a different computer). If new uncompressed 2935 input data is produced slowly, without this option xz could 2936 buffer the data for a long time until it would become 2937 decompressible from the output. 2938 2939 If TIMEOUT is 0, the feature is disabled. This is the default. 2940 2941 This commit affects the compression side. Using xz for 2942 the decompression side for the above purpose doesn't work 2943 yet so well because there is quite a bit of input and 2944 output buffering when decompressing. 2945 2946 The --long-help or man page were not updated yet. 2947 The details of this feature may change. 2948 2949 src/xz/args.c | 7 +++++++ 2950 src/xz/coder.c | 46 +++++++++++++++++++++++++++++++++++----------- 2951 src/xz/file_io.c | 46 ++++++++++++++++++++++++++++++++++++---------- 2952 3 files changed, 78 insertions(+), 21 deletions(-) 2953 2954commit fa381acaf9a29a8114e1c0a97de99bab9adb014e 2955Author: Lasse Collin <lasse.collin@tukaani.org> 2956Date: 2013-07-04 13:41:03 +0300 2957 2958 xz: Don't set src_eof=true after an I/O error because it's useless. 2959 2960 src/xz/file_io.c | 3 --- 2961 1 file changed, 3 deletions(-) 2962 2963commit ea00545beace5b950f709ec21e46878e0f448678 2964Author: Lasse Collin <lasse.collin@tukaani.org> 2965Date: 2013-07-04 13:25:11 +0300 2966 2967 xz: Fix the test when to read more input. 2968 2969 Testing for end of file was no longer correct after full flushing 2970 became possible with --block-size=SIZE and --block-list=SIZES. 2971 There was no bug in practice though because xz just made a few 2972 unneeded zero-byte reads. 2973 2974 src/xz/coder.c | 6 +++--- 2975 1 file changed, 3 insertions(+), 3 deletions(-) 2976 2977commit 736903c64bef394c06685d79908e397bcb08b88f 2978Author: Lasse Collin <lasse.collin@tukaani.org> 2979Date: 2013-07-04 12:51:57 +0300 2980 2981 xz: Move some of the timing code into mytime.[hc]. 2982 2983 This switches units from microseconds to milliseconds. 2984 2985 New clock_gettime(CLOCK_MONOTONIC) will be used if available. 2986 There is still a fallback to gettimeofday(). 2987 2988 src/xz/Makefile.am | 2 ++ 2989 src/xz/coder.c | 5 +++ 2990 src/xz/message.c | 54 +++++++++------------------------ 2991 src/xz/mytime.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2992 src/xz/mytime.h | 47 ++++++++++++++++++++++++++++ 2993 src/xz/private.h | 1 + 2994 6 files changed, 158 insertions(+), 40 deletions(-) 2995 2996commit 24edf8d807e24ffaa1e793114d94cca3b970027d 2997Author: Lasse Collin <lasse.collin@tukaani.org> 2998Date: 2013-07-01 14:35:03 +0300 2999 3000 Update THANKS. 3001 3002 THANKS | 1 + 3003 1 file changed, 1 insertion(+) 3004 3005commit c0627b3fceacfa1ed162f5f55235360ea26f569a 3006Author: Lasse Collin <lasse.collin@tukaani.org> 3007Date: 2013-07-01 14:34:11 +0300 3008 3009 xz: Silence a warning seen with _FORTIFY_SOURCE=2. 3010 3011 Thanks to Christian Hesse. 3012 3013 src/xz/file_io.c | 8 +++++++- 3014 1 file changed, 7 insertions(+), 1 deletion(-) 3015 3016commit 1936718bb38ee394bd89836fdd4eabc0beb02443 3017Author: Lasse Collin <lasse.collin@tukaani.org> 3018Date: 2013-06-30 19:40:11 +0300 3019 3020 Update NEWS for 5.0.5. 3021 3022 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3023 1 file changed, 52 insertions(+) 3024 3025commit a37ae8b5eb6093a530198f109c6f7a538c80ecf0 3026Author: Lasse Collin <lasse.collin@tukaani.org> 3027Date: 2013-06-30 18:02:27 +0300 3028 3029 Man pages: Use similar syntax for synopsis as in xz. 3030 3031 The man pages of lzmainfo, xzmore, and xzdec had similar 3032 constructs as the man page of xz had before the commit 3033 eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond 3034 didn't mention these man pages in his bug report, but 3035 it's nice to be consistent. 3036 3037 src/lzmainfo/lzmainfo.1 | 4 ++-- 3038 src/scripts/xzmore.1 | 6 +++--- 3039 src/xzdec/xzdec.1 | 10 +++++----- 3040 3 files changed, 10 insertions(+), 10 deletions(-) 3041 3042commit cdba9ddd870ae72fd6219a125662c20ec997f86c 3043Author: Lasse Collin <lasse.collin@tukaani.org> 3044Date: 2013-06-29 15:59:13 +0300 3045 3046 xz: Use non-blocking I/O for the output file. 3047 3048 Now both reading and writing should be without 3049 race conditions with signals. 3050 3051 They might still be signal handling issues left. 3052 Signals are blocked during many operations to avoid 3053 EINTR but it may cause problems e.g. if writing to 3054 stderr blocks when trying to display an error message. 3055 3056 src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 3057 1 file changed, 49 insertions(+), 8 deletions(-) 3058 3059commit e61a5c95da3fe31281d959e5e842885a8ba2b5bd 3060Author: Lasse Collin <lasse.collin@tukaani.org> 3061Date: 2013-06-28 23:56:17 +0300 3062 3063 xz: Fix return value type in io_write_buf(). 3064 3065 It didn't affect the behavior of the code since -1 3066 becomes true anyway. 3067 3068 src/xz/file_io.c | 2 +- 3069 1 file changed, 1 insertion(+), 1 deletion(-) 3070 3071commit 9dc319eabb34a826f4945f91c71620f14a60e9e2 3072Author: Lasse Collin <lasse.collin@tukaani.org> 3073Date: 2013-06-28 23:48:05 +0300 3074 3075 xz: Use the self-pipe trick to avoid a race condition with signals. 3076 3077 It is possible that a signal to set user_abort arrives right 3078 before a blocking system call is made. In this case the call 3079 may block until another signal arrives, while the wanted 3080 behavior is to make xz clean up and exit as soon as possible. 3081 3082 After this commit, the race condition is avoided with the 3083 input side which already uses non-blocking I/O. The output 3084 side still uses blocking I/O and thus has the race condition. 3085 3086 src/xz/file_io.c | 56 ++++++++++++++++++++++++++++++++++++++++++++------------ 3087 src/xz/file_io.h | 8 ++++++++ 3088 src/xz/signals.c | 5 +++++ 3089 3 files changed, 57 insertions(+), 12 deletions(-) 3090 3091commit 3541bc79d0cfabc0ad155c99bfdad1289f17fec3 3092Author: Lasse Collin <lasse.collin@tukaani.org> 3093Date: 2013-06-28 22:51:02 +0300 3094 3095 xz: Use non-blocking I/O for the input file. 3096 3097 src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++---------------- 3098 1 file changed, 111 insertions(+), 45 deletions(-) 3099 3100commit 78673a08bed5066c81e8a8e90d20e670c28ecfd5 3101Author: Lasse Collin <lasse.collin@tukaani.org> 3102Date: 2013-06-28 18:46:13 +0300 3103 3104 xz: Remove an outdated NetBSD-specific comment. 3105 3106 Nowadays errno == EFTYPE is documented in open(2). 3107 3108 src/xz/file_io.c | 4 ---- 3109 1 file changed, 4 deletions(-) 3110 3111commit a616fdad34b48b2932ef03fb87309dcc8b829527 3112Author: Lasse Collin <lasse.collin@tukaani.org> 3113Date: 2013-06-28 18:09:47 +0300 3114 3115 xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls. 3116 3117 POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on 3118 error and "other than -1" on success. This is how it is 3119 documented e.g. on OpenBSD too. On Linux, success with 3120 F_SETFL is always 0 (at least accorinding to fcntl(2) 3121 from man-pages 3.51). 3122 3123 src/xz/file_io.c | 8 ++++---- 3124 1 file changed, 4 insertions(+), 4 deletions(-) 3125 3126commit 4a08a6e4c61c65ab763ab314100a6d7a3bb89298 3127Author: Lasse Collin <lasse.collin@tukaani.org> 3128Date: 2013-06-28 17:36:47 +0300 3129 3130 xz: Fix use of wrong variable in a fcntl() call. 3131 3132 Due to a wrong variable name, when writing a sparse file 3133 to standard output, *all* file status flags were cleared 3134 (to the extent the operating system allowed it) instead of 3135 only clearing the O_APPEND flag. In practice this worked 3136 fine in the common situations on GNU/Linux, but I didn't 3137 check how it behaved elsewhere. 3138 3139 The original flags were still restored correctly. I still 3140 changed the code to use a separate boolean variable to 3141 indicate when the flags should be restored instead of 3142 relying on a special value in stdout_flags. 3143 3144 src/xz/file_io.c | 24 +++++++++++++----------- 3145 1 file changed, 13 insertions(+), 11 deletions(-) 3146 3147commit b790b435daa3351067f80a5973b647f8d55367a2 3148Author: Lasse Collin <lasse.collin@tukaani.org> 3149Date: 2013-06-28 14:55:37 +0300 3150 3151 xz: Fix assertion related to posix_fadvise(). 3152 3153 Input file can be a FIFO or something else that doesn't 3154 support posix_fadvise() so don't check the return value 3155 even with an assertion. Nothing bad happens if the call 3156 to posix_fadvise() fails. 3157 3158 src/xz/file_io.c | 10 ++-------- 3159 1 file changed, 2 insertions(+), 8 deletions(-) 3160 3161commit 84d2da6c9dc252f441deb7626c2522202b005d4d 3162Author: Lasse Collin <lasse.collin@tukaani.org> 3163Date: 2013-06-26 13:30:57 +0300 3164 3165 xz: Check the value of lzma_stream_flags.version in --list. 3166 3167 It is a no-op for now, but if an old xz version is used 3168 together with a newer liblzma that supports something new, 3169 then this check becomes important and will stop the old xz 3170 from trying to parse files that it won't understand. 3171 3172 src/xz/list.c | 14 ++++++++++++++ 3173 1 file changed, 14 insertions(+) 3174 3175commit 9376f5f8f762296f2173d61af9101112c36f38c0 3176Author: Lasse Collin <lasse.collin@tukaani.org> 3177Date: 2013-06-26 12:17:00 +0300 3178 3179 Build: Require Automake 1.12 and use serial-tests option. 3180 3181 It should actually still work with Automake 1.10 if 3182 the serial-tests option is removed. Automake 1.13 started 3183 using parallel tests by default and the option to get 3184 the old behavior isn't supported before 1.12. 3185 3186 At least for now, parallel tests don't improve anything 3187 in XZ Utils but they hide the progress output from 3188 test_compress.sh. 3189 3190 configure.ac | 4 +++- 3191 1 file changed, 3 insertions(+), 1 deletion(-) 3192 3193commit b7e200d7bd0a3c7c171c13ad37d68296d6f73374 3194Author: Lasse Collin <lasse.collin@tukaani.org> 3195Date: 2013-06-23 18:59:13 +0300 3196 3197 Update THANKS. 3198 3199 THANKS | 1 + 3200 1 file changed, 1 insertion(+) 3201 3202commit 46540e4c10923e363741ff5aab99e79fc0ce6ee8 3203Author: Lasse Collin <lasse.collin@tukaani.org> 3204Date: 2013-06-23 18:57:23 +0300 3205 3206 liblzma: Avoid a warning about a shadowed variable. 3207 3208 On Mac OS X wait() is declared in <sys/wait.h> that 3209 we include one way or other so don't use "wait" as 3210 a variable name. 3211 3212 Thanks to Christian Kujau. 3213 3214 src/liblzma/common/stream_encoder_mt.c | 4 ++-- 3215 1 file changed, 2 insertions(+), 2 deletions(-) 3216 3217commit ebb501ec73cecc546c67117dd01b5e33c90bfb4a 3218Author: Lasse Collin <lasse.collin@tukaani.org> 3219Date: 2013-06-23 17:36:47 +0300 3220 3221 xz: Validate Uncompressed Size from Block Header in list.c. 3222 3223 This affects only "xz -lvv". Normal decompression with xz 3224 already detected if Block Header and Index had mismatched 3225 Uncompressed Size fields. So this just makes "xz -lvv" 3226 show such files as corrupt instead of showing the 3227 Uncompressed Size from Index. 3228 3229 src/xz/list.c | 14 +++++++++++++- 3230 1 file changed, 13 insertions(+), 1 deletion(-) 3231 3232commit c09e91dd236d3cabee0fc48312b3dc8cceae41ab 3233Author: Lasse Collin <lasse.collin@tukaani.org> 3234Date: 2013-06-21 22:08:11 +0300 3235 3236 Update THANKS. 3237 3238 THANKS | 2 ++ 3239 1 file changed, 2 insertions(+) 3240 3241commit eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494 3242Author: Lasse Collin <lasse.collin@tukaani.org> 3243Date: 2013-06-21 22:04:45 +0300 3244 3245 xz: Make the man page more friendly to doclifter. 3246 3247 Thanks to Eric S. Raymond. 3248 3249 src/xz/xz.1 | 7 ++++--- 3250 1 file changed, 4 insertions(+), 3 deletions(-) 3251 3252commit 0c0a1947e6ad90a0a10b7a5c39f6ab99a0aa5c93 3253Author: Lasse Collin <lasse.collin@tukaani.org> 3254Date: 2013-06-21 21:54:59 +0300 3255 3256 xz: A couple of man page fixes. 3257 3258 Now the interaction of presets and custom filter chains 3259 is described correctly. Earlier it contradicted itself. 3260 3261 Thanks to DevHC who reported these issues on IRC to me 3262 on 2012-12-14. 3263 3264 src/xz/xz.1 | 35 +++++++++++++++++++++++------------ 3265 1 file changed, 23 insertions(+), 12 deletions(-) 3266 3267commit 2fcda89939c903106c429e109083d43d894049e0 3268Author: Lasse Collin <lasse.collin@tukaani.org> 3269Date: 2013-06-21 21:50:26 +0300 3270 3271 xz: Fix interaction between preset and custom filter chains. 3272 3273 There was somewhat illogical behavior when --extreme was 3274 specified and mixed with custom filter chains. 3275 3276 Before this commit, "xz -9 --lzma2 -e" was equivalent 3277 to "xz --lzma2". After it is equivalent to "xz -6e" 3278 (all earlier preset options get forgotten when a custom 3279 filter chain is specified and the default preset is 6 3280 to which -e is applied). I find this less illogical. 3281 3282 This also affects the meaning of "xz -9e --lzma2 -7". 3283 Earlier it was equivalent to "xz -7e" (the -e specified 3284 before a custom filter chain wasn't forgotten). Now it 3285 is "xz -7". Note that "xz -7e" still is the same as "xz -e7". 3286 3287 Hopefully very few cared about this in the first place, 3288 so pretty much no one should even notice this change. 3289 3290 Thanks to Conley Moorhous. 3291 3292 src/xz/coder.c | 35 +++++++++++++++++++++-------------- 3293 1 file changed, 21 insertions(+), 14 deletions(-) 3294 3295commit 97379c5ea758da3f8b0bc444d5f7fa43753ce610 3296Author: Lasse Collin <lasse.collin@tukaani.org> 3297Date: 2013-04-27 22:07:46 +0300 3298 3299 Build: Use -Wvla with GCC if supported. 3300 3301 Variable-length arrays are mandatory in C99 but optional in C11. 3302 The code doesn't currently use any VLAs and it shouldn't in the 3303 future either to stay compatible with C11 without requiring any 3304 optional C11 features. 3305 3306 configure.ac | 1 + 3307 1 file changed, 1 insertion(+) 3308 3309commit 8957c58609d3987c58aa72b96c436cf565cc4917 3310Author: Lasse Collin <lasse.collin@tukaani.org> 3311Date: 2013-04-15 19:29:09 +0300 3312 3313 xzdec: Improve the --help message. 3314 3315 The options are now ordered in the same order as in xz's help 3316 message. 3317 3318 Descriptions were added to the options that are ignored. 3319 I left them in parenthesis even if it looks a bit weird 3320 because I find it easier to spot the ignored vs. non-ignored 3321 options from the list that way. 3322 3323 src/xzdec/xzdec.c | 10 +++++----- 3324 1 file changed, 5 insertions(+), 5 deletions(-) 3325 3326commit ed886e1a92534a24401d0e99c11f1dcff3b5220a 3327Author: Lasse Collin <lasse.collin@tukaani.org> 3328Date: 2013-04-05 19:25:40 +0300 3329 3330 Update THANKS. 3331 3332 THANKS | 2 ++ 3333 1 file changed, 2 insertions(+) 3334 3335commit 5019413a055ce29e660dbbf15e02443cb5a26c59 3336Author: Jeff Bastian <jbastian@redhat.com> 3337Date: 2013-04-03 13:59:17 +0200 3338 3339 xzgrep: make the '-h' option to be --no-filename equivalent 3340 3341 * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing. 3342 3343 src/scripts/xzgrep.in | 2 +- 3344 1 file changed, 1 insertion(+), 1 deletion(-) 3345 3346commit 5ea900cb5ad862bca81316729f92357c1fc040ce 3347Author: Lasse Collin <lasse.collin@tukaani.org> 3348Date: 2013-03-23 22:25:15 +0200 3349 3350 liblzma: Be less picky in lzma_alone_decoder(). 3351 3352 To avoid false positives when detecting .lzma files, 3353 rare values in dictionary size and uncompressed size fields 3354 were rejected. They will still be rejected if .lzma files 3355 are decoded with lzma_auto_decoder(), but when using 3356 lzma_alone_decoder() directly, such files will now be accepted. 3357 Hopefully this is an OK compromise. 3358 3359 This doesn't affect xz because xz still has its own file 3360 format detection code. This does affect lzmadec though. 3361 So after this commit lzmadec will accept files that xz or 3362 xz-emulating-lzma doesn't. 3363 3364 NOTE: lzma_alone_decoder() still won't decode all .lzma files 3365 because liblzma's LZMA decoder doesn't support lc + lp > 4. 3366 3367 Reported here: 3368 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827 3369 3370 src/liblzma/common/alone_decoder.c | 22 ++++++++++++++-------- 3371 src/liblzma/common/alone_decoder.h | 5 +++-- 3372 src/liblzma/common/auto_decoder.c | 2 +- 3373 3 files changed, 18 insertions(+), 11 deletions(-) 3374 3375commit bb117fffa84604b6e3811b068c80db82bf7f7b05 3376Author: Lasse Collin <lasse.collin@tukaani.org> 3377Date: 2013-03-23 21:55:13 +0200 3378 3379 liblzma: Use lzma_block_buffer_bound64() in threaded encoder. 3380 3381 Now it uses lzma_block_uncomp_encode() if the data doesn't 3382 fit into the space calculated by lzma_block_buffer_bound64(). 3383 3384 src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++--------- 3385 1 file changed, 50 insertions(+), 16 deletions(-) 3386 3387commit e572e123b55b29527e54ce5f0807f115481d78b9 3388Author: Lasse Collin <lasse.collin@tukaani.org> 3389Date: 2013-03-23 21:51:38 +0200 3390 3391 liblzma: Fix another deadlock in the threaded encoder. 3392 3393 This race condition could cause a deadlock if lzma_end() was 3394 called before finishing the encoding. This can happen with 3395 xz with debugging enabled (non-debugging version doesn't 3396 call lzma_end() before exiting). 3397 3398 src/liblzma/common/stream_encoder_mt.c | 9 ++++++--- 3399 1 file changed, 6 insertions(+), 3 deletions(-) 3400 3401commit b465da5988dd59ad98fda10c2e4ea13d0b9c73bc 3402Author: Lasse Collin <lasse.collin@tukaani.org> 3403Date: 2013-03-23 19:17:33 +0200 3404 3405 liblzma: Add lzma_block_uncomp_encode(). 3406 3407 This also adds a new internal function 3408 lzma_block_buffer_bound64() which is similar to 3409 lzma_block_buffer_bound() but uses uint64_t instead 3410 of size_t. 3411 3412 src/liblzma/api/lzma/block.h | 18 ++++++ 3413 src/liblzma/common/block_buffer_encoder.c | 94 +++++++++++++++++++++---------- 3414 src/liblzma/common/block_buffer_encoder.h | 24 ++++++++ 3415 src/liblzma/liblzma.map | 1 + 3416 4 files changed, 106 insertions(+), 31 deletions(-) 3417 3418commit 9e6dabcf22ef4679f4faaae15ebd5b137ae2fad1 3419Author: Lasse Collin <lasse.collin@tukaani.org> 3420Date: 2013-03-05 19:14:50 +0200 3421 3422 Avoid unneeded use of awk in xzless. 3423 3424 Use "read" instead of "awk" in xzless to get the version 3425 number of "less". The need for awk was introduced in 3426 the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e. 3427 3428 Thanks to Ariel P for the patch. 3429 3430 src/scripts/xzless.in | 3 +-- 3431 1 file changed, 1 insertion(+), 2 deletions(-) 3432 3433commit e7b424d267a34803db8d92a3515528be2ed45abd 3434Author: Lasse Collin <lasse.collin@tukaani.org> 3435Date: 2012-12-14 20:13:32 +0200 3436 3437 Make the progress indicator smooth in threaded mode. 3438 3439 This adds lzma_get_progress() to liblzma and takes advantage 3440 of it in xz. 3441 3442 lzma_get_progress() collects progress information from 3443 the thread-specific structures so that fairly accurate 3444 progress information is available to applications. Adding 3445 a new function seemed to be a better way than making the 3446 information directly available in lzma_stream (like total_in 3447 and total_out are) because collecting the information requires 3448 locking mutexes. It's waste of time to do it more often than 3449 the up to date information is actually needed by an application. 3450 3451 src/liblzma/api/lzma/base.h | 22 +++++++++- 3452 src/liblzma/common/common.c | 16 +++++++ 3453 src/liblzma/common/common.h | 6 +++ 3454 src/liblzma/common/stream_encoder_mt.c | 77 +++++++++++++++++++++++++++++++--- 3455 src/liblzma/liblzma.map | 1 + 3456 src/xz/message.c | 20 +++++---- 3457 6 files changed, 129 insertions(+), 13 deletions(-) 3458 3459commit 2ebbb994e367f55f2561aa7c9e7451703c171f2f 3460Author: Lasse Collin <lasse.collin@tukaani.org> 3461Date: 2012-12-14 11:01:41 +0200 3462 3463 liblzma: Fix mythread_sync for nested locking. 3464 3465 src/common/mythread.h | 5 +++-- 3466 1 file changed, 3 insertions(+), 2 deletions(-) 3467 3468commit 4c7e28705f6de418d19cc77324ef301f996e01ff 3469Author: Lasse Collin <lasse.collin@tukaani.org> 3470Date: 2012-12-13 21:05:36 +0200 3471 3472 xz: Mention --threads in --help. 3473 3474 Thanks to Olivier Delhomme for pointing out that this 3475 was still missing. 3476 3477 src/xz/message.c | 4 ++++ 3478 1 file changed, 4 insertions(+) 3479 3480commit db5c1817fabf7cbb9e4087b1576eb26f0747338e 3481Author: Jonathan Nieder <jrnieder@gmail.com> 3482Date: 2012-11-19 00:10:10 -0800 3483 3484 xzless: Make "less -V" parsing more robust 3485 3486 In v4.999.9beta~30 (xzless: Support compressed standard input, 3487 2009-08-09), xzless learned to parse ‘less -V’ output to figure out 3488 whether less is new enough to handle $LESSOPEN settings starting 3489 with “|-”. That worked well for a while, but the version string from 3490 ‘less’ versions 448 (June, 2012) is misparsed, producing a warning: 3491 3492 $ xzless /tmp/test.xz; echo $? 3493 /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \ 3494 integer expression expected 3495 0 3496 3497 More precisely, modern ‘less’ lists the regexp implementation along 3498 with its version number, and xzless passes the entire version number 3499 with attached parenthetical phrase as a number to "test $a -gt $b", 3500 producing the above confusing message. 3501 3502 $ less-444 -V | head -1 3503 less 444 3504 $ less -V | head -1 3505 less 456 (no regular expressions) 3506 3507 So relax the pattern matched --- instead of expecting "less <number>", 3508 look for a line of the form "less <number>[ (extra parenthetical)]". 3509 While at it, improve the behavior when no matching line is found --- 3510 instead of producing a cryptic message, we can fall back on a LESSPIPE 3511 setting that is supported by all versions of ‘less’. 3512 3513 The implementation uses "awk" for simplicity. Hopefully that’s 3514 portable enough. 3515 3516 Reported-by: Jörg-Volker Peetz <jvpeetz@web.de> 3517 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 3518 3519 src/scripts/xzless.in | 3 ++- 3520 1 file changed, 2 insertions(+), 1 deletion(-) 3521 3522commit 65536214a31ecd33b6b03b68a351fb597d3703d6 3523Author: Lasse Collin <lasse.collin@tukaani.org> 3524Date: 2012-10-03 15:54:24 +0300 3525 3526 xz: Fix the note about --rsyncable on the man page. 3527 3528 src/xz/xz.1 | 17 +++++++++-------- 3529 1 file changed, 9 insertions(+), 8 deletions(-) 3530 3531commit 3d93b6354927247a1569caf22ad27b07e97ee904 3532Author: Lasse Collin <lasse.collin@tukaani.org> 3533Date: 2012-09-28 20:11:09 +0300 3534 3535 xz: Improve handling of failed realloc in xrealloc. 3536 3537 Thanks to Jim Meyering. 3538 3539 src/xz/util.c | 14 ++++++++++++-- 3540 1 file changed, 12 insertions(+), 2 deletions(-) 3541 3542commit ab225620664e235637833be2329935f9d290ba80 3543Author: Lasse Collin <lasse.collin@tukaani.org> 3544Date: 2012-08-24 16:27:31 +0300 3545 3546 A few typo fixes to comments and the xz man page. 3547 3548 Thanks to Jim Meyering. 3549 3550 configure.ac | 2 +- 3551 src/liblzma/check/sha256.c | 1 - 3552 src/xz/xz.1 | 4 ++-- 3553 3 files changed, 3 insertions(+), 4 deletions(-) 3554 3555commit f3c1ec69d910175ffd431fd82968dd35cec806ed 3556Author: Lasse Collin <lasse.collin@tukaani.org> 3557Date: 2012-08-13 21:40:09 +0300 3558 3559 xz: Add a warning to --help about alpha and beta versions. 3560 3561 src/xz/message.c | 5 +++++ 3562 1 file changed, 5 insertions(+) 3563 3564commit d8eaf9d8278c23c2cf2b7ca5562d4de570d3b5db 3565Author: Lasse Collin <lasse.collin@tukaani.org> 3566Date: 2012-08-02 17:13:30 +0300 3567 3568 Build: Bump gettext version requirement to 0.18. 3569 3570 Otherwise too old version of m4/lib-link.m4 gets included 3571 when autoreconf -fi is run. 3572 3573 configure.ac | 2 +- 3574 1 file changed, 1 insertion(+), 1 deletion(-) 3575 3576commit 96e08902b09f0f304d4ff80c6e83ef7fff883f34 3577Author: Lasse Collin <lasse.collin@tukaani.org> 3578Date: 2012-07-17 18:29:08 +0300 3579 3580 Update THANKS. 3581 3582 THANKS | 1 + 3583 1 file changed, 1 insertion(+) 3584 3585commit 3778db1be53e61ff285c573af5ee468803008456 3586Author: Lasse Collin <lasse.collin@tukaani.org> 3587Date: 2012-07-17 18:19:59 +0300 3588 3589 liblzma: Make the use of lzma_allocator const-correct. 3590 3591 There is a tiny risk of causing breakage: If an application 3592 assigns lzma_stream.allocator to a non-const pointer, such 3593 code won't compile anymore. I don't know why anyone would do 3594 such a thing though, so in practice this shouldn't cause trouble. 3595 3596 Thanks to Jan Kratochvil for the patch. 3597 3598 src/liblzma/api/lzma/base.h | 4 +++- 3599 src/liblzma/api/lzma/block.h | 6 ++--- 3600 src/liblzma/api/lzma/container.h | 9 +++++--- 3601 src/liblzma/api/lzma/filter.h | 13 ++++++----- 3602 src/liblzma/api/lzma/index.h | 16 ++++++------- 3603 src/liblzma/api/lzma/index_hash.h | 4 ++-- 3604 src/liblzma/common/alone_decoder.c | 6 ++--- 3605 src/liblzma/common/alone_decoder.h | 2 +- 3606 src/liblzma/common/alone_encoder.c | 8 +++---- 3607 src/liblzma/common/auto_decoder.c | 6 ++--- 3608 src/liblzma/common/block_buffer_decoder.c | 2 +- 3609 src/liblzma/common/block_buffer_encoder.c | 4 ++-- 3610 src/liblzma/common/block_decoder.c | 6 ++--- 3611 src/liblzma/common/block_decoder.h | 2 +- 3612 src/liblzma/common/block_encoder.c | 8 +++---- 3613 src/liblzma/common/block_encoder.h | 2 +- 3614 src/liblzma/common/block_header_decoder.c | 4 ++-- 3615 src/liblzma/common/common.c | 10 ++++----- 3616 src/liblzma/common/common.h | 20 +++++++++-------- 3617 src/liblzma/common/easy_buffer_encoder.c | 4 ++-- 3618 src/liblzma/common/filter_buffer_decoder.c | 3 ++- 3619 src/liblzma/common/filter_buffer_encoder.c | 7 +++--- 3620 src/liblzma/common/filter_common.c | 4 ++-- 3621 src/liblzma/common/filter_common.h | 2 +- 3622 src/liblzma/common/filter_decoder.c | 7 +++--- 3623 src/liblzma/common/filter_decoder.h | 2 +- 3624 src/liblzma/common/filter_encoder.c | 2 +- 3625 src/liblzma/common/filter_encoder.h | 2 +- 3626 src/liblzma/common/filter_flags_decoder.c | 2 +- 3627 src/liblzma/common/index.c | 26 ++++++++++----------- 3628 src/liblzma/common/index_decoder.c | 12 +++++----- 3629 src/liblzma/common/index_encoder.c | 6 ++--- 3630 src/liblzma/common/index_encoder.h | 2 +- 3631 src/liblzma/common/index_hash.c | 6 +++-- 3632 src/liblzma/common/outqueue.c | 4 ++-- 3633 src/liblzma/common/outqueue.h | 5 +++-- 3634 src/liblzma/common/stream_buffer_decoder.c | 2 +- 3635 src/liblzma/common/stream_buffer_encoder.c | 3 ++- 3636 src/liblzma/common/stream_decoder.c | 9 ++++---- 3637 src/liblzma/common/stream_decoder.h | 5 +++-- 3638 src/liblzma/common/stream_encoder.c | 10 ++++----- 3639 src/liblzma/common/stream_encoder_mt.c | 16 ++++++------- 3640 src/liblzma/delta/delta_common.c | 4 ++-- 3641 src/liblzma/delta/delta_decoder.c | 6 ++--- 3642 src/liblzma/delta/delta_decoder.h | 5 +++-- 3643 src/liblzma/delta/delta_encoder.c | 6 ++--- 3644 src/liblzma/delta/delta_encoder.h | 3 ++- 3645 src/liblzma/delta/delta_private.h | 2 +- 3646 src/liblzma/lz/lz_decoder.c | 8 +++---- 3647 src/liblzma/lz/lz_decoder.h | 7 +++--- 3648 src/liblzma/lz/lz_encoder.c | 19 ++++++++-------- 3649 src/liblzma/lz/lz_encoder.h | 6 ++--- 3650 src/liblzma/lzma/lzma2_decoder.c | 8 +++---- 3651 src/liblzma/lzma/lzma2_decoder.h | 5 +++-- 3652 src/liblzma/lzma/lzma2_encoder.c | 6 ++--- 3653 src/liblzma/lzma/lzma2_encoder.h | 2 +- 3654 src/liblzma/lzma/lzma_decoder.c | 8 +++---- 3655 src/liblzma/lzma/lzma_decoder.h | 7 +++--- 3656 src/liblzma/lzma/lzma_encoder.c | 7 +++--- 3657 src/liblzma/lzma/lzma_encoder.h | 5 +++-- 3658 src/liblzma/simple/arm.c | 8 ++++--- 3659 src/liblzma/simple/armthumb.c | 8 ++++--- 3660 src/liblzma/simple/ia64.c | 8 ++++--- 3661 src/liblzma/simple/powerpc.c | 8 ++++--- 3662 src/liblzma/simple/simple_coder.c | 10 ++++----- 3663 src/liblzma/simple/simple_coder.h | 36 ++++++++++++++++++++---------- 3664 src/liblzma/simple/simple_decoder.c | 2 +- 3665 src/liblzma/simple/simple_decoder.h | 2 +- 3666 src/liblzma/simple/simple_private.h | 3 ++- 3667 src/liblzma/simple/sparc.c | 8 ++++--- 3668 src/liblzma/simple/x86.c | 8 ++++--- 3669 71 files changed, 269 insertions(+), 219 deletions(-) 3670 3671commit d625c7cf824fd3b61c6da84f56179e94917ff603 3672Author: Lasse Collin <lasse.collin@tukaani.org> 3673Date: 2012-07-05 07:36:28 +0300 3674 3675 Tests: Remove tests/test_block.c that had gotten committed accidentally. 3676 3677 tests/test_block.c | 52 ---------------------------------------------------- 3678 1 file changed, 52 deletions(-) 3679 3680commit 0b09d266cce72bc4841933b171e79551e488927c 3681Author: Lasse Collin <lasse.collin@tukaani.org> 3682Date: 2012-07-05 07:33:35 +0300 3683 3684 Build: Include macosx/build.sh in the distribution. 3685 3686 It has been in the Git repository since 2010 but probably 3687 few people have seen it since it hasn't been included in 3688 the release tarballs. :-( 3689 3690 Makefile.am | 1 + 3691 1 file changed, 1 insertion(+) 3692 3693commit d6e0b23d4613b9f417893dd96cc168c8005ece3d 3694Author: Lasse Collin <lasse.collin@tukaani.org> 3695Date: 2012-07-05 07:28:53 +0300 3696 3697 Build: Include validate_map.sh in the distribution. 3698 3699 It's required by "make mydist". 3700 3701 Fix also the location of EXTRA_DIST+= so that those files 3702 get distributed also if symbol versioning isn't enabled. 3703 3704 src/liblzma/Makefile.am | 2 +- 3705 1 file changed, 1 insertion(+), 1 deletion(-) 3706 3707commit 19de545d86097c3954d69ab5d12820387f6a09bc 3708Author: Lasse Collin <lasse.collin@tukaani.org> 3709Date: 2012-07-05 07:24:45 +0300 3710 3711 Docs: Fix the name LZMA Utils -> XZ Utils in debug/README. 3712 3713 debug/README | 2 +- 3714 1 file changed, 1 insertion(+), 1 deletion(-) 3715 3716commit 672eccf57c31a40dfb956b7662db06d43e18618e 3717Author: Lasse Collin <lasse.collin@tukaani.org> 3718Date: 2012-07-05 07:23:17 +0300 3719 3720 Include debug/translation.bash in the distribution. 3721 3722 Also fix the script name mentioned in README. 3723 3724 README | 4 ++-- 3725 debug/Makefile.am | 3 +++ 3726 2 files changed, 5 insertions(+), 2 deletions(-) 3727 3728commit cafb523adac1caf305e70a04bc37f25602bf990c 3729Author: Lasse Collin <lasse.collin@tukaani.org> 3730Date: 2012-07-04 22:31:58 +0300 3731 3732 xz: Document --block-list better. 3733 3734 Thanks to Jonathan Nieder. 3735 3736 src/xz/xz.1 | 8 +++++++- 3737 1 file changed, 7 insertions(+), 1 deletion(-) 3738 3739commit c7ff218528bc8f7c65e7ef73c6515777346c6794 3740Author: Lasse Collin <lasse.collin@tukaani.org> 3741Date: 2012-07-04 20:01:49 +0300 3742 3743 Bump the version number to 5.1.2alpha. 3744 3745 src/liblzma/api/lzma/version.h | 2 +- 3746 src/liblzma/liblzma.map | 2 +- 3747 2 files changed, 2 insertions(+), 2 deletions(-) 3748 3749commit 8f3c1d886f93e6478ad509ff52102b2ce7faa999 3750Author: Lasse Collin <lasse.collin@tukaani.org> 3751Date: 2012-07-04 20:01:19 +0300 3752 3753 Update NEWS for 5.1.2alpha. 3754 3755 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++ 3756 1 file changed, 41 insertions(+) 3757 3758commit 0d5fa05466e580fbc458820f87013ae7644e20e5 3759Author: Lasse Collin <lasse.collin@tukaani.org> 3760Date: 2012-07-04 19:58:23 +0300 3761 3762 xz: Fix the version number printed by xz -lvv. 3763 3764 The decoder bug was fixed in 5.0.2 instead of 5.0.3. 3765 3766 src/xz/list.c | 6 +++--- 3767 1 file changed, 3 insertions(+), 3 deletions(-) 3768 3769commit df11317985a4165731dde12bb0f0028da0e7b77f 3770Author: Lasse Collin <lasse.collin@tukaani.org> 3771Date: 2012-07-04 17:11:31 +0300 3772 3773 Build: Add a comment to configure.ac about symbol versioning. 3774 3775 configure.ac | 4 ++++ 3776 1 file changed, 4 insertions(+) 3777 3778commit bd9cc179e8be3ef515201d3ed9c7dd79ae88869d 3779Author: Lasse Collin <lasse.collin@tukaani.org> 3780Date: 2012-07-04 17:06:49 +0300 3781 3782 Update TODO. 3783 3784 TODO | 12 ++++++++++-- 3785 1 file changed, 10 insertions(+), 2 deletions(-) 3786 3787commit 4a238dd9b22f462cac5e199828bf1beb0df05884 3788Author: Lasse Collin <lasse.collin@tukaani.org> 3789Date: 2012-07-04 17:05:46 +0300 3790 3791 Document --enable-symbol-versions in INSTALL. 3792 3793 INSTALL | 5 +++++ 3794 1 file changed, 5 insertions(+) 3795 3796commit 88ccf47205d7f3aa314d358c72ef214f10f68b43 3797Author: Lasse Collin <lasse.collin@tukaani.org> 3798Date: 2012-07-03 21:16:39 +0300 3799 3800 xz: Add incomplete support for --block-list. 3801 3802 It's broken with threads and when also --block-size is used. 3803 3804 src/xz/args.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3805 src/xz/args.h | 1 + 3806 src/xz/coder.c | 48 ++++++++++++++++++++++++++++------ 3807 src/xz/coder.h | 4 +++ 3808 src/xz/main.c | 1 + 3809 src/xz/message.c | 6 +++++ 3810 src/xz/xz.1 | 23 +++++++++++++++-- 3811 7 files changed, 151 insertions(+), 10 deletions(-) 3812 3813commit 972179cdcdf5d8949c48ee31737d87d3050b44af 3814Author: Lasse Collin <lasse.collin@tukaani.org> 3815Date: 2012-07-01 18:44:33 +0300 3816 3817 xz: Update the man page about the new field in --robot -lvv. 3818 3819 src/xz/xz.1 | 18 +++++++++++++++++- 3820 1 file changed, 17 insertions(+), 1 deletion(-) 3821 3822commit 1403707fc64a70976aebe66f8d9a9bd12f73a2c5 3823Author: Lasse Collin <lasse.collin@tukaani.org> 3824Date: 2012-06-28 10:47:49 +0300 3825 3826 liblzma: Check that the first byte of range encoded data is 0x00. 3827 3828 It is just to be more pedantic and thus perhaps catch broken 3829 files slightly earlier. 3830 3831 src/liblzma/lzma/lzma_decoder.c | 8 ++++++-- 3832 src/liblzma/rangecoder/range_decoder.h | 12 +++++++++--- 3833 2 files changed, 15 insertions(+), 5 deletions(-) 3834 3835commit eccd8017ffe2c5de473222c4963ec53c62f7fda2 3836Author: Lasse Collin <lasse.collin@tukaani.org> 3837Date: 2012-06-22 19:00:23 +0300 3838 3839 Update NEWS from 5.0.4. 3840 3841 NEWS | 37 +++++++++++++++++++++++++++++++++++++ 3842 1 file changed, 37 insertions(+) 3843 3844commit 2e6754eac26a431e8d340c28906f63bcd1e177e8 3845Author: Lasse Collin <lasse.collin@tukaani.org> 3846Date: 2012-06-22 14:34:03 +0300 3847 3848 xz: Update man page date to match the latest update. 3849 3850 src/xz/xz.1 | 2 +- 3851 1 file changed, 1 insertion(+), 1 deletion(-) 3852 3853commit b3235a0b1af45d5e1244cbe3191516966c076fa0 3854Author: Lasse Collin <lasse.collin@tukaani.org> 3855Date: 2012-06-18 21:27:47 +0300 3856 3857 Docs: Language fix to 01_compress_easy.c. 3858 3859 Thanks to Jonathan Nieder. 3860 3861 doc/examples/01_compress_easy.c | 2 +- 3862 1 file changed, 1 insertion(+), 1 deletion(-) 3863 3864commit f1675f765fe228cb5a5f904f853445a03e33cfe9 3865Author: Lasse Collin <lasse.collin@tukaani.org> 3866Date: 2012-06-14 20:15:30 +0300 3867 3868 Fix the top-level Makefile.am for the new example programs. 3869 3870 Makefile.am | 12 ++++++++++-- 3871 1 file changed, 10 insertions(+), 2 deletions(-) 3872 3873commit 3a0c5378abefaf86aa39a62a7c9682bdb21568a1 3874Author: Lasse Collin <lasse.collin@tukaani.org> 3875Date: 2012-06-14 10:52:33 +0300 3876 3877 Docs: Add new example programs. 3878 3879 These have more comments than the old examples and 3880 human-readable error messages. More tutorial-like examples 3881 are needed but these are a start. 3882 3883 doc/examples/00_README.txt | 27 ++++ 3884 doc/examples/01_compress_easy.c | 297 ++++++++++++++++++++++++++++++++++++++ 3885 doc/examples/02_decompress.c | 287 ++++++++++++++++++++++++++++++++++++ 3886 doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++ 3887 doc/examples/Makefile | 23 +++ 3888 5 files changed, 827 insertions(+) 3889 3890commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d 3891Author: Lasse Collin <lasse.collin@tukaani.org> 3892Date: 2012-06-14 10:33:27 +0300 3893 3894 Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old. 3895 3896 It is good to keep these around to so that if someone has 3897 copied the decompressor bug from xz_pipe_decomp.c he has 3898 an example how to easily fix it. 3899 3900 doc/{examples => examples_old}/xz_pipe_comp.c | 0 3901 doc/{examples => examples_old}/xz_pipe_decomp.c | 0 3902 2 files changed, 0 insertions(+), 0 deletions(-) 3903 3904commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292 3905Author: Lasse Collin <lasse.collin@tukaani.org> 3906Date: 2012-06-14 10:33:01 +0300 3907 3908 Docs: Fix a bug in xz_pipe_decomp.c example program. 3909 3910 doc/examples/xz_pipe_decomp.c | 10 +++++++++- 3911 1 file changed, 9 insertions(+), 1 deletion(-) 3912 3913commit 4bd1a3bd5fdf4870b2f96dd0b8a21657c8a58ad8 3914Author: Lasse Collin <lasse.collin@tukaani.org> 3915Date: 2012-05-30 23:14:33 +0300 3916 3917 Translations: Update the French translation. 3918 3919 Thanks to Adrien Nader. 3920 3921 po/fr.po | 148 ++++++++++++++++++++++++++++++++++----------------------------- 3922 1 file changed, 79 insertions(+), 69 deletions(-) 3923 3924commit d2e836f2f3a87df6fe6bb0589b037db51205d910 3925Author: Lasse Collin <lasse.collin@tukaani.org> 3926Date: 2012-05-29 23:42:37 +0300 3927 3928 Translations: Update the German translation. 3929 3930 The previous only included the new strings in v5.0. 3931 3932 po/de.po | 229 +++++++++++++++++++++++++++++++++++++-------------------------- 3933 1 file changed, 133 insertions(+), 96 deletions(-) 3934 3935commit c9a16151577ba459afd6e3528df23bc0ddb95171 3936Author: Lasse Collin <lasse.collin@tukaani.org> 3937Date: 2012-05-29 22:26:27 +0300 3938 3939 Translations: Update the German translation. 3940 3941 po/de.po | 169 ++++++++++++++++++++++++++++++++++----------------------------- 3942 1 file changed, 91 insertions(+), 78 deletions(-) 3943 3944commit 1530a74fd48f8493372edad137a24541efe24713 3945Author: Lasse Collin <lasse.collin@tukaani.org> 3946Date: 2012-05-29 22:14:21 +0300 3947 3948 Translations: Update Polish translation. 3949 3950 po/pl.po | 283 +++++++++++++++++++++++++++++++++++++-------------------------- 3951 1 file changed, 165 insertions(+), 118 deletions(-) 3952 3953commit d8db706acb8316f9861abd432cfbe001dd6d0c5c 3954Author: Lasse Collin <lasse.collin@tukaani.org> 3955Date: 2012-05-28 20:42:11 +0300 3956 3957 liblzma: Fix possibility of incorrect LZMA_BUF_ERROR. 3958 3959 lzma_code() could incorrectly return LZMA_BUF_ERROR if 3960 all of the following was true: 3961 3962 - The caller knows how many bytes of output to expect 3963 and only provides that much output space. 3964 3965 - When the last output bytes are decoded, the 3966 caller-provided input buffer ends right before 3967 the LZMA2 end of payload marker. So LZMA2 won't 3968 provide more output anymore, but it won't know it 3969 yet and thus won't return LZMA_STREAM_END yet. 3970 3971 - A BCJ filter is in use and it hasn't left any 3972 unfiltered bytes in the temp buffer. This can happen 3973 with any BCJ filter, but in practice it's more likely 3974 with filters other than the x86 BCJ. 3975 3976 Another situation where the bug can be triggered happens 3977 if the uncompressed size is zero bytes and no output space 3978 is provided. In this case the decompression can fail even 3979 if the whole input file is given to lzma_code(). 3980 3981 A similar bug was fixed in XZ Embedded on 2011-09-19. 3982 3983 src/liblzma/simple/simple_coder.c | 2 +- 3984 tests/Makefile.am | 4 +- 3985 tests/test_bcj_exact_size.c | 112 ++++++++++++++++++++++++++++++++++++++ 3986 3 files changed, 116 insertions(+), 2 deletions(-) 3987 3988commit 3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda 3989Author: Lasse Collin <lasse.collin@tukaani.org> 3990Date: 2012-05-28 15:38:32 +0300 3991 3992 Update THANKS. 3993 3994 THANKS | 1 + 3995 1 file changed, 1 insertion(+) 3996 3997commit 7769ea051d739a38a1640fd448cf5eb83cb119c6 3998Author: Lasse Collin <lasse.collin@tukaani.org> 3999Date: 2012-05-28 15:37:43 +0300 4000 4001 xz: Don't show a huge number in -vv when memory limit is disabled. 4002 4003 src/xz/message.c | 12 +++++++++++- 4004 1 file changed, 11 insertions(+), 1 deletion(-) 4005 4006commit ec921105725e4d3ef0a683dd83eee6f24ab60ccd 4007Author: Lasse Collin <lasse.collin@tukaani.org> 4008Date: 2012-05-27 22:30:17 +0300 4009 4010 xz: Document the "summary" lines of --robot -lvv. 4011 4012 This documents only the columns that are in v5.0. 4013 The new columns added in the master branch aren't 4014 necessarily stable yet. 4015 4016 src/xz/xz.1 | 19 +++++++++++++++++++ 4017 1 file changed, 19 insertions(+) 4018 4019commit 27d24eb0a9f6eed96d6a4594c2b0bf7a91d29f9a 4020Author: Lasse Collin <lasse.collin@tukaani.org> 4021Date: 2012-05-27 21:53:20 +0300 4022 4023 xz: Fix output of verbose --robot --list modes. 4024 4025 It printed the filename in "filename (x/y)" format 4026 which it obviously shouldn't do in robot mode. 4027 4028 src/xz/message.c | 2 +- 4029 1 file changed, 1 insertion(+), 1 deletion(-) 4030 4031commit ab25b82a91754d9388c89abddf806424671d9431 4032Author: Lasse Collin <lasse.collin@tukaani.org> 4033Date: 2012-05-24 18:33:54 +0300 4034 4035 Build: Upgrade m4/acx_pthread.m4 to the latest version. 4036 4037 m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++--------------------- 4038 1 file changed, 62 insertions(+), 36 deletions(-) 4039 4040commit d05d6d65c41a4bc83f162fa3d67c5d84e8751634 4041Author: Lasse Collin <lasse.collin@tukaani.org> 4042Date: 2012-05-10 21:15:17 +0300 4043 4044 Update THANKS. 4045 4046 THANKS | 1 + 4047 1 file changed, 1 insertion(+) 4048 4049commit e077391982f9f28dbfe542bba8800e7c5b916666 4050Author: Lasse Collin <lasse.collin@tukaani.org> 4051Date: 2012-05-10 21:14:16 +0300 4052 4053 Docs: Cleanup line wrapping a bit. 4054 4055 README | 12 ++++++------ 4056 doc/history.txt | 49 +++++++++++++++++++++++++------------------------ 4057 2 files changed, 31 insertions(+), 30 deletions(-) 4058 4059commit fc39849c350225c6a1cd7f6e6adff1020521eabc 4060Author: Benno Schulenberg <bensberg@justemail.net> 4061Date: 2012-03-13 22:04:04 +0100 4062 4063 Fix a few typos and add some missing articles in some documents. 4064 4065 Also hyphenate several compound adjectives. 4066 4067 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 4068 4069 AUTHORS | 6 +++--- 4070 README | 42 ++++++++++++++++++++--------------------- 4071 doc/faq.txt | 24 ++++++++++++------------ 4072 doc/history.txt | 58 ++++++++++++++++++++++++++++----------------------------- 4073 4 files changed, 65 insertions(+), 65 deletions(-) 4074 4075commit 29fa0566d5df199cb9acb2d17bf7eea61acc7fa1 4076Author: Lasse Collin <lasse.collin@tukaani.org> 4077Date: 2012-04-29 11:51:25 +0300 4078 4079 Windows: Update notes about static linking with MSVC. 4080 4081 windows/README-Windows.txt | 13 +++++++++---- 4082 1 file changed, 9 insertions(+), 4 deletions(-) 4083 4084commit aac1b31ea4e66cf5a7a8c116bdaa15aa45e6c56e 4085Author: Lasse Collin <lasse.collin@tukaani.org> 4086Date: 2012-04-19 15:25:26 +0300 4087 4088 liblzma: Remove outdated comments. 4089 4090 src/liblzma/simple/simple_coder.c | 3 --- 4091 src/liblzma/simple/simple_private.h | 3 +-- 4092 2 files changed, 1 insertion(+), 5 deletions(-) 4093 4094commit df14a46013bea70c0bd35be7821b0b9108f97de7 4095Author: Lasse Collin <lasse.collin@tukaani.org> 4096Date: 2012-04-19 14:17:52 +0300 4097 4098 DOS: Link against DJGPP's libemu to support FPU emulation. 4099 4100 This way xz should work on 386SX and 486SX. Floating point 4101 only is needed for verbose output in xz. 4102 4103 dos/Makefile | 2 +- 4104 1 file changed, 1 insertion(+), 1 deletion(-) 4105 4106commit 03ed742a3a4931bb5c821357832083b26f577b13 4107Author: Lasse Collin <lasse.collin@tukaani.org> 4108Date: 2012-04-19 14:02:25 +0300 4109 4110 liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed. 4111 4112 src/liblzma/liblzma.pc.in | 2 +- 4113 1 file changed, 1 insertion(+), 1 deletion(-) 4114 4115commit 8c5b13ad59df70f49429bfdfd6ac120b8f892fda 4116Author: Lasse Collin <lasse.collin@tukaani.org> 4117Date: 2012-04-19 13:58:55 +0300 4118 4119 Docs: Update MINIX 3 information in INSTALL. 4120 4121 INSTALL | 8 +++++--- 4122 1 file changed, 5 insertions(+), 3 deletions(-) 4123 4124commit c7376fc415a1566f38b2de4b516a17013d516a8b 4125Author: Lasse Collin <lasse.collin@tukaani.org> 4126Date: 2012-02-22 14:23:13 +0200 4127 4128 Update THANKS. 4129 4130 THANKS | 1 + 4131 1 file changed, 1 insertion(+) 4132 4133commit cff070aba6281ba743d29a62b8c0c66e5da4b2a6 4134Author: Lasse Collin <lasse.collin@tukaani.org> 4135Date: 2012-02-22 14:02:34 +0200 4136 4137 Fix exit status of xzgrep when grepping binary files. 4138 4139 When grepping binary files, grep may exit before it has 4140 read all the input. In this case, gzip -q returns 2 (eating 4141 SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status 4142 (e.g. 141). This causes wrong exit status when grepping 4143 xz- or bzip2-compressed binary files. 4144 4145 The fix checks for the special exit status that indicates SIGPIPE. 4146 It uses kill -l which should be supported everywhere since it 4147 is in both SUSv2 (1997) and POSIX.1-2008. 4148 4149 Thanks to James Buren for the bug report. 4150 4151 src/scripts/xzgrep.in | 3 ++- 4152 1 file changed, 2 insertions(+), 1 deletion(-) 4153 4154commit 41cafb2bf9beea915710ee68f05fe929cd17759c 4155Author: Lasse Collin <lasse.collin@tukaani.org> 4156Date: 2012-02-22 12:08:43 +0200 4157 4158 Update THANKS. 4159 4160 THANKS | 1 + 4161 1 file changed, 1 insertion(+) 4162 4163commit 2dcea03712fa881930d69ec9eff70855c3d126d9 4164Author: Lasse Collin <lasse.collin@tukaani.org> 4165Date: 2012-02-22 12:00:16 +0200 4166 4167 Fix compiling with IBM XL C on AIX. 4168 4169 INSTALL | 36 ++++++++++++++++++++++-------------- 4170 configure.ac | 6 +++++- 4171 2 files changed, 27 insertions(+), 15 deletions(-) 4172 4173commit 7db6bdf4abcf524115be2cf5659ed540cef074c5 4174Author: Lasse Collin <lasse.collin@tukaani.org> 4175Date: 2012-01-10 17:13:03 +0200 4176 4177 Tests: Fix a compiler warning with _FORTIFY_SOURCE. 4178 4179 Reported here: 4180 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385 4181 4182 tests/create_compress_files.c | 3 ++- 4183 1 file changed, 2 insertions(+), 1 deletion(-) 4184 4185commit 694952d545b6cf056547893ced69486eff9ece55 4186Author: Lasse Collin <lasse.collin@tukaani.org> 4187Date: 2011-12-19 21:21:29 +0200 4188 4189 Docs: Explain the stable releases better in README. 4190 4191 README | 6 +++++- 4192 1 file changed, 5 insertions(+), 1 deletion(-) 4193 4194commit 418fe668b3c53a9a20020b6cc652aaf25c734b29 4195Author: Lasse Collin <lasse.collin@tukaani.org> 4196Date: 2011-11-07 13:07:52 +0200 4197 4198 xz: Show minimum required XZ Utils version in xz -lvv. 4199 4200 Man page wasn't updated yet. 4201 4202 src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------ 4203 1 file changed, 57 insertions(+), 6 deletions(-) 4204 4205commit 7081d82c37326bac97184e338345fa1c327e3580 4206Author: Lasse Collin <lasse.collin@tukaani.org> 4207Date: 2011-11-04 17:57:16 +0200 4208 4209 xz: Fix a typo in a comment. 4210 4211 Thanks to Bela Lubkin. 4212 4213 src/xz/args.c | 2 +- 4214 1 file changed, 1 insertion(+), 1 deletion(-) 4215 4216commit 232fe7cd70ad258d6a37f17e860e0f1b1891eeb5 4217Author: Lasse Collin <lasse.collin@tukaani.org> 4218Date: 2011-11-03 17:08:02 +0200 4219 4220 Update THANKS. 4221 4222 THANKS | 1 + 4223 1 file changed, 1 insertion(+) 4224 4225commit 74d2bae4d3449c68453b0473dd3430ce91fd90c1 4226Author: Lasse Collin <lasse.collin@tukaani.org> 4227Date: 2011-11-03 17:07:22 +0200 4228 4229 xz: Fix xz on EBCDIC systems. 4230 4231 Thanks to Chris Donawa. 4232 4233 src/xz/coder.c | 5 ++++- 4234 1 file changed, 4 insertions(+), 1 deletion(-) 4235 4236commit 4ac4923f47cc0ef97dd9ca5cfcc44fc53eeab34a 4237Author: Lasse Collin <lasse.collin@tukaani.org> 4238Date: 2011-10-23 17:09:10 +0300 4239 4240 Update THANKS. 4241 4242 THANKS | 1 + 4243 1 file changed, 1 insertion(+) 4244 4245commit ab50ae3ef40c81e5bf613905ca3fd636548b75e7 4246Author: Lasse Collin <lasse.collin@tukaani.org> 4247Date: 2011-10-23 17:08:14 +0300 4248 4249 liblzma: Fix invalid free() in the threaded encoder. 4250 4251 It was triggered if initialization failed e.g. due to 4252 running out of memory. 4253 4254 Thanks to Arkadiusz Miskiewicz. 4255 4256 src/liblzma/common/outqueue.c | 4 ++++ 4257 1 file changed, 4 insertions(+) 4258 4259commit 6b620a0f0813d28c3c544b4ff8cb595b38a6e908 4260Author: Lasse Collin <lasse.collin@tukaani.org> 4261Date: 2011-10-23 17:05:55 +0300 4262 4263 liblzma: Fix a deadlock in the threaded encoder. 4264 4265 It was triggered when reinitializing the encoder, 4266 e.g. when encoding two files. 4267 4268 src/liblzma/common/stream_encoder_mt.c | 4 +++- 4269 1 file changed, 3 insertions(+), 1 deletion(-) 4270 4271commit bd52cf150ecd51e3ab63a9cc1a3cff6a77500178 4272Author: Lasse Collin <lasse.collin@tukaani.org> 4273Date: 2011-09-06 12:03:41 +0300 4274 4275 Build: Fix "make check" on Windows. 4276 4277 tests/Makefile.am | 7 +++++-- 4278 windows/build.bash | 2 ++ 4279 2 files changed, 7 insertions(+), 2 deletions(-) 4280 4281commit 5c5b2256969ac473001b7d67615ed3bd0a54cc82 4282Author: Lasse Collin <lasse.collin@tukaani.org> 4283Date: 2011-08-09 21:19:13 +0300 4284 4285 Update THANKS. 4286 4287 THANKS | 2 ++ 4288 1 file changed, 2 insertions(+) 4289 4290commit 5b1e1f10741af9e4bbe4cfc3261fb7c7b04f7809 4291Author: Lasse Collin <lasse.collin@tukaani.org> 4292Date: 2011-08-09 21:16:44 +0300 4293 4294 Workaround unusual SIZE_MAX on SCO OpenServer. 4295 4296 src/common/sysdefs.h | 9 ++++++--- 4297 1 file changed, 6 insertions(+), 3 deletions(-) 4298 4299commit e9ed88126eee86e2511fa42681a5c7104820cf0a 4300Author: Lasse Collin <lasse.collin@tukaani.org> 4301Date: 2011-08-06 20:37:28 +0300 4302 4303 Run the scripts with the correct shell in test_scripts.sh. 4304 4305 The scripts are now made executable in the build tree. 4306 This way the scripts can be run like programs in 4307 test_scripts.sh. Previously test_scripts.sh always 4308 used sh but it's not correct if @POSIX_SHELL@ is set 4309 to something else by configure. 4310 4311 Thanks to Jonathan Nieder for the patch. 4312 4313 configure.ac | 8 ++++---- 4314 tests/test_scripts.sh | 8 ++++---- 4315 2 files changed, 8 insertions(+), 8 deletions(-) 4316 4317commit 1c673e5681720491a74fc4b2992e075f47302c22 4318Author: Lasse Collin <lasse.collin@tukaani.org> 4319Date: 2011-07-31 11:01:47 +0300 4320 4321 Fix exit status of "xzdiff foo.xz bar.xz". 4322 4323 xzdiff was clobbering the exit status from diff in a case 4324 statement used to analyze the exit statuses from "xz" when 4325 its operands were two compressed files. Save and restore 4326 diff's exit status to fix this. 4327 4328 The bug is inherited from zdiff in GNU gzip and was fixed 4329 there on 2009-10-09. 4330 4331 Thanks to Jonathan Nieder for the patch and 4332 to Peter Pallinger for reporting the bug. 4333 4334 src/scripts/xzdiff.in | 2 ++ 4335 tests/Makefile.am | 4 +++- 4336 tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4337 3 files changed, 59 insertions(+), 1 deletion(-) 4338 4339commit 324cde7a864f4506c32ae7846d688c359a83fe65 4340Author: Lasse Collin <lasse.collin@tukaani.org> 4341Date: 2011-06-16 12:15:29 +0300 4342 4343 liblzma: Remove unneeded semicolon. 4344 4345 src/liblzma/lz/lz_encoder_hash.h | 2 +- 4346 1 file changed, 1 insertion(+), 1 deletion(-) 4347 4348commit 492c86345551a51a29bf18e55fe55a5e86f169ce 4349Author: Lasse Collin <lasse.collin@tukaani.org> 4350Date: 2011-05-28 19:24:56 +0300 4351 4352 Build: Make configure print if symbol versioning is enabled or not. 4353 4354 configure.ac | 2 ++ 4355 1 file changed, 2 insertions(+) 4356 4357commit fc4d4436969bd4d71b704d400a165875e596034a 4358Author: Lasse Collin <lasse.collin@tukaani.org> 4359Date: 2011-05-28 16:43:26 +0300 4360 4361 Don't call close(-1) in tuklib_open_stdxxx() on error. 4362 4363 Thanks to Jim Meyering. 4364 4365 src/common/tuklib_open_stdxxx.c | 4 +++- 4366 1 file changed, 3 insertions(+), 1 deletion(-) 4367 4368commit bd35d903a04c4d388adb4065b0fa271302380895 4369Author: Lasse Collin <lasse.collin@tukaani.org> 4370Date: 2011-05-28 15:55:39 +0300 4371 4372 liblzma: Use symbol versioning. 4373 4374 Symbol versioning is enabled by default on GNU/Linux, 4375 other GNU-based systems, and FreeBSD. 4376 4377 I'm not sure how stable this is, so it may need 4378 backward-incompatible changes before the next release. 4379 4380 The idea is that alpha and beta symbols are considered 4381 unstable and require recompiling the applications that 4382 use those symbols. Once a symbol is stable, it may get 4383 extended with new features in ways that don't break 4384 compatibility with older ABI & API. 4385 4386 The mydist target runs validate_map.sh which should 4387 catch some probable problems in liblzma.map. Otherwise 4388 I would forget to update the map file for new releases. 4389 4390 Makefile.am | 1 + 4391 configure.ac | 21 +++++++++ 4392 src/liblzma/Makefile.am | 6 +++ 4393 src/liblzma/liblzma.map | 105 ++++++++++++++++++++++++++++++++++++++++++++ 4394 src/liblzma/validate_map.sh | 68 ++++++++++++++++++++++++++++ 4395 5 files changed, 201 insertions(+) 4396 4397commit afbb244362c9426a37ce4eb9d54aab768da3adad 4398Author: Lasse Collin <lasse.collin@tukaani.org> 4399Date: 2011-05-28 09:46:46 +0300 4400 4401 Translations: Update the Italian translation. 4402 4403 Thanks to Milo Casagrande. 4404 4405 po/it.po | 365 +++++++++++++++++++++++++++++++++++++-------------------------- 4406 1 file changed, 216 insertions(+), 149 deletions(-) 4407 4408commit 79bef85e0543c0c3723281c3c817616c6cec343b 4409Author: Lasse Collin <lasse.collin@tukaani.org> 4410Date: 2011-05-28 08:46:04 +0300 4411 4412 Tests: Add a test file for the bug in the previous commit. 4413 4414 tests/files/README | 4 ++++ 4415 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes 4416 2 files changed, 4 insertions(+) 4417 4418commit c0297445064951807803457dca1611b3c47e7f0f 4419Author: Lasse Collin <lasse.collin@tukaani.org> 4420Date: 2011-05-27 22:25:44 +0300 4421 4422 xz: Fix error handling in xz -lvv. 4423 4424 It could do an invalid free() and read past the end 4425 of the uninitialized filters array. 4426 4427 src/xz/list.c | 21 ++++++--------------- 4428 1 file changed, 6 insertions(+), 15 deletions(-) 4429 4430commit 8bd91918ac50731f00b1a2a48072980572eb2ff9 4431Author: Lasse Collin <lasse.collin@tukaani.org> 4432Date: 2011-05-27 22:09:49 +0300 4433 4434 liblzma: Handle allocation failures correctly in lzma_index_init(). 4435 4436 Thanks to Jim Meyering. 4437 4438 src/liblzma/common/index.c | 7 +++++-- 4439 1 file changed, 5 insertions(+), 2 deletions(-) 4440 4441commit fe00f95828ef5627721b57e054f7eb2d42a2c961 4442Author: Lasse Collin <lasse.collin@tukaani.org> 4443Date: 2011-05-24 00:23:46 +0300 4444 4445 Build: Fix checking for system-provided SHA-256. 4446 4447 configure.ac | 2 +- 4448 1 file changed, 1 insertion(+), 1 deletion(-) 4449 4450commit 21b45b9bab541f419712cbfd473ccc31802e0397 4451Author: Lasse Collin <lasse.collin@tukaani.org> 4452Date: 2011-05-23 18:30:30 +0300 4453 4454 Build: Set GZIP_ENV=-9n in top-level Makefile.am. 4455 4456 Makefile.am | 3 +++ 4457 1 file changed, 3 insertions(+) 4458 4459commit 48053e8a4550233af46359024538bff90c870ab1 4460Author: Lasse Collin <lasse.collin@tukaani.org> 4461Date: 2011-05-22 16:42:11 +0300 4462 4463 Update NEWS for 5.0.3. 4464 4465 NEWS | 32 ++++++++++++++++++++++++++++++++ 4466 1 file changed, 32 insertions(+) 4467 4468commit bba37df2c9e54ad773e15ff00a09d2d6989fb3b2 4469Author: Lasse Collin <lasse.collin@tukaani.org> 4470Date: 2011-05-21 16:28:44 +0300 4471 4472 Add French translation. 4473 4474 It is known that the BCJ filter --help text is only 4475 partially translated. 4476 4477 po/LINGUAS | 1 + 4478 po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4479 2 files changed, 865 insertions(+) 4480 4481commit 4161d7634965a7a287bf208dcd79f6185f448fe8 4482Author: Lasse Collin <lasse.collin@tukaani.org> 4483Date: 2011-05-21 15:12:10 +0300 4484 4485 xz: Translate also the string used to print the program name. 4486 4487 French needs a space before a colon, e.g. "xz : foo error". 4488 4489 src/xz/message.c | 6 +++++- 4490 1 file changed, 5 insertions(+), 1 deletion(-) 4491 4492commit b94aa0c8380cdb18cddb33440d625474c16643cf 4493Author: Lasse Collin <lasse.collin@tukaani.org> 4494Date: 2011-05-21 15:08:44 +0300 4495 4496 liblzma: Try to use SHA-256 from the operating system. 4497 4498 If the operating system libc or other base libraries 4499 provide SHA-256, use that instead of our own copy. 4500 Note that this doesn't use OpenSSL or libgcrypt or 4501 such libraries to avoid creating dependencies to 4502 other packages. 4503 4504 This supports at least FreeBSD, NetBSD, OpenBSD, Solaris, 4505 MINIX, and Darwin. They all provide similar but not 4506 identical SHA-256 APIs; everyone is a little different. 4507 4508 Thanks to Wim Lewis for the original patch, improvements, 4509 and testing. 4510 4511 configure.ac | 54 +++++++++++++++++++++++++++ 4512 src/liblzma/check/Makefile.inc | 2 + 4513 src/liblzma/check/check.h | 83 ++++++++++++++++++++++++++++++++++++++---- 4514 3 files changed, 131 insertions(+), 8 deletions(-) 4515 4516commit f004128678d43ea10b4a6401aa184cf83252d6ec 4517Author: Lasse Collin <lasse.collin@tukaani.org> 4518Date: 2011-05-17 12:52:18 +0300 4519 4520 Don't use clockid_t in mythread.h when clock_gettime() isn't available. 4521 4522 Thanks to Wim Lewis for the patch. 4523 4524 src/common/mythread.h | 2 ++ 4525 1 file changed, 2 insertions(+) 4526 4527commit f779516f42ebd2db47a5b7d6143459bf7737cf2f 4528Author: Lasse Collin <lasse.collin@tukaani.org> 4529Date: 2011-05-17 12:26:28 +0300 4530 4531 Update THANKS. 4532 4533 THANKS | 3 +++ 4534 1 file changed, 3 insertions(+) 4535 4536commit 830ba587775bb562f6eaf05cad61bf669d1f8892 4537Author: Lasse Collin <lasse.collin@tukaani.org> 4538Date: 2011-05-17 12:21:33 +0300 4539 4540 Update INSTALL with a note about linker problem on OpenSolaris x86. 4541 4542 INSTALL | 23 +++++++++++++++++------ 4543 1 file changed, 17 insertions(+), 6 deletions(-) 4544 4545commit ec7106309c8060e9c646dba20c4f15689a0bbb04 4546Author: Lasse Collin <lasse.collin@tukaani.org> 4547Date: 2011-05-17 12:01:37 +0300 4548 4549 Build: Fix initialization of enable_check_* variables in configure.ac. 4550 4551 This doesn't matter much in practice since it is unlikely 4552 that anyone would have such environment variable names. 4553 4554 Thanks to Wim Lewis. 4555 4556 configure.ac | 2 +- 4557 1 file changed, 1 insertion(+), 1 deletion(-) 4558 4559commit 4c6e146df99696920f12410fb17754412797ef36 4560Author: Lasse Collin <lasse.collin@tukaani.org> 4561Date: 2011-05-17 11:54:38 +0300 4562 4563 Add underscores to attributes (__attribute((__foo__))). 4564 4565 src/liblzma/common/alone_decoder.c | 2 +- 4566 src/liblzma/common/alone_encoder.c | 2 +- 4567 src/liblzma/common/block_encoder.c | 2 +- 4568 src/liblzma/common/common.c | 2 +- 4569 src/liblzma/common/common.h | 2 +- 4570 src/liblzma/common/index_decoder.c | 9 +++++---- 4571 src/liblzma/common/index_encoder.c | 11 ++++++----- 4572 src/liblzma/delta/delta_encoder.c | 2 +- 4573 src/liblzma/lz/lz_decoder.c | 2 +- 4574 src/liblzma/lz/lz_encoder.c | 2 +- 4575 src/liblzma/simple/arm.c | 2 +- 4576 src/liblzma/simple/armthumb.c | 2 +- 4577 src/liblzma/simple/ia64.c | 2 +- 4578 src/liblzma/simple/powerpc.c | 2 +- 4579 src/liblzma/simple/simple_coder.c | 2 +- 4580 src/liblzma/simple/sparc.c | 2 +- 4581 src/lzmainfo/lzmainfo.c | 4 ++-- 4582 src/xz/coder.c | 2 +- 4583 src/xz/hardware.h | 2 +- 4584 src/xz/message.c | 2 +- 4585 src/xz/message.h | 18 +++++++++--------- 4586 src/xz/options.c | 6 +++--- 4587 src/xz/signals.c | 2 +- 4588 src/xz/util.h | 6 +++--- 4589 src/xzdec/xzdec.c | 6 +++--- 4590 25 files changed, 49 insertions(+), 47 deletions(-) 4591 4592commit 7a480e485938884ef3021b48c3b0b9f9699dc9b6 4593Author: Lasse Collin <lasse.collin@tukaani.org> 4594Date: 2011-05-01 12:24:23 +0300 4595 4596 xz: Fix input file position when --single-stream is used. 4597 4598 Now the following works as you would expect: 4599 4600 echo foo | xz > foo.xz 4601 echo bar | xz >> foo.xz 4602 ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz 4603 4604 Note that it doesn't work if the input is not seekable 4605 or if there is Stream Padding between the concatenated 4606 .xz Streams. 4607 4608 src/xz/coder.c | 1 + 4609 src/xz/file_io.c | 15 +++++++++++++++ 4610 src/xz/file_io.h | 13 +++++++++++++ 4611 3 files changed, 29 insertions(+) 4612 4613commit c29e6630c1450c630c4e7b783bdd76515db9004c 4614Author: Lasse Collin <lasse.collin@tukaani.org> 4615Date: 2011-05-01 12:15:51 +0300 4616 4617 xz: Print the maximum number of worker threads in xz -vv. 4618 4619 src/xz/coder.c | 4 ++++ 4620 1 file changed, 4 insertions(+) 4621 4622commit 0b77c4a75158ccc416b07d6e81df8ee0abaea720 4623Author: Lasse Collin <lasse.collin@tukaani.org> 4624Date: 2011-04-19 10:44:48 +0300 4625 4626 Build: Warn if no supported method to detect the number of CPU cores. 4627 4628 configure.ac | 11 +++++------ 4629 1 file changed, 5 insertions(+), 6 deletions(-) 4630 4631commit e4622df9ab4982f8faa53d85b17be66216175a58 4632Author: Lasse Collin <lasse.collin@tukaani.org> 4633Date: 2011-04-19 09:55:06 +0300 4634 4635 Update THANKS. 4636 4637 THANKS | 1 + 4638 1 file changed, 1 insertion(+) 4639 4640commit 9c1b05828a88eff54409760b92162c7cc2c7cff6 4641Author: Lasse Collin <lasse.collin@tukaani.org> 4642Date: 2011-04-19 09:20:44 +0300 4643 4644 Fix portability problems in mythread.h. 4645 4646 Use gettimeofday() if clock_gettime() isn't available 4647 (e.g. Darwin). 4648 4649 The test for availability of pthread_condattr_setclock() 4650 and CLOCK_MONOTONIC was incorrect. Instead of fixing the 4651 #ifdefs, use an Autoconf test. That way if there exists a 4652 system that supports them but doesn't specify the matching 4653 POSIX #defines, the features will still get detected. 4654 4655 Don't try to use pthread_sigmask() on OpenVMS. It doesn't 4656 have that function. 4657 4658 Guard mythread.h against being #included multiple times. 4659 4660 configure.ac | 7 +++++++ 4661 src/common/mythread.h | 31 +++++++++++++++++++++++++++---- 4662 2 files changed, 34 insertions(+), 4 deletions(-) 4663 4664commit 3de00cc75da7b0e7b65e84c62b5351e231f501e9 4665Author: Lasse Collin <lasse.collin@tukaani.org> 4666Date: 2011-04-18 19:35:49 +0300 4667 4668 Update THANKS. 4669 4670 THANKS | 2 ++ 4671 1 file changed, 2 insertions(+) 4672 4673commit bd5002f5821e3d1b04f2f56989e4a19318e73633 4674Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> 4675Date: 2011-04-15 04:54:49 -0400 4676 4677 xzgrep: fix typo in $0 parsing 4678 4679 Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org> 4680 Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> 4681 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 4682 4683 src/scripts/xzgrep.in | 4 ++-- 4684 1 file changed, 2 insertions(+), 2 deletions(-) 4685 4686commit 6ef4eabc0acc49e1bb9dc68064706e19fa9fcf48 4687Author: Lasse Collin <lasse.collin@tukaani.org> 4688Date: 2011-04-12 12:48:31 +0300 4689 4690 Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99. 4691 4692 src/liblzma/Makefile.am | 2 +- 4693 src/liblzma/api/lzma/version.h | 2 +- 4694 2 files changed, 2 insertions(+), 2 deletions(-) 4695 4696commit 9a4377be0d21e597c66bad6c7452873aebfb3c1c 4697Author: Lasse Collin <lasse.collin@tukaani.org> 4698Date: 2011-04-12 12:42:37 +0300 4699 4700 Put the unstable APIs behind #ifdef LZMA_UNSTABLE. 4701 4702 This way people hopefully won't complain if these APIs 4703 change and break code that used an older API. 4704 4705 src/liblzma/api/lzma/container.h | 4 ++++ 4706 src/liblzma/common/common.h | 2 ++ 4707 src/xz/private.h | 2 ++ 4708 3 files changed, 8 insertions(+) 4709 4710commit 3e321a3acd50002cf6fdfd259e910f56d3389bc3 4711Author: Lasse Collin <lasse.collin@tukaani.org> 4712Date: 2011-04-12 11:59:49 +0300 4713 4714 Remove doubled words from documentation and comments. 4715 4716 Spot candidates by running these commands: 4717 git ls-files |xargs perl -0777 -n \ 4718 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \ 4719 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}' 4720 4721 Thanks to Jim Meyering for the original patch. 4722 4723 doc/lzma-file-format.txt | 4 ++-- 4724 src/liblzma/common/alone_encoder.c | 2 +- 4725 src/liblzma/lzma/lzma2_encoder.c | 2 +- 4726 src/xz/file_io.c | 2 +- 4727 src/xz/xz.1 | 2 +- 4728 windows/INSTALL-Windows.txt | 2 +- 4729 6 files changed, 7 insertions(+), 7 deletions(-) 4730 4731commit d91a84b534b012d19474f2fda1fbcaef873e1ba4 4732Author: Lasse Collin <lasse.collin@tukaani.org> 4733Date: 2011-04-12 11:46:01 +0300 4734 4735 Update NEWS. 4736 4737 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 4738 1 file changed, 45 insertions(+), 2 deletions(-) 4739 4740commit 14e6ad8cfe0165c1a8beeb5b2a1536558b29b0a1 4741Author: Lasse Collin <lasse.collin@tukaani.org> 4742Date: 2011-04-12 11:45:40 +0300 4743 4744 Update TODO. 4745 4746 TODO | 12 +++++++++++- 4747 1 file changed, 11 insertions(+), 1 deletion(-) 4748 4749commit 70e750f59793f9b5cd306a5adce9b8e427739e04 4750Author: Lasse Collin <lasse.collin@tukaani.org> 4751Date: 2011-04-12 11:08:55 +0300 4752 4753 xz: Update the man page about threading. 4754 4755 src/xz/xz.1 | 34 ++++++++++++++++++++-------------- 4756 1 file changed, 20 insertions(+), 14 deletions(-) 4757 4758commit 24e0406c0fb7494d2037dec033686faf1bf67068 4759Author: Lasse Collin <lasse.collin@tukaani.org> 4760Date: 2011-04-11 22:06:03 +0300 4761 4762 xz: Add support for threaded compression. 4763 4764 src/xz/args.c | 3 +- 4765 src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++---------------------- 4766 2 files changed, 125 insertions(+), 80 deletions(-) 4767 4768commit de678e0c924aa79a19293a8a6ed82e8cb6572a42 4769Author: Lasse Collin <lasse.collin@tukaani.org> 4770Date: 2011-04-11 22:03:30 +0300 4771 4772 liblzma: Add lzma_stream_encoder_mt() for threaded compression. 4773 4774 This is the simplest method to do threading, which splits 4775 the uncompressed data into blocks and compresses them 4776 independently from each other. There's room for improvement 4777 especially to reduce the memory usage, but nevertheless, 4778 this is a good start. 4779 4780 configure.ac | 1 + 4781 src/liblzma/api/lzma/container.h | 163 +++++ 4782 src/liblzma/common/Makefile.inc | 7 + 4783 src/liblzma/common/common.c | 9 +- 4784 src/liblzma/common/common.h | 14 + 4785 src/liblzma/common/outqueue.c | 180 ++++++ 4786 src/liblzma/common/outqueue.h | 155 +++++ 4787 src/liblzma/common/stream_encoder_mt.c | 1011 ++++++++++++++++++++++++++++++++ 4788 8 files changed, 1539 insertions(+), 1 deletion(-) 4789 4790commit 25fe729532cdf4b8fed56a4519b73cf31efaec50 4791Author: Lasse Collin <lasse.collin@tukaani.org> 4792Date: 2011-04-11 21:15:07 +0300 4793 4794 liblzma: Add the forgotten lzma_lzma2_block_size(). 4795 4796 This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a. 4797 4798 src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++ 4799 src/liblzma/lzma/lzma2_encoder.h | 2 ++ 4800 2 files changed, 12 insertions(+) 4801 4802commit 91afb785a1dee34862078d9bf844ef12b8cc3e35 4803Author: Lasse Collin <lasse.collin@tukaani.org> 4804Date: 2011-04-11 21:04:13 +0300 4805 4806 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too. 4807 4808 src/liblzma/api/lzma/container.h | 9 +++++++++ 4809 1 file changed, 9 insertions(+) 4810 4811commit 4a9905302a9e4a1601ae09d650d3f08ce98ae9ee 4812Author: Lasse Collin <lasse.collin@tukaani.org> 4813Date: 2011-04-11 20:59:07 +0300 4814 4815 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better. 4816 4817 It didn't mention the return value that is used if 4818 an error occurs. 4819 4820 src/liblzma/api/lzma/filter.h | 8 ++++++-- 4821 1 file changed, 6 insertions(+), 2 deletions(-) 4822 4823commit 0badb0b1bd649163322783b0bd9e590b4bc7a93d 4824Author: Lasse Collin <lasse.collin@tukaani.org> 4825Date: 2011-04-11 19:28:18 +0300 4826 4827 liblzma: Use memzero() to initialize supported_actions[]. 4828 4829 This is cleaner and makes it simpler to add new members 4830 to lzma_action enumeration. 4831 4832 src/liblzma/common/common.c | 6 ++---- 4833 1 file changed, 2 insertions(+), 4 deletions(-) 4834 4835commit a7934c446a58e20268689899d2a39f50e571f251 4836Author: Lasse Collin <lasse.collin@tukaani.org> 4837Date: 2011-04-11 19:26:27 +0300 4838 4839 liblzma: API comment about lzma_allocator with threaded coding. 4840 4841 src/liblzma/api/lzma/base.h | 18 +++++++++++++----- 4842 1 file changed, 13 insertions(+), 5 deletions(-) 4843 4844commit 5eefc0086d24a65e136352f8c1d19cefb0cbac7a 4845Author: Lasse Collin <lasse.collin@tukaani.org> 4846Date: 2011-04-11 19:16:30 +0300 4847 4848 liblzma: Add an internal function lzma_mt_block_size(). 4849 4850 This is based lzma_chunk_size() that was included in some 4851 development version of liblzma. 4852 4853 src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++------------------- 4854 src/liblzma/common/filter_encoder.h | 4 ++-- 4855 2 files changed, 24 insertions(+), 26 deletions(-) 4856 4857commit d1199274758049fc523d98c5b860ff814a799eec 4858Author: Lasse Collin <lasse.collin@tukaani.org> 4859Date: 2011-04-11 13:59:50 +0300 4860 4861 liblzma: Don't create an empty Block in lzma_stream_buffer_encode(). 4862 4863 Empty Block was created if the input buffer was empty. 4864 Empty Block wastes a few bytes of space, but more importantly 4865 it triggers a bug in XZ Utils 5.0.1 and older when trying 4866 to decompress such a file. 5.0.1 and older consider such 4867 files to be corrupt. I thought that no encoder creates empty 4868 Blocks when releasing 5.0.2 but I was wrong. 4869 4870 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++------- 4871 1 file changed, 13 insertions(+), 7 deletions(-) 4872 4873commit 3b22fc2c87ec85fcdd385c163b68fc49c97aa848 4874Author: Lasse Collin <lasse.collin@tukaani.org> 4875Date: 2011-04-11 13:28:40 +0300 4876 4877 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK. 4878 4879 This return value was missing from the API comments of 4880 four functions. 4881 4882 src/liblzma/api/lzma/block.h | 1 + 4883 src/liblzma/api/lzma/container.h | 3 +++ 4884 2 files changed, 4 insertions(+) 4885 4886commit 71b9380145dccf001f22e66a06b9d508905c25ce 4887Author: Lasse Collin <lasse.collin@tukaani.org> 4888Date: 2011-04-11 13:21:28 +0300 4889 4890 liblzma: Validate encoder arguments better. 4891 4892 The biggest problem was that the integrity check type 4893 wasn't validated, and e.g. lzma_easy_buffer_encode() 4894 would create a corrupt .xz Stream if given an unsupported 4895 Check ID. Luckily applications don't usually try to use 4896 an unsupport Check ID, so this bug is unlikely to cause 4897 many real-world problems. 4898 4899 src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------ 4900 src/liblzma/common/block_encoder.c | 5 +++++ 4901 src/liblzma/common/stream_buffer_encoder.c | 3 +++ 4902 3 files changed, 20 insertions(+), 6 deletions(-) 4903 4904commit ec7e3dbad704268825fc48f0bdd4577bc46b4f13 4905Author: Lasse Collin <lasse.collin@tukaani.org> 4906Date: 2011-04-11 09:57:30 +0300 4907 4908 xz: Move the description of --block-size in --long-help. 4909 4910 src/xz/message.c | 8 ++++---- 4911 1 file changed, 4 insertions(+), 4 deletions(-) 4912 4913commit cd3086ff443bb282bdf556919c28b3e3cbed8169 4914Author: Lasse Collin <lasse.collin@tukaani.org> 4915Date: 2011-04-11 09:55:35 +0300 4916 4917 Docs: Document --single-stream and --block-size. 4918 4919 src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++-- 4920 1 file changed, 36 insertions(+), 2 deletions(-) 4921 4922commit fb64a4924334e3c440865710990fe08090f2fed0 4923Author: Lasse Collin <lasse.collin@tukaani.org> 4924Date: 2011-04-11 09:27:57 +0300 4925 4926 liblzma: Make lzma_stream_encoder_init() static (second try). 4927 4928 It's an internal function and it's not needed by 4929 anything outside stream_encoder.c. 4930 4931 src/liblzma/common/Makefile.inc | 1 - 4932 src/liblzma/common/easy_encoder.c | 1 - 4933 src/liblzma/common/stream_encoder.c | 13 ++++++------- 4934 src/liblzma/common/stream_encoder.h | 23 ----------------------- 4935 4 files changed, 6 insertions(+), 32 deletions(-) 4936 4937commit a34730cf6af4d33a4057914e57227b6dfde6567e 4938Author: Lasse Collin <lasse.collin@tukaani.org> 4939Date: 2011-04-11 08:31:42 +0300 4940 4941 Revert "liblzma: Make lzma_stream_encoder_init() static." 4942 4943 This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7. 4944 I don't know what I was thinking. 4945 4946 src/liblzma/common/Makefile.inc | 1 + 4947 src/liblzma/common/stream_encoder.c | 9 +++++---- 4948 src/liblzma/common/stream_encoder.h | 23 +++++++++++++++++++++++ 4949 3 files changed, 29 insertions(+), 4 deletions(-) 4950 4951commit 9f0a806aef7ea79718e3f1f2baf3564295229a27 4952Author: Lasse Collin <lasse.collin@tukaani.org> 4953Date: 2011-04-10 21:23:21 +0300 4954 4955 Revise mythread.h. 4956 4957 This adds: 4958 4959 - mythread_sync() macro to create synchronized blocks 4960 4961 - mythread_cond structure and related functions 4962 and macros for condition variables with timed 4963 waiting using a relative timeout 4964 4965 - mythread_create() to create a thread with all 4966 signals blocked 4967 4968 Some of these wouldn't need to be inline functions, 4969 but I'll keep them this way for now for simplicity. 4970 4971 For timed waiting on a condition variable, librt is 4972 now required on some systems to use clock_gettime(). 4973 configure.ac was updated to handle this. 4974 4975 configure.ac | 1 + 4976 src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++----- 4977 2 files changed, 181 insertions(+), 20 deletions(-) 4978 4979commit 352ac82db5d3f64585c07b39e4759388dec0e4d7 4980Author: Lasse Collin <lasse.collin@tukaani.org> 4981Date: 2011-04-10 20:37:36 +0300 4982 4983 liblzma: Make lzma_stream_encoder_init() static. 4984 4985 It's an internal function and it's not needed by 4986 anything outside stream_encoder.c. 4987 4988 src/liblzma/common/Makefile.inc | 1 - 4989 src/liblzma/common/stream_encoder.c | 9 ++++----- 4990 src/liblzma/common/stream_encoder.h | 23 ----------------------- 4991 3 files changed, 4 insertions(+), 29 deletions(-) 4992 4993commit 9e807fe3fe79618ac48f58207cf7082ea20a6928 4994Author: Lasse Collin <lasse.collin@tukaani.org> 4995Date: 2011-04-10 14:58:10 +0300 4996 4997 DOS: Update the docs and include notes about 8.3 filenames. 4998 4999 dos/{README => INSTALL.txt} | 13 +---- 5000 dos/README.txt | 123 ++++++++++++++++++++++++++++++++++++++++++++ 5001 2 files changed, 125 insertions(+), 11 deletions(-) 5002 5003commit ebd54dbd6e481d31e80757f900ac8109ad1423c6 5004Author: Lasse Collin <lasse.collin@tukaani.org> 5005Date: 2011-04-10 13:09:42 +0300 5006 5007 xz/DOS: Add experimental 8.3 filename support. 5008 5009 This is incompatible with the 8.3 support patch made by 5010 Juan Manuel Guerrero. I think this one is nicer, but 5011 I need to get feedback from DOS users before saying 5012 that this is the final version of 8.3 filename support. 5013 5014 src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 5015 1 file changed, 167 insertions(+), 9 deletions(-) 5016 5017commit cd4fe97852bcaeffe674ee51b4613709292a0972 5018Author: Lasse Collin <lasse.collin@tukaani.org> 5019Date: 2011-04-10 12:47:47 +0300 5020 5021 xz/DOS: Be more careful with the destination file. 5022 5023 Try to avoid overwriting the source file if --force is 5024 used and the generated destination filename refers to 5025 the source file. This can happen with 8.3 filenames where 5026 extra characters are ignored. 5027 5028 If the generated output file refers to a special file 5029 like "con" or "prn", refuse to write to it even if --force 5030 is used. 5031 5032 src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++-- 5033 1 file changed, 33 insertions(+), 2 deletions(-) 5034 5035commit 607f9f98ae5ef6d49f4c21c806d462bf6b3d6796 5036Author: Lasse Collin <lasse.collin@tukaani.org> 5037Date: 2011-04-09 18:29:30 +0300 5038 5039 Update THANKS. 5040 5041 THANKS | 1 + 5042 1 file changed, 1 insertion(+) 5043 5044commit fca396b37410d272b754843a5dc13847be443a3a 5045Author: Lasse Collin <lasse.collin@tukaani.org> 5046Date: 2011-04-09 18:28:58 +0300 5047 5048 liblzma: Add missing #ifdefs to filter_common.c. 5049 5050 Passing --disable-decoders to configure broke a few 5051 encoders due to missing #ifdefs in filter_common.c. 5052 5053 Thanks to Jason Gorski for the patch. 5054 5055 src/liblzma/common/filter_common.c | 6 +++--- 5056 1 file changed, 3 insertions(+), 3 deletions(-) 5057 5058commit b03f6cd3ebadd675f2cc9d518cb26fa860269447 5059Author: Lasse Collin <lasse.collin@tukaani.org> 5060Date: 2011-04-09 15:24:59 +0300 5061 5062 xz: Avoid unneeded fstat() on DOS-like systems. 5063 5064 src/xz/file_io.c | 14 ++++++++------ 5065 1 file changed, 8 insertions(+), 6 deletions(-) 5066 5067commit 335fe260a81f61ec99ff5940df733b4c50aedb7c 5068Author: Lasse Collin <lasse.collin@tukaani.org> 5069Date: 2011-04-09 15:11:13 +0300 5070 5071 xz: Minor internal changes to handling of --threads. 5072 5073 Now it always defaults to one thread. Maybe this 5074 will change again if a threading method is added 5075 that doesn't affect memory usage. 5076 5077 src/xz/args.c | 4 ++-- 5078 src/xz/hardware.c | 24 ++++++++++++------------ 5079 src/xz/hardware.h | 9 ++++----- 5080 3 files changed, 18 insertions(+), 19 deletions(-) 5081 5082commit 9edd6ee895fbe71d245a173f48e511f154a99875 5083Author: Lasse Collin <lasse.collin@tukaani.org> 5084Date: 2011-04-08 17:53:05 +0300 5085 5086 xz: Change size_t to uint32_t in a few places. 5087 5088 src/xz/coder.c | 6 +++--- 5089 src/xz/coder.h | 2 +- 5090 2 files changed, 4 insertions(+), 4 deletions(-) 5091 5092commit 411013ea4506a6df24d35a060fcbd73a57b73eb3 5093Author: Lasse Collin <lasse.collin@tukaani.org> 5094Date: 2011-04-08 17:48:41 +0300 5095 5096 xz: Fix a typo in a comment. 5097 5098 src/xz/coder.c | 2 +- 5099 1 file changed, 1 insertion(+), 1 deletion(-) 5100 5101commit b34c5ce4b22e8d7b81f9895d15054af41d17f805 5102Author: Lasse Collin <lasse.collin@tukaani.org> 5103Date: 2011-04-05 22:41:33 +0300 5104 5105 liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c. 5106 5107 src/liblzma/check/sha256.c | 6 +++--- 5108 1 file changed, 3 insertions(+), 3 deletions(-) 5109 5110commit db33117cc85c17e0b897b5312bd5eb43aac41c03 5111Author: Lasse Collin <lasse.collin@tukaani.org> 5112Date: 2011-04-05 17:12:20 +0300 5113 5114 Build: Upgrade m4/acx_pthread.m4 to the latest version. 5115 5116 It was renamed to ax_pthread.m4 in Autoconf Archive. 5117 5118 configure.ac | 2 +- 5119 m4/{acx_pthread.m4 => ax_pthread.m4} | 170 ++++++++++++++++++----------------- 5120 2 files changed, 88 insertions(+), 84 deletions(-) 5121 5122commit 1039bfcfc098b69d56ecb39d198a092552eacf6d 5123Author: Lasse Collin <lasse.collin@tukaani.org> 5124Date: 2011-04-05 15:27:26 +0300 5125 5126 xz: Use posix_fadvise() if it is available. 5127 5128 configure.ac | 3 +++ 5129 src/xz/file_io.c | 15 +++++++++++++++ 5130 2 files changed, 18 insertions(+) 5131 5132commit 1ef3cf44a8eb9512480af4482a5232ea08363b14 5133Author: Lasse Collin <lasse.collin@tukaani.org> 5134Date: 2011-04-05 15:13:29 +0300 5135 5136 xz: Call lzma_end(&strm) before exiting if debugging is enabled. 5137 5138 src/xz/coder.c | 10 ++++++++++ 5139 src/xz/coder.h | 5 +++++ 5140 src/xz/main.c | 4 ++++ 5141 3 files changed, 19 insertions(+) 5142 5143commit bd432015d33dcade611d297bc01eb0700088ef6c 5144Author: Lasse Collin <lasse.collin@tukaani.org> 5145Date: 2011-04-02 14:49:56 +0300 5146 5147 liblzma: Fix a memory leak in stream_encoder.c. 5148 5149 It leaks old filter options structures (hundred bytes or so) 5150 every time the lzma_stream is reinitialized. With the xz tool, 5151 this happens when compressing multiple files. 5152 5153 src/liblzma/common/stream_encoder.c | 2 +- 5154 1 file changed, 1 insertion(+), 1 deletion(-) 5155 5156commit 16889013214e7620d204b6e6c1bf9f3103a13655 5157Author: Lasse Collin <lasse.collin@tukaani.org> 5158Date: 2011-04-01 08:47:20 +0300 5159 5160 Updated NEWS for 5.0.2. 5161 5162 NEWS | 18 ++++++++++++++++++ 5163 1 file changed, 18 insertions(+) 5164 5165commit 85cdf7dd4e97b078e7b929e47f55a7f1da36010f 5166Author: Lasse Collin <lasse.collin@tukaani.org> 5167Date: 2011-03-31 15:06:58 +0300 5168 5169 Update INSTALL with another note about IRIX. 5170 5171 INSTALL | 4 ++++ 5172 1 file changed, 4 insertions(+) 5173 5174commit c3f4995586873d6a4fb7e451010a128571a9a370 5175Author: Lasse Collin <lasse.collin@tukaani.org> 5176Date: 2011-03-31 12:22:55 +0300 5177 5178 Tests: Add a new file to test empty LZMA2 streams. 5179 5180 tests/files/README | 4 ++++ 5181 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes 5182 2 files changed, 4 insertions(+) 5183 5184commit 0d21f49a809dc2088da6cc0da7f948404df7ecfa 5185Author: Lasse Collin <lasse.collin@tukaani.org> 5186Date: 2011-03-31 11:54:48 +0300 5187 5188 liblzma: Fix decoding of LZMA2 streams having no uncompressed data. 5189 5190 The decoder considered empty LZMA2 streams to be corrupt. 5191 This shouldn't matter much with .xz files, because no encoder 5192 creates empty LZMA2 streams in .xz. This bug is more likely 5193 to cause problems in applications that use raw LZMA2 streams. 5194 5195 src/liblzma/lzma/lzma2_decoder.c | 8 ++++---- 5196 1 file changed, 4 insertions(+), 4 deletions(-) 5197 5198commit 40277998cb9bad564ce4827aff152e6e1c904dfa 5199Author: Lasse Collin <lasse.collin@tukaani.org> 5200Date: 2011-03-24 01:42:49 +0200 5201 5202 Scripts: Better fix for xzgrep. 5203 5204 Now it uses "grep -q". 5205 5206 Thanks to Gregory Margo. 5207 5208 src/scripts/xzgrep.in | 8 ++++++-- 5209 1 file changed, 6 insertions(+), 2 deletions(-) 5210 5211commit 2118733045ad0ca183a3f181a0399baf876983a6 5212Author: Lasse Collin <lasse.collin@tukaani.org> 5213Date: 2011-03-24 01:22:18 +0200 5214 5215 Updated THANKS. 5216 5217 THANKS | 1 + 5218 1 file changed, 1 insertion(+) 5219 5220commit c7210d9a3fca6f31a57208bfddfc9ab20a2e097a 5221Author: Lasse Collin <lasse.collin@tukaani.org> 5222Date: 2011-03-24 01:21:32 +0200 5223 5224 Scripts: Fix xzgrep -l. 5225 5226 It didn't work at all. It tried to use the -q option 5227 for grep, but it appended it after "--". This works 5228 around it by redirecting to /dev/null. The downside 5229 is that this can be slower with big files compared 5230 to proper use of "grep -q". 5231 5232 Thanks to Gregory Margo. 5233 5234 src/scripts/xzgrep.in | 4 ++-- 5235 1 file changed, 2 insertions(+), 2 deletions(-) 5236 5237commit 4eb83e32046a6d670862bc91c3d82530963b455e 5238Author: Lasse Collin <lasse.collin@tukaani.org> 5239Date: 2011-03-19 13:08:22 +0200 5240 5241 Scripts: Add lzop (.lzo) support to xzdiff and xzgrep. 5242 5243 src/scripts/xzdiff.1 | 6 ++++-- 5244 src/scripts/xzdiff.in | 22 ++++++++++++++-------- 5245 src/scripts/xzgrep.1 | 11 +++++++---- 5246 src/scripts/xzgrep.in | 5 +++-- 5247 4 files changed, 28 insertions(+), 16 deletions(-) 5248 5249commit 923b22483bd9356f3219b2b784d96f455f4dc499 5250Author: Lasse Collin <lasse.collin@tukaani.org> 5251Date: 2011-03-18 19:10:30 +0200 5252 5253 xz: Add --block-size=SIZE. 5254 5255 This uses LZMA_FULL_FLUSH every SIZE bytes of input. 5256 5257 Man page wasn't updated yet. 5258 5259 src/xz/args.c | 7 +++++++ 5260 src/xz/coder.c | 50 ++++++++++++++++++++++++++++++++++++++++---------- 5261 src/xz/coder.h | 3 +++ 5262 src/xz/message.c | 4 ++++ 5263 4 files changed, 54 insertions(+), 10 deletions(-) 5264 5265commit 57597d42ca1740ad506437be168d800a50f1a0ad 5266Author: Lasse Collin <lasse.collin@tukaani.org> 5267Date: 2011-03-18 18:19:19 +0200 5268 5269 xz: Add --single-stream. 5270 5271 This can be useful when there is garbage after the 5272 compressed stream (.xz, .lzma, or raw stream). 5273 5274 Man page wasn't updated yet. 5275 5276 src/xz/args.c | 6 ++++++ 5277 src/xz/coder.c | 11 +++++++++-- 5278 src/xz/coder.h | 3 +++ 5279 src/xz/message.c | 6 +++++- 5280 4 files changed, 23 insertions(+), 3 deletions(-) 5281 5282commit 96f94bc925d579a700147fa5d7793b64d69cfc18 5283Author: Lasse Collin <lasse.collin@tukaani.org> 5284Date: 2011-02-04 22:49:31 +0200 5285 5286 xz: Clean up suffix.c. 5287 5288 struct suffix_pair isn't needed in compresed_name() 5289 so get rid of it there. 5290 5291 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------ 5292 1 file changed, 20 insertions(+), 24 deletions(-) 5293 5294commit 8930c7ae3f82bdae15aa129f01de08be23d7e8d7 5295Author: Lasse Collin <lasse.collin@tukaani.org> 5296Date: 2011-02-04 11:29:47 +0200 5297 5298 xz: Check if the file already has custom suffix when compressing. 5299 5300 Now "xz -S .test foo.test" refuses to compress the 5301 file because it already has the suffix .test. The man 5302 page had it documented this way already. 5303 5304 src/xz/suffix.c | 9 +++++++++ 5305 1 file changed, 9 insertions(+) 5306 5307commit 940d5852c6cf08abccc6befd9d1b5411c9076a58 5308Author: Lasse Collin <lasse.collin@tukaani.org> 5309Date: 2011-02-02 23:01:51 +0200 5310 5311 Updated THANKS. 5312 5313 THANKS | 1 + 5314 1 file changed, 1 insertion(+) 5315 5316commit 4ebe65f839613f27f127bab7b8c347d982330ee3 5317Author: Lasse Collin <lasse.collin@tukaani.org> 5318Date: 2011-02-02 23:00:33 +0200 5319 5320 Translations: Add Polish translation. 5321 5322 Thanks to Jakub Bogusz. 5323 5324 po/LINGUAS | 1 + 5325 po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5326 2 files changed, 826 insertions(+) 5327 5328commit fc1d292dca1925dfd17174f443f91a696ecd5bf8 5329Author: Lasse Collin <lasse.collin@tukaani.org> 5330Date: 2011-02-02 22:24:00 +0200 5331 5332 Updated THANKS. 5333 5334 THANKS | 1 + 5335 1 file changed, 1 insertion(+) 5336 5337commit 6dd061adfd2775428b079eb03d6fd47d7c0f1ffe 5338Merge: 9d542ce 5fbce0b 5339Author: Lasse Collin <lasse.collin@tukaani.org> 5340Date: 2011-02-06 20:13:01 +0200 5341 5342 Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d' 5343 5344commit 5fbce0b8d96dc96775aa0215e3581addc830e23d 5345Author: Lasse Collin <lasse.collin@tukaani.org> 5346Date: 2011-01-28 20:16:57 +0200 5347 5348 Update NEWS for 5.0.1. 5349 5350 NEWS | 14 ++++++++++++++ 5351 1 file changed, 14 insertions(+) 5352 5353commit 03ebd1bbb314f9f204940219a835c883bf442475 5354Author: Lasse Collin <lasse.collin@tukaani.org> 5355Date: 2011-01-26 12:19:08 +0200 5356 5357 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files. 5358 5359 xz didn't compress setuid/setgid/sticky files and files 5360 with multiple hard links even with --force. This bug was 5361 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4. 5362 5363 Thanks to Charles Wilson. 5364 5365 src/xz/file_io.c | 15 +++++++-------- 5366 1 file changed, 7 insertions(+), 8 deletions(-) 5367 5368commit 9d542ceebcbe40b174169c132ccfcdc720ca7089 5369Merge: 4f2c69a 7bd0a5e 5370Author: Lasse Collin <lasse.collin@tukaani.org> 5371Date: 2011-01-19 11:45:35 +0200 5372 5373 Merge branch 'v5.0' 5374 5375commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136 5376Author: Lasse Collin <lasse.collin@tukaani.org> 5377Date: 2011-01-18 21:25:24 +0200 5378 5379 Updated THANKS. 5380 5381 THANKS | 1 + 5382 1 file changed, 1 insertion(+) 5383 5384commit f71c4e16e913f660977526f0ef8d2acdf458d7c9 5385Author: Lasse Collin <lasse.collin@tukaani.org> 5386Date: 2011-01-18 21:23:50 +0200 5387 5388 Add alloc_size and malloc attributes to a few functions. 5389 5390 Thanks to Cristian Rodríguez for the original patch. 5391 5392 src/common/sysdefs.h | 6 ++++++ 5393 src/liblzma/common/common.h | 2 +- 5394 src/xz/util.h | 5 +++-- 5395 3 files changed, 10 insertions(+), 3 deletions(-) 5396 5397commit 316cbe24465143edde8f6ffb7532834b7b2ea93f 5398Author: Lasse Collin <lasse.collin@tukaani.org> 5399Date: 2010-12-13 16:36:33 +0200 5400 5401 Scripts: Fix gzip and bzip2 support in xzdiff. 5402 5403 src/scripts/xzdiff.in | 12 ++++++------ 5404 1 file changed, 6 insertions(+), 6 deletions(-) 5405 5406commit 4f2c69a4e3e0aee2e37b0b1671d34086e20c8ac6 5407Merge: adb89e6 9311774 5408Author: Lasse Collin <lasse.collin@tukaani.org> 5409Date: 2010-12-12 23:13:22 +0200 5410 5411 Merge branch 'v5.0' 5412 5413commit 9311774c493c19deab51ded919dcd2e9c4aa2829 5414Author: Lasse Collin <lasse.collin@tukaani.org> 5415Date: 2010-12-12 21:23:55 +0200 5416 5417 Build: Enable ASM on DJGPP by default. 5418 5419 configure.ac | 2 +- 5420 1 file changed, 1 insertion(+), 1 deletion(-) 5421 5422commit 4a42aaee282fc73b482581684d65110506d5efdd 5423Author: Lasse Collin <lasse.collin@tukaani.org> 5424Date: 2010-12-12 16:09:42 +0200 5425 5426 Updated THANKS. 5427 5428 THANKS | 1 + 5429 1 file changed, 1 insertion(+) 5430 5431commit ce56f63c41ee210e6308090eb6d49221fdf67d6c 5432Author: Lasse Collin <lasse.collin@tukaani.org> 5433Date: 2010-12-12 16:07:11 +0200 5434 5435 Add missing PRIx32 and PRIx64 compatibility definitions. 5436 5437 This fixes portability to systems that lack C99 inttypes.h. 5438 5439 Thanks to Juan Manuel Guerrero. 5440 5441 src/common/sysdefs.h | 9 +++++++++ 5442 1 file changed, 9 insertions(+) 5443 5444commit e6baedddcf54e7da049ebc49183565b99facd4c7 5445Author: Lasse Collin <lasse.collin@tukaani.org> 5446Date: 2010-12-12 14:50:04 +0200 5447 5448 DOS-like: Treat \ and : as directory separators in addition to /. 5449 5450 Juan Manuel Guerrero had fixed this in his XZ Utils port 5451 to DOS/DJGPP. The bug affects also Windows and OS/2. 5452 5453 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++---- 5454 1 file changed, 29 insertions(+), 4 deletions(-) 5455 5456commit adb89e68d43a4cadb0c215b45ef7a75737c9c3ec 5457Merge: 7c24e0d b7afd3e 5458Author: Lasse Collin <lasse.collin@tukaani.org> 5459Date: 2010-12-07 18:53:04 +0200 5460 5461 Merge branch 'v5.0' 5462 5463commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f 5464Author: Lasse Collin <lasse.collin@tukaani.org> 5465Date: 2010-12-07 18:52:04 +0200 5466 5467 Translations: Fix Czech translation of "sparse file". 5468 5469 Thanks to Petr Hubený and Marek Černocký. 5470 5471 po/cs.po | 88 ++++++++++++++++++++++++++++++++-------------------------------- 5472 1 file changed, 44 insertions(+), 44 deletions(-) 5473 5474commit 7c24e0d1b8a2e86e9263b0d56d39621e01aed7af 5475Merge: b4d42f1 3e56470 5476Author: Lasse Collin <lasse.collin@tukaani.org> 5477Date: 2010-11-15 14:33:01 +0200 5478 5479 Merge branch 'v5.0' 5480 5481commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e 5482Author: Lasse Collin <lasse.collin@tukaani.org> 5483Date: 2010-11-15 14:28:26 +0200 5484 5485 liblzma: Document the return value of lzma_lzma_preset(). 5486 5487 src/liblzma/api/lzma/lzma.h | 3 +++ 5488 1 file changed, 3 insertions(+) 5489 5490commit 2964d8d691ed92abdcf214888d79ad6d79774735 5491Author: Jonathan Nieder <jrnieder@gmail.com> 5492Date: 2010-11-12 15:22:13 -0600 5493 5494 Simplify paths in generated API docs 5495 5496 Currently the file list generated by Doxygen has src/ at the 5497 beginning of each path. Paths like common/sysdefs.h and 5498 liblzma/api/lzma.h are easier to read without such a prefix. 5499 5500 Builds from a separate build directory with 5501 5502 mkdir build 5503 cd build 5504 ../configure 5505 doxygen Doxyfile 5506 5507 include an even longer prefix /home/someone/src/xz/src; this 5508 patch has the nice side-effect of eliminating that prefix, too. 5509 5510 Fixes: http://bugs.debian.org/572273 5511 5512 Doxyfile.in | 2 +- 5513 1 file changed, 1 insertion(+), 1 deletion(-) 5514 5515commit b4d42f1a7120e2cefeb2f14425efe2ca6db85416 5516Author: Anders F Bjorklund <afb@users.sourceforge.net> 5517Date: 2010-11-05 12:56:11 +0100 5518 5519 add build script for macosx universal 5520 5521 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5522 1 file changed, 92 insertions(+) 5523 5524commit 15ee6935abe4a2fc76639ee342ca2e69af3e0ad6 5525Author: Lasse Collin <lasse.collin@tukaani.org> 5526Date: 2010-11-04 18:31:40 +0200 5527 5528 Update the copies of GPLv2 and LGPLv2.1 from gnu.org. 5529 5530 There are only a few white space changes. 5531 5532 COPYING.GPLv2 | 14 +++++++------- 5533 COPYING.LGPLv2.1 | 16 +++++++--------- 5534 2 files changed, 14 insertions(+), 16 deletions(-) 5535 5536commit 8e355f7fdbeee6fe394eb02a28f267ce99a882a2 5537Merge: 974ebe6 37c2565 5538Author: Lasse Collin <lasse.collin@tukaani.org> 5539Date: 2010-10-26 15:53:06 +0300 5540 5541 Merge branch 'v5.0' 5542 5543commit 37c25658efd25b034266daf87cd381d20d1df776 5544Author: Lasse Collin <lasse.collin@tukaani.org> 5545Date: 2010-10-26 15:48:48 +0300 5546 5547 Build: Copy the example programs to $docdir/examples. 5548 5549 The example programs by Daniel Mealha Cabrita were included 5550 in the git repository, but I had forgot to add them to 5551 Makefile.am. Thus, they didn't get included in the source 5552 package at all by "make dist". 5553 5554 Makefile.am | 5 +++++ 5555 windows/build.bash | 3 ++- 5556 2 files changed, 7 insertions(+), 1 deletion(-) 5557 5558commit 974ebe63497bdf0d262e06474f0dd5a70b1dd000 5559Author: Lasse Collin <lasse.collin@tukaani.org> 5560Date: 2010-10-26 10:36:41 +0300 5561 5562 liblzma: Rename a few variables and constants. 5563 5564 This has no semantic changes. I find the new names slightly 5565 more logical and they match the names that are already used 5566 in XZ Embedded. 5567 5568 The name fastpos wasn't changed (not worth the hassle). 5569 5570 src/liblzma/lzma/fastpos.h | 55 +++++------ 5571 src/liblzma/lzma/lzma2_encoder.c | 2 +- 5572 src/liblzma/lzma/lzma_common.h | 45 ++++----- 5573 src/liblzma/lzma/lzma_decoder.c | 58 +++++------ 5574 src/liblzma/lzma/lzma_encoder.c | 56 +++++------ 5575 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 9 +- 5576 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 128 ++++++++++++------------- 5577 src/liblzma/lzma/lzma_encoder_private.h | 16 ++-- 5578 8 files changed, 183 insertions(+), 186 deletions(-) 5579 5580commit 7c427ec38d016c0070a42315d752857e33792fc4 5581Author: Lasse Collin <lasse.collin@tukaani.org> 5582Date: 2010-10-25 12:59:25 +0300 5583 5584 Bump version 5.1.0alpha. 5585 5586 src/liblzma/api/lzma/version.h | 4 ++-- 5587 1 file changed, 2 insertions(+), 2 deletions(-) 5588 5589commit e45929260cd902036efd40c5610a8d0a50d5712b 5590Author: Lasse Collin <lasse.collin@tukaani.org> 5591Date: 2010-10-23 17:25:52 +0300 5592 5593 Build: Fix mydist rule when .git doesn't exist. 5594 5595 Makefile.am | 1 + 5596 1 file changed, 1 insertion(+) 5597 5598commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168 5599Author: Lasse Collin <lasse.collin@tukaani.org> 5600Date: 2010-10-23 14:15:35 +0300 5601 5602 Add NEWS for 5.0.0. 5603 5604 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5605 1 file changed, 62 insertions(+) 5606 5607commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c 5608Author: Lasse Collin <lasse.collin@tukaani.org> 5609Date: 2010-10-23 14:02:53 +0300 5610 5611 Bump version to 5.0.0 and liblzma version-info to 5:0:0. 5612 5613 src/liblzma/Makefile.am | 2 +- 5614 src/liblzma/api/lzma/version.h | 8 ++++---- 5615 2 files changed, 5 insertions(+), 5 deletions(-) 5616