xref: /freebsd/contrib/xz/ChangeLog (revision 23c73dbae7b2f64014b275643efbe92f449feaa2)
1commit 5476089d9c42b9b04e92b80e1800b384a98265cb
2Author: Lasse Collin <lasse.collin@tukaani.org>
3Date:   2022-11-13 19:58:47 +0200
4
5    Bump version and soname for 5.2.8.
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 f9994f395d04d37b75e879f90397258b86b466cc
12Author: Lasse Collin <lasse.collin@tukaani.org>
13Date:   2022-11-13 19:57:26 +0200
14
15    Add NEWS for 5.2.8.
16
17 NEWS | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18 1 file changed, 79 insertions(+)
19
20commit cdf14b28993ef2f3168821372467e3aa7cf1e973
21Author: Lasse Collin <lasse.collin@tukaani.org>
22Date:   2022-11-11 17:16:03 +0200
23
24    Update THANKS.
25
26 THANKS | 1 +
27 1 file changed, 1 insertion(+)
28
29commit 454f567e58bbadea5cff4f31ef450c1305e9853d
30Author: Lasse Collin <lasse.collin@tukaani.org>
31Date:   2022-11-11 17:15:25 +0200
32
33    liblzma: Fix building with Intel ICC (the classic compiler).
34
35    It claims __GNUC__ >= 10 but doesn't support __symver__ attribute.
36
37    Thanks to Stephen Sachs.
38
39 src/liblzma/common/common.h | 2 +-
40 1 file changed, 1 insertion(+), 1 deletion(-)
41
42commit 2f01169f5a81e21e7a7e5f799c32472c6277b1d5
43Author: Lasse Collin <lasse.collin@tukaani.org>
44Date:   2022-11-11 14:35:58 +0200
45
46    liblzma: Fix incorrect #ifdef for x86 SSE2 support.
47
48    __SSE2__ is the correct macro for SSE2 support with GCC, Clang,
49    and ICC. __SSE2_MATH__ means doing floating point math with SSE2
50    instead of 387. Often the latter macro is defined if the first
51    one is but it was still a bug.
52
53 src/liblzma/common/memcmplen.h | 3 +--
54 1 file changed, 1 insertion(+), 2 deletions(-)
55
56commit fc1358679ed3994f67e5e8c869c281be82370a32
57Author: Lasse Collin <lasse.collin@tukaani.org>
58Date:   2022-11-11 12:23:58 +0200
59
60    Scripts: Ignore warnings from xz.
61
62    In practice this means making the scripts work when
63    the input files have an unsupported check type which
64    isn't a problem in practice unless support for
65    some check types has been disabled at build time.
66
67 src/scripts/xzdiff.in | 5 +++--
68 src/scripts/xzgrep.in | 2 +-
69 src/scripts/xzless.in | 4 ++--
70 src/scripts/xzmore.in | 4 ++--
71 4 files changed, 8 insertions(+), 7 deletions(-)
72
73commit a08be1c420501b1c75770a8f6103e3959486c895
74Author: Lasse Collin <lasse.collin@tukaani.org>
75Date:   2022-11-09 14:10:52 +0200
76
77    xz: Add comments about stdin and src_st.st_size.
78
79    "xz -v < regular_file > out.xz" doesn't display the percentage
80    and estimated remaining time because it doesn't even try to
81    check the input file size when input is read from stdin.
82    This could be improved but for now there's just a comment
83    to remind about it.
84
85 src/xz/coder.c   | 9 +++++++++
86 src/xz/file_io.c | 4 ++++
87 2 files changed, 13 insertions(+)
88
89commit 3ee411cd1cd636bdced6ecede4651394bb4f9cb1
90Author: Lasse Collin <lasse.collin@tukaani.org>
91Date:   2022-11-09 12:48:22 +0200
92
93    xz: Fix displaying of file sizes in progress indicator in passthru mode.
94
95    It worked for one input file since the counters are zero when
96    xz starts but they weren't reset when starting a new file in
97    passthru mode. For example, if files A, B, and C are one byte each,
98    then "xz -dcvf A B C" would show file sizes as 1, 2, and 3 bytes
99    instead of 1, 1, and 1 byte.
100
101 src/xz/coder.c | 6 +++++-
102 1 file changed, 5 insertions(+), 1 deletion(-)
103
104commit aa7fa9d960df4bb21f7727bbf7ce0503f3d211b4
105Author: Lasse Collin <lasse.collin@tukaani.org>
106Date:   2022-11-09 11:27:20 +0200
107
108    xz: Add a comment why --to-stdout is not in --help.
109
110    It is on the man page still.
111
112 src/xz/message.c | 3 +++
113 1 file changed, 3 insertions(+)
114
115commit ff49ff84a4ba3fab25ffb6d65af321dee36c1273
116Author: Lasse Collin <lasse.collin@tukaani.org>
117Date:   2022-11-08 22:26:54 +0200
118
119    Docs: Update faq.txt a little.
120
121 doc/faq.txt | 66 ++++++++++++++++++++++++++++++++++++++++---------------------
122 1 file changed, 43 insertions(+), 23 deletions(-)
123
124commit 3489565b75b45ee514cf0a6785bb721c7dc624f3
125Author: Lasse Collin <lasse.collin@tukaani.org>
126Date:   2022-11-08 14:13:03 +0200
127
128    liblzma: Update API docs about decoder flags.
129
130 src/liblzma/api/lzma/container.h | 20 ++++++++++++++++----
131 1 file changed, 16 insertions(+), 4 deletions(-)
132
133commit e4937710805c4b660fc629c15d9a6164b2d97822
134Author: Lasse Collin <lasse.collin@tukaani.org>
135Date:   2022-11-08 14:00:58 +0200
136
137    liblzma: Fix a comment in auto_decoder.c.
138
139 src/liblzma/common/auto_decoder.c | 4 ++--
140 1 file changed, 2 insertions(+), 2 deletions(-)
141
142commit d4674dfbb7d1df1feb841f5dbce6ae1f0b026879
143Author: Jia Tan <jiat0218@gmail.com>
144Date:   2022-11-07 16:24:14 +0200
145
146    xz: Avoid a compiler warning in progress_speed() in message.c.
147
148    This should be smaller too since it avoids the string constants.
149
150 src/xz/message.c | 9 +++------
151 1 file changed, 3 insertions(+), 6 deletions(-)
152
153commit 4ed56d32a91ff8ff21c71db4082a54a72ae08b3d
154Author: Lasse Collin <lasse.collin@tukaani.org>
155Date:   2022-10-31 16:26:05 +0200
156
157    Build: Clarify comment in configure.ac about SSE2.
158
159 configure.ac | 5 ++++-
160 1 file changed, 4 insertions(+), 1 deletion(-)
161
162commit f930638797f1fec05b272367c052d4fc9de35896
163Author: Lasse Collin <lasse.collin@tukaani.org>
164Date:   2022-10-31 16:16:37 +0200
165
166    Build: Remove obsolete commented-out lines from configure.ac.
167
168 configure.ac | 4 ----
169 1 file changed, 4 deletions(-)
170
171commit 6930f14733757592a4f8d92513f642a5dcc9ec9c
172Author: Lasse Collin <lasse.collin@tukaani.org>
173Date:   2022-10-31 13:31:58 +0200
174
175    Windows: Fix mythread_once() macro with Vista threads.
176
177    Don't call InitOnceComplete() if initialization was already done.
178
179    So far mythread_once() has been needed only when building
180    with --enable-small. windows/build.bash does this together
181    with --disable-threads so the Vista-specific mythread_once()
182    is never needed by those builds. VS project files or
183    CMake-builds don't support HAVE_SMALL builds at all.
184
185 src/common/mythread.h | 7 ++++---
186 1 file changed, 4 insertions(+), 3 deletions(-)
187
188commit 1c8cbb5be3a97bf22e933777369c4cc28ef9ed5f
189Author: Lasse Collin <lasse.collin@tukaani.org>
190Date:   2022-10-31 11:49:47 +0200
191
192    CMake: Sync tuklib_cpucores.cmake with tuklib_cpucores.m4.
193
194    This was forgotten from commit 2611c4d90535652d3eb7ef4a026a6691276fab43.
195
196 cmake/tuklib_cpucores.cmake | 5 +++++
197 1 file changed, 5 insertions(+)
198
199commit fa9efb729b1827b25ec71aefcf32f3aceeaf9597
200Author: Lasse Collin <lasse.collin@tukaani.org>
201Date:   2022-10-25 23:45:03 +0300
202
203    Build: Use AC_CONFIG_HEADERS instead of the ancient AC_CONFIG_HEADER.
204
205    We require Autoconf >= 2.69 and that has AC_CONFIG_HEADERS.
206
207    There is a warning about AC_PROG_CC_C99 being obsolete but
208    it cannot be removed because it is needed with Autoconf 2.69.
209
210 configure.ac | 2 +-
211 1 file changed, 1 insertion(+), 1 deletion(-)
212
213commit b10ba4bf39edd9c9fef42cade3e64fc3b9e3fd19
214Author: Lasse Collin <lasse.collin@tukaani.org>
215Date:   2022-10-25 23:31:44 +0300
216
217    Build: Update m4/ax_pthread.m4 from Autoconf Archive.
218
219 m4/ax_pthread.m4 | 29 ++++++++++++++++++++++-------
220 1 file changed, 22 insertions(+), 7 deletions(-)
221
222commit 01744b280c6e35d331b9dc4cc64716b82bc8b3db
223Author: Lasse Collin <lasse.collin@tukaani.org>
224Date:   2022-10-25 23:09:11 +0300
225
226    xz: Fix --single-stream with an empty .xz Stream.
227
228    Example:
229
230        $ xz -dc --single-stream good-0-empty.xz
231        xz: good-0-empty.xz: Internal error (bug)
232
233    The code, that is tries to catch some input file issues early,
234    didn't anticipate LZMA_STREAM_END which is possible in that
235    code only when --single-stream is used.
236
237 src/xz/coder.c | 9 +++++++++
238 1 file changed, 9 insertions(+)
239
240commit a3e4606134058241bf1c396243bebcec42c2a780
241Author: Lasse Collin <lasse.collin@tukaani.org>
242Date:   2022-10-25 19:07:17 +0300
243
244    xz: Fix decompressor behavior if input uses an unsupported check type.
245
246    Now files with unsupported check will make xz display
247    a warning, set the exit status to 2 (unless --no-warn is used),
248    and then decompress the file normally. This is how it was
249    supposed to work since the beginning but this was broken by
250    the commit 231c3c7098f1099a56abb8afece76fc9b8699f05, that is,
251    a little before 5.0.0 was released. The buggy behavior displayed
252    a message, set exit status 1 (error), and xz didn't attempt to
253    to decompress the file.
254
255    This doesn't matter today except for special builds that disable
256    CRC64 or SHA-256 at build time (but such builds should be used
257    in special situations only). The bug matters if new check type
258    is added in the future and an old xz version is used to decompress
259    such a file; however, it's likely that such files would use a new
260    filter too and an old xz wouldn't be able to decompress the file
261    anyway.
262
263    The first hunk in the commit is the actual fix. The second hunk
264    is a cleanup since LZMA_TELL_ANY_CHECK isn't used in xz.
265
266    There is a test file for unsupported check type but it wasn't
267    used by test_files.sh, perhaps due to different behavior between
268    xz and the simpler xzdec.
269
270 src/xz/coder.c | 19 +++++++++++++++----
271 1 file changed, 15 insertions(+), 4 deletions(-)
272
273commit 0b5e8c7e073bce07c59112af1e8a7495e3576e6c
274Author: Lasse Collin <lasse.collin@tukaani.org>
275Date:   2022-10-25 18:36:19 +0300
276
277    xz: Clarify the man page: input file isn't removed if an error occurs.
278
279 src/xz/xz.1 | 5 +++--
280 1 file changed, 3 insertions(+), 2 deletions(-)
281
282commit 23b7416d5ba0e3579265467bd546865d2ea4cef0
283Author: Lasse Collin <lasse.collin@tukaani.org>
284Date:   2022-10-25 18:23:54 +0300
285
286    xz: If input file cannot be removed, treat it as a warning, not error.
287
288    Treating it as a warning (message + exit status 2) matches gzip
289    and it seems more logical as at that point the output file has
290    already been successfully closed. When it's a warning it is
291    possible to suppress it with --no-warn.
292
293 src/xz/file_io.c | 4 ++--
294 1 file changed, 2 insertions(+), 2 deletions(-)
295
296commit 5daa40454b63c4eb04ab5caeb339eddc95c94bb1
297Author: Lasse Collin <lasse.collin@tukaani.org>
298Date:   2022-10-20 20:22:50 +0300
299
300    tuklib_cpucores: Use HW_NCPUONLINE on OpenBSD.
301
302    On OpenBSD the number of cores online is often less
303    than what HW_NCPU would return because OpenBSD disables
304    simultaneous multi-threading (SMT) by default.
305
306    Thanks to Christian Weisgerber.
307
308 m4/tuklib_cpucores.m4        | 5 +++++
309 src/common/tuklib_cpucores.c | 9 +++++++++
310 2 files changed, 14 insertions(+)
311
312commit 0af861050f375678eafc4e1136ca589ae47d31c0
313Author: Lasse Collin <lasse.collin@tukaani.org>
314Date:   2022-11-11 13:25:02 +0200
315
316    NEWS: Omit the extra copy of 5.2.5 NEWS.
317
318    It was a copy-paste error.
319
320 NEWS | 105 -------------------------------------------------------------------
321 1 file changed, 105 deletions(-)
322
323commit f0c6a66701afed12c5926c0499b150ecd5b0a63c
324Author: Lasse Collin <lasse.collin@tukaani.org>
325Date:   2022-11-10 12:34:43 +0200
326
327    Translations: Rename poa4/fr_FR.po to po4a/fr.po.
328
329    That's how it is preferred at the Translation Project.
330    On my system /usr/share/man/fr_FR doesn't contain any
331    other man pages than XZ Utils while /usr/share/man/fr
332    has quite a few, so this will fix that too.
333
334    Thanks to Benno Schulenberg from the Translation Project.
335
336 po4a/{fr_FR.po => fr.po} | 0
337 po4a/po4a.conf           | 2 +-
338 2 files changed, 1 insertion(+), 1 deletion(-)
339
340commit 6bf8b1f870870a1a0c3f555c34decc9ffb9f8d7a
341Author: Lasse Collin <lasse.collin@tukaani.org>
342Date:   2022-11-08 16:57:17 +0200
343
344    Translations: Update Turkish translation.
345
346 po/tr.po | 2 +-
347 1 file changed, 1 insertion(+), 1 deletion(-)
348
349commit 9f8e9d3c8189d8c6f587c99b0da1cf83f72330c2
350Author: Lasse Collin <lasse.collin@tukaani.org>
351Date:   2022-11-08 14:55:32 +0200
352
353    Translations: Update Croatian translation.
354
355 po/hr.po | 190 ++++++++++++++++++++++++++++++++-------------------------------
356 1 file changed, 96 insertions(+), 94 deletions(-)
357
358commit d24a57b7fc7e5e9267b84367cb0788d3acf7f569
359Author: Lasse Collin <lasse.collin@tukaani.org>
360Date:   2022-09-30 16:41:03 +0300
361
362    Bump version and soname for 5.2.7.
363
364 src/liblzma/Makefile.am        | 2 +-
365 src/liblzma/api/lzma/version.h | 2 +-
366 2 files changed, 2 insertions(+), 2 deletions(-)
367
368commit d2003362dd42004355a5550ee7a60ace3b3ea2d8
369Author: Lasse Collin <lasse.collin@tukaani.org>
370Date:   2022-09-30 16:40:39 +0300
371
372    Add NEWS for 5.2.7.
373
374 NEWS | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
375 1 file changed, 74 insertions(+)
376
377commit 369afb51991e91a5c3a23c4ae3872329a403eb31
378Author: Lasse Collin <lasse.collin@tukaani.org>
379Date:   2022-09-30 12:06:13 +0300
380
381    liblzma: Add API doc note about the .xz decoder LZMA_MEMLIMIT_ERROR bug.
382
383    The bug was fixed in 660739f99ab211edec4071de98889fb32ed04e98.
384
385 src/liblzma/api/lzma/base.h | 11 +++++++++++
386 1 file changed, 11 insertions(+)
387
388commit 166431e9951613481b8136f52b570d7bc30b5a03
389Author: Jia Tan <jiat0218@gmail.com>
390Date:   2022-09-21 16:15:50 +0800
391
392    liblzma: Add dest and src NULL checks to lzma_index_cat.
393
394    The documentation states LZMA_PROG_ERROR can be returned from
395    lzma_index_cat. Previously, lzma_index_cat could not return
396    LZMA_PROG_ERROR. Now, the validation is similar to
397    lzma_index_append, which does a NULL check on the index
398    parameter.
399
400 src/liblzma/common/index.c | 3 +++
401 1 file changed, 3 insertions(+)
402
403commit 5e53a6c28b87a0bb9b0cfeaf708cc99ef8e9bc66
404Author: Jia Tan <jiat0218@gmail.com>
405Date:   2022-09-21 20:29:28 +0800
406
407    Tests: Create a test for the lzma_index_cat bug.
408
409 tests/test_index.c | 43 ++++++++++++++++++++++++++++++++++++++++++-
410 1 file changed, 42 insertions(+), 1 deletion(-)
411
412commit 4ed5fd54c676b735e3f58158f214af68755d59b5
413Author: Jia Tan <jiat0218@gmail.com>
414Date:   2022-09-21 19:28:53 +0800
415
416    liblzma: Fix copying of check type statistics in lzma_index_cat().
417
418    The check type of the last Stream in dest was never copied to
419    dest->checks (the code tried to copy it but it was done too late).
420    This meant that the value returned by lzma_index_checks() would
421    only include the check type of the last Stream when multiple
422    lzma_indexes had been concatenated.
423
424    In xz --list this meant that the summary would only list the
425    check type of the last Stream, so in this sense this was only
426    a visual bug. However, it's possible that some applications
427    use this information for purposes other than merely showing
428    it to the users in an informational message. I'm not aware of
429    such applications though and it's quite possible that such
430    applications don't exist.
431
432    Regular streamed decompression in xz or any other application
433    doesn't use lzma_index_cat() and so this bug cannot affect them.
434
435 src/liblzma/common/index.c | 7 ++++++-
436 1 file changed, 6 insertions(+), 1 deletion(-)
437
438commit c4476f695291a2d7376d5fa406d32e354f858858
439Author: Lasse Collin <lasse.collin@tukaani.org>
440Date:   2022-09-28 12:20:41 +0300
441
442    tuklib_physmem: Fix Unicode builds on Windows.
443
444    Thanks to ArSaCiA Game.
445
446 src/common/tuklib_physmem.c | 2 +-
447 1 file changed, 1 insertion(+), 1 deletion(-)
448
449commit 976f897bbba9890a99f01a8d59c6d59c230142e6
450Author: Lasse Collin <lasse.collin@tukaani.org>
451Date:   2022-09-28 11:05:15 +0300
452
453    liblzma: Stream decoder: Fix restarting after LZMA_MEMLIMIT_ERROR.
454
455    If lzma_code() returns LZMA_MEMLIMIT_ERROR it is now possible
456    to use lzma_memlimit_set() to increase the limit and continue
457    decoding. This was supposed to work from the beginning but
458    there was a bug. With other decoders (.lzma or threaded .xz)
459    this already worked correctly.
460
461 src/liblzma/common/stream_decoder.c | 16 +++++++++++++---
462 1 file changed, 13 insertions(+), 3 deletions(-)
463
464commit 2caa9580e5f7c5cc6668e9427a2c21f3f63bb684
465Author: Lasse Collin <lasse.collin@tukaani.org>
466Date:   2022-09-28 11:00:23 +0300
467
468    liblzma: Stream decoder: Fix comments.
469
470 src/liblzma/common/stream_decoder.c | 12 +++++-------
471 1 file changed, 5 insertions(+), 7 deletions(-)
472
473commit 51882fec5b96cf7760389b670d86c1e7a5a0ced2
474Author: Lasse Collin <lasse.collin@tukaani.org>
475Date:   2022-09-16 14:09:07 +0300
476
477    Update THANKS.
478
479 THANKS | 1 +
480 1 file changed, 1 insertion(+)
481
482commit 974186f7cd839f1dbf937b98e112dff670d2bd5c
483Author: Lasse Collin <lasse.collin@tukaani.org>
484Date:   2022-09-16 14:07:03 +0300
485
486    xzgrep: Fix compatibility with old shells.
487
488    Running the current xzgrep on Slackware 10.1 with GNU bash 3.00.15:
489
490        xzgrep: line 231: syntax error near unexpected token `;;'
491
492    On SCO OpenServer 5.0.7 with Korn Shell 93r:
493
494        syntax error at line 231 : `;;' unexpected
495
496    Turns out that some old shells don't like apostrophes (') inside
497    command substitutions. For example, the following fails:
498
499        x=$(echo foo
500        # asdf'zxcv
501        echo bar)
502        printf '%s\n' "$x"
503
504    The problem was introduced by commits
505    69d1b3fc29677af8ade8dc15dba83f0589cb63d6 (2022-03-29),
506    bd7b290f3fe4faeceb7d3497ed9bf2e6ed5e7dc5 (2022-07-18), and
507    a648978b20495b7aa4a8b029c5a810b5ad9d08ff (2022-07-19).
508    5.2.6 is the only stable release that included
509    this problem.
510
511    Thanks to Kevin R. Bulgrien for reporting the problem
512    on SCO OpenServer 5.0.7 and for providing the fix.
513
514 src/scripts/xzgrep.in | 6 +++---
515 1 file changed, 3 insertions(+), 3 deletions(-)
516
517commit f94da15120c3d3c363ca12c2262ac6cb9f321f4f
518Author: Lasse Collin <lasse.collin@tukaani.org>
519Date:   2022-09-09 13:51:57 +0300
520
521    liblzma: lzma_filters_copy: Keep dest[] unmodified if an error occurs.
522
523    lzma_stream_encoder() and lzma_stream_encoder_mt() always assumed
524    this. Before this patch, failing lzma_filters_copy() could result
525    in free(invalid_pointer) or invalid memory reads in stream_encoder.c
526    or stream_encoder_mt.c.
527
528    To trigger this, allocating memory for a filter options structure
529    has to fail. These are tiny allocations so in practice they very
530    rarely fail.
531
532    Certain badness in the filter chain array could also make
533    lzma_filters_copy() fail but both stream_encoder.c and
534    stream_encoder_mt.c validate the filter chain before
535    trying to copy it, so the crash cannot occur this way.
536
537 src/liblzma/api/lzma/filter.h      |  4 +++-
538 src/liblzma/common/filter_common.c | 18 ++++++++++++------
539 2 files changed, 15 insertions(+), 7 deletions(-)
540
541commit ea57b9aa2c3e1cdb667f8dd698314b1c36047018
542Author: Lasse Collin <lasse.collin@tukaani.org>
543Date:   2022-09-16 17:08:53 +0300
544
545    Tests: Add a test file for lzma_index_append() integer overflow bug.
546
547    This test fails before commit 18d7facd3802b55c287581405c4d49c98708c136.
548
549    test_files.sh now runs xz -l for bad-3-index-uncomp-overflow.xz
550    because only then the previously-buggy code path gets tested.
551    Normal decompression doesn't use lzma_index_append() at all.
552    Instead, lzma_index_hash functions are used and those already
553    did the overflow check.
554
555 tests/files/README                         |  10 ++++++++++
556 tests/files/bad-3-index-uncomp-overflow.xz | Bin 0 -> 132 bytes
557 tests/test_files.sh                        |   8 ++++++++
558 3 files changed, 18 insertions(+)
559
560commit 72e1645a439a999638a63ec9abb7210671ea5415
561Author: Jia Tan <jiat0218@gmail.com>
562Date:   2022-09-02 20:18:55 +0800
563
564    liblzma: lzma_index_append: Add missing integer overflow check.
565
566    The documentation in src/liblzma/api/lzma/index.h suggests that
567    both the unpadded (compressed) size and the uncompressed size
568    are checked for overflow, but only the unpadded size was checked.
569    The uncompressed check is done first since that is more likely to
570    occur than the unpadded or index field size overflows.
571
572 src/liblzma/common/index.c | 4 ++++
573 1 file changed, 4 insertions(+)
574
575commit 20d82bc90781aa9d2373efe872d90ba64dc7dc62
576Author: Lasse Collin <lasse.collin@tukaani.org>
577Date:   2022-09-08 15:11:08 +0300
578
579    Update THANKS.
580
581 THANKS | 1 +
582 1 file changed, 1 insertion(+)
583
584commit 31d80c6b261b24220776dfaeb8a04f80f80e0a24
585Author: Lasse Collin <lasse.collin@tukaani.org>
586Date:   2022-09-04 23:23:00 +0300
587
588    liblzma: Vaccinate against an ill patch from RHEL/CentOS 7.
589
590    RHEL/CentOS 7 shipped with 5.1.2alpha, including the threaded
591    encoder that is behind #ifdef LZMA_UNSTABLE in the API headers.
592    In 5.1.2alpha these symbols are under XZ_5.1.2alpha in liblzma.map.
593    API/ABI compatibility tracking isn't done between development
594    releases so newer releases didn't have XZ_5.1.2alpha anymore.
595
596    Later RHEL/CentOS 7 updated xz to 5.2.2 but they wanted to keep
597    the exported symbols compatible with 5.1.2alpha. After checking
598    the ABI changes it turned out that >= 5.2.0 ABI is backward
599    compatible with the threaded encoder functions from 5.1.2alpha
600    (but not vice versa as fixes and extensions to these functions
601    were made between 5.1.2alpha and 5.2.0).
602
603    In RHEL/CentOS 7, XZ Utils 5.2.2 was patched with
604    xz-5.2.2-compat-libs.patch to modify liblzma.map:
605
606      - XZ_5.1.2alpha was added with lzma_stream_encoder_mt and
607        lzma_stream_encoder_mt_memusage. This matched XZ Utils 5.1.2alpha.
608
609      - XZ_5.2 was replaced with XZ_5.2.2. It is clear that this was
610        an error; the intention was to keep using XZ_5.2 (XZ_5.2.2
611        has never been used in XZ Utils). So XZ_5.2.2 lists all
612        symbols that were listed under XZ_5.2 before the patch.
613        lzma_stream_encoder_mt and _mt_memusage are included too so
614        they are listed both here and under XZ_5.1.2alpha.
615
616    The patch didn't add any __asm__(".symver ...") lines to the .c
617    files. Thus the resulting liblzma.so exports the threaded encoder
618    functions under XZ_5.1.2alpha only. Listing the two functions
619    also under XZ_5.2.2 in liblzma.map has no effect without
620    matching .symver lines.
621
622    The lack of XZ_5.2 in RHEL/CentOS 7 means that binaries linked
623    against unpatched XZ Utils 5.2.x won't run on RHEL/CentOS 7.
624    This is unfortunate but this alone isn't too bad as the problem
625    is contained within RHEL/CentOS 7 and doesn't affect users
626    of other distributions. It could also be fixed internally in
627    RHEL/CentOS 7.
628
629    The second problem is more serious: In XZ Utils 5.2.2 the API
630    headers don't have #ifdef LZMA_UNSTABLE for obvious reasons.
631    This is true in RHEL/CentOS 7 version too. Thus now programs
632    using new APIs can be compiled without an extra #define. However,
633    the programs end up depending on symbol version XZ_5.1.2alpha
634    (and possibly also XZ_5.2.2) instead of XZ_5.2 as they would
635    with an unpatched XZ Utils 5.2.2. This means that such binaries
636    won't run on other distributions shipping XZ Utils >= 5.2.0 as
637    they don't provide XZ_5.1.2alpha or XZ_5.2.2; they only provide
638    XZ_5.2 (and XZ_5.0). (This includes RHEL/CentOS 8 as the patch
639    luckily isn't included there anymore with XZ Utils 5.2.4.)
640
641    Binaries built by RHEL/CentOS 7 users get distributed and then
642    people wonder why they don't run on some other distribution.
643    Seems that people have found out about the patch and been copying
644    it to some build scripts, seemingly curing the symptoms but
645    actually spreading the illness further and outside RHEL/CentOS 7.
646
647    The ill patch seems to be from late 2016 (RHEL 7.3) and in 2017 it
648    had spread at least to EasyBuild. I heard about the events only
649    recently. :-(
650
651    This commit splits liblzma.map into two versions: one for
652    GNU/Linux and another for other OSes that can use symbol versioning
653    (FreeBSD, Solaris, maybe others). The Linux-specific file and the
654    matching additions to .c files add full compatibility with binaries
655    that have been built against a RHEL/CentOS-patched liblzma. Builds
656    for OSes other than GNU/Linux won't get the vaccine as they should
657    be immune to the problem (I really hope that no build script uses
658    the RHEL/CentOS 7 patch outside GNU/Linux).
659
660    The RHEL/CentOS compatibility symbols XZ_5.1.2alpha and XZ_5.2.2
661    are intentionally put *after* XZ_5.2 in liblzma_linux.map. This way
662    if one forgets to #define HAVE_SYMBOL_VERSIONS_LINUX when building,
663    the resulting liblzma.so.5 will have lzma_stream_encoder_mt@@XZ_5.2
664    since XZ_5.2 {...} is the first one that lists that function.
665    Without HAVE_SYMBOL_VERSIONS_LINUX @XZ_5.1.2alpha and @XZ_5.2.2
666    will be missing but that's still a minor problem compared to
667    only having lzma_stream_encoder_mt@@XZ_5.1.2alpha!
668
669    The "local: *;" line was moved to XZ_5.0 so that it doesn't need
670    to be moved around. It doesn't matter where it is put.
671
672    Having two similar liblzma_*.map files is a bit silly as it is,
673    at least for now, easily possible to generate the generic one
674    from the Linux-specific file. But that adds extra steps and
675    increases the risk of mistakes when supporting more than one
676    build system. So I rather maintain two files in parallel and let
677    validate_map.sh check that they are in sync when "make mydist"
678    is run.
679
680    This adds .symver lines for lzma_stream_encoder_mt@XZ_5.2.2 and
681    lzma_stream_encoder_mt_memusage@XZ_5.2.2 even though these
682    weren't exported by RHEL/CentOS 7 (only @@XZ_5.1.2alpha was
683    for these two). I added these anyway because someone might
684    misunderstand the RHEL/CentOS 7 patch and think that @XZ_5.2.2
685    (@@XZ_5.2.2) versions were exported too.
686
687    At glance one could suggest using __typeof__ to copy the function
688    prototypes when making aliases. However, this doesn't work trivially
689    because __typeof__ won't copy attributes (lzma_nothrow, lzma_pure)
690    and it won't change symbol visibility from hidden to default (done
691    by LZMA_API()). Attributes could be copied with __copy__ attribute
692    but that needs GCC 9 and a fallback method would be needed anyway.
693
694    This uses __symver__ attribute with GCC >= 10 and
695    __asm__(".symver ...") with everything else. The attribute method
696    is required for LTO (-flto) support with GCC. Using -flto with
697    GCC older than 10 is now broken on GNU/Linux and will not be fixed
698    (can silently result in a broken liblzma build that has dangerously
699    incorrect symbol versions). LTO builds with Clang seem to work
700    with the traditional __asm__(".symver ...") method.
701
702    Thanks to Boud Roukema for reporting the problem and discussing
703    the details and testing the fix.
704
705 configure.ac                                     |  23 ++++-
706 src/liblzma/Makefile.am                          |  10 +-
707 src/liblzma/common/block_buffer_encoder.c        |  18 ++++
708 src/liblzma/common/common.c                      |  14 +++
709 src/liblzma/common/common.h                      |  28 ++++++
710 src/liblzma/common/hardware_cputhreads.c         |  12 +++
711 src/liblzma/common/stream_encoder_mt.c           |  42 ++++++++
712 src/liblzma/{liblzma.map => liblzma_generic.map} |   6 +-
713 src/liblzma/liblzma_linux.map                    | 123 +++++++++++++++++++++++
714 src/liblzma/validate_map.sh                      | 113 +++++++++++++++++++--
715 10 files changed, 374 insertions(+), 15 deletions(-)
716
717commit e7a7ac744eb0f890ef52388de838596ef566c73f
718Author: Jia Tan <jiat0218@gmail.com>
719Date:   2022-09-08 15:07:00 +0300
720
721    CMake: Clarify a comment about Windows symlinks without file extension.
722
723 CMakeLists.txt | 7 +++----
724 1 file changed, 3 insertions(+), 4 deletions(-)
725
726commit a273a0cb77c6000e4da627b07f28c5af41f0908c
727Author: Lasse Collin <lasse.collin@tukaani.org>
728Date:   2022-09-08 15:02:41 +0300
729
730    CMake: Update for liblzma_*.map files and fix wrong common_w32res.rc dep.
731
732    The previous commit split liblzma.map into liblzma_linux.map and
733    liblzma_generic.map. This commit updates the CMake build for those.
734
735    common_w32res.rc dependency was listed under Linux/FreeBSD while
736    obviously it belongs to Windows when building a DLL.
737
738 CMakeLists.txt | 24 +++++++++++++++++++-----
739 1 file changed, 19 insertions(+), 5 deletions(-)
740
741commit 5875a45be0ab399e37acc31165725a9b5291f67e
742Author: Lasse Collin <lasse.collin@tukaani.org>
743Date:   2022-08-31 16:42:04 +0300
744
745    CMake: Add xz symlinks.
746
747    These are a minor thing especially since the xz build has
748    some real problems still like lack of large file support
749    on 32-bit systems but I'll commit this since the code exists.
750
751    Thanks to Jia Tan.
752
753 CMakeLists.txt | 38 +++++++++++++++++++++++++++++++++++++-
754 1 file changed, 37 insertions(+), 1 deletion(-)
755
756commit 3523b6ebb56c447f21736f01bfe91602741aa3e7
757Author: Lasse Collin <lasse.collin@tukaani.org>
758Date:   2022-08-31 16:29:38 +0300
759
760    CMake: Put xz man page install under if(UNIX) like is for xzdec.
761
762    Thanks to Jia Tan.
763
764 CMakeLists.txt | 8 +++++---
765 1 file changed, 5 insertions(+), 3 deletions(-)
766
767commit 5af9e8759f748a11a408bfc5aef829df3811fc23
768Author: Lasse Collin <lasse.collin@tukaani.org>
769Date:   2022-09-16 15:10:07 +0300
770
771    Translations: Add Turkish translation.
772
773 po/LINGUAS |   1 +
774 po/tr.po   | 977 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
775 2 files changed, 978 insertions(+)
776
777commit f05a69685e9c7f7157d751abfbd2d8ea6e3bacc7
778Author: Lasse Collin <lasse.collin@tukaani.org>
779Date:   2022-08-18 17:49:16 +0300
780
781    Build: Include the CMake files in the distribution.
782
783    This was supposed to be done in 2020 with 5.2.5 release
784    already but it was noticed only today. 5.2.5 and 5.2.6
785    even mention experiemental CMake support in the NEWS entries.
786
787    Thanks to Olivier B. for reporting the problem.
788
789 Makefile.am | 2 ++
790 1 file changed, 2 insertions(+)
791
792commit ad5ef6d3c30bb749113c51aa0bbe8bcb5e193fbe
793Author: Lasse Collin <lasse.collin@tukaani.org>
794Date:   2022-08-18 17:38:05 +0300
795
796    Windows: Fix broken liblzma.dll build with Visual Studio project files.
797
798    The bug was introduced in 352ba2d69af2136bc814aa1df1a132559d445616
799    "Windows: Fix building of resource files when config.h isn't used."
800
801    That commit fixed liblzma.dll build with CMake while keeping it
802    working with Autotools on Windows but the VS project files were
803    forgotten.
804
805    I haven't tested these changes.
806
807    Thanks to Olivier B. for reporting the bug and for the initial patch.
808
809 windows/vs2013/liblzma_dll.vcxproj | 6 ++++++
810 windows/vs2017/liblzma_dll.vcxproj | 6 ++++++
811 windows/vs2019/liblzma_dll.vcxproj | 6 ++++++
812 3 files changed, 18 insertions(+)
813
814commit 8dfed05bdaa4873833ba24279f02ad2db25effea
815Author: Lasse Collin <lasse.collin@tukaani.org>
816Date:   2022-08-12 14:30:13 +0300
817
818    Bump version and soname for 5.2.6.
819
820 src/liblzma/Makefile.am        | 2 +-
821 src/liblzma/api/lzma/version.h | 2 +-
822 2 files changed, 2 insertions(+), 2 deletions(-)
823
824commit 09b4af4e04def5777b06124200b64b0b941eea7f
825Author: Lasse Collin <lasse.collin@tukaani.org>
826Date:   2022-08-12 14:29:28 +0300
827
828    Add NEWS for 5.2.6.
829
830 NEWS | 226 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
831 1 file changed, 226 insertions(+)
832
833commit 692de534fae6c38f92416793addcf5f60ffe2bf6
834Author: Lasse Collin <lasse.collin@tukaani.org>
835Date:   2022-08-12 14:28:41 +0300
836
837    Add Jia Tan to AUTHORS.
838
839 AUTHORS | 2 +-
840 1 file changed, 1 insertion(+), 1 deletion(-)
841
842commit 275de376a645f406be7c453bb68427aa9466cf83
843Author: Lasse Collin <lasse.collin@tukaani.org>
844Date:   2022-07-25 19:11:05 +0300
845
846    Translations: Change the copyright comment string to use with po4a.
847
848    This affects the second line in po4a/xz-man.pot. The man pages of
849    xzdiff, xzgrep, and xzmore are from GNU gzip and under GNU GPLv2+
850    while the rest of the man pages are in the public domain.
851
852 po4a/update-po | 2 +-
853 1 file changed, 1 insertion(+), 1 deletion(-)
854
855commit 76a5a752b8467ff591dd028deb61e9bf2c274c7e
856Author: Jia Tan <jiat0218@gmail.com>
857Date:   2022-07-25 18:30:05 +0300
858
859    liblzma: Refactor lzma_mf_is_supported() to use a switch-statement.
860
861 src/liblzma/lz/lz_encoder.c | 32 ++++++++++++++------------------
862 1 file changed, 14 insertions(+), 18 deletions(-)
863
864commit 749b86c2c18ab61a07f19ec8fefc67325da97397
865Author: Jia Tan <jiat0218@gmail.com>
866Date:   2022-07-25 18:20:01 +0300
867
868    Build: Don't allow empty LIST in --enable-match-finders=LIST.
869
870    It's enforced only when a match finder is needed, that is,
871    when LZMA1 or LZMA2 encoder is enabled.
872
873 configure.ac | 4 ++++
874 1 file changed, 4 insertions(+)
875
876commit 63e3cdef805a4d9ea94c76c36cbabe4dc76abe36
877Author: Lasse Collin <lasse.collin@tukaani.org>
878Date:   2021-01-11 23:41:16 +0200
879
880    xz: Make --keep accept symlinks, hardlinks, and setuid/setgid/sticky.
881
882    Previously this required using --force but that has other
883    effects too which might be undesirable. Changing the behavior
884    of --keep has a small risk of breaking existing scripts but
885    since this is a fairly special corner case I expect the
886    likehood of breakage to be low enough.
887
888    I think the new behavior is more logical. The only reason for
889    the old behavior was to be consistent with gzip and bzip2.
890
891    Thanks to Vincent Lefevre and Sebastian Andrzej Siewior.
892
893 src/xz/file_io.c |  9 +++++----
894 src/xz/xz.1      | 16 +++++++++++++++-
895 2 files changed, 20 insertions(+), 5 deletions(-)
896
897commit 9055584be0ae47032b7fb3ba8531aa56b9ed572a
898Author: Lasse Collin <lasse.collin@tukaani.org>
899Date:   2022-07-19 23:19:49 +0300
900
901    xzgrep man page: Document exit statuses.
902
903 src/scripts/xzgrep.1 | 15 ++++++++++++++-
904 1 file changed, 14 insertions(+), 1 deletion(-)
905
906commit 57e1ccbb7ce30e5298ea7ec3934e462fa8d32237
907Author: Lasse Collin <lasse.collin@tukaani.org>
908Date:   2022-07-19 23:13:24 +0300
909
910    xzgrep: Improve error handling, especially signals.
911
912    xzgrep wouldn't exit on SIGPIPE or SIGQUIT when it clearly
913    should have. It's quite possible that it's not perfect still
914    but at least it's much better.
915
916    If multiple exit statuses compete, now it tries to pick
917    the largest of value.
918
919    Some comments were added.
920
921    The exit status handling of signals is still broken if the shell
922    uses values larger than 255 in $? to indicate that a process
923    died due to a signal ***and*** their "exit" command doesn't take
924    this into account. This seems to work well with the ksh and yash
925    versions I tried. However, there is a report in gzip/zgrep that
926    OpenSolaris 5.11 (not 5.10) has a problem with "exit" truncating
927    the argument to 8 bits:
928
929        https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22900#25
930
931    Such a bug would break xzgrep but I didn't add a workaround
932    at least for now. 5.11 is old and I don't know if the problem
933    exists in modern descendants, or if the problem exists in other
934    ksh implementations in use.
935
936 src/scripts/xzgrep.in | 72 +++++++++++++++++++++++++++++++++++++--------------
937 1 file changed, 53 insertions(+), 19 deletions(-)
938
939commit 6351ea1afb261ec9be95f808bcbe724e0da4ae09
940Author: Lasse Collin <lasse.collin@tukaani.org>
941Date:   2022-07-19 00:10:55 +0300
942
943    xzgrep: Make the fix for ZDI-CAN-16587 more robust.
944
945    I don't know if this can make a difference in the real world
946    but it looked kind of suspicious (what happens with sed
947    implementations that cannot process very long lines?).
948    At least this commit shouldn't make it worse.
949
950 src/scripts/xzgrep.in | 5 ++++-
951 1 file changed, 4 insertions(+), 1 deletion(-)
952
953commit 2c1ff2ed6b9f17b3913866a15d776ebbbeb824d2
954Author: Lasse Collin <lasse.collin@tukaani.org>
955Date:   2022-07-18 21:52:31 +0300
956
957    xzgrep: Use grep -H --label when available (GNU, *BSDs).
958
959    It avoids the use of sed for prefixing filenames to output lines.
960    Using sed for that is slower and prone to security bugs so now
961    the sed method is only used as a fallback.
962
963    This also fixes an actual bug: When grepping a binary file,
964    GNU grep nowadays prints its diagnostics to stderr instead of
965    stdout and thus the sed-method for prefixing the filename doesn't
966    work. So with this commit grepping binary files gives reasonable
967    output with GNU grep now.
968
969    This was inspired by zgrep but the implementation is different.
970
971 src/scripts/xzgrep.in | 21 +++++++++++++++++++++
972 1 file changed, 21 insertions(+)
973
974commit 8b0be38a795fa1cdffdada64341a34209e630060
975Author: Lasse Collin <lasse.collin@tukaani.org>
976Date:   2022-07-18 21:10:25 +0300
977
978    xzgrep: Use -e to specify the pattern to grep.
979
980    Now we don't need the separate test for adding the -q option
981    as it can be added directly in the two places where it's needed.
982
983 src/scripts/xzgrep.in | 12 ++++--------
984 1 file changed, 4 insertions(+), 8 deletions(-)
985
986commit 4a61867a874c60b31448d2d4f3c276efba85a243
987Author: Lasse Collin <lasse.collin@tukaani.org>
988Date:   2022-07-18 19:18:48 +0300
989
990    Scripts: Use printf instead of echo in a few places.
991
992    It's a good habbit as echo has some portability corner cases
993    when the string contents can be anything.
994
995 src/scripts/xzdiff.in | 6 +++---
996 src/scripts/xzgrep.in | 4 ++--
997 src/scripts/xzless.in | 4 ++--
998 src/scripts/xzmore.in | 8 ++++----
999 4 files changed, 11 insertions(+), 11 deletions(-)
1000
1001commit 0e222bf7d79a9792025c5ffeaa66c8e14eb47615
1002Author: Lasse Collin <lasse.collin@tukaani.org>
1003Date:   2022-07-17 21:36:25 +0300
1004
1005    xzgrep: Add more LC_ALL=C to avoid bugs with multibyte characters.
1006
1007    Also replace one use of expr with printf.
1008
1009    The rationale for LC_ALL=C was already mentioned in
1010    69d1b3fc29677af8ade8dc15dba83f0589cb63d6 that fixed a security
1011    issue. However, unrelated uses weren't changed in that commit yet.
1012
1013    POSIX says that with sed and such tools one should use LC_ALL=C
1014    to ensure predictable behavior when strings contain byte sequences
1015    that aren't valid multibyte characters in the current locale. See
1016    under "Application usage" in here:
1017
1018    https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html
1019
1020    With GNU sed invalid multibyte strings would work without this;
1021    it's documented in its Texinfo manual. Some other implementations
1022    aren't so forgiving.
1023
1024 src/scripts/xzgrep.in | 14 ++++++++------
1025 1 file changed, 8 insertions(+), 6 deletions(-)
1026
1027commit 62c1d2bc2da66e182c52bb1e3aa791f6d8a9e099
1028Author: Lasse Collin <lasse.collin@tukaani.org>
1029Date:   2022-07-17 20:55:16 +0300
1030
1031    xzgrep: Fix parsing of certain options.
1032
1033    Fix handling of "xzgrep -25 foo" (in GNU grep "grep -25 foo" is
1034    an alias for "grep -C25 foo"). xzgrep would treat "foo" as filename
1035    instead of as a pattern. This bug was fixed in zgrep in gzip in 2012.
1036
1037    Add -E, -F, -G, and -P to the "no argument required" list.
1038
1039    Add -X to "argument required" list. It is an
1040    intentionally-undocumented GNU grep option so this isn't
1041    an important option for xzgrep but it seems that other grep
1042    implementations (well, those that I checked) don't support -X
1043    so I hope this change is an improvement still.
1044
1045    grep -d (grep --directories=ACTION) requires an argument. In
1046    contrast to zgrep, I kept -d in the "no argument required" list
1047    because it's not supported in xzgrep (or zgrep). This way
1048    "xzgrep -d" gives an error about option being unsupported instead
1049    of telling that it requires an argument. Both zgrep and xzgrep
1050    tell that it's unsupported if an argument is specified.
1051
1052    Add comments.
1053
1054 src/scripts/xzgrep.in | 19 +++++++++++++++++--
1055 1 file changed, 17 insertions(+), 2 deletions(-)
1056
1057commit 372a0d12c95fad5e5477b4f79646bf66d28e0c31
1058Author: Lasse Collin <lasse.collin@tukaani.org>
1059Date:   2022-07-14 20:33:05 +0300
1060
1061    Tests: Add the .lzma files to test_files.sh.
1062
1063 tests/test_files.sh | 20 ++++++++++++++++++++
1064 1 file changed, 20 insertions(+)
1065
1066commit b8e3d0c45b62c81dfc6b350556d77cf2c7401edd
1067Author: Lasse Collin <lasse.collin@tukaani.org>
1068Date:   2022-07-14 19:37:42 +0300
1069
1070    Tests: Add .lzma test files.
1071
1072 tests/files/README                                 |  63 ++++++++++++++++-----
1073 tests/files/bad-too_big_size-with_eopm.lzma        | Bin 0 -> 37 bytes
1074 tests/files/bad-too_small_size-without_eopm-1.lzma | Bin 0 -> 31 bytes
1075 tests/files/bad-too_small_size-without_eopm-2.lzma | Bin 0 -> 31 bytes
1076 tests/files/bad-too_small_size-without_eopm-3.lzma | Bin 0 -> 36 bytes
1077 tests/files/bad-unknown_size-without_eopm.lzma     | Bin 0 -> 31 bytes
1078 tests/files/good-known_size-with_eopm.lzma         | Bin 0 -> 37 bytes
1079 tests/files/good-known_size-without_eopm.lzma      | Bin 0 -> 31 bytes
1080 tests/files/good-unknown_size-with_eopm.lzma       | Bin 0 -> 37 bytes
1081 9 files changed, 50 insertions(+), 13 deletions(-)
1082
1083commit e96bdf7189916bffec0dcc933cd809fac898587c
1084Author: Lasse Collin <lasse.collin@tukaani.org>
1085Date:   2022-07-14 18:12:38 +0300
1086
1087    liblzma: Rename a variable and improve a comment.
1088
1089 src/liblzma/lzma/lzma_decoder.c | 13 +++++++++----
1090 1 file changed, 9 insertions(+), 4 deletions(-)
1091
1092commit 2d54fdf58e80bb2b0852633838576fd1ae7961c5
1093Author: Lasse Collin <lasse.collin@tukaani.org>
1094Date:   2022-07-13 22:24:41 +0300
1095
1096    Update THANKS.
1097
1098 THANKS | 1 +
1099 1 file changed, 1 insertion(+)
1100
1101commit ff54b557fe3b06b59a24e4028c1464c35dd5b142
1102Author: Lasse Collin <lasse.collin@tukaani.org>
1103Date:   2022-07-13 22:24:07 +0300
1104
1105    liblzma: Add optional autodetection of LZMA end marker.
1106
1107    Turns out that this is needed for .lzma files as the spec in
1108    LZMA SDK says that end marker may be present even if the size
1109    is stored in the header. Such files are rare but exist in the
1110    real world. The code in liblzma is so old that the spec didn't
1111    exist in LZMA SDK back then and I had understood that such
1112    files weren't possible (the lzma tool in LZMA SDK didn't
1113    create such files).
1114
1115    This modifies the internal API so that LZMA decoder can be told
1116    if EOPM is allowed even when the uncompressed size is known.
1117    It's allowed with .lzma and not with other uses.
1118
1119    Thanks to Karl Beldan for reporting the problem.
1120
1121 doc/lzma-file-format.txt           | 11 ++++-
1122 src/liblzma/common/alone_decoder.c |  2 +-
1123 src/liblzma/lz/lz_decoder.c        | 10 +++-
1124 src/liblzma/lz/lz_decoder.h        |  8 +--
1125 src/liblzma/lzma/lzma2_decoder.c   |  2 +-
1126 src/liblzma/lzma/lzma_decoder.c    | 99 +++++++++++++++++++++++++++-----------
1127 6 files changed, 94 insertions(+), 38 deletions(-)
1128
1129commit bb795fe835cf2b3ae7ed68b155784fbfc14e2faf
1130Author: Lasse Collin <lasse.collin@tukaani.org>
1131Date:   2022-06-14 17:20:49 +0300
1132
1133    Tests: Add test file good-1-empty-bcj-lzma2.xz.
1134
1135    This is from test_bcj_exact_size.c.
1136    It's good to have it as a standalone file.
1137
1138 tests/files/README                    |   5 +++++
1139 tests/files/good-1-empty-bcj-lzma2.xz | Bin 0 -> 52 bytes
1140 2 files changed, 5 insertions(+)
1141
1142commit dbd8b0bf45c10f991635f585a2ea59fb5ae28ff3
1143Author: Lasse Collin <lasse.collin@tukaani.org>
1144Date:   2022-03-31 00:05:07 +0300
1145
1146    Update THANKS.
1147
1148 THANKS | 1 +
1149 1 file changed, 1 insertion(+)
1150
1151commit bb66a98ded39c40df202da17cb2055356dcd4168
1152Author: Lasse Collin <lasse.collin@tukaani.org>
1153Date:   2022-03-29 19:19:12 +0300
1154
1155    xzgrep: Fix escaping of malicious filenames (ZDI-CAN-16587).
1156
1157    Malicious filenames can make xzgrep to write to arbitrary files
1158    or (with a GNU sed extension) lead to arbitrary code execution.
1159
1160    xzgrep from XZ Utils versions up to and including 5.2.5 are
1161    affected. 5.3.1alpha and 5.3.2alpha are affected as well.
1162    This patch works for all of them.
1163
1164    This bug was inherited from gzip's zgrep. gzip 1.12 includes
1165    a fix for zgrep.
1166
1167    The issue with the old sed script is that with multiple newlines,
1168    the N-command will read the second line of input, then the
1169    s-commands will be skipped because it's not the end of the
1170    file yet, then a new sed cycle starts and the pattern space
1171    is printed and emptied. So only the last line or two get escaped.
1172
1173    One way to fix this would be to read all lines into the pattern
1174    space first. However, the included fix is even simpler: All lines
1175    except the last line get a backslash appended at the end. To ensure
1176    that shell command substitution doesn't eat a possible trailing
1177    newline, a colon is appended to the filename before escaping.
1178    The colon is later used to separate the filename from the grep
1179    output so it is fine to add it here instead of a few lines later.
1180
1181    The old code also wasn't POSIX compliant as it used \n in the
1182    replacement section of the s-command. Using \<newline> is the
1183    POSIX compatible method.
1184
1185    LC_ALL=C was added to the two critical sed commands. POSIX sed
1186    manual recommends it when using sed to manipulate pathnames
1187    because in other locales invalid multibyte sequences might
1188    cause issues with some sed implementations. In case of GNU sed,
1189    these particular sed scripts wouldn't have such problems but some
1190    other scripts could have, see:
1191
1192        info '(sed)Locale Considerations'
1193
1194    This vulnerability was discovered by:
1195    cleemy desu wayo working with Trend Micro Zero Day Initiative
1196
1197    Thanks to Jim Meyering and Paul Eggert discussing the different
1198    ways to fix this and for coordinating the patch release schedule
1199    with gzip.
1200
1201 src/scripts/xzgrep.in | 20 ++++++++++++--------
1202 1 file changed, 12 insertions(+), 8 deletions(-)
1203
1204commit fa3af4e4c6a8f692785b87ba0f165f34d154ae0f
1205Author: Lasse Collin <lasse.collin@tukaani.org>
1206Date:   2022-03-23 16:34:00 +0200
1207
1208    Update THANKS.
1209
1210 THANKS | 1 +
1211 1 file changed, 1 insertion(+)
1212
1213commit f12ce0f23a0496daebc77e8359309bf724ad5e8a
1214Author: Lasse Collin <lasse.collin@tukaani.org>
1215Date:   2022-03-06 16:54:23 +0200
1216
1217    liblzma: Fix docs: lzma_block_decoder() cannot return LZMA_UNSUPPORTED_CHECK.
1218
1219    If Check is unsupported, it will be silently ignored.
1220    It's the caller's job to handle it.
1221
1222 src/liblzma/api/lzma/block.h | 3 ---
1223 1 file changed, 3 deletions(-)
1224
1225commit 412566731111edc28f0b68bc966d01ab24d17082
1226Author: Lasse Collin <lasse.collin@tukaani.org>
1227Date:   2022-03-06 15:18:58 +0200
1228
1229    liblzma: Index hash: Change return value type of hash_append() to void.
1230
1231 src/liblzma/common/index_hash.c | 11 +++++------
1232 1 file changed, 5 insertions(+), 6 deletions(-)
1233
1234commit 7c3ce02df001701a26c2fa41b2dc8b530743f454
1235Author: Lasse Collin <lasse.collin@tukaani.org>
1236Date:   2022-02-22 03:42:57 +0200
1237
1238    liblzma: Minor addition to lzma_vli_size() API doc.
1239
1240    Thanks to Jia Tan.
1241
1242 src/liblzma/api/lzma/vli.h | 2 ++
1243 1 file changed, 2 insertions(+)
1244
1245commit b8f667fe0c3e17fd2c559901d2aaf19b1dfd51f2
1246Author: Lasse Collin <lasse.collin@tukaani.org>
1247Date:   2022-02-22 02:04:18 +0200
1248
1249    liblzma: Check the return value of lzma_index_append() in threaded encoder.
1250
1251    If lzma_index_append() failed (most likely memory allocation failure)
1252    it could have gone unnoticed and the resulting .xz file would have
1253    an incorrect Index. Decompressing such a file would produce the
1254    correct uncompressed data but then an error would occur when
1255    verifying the Index field.
1256
1257 src/liblzma/common/stream_encoder_mt.c | 7 +++++--
1258 1 file changed, 5 insertions(+), 2 deletions(-)
1259
1260commit 2356d53edd8f44ff8f411972ca62d63079ff59af
1261Author: Lasse Collin <lasse.collin@tukaani.org>
1262Date:   2022-02-22 01:37:39 +0200
1263
1264    Update THANKS.
1265
1266 THANKS | 1 +
1267 1 file changed, 1 insertion(+)
1268
1269commit 748ef0833821f1ea4ff5d57abc3cab1ae76266d3
1270Author: Ed Maste <emaste@FreeBSD.org>
1271Date:   2022-02-11 15:25:46 +0000
1272
1273    liblzma: Use non-executable stack on FreeBSD as on Linux
1274
1275 src/liblzma/check/crc32_x86.S | 4 ++--
1276 src/liblzma/check/crc64_x86.S | 4 ++--
1277 2 files changed, 4 insertions(+), 4 deletions(-)
1278
1279commit 068a6e3286c9ca7d67f13f4c78646c4f4a3c3c5b
1280Author: Lasse Collin <lasse.collin@tukaani.org>
1281Date:   2022-02-20 20:36:27 +0200
1282
1283    liblzma: Make Block decoder catch certain types of errors better.
1284
1285    Now it limits the input and output buffer sizes that are
1286    passed to a raw decoder. This way there's no need to check
1287    if the sizes can grow too big or overflow when updating
1288    Compressed Size and Uncompressed Size counts. This also means
1289    that a corrupt file cannot cause the raw decoder to process
1290    useless extra input or output that would exceed the size info
1291    in Block Header (and thus cause LZMA_DATA_ERROR anyway).
1292
1293    More importantly, now the size information is verified more
1294    carefully in case raw decoder returns LZMA_OK. This doesn't
1295    really matter with the current single-threaded .xz decoder
1296    as the errors would be detected slightly later anyway. But
1297    this helps avoiding corner cases in the upcoming threaded
1298    decompressor, and it might help other Block decoder uses
1299    outside liblzma too.
1300
1301    The test files bad-1-lzma2-{9,10,11}.xz test these conditions.
1302    With the single-threaded .xz decoder the only difference is
1303    that LZMA_DATA_ERROR is detected in a difference place now.
1304
1305 src/liblzma/common/block_decoder.c | 79 ++++++++++++++++++++++++++------------
1306 1 file changed, 54 insertions(+), 25 deletions(-)
1307
1308commit 766df4f62c165ba96d60af8fadbada51349fd140
1309Author: Lasse Collin <lasse.collin@tukaani.org>
1310Date:   2022-02-20 19:38:55 +0200
1311
1312    Tests: Add bad-1-lzma2-11.xz.
1313
1314 tests/files/README            |   5 +++++
1315 tests/files/bad-1-lzma2-11.xz | Bin 0 -> 64 bytes
1316 2 files changed, 5 insertions(+)
1317
1318commit 12a6d6ce2a9850e32140e542decfd9c8a33c87fc
1319Author: Lasse Collin <lasse.collin@tukaani.org>
1320Date:   2022-02-18 18:51:10 +0200
1321
1322    Translations: Fix po4a failure with the French man page translations.
1323
1324    Thanks to Mario Blättermann for the patch.
1325
1326 po4a/fr_FR.po | 6 ++++--
1327 1 file changed, 4 insertions(+), 2 deletions(-)
1328
1329commit 00e6aad836cf301e95575ea53790f5ab96fe8ed6
1330Author: Lasse Collin <lasse.collin@tukaani.org>
1331Date:   2022-02-07 01:14:37 +0200
1332
1333    Translations: Add French translation of man pages.
1334
1335    This matches xz-utils 5.2.5-2 in Debian.
1336
1337    The translation was done by "bubu", proofread by the debian-l10n-french
1338    mailing list contributors, and submitted to me on the xz-devel mailing
1339    list by Jean-Pierre Giraud. Thanks to everyone!
1340
1341 po4a/fr_FR.po  | 3541 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1342 po4a/po4a.conf |    2 +-
1343 2 files changed, 3542 insertions(+), 1 deletion(-)
1344
1345commit e20ce2b12251a246c50fb5b7fa2204c11611b407
1346Author: jiat75 <jiat0218@gmail.com>
1347Date:   2022-01-28 20:47:55 +0800
1348
1349    liblzma: Add NULL checks to LZMA and LZMA2 properties encoders.
1350
1351    Previously lzma_lzma_props_encode() and lzma_lzma2_props_encode()
1352    assumed that the options pointers must be non-NULL because the
1353    with these filters the API says it must never be NULL. It is
1354    good to do these checks anyway.
1355
1356 src/liblzma/lzma/lzma2_encoder.c | 3 +++
1357 src/liblzma/lzma/lzma_encoder.c  | 3 +++
1358 2 files changed, 6 insertions(+)
1359
1360commit feb80ace866c3033cefbc39f6b07ada83e316e6a
1361Author: huangqinjin <huangqinjin@gmail.com>
1362Date:   2021-12-13 20:49:21 +0800
1363
1364    CMake: Keep compatible with Windows 95 for 32-bit build.
1365
1366 CMakeLists.txt | 12 +++++++++++-
1367 1 file changed, 11 insertions(+), 1 deletion(-)
1368
1369commit 725f2e0522c4ef8dc5fdd69b5017bac6322ebce2
1370Author: Lasse Collin <lasse.collin@tukaani.org>
1371Date:   2021-11-13 21:04:05 +0200
1372
1373    xzgrep: Update man page timestamp.
1374
1375 src/scripts/xzgrep.1 | 2 +-
1376 1 file changed, 1 insertion(+), 1 deletion(-)
1377
1378commit 7955669d423724e69a7f2dae1173dae248f7a596
1379Author: Lasse Collin <lasse.collin@tukaani.org>
1380Date:   2021-11-13 18:23:24 +0200
1381
1382    Update THANKS.
1383
1384 THANKS | 1 +
1385 1 file changed, 1 insertion(+)
1386
1387commit 671673a7a209e6131491e6a424758bbc13fb7aa1
1388Author: Ville Skyttä <ville.skytta@iki.fi>
1389Date:   2021-11-13 10:11:57 +0200
1390
1391    xzgrep: use `grep -E/-F` instead of `egrep` and `fgrep`
1392
1393    `egrep` and `fgrep` have been deprecated in GNU grep since 2007, and in
1394    current post 3.7 Git they have been made to emit obsolescence warnings:
1395    https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1
1396
1397 src/scripts/xzgrep.1  | 8 ++++----
1398 src/scripts/xzgrep.in | 4 ++--
1399 2 files changed, 6 insertions(+), 6 deletions(-)
1400
1401commit 45e538257e85050f67a6d363961e31b71e3ec565
1402Author: Lasse Collin <lasse.collin@tukaani.org>
1403Date:   2021-10-27 23:27:48 +0300
1404
1405    Update THANKS.
1406
1407 THANKS | 1 +
1408 1 file changed, 1 insertion(+)
1409
1410commit ca21733d24a4f65b46a5efa124a89c859ac5592e
1411Author: Lasse Collin <lasse.collin@tukaani.org>
1412Date:   2021-10-27 23:23:11 +0300
1413
1414    xz: Change the coding style of the previous commit.
1415
1416    It isn't any better now but it's consistent with
1417    the rest of the code base.
1418
1419 src/xz/file_io.c | 11 ++++++-----
1420 1 file changed, 6 insertions(+), 5 deletions(-)
1421
1422commit 906b990b151b93750958371e39ad00e8d1daada9
1423Author: Alexander Bluhm <alexander.bluhm@gmx.net>
1424Date:   2021-10-05 23:33:16 +0200
1425
1426    xz: Avoid fchown(2) failure.
1427
1428    OpenBSD does not allow to change the group of a file if the user
1429    does not belong to this group.  In contrast to Linux, OpenBSD also
1430    fails if the new group is the same as the old one.  Do not call
1431    fchown(2) in this case, it would change nothing anyway.
1432
1433    This fixes an issue with Perl Alien::Build module.
1434    https://github.com/PerlAlien/Alien-Build/issues/62
1435
1436 src/xz/file_io.c | 8 +++++++-
1437 1 file changed, 7 insertions(+), 1 deletion(-)
1438
1439commit ca83df96c48371ce0094c73c6f4582899ae4b62b
1440Author: Lasse Collin <lasse.collin@tukaani.org>
1441Date:   2021-09-09 22:21:07 +0300
1442
1443    Update THANKS.
1444
1445 THANKS | 1 +
1446 1 file changed, 1 insertion(+)
1447
1448commit d8b294af03840c7c47d6b7b0d4c0d6d2f6357dfa
1449Author: Lasse Collin <lasse.collin@tukaani.org>
1450Date:   2021-09-09 21:41:51 +0300
1451
1452    liblzma: Use _MSVC_LANG to detect when "noexcept" can be used with MSVC.
1453
1454    By default, MSVC always sets __cplusplus to 199711L. The real
1455    C++ standard version is available in _MSVC_LANG (or one could
1456    use /Zc:__cplusplus to set __cplusplus correctly).
1457
1458    Fixes <https://sourceforge.net/p/lzmautils/discussion/708858/thread/f6bc3b108a/>.
1459
1460    Thanks to Dan Weiss.
1461
1462 src/liblzma/api/lzma.h | 3 ++-
1463 1 file changed, 2 insertions(+), 1 deletion(-)
1464
1465commit c2fde22befe1f5256ad3d7c4cb35794aa8e64c67
1466Author: Lasse Collin <lasse.collin@tukaani.org>
1467Date:   2021-06-04 19:02:38 +0300
1468
1469    xzdiff: Update the man page about the exit status.
1470
1471    This was forgotten from 194029ffaf74282a81f0c299c07f73caca3232ca.
1472
1473 src/scripts/xzdiff.1 | 4 ++--
1474 1 file changed, 2 insertions(+), 2 deletions(-)
1475
1476commit 8d0fd42fbedd01fd3c847b56d19841e603500dea
1477Author: Lasse Collin <lasse.collin@tukaani.org>
1478Date:   2021-06-04 18:52:48 +0300
1479
1480    xzless: Fix less(1) version detection when it contains a dot.
1481
1482    Sometimes the version number from "less -V" contains a dot,
1483    sometimes not. xzless failed detect the version number when
1484    it does contain a dot. This fixes it.
1485
1486    Thanks to nick87720z for reporting this. Apparently it had been
1487    reported here <https://bugs.gentoo.org/489362> in 2013.
1488
1489 src/scripts/xzless.in | 2 +-
1490 1 file changed, 1 insertion(+), 1 deletion(-)
1491
1492commit 6e2cab8579fc6f832b5954510b27fd7e74563436
1493Author: Lasse Collin <lasse.collin@tukaani.org>
1494Date:   2022-07-12 18:53:04 +0300
1495
1496    xz: Document the special memlimit case of 2000 MiB on MIPS32.
1497
1498    See commit 95806a8a52ae57bddf6c77dfd19cf7938a92e040.
1499
1500 src/xz/xz.1 | 8 ++++++--
1501 1 file changed, 6 insertions(+), 2 deletions(-)
1502
1503commit 38b311462bd8974888ba3cd9312de132c76ec2e0
1504Author: Lasse Collin <lasse.collin@tukaani.org>
1505Date:   2021-04-11 19:58:10 +0300
1506
1507    Update THANKS.
1508
1509 THANKS | 2 ++
1510 1 file changed, 2 insertions(+)
1511
1512commit 95806a8a52ae57bddf6c77dfd19cf7938a92e040
1513Author: Ivan A. Melnikov <iv@altlinux.org>
1514Date:   2021-04-09 11:45:10 +0300
1515
1516    Reduce maximum possible memory limit on MIPS32
1517
1518    Due to architectural limitations, address space available to a single
1519    userspace process on MIPS32 is limited to 2 GiB, not 4, even on systems
1520    that have more physical RAM -- e.g. 64-bit systems with 32-bit
1521    userspace, or systems that use XPA (an extension similar to x86's PAE).
1522
1523    So, for MIPS32, we have to impose stronger memory limits. I've chosen
1524    2000MiB to give the process some headroom.
1525
1526 src/xz/hardware.c | 6 ++++++
1527 1 file changed, 6 insertions(+)
1528
1529commit a79bd30a6fbfe614f47ad77498c46e218dbe2b1d
1530Author: Lasse Collin <lasse.collin@tukaani.org>
1531Date:   2021-02-13 23:31:27 +0200
1532
1533    CMake: Use interface library for better FindLibLZMA compatibility.
1534
1535    https://www.mail-archive.com/xz-devel@tukaani.org/msg00446.html
1536
1537    Thanks to Markus Rickert.
1538
1539 CMakeLists.txt | 11 +++++++++--
1540 1 file changed, 9 insertions(+), 2 deletions(-)
1541
1542commit 64d98147616c48f2df37fb46b49350f3d5febd34
1543Author: Lasse Collin <lasse.collin@tukaani.org>
1544Date:   2021-01-30 18:36:04 +0200
1545
1546    CMake: Try to improve compatibility with the FindLibLZMA module.
1547
1548    The naming conflict with FindLibLZMA module gets worse.
1549    Not avoiding it in the first place was stupid.
1550
1551    Normally find_package(LibLZMA) will use the module and
1552    find_package(liblzma 5.2.5 REQUIRED CONFIG) will use the config
1553    file even with a case insensitive file system. However, if
1554    CMAKE_FIND_PACKAGE_PREFER_CONFIG is TRUE and the file system
1555    is case insensitive, find_package(LibLZMA) will find our liblzma
1556    config file instead of using FindLibLZMA module.
1557
1558    One big problem with this is that FindLibLZMA uses
1559    LibLZMA::LibLZMA and we use liblzma::liblzma as the target
1560    name. With target names CMake happens to be case sensitive.
1561    To workaround this, this commit adds
1562
1563        add_library(LibLZMA::LibLZMA ALIAS liblzma::liblzma)
1564
1565    to the config file. Then both spellings work.
1566
1567    To make the behavior consistent between case sensitive and
1568    insensitive file systems, the config and related files are
1569    renamed from liblzmaConfig.cmake to liblzma-config.cmake style.
1570    With this style CMake looks for lowercase version of the package
1571    name so find_package(LiBLzmA 5.2.5 REQUIRED CONFIG) will work
1572    to find our config file.
1573
1574    There are other differences between our config file and
1575    FindLibLZMA so it's still possible that things break for
1576    reasons other than the spelling of the target name. Hopefully
1577    those situations aren't too common.
1578
1579    When the config file is available, it should always give as good or
1580    better results as FindLibLZMA so this commit doesn't affect the
1581    recommendation to use find_package(liblzma 5.2.5 REQUIRED CONFIG)
1582    which explicitly avoids FindLibLZMA.
1583
1584    Thanks to Markus Rickert.
1585
1586 CMakeLists.txt | 21 +++++++++++++--------
1587 1 file changed, 13 insertions(+), 8 deletions(-)
1588
1589commit 9e2f9e2d0841dd0417125ca3c7a05418541fb230
1590Author: Lasse Collin <lasse.collin@tukaani.org>
1591Date:   2021-01-24 22:32:41 +0200
1592
1593    Tests: Add bad-1-lzma2-10.xz and also modify -9.xz.
1594
1595 tests/files/README            |  11 +++++++++--
1596 tests/files/bad-1-lzma2-10.xz | Bin 0 -> 60 bytes
1597 tests/files/bad-1-lzma2-9.xz  | Bin 72 -> 72 bytes
1598 3 files changed, 9 insertions(+), 2 deletions(-)
1599
1600commit 00a4c69bbbf302dd6323fd6970890ee22ddd4f96
1601Author: Lasse Collin <lasse.collin@tukaani.org>
1602Date:   2021-01-24 18:51:51 +0200
1603
1604    Tests: Add bad-1-lzma2-9.xz.
1605
1606 tests/files/README           |   4 ++++
1607 tests/files/bad-1-lzma2-9.xz | Bin 0 -> 72 bytes
1608 2 files changed, 4 insertions(+)
1609
1610commit 1da2269b2e9b952d165ad7bec823de9dfe9a9e9e
1611Author: Lasse Collin <lasse.collin@tukaani.org>
1612Date:   2021-01-24 17:02:00 +0200
1613
1614    Tests: Add bad-1-check-crc32-2.xz.
1615
1616 tests/files/README                 |   7 +++++++
1617 tests/files/bad-1-check-crc32-2.xz | Bin 0 -> 72 bytes
1618 2 files changed, 7 insertions(+)
1619
1620commit 11ceecb5e2999ff96989915120e63a2e7e130057
1621Author: Lasse Collin <lasse.collin@tukaani.org>
1622Date:   2021-01-11 23:57:11 +0200
1623
1624    Scripts: Add zstd support to xzdiff.
1625
1626 src/scripts/xzdiff.1  |  6 ++++--
1627 src/scripts/xzdiff.in | 16 +++++++++++-----
1628 2 files changed, 15 insertions(+), 7 deletions(-)
1629
1630commit d655b8c9cb5a4e596c0fa2290fa91e995b734f97
1631Author: Lasse Collin <lasse.collin@tukaani.org>
1632Date:   2021-01-11 23:28:52 +0200
1633
1634    Scripts: Fix exit status of xzgrep.
1635
1636    Omit the -q option from xz, gzip, and bzip2. With xz this shouldn't
1637    matter. With gzip it's important because -q makes gzip replace SIGPIPE
1638    with exit status 2. With bzip2 it's important because with -q bzip2
1639    is completely silent if input is corrupt while other decompressors
1640    still give an error message.
1641
1642    Avoiding exit status 2 from gzip is important because bzip2 uses
1643    exit status 2 to indicate corrupt input. Before this commit xzgrep
1644    didn't recognize corrupt .bz2 files because xzgrep was treating
1645    exit status 2 as SIGPIPE for gzip compatibility.
1646
1647    zstd still needs -q because otherwise it is noisy in normal
1648    operation.
1649
1650    The code to detect real SIGPIPE didn't check if the exit status
1651    was due to a signal (>= 128) and so could ignore some other exit
1652    status too.
1653
1654 src/scripts/xzgrep.in | 20 +++++++++++++-------
1655 1 file changed, 13 insertions(+), 7 deletions(-)
1656
1657commit 09c331b03c801414d547fc25711daf099cef6fb5
1658Author: Lasse Collin <lasse.collin@tukaani.org>
1659Date:   2021-01-11 22:01:51 +0200
1660
1661    Scripts: Fix exit status of xzdiff/xzcmp.
1662
1663    This is a minor fix since this affects only the situation when
1664    the files differ and the exit status is something else than 0.
1665    In such case there could be SIGPIPE from a decompression tool
1666    and that would result in exit status of 2 from xzdiff/xzcmp
1667    while the correct behavior would be to return 1 or whatever
1668    else diff or cmp may have returned.
1669
1670    This commit omits the -q option from xz/gzip/bzip2/lzop arguments.
1671    I'm not sure why the -q was used in the first place, perhaps it
1672    hides warnings in some situation that I cannot see at the moment.
1673    Hopefully the removal won't introduce a new bug.
1674
1675    With gzip the -q option was harmful because it made gzip return 2
1676    instead of >= 128 with SIGPIPE. Ignoring exit status 2 (warning
1677    from gzip) isn't practical because bzip2 uses exit status 2 to
1678    indicate corrupt input file. It's better if SIGPIPE results in
1679    exit status >= 128.
1680
1681    With bzip2 the removal of -q seems to be good because with -q
1682    it prints nothing if input is corrupt. The other tools aren't
1683    silent in this situation even with -q. On the other hand, if
1684    zstd support is added, it will need -q since otherwise it's
1685    noisy in normal situations.
1686
1687    Thanks to Étienne Mollier and Sebastian Andrzej Siewior.
1688
1689 src/scripts/xzdiff.in | 35 +++++++++++++++++++++--------------
1690 1 file changed, 21 insertions(+), 14 deletions(-)
1691
1692commit b33a345cbab90e18b601d26cc3a0dea083b7d8d9
1693Author: Lasse Collin <lasse.collin@tukaani.org>
1694Date:   2020-12-23 17:15:49 +0200
1695
1696    Update THANKS.
1697
1698 THANKS | 1 +
1699 1 file changed, 1 insertion(+)
1700
1701commit c01e29a933baba737217a3549eaaced7e499edf5
1702Author: H.J. Lu <hjl.tools@gmail.com>
1703Date:   2020-12-23 06:49:04 -0800
1704
1705    liblzma: Enable Intel CET in x86 CRC assembly codes
1706
1707    When Intel CET is enabled, we need to include <cet.h> in assembly codes
1708    to mark Intel CET support and add _CET_ENDBR to indirect jump targets.
1709
1710    Tested on Intel Tiger Lake under CET enabled Linux.
1711
1712 src/liblzma/check/crc32_x86.S | 9 +++++++++
1713 src/liblzma/check/crc64_x86.S | 9 +++++++++
1714 2 files changed, 18 insertions(+)
1715
1716commit 0983682f87ae1a9efcbe4e45579d53c9bca16500
1717Author: Lasse Collin <lasse.collin@tukaani.org>
1718Date:   2020-12-16 18:33:29 +0200
1719
1720    Update THANKS.
1721
1722 THANKS | 1 +
1723 1 file changed, 1 insertion(+)
1724
1725commit 880596e4b8731b24f6c19cb737ed7d06fe92dda2
1726Author: Lasse Collin <lasse.collin@tukaani.org>
1727Date:   2020-12-16 18:30:14 +0200
1728
1729    Build: Don't build bundles on Apple OSes.
1730
1731    Thanks to Daniel Packard.
1732
1733 CMakeLists.txt | 3 +++
1734 1 file changed, 3 insertions(+)
1735
1736commit 29050c79f1f83bf73714146a44dfbb4d26e27920
1737Author: Lasse Collin <lasse.collin@tukaani.org>
1738Date:   2020-12-05 22:44:03 +0200
1739
1740    Update THANKS.
1741
1742 THANKS | 1 +
1743 1 file changed, 1 insertion(+)
1744
1745commit 94fd72474973978f8369be7c23f77c3b741953a6
1746Author: Adam Borowski <kilobyte@angband.pl>
1747Date:   2020-09-25 03:35:18 +0200
1748
1749    Scripts: Add zstd support to xzgrep.
1750
1751    Thanks to Adam Borowski.
1752
1753 src/scripts/xzgrep.1  | 9 ++++++---
1754 src/scripts/xzgrep.in | 1 +
1755 2 files changed, 7 insertions(+), 3 deletions(-)
1756
1757commit 13c58ac13e1a84c30de24191931af425286d0550
1758Author: Lasse Collin <lasse.collin@tukaani.org>
1759Date:   2020-11-17 20:51:48 +0200
1760
1761    CMake: Fix compatibility with CMake 3.13.
1762
1763    The syntax "if(DEFINED CACHE{FOO})" requires CMake 3.14.
1764    In some other places the code treats the cache variables
1765    like normal variables already (${FOO} or if(FOO) is used,
1766    not ${CACHE{FOO}).
1767
1768    Thanks to ygrek for reporting the bug on IRC.
1769
1770 CMakeLists.txt              | 2 +-
1771 cmake/tuklib_cpucores.cmake | 4 ++--
1772 cmake/tuklib_physmem.cmake  | 4 ++--
1773 3 files changed, 5 insertions(+), 5 deletions(-)
1774
1775commit 8f7d3345a7c31a20a544dc04232715b1bcdc91f7
1776Author: Lasse Collin <lasse.collin@tukaani.org>
1777Date:   2020-11-01 22:56:43 +0200
1778
1779    Update THANKS.
1780
1781 THANKS | 4 +++-
1782 1 file changed, 3 insertions(+), 1 deletion(-)
1783
1784commit ca7bcdb30f14e7cd66fe357d10046442eee648a0
1785Author: Lasse Collin <lasse.collin@tukaani.org>
1786Date:   2020-11-01 22:34:25 +0200
1787
1788    xz: Avoid unneeded \f escapes on the man page.
1789
1790    I don't want to use \c in macro arguments but groff_man(7)
1791    suggests that \f has better portability. \f would be needed
1792    for the .TP strings for portability reasons anyway.
1793
1794    Thanks to Bjarni Ingi Gislason.
1795
1796 src/xz/xz.1 | 31 ++++++++++++++++++++++---------
1797 1 file changed, 22 insertions(+), 9 deletions(-)
1798
1799commit 3b40a0792ee5ba0dd4d9ab129b4443585bbfdd14
1800Author: Lasse Collin <lasse.collin@tukaani.org>
1801Date:   2020-11-01 19:09:53 +0200
1802
1803    xz: Use non-breaking spaces when intentionally using more than one space.
1804
1805    This silences some style checker warnings. Seems that spaces
1806    in the beginning of a line don't need this treatment.
1807
1808    Thanks to Bjarni Ingi Gislason.
1809
1810 src/xz/xz.1 | 2 +-
1811 1 file changed, 1 insertion(+), 1 deletion(-)
1812
1813commit d85699c36df5f839b82800a6e63151eff25677eb
1814Author: Lasse Collin <lasse.collin@tukaani.org>
1815Date:   2020-11-01 18:49:37 +0200
1816
1817    xz: Protect the ellipsis (...) on the man page with \&.
1818
1819    This does it only when ... appears outside macro calls.
1820
1821    Thanks to Bjarni Ingi Gislason.
1822
1823 src/xz/xz.1 | 4 ++--
1824 1 file changed, 2 insertions(+), 2 deletions(-)
1825
1826commit d996ae66176206de9b4d485b250a88b2d9ded151
1827Author: Lasse Collin <lasse.collin@tukaani.org>
1828Date:   2020-11-01 18:41:21 +0200
1829
1830    xz: Avoid the abbreviation "e.g." on the man page.
1831
1832    A few are simply omitted, most are converted to "for example"
1833    and surrounded with commas. Sounds like that this is better
1834    style, for example, man-pages(7) recommends avoiding such
1835    abbreviations except in parenthesis.
1836
1837    Thanks to Bjarni Ingi Gislason.
1838
1839 src/xz/xz.1 | 66 ++++++++++++++++++++++++++++++-------------------------------
1840 1 file changed, 33 insertions(+), 33 deletions(-)
1841
1842commit d16d0d198ade6820ed9d39ba6a7068b55b8bf6dc
1843Author: Lasse Collin <lasse.collin@tukaani.org>
1844Date:   2020-07-12 23:10:03 +0300
1845
1846    xz man page: Change \- (minus) to \(en (en-dash) for a numeric range.
1847
1848    Docs of ancient troff/nroff mention \(em (em-dash) but not \(en
1849    and \- was used for both minus and en-dash. I don't know how
1850    portable \(en is nowadays but it can be changed back if someone
1851    complains. At least GNU groff and OpenBSD's mandoc support it.
1852
1853    Thanks to Bjarni Ingi Gislason for the patch.
1854
1855 src/xz/xz.1 | 16 ++++++++--------
1856 1 file changed, 8 insertions(+), 8 deletions(-)
1857
1858commit 3acf1adfc768c7d2290e138bcb1109145e4d8160
1859Author: Lasse Collin <lasse.collin@tukaani.org>
1860Date:   2020-07-12 20:46:24 +0300
1861
1862    Windows: Fix building of resource files when config.h isn't used.
1863
1864    Now CMake + Visual Studio works for building liblzma.dll.
1865
1866    Thanks to Markus Rickert.
1867
1868 src/common/common_w32res.rc | 4 +++-
1869 1 file changed, 3 insertions(+), 1 deletion(-)
1870
1871commit adba06e649875b45b5b671f5ab45f694144938d4
1872Author: Lasse Collin <lasse.collin@tukaani.org>
1873Date:   2020-04-06 19:31:50 +0300
1874
1875    src/scripts/xzgrep.1: Filenames to xzgrep are optional.
1876
1877    xzgrep --help was correct already.
1878
1879 src/scripts/xzgrep.1 | 2 +-
1880 1 file changed, 1 insertion(+), 1 deletion(-)
1881
1882commit 7be1dcf8585e150bffb57a6ad499a63edd0d3494
1883Author: Lasse Collin <lasse.collin@tukaani.org>
1884Date:   2022-07-12 17:59:41 +0300
1885
1886    Translations: Add Portuguese translation.
1887
1888    Jia Tan made white-space changes and also changed "Language: pt_BR\n"
1889    to pt. The translator wasn't reached so I'm hoping these changes
1890    are OK and will commit it without translator's approval.
1891
1892    Thanks to Pedro Albuquerque and Jia Tan.
1893
1894 po/LINGUAS |    1 +
1895 po/pt.po   | 1001 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1896 2 files changed, 1002 insertions(+)
1897
1898commit 3f94d2a568290bf770a762ee69403955fdb0a228
1899Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1900Date:   2020-03-26 22:17:31 +0000
1901
1902    src/script/xzgrep.1: Remove superfluous '.RB'
1903
1904    Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z
1905
1906      [ "test-groff" is a developmental version of "groff" ]
1907
1908    Input file is ./src/scripts/xzgrep.1
1909
1910    <src/scripts/xzgrep.1>:20 (macro RB): only 1 argument, but more are expected
1911    <src/scripts/xzgrep.1>:23 (macro RB): only 1 argument, but more are expected
1912    <src/scripts/xzgrep.1>:26 (macro RB): only 1 argument, but more are expected
1913    <src/scripts/xzgrep.1>:29 (macro RB): only 1 argument, but more are expected
1914    <src/scripts/xzgrep.1>:32 (macro RB): only 1 argument, but more are expected
1915
1916     "abc..." does not mean the same as "abc ...".
1917
1918      The output from nroff and troff is unchanged except for the space
1919    between "file" and "...".
1920
1921    Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1922
1923 src/scripts/xzgrep.1 | 12 ++++++------
1924 1 file changed, 6 insertions(+), 6 deletions(-)
1925
1926commit 725d9791c90b7cef19a3ab4d7469b567101c2a87
1927Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1928Date:   2020-03-30 21:56:36 +0000
1929
1930    xzgrep.1: Delete superfluous '.PP'
1931
1932    Summary:
1933
1934    mandoc -T lint xzgrep.1 :
1935    mandoc: xzgrep.1:79:2: WARNING: skipping paragraph macro: PP empty
1936
1937      There is no change in the output of "nroff" and "troff".
1938
1939    Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1940
1941 src/scripts/xzgrep.1 | 1 -
1942 1 file changed, 1 deletion(-)
1943
1944commit 55c2555c5d420e9251a97828022e5c8c4d786dac
1945Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1946Date:   2020-03-26 21:16:18 +0000
1947
1948    src/xz/xz.1: Correct misused two-fonts macros
1949
1950    Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z
1951
1952      [ "test-groff" is a developmental version of "groff" ]
1953
1954    Input file is ./src/xz/xz.1
1955
1956    <src/xz/xz.1>:408 (macro BR): only 1 argument, but more are expected
1957    <src/xz/xz.1>:1009 (macro BR): only 1 argument, but more are expected
1958    <src/xz/xz.1>:1743 (macro BR): only 1 argument, but more are expected
1959    <src/xz/xz.1>:1920 (macro BR): only 1 argument, but more are expected
1960    <src/xz/xz.1>:2213 (macro BR): only 1 argument, but more are expected
1961
1962      Output from nroff and troff is unchanged, except for a font change of a
1963    full stop (.).
1964
1965    Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
1966
1967 src/xz/xz.1 | 10 +++++-----
1968 1 file changed, 5 insertions(+), 5 deletions(-)
1969
1970commit 55e3a8e0e437279223c108085dccddc60b06036c
1971Author: Lasse Collin <lasse.collin@tukaani.org>
1972Date:   2022-07-10 21:16:40 +0300
1973
1974    Translations: Add Serbian translation.
1975
1976    Quite a few white-space changes were made by Jia Tan to make
1977    this look good. Contacting the translator didn't succeed so
1978    I'm committing this without getting translator's approval.
1979
1980    Thanks to Мирослав Николић (Miroslav Nikolic) and Jia Tan.
1981
1982 po/LINGUAS |   1 +
1983 po/sr.po   | 987 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1984 2 files changed, 988 insertions(+)
1985
1986commit 4e04279cbe8c1af25dde42ebf740722deded27a0
1987Author: Lasse Collin <lasse.collin@tukaani.org>
1988Date:   2022-07-04 23:51:36 +0300
1989
1990    Translations: Add Swedish translation.
1991
1992    Thanks to Sebastian Rasmussen and Jia Tan.
1993
1994 po/LINGUAS |   1 +
1995 po/sv.po   | 983 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1996 2 files changed, 984 insertions(+)
1997
1998commit 27f55e96b0cdae3fc51b409663b6c017a88ea8bc
1999Author: Lasse Collin <lasse.collin@tukaani.org>
2000Date:   2022-07-04 23:40:27 +0300
2001
2002    Translations: Add Esperanto translation.
2003
2004    Thanks to Keith Bowes and Jia Tan.
2005
2006 po/LINGUAS |   1 +
2007 po/eo.po   | 984 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2008 2 files changed, 985 insertions(+)
2009
2010commit be31be9e8f12cf6fce4be1ab822660ad411e803b
2011Author: Lasse Collin <lasse.collin@tukaani.org>
2012Date:   2022-07-01 00:22:33 +0300
2013
2014    Translations: Add Catalan translation.
2015
2016    Thanks to Jordi Mas and Jia Tan.
2017
2018 po/LINGUAS |    1 +
2019 po/ca.po   | 1076 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2020 2 files changed, 1077 insertions(+)
2021
2022commit 30e3ad040f4e7ba1a0e97179d6fd62a1201c863b
2023Author: Lasse Collin <lasse.collin@tukaani.org>
2024Date:   2022-06-30 17:47:08 +0300
2025
2026    Translations: Add Ukrainian translation.
2027
2028    Thanks to Yuri Chornoivan and Jia Tan.
2029
2030 po/LINGUAS |   1 +
2031 po/uk.po   | 996 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2032 2 files changed, 997 insertions(+)
2033
2034commit f2e2cce49f7b07e8985ba6add4b4ca79b22eddd0
2035Author: Lasse Collin <lasse.collin@tukaani.org>
2036Date:   2022-06-30 17:45:26 +0300
2037
2038    Translators: Add Romanian translation.
2039
2040    Thanks to Remus-Gabriel Chelu and Jia Tan.
2041
2042 po/LINGUAS |    1 +
2043 po/ro.po   | 1016 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2044 2 files changed, 1017 insertions(+)
2045
2046commit a12fd5bad2aa922c9b4cf96d16632696f3e0584e
2047Author: Lasse Collin <lasse.collin@tukaani.org>
2048Date:   2022-06-29 18:33:32 +0300
2049
2050    Translations: Update Brazilian Portuguese translation.
2051
2052    One msgstr was changed. The diff is long due to changes
2053    in the source code line numbers in the comments.
2054
2055    Thanks to Rafael Fontenelle.
2056
2057 po/pt_BR.po | 186 ++++++++++++++++++++++++++++++------------------------------
2058 1 file changed, 92 insertions(+), 94 deletions(-)
2059
2060commit dd713288d27a0d64426d74effe9187087496333c
2061Author: Lasse Collin <lasse.collin@tukaani.org>
2062Date:   2022-06-29 18:04:44 +0300
2063
2064    Translations: Add Croatian translation.
2065
2066    Thanks to Božidar Putanec and Jia Tan.
2067
2068 po/LINGUAS |   1 +
2069 po/hr.po   | 987 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2070 2 files changed, 988 insertions(+)
2071
2072commit 016980f26974623a4bcd889b6ba5a0caa4b2f57f
2073Author: Lasse Collin <lasse.collin@tukaani.org>
2074Date:   2022-06-29 17:58:48 +0300
2075
2076    Translations: Add Spanish translation.
2077
2078    Thanks to Cristian Othón Martínez Vera and Jia Tan.
2079
2080 po/LINGUAS |   1 +
2081 po/es.po   | 984 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2082 2 files changed, 985 insertions(+)
2083
2084commit 4fe9578c3aab21e6ceb8f0ea470bc87821f5907f
2085Author: Lasse Collin <lasse.collin@tukaani.org>
2086Date:   2022-06-29 17:49:43 +0300
2087
2088    Translations: Add Korean translation.
2089
2090    Thanks to Seong-ho Cho and Jia Tan.
2091
2092 po/LINGUAS |   1 +
2093 po/ko.po   | 972 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2094 2 files changed, 973 insertions(+)
2095
2096commit cf1ec5518e6e3d89f57685ac83b81ab228e48bcd
2097Author: Lasse Collin <lasse.collin@tukaani.org>
2098Date:   2020-03-23 18:09:40 +0200
2099
2100    v5.2-specific typo fix from fossies.org.
2101
2102 README | 2 +-
2103 1 file changed, 1 insertion(+), 1 deletion(-)
2104
2105commit 968bbfea09447a4f52e856bb97301aca80e40dcb
2106Author: Lasse Collin <lasse.collin@tukaani.org>
2107Date:   2020-03-23 18:07:50 +0200
2108
2109    Typo fixes from fossies.org.
2110
2111    https://fossies.org/linux/misc/xz-5.2.5.tar.xz/codespell.html
2112
2113 Makefile.am                     | 2 +-
2114 doc/examples/01_compress_easy.c | 2 +-
2115 src/liblzma/api/lzma/base.h     | 2 +-
2116 src/liblzma/check/crc32_x86.S   | 2 +-
2117 src/liblzma/common/index.c      | 2 +-
2118 src/xz/xz.1                     | 4 ++--
2119 6 files changed, 7 insertions(+), 7 deletions(-)
2120
2121commit 2327a461e1afce862c22269b80d3517801103c1b
2122Author: Lasse Collin <lasse.collin@tukaani.org>
2123Date:   2020-03-17 16:27:42 +0200
2124
2125    Bump version and soname for 5.2.5.
2126
2127 src/liblzma/Makefile.am        | 2 +-
2128 src/liblzma/api/lzma/version.h | 2 +-
2129 2 files changed, 2 insertions(+), 2 deletions(-)
2130
2131commit 3be82d2f7dc882258caf0f0a69214e5916b2bdda
2132Author: Lasse Collin <lasse.collin@tukaani.org>
2133Date:   2020-03-17 16:26:04 +0200
2134
2135    Update NEWS for 5.2.5.
2136
2137 NEWS | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2138 1 file changed, 105 insertions(+)
2139
2140commit ab3e57539c7337f0653b13b75dbc5d03ade9700e
2141Author: Lasse Collin <lasse.collin@tukaani.org>
2142Date:   2020-03-16 21:57:21 +0200
2143
2144    Translations: Rebuild cs.po to avoid incorrect fuzzy strings.
2145
2146    "make dist" updates the .po files and the fuzzy strings would
2147    result in multiple very wrong translations.
2148
2149 po/cs.po | 592 ++++++++++++++++++++++++++++++++++-----------------------------
2150 1 file changed, 322 insertions(+), 270 deletions(-)
2151
2152commit 3a6f38309dc5d44d8a63ebb337b6b2028561c93e
2153Author: Lasse Collin <lasse.collin@tukaani.org>
2154Date:   2020-03-16 20:01:37 +0200
2155
2156    README: Update outdated sections.
2157
2158 README | 21 +++++++++++----------
2159 1 file changed, 11 insertions(+), 10 deletions(-)
2160
2161commit 9cc0901798217e258e91c13cf6fda7ad42ba108c
2162Author: Lasse Collin <lasse.collin@tukaani.org>
2163Date:   2020-03-16 19:46:27 +0200
2164
2165    README: Mention that translatable strings will change after 5.2.x.
2166
2167 README | 74 +++---------------------------------------------------------------
2168 1 file changed, 3 insertions(+), 71 deletions(-)
2169
2170commit cc163574249f6a4a66f3dc09d6fe5a71bee24fab
2171Author: Lasse Collin <lasse.collin@tukaani.org>
2172Date:   2020-03-16 19:39:45 +0200
2173
2174    README: Mention that man pages can be translated.
2175
2176 README | 7 ++++---
2177 1 file changed, 4 insertions(+), 3 deletions(-)
2178
2179commit ca261994edc3f2d03d5589c037171c63471ee9dc
2180Author: Lasse Collin <lasse.collin@tukaani.org>
2181Date:   2020-03-16 17:30:39 +0200
2182
2183    Translations: Add partial Danish translation.
2184
2185    I made a few minor white space changes without getting them
2186    approved by the Danish translation team.
2187
2188 po/LINGUAS |   1 +
2189 po/da.po   | 896 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2190 2 files changed, 897 insertions(+)
2191
2192commit 51cd5d051fc730d61411dee292e863582784e189
2193Author: Lasse Collin <lasse.collin@tukaani.org>
2194Date:   2020-03-16 16:43:29 +0200
2195
2196    Update INSTALL.generic from Automake 1.16.1.
2197
2198 INSTALL.generic | 321 ++++++++++++++++++++++++++++----------------------------
2199 1 file changed, 162 insertions(+), 159 deletions(-)
2200
2201commit 69d694e5f1beae2bbfa3b6c348ec0ec5f14b5cd0
2202Author: Lasse Collin <lasse.collin@tukaani.org>
2203Date:   2020-03-15 15:27:22 +0200
2204
2205    Update INSTALL for Windows and DOS and add preliminary info for z/OS.
2206
2207 INSTALL | 51 +++++++++++++++++++++++++++++++++++++++++----------
2208 1 file changed, 41 insertions(+), 10 deletions(-)
2209
2210commit 2c3b1bb80a3ca7e09728fe4d7a1d8648a5cb9bca
2211Author: Lasse Collin <lasse.collin@tukaani.org>
2212Date:   2020-03-15 15:26:20 +0200
2213
2214    Build: Update m4/ax_pthread.m4 from Autoconf Archive (again).
2215
2216 m4/ax_pthread.m4 | 219 +++++++++++++++++++++++++++++--------------------------
2217 1 file changed, 117 insertions(+), 102 deletions(-)
2218
2219commit 74a5af180a6a6c4b8c90cefb37ee900d3fea7dc6
2220Author: Lasse Collin <lasse.collin@tukaani.org>
2221Date:   2020-03-11 21:15:35 +0200
2222
2223    xz: Never use thousand separators in DJGPP builds.
2224
2225    DJGPP 2.05 added support for thousands separators but it's
2226    broken at least under WinXP with Finnish locale that uses
2227    a non-breaking space as the thousands separator. Workaround
2228    by disabling thousands separators for DJGPP builds.
2229
2230 src/xz/util.c | 14 ++++++++++++--
2231 1 file changed, 12 insertions(+), 2 deletions(-)
2232
2233commit ceba0d25e826bcdbf64bb4cb03385a2a66f8cbcb
2234Author: Lasse Collin <lasse.collin@tukaani.org>
2235Date:   2020-03-11 19:38:08 +0200
2236
2237    DOS: Update dos/Makefile for DJGPP 2.05.
2238
2239    It doesn't need -fgnu89-inline like 2.04beta did.
2240
2241 dos/Makefile | 4 +---
2242 1 file changed, 1 insertion(+), 3 deletions(-)
2243
2244commit 29e5bd71612253281fb22bbaa0a566990a74dcc3
2245Author: Lasse Collin <lasse.collin@tukaani.org>
2246Date:   2020-03-11 19:36:07 +0200
2247
2248    DOS: Update instructions in dos/INSTALL.txt.
2249
2250 dos/INSTALL.txt | 59 ++++++++++++++++++++++++++++-----------------------------
2251 1 file changed, 29 insertions(+), 30 deletions(-)
2252
2253commit 00a037ee9c8ee5a03cf9744e05570ae93d56b875
2254Author: Lasse Collin <lasse.collin@tukaani.org>
2255Date:   2020-03-11 17:58:51 +0200
2256
2257    DOS: Update config.h.
2258
2259    The added defines assume GCC >= 4.8.
2260
2261 dos/config.h | 8 ++++++++
2262 1 file changed, 8 insertions(+)
2263
2264commit 4ec2feaefa310b4249eb41893caf526e5c51ee39
2265Author: Lasse Collin <lasse.collin@tukaani.org>
2266Date:   2020-03-11 22:37:54 +0200
2267
2268    Translations: Add hu, zh_CN, and zh_TW.
2269
2270    I made a few white space changes to these without getting them
2271    approved by the translation teams. (I tried to contact the hu and
2272    zh_TW teams but didn't succeed. I didn't contact the zh_CN team.)
2273
2274 po/LINGUAS  |   3 +
2275 po/hu.po    | 985 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2276 po/zh_CN.po | 963 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2277 po/zh_TW.po | 956 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2278 4 files changed, 2907 insertions(+)
2279
2280commit b6ed09729ae408be4533a0ddbc7df3d6f566846a
2281Author: Lasse Collin <lasse.collin@tukaani.org>
2282Date:   2020-03-11 14:33:30 +0200
2283
2284    Translations: Update vi.po to match the file from the TP.
2285
2286    The translated strings haven't been updated but word wrapping
2287    is different.
2288
2289 po/vi.po | 407 ++++++++++++++++++++++++++++-----------------------------------
2290 1 file changed, 179 insertions(+), 228 deletions(-)
2291
2292commit 7c85e8953ced204c858101872a15183e4639e9fb
2293Author: Lasse Collin <lasse.collin@tukaani.org>
2294Date:   2020-03-11 14:18:03 +0200
2295
2296    Translations: Add fi and pt_BR, and update de, fr, it, and pl.
2297
2298    The German translation isn't identical to the file in
2299    the Translation Project but the changes (white space changes
2300    only) were approved by the translator Mario Blättermann.
2301
2302 po/LINGUAS  |    2 +
2303 po/de.po    |  476 ++++++++++++++--------------
2304 po/fi.po    |  974 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2305 po/fr.po    |  272 ++++++++--------
2306 po/it.po    |  479 ++++++++++++----------------
2307 po/pl.po    |  239 +++++++-------
2308 po/pt_BR.po | 1001 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2309 7 files changed, 2697 insertions(+), 746 deletions(-)
2310
2311commit 7da3ebc67fb5414034685ec16c7a29dad03dfa9b
2312Author: Lasse Collin <lasse.collin@tukaani.org>
2313Date:   2020-02-25 21:35:14 +0200
2314
2315    Update THANKS.
2316
2317 THANKS | 1 +
2318 1 file changed, 1 insertion(+)
2319
2320commit 1acc48794364606c9091cae6fa56db75a1325114
2321Author: Lasse Collin <lasse.collin@tukaani.org>
2322Date:   2020-03-11 13:05:29 +0200
2323
2324    Build: Add very limited experimental CMake support.
2325
2326    This version matches CMake files in the master branch (commit
2327    265daa873c0d871f5f23f9b56e133a6f20045a0a) except that this omits
2328    two source files that aren't in v5.2 and in the beginning of
2329    CMakeLists.txt the first paragraph in the comment is slightly
2330    different to point out possible issues in building shared liblzma.
2331
2332 CMakeLists.txt              | 659 ++++++++++++++++++++++++++++++++++++++++++++
2333 cmake/tuklib_common.cmake   |  49 ++++
2334 cmake/tuklib_cpucores.cmake | 175 ++++++++++++
2335 cmake/tuklib_integer.cmake  | 102 +++++++
2336 cmake/tuklib_mbstr.cmake    |  20 ++
2337 cmake/tuklib_physmem.cmake  | 150 ++++++++++
2338 cmake/tuklib_progname.cmake |  19 ++
2339 7 files changed, 1174 insertions(+)
2340
2341commit 9acc6abea1552803c74c1486fbb10af119550772
2342Author: Lasse Collin <lasse.collin@tukaani.org>
2343Date:   2020-02-27 20:24:27 +0200
2344
2345    Build: Add support for --no-po4a option to autogen.sh.
2346
2347    Normally, if po4a isn't available, autogen.sh will return
2348    with non-zero exit status. The option --no-po4a can be useful
2349    when one knows that po4a isn't available but wants autogen.sh
2350    to still return with zero exit status.
2351
2352 autogen.sh | 11 ++++++++++-
2353 1 file changed, 10 insertions(+), 1 deletion(-)
2354
2355commit c8853b31545db7bd0551be85949624b1261efd47
2356Author: Lasse Collin <lasse.collin@tukaani.org>
2357Date:   2020-02-24 23:37:07 +0200
2358
2359    Update m4/.gitignore.
2360
2361 m4/.gitignore | 1 +
2362 1 file changed, 1 insertion(+)
2363
2364commit 901eb4a8c992354c3ea482f5bad60a1f8ad6fcc8
2365Author: Lasse Collin <lasse.collin@tukaani.org>
2366Date:   2020-02-24 23:01:00 +0200
2367
2368    liblzma: Remove unneeded <sys/types.h> from fastpos_tablegen.c.
2369
2370    This file only generates fastpos_table.c.
2371    It isn't built as a part of liblzma.
2372
2373 src/liblzma/lzma/fastpos_tablegen.c | 1 -
2374 1 file changed, 1 deletion(-)
2375
2376commit ac35c9585fb734b7a19785d490c152e0b8cd4663
2377Author: Lasse Collin <lasse.collin@tukaani.org>
2378Date:   2020-02-22 14:15:07 +0200
2379
2380    Use defined(__GNUC__) before __GNUC__ in preprocessor lines.
2381
2382    This should silence the equivalent of -Wundef in compilers that
2383    don't define __GNUC__.
2384
2385 src/common/sysdefs.h   | 3 ++-
2386 src/liblzma/api/lzma.h | 5 +++--
2387 2 files changed, 5 insertions(+), 3 deletions(-)
2388
2389commit fb9cada7cfade1156d6277717280e05b5cd342d6
2390Author: Lasse Collin <lasse.collin@tukaani.org>
2391Date:   2020-02-21 17:40:02 +0200
2392
2393    liblzma: Add more uses of lzma_memcmplen() to the normal mode of LZMA.
2394
2395    This gives a tiny encoder speed improvement. This could have been done
2396    in 2014 after the commit 544aaa3d13554e8640f9caf7db717a96360ec0f6 but
2397    it was forgotten.
2398
2399 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 16 ++++++++++------
2400 1 file changed, 10 insertions(+), 6 deletions(-)
2401
2402commit 6117955af0b9cef5acde7859e86f773692b5f43c
2403Author: Lasse Collin <lasse.collin@tukaani.org>
2404Date:   2020-02-21 17:01:15 +0200
2405
2406    Build: Add visibility.m4 from gnulib.
2407
2408    Appears that this file used to get included as a side effect of
2409    gettext. After the change to gettext version requirements this file
2410    no longer got copied to the package and so the build was broken.
2411
2412 m4/.gitignore    |  1 -
2413 m4/visibility.m4 | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2414 2 files changed, 77 insertions(+), 1 deletion(-)
2415
2416commit c2cc64d78c098834231f9cfd7d852c9cd8950d74
2417Author: Lasse Collin <lasse.collin@tukaani.org>
2418Date:   2020-02-21 16:10:44 +0200
2419
2420    xz: Silence a warning when sig_atomic_t is long int.
2421
2422    It can be true at least on z/OS.
2423
2424 src/xz/signals.c | 2 +-
2425 1 file changed, 1 insertion(+), 1 deletion(-)
2426
2427commit b6314aa275b35c714e0a191d0b2e9b6106129ea9
2428Author: Lasse Collin <lasse.collin@tukaani.org>
2429Date:   2020-02-21 15:59:26 +0200
2430
2431    xz: Avoid unneeded access of a volatile variable.
2432
2433 src/xz/signals.c | 2 +-
2434 1 file changed, 1 insertion(+), 1 deletion(-)
2435
2436commit f772a1572f723e5dc7d2d32e1d4287ac7a0da55e
2437Author: Lasse Collin <lasse.collin@tukaani.org>
2438Date:   2020-02-21 01:24:18 +0200
2439
2440    tuklib_integer.m4: Optimize the check order.
2441
2442    The __builtin byteswapping is the preferred one so check for it first.
2443
2444 m4/tuklib_integer.m4 | 56 +++++++++++++++++++++++++++-------------------------
2445 1 file changed, 29 insertions(+), 27 deletions(-)
2446
2447commit 641042e63f665f3231c2fd1241fd3dddda3fb313
2448Author: Lasse Collin <lasse.collin@tukaani.org>
2449Date:   2020-02-20 18:54:04 +0200
2450
2451    tuklib_exit: Add missing header.
2452
2453    strerror() needs <string.h> which happened to be included via
2454    tuklib_common.h -> tuklib_config.h -> sysdefs.h if HAVE_CONFIG_H
2455    was defined. This wasn't tested without config.h before so it
2456    had worked fine.
2457
2458 src/common/tuklib_exit.c | 1 +
2459 1 file changed, 1 insertion(+)
2460
2461commit dbd55a69e530fec9ae866aaf6c3ccc0b4daf1f1f
2462Author: Lasse Collin <lasse.collin@tukaani.org>
2463Date:   2020-02-16 11:18:28 +0200
2464
2465    sysdefs.h: Omit the conditionals around string.h and limits.h.
2466
2467    string.h is used unconditionally elsewhere in the project and
2468    configure has always stopped if limits.h is missing, so these
2469    headers must have been always available even on the weirdest
2470    systems.
2471
2472 src/common/sysdefs.h | 8 ++------
2473 1 file changed, 2 insertions(+), 6 deletions(-)
2474
2475commit 9294909861e6d22b32418467e0e988f953a82264
2476Author: Lasse Collin <lasse.collin@tukaani.org>
2477Date:   2020-02-15 15:07:11 +0200
2478
2479    Build: Bump Autoconf and Libtool version requirements.
2480
2481    There is no specific reason for this other than blocking
2482    the most ancient versions. These are still old:
2483
2484    Autoconf 2.69 (2012)
2485    Automake 1.12 (2012)
2486    gettext 0.19.6 (2015)
2487    Libtool 2.4 (2010)
2488
2489 configure.ac | 4 ++--
2490 1 file changed, 2 insertions(+), 2 deletions(-)
2491
2492commit bd09081bbdf552f730030d2fd0e5e39ccb3936af
2493Author: Lasse Collin <lasse.collin@tukaani.org>
2494Date:   2020-02-15 03:08:32 +0200
2495
2496    Build: Use AM_GNU_GETTEXT_REQUIRE_VERSION and require 0.19.6.
2497
2498    This bumps the version requirement from 0.19 (from 2014) to
2499    0.19.6 (2015).
2500
2501    Using only the old AM_GNU_GETTEXT_VERSION results in old
2502    gettext infrastructure being placed in the package. By using
2503    both macros we get the latest gettext files while the other
2504    programs in the Autotools family can still see the old macro.
2505
2506 configure.ac | 6 +++++-
2507 1 file changed, 5 insertions(+), 1 deletion(-)
2508
2509commit 1e5e08d86534aec7ca957982c7f6e90203c19e9f
2510Author: Lasse Collin <lasse.collin@tukaani.org>
2511Date:   2020-02-14 20:42:06 +0200
2512
2513    Translations: Add German translation of the man pages.
2514
2515    Thanks to Mario Blättermann.
2516
2517 po4a/de.po     | 5532 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2518 po4a/po4a.conf |    2 +-
2519 2 files changed, 5533 insertions(+), 1 deletion(-)
2520
2521commit 4b1447809ffbc0d77c0ad456bd6b3afcf0b8623e
2522Author: Lasse Collin <lasse.collin@tukaani.org>
2523Date:   2020-02-07 15:32:21 +0200
2524
2525    Build: Add support for translated man pages using po4a.
2526
2527    The dependency on po4a is optional. It's never required to install
2528    the translated man pages when xz is built from a release tarball.
2529    If po4a is missing when building from xz.git, the translated man
2530    pages won't be generated but otherwise the build will work normally.
2531
2532    The translations are only updated automatically by autogen.sh and
2533    by "make mydist". This makes it easy to keep po4a as an optional
2534    dependency and ensures that I won't forget to put updated
2535    translations to a release tarball.
2536
2537    The translated man pages aren't installed if --disable-nls is used.
2538
2539    The installation of translated man pages abuses Automake internals
2540    by calling "install-man" with redefined dist_man_MANS and man_MANS.
2541    This makes the hairy script code slightly less hairy. If it breaks
2542    some day, this code needs to be fixed; don't blame Automake developers.
2543
2544    Also, this adds more quotes to the existing shell script code in
2545    the Makefile.am "-hook"s.
2546
2547 Makefile.am             |  4 ++++
2548 autogen.sh              |  8 ++++---
2549 po4a/.gitignore         |  2 ++
2550 po4a/po4a.conf          | 14 +++++++++++
2551 po4a/update-po          | 45 ++++++++++++++++++++++++++++++++++
2552 src/scripts/Makefile.am | 64 +++++++++++++++++++++++++++++++++++++------------
2553 src/xz/Makefile.am      | 50 +++++++++++++++++++++++++++-----------
2554 src/xzdec/Makefile.am   | 55 ++++++++++++++++++++++++++++++++----------
2555 8 files changed, 197 insertions(+), 45 deletions(-)
2556
2557commit 882fcfdcd86525cc5c6f6d0bf0230d0089206d13
2558Author: Lasse Collin <lasse.collin@tukaani.org>
2559Date:   2020-02-06 00:04:42 +0200
2560
2561    Update THANKS (sync with the master branch).
2562
2563 THANKS | 3 +++
2564 1 file changed, 3 insertions(+)
2565
2566commit 134bb7765815d5f265eb0bc9e6ebacd9ae4a52bc
2567Author: Lasse Collin <lasse.collin@tukaani.org>
2568Date:   2020-02-05 22:35:06 +0200
2569
2570    Update tests/.gitignore.
2571
2572 .gitignore | 4 ++++
2573 1 file changed, 4 insertions(+)
2574
2575commit 6912472fafb656be8f4c5b4ac9ea28fea3065de4
2576Author: Lasse Collin <lasse.collin@tukaani.org>
2577Date:   2020-02-05 22:28:51 +0200
2578
2579    Update m4/.gitignore.
2580
2581 m4/.gitignore | 1 +
2582 1 file changed, 1 insertion(+)
2583
2584commit 68c60735bbb6e51d4205ba8a9fde307bcfb22f8c
2585Author: Lasse Collin <lasse.collin@tukaani.org>
2586Date:   2020-02-05 20:47:38 +0200
2587
2588    Update THANKS.
2589
2590 THANKS | 1 +
2591 1 file changed, 1 insertion(+)
2592
2593commit e1beaa74bc7cb5a409d59b55870e01ae7784ce3a
2594Author: Lasse Collin <lasse.collin@tukaani.org>
2595Date:   2020-02-05 20:33:50 +0200
2596
2597    xz: Comment out annoying sandboxing messages.
2598
2599 src/xz/file_io.c | 10 +++++++---
2600 1 file changed, 7 insertions(+), 3 deletions(-)
2601
2602commit 8238192652290df78bd728b20e3f6542d1a2819e
2603Author: Lasse Collin <lasse.collin@tukaani.org>
2604Date:   2020-02-05 19:33:37 +0200
2605
2606    Build: Workaround a POSIX shell detection problem on Solaris.
2607
2608    I don't know if the problem is in gnulib's gl_POSIX_SHELL macro
2609    or if xzgrep does something that isn't in POSIX. The workaround
2610    adds a special case for Solaris: if /usr/xpg4/bin/sh exists and
2611    gl_cv_posix_shell wasn't overriden on the configure command line,
2612    use that shell for xzgrep and other scripts. That shell is known
2613    to work and exists on most Solaris systems.
2614
2615 configure.ac | 10 ++++++++++
2616 1 file changed, 10 insertions(+)
2617
2618commit 93a1f61e892e145607dd938e3b30098af19a1672
2619Author: Lasse Collin <lasse.collin@tukaani.org>
2620Date:   2020-02-03 22:03:50 +0200
2621
2622    Build: Update m4/ax_pthread.m4 from Autoconf Archive.
2623
2624 m4/ax_pthread.m4 | 398 ++++++++++++++++++++++++++++++++++++++-----------------
2625 1 file changed, 279 insertions(+), 119 deletions(-)
2626
2627commit d0daa21792ff861e5423bbd82aaa6c8ba9fa0462
2628Author: Lasse Collin <lasse.collin@tukaani.org>
2629Date:   2020-02-01 19:56:18 +0200
2630
2631    xz: Limit --memlimit-compress to at most 4020 MiB for 32-bit xz.
2632
2633    See the code comment for reasoning. It's far from perfect but
2634    hopefully good enough for certain cases while hopefully doing
2635    nothing bad in other situations.
2636
2637    At presets -5 ... -9, 4020 MiB vs. 4096 MiB makes no difference
2638    on how xz scales down the number of threads.
2639
2640    The limit has to be a few MiB below 4096 MiB because otherwise
2641    things like "xz --lzma2=dict=500MiB" won't scale down the dict
2642    size enough and xz cannot allocate enough memory. With
2643    "ulimit -v $((4096 * 1024))" on x86-64, the limit in xz had
2644    to be no more than 4085 MiB. Some safety margin is good though.
2645
2646    This is hack but it should be useful when running 32-bit xz on
2647    a 64-bit kernel that gives full 4 GiB address space to xz.
2648    Hopefully this is enough to solve this:
2649
2650    https://bugzilla.redhat.com/show_bug.cgi?id=1196786
2651
2652    FreeBSD has a patch that limits the result in tuklib_physmem()
2653    to SIZE_MAX on 32-bit systems. While I think it's not the way
2654    to do it, the results on --memlimit-compress have been good. This
2655    commit should achieve practically identical results for compression
2656    while leaving decompression and tuklib_physmem() and thus
2657    lzma_physmem() unaffected.
2658
2659 src/xz/hardware.c | 32 +++++++++++++++++++++++++++++++-
2660 src/xz/xz.1       | 21 ++++++++++++++++++++-
2661 2 files changed, 51 insertions(+), 2 deletions(-)
2662
2663commit 4433c2dc5727ee6aef570e001a5a024e0d94e609
2664Author: Lasse Collin <lasse.collin@tukaani.org>
2665Date:   2020-01-26 20:53:25 +0200
2666
2667    xz: Set the --flush-timeout deadline when the first input byte arrives.
2668
2669    xz --flush-timeout=2000, old version:
2670
2671      1. xz is started. The next flush will happen after two seconds.
2672      2. No input for one second.
2673      3. A burst of a few kilobytes of input.
2674      4. No input for one second.
2675      5. Two seconds have passed and flushing starts.
2676
2677    The first second counted towards the flush-timeout even though
2678    there was no pending data. This can cause flushing to occur more
2679    often than needed.
2680
2681    xz --flush-timeout=2000, after this commit:
2682
2683      1. xz is started.
2684      2. No input for one second.
2685      3. A burst of a few kilobytes of input. The next flush will
2686         happen after two seconds counted from the time when the
2687         first bytes of the burst were read.
2688      4. No input for one second.
2689      5. No input for another second.
2690      6. Two seconds have passed and flushing starts.
2691
2692 src/xz/coder.c   | 6 +-----
2693 src/xz/file_io.c | 6 +++++-
2694 src/xz/mytime.c  | 1 -
2695 3 files changed, 6 insertions(+), 7 deletions(-)
2696
2697commit acc0ef3ac80f18e349c6d0252177707105c0a29c
2698Author: Lasse Collin <lasse.collin@tukaani.org>
2699Date:   2020-01-26 20:19:19 +0200
2700
2701    xz: Move flush_needed from mytime.h to file_pair struct in file_io.h.
2702
2703 src/xz/coder.c   | 3 ++-
2704 src/xz/file_io.c | 3 ++-
2705 src/xz/file_io.h | 3 +++
2706 src/xz/mytime.c  | 3 ---
2707 src/xz/mytime.h  | 4 ----
2708 5 files changed, 7 insertions(+), 9 deletions(-)
2709
2710commit 4afe69d30b66812682a2016ee18441958019cbb2
2711Author: Lasse Collin <lasse.collin@tukaani.org>
2712Date:   2020-01-26 14:49:22 +0200
2713
2714    xz: coder.c: Make writing output a separate function.
2715
2716    The same code sequence repeats so it's nicer as a separate function.
2717    Note that in one case there was no test for opt_mode != MODE_TEST,
2718    but that was only because that condition would always be true, so
2719    this commit doesn't change the behavior there.
2720
2721 src/xz/coder.c | 30 +++++++++++++++++-------------
2722 1 file changed, 17 insertions(+), 13 deletions(-)
2723
2724commit ec26f3ace5f9b260ca91508030f07465ae2f9f78
2725Author: Lasse Collin <lasse.collin@tukaani.org>
2726Date:   2020-01-26 14:13:42 +0200
2727
2728    xz: Fix semi-busy-waiting in xz --flush-timeout.
2729
2730    When input blocked, xz --flush-timeout=1 would wake up every
2731    millisecond and initiate flushing which would have nothing to
2732    flush and thus would just waste CPU time. The fix disables the
2733    timeout when no input has been seen since the previous flush.
2734
2735 src/xz/coder.c   |  4 ++++
2736 src/xz/file_io.c | 15 +++++++++++----
2737 src/xz/file_io.h |  4 ++++
2738 3 files changed, 19 insertions(+), 4 deletions(-)
2739
2740commit 38915703241e69a64f133ff9a02ec9100c6019c6
2741Author: Lasse Collin <lasse.collin@tukaani.org>
2742Date:   2020-01-26 13:47:31 +0200
2743
2744    xz: Refactor io_read() a bit.
2745
2746 src/xz/file_io.c | 17 ++++++++---------
2747 1 file changed, 8 insertions(+), 9 deletions(-)
2748
2749commit f6d24245349cecfae6ec0d2366fa80716c9f6d37
2750Author: Lasse Collin <lasse.collin@tukaani.org>
2751Date:   2020-01-26 13:37:08 +0200
2752
2753    xz: Update a comment in file_io.h.
2754
2755 src/xz/file_io.h | 5 ++++-
2756 1 file changed, 4 insertions(+), 1 deletion(-)
2757
2758commit 15b55d5c63d27f81776edb1abc05872a751fc674
2759Author: Lasse Collin <lasse.collin@tukaani.org>
2760Date:   2020-01-26 13:27:51 +0200
2761
2762    xz: Move the setting of flush_needed in file_io.c to a nicer location.
2763
2764 src/xz/file_io.c | 6 ++----
2765 1 file changed, 2 insertions(+), 4 deletions(-)
2766
2767commit 609c7067859146ffc62ac655f6ba53599c891801
2768Author: Lasse Collin <lasse.collin@tukaani.org>
2769Date:   2020-02-05 19:56:09 +0200
2770
2771    xz: Enable Capsicum sandboxing by default if available.
2772
2773    It has been enabled in FreeBSD for a while and reported to work fine.
2774
2775    Thanks to Xin Li.
2776
2777 INSTALL      | 6 ------
2778 configure.ac | 8 ++++----
2779 2 files changed, 4 insertions(+), 10 deletions(-)
2780
2781commit 00517d125cc26ecece0eebb84c1c3975cd19bee0
2782Author: Lasse Collin <lasse.collin@tukaani.org>
2783Date:   2019-12-31 22:41:45 +0200
2784
2785    Rename unaligned_read32ne to read32ne, and similarly for the others.
2786
2787 src/common/tuklib_integer.h               | 64 +++++++++++++++----------------
2788 src/liblzma/common/alone_encoder.c        |  2 +-
2789 src/liblzma/common/block_header_decoder.c |  2 +-
2790 src/liblzma/common/block_header_encoder.c |  2 +-
2791 src/liblzma/common/memcmplen.h            |  9 ++---
2792 src/liblzma/common/stream_flags_decoder.c |  6 +--
2793 src/liblzma/common/stream_flags_encoder.c |  8 ++--
2794 src/liblzma/lz/lz_encoder_hash.h          |  2 +-
2795 src/liblzma/lzma/lzma_decoder.c           |  2 +-
2796 src/liblzma/lzma/lzma_encoder.c           |  2 +-
2797 src/liblzma/lzma/lzma_encoder_private.h   |  3 +-
2798 src/liblzma/simple/simple_decoder.c       |  2 +-
2799 src/liblzma/simple/simple_encoder.c       |  2 +-
2800 tests/test_block_header.c                 |  4 +-
2801 tests/test_stream_flags.c                 |  6 +--
2802 15 files changed, 54 insertions(+), 62 deletions(-)
2803
2804commit 52d89d8443c4a31a69c0701062f2c7711d82bbed
2805Author: Lasse Collin <lasse.collin@tukaani.org>
2806Date:   2019-12-31 00:29:48 +0200
2807
2808    Rename read32ne to aligned_read32ne, and similarly for the others.
2809
2810    Using the aligned methods requires more care to ensure that
2811    the address really is aligned, so it's nicer if the aligned
2812    methods are prefixed. The next commit will remove the unaligned_
2813    prefix from the unaligned methods which in liblzma are used in
2814    more places than the aligned ones.
2815
2816 src/common/tuklib_integer.h    | 56 +++++++++++++++++++++---------------------
2817 src/liblzma/check/crc32_fast.c |  4 +--
2818 src/liblzma/check/crc64_fast.c |  4 +--
2819 3 files changed, 32 insertions(+), 32 deletions(-)
2820
2821commit 850620468b57d49f16093e5870d1050886fcb37a
2822Author: Lasse Collin <lasse.collin@tukaani.org>
2823Date:   2019-12-31 00:18:24 +0200
2824
2825    Revise tuklib_integer.h and .m4.
2826
2827    Add a configure option --enable-unsafe-type-punning to get the
2828    old non-conforming memory access methods. It can be useful with
2829    old compilers or in some other less typical situations but
2830    shouldn't normally be used.
2831
2832    Omit the packed struct trick for unaligned access. While it's
2833    best in some cases, this is simpler. If the memcpy trick doesn't
2834    work, one can request unsafe type punning from configure.
2835
2836    Because CRC32/CRC64 code needs fast aligned reads, if no very
2837    safe way to do it is found, type punning is used as a fallback.
2838    This sucks but since it currently works in practice, it seems to
2839    be the least bad option. It's never needed with GCC >= 4.7 or
2840    Clang >= 3.6 since these support __builtin_assume_aligned and
2841    thus fast aligned access can be done with the memcpy trick.
2842
2843    Other things:
2844      - Support GCC/Clang __builtin_bswapXX
2845      - Cleaner bswap fallback macros
2846      - Minor cleanups
2847
2848 m4/tuklib_integer.m4        |  43 ++++
2849 src/common/tuklib_integer.h | 488 ++++++++++++++++++++++++--------------------
2850 2 files changed, 314 insertions(+), 217 deletions(-)
2851
2852commit a45badf0342666462cc6a7107a071418570ab773
2853Author: Lasse Collin <lasse.collin@tukaani.org>
2854Date:   2019-12-29 22:51:58 +0200
2855
2856    Tests: Hopefully fix test_check.c to work on EBCDIC systems.
2857
2858    Thanks to Daniel Richard G.
2859
2860 tests/test_check.c | 9 +++++++--
2861 1 file changed, 7 insertions(+), 2 deletions(-)
2862
2863commit c9a8071e6690a8db8a485c075920df254e7c70ea
2864Author: Lasse Collin <lasse.collin@tukaani.org>
2865Date:   2019-09-24 23:02:40 +0300
2866
2867    Scripts: Put /usr/xpg4/bin to the beginning of PATH on Solaris.
2868
2869    This adds a configure option --enable-path-for-scripts=PREFIX
2870    which defaults to empty except on Solaris it is /usr/xpg4/bin
2871    to make POSIX grep and others available. The Solaris case had
2872    been documented in INSTALL with a manual fix but it's better
2873    to do this automatically since it is needed on most Solaris
2874    systems anyway.
2875
2876    Thanks to Daniel Richard G.
2877
2878 INSTALL               | 43 +++++++++++++++++++++++++++++++++++--------
2879 configure.ac          | 26 ++++++++++++++++++++++++++
2880 src/scripts/xzdiff.in |  1 +
2881 src/scripts/xzgrep.in |  1 +
2882 src/scripts/xzless.in |  1 +
2883 src/scripts/xzmore.in |  1 +
2884 6 files changed, 65 insertions(+), 8 deletions(-)
2885
2886commit aba140e2df3ff63ad124ae997de16d517b98ca50
2887Author: Lasse Collin <lasse.collin@tukaani.org>
2888Date:   2019-07-12 18:57:43 +0300
2889
2890    Fix comment typos in tuklib_mbstr* files.
2891
2892 src/common/tuklib_mbstr.h       | 2 +-
2893 src/common/tuklib_mbstr_fw.c    | 2 +-
2894 src/common/tuklib_mbstr_width.c | 2 +-
2895 3 files changed, 3 insertions(+), 3 deletions(-)
2896
2897commit 710f5bd769a5d2bd8684256c2727d15350ee2ab8
2898Author: Lasse Collin <lasse.collin@tukaani.org>
2899Date:   2019-07-12 18:30:46 +0300
2900
2901    Add missing include to tuklib_mbstr_width.c.
2902
2903    It didn't matter in XZ Utils because sysdefs.h
2904    includes string.h anyway.
2905
2906 src/common/tuklib_mbstr_width.c | 1 +
2907 1 file changed, 1 insertion(+)
2908
2909commit 0e491aa8cd72e0100cd15c1b9469cd57fae500b0
2910Author: Lasse Collin <lasse.collin@tukaani.org>
2911Date:   2019-06-25 23:15:21 +0300
2912
2913    liblzma: Fix a buggy comment.
2914
2915 src/liblzma/lz/lz_encoder_mf.c | 2 +-
2916 1 file changed, 1 insertion(+), 1 deletion(-)
2917
2918commit bfc245569f340a75bd71ad32a6beba786712683b
2919Author: Lasse Collin <lasse.collin@tukaani.org>
2920Date:   2019-06-25 00:16:06 +0300
2921
2922    configure.ac: Fix a typo in a comment.
2923
2924 configure.ac | 2 +-
2925 1 file changed, 1 insertion(+), 1 deletion(-)
2926
2927commit f18eee9d15a22c8449ef395a05f0eb637c4ad253
2928Author: Lasse Collin <lasse.collin@tukaani.org>
2929Date:   2019-06-25 00:08:13 +0300
2930
2931    Tests: Silence warnings from clang -Wassign-enum.
2932
2933    Also changed 999 to 99 so it fits even if lzma_check happened
2934    to be 8 bits wide.
2935
2936 tests/test_block_header.c | 3 ++-
2937 tests/test_stream_flags.c | 2 +-
2938 2 files changed, 3 insertions(+), 2 deletions(-)
2939
2940commit 25f74554723e8deabc66fed1abf0ec27a4ed19d5
2941Author: Lasse Collin <lasse.collin@tukaani.org>
2942Date:   2019-06-24 23:52:17 +0300
2943
2944    liblzma: Add a comment.
2945
2946 src/liblzma/common/stream_encoder_mt.c | 2 +-
2947 1 file changed, 1 insertion(+), 1 deletion(-)
2948
2949commit 44eb961f2a51d02420d017bc5ff470360663650c
2950Author: Lasse Collin <lasse.collin@tukaani.org>
2951Date:   2019-06-24 23:45:21 +0300
2952
2953    liblzma: Silence clang -Wmissing-variable-declarations.
2954
2955 src/liblzma/check/crc32_table.c | 3 +++
2956 src/liblzma/check/crc64_table.c | 3 +++
2957 2 files changed, 6 insertions(+)
2958
2959commit 267afcd9955e668c1532b069230c21c348eb4f82
2960Author: Lasse Collin <lasse.collin@tukaani.org>
2961Date:   2019-06-24 22:57:43 +0300
2962
2963    xz: Silence a warning from clang -Wsign-conversion in main.c.
2964
2965 src/xz/main.c | 2 +-
2966 1 file changed, 1 insertion(+), 1 deletion(-)
2967
2968commit 0e3c4002f809311ecef239b05e556d9c462b5703
2969Author: Lasse Collin <lasse.collin@tukaani.org>
2970Date:   2019-06-24 22:47:39 +0300
2971
2972    liblzma: Remove incorrect uses of lzma_attribute((__unused__)).
2973
2974    Caught by clang -Wused-but-marked-unused.
2975
2976 src/liblzma/common/alone_decoder.c | 3 +--
2977 src/liblzma/common/alone_encoder.c | 3 +--
2978 src/liblzma/lz/lz_decoder.c        | 3 +--
2979 3 files changed, 3 insertions(+), 6 deletions(-)
2980
2981commit cb708e8fa3405ec13a0ebfebbbf2793f927deab1
2982Author: Lasse Collin <lasse.collin@tukaani.org>
2983Date:   2019-06-24 20:53:55 +0300
2984
2985    Tests: Silence a warning from -Wsign-conversion.
2986
2987 tests/create_compress_files.c | 8 ++++----
2988 1 file changed, 4 insertions(+), 4 deletions(-)
2989
2990commit c8cace3d6e965c0fb537591372bf71b9357dd76c
2991Author: Lasse Collin <lasse.collin@tukaani.org>
2992Date:   2019-06-24 20:45:49 +0300
2993
2994    xz: Fix an integer overflow with 32-bit off_t.
2995
2996    Or any off_t which isn't very big (like signed 64 bit integer
2997    that most system have). A small off_t could overflow if the
2998    file being decompressed had long enough run of zero bytes,
2999    which would result in corrupt output.
3000
3001 src/xz/file_io.c | 11 +++++++++--
3002 1 file changed, 9 insertions(+), 2 deletions(-)
3003
3004commit 65a42741e290fbcd85dfc5db8a62c4bce5f7712c
3005Author: Lasse Collin <lasse.collin@tukaani.org>
3006Date:   2019-06-24 00:57:23 +0300
3007
3008    Tests: Remove a duplicate branch from tests/tests.h.
3009
3010    The duplication was introduced about eleven years ago and
3011    should have been cleaned up back then already.
3012
3013    This was caught by -Wduplicated-branches.
3014
3015 tests/tests.h | 9 ++-------
3016 1 file changed, 2 insertions(+), 7 deletions(-)
3017
3018commit 5c4fb60e8df026e933afab0cfe0a8b55be20036c
3019Author: Lasse Collin <lasse.collin@tukaani.org>
3020Date:   2019-06-23 23:22:45 +0300
3021
3022    tuklib_mbstr_width: Fix a warning from -Wsign-conversion.
3023
3024 src/common/tuklib_mbstr_width.c | 2 +-
3025 1 file changed, 1 insertion(+), 1 deletion(-)
3026
3027commit 37df03ce52ce53710e1513387648763f8a744154
3028Author: Lasse Collin <lasse.collin@tukaani.org>
3029Date:   2019-06-23 23:19:34 +0300
3030
3031    xz: Fix some of the warnings from -Wsign-conversion.
3032
3033 src/xz/args.c    | 4 ++--
3034 src/xz/coder.c   | 4 ++--
3035 src/xz/file_io.c | 5 +++--
3036 src/xz/message.c | 4 ++--
3037 src/xz/mytime.c  | 4 ++--
3038 src/xz/options.c | 2 +-
3039 src/xz/util.c    | 4 ++--
3040 7 files changed, 14 insertions(+), 13 deletions(-)
3041
3042commit 7c65ae0f5f2e2431f88621e8fe6d1dc7907e30c1
3043Author: Lasse Collin <lasse.collin@tukaani.org>
3044Date:   2019-06-23 22:27:45 +0300
3045
3046    tuklib_cpucores: Silence warnings from -Wsign-conversion.
3047
3048 src/common/tuklib_cpucores.c | 10 +++++-----
3049 1 file changed, 5 insertions(+), 5 deletions(-)
3050
3051commit a502dd1d000b598406637d452f535f4bbd43e2a4
3052Author: Lasse Collin <lasse.collin@tukaani.org>
3053Date:   2019-06-23 21:40:47 +0300
3054
3055    xzdec: Fix warnings from -Wsign-conversion.
3056
3057 src/xzdec/xzdec.c | 2 +-
3058 1 file changed, 1 insertion(+), 1 deletion(-)
3059
3060commit a45d1a5374ceb22e23255b0b595b9e641e9860af
3061Author: Lasse Collin <lasse.collin@tukaani.org>
3062Date:   2019-06-23 21:38:56 +0300
3063
3064    liblzma: Fix warnings from -Wsign-conversion.
3065
3066    Also, more parentheses were added to the literal_subcoder
3067    macro in lzma_comon.h (better style but no functional change
3068    in the current usage).
3069
3070 src/liblzma/common/block_header_decoder.c |  2 +-
3071 src/liblzma/delta/delta_decoder.c         |  2 +-
3072 src/liblzma/lzma/fastpos.h                |  2 +-
3073 src/liblzma/lzma/lzma2_decoder.c          |  8 ++++----
3074 src/liblzma/lzma/lzma_common.h            |  3 ++-
3075 src/liblzma/lzma/lzma_decoder.c           | 16 ++++++++--------
3076 src/liblzma/simple/arm.c                  |  6 +++---
3077 src/liblzma/simple/armthumb.c             |  8 ++++----
3078 src/liblzma/simple/ia64.c                 |  2 +-
3079 src/liblzma/simple/powerpc.c              |  9 +++++----
3080 src/liblzma/simple/x86.c                  |  2 +-
3081 11 files changed, 31 insertions(+), 29 deletions(-)
3082
3083commit 4ff87ddf80ed7cb233444cddd86ab1940b5b55ec
3084Author: Lasse Collin <lasse.collin@tukaani.org>
3085Date:   2019-06-23 19:33:55 +0300
3086
3087    tuklib_integer: Silence warnings from -Wsign-conversion.
3088
3089 src/common/tuklib_integer.h | 6 +++---
3090 1 file changed, 3 insertions(+), 3 deletions(-)
3091
3092commit ed1a9d33984a3a37ae9a775a46859850d98ea4d0
3093Author: Lasse Collin <lasse.collin@tukaani.org>
3094Date:   2019-06-20 19:40:30 +0300
3095
3096    tuklib_integer: Fix usage of conv macros.
3097
3098    Use a temporary variable instead of e.g.
3099    conv32le(unaligned_read32ne(buf)) because the macro can
3100    evaluate its argument multiple times.
3101
3102 src/common/tuklib_integer.h | 12 ++++++++----
3103 1 file changed, 8 insertions(+), 4 deletions(-)
3104
3105commit 612c88dfc08e2c572623954ecfde541d21c84882
3106Author: Lasse Collin <lasse.collin@tukaani.org>
3107Date:   2019-06-03 20:44:19 +0300
3108
3109    Update THANKS.
3110
3111 THANKS | 1 +
3112 1 file changed, 1 insertion(+)
3113
3114commit 85da31d8b882b8b9671ab3e3d74d88bd945cd0bb
3115Author: Lasse Collin <lasse.collin@tukaani.org>
3116Date:   2019-06-03 20:41:54 +0300
3117
3118    liblzma: Fix comments.
3119
3120    Thanks to Bruce Stark.
3121
3122 src/liblzma/common/alone_encoder.c        | 4 ++--
3123 src/liblzma/common/block_util.c           | 2 +-
3124 src/liblzma/common/common.c               | 2 +-
3125 src/liblzma/common/filter_common.h        | 2 +-
3126 src/liblzma/common/filter_decoder.h       | 2 +-
3127 src/liblzma/common/filter_flags_encoder.c | 2 +-
3128 6 files changed, 7 insertions(+), 7 deletions(-)
3129
3130commit 6a73a7889587aa394e236c7e9e4f870b44851036
3131Author: Lasse Collin <lasse.collin@tukaani.org>
3132Date:   2019-06-02 00:50:59 +0300
3133
3134    liblzma: Fix one more unaligned read to use unaligned_read16ne().
3135
3136 src/liblzma/lz/lz_encoder_hash.h | 2 +-
3137 1 file changed, 1 insertion(+), 1 deletion(-)
3138
3139commit ce59b34ec9ac344d62a57cad5f94f695f42cdaee
3140Author: Lasse Collin <lasse.collin@tukaani.org>
3141Date:   2019-06-01 21:41:55 +0300
3142
3143    Update THANKS.
3144
3145 THANKS | 1 +
3146 1 file changed, 1 insertion(+)
3147
3148commit 94aa3fb568fe41dd4925a961966ed5cf8213bd1f
3149Author: Lasse Collin <lasse.collin@tukaani.org>
3150Date:   2019-06-01 21:36:13 +0300
3151
3152    liblzma: memcmplen: Use ctz32() from tuklib_integer.h.
3153
3154    The same compiler-specific #ifdefs are already in tuklib_integer.h
3155
3156 src/liblzma/common/memcmplen.h | 10 +---------
3157 1 file changed, 1 insertion(+), 9 deletions(-)
3158
3159commit 412791486dfb430219d8e30bcbebbfc57a99484a
3160Author: Lasse Collin <lasse.collin@tukaani.org>
3161Date:   2019-06-01 21:30:03 +0300
3162
3163    tuklib_integer: Cleanup MSVC-specific code.
3164
3165 src/common/tuklib_integer.h | 20 +++++++++-----------
3166 1 file changed, 9 insertions(+), 11 deletions(-)
3167
3168commit efbf6e5f0932e6c1a4250f91ee99059f449f2470
3169Author: Lasse Collin <lasse.collin@tukaani.org>
3170Date:   2019-06-01 19:01:21 +0300
3171
3172    liblzma: Use unaligned_readXXne functions instead of type punning.
3173
3174    Now gcc -fsanitize=undefined should be clean.
3175
3176    Thanks to Jeffrey Walton.
3177
3178 src/liblzma/common/memcmplen.h          | 12 ++++++------
3179 src/liblzma/lzma/lzma_encoder_private.h |  2 +-
3180 2 files changed, 7 insertions(+), 7 deletions(-)
3181
3182commit 29afef03486d461c23f57150ac5436684bff7811
3183Author: Lasse Collin <lasse.collin@tukaani.org>
3184Date:   2019-06-01 18:41:16 +0300
3185
3186    tuklib_integer: Improve unaligned memory access.
3187
3188    Now memcpy() or GNU C packed structs for unaligned access instead
3189    of type punning. See the comment in this commit for details.
3190
3191    Avoiding type punning with unaligned access is needed to
3192    silence gcc -fsanitize=undefined.
3193
3194    New functions: unaliged_readXXne and unaligned_writeXXne where
3195    XX is 16, 32, or 64.
3196
3197 src/common/tuklib_integer.h | 180 +++++++++++++++++++++++++++++++++++++++++---
3198 1 file changed, 168 insertions(+), 12 deletions(-)
3199
3200commit 596ed3de4485a4b1d83b5fe506ae9d0a172139b4
3201Author: Lasse Collin <lasse.collin@tukaani.org>
3202Date:   2019-05-13 20:05:17 +0300
3203
3204    liblzma: Avoid memcpy(NULL, foo, 0) because it is undefined behavior.
3205
3206    I should have always known this but I didn't. Here is an example
3207    as a reminder to myself:
3208
3209        int mycopy(void *dest, void *src, size_t n)
3210        {
3211            memcpy(dest, src, n);
3212            return dest == NULL;
3213        }
3214
3215    In the example, a compiler may assume that dest != NULL because
3216    passing NULL to memcpy() would be undefined behavior. Testing
3217    with GCC 8.2.1, mycopy(NULL, NULL, 0) returns 1 with -O0 and -O1.
3218    With -O2 the return value is 0 because the compiler infers that
3219    dest cannot be NULL because it was already used with memcpy()
3220    and thus the test for NULL gets optimized out.
3221
3222    In liblzma, if a null-pointer was passed to memcpy(), there were
3223    no checks for NULL *after* the memcpy() call, so I cautiously
3224    suspect that it shouldn't have caused bad behavior in practice,
3225    but it's hard to be sure, and the problematic cases had to be
3226    fixed anyway.
3227
3228    Thanks to Jeffrey Walton.
3229
3230 src/liblzma/common/common.c       |  6 +++++-
3231 src/liblzma/lz/lz_decoder.c       | 12 +++++++++---
3232 src/liblzma/simple/simple_coder.c | 10 +++++++++-
3233 3 files changed, 23 insertions(+), 5 deletions(-)
3234
3235commit b4b83555c576e1d845a2b98a193b23c021437804
3236Author: Lasse Collin <lasse.collin@tukaani.org>
3237Date:   2019-05-11 20:56:08 +0300
3238
3239    Update THANKS.
3240
3241 THANKS | 1 +
3242 1 file changed, 1 insertion(+)
3243
3244commit 8d4906262b45557ed164cd74adb270e6ef7f6f03
3245Author: Lasse Collin <lasse.collin@tukaani.org>
3246Date:   2019-05-11 20:54:12 +0300
3247
3248    xz: Update xz man page date.
3249
3250 src/xz/xz.1 | 2 +-
3251 1 file changed, 1 insertion(+), 1 deletion(-)
3252
3253commit 0d318402f8a022f707622c72f8f1894ea476cf89
3254Author: Antoine Cœur <antoine.coeur@ef.com>
3255Date:   2019-05-08 13:30:57 +0800
3256
3257    spelling
3258
3259 Doxyfile.in                            | 2 +-
3260 NEWS                                   | 2 +-
3261 src/liblzma/api/lzma/block.h           | 2 +-
3262 src/liblzma/api/lzma/hardware.h        | 2 +-
3263 src/liblzma/api/lzma/lzma12.h          | 2 +-
3264 src/liblzma/api/lzma/vli.h             | 2 +-
3265 src/liblzma/common/hardware_physmem.c  | 2 +-
3266 src/liblzma/common/index.c             | 4 ++--
3267 src/liblzma/common/stream_encoder_mt.c | 2 +-
3268 src/liblzma/common/vli_decoder.c       | 2 +-
3269 src/liblzma/lz/lz_decoder.c            | 2 +-
3270 src/scripts/xzgrep.in                  | 2 +-
3271 src/xz/args.c                          | 2 +-
3272 src/xz/coder.c                         | 4 ++--
3273 src/xz/main.c                          | 2 +-
3274 src/xz/mytime.h                        | 2 +-
3275 src/xz/private.h                       | 2 +-
3276 src/xz/xz.1                            | 2 +-
3277 windows/build.bash                     | 2 +-
3278 19 files changed, 21 insertions(+), 21 deletions(-)
3279
3280commit aeb3be8ac4c4b06a745c3799b80b38159fb78b1a
3281Author: Lasse Collin <lasse.collin@tukaani.org>
3282Date:   2019-03-04 22:49:04 +0200
3283
3284    README: Update translation instructions.
3285
3286    XZ Utils is now part of the Translation Project
3287    <https://translationproject.org/>.
3288
3289 README | 32 +++++++++++++-------------------
3290 1 file changed, 13 insertions(+), 19 deletions(-)
3291
3292commit 0c238dc3feb0a3eea1e713feb8d338c8dfba9f74
3293Author: Lasse Collin <lasse.collin@tukaani.org>
3294Date:   2018-12-20 20:42:29 +0200
3295
3296    Update THANKS.
3297
3298 THANKS | 1 +
3299 1 file changed, 1 insertion(+)
3300
3301commit 3ca432d9cce4bf7e793de173dd22025b68611c42
3302Author: Lasse Collin <lasse.collin@tukaani.org>
3303Date:   2018-12-14 20:34:30 +0200
3304
3305    xz: Fix a crash in progress indicator when in passthru mode.
3306
3307    "xz -dcfv not_an_xz_file" crashed (all four options are
3308    required to trigger it). It caused xz to call
3309    lzma_get_progress(&strm, ...) when no coder was initialized
3310    in strm. In this situation strm.internal is NULL which leads
3311    to a crash in lzma_get_progress().
3312
3313    The bug was introduced when xz started using lzma_get_progress()
3314    to get progress info for multi-threaded compression, so the
3315    bug is present in versions 5.1.3alpha and higher.
3316
3317    Thanks to Filip Palian <Filip.Palian@pjwstk.edu.pl> for
3318    the bug report.
3319
3320 src/xz/coder.c   | 11 +++++++----
3321 src/xz/message.c | 18 ++++++++++++++++--
3322 src/xz/message.h |  3 ++-
3323 3 files changed, 25 insertions(+), 7 deletions(-)
3324
3325commit fcc419e3c3f77a8b6fc5056a86b1b8abbe266e62
3326Author: Lasse Collin <lasse.collin@tukaani.org>
3327Date:   2018-11-22 17:20:31 +0200
3328
3329    xz: Update man page timestamp.
3330
3331 src/xz/xz.1 | 2 +-
3332 1 file changed, 1 insertion(+), 1 deletion(-)
3333
3334commit 5a2fc3cd0194e55df329dd29f805299aaca5f32f
3335Author: Pavel Raiskup <praiskup@redhat.com>
3336Date:   2018-11-22 15:14:34 +0100
3337
3338    'have have' typos
3339
3340 src/xz/signals.c | 2 +-
3341 src/xz/xz.1      | 2 +-
3342 2 files changed, 2 insertions(+), 2 deletions(-)
3343
3344commit 7143b04fe49390807f355b1dad686a3d8c4dbdcf
3345Author: Lasse Collin <lasse.collin@tukaani.org>
3346Date:   2018-07-27 18:10:44 +0300
3347
3348    xzless: Rename unused variables to silence static analysers.
3349
3350    In this particular case I don't see this affecting readability
3351    of the code.
3352
3353    Thanks to Pavel Raiskup.
3354
3355 src/scripts/xzless.in | 2 +-
3356 1 file changed, 1 insertion(+), 1 deletion(-)
3357
3358commit 273c33297bb69621045ed19665eaf8338bcf4a50
3359Author: Lasse Collin <lasse.collin@tukaani.org>
3360Date:   2018-07-27 16:02:58 +0300
3361
3362    liblzma: Remove an always-true condition from lzma_index_cat().
3363
3364    This should help static analysis tools to see that newg
3365    isn't leaked.
3366
3367    Thanks to Pavel Raiskup.
3368
3369 src/liblzma/common/index.c | 4 ++--
3370 1 file changed, 2 insertions(+), 2 deletions(-)
3371
3372commit 65b4aba6d06d2cd24ba9ad01fa389c238ad8f352
3373Author: Lasse Collin <lasse.collin@tukaani.org>
3374Date:   2018-05-19 21:23:25 +0300
3375
3376    liblzma: Improve lzma_properties_decode() API documentation.
3377
3378 src/liblzma/api/lzma/filter.h | 7 ++++---
3379 1 file changed, 4 insertions(+), 3 deletions(-)
3380
3381commit 531e78e5a253a3e2c4d4dd1505acaccee48f4083
3382Author: Lasse Collin <lasse.collin@tukaani.org>
3383Date:   2019-05-01 16:52:36 +0300
3384
3385    Update THANKS.
3386
3387 THANKS | 1 +
3388 1 file changed, 1 insertion(+)
3389
3390commit 905de7e93528ca5a47039e7e1e5270163f9fc67e
3391Author: Lasse Collin <lasse.collin@tukaani.org>
3392Date:   2019-05-01 16:43:16 +0300
3393
3394    Windows: Update VS version in windows/vs2019/config.h.
3395
3396 windows/vs2019/config.h | 2 +-
3397 1 file changed, 1 insertion(+), 1 deletion(-)
3398
3399commit 0ffd30e172fd18cc619823b2a86448bf56a67e22
3400Author: Julien Marrec <julien.marrec@gmail.com>
3401Date:   2019-04-25 17:44:06 +0200
3402
3403    Windows: Upgrade solution itself
3404
3405 windows/vs2019/xz_win.sln | 7 +++++--
3406 1 file changed, 5 insertions(+), 2 deletions(-)
3407
3408commit c2ef96685fc7ca36311649eeb2284b9808292040
3409Author: Julien Marrec <julien.marrec@gmail.com>
3410Date:   2019-04-25 17:40:24 +0200
3411
3412    Windows: Upgrade solution with VS2019
3413
3414 windows/vs2019/liblzma.vcxproj     | 15 ++++++++-------
3415 windows/vs2019/liblzma_dll.vcxproj | 15 ++++++++-------
3416 2 files changed, 16 insertions(+), 14 deletions(-)
3417
3418commit 25fccaf00bea399d8aa026e5b8fa254ce196e6e0
3419Author: Julien Marrec <julien.marrec@gmail.com>
3420Date:   2019-04-25 17:39:32 +0200
3421
3422    Windows: Duplicate windows/vs2017 before upgrading
3423
3424 windows/vs2019/config.h            | 148 ++++++++++++++
3425 windows/vs2019/liblzma.vcxproj     | 354 ++++++++++++++++++++++++++++++++++
3426 windows/vs2019/liblzma_dll.vcxproj | 383 +++++++++++++++++++++++++++++++++++++
3427 windows/vs2019/xz_win.sln          |  48 +++++
3428 4 files changed, 933 insertions(+)
3429
3430commit 1424078d6328291c7c524b64328ce9660617cb24
3431Author: Lasse Collin <lasse.collin@tukaani.org>
3432Date:   2019-01-13 17:29:23 +0200
3433
3434    Windows/VS2017: Omit WindowsTargetPlatformVersion from project files.
3435
3436    I understood that if a WTPV is specified, it's often wrong
3437    because different VS installations have different SDK version
3438    installed. Omitting the WTPV tag makes VS2017 default to
3439    Windows SDK 8.1 which often is also missing, so in any case
3440    people may need to specify the WTPV before building. But some
3441    day in the future a missing WTPV tag will start to default to
3442    the latest installed SDK which sounds reasonable:
3443
3444    https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html
3445
3446    Thanks to "dom".
3447
3448 windows/INSTALL-MSVC.txt           | 4 ++++
3449 windows/vs2017/liblzma.vcxproj     | 1 -
3450 windows/vs2017/liblzma_dll.vcxproj | 1 -
3451 3 files changed, 4 insertions(+), 2 deletions(-)
3452
3453commit b5be61cc06088bb07f488f9baf7d447ff47b37c1
3454Author: Lasse Collin <lasse.collin@tukaani.org>
3455Date:   2018-04-29 19:00:06 +0300
3456
3457    Bump version and soname for 5.2.4.
3458
3459 src/liblzma/Makefile.am        | 2 +-
3460 src/liblzma/api/lzma/version.h | 2 +-
3461 2 files changed, 2 insertions(+), 2 deletions(-)
3462
3463commit c47fa6d06745bb2e99866e76b81ac7a9c5a8bfec
3464Author: Lasse Collin <lasse.collin@tukaani.org>
3465Date:   2018-04-29 18:48:00 +0300
3466
3467    extra/scanlzma: Fix compiler warnings.
3468
3469 extra/scanlzma/scanlzma.c | 6 +++++-
3470 1 file changed, 5 insertions(+), 1 deletion(-)
3471
3472commit 7b350fe21aa4fd6495a3b6188a40e3f1ae7c0edf
3473Author: Lasse Collin <lasse.collin@tukaani.org>
3474Date:   2018-04-29 18:15:37 +0300
3475
3476    Add NEWS for 5.2.4.
3477
3478 NEWS | 27 +++++++++++++++++++++++++++
3479 1 file changed, 27 insertions(+)
3480
3481commit 5801591162a280aa52d156dfde42c531ec7fd8b6
3482Author: Lasse Collin <lasse.collin@tukaani.org>
3483Date:   2018-02-06 19:36:30 +0200
3484
3485    Update THANKS.
3486
3487 THANKS | 2 ++
3488 1 file changed, 2 insertions(+)
3489
3490commit c4a616f4536146f8906e1b4412eefeec07b28fae
3491Author: Ben Boeckel <mathstuf@gmail.com>
3492Date:   2018-01-29 13:58:18 -0500
3493
3494    nothrow: use noexcept for C++11 and newer
3495
3496    In C++11, the `throw()` specifier is deprecated and `noexcept` is
3497    preffered instead.
3498
3499 src/liblzma/api/lzma.h | 6 +++++-
3500 1 file changed, 5 insertions(+), 1 deletion(-)
3501
3502commit 0b8947782ff3c5ef830a7f85412e44dcf3cdeb77
3503Author: Lasse Collin <lasse.collin@tukaani.org>
3504Date:   2018-02-06 18:02:48 +0200
3505
3506    liblzma: Remove incorrect #ifdef from range_common.h.
3507
3508    In most cases it was harmless but it could affect some
3509    custom build systems.
3510
3511    Thanks to Pippijn van Steenhoven.
3512
3513 src/liblzma/rangecoder/range_common.h | 4 +---
3514 1 file changed, 1 insertion(+), 3 deletions(-)
3515
3516commit 48f3b9f73ffea7f55d5678997aba0e79d2e82168
3517Author: Lasse Collin <lasse.collin@tukaani.org>
3518Date:   2018-01-10 22:10:39 +0200
3519
3520    Update THANKS.
3521
3522 THANKS | 1 +
3523 1 file changed, 1 insertion(+)
3524
3525commit a3ce3e902342be37c626a561ce3d9ffcf27d0f94
3526Author: Lasse Collin <lasse.collin@tukaani.org>
3527Date:   2018-01-10 21:54:27 +0200
3528
3529    tuklib_integer: New Intel C compiler needs immintrin.h.
3530
3531    Thanks to Melanie Blower (Intel) for the patch.
3532
3533 src/common/tuklib_integer.h | 11 +++++++++++
3534 1 file changed, 11 insertions(+)
3535
3536commit 4505ca483985f88c6923c05a43b4327feaab83b1
3537Author: Lasse Collin <lasse.collin@tukaani.org>
3538Date:   2017-09-24 20:04:24 +0300
3539
3540    Update THANKS.
3541
3542 THANKS | 1 +
3543 1 file changed, 1 insertion(+)
3544
3545commit 1ef3cc226e3ce173575c218238b71a4eecabc470
3546Author: Lasse Collin <lasse.collin@tukaani.org>
3547Date:   2017-09-16 20:36:20 +0300
3548
3549    Windows: Fix paths in VS project files.
3550
3551    Some paths use slashes instead of backslashes as directory
3552    separators... now it should work (I tested VS2013 version).
3553
3554 windows/vs2013/liblzma.vcxproj     | 12 ++++++------
3555 windows/vs2013/liblzma_dll.vcxproj | 24 ++++++++++++------------
3556 windows/vs2017/liblzma.vcxproj     | 12 ++++++------
3557 windows/vs2017/liblzma_dll.vcxproj | 24 ++++++++++++------------
3558 4 files changed, 36 insertions(+), 36 deletions(-)
3559
3560commit e775d2a8189d24f60470e6e49d8af881df3a1680
3561Author: Lasse Collin <lasse.collin@tukaani.org>
3562Date:   2017-09-16 12:54:23 +0300
3563
3564    Windows: Add project files for VS2017.
3565
3566    These files match the v5.2 branch (no file info decoder).
3567
3568 windows/vs2017/config.h            | 148 ++++++++++++++
3569 windows/vs2017/liblzma.vcxproj     | 355 ++++++++++++++++++++++++++++++++++
3570 windows/vs2017/liblzma_dll.vcxproj | 384 +++++++++++++++++++++++++++++++++++++
3571 windows/vs2017/xz_win.sln          |  48 +++++
3572 4 files changed, 935 insertions(+)
3573
3574commit 10e02e0fbb6e2173f8b41f6e39b7b570f47dd74d
3575Author: Lasse Collin <lasse.collin@tukaani.org>
3576Date:   2017-09-16 12:39:43 +0300
3577
3578    Windows: Move VS2013 files into windows/vs2013 directory.
3579
3580 windows/{ => vs2013}/config.h            |   0
3581 windows/{ => vs2013}/liblzma.vcxproj     | 278 +++++++++++++++---------------
3582 windows/{ => vs2013}/liblzma_dll.vcxproj | 280 +++++++++++++++----------------
3583 windows/{ => vs2013}/xz_win.sln          |   0
3584 4 files changed, 279 insertions(+), 279 deletions(-)
3585
3586commit 06eebd4543196ded36fa9b8b9544195b38b24ef2
3587Author: Lasse Collin <lasse.collin@tukaani.org>
3588Date:   2017-08-14 20:08:33 +0300
3589
3590    Fix or hide warnings from GCC 7's -Wimplicit-fallthrough.
3591
3592 src/liblzma/lzma/lzma_decoder.c | 6 ++++++
3593 src/xz/list.c                   | 2 ++
3594 2 files changed, 8 insertions(+)
3595
3596commit ea4ea1dffafebaa8b2770bf3eca46900e4dd22dc
3597Author: Alexey Tourbin <alexey.tourbin@gmail.com>
3598Date:   2017-05-16 23:56:35 +0300
3599
3600    Docs: Fix a typo in a comment in doc/examples/02_decompress.c.
3601
3602 doc/examples/02_decompress.c | 2 +-
3603 1 file changed, 1 insertion(+), 1 deletion(-)
3604
3605commit eb2ef4c79bf405ea0d215f3b1df3d0eaf5e1d27b
3606Author: Lasse Collin <lasse.collin@tukaani.org>
3607Date:   2017-05-23 18:34:43 +0300
3608
3609    xz: Fix "xz --list --robot missing_or_bad_file.xz".
3610
3611    It ended up printing an uninitialized char-array when trying to
3612    print the check names (column 7) on the "totals" line.
3613
3614    This also changes the column 12 (minimum xz version) to
3615    50000002 (xz 5.0.0) instead of 0 when there are no valid
3616    input files.
3617
3618    Thanks to kidmin for the bug report.
3619
3620 src/xz/list.c | 8 ++++++--
3621 1 file changed, 6 insertions(+), 2 deletions(-)
3622
3623commit 3ea5dbd9b0d79048e336e40cef3b6d814fb74e13
3624Author: Lasse Collin <lasse.collin@tukaani.org>
3625Date:   2017-04-24 19:48:47 +0300
3626
3627    Build: Omit pre-5.0.0 entries from the generated ChangeLog.
3628
3629    It makes ChangeLog significantly smaller.
3630
3631 Makefile.am | 3 ++-
3632 1 file changed, 2 insertions(+), 1 deletion(-)
3633
3634commit bae24675936df99064de1502593c006bd902594b
3635Author: Lasse Collin <lasse.collin@tukaani.org>
3636Date:   2017-04-24 19:30:22 +0300
3637
3638    Update the Git repository URL to HTTPS in ChangeLog.
3639
3640 ChangeLog | 2 +-
3641 1 file changed, 1 insertion(+), 1 deletion(-)
3642
3643commit 70f479211973b5361f4d7cb08ba5be69b4266e7a
3644Author: Lasse Collin <lasse.collin@tukaani.org>
3645Date:   2017-04-19 22:17:35 +0300
3646
3647    Update the home page URLs to HTTPS.
3648
3649 COPYING                     | 2 +-
3650 README                      | 2 +-
3651 configure.ac                | 2 +-
3652 doc/faq.txt                 | 4 ++--
3653 dos/config.h                | 2 +-
3654 src/common/common_w32res.rc | 2 +-
3655 src/xz/xz.1                 | 6 +++---
3656 src/xzdec/xzdec.1           | 4 ++--
3657 windows/README-Windows.txt  | 2 +-
3658 windows/config.h            | 2 +-
3659 10 files changed, 14 insertions(+), 14 deletions(-)
3660
3661commit 2a4b2fa75d06a097261a02ecd3cf2b6d449bf754
3662Author: Lasse Collin <lasse.collin@tukaani.org>
3663Date:   2017-03-30 22:01:54 +0300
3664
3665    xz: Use POSIX_FADV_RANDOM for in "xz --list" mode.
3666
3667    xz --list is random access so POSIX_FADV_SEQUENTIAL was clearly
3668    wrong.
3669
3670 src/xz/file_io.c | 10 ++++++++--
3671 1 file changed, 8 insertions(+), 2 deletions(-)
3672
3673commit eb25743ade39170cffd9566a1aae272098cce216
3674Author: Lasse Collin <lasse.collin@tukaani.org>
3675Date:   2017-03-30 19:47:45 +0300
3676
3677    liblzma: Fix lzma_memlimit_set(strm, 0).
3678
3679    The 0 got treated specially in a buggy way and as a result
3680    the function did nothing. The API doc said that 0 was supposed
3681    to return LZMA_PROG_ERROR but it didn't.
3682
3683    Now 0 is treated as if 1 had been specified. This is done because
3684    0 is already used to indicate an error from lzma_memlimit_get()
3685    and lzma_memusage().
3686
3687    In addition, lzma_memlimit_set() no longer checks that the new
3688    limit is at least LZMA_MEMUSAGE_BASE. It's counter-productive
3689    for the Index decoder and was actually needed only by the
3690    auto decoder. Auto decoder has now been modified to check for
3691    LZMA_MEMUSAGE_BASE.
3692
3693 src/liblzma/api/lzma/base.h       | 7 ++++++-
3694 src/liblzma/common/auto_decoder.c | 3 +++
3695 src/liblzma/common/common.c       | 6 ++++--
3696 3 files changed, 13 insertions(+), 3 deletions(-)
3697
3698commit ef36c6362f3f3853f21b8a6359bcd06576ebf207
3699Author: Lasse Collin <lasse.collin@tukaani.org>
3700Date:   2017-03-30 19:16:55 +0300
3701
3702    liblzma: Similar memlimit fix for stream_, alone_, and auto_decoder.
3703
3704 src/liblzma/api/lzma/container.h    | 21 +++++++++++++++++----
3705 src/liblzma/common/alone_decoder.c  |  5 +----
3706 src/liblzma/common/auto_decoder.c   |  5 +----
3707 src/liblzma/common/stream_decoder.c |  5 +----
3708 4 files changed, 20 insertions(+), 16 deletions(-)
3709
3710commit 57616032650f03840480b696d7878acdd2065521
3711Author: Lasse Collin <lasse.collin@tukaani.org>
3712Date:   2017-03-30 18:58:18 +0300
3713
3714    liblzma: Fix handling of memlimit == 0 in lzma_index_decoder().
3715
3716    It returned LZMA_PROG_ERROR, which was done to avoid zero as
3717    the limit (because it's a special value elsewhere), but using
3718    LZMA_PROG_ERROR is simply inconvenient and can cause bugs.
3719
3720    The fix/workaround is to treat 0 as if it were 1 byte. It's
3721    effectively the same thing. The only weird consequence is
3722    that then lzma_memlimit_get() will return 1 even when 0 was
3723    specified as the limit.
3724
3725    This fixes a very rare corner case in xz --list where a specific
3726    memory usage limit and a multi-stream file could print the
3727    error message "Internal error (bug)" instead of saying that
3728    the memory usage limit is too low.
3729
3730 src/liblzma/api/lzma/index.h       | 18 +++++++++++-------
3731 src/liblzma/common/index_decoder.c |  4 ++--
3732 2 files changed, 13 insertions(+), 9 deletions(-)
3733
3734commit 3d566cd519017eee1a400e7961ff14058dfaf33c
3735Author: Lasse Collin <lasse.collin@tukaani.org>
3736Date:   2016-12-30 13:26:36 +0200
3737
3738    Bump version and soname for 5.2.3.
3739
3740 src/liblzma/Makefile.am        | 2 +-
3741 src/liblzma/api/lzma/version.h | 2 +-
3742 2 files changed, 2 insertions(+), 2 deletions(-)
3743
3744commit 053e624fe33795e779ff736f16ce44a129c829b5
3745Author: Lasse Collin <lasse.collin@tukaani.org>
3746Date:   2016-12-30 13:25:10 +0200
3747
3748    Update NEWS for 5.2.3.
3749
3750 NEWS | 39 +++++++++++++++++++++++++++++++++++++++
3751 1 file changed, 39 insertions(+)
3752
3753commit cae412b2b77d7fd88d187ed7659331709311f80d
3754Author: Lasse Collin <lasse.collin@tukaani.org>
3755Date:   2015-04-01 14:45:25 +0300
3756
3757    xz: Fix the Capsicum rights on user_abort_pipe.
3758
3759 src/xz/file_io.c | 6 +++++-
3760 1 file changed, 5 insertions(+), 1 deletion(-)
3761
3762commit 9ccbae41000572193b9a09e7102f9e84dc6d96de
3763Author: Lasse Collin <lasse.collin@tukaani.org>
3764Date:   2016-12-28 21:05:22 +0200
3765
3766    Mention potential sandboxing bugs in INSTALL.
3767
3768 INSTALL | 5 ++++-
3769 1 file changed, 4 insertions(+), 1 deletion(-)
3770
3771commit e013a337d3de77cce24360dffe956ea2339489b6
3772Author: Lasse Collin <lasse.collin@tukaani.org>
3773Date:   2016-11-21 20:24:50 +0200
3774
3775    liblzma: Avoid multiple definitions of lzma_coder structures.
3776
3777    Only one definition was visible in a translation unit.
3778    It avoided a few casts and temp variables but seems that
3779    this hack doesn't work with link-time optimizations in compilers
3780    as it's not C99/C11 compliant.
3781
3782    Fixes:
3783    http://www.mail-archive.com/xz-devel@tukaani.org/msg00279.html
3784
3785 src/liblzma/common/alone_decoder.c             |  44 +++++----
3786 src/liblzma/common/alone_encoder.c             |  34 ++++---
3787 src/liblzma/common/auto_decoder.c              |  35 ++++---
3788 src/liblzma/common/block_decoder.c             |  41 ++++----
3789 src/liblzma/common/block_encoder.c             |  40 ++++----
3790 src/liblzma/common/common.h                    |  18 ++--
3791 src/liblzma/common/index_decoder.c             |  33 ++++---
3792 src/liblzma/common/index_encoder.c             |  16 ++--
3793 src/liblzma/common/stream_decoder.c            |  50 +++++-----
3794 src/liblzma/common/stream_encoder.c            |  56 ++++++-----
3795 src/liblzma/common/stream_encoder_mt.c         | 124 ++++++++++++++-----------
3796 src/liblzma/delta/delta_common.c               |  25 ++---
3797 src/liblzma/delta/delta_decoder.c              |   6 +-
3798 src/liblzma/delta/delta_encoder.c              |  12 ++-
3799 src/liblzma/delta/delta_private.h              |   4 +-
3800 src/liblzma/lz/lz_decoder.c                    |  60 ++++++------
3801 src/liblzma/lz/lz_decoder.h                    |  13 ++-
3802 src/liblzma/lz/lz_encoder.c                    |  57 +++++++-----
3803 src/liblzma/lz/lz_encoder.h                    |   9 +-
3804 src/liblzma/lzma/lzma2_decoder.c               |  32 ++++---
3805 src/liblzma/lzma/lzma2_encoder.c               |  51 +++++-----
3806 src/liblzma/lzma/lzma_decoder.c                |  27 +++---
3807 src/liblzma/lzma/lzma_encoder.c                |  29 +++---
3808 src/liblzma/lzma/lzma_encoder.h                |   9 +-
3809 src/liblzma/lzma/lzma_encoder_optimum_fast.c   |   3 +-
3810 src/liblzma/lzma/lzma_encoder_optimum_normal.c |  23 ++---
3811 src/liblzma/lzma/lzma_encoder_private.h        |   6 +-
3812 src/liblzma/simple/arm.c                       |   2 +-
3813 src/liblzma/simple/armthumb.c                  |   2 +-
3814 src/liblzma/simple/ia64.c                      |   2 +-
3815 src/liblzma/simple/powerpc.c                   |   2 +-
3816 src/liblzma/simple/simple_coder.c              |  61 ++++++------
3817 src/liblzma/simple/simple_private.h            |  12 +--
3818 src/liblzma/simple/sparc.c                     |   2 +-
3819 src/liblzma/simple/x86.c                       |  15 +--
3820 35 files changed, 532 insertions(+), 423 deletions(-)
3821
3822commit 8e0f1af3dcaec00a3879cce8ad7441edc6359d1c
3823Author: Lasse Collin <lasse.collin@tukaani.org>
3824Date:   2016-12-26 20:50:25 +0200
3825
3826    Document --enable-sandbox configure option in INSTALL.
3827
3828 INSTALL | 25 +++++++++++++++++++++++++
3829 1 file changed, 25 insertions(+)
3830
3831commit ce2542d220de06acd618fd9f5c0a6683029fb4eb
3832Author: Lasse Collin <lasse.collin@tukaani.org>
3833Date:   2015-03-31 22:19:34 +0300
3834
3835    xz: Add support for sandboxing with Capsicum (disabled by default).
3836
3837    In the v5.2 branch this feature is considered experimental
3838    and thus disabled by default.
3839
3840    The sandboxing is used conditionally as described in main.c.
3841    This isn't optimal but it was much easier to implement than
3842    a full sandboxing solution and it still covers the most common
3843    use cases where xz is writing to standard output. This should
3844    have practically no effect on performance even with small files
3845    as fork() isn't needed.
3846
3847    C and locale libraries can open files as needed. This has been
3848    fine in the past, but it's a problem with things like Capsicum.
3849    io_sandbox_enter() tries to ensure that various locale-related
3850    files have been loaded before cap_enter() is called, but it's
3851    possible that there are other similar problems which haven't
3852    been seen yet.
3853
3854    Currently Capsicum is available on FreeBSD 10 and later
3855    and there is a port to Linux too.
3856
3857    Thanks to Loganaden Velvindron for help.
3858
3859 configure.ac       | 41 +++++++++++++++++++++++++++
3860 src/xz/Makefile.am |  2 +-
3861 src/xz/file_io.c   | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
3862 src/xz/file_io.h   |  6 ++++
3863 src/xz/main.c      | 18 ++++++++++++
3864 src/xz/private.h   |  4 +++
3865 6 files changed, 151 insertions(+), 1 deletion(-)
3866
3867commit 3ca1d5e6320111043e19434da881065fadafa0e4
3868Author: Lasse Collin <lasse.collin@tukaani.org>
3869Date:   2015-03-31 21:12:30 +0300
3870
3871    Fix bugs and otherwise improve ax_check_capsicum.m4.
3872
3873    AU_ALIAS was removed because the new version is incompatible
3874    with the old version.
3875
3876    It no longer checks for <sys/capability.h> separately.
3877    It's enough to test for it as part of AC_CHECK_DECL.
3878    The defines HAVE_CAPSICUM_SYS_CAPSICUM_H and
3879    HAVE_CAPSICUM_SYS_CAPABILITY_H were removed as unneeded.
3880    HAVE_SYS_CAPSICUM_H from AC_CHECK_HEADERS is enough.
3881
3882    It no longer does a useless search for the Capsicum library
3883    if the header wasn't found.
3884
3885    Fixed a bug in ACTION-IF-FOUND (the first argument). Specifying
3886    the argument omitted the default action but the given action
3887    wasn't used instead.
3888
3889    AC_DEFINE([HAVE_CAPSICUM]) is now always called when Capsicum
3890    support is found. Previously it was part of the default
3891    ACTION-IF-FOUND which a custom action would override. Now
3892    the default action only prepends ${CAPSICUM_LIB} to LIBS.
3893
3894    The documentation was updated.
3895
3896    Since there as no serial number, "#serial 2" was added.
3897
3898 m4/ax_check_capsicum.m4 | 103 ++++++++++++++++++++++++------------------------
3899 1 file changed, 51 insertions(+), 52 deletions(-)
3900
3901commit 5f3a742b64197fe8bedb6f05fc6ce5d177d11145
3902Author: Lasse Collin <lasse.collin@tukaani.org>
3903Date:   2015-03-31 19:20:24 +0300
3904
3905    Add m4/ax_check_capsicum.m4 for detecting Capsicum support.
3906
3907    The file was loaded from this web page:
3908    https://github.com/google/capsicum-test/blob/dev/autoconf/m4/ax_check_capsicum.m4
3909
3910    Thanks to Loganaden Velvindron for pointing it out for me.
3911
3912 m4/ax_check_capsicum.m4 | 86 +++++++++++++++++++++++++++++++++++++++++++++++++
3913 1 file changed, 86 insertions(+)
3914
3915commit d74377e62b4c649e40294dd441de72c0f092e67c
3916Author: Lasse Collin <lasse.collin@tukaani.org>
3917Date:   2015-10-12 20:29:09 +0300
3918
3919    liblzma: Fix a memory leak in error path of lzma_index_dup().
3920
3921    lzma_index_dup() calls index_dup_stream() which, in case of
3922    an error, calls index_stream_end() to free memory allocated
3923    by index_stream_init(). However, it illogically didn't
3924    actually free the memory. To make it logical, the tree
3925    handling code was modified a bit in addition to changing
3926    index_stream_end().
3927
3928    Thanks to Evan Nemerson for the bug report.
3929
3930 src/liblzma/common/index.c | 18 +++++++++---------
3931 1 file changed, 9 insertions(+), 9 deletions(-)
3932
3933commit f580732216dcf971f3f006fe8e01cd4979e1d964
3934Author: Lasse Collin <lasse.collin@tukaani.org>
3935Date:   2016-10-24 18:53:25 +0300
3936
3937    Update THANKS.
3938
3939 THANKS | 1 +
3940 1 file changed, 1 insertion(+)
3941
3942commit 88d7a7fd153bf1355cdf798ffdac7443d0169afc
3943Author: Lasse Collin <lasse.collin@tukaani.org>
3944Date:   2016-10-24 18:51:36 +0300
3945
3946    tuklib_cpucores: Add support for sched_getaffinity().
3947
3948    It's available in glibc (GNU/Linux, GNU/kFreeBSD). It's better
3949    than sysconf(_SC_NPROCESSORS_ONLN) because sched_getaffinity()
3950    gives the number of cores available to the process instead of
3951    the total number of cores online.
3952
3953    As a side effect, this commit fixes a bug on GNU/kFreeBSD where
3954    configure would detect the FreeBSD-specific cpuset_getaffinity()
3955    but it wouldn't actually work because on GNU/kFreeBSD it requires
3956    using -lfreebsd-glue when linking. Now the glibc-specific function
3957    will be used instead.
3958
3959    Thanks to Sebastian Andrzej Siewior for the original patch
3960    and testing.
3961
3962 m4/tuklib_cpucores.m4        | 30 +++++++++++++++++++++++++++++-
3963 src/common/tuklib_cpucores.c |  9 +++++++++
3964 2 files changed, 38 insertions(+), 1 deletion(-)
3965
3966commit 51baf684376903dbeddd840582bfdf9fa91b311b
3967Author: Lasse Collin <lasse.collin@tukaani.org>
3968Date:   2016-06-30 20:27:36 +0300
3969
3970    xz: Fix copying of timestamps on Windows.
3971
3972    xz used to call utime() on Windows, but its result gets lost
3973    on close(). Using _futime() seems to work.
3974
3975    Thanks to Martok for reporting the bug:
3976    http://www.mail-archive.com/xz-devel@tukaani.org/msg00261.html
3977
3978 configure.ac     |  2 +-
3979 src/xz/file_io.c | 18 ++++++++++++++++++
3980 2 files changed, 19 insertions(+), 1 deletion(-)
3981
3982commit 1ddc479851139d6e8202e5835421bfe6578d9e07
3983Author: Lasse Collin <lasse.collin@tukaani.org>
3984Date:   2016-06-16 22:46:02 +0300
3985
3986    xz: Silence warnings from -Wlogical-op.
3987
3988    Thanks to Evan Nemerson.
3989
3990 src/xz/file_io.c | 12 ++++++++++--
3991 1 file changed, 10 insertions(+), 2 deletions(-)
3992
3993commit be647ff5ed5a1c244a65722af6ce250259f3b14a
3994Author: Lasse Collin <lasse.collin@tukaani.org>
3995Date:   2016-04-10 20:55:49 +0300
3996
3997    Build: Fix = to += for xz_SOURCES in src/xz/Makefile.am.
3998
3999    Thanks to Christian Kujau.
4000
4001 src/xz/Makefile.am | 2 +-
4002 1 file changed, 1 insertion(+), 1 deletion(-)
4003
4004commit fb6d50c15343831f35305982cefa82053099191d
4005Author: Lasse Collin <lasse.collin@tukaani.org>
4006Date:   2016-04-10 20:54:17 +0300
4007
4008    Build: Bump GNU Gettext version requirement to 0.19.
4009
4010    It silences a few warnings and most people probably have
4011    0.19 even on stable distributions.
4012
4013    Thanks to Christian Kujau.
4014
4015 configure.ac | 2 +-
4016 1 file changed, 1 insertion(+), 1 deletion(-)
4017
4018commit 74f8dad9f912a2993768d93d108ea2b0b2c196e0
4019Author: Lasse Collin <lasse.collin@tukaani.org>
4020Date:   2016-03-13 20:21:49 +0200
4021
4022    liblzma: Disable external SHA-256 by default.
4023
4024    This is the sane thing to do. The conflict with OpenSSL
4025    on some OSes and especially that the OS-provided versions
4026    can be significantly slower makes it clear that it was
4027    a mistake to have the external SHA-256 support enabled by
4028    default.
4029
4030    Those who want it can now pass --enable-external-sha256 to
4031    configure. INSTALL was updated with notes about OSes where
4032    this can be a bad idea.
4033
4034    The SHA-256 detection code in configure.ac had some bugs that
4035    could lead to a build failure in some situations. These were
4036    fixed, although it doesn't matter that much now that the
4037    external SHA-256 is disabled by default.
4038
4039    MINIX >= 3.2.0 uses NetBSD's libc and thus has SHA256_Init
4040    in libc instead of libutil. Support for the libutil version
4041    was removed.
4042
4043 INSTALL                   | 36 ++++++++++++++++++++++
4044 configure.ac              | 76 +++++++++++++++++++++++------------------------
4045 src/liblzma/check/check.h | 16 ++++------
4046 3 files changed, 79 insertions(+), 49 deletions(-)
4047
4048commit ea7f6ff04cb5bb1498088eb09960a4c3f13dfe39
4049Author: Lasse Collin <lasse.collin@tukaani.org>
4050Date:   2016-03-10 20:27:05 +0200
4051
4052    Update THANKS.
4053
4054 THANKS | 1 +
4055 1 file changed, 1 insertion(+)
4056
4057commit d0e018016b311232e82d9a98dc68f1e3dabce794
4058Author: Lasse Collin <lasse.collin@tukaani.org>
4059Date:   2016-03-10 20:26:49 +0200
4060
4061    Build: Avoid SHA256_Init on FreeBSD and MINIX 3.
4062
4063    On FreeBSD 10 and older, SHA256_Init from libmd conflicts
4064    with libcrypto from OpenSSL. The OpenSSL version has
4065    different sizeof(SHA256_CTX) and it can cause weird
4066    problems if wrong SHA256_Init gets used.
4067
4068    Looking at the source, MINIX 3 seems to have a similar issue but
4069    I'm not sure. To be safe, I disabled SHA256_Init on MINIX 3 too.
4070
4071    NetBSD has SHA256_Init in libc and they had a similar problem,
4072    but they already fixed it in 2009.
4073
4074    Thanks to Jim Wilcoxson for the bug report that helped
4075    in finding the problem.
4076
4077 configure.ac | 27 +++++++++++++++++++++------
4078 1 file changed, 21 insertions(+), 6 deletions(-)
4079
4080commit 5daae123915f32a4ed6dc948b831533c2d1beec3
4081Author: Lasse Collin <lasse.collin@tukaani.org>
4082Date:   2015-11-08 20:16:10 +0200
4083
4084    tuklib_physmem: Hopefully silence a warning on Windows.
4085
4086 src/common/tuklib_physmem.c | 3 ++-
4087 1 file changed, 2 insertions(+), 1 deletion(-)
4088
4089commit 491acc406e098167ccb7fce0728b94c2f32cff9f
4090Author: Lasse Collin <lasse.collin@tukaani.org>
4091Date:   2015-11-04 23:17:43 +0200
4092
4093    Update THANKS.
4094
4095 THANKS | 1 +
4096 1 file changed, 1 insertion(+)
4097
4098commit 8173ff8790ad3502d04e1c07d014cb84a3b8187b
4099Author: Lasse Collin <lasse.collin@tukaani.org>
4100Date:   2015-11-04 23:14:00 +0200
4101
4102    liblzma: Make Valgrind happier with optimized (gcc -O2) liblzma.
4103
4104    When optimizing, GCC can reorder code so that an uninitialized
4105    value gets used in a comparison, which makes Valgrind unhappy.
4106    It doesn't happen when compiled with -O0, which I tend to use
4107    when running Valgrind.
4108
4109    Thanks to Rich Prohaska. I remember this being mentioned long
4110    ago by someone else but nothing was done back then.
4111
4112 src/liblzma/lz/lz_encoder.c | 4 ++++
4113 1 file changed, 4 insertions(+)
4114
4115commit 013de2b5ab8094d2c82a2771f3d143eeb656eda9
4116Author: Lasse Collin <lasse.collin@tukaani.org>
4117Date:   2015-11-03 20:55:45 +0200
4118
4119    liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c.
4120
4121    It would be too annoying to update other build systems
4122    just because of this.
4123
4124 src/liblzma/lzma/Makefile.inc                               | 2 +-
4125 src/liblzma/lzma/{lzma_presets.c => lzma_encoder_presets.c} | 2 +-
4126 2 files changed, 2 insertions(+), 2 deletions(-)
4127
4128commit a322f70ad96de88968c2c36e6a36bc08ae30bd20
4129Author: Lasse Collin <lasse.collin@tukaani.org>
4130Date:   2015-11-03 20:47:07 +0200
4131
4132    Build: Disable xzdec, lzmadec, and lzmainfo when they cannot be built.
4133
4134    They all need decoder support and if that isn't available,
4135    there's no point trying to build them.
4136
4137 configure.ac | 3 +++
4138 1 file changed, 3 insertions(+)
4139
4140commit 8ea49606cf6427e32319de7693eca9e43f1c8ad6
4141Author: Lasse Collin <lasse.collin@tukaani.org>
4142Date:   2015-11-03 20:35:19 +0200
4143
4144    Build: Simplify $enable_{encoders,decoders} usage a bit.
4145
4146 configure.ac | 6 ++++--
4147 1 file changed, 4 insertions(+), 2 deletions(-)
4148
4149commit 42131a25e52bfe400acfa7df93469a96bb78bb78
4150Author: Lasse Collin <lasse.collin@tukaani.org>
4151Date:   2015-11-03 20:31:31 +0200
4152
4153    Windows/MSVC: Update config.h.
4154
4155 windows/config.h | 6 ++++++
4156 1 file changed, 6 insertions(+)
4157
4158commit e9184e87cc989d14c7413e6adb3eca98f6ae0290
4159Author: Lasse Collin <lasse.collin@tukaani.org>
4160Date:   2015-11-03 20:29:58 +0200
4161
4162    DOS: Update config.h.
4163
4164 dos/config.h | 6 ++++++
4165 1 file changed, 6 insertions(+)
4166
4167commit 2296778f3c9a1e3a8699973b09dd3610b8baa402
4168Author: Lasse Collin <lasse.collin@tukaani.org>
4169Date:   2015-11-03 20:29:33 +0200
4170
4171    xz: Make xz buildable even when encoders or decoders are disabled.
4172
4173    The patch is quite long but it's mostly about adding new #ifdefs
4174    to omit code when encoders or decoders have been disabled.
4175
4176    This adds two new #defines to config.h: HAVE_ENCODERS and
4177    HAVE_DECODERS.
4178
4179 configure.ac       |  4 ++++
4180 src/xz/Makefile.am |  8 ++++++--
4181 src/xz/args.c      | 16 ++++++++++++++++
4182 src/xz/coder.c     | 33 +++++++++++++++++++++++++--------
4183 src/xz/main.c      |  9 +++++++--
4184 src/xz/private.h   |  5 ++++-
4185 6 files changed, 62 insertions(+), 13 deletions(-)
4186
4187commit 97a3109281e475d9cf1b5095237d672fa0ad25e5
4188Author: Lasse Collin <lasse.collin@tukaani.org>
4189Date:   2015-11-03 18:06:40 +0200
4190
4191    Build: Build LZMA1/2 presets also when only decoder is wanted.
4192
4193    People shouldn't rely on the presets when decoding raw streams,
4194    but xz uses the presets as the starting point for raw decoder
4195    options anyway.
4196
4197    lzma_encocder_presets.c was renamed to lzma_presets.c to
4198    make it clear it's not used solely by the encoder code.
4199
4200 src/liblzma/lzma/Makefile.inc                               | 6 +++++-
4201 src/liblzma/lzma/{lzma_encoder_presets.c => lzma_presets.c} | 3 ++-
4202 2 files changed, 7 insertions(+), 2 deletions(-)
4203
4204commit dc6b78d7f0f6fe43e9d4215146e8581feb8090e7
4205Author: Lasse Collin <lasse.collin@tukaani.org>
4206Date:   2015-11-03 17:54:48 +0200
4207
4208    Build: Fix configure to handle LZMA1 dependency with LZMA2.
4209
4210    Now it gives an error if LZMA1 encoder/decoder is missing
4211    when LZMA2 encoder/decoder was requested. Even better would
4212    be LZMA2 implicitly enabling LZMA1 but it would need more code.
4213
4214 configure.ac | 5 -----
4215 1 file changed, 5 deletions(-)
4216
4217commit 46d76c9cd3cb26a31f5ae6c3a8bbcf38e6da1add
4218Author: Lasse Collin <lasse.collin@tukaani.org>
4219Date:   2015-11-03 17:41:54 +0200
4220
4221    Build: Don't omit lzma_cputhreads() unless using --disable-threads.
4222
4223    Previously it was omitted if encoders were disabled
4224    with --disable-encoders. It didn't make sense and
4225    it also broke the build.
4226
4227 src/liblzma/common/Makefile.inc | 5 ++++-
4228 1 file changed, 4 insertions(+), 1 deletion(-)
4229
4230commit 16d68f874d89f1e4a1919786a35bbaef7d71a077
4231Author: Lasse Collin <lasse.collin@tukaani.org>
4232Date:   2015-11-02 18:16:51 +0200
4233
4234    liblzma: Fix a build failure related to external SHA-256 support.
4235
4236    If an appropriate header and structure were found by configure,
4237    but a library with a usable SHA-256 functions wasn't, the build
4238    failed.
4239
4240 src/liblzma/check/check.h | 32 +++++++++++++++++++++++---------
4241 1 file changed, 23 insertions(+), 9 deletions(-)
4242
4243commit d9311647fc1ab512a3394596221ab8039c00af6b
4244Author: Lasse Collin <lasse.collin@tukaani.org>
4245Date:   2015-11-02 15:19:10 +0200
4246
4247    xz: Always close the file before trying to delete it.
4248
4249    unlink() can return EBUSY in errno for open files on some
4250    operating systems and file systems.
4251
4252 src/xz/file_io.c | 25 ++++++++++++-------------
4253 1 file changed, 12 insertions(+), 13 deletions(-)
4254
4255commit f59c4183f3c9066626ce45dc3db4642fa603fa21
4256Author: Lasse Collin <lasse.collin@tukaani.org>
4257Date:   2015-10-12 21:08:42 +0300
4258
4259    Update THANKS.
4260
4261 THANKS | 1 +
4262 1 file changed, 1 insertion(+)
4263
4264commit 35f189673e280c12e4c5129f9f97e54eef3bbc04
4265Author: Lasse Collin <lasse.collin@tukaani.org>
4266Date:   2015-10-12 21:07:41 +0300
4267
4268    Tests: Add tests for the two bugs fixed in index.c.
4269
4270 tests/test_index.c | 30 ++++++++++++++++++++++++++++++
4271 1 file changed, 30 insertions(+)
4272
4273commit e10bfdb0fcaff12f3a6dadee51e0a022aadccb51
4274Author: Lasse Collin <lasse.collin@tukaani.org>
4275Date:   2015-10-12 20:45:15 +0300
4276
4277    liblzma: Fix lzma_index_dup() for empty Streams.
4278
4279    Stream Flags and Stream Padding weren't copied from
4280    empty Streams.
4281
4282 src/liblzma/common/index.c | 11 ++++++-----
4283 1 file changed, 6 insertions(+), 5 deletions(-)
4284
4285commit 06f434bd8980f25ca23232eb7bb7df7e37dc8448
4286Author: Lasse Collin <lasse.collin@tukaani.org>
4287Date:   2015-10-12 20:31:44 +0300
4288
4289    liblzma: Add a note to index.c for those using static analyzers.
4290
4291 src/liblzma/common/index.c | 3 +++
4292 1 file changed, 3 insertions(+)
4293
4294commit 9815cdf6987ef91a85493bfcfd1ce2aaf3b47a0a
4295Author: Lasse Collin <lasse.collin@tukaani.org>
4296Date:   2015-09-29 13:59:35 +0300
4297
4298    Bump version and soname for 5.2.2.
4299
4300 src/liblzma/Makefile.am        | 2 +-
4301 src/liblzma/api/lzma/version.h | 2 +-
4302 2 files changed, 2 insertions(+), 2 deletions(-)
4303
4304commit cbe0cec8476bdd0416c7ca9bc83895c9bea1cf78
4305Author: Lasse Collin <lasse.collin@tukaani.org>
4306Date:   2015-09-29 13:57:28 +0300
4307
4308    Update NEWS for 5.2.2.
4309
4310 NEWS | 18 ++++++++++++++++++
4311 1 file changed, 18 insertions(+)
4312
4313commit 49427ce7eececdd18bbd35dab23c81910d083e1c
4314Author: Andre Noll <maan@tuebingen.mpg.de>
4315Date:   2015-05-28 15:50:00 +0200
4316
4317    Fix typo in German translation.
4318
4319    As pointed out by Robert Pollak, there's a typo in the German
4320    translation of the compression preset option (-0 ... -9) help text.
4321    "The compressor" translates to "der Komprimierer", and the genitive
4322    form is "des Komprimierers". The old word makes no sense at all.
4323
4324 po/de.po | 2 +-
4325 1 file changed, 1 insertion(+), 1 deletion(-)
4326
4327commit 608d6f06c940e7f28c25de005e8b99bdff42d27c
4328Author: Hauke Henningsen <sqrt@entless.org>
4329Date:   2015-08-17 04:59:54 +0200
4330
4331    Update German translation, mostly wrt orthography
4332
4333    Provide an update of the German translation.
4334    * A lot of compound words were previously written with spaces, while
4335      German orthography is relatively clear in that the components
4336      should not be separated.
4337    * When referring to the actual process of (de)compression rather than the
4338      concept, replace “(De-)Kompression” with “(De-)Komprimierung”.
4339      Previously, both forms were used in this context and are now used in a
4340      manner consistent with “Komprimierung” being more likely to refer to
4341      a process.
4342    * Consistently translate “standard input”/“output”
4343    * Use “Zeichen” instead of false friend “Charakter” for “character”
4344    * Insert commas around relative clauses (as required in German)
4345    * Some other minor corrections
4346    * Capitalize “ß” as “ẞ”
4347    * Consistently start option descriptions in --help with capital letters
4348
4349    Acked-By: Andre Noll <maan@tuebingen.mpg.de>
4350
4351    * Update after msgmerge
4352
4353 po/de.po | 383 ++++++++++++++++++++++++++++++++-------------------------------
4354 1 file changed, 196 insertions(+), 187 deletions(-)
4355
4356commit c8988414e5b67b8ef2fe0ba7b1ccdd0ec73c60d3
4357Author: Lasse Collin <lasse.collin@tukaani.org>
4358Date:   2015-08-11 13:23:04 +0300
4359
4360    Build: Minor Cygwin cleanup.
4361
4362    Some tests used "cygwin*" and some used "cygwin". I changed
4363    them all to use "cygwin". Shouldn't affect anything in practice.
4364
4365 configure.ac | 6 +++---
4366 1 file changed, 3 insertions(+), 3 deletions(-)
4367
4368commit 85a6dfed53477906bfe9a7c0123dd412e391cb48
4369Author: Lasse Collin <lasse.collin@tukaani.org>
4370Date:   2015-08-11 13:21:52 +0300
4371
4372    Build: Support building of MSYS2 binaries.
4373
4374 configure.ac | 16 +++++++++++-----
4375 1 file changed, 11 insertions(+), 5 deletions(-)
4376
4377commit 77f270be8432df2e4516a0c48814b6976d6618c5
4378Author: Lasse Collin <lasse.collin@tukaani.org>
4379Date:   2015-08-09 21:06:26 +0300
4380
4381    Windows: Define DLL_EXPORT when building liblzma.dll with MSVC.
4382
4383    src/liblzma/common/common.h uses it to set __declspec(dllexport)
4384    for the API symbols.
4385
4386    Thanks to Adam Walling.
4387
4388 windows/liblzma_dll.vcxproj | 12 ++++++------
4389 1 file changed, 6 insertions(+), 6 deletions(-)
4390
4391commit 8c975446c5903090a5a8493b5b96b71003056a88
4392Author: Lasse Collin <lasse.collin@tukaani.org>
4393Date:   2015-08-09 21:02:20 +0300
4394
4395    Windows: Omit unneeded header files from MSVC project files.
4396
4397 windows/liblzma.vcxproj     | 5 -----
4398 windows/liblzma_dll.vcxproj | 5 -----
4399 2 files changed, 10 deletions(-)
4400
4401commit 119a00434954726ca58e4a578e6469f530fca30e
4402Author: Lasse Collin <lasse.collin@tukaani.org>
4403Date:   2015-07-12 20:48:19 +0300
4404
4405    liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer.
4406
4407 src/liblzma/api/lzma.h | 18 +++++++++++++-----
4408 1 file changed, 13 insertions(+), 5 deletions(-)
4409
4410commit d4e7c557fcab353539c9481a8d95cb04bcb15c7c
4411Author: Lasse Collin <lasse.collin@tukaani.org>
4412Date:   2015-06-19 20:38:55 +0300
4413
4414    Update THANKS.
4415
4416 THANKS | 2 ++
4417 1 file changed, 2 insertions(+)
4418
4419commit 98001740ca56c894a7bd32eb47e9857a8a7d878d
4420Author: Lasse Collin <lasse.collin@tukaani.org>
4421Date:   2015-06-19 20:21:30 +0300
4422
4423    Windows: Update the docs.
4424
4425 INSTALL                                            | 29 ++++++++-----
4426 windows/INSTALL-MSVC.txt                           | 47 ++++++++++++++++++++++
4427 windows/{INSTALL-Windows.txt => INSTALL-MinGW.txt} |  2 +-
4428 3 files changed, 67 insertions(+), 11 deletions(-)
4429
4430commit 28195e4c877007cc760ecea1d17f740693d66873
4431Author: Lasse Collin <lasse.collin@tukaani.org>
4432Date:   2015-06-19 17:25:31 +0300
4433
4434    Windows: Add MSVC project files for building liblzma.
4435
4436    Thanks to Adam Walling for creating these files.
4437
4438 windows/liblzma.vcxproj     | 359 ++++++++++++++++++++++++++++++++++++++++
4439 windows/liblzma_dll.vcxproj | 388 ++++++++++++++++++++++++++++++++++++++++++++
4440 windows/xz_win.sln          |  48 ++++++
4441 3 files changed, 795 insertions(+)
4442
4443commit 960440f3230dc628f6966d9f7614fc1b28baf44e
4444Author: Lasse Collin <lasse.collin@tukaani.org>
4445Date:   2015-05-13 20:57:55 +0300
4446
4447    Tests: Fix a memory leak in test_bcj_exact_size.
4448
4449    Thanks to Cristian Rodríguez.
4450
4451 tests/test_bcj_exact_size.c | 1 +
4452 1 file changed, 1 insertion(+)
4453
4454commit 68cd35acafbdcdf4e8ea8b5bb843c736939d6f8b
4455Author: Lasse Collin <lasse.collin@tukaani.org>
4456Date:   2015-05-12 18:08:24 +0300
4457
4458    Fix NEWS about threading in 5.2.0.
4459
4460    Thanks to Andy Hochhaus.
4461
4462 NEWS | 3 ++-
4463 1 file changed, 2 insertions(+), 1 deletion(-)
4464
4465commit ff96ed6d25786728356017a13baf8c14731b4f1e
4466Author: Lasse Collin <lasse.collin@tukaani.org>
4467Date:   2015-05-11 21:26:16 +0300
4468
4469    xz: Document that threaded decompression hasn't been implemented yet.
4470
4471 src/xz/xz.1 | 10 +++++++++-
4472 1 file changed, 9 insertions(+), 1 deletion(-)
4473
4474commit 00d37b64a64ea8597fd2422d5187afd761ab9531
4475Author: Lasse Collin <lasse.collin@tukaani.org>
4476Date:   2015-04-20 20:20:29 +0300
4477
4478    Update THANKS.
4479
4480 THANKS | 1 +
4481 1 file changed, 1 insertion(+)
4482
4483commit db190a832c49ca3aed6d69cc992fa5583cae7b11
4484Author: Lasse Collin <lasse.collin@tukaani.org>
4485Date:   2015-04-20 19:59:18 +0300
4486
4487    Revert "xz: Use pipe2() if available."
4488
4489    This reverts commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd.
4490    It is a problem when libc has pipe2() but the kernel is too
4491    old to have pipe2() and thus pipe2() fails. In xz it's pointless
4492    to have a fallback for non-functioning pipe2(); it's better to
4493    avoid pipe2() completely.
4494
4495    Thanks to Michael Fox for the bug report.
4496
4497 configure.ac     | 4 ++--
4498 src/xz/file_io.c | 9 +--------
4499 2 files changed, 3 insertions(+), 10 deletions(-)
4500
4501commit eccd8155e107c5ada03d13e7730675cdf1a44ddc
4502Author: Lasse Collin <lasse.collin@tukaani.org>
4503Date:   2015-03-29 22:14:47 +0300
4504
4505    Update THANKS.
4506
4507 THANKS | 1 +
4508 1 file changed, 1 insertion(+)
4509
4510commit 25263fd9e7a8a913395cb93d7c104cd48c2b4a00
4511Author: Lasse Collin <lasse.collin@tukaani.org>
4512Date:   2015-03-29 22:13:48 +0300
4513
4514    Fix the detection of installed RAM on QNX.
4515
4516    The earlier version compiled but didn't actually work
4517    since sysconf(_SC_PHYS_PAGES) always fails (or so I was told).
4518
4519    Thanks to Ole André Vadla Ravnås for the patch and testing.
4520
4521 m4/tuklib_physmem.m4        |  6 +++---
4522 src/common/tuklib_physmem.c | 14 +++++++++++++-
4523 2 files changed, 16 insertions(+), 4 deletions(-)
4524
4525commit 4c544d2410903d38402221cb783ed85585b6a007
4526Author: Lasse Collin <lasse.collin@tukaani.org>
4527Date:   2015-03-27 22:39:07 +0200
4528
4529    Fix CPU core count detection on QNX.
4530
4531    It tried to use sysctl() on QNX but
4532      - it broke the build because sysctl() needs -lsocket on QNX;
4533      - sysctl() doesn't work for detecting the core count on QNX
4534        even if it compiled.
4535
4536    sysconf() works. An alternative would have been to use
4537    QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>.
4538
4539    Thanks to Ole André Vadla Ravnås.
4540
4541 m4/tuklib_cpucores.m4 | 15 +++++++++++----
4542 1 file changed, 11 insertions(+), 4 deletions(-)
4543
4544commit e0ea6737b03e83ccaff4514d00e31bb926f8f0f3
4545Author: Lasse Collin <lasse.collin@tukaani.org>
4546Date:   2015-03-07 22:05:57 +0200
4547
4548    xz: size_t/uint32_t cleanup in options.c.
4549
4550 src/xz/options.c | 12 ++++++------
4551 1 file changed, 6 insertions(+), 6 deletions(-)
4552
4553commit 8bcca29a65335fd679c13814b70b35b68fa5daed
4554Author: Lasse Collin <lasse.collin@tukaani.org>
4555Date:   2015-03-07 22:04:23 +0200
4556
4557    xz: Fix a comment and silence a warning in message.c.
4558
4559 src/xz/message.c | 5 +++--
4560 1 file changed, 3 insertions(+), 2 deletions(-)
4561
4562commit f243f5f44c6b19a7c289a0ec73a03ee08364cb5b
4563Author: Lasse Collin <lasse.collin@tukaani.org>
4564Date:   2015-03-07 22:01:00 +0200
4565
4566    liblzma: Silence more uint32_t vs. size_t warnings.
4567
4568 src/liblzma/lz/lz_encoder.c     | 2 +-
4569 src/liblzma/lzma/lzma_encoder.c | 2 +-
4570 2 files changed, 2 insertions(+), 2 deletions(-)
4571
4572commit 7f0a4c50f4a374c40acf4b86848f301ad1e82d34
4573Author: Lasse Collin <lasse.collin@tukaani.org>
4574Date:   2015-03-07 19:54:00 +0200
4575
4576    xz: Make arg_count an unsigned int to silence a warning.
4577
4578    Actually the value of arg_count cannot exceed INT_MAX
4579    but it's nicer as an unsigned int.
4580
4581 src/xz/args.h | 2 +-
4582 src/xz/main.c | 2 +-
4583 2 files changed, 2 insertions(+), 2 deletions(-)
4584
4585commit f6ec46801588b1be29c07c9db98558b521304002
4586Author: Lasse Collin <lasse.collin@tukaani.org>
4587Date:   2015-03-07 19:33:17 +0200
4588
4589    liblzma: Fix a warning in index.c.
4590
4591 src/liblzma/common/index.c | 4 +++-
4592 1 file changed, 3 insertions(+), 1 deletion(-)
4593
4594commit a24518971cc621315af142dd3bb7614fab04ad27
4595Author: Lasse Collin <lasse.collin@tukaani.org>
4596Date:   2015-02-26 20:46:14 +0200
4597
4598    Build: Fix a CR+LF problem when running autoreconf -fi on OS/2.
4599
4600 build-aux/version.sh | 2 +-
4601 1 file changed, 1 insertion(+), 1 deletion(-)
4602
4603commit dec11497a71518423b5ff0e759100cf8aadf6c7b
4604Author: Lasse Collin <lasse.collin@tukaani.org>
4605Date:   2015-02-26 16:53:44 +0200
4606
4607    Bump version and soname for 5.2.1.
4608
4609 src/liblzma/Makefile.am        | 2 +-
4610 src/liblzma/api/lzma/version.h | 2 +-
4611 2 files changed, 2 insertions(+), 2 deletions(-)
4612
4613commit 29e39c79975ab89ee5dd671e97064534a9f3a649
4614Author: Lasse Collin <lasse.collin@tukaani.org>
4615Date:   2015-02-26 13:01:09 +0200
4616
4617    Update NEWS for 5.2.1.
4618
4619 NEWS | 14 ++++++++++++++
4620 1 file changed, 14 insertions(+)
4621
4622commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd
4623Author: Lasse Collin <lasse.collin@tukaani.org>
4624Date:   2015-02-22 19:38:48 +0200
4625
4626    xz: Use pipe2() if available.
4627
4628 configure.ac     | 4 ++--
4629 src/xz/file_io.c | 9 ++++++++-
4630 2 files changed, 10 insertions(+), 3 deletions(-)
4631
4632commit 117d962685c72682c63edc9bb765367189800202
4633Author: Lasse Collin <lasse.collin@tukaani.org>
4634Date:   2015-02-21 23:40:26 +0200
4635
4636    liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode.
4637
4638    The bug was added in the commit
4639    f48fce093b07aeda95c18850f5e086d9f2383380 and thus
4640    affected 5.1.4beta and 5.2.0. Luckily the bug cannot
4641    cause data corruption or other nasty things.
4642
4643 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
4644 1 file changed, 1 insertion(+), 1 deletion(-)
4645
4646commit ae984e31c167d3bc52972ec422dd1ebd5f5d5719
4647Author: Lasse Collin <lasse.collin@tukaani.org>
4648Date:   2015-02-21 23:00:19 +0200
4649
4650    xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick.
4651
4652    Now it reads the old flags instead of blindly setting O_NONBLOCK.
4653    The old code may have worked correctly, but this is better.
4654
4655 src/xz/file_io.c | 16 +++++++++++-----
4656 1 file changed, 11 insertions(+), 5 deletions(-)
4657
4658commit 2205bb5853098aea36a56df6f5747037175f66b4
4659Author: Lasse Collin <lasse.collin@tukaani.org>
4660Date:   2015-02-10 15:29:34 +0200
4661
4662    Update THANKS.
4663
4664 THANKS | 1 +
4665 1 file changed, 1 insertion(+)
4666
4667commit d935b0cdf3db440269b9d952b2b281b18f8c7b08
4668Author: Lasse Collin <lasse.collin@tukaani.org>
4669Date:   2015-02-10 15:28:30 +0200
4670
4671    tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available.
4672
4673    In FreeBSD, cpuset_getaffinity() is the preferred way to get
4674    the number of available cores.
4675
4676    Thanks to Rui Paulo for the patch. I edited it slightly, but
4677    hopefully I didn't break anything.
4678
4679 m4/tuklib_cpucores.m4        | 23 ++++++++++++++++++++++-
4680 src/common/tuklib_cpucores.c | 18 ++++++++++++++++++
4681 2 files changed, 40 insertions(+), 1 deletion(-)
4682
4683commit eb61bc58c20769cac4d05f363b9c0e8c9c71a560
4684Author: Lasse Collin <lasse.collin@tukaani.org>
4685Date:   2015-02-09 22:08:37 +0200
4686
4687    xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp.
4688
4689    Thanks to Rui Paulo for the fix.
4690
4691 src/scripts/xzdiff.in | 7 ++++++-
4692 1 file changed, 6 insertions(+), 1 deletion(-)
4693
4694commit b9a5b6b7a29029680af733082b6a46e0fc01623a
4695Author: Lasse Collin <lasse.collin@tukaani.org>
4696Date:   2015-02-03 21:45:53 +0200
4697
4698    Add a few casts to tuklib_integer.h to silence possible warnings.
4699
4700    I heard that Visual Studio 2013 gave warnings without the casts.
4701
4702    Thanks to Gabi Davar.
4703
4704 src/common/tuklib_integer.h | 24 ++++++++++++------------
4705 1 file changed, 12 insertions(+), 12 deletions(-)
4706
4707commit c45757135f40e4a0de730ba5fff0100219493982
4708Author: Lasse Collin <lasse.collin@tukaani.org>
4709Date:   2015-01-26 21:24:39 +0200
4710
4711    liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method.
4712
4713 src/liblzma/common/memcmplen.h | 15 ++++++++++-----
4714 1 file changed, 10 insertions(+), 5 deletions(-)
4715
4716commit 3c500174ed5485f550972a2a6109c361e875f069
4717Author: Lasse Collin <lasse.collin@tukaani.org>
4718Date:   2015-01-26 20:40:16 +0200
4719
4720    Update THANKS.
4721
4722 THANKS | 1 +
4723 1 file changed, 1 insertion(+)
4724
4725commit fec88d41e672d9e197c9442aecf02bd0dfa6d516
4726Author: Lasse Collin <lasse.collin@tukaani.org>
4727Date:   2015-01-26 20:39:28 +0200
4728
4729    liblzma: Silence harmless Valgrind errors.
4730
4731    Thanks to Torsten Rupp for reporting this. I had
4732    forgotten to run Valgrind before the 5.2.0 release.
4733
4734 src/liblzma/lz/lz_encoder.c | 6 ++++++
4735 1 file changed, 6 insertions(+)
4736
4737commit a9b45badfec0928d20a27c7176c005fa637f7d1e
4738Author: Lasse Collin <lasse.collin@tukaani.org>
4739Date:   2015-01-09 21:50:19 +0200
4740
4741    xz: Fix comments.
4742
4743 src/xz/file_io.c | 12 ++++++++----
4744 1 file changed, 8 insertions(+), 4 deletions(-)
4745
4746commit 541aee6dd4aa97a809aba281475a21b641bb89e2
4747Author: Lasse Collin <lasse.collin@tukaani.org>
4748Date:   2015-01-09 21:35:06 +0200
4749
4750    Update THANKS.
4751
4752 THANKS | 1 +
4753 1 file changed, 1 insertion(+)
4754
4755commit 4170edc914655310d2363baccf5e615e09b04911
4756Author: Lasse Collin <lasse.collin@tukaani.org>
4757Date:   2015-01-09 21:34:06 +0200
4758
4759    xz: Don't fail if stdout doesn't support O_NONBLOCK.
4760
4761    This is similar to the case with stdin.
4762
4763    Thanks to Brad Smith for the bug report and testing
4764    on OpenBSD.
4765
4766 src/xz/file_io.c | 36 +++++++++++++++---------------------
4767 1 file changed, 15 insertions(+), 21 deletions(-)
4768
4769commit 04bbc0c2843c50c8ad1cba42b937118e38b0508d
4770Author: Lasse Collin <lasse.collin@tukaani.org>
4771Date:   2015-01-07 19:18:20 +0200
4772
4773    xz: Fix a memory leak in DOS-specific code.
4774
4775 src/xz/file_io.c | 2 ++
4776 1 file changed, 2 insertions(+)
4777
4778commit f0f1f6c7235ffa901cf76fe18e33749e200b3eea
4779Author: Lasse Collin <lasse.collin@tukaani.org>
4780Date:   2015-01-07 19:08:06 +0200
4781
4782    xz: Don't fail if stdin doesn't support O_NONBLOCK.
4783
4784    It's a problem at least on OpenBSD which doesn't support
4785    O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's
4786    a problem on other OSes too since this behavior is allowed
4787    in POSIX-1.2008.
4788
4789    The code relying on this behavior was committed in June 2013
4790    and included in 5.1.3alpha released on 2013-10-26. Clearly
4791    the development releases only get limited testing.
4792
4793 src/xz/file_io.c | 18 +++++++-----------
4794 1 file changed, 7 insertions(+), 11 deletions(-)
4795
4796commit d2d484647d9d9d679f03c75abb0404f67069271c
4797Author: Lasse Collin <lasse.collin@tukaani.org>
4798Date:   2015-01-06 20:30:15 +0200
4799
4800    Tests: Don't hide unexpected error messages in test_files.sh.
4801
4802    Hiding them makes no sense since normally there's no error
4803    when testing the "good" files. With "bad" files errors are
4804    expected and then it makes sense to keep the messages hidden.
4805
4806 tests/test_files.sh | 4 ++--
4807 1 file changed, 2 insertions(+), 2 deletions(-)
4808
4809commit aae6a6aeda51cf94a47e39ad624728f9bee75e30
4810Author: Lasse Collin <lasse.collin@tukaani.org>
4811Date:   2014-12-30 11:17:16 +0200
4812
4813    Update Solaris notes in INSTALL.
4814
4815    Mention the possible "make check" failure on Solaris in the
4816    Solaris-specific section of INSTALL. It was already in
4817    section 4.5 but it is better mention it in the OS-specific
4818    section too.
4819
4820 INSTALL | 4 ++++
4821 1 file changed, 4 insertions(+)
4822
4823commit 7815112153178800a3521b9f31960e7cdc26cfba
4824Author: Lasse Collin <lasse.collin@tukaani.org>
4825Date:   2014-12-26 12:00:05 +0200
4826
4827    Build: POSIX shell isn't required if scripts are disabled.
4828
4829 INSTALL      | 3 ++-
4830 configure.ac | 2 +-
4831 2 files changed, 3 insertions(+), 2 deletions(-)
4832
4833commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a
4834Author: Lasse Collin <lasse.collin@tukaani.org>
4835Date:   2014-12-21 20:48:37 +0200
4836
4837    DOS: Update Makefile.
4838
4839 dos/Makefile | 1 +
4840 1 file changed, 1 insertion(+)
4841
4842commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e
4843Author: Lasse Collin <lasse.collin@tukaani.org>
4844Date:   2014-12-21 19:50:38 +0200
4845
4846    Windows: Fix bin_i486 to bin_i686 in build.bash.
4847
4848 windows/build.bash | 2 +-
4849 1 file changed, 1 insertion(+), 1 deletion(-)
4850
4851commit cbafa710918195dbba3db02c3fab4f0538235206
4852Author: Lasse Collin <lasse.collin@tukaani.org>
4853Date:   2014-12-21 18:58:44 +0200
4854
4855    Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c.
4856
4857 doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++----
4858 1 file changed, 26 insertions(+), 4 deletions(-)
4859
4860commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a
4861Author: Lasse Collin <lasse.collin@tukaani.org>
4862Date:   2014-12-21 18:56:44 +0200
4863
4864    Docs: Update docs/examples/00_README.txt.
4865
4866 doc/examples/00_README.txt | 4 ++++
4867 1 file changed, 4 insertions(+)
4868
4869commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6
4870Author: Lasse Collin <lasse.collin@tukaani.org>
4871Date:   2014-12-21 18:11:17 +0200
4872
4873    Bump version and soname for 5.2.0.
4874
4875    I know that soname != app version, but I skip AGE=1
4876    in -version-info to make the soname match the liblzma
4877    version anyway. It doesn't hurt anything as long as
4878    it doesn't conflict with library versioning rules.
4879
4880 src/liblzma/Makefile.am        | 2 +-
4881 src/liblzma/api/lzma/version.h | 6 +++---
4882 src/liblzma/liblzma.map        | 2 +-
4883 3 files changed, 5 insertions(+), 5 deletions(-)
4884
4885commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da
4886Author: Lasse Collin <lasse.collin@tukaani.org>
4887Date:   2014-12-21 18:05:03 +0200
4888
4889    Avoid variable-length arrays in the debug programs.
4890
4891 debug/full_flush.c | 3 ++-
4892 debug/sync_flush.c | 3 ++-
4893 2 files changed, 4 insertions(+), 2 deletions(-)
4894
4895commit 72f7307cfdceb941aeb2bf30d424cc0d13621786
4896Author: Lasse Collin <lasse.collin@tukaani.org>
4897Date:   2014-12-21 18:01:45 +0200
4898
4899    Build: Include 04_compress_easy_mt.c in the tarball.
4900
4901 Makefile.am | 1 +
4902 1 file changed, 1 insertion(+)
4903
4904commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0
4905Author: Lasse Collin <lasse.collin@tukaani.org>
4906Date:   2014-12-21 18:00:38 +0200
4907
4908    Fix build when --disable-threads is used.
4909
4910 src/common/mythread.h | 2 ++
4911 1 file changed, 2 insertions(+)
4912
4913commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17
4914Author: Adrien Nader <adrien@notk.org>
4915Date:   2014-12-21 15:56:15 +0100
4916
4917    po/fr: improve wording for help for --lzma1/--lzma2.
4918
4919 po/fr.po | 2 +-
4920 1 file changed, 1 insertion(+), 1 deletion(-)
4921
4922commit a8b6b569e7fadbf5b5b9139d53bc764015c15027
4923Author: Adrien Nader <adrien@notk.org>
4924Date:   2014-12-21 15:55:48 +0100
4925
4926    po/fr: missing line in translation of --extreme.
4927
4928 po/fr.po | 1 +
4929 1 file changed, 1 insertion(+)
4930
4931commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9
4932Author: Lasse Collin <lasse.collin@tukaani.org>
4933Date:   2014-12-21 14:32:33 +0200
4934
4935    Update NEWS for 5.2.0.
4936
4937 NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4938 1 file changed, 65 insertions(+)
4939
4940commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429
4941Author: Lasse Collin <lasse.collin@tukaani.org>
4942Date:   2014-12-21 14:32:22 +0200
4943
4944    Update NEWS for 5.0.8.
4945
4946 NEWS | 12 ++++++++++++
4947 1 file changed, 12 insertions(+)
4948
4949commit 42e97a32649bf53ce43be2258b902a417c6e7fa1
4950Author: Lasse Collin <lasse.collin@tukaani.org>
4951Date:   2014-12-21 14:07:54 +0200
4952
4953    xz: Fix a comment.
4954
4955 src/xz/options.c | 4 ++--
4956 1 file changed, 2 insertions(+), 2 deletions(-)
4957
4958commit 29b95d5d6665cedffa6a9d6d3d914f981e852182
4959Author: Lasse Collin <lasse.collin@tukaani.org>
4960Date:   2014-12-20 20:43:14 +0200
4961
4962    Update INSTALL about the dependencies of the scripts.
4963
4964 INSTALL | 15 ++++++++++-----
4965 1 file changed, 10 insertions(+), 5 deletions(-)
4966
4967commit 3af91040bb42c21afbb81f5568c3313125e61192
4968Author: Lasse Collin <lasse.collin@tukaani.org>
4969Date:   2014-12-20 20:42:33 +0200
4970
4971    Windows: Update build instructions.
4972
4973 INSTALL                     | 15 +++++++++------
4974 windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++-----------------------
4975 2 files changed, 30 insertions(+), 29 deletions(-)
4976
4977commit 0152f72bf6289d744823dc6c849538f3a139ad70
4978Author: Lasse Collin <lasse.collin@tukaani.org>
4979Date:   2014-12-20 20:41:48 +0200
4980
4981    Windows: Update the build script and README-Windows.txt.
4982
4983    The 32-bit build is now for i686 or newer because the
4984    prebuilt MinGW-w64 toolchains include i686 code in the
4985    executables even if one uses -march=i486.
4986
4987    The build script builds 32-bit SSE2 enabled version too.
4988    Run-time detection of SSE2 support would be nice (on any OS)
4989    but it's not implemented in XZ Utils yet.
4990
4991 windows/README-Windows.txt | 30 ++++++++++++++++--------------
4992 windows/build.bash         | 23 ++++++++++++++---------
4993 2 files changed, 30 insertions(+), 23 deletions(-)
4994
4995commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a
4996Author: Lasse Collin <lasse.collin@tukaani.org>
4997Date:   2014-12-19 15:51:50 +0200
4998
4999    Windows: Define TUKLIB_SYMBOL_PREFIX in config.h.
5000
5001    It is to keep all symbols in the lzma_ namespace.
5002
5003 windows/config.h | 3 +++
5004 1 file changed, 3 insertions(+)
5005
5006commit 7f7d093de79eee0c7dbfd7433647e46302f19f82
5007Author: Lasse Collin <lasse.collin@tukaani.org>
5008Date:   2014-12-16 21:00:09 +0200
5009
5010    xz: Update the man page about --threads.
5011
5012 src/xz/xz.1 | 5 -----
5013 1 file changed, 5 deletions(-)
5014
5015commit 009823448b82aa5f465668878a544c5842885407
5016Author: Lasse Collin <lasse.collin@tukaani.org>
5017Date:   2014-12-16 20:57:43 +0200
5018
5019    xz: Update the man page about --block-size.
5020
5021 src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++--------
5022 1 file changed, 33 insertions(+), 8 deletions(-)
5023
5024commit 7dddfbeb499e528940bc12047355c184644aafe9
5025Author: Adrien Nader <adrien@notk.org>
5026Date:   2014-12-10 22:26:57 +0100
5027
5028    po/fr: several more translation updates: reword and handle --ignore-check.
5029
5030 po/fr.po | 50 ++++++++++++++++++++++++++------------------------
5031 1 file changed, 26 insertions(+), 24 deletions(-)
5032
5033commit 6eca5be40e04ddc4b738d493e4e56835956d8b69
5034Author: Adrien Nader <adrien@notk.org>
5035Date:   2014-12-10 22:23:01 +0100
5036
5037    po/fr: yet another place where my email address had to be updated.
5038
5039 po/fr.po | 2 +-
5040 1 file changed, 1 insertion(+), 1 deletion(-)
5041
5042commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7
5043Author: Adrien Nader <adrien@notk.org>
5044Date:   2014-12-10 22:22:20 +0100
5045
5046    po/fr: fix several typos that have been around since the beginning.
5047
5048 po/fr.po | 22 +++++++++++-----------
5049 1 file changed, 11 insertions(+), 11 deletions(-)
5050
5051commit 4c5aa911a0df027e46171e368debc543d2fa72b2
5052Author: Adrien Nader <adrien@notk.org>
5053Date:   2014-12-03 20:02:31 +0100
5054
5055    po/fr: last batch of new translations for now.
5056
5057    Four new error messages.
5058
5059 po/fr.po | 16 ++++++++--------
5060 1 file changed, 8 insertions(+), 8 deletions(-)
5061
5062commit 3e3099e36d27059499e7996fb38a62e8ab01d356
5063Author: Adrien Nader <adrien@notk.org>
5064Date:   2014-12-03 20:01:32 +0100
5065
5066    po/fr: translations for --threads, --block-size and --block-list.
5067
5068 po/fr.po | 12 ++++++++----
5069 1 file changed, 8 insertions(+), 4 deletions(-)
5070
5071commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53
5072Author: Adrien Nader <adrien@notk.org>
5073Date:   2014-12-03 20:00:53 +0100
5074
5075    po/fr: remove fuzzy marker for error messages that will be kept in English.
5076
5077    The following is a copy of a comment inside fr.po:
5078
5079    Note from translator on "file status flags".
5080    The following entry is kept un-translated on purpose. It is difficult to
5081    translate and should only happen in exceptional circumstances which means
5082    that translating would:
5083    - lose some of the meaning
5084    - make it more difficult to look up in search engines; it might happen one
5085    in
5086    a million times, if we dilute the error message in 20 languages, it will be
5087    almost impossible to find an explanation and support for the error.
5088
5089 po/fr.po | 22 ++++++++++++++++------
5090 1 file changed, 16 insertions(+), 6 deletions(-)
5091
5092commit 46cbb9033af8a21fafe543302d6919746e0d72af
5093Author: Adrien Nader <adrien@notk.org>
5094Date:   2014-12-03 19:58:25 +0100
5095
5096    po/fr: several minor updates and better wording.
5097
5098    Meaning doesn't change at all: it's only for better wording and/or
5099    formatting of a few strings.
5100
5101 po/fr.po | 14 +++++++-------
5102 1 file changed, 7 insertions(+), 7 deletions(-)
5103
5104commit 7ce49d444f04e73145f79c832eb4d510594b074a
5105Author: Adrien Nader <adrien@notk.org>
5106Date:   2014-12-03 19:56:12 +0100
5107
5108    po/fr: update my email address and copyright years.
5109
5110 po/fr.po | 4 ++--
5111 1 file changed, 2 insertions(+), 2 deletions(-)
5112
5113commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c
5114Author: Adrien Nader <adrien@notk.org>
5115Date:   2014-11-26 10:08:26 +0100
5116
5117    fr.po: commit file after only "update-po" so actual is readable.
5118
5119 po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++-----------------------
5120 1 file changed, 199 insertions(+), 112 deletions(-)
5121
5122commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b
5123Author: Lasse Collin <lasse.collin@tukaani.org>
5124Date:   2014-12-02 20:04:07 +0200
5125
5126    liblzma: Document how lzma_mt.block_size affects memory usage.
5127
5128 src/liblzma/api/lzma/container.h | 4 ++++
5129 1 file changed, 4 insertions(+)
5130
5131commit e4fc1d2f9571fba79ce383595be2ea2a9257def0
5132Author: Lasse Collin <lasse.collin@tukaani.org>
5133Date:   2014-11-28 20:07:18 +0200
5134
5135    Update INSTALL about a "make check" failure in test_scripts.sh.
5136
5137 INSTALL | 24 +++++++++++++++++-------
5138 1 file changed, 17 insertions(+), 7 deletions(-)
5139
5140commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe
5141Author: Lasse Collin <lasse.collin@tukaani.org>
5142Date:   2014-11-26 20:12:27 +0200
5143
5144    Remove LZMA_UNSTABLE macro.
5145
5146 src/liblzma/api/lzma/container.h | 4 ----
5147 src/liblzma/common/common.h      | 2 --
5148 src/xz/private.h                 | 1 -
5149 3 files changed, 7 deletions(-)
5150
5151commit 6d9c0ce9f2677b159e32b224aba5b535b304a705
5152Author: Lasse Collin <lasse.collin@tukaani.org>
5153Date:   2014-11-26 20:10:33 +0200
5154
5155    liblzma: Update lzma_stream_encoder_mt() API docs.
5156
5157 src/liblzma/api/lzma/container.h | 5 +++--
5158 1 file changed, 3 insertions(+), 2 deletions(-)
5159
5160commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3
5161Author: Lasse Collin <lasse.collin@tukaani.org>
5162Date:   2014-11-25 12:32:05 +0200
5163
5164    liblzma: Verify the filter chain in threaded encoder initialization.
5165
5166    This way an invalid filter chain is detected at the Stream
5167    encoder initialization instead of delaying it to the first
5168    call to lzma_code() which triggers the initialization of
5169    the actual filter encoder(s).
5170
5171 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
5172 1 file changed, 6 insertions(+), 3 deletions(-)
5173
5174commit 107a263d5bb63cd3593fd6a5c938706539f84523
5175Author: Lasse Collin <lasse.collin@tukaani.org>
5176Date:   2014-11-17 19:11:49 +0200
5177
5178    Build: Update m4/ax_pthread.m4 from Autoconf Archive.
5179
5180 m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++-------------------
5181 1 file changed, 47 insertions(+), 24 deletions(-)
5182
5183commit b13a781833399ff5726cfc997f3cb2f0acbdbf31
5184Author: Lasse Collin <lasse.collin@tukaani.org>
5185Date:   2014-11-17 18:52:21 +0200
5186
5187    Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING.
5188
5189 configure.ac         | 36 ++++++++++++++++++------------------
5190 m4/tuklib_integer.m4 |  2 +-
5191 2 files changed, 19 insertions(+), 19 deletions(-)
5192
5193commit 542cac122ed3550148a2af0033af22b757491378
5194Author: Lasse Collin <lasse.collin@tukaani.org>
5195Date:   2014-11-17 18:43:19 +0200
5196
5197    Build: Fix Autoconf warnings about escaped backquotes.
5198
5199    Thanks to Daniel Richard G. for pointing out that it's
5200    good to sometimes run autoreconf -fi with -Wall.
5201
5202 configure.ac | 7 +++----
5203 1 file changed, 3 insertions(+), 4 deletions(-)
5204
5205commit 7b03a15cea8cd4f19ed680b51c4bcbae3ce4142f
5206Author: Lasse Collin <lasse.collin@tukaani.org>
5207Date:   2014-11-10 18:54:40 +0200
5208
5209    xzdiff: Use mkdir if mktemp isn't available.
5210
5211 src/scripts/xzdiff.in | 17 ++++++++++++++++-
5212 1 file changed, 16 insertions(+), 1 deletion(-)
5213
5214commit f8c13e5e3609581d5dd9f8777985ca07f2390ad7
5215Author: Lasse Collin <lasse.collin@tukaani.org>
5216Date:   2014-11-10 18:45:01 +0200
5217
5218    xzdiff: Create a temporary directory to hold a temporary file.
5219
5220    This avoids the possibility of "File name too long" when
5221    creating a temp file when the input file name is very long.
5222
5223    This also means that other users on the system can no longer
5224    see the input file names in /tmp (or whatever $TMPDIR is)
5225    since the temporary directory will have a generic name. This
5226    usually doesn't matter since on many systems one can see
5227    the arguments given to all processes anyway.
5228
5229    The number X chars to mktemp where increased from 6 to 10.
5230
5231    Note that with some shells temp files or dirs won't be used at all.
5232
5233 src/scripts/xzdiff.in | 10 +++++-----
5234 1 file changed, 5 insertions(+), 5 deletions(-)
5235
5236commit 7716dcf9df7f457500cb657314e7a9aea5fedb06
5237Author: Lasse Collin <lasse.collin@tukaani.org>
5238Date:   2014-11-10 15:38:47 +0200
5239
5240    liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage().
5241
5242    It read the filter chain from a wrong variable. This is a similar
5243    bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e.
5244
5245 src/liblzma/common/stream_encoder_mt.c | 3 +--
5246 1 file changed, 1 insertion(+), 2 deletions(-)
5247
5248commit 230fa4a605542c84b4178a57381695a0af4e779b
5249Author: Lasse Collin <lasse.collin@tukaani.org>
5250Date:   2014-11-10 14:49:55 +0200
5251
5252    Update THANKS.
5253
5254 THANKS | 1 +
5255 1 file changed, 1 insertion(+)
5256
5257commit 4e4ae08bc7c1711e399c9f2d26eb375d39d08101
5258Author: Lasse Collin <lasse.collin@tukaani.org>
5259Date:   2014-10-29 21:28:25 +0200
5260
5261    Update .gitignore files.
5262
5263 .gitignore    | 2 ++
5264 m4/.gitignore | 3 +++
5265 2 files changed, 5 insertions(+)
5266
5267commit c923b140b27d1a055db6284e10fd546ad1a7fcdb
5268Author: Lasse Collin <lasse.collin@tukaani.org>
5269Date:   2014-10-29 21:15:35 +0200
5270
5271    Build: Prepare to support Automake's subdir-objects.
5272
5273    Due to a bug in Automake, subdir-objects won't be enabled
5274    for now.
5275
5276    http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354
5277
5278    Thanks to Daniel Richard G. for the original patches.
5279
5280 configure.ac             |  7 ++++++-
5281 src/Makefile.am          | 22 +++++++++++++++++++++-
5282 src/liblzma/Makefile.am  |  4 ++--
5283 src/lzmainfo/Makefile.am |  4 ++--
5284 src/xz/Makefile.am       | 10 +++++-----
5285 src/xzdec/Makefile.am    |  8 ++++----
5286 6 files changed, 40 insertions(+), 15 deletions(-)
5287
5288commit 08c2aa16bea0df82828f665d51fba2e0a5e8997f
5289Author: Lasse Collin <lasse.collin@tukaani.org>
5290Date:   2014-10-24 20:09:29 +0300
5291
5292    Translations: Update the Italian translation.
5293
5294    Thanks to Milo Casagrande.
5295
5296 po/it.po | 452 ++++++++++++++++++++++++++++++++++++++-------------------------
5297 1 file changed, 275 insertions(+), 177 deletions(-)
5298
5299commit 2f9f61aa83539c54ff6c118a2693890f0519b3dd
5300Author: Lasse Collin <lasse.collin@tukaani.org>
5301Date:   2014-10-18 18:51:45 +0300
5302
5303    Translations: Update the Polish translation.
5304
5305    Thanks to Jakub Bogusz.
5306
5307 po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++-----------------------
5308 1 file changed, 214 insertions(+), 118 deletions(-)
5309
5310commit 4f9d233f67aea25e532824d11b7642cf7dee7a76
5311Author: Andre Noll <maan@tuebingen.mpg.de>
5312Date:   2014-10-14 17:30:30 +0200
5313
5314    l10n: de.po: Change translator email address.
5315
5316    Although the old address is still working, the new one should
5317    be preferred. So this commit changes all three places in de.po
5318    accordingly.
5319
5320    Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>
5321
5322 po/de.po | 6 +++---
5323 1 file changed, 3 insertions(+), 3 deletions(-)
5324
5325commit 00502b2bedad43f0cc167ac17ae0608837ee196b
5326Author: Andre Noll <maan@tuebingen.mpg.de>
5327Date:   2014-10-14 17:30:29 +0200
5328
5329    l10n: de.po: Update German translation
5330
5331    Signed-off-by: Andre Noll <maan@systemlinux.org>
5332
5333 po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------
5334 1 file changed, 281 insertions(+), 250 deletions(-)
5335
5336commit 706b0496753fb609e69f1570ec603f11162189d1
5337Author: Andre Noll <maan@tuebingen.mpg.de>
5338Date:   2014-10-14 17:30:28 +0200
5339
5340    l10n: de.po: Fix typo: Schießen -> Schließen.
5341
5342    That's a funny one since "schießen" means to shoot :)
5343
5344    Signed-off-by: Andre Noll <maan@systemlinux.org>
5345
5346 po/de.po | 2 +-
5347 1 file changed, 1 insertion(+), 1 deletion(-)
5348
5349commit 7c32e6a935c3d7ee366abad1679bd5f322f0c7d4
5350Author: Lasse Collin <lasse.collin@tukaani.org>
5351Date:   2014-10-09 19:42:26 +0300
5352
5353    Update THANKS.
5354
5355 THANKS | 1 +
5356 1 file changed, 1 insertion(+)
5357
5358commit 076258cc458f1e705041ac7a729b15ffe8c5214a
5359Author: Lasse Collin <lasse.collin@tukaani.org>
5360Date:   2014-10-09 19:41:51 +0300
5361
5362    Add support for AmigaOS/AROS to tuklib_physmem().
5363
5364    Thanks to Fredrik Wikstrom.
5365
5366 m4/tuklib_physmem.m4        | 3 ++-
5367 src/common/tuklib_physmem.c | 7 +++++++
5368 2 files changed, 9 insertions(+), 1 deletion(-)
5369
5370commit efa7b0a210e1baa8e128fc98c5443a944c39ad24
5371Author: Lasse Collin <lasse.collin@tukaani.org>
5372Date:   2014-10-09 18:42:14 +0300
5373
5374    xzgrep: Avoid passing both -q and -l to grep.
5375
5376    The behavior of grep -ql varies:
5377      - GNU grep behaves like grep -q.
5378      - OpenBSD grep behaves like grep -l.
5379
5380    POSIX doesn't make it 100 % clear what behavior is expected.
5381    Anyway, using both -q and -l at the same time makes no sense
5382    so both options simply should never be used at the same time.
5383
5384    Thanks to Christian Weisgerber.
5385
5386 src/scripts/xzgrep.in | 6 ++++--
5387 1 file changed, 4 insertions(+), 2 deletions(-)
5388
5389commit 9c5f76098c9986b48d2fc574a0b764f4cde0c538
5390Author: Trần Ngọc Quân <vnwildman@gmail.com>
5391Date:   2014-09-25 09:22:45 +0700
5392
5393    l10n: vi.po: Update Vietnamese translation
5394
5395    Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
5396
5397 po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------
5398 1 file changed, 84 insertions(+), 52 deletions(-)
5399
5400commit c4911f2db36d811896c73c008b4218d8fa9a4730
5401Author: Lasse Collin <lasse.collin@tukaani.org>
5402Date:   2014-09-25 18:38:48 +0300
5403
5404    Build: Detect supported compiler warning flags better.
5405
5406    Clang and nowadays also GCC accept any -Wfoobar option
5407    but then may give a warning that an unknown warning option
5408    was specified. To avoid adding unsupported warning options,
5409    the options are now tested with -Werror.
5410
5411    Thanks to Charles Diza.
5412
5413 configure.ac | 5 +++--
5414 1 file changed, 3 insertions(+), 2 deletions(-)
5415
5416commit 76e75522ed6f5c228d55587dee5a997893f6e474
5417Author: Lasse Collin <lasse.collin@tukaani.org>
5418Date:   2014-09-20 21:01:21 +0300
5419
5420    Update NEWS for 5.0.7.
5421
5422 NEWS | 11 +++++++++++
5423 1 file changed, 11 insertions(+)
5424
5425commit d62028b4c1174fc67b6929f126f5eb24c018c700
5426Author: Lasse Collin <lasse.collin@tukaani.org>
5427Date:   2014-09-20 19:42:56 +0300
5428
5429    liblzma: Fix a portability problem in Makefile.am.
5430
5431    POSIX supports $< only in inference rules (suffix rules).
5432    Using it elsewhere is a GNU make extension and doesn't
5433    work e.g. with OpenBSD make.
5434
5435    Thanks to Christian Weisgerber for the patch.
5436
5437 src/liblzma/Makefile.am | 2 +-
5438 1 file changed, 1 insertion(+), 1 deletion(-)
5439
5440commit c35de31d4283edad3e57d37ffe939406542cb7bb
5441Author: Lasse Collin <lasse.collin@tukaani.org>
5442Date:   2014-09-14 21:54:09 +0300
5443
5444    Bump the version number to 5.1.4beta.
5445
5446 src/liblzma/api/lzma/version.h | 4 ++--
5447 src/liblzma/liblzma.map        | 2 +-
5448 2 files changed, 3 insertions(+), 3 deletions(-)
5449
5450commit e9e097e22cacdaa23e5414fea7913535449cb340
5451Author: Lasse Collin <lasse.collin@tukaani.org>
5452Date:   2014-09-14 21:50:13 +0300
5453
5454    Update NEWS for 5.0.6 and 5.1.4beta.
5455
5456 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
5457 1 file changed, 50 insertions(+)
5458
5459commit 642f856bb8562ab66704b1e01ac7bc08b6d0a663
5460Author: Lasse Collin <lasse.collin@tukaani.org>
5461Date:   2014-09-14 21:02:41 +0300
5462
5463    Update TODO.
5464
5465 TODO | 38 ++++++++++++++++++++++++++++++++++----
5466 1 file changed, 34 insertions(+), 4 deletions(-)
5467
5468commit 6b5e3b9eff5b8cedb2aac5f524d4d60fc8a48124
5469Author: Lasse Collin <lasse.collin@tukaani.org>
5470Date:   2014-08-05 22:32:36 +0300
5471
5472    xz: Add --ignore-check.
5473
5474 src/xz/args.c    |  7 +++++++
5475 src/xz/args.h    |  1 +
5476 src/xz/coder.c   | 10 +++++++++-
5477 src/xz/message.c |  2 ++
5478 src/xz/xz.1      | 19 +++++++++++++++++++
5479 5 files changed, 38 insertions(+), 1 deletion(-)
5480
5481commit 9adbc2ff373f979c917cdfd3679ce0ebd59f1040
5482Author: Lasse Collin <lasse.collin@tukaani.org>
5483Date:   2014-08-05 22:15:07 +0300
5484
5485    liblzma: Add support for LZMA_IGNORE_CHECK.
5486
5487 src/liblzma/api/lzma/container.h    | 24 ++++++++++++++++++++++++
5488 src/liblzma/common/common.h         |  1 +
5489 src/liblzma/common/stream_decoder.c | 14 ++++++++++++--
5490 3 files changed, 37 insertions(+), 2 deletions(-)
5491
5492commit 0e0f34b8e4f1c60ecaec15c2105982381cc9c3e6
5493Author: Lasse Collin <lasse.collin@tukaani.org>
5494Date:   2014-08-05 22:03:30 +0300
5495
5496    liblzma: Add support for lzma_block.ignore_check.
5497
5498    Note that this slightly changes how lzma_block_header_decode()
5499    has been documented. Earlier it said that the .version is set
5500    to the lowest required value, but now it says that the .version
5501    field is kept unchanged if possible. In practice this doesn't
5502    affect any old code, because before this commit the only
5503    possible .version was 0.
5504
5505 src/liblzma/api/lzma/block.h              | 50 ++++++++++++++++++++++++-------
5506 src/liblzma/common/block_buffer_encoder.c |  2 +-
5507 src/liblzma/common/block_decoder.c        | 18 ++++++++---
5508 src/liblzma/common/block_encoder.c        |  2 +-
5509 src/liblzma/common/block_header_decoder.c | 12 ++++++--
5510 src/liblzma/common/block_header_encoder.c |  2 +-
5511 src/liblzma/common/block_util.c           |  2 +-
5512 7 files changed, 68 insertions(+), 20 deletions(-)
5513
5514commit 71e1437ab585b46f7a25f5a131557d3d1c0cbaa2
5515Author: Lasse Collin <lasse.collin@tukaani.org>
5516Date:   2014-08-04 19:25:58 +0300
5517
5518    liblzma: Use lzma_memcmplen() in the BT3 match finder.
5519
5520    I had missed this when writing the commit
5521    5db75054e900fa06ef5ade5f2c21dffdd5d16141.
5522
5523    Thanks to Jun I Jin.
5524
5525 src/liblzma/lz/lz_encoder_mf.c | 5 ++---
5526 1 file changed, 2 insertions(+), 3 deletions(-)
5527
5528commit 41dc9ea06e1414ebe8ef52afc8fc15b6e3282b04
5529Author: Lasse Collin <lasse.collin@tukaani.org>
5530Date:   2014-08-04 00:25:44 +0300
5531
5532    Update THANKS.
5533
5534 THANKS | 1 +
5535 1 file changed, 1 insertion(+)
5536
5537commit 5dcffdbcc23a68abc3ac3539b30be71bc9b5af84
5538Author: Lasse Collin <lasse.collin@tukaani.org>
5539Date:   2014-08-03 21:32:25 +0300
5540
5541    liblzma: SHA-256: Optimize the Maj macro slightly.
5542
5543    The Maj macro is used where multiple things are added
5544    together, so making Maj a sum of two expressions allows
5545    some extra freedom for the compiler to schedule the
5546    instructions.
5547
5548    I learned this trick from
5549    <http://www.hackersdelight.org/corres.txt>.
5550
5551 src/liblzma/check/sha256.c | 2 +-
5552 1 file changed, 1 insertion(+), 1 deletion(-)
5553
5554commit a9477d1e0c6fd0e47e637d051e7b9e2a5d9af517
5555Author: Lasse Collin <lasse.collin@tukaani.org>
5556Date:   2014-08-03 21:08:12 +0300
5557
5558    liblzma: SHA-256: Optimize the way rotations are done.
5559
5560    This looks weird because the rotations become sequential,
5561    but it helps quite a bit on both 32-bit and 64-bit x86:
5562
5563      - It requires fewer instructions on two-operand
5564        instruction sets like x86.
5565
5566      - It requires one register less which matters especially
5567        on 32-bit x86.
5568
5569    I hope this doesn't hurt other archs.
5570
5571    I didn't invent this idea myself, but I don't remember where
5572    I saw it first.
5573
5574 src/liblzma/check/sha256.c | 17 +++++++++++------
5575 1 file changed, 11 insertions(+), 6 deletions(-)
5576
5577commit 5a76c7c8ee9a0afbeedb1c211db9224260404347
5578Author: Lasse Collin <lasse.collin@tukaani.org>
5579Date:   2014-08-03 20:38:13 +0300
5580
5581    liblzma: SHA-256: Remove the GCC #pragma that became unneeded.
5582
5583    The unrolling in the previous commit should avoid the
5584    situation where a compiler may think that an uninitialized
5585    variable might be accessed.
5586
5587 src/liblzma/check/sha256.c | 5 -----
5588 1 file changed, 5 deletions(-)
5589
5590commit 9a096f8e57509775c331950b8351bbca77bdcfa8
5591Author: Lasse Collin <lasse.collin@tukaani.org>
5592Date:   2014-08-03 20:33:38 +0300
5593
5594    liblzma: SHA-256: Unroll a little more.
5595
5596    This way a branch isn't needed for each operation
5597    to choose between blk0 and blk2, and still the code
5598    doesn't grow as much as it would with full unrolling.
5599
5600 src/liblzma/check/sha256.c | 25 ++++++++++++++++---------
5601 1 file changed, 16 insertions(+), 9 deletions(-)
5602
5603commit bc7650d87bf27f85f1a2a806dc2db1780e09e6a5
5604Author: Lasse Collin <lasse.collin@tukaani.org>
5605Date:   2014-08-03 19:56:43 +0300
5606
5607    liblzma: SHA-256: Do the byteswapping without a temporary buffer.
5608
5609 src/liblzma/check/sha256.c | 13 +------------
5610 1 file changed, 1 insertion(+), 12 deletions(-)
5611
5612commit 544aaa3d13554e8640f9caf7db717a96360ec0f6
5613Author: Lasse Collin <lasse.collin@tukaani.org>
5614Date:   2014-07-25 22:38:28 +0300
5615
5616    liblzma: Use lzma_memcmplen() in normal mode of LZMA.
5617
5618    Two locations were not changed yet because the simplest change
5619    assumes that the initial "len" may be greater than "limit".
5620
5621 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++---------------
5622 1 file changed, 5 insertions(+), 15 deletions(-)
5623
5624commit f48fce093b07aeda95c18850f5e086d9f2383380
5625Author: Lasse Collin <lasse.collin@tukaani.org>
5626Date:   2014-07-25 22:30:38 +0300
5627
5628    liblzma: Simplify LZMA fast mode code by using memcmp().
5629
5630 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +----------
5631 1 file changed, 1 insertion(+), 10 deletions(-)
5632
5633commit 6bf5308e34e23dede5b301b1b9b4f131dacd9218
5634Author: Lasse Collin <lasse.collin@tukaani.org>
5635Date:   2014-07-25 22:29:49 +0300
5636
5637    liblzma: Use lzma_memcmplen() in fast mode of LZMA.
5638
5639 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++---
5640 1 file changed, 3 insertions(+), 3 deletions(-)
5641
5642commit 353212137e51e45b105a3a3fc2e6879f1cf0d492
5643Author: Lasse Collin <lasse.collin@tukaani.org>
5644Date:   2014-07-25 21:16:23 +0300
5645
5646    Update THANKS.
5647
5648 THANKS | 1 +
5649 1 file changed, 1 insertion(+)
5650
5651commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141
5652Author: Lasse Collin <lasse.collin@tukaani.org>
5653Date:   2014-07-25 21:15:07 +0300
5654
5655    liblzma: Use lzma_memcmplen() in the match finders.
5656
5657    This doesn't change the match finder output.
5658
5659 src/liblzma/lz/lz_encoder.c    | 13 ++++++++++++-
5660 src/liblzma/lz/lz_encoder_mf.c | 33 +++++++++++----------------------
5661 2 files changed, 23 insertions(+), 23 deletions(-)
5662
5663commit e1c8f1d01f4a4e2136173edab2dc63c71ef038f4
5664Author: Lasse Collin <lasse.collin@tukaani.org>
5665Date:   2014-07-25 20:57:20 +0300
5666
5667    liblzma: Add lzma_memcmplen() for fast memory comparison.
5668
5669    This commit just adds the function. Its uses will be in
5670    separate commits.
5671
5672    This hasn't been tested much yet and it's perhaps a bit early
5673    to commit it but if there are bugs they should get found quite
5674    quickly.
5675
5676    Thanks to Jun I Jin from Intel for help and for pointing out
5677    that string comparison needs to be optimized in liblzma.
5678
5679 configure.ac                    |  13 +++
5680 src/liblzma/common/Makefile.inc |   1 +
5681 src/liblzma/common/memcmplen.h  | 170 ++++++++++++++++++++++++++++++++++++++++
5682 3 files changed, 184 insertions(+)
5683
5684commit 765735cf52e5123586e74a51b9c073b5257f631f
5685Author: Lasse Collin <lasse.collin@tukaani.org>
5686Date:   2014-07-12 21:10:09 +0300
5687
5688    Update THANKS.
5689
5690 THANKS | 1 +
5691 1 file changed, 1 insertion(+)
5692
5693commit 59da01785ef66c7e62f36e70ca808fd2824bb995
5694Author: Lasse Collin <lasse.collin@tukaani.org>
5695Date:   2014-07-12 20:06:08 +0300
5696
5697    Translations: Add Vietnamese translation.
5698
5699    Thanks to Trần Ngọc Quân.
5700
5701 po/LINGUAS |    1 +
5702 po/vi.po   | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5703 2 files changed, 1008 insertions(+)
5704
5705commit 17215f751c354852700e7f8592ccf319570a0721
5706Author: Lasse Collin <lasse.collin@tukaani.org>
5707Date:   2014-06-29 20:54:14 +0300
5708
5709    xz: Update the help message of a few options.
5710
5711    Updated: --threads, --block-size, and --block-list
5712    Added: --flush-timeout
5713
5714 src/xz/message.c | 18 +++++++++++-------
5715 1 file changed, 11 insertions(+), 7 deletions(-)
5716
5717commit 96864a6ddf91ad693d102ea165f3d7918744d582
5718Author: Lasse Collin <lasse.collin@tukaani.org>
5719Date:   2014-06-18 22:07:06 +0300
5720
5721    xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores().
5722
5723 src/xz/Makefile.am |  1 -
5724 src/xz/hardware.c  | 12 +++++++++---
5725 2 files changed, 9 insertions(+), 4 deletions(-)
5726
5727commit a115cc3748482e277f42a968baa3cd266f031dba
5728Author: Lasse Collin <lasse.collin@tukaani.org>
5729Date:   2014-06-18 22:04:24 +0300
5730
5731    liblzma: Add lzma_cputhreads().
5732
5733 src/liblzma/Makefile.am                  |  8 +++++++-
5734 src/liblzma/api/lzma/hardware.h          | 14 ++++++++++++++
5735 src/liblzma/common/Makefile.inc          |  1 +
5736 src/liblzma/common/hardware_cputhreads.c | 22 ++++++++++++++++++++++
5737 src/liblzma/liblzma.map                  |  1 +
5738 5 files changed, 45 insertions(+), 1 deletion(-)
5739
5740commit 3ce3e7976904fbab4e6482bafa442856f77a51fa
5741Author: Lasse Collin <lasse.collin@tukaani.org>
5742Date:   2014-06-18 19:11:52 +0300
5743
5744    xz: Check for filter chain compatibility for --flush-timeout.
5745
5746    This avoids LZMA_PROG_ERROR from lzma_code() with filter chains
5747    that don't support LZMA_SYNC_FLUSH.
5748
5749 src/xz/coder.c | 30 +++++++++++++++++++++---------
5750 1 file changed, 21 insertions(+), 9 deletions(-)
5751
5752commit 381ac14ed79e5d38809f251705be8b3193bba417
5753Author: Lasse Collin <lasse.collin@tukaani.org>
5754Date:   2014-06-13 19:21:54 +0300
5755
5756    xzgrep: List xzgrep_expected_output in tests/Makefile.am.
5757
5758 tests/Makefile.am | 3 ++-
5759 1 file changed, 2 insertions(+), 1 deletion(-)
5760
5761commit 4244b65b06d5ecaf6f9dd0387ac7e3166bd2364e
5762Author: Lasse Collin <lasse.collin@tukaani.org>
5763Date:   2014-06-13 18:58:22 +0300
5764
5765    xzgrep: Improve the test script.
5766
5767    Now it should be close to the functionality of the original
5768    version by Pavel Raiskup.
5769
5770 tests/Makefile.am            |  3 ++-
5771 tests/test_scripts.sh        | 24 ++++++++++++++----------
5772 tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++
5773 3 files changed, 55 insertions(+), 11 deletions(-)
5774
5775commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26
5776Author: Lasse Collin <lasse.collin@tukaani.org>
5777Date:   2014-06-11 21:03:25 +0300
5778
5779    xzgrep: Add a test for the previous fix.
5780
5781    This is a simplified version of Pavel Raiskup's
5782    original patch.
5783
5784 tests/test_scripts.sh | 26 ++++++++++++++++++++++----
5785 1 file changed, 22 insertions(+), 4 deletions(-)
5786
5787commit ceca37901783988204caaf40dff4623d535cc789
5788Author: Lasse Collin <lasse.collin@tukaani.org>
5789Date:   2014-06-11 20:43:28 +0300
5790
5791    xzgrep: exit 0 when at least one file matches.
5792
5793    Mimic the original grep behavior and return exit_success when
5794    at least one xz compressed file matches given pattern.
5795
5796    Original bugreport:
5797    https://bugzilla.redhat.com/show_bug.cgi?id=1108085
5798
5799    Thanks to Pavel Raiskup for the patch.
5800
5801 src/scripts/xzgrep.in | 15 +++++++++++++--
5802 1 file changed, 13 insertions(+), 2 deletions(-)
5803
5804commit 8c19216baccb92d011694590df8a1262da2e980c
5805Author: Lasse Collin <lasse.collin@tukaani.org>
5806Date:   2014-06-09 21:21:24 +0300
5807
5808    xz: Force single-threaded mode when --flush-timeout is used.
5809
5810 src/xz/coder.c | 11 +++++++++++
5811 1 file changed, 11 insertions(+)
5812
5813commit 87f1a24810805187d7bbc8ac5512e7eec307ddf5
5814Author: Lasse Collin <lasse.collin@tukaani.org>
5815Date:   2014-05-25 22:05:39 +0300
5816
5817    Update THANKS.
5818
5819 THANKS | 1 +
5820 1 file changed, 1 insertion(+)
5821
5822commit da1718f266fcfc091e7bf08aae1bc986d0e6cc6b
5823Author: Lasse Collin <lasse.collin@tukaani.org>
5824Date:   2014-05-25 21:45:56 +0300
5825
5826    liblzma: Use lzma_alloc_zero() in LZ encoder initialization.
5827
5828    This avoids a memzero() call for a newly-allocated memory,
5829    which can be expensive when encoding small streams with
5830    an over-sized dictionary.
5831
5832    To avoid using lzma_alloc_zero() for memory that doesn't
5833    need to be zeroed, lzma_mf.son is now allocated separately,
5834    which requires handling it separately in normalize() too.
5835
5836    Thanks to Vincenzo Innocente for reporting the problem.
5837
5838 src/liblzma/lz/lz_encoder.c    | 84 ++++++++++++++++++++++--------------------
5839 src/liblzma/lz/lz_encoder.h    |  2 +-
5840 src/liblzma/lz/lz_encoder_mf.c | 31 +++++++++-------
5841 3 files changed, 62 insertions(+), 55 deletions(-)
5842
5843commit 28af24e9cf2eb259997c85dce13d4c97b3daa47a
5844Author: Lasse Collin <lasse.collin@tukaani.org>
5845Date:   2014-05-25 19:25:57 +0300
5846
5847    liblzma: Add the internal function lzma_alloc_zero().
5848
5849 src/liblzma/common/common.c | 21 +++++++++++++++++++++
5850 src/liblzma/common/common.h |  6 ++++++
5851 2 files changed, 27 insertions(+)
5852
5853commit ed9ac85822c490e34b68c259afa0b385d21d1c40
5854Author: Lasse Collin <lasse.collin@tukaani.org>
5855Date:   2014-05-08 18:03:09 +0300
5856
5857    xz: Fix uint64_t vs. size_t which broke 32-bit build.
5858
5859    Thanks to Christian Hesse.
5860
5861 src/xz/coder.c | 2 +-
5862 1 file changed, 1 insertion(+), 1 deletion(-)
5863
5864commit d716acdae3fa7996f9e68a7bac012e6d8d13dd02
5865Author: Lasse Collin <lasse.collin@tukaani.org>
5866Date:   2014-05-04 11:09:11 +0300
5867
5868    Docs: Update comments to refer to lzma/lzma12.h in example programs.
5869
5870 doc/examples/03_compress_custom.c | 6 +++---
5871 1 file changed, 3 insertions(+), 3 deletions(-)
5872
5873commit 4d5b7b3fda31241ca86ed35e08e73f776ee916e0
5874Author: Lasse Collin <lasse.collin@tukaani.org>
5875Date:   2014-05-04 11:07:17 +0300
5876
5877    liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h.
5878
5879    It can be confusing that two header files have the same name.
5880    The public API file is still lzma.h.
5881
5882 src/liblzma/api/Makefile.am               | 2 +-
5883 src/liblzma/api/lzma.h                    | 2 +-
5884 src/liblzma/api/lzma/{lzma.h => lzma12.h} | 2 +-
5885 3 files changed, 3 insertions(+), 3 deletions(-)
5886
5887commit 1555a9c5664afc7893a2b75e9970105437f01ef1
5888Author: Lasse Collin <lasse.collin@tukaani.org>
5889Date:   2014-04-25 17:53:42 +0300
5890
5891    Build: Fix the combination of --disable-xzdec --enable-lzmadec.
5892
5893    In this case "make install" could fail if the man page directory
5894    didn't already exist at the destination. If it did exist, a
5895    dangling symlink was created there. Now the link is omitted
5896    instead. This isn't the best fix but it's better than the old
5897    behavior.
5898
5899 src/xzdec/Makefile.am | 10 +++++++++-
5900 1 file changed, 9 insertions(+), 1 deletion(-)
5901
5902commit 56056571df3377eaa6ae6233b3ccc5d72e81d43d
5903Author: Lasse Collin <lasse.collin@tukaani.org>
5904Date:   2014-04-25 17:44:26 +0300
5905
5906    Build: Add --disable-doc to configure.
5907
5908 INSTALL      | 6 ++++++
5909 Makefile.am  | 2 ++
5910 configure.ac | 6 ++++++
5911 3 files changed, 14 insertions(+)
5912
5913commit 6de61d8721097a6214810841aa85b08e303ac538
5914Author: Lasse Collin <lasse.collin@tukaani.org>
5915Date:   2014-04-24 18:06:24 +0300
5916
5917    Update INSTALL.
5918
5919    Add a note about failing "make check". The source of
5920    the problem should be fixed in libtool (if it really is
5921    a libtool bug and not mine) but I'm unable to spend time
5922    on that for now. Thanks to Nelson H. F. Beebe for reporting
5923    the issue.
5924
5925    Add a note about a possible need to run "ldconfig" after
5926    "make install".
5927
5928 INSTALL | 25 +++++++++++++++++++++++++
5929 1 file changed, 25 insertions(+)
5930
5931commit 54df428799a8d853639b753d0e6784694d73eb3e
5932Author: Lasse Collin <lasse.collin@tukaani.org>
5933Date:   2014-04-09 17:26:10 +0300
5934
5935    xz: Rename a variable to avoid a namespace collision on Solaris.
5936
5937    I don't know the details but I have an impression that there's
5938    no problem in practice if using GCC since people have built xz
5939    with GCC (without patching xz), but renaming the variable cannot
5940    hurt either.
5941
5942    Thanks to Mark Ashley.
5943
5944 src/xz/signals.c | 12 +++++++-----
5945 1 file changed, 7 insertions(+), 5 deletions(-)
5946
5947commit 5876ca27daa1429676b1160007d9688266907f00
5948Author: Lasse Collin <lasse.collin@tukaani.org>
5949Date:   2014-01-29 20:19:41 +0200
5950
5951    Docs: Add example program for threaded encoding.
5952
5953    I didn't add -DLZMA_UNSTABLE to Makefile so one has to
5954    specify it manually as long as LZMA_UNSTABLE is needed.
5955
5956 doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++
5957 doc/examples/Makefile              |   3 +-
5958 2 files changed, 186 insertions(+), 1 deletion(-)
5959
5960commit 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e
5961Author: Lasse Collin <lasse.collin@tukaani.org>
5962Date:   2014-01-29 20:13:51 +0200
5963
5964    liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt().
5965
5966    It read the filter chain from a wrong variable.
5967
5968 src/liblzma/common/stream_encoder_mt.c | 4 ++--
5969 1 file changed, 2 insertions(+), 2 deletions(-)
5970
5971commit 673a4cb53de3a715685cb1b836da57a3c7dcd43c
5972Author: Lasse Collin <lasse.collin@tukaani.org>
5973Date:   2014-01-20 11:20:40 +0200
5974
5975    liblzma: Fix typo in a comment.
5976
5977 src/liblzma/api/lzma/block.h | 2 +-
5978 1 file changed, 1 insertion(+), 1 deletion(-)
5979
5980commit ad96a871a1470eb76d6233d3890ce9338047b7a3
5981Author: Lasse Collin <lasse.collin@tukaani.org>
5982Date:   2014-01-12 19:38:43 +0200
5983
5984    Windows: Add config.h for building liblzma with MSVC 2013.
5985
5986    This is for building liblzma. Building xz tool too requires
5987    a little more work. Maybe it will be supported, but for most
5988    MSVC users it's enough to be able to build liblzma.
5989
5990    C99 support in MSVC 2013 is almost usable which is a big
5991    improvement over earlier versions. It's "almost" because
5992    there's a dumb bug that breaks mixed declarations after
5993    an "if" statements unless the "if" statement uses braces:
5994
5995    https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug
5996    https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs
5997
5998    Hopefully it will get fixed. Then liblzma should be
5999    compilable with MSVC 2013 without patching.
6000
6001 windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
6002 1 file changed, 139 insertions(+)
6003
6004commit 3d5c090872fab4212b57c290e8ed4d02c78c1737
6005Author: Lasse Collin <lasse.collin@tukaani.org>
6006Date:   2014-01-12 17:41:14 +0200
6007
6008    xz: Fix a comment.
6009
6010 src/xz/coder.c | 4 ++--
6011 1 file changed, 2 insertions(+), 2 deletions(-)
6012
6013commit 69fd4e1c932c7975476a0143c86e45d81b60d3f9
6014Author: Lasse Collin <lasse.collin@tukaani.org>
6015Date:   2014-01-12 17:04:33 +0200
6016
6017    Windows: Add MSVC defines for inline and restrict keywords.
6018
6019 src/common/sysdefs.h | 10 ++++++++++
6020 1 file changed, 10 insertions(+)
6021
6022commit a19d9e8575ee6647cd9154cf1f20203f1330485f
6023Author: Lasse Collin <lasse.collin@tukaani.org>
6024Date:   2014-01-12 16:44:52 +0200
6025
6026    liblzma: Avoid C99 compound literal arrays.
6027
6028    MSVC 2013 doesn't like them. Maybe they aren't so good
6029    for readability either since many aren't used to them.
6030
6031 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++---
6032 1 file changed, 5 insertions(+), 3 deletions(-)
6033
6034commit e28528f1c867b2ed4ac91195ad08efb9bb8a6263
6035Author: Lasse Collin <lasse.collin@tukaani.org>
6036Date:   2014-01-12 12:50:30 +0200
6037
6038    liblzma: Remove a useless C99ism from sha256.c.
6039
6040    Unsurprisingly it makes no difference in compiled output.
6041
6042 src/liblzma/check/sha256.c | 2 +-
6043 1 file changed, 1 insertion(+), 1 deletion(-)
6044
6045commit 5ad1effc45adfb7dabc9a98e79736077e6b7e2d5
6046Author: Lasse Collin <lasse.collin@tukaani.org>
6047Date:   2014-01-12 12:17:08 +0200
6048
6049    xz: Fix use of wrong variable.
6050
6051    Since the only call to suffix_set() uses optarg
6052    as the argument, fixing this bug doesn't change
6053    the behavior of the program.
6054
6055 src/xz/suffix.c | 2 +-
6056 1 file changed, 1 insertion(+), 1 deletion(-)
6057
6058commit 3e62c68d75b5a3fdd46dbb34bb335d73289860d5
6059Author: Lasse Collin <lasse.collin@tukaani.org>
6060Date:   2014-01-12 12:11:36 +0200
6061
6062    Fix typos in comments.
6063
6064 src/common/mythread.h          | 2 +-
6065 src/liblzma/check/crc32_fast.c | 2 +-
6066 2 files changed, 2 insertions(+), 2 deletions(-)
6067
6068commit e90ea601fb72867ec04adf456cbe4bf9520fd412
6069Author: Lasse Collin <lasse.collin@tukaani.org>
6070Date:   2013-11-26 18:20:16 +0200
6071
6072    Update THANKS.
6073
6074 THANKS | 1 +
6075 1 file changed, 1 insertion(+)
6076
6077commit b22e94d8d15764416354e04729382a7371ae2c30
6078Author: Lasse Collin <lasse.collin@tukaani.org>
6079Date:   2013-11-26 18:20:09 +0200
6080
6081    liblzma: Document the need for block->check for lzma_block_header_decode().
6082
6083    Thanks to Tomer Chachamu.
6084
6085 src/liblzma/api/lzma/block.h | 3 +++
6086 1 file changed, 3 insertions(+)
6087
6088commit d1cd8b1cb824b72421d1ee370e628024d2fcbec4
6089Author: Lasse Collin <lasse.collin@tukaani.org>
6090Date:   2013-11-12 16:38:57 +0200
6091
6092    xz: Update the man page about --block-size and --block-list.
6093
6094 src/xz/xz.1 | 24 +++++++++++++++---------
6095 1 file changed, 15 insertions(+), 9 deletions(-)
6096
6097commit 76be7c612e6bcc38724488ccc3b8bcb1cfec9f0a
6098Author: Lasse Collin <lasse.collin@tukaani.org>
6099Date:   2013-11-12 16:30:53 +0200
6100
6101    Update THANKS.
6102
6103 THANKS | 1 +
6104 1 file changed, 1 insertion(+)
6105
6106commit dd750acbe2259d75444ef0f8da2d4bacc90d7afc
6107Author: Lasse Collin <lasse.collin@tukaani.org>
6108Date:   2013-11-12 16:29:48 +0200
6109
6110    xz: Make --block-list and --block-size work together in single-threaded.
6111
6112    Previously, --block-list and --block-size only worked together
6113    in threaded mode. Boundaries are specified by --block-list, but
6114    --block-size specifies the maximum size for a Block. Now this
6115    works in single-threaded mode too.
6116
6117    Thanks to James M Leddy for the original patch.
6118
6119 src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++----------
6120 1 file changed, 75 insertions(+), 15 deletions(-)
6121
6122commit ae222fe9805d0161d022d75ba8485dab8bf6d7d5
6123Author: Lasse Collin <lasse.collin@tukaani.org>
6124Date:   2013-10-26 13:26:14 +0300
6125
6126    Bump the version number to 5.1.3alpha.
6127
6128 src/liblzma/api/lzma/version.h | 2 +-
6129 src/liblzma/liblzma.map        | 2 +-
6130 2 files changed, 2 insertions(+), 2 deletions(-)
6131
6132commit 2193837a6a597cd3bf4e9ddf49421a5697d8e155
6133Author: Lasse Collin <lasse.collin@tukaani.org>
6134Date:   2013-10-26 13:25:02 +0300
6135
6136    Update NEWS for 5.1.3alpha.
6137
6138 NEWS | 35 +++++++++++++++++++++++++++++++++++
6139 1 file changed, 35 insertions(+)
6140
6141commit ed48e75e2763876173aef8902da407a8eb28854b
6142Author: Lasse Collin <lasse.collin@tukaani.org>
6143Date:   2013-10-26 12:47:04 +0300
6144
6145    Update TODO.
6146
6147 TODO | 4 ----
6148 1 file changed, 4 deletions(-)
6149
6150commit 841da0352d79a56a44796a4c39163429c9f039a3
6151Author: Lasse Collin <lasse.collin@tukaani.org>
6152Date:   2013-10-25 22:41:28 +0300
6153
6154    xz: Document behavior of --block-list with threads.
6155
6156    This needs to be updated before 5.2.0.
6157
6158 src/xz/xz.1 | 24 +++++++++++++++++++++---
6159 1 file changed, 21 insertions(+), 3 deletions(-)
6160
6161commit 56feb8665b78c1032aabd53c619c62af51defe64
6162Author: Lasse Collin <lasse.collin@tukaani.org>
6163Date:   2013-10-22 20:03:12 +0300
6164
6165    xz: Document --flush-timeout=TIMEOUT on the man page.
6166
6167 src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++-
6168 1 file changed, 36 insertions(+), 1 deletion(-)
6169
6170commit ba413da1d5bb3324287cf3174922acd921165971
6171Author: Lasse Collin <lasse.collin@tukaani.org>
6172Date:   2013-10-22 19:51:55 +0300
6173
6174    xz: Take advantage of LZMA_FULL_BARRIER with --block-list.
6175
6176    Now if --block-list is used in threaded mode, the encoder
6177    won't need to flush at each Block boundary specified via
6178    --block-list. This improves performance a lot, making
6179    threading helpful with --block-list.
6180
6181    The flush timer was reset after LZMA_FULL_FLUSH but since
6182    LZMA_FULL_BARRIER doesn't flush, resetting the timer is
6183    no longer done.
6184
6185 src/xz/coder.c | 32 +++++++++++++++-----------------
6186 1 file changed, 15 insertions(+), 17 deletions(-)
6187
6188commit 0cd45fc2bc5537de287a0bc005e2d67467a92148
6189Author: Lasse Collin <lasse.collin@tukaani.org>
6190Date:   2013-10-02 20:05:23 +0300
6191
6192    liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder.
6193
6194    Now --block-list=SIZES works with in the threaded mode too,
6195    although the performance is still bad due to the use of
6196    LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER.
6197
6198 src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++----------
6199 1 file changed, 39 insertions(+), 16 deletions(-)
6200
6201commit 97bb38712f414fabecca908af2e38a12570293fd
6202Author: Lasse Collin <lasse.collin@tukaani.org>
6203Date:   2013-10-02 12:55:11 +0300
6204
6205    liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder.
6206
6207    In the single-threaded encoder LZMA_FULL_BARRIER is simply
6208    an alias for LZMA_FULL_FLUSH.
6209
6210 src/liblzma/api/lzma/base.h         | 37 ++++++++++++++++++++++++++++++-------
6211 src/liblzma/common/common.c         | 17 +++++++++++++++--
6212 src/liblzma/common/common.h         |  7 ++++++-
6213 src/liblzma/common/stream_encoder.c |  4 +++-
6214 4 files changed, 54 insertions(+), 11 deletions(-)
6215
6216commit fef0c6b410c08e581c9178700a4e7599f0895ff9
6217Author: Lasse Collin <lasse.collin@tukaani.org>
6218Date:   2013-09-17 11:57:51 +0300
6219
6220    liblzma: Add block_buffer_encoder.h into Makefile.inc.
6221
6222    This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc.
6223
6224 src/liblzma/common/Makefile.inc | 1 +
6225 1 file changed, 1 insertion(+)
6226
6227commit 8083e03291b6d21c0f538163e187b4e8cd5594e4
6228Author: Lasse Collin <lasse.collin@tukaani.org>
6229Date:   2013-09-17 11:55:38 +0300
6230
6231    xz: Add a missing test for TUKLIB_DOSLIKE.
6232
6233 src/xz/file_io.c | 2 ++
6234 1 file changed, 2 insertions(+)
6235
6236commit 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0
6237Author: Lasse Collin <lasse.collin@tukaani.org>
6238Date:   2013-09-17 11:52:28 +0300
6239
6240    Add native threading support on Windows.
6241
6242    Now liblzma only uses "mythread" functions and types
6243    which are defined in mythread.h matching the desired
6244    threading method.
6245
6246    Before Windows Vista, there is no direct equivalent to
6247    pthread condition variables. Since this package doesn't
6248    use pthread_cond_broadcast(), pre-Vista threading can
6249    still be kept quite simple. The pre-Vista code doesn't
6250    use anything that wasn't already available in Windows 95,
6251    so the binaries should run even on Windows 95 if someone
6252    happens to care.
6253
6254 INSTALL                                |  41 ++-
6255 configure.ac                           | 118 ++++++--
6256 src/common/mythread.h                  | 513 ++++++++++++++++++++++++++-------
6257 src/liblzma/common/stream_encoder_mt.c |  83 +++---
6258 src/xz/coder.c                         |   8 +-
6259 windows/README-Windows.txt             |   2 +-
6260 windows/build.bash                     |  23 +-
6261 7 files changed, 573 insertions(+), 215 deletions(-)
6262
6263commit ae0ab74a88d5b9b15845f1d9a24ade4349a54f9f
6264Author: Lasse Collin <lasse.collin@tukaani.org>
6265Date:   2013-09-11 14:40:35 +0300
6266
6267    Build: Remove a comment about Automake 1.10 from configure.ac.
6268
6269    The previous commit supports silent rules and that requires
6270    Automake 1.11.
6271
6272 configure.ac | 2 --
6273 1 file changed, 2 deletions(-)
6274
6275commit 72975df6c8c59aaf849138ab3606e8fb6970596a
6276Author: Lasse Collin <lasse.collin@tukaani.org>
6277Date:   2013-09-09 20:37:03 +0300
6278
6279    Build: Create liblzma.pc in a src/liblzma/Makefile.am.
6280
6281    Previously it was done in configure, but doing that goes
6282    against the Autoconf manual. Autoconf requires that it is
6283    possible to override e.g. prefix after running configure
6284    and that doesn't work correctly if liblzma.pc is created
6285    by configure.
6286
6287    A potential downside of this change is that now e.g.
6288    libdir in liblzma.pc is a standalone string instead of
6289    being defined via ${prefix}, so if one overrides prefix
6290    when running pkg-config the libdir won't get the new value.
6291    I don't know if this matters in practice.
6292
6293    Thanks to Vincent Torri.
6294
6295 configure.ac            |  1 -
6296 src/liblzma/Makefile.am | 20 ++++++++++++++++++++
6297 2 files changed, 20 insertions(+), 1 deletion(-)
6298
6299commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc
6300Author: Lasse Collin <lasse.collin@tukaani.org>
6301Date:   2013-08-04 15:24:09 +0300
6302
6303    Fix the previous commit which broke the build.
6304
6305    Apparently I didn't even compile-test the previous commit.
6306
6307    Thanks to Christian Hesse.
6308
6309 src/common/tuklib_cpucores.c | 2 +-
6310 1 file changed, 1 insertion(+), 1 deletion(-)
6311
6312commit 124eb69c7857f618b4807588c51bc9ba21bf8691
6313Author: Lasse Collin <lasse.collin@tukaani.org>
6314Date:   2013-08-03 13:52:58 +0300
6315
6316    Windows: Add Windows support to tuklib_cpucores().
6317
6318    It is used for Cygwin too. I'm not sure if that is
6319    a good or bad idea.
6320
6321    Thanks to Vincent Torri.
6322
6323 m4/tuklib_cpucores.m4        | 19 +++++++++++++++++--
6324 src/common/tuklib_cpucores.c | 13 ++++++++++++-
6325 2 files changed, 29 insertions(+), 3 deletions(-)
6326
6327commit eada8a875ce3fd521cb42e4ace2624d3d49c5f35
6328Author: Anders F Bjorklund <afb@users.sourceforge.net>
6329Date:   2013-08-02 15:59:46 +0200
6330
6331    macosx: separate liblzma package
6332
6333 macosx/build.sh | 23 +++++++++++++++--------
6334 1 file changed, 15 insertions(+), 8 deletions(-)
6335
6336commit be0100d01ca6a75899d051bee00acf17e6dc0c15
6337Author: Anders F Bjorklund <afb@users.sourceforge.net>
6338Date:   2013-08-02 15:58:44 +0200
6339
6340    macosx: set minimum to leopard
6341
6342 macosx/build.sh | 13 ++++++++-----
6343 1 file changed, 8 insertions(+), 5 deletions(-)
6344
6345commit 416729e2d743f4b2fe9fd438eedeb98adce033c3
6346Author: Anders F Bjorklund <afb@users.sourceforge.net>
6347Date:   2011-08-07 13:13:30 +0200
6348
6349    move configurables into variables
6350
6351 macosx/build.sh | 25 ++++++++++++++++++-------
6352 1 file changed, 18 insertions(+), 7 deletions(-)
6353
6354commit 16581080e5f29f9a4e49efece21c5bf572323acc
6355Author: Lasse Collin <lasse.collin@tukaani.org>
6356Date:   2013-07-15 14:08:41 +0300
6357
6358    Update THANKS.
6359
6360 THANKS | 1 +
6361 1 file changed, 1 insertion(+)
6362
6363commit 3e2b198ba37b624efd9c7caee2a435dc986b46c6
6364Author: Lasse Collin <lasse.collin@tukaani.org>
6365Date:   2013-07-15 14:08:02 +0300
6366
6367    Build: Fix the detection of missing CRC32.
6368
6369    Thanks to Vincent Torri.
6370
6371 configure.ac | 2 +-
6372 1 file changed, 1 insertion(+), 1 deletion(-)
6373
6374commit dee6ad3d5915422bc30a6821efeacaeb8ca8ef00
6375Author: Lasse Collin <lasse.collin@tukaani.org>
6376Date:   2013-07-04 14:18:46 +0300
6377
6378    xz: Add preliminary support for --flush-timeout=TIMEOUT.
6379
6380    When --flush-timeout=TIMEOUT is used, xz will use
6381    LZMA_SYNC_FLUSH if read() would block and at least
6382    TIMEOUT milliseconds has elapsed since the previous flush.
6383
6384    This can be useful in realtime-like use cases where the
6385    data is simultanously decompressed by another process
6386    (possibly on a different computer). If new uncompressed
6387    input data is produced slowly, without this option xz could
6388    buffer the data for a long time until it would become
6389    decompressible from the output.
6390
6391    If TIMEOUT is 0, the feature is disabled. This is the default.
6392
6393    This commit affects the compression side. Using xz for
6394    the decompression side for the above purpose doesn't work
6395    yet so well because there is quite a bit of input and
6396    output buffering when decompressing.
6397
6398    The --long-help or man page were not updated yet.
6399    The details of this feature may change.
6400
6401 src/xz/args.c    |  7 +++++++
6402 src/xz/coder.c   | 46 +++++++++++++++++++++++++++++++++++-----------
6403 src/xz/file_io.c | 46 ++++++++++++++++++++++++++++++++++++----------
6404 3 files changed, 78 insertions(+), 21 deletions(-)
6405
6406commit fa381acaf9a29a8114e1c0a97de99bab9adb014e
6407Author: Lasse Collin <lasse.collin@tukaani.org>
6408Date:   2013-07-04 13:41:03 +0300
6409
6410    xz: Don't set src_eof=true after an I/O error because it's useless.
6411
6412 src/xz/file_io.c | 3 ---
6413 1 file changed, 3 deletions(-)
6414
6415commit ea00545beace5b950f709ec21e46878e0f448678
6416Author: Lasse Collin <lasse.collin@tukaani.org>
6417Date:   2013-07-04 13:25:11 +0300
6418
6419    xz: Fix the test when to read more input.
6420
6421    Testing for end of file was no longer correct after full flushing
6422    became possible with --block-size=SIZE and --block-list=SIZES.
6423    There was no bug in practice though because xz just made a few
6424    unneeded zero-byte reads.
6425
6426 src/xz/coder.c | 6 +++---
6427 1 file changed, 3 insertions(+), 3 deletions(-)
6428
6429commit 736903c64bef394c06685d79908e397bcb08b88f
6430Author: Lasse Collin <lasse.collin@tukaani.org>
6431Date:   2013-07-04 12:51:57 +0300
6432
6433    xz: Move some of the timing code into mytime.[hc].
6434
6435    This switches units from microseconds to milliseconds.
6436
6437    New clock_gettime(CLOCK_MONOTONIC) will be used if available.
6438    There is still a fallback to gettimeofday().
6439
6440 src/xz/Makefile.am |  2 ++
6441 src/xz/coder.c     |  5 +++
6442 src/xz/message.c   | 54 +++++++++------------------------
6443 src/xz/mytime.c    | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
6444 src/xz/mytime.h    | 47 ++++++++++++++++++++++++++++
6445 src/xz/private.h   |  1 +
6446 6 files changed, 158 insertions(+), 40 deletions(-)
6447
6448commit 24edf8d807e24ffaa1e793114d94cca3b970027d
6449Author: Lasse Collin <lasse.collin@tukaani.org>
6450Date:   2013-07-01 14:35:03 +0300
6451
6452    Update THANKS.
6453
6454 THANKS | 1 +
6455 1 file changed, 1 insertion(+)
6456
6457commit c0627b3fceacfa1ed162f5f55235360ea26f569a
6458Author: Lasse Collin <lasse.collin@tukaani.org>
6459Date:   2013-07-01 14:34:11 +0300
6460
6461    xz: Silence a warning seen with _FORTIFY_SOURCE=2.
6462
6463    Thanks to Christian Hesse.
6464
6465 src/xz/file_io.c | 8 +++++++-
6466 1 file changed, 7 insertions(+), 1 deletion(-)
6467
6468commit 1936718bb38ee394bd89836fdd4eabc0beb02443
6469Author: Lasse Collin <lasse.collin@tukaani.org>
6470Date:   2013-06-30 19:40:11 +0300
6471
6472    Update NEWS for 5.0.5.
6473
6474 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
6475 1 file changed, 52 insertions(+)
6476
6477commit a37ae8b5eb6093a530198f109c6f7a538c80ecf0
6478Author: Lasse Collin <lasse.collin@tukaani.org>
6479Date:   2013-06-30 18:02:27 +0300
6480
6481    Man pages: Use similar syntax for synopsis as in xz.
6482
6483    The man pages of lzmainfo, xzmore, and xzdec had similar
6484    constructs as the man page of xz had before the commit
6485    eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond
6486    didn't mention these man pages in his bug report, but
6487    it's nice to be consistent.
6488
6489 src/lzmainfo/lzmainfo.1 |  4 ++--
6490 src/scripts/xzmore.1    |  6 +++---
6491 src/xzdec/xzdec.1       | 10 +++++-----
6492 3 files changed, 10 insertions(+), 10 deletions(-)
6493
6494commit cdba9ddd870ae72fd6219a125662c20ec997f86c
6495Author: Lasse Collin <lasse.collin@tukaani.org>
6496Date:   2013-06-29 15:59:13 +0300
6497
6498    xz: Use non-blocking I/O for the output file.
6499
6500    Now both reading and writing should be without
6501    race conditions with signals.
6502
6503    They might still be signal handling issues left.
6504    Signals are blocked during many operations to avoid
6505    EINTR but it may cause problems e.g. if writing to
6506    stderr blocks when trying to display an error message.
6507
6508 src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++--------
6509 1 file changed, 49 insertions(+), 8 deletions(-)
6510
6511commit e61a5c95da3fe31281d959e5e842885a8ba2b5bd
6512Author: Lasse Collin <lasse.collin@tukaani.org>
6513Date:   2013-06-28 23:56:17 +0300
6514
6515    xz: Fix return value type in io_write_buf().
6516
6517    It didn't affect the behavior of the code since -1
6518    becomes true anyway.
6519
6520 src/xz/file_io.c | 2 +-
6521 1 file changed, 1 insertion(+), 1 deletion(-)
6522
6523commit 9dc319eabb34a826f4945f91c71620f14a60e9e2
6524Author: Lasse Collin <lasse.collin@tukaani.org>
6525Date:   2013-06-28 23:48:05 +0300
6526
6527    xz: Use the self-pipe trick to avoid a race condition with signals.
6528
6529    It is possible that a signal to set user_abort arrives right
6530    before a blocking system call is made. In this case the call
6531    may block until another signal arrives, while the wanted
6532    behavior is to make xz clean up and exit as soon as possible.
6533
6534    After this commit, the race condition is avoided with the
6535    input side which already uses non-blocking I/O. The output
6536    side still uses blocking I/O and thus has the race condition.
6537
6538 src/xz/file_io.c | 56 ++++++++++++++++++++++++++++++++++++++++++++------------
6539 src/xz/file_io.h |  8 ++++++++
6540 src/xz/signals.c |  5 +++++
6541 3 files changed, 57 insertions(+), 12 deletions(-)
6542
6543commit 3541bc79d0cfabc0ad155c99bfdad1289f17fec3
6544Author: Lasse Collin <lasse.collin@tukaani.org>
6545Date:   2013-06-28 22:51:02 +0300
6546
6547    xz: Use non-blocking I/O for the input file.
6548
6549 src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++----------------
6550 1 file changed, 111 insertions(+), 45 deletions(-)
6551
6552commit 78673a08bed5066c81e8a8e90d20e670c28ecfd5
6553Author: Lasse Collin <lasse.collin@tukaani.org>
6554Date:   2013-06-28 18:46:13 +0300
6555
6556    xz: Remove an outdated NetBSD-specific comment.
6557
6558    Nowadays errno == EFTYPE is documented in open(2).
6559
6560 src/xz/file_io.c | 4 ----
6561 1 file changed, 4 deletions(-)
6562
6563commit a616fdad34b48b2932ef03fb87309dcc8b829527
6564Author: Lasse Collin <lasse.collin@tukaani.org>
6565Date:   2013-06-28 18:09:47 +0300
6566
6567    xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls.
6568
6569    POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on
6570    error and "other than -1" on success. This is how it is
6571    documented e.g. on OpenBSD too. On Linux, success with
6572    F_SETFL is always 0 (at least accorinding to fcntl(2)
6573    from man-pages 3.51).
6574
6575 src/xz/file_io.c | 8 ++++----
6576 1 file changed, 4 insertions(+), 4 deletions(-)
6577
6578commit 4a08a6e4c61c65ab763ab314100a6d7a3bb89298
6579Author: Lasse Collin <lasse.collin@tukaani.org>
6580Date:   2013-06-28 17:36:47 +0300
6581
6582    xz: Fix use of wrong variable in a fcntl() call.
6583
6584    Due to a wrong variable name, when writing a sparse file
6585    to standard output, *all* file status flags were cleared
6586    (to the extent the operating system allowed it) instead of
6587    only clearing the O_APPEND flag. In practice this worked
6588    fine in the common situations on GNU/Linux, but I didn't
6589    check how it behaved elsewhere.
6590
6591    The original flags were still restored correctly. I still
6592    changed the code to use a separate boolean variable to
6593    indicate when the flags should be restored instead of
6594    relying on a special value in stdout_flags.
6595
6596 src/xz/file_io.c | 24 +++++++++++++-----------
6597 1 file changed, 13 insertions(+), 11 deletions(-)
6598
6599commit b790b435daa3351067f80a5973b647f8d55367a2
6600Author: Lasse Collin <lasse.collin@tukaani.org>
6601Date:   2013-06-28 14:55:37 +0300
6602
6603    xz: Fix assertion related to posix_fadvise().
6604
6605    Input file can be a FIFO or something else that doesn't
6606    support posix_fadvise() so don't check the return value
6607    even with an assertion. Nothing bad happens if the call
6608    to posix_fadvise() fails.
6609
6610 src/xz/file_io.c | 10 ++--------
6611 1 file changed, 2 insertions(+), 8 deletions(-)
6612
6613commit 84d2da6c9dc252f441deb7626c2522202b005d4d
6614Author: Lasse Collin <lasse.collin@tukaani.org>
6615Date:   2013-06-26 13:30:57 +0300
6616
6617    xz: Check the value of lzma_stream_flags.version in --list.
6618
6619    It is a no-op for now, but if an old xz version is used
6620    together with a newer liblzma that supports something new,
6621    then this check becomes important and will stop the old xz
6622    from trying to parse files that it won't understand.
6623
6624 src/xz/list.c | 14 ++++++++++++++
6625 1 file changed, 14 insertions(+)
6626
6627commit 9376f5f8f762296f2173d61af9101112c36f38c0
6628Author: Lasse Collin <lasse.collin@tukaani.org>
6629Date:   2013-06-26 12:17:00 +0300
6630
6631    Build: Require Automake 1.12 and use serial-tests option.
6632
6633    It should actually still work with Automake 1.10 if
6634    the serial-tests option is removed. Automake 1.13 started
6635    using parallel tests by default and the option to get
6636    the old behavior isn't supported before 1.12.
6637
6638    At least for now, parallel tests don't improve anything
6639    in XZ Utils but they hide the progress output from
6640    test_compress.sh.
6641
6642 configure.ac | 4 +++-
6643 1 file changed, 3 insertions(+), 1 deletion(-)
6644
6645commit b7e200d7bd0a3c7c171c13ad37d68296d6f73374
6646Author: Lasse Collin <lasse.collin@tukaani.org>
6647Date:   2013-06-23 18:59:13 +0300
6648
6649    Update THANKS.
6650
6651 THANKS | 1 +
6652 1 file changed, 1 insertion(+)
6653
6654commit 46540e4c10923e363741ff5aab99e79fc0ce6ee8
6655Author: Lasse Collin <lasse.collin@tukaani.org>
6656Date:   2013-06-23 18:57:23 +0300
6657
6658    liblzma: Avoid a warning about a shadowed variable.
6659
6660    On Mac OS X wait() is declared in <sys/wait.h> that
6661    we include one way or other so don't use "wait" as
6662    a variable name.
6663
6664    Thanks to Christian Kujau.
6665
6666 src/liblzma/common/stream_encoder_mt.c | 4 ++--
6667 1 file changed, 2 insertions(+), 2 deletions(-)
6668
6669commit ebb501ec73cecc546c67117dd01b5e33c90bfb4a
6670Author: Lasse Collin <lasse.collin@tukaani.org>
6671Date:   2013-06-23 17:36:47 +0300
6672
6673    xz: Validate Uncompressed Size from Block Header in list.c.
6674
6675    This affects only "xz -lvv". Normal decompression with xz
6676    already detected if Block Header and Index had mismatched
6677    Uncompressed Size fields. So this just makes "xz -lvv"
6678    show such files as corrupt instead of showing the
6679    Uncompressed Size from Index.
6680
6681 src/xz/list.c | 14 +++++++++++++-
6682 1 file changed, 13 insertions(+), 1 deletion(-)
6683
6684commit c09e91dd236d3cabee0fc48312b3dc8cceae41ab
6685Author: Lasse Collin <lasse.collin@tukaani.org>
6686Date:   2013-06-21 22:08:11 +0300
6687
6688    Update THANKS.
6689
6690 THANKS | 2 ++
6691 1 file changed, 2 insertions(+)
6692
6693commit eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494
6694Author: Lasse Collin <lasse.collin@tukaani.org>
6695Date:   2013-06-21 22:04:45 +0300
6696
6697    xz: Make the man page more friendly to doclifter.
6698
6699    Thanks to Eric S. Raymond.
6700
6701 src/xz/xz.1 | 7 ++++---
6702 1 file changed, 4 insertions(+), 3 deletions(-)
6703
6704commit 0c0a1947e6ad90a0a10b7a5c39f6ab99a0aa5c93
6705Author: Lasse Collin <lasse.collin@tukaani.org>
6706Date:   2013-06-21 21:54:59 +0300
6707
6708    xz: A couple of man page fixes.
6709
6710    Now the interaction of presets and custom filter chains
6711    is described correctly. Earlier it contradicted itself.
6712
6713    Thanks to DevHC who reported these issues on IRC to me
6714    on 2012-12-14.
6715
6716 src/xz/xz.1 | 35 +++++++++++++++++++++++------------
6717 1 file changed, 23 insertions(+), 12 deletions(-)
6718
6719commit 2fcda89939c903106c429e109083d43d894049e0
6720Author: Lasse Collin <lasse.collin@tukaani.org>
6721Date:   2013-06-21 21:50:26 +0300
6722
6723    xz: Fix interaction between preset and custom filter chains.
6724
6725    There was somewhat illogical behavior when --extreme was
6726    specified and mixed with custom filter chains.
6727
6728    Before this commit, "xz -9 --lzma2 -e" was equivalent
6729    to "xz --lzma2". After it is equivalent to "xz -6e"
6730    (all earlier preset options get forgotten when a custom
6731    filter chain is specified and the default preset is 6
6732    to which -e is applied). I find this less illogical.
6733
6734    This also affects the meaning of "xz -9e --lzma2 -7".
6735    Earlier it was equivalent to "xz -7e" (the -e specified
6736    before a custom filter chain wasn't forgotten). Now it
6737    is "xz -7". Note that "xz -7e" still is the same as "xz -e7".
6738
6739    Hopefully very few cared about this in the first place,
6740    so pretty much no one should even notice this change.
6741
6742    Thanks to Conley Moorhous.
6743
6744 src/xz/coder.c | 35 +++++++++++++++++++++--------------
6745 1 file changed, 21 insertions(+), 14 deletions(-)
6746
6747commit 97379c5ea758da3f8b0bc444d5f7fa43753ce610
6748Author: Lasse Collin <lasse.collin@tukaani.org>
6749Date:   2013-04-27 22:07:46 +0300
6750
6751    Build: Use -Wvla with GCC if supported.
6752
6753    Variable-length arrays are mandatory in C99 but optional in C11.
6754    The code doesn't currently use any VLAs and it shouldn't in the
6755    future either to stay compatible with C11 without requiring any
6756    optional C11 features.
6757
6758 configure.ac | 1 +
6759 1 file changed, 1 insertion(+)
6760
6761commit 8957c58609d3987c58aa72b96c436cf565cc4917
6762Author: Lasse Collin <lasse.collin@tukaani.org>
6763Date:   2013-04-15 19:29:09 +0300
6764
6765    xzdec: Improve the --help message.
6766
6767    The options are now ordered in the same order as in xz's help
6768    message.
6769
6770    Descriptions were added to the options that are ignored.
6771    I left them in parenthesis even if it looks a bit weird
6772    because I find it easier to spot the ignored vs. non-ignored
6773    options from the list that way.
6774
6775 src/xzdec/xzdec.c | 10 +++++-----
6776 1 file changed, 5 insertions(+), 5 deletions(-)
6777
6778commit ed886e1a92534a24401d0e99c11f1dcff3b5220a
6779Author: Lasse Collin <lasse.collin@tukaani.org>
6780Date:   2013-04-05 19:25:40 +0300
6781
6782    Update THANKS.
6783
6784 THANKS | 2 ++
6785 1 file changed, 2 insertions(+)
6786
6787commit 5019413a055ce29e660dbbf15e02443cb5a26c59
6788Author: Jeff Bastian <jbastian@redhat.com>
6789Date:   2013-04-03 13:59:17 +0200
6790
6791    xzgrep: make the '-h' option to be --no-filename equivalent
6792
6793    * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
6794
6795 src/scripts/xzgrep.in | 2 +-
6796 1 file changed, 1 insertion(+), 1 deletion(-)
6797
6798commit 5ea900cb5ad862bca81316729f92357c1fc040ce
6799Author: Lasse Collin <lasse.collin@tukaani.org>
6800Date:   2013-03-23 22:25:15 +0200
6801
6802    liblzma: Be less picky in lzma_alone_decoder().
6803
6804    To avoid false positives when detecting .lzma files,
6805    rare values in dictionary size and uncompressed size fields
6806    were rejected. They will still be rejected if .lzma files
6807    are decoded with lzma_auto_decoder(), but when using
6808    lzma_alone_decoder() directly, such files will now be accepted.
6809    Hopefully this is an OK compromise.
6810
6811    This doesn't affect xz because xz still has its own file
6812    format detection code. This does affect lzmadec though.
6813    So after this commit lzmadec will accept files that xz or
6814    xz-emulating-lzma doesn't.
6815
6816    NOTE: lzma_alone_decoder() still won't decode all .lzma files
6817    because liblzma's LZMA decoder doesn't support lc + lp > 4.
6818
6819    Reported here:
6820    http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827
6821
6822 src/liblzma/common/alone_decoder.c | 22 ++++++++++++++--------
6823 src/liblzma/common/alone_decoder.h |  5 +++--
6824 src/liblzma/common/auto_decoder.c  |  2 +-
6825 3 files changed, 18 insertions(+), 11 deletions(-)
6826
6827commit bb117fffa84604b6e3811b068c80db82bf7f7b05
6828Author: Lasse Collin <lasse.collin@tukaani.org>
6829Date:   2013-03-23 21:55:13 +0200
6830
6831    liblzma: Use lzma_block_buffer_bound64() in threaded encoder.
6832
6833    Now it uses lzma_block_uncomp_encode() if the data doesn't
6834    fit into the space calculated by lzma_block_buffer_bound64().
6835
6836 src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++---------
6837 1 file changed, 50 insertions(+), 16 deletions(-)
6838
6839commit e572e123b55b29527e54ce5f0807f115481d78b9
6840Author: Lasse Collin <lasse.collin@tukaani.org>
6841Date:   2013-03-23 21:51:38 +0200
6842
6843    liblzma: Fix another deadlock in the threaded encoder.
6844
6845    This race condition could cause a deadlock if lzma_end() was
6846    called before finishing the encoding. This can happen with
6847    xz with debugging enabled (non-debugging version doesn't
6848    call lzma_end() before exiting).
6849
6850 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
6851 1 file changed, 6 insertions(+), 3 deletions(-)
6852
6853commit b465da5988dd59ad98fda10c2e4ea13d0b9c73bc
6854Author: Lasse Collin <lasse.collin@tukaani.org>
6855Date:   2013-03-23 19:17:33 +0200
6856
6857    liblzma: Add lzma_block_uncomp_encode().
6858
6859    This also adds a new internal function
6860    lzma_block_buffer_bound64() which is similar to
6861    lzma_block_buffer_bound() but uses uint64_t instead
6862    of size_t.
6863
6864 src/liblzma/api/lzma/block.h              | 18 ++++++
6865 src/liblzma/common/block_buffer_encoder.c | 94 +++++++++++++++++++++----------
6866 src/liblzma/common/block_buffer_encoder.h | 24 ++++++++
6867 src/liblzma/liblzma.map                   |  1 +
6868 4 files changed, 106 insertions(+), 31 deletions(-)
6869
6870commit 9e6dabcf22ef4679f4faaae15ebd5b137ae2fad1
6871Author: Lasse Collin <lasse.collin@tukaani.org>
6872Date:   2013-03-05 19:14:50 +0200
6873
6874    Avoid unneeded use of awk in xzless.
6875
6876    Use "read" instead of "awk" in xzless to get the version
6877    number of "less". The need for awk was introduced in
6878    the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e.
6879
6880    Thanks to Ariel P for the patch.
6881
6882 src/scripts/xzless.in | 3 +--
6883 1 file changed, 1 insertion(+), 2 deletions(-)
6884
6885commit e7b424d267a34803db8d92a3515528be2ed45abd
6886Author: Lasse Collin <lasse.collin@tukaani.org>
6887Date:   2012-12-14 20:13:32 +0200
6888
6889    Make the progress indicator smooth in threaded mode.
6890
6891    This adds lzma_get_progress() to liblzma and takes advantage
6892    of it in xz.
6893
6894    lzma_get_progress() collects progress information from
6895    the thread-specific structures so that fairly accurate
6896    progress information is available to applications. Adding
6897    a new function seemed to be a better way than making the
6898    information directly available in lzma_stream (like total_in
6899    and total_out are) because collecting the information requires
6900    locking mutexes. It's waste of time to do it more often than
6901    the up to date information is actually needed by an application.
6902
6903 src/liblzma/api/lzma/base.h            | 22 +++++++++-
6904 src/liblzma/common/common.c            | 16 +++++++
6905 src/liblzma/common/common.h            |  6 +++
6906 src/liblzma/common/stream_encoder_mt.c | 77 +++++++++++++++++++++++++++++++---
6907 src/liblzma/liblzma.map                |  1 +
6908 src/xz/message.c                       | 20 +++++----
6909 6 files changed, 129 insertions(+), 13 deletions(-)
6910
6911commit 2ebbb994e367f55f2561aa7c9e7451703c171f2f
6912Author: Lasse Collin <lasse.collin@tukaani.org>
6913Date:   2012-12-14 11:01:41 +0200
6914
6915    liblzma: Fix mythread_sync for nested locking.
6916
6917 src/common/mythread.h | 5 +++--
6918 1 file changed, 3 insertions(+), 2 deletions(-)
6919
6920commit 4c7e28705f6de418d19cc77324ef301f996e01ff
6921Author: Lasse Collin <lasse.collin@tukaani.org>
6922Date:   2012-12-13 21:05:36 +0200
6923
6924    xz: Mention --threads in --help.
6925
6926    Thanks to Olivier Delhomme for pointing out that this
6927    was still missing.
6928
6929 src/xz/message.c | 4 ++++
6930 1 file changed, 4 insertions(+)
6931
6932commit db5c1817fabf7cbb9e4087b1576eb26f0747338e
6933Author: Jonathan Nieder <jrnieder@gmail.com>
6934Date:   2012-11-19 00:10:10 -0800
6935
6936    xzless: Make "less -V" parsing more robust
6937
6938    In v4.999.9beta~30 (xzless: Support compressed standard input,
6939    2009-08-09), xzless learned to parse ‘less -V’ output to figure out
6940    whether less is new enough to handle $LESSOPEN settings starting
6941    with “|-”.  That worked well for a while, but the version string from
6942    ‘less’ versions 448 (June, 2012) is misparsed, producing a warning:
6943
6944            $ xzless /tmp/test.xz; echo $?
6945            /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
6946            integer expression expected
6947            0
6948
6949    More precisely, modern ‘less’ lists the regexp implementation along
6950    with its version number, and xzless passes the entire version number
6951    with attached parenthetical phrase as a number to "test $a -gt $b",
6952    producing the above confusing message.
6953
6954            $ less-444 -V | head -1
6955            less 444
6956            $ less -V | head -1
6957            less 456 (no regular expressions)
6958
6959    So relax the pattern matched --- instead of expecting "less <number>",
6960    look for a line of the form "less <number>[ (extra parenthetical)]".
6961    While at it, improve the behavior when no matching line is found ---
6962    instead of producing a cryptic message, we can fall back on a LESSPIPE
6963    setting that is supported by all versions of ‘less’.
6964
6965    The implementation uses "awk" for simplicity.  Hopefully that’s
6966    portable enough.
6967
6968    Reported-by: Jörg-Volker Peetz <jvpeetz@web.de>
6969    Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
6970
6971 src/scripts/xzless.in | 3 ++-
6972 1 file changed, 2 insertions(+), 1 deletion(-)
6973
6974commit 65536214a31ecd33b6b03b68a351fb597d3703d6
6975Author: Lasse Collin <lasse.collin@tukaani.org>
6976Date:   2012-10-03 15:54:24 +0300
6977
6978    xz: Fix the note about --rsyncable on the man page.
6979
6980 src/xz/xz.1 | 17 +++++++++--------
6981 1 file changed, 9 insertions(+), 8 deletions(-)
6982
6983commit 3d93b6354927247a1569caf22ad27b07e97ee904
6984Author: Lasse Collin <lasse.collin@tukaani.org>
6985Date:   2012-09-28 20:11:09 +0300
6986
6987    xz: Improve handling of failed realloc in xrealloc.
6988
6989    Thanks to Jim Meyering.
6990
6991 src/xz/util.c | 14 ++++++++++++--
6992 1 file changed, 12 insertions(+), 2 deletions(-)
6993
6994commit ab225620664e235637833be2329935f9d290ba80
6995Author: Lasse Collin <lasse.collin@tukaani.org>
6996Date:   2012-08-24 16:27:31 +0300
6997
6998    A few typo fixes to comments and the xz man page.
6999
7000    Thanks to Jim Meyering.
7001
7002 configure.ac               | 2 +-
7003 src/liblzma/check/sha256.c | 1 -
7004 src/xz/xz.1                | 4 ++--
7005 3 files changed, 3 insertions(+), 4 deletions(-)
7006
7007commit f3c1ec69d910175ffd431fd82968dd35cec806ed
7008Author: Lasse Collin <lasse.collin@tukaani.org>
7009Date:   2012-08-13 21:40:09 +0300
7010
7011    xz: Add a warning to --help about alpha and beta versions.
7012
7013 src/xz/message.c | 5 +++++
7014 1 file changed, 5 insertions(+)
7015
7016commit d8eaf9d8278c23c2cf2b7ca5562d4de570d3b5db
7017Author: Lasse Collin <lasse.collin@tukaani.org>
7018Date:   2012-08-02 17:13:30 +0300
7019
7020    Build: Bump gettext version requirement to 0.18.
7021
7022    Otherwise too old version of m4/lib-link.m4 gets included
7023    when autoreconf -fi is run.
7024
7025 configure.ac | 2 +-
7026 1 file changed, 1 insertion(+), 1 deletion(-)
7027
7028commit 96e08902b09f0f304d4ff80c6e83ef7fff883f34
7029Author: Lasse Collin <lasse.collin@tukaani.org>
7030Date:   2012-07-17 18:29:08 +0300
7031
7032    Update THANKS.
7033
7034 THANKS | 1 +
7035 1 file changed, 1 insertion(+)
7036
7037commit 3778db1be53e61ff285c573af5ee468803008456
7038Author: Lasse Collin <lasse.collin@tukaani.org>
7039Date:   2012-07-17 18:19:59 +0300
7040
7041    liblzma: Make the use of lzma_allocator const-correct.
7042
7043    There is a tiny risk of causing breakage: If an application
7044    assigns lzma_stream.allocator to a non-const pointer, such
7045    code won't compile anymore. I don't know why anyone would do
7046    such a thing though, so in practice this shouldn't cause trouble.
7047
7048    Thanks to Jan Kratochvil for the patch.
7049
7050 src/liblzma/api/lzma/base.h                |  4 +++-
7051 src/liblzma/api/lzma/block.h               |  6 ++---
7052 src/liblzma/api/lzma/container.h           |  9 +++++---
7053 src/liblzma/api/lzma/filter.h              | 13 ++++++-----
7054 src/liblzma/api/lzma/index.h               | 16 ++++++-------
7055 src/liblzma/api/lzma/index_hash.h          |  4 ++--
7056 src/liblzma/common/alone_decoder.c         |  6 ++---
7057 src/liblzma/common/alone_decoder.h         |  2 +-
7058 src/liblzma/common/alone_encoder.c         |  8 +++----
7059 src/liblzma/common/auto_decoder.c          |  6 ++---
7060 src/liblzma/common/block_buffer_decoder.c  |  2 +-
7061 src/liblzma/common/block_buffer_encoder.c  |  4 ++--
7062 src/liblzma/common/block_decoder.c         |  6 ++---
7063 src/liblzma/common/block_decoder.h         |  2 +-
7064 src/liblzma/common/block_encoder.c         |  8 +++----
7065 src/liblzma/common/block_encoder.h         |  2 +-
7066 src/liblzma/common/block_header_decoder.c  |  4 ++--
7067 src/liblzma/common/common.c                | 10 ++++-----
7068 src/liblzma/common/common.h                | 20 +++++++++--------
7069 src/liblzma/common/easy_buffer_encoder.c   |  4 ++--
7070 src/liblzma/common/filter_buffer_decoder.c |  3 ++-
7071 src/liblzma/common/filter_buffer_encoder.c |  7 +++---
7072 src/liblzma/common/filter_common.c         |  4 ++--
7073 src/liblzma/common/filter_common.h         |  2 +-
7074 src/liblzma/common/filter_decoder.c        |  7 +++---
7075 src/liblzma/common/filter_decoder.h        |  2 +-
7076 src/liblzma/common/filter_encoder.c        |  2 +-
7077 src/liblzma/common/filter_encoder.h        |  2 +-
7078 src/liblzma/common/filter_flags_decoder.c  |  2 +-
7079 src/liblzma/common/index.c                 | 26 ++++++++++-----------
7080 src/liblzma/common/index_decoder.c         | 12 +++++-----
7081 src/liblzma/common/index_encoder.c         |  6 ++---
7082 src/liblzma/common/index_encoder.h         |  2 +-
7083 src/liblzma/common/index_hash.c            |  6 +++--
7084 src/liblzma/common/outqueue.c              |  4 ++--
7085 src/liblzma/common/outqueue.h              |  5 +++--
7086 src/liblzma/common/stream_buffer_decoder.c |  2 +-
7087 src/liblzma/common/stream_buffer_encoder.c |  3 ++-
7088 src/liblzma/common/stream_decoder.c        |  9 ++++----
7089 src/liblzma/common/stream_decoder.h        |  5 +++--
7090 src/liblzma/common/stream_encoder.c        | 10 ++++-----
7091 src/liblzma/common/stream_encoder_mt.c     | 16 ++++++-------
7092 src/liblzma/delta/delta_common.c           |  4 ++--
7093 src/liblzma/delta/delta_decoder.c          |  6 ++---
7094 src/liblzma/delta/delta_decoder.h          |  5 +++--
7095 src/liblzma/delta/delta_encoder.c          |  6 ++---
7096 src/liblzma/delta/delta_encoder.h          |  3 ++-
7097 src/liblzma/delta/delta_private.h          |  2 +-
7098 src/liblzma/lz/lz_decoder.c                |  8 +++----
7099 src/liblzma/lz/lz_decoder.h                |  7 +++---
7100 src/liblzma/lz/lz_encoder.c                | 19 ++++++++--------
7101 src/liblzma/lz/lz_encoder.h                |  6 ++---
7102 src/liblzma/lzma/lzma2_decoder.c           |  8 +++----
7103 src/liblzma/lzma/lzma2_decoder.h           |  5 +++--
7104 src/liblzma/lzma/lzma2_encoder.c           |  6 ++---
7105 src/liblzma/lzma/lzma2_encoder.h           |  2 +-
7106 src/liblzma/lzma/lzma_decoder.c            |  8 +++----
7107 src/liblzma/lzma/lzma_decoder.h            |  7 +++---
7108 src/liblzma/lzma/lzma_encoder.c            |  7 +++---
7109 src/liblzma/lzma/lzma_encoder.h            |  5 +++--
7110 src/liblzma/simple/arm.c                   |  8 ++++---
7111 src/liblzma/simple/armthumb.c              |  8 ++++---
7112 src/liblzma/simple/ia64.c                  |  8 ++++---
7113 src/liblzma/simple/powerpc.c               |  8 ++++---
7114 src/liblzma/simple/simple_coder.c          | 10 ++++-----
7115 src/liblzma/simple/simple_coder.h          | 36 ++++++++++++++++++++----------
7116 src/liblzma/simple/simple_decoder.c        |  2 +-
7117 src/liblzma/simple/simple_decoder.h        |  2 +-
7118 src/liblzma/simple/simple_private.h        |  3 ++-
7119 src/liblzma/simple/sparc.c                 |  8 ++++---
7120 src/liblzma/simple/x86.c                   |  8 ++++---
7121 71 files changed, 269 insertions(+), 219 deletions(-)
7122
7123commit d625c7cf824fd3b61c6da84f56179e94917ff603
7124Author: Lasse Collin <lasse.collin@tukaani.org>
7125Date:   2012-07-05 07:36:28 +0300
7126
7127    Tests: Remove tests/test_block.c that had gotten committed accidentally.
7128
7129 tests/test_block.c | 52 ----------------------------------------------------
7130 1 file changed, 52 deletions(-)
7131
7132commit 0b09d266cce72bc4841933b171e79551e488927c
7133Author: Lasse Collin <lasse.collin@tukaani.org>
7134Date:   2012-07-05 07:33:35 +0300
7135
7136    Build: Include macosx/build.sh in the distribution.
7137
7138    It has been in the Git repository since 2010 but probably
7139    few people have seen it since it hasn't been included in
7140    the release tarballs. :-(
7141
7142 Makefile.am | 1 +
7143 1 file changed, 1 insertion(+)
7144
7145commit d6e0b23d4613b9f417893dd96cc168c8005ece3d
7146Author: Lasse Collin <lasse.collin@tukaani.org>
7147Date:   2012-07-05 07:28:53 +0300
7148
7149    Build: Include validate_map.sh in the distribution.
7150
7151    It's required by "make mydist".
7152
7153    Fix also the location of EXTRA_DIST+= so that those files
7154    get distributed also if symbol versioning isn't enabled.
7155
7156 src/liblzma/Makefile.am | 2 +-
7157 1 file changed, 1 insertion(+), 1 deletion(-)
7158
7159commit 19de545d86097c3954d69ab5d12820387f6a09bc
7160Author: Lasse Collin <lasse.collin@tukaani.org>
7161Date:   2012-07-05 07:24:45 +0300
7162
7163    Docs: Fix the name LZMA Utils -> XZ Utils in debug/README.
7164
7165 debug/README | 2 +-
7166 1 file changed, 1 insertion(+), 1 deletion(-)
7167
7168commit 672eccf57c31a40dfb956b7662db06d43e18618e
7169Author: Lasse Collin <lasse.collin@tukaani.org>
7170Date:   2012-07-05 07:23:17 +0300
7171
7172    Include debug/translation.bash in the distribution.
7173
7174    Also fix the script name mentioned in README.
7175
7176 README            | 4 ++--
7177 debug/Makefile.am | 3 +++
7178 2 files changed, 5 insertions(+), 2 deletions(-)
7179
7180commit cafb523adac1caf305e70a04bc37f25602bf990c
7181Author: Lasse Collin <lasse.collin@tukaani.org>
7182Date:   2012-07-04 22:31:58 +0300
7183
7184    xz: Document --block-list better.
7185
7186    Thanks to Jonathan Nieder.
7187
7188 src/xz/xz.1 | 8 +++++++-
7189 1 file changed, 7 insertions(+), 1 deletion(-)
7190
7191commit c7ff218528bc8f7c65e7ef73c6515777346c6794
7192Author: Lasse Collin <lasse.collin@tukaani.org>
7193Date:   2012-07-04 20:01:49 +0300
7194
7195    Bump the version number to 5.1.2alpha.
7196
7197 src/liblzma/api/lzma/version.h | 2 +-
7198 src/liblzma/liblzma.map        | 2 +-
7199 2 files changed, 2 insertions(+), 2 deletions(-)
7200
7201commit 8f3c1d886f93e6478ad509ff52102b2ce7faa999
7202Author: Lasse Collin <lasse.collin@tukaani.org>
7203Date:   2012-07-04 20:01:19 +0300
7204
7205    Update NEWS for 5.1.2alpha.
7206
7207 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
7208 1 file changed, 41 insertions(+)
7209
7210commit 0d5fa05466e580fbc458820f87013ae7644e20e5
7211Author: Lasse Collin <lasse.collin@tukaani.org>
7212Date:   2012-07-04 19:58:23 +0300
7213
7214    xz: Fix the version number printed by xz -lvv.
7215
7216    The decoder bug was fixed in 5.0.2 instead of 5.0.3.
7217
7218 src/xz/list.c | 6 +++---
7219 1 file changed, 3 insertions(+), 3 deletions(-)
7220
7221commit df11317985a4165731dde12bb0f0028da0e7b77f
7222Author: Lasse Collin <lasse.collin@tukaani.org>
7223Date:   2012-07-04 17:11:31 +0300
7224
7225    Build: Add a comment to configure.ac about symbol versioning.
7226
7227 configure.ac | 4 ++++
7228 1 file changed, 4 insertions(+)
7229
7230commit bd9cc179e8be3ef515201d3ed9c7dd79ae88869d
7231Author: Lasse Collin <lasse.collin@tukaani.org>
7232Date:   2012-07-04 17:06:49 +0300
7233
7234    Update TODO.
7235
7236 TODO | 12 ++++++++++--
7237 1 file changed, 10 insertions(+), 2 deletions(-)
7238
7239commit 4a238dd9b22f462cac5e199828bf1beb0df05884
7240Author: Lasse Collin <lasse.collin@tukaani.org>
7241Date:   2012-07-04 17:05:46 +0300
7242
7243    Document --enable-symbol-versions in INSTALL.
7244
7245 INSTALL | 5 +++++
7246 1 file changed, 5 insertions(+)
7247
7248commit 88ccf47205d7f3aa314d358c72ef214f10f68b43
7249Author: Lasse Collin <lasse.collin@tukaani.org>
7250Date:   2012-07-03 21:16:39 +0300
7251
7252    xz: Add incomplete support for --block-list.
7253
7254    It's broken with threads and when also --block-size is used.
7255
7256 src/xz/args.c    | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7257 src/xz/args.h    |  1 +
7258 src/xz/coder.c   | 48 ++++++++++++++++++++++++++++------
7259 src/xz/coder.h   |  4 +++
7260 src/xz/main.c    |  1 +
7261 src/xz/message.c |  6 +++++
7262 src/xz/xz.1      | 23 +++++++++++++++--
7263 7 files changed, 151 insertions(+), 10 deletions(-)
7264
7265commit 972179cdcdf5d8949c48ee31737d87d3050b44af
7266Author: Lasse Collin <lasse.collin@tukaani.org>
7267Date:   2012-07-01 18:44:33 +0300
7268
7269    xz: Update the man page about the new field in --robot -lvv.
7270
7271 src/xz/xz.1 | 18 +++++++++++++++++-
7272 1 file changed, 17 insertions(+), 1 deletion(-)
7273
7274commit 1403707fc64a70976aebe66f8d9a9bd12f73a2c5
7275Author: Lasse Collin <lasse.collin@tukaani.org>
7276Date:   2012-06-28 10:47:49 +0300
7277
7278    liblzma: Check that the first byte of range encoded data is 0x00.
7279
7280    It is just to be more pedantic and thus perhaps catch broken
7281    files slightly earlier.
7282
7283 src/liblzma/lzma/lzma_decoder.c        |  8 ++++++--
7284 src/liblzma/rangecoder/range_decoder.h | 12 +++++++++---
7285 2 files changed, 15 insertions(+), 5 deletions(-)
7286
7287commit eccd8017ffe2c5de473222c4963ec53c62f7fda2
7288Author: Lasse Collin <lasse.collin@tukaani.org>
7289Date:   2012-06-22 19:00:23 +0300
7290
7291    Update NEWS from 5.0.4.
7292
7293 NEWS | 37 +++++++++++++++++++++++++++++++++++++
7294 1 file changed, 37 insertions(+)
7295
7296commit 2e6754eac26a431e8d340c28906f63bcd1e177e8
7297Author: Lasse Collin <lasse.collin@tukaani.org>
7298Date:   2012-06-22 14:34:03 +0300
7299
7300    xz: Update man page date to match the latest update.
7301
7302 src/xz/xz.1 | 2 +-
7303 1 file changed, 1 insertion(+), 1 deletion(-)
7304
7305commit b3235a0b1af45d5e1244cbe3191516966c076fa0
7306Author: Lasse Collin <lasse.collin@tukaani.org>
7307Date:   2012-06-18 21:27:47 +0300
7308
7309    Docs: Language fix to 01_compress_easy.c.
7310
7311    Thanks to Jonathan Nieder.
7312
7313 doc/examples/01_compress_easy.c | 2 +-
7314 1 file changed, 1 insertion(+), 1 deletion(-)
7315
7316commit f1675f765fe228cb5a5f904f853445a03e33cfe9
7317Author: Lasse Collin <lasse.collin@tukaani.org>
7318Date:   2012-06-14 20:15:30 +0300
7319
7320    Fix the top-level Makefile.am for the new example programs.
7321
7322 Makefile.am | 12 ++++++++++--
7323 1 file changed, 10 insertions(+), 2 deletions(-)
7324
7325commit 3a0c5378abefaf86aa39a62a7c9682bdb21568a1
7326Author: Lasse Collin <lasse.collin@tukaani.org>
7327Date:   2012-06-14 10:52:33 +0300
7328
7329    Docs: Add new example programs.
7330
7331    These have more comments than the old examples and
7332    human-readable error messages. More tutorial-like examples
7333    are needed but these are a start.
7334
7335 doc/examples/00_README.txt        |  27 ++++
7336 doc/examples/01_compress_easy.c   | 297 ++++++++++++++++++++++++++++++++++++++
7337 doc/examples/02_decompress.c      | 287 ++++++++++++++++++++++++++++++++++++
7338 doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++
7339 doc/examples/Makefile             |  23 +++
7340 5 files changed, 827 insertions(+)
7341
7342commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d
7343Author: Lasse Collin <lasse.collin@tukaani.org>
7344Date:   2012-06-14 10:33:27 +0300
7345
7346    Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old.
7347
7348    It is good to keep these around to so that if someone has
7349    copied the decompressor bug from xz_pipe_decomp.c he has
7350    an example how to easily fix it.
7351
7352 doc/{examples => examples_old}/xz_pipe_comp.c   | 0
7353 doc/{examples => examples_old}/xz_pipe_decomp.c | 0
7354 2 files changed, 0 insertions(+), 0 deletions(-)
7355
7356commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292
7357Author: Lasse Collin <lasse.collin@tukaani.org>
7358Date:   2012-06-14 10:33:01 +0300
7359
7360    Docs: Fix a bug in xz_pipe_decomp.c example program.
7361
7362 doc/examples/xz_pipe_decomp.c | 10 +++++++++-
7363 1 file changed, 9 insertions(+), 1 deletion(-)
7364
7365commit 4bd1a3bd5fdf4870b2f96dd0b8a21657c8a58ad8
7366Author: Lasse Collin <lasse.collin@tukaani.org>
7367Date:   2012-05-30 23:14:33 +0300
7368
7369    Translations: Update the French translation.
7370
7371    Thanks to Adrien Nader.
7372
7373 po/fr.po | 148 ++++++++++++++++++++++++++++++++++-----------------------------
7374 1 file changed, 79 insertions(+), 69 deletions(-)
7375
7376commit d2e836f2f3a87df6fe6bb0589b037db51205d910
7377Author: Lasse Collin <lasse.collin@tukaani.org>
7378Date:   2012-05-29 23:42:37 +0300
7379
7380    Translations: Update the German translation.
7381
7382    The previous only included the new strings in v5.0.
7383
7384 po/de.po | 229 +++++++++++++++++++++++++++++++++++++--------------------------
7385 1 file changed, 133 insertions(+), 96 deletions(-)
7386
7387commit c9a16151577ba459afd6e3528df23bc0ddb95171
7388Author: Lasse Collin <lasse.collin@tukaani.org>
7389Date:   2012-05-29 22:26:27 +0300
7390
7391    Translations: Update the German translation.
7392
7393 po/de.po | 169 ++++++++++++++++++++++++++++++++++-----------------------------
7394 1 file changed, 91 insertions(+), 78 deletions(-)
7395
7396commit 1530a74fd48f8493372edad137a24541efe24713
7397Author: Lasse Collin <lasse.collin@tukaani.org>
7398Date:   2012-05-29 22:14:21 +0300
7399
7400    Translations: Update Polish translation.
7401
7402 po/pl.po | 283 +++++++++++++++++++++++++++++++++++++--------------------------
7403 1 file changed, 165 insertions(+), 118 deletions(-)
7404
7405commit d8db706acb8316f9861abd432cfbe001dd6d0c5c
7406Author: Lasse Collin <lasse.collin@tukaani.org>
7407Date:   2012-05-28 20:42:11 +0300
7408
7409    liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.
7410
7411    lzma_code() could incorrectly return LZMA_BUF_ERROR if
7412    all of the following was true:
7413
7414      - The caller knows how many bytes of output to expect
7415        and only provides that much output space.
7416
7417      - When the last output bytes are decoded, the
7418        caller-provided input buffer ends right before
7419        the LZMA2 end of payload marker. So LZMA2 won't
7420        provide more output anymore, but it won't know it
7421        yet and thus won't return LZMA_STREAM_END yet.
7422
7423      - A BCJ filter is in use and it hasn't left any
7424        unfiltered bytes in the temp buffer. This can happen
7425        with any BCJ filter, but in practice it's more likely
7426        with filters other than the x86 BCJ.
7427
7428    Another situation where the bug can be triggered happens
7429    if the uncompressed size is zero bytes and no output space
7430    is provided. In this case the decompression can fail even
7431    if the whole input file is given to lzma_code().
7432
7433    A similar bug was fixed in XZ Embedded on 2011-09-19.
7434
7435 src/liblzma/simple/simple_coder.c |   2 +-
7436 tests/Makefile.am                 |   4 +-
7437 tests/test_bcj_exact_size.c       | 112 ++++++++++++++++++++++++++++++++++++++
7438 3 files changed, 116 insertions(+), 2 deletions(-)
7439
7440commit 3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda
7441Author: Lasse Collin <lasse.collin@tukaani.org>
7442Date:   2012-05-28 15:38:32 +0300
7443
7444    Update THANKS.
7445
7446 THANKS | 1 +
7447 1 file changed, 1 insertion(+)
7448
7449commit 7769ea051d739a38a1640fd448cf5eb83cb119c6
7450Author: Lasse Collin <lasse.collin@tukaani.org>
7451Date:   2012-05-28 15:37:43 +0300
7452
7453    xz: Don't show a huge number in -vv when memory limit is disabled.
7454
7455 src/xz/message.c | 12 +++++++++++-
7456 1 file changed, 11 insertions(+), 1 deletion(-)
7457
7458commit ec921105725e4d3ef0a683dd83eee6f24ab60ccd
7459Author: Lasse Collin <lasse.collin@tukaani.org>
7460Date:   2012-05-27 22:30:17 +0300
7461
7462    xz: Document the "summary" lines of --robot -lvv.
7463
7464    This documents only the columns that are in v5.0.
7465    The new columns added in the master branch aren't
7466    necessarily stable yet.
7467
7468 src/xz/xz.1 | 19 +++++++++++++++++++
7469 1 file changed, 19 insertions(+)
7470
7471commit 27d24eb0a9f6eed96d6a4594c2b0bf7a91d29f9a
7472Author: Lasse Collin <lasse.collin@tukaani.org>
7473Date:   2012-05-27 21:53:20 +0300
7474
7475    xz: Fix output of verbose --robot --list modes.
7476
7477    It printed the filename in "filename (x/y)" format
7478    which it obviously shouldn't do in robot mode.
7479
7480 src/xz/message.c | 2 +-
7481 1 file changed, 1 insertion(+), 1 deletion(-)
7482
7483commit ab25b82a91754d9388c89abddf806424671d9431
7484Author: Lasse Collin <lasse.collin@tukaani.org>
7485Date:   2012-05-24 18:33:54 +0300
7486
7487    Build: Upgrade m4/acx_pthread.m4 to the latest version.
7488
7489 m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++---------------------
7490 1 file changed, 62 insertions(+), 36 deletions(-)
7491
7492commit d05d6d65c41a4bc83f162fa3d67c5d84e8751634
7493Author: Lasse Collin <lasse.collin@tukaani.org>
7494Date:   2012-05-10 21:15:17 +0300
7495
7496    Update THANKS.
7497
7498 THANKS | 1 +
7499 1 file changed, 1 insertion(+)
7500
7501commit e077391982f9f28dbfe542bba8800e7c5b916666
7502Author: Lasse Collin <lasse.collin@tukaani.org>
7503Date:   2012-05-10 21:14:16 +0300
7504
7505    Docs: Cleanup line wrapping a bit.
7506
7507 README          | 12 ++++++------
7508 doc/history.txt | 49 +++++++++++++++++++++++++------------------------
7509 2 files changed, 31 insertions(+), 30 deletions(-)
7510
7511commit fc39849c350225c6a1cd7f6e6adff1020521eabc
7512Author: Benno Schulenberg <bensberg@justemail.net>
7513Date:   2012-03-13 22:04:04 +0100
7514
7515    Fix a few typos and add some missing articles in some documents.
7516
7517    Also hyphenate several compound adjectives.
7518
7519    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
7520
7521 AUTHORS         |  6 +++---
7522 README          | 42 ++++++++++++++++++++---------------------
7523 doc/faq.txt     | 24 ++++++++++++------------
7524 doc/history.txt | 58 ++++++++++++++++++++++++++++-----------------------------
7525 4 files changed, 65 insertions(+), 65 deletions(-)
7526
7527commit 29fa0566d5df199cb9acb2d17bf7eea61acc7fa1
7528Author: Lasse Collin <lasse.collin@tukaani.org>
7529Date:   2012-04-29 11:51:25 +0300
7530
7531    Windows: Update notes about static linking with MSVC.
7532
7533 windows/README-Windows.txt | 13 +++++++++----
7534 1 file changed, 9 insertions(+), 4 deletions(-)
7535
7536commit aac1b31ea4e66cf5a7a8c116bdaa15aa45e6c56e
7537Author: Lasse Collin <lasse.collin@tukaani.org>
7538Date:   2012-04-19 15:25:26 +0300
7539
7540    liblzma: Remove outdated comments.
7541
7542 src/liblzma/simple/simple_coder.c   | 3 ---
7543 src/liblzma/simple/simple_private.h | 3 +--
7544 2 files changed, 1 insertion(+), 5 deletions(-)
7545
7546commit df14a46013bea70c0bd35be7821b0b9108f97de7
7547Author: Lasse Collin <lasse.collin@tukaani.org>
7548Date:   2012-04-19 14:17:52 +0300
7549
7550    DOS: Link against DJGPP's libemu to support FPU emulation.
7551
7552    This way xz should work on 386SX and 486SX. Floating point
7553    only is needed for verbose output in xz.
7554
7555 dos/Makefile | 2 +-
7556 1 file changed, 1 insertion(+), 1 deletion(-)
7557
7558commit 03ed742a3a4931bb5c821357832083b26f577b13
7559Author: Lasse Collin <lasse.collin@tukaani.org>
7560Date:   2012-04-19 14:02:25 +0300
7561
7562    liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed.
7563
7564 src/liblzma/liblzma.pc.in | 2 +-
7565 1 file changed, 1 insertion(+), 1 deletion(-)
7566
7567commit 8c5b13ad59df70f49429bfdfd6ac120b8f892fda
7568Author: Lasse Collin <lasse.collin@tukaani.org>
7569Date:   2012-04-19 13:58:55 +0300
7570
7571    Docs: Update MINIX 3 information in INSTALL.
7572
7573 INSTALL | 8 +++++---
7574 1 file changed, 5 insertions(+), 3 deletions(-)
7575
7576commit c7376fc415a1566f38b2de4b516a17013d516a8b
7577Author: Lasse Collin <lasse.collin@tukaani.org>
7578Date:   2012-02-22 14:23:13 +0200
7579
7580    Update THANKS.
7581
7582 THANKS | 1 +
7583 1 file changed, 1 insertion(+)
7584
7585commit cff070aba6281ba743d29a62b8c0c66e5da4b2a6
7586Author: Lasse Collin <lasse.collin@tukaani.org>
7587Date:   2012-02-22 14:02:34 +0200
7588
7589    Fix exit status of xzgrep when grepping binary files.
7590
7591    When grepping binary files, grep may exit before it has
7592    read all the input. In this case, gzip -q returns 2 (eating
7593    SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status
7594    (e.g. 141). This causes wrong exit status when grepping
7595    xz- or bzip2-compressed binary files.
7596
7597    The fix checks for the special exit status that indicates SIGPIPE.
7598    It uses kill -l which should be supported everywhere since it
7599    is in both SUSv2 (1997) and POSIX.1-2008.
7600
7601    Thanks to James Buren for the bug report.
7602
7603 src/scripts/xzgrep.in | 3 ++-
7604 1 file changed, 2 insertions(+), 1 deletion(-)
7605
7606commit 41cafb2bf9beea915710ee68f05fe929cd17759c
7607Author: Lasse Collin <lasse.collin@tukaani.org>
7608Date:   2012-02-22 12:08:43 +0200
7609
7610    Update THANKS.
7611
7612 THANKS | 1 +
7613 1 file changed, 1 insertion(+)
7614
7615commit 2dcea03712fa881930d69ec9eff70855c3d126d9
7616Author: Lasse Collin <lasse.collin@tukaani.org>
7617Date:   2012-02-22 12:00:16 +0200
7618
7619    Fix compiling with IBM XL C on AIX.
7620
7621 INSTALL      | 36 ++++++++++++++++++++++--------------
7622 configure.ac |  6 +++++-
7623 2 files changed, 27 insertions(+), 15 deletions(-)
7624
7625commit 7db6bdf4abcf524115be2cf5659ed540cef074c5
7626Author: Lasse Collin <lasse.collin@tukaani.org>
7627Date:   2012-01-10 17:13:03 +0200
7628
7629    Tests: Fix a compiler warning with _FORTIFY_SOURCE.
7630
7631    Reported here:
7632    http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385
7633
7634 tests/create_compress_files.c | 3 ++-
7635 1 file changed, 2 insertions(+), 1 deletion(-)
7636
7637commit 694952d545b6cf056547893ced69486eff9ece55
7638Author: Lasse Collin <lasse.collin@tukaani.org>
7639Date:   2011-12-19 21:21:29 +0200
7640
7641    Docs: Explain the stable releases better in README.
7642
7643 README | 6 +++++-
7644 1 file changed, 5 insertions(+), 1 deletion(-)
7645
7646commit 418fe668b3c53a9a20020b6cc652aaf25c734b29
7647Author: Lasse Collin <lasse.collin@tukaani.org>
7648Date:   2011-11-07 13:07:52 +0200
7649
7650    xz: Show minimum required XZ Utils version in xz -lvv.
7651
7652    Man page wasn't updated yet.
7653
7654 src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
7655 1 file changed, 57 insertions(+), 6 deletions(-)
7656
7657commit 7081d82c37326bac97184e338345fa1c327e3580
7658Author: Lasse Collin <lasse.collin@tukaani.org>
7659Date:   2011-11-04 17:57:16 +0200
7660
7661    xz: Fix a typo in a comment.
7662
7663    Thanks to Bela Lubkin.
7664
7665 src/xz/args.c | 2 +-
7666 1 file changed, 1 insertion(+), 1 deletion(-)
7667
7668commit 232fe7cd70ad258d6a37f17e860e0f1b1891eeb5
7669Author: Lasse Collin <lasse.collin@tukaani.org>
7670Date:   2011-11-03 17:08:02 +0200
7671
7672    Update THANKS.
7673
7674 THANKS | 1 +
7675 1 file changed, 1 insertion(+)
7676
7677commit 74d2bae4d3449c68453b0473dd3430ce91fd90c1
7678Author: Lasse Collin <lasse.collin@tukaani.org>
7679Date:   2011-11-03 17:07:22 +0200
7680
7681    xz: Fix xz on EBCDIC systems.
7682
7683    Thanks to Chris Donawa.
7684
7685 src/xz/coder.c | 5 ++++-
7686 1 file changed, 4 insertions(+), 1 deletion(-)
7687
7688commit 4ac4923f47cc0ef97dd9ca5cfcc44fc53eeab34a
7689Author: Lasse Collin <lasse.collin@tukaani.org>
7690Date:   2011-10-23 17:09:10 +0300
7691
7692    Update THANKS.
7693
7694 THANKS | 1 +
7695 1 file changed, 1 insertion(+)
7696
7697commit ab50ae3ef40c81e5bf613905ca3fd636548b75e7
7698Author: Lasse Collin <lasse.collin@tukaani.org>
7699Date:   2011-10-23 17:08:14 +0300
7700
7701    liblzma: Fix invalid free() in the threaded encoder.
7702
7703    It was triggered if initialization failed e.g. due to
7704    running out of memory.
7705
7706    Thanks to Arkadiusz Miskiewicz.
7707
7708 src/liblzma/common/outqueue.c | 4 ++++
7709 1 file changed, 4 insertions(+)
7710
7711commit 6b620a0f0813d28c3c544b4ff8cb595b38a6e908
7712Author: Lasse Collin <lasse.collin@tukaani.org>
7713Date:   2011-10-23 17:05:55 +0300
7714
7715    liblzma: Fix a deadlock in the threaded encoder.
7716
7717    It was triggered when reinitializing the encoder,
7718    e.g. when encoding two files.
7719
7720 src/liblzma/common/stream_encoder_mt.c | 4 +++-
7721 1 file changed, 3 insertions(+), 1 deletion(-)
7722
7723commit bd52cf150ecd51e3ab63a9cc1a3cff6a77500178
7724Author: Lasse Collin <lasse.collin@tukaani.org>
7725Date:   2011-09-06 12:03:41 +0300
7726
7727    Build: Fix "make check" on Windows.
7728
7729 tests/Makefile.am  | 7 +++++--
7730 windows/build.bash | 2 ++
7731 2 files changed, 7 insertions(+), 2 deletions(-)
7732
7733commit 5c5b2256969ac473001b7d67615ed3bd0a54cc82
7734Author: Lasse Collin <lasse.collin@tukaani.org>
7735Date:   2011-08-09 21:19:13 +0300
7736
7737    Update THANKS.
7738
7739 THANKS | 2 ++
7740 1 file changed, 2 insertions(+)
7741
7742commit 5b1e1f10741af9e4bbe4cfc3261fb7c7b04f7809
7743Author: Lasse Collin <lasse.collin@tukaani.org>
7744Date:   2011-08-09 21:16:44 +0300
7745
7746    Workaround unusual SIZE_MAX on SCO OpenServer.
7747
7748 src/common/sysdefs.h | 9 ++++++---
7749 1 file changed, 6 insertions(+), 3 deletions(-)
7750
7751commit e9ed88126eee86e2511fa42681a5c7104820cf0a
7752Author: Lasse Collin <lasse.collin@tukaani.org>
7753Date:   2011-08-06 20:37:28 +0300
7754
7755    Run the scripts with the correct shell in test_scripts.sh.
7756
7757    The scripts are now made executable in the build tree.
7758    This way the scripts can be run like programs in
7759    test_scripts.sh. Previously test_scripts.sh always
7760    used sh but it's not correct if @POSIX_SHELL@ is set
7761    to something else by configure.
7762
7763    Thanks to Jonathan Nieder for the patch.
7764
7765 configure.ac          | 8 ++++----
7766 tests/test_scripts.sh | 8 ++++----
7767 2 files changed, 8 insertions(+), 8 deletions(-)
7768
7769commit 1c673e5681720491a74fc4b2992e075f47302c22
7770Author: Lasse Collin <lasse.collin@tukaani.org>
7771Date:   2011-07-31 11:01:47 +0300
7772
7773    Fix exit status of "xzdiff foo.xz bar.xz".
7774
7775    xzdiff was clobbering the exit status from diff in a case
7776    statement used to analyze the exit statuses from "xz" when
7777    its operands were two compressed files. Save and restore
7778    diff's exit status to fix this.
7779
7780    The bug is inherited from zdiff in GNU gzip and was fixed
7781    there on 2009-10-09.
7782
7783    Thanks to Jonathan Nieder for the patch and
7784    to Peter Pallinger for reporting the bug.
7785
7786 src/scripts/xzdiff.in |  2 ++
7787 tests/Makefile.am     |  4 +++-
7788 tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
7789 3 files changed, 59 insertions(+), 1 deletion(-)
7790
7791commit 324cde7a864f4506c32ae7846d688c359a83fe65
7792Author: Lasse Collin <lasse.collin@tukaani.org>
7793Date:   2011-06-16 12:15:29 +0300
7794
7795    liblzma: Remove unneeded semicolon.
7796
7797 src/liblzma/lz/lz_encoder_hash.h | 2 +-
7798 1 file changed, 1 insertion(+), 1 deletion(-)
7799
7800commit 492c86345551a51a29bf18e55fe55a5e86f169ce
7801Author: Lasse Collin <lasse.collin@tukaani.org>
7802Date:   2011-05-28 19:24:56 +0300
7803
7804    Build: Make configure print if symbol versioning is enabled or not.
7805
7806 configure.ac | 2 ++
7807 1 file changed, 2 insertions(+)
7808
7809commit fc4d4436969bd4d71b704d400a165875e596034a
7810Author: Lasse Collin <lasse.collin@tukaani.org>
7811Date:   2011-05-28 16:43:26 +0300
7812
7813    Don't call close(-1) in tuklib_open_stdxxx() on error.
7814
7815    Thanks to Jim Meyering.
7816
7817 src/common/tuklib_open_stdxxx.c | 4 +++-
7818 1 file changed, 3 insertions(+), 1 deletion(-)
7819
7820commit bd35d903a04c4d388adb4065b0fa271302380895
7821Author: Lasse Collin <lasse.collin@tukaani.org>
7822Date:   2011-05-28 15:55:39 +0300
7823
7824    liblzma: Use symbol versioning.
7825
7826    Symbol versioning is enabled by default on GNU/Linux,
7827    other GNU-based systems, and FreeBSD.
7828
7829    I'm not sure how stable this is, so it may need
7830    backward-incompatible changes before the next release.
7831
7832    The idea is that alpha and beta symbols are considered
7833    unstable and require recompiling the applications that
7834    use those symbols. Once a symbol is stable, it may get
7835    extended with new features in ways that don't break
7836    compatibility with older ABI & API.
7837
7838    The mydist target runs validate_map.sh which should
7839    catch some probable problems in liblzma.map. Otherwise
7840    I would forget to update the map file for new releases.
7841
7842 Makefile.am                 |   1 +
7843 configure.ac                |  21 +++++++++
7844 src/liblzma/Makefile.am     |   6 +++
7845 src/liblzma/liblzma.map     | 105 ++++++++++++++++++++++++++++++++++++++++++++
7846 src/liblzma/validate_map.sh |  68 ++++++++++++++++++++++++++++
7847 5 files changed, 201 insertions(+)
7848
7849commit afbb244362c9426a37ce4eb9d54aab768da3adad
7850Author: Lasse Collin <lasse.collin@tukaani.org>
7851Date:   2011-05-28 09:46:46 +0300
7852
7853    Translations: Update the Italian translation.
7854
7855    Thanks to Milo Casagrande.
7856
7857 po/it.po | 365 +++++++++++++++++++++++++++++++++++++--------------------------
7858 1 file changed, 216 insertions(+), 149 deletions(-)
7859
7860commit 79bef85e0543c0c3723281c3c817616c6cec343b
7861Author: Lasse Collin <lasse.collin@tukaani.org>
7862Date:   2011-05-28 08:46:04 +0300
7863
7864    Tests: Add a test file for the bug in the previous commit.
7865
7866 tests/files/README                  |   4 ++++
7867 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes
7868 2 files changed, 4 insertions(+)
7869
7870commit c0297445064951807803457dca1611b3c47e7f0f
7871Author: Lasse Collin <lasse.collin@tukaani.org>
7872Date:   2011-05-27 22:25:44 +0300
7873
7874    xz: Fix error handling in xz -lvv.
7875
7876    It could do an invalid free() and read past the end
7877    of the uninitialized filters array.
7878
7879 src/xz/list.c | 21 ++++++---------------
7880 1 file changed, 6 insertions(+), 15 deletions(-)
7881
7882commit 8bd91918ac50731f00b1a2a48072980572eb2ff9
7883Author: Lasse Collin <lasse.collin@tukaani.org>
7884Date:   2011-05-27 22:09:49 +0300
7885
7886    liblzma: Handle allocation failures correctly in lzma_index_init().
7887
7888    Thanks to Jim Meyering.
7889
7890 src/liblzma/common/index.c | 7 +++++--
7891 1 file changed, 5 insertions(+), 2 deletions(-)
7892
7893commit fe00f95828ef5627721b57e054f7eb2d42a2c961
7894Author: Lasse Collin <lasse.collin@tukaani.org>
7895Date:   2011-05-24 00:23:46 +0300
7896
7897    Build: Fix checking for system-provided SHA-256.
7898
7899 configure.ac | 2 +-
7900 1 file changed, 1 insertion(+), 1 deletion(-)
7901
7902commit 21b45b9bab541f419712cbfd473ccc31802e0397
7903Author: Lasse Collin <lasse.collin@tukaani.org>
7904Date:   2011-05-23 18:30:30 +0300
7905
7906    Build: Set GZIP_ENV=-9n in top-level Makefile.am.
7907
7908 Makefile.am | 3 +++
7909 1 file changed, 3 insertions(+)
7910
7911commit 48053e8a4550233af46359024538bff90c870ab1
7912Author: Lasse Collin <lasse.collin@tukaani.org>
7913Date:   2011-05-22 16:42:11 +0300
7914
7915    Update NEWS for 5.0.3.
7916
7917 NEWS | 32 ++++++++++++++++++++++++++++++++
7918 1 file changed, 32 insertions(+)
7919
7920commit bba37df2c9e54ad773e15ff00a09d2d6989fb3b2
7921Author: Lasse Collin <lasse.collin@tukaani.org>
7922Date:   2011-05-21 16:28:44 +0300
7923
7924    Add French translation.
7925
7926    It is known that the BCJ filter --help text is only
7927    partially translated.
7928
7929 po/LINGUAS |   1 +
7930 po/fr.po   | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7931 2 files changed, 865 insertions(+)
7932
7933commit 4161d7634965a7a287bf208dcd79f6185f448fe8
7934Author: Lasse Collin <lasse.collin@tukaani.org>
7935Date:   2011-05-21 15:12:10 +0300
7936
7937    xz: Translate also the string used to print the program name.
7938
7939    French needs a space before a colon, e.g. "xz : foo error".
7940
7941 src/xz/message.c | 6 +++++-
7942 1 file changed, 5 insertions(+), 1 deletion(-)
7943
7944commit b94aa0c8380cdb18cddb33440d625474c16643cf
7945Author: Lasse Collin <lasse.collin@tukaani.org>
7946Date:   2011-05-21 15:08:44 +0300
7947
7948    liblzma: Try to use SHA-256 from the operating system.
7949
7950    If the operating system libc or other base libraries
7951    provide SHA-256, use that instead of our own copy.
7952    Note that this doesn't use OpenSSL or libgcrypt or
7953    such libraries to avoid creating dependencies to
7954    other packages.
7955
7956    This supports at least FreeBSD, NetBSD, OpenBSD, Solaris,
7957    MINIX, and Darwin. They all provide similar but not
7958    identical SHA-256 APIs; everyone is a little different.
7959
7960    Thanks to Wim Lewis for the original patch, improvements,
7961    and testing.
7962
7963 configure.ac                   | 54 +++++++++++++++++++++++++++
7964 src/liblzma/check/Makefile.inc |  2 +
7965 src/liblzma/check/check.h      | 83 ++++++++++++++++++++++++++++++++++++++----
7966 3 files changed, 131 insertions(+), 8 deletions(-)
7967
7968commit f004128678d43ea10b4a6401aa184cf83252d6ec
7969Author: Lasse Collin <lasse.collin@tukaani.org>
7970Date:   2011-05-17 12:52:18 +0300
7971
7972    Don't use clockid_t in mythread.h when clock_gettime() isn't available.
7973
7974    Thanks to Wim Lewis for the patch.
7975
7976 src/common/mythread.h | 2 ++
7977 1 file changed, 2 insertions(+)
7978
7979commit f779516f42ebd2db47a5b7d6143459bf7737cf2f
7980Author: Lasse Collin <lasse.collin@tukaani.org>
7981Date:   2011-05-17 12:26:28 +0300
7982
7983    Update THANKS.
7984
7985 THANKS | 3 +++
7986 1 file changed, 3 insertions(+)
7987
7988commit 830ba587775bb562f6eaf05cad61bf669d1f8892
7989Author: Lasse Collin <lasse.collin@tukaani.org>
7990Date:   2011-05-17 12:21:33 +0300
7991
7992    Update INSTALL with a note about linker problem on OpenSolaris x86.
7993
7994 INSTALL | 23 +++++++++++++++++------
7995 1 file changed, 17 insertions(+), 6 deletions(-)
7996
7997commit ec7106309c8060e9c646dba20c4f15689a0bbb04
7998Author: Lasse Collin <lasse.collin@tukaani.org>
7999Date:   2011-05-17 12:01:37 +0300
8000
8001    Build: Fix initialization of enable_check_* variables in configure.ac.
8002
8003    This doesn't matter much in practice since it is unlikely
8004    that anyone would have such environment variable names.
8005
8006    Thanks to Wim Lewis.
8007
8008 configure.ac | 2 +-
8009 1 file changed, 1 insertion(+), 1 deletion(-)
8010
8011commit 4c6e146df99696920f12410fb17754412797ef36
8012Author: Lasse Collin <lasse.collin@tukaani.org>
8013Date:   2011-05-17 11:54:38 +0300
8014
8015    Add underscores to attributes (__attribute((__foo__))).
8016
8017 src/liblzma/common/alone_decoder.c |  2 +-
8018 src/liblzma/common/alone_encoder.c |  2 +-
8019 src/liblzma/common/block_encoder.c |  2 +-
8020 src/liblzma/common/common.c        |  2 +-
8021 src/liblzma/common/common.h        |  2 +-
8022 src/liblzma/common/index_decoder.c |  9 +++++----
8023 src/liblzma/common/index_encoder.c | 11 ++++++-----
8024 src/liblzma/delta/delta_encoder.c  |  2 +-
8025 src/liblzma/lz/lz_decoder.c        |  2 +-
8026 src/liblzma/lz/lz_encoder.c        |  2 +-
8027 src/liblzma/simple/arm.c           |  2 +-
8028 src/liblzma/simple/armthumb.c      |  2 +-
8029 src/liblzma/simple/ia64.c          |  2 +-
8030 src/liblzma/simple/powerpc.c       |  2 +-
8031 src/liblzma/simple/simple_coder.c  |  2 +-
8032 src/liblzma/simple/sparc.c         |  2 +-
8033 src/lzmainfo/lzmainfo.c            |  4 ++--
8034 src/xz/coder.c                     |  2 +-
8035 src/xz/hardware.h                  |  2 +-
8036 src/xz/message.c                   |  2 +-
8037 src/xz/message.h                   | 18 +++++++++---------
8038 src/xz/options.c                   |  6 +++---
8039 src/xz/signals.c                   |  2 +-
8040 src/xz/util.h                      |  6 +++---
8041 src/xzdec/xzdec.c                  |  6 +++---
8042 25 files changed, 49 insertions(+), 47 deletions(-)
8043
8044commit 7a480e485938884ef3021b48c3b0b9f9699dc9b6
8045Author: Lasse Collin <lasse.collin@tukaani.org>
8046Date:   2011-05-01 12:24:23 +0300
8047
8048    xz: Fix input file position when --single-stream is used.
8049
8050    Now the following works as you would expect:
8051
8052        echo foo | xz > foo.xz
8053        echo bar | xz >> foo.xz
8054        ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz
8055
8056    Note that it doesn't work if the input is not seekable
8057    or if there is Stream Padding between the concatenated
8058    .xz Streams.
8059
8060 src/xz/coder.c   |  1 +
8061 src/xz/file_io.c | 15 +++++++++++++++
8062 src/xz/file_io.h | 13 +++++++++++++
8063 3 files changed, 29 insertions(+)
8064
8065commit c29e6630c1450c630c4e7b783bdd76515db9004c
8066Author: Lasse Collin <lasse.collin@tukaani.org>
8067Date:   2011-05-01 12:15:51 +0300
8068
8069    xz: Print the maximum number of worker threads in xz -vv.
8070
8071 src/xz/coder.c | 4 ++++
8072 1 file changed, 4 insertions(+)
8073
8074commit 0b77c4a75158ccc416b07d6e81df8ee0abaea720
8075Author: Lasse Collin <lasse.collin@tukaani.org>
8076Date:   2011-04-19 10:44:48 +0300
8077
8078    Build: Warn if no supported method to detect the number of CPU cores.
8079
8080 configure.ac | 11 +++++------
8081 1 file changed, 5 insertions(+), 6 deletions(-)
8082
8083commit e4622df9ab4982f8faa53d85b17be66216175a58
8084Author: Lasse Collin <lasse.collin@tukaani.org>
8085Date:   2011-04-19 09:55:06 +0300
8086
8087    Update THANKS.
8088
8089 THANKS | 1 +
8090 1 file changed, 1 insertion(+)
8091
8092commit 9c1b05828a88eff54409760b92162c7cc2c7cff6
8093Author: Lasse Collin <lasse.collin@tukaani.org>
8094Date:   2011-04-19 09:20:44 +0300
8095
8096    Fix portability problems in mythread.h.
8097
8098    Use gettimeofday() if clock_gettime() isn't available
8099    (e.g. Darwin).
8100
8101    The test for availability of pthread_condattr_setclock()
8102    and CLOCK_MONOTONIC was incorrect. Instead of fixing the
8103    #ifdefs, use an Autoconf test. That way if there exists a
8104    system that supports them but doesn't specify the matching
8105    POSIX #defines, the features will still get detected.
8106
8107    Don't try to use pthread_sigmask() on OpenVMS. It doesn't
8108    have that function.
8109
8110    Guard mythread.h against being #included multiple times.
8111
8112 configure.ac          |  7 +++++++
8113 src/common/mythread.h | 31 +++++++++++++++++++++++++++----
8114 2 files changed, 34 insertions(+), 4 deletions(-)
8115
8116commit 3de00cc75da7b0e7b65e84c62b5351e231f501e9
8117Author: Lasse Collin <lasse.collin@tukaani.org>
8118Date:   2011-04-18 19:35:49 +0300
8119
8120    Update THANKS.
8121
8122 THANKS | 2 ++
8123 1 file changed, 2 insertions(+)
8124
8125commit bd5002f5821e3d1b04f2f56989e4a19318e73633
8126Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
8127Date:   2011-04-15 04:54:49 -0400
8128
8129    xzgrep: fix typo in $0 parsing
8130
8131    Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org>
8132    Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
8133    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
8134
8135 src/scripts/xzgrep.in | 4 ++--
8136 1 file changed, 2 insertions(+), 2 deletions(-)
8137
8138commit 6ef4eabc0acc49e1bb9dc68064706e19fa9fcf48
8139Author: Lasse Collin <lasse.collin@tukaani.org>
8140Date:   2011-04-12 12:48:31 +0300
8141
8142    Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99.
8143
8144 src/liblzma/Makefile.am        | 2 +-
8145 src/liblzma/api/lzma/version.h | 2 +-
8146 2 files changed, 2 insertions(+), 2 deletions(-)
8147
8148commit 9a4377be0d21e597c66bad6c7452873aebfb3c1c
8149Author: Lasse Collin <lasse.collin@tukaani.org>
8150Date:   2011-04-12 12:42:37 +0300
8151
8152    Put the unstable APIs behind #ifdef LZMA_UNSTABLE.
8153
8154    This way people hopefully won't complain if these APIs
8155    change and break code that used an older API.
8156
8157 src/liblzma/api/lzma/container.h | 4 ++++
8158 src/liblzma/common/common.h      | 2 ++
8159 src/xz/private.h                 | 2 ++
8160 3 files changed, 8 insertions(+)
8161
8162commit 3e321a3acd50002cf6fdfd259e910f56d3389bc3
8163Author: Lasse Collin <lasse.collin@tukaani.org>
8164Date:   2011-04-12 11:59:49 +0300
8165
8166    Remove doubled words from documentation and comments.
8167
8168    Spot candidates by running these commands:
8169      git ls-files |xargs perl -0777 -n \
8170        -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \
8171        -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}'
8172
8173    Thanks to Jim Meyering for the original patch.
8174
8175 doc/lzma-file-format.txt           | 4 ++--
8176 src/liblzma/common/alone_encoder.c | 2 +-
8177 src/liblzma/lzma/lzma2_encoder.c   | 2 +-
8178 src/xz/file_io.c                   | 2 +-
8179 src/xz/xz.1                        | 2 +-
8180 windows/INSTALL-Windows.txt        | 2 +-
8181 6 files changed, 7 insertions(+), 7 deletions(-)
8182
8183commit d91a84b534b012d19474f2fda1fbcaef873e1ba4
8184Author: Lasse Collin <lasse.collin@tukaani.org>
8185Date:   2011-04-12 11:46:01 +0300
8186
8187    Update NEWS.
8188
8189 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++--
8190 1 file changed, 45 insertions(+), 2 deletions(-)
8191
8192commit 14e6ad8cfe0165c1a8beeb5b2a1536558b29b0a1
8193Author: Lasse Collin <lasse.collin@tukaani.org>
8194Date:   2011-04-12 11:45:40 +0300
8195
8196    Update TODO.
8197
8198 TODO | 12 +++++++++++-
8199 1 file changed, 11 insertions(+), 1 deletion(-)
8200
8201commit 70e750f59793f9b5cd306a5adce9b8e427739e04
8202Author: Lasse Collin <lasse.collin@tukaani.org>
8203Date:   2011-04-12 11:08:55 +0300
8204
8205    xz: Update the man page about threading.
8206
8207 src/xz/xz.1 | 34 ++++++++++++++++++++--------------
8208 1 file changed, 20 insertions(+), 14 deletions(-)
8209
8210commit 24e0406c0fb7494d2037dec033686faf1bf67068
8211Author: Lasse Collin <lasse.collin@tukaani.org>
8212Date:   2011-04-11 22:06:03 +0300
8213
8214    xz: Add support for threaded compression.
8215
8216 src/xz/args.c  |   3 +-
8217 src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++----------------------
8218 2 files changed, 125 insertions(+), 80 deletions(-)
8219
8220commit de678e0c924aa79a19293a8a6ed82e8cb6572a42
8221Author: Lasse Collin <lasse.collin@tukaani.org>
8222Date:   2011-04-11 22:03:30 +0300
8223
8224    liblzma: Add lzma_stream_encoder_mt() for threaded compression.
8225
8226    This is the simplest method to do threading, which splits
8227    the uncompressed data into blocks and compresses them
8228    independently from each other. There's room for improvement
8229    especially to reduce the memory usage, but nevertheless,
8230    this is a good start.
8231
8232 configure.ac                           |    1 +
8233 src/liblzma/api/lzma/container.h       |  163 +++++
8234 src/liblzma/common/Makefile.inc        |    7 +
8235 src/liblzma/common/common.c            |    9 +-
8236 src/liblzma/common/common.h            |   14 +
8237 src/liblzma/common/outqueue.c          |  180 ++++++
8238 src/liblzma/common/outqueue.h          |  155 +++++
8239 src/liblzma/common/stream_encoder_mt.c | 1011 ++++++++++++++++++++++++++++++++
8240 8 files changed, 1539 insertions(+), 1 deletion(-)
8241
8242commit 25fe729532cdf4b8fed56a4519b73cf31efaec50
8243Author: Lasse Collin <lasse.collin@tukaani.org>
8244Date:   2011-04-11 21:15:07 +0300
8245
8246    liblzma: Add the forgotten lzma_lzma2_block_size().
8247
8248    This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a.
8249
8250 src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++
8251 src/liblzma/lzma/lzma2_encoder.h |  2 ++
8252 2 files changed, 12 insertions(+)
8253
8254commit 91afb785a1dee34862078d9bf844ef12b8cc3e35
8255Author: Lasse Collin <lasse.collin@tukaani.org>
8256Date:   2011-04-11 21:04:13 +0300
8257
8258    liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
8259
8260 src/liblzma/api/lzma/container.h | 9 +++++++++
8261 1 file changed, 9 insertions(+)
8262
8263commit 4a9905302a9e4a1601ae09d650d3f08ce98ae9ee
8264Author: Lasse Collin <lasse.collin@tukaani.org>
8265Date:   2011-04-11 20:59:07 +0300
8266
8267    liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
8268
8269    It didn't mention the return value that is used if
8270    an error occurs.
8271
8272 src/liblzma/api/lzma/filter.h | 8 ++++++--
8273 1 file changed, 6 insertions(+), 2 deletions(-)
8274
8275commit 0badb0b1bd649163322783b0bd9e590b4bc7a93d
8276Author: Lasse Collin <lasse.collin@tukaani.org>
8277Date:   2011-04-11 19:28:18 +0300
8278
8279    liblzma: Use memzero() to initialize supported_actions[].
8280
8281    This is cleaner and makes it simpler to add new members
8282    to lzma_action enumeration.
8283
8284 src/liblzma/common/common.c | 6 ++----
8285 1 file changed, 2 insertions(+), 4 deletions(-)
8286
8287commit a7934c446a58e20268689899d2a39f50e571f251
8288Author: Lasse Collin <lasse.collin@tukaani.org>
8289Date:   2011-04-11 19:26:27 +0300
8290
8291    liblzma: API comment about lzma_allocator with threaded coding.
8292
8293 src/liblzma/api/lzma/base.h | 18 +++++++++++++-----
8294 1 file changed, 13 insertions(+), 5 deletions(-)
8295
8296commit 5eefc0086d24a65e136352f8c1d19cefb0cbac7a
8297Author: Lasse Collin <lasse.collin@tukaani.org>
8298Date:   2011-04-11 19:16:30 +0300
8299
8300    liblzma: Add an internal function lzma_mt_block_size().
8301
8302    This is based lzma_chunk_size() that was included in some
8303    development version of liblzma.
8304
8305 src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++-------------------
8306 src/liblzma/common/filter_encoder.h |  4 ++--
8307 2 files changed, 24 insertions(+), 26 deletions(-)
8308
8309commit d1199274758049fc523d98c5b860ff814a799eec
8310Author: Lasse Collin <lasse.collin@tukaani.org>
8311Date:   2011-04-11 13:59:50 +0300
8312
8313    liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
8314
8315    Empty Block was created if the input buffer was empty.
8316    Empty Block wastes a few bytes of space, but more importantly
8317    it triggers a bug in XZ Utils 5.0.1 and older when trying
8318    to decompress such a file. 5.0.1 and older consider such
8319    files to be corrupt. I thought that no encoder creates empty
8320    Blocks when releasing 5.0.2 but I was wrong.
8321
8322 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++-------
8323 1 file changed, 13 insertions(+), 7 deletions(-)
8324
8325commit 3b22fc2c87ec85fcdd385c163b68fc49c97aa848
8326Author: Lasse Collin <lasse.collin@tukaani.org>
8327Date:   2011-04-11 13:28:40 +0300
8328
8329    liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
8330
8331    This return value was missing from the API comments of
8332    four functions.
8333
8334 src/liblzma/api/lzma/block.h     | 1 +
8335 src/liblzma/api/lzma/container.h | 3 +++
8336 2 files changed, 4 insertions(+)
8337
8338commit 71b9380145dccf001f22e66a06b9d508905c25ce
8339Author: Lasse Collin <lasse.collin@tukaani.org>
8340Date:   2011-04-11 13:21:28 +0300
8341
8342    liblzma: Validate encoder arguments better.
8343
8344    The biggest problem was that the integrity check type
8345    wasn't validated, and e.g. lzma_easy_buffer_encode()
8346    would create a corrupt .xz Stream if given an unsupported
8347    Check ID. Luckily applications don't usually try to use
8348    an unsupport Check ID, so this bug is unlikely to cause
8349    many real-world problems.
8350
8351 src/liblzma/common/block_buffer_encoder.c  | 18 ++++++++++++------
8352 src/liblzma/common/block_encoder.c         |  5 +++++
8353 src/liblzma/common/stream_buffer_encoder.c |  3 +++
8354 3 files changed, 20 insertions(+), 6 deletions(-)
8355
8356commit ec7e3dbad704268825fc48f0bdd4577bc46b4f13
8357Author: Lasse Collin <lasse.collin@tukaani.org>
8358Date:   2011-04-11 09:57:30 +0300
8359
8360    xz: Move the description of --block-size in --long-help.
8361
8362 src/xz/message.c | 8 ++++----
8363 1 file changed, 4 insertions(+), 4 deletions(-)
8364
8365commit cd3086ff443bb282bdf556919c28b3e3cbed8169
8366Author: Lasse Collin <lasse.collin@tukaani.org>
8367Date:   2011-04-11 09:55:35 +0300
8368
8369    Docs: Document --single-stream and --block-size.
8370
8371 src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++--
8372 1 file changed, 36 insertions(+), 2 deletions(-)
8373
8374commit fb64a4924334e3c440865710990fe08090f2fed0
8375Author: Lasse Collin <lasse.collin@tukaani.org>
8376Date:   2011-04-11 09:27:57 +0300
8377
8378    liblzma: Make lzma_stream_encoder_init() static (second try).
8379
8380    It's an internal function and it's not needed by
8381    anything outside stream_encoder.c.
8382
8383 src/liblzma/common/Makefile.inc     |  1 -
8384 src/liblzma/common/easy_encoder.c   |  1 -
8385 src/liblzma/common/stream_encoder.c | 13 ++++++-------
8386 src/liblzma/common/stream_encoder.h | 23 -----------------------
8387 4 files changed, 6 insertions(+), 32 deletions(-)
8388
8389commit a34730cf6af4d33a4057914e57227b6dfde6567e
8390Author: Lasse Collin <lasse.collin@tukaani.org>
8391Date:   2011-04-11 08:31:42 +0300
8392
8393    Revert "liblzma: Make lzma_stream_encoder_init() static."
8394
8395    This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7.
8396    I don't know what I was thinking.
8397
8398 src/liblzma/common/Makefile.inc     |  1 +
8399 src/liblzma/common/stream_encoder.c |  9 +++++----
8400 src/liblzma/common/stream_encoder.h | 23 +++++++++++++++++++++++
8401 3 files changed, 29 insertions(+), 4 deletions(-)
8402
8403commit 9f0a806aef7ea79718e3f1f2baf3564295229a27
8404Author: Lasse Collin <lasse.collin@tukaani.org>
8405Date:   2011-04-10 21:23:21 +0300
8406
8407    Revise mythread.h.
8408
8409    This adds:
8410
8411      - mythread_sync() macro to create synchronized blocks
8412
8413      - mythread_cond structure and related functions
8414        and macros for condition variables with timed
8415        waiting using a relative timeout
8416
8417      - mythread_create() to create a thread with all
8418        signals blocked
8419
8420    Some of these wouldn't need to be inline functions,
8421    but I'll keep them this way for now for simplicity.
8422
8423    For timed waiting on a condition variable, librt is
8424    now required on some systems to use clock_gettime().
8425    configure.ac was updated to handle this.
8426
8427 configure.ac          |   1 +
8428 src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++-----
8429 2 files changed, 181 insertions(+), 20 deletions(-)
8430
8431commit 352ac82db5d3f64585c07b39e4759388dec0e4d7
8432Author: Lasse Collin <lasse.collin@tukaani.org>
8433Date:   2011-04-10 20:37:36 +0300
8434
8435    liblzma: Make lzma_stream_encoder_init() static.
8436
8437    It's an internal function and it's not needed by
8438    anything outside stream_encoder.c.
8439
8440 src/liblzma/common/Makefile.inc     |  1 -
8441 src/liblzma/common/stream_encoder.c |  9 ++++-----
8442 src/liblzma/common/stream_encoder.h | 23 -----------------------
8443 3 files changed, 4 insertions(+), 29 deletions(-)
8444
8445commit 9e807fe3fe79618ac48f58207cf7082ea20a6928
8446Author: Lasse Collin <lasse.collin@tukaani.org>
8447Date:   2011-04-10 14:58:10 +0300
8448
8449    DOS: Update the docs and include notes about 8.3 filenames.
8450
8451 dos/{README => INSTALL.txt} |  13 +----
8452 dos/README.txt              | 123 ++++++++++++++++++++++++++++++++++++++++++++
8453 2 files changed, 125 insertions(+), 11 deletions(-)
8454
8455commit ebd54dbd6e481d31e80757f900ac8109ad1423c6
8456Author: Lasse Collin <lasse.collin@tukaani.org>
8457Date:   2011-04-10 13:09:42 +0300
8458
8459    xz/DOS: Add experimental 8.3 filename support.
8460
8461    This is incompatible with the 8.3 support patch made by
8462    Juan Manuel Guerrero. I think this one is nicer, but
8463    I need to get feedback from DOS users before saying
8464    that this is the final version of 8.3 filename support.
8465
8466 src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
8467 1 file changed, 167 insertions(+), 9 deletions(-)
8468
8469commit cd4fe97852bcaeffe674ee51b4613709292a0972
8470Author: Lasse Collin <lasse.collin@tukaani.org>
8471Date:   2011-04-10 12:47:47 +0300
8472
8473    xz/DOS: Be more careful with the destination file.
8474
8475    Try to avoid overwriting the source file if --force is
8476    used and the generated destination filename refers to
8477    the source file. This can happen with 8.3 filenames where
8478    extra characters are ignored.
8479
8480    If the generated output file refers to a special file
8481    like "con" or "prn", refuse to write to it even if --force
8482    is used.
8483
8484 src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++--
8485 1 file changed, 33 insertions(+), 2 deletions(-)
8486
8487commit 607f9f98ae5ef6d49f4c21c806d462bf6b3d6796
8488Author: Lasse Collin <lasse.collin@tukaani.org>
8489Date:   2011-04-09 18:29:30 +0300
8490
8491    Update THANKS.
8492
8493 THANKS | 1 +
8494 1 file changed, 1 insertion(+)
8495
8496commit fca396b37410d272b754843a5dc13847be443a3a
8497Author: Lasse Collin <lasse.collin@tukaani.org>
8498Date:   2011-04-09 18:28:58 +0300
8499
8500    liblzma: Add missing #ifdefs to filter_common.c.
8501
8502    Passing --disable-decoders to configure broke a few
8503    encoders due to missing #ifdefs in filter_common.c.
8504
8505    Thanks to Jason Gorski for the patch.
8506
8507 src/liblzma/common/filter_common.c | 6 +++---
8508 1 file changed, 3 insertions(+), 3 deletions(-)
8509
8510commit b03f6cd3ebadd675f2cc9d518cb26fa860269447
8511Author: Lasse Collin <lasse.collin@tukaani.org>
8512Date:   2011-04-09 15:24:59 +0300
8513
8514    xz: Avoid unneeded fstat() on DOS-like systems.
8515
8516 src/xz/file_io.c | 14 ++++++++------
8517 1 file changed, 8 insertions(+), 6 deletions(-)
8518
8519commit 335fe260a81f61ec99ff5940df733b4c50aedb7c
8520Author: Lasse Collin <lasse.collin@tukaani.org>
8521Date:   2011-04-09 15:11:13 +0300
8522
8523    xz: Minor internal changes to handling of --threads.
8524
8525    Now it always defaults to one thread. Maybe this
8526    will change again if a threading method is added
8527    that doesn't affect memory usage.
8528
8529 src/xz/args.c     |  4 ++--
8530 src/xz/hardware.c | 24 ++++++++++++------------
8531 src/xz/hardware.h |  9 ++++-----
8532 3 files changed, 18 insertions(+), 19 deletions(-)
8533
8534commit 9edd6ee895fbe71d245a173f48e511f154a99875
8535Author: Lasse Collin <lasse.collin@tukaani.org>
8536Date:   2011-04-08 17:53:05 +0300
8537
8538    xz: Change size_t to uint32_t in a few places.
8539
8540 src/xz/coder.c | 6 +++---
8541 src/xz/coder.h | 2 +-
8542 2 files changed, 4 insertions(+), 4 deletions(-)
8543
8544commit 411013ea4506a6df24d35a060fcbd73a57b73eb3
8545Author: Lasse Collin <lasse.collin@tukaani.org>
8546Date:   2011-04-08 17:48:41 +0300
8547
8548    xz: Fix a typo in a comment.
8549
8550 src/xz/coder.c | 2 +-
8551 1 file changed, 1 insertion(+), 1 deletion(-)
8552
8553commit b34c5ce4b22e8d7b81f9895d15054af41d17f805
8554Author: Lasse Collin <lasse.collin@tukaani.org>
8555Date:   2011-04-05 22:41:33 +0300
8556
8557    liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c.
8558
8559 src/liblzma/check/sha256.c | 6 +++---
8560 1 file changed, 3 insertions(+), 3 deletions(-)
8561
8562commit db33117cc85c17e0b897b5312bd5eb43aac41c03
8563Author: Lasse Collin <lasse.collin@tukaani.org>
8564Date:   2011-04-05 17:12:20 +0300
8565
8566    Build: Upgrade m4/acx_pthread.m4 to the latest version.
8567
8568    It was renamed to ax_pthread.m4 in Autoconf Archive.
8569
8570 configure.ac                         |   2 +-
8571 m4/{acx_pthread.m4 => ax_pthread.m4} | 170 ++++++++++++++++++-----------------
8572 2 files changed, 88 insertions(+), 84 deletions(-)
8573
8574commit 1039bfcfc098b69d56ecb39d198a092552eacf6d
8575Author: Lasse Collin <lasse.collin@tukaani.org>
8576Date:   2011-04-05 15:27:26 +0300
8577
8578    xz: Use posix_fadvise() if it is available.
8579
8580 configure.ac     |  3 +++
8581 src/xz/file_io.c | 15 +++++++++++++++
8582 2 files changed, 18 insertions(+)
8583
8584commit 1ef3cf44a8eb9512480af4482a5232ea08363b14
8585Author: Lasse Collin <lasse.collin@tukaani.org>
8586Date:   2011-04-05 15:13:29 +0300
8587
8588    xz: Call lzma_end(&strm) before exiting if debugging is enabled.
8589
8590 src/xz/coder.c | 10 ++++++++++
8591 src/xz/coder.h |  5 +++++
8592 src/xz/main.c  |  4 ++++
8593 3 files changed, 19 insertions(+)
8594
8595commit bd432015d33dcade611d297bc01eb0700088ef6c
8596Author: Lasse Collin <lasse.collin@tukaani.org>
8597Date:   2011-04-02 14:49:56 +0300
8598
8599    liblzma: Fix a memory leak in stream_encoder.c.
8600
8601    It leaks old filter options structures (hundred bytes or so)
8602    every time the lzma_stream is reinitialized. With the xz tool,
8603    this happens when compressing multiple files.
8604
8605 src/liblzma/common/stream_encoder.c | 2 +-
8606 1 file changed, 1 insertion(+), 1 deletion(-)
8607
8608commit 16889013214e7620d204b6e6c1bf9f3103a13655
8609Author: Lasse Collin <lasse.collin@tukaani.org>
8610Date:   2011-04-01 08:47:20 +0300
8611
8612    Updated NEWS for 5.0.2.
8613
8614 NEWS | 18 ++++++++++++++++++
8615 1 file changed, 18 insertions(+)
8616
8617commit 85cdf7dd4e97b078e7b929e47f55a7f1da36010f
8618Author: Lasse Collin <lasse.collin@tukaani.org>
8619Date:   2011-03-31 15:06:58 +0300
8620
8621    Update INSTALL with another note about IRIX.
8622
8623 INSTALL | 4 ++++
8624 1 file changed, 4 insertions(+)
8625
8626commit c3f4995586873d6a4fb7e451010a128571a9a370
8627Author: Lasse Collin <lasse.collin@tukaani.org>
8628Date:   2011-03-31 12:22:55 +0300
8629
8630    Tests: Add a new file to test empty LZMA2 streams.
8631
8632 tests/files/README            |   4 ++++
8633 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes
8634 2 files changed, 4 insertions(+)
8635
8636commit 0d21f49a809dc2088da6cc0da7f948404df7ecfa
8637Author: Lasse Collin <lasse.collin@tukaani.org>
8638Date:   2011-03-31 11:54:48 +0300
8639
8640    liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
8641
8642    The decoder considered empty LZMA2 streams to be corrupt.
8643    This shouldn't matter much with .xz files, because no encoder
8644    creates empty LZMA2 streams in .xz. This bug is more likely
8645    to cause problems in applications that use raw LZMA2 streams.
8646
8647 src/liblzma/lzma/lzma2_decoder.c | 8 ++++----
8648 1 file changed, 4 insertions(+), 4 deletions(-)
8649
8650commit 40277998cb9bad564ce4827aff152e6e1c904dfa
8651Author: Lasse Collin <lasse.collin@tukaani.org>
8652Date:   2011-03-24 01:42:49 +0200
8653
8654    Scripts: Better fix for xzgrep.
8655
8656    Now it uses "grep -q".
8657
8658    Thanks to Gregory Margo.
8659
8660 src/scripts/xzgrep.in | 8 ++++++--
8661 1 file changed, 6 insertions(+), 2 deletions(-)
8662
8663commit 2118733045ad0ca183a3f181a0399baf876983a6
8664Author: Lasse Collin <lasse.collin@tukaani.org>
8665Date:   2011-03-24 01:22:18 +0200
8666
8667    Updated THANKS.
8668
8669 THANKS | 1 +
8670 1 file changed, 1 insertion(+)
8671
8672commit c7210d9a3fca6f31a57208bfddfc9ab20a2e097a
8673Author: Lasse Collin <lasse.collin@tukaani.org>
8674Date:   2011-03-24 01:21:32 +0200
8675
8676    Scripts: Fix xzgrep -l.
8677
8678    It didn't work at all. It tried to use the -q option
8679    for grep, but it appended it after "--". This works
8680    around it by redirecting to /dev/null. The downside
8681    is that this can be slower with big files compared
8682    to proper use of "grep -q".
8683
8684    Thanks to Gregory Margo.
8685
8686 src/scripts/xzgrep.in | 4 ++--
8687 1 file changed, 2 insertions(+), 2 deletions(-)
8688
8689commit 4eb83e32046a6d670862bc91c3d82530963b455e
8690Author: Lasse Collin <lasse.collin@tukaani.org>
8691Date:   2011-03-19 13:08:22 +0200
8692
8693    Scripts: Add lzop (.lzo) support to xzdiff and xzgrep.
8694
8695 src/scripts/xzdiff.1  |  6 ++++--
8696 src/scripts/xzdiff.in | 22 ++++++++++++++--------
8697 src/scripts/xzgrep.1  | 11 +++++++----
8698 src/scripts/xzgrep.in |  5 +++--
8699 4 files changed, 28 insertions(+), 16 deletions(-)
8700
8701commit 923b22483bd9356f3219b2b784d96f455f4dc499
8702Author: Lasse Collin <lasse.collin@tukaani.org>
8703Date:   2011-03-18 19:10:30 +0200
8704
8705    xz: Add --block-size=SIZE.
8706
8707    This uses LZMA_FULL_FLUSH every SIZE bytes of input.
8708
8709    Man page wasn't updated yet.
8710
8711 src/xz/args.c    |  7 +++++++
8712 src/xz/coder.c   | 50 ++++++++++++++++++++++++++++++++++++++++----------
8713 src/xz/coder.h   |  3 +++
8714 src/xz/message.c |  4 ++++
8715 4 files changed, 54 insertions(+), 10 deletions(-)
8716
8717commit 57597d42ca1740ad506437be168d800a50f1a0ad
8718Author: Lasse Collin <lasse.collin@tukaani.org>
8719Date:   2011-03-18 18:19:19 +0200
8720
8721    xz: Add --single-stream.
8722
8723    This can be useful when there is garbage after the
8724    compressed stream (.xz, .lzma, or raw stream).
8725
8726    Man page wasn't updated yet.
8727
8728 src/xz/args.c    |  6 ++++++
8729 src/xz/coder.c   | 11 +++++++++--
8730 src/xz/coder.h   |  3 +++
8731 src/xz/message.c |  6 +++++-
8732 4 files changed, 23 insertions(+), 3 deletions(-)
8733
8734commit 96f94bc925d579a700147fa5d7793b64d69cfc18
8735Author: Lasse Collin <lasse.collin@tukaani.org>
8736Date:   2011-02-04 22:49:31 +0200
8737
8738    xz: Clean up suffix.c.
8739
8740    struct suffix_pair isn't needed in compresed_name()
8741    so get rid of it there.
8742
8743 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------
8744 1 file changed, 20 insertions(+), 24 deletions(-)
8745
8746commit 8930c7ae3f82bdae15aa129f01de08be23d7e8d7
8747Author: Lasse Collin <lasse.collin@tukaani.org>
8748Date:   2011-02-04 11:29:47 +0200
8749
8750    xz: Check if the file already has custom suffix when compressing.
8751
8752    Now "xz -S .test foo.test" refuses to compress the
8753    file because it already has the suffix .test. The man
8754    page had it documented this way already.
8755
8756 src/xz/suffix.c | 9 +++++++++
8757 1 file changed, 9 insertions(+)
8758
8759commit 940d5852c6cf08abccc6befd9d1b5411c9076a58
8760Author: Lasse Collin <lasse.collin@tukaani.org>
8761Date:   2011-02-02 23:01:51 +0200
8762
8763    Updated THANKS.
8764
8765 THANKS | 1 +
8766 1 file changed, 1 insertion(+)
8767
8768commit 4ebe65f839613f27f127bab7b8c347d982330ee3
8769Author: Lasse Collin <lasse.collin@tukaani.org>
8770Date:   2011-02-02 23:00:33 +0200
8771
8772    Translations: Add Polish translation.
8773
8774    Thanks to Jakub Bogusz.
8775
8776 po/LINGUAS |   1 +
8777 po/pl.po   | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8778 2 files changed, 826 insertions(+)
8779
8780commit fc1d292dca1925dfd17174f443f91a696ecd5bf8
8781Author: Lasse Collin <lasse.collin@tukaani.org>
8782Date:   2011-02-02 22:24:00 +0200
8783
8784    Updated THANKS.
8785
8786 THANKS | 1 +
8787 1 file changed, 1 insertion(+)
8788
8789commit 6dd061adfd2775428b079eb03d6fd47d7c0f1ffe
8790Merge: 9d542ce 5fbce0b
8791Author: Lasse Collin <lasse.collin@tukaani.org>
8792Date:   2011-02-06 20:13:01 +0200
8793
8794    Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d'
8795
8796commit 5fbce0b8d96dc96775aa0215e3581addc830e23d
8797Author: Lasse Collin <lasse.collin@tukaani.org>
8798Date:   2011-01-28 20:16:57 +0200
8799
8800    Update NEWS for 5.0.1.
8801
8802 NEWS | 14 ++++++++++++++
8803 1 file changed, 14 insertions(+)
8804
8805commit 03ebd1bbb314f9f204940219a835c883bf442475
8806Author: Lasse Collin <lasse.collin@tukaani.org>
8807Date:   2011-01-26 12:19:08 +0200
8808
8809    xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
8810
8811    xz didn't compress setuid/setgid/sticky files and files
8812    with multiple hard links even with --force. This bug was
8813    introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4.
8814
8815    Thanks to Charles Wilson.
8816
8817 src/xz/file_io.c | 15 +++++++--------
8818 1 file changed, 7 insertions(+), 8 deletions(-)
8819
8820commit 9d542ceebcbe40b174169c132ccfcdc720ca7089
8821Merge: 4f2c69a 7bd0a5e
8822Author: Lasse Collin <lasse.collin@tukaani.org>
8823Date:   2011-01-19 11:45:35 +0200
8824
8825    Merge branch 'v5.0'
8826
8827commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136
8828Author: Lasse Collin <lasse.collin@tukaani.org>
8829Date:   2011-01-18 21:25:24 +0200
8830
8831    Updated THANKS.
8832
8833 THANKS | 1 +
8834 1 file changed, 1 insertion(+)
8835
8836commit f71c4e16e913f660977526f0ef8d2acdf458d7c9
8837Author: Lasse Collin <lasse.collin@tukaani.org>
8838Date:   2011-01-18 21:23:50 +0200
8839
8840    Add alloc_size and malloc attributes to a few functions.
8841
8842    Thanks to Cristian Rodríguez for the original patch.
8843
8844 src/common/sysdefs.h        | 6 ++++++
8845 src/liblzma/common/common.h | 2 +-
8846 src/xz/util.h               | 5 +++--
8847 3 files changed, 10 insertions(+), 3 deletions(-)
8848
8849commit 316cbe24465143edde8f6ffb7532834b7b2ea93f
8850Author: Lasse Collin <lasse.collin@tukaani.org>
8851Date:   2010-12-13 16:36:33 +0200
8852
8853    Scripts: Fix gzip and bzip2 support in xzdiff.
8854
8855 src/scripts/xzdiff.in | 12 ++++++------
8856 1 file changed, 6 insertions(+), 6 deletions(-)
8857
8858commit 4f2c69a4e3e0aee2e37b0b1671d34086e20c8ac6
8859Merge: adb89e6 9311774
8860Author: Lasse Collin <lasse.collin@tukaani.org>
8861Date:   2010-12-12 23:13:22 +0200
8862
8863    Merge branch 'v5.0'
8864
8865commit 9311774c493c19deab51ded919dcd2e9c4aa2829
8866Author: Lasse Collin <lasse.collin@tukaani.org>
8867Date:   2010-12-12 21:23:55 +0200
8868
8869    Build: Enable ASM on DJGPP by default.
8870
8871 configure.ac | 2 +-
8872 1 file changed, 1 insertion(+), 1 deletion(-)
8873
8874commit 4a42aaee282fc73b482581684d65110506d5efdd
8875Author: Lasse Collin <lasse.collin@tukaani.org>
8876Date:   2010-12-12 16:09:42 +0200
8877
8878    Updated THANKS.
8879
8880 THANKS | 1 +
8881 1 file changed, 1 insertion(+)
8882
8883commit ce56f63c41ee210e6308090eb6d49221fdf67d6c
8884Author: Lasse Collin <lasse.collin@tukaani.org>
8885Date:   2010-12-12 16:07:11 +0200
8886
8887    Add missing PRIx32 and PRIx64 compatibility definitions.
8888
8889    This fixes portability to systems that lack C99 inttypes.h.
8890
8891    Thanks to Juan Manuel Guerrero.
8892
8893 src/common/sysdefs.h | 9 +++++++++
8894 1 file changed, 9 insertions(+)
8895
8896commit e6baedddcf54e7da049ebc49183565b99facd4c7
8897Author: Lasse Collin <lasse.collin@tukaani.org>
8898Date:   2010-12-12 14:50:04 +0200
8899
8900    DOS-like: Treat \ and : as directory separators in addition to /.
8901
8902    Juan Manuel Guerrero had fixed this in his XZ Utils port
8903    to DOS/DJGPP. The bug affects also Windows and OS/2.
8904
8905 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++----
8906 1 file changed, 29 insertions(+), 4 deletions(-)
8907
8908commit adb89e68d43a4cadb0c215b45ef7a75737c9c3ec
8909Merge: 7c24e0d b7afd3e
8910Author: Lasse Collin <lasse.collin@tukaani.org>
8911Date:   2010-12-07 18:53:04 +0200
8912
8913    Merge branch 'v5.0'
8914
8915commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f
8916Author: Lasse Collin <lasse.collin@tukaani.org>
8917Date:   2010-12-07 18:52:04 +0200
8918
8919    Translations: Fix Czech translation of "sparse file".
8920
8921    Thanks to Petr Hubený and Marek Černocký.
8922
8923 po/cs.po | 88 ++++++++++++++++++++++++++++++++--------------------------------
8924 1 file changed, 44 insertions(+), 44 deletions(-)
8925
8926commit 7c24e0d1b8a2e86e9263b0d56d39621e01aed7af
8927Merge: b4d42f1 3e56470
8928Author: Lasse Collin <lasse.collin@tukaani.org>
8929Date:   2010-11-15 14:33:01 +0200
8930
8931    Merge branch 'v5.0'
8932
8933commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e
8934Author: Lasse Collin <lasse.collin@tukaani.org>
8935Date:   2010-11-15 14:28:26 +0200
8936
8937    liblzma: Document the return value of lzma_lzma_preset().
8938
8939 src/liblzma/api/lzma/lzma.h | 3 +++
8940 1 file changed, 3 insertions(+)
8941
8942commit 2964d8d691ed92abdcf214888d79ad6d79774735
8943Author: Jonathan Nieder <jrnieder@gmail.com>
8944Date:   2010-11-12 15:22:13 -0600
8945
8946    Simplify paths in generated API docs
8947
8948    Currently the file list generated by Doxygen has src/ at the
8949    beginning of each path.  Paths like common/sysdefs.h and
8950    liblzma/api/lzma.h are easier to read without such a prefix.
8951
8952    Builds from a separate build directory with
8953
8954            mkdir build
8955            cd build
8956            ../configure
8957            doxygen Doxyfile
8958
8959    include an even longer prefix /home/someone/src/xz/src; this
8960    patch has the nice side-effect of eliminating that prefix, too.
8961
8962    Fixes: http://bugs.debian.org/572273
8963
8964 Doxyfile.in | 2 +-
8965 1 file changed, 1 insertion(+), 1 deletion(-)
8966
8967commit b4d42f1a7120e2cefeb2f14425efe2ca6db85416
8968Author: Anders F Bjorklund <afb@users.sourceforge.net>
8969Date:   2010-11-05 12:56:11 +0100
8970
8971    add build script for macosx universal
8972
8973 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8974 1 file changed, 92 insertions(+)
8975
8976commit 15ee6935abe4a2fc76639ee342ca2e69af3e0ad6
8977Author: Lasse Collin <lasse.collin@tukaani.org>
8978Date:   2010-11-04 18:31:40 +0200
8979
8980    Update the copies of GPLv2 and LGPLv2.1 from gnu.org.
8981
8982    There are only a few white space changes.
8983
8984 COPYING.GPLv2    | 14 +++++++-------
8985 COPYING.LGPLv2.1 | 16 +++++++---------
8986 2 files changed, 14 insertions(+), 16 deletions(-)
8987
8988commit 8e355f7fdbeee6fe394eb02a28f267ce99a882a2
8989Merge: 974ebe6 37c2565
8990Author: Lasse Collin <lasse.collin@tukaani.org>
8991Date:   2010-10-26 15:53:06 +0300
8992
8993    Merge branch 'v5.0'
8994
8995commit 37c25658efd25b034266daf87cd381d20d1df776
8996Author: Lasse Collin <lasse.collin@tukaani.org>
8997Date:   2010-10-26 15:48:48 +0300
8998
8999    Build: Copy the example programs to $docdir/examples.
9000
9001    The example programs by Daniel Mealha Cabrita were included
9002    in the git repository, but I had forgot to add them to
9003    Makefile.am. Thus, they didn't get included in the source
9004    package at all by "make dist".
9005
9006 Makefile.am        | 5 +++++
9007 windows/build.bash | 3 ++-
9008 2 files changed, 7 insertions(+), 1 deletion(-)
9009
9010commit 974ebe63497bdf0d262e06474f0dd5a70b1dd000
9011Author: Lasse Collin <lasse.collin@tukaani.org>
9012Date:   2010-10-26 10:36:41 +0300
9013
9014    liblzma: Rename a few variables and constants.
9015
9016    This has no semantic changes. I find the new names slightly
9017    more logical and they match the names that are already used
9018    in XZ Embedded.
9019
9020    The name fastpos wasn't changed (not worth the hassle).
9021
9022 src/liblzma/lzma/fastpos.h                     |  55 +++++------
9023 src/liblzma/lzma/lzma2_encoder.c               |   2 +-
9024 src/liblzma/lzma/lzma_common.h                 |  45 ++++-----
9025 src/liblzma/lzma/lzma_decoder.c                |  58 +++++------
9026 src/liblzma/lzma/lzma_encoder.c                |  56 +++++------
9027 src/liblzma/lzma/lzma_encoder_optimum_fast.c   |   9 +-
9028 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 128 ++++++++++++-------------
9029 src/liblzma/lzma/lzma_encoder_private.h        |  16 ++--
9030 8 files changed, 183 insertions(+), 186 deletions(-)
9031
9032commit 7c427ec38d016c0070a42315d752857e33792fc4
9033Author: Lasse Collin <lasse.collin@tukaani.org>
9034Date:   2010-10-25 12:59:25 +0300
9035
9036    Bump version 5.1.0alpha.
9037
9038 src/liblzma/api/lzma/version.h | 4 ++--
9039 1 file changed, 2 insertions(+), 2 deletions(-)
9040
9041commit e45929260cd902036efd40c5610a8d0a50d5712b
9042Author: Lasse Collin <lasse.collin@tukaani.org>
9043Date:   2010-10-23 17:25:52 +0300
9044
9045    Build: Fix mydist rule when .git doesn't exist.
9046
9047 Makefile.am | 1 +
9048 1 file changed, 1 insertion(+)
9049
9050commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168
9051Author: Lasse Collin <lasse.collin@tukaani.org>
9052Date:   2010-10-23 14:15:35 +0300
9053
9054    Add NEWS for 5.0.0.
9055
9056 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
9057 1 file changed, 62 insertions(+)
9058
9059commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c
9060Author: Lasse Collin <lasse.collin@tukaani.org>
9061Date:   2010-10-23 14:02:53 +0300
9062
9063    Bump version to 5.0.0 and liblzma version-info to 5:0:0.
9064
9065 src/liblzma/Makefile.am        | 2 +-
9066 src/liblzma/api/lzma/version.h | 8 ++++----
9067 2 files changed, 5 insertions(+), 5 deletions(-)
9068