Lines Matching +full:tests +full:/ +full:files +full:/ +full:good +full:- +full:1 +full:- +full:check +full:- +full:crc32 +full:. +full:xz
2 Author: Lasse Collin <lasse.collin@tukaani.org>
3 Date: 2018-04-29 19:00:06 +0300
5 Bump version and soname for 5.2.4.
7 src/liblzma/Makefile.am | 2 +-
8 src/liblzma/api/lzma/version.h | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
12 Author: Lasse Collin <lasse.collin@tukaani.org>
13 Date: 2018-04-29 18:48:00 +0300
15 extra/scanlzma: Fix compiler warnings.
17 extra/scanlzma/scanlzma.c | 6 +++++-
18 1 file changed, 5 insertions(+), 1 deletion(-)
21 Author: Lasse Collin <lasse.collin@tukaani.org>
22 Date: 2018-04-29 18:15:37 +0300
24 Add NEWS for 5.2.4.
27 1 file changed, 27 insertions(+)
30 Author: Lasse Collin <lasse.collin@tukaani.org>
31 Date: 2018-02-06 19:36:30 +0200
33 Update THANKS.
36 1 file changed, 2 insertions(+)
39 Author: Ben Boeckel <mathstuf@gmail.com>
40 Date: 2018-01-29 13:58:18 -0500
45 preffered instead.
47 src/liblzma/api/lzma.h | 6 +++++-
48 1 file changed, 5 insertions(+), 1 deletion(-)
51 Author: Lasse Collin <lasse.collin@tukaani.org>
52 Date: 2018-02-06 18:02:48 +0200
54 liblzma: Remove incorrect #ifdef from range_common.h.
57 custom build systems.
59 Thanks to Pippijn van Steenhoven.
61 src/liblzma/rangecoder/range_common.h | 4 +---
62 1 file changed, 1 insertion(+), 3 deletions(-)
65 Author: Lasse Collin <lasse.collin@tukaani.org>
66 Date: 2018-01-10 22:10:39 +0200
68 Update THANKS.
70 THANKS | 1 +
71 1 file changed, 1 insertion(+)
74 Author: Lasse Collin <lasse.collin@tukaani.org>
75 Date: 2018-01-10 21:54:27 +0200
77 tuklib_integer: New Intel C compiler needs immintrin.h.
79 Thanks to Melanie Blower (Intel) for the patch.
81 src/common/tuklib_integer.h | 11 +++++++++++
82 1 file changed, 11 insertions(+)
85 Author: Lasse Collin <lasse.collin@tukaani.org>
86 Date: 2017-09-24 20:04:24 +0300
88 Update THANKS.
90 THANKS | 1 +
91 1 file changed, 1 insertion(+)
93 commit 1ef3cc226e3ce173575c218238b71a4eecabc470
94 Author: Lasse Collin <lasse.collin@tukaani.org>
95 Date: 2017-09-16 20:36:20 +0300
97 Windows: Fix paths in VS project files.
100 separators... now it should work (I tested VS2013 version).
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(-)
109 Author: Lasse Collin <lasse.collin@tukaani.org>
110 Date: 2017-09-16 12:54:23 +0300
112 Windows: Add project files for VS2017.
114 These files match the v5.2 branch (no file info decoder).
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(+)
123 Author: Lasse Collin <lasse.collin@tukaani.org>
124 Date: 2017-09-16 12:39:43 +0300
126 Windows: Move VS2013 files into windows/vs2013 directory.
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(-)
135 Author: Lasse Collin <lasse.collin@tukaani.org>
136 Date: 2017-08-14 20:08:33 +0300
138 Fix or hide warnings from GCC 7's -Wimplicit-fallthrough.
140 src/liblzma/lzma/lzma_decoder.c | 6 ++++++
141 src/xz/list.c | 2 ++
142 2 files changed, 8 insertions(+)
145 Author: Alexey Tourbin <alexey.tourbin@gmail.com>
146 Date: 2017-05-16 23:56:35 +0300
148 Docs: Fix a typo in a comment in doc/examples/02_decompress.c.
150 doc/examples/02_decompress.c | 2 +-
151 1 file changed, 1 insertion(+), 1 deletion(-)
154 Author: Lasse Collin <lasse.collin@tukaani.org>
155 Date: 2017-05-23 18:34:43 +0300
157 xz: Fix "xz --list --robot missing_or_bad_file.xz".
159 It ended up printing an uninitialized char-array when trying to
160 print the check names (column 7) on the "totals" line.
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.
166 Thanks to kidmin for the bug report.
168 src/xz/list.c | 8 ++++++--
169 1 file changed, 6 insertions(+), 2 deletions(-)
172 Author: Lasse Collin <lasse.collin@tukaani.org>
173 Date: 2017-04-24 19:48:47 +0300
175 Build: Omit pre-5.0.0 entries from the generated ChangeLog.
177 It makes ChangeLog significantly smaller.
179 Makefile.am | 3 ++-
180 1 file changed, 2 insertions(+), 1 deletion(-)
183 Author: Lasse Collin <lasse.collin@tukaani.org>
184 Date: 2017-04-24 19:30:22 +0300
186 Update the Git repository URL to HTTPS in ChangeLog.
188 ChangeLog | 2 +-
189 1 file changed, 1 insertion(+), 1 deletion(-)
192 Author: Lasse Collin <lasse.collin@tukaani.org>
193 Date: 2017-04-19 22:17:35 +0300
195 Update the home page URLs to HTTPS.
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(-)
210 Author: Lasse Collin <lasse.collin@tukaani.org>
211 Date: 2017-03-30 22:01:54 +0300
213 xz: Use POSIX_FADV_RANDOM for in "xz --list" mode.
215 xz --list is random access so POSIX_FADV_SEQUENTIAL was clearly
216 wrong.
218 src/xz/file_io.c | 10 ++++++++--
219 1 file changed, 8 insertions(+), 2 deletions(-)
222 Author: Lasse Collin <lasse.collin@tukaani.org>
223 Date: 2017-03-30 19:47:45 +0300
225 liblzma: Fix lzma_memlimit_set(strm, 0).
228 the function did nothing. The API doc said that 0 was supposed
229 to return LZMA_PROG_ERROR but it didn't.
231 Now 0 is treated as if 1 had been specified. This is done because
233 and lzma_memusage().
236 limit is at least LZMA_MEMUSAGE_BASE. It's counter-productive
238 auto decoder. Auto decoder has now been modified to check for
239 LZMA_MEMUSAGE_BASE.
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(-)
247 Author: Lasse Collin <lasse.collin@tukaani.org>
248 Date: 2017-03-30 19:16:55 +0300
250 liblzma: Similar memlimit fix for stream_, alone_, and auto_decoder.
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(-)
259 Author: Lasse Collin <lasse.collin@tukaani.org>
260 Date: 2017-03-30 18:58:18 +0300
262 liblzma: Fix handling of memlimit == 0 in lzma_index_decoder().
266 LZMA_PROG_ERROR is simply inconvenient and can cause bugs.
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.
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
276 the memory usage limit is too low.
278 src/liblzma/api/lzma/index.h | 18 +++++++++++-------
279 src/liblzma/common/index_decoder.c | 4 ++--
280 2 files changed, 13 insertions(+), 9 deletions(-)
283 Author: Lasse Collin <lasse.collin@tukaani.org>
284 Date: 2016-12-30 13:26:36 +0200
286 Bump version and soname for 5.2.3.
288 src/liblzma/Makefile.am | 2 +-
289 src/liblzma/api/lzma/version.h | 2 +-
290 2 files changed, 2 insertions(+), 2 deletions(-)
293 Author: Lasse Collin <lasse.collin@tukaani.org>
294 Date: 2016-12-30 13:25:10 +0200
296 Update NEWS for 5.2.3.
299 1 file changed, 39 insertions(+)
302 Author: Lasse Collin <lasse.collin@tukaani.org>
303 Date: 2015-04-01 14:45:25 +0300
305 xz: Fix the Capsicum rights on user_abort_pipe.
307 src/xz/file_io.c | 6 +++++-
308 1 file changed, 5 insertions(+), 1 deletion(-)
311 Author: Lasse Collin <lasse.collin@tukaani.org>
312 Date: 2016-12-28 21:05:22 +0200
314 Mention potential sandboxing bugs in INSTALL.
316 INSTALL | 5 ++++-
317 1 file changed, 4 insertions(+), 1 deletion(-)
320 Author: Lasse Collin <lasse.collin@tukaani.org>
321 Date: 2016-11-21 20:24:50 +0200
323 liblzma: Avoid multiple definitions of lzma_coder structures.
325 Only one definition was visible in a translation unit.
327 this hack doesn't work with link-time optimizations in compilers
328 as it's not C99/C11 compliant.
331 http://www.mail-archive.com/xz-devel@tukaani.org/msg00279.html
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(-)
371 Author: Lasse Collin <lasse.collin@tukaani.org>
372 Date: 2016-12-26 20:50:25 +0200
374 Document --enable-sandbox configure option in INSTALL.
377 1 file changed, 25 insertions(+)
380 Author: Lasse Collin <lasse.collin@tukaani.org>
381 Date: 2015-03-31 22:19:34 +0300
383 xz: Add support for sandboxing with Capsicum (disabled by default).
385 In the v5.2 branch this feature is considered experimental
386 and thus disabled by default.
388 The sandboxing is used conditionally as described in main.c.
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.
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
400 been seen yet.
403 and there is a port to Linux too.
405 Thanks to Loganaden Velvindron for help.
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(-)
416 Author: Lasse Collin <lasse.collin@tukaani.org>
417 Date: 2015-03-31 21:12:30 +0300
419 Fix bugs and otherwise improve ax_check_capsicum.m4.
422 with the old version.
424 It no longer checks for <sys/capability.h> separately.
425 It's enough to test for it as part of AC_CHECK_DECL.
427 HAVE_CAPSICUM_SYS_CAPABILITY_H were removed as unneeded.
428 HAVE_SYS_CAPSICUM_H from AC_CHECK_HEADERS is enough.
431 if the header wasn't found.
433 Fixed a bug in ACTION-IF-FOUND (the first argument). Specifying
435 wasn't used instead.
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.
442 The documentation was updated.
444 Since there as no serial number, "#serial 2" was added.
446 m4/ax_check_capsicum.m4 | 103 ++++++++++++++++++++++++------------------------
447 1 file changed, 51 insertions(+), 52 deletions(-)
450 Author: Lasse Collin <lasse.collin@tukaani.org>
451 Date: 2015-03-31 19:20:24 +0300
453 Add m4/ax_check_capsicum.m4 for detecting Capsicum support.
456 https://github.com/google/capsicum-test/blob/dev/autoconf/m4/ax_check_capsicum.m4
458 Thanks to Loganaden Velvindron for pointing it out for me.
460 m4/ax_check_capsicum.m4 | 86 +++++++++++++++++++++++++++++++++++++++++++++++++
461 1 file changed, 86 insertions(+)
464 Author: Lasse Collin <lasse.collin@tukaani.org>
465 Date: 2015-10-12 20:29:09 +0300
467 liblzma: Fix a memory leak in error path of lzma_index_dup().
471 by index_stream_init(). However, it illogically didn't
472 actually free the memory. To make it logical, the tree
474 index_stream_end().
476 Thanks to Evan Nemerson for the bug report.
478 src/liblzma/common/index.c | 18 +++++++++---------
479 1 file changed, 9 insertions(+), 9 deletions(-)
482 Author: Lasse Collin <lasse.collin@tukaani.org>
483 Date: 2016-10-24 18:53:25 +0300
485 Update THANKS.
487 THANKS | 1 +
488 1 file changed, 1 insertion(+)
491 Author: Lasse Collin <lasse.collin@tukaani.org>
492 Date: 2016-10-24 18:51:36 +0300
494 tuklib_cpucores: Add support for sched_getaffinity().
496 It's available in glibc (GNU/Linux, GNU/kFreeBSD). It's better
499 the total number of cores online.
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.
508 and testing.
510 m4/tuklib_cpucores.m4 | 30 +++++++++++++++++++++++++++++-
511 src/common/tuklib_cpucores.c | 9 +++++++++
512 2 files changed, 38 insertions(+), 1 deletion(-)
515 Author: Lasse Collin <lasse.collin@tukaani.org>
516 Date: 2016-06-30 20:27:36 +0300
518 xz: Fix copying of timestamps on Windows.
520 xz used to call utime() on Windows, but its result gets lost
521 on close(). Using _futime() seems to work.
524 http://www.mail-archive.com/xz-devel@tukaani.org/msg00261.html
526 configure.ac | 2 +-
527 src/xz/file_io.c | 18 ++++++++++++++++++
528 2 files changed, 19 insertions(+), 1 deletion(-)
530 commit 1ddc479851139d6e8202e5835421bfe6578d9e07
531 Author: Lasse Collin <lasse.collin@tukaani.org>
532 Date: 2016-06-16 22:46:02 +0300
534 xz: Silence warnings from -Wlogical-op.
536 Thanks to Evan Nemerson.
538 src/xz/file_io.c | 12 ++++++++++--
539 1 file changed, 10 insertions(+), 2 deletions(-)
542 Author: Lasse Collin <lasse.collin@tukaani.org>
543 Date: 2016-04-10 20:55:49 +0300
545 Build: Fix = to += for xz_SOURCES in src/xz/Makefile.am.
547 Thanks to Christian Kujau.
549 src/xz/Makefile.am | 2 +-
550 1 file changed, 1 insertion(+), 1 deletion(-)
553 Author: Lasse Collin <lasse.collin@tukaani.org>
554 Date: 2016-04-10 20:54:17 +0300
556 Build: Bump GNU Gettext version requirement to 0.19.
559 0.19 even on stable distributions.
561 Thanks to Christian Kujau.
563 configure.ac | 2 +-
564 1 file changed, 1 insertion(+), 1 deletion(-)
567 Author: Lasse Collin <lasse.collin@tukaani.org>
568 Date: 2016-03-13 20:21:49 +0200
570 liblzma: Disable external SHA-256 by default.
572 This is the sane thing to do. The conflict with OpenSSL
573 on some OSes and especially that the OS-provided versions
575 a mistake to have the external SHA-256 support enabled by
576 default.
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.
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
585 external SHA-256 is disabled by default.
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.
592 configure.ac | 76 +++++++++++++++++++++++------------------------
593 src/liblzma/check/check.h | 16 ++++------
594 3 files changed, 79 insertions(+), 49 deletions(-)
597 Author: Lasse Collin <lasse.collin@tukaani.org>
598 Date: 2016-03-10 20:27:05 +0200
600 Update THANKS.
602 THANKS | 1 +
603 1 file changed, 1 insertion(+)
606 Author: Lasse Collin <lasse.collin@tukaani.org>
607 Date: 2016-03-10 20:26:49 +0200
609 Build: Avoid SHA256_Init on FreeBSD and MINIX 3.
612 with libcrypto from OpenSSL. The OpenSSL version has
614 problems if wrong SHA256_Init gets used.
617 I'm not sure. To be safe, I disabled SHA256_Init on MINIX 3 too.
620 but they already fixed it in 2009.
623 in finding the problem.
625 configure.ac | 27 +++++++++++++++++++++------
626 1 file changed, 21 insertions(+), 6 deletions(-)
629 Author: Lasse Collin <lasse.collin@tukaani.org>
630 Date: 2015-11-08 20:16:10 +0200
632 tuklib_physmem: Hopefully silence a warning on Windows.
634 src/common/tuklib_physmem.c | 3 ++-
635 1 file changed, 2 insertions(+), 1 deletion(-)
638 Author: Lasse Collin <lasse.collin@tukaani.org>
639 Date: 2015-11-04 23:17:43 +0200
641 Update THANKS.
643 THANKS | 1 +
644 1 file changed, 1 insertion(+)
647 Author: Lasse Collin <lasse.collin@tukaani.org>
648 Date: 2015-11-04 23:14:00 +0200
650 liblzma: Make Valgrind happier with optimized (gcc -O2) liblzma.
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.
657 Thanks to Rich Prohaska. I remember this being mentioned long
658 ago by someone else but nothing was done back then.
660 src/liblzma/lz/lz_encoder.c | 4 ++++
661 1 file changed, 4 insertions(+)
664 Author: Lasse Collin <lasse.collin@tukaani.org>
665 Date: 2015-11-03 20:55:45 +0200
667 liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c.
670 just because of this.
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(-)
677 Author: Lasse Collin <lasse.collin@tukaani.org>
678 Date: 2015-11-03 20:47:07 +0200
680 Build: Disable xzdec, lzmadec, and lzmainfo when they cannot be built.
683 there's no point trying to build them.
685 configure.ac | 3 +++
686 1 file changed, 3 insertions(+)
689 Author: Lasse Collin <lasse.collin@tukaani.org>
690 Date: 2015-11-03 20:35:19 +0200
692 Build: Simplify $enable_{encoders,decoders} usage a bit.
694 configure.ac | 6 ++++--
695 1 file changed, 4 insertions(+), 2 deletions(-)
698 Author: Lasse Collin <lasse.collin@tukaani.org>
699 Date: 2015-11-03 20:31:31 +0200
701 Windows/MSVC: Update config.h.
703 windows/config.h | 6 ++++++
704 1 file changed, 6 insertions(+)
707 Author: Lasse Collin <lasse.collin@tukaani.org>
708 Date: 2015-11-03 20:29:58 +0200
710 DOS: Update config.h.
712 dos/config.h | 6 ++++++
713 1 file changed, 6 insertions(+)
716 Author: Lasse Collin <lasse.collin@tukaani.org>
717 Date: 2015-11-03 20:29:33 +0200
719 xz: Make xz buildable even when encoders or decoders are disabled.
722 to omit code when encoders or decoders have been disabled.
724 This adds two new #defines to config.h: HAVE_ENCODERS and
725 HAVE_DECODERS.
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(-)
736 Author: Lasse Collin <lasse.collin@tukaani.org>
737 Date: 2015-11-03 18:06:40 +0200
739 Build: Build LZMA1/2 presets also when only decoder is wanted.
742 but xz uses the presets as the starting point for raw decoder
743 options anyway.
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.
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(-)
753 Author: Lasse Collin <lasse.collin@tukaani.org>
754 Date: 2015-11-03 17:54:48 +0200
756 Build: Fix configure to handle LZMA1 dependency with LZMA2.
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.
762 configure.ac | 5 -----
763 1 file changed, 5 deletions(-)
766 Author: Lasse Collin <lasse.collin@tukaani.org>
767 Date: 2015-11-03 17:41:54 +0200
769 Build: Don't omit lzma_cputhreads() unless using --disable-threads.
772 with --disable-encoders. It didn't make sense and
773 it also broke the build.
775 src/liblzma/common/Makefile.inc | 5 ++++-
776 1 file changed, 4 insertions(+), 1 deletion(-)
779 Author: Lasse Collin <lasse.collin@tukaani.org>
780 Date: 2015-11-02 18:16:51 +0200
782 liblzma: Fix a build failure related to external SHA-256 support.
785 but a library with a usable SHA-256 functions wasn't, the build
786 failed.
788 src/liblzma/check/check.h | 32 +++++++++++++++++++++++---------
789 1 file changed, 23 insertions(+), 9 deletions(-)
792 Author: Lasse Collin <lasse.collin@tukaani.org>
793 Date: 2015-11-02 15:19:10 +0200
795 xz: Always close the file before trying to delete it.
797 unlink() can return EBUSY in errno for open files on some
798 operating systems and file systems.
800 src/xz/file_io.c | 25 ++++++++++++-------------
801 1 file changed, 12 insertions(+), 13 deletions(-)
804 Author: Lasse Collin <lasse.collin@tukaani.org>
805 Date: 2015-10-12 21:08:42 +0300
807 Update THANKS.
809 THANKS | 1 +
810 1 file changed, 1 insertion(+)
813 Author: Lasse Collin <lasse.collin@tukaani.org>
814 Date: 2015-10-12 21:07:41 +0300
816 Tests: Add tests for the two bugs fixed in index.c.
818 tests/test_index.c | 30 ++++++++++++++++++++++++++++++
819 1 file changed, 30 insertions(+)
822 Author: Lasse Collin <lasse.collin@tukaani.org>
823 Date: 2015-10-12 20:45:15 +0300
825 liblzma: Fix lzma_index_dup() for empty Streams.
828 empty Streams.
830 src/liblzma/common/index.c | 11 ++++++-----
831 1 file changed, 6 insertions(+), 5 deletions(-)
834 Author: Lasse Collin <lasse.collin@tukaani.org>
835 Date: 2015-10-12 20:31:44 +0300
837 liblzma: Add a note to index.c for those using static analyzers.
839 src/liblzma/common/index.c | 3 +++
840 1 file changed, 3 insertions(+)
843 Author: Lasse Collin <lasse.collin@tukaani.org>
844 Date: 2015-09-29 13:59:35 +0300
846 Bump version and soname for 5.2.2.
848 src/liblzma/Makefile.am | 2 +-
849 src/liblzma/api/lzma/version.h | 2 +-
850 2 files changed, 2 insertions(+), 2 deletions(-)
853 Author: Lasse Collin <lasse.collin@tukaani.org>
854 Date: 2015-09-29 13:57:28 +0300
856 Update NEWS for 5.2.2.
859 1 file changed, 18 insertions(+)
862 Author: Andre Noll <maan@tuebingen.mpg.de>
863 Date: 2015-05-28 15:50:00 +0200
865 Fix typo in German translation.
868 translation of the compression preset option (-0 ... -9) help text.
870 form is "des Komprimierers". The old word makes no sense at all.
872 po/de.po | 2 +-
873 1 file changed, 1 insertion(+), 1 deletion(-)
876 Author: Hauke Henningsen <sqrt@entless.org>
877 Date: 2015-08-17 04:59:54 +0200
881 Provide an update of the German translation.
884 should not be separated.
886 concept, replace “(De-)Kompression” with “(De-)Komprimierung”.
889 a process.
890 * Consistently translate “standard input”/“output”
895 * Consistently start option descriptions in --help with capital letters
897 Acked-By: Andre Noll <maan@tuebingen.mpg.de>
901 po/de.po | 383 ++++++++++++++++++++++++++++++++-------------------------------
902 1 file changed, 196 insertions(+), 187 deletions(-)
905 Author: Lasse Collin <lasse.collin@tukaani.org>
906 Date: 2015-08-11 13:23:04 +0300
908 Build: Minor Cygwin cleanup.
910 Some tests used "cygwin*" and some used "cygwin". I changed
911 them all to use "cygwin". Shouldn't affect anything in practice.
913 configure.ac | 6 +++---
914 1 file changed, 3 insertions(+), 3 deletions(-)
917 Author: Lasse Collin <lasse.collin@tukaani.org>
918 Date: 2015-08-11 13:21:52 +0300
920 Build: Support building of MSYS2 binaries.
922 configure.ac | 16 +++++++++++-----
923 1 file changed, 11 insertions(+), 5 deletions(-)
926 Author: Lasse Collin <lasse.collin@tukaani.org>
927 Date: 2015-08-09 21:06:26 +0300
929 Windows: Define DLL_EXPORT when building liblzma.dll with MSVC.
931 src/liblzma/common/common.h uses it to set __declspec(dllexport)
932 for the API symbols.
934 Thanks to Adam Walling.
936 windows/liblzma_dll.vcxproj | 12 ++++++------
937 1 file changed, 6 insertions(+), 6 deletions(-)
940 Author: Lasse Collin <lasse.collin@tukaani.org>
941 Date: 2015-08-09 21:02:20 +0300
943 Windows: Omit unneeded header files from MSVC project files.
945 windows/liblzma.vcxproj | 5 -----
946 windows/liblzma_dll.vcxproj | 5 -----
947 2 files changed, 10 deletions(-)
950 Author: Lasse Collin <lasse.collin@tukaani.org>
951 Date: 2015-07-12 20:48:19 +0300
953 liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer.
955 src/liblzma/api/lzma.h | 18 +++++++++++++-----
956 1 file changed, 13 insertions(+), 5 deletions(-)
959 Author: Lasse Collin <lasse.collin@tukaani.org>
960 Date: 2015-06-19 20:38:55 +0300
962 Update THANKS.
965 1 file changed, 2 insertions(+)
968 Author: Lasse Collin <lasse.collin@tukaani.org>
969 Date: 2015-06-19 20:21:30 +0300
971 Windows: Update the docs.
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(-)
979 Author: Lasse Collin <lasse.collin@tukaani.org>
980 Date: 2015-06-19 17:25:31 +0300
982 Windows: Add MSVC project files for building liblzma.
984 Thanks to Adam Walling for creating these files.
986 windows/liblzma.vcxproj | 359 ++++++++++++++++++++++++++++++++++++++++
987 windows/liblzma_dll.vcxproj | 388 ++++++++++++++++++++++++++++++++++++++++++++
988 windows/xz_win.sln | 48 ++++++
989 3 files changed, 795 insertions(+)
992 Author: Lasse Collin <lasse.collin@tukaani.org>
993 Date: 2015-05-13 20:57:55 +0300
995 Tests: Fix a memory leak in test_bcj_exact_size.
997 Thanks to Cristian Rodríguez.
999 tests/test_bcj_exact_size.c | 1 +
1000 1 file changed, 1 insertion(+)
1003 Author: Lasse Collin <lasse.collin@tukaani.org>
1004 Date: 2015-05-12 18:08:24 +0300
1006 Fix NEWS about threading in 5.2.0.
1008 Thanks to Andy Hochhaus.
1010 NEWS | 3 ++-
1011 1 file changed, 2 insertions(+), 1 deletion(-)
1014 Author: Lasse Collin <lasse.collin@tukaani.org>
1015 Date: 2015-05-11 21:26:16 +0300
1017 xz: Document that threaded decompression hasn't been implemented yet.
1019 src/xz/xz.1 | 10 +++++++++-
1020 1 file changed, 9 insertions(+), 1 deletion(-)
1023 Author: Lasse Collin <lasse.collin@tukaani.org>
1024 Date: 2015-04-20 20:20:29 +0300
1026 Update THANKS.
1028 THANKS | 1 +
1029 1 file changed, 1 insertion(+)
1032 Author: Lasse Collin <lasse.collin@tukaani.org>
1033 Date: 2015-04-20 19:59:18 +0300
1035 Revert "xz: Use pipe2() if available."
1037 This reverts commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd.
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.
1043 Thanks to Michael Fox for the bug report.
1045 configure.ac | 4 ++--
1046 src/xz/file_io.c | 9 +--------
1047 2 files changed, 3 insertions(+), 10 deletions(-)
1050 Author: Lasse Collin <lasse.collin@tukaani.org>
1051 Date: 2015-03-29 22:14:47 +0300
1053 Update THANKS.
1055 THANKS | 1 +
1056 1 file changed, 1 insertion(+)
1059 Author: Lasse Collin <lasse.collin@tukaani.org>
1060 Date: 2015-03-29 22:13:48 +0300
1062 Fix the detection of installed RAM on QNX.
1065 since sysconf(_SC_PHYS_PAGES) always fails (or so I was told).
1067 Thanks to Ole André Vadla Ravnås for the patch and testing.
1069 m4/tuklib_physmem.m4 | 6 +++---
1070 src/common/tuklib_physmem.c | 14 +++++++++++++-
1071 2 files changed, 16 insertions(+), 4 deletions(-)
1074 Author: Lasse Collin <lasse.collin@tukaani.org>
1075 Date: 2015-03-27 22:39:07 +0200
1077 Fix CPU core count detection on QNX.
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.
1084 sysconf() works. An alternative would have been to use
1085 QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>.
1087 Thanks to Ole André Vadla Ravnås.
1089 m4/tuklib_cpucores.m4 | 15 +++++++++++----
1090 1 file changed, 11 insertions(+), 4 deletions(-)
1093 Author: Lasse Collin <lasse.collin@tukaani.org>
1094 Date: 2015-03-07 22:05:57 +0200
1096 xz: size_t/uint32_t cleanup in options.c.
1098 src/xz/options.c | 12 ++++++------
1099 1 file changed, 6 insertions(+), 6 deletions(-)
1102 Author: Lasse Collin <lasse.collin@tukaani.org>
1103 Date: 2015-03-07 22:04:23 +0200
1105 xz: Fix a comment and silence a warning in message.c.
1107 src/xz/message.c | 5 +++--
1108 1 file changed, 3 insertions(+), 2 deletions(-)
1111 Author: Lasse Collin <lasse.collin@tukaani.org>
1112 Date: 2015-03-07 22:01:00 +0200
1114 liblzma: Silence more uint32_t vs. size_t warnings.
1116 src/liblzma/lz/lz_encoder.c | 2 +-
1117 src/liblzma/lzma/lzma_encoder.c | 2 +-
1118 2 files changed, 2 insertions(+), 2 deletions(-)
1121 Author: Lasse Collin <lasse.collin@tukaani.org>
1122 Date: 2015-03-07 19:54:00 +0200
1124 xz: Make arg_count an unsigned int to silence a warning.
1127 but it's nicer as an unsigned int.
1129 src/xz/args.h | 2 +-
1130 src/xz/main.c | 2 +-
1131 2 files changed, 2 insertions(+), 2 deletions(-)
1134 Author: Lasse Collin <lasse.collin@tukaani.org>
1135 Date: 2015-03-07 19:33:17 +0200
1137 liblzma: Fix a warning in index.c.
1139 src/liblzma/common/index.c | 4 +++-
1140 1 file changed, 3 insertions(+), 1 deletion(-)
1143 Author: Lasse Collin <lasse.collin@tukaani.org>
1144 Date: 2015-02-26 20:46:14 +0200
1146 Build: Fix a CR+LF problem when running autoreconf -fi on OS/2.
1148 build-aux/version.sh | 2 +-
1149 1 file changed, 1 insertion(+), 1 deletion(-)
1152 Author: Lasse Collin <lasse.collin@tukaani.org>
1153 Date: 2015-02-26 16:53:44 +0200
1155 Bump version and soname for 5.2.1.
1157 src/liblzma/Makefile.am | 2 +-
1158 src/liblzma/api/lzma/version.h | 2 +-
1159 2 files changed, 2 insertions(+), 2 deletions(-)
1162 Author: Lasse Collin <lasse.collin@tukaani.org>
1163 Date: 2015-02-26 13:01:09 +0200
1165 Update NEWS for 5.2.1.
1168 1 file changed, 14 insertions(+)
1171 Author: Lasse Collin <lasse.collin@tukaani.org>
1172 Date: 2015-02-22 19:38:48 +0200
1174 xz: Use pipe2() if available.
1176 configure.ac | 4 ++--
1177 src/xz/file_io.c | 9 ++++++++-
1178 2 files changed, 10 insertions(+), 3 deletions(-)
1181 Author: Lasse Collin <lasse.collin@tukaani.org>
1182 Date: 2015-02-21 23:40:26 +0200
1184 liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode.
1188 affected 5.1.4beta and 5.2.0. Luckily the bug cannot
1189 cause data corruption or other nasty things.
1191 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
1192 1 file changed, 1 insertion(+), 1 deletion(-)
1195 Author: Lasse Collin <lasse.collin@tukaani.org>
1196 Date: 2015-02-21 23:00:19 +0200
1198 xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick.
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.
1203 src/xz/file_io.c | 16 +++++++++++-----
1204 1 file changed, 11 insertions(+), 5 deletions(-)
1207 Author: Lasse Collin <lasse.collin@tukaani.org>
1208 Date: 2015-02-10 15:29:34 +0200
1210 Update THANKS.
1212 THANKS | 1 +
1213 1 file changed, 1 insertion(+)
1216 Author: Lasse Collin <lasse.collin@tukaani.org>
1217 Date: 2015-02-10 15:28:30 +0200
1219 tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available.
1222 the number of available cores.
1224 Thanks to Rui Paulo for the patch. I edited it slightly, but
1225 hopefully I didn't break anything.
1227 m4/tuklib_cpucores.m4 | 23 ++++++++++++++++++++++-
1228 src/common/tuklib_cpucores.c | 18 ++++++++++++++++++
1229 2 files changed, 40 insertions(+), 1 deletion(-)
1232 Author: Lasse Collin <lasse.collin@tukaani.org>
1233 Date: 2015-02-09 22:08:37 +0200
1235 xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp.
1237 Thanks to Rui Paulo for the fix.
1239 src/scripts/xzdiff.in | 7 ++++++-
1240 1 file changed, 6 insertions(+), 1 deletion(-)
1243 Author: Lasse Collin <lasse.collin@tukaani.org>
1244 Date: 2015-02-03 21:45:53 +0200
1246 Add a few casts to tuklib_integer.h to silence possible warnings.
1248 I heard that Visual Studio 2013 gave warnings without the casts.
1250 Thanks to Gabi Davar.
1252 src/common/tuklib_integer.h | 24 ++++++++++++------------
1253 1 file changed, 12 insertions(+), 12 deletions(-)
1256 Author: Lasse Collin <lasse.collin@tukaani.org>
1257 Date: 2015-01-26 21:24:39 +0200
1259 liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method.
1261 src/liblzma/common/memcmplen.h | 15 ++++++++++-----
1262 1 file changed, 10 insertions(+), 5 deletions(-)
1265 Author: Lasse Collin <lasse.collin@tukaani.org>
1266 Date: 2015-01-26 20:40:16 +0200
1268 Update THANKS.
1270 THANKS | 1 +
1271 1 file changed, 1 insertion(+)
1274 Author: Lasse Collin <lasse.collin@tukaani.org>
1275 Date: 2015-01-26 20:39:28 +0200
1277 liblzma: Silence harmless Valgrind errors.
1279 Thanks to Torsten Rupp for reporting this. I had
1280 forgotten to run Valgrind before the 5.2.0 release.
1282 src/liblzma/lz/lz_encoder.c | 6 ++++++
1283 1 file changed, 6 insertions(+)
1286 Author: Lasse Collin <lasse.collin@tukaani.org>
1287 Date: 2015-01-09 21:50:19 +0200
1289 xz: Fix comments.
1291 src/xz/file_io.c | 12 ++++++++----
1292 1 file changed, 8 insertions(+), 4 deletions(-)
1295 Author: Lasse Collin <lasse.collin@tukaani.org>
1296 Date: 2015-01-09 21:35:06 +0200
1298 Update THANKS.
1300 THANKS | 1 +
1301 1 file changed, 1 insertion(+)
1304 Author: Lasse Collin <lasse.collin@tukaani.org>
1305 Date: 2015-01-09 21:34:06 +0200
1307 xz: Don't fail if stdout doesn't support O_NONBLOCK.
1309 This is similar to the case with stdin.
1312 on OpenBSD.
1314 src/xz/file_io.c | 36 +++++++++++++++---------------------
1315 1 file changed, 15 insertions(+), 21 deletions(-)
1318 Author: Lasse Collin <lasse.collin@tukaani.org>
1319 Date: 2015-01-07 19:18:20 +0200
1321 xz: Fix a memory leak in DOS-specific code.
1323 src/xz/file_io.c | 2 ++
1324 1 file changed, 2 insertions(+)
1327 Author: Lasse Collin <lasse.collin@tukaani.org>
1328 Date: 2015-01-07 19:08:06 +0200
1330 xz: Don't fail if stdin doesn't support O_NONBLOCK.
1333 O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's
1335 in POSIX-1.2008.
1338 and included in 5.1.3alpha released on 2013-10-26. Clearly
1339 the development releases only get limited testing.
1341 src/xz/file_io.c | 18 +++++++-----------
1342 1 file changed, 7 insertions(+), 11 deletions(-)
1345 Author: Lasse Collin <lasse.collin@tukaani.org>
1346 Date: 2015-01-06 20:30:15 +0200
1348 Tests: Don't hide unexpected error messages in test_files.sh.
1351 when testing the "good" files. With "bad" files errors are
1352 expected and then it makes sense to keep the messages hidden.
1354 tests/test_files.sh | 4 ++--
1355 1 file changed, 2 insertions(+), 2 deletions(-)
1358 Author: Lasse Collin <lasse.collin@tukaani.org>
1359 Date: 2014-12-30 11:17:16 +0200
1361 Update Solaris notes in INSTALL.
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.
1369 1 file changed, 4 insertions(+)
1372 Author: Lasse Collin <lasse.collin@tukaani.org>
1373 Date: 2014-12-26 12:00:05 +0200
1375 Build: POSIX shell isn't required if scripts are disabled.
1377 INSTALL | 3 ++-
1378 configure.ac | 2 +-
1379 2 files changed, 3 insertions(+), 2 deletions(-)
1382 Author: Lasse Collin <lasse.collin@tukaani.org>
1383 Date: 2014-12-21 20:48:37 +0200
1385 DOS: Update Makefile.
1387 dos/Makefile | 1 +
1388 1 file changed, 1 insertion(+)
1391 Author: Lasse Collin <lasse.collin@tukaani.org>
1392 Date: 2014-12-21 19:50:38 +0200
1394 Windows: Fix bin_i486 to bin_i686 in build.bash.
1396 windows/build.bash | 2 +-
1397 1 file changed, 1 insertion(+), 1 deletion(-)
1400 Author: Lasse Collin <lasse.collin@tukaani.org>
1401 Date: 2014-12-21 18:58:44 +0200
1403 Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c.
1405 doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++----
1406 1 file changed, 26 insertions(+), 4 deletions(-)
1409 Author: Lasse Collin <lasse.collin@tukaani.org>
1410 Date: 2014-12-21 18:56:44 +0200
1412 Docs: Update docs/examples/00_README.txt.
1414 doc/examples/00_README.txt | 4 ++++
1415 1 file changed, 4 insertions(+)
1418 Author: Lasse Collin <lasse.collin@tukaani.org>
1419 Date: 2014-12-21 18:11:17 +0200
1421 Bump version and soname for 5.2.0.
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.
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(-)
1434 Author: Lasse Collin <lasse.collin@tukaani.org>
1435 Date: 2014-12-21 18:05:03 +0200
1437 Avoid variable-length arrays in the debug programs.
1439 debug/full_flush.c | 3 ++-
1440 debug/sync_flush.c | 3 ++-
1441 2 files changed, 4 insertions(+), 2 deletions(-)
1444 Author: Lasse Collin <lasse.collin@tukaani.org>
1445 Date: 2014-12-21 18:01:45 +0200
1447 Build: Include 04_compress_easy_mt.c in the tarball.
1449 Makefile.am | 1 +
1450 1 file changed, 1 insertion(+)
1453 Author: Lasse Collin <lasse.collin@tukaani.org>
1454 Date: 2014-12-21 18:00:38 +0200
1456 Fix build when --disable-threads is used.
1458 src/common/mythread.h | 2 ++
1459 1 file changed, 2 insertions(+)
1462 Author: Adrien Nader <adrien@notk.org>
1463 Date: 2014-12-21 15:56:15 +0100
1465 po/fr: improve wording for help for --lzma1/--lzma2.
1467 po/fr.po | 2 +-
1468 1 file changed, 1 insertion(+), 1 deletion(-)
1471 Author: Adrien Nader <adrien@notk.org>
1472 Date: 2014-12-21 15:55:48 +0100
1474 po/fr: missing line in translation of --extreme.
1476 po/fr.po | 1 +
1477 1 file changed, 1 insertion(+)
1480 Author: Lasse Collin <lasse.collin@tukaani.org>
1481 Date: 2014-12-21 14:32:33 +0200
1483 Update NEWS for 5.2.0.
1486 1 file changed, 65 insertions(+)
1489 Author: Lasse Collin <lasse.collin@tukaani.org>
1490 Date: 2014-12-21 14:32:22 +0200
1492 Update NEWS for 5.0.8.
1495 1 file changed, 12 insertions(+)
1498 Author: Lasse Collin <lasse.collin@tukaani.org>
1499 Date: 2014-12-21 14:07:54 +0200
1501 xz: Fix a comment.
1503 src/xz/options.c | 4 ++--
1504 1 file changed, 2 insertions(+), 2 deletions(-)
1507 Author: Lasse Collin <lasse.collin@tukaani.org>
1508 Date: 2014-12-20 20:43:14 +0200
1510 Update INSTALL about the dependencies of the scripts.
1512 INSTALL | 15 ++++++++++-----
1513 1 file changed, 10 insertions(+), 5 deletions(-)
1516 Author: Lasse Collin <lasse.collin@tukaani.org>
1517 Date: 2014-12-20 20:42:33 +0200
1519 Windows: Update build instructions.
1521 INSTALL | 15 +++++++++------
1522 windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++-----------------------
1523 2 files changed, 30 insertions(+), 29 deletions(-)
1526 Author: Lasse Collin <lasse.collin@tukaani.org>
1527 Date: 2014-12-20 20:41:48 +0200
1529 Windows: Update the build script and README-Windows.txt.
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.
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.
1539 windows/README-Windows.txt | 30 ++++++++++++++++--------------
1540 windows/build.bash | 23 ++++++++++++++---------
1541 2 files changed, 30 insertions(+), 23 deletions(-)
1544 Author: Lasse Collin <lasse.collin@tukaani.org>
1545 Date: 2014-12-19 15:51:50 +0200
1547 Windows: Define TUKLIB_SYMBOL_PREFIX in config.h.
1549 It is to keep all symbols in the lzma_ namespace.
1551 windows/config.h | 3 +++
1552 1 file changed, 3 insertions(+)
1555 Author: Lasse Collin <lasse.collin@tukaani.org>
1556 Date: 2014-12-16 21:00:09 +0200
1558 xz: Update the man page about --threads.
1560 src/xz/xz.1 | 5 -----
1561 1 file changed, 5 deletions(-)
1564 Author: Lasse Collin <lasse.collin@tukaani.org>
1565 Date: 2014-12-16 20:57:43 +0200
1567 xz: Update the man page about --block-size.
1569 src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++--------
1570 1 file changed, 33 insertions(+), 8 deletions(-)
1573 Author: Adrien Nader <adrien@notk.org>
1574 Date: 2014-12-10 22:26:57 +0100
1576 po/fr: several more translation updates: reword and handle --ignore-check.
1578 po/fr.po | 50 ++++++++++++++++++++++++++------------------------
1579 1 file changed, 26 insertions(+), 24 deletions(-)
1582 Author: Adrien Nader <adrien@notk.org>
1583 Date: 2014-12-10 22:23:01 +0100
1585 po/fr: yet another place where my email address had to be updated.
1587 po/fr.po | 2 +-
1588 1 file changed, 1 insertion(+), 1 deletion(-)
1591 Author: Adrien Nader <adrien@notk.org>
1592 Date: 2014-12-10 22:22:20 +0100
1594 po/fr: fix several typos that have been around since the beginning.
1596 po/fr.po | 22 +++++++++++-----------
1597 1 file changed, 11 insertions(+), 11 deletions(-)
1600 Author: Adrien Nader <adrien@notk.org>
1601 Date: 2014-12-03 20:02:31 +0100
1603 po/fr: last batch of new translations for now.
1605 Four new error messages.
1607 po/fr.po | 16 ++++++++--------
1608 1 file changed, 8 insertions(+), 8 deletions(-)
1611 Author: Adrien Nader <adrien@notk.org>
1612 Date: 2014-12-03 20:01:32 +0100
1614 po/fr: translations for --threads, --block-size and --block-list.
1616 po/fr.po | 12 ++++++++----
1617 1 file changed, 8 insertions(+), 4 deletions(-)
1620 Author: Adrien Nader <adrien@notk.org>
1621 Date: 2014-12-03 20:00:53 +0100
1623 po/fr: remove fuzzy marker for error messages that will be kept in English.
1625 The following is a copy of a comment inside fr.po:
1627 Note from translator on "file status flags".
1628 The following entry is kept un-translated on purpose. It is difficult to
1631 - lose some of the meaning
1632 - make it more difficult to look up in search engines; it might happen one
1635 almost impossible to find an explanation and support for the error.
1637 po/fr.po | 22 ++++++++++++++++------
1638 1 file changed, 16 insertions(+), 6 deletions(-)
1641 Author: Adrien Nader <adrien@notk.org>
1642 Date: 2014-12-03 19:58:25 +0100
1644 po/fr: several minor updates and better wording.
1646 Meaning doesn't change at all: it's only for better wording and/or
1647 formatting of a few strings.
1649 po/fr.po | 14 +++++++-------
1650 1 file changed, 7 insertions(+), 7 deletions(-)
1653 Author: Adrien Nader <adrien@notk.org>
1654 Date: 2014-12-03 19:56:12 +0100
1656 po/fr: update my email address and copyright years.
1658 po/fr.po | 4 ++--
1659 1 file changed, 2 insertions(+), 2 deletions(-)
1662 Author: Adrien Nader <adrien@notk.org>
1663 Date: 2014-11-26 10:08:26 +0100
1665 fr.po: commit file after only "update-po" so actual is readable.
1667 po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++-----------------------
1668 1 file changed, 199 insertions(+), 112 deletions(-)
1671 Author: Lasse Collin <lasse.collin@tukaani.org>
1672 Date: 2014-12-02 20:04:07 +0200
1674 liblzma: Document how lzma_mt.block_size affects memory usage.
1676 src/liblzma/api/lzma/container.h | 4 ++++
1677 1 file changed, 4 insertions(+)
1680 Author: Lasse Collin <lasse.collin@tukaani.org>
1681 Date: 2014-11-28 20:07:18 +0200
1683 Update INSTALL about a "make check" failure in test_scripts.sh.
1685 INSTALL | 24 +++++++++++++++++-------
1686 1 file changed, 17 insertions(+), 7 deletions(-)
1689 Author: Lasse Collin <lasse.collin@tukaani.org>
1690 Date: 2014-11-26 20:12:27 +0200
1692 Remove LZMA_UNSTABLE macro.
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(-)
1700 Author: Lasse Collin <lasse.collin@tukaani.org>
1701 Date: 2014-11-26 20:10:33 +0200
1703 liblzma: Update lzma_stream_encoder_mt() API docs.
1705 src/liblzma/api/lzma/container.h | 5 +++--
1706 1 file changed, 3 insertions(+), 2 deletions(-)
1709 Author: Lasse Collin <lasse.collin@tukaani.org>
1710 Date: 2014-11-25 12:32:05 +0200
1712 liblzma: Verify the filter chain in threaded encoder initialization.
1717 the actual filter encoder(s).
1719 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
1720 1 file changed, 6 insertions(+), 3 deletions(-)
1723 Author: Lasse Collin <lasse.collin@tukaani.org>
1724 Date: 2014-11-17 19:11:49 +0200
1726 Build: Update m4/ax_pthread.m4 from Autoconf Archive.
1728 m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++-------------------
1729 1 file changed, 47 insertions(+), 24 deletions(-)
1732 Author: Lasse Collin <lasse.collin@tukaani.org>
1733 Date: 2014-11-17 18:52:21 +0200
1735 Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING.
1737 configure.ac | 36 ++++++++++++++++++------------------
1738 m4/tuklib_integer.m4 | 2 +-
1739 2 files changed, 19 insertions(+), 19 deletions(-)
1742 Author: Lasse Collin <lasse.collin@tukaani.org>
1743 Date: 2014-11-17 18:43:19 +0200
1745 Build: Fix Autoconf warnings about escaped backquotes.
1747 Thanks to Daniel Richard G. for pointing out that it's
1748 good to sometimes run autoreconf -fi with -Wall.
1750 configure.ac | 7 +++----
1751 1 file changed, 3 insertions(+), 4 deletions(-)
1754 Author: Lasse Collin <lasse.collin@tukaani.org>
1755 Date: 2014-11-10 18:54:40 +0200
1757 xzdiff: Use mkdir if mktemp isn't available.
1759 src/scripts/xzdiff.in | 17 ++++++++++++++++-
1760 1 file changed, 16 insertions(+), 1 deletion(-)
1763 Author: Lasse Collin <lasse.collin@tukaani.org>
1764 Date: 2014-11-10 18:45:01 +0200
1766 xzdiff: Create a temporary directory to hold a temporary file.
1769 creating a temp file when the input file name is very long.
1772 see the input file names in /tmp (or whatever $TMPDIR is)
1773 since the temporary directory will have a generic name. This
1775 the arguments given to all processes anyway.
1777 The number X chars to mktemp where increased from 6 to 10.
1779 Note that with some shells temp files or dirs won't be used at all.
1781 src/scripts/xzdiff.in | 10 +++++-----
1782 1 file changed, 5 insertions(+), 5 deletions(-)
1785 Author: Lasse Collin <lasse.collin@tukaani.org>
1786 Date: 2014-11-10 15:38:47 +0200
1788 liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage().
1790 It read the filter chain from a wrong variable. This is a similar
1791 bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e.
1793 src/liblzma/common/stream_encoder_mt.c | 3 +--
1794 1 file changed, 1 insertion(+), 2 deletions(-)
1797 Author: Lasse Collin <lasse.collin@tukaani.org>
1798 Date: 2014-11-10 14:49:55 +0200
1800 Update THANKS.
1802 THANKS | 1 +
1803 1 file changed, 1 insertion(+)
1806 Author: Lasse Collin <lasse.collin@tukaani.org>
1807 Date: 2014-10-29 21:28:25 +0200
1809 Update .gitignore files.
1811 .gitignore | 2 ++
1812 m4/.gitignore | 3 +++
1813 2 files changed, 5 insertions(+)
1816 Author: Lasse Collin <lasse.collin@tukaani.org>
1817 Date: 2014-10-29 21:15:35 +0200
1819 Build: Prepare to support Automake's subdir-objects.
1821 Due to a bug in Automake, subdir-objects won't be enabled
1822 for now.
1824 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354
1826 Thanks to Daniel Richard G. for the original patches.
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(-)
1837 Author: Lasse Collin <lasse.collin@tukaani.org>
1838 Date: 2014-10-24 20:09:29 +0300
1840 Translations: Update the Italian translation.
1842 Thanks to Milo Casagrande.
1844 po/it.po | 452 ++++++++++++++++++++++++++++++++++++++-------------------------
1845 1 file changed, 275 insertions(+), 177 deletions(-)
1848 Author: Lasse Collin <lasse.collin@tukaani.org>
1849 Date: 2014-10-18 18:51:45 +0300
1851 Translations: Update the Polish translation.
1853 Thanks to Jakub Bogusz.
1855 po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++-----------------------
1856 1 file changed, 214 insertions(+), 118 deletions(-)
1859 Author: Andre Noll <maan@tuebingen.mpg.de>
1860 Date: 2014-10-14 17:30:30 +0200
1862 l10n: de.po: Change translator email address.
1865 be preferred. So this commit changes all three places in de.po
1866 accordingly.
1868 Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>
1870 po/de.po | 6 +++---
1871 1 file changed, 3 insertions(+), 3 deletions(-)
1874 Author: Andre Noll <maan@tuebingen.mpg.de>
1875 Date: 2014-10-14 17:30:29 +0200
1877 l10n: de.po: Update German translation
1879 Signed-off-by: Andre Noll <maan@systemlinux.org>
1881 po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------
1882 1 file changed, 281 insertions(+), 250 deletions(-)
1885 Author: Andre Noll <maan@tuebingen.mpg.de>
1886 Date: 2014-10-14 17:30:28 +0200
1888 l10n: de.po: Fix typo: Schießen -> Schließen.
1892 Signed-off-by: Andre Noll <maan@systemlinux.org>
1894 po/de.po | 2 +-
1895 1 file changed, 1 insertion(+), 1 deletion(-)
1898 Author: Lasse Collin <lasse.collin@tukaani.org>
1899 Date: 2014-10-09 19:42:26 +0300
1901 Update THANKS.
1903 THANKS | 1 +
1904 1 file changed, 1 insertion(+)
1907 Author: Lasse Collin <lasse.collin@tukaani.org>
1908 Date: 2014-10-09 19:41:51 +0300
1910 Add support for AmigaOS/AROS to tuklib_physmem().
1912 Thanks to Fredrik Wikstrom.
1914 m4/tuklib_physmem.m4 | 3 ++-
1915 src/common/tuklib_physmem.c | 7 +++++++
1916 2 files changed, 9 insertions(+), 1 deletion(-)
1919 Author: Lasse Collin <lasse.collin@tukaani.org>
1920 Date: 2014-10-09 18:42:14 +0300
1922 xzgrep: Avoid passing both -q and -l to grep.
1924 The behavior of grep -ql varies:
1925 - GNU grep behaves like grep -q.
1926 - OpenBSD grep behaves like grep -l.
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.
1932 Thanks to Christian Weisgerber.
1934 src/scripts/xzgrep.in | 6 ++++--
1935 1 file changed, 4 insertions(+), 2 deletions(-)
1938 Author: Trần Ngọc Quân <vnwildman@gmail.com>
1939 Date: 2014-09-25 09:22:45 +0700
1941 l10n: vi.po: Update Vietnamese translation
1943 Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
1945 po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------
1946 1 file changed, 84 insertions(+), 52 deletions(-)
1949 Author: Lasse Collin <lasse.collin@tukaani.org>
1950 Date: 2014-09-25 18:38:48 +0300
1952 Build: Detect supported compiler warning flags better.
1954 Clang and nowadays also GCC accept any -Wfoobar option
1956 was specified. To avoid adding unsupported warning options,
1957 the options are now tested with -Werror.
1959 Thanks to Charles Diza.
1961 configure.ac | 5 +++--
1962 1 file changed, 3 insertions(+), 2 deletions(-)
1965 Author: Lasse Collin <lasse.collin@tukaani.org>
1966 Date: 2014-09-20 21:01:21 +0300
1968 Update NEWS for 5.0.7.
1971 1 file changed, 11 insertions(+)
1974 Author: Lasse Collin <lasse.collin@tukaani.org>
1975 Date: 2014-09-20 19:42:56 +0300
1977 liblzma: Fix a portability problem in Makefile.am.
1979 POSIX supports $< only in inference rules (suffix rules).
1981 work e.g. with OpenBSD make.
1983 Thanks to Christian Weisgerber for the patch.
1985 src/liblzma/Makefile.am | 2 +-
1986 1 file changed, 1 insertion(+), 1 deletion(-)
1989 Author: Lasse Collin <lasse.collin@tukaani.org>
1990 Date: 2014-09-14 21:54:09 +0300
1992 Bump the version number to 5.1.4beta.
1994 src/liblzma/api/lzma/version.h | 4 ++--
1995 src/liblzma/liblzma.map | 2 +-
1996 2 files changed, 3 insertions(+), 3 deletions(-)
1999 Author: Lasse Collin <lasse.collin@tukaani.org>
2000 Date: 2014-09-14 21:50:13 +0300
2002 Update NEWS for 5.0.6 and 5.1.4beta.
2005 1 file changed, 50 insertions(+)
2008 Author: Lasse Collin <lasse.collin@tukaani.org>
2009 Date: 2014-09-14 21:02:41 +0300
2011 Update TODO.
2013 TODO | 38 ++++++++++++++++++++++++++++++++++----
2014 1 file changed, 34 insertions(+), 4 deletions(-)
2017 Author: Lasse Collin <lasse.collin@tukaani.org>
2018 Date: 2014-08-05 22:32:36 +0300
2020 xz: Add --ignore-check.
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(-)
2030 Author: Lasse Collin <lasse.collin@tukaani.org>
2031 Date: 2014-08-05 22:15:07 +0300
2033 liblzma: Add support for LZMA_IGNORE_CHECK.
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(-)
2041 Author: Lasse Collin <lasse.collin@tukaani.org>
2042 Date: 2014-08-05 22:03:30 +0300
2044 liblzma: Add support for lzma_block.ignore_check.
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
2051 possible .version was 0.
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(-)
2063 Author: Lasse Collin <lasse.collin@tukaani.org>
2064 Date: 2014-08-04 19:25:58 +0300
2066 liblzma: Use lzma_memcmplen() in the BT3 match finder.
2069 5db75054e900fa06ef5ade5f2c21dffdd5d16141.
2071 Thanks to Jun I Jin.
2073 src/liblzma/lz/lz_encoder_mf.c | 5 ++---
2074 1 file changed, 2 insertions(+), 3 deletions(-)
2077 Author: Lasse Collin <lasse.collin@tukaani.org>
2078 Date: 2014-08-04 00:25:44 +0300
2080 Update THANKS.
2082 THANKS | 1 +
2083 1 file changed, 1 insertion(+)
2086 Author: Lasse Collin <lasse.collin@tukaani.org>
2087 Date: 2014-08-03 21:32:25 +0300
2089 liblzma: SHA-256: Optimize the Maj macro slightly.
2094 instructions.
2097 <http://www.hackersdelight.org/corres.txt>.
2099 src/liblzma/check/sha256.c | 2 +-
2100 1 file changed, 1 insertion(+), 1 deletion(-)
2103 Author: Lasse Collin <lasse.collin@tukaani.org>
2104 Date: 2014-08-03 21:08:12 +0300
2106 liblzma: SHA-256: Optimize the way rotations are done.
2109 but it helps quite a bit on both 32-bit and 64-bit x86:
2111 - It requires fewer instructions on two-operand
2112 instruction sets like x86.
2114 - It requires one register less which matters especially
2115 on 32-bit x86.
2117 I hope this doesn't hurt other archs.
2120 I saw it first.
2122 src/liblzma/check/sha256.c | 17 +++++++++++------
2123 1 file changed, 11 insertions(+), 6 deletions(-)
2126 Author: Lasse Collin <lasse.collin@tukaani.org>
2127 Date: 2014-08-03 20:38:13 +0300
2129 liblzma: SHA-256: Remove the GCC #pragma that became unneeded.
2133 variable might be accessed.
2135 src/liblzma/check/sha256.c | 5 -----
2136 1 file changed, 5 deletions(-)
2139 Author: Lasse Collin <lasse.collin@tukaani.org>
2140 Date: 2014-08-03 20:33:38 +0300
2142 liblzma: SHA-256: Unroll a little more.
2146 doesn't grow as much as it would with full unrolling.
2148 src/liblzma/check/sha256.c | 25 ++++++++++++++++---------
2149 1 file changed, 16 insertions(+), 9 deletions(-)
2152 Author: Lasse Collin <lasse.collin@tukaani.org>
2153 Date: 2014-08-03 19:56:43 +0300
2155 liblzma: SHA-256: Do the byteswapping without a temporary buffer.
2157 src/liblzma/check/sha256.c | 13 +------------
2158 1 file changed, 1 insertion(+), 12 deletions(-)
2161 Author: Lasse Collin <lasse.collin@tukaani.org>
2162 Date: 2014-07-25 22:38:28 +0300
2164 liblzma: Use lzma_memcmplen() in normal mode of LZMA.
2167 assumes that the initial "len" may be greater than "limit".
2169 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++---------------
2170 1 file changed, 5 insertions(+), 15 deletions(-)
2173 Author: Lasse Collin <lasse.collin@tukaani.org>
2174 Date: 2014-07-25 22:30:38 +0300
2176 liblzma: Simplify LZMA fast mode code by using memcmp().
2178 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +----------
2179 1 file changed, 1 insertion(+), 10 deletions(-)
2182 Author: Lasse Collin <lasse.collin@tukaani.org>
2183 Date: 2014-07-25 22:29:49 +0300
2185 liblzma: Use lzma_memcmplen() in fast mode of LZMA.
2187 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++---
2188 1 file changed, 3 insertions(+), 3 deletions(-)
2191 Author: Lasse Collin <lasse.collin@tukaani.org>
2192 Date: 2014-07-25 21:16:23 +0300
2194 Update THANKS.
2196 THANKS | 1 +
2197 1 file changed, 1 insertion(+)
2200 Author: Lasse Collin <lasse.collin@tukaani.org>
2201 Date: 2014-07-25 21:15:07 +0300
2203 liblzma: Use lzma_memcmplen() in the match finders.
2205 This doesn't change the match finder output.
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(-)
2212 Author: Lasse Collin <lasse.collin@tukaani.org>
2213 Date: 2014-07-25 20:57:20 +0300
2215 liblzma: Add lzma_memcmplen() for fast memory comparison.
2217 This commit just adds the function. Its uses will be in
2218 separate commits.
2222 quickly.
2225 that string comparison needs to be optimized in liblzma.
2227 configure.ac | 13 +++
2228 src/liblzma/common/Makefile.inc | 1 +
2229 src/liblzma/common/memcmplen.h | 170 ++++++++++++++++++++++++++++++++++++++++
2230 3 files changed, 184 insertions(+)
2233 Author: Lasse Collin <lasse.collin@tukaani.org>
2234 Date: 2014-07-12 21:10:09 +0300
2236 Update THANKS.
2238 THANKS | 1 +
2239 1 file changed, 1 insertion(+)
2242 Author: Lasse Collin <lasse.collin@tukaani.org>
2243 Date: 2014-07-12 20:06:08 +0300
2245 Translations: Add Vietnamese translation.
2247 Thanks to Trần Ngọc Quân.
2249 po/LINGUAS | 1 +
2250 po/vi.po | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2251 2 files changed, 1008 insertions(+)
2254 Author: Lasse Collin <lasse.collin@tukaani.org>
2255 Date: 2014-06-29 20:54:14 +0300
2257 xz: Update the help message of a few options.
2259 Updated: --threads, --block-size, and --block-list
2260 Added: --flush-timeout
2262 src/xz/message.c | 18 +++++++++++-------
2263 1 file changed, 11 insertions(+), 7 deletions(-)
2266 Author: Lasse Collin <lasse.collin@tukaani.org>
2267 Date: 2014-06-18 22:07:06 +0300
2269 xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores().
2271 src/xz/Makefile.am | 1 -
2272 src/xz/hardware.c | 12 +++++++++---
2273 2 files changed, 9 insertions(+), 4 deletions(-)
2276 Author: Lasse Collin <lasse.collin@tukaani.org>
2277 Date: 2014-06-18 22:04:24 +0300
2279 liblzma: Add lzma_cputhreads().
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(-)
2289 Author: Lasse Collin <lasse.collin@tukaani.org>
2290 Date: 2014-06-18 19:11:52 +0300
2292 xz: Check for filter chain compatibility for --flush-timeout.
2295 that don't support LZMA_SYNC_FLUSH.
2297 src/xz/coder.c | 30 +++++++++++++++++++++---------
2298 1 file changed, 21 insertions(+), 9 deletions(-)
2301 Author: Lasse Collin <lasse.collin@tukaani.org>
2302 Date: 2014-06-13 19:21:54 +0300
2304 xzgrep: List xzgrep_expected_output in tests/Makefile.am.
2306 tests/Makefile.am | 3 ++-
2307 1 file changed, 2 insertions(+), 1 deletion(-)
2310 Author: Lasse Collin <lasse.collin@tukaani.org>
2311 Date: 2014-06-13 18:58:22 +0300
2313 xzgrep: Improve the test script.
2316 version by Pavel Raiskup.
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(-)
2323 commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26
2324 Author: Lasse Collin <lasse.collin@tukaani.org>
2325 Date: 2014-06-11 21:03:25 +0300
2327 xzgrep: Add a test for the previous fix.
2330 original patch.
2332 tests/test_scripts.sh | 26 ++++++++++++++++++++++----
2333 1 file changed, 22 insertions(+), 4 deletions(-)
2336 Author: Lasse Collin <lasse.collin@tukaani.org>
2337 Date: 2014-06-11 20:43:28 +0300
2339 xzgrep: exit 0 when at least one file matches.
2342 at least one xz compressed file matches given pattern.
2345 https://bugzilla.redhat.com/show_bug.cgi?id=1108085
2347 Thanks to Pavel Raiskup for the patch.
2349 src/scripts/xzgrep.in | 15 +++++++++++++--
2350 1 file changed, 13 insertions(+), 2 deletions(-)
2353 Author: Lasse Collin <lasse.collin@tukaani.org>
2354 Date: 2014-06-09 21:21:24 +0300
2356 xz: Force single-threaded mode when --flush-timeout is used.
2358 src/xz/coder.c | 11 +++++++++++
2359 1 file changed, 11 insertions(+)
2362 Author: Lasse Collin <lasse.collin@tukaani.org>
2363 Date: 2014-05-25 22:05:39 +0300
2365 Update THANKS.
2367 THANKS | 1 +
2368 1 file changed, 1 insertion(+)
2371 Author: Lasse Collin <lasse.collin@tukaani.org>
2372 Date: 2014-05-25 21:45:56 +0300
2374 liblzma: Use lzma_alloc_zero() in LZ encoder initialization.
2376 This avoids a memzero() call for a newly-allocated memory,
2378 an over-sized dictionary.
2381 need to be zeroed, lzma_mf.son is now allocated separately,
2382 which requires handling it separately in normalize() too.
2384 Thanks to Vincenzo Innocente for reporting the problem.
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(-)
2392 Author: Lasse Collin <lasse.collin@tukaani.org>
2393 Date: 2014-05-25 19:25:57 +0300
2395 liblzma: Add the internal function lzma_alloc_zero().
2397 src/liblzma/common/common.c | 21 +++++++++++++++++++++
2398 src/liblzma/common/common.h | 6 ++++++
2399 2 files changed, 27 insertions(+)
2402 Author: Lasse Collin <lasse.collin@tukaani.org>
2403 Date: 2014-05-08 18:03:09 +0300
2405 xz: Fix uint64_t vs. size_t which broke 32-bit build.
2407 Thanks to Christian Hesse.
2409 src/xz/coder.c | 2 +-
2410 1 file changed, 1 insertion(+), 1 deletion(-)
2413 Author: Lasse Collin <lasse.collin@tukaani.org>
2414 Date: 2014-05-04 11:09:11 +0300
2416 Docs: Update comments to refer to lzma/lzma12.h in example programs.
2418 doc/examples/03_compress_custom.c | 6 +++---
2419 1 file changed, 3 insertions(+), 3 deletions(-)
2422 Author: Lasse Collin <lasse.collin@tukaani.org>
2423 Date: 2014-05-04 11:07:17 +0300
2425 liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h.
2427 It can be confusing that two header files have the same name.
2428 The public API file is still lzma.h.
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(-)
2436 Author: Lasse Collin <lasse.collin@tukaani.org>
2437 Date: 2014-04-25 17:53:42 +0300
2439 Build: Fix the combination of --disable-xzdec --enable-lzmadec.
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.
2447 src/xzdec/Makefile.am | 10 +++++++++-
2448 1 file changed, 9 insertions(+), 1 deletion(-)
2451 Author: Lasse Collin <lasse.collin@tukaani.org>
2452 Date: 2014-04-25 17:44:26 +0300
2454 Build: Add --disable-doc to configure.
2457 Makefile.am | 2 ++
2458 configure.ac | 6 ++++++
2459 3 files changed, 14 insertions(+)
2462 Author: Lasse Collin <lasse.collin@tukaani.org>
2463 Date: 2014-04-24 18:06:24 +0300
2465 Update INSTALL.
2467 Add a note about failing "make check". The source of
2470 on that for now. Thanks to Nelson H. F. Beebe for reporting
2471 the issue.
2474 "make install".
2477 1 file changed, 25 insertions(+)
2480 Author: Lasse Collin <lasse.collin@tukaani.org>
2481 Date: 2014-04-09 17:26:10 +0300
2483 xz: Rename a variable to avoid a namespace collision on Solaris.
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.
2490 Thanks to Mark Ashley.
2492 src/xz/signals.c | 12 +++++++-----
2493 1 file changed, 7 insertions(+), 5 deletions(-)
2496 Author: Lasse Collin <lasse.collin@tukaani.org>
2497 Date: 2014-01-29 20:19:41 +0200
2499 Docs: Add example program for threaded encoding.
2501 I didn't add -DLZMA_UNSTABLE to Makefile so one has to
2502 specify it manually as long as LZMA_UNSTABLE is needed.
2504 doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++
2505 doc/examples/Makefile | 3 +-
2506 2 files changed, 186 insertions(+), 1 deletion(-)
2509 Author: Lasse Collin <lasse.collin@tukaani.org>
2510 Date: 2014-01-29 20:13:51 +0200
2512 liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt().
2514 It read the filter chain from a wrong variable.
2516 src/liblzma/common/stream_encoder_mt.c | 4 ++--
2517 1 file changed, 2 insertions(+), 2 deletions(-)
2520 Author: Lasse Collin <lasse.collin@tukaani.org>
2521 Date: 2014-01-20 11:20:40 +0200
2523 liblzma: Fix typo in a comment.
2525 src/liblzma/api/lzma/block.h | 2 +-
2526 1 file changed, 1 insertion(+), 1 deletion(-)
2529 Author: Lasse Collin <lasse.collin@tukaani.org>
2530 Date: 2014-01-12 19:38:43 +0200
2532 Windows: Add config.h for building liblzma with MSVC 2013.
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.
2539 improvement over earlier versions. It's "almost" because
2543 …https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler…
2544 …https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declaratio…
2546 Hopefully it will get fixed. Then liblzma should be
2547 compilable with MSVC 2013 without patching.
2549 windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
2550 1 file changed, 139 insertions(+)
2553 Author: Lasse Collin <lasse.collin@tukaani.org>
2554 Date: 2014-01-12 17:41:14 +0200
2556 xz: Fix a comment.
2558 src/xz/coder.c | 4 ++--
2559 1 file changed, 2 insertions(+), 2 deletions(-)
2562 Author: Lasse Collin <lasse.collin@tukaani.org>
2563 Date: 2014-01-12 17:04:33 +0200
2565 Windows: Add MSVC defines for inline and restrict keywords.
2567 src/common/sysdefs.h | 10 ++++++++++
2568 1 file changed, 10 insertions(+)
2571 Author: Lasse Collin <lasse.collin@tukaani.org>
2572 Date: 2014-01-12 16:44:52 +0200
2574 liblzma: Avoid C99 compound literal arrays.
2576 MSVC 2013 doesn't like them. Maybe they aren't so good
2577 for readability either since many aren't used to them.
2579 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++---
2580 1 file changed, 5 insertions(+), 3 deletions(-)
2583 Author: Lasse Collin <lasse.collin@tukaani.org>
2584 Date: 2014-01-12 12:50:30 +0200
2586 liblzma: Remove a useless C99ism from sha256.c.
2588 Unsurprisingly it makes no difference in compiled output.
2590 src/liblzma/check/sha256.c | 2 +-
2591 1 file changed, 1 insertion(+), 1 deletion(-)
2594 Author: Lasse Collin <lasse.collin@tukaani.org>
2595 Date: 2014-01-12 12:17:08 +0200
2597 xz: Fix use of wrong variable.
2601 the behavior of the program.
2603 src/xz/suffix.c | 2 +-
2604 1 file changed, 1 insertion(+), 1 deletion(-)
2607 Author: Lasse Collin <lasse.collin@tukaani.org>
2608 Date: 2014-01-12 12:11:36 +0200
2610 Fix typos in comments.
2612 src/common/mythread.h | 2 +-
2613 src/liblzma/check/crc32_fast.c | 2 +-
2614 2 files changed, 2 insertions(+), 2 deletions(-)
2617 Author: Lasse Collin <lasse.collin@tukaani.org>
2618 Date: 2013-11-26 18:20:16 +0200
2620 Update THANKS.
2622 THANKS | 1 +
2623 1 file changed, 1 insertion(+)
2626 Author: Lasse Collin <lasse.collin@tukaani.org>
2627 Date: 2013-11-26 18:20:09 +0200
2629 liblzma: Document the need for block->check for lzma_block_header_decode().
2631 Thanks to Tomer Chachamu.
2633 src/liblzma/api/lzma/block.h | 3 +++
2634 1 file changed, 3 insertions(+)
2637 Author: Lasse Collin <lasse.collin@tukaani.org>
2638 Date: 2013-11-12 16:38:57 +0200
2640 xz: Update the man page about --block-size and --block-list.
2642 src/xz/xz.1 | 24 +++++++++++++++---------
2643 1 file changed, 15 insertions(+), 9 deletions(-)
2646 Author: Lasse Collin <lasse.collin@tukaani.org>
2647 Date: 2013-11-12 16:30:53 +0200
2649 Update THANKS.
2651 THANKS | 1 +
2652 1 file changed, 1 insertion(+)
2655 Author: Lasse Collin <lasse.collin@tukaani.org>
2656 Date: 2013-11-12 16:29:48 +0200
2658 xz: Make --block-list and --block-size work together in single-threaded.
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.
2665 Thanks to James M Leddy for the original patch.
2667 src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++----------
2668 1 file changed, 75 insertions(+), 15 deletions(-)
2671 Author: Lasse Collin <lasse.collin@tukaani.org>
2672 Date: 2013-10-26 13:26:14 +0300
2674 Bump the version number to 5.1.3alpha.
2676 src/liblzma/api/lzma/version.h | 2 +-
2677 src/liblzma/liblzma.map | 2 +-
2678 2 files changed, 2 insertions(+), 2 deletions(-)
2681 Author: Lasse Collin <lasse.collin@tukaani.org>
2682 Date: 2013-10-26 13:25:02 +0300
2684 Update NEWS for 5.1.3alpha.
2687 1 file changed, 35 insertions(+)
2690 Author: Lasse Collin <lasse.collin@tukaani.org>
2691 Date: 2013-10-26 12:47:04 +0300
2693 Update TODO.
2695 TODO | 4 ----
2696 1 file changed, 4 deletions(-)
2699 Author: Lasse Collin <lasse.collin@tukaani.org>
2700 Date: 2013-10-25 22:41:28 +0300
2702 xz: Document behavior of --block-list with threads.
2704 This needs to be updated before 5.2.0.
2706 src/xz/xz.1 | 24 +++++++++++++++++++++---
2707 1 file changed, 21 insertions(+), 3 deletions(-)
2710 Author: Lasse Collin <lasse.collin@tukaani.org>
2711 Date: 2013-10-22 20:03:12 +0300
2713 xz: Document --flush-timeout=TIMEOUT on the man page.
2715 src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++-
2716 1 file changed, 36 insertions(+), 1 deletion(-)
2719 Author: Lasse Collin <lasse.collin@tukaani.org>
2720 Date: 2013-10-22 19:51:55 +0300
2722 xz: Take advantage of LZMA_FULL_BARRIER with --block-list.
2724 Now if --block-list is used in threaded mode, the encoder
2726 --block-list. This improves performance a lot, making
2727 threading helpful with --block-list.
2731 no longer done.
2733 src/xz/coder.c | 32 +++++++++++++++-----------------
2734 1 file changed, 15 insertions(+), 17 deletions(-)
2737 Author: Lasse Collin <lasse.collin@tukaani.org>
2738 Date: 2013-10-02 20:05:23 +0300
2740 liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder.
2742 Now --block-list=SIZES works with in the threaded mode too,
2744 LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER.
2746 src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++----------
2747 1 file changed, 39 insertions(+), 16 deletions(-)
2750 Author: Lasse Collin <lasse.collin@tukaani.org>
2751 Date: 2013-10-02 12:55:11 +0300
2753 liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder.
2755 In the single-threaded encoder LZMA_FULL_BARRIER is simply
2756 an alias for LZMA_FULL_FLUSH.
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(-)
2765 Author: Lasse Collin <lasse.collin@tukaani.org>
2766 Date: 2013-09-17 11:57:51 +0300
2768 liblzma: Add block_buffer_encoder.h into Makefile.inc.
2770 This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc.
2772 src/liblzma/common/Makefile.inc | 1 +
2773 1 file changed, 1 insertion(+)
2776 Author: Lasse Collin <lasse.collin@tukaani.org>
2777 Date: 2013-09-17 11:55:38 +0300
2779 xz: Add a missing test for TUKLIB_DOSLIKE.
2781 src/xz/file_io.c | 2 ++
2782 1 file changed, 2 insertions(+)
2785 Author: Lasse Collin <lasse.collin@tukaani.org>
2786 Date: 2013-09-17 11:52:28 +0300
2788 Add native threading support on Windows.
2791 which are defined in mythread.h matching the desired
2792 threading method.
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
2800 happens to care.
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(-)
2812 Author: Lasse Collin <lasse.collin@tukaani.org>
2813 Date: 2013-09-11 14:40:35 +0300
2815 Build: Remove a comment about Automake 1.10 from configure.ac.
2818 Automake 1.11.
2820 configure.ac | 2 --
2821 1 file changed, 2 deletions(-)
2824 Author: Lasse Collin <lasse.collin@tukaani.org>
2825 Date: 2013-09-09 20:37:03 +0300
2827 Build: Create liblzma.pc in a src/liblzma/Makefile.am.
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.
2835 A potential downside of this change is that now e.g.
2836 libdir in liblzma.pc is a standalone string instead of
2838 when running pkg-config the libdir won't get the new value.
2839 I don't know if this matters in practice.
2841 Thanks to Vincent Torri.
2843 configure.ac | 1 -
2844 src/liblzma/Makefile.am | 20 ++++++++++++++++++++
2845 2 files changed, 20 insertions(+), 1 deletion(-)
2847 commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc
2848 Author: Lasse Collin <lasse.collin@tukaani.org>
2849 Date: 2013-08-04 15:24:09 +0300
2851 Fix the previous commit which broke the build.
2853 Apparently I didn't even compile-test the previous commit.
2855 Thanks to Christian Hesse.
2857 src/common/tuklib_cpucores.c | 2 +-
2858 1 file changed, 1 insertion(+), 1 deletion(-)
2861 Author: Lasse Collin <lasse.collin@tukaani.org>
2862 Date: 2013-08-03 13:52:58 +0300
2864 Windows: Add Windows support to tuklib_cpucores().
2866 It is used for Cygwin too. I'm not sure if that is
2867 a good or bad idea.
2869 Thanks to Vincent Torri.
2871 m4/tuklib_cpucores.m4 | 19 +++++++++++++++++--
2872 src/common/tuklib_cpucores.c | 13 ++++++++++++-
2873 2 files changed, 29 insertions(+), 3 deletions(-)
2876 Author: Anders F Bjorklund <afb@users.sourceforge.net>
2877 Date: 2013-08-02 15:59:46 +0200
2881 macosx/build.sh | 23 +++++++++++++++--------
2882 1 file changed, 15 insertions(+), 8 deletions(-)
2885 Author: Anders F Bjorklund <afb@users.sourceforge.net>
2886 Date: 2013-08-02 15:58:44 +0200
2890 macosx/build.sh | 13 ++++++++-----
2891 1 file changed, 8 insertions(+), 5 deletions(-)
2894 Author: Anders F Bjorklund <afb@users.sourceforge.net>
2895 Date: 2011-08-07 13:13:30 +0200
2899 macosx/build.sh | 25 ++++++++++++++++++-------
2900 1 file changed, 18 insertions(+), 7 deletions(-)
2903 Author: Lasse Collin <lasse.collin@tukaani.org>
2904 Date: 2013-07-15 14:08:41 +0300
2906 Update THANKS.
2908 THANKS | 1 +
2909 1 file changed, 1 insertion(+)
2912 Author: Lasse Collin <lasse.collin@tukaani.org>
2913 Date: 2013-07-15 14:08:02 +0300
2915 Build: Fix the detection of missing CRC32.
2917 Thanks to Vincent Torri.
2919 configure.ac | 2 +-
2920 1 file changed, 1 insertion(+), 1 deletion(-)
2923 Author: Lasse Collin <lasse.collin@tukaani.org>
2924 Date: 2013-07-04 14:18:46 +0300
2926 xz: Add preliminary support for --flush-timeout=TIMEOUT.
2928 When --flush-timeout=TIMEOUT is used, xz will use
2930 TIMEOUT milliseconds has elapsed since the previous flush.
2932 This can be useful in realtime-like use cases where the
2934 (possibly on a different computer). If new uncompressed
2935 input data is produced slowly, without this option xz could
2937 decompressible from the output.
2939 If TIMEOUT is 0, the feature is disabled. This is the default.
2941 This commit affects the compression side. Using xz for
2944 output buffering when decompressing.
2946 The --long-help or man page were not updated yet.
2947 The details of this feature may change.
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(-)
2955 Author: Lasse Collin <lasse.collin@tukaani.org>
2956 Date: 2013-07-04 13:41:03 +0300
2958 xz: Don't set src_eof=true after an I/O error because it's useless.
2960 src/xz/file_io.c | 3 ---
2961 1 file changed, 3 deletions(-)
2964 Author: Lasse Collin <lasse.collin@tukaani.org>
2965 Date: 2013-07-04 13:25:11 +0300
2967 xz: Fix the test when to read more input.
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.
2974 src/xz/coder.c | 6 +++---
2975 1 file changed, 3 insertions(+), 3 deletions(-)
2978 Author: Lasse Collin <lasse.collin@tukaani.org>
2979 Date: 2013-07-04 12:51:57 +0300
2981 xz: Move some of the timing code into mytime.[hc].
2983 This switches units from microseconds to milliseconds.
2985 New clock_gettime(CLOCK_MONOTONIC) will be used if available.
2986 There is still a fallback to gettimeofday().
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(-)
2997 Author: Lasse Collin <lasse.collin@tukaani.org>
2998 Date: 2013-07-01 14:35:03 +0300
3000 Update THANKS.
3002 THANKS | 1 +
3003 1 file changed, 1 insertion(+)
3006 Author: Lasse Collin <lasse.collin@tukaani.org>
3007 Date: 2013-07-01 14:34:11 +0300
3009 xz: Silence a warning seen with _FORTIFY_SOURCE=2.
3011 Thanks to Christian Hesse.
3013 src/xz/file_io.c | 8 +++++++-
3014 1 file changed, 7 insertions(+), 1 deletion(-)
3017 Author: Lasse Collin <lasse.collin@tukaani.org>
3018 Date: 2013-06-30 19:40:11 +0300
3020 Update NEWS for 5.0.5.
3023 1 file changed, 52 insertions(+)
3026 Author: Lasse Collin <lasse.collin@tukaani.org>
3027 Date: 2013-06-30 18:02:27 +0300
3029 Man pages: Use similar syntax for synopsis as in xz.
3032 constructs as the man page of xz had before the commit
3033 eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond
3035 it's nice to be consistent.
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(-)
3043 Author: Lasse Collin <lasse.collin@tukaani.org>
3044 Date: 2013-06-29 15:59:13 +0300
3046 xz: Use non-blocking I/O for the output file.
3049 race conditions with signals.
3051 They might still be signal handling issues left.
3053 EINTR but it may cause problems e.g. if writing to
3054 stderr blocks when trying to display an error message.
3056 src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++--------
3057 1 file changed, 49 insertions(+), 8 deletions(-)
3060 Author: Lasse Collin <lasse.collin@tukaani.org>
3061 Date: 2013-06-28 23:56:17 +0300
3063 xz: Fix return value type in io_write_buf().
3065 It didn't affect the behavior of the code since -1
3066 becomes true anyway.
3068 src/xz/file_io.c | 2 +-
3069 1 file changed, 1 insertion(+), 1 deletion(-)
3072 Author: Lasse Collin <lasse.collin@tukaani.org>
3073 Date: 2013-06-28 23:48:05 +0300
3075 xz: Use the self-pipe trick to avoid a race condition with signals.
3078 before a blocking system call is made. In this case the call
3080 behavior is to make xz clean up and exit as soon as possible.
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.
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(-)
3092 Author: Lasse Collin <lasse.collin@tukaani.org>
3093 Date: 2013-06-28 22:51:02 +0300
3095 xz: Use non-blocking I/O for the input file.
3097 src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++----------------
3098 1 file changed, 111 insertions(+), 45 deletions(-)
3101 Author: Lasse Collin <lasse.collin@tukaani.org>
3102 Date: 2013-06-28 18:46:13 +0300
3104 xz: Remove an outdated NetBSD-specific comment.
3106 Nowadays errno == EFTYPE is documented in open(2).
3108 src/xz/file_io.c | 4 ----
3109 1 file changed, 4 deletions(-)
3112 Author: Lasse Collin <lasse.collin@tukaani.org>
3113 Date: 2013-06-28 18:09:47 +0300
3115 xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls.
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
3121 from man-pages 3.51).
3123 src/xz/file_io.c | 8 ++++----
3124 1 file changed, 4 insertions(+), 4 deletions(-)
3127 Author: Lasse Collin <lasse.collin@tukaani.org>
3128 Date: 2013-06-28 17:36:47 +0300
3130 xz: Fix use of wrong variable in a fcntl() call.
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.
3139 The original flags were still restored correctly. I still
3142 relying on a special value in stdout_flags.
3144 src/xz/file_io.c | 24 +++++++++++++-----------
3145 1 file changed, 13 insertions(+), 11 deletions(-)
3148 Author: Lasse Collin <lasse.collin@tukaani.org>
3149 Date: 2013-06-28 14:55:37 +0300
3151 xz: Fix assertion related to posix_fadvise().
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.
3158 src/xz/file_io.c | 10 ++--------
3159 1 file changed, 2 insertions(+), 8 deletions(-)
3162 Author: Lasse Collin <lasse.collin@tukaani.org>
3163 Date: 2013-06-26 13:30:57 +0300
3165 xz: Check the value of lzma_stream_flags.version in --list.
3167 It is a no-op for now, but if an old xz version is used
3169 then this check becomes important and will stop the old xz
3170 from trying to parse files that it won't understand.
3172 src/xz/list.c | 14 ++++++++++++++
3173 1 file changed, 14 insertions(+)
3176 Author: Lasse Collin <lasse.collin@tukaani.org>
3177 Date: 2013-06-26 12:17:00 +0300
3179 Build: Require Automake 1.12 and use serial-tests option.
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.
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.
3190 configure.ac | 4 +++-
3191 1 file changed, 3 insertions(+), 1 deletion(-)
3194 Author: Lasse Collin <lasse.collin@tukaani.org>
3195 Date: 2013-06-23 18:59:13 +0300
3197 Update THANKS.
3199 THANKS | 1 +
3200 1 file changed, 1 insertion(+)
3203 Author: Lasse Collin <lasse.collin@tukaani.org>
3204 Date: 2013-06-23 18:57:23 +0300
3206 liblzma: Avoid a warning about a shadowed variable.
3208 On Mac OS X wait() is declared in <sys/wait.h> that
3210 a variable name.
3212 Thanks to Christian Kujau.
3214 src/liblzma/common/stream_encoder_mt.c | 4 ++--
3215 1 file changed, 2 insertions(+), 2 deletions(-)
3218 Author: Lasse Collin <lasse.collin@tukaani.org>
3219 Date: 2013-06-23 17:36:47 +0300
3221 xz: Validate Uncompressed Size from Block Header in list.c.
3223 This affects only "xz -lvv". Normal decompression with xz
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.
3229 src/xz/list.c | 14 +++++++++++++-
3230 1 file changed, 13 insertions(+), 1 deletion(-)
3233 Author: Lasse Collin <lasse.collin@tukaani.org>
3234 Date: 2013-06-21 22:08:11 +0300
3236 Update THANKS.
3239 1 file changed, 2 insertions(+)
3242 Author: Lasse Collin <lasse.collin@tukaani.org>
3243 Date: 2013-06-21 22:04:45 +0300
3245 xz: Make the man page more friendly to doclifter.
3247 Thanks to Eric S. Raymond.
3249 src/xz/xz.1 | 7 ++++---
3250 1 file changed, 4 insertions(+), 3 deletions(-)
3253 Author: Lasse Collin <lasse.collin@tukaani.org>
3254 Date: 2013-06-21 21:54:59 +0300
3256 xz: A couple of man page fixes.
3259 is described correctly. Earlier it contradicted itself.
3262 on 2012-12-14.
3264 src/xz/xz.1 | 35 +++++++++++++++++++++++------------
3265 1 file changed, 23 insertions(+), 12 deletions(-)
3268 Author: Lasse Collin <lasse.collin@tukaani.org>
3269 Date: 2013-06-21 21:50:26 +0300
3271 xz: Fix interaction between preset and custom filter chains.
3273 There was somewhat illogical behavior when --extreme was
3274 specified and mixed with custom filter chains.
3276 Before this commit, "xz -9 --lzma2 -e" was equivalent
3277 to "xz --lzma2". After it is equivalent to "xz -6e"
3280 to which -e is applied). I find this less illogical.
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".
3288 so pretty much no one should even notice this change.
3290 Thanks to Conley Moorhous.
3292 src/xz/coder.c | 35 +++++++++++++++++++++--------------
3293 1 file changed, 21 insertions(+), 14 deletions(-)
3296 Author: Lasse Collin <lasse.collin@tukaani.org>
3297 Date: 2013-04-27 22:07:46 +0300
3299 Build: Use -Wvla with GCC if supported.
3301 Variable-length arrays are mandatory in C99 but optional in C11.
3304 optional C11 features.
3306 configure.ac | 1 +
3307 1 file changed, 1 insertion(+)
3310 Author: Lasse Collin <lasse.collin@tukaani.org>
3311 Date: 2013-04-15 19:29:09 +0300
3313 xzdec: Improve the --help message.
3315 The options are now ordered in the same order as in xz's help
3316 message.
3318 Descriptions were added to the options that are ignored.
3320 because I find it easier to spot the ignored vs. non-ignored
3321 options from the list that way.
3323 src/xzdec/xzdec.c | 10 +++++-----
3324 1 file changed, 5 insertions(+), 5 deletions(-)
3327 Author: Lasse Collin <lasse.collin@tukaani.org>
3328 Date: 2013-04-05 19:25:40 +0300
3330 Update THANKS.
3333 1 file changed, 2 insertions(+)
3336 Author: Jeff Bastian <jbastian@redhat.com>
3337 Date: 2013-04-03 13:59:17 +0200
3339 xzgrep: make the '-h' option to be --no-filename equivalent
3341 * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
3343 src/scripts/xzgrep.in | 2 +-
3344 1 file changed, 1 insertion(+), 1 deletion(-)
3347 Author: Lasse Collin <lasse.collin@tukaani.org>
3348 Date: 2013-03-23 22:25:15 +0200
3350 liblzma: Be less picky in lzma_alone_decoder().
3352 To avoid false positives when detecting .lzma files,
3354 were rejected. They will still be rejected if .lzma files
3356 lzma_alone_decoder() directly, such files will now be accepted.
3357 Hopefully this is an OK compromise.
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.
3364 NOTE: lzma_alone_decoder() still won't decode all .lzma files
3365 because liblzma's LZMA decoder doesn't support lc + lp > 4.
3368 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827
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(-)
3376 Author: Lasse Collin <lasse.collin@tukaani.org>
3377 Date: 2013-03-23 21:55:13 +0200
3379 liblzma: Use lzma_block_buffer_bound64() in threaded encoder.
3382 fit into the space calculated by lzma_block_buffer_bound64().
3384 src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++---------
3385 1 file changed, 50 insertions(+), 16 deletions(-)
3388 Author: Lasse Collin <lasse.collin@tukaani.org>
3389 Date: 2013-03-23 21:51:38 +0200
3391 liblzma: Fix another deadlock in the threaded encoder.
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).
3398 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
3399 1 file changed, 6 insertions(+), 3 deletions(-)
3402 Author: Lasse Collin <lasse.collin@tukaani.org>
3403 Date: 2013-03-23 19:17:33 +0200
3405 liblzma: Add lzma_block_uncomp_encode().
3410 of size_t.
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(-)
3419 Author: Lasse Collin <lasse.collin@tukaani.org>
3420 Date: 2013-03-05 19:14:50 +0200
3422 Avoid unneeded use of awk in xzless.
3425 number of "less". The need for awk was introduced in
3426 the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e.
3428 Thanks to Ariel P for the patch.
3430 src/scripts/xzless.in | 3 +--
3431 1 file changed, 1 insertion(+), 2 deletions(-)
3434 Author: Lasse Collin <lasse.collin@tukaani.org>
3435 Date: 2012-12-14 20:13:32 +0200
3437 Make the progress indicator smooth in threaded mode.
3440 of it in xz.
3443 the thread-specific structures so that fairly accurate
3444 progress information is available to applications. Adding
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.
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(-)
3460 Author: Lasse Collin <lasse.collin@tukaani.org>
3461 Date: 2012-12-14 11:01:41 +0200
3463 liblzma: Fix mythread_sync for nested locking.
3465 src/common/mythread.h | 5 +++--
3466 1 file changed, 3 insertions(+), 2 deletions(-)
3469 Author: Lasse Collin <lasse.collin@tukaani.org>
3470 Date: 2012-12-13 21:05:36 +0200
3472 xz: Mention --threads in --help.
3475 was still missing.
3477 src/xz/message.c | 4 ++++
3478 1 file changed, 4 insertions(+)
3481 Author: Jonathan Nieder <jrnieder@gmail.com>
3482 Date: 2012-11-19 00:10:10 -0800
3484 xzless: Make "less -V" parsing more robust
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
3489 with “|-”. That worked well for a while, but the version string from
3492 $ xzless /tmp/test.xz; echo $?
3493 /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
3499 with attached parenthetical phrase as a number to "test $a -gt $b",
3500 producing the above confusing message.
3502 $ less-444 -V | head -1
3504 $ less -V | head -1
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 ---
3511 setting that is supported by all versions of ‘less’.
3513 The implementation uses "awk" for simplicity. Hopefully that’s
3514 portable enough.
3516 Reported-by: Jörg-Volker Peetz <jvpeetz@web.de>
3517 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
3519 src/scripts/xzless.in | 3 ++-
3520 1 file changed, 2 insertions(+), 1 deletion(-)
3523 Author: Lasse Collin <lasse.collin@tukaani.org>
3524 Date: 2012-10-03 15:54:24 +0300
3526 xz: Fix the note about --rsyncable on the man page.
3528 src/xz/xz.1 | 17 +++++++++--------
3529 1 file changed, 9 insertions(+), 8 deletions(-)
3532 Author: Lasse Collin <lasse.collin@tukaani.org>
3533 Date: 2012-09-28 20:11:09 +0300
3535 xz: Improve handling of failed realloc in xrealloc.
3537 Thanks to Jim Meyering.
3539 src/xz/util.c | 14 ++++++++++++--
3540 1 file changed, 12 insertions(+), 2 deletions(-)
3543 Author: Lasse Collin <lasse.collin@tukaani.org>
3544 Date: 2012-08-24 16:27:31 +0300
3546 A few typo fixes to comments and the xz man page.
3548 Thanks to Jim Meyering.
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(-)
3556 Author: Lasse Collin <lasse.collin@tukaani.org>
3557 Date: 2012-08-13 21:40:09 +0300
3559 xz: Add a warning to --help about alpha and beta versions.
3561 src/xz/message.c | 5 +++++
3562 1 file changed, 5 insertions(+)
3565 Author: Lasse Collin <lasse.collin@tukaani.org>
3566 Date: 2012-08-02 17:13:30 +0300
3568 Build: Bump gettext version requirement to 0.18.
3570 Otherwise too old version of m4/lib-link.m4 gets included
3571 when autoreconf -fi is run.
3573 configure.ac | 2 +-
3574 1 file changed, 1 insertion(+), 1 deletion(-)
3577 Author: Lasse Collin <lasse.collin@tukaani.org>
3578 Date: 2012-07-17 18:29:08 +0300
3580 Update THANKS.
3582 THANKS | 1 +
3583 1 file changed, 1 insertion(+)
3586 Author: Lasse Collin <lasse.collin@tukaani.org>
3587 Date: 2012-07-17 18:19:59 +0300
3589 liblzma: Make the use of lzma_allocator const-correct.
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.
3596 Thanks to Jan Kratochvil for the patch.
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(-)
3672 Author: Lasse Collin <lasse.collin@tukaani.org>
3673 Date: 2012-07-05 07:36:28 +0300
3675 Tests: Remove tests/test_block.c that had gotten committed accidentally.
3677 tests/test_block.c | 52 ----------------------------------------------------
3678 1 file changed, 52 deletions(-)
3681 Author: Lasse Collin <lasse.collin@tukaani.org>
3682 Date: 2012-07-05 07:33:35 +0300
3684 Build: Include macosx/build.sh in the distribution.
3688 the release tarballs. :-(
3690 Makefile.am | 1 +
3691 1 file changed, 1 insertion(+)
3694 Author: Lasse Collin <lasse.collin@tukaani.org>
3695 Date: 2012-07-05 07:28:53 +0300
3697 Build: Include validate_map.sh in the distribution.
3699 It's required by "make mydist".
3701 Fix also the location of EXTRA_DIST+= so that those files
3702 get distributed also if symbol versioning isn't enabled.
3704 src/liblzma/Makefile.am | 2 +-
3705 1 file changed, 1 insertion(+), 1 deletion(-)
3708 Author: Lasse Collin <lasse.collin@tukaani.org>
3709 Date: 2012-07-05 07:24:45 +0300
3711 Docs: Fix the name LZMA Utils -> XZ Utils in debug/README.
3713 debug/README | 2 +-
3714 1 file changed, 1 insertion(+), 1 deletion(-)
3717 Author: Lasse Collin <lasse.collin@tukaani.org>
3718 Date: 2012-07-05 07:23:17 +0300
3720 Include debug/translation.bash in the distribution.
3722 Also fix the script name mentioned in README.
3724 README | 4 ++--
3725 debug/Makefile.am | 3 +++
3726 2 files changed, 5 insertions(+), 2 deletions(-)
3729 Author: Lasse Collin <lasse.collin@tukaani.org>
3730 Date: 2012-07-04 22:31:58 +0300
3732 xz: Document --block-list better.
3734 Thanks to Jonathan Nieder.
3736 src/xz/xz.1 | 8 +++++++-
3737 1 file changed, 7 insertions(+), 1 deletion(-)
3740 Author: Lasse Collin <lasse.collin@tukaani.org>
3741 Date: 2012-07-04 20:01:49 +0300
3743 Bump the version number to 5.1.2alpha.
3745 src/liblzma/api/lzma/version.h | 2 +-
3746 src/liblzma/liblzma.map | 2 +-
3747 2 files changed, 2 insertions(+), 2 deletions(-)
3750 Author: Lasse Collin <lasse.collin@tukaani.org>
3751 Date: 2012-07-04 20:01:19 +0300
3753 Update NEWS for 5.1.2alpha.
3756 1 file changed, 41 insertions(+)
3759 Author: Lasse Collin <lasse.collin@tukaani.org>
3760 Date: 2012-07-04 19:58:23 +0300
3762 xz: Fix the version number printed by xz -lvv.
3764 The decoder bug was fixed in 5.0.2 instead of 5.0.3.
3766 src/xz/list.c | 6 +++---
3767 1 file changed, 3 insertions(+), 3 deletions(-)
3770 Author: Lasse Collin <lasse.collin@tukaani.org>
3771 Date: 2012-07-04 17:11:31 +0300
3773 Build: Add a comment to configure.ac about symbol versioning.
3775 configure.ac | 4 ++++
3776 1 file changed, 4 insertions(+)
3779 Author: Lasse Collin <lasse.collin@tukaani.org>
3780 Date: 2012-07-04 17:06:49 +0300
3782 Update TODO.
3784 TODO | 12 ++++++++++--
3785 1 file changed, 10 insertions(+), 2 deletions(-)
3788 Author: Lasse Collin <lasse.collin@tukaani.org>
3789 Date: 2012-07-04 17:05:46 +0300
3791 Document --enable-symbol-versions in INSTALL.
3794 1 file changed, 5 insertions(+)
3797 Author: Lasse Collin <lasse.collin@tukaani.org>
3798 Date: 2012-07-03 21:16:39 +0300
3800 xz: Add incomplete support for --block-list.
3802 It's broken with threads and when also --block-size is used.
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(-)
3814 Author: Lasse Collin <lasse.collin@tukaani.org>
3815 Date: 2012-07-01 18:44:33 +0300
3817 xz: Update the man page about the new field in --robot -lvv.
3819 src/xz/xz.1 | 18 +++++++++++++++++-
3820 1 file changed, 17 insertions(+), 1 deletion(-)
3823 Author: Lasse Collin <lasse.collin@tukaani.org>
3824 Date: 2012-06-28 10:47:49 +0300
3826 liblzma: Check that the first byte of range encoded data is 0x00.
3829 files slightly earlier.
3831 src/liblzma/lzma/lzma_decoder.c | 8 ++++++--
3832 src/liblzma/rangecoder/range_decoder.h | 12 +++++++++---
3833 2 files changed, 15 insertions(+), 5 deletions(-)
3836 Author: Lasse Collin <lasse.collin@tukaani.org>
3837 Date: 2012-06-22 19:00:23 +0300
3839 Update NEWS from 5.0.4.
3842 1 file changed, 37 insertions(+)
3845 Author: Lasse Collin <lasse.collin@tukaani.org>
3846 Date: 2012-06-22 14:34:03 +0300
3848 xz: Update man page date to match the latest update.
3850 src/xz/xz.1 | 2 +-
3851 1 file changed, 1 insertion(+), 1 deletion(-)
3854 Author: Lasse Collin <lasse.collin@tukaani.org>
3855 Date: 2012-06-18 21:27:47 +0300
3857 Docs: Language fix to 01_compress_easy.c.
3859 Thanks to Jonathan Nieder.
3861 doc/examples/01_compress_easy.c | 2 +-
3862 1 file changed, 1 insertion(+), 1 deletion(-)
3865 Author: Lasse Collin <lasse.collin@tukaani.org>
3866 Date: 2012-06-14 20:15:30 +0300
3868 Fix the top-level Makefile.am for the new example programs.
3870 Makefile.am | 12 ++++++++++--
3871 1 file changed, 10 insertions(+), 2 deletions(-)
3874 Author: Lasse Collin <lasse.collin@tukaani.org>
3875 Date: 2012-06-14 10:52:33 +0300
3877 Docs: Add new example programs.
3880 human-readable error messages. More tutorial-like examples
3881 are needed but these are a start.
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(+)
3890 commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d
3891 Author: Lasse Collin <lasse.collin@tukaani.org>
3892 Date: 2012-06-14 10:33:27 +0300
3894 Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old.
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.
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(-)
3905 Author: Lasse Collin <lasse.collin@tukaani.org>
3906 Date: 2012-06-14 10:33:01 +0300
3908 Docs: Fix a bug in xz_pipe_decomp.c example program.
3910 doc/examples/xz_pipe_decomp.c | 10 +++++++++-
3911 1 file changed, 9 insertions(+), 1 deletion(-)
3914 Author: Lasse Collin <lasse.collin@tukaani.org>
3915 Date: 2012-05-30 23:14:33 +0300
3917 Translations: Update the French translation.
3919 Thanks to Adrien Nader.
3921 po/fr.po | 148 ++++++++++++++++++++++++++++++++++-----------------------------
3922 1 file changed, 79 insertions(+), 69 deletions(-)
3925 Author: Lasse Collin <lasse.collin@tukaani.org>
3926 Date: 2012-05-29 23:42:37 +0300
3928 Translations: Update the German translation.
3930 The previous only included the new strings in v5.0.
3932 po/de.po | 229 +++++++++++++++++++++++++++++++++++++--------------------------
3933 1 file changed, 133 insertions(+), 96 deletions(-)
3936 Author: Lasse Collin <lasse.collin@tukaani.org>
3937 Date: 2012-05-29 22:26:27 +0300
3939 Translations: Update the German translation.
3941 po/de.po | 169 ++++++++++++++++++++++++++++++++++-----------------------------
3942 1 file changed, 91 insertions(+), 78 deletions(-)
3945 Author: Lasse Collin <lasse.collin@tukaani.org>
3946 Date: 2012-05-29 22:14:21 +0300
3948 Translations: Update Polish translation.
3950 po/pl.po | 283 +++++++++++++++++++++++++++++++++++++--------------------------
3951 1 file changed, 165 insertions(+), 118 deletions(-)
3954 Author: Lasse Collin <lasse.collin@tukaani.org>
3955 Date: 2012-05-28 20:42:11 +0300
3957 liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.
3962 - The caller knows how many bytes of output to expect
3963 and only provides that much output space.
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
3969 yet and thus won't return LZMA_STREAM_END yet.
3971 - A BCJ filter is in use and it hasn't left any
3972 unfiltered bytes in the temp buffer. This can happen
3974 with filters other than the x86 BCJ.
3978 is provided. In this case the decompression can fail even
3979 if the whole input file is given to lzma_code().
3981 A similar bug was fixed in XZ Embedded on 2011-09-19.
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(-)
3989 Author: Lasse Collin <lasse.collin@tukaani.org>
3990 Date: 2012-05-28 15:38:32 +0300
3992 Update THANKS.
3994 THANKS | 1 +
3995 1 file changed, 1 insertion(+)
3998 Author: Lasse Collin <lasse.collin@tukaani.org>
3999 Date: 2012-05-28 15:37:43 +0300
4001 xz: Don't show a huge number in -vv when memory limit is disabled.
4003 src/xz/message.c | 12 +++++++++++-
4004 1 file changed, 11 insertions(+), 1 deletion(-)
4007 Author: Lasse Collin <lasse.collin@tukaani.org>
4008 Date: 2012-05-27 22:30:17 +0300
4010 xz: Document the "summary" lines of --robot -lvv.
4012 This documents only the columns that are in v5.0.
4014 necessarily stable yet.
4016 src/xz/xz.1 | 19 +++++++++++++++++++
4017 1 file changed, 19 insertions(+)
4020 Author: Lasse Collin <lasse.collin@tukaani.org>
4021 Date: 2012-05-27 21:53:20 +0300
4023 xz: Fix output of verbose --robot --list modes.
4025 It printed the filename in "filename (x/y)" format
4026 which it obviously shouldn't do in robot mode.
4028 src/xz/message.c | 2 +-
4029 1 file changed, 1 insertion(+), 1 deletion(-)
4032 Author: Lasse Collin <lasse.collin@tukaani.org>
4033 Date: 2012-05-24 18:33:54 +0300
4035 Build: Upgrade m4/acx_pthread.m4 to the latest version.
4037 m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++---------------------
4038 1 file changed, 62 insertions(+), 36 deletions(-)
4041 Author: Lasse Collin <lasse.collin@tukaani.org>
4042 Date: 2012-05-10 21:15:17 +0300
4044 Update THANKS.
4046 THANKS | 1 +
4047 1 file changed, 1 insertion(+)
4050 Author: Lasse Collin <lasse.collin@tukaani.org>
4051 Date: 2012-05-10 21:14:16 +0300
4053 Docs: Cleanup line wrapping a bit.
4055 README | 12 ++++++------
4056 doc/history.txt | 49 +++++++++++++++++++++++++------------------------
4057 2 files changed, 31 insertions(+), 30 deletions(-)
4060 Author: Benno Schulenberg <bensberg@justemail.net>
4061 Date: 2012-03-13 22:04:04 +0100
4063 Fix a few typos and add some missing articles in some documents.
4065 Also hyphenate several compound adjectives.
4067 Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
4069 AUTHORS | 6 +++---
4070 README | 42 ++++++++++++++++++++---------------------
4071 doc/faq.txt | 24 ++++++++++++------------
4072 doc/history.txt | 58 ++++++++++++++++++++++++++++-----------------------------
4073 4 files changed, 65 insertions(+), 65 deletions(-)
4076 Author: Lasse Collin <lasse.collin@tukaani.org>
4077 Date: 2012-04-29 11:51:25 +0300
4079 Windows: Update notes about static linking with MSVC.
4081 windows/README-Windows.txt | 13 +++++++++----
4082 1 file changed, 9 insertions(+), 4 deletions(-)
4085 Author: Lasse Collin <lasse.collin@tukaani.org>
4086 Date: 2012-04-19 15:25:26 +0300
4088 liblzma: Remove outdated comments.
4090 src/liblzma/simple/simple_coder.c | 3 ---
4091 src/liblzma/simple/simple_private.h | 3 +--
4092 2 files changed, 1 insertion(+), 5 deletions(-)
4095 Author: Lasse Collin <lasse.collin@tukaani.org>
4096 Date: 2012-04-19 14:17:52 +0300
4098 DOS: Link against DJGPP's libemu to support FPU emulation.
4100 This way xz should work on 386SX and 486SX. Floating point
4101 only is needed for verbose output in xz.
4103 dos/Makefile | 2 +-
4104 1 file changed, 1 insertion(+), 1 deletion(-)
4107 Author: Lasse Collin <lasse.collin@tukaani.org>
4108 Date: 2012-04-19 14:02:25 +0300
4110 liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed.
4112 src/liblzma/liblzma.pc.in | 2 +-
4113 1 file changed, 1 insertion(+), 1 deletion(-)
4116 Author: Lasse Collin <lasse.collin@tukaani.org>
4117 Date: 2012-04-19 13:58:55 +0300
4119 Docs: Update MINIX 3 information in INSTALL.
4121 INSTALL | 8 +++++---
4122 1 file changed, 5 insertions(+), 3 deletions(-)
4125 Author: Lasse Collin <lasse.collin@tukaani.org>
4126 Date: 2012-02-22 14:23:13 +0200
4128 Update THANKS.
4130 THANKS | 1 +
4131 1 file changed, 1 insertion(+)
4134 Author: Lasse Collin <lasse.collin@tukaani.org>
4135 Date: 2012-02-22 14:02:34 +0200
4137 Fix exit status of xzgrep when grepping binary files.
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.
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.
4149 Thanks to James Buren for the bug report.
4151 src/scripts/xzgrep.in | 3 ++-
4152 1 file changed, 2 insertions(+), 1 deletion(-)
4155 Author: Lasse Collin <lasse.collin@tukaani.org>
4156 Date: 2012-02-22 12:08:43 +0200
4158 Update THANKS.
4160 THANKS | 1 +
4161 1 file changed, 1 insertion(+)
4164 Author: Lasse Collin <lasse.collin@tukaani.org>
4165 Date: 2012-02-22 12:00:16 +0200
4167 Fix compiling with IBM XL C on AIX.
4169 INSTALL | 36 ++++++++++++++++++++++--------------
4170 configure.ac | 6 +++++-
4171 2 files changed, 27 insertions(+), 15 deletions(-)
4174 Author: Lasse Collin <lasse.collin@tukaani.org>
4175 Date: 2012-01-10 17:13:03 +0200
4177 Tests: Fix a compiler warning with _FORTIFY_SOURCE.
4180 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385
4182 tests/create_compress_files.c | 3 ++-
4183 1 file changed, 2 insertions(+), 1 deletion(-)
4186 Author: Lasse Collin <lasse.collin@tukaani.org>
4187 Date: 2011-12-19 21:21:29 +0200
4189 Docs: Explain the stable releases better in README.
4191 README | 6 +++++-
4192 1 file changed, 5 insertions(+), 1 deletion(-)
4195 Author: Lasse Collin <lasse.collin@tukaani.org>
4196 Date: 2011-11-07 13:07:52 +0200
4198 xz: Show minimum required XZ Utils version in xz -lvv.
4200 Man page wasn't updated yet.
4202 src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
4203 1 file changed, 57 insertions(+), 6 deletions(-)
4206 Author: Lasse Collin <lasse.collin@tukaani.org>
4207 Date: 2011-11-04 17:57:16 +0200
4209 xz: Fix a typo in a comment.
4211 Thanks to Bela Lubkin.
4213 src/xz/args.c | 2 +-
4214 1 file changed, 1 insertion(+), 1 deletion(-)
4217 Author: Lasse Collin <lasse.collin@tukaani.org>
4218 Date: 2011-11-03 17:08:02 +0200
4220 Update THANKS.
4222 THANKS | 1 +
4223 1 file changed, 1 insertion(+)
4226 Author: Lasse Collin <lasse.collin@tukaani.org>
4227 Date: 2011-11-03 17:07:22 +0200
4229 xz: Fix xz on EBCDIC systems.
4231 Thanks to Chris Donawa.
4233 src/xz/coder.c | 5 ++++-
4234 1 file changed, 4 insertions(+), 1 deletion(-)
4237 Author: Lasse Collin <lasse.collin@tukaani.org>
4238 Date: 2011-10-23 17:09:10 +0300
4240 Update THANKS.
4242 THANKS | 1 +
4243 1 file changed, 1 insertion(+)
4246 Author: Lasse Collin <lasse.collin@tukaani.org>
4247 Date: 2011-10-23 17:08:14 +0300
4249 liblzma: Fix invalid free() in the threaded encoder.
4251 It was triggered if initialization failed e.g. due to
4252 running out of memory.
4254 Thanks to Arkadiusz Miskiewicz.
4256 src/liblzma/common/outqueue.c | 4 ++++
4257 1 file changed, 4 insertions(+)
4260 Author: Lasse Collin <lasse.collin@tukaani.org>
4261 Date: 2011-10-23 17:05:55 +0300
4263 liblzma: Fix a deadlock in the threaded encoder.
4266 e.g. when encoding two files.
4268 src/liblzma/common/stream_encoder_mt.c | 4 +++-
4269 1 file changed, 3 insertions(+), 1 deletion(-)
4272 Author: Lasse Collin <lasse.collin@tukaani.org>
4273 Date: 2011-09-06 12:03:41 +0300
4275 Build: Fix "make check" on Windows.
4277 tests/Makefile.am | 7 +++++--
4278 windows/build.bash | 2 ++
4279 2 files changed, 7 insertions(+), 2 deletions(-)
4282 Author: Lasse Collin <lasse.collin@tukaani.org>
4283 Date: 2011-08-09 21:19:13 +0300
4285 Update THANKS.
4288 1 file changed, 2 insertions(+)
4291 Author: Lasse Collin <lasse.collin@tukaani.org>
4292 Date: 2011-08-09 21:16:44 +0300
4294 Workaround unusual SIZE_MAX on SCO OpenServer.
4296 src/common/sysdefs.h | 9 ++++++---
4297 1 file changed, 6 insertions(+), 3 deletions(-)
4300 Author: Lasse Collin <lasse.collin@tukaani.org>
4301 Date: 2011-08-06 20:37:28 +0300
4303 Run the scripts with the correct shell in test_scripts.sh.
4305 The scripts are now made executable in the build tree.
4307 test_scripts.sh. Previously test_scripts.sh always
4309 to something else by configure.
4311 Thanks to Jonathan Nieder for the patch.
4313 configure.ac | 8 ++++----
4314 tests/test_scripts.sh | 8 ++++----
4315 2 files changed, 8 insertions(+), 8 deletions(-)
4317 commit 1c673e5681720491a74fc4b2992e075f47302c22
4318 Author: Lasse Collin <lasse.collin@tukaani.org>
4319 Date: 2011-07-31 11:01:47 +0300
4321 Fix exit status of "xzdiff foo.xz bar.xz".
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.
4329 there on 2009-10-09.
4332 to Peter Pallinger for reporting the bug.
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(-)
4340 Author: Lasse Collin <lasse.collin@tukaani.org>
4341 Date: 2011-06-16 12:15:29 +0300
4343 liblzma: Remove unneeded semicolon.
4345 src/liblzma/lz/lz_encoder_hash.h | 2 +-
4346 1 file changed, 1 insertion(+), 1 deletion(-)
4349 Author: Lasse Collin <lasse.collin@tukaani.org>
4350 Date: 2011-05-28 19:24:56 +0300
4352 Build: Make configure print if symbol versioning is enabled or not.
4354 configure.ac | 2 ++
4355 1 file changed, 2 insertions(+)
4358 Author: Lasse Collin <lasse.collin@tukaani.org>
4359 Date: 2011-05-28 16:43:26 +0300
4361 Don't call close(-1) in tuklib_open_stdxxx() on error.
4363 Thanks to Jim Meyering.
4365 src/common/tuklib_open_stdxxx.c | 4 +++-
4366 1 file changed, 3 insertions(+), 1 deletion(-)
4369 Author: Lasse Collin <lasse.collin@tukaani.org>
4370 Date: 2011-05-28 15:55:39 +0300
4372 liblzma: Use symbol versioning.
4374 Symbol versioning is enabled by default on GNU/Linux,
4375 other GNU-based systems, and FreeBSD.
4378 backward-incompatible changes before the next release.
4382 use those symbols. Once a symbol is stable, it may get
4384 compatibility with older ABI & API.
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.
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(+)
4398 Author: Lasse Collin <lasse.collin@tukaani.org>
4399 Date: 2011-05-28 09:46:46 +0300
4401 Translations: Update the Italian translation.
4403 Thanks to Milo Casagrande.
4405 po/it.po | 365 +++++++++++++++++++++++++++++++++++++--------------------------
4406 1 file changed, 216 insertions(+), 149 deletions(-)
4409 Author: Lasse Collin <lasse.collin@tukaani.org>
4410 Date: 2011-05-28 08:46:04 +0300
4412 Tests: Add a test file for the bug in the previous commit.
4414 tests/files/README | 4 ++++
4415 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes
4416 2 files changed, 4 insertions(+)
4419 Author: Lasse Collin <lasse.collin@tukaani.org>
4420 Date: 2011-05-27 22:25:44 +0300
4422 xz: Fix error handling in xz -lvv.
4425 of the uninitialized filters array.
4427 src/xz/list.c | 21 ++++++---------------
4428 1 file changed, 6 insertions(+), 15 deletions(-)
4431 Author: Lasse Collin <lasse.collin@tukaani.org>
4432 Date: 2011-05-27 22:09:49 +0300
4434 liblzma: Handle allocation failures correctly in lzma_index_init().
4436 Thanks to Jim Meyering.
4438 src/liblzma/common/index.c | 7 +++++--
4439 1 file changed, 5 insertions(+), 2 deletions(-)
4442 Author: Lasse Collin <lasse.collin@tukaani.org>
4443 Date: 2011-05-24 00:23:46 +0300
4445 Build: Fix checking for system-provided SHA-256.
4447 configure.ac | 2 +-
4448 1 file changed, 1 insertion(+), 1 deletion(-)
4451 Author: Lasse Collin <lasse.collin@tukaani.org>
4452 Date: 2011-05-23 18:30:30 +0300
4454 Build: Set GZIP_ENV=-9n in top-level Makefile.am.
4456 Makefile.am | 3 +++
4457 1 file changed, 3 insertions(+)
4460 Author: Lasse Collin <lasse.collin@tukaani.org>
4461 Date: 2011-05-22 16:42:11 +0300
4463 Update NEWS for 5.0.3.
4466 1 file changed, 32 insertions(+)
4469 Author: Lasse Collin <lasse.collin@tukaani.org>
4470 Date: 2011-05-21 16:28:44 +0300
4472 Add French translation.
4474 It is known that the BCJ filter --help text is only
4475 partially translated.
4477 po/LINGUAS | 1 +
4478 po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4479 2 files changed, 865 insertions(+)
4482 Author: Lasse Collin <lasse.collin@tukaani.org>
4483 Date: 2011-05-21 15:12:10 +0300
4485 xz: Translate also the string used to print the program name.
4487 French needs a space before a colon, e.g. "xz : foo error".
4489 src/xz/message.c | 6 +++++-
4490 1 file changed, 5 insertions(+), 1 deletion(-)
4493 Author: Lasse Collin <lasse.collin@tukaani.org>
4494 Date: 2011-05-21 15:08:44 +0300
4496 liblzma: Try to use SHA-256 from the operating system.
4499 provide SHA-256, use that instead of our own copy.
4502 other packages.
4505 MINIX, and Darwin. They all provide similar but not
4506 identical SHA-256 APIs; everyone is a little different.
4509 and testing.
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(-)
4517 Author: Lasse Collin <lasse.collin@tukaani.org>
4518 Date: 2011-05-17 12:52:18 +0300
4520 Don't use clockid_t in mythread.h when clock_gettime() isn't available.
4522 Thanks to Wim Lewis for the patch.
4524 src/common/mythread.h | 2 ++
4525 1 file changed, 2 insertions(+)
4528 Author: Lasse Collin <lasse.collin@tukaani.org>
4529 Date: 2011-05-17 12:26:28 +0300
4531 Update THANKS.
4534 1 file changed, 3 insertions(+)
4537 Author: Lasse Collin <lasse.collin@tukaani.org>
4538 Date: 2011-05-17 12:21:33 +0300
4540 Update INSTALL with a note about linker problem on OpenSolaris x86.
4542 INSTALL | 23 +++++++++++++++++------
4543 1 file changed, 17 insertions(+), 6 deletions(-)
4546 Author: Lasse Collin <lasse.collin@tukaani.org>
4547 Date: 2011-05-17 12:01:37 +0300
4549 Build: Fix initialization of enable_check_* variables in configure.ac.
4552 that anyone would have such environment variable names.
4554 Thanks to Wim Lewis.
4556 configure.ac | 2 +-
4557 1 file changed, 1 insertion(+), 1 deletion(-)
4560 Author: Lasse Collin <lasse.collin@tukaani.org>
4561 Date: 2011-05-17 11:54:38 +0300
4563 Add underscores to attributes (__attribute((__foo__))).
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(-)
4593 Author: Lasse Collin <lasse.collin@tukaani.org>
4594 Date: 2011-05-01 12:24:23 +0300
4596 xz: Fix input file position when --single-stream is used.
4600 echo foo | xz > foo.xz
4601 echo bar | xz >> foo.xz
4602 ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz
4606 .xz Streams.
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(+)
4614 Author: Lasse Collin <lasse.collin@tukaani.org>
4615 Date: 2011-05-01 12:15:51 +0300
4617 xz: Print the maximum number of worker threads in xz -vv.
4619 src/xz/coder.c | 4 ++++
4620 1 file changed, 4 insertions(+)
4623 Author: Lasse Collin <lasse.collin@tukaani.org>
4624 Date: 2011-04-19 10:44:48 +0300
4626 Build: Warn if no supported method to detect the number of CPU cores.
4628 configure.ac | 11 +++++------
4629 1 file changed, 5 insertions(+), 6 deletions(-)
4632 Author: Lasse Collin <lasse.collin@tukaani.org>
4633 Date: 2011-04-19 09:55:06 +0300
4635 Update THANKS.
4637 THANKS | 1 +
4638 1 file changed, 1 insertion(+)
4641 Author: Lasse Collin <lasse.collin@tukaani.org>
4642 Date: 2011-04-19 09:20:44 +0300
4644 Fix portability problems in mythread.h.
4647 (e.g. Darwin).
4650 and CLOCK_MONOTONIC was incorrect. Instead of fixing the
4651 #ifdefs, use an Autoconf test. That way if there exists a
4653 POSIX #defines, the features will still get detected.
4655 Don't try to use pthread_sigmask() on OpenVMS. It doesn't
4656 have that function.
4658 Guard mythread.h against being #included multiple times.
4660 configure.ac | 7 +++++++
4661 src/common/mythread.h | 31 +++++++++++++++++++++++++++----
4662 2 files changed, 34 insertions(+), 4 deletions(-)
4665 Author: Lasse Collin <lasse.collin@tukaani.org>
4666 Date: 2011-04-18 19:35:49 +0300
4668 Update THANKS.
4671 1 file changed, 2 insertions(+)
4674 Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
4675 Date: 2011-04-15 04:54:49 -0400
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>
4683 src/scripts/xzgrep.in | 4 ++--
4684 1 file changed, 2 insertions(+), 2 deletions(-)
4687 Author: Lasse Collin <lasse.collin@tukaani.org>
4688 Date: 2011-04-12 12:48:31 +0300
4690 Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99.
4692 src/liblzma/Makefile.am | 2 +-
4693 src/liblzma/api/lzma/version.h | 2 +-
4694 2 files changed, 2 insertions(+), 2 deletions(-)
4697 Author: Lasse Collin <lasse.collin@tukaani.org>
4698 Date: 2011-04-12 12:42:37 +0300
4700 Put the unstable APIs behind #ifdef LZMA_UNSTABLE.
4703 change and break code that used an older API.
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(+)
4711 Author: Lasse Collin <lasse.collin@tukaani.org>
4712 Date: 2011-04-12 11:59:49 +0300
4714 Remove doubled words from documentation and comments.
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"}'
4721 Thanks to Jim Meyering for the original patch.
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(-)
4732 Author: Lasse Collin <lasse.collin@tukaani.org>
4733 Date: 2011-04-12 11:46:01 +0300
4735 Update NEWS.
4737 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++--
4738 1 file changed, 45 insertions(+), 2 deletions(-)
4741 Author: Lasse Collin <lasse.collin@tukaani.org>
4742 Date: 2011-04-12 11:45:40 +0300
4744 Update TODO.
4746 TODO | 12 +++++++++++-
4747 1 file changed, 11 insertions(+), 1 deletion(-)
4750 Author: Lasse Collin <lasse.collin@tukaani.org>
4751 Date: 2011-04-12 11:08:55 +0300
4753 xz: Update the man page about threading.
4755 src/xz/xz.1 | 34 ++++++++++++++++++++--------------
4756 1 file changed, 20 insertions(+), 14 deletions(-)
4759 Author: Lasse Collin <lasse.collin@tukaani.org>
4760 Date: 2011-04-11 22:06:03 +0300
4762 xz: Add support for threaded compression.
4764 src/xz/args.c | 3 +-
4765 src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++----------------------
4766 2 files changed, 125 insertions(+), 80 deletions(-)
4769 Author: Lasse Collin <lasse.collin@tukaani.org>
4770 Date: 2011-04-11 22:03:30 +0300
4772 liblzma: Add lzma_stream_encoder_mt() for threaded compression.
4776 independently from each other. There's room for improvement
4778 this is a good start.
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(-)
4791 Author: Lasse Collin <lasse.collin@tukaani.org>
4792 Date: 2011-04-11 21:15:07 +0300
4794 liblzma: Add the forgotten lzma_lzma2_block_size().
4796 This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a.
4798 src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++
4799 src/liblzma/lzma/lzma2_encoder.h | 2 ++
4800 2 files changed, 12 insertions(+)
4803 Author: Lasse Collin <lasse.collin@tukaani.org>
4804 Date: 2011-04-11 21:04:13 +0300
4806 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
4808 src/liblzma/api/lzma/container.h | 9 +++++++++
4809 1 file changed, 9 insertions(+)
4812 Author: Lasse Collin <lasse.collin@tukaani.org>
4813 Date: 2011-04-11 20:59:07 +0300
4815 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
4818 an error occurs.
4820 src/liblzma/api/lzma/filter.h | 8 ++++++--
4821 1 file changed, 6 insertions(+), 2 deletions(-)
4824 Author: Lasse Collin <lasse.collin@tukaani.org>
4825 Date: 2011-04-11 19:28:18 +0300
4827 liblzma: Use memzero() to initialize supported_actions[].
4830 to lzma_action enumeration.
4832 src/liblzma/common/common.c | 6 ++----
4833 1 file changed, 2 insertions(+), 4 deletions(-)
4836 Author: Lasse Collin <lasse.collin@tukaani.org>
4837 Date: 2011-04-11 19:26:27 +0300
4839 liblzma: API comment about lzma_allocator with threaded coding.
4841 src/liblzma/api/lzma/base.h | 18 +++++++++++++-----
4842 1 file changed, 13 insertions(+), 5 deletions(-)
4845 Author: Lasse Collin <lasse.collin@tukaani.org>
4846 Date: 2011-04-11 19:16:30 +0300
4848 liblzma: Add an internal function lzma_mt_block_size().
4851 development version of liblzma.
4853 src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++-------------------
4854 src/liblzma/common/filter_encoder.h | 4 ++--
4855 2 files changed, 24 insertions(+), 26 deletions(-)
4858 Author: Lasse Collin <lasse.collin@tukaani.org>
4859 Date: 2011-04-11 13:59:50 +0300
4861 liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
4863 Empty Block was created if the input buffer was empty.
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.
4870 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++-------
4871 1 file changed, 13 insertions(+), 7 deletions(-)
4874 Author: Lasse Collin <lasse.collin@tukaani.org>
4875 Date: 2011-04-11 13:28:40 +0300
4877 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
4880 four functions.
4882 src/liblzma/api/lzma/block.h | 1 +
4883 src/liblzma/api/lzma/container.h | 3 +++
4884 2 files changed, 4 insertions(+)
4887 Author: Lasse Collin <lasse.collin@tukaani.org>
4888 Date: 2011-04-11 13:21:28 +0300
4890 liblzma: Validate encoder arguments better.
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.
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(-)
4905 Author: Lasse Collin <lasse.collin@tukaani.org>
4906 Date: 2011-04-11 09:57:30 +0300
4908 xz: Move the description of --block-size in --long-help.
4910 src/xz/message.c | 8 ++++----
4911 1 file changed, 4 insertions(+), 4 deletions(-)
4914 Author: Lasse Collin <lasse.collin@tukaani.org>
4915 Date: 2011-04-11 09:55:35 +0300
4917 Docs: Document --single-stream and --block-size.
4919 src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++--
4920 1 file changed, 36 insertions(+), 2 deletions(-)
4923 Author: Lasse Collin <lasse.collin@tukaani.org>
4924 Date: 2011-04-11 09:27:57 +0300
4926 liblzma: Make lzma_stream_encoder_init() static (second try).
4929 anything outside stream_encoder.c.
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(-)
4938 Author: Lasse Collin <lasse.collin@tukaani.org>
4939 Date: 2011-04-11 08:31:42 +0300
4941 Revert "liblzma: Make lzma_stream_encoder_init() static."
4943 This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7.
4944 I don't know what I was thinking.
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(-)
4952 Author: Lasse Collin <lasse.collin@tukaani.org>
4953 Date: 2011-04-10 21:23:21 +0300
4955 Revise mythread.h.
4959 - mythread_sync() macro to create synchronized blocks
4961 - mythread_cond structure and related functions
4965 - mythread_create() to create a thread with all
4969 but I'll keep them this way for now for simplicity.
4972 now required on some systems to use clock_gettime().
4973 configure.ac was updated to handle this.
4975 configure.ac | 1 +
4976 src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++-----
4977 2 files changed, 181 insertions(+), 20 deletions(-)
4980 Author: Lasse Collin <lasse.collin@tukaani.org>
4981 Date: 2011-04-10 20:37:36 +0300
4983 liblzma: Make lzma_stream_encoder_init() static.
4986 anything outside stream_encoder.c.
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(-)
4994 Author: Lasse Collin <lasse.collin@tukaani.org>
4995 Date: 2011-04-10 14:58:10 +0300
4997 DOS: Update the docs and include notes about 8.3 filenames.
4999 dos/{README => INSTALL.txt} | 13 +----
5000 dos/README.txt | 123 ++++++++++++++++++++++++++++++++++++++++++++
5001 2 files changed, 125 insertions(+), 11 deletions(-)
5004 Author: Lasse Collin <lasse.collin@tukaani.org>
5005 Date: 2011-04-10 13:09:42 +0300
5007 xz/DOS: Add experimental 8.3 filename support.
5010 Juan Manuel Guerrero. I think this one is nicer, but
5012 that this is the final version of 8.3 filename support.
5014 src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
5015 1 file changed, 167 insertions(+), 9 deletions(-)
5018 Author: Lasse Collin <lasse.collin@tukaani.org>
5019 Date: 2011-04-10 12:47:47 +0300
5021 xz/DOS: Be more careful with the destination file.
5023 Try to avoid overwriting the source file if --force is
5025 the source file. This can happen with 8.3 filenames where
5026 extra characters are ignored.
5029 like "con" or "prn", refuse to write to it even if --force
5030 is used.
5032 src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++--
5033 1 file changed, 33 insertions(+), 2 deletions(-)
5036 Author: Lasse Collin <lasse.collin@tukaani.org>
5037 Date: 2011-04-09 18:29:30 +0300
5039 Update THANKS.
5041 THANKS | 1 +
5042 1 file changed, 1 insertion(+)
5045 Author: Lasse Collin <lasse.collin@tukaani.org>
5046 Date: 2011-04-09 18:28:58 +0300
5048 liblzma: Add missing #ifdefs to filter_common.c.
5050 Passing --disable-decoders to configure broke a few
5051 encoders due to missing #ifdefs in filter_common.c.
5053 Thanks to Jason Gorski for the patch.
5055 src/liblzma/common/filter_common.c | 6 +++---
5056 1 file changed, 3 insertions(+), 3 deletions(-)
5059 Author: Lasse Collin <lasse.collin@tukaani.org>
5060 Date: 2011-04-09 15:24:59 +0300
5062 xz: Avoid unneeded fstat() on DOS-like systems.
5064 src/xz/file_io.c | 14 ++++++++------
5065 1 file changed, 8 insertions(+), 6 deletions(-)
5068 Author: Lasse Collin <lasse.collin@tukaani.org>
5069 Date: 2011-04-09 15:11:13 +0300
5071 xz: Minor internal changes to handling of --threads.
5073 Now it always defaults to one thread. Maybe this
5075 that doesn't affect memory usage.
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(-)
5083 Author: Lasse Collin <lasse.collin@tukaani.org>
5084 Date: 2011-04-08 17:53:05 +0300
5086 xz: Change size_t to uint32_t in a few places.
5088 src/xz/coder.c | 6 +++---
5089 src/xz/coder.h | 2 +-
5090 2 files changed, 4 insertions(+), 4 deletions(-)
5093 Author: Lasse Collin <lasse.collin@tukaani.org>
5094 Date: 2011-04-08 17:48:41 +0300
5096 xz: Fix a typo in a comment.
5098 src/xz/coder.c | 2 +-
5099 1 file changed, 1 insertion(+), 1 deletion(-)
5102 Author: Lasse Collin <lasse.collin@tukaani.org>
5103 Date: 2011-04-05 22:41:33 +0300
5105 liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c.
5107 src/liblzma/check/sha256.c | 6 +++---
5108 1 file changed, 3 insertions(+), 3 deletions(-)
5111 Author: Lasse Collin <lasse.collin@tukaani.org>
5112 Date: 2011-04-05 17:12:20 +0300
5114 Build: Upgrade m4/acx_pthread.m4 to the latest version.
5116 It was renamed to ax_pthread.m4 in Autoconf Archive.
5118 configure.ac | 2 +-
5119 m4/{acx_pthread.m4 => ax_pthread.m4} | 170 ++++++++++++++++++-----------------
5120 2 files changed, 88 insertions(+), 84 deletions(-)
5123 Author: Lasse Collin <lasse.collin@tukaani.org>
5124 Date: 2011-04-05 15:27:26 +0300
5126 xz: Use posix_fadvise() if it is available.
5128 configure.ac | 3 +++
5129 src/xz/file_io.c | 15 +++++++++++++++
5130 2 files changed, 18 insertions(+)
5132 commit 1ef3cf44a8eb9512480af4482a5232ea08363b14
5133 Author: Lasse Collin <lasse.collin@tukaani.org>
5134 Date: 2011-04-05 15:13:29 +0300
5136 xz: Call lzma_end(&strm) before exiting if debugging is enabled.
5138 src/xz/coder.c | 10 ++++++++++
5139 src/xz/coder.h | 5 +++++
5140 src/xz/main.c | 4 ++++
5141 3 files changed, 19 insertions(+)
5144 Author: Lasse Collin <lasse.collin@tukaani.org>
5145 Date: 2011-04-02 14:49:56 +0300
5147 liblzma: Fix a memory leak in stream_encoder.c.
5150 every time the lzma_stream is reinitialized. With the xz tool,
5151 this happens when compressing multiple files.
5153 src/liblzma/common/stream_encoder.c | 2 +-
5154 1 file changed, 1 insertion(+), 1 deletion(-)
5157 Author: Lasse Collin <lasse.collin@tukaani.org>
5158 Date: 2011-04-01 08:47:20 +0300
5160 Updated NEWS for 5.0.2.
5163 1 file changed, 18 insertions(+)
5166 Author: Lasse Collin <lasse.collin@tukaani.org>
5167 Date: 2011-03-31 15:06:58 +0300
5169 Update INSTALL with another note about IRIX.
5172 1 file changed, 4 insertions(+)
5175 Author: Lasse Collin <lasse.collin@tukaani.org>
5176 Date: 2011-03-31 12:22:55 +0300
5178 Tests: Add a new file to test empty LZMA2 streams.
5180 tests/files/README | 4 ++++
5181 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes
5182 2 files changed, 4 insertions(+)
5185 Author: Lasse Collin <lasse.collin@tukaani.org>
5186 Date: 2011-03-31 11:54:48 +0300
5188 liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
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.
5195 src/liblzma/lzma/lzma2_decoder.c | 8 ++++----
5196 1 file changed, 4 insertions(+), 4 deletions(-)
5199 Author: Lasse Collin <lasse.collin@tukaani.org>
5200 Date: 2011-03-24 01:42:49 +0200
5202 Scripts: Better fix for xzgrep.
5204 Now it uses "grep -q".
5206 Thanks to Gregory Margo.
5208 src/scripts/xzgrep.in | 8 ++++++--
5209 1 file changed, 6 insertions(+), 2 deletions(-)
5212 Author: Lasse Collin <lasse.collin@tukaani.org>
5213 Date: 2011-03-24 01:22:18 +0200
5215 Updated THANKS.
5217 THANKS | 1 +
5218 1 file changed, 1 insertion(+)
5221 Author: Lasse Collin <lasse.collin@tukaani.org>
5222 Date: 2011-03-24 01:21:32 +0200
5224 Scripts: Fix xzgrep -l.
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".
5232 Thanks to Gregory Margo.
5234 src/scripts/xzgrep.in | 4 ++--
5235 1 file changed, 2 insertions(+), 2 deletions(-)
5238 Author: Lasse Collin <lasse.collin@tukaani.org>
5239 Date: 2011-03-19 13:08:22 +0200
5241 Scripts: Add lzop (.lzo) support to xzdiff and xzgrep.
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(-)
5250 Author: Lasse Collin <lasse.collin@tukaani.org>
5251 Date: 2011-03-18 19:10:30 +0200
5253 xz: Add --block-size=SIZE.
5255 This uses LZMA_FULL_FLUSH every SIZE bytes of input.
5257 Man page wasn't updated yet.
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(-)
5266 Author: Lasse Collin <lasse.collin@tukaani.org>
5267 Date: 2011-03-18 18:19:19 +0200
5269 xz: Add --single-stream.
5272 compressed stream (.xz, .lzma, or raw stream).
5274 Man page wasn't updated yet.
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(-)
5283 Author: Lasse Collin <lasse.collin@tukaani.org>
5284 Date: 2011-02-04 22:49:31 +0200
5286 xz: Clean up suffix.c.
5289 so get rid of it there.
5291 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------
5292 1 file changed, 20 insertions(+), 24 deletions(-)
5295 Author: Lasse Collin <lasse.collin@tukaani.org>
5296 Date: 2011-02-04 11:29:47 +0200
5298 xz: Check if the file already has custom suffix when compressing.
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.
5304 src/xz/suffix.c | 9 +++++++++
5305 1 file changed, 9 insertions(+)
5308 Author: Lasse Collin <lasse.collin@tukaani.org>
5309 Date: 2011-02-02 23:01:51 +0200
5311 Updated THANKS.
5313 THANKS | 1 +
5314 1 file changed, 1 insertion(+)
5317 Author: Lasse Collin <lasse.collin@tukaani.org>
5318 Date: 2011-02-02 23:00:33 +0200
5320 Translations: Add Polish translation.
5322 Thanks to Jakub Bogusz.
5324 po/LINGUAS | 1 +
5325 po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5326 2 files changed, 826 insertions(+)
5329 Author: Lasse Collin <lasse.collin@tukaani.org>
5330 Date: 2011-02-02 22:24:00 +0200
5332 Updated THANKS.
5334 THANKS | 1 +
5335 1 file changed, 1 insertion(+)
5339 Author: Lasse Collin <lasse.collin@tukaani.org>
5340 Date: 2011-02-06 20:13:01 +0200
5345 Author: Lasse Collin <lasse.collin@tukaani.org>
5346 Date: 2011-01-28 20:16:57 +0200
5348 Update NEWS for 5.0.1.
5351 1 file changed, 14 insertions(+)
5354 Author: Lasse Collin <lasse.collin@tukaani.org>
5355 Date: 2011-01-26 12:19:08 +0200
5357 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
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.
5363 Thanks to Charles Wilson.
5365 src/xz/file_io.c | 15 +++++++--------
5366 1 file changed, 7 insertions(+), 8 deletions(-)
5370 Author: Lasse Collin <lasse.collin@tukaani.org>
5371 Date: 2011-01-19 11:45:35 +0200
5373 Merge branch 'v5.0'
5376 Author: Lasse Collin <lasse.collin@tukaani.org>
5377 Date: 2011-01-18 21:25:24 +0200
5379 Updated THANKS.
5381 THANKS | 1 +
5382 1 file changed, 1 insertion(+)
5385 Author: Lasse Collin <lasse.collin@tukaani.org>
5386 Date: 2011-01-18 21:23:50 +0200
5388 Add alloc_size and malloc attributes to a few functions.
5390 Thanks to Cristian Rodríguez for the original patch.
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(-)
5398 Author: Lasse Collin <lasse.collin@tukaani.org>
5399 Date: 2010-12-13 16:36:33 +0200
5401 Scripts: Fix gzip and bzip2 support in xzdiff.
5403 src/scripts/xzdiff.in | 12 ++++++------
5404 1 file changed, 6 insertions(+), 6 deletions(-)
5408 Author: Lasse Collin <lasse.collin@tukaani.org>
5409 Date: 2010-12-12 23:13:22 +0200
5411 Merge branch 'v5.0'
5414 Author: Lasse Collin <lasse.collin@tukaani.org>
5415 Date: 2010-12-12 21:23:55 +0200
5417 Build: Enable ASM on DJGPP by default.
5419 configure.ac | 2 +-
5420 1 file changed, 1 insertion(+), 1 deletion(-)
5423 Author: Lasse Collin <lasse.collin@tukaani.org>
5424 Date: 2010-12-12 16:09:42 +0200
5426 Updated THANKS.
5428 THANKS | 1 +
5429 1 file changed, 1 insertion(+)
5432 Author: Lasse Collin <lasse.collin@tukaani.org>
5433 Date: 2010-12-12 16:07:11 +0200
5435 Add missing PRIx32 and PRIx64 compatibility definitions.
5437 This fixes portability to systems that lack C99 inttypes.h.
5439 Thanks to Juan Manuel Guerrero.
5441 src/common/sysdefs.h | 9 +++++++++
5442 1 file changed, 9 insertions(+)
5445 Author: Lasse Collin <lasse.collin@tukaani.org>
5446 Date: 2010-12-12 14:50:04 +0200
5448 DOS-like: Treat \ and : as directory separators in addition to /.
5450 Juan Manuel Guerrero had fixed this in his XZ Utils port
5451 to DOS/DJGPP. The bug affects also Windows and OS/2.
5453 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++----
5454 1 file changed, 29 insertions(+), 4 deletions(-)
5458 Author: Lasse Collin <lasse.collin@tukaani.org>
5459 Date: 2010-12-07 18:53:04 +0200
5461 Merge branch 'v5.0'
5464 Author: Lasse Collin <lasse.collin@tukaani.org>
5465 Date: 2010-12-07 18:52:04 +0200
5467 Translations: Fix Czech translation of "sparse file".
5469 Thanks to Petr Hubený and Marek Černocký.
5471 po/cs.po | 88 ++++++++++++++++++++++++++++++++--------------------------------
5472 1 file changed, 44 insertions(+), 44 deletions(-)
5476 Author: Lasse Collin <lasse.collin@tukaani.org>
5477 Date: 2010-11-15 14:33:01 +0200
5479 Merge branch 'v5.0'
5482 Author: Lasse Collin <lasse.collin@tukaani.org>
5483 Date: 2010-11-15 14:28:26 +0200
5485 liblzma: Document the return value of lzma_lzma_preset().
5487 src/liblzma/api/lzma/lzma.h | 3 +++
5488 1 file changed, 3 insertions(+)
5491 Author: Jonathan Nieder <jrnieder@gmail.com>
5492 Date: 2010-11-12 15:22:13 -0600
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.
5504 ../configure
5507 include an even longer prefix /home/someone/src/xz/src; this
5508 patch has the nice side-effect of eliminating that prefix, too.
5510 Fixes: http://bugs.debian.org/572273
5512 Doxyfile.in | 2 +-
5513 1 file changed, 1 insertion(+), 1 deletion(-)
5516 Author: Anders F Bjorklund <afb@users.sourceforge.net>
5517 Date: 2010-11-05 12:56:11 +0100
5521 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5522 1 file changed, 92 insertions(+)
5525 Author: Lasse Collin <lasse.collin@tukaani.org>
5526 Date: 2010-11-04 18:31:40 +0200
5528 Update the copies of GPLv2 and LGPLv2.1 from gnu.org.
5530 There are only a few white space changes.
5532 COPYING.GPLv2 | 14 +++++++-------
5533 COPYING.LGPLv2.1 | 16 +++++++---------
5534 2 files changed, 14 insertions(+), 16 deletions(-)
5538 Author: Lasse Collin <lasse.collin@tukaani.org>
5539 Date: 2010-10-26 15:53:06 +0300
5541 Merge branch 'v5.0'
5544 Author: Lasse Collin <lasse.collin@tukaani.org>
5545 Date: 2010-10-26 15:48:48 +0300
5547 Build: Copy the example programs to $docdir/examples.
5551 Makefile.am. Thus, they didn't get included in the source
5552 package at all by "make dist".
5554 Makefile.am | 5 +++++
5555 windows/build.bash | 3 ++-
5556 2 files changed, 7 insertions(+), 1 deletion(-)
5559 Author: Lasse Collin <lasse.collin@tukaani.org>
5560 Date: 2010-10-26 10:36:41 +0300
5562 liblzma: Rename a few variables and constants.
5564 This has no semantic changes. I find the new names slightly
5566 in XZ Embedded.
5568 The name fastpos wasn't changed (not worth the hassle).
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(-)
5581 Author: Lasse Collin <lasse.collin@tukaani.org>
5582 Date: 2010-10-25 12:59:25 +0300
5584 Bump version 5.1.0alpha.
5586 src/liblzma/api/lzma/version.h | 4 ++--
5587 1 file changed, 2 insertions(+), 2 deletions(-)
5590 Author: Lasse Collin <lasse.collin@tukaani.org>
5591 Date: 2010-10-23 17:25:52 +0300
5593 Build: Fix mydist rule when .git doesn't exist.
5595 Makefile.am | 1 +
5596 1 file changed, 1 insertion(+)
5599 Author: Lasse Collin <lasse.collin@tukaani.org>
5600 Date: 2010-10-23 14:15:35 +0300
5602 Add NEWS for 5.0.0.
5605 1 file changed, 62 insertions(+)
5608 Author: Lasse Collin <lasse.collin@tukaani.org>
5609 Date: 2010-10-23 14:02:53 +0300
5611 Bump version to 5.0.0 and liblzma version-info to 5:0:0.
5613 src/liblzma/Makefile.am | 2 +-
5614 src/liblzma/api/lzma/version.h | 8 ++++----
5615 2 files changed, 5 insertions(+), 5 deletions(-)