1commit 2327a461e1afce862c22269b80d3517801103c1b
2Author: Lasse Collin <lasse.collin@tukaani.org>
3Date:   2020-03-17 16:27:42 +0200
4
5    Bump version and soname for 5.2.5.
6
7 src/liblzma/Makefile.am        | 2 +-
8 src/liblzma/api/lzma/version.h | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
10
11commit 3be82d2f7dc882258caf0f0a69214e5916b2bdda
12Author: Lasse Collin <lasse.collin@tukaani.org>
13Date:   2020-03-17 16:26:04 +0200
14
15    Update NEWS for 5.2.5.
16
17 NEWS | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18 1 file changed, 105 insertions(+)
19
20commit ab3e57539c7337f0653b13b75dbc5d03ade9700e
21Author: Lasse Collin <lasse.collin@tukaani.org>
22Date:   2020-03-16 21:57:21 +0200
23
24    Translations: Rebuild cs.po to avoid incorrect fuzzy strings.
25    
26    "make dist" updates the .po files and the fuzzy strings would
27    result in multiple very wrong translations.
28
29 po/cs.po | 592 ++++++++++++++++++++++++++++++++++-----------------------------
30 1 file changed, 322 insertions(+), 270 deletions(-)
31
32commit 3a6f38309dc5d44d8a63ebb337b6b2028561c93e
33Author: Lasse Collin <lasse.collin@tukaani.org>
34Date:   2020-03-16 20:01:37 +0200
35
36    README: Update outdated sections.
37
38 README | 21 +++++++++++----------
39 1 file changed, 11 insertions(+), 10 deletions(-)
40
41commit 9cc0901798217e258e91c13cf6fda7ad42ba108c
42Author: Lasse Collin <lasse.collin@tukaani.org>
43Date:   2020-03-16 19:46:27 +0200
44
45    README: Mention that translatable strings will change after 5.2.x.
46
47 README | 74 +++---------------------------------------------------------------
48 1 file changed, 3 insertions(+), 71 deletions(-)
49
50commit cc163574249f6a4a66f3dc09d6fe5a71bee24fab
51Author: Lasse Collin <lasse.collin@tukaani.org>
52Date:   2020-03-16 19:39:45 +0200
53
54    README: Mention that man pages can be translated.
55
56 README | 7 ++++---
57 1 file changed, 4 insertions(+), 3 deletions(-)
58
59commit ca261994edc3f2d03d5589c037171c63471ee9dc
60Author: Lasse Collin <lasse.collin@tukaani.org>
61Date:   2020-03-16 17:30:39 +0200
62
63    Translations: Add partial Danish translation.
64    
65    I made a few minor white space changes without getting them
66    approved by the Danish translation team.
67
68 po/LINGUAS |   1 +
69 po/da.po   | 896 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
70 2 files changed, 897 insertions(+)
71
72commit 51cd5d051fc730d61411dee292e863582784e189
73Author: Lasse Collin <lasse.collin@tukaani.org>
74Date:   2020-03-16 16:43:29 +0200
75
76    Update INSTALL.generic from Automake 1.16.1.
77
78 INSTALL.generic | 321 ++++++++++++++++++++++++++++----------------------------
79 1 file changed, 162 insertions(+), 159 deletions(-)
80
81commit 69d694e5f1beae2bbfa3b6c348ec0ec5f14b5cd0
82Author: Lasse Collin <lasse.collin@tukaani.org>
83Date:   2020-03-15 15:27:22 +0200
84
85    Update INSTALL for Windows and DOS and add preliminary info for z/OS.
86
87 INSTALL | 51 +++++++++++++++++++++++++++++++++++++++++----------
88 1 file changed, 41 insertions(+), 10 deletions(-)
89
90commit 2c3b1bb80a3ca7e09728fe4d7a1d8648a5cb9bca
91Author: Lasse Collin <lasse.collin@tukaani.org>
92Date:   2020-03-15 15:26:20 +0200
93
94    Build: Update m4/ax_pthread.m4 from Autoconf Archive (again).
95
96 m4/ax_pthread.m4 | 219 +++++++++++++++++++++++++++++--------------------------
97 1 file changed, 117 insertions(+), 102 deletions(-)
98
99commit 74a5af180a6a6c4b8c90cefb37ee900d3fea7dc6
100Author: Lasse Collin <lasse.collin@tukaani.org>
101Date:   2020-03-11 21:15:35 +0200
102
103    xz: Never use thousand separators in DJGPP builds.
104    
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.
109
110 src/xz/util.c | 14 ++++++++++++--
111 1 file changed, 12 insertions(+), 2 deletions(-)
112
113commit ceba0d25e826bcdbf64bb4cb03385a2a66f8cbcb
114Author: Lasse Collin <lasse.collin@tukaani.org>
115Date:   2020-03-11 19:38:08 +0200
116
117    DOS: Update dos/Makefile for DJGPP 2.05.
118    
119    It doesn't need -fgnu89-inline like 2.04beta did.
120
121 dos/Makefile | 4 +---
122 1 file changed, 1 insertion(+), 3 deletions(-)
123
124commit 29e5bd71612253281fb22bbaa0a566990a74dcc3
125Author: Lasse Collin <lasse.collin@tukaani.org>
126Date:   2020-03-11 19:36:07 +0200
127
128    DOS: Update instructions in dos/INSTALL.txt.
129
130 dos/INSTALL.txt | 59 ++++++++++++++++++++++++++++-----------------------------
131 1 file changed, 29 insertions(+), 30 deletions(-)
132
133commit 00a037ee9c8ee5a03cf9744e05570ae93d56b875
134Author: Lasse Collin <lasse.collin@tukaani.org>
135Date:   2020-03-11 17:58:51 +0200
136
137    DOS: Update config.h.
138    
139    The added defines assume GCC >= 4.8.
140
141 dos/config.h | 8 ++++++++
142 1 file changed, 8 insertions(+)
143
144commit 4ec2feaefa310b4249eb41893caf526e5c51ee39
145Author: Lasse Collin <lasse.collin@tukaani.org>
146Date:   2020-03-11 22:37:54 +0200
147
148    Translations: Add hu, zh_CN, and zh_TW.
149    
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.)
153
154 po/LINGUAS  |   3 +
155 po/hu.po    | 985 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
156 po/zh_CN.po | 963 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
157 po/zh_TW.po | 956 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
158 4 files changed, 2907 insertions(+)
159
160commit b6ed09729ae408be4533a0ddbc7df3d6f566846a
161Author: Lasse Collin <lasse.collin@tukaani.org>
162Date:   2020-03-11 14:33:30 +0200
163
164    Translations: Update vi.po to match the file from the TP.
165    
166    The translated strings haven't been updated but word wrapping
167    is different.
168
169 po/vi.po | 407 ++++++++++++++++++++++++++++-----------------------------------
170 1 file changed, 179 insertions(+), 228 deletions(-)
171
172commit 7c85e8953ced204c858101872a15183e4639e9fb
173Author: Lasse Collin <lasse.collin@tukaani.org>
174Date:   2020-03-11 14:18:03 +0200
175
176    Translations: Add fi and pt_BR, and update de, fr, it, and pl.
177    
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.
181
182 po/LINGUAS  |    2 +
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(-)
190
191commit 7da3ebc67fb5414034685ec16c7a29dad03dfa9b
192Author: Lasse Collin <lasse.collin@tukaani.org>
193Date:   2020-02-25 21:35:14 +0200
194
195    Update THANKS.
196
197 THANKS | 1 +
198 1 file changed, 1 insertion(+)
199
200commit 1acc48794364606c9091cae6fa56db75a1325114
201Author: Lasse Collin <lasse.collin@tukaani.org>
202Date:   2020-03-11 13:05:29 +0200
203
204    Build: Add very limited experimental CMake support.
205    
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.
211
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(+)
220
221commit 9acc6abea1552803c74c1486fbb10af119550772
222Author: Lasse Collin <lasse.collin@tukaani.org>
223Date:   2020-02-27 20:24:27 +0200
224
225    Build: Add support for --no-po4a option to autogen.sh.
226    
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.
231
232 autogen.sh | 11 ++++++++++-
233 1 file changed, 10 insertions(+), 1 deletion(-)
234
235commit c8853b31545db7bd0551be85949624b1261efd47
236Author: Lasse Collin <lasse.collin@tukaani.org>
237Date:   2020-02-24 23:37:07 +0200
238
239    Update m4/.gitignore.
240
241 m4/.gitignore | 1 +
242 1 file changed, 1 insertion(+)
243
244commit 901eb4a8c992354c3ea482f5bad60a1f8ad6fcc8
245Author: Lasse Collin <lasse.collin@tukaani.org>
246Date:   2020-02-24 23:01:00 +0200
247
248    liblzma: Remove unneeded <sys/types.h> from fastpos_tablegen.c.
249    
250    This file only generates fastpos_table.c.
251    It isn't built as a part of liblzma.
252
253 src/liblzma/lzma/fastpos_tablegen.c | 1 -
254 1 file changed, 1 deletion(-)
255
256commit ac35c9585fb734b7a19785d490c152e0b8cd4663
257Author: Lasse Collin <lasse.collin@tukaani.org>
258Date:   2020-02-22 14:15:07 +0200
259
260    Use defined(__GNUC__) before __GNUC__ in preprocessor lines.
261    
262    This should silence the equivalent of -Wundef in compilers that
263    don't define __GNUC__.
264
265 src/common/sysdefs.h   | 3 ++-
266 src/liblzma/api/lzma.h | 5 +++--
267 2 files changed, 5 insertions(+), 3 deletions(-)
268
269commit fb9cada7cfade1156d6277717280e05b5cd342d6
270Author: Lasse Collin <lasse.collin@tukaani.org>
271Date:   2020-02-21 17:40:02 +0200
272
273    liblzma: Add more uses of lzma_memcmplen() to the normal mode of LZMA.
274    
275    This gives a tiny encoder speed improvement. This could have been done
276    in 2014 after the commit 544aaa3d13554e8640f9caf7db717a96360ec0f6 but
277    it was forgotten.
278
279 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 16 ++++++++++------
280 1 file changed, 10 insertions(+), 6 deletions(-)
281
282commit 6117955af0b9cef5acde7859e86f773692b5f43c
283Author: Lasse Collin <lasse.collin@tukaani.org>
284Date:   2020-02-21 17:01:15 +0200
285
286    Build: Add visibility.m4 from gnulib.
287    
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.
291
292 m4/.gitignore    |  1 -
293 m4/visibility.m4 | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
294 2 files changed, 77 insertions(+), 1 deletion(-)
295
296commit c2cc64d78c098834231f9cfd7d852c9cd8950d74
297Author: Lasse Collin <lasse.collin@tukaani.org>
298Date:   2020-02-21 16:10:44 +0200
299
300    xz: Silence a warning when sig_atomic_t is long int.
301    
302    It can be true at least on z/OS.
303
304 src/xz/signals.c | 2 +-
305 1 file changed, 1 insertion(+), 1 deletion(-)
306
307commit b6314aa275b35c714e0a191d0b2e9b6106129ea9
308Author: Lasse Collin <lasse.collin@tukaani.org>
309Date:   2020-02-21 15:59:26 +0200
310
311    xz: Avoid unneeded access of a volatile variable.
312
313 src/xz/signals.c | 2 +-
314 1 file changed, 1 insertion(+), 1 deletion(-)
315
316commit f772a1572f723e5dc7d2d32e1d4287ac7a0da55e
317Author: Lasse Collin <lasse.collin@tukaani.org>
318Date:   2020-02-21 01:24:18 +0200
319
320    tuklib_integer.m4: Optimize the check order.
321    
322    The __builtin byteswapping is the preferred one so check for it first.
323
324 m4/tuklib_integer.m4 | 56 +++++++++++++++++++++++++++-------------------------
325 1 file changed, 29 insertions(+), 27 deletions(-)
326
327commit 641042e63f665f3231c2fd1241fd3dddda3fb313
328Author: Lasse Collin <lasse.collin@tukaani.org>
329Date:   2020-02-20 18:54:04 +0200
330
331    tuklib_exit: Add missing header.
332    
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
336    had worked fine.
337
338 src/common/tuklib_exit.c | 1 +
339 1 file changed, 1 insertion(+)
340
341commit dbd55a69e530fec9ae866aaf6c3ccc0b4daf1f1f
342Author: Lasse Collin <lasse.collin@tukaani.org>
343Date:   2020-02-16 11:18:28 +0200
344
345    sysdefs.h: Omit the conditionals around string.h and limits.h.
346    
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
350    systems.
351
352 src/common/sysdefs.h | 8 ++------
353 1 file changed, 2 insertions(+), 6 deletions(-)
354
355commit 9294909861e6d22b32418467e0e988f953a82264
356Author: Lasse Collin <lasse.collin@tukaani.org>
357Date:   2020-02-15 15:07:11 +0200
358
359    Build: Bump Autoconf and Libtool version requirements.
360    
361    There is no specific reason for this other than blocking
362    the most ancient versions. These are still old:
363    
364    Autoconf 2.69 (2012)
365    Automake 1.12 (2012)
366    gettext 0.19.6 (2015)
367    Libtool 2.4 (2010)
368
369 configure.ac | 4 ++--
370 1 file changed, 2 insertions(+), 2 deletions(-)
371
372commit bd09081bbdf552f730030d2fd0e5e39ccb3936af
373Author: Lasse Collin <lasse.collin@tukaani.org>
374Date:   2020-02-15 03:08:32 +0200
375
376    Build: Use AM_GNU_GETTEXT_REQUIRE_VERSION and require 0.19.6.
377    
378    This bumps the version requirement from 0.19 (from 2014) to
379    0.19.6 (2015).
380    
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.
385
386 configure.ac | 6 +++++-
387 1 file changed, 5 insertions(+), 1 deletion(-)
388
389commit 1e5e08d86534aec7ca957982c7f6e90203c19e9f
390Author: Lasse Collin <lasse.collin@tukaani.org>
391Date:   2020-02-14 20:42:06 +0200
392
393    Translations: Add German translation of the man pages.
394    
395    Thanks to Mario Bl��ttermann.
396
397 po4a/de.po     | 5532 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
398 po4a/po4a.conf |    2 +-
399 2 files changed, 5533 insertions(+), 1 deletion(-)
400
401commit 4b1447809ffbc0d77c0ad456bd6b3afcf0b8623e
402Author: Lasse Collin <lasse.collin@tukaani.org>
403Date:   2020-02-07 15:32:21 +0200
404
405    Build: Add support for translated man pages using po4a.
406    
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.
411    
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.
416    
417    The translated man pages aren't installed if --disable-nls is used.
418    
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.
423    
424    Also, this adds more quotes to the existing shell script code in
425    the Makefile.am "-hook"s.
426
427 Makefile.am             |  4 ++++
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(-)
436
437commit 882fcfdcd86525cc5c6f6d0bf0230d0089206d13
438Author: Lasse Collin <lasse.collin@tukaani.org>
439Date:   2020-02-06 00:04:42 +0200
440
441    Update THANKS (sync with the master branch).
442
443 THANKS | 3 +++
444 1 file changed, 3 insertions(+)
445
446commit 134bb7765815d5f265eb0bc9e6ebacd9ae4a52bc
447Author: Lasse Collin <lasse.collin@tukaani.org>
448Date:   2020-02-05 22:35:06 +0200
449
450    Update tests/.gitignore.
451
452 .gitignore | 4 ++++
453 1 file changed, 4 insertions(+)
454
455commit 6912472fafb656be8f4c5b4ac9ea28fea3065de4
456Author: Lasse Collin <lasse.collin@tukaani.org>
457Date:   2020-02-05 22:28:51 +0200
458
459    Update m4/.gitignore.
460
461 m4/.gitignore | 1 +
462 1 file changed, 1 insertion(+)
463
464commit 68c60735bbb6e51d4205ba8a9fde307bcfb22f8c
465Author: Lasse Collin <lasse.collin@tukaani.org>
466Date:   2020-02-05 20:47:38 +0200
467
468    Update THANKS.
469
470 THANKS | 1 +
471 1 file changed, 1 insertion(+)
472
473commit e1beaa74bc7cb5a409d59b55870e01ae7784ce3a
474Author: Lasse Collin <lasse.collin@tukaani.org>
475Date:   2020-02-05 20:33:50 +0200
476
477    xz: Comment out annoying sandboxing messages.
478
479 src/xz/file_io.c | 10 +++++++---
480 1 file changed, 7 insertions(+), 3 deletions(-)
481
482commit 8238192652290df78bd728b20e3f6542d1a2819e
483Author: Lasse Collin <lasse.collin@tukaani.org>
484Date:   2020-02-05 19:33:37 +0200
485
486    Build: Workaround a POSIX shell detection problem on Solaris.
487    
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.
494
495 configure.ac | 10 ++++++++++
496 1 file changed, 10 insertions(+)
497
498commit 93a1f61e892e145607dd938e3b30098af19a1672
499Author: Lasse Collin <lasse.collin@tukaani.org>
500Date:   2020-02-03 22:03:50 +0200
501
502    Build: Update m4/ax_pthread.m4 from Autoconf Archive.
503
504 m4/ax_pthread.m4 | 398 ++++++++++++++++++++++++++++++++++++++-----------------
505 1 file changed, 279 insertions(+), 119 deletions(-)
506
507commit d0daa21792ff861e5423bbd82aaa6c8ba9fa0462
508Author: Lasse Collin <lasse.collin@tukaani.org>
509Date:   2020-02-01 19:56:18 +0200
510
511    xz: Limit --memlimit-compress to at most 4020 MiB for 32-bit xz.
512    
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.
516    
517    At presets -5 ... -9, 4020 MiB vs. 4096 MiB makes no difference
518    on how xz scales down the number of threads.
519    
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.
525    
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:
529    
530    https://bugzilla.redhat.com/show_bug.cgi?id=1196786
531    
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.
538
539 src/xz/hardware.c | 32 +++++++++++++++++++++++++++++++-
540 src/xz/xz.1       | 21 ++++++++++++++++++++-
541 2 files changed, 51 insertions(+), 2 deletions(-)
542
543commit 4433c2dc5727ee6aef570e001a5a024e0d94e609
544Author: Lasse Collin <lasse.collin@tukaani.org>
545Date:   2020-01-26 20:53:25 +0200
546
547    xz: Set the --flush-timeout deadline when the first input byte arrives.
548    
549    xz --flush-timeout=2000, old version:
550    
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.
556    
557    The first second counted towards the flush-timeout even though
558    there was no pending data. This can cause flushing to occur more
559    often than needed.
560    
561    xz --flush-timeout=2000, after this commit:
562    
563      1. xz is started.
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.
571
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(-)
576
577commit acc0ef3ac80f18e349c6d0252177707105c0a29c
578Author: Lasse Collin <lasse.collin@tukaani.org>
579Date:   2020-01-26 20:19:19 +0200
580
581    xz: Move flush_needed from mytime.h to file_pair struct in file_io.h.
582
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(-)
589
590commit 4afe69d30b66812682a2016ee18441958019cbb2
591Author: Lasse Collin <lasse.collin@tukaani.org>
592Date:   2020-01-26 14:49:22 +0200
593
594    xz: coder.c: Make writing output a separate function.
595    
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.
600
601 src/xz/coder.c | 30 +++++++++++++++++-------------
602 1 file changed, 17 insertions(+), 13 deletions(-)
603
604commit ec26f3ace5f9b260ca91508030f07465ae2f9f78
605Author: Lasse Collin <lasse.collin@tukaani.org>
606Date:   2020-01-26 14:13:42 +0200
607
608    xz: Fix semi-busy-waiting in xz --flush-timeout.
609    
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.
614
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(-)
619
620commit 38915703241e69a64f133ff9a02ec9100c6019c6
621Author: Lasse Collin <lasse.collin@tukaani.org>
622Date:   2020-01-26 13:47:31 +0200
623
624    xz: Refactor io_read() a bit.
625
626 src/xz/file_io.c | 17 ++++++++---------
627 1 file changed, 8 insertions(+), 9 deletions(-)
628
629commit f6d24245349cecfae6ec0d2366fa80716c9f6d37
630Author: Lasse Collin <lasse.collin@tukaani.org>
631Date:   2020-01-26 13:37:08 +0200
632
633    xz: Update a comment in file_io.h.
634
635 src/xz/file_io.h | 5 ++++-
636 1 file changed, 4 insertions(+), 1 deletion(-)
637
638commit 15b55d5c63d27f81776edb1abc05872a751fc674
639Author: Lasse Collin <lasse.collin@tukaani.org>
640Date:   2020-01-26 13:27:51 +0200
641
642    xz: Move the setting of flush_needed in file_io.c to a nicer location.
643
644 src/xz/file_io.c | 6 ++----
645 1 file changed, 2 insertions(+), 4 deletions(-)
646
647commit 609c7067859146ffc62ac655f6ba53599c891801
648Author: Lasse Collin <lasse.collin@tukaani.org>
649Date:   2020-02-05 19:56:09 +0200
650
651    xz: Enable Capsicum sandboxing by default if available.
652    
653    It has been enabled in FreeBSD for a while and reported to work fine.
654    
655    Thanks to Xin Li.
656
657 INSTALL      | 6 ------
658 configure.ac | 8 ++++----
659 2 files changed, 4 insertions(+), 10 deletions(-)
660
661commit 00517d125cc26ecece0eebb84c1c3975cd19bee0
662Author: Lasse Collin <lasse.collin@tukaani.org>
663Date:   2019-12-31 22:41:45 +0200
664
665    Rename unaligned_read32ne to read32ne, and similarly for the others.
666
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(-)
683
684commit 52d89d8443c4a31a69c0701062f2c7711d82bbed
685Author: Lasse Collin <lasse.collin@tukaani.org>
686Date:   2019-12-31 00:29:48 +0200
687
688    Rename read32ne to aligned_read32ne, and similarly for the others.
689    
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.
695
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(-)
700
701commit 850620468b57d49f16093e5870d1050886fcb37a
702Author: Lasse Collin <lasse.collin@tukaani.org>
703Date:   2019-12-31 00:18:24 +0200
704
705    Revise tuklib_integer.h and .m4.
706    
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.
711    
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.
715    
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.
722    
723    Other things:
724      - Support GCC/Clang __builtin_bswapXX
725      - Cleaner bswap fallback macros
726      - Minor cleanups
727
728 m4/tuklib_integer.m4        |  43 ++++
729 src/common/tuklib_integer.h | 488 ++++++++++++++++++++++++--------------------
730 2 files changed, 314 insertions(+), 217 deletions(-)
731
732commit a45badf0342666462cc6a7107a071418570ab773
733Author: Lasse Collin <lasse.collin@tukaani.org>
734Date:   2019-12-29 22:51:58 +0200
735
736    Tests: Hopefully fix test_check.c to work on EBCDIC systems.
737    
738    Thanks to Daniel Richard G.
739
740 tests/test_check.c | 9 +++++++--
741 1 file changed, 7 insertions(+), 2 deletions(-)
742
743commit c9a8071e6690a8db8a485c075920df254e7c70ea
744Author: Lasse Collin <lasse.collin@tukaani.org>
745Date:   2019-09-24 23:02:40 +0300
746
747    Scripts: Put /usr/xpg4/bin to the beginning of PATH on Solaris.
748    
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
754    systems anyway.
755    
756    Thanks to Daniel Richard G.
757
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(-)
765
766commit aba140e2df3ff63ad124ae997de16d517b98ca50
767Author: Lasse Collin <lasse.collin@tukaani.org>
768Date:   2019-07-12 18:57:43 +0300
769
770    Fix comment typos in tuklib_mbstr* files.
771
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(-)
776
777commit 710f5bd769a5d2bd8684256c2727d15350ee2ab8
778Author: Lasse Collin <lasse.collin@tukaani.org>
779Date:   2019-07-12 18:30:46 +0300
780
781    Add missing include to tuklib_mbstr_width.c.
782    
783    It didn't matter in XZ Utils because sysdefs.h
784    includes string.h anyway.
785
786 src/common/tuklib_mbstr_width.c | 1 +
787 1 file changed, 1 insertion(+)
788
789commit 0e491aa8cd72e0100cd15c1b9469cd57fae500b0
790Author: Lasse Collin <lasse.collin@tukaani.org>
791Date:   2019-06-25 23:15:21 +0300
792
793    liblzma: Fix a buggy comment.
794
795 src/liblzma/lz/lz_encoder_mf.c | 2 +-
796 1 file changed, 1 insertion(+), 1 deletion(-)
797
798commit bfc245569f340a75bd71ad32a6beba786712683b
799Author: Lasse Collin <lasse.collin@tukaani.org>
800Date:   2019-06-25 00:16:06 +0300
801
802    configure.ac: Fix a typo in a comment.
803
804 configure.ac | 2 +-
805 1 file changed, 1 insertion(+), 1 deletion(-)
806
807commit f18eee9d15a22c8449ef395a05f0eb637c4ad253
808Author: Lasse Collin <lasse.collin@tukaani.org>
809Date:   2019-06-25 00:08:13 +0300
810
811    Tests: Silence warnings from clang -Wassign-enum.
812    
813    Also changed 999 to 99 so it fits even if lzma_check happened
814    to be 8 bits wide.
815
816 tests/test_block_header.c | 3 ++-
817 tests/test_stream_flags.c | 2 +-
818 2 files changed, 3 insertions(+), 2 deletions(-)
819
820commit 25f74554723e8deabc66fed1abf0ec27a4ed19d5
821Author: Lasse Collin <lasse.collin@tukaani.org>
822Date:   2019-06-24 23:52:17 +0300
823
824    liblzma: Add a comment.
825
826 src/liblzma/common/stream_encoder_mt.c | 2 +-
827 1 file changed, 1 insertion(+), 1 deletion(-)
828
829commit 44eb961f2a51d02420d017bc5ff470360663650c
830Author: Lasse Collin <lasse.collin@tukaani.org>
831Date:   2019-06-24 23:45:21 +0300
832
833    liblzma: Silence clang -Wmissing-variable-declarations.
834
835 src/liblzma/check/crc32_table.c | 3 +++
836 src/liblzma/check/crc64_table.c | 3 +++
837 2 files changed, 6 insertions(+)
838
839commit 267afcd9955e668c1532b069230c21c348eb4f82
840Author: Lasse Collin <lasse.collin@tukaani.org>
841Date:   2019-06-24 22:57:43 +0300
842
843    xz: Silence a warning from clang -Wsign-conversion in main.c.
844
845 src/xz/main.c | 2 +-
846 1 file changed, 1 insertion(+), 1 deletion(-)
847
848commit 0e3c4002f809311ecef239b05e556d9c462b5703
849Author: Lasse Collin <lasse.collin@tukaani.org>
850Date:   2019-06-24 22:47:39 +0300
851
852    liblzma: Remove incorrect uses of lzma_attribute((__unused__)).
853    
854    Caught by clang -Wused-but-marked-unused.
855
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(-)
860
861commit cb708e8fa3405ec13a0ebfebbbf2793f927deab1
862Author: Lasse Collin <lasse.collin@tukaani.org>
863Date:   2019-06-24 20:53:55 +0300
864
865    Tests: Silence a warning from -Wsign-conversion.
866
867 tests/create_compress_files.c | 8 ++++----
868 1 file changed, 4 insertions(+), 4 deletions(-)
869
870commit c8cace3d6e965c0fb537591372bf71b9357dd76c
871Author: Lasse Collin <lasse.collin@tukaani.org>
872Date:   2019-06-24 20:45:49 +0300
873
874    xz: Fix an integer overflow with 32-bit off_t.
875    
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.
880
881 src/xz/file_io.c | 11 +++++++++--
882 1 file changed, 9 insertions(+), 2 deletions(-)
883
884commit 65a42741e290fbcd85dfc5db8a62c4bce5f7712c
885Author: Lasse Collin <lasse.collin@tukaani.org>
886Date:   2019-06-24 00:57:23 +0300
887
888    Tests: Remove a duplicate branch from tests/tests.h.
889    
890    The duplication was introduced about eleven years ago and
891    should have been cleaned up back then already.
892    
893    This was caught by -Wduplicated-branches.
894
895 tests/tests.h | 9 ++-------
896 1 file changed, 2 insertions(+), 7 deletions(-)
897
898commit 5c4fb60e8df026e933afab0cfe0a8b55be20036c
899Author: Lasse Collin <lasse.collin@tukaani.org>
900Date:   2019-06-23 23:22:45 +0300
901
902    tuklib_mbstr_width: Fix a warning from -Wsign-conversion.
903
904 src/common/tuklib_mbstr_width.c | 2 +-
905 1 file changed, 1 insertion(+), 1 deletion(-)
906
907commit 37df03ce52ce53710e1513387648763f8a744154
908Author: Lasse Collin <lasse.collin@tukaani.org>
909Date:   2019-06-23 23:19:34 +0300
910
911    xz: Fix some of the warnings from -Wsign-conversion.
912
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(-)
921
922commit 7c65ae0f5f2e2431f88621e8fe6d1dc7907e30c1
923Author: Lasse Collin <lasse.collin@tukaani.org>
924Date:   2019-06-23 22:27:45 +0300
925
926    tuklib_cpucores: Silence warnings from -Wsign-conversion.
927
928 src/common/tuklib_cpucores.c | 10 +++++-----
929 1 file changed, 5 insertions(+), 5 deletions(-)
930
931commit a502dd1d000b598406637d452f535f4bbd43e2a4
932Author: Lasse Collin <lasse.collin@tukaani.org>
933Date:   2019-06-23 21:40:47 +0300
934
935    xzdec: Fix warnings from -Wsign-conversion.
936
937 src/xzdec/xzdec.c | 2 +-
938 1 file changed, 1 insertion(+), 1 deletion(-)
939
940commit a45d1a5374ceb22e23255b0b595b9e641e9860af
941Author: Lasse Collin <lasse.collin@tukaani.org>
942Date:   2019-06-23 21:38:56 +0300
943
944    liblzma: Fix warnings from -Wsign-conversion.
945    
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).
949
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(-)
962
963commit 4ff87ddf80ed7cb233444cddd86ab1940b5b55ec
964Author: Lasse Collin <lasse.collin@tukaani.org>
965Date:   2019-06-23 19:33:55 +0300
966
967    tuklib_integer: Silence warnings from -Wsign-conversion.
968
969 src/common/tuklib_integer.h | 6 +++---
970 1 file changed, 3 insertions(+), 3 deletions(-)
971
972commit ed1a9d33984a3a37ae9a775a46859850d98ea4d0
973Author: Lasse Collin <lasse.collin@tukaani.org>
974Date:   2019-06-20 19:40:30 +0300
975
976    tuklib_integer: Fix usage of conv macros.
977    
978    Use a temporary variable instead of e.g.
979    conv32le(unaligned_read32ne(buf)) because the macro can
980    evaluate its argument multiple times.
981
982 src/common/tuklib_integer.h | 12 ++++++++----
983 1 file changed, 8 insertions(+), 4 deletions(-)
984
985commit 612c88dfc08e2c572623954ecfde541d21c84882
986Author: Lasse Collin <lasse.collin@tukaani.org>
987Date:   2019-06-03 20:44:19 +0300
988
989    Update THANKS.
990
991 THANKS | 1 +
992 1 file changed, 1 insertion(+)
993
994commit 85da31d8b882b8b9671ab3e3d74d88bd945cd0bb
995Author: Lasse Collin <lasse.collin@tukaani.org>
996Date:   2019-06-03 20:41:54 +0300
997
998    liblzma: Fix comments.
999    
1000    Thanks to Bruce Stark.
1001
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(-)
1009
1010commit 6a73a7889587aa394e236c7e9e4f870b44851036
1011Author: Lasse Collin <lasse.collin@tukaani.org>
1012Date:   2019-06-02 00:50:59 +0300
1013
1014    liblzma: Fix one more unaligned read to use unaligned_read16ne().
1015
1016 src/liblzma/lz/lz_encoder_hash.h | 2 +-
1017 1 file changed, 1 insertion(+), 1 deletion(-)
1018
1019commit ce59b34ec9ac344d62a57cad5f94f695f42cdaee
1020Author: Lasse Collin <lasse.collin@tukaani.org>
1021Date:   2019-06-01 21:41:55 +0300
1022
1023    Update THANKS.
1024
1025 THANKS | 1 +
1026 1 file changed, 1 insertion(+)
1027
1028commit 94aa3fb568fe41dd4925a961966ed5cf8213bd1f
1029Author: Lasse Collin <lasse.collin@tukaani.org>
1030Date:   2019-06-01 21:36:13 +0300
1031
1032    liblzma: memcmplen: Use ctz32() from tuklib_integer.h.
1033    
1034    The same compiler-specific #ifdefs are already in tuklib_integer.h
1035
1036 src/liblzma/common/memcmplen.h | 10 +---------
1037 1 file changed, 1 insertion(+), 9 deletions(-)
1038
1039commit 412791486dfb430219d8e30bcbebbfc57a99484a
1040Author: Lasse Collin <lasse.collin@tukaani.org>
1041Date:   2019-06-01 21:30:03 +0300
1042
1043    tuklib_integer: Cleanup MSVC-specific code.
1044
1045 src/common/tuklib_integer.h | 20 +++++++++-----------
1046 1 file changed, 9 insertions(+), 11 deletions(-)
1047
1048commit efbf6e5f0932e6c1a4250f91ee99059f449f2470
1049Author: Lasse Collin <lasse.collin@tukaani.org>
1050Date:   2019-06-01 19:01:21 +0300
1051
1052    liblzma: Use unaligned_readXXne functions instead of type punning.
1053    
1054    Now gcc -fsanitize=undefined should be clean.
1055    
1056    Thanks to Jeffrey Walton.
1057
1058 src/liblzma/common/memcmplen.h          | 12 ++++++------
1059 src/liblzma/lzma/lzma_encoder_private.h |  2 +-
1060 2 files changed, 7 insertions(+), 7 deletions(-)
1061
1062commit 29afef03486d461c23f57150ac5436684bff7811
1063Author: Lasse Collin <lasse.collin@tukaani.org>
1064Date:   2019-06-01 18:41:16 +0300
1065
1066    tuklib_integer: Improve unaligned memory access.
1067    
1068    Now memcpy() or GNU C packed structs for unaligned access instead
1069    of type punning. See the comment in this commit for details.
1070    
1071    Avoiding type punning with unaligned access is needed to
1072    silence gcc -fsanitize=undefined.
1073    
1074    New functions: unaliged_readXXne and unaligned_writeXXne where
1075    XX is 16, 32, or 64.
1076
1077 src/common/tuklib_integer.h | 180 +++++++++++++++++++++++++++++++++++++++++---
1078 1 file changed, 168 insertions(+), 12 deletions(-)
1079
1080commit 596ed3de4485a4b1d83b5fe506ae9d0a172139b4
1081Author: Lasse Collin <lasse.collin@tukaani.org>
1082Date:   2019-05-13 20:05:17 +0300
1083
1084    liblzma: Avoid memcpy(NULL, foo, 0) because it is undefined behavior.
1085    
1086    I should have always known this but I didn't. Here is an example
1087    as a reminder to myself:
1088    
1089        int mycopy(void *dest, void *src, size_t n)
1090        {
1091            memcpy(dest, src, n);
1092            return dest == NULL;
1093        }
1094    
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.
1101    
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
1106    fixed anyway.
1107    
1108    Thanks to Jeffrey Walton.
1109
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(-)
1114
1115commit b4b83555c576e1d845a2b98a193b23c021437804
1116Author: Lasse Collin <lasse.collin@tukaani.org>
1117Date:   2019-05-11 20:56:08 +0300
1118
1119    Update THANKS.
1120
1121 THANKS | 1 +
1122 1 file changed, 1 insertion(+)
1123
1124commit 8d4906262b45557ed164cd74adb270e6ef7f6f03
1125Author: Lasse Collin <lasse.collin@tukaani.org>
1126Date:   2019-05-11 20:54:12 +0300
1127
1128    xz: Update xz man page date.
1129
1130 src/xz/xz.1 | 2 +-
1131 1 file changed, 1 insertion(+), 1 deletion(-)
1132
1133commit 0d318402f8a022f707622c72f8f1894ea476cf89
1134Author: Antoine C��ur <antoine.coeur@ef.com>
1135Date:   2019-05-08 13:30:57 +0800
1136
1137    spelling
1138
1139 Doxyfile.in                            | 2 +-
1140 NEWS                                   | 2 +-
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 +-
1156 src/xz/xz.1                            | 2 +-
1157 windows/build.bash                     | 2 +-
1158 19 files changed, 21 insertions(+), 21 deletions(-)
1159
1160commit aeb3be8ac4c4b06a745c3799b80b38159fb78b1a
1161Author: Lasse Collin <lasse.collin@tukaani.org>
1162Date:   2019-03-04 22:49:04 +0200
1163
1164    README: Update translation instructions.
1165    
1166    XZ Utils is now part of the Translation Project
1167    <https://translationproject.org/>.
1168
1169 README | 32 +++++++++++++-------------------
1170 1 file changed, 13 insertions(+), 19 deletions(-)
1171
1172commit 0c238dc3feb0a3eea1e713feb8d338c8dfba9f74
1173Author: Lasse Collin <lasse.collin@tukaani.org>
1174Date:   2018-12-20 20:42:29 +0200
1175
1176    Update THANKS.
1177
1178 THANKS | 1 +
1179 1 file changed, 1 insertion(+)
1180
1181commit 3ca432d9cce4bf7e793de173dd22025b68611c42
1182Author: Lasse Collin <lasse.collin@tukaani.org>
1183Date:   2018-12-14 20:34:30 +0200
1184
1185    xz: Fix a crash in progress indicator when in passthru mode.
1186    
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().
1192    
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.
1196    
1197    Thanks to Filip Palian <Filip.Palian@pjwstk.edu.pl> for
1198    the bug report.
1199
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(-)
1204
1205commit fcc419e3c3f77a8b6fc5056a86b1b8abbe266e62
1206Author: Lasse Collin <lasse.collin@tukaani.org>
1207Date:   2018-11-22 17:20:31 +0200
1208
1209    xz: Update man page timestamp.
1210
1211 src/xz/xz.1 | 2 +-
1212 1 file changed, 1 insertion(+), 1 deletion(-)
1213
1214commit 5a2fc3cd0194e55df329dd29f805299aaca5f32f
1215Author: Pavel Raiskup <praiskup@redhat.com>
1216Date:   2018-11-22 15:14:34 +0100
1217
1218    'have have' typos
1219
1220 src/xz/signals.c | 2 +-
1221 src/xz/xz.1      | 2 +-
1222 2 files changed, 2 insertions(+), 2 deletions(-)
1223
1224commit 7143b04fe49390807f355b1dad686a3d8c4dbdcf
1225Author: Lasse Collin <lasse.collin@tukaani.org>
1226Date:   2018-07-27 18:10:44 +0300
1227
1228    xzless: Rename unused variables to silence static analysers.
1229    
1230    In this particular case I don't see this affecting readability
1231    of the code.
1232    
1233    Thanks to Pavel Raiskup.
1234
1235 src/scripts/xzless.in | 2 +-
1236 1 file changed, 1 insertion(+), 1 deletion(-)
1237
1238commit 273c33297bb69621045ed19665eaf8338bcf4a50
1239Author: Lasse Collin <lasse.collin@tukaani.org>
1240Date:   2018-07-27 16:02:58 +0300
1241
1242    liblzma: Remove an always-true condition from lzma_index_cat().
1243    
1244    This should help static analysis tools to see that newg
1245    isn't leaked.
1246    
1247    Thanks to Pavel Raiskup.
1248
1249 src/liblzma/common/index.c | 4 ++--
1250 1 file changed, 2 insertions(+), 2 deletions(-)
1251
1252commit 65b4aba6d06d2cd24ba9ad01fa389c238ad8f352
1253Author: Lasse Collin <lasse.collin@tukaani.org>
1254Date:   2018-05-19 21:23:25 +0300
1255
1256    liblzma: Improve lzma_properties_decode() API documentation.
1257
1258 src/liblzma/api/lzma/filter.h | 7 ++++---
1259 1 file changed, 4 insertions(+), 3 deletions(-)
1260
1261commit 531e78e5a253a3e2c4d4dd1505acaccee48f4083
1262Author: Lasse Collin <lasse.collin@tukaani.org>
1263Date:   2019-05-01 16:52:36 +0300
1264
1265    Update THANKS.
1266
1267 THANKS | 1 +
1268 1 file changed, 1 insertion(+)
1269
1270commit 905de7e93528ca5a47039e7e1e5270163f9fc67e
1271Author: Lasse Collin <lasse.collin@tukaani.org>
1272Date:   2019-05-01 16:43:16 +0300
1273
1274    Windows: Update VS version in windows/vs2019/config.h.
1275
1276 windows/vs2019/config.h | 2 +-
1277 1 file changed, 1 insertion(+), 1 deletion(-)
1278
1279commit 0ffd30e172fd18cc619823b2a86448bf56a67e22
1280Author: Julien Marrec <julien.marrec@gmail.com>
1281Date:   2019-04-25 17:44:06 +0200
1282
1283    Windows: Upgrade solution itself
1284
1285 windows/vs2019/xz_win.sln | 7 +++++--
1286 1 file changed, 5 insertions(+), 2 deletions(-)
1287
1288commit c2ef96685fc7ca36311649eeb2284b9808292040
1289Author: Julien Marrec <julien.marrec@gmail.com>
1290Date:   2019-04-25 17:40:24 +0200
1291
1292    Windows: Upgrade solution with VS2019
1293
1294 windows/vs2019/liblzma.vcxproj     | 15 ++++++++-------
1295 windows/vs2019/liblzma_dll.vcxproj | 15 ++++++++-------
1296 2 files changed, 16 insertions(+), 14 deletions(-)
1297
1298commit 25fccaf00bea399d8aa026e5b8fa254ce196e6e0
1299Author: Julien Marrec <julien.marrec@gmail.com>
1300Date:   2019-04-25 17:39:32 +0200
1301
1302    Windows: Duplicate windows/vs2017 before upgrading
1303
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(+)
1309
1310commit 1424078d6328291c7c524b64328ce9660617cb24
1311Author: Lasse Collin <lasse.collin@tukaani.org>
1312Date:   2019-01-13 17:29:23 +0200
1313
1314    Windows/VS2017: Omit WindowsTargetPlatformVersion from project files.
1315    
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:
1323    
1324    https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html
1325    
1326    Thanks to "dom".
1327
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(-)
1332
1333commit b5be61cc06088bb07f488f9baf7d447ff47b37c1
1334Author: Lasse Collin <lasse.collin@tukaani.org>
1335Date:   2018-04-29 19:00:06 +0300
1336
1337    Bump version and soname for 5.2.4.
1338
1339 src/liblzma/Makefile.am        | 2 +-
1340 src/liblzma/api/lzma/version.h | 2 +-
1341 2 files changed, 2 insertions(+), 2 deletions(-)
1342
1343commit c47fa6d06745bb2e99866e76b81ac7a9c5a8bfec
1344Author: Lasse Collin <lasse.collin@tukaani.org>
1345Date:   2018-04-29 18:48:00 +0300
1346
1347    extra/scanlzma: Fix compiler warnings.
1348
1349 extra/scanlzma/scanlzma.c | 6 +++++-
1350 1 file changed, 5 insertions(+), 1 deletion(-)
1351
1352commit 7b350fe21aa4fd6495a3b6188a40e3f1ae7c0edf
1353Author: Lasse Collin <lasse.collin@tukaani.org>
1354Date:   2018-04-29 18:15:37 +0300
1355
1356    Add NEWS for 5.2.4.
1357
1358 NEWS | 27 +++++++++++++++++++++++++++
1359 1 file changed, 27 insertions(+)
1360
1361commit 5801591162a280aa52d156dfde42c531ec7fd8b6
1362Author: Lasse Collin <lasse.collin@tukaani.org>
1363Date:   2018-02-06 19:36:30 +0200
1364
1365    Update THANKS.
1366
1367 THANKS | 2 ++
1368 1 file changed, 2 insertions(+)
1369
1370commit c4a616f4536146f8906e1b4412eefeec07b28fae
1371Author: Ben Boeckel <mathstuf@gmail.com>
1372Date:   2018-01-29 13:58:18 -0500
1373
1374    nothrow: use noexcept for C++11 and newer
1375    
1376    In C++11, the `throw()` specifier is deprecated and `noexcept` is
1377    preffered instead.
1378
1379 src/liblzma/api/lzma.h | 6 +++++-
1380 1 file changed, 5 insertions(+), 1 deletion(-)
1381
1382commit 0b8947782ff3c5ef830a7f85412e44dcf3cdeb77
1383Author: Lasse Collin <lasse.collin@tukaani.org>
1384Date:   2018-02-06 18:02:48 +0200
1385
1386    liblzma: Remove incorrect #ifdef from range_common.h.
1387    
1388    In most cases it was harmless but it could affect some
1389    custom build systems.
1390    
1391    Thanks to Pippijn van Steenhoven.
1392
1393 src/liblzma/rangecoder/range_common.h | 4 +---
1394 1 file changed, 1 insertion(+), 3 deletions(-)
1395
1396commit 48f3b9f73ffea7f55d5678997aba0e79d2e82168
1397Author: Lasse Collin <lasse.collin@tukaani.org>
1398Date:   2018-01-10 22:10:39 +0200
1399
1400    Update THANKS.
1401
1402 THANKS | 1 +
1403 1 file changed, 1 insertion(+)
1404
1405commit a3ce3e902342be37c626a561ce3d9ffcf27d0f94
1406Author: Lasse Collin <lasse.collin@tukaani.org>
1407Date:   2018-01-10 21:54:27 +0200
1408
1409    tuklib_integer: New Intel C compiler needs immintrin.h.
1410    
1411    Thanks to Melanie Blower (Intel) for the patch.
1412
1413 src/common/tuklib_integer.h | 11 +++++++++++
1414 1 file changed, 11 insertions(+)
1415
1416commit 4505ca483985f88c6923c05a43b4327feaab83b1
1417Author: Lasse Collin <lasse.collin@tukaani.org>
1418Date:   2017-09-24 20:04:24 +0300
1419
1420    Update THANKS.
1421
1422 THANKS | 1 +
1423 1 file changed, 1 insertion(+)
1424
1425commit 1ef3cc226e3ce173575c218238b71a4eecabc470
1426Author: Lasse Collin <lasse.collin@tukaani.org>
1427Date:   2017-09-16 20:36:20 +0300
1428
1429    Windows: Fix paths in VS project files.
1430    
1431    Some paths use slashes instead of backslashes as directory
1432    separators... now it should work (I tested VS2013 version).
1433
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(-)
1439
1440commit e775d2a8189d24f60470e6e49d8af881df3a1680
1441Author: Lasse Collin <lasse.collin@tukaani.org>
1442Date:   2017-09-16 12:54:23 +0300
1443
1444    Windows: Add project files for VS2017.
1445    
1446    These files match the v5.2 branch (no file info decoder).
1447
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(+)
1453
1454commit 10e02e0fbb6e2173f8b41f6e39b7b570f47dd74d
1455Author: Lasse Collin <lasse.collin@tukaani.org>
1456Date:   2017-09-16 12:39:43 +0300
1457
1458    Windows: Move VS2013 files into windows/vs2013 directory.
1459
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(-)
1465
1466commit 06eebd4543196ded36fa9b8b9544195b38b24ef2
1467Author: Lasse Collin <lasse.collin@tukaani.org>
1468Date:   2017-08-14 20:08:33 +0300
1469
1470    Fix or hide warnings from GCC 7's -Wimplicit-fallthrough.
1471
1472 src/liblzma/lzma/lzma_decoder.c | 6 ++++++
1473 src/xz/list.c                   | 2 ++
1474 2 files changed, 8 insertions(+)
1475
1476commit ea4ea1dffafebaa8b2770bf3eca46900e4dd22dc
1477Author: Alexey Tourbin <alexey.tourbin@gmail.com>
1478Date:   2017-05-16 23:56:35 +0300
1479
1480    Docs: Fix a typo in a comment in doc/examples/02_decompress.c.
1481
1482 doc/examples/02_decompress.c | 2 +-
1483 1 file changed, 1 insertion(+), 1 deletion(-)
1484
1485commit eb2ef4c79bf405ea0d215f3b1df3d0eaf5e1d27b
1486Author: Lasse Collin <lasse.collin@tukaani.org>
1487Date:   2017-05-23 18:34:43 +0300
1488
1489    xz: Fix "xz --list --robot missing_or_bad_file.xz".
1490    
1491    It ended up printing an uninitialized char-array when trying to
1492    print the check names (column 7) on the "totals" line.
1493    
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
1496    input files.
1497    
1498    Thanks to kidmin for the bug report.
1499
1500 src/xz/list.c | 8 ++++++--
1501 1 file changed, 6 insertions(+), 2 deletions(-)
1502
1503commit 3ea5dbd9b0d79048e336e40cef3b6d814fb74e13
1504Author: Lasse Collin <lasse.collin@tukaani.org>
1505Date:   2017-04-24 19:48:47 +0300
1506
1507    Build: Omit pre-5.0.0 entries from the generated ChangeLog.
1508    
1509    It makes ChangeLog significantly smaller.
1510
1511 Makefile.am | 3 ++-
1512 1 file changed, 2 insertions(+), 1 deletion(-)
1513
1514commit bae24675936df99064de1502593c006bd902594b
1515Author: Lasse Collin <lasse.collin@tukaani.org>
1516Date:   2017-04-24 19:30:22 +0300
1517
1518    Update the Git repository URL to HTTPS in ChangeLog.
1519
1520 ChangeLog | 2 +-
1521 1 file changed, 1 insertion(+), 1 deletion(-)
1522
1523commit 70f479211973b5361f4d7cb08ba5be69b4266e7a
1524Author: Lasse Collin <lasse.collin@tukaani.org>
1525Date:   2017-04-19 22:17:35 +0300
1526
1527    Update the home page URLs to HTTPS.
1528
1529 COPYING                     | 2 +-
1530 README                      | 2 +-
1531 configure.ac                | 2 +-
1532 doc/faq.txt                 | 4 ++--
1533 dos/config.h                | 2 +-
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(-)
1540
1541commit 2a4b2fa75d06a097261a02ecd3cf2b6d449bf754
1542Author: Lasse Collin <lasse.collin@tukaani.org>
1543Date:   2017-03-30 22:01:54 +0300
1544
1545    xz: Use POSIX_FADV_RANDOM for in "xz --list" mode.
1546    
1547    xz --list is random access so POSIX_FADV_SEQUENTIAL was clearly
1548    wrong.
1549
1550 src/xz/file_io.c | 10 ++++++++--
1551 1 file changed, 8 insertions(+), 2 deletions(-)
1552
1553commit eb25743ade39170cffd9566a1aae272098cce216
1554Author: Lasse Collin <lasse.collin@tukaani.org>
1555Date:   2017-03-30 19:47:45 +0300
1556
1557    liblzma: Fix lzma_memlimit_set(strm, 0).
1558    
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.
1562    
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().
1566    
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
1571    LZMA_MEMUSAGE_BASE.
1572
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(-)
1577
1578commit ef36c6362f3f3853f21b8a6359bcd06576ebf207
1579Author: Lasse Collin <lasse.collin@tukaani.org>
1580Date:   2017-03-30 19:16:55 +0300
1581
1582    liblzma: Similar memlimit fix for stream_, alone_, and auto_decoder.
1583
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(-)
1589
1590commit 57616032650f03840480b696d7878acdd2065521
1591Author: Lasse Collin <lasse.collin@tukaani.org>
1592Date:   2017-03-30 18:58:18 +0300
1593
1594    liblzma: Fix handling of memlimit == 0 in lzma_index_decoder().
1595    
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.
1599    
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.
1604    
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.
1609
1610 src/liblzma/api/lzma/index.h       | 18 +++++++++++-------
1611 src/liblzma/common/index_decoder.c |  4 ++--
1612 2 files changed, 13 insertions(+), 9 deletions(-)
1613
1614commit 3d566cd519017eee1a400e7961ff14058dfaf33c
1615Author: Lasse Collin <lasse.collin@tukaani.org>
1616Date:   2016-12-30 13:26:36 +0200
1617
1618    Bump version and soname for 5.2.3.
1619
1620 src/liblzma/Makefile.am        | 2 +-
1621 src/liblzma/api/lzma/version.h | 2 +-
1622 2 files changed, 2 insertions(+), 2 deletions(-)
1623
1624commit 053e624fe33795e779ff736f16ce44a129c829b5
1625Author: Lasse Collin <lasse.collin@tukaani.org>
1626Date:   2016-12-30 13:25:10 +0200
1627
1628    Update NEWS for 5.2.3.
1629
1630 NEWS | 39 +++++++++++++++++++++++++++++++++++++++
1631 1 file changed, 39 insertions(+)
1632
1633commit cae412b2b77d7fd88d187ed7659331709311f80d
1634Author: Lasse Collin <lasse.collin@tukaani.org>
1635Date:   2015-04-01 14:45:25 +0300
1636
1637    xz: Fix the Capsicum rights on user_abort_pipe.
1638
1639 src/xz/file_io.c | 6 +++++-
1640 1 file changed, 5 insertions(+), 1 deletion(-)
1641
1642commit 9ccbae41000572193b9a09e7102f9e84dc6d96de
1643Author: Lasse Collin <lasse.collin@tukaani.org>
1644Date:   2016-12-28 21:05:22 +0200
1645
1646    Mention potential sandboxing bugs in INSTALL.
1647
1648 INSTALL | 5 ++++-
1649 1 file changed, 4 insertions(+), 1 deletion(-)
1650
1651commit e013a337d3de77cce24360dffe956ea2339489b6
1652Author: Lasse Collin <lasse.collin@tukaani.org>
1653Date:   2016-11-21 20:24:50 +0200
1654
1655    liblzma: Avoid multiple definitions of lzma_coder structures.
1656    
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.
1661    
1662    Fixes:
1663    http://www.mail-archive.com/xz-devel@tukaani.org/msg00279.html
1664
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(-)
1701
1702commit 8e0f1af3dcaec00a3879cce8ad7441edc6359d1c
1703Author: Lasse Collin <lasse.collin@tukaani.org>
1704Date:   2016-12-26 20:50:25 +0200
1705
1706    Document --enable-sandbox configure option in INSTALL.
1707
1708 INSTALL | 25 +++++++++++++++++++++++++
1709 1 file changed, 25 insertions(+)
1710
1711commit ce2542d220de06acd618fd9f5c0a6683029fb4eb
1712Author: Lasse Collin <lasse.collin@tukaani.org>
1713Date:   2015-03-31 22:19:34 +0300
1714
1715    xz: Add support for sandboxing with Capsicum (disabled by default).
1716    
1717    In the v5.2 branch this feature is considered experimental
1718    and thus disabled by default.
1719    
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.
1726    
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
1732    been seen yet.
1733    
1734    Currently Capsicum is available on FreeBSD 10 and later
1735    and there is a port to Linux too.
1736    
1737    Thanks to Loganaden Velvindron for help.
1738
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(-)
1746
1747commit 3ca1d5e6320111043e19434da881065fadafa0e4
1748Author: Lasse Collin <lasse.collin@tukaani.org>
1749Date:   2015-03-31 21:12:30 +0300
1750
1751    Fix bugs and otherwise improve ax_check_capsicum.m4.
1752    
1753    AU_ALIAS was removed because the new version is incompatible
1754    with the old version.
1755    
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.
1761    
1762    It no longer does a useless search for the Capsicum library
1763    if the header wasn't found.
1764    
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.
1768    
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.
1773    
1774    The documentation was updated.
1775    
1776    Since there as no serial number, "#serial 2" was added.
1777
1778 m4/ax_check_capsicum.m4 | 103 ++++++++++++++++++++++++------------------------
1779 1 file changed, 51 insertions(+), 52 deletions(-)
1780
1781commit 5f3a742b64197fe8bedb6f05fc6ce5d177d11145
1782Author: Lasse Collin <lasse.collin@tukaani.org>
1783Date:   2015-03-31 19:20:24 +0300
1784
1785    Add m4/ax_check_capsicum.m4 for detecting Capsicum support.
1786    
1787    The file was loaded from this web page:
1788    https://github.com/google/capsicum-test/blob/dev/autoconf/m4/ax_check_capsicum.m4
1789    
1790    Thanks to Loganaden Velvindron for pointing it out for me.
1791
1792 m4/ax_check_capsicum.m4 | 86 +++++++++++++++++++++++++++++++++++++++++++++++++
1793 1 file changed, 86 insertions(+)
1794
1795commit d74377e62b4c649e40294dd441de72c0f092e67c
1796Author: Lasse Collin <lasse.collin@tukaani.org>
1797Date:   2015-10-12 20:29:09 +0300
1798
1799    liblzma: Fix a memory leak in error path of lzma_index_dup().
1800    
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
1806    index_stream_end().
1807    
1808    Thanks to Evan Nemerson for the bug report.
1809
1810 src/liblzma/common/index.c | 18 +++++++++---------
1811 1 file changed, 9 insertions(+), 9 deletions(-)
1812
1813commit f580732216dcf971f3f006fe8e01cd4979e1d964
1814Author: Lasse Collin <lasse.collin@tukaani.org>
1815Date:   2016-10-24 18:53:25 +0300
1816
1817    Update THANKS.
1818
1819 THANKS | 1 +
1820 1 file changed, 1 insertion(+)
1821
1822commit 88d7a7fd153bf1355cdf798ffdac7443d0169afc
1823Author: Lasse Collin <lasse.collin@tukaani.org>
1824Date:   2016-10-24 18:51:36 +0300
1825
1826    tuklib_cpucores: Add support for sched_getaffinity().
1827    
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.
1832    
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.
1838    
1839    Thanks to Sebastian Andrzej Siewior for the original patch
1840    and testing.
1841
1842 m4/tuklib_cpucores.m4        | 30 +++++++++++++++++++++++++++++-
1843 src/common/tuklib_cpucores.c |  9 +++++++++
1844 2 files changed, 38 insertions(+), 1 deletion(-)
1845
1846commit 51baf684376903dbeddd840582bfdf9fa91b311b
1847Author: Lasse Collin <lasse.collin@tukaani.org>
1848Date:   2016-06-30 20:27:36 +0300
1849
1850    xz: Fix copying of timestamps on Windows.
1851    
1852    xz used to call utime() on Windows, but its result gets lost
1853    on close(). Using _futime() seems to work.
1854    
1855    Thanks to Martok for reporting the bug:
1856    http://www.mail-archive.com/xz-devel@tukaani.org/msg00261.html
1857
1858 configure.ac     |  2 +-
1859 src/xz/file_io.c | 18 ++++++++++++++++++
1860 2 files changed, 19 insertions(+), 1 deletion(-)
1861
1862commit 1ddc479851139d6e8202e5835421bfe6578d9e07
1863Author: Lasse Collin <lasse.collin@tukaani.org>
1864Date:   2016-06-16 22:46:02 +0300
1865
1866    xz: Silence warnings from -Wlogical-op.
1867    
1868    Thanks to Evan Nemerson.
1869
1870 src/xz/file_io.c | 12 ++++++++++--
1871 1 file changed, 10 insertions(+), 2 deletions(-)
1872
1873commit be647ff5ed5a1c244a65722af6ce250259f3b14a
1874Author: Lasse Collin <lasse.collin@tukaani.org>
1875Date:   2016-04-10 20:55:49 +0300
1876
1877    Build: Fix = to += for xz_SOURCES in src/xz/Makefile.am.
1878    
1879    Thanks to Christian Kujau.
1880
1881 src/xz/Makefile.am | 2 +-
1882 1 file changed, 1 insertion(+), 1 deletion(-)
1883
1884commit fb6d50c15343831f35305982cefa82053099191d
1885Author: Lasse Collin <lasse.collin@tukaani.org>
1886Date:   2016-04-10 20:54:17 +0300
1887
1888    Build: Bump GNU Gettext version requirement to 0.19.
1889    
1890    It silences a few warnings and most people probably have
1891    0.19 even on stable distributions.
1892    
1893    Thanks to Christian Kujau.
1894
1895 configure.ac | 2 +-
1896 1 file changed, 1 insertion(+), 1 deletion(-)
1897
1898commit 74f8dad9f912a2993768d93d108ea2b0b2c196e0
1899Author: Lasse Collin <lasse.collin@tukaani.org>
1900Date:   2016-03-13 20:21:49 +0200
1901
1902    liblzma: Disable external SHA-256 by default.
1903    
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
1908    default.
1909    
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.
1913    
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.
1918    
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
1921    was removed.
1922
1923 INSTALL                   | 36 ++++++++++++++++++++++
1924 configure.ac              | 76 +++++++++++++++++++++++------------------------
1925 src/liblzma/check/check.h | 16 ++++------
1926 3 files changed, 79 insertions(+), 49 deletions(-)
1927
1928commit ea7f6ff04cb5bb1498088eb09960a4c3f13dfe39
1929Author: Lasse Collin <lasse.collin@tukaani.org>
1930Date:   2016-03-10 20:27:05 +0200
1931
1932    Update THANKS.
1933
1934 THANKS | 1 +
1935 1 file changed, 1 insertion(+)
1936
1937commit d0e018016b311232e82d9a98dc68f1e3dabce794
1938Author: Lasse Collin <lasse.collin@tukaani.org>
1939Date:   2016-03-10 20:26:49 +0200
1940
1941    Build: Avoid SHA256_Init on FreeBSD and MINIX 3.
1942    
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.
1947    
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.
1950    
1951    NetBSD has SHA256_Init in libc and they had a similar problem,
1952    but they already fixed it in 2009.
1953    
1954    Thanks to Jim Wilcoxson for the bug report that helped
1955    in finding the problem.
1956
1957 configure.ac | 27 +++++++++++++++++++++------
1958 1 file changed, 21 insertions(+), 6 deletions(-)
1959
1960commit 5daae123915f32a4ed6dc948b831533c2d1beec3
1961Author: Lasse Collin <lasse.collin@tukaani.org>
1962Date:   2015-11-08 20:16:10 +0200
1963
1964    tuklib_physmem: Hopefully silence a warning on Windows.
1965
1966 src/common/tuklib_physmem.c | 3 ++-
1967 1 file changed, 2 insertions(+), 1 deletion(-)
1968
1969commit 491acc406e098167ccb7fce0728b94c2f32cff9f
1970Author: Lasse Collin <lasse.collin@tukaani.org>
1971Date:   2015-11-04 23:17:43 +0200
1972
1973    Update THANKS.
1974
1975 THANKS | 1 +
1976 1 file changed, 1 insertion(+)
1977
1978commit 8173ff8790ad3502d04e1c07d014cb84a3b8187b
1979Author: Lasse Collin <lasse.collin@tukaani.org>
1980Date:   2015-11-04 23:14:00 +0200
1981
1982    liblzma: Make Valgrind happier with optimized (gcc -O2) liblzma.
1983    
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.
1988    
1989    Thanks to Rich Prohaska. I remember this being mentioned long
1990    ago by someone else but nothing was done back then.
1991
1992 src/liblzma/lz/lz_encoder.c | 4 ++++
1993 1 file changed, 4 insertions(+)
1994
1995commit 013de2b5ab8094d2c82a2771f3d143eeb656eda9
1996Author: Lasse Collin <lasse.collin@tukaani.org>
1997Date:   2015-11-03 20:55:45 +0200
1998
1999    liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c.
2000    
2001    It would be too annoying to update other build systems
2002    just because of this.
2003
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(-)
2007
2008commit a322f70ad96de88968c2c36e6a36bc08ae30bd20
2009Author: Lasse Collin <lasse.collin@tukaani.org>
2010Date:   2015-11-03 20:47:07 +0200
2011
2012    Build: Disable xzdec, lzmadec, and lzmainfo when they cannot be built.
2013    
2014    They all need decoder support and if that isn't available,
2015    there's no point trying to build them.
2016
2017 configure.ac | 3 +++
2018 1 file changed, 3 insertions(+)
2019
2020commit 8ea49606cf6427e32319de7693eca9e43f1c8ad6
2021Author: Lasse Collin <lasse.collin@tukaani.org>
2022Date:   2015-11-03 20:35:19 +0200
2023
2024    Build: Simplify $enable_{encoders,decoders} usage a bit.
2025
2026 configure.ac | 6 ++++--
2027 1 file changed, 4 insertions(+), 2 deletions(-)
2028
2029commit 42131a25e52bfe400acfa7df93469a96bb78bb78
2030Author: Lasse Collin <lasse.collin@tukaani.org>
2031Date:   2015-11-03 20:31:31 +0200
2032
2033    Windows/MSVC: Update config.h.
2034
2035 windows/config.h | 6 ++++++
2036 1 file changed, 6 insertions(+)
2037
2038commit e9184e87cc989d14c7413e6adb3eca98f6ae0290
2039Author: Lasse Collin <lasse.collin@tukaani.org>
2040Date:   2015-11-03 20:29:58 +0200
2041
2042    DOS: Update config.h.
2043
2044 dos/config.h | 6 ++++++
2045 1 file changed, 6 insertions(+)
2046
2047commit 2296778f3c9a1e3a8699973b09dd3610b8baa402
2048Author: Lasse Collin <lasse.collin@tukaani.org>
2049Date:   2015-11-03 20:29:33 +0200
2050
2051    xz: Make xz buildable even when encoders or decoders are disabled.
2052    
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.
2055    
2056    This adds two new #defines to config.h: HAVE_ENCODERS and
2057    HAVE_DECODERS.
2058
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(-)
2066
2067commit 97a3109281e475d9cf1b5095237d672fa0ad25e5
2068Author: Lasse Collin <lasse.collin@tukaani.org>
2069Date:   2015-11-03 18:06:40 +0200
2070
2071    Build: Build LZMA1/2 presets also when only decoder is wanted.
2072    
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
2075    options anyway.
2076    
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.
2079
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(-)
2083
2084commit dc6b78d7f0f6fe43e9d4215146e8581feb8090e7
2085Author: Lasse Collin <lasse.collin@tukaani.org>
2086Date:   2015-11-03 17:54:48 +0200
2087
2088    Build: Fix configure to handle LZMA1 dependency with LZMA2.
2089    
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.
2093
2094 configure.ac | 5 -----
2095 1 file changed, 5 deletions(-)
2096
2097commit 46d76c9cd3cb26a31f5ae6c3a8bbcf38e6da1add
2098Author: Lasse Collin <lasse.collin@tukaani.org>
2099Date:   2015-11-03 17:41:54 +0200
2100
2101    Build: Don't omit lzma_cputhreads() unless using --disable-threads.
2102    
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.
2106
2107 src/liblzma/common/Makefile.inc | 5 ++++-
2108 1 file changed, 4 insertions(+), 1 deletion(-)
2109
2110commit 16d68f874d89f1e4a1919786a35bbaef7d71a077
2111Author: Lasse Collin <lasse.collin@tukaani.org>
2112Date:   2015-11-02 18:16:51 +0200
2113
2114    liblzma: Fix a build failure related to external SHA-256 support.
2115    
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
2118    failed.
2119
2120 src/liblzma/check/check.h | 32 +++++++++++++++++++++++---------
2121 1 file changed, 23 insertions(+), 9 deletions(-)
2122
2123commit d9311647fc1ab512a3394596221ab8039c00af6b
2124Author: Lasse Collin <lasse.collin@tukaani.org>
2125Date:   2015-11-02 15:19:10 +0200
2126
2127    xz: Always close the file before trying to delete it.
2128    
2129    unlink() can return EBUSY in errno for open files on some
2130    operating systems and file systems.
2131
2132 src/xz/file_io.c | 25 ++++++++++++-------------
2133 1 file changed, 12 insertions(+), 13 deletions(-)
2134
2135commit f59c4183f3c9066626ce45dc3db4642fa603fa21
2136Author: Lasse Collin <lasse.collin@tukaani.org>
2137Date:   2015-10-12 21:08:42 +0300
2138
2139    Update THANKS.
2140
2141 THANKS | 1 +
2142 1 file changed, 1 insertion(+)
2143
2144commit 35f189673e280c12e4c5129f9f97e54eef3bbc04
2145Author: Lasse Collin <lasse.collin@tukaani.org>
2146Date:   2015-10-12 21:07:41 +0300
2147
2148    Tests: Add tests for the two bugs fixed in index.c.
2149
2150 tests/test_index.c | 30 ++++++++++++++++++++++++++++++
2151 1 file changed, 30 insertions(+)
2152
2153commit e10bfdb0fcaff12f3a6dadee51e0a022aadccb51
2154Author: Lasse Collin <lasse.collin@tukaani.org>
2155Date:   2015-10-12 20:45:15 +0300
2156
2157    liblzma: Fix lzma_index_dup() for empty Streams.
2158    
2159    Stream Flags and Stream Padding weren't copied from
2160    empty Streams.
2161
2162 src/liblzma/common/index.c | 11 ++++++-----
2163 1 file changed, 6 insertions(+), 5 deletions(-)
2164
2165commit 06f434bd8980f25ca23232eb7bb7df7e37dc8448
2166Author: Lasse Collin <lasse.collin@tukaani.org>
2167Date:   2015-10-12 20:31:44 +0300
2168
2169    liblzma: Add a note to index.c for those using static analyzers.
2170
2171 src/liblzma/common/index.c | 3 +++
2172 1 file changed, 3 insertions(+)
2173
2174commit 9815cdf6987ef91a85493bfcfd1ce2aaf3b47a0a
2175Author: Lasse Collin <lasse.collin@tukaani.org>
2176Date:   2015-09-29 13:59:35 +0300
2177
2178    Bump version and soname for 5.2.2.
2179
2180 src/liblzma/Makefile.am        | 2 +-
2181 src/liblzma/api/lzma/version.h | 2 +-
2182 2 files changed, 2 insertions(+), 2 deletions(-)
2183
2184commit cbe0cec8476bdd0416c7ca9bc83895c9bea1cf78
2185Author: Lasse Collin <lasse.collin@tukaani.org>
2186Date:   2015-09-29 13:57:28 +0300
2187
2188    Update NEWS for 5.2.2.
2189
2190 NEWS | 18 ++++++++++++++++++
2191 1 file changed, 18 insertions(+)
2192
2193commit 49427ce7eececdd18bbd35dab23c81910d083e1c
2194Author: Andre Noll <maan@tuebingen.mpg.de>
2195Date:   2015-05-28 15:50:00 +0200
2196
2197    Fix typo in German translation.
2198    
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.
2203
2204 po/de.po | 2 +-
2205 1 file changed, 1 insertion(+), 1 deletion(-)
2206
2207commit 608d6f06c940e7f28c25de005e8b99bdff42d27c
2208Author: Hauke Henningsen <sqrt@entless.org>
2209Date:   2015-08-17 04:59:54 +0200
2210
2211    Update German translation, mostly wrt orthography
2212    
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
2221      a process.
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
2228    
2229    Acked-By: Andre Noll <maan@tuebingen.mpg.de>
2230    
2231    * Update after msgmerge
2232
2233 po/de.po | 383 ++++++++++++++++++++++++++++++++-------------------------------
2234 1 file changed, 196 insertions(+), 187 deletions(-)
2235
2236commit c8988414e5b67b8ef2fe0ba7b1ccdd0ec73c60d3
2237Author: Lasse Collin <lasse.collin@tukaani.org>
2238Date:   2015-08-11 13:23:04 +0300
2239
2240    Build: Minor Cygwin cleanup.
2241    
2242    Some tests used "cygwin*" and some used "cygwin". I changed
2243    them all to use "cygwin". Shouldn't affect anything in practice.
2244
2245 configure.ac | 6 +++---
2246 1 file changed, 3 insertions(+), 3 deletions(-)
2247
2248commit 85a6dfed53477906bfe9a7c0123dd412e391cb48
2249Author: Lasse Collin <lasse.collin@tukaani.org>
2250Date:   2015-08-11 13:21:52 +0300
2251
2252    Build: Support building of MSYS2 binaries.
2253
2254 configure.ac | 16 +++++++++++-----
2255 1 file changed, 11 insertions(+), 5 deletions(-)
2256
2257commit 77f270be8432df2e4516a0c48814b6976d6618c5
2258Author: Lasse Collin <lasse.collin@tukaani.org>
2259Date:   2015-08-09 21:06:26 +0300
2260
2261    Windows: Define DLL_EXPORT when building liblzma.dll with MSVC.
2262    
2263    src/liblzma/common/common.h uses it to set __declspec(dllexport)
2264    for the API symbols.
2265    
2266    Thanks to Adam Walling.
2267
2268 windows/liblzma_dll.vcxproj | 12 ++++++------
2269 1 file changed, 6 insertions(+), 6 deletions(-)
2270
2271commit 8c975446c5903090a5a8493b5b96b71003056a88
2272Author: Lasse Collin <lasse.collin@tukaani.org>
2273Date:   2015-08-09 21:02:20 +0300
2274
2275    Windows: Omit unneeded header files from MSVC project files.
2276
2277 windows/liblzma.vcxproj     | 5 -----
2278 windows/liblzma_dll.vcxproj | 5 -----
2279 2 files changed, 10 deletions(-)
2280
2281commit 119a00434954726ca58e4a578e6469f530fca30e
2282Author: Lasse Collin <lasse.collin@tukaani.org>
2283Date:   2015-07-12 20:48:19 +0300
2284
2285    liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer.
2286
2287 src/liblzma/api/lzma.h | 18 +++++++++++++-----
2288 1 file changed, 13 insertions(+), 5 deletions(-)
2289
2290commit d4e7c557fcab353539c9481a8d95cb04bcb15c7c
2291Author: Lasse Collin <lasse.collin@tukaani.org>
2292Date:   2015-06-19 20:38:55 +0300
2293
2294    Update THANKS.
2295
2296 THANKS | 2 ++
2297 1 file changed, 2 insertions(+)
2298
2299commit 98001740ca56c894a7bd32eb47e9857a8a7d878d
2300Author: Lasse Collin <lasse.collin@tukaani.org>
2301Date:   2015-06-19 20:21:30 +0300
2302
2303    Windows: Update the docs.
2304
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(-)
2309
2310commit 28195e4c877007cc760ecea1d17f740693d66873
2311Author: Lasse Collin <lasse.collin@tukaani.org>
2312Date:   2015-06-19 17:25:31 +0300
2313
2314    Windows: Add MSVC project files for building liblzma.
2315    
2316    Thanks to Adam Walling for creating these files.
2317
2318 windows/liblzma.vcxproj     | 359 ++++++++++++++++++++++++++++++++++++++++
2319 windows/liblzma_dll.vcxproj | 388 ++++++++++++++++++++++++++++++++++++++++++++
2320 windows/xz_win.sln          |  48 ++++++
2321 3 files changed, 795 insertions(+)
2322
2323commit 960440f3230dc628f6966d9f7614fc1b28baf44e
2324Author: Lasse Collin <lasse.collin@tukaani.org>
2325Date:   2015-05-13 20:57:55 +0300
2326
2327    Tests: Fix a memory leak in test_bcj_exact_size.
2328    
2329    Thanks to Cristian Rodr��guez.
2330
2331 tests/test_bcj_exact_size.c | 1 +
2332 1 file changed, 1 insertion(+)
2333
2334commit 68cd35acafbdcdf4e8ea8b5bb843c736939d6f8b
2335Author: Lasse Collin <lasse.collin@tukaani.org>
2336Date:   2015-05-12 18:08:24 +0300
2337
2338    Fix NEWS about threading in 5.2.0.
2339    
2340    Thanks to Andy Hochhaus.
2341
2342 NEWS | 3 ++-
2343 1 file changed, 2 insertions(+), 1 deletion(-)
2344
2345commit ff96ed6d25786728356017a13baf8c14731b4f1e
2346Author: Lasse Collin <lasse.collin@tukaani.org>
2347Date:   2015-05-11 21:26:16 +0300
2348
2349    xz: Document that threaded decompression hasn't been implemented yet.
2350
2351 src/xz/xz.1 | 10 +++++++++-
2352 1 file changed, 9 insertions(+), 1 deletion(-)
2353
2354commit 00d37b64a64ea8597fd2422d5187afd761ab9531
2355Author: Lasse Collin <lasse.collin@tukaani.org>
2356Date:   2015-04-20 20:20:29 +0300
2357
2358    Update THANKS.
2359
2360 THANKS | 1 +
2361 1 file changed, 1 insertion(+)
2362
2363commit db190a832c49ca3aed6d69cc992fa5583cae7b11
2364Author: Lasse Collin <lasse.collin@tukaani.org>
2365Date:   2015-04-20 19:59:18 +0300
2366
2367    Revert "xz: Use pipe2() if available."
2368    
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.
2374    
2375    Thanks to Michael Fox for the bug report.
2376
2377 configure.ac     | 4 ++--
2378 src/xz/file_io.c | 9 +--------
2379 2 files changed, 3 insertions(+), 10 deletions(-)
2380
2381commit eccd8155e107c5ada03d13e7730675cdf1a44ddc
2382Author: Lasse Collin <lasse.collin@tukaani.org>
2383Date:   2015-03-29 22:14:47 +0300
2384
2385    Update THANKS.
2386
2387 THANKS | 1 +
2388 1 file changed, 1 insertion(+)
2389
2390commit 25263fd9e7a8a913395cb93d7c104cd48c2b4a00
2391Author: Lasse Collin <lasse.collin@tukaani.org>
2392Date:   2015-03-29 22:13:48 +0300
2393
2394    Fix the detection of installed RAM on QNX.
2395    
2396    The earlier version compiled but didn't actually work
2397    since sysconf(_SC_PHYS_PAGES) always fails (or so I was told).
2398    
2399    Thanks to Ole Andr�� Vadla Ravn��s for the patch and testing.
2400
2401 m4/tuklib_physmem.m4        |  6 +++---
2402 src/common/tuklib_physmem.c | 14 +++++++++++++-
2403 2 files changed, 16 insertions(+), 4 deletions(-)
2404
2405commit 4c544d2410903d38402221cb783ed85585b6a007
2406Author: Lasse Collin <lasse.collin@tukaani.org>
2407Date:   2015-03-27 22:39:07 +0200
2408
2409    Fix CPU core count detection on QNX.
2410    
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.
2415    
2416    sysconf() works. An alternative would have been to use
2417    QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>.
2418    
2419    Thanks to Ole Andr�� Vadla Ravn��s.
2420
2421 m4/tuklib_cpucores.m4 | 15 +++++++++++----
2422 1 file changed, 11 insertions(+), 4 deletions(-)
2423
2424commit e0ea6737b03e83ccaff4514d00e31bb926f8f0f3
2425Author: Lasse Collin <lasse.collin@tukaani.org>
2426Date:   2015-03-07 22:05:57 +0200
2427
2428    xz: size_t/uint32_t cleanup in options.c.
2429
2430 src/xz/options.c | 12 ++++++------
2431 1 file changed, 6 insertions(+), 6 deletions(-)
2432
2433commit 8bcca29a65335fd679c13814b70b35b68fa5daed
2434Author: Lasse Collin <lasse.collin@tukaani.org>
2435Date:   2015-03-07 22:04:23 +0200
2436
2437    xz: Fix a comment and silence a warning in message.c.
2438
2439 src/xz/message.c | 5 +++--
2440 1 file changed, 3 insertions(+), 2 deletions(-)
2441
2442commit f243f5f44c6b19a7c289a0ec73a03ee08364cb5b
2443Author: Lasse Collin <lasse.collin@tukaani.org>
2444Date:   2015-03-07 22:01:00 +0200
2445
2446    liblzma: Silence more uint32_t vs. size_t warnings.
2447
2448 src/liblzma/lz/lz_encoder.c     | 2 +-
2449 src/liblzma/lzma/lzma_encoder.c | 2 +-
2450 2 files changed, 2 insertions(+), 2 deletions(-)
2451
2452commit 7f0a4c50f4a374c40acf4b86848f301ad1e82d34
2453Author: Lasse Collin <lasse.collin@tukaani.org>
2454Date:   2015-03-07 19:54:00 +0200
2455
2456    xz: Make arg_count an unsigned int to silence a warning.
2457    
2458    Actually the value of arg_count cannot exceed INT_MAX
2459    but it's nicer as an unsigned int.
2460
2461 src/xz/args.h | 2 +-
2462 src/xz/main.c | 2 +-
2463 2 files changed, 2 insertions(+), 2 deletions(-)
2464
2465commit f6ec46801588b1be29c07c9db98558b521304002
2466Author: Lasse Collin <lasse.collin@tukaani.org>
2467Date:   2015-03-07 19:33:17 +0200
2468
2469    liblzma: Fix a warning in index.c.
2470
2471 src/liblzma/common/index.c | 4 +++-
2472 1 file changed, 3 insertions(+), 1 deletion(-)
2473
2474commit a24518971cc621315af142dd3bb7614fab04ad27
2475Author: Lasse Collin <lasse.collin@tukaani.org>
2476Date:   2015-02-26 20:46:14 +0200
2477
2478    Build: Fix a CR+LF problem when running autoreconf -fi on OS/2.
2479
2480 build-aux/version.sh | 2 +-
2481 1 file changed, 1 insertion(+), 1 deletion(-)
2482
2483commit dec11497a71518423b5ff0e759100cf8aadf6c7b
2484Author: Lasse Collin <lasse.collin@tukaani.org>
2485Date:   2015-02-26 16:53:44 +0200
2486
2487    Bump version and soname for 5.2.1.
2488
2489 src/liblzma/Makefile.am        | 2 +-
2490 src/liblzma/api/lzma/version.h | 2 +-
2491 2 files changed, 2 insertions(+), 2 deletions(-)
2492
2493commit 29e39c79975ab89ee5dd671e97064534a9f3a649
2494Author: Lasse Collin <lasse.collin@tukaani.org>
2495Date:   2015-02-26 13:01:09 +0200
2496
2497    Update NEWS for 5.2.1.
2498
2499 NEWS | 14 ++++++++++++++
2500 1 file changed, 14 insertions(+)
2501
2502commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd
2503Author: Lasse Collin <lasse.collin@tukaani.org>
2504Date:   2015-02-22 19:38:48 +0200
2505
2506    xz: Use pipe2() if available.
2507
2508 configure.ac     | 4 ++--
2509 src/xz/file_io.c | 9 ++++++++-
2510 2 files changed, 10 insertions(+), 3 deletions(-)
2511
2512commit 117d962685c72682c63edc9bb765367189800202
2513Author: Lasse Collin <lasse.collin@tukaani.org>
2514Date:   2015-02-21 23:40:26 +0200
2515
2516    liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode.
2517    
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.
2522
2523 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
2524 1 file changed, 1 insertion(+), 1 deletion(-)
2525
2526commit ae984e31c167d3bc52972ec422dd1ebd5f5d5719
2527Author: Lasse Collin <lasse.collin@tukaani.org>
2528Date:   2015-02-21 23:00:19 +0200
2529
2530    xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick.
2531    
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.
2534
2535 src/xz/file_io.c | 16 +++++++++++-----
2536 1 file changed, 11 insertions(+), 5 deletions(-)
2537
2538commit 2205bb5853098aea36a56df6f5747037175f66b4
2539Author: Lasse Collin <lasse.collin@tukaani.org>
2540Date:   2015-02-10 15:29:34 +0200
2541
2542    Update THANKS.
2543
2544 THANKS | 1 +
2545 1 file changed, 1 insertion(+)
2546
2547commit d935b0cdf3db440269b9d952b2b281b18f8c7b08
2548Author: Lasse Collin <lasse.collin@tukaani.org>
2549Date:   2015-02-10 15:28:30 +0200
2550
2551    tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available.
2552    
2553    In FreeBSD, cpuset_getaffinity() is the preferred way to get
2554    the number of available cores.
2555    
2556    Thanks to Rui Paulo for the patch. I edited it slightly, but
2557    hopefully I didn't break anything.
2558
2559 m4/tuklib_cpucores.m4        | 23 ++++++++++++++++++++++-
2560 src/common/tuklib_cpucores.c | 18 ++++++++++++++++++
2561 2 files changed, 40 insertions(+), 1 deletion(-)
2562
2563commit eb61bc58c20769cac4d05f363b9c0e8c9c71a560
2564Author: Lasse Collin <lasse.collin@tukaani.org>
2565Date:   2015-02-09 22:08:37 +0200
2566
2567    xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp.
2568    
2569    Thanks to Rui Paulo for the fix.
2570
2571 src/scripts/xzdiff.in | 7 ++++++-
2572 1 file changed, 6 insertions(+), 1 deletion(-)
2573
2574commit b9a5b6b7a29029680af733082b6a46e0fc01623a
2575Author: Lasse Collin <lasse.collin@tukaani.org>
2576Date:   2015-02-03 21:45:53 +0200
2577
2578    Add a few casts to tuklib_integer.h to silence possible warnings.
2579    
2580    I heard that Visual Studio 2013 gave warnings without the casts.
2581    
2582    Thanks to Gabi Davar.
2583
2584 src/common/tuklib_integer.h | 24 ++++++++++++------------
2585 1 file changed, 12 insertions(+), 12 deletions(-)
2586
2587commit c45757135f40e4a0de730ba5fff0100219493982
2588Author: Lasse Collin <lasse.collin@tukaani.org>
2589Date:   2015-01-26 21:24:39 +0200
2590
2591    liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method.
2592
2593 src/liblzma/common/memcmplen.h | 15 ++++++++++-----
2594 1 file changed, 10 insertions(+), 5 deletions(-)
2595
2596commit 3c500174ed5485f550972a2a6109c361e875f069
2597Author: Lasse Collin <lasse.collin@tukaani.org>
2598Date:   2015-01-26 20:40:16 +0200
2599
2600    Update THANKS.
2601
2602 THANKS | 1 +
2603 1 file changed, 1 insertion(+)
2604
2605commit fec88d41e672d9e197c9442aecf02bd0dfa6d516
2606Author: Lasse Collin <lasse.collin@tukaani.org>
2607Date:   2015-01-26 20:39:28 +0200
2608
2609    liblzma: Silence harmless Valgrind errors.
2610    
2611    Thanks to Torsten Rupp for reporting this. I had
2612    forgotten to run Valgrind before the 5.2.0 release.
2613
2614 src/liblzma/lz/lz_encoder.c | 6 ++++++
2615 1 file changed, 6 insertions(+)
2616
2617commit a9b45badfec0928d20a27c7176c005fa637f7d1e
2618Author: Lasse Collin <lasse.collin@tukaani.org>
2619Date:   2015-01-09 21:50:19 +0200
2620
2621    xz: Fix comments.
2622
2623 src/xz/file_io.c | 12 ++++++++----
2624 1 file changed, 8 insertions(+), 4 deletions(-)
2625
2626commit 541aee6dd4aa97a809aba281475a21b641bb89e2
2627Author: Lasse Collin <lasse.collin@tukaani.org>
2628Date:   2015-01-09 21:35:06 +0200
2629
2630    Update THANKS.
2631
2632 THANKS | 1 +
2633 1 file changed, 1 insertion(+)
2634
2635commit 4170edc914655310d2363baccf5e615e09b04911
2636Author: Lasse Collin <lasse.collin@tukaani.org>
2637Date:   2015-01-09 21:34:06 +0200
2638
2639    xz: Don't fail if stdout doesn't support O_NONBLOCK.
2640    
2641    This is similar to the case with stdin.
2642    
2643    Thanks to Brad Smith for the bug report and testing
2644    on OpenBSD.
2645
2646 src/xz/file_io.c | 36 +++++++++++++++---------------------
2647 1 file changed, 15 insertions(+), 21 deletions(-)
2648
2649commit 04bbc0c2843c50c8ad1cba42b937118e38b0508d
2650Author: Lasse Collin <lasse.collin@tukaani.org>
2651Date:   2015-01-07 19:18:20 +0200
2652
2653    xz: Fix a memory leak in DOS-specific code.
2654
2655 src/xz/file_io.c | 2 ++
2656 1 file changed, 2 insertions(+)
2657
2658commit f0f1f6c7235ffa901cf76fe18e33749e200b3eea
2659Author: Lasse Collin <lasse.collin@tukaani.org>
2660Date:   2015-01-07 19:08:06 +0200
2661
2662    xz: Don't fail if stdin doesn't support O_NONBLOCK.
2663    
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
2667    in POSIX-1.2008.
2668    
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.
2672
2673 src/xz/file_io.c | 18 +++++++-----------
2674 1 file changed, 7 insertions(+), 11 deletions(-)
2675
2676commit d2d484647d9d9d679f03c75abb0404f67069271c
2677Author: Lasse Collin <lasse.collin@tukaani.org>
2678Date:   2015-01-06 20:30:15 +0200
2679
2680    Tests: Don't hide unexpected error messages in test_files.sh.
2681    
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.
2685
2686 tests/test_files.sh | 4 ++--
2687 1 file changed, 2 insertions(+), 2 deletions(-)
2688
2689commit aae6a6aeda51cf94a47e39ad624728f9bee75e30
2690Author: Lasse Collin <lasse.collin@tukaani.org>
2691Date:   2014-12-30 11:17:16 +0200
2692
2693    Update Solaris notes in INSTALL.
2694    
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
2698    section too.
2699
2700 INSTALL | 4 ++++
2701 1 file changed, 4 insertions(+)
2702
2703commit 7815112153178800a3521b9f31960e7cdc26cfba
2704Author: Lasse Collin <lasse.collin@tukaani.org>
2705Date:   2014-12-26 12:00:05 +0200
2706
2707    Build: POSIX shell isn't required if scripts are disabled.
2708
2709 INSTALL      | 3 ++-
2710 configure.ac | 2 +-
2711 2 files changed, 3 insertions(+), 2 deletions(-)
2712
2713commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a
2714Author: Lasse Collin <lasse.collin@tukaani.org>
2715Date:   2014-12-21 20:48:37 +0200
2716
2717    DOS: Update Makefile.
2718
2719 dos/Makefile | 1 +
2720 1 file changed, 1 insertion(+)
2721
2722commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e
2723Author: Lasse Collin <lasse.collin@tukaani.org>
2724Date:   2014-12-21 19:50:38 +0200
2725
2726    Windows: Fix bin_i486 to bin_i686 in build.bash.
2727
2728 windows/build.bash | 2 +-
2729 1 file changed, 1 insertion(+), 1 deletion(-)
2730
2731commit cbafa710918195dbba3db02c3fab4f0538235206
2732Author: Lasse Collin <lasse.collin@tukaani.org>
2733Date:   2014-12-21 18:58:44 +0200
2734
2735    Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c.
2736
2737 doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++----
2738 1 file changed, 26 insertions(+), 4 deletions(-)
2739
2740commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a
2741Author: Lasse Collin <lasse.collin@tukaani.org>
2742Date:   2014-12-21 18:56:44 +0200
2743
2744    Docs: Update docs/examples/00_README.txt.
2745
2746 doc/examples/00_README.txt | 4 ++++
2747 1 file changed, 4 insertions(+)
2748
2749commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6
2750Author: Lasse Collin <lasse.collin@tukaani.org>
2751Date:   2014-12-21 18:11:17 +0200
2752
2753    Bump version and soname for 5.2.0.
2754    
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.
2759
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(-)
2764
2765commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da
2766Author: Lasse Collin <lasse.collin@tukaani.org>
2767Date:   2014-12-21 18:05:03 +0200
2768
2769    Avoid variable-length arrays in the debug programs.
2770
2771 debug/full_flush.c | 3 ++-
2772 debug/sync_flush.c | 3 ++-
2773 2 files changed, 4 insertions(+), 2 deletions(-)
2774
2775commit 72f7307cfdceb941aeb2bf30d424cc0d13621786
2776Author: Lasse Collin <lasse.collin@tukaani.org>
2777Date:   2014-12-21 18:01:45 +0200
2778
2779    Build: Include 04_compress_easy_mt.c in the tarball.
2780
2781 Makefile.am | 1 +
2782 1 file changed, 1 insertion(+)
2783
2784commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0
2785Author: Lasse Collin <lasse.collin@tukaani.org>
2786Date:   2014-12-21 18:00:38 +0200
2787
2788    Fix build when --disable-threads is used.
2789
2790 src/common/mythread.h | 2 ++
2791 1 file changed, 2 insertions(+)
2792
2793commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17
2794Author: Adrien Nader <adrien@notk.org>
2795Date:   2014-12-21 15:56:15 +0100
2796
2797    po/fr: improve wording for help for --lzma1/--lzma2.
2798
2799 po/fr.po | 2 +-
2800 1 file changed, 1 insertion(+), 1 deletion(-)
2801
2802commit a8b6b569e7fadbf5b5b9139d53bc764015c15027
2803Author: Adrien Nader <adrien@notk.org>
2804Date:   2014-12-21 15:55:48 +0100
2805
2806    po/fr: missing line in translation of --extreme.
2807
2808 po/fr.po | 1 +
2809 1 file changed, 1 insertion(+)
2810
2811commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9
2812Author: Lasse Collin <lasse.collin@tukaani.org>
2813Date:   2014-12-21 14:32:33 +0200
2814
2815    Update NEWS for 5.2.0.
2816
2817 NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2818 1 file changed, 65 insertions(+)
2819
2820commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429
2821Author: Lasse Collin <lasse.collin@tukaani.org>
2822Date:   2014-12-21 14:32:22 +0200
2823
2824    Update NEWS for 5.0.8.
2825
2826 NEWS | 12 ++++++++++++
2827 1 file changed, 12 insertions(+)
2828
2829commit 42e97a32649bf53ce43be2258b902a417c6e7fa1
2830Author: Lasse Collin <lasse.collin@tukaani.org>
2831Date:   2014-12-21 14:07:54 +0200
2832
2833    xz: Fix a comment.
2834
2835 src/xz/options.c | 4 ++--
2836 1 file changed, 2 insertions(+), 2 deletions(-)
2837
2838commit 29b95d5d6665cedffa6a9d6d3d914f981e852182
2839Author: Lasse Collin <lasse.collin@tukaani.org>
2840Date:   2014-12-20 20:43:14 +0200
2841
2842    Update INSTALL about the dependencies of the scripts.
2843
2844 INSTALL | 15 ++++++++++-----
2845 1 file changed, 10 insertions(+), 5 deletions(-)
2846
2847commit 3af91040bb42c21afbb81f5568c3313125e61192
2848Author: Lasse Collin <lasse.collin@tukaani.org>
2849Date:   2014-12-20 20:42:33 +0200
2850
2851    Windows: Update build instructions.
2852
2853 INSTALL                     | 15 +++++++++------
2854 windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++-----------------------
2855 2 files changed, 30 insertions(+), 29 deletions(-)
2856
2857commit 0152f72bf6289d744823dc6c849538f3a139ad70
2858Author: Lasse Collin <lasse.collin@tukaani.org>
2859Date:   2014-12-20 20:41:48 +0200
2860
2861    Windows: Update the build script and README-Windows.txt.
2862    
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.
2866    
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.
2870
2871 windows/README-Windows.txt | 30 ++++++++++++++++--------------
2872 windows/build.bash         | 23 ++++++++++++++---------
2873 2 files changed, 30 insertions(+), 23 deletions(-)
2874
2875commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a
2876Author: Lasse Collin <lasse.collin@tukaani.org>
2877Date:   2014-12-19 15:51:50 +0200
2878
2879    Windows: Define TUKLIB_SYMBOL_PREFIX in config.h.
2880    
2881    It is to keep all symbols in the lzma_ namespace.
2882
2883 windows/config.h | 3 +++
2884 1 file changed, 3 insertions(+)
2885
2886commit 7f7d093de79eee0c7dbfd7433647e46302f19f82
2887Author: Lasse Collin <lasse.collin@tukaani.org>
2888Date:   2014-12-16 21:00:09 +0200
2889
2890    xz: Update the man page about --threads.
2891
2892 src/xz/xz.1 | 5 -----
2893 1 file changed, 5 deletions(-)
2894
2895commit 009823448b82aa5f465668878a544c5842885407
2896Author: Lasse Collin <lasse.collin@tukaani.org>
2897Date:   2014-12-16 20:57:43 +0200
2898
2899    xz: Update the man page about --block-size.
2900
2901 src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++--------
2902 1 file changed, 33 insertions(+), 8 deletions(-)
2903
2904commit 7dddfbeb499e528940bc12047355c184644aafe9
2905Author: Adrien Nader <adrien@notk.org>
2906Date:   2014-12-10 22:26:57 +0100
2907
2908    po/fr: several more translation updates: reword and handle --ignore-check.
2909
2910 po/fr.po | 50 ++++++++++++++++++++++++++------------------------
2911 1 file changed, 26 insertions(+), 24 deletions(-)
2912
2913commit 6eca5be40e04ddc4b738d493e4e56835956d8b69
2914Author: Adrien Nader <adrien@notk.org>
2915Date:   2014-12-10 22:23:01 +0100
2916
2917    po/fr: yet another place where my email address had to be updated.
2918
2919 po/fr.po | 2 +-
2920 1 file changed, 1 insertion(+), 1 deletion(-)
2921
2922commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7
2923Author: Adrien Nader <adrien@notk.org>
2924Date:   2014-12-10 22:22:20 +0100
2925
2926    po/fr: fix several typos that have been around since the beginning.
2927
2928 po/fr.po | 22 +++++++++++-----------
2929 1 file changed, 11 insertions(+), 11 deletions(-)
2930
2931commit 4c5aa911a0df027e46171e368debc543d2fa72b2
2932Author: Adrien Nader <adrien@notk.org>
2933Date:   2014-12-03 20:02:31 +0100
2934
2935    po/fr: last batch of new translations for now.
2936    
2937    Four new error messages.
2938
2939 po/fr.po | 16 ++++++++--------
2940 1 file changed, 8 insertions(+), 8 deletions(-)
2941
2942commit 3e3099e36d27059499e7996fb38a62e8ab01d356
2943Author: Adrien Nader <adrien@notk.org>
2944Date:   2014-12-03 20:01:32 +0100
2945
2946    po/fr: translations for --threads, --block-size and --block-list.
2947
2948 po/fr.po | 12 ++++++++----
2949 1 file changed, 8 insertions(+), 4 deletions(-)
2950
2951commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53
2952Author: Adrien Nader <adrien@notk.org>
2953Date:   2014-12-03 20:00:53 +0100
2954
2955    po/fr: remove fuzzy marker for error messages that will be kept in English.
2956    
2957    The following is a copy of a comment inside fr.po:
2958    
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
2965    in
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.
2968
2969 po/fr.po | 22 ++++++++++++++++------
2970 1 file changed, 16 insertions(+), 6 deletions(-)
2971
2972commit 46cbb9033af8a21fafe543302d6919746e0d72af
2973Author: Adrien Nader <adrien@notk.org>
2974Date:   2014-12-03 19:58:25 +0100
2975
2976    po/fr: several minor updates and better wording.
2977    
2978    Meaning doesn't change at all: it's only for better wording and/or
2979    formatting of a few strings.
2980
2981 po/fr.po | 14 +++++++-------
2982 1 file changed, 7 insertions(+), 7 deletions(-)
2983
2984commit 7ce49d444f04e73145f79c832eb4d510594b074a
2985Author: Adrien Nader <adrien@notk.org>
2986Date:   2014-12-03 19:56:12 +0100
2987
2988    po/fr: update my email address and copyright years.
2989
2990 po/fr.po | 4 ++--
2991 1 file changed, 2 insertions(+), 2 deletions(-)
2992
2993commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c
2994Author: Adrien Nader <adrien@notk.org>
2995Date:   2014-11-26 10:08:26 +0100
2996
2997    fr.po: commit file after only "update-po" so actual is readable.
2998
2999 po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++-----------------------
3000 1 file changed, 199 insertions(+), 112 deletions(-)
3001
3002commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b
3003Author: Lasse Collin <lasse.collin@tukaani.org>
3004Date:   2014-12-02 20:04:07 +0200
3005
3006    liblzma: Document how lzma_mt.block_size affects memory usage.
3007
3008 src/liblzma/api/lzma/container.h | 4 ++++
3009 1 file changed, 4 insertions(+)
3010
3011commit e4fc1d2f9571fba79ce383595be2ea2a9257def0
3012Author: Lasse Collin <lasse.collin@tukaani.org>
3013Date:   2014-11-28 20:07:18 +0200
3014
3015    Update INSTALL about a "make check" failure in test_scripts.sh.
3016
3017 INSTALL | 24 +++++++++++++++++-------
3018 1 file changed, 17 insertions(+), 7 deletions(-)
3019
3020commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe
3021Author: Lasse Collin <lasse.collin@tukaani.org>
3022Date:   2014-11-26 20:12:27 +0200
3023
3024    Remove LZMA_UNSTABLE macro.
3025
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(-)
3030
3031commit 6d9c0ce9f2677b159e32b224aba5b535b304a705
3032Author: Lasse Collin <lasse.collin@tukaani.org>
3033Date:   2014-11-26 20:10:33 +0200
3034
3035    liblzma: Update lzma_stream_encoder_mt() API docs.
3036
3037 src/liblzma/api/lzma/container.h | 5 +++--
3038 1 file changed, 3 insertions(+), 2 deletions(-)
3039
3040commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3
3041Author: Lasse Collin <lasse.collin@tukaani.org>
3042Date:   2014-11-25 12:32:05 +0200
3043
3044    liblzma: Verify the filter chain in threaded encoder initialization.
3045    
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).
3050
3051 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
3052 1 file changed, 6 insertions(+), 3 deletions(-)
3053
3054commit 107a263d5bb63cd3593fd6a5c938706539f84523
3055Author: Lasse Collin <lasse.collin@tukaani.org>
3056Date:   2014-11-17 19:11:49 +0200
3057
3058    Build: Update m4/ax_pthread.m4 from Autoconf Archive.
3059
3060 m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++-------------------
3061 1 file changed, 47 insertions(+), 24 deletions(-)
3062
3063commit b13a781833399ff5726cfc997f3cb2f0acbdbf31
3064Author: Lasse Collin <lasse.collin@tukaani.org>
3065Date:   2014-11-17 18:52:21 +0200
3066
3067    Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING.
3068
3069 configure.ac         | 36 ++++++++++++++++++------------------
3070 m4/tuklib_integer.m4 |  2 +-
3071 2 files changed, 19 insertions(+), 19 deletions(-)
3072
3073commit 542cac122ed3550148a2af0033af22b757491378
3074Author: Lasse Collin <lasse.collin@tukaani.org>
3075Date:   2014-11-17 18:43:19 +0200
3076
3077    Build: Fix Autoconf warnings about escaped backquotes.
3078    
3079    Thanks to Daniel Richard G. for pointing out that it's
3080    good to sometimes run autoreconf -fi with -Wall.
3081
3082 configure.ac | 7 +++----
3083 1 file changed, 3 insertions(+), 4 deletions(-)
3084
3085commit 7b03a15cea8cd4f19ed680b51c4bcbae3ce4142f
3086Author: Lasse Collin <lasse.collin@tukaani.org>
3087Date:   2014-11-10 18:54:40 +0200
3088
3089    xzdiff: Use mkdir if mktemp isn't available.
3090
3091 src/scripts/xzdiff.in | 17 ++++++++++++++++-
3092 1 file changed, 16 insertions(+), 1 deletion(-)
3093
3094commit f8c13e5e3609581d5dd9f8777985ca07f2390ad7
3095Author: Lasse Collin <lasse.collin@tukaani.org>
3096Date:   2014-11-10 18:45:01 +0200
3097
3098    xzdiff: Create a temporary directory to hold a temporary file.
3099    
3100    This avoids the possibility of "File name too long" when
3101    creating a temp file when the input file name is very long.
3102    
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.
3108    
3109    The number X chars to mktemp where increased from 6 to 10.
3110    
3111    Note that with some shells temp files or dirs won't be used at all.
3112
3113 src/scripts/xzdiff.in | 10 +++++-----
3114 1 file changed, 5 insertions(+), 5 deletions(-)
3115
3116commit 7716dcf9df7f457500cb657314e7a9aea5fedb06
3117Author: Lasse Collin <lasse.collin@tukaani.org>
3118Date:   2014-11-10 15:38:47 +0200
3119
3120    liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage().
3121    
3122    It read the filter chain from a wrong variable. This is a similar
3123    bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e.
3124
3125 src/liblzma/common/stream_encoder_mt.c | 3 +--
3126 1 file changed, 1 insertion(+), 2 deletions(-)
3127
3128commit 230fa4a605542c84b4178a57381695a0af4e779b
3129Author: Lasse Collin <lasse.collin@tukaani.org>
3130Date:   2014-11-10 14:49:55 +0200
3131
3132    Update THANKS.
3133
3134 THANKS | 1 +
3135 1 file changed, 1 insertion(+)
3136
3137commit 4e4ae08bc7c1711e399c9f2d26eb375d39d08101
3138Author: Lasse Collin <lasse.collin@tukaani.org>
3139Date:   2014-10-29 21:28:25 +0200
3140
3141    Update .gitignore files.
3142
3143 .gitignore    | 2 ++
3144 m4/.gitignore | 3 +++
3145 2 files changed, 5 insertions(+)
3146
3147commit c923b140b27d1a055db6284e10fd546ad1a7fcdb
3148Author: Lasse Collin <lasse.collin@tukaani.org>
3149Date:   2014-10-29 21:15:35 +0200
3150
3151    Build: Prepare to support Automake's subdir-objects.
3152    
3153    Due to a bug in Automake, subdir-objects won't be enabled
3154    for now.
3155    
3156    http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354
3157    
3158    Thanks to Daniel Richard G. for the original patches.
3159
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(-)
3167
3168commit 08c2aa16bea0df82828f665d51fba2e0a5e8997f
3169Author: Lasse Collin <lasse.collin@tukaani.org>
3170Date:   2014-10-24 20:09:29 +0300
3171
3172    Translations: Update the Italian translation.
3173    
3174    Thanks to Milo Casagrande.
3175
3176 po/it.po | 452 ++++++++++++++++++++++++++++++++++++++-------------------------
3177 1 file changed, 275 insertions(+), 177 deletions(-)
3178
3179commit 2f9f61aa83539c54ff6c118a2693890f0519b3dd
3180Author: Lasse Collin <lasse.collin@tukaani.org>
3181Date:   2014-10-18 18:51:45 +0300
3182
3183    Translations: Update the Polish translation.
3184    
3185    Thanks to Jakub Bogusz.
3186
3187 po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++-----------------------
3188 1 file changed, 214 insertions(+), 118 deletions(-)
3189
3190commit 4f9d233f67aea25e532824d11b7642cf7dee7a76
3191Author: Andre Noll <maan@tuebingen.mpg.de>
3192Date:   2014-10-14 17:30:30 +0200
3193
3194    l10n: de.po: Change translator email address.
3195    
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
3198    accordingly.
3199    
3200    Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>
3201
3202 po/de.po | 6 +++---
3203 1 file changed, 3 insertions(+), 3 deletions(-)
3204
3205commit 00502b2bedad43f0cc167ac17ae0608837ee196b
3206Author: Andre Noll <maan@tuebingen.mpg.de>
3207Date:   2014-10-14 17:30:29 +0200
3208
3209    l10n: de.po: Update German translation
3210    
3211    Signed-off-by: Andre Noll <maan@systemlinux.org>
3212
3213 po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------
3214 1 file changed, 281 insertions(+), 250 deletions(-)
3215
3216commit 706b0496753fb609e69f1570ec603f11162189d1
3217Author: Andre Noll <maan@tuebingen.mpg.de>
3218Date:   2014-10-14 17:30:28 +0200
3219
3220    l10n: de.po: Fix typo: Schie��en -> Schlie��en.
3221    
3222    That's a funny one since "schie��en" means to shoot :)
3223    
3224    Signed-off-by: Andre Noll <maan@systemlinux.org>
3225
3226 po/de.po | 2 +-
3227 1 file changed, 1 insertion(+), 1 deletion(-)
3228
3229commit 7c32e6a935c3d7ee366abad1679bd5f322f0c7d4
3230Author: Lasse Collin <lasse.collin@tukaani.org>
3231Date:   2014-10-09 19:42:26 +0300
3232
3233    Update THANKS.
3234
3235 THANKS | 1 +
3236 1 file changed, 1 insertion(+)
3237
3238commit 076258cc458f1e705041ac7a729b15ffe8c5214a
3239Author: Lasse Collin <lasse.collin@tukaani.org>
3240Date:   2014-10-09 19:41:51 +0300
3241
3242    Add support for AmigaOS/AROS to tuklib_physmem().
3243    
3244    Thanks to Fredrik Wikstrom.
3245
3246 m4/tuklib_physmem.m4        | 3 ++-
3247 src/common/tuklib_physmem.c | 7 +++++++
3248 2 files changed, 9 insertions(+), 1 deletion(-)
3249
3250commit efa7b0a210e1baa8e128fc98c5443a944c39ad24
3251Author: Lasse Collin <lasse.collin@tukaani.org>
3252Date:   2014-10-09 18:42:14 +0300
3253
3254    xzgrep: Avoid passing both -q and -l to grep.
3255    
3256    The behavior of grep -ql varies:
3257      - GNU grep behaves like grep -q.
3258      - OpenBSD grep behaves like grep -l.
3259    
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.
3263    
3264    Thanks to Christian Weisgerber.
3265
3266 src/scripts/xzgrep.in | 6 ++++--
3267 1 file changed, 4 insertions(+), 2 deletions(-)
3268
3269commit 9c5f76098c9986b48d2fc574a0b764f4cde0c538
3270Author: Tr���n Ng���c Qu��n <vnwildman@gmail.com>
3271Date:   2014-09-25 09:22:45 +0700
3272
3273    l10n: vi.po: Update Vietnamese translation
3274    
3275    Signed-off-by: Tr���n Ng���c Qu��n <vnwildman@gmail.com>
3276
3277 po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------
3278 1 file changed, 84 insertions(+), 52 deletions(-)
3279
3280commit c4911f2db36d811896c73c008b4218d8fa9a4730
3281Author: Lasse Collin <lasse.collin@tukaani.org>
3282Date:   2014-09-25 18:38:48 +0300
3283
3284    Build: Detect supported compiler warning flags better.
3285    
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.
3290    
3291    Thanks to Charles Diza.
3292
3293 configure.ac | 5 +++--
3294 1 file changed, 3 insertions(+), 2 deletions(-)
3295
3296commit 76e75522ed6f5c228d55587dee5a997893f6e474
3297Author: Lasse Collin <lasse.collin@tukaani.org>
3298Date:   2014-09-20 21:01:21 +0300
3299
3300    Update NEWS for 5.0.7.
3301
3302 NEWS | 11 +++++++++++
3303 1 file changed, 11 insertions(+)
3304
3305commit d62028b4c1174fc67b6929f126f5eb24c018c700
3306Author: Lasse Collin <lasse.collin@tukaani.org>
3307Date:   2014-09-20 19:42:56 +0300
3308
3309    liblzma: Fix a portability problem in Makefile.am.
3310    
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.
3314    
3315    Thanks to Christian Weisgerber for the patch.
3316
3317 src/liblzma/Makefile.am | 2 +-
3318 1 file changed, 1 insertion(+), 1 deletion(-)
3319
3320commit c35de31d4283edad3e57d37ffe939406542cb7bb
3321Author: Lasse Collin <lasse.collin@tukaani.org>
3322Date:   2014-09-14 21:54:09 +0300
3323
3324    Bump the version number to 5.1.4beta.
3325
3326 src/liblzma/api/lzma/version.h | 4 ++--
3327 src/liblzma/liblzma.map        | 2 +-
3328 2 files changed, 3 insertions(+), 3 deletions(-)
3329
3330commit e9e097e22cacdaa23e5414fea7913535449cb340
3331Author: Lasse Collin <lasse.collin@tukaani.org>
3332Date:   2014-09-14 21:50:13 +0300
3333
3334    Update NEWS for 5.0.6 and 5.1.4beta.
3335
3336 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
3337 1 file changed, 50 insertions(+)
3338
3339commit 642f856bb8562ab66704b1e01ac7bc08b6d0a663
3340Author: Lasse Collin <lasse.collin@tukaani.org>
3341Date:   2014-09-14 21:02:41 +0300
3342
3343    Update TODO.
3344
3345 TODO | 38 ++++++++++++++++++++++++++++++++++----
3346 1 file changed, 34 insertions(+), 4 deletions(-)
3347
3348commit 6b5e3b9eff5b8cedb2aac5f524d4d60fc8a48124
3349Author: Lasse Collin <lasse.collin@tukaani.org>
3350Date:   2014-08-05 22:32:36 +0300
3351
3352    xz: Add --ignore-check.
3353
3354 src/xz/args.c    |  7 +++++++
3355 src/xz/args.h    |  1 +
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(-)
3360
3361commit 9adbc2ff373f979c917cdfd3679ce0ebd59f1040
3362Author: Lasse Collin <lasse.collin@tukaani.org>
3363Date:   2014-08-05 22:15:07 +0300
3364
3365    liblzma: Add support for LZMA_IGNORE_CHECK.
3366
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(-)
3371
3372commit 0e0f34b8e4f1c60ecaec15c2105982381cc9c3e6
3373Author: Lasse Collin <lasse.collin@tukaani.org>
3374Date:   2014-08-05 22:03:30 +0300
3375
3376    liblzma: Add support for lzma_block.ignore_check.
3377    
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.
3384
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(-)
3393
3394commit 71e1437ab585b46f7a25f5a131557d3d1c0cbaa2
3395Author: Lasse Collin <lasse.collin@tukaani.org>
3396Date:   2014-08-04 19:25:58 +0300
3397
3398    liblzma: Use lzma_memcmplen() in the BT3 match finder.
3399    
3400    I had missed this when writing the commit
3401    5db75054e900fa06ef5ade5f2c21dffdd5d16141.
3402    
3403    Thanks to Jun I Jin.
3404
3405 src/liblzma/lz/lz_encoder_mf.c | 5 ++---
3406 1 file changed, 2 insertions(+), 3 deletions(-)
3407
3408commit 41dc9ea06e1414ebe8ef52afc8fc15b6e3282b04
3409Author: Lasse Collin <lasse.collin@tukaani.org>
3410Date:   2014-08-04 00:25:44 +0300
3411
3412    Update THANKS.
3413
3414 THANKS | 1 +
3415 1 file changed, 1 insertion(+)
3416
3417commit 5dcffdbcc23a68abc3ac3539b30be71bc9b5af84
3418Author: Lasse Collin <lasse.collin@tukaani.org>
3419Date:   2014-08-03 21:32:25 +0300
3420
3421    liblzma: SHA-256: Optimize the Maj macro slightly.
3422    
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
3426    instructions.
3427    
3428    I learned this trick from
3429    <http://www.hackersdelight.org/corres.txt>.
3430
3431 src/liblzma/check/sha256.c | 2 +-
3432 1 file changed, 1 insertion(+), 1 deletion(-)
3433
3434commit a9477d1e0c6fd0e47e637d051e7b9e2a5d9af517
3435Author: Lasse Collin <lasse.collin@tukaani.org>
3436Date:   2014-08-03 21:08:12 +0300
3437
3438    liblzma: SHA-256: Optimize the way rotations are done.
3439    
3440    This looks weird because the rotations become sequential,
3441    but it helps quite a bit on both 32-bit and 64-bit x86:
3442    
3443      - It requires fewer instructions on two-operand
3444        instruction sets like x86.
3445    
3446      - It requires one register less which matters especially
3447        on 32-bit x86.
3448    
3449    I hope this doesn't hurt other archs.
3450    
3451    I didn't invent this idea myself, but I don't remember where
3452    I saw it first.
3453
3454 src/liblzma/check/sha256.c | 17 +++++++++++------
3455 1 file changed, 11 insertions(+), 6 deletions(-)
3456
3457commit 5a76c7c8ee9a0afbeedb1c211db9224260404347
3458Author: Lasse Collin <lasse.collin@tukaani.org>
3459Date:   2014-08-03 20:38:13 +0300
3460
3461    liblzma: SHA-256: Remove the GCC #pragma that became unneeded.
3462    
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.
3466
3467 src/liblzma/check/sha256.c | 5 -----
3468 1 file changed, 5 deletions(-)
3469
3470commit 9a096f8e57509775c331950b8351bbca77bdcfa8
3471Author: Lasse Collin <lasse.collin@tukaani.org>
3472Date:   2014-08-03 20:33:38 +0300
3473
3474    liblzma: SHA-256: Unroll a little more.
3475    
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.
3479
3480 src/liblzma/check/sha256.c | 25 ++++++++++++++++---------
3481 1 file changed, 16 insertions(+), 9 deletions(-)
3482
3483commit bc7650d87bf27f85f1a2a806dc2db1780e09e6a5
3484Author: Lasse Collin <lasse.collin@tukaani.org>
3485Date:   2014-08-03 19:56:43 +0300
3486
3487    liblzma: SHA-256: Do the byteswapping without a temporary buffer.
3488
3489 src/liblzma/check/sha256.c | 13 +------------
3490 1 file changed, 1 insertion(+), 12 deletions(-)
3491
3492commit 544aaa3d13554e8640f9caf7db717a96360ec0f6
3493Author: Lasse Collin <lasse.collin@tukaani.org>
3494Date:   2014-07-25 22:38:28 +0300
3495
3496    liblzma: Use lzma_memcmplen() in normal mode of LZMA.
3497    
3498    Two locations were not changed yet because the simplest change
3499    assumes that the initial "len" may be greater than "limit".
3500
3501 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++---------------
3502 1 file changed, 5 insertions(+), 15 deletions(-)
3503
3504commit f48fce093b07aeda95c18850f5e086d9f2383380
3505Author: Lasse Collin <lasse.collin@tukaani.org>
3506Date:   2014-07-25 22:30:38 +0300
3507
3508    liblzma: Simplify LZMA fast mode code by using memcmp().
3509
3510 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +----------
3511 1 file changed, 1 insertion(+), 10 deletions(-)
3512
3513commit 6bf5308e34e23dede5b301b1b9b4f131dacd9218
3514Author: Lasse Collin <lasse.collin@tukaani.org>
3515Date:   2014-07-25 22:29:49 +0300
3516
3517    liblzma: Use lzma_memcmplen() in fast mode of LZMA.
3518
3519 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++---
3520 1 file changed, 3 insertions(+), 3 deletions(-)
3521
3522commit 353212137e51e45b105a3a3fc2e6879f1cf0d492
3523Author: Lasse Collin <lasse.collin@tukaani.org>
3524Date:   2014-07-25 21:16:23 +0300
3525
3526    Update THANKS.
3527
3528 THANKS | 1 +
3529 1 file changed, 1 insertion(+)
3530
3531commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141
3532Author: Lasse Collin <lasse.collin@tukaani.org>
3533Date:   2014-07-25 21:15:07 +0300
3534
3535    liblzma: Use lzma_memcmplen() in the match finders.
3536    
3537    This doesn't change the match finder output.
3538
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(-)
3542
3543commit e1c8f1d01f4a4e2136173edab2dc63c71ef038f4
3544Author: Lasse Collin <lasse.collin@tukaani.org>
3545Date:   2014-07-25 20:57:20 +0300
3546
3547    liblzma: Add lzma_memcmplen() for fast memory comparison.
3548    
3549    This commit just adds the function. Its uses will be in
3550    separate commits.
3551    
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
3554    quickly.
3555    
3556    Thanks to Jun I Jin from Intel for help and for pointing out
3557    that string comparison needs to be optimized in liblzma.
3558
3559 configure.ac                    |  13 +++
3560 src/liblzma/common/Makefile.inc |   1 +
3561 src/liblzma/common/memcmplen.h  | 170 ++++++++++++++++++++++++++++++++++++++++
3562 3 files changed, 184 insertions(+)
3563
3564commit 765735cf52e5123586e74a51b9c073b5257f631f
3565Author: Lasse Collin <lasse.collin@tukaani.org>
3566Date:   2014-07-12 21:10:09 +0300
3567
3568    Update THANKS.
3569
3570 THANKS | 1 +
3571 1 file changed, 1 insertion(+)
3572
3573commit 59da01785ef66c7e62f36e70ca808fd2824bb995
3574Author: Lasse Collin <lasse.collin@tukaani.org>
3575Date:   2014-07-12 20:06:08 +0300
3576
3577    Translations: Add Vietnamese translation.
3578    
3579    Thanks to Tr���n Ng���c Qu��n.
3580
3581 po/LINGUAS |    1 +
3582 po/vi.po   | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3583 2 files changed, 1008 insertions(+)
3584
3585commit 17215f751c354852700e7f8592ccf319570a0721
3586Author: Lasse Collin <lasse.collin@tukaani.org>
3587Date:   2014-06-29 20:54:14 +0300
3588
3589    xz: Update the help message of a few options.
3590    
3591    Updated: --threads, --block-size, and --block-list
3592    Added: --flush-timeout
3593
3594 src/xz/message.c | 18 +++++++++++-------
3595 1 file changed, 11 insertions(+), 7 deletions(-)
3596
3597commit 96864a6ddf91ad693d102ea165f3d7918744d582
3598Author: Lasse Collin <lasse.collin@tukaani.org>
3599Date:   2014-06-18 22:07:06 +0300
3600
3601    xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores().
3602
3603 src/xz/Makefile.am |  1 -
3604 src/xz/hardware.c  | 12 +++++++++---
3605 2 files changed, 9 insertions(+), 4 deletions(-)
3606
3607commit a115cc3748482e277f42a968baa3cd266f031dba
3608Author: Lasse Collin <lasse.collin@tukaani.org>
3609Date:   2014-06-18 22:04:24 +0300
3610
3611    liblzma: Add lzma_cputhreads().
3612
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(-)
3619
3620commit 3ce3e7976904fbab4e6482bafa442856f77a51fa
3621Author: Lasse Collin <lasse.collin@tukaani.org>
3622Date:   2014-06-18 19:11:52 +0300
3623
3624    xz: Check for filter chain compatibility for --flush-timeout.
3625    
3626    This avoids LZMA_PROG_ERROR from lzma_code() with filter chains
3627    that don't support LZMA_SYNC_FLUSH.
3628
3629 src/xz/coder.c | 30 +++++++++++++++++++++---------
3630 1 file changed, 21 insertions(+), 9 deletions(-)
3631
3632commit 381ac14ed79e5d38809f251705be8b3193bba417
3633Author: Lasse Collin <lasse.collin@tukaani.org>
3634Date:   2014-06-13 19:21:54 +0300
3635
3636    xzgrep: List xzgrep_expected_output in tests/Makefile.am.
3637
3638 tests/Makefile.am | 3 ++-
3639 1 file changed, 2 insertions(+), 1 deletion(-)
3640
3641commit 4244b65b06d5ecaf6f9dd0387ac7e3166bd2364e
3642Author: Lasse Collin <lasse.collin@tukaani.org>
3643Date:   2014-06-13 18:58:22 +0300
3644
3645    xzgrep: Improve the test script.
3646    
3647    Now it should be close to the functionality of the original
3648    version by Pavel Raiskup.
3649
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(-)
3654
3655commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26
3656Author: Lasse Collin <lasse.collin@tukaani.org>
3657Date:   2014-06-11 21:03:25 +0300
3658
3659    xzgrep: Add a test for the previous fix.
3660    
3661    This is a simplified version of Pavel Raiskup's
3662    original patch.
3663
3664 tests/test_scripts.sh | 26 ++++++++++++++++++++++----
3665 1 file changed, 22 insertions(+), 4 deletions(-)
3666
3667commit ceca37901783988204caaf40dff4623d535cc789
3668Author: Lasse Collin <lasse.collin@tukaani.org>
3669Date:   2014-06-11 20:43:28 +0300
3670
3671    xzgrep: exit 0 when at least one file matches.
3672    
3673    Mimic the original grep behavior and return exit_success when
3674    at least one xz compressed file matches given pattern.
3675    
3676    Original bugreport:
3677    https://bugzilla.redhat.com/show_bug.cgi?id=1108085
3678    
3679    Thanks to Pavel Raiskup for the patch.
3680
3681 src/scripts/xzgrep.in | 15 +++++++++++++--
3682 1 file changed, 13 insertions(+), 2 deletions(-)
3683
3684commit 8c19216baccb92d011694590df8a1262da2e980c
3685Author: Lasse Collin <lasse.collin@tukaani.org>
3686Date:   2014-06-09 21:21:24 +0300
3687
3688    xz: Force single-threaded mode when --flush-timeout is used.
3689
3690 src/xz/coder.c | 11 +++++++++++
3691 1 file changed, 11 insertions(+)
3692
3693commit 87f1a24810805187d7bbc8ac5512e7eec307ddf5
3694Author: Lasse Collin <lasse.collin@tukaani.org>
3695Date:   2014-05-25 22:05:39 +0300
3696
3697    Update THANKS.
3698
3699 THANKS | 1 +
3700 1 file changed, 1 insertion(+)
3701
3702commit da1718f266fcfc091e7bf08aae1bc986d0e6cc6b
3703Author: Lasse Collin <lasse.collin@tukaani.org>
3704Date:   2014-05-25 21:45:56 +0300
3705
3706    liblzma: Use lzma_alloc_zero() in LZ encoder initialization.
3707    
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.
3711    
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.
3715    
3716    Thanks to Vincenzo Innocente for reporting the problem.
3717
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(-)
3722
3723commit 28af24e9cf2eb259997c85dce13d4c97b3daa47a
3724Author: Lasse Collin <lasse.collin@tukaani.org>
3725Date:   2014-05-25 19:25:57 +0300
3726
3727    liblzma: Add the internal function lzma_alloc_zero().
3728
3729 src/liblzma/common/common.c | 21 +++++++++++++++++++++
3730 src/liblzma/common/common.h |  6 ++++++
3731 2 files changed, 27 insertions(+)
3732
3733commit ed9ac85822c490e34b68c259afa0b385d21d1c40
3734Author: Lasse Collin <lasse.collin@tukaani.org>
3735Date:   2014-05-08 18:03:09 +0300
3736
3737    xz: Fix uint64_t vs. size_t which broke 32-bit build.
3738    
3739    Thanks to Christian Hesse.
3740
3741 src/xz/coder.c | 2 +-
3742 1 file changed, 1 insertion(+), 1 deletion(-)
3743
3744commit d716acdae3fa7996f9e68a7bac012e6d8d13dd02
3745Author: Lasse Collin <lasse.collin@tukaani.org>
3746Date:   2014-05-04 11:09:11 +0300
3747
3748    Docs: Update comments to refer to lzma/lzma12.h in example programs.
3749
3750 doc/examples/03_compress_custom.c | 6 +++---
3751 1 file changed, 3 insertions(+), 3 deletions(-)
3752
3753commit 4d5b7b3fda31241ca86ed35e08e73f776ee916e0
3754Author: Lasse Collin <lasse.collin@tukaani.org>
3755Date:   2014-05-04 11:07:17 +0300
3756
3757    liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h.
3758    
3759    It can be confusing that two header files have the same name.
3760    The public API file is still lzma.h.
3761
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(-)
3766
3767commit 1555a9c5664afc7893a2b75e9970105437f01ef1
3768Author: Lasse Collin <lasse.collin@tukaani.org>
3769Date:   2014-04-25 17:53:42 +0300
3770
3771    Build: Fix the combination of --disable-xzdec --enable-lzmadec.
3772    
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
3777    behavior.
3778
3779 src/xzdec/Makefile.am | 10 +++++++++-
3780 1 file changed, 9 insertions(+), 1 deletion(-)
3781
3782commit 56056571df3377eaa6ae6233b3ccc5d72e81d43d
3783Author: Lasse Collin <lasse.collin@tukaani.org>
3784Date:   2014-04-25 17:44:26 +0300
3785
3786    Build: Add --disable-doc to configure.
3787
3788 INSTALL      | 6 ++++++
3789 Makefile.am  | 2 ++
3790 configure.ac | 6 ++++++
3791 3 files changed, 14 insertions(+)
3792
3793commit 6de61d8721097a6214810841aa85b08e303ac538
3794Author: Lasse Collin <lasse.collin@tukaani.org>
3795Date:   2014-04-24 18:06:24 +0300
3796
3797    Update INSTALL.
3798    
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
3803    the issue.
3804    
3805    Add a note about a possible need to run "ldconfig" after
3806    "make install".
3807
3808 INSTALL | 25 +++++++++++++++++++++++++
3809 1 file changed, 25 insertions(+)
3810
3811commit 54df428799a8d853639b753d0e6784694d73eb3e
3812Author: Lasse Collin <lasse.collin@tukaani.org>
3813Date:   2014-04-09 17:26:10 +0300
3814
3815    xz: Rename a variable to avoid a namespace collision on Solaris.
3816    
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
3820    hurt either.
3821    
3822    Thanks to Mark Ashley.
3823
3824 src/xz/signals.c | 12 +++++++-----
3825 1 file changed, 7 insertions(+), 5 deletions(-)
3826
3827commit 5876ca27daa1429676b1160007d9688266907f00
3828Author: Lasse Collin <lasse.collin@tukaani.org>
3829Date:   2014-01-29 20:19:41 +0200
3830
3831    Docs: Add example program for threaded encoding.
3832    
3833    I didn't add -DLZMA_UNSTABLE to Makefile so one has to
3834    specify it manually as long as LZMA_UNSTABLE is needed.
3835
3836 doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++
3837 doc/examples/Makefile              |   3 +-
3838 2 files changed, 186 insertions(+), 1 deletion(-)
3839
3840commit 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e
3841Author: Lasse Collin <lasse.collin@tukaani.org>
3842Date:   2014-01-29 20:13:51 +0200
3843
3844    liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt().
3845    
3846    It read the filter chain from a wrong variable.
3847
3848 src/liblzma/common/stream_encoder_mt.c | 4 ++--
3849 1 file changed, 2 insertions(+), 2 deletions(-)
3850
3851commit 673a4cb53de3a715685cb1b836da57a3c7dcd43c
3852Author: Lasse Collin <lasse.collin@tukaani.org>
3853Date:   2014-01-20 11:20:40 +0200
3854
3855    liblzma: Fix typo in a comment.
3856
3857 src/liblzma/api/lzma/block.h | 2 +-
3858 1 file changed, 1 insertion(+), 1 deletion(-)
3859
3860commit ad96a871a1470eb76d6233d3890ce9338047b7a3
3861Author: Lasse Collin <lasse.collin@tukaani.org>
3862Date:   2014-01-12 19:38:43 +0200
3863
3864    Windows: Add config.h for building liblzma with MSVC 2013.
3865    
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.
3869    
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:
3874    
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
3877    
3878    Hopefully it will get fixed. Then liblzma should be
3879    compilable with MSVC 2013 without patching.
3880
3881 windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
3882 1 file changed, 139 insertions(+)
3883
3884commit 3d5c090872fab4212b57c290e8ed4d02c78c1737
3885Author: Lasse Collin <lasse.collin@tukaani.org>
3886Date:   2014-01-12 17:41:14 +0200
3887
3888    xz: Fix a comment.
3889
3890 src/xz/coder.c | 4 ++--
3891 1 file changed, 2 insertions(+), 2 deletions(-)
3892
3893commit 69fd4e1c932c7975476a0143c86e45d81b60d3f9
3894Author: Lasse Collin <lasse.collin@tukaani.org>
3895Date:   2014-01-12 17:04:33 +0200
3896
3897    Windows: Add MSVC defines for inline and restrict keywords.
3898
3899 src/common/sysdefs.h | 10 ++++++++++
3900 1 file changed, 10 insertions(+)
3901
3902commit a19d9e8575ee6647cd9154cf1f20203f1330485f
3903Author: Lasse Collin <lasse.collin@tukaani.org>
3904Date:   2014-01-12 16:44:52 +0200
3905
3906    liblzma: Avoid C99 compound literal arrays.
3907    
3908    MSVC 2013 doesn't like them. Maybe they aren't so good
3909    for readability either since many aren't used to them.
3910
3911 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++---
3912 1 file changed, 5 insertions(+), 3 deletions(-)
3913
3914commit e28528f1c867b2ed4ac91195ad08efb9bb8a6263
3915Author: Lasse Collin <lasse.collin@tukaani.org>
3916Date:   2014-01-12 12:50:30 +0200
3917
3918    liblzma: Remove a useless C99ism from sha256.c.
3919    
3920    Unsurprisingly it makes no difference in compiled output.
3921
3922 src/liblzma/check/sha256.c | 2 +-
3923 1 file changed, 1 insertion(+), 1 deletion(-)
3924
3925commit 5ad1effc45adfb7dabc9a98e79736077e6b7e2d5
3926Author: Lasse Collin <lasse.collin@tukaani.org>
3927Date:   2014-01-12 12:17:08 +0200
3928
3929    xz: Fix use of wrong variable.
3930    
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.
3934
3935 src/xz/suffix.c | 2 +-
3936 1 file changed, 1 insertion(+), 1 deletion(-)
3937
3938commit 3e62c68d75b5a3fdd46dbb34bb335d73289860d5
3939Author: Lasse Collin <lasse.collin@tukaani.org>
3940Date:   2014-01-12 12:11:36 +0200
3941
3942    Fix typos in comments.
3943
3944 src/common/mythread.h          | 2 +-
3945 src/liblzma/check/crc32_fast.c | 2 +-
3946 2 files changed, 2 insertions(+), 2 deletions(-)
3947
3948commit e90ea601fb72867ec04adf456cbe4bf9520fd412
3949Author: Lasse Collin <lasse.collin@tukaani.org>
3950Date:   2013-11-26 18:20:16 +0200
3951
3952    Update THANKS.
3953
3954 THANKS | 1 +
3955 1 file changed, 1 insertion(+)
3956
3957commit b22e94d8d15764416354e04729382a7371ae2c30
3958Author: Lasse Collin <lasse.collin@tukaani.org>
3959Date:   2013-11-26 18:20:09 +0200
3960
3961    liblzma: Document the need for block->check for lzma_block_header_decode().
3962    
3963    Thanks to Tomer Chachamu.
3964
3965 src/liblzma/api/lzma/block.h | 3 +++
3966 1 file changed, 3 insertions(+)
3967
3968commit d1cd8b1cb824b72421d1ee370e628024d2fcbec4
3969Author: Lasse Collin <lasse.collin@tukaani.org>
3970Date:   2013-11-12 16:38:57 +0200
3971
3972    xz: Update the man page about --block-size and --block-list.
3973
3974 src/xz/xz.1 | 24 +++++++++++++++---------
3975 1 file changed, 15 insertions(+), 9 deletions(-)
3976
3977commit 76be7c612e6bcc38724488ccc3b8bcb1cfec9f0a
3978Author: Lasse Collin <lasse.collin@tukaani.org>
3979Date:   2013-11-12 16:30:53 +0200
3980
3981    Update THANKS.
3982
3983 THANKS | 1 +
3984 1 file changed, 1 insertion(+)
3985
3986commit dd750acbe2259d75444ef0f8da2d4bacc90d7afc
3987Author: Lasse Collin <lasse.collin@tukaani.org>
3988Date:   2013-11-12 16:29:48 +0200
3989
3990    xz: Make --block-list and --block-size work together in single-threaded.
3991    
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.
3996    
3997    Thanks to James M Leddy for the original patch.
3998
3999 src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++----------
4000 1 file changed, 75 insertions(+), 15 deletions(-)
4001
4002commit ae222fe9805d0161d022d75ba8485dab8bf6d7d5
4003Author: Lasse Collin <lasse.collin@tukaani.org>
4004Date:   2013-10-26 13:26:14 +0300
4005
4006    Bump the version number to 5.1.3alpha.
4007
4008 src/liblzma/api/lzma/version.h | 2 +-
4009 src/liblzma/liblzma.map        | 2 +-
4010 2 files changed, 2 insertions(+), 2 deletions(-)
4011
4012commit 2193837a6a597cd3bf4e9ddf49421a5697d8e155
4013Author: Lasse Collin <lasse.collin@tukaani.org>
4014Date:   2013-10-26 13:25:02 +0300
4015
4016    Update NEWS for 5.1.3alpha.
4017
4018 NEWS | 35 +++++++++++++++++++++++++++++++++++
4019 1 file changed, 35 insertions(+)
4020
4021commit ed48e75e2763876173aef8902da407a8eb28854b
4022Author: Lasse Collin <lasse.collin@tukaani.org>
4023Date:   2013-10-26 12:47:04 +0300
4024
4025    Update TODO.
4026
4027 TODO | 4 ----
4028 1 file changed, 4 deletions(-)
4029
4030commit 841da0352d79a56a44796a4c39163429c9f039a3
4031Author: Lasse Collin <lasse.collin@tukaani.org>
4032Date:   2013-10-25 22:41:28 +0300
4033
4034    xz: Document behavior of --block-list with threads.
4035    
4036    This needs to be updated before 5.2.0.
4037
4038 src/xz/xz.1 | 24 +++++++++++++++++++++---
4039 1 file changed, 21 insertions(+), 3 deletions(-)
4040
4041commit 56feb8665b78c1032aabd53c619c62af51defe64
4042Author: Lasse Collin <lasse.collin@tukaani.org>
4043Date:   2013-10-22 20:03:12 +0300
4044
4045    xz: Document --flush-timeout=TIMEOUT on the man page.
4046
4047 src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++-
4048 1 file changed, 36 insertions(+), 1 deletion(-)
4049
4050commit ba413da1d5bb3324287cf3174922acd921165971
4051Author: Lasse Collin <lasse.collin@tukaani.org>
4052Date:   2013-10-22 19:51:55 +0300
4053
4054    xz: Take advantage of LZMA_FULL_BARRIER with --block-list.
4055    
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.
4060    
4061    The flush timer was reset after LZMA_FULL_FLUSH but since
4062    LZMA_FULL_BARRIER doesn't flush, resetting the timer is
4063    no longer done.
4064
4065 src/xz/coder.c | 32 +++++++++++++++-----------------
4066 1 file changed, 15 insertions(+), 17 deletions(-)
4067
4068commit 0cd45fc2bc5537de287a0bc005e2d67467a92148
4069Author: Lasse Collin <lasse.collin@tukaani.org>
4070Date:   2013-10-02 20:05:23 +0300
4071
4072    liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder.
4073    
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.
4077
4078 src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++----------
4079 1 file changed, 39 insertions(+), 16 deletions(-)
4080
4081commit 97bb38712f414fabecca908af2e38a12570293fd
4082Author: Lasse Collin <lasse.collin@tukaani.org>
4083Date:   2013-10-02 12:55:11 +0300
4084
4085    liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder.
4086    
4087    In the single-threaded encoder LZMA_FULL_BARRIER is simply
4088    an alias for LZMA_FULL_FLUSH.
4089
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(-)
4095
4096commit fef0c6b410c08e581c9178700a4e7599f0895ff9
4097Author: Lasse Collin <lasse.collin@tukaani.org>
4098Date:   2013-09-17 11:57:51 +0300
4099
4100    liblzma: Add block_buffer_encoder.h into Makefile.inc.
4101    
4102    This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc.
4103
4104 src/liblzma/common/Makefile.inc | 1 +
4105 1 file changed, 1 insertion(+)
4106
4107commit 8083e03291b6d21c0f538163e187b4e8cd5594e4
4108Author: Lasse Collin <lasse.collin@tukaani.org>
4109Date:   2013-09-17 11:55:38 +0300
4110
4111    xz: Add a missing test for TUKLIB_DOSLIKE.
4112
4113 src/xz/file_io.c | 2 ++
4114 1 file changed, 2 insertions(+)
4115
4116commit 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0
4117Author: Lasse Collin <lasse.collin@tukaani.org>
4118Date:   2013-09-17 11:52:28 +0300
4119
4120    Add native threading support on Windows.
4121    
4122    Now liblzma only uses "mythread" functions and types
4123    which are defined in mythread.h matching the desired
4124    threading method.
4125    
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
4132    happens to care.
4133
4134 INSTALL                                |  41 ++-
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(-)
4142
4143commit ae0ab74a88d5b9b15845f1d9a24ade4349a54f9f
4144Author: Lasse Collin <lasse.collin@tukaani.org>
4145Date:   2013-09-11 14:40:35 +0300
4146
4147    Build: Remove a comment about Automake 1.10 from configure.ac.
4148    
4149    The previous commit supports silent rules and that requires
4150    Automake 1.11.
4151
4152 configure.ac | 2 --
4153 1 file changed, 2 deletions(-)
4154
4155commit 72975df6c8c59aaf849138ab3606e8fb6970596a
4156Author: Lasse Collin <lasse.collin@tukaani.org>
4157Date:   2013-09-09 20:37:03 +0300
4158
4159    Build: Create liblzma.pc in a src/liblzma/Makefile.am.
4160    
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
4165    by configure.
4166    
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.
4172    
4173    Thanks to Vincent Torri.
4174
4175 configure.ac            |  1 -
4176 src/liblzma/Makefile.am | 20 ++++++++++++++++++++
4177 2 files changed, 20 insertions(+), 1 deletion(-)
4178
4179commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc
4180Author: Lasse Collin <lasse.collin@tukaani.org>
4181Date:   2013-08-04 15:24:09 +0300
4182
4183    Fix the previous commit which broke the build.
4184    
4185    Apparently I didn't even compile-test the previous commit.
4186    
4187    Thanks to Christian Hesse.
4188
4189 src/common/tuklib_cpucores.c | 2 +-
4190 1 file changed, 1 insertion(+), 1 deletion(-)
4191
4192commit 124eb69c7857f618b4807588c51bc9ba21bf8691
4193Author: Lasse Collin <lasse.collin@tukaani.org>
4194Date:   2013-08-03 13:52:58 +0300
4195
4196    Windows: Add Windows support to tuklib_cpucores().
4197    
4198    It is used for Cygwin too. I'm not sure if that is
4199    a good or bad idea.
4200    
4201    Thanks to Vincent Torri.
4202
4203 m4/tuklib_cpucores.m4        | 19 +++++++++++++++++--
4204 src/common/tuklib_cpucores.c | 13 ++++++++++++-
4205 2 files changed, 29 insertions(+), 3 deletions(-)
4206
4207commit eada8a875ce3fd521cb42e4ace2624d3d49c5f35
4208Author: Anders F Bjorklund <afb@users.sourceforge.net>
4209Date:   2013-08-02 15:59:46 +0200
4210
4211    macosx: separate liblzma package
4212
4213 macosx/build.sh | 23 +++++++++++++++--------
4214 1 file changed, 15 insertions(+), 8 deletions(-)
4215
4216commit be0100d01ca6a75899d051bee00acf17e6dc0c15
4217Author: Anders F Bjorklund <afb@users.sourceforge.net>
4218Date:   2013-08-02 15:58:44 +0200
4219
4220    macosx: set minimum to leopard
4221
4222 macosx/build.sh | 13 ++++++++-----
4223 1 file changed, 8 insertions(+), 5 deletions(-)
4224
4225commit 416729e2d743f4b2fe9fd438eedeb98adce033c3
4226Author: Anders F Bjorklund <afb@users.sourceforge.net>
4227Date:   2011-08-07 13:13:30 +0200
4228
4229    move configurables into variables
4230
4231 macosx/build.sh | 25 ++++++++++++++++++-------
4232 1 file changed, 18 insertions(+), 7 deletions(-)
4233
4234commit 16581080e5f29f9a4e49efece21c5bf572323acc
4235Author: Lasse Collin <lasse.collin@tukaani.org>
4236Date:   2013-07-15 14:08:41 +0300
4237
4238    Update THANKS.
4239
4240 THANKS | 1 +
4241 1 file changed, 1 insertion(+)
4242
4243commit 3e2b198ba37b624efd9c7caee2a435dc986b46c6
4244Author: Lasse Collin <lasse.collin@tukaani.org>
4245Date:   2013-07-15 14:08:02 +0300
4246
4247    Build: Fix the detection of missing CRC32.
4248    
4249    Thanks to Vincent Torri.
4250
4251 configure.ac | 2 +-
4252 1 file changed, 1 insertion(+), 1 deletion(-)
4253
4254commit dee6ad3d5915422bc30a6821efeacaeb8ca8ef00
4255Author: Lasse Collin <lasse.collin@tukaani.org>
4256Date:   2013-07-04 14:18:46 +0300
4257
4258    xz: Add preliminary support for --flush-timeout=TIMEOUT.
4259    
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.
4263    
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.
4270    
4271    If TIMEOUT is 0, the feature is disabled. This is the default.
4272    
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.
4277    
4278    The --long-help or man page were not updated yet.
4279    The details of this feature may change.
4280
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(-)
4285
4286commit fa381acaf9a29a8114e1c0a97de99bab9adb014e
4287Author: Lasse Collin <lasse.collin@tukaani.org>
4288Date:   2013-07-04 13:41:03 +0300
4289
4290    xz: Don't set src_eof=true after an I/O error because it's useless.
4291
4292 src/xz/file_io.c | 3 ---
4293 1 file changed, 3 deletions(-)
4294
4295commit ea00545beace5b950f709ec21e46878e0f448678
4296Author: Lasse Collin <lasse.collin@tukaani.org>
4297Date:   2013-07-04 13:25:11 +0300
4298
4299    xz: Fix the test when to read more input.
4300    
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.
4305
4306 src/xz/coder.c | 6 +++---
4307 1 file changed, 3 insertions(+), 3 deletions(-)
4308
4309commit 736903c64bef394c06685d79908e397bcb08b88f
4310Author: Lasse Collin <lasse.collin@tukaani.org>
4311Date:   2013-07-04 12:51:57 +0300
4312
4313    xz: Move some of the timing code into mytime.[hc].
4314    
4315    This switches units from microseconds to milliseconds.
4316    
4317    New clock_gettime(CLOCK_MONOTONIC) will be used if available.
4318    There is still a fallback to gettimeofday().
4319
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(-)
4327
4328commit 24edf8d807e24ffaa1e793114d94cca3b970027d
4329Author: Lasse Collin <lasse.collin@tukaani.org>
4330Date:   2013-07-01 14:35:03 +0300
4331
4332    Update THANKS.
4333
4334 THANKS | 1 +
4335 1 file changed, 1 insertion(+)
4336
4337commit c0627b3fceacfa1ed162f5f55235360ea26f569a
4338Author: Lasse Collin <lasse.collin@tukaani.org>
4339Date:   2013-07-01 14:34:11 +0300
4340
4341    xz: Silence a warning seen with _FORTIFY_SOURCE=2.
4342    
4343    Thanks to Christian Hesse.
4344
4345 src/xz/file_io.c | 8 +++++++-
4346 1 file changed, 7 insertions(+), 1 deletion(-)
4347
4348commit 1936718bb38ee394bd89836fdd4eabc0beb02443
4349Author: Lasse Collin <lasse.collin@tukaani.org>
4350Date:   2013-06-30 19:40:11 +0300
4351
4352    Update NEWS for 5.0.5.
4353
4354 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
4355 1 file changed, 52 insertions(+)
4356
4357commit a37ae8b5eb6093a530198f109c6f7a538c80ecf0
4358Author: Lasse Collin <lasse.collin@tukaani.org>
4359Date:   2013-06-30 18:02:27 +0300
4360
4361    Man pages: Use similar syntax for synopsis as in xz.
4362    
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.
4368
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(-)
4373
4374commit cdba9ddd870ae72fd6219a125662c20ec997f86c
4375Author: Lasse Collin <lasse.collin@tukaani.org>
4376Date:   2013-06-29 15:59:13 +0300
4377
4378    xz: Use non-blocking I/O for the output file.
4379    
4380    Now both reading and writing should be without
4381    race conditions with signals.
4382    
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.
4387
4388 src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++--------
4389 1 file changed, 49 insertions(+), 8 deletions(-)
4390
4391commit e61a5c95da3fe31281d959e5e842885a8ba2b5bd
4392Author: Lasse Collin <lasse.collin@tukaani.org>
4393Date:   2013-06-28 23:56:17 +0300
4394
4395    xz: Fix return value type in io_write_buf().
4396    
4397    It didn't affect the behavior of the code since -1
4398    becomes true anyway.
4399
4400 src/xz/file_io.c | 2 +-
4401 1 file changed, 1 insertion(+), 1 deletion(-)
4402
4403commit 9dc319eabb34a826f4945f91c71620f14a60e9e2
4404Author: Lasse Collin <lasse.collin@tukaani.org>
4405Date:   2013-06-28 23:48:05 +0300
4406
4407    xz: Use the self-pipe trick to avoid a race condition with signals.
4408    
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.
4413    
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.
4417
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(-)
4422
4423commit 3541bc79d0cfabc0ad155c99bfdad1289f17fec3
4424Author: Lasse Collin <lasse.collin@tukaani.org>
4425Date:   2013-06-28 22:51:02 +0300
4426
4427    xz: Use non-blocking I/O for the input file.
4428
4429 src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++----------------
4430 1 file changed, 111 insertions(+), 45 deletions(-)
4431
4432commit 78673a08bed5066c81e8a8e90d20e670c28ecfd5
4433Author: Lasse Collin <lasse.collin@tukaani.org>
4434Date:   2013-06-28 18:46:13 +0300
4435
4436    xz: Remove an outdated NetBSD-specific comment.
4437    
4438    Nowadays errno == EFTYPE is documented in open(2).
4439
4440 src/xz/file_io.c | 4 ----
4441 1 file changed, 4 deletions(-)
4442
4443commit a616fdad34b48b2932ef03fb87309dcc8b829527
4444Author: Lasse Collin <lasse.collin@tukaani.org>
4445Date:   2013-06-28 18:09:47 +0300
4446
4447    xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls.
4448    
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).
4454
4455 src/xz/file_io.c | 8 ++++----
4456 1 file changed, 4 insertions(+), 4 deletions(-)
4457
4458commit 4a08a6e4c61c65ab763ab314100a6d7a3bb89298
4459Author: Lasse Collin <lasse.collin@tukaani.org>
4460Date:   2013-06-28 17:36:47 +0300
4461
4462    xz: Fix use of wrong variable in a fcntl() call.
4463    
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.
4470    
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.
4475
4476 src/xz/file_io.c | 24 +++++++++++++-----------
4477 1 file changed, 13 insertions(+), 11 deletions(-)
4478
4479commit b790b435daa3351067f80a5973b647f8d55367a2
4480Author: Lasse Collin <lasse.collin@tukaani.org>
4481Date:   2013-06-28 14:55:37 +0300
4482
4483    xz: Fix assertion related to posix_fadvise().
4484    
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.
4489
4490 src/xz/file_io.c | 10 ++--------
4491 1 file changed, 2 insertions(+), 8 deletions(-)
4492
4493commit 84d2da6c9dc252f441deb7626c2522202b005d4d
4494Author: Lasse Collin <lasse.collin@tukaani.org>
4495Date:   2013-06-26 13:30:57 +0300
4496
4497    xz: Check the value of lzma_stream_flags.version in --list.
4498    
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.
4503
4504 src/xz/list.c | 14 ++++++++++++++
4505 1 file changed, 14 insertions(+)
4506
4507commit 9376f5f8f762296f2173d61af9101112c36f38c0
4508Author: Lasse Collin <lasse.collin@tukaani.org>
4509Date:   2013-06-26 12:17:00 +0300
4510
4511    Build: Require Automake 1.12 and use serial-tests option.
4512    
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.
4517    
4518    At least for now, parallel tests don't improve anything
4519    in XZ Utils but they hide the progress output from
4520    test_compress.sh.
4521
4522 configure.ac | 4 +++-
4523 1 file changed, 3 insertions(+), 1 deletion(-)
4524
4525commit b7e200d7bd0a3c7c171c13ad37d68296d6f73374
4526Author: Lasse Collin <lasse.collin@tukaani.org>
4527Date:   2013-06-23 18:59:13 +0300
4528
4529    Update THANKS.
4530
4531 THANKS | 1 +
4532 1 file changed, 1 insertion(+)
4533
4534commit 46540e4c10923e363741ff5aab99e79fc0ce6ee8
4535Author: Lasse Collin <lasse.collin@tukaani.org>
4536Date:   2013-06-23 18:57:23 +0300
4537
4538    liblzma: Avoid a warning about a shadowed variable.
4539    
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
4542    a variable name.
4543    
4544    Thanks to Christian Kujau.
4545
4546 src/liblzma/common/stream_encoder_mt.c | 4 ++--
4547 1 file changed, 2 insertions(+), 2 deletions(-)
4548
4549commit ebb501ec73cecc546c67117dd01b5e33c90bfb4a
4550Author: Lasse Collin <lasse.collin@tukaani.org>
4551Date:   2013-06-23 17:36:47 +0300
4552
4553    xz: Validate Uncompressed Size from Block Header in list.c.
4554    
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.
4560
4561 src/xz/list.c | 14 +++++++++++++-
4562 1 file changed, 13 insertions(+), 1 deletion(-)
4563
4564commit c09e91dd236d3cabee0fc48312b3dc8cceae41ab
4565Author: Lasse Collin <lasse.collin@tukaani.org>
4566Date:   2013-06-21 22:08:11 +0300
4567
4568    Update THANKS.
4569
4570 THANKS | 2 ++
4571 1 file changed, 2 insertions(+)
4572
4573commit eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494
4574Author: Lasse Collin <lasse.collin@tukaani.org>
4575Date:   2013-06-21 22:04:45 +0300
4576
4577    xz: Make the man page more friendly to doclifter.
4578    
4579    Thanks to Eric S. Raymond.
4580
4581 src/xz/xz.1 | 7 ++++---
4582 1 file changed, 4 insertions(+), 3 deletions(-)
4583
4584commit 0c0a1947e6ad90a0a10b7a5c39f6ab99a0aa5c93
4585Author: Lasse Collin <lasse.collin@tukaani.org>
4586Date:   2013-06-21 21:54:59 +0300
4587
4588    xz: A couple of man page fixes.
4589    
4590    Now the interaction of presets and custom filter chains
4591    is described correctly. Earlier it contradicted itself.
4592    
4593    Thanks to DevHC who reported these issues on IRC to me
4594    on 2012-12-14.
4595
4596 src/xz/xz.1 | 35 +++++++++++++++++++++++------------
4597 1 file changed, 23 insertions(+), 12 deletions(-)
4598
4599commit 2fcda89939c903106c429e109083d43d894049e0
4600Author: Lasse Collin <lasse.collin@tukaani.org>
4601Date:   2013-06-21 21:50:26 +0300
4602
4603    xz: Fix interaction between preset and custom filter chains.
4604    
4605    There was somewhat illogical behavior when --extreme was
4606    specified and mixed with custom filter chains.
4607    
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.
4613    
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".
4618    
4619    Hopefully very few cared about this in the first place,
4620    so pretty much no one should even notice this change.
4621    
4622    Thanks to Conley Moorhous.
4623
4624 src/xz/coder.c | 35 +++++++++++++++++++++--------------
4625 1 file changed, 21 insertions(+), 14 deletions(-)
4626
4627commit 97379c5ea758da3f8b0bc444d5f7fa43753ce610
4628Author: Lasse Collin <lasse.collin@tukaani.org>
4629Date:   2013-04-27 22:07:46 +0300
4630
4631    Build: Use -Wvla with GCC if supported.
4632    
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.
4637
4638 configure.ac | 1 +
4639 1 file changed, 1 insertion(+)
4640
4641commit 8957c58609d3987c58aa72b96c436cf565cc4917
4642Author: Lasse Collin <lasse.collin@tukaani.org>
4643Date:   2013-04-15 19:29:09 +0300
4644
4645    xzdec: Improve the --help message.
4646    
4647    The options are now ordered in the same order as in xz's help
4648    message.
4649    
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.
4654
4655 src/xzdec/xzdec.c | 10 +++++-----
4656 1 file changed, 5 insertions(+), 5 deletions(-)
4657
4658commit ed886e1a92534a24401d0e99c11f1dcff3b5220a
4659Author: Lasse Collin <lasse.collin@tukaani.org>
4660Date:   2013-04-05 19:25:40 +0300
4661
4662    Update THANKS.
4663
4664 THANKS | 2 ++
4665 1 file changed, 2 insertions(+)
4666
4667commit 5019413a055ce29e660dbbf15e02443cb5a26c59
4668Author: Jeff Bastian <jbastian@redhat.com>
4669Date:   2013-04-03 13:59:17 +0200
4670
4671    xzgrep: make the '-h' option to be --no-filename equivalent
4672    
4673    * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
4674
4675 src/scripts/xzgrep.in | 2 +-
4676 1 file changed, 1 insertion(+), 1 deletion(-)
4677
4678commit 5ea900cb5ad862bca81316729f92357c1fc040ce
4679Author: Lasse Collin <lasse.collin@tukaani.org>
4680Date:   2013-03-23 22:25:15 +0200
4681
4682    liblzma: Be less picky in lzma_alone_decoder().
4683    
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.
4690    
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.
4695    
4696    NOTE: lzma_alone_decoder() still won't decode all .lzma files
4697    because liblzma's LZMA decoder doesn't support lc + lp > 4.
4698    
4699    Reported here:
4700    http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827
4701
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(-)
4706
4707commit bb117fffa84604b6e3811b068c80db82bf7f7b05
4708Author: Lasse Collin <lasse.collin@tukaani.org>
4709Date:   2013-03-23 21:55:13 +0200
4710
4711    liblzma: Use lzma_block_buffer_bound64() in threaded encoder.
4712    
4713    Now it uses lzma_block_uncomp_encode() if the data doesn't
4714    fit into the space calculated by lzma_block_buffer_bound64().
4715
4716 src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++---------
4717 1 file changed, 50 insertions(+), 16 deletions(-)
4718
4719commit e572e123b55b29527e54ce5f0807f115481d78b9
4720Author: Lasse Collin <lasse.collin@tukaani.org>
4721Date:   2013-03-23 21:51:38 +0200
4722
4723    liblzma: Fix another deadlock in the threaded encoder.
4724    
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).
4729
4730 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
4731 1 file changed, 6 insertions(+), 3 deletions(-)
4732
4733commit b465da5988dd59ad98fda10c2e4ea13d0b9c73bc
4734Author: Lasse Collin <lasse.collin@tukaani.org>
4735Date:   2013-03-23 19:17:33 +0200
4736
4737    liblzma: Add lzma_block_uncomp_encode().
4738    
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
4742    of size_t.
4743
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(-)
4749
4750commit 9e6dabcf22ef4679f4faaae15ebd5b137ae2fad1
4751Author: Lasse Collin <lasse.collin@tukaani.org>
4752Date:   2013-03-05 19:14:50 +0200
4753
4754    Avoid unneeded use of awk in xzless.
4755    
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.
4759    
4760    Thanks to Ariel P for the patch.
4761
4762 src/scripts/xzless.in | 3 +--
4763 1 file changed, 1 insertion(+), 2 deletions(-)
4764
4765commit e7b424d267a34803db8d92a3515528be2ed45abd
4766Author: Lasse Collin <lasse.collin@tukaani.org>
4767Date:   2012-12-14 20:13:32 +0200
4768
4769    Make the progress indicator smooth in threaded mode.
4770    
4771    This adds lzma_get_progress() to liblzma and takes advantage
4772    of it in xz.
4773    
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.
4782
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(-)
4790
4791commit 2ebbb994e367f55f2561aa7c9e7451703c171f2f
4792Author: Lasse Collin <lasse.collin@tukaani.org>
4793Date:   2012-12-14 11:01:41 +0200
4794
4795    liblzma: Fix mythread_sync for nested locking.
4796
4797 src/common/mythread.h | 5 +++--
4798 1 file changed, 3 insertions(+), 2 deletions(-)
4799
4800commit 4c7e28705f6de418d19cc77324ef301f996e01ff
4801Author: Lasse Collin <lasse.collin@tukaani.org>
4802Date:   2012-12-13 21:05:36 +0200
4803
4804    xz: Mention --threads in --help.
4805    
4806    Thanks to Olivier Delhomme for pointing out that this
4807    was still missing.
4808
4809 src/xz/message.c | 4 ++++
4810 1 file changed, 4 insertions(+)
4811
4812commit db5c1817fabf7cbb9e4087b1576eb26f0747338e
4813Author: Jonathan Nieder <jrnieder@gmail.com>
4814Date:   2012-11-19 00:10:10 -0800
4815
4816    xzless: Make "less -V" parsing more robust
4817    
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:
4823    
4824            $ xzless /tmp/test.xz; echo $?
4825            /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
4826            integer expression expected
4827            0
4828    
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.
4833    
4834            $ less-444 -V | head -1
4835            less 444
4836            $ less -V | head -1
4837            less 456 (no regular expressions)
4838    
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���.
4844    
4845    The implementation uses "awk" for simplicity.  Hopefully that���s
4846    portable enough.
4847    
4848    Reported-by: J��rg-Volker Peetz <jvpeetz@web.de>
4849    Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
4850
4851 src/scripts/xzless.in | 3 ++-
4852 1 file changed, 2 insertions(+), 1 deletion(-)
4853
4854commit 65536214a31ecd33b6b03b68a351fb597d3703d6
4855Author: Lasse Collin <lasse.collin@tukaani.org>
4856Date:   2012-10-03 15:54:24 +0300
4857
4858    xz: Fix the note about --rsyncable on the man page.
4859
4860 src/xz/xz.1 | 17 +++++++++--------
4861 1 file changed, 9 insertions(+), 8 deletions(-)
4862
4863commit 3d93b6354927247a1569caf22ad27b07e97ee904
4864Author: Lasse Collin <lasse.collin@tukaani.org>
4865Date:   2012-09-28 20:11:09 +0300
4866
4867    xz: Improve handling of failed realloc in xrealloc.
4868    
4869    Thanks to Jim Meyering.
4870
4871 src/xz/util.c | 14 ++++++++++++--
4872 1 file changed, 12 insertions(+), 2 deletions(-)
4873
4874commit ab225620664e235637833be2329935f9d290ba80
4875Author: Lasse Collin <lasse.collin@tukaani.org>
4876Date:   2012-08-24 16:27:31 +0300
4877
4878    A few typo fixes to comments and the xz man page.
4879    
4880    Thanks to Jim Meyering.
4881
4882 configure.ac               | 2 +-
4883 src/liblzma/check/sha256.c | 1 -
4884 src/xz/xz.1                | 4 ++--
4885 3 files changed, 3 insertions(+), 4 deletions(-)
4886
4887commit f3c1ec69d910175ffd431fd82968dd35cec806ed
4888Author: Lasse Collin <lasse.collin@tukaani.org>
4889Date:   2012-08-13 21:40:09 +0300
4890
4891    xz: Add a warning to --help about alpha and beta versions.
4892
4893 src/xz/message.c | 5 +++++
4894 1 file changed, 5 insertions(+)
4895
4896commit d8eaf9d8278c23c2cf2b7ca5562d4de570d3b5db
4897Author: Lasse Collin <lasse.collin@tukaani.org>
4898Date:   2012-08-02 17:13:30 +0300
4899
4900    Build: Bump gettext version requirement to 0.18.
4901    
4902    Otherwise too old version of m4/lib-link.m4 gets included
4903    when autoreconf -fi is run.
4904
4905 configure.ac | 2 +-
4906 1 file changed, 1 insertion(+), 1 deletion(-)
4907
4908commit 96e08902b09f0f304d4ff80c6e83ef7fff883f34
4909Author: Lasse Collin <lasse.collin@tukaani.org>
4910Date:   2012-07-17 18:29:08 +0300
4911
4912    Update THANKS.
4913
4914 THANKS | 1 +
4915 1 file changed, 1 insertion(+)
4916
4917commit 3778db1be53e61ff285c573af5ee468803008456
4918Author: Lasse Collin <lasse.collin@tukaani.org>
4919Date:   2012-07-17 18:19:59 +0300
4920
4921    liblzma: Make the use of lzma_allocator const-correct.
4922    
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.
4927    
4928    Thanks to Jan Kratochvil for the patch.
4929
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(-)
5002
5003commit d625c7cf824fd3b61c6da84f56179e94917ff603
5004Author: Lasse Collin <lasse.collin@tukaani.org>
5005Date:   2012-07-05 07:36:28 +0300
5006
5007    Tests: Remove tests/test_block.c that had gotten committed accidentally.
5008
5009 tests/test_block.c | 52 ----------------------------------------------------
5010 1 file changed, 52 deletions(-)
5011
5012commit 0b09d266cce72bc4841933b171e79551e488927c
5013Author: Lasse Collin <lasse.collin@tukaani.org>
5014Date:   2012-07-05 07:33:35 +0300
5015
5016    Build: Include macosx/build.sh in the distribution.
5017    
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. :-(
5021
5022 Makefile.am | 1 +
5023 1 file changed, 1 insertion(+)
5024
5025commit d6e0b23d4613b9f417893dd96cc168c8005ece3d
5026Author: Lasse Collin <lasse.collin@tukaani.org>
5027Date:   2012-07-05 07:28:53 +0300
5028
5029    Build: Include validate_map.sh in the distribution.
5030    
5031    It's required by "make mydist".
5032    
5033    Fix also the location of EXTRA_DIST+= so that those files
5034    get distributed also if symbol versioning isn't enabled.
5035
5036 src/liblzma/Makefile.am | 2 +-
5037 1 file changed, 1 insertion(+), 1 deletion(-)
5038
5039commit 19de545d86097c3954d69ab5d12820387f6a09bc
5040Author: Lasse Collin <lasse.collin@tukaani.org>
5041Date:   2012-07-05 07:24:45 +0300
5042
5043    Docs: Fix the name LZMA Utils -> XZ Utils in debug/README.
5044
5045 debug/README | 2 +-
5046 1 file changed, 1 insertion(+), 1 deletion(-)
5047
5048commit 672eccf57c31a40dfb956b7662db06d43e18618e
5049Author: Lasse Collin <lasse.collin@tukaani.org>
5050Date:   2012-07-05 07:23:17 +0300
5051
5052    Include debug/translation.bash in the distribution.
5053    
5054    Also fix the script name mentioned in README.
5055
5056 README            | 4 ++--
5057 debug/Makefile.am | 3 +++
5058 2 files changed, 5 insertions(+), 2 deletions(-)
5059
5060commit cafb523adac1caf305e70a04bc37f25602bf990c
5061Author: Lasse Collin <lasse.collin@tukaani.org>
5062Date:   2012-07-04 22:31:58 +0300
5063
5064    xz: Document --block-list better.
5065    
5066    Thanks to Jonathan Nieder.
5067
5068 src/xz/xz.1 | 8 +++++++-
5069 1 file changed, 7 insertions(+), 1 deletion(-)
5070
5071commit c7ff218528bc8f7c65e7ef73c6515777346c6794
5072Author: Lasse Collin <lasse.collin@tukaani.org>
5073Date:   2012-07-04 20:01:49 +0300
5074
5075    Bump the version number to 5.1.2alpha.
5076
5077 src/liblzma/api/lzma/version.h | 2 +-
5078 src/liblzma/liblzma.map        | 2 +-
5079 2 files changed, 2 insertions(+), 2 deletions(-)
5080
5081commit 8f3c1d886f93e6478ad509ff52102b2ce7faa999
5082Author: Lasse Collin <lasse.collin@tukaani.org>
5083Date:   2012-07-04 20:01:19 +0300
5084
5085    Update NEWS for 5.1.2alpha.
5086
5087 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
5088 1 file changed, 41 insertions(+)
5089
5090commit 0d5fa05466e580fbc458820f87013ae7644e20e5
5091Author: Lasse Collin <lasse.collin@tukaani.org>
5092Date:   2012-07-04 19:58:23 +0300
5093
5094    xz: Fix the version number printed by xz -lvv.
5095    
5096    The decoder bug was fixed in 5.0.2 instead of 5.0.3.
5097
5098 src/xz/list.c | 6 +++---
5099 1 file changed, 3 insertions(+), 3 deletions(-)
5100
5101commit df11317985a4165731dde12bb0f0028da0e7b77f
5102Author: Lasse Collin <lasse.collin@tukaani.org>
5103Date:   2012-07-04 17:11:31 +0300
5104
5105    Build: Add a comment to configure.ac about symbol versioning.
5106
5107 configure.ac | 4 ++++
5108 1 file changed, 4 insertions(+)
5109
5110commit bd9cc179e8be3ef515201d3ed9c7dd79ae88869d
5111Author: Lasse Collin <lasse.collin@tukaani.org>
5112Date:   2012-07-04 17:06:49 +0300
5113
5114    Update TODO.
5115
5116 TODO | 12 ++++++++++--
5117 1 file changed, 10 insertions(+), 2 deletions(-)
5118
5119commit 4a238dd9b22f462cac5e199828bf1beb0df05884
5120Author: Lasse Collin <lasse.collin@tukaani.org>
5121Date:   2012-07-04 17:05:46 +0300
5122
5123    Document --enable-symbol-versions in INSTALL.
5124
5125 INSTALL | 5 +++++
5126 1 file changed, 5 insertions(+)
5127
5128commit 88ccf47205d7f3aa314d358c72ef214f10f68b43
5129Author: Lasse Collin <lasse.collin@tukaani.org>
5130Date:   2012-07-03 21:16:39 +0300
5131
5132    xz: Add incomplete support for --block-list.
5133    
5134    It's broken with threads and when also --block-size is used.
5135
5136 src/xz/args.c    | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5137 src/xz/args.h    |  1 +
5138 src/xz/coder.c   | 48 ++++++++++++++++++++++++++++------
5139 src/xz/coder.h   |  4 +++
5140 src/xz/main.c    |  1 +
5141 src/xz/message.c |  6 +++++
5142 src/xz/xz.1      | 23 +++++++++++++++--
5143 7 files changed, 151 insertions(+), 10 deletions(-)
5144
5145commit 972179cdcdf5d8949c48ee31737d87d3050b44af
5146Author: Lasse Collin <lasse.collin@tukaani.org>
5147Date:   2012-07-01 18:44:33 +0300
5148
5149    xz: Update the man page about the new field in --robot -lvv.
5150
5151 src/xz/xz.1 | 18 +++++++++++++++++-
5152 1 file changed, 17 insertions(+), 1 deletion(-)
5153
5154commit 1403707fc64a70976aebe66f8d9a9bd12f73a2c5
5155Author: Lasse Collin <lasse.collin@tukaani.org>
5156Date:   2012-06-28 10:47:49 +0300
5157
5158    liblzma: Check that the first byte of range encoded data is 0x00.
5159    
5160    It is just to be more pedantic and thus perhaps catch broken
5161    files slightly earlier.
5162
5163 src/liblzma/lzma/lzma_decoder.c        |  8 ++++++--
5164 src/liblzma/rangecoder/range_decoder.h | 12 +++++++++---
5165 2 files changed, 15 insertions(+), 5 deletions(-)
5166
5167commit eccd8017ffe2c5de473222c4963ec53c62f7fda2
5168Author: Lasse Collin <lasse.collin@tukaani.org>
5169Date:   2012-06-22 19:00:23 +0300
5170
5171    Update NEWS from 5.0.4.
5172
5173 NEWS | 37 +++++++++++++++++++++++++++++++++++++
5174 1 file changed, 37 insertions(+)
5175
5176commit 2e6754eac26a431e8d340c28906f63bcd1e177e8
5177Author: Lasse Collin <lasse.collin@tukaani.org>
5178Date:   2012-06-22 14:34:03 +0300
5179
5180    xz: Update man page date to match the latest update.
5181
5182 src/xz/xz.1 | 2 +-
5183 1 file changed, 1 insertion(+), 1 deletion(-)
5184
5185commit b3235a0b1af45d5e1244cbe3191516966c076fa0
5186Author: Lasse Collin <lasse.collin@tukaani.org>
5187Date:   2012-06-18 21:27:47 +0300
5188
5189    Docs: Language fix to 01_compress_easy.c.
5190    
5191    Thanks to Jonathan Nieder.
5192
5193 doc/examples/01_compress_easy.c | 2 +-
5194 1 file changed, 1 insertion(+), 1 deletion(-)
5195
5196commit f1675f765fe228cb5a5f904f853445a03e33cfe9
5197Author: Lasse Collin <lasse.collin@tukaani.org>
5198Date:   2012-06-14 20:15:30 +0300
5199
5200    Fix the top-level Makefile.am for the new example programs.
5201
5202 Makefile.am | 12 ++++++++++--
5203 1 file changed, 10 insertions(+), 2 deletions(-)
5204
5205commit 3a0c5378abefaf86aa39a62a7c9682bdb21568a1
5206Author: Lasse Collin <lasse.collin@tukaani.org>
5207Date:   2012-06-14 10:52:33 +0300
5208
5209    Docs: Add new example programs.
5210    
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.
5214
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(+)
5221
5222commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d
5223Author: Lasse Collin <lasse.collin@tukaani.org>
5224Date:   2012-06-14 10:33:27 +0300
5225
5226    Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old.
5227    
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.
5231
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(-)
5235
5236commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292
5237Author: Lasse Collin <lasse.collin@tukaani.org>
5238Date:   2012-06-14 10:33:01 +0300
5239
5240    Docs: Fix a bug in xz_pipe_decomp.c example program.
5241
5242 doc/examples/xz_pipe_decomp.c | 10 +++++++++-
5243 1 file changed, 9 insertions(+), 1 deletion(-)
5244
5245commit 4bd1a3bd5fdf4870b2f96dd0b8a21657c8a58ad8
5246Author: Lasse Collin <lasse.collin@tukaani.org>
5247Date:   2012-05-30 23:14:33 +0300
5248
5249    Translations: Update the French translation.
5250    
5251    Thanks to Adrien Nader.
5252
5253 po/fr.po | 148 ++++++++++++++++++++++++++++++++++-----------------------------
5254 1 file changed, 79 insertions(+), 69 deletions(-)
5255
5256commit d2e836f2f3a87df6fe6bb0589b037db51205d910
5257Author: Lasse Collin <lasse.collin@tukaani.org>
5258Date:   2012-05-29 23:42:37 +0300
5259
5260    Translations: Update the German translation.
5261    
5262    The previous only included the new strings in v5.0.
5263
5264 po/de.po | 229 +++++++++++++++++++++++++++++++++++++--------------------------
5265 1 file changed, 133 insertions(+), 96 deletions(-)
5266
5267commit c9a16151577ba459afd6e3528df23bc0ddb95171
5268Author: Lasse Collin <lasse.collin@tukaani.org>
5269Date:   2012-05-29 22:26:27 +0300
5270
5271    Translations: Update the German translation.
5272
5273 po/de.po | 169 ++++++++++++++++++++++++++++++++++-----------------------------
5274 1 file changed, 91 insertions(+), 78 deletions(-)
5275
5276commit 1530a74fd48f8493372edad137a24541efe24713
5277Author: Lasse Collin <lasse.collin@tukaani.org>
5278Date:   2012-05-29 22:14:21 +0300
5279
5280    Translations: Update Polish translation.
5281
5282 po/pl.po | 283 +++++++++++++++++++++++++++++++++++++--------------------------
5283 1 file changed, 165 insertions(+), 118 deletions(-)
5284
5285commit d8db706acb8316f9861abd432cfbe001dd6d0c5c
5286Author: Lasse Collin <lasse.collin@tukaani.org>
5287Date:   2012-05-28 20:42:11 +0300
5288
5289    liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.
5290    
5291    lzma_code() could incorrectly return LZMA_BUF_ERROR if
5292    all of the following was true:
5293    
5294      - The caller knows how many bytes of output to expect
5295        and only provides that much output space.
5296    
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.
5302    
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.
5307    
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().
5312    
5313    A similar bug was fixed in XZ Embedded on 2011-09-19.
5314
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(-)
5319
5320commit 3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda
5321Author: Lasse Collin <lasse.collin@tukaani.org>
5322Date:   2012-05-28 15:38:32 +0300
5323
5324    Update THANKS.
5325
5326 THANKS | 1 +
5327 1 file changed, 1 insertion(+)
5328
5329commit 7769ea051d739a38a1640fd448cf5eb83cb119c6
5330Author: Lasse Collin <lasse.collin@tukaani.org>
5331Date:   2012-05-28 15:37:43 +0300
5332
5333    xz: Don't show a huge number in -vv when memory limit is disabled.
5334
5335 src/xz/message.c | 12 +++++++++++-
5336 1 file changed, 11 insertions(+), 1 deletion(-)
5337
5338commit ec921105725e4d3ef0a683dd83eee6f24ab60ccd
5339Author: Lasse Collin <lasse.collin@tukaani.org>
5340Date:   2012-05-27 22:30:17 +0300
5341
5342    xz: Document the "summary" lines of --robot -lvv.
5343    
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.
5347
5348 src/xz/xz.1 | 19 +++++++++++++++++++
5349 1 file changed, 19 insertions(+)
5350
5351commit 27d24eb0a9f6eed96d6a4594c2b0bf7a91d29f9a
5352Author: Lasse Collin <lasse.collin@tukaani.org>
5353Date:   2012-05-27 21:53:20 +0300
5354
5355    xz: Fix output of verbose --robot --list modes.
5356    
5357    It printed the filename in "filename (x/y)" format
5358    which it obviously shouldn't do in robot mode.
5359
5360 src/xz/message.c | 2 +-
5361 1 file changed, 1 insertion(+), 1 deletion(-)
5362
5363commit ab25b82a91754d9388c89abddf806424671d9431
5364Author: Lasse Collin <lasse.collin@tukaani.org>
5365Date:   2012-05-24 18:33:54 +0300
5366
5367    Build: Upgrade m4/acx_pthread.m4 to the latest version.
5368
5369 m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++---------------------
5370 1 file changed, 62 insertions(+), 36 deletions(-)
5371
5372commit d05d6d65c41a4bc83f162fa3d67c5d84e8751634
5373Author: Lasse Collin <lasse.collin@tukaani.org>
5374Date:   2012-05-10 21:15:17 +0300
5375
5376    Update THANKS.
5377
5378 THANKS | 1 +
5379 1 file changed, 1 insertion(+)
5380
5381commit e077391982f9f28dbfe542bba8800e7c5b916666
5382Author: Lasse Collin <lasse.collin@tukaani.org>
5383Date:   2012-05-10 21:14:16 +0300
5384
5385    Docs: Cleanup line wrapping a bit.
5386
5387 README          | 12 ++++++------
5388 doc/history.txt | 49 +++++++++++++++++++++++++------------------------
5389 2 files changed, 31 insertions(+), 30 deletions(-)
5390
5391commit fc39849c350225c6a1cd7f6e6adff1020521eabc
5392Author: Benno Schulenberg <bensberg@justemail.net>
5393Date:   2012-03-13 22:04:04 +0100
5394
5395    Fix a few typos and add some missing articles in some documents.
5396    
5397    Also hyphenate several compound adjectives.
5398    
5399    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
5400
5401 AUTHORS         |  6 +++---
5402 README          | 42 ++++++++++++++++++++---------------------
5403 doc/faq.txt     | 24 ++++++++++++------------
5404 doc/history.txt | 58 ++++++++++++++++++++++++++++-----------------------------
5405 4 files changed, 65 insertions(+), 65 deletions(-)
5406
5407commit 29fa0566d5df199cb9acb2d17bf7eea61acc7fa1
5408Author: Lasse Collin <lasse.collin@tukaani.org>
5409Date:   2012-04-29 11:51:25 +0300
5410
5411    Windows: Update notes about static linking with MSVC.
5412
5413 windows/README-Windows.txt | 13 +++++++++----
5414 1 file changed, 9 insertions(+), 4 deletions(-)
5415
5416commit aac1b31ea4e66cf5a7a8c116bdaa15aa45e6c56e
5417Author: Lasse Collin <lasse.collin@tukaani.org>
5418Date:   2012-04-19 15:25:26 +0300
5419
5420    liblzma: Remove outdated comments.
5421
5422 src/liblzma/simple/simple_coder.c   | 3 ---
5423 src/liblzma/simple/simple_private.h | 3 +--
5424 2 files changed, 1 insertion(+), 5 deletions(-)
5425
5426commit df14a46013bea70c0bd35be7821b0b9108f97de7
5427Author: Lasse Collin <lasse.collin@tukaani.org>
5428Date:   2012-04-19 14:17:52 +0300
5429
5430    DOS: Link against DJGPP's libemu to support FPU emulation.
5431    
5432    This way xz should work on 386SX and 486SX. Floating point
5433    only is needed for verbose output in xz.
5434
5435 dos/Makefile | 2 +-
5436 1 file changed, 1 insertion(+), 1 deletion(-)
5437
5438commit 03ed742a3a4931bb5c821357832083b26f577b13
5439Author: Lasse Collin <lasse.collin@tukaani.org>
5440Date:   2012-04-19 14:02:25 +0300
5441
5442    liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed.
5443
5444 src/liblzma/liblzma.pc.in | 2 +-
5445 1 file changed, 1 insertion(+), 1 deletion(-)
5446
5447commit 8c5b13ad59df70f49429bfdfd6ac120b8f892fda
5448Author: Lasse Collin <lasse.collin@tukaani.org>
5449Date:   2012-04-19 13:58:55 +0300
5450
5451    Docs: Update MINIX 3 information in INSTALL.
5452
5453 INSTALL | 8 +++++---
5454 1 file changed, 5 insertions(+), 3 deletions(-)
5455
5456commit c7376fc415a1566f38b2de4b516a17013d516a8b
5457Author: Lasse Collin <lasse.collin@tukaani.org>
5458Date:   2012-02-22 14:23:13 +0200
5459
5460    Update THANKS.
5461
5462 THANKS | 1 +
5463 1 file changed, 1 insertion(+)
5464
5465commit cff070aba6281ba743d29a62b8c0c66e5da4b2a6
5466Author: Lasse Collin <lasse.collin@tukaani.org>
5467Date:   2012-02-22 14:02:34 +0200
5468
5469    Fix exit status of xzgrep when grepping binary files.
5470    
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.
5476    
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.
5480    
5481    Thanks to James Buren for the bug report.
5482
5483 src/scripts/xzgrep.in | 3 ++-
5484 1 file changed, 2 insertions(+), 1 deletion(-)
5485
5486commit 41cafb2bf9beea915710ee68f05fe929cd17759c
5487Author: Lasse Collin <lasse.collin@tukaani.org>
5488Date:   2012-02-22 12:08:43 +0200
5489
5490    Update THANKS.
5491
5492 THANKS | 1 +
5493 1 file changed, 1 insertion(+)
5494
5495commit 2dcea03712fa881930d69ec9eff70855c3d126d9
5496Author: Lasse Collin <lasse.collin@tukaani.org>
5497Date:   2012-02-22 12:00:16 +0200
5498
5499    Fix compiling with IBM XL C on AIX.
5500
5501 INSTALL      | 36 ++++++++++++++++++++++--------------
5502 configure.ac |  6 +++++-
5503 2 files changed, 27 insertions(+), 15 deletions(-)
5504
5505commit 7db6bdf4abcf524115be2cf5659ed540cef074c5
5506Author: Lasse Collin <lasse.collin@tukaani.org>
5507Date:   2012-01-10 17:13:03 +0200
5508
5509    Tests: Fix a compiler warning with _FORTIFY_SOURCE.
5510    
5511    Reported here:
5512    http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385
5513
5514 tests/create_compress_files.c | 3 ++-
5515 1 file changed, 2 insertions(+), 1 deletion(-)
5516
5517commit 694952d545b6cf056547893ced69486eff9ece55
5518Author: Lasse Collin <lasse.collin@tukaani.org>
5519Date:   2011-12-19 21:21:29 +0200
5520
5521    Docs: Explain the stable releases better in README.
5522
5523 README | 6 +++++-
5524 1 file changed, 5 insertions(+), 1 deletion(-)
5525
5526commit 418fe668b3c53a9a20020b6cc652aaf25c734b29
5527Author: Lasse Collin <lasse.collin@tukaani.org>
5528Date:   2011-11-07 13:07:52 +0200
5529
5530    xz: Show minimum required XZ Utils version in xz -lvv.
5531    
5532    Man page wasn't updated yet.
5533
5534 src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
5535 1 file changed, 57 insertions(+), 6 deletions(-)
5536
5537commit 7081d82c37326bac97184e338345fa1c327e3580
5538Author: Lasse Collin <lasse.collin@tukaani.org>
5539Date:   2011-11-04 17:57:16 +0200
5540
5541    xz: Fix a typo in a comment.
5542    
5543    Thanks to Bela Lubkin.
5544
5545 src/xz/args.c | 2 +-
5546 1 file changed, 1 insertion(+), 1 deletion(-)
5547
5548commit 232fe7cd70ad258d6a37f17e860e0f1b1891eeb5
5549Author: Lasse Collin <lasse.collin@tukaani.org>
5550Date:   2011-11-03 17:08:02 +0200
5551
5552    Update THANKS.
5553
5554 THANKS | 1 +
5555 1 file changed, 1 insertion(+)
5556
5557commit 74d2bae4d3449c68453b0473dd3430ce91fd90c1
5558Author: Lasse Collin <lasse.collin@tukaani.org>
5559Date:   2011-11-03 17:07:22 +0200
5560
5561    xz: Fix xz on EBCDIC systems.
5562    
5563    Thanks to Chris Donawa.
5564
5565 src/xz/coder.c | 5 ++++-
5566 1 file changed, 4 insertions(+), 1 deletion(-)
5567
5568commit 4ac4923f47cc0ef97dd9ca5cfcc44fc53eeab34a
5569Author: Lasse Collin <lasse.collin@tukaani.org>
5570Date:   2011-10-23 17:09:10 +0300
5571
5572    Update THANKS.
5573
5574 THANKS | 1 +
5575 1 file changed, 1 insertion(+)
5576
5577commit ab50ae3ef40c81e5bf613905ca3fd636548b75e7
5578Author: Lasse Collin <lasse.collin@tukaani.org>
5579Date:   2011-10-23 17:08:14 +0300
5580
5581    liblzma: Fix invalid free() in the threaded encoder.
5582    
5583    It was triggered if initialization failed e.g. due to
5584    running out of memory.
5585    
5586    Thanks to Arkadiusz Miskiewicz.
5587
5588 src/liblzma/common/outqueue.c | 4 ++++
5589 1 file changed, 4 insertions(+)
5590
5591commit 6b620a0f0813d28c3c544b4ff8cb595b38a6e908
5592Author: Lasse Collin <lasse.collin@tukaani.org>
5593Date:   2011-10-23 17:05:55 +0300
5594
5595    liblzma: Fix a deadlock in the threaded encoder.
5596    
5597    It was triggered when reinitializing the encoder,
5598    e.g. when encoding two files.
5599
5600 src/liblzma/common/stream_encoder_mt.c | 4 +++-
5601 1 file changed, 3 insertions(+), 1 deletion(-)
5602
5603commit bd52cf150ecd51e3ab63a9cc1a3cff6a77500178
5604Author: Lasse Collin <lasse.collin@tukaani.org>
5605Date:   2011-09-06 12:03:41 +0300
5606
5607    Build: Fix "make check" on Windows.
5608
5609 tests/Makefile.am  | 7 +++++--
5610 windows/build.bash | 2 ++
5611 2 files changed, 7 insertions(+), 2 deletions(-)
5612
5613commit 5c5b2256969ac473001b7d67615ed3bd0a54cc82
5614Author: Lasse Collin <lasse.collin@tukaani.org>
5615Date:   2011-08-09 21:19:13 +0300
5616
5617    Update THANKS.
5618
5619 THANKS | 2 ++
5620 1 file changed, 2 insertions(+)
5621
5622commit 5b1e1f10741af9e4bbe4cfc3261fb7c7b04f7809
5623Author: Lasse Collin <lasse.collin@tukaani.org>
5624Date:   2011-08-09 21:16:44 +0300
5625
5626    Workaround unusual SIZE_MAX on SCO OpenServer.
5627
5628 src/common/sysdefs.h | 9 ++++++---
5629 1 file changed, 6 insertions(+), 3 deletions(-)
5630
5631commit e9ed88126eee86e2511fa42681a5c7104820cf0a
5632Author: Lasse Collin <lasse.collin@tukaani.org>
5633Date:   2011-08-06 20:37:28 +0300
5634
5635    Run the scripts with the correct shell in test_scripts.sh.
5636    
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.
5642    
5643    Thanks to Jonathan Nieder for the patch.
5644
5645 configure.ac          | 8 ++++----
5646 tests/test_scripts.sh | 8 ++++----
5647 2 files changed, 8 insertions(+), 8 deletions(-)
5648
5649commit 1c673e5681720491a74fc4b2992e075f47302c22
5650Author: Lasse Collin <lasse.collin@tukaani.org>
5651Date:   2011-07-31 11:01:47 +0300
5652
5653    Fix exit status of "xzdiff foo.xz bar.xz".
5654    
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.
5659    
5660    The bug is inherited from zdiff in GNU gzip and was fixed
5661    there on 2009-10-09.
5662    
5663    Thanks to Jonathan Nieder for the patch and
5664    to Peter Pallinger for reporting the bug.
5665
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(-)
5670
5671commit 324cde7a864f4506c32ae7846d688c359a83fe65
5672Author: Lasse Collin <lasse.collin@tukaani.org>
5673Date:   2011-06-16 12:15:29 +0300
5674
5675    liblzma: Remove unneeded semicolon.
5676
5677 src/liblzma/lz/lz_encoder_hash.h | 2 +-
5678 1 file changed, 1 insertion(+), 1 deletion(-)
5679
5680commit 492c86345551a51a29bf18e55fe55a5e86f169ce
5681Author: Lasse Collin <lasse.collin@tukaani.org>
5682Date:   2011-05-28 19:24:56 +0300
5683
5684    Build: Make configure print if symbol versioning is enabled or not.
5685
5686 configure.ac | 2 ++
5687 1 file changed, 2 insertions(+)
5688
5689commit fc4d4436969bd4d71b704d400a165875e596034a
5690Author: Lasse Collin <lasse.collin@tukaani.org>
5691Date:   2011-05-28 16:43:26 +0300
5692
5693    Don't call close(-1) in tuklib_open_stdxxx() on error.
5694    
5695    Thanks to Jim Meyering.
5696
5697 src/common/tuklib_open_stdxxx.c | 4 +++-
5698 1 file changed, 3 insertions(+), 1 deletion(-)
5699
5700commit bd35d903a04c4d388adb4065b0fa271302380895
5701Author: Lasse Collin <lasse.collin@tukaani.org>
5702Date:   2011-05-28 15:55:39 +0300
5703
5704    liblzma: Use symbol versioning.
5705    
5706    Symbol versioning is enabled by default on GNU/Linux,
5707    other GNU-based systems, and FreeBSD.
5708    
5709    I'm not sure how stable this is, so it may need
5710    backward-incompatible changes before the next release.
5711    
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.
5717    
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.
5721
5722 Makefile.am                 |   1 +
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(+)
5728
5729commit afbb244362c9426a37ce4eb9d54aab768da3adad
5730Author: Lasse Collin <lasse.collin@tukaani.org>
5731Date:   2011-05-28 09:46:46 +0300
5732
5733    Translations: Update the Italian translation.
5734    
5735    Thanks to Milo Casagrande.
5736
5737 po/it.po | 365 +++++++++++++++++++++++++++++++++++++--------------------------
5738 1 file changed, 216 insertions(+), 149 deletions(-)
5739
5740commit 79bef85e0543c0c3723281c3c817616c6cec343b
5741Author: Lasse Collin <lasse.collin@tukaani.org>
5742Date:   2011-05-28 08:46:04 +0300
5743
5744    Tests: Add a test file for the bug in the previous commit.
5745
5746 tests/files/README                  |   4 ++++
5747 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes
5748 2 files changed, 4 insertions(+)
5749
5750commit c0297445064951807803457dca1611b3c47e7f0f
5751Author: Lasse Collin <lasse.collin@tukaani.org>
5752Date:   2011-05-27 22:25:44 +0300
5753
5754    xz: Fix error handling in xz -lvv.
5755    
5756    It could do an invalid free() and read past the end
5757    of the uninitialized filters array.
5758
5759 src/xz/list.c | 21 ++++++---------------
5760 1 file changed, 6 insertions(+), 15 deletions(-)
5761
5762commit 8bd91918ac50731f00b1a2a48072980572eb2ff9
5763Author: Lasse Collin <lasse.collin@tukaani.org>
5764Date:   2011-05-27 22:09:49 +0300
5765
5766    liblzma: Handle allocation failures correctly in lzma_index_init().
5767    
5768    Thanks to Jim Meyering.
5769
5770 src/liblzma/common/index.c | 7 +++++--
5771 1 file changed, 5 insertions(+), 2 deletions(-)
5772
5773commit fe00f95828ef5627721b57e054f7eb2d42a2c961
5774Author: Lasse Collin <lasse.collin@tukaani.org>
5775Date:   2011-05-24 00:23:46 +0300
5776
5777    Build: Fix checking for system-provided SHA-256.
5778
5779 configure.ac | 2 +-
5780 1 file changed, 1 insertion(+), 1 deletion(-)
5781
5782commit 21b45b9bab541f419712cbfd473ccc31802e0397
5783Author: Lasse Collin <lasse.collin@tukaani.org>
5784Date:   2011-05-23 18:30:30 +0300
5785
5786    Build: Set GZIP_ENV=-9n in top-level Makefile.am.
5787
5788 Makefile.am | 3 +++
5789 1 file changed, 3 insertions(+)
5790
5791commit 48053e8a4550233af46359024538bff90c870ab1
5792Author: Lasse Collin <lasse.collin@tukaani.org>
5793Date:   2011-05-22 16:42:11 +0300
5794
5795    Update NEWS for 5.0.3.
5796
5797 NEWS | 32 ++++++++++++++++++++++++++++++++
5798 1 file changed, 32 insertions(+)
5799
5800commit bba37df2c9e54ad773e15ff00a09d2d6989fb3b2
5801Author: Lasse Collin <lasse.collin@tukaani.org>
5802Date:   2011-05-21 16:28:44 +0300
5803
5804    Add French translation.
5805    
5806    It is known that the BCJ filter --help text is only
5807    partially translated.
5808
5809 po/LINGUAS |   1 +
5810 po/fr.po   | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5811 2 files changed, 865 insertions(+)
5812
5813commit 4161d7634965a7a287bf208dcd79f6185f448fe8
5814Author: Lasse Collin <lasse.collin@tukaani.org>
5815Date:   2011-05-21 15:12:10 +0300
5816
5817    xz: Translate also the string used to print the program name.
5818    
5819    French needs a space before a colon, e.g. "xz : foo error".
5820
5821 src/xz/message.c | 6 +++++-
5822 1 file changed, 5 insertions(+), 1 deletion(-)
5823
5824commit b94aa0c8380cdb18cddb33440d625474c16643cf
5825Author: Lasse Collin <lasse.collin@tukaani.org>
5826Date:   2011-05-21 15:08:44 +0300
5827
5828    liblzma: Try to use SHA-256 from the operating system.
5829    
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
5834    other packages.
5835    
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.
5839    
5840    Thanks to Wim Lewis for the original patch, improvements,
5841    and testing.
5842
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(-)
5847
5848commit f004128678d43ea10b4a6401aa184cf83252d6ec
5849Author: Lasse Collin <lasse.collin@tukaani.org>
5850Date:   2011-05-17 12:52:18 +0300
5851
5852    Don't use clockid_t in mythread.h when clock_gettime() isn't available.
5853    
5854    Thanks to Wim Lewis for the patch.
5855
5856 src/common/mythread.h | 2 ++
5857 1 file changed, 2 insertions(+)
5858
5859commit f779516f42ebd2db47a5b7d6143459bf7737cf2f
5860Author: Lasse Collin <lasse.collin@tukaani.org>
5861Date:   2011-05-17 12:26:28 +0300
5862
5863    Update THANKS.
5864
5865 THANKS | 3 +++
5866 1 file changed, 3 insertions(+)
5867
5868commit 830ba587775bb562f6eaf05cad61bf669d1f8892
5869Author: Lasse Collin <lasse.collin@tukaani.org>
5870Date:   2011-05-17 12:21:33 +0300
5871
5872    Update INSTALL with a note about linker problem on OpenSolaris x86.
5873
5874 INSTALL | 23 +++++++++++++++++------
5875 1 file changed, 17 insertions(+), 6 deletions(-)
5876
5877commit ec7106309c8060e9c646dba20c4f15689a0bbb04
5878Author: Lasse Collin <lasse.collin@tukaani.org>
5879Date:   2011-05-17 12:01:37 +0300
5880
5881    Build: Fix initialization of enable_check_* variables in configure.ac.
5882    
5883    This doesn't matter much in practice since it is unlikely
5884    that anyone would have such environment variable names.
5885    
5886    Thanks to Wim Lewis.
5887
5888 configure.ac | 2 +-
5889 1 file changed, 1 insertion(+), 1 deletion(-)
5890
5891commit 4c6e146df99696920f12410fb17754412797ef36
5892Author: Lasse Collin <lasse.collin@tukaani.org>
5893Date:   2011-05-17 11:54:38 +0300
5894
5895    Add underscores to attributes (__attribute((__foo__))).
5896
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(-)
5923
5924commit 7a480e485938884ef3021b48c3b0b9f9699dc9b6
5925Author: Lasse Collin <lasse.collin@tukaani.org>
5926Date:   2011-05-01 12:24:23 +0300
5927
5928    xz: Fix input file position when --single-stream is used.
5929    
5930    Now the following works as you would expect:
5931    
5932        echo foo | xz > foo.xz
5933        echo bar | xz >> foo.xz
5934        ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz
5935    
5936    Note that it doesn't work if the input is not seekable
5937    or if there is Stream Padding between the concatenated
5938    .xz Streams.
5939
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(+)
5944
5945commit c29e6630c1450c630c4e7b783bdd76515db9004c
5946Author: Lasse Collin <lasse.collin@tukaani.org>
5947Date:   2011-05-01 12:15:51 +0300
5948
5949    xz: Print the maximum number of worker threads in xz -vv.
5950
5951 src/xz/coder.c | 4 ++++
5952 1 file changed, 4 insertions(+)
5953
5954commit 0b77c4a75158ccc416b07d6e81df8ee0abaea720
5955Author: Lasse Collin <lasse.collin@tukaani.org>
5956Date:   2011-04-19 10:44:48 +0300
5957
5958    Build: Warn if no supported method to detect the number of CPU cores.
5959
5960 configure.ac | 11 +++++------
5961 1 file changed, 5 insertions(+), 6 deletions(-)
5962
5963commit e4622df9ab4982f8faa53d85b17be66216175a58
5964Author: Lasse Collin <lasse.collin@tukaani.org>
5965Date:   2011-04-19 09:55:06 +0300
5966
5967    Update THANKS.
5968
5969 THANKS | 1 +
5970 1 file changed, 1 insertion(+)
5971
5972commit 9c1b05828a88eff54409760b92162c7cc2c7cff6
5973Author: Lasse Collin <lasse.collin@tukaani.org>
5974Date:   2011-04-19 09:20:44 +0300
5975
5976    Fix portability problems in mythread.h.
5977    
5978    Use gettimeofday() if clock_gettime() isn't available
5979    (e.g. Darwin).
5980    
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.
5986    
5987    Don't try to use pthread_sigmask() on OpenVMS. It doesn't
5988    have that function.
5989    
5990    Guard mythread.h against being #included multiple times.
5991
5992 configure.ac          |  7 +++++++
5993 src/common/mythread.h | 31 +++++++++++++++++++++++++++----
5994 2 files changed, 34 insertions(+), 4 deletions(-)
5995
5996commit 3de00cc75da7b0e7b65e84c62b5351e231f501e9
5997Author: Lasse Collin <lasse.collin@tukaani.org>
5998Date:   2011-04-18 19:35:49 +0300
5999
6000    Update THANKS.
6001
6002 THANKS | 2 ++
6003 1 file changed, 2 insertions(+)
6004
6005commit bd5002f5821e3d1b04f2f56989e4a19318e73633
6006Author: Martin V��th <vaeth@mathematik.uni-wuerzburg.de>
6007Date:   2011-04-15 04:54:49 -0400
6008
6009    xzgrep: fix typo in $0 parsing
6010    
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>
6014
6015 src/scripts/xzgrep.in | 4 ++--
6016 1 file changed, 2 insertions(+), 2 deletions(-)
6017
6018commit 6ef4eabc0acc49e1bb9dc68064706e19fa9fcf48
6019Author: Lasse Collin <lasse.collin@tukaani.org>
6020Date:   2011-04-12 12:48:31 +0300
6021
6022    Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99.
6023
6024 src/liblzma/Makefile.am        | 2 +-
6025 src/liblzma/api/lzma/version.h | 2 +-
6026 2 files changed, 2 insertions(+), 2 deletions(-)
6027
6028commit 9a4377be0d21e597c66bad6c7452873aebfb3c1c
6029Author: Lasse Collin <lasse.collin@tukaani.org>
6030Date:   2011-04-12 12:42:37 +0300
6031
6032    Put the unstable APIs behind #ifdef LZMA_UNSTABLE.
6033    
6034    This way people hopefully won't complain if these APIs
6035    change and break code that used an older API.
6036
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(+)
6041
6042commit 3e321a3acd50002cf6fdfd259e910f56d3389bc3
6043Author: Lasse Collin <lasse.collin@tukaani.org>
6044Date:   2011-04-12 11:59:49 +0300
6045
6046    Remove doubled words from documentation and comments.
6047    
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"}'
6052    
6053    Thanks to Jim Meyering for the original patch.
6054
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 +-
6059 src/xz/xz.1                        | 2 +-
6060 windows/INSTALL-Windows.txt        | 2 +-
6061 6 files changed, 7 insertions(+), 7 deletions(-)
6062
6063commit d91a84b534b012d19474f2fda1fbcaef873e1ba4
6064Author: Lasse Collin <lasse.collin@tukaani.org>
6065Date:   2011-04-12 11:46:01 +0300
6066
6067    Update NEWS.
6068
6069 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++--
6070 1 file changed, 45 insertions(+), 2 deletions(-)
6071
6072commit 14e6ad8cfe0165c1a8beeb5b2a1536558b29b0a1
6073Author: Lasse Collin <lasse.collin@tukaani.org>
6074Date:   2011-04-12 11:45:40 +0300
6075
6076    Update TODO.
6077
6078 TODO | 12 +++++++++++-
6079 1 file changed, 11 insertions(+), 1 deletion(-)
6080
6081commit 70e750f59793f9b5cd306a5adce9b8e427739e04
6082Author: Lasse Collin <lasse.collin@tukaani.org>
6083Date:   2011-04-12 11:08:55 +0300
6084
6085    xz: Update the man page about threading.
6086
6087 src/xz/xz.1 | 34 ++++++++++++++++++++--------------
6088 1 file changed, 20 insertions(+), 14 deletions(-)
6089
6090commit 24e0406c0fb7494d2037dec033686faf1bf67068
6091Author: Lasse Collin <lasse.collin@tukaani.org>
6092Date:   2011-04-11 22:06:03 +0300
6093
6094    xz: Add support for threaded compression.
6095
6096 src/xz/args.c  |   3 +-
6097 src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++----------------------
6098 2 files changed, 125 insertions(+), 80 deletions(-)
6099
6100commit de678e0c924aa79a19293a8a6ed82e8cb6572a42
6101Author: Lasse Collin <lasse.collin@tukaani.org>
6102Date:   2011-04-11 22:03:30 +0300
6103
6104    liblzma: Add lzma_stream_encoder_mt() for threaded compression.
6105    
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.
6111
6112 configure.ac                           |    1 +
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(-)
6121
6122commit 25fe729532cdf4b8fed56a4519b73cf31efaec50
6123Author: Lasse Collin <lasse.collin@tukaani.org>
6124Date:   2011-04-11 21:15:07 +0300
6125
6126    liblzma: Add the forgotten lzma_lzma2_block_size().
6127    
6128    This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a.
6129
6130 src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++
6131 src/liblzma/lzma/lzma2_encoder.h |  2 ++
6132 2 files changed, 12 insertions(+)
6133
6134commit 91afb785a1dee34862078d9bf844ef12b8cc3e35
6135Author: Lasse Collin <lasse.collin@tukaani.org>
6136Date:   2011-04-11 21:04:13 +0300
6137
6138    liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
6139
6140 src/liblzma/api/lzma/container.h | 9 +++++++++
6141 1 file changed, 9 insertions(+)
6142
6143commit 4a9905302a9e4a1601ae09d650d3f08ce98ae9ee
6144Author: Lasse Collin <lasse.collin@tukaani.org>
6145Date:   2011-04-11 20:59:07 +0300
6146
6147    liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
6148    
6149    It didn't mention the return value that is used if
6150    an error occurs.
6151
6152 src/liblzma/api/lzma/filter.h | 8 ++++++--
6153 1 file changed, 6 insertions(+), 2 deletions(-)
6154
6155commit 0badb0b1bd649163322783b0bd9e590b4bc7a93d
6156Author: Lasse Collin <lasse.collin@tukaani.org>
6157Date:   2011-04-11 19:28:18 +0300
6158
6159    liblzma: Use memzero() to initialize supported_actions[].
6160    
6161    This is cleaner and makes it simpler to add new members
6162    to lzma_action enumeration.
6163
6164 src/liblzma/common/common.c | 6 ++----
6165 1 file changed, 2 insertions(+), 4 deletions(-)
6166
6167commit a7934c446a58e20268689899d2a39f50e571f251
6168Author: Lasse Collin <lasse.collin@tukaani.org>
6169Date:   2011-04-11 19:26:27 +0300
6170
6171    liblzma: API comment about lzma_allocator with threaded coding.
6172
6173 src/liblzma/api/lzma/base.h | 18 +++++++++++++-----
6174 1 file changed, 13 insertions(+), 5 deletions(-)
6175
6176commit 5eefc0086d24a65e136352f8c1d19cefb0cbac7a
6177Author: Lasse Collin <lasse.collin@tukaani.org>
6178Date:   2011-04-11 19:16:30 +0300
6179
6180    liblzma: Add an internal function lzma_mt_block_size().
6181    
6182    This is based lzma_chunk_size() that was included in some
6183    development version of liblzma.
6184
6185 src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++-------------------
6186 src/liblzma/common/filter_encoder.h |  4 ++--
6187 2 files changed, 24 insertions(+), 26 deletions(-)
6188
6189commit d1199274758049fc523d98c5b860ff814a799eec
6190Author: Lasse Collin <lasse.collin@tukaani.org>
6191Date:   2011-04-11 13:59:50 +0300
6192
6193    liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
6194    
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.
6201
6202 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++-------
6203 1 file changed, 13 insertions(+), 7 deletions(-)
6204
6205commit 3b22fc2c87ec85fcdd385c163b68fc49c97aa848
6206Author: Lasse Collin <lasse.collin@tukaani.org>
6207Date:   2011-04-11 13:28:40 +0300
6208
6209    liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
6210    
6211    This return value was missing from the API comments of
6212    four functions.
6213
6214 src/liblzma/api/lzma/block.h     | 1 +
6215 src/liblzma/api/lzma/container.h | 3 +++
6216 2 files changed, 4 insertions(+)
6217
6218commit 71b9380145dccf001f22e66a06b9d508905c25ce
6219Author: Lasse Collin <lasse.collin@tukaani.org>
6220Date:   2011-04-11 13:21:28 +0300
6221
6222    liblzma: Validate encoder arguments better.
6223    
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.
6230
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(-)
6235
6236commit ec7e3dbad704268825fc48f0bdd4577bc46b4f13
6237Author: Lasse Collin <lasse.collin@tukaani.org>
6238Date:   2011-04-11 09:57:30 +0300
6239
6240    xz: Move the description of --block-size in --long-help.
6241
6242 src/xz/message.c | 8 ++++----
6243 1 file changed, 4 insertions(+), 4 deletions(-)
6244
6245commit cd3086ff443bb282bdf556919c28b3e3cbed8169
6246Author: Lasse Collin <lasse.collin@tukaani.org>
6247Date:   2011-04-11 09:55:35 +0300
6248
6249    Docs: Document --single-stream and --block-size.
6250
6251 src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++--
6252 1 file changed, 36 insertions(+), 2 deletions(-)
6253
6254commit fb64a4924334e3c440865710990fe08090f2fed0
6255Author: Lasse Collin <lasse.collin@tukaani.org>
6256Date:   2011-04-11 09:27:57 +0300
6257
6258    liblzma: Make lzma_stream_encoder_init() static (second try).
6259    
6260    It's an internal function and it's not needed by
6261    anything outside stream_encoder.c.
6262
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(-)
6268
6269commit a34730cf6af4d33a4057914e57227b6dfde6567e
6270Author: Lasse Collin <lasse.collin@tukaani.org>
6271Date:   2011-04-11 08:31:42 +0300
6272
6273    Revert "liblzma: Make lzma_stream_encoder_init() static."
6274    
6275    This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7.
6276    I don't know what I was thinking.
6277
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(-)
6282
6283commit 9f0a806aef7ea79718e3f1f2baf3564295229a27
6284Author: Lasse Collin <lasse.collin@tukaani.org>
6285Date:   2011-04-10 21:23:21 +0300
6286
6287    Revise mythread.h.
6288    
6289    This adds:
6290    
6291      - mythread_sync() macro to create synchronized blocks
6292    
6293      - mythread_cond structure and related functions
6294        and macros for condition variables with timed
6295        waiting using a relative timeout
6296    
6297      - mythread_create() to create a thread with all
6298        signals blocked
6299    
6300    Some of these wouldn't need to be inline functions,
6301    but I'll keep them this way for now for simplicity.
6302    
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.
6306
6307 configure.ac          |   1 +
6308 src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++-----
6309 2 files changed, 181 insertions(+), 20 deletions(-)
6310
6311commit 352ac82db5d3f64585c07b39e4759388dec0e4d7
6312Author: Lasse Collin <lasse.collin@tukaani.org>
6313Date:   2011-04-10 20:37:36 +0300
6314
6315    liblzma: Make lzma_stream_encoder_init() static.
6316    
6317    It's an internal function and it's not needed by
6318    anything outside stream_encoder.c.
6319
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(-)
6324
6325commit 9e807fe3fe79618ac48f58207cf7082ea20a6928
6326Author: Lasse Collin <lasse.collin@tukaani.org>
6327Date:   2011-04-10 14:58:10 +0300
6328
6329    DOS: Update the docs and include notes about 8.3 filenames.
6330
6331 dos/{README => INSTALL.txt} |  13 +----
6332 dos/README.txt              | 123 ++++++++++++++++++++++++++++++++++++++++++++
6333 2 files changed, 125 insertions(+), 11 deletions(-)
6334
6335commit ebd54dbd6e481d31e80757f900ac8109ad1423c6
6336Author: Lasse Collin <lasse.collin@tukaani.org>
6337Date:   2011-04-10 13:09:42 +0300
6338
6339    xz/DOS: Add experimental 8.3 filename support.
6340    
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.
6345
6346 src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
6347 1 file changed, 167 insertions(+), 9 deletions(-)
6348
6349commit cd4fe97852bcaeffe674ee51b4613709292a0972
6350Author: Lasse Collin <lasse.collin@tukaani.org>
6351Date:   2011-04-10 12:47:47 +0300
6352
6353    xz/DOS: Be more careful with the destination file.
6354    
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.
6359    
6360    If the generated output file refers to a special file
6361    like "con" or "prn", refuse to write to it even if --force
6362    is used.
6363
6364 src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++--
6365 1 file changed, 33 insertions(+), 2 deletions(-)
6366
6367commit 607f9f98ae5ef6d49f4c21c806d462bf6b3d6796
6368Author: Lasse Collin <lasse.collin@tukaani.org>
6369Date:   2011-04-09 18:29:30 +0300
6370
6371    Update THANKS.
6372
6373 THANKS | 1 +
6374 1 file changed, 1 insertion(+)
6375
6376commit fca396b37410d272b754843a5dc13847be443a3a
6377Author: Lasse Collin <lasse.collin@tukaani.org>
6378Date:   2011-04-09 18:28:58 +0300
6379
6380    liblzma: Add missing #ifdefs to filter_common.c.
6381    
6382    Passing --disable-decoders to configure broke a few
6383    encoders due to missing #ifdefs in filter_common.c.
6384    
6385    Thanks to Jason Gorski for the patch.
6386
6387 src/liblzma/common/filter_common.c | 6 +++---
6388 1 file changed, 3 insertions(+), 3 deletions(-)
6389
6390commit b03f6cd3ebadd675f2cc9d518cb26fa860269447
6391Author: Lasse Collin <lasse.collin@tukaani.org>
6392Date:   2011-04-09 15:24:59 +0300
6393
6394    xz: Avoid unneeded fstat() on DOS-like systems.
6395
6396 src/xz/file_io.c | 14 ++++++++------
6397 1 file changed, 8 insertions(+), 6 deletions(-)
6398
6399commit 335fe260a81f61ec99ff5940df733b4c50aedb7c
6400Author: Lasse Collin <lasse.collin@tukaani.org>
6401Date:   2011-04-09 15:11:13 +0300
6402
6403    xz: Minor internal changes to handling of --threads.
6404    
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.
6408
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(-)
6413
6414commit 9edd6ee895fbe71d245a173f48e511f154a99875
6415Author: Lasse Collin <lasse.collin@tukaani.org>
6416Date:   2011-04-08 17:53:05 +0300
6417
6418    xz: Change size_t to uint32_t in a few places.
6419
6420 src/xz/coder.c | 6 +++---
6421 src/xz/coder.h | 2 +-
6422 2 files changed, 4 insertions(+), 4 deletions(-)
6423
6424commit 411013ea4506a6df24d35a060fcbd73a57b73eb3
6425Author: Lasse Collin <lasse.collin@tukaani.org>
6426Date:   2011-04-08 17:48:41 +0300
6427
6428    xz: Fix a typo in a comment.
6429
6430 src/xz/coder.c | 2 +-
6431 1 file changed, 1 insertion(+), 1 deletion(-)
6432
6433commit b34c5ce4b22e8d7b81f9895d15054af41d17f805
6434Author: Lasse Collin <lasse.collin@tukaani.org>
6435Date:   2011-04-05 22:41:33 +0300
6436
6437    liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c.
6438
6439 src/liblzma/check/sha256.c | 6 +++---
6440 1 file changed, 3 insertions(+), 3 deletions(-)
6441
6442commit db33117cc85c17e0b897b5312bd5eb43aac41c03
6443Author: Lasse Collin <lasse.collin@tukaani.org>
6444Date:   2011-04-05 17:12:20 +0300
6445
6446    Build: Upgrade m4/acx_pthread.m4 to the latest version.
6447    
6448    It was renamed to ax_pthread.m4 in Autoconf Archive.
6449
6450 configure.ac                         |   2 +-
6451 m4/{acx_pthread.m4 => ax_pthread.m4} | 170 ++++++++++++++++++-----------------
6452 2 files changed, 88 insertions(+), 84 deletions(-)
6453
6454commit 1039bfcfc098b69d56ecb39d198a092552eacf6d
6455Author: Lasse Collin <lasse.collin@tukaani.org>
6456Date:   2011-04-05 15:27:26 +0300
6457
6458    xz: Use posix_fadvise() if it is available.
6459
6460 configure.ac     |  3 +++
6461 src/xz/file_io.c | 15 +++++++++++++++
6462 2 files changed, 18 insertions(+)
6463
6464commit 1ef3cf44a8eb9512480af4482a5232ea08363b14
6465Author: Lasse Collin <lasse.collin@tukaani.org>
6466Date:   2011-04-05 15:13:29 +0300
6467
6468    xz: Call lzma_end(&strm) before exiting if debugging is enabled.
6469
6470 src/xz/coder.c | 10 ++++++++++
6471 src/xz/coder.h |  5 +++++
6472 src/xz/main.c  |  4 ++++
6473 3 files changed, 19 insertions(+)
6474
6475commit bd432015d33dcade611d297bc01eb0700088ef6c
6476Author: Lasse Collin <lasse.collin@tukaani.org>
6477Date:   2011-04-02 14:49:56 +0300
6478
6479    liblzma: Fix a memory leak in stream_encoder.c.
6480    
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.
6484
6485 src/liblzma/common/stream_encoder.c | 2 +-
6486 1 file changed, 1 insertion(+), 1 deletion(-)
6487
6488commit 16889013214e7620d204b6e6c1bf9f3103a13655
6489Author: Lasse Collin <lasse.collin@tukaani.org>
6490Date:   2011-04-01 08:47:20 +0300
6491
6492    Updated NEWS for 5.0.2.
6493
6494 NEWS | 18 ++++++++++++++++++
6495 1 file changed, 18 insertions(+)
6496
6497commit 85cdf7dd4e97b078e7b929e47f55a7f1da36010f
6498Author: Lasse Collin <lasse.collin@tukaani.org>
6499Date:   2011-03-31 15:06:58 +0300
6500
6501    Update INSTALL with another note about IRIX.
6502
6503 INSTALL | 4 ++++
6504 1 file changed, 4 insertions(+)
6505
6506commit c3f4995586873d6a4fb7e451010a128571a9a370
6507Author: Lasse Collin <lasse.collin@tukaani.org>
6508Date:   2011-03-31 12:22:55 +0300
6509
6510    Tests: Add a new file to test empty LZMA2 streams.
6511
6512 tests/files/README            |   4 ++++
6513 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes
6514 2 files changed, 4 insertions(+)
6515
6516commit 0d21f49a809dc2088da6cc0da7f948404df7ecfa
6517Author: Lasse Collin <lasse.collin@tukaani.org>
6518Date:   2011-03-31 11:54:48 +0300
6519
6520    liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
6521    
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.
6526
6527 src/liblzma/lzma/lzma2_decoder.c | 8 ++++----
6528 1 file changed, 4 insertions(+), 4 deletions(-)
6529
6530commit 40277998cb9bad564ce4827aff152e6e1c904dfa
6531Author: Lasse Collin <lasse.collin@tukaani.org>
6532Date:   2011-03-24 01:42:49 +0200
6533
6534    Scripts: Better fix for xzgrep.
6535    
6536    Now it uses "grep -q".
6537    
6538    Thanks to Gregory Margo.
6539
6540 src/scripts/xzgrep.in | 8 ++++++--
6541 1 file changed, 6 insertions(+), 2 deletions(-)
6542
6543commit 2118733045ad0ca183a3f181a0399baf876983a6
6544Author: Lasse Collin <lasse.collin@tukaani.org>
6545Date:   2011-03-24 01:22:18 +0200
6546
6547    Updated THANKS.
6548
6549 THANKS | 1 +
6550 1 file changed, 1 insertion(+)
6551
6552commit c7210d9a3fca6f31a57208bfddfc9ab20a2e097a
6553Author: Lasse Collin <lasse.collin@tukaani.org>
6554Date:   2011-03-24 01:21:32 +0200
6555
6556    Scripts: Fix xzgrep -l.
6557    
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".
6563    
6564    Thanks to Gregory Margo.
6565
6566 src/scripts/xzgrep.in | 4 ++--
6567 1 file changed, 2 insertions(+), 2 deletions(-)
6568
6569commit 4eb83e32046a6d670862bc91c3d82530963b455e
6570Author: Lasse Collin <lasse.collin@tukaani.org>
6571Date:   2011-03-19 13:08:22 +0200
6572
6573    Scripts: Add lzop (.lzo) support to xzdiff and xzgrep.
6574
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(-)
6580
6581commit 923b22483bd9356f3219b2b784d96f455f4dc499
6582Author: Lasse Collin <lasse.collin@tukaani.org>
6583Date:   2011-03-18 19:10:30 +0200
6584
6585    xz: Add --block-size=SIZE.
6586    
6587    This uses LZMA_FULL_FLUSH every SIZE bytes of input.
6588    
6589    Man page wasn't updated yet.
6590
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(-)
6596
6597commit 57597d42ca1740ad506437be168d800a50f1a0ad
6598Author: Lasse Collin <lasse.collin@tukaani.org>
6599Date:   2011-03-18 18:19:19 +0200
6600
6601    xz: Add --single-stream.
6602    
6603    This can be useful when there is garbage after the
6604    compressed stream (.xz, .lzma, or raw stream).
6605    
6606    Man page wasn't updated yet.
6607
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(-)
6613
6614commit 96f94bc925d579a700147fa5d7793b64d69cfc18
6615Author: Lasse Collin <lasse.collin@tukaani.org>
6616Date:   2011-02-04 22:49:31 +0200
6617
6618    xz: Clean up suffix.c.
6619    
6620    struct suffix_pair isn't needed in compresed_name()
6621    so get rid of it there.
6622
6623 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------
6624 1 file changed, 20 insertions(+), 24 deletions(-)
6625
6626commit 8930c7ae3f82bdae15aa129f01de08be23d7e8d7
6627Author: Lasse Collin <lasse.collin@tukaani.org>
6628Date:   2011-02-04 11:29:47 +0200
6629
6630    xz: Check if the file already has custom suffix when compressing.
6631    
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.
6635
6636 src/xz/suffix.c | 9 +++++++++
6637 1 file changed, 9 insertions(+)
6638
6639commit 940d5852c6cf08abccc6befd9d1b5411c9076a58
6640Author: Lasse Collin <lasse.collin@tukaani.org>
6641Date:   2011-02-02 23:01:51 +0200
6642
6643    Updated THANKS.
6644
6645 THANKS | 1 +
6646 1 file changed, 1 insertion(+)
6647
6648commit 4ebe65f839613f27f127bab7b8c347d982330ee3
6649Author: Lasse Collin <lasse.collin@tukaani.org>
6650Date:   2011-02-02 23:00:33 +0200
6651
6652    Translations: Add Polish translation.
6653    
6654    Thanks to Jakub Bogusz.
6655
6656 po/LINGUAS |   1 +
6657 po/pl.po   | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6658 2 files changed, 826 insertions(+)
6659
6660commit fc1d292dca1925dfd17174f443f91a696ecd5bf8
6661Author: Lasse Collin <lasse.collin@tukaani.org>
6662Date:   2011-02-02 22:24:00 +0200
6663
6664    Updated THANKS.
6665
6666 THANKS | 1 +
6667 1 file changed, 1 insertion(+)
6668
6669commit 6dd061adfd2775428b079eb03d6fd47d7c0f1ffe
6670Merge: 9d542ce 5fbce0b
6671Author: Lasse Collin <lasse.collin@tukaani.org>
6672Date:   2011-02-06 20:13:01 +0200
6673
6674    Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d'
6675
6676commit 5fbce0b8d96dc96775aa0215e3581addc830e23d
6677Author: Lasse Collin <lasse.collin@tukaani.org>
6678Date:   2011-01-28 20:16:57 +0200
6679
6680    Update NEWS for 5.0.1.
6681
6682 NEWS | 14 ++++++++++++++
6683 1 file changed, 14 insertions(+)
6684
6685commit 03ebd1bbb314f9f204940219a835c883bf442475
6686Author: Lasse Collin <lasse.collin@tukaani.org>
6687Date:   2011-01-26 12:19:08 +0200
6688
6689    xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
6690    
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.
6694    
6695    Thanks to Charles Wilson.
6696
6697 src/xz/file_io.c | 15 +++++++--------
6698 1 file changed, 7 insertions(+), 8 deletions(-)
6699
6700commit 9d542ceebcbe40b174169c132ccfcdc720ca7089
6701Merge: 4f2c69a 7bd0a5e
6702Author: Lasse Collin <lasse.collin@tukaani.org>
6703Date:   2011-01-19 11:45:35 +0200
6704
6705    Merge branch 'v5.0'
6706
6707commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136
6708Author: Lasse Collin <lasse.collin@tukaani.org>
6709Date:   2011-01-18 21:25:24 +0200
6710
6711    Updated THANKS.
6712
6713 THANKS | 1 +
6714 1 file changed, 1 insertion(+)
6715
6716commit f71c4e16e913f660977526f0ef8d2acdf458d7c9
6717Author: Lasse Collin <lasse.collin@tukaani.org>
6718Date:   2011-01-18 21:23:50 +0200
6719
6720    Add alloc_size and malloc attributes to a few functions.
6721    
6722    Thanks to Cristian Rodr��guez for the original patch.
6723
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(-)
6728
6729commit 316cbe24465143edde8f6ffb7532834b7b2ea93f
6730Author: Lasse Collin <lasse.collin@tukaani.org>
6731Date:   2010-12-13 16:36:33 +0200
6732
6733    Scripts: Fix gzip and bzip2 support in xzdiff.
6734
6735 src/scripts/xzdiff.in | 12 ++++++------
6736 1 file changed, 6 insertions(+), 6 deletions(-)
6737
6738commit 4f2c69a4e3e0aee2e37b0b1671d34086e20c8ac6
6739Merge: adb89e6 9311774
6740Author: Lasse Collin <lasse.collin@tukaani.org>
6741Date:   2010-12-12 23:13:22 +0200
6742
6743    Merge branch 'v5.0'
6744
6745commit 9311774c493c19deab51ded919dcd2e9c4aa2829
6746Author: Lasse Collin <lasse.collin@tukaani.org>
6747Date:   2010-12-12 21:23:55 +0200
6748
6749    Build: Enable ASM on DJGPP by default.
6750
6751 configure.ac | 2 +-
6752 1 file changed, 1 insertion(+), 1 deletion(-)
6753
6754commit 4a42aaee282fc73b482581684d65110506d5efdd
6755Author: Lasse Collin <lasse.collin@tukaani.org>
6756Date:   2010-12-12 16:09:42 +0200
6757
6758    Updated THANKS.
6759
6760 THANKS | 1 +
6761 1 file changed, 1 insertion(+)
6762
6763commit ce56f63c41ee210e6308090eb6d49221fdf67d6c
6764Author: Lasse Collin <lasse.collin@tukaani.org>
6765Date:   2010-12-12 16:07:11 +0200
6766
6767    Add missing PRIx32 and PRIx64 compatibility definitions.
6768    
6769    This fixes portability to systems that lack C99 inttypes.h.
6770    
6771    Thanks to Juan Manuel Guerrero.
6772
6773 src/common/sysdefs.h | 9 +++++++++
6774 1 file changed, 9 insertions(+)
6775
6776commit e6baedddcf54e7da049ebc49183565b99facd4c7
6777Author: Lasse Collin <lasse.collin@tukaani.org>
6778Date:   2010-12-12 14:50:04 +0200
6779
6780    DOS-like: Treat \ and : as directory separators in addition to /.
6781    
6782    Juan Manuel Guerrero had fixed this in his XZ Utils port
6783    to DOS/DJGPP. The bug affects also Windows and OS/2.
6784
6785 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++----
6786 1 file changed, 29 insertions(+), 4 deletions(-)
6787
6788commit adb89e68d43a4cadb0c215b45ef7a75737c9c3ec
6789Merge: 7c24e0d b7afd3e
6790Author: Lasse Collin <lasse.collin@tukaani.org>
6791Date:   2010-12-07 18:53:04 +0200
6792
6793    Merge branch 'v5.0'
6794
6795commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f
6796Author: Lasse Collin <lasse.collin@tukaani.org>
6797Date:   2010-12-07 18:52:04 +0200
6798
6799    Translations: Fix Czech translation of "sparse file".
6800    
6801    Thanks to Petr Huben�� and Marek ��ernock��.
6802
6803 po/cs.po | 88 ++++++++++++++++++++++++++++++++--------------------------------
6804 1 file changed, 44 insertions(+), 44 deletions(-)
6805
6806commit 7c24e0d1b8a2e86e9263b0d56d39621e01aed7af
6807Merge: b4d42f1 3e56470
6808Author: Lasse Collin <lasse.collin@tukaani.org>
6809Date:   2010-11-15 14:33:01 +0200
6810
6811    Merge branch 'v5.0'
6812
6813commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e
6814Author: Lasse Collin <lasse.collin@tukaani.org>
6815Date:   2010-11-15 14:28:26 +0200
6816
6817    liblzma: Document the return value of lzma_lzma_preset().
6818
6819 src/liblzma/api/lzma/lzma.h | 3 +++
6820 1 file changed, 3 insertions(+)
6821
6822commit 2964d8d691ed92abdcf214888d79ad6d79774735
6823Author: Jonathan Nieder <jrnieder@gmail.com>
6824Date:   2010-11-12 15:22:13 -0600
6825
6826    Simplify paths in generated API docs
6827    
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.
6831    
6832    Builds from a separate build directory with
6833    
6834            mkdir build
6835            cd build
6836            ../configure
6837            doxygen Doxyfile
6838    
6839    include an even longer prefix /home/someone/src/xz/src; this
6840    patch has the nice side-effect of eliminating that prefix, too.
6841    
6842    Fixes: http://bugs.debian.org/572273
6843
6844 Doxyfile.in | 2 +-
6845 1 file changed, 1 insertion(+), 1 deletion(-)
6846
6847commit b4d42f1a7120e2cefeb2f14425efe2ca6db85416
6848Author: Anders F Bjorklund <afb@users.sourceforge.net>
6849Date:   2010-11-05 12:56:11 +0100
6850
6851    add build script for macosx universal
6852
6853 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6854 1 file changed, 92 insertions(+)
6855
6856commit 15ee6935abe4a2fc76639ee342ca2e69af3e0ad6
6857Author: Lasse Collin <lasse.collin@tukaani.org>
6858Date:   2010-11-04 18:31:40 +0200
6859
6860    Update the copies of GPLv2 and LGPLv2.1 from gnu.org.
6861    
6862    There are only a few white space changes.
6863
6864 COPYING.GPLv2    | 14 +++++++-------
6865 COPYING.LGPLv2.1 | 16 +++++++---------
6866 2 files changed, 14 insertions(+), 16 deletions(-)
6867
6868commit 8e355f7fdbeee6fe394eb02a28f267ce99a882a2
6869Merge: 974ebe6 37c2565
6870Author: Lasse Collin <lasse.collin@tukaani.org>
6871Date:   2010-10-26 15:53:06 +0300
6872
6873    Merge branch 'v5.0'
6874
6875commit 37c25658efd25b034266daf87cd381d20d1df776
6876Author: Lasse Collin <lasse.collin@tukaani.org>
6877Date:   2010-10-26 15:48:48 +0300
6878
6879    Build: Copy the example programs to $docdir/examples.
6880    
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".
6885
6886 Makefile.am        | 5 +++++
6887 windows/build.bash | 3 ++-
6888 2 files changed, 7 insertions(+), 1 deletion(-)
6889
6890commit 974ebe63497bdf0d262e06474f0dd5a70b1dd000
6891Author: Lasse Collin <lasse.collin@tukaani.org>
6892Date:   2010-10-26 10:36:41 +0300
6893
6894    liblzma: Rename a few variables and constants.
6895    
6896    This has no semantic changes. I find the new names slightly
6897    more logical and they match the names that are already used
6898    in XZ Embedded.
6899    
6900    The name fastpos wasn't changed (not worth the hassle).
6901
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(-)
6911
6912commit 7c427ec38d016c0070a42315d752857e33792fc4
6913Author: Lasse Collin <lasse.collin@tukaani.org>
6914Date:   2010-10-25 12:59:25 +0300
6915
6916    Bump version 5.1.0alpha.
6917
6918 src/liblzma/api/lzma/version.h | 4 ++--
6919 1 file changed, 2 insertions(+), 2 deletions(-)
6920
6921commit e45929260cd902036efd40c5610a8d0a50d5712b
6922Author: Lasse Collin <lasse.collin@tukaani.org>
6923Date:   2010-10-23 17:25:52 +0300
6924
6925    Build: Fix mydist rule when .git doesn't exist.
6926
6927 Makefile.am | 1 +
6928 1 file changed, 1 insertion(+)
6929
6930commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168
6931Author: Lasse Collin <lasse.collin@tukaani.org>
6932Date:   2010-10-23 14:15:35 +0300
6933
6934    Add NEWS for 5.0.0.
6935
6936 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6937 1 file changed, 62 insertions(+)
6938
6939commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c
6940Author: Lasse Collin <lasse.collin@tukaani.org>
6941Date:   2010-10-23 14:02:53 +0300
6942
6943    Bump version to 5.0.0 and liblzma version-info to 5:0:0.
6944
6945 src/liblzma/Makefile.am        | 2 +-
6946 src/liblzma/api/lzma/version.h | 8 ++++----
6947 2 files changed, 5 insertions(+), 5 deletions(-)
6948