1 commit 2327a461e1afce862c22269b80d3517801103c1b
2 Author: Lasse Collin <lasse.collin@tukaani.org>
3 Date: 2020-03-17 16:27:42 +0200
5 Bump version and soname for 5.2.5.
7 src/liblzma/Makefile.am | 2 +-
8 src/liblzma/api/lzma/version.h | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
11 commit 3be82d2f7dc882258caf0f0a69214e5916b2bdda
12 Author: Lasse Collin <lasse.collin@tukaani.org>
13 Date: 2020-03-17 16:26:04 +0200
15 Update NEWS for 5.2.5.
17 NEWS | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18 1 file changed, 105 insertions(+)
20 commit ab3e57539c7337f0653b13b75dbc5d03ade9700e
21 Author: Lasse Collin <lasse.collin@tukaani.org>
22 Date: 2020-03-16 21:57:21 +0200
24 Translations: Rebuild cs.po to avoid incorrect fuzzy strings.
26 "make dist" updates the .po files and the fuzzy strings would
27 result in multiple very wrong translations.
29 po/cs.po | 592 ++++++++++++++++++++++++++++++++++-----------------------------
30 1 file changed, 322 insertions(+), 270 deletions(-)
32 commit 3a6f38309dc5d44d8a63ebb337b6b2028561c93e
33 Author: Lasse Collin <lasse.collin@tukaani.org>
34 Date: 2020-03-16 20:01:37 +0200
36 README: Update outdated sections.
38 README | 21 +++++++++++----------
39 1 file changed, 11 insertions(+), 10 deletions(-)
41 commit 9cc0901798217e258e91c13cf6fda7ad42ba108c
42 Author: Lasse Collin <lasse.collin@tukaani.org>
43 Date: 2020-03-16 19:46:27 +0200
45 README: Mention that translatable strings will change after 5.2.x.
47 README | 74 +++---------------------------------------------------------------
48 1 file changed, 3 insertions(+), 71 deletions(-)
50 commit cc163574249f6a4a66f3dc09d6fe5a71bee24fab
51 Author: Lasse Collin <lasse.collin@tukaani.org>
52 Date: 2020-03-16 19:39:45 +0200
54 README: Mention that man pages can be translated.
57 1 file changed, 4 insertions(+), 3 deletions(-)
59 commit ca261994edc3f2d03d5589c037171c63471ee9dc
60 Author: Lasse Collin <lasse.collin@tukaani.org>
61 Date: 2020-03-16 17:30:39 +0200
63 Translations: Add partial Danish translation.
65 I made a few minor white space changes without getting them
66 approved by the Danish translation team.
69 po/da.po | 896 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
70 2 files changed, 897 insertions(+)
72 commit 51cd5d051fc730d61411dee292e863582784e189
73 Author: Lasse Collin <lasse.collin@tukaani.org>
74 Date: 2020-03-16 16:43:29 +0200
76 Update INSTALL.generic from Automake 1.16.1.
78 INSTALL.generic | 321 ++++++++++++++++++++++++++++----------------------------
79 1 file changed, 162 insertions(+), 159 deletions(-)
81 commit 69d694e5f1beae2bbfa3b6c348ec0ec5f14b5cd0
82 Author: Lasse Collin <lasse.collin@tukaani.org>
83 Date: 2020-03-15 15:27:22 +0200
85 Update INSTALL for Windows and DOS and add preliminary info for z/OS.
87 INSTALL | 51 +++++++++++++++++++++++++++++++++++++++++----------
88 1 file changed, 41 insertions(+), 10 deletions(-)
90 commit 2c3b1bb80a3ca7e09728fe4d7a1d8648a5cb9bca
91 Author: Lasse Collin <lasse.collin@tukaani.org>
92 Date: 2020-03-15 15:26:20 +0200
94 Build: Update m4/ax_pthread.m4 from Autoconf Archive (again).
96 m4/ax_pthread.m4 | 219 +++++++++++++++++++++++++++++--------------------------
97 1 file changed, 117 insertions(+), 102 deletions(-)
99 commit 74a5af180a6a6c4b8c90cefb37ee900d3fea7dc6
100 Author: Lasse Collin <lasse.collin@tukaani.org>
101 Date: 2020-03-11 21:15:35 +0200
103 xz: Never use thousand separators in DJGPP builds.
105 DJGPP 2.05 added support for thousands separators but it's
106 broken at least under WinXP with Finnish locale that uses
107 a non-breaking space as the thousands separator. Workaround
108 by disabling thousands separators for DJGPP builds.
110 src/xz/util.c | 14 ++++++++++++--
111 1 file changed, 12 insertions(+), 2 deletions(-)
113 commit ceba0d25e826bcdbf64bb4cb03385a2a66f8cbcb
114 Author: Lasse Collin <lasse.collin@tukaani.org>
115 Date: 2020-03-11 19:38:08 +0200
117 DOS: Update dos/Makefile for DJGPP 2.05.
119 It doesn't need -fgnu89-inline like 2.04beta did.
121 dos/Makefile | 4 +---
122 1 file changed, 1 insertion(+), 3 deletions(-)
124 commit 29e5bd71612253281fb22bbaa0a566990a74dcc3
125 Author: Lasse Collin <lasse.collin@tukaani.org>
126 Date: 2020-03-11 19:36:07 +0200
128 DOS: Update instructions in dos/INSTALL.txt.
130 dos/INSTALL.txt | 59 ++++++++++++++++++++++++++++-----------------------------
131 1 file changed, 29 insertions(+), 30 deletions(-)
133 commit 00a037ee9c8ee5a03cf9744e05570ae93d56b875
134 Author: Lasse Collin <lasse.collin@tukaani.org>
135 Date: 2020-03-11 17:58:51 +0200
137 DOS: Update config.h.
139 The added defines assume GCC >= 4.8.
141 dos/config.h | 8 ++++++++
142 1 file changed, 8 insertions(+)
144 commit 4ec2feaefa310b4249eb41893caf526e5c51ee39
145 Author: Lasse Collin <lasse.collin@tukaani.org>
146 Date: 2020-03-11 22:37:54 +0200
148 Translations: Add hu, zh_CN, and zh_TW.
150 I made a few white space changes to these without getting them
151 approved by the translation teams. (I tried to contact the hu and
152 zh_TW teams but didn't succeed. I didn't contact the zh_CN team.)
155 po/hu.po | 985 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
156 po/zh_CN.po | 963 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
157 po/zh_TW.po | 956 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
158 4 files changed, 2907 insertions(+)
160 commit b6ed09729ae408be4533a0ddbc7df3d6f566846a
161 Author: Lasse Collin <lasse.collin@tukaani.org>
162 Date: 2020-03-11 14:33:30 +0200
164 Translations: Update vi.po to match the file from the TP.
166 The translated strings haven't been updated but word wrapping
169 po/vi.po | 407 ++++++++++++++++++++++++++++-----------------------------------
170 1 file changed, 179 insertions(+), 228 deletions(-)
172 commit 7c85e8953ced204c858101872a15183e4639e9fb
173 Author: Lasse Collin <lasse.collin@tukaani.org>
174 Date: 2020-03-11 14:18:03 +0200
176 Translations: Add fi and pt_BR, and update de, fr, it, and pl.
178 The German translation isn't identical to the file in
179 the Translation Project but the changes (white space changes
180 only) were approved by the translator Mario Blättermann.
183 po/de.po | 476 ++++++++++++++--------------
184 po/fi.po | 974 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
185 po/fr.po | 272 ++++++++--------
186 po/it.po | 479 ++++++++++++----------------
187 po/pl.po | 239 +++++++-------
188 po/pt_BR.po | 1001 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
189 7 files changed, 2697 insertions(+), 746 deletions(-)
191 commit 7da3ebc67fb5414034685ec16c7a29dad03dfa9b
192 Author: Lasse Collin <lasse.collin@tukaani.org>
193 Date: 2020-02-25 21:35:14 +0200
198 1 file changed, 1 insertion(+)
200 commit 1acc48794364606c9091cae6fa56db75a1325114
201 Author: Lasse Collin <lasse.collin@tukaani.org>
202 Date: 2020-03-11 13:05:29 +0200
204 Build: Add very limited experimental CMake support.
206 This version matches CMake files in the master branch (commit
207 265daa873c0d871f5f23f9b56e133a6f20045a0a) except that this omits
208 two source files that aren't in v5.2 and in the beginning of
209 CMakeLists.txt the first paragraph in the comment is slightly
210 different to point out possible issues in building shared liblzma.
212 CMakeLists.txt | 659 ++++++++++++++++++++++++++++++++++++++++++++
213 cmake/tuklib_common.cmake | 49 ++++
214 cmake/tuklib_cpucores.cmake | 175 ++++++++++++
215 cmake/tuklib_integer.cmake | 102 +++++++
216 cmake/tuklib_mbstr.cmake | 20 ++
217 cmake/tuklib_physmem.cmake | 150 ++++++++++
218 cmake/tuklib_progname.cmake | 19 ++
219 7 files changed, 1174 insertions(+)
221 commit 9acc6abea1552803c74c1486fbb10af119550772
222 Author: Lasse Collin <lasse.collin@tukaani.org>
223 Date: 2020-02-27 20:24:27 +0200
225 Build: Add support for --no-po4a option to autogen.sh.
227 Normally, if po4a isn't available, autogen.sh will return
228 with non-zero exit status. The option --no-po4a can be useful
229 when one knows that po4a isn't available but wants autogen.sh
230 to still return with zero exit status.
232 autogen.sh | 11 ++++++++++-
233 1 file changed, 10 insertions(+), 1 deletion(-)
235 commit c8853b31545db7bd0551be85949624b1261efd47
236 Author: Lasse Collin <lasse.collin@tukaani.org>
237 Date: 2020-02-24 23:37:07 +0200
239 Update m4/.gitignore.
242 1 file changed, 1 insertion(+)
244 commit 901eb4a8c992354c3ea482f5bad60a1f8ad6fcc8
245 Author: Lasse Collin <lasse.collin@tukaani.org>
246 Date: 2020-02-24 23:01:00 +0200
248 liblzma: Remove unneeded <sys/types.h> from fastpos_tablegen.c.
250 This file only generates fastpos_table.c.
251 It isn't built as a part of liblzma.
253 src/liblzma/lzma/fastpos_tablegen.c | 1 -
254 1 file changed, 1 deletion(-)
256 commit ac35c9585fb734b7a19785d490c152e0b8cd4663
257 Author: Lasse Collin <lasse.collin@tukaani.org>
258 Date: 2020-02-22 14:15:07 +0200
260 Use defined(__GNUC__) before __GNUC__ in preprocessor lines.
262 This should silence the equivalent of -Wundef in compilers that
263 don't define __GNUC__.
265 src/common/sysdefs.h | 3 ++-
266 src/liblzma/api/lzma.h | 5 +++--
267 2 files changed, 5 insertions(+), 3 deletions(-)
269 commit fb9cada7cfade1156d6277717280e05b5cd342d6
270 Author: Lasse Collin <lasse.collin@tukaani.org>
271 Date: 2020-02-21 17:40:02 +0200
273 liblzma: Add more uses of lzma_memcmplen() to the normal mode of LZMA.
275 This gives a tiny encoder speed improvement. This could have been done
276 in 2014 after the commit 544aaa3d13554e8640f9caf7db717a96360ec0f6 but
279 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 16 ++++++++++------
280 1 file changed, 10 insertions(+), 6 deletions(-)
282 commit 6117955af0b9cef5acde7859e86f773692b5f43c
283 Author: Lasse Collin <lasse.collin@tukaani.org>
284 Date: 2020-02-21 17:01:15 +0200
286 Build: Add visibility.m4 from gnulib.
288 Appears that this file used to get included as a side effect of
289 gettext. After the change to gettext version requirements this file
290 no longer got copied to the package and so the build was broken.
293 m4/visibility.m4 | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
294 2 files changed, 77 insertions(+), 1 deletion(-)
296 commit c2cc64d78c098834231f9cfd7d852c9cd8950d74
297 Author: Lasse Collin <lasse.collin@tukaani.org>
298 Date: 2020-02-21 16:10:44 +0200
300 xz: Silence a warning when sig_atomic_t is long int.
302 It can be true at least on z/OS.
304 src/xz/signals.c | 2 +-
305 1 file changed, 1 insertion(+), 1 deletion(-)
307 commit b6314aa275b35c714e0a191d0b2e9b6106129ea9
308 Author: Lasse Collin <lasse.collin@tukaani.org>
309 Date: 2020-02-21 15:59:26 +0200
311 xz: Avoid unneeded access of a volatile variable.
313 src/xz/signals.c | 2 +-
314 1 file changed, 1 insertion(+), 1 deletion(-)
316 commit f772a1572f723e5dc7d2d32e1d4287ac7a0da55e
317 Author: Lasse Collin <lasse.collin@tukaani.org>
318 Date: 2020-02-21 01:24:18 +0200
320 tuklib_integer.m4: Optimize the check order.
322 The __builtin byteswapping is the preferred one so check for it first.
324 m4/tuklib_integer.m4 | 56 +++++++++++++++++++++++++++-------------------------
325 1 file changed, 29 insertions(+), 27 deletions(-)
327 commit 641042e63f665f3231c2fd1241fd3dddda3fb313
328 Author: Lasse Collin <lasse.collin@tukaani.org>
329 Date: 2020-02-20 18:54:04 +0200
331 tuklib_exit: Add missing header.
333 strerror() needs <string.h> which happened to be included via
334 tuklib_common.h -> tuklib_config.h -> sysdefs.h if HAVE_CONFIG_H
335 was defined. This wasn't tested without config.h before so it
338 src/common/tuklib_exit.c | 1 +
339 1 file changed, 1 insertion(+)
341 commit dbd55a69e530fec9ae866aaf6c3ccc0b4daf1f1f
342 Author: Lasse Collin <lasse.collin@tukaani.org>
343 Date: 2020-02-16 11:18:28 +0200
345 sysdefs.h: Omit the conditionals around string.h and limits.h.
347 string.h is used unconditionally elsewhere in the project and
348 configure has always stopped if limits.h is missing, so these
349 headers must have been always available even on the weirdest
352 src/common/sysdefs.h | 8 ++------
353 1 file changed, 2 insertions(+), 6 deletions(-)
355 commit 9294909861e6d22b32418467e0e988f953a82264
356 Author: Lasse Collin <lasse.collin@tukaani.org>
357 Date: 2020-02-15 15:07:11 +0200
359 Build: Bump Autoconf and Libtool version requirements.
361 There is no specific reason for this other than blocking
362 the most ancient versions. These are still old:
366 gettext 0.19.6 (2015)
369 configure.ac | 4 ++--
370 1 file changed, 2 insertions(+), 2 deletions(-)
372 commit bd09081bbdf552f730030d2fd0e5e39ccb3936af
373 Author: Lasse Collin <lasse.collin@tukaani.org>
374 Date: 2020-02-15 03:08:32 +0200
376 Build: Use AM_GNU_GETTEXT_REQUIRE_VERSION and require 0.19.6.
378 This bumps the version requirement from 0.19 (from 2014) to
381 Using only the old AM_GNU_GETTEXT_VERSION results in old
382 gettext infrastructure being placed in the package. By using
383 both macros we get the latest gettext files while the other
384 programs in the Autotools family can still see the old macro.
386 configure.ac | 6 +++++-
387 1 file changed, 5 insertions(+), 1 deletion(-)
389 commit 1e5e08d86534aec7ca957982c7f6e90203c19e9f
390 Author: Lasse Collin <lasse.collin@tukaani.org>
391 Date: 2020-02-14 20:42:06 +0200
393 Translations: Add German translation of the man pages.
395 Thanks to Mario Blättermann.
397 po4a/de.po | 5532 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
398 po4a/po4a.conf | 2 +-
399 2 files changed, 5533 insertions(+), 1 deletion(-)
401 commit 4b1447809ffbc0d77c0ad456bd6b3afcf0b8623e
402 Author: Lasse Collin <lasse.collin@tukaani.org>
403 Date: 2020-02-07 15:32:21 +0200
405 Build: Add support for translated man pages using po4a.
407 The dependency on po4a is optional. It's never required to install
408 the translated man pages when xz is built from a release tarball.
409 If po4a is missing when building from xz.git, the translated man
410 pages won't be generated but otherwise the build will work normally.
412 The translations are only updated automatically by autogen.sh and
413 by "make mydist". This makes it easy to keep po4a as an optional
414 dependency and ensures that I won't forget to put updated
415 translations to a release tarball.
417 The translated man pages aren't installed if --disable-nls is used.
419 The installation of translated man pages abuses Automake internals
420 by calling "install-man" with redefined dist_man_MANS and man_MANS.
421 This makes the hairy script code slightly less hairy. If it breaks
422 some day, this code needs to be fixed; don't blame Automake developers.
424 Also, this adds more quotes to the existing shell script code in
425 the Makefile.am "-hook"s.
428 autogen.sh | 8 ++++---
429 po4a/.gitignore | 2 ++
430 po4a/po4a.conf | 14 +++++++++++
431 po4a/update-po | 45 ++++++++++++++++++++++++++++++++++
432 src/scripts/Makefile.am | 64 +++++++++++++++++++++++++++++++++++++------------
433 src/xz/Makefile.am | 50 +++++++++++++++++++++++++++-----------
434 src/xzdec/Makefile.am | 55 ++++++++++++++++++++++++++++++++----------
435 8 files changed, 197 insertions(+), 45 deletions(-)
437 commit 882fcfdcd86525cc5c6f6d0bf0230d0089206d13
438 Author: Lasse Collin <lasse.collin@tukaani.org>
439 Date: 2020-02-06 00:04:42 +0200
441 Update THANKS (sync with the master branch).
444 1 file changed, 3 insertions(+)
446 commit 134bb7765815d5f265eb0bc9e6ebacd9ae4a52bc
447 Author: Lasse Collin <lasse.collin@tukaani.org>
448 Date: 2020-02-05 22:35:06 +0200
450 Update tests/.gitignore.
453 1 file changed, 4 insertions(+)
455 commit 6912472fafb656be8f4c5b4ac9ea28fea3065de4
456 Author: Lasse Collin <lasse.collin@tukaani.org>
457 Date: 2020-02-05 22:28:51 +0200
459 Update m4/.gitignore.
462 1 file changed, 1 insertion(+)
464 commit 68c60735bbb6e51d4205ba8a9fde307bcfb22f8c
465 Author: Lasse Collin <lasse.collin@tukaani.org>
466 Date: 2020-02-05 20:47:38 +0200
471 1 file changed, 1 insertion(+)
473 commit e1beaa74bc7cb5a409d59b55870e01ae7784ce3a
474 Author: Lasse Collin <lasse.collin@tukaani.org>
475 Date: 2020-02-05 20:33:50 +0200
477 xz: Comment out annoying sandboxing messages.
479 src/xz/file_io.c | 10 +++++++---
480 1 file changed, 7 insertions(+), 3 deletions(-)
482 commit 8238192652290df78bd728b20e3f6542d1a2819e
483 Author: Lasse Collin <lasse.collin@tukaani.org>
484 Date: 2020-02-05 19:33:37 +0200
486 Build: Workaround a POSIX shell detection problem on Solaris.
488 I don't know if the problem is in gnulib's gl_POSIX_SHELL macro
489 or if xzgrep does something that isn't in POSIX. The workaround
490 adds a special case for Solaris: if /usr/xpg4/bin/sh exists and
491 gl_cv_posix_shell wasn't overriden on the configure command line,
492 use that shell for xzgrep and other scripts. That shell is known
493 to work and exists on most Solaris systems.
495 configure.ac | 10 ++++++++++
496 1 file changed, 10 insertions(+)
498 commit 93a1f61e892e145607dd938e3b30098af19a1672
499 Author: Lasse Collin <lasse.collin@tukaani.org>
500 Date: 2020-02-03 22:03:50 +0200
502 Build: Update m4/ax_pthread.m4 from Autoconf Archive.
504 m4/ax_pthread.m4 | 398 ++++++++++++++++++++++++++++++++++++++-----------------
505 1 file changed, 279 insertions(+), 119 deletions(-)
507 commit d0daa21792ff861e5423bbd82aaa6c8ba9fa0462
508 Author: Lasse Collin <lasse.collin@tukaani.org>
509 Date: 2020-02-01 19:56:18 +0200
511 xz: Limit --memlimit-compress to at most 4020 MiB for 32-bit xz.
513 See the code comment for reasoning. It's far from perfect but
514 hopefully good enough for certain cases while hopefully doing
515 nothing bad in other situations.
517 At presets -5 ... -9, 4020 MiB vs. 4096 MiB makes no difference
518 on how xz scales down the number of threads.
520 The limit has to be a few MiB below 4096 MiB because otherwise
521 things like "xz --lzma2=dict=500MiB" won't scale down the dict
522 size enough and xz cannot allocate enough memory. With
523 "ulimit -v $((4096 * 1024))" on x86-64, the limit in xz had
524 to be no more than 4085 MiB. Some safety margin is good though.
526 This is hack but it should be useful when running 32-bit xz on
527 a 64-bit kernel that gives full 4 GiB address space to xz.
528 Hopefully this is enough to solve this:
530 https://bugzilla.redhat.com/show_bug.cgi?id=1196786
532 FreeBSD has a patch that limits the result in tuklib_physmem()
533 to SIZE_MAX on 32-bit systems. While I think it's not the way
534 to do it, the results on --memlimit-compress have been good. This
535 commit should achieve practically identical results for compression
536 while leaving decompression and tuklib_physmem() and thus
537 lzma_physmem() unaffected.
539 src/xz/hardware.c | 32 +++++++++++++++++++++++++++++++-
540 src/xz/xz.1 | 21 ++++++++++++++++++++-
541 2 files changed, 51 insertions(+), 2 deletions(-)
543 commit 4433c2dc5727ee6aef570e001a5a024e0d94e609
544 Author: Lasse Collin <lasse.collin@tukaani.org>
545 Date: 2020-01-26 20:53:25 +0200
547 xz: Set the --flush-timeout deadline when the first input byte arrives.
549 xz --flush-timeout=2000, old version:
551 1. xz is started. The next flush will happen after two seconds.
552 2. No input for one second.
553 3. A burst of a few kilobytes of input.
554 4. No input for one second.
555 5. Two seconds have passed and flushing starts.
557 The first second counted towards the flush-timeout even though
558 there was no pending data. This can cause flushing to occur more
561 xz --flush-timeout=2000, after this commit:
564 2. No input for one second.
565 3. A burst of a few kilobytes of input. The next flush will
566 happen after two seconds counted from the time when the
567 first bytes of the burst were read.
568 4. No input for one second.
569 5. No input for another second.
570 6. Two seconds have passed and flushing starts.
572 src/xz/coder.c | 6 +-----
573 src/xz/file_io.c | 6 +++++-
574 src/xz/mytime.c | 1 -
575 3 files changed, 6 insertions(+), 7 deletions(-)
577 commit acc0ef3ac80f18e349c6d0252177707105c0a29c
578 Author: Lasse Collin <lasse.collin@tukaani.org>
579 Date: 2020-01-26 20:19:19 +0200
581 xz: Move flush_needed from mytime.h to file_pair struct in file_io.h.
583 src/xz/coder.c | 3 ++-
584 src/xz/file_io.c | 3 ++-
585 src/xz/file_io.h | 3 +++
586 src/xz/mytime.c | 3 ---
587 src/xz/mytime.h | 4 ----
588 5 files changed, 7 insertions(+), 9 deletions(-)
590 commit 4afe69d30b66812682a2016ee18441958019cbb2
591 Author: Lasse Collin <lasse.collin@tukaani.org>
592 Date: 2020-01-26 14:49:22 +0200
594 xz: coder.c: Make writing output a separate function.
596 The same code sequence repeats so it's nicer as a separate function.
597 Note that in one case there was no test for opt_mode != MODE_TEST,
598 but that was only because that condition would always be true, so
599 this commit doesn't change the behavior there.
601 src/xz/coder.c | 30 +++++++++++++++++-------------
602 1 file changed, 17 insertions(+), 13 deletions(-)
604 commit ec26f3ace5f9b260ca91508030f07465ae2f9f78
605 Author: Lasse Collin <lasse.collin@tukaani.org>
606 Date: 2020-01-26 14:13:42 +0200
608 xz: Fix semi-busy-waiting in xz --flush-timeout.
610 When input blocked, xz --flush-timeout=1 would wake up every
611 millisecond and initiate flushing which would have nothing to
612 flush and thus would just waste CPU time. The fix disables the
613 timeout when no input has been seen since the previous flush.
615 src/xz/coder.c | 4 ++++
616 src/xz/file_io.c | 15 +++++++++++----
617 src/xz/file_io.h | 4 ++++
618 3 files changed, 19 insertions(+), 4 deletions(-)
620 commit 38915703241e69a64f133ff9a02ec9100c6019c6
621 Author: Lasse Collin <lasse.collin@tukaani.org>
622 Date: 2020-01-26 13:47:31 +0200
624 xz: Refactor io_read() a bit.
626 src/xz/file_io.c | 17 ++++++++---------
627 1 file changed, 8 insertions(+), 9 deletions(-)
629 commit f6d24245349cecfae6ec0d2366fa80716c9f6d37
630 Author: Lasse Collin <lasse.collin@tukaani.org>
631 Date: 2020-01-26 13:37:08 +0200
633 xz: Update a comment in file_io.h.
635 src/xz/file_io.h | 5 ++++-
636 1 file changed, 4 insertions(+), 1 deletion(-)
638 commit 15b55d5c63d27f81776edb1abc05872a751fc674
639 Author: Lasse Collin <lasse.collin@tukaani.org>
640 Date: 2020-01-26 13:27:51 +0200
642 xz: Move the setting of flush_needed in file_io.c to a nicer location.
644 src/xz/file_io.c | 6 ++----
645 1 file changed, 2 insertions(+), 4 deletions(-)
647 commit 609c7067859146ffc62ac655f6ba53599c891801
648 Author: Lasse Collin <lasse.collin@tukaani.org>
649 Date: 2020-02-05 19:56:09 +0200
651 xz: Enable Capsicum sandboxing by default if available.
653 It has been enabled in FreeBSD for a while and reported to work fine.
658 configure.ac | 8 ++++----
659 2 files changed, 4 insertions(+), 10 deletions(-)
661 commit 00517d125cc26ecece0eebb84c1c3975cd19bee0
662 Author: Lasse Collin <lasse.collin@tukaani.org>
663 Date: 2019-12-31 22:41:45 +0200
665 Rename unaligned_read32ne to read32ne, and similarly for the others.
667 src/common/tuklib_integer.h | 64 +++++++++++++++----------------
668 src/liblzma/common/alone_encoder.c | 2 +-
669 src/liblzma/common/block_header_decoder.c | 2 +-
670 src/liblzma/common/block_header_encoder.c | 2 +-
671 src/liblzma/common/memcmplen.h | 9 ++---
672 src/liblzma/common/stream_flags_decoder.c | 6 +--
673 src/liblzma/common/stream_flags_encoder.c | 8 ++--
674 src/liblzma/lz/lz_encoder_hash.h | 2 +-
675 src/liblzma/lzma/lzma_decoder.c | 2 +-
676 src/liblzma/lzma/lzma_encoder.c | 2 +-
677 src/liblzma/lzma/lzma_encoder_private.h | 3 +-
678 src/liblzma/simple/simple_decoder.c | 2 +-
679 src/liblzma/simple/simple_encoder.c | 2 +-
680 tests/test_block_header.c | 4 +-
681 tests/test_stream_flags.c | 6 +--
682 15 files changed, 54 insertions(+), 62 deletions(-)
684 commit 52d89d8443c4a31a69c0701062f2c7711d82bbed
685 Author: Lasse Collin <lasse.collin@tukaani.org>
686 Date: 2019-12-31 00:29:48 +0200
688 Rename read32ne to aligned_read32ne, and similarly for the others.
690 Using the aligned methods requires more care to ensure that
691 the address really is aligned, so it's nicer if the aligned
692 methods are prefixed. The next commit will remove the unaligned_
693 prefix from the unaligned methods which in liblzma are used in
694 more places than the aligned ones.
696 src/common/tuklib_integer.h | 56 +++++++++++++++++++++---------------------
697 src/liblzma/check/crc32_fast.c | 4 +--
698 src/liblzma/check/crc64_fast.c | 4 +--
699 3 files changed, 32 insertions(+), 32 deletions(-)
701 commit 850620468b57d49f16093e5870d1050886fcb37a
702 Author: Lasse Collin <lasse.collin@tukaani.org>
703 Date: 2019-12-31 00:18:24 +0200
705 Revise tuklib_integer.h and .m4.
707 Add a configure option --enable-unsafe-type-punning to get the
708 old non-conforming memory access methods. It can be useful with
709 old compilers or in some other less typical situations but
710 shouldn't normally be used.
712 Omit the packed struct trick for unaligned access. While it's
713 best in some cases, this is simpler. If the memcpy trick doesn't
714 work, one can request unsafe type punning from configure.
716 Because CRC32/CRC64 code needs fast aligned reads, if no very
717 safe way to do it is found, type punning is used as a fallback.
718 This sucks but since it currently works in practice, it seems to
719 be the least bad option. It's never needed with GCC >= 4.7 or
720 Clang >= 3.6 since these support __builtin_assume_aligned and
721 thus fast aligned access can be done with the memcpy trick.
724 - Support GCC/Clang __builtin_bswapXX
725 - Cleaner bswap fallback macros
728 m4/tuklib_integer.m4 | 43 ++++
729 src/common/tuklib_integer.h | 488 ++++++++++++++++++++++++--------------------
730 2 files changed, 314 insertions(+), 217 deletions(-)
732 commit a45badf0342666462cc6a7107a071418570ab773
733 Author: Lasse Collin <lasse.collin@tukaani.org>
734 Date: 2019-12-29 22:51:58 +0200
736 Tests: Hopefully fix test_check.c to work on EBCDIC systems.
738 Thanks to Daniel Richard G.
740 tests/test_check.c | 9 +++++++--
741 1 file changed, 7 insertions(+), 2 deletions(-)
743 commit c9a8071e6690a8db8a485c075920df254e7c70ea
744 Author: Lasse Collin <lasse.collin@tukaani.org>
745 Date: 2019-09-24 23:02:40 +0300
747 Scripts: Put /usr/xpg4/bin to the beginning of PATH on Solaris.
749 This adds a configure option --enable-path-for-scripts=PREFIX
750 which defaults to empty except on Solaris it is /usr/xpg4/bin
751 to make POSIX grep and others available. The Solaris case had
752 been documented in INSTALL with a manual fix but it's better
753 to do this automatically since it is needed on most Solaris
756 Thanks to Daniel Richard G.
758 INSTALL | 43 +++++++++++++++++++++++++++++++++++--------
759 configure.ac | 26 ++++++++++++++++++++++++++
760 src/scripts/xzdiff.in | 1 +
761 src/scripts/xzgrep.in | 1 +
762 src/scripts/xzless.in | 1 +
763 src/scripts/xzmore.in | 1 +
764 6 files changed, 65 insertions(+), 8 deletions(-)
766 commit aba140e2df3ff63ad124ae997de16d517b98ca50
767 Author: Lasse Collin <lasse.collin@tukaani.org>
768 Date: 2019-07-12 18:57:43 +0300
770 Fix comment typos in tuklib_mbstr* files.
772 src/common/tuklib_mbstr.h | 2 +-
773 src/common/tuklib_mbstr_fw.c | 2 +-
774 src/common/tuklib_mbstr_width.c | 2 +-
775 3 files changed, 3 insertions(+), 3 deletions(-)
777 commit 710f5bd769a5d2bd8684256c2727d15350ee2ab8
778 Author: Lasse Collin <lasse.collin@tukaani.org>
779 Date: 2019-07-12 18:30:46 +0300
781 Add missing include to tuklib_mbstr_width.c.
783 It didn't matter in XZ Utils because sysdefs.h
784 includes string.h anyway.
786 src/common/tuklib_mbstr_width.c | 1 +
787 1 file changed, 1 insertion(+)
789 commit 0e491aa8cd72e0100cd15c1b9469cd57fae500b0
790 Author: Lasse Collin <lasse.collin@tukaani.org>
791 Date: 2019-06-25 23:15:21 +0300
793 liblzma: Fix a buggy comment.
795 src/liblzma/lz/lz_encoder_mf.c | 2 +-
796 1 file changed, 1 insertion(+), 1 deletion(-)
798 commit bfc245569f340a75bd71ad32a6beba786712683b
799 Author: Lasse Collin <lasse.collin@tukaani.org>
800 Date: 2019-06-25 00:16:06 +0300
802 configure.ac: Fix a typo in a comment.
805 1 file changed, 1 insertion(+), 1 deletion(-)
807 commit f18eee9d15a22c8449ef395a05f0eb637c4ad253
808 Author: Lasse Collin <lasse.collin@tukaani.org>
809 Date: 2019-06-25 00:08:13 +0300
811 Tests: Silence warnings from clang -Wassign-enum.
813 Also changed 999 to 99 so it fits even if lzma_check happened
816 tests/test_block_header.c | 3 ++-
817 tests/test_stream_flags.c | 2 +-
818 2 files changed, 3 insertions(+), 2 deletions(-)
820 commit 25f74554723e8deabc66fed1abf0ec27a4ed19d5
821 Author: Lasse Collin <lasse.collin@tukaani.org>
822 Date: 2019-06-24 23:52:17 +0300
824 liblzma: Add a comment.
826 src/liblzma/common/stream_encoder_mt.c | 2 +-
827 1 file changed, 1 insertion(+), 1 deletion(-)
829 commit 44eb961f2a51d02420d017bc5ff470360663650c
830 Author: Lasse Collin <lasse.collin@tukaani.org>
831 Date: 2019-06-24 23:45:21 +0300
833 liblzma: Silence clang -Wmissing-variable-declarations.
835 src/liblzma/check/crc32_table.c | 3 +++
836 src/liblzma/check/crc64_table.c | 3 +++
837 2 files changed, 6 insertions(+)
839 commit 267afcd9955e668c1532b069230c21c348eb4f82
840 Author: Lasse Collin <lasse.collin@tukaani.org>
841 Date: 2019-06-24 22:57:43 +0300
843 xz: Silence a warning from clang -Wsign-conversion in main.c.
846 1 file changed, 1 insertion(+), 1 deletion(-)
848 commit 0e3c4002f809311ecef239b05e556d9c462b5703
849 Author: Lasse Collin <lasse.collin@tukaani.org>
850 Date: 2019-06-24 22:47:39 +0300
852 liblzma: Remove incorrect uses of lzma_attribute((__unused__)).
854 Caught by clang -Wused-but-marked-unused.
856 src/liblzma/common/alone_decoder.c | 3 +--
857 src/liblzma/common/alone_encoder.c | 3 +--
858 src/liblzma/lz/lz_decoder.c | 3 +--
859 3 files changed, 3 insertions(+), 6 deletions(-)
861 commit cb708e8fa3405ec13a0ebfebbbf2793f927deab1
862 Author: Lasse Collin <lasse.collin@tukaani.org>
863 Date: 2019-06-24 20:53:55 +0300
865 Tests: Silence a warning from -Wsign-conversion.
867 tests/create_compress_files.c | 8 ++++----
868 1 file changed, 4 insertions(+), 4 deletions(-)
870 commit c8cace3d6e965c0fb537591372bf71b9357dd76c
871 Author: Lasse Collin <lasse.collin@tukaani.org>
872 Date: 2019-06-24 20:45:49 +0300
874 xz: Fix an integer overflow with 32-bit off_t.
876 Or any off_t which isn't very big (like signed 64 bit integer
877 that most system have). A small off_t could overflow if the
878 file being decompressed had long enough run of zero bytes,
879 which would result in corrupt output.
881 src/xz/file_io.c | 11 +++++++++--
882 1 file changed, 9 insertions(+), 2 deletions(-)
884 commit 65a42741e290fbcd85dfc5db8a62c4bce5f7712c
885 Author: Lasse Collin <lasse.collin@tukaani.org>
886 Date: 2019-06-24 00:57:23 +0300
888 Tests: Remove a duplicate branch from tests/tests.h.
890 The duplication was introduced about eleven years ago and
891 should have been cleaned up back then already.
893 This was caught by -Wduplicated-branches.
895 tests/tests.h | 9 ++-------
896 1 file changed, 2 insertions(+), 7 deletions(-)
898 commit 5c4fb60e8df026e933afab0cfe0a8b55be20036c
899 Author: Lasse Collin <lasse.collin@tukaani.org>
900 Date: 2019-06-23 23:22:45 +0300
902 tuklib_mbstr_width: Fix a warning from -Wsign-conversion.
904 src/common/tuklib_mbstr_width.c | 2 +-
905 1 file changed, 1 insertion(+), 1 deletion(-)
907 commit 37df03ce52ce53710e1513387648763f8a744154
908 Author: Lasse Collin <lasse.collin@tukaani.org>
909 Date: 2019-06-23 23:19:34 +0300
911 xz: Fix some of the warnings from -Wsign-conversion.
913 src/xz/args.c | 4 ++--
914 src/xz/coder.c | 4 ++--
915 src/xz/file_io.c | 5 +++--
916 src/xz/message.c | 4 ++--
917 src/xz/mytime.c | 4 ++--
918 src/xz/options.c | 2 +-
919 src/xz/util.c | 4 ++--
920 7 files changed, 14 insertions(+), 13 deletions(-)
922 commit 7c65ae0f5f2e2431f88621e8fe6d1dc7907e30c1
923 Author: Lasse Collin <lasse.collin@tukaani.org>
924 Date: 2019-06-23 22:27:45 +0300
926 tuklib_cpucores: Silence warnings from -Wsign-conversion.
928 src/common/tuklib_cpucores.c | 10 +++++-----
929 1 file changed, 5 insertions(+), 5 deletions(-)
931 commit a502dd1d000b598406637d452f535f4bbd43e2a4
932 Author: Lasse Collin <lasse.collin@tukaani.org>
933 Date: 2019-06-23 21:40:47 +0300
935 xzdec: Fix warnings from -Wsign-conversion.
937 src/xzdec/xzdec.c | 2 +-
938 1 file changed, 1 insertion(+), 1 deletion(-)
940 commit a45d1a5374ceb22e23255b0b595b9e641e9860af
941 Author: Lasse Collin <lasse.collin@tukaani.org>
942 Date: 2019-06-23 21:38:56 +0300
944 liblzma: Fix warnings from -Wsign-conversion.
946 Also, more parentheses were added to the literal_subcoder
947 macro in lzma_comon.h (better style but no functional change
948 in the current usage).
950 src/liblzma/common/block_header_decoder.c | 2 +-
951 src/liblzma/delta/delta_decoder.c | 2 +-
952 src/liblzma/lzma/fastpos.h | 2 +-
953 src/liblzma/lzma/lzma2_decoder.c | 8 ++++----
954 src/liblzma/lzma/lzma_common.h | 3 ++-
955 src/liblzma/lzma/lzma_decoder.c | 16 ++++++++--------
956 src/liblzma/simple/arm.c | 6 +++---
957 src/liblzma/simple/armthumb.c | 8 ++++----
958 src/liblzma/simple/ia64.c | 2 +-
959 src/liblzma/simple/powerpc.c | 9 +++++----
960 src/liblzma/simple/x86.c | 2 +-
961 11 files changed, 31 insertions(+), 29 deletions(-)
963 commit 4ff87ddf80ed7cb233444cddd86ab1940b5b55ec
964 Author: Lasse Collin <lasse.collin@tukaani.org>
965 Date: 2019-06-23 19:33:55 +0300
967 tuklib_integer: Silence warnings from -Wsign-conversion.
969 src/common/tuklib_integer.h | 6 +++---
970 1 file changed, 3 insertions(+), 3 deletions(-)
972 commit ed1a9d33984a3a37ae9a775a46859850d98ea4d0
973 Author: Lasse Collin <lasse.collin@tukaani.org>
974 Date: 2019-06-20 19:40:30 +0300
976 tuklib_integer: Fix usage of conv macros.
978 Use a temporary variable instead of e.g.
979 conv32le(unaligned_read32ne(buf)) because the macro can
980 evaluate its argument multiple times.
982 src/common/tuklib_integer.h | 12 ++++++++----
983 1 file changed, 8 insertions(+), 4 deletions(-)
985 commit 612c88dfc08e2c572623954ecfde541d21c84882
986 Author: Lasse Collin <lasse.collin@tukaani.org>
987 Date: 2019-06-03 20:44:19 +0300
992 1 file changed, 1 insertion(+)
994 commit 85da31d8b882b8b9671ab3e3d74d88bd945cd0bb
995 Author: Lasse Collin <lasse.collin@tukaani.org>
996 Date: 2019-06-03 20:41:54 +0300
998 liblzma: Fix comments.
1000 Thanks to Bruce Stark.
1002 src/liblzma/common/alone_encoder.c | 4 ++--
1003 src/liblzma/common/block_util.c | 2 +-
1004 src/liblzma/common/common.c | 2 +-
1005 src/liblzma/common/filter_common.h | 2 +-
1006 src/liblzma/common/filter_decoder.h | 2 +-
1007 src/liblzma/common/filter_flags_encoder.c | 2 +-
1008 6 files changed, 7 insertions(+), 7 deletions(-)
1010 commit 6a73a7889587aa394e236c7e9e4f870b44851036
1011 Author: Lasse Collin <lasse.collin@tukaani.org>
1012 Date: 2019-06-02 00:50:59 +0300
1014 liblzma: Fix one more unaligned read to use unaligned_read16ne().
1016 src/liblzma/lz/lz_encoder_hash.h | 2 +-
1017 1 file changed, 1 insertion(+), 1 deletion(-)
1019 commit ce59b34ec9ac344d62a57cad5f94f695f42cdaee
1020 Author: Lasse Collin <lasse.collin@tukaani.org>
1021 Date: 2019-06-01 21:41:55 +0300
1026 1 file changed, 1 insertion(+)
1028 commit 94aa3fb568fe41dd4925a961966ed5cf8213bd1f
1029 Author: Lasse Collin <lasse.collin@tukaani.org>
1030 Date: 2019-06-01 21:36:13 +0300
1032 liblzma: memcmplen: Use ctz32() from tuklib_integer.h.
1034 The same compiler-specific #ifdefs are already in tuklib_integer.h
1036 src/liblzma/common/memcmplen.h | 10 +---------
1037 1 file changed, 1 insertion(+), 9 deletions(-)
1039 commit 412791486dfb430219d8e30bcbebbfc57a99484a
1040 Author: Lasse Collin <lasse.collin@tukaani.org>
1041 Date: 2019-06-01 21:30:03 +0300
1043 tuklib_integer: Cleanup MSVC-specific code.
1045 src/common/tuklib_integer.h | 20 +++++++++-----------
1046 1 file changed, 9 insertions(+), 11 deletions(-)
1048 commit efbf6e5f0932e6c1a4250f91ee99059f449f2470
1049 Author: Lasse Collin <lasse.collin@tukaani.org>
1050 Date: 2019-06-01 19:01:21 +0300
1052 liblzma: Use unaligned_readXXne functions instead of type punning.
1054 Now gcc -fsanitize=undefined should be clean.
1056 Thanks to Jeffrey Walton.
1058 src/liblzma/common/memcmplen.h | 12 ++++++------
1059 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
1060 2 files changed, 7 insertions(+), 7 deletions(-)
1062 commit 29afef03486d461c23f57150ac5436684bff7811
1063 Author: Lasse Collin <lasse.collin@tukaani.org>
1064 Date: 2019-06-01 18:41:16 +0300
1066 tuklib_integer: Improve unaligned memory access.
1068 Now memcpy() or GNU C packed structs for unaligned access instead
1069 of type punning. See the comment in this commit for details.
1071 Avoiding type punning with unaligned access is needed to
1072 silence gcc -fsanitize=undefined.
1074 New functions: unaliged_readXXne and unaligned_writeXXne where
1075 XX is 16, 32, or 64.
1077 src/common/tuklib_integer.h | 180 +++++++++++++++++++++++++++++++++++++++++---
1078 1 file changed, 168 insertions(+), 12 deletions(-)
1080 commit 596ed3de4485a4b1d83b5fe506ae9d0a172139b4
1081 Author: Lasse Collin <lasse.collin@tukaani.org>
1082 Date: 2019-05-13 20:05:17 +0300
1084 liblzma: Avoid memcpy(NULL, foo, 0) because it is undefined behavior.
1086 I should have always known this but I didn't. Here is an example
1087 as a reminder to myself:
1089 int mycopy(void *dest, void *src, size_t n)
1091 memcpy(dest, src, n);
1092 return dest == NULL;
1095 In the example, a compiler may assume that dest != NULL because
1096 passing NULL to memcpy() would be undefined behavior. Testing
1097 with GCC 8.2.1, mycopy(NULL, NULL, 0) returns 1 with -O0 and -O1.
1098 With -O2 the return value is 0 because the compiler infers that
1099 dest cannot be NULL because it was already used with memcpy()
1100 and thus the test for NULL gets optimized out.
1102 In liblzma, if a null-pointer was passed to memcpy(), there were
1103 no checks for NULL *after* the memcpy() call, so I cautiously
1104 suspect that it shouldn't have caused bad behavior in practice,
1105 but it's hard to be sure, and the problematic cases had to be
1108 Thanks to Jeffrey Walton.
1110 src/liblzma/common/common.c | 6 +++++-
1111 src/liblzma/lz/lz_decoder.c | 12 +++++++++---
1112 src/liblzma/simple/simple_coder.c | 10 +++++++++-
1113 3 files changed, 23 insertions(+), 5 deletions(-)
1115 commit b4b83555c576e1d845a2b98a193b23c021437804
1116 Author: Lasse Collin <lasse.collin@tukaani.org>
1117 Date: 2019-05-11 20:56:08 +0300
1122 1 file changed, 1 insertion(+)
1124 commit 8d4906262b45557ed164cd74adb270e6ef7f6f03
1125 Author: Lasse Collin <lasse.collin@tukaani.org>
1126 Date: 2019-05-11 20:54:12 +0300
1128 xz: Update xz man page date.
1131 1 file changed, 1 insertion(+), 1 deletion(-)
1133 commit 0d318402f8a022f707622c72f8f1894ea476cf89
1134 Author: Antoine Cœur <antoine.coeur@ef.com>
1135 Date: 2019-05-08 13:30:57 +0800
1141 src/liblzma/api/lzma/block.h | 2 +-
1142 src/liblzma/api/lzma/hardware.h | 2 +-
1143 src/liblzma/api/lzma/lzma12.h | 2 +-
1144 src/liblzma/api/lzma/vli.h | 2 +-
1145 src/liblzma/common/hardware_physmem.c | 2 +-
1146 src/liblzma/common/index.c | 4 ++--
1147 src/liblzma/common/stream_encoder_mt.c | 2 +-
1148 src/liblzma/common/vli_decoder.c | 2 +-
1149 src/liblzma/lz/lz_decoder.c | 2 +-
1150 src/scripts/xzgrep.in | 2 +-
1151 src/xz/args.c | 2 +-
1152 src/xz/coder.c | 4 ++--
1153 src/xz/main.c | 2 +-
1154 src/xz/mytime.h | 2 +-
1155 src/xz/private.h | 2 +-
1157 windows/build.bash | 2 +-
1158 19 files changed, 21 insertions(+), 21 deletions(-)
1160 commit aeb3be8ac4c4b06a745c3799b80b38159fb78b1a
1161 Author: Lasse Collin <lasse.collin@tukaani.org>
1162 Date: 2019-03-04 22:49:04 +0200
1164 README: Update translation instructions.
1166 XZ Utils is now part of the Translation Project
1167 <https://translationproject.org/>.
1169 README | 32 +++++++++++++-------------------
1170 1 file changed, 13 insertions(+), 19 deletions(-)
1172 commit 0c238dc3feb0a3eea1e713feb8d338c8dfba9f74
1173 Author: Lasse Collin <lasse.collin@tukaani.org>
1174 Date: 2018-12-20 20:42:29 +0200
1179 1 file changed, 1 insertion(+)
1181 commit 3ca432d9cce4bf7e793de173dd22025b68611c42
1182 Author: Lasse Collin <lasse.collin@tukaani.org>
1183 Date: 2018-12-14 20:34:30 +0200
1185 xz: Fix a crash in progress indicator when in passthru mode.
1187 "xz -dcfv not_an_xz_file" crashed (all four options are
1188 required to trigger it). It caused xz to call
1189 lzma_get_progress(&strm, ...) when no coder was initialized
1190 in strm. In this situation strm.internal is NULL which leads
1191 to a crash in lzma_get_progress().
1193 The bug was introduced when xz started using lzma_get_progress()
1194 to get progress info for multi-threaded compression, so the
1195 bug is present in versions 5.1.3alpha and higher.
1197 Thanks to Filip Palian <Filip.Palian@pjwstk.edu.pl> for
1200 src/xz/coder.c | 11 +++++++----
1201 src/xz/message.c | 18 ++++++++++++++++--
1202 src/xz/message.h | 3 ++-
1203 3 files changed, 25 insertions(+), 7 deletions(-)
1205 commit fcc419e3c3f77a8b6fc5056a86b1b8abbe266e62
1206 Author: Lasse Collin <lasse.collin@tukaani.org>
1207 Date: 2018-11-22 17:20:31 +0200
1209 xz: Update man page timestamp.
1212 1 file changed, 1 insertion(+), 1 deletion(-)
1214 commit 5a2fc3cd0194e55df329dd29f805299aaca5f32f
1215 Author: Pavel Raiskup <praiskup@redhat.com>
1216 Date: 2018-11-22 15:14:34 +0100
1220 src/xz/signals.c | 2 +-
1222 2 files changed, 2 insertions(+), 2 deletions(-)
1224 commit 7143b04fe49390807f355b1dad686a3d8c4dbdcf
1225 Author: Lasse Collin <lasse.collin@tukaani.org>
1226 Date: 2018-07-27 18:10:44 +0300
1228 xzless: Rename unused variables to silence static analysers.
1230 In this particular case I don't see this affecting readability
1233 Thanks to Pavel Raiskup.
1235 src/scripts/xzless.in | 2 +-
1236 1 file changed, 1 insertion(+), 1 deletion(-)
1238 commit 273c33297bb69621045ed19665eaf8338bcf4a50
1239 Author: Lasse Collin <lasse.collin@tukaani.org>
1240 Date: 2018-07-27 16:02:58 +0300
1242 liblzma: Remove an always-true condition from lzma_index_cat().
1244 This should help static analysis tools to see that newg
1247 Thanks to Pavel Raiskup.
1249 src/liblzma/common/index.c | 4 ++--
1250 1 file changed, 2 insertions(+), 2 deletions(-)
1252 commit 65b4aba6d06d2cd24ba9ad01fa389c238ad8f352
1253 Author: Lasse Collin <lasse.collin@tukaani.org>
1254 Date: 2018-05-19 21:23:25 +0300
1256 liblzma: Improve lzma_properties_decode() API documentation.
1258 src/liblzma/api/lzma/filter.h | 7 ++++---
1259 1 file changed, 4 insertions(+), 3 deletions(-)
1261 commit 531e78e5a253a3e2c4d4dd1505acaccee48f4083
1262 Author: Lasse Collin <lasse.collin@tukaani.org>
1263 Date: 2019-05-01 16:52:36 +0300
1268 1 file changed, 1 insertion(+)
1270 commit 905de7e93528ca5a47039e7e1e5270163f9fc67e
1271 Author: Lasse Collin <lasse.collin@tukaani.org>
1272 Date: 2019-05-01 16:43:16 +0300
1274 Windows: Update VS version in windows/vs2019/config.h.
1276 windows/vs2019/config.h | 2 +-
1277 1 file changed, 1 insertion(+), 1 deletion(-)
1279 commit 0ffd30e172fd18cc619823b2a86448bf56a67e22
1280 Author: Julien Marrec <julien.marrec@gmail.com>
1281 Date: 2019-04-25 17:44:06 +0200
1283 Windows: Upgrade solution itself
1285 windows/vs2019/xz_win.sln | 7 +++++--
1286 1 file changed, 5 insertions(+), 2 deletions(-)
1288 commit c2ef96685fc7ca36311649eeb2284b9808292040
1289 Author: Julien Marrec <julien.marrec@gmail.com>
1290 Date: 2019-04-25 17:40:24 +0200
1292 Windows: Upgrade solution with VS2019
1294 windows/vs2019/liblzma.vcxproj | 15 ++++++++-------
1295 windows/vs2019/liblzma_dll.vcxproj | 15 ++++++++-------
1296 2 files changed, 16 insertions(+), 14 deletions(-)
1298 commit 25fccaf00bea399d8aa026e5b8fa254ce196e6e0
1299 Author: Julien Marrec <julien.marrec@gmail.com>
1300 Date: 2019-04-25 17:39:32 +0200
1302 Windows: Duplicate windows/vs2017 before upgrading
1304 windows/vs2019/config.h | 148 ++++++++++++++
1305 windows/vs2019/liblzma.vcxproj | 354 ++++++++++++++++++++++++++++++++++
1306 windows/vs2019/liblzma_dll.vcxproj | 383 +++++++++++++++++++++++++++++++++++++
1307 windows/vs2019/xz_win.sln | 48 +++++
1308 4 files changed, 933 insertions(+)
1310 commit 1424078d6328291c7c524b64328ce9660617cb24
1311 Author: Lasse Collin <lasse.collin@tukaani.org>
1312 Date: 2019-01-13 17:29:23 +0200
1314 Windows/VS2017: Omit WindowsTargetPlatformVersion from project files.
1316 I understood that if a WTPV is specified, it's often wrong
1317 because different VS installations have different SDK version
1318 installed. Omitting the WTPV tag makes VS2017 default to
1319 Windows SDK 8.1 which often is also missing, so in any case
1320 people may need to specify the WTPV before building. But some
1321 day in the future a missing WTPV tag will start to default to
1322 the latest installed SDK which sounds reasonable:
1324 https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html
1328 windows/INSTALL-MSVC.txt | 4 ++++
1329 windows/vs2017/liblzma.vcxproj | 1 -
1330 windows/vs2017/liblzma_dll.vcxproj | 1 -
1331 3 files changed, 4 insertions(+), 2 deletions(-)
1333 commit b5be61cc06088bb07f488f9baf7d447ff47b37c1
1334 Author: Lasse Collin <lasse.collin@tukaani.org>
1335 Date: 2018-04-29 19:00:06 +0300
1337 Bump version and soname for 5.2.4.
1339 src/liblzma/Makefile.am | 2 +-
1340 src/liblzma/api/lzma/version.h | 2 +-
1341 2 files changed, 2 insertions(+), 2 deletions(-)
1343 commit c47fa6d06745bb2e99866e76b81ac7a9c5a8bfec
1344 Author: Lasse Collin <lasse.collin@tukaani.org>
1345 Date: 2018-04-29 18:48:00 +0300
1347 extra/scanlzma: Fix compiler warnings.
1349 extra/scanlzma/scanlzma.c | 6 +++++-
1350 1 file changed, 5 insertions(+), 1 deletion(-)
1352 commit 7b350fe21aa4fd6495a3b6188a40e3f1ae7c0edf
1353 Author: Lasse Collin <lasse.collin@tukaani.org>
1354 Date: 2018-04-29 18:15:37 +0300
1358 NEWS | 27 +++++++++++++++++++++++++++
1359 1 file changed, 27 insertions(+)
1361 commit 5801591162a280aa52d156dfde42c531ec7fd8b6
1362 Author: Lasse Collin <lasse.collin@tukaani.org>
1363 Date: 2018-02-06 19:36:30 +0200
1368 1 file changed, 2 insertions(+)
1370 commit c4a616f4536146f8906e1b4412eefeec07b28fae
1371 Author: Ben Boeckel <mathstuf@gmail.com>
1372 Date: 2018-01-29 13:58:18 -0500
1374 nothrow: use noexcept for C++11 and newer
1376 In C++11, the `throw()` specifier is deprecated and `noexcept` is
1379 src/liblzma/api/lzma.h | 6 +++++-
1380 1 file changed, 5 insertions(+), 1 deletion(-)
1382 commit 0b8947782ff3c5ef830a7f85412e44dcf3cdeb77
1383 Author: Lasse Collin <lasse.collin@tukaani.org>
1384 Date: 2018-02-06 18:02:48 +0200
1386 liblzma: Remove incorrect #ifdef from range_common.h.
1388 In most cases it was harmless but it could affect some
1389 custom build systems.
1391 Thanks to Pippijn van Steenhoven.
1393 src/liblzma/rangecoder/range_common.h | 4 +---
1394 1 file changed, 1 insertion(+), 3 deletions(-)
1396 commit 48f3b9f73ffea7f55d5678997aba0e79d2e82168
1397 Author: Lasse Collin <lasse.collin@tukaani.org>
1398 Date: 2018-01-10 22:10:39 +0200
1403 1 file changed, 1 insertion(+)
1405 commit a3ce3e902342be37c626a561ce3d9ffcf27d0f94
1406 Author: Lasse Collin <lasse.collin@tukaani.org>
1407 Date: 2018-01-10 21:54:27 +0200
1409 tuklib_integer: New Intel C compiler needs immintrin.h.
1411 Thanks to Melanie Blower (Intel) for the patch.
1413 src/common/tuklib_integer.h | 11 +++++++++++
1414 1 file changed, 11 insertions(+)
1416 commit 4505ca483985f88c6923c05a43b4327feaab83b1
1417 Author: Lasse Collin <lasse.collin@tukaani.org>
1418 Date: 2017-09-24 20:04:24 +0300
1423 1 file changed, 1 insertion(+)
1425 commit 1ef3cc226e3ce173575c218238b71a4eecabc470
1426 Author: Lasse Collin <lasse.collin@tukaani.org>
1427 Date: 2017-09-16 20:36:20 +0300
1429 Windows: Fix paths in VS project files.
1431 Some paths use slashes instead of backslashes as directory
1432 separators... now it should work (I tested VS2013 version).
1434 windows/vs2013/liblzma.vcxproj | 12 ++++++------
1435 windows/vs2013/liblzma_dll.vcxproj | 24 ++++++++++++------------
1436 windows/vs2017/liblzma.vcxproj | 12 ++++++------
1437 windows/vs2017/liblzma_dll.vcxproj | 24 ++++++++++++------------
1438 4 files changed, 36 insertions(+), 36 deletions(-)
1440 commit e775d2a8189d24f60470e6e49d8af881df3a1680
1441 Author: Lasse Collin <lasse.collin@tukaani.org>
1442 Date: 2017-09-16 12:54:23 +0300
1444 Windows: Add project files for VS2017.
1446 These files match the v5.2 branch (no file info decoder).
1448 windows/vs2017/config.h | 148 ++++++++++++++
1449 windows/vs2017/liblzma.vcxproj | 355 ++++++++++++++++++++++++++++++++++
1450 windows/vs2017/liblzma_dll.vcxproj | 384 +++++++++++++++++++++++++++++++++++++
1451 windows/vs2017/xz_win.sln | 48 +++++
1452 4 files changed, 935 insertions(+)
1454 commit 10e02e0fbb6e2173f8b41f6e39b7b570f47dd74d
1455 Author: Lasse Collin <lasse.collin@tukaani.org>
1456 Date: 2017-09-16 12:39:43 +0300
1458 Windows: Move VS2013 files into windows/vs2013 directory.
1460 windows/{ => vs2013}/config.h | 0
1461 windows/{ => vs2013}/liblzma.vcxproj | 278 +++++++++++++++---------------
1462 windows/{ => vs2013}/liblzma_dll.vcxproj | 280 +++++++++++++++----------------
1463 windows/{ => vs2013}/xz_win.sln | 0
1464 4 files changed, 279 insertions(+), 279 deletions(-)
1466 commit 06eebd4543196ded36fa9b8b9544195b38b24ef2
1467 Author: Lasse Collin <lasse.collin@tukaani.org>
1468 Date: 2017-08-14 20:08:33 +0300
1470 Fix or hide warnings from GCC 7's -Wimplicit-fallthrough.
1472 src/liblzma/lzma/lzma_decoder.c | 6 ++++++
1473 src/xz/list.c | 2 ++
1474 2 files changed, 8 insertions(+)
1476 commit ea4ea1dffafebaa8b2770bf3eca46900e4dd22dc
1477 Author: Alexey Tourbin <alexey.tourbin@gmail.com>
1478 Date: 2017-05-16 23:56:35 +0300
1480 Docs: Fix a typo in a comment in doc/examples/02_decompress.c.
1482 doc/examples/02_decompress.c | 2 +-
1483 1 file changed, 1 insertion(+), 1 deletion(-)
1485 commit eb2ef4c79bf405ea0d215f3b1df3d0eaf5e1d27b
1486 Author: Lasse Collin <lasse.collin@tukaani.org>
1487 Date: 2017-05-23 18:34:43 +0300
1489 xz: Fix "xz --list --robot missing_or_bad_file.xz".
1491 It ended up printing an uninitialized char-array when trying to
1492 print the check names (column 7) on the "totals" line.
1494 This also changes the column 12 (minimum xz version) to
1495 50000002 (xz 5.0.0) instead of 0 when there are no valid
1498 Thanks to kidmin for the bug report.
1500 src/xz/list.c | 8 ++++++--
1501 1 file changed, 6 insertions(+), 2 deletions(-)
1503 commit 3ea5dbd9b0d79048e336e40cef3b6d814fb74e13
1504 Author: Lasse Collin <lasse.collin@tukaani.org>
1505 Date: 2017-04-24 19:48:47 +0300
1507 Build: Omit pre-5.0.0 entries from the generated ChangeLog.
1509 It makes ChangeLog significantly smaller.
1512 1 file changed, 2 insertions(+), 1 deletion(-)
1514 commit bae24675936df99064de1502593c006bd902594b
1515 Author: Lasse Collin <lasse.collin@tukaani.org>
1516 Date: 2017-04-24 19:30:22 +0300
1518 Update the Git repository URL to HTTPS in ChangeLog.
1521 1 file changed, 1 insertion(+), 1 deletion(-)
1523 commit 70f479211973b5361f4d7cb08ba5be69b4266e7a
1524 Author: Lasse Collin <lasse.collin@tukaani.org>
1525 Date: 2017-04-19 22:17:35 +0300
1527 Update the home page URLs to HTTPS.
1532 doc/faq.txt | 4 ++--
1534 src/common/common_w32res.rc | 2 +-
1535 src/xz/xz.1 | 6 +++---
1536 src/xzdec/xzdec.1 | 4 ++--
1537 windows/README-Windows.txt | 2 +-
1538 windows/config.h | 2 +-
1539 10 files changed, 14 insertions(+), 14 deletions(-)
1541 commit 2a4b2fa75d06a097261a02ecd3cf2b6d449bf754
1542 Author: Lasse Collin <lasse.collin@tukaani.org>
1543 Date: 2017-03-30 22:01:54 +0300
1545 xz: Use POSIX_FADV_RANDOM for in "xz --list" mode.
1547 xz --list is random access so POSIX_FADV_SEQUENTIAL was clearly
1550 src/xz/file_io.c | 10 ++++++++--
1551 1 file changed, 8 insertions(+), 2 deletions(-)
1553 commit eb25743ade39170cffd9566a1aae272098cce216
1554 Author: Lasse Collin <lasse.collin@tukaani.org>
1555 Date: 2017-03-30 19:47:45 +0300
1557 liblzma: Fix lzma_memlimit_set(strm, 0).
1559 The 0 got treated specially in a buggy way and as a result
1560 the function did nothing. The API doc said that 0 was supposed
1561 to return LZMA_PROG_ERROR but it didn't.
1563 Now 0 is treated as if 1 had been specified. This is done because
1564 0 is already used to indicate an error from lzma_memlimit_get()
1565 and lzma_memusage().
1567 In addition, lzma_memlimit_set() no longer checks that the new
1568 limit is at least LZMA_MEMUSAGE_BASE. It's counter-productive
1569 for the Index decoder and was actually needed only by the
1570 auto decoder. Auto decoder has now been modified to check for
1573 src/liblzma/api/lzma/base.h | 7 ++++++-
1574 src/liblzma/common/auto_decoder.c | 3 +++
1575 src/liblzma/common/common.c | 6 ++++--
1576 3 files changed, 13 insertions(+), 3 deletions(-)
1578 commit ef36c6362f3f3853f21b8a6359bcd06576ebf207
1579 Author: Lasse Collin <lasse.collin@tukaani.org>
1580 Date: 2017-03-30 19:16:55 +0300
1582 liblzma: Similar memlimit fix for stream_, alone_, and auto_decoder.
1584 src/liblzma/api/lzma/container.h | 21 +++++++++++++++++----
1585 src/liblzma/common/alone_decoder.c | 5 +----
1586 src/liblzma/common/auto_decoder.c | 5 +----
1587 src/liblzma/common/stream_decoder.c | 5 +----
1588 4 files changed, 20 insertions(+), 16 deletions(-)
1590 commit 57616032650f03840480b696d7878acdd2065521
1591 Author: Lasse Collin <lasse.collin@tukaani.org>
1592 Date: 2017-03-30 18:58:18 +0300
1594 liblzma: Fix handling of memlimit == 0 in lzma_index_decoder().
1596 It returned LZMA_PROG_ERROR, which was done to avoid zero as
1597 the limit (because it's a special value elsewhere), but using
1598 LZMA_PROG_ERROR is simply inconvenient and can cause bugs.
1600 The fix/workaround is to treat 0 as if it were 1 byte. It's
1601 effectively the same thing. The only weird consequence is
1602 that then lzma_memlimit_get() will return 1 even when 0 was
1603 specified as the limit.
1605 This fixes a very rare corner case in xz --list where a specific
1606 memory usage limit and a multi-stream file could print the
1607 error message "Internal error (bug)" instead of saying that
1608 the memory usage limit is too low.
1610 src/liblzma/api/lzma/index.h | 18 +++++++++++-------
1611 src/liblzma/common/index_decoder.c | 4 ++--
1612 2 files changed, 13 insertions(+), 9 deletions(-)
1614 commit 3d566cd519017eee1a400e7961ff14058dfaf33c
1615 Author: Lasse Collin <lasse.collin@tukaani.org>
1616 Date: 2016-12-30 13:26:36 +0200
1618 Bump version and soname for 5.2.3.
1620 src/liblzma/Makefile.am | 2 +-
1621 src/liblzma/api/lzma/version.h | 2 +-
1622 2 files changed, 2 insertions(+), 2 deletions(-)
1624 commit 053e624fe33795e779ff736f16ce44a129c829b5
1625 Author: Lasse Collin <lasse.collin@tukaani.org>
1626 Date: 2016-12-30 13:25:10 +0200
1628 Update NEWS for 5.2.3.
1630 NEWS | 39 +++++++++++++++++++++++++++++++++++++++
1631 1 file changed, 39 insertions(+)
1633 commit cae412b2b77d7fd88d187ed7659331709311f80d
1634 Author: Lasse Collin <lasse.collin@tukaani.org>
1635 Date: 2015-04-01 14:45:25 +0300
1637 xz: Fix the Capsicum rights on user_abort_pipe.
1639 src/xz/file_io.c | 6 +++++-
1640 1 file changed, 5 insertions(+), 1 deletion(-)
1642 commit 9ccbae41000572193b9a09e7102f9e84dc6d96de
1643 Author: Lasse Collin <lasse.collin@tukaani.org>
1644 Date: 2016-12-28 21:05:22 +0200
1646 Mention potential sandboxing bugs in INSTALL.
1649 1 file changed, 4 insertions(+), 1 deletion(-)
1651 commit e013a337d3de77cce24360dffe956ea2339489b6
1652 Author: Lasse Collin <lasse.collin@tukaani.org>
1653 Date: 2016-11-21 20:24:50 +0200
1655 liblzma: Avoid multiple definitions of lzma_coder structures.
1657 Only one definition was visible in a translation unit.
1658 It avoided a few casts and temp variables but seems that
1659 this hack doesn't work with link-time optimizations in compilers
1660 as it's not C99/C11 compliant.
1663 http://www.mail-archive.com/xz-devel@tukaani.org/msg00279.html
1665 src/liblzma/common/alone_decoder.c | 44 +++++----
1666 src/liblzma/common/alone_encoder.c | 34 ++++---
1667 src/liblzma/common/auto_decoder.c | 35 ++++---
1668 src/liblzma/common/block_decoder.c | 41 ++++----
1669 src/liblzma/common/block_encoder.c | 40 ++++----
1670 src/liblzma/common/common.h | 18 ++--
1671 src/liblzma/common/index_decoder.c | 33 ++++---
1672 src/liblzma/common/index_encoder.c | 16 ++--
1673 src/liblzma/common/stream_decoder.c | 50 +++++-----
1674 src/liblzma/common/stream_encoder.c | 56 ++++++-----
1675 src/liblzma/common/stream_encoder_mt.c | 124 ++++++++++++++-----------
1676 src/liblzma/delta/delta_common.c | 25 ++---
1677 src/liblzma/delta/delta_decoder.c | 6 +-
1678 src/liblzma/delta/delta_encoder.c | 12 ++-
1679 src/liblzma/delta/delta_private.h | 4 +-
1680 src/liblzma/lz/lz_decoder.c | 60 ++++++------
1681 src/liblzma/lz/lz_decoder.h | 13 ++-
1682 src/liblzma/lz/lz_encoder.c | 57 +++++++-----
1683 src/liblzma/lz/lz_encoder.h | 9 +-
1684 src/liblzma/lzma/lzma2_decoder.c | 32 ++++---
1685 src/liblzma/lzma/lzma2_encoder.c | 51 +++++-----
1686 src/liblzma/lzma/lzma_decoder.c | 27 +++---
1687 src/liblzma/lzma/lzma_encoder.c | 29 +++---
1688 src/liblzma/lzma/lzma_encoder.h | 9 +-
1689 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 3 +-
1690 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 23 ++---
1691 src/liblzma/lzma/lzma_encoder_private.h | 6 +-
1692 src/liblzma/simple/arm.c | 2 +-
1693 src/liblzma/simple/armthumb.c | 2 +-
1694 src/liblzma/simple/ia64.c | 2 +-
1695 src/liblzma/simple/powerpc.c | 2 +-
1696 src/liblzma/simple/simple_coder.c | 61 ++++++------
1697 src/liblzma/simple/simple_private.h | 12 +--
1698 src/liblzma/simple/sparc.c | 2 +-
1699 src/liblzma/simple/x86.c | 15 +--
1700 35 files changed, 532 insertions(+), 423 deletions(-)
1702 commit 8e0f1af3dcaec00a3879cce8ad7441edc6359d1c
1703 Author: Lasse Collin <lasse.collin@tukaani.org>
1704 Date: 2016-12-26 20:50:25 +0200
1706 Document --enable-sandbox configure option in INSTALL.
1708 INSTALL | 25 +++++++++++++++++++++++++
1709 1 file changed, 25 insertions(+)
1711 commit ce2542d220de06acd618fd9f5c0a6683029fb4eb
1712 Author: Lasse Collin <lasse.collin@tukaani.org>
1713 Date: 2015-03-31 22:19:34 +0300
1715 xz: Add support for sandboxing with Capsicum (disabled by default).
1717 In the v5.2 branch this feature is considered experimental
1718 and thus disabled by default.
1720 The sandboxing is used conditionally as described in main.c.
1721 This isn't optimal but it was much easier to implement than
1722 a full sandboxing solution and it still covers the most common
1723 use cases where xz is writing to standard output. This should
1724 have practically no effect on performance even with small files
1725 as fork() isn't needed.
1727 C and locale libraries can open files as needed. This has been
1728 fine in the past, but it's a problem with things like Capsicum.
1729 io_sandbox_enter() tries to ensure that various locale-related
1730 files have been loaded before cap_enter() is called, but it's
1731 possible that there are other similar problems which haven't
1734 Currently Capsicum is available on FreeBSD 10 and later
1735 and there is a port to Linux too.
1737 Thanks to Loganaden Velvindron for help.
1739 configure.ac | 41 +++++++++++++++++++++++++++
1740 src/xz/Makefile.am | 2 +-
1741 src/xz/file_io.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1742 src/xz/file_io.h | 6 ++++
1743 src/xz/main.c | 18 ++++++++++++
1744 src/xz/private.h | 4 +++
1745 6 files changed, 151 insertions(+), 1 deletion(-)
1747 commit 3ca1d5e6320111043e19434da881065fadafa0e4
1748 Author: Lasse Collin <lasse.collin@tukaani.org>
1749 Date: 2015-03-31 21:12:30 +0300
1751 Fix bugs and otherwise improve ax_check_capsicum.m4.
1753 AU_ALIAS was removed because the new version is incompatible
1754 with the old version.
1756 It no longer checks for <sys/capability.h> separately.
1757 It's enough to test for it as part of AC_CHECK_DECL.
1758 The defines HAVE_CAPSICUM_SYS_CAPSICUM_H and
1759 HAVE_CAPSICUM_SYS_CAPABILITY_H were removed as unneeded.
1760 HAVE_SYS_CAPSICUM_H from AC_CHECK_HEADERS is enough.
1762 It no longer does a useless search for the Capsicum library
1763 if the header wasn't found.
1765 Fixed a bug in ACTION-IF-FOUND (the first argument). Specifying
1766 the argument omitted the default action but the given action
1767 wasn't used instead.
1769 AC_DEFINE([HAVE_CAPSICUM]) is now always called when Capsicum
1770 support is found. Previously it was part of the default
1771 ACTION-IF-FOUND which a custom action would override. Now
1772 the default action only prepends ${CAPSICUM_LIB} to LIBS.
1774 The documentation was updated.
1776 Since there as no serial number, "#serial 2" was added.
1778 m4/ax_check_capsicum.m4 | 103 ++++++++++++++++++++++++------------------------
1779 1 file changed, 51 insertions(+), 52 deletions(-)
1781 commit 5f3a742b64197fe8bedb6f05fc6ce5d177d11145
1782 Author: Lasse Collin <lasse.collin@tukaani.org>
1783 Date: 2015-03-31 19:20:24 +0300
1785 Add m4/ax_check_capsicum.m4 for detecting Capsicum support.
1787 The file was loaded from this web page:
1788 https://github.com/google/capsicum-test/blob/dev/autoconf/m4/ax_check_capsicum.m4
1790 Thanks to Loganaden Velvindron for pointing it out for me.
1792 m4/ax_check_capsicum.m4 | 86 +++++++++++++++++++++++++++++++++++++++++++++++++
1793 1 file changed, 86 insertions(+)
1795 commit d74377e62b4c649e40294dd441de72c0f092e67c
1796 Author: Lasse Collin <lasse.collin@tukaani.org>
1797 Date: 2015-10-12 20:29:09 +0300
1799 liblzma: Fix a memory leak in error path of lzma_index_dup().
1801 lzma_index_dup() calls index_dup_stream() which, in case of
1802 an error, calls index_stream_end() to free memory allocated
1803 by index_stream_init(). However, it illogically didn't
1804 actually free the memory. To make it logical, the tree
1805 handling code was modified a bit in addition to changing
1808 Thanks to Evan Nemerson for the bug report.
1810 src/liblzma/common/index.c | 18 +++++++++---------
1811 1 file changed, 9 insertions(+), 9 deletions(-)
1813 commit f580732216dcf971f3f006fe8e01cd4979e1d964
1814 Author: Lasse Collin <lasse.collin@tukaani.org>
1815 Date: 2016-10-24 18:53:25 +0300
1820 1 file changed, 1 insertion(+)
1822 commit 88d7a7fd153bf1355cdf798ffdac7443d0169afc
1823 Author: Lasse Collin <lasse.collin@tukaani.org>
1824 Date: 2016-10-24 18:51:36 +0300
1826 tuklib_cpucores: Add support for sched_getaffinity().
1828 It's available in glibc (GNU/Linux, GNU/kFreeBSD). It's better
1829 than sysconf(_SC_NPROCESSORS_ONLN) because sched_getaffinity()
1830 gives the number of cores available to the process instead of
1831 the total number of cores online.
1833 As a side effect, this commit fixes a bug on GNU/kFreeBSD where
1834 configure would detect the FreeBSD-specific cpuset_getaffinity()
1835 but it wouldn't actually work because on GNU/kFreeBSD it requires
1836 using -lfreebsd-glue when linking. Now the glibc-specific function
1837 will be used instead.
1839 Thanks to Sebastian Andrzej Siewior for the original patch
1842 m4/tuklib_cpucores.m4 | 30 +++++++++++++++++++++++++++++-
1843 src/common/tuklib_cpucores.c | 9 +++++++++
1844 2 files changed, 38 insertions(+), 1 deletion(-)
1846 commit 51baf684376903dbeddd840582bfdf9fa91b311b
1847 Author: Lasse Collin <lasse.collin@tukaani.org>
1848 Date: 2016-06-30 20:27:36 +0300
1850 xz: Fix copying of timestamps on Windows.
1852 xz used to call utime() on Windows, but its result gets lost
1853 on close(). Using _futime() seems to work.
1855 Thanks to Martok for reporting the bug:
1856 http://www.mail-archive.com/xz-devel@tukaani.org/msg00261.html
1859 src/xz/file_io.c | 18 ++++++++++++++++++
1860 2 files changed, 19 insertions(+), 1 deletion(-)
1862 commit 1ddc479851139d6e8202e5835421bfe6578d9e07
1863 Author: Lasse Collin <lasse.collin@tukaani.org>
1864 Date: 2016-06-16 22:46:02 +0300
1866 xz: Silence warnings from -Wlogical-op.
1868 Thanks to Evan Nemerson.
1870 src/xz/file_io.c | 12 ++++++++++--
1871 1 file changed, 10 insertions(+), 2 deletions(-)
1873 commit be647ff5ed5a1c244a65722af6ce250259f3b14a
1874 Author: Lasse Collin <lasse.collin@tukaani.org>
1875 Date: 2016-04-10 20:55:49 +0300
1877 Build: Fix = to += for xz_SOURCES in src/xz/Makefile.am.
1879 Thanks to Christian Kujau.
1881 src/xz/Makefile.am | 2 +-
1882 1 file changed, 1 insertion(+), 1 deletion(-)
1884 commit fb6d50c15343831f35305982cefa82053099191d
1885 Author: Lasse Collin <lasse.collin@tukaani.org>
1886 Date: 2016-04-10 20:54:17 +0300
1888 Build: Bump GNU Gettext version requirement to 0.19.
1890 It silences a few warnings and most people probably have
1891 0.19 even on stable distributions.
1893 Thanks to Christian Kujau.
1896 1 file changed, 1 insertion(+), 1 deletion(-)
1898 commit 74f8dad9f912a2993768d93d108ea2b0b2c196e0
1899 Author: Lasse Collin <lasse.collin@tukaani.org>
1900 Date: 2016-03-13 20:21:49 +0200
1902 liblzma: Disable external SHA-256 by default.
1904 This is the sane thing to do. The conflict with OpenSSL
1905 on some OSes and especially that the OS-provided versions
1906 can be significantly slower makes it clear that it was
1907 a mistake to have the external SHA-256 support enabled by
1910 Those who want it can now pass --enable-external-sha256 to
1911 configure. INSTALL was updated with notes about OSes where
1912 this can be a bad idea.
1914 The SHA-256 detection code in configure.ac had some bugs that
1915 could lead to a build failure in some situations. These were
1916 fixed, although it doesn't matter that much now that the
1917 external SHA-256 is disabled by default.
1919 MINIX >= 3.2.0 uses NetBSD's libc and thus has SHA256_Init
1920 in libc instead of libutil. Support for the libutil version
1923 INSTALL | 36 ++++++++++++++++++++++
1924 configure.ac | 76 +++++++++++++++++++++++------------------------
1925 src/liblzma/check/check.h | 16 ++++------
1926 3 files changed, 79 insertions(+), 49 deletions(-)
1928 commit ea7f6ff04cb5bb1498088eb09960a4c3f13dfe39
1929 Author: Lasse Collin <lasse.collin@tukaani.org>
1930 Date: 2016-03-10 20:27:05 +0200
1935 1 file changed, 1 insertion(+)
1937 commit d0e018016b311232e82d9a98dc68f1e3dabce794
1938 Author: Lasse Collin <lasse.collin@tukaani.org>
1939 Date: 2016-03-10 20:26:49 +0200
1941 Build: Avoid SHA256_Init on FreeBSD and MINIX 3.
1943 On FreeBSD 10 and older, SHA256_Init from libmd conflicts
1944 with libcrypto from OpenSSL. The OpenSSL version has
1945 different sizeof(SHA256_CTX) and it can cause weird
1946 problems if wrong SHA256_Init gets used.
1948 Looking at the source, MINIX 3 seems to have a similar issue but
1949 I'm not sure. To be safe, I disabled SHA256_Init on MINIX 3 too.
1951 NetBSD has SHA256_Init in libc and they had a similar problem,
1952 but they already fixed it in 2009.
1954 Thanks to Jim Wilcoxson for the bug report that helped
1955 in finding the problem.
1957 configure.ac | 27 +++++++++++++++++++++------
1958 1 file changed, 21 insertions(+), 6 deletions(-)
1960 commit 5daae123915f32a4ed6dc948b831533c2d1beec3
1961 Author: Lasse Collin <lasse.collin@tukaani.org>
1962 Date: 2015-11-08 20:16:10 +0200
1964 tuklib_physmem: Hopefully silence a warning on Windows.
1966 src/common/tuklib_physmem.c | 3 ++-
1967 1 file changed, 2 insertions(+), 1 deletion(-)
1969 commit 491acc406e098167ccb7fce0728b94c2f32cff9f
1970 Author: Lasse Collin <lasse.collin@tukaani.org>
1971 Date: 2015-11-04 23:17:43 +0200
1976 1 file changed, 1 insertion(+)
1978 commit 8173ff8790ad3502d04e1c07d014cb84a3b8187b
1979 Author: Lasse Collin <lasse.collin@tukaani.org>
1980 Date: 2015-11-04 23:14:00 +0200
1982 liblzma: Make Valgrind happier with optimized (gcc -O2) liblzma.
1984 When optimizing, GCC can reorder code so that an uninitialized
1985 value gets used in a comparison, which makes Valgrind unhappy.
1986 It doesn't happen when compiled with -O0, which I tend to use
1987 when running Valgrind.
1989 Thanks to Rich Prohaska. I remember this being mentioned long
1990 ago by someone else but nothing was done back then.
1992 src/liblzma/lz/lz_encoder.c | 4 ++++
1993 1 file changed, 4 insertions(+)
1995 commit 013de2b5ab8094d2c82a2771f3d143eeb656eda9
1996 Author: Lasse Collin <lasse.collin@tukaani.org>
1997 Date: 2015-11-03 20:55:45 +0200
1999 liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c.
2001 It would be too annoying to update other build systems
2002 just because of this.
2004 src/liblzma/lzma/Makefile.inc | 2 +-
2005 src/liblzma/lzma/{lzma_presets.c => lzma_encoder_presets.c} | 2 +-
2006 2 files changed, 2 insertions(+), 2 deletions(-)
2008 commit a322f70ad96de88968c2c36e6a36bc08ae30bd20
2009 Author: Lasse Collin <lasse.collin@tukaani.org>
2010 Date: 2015-11-03 20:47:07 +0200
2012 Build: Disable xzdec, lzmadec, and lzmainfo when they cannot be built.
2014 They all need decoder support and if that isn't available,
2015 there's no point trying to build them.
2017 configure.ac | 3 +++
2018 1 file changed, 3 insertions(+)
2020 commit 8ea49606cf6427e32319de7693eca9e43f1c8ad6
2021 Author: Lasse Collin <lasse.collin@tukaani.org>
2022 Date: 2015-11-03 20:35:19 +0200
2024 Build: Simplify $enable_{encoders,decoders} usage a bit.
2026 configure.ac | 6 ++++--
2027 1 file changed, 4 insertions(+), 2 deletions(-)
2029 commit 42131a25e52bfe400acfa7df93469a96bb78bb78
2030 Author: Lasse Collin <lasse.collin@tukaani.org>
2031 Date: 2015-11-03 20:31:31 +0200
2033 Windows/MSVC: Update config.h.
2035 windows/config.h | 6 ++++++
2036 1 file changed, 6 insertions(+)
2038 commit e9184e87cc989d14c7413e6adb3eca98f6ae0290
2039 Author: Lasse Collin <lasse.collin@tukaani.org>
2040 Date: 2015-11-03 20:29:58 +0200
2042 DOS: Update config.h.
2044 dos/config.h | 6 ++++++
2045 1 file changed, 6 insertions(+)
2047 commit 2296778f3c9a1e3a8699973b09dd3610b8baa402
2048 Author: Lasse Collin <lasse.collin@tukaani.org>
2049 Date: 2015-11-03 20:29:33 +0200
2051 xz: Make xz buildable even when encoders or decoders are disabled.
2053 The patch is quite long but it's mostly about adding new #ifdefs
2054 to omit code when encoders or decoders have been disabled.
2056 This adds two new #defines to config.h: HAVE_ENCODERS and
2059 configure.ac | 4 ++++
2060 src/xz/Makefile.am | 8 ++++++--
2061 src/xz/args.c | 16 ++++++++++++++++
2062 src/xz/coder.c | 33 +++++++++++++++++++++++++--------
2063 src/xz/main.c | 9 +++++++--
2064 src/xz/private.h | 5 ++++-
2065 6 files changed, 62 insertions(+), 13 deletions(-)
2067 commit 97a3109281e475d9cf1b5095237d672fa0ad25e5
2068 Author: Lasse Collin <lasse.collin@tukaani.org>
2069 Date: 2015-11-03 18:06:40 +0200
2071 Build: Build LZMA1/2 presets also when only decoder is wanted.
2073 People shouldn't rely on the presets when decoding raw streams,
2074 but xz uses the presets as the starting point for raw decoder
2077 lzma_encocder_presets.c was renamed to lzma_presets.c to
2078 make it clear it's not used solely by the encoder code.
2080 src/liblzma/lzma/Makefile.inc | 6 +++++-
2081 src/liblzma/lzma/{lzma_encoder_presets.c => lzma_presets.c} | 3 ++-
2082 2 files changed, 7 insertions(+), 2 deletions(-)
2084 commit dc6b78d7f0f6fe43e9d4215146e8581feb8090e7
2085 Author: Lasse Collin <lasse.collin@tukaani.org>
2086 Date: 2015-11-03 17:54:48 +0200
2088 Build: Fix configure to handle LZMA1 dependency with LZMA2.
2090 Now it gives an error if LZMA1 encoder/decoder is missing
2091 when LZMA2 encoder/decoder was requested. Even better would
2092 be LZMA2 implicitly enabling LZMA1 but it would need more code.
2094 configure.ac | 5 -----
2095 1 file changed, 5 deletions(-)
2097 commit 46d76c9cd3cb26a31f5ae6c3a8bbcf38e6da1add
2098 Author: Lasse Collin <lasse.collin@tukaani.org>
2099 Date: 2015-11-03 17:41:54 +0200
2101 Build: Don't omit lzma_cputhreads() unless using --disable-threads.
2103 Previously it was omitted if encoders were disabled
2104 with --disable-encoders. It didn't make sense and
2105 it also broke the build.
2107 src/liblzma/common/Makefile.inc | 5 ++++-
2108 1 file changed, 4 insertions(+), 1 deletion(-)
2110 commit 16d68f874d89f1e4a1919786a35bbaef7d71a077
2111 Author: Lasse Collin <lasse.collin@tukaani.org>
2112 Date: 2015-11-02 18:16:51 +0200
2114 liblzma: Fix a build failure related to external SHA-256 support.
2116 If an appropriate header and structure were found by configure,
2117 but a library with a usable SHA-256 functions wasn't, the build
2120 src/liblzma/check/check.h | 32 +++++++++++++++++++++++---------
2121 1 file changed, 23 insertions(+), 9 deletions(-)
2123 commit d9311647fc1ab512a3394596221ab8039c00af6b
2124 Author: Lasse Collin <lasse.collin@tukaani.org>
2125 Date: 2015-11-02 15:19:10 +0200
2127 xz: Always close the file before trying to delete it.
2129 unlink() can return EBUSY in errno for open files on some
2130 operating systems and file systems.
2132 src/xz/file_io.c | 25 ++++++++++++-------------
2133 1 file changed, 12 insertions(+), 13 deletions(-)
2135 commit f59c4183f3c9066626ce45dc3db4642fa603fa21
2136 Author: Lasse Collin <lasse.collin@tukaani.org>
2137 Date: 2015-10-12 21:08:42 +0300
2142 1 file changed, 1 insertion(+)
2144 commit 35f189673e280c12e4c5129f9f97e54eef3bbc04
2145 Author: Lasse Collin <lasse.collin@tukaani.org>
2146 Date: 2015-10-12 21:07:41 +0300
2148 Tests: Add tests for the two bugs fixed in index.c.
2150 tests/test_index.c | 30 ++++++++++++++++++++++++++++++
2151 1 file changed, 30 insertions(+)
2153 commit e10bfdb0fcaff12f3a6dadee51e0a022aadccb51
2154 Author: Lasse Collin <lasse.collin@tukaani.org>
2155 Date: 2015-10-12 20:45:15 +0300
2157 liblzma: Fix lzma_index_dup() for empty Streams.
2159 Stream Flags and Stream Padding weren't copied from
2162 src/liblzma/common/index.c | 11 ++++++-----
2163 1 file changed, 6 insertions(+), 5 deletions(-)
2165 commit 06f434bd8980f25ca23232eb7bb7df7e37dc8448
2166 Author: Lasse Collin <lasse.collin@tukaani.org>
2167 Date: 2015-10-12 20:31:44 +0300
2169 liblzma: Add a note to index.c for those using static analyzers.
2171 src/liblzma/common/index.c | 3 +++
2172 1 file changed, 3 insertions(+)
2174 commit 9815cdf6987ef91a85493bfcfd1ce2aaf3b47a0a
2175 Author: Lasse Collin <lasse.collin@tukaani.org>
2176 Date: 2015-09-29 13:59:35 +0300
2178 Bump version and soname for 5.2.2.
2180 src/liblzma/Makefile.am | 2 +-
2181 src/liblzma/api/lzma/version.h | 2 +-
2182 2 files changed, 2 insertions(+), 2 deletions(-)
2184 commit cbe0cec8476bdd0416c7ca9bc83895c9bea1cf78
2185 Author: Lasse Collin <lasse.collin@tukaani.org>
2186 Date: 2015-09-29 13:57:28 +0300
2188 Update NEWS for 5.2.2.
2190 NEWS | 18 ++++++++++++++++++
2191 1 file changed, 18 insertions(+)
2193 commit 49427ce7eececdd18bbd35dab23c81910d083e1c
2194 Author: Andre Noll <maan@tuebingen.mpg.de>
2195 Date: 2015-05-28 15:50:00 +0200
2197 Fix typo in German translation.
2199 As pointed out by Robert Pollak, there's a typo in the German
2200 translation of the compression preset option (-0 ... -9) help text.
2201 "The compressor" translates to "der Komprimierer", and the genitive
2202 form is "des Komprimierers". The old word makes no sense at all.
2205 1 file changed, 1 insertion(+), 1 deletion(-)
2207 commit 608d6f06c940e7f28c25de005e8b99bdff42d27c
2208 Author: Hauke Henningsen <sqrt@entless.org>
2209 Date: 2015-08-17 04:59:54 +0200
2211 Update German translation, mostly wrt orthography
2213 Provide an update of the German translation.
2214 * A lot of compound words were previously written with spaces, while
2215 German orthography is relatively clear in that the components
2216 should not be separated.
2217 * When referring to the actual process of (de)compression rather than the
2218 concept, replace “(De-)Kompression” with “(De-)Komprimierung”.
2219 Previously, both forms were used in this context and are now used in a
2220 manner consistent with “Komprimierung” being more likely to refer to
2222 * Consistently translate “standard input”/“output”
2223 * Use “Zeichen” instead of false friend “Charakter” for “character”
2224 * Insert commas around relative clauses (as required in German)
2225 * Some other minor corrections
2226 * Capitalize “ß” as “ẞ”
2227 * Consistently start option descriptions in --help with capital letters
2229 Acked-By: Andre Noll <maan@tuebingen.mpg.de>
2231 * Update after msgmerge
2233 po/de.po | 383 ++++++++++++++++++++++++++++++++-------------------------------
2234 1 file changed, 196 insertions(+), 187 deletions(-)
2236 commit c8988414e5b67b8ef2fe0ba7b1ccdd0ec73c60d3
2237 Author: Lasse Collin <lasse.collin@tukaani.org>
2238 Date: 2015-08-11 13:23:04 +0300
2240 Build: Minor Cygwin cleanup.
2242 Some tests used "cygwin*" and some used "cygwin". I changed
2243 them all to use "cygwin". Shouldn't affect anything in practice.
2245 configure.ac | 6 +++---
2246 1 file changed, 3 insertions(+), 3 deletions(-)
2248 commit 85a6dfed53477906bfe9a7c0123dd412e391cb48
2249 Author: Lasse Collin <lasse.collin@tukaani.org>
2250 Date: 2015-08-11 13:21:52 +0300
2252 Build: Support building of MSYS2 binaries.
2254 configure.ac | 16 +++++++++++-----
2255 1 file changed, 11 insertions(+), 5 deletions(-)
2257 commit 77f270be8432df2e4516a0c48814b6976d6618c5
2258 Author: Lasse Collin <lasse.collin@tukaani.org>
2259 Date: 2015-08-09 21:06:26 +0300
2261 Windows: Define DLL_EXPORT when building liblzma.dll with MSVC.
2263 src/liblzma/common/common.h uses it to set __declspec(dllexport)
2264 for the API symbols.
2266 Thanks to Adam Walling.
2268 windows/liblzma_dll.vcxproj | 12 ++++++------
2269 1 file changed, 6 insertions(+), 6 deletions(-)
2271 commit 8c975446c5903090a5a8493b5b96b71003056a88
2272 Author: Lasse Collin <lasse.collin@tukaani.org>
2273 Date: 2015-08-09 21:02:20 +0300
2275 Windows: Omit unneeded header files from MSVC project files.
2277 windows/liblzma.vcxproj | 5 -----
2278 windows/liblzma_dll.vcxproj | 5 -----
2279 2 files changed, 10 deletions(-)
2281 commit 119a00434954726ca58e4a578e6469f530fca30e
2282 Author: Lasse Collin <lasse.collin@tukaani.org>
2283 Date: 2015-07-12 20:48:19 +0300
2285 liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer.
2287 src/liblzma/api/lzma.h | 18 +++++++++++++-----
2288 1 file changed, 13 insertions(+), 5 deletions(-)
2290 commit d4e7c557fcab353539c9481a8d95cb04bcb15c7c
2291 Author: Lasse Collin <lasse.collin@tukaani.org>
2292 Date: 2015-06-19 20:38:55 +0300
2297 1 file changed, 2 insertions(+)
2299 commit 98001740ca56c894a7bd32eb47e9857a8a7d878d
2300 Author: Lasse Collin <lasse.collin@tukaani.org>
2301 Date: 2015-06-19 20:21:30 +0300
2303 Windows: Update the docs.
2305 INSTALL | 29 ++++++++-----
2306 windows/INSTALL-MSVC.txt | 47 ++++++++++++++++++++++
2307 windows/{INSTALL-Windows.txt => INSTALL-MinGW.txt} | 2 +-
2308 3 files changed, 67 insertions(+), 11 deletions(-)
2310 commit 28195e4c877007cc760ecea1d17f740693d66873
2311 Author: Lasse Collin <lasse.collin@tukaani.org>
2312 Date: 2015-06-19 17:25:31 +0300
2314 Windows: Add MSVC project files for building liblzma.
2316 Thanks to Adam Walling for creating these files.
2318 windows/liblzma.vcxproj | 359 ++++++++++++++++++++++++++++++++++++++++
2319 windows/liblzma_dll.vcxproj | 388 ++++++++++++++++++++++++++++++++++++++++++++
2320 windows/xz_win.sln | 48 ++++++
2321 3 files changed, 795 insertions(+)
2323 commit 960440f3230dc628f6966d9f7614fc1b28baf44e
2324 Author: Lasse Collin <lasse.collin@tukaani.org>
2325 Date: 2015-05-13 20:57:55 +0300
2327 Tests: Fix a memory leak in test_bcj_exact_size.
2329 Thanks to Cristian Rodríguez.
2331 tests/test_bcj_exact_size.c | 1 +
2332 1 file changed, 1 insertion(+)
2334 commit 68cd35acafbdcdf4e8ea8b5bb843c736939d6f8b
2335 Author: Lasse Collin <lasse.collin@tukaani.org>
2336 Date: 2015-05-12 18:08:24 +0300
2338 Fix NEWS about threading in 5.2.0.
2340 Thanks to Andy Hochhaus.
2343 1 file changed, 2 insertions(+), 1 deletion(-)
2345 commit ff96ed6d25786728356017a13baf8c14731b4f1e
2346 Author: Lasse Collin <lasse.collin@tukaani.org>
2347 Date: 2015-05-11 21:26:16 +0300
2349 xz: Document that threaded decompression hasn't been implemented yet.
2351 src/xz/xz.1 | 10 +++++++++-
2352 1 file changed, 9 insertions(+), 1 deletion(-)
2354 commit 00d37b64a64ea8597fd2422d5187afd761ab9531
2355 Author: Lasse Collin <lasse.collin@tukaani.org>
2356 Date: 2015-04-20 20:20:29 +0300
2361 1 file changed, 1 insertion(+)
2363 commit db190a832c49ca3aed6d69cc992fa5583cae7b11
2364 Author: Lasse Collin <lasse.collin@tukaani.org>
2365 Date: 2015-04-20 19:59:18 +0300
2367 Revert "xz: Use pipe2() if available."
2369 This reverts commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd.
2370 It is a problem when libc has pipe2() but the kernel is too
2371 old to have pipe2() and thus pipe2() fails. In xz it's pointless
2372 to have a fallback for non-functioning pipe2(); it's better to
2373 avoid pipe2() completely.
2375 Thanks to Michael Fox for the bug report.
2377 configure.ac | 4 ++--
2378 src/xz/file_io.c | 9 +--------
2379 2 files changed, 3 insertions(+), 10 deletions(-)
2381 commit eccd8155e107c5ada03d13e7730675cdf1a44ddc
2382 Author: Lasse Collin <lasse.collin@tukaani.org>
2383 Date: 2015-03-29 22:14:47 +0300
2388 1 file changed, 1 insertion(+)
2390 commit 25263fd9e7a8a913395cb93d7c104cd48c2b4a00
2391 Author: Lasse Collin <lasse.collin@tukaani.org>
2392 Date: 2015-03-29 22:13:48 +0300
2394 Fix the detection of installed RAM on QNX.
2396 The earlier version compiled but didn't actually work
2397 since sysconf(_SC_PHYS_PAGES) always fails (or so I was told).
2399 Thanks to Ole André Vadla Ravnås for the patch and testing.
2401 m4/tuklib_physmem.m4 | 6 +++---
2402 src/common/tuklib_physmem.c | 14 +++++++++++++-
2403 2 files changed, 16 insertions(+), 4 deletions(-)
2405 commit 4c544d2410903d38402221cb783ed85585b6a007
2406 Author: Lasse Collin <lasse.collin@tukaani.org>
2407 Date: 2015-03-27 22:39:07 +0200
2409 Fix CPU core count detection on QNX.
2411 It tried to use sysctl() on QNX but
2412 - it broke the build because sysctl() needs -lsocket on QNX;
2413 - sysctl() doesn't work for detecting the core count on QNX
2414 even if it compiled.
2416 sysconf() works. An alternative would have been to use
2417 QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>.
2419 Thanks to Ole André Vadla Ravnås.
2421 m4/tuklib_cpucores.m4 | 15 +++++++++++----
2422 1 file changed, 11 insertions(+), 4 deletions(-)
2424 commit e0ea6737b03e83ccaff4514d00e31bb926f8f0f3
2425 Author: Lasse Collin <lasse.collin@tukaani.org>
2426 Date: 2015-03-07 22:05:57 +0200
2428 xz: size_t/uint32_t cleanup in options.c.
2430 src/xz/options.c | 12 ++++++------
2431 1 file changed, 6 insertions(+), 6 deletions(-)
2433 commit 8bcca29a65335fd679c13814b70b35b68fa5daed
2434 Author: Lasse Collin <lasse.collin@tukaani.org>
2435 Date: 2015-03-07 22:04:23 +0200
2437 xz: Fix a comment and silence a warning in message.c.
2439 src/xz/message.c | 5 +++--
2440 1 file changed, 3 insertions(+), 2 deletions(-)
2442 commit f243f5f44c6b19a7c289a0ec73a03ee08364cb5b
2443 Author: Lasse Collin <lasse.collin@tukaani.org>
2444 Date: 2015-03-07 22:01:00 +0200
2446 liblzma: Silence more uint32_t vs. size_t warnings.
2448 src/liblzma/lz/lz_encoder.c | 2 +-
2449 src/liblzma/lzma/lzma_encoder.c | 2 +-
2450 2 files changed, 2 insertions(+), 2 deletions(-)
2452 commit 7f0a4c50f4a374c40acf4b86848f301ad1e82d34
2453 Author: Lasse Collin <lasse.collin@tukaani.org>
2454 Date: 2015-03-07 19:54:00 +0200
2456 xz: Make arg_count an unsigned int to silence a warning.
2458 Actually the value of arg_count cannot exceed INT_MAX
2459 but it's nicer as an unsigned int.
2461 src/xz/args.h | 2 +-
2462 src/xz/main.c | 2 +-
2463 2 files changed, 2 insertions(+), 2 deletions(-)
2465 commit f6ec46801588b1be29c07c9db98558b521304002
2466 Author: Lasse Collin <lasse.collin@tukaani.org>
2467 Date: 2015-03-07 19:33:17 +0200
2469 liblzma: Fix a warning in index.c.
2471 src/liblzma/common/index.c | 4 +++-
2472 1 file changed, 3 insertions(+), 1 deletion(-)
2474 commit a24518971cc621315af142dd3bb7614fab04ad27
2475 Author: Lasse Collin <lasse.collin@tukaani.org>
2476 Date: 2015-02-26 20:46:14 +0200
2478 Build: Fix a CR+LF problem when running autoreconf -fi on OS/2.
2480 build-aux/version.sh | 2 +-
2481 1 file changed, 1 insertion(+), 1 deletion(-)
2483 commit dec11497a71518423b5ff0e759100cf8aadf6c7b
2484 Author: Lasse Collin <lasse.collin@tukaani.org>
2485 Date: 2015-02-26 16:53:44 +0200
2487 Bump version and soname for 5.2.1.
2489 src/liblzma/Makefile.am | 2 +-
2490 src/liblzma/api/lzma/version.h | 2 +-
2491 2 files changed, 2 insertions(+), 2 deletions(-)
2493 commit 29e39c79975ab89ee5dd671e97064534a9f3a649
2494 Author: Lasse Collin <lasse.collin@tukaani.org>
2495 Date: 2015-02-26 13:01:09 +0200
2497 Update NEWS for 5.2.1.
2499 NEWS | 14 ++++++++++++++
2500 1 file changed, 14 insertions(+)
2502 commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd
2503 Author: Lasse Collin <lasse.collin@tukaani.org>
2504 Date: 2015-02-22 19:38:48 +0200
2506 xz: Use pipe2() if available.
2508 configure.ac | 4 ++--
2509 src/xz/file_io.c | 9 ++++++++-
2510 2 files changed, 10 insertions(+), 3 deletions(-)
2512 commit 117d962685c72682c63edc9bb765367189800202
2513 Author: Lasse Collin <lasse.collin@tukaani.org>
2514 Date: 2015-02-21 23:40:26 +0200
2516 liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode.
2518 The bug was added in the commit
2519 f48fce093b07aeda95c18850f5e086d9f2383380 and thus
2520 affected 5.1.4beta and 5.2.0. Luckily the bug cannot
2521 cause data corruption or other nasty things.
2523 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
2524 1 file changed, 1 insertion(+), 1 deletion(-)
2526 commit ae984e31c167d3bc52972ec422dd1ebd5f5d5719
2527 Author: Lasse Collin <lasse.collin@tukaani.org>
2528 Date: 2015-02-21 23:00:19 +0200
2530 xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick.
2532 Now it reads the old flags instead of blindly setting O_NONBLOCK.
2533 The old code may have worked correctly, but this is better.
2535 src/xz/file_io.c | 16 +++++++++++-----
2536 1 file changed, 11 insertions(+), 5 deletions(-)
2538 commit 2205bb5853098aea36a56df6f5747037175f66b4
2539 Author: Lasse Collin <lasse.collin@tukaani.org>
2540 Date: 2015-02-10 15:29:34 +0200
2545 1 file changed, 1 insertion(+)
2547 commit d935b0cdf3db440269b9d952b2b281b18f8c7b08
2548 Author: Lasse Collin <lasse.collin@tukaani.org>
2549 Date: 2015-02-10 15:28:30 +0200
2551 tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available.
2553 In FreeBSD, cpuset_getaffinity() is the preferred way to get
2554 the number of available cores.
2556 Thanks to Rui Paulo for the patch. I edited it slightly, but
2557 hopefully I didn't break anything.
2559 m4/tuklib_cpucores.m4 | 23 ++++++++++++++++++++++-
2560 src/common/tuklib_cpucores.c | 18 ++++++++++++++++++
2561 2 files changed, 40 insertions(+), 1 deletion(-)
2563 commit eb61bc58c20769cac4d05f363b9c0e8c9c71a560
2564 Author: Lasse Collin <lasse.collin@tukaani.org>
2565 Date: 2015-02-09 22:08:37 +0200
2567 xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp.
2569 Thanks to Rui Paulo for the fix.
2571 src/scripts/xzdiff.in | 7 ++++++-
2572 1 file changed, 6 insertions(+), 1 deletion(-)
2574 commit b9a5b6b7a29029680af733082b6a46e0fc01623a
2575 Author: Lasse Collin <lasse.collin@tukaani.org>
2576 Date: 2015-02-03 21:45:53 +0200
2578 Add a few casts to tuklib_integer.h to silence possible warnings.
2580 I heard that Visual Studio 2013 gave warnings without the casts.
2582 Thanks to Gabi Davar.
2584 src/common/tuklib_integer.h | 24 ++++++++++++------------
2585 1 file changed, 12 insertions(+), 12 deletions(-)
2587 commit c45757135f40e4a0de730ba5fff0100219493982
2588 Author: Lasse Collin <lasse.collin@tukaani.org>
2589 Date: 2015-01-26 21:24:39 +0200
2591 liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method.
2593 src/liblzma/common/memcmplen.h | 15 ++++++++++-----
2594 1 file changed, 10 insertions(+), 5 deletions(-)
2596 commit 3c500174ed5485f550972a2a6109c361e875f069
2597 Author: Lasse Collin <lasse.collin@tukaani.org>
2598 Date: 2015-01-26 20:40:16 +0200
2603 1 file changed, 1 insertion(+)
2605 commit fec88d41e672d9e197c9442aecf02bd0dfa6d516
2606 Author: Lasse Collin <lasse.collin@tukaani.org>
2607 Date: 2015-01-26 20:39:28 +0200
2609 liblzma: Silence harmless Valgrind errors.
2611 Thanks to Torsten Rupp for reporting this. I had
2612 forgotten to run Valgrind before the 5.2.0 release.
2614 src/liblzma/lz/lz_encoder.c | 6 ++++++
2615 1 file changed, 6 insertions(+)
2617 commit a9b45badfec0928d20a27c7176c005fa637f7d1e
2618 Author: Lasse Collin <lasse.collin@tukaani.org>
2619 Date: 2015-01-09 21:50:19 +0200
2623 src/xz/file_io.c | 12 ++++++++----
2624 1 file changed, 8 insertions(+), 4 deletions(-)
2626 commit 541aee6dd4aa97a809aba281475a21b641bb89e2
2627 Author: Lasse Collin <lasse.collin@tukaani.org>
2628 Date: 2015-01-09 21:35:06 +0200
2633 1 file changed, 1 insertion(+)
2635 commit 4170edc914655310d2363baccf5e615e09b04911
2636 Author: Lasse Collin <lasse.collin@tukaani.org>
2637 Date: 2015-01-09 21:34:06 +0200
2639 xz: Don't fail if stdout doesn't support O_NONBLOCK.
2641 This is similar to the case with stdin.
2643 Thanks to Brad Smith for the bug report and testing
2646 src/xz/file_io.c | 36 +++++++++++++++---------------------
2647 1 file changed, 15 insertions(+), 21 deletions(-)
2649 commit 04bbc0c2843c50c8ad1cba42b937118e38b0508d
2650 Author: Lasse Collin <lasse.collin@tukaani.org>
2651 Date: 2015-01-07 19:18:20 +0200
2653 xz: Fix a memory leak in DOS-specific code.
2655 src/xz/file_io.c | 2 ++
2656 1 file changed, 2 insertions(+)
2658 commit f0f1f6c7235ffa901cf76fe18e33749e200b3eea
2659 Author: Lasse Collin <lasse.collin@tukaani.org>
2660 Date: 2015-01-07 19:08:06 +0200
2662 xz: Don't fail if stdin doesn't support O_NONBLOCK.
2664 It's a problem at least on OpenBSD which doesn't support
2665 O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's
2666 a problem on other OSes too since this behavior is allowed
2669 The code relying on this behavior was committed in June 2013
2670 and included in 5.1.3alpha released on 2013-10-26. Clearly
2671 the development releases only get limited testing.
2673 src/xz/file_io.c | 18 +++++++-----------
2674 1 file changed, 7 insertions(+), 11 deletions(-)
2676 commit d2d484647d9d9d679f03c75abb0404f67069271c
2677 Author: Lasse Collin <lasse.collin@tukaani.org>
2678 Date: 2015-01-06 20:30:15 +0200
2680 Tests: Don't hide unexpected error messages in test_files.sh.
2682 Hiding them makes no sense since normally there's no error
2683 when testing the "good" files. With "bad" files errors are
2684 expected and then it makes sense to keep the messages hidden.
2686 tests/test_files.sh | 4 ++--
2687 1 file changed, 2 insertions(+), 2 deletions(-)
2689 commit aae6a6aeda51cf94a47e39ad624728f9bee75e30
2690 Author: Lasse Collin <lasse.collin@tukaani.org>
2691 Date: 2014-12-30 11:17:16 +0200
2693 Update Solaris notes in INSTALL.
2695 Mention the possible "make check" failure on Solaris in the
2696 Solaris-specific section of INSTALL. It was already in
2697 section 4.5 but it is better mention it in the OS-specific
2701 1 file changed, 4 insertions(+)
2703 commit 7815112153178800a3521b9f31960e7cdc26cfba
2704 Author: Lasse Collin <lasse.collin@tukaani.org>
2705 Date: 2014-12-26 12:00:05 +0200
2707 Build: POSIX shell isn't required if scripts are disabled.
2711 2 files changed, 3 insertions(+), 2 deletions(-)
2713 commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a
2714 Author: Lasse Collin <lasse.collin@tukaani.org>
2715 Date: 2014-12-21 20:48:37 +0200
2717 DOS: Update Makefile.
2720 1 file changed, 1 insertion(+)
2722 commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e
2723 Author: Lasse Collin <lasse.collin@tukaani.org>
2724 Date: 2014-12-21 19:50:38 +0200
2726 Windows: Fix bin_i486 to bin_i686 in build.bash.
2728 windows/build.bash | 2 +-
2729 1 file changed, 1 insertion(+), 1 deletion(-)
2731 commit cbafa710918195dbba3db02c3fab4f0538235206
2732 Author: Lasse Collin <lasse.collin@tukaani.org>
2733 Date: 2014-12-21 18:58:44 +0200
2735 Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c.
2737 doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++----
2738 1 file changed, 26 insertions(+), 4 deletions(-)
2740 commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a
2741 Author: Lasse Collin <lasse.collin@tukaani.org>
2742 Date: 2014-12-21 18:56:44 +0200
2744 Docs: Update docs/examples/00_README.txt.
2746 doc/examples/00_README.txt | 4 ++++
2747 1 file changed, 4 insertions(+)
2749 commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6
2750 Author: Lasse Collin <lasse.collin@tukaani.org>
2751 Date: 2014-12-21 18:11:17 +0200
2753 Bump version and soname for 5.2.0.
2755 I know that soname != app version, but I skip AGE=1
2756 in -version-info to make the soname match the liblzma
2757 version anyway. It doesn't hurt anything as long as
2758 it doesn't conflict with library versioning rules.
2760 src/liblzma/Makefile.am | 2 +-
2761 src/liblzma/api/lzma/version.h | 6 +++---
2762 src/liblzma/liblzma.map | 2 +-
2763 3 files changed, 5 insertions(+), 5 deletions(-)
2765 commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da
2766 Author: Lasse Collin <lasse.collin@tukaani.org>
2767 Date: 2014-12-21 18:05:03 +0200
2769 Avoid variable-length arrays in the debug programs.
2771 debug/full_flush.c | 3 ++-
2772 debug/sync_flush.c | 3 ++-
2773 2 files changed, 4 insertions(+), 2 deletions(-)
2775 commit 72f7307cfdceb941aeb2bf30d424cc0d13621786
2776 Author: Lasse Collin <lasse.collin@tukaani.org>
2777 Date: 2014-12-21 18:01:45 +0200
2779 Build: Include 04_compress_easy_mt.c in the tarball.
2782 1 file changed, 1 insertion(+)
2784 commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0
2785 Author: Lasse Collin <lasse.collin@tukaani.org>
2786 Date: 2014-12-21 18:00:38 +0200
2788 Fix build when --disable-threads is used.
2790 src/common/mythread.h | 2 ++
2791 1 file changed, 2 insertions(+)
2793 commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17
2794 Author: Adrien Nader <adrien@notk.org>
2795 Date: 2014-12-21 15:56:15 +0100
2797 po/fr: improve wording for help for --lzma1/--lzma2.
2800 1 file changed, 1 insertion(+), 1 deletion(-)
2802 commit a8b6b569e7fadbf5b5b9139d53bc764015c15027
2803 Author: Adrien Nader <adrien@notk.org>
2804 Date: 2014-12-21 15:55:48 +0100
2806 po/fr: missing line in translation of --extreme.
2809 1 file changed, 1 insertion(+)
2811 commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9
2812 Author: Lasse Collin <lasse.collin@tukaani.org>
2813 Date: 2014-12-21 14:32:33 +0200
2815 Update NEWS for 5.2.0.
2817 NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2818 1 file changed, 65 insertions(+)
2820 commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429
2821 Author: Lasse Collin <lasse.collin@tukaani.org>
2822 Date: 2014-12-21 14:32:22 +0200
2824 Update NEWS for 5.0.8.
2826 NEWS | 12 ++++++++++++
2827 1 file changed, 12 insertions(+)
2829 commit 42e97a32649bf53ce43be2258b902a417c6e7fa1
2830 Author: Lasse Collin <lasse.collin@tukaani.org>
2831 Date: 2014-12-21 14:07:54 +0200
2835 src/xz/options.c | 4 ++--
2836 1 file changed, 2 insertions(+), 2 deletions(-)
2838 commit 29b95d5d6665cedffa6a9d6d3d914f981e852182
2839 Author: Lasse Collin <lasse.collin@tukaani.org>
2840 Date: 2014-12-20 20:43:14 +0200
2842 Update INSTALL about the dependencies of the scripts.
2844 INSTALL | 15 ++++++++++-----
2845 1 file changed, 10 insertions(+), 5 deletions(-)
2847 commit 3af91040bb42c21afbb81f5568c3313125e61192
2848 Author: Lasse Collin <lasse.collin@tukaani.org>
2849 Date: 2014-12-20 20:42:33 +0200
2851 Windows: Update build instructions.
2853 INSTALL | 15 +++++++++------
2854 windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++-----------------------
2855 2 files changed, 30 insertions(+), 29 deletions(-)
2857 commit 0152f72bf6289d744823dc6c849538f3a139ad70
2858 Author: Lasse Collin <lasse.collin@tukaani.org>
2859 Date: 2014-12-20 20:41:48 +0200
2861 Windows: Update the build script and README-Windows.txt.
2863 The 32-bit build is now for i686 or newer because the
2864 prebuilt MinGW-w64 toolchains include i686 code in the
2865 executables even if one uses -march=i486.
2867 The build script builds 32-bit SSE2 enabled version too.
2868 Run-time detection of SSE2 support would be nice (on any OS)
2869 but it's not implemented in XZ Utils yet.
2871 windows/README-Windows.txt | 30 ++++++++++++++++--------------
2872 windows/build.bash | 23 ++++++++++++++---------
2873 2 files changed, 30 insertions(+), 23 deletions(-)
2875 commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a
2876 Author: Lasse Collin <lasse.collin@tukaani.org>
2877 Date: 2014-12-19 15:51:50 +0200
2879 Windows: Define TUKLIB_SYMBOL_PREFIX in config.h.
2881 It is to keep all symbols in the lzma_ namespace.
2883 windows/config.h | 3 +++
2884 1 file changed, 3 insertions(+)
2886 commit 7f7d093de79eee0c7dbfd7433647e46302f19f82
2887 Author: Lasse Collin <lasse.collin@tukaani.org>
2888 Date: 2014-12-16 21:00:09 +0200
2890 xz: Update the man page about --threads.
2892 src/xz/xz.1 | 5 -----
2893 1 file changed, 5 deletions(-)
2895 commit 009823448b82aa5f465668878a544c5842885407
2896 Author: Lasse Collin <lasse.collin@tukaani.org>
2897 Date: 2014-12-16 20:57:43 +0200
2899 xz: Update the man page about --block-size.
2901 src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++--------
2902 1 file changed, 33 insertions(+), 8 deletions(-)
2904 commit 7dddfbeb499e528940bc12047355c184644aafe9
2905 Author: Adrien Nader <adrien@notk.org>
2906 Date: 2014-12-10 22:26:57 +0100
2908 po/fr: several more translation updates: reword and handle --ignore-check.
2910 po/fr.po | 50 ++++++++++++++++++++++++++------------------------
2911 1 file changed, 26 insertions(+), 24 deletions(-)
2913 commit 6eca5be40e04ddc4b738d493e4e56835956d8b69
2914 Author: Adrien Nader <adrien@notk.org>
2915 Date: 2014-12-10 22:23:01 +0100
2917 po/fr: yet another place where my email address had to be updated.
2920 1 file changed, 1 insertion(+), 1 deletion(-)
2922 commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7
2923 Author: Adrien Nader <adrien@notk.org>
2924 Date: 2014-12-10 22:22:20 +0100
2926 po/fr: fix several typos that have been around since the beginning.
2928 po/fr.po | 22 +++++++++++-----------
2929 1 file changed, 11 insertions(+), 11 deletions(-)
2931 commit 4c5aa911a0df027e46171e368debc543d2fa72b2
2932 Author: Adrien Nader <adrien@notk.org>
2933 Date: 2014-12-03 20:02:31 +0100
2935 po/fr: last batch of new translations for now.
2937 Four new error messages.
2939 po/fr.po | 16 ++++++++--------
2940 1 file changed, 8 insertions(+), 8 deletions(-)
2942 commit 3e3099e36d27059499e7996fb38a62e8ab01d356
2943 Author: Adrien Nader <adrien@notk.org>
2944 Date: 2014-12-03 20:01:32 +0100
2946 po/fr: translations for --threads, --block-size and --block-list.
2948 po/fr.po | 12 ++++++++----
2949 1 file changed, 8 insertions(+), 4 deletions(-)
2951 commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53
2952 Author: Adrien Nader <adrien@notk.org>
2953 Date: 2014-12-03 20:00:53 +0100
2955 po/fr: remove fuzzy marker for error messages that will be kept in English.
2957 The following is a copy of a comment inside fr.po:
2959 Note from translator on "file status flags".
2960 The following entry is kept un-translated on purpose. It is difficult to
2961 translate and should only happen in exceptional circumstances which means
2962 that translating would:
2963 - lose some of the meaning
2964 - make it more difficult to look up in search engines; it might happen one
2966 a million times, if we dilute the error message in 20 languages, it will be
2967 almost impossible to find an explanation and support for the error.
2969 po/fr.po | 22 ++++++++++++++++------
2970 1 file changed, 16 insertions(+), 6 deletions(-)
2972 commit 46cbb9033af8a21fafe543302d6919746e0d72af
2973 Author: Adrien Nader <adrien@notk.org>
2974 Date: 2014-12-03 19:58:25 +0100
2976 po/fr: several minor updates and better wording.
2978 Meaning doesn't change at all: it's only for better wording and/or
2979 formatting of a few strings.
2981 po/fr.po | 14 +++++++-------
2982 1 file changed, 7 insertions(+), 7 deletions(-)
2984 commit 7ce49d444f04e73145f79c832eb4d510594b074a
2985 Author: Adrien Nader <adrien@notk.org>
2986 Date: 2014-12-03 19:56:12 +0100
2988 po/fr: update my email address and copyright years.
2991 1 file changed, 2 insertions(+), 2 deletions(-)
2993 commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c
2994 Author: Adrien Nader <adrien@notk.org>
2995 Date: 2014-11-26 10:08:26 +0100
2997 fr.po: commit file after only "update-po" so actual is readable.
2999 po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++-----------------------
3000 1 file changed, 199 insertions(+), 112 deletions(-)
3002 commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b
3003 Author: Lasse Collin <lasse.collin@tukaani.org>
3004 Date: 2014-12-02 20:04:07 +0200
3006 liblzma: Document how lzma_mt.block_size affects memory usage.
3008 src/liblzma/api/lzma/container.h | 4 ++++
3009 1 file changed, 4 insertions(+)
3011 commit e4fc1d2f9571fba79ce383595be2ea2a9257def0
3012 Author: Lasse Collin <lasse.collin@tukaani.org>
3013 Date: 2014-11-28 20:07:18 +0200
3015 Update INSTALL about a "make check" failure in test_scripts.sh.
3017 INSTALL | 24 +++++++++++++++++-------
3018 1 file changed, 17 insertions(+), 7 deletions(-)
3020 commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe
3021 Author: Lasse Collin <lasse.collin@tukaani.org>
3022 Date: 2014-11-26 20:12:27 +0200
3024 Remove LZMA_UNSTABLE macro.
3026 src/liblzma/api/lzma/container.h | 4 ----
3027 src/liblzma/common/common.h | 2 --
3028 src/xz/private.h | 1 -
3029 3 files changed, 7 deletions(-)
3031 commit 6d9c0ce9f2677b159e32b224aba5b535b304a705
3032 Author: Lasse Collin <lasse.collin@tukaani.org>
3033 Date: 2014-11-26 20:10:33 +0200
3035 liblzma: Update lzma_stream_encoder_mt() API docs.
3037 src/liblzma/api/lzma/container.h | 5 +++--
3038 1 file changed, 3 insertions(+), 2 deletions(-)
3040 commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3
3041 Author: Lasse Collin <lasse.collin@tukaani.org>
3042 Date: 2014-11-25 12:32:05 +0200
3044 liblzma: Verify the filter chain in threaded encoder initialization.
3046 This way an invalid filter chain is detected at the Stream
3047 encoder initialization instead of delaying it to the first
3048 call to lzma_code() which triggers the initialization of
3049 the actual filter encoder(s).
3051 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
3052 1 file changed, 6 insertions(+), 3 deletions(-)
3054 commit 107a263d5bb63cd3593fd6a5c938706539f84523
3055 Author: Lasse Collin <lasse.collin@tukaani.org>
3056 Date: 2014-11-17 19:11:49 +0200
3058 Build: Update m4/ax_pthread.m4 from Autoconf Archive.
3060 m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++-------------------
3061 1 file changed, 47 insertions(+), 24 deletions(-)
3063 commit b13a781833399ff5726cfc997f3cb2f0acbdbf31
3064 Author: Lasse Collin <lasse.collin@tukaani.org>
3065 Date: 2014-11-17 18:52:21 +0200
3067 Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING.
3069 configure.ac | 36 ++++++++++++++++++------------------
3070 m4/tuklib_integer.m4 | 2 +-
3071 2 files changed, 19 insertions(+), 19 deletions(-)
3073 commit 542cac122ed3550148a2af0033af22b757491378
3074 Author: Lasse Collin <lasse.collin@tukaani.org>
3075 Date: 2014-11-17 18:43:19 +0200
3077 Build: Fix Autoconf warnings about escaped backquotes.
3079 Thanks to Daniel Richard G. for pointing out that it's
3080 good to sometimes run autoreconf -fi with -Wall.
3082 configure.ac | 7 +++----
3083 1 file changed, 3 insertions(+), 4 deletions(-)
3085 commit 7b03a15cea8cd4f19ed680b51c4bcbae3ce4142f
3086 Author: Lasse Collin <lasse.collin@tukaani.org>
3087 Date: 2014-11-10 18:54:40 +0200
3089 xzdiff: Use mkdir if mktemp isn't available.
3091 src/scripts/xzdiff.in | 17 ++++++++++++++++-
3092 1 file changed, 16 insertions(+), 1 deletion(-)
3094 commit f8c13e5e3609581d5dd9f8777985ca07f2390ad7
3095 Author: Lasse Collin <lasse.collin@tukaani.org>
3096 Date: 2014-11-10 18:45:01 +0200
3098 xzdiff: Create a temporary directory to hold a temporary file.
3100 This avoids the possibility of "File name too long" when
3101 creating a temp file when the input file name is very long.
3103 This also means that other users on the system can no longer
3104 see the input file names in /tmp (or whatever $TMPDIR is)
3105 since the temporary directory will have a generic name. This
3106 usually doesn't matter since on many systems one can see
3107 the arguments given to all processes anyway.
3109 The number X chars to mktemp where increased from 6 to 10.
3111 Note that with some shells temp files or dirs won't be used at all.
3113 src/scripts/xzdiff.in | 10 +++++-----
3114 1 file changed, 5 insertions(+), 5 deletions(-)
3116 commit 7716dcf9df7f457500cb657314e7a9aea5fedb06
3117 Author: Lasse Collin <lasse.collin@tukaani.org>
3118 Date: 2014-11-10 15:38:47 +0200
3120 liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage().
3122 It read the filter chain from a wrong variable. This is a similar
3123 bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e.
3125 src/liblzma/common/stream_encoder_mt.c | 3 +--
3126 1 file changed, 1 insertion(+), 2 deletions(-)
3128 commit 230fa4a605542c84b4178a57381695a0af4e779b
3129 Author: Lasse Collin <lasse.collin@tukaani.org>
3130 Date: 2014-11-10 14:49:55 +0200
3135 1 file changed, 1 insertion(+)
3137 commit 4e4ae08bc7c1711e399c9f2d26eb375d39d08101
3138 Author: Lasse Collin <lasse.collin@tukaani.org>
3139 Date: 2014-10-29 21:28:25 +0200
3141 Update .gitignore files.
3144 m4/.gitignore | 3 +++
3145 2 files changed, 5 insertions(+)
3147 commit c923b140b27d1a055db6284e10fd546ad1a7fcdb
3148 Author: Lasse Collin <lasse.collin@tukaani.org>
3149 Date: 2014-10-29 21:15:35 +0200
3151 Build: Prepare to support Automake's subdir-objects.
3153 Due to a bug in Automake, subdir-objects won't be enabled
3156 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354
3158 Thanks to Daniel Richard G. for the original patches.
3160 configure.ac | 7 ++++++-
3161 src/Makefile.am | 22 +++++++++++++++++++++-
3162 src/liblzma/Makefile.am | 4 ++--
3163 src/lzmainfo/Makefile.am | 4 ++--
3164 src/xz/Makefile.am | 10 +++++-----
3165 src/xzdec/Makefile.am | 8 ++++----
3166 6 files changed, 40 insertions(+), 15 deletions(-)
3168 commit 08c2aa16bea0df82828f665d51fba2e0a5e8997f
3169 Author: Lasse Collin <lasse.collin@tukaani.org>
3170 Date: 2014-10-24 20:09:29 +0300
3172 Translations: Update the Italian translation.
3174 Thanks to Milo Casagrande.
3176 po/it.po | 452 ++++++++++++++++++++++++++++++++++++++-------------------------
3177 1 file changed, 275 insertions(+), 177 deletions(-)
3179 commit 2f9f61aa83539c54ff6c118a2693890f0519b3dd
3180 Author: Lasse Collin <lasse.collin@tukaani.org>
3181 Date: 2014-10-18 18:51:45 +0300
3183 Translations: Update the Polish translation.
3185 Thanks to Jakub Bogusz.
3187 po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++-----------------------
3188 1 file changed, 214 insertions(+), 118 deletions(-)
3190 commit 4f9d233f67aea25e532824d11b7642cf7dee7a76
3191 Author: Andre Noll <maan@tuebingen.mpg.de>
3192 Date: 2014-10-14 17:30:30 +0200
3194 l10n: de.po: Change translator email address.
3196 Although the old address is still working, the new one should
3197 be preferred. So this commit changes all three places in de.po
3200 Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>
3203 1 file changed, 3 insertions(+), 3 deletions(-)
3205 commit 00502b2bedad43f0cc167ac17ae0608837ee196b
3206 Author: Andre Noll <maan@tuebingen.mpg.de>
3207 Date: 2014-10-14 17:30:29 +0200
3209 l10n: de.po: Update German translation
3211 Signed-off-by: Andre Noll <maan@systemlinux.org>
3213 po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------
3214 1 file changed, 281 insertions(+), 250 deletions(-)
3216 commit 706b0496753fb609e69f1570ec603f11162189d1
3217 Author: Andre Noll <maan@tuebingen.mpg.de>
3218 Date: 2014-10-14 17:30:28 +0200
3220 l10n: de.po: Fix typo: Schießen -> Schließen.
3222 That's a funny one since "schießen" means to shoot :)
3224 Signed-off-by: Andre Noll <maan@systemlinux.org>
3227 1 file changed, 1 insertion(+), 1 deletion(-)
3229 commit 7c32e6a935c3d7ee366abad1679bd5f322f0c7d4
3230 Author: Lasse Collin <lasse.collin@tukaani.org>
3231 Date: 2014-10-09 19:42:26 +0300
3236 1 file changed, 1 insertion(+)
3238 commit 076258cc458f1e705041ac7a729b15ffe8c5214a
3239 Author: Lasse Collin <lasse.collin@tukaani.org>
3240 Date: 2014-10-09 19:41:51 +0300
3242 Add support for AmigaOS/AROS to tuklib_physmem().
3244 Thanks to Fredrik Wikstrom.
3246 m4/tuklib_physmem.m4 | 3 ++-
3247 src/common/tuklib_physmem.c | 7 +++++++
3248 2 files changed, 9 insertions(+), 1 deletion(-)
3250 commit efa7b0a210e1baa8e128fc98c5443a944c39ad24
3251 Author: Lasse Collin <lasse.collin@tukaani.org>
3252 Date: 2014-10-09 18:42:14 +0300
3254 xzgrep: Avoid passing both -q and -l to grep.
3256 The behavior of grep -ql varies:
3257 - GNU grep behaves like grep -q.
3258 - OpenBSD grep behaves like grep -l.
3260 POSIX doesn't make it 100 % clear what behavior is expected.
3261 Anyway, using both -q and -l at the same time makes no sense
3262 so both options simply should never be used at the same time.
3264 Thanks to Christian Weisgerber.
3266 src/scripts/xzgrep.in | 6 ++++--
3267 1 file changed, 4 insertions(+), 2 deletions(-)
3269 commit 9c5f76098c9986b48d2fc574a0b764f4cde0c538
3270 Author: Trần Ngọc Quân <vnwildman@gmail.com>
3271 Date: 2014-09-25 09:22:45 +0700
3273 l10n: vi.po: Update Vietnamese translation
3275 Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
3277 po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------
3278 1 file changed, 84 insertions(+), 52 deletions(-)
3280 commit c4911f2db36d811896c73c008b4218d8fa9a4730
3281 Author: Lasse Collin <lasse.collin@tukaani.org>
3282 Date: 2014-09-25 18:38:48 +0300
3284 Build: Detect supported compiler warning flags better.
3286 Clang and nowadays also GCC accept any -Wfoobar option
3287 but then may give a warning that an unknown warning option
3288 was specified. To avoid adding unsupported warning options,
3289 the options are now tested with -Werror.
3291 Thanks to Charles Diza.
3293 configure.ac | 5 +++--
3294 1 file changed, 3 insertions(+), 2 deletions(-)
3296 commit 76e75522ed6f5c228d55587dee5a997893f6e474
3297 Author: Lasse Collin <lasse.collin@tukaani.org>
3298 Date: 2014-09-20 21:01:21 +0300
3300 Update NEWS for 5.0.7.
3302 NEWS | 11 +++++++++++
3303 1 file changed, 11 insertions(+)
3305 commit d62028b4c1174fc67b6929f126f5eb24c018c700
3306 Author: Lasse Collin <lasse.collin@tukaani.org>
3307 Date: 2014-09-20 19:42:56 +0300
3309 liblzma: Fix a portability problem in Makefile.am.
3311 POSIX supports $< only in inference rules (suffix rules).
3312 Using it elsewhere is a GNU make extension and doesn't
3313 work e.g. with OpenBSD make.
3315 Thanks to Christian Weisgerber for the patch.
3317 src/liblzma/Makefile.am | 2 +-
3318 1 file changed, 1 insertion(+), 1 deletion(-)
3320 commit c35de31d4283edad3e57d37ffe939406542cb7bb
3321 Author: Lasse Collin <lasse.collin@tukaani.org>
3322 Date: 2014-09-14 21:54:09 +0300
3324 Bump the version number to 5.1.4beta.
3326 src/liblzma/api/lzma/version.h | 4 ++--
3327 src/liblzma/liblzma.map | 2 +-
3328 2 files changed, 3 insertions(+), 3 deletions(-)
3330 commit e9e097e22cacdaa23e5414fea7913535449cb340
3331 Author: Lasse Collin <lasse.collin@tukaani.org>
3332 Date: 2014-09-14 21:50:13 +0300
3334 Update NEWS for 5.0.6 and 5.1.4beta.
3336 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
3337 1 file changed, 50 insertions(+)
3339 commit 642f856bb8562ab66704b1e01ac7bc08b6d0a663
3340 Author: Lasse Collin <lasse.collin@tukaani.org>
3341 Date: 2014-09-14 21:02:41 +0300
3345 TODO | 38 ++++++++++++++++++++++++++++++++++----
3346 1 file changed, 34 insertions(+), 4 deletions(-)
3348 commit 6b5e3b9eff5b8cedb2aac5f524d4d60fc8a48124
3349 Author: Lasse Collin <lasse.collin@tukaani.org>
3350 Date: 2014-08-05 22:32:36 +0300
3352 xz: Add --ignore-check.
3354 src/xz/args.c | 7 +++++++
3356 src/xz/coder.c | 10 +++++++++-
3357 src/xz/message.c | 2 ++
3358 src/xz/xz.1 | 19 +++++++++++++++++++
3359 5 files changed, 38 insertions(+), 1 deletion(-)
3361 commit 9adbc2ff373f979c917cdfd3679ce0ebd59f1040
3362 Author: Lasse Collin <lasse.collin@tukaani.org>
3363 Date: 2014-08-05 22:15:07 +0300
3365 liblzma: Add support for LZMA_IGNORE_CHECK.
3367 src/liblzma/api/lzma/container.h | 24 ++++++++++++++++++++++++
3368 src/liblzma/common/common.h | 1 +
3369 src/liblzma/common/stream_decoder.c | 14 ++++++++++++--
3370 3 files changed, 37 insertions(+), 2 deletions(-)
3372 commit 0e0f34b8e4f1c60ecaec15c2105982381cc9c3e6
3373 Author: Lasse Collin <lasse.collin@tukaani.org>
3374 Date: 2014-08-05 22:03:30 +0300
3376 liblzma: Add support for lzma_block.ignore_check.
3378 Note that this slightly changes how lzma_block_header_decode()
3379 has been documented. Earlier it said that the .version is set
3380 to the lowest required value, but now it says that the .version
3381 field is kept unchanged if possible. In practice this doesn't
3382 affect any old code, because before this commit the only
3383 possible .version was 0.
3385 src/liblzma/api/lzma/block.h | 50 ++++++++++++++++++++++++-------
3386 src/liblzma/common/block_buffer_encoder.c | 2 +-
3387 src/liblzma/common/block_decoder.c | 18 ++++++++---
3388 src/liblzma/common/block_encoder.c | 2 +-
3389 src/liblzma/common/block_header_decoder.c | 12 ++++++--
3390 src/liblzma/common/block_header_encoder.c | 2 +-
3391 src/liblzma/common/block_util.c | 2 +-
3392 7 files changed, 68 insertions(+), 20 deletions(-)
3394 commit 71e1437ab585b46f7a25f5a131557d3d1c0cbaa2
3395 Author: Lasse Collin <lasse.collin@tukaani.org>
3396 Date: 2014-08-04 19:25:58 +0300
3398 liblzma: Use lzma_memcmplen() in the BT3 match finder.
3400 I had missed this when writing the commit
3401 5db75054e900fa06ef5ade5f2c21dffdd5d16141.
3403 Thanks to Jun I Jin.
3405 src/liblzma/lz/lz_encoder_mf.c | 5 ++---
3406 1 file changed, 2 insertions(+), 3 deletions(-)
3408 commit 41dc9ea06e1414ebe8ef52afc8fc15b6e3282b04
3409 Author: Lasse Collin <lasse.collin@tukaani.org>
3410 Date: 2014-08-04 00:25:44 +0300
3415 1 file changed, 1 insertion(+)
3417 commit 5dcffdbcc23a68abc3ac3539b30be71bc9b5af84
3418 Author: Lasse Collin <lasse.collin@tukaani.org>
3419 Date: 2014-08-03 21:32:25 +0300
3421 liblzma: SHA-256: Optimize the Maj macro slightly.
3423 The Maj macro is used where multiple things are added
3424 together, so making Maj a sum of two expressions allows
3425 some extra freedom for the compiler to schedule the
3428 I learned this trick from
3429 <http://www.hackersdelight.org/corres.txt>.
3431 src/liblzma/check/sha256.c | 2 +-
3432 1 file changed, 1 insertion(+), 1 deletion(-)
3434 commit a9477d1e0c6fd0e47e637d051e7b9e2a5d9af517
3435 Author: Lasse Collin <lasse.collin@tukaani.org>
3436 Date: 2014-08-03 21:08:12 +0300
3438 liblzma: SHA-256: Optimize the way rotations are done.
3440 This looks weird because the rotations become sequential,
3441 but it helps quite a bit on both 32-bit and 64-bit x86:
3443 - It requires fewer instructions on two-operand
3444 instruction sets like x86.
3446 - It requires one register less which matters especially
3449 I hope this doesn't hurt other archs.
3451 I didn't invent this idea myself, but I don't remember where
3454 src/liblzma/check/sha256.c | 17 +++++++++++------
3455 1 file changed, 11 insertions(+), 6 deletions(-)
3457 commit 5a76c7c8ee9a0afbeedb1c211db9224260404347
3458 Author: Lasse Collin <lasse.collin@tukaani.org>
3459 Date: 2014-08-03 20:38:13 +0300
3461 liblzma: SHA-256: Remove the GCC #pragma that became unneeded.
3463 The unrolling in the previous commit should avoid the
3464 situation where a compiler may think that an uninitialized
3465 variable might be accessed.
3467 src/liblzma/check/sha256.c | 5 -----
3468 1 file changed, 5 deletions(-)
3470 commit 9a096f8e57509775c331950b8351bbca77bdcfa8
3471 Author: Lasse Collin <lasse.collin@tukaani.org>
3472 Date: 2014-08-03 20:33:38 +0300
3474 liblzma: SHA-256: Unroll a little more.
3476 This way a branch isn't needed for each operation
3477 to choose between blk0 and blk2, and still the code
3478 doesn't grow as much as it would with full unrolling.
3480 src/liblzma/check/sha256.c | 25 ++++++++++++++++---------
3481 1 file changed, 16 insertions(+), 9 deletions(-)
3483 commit bc7650d87bf27f85f1a2a806dc2db1780e09e6a5
3484 Author: Lasse Collin <lasse.collin@tukaani.org>
3485 Date: 2014-08-03 19:56:43 +0300
3487 liblzma: SHA-256: Do the byteswapping without a temporary buffer.
3489 src/liblzma/check/sha256.c | 13 +------------
3490 1 file changed, 1 insertion(+), 12 deletions(-)
3492 commit 544aaa3d13554e8640f9caf7db717a96360ec0f6
3493 Author: Lasse Collin <lasse.collin@tukaani.org>
3494 Date: 2014-07-25 22:38:28 +0300
3496 liblzma: Use lzma_memcmplen() in normal mode of LZMA.
3498 Two locations were not changed yet because the simplest change
3499 assumes that the initial "len" may be greater than "limit".
3501 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++---------------
3502 1 file changed, 5 insertions(+), 15 deletions(-)
3504 commit f48fce093b07aeda95c18850f5e086d9f2383380
3505 Author: Lasse Collin <lasse.collin@tukaani.org>
3506 Date: 2014-07-25 22:30:38 +0300
3508 liblzma: Simplify LZMA fast mode code by using memcmp().
3510 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +----------
3511 1 file changed, 1 insertion(+), 10 deletions(-)
3513 commit 6bf5308e34e23dede5b301b1b9b4f131dacd9218
3514 Author: Lasse Collin <lasse.collin@tukaani.org>
3515 Date: 2014-07-25 22:29:49 +0300
3517 liblzma: Use lzma_memcmplen() in fast mode of LZMA.
3519 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++---
3520 1 file changed, 3 insertions(+), 3 deletions(-)
3522 commit 353212137e51e45b105a3a3fc2e6879f1cf0d492
3523 Author: Lasse Collin <lasse.collin@tukaani.org>
3524 Date: 2014-07-25 21:16:23 +0300
3529 1 file changed, 1 insertion(+)
3531 commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141
3532 Author: Lasse Collin <lasse.collin@tukaani.org>
3533 Date: 2014-07-25 21:15:07 +0300
3535 liblzma: Use lzma_memcmplen() in the match finders.
3537 This doesn't change the match finder output.
3539 src/liblzma/lz/lz_encoder.c | 13 ++++++++++++-
3540 src/liblzma/lz/lz_encoder_mf.c | 33 +++++++++++----------------------
3541 2 files changed, 23 insertions(+), 23 deletions(-)
3543 commit e1c8f1d01f4a4e2136173edab2dc63c71ef038f4
3544 Author: Lasse Collin <lasse.collin@tukaani.org>
3545 Date: 2014-07-25 20:57:20 +0300
3547 liblzma: Add lzma_memcmplen() for fast memory comparison.
3549 This commit just adds the function. Its uses will be in
3552 This hasn't been tested much yet and it's perhaps a bit early
3553 to commit it but if there are bugs they should get found quite
3556 Thanks to Jun I Jin from Intel for help and for pointing out
3557 that string comparison needs to be optimized in liblzma.
3559 configure.ac | 13 +++
3560 src/liblzma/common/Makefile.inc | 1 +
3561 src/liblzma/common/memcmplen.h | 170 ++++++++++++++++++++++++++++++++++++++++
3562 3 files changed, 184 insertions(+)
3564 commit 765735cf52e5123586e74a51b9c073b5257f631f
3565 Author: Lasse Collin <lasse.collin@tukaani.org>
3566 Date: 2014-07-12 21:10:09 +0300
3571 1 file changed, 1 insertion(+)
3573 commit 59da01785ef66c7e62f36e70ca808fd2824bb995
3574 Author: Lasse Collin <lasse.collin@tukaani.org>
3575 Date: 2014-07-12 20:06:08 +0300
3577 Translations: Add Vietnamese translation.
3579 Thanks to Trần Ngọc Quân.
3582 po/vi.po | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3583 2 files changed, 1008 insertions(+)
3585 commit 17215f751c354852700e7f8592ccf319570a0721
3586 Author: Lasse Collin <lasse.collin@tukaani.org>
3587 Date: 2014-06-29 20:54:14 +0300
3589 xz: Update the help message of a few options.
3591 Updated: --threads, --block-size, and --block-list
3592 Added: --flush-timeout
3594 src/xz/message.c | 18 +++++++++++-------
3595 1 file changed, 11 insertions(+), 7 deletions(-)
3597 commit 96864a6ddf91ad693d102ea165f3d7918744d582
3598 Author: Lasse Collin <lasse.collin@tukaani.org>
3599 Date: 2014-06-18 22:07:06 +0300
3601 xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores().
3603 src/xz/Makefile.am | 1 -
3604 src/xz/hardware.c | 12 +++++++++---
3605 2 files changed, 9 insertions(+), 4 deletions(-)
3607 commit a115cc3748482e277f42a968baa3cd266f031dba
3608 Author: Lasse Collin <lasse.collin@tukaani.org>
3609 Date: 2014-06-18 22:04:24 +0300
3611 liblzma: Add lzma_cputhreads().
3613 src/liblzma/Makefile.am | 8 +++++++-
3614 src/liblzma/api/lzma/hardware.h | 14 ++++++++++++++
3615 src/liblzma/common/Makefile.inc | 1 +
3616 src/liblzma/common/hardware_cputhreads.c | 22 ++++++++++++++++++++++
3617 src/liblzma/liblzma.map | 1 +
3618 5 files changed, 45 insertions(+), 1 deletion(-)
3620 commit 3ce3e7976904fbab4e6482bafa442856f77a51fa
3621 Author: Lasse Collin <lasse.collin@tukaani.org>
3622 Date: 2014-06-18 19:11:52 +0300
3624 xz: Check for filter chain compatibility for --flush-timeout.
3626 This avoids LZMA_PROG_ERROR from lzma_code() with filter chains
3627 that don't support LZMA_SYNC_FLUSH.
3629 src/xz/coder.c | 30 +++++++++++++++++++++---------
3630 1 file changed, 21 insertions(+), 9 deletions(-)
3632 commit 381ac14ed79e5d38809f251705be8b3193bba417
3633 Author: Lasse Collin <lasse.collin@tukaani.org>
3634 Date: 2014-06-13 19:21:54 +0300
3636 xzgrep: List xzgrep_expected_output in tests/Makefile.am.
3638 tests/Makefile.am | 3 ++-
3639 1 file changed, 2 insertions(+), 1 deletion(-)
3641 commit 4244b65b06d5ecaf6f9dd0387ac7e3166bd2364e
3642 Author: Lasse Collin <lasse.collin@tukaani.org>
3643 Date: 2014-06-13 18:58:22 +0300
3645 xzgrep: Improve the test script.
3647 Now it should be close to the functionality of the original
3648 version by Pavel Raiskup.
3650 tests/Makefile.am | 3 ++-
3651 tests/test_scripts.sh | 24 ++++++++++++++----------
3652 tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++
3653 3 files changed, 55 insertions(+), 11 deletions(-)
3655 commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26
3656 Author: Lasse Collin <lasse.collin@tukaani.org>
3657 Date: 2014-06-11 21:03:25 +0300
3659 xzgrep: Add a test for the previous fix.
3661 This is a simplified version of Pavel Raiskup's
3664 tests/test_scripts.sh | 26 ++++++++++++++++++++++----
3665 1 file changed, 22 insertions(+), 4 deletions(-)
3667 commit ceca37901783988204caaf40dff4623d535cc789
3668 Author: Lasse Collin <lasse.collin@tukaani.org>
3669 Date: 2014-06-11 20:43:28 +0300
3671 xzgrep: exit 0 when at least one file matches.
3673 Mimic the original grep behavior and return exit_success when
3674 at least one xz compressed file matches given pattern.
3677 https://bugzilla.redhat.com/show_bug.cgi?id=1108085
3679 Thanks to Pavel Raiskup for the patch.
3681 src/scripts/xzgrep.in | 15 +++++++++++++--
3682 1 file changed, 13 insertions(+), 2 deletions(-)
3684 commit 8c19216baccb92d011694590df8a1262da2e980c
3685 Author: Lasse Collin <lasse.collin@tukaani.org>
3686 Date: 2014-06-09 21:21:24 +0300
3688 xz: Force single-threaded mode when --flush-timeout is used.
3690 src/xz/coder.c | 11 +++++++++++
3691 1 file changed, 11 insertions(+)
3693 commit 87f1a24810805187d7bbc8ac5512e7eec307ddf5
3694 Author: Lasse Collin <lasse.collin@tukaani.org>
3695 Date: 2014-05-25 22:05:39 +0300
3700 1 file changed, 1 insertion(+)
3702 commit da1718f266fcfc091e7bf08aae1bc986d0e6cc6b
3703 Author: Lasse Collin <lasse.collin@tukaani.org>
3704 Date: 2014-05-25 21:45:56 +0300
3706 liblzma: Use lzma_alloc_zero() in LZ encoder initialization.
3708 This avoids a memzero() call for a newly-allocated memory,
3709 which can be expensive when encoding small streams with
3710 an over-sized dictionary.
3712 To avoid using lzma_alloc_zero() for memory that doesn't
3713 need to be zeroed, lzma_mf.son is now allocated separately,
3714 which requires handling it separately in normalize() too.
3716 Thanks to Vincenzo Innocente for reporting the problem.
3718 src/liblzma/lz/lz_encoder.c | 84 ++++++++++++++++++++++--------------------
3719 src/liblzma/lz/lz_encoder.h | 2 +-
3720 src/liblzma/lz/lz_encoder_mf.c | 31 +++++++++-------
3721 3 files changed, 62 insertions(+), 55 deletions(-)
3723 commit 28af24e9cf2eb259997c85dce13d4c97b3daa47a
3724 Author: Lasse Collin <lasse.collin@tukaani.org>
3725 Date: 2014-05-25 19:25:57 +0300
3727 liblzma: Add the internal function lzma_alloc_zero().
3729 src/liblzma/common/common.c | 21 +++++++++++++++++++++
3730 src/liblzma/common/common.h | 6 ++++++
3731 2 files changed, 27 insertions(+)
3733 commit ed9ac85822c490e34b68c259afa0b385d21d1c40
3734 Author: Lasse Collin <lasse.collin@tukaani.org>
3735 Date: 2014-05-08 18:03:09 +0300
3737 xz: Fix uint64_t vs. size_t which broke 32-bit build.
3739 Thanks to Christian Hesse.
3741 src/xz/coder.c | 2 +-
3742 1 file changed, 1 insertion(+), 1 deletion(-)
3744 commit d716acdae3fa7996f9e68a7bac012e6d8d13dd02
3745 Author: Lasse Collin <lasse.collin@tukaani.org>
3746 Date: 2014-05-04 11:09:11 +0300
3748 Docs: Update comments to refer to lzma/lzma12.h in example programs.
3750 doc/examples/03_compress_custom.c | 6 +++---
3751 1 file changed, 3 insertions(+), 3 deletions(-)
3753 commit 4d5b7b3fda31241ca86ed35e08e73f776ee916e0
3754 Author: Lasse Collin <lasse.collin@tukaani.org>
3755 Date: 2014-05-04 11:07:17 +0300
3757 liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h.
3759 It can be confusing that two header files have the same name.
3760 The public API file is still lzma.h.
3762 src/liblzma/api/Makefile.am | 2 +-
3763 src/liblzma/api/lzma.h | 2 +-
3764 src/liblzma/api/lzma/{lzma.h => lzma12.h} | 2 +-
3765 3 files changed, 3 insertions(+), 3 deletions(-)
3767 commit 1555a9c5664afc7893a2b75e9970105437f01ef1
3768 Author: Lasse Collin <lasse.collin@tukaani.org>
3769 Date: 2014-04-25 17:53:42 +0300
3771 Build: Fix the combination of --disable-xzdec --enable-lzmadec.
3773 In this case "make install" could fail if the man page directory
3774 didn't already exist at the destination. If it did exist, a
3775 dangling symlink was created there. Now the link is omitted
3776 instead. This isn't the best fix but it's better than the old
3779 src/xzdec/Makefile.am | 10 +++++++++-
3780 1 file changed, 9 insertions(+), 1 deletion(-)
3782 commit 56056571df3377eaa6ae6233b3ccc5d72e81d43d
3783 Author: Lasse Collin <lasse.collin@tukaani.org>
3784 Date: 2014-04-25 17:44:26 +0300
3786 Build: Add --disable-doc to configure.
3790 configure.ac | 6 ++++++
3791 3 files changed, 14 insertions(+)
3793 commit 6de61d8721097a6214810841aa85b08e303ac538
3794 Author: Lasse Collin <lasse.collin@tukaani.org>
3795 Date: 2014-04-24 18:06:24 +0300
3799 Add a note about failing "make check". The source of
3800 the problem should be fixed in libtool (if it really is
3801 a libtool bug and not mine) but I'm unable to spend time
3802 on that for now. Thanks to Nelson H. F. Beebe for reporting
3805 Add a note about a possible need to run "ldconfig" after
3808 INSTALL | 25 +++++++++++++++++++++++++
3809 1 file changed, 25 insertions(+)
3811 commit 54df428799a8d853639b753d0e6784694d73eb3e
3812 Author: Lasse Collin <lasse.collin@tukaani.org>
3813 Date: 2014-04-09 17:26:10 +0300
3815 xz: Rename a variable to avoid a namespace collision on Solaris.
3817 I don't know the details but I have an impression that there's
3818 no problem in practice if using GCC since people have built xz
3819 with GCC (without patching xz), but renaming the variable cannot
3822 Thanks to Mark Ashley.
3824 src/xz/signals.c | 12 +++++++-----
3825 1 file changed, 7 insertions(+), 5 deletions(-)
3827 commit 5876ca27daa1429676b1160007d9688266907f00
3828 Author: Lasse Collin <lasse.collin@tukaani.org>
3829 Date: 2014-01-29 20:19:41 +0200
3831 Docs: Add example program for threaded encoding.
3833 I didn't add -DLZMA_UNSTABLE to Makefile so one has to
3834 specify it manually as long as LZMA_UNSTABLE is needed.
3836 doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++
3837 doc/examples/Makefile | 3 +-
3838 2 files changed, 186 insertions(+), 1 deletion(-)
3840 commit 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e
3841 Author: Lasse Collin <lasse.collin@tukaani.org>
3842 Date: 2014-01-29 20:13:51 +0200
3844 liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt().
3846 It read the filter chain from a wrong variable.
3848 src/liblzma/common/stream_encoder_mt.c | 4 ++--
3849 1 file changed, 2 insertions(+), 2 deletions(-)
3851 commit 673a4cb53de3a715685cb1b836da57a3c7dcd43c
3852 Author: Lasse Collin <lasse.collin@tukaani.org>
3853 Date: 2014-01-20 11:20:40 +0200
3855 liblzma: Fix typo in a comment.
3857 src/liblzma/api/lzma/block.h | 2 +-
3858 1 file changed, 1 insertion(+), 1 deletion(-)
3860 commit ad96a871a1470eb76d6233d3890ce9338047b7a3
3861 Author: Lasse Collin <lasse.collin@tukaani.org>
3862 Date: 2014-01-12 19:38:43 +0200
3864 Windows: Add config.h for building liblzma with MSVC 2013.
3866 This is for building liblzma. Building xz tool too requires
3867 a little more work. Maybe it will be supported, but for most
3868 MSVC users it's enough to be able to build liblzma.
3870 C99 support in MSVC 2013 is almost usable which is a big
3871 improvement over earlier versions. It's "almost" because
3872 there's a dumb bug that breaks mixed declarations after
3873 an "if" statements unless the "if" statement uses braces:
3875 https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug
3876 https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs
3878 Hopefully it will get fixed. Then liblzma should be
3879 compilable with MSVC 2013 without patching.
3881 windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
3882 1 file changed, 139 insertions(+)
3884 commit 3d5c090872fab4212b57c290e8ed4d02c78c1737
3885 Author: Lasse Collin <lasse.collin@tukaani.org>
3886 Date: 2014-01-12 17:41:14 +0200
3890 src/xz/coder.c | 4 ++--
3891 1 file changed, 2 insertions(+), 2 deletions(-)
3893 commit 69fd4e1c932c7975476a0143c86e45d81b60d3f9
3894 Author: Lasse Collin <lasse.collin@tukaani.org>
3895 Date: 2014-01-12 17:04:33 +0200
3897 Windows: Add MSVC defines for inline and restrict keywords.
3899 src/common/sysdefs.h | 10 ++++++++++
3900 1 file changed, 10 insertions(+)
3902 commit a19d9e8575ee6647cd9154cf1f20203f1330485f
3903 Author: Lasse Collin <lasse.collin@tukaani.org>
3904 Date: 2014-01-12 16:44:52 +0200
3906 liblzma: Avoid C99 compound literal arrays.
3908 MSVC 2013 doesn't like them. Maybe they aren't so good
3909 for readability either since many aren't used to them.
3911 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++---
3912 1 file changed, 5 insertions(+), 3 deletions(-)
3914 commit e28528f1c867b2ed4ac91195ad08efb9bb8a6263
3915 Author: Lasse Collin <lasse.collin@tukaani.org>
3916 Date: 2014-01-12 12:50:30 +0200
3918 liblzma: Remove a useless C99ism from sha256.c.
3920 Unsurprisingly it makes no difference in compiled output.
3922 src/liblzma/check/sha256.c | 2 +-
3923 1 file changed, 1 insertion(+), 1 deletion(-)
3925 commit 5ad1effc45adfb7dabc9a98e79736077e6b7e2d5
3926 Author: Lasse Collin <lasse.collin@tukaani.org>
3927 Date: 2014-01-12 12:17:08 +0200
3929 xz: Fix use of wrong variable.
3931 Since the only call to suffix_set() uses optarg
3932 as the argument, fixing this bug doesn't change
3933 the behavior of the program.
3935 src/xz/suffix.c | 2 +-
3936 1 file changed, 1 insertion(+), 1 deletion(-)
3938 commit 3e62c68d75b5a3fdd46dbb34bb335d73289860d5
3939 Author: Lasse Collin <lasse.collin@tukaani.org>
3940 Date: 2014-01-12 12:11:36 +0200
3942 Fix typos in comments.
3944 src/common/mythread.h | 2 +-
3945 src/liblzma/check/crc32_fast.c | 2 +-
3946 2 files changed, 2 insertions(+), 2 deletions(-)
3948 commit e90ea601fb72867ec04adf456cbe4bf9520fd412
3949 Author: Lasse Collin <lasse.collin@tukaani.org>
3950 Date: 2013-11-26 18:20:16 +0200
3955 1 file changed, 1 insertion(+)
3957 commit b22e94d8d15764416354e04729382a7371ae2c30
3958 Author: Lasse Collin <lasse.collin@tukaani.org>
3959 Date: 2013-11-26 18:20:09 +0200
3961 liblzma: Document the need for block->check for lzma_block_header_decode().
3963 Thanks to Tomer Chachamu.
3965 src/liblzma/api/lzma/block.h | 3 +++
3966 1 file changed, 3 insertions(+)
3968 commit d1cd8b1cb824b72421d1ee370e628024d2fcbec4
3969 Author: Lasse Collin <lasse.collin@tukaani.org>
3970 Date: 2013-11-12 16:38:57 +0200
3972 xz: Update the man page about --block-size and --block-list.
3974 src/xz/xz.1 | 24 +++++++++++++++---------
3975 1 file changed, 15 insertions(+), 9 deletions(-)
3977 commit 76be7c612e6bcc38724488ccc3b8bcb1cfec9f0a
3978 Author: Lasse Collin <lasse.collin@tukaani.org>
3979 Date: 2013-11-12 16:30:53 +0200
3984 1 file changed, 1 insertion(+)
3986 commit dd750acbe2259d75444ef0f8da2d4bacc90d7afc
3987 Author: Lasse Collin <lasse.collin@tukaani.org>
3988 Date: 2013-11-12 16:29:48 +0200
3990 xz: Make --block-list and --block-size work together in single-threaded.
3992 Previously, --block-list and --block-size only worked together
3993 in threaded mode. Boundaries are specified by --block-list, but
3994 --block-size specifies the maximum size for a Block. Now this
3995 works in single-threaded mode too.
3997 Thanks to James M Leddy for the original patch.
3999 src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++----------
4000 1 file changed, 75 insertions(+), 15 deletions(-)
4002 commit ae222fe9805d0161d022d75ba8485dab8bf6d7d5
4003 Author: Lasse Collin <lasse.collin@tukaani.org>
4004 Date: 2013-10-26 13:26:14 +0300
4006 Bump the version number to 5.1.3alpha.
4008 src/liblzma/api/lzma/version.h | 2 +-
4009 src/liblzma/liblzma.map | 2 +-
4010 2 files changed, 2 insertions(+), 2 deletions(-)
4012 commit 2193837a6a597cd3bf4e9ddf49421a5697d8e155
4013 Author: Lasse Collin <lasse.collin@tukaani.org>
4014 Date: 2013-10-26 13:25:02 +0300
4016 Update NEWS for 5.1.3alpha.
4018 NEWS | 35 +++++++++++++++++++++++++++++++++++
4019 1 file changed, 35 insertions(+)
4021 commit ed48e75e2763876173aef8902da407a8eb28854b
4022 Author: Lasse Collin <lasse.collin@tukaani.org>
4023 Date: 2013-10-26 12:47:04 +0300
4028 1 file changed, 4 deletions(-)
4030 commit 841da0352d79a56a44796a4c39163429c9f039a3
4031 Author: Lasse Collin <lasse.collin@tukaani.org>
4032 Date: 2013-10-25 22:41:28 +0300
4034 xz: Document behavior of --block-list with threads.
4036 This needs to be updated before 5.2.0.
4038 src/xz/xz.1 | 24 +++++++++++++++++++++---
4039 1 file changed, 21 insertions(+), 3 deletions(-)
4041 commit 56feb8665b78c1032aabd53c619c62af51defe64
4042 Author: Lasse Collin <lasse.collin@tukaani.org>
4043 Date: 2013-10-22 20:03:12 +0300
4045 xz: Document --flush-timeout=TIMEOUT on the man page.
4047 src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++-
4048 1 file changed, 36 insertions(+), 1 deletion(-)
4050 commit ba413da1d5bb3324287cf3174922acd921165971
4051 Author: Lasse Collin <lasse.collin@tukaani.org>
4052 Date: 2013-10-22 19:51:55 +0300
4054 xz: Take advantage of LZMA_FULL_BARRIER with --block-list.
4056 Now if --block-list is used in threaded mode, the encoder
4057 won't need to flush at each Block boundary specified via
4058 --block-list. This improves performance a lot, making
4059 threading helpful with --block-list.
4061 The flush timer was reset after LZMA_FULL_FLUSH but since
4062 LZMA_FULL_BARRIER doesn't flush, resetting the timer is
4065 src/xz/coder.c | 32 +++++++++++++++-----------------
4066 1 file changed, 15 insertions(+), 17 deletions(-)
4068 commit 0cd45fc2bc5537de287a0bc005e2d67467a92148
4069 Author: Lasse Collin <lasse.collin@tukaani.org>
4070 Date: 2013-10-02 20:05:23 +0300
4072 liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder.
4074 Now --block-list=SIZES works with in the threaded mode too,
4075 although the performance is still bad due to the use of
4076 LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER.
4078 src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++----------
4079 1 file changed, 39 insertions(+), 16 deletions(-)
4081 commit 97bb38712f414fabecca908af2e38a12570293fd
4082 Author: Lasse Collin <lasse.collin@tukaani.org>
4083 Date: 2013-10-02 12:55:11 +0300
4085 liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder.
4087 In the single-threaded encoder LZMA_FULL_BARRIER is simply
4088 an alias for LZMA_FULL_FLUSH.
4090 src/liblzma/api/lzma/base.h | 37 ++++++++++++++++++++++++++++++-------
4091 src/liblzma/common/common.c | 17 +++++++++++++++--
4092 src/liblzma/common/common.h | 7 ++++++-
4093 src/liblzma/common/stream_encoder.c | 4 +++-
4094 4 files changed, 54 insertions(+), 11 deletions(-)
4096 commit fef0c6b410c08e581c9178700a4e7599f0895ff9
4097 Author: Lasse Collin <lasse.collin@tukaani.org>
4098 Date: 2013-09-17 11:57:51 +0300
4100 liblzma: Add block_buffer_encoder.h into Makefile.inc.
4102 This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc.
4104 src/liblzma/common/Makefile.inc | 1 +
4105 1 file changed, 1 insertion(+)
4107 commit 8083e03291b6d21c0f538163e187b4e8cd5594e4
4108 Author: Lasse Collin <lasse.collin@tukaani.org>
4109 Date: 2013-09-17 11:55:38 +0300
4111 xz: Add a missing test for TUKLIB_DOSLIKE.
4113 src/xz/file_io.c | 2 ++
4114 1 file changed, 2 insertions(+)
4116 commit 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0
4117 Author: Lasse Collin <lasse.collin@tukaani.org>
4118 Date: 2013-09-17 11:52:28 +0300
4120 Add native threading support on Windows.
4122 Now liblzma only uses "mythread" functions and types
4123 which are defined in mythread.h matching the desired
4126 Before Windows Vista, there is no direct equivalent to
4127 pthread condition variables. Since this package doesn't
4128 use pthread_cond_broadcast(), pre-Vista threading can
4129 still be kept quite simple. The pre-Vista code doesn't
4130 use anything that wasn't already available in Windows 95,
4131 so the binaries should run even on Windows 95 if someone
4135 configure.ac | 118 ++++++--
4136 src/common/mythread.h | 513 ++++++++++++++++++++++++++-------
4137 src/liblzma/common/stream_encoder_mt.c | 83 +++---
4138 src/xz/coder.c | 8 +-
4139 windows/README-Windows.txt | 2 +-
4140 windows/build.bash | 23 +-
4141 7 files changed, 573 insertions(+), 215 deletions(-)
4143 commit ae0ab74a88d5b9b15845f1d9a24ade4349a54f9f
4144 Author: Lasse Collin <lasse.collin@tukaani.org>
4145 Date: 2013-09-11 14:40:35 +0300
4147 Build: Remove a comment about Automake 1.10 from configure.ac.
4149 The previous commit supports silent rules and that requires
4153 1 file changed, 2 deletions(-)
4155 commit 72975df6c8c59aaf849138ab3606e8fb6970596a
4156 Author: Lasse Collin <lasse.collin@tukaani.org>
4157 Date: 2013-09-09 20:37:03 +0300
4159 Build: Create liblzma.pc in a src/liblzma/Makefile.am.
4161 Previously it was done in configure, but doing that goes
4162 against the Autoconf manual. Autoconf requires that it is
4163 possible to override e.g. prefix after running configure
4164 and that doesn't work correctly if liblzma.pc is created
4167 A potential downside of this change is that now e.g.
4168 libdir in liblzma.pc is a standalone string instead of
4169 being defined via ${prefix}, so if one overrides prefix
4170 when running pkg-config the libdir won't get the new value.
4171 I don't know if this matters in practice.
4173 Thanks to Vincent Torri.
4176 src/liblzma/Makefile.am | 20 ++++++++++++++++++++
4177 2 files changed, 20 insertions(+), 1 deletion(-)
4179 commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc
4180 Author: Lasse Collin <lasse.collin@tukaani.org>
4181 Date: 2013-08-04 15:24:09 +0300
4183 Fix the previous commit which broke the build.
4185 Apparently I didn't even compile-test the previous commit.
4187 Thanks to Christian Hesse.
4189 src/common/tuklib_cpucores.c | 2 +-
4190 1 file changed, 1 insertion(+), 1 deletion(-)
4192 commit 124eb69c7857f618b4807588c51bc9ba21bf8691
4193 Author: Lasse Collin <lasse.collin@tukaani.org>
4194 Date: 2013-08-03 13:52:58 +0300
4196 Windows: Add Windows support to tuklib_cpucores().
4198 It is used for Cygwin too. I'm not sure if that is
4201 Thanks to Vincent Torri.
4203 m4/tuklib_cpucores.m4 | 19 +++++++++++++++++--
4204 src/common/tuklib_cpucores.c | 13 ++++++++++++-
4205 2 files changed, 29 insertions(+), 3 deletions(-)
4207 commit eada8a875ce3fd521cb42e4ace2624d3d49c5f35
4208 Author: Anders F Bjorklund <afb@users.sourceforge.net>
4209 Date: 2013-08-02 15:59:46 +0200
4211 macosx: separate liblzma package
4213 macosx/build.sh | 23 +++++++++++++++--------
4214 1 file changed, 15 insertions(+), 8 deletions(-)
4216 commit be0100d01ca6a75899d051bee00acf17e6dc0c15
4217 Author: Anders F Bjorklund <afb@users.sourceforge.net>
4218 Date: 2013-08-02 15:58:44 +0200
4220 macosx: set minimum to leopard
4222 macosx/build.sh | 13 ++++++++-----
4223 1 file changed, 8 insertions(+), 5 deletions(-)
4225 commit 416729e2d743f4b2fe9fd438eedeb98adce033c3
4226 Author: Anders F Bjorklund <afb@users.sourceforge.net>
4227 Date: 2011-08-07 13:13:30 +0200
4229 move configurables into variables
4231 macosx/build.sh | 25 ++++++++++++++++++-------
4232 1 file changed, 18 insertions(+), 7 deletions(-)
4234 commit 16581080e5f29f9a4e49efece21c5bf572323acc
4235 Author: Lasse Collin <lasse.collin@tukaani.org>
4236 Date: 2013-07-15 14:08:41 +0300
4241 1 file changed, 1 insertion(+)
4243 commit 3e2b198ba37b624efd9c7caee2a435dc986b46c6
4244 Author: Lasse Collin <lasse.collin@tukaani.org>
4245 Date: 2013-07-15 14:08:02 +0300
4247 Build: Fix the detection of missing CRC32.
4249 Thanks to Vincent Torri.
4252 1 file changed, 1 insertion(+), 1 deletion(-)
4254 commit dee6ad3d5915422bc30a6821efeacaeb8ca8ef00
4255 Author: Lasse Collin <lasse.collin@tukaani.org>
4256 Date: 2013-07-04 14:18:46 +0300
4258 xz: Add preliminary support for --flush-timeout=TIMEOUT.
4260 When --flush-timeout=TIMEOUT is used, xz will use
4261 LZMA_SYNC_FLUSH if read() would block and at least
4262 TIMEOUT milliseconds has elapsed since the previous flush.
4264 This can be useful in realtime-like use cases where the
4265 data is simultanously decompressed by another process
4266 (possibly on a different computer). If new uncompressed
4267 input data is produced slowly, without this option xz could
4268 buffer the data for a long time until it would become
4269 decompressible from the output.
4271 If TIMEOUT is 0, the feature is disabled. This is the default.
4273 This commit affects the compression side. Using xz for
4274 the decompression side for the above purpose doesn't work
4275 yet so well because there is quite a bit of input and
4276 output buffering when decompressing.
4278 The --long-help or man page were not updated yet.
4279 The details of this feature may change.
4281 src/xz/args.c | 7 +++++++
4282 src/xz/coder.c | 46 +++++++++++++++++++++++++++++++++++-----------
4283 src/xz/file_io.c | 46 ++++++++++++++++++++++++++++++++++++----------
4284 3 files changed, 78 insertions(+), 21 deletions(-)
4286 commit fa381acaf9a29a8114e1c0a97de99bab9adb014e
4287 Author: Lasse Collin <lasse.collin@tukaani.org>
4288 Date: 2013-07-04 13:41:03 +0300
4290 xz: Don't set src_eof=true after an I/O error because it's useless.
4292 src/xz/file_io.c | 3 ---
4293 1 file changed, 3 deletions(-)
4295 commit ea00545beace5b950f709ec21e46878e0f448678
4296 Author: Lasse Collin <lasse.collin@tukaani.org>
4297 Date: 2013-07-04 13:25:11 +0300
4299 xz: Fix the test when to read more input.
4301 Testing for end of file was no longer correct after full flushing
4302 became possible with --block-size=SIZE and --block-list=SIZES.
4303 There was no bug in practice though because xz just made a few
4304 unneeded zero-byte reads.
4306 src/xz/coder.c | 6 +++---
4307 1 file changed, 3 insertions(+), 3 deletions(-)
4309 commit 736903c64bef394c06685d79908e397bcb08b88f
4310 Author: Lasse Collin <lasse.collin@tukaani.org>
4311 Date: 2013-07-04 12:51:57 +0300
4313 xz: Move some of the timing code into mytime.[hc].
4315 This switches units from microseconds to milliseconds.
4317 New clock_gettime(CLOCK_MONOTONIC) will be used if available.
4318 There is still a fallback to gettimeofday().
4320 src/xz/Makefile.am | 2 ++
4321 src/xz/coder.c | 5 +++
4322 src/xz/message.c | 54 +++++++++------------------------
4323 src/xz/mytime.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
4324 src/xz/mytime.h | 47 ++++++++++++++++++++++++++++
4325 src/xz/private.h | 1 +
4326 6 files changed, 158 insertions(+), 40 deletions(-)
4328 commit 24edf8d807e24ffaa1e793114d94cca3b970027d
4329 Author: Lasse Collin <lasse.collin@tukaani.org>
4330 Date: 2013-07-01 14:35:03 +0300
4335 1 file changed, 1 insertion(+)
4337 commit c0627b3fceacfa1ed162f5f55235360ea26f569a
4338 Author: Lasse Collin <lasse.collin@tukaani.org>
4339 Date: 2013-07-01 14:34:11 +0300
4341 xz: Silence a warning seen with _FORTIFY_SOURCE=2.
4343 Thanks to Christian Hesse.
4345 src/xz/file_io.c | 8 +++++++-
4346 1 file changed, 7 insertions(+), 1 deletion(-)
4348 commit 1936718bb38ee394bd89836fdd4eabc0beb02443
4349 Author: Lasse Collin <lasse.collin@tukaani.org>
4350 Date: 2013-06-30 19:40:11 +0300
4352 Update NEWS for 5.0.5.
4354 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
4355 1 file changed, 52 insertions(+)
4357 commit a37ae8b5eb6093a530198f109c6f7a538c80ecf0
4358 Author: Lasse Collin <lasse.collin@tukaani.org>
4359 Date: 2013-06-30 18:02:27 +0300
4361 Man pages: Use similar syntax for synopsis as in xz.
4363 The man pages of lzmainfo, xzmore, and xzdec had similar
4364 constructs as the man page of xz had before the commit
4365 eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond
4366 didn't mention these man pages in his bug report, but
4367 it's nice to be consistent.
4369 src/lzmainfo/lzmainfo.1 | 4 ++--
4370 src/scripts/xzmore.1 | 6 +++---
4371 src/xzdec/xzdec.1 | 10 +++++-----
4372 3 files changed, 10 insertions(+), 10 deletions(-)
4374 commit cdba9ddd870ae72fd6219a125662c20ec997f86c
4375 Author: Lasse Collin <lasse.collin@tukaani.org>
4376 Date: 2013-06-29 15:59:13 +0300
4378 xz: Use non-blocking I/O for the output file.
4380 Now both reading and writing should be without
4381 race conditions with signals.
4383 They might still be signal handling issues left.
4384 Signals are blocked during many operations to avoid
4385 EINTR but it may cause problems e.g. if writing to
4386 stderr blocks when trying to display an error message.
4388 src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++--------
4389 1 file changed, 49 insertions(+), 8 deletions(-)
4391 commit e61a5c95da3fe31281d959e5e842885a8ba2b5bd
4392 Author: Lasse Collin <lasse.collin@tukaani.org>
4393 Date: 2013-06-28 23:56:17 +0300
4395 xz: Fix return value type in io_write_buf().
4397 It didn't affect the behavior of the code since -1
4398 becomes true anyway.
4400 src/xz/file_io.c | 2 +-
4401 1 file changed, 1 insertion(+), 1 deletion(-)
4403 commit 9dc319eabb34a826f4945f91c71620f14a60e9e2
4404 Author: Lasse Collin <lasse.collin@tukaani.org>
4405 Date: 2013-06-28 23:48:05 +0300
4407 xz: Use the self-pipe trick to avoid a race condition with signals.
4409 It is possible that a signal to set user_abort arrives right
4410 before a blocking system call is made. In this case the call
4411 may block until another signal arrives, while the wanted
4412 behavior is to make xz clean up and exit as soon as possible.
4414 After this commit, the race condition is avoided with the
4415 input side which already uses non-blocking I/O. The output
4416 side still uses blocking I/O and thus has the race condition.
4418 src/xz/file_io.c | 56 ++++++++++++++++++++++++++++++++++++++++++++------------
4419 src/xz/file_io.h | 8 ++++++++
4420 src/xz/signals.c | 5 +++++
4421 3 files changed, 57 insertions(+), 12 deletions(-)
4423 commit 3541bc79d0cfabc0ad155c99bfdad1289f17fec3
4424 Author: Lasse Collin <lasse.collin@tukaani.org>
4425 Date: 2013-06-28 22:51:02 +0300
4427 xz: Use non-blocking I/O for the input file.
4429 src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++----------------
4430 1 file changed, 111 insertions(+), 45 deletions(-)
4432 commit 78673a08bed5066c81e8a8e90d20e670c28ecfd5
4433 Author: Lasse Collin <lasse.collin@tukaani.org>
4434 Date: 2013-06-28 18:46:13 +0300
4436 xz: Remove an outdated NetBSD-specific comment.
4438 Nowadays errno == EFTYPE is documented in open(2).
4440 src/xz/file_io.c | 4 ----
4441 1 file changed, 4 deletions(-)
4443 commit a616fdad34b48b2932ef03fb87309dcc8b829527
4444 Author: Lasse Collin <lasse.collin@tukaani.org>
4445 Date: 2013-06-28 18:09:47 +0300
4447 xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls.
4449 POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on
4450 error and "other than -1" on success. This is how it is
4451 documented e.g. on OpenBSD too. On Linux, success with
4452 F_SETFL is always 0 (at least accorinding to fcntl(2)
4453 from man-pages 3.51).
4455 src/xz/file_io.c | 8 ++++----
4456 1 file changed, 4 insertions(+), 4 deletions(-)
4458 commit 4a08a6e4c61c65ab763ab314100a6d7a3bb89298
4459 Author: Lasse Collin <lasse.collin@tukaani.org>
4460 Date: 2013-06-28 17:36:47 +0300
4462 xz: Fix use of wrong variable in a fcntl() call.
4464 Due to a wrong variable name, when writing a sparse file
4465 to standard output, *all* file status flags were cleared
4466 (to the extent the operating system allowed it) instead of
4467 only clearing the O_APPEND flag. In practice this worked
4468 fine in the common situations on GNU/Linux, but I didn't
4469 check how it behaved elsewhere.
4471 The original flags were still restored correctly. I still
4472 changed the code to use a separate boolean variable to
4473 indicate when the flags should be restored instead of
4474 relying on a special value in stdout_flags.
4476 src/xz/file_io.c | 24 +++++++++++++-----------
4477 1 file changed, 13 insertions(+), 11 deletions(-)
4479 commit b790b435daa3351067f80a5973b647f8d55367a2
4480 Author: Lasse Collin <lasse.collin@tukaani.org>
4481 Date: 2013-06-28 14:55:37 +0300
4483 xz: Fix assertion related to posix_fadvise().
4485 Input file can be a FIFO or something else that doesn't
4486 support posix_fadvise() so don't check the return value
4487 even with an assertion. Nothing bad happens if the call
4488 to posix_fadvise() fails.
4490 src/xz/file_io.c | 10 ++--------
4491 1 file changed, 2 insertions(+), 8 deletions(-)
4493 commit 84d2da6c9dc252f441deb7626c2522202b005d4d
4494 Author: Lasse Collin <lasse.collin@tukaani.org>
4495 Date: 2013-06-26 13:30:57 +0300
4497 xz: Check the value of lzma_stream_flags.version in --list.
4499 It is a no-op for now, but if an old xz version is used
4500 together with a newer liblzma that supports something new,
4501 then this check becomes important and will stop the old xz
4502 from trying to parse files that it won't understand.
4504 src/xz/list.c | 14 ++++++++++++++
4505 1 file changed, 14 insertions(+)
4507 commit 9376f5f8f762296f2173d61af9101112c36f38c0
4508 Author: Lasse Collin <lasse.collin@tukaani.org>
4509 Date: 2013-06-26 12:17:00 +0300
4511 Build: Require Automake 1.12 and use serial-tests option.
4513 It should actually still work with Automake 1.10 if
4514 the serial-tests option is removed. Automake 1.13 started
4515 using parallel tests by default and the option to get
4516 the old behavior isn't supported before 1.12.
4518 At least for now, parallel tests don't improve anything
4519 in XZ Utils but they hide the progress output from
4522 configure.ac | 4 +++-
4523 1 file changed, 3 insertions(+), 1 deletion(-)
4525 commit b7e200d7bd0a3c7c171c13ad37d68296d6f73374
4526 Author: Lasse Collin <lasse.collin@tukaani.org>
4527 Date: 2013-06-23 18:59:13 +0300
4532 1 file changed, 1 insertion(+)
4534 commit 46540e4c10923e363741ff5aab99e79fc0ce6ee8
4535 Author: Lasse Collin <lasse.collin@tukaani.org>
4536 Date: 2013-06-23 18:57:23 +0300
4538 liblzma: Avoid a warning about a shadowed variable.
4540 On Mac OS X wait() is declared in <sys/wait.h> that
4541 we include one way or other so don't use "wait" as
4544 Thanks to Christian Kujau.
4546 src/liblzma/common/stream_encoder_mt.c | 4 ++--
4547 1 file changed, 2 insertions(+), 2 deletions(-)
4549 commit ebb501ec73cecc546c67117dd01b5e33c90bfb4a
4550 Author: Lasse Collin <lasse.collin@tukaani.org>
4551 Date: 2013-06-23 17:36:47 +0300
4553 xz: Validate Uncompressed Size from Block Header in list.c.
4555 This affects only "xz -lvv". Normal decompression with xz
4556 already detected if Block Header and Index had mismatched
4557 Uncompressed Size fields. So this just makes "xz -lvv"
4558 show such files as corrupt instead of showing the
4559 Uncompressed Size from Index.
4561 src/xz/list.c | 14 +++++++++++++-
4562 1 file changed, 13 insertions(+), 1 deletion(-)
4564 commit c09e91dd236d3cabee0fc48312b3dc8cceae41ab
4565 Author: Lasse Collin <lasse.collin@tukaani.org>
4566 Date: 2013-06-21 22:08:11 +0300
4571 1 file changed, 2 insertions(+)
4573 commit eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494
4574 Author: Lasse Collin <lasse.collin@tukaani.org>
4575 Date: 2013-06-21 22:04:45 +0300
4577 xz: Make the man page more friendly to doclifter.
4579 Thanks to Eric S. Raymond.
4581 src/xz/xz.1 | 7 ++++---
4582 1 file changed, 4 insertions(+), 3 deletions(-)
4584 commit 0c0a1947e6ad90a0a10b7a5c39f6ab99a0aa5c93
4585 Author: Lasse Collin <lasse.collin@tukaani.org>
4586 Date: 2013-06-21 21:54:59 +0300
4588 xz: A couple of man page fixes.
4590 Now the interaction of presets and custom filter chains
4591 is described correctly. Earlier it contradicted itself.
4593 Thanks to DevHC who reported these issues on IRC to me
4596 src/xz/xz.1 | 35 +++++++++++++++++++++++------------
4597 1 file changed, 23 insertions(+), 12 deletions(-)
4599 commit 2fcda89939c903106c429e109083d43d894049e0
4600 Author: Lasse Collin <lasse.collin@tukaani.org>
4601 Date: 2013-06-21 21:50:26 +0300
4603 xz: Fix interaction between preset and custom filter chains.
4605 There was somewhat illogical behavior when --extreme was
4606 specified and mixed with custom filter chains.
4608 Before this commit, "xz -9 --lzma2 -e" was equivalent
4609 to "xz --lzma2". After it is equivalent to "xz -6e"
4610 (all earlier preset options get forgotten when a custom
4611 filter chain is specified and the default preset is 6
4612 to which -e is applied). I find this less illogical.
4614 This also affects the meaning of "xz -9e --lzma2 -7".
4615 Earlier it was equivalent to "xz -7e" (the -e specified
4616 before a custom filter chain wasn't forgotten). Now it
4617 is "xz -7". Note that "xz -7e" still is the same as "xz -e7".
4619 Hopefully very few cared about this in the first place,
4620 so pretty much no one should even notice this change.
4622 Thanks to Conley Moorhous.
4624 src/xz/coder.c | 35 +++++++++++++++++++++--------------
4625 1 file changed, 21 insertions(+), 14 deletions(-)
4627 commit 97379c5ea758da3f8b0bc444d5f7fa43753ce610
4628 Author: Lasse Collin <lasse.collin@tukaani.org>
4629 Date: 2013-04-27 22:07:46 +0300
4631 Build: Use -Wvla with GCC if supported.
4633 Variable-length arrays are mandatory in C99 but optional in C11.
4634 The code doesn't currently use any VLAs and it shouldn't in the
4635 future either to stay compatible with C11 without requiring any
4636 optional C11 features.
4639 1 file changed, 1 insertion(+)
4641 commit 8957c58609d3987c58aa72b96c436cf565cc4917
4642 Author: Lasse Collin <lasse.collin@tukaani.org>
4643 Date: 2013-04-15 19:29:09 +0300
4645 xzdec: Improve the --help message.
4647 The options are now ordered in the same order as in xz's help
4650 Descriptions were added to the options that are ignored.
4651 I left them in parenthesis even if it looks a bit weird
4652 because I find it easier to spot the ignored vs. non-ignored
4653 options from the list that way.
4655 src/xzdec/xzdec.c | 10 +++++-----
4656 1 file changed, 5 insertions(+), 5 deletions(-)
4658 commit ed886e1a92534a24401d0e99c11f1dcff3b5220a
4659 Author: Lasse Collin <lasse.collin@tukaani.org>
4660 Date: 2013-04-05 19:25:40 +0300
4665 1 file changed, 2 insertions(+)
4667 commit 5019413a055ce29e660dbbf15e02443cb5a26c59
4668 Author: Jeff Bastian <jbastian@redhat.com>
4669 Date: 2013-04-03 13:59:17 +0200
4671 xzgrep: make the '-h' option to be --no-filename equivalent
4673 * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
4675 src/scripts/xzgrep.in | 2 +-
4676 1 file changed, 1 insertion(+), 1 deletion(-)
4678 commit 5ea900cb5ad862bca81316729f92357c1fc040ce
4679 Author: Lasse Collin <lasse.collin@tukaani.org>
4680 Date: 2013-03-23 22:25:15 +0200
4682 liblzma: Be less picky in lzma_alone_decoder().
4684 To avoid false positives when detecting .lzma files,
4685 rare values in dictionary size and uncompressed size fields
4686 were rejected. They will still be rejected if .lzma files
4687 are decoded with lzma_auto_decoder(), but when using
4688 lzma_alone_decoder() directly, such files will now be accepted.
4689 Hopefully this is an OK compromise.
4691 This doesn't affect xz because xz still has its own file
4692 format detection code. This does affect lzmadec though.
4693 So after this commit lzmadec will accept files that xz or
4694 xz-emulating-lzma doesn't.
4696 NOTE: lzma_alone_decoder() still won't decode all .lzma files
4697 because liblzma's LZMA decoder doesn't support lc + lp > 4.
4700 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827
4702 src/liblzma/common/alone_decoder.c | 22 ++++++++++++++--------
4703 src/liblzma/common/alone_decoder.h | 5 +++--
4704 src/liblzma/common/auto_decoder.c | 2 +-
4705 3 files changed, 18 insertions(+), 11 deletions(-)
4707 commit bb117fffa84604b6e3811b068c80db82bf7f7b05
4708 Author: Lasse Collin <lasse.collin@tukaani.org>
4709 Date: 2013-03-23 21:55:13 +0200
4711 liblzma: Use lzma_block_buffer_bound64() in threaded encoder.
4713 Now it uses lzma_block_uncomp_encode() if the data doesn't
4714 fit into the space calculated by lzma_block_buffer_bound64().
4716 src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++---------
4717 1 file changed, 50 insertions(+), 16 deletions(-)
4719 commit e572e123b55b29527e54ce5f0807f115481d78b9
4720 Author: Lasse Collin <lasse.collin@tukaani.org>
4721 Date: 2013-03-23 21:51:38 +0200
4723 liblzma: Fix another deadlock in the threaded encoder.
4725 This race condition could cause a deadlock if lzma_end() was
4726 called before finishing the encoding. This can happen with
4727 xz with debugging enabled (non-debugging version doesn't
4728 call lzma_end() before exiting).
4730 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
4731 1 file changed, 6 insertions(+), 3 deletions(-)
4733 commit b465da5988dd59ad98fda10c2e4ea13d0b9c73bc
4734 Author: Lasse Collin <lasse.collin@tukaani.org>
4735 Date: 2013-03-23 19:17:33 +0200
4737 liblzma: Add lzma_block_uncomp_encode().
4739 This also adds a new internal function
4740 lzma_block_buffer_bound64() which is similar to
4741 lzma_block_buffer_bound() but uses uint64_t instead
4744 src/liblzma/api/lzma/block.h | 18 ++++++
4745 src/liblzma/common/block_buffer_encoder.c | 94 +++++++++++++++++++++----------
4746 src/liblzma/common/block_buffer_encoder.h | 24 ++++++++
4747 src/liblzma/liblzma.map | 1 +
4748 4 files changed, 106 insertions(+), 31 deletions(-)
4750 commit 9e6dabcf22ef4679f4faaae15ebd5b137ae2fad1
4751 Author: Lasse Collin <lasse.collin@tukaani.org>
4752 Date: 2013-03-05 19:14:50 +0200
4754 Avoid unneeded use of awk in xzless.
4756 Use "read" instead of "awk" in xzless to get the version
4757 number of "less". The need for awk was introduced in
4758 the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e.
4760 Thanks to Ariel P for the patch.
4762 src/scripts/xzless.in | 3 +--
4763 1 file changed, 1 insertion(+), 2 deletions(-)
4765 commit e7b424d267a34803db8d92a3515528be2ed45abd
4766 Author: Lasse Collin <lasse.collin@tukaani.org>
4767 Date: 2012-12-14 20:13:32 +0200
4769 Make the progress indicator smooth in threaded mode.
4771 This adds lzma_get_progress() to liblzma and takes advantage
4774 lzma_get_progress() collects progress information from
4775 the thread-specific structures so that fairly accurate
4776 progress information is available to applications. Adding
4777 a new function seemed to be a better way than making the
4778 information directly available in lzma_stream (like total_in
4779 and total_out are) because collecting the information requires
4780 locking mutexes. It's waste of time to do it more often than
4781 the up to date information is actually needed by an application.
4783 src/liblzma/api/lzma/base.h | 22 +++++++++-
4784 src/liblzma/common/common.c | 16 +++++++
4785 src/liblzma/common/common.h | 6 +++
4786 src/liblzma/common/stream_encoder_mt.c | 77 +++++++++++++++++++++++++++++++---
4787 src/liblzma/liblzma.map | 1 +
4788 src/xz/message.c | 20 +++++----
4789 6 files changed, 129 insertions(+), 13 deletions(-)
4791 commit 2ebbb994e367f55f2561aa7c9e7451703c171f2f
4792 Author: Lasse Collin <lasse.collin@tukaani.org>
4793 Date: 2012-12-14 11:01:41 +0200
4795 liblzma: Fix mythread_sync for nested locking.
4797 src/common/mythread.h | 5 +++--
4798 1 file changed, 3 insertions(+), 2 deletions(-)
4800 commit 4c7e28705f6de418d19cc77324ef301f996e01ff
4801 Author: Lasse Collin <lasse.collin@tukaani.org>
4802 Date: 2012-12-13 21:05:36 +0200
4804 xz: Mention --threads in --help.
4806 Thanks to Olivier Delhomme for pointing out that this
4809 src/xz/message.c | 4 ++++
4810 1 file changed, 4 insertions(+)
4812 commit db5c1817fabf7cbb9e4087b1576eb26f0747338e
4813 Author: Jonathan Nieder <jrnieder@gmail.com>
4814 Date: 2012-11-19 00:10:10 -0800
4816 xzless: Make "less -V" parsing more robust
4818 In v4.999.9beta~30 (xzless: Support compressed standard input,
4819 2009-08-09), xzless learned to parse ‘less -V’ output to figure out
4820 whether less is new enough to handle $LESSOPEN settings starting
4821 with “|-”. That worked well for a while, but the version string from
4822 ‘less’ versions 448 (June, 2012) is misparsed, producing a warning:
4824 $ xzless /tmp/test.xz; echo $?
4825 /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
4826 integer expression expected
4829 More precisely, modern ‘less’ lists the regexp implementation along
4830 with its version number, and xzless passes the entire version number
4831 with attached parenthetical phrase as a number to "test $a -gt $b",
4832 producing the above confusing message.
4834 $ less-444 -V | head -1
4837 less 456 (no regular expressions)
4839 So relax the pattern matched --- instead of expecting "less <number>",
4840 look for a line of the form "less <number>[ (extra parenthetical)]".
4841 While at it, improve the behavior when no matching line is found ---
4842 instead of producing a cryptic message, we can fall back on a LESSPIPE
4843 setting that is supported by all versions of ‘less’.
4845 The implementation uses "awk" for simplicity. Hopefully that’s
4848 Reported-by: Jörg-Volker Peetz <jvpeetz@web.de>
4849 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
4851 src/scripts/xzless.in | 3 ++-
4852 1 file changed, 2 insertions(+), 1 deletion(-)
4854 commit 65536214a31ecd33b6b03b68a351fb597d3703d6
4855 Author: Lasse Collin <lasse.collin@tukaani.org>
4856 Date: 2012-10-03 15:54:24 +0300
4858 xz: Fix the note about --rsyncable on the man page.
4860 src/xz/xz.1 | 17 +++++++++--------
4861 1 file changed, 9 insertions(+), 8 deletions(-)
4863 commit 3d93b6354927247a1569caf22ad27b07e97ee904
4864 Author: Lasse Collin <lasse.collin@tukaani.org>
4865 Date: 2012-09-28 20:11:09 +0300
4867 xz: Improve handling of failed realloc in xrealloc.
4869 Thanks to Jim Meyering.
4871 src/xz/util.c | 14 ++++++++++++--
4872 1 file changed, 12 insertions(+), 2 deletions(-)
4874 commit ab225620664e235637833be2329935f9d290ba80
4875 Author: Lasse Collin <lasse.collin@tukaani.org>
4876 Date: 2012-08-24 16:27:31 +0300
4878 A few typo fixes to comments and the xz man page.
4880 Thanks to Jim Meyering.
4883 src/liblzma/check/sha256.c | 1 -
4884 src/xz/xz.1 | 4 ++--
4885 3 files changed, 3 insertions(+), 4 deletions(-)
4887 commit f3c1ec69d910175ffd431fd82968dd35cec806ed
4888 Author: Lasse Collin <lasse.collin@tukaani.org>
4889 Date: 2012-08-13 21:40:09 +0300
4891 xz: Add a warning to --help about alpha and beta versions.
4893 src/xz/message.c | 5 +++++
4894 1 file changed, 5 insertions(+)
4896 commit d8eaf9d8278c23c2cf2b7ca5562d4de570d3b5db
4897 Author: Lasse Collin <lasse.collin@tukaani.org>
4898 Date: 2012-08-02 17:13:30 +0300
4900 Build: Bump gettext version requirement to 0.18.
4902 Otherwise too old version of m4/lib-link.m4 gets included
4903 when autoreconf -fi is run.
4906 1 file changed, 1 insertion(+), 1 deletion(-)
4908 commit 96e08902b09f0f304d4ff80c6e83ef7fff883f34
4909 Author: Lasse Collin <lasse.collin@tukaani.org>
4910 Date: 2012-07-17 18:29:08 +0300
4915 1 file changed, 1 insertion(+)
4917 commit 3778db1be53e61ff285c573af5ee468803008456
4918 Author: Lasse Collin <lasse.collin@tukaani.org>
4919 Date: 2012-07-17 18:19:59 +0300
4921 liblzma: Make the use of lzma_allocator const-correct.
4923 There is a tiny risk of causing breakage: If an application
4924 assigns lzma_stream.allocator to a non-const pointer, such
4925 code won't compile anymore. I don't know why anyone would do
4926 such a thing though, so in practice this shouldn't cause trouble.
4928 Thanks to Jan Kratochvil for the patch.
4930 src/liblzma/api/lzma/base.h | 4 +++-
4931 src/liblzma/api/lzma/block.h | 6 ++---
4932 src/liblzma/api/lzma/container.h | 9 +++++---
4933 src/liblzma/api/lzma/filter.h | 13 ++++++-----
4934 src/liblzma/api/lzma/index.h | 16 ++++++-------
4935 src/liblzma/api/lzma/index_hash.h | 4 ++--
4936 src/liblzma/common/alone_decoder.c | 6 ++---
4937 src/liblzma/common/alone_decoder.h | 2 +-
4938 src/liblzma/common/alone_encoder.c | 8 +++----
4939 src/liblzma/common/auto_decoder.c | 6 ++---
4940 src/liblzma/common/block_buffer_decoder.c | 2 +-
4941 src/liblzma/common/block_buffer_encoder.c | 4 ++--
4942 src/liblzma/common/block_decoder.c | 6 ++---
4943 src/liblzma/common/block_decoder.h | 2 +-
4944 src/liblzma/common/block_encoder.c | 8 +++----
4945 src/liblzma/common/block_encoder.h | 2 +-
4946 src/liblzma/common/block_header_decoder.c | 4 ++--
4947 src/liblzma/common/common.c | 10 ++++-----
4948 src/liblzma/common/common.h | 20 +++++++++--------
4949 src/liblzma/common/easy_buffer_encoder.c | 4 ++--
4950 src/liblzma/common/filter_buffer_decoder.c | 3 ++-
4951 src/liblzma/common/filter_buffer_encoder.c | 7 +++---
4952 src/liblzma/common/filter_common.c | 4 ++--
4953 src/liblzma/common/filter_common.h | 2 +-
4954 src/liblzma/common/filter_decoder.c | 7 +++---
4955 src/liblzma/common/filter_decoder.h | 2 +-
4956 src/liblzma/common/filter_encoder.c | 2 +-
4957 src/liblzma/common/filter_encoder.h | 2 +-
4958 src/liblzma/common/filter_flags_decoder.c | 2 +-
4959 src/liblzma/common/index.c | 26 ++++++++++-----------
4960 src/liblzma/common/index_decoder.c | 12 +++++-----
4961 src/liblzma/common/index_encoder.c | 6 ++---
4962 src/liblzma/common/index_encoder.h | 2 +-
4963 src/liblzma/common/index_hash.c | 6 +++--
4964 src/liblzma/common/outqueue.c | 4 ++--
4965 src/liblzma/common/outqueue.h | 5 +++--
4966 src/liblzma/common/stream_buffer_decoder.c | 2 +-
4967 src/liblzma/common/stream_buffer_encoder.c | 3 ++-
4968 src/liblzma/common/stream_decoder.c | 9 ++++----
4969 src/liblzma/common/stream_decoder.h | 5 +++--
4970 src/liblzma/common/stream_encoder.c | 10 ++++-----
4971 src/liblzma/common/stream_encoder_mt.c | 16 ++++++-------
4972 src/liblzma/delta/delta_common.c | 4 ++--
4973 src/liblzma/delta/delta_decoder.c | 6 ++---
4974 src/liblzma/delta/delta_decoder.h | 5 +++--
4975 src/liblzma/delta/delta_encoder.c | 6 ++---
4976 src/liblzma/delta/delta_encoder.h | 3 ++-
4977 src/liblzma/delta/delta_private.h | 2 +-
4978 src/liblzma/lz/lz_decoder.c | 8 +++----
4979 src/liblzma/lz/lz_decoder.h | 7 +++---
4980 src/liblzma/lz/lz_encoder.c | 19 ++++++++--------
4981 src/liblzma/lz/lz_encoder.h | 6 ++---
4982 src/liblzma/lzma/lzma2_decoder.c | 8 +++----
4983 src/liblzma/lzma/lzma2_decoder.h | 5 +++--
4984 src/liblzma/lzma/lzma2_encoder.c | 6 ++---
4985 src/liblzma/lzma/lzma2_encoder.h | 2 +-
4986 src/liblzma/lzma/lzma_decoder.c | 8 +++----
4987 src/liblzma/lzma/lzma_decoder.h | 7 +++---
4988 src/liblzma/lzma/lzma_encoder.c | 7 +++---
4989 src/liblzma/lzma/lzma_encoder.h | 5 +++--
4990 src/liblzma/simple/arm.c | 8 ++++---
4991 src/liblzma/simple/armthumb.c | 8 ++++---
4992 src/liblzma/simple/ia64.c | 8 ++++---
4993 src/liblzma/simple/powerpc.c | 8 ++++---
4994 src/liblzma/simple/simple_coder.c | 10 ++++-----
4995 src/liblzma/simple/simple_coder.h | 36 ++++++++++++++++++++----------
4996 src/liblzma/simple/simple_decoder.c | 2 +-
4997 src/liblzma/simple/simple_decoder.h | 2 +-
4998 src/liblzma/simple/simple_private.h | 3 ++-
4999 src/liblzma/simple/sparc.c | 8 ++++---
5000 src/liblzma/simple/x86.c | 8 ++++---
5001 71 files changed, 269 insertions(+), 219 deletions(-)
5003 commit d625c7cf824fd3b61c6da84f56179e94917ff603
5004 Author: Lasse Collin <lasse.collin@tukaani.org>
5005 Date: 2012-07-05 07:36:28 +0300
5007 Tests: Remove tests/test_block.c that had gotten committed accidentally.
5009 tests/test_block.c | 52 ----------------------------------------------------
5010 1 file changed, 52 deletions(-)
5012 commit 0b09d266cce72bc4841933b171e79551e488927c
5013 Author: Lasse Collin <lasse.collin@tukaani.org>
5014 Date: 2012-07-05 07:33:35 +0300
5016 Build: Include macosx/build.sh in the distribution.
5018 It has been in the Git repository since 2010 but probably
5019 few people have seen it since it hasn't been included in
5020 the release tarballs. :-(
5023 1 file changed, 1 insertion(+)
5025 commit d6e0b23d4613b9f417893dd96cc168c8005ece3d
5026 Author: Lasse Collin <lasse.collin@tukaani.org>
5027 Date: 2012-07-05 07:28:53 +0300
5029 Build: Include validate_map.sh in the distribution.
5031 It's required by "make mydist".
5033 Fix also the location of EXTRA_DIST+= so that those files
5034 get distributed also if symbol versioning isn't enabled.
5036 src/liblzma/Makefile.am | 2 +-
5037 1 file changed, 1 insertion(+), 1 deletion(-)
5039 commit 19de545d86097c3954d69ab5d12820387f6a09bc
5040 Author: Lasse Collin <lasse.collin@tukaani.org>
5041 Date: 2012-07-05 07:24:45 +0300
5043 Docs: Fix the name LZMA Utils -> XZ Utils in debug/README.
5046 1 file changed, 1 insertion(+), 1 deletion(-)
5048 commit 672eccf57c31a40dfb956b7662db06d43e18618e
5049 Author: Lasse Collin <lasse.collin@tukaani.org>
5050 Date: 2012-07-05 07:23:17 +0300
5052 Include debug/translation.bash in the distribution.
5054 Also fix the script name mentioned in README.
5057 debug/Makefile.am | 3 +++
5058 2 files changed, 5 insertions(+), 2 deletions(-)
5060 commit cafb523adac1caf305e70a04bc37f25602bf990c
5061 Author: Lasse Collin <lasse.collin@tukaani.org>
5062 Date: 2012-07-04 22:31:58 +0300
5064 xz: Document --block-list better.
5066 Thanks to Jonathan Nieder.
5068 src/xz/xz.1 | 8 +++++++-
5069 1 file changed, 7 insertions(+), 1 deletion(-)
5071 commit c7ff218528bc8f7c65e7ef73c6515777346c6794
5072 Author: Lasse Collin <lasse.collin@tukaani.org>
5073 Date: 2012-07-04 20:01:49 +0300
5075 Bump the version number to 5.1.2alpha.
5077 src/liblzma/api/lzma/version.h | 2 +-
5078 src/liblzma/liblzma.map | 2 +-
5079 2 files changed, 2 insertions(+), 2 deletions(-)
5081 commit 8f3c1d886f93e6478ad509ff52102b2ce7faa999
5082 Author: Lasse Collin <lasse.collin@tukaani.org>
5083 Date: 2012-07-04 20:01:19 +0300
5085 Update NEWS for 5.1.2alpha.
5087 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
5088 1 file changed, 41 insertions(+)
5090 commit 0d5fa05466e580fbc458820f87013ae7644e20e5
5091 Author: Lasse Collin <lasse.collin@tukaani.org>
5092 Date: 2012-07-04 19:58:23 +0300
5094 xz: Fix the version number printed by xz -lvv.
5096 The decoder bug was fixed in 5.0.2 instead of 5.0.3.
5098 src/xz/list.c | 6 +++---
5099 1 file changed, 3 insertions(+), 3 deletions(-)
5101 commit df11317985a4165731dde12bb0f0028da0e7b77f
5102 Author: Lasse Collin <lasse.collin@tukaani.org>
5103 Date: 2012-07-04 17:11:31 +0300
5105 Build: Add a comment to configure.ac about symbol versioning.
5107 configure.ac | 4 ++++
5108 1 file changed, 4 insertions(+)
5110 commit bd9cc179e8be3ef515201d3ed9c7dd79ae88869d
5111 Author: Lasse Collin <lasse.collin@tukaani.org>
5112 Date: 2012-07-04 17:06:49 +0300
5116 TODO | 12 ++++++++++--
5117 1 file changed, 10 insertions(+), 2 deletions(-)
5119 commit 4a238dd9b22f462cac5e199828bf1beb0df05884
5120 Author: Lasse Collin <lasse.collin@tukaani.org>
5121 Date: 2012-07-04 17:05:46 +0300
5123 Document --enable-symbol-versions in INSTALL.
5126 1 file changed, 5 insertions(+)
5128 commit 88ccf47205d7f3aa314d358c72ef214f10f68b43
5129 Author: Lasse Collin <lasse.collin@tukaani.org>
5130 Date: 2012-07-03 21:16:39 +0300
5132 xz: Add incomplete support for --block-list.
5134 It's broken with threads and when also --block-size is used.
5136 src/xz/args.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5138 src/xz/coder.c | 48 ++++++++++++++++++++++++++++------
5139 src/xz/coder.h | 4 +++
5141 src/xz/message.c | 6 +++++
5142 src/xz/xz.1 | 23 +++++++++++++++--
5143 7 files changed, 151 insertions(+), 10 deletions(-)
5145 commit 972179cdcdf5d8949c48ee31737d87d3050b44af
5146 Author: Lasse Collin <lasse.collin@tukaani.org>
5147 Date: 2012-07-01 18:44:33 +0300
5149 xz: Update the man page about the new field in --robot -lvv.
5151 src/xz/xz.1 | 18 +++++++++++++++++-
5152 1 file changed, 17 insertions(+), 1 deletion(-)
5154 commit 1403707fc64a70976aebe66f8d9a9bd12f73a2c5
5155 Author: Lasse Collin <lasse.collin@tukaani.org>
5156 Date: 2012-06-28 10:47:49 +0300
5158 liblzma: Check that the first byte of range encoded data is 0x00.
5160 It is just to be more pedantic and thus perhaps catch broken
5161 files slightly earlier.
5163 src/liblzma/lzma/lzma_decoder.c | 8 ++++++--
5164 src/liblzma/rangecoder/range_decoder.h | 12 +++++++++---
5165 2 files changed, 15 insertions(+), 5 deletions(-)
5167 commit eccd8017ffe2c5de473222c4963ec53c62f7fda2
5168 Author: Lasse Collin <lasse.collin@tukaani.org>
5169 Date: 2012-06-22 19:00:23 +0300
5171 Update NEWS from 5.0.4.
5173 NEWS | 37 +++++++++++++++++++++++++++++++++++++
5174 1 file changed, 37 insertions(+)
5176 commit 2e6754eac26a431e8d340c28906f63bcd1e177e8
5177 Author: Lasse Collin <lasse.collin@tukaani.org>
5178 Date: 2012-06-22 14:34:03 +0300
5180 xz: Update man page date to match the latest update.
5183 1 file changed, 1 insertion(+), 1 deletion(-)
5185 commit b3235a0b1af45d5e1244cbe3191516966c076fa0
5186 Author: Lasse Collin <lasse.collin@tukaani.org>
5187 Date: 2012-06-18 21:27:47 +0300
5189 Docs: Language fix to 01_compress_easy.c.
5191 Thanks to Jonathan Nieder.
5193 doc/examples/01_compress_easy.c | 2 +-
5194 1 file changed, 1 insertion(+), 1 deletion(-)
5196 commit f1675f765fe228cb5a5f904f853445a03e33cfe9
5197 Author: Lasse Collin <lasse.collin@tukaani.org>
5198 Date: 2012-06-14 20:15:30 +0300
5200 Fix the top-level Makefile.am for the new example programs.
5202 Makefile.am | 12 ++++++++++--
5203 1 file changed, 10 insertions(+), 2 deletions(-)
5205 commit 3a0c5378abefaf86aa39a62a7c9682bdb21568a1
5206 Author: Lasse Collin <lasse.collin@tukaani.org>
5207 Date: 2012-06-14 10:52:33 +0300
5209 Docs: Add new example programs.
5211 These have more comments than the old examples and
5212 human-readable error messages. More tutorial-like examples
5213 are needed but these are a start.
5215 doc/examples/00_README.txt | 27 ++++
5216 doc/examples/01_compress_easy.c | 297 ++++++++++++++++++++++++++++++++++++++
5217 doc/examples/02_decompress.c | 287 ++++++++++++++++++++++++++++++++++++
5218 doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++
5219 doc/examples/Makefile | 23 +++
5220 5 files changed, 827 insertions(+)
5222 commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d
5223 Author: Lasse Collin <lasse.collin@tukaani.org>
5224 Date: 2012-06-14 10:33:27 +0300
5226 Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old.
5228 It is good to keep these around to so that if someone has
5229 copied the decompressor bug from xz_pipe_decomp.c he has
5230 an example how to easily fix it.
5232 doc/{examples => examples_old}/xz_pipe_comp.c | 0
5233 doc/{examples => examples_old}/xz_pipe_decomp.c | 0
5234 2 files changed, 0 insertions(+), 0 deletions(-)
5236 commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292
5237 Author: Lasse Collin <lasse.collin@tukaani.org>
5238 Date: 2012-06-14 10:33:01 +0300
5240 Docs: Fix a bug in xz_pipe_decomp.c example program.
5242 doc/examples/xz_pipe_decomp.c | 10 +++++++++-
5243 1 file changed, 9 insertions(+), 1 deletion(-)
5245 commit 4bd1a3bd5fdf4870b2f96dd0b8a21657c8a58ad8
5246 Author: Lasse Collin <lasse.collin@tukaani.org>
5247 Date: 2012-05-30 23:14:33 +0300
5249 Translations: Update the French translation.
5251 Thanks to Adrien Nader.
5253 po/fr.po | 148 ++++++++++++++++++++++++++++++++++-----------------------------
5254 1 file changed, 79 insertions(+), 69 deletions(-)
5256 commit d2e836f2f3a87df6fe6bb0589b037db51205d910
5257 Author: Lasse Collin <lasse.collin@tukaani.org>
5258 Date: 2012-05-29 23:42:37 +0300
5260 Translations: Update the German translation.
5262 The previous only included the new strings in v5.0.
5264 po/de.po | 229 +++++++++++++++++++++++++++++++++++++--------------------------
5265 1 file changed, 133 insertions(+), 96 deletions(-)
5267 commit c9a16151577ba459afd6e3528df23bc0ddb95171
5268 Author: Lasse Collin <lasse.collin@tukaani.org>
5269 Date: 2012-05-29 22:26:27 +0300
5271 Translations: Update the German translation.
5273 po/de.po | 169 ++++++++++++++++++++++++++++++++++-----------------------------
5274 1 file changed, 91 insertions(+), 78 deletions(-)
5276 commit 1530a74fd48f8493372edad137a24541efe24713
5277 Author: Lasse Collin <lasse.collin@tukaani.org>
5278 Date: 2012-05-29 22:14:21 +0300
5280 Translations: Update Polish translation.
5282 po/pl.po | 283 +++++++++++++++++++++++++++++++++++++--------------------------
5283 1 file changed, 165 insertions(+), 118 deletions(-)
5285 commit d8db706acb8316f9861abd432cfbe001dd6d0c5c
5286 Author: Lasse Collin <lasse.collin@tukaani.org>
5287 Date: 2012-05-28 20:42:11 +0300
5289 liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.
5291 lzma_code() could incorrectly return LZMA_BUF_ERROR if
5292 all of the following was true:
5294 - The caller knows how many bytes of output to expect
5295 and only provides that much output space.
5297 - When the last output bytes are decoded, the
5298 caller-provided input buffer ends right before
5299 the LZMA2 end of payload marker. So LZMA2 won't
5300 provide more output anymore, but it won't know it
5301 yet and thus won't return LZMA_STREAM_END yet.
5303 - A BCJ filter is in use and it hasn't left any
5304 unfiltered bytes in the temp buffer. This can happen
5305 with any BCJ filter, but in practice it's more likely
5306 with filters other than the x86 BCJ.
5308 Another situation where the bug can be triggered happens
5309 if the uncompressed size is zero bytes and no output space
5310 is provided. In this case the decompression can fail even
5311 if the whole input file is given to lzma_code().
5313 A similar bug was fixed in XZ Embedded on 2011-09-19.
5315 src/liblzma/simple/simple_coder.c | 2 +-
5316 tests/Makefile.am | 4 +-
5317 tests/test_bcj_exact_size.c | 112 ++++++++++++++++++++++++++++++++++++++
5318 3 files changed, 116 insertions(+), 2 deletions(-)
5320 commit 3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda
5321 Author: Lasse Collin <lasse.collin@tukaani.org>
5322 Date: 2012-05-28 15:38:32 +0300
5327 1 file changed, 1 insertion(+)
5329 commit 7769ea051d739a38a1640fd448cf5eb83cb119c6
5330 Author: Lasse Collin <lasse.collin@tukaani.org>
5331 Date: 2012-05-28 15:37:43 +0300
5333 xz: Don't show a huge number in -vv when memory limit is disabled.
5335 src/xz/message.c | 12 +++++++++++-
5336 1 file changed, 11 insertions(+), 1 deletion(-)
5338 commit ec921105725e4d3ef0a683dd83eee6f24ab60ccd
5339 Author: Lasse Collin <lasse.collin@tukaani.org>
5340 Date: 2012-05-27 22:30:17 +0300
5342 xz: Document the "summary" lines of --robot -lvv.
5344 This documents only the columns that are in v5.0.
5345 The new columns added in the master branch aren't
5346 necessarily stable yet.
5348 src/xz/xz.1 | 19 +++++++++++++++++++
5349 1 file changed, 19 insertions(+)
5351 commit 27d24eb0a9f6eed96d6a4594c2b0bf7a91d29f9a
5352 Author: Lasse Collin <lasse.collin@tukaani.org>
5353 Date: 2012-05-27 21:53:20 +0300
5355 xz: Fix output of verbose --robot --list modes.
5357 It printed the filename in "filename (x/y)" format
5358 which it obviously shouldn't do in robot mode.
5360 src/xz/message.c | 2 +-
5361 1 file changed, 1 insertion(+), 1 deletion(-)
5363 commit ab25b82a91754d9388c89abddf806424671d9431
5364 Author: Lasse Collin <lasse.collin@tukaani.org>
5365 Date: 2012-05-24 18:33:54 +0300
5367 Build: Upgrade m4/acx_pthread.m4 to the latest version.
5369 m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++---------------------
5370 1 file changed, 62 insertions(+), 36 deletions(-)
5372 commit d05d6d65c41a4bc83f162fa3d67c5d84e8751634
5373 Author: Lasse Collin <lasse.collin@tukaani.org>
5374 Date: 2012-05-10 21:15:17 +0300
5379 1 file changed, 1 insertion(+)
5381 commit e077391982f9f28dbfe542bba8800e7c5b916666
5382 Author: Lasse Collin <lasse.collin@tukaani.org>
5383 Date: 2012-05-10 21:14:16 +0300
5385 Docs: Cleanup line wrapping a bit.
5387 README | 12 ++++++------
5388 doc/history.txt | 49 +++++++++++++++++++++++++------------------------
5389 2 files changed, 31 insertions(+), 30 deletions(-)
5391 commit fc39849c350225c6a1cd7f6e6adff1020521eabc
5392 Author: Benno Schulenberg <bensberg@justemail.net>
5393 Date: 2012-03-13 22:04:04 +0100
5395 Fix a few typos and add some missing articles in some documents.
5397 Also hyphenate several compound adjectives.
5399 Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
5402 README | 42 ++++++++++++++++++++---------------------
5403 doc/faq.txt | 24 ++++++++++++------------
5404 doc/history.txt | 58 ++++++++++++++++++++++++++++-----------------------------
5405 4 files changed, 65 insertions(+), 65 deletions(-)
5407 commit 29fa0566d5df199cb9acb2d17bf7eea61acc7fa1
5408 Author: Lasse Collin <lasse.collin@tukaani.org>
5409 Date: 2012-04-29 11:51:25 +0300
5411 Windows: Update notes about static linking with MSVC.
5413 windows/README-Windows.txt | 13 +++++++++----
5414 1 file changed, 9 insertions(+), 4 deletions(-)
5416 commit aac1b31ea4e66cf5a7a8c116bdaa15aa45e6c56e
5417 Author: Lasse Collin <lasse.collin@tukaani.org>
5418 Date: 2012-04-19 15:25:26 +0300
5420 liblzma: Remove outdated comments.
5422 src/liblzma/simple/simple_coder.c | 3 ---
5423 src/liblzma/simple/simple_private.h | 3 +--
5424 2 files changed, 1 insertion(+), 5 deletions(-)
5426 commit df14a46013bea70c0bd35be7821b0b9108f97de7
5427 Author: Lasse Collin <lasse.collin@tukaani.org>
5428 Date: 2012-04-19 14:17:52 +0300
5430 DOS: Link against DJGPP's libemu to support FPU emulation.
5432 This way xz should work on 386SX and 486SX. Floating point
5433 only is needed for verbose output in xz.
5436 1 file changed, 1 insertion(+), 1 deletion(-)
5438 commit 03ed742a3a4931bb5c821357832083b26f577b13
5439 Author: Lasse Collin <lasse.collin@tukaani.org>
5440 Date: 2012-04-19 14:02:25 +0300
5442 liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed.
5444 src/liblzma/liblzma.pc.in | 2 +-
5445 1 file changed, 1 insertion(+), 1 deletion(-)
5447 commit 8c5b13ad59df70f49429bfdfd6ac120b8f892fda
5448 Author: Lasse Collin <lasse.collin@tukaani.org>
5449 Date: 2012-04-19 13:58:55 +0300
5451 Docs: Update MINIX 3 information in INSTALL.
5453 INSTALL | 8 +++++---
5454 1 file changed, 5 insertions(+), 3 deletions(-)
5456 commit c7376fc415a1566f38b2de4b516a17013d516a8b
5457 Author: Lasse Collin <lasse.collin@tukaani.org>
5458 Date: 2012-02-22 14:23:13 +0200
5463 1 file changed, 1 insertion(+)
5465 commit cff070aba6281ba743d29a62b8c0c66e5da4b2a6
5466 Author: Lasse Collin <lasse.collin@tukaani.org>
5467 Date: 2012-02-22 14:02:34 +0200
5469 Fix exit status of xzgrep when grepping binary files.
5471 When grepping binary files, grep may exit before it has
5472 read all the input. In this case, gzip -q returns 2 (eating
5473 SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status
5474 (e.g. 141). This causes wrong exit status when grepping
5475 xz- or bzip2-compressed binary files.
5477 The fix checks for the special exit status that indicates SIGPIPE.
5478 It uses kill -l which should be supported everywhere since it
5479 is in both SUSv2 (1997) and POSIX.1-2008.
5481 Thanks to James Buren for the bug report.
5483 src/scripts/xzgrep.in | 3 ++-
5484 1 file changed, 2 insertions(+), 1 deletion(-)
5486 commit 41cafb2bf9beea915710ee68f05fe929cd17759c
5487 Author: Lasse Collin <lasse.collin@tukaani.org>
5488 Date: 2012-02-22 12:08:43 +0200
5493 1 file changed, 1 insertion(+)
5495 commit 2dcea03712fa881930d69ec9eff70855c3d126d9
5496 Author: Lasse Collin <lasse.collin@tukaani.org>
5497 Date: 2012-02-22 12:00:16 +0200
5499 Fix compiling with IBM XL C on AIX.
5501 INSTALL | 36 ++++++++++++++++++++++--------------
5502 configure.ac | 6 +++++-
5503 2 files changed, 27 insertions(+), 15 deletions(-)
5505 commit 7db6bdf4abcf524115be2cf5659ed540cef074c5
5506 Author: Lasse Collin <lasse.collin@tukaani.org>
5507 Date: 2012-01-10 17:13:03 +0200
5509 Tests: Fix a compiler warning with _FORTIFY_SOURCE.
5512 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385
5514 tests/create_compress_files.c | 3 ++-
5515 1 file changed, 2 insertions(+), 1 deletion(-)
5517 commit 694952d545b6cf056547893ced69486eff9ece55
5518 Author: Lasse Collin <lasse.collin@tukaani.org>
5519 Date: 2011-12-19 21:21:29 +0200
5521 Docs: Explain the stable releases better in README.
5524 1 file changed, 5 insertions(+), 1 deletion(-)
5526 commit 418fe668b3c53a9a20020b6cc652aaf25c734b29
5527 Author: Lasse Collin <lasse.collin@tukaani.org>
5528 Date: 2011-11-07 13:07:52 +0200
5530 xz: Show minimum required XZ Utils version in xz -lvv.
5532 Man page wasn't updated yet.
5534 src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
5535 1 file changed, 57 insertions(+), 6 deletions(-)
5537 commit 7081d82c37326bac97184e338345fa1c327e3580
5538 Author: Lasse Collin <lasse.collin@tukaani.org>
5539 Date: 2011-11-04 17:57:16 +0200
5541 xz: Fix a typo in a comment.
5543 Thanks to Bela Lubkin.
5545 src/xz/args.c | 2 +-
5546 1 file changed, 1 insertion(+), 1 deletion(-)
5548 commit 232fe7cd70ad258d6a37f17e860e0f1b1891eeb5
5549 Author: Lasse Collin <lasse.collin@tukaani.org>
5550 Date: 2011-11-03 17:08:02 +0200
5555 1 file changed, 1 insertion(+)
5557 commit 74d2bae4d3449c68453b0473dd3430ce91fd90c1
5558 Author: Lasse Collin <lasse.collin@tukaani.org>
5559 Date: 2011-11-03 17:07:22 +0200
5561 xz: Fix xz on EBCDIC systems.
5563 Thanks to Chris Donawa.
5565 src/xz/coder.c | 5 ++++-
5566 1 file changed, 4 insertions(+), 1 deletion(-)
5568 commit 4ac4923f47cc0ef97dd9ca5cfcc44fc53eeab34a
5569 Author: Lasse Collin <lasse.collin@tukaani.org>
5570 Date: 2011-10-23 17:09:10 +0300
5575 1 file changed, 1 insertion(+)
5577 commit ab50ae3ef40c81e5bf613905ca3fd636548b75e7
5578 Author: Lasse Collin <lasse.collin@tukaani.org>
5579 Date: 2011-10-23 17:08:14 +0300
5581 liblzma: Fix invalid free() in the threaded encoder.
5583 It was triggered if initialization failed e.g. due to
5584 running out of memory.
5586 Thanks to Arkadiusz Miskiewicz.
5588 src/liblzma/common/outqueue.c | 4 ++++
5589 1 file changed, 4 insertions(+)
5591 commit 6b620a0f0813d28c3c544b4ff8cb595b38a6e908
5592 Author: Lasse Collin <lasse.collin@tukaani.org>
5593 Date: 2011-10-23 17:05:55 +0300
5595 liblzma: Fix a deadlock in the threaded encoder.
5597 It was triggered when reinitializing the encoder,
5598 e.g. when encoding two files.
5600 src/liblzma/common/stream_encoder_mt.c | 4 +++-
5601 1 file changed, 3 insertions(+), 1 deletion(-)
5603 commit bd52cf150ecd51e3ab63a9cc1a3cff6a77500178
5604 Author: Lasse Collin <lasse.collin@tukaani.org>
5605 Date: 2011-09-06 12:03:41 +0300
5607 Build: Fix "make check" on Windows.
5609 tests/Makefile.am | 7 +++++--
5610 windows/build.bash | 2 ++
5611 2 files changed, 7 insertions(+), 2 deletions(-)
5613 commit 5c5b2256969ac473001b7d67615ed3bd0a54cc82
5614 Author: Lasse Collin <lasse.collin@tukaani.org>
5615 Date: 2011-08-09 21:19:13 +0300
5620 1 file changed, 2 insertions(+)
5622 commit 5b1e1f10741af9e4bbe4cfc3261fb7c7b04f7809
5623 Author: Lasse Collin <lasse.collin@tukaani.org>
5624 Date: 2011-08-09 21:16:44 +0300
5626 Workaround unusual SIZE_MAX on SCO OpenServer.
5628 src/common/sysdefs.h | 9 ++++++---
5629 1 file changed, 6 insertions(+), 3 deletions(-)
5631 commit e9ed88126eee86e2511fa42681a5c7104820cf0a
5632 Author: Lasse Collin <lasse.collin@tukaani.org>
5633 Date: 2011-08-06 20:37:28 +0300
5635 Run the scripts with the correct shell in test_scripts.sh.
5637 The scripts are now made executable in the build tree.
5638 This way the scripts can be run like programs in
5639 test_scripts.sh. Previously test_scripts.sh always
5640 used sh but it's not correct if @POSIX_SHELL@ is set
5641 to something else by configure.
5643 Thanks to Jonathan Nieder for the patch.
5645 configure.ac | 8 ++++----
5646 tests/test_scripts.sh | 8 ++++----
5647 2 files changed, 8 insertions(+), 8 deletions(-)
5649 commit 1c673e5681720491a74fc4b2992e075f47302c22
5650 Author: Lasse Collin <lasse.collin@tukaani.org>
5651 Date: 2011-07-31 11:01:47 +0300
5653 Fix exit status of "xzdiff foo.xz bar.xz".
5655 xzdiff was clobbering the exit status from diff in a case
5656 statement used to analyze the exit statuses from "xz" when
5657 its operands were two compressed files. Save and restore
5658 diff's exit status to fix this.
5660 The bug is inherited from zdiff in GNU gzip and was fixed
5661 there on 2009-10-09.
5663 Thanks to Jonathan Nieder for the patch and
5664 to Peter Pallinger for reporting the bug.
5666 src/scripts/xzdiff.in | 2 ++
5667 tests/Makefile.am | 4 +++-
5668 tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
5669 3 files changed, 59 insertions(+), 1 deletion(-)
5671 commit 324cde7a864f4506c32ae7846d688c359a83fe65
5672 Author: Lasse Collin <lasse.collin@tukaani.org>
5673 Date: 2011-06-16 12:15:29 +0300
5675 liblzma: Remove unneeded semicolon.
5677 src/liblzma/lz/lz_encoder_hash.h | 2 +-
5678 1 file changed, 1 insertion(+), 1 deletion(-)
5680 commit 492c86345551a51a29bf18e55fe55a5e86f169ce
5681 Author: Lasse Collin <lasse.collin@tukaani.org>
5682 Date: 2011-05-28 19:24:56 +0300
5684 Build: Make configure print if symbol versioning is enabled or not.
5687 1 file changed, 2 insertions(+)
5689 commit fc4d4436969bd4d71b704d400a165875e596034a
5690 Author: Lasse Collin <lasse.collin@tukaani.org>
5691 Date: 2011-05-28 16:43:26 +0300
5693 Don't call close(-1) in tuklib_open_stdxxx() on error.
5695 Thanks to Jim Meyering.
5697 src/common/tuklib_open_stdxxx.c | 4 +++-
5698 1 file changed, 3 insertions(+), 1 deletion(-)
5700 commit bd35d903a04c4d388adb4065b0fa271302380895
5701 Author: Lasse Collin <lasse.collin@tukaani.org>
5702 Date: 2011-05-28 15:55:39 +0300
5704 liblzma: Use symbol versioning.
5706 Symbol versioning is enabled by default on GNU/Linux,
5707 other GNU-based systems, and FreeBSD.
5709 I'm not sure how stable this is, so it may need
5710 backward-incompatible changes before the next release.
5712 The idea is that alpha and beta symbols are considered
5713 unstable and require recompiling the applications that
5714 use those symbols. Once a symbol is stable, it may get
5715 extended with new features in ways that don't break
5716 compatibility with older ABI & API.
5718 The mydist target runs validate_map.sh which should
5719 catch some probable problems in liblzma.map. Otherwise
5720 I would forget to update the map file for new releases.
5723 configure.ac | 21 +++++++++
5724 src/liblzma/Makefile.am | 6 +++
5725 src/liblzma/liblzma.map | 105 ++++++++++++++++++++++++++++++++++++++++++++
5726 src/liblzma/validate_map.sh | 68 ++++++++++++++++++++++++++++
5727 5 files changed, 201 insertions(+)
5729 commit afbb244362c9426a37ce4eb9d54aab768da3adad
5730 Author: Lasse Collin <lasse.collin@tukaani.org>
5731 Date: 2011-05-28 09:46:46 +0300
5733 Translations: Update the Italian translation.
5735 Thanks to Milo Casagrande.
5737 po/it.po | 365 +++++++++++++++++++++++++++++++++++++--------------------------
5738 1 file changed, 216 insertions(+), 149 deletions(-)
5740 commit 79bef85e0543c0c3723281c3c817616c6cec343b
5741 Author: Lasse Collin <lasse.collin@tukaani.org>
5742 Date: 2011-05-28 08:46:04 +0300
5744 Tests: Add a test file for the bug in the previous commit.
5746 tests/files/README | 4 ++++
5747 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes
5748 2 files changed, 4 insertions(+)
5750 commit c0297445064951807803457dca1611b3c47e7f0f
5751 Author: Lasse Collin <lasse.collin@tukaani.org>
5752 Date: 2011-05-27 22:25:44 +0300
5754 xz: Fix error handling in xz -lvv.
5756 It could do an invalid free() and read past the end
5757 of the uninitialized filters array.
5759 src/xz/list.c | 21 ++++++---------------
5760 1 file changed, 6 insertions(+), 15 deletions(-)
5762 commit 8bd91918ac50731f00b1a2a48072980572eb2ff9
5763 Author: Lasse Collin <lasse.collin@tukaani.org>
5764 Date: 2011-05-27 22:09:49 +0300
5766 liblzma: Handle allocation failures correctly in lzma_index_init().
5768 Thanks to Jim Meyering.
5770 src/liblzma/common/index.c | 7 +++++--
5771 1 file changed, 5 insertions(+), 2 deletions(-)
5773 commit fe00f95828ef5627721b57e054f7eb2d42a2c961
5774 Author: Lasse Collin <lasse.collin@tukaani.org>
5775 Date: 2011-05-24 00:23:46 +0300
5777 Build: Fix checking for system-provided SHA-256.
5780 1 file changed, 1 insertion(+), 1 deletion(-)
5782 commit 21b45b9bab541f419712cbfd473ccc31802e0397
5783 Author: Lasse Collin <lasse.collin@tukaani.org>
5784 Date: 2011-05-23 18:30:30 +0300
5786 Build: Set GZIP_ENV=-9n in top-level Makefile.am.
5789 1 file changed, 3 insertions(+)
5791 commit 48053e8a4550233af46359024538bff90c870ab1
5792 Author: Lasse Collin <lasse.collin@tukaani.org>
5793 Date: 2011-05-22 16:42:11 +0300
5795 Update NEWS for 5.0.3.
5797 NEWS | 32 ++++++++++++++++++++++++++++++++
5798 1 file changed, 32 insertions(+)
5800 commit bba37df2c9e54ad773e15ff00a09d2d6989fb3b2
5801 Author: Lasse Collin <lasse.collin@tukaani.org>
5802 Date: 2011-05-21 16:28:44 +0300
5804 Add French translation.
5806 It is known that the BCJ filter --help text is only
5807 partially translated.
5810 po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5811 2 files changed, 865 insertions(+)
5813 commit 4161d7634965a7a287bf208dcd79f6185f448fe8
5814 Author: Lasse Collin <lasse.collin@tukaani.org>
5815 Date: 2011-05-21 15:12:10 +0300
5817 xz: Translate also the string used to print the program name.
5819 French needs a space before a colon, e.g. "xz : foo error".
5821 src/xz/message.c | 6 +++++-
5822 1 file changed, 5 insertions(+), 1 deletion(-)
5824 commit b94aa0c8380cdb18cddb33440d625474c16643cf
5825 Author: Lasse Collin <lasse.collin@tukaani.org>
5826 Date: 2011-05-21 15:08:44 +0300
5828 liblzma: Try to use SHA-256 from the operating system.
5830 If the operating system libc or other base libraries
5831 provide SHA-256, use that instead of our own copy.
5832 Note that this doesn't use OpenSSL or libgcrypt or
5833 such libraries to avoid creating dependencies to
5836 This supports at least FreeBSD, NetBSD, OpenBSD, Solaris,
5837 MINIX, and Darwin. They all provide similar but not
5838 identical SHA-256 APIs; everyone is a little different.
5840 Thanks to Wim Lewis for the original patch, improvements,
5843 configure.ac | 54 +++++++++++++++++++++++++++
5844 src/liblzma/check/Makefile.inc | 2 +
5845 src/liblzma/check/check.h | 83 ++++++++++++++++++++++++++++++++++++++----
5846 3 files changed, 131 insertions(+), 8 deletions(-)
5848 commit f004128678d43ea10b4a6401aa184cf83252d6ec
5849 Author: Lasse Collin <lasse.collin@tukaani.org>
5850 Date: 2011-05-17 12:52:18 +0300
5852 Don't use clockid_t in mythread.h when clock_gettime() isn't available.
5854 Thanks to Wim Lewis for the patch.
5856 src/common/mythread.h | 2 ++
5857 1 file changed, 2 insertions(+)
5859 commit f779516f42ebd2db47a5b7d6143459bf7737cf2f
5860 Author: Lasse Collin <lasse.collin@tukaani.org>
5861 Date: 2011-05-17 12:26:28 +0300
5866 1 file changed, 3 insertions(+)
5868 commit 830ba587775bb562f6eaf05cad61bf669d1f8892
5869 Author: Lasse Collin <lasse.collin@tukaani.org>
5870 Date: 2011-05-17 12:21:33 +0300
5872 Update INSTALL with a note about linker problem on OpenSolaris x86.
5874 INSTALL | 23 +++++++++++++++++------
5875 1 file changed, 17 insertions(+), 6 deletions(-)
5877 commit ec7106309c8060e9c646dba20c4f15689a0bbb04
5878 Author: Lasse Collin <lasse.collin@tukaani.org>
5879 Date: 2011-05-17 12:01:37 +0300
5881 Build: Fix initialization of enable_check_* variables in configure.ac.
5883 This doesn't matter much in practice since it is unlikely
5884 that anyone would have such environment variable names.
5886 Thanks to Wim Lewis.
5889 1 file changed, 1 insertion(+), 1 deletion(-)
5891 commit 4c6e146df99696920f12410fb17754412797ef36
5892 Author: Lasse Collin <lasse.collin@tukaani.org>
5893 Date: 2011-05-17 11:54:38 +0300
5895 Add underscores to attributes (__attribute((__foo__))).
5897 src/liblzma/common/alone_decoder.c | 2 +-
5898 src/liblzma/common/alone_encoder.c | 2 +-
5899 src/liblzma/common/block_encoder.c | 2 +-
5900 src/liblzma/common/common.c | 2 +-
5901 src/liblzma/common/common.h | 2 +-
5902 src/liblzma/common/index_decoder.c | 9 +++++----
5903 src/liblzma/common/index_encoder.c | 11 ++++++-----
5904 src/liblzma/delta/delta_encoder.c | 2 +-
5905 src/liblzma/lz/lz_decoder.c | 2 +-
5906 src/liblzma/lz/lz_encoder.c | 2 +-
5907 src/liblzma/simple/arm.c | 2 +-
5908 src/liblzma/simple/armthumb.c | 2 +-
5909 src/liblzma/simple/ia64.c | 2 +-
5910 src/liblzma/simple/powerpc.c | 2 +-
5911 src/liblzma/simple/simple_coder.c | 2 +-
5912 src/liblzma/simple/sparc.c | 2 +-
5913 src/lzmainfo/lzmainfo.c | 4 ++--
5914 src/xz/coder.c | 2 +-
5915 src/xz/hardware.h | 2 +-
5916 src/xz/message.c | 2 +-
5917 src/xz/message.h | 18 +++++++++---------
5918 src/xz/options.c | 6 +++---
5919 src/xz/signals.c | 2 +-
5920 src/xz/util.h | 6 +++---
5921 src/xzdec/xzdec.c | 6 +++---
5922 25 files changed, 49 insertions(+), 47 deletions(-)
5924 commit 7a480e485938884ef3021b48c3b0b9f9699dc9b6
5925 Author: Lasse Collin <lasse.collin@tukaani.org>
5926 Date: 2011-05-01 12:24:23 +0300
5928 xz: Fix input file position when --single-stream is used.
5930 Now the following works as you would expect:
5932 echo foo | xz > foo.xz
5933 echo bar | xz >> foo.xz
5934 ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz
5936 Note that it doesn't work if the input is not seekable
5937 or if there is Stream Padding between the concatenated
5940 src/xz/coder.c | 1 +
5941 src/xz/file_io.c | 15 +++++++++++++++
5942 src/xz/file_io.h | 13 +++++++++++++
5943 3 files changed, 29 insertions(+)
5945 commit c29e6630c1450c630c4e7b783bdd76515db9004c
5946 Author: Lasse Collin <lasse.collin@tukaani.org>
5947 Date: 2011-05-01 12:15:51 +0300
5949 xz: Print the maximum number of worker threads in xz -vv.
5951 src/xz/coder.c | 4 ++++
5952 1 file changed, 4 insertions(+)
5954 commit 0b77c4a75158ccc416b07d6e81df8ee0abaea720
5955 Author: Lasse Collin <lasse.collin@tukaani.org>
5956 Date: 2011-04-19 10:44:48 +0300
5958 Build: Warn if no supported method to detect the number of CPU cores.
5960 configure.ac | 11 +++++------
5961 1 file changed, 5 insertions(+), 6 deletions(-)
5963 commit e4622df9ab4982f8faa53d85b17be66216175a58
5964 Author: Lasse Collin <lasse.collin@tukaani.org>
5965 Date: 2011-04-19 09:55:06 +0300
5970 1 file changed, 1 insertion(+)
5972 commit 9c1b05828a88eff54409760b92162c7cc2c7cff6
5973 Author: Lasse Collin <lasse.collin@tukaani.org>
5974 Date: 2011-04-19 09:20:44 +0300
5976 Fix portability problems in mythread.h.
5978 Use gettimeofday() if clock_gettime() isn't available
5981 The test for availability of pthread_condattr_setclock()
5982 and CLOCK_MONOTONIC was incorrect. Instead of fixing the
5983 #ifdefs, use an Autoconf test. That way if there exists a
5984 system that supports them but doesn't specify the matching
5985 POSIX #defines, the features will still get detected.
5987 Don't try to use pthread_sigmask() on OpenVMS. It doesn't
5990 Guard mythread.h against being #included multiple times.
5992 configure.ac | 7 +++++++
5993 src/common/mythread.h | 31 +++++++++++++++++++++++++++----
5994 2 files changed, 34 insertions(+), 4 deletions(-)
5996 commit 3de00cc75da7b0e7b65e84c62b5351e231f501e9
5997 Author: Lasse Collin <lasse.collin@tukaani.org>
5998 Date: 2011-04-18 19:35:49 +0300
6003 1 file changed, 2 insertions(+)
6005 commit bd5002f5821e3d1b04f2f56989e4a19318e73633
6006 Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
6007 Date: 2011-04-15 04:54:49 -0400
6009 xzgrep: fix typo in $0 parsing
6011 Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org>
6012 Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
6013 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
6015 src/scripts/xzgrep.in | 4 ++--
6016 1 file changed, 2 insertions(+), 2 deletions(-)
6018 commit 6ef4eabc0acc49e1bb9dc68064706e19fa9fcf48
6019 Author: Lasse Collin <lasse.collin@tukaani.org>
6020 Date: 2011-04-12 12:48:31 +0300
6022 Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99.
6024 src/liblzma/Makefile.am | 2 +-
6025 src/liblzma/api/lzma/version.h | 2 +-
6026 2 files changed, 2 insertions(+), 2 deletions(-)
6028 commit 9a4377be0d21e597c66bad6c7452873aebfb3c1c
6029 Author: Lasse Collin <lasse.collin@tukaani.org>
6030 Date: 2011-04-12 12:42:37 +0300
6032 Put the unstable APIs behind #ifdef LZMA_UNSTABLE.
6034 This way people hopefully won't complain if these APIs
6035 change and break code that used an older API.
6037 src/liblzma/api/lzma/container.h | 4 ++++
6038 src/liblzma/common/common.h | 2 ++
6039 src/xz/private.h | 2 ++
6040 3 files changed, 8 insertions(+)
6042 commit 3e321a3acd50002cf6fdfd259e910f56d3389bc3
6043 Author: Lasse Collin <lasse.collin@tukaani.org>
6044 Date: 2011-04-12 11:59:49 +0300
6046 Remove doubled words from documentation and comments.
6048 Spot candidates by running these commands:
6049 git ls-files |xargs perl -0777 -n \
6050 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \
6051 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}'
6053 Thanks to Jim Meyering for the original patch.
6055 doc/lzma-file-format.txt | 4 ++--
6056 src/liblzma/common/alone_encoder.c | 2 +-
6057 src/liblzma/lzma/lzma2_encoder.c | 2 +-
6058 src/xz/file_io.c | 2 +-
6060 windows/INSTALL-Windows.txt | 2 +-
6061 6 files changed, 7 insertions(+), 7 deletions(-)
6063 commit d91a84b534b012d19474f2fda1fbcaef873e1ba4
6064 Author: Lasse Collin <lasse.collin@tukaani.org>
6065 Date: 2011-04-12 11:46:01 +0300
6069 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++--
6070 1 file changed, 45 insertions(+), 2 deletions(-)
6072 commit 14e6ad8cfe0165c1a8beeb5b2a1536558b29b0a1
6073 Author: Lasse Collin <lasse.collin@tukaani.org>
6074 Date: 2011-04-12 11:45:40 +0300
6078 TODO | 12 +++++++++++-
6079 1 file changed, 11 insertions(+), 1 deletion(-)
6081 commit 70e750f59793f9b5cd306a5adce9b8e427739e04
6082 Author: Lasse Collin <lasse.collin@tukaani.org>
6083 Date: 2011-04-12 11:08:55 +0300
6085 xz: Update the man page about threading.
6087 src/xz/xz.1 | 34 ++++++++++++++++++++--------------
6088 1 file changed, 20 insertions(+), 14 deletions(-)
6090 commit 24e0406c0fb7494d2037dec033686faf1bf67068
6091 Author: Lasse Collin <lasse.collin@tukaani.org>
6092 Date: 2011-04-11 22:06:03 +0300
6094 xz: Add support for threaded compression.
6096 src/xz/args.c | 3 +-
6097 src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++----------------------
6098 2 files changed, 125 insertions(+), 80 deletions(-)
6100 commit de678e0c924aa79a19293a8a6ed82e8cb6572a42
6101 Author: Lasse Collin <lasse.collin@tukaani.org>
6102 Date: 2011-04-11 22:03:30 +0300
6104 liblzma: Add lzma_stream_encoder_mt() for threaded compression.
6106 This is the simplest method to do threading, which splits
6107 the uncompressed data into blocks and compresses them
6108 independently from each other. There's room for improvement
6109 especially to reduce the memory usage, but nevertheless,
6110 this is a good start.
6113 src/liblzma/api/lzma/container.h | 163 +++++
6114 src/liblzma/common/Makefile.inc | 7 +
6115 src/liblzma/common/common.c | 9 +-
6116 src/liblzma/common/common.h | 14 +
6117 src/liblzma/common/outqueue.c | 180 ++++++
6118 src/liblzma/common/outqueue.h | 155 +++++
6119 src/liblzma/common/stream_encoder_mt.c | 1011 ++++++++++++++++++++++++++++++++
6120 8 files changed, 1539 insertions(+), 1 deletion(-)
6122 commit 25fe729532cdf4b8fed56a4519b73cf31efaec50
6123 Author: Lasse Collin <lasse.collin@tukaani.org>
6124 Date: 2011-04-11 21:15:07 +0300
6126 liblzma: Add the forgotten lzma_lzma2_block_size().
6128 This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a.
6130 src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++
6131 src/liblzma/lzma/lzma2_encoder.h | 2 ++
6132 2 files changed, 12 insertions(+)
6134 commit 91afb785a1dee34862078d9bf844ef12b8cc3e35
6135 Author: Lasse Collin <lasse.collin@tukaani.org>
6136 Date: 2011-04-11 21:04:13 +0300
6138 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
6140 src/liblzma/api/lzma/container.h | 9 +++++++++
6141 1 file changed, 9 insertions(+)
6143 commit 4a9905302a9e4a1601ae09d650d3f08ce98ae9ee
6144 Author: Lasse Collin <lasse.collin@tukaani.org>
6145 Date: 2011-04-11 20:59:07 +0300
6147 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
6149 It didn't mention the return value that is used if
6152 src/liblzma/api/lzma/filter.h | 8 ++++++--
6153 1 file changed, 6 insertions(+), 2 deletions(-)
6155 commit 0badb0b1bd649163322783b0bd9e590b4bc7a93d
6156 Author: Lasse Collin <lasse.collin@tukaani.org>
6157 Date: 2011-04-11 19:28:18 +0300
6159 liblzma: Use memzero() to initialize supported_actions[].
6161 This is cleaner and makes it simpler to add new members
6162 to lzma_action enumeration.
6164 src/liblzma/common/common.c | 6 ++----
6165 1 file changed, 2 insertions(+), 4 deletions(-)
6167 commit a7934c446a58e20268689899d2a39f50e571f251
6168 Author: Lasse Collin <lasse.collin@tukaani.org>
6169 Date: 2011-04-11 19:26:27 +0300
6171 liblzma: API comment about lzma_allocator with threaded coding.
6173 src/liblzma/api/lzma/base.h | 18 +++++++++++++-----
6174 1 file changed, 13 insertions(+), 5 deletions(-)
6176 commit 5eefc0086d24a65e136352f8c1d19cefb0cbac7a
6177 Author: Lasse Collin <lasse.collin@tukaani.org>
6178 Date: 2011-04-11 19:16:30 +0300
6180 liblzma: Add an internal function lzma_mt_block_size().
6182 This is based lzma_chunk_size() that was included in some
6183 development version of liblzma.
6185 src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++-------------------
6186 src/liblzma/common/filter_encoder.h | 4 ++--
6187 2 files changed, 24 insertions(+), 26 deletions(-)
6189 commit d1199274758049fc523d98c5b860ff814a799eec
6190 Author: Lasse Collin <lasse.collin@tukaani.org>
6191 Date: 2011-04-11 13:59:50 +0300
6193 liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
6195 Empty Block was created if the input buffer was empty.
6196 Empty Block wastes a few bytes of space, but more importantly
6197 it triggers a bug in XZ Utils 5.0.1 and older when trying
6198 to decompress such a file. 5.0.1 and older consider such
6199 files to be corrupt. I thought that no encoder creates empty
6200 Blocks when releasing 5.0.2 but I was wrong.
6202 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++-------
6203 1 file changed, 13 insertions(+), 7 deletions(-)
6205 commit 3b22fc2c87ec85fcdd385c163b68fc49c97aa848
6206 Author: Lasse Collin <lasse.collin@tukaani.org>
6207 Date: 2011-04-11 13:28:40 +0300
6209 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
6211 This return value was missing from the API comments of
6214 src/liblzma/api/lzma/block.h | 1 +
6215 src/liblzma/api/lzma/container.h | 3 +++
6216 2 files changed, 4 insertions(+)
6218 commit 71b9380145dccf001f22e66a06b9d508905c25ce
6219 Author: Lasse Collin <lasse.collin@tukaani.org>
6220 Date: 2011-04-11 13:21:28 +0300
6222 liblzma: Validate encoder arguments better.
6224 The biggest problem was that the integrity check type
6225 wasn't validated, and e.g. lzma_easy_buffer_encode()
6226 would create a corrupt .xz Stream if given an unsupported
6227 Check ID. Luckily applications don't usually try to use
6228 an unsupport Check ID, so this bug is unlikely to cause
6229 many real-world problems.
6231 src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------
6232 src/liblzma/common/block_encoder.c | 5 +++++
6233 src/liblzma/common/stream_buffer_encoder.c | 3 +++
6234 3 files changed, 20 insertions(+), 6 deletions(-)
6236 commit ec7e3dbad704268825fc48f0bdd4577bc46b4f13
6237 Author: Lasse Collin <lasse.collin@tukaani.org>
6238 Date: 2011-04-11 09:57:30 +0300
6240 xz: Move the description of --block-size in --long-help.
6242 src/xz/message.c | 8 ++++----
6243 1 file changed, 4 insertions(+), 4 deletions(-)
6245 commit cd3086ff443bb282bdf556919c28b3e3cbed8169
6246 Author: Lasse Collin <lasse.collin@tukaani.org>
6247 Date: 2011-04-11 09:55:35 +0300
6249 Docs: Document --single-stream and --block-size.
6251 src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++--
6252 1 file changed, 36 insertions(+), 2 deletions(-)
6254 commit fb64a4924334e3c440865710990fe08090f2fed0
6255 Author: Lasse Collin <lasse.collin@tukaani.org>
6256 Date: 2011-04-11 09:27:57 +0300
6258 liblzma: Make lzma_stream_encoder_init() static (second try).
6260 It's an internal function and it's not needed by
6261 anything outside stream_encoder.c.
6263 src/liblzma/common/Makefile.inc | 1 -
6264 src/liblzma/common/easy_encoder.c | 1 -
6265 src/liblzma/common/stream_encoder.c | 13 ++++++-------
6266 src/liblzma/common/stream_encoder.h | 23 -----------------------
6267 4 files changed, 6 insertions(+), 32 deletions(-)
6269 commit a34730cf6af4d33a4057914e57227b6dfde6567e
6270 Author: Lasse Collin <lasse.collin@tukaani.org>
6271 Date: 2011-04-11 08:31:42 +0300
6273 Revert "liblzma: Make lzma_stream_encoder_init() static."
6275 This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7.
6276 I don't know what I was thinking.
6278 src/liblzma/common/Makefile.inc | 1 +
6279 src/liblzma/common/stream_encoder.c | 9 +++++----
6280 src/liblzma/common/stream_encoder.h | 23 +++++++++++++++++++++++
6281 3 files changed, 29 insertions(+), 4 deletions(-)
6283 commit 9f0a806aef7ea79718e3f1f2baf3564295229a27
6284 Author: Lasse Collin <lasse.collin@tukaani.org>
6285 Date: 2011-04-10 21:23:21 +0300
6291 - mythread_sync() macro to create synchronized blocks
6293 - mythread_cond structure and related functions
6294 and macros for condition variables with timed
6295 waiting using a relative timeout
6297 - mythread_create() to create a thread with all
6300 Some of these wouldn't need to be inline functions,
6301 but I'll keep them this way for now for simplicity.
6303 For timed waiting on a condition variable, librt is
6304 now required on some systems to use clock_gettime().
6305 configure.ac was updated to handle this.
6308 src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++-----
6309 2 files changed, 181 insertions(+), 20 deletions(-)
6311 commit 352ac82db5d3f64585c07b39e4759388dec0e4d7
6312 Author: Lasse Collin <lasse.collin@tukaani.org>
6313 Date: 2011-04-10 20:37:36 +0300
6315 liblzma: Make lzma_stream_encoder_init() static.
6317 It's an internal function and it's not needed by
6318 anything outside stream_encoder.c.
6320 src/liblzma/common/Makefile.inc | 1 -
6321 src/liblzma/common/stream_encoder.c | 9 ++++-----
6322 src/liblzma/common/stream_encoder.h | 23 -----------------------
6323 3 files changed, 4 insertions(+), 29 deletions(-)
6325 commit 9e807fe3fe79618ac48f58207cf7082ea20a6928
6326 Author: Lasse Collin <lasse.collin@tukaani.org>
6327 Date: 2011-04-10 14:58:10 +0300
6329 DOS: Update the docs and include notes about 8.3 filenames.
6331 dos/{README => INSTALL.txt} | 13 +----
6332 dos/README.txt | 123 ++++++++++++++++++++++++++++++++++++++++++++
6333 2 files changed, 125 insertions(+), 11 deletions(-)
6335 commit ebd54dbd6e481d31e80757f900ac8109ad1423c6
6336 Author: Lasse Collin <lasse.collin@tukaani.org>
6337 Date: 2011-04-10 13:09:42 +0300
6339 xz/DOS: Add experimental 8.3 filename support.
6341 This is incompatible with the 8.3 support patch made by
6342 Juan Manuel Guerrero. I think this one is nicer, but
6343 I need to get feedback from DOS users before saying
6344 that this is the final version of 8.3 filename support.
6346 src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
6347 1 file changed, 167 insertions(+), 9 deletions(-)
6349 commit cd4fe97852bcaeffe674ee51b4613709292a0972
6350 Author: Lasse Collin <lasse.collin@tukaani.org>
6351 Date: 2011-04-10 12:47:47 +0300
6353 xz/DOS: Be more careful with the destination file.
6355 Try to avoid overwriting the source file if --force is
6356 used and the generated destination filename refers to
6357 the source file. This can happen with 8.3 filenames where
6358 extra characters are ignored.
6360 If the generated output file refers to a special file
6361 like "con" or "prn", refuse to write to it even if --force
6364 src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++--
6365 1 file changed, 33 insertions(+), 2 deletions(-)
6367 commit 607f9f98ae5ef6d49f4c21c806d462bf6b3d6796
6368 Author: Lasse Collin <lasse.collin@tukaani.org>
6369 Date: 2011-04-09 18:29:30 +0300
6374 1 file changed, 1 insertion(+)
6376 commit fca396b37410d272b754843a5dc13847be443a3a
6377 Author: Lasse Collin <lasse.collin@tukaani.org>
6378 Date: 2011-04-09 18:28:58 +0300
6380 liblzma: Add missing #ifdefs to filter_common.c.
6382 Passing --disable-decoders to configure broke a few
6383 encoders due to missing #ifdefs in filter_common.c.
6385 Thanks to Jason Gorski for the patch.
6387 src/liblzma/common/filter_common.c | 6 +++---
6388 1 file changed, 3 insertions(+), 3 deletions(-)
6390 commit b03f6cd3ebadd675f2cc9d518cb26fa860269447
6391 Author: Lasse Collin <lasse.collin@tukaani.org>
6392 Date: 2011-04-09 15:24:59 +0300
6394 xz: Avoid unneeded fstat() on DOS-like systems.
6396 src/xz/file_io.c | 14 ++++++++------
6397 1 file changed, 8 insertions(+), 6 deletions(-)
6399 commit 335fe260a81f61ec99ff5940df733b4c50aedb7c
6400 Author: Lasse Collin <lasse.collin@tukaani.org>
6401 Date: 2011-04-09 15:11:13 +0300
6403 xz: Minor internal changes to handling of --threads.
6405 Now it always defaults to one thread. Maybe this
6406 will change again if a threading method is added
6407 that doesn't affect memory usage.
6409 src/xz/args.c | 4 ++--
6410 src/xz/hardware.c | 24 ++++++++++++------------
6411 src/xz/hardware.h | 9 ++++-----
6412 3 files changed, 18 insertions(+), 19 deletions(-)
6414 commit 9edd6ee895fbe71d245a173f48e511f154a99875
6415 Author: Lasse Collin <lasse.collin@tukaani.org>
6416 Date: 2011-04-08 17:53:05 +0300
6418 xz: Change size_t to uint32_t in a few places.
6420 src/xz/coder.c | 6 +++---
6421 src/xz/coder.h | 2 +-
6422 2 files changed, 4 insertions(+), 4 deletions(-)
6424 commit 411013ea4506a6df24d35a060fcbd73a57b73eb3
6425 Author: Lasse Collin <lasse.collin@tukaani.org>
6426 Date: 2011-04-08 17:48:41 +0300
6428 xz: Fix a typo in a comment.
6430 src/xz/coder.c | 2 +-
6431 1 file changed, 1 insertion(+), 1 deletion(-)
6433 commit b34c5ce4b22e8d7b81f9895d15054af41d17f805
6434 Author: Lasse Collin <lasse.collin@tukaani.org>
6435 Date: 2011-04-05 22:41:33 +0300
6437 liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c.
6439 src/liblzma/check/sha256.c | 6 +++---
6440 1 file changed, 3 insertions(+), 3 deletions(-)
6442 commit db33117cc85c17e0b897b5312bd5eb43aac41c03
6443 Author: Lasse Collin <lasse.collin@tukaani.org>
6444 Date: 2011-04-05 17:12:20 +0300
6446 Build: Upgrade m4/acx_pthread.m4 to the latest version.
6448 It was renamed to ax_pthread.m4 in Autoconf Archive.
6451 m4/{acx_pthread.m4 => ax_pthread.m4} | 170 ++++++++++++++++++-----------------
6452 2 files changed, 88 insertions(+), 84 deletions(-)
6454 commit 1039bfcfc098b69d56ecb39d198a092552eacf6d
6455 Author: Lasse Collin <lasse.collin@tukaani.org>
6456 Date: 2011-04-05 15:27:26 +0300
6458 xz: Use posix_fadvise() if it is available.
6460 configure.ac | 3 +++
6461 src/xz/file_io.c | 15 +++++++++++++++
6462 2 files changed, 18 insertions(+)
6464 commit 1ef3cf44a8eb9512480af4482a5232ea08363b14
6465 Author: Lasse Collin <lasse.collin@tukaani.org>
6466 Date: 2011-04-05 15:13:29 +0300
6468 xz: Call lzma_end(&strm) before exiting if debugging is enabled.
6470 src/xz/coder.c | 10 ++++++++++
6471 src/xz/coder.h | 5 +++++
6472 src/xz/main.c | 4 ++++
6473 3 files changed, 19 insertions(+)
6475 commit bd432015d33dcade611d297bc01eb0700088ef6c
6476 Author: Lasse Collin <lasse.collin@tukaani.org>
6477 Date: 2011-04-02 14:49:56 +0300
6479 liblzma: Fix a memory leak in stream_encoder.c.
6481 It leaks old filter options structures (hundred bytes or so)
6482 every time the lzma_stream is reinitialized. With the xz tool,
6483 this happens when compressing multiple files.
6485 src/liblzma/common/stream_encoder.c | 2 +-
6486 1 file changed, 1 insertion(+), 1 deletion(-)
6488 commit 16889013214e7620d204b6e6c1bf9f3103a13655
6489 Author: Lasse Collin <lasse.collin@tukaani.org>
6490 Date: 2011-04-01 08:47:20 +0300
6492 Updated NEWS for 5.0.2.
6494 NEWS | 18 ++++++++++++++++++
6495 1 file changed, 18 insertions(+)
6497 commit 85cdf7dd4e97b078e7b929e47f55a7f1da36010f
6498 Author: Lasse Collin <lasse.collin@tukaani.org>
6499 Date: 2011-03-31 15:06:58 +0300
6501 Update INSTALL with another note about IRIX.
6504 1 file changed, 4 insertions(+)
6506 commit c3f4995586873d6a4fb7e451010a128571a9a370
6507 Author: Lasse Collin <lasse.collin@tukaani.org>
6508 Date: 2011-03-31 12:22:55 +0300
6510 Tests: Add a new file to test empty LZMA2 streams.
6512 tests/files/README | 4 ++++
6513 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes
6514 2 files changed, 4 insertions(+)
6516 commit 0d21f49a809dc2088da6cc0da7f948404df7ecfa
6517 Author: Lasse Collin <lasse.collin@tukaani.org>
6518 Date: 2011-03-31 11:54:48 +0300
6520 liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
6522 The decoder considered empty LZMA2 streams to be corrupt.
6523 This shouldn't matter much with .xz files, because no encoder
6524 creates empty LZMA2 streams in .xz. This bug is more likely
6525 to cause problems in applications that use raw LZMA2 streams.
6527 src/liblzma/lzma/lzma2_decoder.c | 8 ++++----
6528 1 file changed, 4 insertions(+), 4 deletions(-)
6530 commit 40277998cb9bad564ce4827aff152e6e1c904dfa
6531 Author: Lasse Collin <lasse.collin@tukaani.org>
6532 Date: 2011-03-24 01:42:49 +0200
6534 Scripts: Better fix for xzgrep.
6536 Now it uses "grep -q".
6538 Thanks to Gregory Margo.
6540 src/scripts/xzgrep.in | 8 ++++++--
6541 1 file changed, 6 insertions(+), 2 deletions(-)
6543 commit 2118733045ad0ca183a3f181a0399baf876983a6
6544 Author: Lasse Collin <lasse.collin@tukaani.org>
6545 Date: 2011-03-24 01:22:18 +0200
6550 1 file changed, 1 insertion(+)
6552 commit c7210d9a3fca6f31a57208bfddfc9ab20a2e097a
6553 Author: Lasse Collin <lasse.collin@tukaani.org>
6554 Date: 2011-03-24 01:21:32 +0200
6556 Scripts: Fix xzgrep -l.
6558 It didn't work at all. It tried to use the -q option
6559 for grep, but it appended it after "--". This works
6560 around it by redirecting to /dev/null. The downside
6561 is that this can be slower with big files compared
6562 to proper use of "grep -q".
6564 Thanks to Gregory Margo.
6566 src/scripts/xzgrep.in | 4 ++--
6567 1 file changed, 2 insertions(+), 2 deletions(-)
6569 commit 4eb83e32046a6d670862bc91c3d82530963b455e
6570 Author: Lasse Collin <lasse.collin@tukaani.org>
6571 Date: 2011-03-19 13:08:22 +0200
6573 Scripts: Add lzop (.lzo) support to xzdiff and xzgrep.
6575 src/scripts/xzdiff.1 | 6 ++++--
6576 src/scripts/xzdiff.in | 22 ++++++++++++++--------
6577 src/scripts/xzgrep.1 | 11 +++++++----
6578 src/scripts/xzgrep.in | 5 +++--
6579 4 files changed, 28 insertions(+), 16 deletions(-)
6581 commit 923b22483bd9356f3219b2b784d96f455f4dc499
6582 Author: Lasse Collin <lasse.collin@tukaani.org>
6583 Date: 2011-03-18 19:10:30 +0200
6585 xz: Add --block-size=SIZE.
6587 This uses LZMA_FULL_FLUSH every SIZE bytes of input.
6589 Man page wasn't updated yet.
6591 src/xz/args.c | 7 +++++++
6592 src/xz/coder.c | 50 ++++++++++++++++++++++++++++++++++++++++----------
6593 src/xz/coder.h | 3 +++
6594 src/xz/message.c | 4 ++++
6595 4 files changed, 54 insertions(+), 10 deletions(-)
6597 commit 57597d42ca1740ad506437be168d800a50f1a0ad
6598 Author: Lasse Collin <lasse.collin@tukaani.org>
6599 Date: 2011-03-18 18:19:19 +0200
6601 xz: Add --single-stream.
6603 This can be useful when there is garbage after the
6604 compressed stream (.xz, .lzma, or raw stream).
6606 Man page wasn't updated yet.
6608 src/xz/args.c | 6 ++++++
6609 src/xz/coder.c | 11 +++++++++--
6610 src/xz/coder.h | 3 +++
6611 src/xz/message.c | 6 +++++-
6612 4 files changed, 23 insertions(+), 3 deletions(-)
6614 commit 96f94bc925d579a700147fa5d7793b64d69cfc18
6615 Author: Lasse Collin <lasse.collin@tukaani.org>
6616 Date: 2011-02-04 22:49:31 +0200
6618 xz: Clean up suffix.c.
6620 struct suffix_pair isn't needed in compresed_name()
6621 so get rid of it there.
6623 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------
6624 1 file changed, 20 insertions(+), 24 deletions(-)
6626 commit 8930c7ae3f82bdae15aa129f01de08be23d7e8d7
6627 Author: Lasse Collin <lasse.collin@tukaani.org>
6628 Date: 2011-02-04 11:29:47 +0200
6630 xz: Check if the file already has custom suffix when compressing.
6632 Now "xz -S .test foo.test" refuses to compress the
6633 file because it already has the suffix .test. The man
6634 page had it documented this way already.
6636 src/xz/suffix.c | 9 +++++++++
6637 1 file changed, 9 insertions(+)
6639 commit 940d5852c6cf08abccc6befd9d1b5411c9076a58
6640 Author: Lasse Collin <lasse.collin@tukaani.org>
6641 Date: 2011-02-02 23:01:51 +0200
6646 1 file changed, 1 insertion(+)
6648 commit 4ebe65f839613f27f127bab7b8c347d982330ee3
6649 Author: Lasse Collin <lasse.collin@tukaani.org>
6650 Date: 2011-02-02 23:00:33 +0200
6652 Translations: Add Polish translation.
6654 Thanks to Jakub Bogusz.
6657 po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6658 2 files changed, 826 insertions(+)
6660 commit fc1d292dca1925dfd17174f443f91a696ecd5bf8
6661 Author: Lasse Collin <lasse.collin@tukaani.org>
6662 Date: 2011-02-02 22:24:00 +0200
6667 1 file changed, 1 insertion(+)
6669 commit 6dd061adfd2775428b079eb03d6fd47d7c0f1ffe
6670 Merge: 9d542ce 5fbce0b
6671 Author: Lasse Collin <lasse.collin@tukaani.org>
6672 Date: 2011-02-06 20:13:01 +0200
6674 Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d'
6676 commit 5fbce0b8d96dc96775aa0215e3581addc830e23d
6677 Author: Lasse Collin <lasse.collin@tukaani.org>
6678 Date: 2011-01-28 20:16:57 +0200
6680 Update NEWS for 5.0.1.
6682 NEWS | 14 ++++++++++++++
6683 1 file changed, 14 insertions(+)
6685 commit 03ebd1bbb314f9f204940219a835c883bf442475
6686 Author: Lasse Collin <lasse.collin@tukaani.org>
6687 Date: 2011-01-26 12:19:08 +0200
6689 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
6691 xz didn't compress setuid/setgid/sticky files and files
6692 with multiple hard links even with --force. This bug was
6693 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4.
6695 Thanks to Charles Wilson.
6697 src/xz/file_io.c | 15 +++++++--------
6698 1 file changed, 7 insertions(+), 8 deletions(-)
6700 commit 9d542ceebcbe40b174169c132ccfcdc720ca7089
6701 Merge: 4f2c69a 7bd0a5e
6702 Author: Lasse Collin <lasse.collin@tukaani.org>
6703 Date: 2011-01-19 11:45:35 +0200
6707 commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136
6708 Author: Lasse Collin <lasse.collin@tukaani.org>
6709 Date: 2011-01-18 21:25:24 +0200
6714 1 file changed, 1 insertion(+)
6716 commit f71c4e16e913f660977526f0ef8d2acdf458d7c9
6717 Author: Lasse Collin <lasse.collin@tukaani.org>
6718 Date: 2011-01-18 21:23:50 +0200
6720 Add alloc_size and malloc attributes to a few functions.
6722 Thanks to Cristian Rodríguez for the original patch.
6724 src/common/sysdefs.h | 6 ++++++
6725 src/liblzma/common/common.h | 2 +-
6726 src/xz/util.h | 5 +++--
6727 3 files changed, 10 insertions(+), 3 deletions(-)
6729 commit 316cbe24465143edde8f6ffb7532834b7b2ea93f
6730 Author: Lasse Collin <lasse.collin@tukaani.org>
6731 Date: 2010-12-13 16:36:33 +0200
6733 Scripts: Fix gzip and bzip2 support in xzdiff.
6735 src/scripts/xzdiff.in | 12 ++++++------
6736 1 file changed, 6 insertions(+), 6 deletions(-)
6738 commit 4f2c69a4e3e0aee2e37b0b1671d34086e20c8ac6
6739 Merge: adb89e6 9311774
6740 Author: Lasse Collin <lasse.collin@tukaani.org>
6741 Date: 2010-12-12 23:13:22 +0200
6745 commit 9311774c493c19deab51ded919dcd2e9c4aa2829
6746 Author: Lasse Collin <lasse.collin@tukaani.org>
6747 Date: 2010-12-12 21:23:55 +0200
6749 Build: Enable ASM on DJGPP by default.
6752 1 file changed, 1 insertion(+), 1 deletion(-)
6754 commit 4a42aaee282fc73b482581684d65110506d5efdd
6755 Author: Lasse Collin <lasse.collin@tukaani.org>
6756 Date: 2010-12-12 16:09:42 +0200
6761 1 file changed, 1 insertion(+)
6763 commit ce56f63c41ee210e6308090eb6d49221fdf67d6c
6764 Author: Lasse Collin <lasse.collin@tukaani.org>
6765 Date: 2010-12-12 16:07:11 +0200
6767 Add missing PRIx32 and PRIx64 compatibility definitions.
6769 This fixes portability to systems that lack C99 inttypes.h.
6771 Thanks to Juan Manuel Guerrero.
6773 src/common/sysdefs.h | 9 +++++++++
6774 1 file changed, 9 insertions(+)
6776 commit e6baedddcf54e7da049ebc49183565b99facd4c7
6777 Author: Lasse Collin <lasse.collin@tukaani.org>
6778 Date: 2010-12-12 14:50:04 +0200
6780 DOS-like: Treat \ and : as directory separators in addition to /.
6782 Juan Manuel Guerrero had fixed this in his XZ Utils port
6783 to DOS/DJGPP. The bug affects also Windows and OS/2.
6785 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++----
6786 1 file changed, 29 insertions(+), 4 deletions(-)
6788 commit adb89e68d43a4cadb0c215b45ef7a75737c9c3ec
6789 Merge: 7c24e0d b7afd3e
6790 Author: Lasse Collin <lasse.collin@tukaani.org>
6791 Date: 2010-12-07 18:53:04 +0200
6795 commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f
6796 Author: Lasse Collin <lasse.collin@tukaani.org>
6797 Date: 2010-12-07 18:52:04 +0200
6799 Translations: Fix Czech translation of "sparse file".
6801 Thanks to Petr Hubený and Marek Černocký.
6803 po/cs.po | 88 ++++++++++++++++++++++++++++++++--------------------------------
6804 1 file changed, 44 insertions(+), 44 deletions(-)
6806 commit 7c24e0d1b8a2e86e9263b0d56d39621e01aed7af
6807 Merge: b4d42f1 3e56470
6808 Author: Lasse Collin <lasse.collin@tukaani.org>
6809 Date: 2010-11-15 14:33:01 +0200
6813 commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e
6814 Author: Lasse Collin <lasse.collin@tukaani.org>
6815 Date: 2010-11-15 14:28:26 +0200
6817 liblzma: Document the return value of lzma_lzma_preset().
6819 src/liblzma/api/lzma/lzma.h | 3 +++
6820 1 file changed, 3 insertions(+)
6822 commit 2964d8d691ed92abdcf214888d79ad6d79774735
6823 Author: Jonathan Nieder <jrnieder@gmail.com>
6824 Date: 2010-11-12 15:22:13 -0600
6826 Simplify paths in generated API docs
6828 Currently the file list generated by Doxygen has src/ at the
6829 beginning of each path. Paths like common/sysdefs.h and
6830 liblzma/api/lzma.h are easier to read without such a prefix.
6832 Builds from a separate build directory with
6839 include an even longer prefix /home/someone/src/xz/src; this
6840 patch has the nice side-effect of eliminating that prefix, too.
6842 Fixes: http://bugs.debian.org/572273
6845 1 file changed, 1 insertion(+), 1 deletion(-)
6847 commit b4d42f1a7120e2cefeb2f14425efe2ca6db85416
6848 Author: Anders F Bjorklund <afb@users.sourceforge.net>
6849 Date: 2010-11-05 12:56:11 +0100
6851 add build script for macosx universal
6853 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6854 1 file changed, 92 insertions(+)
6856 commit 15ee6935abe4a2fc76639ee342ca2e69af3e0ad6
6857 Author: Lasse Collin <lasse.collin@tukaani.org>
6858 Date: 2010-11-04 18:31:40 +0200
6860 Update the copies of GPLv2 and LGPLv2.1 from gnu.org.
6862 There are only a few white space changes.
6864 COPYING.GPLv2 | 14 +++++++-------
6865 COPYING.LGPLv2.1 | 16 +++++++---------
6866 2 files changed, 14 insertions(+), 16 deletions(-)
6868 commit 8e355f7fdbeee6fe394eb02a28f267ce99a882a2
6869 Merge: 974ebe6 37c2565
6870 Author: Lasse Collin <lasse.collin@tukaani.org>
6871 Date: 2010-10-26 15:53:06 +0300
6875 commit 37c25658efd25b034266daf87cd381d20d1df776
6876 Author: Lasse Collin <lasse.collin@tukaani.org>
6877 Date: 2010-10-26 15:48:48 +0300
6879 Build: Copy the example programs to $docdir/examples.
6881 The example programs by Daniel Mealha Cabrita were included
6882 in the git repository, but I had forgot to add them to
6883 Makefile.am. Thus, they didn't get included in the source
6884 package at all by "make dist".
6886 Makefile.am | 5 +++++
6887 windows/build.bash | 3 ++-
6888 2 files changed, 7 insertions(+), 1 deletion(-)
6890 commit 974ebe63497bdf0d262e06474f0dd5a70b1dd000
6891 Author: Lasse Collin <lasse.collin@tukaani.org>
6892 Date: 2010-10-26 10:36:41 +0300
6894 liblzma: Rename a few variables and constants.
6896 This has no semantic changes. I find the new names slightly
6897 more logical and they match the names that are already used
6900 The name fastpos wasn't changed (not worth the hassle).
6902 src/liblzma/lzma/fastpos.h | 55 +++++------
6903 src/liblzma/lzma/lzma2_encoder.c | 2 +-
6904 src/liblzma/lzma/lzma_common.h | 45 ++++-----
6905 src/liblzma/lzma/lzma_decoder.c | 58 +++++------
6906 src/liblzma/lzma/lzma_encoder.c | 56 +++++------
6907 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 9 +-
6908 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 128 ++++++++++++-------------
6909 src/liblzma/lzma/lzma_encoder_private.h | 16 ++--
6910 8 files changed, 183 insertions(+), 186 deletions(-)
6912 commit 7c427ec38d016c0070a42315d752857e33792fc4
6913 Author: Lasse Collin <lasse.collin@tukaani.org>
6914 Date: 2010-10-25 12:59:25 +0300
6916 Bump version 5.1.0alpha.
6918 src/liblzma/api/lzma/version.h | 4 ++--
6919 1 file changed, 2 insertions(+), 2 deletions(-)
6921 commit e45929260cd902036efd40c5610a8d0a50d5712b
6922 Author: Lasse Collin <lasse.collin@tukaani.org>
6923 Date: 2010-10-23 17:25:52 +0300
6925 Build: Fix mydist rule when .git doesn't exist.
6928 1 file changed, 1 insertion(+)
6930 commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168
6931 Author: Lasse Collin <lasse.collin@tukaani.org>
6932 Date: 2010-10-23 14:15:35 +0300
6936 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6937 1 file changed, 62 insertions(+)
6939 commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c
6940 Author: Lasse Collin <lasse.collin@tukaani.org>
6941 Date: 2010-10-23 14:02:53 +0300
6943 Bump version to 5.0.0 and liblzma version-info to 5:0:0.
6945 src/liblzma/Makefile.am | 2 +-
6946 src/liblzma/api/lzma/version.h | 8 ++++----
6947 2 files changed, 5 insertions(+), 5 deletions(-)