]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/xz/ChangeLog
Update libc++ to 3.7.0 release.
[FreeBSD/FreeBSD.git] / contrib / xz / ChangeLog
1 commit dec11497a71518423b5ff0e759100cf8aadf6c7b
2 Author: Lasse Collin <lasse.collin@tukaani.org>
3 Date:   2015-02-26 16:53:44 +0200
4
5     Bump version and soname for 5.2.1.
6
7  src/liblzma/Makefile.am        | 2 +-
8  src/liblzma/api/lzma/version.h | 2 +-
9  2 files changed, 2 insertions(+), 2 deletions(-)
10
11 commit 29e39c79975ab89ee5dd671e97064534a9f3a649
12 Author: Lasse Collin <lasse.collin@tukaani.org>
13 Date:   2015-02-26 13:01:09 +0200
14
15     Update NEWS for 5.2.1.
16
17  NEWS | 14 ++++++++++++++
18  1 file changed, 14 insertions(+)
19
20 commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd
21 Author: Lasse Collin <lasse.collin@tukaani.org>
22 Date:   2015-02-22 19:38:48 +0200
23
24     xz: Use pipe2() if available.
25
26  configure.ac     | 4 ++--
27  src/xz/file_io.c | 9 ++++++++-
28  2 files changed, 10 insertions(+), 3 deletions(-)
29
30 commit 117d962685c72682c63edc9bb765367189800202
31 Author: Lasse Collin <lasse.collin@tukaani.org>
32 Date:   2015-02-21 23:40:26 +0200
33
34     liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode.
35     
36     The bug was added in the commit
37     f48fce093b07aeda95c18850f5e086d9f2383380 and thus
38     affected 5.1.4beta and 5.2.0. Luckily the bug cannot
39     cause data corruption or other nasty things.
40
41  src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
42  1 file changed, 1 insertion(+), 1 deletion(-)
43
44 commit ae984e31c167d3bc52972ec422dd1ebd5f5d5719
45 Author: Lasse Collin <lasse.collin@tukaani.org>
46 Date:   2015-02-21 23:00:19 +0200
47
48     xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick.
49     
50     Now it reads the old flags instead of blindly setting O_NONBLOCK.
51     The old code may have worked correctly, but this is better.
52
53  src/xz/file_io.c | 16 +++++++++++-----
54  1 file changed, 11 insertions(+), 5 deletions(-)
55
56 commit 2205bb5853098aea36a56df6f5747037175f66b4
57 Author: Lasse Collin <lasse.collin@tukaani.org>
58 Date:   2015-02-10 15:29:34 +0200
59
60     Update THANKS.
61
62  THANKS | 1 +
63  1 file changed, 1 insertion(+)
64
65 commit d935b0cdf3db440269b9d952b2b281b18f8c7b08
66 Author: Lasse Collin <lasse.collin@tukaani.org>
67 Date:   2015-02-10 15:28:30 +0200
68
69     tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available.
70     
71     In FreeBSD, cpuset_getaffinity() is the preferred way to get
72     the number of available cores.
73     
74     Thanks to Rui Paulo for the patch. I edited it slightly, but
75     hopefully I didn't break anything.
76
77  m4/tuklib_cpucores.m4        | 23 ++++++++++++++++++++++-
78  src/common/tuklib_cpucores.c | 18 ++++++++++++++++++
79  2 files changed, 40 insertions(+), 1 deletion(-)
80
81 commit eb61bc58c20769cac4d05f363b9c0e8c9c71a560
82 Author: Lasse Collin <lasse.collin@tukaani.org>
83 Date:   2015-02-09 22:08:37 +0200
84
85     xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp.
86     
87     Thanks to Rui Paulo for the fix.
88
89  src/scripts/xzdiff.in | 7 ++++++-
90  1 file changed, 6 insertions(+), 1 deletion(-)
91
92 commit b9a5b6b7a29029680af733082b6a46e0fc01623a
93 Author: Lasse Collin <lasse.collin@tukaani.org>
94 Date:   2015-02-03 21:45:53 +0200
95
96     Add a few casts to tuklib_integer.h to silence possible warnings.
97     
98     I heard that Visual Studio 2013 gave warnings without the casts.
99     
100     Thanks to Gabi Davar.
101
102  src/common/tuklib_integer.h | 24 ++++++++++++------------
103  1 file changed, 12 insertions(+), 12 deletions(-)
104
105 commit c45757135f40e4a0de730ba5fff0100219493982
106 Author: Lasse Collin <lasse.collin@tukaani.org>
107 Date:   2015-01-26 21:24:39 +0200
108
109     liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method.
110
111  src/liblzma/common/memcmplen.h | 15 ++++++++++-----
112  1 file changed, 10 insertions(+), 5 deletions(-)
113
114 commit 3c500174ed5485f550972a2a6109c361e875f069
115 Author: Lasse Collin <lasse.collin@tukaani.org>
116 Date:   2015-01-26 20:40:16 +0200
117
118     Update THANKS.
119
120  THANKS | 1 +
121  1 file changed, 1 insertion(+)
122
123 commit fec88d41e672d9e197c9442aecf02bd0dfa6d516
124 Author: Lasse Collin <lasse.collin@tukaani.org>
125 Date:   2015-01-26 20:39:28 +0200
126
127     liblzma: Silence harmless Valgrind errors.
128     
129     Thanks to Torsten Rupp for reporting this. I had
130     forgotten to run Valgrind before the 5.2.0 release.
131
132  src/liblzma/lz/lz_encoder.c | 6 ++++++
133  1 file changed, 6 insertions(+)
134
135 commit a9b45badfec0928d20a27c7176c005fa637f7d1e
136 Author: Lasse Collin <lasse.collin@tukaani.org>
137 Date:   2015-01-09 21:50:19 +0200
138
139     xz: Fix comments.
140
141  src/xz/file_io.c | 12 ++++++++----
142  1 file changed, 8 insertions(+), 4 deletions(-)
143
144 commit 541aee6dd4aa97a809aba281475a21b641bb89e2
145 Author: Lasse Collin <lasse.collin@tukaani.org>
146 Date:   2015-01-09 21:35:06 +0200
147
148     Update THANKS.
149
150  THANKS | 1 +
151  1 file changed, 1 insertion(+)
152
153 commit 4170edc914655310d2363baccf5e615e09b04911
154 Author: Lasse Collin <lasse.collin@tukaani.org>
155 Date:   2015-01-09 21:34:06 +0200
156
157     xz: Don't fail if stdout doesn't support O_NONBLOCK.
158     
159     This is similar to the case with stdin.
160     
161     Thanks to Brad Smith for the bug report and testing
162     on OpenBSD.
163
164  src/xz/file_io.c | 36 +++++++++++++++---------------------
165  1 file changed, 15 insertions(+), 21 deletions(-)
166
167 commit 04bbc0c2843c50c8ad1cba42b937118e38b0508d
168 Author: Lasse Collin <lasse.collin@tukaani.org>
169 Date:   2015-01-07 19:18:20 +0200
170
171     xz: Fix a memory leak in DOS-specific code.
172
173  src/xz/file_io.c | 2 ++
174  1 file changed, 2 insertions(+)
175
176 commit f0f1f6c7235ffa901cf76fe18e33749e200b3eea
177 Author: Lasse Collin <lasse.collin@tukaani.org>
178 Date:   2015-01-07 19:08:06 +0200
179
180     xz: Don't fail if stdin doesn't support O_NONBLOCK.
181     
182     It's a problem at least on OpenBSD which doesn't support
183     O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's
184     a problem on other OSes too since this behavior is allowed
185     in POSIX-1.2008.
186     
187     The code relying on this behavior was committed in June 2013
188     and included in 5.1.3alpha released on 2013-10-26. Clearly
189     the development releases only get limited testing.
190
191  src/xz/file_io.c | 18 +++++++-----------
192  1 file changed, 7 insertions(+), 11 deletions(-)
193
194 commit d2d484647d9d9d679f03c75abb0404f67069271c
195 Author: Lasse Collin <lasse.collin@tukaani.org>
196 Date:   2015-01-06 20:30:15 +0200
197
198     Tests: Don't hide unexpected error messages in test_files.sh.
199     
200     Hiding them makes no sense since normally there's no error
201     when testing the "good" files. With "bad" files errors are
202     expected and then it makes sense to keep the messages hidden.
203
204  tests/test_files.sh | 4 ++--
205  1 file changed, 2 insertions(+), 2 deletions(-)
206
207 commit aae6a6aeda51cf94a47e39ad624728f9bee75e30
208 Author: Lasse Collin <lasse.collin@tukaani.org>
209 Date:   2014-12-30 11:17:16 +0200
210
211     Update Solaris notes in INSTALL.
212     
213     Mention the possible "make check" failure on Solaris in the
214     Solaris-specific section of INSTALL. It was already in
215     section 4.5 but it is better mention it in the OS-specific
216     section too.
217
218  INSTALL | 4 ++++
219  1 file changed, 4 insertions(+)
220
221 commit 7815112153178800a3521b9f31960e7cdc26cfba
222 Author: Lasse Collin <lasse.collin@tukaani.org>
223 Date:   2014-12-26 12:00:05 +0200
224
225     Build: POSIX shell isn't required if scripts are disabled.
226
227  INSTALL      | 3 ++-
228  configure.ac | 2 +-
229  2 files changed, 3 insertions(+), 2 deletions(-)
230
231 commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a
232 Author: Lasse Collin <lasse.collin@tukaani.org>
233 Date:   2014-12-21 20:48:37 +0200
234
235     DOS: Update Makefile.
236
237  dos/Makefile | 1 +
238  1 file changed, 1 insertion(+)
239
240 commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e
241 Author: Lasse Collin <lasse.collin@tukaani.org>
242 Date:   2014-12-21 19:50:38 +0200
243
244     Windows: Fix bin_i486 to bin_i686 in build.bash.
245
246  windows/build.bash | 2 +-
247  1 file changed, 1 insertion(+), 1 deletion(-)
248
249 commit cbafa710918195dbba3db02c3fab4f0538235206
250 Author: Lasse Collin <lasse.collin@tukaani.org>
251 Date:   2014-12-21 18:58:44 +0200
252
253     Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c.
254
255  doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++----
256  1 file changed, 26 insertions(+), 4 deletions(-)
257
258 commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a
259 Author: Lasse Collin <lasse.collin@tukaani.org>
260 Date:   2014-12-21 18:56:44 +0200
261
262     Docs: Update docs/examples/00_README.txt.
263
264  doc/examples/00_README.txt | 4 ++++
265  1 file changed, 4 insertions(+)
266
267 commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6
268 Author: Lasse Collin <lasse.collin@tukaani.org>
269 Date:   2014-12-21 18:11:17 +0200
270
271     Bump version and soname for 5.2.0.
272     
273     I know that soname != app version, but I skip AGE=1
274     in -version-info to make the soname match the liblzma
275     version anyway. It doesn't hurt anything as long as
276     it doesn't conflict with library versioning rules.
277
278  src/liblzma/Makefile.am        | 2 +-
279  src/liblzma/api/lzma/version.h | 6 +++---
280  src/liblzma/liblzma.map        | 2 +-
281  3 files changed, 5 insertions(+), 5 deletions(-)
282
283 commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da
284 Author: Lasse Collin <lasse.collin@tukaani.org>
285 Date:   2014-12-21 18:05:03 +0200
286
287     Avoid variable-length arrays in the debug programs.
288
289  debug/full_flush.c | 3 ++-
290  debug/sync_flush.c | 3 ++-
291  2 files changed, 4 insertions(+), 2 deletions(-)
292
293 commit 72f7307cfdceb941aeb2bf30d424cc0d13621786
294 Author: Lasse Collin <lasse.collin@tukaani.org>
295 Date:   2014-12-21 18:01:45 +0200
296
297     Build: Include 04_compress_easy_mt.c in the tarball.
298
299  Makefile.am | 1 +
300  1 file changed, 1 insertion(+)
301
302 commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0
303 Author: Lasse Collin <lasse.collin@tukaani.org>
304 Date:   2014-12-21 18:00:38 +0200
305
306     Fix build when --disable-threads is used.
307
308  src/common/mythread.h | 2 ++
309  1 file changed, 2 insertions(+)
310
311 commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17
312 Author: Adrien Nader <adrien@notk.org>
313 Date:   2014-12-21 15:56:15 +0100
314
315     po/fr: improve wording for help for --lzma1/--lzma2.
316
317  po/fr.po | 2 +-
318  1 file changed, 1 insertion(+), 1 deletion(-)
319
320 commit a8b6b569e7fadbf5b5b9139d53bc764015c15027
321 Author: Adrien Nader <adrien@notk.org>
322 Date:   2014-12-21 15:55:48 +0100
323
324     po/fr: missing line in translation of --extreme.
325
326  po/fr.po | 1 +
327  1 file changed, 1 insertion(+)
328
329 commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9
330 Author: Lasse Collin <lasse.collin@tukaani.org>
331 Date:   2014-12-21 14:32:33 +0200
332
333     Update NEWS for 5.2.0.
334
335  NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
336  1 file changed, 65 insertions(+)
337
338 commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429
339 Author: Lasse Collin <lasse.collin@tukaani.org>
340 Date:   2014-12-21 14:32:22 +0200
341
342     Update NEWS for 5.0.8.
343
344  NEWS | 12 ++++++++++++
345  1 file changed, 12 insertions(+)
346
347 commit 42e97a32649bf53ce43be2258b902a417c6e7fa1
348 Author: Lasse Collin <lasse.collin@tukaani.org>
349 Date:   2014-12-21 14:07:54 +0200
350
351     xz: Fix a comment.
352
353  src/xz/options.c | 4 ++--
354  1 file changed, 2 insertions(+), 2 deletions(-)
355
356 commit 29b95d5d6665cedffa6a9d6d3d914f981e852182
357 Author: Lasse Collin <lasse.collin@tukaani.org>
358 Date:   2014-12-20 20:43:14 +0200
359
360     Update INSTALL about the dependencies of the scripts.
361
362  INSTALL | 15 ++++++++++-----
363  1 file changed, 10 insertions(+), 5 deletions(-)
364
365 commit 3af91040bb42c21afbb81f5568c3313125e61192
366 Author: Lasse Collin <lasse.collin@tukaani.org>
367 Date:   2014-12-20 20:42:33 +0200
368
369     Windows: Update build instructions.
370
371  INSTALL                     | 15 +++++++++------
372  windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++-----------------------
373  2 files changed, 30 insertions(+), 29 deletions(-)
374
375 commit 0152f72bf6289d744823dc6c849538f3a139ad70
376 Author: Lasse Collin <lasse.collin@tukaani.org>
377 Date:   2014-12-20 20:41:48 +0200
378
379     Windows: Update the build script and README-Windows.txt.
380     
381     The 32-bit build is now for i686 or newer because the
382     prebuilt MinGW-w64 toolchains include i686 code in the
383     executables even if one uses -march=i486.
384     
385     The build script builds 32-bit SSE2 enabled version too.
386     Run-time detection of SSE2 support would be nice (on any OS)
387     but it's not implemented in XZ Utils yet.
388
389  windows/README-Windows.txt | 30 ++++++++++++++++--------------
390  windows/build.bash         | 23 ++++++++++++++---------
391  2 files changed, 30 insertions(+), 23 deletions(-)
392
393 commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a
394 Author: Lasse Collin <lasse.collin@tukaani.org>
395 Date:   2014-12-19 15:51:50 +0200
396
397     Windows: Define TUKLIB_SYMBOL_PREFIX in config.h.
398     
399     It is to keep all symbols in the lzma_ namespace.
400
401  windows/config.h | 3 +++
402  1 file changed, 3 insertions(+)
403
404 commit 7f7d093de79eee0c7dbfd7433647e46302f19f82
405 Author: Lasse Collin <lasse.collin@tukaani.org>
406 Date:   2014-12-16 21:00:09 +0200
407
408     xz: Update the man page about --threads.
409
410  src/xz/xz.1 | 5 -----
411  1 file changed, 5 deletions(-)
412
413 commit 009823448b82aa5f465668878a544c5842885407
414 Author: Lasse Collin <lasse.collin@tukaani.org>
415 Date:   2014-12-16 20:57:43 +0200
416
417     xz: Update the man page about --block-size.
418
419  src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++--------
420  1 file changed, 33 insertions(+), 8 deletions(-)
421
422 commit 7dddfbeb499e528940bc12047355c184644aafe9
423 Author: Adrien Nader <adrien@notk.org>
424 Date:   2014-12-10 22:26:57 +0100
425
426     po/fr: several more translation updates: reword and handle --ignore-check.
427
428  po/fr.po | 50 ++++++++++++++++++++++++++------------------------
429  1 file changed, 26 insertions(+), 24 deletions(-)
430
431 commit 6eca5be40e04ddc4b738d493e4e56835956d8b69
432 Author: Adrien Nader <adrien@notk.org>
433 Date:   2014-12-10 22:23:01 +0100
434
435     po/fr: yet another place where my email address had to be updated.
436
437  po/fr.po | 2 +-
438  1 file changed, 1 insertion(+), 1 deletion(-)
439
440 commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7
441 Author: Adrien Nader <adrien@notk.org>
442 Date:   2014-12-10 22:22:20 +0100
443
444     po/fr: fix several typos that have been around since the beginning.
445
446  po/fr.po | 22 +++++++++++-----------
447  1 file changed, 11 insertions(+), 11 deletions(-)
448
449 commit 4c5aa911a0df027e46171e368debc543d2fa72b2
450 Author: Adrien Nader <adrien@notk.org>
451 Date:   2014-12-03 20:02:31 +0100
452
453     po/fr: last batch of new translations for now.
454     
455     Four new error messages.
456
457  po/fr.po | 16 ++++++++--------
458  1 file changed, 8 insertions(+), 8 deletions(-)
459
460 commit 3e3099e36d27059499e7996fb38a62e8ab01d356
461 Author: Adrien Nader <adrien@notk.org>
462 Date:   2014-12-03 20:01:32 +0100
463
464     po/fr: translations for --threads, --block-size and --block-list.
465
466  po/fr.po | 12 ++++++++----
467  1 file changed, 8 insertions(+), 4 deletions(-)
468
469 commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53
470 Author: Adrien Nader <adrien@notk.org>
471 Date:   2014-12-03 20:00:53 +0100
472
473     po/fr: remove fuzzy marker for error messages that will be kept in English.
474     
475     The following is a copy of a comment inside fr.po:
476     
477     Note from translator on "file status flags".
478     The following entry is kept un-translated on purpose. It is difficult to
479     translate and should only happen in exceptional circumstances which means
480     that translating would:
481     - lose some of the meaning
482     - make it more difficult to look up in search engines; it might happen one
483     in
484     a million times, if we dilute the error message in 20 languages, it will be
485     almost impossible to find an explanation and support for the error.
486
487  po/fr.po | 22 ++++++++++++++++------
488  1 file changed, 16 insertions(+), 6 deletions(-)
489
490 commit 46cbb9033af8a21fafe543302d6919746e0d72af
491 Author: Adrien Nader <adrien@notk.org>
492 Date:   2014-12-03 19:58:25 +0100
493
494     po/fr: several minor updates and better wording.
495     
496     Meaning doesn't change at all: it's only for better wording and/or
497     formatting of a few strings.
498
499  po/fr.po | 14 +++++++-------
500  1 file changed, 7 insertions(+), 7 deletions(-)
501
502 commit 7ce49d444f04e73145f79c832eb4d510594b074a
503 Author: Adrien Nader <adrien@notk.org>
504 Date:   2014-12-03 19:56:12 +0100
505
506     po/fr: update my email address and copyright years.
507
508  po/fr.po | 4 ++--
509  1 file changed, 2 insertions(+), 2 deletions(-)
510
511 commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c
512 Author: Adrien Nader <adrien@notk.org>
513 Date:   2014-11-26 10:08:26 +0100
514
515     fr.po: commit file after only "update-po" so actual is readable.
516
517  po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++-----------------------
518  1 file changed, 199 insertions(+), 112 deletions(-)
519
520 commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b
521 Author: Lasse Collin <lasse.collin@tukaani.org>
522 Date:   2014-12-02 20:04:07 +0200
523
524     liblzma: Document how lzma_mt.block_size affects memory usage.
525
526  src/liblzma/api/lzma/container.h | 4 ++++
527  1 file changed, 4 insertions(+)
528
529 commit e4fc1d2f9571fba79ce383595be2ea2a9257def0
530 Author: Lasse Collin <lasse.collin@tukaani.org>
531 Date:   2014-11-28 20:07:18 +0200
532
533     Update INSTALL about a "make check" failure in test_scripts.sh.
534
535  INSTALL | 24 +++++++++++++++++-------
536  1 file changed, 17 insertions(+), 7 deletions(-)
537
538 commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe
539 Author: Lasse Collin <lasse.collin@tukaani.org>
540 Date:   2014-11-26 20:12:27 +0200
541
542     Remove LZMA_UNSTABLE macro.
543
544  src/liblzma/api/lzma/container.h | 4 ----
545  src/liblzma/common/common.h      | 2 --
546  src/xz/private.h                 | 1 -
547  3 files changed, 7 deletions(-)
548
549 commit 6d9c0ce9f2677b159e32b224aba5b535b304a705
550 Author: Lasse Collin <lasse.collin@tukaani.org>
551 Date:   2014-11-26 20:10:33 +0200
552
553     liblzma: Update lzma_stream_encoder_mt() API docs.
554
555  src/liblzma/api/lzma/container.h | 5 +++--
556  1 file changed, 3 insertions(+), 2 deletions(-)
557
558 commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3
559 Author: Lasse Collin <lasse.collin@tukaani.org>
560 Date:   2014-11-25 12:32:05 +0200
561
562     liblzma: Verify the filter chain in threaded encoder initialization.
563     
564     This way an invalid filter chain is detected at the Stream
565     encoder initialization instead of delaying it to the first
566     call to lzma_code() which triggers the initialization of
567     the actual filter encoder(s).
568
569  src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
570  1 file changed, 6 insertions(+), 3 deletions(-)
571
572 commit 107a263d5bb63cd3593fd6a5c938706539f84523
573 Author: Lasse Collin <lasse.collin@tukaani.org>
574 Date:   2014-11-17 19:11:49 +0200
575
576     Build: Update m4/ax_pthread.m4 from Autoconf Archive.
577
578  m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++-------------------
579  1 file changed, 47 insertions(+), 24 deletions(-)
580
581 commit b13a781833399ff5726cfc997f3cb2f0acbdbf31
582 Author: Lasse Collin <lasse.collin@tukaani.org>
583 Date:   2014-11-17 18:52:21 +0200
584
585     Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING.
586
587  configure.ac         | 36 ++++++++++++++++++------------------
588  m4/tuklib_integer.m4 |  2 +-
589  2 files changed, 19 insertions(+), 19 deletions(-)
590
591 commit 542cac122ed3550148a2af0033af22b757491378
592 Author: Lasse Collin <lasse.collin@tukaani.org>
593 Date:   2014-11-17 18:43:19 +0200
594
595     Build: Fix Autoconf warnings about escaped backquotes.
596     
597     Thanks to Daniel Richard G. for pointing out that it's
598     good to sometimes run autoreconf -fi with -Wall.
599
600  configure.ac | 7 +++----
601  1 file changed, 3 insertions(+), 4 deletions(-)
602
603 commit 7b03a15cea8cd4f19ed680b51c4bcbae3ce4142f
604 Author: Lasse Collin <lasse.collin@tukaani.org>
605 Date:   2014-11-10 18:54:40 +0200
606
607     xzdiff: Use mkdir if mktemp isn't available.
608
609  src/scripts/xzdiff.in | 17 ++++++++++++++++-
610  1 file changed, 16 insertions(+), 1 deletion(-)
611
612 commit f8c13e5e3609581d5dd9f8777985ca07f2390ad7
613 Author: Lasse Collin <lasse.collin@tukaani.org>
614 Date:   2014-11-10 18:45:01 +0200
615
616     xzdiff: Create a temporary directory to hold a temporary file.
617     
618     This avoids the possibility of "File name too long" when
619     creating a temp file when the input file name is very long.
620     
621     This also means that other users on the system can no longer
622     see the input file names in /tmp (or whatever $TMPDIR is)
623     since the temporary directory will have a generic name. This
624     usually doesn't matter since on many systems one can see
625     the arguments given to all processes anyway.
626     
627     The number X chars to mktemp where increased from 6 to 10.
628     
629     Note that with some shells temp files or dirs won't be used at all.
630
631  src/scripts/xzdiff.in | 10 +++++-----
632  1 file changed, 5 insertions(+), 5 deletions(-)
633
634 commit 7716dcf9df7f457500cb657314e7a9aea5fedb06
635 Author: Lasse Collin <lasse.collin@tukaani.org>
636 Date:   2014-11-10 15:38:47 +0200
637
638     liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage().
639     
640     It read the filter chain from a wrong variable. This is a similar
641     bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e.
642
643  src/liblzma/common/stream_encoder_mt.c | 3 +--
644  1 file changed, 1 insertion(+), 2 deletions(-)
645
646 commit 230fa4a605542c84b4178a57381695a0af4e779b
647 Author: Lasse Collin <lasse.collin@tukaani.org>
648 Date:   2014-11-10 14:49:55 +0200
649
650     Update THANKS.
651
652  THANKS | 1 +
653  1 file changed, 1 insertion(+)
654
655 commit 4e4ae08bc7c1711e399c9f2d26eb375d39d08101
656 Author: Lasse Collin <lasse.collin@tukaani.org>
657 Date:   2014-10-29 21:28:25 +0200
658
659     Update .gitignore files.
660
661  .gitignore    | 2 ++
662  m4/.gitignore | 3 +++
663  2 files changed, 5 insertions(+)
664
665 commit c923b140b27d1a055db6284e10fd546ad1a7fcdb
666 Author: Lasse Collin <lasse.collin@tukaani.org>
667 Date:   2014-10-29 21:15:35 +0200
668
669     Build: Prepare to support Automake's subdir-objects.
670     
671     Due to a bug in Automake, subdir-objects won't be enabled
672     for now.
673     
674     http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354
675     
676     Thanks to Daniel Richard G. for the original patches.
677
678  configure.ac             |  7 ++++++-
679  src/Makefile.am          | 22 +++++++++++++++++++++-
680  src/liblzma/Makefile.am  |  4 ++--
681  src/lzmainfo/Makefile.am |  4 ++--
682  src/xz/Makefile.am       | 10 +++++-----
683  src/xzdec/Makefile.am    |  8 ++++----
684  6 files changed, 40 insertions(+), 15 deletions(-)
685
686 commit 08c2aa16bea0df82828f665d51fba2e0a5e8997f
687 Author: Lasse Collin <lasse.collin@tukaani.org>
688 Date:   2014-10-24 20:09:29 +0300
689
690     Translations: Update the Italian translation.
691     
692     Thanks to Milo Casagrande.
693
694  po/it.po | 452 ++++++++++++++++++++++++++++++++++++++-------------------------
695  1 file changed, 275 insertions(+), 177 deletions(-)
696
697 commit 2f9f61aa83539c54ff6c118a2693890f0519b3dd
698 Author: Lasse Collin <lasse.collin@tukaani.org>
699 Date:   2014-10-18 18:51:45 +0300
700
701     Translations: Update the Polish translation.
702     
703     Thanks to Jakub Bogusz.
704
705  po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++-----------------------
706  1 file changed, 214 insertions(+), 118 deletions(-)
707
708 commit 4f9d233f67aea25e532824d11b7642cf7dee7a76
709 Author: Andre Noll <maan@tuebingen.mpg.de>
710 Date:   2014-10-14 17:30:30 +0200
711
712     l10n: de.po: Change translator email address.
713     
714     Although the old address is still working, the new one should
715     be preferred. So this commit changes all three places in de.po
716     accordingly.
717     
718     Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>
719
720  po/de.po | 6 +++---
721  1 file changed, 3 insertions(+), 3 deletions(-)
722
723 commit 00502b2bedad43f0cc167ac17ae0608837ee196b
724 Author: Andre Noll <maan@tuebingen.mpg.de>
725 Date:   2014-10-14 17:30:29 +0200
726
727     l10n: de.po: Update German translation
728     
729     Signed-off-by: Andre Noll <maan@systemlinux.org>
730
731  po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------
732  1 file changed, 281 insertions(+), 250 deletions(-)
733
734 commit 706b0496753fb609e69f1570ec603f11162189d1
735 Author: Andre Noll <maan@tuebingen.mpg.de>
736 Date:   2014-10-14 17:30:28 +0200
737
738     l10n: de.po: Fix typo: Schießen -> Schließen.
739     
740     That's a funny one since "schießen" means to shoot :)
741     
742     Signed-off-by: Andre Noll <maan@systemlinux.org>
743
744  po/de.po | 2 +-
745  1 file changed, 1 insertion(+), 1 deletion(-)
746
747 commit 7c32e6a935c3d7ee366abad1679bd5f322f0c7d4
748 Author: Lasse Collin <lasse.collin@tukaani.org>
749 Date:   2014-10-09 19:42:26 +0300
750
751     Update THANKS.
752
753  THANKS | 1 +
754  1 file changed, 1 insertion(+)
755
756 commit 076258cc458f1e705041ac7a729b15ffe8c5214a
757 Author: Lasse Collin <lasse.collin@tukaani.org>
758 Date:   2014-10-09 19:41:51 +0300
759
760     Add support for AmigaOS/AROS to tuklib_physmem().
761     
762     Thanks to Fredrik Wikstrom.
763
764  m4/tuklib_physmem.m4        | 3 ++-
765  src/common/tuklib_physmem.c | 7 +++++++
766  2 files changed, 9 insertions(+), 1 deletion(-)
767
768 commit efa7b0a210e1baa8e128fc98c5443a944c39ad24
769 Author: Lasse Collin <lasse.collin@tukaani.org>
770 Date:   2014-10-09 18:42:14 +0300
771
772     xzgrep: Avoid passing both -q and -l to grep.
773     
774     The behavior of grep -ql varies:
775       - GNU grep behaves like grep -q.
776       - OpenBSD grep behaves like grep -l.
777     
778     POSIX doesn't make it 100 % clear what behavior is expected.
779     Anyway, using both -q and -l at the same time makes no sense
780     so both options simply should never be used at the same time.
781     
782     Thanks to Christian Weisgerber.
783
784  src/scripts/xzgrep.in | 6 ++++--
785  1 file changed, 4 insertions(+), 2 deletions(-)
786
787 commit 9c5f76098c9986b48d2fc574a0b764f4cde0c538
788 Author: Trần Ngọc Quân <vnwildman@gmail.com>
789 Date:   2014-09-25 09:22:45 +0700
790
791     l10n: vi.po: Update Vietnamese translation
792     
793     Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
794
795  po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------
796  1 file changed, 84 insertions(+), 52 deletions(-)
797
798 commit c4911f2db36d811896c73c008b4218d8fa9a4730
799 Author: Lasse Collin <lasse.collin@tukaani.org>
800 Date:   2014-09-25 18:38:48 +0300
801
802     Build: Detect supported compiler warning flags better.
803     
804     Clang and nowadays also GCC accept any -Wfoobar option
805     but then may give a warning that an unknown warning option
806     was specified. To avoid adding unsupported warning options,
807     the options are now tested with -Werror.
808     
809     Thanks to Charles Diza.
810
811  configure.ac | 5 +++--
812  1 file changed, 3 insertions(+), 2 deletions(-)
813
814 commit 76e75522ed6f5c228d55587dee5a997893f6e474
815 Author: Lasse Collin <lasse.collin@tukaani.org>
816 Date:   2014-09-20 21:01:21 +0300
817
818     Update NEWS for 5.0.7.
819
820  NEWS | 11 +++++++++++
821  1 file changed, 11 insertions(+)
822
823 commit d62028b4c1174fc67b6929f126f5eb24c018c700
824 Author: Lasse Collin <lasse.collin@tukaani.org>
825 Date:   2014-09-20 19:42:56 +0300
826
827     liblzma: Fix a portability problem in Makefile.am.
828     
829     POSIX supports $< only in inference rules (suffix rules).
830     Using it elsewhere is a GNU make extension and doesn't
831     work e.g. with OpenBSD make.
832     
833     Thanks to Christian Weisgerber for the patch.
834
835  src/liblzma/Makefile.am | 2 +-
836  1 file changed, 1 insertion(+), 1 deletion(-)
837
838 commit c35de31d4283edad3e57d37ffe939406542cb7bb
839 Author: Lasse Collin <lasse.collin@tukaani.org>
840 Date:   2014-09-14 21:54:09 +0300
841
842     Bump the version number to 5.1.4beta.
843
844  src/liblzma/api/lzma/version.h | 4 ++--
845  src/liblzma/liblzma.map        | 2 +-
846  2 files changed, 3 insertions(+), 3 deletions(-)
847
848 commit e9e097e22cacdaa23e5414fea7913535449cb340
849 Author: Lasse Collin <lasse.collin@tukaani.org>
850 Date:   2014-09-14 21:50:13 +0300
851
852     Update NEWS for 5.0.6 and 5.1.4beta.
853
854  NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
855  1 file changed, 50 insertions(+)
856
857 commit 642f856bb8562ab66704b1e01ac7bc08b6d0a663
858 Author: Lasse Collin <lasse.collin@tukaani.org>
859 Date:   2014-09-14 21:02:41 +0300
860
861     Update TODO.
862
863  TODO | 38 ++++++++++++++++++++++++++++++++++----
864  1 file changed, 34 insertions(+), 4 deletions(-)
865
866 commit 6b5e3b9eff5b8cedb2aac5f524d4d60fc8a48124
867 Author: Lasse Collin <lasse.collin@tukaani.org>
868 Date:   2014-08-05 22:32:36 +0300
869
870     xz: Add --ignore-check.
871
872  src/xz/args.c    |  7 +++++++
873  src/xz/args.h    |  1 +
874  src/xz/coder.c   | 10 +++++++++-
875  src/xz/message.c |  2 ++
876  src/xz/xz.1      | 19 +++++++++++++++++++
877  5 files changed, 38 insertions(+), 1 deletion(-)
878
879 commit 9adbc2ff373f979c917cdfd3679ce0ebd59f1040
880 Author: Lasse Collin <lasse.collin@tukaani.org>
881 Date:   2014-08-05 22:15:07 +0300
882
883     liblzma: Add support for LZMA_IGNORE_CHECK.
884
885  src/liblzma/api/lzma/container.h    | 24 ++++++++++++++++++++++++
886  src/liblzma/common/common.h         |  1 +
887  src/liblzma/common/stream_decoder.c | 14 ++++++++++++--
888  3 files changed, 37 insertions(+), 2 deletions(-)
889
890 commit 0e0f34b8e4f1c60ecaec15c2105982381cc9c3e6
891 Author: Lasse Collin <lasse.collin@tukaani.org>
892 Date:   2014-08-05 22:03:30 +0300
893
894     liblzma: Add support for lzma_block.ignore_check.
895     
896     Note that this slightly changes how lzma_block_header_decode()
897     has been documented. Earlier it said that the .version is set
898     to the lowest required value, but now it says that the .version
899     field is kept unchanged if possible. In practice this doesn't
900     affect any old code, because before this commit the only
901     possible .version was 0.
902
903  src/liblzma/api/lzma/block.h              | 50 ++++++++++++++++++++++++-------
904  src/liblzma/common/block_buffer_encoder.c |  2 +-
905  src/liblzma/common/block_decoder.c        | 18 ++++++++---
906  src/liblzma/common/block_encoder.c        |  2 +-
907  src/liblzma/common/block_header_decoder.c | 12 ++++++--
908  src/liblzma/common/block_header_encoder.c |  2 +-
909  src/liblzma/common/block_util.c           |  2 +-
910  7 files changed, 68 insertions(+), 20 deletions(-)
911
912 commit 71e1437ab585b46f7a25f5a131557d3d1c0cbaa2
913 Author: Lasse Collin <lasse.collin@tukaani.org>
914 Date:   2014-08-04 19:25:58 +0300
915
916     liblzma: Use lzma_memcmplen() in the BT3 match finder.
917     
918     I had missed this when writing the commit
919     5db75054e900fa06ef5ade5f2c21dffdd5d16141.
920     
921     Thanks to Jun I Jin.
922
923  src/liblzma/lz/lz_encoder_mf.c | 5 ++---
924  1 file changed, 2 insertions(+), 3 deletions(-)
925
926 commit 41dc9ea06e1414ebe8ef52afc8fc15b6e3282b04
927 Author: Lasse Collin <lasse.collin@tukaani.org>
928 Date:   2014-08-04 00:25:44 +0300
929
930     Update THANKS.
931
932  THANKS | 1 +
933  1 file changed, 1 insertion(+)
934
935 commit 5dcffdbcc23a68abc3ac3539b30be71bc9b5af84
936 Author: Lasse Collin <lasse.collin@tukaani.org>
937 Date:   2014-08-03 21:32:25 +0300
938
939     liblzma: SHA-256: Optimize the Maj macro slightly.
940     
941     The Maj macro is used where multiple things are added
942     together, so making Maj a sum of two expressions allows
943     some extra freedom for the compiler to schedule the
944     instructions.
945     
946     I learned this trick from
947     <http://www.hackersdelight.org/corres.txt>.
948
949  src/liblzma/check/sha256.c | 2 +-
950  1 file changed, 1 insertion(+), 1 deletion(-)
951
952 commit a9477d1e0c6fd0e47e637d051e7b9e2a5d9af517
953 Author: Lasse Collin <lasse.collin@tukaani.org>
954 Date:   2014-08-03 21:08:12 +0300
955
956     liblzma: SHA-256: Optimize the way rotations are done.
957     
958     This looks weird because the rotations become sequential,
959     but it helps quite a bit on both 32-bit and 64-bit x86:
960     
961       - It requires fewer instructions on two-operand
962         instruction sets like x86.
963     
964       - It requires one register less which matters especially
965         on 32-bit x86.
966     
967     I hope this doesn't hurt other archs.
968     
969     I didn't invent this idea myself, but I don't remember where
970     I saw it first.
971
972  src/liblzma/check/sha256.c | 17 +++++++++++------
973  1 file changed, 11 insertions(+), 6 deletions(-)
974
975 commit 5a76c7c8ee9a0afbeedb1c211db9224260404347
976 Author: Lasse Collin <lasse.collin@tukaani.org>
977 Date:   2014-08-03 20:38:13 +0300
978
979     liblzma: SHA-256: Remove the GCC #pragma that became unneeded.
980     
981     The unrolling in the previous commit should avoid the
982     situation where a compiler may think that an uninitialized
983     variable might be accessed.
984
985  src/liblzma/check/sha256.c | 5 -----
986  1 file changed, 5 deletions(-)
987
988 commit 9a096f8e57509775c331950b8351bbca77bdcfa8
989 Author: Lasse Collin <lasse.collin@tukaani.org>
990 Date:   2014-08-03 20:33:38 +0300
991
992     liblzma: SHA-256: Unroll a little more.
993     
994     This way a branch isn't needed for each operation
995     to choose between blk0 and blk2, and still the code
996     doesn't grow as much as it would with full unrolling.
997
998  src/liblzma/check/sha256.c | 25 ++++++++++++++++---------
999  1 file changed, 16 insertions(+), 9 deletions(-)
1000
1001 commit bc7650d87bf27f85f1a2a806dc2db1780e09e6a5
1002 Author: Lasse Collin <lasse.collin@tukaani.org>
1003 Date:   2014-08-03 19:56:43 +0300
1004
1005     liblzma: SHA-256: Do the byteswapping without a temporary buffer.
1006
1007  src/liblzma/check/sha256.c | 13 +------------
1008  1 file changed, 1 insertion(+), 12 deletions(-)
1009
1010 commit 544aaa3d13554e8640f9caf7db717a96360ec0f6
1011 Author: Lasse Collin <lasse.collin@tukaani.org>
1012 Date:   2014-07-25 22:38:28 +0300
1013
1014     liblzma: Use lzma_memcmplen() in normal mode of LZMA.
1015     
1016     Two locations were not changed yet because the simplest change
1017     assumes that the initial "len" may be greater than "limit".
1018
1019  src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++---------------
1020  1 file changed, 5 insertions(+), 15 deletions(-)
1021
1022 commit f48fce093b07aeda95c18850f5e086d9f2383380
1023 Author: Lasse Collin <lasse.collin@tukaani.org>
1024 Date:   2014-07-25 22:30:38 +0300
1025
1026     liblzma: Simplify LZMA fast mode code by using memcmp().
1027
1028  src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +----------
1029  1 file changed, 1 insertion(+), 10 deletions(-)
1030
1031 commit 6bf5308e34e23dede5b301b1b9b4f131dacd9218
1032 Author: Lasse Collin <lasse.collin@tukaani.org>
1033 Date:   2014-07-25 22:29:49 +0300
1034
1035     liblzma: Use lzma_memcmplen() in fast mode of LZMA.
1036
1037  src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++---
1038  1 file changed, 3 insertions(+), 3 deletions(-)
1039
1040 commit 353212137e51e45b105a3a3fc2e6879f1cf0d492
1041 Author: Lasse Collin <lasse.collin@tukaani.org>
1042 Date:   2014-07-25 21:16:23 +0300
1043
1044     Update THANKS.
1045
1046  THANKS | 1 +
1047  1 file changed, 1 insertion(+)
1048
1049 commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141
1050 Author: Lasse Collin <lasse.collin@tukaani.org>
1051 Date:   2014-07-25 21:15:07 +0300
1052
1053     liblzma: Use lzma_memcmplen() in the match finders.
1054     
1055     This doesn't change the match finder output.
1056
1057  src/liblzma/lz/lz_encoder.c    | 13 ++++++++++++-
1058  src/liblzma/lz/lz_encoder_mf.c | 33 +++++++++++----------------------
1059  2 files changed, 23 insertions(+), 23 deletions(-)
1060
1061 commit e1c8f1d01f4a4e2136173edab2dc63c71ef038f4
1062 Author: Lasse Collin <lasse.collin@tukaani.org>
1063 Date:   2014-07-25 20:57:20 +0300
1064
1065     liblzma: Add lzma_memcmplen() for fast memory comparison.
1066     
1067     This commit just adds the function. Its uses will be in
1068     separate commits.
1069     
1070     This hasn't been tested much yet and it's perhaps a bit early
1071     to commit it but if there are bugs they should get found quite
1072     quickly.
1073     
1074     Thanks to Jun I Jin from Intel for help and for pointing out
1075     that string comparison needs to be optimized in liblzma.
1076
1077  configure.ac                    |  13 +++
1078  src/liblzma/common/Makefile.inc |   1 +
1079  src/liblzma/common/memcmplen.h  | 170 ++++++++++++++++++++++++++++++++++++++++
1080  3 files changed, 184 insertions(+)
1081
1082 commit 765735cf52e5123586e74a51b9c073b5257f631f
1083 Author: Lasse Collin <lasse.collin@tukaani.org>
1084 Date:   2014-07-12 21:10:09 +0300
1085
1086     Update THANKS.
1087
1088  THANKS | 1 +
1089  1 file changed, 1 insertion(+)
1090
1091 commit 59da01785ef66c7e62f36e70ca808fd2824bb995
1092 Author: Lasse Collin <lasse.collin@tukaani.org>
1093 Date:   2014-07-12 20:06:08 +0300
1094
1095     Translations: Add Vietnamese translation.
1096     
1097     Thanks to Trần Ngọc Quân.
1098
1099  po/LINGUAS |    1 +
1100  po/vi.po   | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1101  2 files changed, 1008 insertions(+)
1102
1103 commit 17215f751c354852700e7f8592ccf319570a0721
1104 Author: Lasse Collin <lasse.collin@tukaani.org>
1105 Date:   2014-06-29 20:54:14 +0300
1106
1107     xz: Update the help message of a few options.
1108     
1109     Updated: --threads, --block-size, and --block-list
1110     Added: --flush-timeout
1111
1112  src/xz/message.c | 18 +++++++++++-------
1113  1 file changed, 11 insertions(+), 7 deletions(-)
1114
1115 commit 96864a6ddf91ad693d102ea165f3d7918744d582
1116 Author: Lasse Collin <lasse.collin@tukaani.org>
1117 Date:   2014-06-18 22:07:06 +0300
1118
1119     xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores().
1120
1121  src/xz/Makefile.am |  1 -
1122  src/xz/hardware.c  | 12 +++++++++---
1123  2 files changed, 9 insertions(+), 4 deletions(-)
1124
1125 commit a115cc3748482e277f42a968baa3cd266f031dba
1126 Author: Lasse Collin <lasse.collin@tukaani.org>
1127 Date:   2014-06-18 22:04:24 +0300
1128
1129     liblzma: Add lzma_cputhreads().
1130
1131  src/liblzma/Makefile.am                  |  8 +++++++-
1132  src/liblzma/api/lzma/hardware.h          | 14 ++++++++++++++
1133  src/liblzma/common/Makefile.inc          |  1 +
1134  src/liblzma/common/hardware_cputhreads.c | 22 ++++++++++++++++++++++
1135  src/liblzma/liblzma.map                  |  1 +
1136  5 files changed, 45 insertions(+), 1 deletion(-)
1137
1138 commit 3ce3e7976904fbab4e6482bafa442856f77a51fa
1139 Author: Lasse Collin <lasse.collin@tukaani.org>
1140 Date:   2014-06-18 19:11:52 +0300
1141
1142     xz: Check for filter chain compatibility for --flush-timeout.
1143     
1144     This avoids LZMA_PROG_ERROR from lzma_code() with filter chains
1145     that don't support LZMA_SYNC_FLUSH.
1146
1147  src/xz/coder.c | 30 +++++++++++++++++++++---------
1148  1 file changed, 21 insertions(+), 9 deletions(-)
1149
1150 commit 381ac14ed79e5d38809f251705be8b3193bba417
1151 Author: Lasse Collin <lasse.collin@tukaani.org>
1152 Date:   2014-06-13 19:21:54 +0300
1153
1154     xzgrep: List xzgrep_expected_output in tests/Makefile.am.
1155
1156  tests/Makefile.am | 3 ++-
1157  1 file changed, 2 insertions(+), 1 deletion(-)
1158
1159 commit 4244b65b06d5ecaf6f9dd0387ac7e3166bd2364e
1160 Author: Lasse Collin <lasse.collin@tukaani.org>
1161 Date:   2014-06-13 18:58:22 +0300
1162
1163     xzgrep: Improve the test script.
1164     
1165     Now it should be close to the functionality of the original
1166     version by Pavel Raiskup.
1167
1168  tests/Makefile.am            |  3 ++-
1169  tests/test_scripts.sh        | 24 ++++++++++++++----------
1170  tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++
1171  3 files changed, 55 insertions(+), 11 deletions(-)
1172
1173 commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26
1174 Author: Lasse Collin <lasse.collin@tukaani.org>
1175 Date:   2014-06-11 21:03:25 +0300
1176
1177     xzgrep: Add a test for the previous fix.
1178     
1179     This is a simplified version of Pavel Raiskup's
1180     original patch.
1181
1182  tests/test_scripts.sh | 26 ++++++++++++++++++++++----
1183  1 file changed, 22 insertions(+), 4 deletions(-)
1184
1185 commit ceca37901783988204caaf40dff4623d535cc789
1186 Author: Lasse Collin <lasse.collin@tukaani.org>
1187 Date:   2014-06-11 20:43:28 +0300
1188
1189     xzgrep: exit 0 when at least one file matches.
1190     
1191     Mimic the original grep behavior and return exit_success when
1192     at least one xz compressed file matches given pattern.
1193     
1194     Original bugreport:
1195     https://bugzilla.redhat.com/show_bug.cgi?id=1108085
1196     
1197     Thanks to Pavel Raiskup for the patch.
1198
1199  src/scripts/xzgrep.in | 15 +++++++++++++--
1200  1 file changed, 13 insertions(+), 2 deletions(-)
1201
1202 commit 8c19216baccb92d011694590df8a1262da2e980c
1203 Author: Lasse Collin <lasse.collin@tukaani.org>
1204 Date:   2014-06-09 21:21:24 +0300
1205
1206     xz: Force single-threaded mode when --flush-timeout is used.
1207
1208  src/xz/coder.c | 11 +++++++++++
1209  1 file changed, 11 insertions(+)
1210
1211 commit 87f1a24810805187d7bbc8ac5512e7eec307ddf5
1212 Author: Lasse Collin <lasse.collin@tukaani.org>
1213 Date:   2014-05-25 22:05:39 +0300
1214
1215     Update THANKS.
1216
1217  THANKS | 1 +
1218  1 file changed, 1 insertion(+)
1219
1220 commit da1718f266fcfc091e7bf08aae1bc986d0e6cc6b
1221 Author: Lasse Collin <lasse.collin@tukaani.org>
1222 Date:   2014-05-25 21:45:56 +0300
1223
1224     liblzma: Use lzma_alloc_zero() in LZ encoder initialization.
1225     
1226     This avoids a memzero() call for a newly-allocated memory,
1227     which can be expensive when encoding small streams with
1228     an over-sized dictionary.
1229     
1230     To avoid using lzma_alloc_zero() for memory that doesn't
1231     need to be zeroed, lzma_mf.son is now allocated separately,
1232     which requires handling it separately in normalize() too.
1233     
1234     Thanks to Vincenzo Innocente for reporting the problem.
1235
1236  src/liblzma/lz/lz_encoder.c    | 84 ++++++++++++++++++++++--------------------
1237  src/liblzma/lz/lz_encoder.h    |  2 +-
1238  src/liblzma/lz/lz_encoder_mf.c | 31 +++++++++-------
1239  3 files changed, 62 insertions(+), 55 deletions(-)
1240
1241 commit 28af24e9cf2eb259997c85dce13d4c97b3daa47a
1242 Author: Lasse Collin <lasse.collin@tukaani.org>
1243 Date:   2014-05-25 19:25:57 +0300
1244
1245     liblzma: Add the internal function lzma_alloc_zero().
1246
1247  src/liblzma/common/common.c | 21 +++++++++++++++++++++
1248  src/liblzma/common/common.h |  6 ++++++
1249  2 files changed, 27 insertions(+)
1250
1251 commit ed9ac85822c490e34b68c259afa0b385d21d1c40
1252 Author: Lasse Collin <lasse.collin@tukaani.org>
1253 Date:   2014-05-08 18:03:09 +0300
1254
1255     xz: Fix uint64_t vs. size_t which broke 32-bit build.
1256     
1257     Thanks to Christian Hesse.
1258
1259  src/xz/coder.c | 2 +-
1260  1 file changed, 1 insertion(+), 1 deletion(-)
1261
1262 commit d716acdae3fa7996f9e68a7bac012e6d8d13dd02
1263 Author: Lasse Collin <lasse.collin@tukaani.org>
1264 Date:   2014-05-04 11:09:11 +0300
1265
1266     Docs: Update comments to refer to lzma/lzma12.h in example programs.
1267
1268  doc/examples/03_compress_custom.c | 6 +++---
1269  1 file changed, 3 insertions(+), 3 deletions(-)
1270
1271 commit 4d5b7b3fda31241ca86ed35e08e73f776ee916e0
1272 Author: Lasse Collin <lasse.collin@tukaani.org>
1273 Date:   2014-05-04 11:07:17 +0300
1274
1275     liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h.
1276     
1277     It can be confusing that two header files have the same name.
1278     The public API file is still lzma.h.
1279
1280  src/liblzma/api/Makefile.am   |   2 +-
1281  src/liblzma/api/lzma.h        |   2 +-
1282  src/liblzma/api/lzma/lzma.h   | 420 ------------------------------------------
1283  src/liblzma/api/lzma/lzma12.h | 420 ++++++++++++++++++++++++++++++++++++++++++
1284  4 files changed, 422 insertions(+), 422 deletions(-)
1285
1286 commit 1555a9c5664afc7893a2b75e9970105437f01ef1
1287 Author: Lasse Collin <lasse.collin@tukaani.org>
1288 Date:   2014-04-25 17:53:42 +0300
1289
1290     Build: Fix the combination of --disable-xzdec --enable-lzmadec.
1291     
1292     In this case "make install" could fail if the man page directory
1293     didn't already exist at the destination. If it did exist, a
1294     dangling symlink was created there. Now the link is omitted
1295     instead. This isn't the best fix but it's better than the old
1296     behavior.
1297
1298  src/xzdec/Makefile.am | 10 +++++++++-
1299  1 file changed, 9 insertions(+), 1 deletion(-)
1300
1301 commit 56056571df3377eaa6ae6233b3ccc5d72e81d43d
1302 Author: Lasse Collin <lasse.collin@tukaani.org>
1303 Date:   2014-04-25 17:44:26 +0300
1304
1305     Build: Add --disable-doc to configure.
1306
1307  INSTALL      | 6 ++++++
1308  Makefile.am  | 2 ++
1309  configure.ac | 6 ++++++
1310  3 files changed, 14 insertions(+)
1311
1312 commit 6de61d8721097a6214810841aa85b08e303ac538
1313 Author: Lasse Collin <lasse.collin@tukaani.org>
1314 Date:   2014-04-24 18:06:24 +0300
1315
1316     Update INSTALL.
1317     
1318     Add a note about failing "make check". The source of
1319     the problem should be fixed in libtool (if it really is
1320     a libtool bug and not mine) but I'm unable to spend time
1321     on that for now. Thanks to Nelson H. F. Beebe for reporting
1322     the issue.
1323     
1324     Add a note about a possible need to run "ldconfig" after
1325     "make install".
1326
1327  INSTALL | 25 +++++++++++++++++++++++++
1328  1 file changed, 25 insertions(+)
1329
1330 commit 54df428799a8d853639b753d0e6784694d73eb3e
1331 Author: Lasse Collin <lasse.collin@tukaani.org>
1332 Date:   2014-04-09 17:26:10 +0300
1333
1334     xz: Rename a variable to avoid a namespace collision on Solaris.
1335     
1336     I don't know the details but I have an impression that there's
1337     no problem in practice if using GCC since people have built xz
1338     with GCC (without patching xz), but renaming the variable cannot
1339     hurt either.
1340     
1341     Thanks to Mark Ashley.
1342
1343  src/xz/signals.c | 12 +++++++-----
1344  1 file changed, 7 insertions(+), 5 deletions(-)
1345
1346 commit 5876ca27daa1429676b1160007d9688266907f00
1347 Author: Lasse Collin <lasse.collin@tukaani.org>
1348 Date:   2014-01-29 20:19:41 +0200
1349
1350     Docs: Add example program for threaded encoding.
1351     
1352     I didn't add -DLZMA_UNSTABLE to Makefile so one has to
1353     specify it manually as long as LZMA_UNSTABLE is needed.
1354
1355  doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++
1356  doc/examples/Makefile              |   3 +-
1357  2 files changed, 186 insertions(+), 1 deletion(-)
1358
1359 commit 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e
1360 Author: Lasse Collin <lasse.collin@tukaani.org>
1361 Date:   2014-01-29 20:13:51 +0200
1362
1363     liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt().
1364     
1365     It read the filter chain from a wrong variable.
1366
1367  src/liblzma/common/stream_encoder_mt.c | 4 ++--
1368  1 file changed, 2 insertions(+), 2 deletions(-)
1369
1370 commit 673a4cb53de3a715685cb1b836da57a3c7dcd43c
1371 Author: Lasse Collin <lasse.collin@tukaani.org>
1372 Date:   2014-01-20 11:20:40 +0200
1373
1374     liblzma: Fix typo in a comment.
1375
1376  src/liblzma/api/lzma/block.h | 2 +-
1377  1 file changed, 1 insertion(+), 1 deletion(-)
1378
1379 commit ad96a871a1470eb76d6233d3890ce9338047b7a3
1380 Author: Lasse Collin <lasse.collin@tukaani.org>
1381 Date:   2014-01-12 19:38:43 +0200
1382
1383     Windows: Add config.h for building liblzma with MSVC 2013.
1384     
1385     This is for building liblzma. Building xz tool too requires
1386     a little more work. Maybe it will be supported, but for most
1387     MSVC users it's enough to be able to build liblzma.
1388     
1389     C99 support in MSVC 2013 is almost usable which is a big
1390     improvement over earlier versions. It's "almost" because
1391     there's a dumb bug that breaks mixed declarations after
1392     an "if" statements unless the "if" statement uses braces:
1393     
1394     https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug
1395     https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs
1396     
1397     Hopefully it will get fixed. Then liblzma should be
1398     compilable with MSVC 2013 without patching.
1399
1400  windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1401  1 file changed, 139 insertions(+)
1402
1403 commit 3d5c090872fab4212b57c290e8ed4d02c78c1737
1404 Author: Lasse Collin <lasse.collin@tukaani.org>
1405 Date:   2014-01-12 17:41:14 +0200
1406
1407     xz: Fix a comment.
1408
1409  src/xz/coder.c | 4 ++--
1410  1 file changed, 2 insertions(+), 2 deletions(-)
1411
1412 commit 69fd4e1c932c7975476a0143c86e45d81b60d3f9
1413 Author: Lasse Collin <lasse.collin@tukaani.org>
1414 Date:   2014-01-12 17:04:33 +0200
1415
1416     Windows: Add MSVC defines for inline and restrict keywords.
1417
1418  src/common/sysdefs.h | 10 ++++++++++
1419  1 file changed, 10 insertions(+)
1420
1421 commit a19d9e8575ee6647cd9154cf1f20203f1330485f
1422 Author: Lasse Collin <lasse.collin@tukaani.org>
1423 Date:   2014-01-12 16:44:52 +0200
1424
1425     liblzma: Avoid C99 compound literal arrays.
1426     
1427     MSVC 2013 doesn't like them. Maybe they aren't so good
1428     for readability either since many aren't used to them.
1429
1430  src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++---
1431  1 file changed, 5 insertions(+), 3 deletions(-)
1432
1433 commit e28528f1c867b2ed4ac91195ad08efb9bb8a6263
1434 Author: Lasse Collin <lasse.collin@tukaani.org>
1435 Date:   2014-01-12 12:50:30 +0200
1436
1437     liblzma: Remove a useless C99ism from sha256.c.
1438     
1439     Unsurprisingly it makes no difference in compiled output.
1440
1441  src/liblzma/check/sha256.c | 2 +-
1442  1 file changed, 1 insertion(+), 1 deletion(-)
1443
1444 commit 5ad1effc45adfb7dabc9a98e79736077e6b7e2d5
1445 Author: Lasse Collin <lasse.collin@tukaani.org>
1446 Date:   2014-01-12 12:17:08 +0200
1447
1448     xz: Fix use of wrong variable.
1449     
1450     Since the only call to suffix_set() uses optarg
1451     as the argument, fixing this bug doesn't change
1452     the behavior of the program.
1453
1454  src/xz/suffix.c | 2 +-
1455  1 file changed, 1 insertion(+), 1 deletion(-)
1456
1457 commit 3e62c68d75b5a3fdd46dbb34bb335d73289860d5
1458 Author: Lasse Collin <lasse.collin@tukaani.org>
1459 Date:   2014-01-12 12:11:36 +0200
1460
1461     Fix typos in comments.
1462
1463  src/common/mythread.h          | 2 +-
1464  src/liblzma/check/crc32_fast.c | 2 +-
1465  2 files changed, 2 insertions(+), 2 deletions(-)
1466
1467 commit e90ea601fb72867ec04adf456cbe4bf9520fd412
1468 Author: Lasse Collin <lasse.collin@tukaani.org>
1469 Date:   2013-11-26 18:20:16 +0200
1470
1471     Update THANKS.
1472
1473  THANKS | 1 +
1474  1 file changed, 1 insertion(+)
1475
1476 commit b22e94d8d15764416354e04729382a7371ae2c30
1477 Author: Lasse Collin <lasse.collin@tukaani.org>
1478 Date:   2013-11-26 18:20:09 +0200
1479
1480     liblzma: Document the need for block->check for lzma_block_header_decode().
1481     
1482     Thanks to Tomer Chachamu.
1483
1484  src/liblzma/api/lzma/block.h | 3 +++
1485  1 file changed, 3 insertions(+)
1486
1487 commit d1cd8b1cb824b72421d1ee370e628024d2fcbec4
1488 Author: Lasse Collin <lasse.collin@tukaani.org>
1489 Date:   2013-11-12 16:38:57 +0200
1490
1491     xz: Update the man page about --block-size and --block-list.
1492
1493  src/xz/xz.1 | 24 +++++++++++++++---------
1494  1 file changed, 15 insertions(+), 9 deletions(-)
1495
1496 commit 76be7c612e6bcc38724488ccc3b8bcb1cfec9f0a
1497 Author: Lasse Collin <lasse.collin@tukaani.org>
1498 Date:   2013-11-12 16:30:53 +0200
1499
1500     Update THANKS.
1501
1502  THANKS | 1 +
1503  1 file changed, 1 insertion(+)
1504
1505 commit dd750acbe2259d75444ef0f8da2d4bacc90d7afc
1506 Author: Lasse Collin <lasse.collin@tukaani.org>
1507 Date:   2013-11-12 16:29:48 +0200
1508
1509     xz: Make --block-list and --block-size work together in single-threaded.
1510     
1511     Previously, --block-list and --block-size only worked together
1512     in threaded mode. Boundaries are specified by --block-list, but
1513     --block-size specifies the maximum size for a Block. Now this
1514     works in single-threaded mode too.
1515     
1516     Thanks to James M Leddy for the original patch.
1517
1518  src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++----------
1519  1 file changed, 75 insertions(+), 15 deletions(-)
1520
1521 commit ae222fe9805d0161d022d75ba8485dab8bf6d7d5
1522 Author: Lasse Collin <lasse.collin@tukaani.org>
1523 Date:   2013-10-26 13:26:14 +0300
1524
1525     Bump the version number to 5.1.3alpha.
1526
1527  src/liblzma/api/lzma/version.h | 2 +-
1528  src/liblzma/liblzma.map        | 2 +-
1529  2 files changed, 2 insertions(+), 2 deletions(-)
1530
1531 commit 2193837a6a597cd3bf4e9ddf49421a5697d8e155
1532 Author: Lasse Collin <lasse.collin@tukaani.org>
1533 Date:   2013-10-26 13:25:02 +0300
1534
1535     Update NEWS for 5.1.3alpha.
1536
1537  NEWS | 35 +++++++++++++++++++++++++++++++++++
1538  1 file changed, 35 insertions(+)
1539
1540 commit ed48e75e2763876173aef8902da407a8eb28854b
1541 Author: Lasse Collin <lasse.collin@tukaani.org>
1542 Date:   2013-10-26 12:47:04 +0300
1543
1544     Update TODO.
1545
1546  TODO | 4 ----
1547  1 file changed, 4 deletions(-)
1548
1549 commit 841da0352d79a56a44796a4c39163429c9f039a3
1550 Author: Lasse Collin <lasse.collin@tukaani.org>
1551 Date:   2013-10-25 22:41:28 +0300
1552
1553     xz: Document behavior of --block-list with threads.
1554     
1555     This needs to be updated before 5.2.0.
1556
1557  src/xz/xz.1 | 24 +++++++++++++++++++++---
1558  1 file changed, 21 insertions(+), 3 deletions(-)
1559
1560 commit 56feb8665b78c1032aabd53c619c62af51defe64
1561 Author: Lasse Collin <lasse.collin@tukaani.org>
1562 Date:   2013-10-22 20:03:12 +0300
1563
1564     xz: Document --flush-timeout=TIMEOUT on the man page.
1565
1566  src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++-
1567  1 file changed, 36 insertions(+), 1 deletion(-)
1568
1569 commit ba413da1d5bb3324287cf3174922acd921165971
1570 Author: Lasse Collin <lasse.collin@tukaani.org>
1571 Date:   2013-10-22 19:51:55 +0300
1572
1573     xz: Take advantage of LZMA_FULL_BARRIER with --block-list.
1574     
1575     Now if --block-list is used in threaded mode, the encoder
1576     won't need to flush at each Block boundary specified via
1577     --block-list. This improves performance a lot, making
1578     threading helpful with --block-list.
1579     
1580     The flush timer was reset after LZMA_FULL_FLUSH but since
1581     LZMA_FULL_BARRIER doesn't flush, resetting the timer is
1582     no longer done.
1583
1584  src/xz/coder.c | 32 +++++++++++++++-----------------
1585  1 file changed, 15 insertions(+), 17 deletions(-)
1586
1587 commit 0cd45fc2bc5537de287a0bc005e2d67467a92148
1588 Author: Lasse Collin <lasse.collin@tukaani.org>
1589 Date:   2013-10-02 20:05:23 +0300
1590
1591     liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder.
1592     
1593     Now --block-list=SIZES works with in the threaded mode too,
1594     although the performance is still bad due to the use of
1595     LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER.
1596
1597  src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++----------
1598  1 file changed, 39 insertions(+), 16 deletions(-)
1599
1600 commit 97bb38712f414fabecca908af2e38a12570293fd
1601 Author: Lasse Collin <lasse.collin@tukaani.org>
1602 Date:   2013-10-02 12:55:11 +0300
1603
1604     liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder.
1605     
1606     In the single-threaded encoder LZMA_FULL_BARRIER is simply
1607     an alias for LZMA_FULL_FLUSH.
1608
1609  src/liblzma/api/lzma/base.h         | 37 ++++++++++++++++++++++++++++++-------
1610  src/liblzma/common/common.c         | 17 +++++++++++++++--
1611  src/liblzma/common/common.h         |  7 ++++++-
1612  src/liblzma/common/stream_encoder.c |  4 +++-
1613  4 files changed, 54 insertions(+), 11 deletions(-)
1614
1615 commit fef0c6b410c08e581c9178700a4e7599f0895ff9
1616 Author: Lasse Collin <lasse.collin@tukaani.org>
1617 Date:   2013-09-17 11:57:51 +0300
1618
1619     liblzma: Add block_buffer_encoder.h into Makefile.inc.
1620     
1621     This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc.
1622
1623  src/liblzma/common/Makefile.inc | 1 +
1624  1 file changed, 1 insertion(+)
1625
1626 commit 8083e03291b6d21c0f538163e187b4e8cd5594e4
1627 Author: Lasse Collin <lasse.collin@tukaani.org>
1628 Date:   2013-09-17 11:55:38 +0300
1629
1630     xz: Add a missing test for TUKLIB_DOSLIKE.
1631
1632  src/xz/file_io.c | 2 ++
1633  1 file changed, 2 insertions(+)
1634
1635 commit 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0
1636 Author: Lasse Collin <lasse.collin@tukaani.org>
1637 Date:   2013-09-17 11:52:28 +0300
1638
1639     Add native threading support on Windows.
1640     
1641     Now liblzma only uses "mythread" functions and types
1642     which are defined in mythread.h matching the desired
1643     threading method.
1644     
1645     Before Windows Vista, there is no direct equivalent to
1646     pthread condition variables. Since this package doesn't
1647     use pthread_cond_broadcast(), pre-Vista threading can
1648     still be kept quite simple. The pre-Vista code doesn't
1649     use anything that wasn't already available in Windows 95,
1650     so the binaries should run even on Windows 95 if someone
1651     happens to care.
1652
1653  INSTALL                                |  41 ++-
1654  configure.ac                           | 118 ++++++--
1655  src/common/mythread.h                  | 513 ++++++++++++++++++++++++++-------
1656  src/liblzma/common/stream_encoder_mt.c |  83 +++---
1657  src/xz/coder.c                         |   8 +-
1658  windows/README-Windows.txt             |   2 +-
1659  windows/build.bash                     |  23 +-
1660  7 files changed, 573 insertions(+), 215 deletions(-)
1661
1662 commit ae0ab74a88d5b9b15845f1d9a24ade4349a54f9f
1663 Author: Lasse Collin <lasse.collin@tukaani.org>
1664 Date:   2013-09-11 14:40:35 +0300
1665
1666     Build: Remove a comment about Automake 1.10 from configure.ac.
1667     
1668     The previous commit supports silent rules and that requires
1669     Automake 1.11.
1670
1671  configure.ac | 2 --
1672  1 file changed, 2 deletions(-)
1673
1674 commit 72975df6c8c59aaf849138ab3606e8fb6970596a
1675 Author: Lasse Collin <lasse.collin@tukaani.org>
1676 Date:   2013-09-09 20:37:03 +0300
1677
1678     Build: Create liblzma.pc in a src/liblzma/Makefile.am.
1679     
1680     Previously it was done in configure, but doing that goes
1681     against the Autoconf manual. Autoconf requires that it is
1682     possible to override e.g. prefix after running configure
1683     and that doesn't work correctly if liblzma.pc is created
1684     by configure.
1685     
1686     A potential downside of this change is that now e.g.
1687     libdir in liblzma.pc is a standalone string instead of
1688     being defined via ${prefix}, so if one overrides prefix
1689     when running pkg-config the libdir won't get the new value.
1690     I don't know if this matters in practice.
1691     
1692     Thanks to Vincent Torri.
1693
1694  configure.ac            |  1 -
1695  src/liblzma/Makefile.am | 20 ++++++++++++++++++++
1696  2 files changed, 20 insertions(+), 1 deletion(-)
1697
1698 commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc
1699 Author: Lasse Collin <lasse.collin@tukaani.org>
1700 Date:   2013-08-04 15:24:09 +0300
1701
1702     Fix the previous commit which broke the build.
1703     
1704     Apparently I didn't even compile-test the previous commit.
1705     
1706     Thanks to Christian Hesse.
1707
1708  src/common/tuklib_cpucores.c | 2 +-
1709  1 file changed, 1 insertion(+), 1 deletion(-)
1710
1711 commit 124eb69c7857f618b4807588c51bc9ba21bf8691
1712 Author: Lasse Collin <lasse.collin@tukaani.org>
1713 Date:   2013-08-03 13:52:58 +0300
1714
1715     Windows: Add Windows support to tuklib_cpucores().
1716     
1717     It is used for Cygwin too. I'm not sure if that is
1718     a good or bad idea.
1719     
1720     Thanks to Vincent Torri.
1721
1722  m4/tuklib_cpucores.m4        | 19 +++++++++++++++++--
1723  src/common/tuklib_cpucores.c | 13 ++++++++++++-
1724  2 files changed, 29 insertions(+), 3 deletions(-)
1725
1726 commit eada8a875ce3fd521cb42e4ace2624d3d49c5f35
1727 Author: Anders F Bjorklund <afb@users.sourceforge.net>
1728 Date:   2013-08-02 15:59:46 +0200
1729
1730     macosx: separate liblzma package
1731
1732  macosx/build.sh | 23 +++++++++++++++--------
1733  1 file changed, 15 insertions(+), 8 deletions(-)
1734
1735 commit be0100d01ca6a75899d051bee00acf17e6dc0c15
1736 Author: Anders F Bjorklund <afb@users.sourceforge.net>
1737 Date:   2013-08-02 15:58:44 +0200
1738
1739     macosx: set minimum to leopard
1740
1741  macosx/build.sh | 13 ++++++++-----
1742  1 file changed, 8 insertions(+), 5 deletions(-)
1743
1744 commit 416729e2d743f4b2fe9fd438eedeb98adce033c3
1745 Author: Anders F Bjorklund <afb@users.sourceforge.net>
1746 Date:   2011-08-07 13:13:30 +0200
1747
1748     move configurables into variables
1749
1750  macosx/build.sh | 25 ++++++++++++++++++-------
1751  1 file changed, 18 insertions(+), 7 deletions(-)
1752
1753 commit 16581080e5f29f9a4e49efece21c5bf572323acc
1754 Author: Lasse Collin <lasse.collin@tukaani.org>
1755 Date:   2013-07-15 14:08:41 +0300
1756
1757     Update THANKS.
1758
1759  THANKS | 1 +
1760  1 file changed, 1 insertion(+)
1761
1762 commit 3e2b198ba37b624efd9c7caee2a435dc986b46c6
1763 Author: Lasse Collin <lasse.collin@tukaani.org>
1764 Date:   2013-07-15 14:08:02 +0300
1765
1766     Build: Fix the detection of missing CRC32.
1767     
1768     Thanks to Vincent Torri.
1769
1770  configure.ac | 2 +-
1771  1 file changed, 1 insertion(+), 1 deletion(-)
1772
1773 commit dee6ad3d5915422bc30a6821efeacaeb8ca8ef00
1774 Author: Lasse Collin <lasse.collin@tukaani.org>
1775 Date:   2013-07-04 14:18:46 +0300
1776
1777     xz: Add preliminary support for --flush-timeout=TIMEOUT.
1778     
1779     When --flush-timeout=TIMEOUT is used, xz will use
1780     LZMA_SYNC_FLUSH if read() would block and at least
1781     TIMEOUT milliseconds has elapsed since the previous flush.
1782     
1783     This can be useful in realtime-like use cases where the
1784     data is simultanously decompressed by another process
1785     (possibly on a different computer). If new uncompressed
1786     input data is produced slowly, without this option xz could
1787     buffer the data for a long time until it would become
1788     decompressible from the output.
1789     
1790     If TIMEOUT is 0, the feature is disabled. This is the default.
1791     
1792     This commit affects the compression side. Using xz for
1793     the decompression side for the above purpose doesn't work
1794     yet so well because there is quite a bit of input and
1795     output buffering when decompressing.
1796     
1797     The --long-help or man page were not updated yet.
1798     The details of this feature may change.
1799
1800  src/xz/args.c    |  7 +++++++
1801  src/xz/coder.c   | 46 +++++++++++++++++++++++++++++++++++-----------
1802  src/xz/file_io.c | 46 ++++++++++++++++++++++++++++++++++++----------
1803  3 files changed, 78 insertions(+), 21 deletions(-)
1804
1805 commit fa381acaf9a29a8114e1c0a97de99bab9adb014e
1806 Author: Lasse Collin <lasse.collin@tukaani.org>
1807 Date:   2013-07-04 13:41:03 +0300
1808
1809     xz: Don't set src_eof=true after an I/O error because it's useless.
1810
1811  src/xz/file_io.c | 3 ---
1812  1 file changed, 3 deletions(-)
1813
1814 commit ea00545beace5b950f709ec21e46878e0f448678
1815 Author: Lasse Collin <lasse.collin@tukaani.org>
1816 Date:   2013-07-04 13:25:11 +0300
1817
1818     xz: Fix the test when to read more input.
1819     
1820     Testing for end of file was no longer correct after full flushing
1821     became possible with --block-size=SIZE and --block-list=SIZES.
1822     There was no bug in practice though because xz just made a few
1823     unneeded zero-byte reads.
1824
1825  src/xz/coder.c | 6 +++---
1826  1 file changed, 3 insertions(+), 3 deletions(-)
1827
1828 commit 736903c64bef394c06685d79908e397bcb08b88f
1829 Author: Lasse Collin <lasse.collin@tukaani.org>
1830 Date:   2013-07-04 12:51:57 +0300
1831
1832     xz: Move some of the timing code into mytime.[hc].
1833     
1834     This switches units from microseconds to milliseconds.
1835     
1836     New clock_gettime(CLOCK_MONOTONIC) will be used if available.
1837     There is still a fallback to gettimeofday().
1838
1839  src/xz/Makefile.am |  2 ++
1840  src/xz/coder.c     |  5 +++
1841  src/xz/message.c   | 54 +++++++++------------------------
1842  src/xz/mytime.c    | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1843  src/xz/mytime.h    | 47 ++++++++++++++++++++++++++++
1844  src/xz/private.h   |  1 +
1845  6 files changed, 158 insertions(+), 40 deletions(-)
1846
1847 commit 24edf8d807e24ffaa1e793114d94cca3b970027d
1848 Author: Lasse Collin <lasse.collin@tukaani.org>
1849 Date:   2013-07-01 14:35:03 +0300
1850
1851     Update THANKS.
1852
1853  THANKS | 1 +
1854  1 file changed, 1 insertion(+)
1855
1856 commit c0627b3fceacfa1ed162f5f55235360ea26f569a
1857 Author: Lasse Collin <lasse.collin@tukaani.org>
1858 Date:   2013-07-01 14:34:11 +0300
1859
1860     xz: Silence a warning seen with _FORTIFY_SOURCE=2.
1861     
1862     Thanks to Christian Hesse.
1863
1864  src/xz/file_io.c | 8 +++++++-
1865  1 file changed, 7 insertions(+), 1 deletion(-)
1866
1867 commit 1936718bb38ee394bd89836fdd4eabc0beb02443
1868 Author: Lasse Collin <lasse.collin@tukaani.org>
1869 Date:   2013-06-30 19:40:11 +0300
1870
1871     Update NEWS for 5.0.5.
1872
1873  NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1874  1 file changed, 52 insertions(+)
1875
1876 commit a37ae8b5eb6093a530198f109c6f7a538c80ecf0
1877 Author: Lasse Collin <lasse.collin@tukaani.org>
1878 Date:   2013-06-30 18:02:27 +0300
1879
1880     Man pages: Use similar syntax for synopsis as in xz.
1881     
1882     The man pages of lzmainfo, xzmore, and xzdec had similar
1883     constructs as the man page of xz had before the commit
1884     eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond
1885     didn't mention these man pages in his bug report, but
1886     it's nice to be consistent.
1887
1888  src/lzmainfo/lzmainfo.1 |  4 ++--
1889  src/scripts/xzmore.1    |  6 +++---
1890  src/xzdec/xzdec.1       | 10 +++++-----
1891  3 files changed, 10 insertions(+), 10 deletions(-)
1892
1893 commit cdba9ddd870ae72fd6219a125662c20ec997f86c
1894 Author: Lasse Collin <lasse.collin@tukaani.org>
1895 Date:   2013-06-29 15:59:13 +0300
1896
1897     xz: Use non-blocking I/O for the output file.
1898     
1899     Now both reading and writing should be without
1900     race conditions with signals.
1901     
1902     They might still be signal handling issues left.
1903     Signals are blocked during many operations to avoid
1904     EINTR but it may cause problems e.g. if writing to
1905     stderr blocks when trying to display an error message.
1906
1907  src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++--------
1908  1 file changed, 49 insertions(+), 8 deletions(-)
1909
1910 commit e61a5c95da3fe31281d959e5e842885a8ba2b5bd
1911 Author: Lasse Collin <lasse.collin@tukaani.org>
1912 Date:   2013-06-28 23:56:17 +0300
1913
1914     xz: Fix return value type in io_write_buf().
1915     
1916     It didn't affect the behavior of the code since -1
1917     becomes true anyway.
1918
1919  src/xz/file_io.c | 2 +-
1920  1 file changed, 1 insertion(+), 1 deletion(-)
1921
1922 commit 9dc319eabb34a826f4945f91c71620f14a60e9e2
1923 Author: Lasse Collin <lasse.collin@tukaani.org>
1924 Date:   2013-06-28 23:48:05 +0300
1925
1926     xz: Use the self-pipe trick to avoid a race condition with signals.
1927     
1928     It is possible that a signal to set user_abort arrives right
1929     before a blocking system call is made. In this case the call
1930     may block until another signal arrives, while the wanted
1931     behavior is to make xz clean up and exit as soon as possible.
1932     
1933     After this commit, the race condition is avoided with the
1934     input side which already uses non-blocking I/O. The output
1935     side still uses blocking I/O and thus has the race condition.
1936
1937  src/xz/file_io.c | 56 ++++++++++++++++++++++++++++++++++++++++++++------------
1938  src/xz/file_io.h |  8 ++++++++
1939  src/xz/signals.c |  5 +++++
1940  3 files changed, 57 insertions(+), 12 deletions(-)
1941
1942 commit 3541bc79d0cfabc0ad155c99bfdad1289f17fec3
1943 Author: Lasse Collin <lasse.collin@tukaani.org>
1944 Date:   2013-06-28 22:51:02 +0300
1945
1946     xz: Use non-blocking I/O for the input file.
1947
1948  src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++----------------
1949  1 file changed, 111 insertions(+), 45 deletions(-)
1950
1951 commit 78673a08bed5066c81e8a8e90d20e670c28ecfd5
1952 Author: Lasse Collin <lasse.collin@tukaani.org>
1953 Date:   2013-06-28 18:46:13 +0300
1954
1955     xz: Remove an outdated NetBSD-specific comment.
1956     
1957     Nowadays errno == EFTYPE is documented in open(2).
1958
1959  src/xz/file_io.c | 4 ----
1960  1 file changed, 4 deletions(-)
1961
1962 commit a616fdad34b48b2932ef03fb87309dcc8b829527
1963 Author: Lasse Collin <lasse.collin@tukaani.org>
1964 Date:   2013-06-28 18:09:47 +0300
1965
1966     xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls.
1967     
1968     POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on
1969     error and "other than -1" on success. This is how it is
1970     documented e.g. on OpenBSD too. On Linux, success with
1971     F_SETFL is always 0 (at least accorinding to fcntl(2)
1972     from man-pages 3.51).
1973
1974  src/xz/file_io.c | 8 ++++----
1975  1 file changed, 4 insertions(+), 4 deletions(-)
1976
1977 commit 4a08a6e4c61c65ab763ab314100a6d7a3bb89298
1978 Author: Lasse Collin <lasse.collin@tukaani.org>
1979 Date:   2013-06-28 17:36:47 +0300
1980
1981     xz: Fix use of wrong variable in a fcntl() call.
1982     
1983     Due to a wrong variable name, when writing a sparse file
1984     to standard output, *all* file status flags were cleared
1985     (to the extent the operating system allowed it) instead of
1986     only clearing the O_APPEND flag. In practice this worked
1987     fine in the common situations on GNU/Linux, but I didn't
1988     check how it behaved elsewhere.
1989     
1990     The original flags were still restored correctly. I still
1991     changed the code to use a separate boolean variable to
1992     indicate when the flags should be restored instead of
1993     relying on a special value in stdout_flags.
1994
1995  src/xz/file_io.c | 24 +++++++++++++-----------
1996  1 file changed, 13 insertions(+), 11 deletions(-)
1997
1998 commit b790b435daa3351067f80a5973b647f8d55367a2
1999 Author: Lasse Collin <lasse.collin@tukaani.org>
2000 Date:   2013-06-28 14:55:37 +0300
2001
2002     xz: Fix assertion related to posix_fadvise().
2003     
2004     Input file can be a FIFO or something else that doesn't
2005     support posix_fadvise() so don't check the return value
2006     even with an assertion. Nothing bad happens if the call
2007     to posix_fadvise() fails.
2008
2009  src/xz/file_io.c | 10 ++--------
2010  1 file changed, 2 insertions(+), 8 deletions(-)
2011
2012 commit 84d2da6c9dc252f441deb7626c2522202b005d4d
2013 Author: Lasse Collin <lasse.collin@tukaani.org>
2014 Date:   2013-06-26 13:30:57 +0300
2015
2016     xz: Check the value of lzma_stream_flags.version in --list.
2017     
2018     It is a no-op for now, but if an old xz version is used
2019     together with a newer liblzma that supports something new,
2020     then this check becomes important and will stop the old xz
2021     from trying to parse files that it won't understand.
2022
2023  src/xz/list.c | 14 ++++++++++++++
2024  1 file changed, 14 insertions(+)
2025
2026 commit 9376f5f8f762296f2173d61af9101112c36f38c0
2027 Author: Lasse Collin <lasse.collin@tukaani.org>
2028 Date:   2013-06-26 12:17:00 +0300
2029
2030     Build: Require Automake 1.12 and use serial-tests option.
2031     
2032     It should actually still work with Automake 1.10 if
2033     the serial-tests option is removed. Automake 1.13 started
2034     using parallel tests by default and the option to get
2035     the old behavior isn't supported before 1.12.
2036     
2037     At least for now, parallel tests don't improve anything
2038     in XZ Utils but they hide the progress output from
2039     test_compress.sh.
2040
2041  configure.ac | 4 +++-
2042  1 file changed, 3 insertions(+), 1 deletion(-)
2043
2044 commit b7e200d7bd0a3c7c171c13ad37d68296d6f73374
2045 Author: Lasse Collin <lasse.collin@tukaani.org>
2046 Date:   2013-06-23 18:59:13 +0300
2047
2048     Update THANKS.
2049
2050  THANKS | 1 +
2051  1 file changed, 1 insertion(+)
2052
2053 commit 46540e4c10923e363741ff5aab99e79fc0ce6ee8
2054 Author: Lasse Collin <lasse.collin@tukaani.org>
2055 Date:   2013-06-23 18:57:23 +0300
2056
2057     liblzma: Avoid a warning about a shadowed variable.
2058     
2059     On Mac OS X wait() is declared in <sys/wait.h> that
2060     we include one way or other so don't use "wait" as
2061     a variable name.
2062     
2063     Thanks to Christian Kujau.
2064
2065  src/liblzma/common/stream_encoder_mt.c | 4 ++--
2066  1 file changed, 2 insertions(+), 2 deletions(-)
2067
2068 commit ebb501ec73cecc546c67117dd01b5e33c90bfb4a
2069 Author: Lasse Collin <lasse.collin@tukaani.org>
2070 Date:   2013-06-23 17:36:47 +0300
2071
2072     xz: Validate Uncompressed Size from Block Header in list.c.
2073     
2074     This affects only "xz -lvv". Normal decompression with xz
2075     already detected if Block Header and Index had mismatched
2076     Uncompressed Size fields. So this just makes "xz -lvv"
2077     show such files as corrupt instead of showing the
2078     Uncompressed Size from Index.
2079
2080  src/xz/list.c | 14 +++++++++++++-
2081  1 file changed, 13 insertions(+), 1 deletion(-)
2082
2083 commit c09e91dd236d3cabee0fc48312b3dc8cceae41ab
2084 Author: Lasse Collin <lasse.collin@tukaani.org>
2085 Date:   2013-06-21 22:08:11 +0300
2086
2087     Update THANKS.
2088
2089  THANKS | 2 ++
2090  1 file changed, 2 insertions(+)
2091
2092 commit eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494
2093 Author: Lasse Collin <lasse.collin@tukaani.org>
2094 Date:   2013-06-21 22:04:45 +0300
2095
2096     xz: Make the man page more friendly to doclifter.
2097     
2098     Thanks to Eric S. Raymond.
2099
2100  src/xz/xz.1 | 7 ++++---
2101  1 file changed, 4 insertions(+), 3 deletions(-)
2102
2103 commit 0c0a1947e6ad90a0a10b7a5c39f6ab99a0aa5c93
2104 Author: Lasse Collin <lasse.collin@tukaani.org>
2105 Date:   2013-06-21 21:54:59 +0300
2106
2107     xz: A couple of man page fixes.
2108     
2109     Now the interaction of presets and custom filter chains
2110     is described correctly. Earlier it contradicted itself.
2111     
2112     Thanks to DevHC who reported these issues on IRC to me
2113     on 2012-12-14.
2114
2115  src/xz/xz.1 | 35 +++++++++++++++++++++++------------
2116  1 file changed, 23 insertions(+), 12 deletions(-)
2117
2118 commit 2fcda89939c903106c429e109083d43d894049e0
2119 Author: Lasse Collin <lasse.collin@tukaani.org>
2120 Date:   2013-06-21 21:50:26 +0300
2121
2122     xz: Fix interaction between preset and custom filter chains.
2123     
2124     There was somewhat illogical behavior when --extreme was
2125     specified and mixed with custom filter chains.
2126     
2127     Before this commit, "xz -9 --lzma2 -e" was equivalent
2128     to "xz --lzma2". After it is equivalent to "xz -6e"
2129     (all earlier preset options get forgotten when a custom
2130     filter chain is specified and the default preset is 6
2131     to which -e is applied). I find this less illogical.
2132     
2133     This also affects the meaning of "xz -9e --lzma2 -7".
2134     Earlier it was equivalent to "xz -7e" (the -e specified
2135     before a custom filter chain wasn't forgotten). Now it
2136     is "xz -7". Note that "xz -7e" still is the same as "xz -e7".
2137     
2138     Hopefully very few cared about this in the first place,
2139     so pretty much no one should even notice this change.
2140     
2141     Thanks to Conley Moorhous.
2142
2143  src/xz/coder.c | 35 +++++++++++++++++++++--------------
2144  1 file changed, 21 insertions(+), 14 deletions(-)
2145
2146 commit 97379c5ea758da3f8b0bc444d5f7fa43753ce610
2147 Author: Lasse Collin <lasse.collin@tukaani.org>
2148 Date:   2013-04-27 22:07:46 +0300
2149
2150     Build: Use -Wvla with GCC if supported.
2151     
2152     Variable-length arrays are mandatory in C99 but optional in C11.
2153     The code doesn't currently use any VLAs and it shouldn't in the
2154     future either to stay compatible with C11 without requiring any
2155     optional C11 features.
2156
2157  configure.ac | 1 +
2158  1 file changed, 1 insertion(+)
2159
2160 commit 8957c58609d3987c58aa72b96c436cf565cc4917
2161 Author: Lasse Collin <lasse.collin@tukaani.org>
2162 Date:   2013-04-15 19:29:09 +0300
2163
2164     xzdec: Improve the --help message.
2165     
2166     The options are now ordered in the same order as in xz's help
2167     message.
2168     
2169     Descriptions were added to the options that are ignored.
2170     I left them in parenthesis even if it looks a bit weird
2171     because I find it easier to spot the ignored vs. non-ignored
2172     options from the list that way.
2173
2174  src/xzdec/xzdec.c | 10 +++++-----
2175  1 file changed, 5 insertions(+), 5 deletions(-)
2176
2177 commit ed886e1a92534a24401d0e99c11f1dcff3b5220a
2178 Author: Lasse Collin <lasse.collin@tukaani.org>
2179 Date:   2013-04-05 19:25:40 +0300
2180
2181     Update THANKS.
2182
2183  THANKS | 2 ++
2184  1 file changed, 2 insertions(+)
2185
2186 commit 5019413a055ce29e660dbbf15e02443cb5a26c59
2187 Author: Jeff Bastian <jbastian@redhat.com>
2188 Date:   2013-04-03 13:59:17 +0200
2189
2190     xzgrep: make the '-h' option to be --no-filename equivalent
2191     
2192     * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
2193
2194  src/scripts/xzgrep.in | 2 +-
2195  1 file changed, 1 insertion(+), 1 deletion(-)
2196
2197 commit 5ea900cb5ad862bca81316729f92357c1fc040ce
2198 Author: Lasse Collin <lasse.collin@tukaani.org>
2199 Date:   2013-03-23 22:25:15 +0200
2200
2201     liblzma: Be less picky in lzma_alone_decoder().
2202     
2203     To avoid false positives when detecting .lzma files,
2204     rare values in dictionary size and uncompressed size fields
2205     were rejected. They will still be rejected if .lzma files
2206     are decoded with lzma_auto_decoder(), but when using
2207     lzma_alone_decoder() directly, such files will now be accepted.
2208     Hopefully this is an OK compromise.
2209     
2210     This doesn't affect xz because xz still has its own file
2211     format detection code. This does affect lzmadec though.
2212     So after this commit lzmadec will accept files that xz or
2213     xz-emulating-lzma doesn't.
2214     
2215     NOTE: lzma_alone_decoder() still won't decode all .lzma files
2216     because liblzma's LZMA decoder doesn't support lc + lp > 4.
2217     
2218     Reported here:
2219     http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827
2220
2221  src/liblzma/common/alone_decoder.c | 22 ++++++++++++++--------
2222  src/liblzma/common/alone_decoder.h |  5 +++--
2223  src/liblzma/common/auto_decoder.c  |  2 +-
2224  3 files changed, 18 insertions(+), 11 deletions(-)
2225
2226 commit bb117fffa84604b6e3811b068c80db82bf7f7b05
2227 Author: Lasse Collin <lasse.collin@tukaani.org>
2228 Date:   2013-03-23 21:55:13 +0200
2229
2230     liblzma: Use lzma_block_buffer_bound64() in threaded encoder.
2231     
2232     Now it uses lzma_block_uncomp_encode() if the data doesn't
2233     fit into the space calculated by lzma_block_buffer_bound64().
2234
2235  src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++---------
2236  1 file changed, 50 insertions(+), 16 deletions(-)
2237
2238 commit e572e123b55b29527e54ce5f0807f115481d78b9
2239 Author: Lasse Collin <lasse.collin@tukaani.org>
2240 Date:   2013-03-23 21:51:38 +0200
2241
2242     liblzma: Fix another deadlock in the threaded encoder.
2243     
2244     This race condition could cause a deadlock if lzma_end() was
2245     called before finishing the encoding. This can happen with
2246     xz with debugging enabled (non-debugging version doesn't
2247     call lzma_end() before exiting).
2248
2249  src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
2250  1 file changed, 6 insertions(+), 3 deletions(-)
2251
2252 commit b465da5988dd59ad98fda10c2e4ea13d0b9c73bc
2253 Author: Lasse Collin <lasse.collin@tukaani.org>
2254 Date:   2013-03-23 19:17:33 +0200
2255
2256     liblzma: Add lzma_block_uncomp_encode().
2257     
2258     This also adds a new internal function
2259     lzma_block_buffer_bound64() which is similar to
2260     lzma_block_buffer_bound() but uses uint64_t instead
2261     of size_t.
2262
2263  src/liblzma/api/lzma/block.h              | 18 ++++++
2264  src/liblzma/common/block_buffer_encoder.c | 94 +++++++++++++++++++++----------
2265  src/liblzma/common/block_buffer_encoder.h | 24 ++++++++
2266  src/liblzma/liblzma.map                   |  1 +
2267  4 files changed, 106 insertions(+), 31 deletions(-)
2268
2269 commit 9e6dabcf22ef4679f4faaae15ebd5b137ae2fad1
2270 Author: Lasse Collin <lasse.collin@tukaani.org>
2271 Date:   2013-03-05 19:14:50 +0200
2272
2273     Avoid unneeded use of awk in xzless.
2274     
2275     Use "read" instead of "awk" in xzless to get the version
2276     number of "less". The need for awk was introduced in
2277     the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e.
2278     
2279     Thanks to Ariel P for the patch.
2280
2281  src/scripts/xzless.in | 3 +--
2282  1 file changed, 1 insertion(+), 2 deletions(-)
2283
2284 commit e7b424d267a34803db8d92a3515528be2ed45abd
2285 Author: Lasse Collin <lasse.collin@tukaani.org>
2286 Date:   2012-12-14 20:13:32 +0200
2287
2288     Make the progress indicator smooth in threaded mode.
2289     
2290     This adds lzma_get_progress() to liblzma and takes advantage
2291     of it in xz.
2292     
2293     lzma_get_progress() collects progress information from
2294     the thread-specific structures so that fairly accurate
2295     progress information is available to applications. Adding
2296     a new function seemed to be a better way than making the
2297     information directly available in lzma_stream (like total_in
2298     and total_out are) because collecting the information requires
2299     locking mutexes. It's waste of time to do it more often than
2300     the up to date information is actually needed by an application.
2301
2302  src/liblzma/api/lzma/base.h            | 22 +++++++++-
2303  src/liblzma/common/common.c            | 16 +++++++
2304  src/liblzma/common/common.h            |  6 +++
2305  src/liblzma/common/stream_encoder_mt.c | 77 +++++++++++++++++++++++++++++++---
2306  src/liblzma/liblzma.map                |  1 +
2307  src/xz/message.c                       | 20 +++++----
2308  6 files changed, 129 insertions(+), 13 deletions(-)
2309
2310 commit 2ebbb994e367f55f2561aa7c9e7451703c171f2f
2311 Author: Lasse Collin <lasse.collin@tukaani.org>
2312 Date:   2012-12-14 11:01:41 +0200
2313
2314     liblzma: Fix mythread_sync for nested locking.
2315
2316  src/common/mythread.h | 5 +++--
2317  1 file changed, 3 insertions(+), 2 deletions(-)
2318
2319 commit 4c7e28705f6de418d19cc77324ef301f996e01ff
2320 Author: Lasse Collin <lasse.collin@tukaani.org>
2321 Date:   2012-12-13 21:05:36 +0200
2322
2323     xz: Mention --threads in --help.
2324     
2325     Thanks to Olivier Delhomme for pointing out that this
2326     was still missing.
2327
2328  src/xz/message.c | 4 ++++
2329  1 file changed, 4 insertions(+)
2330
2331 commit db5c1817fabf7cbb9e4087b1576eb26f0747338e
2332 Author: Jonathan Nieder <jrnieder@gmail.com>
2333 Date:   2012-11-19 00:10:10 -0800
2334
2335     xzless: Make "less -V" parsing more robust
2336     
2337     In v4.999.9beta~30 (xzless: Support compressed standard input,
2338     2009-08-09), xzless learned to parse ‘less -V’ output to figure out
2339     whether less is new enough to handle $LESSOPEN settings starting
2340     with “|-”.  That worked well for a while, but the version string from
2341     ‘less’ versions 448 (June, 2012) is misparsed, producing a warning:
2342     
2343         $ xzless /tmp/test.xz; echo $?
2344         /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
2345         integer expression expected
2346         0
2347     
2348     More precisely, modern ‘less’ lists the regexp implementation along
2349     with its version number, and xzless passes the entire version number
2350     with attached parenthetical phrase as a number to "test $a -gt $b",
2351     producing the above confusing message.
2352     
2353         $ less-444 -V | head -1
2354         less 444
2355         $ less -V | head -1
2356         less 456 (no regular expressions)
2357     
2358     So relax the pattern matched --- instead of expecting "less <number>",
2359     look for a line of the form "less <number>[ (extra parenthetical)]".
2360     While at it, improve the behavior when no matching line is found ---
2361     instead of producing a cryptic message, we can fall back on a LESSPIPE
2362     setting that is supported by all versions of ‘less’.
2363     
2364     The implementation uses "awk" for simplicity.  Hopefully that’s
2365     portable enough.
2366     
2367     Reported-by: Jörg-Volker Peetz <jvpeetz@web.de>
2368     Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2369
2370  src/scripts/xzless.in | 3 ++-
2371  1 file changed, 2 insertions(+), 1 deletion(-)
2372
2373 commit 65536214a31ecd33b6b03b68a351fb597d3703d6
2374 Author: Lasse Collin <lasse.collin@tukaani.org>
2375 Date:   2012-10-03 15:54:24 +0300
2376
2377     xz: Fix the note about --rsyncable on the man page.
2378
2379  src/xz/xz.1 | 17 +++++++++--------
2380  1 file changed, 9 insertions(+), 8 deletions(-)
2381
2382 commit 3d93b6354927247a1569caf22ad27b07e97ee904
2383 Author: Lasse Collin <lasse.collin@tukaani.org>
2384 Date:   2012-09-28 20:11:09 +0300
2385
2386     xz: Improve handling of failed realloc in xrealloc.
2387     
2388     Thanks to Jim Meyering.
2389
2390  src/xz/util.c | 14 ++++++++++++--
2391  1 file changed, 12 insertions(+), 2 deletions(-)
2392
2393 commit ab225620664e235637833be2329935f9d290ba80
2394 Author: Lasse Collin <lasse.collin@tukaani.org>
2395 Date:   2012-08-24 16:27:31 +0300
2396
2397     A few typo fixes to comments and the xz man page.
2398     
2399     Thanks to Jim Meyering.
2400
2401  configure.ac               | 2 +-
2402  src/liblzma/check/sha256.c | 1 -
2403  src/xz/xz.1                | 4 ++--
2404  3 files changed, 3 insertions(+), 4 deletions(-)
2405
2406 commit f3c1ec69d910175ffd431fd82968dd35cec806ed
2407 Author: Lasse Collin <lasse.collin@tukaani.org>
2408 Date:   2012-08-13 21:40:09 +0300
2409
2410     xz: Add a warning to --help about alpha and beta versions.
2411
2412  src/xz/message.c | 5 +++++
2413  1 file changed, 5 insertions(+)
2414
2415 commit d8eaf9d8278c23c2cf2b7ca5562d4de570d3b5db
2416 Author: Lasse Collin <lasse.collin@tukaani.org>
2417 Date:   2012-08-02 17:13:30 +0300
2418
2419     Build: Bump gettext version requirement to 0.18.
2420     
2421     Otherwise too old version of m4/lib-link.m4 gets included
2422     when autoreconf -fi is run.
2423
2424  configure.ac | 2 +-
2425  1 file changed, 1 insertion(+), 1 deletion(-)
2426
2427 commit 96e08902b09f0f304d4ff80c6e83ef7fff883f34
2428 Author: Lasse Collin <lasse.collin@tukaani.org>
2429 Date:   2012-07-17 18:29:08 +0300
2430
2431     Update THANKS.
2432
2433  THANKS | 1 +
2434  1 file changed, 1 insertion(+)
2435
2436 commit 3778db1be53e61ff285c573af5ee468803008456
2437 Author: Lasse Collin <lasse.collin@tukaani.org>
2438 Date:   2012-07-17 18:19:59 +0300
2439
2440     liblzma: Make the use of lzma_allocator const-correct.
2441     
2442     There is a tiny risk of causing breakage: If an application
2443     assigns lzma_stream.allocator to a non-const pointer, such
2444     code won't compile anymore. I don't know why anyone would do
2445     such a thing though, so in practice this shouldn't cause trouble.
2446     
2447     Thanks to Jan Kratochvil for the patch.
2448
2449  src/liblzma/api/lzma/base.h                |  4 +++-
2450  src/liblzma/api/lzma/block.h               |  6 ++---
2451  src/liblzma/api/lzma/container.h           |  9 +++++---
2452  src/liblzma/api/lzma/filter.h              | 13 ++++++-----
2453  src/liblzma/api/lzma/index.h               | 16 ++++++-------
2454  src/liblzma/api/lzma/index_hash.h          |  4 ++--
2455  src/liblzma/common/alone_decoder.c         |  6 ++---
2456  src/liblzma/common/alone_decoder.h         |  2 +-
2457  src/liblzma/common/alone_encoder.c         |  8 +++----
2458  src/liblzma/common/auto_decoder.c          |  6 ++---
2459  src/liblzma/common/block_buffer_decoder.c  |  2 +-
2460  src/liblzma/common/block_buffer_encoder.c  |  4 ++--
2461  src/liblzma/common/block_decoder.c         |  6 ++---
2462  src/liblzma/common/block_decoder.h         |  2 +-
2463  src/liblzma/common/block_encoder.c         |  8 +++----
2464  src/liblzma/common/block_encoder.h         |  2 +-
2465  src/liblzma/common/block_header_decoder.c  |  4 ++--
2466  src/liblzma/common/common.c                | 10 ++++-----
2467  src/liblzma/common/common.h                | 20 +++++++++--------
2468  src/liblzma/common/easy_buffer_encoder.c   |  4 ++--
2469  src/liblzma/common/filter_buffer_decoder.c |  3 ++-
2470  src/liblzma/common/filter_buffer_encoder.c |  7 +++---
2471  src/liblzma/common/filter_common.c         |  4 ++--
2472  src/liblzma/common/filter_common.h         |  2 +-
2473  src/liblzma/common/filter_decoder.c        |  7 +++---
2474  src/liblzma/common/filter_decoder.h        |  2 +-
2475  src/liblzma/common/filter_encoder.c        |  2 +-
2476  src/liblzma/common/filter_encoder.h        |  2 +-
2477  src/liblzma/common/filter_flags_decoder.c  |  2 +-
2478  src/liblzma/common/index.c                 | 26 ++++++++++-----------
2479  src/liblzma/common/index_decoder.c         | 12 +++++-----
2480  src/liblzma/common/index_encoder.c         |  6 ++---
2481  src/liblzma/common/index_encoder.h         |  2 +-
2482  src/liblzma/common/index_hash.c            |  6 +++--
2483  src/liblzma/common/outqueue.c              |  4 ++--
2484  src/liblzma/common/outqueue.h              |  5 +++--
2485  src/liblzma/common/stream_buffer_decoder.c |  2 +-
2486  src/liblzma/common/stream_buffer_encoder.c |  3 ++-
2487  src/liblzma/common/stream_decoder.c        |  9 ++++----
2488  src/liblzma/common/stream_decoder.h        |  5 +++--
2489  src/liblzma/common/stream_encoder.c        | 10 ++++-----
2490  src/liblzma/common/stream_encoder_mt.c     | 16 ++++++-------
2491  src/liblzma/delta/delta_common.c           |  4 ++--
2492  src/liblzma/delta/delta_decoder.c          |  6 ++---
2493  src/liblzma/delta/delta_decoder.h          |  5 +++--
2494  src/liblzma/delta/delta_encoder.c          |  6 ++---
2495  src/liblzma/delta/delta_encoder.h          |  3 ++-
2496  src/liblzma/delta/delta_private.h          |  2 +-
2497  src/liblzma/lz/lz_decoder.c                |  8 +++----
2498  src/liblzma/lz/lz_decoder.h                |  7 +++---
2499  src/liblzma/lz/lz_encoder.c                | 19 ++++++++--------
2500  src/liblzma/lz/lz_encoder.h                |  6 ++---
2501  src/liblzma/lzma/lzma2_decoder.c           |  8 +++----
2502  src/liblzma/lzma/lzma2_decoder.h           |  5 +++--
2503  src/liblzma/lzma/lzma2_encoder.c           |  6 ++---
2504  src/liblzma/lzma/lzma2_encoder.h           |  2 +-
2505  src/liblzma/lzma/lzma_decoder.c            |  8 +++----
2506  src/liblzma/lzma/lzma_decoder.h            |  7 +++---
2507  src/liblzma/lzma/lzma_encoder.c            |  7 +++---
2508  src/liblzma/lzma/lzma_encoder.h            |  5 +++--
2509  src/liblzma/simple/arm.c                   |  8 ++++---
2510  src/liblzma/simple/armthumb.c              |  8 ++++---
2511  src/liblzma/simple/ia64.c                  |  8 ++++---
2512  src/liblzma/simple/powerpc.c               |  8 ++++---
2513  src/liblzma/simple/simple_coder.c          | 10 ++++-----
2514  src/liblzma/simple/simple_coder.h          | 36 ++++++++++++++++++++----------
2515  src/liblzma/simple/simple_decoder.c        |  2 +-
2516  src/liblzma/simple/simple_decoder.h        |  2 +-
2517  src/liblzma/simple/simple_private.h        |  3 ++-
2518  src/liblzma/simple/sparc.c                 |  8 ++++---
2519  src/liblzma/simple/x86.c                   |  8 ++++---
2520  71 files changed, 269 insertions(+), 219 deletions(-)
2521
2522 commit d625c7cf824fd3b61c6da84f56179e94917ff603
2523 Author: Lasse Collin <lasse.collin@tukaani.org>
2524 Date:   2012-07-05 07:36:28 +0300
2525
2526     Tests: Remove tests/test_block.c that had gotten committed accidentally.
2527
2528  tests/test_block.c | 52 ----------------------------------------------------
2529  1 file changed, 52 deletions(-)
2530
2531 commit 0b09d266cce72bc4841933b171e79551e488927c
2532 Author: Lasse Collin <lasse.collin@tukaani.org>
2533 Date:   2012-07-05 07:33:35 +0300
2534
2535     Build: Include macosx/build.sh in the distribution.
2536     
2537     It has been in the Git repository since 2010 but probably
2538     few people have seen it since it hasn't been included in
2539     the release tarballs. :-(
2540
2541  Makefile.am | 1 +
2542  1 file changed, 1 insertion(+)
2543
2544 commit d6e0b23d4613b9f417893dd96cc168c8005ece3d
2545 Author: Lasse Collin <lasse.collin@tukaani.org>
2546 Date:   2012-07-05 07:28:53 +0300
2547
2548     Build: Include validate_map.sh in the distribution.
2549     
2550     It's required by "make mydist".
2551     
2552     Fix also the location of EXTRA_DIST+= so that those files
2553     get distributed also if symbol versioning isn't enabled.
2554
2555  src/liblzma/Makefile.am | 2 +-
2556  1 file changed, 1 insertion(+), 1 deletion(-)
2557
2558 commit 19de545d86097c3954d69ab5d12820387f6a09bc
2559 Author: Lasse Collin <lasse.collin@tukaani.org>
2560 Date:   2012-07-05 07:24:45 +0300
2561
2562     Docs: Fix the name LZMA Utils -> XZ Utils in debug/README.
2563
2564  debug/README | 2 +-
2565  1 file changed, 1 insertion(+), 1 deletion(-)
2566
2567 commit 672eccf57c31a40dfb956b7662db06d43e18618e
2568 Author: Lasse Collin <lasse.collin@tukaani.org>
2569 Date:   2012-07-05 07:23:17 +0300
2570
2571     Include debug/translation.bash in the distribution.
2572     
2573     Also fix the script name mentioned in README.
2574
2575  README            | 4 ++--
2576  debug/Makefile.am | 3 +++
2577  2 files changed, 5 insertions(+), 2 deletions(-)
2578
2579 commit cafb523adac1caf305e70a04bc37f25602bf990c
2580 Author: Lasse Collin <lasse.collin@tukaani.org>
2581 Date:   2012-07-04 22:31:58 +0300
2582
2583     xz: Document --block-list better.
2584     
2585     Thanks to Jonathan Nieder.
2586
2587  src/xz/xz.1 | 8 +++++++-
2588  1 file changed, 7 insertions(+), 1 deletion(-)
2589
2590 commit c7ff218528bc8f7c65e7ef73c6515777346c6794
2591 Author: Lasse Collin <lasse.collin@tukaani.org>
2592 Date:   2012-07-04 20:01:49 +0300
2593
2594     Bump the version number to 5.1.2alpha.
2595
2596  src/liblzma/api/lzma/version.h | 2 +-
2597  src/liblzma/liblzma.map        | 2 +-
2598  2 files changed, 2 insertions(+), 2 deletions(-)
2599
2600 commit 8f3c1d886f93e6478ad509ff52102b2ce7faa999
2601 Author: Lasse Collin <lasse.collin@tukaani.org>
2602 Date:   2012-07-04 20:01:19 +0300
2603
2604     Update NEWS for 5.1.2alpha.
2605
2606  NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
2607  1 file changed, 41 insertions(+)
2608
2609 commit 0d5fa05466e580fbc458820f87013ae7644e20e5
2610 Author: Lasse Collin <lasse.collin@tukaani.org>
2611 Date:   2012-07-04 19:58:23 +0300
2612
2613     xz: Fix the version number printed by xz -lvv.
2614     
2615     The decoder bug was fixed in 5.0.2 instead of 5.0.3.
2616
2617  src/xz/list.c | 6 +++---
2618  1 file changed, 3 insertions(+), 3 deletions(-)
2619
2620 commit df11317985a4165731dde12bb0f0028da0e7b77f
2621 Author: Lasse Collin <lasse.collin@tukaani.org>
2622 Date:   2012-07-04 17:11:31 +0300
2623
2624     Build: Add a comment to configure.ac about symbol versioning.
2625
2626  configure.ac | 4 ++++
2627  1 file changed, 4 insertions(+)
2628
2629 commit bd9cc179e8be3ef515201d3ed9c7dd79ae88869d
2630 Author: Lasse Collin <lasse.collin@tukaani.org>
2631 Date:   2012-07-04 17:06:49 +0300
2632
2633     Update TODO.
2634
2635  TODO | 12 ++++++++++--
2636  1 file changed, 10 insertions(+), 2 deletions(-)
2637
2638 commit 4a238dd9b22f462cac5e199828bf1beb0df05884
2639 Author: Lasse Collin <lasse.collin@tukaani.org>
2640 Date:   2012-07-04 17:05:46 +0300
2641
2642     Document --enable-symbol-versions in INSTALL.
2643
2644  INSTALL | 5 +++++
2645  1 file changed, 5 insertions(+)
2646
2647 commit 88ccf47205d7f3aa314d358c72ef214f10f68b43
2648 Author: Lasse Collin <lasse.collin@tukaani.org>
2649 Date:   2012-07-03 21:16:39 +0300
2650
2651     xz: Add incomplete support for --block-list.
2652     
2653     It's broken with threads and when also --block-size is used.
2654
2655  src/xz/args.c    | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2656  src/xz/args.h    |  1 +
2657  src/xz/coder.c   | 48 ++++++++++++++++++++++++++++------
2658  src/xz/coder.h   |  4 +++
2659  src/xz/main.c    |  1 +
2660  src/xz/message.c |  6 +++++
2661  src/xz/xz.1      | 23 +++++++++++++++--
2662  7 files changed, 151 insertions(+), 10 deletions(-)
2663
2664 commit 972179cdcdf5d8949c48ee31737d87d3050b44af
2665 Author: Lasse Collin <lasse.collin@tukaani.org>
2666 Date:   2012-07-01 18:44:33 +0300
2667
2668     xz: Update the man page about the new field in --robot -lvv.
2669
2670  src/xz/xz.1 | 18 +++++++++++++++++-
2671  1 file changed, 17 insertions(+), 1 deletion(-)
2672
2673 commit 1403707fc64a70976aebe66f8d9a9bd12f73a2c5
2674 Author: Lasse Collin <lasse.collin@tukaani.org>
2675 Date:   2012-06-28 10:47:49 +0300
2676
2677     liblzma: Check that the first byte of range encoded data is 0x00.
2678     
2679     It is just to be more pedantic and thus perhaps catch broken
2680     files slightly earlier.
2681
2682  src/liblzma/lzma/lzma_decoder.c        |  8 ++++++--
2683  src/liblzma/rangecoder/range_decoder.h | 12 +++++++++---
2684  2 files changed, 15 insertions(+), 5 deletions(-)
2685
2686 commit eccd8017ffe2c5de473222c4963ec53c62f7fda2
2687 Author: Lasse Collin <lasse.collin@tukaani.org>
2688 Date:   2012-06-22 19:00:23 +0300
2689
2690     Update NEWS from 5.0.4.
2691
2692  NEWS | 37 +++++++++++++++++++++++++++++++++++++
2693  1 file changed, 37 insertions(+)
2694
2695 commit 2e6754eac26a431e8d340c28906f63bcd1e177e8
2696 Author: Lasse Collin <lasse.collin@tukaani.org>
2697 Date:   2012-06-22 14:34:03 +0300
2698
2699     xz: Update man page date to match the latest update.
2700
2701  src/xz/xz.1 | 2 +-
2702  1 file changed, 1 insertion(+), 1 deletion(-)
2703
2704 commit b3235a0b1af45d5e1244cbe3191516966c076fa0
2705 Author: Lasse Collin <lasse.collin@tukaani.org>
2706 Date:   2012-06-18 21:27:47 +0300
2707
2708     Docs: Language fix to 01_compress_easy.c.
2709     
2710     Thanks to Jonathan Nieder.
2711
2712  doc/examples/01_compress_easy.c | 2 +-
2713  1 file changed, 1 insertion(+), 1 deletion(-)
2714
2715 commit f1675f765fe228cb5a5f904f853445a03e33cfe9
2716 Author: Lasse Collin <lasse.collin@tukaani.org>
2717 Date:   2012-06-14 20:15:30 +0300
2718
2719     Fix the top-level Makefile.am for the new example programs.
2720
2721  Makefile.am | 12 ++++++++++--
2722  1 file changed, 10 insertions(+), 2 deletions(-)
2723
2724 commit 3a0c5378abefaf86aa39a62a7c9682bdb21568a1
2725 Author: Lasse Collin <lasse.collin@tukaani.org>
2726 Date:   2012-06-14 10:52:33 +0300
2727
2728     Docs: Add new example programs.
2729     
2730     These have more comments than the old examples and
2731     human-readable error messages. More tutorial-like examples
2732     are needed but these are a start.
2733
2734  doc/examples/00_README.txt        |  27 ++++
2735  doc/examples/01_compress_easy.c   | 297 ++++++++++++++++++++++++++++++++++++++
2736  doc/examples/02_decompress.c      | 287 ++++++++++++++++++++++++++++++++++++
2737  doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++
2738  doc/examples/Makefile             |  23 +++
2739  5 files changed, 827 insertions(+)
2740
2741 commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d
2742 Author: Lasse Collin <lasse.collin@tukaani.org>
2743 Date:   2012-06-14 10:33:27 +0300
2744
2745     Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old.
2746     
2747     It is good to keep these around to so that if someone has
2748     copied the decompressor bug from xz_pipe_decomp.c he has
2749     an example how to easily fix it.
2750
2751  doc/examples/xz_pipe_comp.c       | 127 --------------------------------------
2752  doc/examples/xz_pipe_decomp.c     | 123 ------------------------------------
2753  doc/examples_old/xz_pipe_comp.c   | 127 ++++++++++++++++++++++++++++++++++++++
2754  doc/examples_old/xz_pipe_decomp.c | 123 ++++++++++++++++++++++++++++++++++++
2755  4 files changed, 250 insertions(+), 250 deletions(-)
2756
2757 commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292
2758 Author: Lasse Collin <lasse.collin@tukaani.org>
2759 Date:   2012-06-14 10:33:01 +0300
2760
2761     Docs: Fix a bug in xz_pipe_decomp.c example program.
2762
2763  doc/examples/xz_pipe_decomp.c | 10 +++++++++-
2764  1 file changed, 9 insertions(+), 1 deletion(-)
2765
2766 commit 4bd1a3bd5fdf4870b2f96dd0b8a21657c8a58ad8
2767 Author: Lasse Collin <lasse.collin@tukaani.org>
2768 Date:   2012-05-30 23:14:33 +0300
2769
2770     Translations: Update the French translation.
2771     
2772     Thanks to Adrien Nader.
2773
2774  po/fr.po | 148 ++++++++++++++++++++++++++++++++++-----------------------------
2775  1 file changed, 79 insertions(+), 69 deletions(-)
2776
2777 commit d2e836f2f3a87df6fe6bb0589b037db51205d910
2778 Author: Lasse Collin <lasse.collin@tukaani.org>
2779 Date:   2012-05-29 23:42:37 +0300
2780
2781     Translations: Update the German translation.
2782     
2783     The previous only included the new strings in v5.0.
2784
2785  po/de.po | 229 +++++++++++++++++++++++++++++++++++++--------------------------
2786  1 file changed, 133 insertions(+), 96 deletions(-)
2787
2788 commit c9a16151577ba459afd6e3528df23bc0ddb95171
2789 Author: Lasse Collin <lasse.collin@tukaani.org>
2790 Date:   2012-05-29 22:26:27 +0300
2791
2792     Translations: Update the German translation.
2793
2794  po/de.po | 169 ++++++++++++++++++++++++++++++++++-----------------------------
2795  1 file changed, 91 insertions(+), 78 deletions(-)
2796
2797 commit 1530a74fd48f8493372edad137a24541efe24713
2798 Author: Lasse Collin <lasse.collin@tukaani.org>
2799 Date:   2012-05-29 22:14:21 +0300
2800
2801     Translations: Update Polish translation.
2802
2803  po/pl.po | 283 +++++++++++++++++++++++++++++++++++++--------------------------
2804  1 file changed, 165 insertions(+), 118 deletions(-)
2805
2806 commit d8db706acb8316f9861abd432cfbe001dd6d0c5c
2807 Author: Lasse Collin <lasse.collin@tukaani.org>
2808 Date:   2012-05-28 20:42:11 +0300
2809
2810     liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.
2811     
2812     lzma_code() could incorrectly return LZMA_BUF_ERROR if
2813     all of the following was true:
2814     
2815       - The caller knows how many bytes of output to expect
2816         and only provides that much output space.
2817     
2818       - When the last output bytes are decoded, the
2819         caller-provided input buffer ends right before
2820         the LZMA2 end of payload marker. So LZMA2 won't
2821         provide more output anymore, but it won't know it
2822         yet and thus won't return LZMA_STREAM_END yet.
2823     
2824       - A BCJ filter is in use and it hasn't left any
2825         unfiltered bytes in the temp buffer. This can happen
2826         with any BCJ filter, but in practice it's more likely
2827         with filters other than the x86 BCJ.
2828     
2829     Another situation where the bug can be triggered happens
2830     if the uncompressed size is zero bytes and no output space
2831     is provided. In this case the decompression can fail even
2832     if the whole input file is given to lzma_code().
2833     
2834     A similar bug was fixed in XZ Embedded on 2011-09-19.
2835
2836  src/liblzma/simple/simple_coder.c |   2 +-
2837  tests/Makefile.am                 |   4 +-
2838  tests/test_bcj_exact_size.c       | 112 ++++++++++++++++++++++++++++++++++++++
2839  3 files changed, 116 insertions(+), 2 deletions(-)
2840
2841 commit 3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda
2842 Author: Lasse Collin <lasse.collin@tukaani.org>
2843 Date:   2012-05-28 15:38:32 +0300
2844
2845     Update THANKS.
2846
2847  THANKS | 1 +
2848  1 file changed, 1 insertion(+)
2849
2850 commit 7769ea051d739a38a1640fd448cf5eb83cb119c6
2851 Author: Lasse Collin <lasse.collin@tukaani.org>
2852 Date:   2012-05-28 15:37:43 +0300
2853
2854     xz: Don't show a huge number in -vv when memory limit is disabled.
2855
2856  src/xz/message.c | 12 +++++++++++-
2857  1 file changed, 11 insertions(+), 1 deletion(-)
2858
2859 commit ec921105725e4d3ef0a683dd83eee6f24ab60ccd
2860 Author: Lasse Collin <lasse.collin@tukaani.org>
2861 Date:   2012-05-27 22:30:17 +0300
2862
2863     xz: Document the "summary" lines of --robot -lvv.
2864     
2865     This documents only the columns that are in v5.0.
2866     The new columns added in the master branch aren't
2867     necessarily stable yet.
2868
2869  src/xz/xz.1 | 19 +++++++++++++++++++
2870  1 file changed, 19 insertions(+)
2871
2872 commit 27d24eb0a9f6eed96d6a4594c2b0bf7a91d29f9a
2873 Author: Lasse Collin <lasse.collin@tukaani.org>
2874 Date:   2012-05-27 21:53:20 +0300
2875
2876     xz: Fix output of verbose --robot --list modes.
2877     
2878     It printed the filename in "filename (x/y)" format
2879     which it obviously shouldn't do in robot mode.
2880
2881  src/xz/message.c | 2 +-
2882  1 file changed, 1 insertion(+), 1 deletion(-)
2883
2884 commit ab25b82a91754d9388c89abddf806424671d9431
2885 Author: Lasse Collin <lasse.collin@tukaani.org>
2886 Date:   2012-05-24 18:33:54 +0300
2887
2888     Build: Upgrade m4/acx_pthread.m4 to the latest version.
2889
2890  m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++---------------------
2891  1 file changed, 62 insertions(+), 36 deletions(-)
2892
2893 commit d05d6d65c41a4bc83f162fa3d67c5d84e8751634
2894 Author: Lasse Collin <lasse.collin@tukaani.org>
2895 Date:   2012-05-10 21:15:17 +0300
2896
2897     Update THANKS.
2898
2899  THANKS | 1 +
2900  1 file changed, 1 insertion(+)
2901
2902 commit e077391982f9f28dbfe542bba8800e7c5b916666
2903 Author: Lasse Collin <lasse.collin@tukaani.org>
2904 Date:   2012-05-10 21:14:16 +0300
2905
2906     Docs: Cleanup line wrapping a bit.
2907
2908  README          | 12 ++++++------
2909  doc/history.txt | 49 +++++++++++++++++++++++++------------------------
2910  2 files changed, 31 insertions(+), 30 deletions(-)
2911
2912 commit fc39849c350225c6a1cd7f6e6adff1020521eabc
2913 Author: Benno Schulenberg <bensberg@justemail.net>
2914 Date:   2012-03-13 22:04:04 +0100
2915
2916     Fix a few typos and add some missing articles in some documents.
2917     
2918     Also hyphenate several compound adjectives.
2919     
2920     Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2921
2922  AUTHORS         |  6 +++---
2923  README          | 42 ++++++++++++++++++++---------------------
2924  doc/faq.txt     | 24 ++++++++++++------------
2925  doc/history.txt | 58 ++++++++++++++++++++++++++++-----------------------------
2926  4 files changed, 65 insertions(+), 65 deletions(-)
2927
2928 commit 29fa0566d5df199cb9acb2d17bf7eea61acc7fa1
2929 Author: Lasse Collin <lasse.collin@tukaani.org>
2930 Date:   2012-04-29 11:51:25 +0300
2931
2932     Windows: Update notes about static linking with MSVC.
2933
2934  windows/README-Windows.txt | 13 +++++++++----
2935  1 file changed, 9 insertions(+), 4 deletions(-)
2936
2937 commit aac1b31ea4e66cf5a7a8c116bdaa15aa45e6c56e
2938 Author: Lasse Collin <lasse.collin@tukaani.org>
2939 Date:   2012-04-19 15:25:26 +0300
2940
2941     liblzma: Remove outdated comments.
2942
2943  src/liblzma/simple/simple_coder.c   | 3 ---
2944  src/liblzma/simple/simple_private.h | 3 +--
2945  2 files changed, 1 insertion(+), 5 deletions(-)
2946
2947 commit df14a46013bea70c0bd35be7821b0b9108f97de7
2948 Author: Lasse Collin <lasse.collin@tukaani.org>
2949 Date:   2012-04-19 14:17:52 +0300
2950
2951     DOS: Link against DJGPP's libemu to support FPU emulation.
2952     
2953     This way xz should work on 386SX and 486SX. Floating point
2954     only is needed for verbose output in xz.
2955
2956  dos/Makefile | 2 +-
2957  1 file changed, 1 insertion(+), 1 deletion(-)
2958
2959 commit 03ed742a3a4931bb5c821357832083b26f577b13
2960 Author: Lasse Collin <lasse.collin@tukaani.org>
2961 Date:   2012-04-19 14:02:25 +0300
2962
2963     liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed.
2964
2965  src/liblzma/liblzma.pc.in | 2 +-
2966  1 file changed, 1 insertion(+), 1 deletion(-)
2967
2968 commit 8c5b13ad59df70f49429bfdfd6ac120b8f892fda
2969 Author: Lasse Collin <lasse.collin@tukaani.org>
2970 Date:   2012-04-19 13:58:55 +0300
2971
2972     Docs: Update MINIX 3 information in INSTALL.
2973
2974  INSTALL | 8 +++++---
2975  1 file changed, 5 insertions(+), 3 deletions(-)
2976
2977 commit c7376fc415a1566f38b2de4b516a17013d516a8b
2978 Author: Lasse Collin <lasse.collin@tukaani.org>
2979 Date:   2012-02-22 14:23:13 +0200
2980
2981     Update THANKS.
2982
2983  THANKS | 1 +
2984  1 file changed, 1 insertion(+)
2985
2986 commit cff070aba6281ba743d29a62b8c0c66e5da4b2a6
2987 Author: Lasse Collin <lasse.collin@tukaani.org>
2988 Date:   2012-02-22 14:02:34 +0200
2989
2990     Fix exit status of xzgrep when grepping binary files.
2991     
2992     When grepping binary files, grep may exit before it has
2993     read all the input. In this case, gzip -q returns 2 (eating
2994     SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status
2995     (e.g. 141). This causes wrong exit status when grepping
2996     xz- or bzip2-compressed binary files.
2997     
2998     The fix checks for the special exit status that indicates SIGPIPE.
2999     It uses kill -l which should be supported everywhere since it
3000     is in both SUSv2 (1997) and POSIX.1-2008.
3001     
3002     Thanks to James Buren for the bug report.
3003
3004  src/scripts/xzgrep.in | 3 ++-
3005  1 file changed, 2 insertions(+), 1 deletion(-)
3006
3007 commit 41cafb2bf9beea915710ee68f05fe929cd17759c
3008 Author: Lasse Collin <lasse.collin@tukaani.org>
3009 Date:   2012-02-22 12:08:43 +0200
3010
3011     Update THANKS.
3012
3013  THANKS | 1 +
3014  1 file changed, 1 insertion(+)
3015
3016 commit 2dcea03712fa881930d69ec9eff70855c3d126d9
3017 Author: Lasse Collin <lasse.collin@tukaani.org>
3018 Date:   2012-02-22 12:00:16 +0200
3019
3020     Fix compiling with IBM XL C on AIX.
3021
3022  INSTALL      | 36 ++++++++++++++++++++++--------------
3023  configure.ac |  6 +++++-
3024  2 files changed, 27 insertions(+), 15 deletions(-)
3025
3026 commit 7db6bdf4abcf524115be2cf5659ed540cef074c5
3027 Author: Lasse Collin <lasse.collin@tukaani.org>
3028 Date:   2012-01-10 17:13:03 +0200
3029
3030     Tests: Fix a compiler warning with _FORTIFY_SOURCE.
3031     
3032     Reported here:
3033     http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385
3034
3035  tests/create_compress_files.c | 3 ++-
3036  1 file changed, 2 insertions(+), 1 deletion(-)
3037
3038 commit 694952d545b6cf056547893ced69486eff9ece55
3039 Author: Lasse Collin <lasse.collin@tukaani.org>
3040 Date:   2011-12-19 21:21:29 +0200
3041
3042     Docs: Explain the stable releases better in README.
3043
3044  README | 6 +++++-
3045  1 file changed, 5 insertions(+), 1 deletion(-)
3046
3047 commit 418fe668b3c53a9a20020b6cc652aaf25c734b29
3048 Author: Lasse Collin <lasse.collin@tukaani.org>
3049 Date:   2011-11-07 13:07:52 +0200
3050
3051     xz: Show minimum required XZ Utils version in xz -lvv.
3052     
3053     Man page wasn't updated yet.
3054
3055  src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
3056  1 file changed, 57 insertions(+), 6 deletions(-)
3057
3058 commit 7081d82c37326bac97184e338345fa1c327e3580
3059 Author: Lasse Collin <lasse.collin@tukaani.org>
3060 Date:   2011-11-04 17:57:16 +0200
3061
3062     xz: Fix a typo in a comment.
3063     
3064     Thanks to Bela Lubkin.
3065
3066  src/xz/args.c | 2 +-
3067  1 file changed, 1 insertion(+), 1 deletion(-)
3068
3069 commit 232fe7cd70ad258d6a37f17e860e0f1b1891eeb5
3070 Author: Lasse Collin <lasse.collin@tukaani.org>
3071 Date:   2011-11-03 17:08:02 +0200
3072
3073     Update THANKS.
3074
3075  THANKS | 1 +
3076  1 file changed, 1 insertion(+)
3077
3078 commit 74d2bae4d3449c68453b0473dd3430ce91fd90c1
3079 Author: Lasse Collin <lasse.collin@tukaani.org>
3080 Date:   2011-11-03 17:07:22 +0200
3081
3082     xz: Fix xz on EBCDIC systems.
3083     
3084     Thanks to Chris Donawa.
3085
3086  src/xz/coder.c | 5 ++++-
3087  1 file changed, 4 insertions(+), 1 deletion(-)
3088
3089 commit 4ac4923f47cc0ef97dd9ca5cfcc44fc53eeab34a
3090 Author: Lasse Collin <lasse.collin@tukaani.org>
3091 Date:   2011-10-23 17:09:10 +0300
3092
3093     Update THANKS.
3094
3095  THANKS | 1 +
3096  1 file changed, 1 insertion(+)
3097
3098 commit ab50ae3ef40c81e5bf613905ca3fd636548b75e7
3099 Author: Lasse Collin <lasse.collin@tukaani.org>
3100 Date:   2011-10-23 17:08:14 +0300
3101
3102     liblzma: Fix invalid free() in the threaded encoder.
3103     
3104     It was triggered if initialization failed e.g. due to
3105     running out of memory.
3106     
3107     Thanks to Arkadiusz Miskiewicz.
3108
3109  src/liblzma/common/outqueue.c | 4 ++++
3110  1 file changed, 4 insertions(+)
3111
3112 commit 6b620a0f0813d28c3c544b4ff8cb595b38a6e908
3113 Author: Lasse Collin <lasse.collin@tukaani.org>
3114 Date:   2011-10-23 17:05:55 +0300
3115
3116     liblzma: Fix a deadlock in the threaded encoder.
3117     
3118     It was triggered when reinitializing the encoder,
3119     e.g. when encoding two files.
3120
3121  src/liblzma/common/stream_encoder_mt.c | 4 +++-
3122  1 file changed, 3 insertions(+), 1 deletion(-)
3123
3124 commit bd52cf150ecd51e3ab63a9cc1a3cff6a77500178
3125 Author: Lasse Collin <lasse.collin@tukaani.org>
3126 Date:   2011-09-06 12:03:41 +0300
3127
3128     Build: Fix "make check" on Windows.
3129
3130  tests/Makefile.am  | 7 +++++--
3131  windows/build.bash | 2 ++
3132  2 files changed, 7 insertions(+), 2 deletions(-)
3133
3134 commit 5c5b2256969ac473001b7d67615ed3bd0a54cc82
3135 Author: Lasse Collin <lasse.collin@tukaani.org>
3136 Date:   2011-08-09 21:19:13 +0300
3137
3138     Update THANKS.
3139
3140  THANKS | 2 ++
3141  1 file changed, 2 insertions(+)
3142
3143 commit 5b1e1f10741af9e4bbe4cfc3261fb7c7b04f7809
3144 Author: Lasse Collin <lasse.collin@tukaani.org>
3145 Date:   2011-08-09 21:16:44 +0300
3146
3147     Workaround unusual SIZE_MAX on SCO OpenServer.
3148
3149  src/common/sysdefs.h | 9 ++++++---
3150  1 file changed, 6 insertions(+), 3 deletions(-)
3151
3152 commit e9ed88126eee86e2511fa42681a5c7104820cf0a
3153 Author: Lasse Collin <lasse.collin@tukaani.org>
3154 Date:   2011-08-06 20:37:28 +0300
3155
3156     Run the scripts with the correct shell in test_scripts.sh.
3157     
3158     The scripts are now made executable in the build tree.
3159     This way the scripts can be run like programs in
3160     test_scripts.sh. Previously test_scripts.sh always
3161     used sh but it's not correct if @POSIX_SHELL@ is set
3162     to something else by configure.
3163     
3164     Thanks to Jonathan Nieder for the patch.
3165
3166  configure.ac          | 8 ++++----
3167  tests/test_scripts.sh | 8 ++++----
3168  2 files changed, 8 insertions(+), 8 deletions(-)
3169
3170 commit 1c673e5681720491a74fc4b2992e075f47302c22
3171 Author: Lasse Collin <lasse.collin@tukaani.org>
3172 Date:   2011-07-31 11:01:47 +0300
3173
3174     Fix exit status of "xzdiff foo.xz bar.xz".
3175     
3176     xzdiff was clobbering the exit status from diff in a case
3177     statement used to analyze the exit statuses from "xz" when
3178     its operands were two compressed files. Save and restore
3179     diff's exit status to fix this.
3180     
3181     The bug is inherited from zdiff in GNU gzip and was fixed
3182     there on 2009-10-09.
3183     
3184     Thanks to Jonathan Nieder for the patch and
3185     to Peter Pallinger for reporting the bug.
3186
3187  src/scripts/xzdiff.in |  2 ++
3188  tests/Makefile.am     |  4 +++-
3189  tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
3190  3 files changed, 59 insertions(+), 1 deletion(-)
3191
3192 commit 324cde7a864f4506c32ae7846d688c359a83fe65
3193 Author: Lasse Collin <lasse.collin@tukaani.org>
3194 Date:   2011-06-16 12:15:29 +0300
3195
3196     liblzma: Remove unneeded semicolon.
3197
3198  src/liblzma/lz/lz_encoder_hash.h | 2 +-
3199  1 file changed, 1 insertion(+), 1 deletion(-)
3200
3201 commit 492c86345551a51a29bf18e55fe55a5e86f169ce
3202 Author: Lasse Collin <lasse.collin@tukaani.org>
3203 Date:   2011-05-28 19:24:56 +0300
3204
3205     Build: Make configure print if symbol versioning is enabled or not.
3206
3207  configure.ac | 2 ++
3208  1 file changed, 2 insertions(+)
3209
3210 commit fc4d4436969bd4d71b704d400a165875e596034a
3211 Author: Lasse Collin <lasse.collin@tukaani.org>
3212 Date:   2011-05-28 16:43:26 +0300
3213
3214     Don't call close(-1) in tuklib_open_stdxxx() on error.
3215     
3216     Thanks to Jim Meyering.
3217
3218  src/common/tuklib_open_stdxxx.c | 4 +++-
3219  1 file changed, 3 insertions(+), 1 deletion(-)
3220
3221 commit bd35d903a04c4d388adb4065b0fa271302380895
3222 Author: Lasse Collin <lasse.collin@tukaani.org>
3223 Date:   2011-05-28 15:55:39 +0300
3224
3225     liblzma: Use symbol versioning.
3226     
3227     Symbol versioning is enabled by default on GNU/Linux,
3228     other GNU-based systems, and FreeBSD.
3229     
3230     I'm not sure how stable this is, so it may need
3231     backward-incompatible changes before the next release.
3232     
3233     The idea is that alpha and beta symbols are considered
3234     unstable and require recompiling the applications that
3235     use those symbols. Once a symbol is stable, it may get
3236     extended with new features in ways that don't break
3237     compatibility with older ABI & API.
3238     
3239     The mydist target runs validate_map.sh which should
3240     catch some probable problems in liblzma.map. Otherwise
3241     I would forget to update the map file for new releases.
3242
3243  Makefile.am                 |   1 +
3244  configure.ac                |  21 +++++++++
3245  src/liblzma/Makefile.am     |   6 +++
3246  src/liblzma/liblzma.map     | 105 ++++++++++++++++++++++++++++++++++++++++++++
3247  src/liblzma/validate_map.sh |  68 ++++++++++++++++++++++++++++
3248  5 files changed, 201 insertions(+)
3249
3250 commit afbb244362c9426a37ce4eb9d54aab768da3adad
3251 Author: Lasse Collin <lasse.collin@tukaani.org>
3252 Date:   2011-05-28 09:46:46 +0300
3253
3254     Translations: Update the Italian translation.
3255     
3256     Thanks to Milo Casagrande.
3257
3258  po/it.po | 365 +++++++++++++++++++++++++++++++++++++--------------------------
3259  1 file changed, 216 insertions(+), 149 deletions(-)
3260
3261 commit 79bef85e0543c0c3723281c3c817616c6cec343b
3262 Author: Lasse Collin <lasse.collin@tukaani.org>
3263 Date:   2011-05-28 08:46:04 +0300
3264
3265     Tests: Add a test file for the bug in the previous commit.
3266
3267  tests/files/README                  |   4 ++++
3268  tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes
3269  2 files changed, 4 insertions(+)
3270
3271 commit c0297445064951807803457dca1611b3c47e7f0f
3272 Author: Lasse Collin <lasse.collin@tukaani.org>
3273 Date:   2011-05-27 22:25:44 +0300
3274
3275     xz: Fix error handling in xz -lvv.
3276     
3277     It could do an invalid free() and read past the end
3278     of the uninitialized filters array.
3279
3280  src/xz/list.c | 21 ++++++---------------
3281  1 file changed, 6 insertions(+), 15 deletions(-)
3282
3283 commit 8bd91918ac50731f00b1a2a48072980572eb2ff9
3284 Author: Lasse Collin <lasse.collin@tukaani.org>
3285 Date:   2011-05-27 22:09:49 +0300
3286
3287     liblzma: Handle allocation failures correctly in lzma_index_init().
3288     
3289     Thanks to Jim Meyering.
3290
3291  src/liblzma/common/index.c | 7 +++++--
3292  1 file changed, 5 insertions(+), 2 deletions(-)
3293
3294 commit fe00f95828ef5627721b57e054f7eb2d42a2c961
3295 Author: Lasse Collin <lasse.collin@tukaani.org>
3296 Date:   2011-05-24 00:23:46 +0300
3297
3298     Build: Fix checking for system-provided SHA-256.
3299
3300  configure.ac | 2 +-
3301  1 file changed, 1 insertion(+), 1 deletion(-)
3302
3303 commit 21b45b9bab541f419712cbfd473ccc31802e0397
3304 Author: Lasse Collin <lasse.collin@tukaani.org>
3305 Date:   2011-05-23 18:30:30 +0300
3306
3307     Build: Set GZIP_ENV=-9n in top-level Makefile.am.
3308
3309  Makefile.am | 3 +++
3310  1 file changed, 3 insertions(+)
3311
3312 commit 48053e8a4550233af46359024538bff90c870ab1
3313 Author: Lasse Collin <lasse.collin@tukaani.org>
3314 Date:   2011-05-22 16:42:11 +0300
3315
3316     Update NEWS for 5.0.3.
3317
3318  NEWS | 32 ++++++++++++++++++++++++++++++++
3319  1 file changed, 32 insertions(+)
3320
3321 commit bba37df2c9e54ad773e15ff00a09d2d6989fb3b2
3322 Author: Lasse Collin <lasse.collin@tukaani.org>
3323 Date:   2011-05-21 16:28:44 +0300
3324
3325     Add French translation.
3326     
3327     It is known that the BCJ filter --help text is only
3328     partially translated.
3329
3330  po/LINGUAS |   1 +
3331  po/fr.po   | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3332  2 files changed, 865 insertions(+)
3333
3334 commit 4161d7634965a7a287bf208dcd79f6185f448fe8
3335 Author: Lasse Collin <lasse.collin@tukaani.org>
3336 Date:   2011-05-21 15:12:10 +0300
3337
3338     xz: Translate also the string used to print the program name.
3339     
3340     French needs a space before a colon, e.g. "xz : foo error".
3341
3342  src/xz/message.c | 6 +++++-
3343  1 file changed, 5 insertions(+), 1 deletion(-)
3344
3345 commit b94aa0c8380cdb18cddb33440d625474c16643cf
3346 Author: Lasse Collin <lasse.collin@tukaani.org>
3347 Date:   2011-05-21 15:08:44 +0300
3348
3349     liblzma: Try to use SHA-256 from the operating system.
3350     
3351     If the operating system libc or other base libraries
3352     provide SHA-256, use that instead of our own copy.
3353     Note that this doesn't use OpenSSL or libgcrypt or
3354     such libraries to avoid creating dependencies to
3355     other packages.
3356     
3357     This supports at least FreeBSD, NetBSD, OpenBSD, Solaris,
3358     MINIX, and Darwin. They all provide similar but not
3359     identical SHA-256 APIs; everyone is a little different.
3360     
3361     Thanks to Wim Lewis for the original patch, improvements,
3362     and testing.
3363
3364  configure.ac                   | 54 +++++++++++++++++++++++++++
3365  src/liblzma/check/Makefile.inc |  2 +
3366  src/liblzma/check/check.h      | 83 ++++++++++++++++++++++++++++++++++++++----
3367  3 files changed, 131 insertions(+), 8 deletions(-)
3368
3369 commit f004128678d43ea10b4a6401aa184cf83252d6ec
3370 Author: Lasse Collin <lasse.collin@tukaani.org>
3371 Date:   2011-05-17 12:52:18 +0300
3372
3373     Don't use clockid_t in mythread.h when clock_gettime() isn't available.
3374     
3375     Thanks to Wim Lewis for the patch.
3376
3377  src/common/mythread.h | 2 ++
3378  1 file changed, 2 insertions(+)
3379
3380 commit f779516f42ebd2db47a5b7d6143459bf7737cf2f
3381 Author: Lasse Collin <lasse.collin@tukaani.org>
3382 Date:   2011-05-17 12:26:28 +0300
3383
3384     Update THANKS.
3385
3386  THANKS | 3 +++
3387  1 file changed, 3 insertions(+)
3388
3389 commit 830ba587775bb562f6eaf05cad61bf669d1f8892
3390 Author: Lasse Collin <lasse.collin@tukaani.org>
3391 Date:   2011-05-17 12:21:33 +0300
3392
3393     Update INSTALL with a note about linker problem on OpenSolaris x86.
3394
3395  INSTALL | 23 +++++++++++++++++------
3396  1 file changed, 17 insertions(+), 6 deletions(-)
3397
3398 commit ec7106309c8060e9c646dba20c4f15689a0bbb04
3399 Author: Lasse Collin <lasse.collin@tukaani.org>
3400 Date:   2011-05-17 12:01:37 +0300
3401
3402     Build: Fix initialization of enable_check_* variables in configure.ac.
3403     
3404     This doesn't matter much in practice since it is unlikely
3405     that anyone would have such environment variable names.
3406     
3407     Thanks to Wim Lewis.
3408
3409  configure.ac | 2 +-
3410  1 file changed, 1 insertion(+), 1 deletion(-)
3411
3412 commit 4c6e146df99696920f12410fb17754412797ef36
3413 Author: Lasse Collin <lasse.collin@tukaani.org>
3414 Date:   2011-05-17 11:54:38 +0300
3415
3416     Add underscores to attributes (__attribute((__foo__))).
3417
3418  src/liblzma/common/alone_decoder.c |  2 +-
3419  src/liblzma/common/alone_encoder.c |  2 +-
3420  src/liblzma/common/block_encoder.c |  2 +-
3421  src/liblzma/common/common.c        |  2 +-
3422  src/liblzma/common/common.h        |  2 +-
3423  src/liblzma/common/index_decoder.c |  9 +++++----
3424  src/liblzma/common/index_encoder.c | 11 ++++++-----
3425  src/liblzma/delta/delta_encoder.c  |  2 +-
3426  src/liblzma/lz/lz_decoder.c        |  2 +-
3427  src/liblzma/lz/lz_encoder.c        |  2 +-
3428  src/liblzma/simple/arm.c           |  2 +-
3429  src/liblzma/simple/armthumb.c      |  2 +-
3430  src/liblzma/simple/ia64.c          |  2 +-
3431  src/liblzma/simple/powerpc.c       |  2 +-
3432  src/liblzma/simple/simple_coder.c  |  2 +-
3433  src/liblzma/simple/sparc.c         |  2 +-
3434  src/lzmainfo/lzmainfo.c            |  4 ++--
3435  src/xz/coder.c                     |  2 +-
3436  src/xz/hardware.h                  |  2 +-
3437  src/xz/message.c                   |  2 +-
3438  src/xz/message.h                   | 18 +++++++++---------
3439  src/xz/options.c                   |  6 +++---
3440  src/xz/signals.c                   |  2 +-
3441  src/xz/util.h                      |  6 +++---
3442  src/xzdec/xzdec.c                  |  6 +++---
3443  25 files changed, 49 insertions(+), 47 deletions(-)
3444
3445 commit 7a480e485938884ef3021b48c3b0b9f9699dc9b6
3446 Author: Lasse Collin <lasse.collin@tukaani.org>
3447 Date:   2011-05-01 12:24:23 +0300
3448
3449     xz: Fix input file position when --single-stream is used.
3450     
3451     Now the following works as you would expect:
3452     
3453         echo foo | xz > foo.xz
3454         echo bar | xz >> foo.xz
3455         ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz
3456     
3457     Note that it doesn't work if the input is not seekable
3458     or if there is Stream Padding between the concatenated
3459     .xz Streams.
3460
3461  src/xz/coder.c   |  1 +
3462  src/xz/file_io.c | 15 +++++++++++++++
3463  src/xz/file_io.h | 13 +++++++++++++
3464  3 files changed, 29 insertions(+)
3465
3466 commit c29e6630c1450c630c4e7b783bdd76515db9004c
3467 Author: Lasse Collin <lasse.collin@tukaani.org>
3468 Date:   2011-05-01 12:15:51 +0300
3469
3470     xz: Print the maximum number of worker threads in xz -vv.
3471
3472  src/xz/coder.c | 4 ++++
3473  1 file changed, 4 insertions(+)
3474
3475 commit 0b77c4a75158ccc416b07d6e81df8ee0abaea720
3476 Author: Lasse Collin <lasse.collin@tukaani.org>
3477 Date:   2011-04-19 10:44:48 +0300
3478
3479     Build: Warn if no supported method to detect the number of CPU cores.
3480
3481  configure.ac | 11 +++++------
3482  1 file changed, 5 insertions(+), 6 deletions(-)
3483
3484 commit e4622df9ab4982f8faa53d85b17be66216175a58
3485 Author: Lasse Collin <lasse.collin@tukaani.org>
3486 Date:   2011-04-19 09:55:06 +0300
3487
3488     Update THANKS.
3489
3490  THANKS | 1 +
3491  1 file changed, 1 insertion(+)
3492
3493 commit 9c1b05828a88eff54409760b92162c7cc2c7cff6
3494 Author: Lasse Collin <lasse.collin@tukaani.org>
3495 Date:   2011-04-19 09:20:44 +0300
3496
3497     Fix portability problems in mythread.h.
3498     
3499     Use gettimeofday() if clock_gettime() isn't available
3500     (e.g. Darwin).
3501     
3502     The test for availability of pthread_condattr_setclock()
3503     and CLOCK_MONOTONIC was incorrect. Instead of fixing the
3504     #ifdefs, use an Autoconf test. That way if there exists a
3505     system that supports them but doesn't specify the matching
3506     POSIX #defines, the features will still get detected.
3507     
3508     Don't try to use pthread_sigmask() on OpenVMS. It doesn't
3509     have that function.
3510     
3511     Guard mythread.h against being #included multiple times.
3512
3513  configure.ac          |  7 +++++++
3514  src/common/mythread.h | 31 +++++++++++++++++++++++++++----
3515  2 files changed, 34 insertions(+), 4 deletions(-)
3516
3517 commit 3de00cc75da7b0e7b65e84c62b5351e231f501e9
3518 Author: Lasse Collin <lasse.collin@tukaani.org>
3519 Date:   2011-04-18 19:35:49 +0300
3520
3521     Update THANKS.
3522
3523  THANKS | 2 ++
3524  1 file changed, 2 insertions(+)
3525
3526 commit bd5002f5821e3d1b04f2f56989e4a19318e73633
3527 Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
3528 Date:   2011-04-15 04:54:49 -0400
3529
3530     xzgrep: fix typo in $0 parsing
3531     
3532     Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org>
3533     Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
3534     Signed-off-by: Mike Frysinger <vapier@gentoo.org>
3535
3536  src/scripts/xzgrep.in | 4 ++--
3537  1 file changed, 2 insertions(+), 2 deletions(-)
3538
3539 commit 6ef4eabc0acc49e1bb9dc68064706e19fa9fcf48
3540 Author: Lasse Collin <lasse.collin@tukaani.org>
3541 Date:   2011-04-12 12:48:31 +0300
3542
3543     Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99.
3544
3545  src/liblzma/Makefile.am        | 2 +-
3546  src/liblzma/api/lzma/version.h | 2 +-
3547  2 files changed, 2 insertions(+), 2 deletions(-)
3548
3549 commit 9a4377be0d21e597c66bad6c7452873aebfb3c1c
3550 Author: Lasse Collin <lasse.collin@tukaani.org>
3551 Date:   2011-04-12 12:42:37 +0300
3552
3553     Put the unstable APIs behind #ifdef LZMA_UNSTABLE.
3554     
3555     This way people hopefully won't complain if these APIs
3556     change and break code that used an older API.
3557
3558  src/liblzma/api/lzma/container.h | 4 ++++
3559  src/liblzma/common/common.h      | 2 ++
3560  src/xz/private.h                 | 2 ++
3561  3 files changed, 8 insertions(+)
3562
3563 commit 3e321a3acd50002cf6fdfd259e910f56d3389bc3
3564 Author: Lasse Collin <lasse.collin@tukaani.org>
3565 Date:   2011-04-12 11:59:49 +0300
3566
3567     Remove doubled words from documentation and comments.
3568     
3569     Spot candidates by running these commands:
3570       git ls-files |xargs perl -0777 -n \
3571         -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \
3572         -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}'
3573     
3574     Thanks to Jim Meyering for the original patch.
3575
3576  doc/lzma-file-format.txt           | 4 ++--
3577  src/liblzma/common/alone_encoder.c | 2 +-
3578  src/liblzma/lzma/lzma2_encoder.c   | 2 +-
3579  src/xz/file_io.c                   | 2 +-
3580  src/xz/xz.1                        | 2 +-
3581  windows/INSTALL-Windows.txt        | 2 +-
3582  6 files changed, 7 insertions(+), 7 deletions(-)
3583
3584 commit d91a84b534b012d19474f2fda1fbcaef873e1ba4
3585 Author: Lasse Collin <lasse.collin@tukaani.org>
3586 Date:   2011-04-12 11:46:01 +0300
3587
3588     Update NEWS.
3589
3590  NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++--
3591  1 file changed, 45 insertions(+), 2 deletions(-)
3592
3593 commit 14e6ad8cfe0165c1a8beeb5b2a1536558b29b0a1
3594 Author: Lasse Collin <lasse.collin@tukaani.org>
3595 Date:   2011-04-12 11:45:40 +0300
3596
3597     Update TODO.
3598
3599  TODO | 12 +++++++++++-
3600  1 file changed, 11 insertions(+), 1 deletion(-)
3601
3602 commit 70e750f59793f9b5cd306a5adce9b8e427739e04
3603 Author: Lasse Collin <lasse.collin@tukaani.org>
3604 Date:   2011-04-12 11:08:55 +0300
3605
3606     xz: Update the man page about threading.
3607
3608  src/xz/xz.1 | 34 ++++++++++++++++++++--------------
3609  1 file changed, 20 insertions(+), 14 deletions(-)
3610
3611 commit 24e0406c0fb7494d2037dec033686faf1bf67068
3612 Author: Lasse Collin <lasse.collin@tukaani.org>
3613 Date:   2011-04-11 22:06:03 +0300
3614
3615     xz: Add support for threaded compression.
3616
3617  src/xz/args.c  |   3 +-
3618  src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++----------------------
3619  2 files changed, 125 insertions(+), 80 deletions(-)
3620
3621 commit de678e0c924aa79a19293a8a6ed82e8cb6572a42
3622 Author: Lasse Collin <lasse.collin@tukaani.org>
3623 Date:   2011-04-11 22:03:30 +0300
3624
3625     liblzma: Add lzma_stream_encoder_mt() for threaded compression.
3626     
3627     This is the simplest method to do threading, which splits
3628     the uncompressed data into blocks and compresses them
3629     independently from each other. There's room for improvement
3630     especially to reduce the memory usage, but nevertheless,
3631     this is a good start.
3632
3633  configure.ac                           |    1 +
3634  src/liblzma/api/lzma/container.h       |  163 +++++
3635  src/liblzma/common/Makefile.inc        |    7 +
3636  src/liblzma/common/common.c            |    9 +-
3637  src/liblzma/common/common.h            |   14 +
3638  src/liblzma/common/outqueue.c          |  180 ++++++
3639  src/liblzma/common/outqueue.h          |  155 +++++
3640  src/liblzma/common/stream_encoder_mt.c | 1011 ++++++++++++++++++++++++++++++++
3641  8 files changed, 1539 insertions(+), 1 deletion(-)
3642
3643 commit 25fe729532cdf4b8fed56a4519b73cf31efaec50
3644 Author: Lasse Collin <lasse.collin@tukaani.org>
3645 Date:   2011-04-11 21:15:07 +0300
3646
3647     liblzma: Add the forgotten lzma_lzma2_block_size().
3648     
3649     This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a.
3650
3651  src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++
3652  src/liblzma/lzma/lzma2_encoder.h |  2 ++
3653  2 files changed, 12 insertions(+)
3654
3655 commit 91afb785a1dee34862078d9bf844ef12b8cc3e35
3656 Author: Lasse Collin <lasse.collin@tukaani.org>
3657 Date:   2011-04-11 21:04:13 +0300
3658
3659     liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
3660
3661  src/liblzma/api/lzma/container.h | 9 +++++++++
3662  1 file changed, 9 insertions(+)
3663
3664 commit 4a9905302a9e4a1601ae09d650d3f08ce98ae9ee
3665 Author: Lasse Collin <lasse.collin@tukaani.org>
3666 Date:   2011-04-11 20:59:07 +0300
3667
3668     liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
3669     
3670     It didn't mention the return value that is used if
3671     an error occurs.
3672
3673  src/liblzma/api/lzma/filter.h | 8 ++++++--
3674  1 file changed, 6 insertions(+), 2 deletions(-)
3675
3676 commit 0badb0b1bd649163322783b0bd9e590b4bc7a93d
3677 Author: Lasse Collin <lasse.collin@tukaani.org>
3678 Date:   2011-04-11 19:28:18 +0300
3679
3680     liblzma: Use memzero() to initialize supported_actions[].
3681     
3682     This is cleaner and makes it simpler to add new members
3683     to lzma_action enumeration.
3684
3685  src/liblzma/common/common.c | 6 ++----
3686  1 file changed, 2 insertions(+), 4 deletions(-)
3687
3688 commit a7934c446a58e20268689899d2a39f50e571f251
3689 Author: Lasse Collin <lasse.collin@tukaani.org>
3690 Date:   2011-04-11 19:26:27 +0300
3691
3692     liblzma: API comment about lzma_allocator with threaded coding.
3693
3694  src/liblzma/api/lzma/base.h | 18 +++++++++++++-----
3695  1 file changed, 13 insertions(+), 5 deletions(-)
3696
3697 commit 5eefc0086d24a65e136352f8c1d19cefb0cbac7a
3698 Author: Lasse Collin <lasse.collin@tukaani.org>
3699 Date:   2011-04-11 19:16:30 +0300
3700
3701     liblzma: Add an internal function lzma_mt_block_size().
3702     
3703     This is based lzma_chunk_size() that was included in some
3704     development version of liblzma.
3705
3706  src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++-------------------
3707  src/liblzma/common/filter_encoder.h |  4 ++--
3708  2 files changed, 24 insertions(+), 26 deletions(-)
3709
3710 commit d1199274758049fc523d98c5b860ff814a799eec
3711 Author: Lasse Collin <lasse.collin@tukaani.org>
3712 Date:   2011-04-11 13:59:50 +0300
3713
3714     liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
3715     
3716     Empty Block was created if the input buffer was empty.
3717     Empty Block wastes a few bytes of space, but more importantly
3718     it triggers a bug in XZ Utils 5.0.1 and older when trying
3719     to decompress such a file. 5.0.1 and older consider such
3720     files to be corrupt. I thought that no encoder creates empty
3721     Blocks when releasing 5.0.2 but I was wrong.
3722
3723  src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++-------
3724  1 file changed, 13 insertions(+), 7 deletions(-)
3725
3726 commit 3b22fc2c87ec85fcdd385c163b68fc49c97aa848
3727 Author: Lasse Collin <lasse.collin@tukaani.org>
3728 Date:   2011-04-11 13:28:40 +0300
3729
3730     liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
3731     
3732     This return value was missing from the API comments of
3733     four functions.
3734
3735  src/liblzma/api/lzma/block.h     | 1 +
3736  src/liblzma/api/lzma/container.h | 3 +++
3737  2 files changed, 4 insertions(+)
3738
3739 commit 71b9380145dccf001f22e66a06b9d508905c25ce
3740 Author: Lasse Collin <lasse.collin@tukaani.org>
3741 Date:   2011-04-11 13:21:28 +0300
3742
3743     liblzma: Validate encoder arguments better.
3744     
3745     The biggest problem was that the integrity check type
3746     wasn't validated, and e.g. lzma_easy_buffer_encode()
3747     would create a corrupt .xz Stream if given an unsupported
3748     Check ID. Luckily applications don't usually try to use
3749     an unsupport Check ID, so this bug is unlikely to cause
3750     many real-world problems.
3751
3752  src/liblzma/common/block_buffer_encoder.c  | 18 ++++++++++++------
3753  src/liblzma/common/block_encoder.c         |  5 +++++
3754  src/liblzma/common/stream_buffer_encoder.c |  3 +++
3755  3 files changed, 20 insertions(+), 6 deletions(-)
3756
3757 commit ec7e3dbad704268825fc48f0bdd4577bc46b4f13
3758 Author: Lasse Collin <lasse.collin@tukaani.org>
3759 Date:   2011-04-11 09:57:30 +0300
3760
3761     xz: Move the description of --block-size in --long-help.
3762
3763  src/xz/message.c | 8 ++++----
3764  1 file changed, 4 insertions(+), 4 deletions(-)
3765
3766 commit cd3086ff443bb282bdf556919c28b3e3cbed8169
3767 Author: Lasse Collin <lasse.collin@tukaani.org>
3768 Date:   2011-04-11 09:55:35 +0300
3769
3770     Docs: Document --single-stream and --block-size.
3771
3772  src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++--
3773  1 file changed, 36 insertions(+), 2 deletions(-)
3774
3775 commit fb64a4924334e3c440865710990fe08090f2fed0
3776 Author: Lasse Collin <lasse.collin@tukaani.org>
3777 Date:   2011-04-11 09:27:57 +0300
3778
3779     liblzma: Make lzma_stream_encoder_init() static (second try).
3780     
3781     It's an internal function and it's not needed by
3782     anything outside stream_encoder.c.
3783
3784  src/liblzma/common/Makefile.inc     |  1 -
3785  src/liblzma/common/easy_encoder.c   |  1 -
3786  src/liblzma/common/stream_encoder.c | 13 ++++++-------
3787  src/liblzma/common/stream_encoder.h | 23 -----------------------
3788  4 files changed, 6 insertions(+), 32 deletions(-)
3789
3790 commit a34730cf6af4d33a4057914e57227b6dfde6567e
3791 Author: Lasse Collin <lasse.collin@tukaani.org>
3792 Date:   2011-04-11 08:31:42 +0300
3793
3794     Revert "liblzma: Make lzma_stream_encoder_init() static."
3795     
3796     This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7.
3797     I don't know what I was thinking.
3798
3799  src/liblzma/common/Makefile.inc     |  1 +
3800  src/liblzma/common/stream_encoder.c |  9 +++++----
3801  src/liblzma/common/stream_encoder.h | 23 +++++++++++++++++++++++
3802  3 files changed, 29 insertions(+), 4 deletions(-)
3803
3804 commit 9f0a806aef7ea79718e3f1f2baf3564295229a27
3805 Author: Lasse Collin <lasse.collin@tukaani.org>
3806 Date:   2011-04-10 21:23:21 +0300
3807
3808     Revise mythread.h.
3809     
3810     This adds:
3811     
3812       - mythread_sync() macro to create synchronized blocks
3813     
3814       - mythread_cond structure and related functions
3815         and macros for condition variables with timed
3816         waiting using a relative timeout
3817     
3818       - mythread_create() to create a thread with all
3819         signals blocked
3820     
3821     Some of these wouldn't need to be inline functions,
3822     but I'll keep them this way for now for simplicity.
3823     
3824     For timed waiting on a condition variable, librt is
3825     now required on some systems to use clock_gettime().
3826     configure.ac was updated to handle this.
3827
3828  configure.ac          |   1 +
3829  src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++-----
3830  2 files changed, 181 insertions(+), 20 deletions(-)
3831
3832 commit 352ac82db5d3f64585c07b39e4759388dec0e4d7
3833 Author: Lasse Collin <lasse.collin@tukaani.org>
3834 Date:   2011-04-10 20:37:36 +0300
3835
3836     liblzma: Make lzma_stream_encoder_init() static.
3837     
3838     It's an internal function and it's not needed by
3839     anything outside stream_encoder.c.
3840
3841  src/liblzma/common/Makefile.inc     |  1 -
3842  src/liblzma/common/stream_encoder.c |  9 ++++-----
3843  src/liblzma/common/stream_encoder.h | 23 -----------------------
3844  3 files changed, 4 insertions(+), 29 deletions(-)
3845
3846 commit 9e807fe3fe79618ac48f58207cf7082ea20a6928
3847 Author: Lasse Collin <lasse.collin@tukaani.org>
3848 Date:   2011-04-10 14:58:10 +0300
3849
3850     DOS: Update the docs and include notes about 8.3 filenames.
3851
3852  dos/INSTALL.txt |  79 ++++++++++++++++++++++++++++++++++++
3853  dos/README      |  88 ----------------------------------------
3854  dos/README.txt  | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3855  3 files changed, 202 insertions(+), 88 deletions(-)
3856
3857 commit ebd54dbd6e481d31e80757f900ac8109ad1423c6
3858 Author: Lasse Collin <lasse.collin@tukaani.org>
3859 Date:   2011-04-10 13:09:42 +0300
3860
3861     xz/DOS: Add experimental 8.3 filename support.
3862     
3863     This is incompatible with the 8.3 support patch made by
3864     Juan Manuel Guerrero. I think this one is nicer, but
3865     I need to get feedback from DOS users before saying
3866     that this is the final version of 8.3 filename support.
3867
3868  src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
3869  1 file changed, 167 insertions(+), 9 deletions(-)
3870
3871 commit cd4fe97852bcaeffe674ee51b4613709292a0972
3872 Author: Lasse Collin <lasse.collin@tukaani.org>
3873 Date:   2011-04-10 12:47:47 +0300
3874
3875     xz/DOS: Be more careful with the destination file.
3876     
3877     Try to avoid overwriting the source file if --force is
3878     used and the generated destination filename refers to
3879     the source file. This can happen with 8.3 filenames where
3880     extra characters are ignored.
3881     
3882     If the generated output file refers to a special file
3883     like "con" or "prn", refuse to write to it even if --force
3884     is used.
3885
3886  src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++--
3887  1 file changed, 33 insertions(+), 2 deletions(-)
3888
3889 commit 607f9f98ae5ef6d49f4c21c806d462bf6b3d6796
3890 Author: Lasse Collin <lasse.collin@tukaani.org>
3891 Date:   2011-04-09 18:29:30 +0300
3892
3893     Update THANKS.
3894
3895  THANKS | 1 +
3896  1 file changed, 1 insertion(+)
3897
3898 commit fca396b37410d272b754843a5dc13847be443a3a
3899 Author: Lasse Collin <lasse.collin@tukaani.org>
3900 Date:   2011-04-09 18:28:58 +0300
3901
3902     liblzma: Add missing #ifdefs to filter_common.c.
3903     
3904     Passing --disable-decoders to configure broke a few
3905     encoders due to missing #ifdefs in filter_common.c.
3906     
3907     Thanks to Jason Gorski for the patch.
3908
3909  src/liblzma/common/filter_common.c | 6 +++---
3910  1 file changed, 3 insertions(+), 3 deletions(-)
3911
3912 commit b03f6cd3ebadd675f2cc9d518cb26fa860269447
3913 Author: Lasse Collin <lasse.collin@tukaani.org>
3914 Date:   2011-04-09 15:24:59 +0300
3915
3916     xz: Avoid unneeded fstat() on DOS-like systems.
3917
3918  src/xz/file_io.c | 14 ++++++++------
3919  1 file changed, 8 insertions(+), 6 deletions(-)
3920
3921 commit 335fe260a81f61ec99ff5940df733b4c50aedb7c
3922 Author: Lasse Collin <lasse.collin@tukaani.org>
3923 Date:   2011-04-09 15:11:13 +0300
3924
3925     xz: Minor internal changes to handling of --threads.
3926     
3927     Now it always defaults to one thread. Maybe this
3928     will change again if a threading method is added
3929     that doesn't affect memory usage.
3930
3931  src/xz/args.c     |  4 ++--
3932  src/xz/hardware.c | 24 ++++++++++++------------
3933  src/xz/hardware.h |  9 ++++-----
3934  3 files changed, 18 insertions(+), 19 deletions(-)
3935
3936 commit 9edd6ee895fbe71d245a173f48e511f154a99875
3937 Author: Lasse Collin <lasse.collin@tukaani.org>
3938 Date:   2011-04-08 17:53:05 +0300
3939
3940     xz: Change size_t to uint32_t in a few places.
3941
3942  src/xz/coder.c | 6 +++---
3943  src/xz/coder.h | 2 +-
3944  2 files changed, 4 insertions(+), 4 deletions(-)
3945
3946 commit 411013ea4506a6df24d35a060fcbd73a57b73eb3
3947 Author: Lasse Collin <lasse.collin@tukaani.org>
3948 Date:   2011-04-08 17:48:41 +0300
3949
3950     xz: Fix a typo in a comment.
3951
3952  src/xz/coder.c | 2 +-
3953  1 file changed, 1 insertion(+), 1 deletion(-)
3954
3955 commit b34c5ce4b22e8d7b81f9895d15054af41d17f805
3956 Author: Lasse Collin <lasse.collin@tukaani.org>
3957 Date:   2011-04-05 22:41:33 +0300
3958
3959     liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c.
3960
3961  src/liblzma/check/sha256.c | 6 +++---
3962  1 file changed, 3 insertions(+), 3 deletions(-)
3963
3964 commit db33117cc85c17e0b897b5312bd5eb43aac41c03
3965 Author: Lasse Collin <lasse.collin@tukaani.org>
3966 Date:   2011-04-05 17:12:20 +0300
3967
3968     Build: Upgrade m4/acx_pthread.m4 to the latest version.
3969     
3970     It was renamed to ax_pthread.m4 in Autoconf Archive.
3971
3972  configure.ac      |   2 +-
3973  m4/acx_pthread.m4 | 279 -----------------------------------------------------
3974  m4/ax_pthread.m4  | 283 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
3975  3 files changed, 284 insertions(+), 280 deletions(-)
3976
3977 commit 1039bfcfc098b69d56ecb39d198a092552eacf6d
3978 Author: Lasse Collin <lasse.collin@tukaani.org>
3979 Date:   2011-04-05 15:27:26 +0300
3980
3981     xz: Use posix_fadvise() if it is available.
3982
3983  configure.ac     |  3 +++
3984  src/xz/file_io.c | 15 +++++++++++++++
3985  2 files changed, 18 insertions(+)
3986
3987 commit 1ef3cf44a8eb9512480af4482a5232ea08363b14
3988 Author: Lasse Collin <lasse.collin@tukaani.org>
3989 Date:   2011-04-05 15:13:29 +0300
3990
3991     xz: Call lzma_end(&strm) before exiting if debugging is enabled.
3992
3993  src/xz/coder.c | 10 ++++++++++
3994  src/xz/coder.h |  5 +++++
3995  src/xz/main.c  |  4 ++++
3996  3 files changed, 19 insertions(+)
3997
3998 commit bd432015d33dcade611d297bc01eb0700088ef6c
3999 Author: Lasse Collin <lasse.collin@tukaani.org>
4000 Date:   2011-04-02 14:49:56 +0300
4001
4002     liblzma: Fix a memory leak in stream_encoder.c.
4003     
4004     It leaks old filter options structures (hundred bytes or so)
4005     every time the lzma_stream is reinitialized. With the xz tool,
4006     this happens when compressing multiple files.
4007
4008  src/liblzma/common/stream_encoder.c | 2 +-
4009  1 file changed, 1 insertion(+), 1 deletion(-)
4010
4011 commit 16889013214e7620d204b6e6c1bf9f3103a13655
4012 Author: Lasse Collin <lasse.collin@tukaani.org>
4013 Date:   2011-04-01 08:47:20 +0300
4014
4015     Updated NEWS for 5.0.2.
4016
4017  NEWS | 18 ++++++++++++++++++
4018  1 file changed, 18 insertions(+)
4019
4020 commit 85cdf7dd4e97b078e7b929e47f55a7f1da36010f
4021 Author: Lasse Collin <lasse.collin@tukaani.org>
4022 Date:   2011-03-31 15:06:58 +0300
4023
4024     Update INSTALL with another note about IRIX.
4025
4026  INSTALL | 4 ++++
4027  1 file changed, 4 insertions(+)
4028
4029 commit c3f4995586873d6a4fb7e451010a128571a9a370
4030 Author: Lasse Collin <lasse.collin@tukaani.org>
4031 Date:   2011-03-31 12:22:55 +0300
4032
4033     Tests: Add a new file to test empty LZMA2 streams.
4034
4035  tests/files/README            |   4 ++++
4036  tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes
4037  2 files changed, 4 insertions(+)
4038
4039 commit 0d21f49a809dc2088da6cc0da7f948404df7ecfa
4040 Author: Lasse Collin <lasse.collin@tukaani.org>
4041 Date:   2011-03-31 11:54:48 +0300
4042
4043     liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
4044     
4045     The decoder considered empty LZMA2 streams to be corrupt.
4046     This shouldn't matter much with .xz files, because no encoder
4047     creates empty LZMA2 streams in .xz. This bug is more likely
4048     to cause problems in applications that use raw LZMA2 streams.
4049
4050  src/liblzma/lzma/lzma2_decoder.c | 8 ++++----
4051  1 file changed, 4 insertions(+), 4 deletions(-)
4052
4053 commit 40277998cb9bad564ce4827aff152e6e1c904dfa
4054 Author: Lasse Collin <lasse.collin@tukaani.org>
4055 Date:   2011-03-24 01:42:49 +0200
4056
4057     Scripts: Better fix for xzgrep.
4058     
4059     Now it uses "grep -q".
4060     
4061     Thanks to Gregory Margo.
4062
4063  src/scripts/xzgrep.in | 8 ++++++--
4064  1 file changed, 6 insertions(+), 2 deletions(-)
4065
4066 commit 2118733045ad0ca183a3f181a0399baf876983a6
4067 Author: Lasse Collin <lasse.collin@tukaani.org>
4068 Date:   2011-03-24 01:22:18 +0200
4069
4070     Updated THANKS.
4071
4072  THANKS | 1 +
4073  1 file changed, 1 insertion(+)
4074
4075 commit c7210d9a3fca6f31a57208bfddfc9ab20a2e097a
4076 Author: Lasse Collin <lasse.collin@tukaani.org>
4077 Date:   2011-03-24 01:21:32 +0200
4078
4079     Scripts: Fix xzgrep -l.
4080     
4081     It didn't work at all. It tried to use the -q option
4082     for grep, but it appended it after "--". This works
4083     around it by redirecting to /dev/null. The downside
4084     is that this can be slower with big files compared
4085     to proper use of "grep -q".
4086     
4087     Thanks to Gregory Margo.
4088
4089  src/scripts/xzgrep.in | 4 ++--
4090  1 file changed, 2 insertions(+), 2 deletions(-)
4091
4092 commit 4eb83e32046a6d670862bc91c3d82530963b455e
4093 Author: Lasse Collin <lasse.collin@tukaani.org>
4094 Date:   2011-03-19 13:08:22 +0200
4095
4096     Scripts: Add lzop (.lzo) support to xzdiff and xzgrep.
4097
4098  src/scripts/xzdiff.1  |  6 ++++--
4099  src/scripts/xzdiff.in | 22 ++++++++++++++--------
4100  src/scripts/xzgrep.1  | 11 +++++++----
4101  src/scripts/xzgrep.in |  5 +++--
4102  4 files changed, 28 insertions(+), 16 deletions(-)
4103
4104 commit 923b22483bd9356f3219b2b784d96f455f4dc499
4105 Author: Lasse Collin <lasse.collin@tukaani.org>
4106 Date:   2011-03-18 19:10:30 +0200
4107
4108     xz: Add --block-size=SIZE.
4109     
4110     This uses LZMA_FULL_FLUSH every SIZE bytes of input.
4111     
4112     Man page wasn't updated yet.
4113
4114  src/xz/args.c    |  7 +++++++
4115  src/xz/coder.c   | 50 ++++++++++++++++++++++++++++++++++++++++----------
4116  src/xz/coder.h   |  3 +++
4117  src/xz/message.c |  4 ++++
4118  4 files changed, 54 insertions(+), 10 deletions(-)
4119
4120 commit 57597d42ca1740ad506437be168d800a50f1a0ad
4121 Author: Lasse Collin <lasse.collin@tukaani.org>
4122 Date:   2011-03-18 18:19:19 +0200
4123
4124     xz: Add --single-stream.
4125     
4126     This can be useful when there is garbage after the
4127     compressed stream (.xz, .lzma, or raw stream).
4128     
4129     Man page wasn't updated yet.
4130
4131  src/xz/args.c    |  6 ++++++
4132  src/xz/coder.c   | 11 +++++++++--
4133  src/xz/coder.h   |  3 +++
4134  src/xz/message.c |  6 +++++-
4135  4 files changed, 23 insertions(+), 3 deletions(-)
4136
4137 commit 96f94bc925d579a700147fa5d7793b64d69cfc18
4138 Author: Lasse Collin <lasse.collin@tukaani.org>
4139 Date:   2011-02-04 22:49:31 +0200
4140
4141     xz: Clean up suffix.c.
4142     
4143     struct suffix_pair isn't needed in compresed_name()
4144     so get rid of it there.
4145
4146  src/xz/suffix.c | 44 ++++++++++++++++++++------------------------
4147  1 file changed, 20 insertions(+), 24 deletions(-)
4148
4149 commit 8930c7ae3f82bdae15aa129f01de08be23d7e8d7
4150 Author: Lasse Collin <lasse.collin@tukaani.org>
4151 Date:   2011-02-04 11:29:47 +0200
4152
4153     xz: Check if the file already has custom suffix when compressing.
4154     
4155     Now "xz -S .test foo.test" refuses to compress the
4156     file because it already has the suffix .test. The man
4157     page had it documented this way already.
4158
4159  src/xz/suffix.c | 9 +++++++++
4160  1 file changed, 9 insertions(+)
4161
4162 commit 940d5852c6cf08abccc6befd9d1b5411c9076a58
4163 Author: Lasse Collin <lasse.collin@tukaani.org>
4164 Date:   2011-02-02 23:01:51 +0200
4165
4166     Updated THANKS.
4167
4168  THANKS | 1 +
4169  1 file changed, 1 insertion(+)
4170
4171 commit 4ebe65f839613f27f127bab7b8c347d982330ee3
4172 Author: Lasse Collin <lasse.collin@tukaani.org>
4173 Date:   2011-02-02 23:00:33 +0200
4174
4175     Translations: Add Polish translation.
4176     
4177     Thanks to Jakub Bogusz.
4178
4179  po/LINGUAS |   1 +
4180  po/pl.po   | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4181  2 files changed, 826 insertions(+)
4182
4183 commit fc1d292dca1925dfd17174f443f91a696ecd5bf8
4184 Author: Lasse Collin <lasse.collin@tukaani.org>
4185 Date:   2011-02-02 22:24:00 +0200
4186
4187     Updated THANKS.
4188
4189  THANKS | 1 +
4190  1 file changed, 1 insertion(+)
4191
4192 commit 6dd061adfd2775428b079eb03d6fd47d7c0f1ffe
4193 Merge: 9d542ce 5fbce0b
4194 Author: Lasse Collin <lasse.collin@tukaani.org>
4195 Date:   2011-02-06 20:13:01 +0200
4196
4197     Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d'
4198
4199 commit 5fbce0b8d96dc96775aa0215e3581addc830e23d
4200 Author: Lasse Collin <lasse.collin@tukaani.org>
4201 Date:   2011-01-28 20:16:57 +0200
4202
4203     Update NEWS for 5.0.1.
4204
4205  NEWS | 14 ++++++++++++++
4206  1 file changed, 14 insertions(+)
4207
4208 commit 03ebd1bbb314f9f204940219a835c883bf442475
4209 Author: Lasse Collin <lasse.collin@tukaani.org>
4210 Date:   2011-01-26 12:19:08 +0200
4211
4212     xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
4213     
4214     xz didn't compress setuid/setgid/sticky files and files
4215     with multiple hard links even with --force. This bug was
4216     introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4.
4217     
4218     Thanks to Charles Wilson.
4219
4220  src/xz/file_io.c | 15 +++++++--------
4221  1 file changed, 7 insertions(+), 8 deletions(-)
4222
4223 commit 9d542ceebcbe40b174169c132ccfcdc720ca7089
4224 Merge: 4f2c69a 7bd0a5e
4225 Author: Lasse Collin <lasse.collin@tukaani.org>
4226 Date:   2011-01-19 11:45:35 +0200
4227
4228     Merge branch 'v5.0'
4229
4230 commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136
4231 Author: Lasse Collin <lasse.collin@tukaani.org>
4232 Date:   2011-01-18 21:25:24 +0200
4233
4234     Updated THANKS.
4235
4236  THANKS | 1 +
4237  1 file changed, 1 insertion(+)
4238
4239 commit f71c4e16e913f660977526f0ef8d2acdf458d7c9
4240 Author: Lasse Collin <lasse.collin@tukaani.org>
4241 Date:   2011-01-18 21:23:50 +0200
4242
4243     Add alloc_size and malloc attributes to a few functions.
4244     
4245     Thanks to Cristian Rodríguez for the original patch.
4246
4247  src/common/sysdefs.h        | 6 ++++++
4248  src/liblzma/common/common.h | 2 +-
4249  src/xz/util.h               | 5 +++--
4250  3 files changed, 10 insertions(+), 3 deletions(-)
4251
4252 commit 316cbe24465143edde8f6ffb7532834b7b2ea93f
4253 Author: Lasse Collin <lasse.collin@tukaani.org>
4254 Date:   2010-12-13 16:36:33 +0200
4255
4256     Scripts: Fix gzip and bzip2 support in xzdiff.
4257
4258  src/scripts/xzdiff.in | 12 ++++++------
4259  1 file changed, 6 insertions(+), 6 deletions(-)
4260
4261 commit 4f2c69a4e3e0aee2e37b0b1671d34086e20c8ac6
4262 Merge: adb89e6 9311774
4263 Author: Lasse Collin <lasse.collin@tukaani.org>
4264 Date:   2010-12-12 23:13:22 +0200
4265
4266     Merge branch 'v5.0'
4267
4268 commit 9311774c493c19deab51ded919dcd2e9c4aa2829
4269 Author: Lasse Collin <lasse.collin@tukaani.org>
4270 Date:   2010-12-12 21:23:55 +0200
4271
4272     Build: Enable ASM on DJGPP by default.
4273
4274  configure.ac | 2 +-
4275  1 file changed, 1 insertion(+), 1 deletion(-)
4276
4277 commit 4a42aaee282fc73b482581684d65110506d5efdd
4278 Author: Lasse Collin <lasse.collin@tukaani.org>
4279 Date:   2010-12-12 16:09:42 +0200
4280
4281     Updated THANKS.
4282
4283  THANKS | 1 +
4284  1 file changed, 1 insertion(+)
4285
4286 commit ce56f63c41ee210e6308090eb6d49221fdf67d6c
4287 Author: Lasse Collin <lasse.collin@tukaani.org>
4288 Date:   2010-12-12 16:07:11 +0200
4289
4290     Add missing PRIx32 and PRIx64 compatibility definitions.
4291     
4292     This fixes portability to systems that lack C99 inttypes.h.
4293     
4294     Thanks to Juan Manuel Guerrero.
4295
4296  src/common/sysdefs.h | 9 +++++++++
4297  1 file changed, 9 insertions(+)
4298
4299 commit e6baedddcf54e7da049ebc49183565b99facd4c7
4300 Author: Lasse Collin <lasse.collin@tukaani.org>
4301 Date:   2010-12-12 14:50:04 +0200
4302
4303     DOS-like: Treat \ and : as directory separators in addition to /.
4304     
4305     Juan Manuel Guerrero had fixed this in his XZ Utils port
4306     to DOS/DJGPP. The bug affects also Windows and OS/2.
4307
4308  src/xz/suffix.c | 33 +++++++++++++++++++++++++++++----
4309  1 file changed, 29 insertions(+), 4 deletions(-)
4310
4311 commit adb89e68d43a4cadb0c215b45ef7a75737c9c3ec
4312 Merge: 7c24e0d b7afd3e
4313 Author: Lasse Collin <lasse.collin@tukaani.org>
4314 Date:   2010-12-07 18:53:04 +0200
4315
4316     Merge branch 'v5.0'
4317
4318 commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f
4319 Author: Lasse Collin <lasse.collin@tukaani.org>
4320 Date:   2010-12-07 18:52:04 +0200
4321
4322     Translations: Fix Czech translation of "sparse file".
4323     
4324     Thanks to Petr Hubený and Marek Černocký.
4325
4326  po/cs.po | 88 ++++++++++++++++++++++++++++++++--------------------------------
4327  1 file changed, 44 insertions(+), 44 deletions(-)
4328
4329 commit 7c24e0d1b8a2e86e9263b0d56d39621e01aed7af
4330 Merge: b4d42f1 3e56470
4331 Author: Lasse Collin <lasse.collin@tukaani.org>
4332 Date:   2010-11-15 14:33:01 +0200
4333
4334     Merge branch 'v5.0'
4335
4336 commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e
4337 Author: Lasse Collin <lasse.collin@tukaani.org>
4338 Date:   2010-11-15 14:28:26 +0200
4339
4340     liblzma: Document the return value of lzma_lzma_preset().
4341
4342  src/liblzma/api/lzma/lzma.h | 3 +++
4343  1 file changed, 3 insertions(+)
4344
4345 commit 2964d8d691ed92abdcf214888d79ad6d79774735
4346 Author: Jonathan Nieder <jrnieder@gmail.com>
4347 Date:   2010-11-12 15:22:13 -0600
4348
4349     Simplify paths in generated API docs
4350     
4351     Currently the file list generated by Doxygen has src/ at the
4352     beginning of each path.  Paths like common/sysdefs.h and
4353     liblzma/api/lzma.h are easier to read without such a prefix.
4354     
4355     Builds from a separate build directory with
4356     
4357         mkdir build
4358         cd build
4359         ../configure
4360         doxygen Doxyfile
4361     
4362     include an even longer prefix /home/someone/src/xz/src; this
4363     patch has the nice side-effect of eliminating that prefix, too.
4364     
4365     Fixes: http://bugs.debian.org/572273
4366
4367  Doxyfile.in | 2 +-
4368  1 file changed, 1 insertion(+), 1 deletion(-)
4369
4370 commit b4d42f1a7120e2cefeb2f14425efe2ca6db85416
4371 Author: Anders F Bjorklund <afb@users.sourceforge.net>
4372 Date:   2010-11-05 12:56:11 +0100
4373
4374     add build script for macosx universal
4375
4376  macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4377  1 file changed, 92 insertions(+)
4378
4379 commit 15ee6935abe4a2fc76639ee342ca2e69af3e0ad6
4380 Author: Lasse Collin <lasse.collin@tukaani.org>
4381 Date:   2010-11-04 18:31:40 +0200
4382
4383     Update the copies of GPLv2 and LGPLv2.1 from gnu.org.
4384     
4385     There are only a few white space changes.
4386
4387  COPYING.GPLv2    | 14 +++++++-------
4388  COPYING.LGPLv2.1 | 16 +++++++---------
4389  2 files changed, 14 insertions(+), 16 deletions(-)
4390
4391 commit 8e355f7fdbeee6fe394eb02a28f267ce99a882a2
4392 Merge: 974ebe6 37c2565
4393 Author: Lasse Collin <lasse.collin@tukaani.org>
4394 Date:   2010-10-26 15:53:06 +0300
4395
4396     Merge branch 'v5.0'
4397
4398 commit 37c25658efd25b034266daf87cd381d20d1df776
4399 Author: Lasse Collin <lasse.collin@tukaani.org>
4400 Date:   2010-10-26 15:48:48 +0300
4401
4402     Build: Copy the example programs to $docdir/examples.
4403     
4404     The example programs by Daniel Mealha Cabrita were included
4405     in the git repository, but I had forgot to add them to
4406     Makefile.am. Thus, they didn't get included in the source
4407     package at all by "make dist".
4408
4409  Makefile.am        | 5 +++++
4410  windows/build.bash | 3 ++-
4411  2 files changed, 7 insertions(+), 1 deletion(-)
4412
4413 commit 974ebe63497bdf0d262e06474f0dd5a70b1dd000
4414 Author: Lasse Collin <lasse.collin@tukaani.org>
4415 Date:   2010-10-26 10:36:41 +0300
4416
4417     liblzma: Rename a few variables and constants.
4418     
4419     This has no semantic changes. I find the new names slightly
4420     more logical and they match the names that are already used
4421     in XZ Embedded.
4422     
4423     The name fastpos wasn't changed (not worth the hassle).
4424
4425  src/liblzma/lzma/fastpos.h                     |  55 +++++------
4426  src/liblzma/lzma/lzma2_encoder.c               |   2 +-
4427  src/liblzma/lzma/lzma_common.h                 |  45 ++++-----
4428  src/liblzma/lzma/lzma_decoder.c                |  58 +++++------
4429  src/liblzma/lzma/lzma_encoder.c                |  56 +++++------
4430  src/liblzma/lzma/lzma_encoder_optimum_fast.c   |   9 +-
4431  src/liblzma/lzma/lzma_encoder_optimum_normal.c | 128 ++++++++++++-------------
4432  src/liblzma/lzma/lzma_encoder_private.h        |  16 ++--
4433  8 files changed, 183 insertions(+), 186 deletions(-)
4434
4435 commit 7c427ec38d016c0070a42315d752857e33792fc4
4436 Author: Lasse Collin <lasse.collin@tukaani.org>
4437 Date:   2010-10-25 12:59:25 +0300
4438
4439     Bump version 5.1.0alpha.
4440
4441  src/liblzma/api/lzma/version.h | 4 ++--
4442  1 file changed, 2 insertions(+), 2 deletions(-)
4443
4444 commit e45929260cd902036efd40c5610a8d0a50d5712b
4445 Author: Lasse Collin <lasse.collin@tukaani.org>
4446 Date:   2010-10-23 17:25:52 +0300
4447
4448     Build: Fix mydist rule when .git doesn't exist.
4449
4450  Makefile.am | 1 +
4451  1 file changed, 1 insertion(+)
4452
4453 commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168
4454 Author: Lasse Collin <lasse.collin@tukaani.org>
4455 Date:   2010-10-23 14:15:35 +0300
4456
4457     Add NEWS for 5.0.0.
4458
4459  NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4460  1 file changed, 62 insertions(+)
4461
4462 commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c
4463 Author: Lasse Collin <lasse.collin@tukaani.org>
4464 Date:   2010-10-23 14:02:53 +0300
4465
4466     Bump version to 5.0.0 and liblzma version-info to 5:0:0.
4467
4468  src/liblzma/Makefile.am        | 2 +-
4469  src/liblzma/api/lzma/version.h | 8 ++++----
4470  2 files changed, 5 insertions(+), 5 deletions(-)
4471
4472 commit 8c947e9291691629714dafb4536c718b6cc24fbd
4473 Author: Lasse Collin <lasse.collin@tukaani.org>
4474 Date:   2010-10-23 12:30:54 +0300
4475
4476     liblzma: Make lzma_code() check the reserved members in lzma_stream.
4477     
4478     If any of the reserved members in lzma_stream are non-zero
4479     or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible
4480     that a new feature in the future is indicated by just setting
4481     a reserved member to some other value, so the old liblzma
4482     version need to catch it as an unsupported feature.
4483
4484  src/liblzma/common/common.c | 14 ++++++++++++++
4485  1 file changed, 14 insertions(+)
4486
4487 commit e61d85e082743ebd2dd0ff28fc0a82482ede0538
4488 Author: Lasse Collin <lasse.collin@tukaani.org>
4489 Date:   2010-10-23 12:26:33 +0300
4490
4491     Windows: Use MinGW's stdio functions.
4492     
4493     The non-standard ones from msvcrt.dll appear to work
4494     most of the time with XZ Utils, but there are some
4495     corner cases where things may go very wrong. So it's
4496     good to use the better replacements provided by
4497     MinGW(-w64) runtime.
4498
4499  src/common/sysdefs.h | 5 +++++
4500  1 file changed, 5 insertions(+)
4501
4502 commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc
4503 Author: Lasse Collin <lasse.collin@tukaani.org>
4504 Date:   2010-10-23 12:21:32 +0300
4505
4506     liblzma: Use 512 as INDEX_GROUP_SIZE.
4507     
4508     This lets compiler use shifting instead of 64-bit division.
4509
4510  src/liblzma/common/index.c | 2 +-
4511  1 file changed, 1 insertion(+), 1 deletion(-)
4512
4513 commit 613939fc82603b75b59eee840871a05bc8dd08e0
4514 Author: Lasse Collin <lasse.collin@tukaani.org>
4515 Date:   2010-10-23 12:20:11 +0300
4516
4517     liblzma: A few ABI tweaks to reserve space in structures.
4518
4519  src/liblzma/api/lzma/base.h         | 7 ++++++-
4520  src/liblzma/api/lzma/lzma.h         | 4 ++--
4521  src/liblzma/api/lzma/stream_flags.h | 4 ----
4522  3 files changed, 8 insertions(+), 7 deletions(-)
4523
4524 commit 68b83f252df3d27480a9f6f03445d16f6506fef1
4525 Author: Lasse Collin <lasse.collin@tukaani.org>
4526 Date:   2010-10-21 23:16:11 +0300
4527
4528     xz: Make sure that message_strm() can never return NULL.
4529
4530  src/xz/message.c | 7 +++++--
4531  1 file changed, 5 insertions(+), 2 deletions(-)
4532
4533 commit d09c5753e33ff96ee57edb6d1e98e34041203695
4534 Author: Lasse Collin <lasse.collin@tukaani.org>
4535 Date:   2010-10-21 23:06:31 +0300
4536
4537     liblzma: Update the comments in the API headers.
4538     
4539     Adding support for LZMA_FINISH for Index encoding and
4540     decoding needed tiny additions to the relevant .c files too.
4541
4542  src/liblzma/api/lzma.h              |  4 +--
4543  src/liblzma/api/lzma/base.h         | 38 +++++++++++++--------------
4544  src/liblzma/api/lzma/bcj.h          |  4 +--
4545  src/liblzma/api/lzma/block.h        |  4 +--
4546  src/liblzma/api/lzma/container.h    | 26 ++++++++++++-------
4547  src/liblzma/api/lzma/filter.h       | 51 ++++++++++++++++++-------------------
4548  src/liblzma/api/lzma/hardware.h     |  3 +--
4549  src/liblzma/api/lzma/index.h        | 28 ++++++++++++--------
4550  src/liblzma/api/lzma/index_hash.h   |  2 +-
4551  src/liblzma/api/lzma/lzma.h         | 46 ++++++++++++++++++++++-----------
4552  src/liblzma/api/lzma/stream_flags.h |  4 +--
4553  src/liblzma/api/lzma/vli.h          | 31 +++++++++++-----------
4554  src/liblzma/common/index_decoder.c  |  1 +
4555  src/liblzma/common/index_encoder.c  |  1 +
4556  14 files changed, 136 insertions(+), 107 deletions(-)
4557
4558 commit 33c1c0e102eb529588503b8beea0903a45488fad
4559 Author: Lasse Collin <lasse.collin@tukaani.org>
4560 Date:   2010-10-19 12:08:30 +0300
4561
4562     Update INSTALL.generic.
4563
4564  INSTALL.generic | 99 ++++++++++++++++++++++++++++++++++++++++++++++-----------
4565  1 file changed, 81 insertions(+), 18 deletions(-)
4566
4567 commit 0076e03641f201c4b77dddd5a6db5880be19a78c
4568 Author: Lasse Collin <lasse.collin@tukaani.org>
4569 Date:   2010-10-19 11:44:37 +0300
4570
4571     Clean up a few FIXMEs and TODOs.
4572     
4573     lzma_chunk_size() was commented out because it is
4574     currently useless.
4575
4576  src/liblzma/common/filter_encoder.c | 2 ++
4577  src/liblzma/common/filter_encoder.h | 4 ++--
4578  src/liblzma/lzma/lzma2_decoder.c    | 1 -
4579  src/liblzma/lzma/lzma_decoder.c     | 4 ++--
4580  src/liblzma/lzma/lzma_encoder.c     | 2 +-
4581  src/xz/message.h                    | 2 +-
4582  6 files changed, 8 insertions(+), 7 deletions(-)
4583
4584 commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9
4585 Author: Lasse Collin <lasse.collin@tukaani.org>
4586 Date:   2010-10-19 10:21:08 +0300
4587
4588     Update docs.
4589
4590  INSTALL    | 192 +++++++++++++++++++++++++++++++++++++++++--------------------
4591  PACKAGERS  | 104 +++++++++------------------------
4592  TODO       |  17 ++++--
4593  dos/README |   2 +-
4594  4 files changed, 172 insertions(+), 143 deletions(-)
4595
4596 commit f0fa880d247e73264d2c04fe31fb3412318a0026
4597 Author: Lasse Collin <lasse.collin@tukaani.org>
4598 Date:   2010-10-12 15:13:30 +0300
4599
4600     xz: Avoid raise() also on OpenVMS.
4601     
4602     This is similar to DOS/DJGPP that killing the program
4603     with a signal will print a backtrace or a similar message.
4604
4605  src/xz/signals.c | 2 +-
4606  1 file changed, 1 insertion(+), 1 deletion(-)
4607
4608 commit ac462b1c47c451f5c62e428306314c4bdad8ae7f
4609 Author: Lasse Collin <lasse.collin@tukaani.org>
4610 Date:   2010-10-11 21:26:19 +0300
4611
4612     xz: Avoid SA_RESTART for portability reasons.
4613     
4614     SA_RESTART is not as portable as I had hoped. It's missing
4615     at least from OpenVMS, QNX, and DJGPP). Luckily we can do
4616     fine without SA_RESTART.
4617
4618  src/xz/message.c | 38 +++++++++++++++-----------------------
4619  src/xz/message.h |  4 ++++
4620  src/xz/signals.c |  6 ++++++
4621  3 files changed, 25 insertions(+), 23 deletions(-)
4622
4623 commit d52b411716a614c202e89ba732492efb9916cd3f
4624 Author: Lasse Collin <lasse.collin@tukaani.org>
4625 Date:   2010-10-10 17:58:58 +0300
4626
4627     xz: Use "%"PRIu32 instead of "%d" in a format string.
4628
4629  src/xz/message.c | 2 +-
4630  1 file changed, 1 insertion(+), 1 deletion(-)
4631
4632 commit ae74d1bdeb075c3beefe76e1136c5741804e7e91
4633 Author: Lasse Collin <lasse.collin@tukaani.org>
4634 Date:   2010-10-10 17:43:26 +0300
4635
4636     test_files.sh: Fix the first line.
4637     
4638     For some reason this prevented running the test only
4639     on OS/2 and even on that it broke only recently.
4640     
4641     Thanks to Elbert Pol.
4642
4643  tests/test_files.sh | 2 +-
4644  1 file changed, 1 insertion(+), 1 deletion(-)
4645
4646 commit d492b80ddd6f9a13419de6d102df7374d8f448e8
4647 Author: Lasse Collin <lasse.collin@tukaani.org>
4648 Date:   2010-10-10 16:49:01 +0300
4649
4650     lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t.
4651
4652  src/lzmainfo/lzmainfo.c | 2 +-
4653  1 file changed, 1 insertion(+), 1 deletion(-)
4654
4655 commit 825e859a9054bd91202e5723c41a17e72f63040a
4656 Author: Lasse Collin <lasse.collin@tukaani.org>
4657 Date:   2010-10-10 16:47:01 +0300
4658
4659     lzmainfo: Use fileno(stdin) instead of STDIN_FILENO.
4660
4661  src/lzmainfo/lzmainfo.c | 2 +-
4662  1 file changed, 1 insertion(+), 1 deletion(-)
4663
4664 commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8
4665 Author: Lasse Collin <lasse.collin@tukaani.org>
4666 Date:   2010-10-09 23:20:51 +0300
4667
4668     lzmainfo: Use setmode() on DOS-like systems.
4669
4670  src/lzmainfo/lzmainfo.c | 9 +++++++++
4671  1 file changed, 9 insertions(+)
4672
4673 commit ef364d3abc5647111c5424ea0d83a567e184a23b
4674 Author: Lasse Collin <lasse.collin@tukaani.org>
4675 Date:   2010-10-09 21:51:03 +0300
4676
4677     OS/2 and DOS: Be less verbose on signals.
4678     
4679     Calling raise() to kill xz when user has pressed C-c
4680     is a bit verbose on OS/2 and DOS/DJGPP. Instead of
4681     calling raise(), set only the exit status to 1.
4682
4683  src/xz/signals.c | 7 +++++++
4684  1 file changed, 7 insertions(+)
4685
4686 commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a
4687 Author: Lasse Collin <lasse.collin@tukaani.org>
4688 Date:   2010-10-09 19:28:49 +0300
4689
4690     DOS: Update the Makefile, config.h and README.
4691     
4692     This is now simpler and builds only xz.exe.
4693
4694  dos/Makefile | 211 +++++++++++++++--------------------------------------------
4695  dos/README   |  73 +++++++--------------
4696  dos/config.h |  45 ++++---------
4697  3 files changed, 86 insertions(+), 243 deletions(-)
4698
4699 commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac
4700 Author: Lasse Collin <lasse.collin@tukaani.org>
4701 Date:   2010-10-09 18:57:55 +0300
4702
4703     Windows: Put some license info into README-Windows.txt.
4704
4705  windows/README-Windows.txt | 8 ++++----
4706  1 file changed, 4 insertions(+), 4 deletions(-)
4707
4708 commit e75100f549f85d231df25c07aa94d63e78e2d668
4709 Author: Lasse Collin <lasse.collin@tukaani.org>
4710 Date:   2010-10-09 18:57:04 +0300
4711
4712     Windows: Fix a diagnostics bug in build.bash.
4713
4714  windows/build.bash | 2 +-
4715  1 file changed, 1 insertion(+), 1 deletion(-)
4716
4717 commit efeb998a2b1025df1c1d202cc7d21d866cd1c336
4718 Author: Lasse Collin <lasse.collin@tukaani.org>
4719 Date:   2010-10-09 13:02:15 +0300
4720
4721     lzmainfo: Add Windows resource file.
4722
4723  src/lzmainfo/Makefile.am        |  9 +++++++++
4724  src/lzmainfo/lzmainfo_w32res.rc | 12 ++++++++++++
4725  2 files changed, 21 insertions(+)
4726
4727 commit 389d418445f1623593dfdbba55d52fbb6d1205f5
4728 Author: Lasse Collin <lasse.collin@tukaani.org>
4729 Date:   2010-10-09 12:57:25 +0300
4730
4731     Add missing public domain notice to lzmadec_w32res.rc.
4732
4733  src/xzdec/lzmadec_w32res.rc | 7 +++++++
4734  1 file changed, 7 insertions(+)
4735
4736 commit 6389c773a4912dd9f111256d74ba1605230a7957
4737 Author: Lasse Collin <lasse.collin@tukaani.org>
4738 Date:   2010-10-09 12:52:12 +0300
4739
4740     Windows: Update common_w32res.rc.
4741
4742  src/common/common_w32res.rc | 9 +++------
4743  1 file changed, 3 insertions(+), 6 deletions(-)
4744
4745 commit 71275457ca24c9b01721f5cfc3638cf094daf454
4746 Author: Lasse Collin <lasse.collin@tukaani.org>
4747 Date:   2010-10-09 12:27:08 +0300
4748
4749     Windows: Make build.bash prefer MinGW-w32 over MinGW.
4750     
4751     This is simply for licensing reasons. The 64-bit version
4752     will be built with MinGW-w64 anyway (at least for now),
4753     so using it also for 32-bit build allows using the same
4754     copyright notice about the MinGW-w64/w32 runtime.
4755     
4756     Note that using MinGW would require a copyright notice too,
4757     because its runtime is not in the public domain either even
4758     though MinGW's home page claims that it is public domain.
4759     See <http://marc.info/?l=mingw-users&m=126489506214078>.
4760
4761  windows/build.bash | 18 +++++++++---------
4762  1 file changed, 9 insertions(+), 9 deletions(-)
4763
4764 commit 3ac35719d8433af937af6491383d4a50e343099b
4765 Author: Lasse Collin <lasse.collin@tukaani.org>
4766 Date:   2010-10-09 11:33:21 +0300
4767
4768     Windows: Copy COPYING-Windows.txt (if it exists) to the package.
4769     
4770     Also, put README-Windows.txt to the doc directory like
4771     the other documentation files.
4772
4773  windows/build.bash | 14 ++++++++++++--
4774  1 file changed, 12 insertions(+), 2 deletions(-)
4775
4776 commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae
4777 Author: Lasse Collin <lasse.collin@tukaani.org>
4778 Date:   2010-10-08 21:42:37 +0300
4779
4780     Windows: Fix build.bash again.
4781     
4782     630a8beda34af0ac153c8051b1bf01230558e422 wasn't good.
4783
4784  windows/build.bash | 7 ++++---
4785  1 file changed, 4 insertions(+), 3 deletions(-)
4786
4787 commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd
4788 Author: Lasse Collin <lasse.collin@tukaani.org>
4789 Date:   2010-10-08 16:53:20 +0300
4790
4791     Use LZMA_VERSION_STRING instead of PACKAGE_VERSION.
4792     
4793     Those are the same thing, and the former makes it a bit
4794     easier to build the code with other build systems, because
4795     one doesn't need to update the version number into custom
4796     config.h.
4797     
4798     This change affects only lzmainfo. Other tools were already
4799     using LZMA_VERSION_STRING.
4800
4801  src/lzmainfo/lzmainfo.c | 2 +-
4802  1 file changed, 1 insertion(+), 1 deletion(-)
4803
4804 commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f
4805 Author: Lasse Collin <lasse.collin@tukaani.org>
4806 Date:   2010-10-08 15:59:25 +0300
4807
4808     configure.ac: Remove two unused defines.
4809
4810  configure.ac | 4 ----
4811  1 file changed, 4 deletions(-)
4812
4813 commit 11f51b6714357cb67ec7e56ed9575c199b5581fe
4814 Author: Lasse Collin <lasse.collin@tukaani.org>
4815 Date:   2010-10-08 15:32:29 +0300
4816
4817     Make tests accommodate missing xz or xzdec.
4818
4819  tests/test_compress.sh | 47 ++++++++++++++++++++++++++++++-----------------
4820  tests/test_files.sh    | 28 ++++++++++++++++++++++++++--
4821  2 files changed, 56 insertions(+), 19 deletions(-)
4822
4823 commit b1c7368f95e93ccdefdd0748e04398c26766f47f
4824 Author: Lasse Collin <lasse.collin@tukaani.org>
4825 Date:   2010-10-08 15:25:45 +0300
4826
4827     Build: Add options to disable individual command line tools.
4828
4829  configure.ac            | 38 ++++++++++++++++++++++++++++++
4830  src/Makefile.am         | 15 +++++++++++-
4831  src/scripts/Makefile.am | 62 +++++++++++++++++++++----------------------------
4832  src/xz/Makefile.am      |  6 ++++-
4833  src/xzdec/Makefile.am   | 12 ++++++++--
4834  5 files changed, 93 insertions(+), 40 deletions(-)
4835
4836 commit 630a8beda34af0ac153c8051b1bf01230558e422
4837 Author: Lasse Collin <lasse.collin@tukaani.org>
4838 Date:   2010-10-07 00:44:53 +0300
4839
4840     Windows: Make build.bash work without --enable-dynamic=no.
4841
4842  windows/build.bash | 4 ++--
4843  1 file changed, 2 insertions(+), 2 deletions(-)
4844
4845 commit f9907503f882a745dce9d84c2968f6c175ba966a
4846 Author: Lasse Collin <lasse.collin@tukaani.org>
4847 Date:   2010-10-05 14:13:16 +0300
4848
4849     Build: Remove the static/dynamic tricks.
4850     
4851     Most distros want xz linked against shared liblzma, so
4852     it doesn't help much to require --enable-dynamic for that.
4853     Those who want to avoid PIC on x86-32 to get better
4854     performance, can still do it e.g. by using --disable-shared
4855     to compile xz and then another pass to compile shared liblzma.
4856     
4857     Part of these static/dynamic tricks were needed for Windows
4858     in the past. Nowadays we rely on GCC and binutils to do the
4859     right thing with auto-import. If the Autotooled build system
4860     needs to support some other toolchain on Windows in the future,
4861     this may need some rethinking.
4862
4863  configure.ac             | 74 ------------------------------------------------
4864  debug/Makefile.am        |  5 +---
4865  src/lzmainfo/Makefile.am |  4 +--
4866  src/xz/Makefile.am       |  4 +--
4867  src/xzdec/Makefile.am    |  4 +--
4868  tests/Makefile.am        |  5 +---
4869  6 files changed, 5 insertions(+), 91 deletions(-)
4870
4871 commit fda4724d8114fccfa31c1839c15479f350c2fb4c
4872 Author: Lasse Collin <lasse.collin@tukaani.org>
4873 Date:   2010-10-05 12:18:58 +0300
4874
4875     configure.ac: Silence a warning from Autoconf 2.68.
4876
4877  configure.ac | 2 +-
4878  1 file changed, 1 insertion(+), 1 deletion(-)
4879
4880 commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9
4881 Author: Lasse Collin <lasse.collin@tukaani.org>
4882 Date:   2010-10-04 19:43:01 +0300
4883
4884     A few more languages files to the xz man page.
4885     
4886     Thanks to Jonathan Nieder.
4887
4888  src/xz/xz.1 | 45 ++++++++++++++++++++++++---------------------
4889  1 file changed, 24 insertions(+), 21 deletions(-)
4890
4891 commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb
4892 Author: Lasse Collin <lasse.collin@tukaani.org>
4893 Date:   2010-10-02 12:07:33 +0300
4894
4895     Update the FAQ.
4896
4897  doc/faq.txt | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
4898  1 file changed, 100 insertions(+), 4 deletions(-)
4899
4900 commit 61ae593661e8dc402394e84d567ca2044a51572b
4901 Author: Lasse Collin <lasse.collin@tukaani.org>
4902 Date:   2010-10-02 11:38:20 +0300
4903
4904     liblzma: Small fixes to comments in the API headers.
4905
4906  src/liblzma/api/lzma/lzma.h | 10 +++++++---
4907  1 file changed, 7 insertions(+), 3 deletions(-)
4908
4909 commit 9166682dc601fd42c1b9510572e3f917d18de504
4910 Author: Lasse Collin <lasse.collin@tukaani.org>
4911 Date:   2010-09-28 11:40:12 +0300
4912
4913     Create the PDF versions of the man pages better.
4914
4915  Makefile.am          | 14 +++++++------
4916  build-aux/manconv.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
4917  2 files changed, 66 insertions(+), 6 deletions(-)
4918
4919 commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8
4920 Author: Lasse Collin <lasse.collin@tukaani.org>
4921 Date:   2010-09-28 10:59:53 +0300
4922
4923     Move version.sh to build-aux.
4924
4925  Makefile.am          |  4 ++--
4926  build-aux/version.sh | 24 ++++++++++++++++++++++++
4927  configure.ac         |  2 +-
4928  version.sh           | 24 ------------------------
4929  windows/build.bash   |  2 +-
4930  5 files changed, 28 insertions(+), 28 deletions(-)
4931
4932 commit 84af9d8770451339a692e9b70f96cf56156a6069
4933 Author: Lasse Collin <lasse.collin@tukaani.org>
4934 Date:   2010-09-28 10:53:02 +0300
4935
4936     Update .gitignore.
4937
4938  .gitignore | 10 +++++++++-
4939  1 file changed, 9 insertions(+), 1 deletion(-)
4940
4941 commit 31575a449ac64c523da3bab8d0c0b522cdc7c780
4942 Author: Lasse Collin <lasse.collin@tukaani.org>
4943 Date:   2010-09-28 01:17:14 +0300
4944
4945     Fix accomodate -> accommodate on the xz man page.
4946
4947  src/xz/xz.1 | 2 +-
4948  1 file changed, 1 insertion(+), 1 deletion(-)
4949
4950 commit cec0ddc8ec4ce81685a51998b978e22167e461f9
4951 Author: Lasse Collin <lasse.collin@tukaani.org>
4952 Date:   2010-09-27 23:29:34 +0300
4953
4954     Major man page updates.
4955     
4956     Lots of content was updated on the xz man page.
4957     
4958     Technical improvements:
4959       - Start a new sentence on a new line.
4960       - Use fairly short lines.
4961       - Use constant-width font for examples (where supported).
4962       - Some minor cleanups.
4963     
4964     Thanks to Jonathan Nieder for some language fixes.
4965
4966  src/lzmainfo/lzmainfo.1 |   25 +-
4967  src/scripts/xzdiff.1    |   15 +-
4968  src/scripts/xzgrep.1    |   11 +-
4969  src/scripts/xzless.1    |   13 +-
4970  src/scripts/xzmore.1    |    9 +-
4971  src/xz/xz.1             | 1964 ++++++++++++++++++++++++++++++++---------------
4972  src/xzdec/xzdec.1       |   39 +-
4973  7 files changed, 1435 insertions(+), 641 deletions(-)
4974
4975 commit 075257ab0416a0603be930082e31a5703e4ba345
4976 Author: Lasse Collin <lasse.collin@tukaani.org>
4977 Date:   2010-09-26 18:10:31 +0300
4978
4979     Fix the preset -3e.
4980     
4981     depth=0 was missing.
4982
4983  src/liblzma/lzma/lzma_encoder_presets.c | 1 +
4984  1 file changed, 1 insertion(+)
4985
4986 commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1
4987 Author: Lasse Collin <lasse.collin@tukaani.org>
4988 Date:   2010-09-23 14:03:10 +0300
4989
4990     Add translations.bash and translation notes to README.
4991     
4992     translations.bash prints some messages from xz, which
4993     hopefully makes it a bit easier to test translations.
4994
4995  README                 |  96 +++++++++++++++++++++++++++++++++++++++++++++--
4996  debug/translation.bash | 100 +++++++++++++++++++++++++++++++++++++++++++++++++
4997  2 files changed, 192 insertions(+), 4 deletions(-)
4998
4999 commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23
5000 Author: Lasse Collin <lasse.collin@tukaani.org>
5001 Date:   2010-09-17 22:14:30 +0300
5002
5003     xz: Update the Czech translation.
5004     
5005     Thanks to Marek Černocký.
5006
5007  po/cs.po | 202 +++++++++++++++++++++++++++++++++++++++++----------------------
5008  1 file changed, 131 insertions(+), 71 deletions(-)
5009
5010 commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6
5011 Author: Lasse Collin <lasse.collin@tukaani.org>
5012 Date:   2010-09-16 23:40:41 +0300
5013
5014     xz: Add Italian translation.
5015     
5016     Thanks to Milo Casagrande and Lorenzo De Liso.
5017
5018  THANKS     |   2 +
5019  po/LINGUAS |   1 +
5020  po/it.po   | 902 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5021  3 files changed, 905 insertions(+)
5022
5023 commit 21088018554e2b0e02914205377ceb6e34a090bd
5024 Author: Lasse Collin <lasse.collin@tukaani.org>
5025 Date:   2010-09-15 00:34:13 +0300
5026
5027     xz: Edit a translators comment.
5028
5029  src/xz/list.c | 2 +-
5030  1 file changed, 1 insertion(+), 1 deletion(-)
5031
5032 commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6
5033 Author: Lasse Collin <lasse.collin@tukaani.org>
5034 Date:   2010-09-14 22:47:14 +0300
5035
5036     xz: Add German translation.
5037     
5038     Thanks to Andre Noll.
5039
5040  THANKS     |   1 +
5041  po/LINGUAS |   1 +
5042  po/de.po   | 903 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5043  3 files changed, 905 insertions(+)
5044
5045 commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b
5046 Author: Lasse Collin <lasse.collin@tukaani.org>
5047 Date:   2010-09-10 14:30:25 +0300
5048
5049     Updated README.
5050
5051  README | 2 --
5052  1 file changed, 2 deletions(-)
5053
5054 commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71
5055 Author: Lasse Collin <lasse.collin@tukaani.org>
5056 Date:   2010-09-10 14:30:07 +0300
5057
5058     Updated INSTALL.
5059
5060  INSTALL | 7 ++++---
5061  1 file changed, 4 insertions(+), 3 deletions(-)
5062
5063 commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2
5064 Author: Lasse Collin <lasse.collin@tukaani.org>
5065 Date:   2010-09-10 14:26:20 +0300
5066
5067     Updated the git repository address in ChangeLog.
5068
5069  ChangeLog | 2 +-
5070  1 file changed, 1 insertion(+), 1 deletion(-)
5071
5072 commit a8760203f93a69bc39fd14520a6e9e7b7d70be06
5073 Author: Lasse Collin <lasse.collin@tukaani.org>
5074 Date:   2010-09-10 14:09:33 +0300
5075
5076     xz: Add a comment to translators about "literal context bits".
5077
5078  src/xz/message.c | 4 ++++
5079  1 file changed, 4 insertions(+)
5080
5081 commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5
5082 Author: Lasse Collin <lasse.collin@tukaani.org>
5083 Date:   2010-09-10 10:30:33 +0300
5084
5085     xz: Multiple fixes.
5086     
5087     The code assumed that printing numbers with thousand separators
5088     and decimal points would always produce only US-ASCII characters.
5089     This was used for buffer sizes (with snprintf(), no overflows)
5090     and aligning columns of the progress indicator and --list. That
5091     assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so
5092     multibyte character support was added in this commit. The old
5093     way is used if the operating system doesn't have enough multibyte
5094     support (e.g. lacks wcwidth()).
5095     
5096     The sizes of buffers were increased to accomodate multibyte
5097     characters. I don't know how big they should be exactly, but
5098     they aren't used for anything critical, so it's not too bad.
5099     If they still aren't big enough, I hopefully get a bug report.
5100     snprintf() takes care of avoiding buffer overflows.
5101     
5102     Some static buffers were replaced with buffers allocated on
5103     stack. double_to_str() was removed. uint64_to_str() and
5104     uint64_to_nicestr() now share the static buffer and test
5105     for thousand separator support.
5106     
5107     Integrity check names "None" and "Unknown-N" (2 <= N <= 15)
5108     were marked to be translated. I had forgot these, plus they
5109     wouldn't have worked correctly anyway before this commit,
5110     because printing tables with multibyte strings didn't work.
5111     
5112     Thanks to Marek Černocký for reporting the bug about
5113     misaligned table columns in --list output.
5114
5115  configure.ac                    |   1 +
5116  m4/tuklib_mbstr.m4              |  30 ++++++
5117  src/common/tuklib_mbstr.h       |  66 +++++++++++++
5118  src/common/tuklib_mbstr_fw.c    |  31 ++++++
5119  src/common/tuklib_mbstr_width.c |  64 +++++++++++++
5120  src/xz/Makefile.am              |   4 +-
5121  src/xz/list.c                   | 205 +++++++++++++++++++++++++++-------------
5122  src/xz/message.c                |  56 +++++++----
5123  src/xz/message.h                |  10 +-
5124  src/xz/private.h                |   1 +
5125  src/xz/util.c                   | 136 +++++++++-----------------
5126  src/xz/util.h                   |   7 --
5127  12 files changed, 424 insertions(+), 187 deletions(-)
5128
5129 commit 639f8e2af33cf8a184d59ba56b6df7c098679d61
5130 Author: Lasse Collin <lasse.collin@tukaani.org>
5131 Date:   2010-09-08 08:49:22 +0300
5132
5133     Update the Czech translation.
5134     
5135     Thanks to Marek Černocký.
5136
5137  po/cs.po | 655 +++++++++++++++++++++++++++++++++++++++++++--------------------
5138  1 file changed, 454 insertions(+), 201 deletions(-)
5139
5140 commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7
5141 Author: Lasse Collin <lasse.collin@tukaani.org>
5142 Date:   2010-09-07 12:31:40 +0300
5143
5144     xz: Add a note to translators.
5145
5146  src/xz/hardware.c | 2 ++
5147  1 file changed, 2 insertions(+)
5148
5149 commit 77a7746616e555fc08028e883a56d06bf0088b81
5150 Author: Lasse Collin <lasse.collin@tukaani.org>
5151 Date:   2010-09-07 10:42:13 +0300
5152
5153     Fix use of N_() and ngettext().
5154     
5155     I had somehow thought that N_() is usually used
5156     as shorthand for ngettext().
5157     
5158     This also fixes a missing \n from a call to ngettext().
5159
5160  src/common/tuklib_gettext.h | 4 ++--
5161  src/xz/list.c               | 4 ++--
5162  2 files changed, 4 insertions(+), 4 deletions(-)
5163
5164 commit e6ad39335842343e622ab51207d1d3cb9caad801
5165 Author: Lasse Collin <lasse.collin@tukaani.org>
5166 Date:   2010-09-06 19:43:12 +0300
5167
5168     Add missing files to POTFILES.in.
5169
5170  po/POTFILES.in | 3 +++
5171  1 file changed, 3 insertions(+)
5172
5173 commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30
5174 Author: Lasse Collin <lasse.collin@tukaani.org>
5175 Date:   2010-09-06 10:16:24 +0300
5176
5177     xz: Improve a comment.
5178
5179  src/xz/file_io.c | 7 ++++---
5180  1 file changed, 4 insertions(+), 3 deletions(-)
5181
5182 commit bcb1b898341f7073f51660d7052d7ed6c5461a66
5183 Author: Lasse Collin <lasse.collin@tukaani.org>
5184 Date:   2010-09-05 21:34:29 +0300
5185
5186     xz: Update the comment about NetBSD in file_io.c.
5187     
5188     Thanks to Joerg Sonnenberger.
5189
5190  src/xz/file_io.c | 8 ++++----
5191  1 file changed, 4 insertions(+), 4 deletions(-)
5192
5193 commit da014d55972f5addbf6b4360d3d8ed2ef4282170
5194 Author: Lasse Collin <lasse.collin@tukaani.org>
5195 Date:   2010-09-05 21:11:33 +0300
5196
5197     xz: Use an array instead of pointer for stdin_filename.
5198     
5199     Thanks Joerg Sonnenberger.
5200
5201  src/xz/args.c | 2 +-
5202  src/xz/args.h | 2 +-
5203  2 files changed, 2 insertions(+), 2 deletions(-)
5204
5205 commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee
5206 Author: Lasse Collin <lasse.collin@tukaani.org>
5207 Date:   2010-09-05 12:16:17 +0300
5208
5209     xz: Hopefully ease translating the messages in list.c.
5210
5211  src/xz/list.c | 33 +++++++++++++++++++++++----------
5212  1 file changed, 23 insertions(+), 10 deletions(-)
5213
5214 commit ef840950ad99cf2955c754875af0e01acf125079
5215 Author: Lasse Collin <lasse.collin@tukaani.org>
5216 Date:   2010-09-04 23:14:44 +0300
5217
5218     xz: Fix grammar.
5219
5220  src/xz/options.c | 3 +--
5221  1 file changed, 1 insertion(+), 2 deletions(-)
5222
5223 commit c46afd6edc04ea140db6c59e8486f5707c810c13
5224 Author: Lasse Collin <lasse.collin@tukaani.org>
5225 Date:   2010-09-04 23:12:20 +0300
5226
5227     xz: Use lzma_lzma_preset() to initialize the options structure.
5228
5229  src/xz/options.c | 14 ++------------
5230  1 file changed, 2 insertions(+), 12 deletions(-)
5231
5232 commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065
5233 Author: Lasse Collin <lasse.collin@tukaani.org>
5234 Date:   2010-09-04 22:16:28 +0300
5235
5236     Don't set lc=4 with --extreme.
5237     
5238     This should reduce the cases where --extreme makes
5239     compression worse. On the other hand, some other
5240     files may now benefit slightly less from --extreme.
5241
5242  src/liblzma/lzma/lzma_encoder_presets.c | 1 -
5243  1 file changed, 1 deletion(-)
5244
5245 commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b
5246 Author: Lasse Collin <lasse.collin@tukaani.org>
5247 Date:   2010-09-04 22:10:32 +0300
5248
5249     xz: Minor improvements to --help and --long-help.
5250
5251  src/xz/message.c | 24 ++++++++++++------------
5252  1 file changed, 12 insertions(+), 12 deletions(-)
5253
5254 commit 373ee26f955617295c5c537b04a153a1969140d2
5255 Author: Jonathan Nieder <jrnieder@gmail.com>
5256 Date:   2010-09-03 16:49:15 -0500
5257
5258     Adjust memory limits in test_compress.sh
5259     
5260     Testing compression at level -4 now requires 48 MiB of free store at
5261     compression time and 5 MiB at decompression time.
5262     
5263     Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
5264
5265  tests/test_compress.sh | 2 +-
5266  1 file changed, 1 insertion(+), 1 deletion(-)
5267
5268 commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087
5269 Author: Lasse Collin <lasse.collin@tukaani.org>
5270 Date:   2010-09-03 15:54:40 +0300
5271
5272     xz: Make -vv show also decompressor memory usage.
5273
5274  src/xz/coder.c | 7 +++++++
5275  1 file changed, 7 insertions(+)
5276
5277 commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6
5278 Author: Lasse Collin <lasse.collin@tukaani.org>
5279 Date:   2010-09-03 15:13:12 +0300
5280
5281     Tweak the compression presets -0 .. -5.
5282     
5283     "Extreme" mode might need some further tweaking still.
5284     Docs were not updated yet.
5285
5286  src/liblzma/lzma/lzma_encoder_presets.c | 29 +++++++++++++++++++----------
5287  1 file changed, 19 insertions(+), 10 deletions(-)
5288
5289 commit 77fe5954cd3d10fb1837372684cbc133b56b6a87
5290 Author: Lasse Collin <lasse.collin@tukaani.org>
5291 Date:   2010-09-03 12:28:41 +0300
5292
5293     liblzma: Adjust default depth calculation for HC3 and HC4.
5294     
5295     It was 8 + nice_len / 4, now it is 4 + nice_len / 4.
5296     This allows faster settings at lower nice_len values,
5297     even though it seems that I won't use automatic depth
5298     calcuation with HC3 and HC4 in the presets.
5299
5300  src/liblzma/lz/lz_encoder.c | 7 ++++---
5301  1 file changed, 4 insertions(+), 3 deletions(-)
5302
5303 commit fce69059cf901ce8075a78c7607d591f144a3b5a
5304 Author: Lasse Collin <lasse.collin@tukaani.org>
5305 Date:   2010-09-03 11:11:25 +0300
5306
5307     xz: Make --help two lines shorter.
5308     
5309     At least for now, the --help option doesn't list any
5310     options that take arguments, so "Mandatory arguments to..."
5311     can be omitted.
5312
5313  src/xz/message.c | 7 +++++--
5314  1 file changed, 5 insertions(+), 2 deletions(-)
5315
5316 commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298
5317 Author: Lasse Collin <lasse.collin@tukaani.org>
5318 Date:   2010-09-02 19:22:35 +0300
5319
5320     xz: Make setting a preset override a custom filter chain.
5321     
5322     This is more logical behavior than ignoring preset level
5323     options once a custom filter chain has been specified.
5324
5325  src/xz/coder.c | 9 +++++++++
5326  1 file changed, 9 insertions(+)
5327
5328 commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3
5329 Author: Lasse Collin <lasse.collin@tukaani.org>
5330 Date:   2010-09-02 19:09:57 +0300
5331
5332     xz: Always warn if adjusting dictionary size due to memlimit.
5333
5334  src/xz/coder.c | 28 +++++++++-------------------
5335  1 file changed, 9 insertions(+), 19 deletions(-)
5336
5337 commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d
5338 Author: Lasse Collin <lasse.collin@tukaani.org>
5339 Date:   2010-08-10 11:04:30 +0300
5340
5341     Fix test_compress.sh.
5342     
5343     It broke when --memory option was removed from xzdec.
5344     
5345     Thanks to Jonathan Nieder.
5346
5347  tests/test_compress.sh | 6 +++---
5348  1 file changed, 3 insertions(+), 3 deletions(-)
5349
5350 commit 792331bdee706aa852a78b171040ebf814c6f3ae
5351 Author: Lasse Collin <lasse.collin@tukaani.org>
5352 Date:   2010-08-07 20:45:18 +0300
5353
5354     Disable the memory usage limiter by default.
5355     
5356     For several people, the limiter causes bigger problems that
5357     it solves, so it is better to have it disabled by default.
5358     Those who want to have a limiter by default need to enable
5359     it via the environment variable XZ_DEFAULTS.
5360     
5361     Support for environment variable XZ_DEFAULTS was added. It is
5362     parsed before XZ_OPT and technically identical with it. The
5363     intended uses differ quite a bit though; see the man page.
5364     
5365     The memory usage limit can now be set separately for
5366     compression and decompression using --memlimit-compress and
5367     --memlimit-decompress. To set both at once, -M or --memlimit
5368     can be used. --memory was retained as a legacy alias for
5369     --memlimit for backwards compatibility.
5370     
5371     The semantics of --info-memory were changed in backwards
5372     incompatible way. Compatibility wasn't meaningful due to
5373     changes in the memory usage limiter functionality.
5374     
5375     The memory usage limiter info is no longer shown at the
5376     bottom of xz --long -help.
5377     
5378     The memory usage limiter support for removed completely from xzdec.
5379     
5380     xz's man page was updated to match the above changes. Various
5381     unrelated fixes were also made to the man page.
5382
5383  src/xz/args.c     |  87 +++++++++-----
5384  src/xz/coder.c    |   8 +-
5385  src/xz/hardware.c |  96 +++++++++------
5386  src/xz/hardware.h |  23 ++--
5387  src/xz/list.c     |   2 +-
5388  src/xz/message.c  |  39 ++-----
5389  src/xz/message.h  |   4 -
5390  src/xz/xz.1       | 341 ++++++++++++++++++++++++++++++++++--------------------
5391  src/xzdec/xzdec.1 |  45 +------
5392  src/xzdec/xzdec.c | 176 +---------------------------
5393  10 files changed, 373 insertions(+), 448 deletions(-)
5394
5395 commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801
5396 Author: Lasse Collin <lasse.collin@tukaani.org>
5397 Date:   2010-08-06 20:22:16 +0300
5398
5399     Add missing const to a global constant in xz.
5400
5401  src/xz/args.c | 2 +-
5402  src/xz/args.h | 2 +-
5403  2 files changed, 2 insertions(+), 2 deletions(-)
5404
5405 commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f
5406 Author: Lasse Collin <lasse.collin@tukaani.org>
5407 Date:   2010-07-28 11:44:55 +0300
5408
5409     Language fixes for man pages.
5410     
5411     Thanks to A. Costa and Jonathan Nieder.
5412
5413  src/lzmainfo/lzmainfo.1 | 4 ++--
5414  src/xz/xz.1             | 6 +++---
5415  2 files changed, 5 insertions(+), 5 deletions(-)
5416
5417 commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b
5418 Author: Lasse Collin <lasse.collin@tukaani.org>
5419 Date:   2010-07-27 20:47:12 +0300
5420
5421     Windows: Add a note about building a Git repository snapshot
5422
5423  windows/INSTALL-Windows.txt | 9 +++++++++
5424  1 file changed, 9 insertions(+)
5425
5426 commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38
5427 Author: Lasse Collin <lasse.collin@tukaani.org>
5428 Date:   2010-07-27 20:45:03 +0300
5429
5430     Windows: build.sh is a bash script so name it correctly.
5431
5432  INSTALL                     |   2 +-
5433  windows/INSTALL-Windows.txt |   6 +-
5434  windows/build.bash          | 189 ++++++++++++++++++++++++++++++++++++++++++++
5435  windows/build.sh            | 189 --------------------------------------------
5436  4 files changed, 193 insertions(+), 193 deletions(-)
5437
5438 commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339
5439 Author: Lasse Collin <lasse.collin@tukaani.org>
5440 Date:   2010-07-27 20:27:32 +0300
5441
5442     Windows: Don't strip liblzma.a too much.
5443
5444  windows/build.sh | 3 ++-
5445  1 file changed, 2 insertions(+), 1 deletion(-)
5446
5447 commit a540198ffb25fad36380c5e92ac20c2d28eec46a
5448 Author: Lasse Collin <lasse.collin@tukaani.org>
5449 Date:   2010-07-13 20:07:26 +0300
5450
5451     Updated THANKS.
5452
5453  THANKS | 1 +
5454  1 file changed, 1 insertion(+)
5455
5456 commit bab0f01ed931f606b4675aa9f9331a17cec09bad
5457 Author: Lasse Collin <lasse.collin@tukaani.org>
5458 Date:   2010-07-13 19:55:50 +0300
5459
5460     Add two simple example programs.
5461     
5462     Hopefully these help a bit when learning the basics
5463     of liblzma API. I plan to write detailed examples about
5464     both basic and advanced features with lots of comments,
5465     but these two examples are good have right now.
5466     
5467     The examples were written by Daniel Mealha Cabrita. Thanks.
5468
5469  doc/examples/xz_pipe_comp.c   | 127 ++++++++++++++++++++++++++++++++++++++++++
5470  doc/examples/xz_pipe_decomp.c | 115 ++++++++++++++++++++++++++++++++++++++
5471  2 files changed, 242 insertions(+)
5472
5473 commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00
5474 Author: Lasse Collin <lasse.collin@tukaani.org>
5475 Date:   2010-06-15 14:06:29 +0300
5476
5477     Add --no-adjust.
5478
5479  src/xz/args.c    |  6 ++++++
5480  src/xz/coder.c   |  8 ++------
5481  src/xz/coder.h   |  4 ++++
5482  src/xz/message.c |  6 +++++-
5483  src/xz/xz.1      | 13 +++++++++++--
5484  5 files changed, 28 insertions(+), 9 deletions(-)
5485
5486 commit 2130926dd1c839280358172dfadd8d3054bde2b4
5487 Author: Lasse Collin <lasse.collin@tukaani.org>
5488 Date:   2010-06-11 21:51:32 +0300
5489
5490     Updated THANKS.
5491
5492  THANKS | 1 +
5493  1 file changed, 1 insertion(+)
5494
5495 commit bc612d0e0c9e4504c59d49168e87a7ae3e458443
5496 Author: Lasse Collin <lasse.collin@tukaani.org>
5497 Date:   2010-06-11 21:48:32 +0300
5498
5499     Clarify the description of the default memlimit in the man page.
5500     
5501     Thanks to Denis Excoffier.
5502
5503  src/xz/xz.1 | 4 ++--
5504  1 file changed, 2 insertions(+), 2 deletions(-)
5505
5506 commit e1b6935d60a00405e6b5b455a3426d2248cc926c
5507 Author: Lasse Collin <lasse.collin@tukaani.org>
5508 Date:   2010-06-11 21:43:28 +0300
5509
5510     Fix string to uint64_t conversion.
5511     
5512     Thanks to Denis Excoffier for the bug report.
5513
5514  src/xz/util.c     | 10 ++++++++--
5515  src/xzdec/xzdec.c | 13 +++++++++++--
5516  2 files changed, 19 insertions(+), 4 deletions(-)
5517
5518 commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0
5519 Author: Lasse Collin <lasse.collin@tukaani.org>
5520 Date:   2010-06-11 10:40:28 +0300
5521
5522     Put the git commit to the filename in mydist rule.
5523
5524  Makefile.am | 6 +++++-
5525  1 file changed, 5 insertions(+), 1 deletion(-)
5526
5527 commit d8b41eedce486d400f701b757b7b5e4e32276618
5528 Author: Lasse Collin <lasse.collin@tukaani.org>
5529 Date:   2010-06-02 23:13:55 +0300
5530
5531     Fix compiling with -Werror.
5532
5533  src/xz/message.c | 4 ++--
5534  1 file changed, 2 insertions(+), 2 deletions(-)
5535
5536 commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8
5537 Author: Lasse Collin <lasse.collin@tukaani.org>
5538 Date:   2010-06-02 23:09:22 +0300
5539
5540     Silence a bogus Valgrind warning.
5541     
5542     When using -O2 with GCC, it liked to swap two comparisons
5543     in one "if" statement. It's otherwise fine except that
5544     the latter part, which is seemingly never executed, got
5545     executed (nothing wrong with that) and then triggered
5546     warning in Valgrind about conditional jump depending on
5547     uninitialized variable. A few people find this annoying
5548     so do things a bit differently to avoid the warning.
5549
5550  src/liblzma/lz/lz_encoder.c | 6 +++++-
5551  1 file changed, 5 insertions(+), 1 deletion(-)
5552
5553 commit 29a7b250e685852f2f97615493ec49acaf528623
5554 Author: Lasse Collin <lasse.collin@tukaani.org>
5555 Date:   2010-06-02 21:32:12 +0300
5556
5557     Fix a Windows-specific FIXME in signal handling code.
5558
5559  src/xz/main.c    | 40 +++++++++++++++++++++++++++++++++++-----
5560  src/xz/private.h |  5 +++++
5561  src/xz/signals.c | 16 ++++++++--------
5562  3 files changed, 48 insertions(+), 13 deletions(-)
5563
5564 commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d
5565 Author: Lasse Collin <lasse.collin@tukaani.org>
5566 Date:   2010-06-02 17:46:58 +0300
5567
5568     Adjust SA_RESTART workaround.
5569     
5570     I want to get a bug report if something else than
5571     DJGPP lacks SA_RESTART.
5572
5573  src/xz/message.c | 14 +++++++-------
5574  1 file changed, 7 insertions(+), 7 deletions(-)
5575
5576 commit e243145c84ab5c3be8259fd486ead0de5235b3f0
5577 Author: Lasse Collin <lasse.collin@tukaani.org>
5578 Date:   2010-06-01 16:02:30 +0300
5579
5580     xz man page updates.
5581     
5582     - Concatenating .xz files and padding
5583     - List mode
5584     - Robot mode
5585     - A few examples (but many more are needed)
5586
5587  src/xz/xz.1 | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
5588  1 file changed, 366 insertions(+), 19 deletions(-)
5589
5590 commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562
5591 Author: Lasse Collin <lasse.collin@tukaani.org>
5592 Date:   2010-06-01 15:51:44 +0300
5593
5594     Major update to xz --list.
5595
5596  src/xz/list.c | 652 ++++++++++++++++++++++++++++++++++++++++++----------------
5597  1 file changed, 471 insertions(+), 181 deletions(-)
5598
5599 commit 905e54804a899e4ad526d38fdba7e803ab9b71bd
5600 Author: Lasse Collin <lasse.collin@tukaani.org>
5601 Date:   2010-06-01 14:13:03 +0300
5602
5603     Rename message_filters_get() to message_filters_to_str().
5604
5605  src/xz/message.c | 4 ++--
5606  src/xz/message.h | 2 +-
5607  2 files changed, 3 insertions(+), 3 deletions(-)
5608
5609 commit 4b346ae8af20045027ae5efb068c6d69da3324d2
5610 Author: Lasse Collin <lasse.collin@tukaani.org>
5611 Date:   2010-06-01 14:09:12 +0300
5612
5613     Fix a comment.
5614
5615  src/liblzma/api/lzma/index.h | 2 +-
5616  1 file changed, 1 insertion(+), 1 deletion(-)
5617
5618 commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296
5619 Author: Lasse Collin <lasse.collin@tukaani.org>
5620 Date:   2010-05-27 16:17:42 +0300
5621
5622     Fix lzma_block_compressed_size().
5623
5624  src/liblzma/common/block_util.c | 6 +++---
5625  1 file changed, 3 insertions(+), 3 deletions(-)
5626
5627 commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593
5628 Author: Lasse Collin <lasse.collin@tukaani.org>
5629 Date:   2010-05-27 14:32:51 +0300
5630
5631     Take Cygwin into account in some #if lines.
5632     
5633     This change is no-op, but good to have just in case
5634     for the future.
5635
5636  src/xz/signals.c | 2 +-
5637  src/xz/signals.h | 4 ++--
5638  2 files changed, 3 insertions(+), 3 deletions(-)
5639
5640 commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7
5641 Author: Lasse Collin <lasse.collin@tukaani.org>
5642 Date:   2010-05-27 13:42:44 +0300
5643
5644     Remove references to the Subblock filter in xz and tests.
5645     
5646     Thanks to Jonathan Nieder.
5647
5648  src/xz/message.c          |  9 ---------
5649  tests/test_filter_flags.c | 23 -----------------------
5650  2 files changed, 32 deletions(-)
5651
5652 commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893
5653 Author: Lasse Collin <lasse.collin@tukaani.org>
5654 Date:   2010-05-27 13:35:36 +0300
5655
5656     Remove unused chunk_size.c.
5657     
5658     Thanks to Jonathan Nieder for the reminder.
5659
5660  src/liblzma/common/chunk_size.c | 67 -----------------------------------------
5661  1 file changed, 67 deletions(-)
5662
5663 commit 01a414eaf4be6352c06b48001b041b47e8202faa
5664 Author: Jonathan Nieder <jrnieder@gmail.com>
5665 Date:   2010-05-27 02:31:33 -0500
5666
5667     Use my_min() instead of MIN() in src/xz/list.c
5668     
5669     This should have been done in
5670     920a69a8d8e4203c5edddd829d932130eac188ea.
5671
5672  src/xz/list.c | 2 +-
5673  1 file changed, 1 insertion(+), 1 deletion(-)
5674
5675 commit 920a69a8d8e4203c5edddd829d932130eac188ea
5676 Author: Lasse Collin <lasse.collin@tukaani.org>
5677 Date:   2010-05-26 10:36:46 +0300
5678
5679     Rename MIN() and MAX() to my_min() and my_max().
5680     
5681     This should avoid some minor portability issues.
5682
5683  debug/full_flush.c                             |  2 +-
5684  debug/sync_flush.c                             |  2 +-
5685  src/common/sysdefs.h                           | 12 +++++-------
5686  src/liblzma/common/block_buffer_encoder.c      |  2 +-
5687  src/liblzma/common/common.c                    |  2 +-
5688  src/liblzma/common/stream_buffer_encoder.c     |  2 +-
5689  src/liblzma/delta/delta_encoder.c              |  2 +-
5690  src/liblzma/lz/lz_decoder.c                    |  7 ++++---
5691  src/liblzma/lz/lz_decoder.h                    |  2 +-
5692  src/liblzma/lz/lz_encoder.c                    |  2 +-
5693  src/liblzma/lz/lz_encoder.h                    |  2 +-
5694  src/liblzma/lz/lz_encoder_mf.c                 |  4 ++--
5695  src/liblzma/lzma/lzma2_encoder.c               |  2 +-
5696  src/liblzma/lzma/lzma_encoder_optimum_fast.c   |  2 +-
5697  src/liblzma/lzma/lzma_encoder_optimum_normal.c | 14 +++++++-------
5698  src/xz/args.c                                  |  3 ++-
5699  16 files changed, 31 insertions(+), 31 deletions(-)
5700
5701 commit 019ae27c24d0c694545a6a46f8b9fb552198b015
5702 Author: Lasse Collin <lasse.collin@tukaani.org>
5703 Date:   2010-05-26 10:30:20 +0300
5704
5705     Fix compilation of debug/known_sizes.c.
5706
5707  debug/known_sizes.c | 2 +-
5708  1 file changed, 1 insertion(+), 1 deletion(-)
5709
5710 commit 98a4856a6ea84f79c790057a6eb89a25bc45b074
5711 Author: Lasse Collin <lasse.collin@tukaani.org>
5712 Date:   2010-05-26 10:28:54 +0300
5713
5714     Remove references to Subblock filter in debug/sync_flush.c.
5715
5716  debug/sync_flush.c | 13 -------------
5717  1 file changed, 13 deletions(-)
5718
5719 commit 703d2c33c095c41ae0693ee8c27c45e3847e4535
5720 Author: Lasse Collin <lasse.collin@tukaani.org>
5721 Date:   2010-05-26 10:16:57 +0300
5722
5723     Better #error message.
5724
5725  src/common/sysdefs.h | 4 ++--
5726  1 file changed, 2 insertions(+), 2 deletions(-)
5727
5728 commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0
5729 Author: Lasse Collin <lasse.collin@tukaani.org>
5730 Date:   2010-05-26 09:55:47 +0300
5731
5732     Remove the Subblock filter code for now.
5733     
5734     The spec isn't finished and the code didn't compile anymore.
5735     It won't be included in XZ Utils 5.0.0. It's easy to get it
5736     back once the spec is done.
5737
5738  configure.ac                                   |   6 +-
5739  src/liblzma/Makefile.am                        |   5 -
5740  src/liblzma/api/Makefile.am                    |   1 -
5741  src/liblzma/api/lzma.h                         |   1 -
5742  src/liblzma/api/lzma/subblock.h                | 200 -----
5743  src/liblzma/common/common.h                    |   6 -
5744  src/liblzma/common/filter_common.c             |   9 -
5745  src/liblzma/common/filter_decoder.c            |  16 -
5746  src/liblzma/common/filter_encoder.c            |  12 -
5747  src/liblzma/subblock/Makefile.inc              |  20 -
5748  src/liblzma/subblock/subblock_decoder.c        | 630 ----------------
5749  src/liblzma/subblock/subblock_decoder.h        |  22 -
5750  src/liblzma/subblock/subblock_decoder_helper.c |  70 --
5751  src/liblzma/subblock/subblock_decoder_helper.h |  29 -
5752  src/liblzma/subblock/subblock_encoder.c        | 984 -------------------------
5753  src/liblzma/subblock/subblock_encoder.h        |  21 -
5754  src/xz/args.c                                  |   9 +-
5755  src/xz/options.c                               |  61 --
5756  src/xz/options.h                               |   7 -
5757  19 files changed, 4 insertions(+), 2105 deletions(-)
5758
5759 commit b6377fc990f9b8651149cae0fecb8b9c5904e26d
5760 Author: Lasse Collin <lasse.collin@tukaani.org>
5761 Date:   2010-05-16 18:42:22 +0300
5762
5763     Split message_filters().
5764     
5765     message_filters_to_str() converts the filter chain to
5766     a string. message_filters_show() replaces the original
5767     message_filters().
5768     
5769     uint32_to_optstr() was also added to show the dictionary
5770     size in nicer format when possible.
5771
5772  src/xz/coder.c   |   2 +-
5773  src/xz/message.c | 187 +++++++++++++++++++++++++++++++++++--------------------
5774  src/xz/message.h |  14 ++++-
5775  3 files changed, 134 insertions(+), 69 deletions(-)
5776
5777 commit d9986db782d6cf0f314342127280519339378fa0
5778 Author: Lasse Collin <lasse.collin@tukaani.org>
5779 Date:   2010-05-14 23:17:20 +0300
5780
5781     Omit lzma_restrict from the API headers.
5782     
5783     It isn't really useful so omitting it makes things
5784     shorter and slightly more readable.
5785
5786  src/liblzma/api/lzma.h       | 12 ------------
5787  src/liblzma/api/lzma/index.h |  5 ++---
5788  src/liblzma/api/lzma/vli.h   | 11 +++++------
5789  3 files changed, 7 insertions(+), 21 deletions(-)
5790
5791 commit 0d3489efca0a723dca0394809fa3e6170843af4b
5792 Author: Lasse Collin <lasse.collin@tukaani.org>
5793 Date:   2010-05-10 19:57:24 +0300
5794
5795     Updated INSTALL.
5796
5797  INSTALL | 5 -----
5798  1 file changed, 5 deletions(-)
5799
5800 commit 3fb3d594a2b53886adee161b6261e92277f05f7c
5801 Author: Lasse Collin <lasse.collin@tukaani.org>
5802 Date:   2010-05-10 19:54:52 +0300
5803
5804     Updated THANKS.
5805
5806  THANKS | 1 +
5807  1 file changed, 1 insertion(+)
5808
5809 commit 6548e304657e77d3a972053db3c41c5daf591113
5810 Author: Lasse Collin <lasse.collin@tukaani.org>
5811 Date:   2010-05-10 19:54:15 +0300
5812
5813     Updates to tuklib_physmem and tuklib_cpucores.
5814     
5815     Don't use #error to generate compile error, because some
5816     compilers actually don't take it as an error. This fixes
5817     tuklib_physmem on IRIX.
5818     
5819     Fix incorrect error check for sysconf() return values.
5820     
5821     Add AIX, HP-UX, and Tru64 specific code to detect the
5822     amount RAM.
5823     
5824     Add HP-UX specific code to detect the number of CPU cores.
5825     
5826     Thanks a lot to Peter O'Gorman for initial patches,
5827     testing, and debugging these fixes.
5828
5829  m4/tuklib_cpucores.m4        | 33 ++++++++++++++++----
5830  m4/tuklib_physmem.m4         | 72 ++++++++++++++++++++++++++++++++++++++++++--
5831  src/common/tuklib_cpucores.c | 14 +++++++--
5832  src/common/tuklib_physmem.c  | 33 +++++++++++++++++++-
5833  4 files changed, 141 insertions(+), 11 deletions(-)
5834
5835 commit a290cfee3e23f046889c022aa96b4eca2016fdda
5836 Author: Lasse Collin <lasse.collin@tukaani.org>
5837 Date:   2010-04-12 21:55:56 +0300
5838
5839     Show both elapsed time and estimated remaining time in xz -v.
5840     
5841     The extra space for showing both has been taken from the
5842     sizes field. If the sizes grow big, bigger units than MiB
5843     will be used. It makes it slightly difficult to see that
5844     progress is still happening with huge files, but it should
5845     be OK in practice.
5846     
5847     Thanks to Trent W. Buck for <http://bugs.debian.org/574583>
5848     and Jonathan Nieder for suggestions how to fix it.
5849
5850  THANKS           |  1 +
5851  src/xz/message.c | 86 +++++++++++++++++++++++++-------------------------------
5852  2 files changed, 39 insertions(+), 48 deletions(-)
5853
5854 commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e
5855 Author: Lasse Collin <lasse.collin@tukaani.org>
5856 Date:   2010-03-31 16:47:25 +0300
5857
5858     Add a simple tip to faq.txt about tar and xz.
5859     
5860     Thanks to Gilles Espinasse.
5861
5862  THANKS      | 1 +
5863  doc/faq.txt | 6 ++++++
5864  2 files changed, 7 insertions(+)
5865
5866 commit c737eec91d200d730aa82662affd6b06ebb0bff0
5867 Author: Lasse Collin <lasse.collin@tukaani.org>
5868 Date:   2010-03-22 21:03:03 +0200
5869
5870     Updated THANKS.
5871
5872  THANKS | 1 +
5873  1 file changed, 1 insertion(+)
5874
5875 commit f4b2b52624b802c786e4e2a8eb6895794dd93b24
5876 Author: Lasse Collin <lasse.collin@tukaani.org>
5877 Date:   2010-03-07 19:52:25 +0200
5878
5879     Fix xzgrep to not break if filenames have spaces or quotes.
5880     
5881     Thanks to someone who reported the bug on IRC.
5882
5883  src/scripts/xzgrep.in | 2 +-
5884  1 file changed, 1 insertion(+), 1 deletion(-)
5885
5886 commit cf38da00a140bd3bd65b192390ae5553380fd774
5887 Author: Lasse Collin <lasse.collin@tukaani.org>
5888 Date:   2010-03-07 13:59:32 +0200
5889
5890     Treat all integer multiplier suffixes as base-2.
5891     
5892     Originally both base-2 and base-10 were supported, but since
5893     there seems to be little need for base-10 in XZ Utils, treat
5894     everything as base-2 and also be more relaxed about the case
5895     of the first letter of the suffix. Now xz will accept e.g.
5896     KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The
5897     recommended spelling of the suffixes are still KiB, MiB, and GiB.
5898
5899  src/xz/util.c     | 53 +++++++++++++++++++++++------------------------------
5900  src/xz/xz.1       | 48 ++++++++++++++++++++++++++++--------------------
5901  src/xzdec/xzdec.c | 42 ++++++++++++++++--------------------------
5902  3 files changed, 67 insertions(+), 76 deletions(-)
5903
5904 commit 00fc1211ae7b687ac912098f4479112059deccbd
5905 Author: Lasse Collin <lasse.collin@tukaani.org>
5906 Date:   2010-03-07 13:50:23 +0200
5907
5908     Consistently round up the memory usage limit in messages.
5909     
5910     It still feels a bit wrong to round 1 byte to 1 MiB but
5911     at least it is now done consistently so that the same
5912     byte value is always rounded the same way to MiB.
5913
5914  src/xz/message.c  | 5 +++--
5915  src/xzdec/xzdec.c | 7 +++++--
5916  2 files changed, 8 insertions(+), 4 deletions(-)
5917
5918 commit 9886d436ff5615fc70eef32ff757b1e934069621
5919 Author: Lasse Collin <lasse.collin@tukaani.org>
5920 Date:   2010-03-07 13:34:34 +0200
5921
5922     Change the default of --enable-assume-ram from 32 to 128 MiB.
5923     
5924     This is to allow files created with "xz -9" to be decompressed
5925     if the amount of RAM cannot be determined.
5926
5927  INSTALL      |  5 ++---
5928  configure.ac | 11 ++++++-----
5929  2 files changed, 8 insertions(+), 8 deletions(-)
5930
5931 commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418
5932 Author: Lasse Collin <lasse.collin@tukaani.org>
5933 Date:   2010-03-07 13:29:28 +0200
5934
5935     Increase the default memory usage limit on "low-memory" systems.
5936     
5937     Previously the default limit was always 40 % of RAM. The
5938     new limit is a little bit more complex:
5939     
5940       - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used
5941         as the limit.
5942     
5943       - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit.
5944     
5945       - Otherwise 80 % of RAM is used as the limit.
5946     
5947     This should make it possible to decompress files created with
5948     "xz -9" on more systems. Swapping is generally more expected
5949     on systems with less RAM, so higher default limit on them
5950     shouldn't cause too bad surprises in terms of heavy swapping.
5951     Instead, the higher default limit should reduce the number of
5952     bad surprises when it used to prevent decompression of files
5953     created with "xz -9". The DoS prevention system shouldn't be
5954     a DoS itself.
5955     
5956     Note that even with the new default limit, a system with 64 MiB
5957     RAM cannot decompress files created with "xz -9" without user
5958     overriding the limit. This should be OK, because if xz is going
5959     to need more memory than the system has RAM, it will run very
5960     very slowly and thus it's good that user has to override the limit
5961     in that case.
5962
5963  src/xz/hardware.c | 43 +++++++++++++++++++++++++++++++------------
5964  src/xz/xz.1       | 21 +++++++++++++++------
5965  src/xzdec/xzdec.1 |  8 ++++----
5966  src/xzdec/xzdec.c | 42 ++++++++++++++++++++++++++++++------------
5967  4 files changed, 80 insertions(+), 34 deletions(-)
5968
5969 commit 5527b7269a997e7f335d60f237a64bbf225d9dc7
5970 Author: Lasse Collin <lasse.collin@tukaani.org>
5971 Date:   2010-03-06 21:36:19 +0200
5972
5973     Updated THANKS.
5974
5975  THANKS | 1 +
5976  1 file changed, 1 insertion(+)
5977
5978 commit d0d1c51aea4351288a7e533cce28cb7f852f6b05
5979 Author: Lasse Collin <lasse.collin@tukaani.org>
5980 Date:   2010-03-06 21:17:20 +0200
5981
5982     Fix missing initialization in lzma_strm_init().
5983     
5984     With bad luck, lzma_code() could return LZMA_BUF_ERROR
5985     when it shouldn't.
5986     
5987     This has been here since the early days of liblzma.
5988     It got triggered by the modifications made to the xz
5989     tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f
5990     but only when decompressing .lzma files. Somehow I managed
5991     to miss testing that with Valgrind earlier.
5992     
5993     This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>.
5994     Thanks to Rafał Mużyło for helping to debug it on IRC.
5995
5996  src/liblzma/common/common.c | 1 +
5997  1 file changed, 1 insertion(+)
5998
5999 commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea
6000 Author: Lasse Collin <lasse.collin@tukaani.org>
6001 Date:   2010-02-12 13:16:15 +0200
6002
6003     Collection of language fixes to comments and docs.
6004     
6005     Thanks to Jonathan Nieder.
6006
6007  README                                         |  2 +-
6008  configure.ac                                   |  2 +-
6009  doc/faq.txt                                    |  2 +-
6010  extra/7z2lzma/7z2lzma.bash                     |  2 +-
6011  src/common/tuklib_progname.c                   |  2 +-
6012  src/common/tuklib_progname.h                   |  2 +-
6013  src/liblzma/api/lzma/base.h                    |  8 ++++----
6014  src/liblzma/api/lzma/bcj.h                     |  2 +-
6015  src/liblzma/api/lzma/block.h                   |  2 +-
6016  src/liblzma/api/lzma/check.h                   |  2 +-
6017  src/liblzma/api/lzma/filter.h                  |  4 ++--
6018  src/liblzma/api/lzma/index.h                   |  6 +++---
6019  src/liblzma/api/lzma/lzma.h                    |  2 +-
6020  src/liblzma/api/lzma/version.h                 |  2 +-
6021  src/liblzma/api/lzma/vli.h                     |  2 +-
6022  src/liblzma/common/block_header_encoder.c      |  2 +-
6023  src/liblzma/common/chunk_size.c                |  4 ++--
6024  src/liblzma/common/common.h                    |  4 ++--
6025  src/liblzma/common/filter_buffer_decoder.c     |  2 +-
6026  src/liblzma/common/filter_encoder.c            |  4 ++--
6027  src/liblzma/common/index.c                     |  6 +++---
6028  src/liblzma/common/index_encoder.c             |  2 +-
6029  src/liblzma/common/stream_encoder.c            |  2 +-
6030  src/liblzma/common/vli_decoder.c               |  2 +-
6031  src/liblzma/lz/lz_encoder.c                    |  2 +-
6032  src/liblzma/lz/lz_encoder.h                    |  2 +-
6033  src/liblzma/lzma/lzma2_encoder.c               |  2 +-
6034  src/liblzma/lzma/lzma_decoder.c                |  4 ++--
6035  src/liblzma/lzma/lzma_decoder.h                |  2 +-
6036  src/liblzma/lzma/lzma_encoder_optimum_fast.c   |  2 +-
6037  src/liblzma/lzma/lzma_encoder_optimum_normal.c |  2 +-
6038  src/liblzma/lzma/lzma_encoder_private.h        |  2 +-
6039  src/liblzma/simple/simple_coder.c              |  2 +-
6040  src/liblzma/subblock/subblock_encoder.c        |  2 +-
6041  src/scripts/xzdiff.1                           |  2 +-
6042  src/scripts/xzless.1                           | 10 +++++-----
6043  src/xz/coder.c                                 |  2 +-
6044  src/xz/file_io.c                               |  2 +-
6045  src/xz/main.c                                  |  6 +++---
6046  src/xz/main.h                                  |  2 +-
6047  src/xz/message.c                               | 10 +++++-----
6048  src/xz/message.h                               |  2 +-
6049  src/xz/xz.1                                    | 16 ++++++++--------
6050  src/xzdec/lzmadec_w32res.rc                    |  2 +-
6051  src/xzdec/xzdec_w32res.rc                      |  2 +-
6052  tests/test_index.c                             |  2 +-
6053  windows/build.sh                               |  4 ++--
6054  47 files changed, 77 insertions(+), 77 deletions(-)
6055
6056 commit 4785f2021aa6a23f1caf724fcc823e562584f225
6057 Author: Lasse Collin <lasse.collin@tukaani.org>
6058 Date:   2010-02-12 12:41:20 +0200
6059
6060     Fix jl -> jb in ASM files.
6061
6062  src/liblzma/check/crc32_x86.S | 2 +-
6063  src/liblzma/check/crc64_x86.S | 4 ++--
6064  2 files changed, 3 insertions(+), 3 deletions(-)
6065
6066 commit 6b50c9429bf85521d355adc61745d06ee017f8c8
6067 Author: Lasse Collin <lasse.collin@tukaani.org>
6068 Date:   2010-02-12 12:31:22 +0200
6069
6070     Use __APPLE__ instead of __MACH__ in ASM files.
6071     
6072     This allows the files to work on HURD.
6073     
6074     Thanks to Jonathan Nieder.
6075
6076  src/liblzma/check/crc32_x86.S | 8 ++++----
6077  src/liblzma/check/crc64_x86.S | 8 ++++----
6078  2 files changed, 8 insertions(+), 8 deletions(-)
6079
6080 commit 6503fde658a5cdbdd907a788865470dd64771601
6081 Author: Lasse Collin <lasse.collin@tukaani.org>
6082 Date:   2010-02-07 19:48:06 +0200
6083
6084     Subtle change to liblzma Block handling API.
6085     
6086     lzma_block.version has to be initialized even for
6087     lzma_block_header_decode(). This way a future version
6088     of liblzma won't allocate memory in a way that an old
6089     application doesn't know how to free it.
6090     
6091     The subtlety of this change is that all current apps
6092     using lzma_block_header_decode() will keep working for
6093     now, because the only possible version value is zero,
6094     and lzma_block_header_decode() unconditionally sets the
6095     version to zero even now. Unless fixed, these apps will
6096     break in the future if a new version of the Block options
6097     is ever needed.
6098
6099  src/liblzma/api/lzma/block.h        | 39 ++++++++++++++++---------------------
6100  src/liblzma/common/stream_decoder.c |  3 +++
6101  2 files changed, 20 insertions(+), 22 deletions(-)
6102
6103 commit dd7c3841ff78cb94ce02b0220c6e4748460970f7
6104 Author: Lasse Collin <lasse.collin@tukaani.org>
6105 Date:   2010-02-02 11:50:11 +0200
6106
6107     Fix wrong assertion.
6108     
6109     This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735.
6110
6111  src/xz/main.c | 5 +++--
6112  1 file changed, 3 insertions(+), 2 deletions(-)
6113
6114 commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be
6115 Author: Lasse Collin <lasse.collin@tukaani.org>
6116 Date:   2010-02-01 22:48:42 +0200
6117
6118     Updated TODO.
6119
6120  TODO | 4 ----
6121  1 file changed, 4 deletions(-)
6122
6123 commit fef6333f52c8801308c3b78acb7942988541d137
6124 Author: Lasse Collin <lasse.collin@tukaani.org>
6125 Date:   2010-02-01 22:47:54 +0200
6126
6127     Fix typos in comments.
6128
6129  src/xz/list.c    | 2 +-
6130  windows/build.sh | 2 +-
6131  2 files changed, 2 insertions(+), 2 deletions(-)
6132
6133 commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735
6134 Author: Lasse Collin <lasse.collin@tukaani.org>
6135 Date:   2010-02-01 22:46:56 +0200
6136
6137     Fix signal handling for --list.
6138
6139  src/xz/main.c | 19 ++++++++++++++-----
6140  1 file changed, 14 insertions(+), 5 deletions(-)
6141
6142 commit 82220a149015616f75641ee8bbea415137535b9b
6143 Author: Lasse Collin <lasse.collin@tukaani.org>
6144 Date:   2010-02-01 11:44:45 +0200
6145
6146     Fix compression of symlinks with --force.
6147     
6148     xz --force accepted symlinks, but didn't remove
6149     them after successful compression. Instead, an error
6150     message was displayed.
6151
6152  src/xz/file_io.c | 14 +++++++++++++-
6153  1 file changed, 13 insertions(+), 1 deletion(-)
6154
6155 commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e
6156 Author: Lasse Collin <lasse.collin@tukaani.org>
6157 Date:   2010-02-01 10:20:57 +0200
6158
6159     Fix a comment.
6160
6161  windows/build.sh | 5 ++---
6162  1 file changed, 2 insertions(+), 3 deletions(-)
6163
6164 commit f9dd797a423a148903cf345b4146cb1fe1eab11d
6165 Author: Lasse Collin <lasse.collin@tukaani.org>
6166 Date:   2010-01-31 23:43:54 +0200
6167
6168     Updated THANKS.
6169
6170  THANKS | 1 +
6171  1 file changed, 1 insertion(+)
6172
6173 commit ee5ddb8b28419fe4923ded5c18a50570a762dcab
6174 Author: Lasse Collin <lasse.collin@tukaani.org>
6175 Date:   2010-01-31 23:41:29 +0200
6176
6177     Updated TODO.
6178
6179  TODO | 17 +++++++++++------
6180  1 file changed, 11 insertions(+), 6 deletions(-)
6181
6182 commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6
6183 Author: Lasse Collin <lasse.collin@tukaani.org>
6184 Date:   2010-01-31 23:35:04 +0200
6185
6186     Mention TODO in README.
6187
6188  README | 1 +
6189  1 file changed, 1 insertion(+)
6190
6191 commit 2901a8e7e82af05675b8cd8758a8ceddb111359f
6192 Author: Lasse Collin <lasse.collin@tukaani.org>
6193 Date:   2010-01-31 23:31:14 +0200
6194
6195     Updated INSTALL.
6196
6197  INSTALL | 52 ++++++++++++++++++++++++++--------------------------
6198  1 file changed, 26 insertions(+), 26 deletions(-)
6199
6200 commit 8884e16864ba53fb4b58623d7537d7ef30c28e11
6201 Author: Lasse Collin <lasse.collin@tukaani.org>
6202 Date:   2010-01-31 23:28:51 +0200
6203
6204     Revise the Windows build files.
6205     
6206     The old Makefile + config.h was deleted, because it
6207     becomes outdated too easily and building with the
6208     Autotools based build system works fine even on Windows.
6209     
6210     windows/build.sh hasn't got much testing, but it should
6211     work to build 32-bit x86 and x86-64 versions of XZ Utils
6212     using MSYS, MinGW or MinGW-w32, and MinGW-w64.
6213     
6214     windows/INSTALL-Windows.txt describes what packages are
6215     needed and how to install them.
6216     
6217     windows/README-Windows.txt is a readme file for the binary
6218     package that build.sh hopefully builds.
6219     
6220     There are no instructions about using Autotools for now,
6221     so those using a git snapshot may want to run
6222     "autoreconf -fi && ./configure && make mydist" on a UN*X
6223     box and then copy the resulting .tar.gz to a Windows.
6224
6225  windows/INSTALL-Windows.txt | 131 ++++++++++++++++++
6226  windows/Makefile            | 320 --------------------------------------------
6227  windows/README              | 155 ---------------------
6228  windows/README-Windows.txt  | 115 ++++++++++++++++
6229  windows/build.sh            | 189 ++++++++++++++++++++++++++
6230  windows/config.h            | 170 -----------------------
6231  6 files changed, 435 insertions(+), 645 deletions(-)
6232
6233 commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c
6234 Author: Lasse Collin <lasse.collin@tukaani.org>
6235 Date:   2010-01-31 19:52:38 +0200
6236
6237     Select the default integrity check type at runtime.
6238     
6239     Previously it was set statically to CRC64 or CRC32
6240     depending on options passed to the configure script.
6241
6242  src/xz/coder.c | 19 ++++++++++++++-----
6243  1 file changed, 14 insertions(+), 5 deletions(-)
6244
6245 commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1
6246 Author: Lasse Collin <lasse.collin@tukaani.org>
6247 Date:   2010-01-31 18:17:50 +0200
6248
6249     Improve displaying of the memory usage limit.
6250
6251  src/xz/coder.c   |  8 +++-----
6252  src/xz/message.c | 37 +++++++++++++++++++++++++++++--------
6253  src/xz/util.c    |  7 +++++++
6254  src/xz/util.h    |  6 ++++++
6255  4 files changed, 45 insertions(+), 13 deletions(-)
6256
6257 commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2
6258 Author: Lasse Collin <lasse.collin@tukaani.org>
6259 Date:   2010-01-31 12:53:56 +0200
6260
6261     Don't use uninitialized sigset_t.
6262     
6263     If signal handlers haven't been established, then it's
6264     useless to try to block them, especially since the sigset_t
6265     used for blocking hasn't been initialized yet.
6266
6267  src/xz/signals.c | 34 ++++++++++++++++++++++++----------
6268  1 file changed, 24 insertions(+), 10 deletions(-)
6269
6270 commit 231c3c7098f1099a56abb8afece76fc9b8699f05
6271 Author: Lasse Collin <lasse.collin@tukaani.org>
6272 Date:   2010-01-31 12:01:54 +0200
6273
6274     Delay opening the destionation file and other fixes.
6275     
6276     The opening of the destination file is now delayed a little.
6277     The coder is initialized, and if decompressing, the memory
6278     usage of the first Block compared against the memory
6279     usage limit before the destination file is opened. This
6280     means that if --force was used, the old "target" file won't
6281     be deleted so easily when something goes wrong very early.
6282     Thanks to Mark K for the bug report.
6283     
6284     The above fix required some changes to progress message
6285     handling. Now there is a separate function for setting and
6286     printing the filename. It is used also in list.c.
6287     
6288     list_file() now handles stdin correctly (gives an error).
6289     
6290     A useless check for user_abort was removed from file_io.c.
6291
6292  src/xz/coder.c   |  64 ++++++++++++++++++++++-----------
6293  src/xz/file_io.c | 107 +++++++++++++++++++++++++++----------------------------
6294  src/xz/file_io.h |   8 +++--
6295  src/xz/list.c    |  28 +++++----------
6296  src/xz/message.c |  46 +++++++++++++-----------
6297  src/xz/message.h |  29 ++++++++++-----
6298  6 files changed, 157 insertions(+), 125 deletions(-)
6299
6300 commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105
6301 Author: Lasse Collin <lasse.collin@tukaani.org>
6302 Date:   2010-01-29 22:48:04 +0200
6303
6304     Add list.h to src/xz/Makefile.am.
6305     
6306     This should have been already in
6307     0bc9eab243dee3be764b3530433a7fcdc3f7c6a1.
6308
6309  src/xz/Makefile.am | 1 +
6310  1 file changed, 1 insertion(+)
6311
6312 commit b4b1a56e0cbd597157858264f5c7189201ac9018
6313 Author: Lasse Collin <lasse.collin@tukaani.org>
6314 Date:   2010-01-29 13:24:27 +0200
6315
6316     Add lzmainfo.1 to manfiles list to convert to .txt and .pdf.
6317
6318  Makefile.am | 1 +
6319  1 file changed, 1 insertion(+)
6320
6321 commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95
6322 Author: Lasse Collin <lasse.collin@tukaani.org>
6323 Date:   2010-01-27 16:42:11 +0200
6324
6325     Silence two compiler warnings on DOS-like systems.
6326
6327  src/common/tuklib_open_stdxxx.c | 6 +++++-
6328  src/xz/file_io.c                | 3 +++
6329  2 files changed, 8 insertions(+), 1 deletion(-)
6330
6331 commit b063cc34a30a4edf109343ff373b2b62b8ca72d3
6332 Author: Lasse Collin <lasse.collin@tukaani.org>
6333 Date:   2010-01-27 13:31:03 +0200
6334
6335     Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE.
6336
6337  configure.ac              | 9 ++-------
6338  src/liblzma/liblzma.pc.in | 2 +-
6339  src/lzmainfo/lzmainfo.c   | 2 +-
6340  src/xz/message.c          | 2 +-
6341  src/xzdec/xzdec.c         | 2 +-
6342  5 files changed, 6 insertions(+), 11 deletions(-)
6343
6344 commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f
6345 Author: Lasse Collin <lasse.collin@tukaani.org>
6346 Date:   2010-01-26 23:37:46 +0200
6347
6348     Add a missing space to an error message.
6349     
6350     Thanks to Robert Readman.
6351
6352  src/xz/args.c | 2 +-
6353  1 file changed, 1 insertion(+), 1 deletion(-)
6354
6355 commit e5496f9628ff5979392a80421d0b63a4de8015b4
6356 Author: Lasse Collin <lasse.collin@tukaani.org>
6357 Date:   2010-01-26 22:53:37 +0200
6358
6359     Use past tense in error message in io_unlink().
6360     
6361     Added a note to translators too.
6362     
6363     Thanks to Robert Readman.
6364
6365  THANKS           |  1 +
6366  src/xz/file_io.c | 14 ++++++++++++--
6367  2 files changed, 13 insertions(+), 2 deletions(-)
6368
6369 commit d9a9800597ea540090e434132c3b511217df0a2b
6370 Author: Lasse Collin <lasse.collin@tukaani.org>
6371 Date:   2010-01-26 15:42:24 +0200
6372
6373     Fix too small static buffer in util.c.
6374     
6375     This was introduced in
6376     0dd6d007669b946543ca939a44243833c79e08f4 two days ago.
6377
6378  src/xz/util.c | 9 ++++-----
6379  1 file changed, 4 insertions(+), 5 deletions(-)
6380
6381 commit d0b4bbf5da068503c099cd456e294d7673548cc0
6382 Author: Lasse Collin <lasse.collin@tukaani.org>
6383 Date:   2010-01-26 14:46:43 +0200
6384
6385     Minor comment fix.
6386
6387  src/xz/main.c | 4 ++--
6388  1 file changed, 2 insertions(+), 2 deletions(-)
6389
6390 commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1
6391 Author: Lasse Collin <lasse.collin@tukaani.org>
6392 Date:   2010-01-24 23:50:54 +0200
6393
6394     Add initial version of xz --list.
6395     
6396     This is a bit rough but should be useful for basic things.
6397     Ideas (with detailed examples) about the output format are
6398     welcome.
6399     
6400     The output of --robot --list is not necessarily stable yet,
6401     although I don't currently have any plans about changing it.
6402     
6403     The man page hasn't been updated yet.
6404
6405  src/xz/Makefile.am |   1 +
6406  src/xz/list.c      | 988 ++++++++++++++++++++++++++++++++++-------------------
6407  src/xz/list.h      |  18 +
6408  src/xz/main.c      |  19 +-
6409  src/xz/private.h   |   1 +
6410  5 files changed, 668 insertions(+), 359 deletions(-)
6411
6412 commit df254ce03be016e217b511e7acd5d493f9929ca5
6413 Author: Lasse Collin <lasse.collin@tukaani.org>
6414 Date:   2010-01-24 22:46:11 +0200
6415
6416     Add io_pread().
6417     
6418     It will be used by --list.
6419
6420  src/xz/file_io.c | 25 +++++++++++++++++++++++++
6421  src/xz/file_io.h | 17 +++++++++++++++++
6422  2 files changed, 42 insertions(+)
6423
6424 commit ef68dd4a92976276304de2aedfbe34ae91a86abb
6425 Author: Lasse Collin <lasse.collin@tukaani.org>
6426 Date:   2010-01-24 22:45:14 +0200
6427
6428     Set LC_NUMERIC=C when --robot is used.
6429     
6430     It is to ensure that floating point numbers
6431     will always have a dot as the decimal separator.
6432
6433  src/xz/args.c | 4 ++++
6434  1 file changed, 4 insertions(+)
6435
6436 commit 0dd6d007669b946543ca939a44243833c79e08f4
6437 Author: Lasse Collin <lasse.collin@tukaani.org>
6438 Date:   2010-01-24 16:57:40 +0200
6439
6440     Some improvements to printing sizes in xz.
6441
6442  src/xz/coder.c   | 56 +++++++++++++++------------------------
6443  src/xz/message.c | 80 ++++++++++++++++++--------------------------------------
6444  src/xz/message.h |  4 +++
6445  src/xz/util.c    | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++
6446  src/xz/util.h    | 44 +++++++++++++++++++++++++++++++
6447  5 files changed, 166 insertions(+), 90 deletions(-)
6448
6449 commit 2a98fdffd68c66371279c211c29153c808ad5c1d
6450 Author: Lasse Collin <lasse.collin@tukaani.org>
6451 Date:   2010-01-20 22:02:35 +0200
6452
6453     Fix a typo in README.
6454     
6455     Thanks to R. Bijker.
6456
6457  README | 2 +-
6458  1 file changed, 1 insertion(+), 1 deletion(-)
6459
6460 commit 07a11dad44e041b01dcfc73e8d4e00731158c06d
6461 Author: Lasse Collin <lasse.collin@tukaani.org>
6462 Date:   2010-01-17 11:59:54 +0200
6463
6464     Updated windows/Makefile.
6465     
6466     Thanks to Dan Shechter for the patch.
6467     
6468     It is likely that windows/Makefile will be removed
6469     completely, because Autotols based build nowadays
6470     works well with both 32-bit and 64-bit MinGW (I
6471     just need to update the docs).
6472
6473  windows/Makefile | 38 +++++++++++++++++++++++++-------------
6474  windows/config.h |  2 ++
6475  2 files changed, 27 insertions(+), 13 deletions(-)
6476
6477 commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3
6478 Author: Lasse Collin <lasse.collin@tukaani.org>
6479 Date:   2010-01-15 11:05:11 +0200
6480
6481     Update the xz man page to match the previous two commits.
6482
6483  src/xz/xz.1 | 9 +++------
6484  1 file changed, 3 insertions(+), 6 deletions(-)
6485
6486 commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7
6487 Author: Lasse Collin <lasse.collin@tukaani.org>
6488 Date:   2010-01-13 19:10:25 +0200
6489
6490     Don't read compressed data from a terminal or write it
6491     to a terminal even if --force is specified.
6492     
6493     It just seems more reasonable this way.
6494     
6495     The new behavior matches bzip2. The old one matched gzip.
6496
6497  src/xz/main.c | 20 +++++++++-----------
6498  src/xz/util.c |  8 ++++----
6499  2 files changed, 13 insertions(+), 15 deletions(-)
6500
6501 commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4
6502 Author: Lasse Collin <lasse.collin@tukaani.org>
6503 Date:   2010-01-13 18:12:40 +0200
6504
6505     Don't compress or decompress special files unless writing
6506     to stdout even if --force is used.
6507     
6508     --force will still enable compression of symlinks, but only
6509     in case they point to a regular file.
6510     
6511     The new way simply seems more reasonable. It matches gzip's
6512     behavior while the old one matched bzip2's behavior.
6513
6514  src/xz/file_io.c | 15 ++++++++++-----
6515  1 file changed, 10 insertions(+), 5 deletions(-)
6516
6517 commit cee12aa852ec0902983dc1f153346ef750157fb9
6518 Author: Lasse Collin <lasse.collin@tukaani.org>
6519 Date:   2010-01-12 16:30:33 +0200
6520
6521     Updated THANKS.
6522
6523  THANKS | 1 +
6524  1 file changed, 1 insertion(+)
6525
6526 commit 153c7740c54b3c90129dbd3d6153ac1303c4d605
6527 Author: Lasse Collin <lasse.collin@tukaani.org>
6528 Date:   2010-01-12 16:18:14 +0200
6529
6530     Add IRIX-specific code to tuklib_physmem and tuklib_cpucores.
6531     
6532     This is untested but it will get tested soon and, if needed,
6533     fixed before 5.0.0.
6534     
6535     Thanks to Stuart Shelton.
6536
6537  m4/tuklib_cpucores.m4        | 11 +++++++++--
6538  m4/tuklib_physmem.m4         | 22 +++++++++++++++++++++-
6539  src/common/tuklib_cpucores.c |  6 ++++++
6540  src/common/tuklib_physmem.c  | 19 +++++++++++++++++++
6541  4 files changed, 55 insertions(+), 3 deletions(-)
6542
6543 commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1
6544 Author: Lasse Collin <lasse.collin@tukaani.org>
6545 Date:   2010-01-01 00:29:10 +0200
6546
6547     Fix _memconfig() functions.
6548     
6549     This affects lzma_memusage() and lzma_memlimit_get().
6550
6551  src/liblzma/api/lzma/index.h        |  7 -------
6552  src/liblzma/common/alone_decoder.c  | 11 +++++++----
6553  src/liblzma/common/index_decoder.c  | 10 ++++++----
6554  src/liblzma/common/stream_decoder.c | 11 +++++++----
6555  4 files changed, 20 insertions(+), 19 deletions(-)
6556
6557 commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691
6558 Author: Lasse Collin <lasse.collin@tukaani.org>
6559 Date:   2009-12-31 22:45:53 +0200
6560
6561     Revised the Index handling code.
6562     
6563     This breaks API and ABI but most apps are not affected
6564     since most apps don't use this part of the API. You will
6565     get a compile error if you are using anything that got
6566     broken.
6567     
6568     Summary of changes:
6569     
6570       - Ability to store Stream Flags, which are needed
6571         for random-access reading in multi-Stream files.
6572     
6573       - Separate function to set size of Stream Padding.
6574     
6575       - Iterator structure makes it possible to read the same
6576         lzma_index from multiple threads at the same time.
6577     
6578       - A lot faster code to locate Blocks.
6579     
6580       - Removed lzma_index_equal() without adding anything
6581         to replace it. I don't know what it should do exactly
6582         with the new features and what actually needs this
6583         function in the first place other than test_index.c,
6584         which now has its own code to compare lzma_indexes.
6585
6586  src/liblzma/api/lzma/index.h               |  572 +++++++---
6587  src/liblzma/common/index.c                 | 1553 ++++++++++++++++++----------
6588  src/liblzma/common/index.h                 |    6 +
6589  src/liblzma/common/index_decoder.c         |   12 +-
6590  src/liblzma/common/index_encoder.c         |   36 +-
6591  src/liblzma/common/index_encoder.h         |    2 +-
6592  src/liblzma/common/stream_buffer_encoder.c |    6 +-
6593  src/liblzma/common/stream_encoder.c        |    3 +-
6594  tests/test_index.c                         |  371 ++++---
6595  9 files changed, 1703 insertions(+), 858 deletions(-)
6596
6597 commit f29997a846e673cb3b8cbd57de47ed313b3978bb
6598 Author: Lasse Collin <lasse.collin@tukaani.org>
6599 Date:   2009-12-31 21:13:25 +0200
6600
6601     Remove c-format tag in cs.po.
6602     
6603     It was fixed in the C code earlier.
6604
6605  po/cs.po | 1 -
6606  1 file changed, 1 deletion(-)
6607
6608 commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644
6609 Author: Lasse Collin <lasse.collin@tukaani.org>
6610 Date:   2009-12-31 21:11:05 +0200
6611
6612     Add missing lzma_nothrow in filter.h.
6613
6614  src/liblzma/api/lzma/filter.h | 4 ++--
6615  1 file changed, 2 insertions(+), 2 deletions(-)
6616
6617 commit b56cb1fc31fa2381f92eefc040df85667048d626
6618 Author: Lasse Collin <lasse.collin@tukaani.org>
6619 Date:   2009-12-09 18:13:44 +0200
6620
6621     Remove redefinition of _(msgid) macro from lzmainfo.c.
6622
6623  src/lzmainfo/lzmainfo.c | 7 -------
6624  1 file changed, 7 deletions(-)
6625
6626 commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2
6627 Author: Jonathan Nieder <jrnieder@gmail.com>
6628 Date:   2009-12-08 19:41:57 -0600
6629
6630     update po/.gitignore
6631     
6632     Since the *.gmo files are deleted by the maintainer-clean target,
6633     I assume they are not meant to be tracked.
6634     
6635     Also add the other files listed in the Makefile’s clean targets
6636     (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they
6637     are not accidentally tracked.  Most of these are intermediate
6638     files that would not appear unless a build is interrupted or
6639     fails.
6640     
6641     Split the list of untracked files by origin to make it easier to
6642     tell if files are missing in the future.
6643     
6644     Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
6645
6646  po/.gitignore | 28 ++++++++++++++++++++++------
6647  1 file changed, 22 insertions(+), 6 deletions(-)
6648
6649 commit f7e44c6c11f630519072971b8b07a5729c096c36
6650 Author: Lasse Collin <lasse.collin@tukaani.org>
6651 Date:   2009-12-09 00:38:55 +0200
6652
6653     Always rely on GCC's auto-import on Windows.
6654     
6655     I understood that this is nicer, because then people
6656     don't need to worry about the LZMA_API_STATIC macro.
6657     
6658     Thanks to Charles Wilson and Keith Marshall.
6659
6660  src/liblzma/api/lzma.h | 16 +++++++++-------
6661  1 file changed, 9 insertions(+), 7 deletions(-)
6662
6663 commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c
6664 Author: Lasse Collin <lasse.collin@tukaani.org>
6665 Date:   2009-12-07 21:46:53 +0200
6666
6667     Fix file_io.c on DOS-like systems.
6668     
6669     The problem was introduced when adding sparse file
6670     support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902.
6671     
6672     Thanks to Charles Wilson.
6673
6674  src/xz/file_io.c | 4 ++++
6675  1 file changed, 4 insertions(+)
6676
6677 commit 0696f5d268362221380e039bad48a86e29067c6a
6678 Author: Lasse Collin <lasse.collin@tukaani.org>
6679 Date:   2009-12-07 20:54:21 +0200
6680
6681     Add Czech translation.
6682     
6683     Thanks to Marek Černocký.
6684     
6685     Other people planning to translate xz: Note that the
6686     messages are a little bit in flux still. Translations
6687     are still welcome, just be prepared to some extra work
6688     in case there are changes.
6689
6690  THANKS     |   1 +
6691  po/LINGUAS |   1 +
6692  po/cs.po   | 637 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6693  3 files changed, 639 insertions(+)
6694
6695 commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5
6696 Author: Lasse Collin <lasse.collin@tukaani.org>
6697 Date:   2009-12-07 20:32:08 +0200
6698
6699     Add a note for translators to add a bug reporting address
6700     for translation bugs.
6701
6702  src/xz/message.c | 4 ++++
6703  1 file changed, 4 insertions(+)
6704
6705 commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37
6706 Author: Lasse Collin <lasse.collin@tukaani.org>
6707 Date:   2009-12-07 20:07:02 +0200
6708
6709     Prevent xgettext from taking one regular string as a C format string.
6710     
6711     Thanks to Marek Černocký.
6712
6713  src/xz/message.c | 2 +-
6714  1 file changed, 1 insertion(+), 1 deletion(-)
6715
6716 commit e0c2776b6ffbd2b1900fde353aceac734edc93d7
6717 Author: Lasse Collin <lasse.collin@tukaani.org>
6718 Date:   2009-11-28 17:45:22 +0200
6719
6720     Remove duplicate code in io_open_dest().
6721     
6722     Fix a missing _() in the error message too.
6723
6724  src/xz/file_io.c | 9 +--------
6725  1 file changed, 1 insertion(+), 8 deletions(-)
6726
6727 commit f057a33c6f7c5992389479f2d4feabf2900ba7ee
6728 Author: Lasse Collin <lasse.collin@tukaani.org>
6729 Date:   2009-11-26 10:11:23 +0200
6730
6731     Typo fix to sysdefs.h.
6732     
6733     Thanks to Jonathan Nieder.
6734
6735  src/common/sysdefs.h | 2 +-
6736  1 file changed, 1 insertion(+), 1 deletion(-)
6737
6738 commit 8767b41534eafdf5e742e12190646bf5740b0cdb
6739 Author: Lasse Collin <lasse.collin@tukaani.org>
6740 Date:   2009-11-26 10:10:36 +0200
6741
6742     Fix a memory leak in test_index.c.
6743     
6744     This was introduced in
6745     bd13b04e202b6f495a68eb0766f97085b7c50a06.
6746     
6747     Thanks to Jim Meyering for noticing it.
6748
6749  tests/test_index.c | 2 ++
6750  1 file changed, 2 insertions(+)
6751
6752 commit 919fbaff860acdaa4bcd216500a0b1c960a6db92
6753 Author: Lasse Collin <lasse.collin@tukaani.org>
6754 Date:   2009-11-25 14:22:19 +0200
6755
6756     Add missing error check to coder.c.
6757     
6758     With bad luck this could cause a segfault due to
6759     reading (but not writing) past the end of the buffer.
6760
6761  src/xz/coder.c | 20 +++++++++++---------
6762  1 file changed, 11 insertions(+), 9 deletions(-)
6763
6764 commit bd13b04e202b6f495a68eb0766f97085b7c50a06
6765 Author: Lasse Collin <lasse.collin@tukaani.org>
6766 Date:   2009-11-25 13:04:10 +0200
6767
6768     Fix bugs in lzma_index_read() and lzma_index_cat().
6769     
6770     lzma_index_read() didn't skip over Stream Padding
6771     if it was the first record in the Index.
6772     
6773     lzma_index_cat() didn't combine small Indexes correctly.
6774     
6775     The test suite was updated to check for these bugs.
6776     
6777     These bugs didn't affect the xz command line tool or
6778     most users of liblzma in any way.
6779
6780  src/liblzma/common/index.c | 30 +++++++++++++++++++-----------
6781  tests/test_index.c         | 28 +++++++++++++++++++++++++---
6782  2 files changed, 44 insertions(+), 14 deletions(-)
6783
6784 commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa
6785 Author: Lasse Collin <lasse.collin@tukaani.org>
6786 Date:   2009-11-25 12:52:56 +0200
6787
6788     Index decoder fixes.
6789     
6790     The Index decoder code didn't perfectly match the API docs,
6791     which said that *i will be set to point to the decoded Index
6792     only after decoding has succeeded. The docs were a bit unclear
6793     too.
6794     
6795     Now the decoder will initially set *i to NULL. *i will be set
6796     to point to the decoded Index once decoding has succeeded.
6797     This simplifies applications too, since it avoids dangling
6798     pointers.
6799
6800  src/liblzma/api/lzma/index.h       | 23 ++++++++++++-----------
6801  src/liblzma/common/index_decoder.c | 26 ++++++++++++++++++++------
6802  2 files changed, 32 insertions(+), 17 deletions(-)
6803
6804 commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902
6805 Author: Lasse Collin <lasse.collin@tukaani.org>
6806 Date:   2009-11-25 11:19:20 +0200
6807
6808     Create sparse files by default when decompressing into
6809     a regular file.
6810     
6811     Sparse file creation can be disabled with --no-sparse.
6812     I don't promise yet that the name of this option won't
6813     change before 5.0.0. It's possible that the code, that
6814     checks when it is safe to use sparse output on stdout,
6815     is not good enough, and a more flexible command line
6816     option is needed to configure sparse file handling.
6817
6818  src/xz/args.c    |   6 ++
6819  src/xz/coder.c   |  33 ++++----
6820  src/xz/file_io.c | 243 +++++++++++++++++++++++++++++++++++++++++++++++--------
6821  src/xz/file_io.h |  34 ++++++--
6822  src/xz/message.c |   1 +
6823  src/xz/xz.1      |  11 +++
6824  6 files changed, 272 insertions(+), 56 deletions(-)
6825
6826 commit 37de544414fc2dc5039471d1002ebd015eb3e627
6827 Author: Lasse Collin <lasse.collin@tukaani.org>
6828 Date:   2009-11-22 12:43:06 +0200
6829
6830     Updated THANKS.
6831
6832  THANKS | 1 +
6833  1 file changed, 1 insertion(+)
6834
6835 commit f1a28b96c900c658fe016852ff62f6c24d1f50fa
6836 Author: Lasse Collin <lasse.collin@tukaani.org>
6837 Date:   2009-11-22 12:05:33 +0200
6838
6839     Add missing consts to pointer casts.
6840
6841  src/liblzma/check/crc32_fast.c | 4 ++--
6842  src/liblzma/check/crc64_fast.c | 5 +++--
6843  2 files changed, 5 insertions(+), 4 deletions(-)
6844
6845 commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef
6846 Author: Lasse Collin <lasse.collin@tukaani.org>
6847 Date:   2009-11-22 12:00:30 +0200
6848
6849     Enable assembler code only if it is known to work
6850     on that operating system.
6851     
6852     I'm too lazy to think how to make a good Autoconf test
6853     for this and it's not that important anyway.
6854     
6855     No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64.
6856     Inline assembler (if any) is used if a macro like
6857     __i386__ or __x86_64__ is defined.
6858
6859  configure.ac | 26 ++++++++++++--------------
6860  1 file changed, 12 insertions(+), 14 deletions(-)
6861
6862 commit 0733f4c9994db696420a405810d5f02c79ebc404
6863 Author: Lasse Collin <lasse.collin@tukaani.org>
6864 Date:   2009-11-22 11:55:03 +0200
6865
6866     Make fastpos.h use tuklib_integer.h instead of bsr.h
6867     when --enable-small has been specified.
6868
6869  src/liblzma/common/Makefile.inc |  1 -
6870  src/liblzma/common/bsr.h        | 60 -----------------------------------------
6871  src/liblzma/lzma/fastpos.h      |  5 +---
6872  3 files changed, 1 insertion(+), 65 deletions(-)
6873
6874 commit 7ac3985d891dcc5773543f84cc5bce6c14841b12
6875 Author: Lasse Collin <lasse.collin@tukaani.org>
6876 Date:   2009-11-22 11:52:30 +0200
6877
6878     Update tuklib_integer.h with bit scan functions.
6879     
6880     Thanks to Joachim Henke for the original patch.
6881
6882  src/common/tuklib_integer.h | 189 ++++++++++++++++++++++++++++++++++++++++++--
6883  1 file changed, 181 insertions(+), 8 deletions(-)
6884
6885 commit c74c132f7f79a842c073c66575a4fdb985e4c2e3
6886 Author: Lasse Collin <lasse.collin@tukaani.org>
6887 Date:   2009-11-20 12:51:19 +0200
6888
6889     Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib,
6890     which now use AC_CACHE_CHECK. Using the cache variable,
6891     configure now warns if there is no method to detect the amount
6892     of RAM and recommends using --enable-assume-ram.
6893
6894  configure.ac          | 16 ++++++++++++++++
6895  m4/tuklib_cpucores.m4 | 31 ++++++++++++++++++-------------
6896  m4/tuklib_physmem.m4  | 50 +++++++++++++++++++++++++++-----------------------
6897  3 files changed, 61 insertions(+), 36 deletions(-)
6898
6899 commit d315ca4930ff96e1428c6021c96f209e1abdd83e
6900 Author: Lasse Collin <lasse.collin@tukaani.org>
6901 Date:   2009-11-16 18:16:45 +0200
6902
6903     Add support for --info-memory and --robot to xz.
6904     
6905     Currently --robot works only with --info-memory and
6906     --version. --help and --long-help work too, but --robot
6907     has no effect on them.
6908     
6909     Thanks to Jonathan Nieder for the original patches.
6910
6911  src/xz/args.c    | 85 +++++++++++++++++++++++++++++++++-----------------------
6912  src/xz/args.h    |  1 +
6913  src/xz/main.c    | 11 +++++---
6914  src/xz/message.c | 47 +++++++++++++++++++++++--------
6915  src/xz/message.h |  4 +++
6916  src/xz/xz.1      | 40 +++++++++++++++++++++++---
6917  6 files changed, 133 insertions(+), 55 deletions(-)
6918
6919 commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e
6920 Author: Lasse Collin <lasse.collin@tukaani.org>
6921 Date:   2009-11-15 12:54:45 +0200
6922
6923     Fix wrong indentation caused by incorrect settings
6924     in the text editor.
6925
6926  src/liblzma/lz/lz_decoder.c                    | 18 +++++++++---------
6927  src/liblzma/lzma/lzma2_encoder.c               |  6 +++---
6928  src/liblzma/lzma/lzma_encoder_optimum_normal.c |  2 +-
6929  3 files changed, 13 insertions(+), 13 deletions(-)
6930
6931 commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4
6932 Author: Lasse Collin <lasse.collin@tukaani.org>
6933 Date:   2009-11-15 12:40:17 +0200
6934
6935     Add lzma_physmem().
6936     
6937     I had hoped to keep liblzma as purely a compression
6938     library as possible (e.g. file I/O will go into
6939     a different library), but it seems that applications
6940     linking agaisnt liblzma need some way to determine
6941     the memory usage limit, and knowing the amount of RAM
6942     is one reasonable way to help making such decisions.
6943     
6944     Thanks to Jonathan Nieder for the original patch.
6945
6946  src/liblzma/Makefile.am               |  5 ++--
6947  src/liblzma/api/Makefile.am           |  1 +
6948  src/liblzma/api/lzma.h                |  3 +++
6949  src/liblzma/api/lzma/hardware.h       | 51 +++++++++++++++++++++++++++++++++++
6950  src/liblzma/common/Makefile.inc       |  1 +
6951  src/liblzma/common/hardware_physmem.c | 25 +++++++++++++++++
6952  src/xz/Makefile.am                    |  1 -
6953  src/xz/hardware.c                     |  3 +--
6954  src/xzdec/Makefile.am                 |  6 ++---
6955  src/xzdec/xzdec.c                     |  3 +--
6956  10 files changed, 88 insertions(+), 11 deletions(-)
6957
6958 commit cf39faca59083d38422058c6c97aa757ea7797d0
6959 Author: Lasse Collin <lasse.collin@tukaani.org>
6960 Date:   2009-11-14 20:21:19 +0200
6961
6962     Updated THANKS.
6963
6964  THANKS | 1 +
6965  1 file changed, 1 insertion(+)
6966
6967 commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f
6968 Author: Lasse Collin <lasse.collin@tukaani.org>
6969 Date:   2009-11-14 20:20:03 +0200
6970
6971     Some updates to xz man page.
6972
6973  src/xz/xz.1 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++-----
6974  1 file changed, 49 insertions(+), 5 deletions(-)
6975
6976 commit 19b2674f07f8b588dfaf6638396b4b42866d7e23
6977 Author: Lasse Collin <lasse.collin@tukaani.org>
6978 Date:   2009-11-14 19:51:03 +0200
6979
6980     Fix description of --memory in --long-help.
6981
6982  src/xz/message.c | 3 +--
6983  1 file changed, 1 insertion(+), 2 deletions(-)
6984
6985 commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8
6986 Author: Lasse Collin <lasse.collin@tukaani.org>
6987 Date:   2009-11-14 19:45:39 +0200
6988
6989     Update the debug programs so that they compile again.
6990
6991  debug/crc32.c      |  1 +
6992  debug/memusage.c   |  6 ++++--
6993  debug/sync_flush.c | 14 +++++++++-----
6994  3 files changed, 14 insertions(+), 7 deletions(-)
6995
6996 commit 418d64a32e8144210f98a810738fed5a897e8367
6997 Author: Lasse Collin <lasse.collin@tukaani.org>
6998 Date:   2009-11-14 18:59:19 +0200
6999
7000     Fix a design error in liblzma API.
7001     
7002     Originally the idea was that using LZMA_FULL_FLUSH
7003     with Stream encoder would read the filter chain
7004     from the same array that was used to intialize the
7005     Stream encoder. Since most apps wouldn't use
7006     LZMA_FULL_FLUSH, most apps wouldn't need to keep
7007     the filter chain available after initializing the
7008     Stream encoder. However, due to my mistake, it
7009     actually required keeping the array always available.
7010     
7011     Since setting the new filter chain via the array
7012     used at initialization time is not a nice way to do
7013     it for a couple of reasons, this commit ditches it
7014     and introduces lzma_filters_update(). This new function
7015     replaces also the "persistent" flag used by LZMA2
7016     (and to-be-designed Subblock filter), which was also
7017     an ugly thing to do.
7018     
7019     Thanks to Alexey Tourbin for reminding me about the problem
7020     that Stream encoder used to require keeping the filter
7021     chain allocated.
7022
7023  src/liblzma/api/lzma/filter.h           | 30 +++++++++++++
7024  src/liblzma/api/lzma/lzma.h             | 13 ------
7025  src/liblzma/common/block_encoder.c      | 14 ++++++
7026  src/liblzma/common/common.c             | 20 ++++++++-
7027  src/liblzma/common/common.h             | 22 ++++++++++
7028  src/liblzma/common/easy_encoder.c       | 63 ++-------------------------
7029  src/liblzma/common/filter_common.c      |  3 ++
7030  src/liblzma/common/filter_encoder.c     | 27 ++++++++++++
7031  src/liblzma/common/filter_encoder.h     |  2 +-
7032  src/liblzma/common/stream_encoder.c     | 76 ++++++++++++++++++++++++++++-----
7033  src/liblzma/delta/delta_common.c        |  5 +--
7034  src/liblzma/delta/delta_decoder.c       |  3 +-
7035  src/liblzma/delta/delta_encoder.c       | 17 +++++++-
7036  src/liblzma/delta/delta_private.h       |  2 +-
7037  src/liblzma/lz/lz_encoder.c             | 17 ++++++++
7038  src/liblzma/lz/lz_encoder.h             |  4 ++
7039  src/liblzma/lzma/lzma2_encoder.c        | 59 ++++++++++++++-----------
7040  src/liblzma/lzma/lzma_encoder_presets.c |  1 -
7041  src/liblzma/simple/simple_coder.c       | 12 ++++++
7042  src/xz/options.c                        |  1 -
7043  20 files changed, 273 insertions(+), 118 deletions(-)
7044
7045 commit f0bf7634b77263a4dd02b20c71861ab67995da68
7046 Author: Lasse Collin <lasse.collin@tukaani.org>
7047 Date:   2009-10-17 11:11:58 +0300
7048
7049     Fix wrong function name in the previous commit.
7050     
7051     It was meant to be lzma_filters_copy(), not lzma_filters_dup().
7052
7053  src/liblzma/api/lzma/filter.h      | 2 +-
7054  src/liblzma/common/filter_common.c | 2 +-
7055  2 files changed, 2 insertions(+), 2 deletions(-)
7056
7057 commit 6d118a0b9def82e96afba7386ec8d7da0b59649f
7058 Author: Lasse Collin <lasse.collin@tukaani.org>
7059 Date:   2009-10-17 01:47:07 +0300
7060
7061     Add lzma_filters_copy().
7062     
7063     This will be needed internally by liblzma once I fix
7064     a design mistake in the encoder API. This function may
7065     be useful to applications too so it's good to export it.
7066
7067  src/liblzma/api/lzma/filter.h      | 31 ++++++++++++++
7068  src/liblzma/common/filter_common.c | 82 ++++++++++++++++++++++++++++++++++++++
7069  2 files changed, 113 insertions(+)
7070
7071 commit 78e92c18470483e161388e679c1ee556adb3a691
7072 Author: Jonathan Nieder <jrnieder@gmail.com>
7073 Date:   2009-10-15 20:44:13 -0500
7074
7075     Escape dashes in xzmore.1
7076     
7077     A minus sign is larger, easier to see in a printout, and more
7078     likely to use the same glyph as ASCII hyphen-minus in a terminal
7079     than a hyphen.  Since broken manual pagers do not find hyphens
7080     when the user searches for a hyphen-minus, minus signs are also
7081     easier to search for.  So use minus signs instead of hyphens to
7082     render sample terminal output.
7083
7084  src/scripts/xzmore.1 | 4 ++--
7085  1 file changed, 2 insertions(+), 2 deletions(-)
7086
7087 commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee
7088 Author: Lasse Collin <lasse.collin@tukaani.org>
7089 Date:   2009-10-16 20:35:39 +0300
7090
7091     Mention --check=none in --long-help. It was already in
7092     the man page though.
7093     
7094     Thanks to Jim Meyering for noticing this.
7095
7096  src/xz/message.c | 2 +-
7097  1 file changed, 1 insertion(+), 1 deletion(-)
7098
7099 commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24
7100 Author: Lasse Collin <lasse.collin@tukaani.org>
7101 Date:   2009-10-04 22:57:12 +0300
7102
7103     Use a tuklib module for integer handling.
7104     
7105     This replaces bswap.h and integer.h.
7106     
7107     The tuklib module uses <byteswap.h> on GNU,
7108     <sys/endian.h> on *BSDs and <sys/byteorder.h>
7109     on Solaris, which may contain optimized code
7110     like inline assembly.
7111
7112  configure.ac                              |  54 +----
7113  m4/tuklib_integer.m4                      |  74 +++++++
7114  src/common/bswap.h                        |  52 -----
7115  src/common/integer.h                      | 170 ---------------
7116  src/common/tuklib_config.h                |   8 +-
7117  src/common/tuklib_integer.h               | 350 ++++++++++++++++++++++++++++++
7118  src/liblzma/check/check.c                 |   4 +-
7119  src/liblzma/check/crc32_fast.c            |   4 +-
7120  src/liblzma/check/crc32_tablegen.c        |   8 +-
7121  src/liblzma/check/crc64_fast.c            |   4 +-
7122  src/liblzma/check/crc64_tablegen.c        |   8 +-
7123  src/liblzma/check/crc_macros.h            |   2 -
7124  src/liblzma/check/sha256.c                |  18 +-
7125  src/liblzma/common/alone_encoder.c        |   2 +-
7126  src/liblzma/common/block_header_decoder.c |   2 +-
7127  src/liblzma/common/block_header_encoder.c |   2 +-
7128  src/liblzma/common/common.h               |   2 +-
7129  src/liblzma/common/stream_flags_decoder.c |   6 +-
7130  src/liblzma/common/stream_flags_encoder.c |   6 +-
7131  src/liblzma/lz/lz_encoder_hash.h          |   2 +-
7132  src/liblzma/lzma/lzma_decoder.c           |   2 +-
7133  src/liblzma/lzma/lzma_encoder.c           |   2 +-
7134  src/liblzma/lzma/lzma_encoder_private.h   |   2 +-
7135  src/liblzma/simple/simple_decoder.c       |   2 +-
7136  src/liblzma/simple/simple_encoder.c       |   2 +-
7137  tests/test_block_header.c                 |   4 +-
7138  tests/test_stream_flags.c                 |   6 +-
7139  tests/tests.h                             |   2 +-
7140  28 files changed, 467 insertions(+), 333 deletions(-)
7141
7142 commit 29fd321033276261b87da7be5223db33d879a4c7
7143 Author: Lasse Collin <lasse.collin@tukaani.org>
7144 Date:   2009-10-02 14:35:56 +0300
7145
7146     Add support for --enable-assume-ram=SIZE.
7147
7148  INSTALL           | 16 ++++++++++++++++
7149  configure.ac      | 24 ++++++++++++++++++++++++
7150  src/xz/hardware.c |  7 +++----
7151  src/xzdec/xzdec.c |  5 +++--
7152  4 files changed, 46 insertions(+), 6 deletions(-)
7153
7154 commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25
7155 Author: Lasse Collin <lasse.collin@tukaani.org>
7156 Date:   2009-10-02 11:28:17 +0300
7157
7158     Use unaligned access (if possible) on both endiannesses
7159     in lz_encoder_hash.h.
7160
7161  src/liblzma/lz/lz_encoder_hash.h | 4 ++--
7162  1 file changed, 2 insertions(+), 2 deletions(-)
7163
7164 commit c5f68b5cc79085a87f950fea53843e27f328068e
7165 Author: Lasse Collin <lasse.collin@tukaani.org>
7166 Date:   2009-10-02 11:03:26 +0300
7167
7168     Make liblzma produce the same output on both endiannesses.
7169     
7170     Seems that it is a problem in some cases if the same
7171     version of XZ Utils produces different output on different
7172     endiannesses, so this commit fixes that problem. The output
7173     will still vary between different XZ Utils versions, but I
7174     cannot avoid that for now.
7175     
7176     This commit bloatens the code on big endian systems by 1 KiB,
7177     which should be OK since liblzma is bloated already. ;-)
7178
7179  src/liblzma/check/crc32_tablegen.c     | 30 +++++++++++++++
7180  src/liblzma/lz/Makefile.inc            |  1 +
7181  src/liblzma/lz/lz_encoder.c            |  7 +++-
7182  src/liblzma/lz/lz_encoder_hash.h       | 35 +++++++++++------
7183  src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++++
7184  src/liblzma/lz/lz_encoder_mf.c         |  1 -
7185  6 files changed, 128 insertions(+), 14 deletions(-)
7186
7187 commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a
7188 Author: Mike Frysinger <vapier@gentoo.org>
7189 Date:   2009-09-26 12:51:50 -0400
7190
7191     add lzmainfo to gitignore
7192     
7193     Signed-off-by: Mike Frysinger <vapier@gentoo.org>
7194
7195  .gitignore | 2 ++
7196  1 file changed, 2 insertions(+)
7197
7198 commit 188a1dcd0cc7867810ed3a55c598d0680922c63b
7199 Author: Lasse Collin <lasse.collin@tukaani.org>
7200 Date:   2009-09-27 11:53:36 +0300
7201
7202     Updated THANKS.
7203
7204  THANKS | 1 +
7205  1 file changed, 1 insertion(+)
7206
7207 commit db9119b9181b307e7ac5d2bae82444d04b902b59
7208 Author: Lasse Collin <lasse.collin@tukaani.org>
7209 Date:   2009-09-27 11:48:54 +0300
7210
7211     Work around a bug in Interix header files.
7212     
7213     Thanks to Markus Duft for the patch.
7214
7215  src/common/sysdefs.h | 6 ++++++
7216  1 file changed, 6 insertions(+)
7217
7218 commit b3d105e69786a45963176fd2193abe75e05ba738
7219 Author: Lasse Collin <lasse.collin@tukaani.org>
7220 Date:   2009-09-24 17:50:17 +0300
7221
7222     Fix an error in OpenVMS-specific code.
7223     
7224     Thanks to Jouk Jansen.
7225
7226  src/xz/file_io.c | 2 +-
7227  1 file changed, 1 insertion(+), 1 deletion(-)
7228
7229 commit 5e000ff00d4d01e559397b49eb648ad3f159d496
7230 Author: Lasse Collin <lasse.collin@tukaani.org>
7231 Date:   2009-09-22 18:59:56 +0300
7232
7233     Added OpenVMS-specific information to INSTALL.
7234
7235  INSTALL | 11 +++++++++++
7236  1 file changed, 11 insertions(+)
7237
7238 commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4
7239 Author: Lasse Collin <lasse.collin@tukaani.org>
7240 Date:   2009-09-22 14:03:02 +0300
7241
7242     Better fixes for OpenVMS support.
7243     
7244     Thanks to Jouk Jansen.
7245
7246  src/xz/file_io.c | 19 ++++++++++++++++---
7247  1 file changed, 16 insertions(+), 3 deletions(-)
7248
7249 commit 4c3630ec4179fe9265407a35c4db1374ffc82372
7250 Author: Lasse Collin <lasse.collin@tukaani.org>
7251 Date:   2009-09-22 13:40:19 +0300
7252
7253     Avoid non-standard preprocessor construct.
7254     
7255     Thanks to Jouk Jansen.
7256
7257  src/common/tuklib_common.h | 11 +++++++----
7258  1 file changed, 7 insertions(+), 4 deletions(-)
7259
7260 commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9
7261 Author: Lasse Collin <lasse.collin@tukaani.org>
7262 Date:   2009-09-21 19:50:09 +0300
7263
7264     Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
7265     
7266     Thanks to Charles Wilson.
7267
7268  src/common/tuklib_common.h | 3 ++-
7269  1 file changed, 2 insertions(+), 1 deletion(-)
7270
7271 commit e599bba4216c0edb8cc8f40adad3a6dba88685f4
7272 Author: Lasse Collin <lasse.collin@tukaani.org>
7273 Date:   2009-09-19 09:47:30 +0300
7274
7275     Various changes.
7276     
7277     Separate a few reusable components from XZ Utils specific
7278     code. The reusable code is now in "tuklib" modules. A few
7279     more could be separated still, e.g. bswap.h.
7280     
7281     Fix some bugs in lzmainfo.
7282     
7283     Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol
7284     for help.
7285     
7286     Add OpenVMS support into physmem. Add a few #ifdefs to ease
7287     building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the
7288     original patch.
7289
7290  THANKS                          |   1 +
7291  configure.ac                    |  12 ++--
7292  m4/lc_cpucores.m4               |  57 ----------------
7293  m4/lc_physmem.m4                |  84 -----------------------
7294  m4/tuklib_common.m4             |  22 ++++++
7295  m4/tuklib_cpucores.m4           |  72 ++++++++++++++++++++
7296  m4/tuklib_physmem.m4            | 119 ++++++++++++++++++++++++++++++++
7297  m4/tuklib_progname.m4           |  25 +++++++
7298  src/common/cpucores.h           |  51 --------------
7299  src/common/open_stdxxx.h        |  49 --------------
7300  src/common/physmem.h            | 144 ---------------------------------------
7301  src/common/sysdefs.h            |   4 --
7302  src/common/tuklib_common.h      |  67 ++++++++++++++++++
7303  src/common/tuklib_config.h      |   1 +
7304  src/common/tuklib_cpucores.c    |  46 +++++++++++++
7305  src/common/tuklib_cpucores.h    |  23 +++++++
7306  src/common/tuklib_exit.c        |  57 ++++++++++++++++
7307  src/common/tuklib_exit.h        |  25 +++++++
7308  src/common/tuklib_gettext.h     |  44 ++++++++++++
7309  src/common/tuklib_open_stdxxx.c |  51 ++++++++++++++
7310  src/common/tuklib_open_stdxxx.h |  23 +++++++
7311  src/common/tuklib_physmem.c     | 146 ++++++++++++++++++++++++++++++++++++++++
7312  src/common/tuklib_physmem.h     |  28 ++++++++
7313  src/common/tuklib_progname.c    |  50 ++++++++++++++
7314  src/common/tuklib_progname.h    |  32 +++++++++
7315  src/lzmainfo/Makefile.am        |   5 +-
7316  src/lzmainfo/lzmainfo.c         |  65 ++++++------------
7317  src/xz/Makefile.am              |   7 +-
7318  src/xz/args.c                   |   8 +--
7319  src/xz/file_io.c                |  43 ++++++------
7320  src/xz/hardware.c               |   8 +--
7321  src/xz/main.c                   | 100 ++++++---------------------
7322  src/xz/main.h                   |   7 --
7323  src/xz/message.c                |  30 +++++----
7324  src/xz/message.h                |   8 +--
7325  src/xz/private.h                |  11 +--
7326  src/xz/signals.c                |   2 +
7327  src/xz/signals.h                |  17 +++--
7328  src/xz/suffix.c                 |   2 +-
7329  src/xzdec/Makefile.am           |  13 +++-
7330  src/xzdec/xzdec.c               |  55 +++++----------
7331  41 files changed, 974 insertions(+), 640 deletions(-)
7332
7333 commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef
7334 Author: Lasse Collin <lasse.collin@tukaani.org>
7335 Date:   2009-09-15 21:07:23 +0300
7336
7337     Fix incorrect use of "restrict".
7338
7339  src/liblzma/api/lzma/vli.h       | 4 ++--
7340  src/liblzma/common/vli_decoder.c | 2 +-
7341  src/liblzma/common/vli_encoder.c | 2 +-
7342  3 files changed, 4 insertions(+), 4 deletions(-)
7343
7344 commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c
7345 Author: Lasse Collin <lasse.collin@tukaani.org>
7346 Date:   2009-09-12 14:09:17 +0300
7347
7348     Fix GCC version check for nothrow attribute.
7349
7350  src/liblzma/api/lzma.h | 2 +-
7351  1 file changed, 1 insertion(+), 1 deletion(-)
7352
7353 commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224
7354 Author: Lasse Collin <lasse.collin@tukaani.org>
7355 Date:   2009-09-12 14:08:15 +0300
7356
7357     Updated THANKS.
7358
7359  THANKS | 1 +
7360  1 file changed, 1 insertion(+)
7361
7362 commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac
7363 Author: Lasse Collin <lasse.collin@tukaani.org>
7364 Date:   2009-09-12 14:07:36 +0300
7365
7366     A few grammar fixes.
7367     
7368     Thanks to Christian Weisgerber for pointing out some of these.
7369
7370  src/liblzma/api/lzma.h                    |  4 ++--
7371  src/liblzma/api/lzma/vli.h                |  4 ++--
7372  src/liblzma/common/block_header_encoder.c |  2 +-
7373  src/liblzma/common/filter_common.c        |  2 +-
7374  src/liblzma/lz/lz_encoder.h               | 10 +++++-----
7375  src/xz/message.c                          | 22 +++++++++++-----------
7376  src/xzdec/xzdec.c                         |  2 +-
7377  7 files changed, 23 insertions(+), 23 deletions(-)
7378
7379 commit 8905a33daadcd2d6557c83c81c490b827d566c94
7380 Author: Lasse Collin <lasse.collin@tukaani.org>
7381 Date:   2009-09-11 17:08:15 +0300
7382
7383     Updated THANKS.
7384
7385  THANKS | 1 +
7386  1 file changed, 1 insertion(+)
7387
7388 commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9
7389 Author: Lasse Collin <lasse.collin@tukaani.org>
7390 Date:   2009-09-11 17:06:32 +0300
7391
7392     Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.
7393
7394  dos/config.h     | 3 +++
7395  windows/config.h | 3 +++
7396  2 files changed, 6 insertions(+)
7397
7398 commit 221be761f467da76875247bc02d7a1716682075d
7399 Author: Lasse Collin <lasse.collin@tukaani.org>
7400 Date:   2009-09-11 10:24:09 +0300
7401
7402     Use $(LN_EXEEXT) in symlinks to executables.
7403     
7404     This fixes "make install" on operating systems using
7405     a suffix for executables.
7406     
7407     Cygwin is treated specially. The symlink names won't have
7408     .exe suffix even though the executables themselves have.
7409     Thanks to Charles Wilson.
7410
7411  configure.ac       | 9 +++++++++
7412  src/xz/Makefile.am | 4 ++--
7413  2 files changed, 11 insertions(+), 2 deletions(-)
7414
7415 commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c
7416 Author: Lasse Collin <lasse.collin@tukaani.org>
7417 Date:   2009-09-11 09:25:09 +0300
7418
7419     Fix a couple of warnings.
7420
7421  src/liblzma/common/stream_decoder.c            | 2 +-
7422  src/liblzma/lz/lz_encoder.c                    | 5 +----
7423  src/liblzma/lzma/lzma_encoder.c                | 2 +-
7424  src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++----
7425  tests/tests.h                                  | 2 +-
7426  5 files changed, 8 insertions(+), 11 deletions(-)
7427
7428 commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4
7429 Author: Lasse Collin <lasse.collin@tukaani.org>
7430 Date:   2009-09-05 18:39:21 +0300
7431
7432     Add OS/2-specific code to physmem.h.
7433     
7434     Also move DJGPP-specific code near the code meant
7435     for other DOS-like systems.
7436
7437  src/common/physmem.h | 32 +++++++++++++++++++++-----------
7438  1 file changed, 21 insertions(+), 11 deletions(-)
7439
7440 commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740
7441 Author: Lasse Collin <lasse.collin@tukaani.org>
7442 Date:   2009-09-05 01:21:15 +0300
7443
7444     Updated THANKS.
7445
7446  THANKS | 2 ++
7447  1 file changed, 2 insertions(+)
7448
7449 commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071
7450 Author: Lasse Collin <lasse.collin@tukaani.org>
7451 Date:   2009-09-05 01:20:29 +0300
7452
7453     Use sysctl() != -1 instead of !sysctl() to check if
7454     the function call succeeded.
7455     
7456     NetBSD 4.0 returns positive values on success, but
7457     NetBSD Current and FreeBSD return zero. OpenBSD's
7458     man page doesn't tell what sysctl() returns on
7459     success. All these BSDs return -1 on error.
7460     
7461     Thanks to Robert Elz and Thomas Klausner.
7462
7463  src/common/cpucores.h | 2 +-
7464  src/common/physmem.h  | 2 +-
7465  2 files changed, 2 insertions(+), 2 deletions(-)
7466
7467 commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32
7468 Author: Lasse Collin <lasse.collin@tukaani.org>
7469 Date:   2009-09-02 09:43:51 +0300
7470
7471     Mention in INSTALL that --enable-small doesn't modify CFLAGS.
7472
7473  INSTALL | 4 ++++
7474  1 file changed, 4 insertions(+)
7475
7476 commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc
7477 Author: Lasse Collin <lasse.collin@tukaani.org>
7478 Date:   2009-09-01 20:40:01 +0300
7479
7480     Refactored option parsing.
7481
7482  src/xz/options.c | 70 ++++++++++++++++++++++++++++----------------------------
7483  1 file changed, 35 insertions(+), 35 deletions(-)
7484
7485 commit 25adaaa56e2e51a47a910a8d73452414619a2e53
7486 Author: Lasse Collin <lasse.collin@tukaani.org>
7487 Date:   2009-09-01 20:23:30 +0300
7488
7489     Fix options parsing bug in xz.
7490     
7491     xz used to reject "xz --lzma2=pb=2," while
7492     "xz --lzma2=pb=2,," worked. Now both work.
7493
7494  src/xz/options.c | 6 ++----
7495  1 file changed, 2 insertions(+), 4 deletions(-)
7496
7497 commit 5f6dddc6c911df02ba660564e78e6de80947c947
7498 Author: Lasse Collin <lasse.collin@tukaani.org>
7499 Date:   2009-09-01 20:20:19 +0300
7500
7501     Updated TODO.
7502
7503  TODO | 3 +++
7504  1 file changed, 3 insertions(+)
7505
7506 commit 655457b9ada5ec7db398c5392e41290f3f332ea8
7507 Author: Lasse Collin <lasse.collin@tukaani.org>
7508 Date:   2009-08-31 21:59:25 +0300
7509
7510     Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
7511     and use a fix that works on all systems using
7512     GNU assembler.
7513     
7514     Maybe the assembler code is used e.g. on Solaris x86
7515     but let's worry about it if this doesn't work on it.
7516
7517  src/liblzma/check/crc32_x86.S | 7 ++-----
7518  src/liblzma/check/crc64_x86.S | 7 ++-----
7519  2 files changed, 4 insertions(+), 10 deletions(-)
7520
7521 commit 162189c3477953805a28f96d3a75cb9ab9417928
7522 Author: Lasse Collin <lasse.collin@tukaani.org>
7523 Date:   2009-08-30 17:29:19 +0300
7524
7525     Updated THANKS.
7526
7527  THANKS | 1 +
7528  1 file changed, 1 insertion(+)
7529
7530 commit 2331f5f97af3e5897e23da45d9df3d664099c7f8
7531 Author: Lasse Collin <lasse.collin@tukaani.org>
7532 Date:   2009-08-30 17:28:52 +0300
7533
7534     Add more OS/2 specific info to INSTALL.
7535
7536  INSTALL | 5 +++++
7537  1 file changed, 5 insertions(+)
7538
7539 commit 94c66b3297b3ad307eee93cf6b160e3c43997f11
7540 Author: Lasse Collin <lasse.collin@tukaani.org>
7541 Date:   2009-08-29 14:43:52 +0300
7542
7543     Use even more hackish way to support thousand separators.
7544     
7545     Seems that in addition on Windows and DOS, also OpenBSD
7546     lacks support for %'d style printf() format strings.
7547     So far that is the only modern POSIX-like system I know
7548     with this problem, but after this hack, the thousand
7549     separator shouldn't be a problem on any system.
7550     
7551     Maybe testing if a format string like %'d produces
7552     reasonable output is invoking undefined behavior on some
7553     systems, but so far all the problematic systems I've tried
7554     just print the raw format string (e.g. %'d prints 'd).
7555     
7556     Maybe Autoconf test would have been better, but this
7557     hack works also for cross-compilation, and avoids
7558     recompilation in case the system libc starts to support
7559     the thousand separator.
7560
7561  src/xz/util.c | 36 +++++++++++++++++++++++++-----------
7562  1 file changed, 25 insertions(+), 11 deletions(-)
7563
7564 commit 3432e9c6aab851da1227b63dce645d7f190c04d8
7565 Author: Lasse Collin <lasse.collin@tukaani.org>
7566 Date:   2009-08-29 13:42:56 +0300
7567
7568     Updated THANKS.
7569
7570  THANKS | 3 +++
7571  1 file changed, 3 insertions(+)
7572
7573 commit 27414daadf5727e8ab942374b5ec1c8990122878
7574 Author: Lasse Collin <lasse.collin@tukaani.org>
7575 Date:   2009-08-29 13:39:21 +0300
7576
7577     Fix sysctl() usage.
7578     
7579     This fixes build on *BSDs and Darwin.
7580     
7581     Thanks to Jukka Salmi for the patches.
7582     Richard Koch reported the problem too.
7583
7584  m4/lc_cpucores.m4     | 2 +-
7585  m4/lc_physmem.m4      | 2 +-
7586  src/common/cpucores.h | 2 +-
7587  src/common/physmem.h  | 2 +-
7588  4 files changed, 4 insertions(+), 4 deletions(-)
7589
7590 commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
7591 Author: Lasse Collin <lasse.collin@tukaani.org>
7592 Date:   2009-08-29 13:35:23 +0300
7593
7594     Fix x86 assembler on GCC 3.
7595     
7596     Thanks to Karl Berry.
7597
7598  src/liblzma/check/crc32_x86.S | 7 +++++--
7599  src/liblzma/check/crc64_x86.S | 7 +++++--
7600  2 files changed, 10 insertions(+), 4 deletions(-)
7601
7602 commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8
7603 Author: Lasse Collin <lasse.collin@tukaani.org>
7604 Date:   2009-08-27 18:36:59 +0300
7605
7606     "make dist" fixes
7607
7608  Makefile.am | 13 ++++++-------
7609  1 file changed, 6 insertions(+), 7 deletions(-)
7610
7611 commit c8c184db1c95bf70f78256ec6237845a57f342af
7612 Author: Lasse Collin <lasse.collin@tukaani.org>
7613 Date:   2009-08-27 17:08:33 +0300
7614
7615     Update xz man page date.
7616
7617  src/xz/xz.1 | 2 +-
7618  1 file changed, 1 insertion(+), 1 deletion(-)
7619
7620 commit 9756fce565e98b8fa5fe6ead296d84e7601ec254
7621 Author: Lasse Collin <lasse.collin@tukaani.org>
7622 Date:   2009-08-27 17:00:22 +0300
7623
7624     Fix the debug directory.
7625     
7626     6a2eb54092fc625d59921a607ff68cd1a90aa898 and
7627     71f18e8a066a01dda0c8e5508b135ef104e43e4c required
7628     some changes that weren't applied in debug.
7629
7630  debug/Makefile.am   | 5 +++--
7631  debug/full_flush.c  | 1 +
7632  debug/known_sizes.c | 1 +
7633  debug/memusage.c    | 1 +
7634  debug/sync_flush.c  | 1 +
7635  5 files changed, 7 insertions(+), 2 deletions(-)
7636
7637 commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea
7638 Author: Lasse Collin <lasse.collin@tukaani.org>
7639 Date:   2009-08-27 16:36:40 +0300
7640
7641     Add missing files to EXTRA_DIST.
7642
7643  Makefile.am | 11 +++++++----
7644  1 file changed, 7 insertions(+), 4 deletions(-)
7645
7646 commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d
7647 Author: Lasse Collin <lasse.collin@tukaani.org>
7648 Date:   2009-08-27 16:21:22 +0300
7649
7650     Bumped version to 4.999.9beta.
7651
7652  src/liblzma/api/lzma/version.h | 2 +-
7653  1 file changed, 1 insertion(+), 1 deletion(-)
7654
7655 commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4
7656 Author: Lasse Collin <lasse.collin@tukaani.org>
7657 Date:   2009-08-27 16:17:47 +0300
7658
7659     Updated THANKS.
7660
7661  THANKS | 2 ++
7662  1 file changed, 2 insertions(+)
7663
7664 commit c29e76c0f910fca0a90a50b78d337f6c32623e9d
7665 Author: Lasse Collin <lasse.collin@tukaani.org>
7666 Date:   2009-08-27 16:12:52 +0300
7667
7668     .xz file format specification 1.0.4 (probably).
7669     
7670     Thanks to Christian von Roques, Peter Lawler,
7671     and Jim Meyering for the fixes.
7672
7673  doc/xz-file-format.txt | 26 +++++++++++++++-----------
7674  1 file changed, 15 insertions(+), 11 deletions(-)
7675
7676 commit 696d7ee3953beaf4f0ed18e78917ccf300431966
7677 Author: Lasse Collin <lasse.collin@tukaani.org>
7678 Date:   2009-08-27 15:43:54 +0300
7679
7680     Require GNU libtool 2.2.
7681
7682  configure.ac | 13 +++----------
7683  1 file changed, 3 insertions(+), 10 deletions(-)
7684
7685 commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d
7686 Author: Lasse Collin <lasse.collin@tukaani.org>
7687 Date:   2009-08-27 15:34:45 +0300
7688
7689     Add "dos" to EXTRA_DIST.
7690
7691  Makefile.am | 1 +
7692  1 file changed, 1 insertion(+)
7693
7694 commit 35b29e4424ced5a3ababf132283e519080c7b298
7695 Author: Lasse Collin <lasse.collin@tukaani.org>
7696 Date:   2009-08-27 15:23:27 +0300
7697
7698     Updated TODO.
7699
7700  TODO | 6 ++++++
7701  1 file changed, 6 insertions(+)
7702
7703 commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea
7704 Author: Lasse Collin <lasse.collin@tukaani.org>
7705 Date:   2009-08-27 15:17:00 +0300
7706
7707     Some xz man page improvements.
7708
7709  src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
7710  1 file changed, 62 insertions(+), 16 deletions(-)
7711
7712 commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d
7713 Author: Lasse Collin <lasse.collin@tukaani.org>
7714 Date:   2009-08-27 10:41:01 +0300
7715
7716     Removed doc/bugs.txt.
7717
7718  doc/bugs.txt | 46 ----------------------------------------------
7719  1 file changed, 46 deletions(-)
7720
7721 commit d88c4072b36d3a76f839185799fb1d91037a1b81
7722 Author: Lasse Collin <lasse.collin@tukaani.org>
7723 Date:   2009-08-27 10:40:25 +0300
7724
7725     Updated README.
7726     
7727     It now includes bug reporting instructions/tips.
7728
7729  README | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
7730  1 file changed, 55 insertions(+), 10 deletions(-)
7731
7732 commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e
7733 Author: Lasse Collin <lasse.collin@tukaani.org>
7734 Date:   2009-08-27 10:21:18 +0300
7735
7736     Fix a typo in FAQ.
7737     
7738     Thanks to Jim Meyering.
7739     
7740     (From now on, I try to always remember to put
7741     the relevant thanks to commit messages.)
7742
7743  doc/faq.txt | 2 +-
7744  1 file changed, 1 insertion(+), 1 deletion(-)
7745
7746 commit 3e2ba8b58585743e59251e69ad2783eb08357079
7747 Author: Lasse Collin <lasse.collin@tukaani.org>
7748 Date:   2009-08-27 10:13:46 +0300
7749
7750     Updates to liblzma API headers.
7751     
7752     Added lzma_nothrow for every function. It adds
7753     throw() when the header is used in C++ code.
7754     
7755     Some lzma_attrs were added or removed.
7756     
7757     Lots of comments were improved.
7758
7759  src/liblzma/api/lzma.h              | 20 ++++++++
7760  src/liblzma/api/lzma/base.h         | 48 +++++++++---------
7761  src/liblzma/api/lzma/block.h        | 38 ++++++++-------
7762  src/liblzma/api/lzma/check.h        | 22 +++++----
7763  src/liblzma/api/lzma/container.h    | 36 ++++++++------
7764  src/liblzma/api/lzma/filter.h       | 81 +++++++++++++++++++------------
7765  src/liblzma/api/lzma/index.h        | 97 ++++++++++++++++++++++---------------
7766  src/liblzma/api/lzma/index_hash.h   | 14 ++++--
7767  src/liblzma/api/lzma/lzma.h         | 87 +++++++++++++++++----------------
7768  src/liblzma/api/lzma/stream_flags.h | 12 ++---
7769  src/liblzma/api/lzma/version.h      | 10 ++--
7770  src/liblzma/api/lzma/vli.h          |  7 +--
7771  12 files changed, 275 insertions(+), 197 deletions(-)
7772
7773 commit 8e8ebc17c535a1f8846718059b48417409c37050
7774 Author: Lasse Collin <lasse.collin@tukaani.org>
7775 Date:   2009-08-18 00:30:09 +0300
7776
7777     Install faq.txt.
7778
7779  Makefile.am | 1 +
7780  1 file changed, 1 insertion(+)
7781
7782 commit b198e770a146e4a41f91a93f0b233713f2515848
7783 Author: Lasse Collin <lasse.collin@tukaani.org>
7784 Date:   2009-08-18 00:26:48 +0300
7785
7786     Updated faq.txt.
7787     
7788     Some questions worth answering were removed, because I
7789     currently don't have good up to date answers to them.
7790
7791  doc/faq.txt | 239 +++++++++++++++++++-----------------------------------------
7792  1 file changed, 73 insertions(+), 166 deletions(-)
7793
7794 commit fe111a25cd788d31b581996e4533910388a7f0a9
7795 Author: Lasse Collin <lasse.collin@tukaani.org>
7796 Date:   2009-08-17 22:45:50 +0300
7797
7798     Some xz man changes.
7799
7800  src/xz/xz.1 | 88 ++++++++++++++++++++++++++++++-------------------------------
7801  1 file changed, 43 insertions(+), 45 deletions(-)
7802
7803 commit 10242a21e9abda0c5c6a03501703cc40b8a699a5
7804 Author: Lasse Collin <lasse.collin@tukaani.org>
7805 Date:   2009-08-16 22:15:42 +0300
7806
7807     Updated THANKS.
7808
7809  THANKS | 1 +
7810  1 file changed, 1 insertion(+)
7811
7812 commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d
7813 Author: Lasse Collin <lasse.collin@tukaani.org>
7814 Date:   2009-08-16 22:15:13 +0300
7815
7816     Fix data corruption in LZ/LZMA2 encoder.
7817     
7818     Thanks to Jonathan Stott for the bug report.
7819
7820  src/liblzma/lz/lz_encoder.h | 2 +-
7821  1 file changed, 1 insertion(+), 1 deletion(-)
7822
7823 commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a
7824 Author: Lasse Collin <lasse.collin@tukaani.org>
7825 Date:   2009-08-13 15:15:37 +0300
7826
7827     Updated INSTALL and PACKAGERS to match the changes
7828     made in --enable-dynamic.
7829
7830  INSTALL   | 20 ++++++++++++++++----
7831  PACKAGERS | 11 ++++++-----
7832  2 files changed, 22 insertions(+), 9 deletions(-)
7833
7834 commit 8238c4b2402f952c4e492e5b778aa272e57b6705
7835 Author: Lasse Collin <lasse.collin@tukaani.org>
7836 Date:   2009-08-13 15:03:46 +0300
7837
7838     Link lzmainfo against shared liblzma by default.
7839
7840  src/lzmainfo/Makefile.am | 4 ++--
7841  1 file changed, 2 insertions(+), 2 deletions(-)
7842
7843 commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c
7844 Author: Lasse Collin <lasse.collin@tukaani.org>
7845 Date:   2009-08-13 15:00:21 +0300
7846
7847     Make --enable-dynamic a tristate option.
7848     
7849     Some programs will by default be linked against static
7850     liblzma and some against shared liblzma. --enable-dynamic
7851     now allows overriding the default to both directions
7852     (all dynamic or all static) even when building both
7853     shared and static liblzma.
7854     
7855     This is quite messy compared to how simple thing it is supposed
7856     to be. The complexity is mostly due to Windows support.
7857
7858  configure.ac | 77 ++++++++++++++++++++++++++++++++++++++++++++----------------
7859  1 file changed, 57 insertions(+), 20 deletions(-)
7860
7861 commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61
7862 Author: Lasse Collin <lasse.collin@tukaani.org>
7863 Date:   2009-08-13 12:56:47 +0300
7864
7865     Fix xz Makefile.am for the man page.
7866     
7867     install-exec-hook -> install-data-hook
7868
7869  src/xz/Makefile.am | 2 ++
7870  1 file changed, 2 insertions(+)
7871
7872 commit e51b4e49e800bd84e6d589dca2964d3985e88139
7873 Author: Lasse Collin <lasse.collin@tukaani.org>
7874 Date:   2009-08-13 12:55:45 +0300
7875
7876     Add lzmainfo for backward compatibility with LZMA Utils.
7877     
7878     lzmainfo now links against static liblzma. In contrast
7879     to other command line tools in XZ Utils, linking lzmainfo
7880     against static liblzma by default is dumb. This will be
7881     fixed once I have fixed some related issues in configure.ac.
7882
7883  configure.ac             |   1 +
7884  src/Makefile.am          |   2 +-
7885  src/lzmainfo/Makefile.am |  29 ++++++
7886  src/lzmainfo/lzmainfo.1  |  55 +++++++++++
7887  src/lzmainfo/lzmainfo.c  | 242 +++++++++++++++++++++++++++++++++++++++++++++++
7888  5 files changed, 328 insertions(+), 1 deletion(-)
7889
7890 commit a4165d0584376d948c213ec93c6065d24ff6a5e7
7891 Author: Lasse Collin <lasse.collin@tukaani.org>
7892 Date:   2009-08-13 12:42:36 +0300
7893
7894     Sync some error messages from xz to xzdec.
7895     
7896     Make xz error message translation usable outside
7897     xz (at least in upcoming lzmainfo).
7898
7899  src/xz/main.c     | 4 ++--
7900  src/xzdec/xzdec.c | 6 +++---
7901  2 files changed, 5 insertions(+), 5 deletions(-)
7902
7903 commit df636eb4e066b4e154ce8e66e82c87ba1db652a6
7904 Author: Lasse Collin <lasse.collin@tukaani.org>
7905 Date:   2009-08-13 09:37:21 +0300
7906
7907     Add xz man page to manfiles in toplevel Makefile.am.
7908
7909  Makefile.am | 1 +
7910  1 file changed, 1 insertion(+)
7911
7912 commit 180bdf58ea5bb07941e0a99b304d9aa832198748
7913 Author: Lasse Collin <lasse.collin@tukaani.org>
7914 Date:   2009-08-13 09:37:01 +0300
7915
7916     Fix first line of xz man page.
7917
7918  src/xz/xz.1 | 2 +-
7919  1 file changed, 1 insertion(+), 1 deletion(-)
7920
7921 commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4
7922 Author: Lasse Collin <lasse.collin@tukaani.org>
7923 Date:   2009-08-10 11:22:31 +0300
7924
7925     Added a rough version of the xz man page.
7926
7927  src/xz/Makefile.am |   15 +
7928  src/xz/xz.1        | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++
7929  2 files changed, 1221 insertions(+)
7930
7931 commit e71903fc6101f1c039d702e335b08aad1e1b4100
7932 Author: Jonathan Nieder <jrnieder@gmail.com>
7933 Date:   2009-08-09 13:41:20 -0500
7934
7935     “xzdiff a.xz b.xz” always fails
7936     
7937     Attempts to compare two compressed files result in no output and
7938     exit status 2.
7939     
7940     Instead of going to standard output, ‘diff’ output is being
7941     captured in the xz_status variable along with the exit status from
7942     the decompression commands.  Later, when this variable is examined
7943     for nonzero status codes, numerals from dates in the ‘diff’ output
7944     make it appear as though decompression failed.
7945     
7946     So let the ‘diff’ output leak to standard output with another file
7947     descriptor.  (This trick is used in all similar contexts elsewhere
7948     in xzdiff and in the analogous context in gzip’s zdiff script.)
7949
7950  src/scripts/xzdiff.in | 2 +-
7951  1 file changed, 1 insertion(+), 1 deletion(-)
7952
7953 commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c
7954 Author: Jonathan Nieder <jrnieder@gmail.com>
7955 Date:   2009-08-09 13:22:12 -0500
7956
7957     xzless: Support compressed standard input
7958     
7959     It can be somewhat confusing that
7960     
7961         less < some_file.txt
7962     
7963     works fine, whereas
7964     
7965         xzless < some_file.txt.xz
7966     
7967     does not.  Since version 429, ‘less’ allows a filter specified in
7968     the LESSOPEN environment variable to preprocess its input even if
7969     it comes from standard input, if $LESSOPEN begins with ‘|-’.  So
7970     set $LESSOPEN to take advantage of this feature.
7971     
7972     Check less’s version at runtime so xzless can continue to work
7973     with older versions.
7974
7975  src/scripts/xzless.in | 8 +++++++-
7976  1 file changed, 7 insertions(+), 1 deletion(-)
7977
7978 commit a7f5d2fe4826ac68839d00059f05004fb81d5c69
7979 Author: Lasse Collin <lasse.collin@tukaani.org>
7980 Date:   2009-08-09 20:57:46 +0300
7981
7982     GPLv2+ not GPLv2 for Doxyfile.in is probably OK.
7983
7984  Doxyfile.in | 2 +-
7985  1 file changed, 1 insertion(+), 1 deletion(-)
7986
7987 commit b735cde20cc14857136ae65a0e5d336ed7ddc862
7988 Author: Lasse Collin <lasse.collin@tukaani.org>
7989 Date:   2009-08-02 00:27:29 +0300
7990
7991     Added a copyright notice to Doxyfile.in since it contains
7992     lots of comments from Doxygen.
7993     
7994     It seems that the Doxygen authors' intent is to not apply
7995     their copyright on generated files, but since it doesn't
7996     matter for XZ Utils at all, better safe than sorry.
7997
7998  Doxyfile.in | 3 +++
7999  1 file changed, 3 insertions(+)
8000
8001 commit 0fd157cc008446adfc8f91394f5503868025a642
8002 Author: Lasse Collin <lasse.collin@tukaani.org>
8003 Date:   2009-08-02 00:11:37 +0300
8004
8005     Updated THANKS.
8006
8007  THANKS | 1 +
8008  1 file changed, 1 insertion(+)
8009
8010 commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f
8011 Author: Lasse Collin <lasse.collin@tukaani.org>
8012 Date:   2009-08-02 00:10:22 +0300
8013
8014     Updated TODO.
8015
8016  TODO | 4 ++++
8017  1 file changed, 4 insertions(+)
8018
8019 commit 669413bb2db954bbfde3c4542fddbbab53891eb4
8020 Author: Lasse Collin <lasse.collin@tukaani.org>
8021 Date:   2009-07-30 12:25:55 +0300
8022
8023     Updated THANKS.
8024
8025  THANKS | 1 +
8026  1 file changed, 1 insertion(+)
8027
8028 commit dbbd8fb870ae789d96497911006c869d37148c15
8029 Author: Jonathan Nieder <jrnieder@gmail.com>
8030 Date:   2009-07-28 17:37:24 -0500
8031
8032     xzdiff: add missing ;; to case statement
8033
8034  src/scripts/xzdiff.in | 6 +++---
8035  1 file changed, 3 insertions(+), 3 deletions(-)
8036
8037 commit adbad2d16cb5909f85d4a429011005613ea62ffe
8038 Author: Lasse Collin <lasse.collin@tukaani.org>
8039 Date:   2009-07-24 13:15:06 +0300
8040
8041     Added history.txt to doc_DATA.
8042
8043  Makefile.am | 1 +
8044  1 file changed, 1 insertion(+)
8045
8046 commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27
8047 Author: Lasse Collin <lasse.collin@tukaani.org>
8048 Date:   2009-07-24 12:00:40 +0300
8049
8050     Updated .gitignore files.
8051
8052  .gitignore    | 36 +++++++++++++++++++-----------------
8053  po/.gitignore |  3 +++
8054  2 files changed, 22 insertions(+), 17 deletions(-)
8055
8056 commit 2f34fb269265e3aba43a2a9c734020a45268826d
8057 Author: Lasse Collin <lasse.collin@tukaani.org>
8058 Date:   2009-07-24 11:34:02 +0300
8059
8060     Minor improvements to COPYING.
8061
8062  COPYING | 11 ++++++++---
8063  1 file changed, 8 insertions(+), 3 deletions(-)
8064
8065 commit 0db1befcfbc120377df4b89923762f16d25f548a
8066 Author: Lasse Collin <lasse.collin@tukaani.org>
8067 Date:   2009-07-23 19:10:55 +0300
8068
8069     Fix incorrect usage of getopt_long(), which caused
8070     invalid memory access if XZ_OPT was defined.
8071
8072  src/xz/args.c | 1 -
8073  1 file changed, 1 deletion(-)
8074
8075 commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48
8076 Author: Lasse Collin <lasse.collin@tukaani.org>
8077 Date:   2009-07-20 15:43:32 +0300
8078
8079     Avoid internal error with --format=xz --lzma1.
8080
8081  src/xz/coder.c | 16 ++++++++++++----
8082  1 file changed, 12 insertions(+), 4 deletions(-)
8083
8084 commit 99f9e879a6a8bb54a65da99c12e0f390216c152a
8085 Author: Lasse Collin <lasse.collin@tukaani.org>
8086 Date:   2009-07-19 13:14:20 +0300
8087
8088     Major documentation update.
8089     
8090     Installation and packaging instructions were added.
8091     README and other generic docs were revised.
8092     
8093     Some of the documentation files are now installed to $docdir.
8094
8095  AUTHORS         |  35 +++---
8096  ChangeLog       |   7 +-
8097  INSTALL         | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8098  INSTALL.generic | 302 +++++++++++++++++++++++++++++++++++++++++++++++++++
8099  Makefile.am     |  11 ++
8100  PACKAGERS       | 278 +++++++++++++++++++++++++++++++++++++++++++++++
8101  README          | 263 ++++++++++++++++++++-------------------------
8102  THANKS          |  17 +--
8103  8 files changed, 1070 insertions(+), 170 deletions(-)
8104
8105 commit ef4cf1851de89022cba5674784f1a8f6343c15b0
8106 Author: Lasse Collin <lasse.collin@tukaani.org>
8107 Date:   2009-07-19 11:09:31 +0300
8108
8109     Added missing author notice to xzless.in.
8110
8111  src/scripts/xzless.in | 1 +
8112  1 file changed, 1 insertion(+)
8113
8114 commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77
8115 Author: Lasse Collin <lasse.collin@tukaani.org>
8116 Date:   2009-07-18 18:54:55 +0300
8117
8118     Use AC_CONFIG_AUX_DIR to clean up the toplevel directory
8119     a little.
8120     
8121     Fixed a related bug in the toplevel Makefile.am.
8122     
8123     Added the build-aux directory to .gitignore.
8124
8125  .gitignore   | 1 +
8126  Makefile.am  | 1 -
8127  configure.ac | 3 ++-
8128  3 files changed, 3 insertions(+), 2 deletions(-)
8129
8130 commit 366e436090a7a87215e9bf0e3ddcd55f05b50587
8131 Author: Lasse Collin <lasse.collin@tukaani.org>
8132 Date:   2009-07-18 14:34:08 +0300
8133
8134     Updated the totally outdated TODO file.
8135
8136  TODO | 117 ++++++++++++++++---------------------------------------------------
8137  1 file changed, 27 insertions(+), 90 deletions(-)
8138
8139 commit 64e498c89d8b9966e8663f43bf64d47c26c55c62
8140 Author: Lasse Collin <lasse.collin@tukaani.org>
8141 Date:   2009-07-18 11:26:39 +0300
8142
8143     Added public domain notice into a few files.
8144
8145  src/common/common_w32res.rc   | 9 ++++++++-
8146  src/liblzma/liblzma.pc.in     | 7 +++++++
8147  src/liblzma/liblzma_w32res.rc | 7 +++++++
8148  src/xz/xz_w32res.rc           | 7 +++++++
8149  src/xzdec/xzdec_w32res.rc     | 7 +++++++
8150  5 files changed, 36 insertions(+), 1 deletion(-)
8151
8152 commit a35755c5de808df027675688855d1b621a4fb428
8153 Author: Lasse Collin <lasse.collin@tukaani.org>
8154 Date:   2009-07-14 21:10:36 +0300
8155
8156     Allow extra commas in filter-specific options on xz command line.
8157     
8158     This may slightly ease writing scripts that construct
8159     filter-specific option strings dynamically.
8160
8161  src/xz/options.c | 7 +++++++
8162  1 file changed, 7 insertions(+)
8163
8164 commit 98f3cac1ad31191c5160a7e48398bf85141e941c
8165 Author: Lasse Collin <lasse.collin@tukaani.org>
8166 Date:   2009-07-14 18:04:31 +0300
8167
8168     Accept --lzma2=preset=6e where "e" is equivalent to --extreme
8169     when no custom chain is in use.
8170
8171  src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++++---------------
8172  1 file changed, 59 insertions(+), 21 deletions(-)
8173
8174 commit d873a09e956363e54bf58c577c8f7e487b6fb464
8175 Author: Lasse Collin <lasse.collin@tukaani.org>
8176 Date:   2009-07-12 19:08:30 +0300
8177
8178     Add dist-hook to create ChangeLog from the commit log,
8179     and to conver the man pages to PDF and plain text, which
8180     may be convenient to those who cannot render man pages.
8181
8182  Makefile.am | 31 +++++++++++++++++++++++++++++++
8183  1 file changed, 31 insertions(+)
8184
8185 commit cd69a5a6c16c289f6f8e2823b03c72289472270f
8186 Author: Lasse Collin <lasse.collin@tukaani.org>
8187 Date:   2009-07-10 11:39:38 +0300
8188
8189     BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.
8190     
8191     This is a quick and slightly dirty fix to make the code
8192     conform to the latest file format specification. Without
8193     this patch, it's possible to make corrupt files by
8194     specifying start offset that is not a multiple of the
8195     filter's alignment. Custom start offset is almost never
8196     used, so this was only a minor bug.
8197     
8198     The xz command line tool doesn't validate the start offset,
8199     so one will get a bit unclear error message if trying to use
8200     an invalid start offset.
8201
8202  src/liblzma/simple/arm.c            | 2 +-
8203  src/liblzma/simple/armthumb.c       | 2 +-
8204  src/liblzma/simple/ia64.c           | 2 +-
8205  src/liblzma/simple/powerpc.c        | 2 +-
8206  src/liblzma/simple/simple_coder.c   | 5 ++++-
8207  src/liblzma/simple/simple_private.h | 3 ++-
8208  src/liblzma/simple/sparc.c          | 2 +-
8209  src/liblzma/simple/x86.c            | 2 +-
8210  8 files changed, 12 insertions(+), 8 deletions(-)
8211
8212 commit eed9953732b801f6c97317fb3160445a8754180b
8213 Author: Lasse Collin <lasse.collin@tukaani.org>
8214 Date:   2009-07-10 11:33:21 +0300
8215
8216     Look for full command names instead of substrings
8217     like "un", "cat", and "lz" when determining if
8218     xz is run as unxz, xzcat, lzma, unlzma, or lzcat.
8219     
8220     This is to ensure that if xz is renamed (e.g. via
8221     --program-transform-name), it doesn't so easily
8222     work in wrong mode.
8223
8224  src/xz/args.c | 22 +++++++++++++---------
8225  1 file changed, 13 insertions(+), 9 deletions(-)
8226
8227 commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658
8228 Author: Lasse Collin <lasse.collin@tukaani.org>
8229 Date:   2009-07-08 23:06:46 +0300
8230
8231     Updated THANKS.
8232
8233  THANKS | 2 ++
8234  1 file changed, 2 insertions(+)
8235
8236 commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e
8237 Author: Lasse Collin <lasse.collin@tukaani.org>
8238 Date:   2009-07-08 23:05:29 +0300
8239
8240     Portability improvement to version.sh.
8241
8242  version.sh | 3 ++-
8243  1 file changed, 2 insertions(+), 1 deletion(-)
8244
8245 commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f
8246 Author: Lasse Collin <lasse.collin@tukaani.org>
8247 Date:   2009-07-08 22:50:16 +0300
8248
8249     Remove --force from xzdec.
8250     
8251     It was ignored for compatibility with xz, but now that
8252     --decompress --stdout --force copies unrecognized files
8253     as is to stdout, simply ignoring --force in xzdec would
8254     be wrong. xzdec will not support copying unrecognized
8255     data as is to stdout, so it cannot support --force.
8256
8257  src/xzdec/xzdec.1 | 5 -----
8258  src/xzdec/xzdec.c | 5 +----
8259  2 files changed, 1 insertion(+), 9 deletions(-)
8260
8261 commit 5f16ef4abf220028a9ddbcb138217597a9455f62
8262 Author: Lasse Collin <lasse.collin@tukaani.org>
8263 Date:   2009-07-06 10:36:04 +0300
8264
8265     Use sed instead of $(SED) so that we don't need to
8266     use AC_PROG_SED. We don't do anything fancy with sed,
8267     so this should work OK. libtool 2.2 sets SED but 1.5
8268     doesn't, so $(SED) happened to work when using libtool 2.2.
8269
8270  src/liblzma/Makefile.am |  2 +-
8271  src/scripts/Makefile.am | 28 ++++++++++++++--------------
8272  src/xz/Makefile.am      |  6 +++---
8273  src/xzdec/Makefile.am   |  6 +++---
8274  4 files changed, 21 insertions(+), 21 deletions(-)
8275
8276 commit 96e4b257e101d72072d43e144897d92920270669
8277 Author: Lasse Collin <lasse.collin@tukaani.org>
8278 Date:   2009-07-05 22:25:17 +0300
8279
8280     Major update to the xzgrep and other scripts based on
8281     the latest versions found from gzip CVS repository.
8282     
8283     configure will try to find a POSIX shell to be used by
8284     the scripts. This should ease portability on systems
8285     which have pre-POSIX /bin/sh.
8286     
8287     xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files.
8288     xzmore and xzless support only .xz and .lzma files.
8289     
8290     The name of the xz executable used in these scripts is
8291     now correct even if --program-transform-name has been used.
8292
8293  configure.ac            |  14 ++++
8294  m4/posix-shell.m4       |  63 ++++++++++++++++
8295  src/scripts/Makefile.am |  24 +++---
8296  src/scripts/xzdiff      |  67 -----------------
8297  src/scripts/xzdiff.1    |  58 ++++++++------
8298  src/scripts/xzdiff.in   | 172 ++++++++++++++++++++++++++++++++++++++++++
8299  src/scripts/xzgrep      | 123 ------------------------------
8300  src/scripts/xzgrep.1    |  85 ++++++++++++---------
8301  src/scripts/xzgrep.in   | 196 ++++++++++++++++++++++++++++++++++++++++++++++++
8302  src/scripts/xzless.1    |  66 ++++++++++++++++
8303  src/scripts/xzless.in   |  51 +++++++++++++
8304  src/scripts/xzmore      |  74 ------------------
8305  src/scripts/xzmore.1    |  64 +++++++---------
8306  src/scripts/xzmore.in   |  78 +++++++++++++++++++
8307  14 files changed, 766 insertions(+), 369 deletions(-)
8308
8309 commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100
8310 Author: Lasse Collin <lasse.collin@tukaani.org>
8311 Date:   2009-07-05 19:26:53 +0300
8312
8313     Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.
8314
8315  src/liblzma/liblzma.pc.in | 2 +-
8316  1 file changed, 1 insertion(+), 1 deletion(-)
8317
8318 commit 18c10c30d2833f394cd7bce0e6a821044b15832f
8319 Author: Lasse Collin <lasse.collin@tukaani.org>
8320 Date:   2009-07-04 00:40:44 +0300
8321
8322     Make "xz --decompress --stdout --force" copy unrecognized
8323     files as is to standard output.
8324     
8325     This feature is needed to be more compatible with gzip's
8326     behavior. This was more complicated to implement than it
8327     sounds, because the way liblzma is able to return errors with
8328     files of only a few bytes in size. xz now has its own file
8329     type detection code and no longer uses lzma_auto_decoder().
8330
8331  src/xz/coder.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++----------
8332  1 file changed, 178 insertions(+), 35 deletions(-)
8333
8334 commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633
8335 Author: Lasse Collin <lasse.collin@tukaani.org>
8336 Date:   2009-07-02 14:30:38 +0300
8337
8338     Define PACKAGE_HOMEPAGE in configure.ac and use it in
8339     xz and xzdec.
8340     
8341     Use also PACKAGE_NAME instead of hardcoding "XZ Utils".
8342
8343  configure.ac      | 5 +++++
8344  src/xz/message.c  | 4 ++--
8345  src/xzdec/xzdec.c | 4 ++--
8346  3 files changed, 9 insertions(+), 4 deletions(-)
8347
8348 commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c
8349 Author: Lasse Collin <lasse.collin@tukaani.org>
8350 Date:   2009-07-01 12:21:24 +0300
8351
8352     Avoid visibility related compiler warnings on Windows.
8353
8354  configure.ac | 20 +++++++++-----------
8355  1 file changed, 9 insertions(+), 11 deletions(-)
8356
8357 commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e
8358 Author: Lasse Collin <lasse.collin@tukaani.org>
8359 Date:   2009-06-30 17:14:39 +0300
8360
8361     Use static liblzma by default also for tests.
8362
8363  tests/Makefile.am | 5 ++++-
8364  1 file changed, 4 insertions(+), 1 deletion(-)
8365
8366 commit f42ee981668b545ab6d06c6072e262c29605273c
8367 Author: Lasse Collin <lasse.collin@tukaani.org>
8368 Date:   2009-06-30 17:09:57 +0300
8369
8370     Build system fixes
8371     
8372     Don't use libtool convenience libraries to avoid recently
8373     discovered long-standing subtle but somewhat severe bugs
8374     in libtool (at least 1.5.22 and 2.2.6 are affected). It
8375     was found when porting XZ Utils to Windows
8376     <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
8377     but the problem is significant also e.g. on GNU/Linux.
8378     
8379     Unless --disable-shared is passed to configure, static
8380     library built from a set of convenience libraries will
8381     contain PIC objects. That is, while libtool builds non-PIC
8382     objects too, only PIC objects will be used from the
8383     convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
8384     using PIC instead of non-PIC makes the decompressor 10 % slower
8385     with the default CFLAGS.
8386     
8387     So while xz was linked against static liblzma by default,
8388     it got the slower PIC objects unless --disable-shared was
8389     used. I tend develop and benchmark with --disable-shared
8390     due to faster build time, so I hadn't noticed the problem
8391     in benchmarks earlier.
8392     
8393     This commit also adds support for building Windows resources
8394     into liblzma and executables.
8395
8396  configure.ac                        | 34 ++++++++++------
8397  src/liblzma/Makefile.am             | 79 +++++++++++++++++++++++++++++--------
8398  src/liblzma/check/Makefile.am       | 47 ----------------------
8399  src/liblzma/check/Makefile.inc      | 51 ++++++++++++++++++++++++
8400  src/liblzma/common/Makefile.am      | 78 ------------------------------------
8401  src/liblzma/common/Makefile.inc     | 67 +++++++++++++++++++++++++++++++
8402  src/liblzma/common/common.h         | 16 +++++---
8403  src/liblzma/delta/Makefile.am       | 28 -------------
8404  src/liblzma/delta/Makefile.inc      | 23 +++++++++++
8405  src/liblzma/lz/Makefile.am          | 29 --------------
8406  src/liblzma/lz/Makefile.inc         | 21 ++++++++++
8407  src/liblzma/lzma/Makefile.am        | 51 ------------------------
8408  src/liblzma/lzma/Makefile.inc       | 43 ++++++++++++++++++++
8409  src/liblzma/rangecoder/Makefile.am  | 26 ------------
8410  src/liblzma/rangecoder/Makefile.inc | 21 ++++++++++
8411  src/liblzma/simple/Makefile.am      | 51 ------------------------
8412  src/liblzma/simple/Makefile.inc     | 47 ++++++++++++++++++++++
8413  src/liblzma/subblock/Makefile.am    | 26 ------------
8414  src/liblzma/subblock/Makefile.inc   | 20 ++++++++++
8415  src/xz/Makefile.am                  | 11 +++++-
8416  src/xzdec/Makefile.am               | 20 +++++++++-
8417  21 files changed, 417 insertions(+), 372 deletions(-)
8418
8419 commit 89dac1db6f168d7469cfbc4432651d4724c5c0de
8420 Author: Lasse Collin <lasse.collin@tukaani.org>
8421 Date:   2009-06-29 22:19:51 +0300
8422
8423     Added a comment about "autoconf -fi" to autogen.sh.
8424
8425  autogen.sh | 3 +++
8426  1 file changed, 3 insertions(+)
8427
8428 commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd
8429 Author: Lasse Collin <lasse.collin@tukaani.org>
8430 Date:   2009-06-28 10:04:24 +0300
8431
8432     Add -no-undefined to get shared liblzma on Windows.
8433
8434  src/liblzma/Makefile.am | 2 +-
8435  1 file changed, 1 insertion(+), 1 deletion(-)
8436
8437 commit 73f560ee5fa064992b76688d9472baf139432540
8438 Author: Lasse Collin <lasse.collin@tukaani.org>
8439 Date:   2009-06-27 22:57:15 +0300
8440
8441     Make physmem() work on Cygwin 1.5 and older.
8442
8443  src/common/physmem.h | 77 +++++++++++++++++++++++++++-------------------------
8444  1 file changed, 40 insertions(+), 37 deletions(-)
8445
8446 commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1
8447 Author: Lasse Collin <lasse.collin@tukaani.org>
8448 Date:   2009-06-27 17:28:01 +0300
8449
8450     Moved the Windows resource files outside the windows directory
8451     to prepare for building them with Autotools.
8452
8453  src/common/common_w32res.rc   | 46 +++++++++++++++++++++++++++++++++++++++++++
8454  src/liblzma/liblzma_w32res.rc |  5 +++++
8455  src/xz/xz_w32res.rc           |  5 +++++
8456  src/xzdec/lzmadec_w32res.rc   |  5 +++++
8457  src/xzdec/xzdec_w32res.rc     |  5 +++++
8458  windows/Makefile              | 35 +++++++++++++++++---------------
8459  windows/common.rc             | 46 -------------------------------------------
8460  windows/liblzma.rc            |  5 -----
8461  windows/lzmadec.rc            |  5 -----
8462  windows/xz.rc                 |  5 -----
8463  windows/xzdec.rc              |  5 -----
8464  11 files changed, 85 insertions(+), 82 deletions(-)
8465
8466 commit 449c634674f35336a4815d398172e447659a135e
8467 Author: Lasse Collin <lasse.collin@tukaani.org>
8468 Date:   2009-06-27 13:05:03 +0300
8469
8470     Added missing $(EXEEXT).
8471
8472  src/xz/Makefile.am | 2 +-
8473  1 file changed, 1 insertion(+), 1 deletion(-)
8474
8475 commit 792db79f27ad9ab1fb977e23be65c7761f545752
8476 Author: Lasse Collin <lasse.collin@tukaani.org>
8477 Date:   2009-06-27 12:32:40 +0300
8478
8479     Create correct symlinks even when
8480     --program-{prefix,suffix,transform} is passed to configure.
8481
8482  src/scripts/Makefile.am | 80 ++++++++++++++++++++++++++++---------------------
8483  src/xz/Makefile.am      | 21 ++++++++-----
8484  src/xzdec/Makefile.am   |  9 ++++--
8485  3 files changed, 65 insertions(+), 45 deletions(-)
8486
8487 commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b
8488 Author: Lasse Collin <lasse.collin@tukaani.org>
8489 Date:   2009-06-27 10:02:24 +0300
8490
8491     Silence a compiler warning on DOS-like systems.
8492
8493  src/xz/file_io.c | 5 ++++-
8494  1 file changed, 4 insertions(+), 1 deletion(-)
8495
8496 commit ad12edc95254ede3f0cb8dec8645e8789e984c4f
8497 Author: Lasse Collin <lasse.collin@tukaani.org>
8498 Date:   2009-06-27 09:35:15 +0300
8499
8500     Updated the filenames in POTFILES.in too.
8501
8502  po/POTFILES.in | 4 ++--
8503  1 file changed, 2 insertions(+), 2 deletions(-)
8504
8505 commit b2b1f867532732fe9969131f8713bdd6b0731763
8506 Author: Lasse Collin <lasse.collin@tukaani.org>
8507 Date:   2009-06-27 00:43:06 +0300
8508
8509     Hopefully improved portability of the assembler code in
8510     Autotools based builds on Windows.
8511
8512  src/liblzma/check/crc32_x86.S | 8 +++++++-
8513  src/liblzma/check/crc64_x86.S | 8 +++++++-
8514  2 files changed, 14 insertions(+), 2 deletions(-)
8515
8516 commit c393055947247627a09b6a6b8f20aa0c32f9be16
8517 Author: Lasse Collin <lasse.collin@tukaani.org>
8518 Date:   2009-06-26 21:17:29 +0300
8519
8520     Updated THANKS (most of today's commits are based on
8521     Charles Wilson's patches).
8522
8523  THANKS | 1 +
8524  1 file changed, 1 insertion(+)
8525
8526 commit da0af22e4b4139b8a10710945f8b245b3a77c97d
8527 Author: Lasse Collin <lasse.collin@tukaani.org>
8528 Date:   2009-06-26 21:00:35 +0300
8529
8530     Updated comments to match renamed files.
8531
8532  src/xz/coder.c   | 2 +-
8533  src/xz/coder.h   | 2 +-
8534  src/xz/file_io.c | 2 +-
8535  src/xz/file_io.h | 2 +-
8536  4 files changed, 4 insertions(+), 4 deletions(-)
8537
8538 commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2
8539 Author: Lasse Collin <lasse.collin@tukaani.org>
8540 Date:   2009-06-26 20:49:54 +0300
8541
8542     Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
8543     to avoid problems on systems with system headers with those
8544     names.
8545
8546  dos/Makefile       |   4 +-
8547  src/xz/Makefile.am |   8 +-
8548  src/xz/coder.c     | 488 ++++++++++++++++++++++++++++++++++++
8549  src/xz/coder.h     |  57 +++++
8550  src/xz/file_io.c   | 716 +++++++++++++++++++++++++++++++++++++++++++++++++++++
8551  src/xz/file_io.h   |  86 +++++++
8552  src/xz/io.c        | 716 -----------------------------------------------------
8553  src/xz/io.h        |  86 -------
8554  src/xz/private.h   |   4 +-
8555  src/xz/process.c   | 488 ------------------------------------
8556  src/xz/process.h   |  57 -----
8557  windows/Makefile   |   4 +-
8558  12 files changed, 1357 insertions(+), 1357 deletions(-)
8559
8560 commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8
8561 Author: Lasse Collin <lasse.collin@tukaani.org>
8562 Date:   2009-06-26 20:43:36 +0300
8563
8564     Rename process_file() to coder_run().
8565
8566  src/xz/main.c    | 6 +++---
8567  src/xz/process.c | 6 +++---
8568  src/xz/process.h | 5 ++---
8569  3 files changed, 8 insertions(+), 9 deletions(-)
8570
8571 commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc
8572 Author: Lasse Collin <lasse.collin@tukaani.org>
8573 Date:   2009-06-26 20:36:45 +0300
8574
8575     Ugly hack to make it possible to use the thousand separator
8576     format character with snprintf() on POSIX systems but not
8577     on non-POSIX systems and still keep xgettext working.
8578
8579  dos/Makefile     | 16 +++-------------
8580  src/xz/message.c | 17 +++++++++--------
8581  src/xz/process.c | 30 +++++++++++++++---------------
8582  src/xz/util.c    | 34 ++++++++++++++++++++++++++++++++++
8583  src/xz/util.h    | 20 ++++++++++++++++++++
8584  windows/Makefile | 13 +++----------
8585  6 files changed, 84 insertions(+), 46 deletions(-)
8586
8587 commit fe378d47074b16c52b00fe184d119287c68ce2e7
8588 Author: Lasse Collin <lasse.collin@tukaani.org>
8589 Date:   2009-06-26 15:40:40 +0300
8590
8591     Added missing source files to windows/Makefile.
8592
8593  windows/Makefile | 2 ++
8594  1 file changed, 2 insertions(+)
8595
8596 commit 390a6408563067613b29de895cb40e4d0386d62c
8597 Author: Lasse Collin <lasse.collin@tukaani.org>
8598 Date:   2009-06-26 15:37:53 +0300
8599
8600     Basic support for building with Cygwin and MinGW using
8601     the Autotools based build system. It's not good yet, more
8602     fixes will follow.
8603
8604  configure.ac                  |  7 +++++++
8605  src/liblzma/api/lzma.h        |  7 +++++--
8606  src/liblzma/check/crc32_x86.S |  7 ++++---
8607  src/liblzma/check/crc64_x86.S |  7 ++++---
8608  src/liblzma/common/common.h   |  2 +-
8609  windows/Makefile              | 16 +++++++---------
8610  6 files changed, 28 insertions(+), 18 deletions(-)
8611
8612 commit 1c9360b7d1197457aaad2f8888b99f1149861579
8613 Author: Lasse Collin <lasse.collin@tukaani.org>
8614 Date:   2009-06-26 14:47:31 +0300
8615
8616     Fix @variables@ to $(variables) in Makefile.am files.
8617     Fix the ordering of libgnu.a and LTLIBINTL on the linker
8618     command line and added missing LTLIBINTL to tests/Makefile.am.
8619
8620  debug/Makefile.am                  | 12 ++++++------
8621  src/liblzma/check/Makefile.am      |  4 ++--
8622  src/liblzma/common/Makefile.am     | 16 ++++++++--------
8623  src/liblzma/delta/Makefile.am      |  4 ++--
8624  src/liblzma/lz/Makefile.am         |  6 +++---
8625  src/liblzma/lzma/Makefile.am       |  8 ++++----
8626  src/liblzma/rangecoder/Makefile.am |  4 ++--
8627  src/liblzma/simple/Makefile.am     |  4 ++--
8628  src/liblzma/subblock/Makefile.am   |  4 ++--
8629  src/xz/Makefile.am                 | 21 +++++++++++----------
8630  src/xzdec/Makefile.am              | 19 ++++++++++---------
8631  tests/Makefile.am                  | 12 +++++++-----
8632  12 files changed, 59 insertions(+), 55 deletions(-)
8633
8634 commit d45615c555e250209ebb55aa3649abe790f1eeac
8635 Author: Lasse Collin <lasse.collin@tukaani.org>
8636 Date:   2009-06-26 14:20:02 +0300
8637
8638     Allow to explicitly specify autotool versions in autogen.sh.
8639
8640  autogen.sh | 12 ++++++------
8641  1 file changed, 6 insertions(+), 6 deletions(-)
8642
8643 commit eaf8367368a329afa48785380f9dca6b681f3397
8644 Author: Lasse Collin <lasse.collin@tukaani.org>
8645 Date:   2009-06-26 14:18:32 +0300
8646
8647     Add version.sh to EXTRA_DIST.
8648
8649  Makefile.am | 3 ++-
8650  1 file changed, 2 insertions(+), 1 deletion(-)
8651
8652 commit b317b218e2d383dd27a700094c0de4510540ea18
8653 Author: Lasse Collin <lasse.collin@tukaani.org>
8654 Date:   2009-06-24 20:14:10 +0300
8655
8656     Support HW_PHYSMEM64
8657
8658  src/common/physmem.h | 30 +++++++++++++++++++-----------
8659  1 file changed, 19 insertions(+), 11 deletions(-)
8660
8661 commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7
8662 Author: Lasse Collin <lasse.collin@tukaani.org>
8663 Date:   2009-06-24 13:01:59 +0300
8664
8665     Cast a char argument to isspace() to unsigned char.
8666
8667  src/xz/args.c | 11 +++++++++--
8668  1 file changed, 9 insertions(+), 2 deletions(-)
8669
8670 commit 1735d31ea347210e914df038eeea4b2626e76e42
8671 Author: Lasse Collin <lasse.collin@tukaani.org>
8672 Date:   2009-06-05 13:46:26 +0300
8673
8674     A few more spelling fixes. Released the .xz spec 1.0.3.
8675
8676  doc/xz-file-format.txt | 12 +++++++-----
8677  1 file changed, 7 insertions(+), 5 deletions(-)
8678
8679 commit 8ed156ce894966103e895aa08f2a9fb912f6fad5
8680 Author: Lasse Collin <lasse.collin@tukaani.org>
8681 Date:   2009-06-04 23:42:12 +0300
8682
8683     Added xzdec man page.
8684
8685  src/xzdec/Makefile.am |  11 ++++
8686  src/xzdec/xzdec.1     | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++
8687  2 files changed, 184 insertions(+)
8688
8689 commit f6df39afaa84f71439507178a49b2a5dda6e824c
8690 Author: Lasse Collin <lasse.collin@tukaani.org>
8691 Date:   2009-06-04 23:26:47 +0300
8692
8693     Harmonized xzdec --memory with xz --memory and made
8694     minor cleanups.
8695
8696  src/xzdec/xzdec.c | 74 +++++++++++++++++++++++++++++++++++++++----------------
8697  1 file changed, 53 insertions(+), 21 deletions(-)
8698
8699 commit 1774f27c61ce294a56712ca2f4785f90a62441bc
8700 Author: Lasse Collin <lasse.collin@tukaani.org>
8701 Date:   2009-06-04 22:59:55 +0300
8702
8703     Fix purporse -> purpose. Thanks to Andrew Dudman.
8704     Released .xz spec 1.0.2 due to this fix too.
8705
8706  THANKS                    | 1 +
8707  doc/xz-file-format.txt    | 8 +++++---
8708  src/liblzma/liblzma.pc.in | 2 +-
8709  windows/Makefile          | 2 +-
8710  4 files changed, 8 insertions(+), 5 deletions(-)
8711
8712 commit cb613455642f48fb51059e22018615f64c59b70f
8713 Author: Lasse Collin <lasse.collin@tukaani.org>
8714 Date:   2009-06-01 14:53:57 +0300
8715
8716     The .xz file format version 1.0.1
8717
8718  doc/xz-file-format.txt | 29 ++++++++++++++++++++++-------
8719  1 file changed, 22 insertions(+), 7 deletions(-)
8720
8721 commit 083c23c680ff844846d177cfc58bb7a874e7e6b9
8722 Author: Lasse Collin <lasse.collin@tukaani.org>
8723 Date:   2009-05-26 14:48:48 +0300
8724
8725     Make the raw value of the Check field available to applications
8726     via lzma_block structure.
8727     
8728     This changes ABI but not doesn't break API.
8729
8730  src/liblzma/api/lzma/block.h              | 17 ++++++++++++++++
8731  src/liblzma/common/block_buffer_encoder.c |  1 +
8732  src/liblzma/common/block_decoder.c        | 34 ++++++++++++++-----------------
8733  src/liblzma/common/block_encoder.c        | 21 ++++++++-----------
8734  4 files changed, 42 insertions(+), 31 deletions(-)
8735
8736 commit b4f5c814090dc07d4350453576305e41eb9c998d
8737 Author: Lasse Collin <lasse.collin@tukaani.org>
8738 Date:   2009-05-23 16:57:21 +0300
8739
8740     Remove undocumented alternative option names --bcj, --ppc,
8741     and --itanium.
8742
8743  src/xz/args.c | 3 ---
8744  1 file changed, 3 deletions(-)
8745
8746 commit b1edee2cdc7ef4411b1a21c07094ec763f071281
8747 Author: Lasse Collin <lasse.collin@tukaani.org>
8748 Date:   2009-05-23 15:12:23 +0300
8749
8750     Add support for specifying the BCJ filter start offset
8751     in the xz command line tool.
8752
8753  src/xz/args.c    | 36 +++++++++++++++++++++---------------
8754  src/xz/message.c | 14 ++++++++------
8755  src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++
8756  src/xz/options.h |  7 +++++++
8757  4 files changed, 76 insertions(+), 21 deletions(-)
8758
8759 commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb
8760 Author: Lasse Collin <lasse.collin@tukaani.org>
8761 Date:   2009-05-23 14:51:09 +0300
8762
8763     Updated THANKS.
8764
8765  THANKS | 2 ++
8766  1 file changed, 2 insertions(+)
8767
8768 commit dcedb6998cefeca6597dd1219328a3abf5acf66d
8769 Author: Lasse Collin <lasse.collin@tukaani.org>
8770 Date:   2009-05-22 16:40:50 +0300
8771
8772     Added support for --quiet and --no-warn to xzdec.
8773     Cleaned up the --help message a little.
8774
8775  src/xzdec/xzdec.c | 76 +++++++++++++++++++++++++++++++++++--------------------
8776  1 file changed, 49 insertions(+), 27 deletions(-)
8777
8778 commit 5f735dae80aa629853f4831d7b84ec1c614979eb
8779 Author: Lasse Collin <lasse.collin@tukaani.org>
8780 Date:   2009-05-22 15:11:52 +0300
8781
8782     Use the 40 % of RAM memory usage limit in xzdec too.
8783     
8784     Update the memory usage info text in --help to match
8785     the text in xz --long-help.
8786
8787  src/xzdec/xzdec.c | 10 +++++-----
8788  1 file changed, 5 insertions(+), 5 deletions(-)
8789
8790 commit b60376249e0c586910c4121fab4f791820cc1289
8791 Author: Lasse Collin <lasse.collin@tukaani.org>
8792 Date:   2009-05-22 14:43:00 +0300
8793
8794     Add --no-warn.
8795
8796  src/xz/args.c    |  8 +++++++-
8797  src/xz/main.c    | 17 +++++++++++++++++
8798  src/xz/main.h    |  6 ++++++
8799  src/xz/message.c |  4 ++++
8800  4 files changed, 34 insertions(+), 1 deletion(-)
8801
8802 commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008
8803 Author: Lasse Collin <lasse.collin@tukaani.org>
8804 Date:   2009-05-22 14:27:40 +0300
8805
8806     Fix a comment.
8807
8808  src/xz/main.h | 2 +-
8809  1 file changed, 1 insertion(+), 1 deletion(-)
8810
8811 commit 4dd21d23f22569285ae706b58b0e5904b8db1839
8812 Author: Lasse Collin <lasse.collin@tukaani.org>
8813 Date:   2009-05-22 14:21:20 +0300
8814
8815     Remove the --info option, which was an alias for --list.
8816
8817  src/xz/args.c | 1 -
8818  1 file changed, 1 deletion(-)
8819
8820 commit 8836139b63ce774bdd62abf17ab69b290e08229e
8821 Author: Lasse Collin <lasse.collin@tukaani.org>
8822 Date:   2009-05-22 12:27:43 +0300
8823
8824     If xz is run as lzma, unlzma, or lzcat, simply imply
8825     --format=lzma. This means that xz emulating lzma
8826     doesn't decompress .xz files, while before this
8827     commit it did. The new way is slightly simpler in
8828     code and especially in upcoming documentation.
8829
8830  src/xz/args.c | 17 ++++++-----------
8831  1 file changed, 6 insertions(+), 11 deletions(-)
8832
8833 commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d
8834 Author: Lasse Collin <lasse.collin@tukaani.org>
8835 Date:   2009-05-22 11:29:50 +0300
8836
8837     Make the default memory usage limit 40 % of RAM for both
8838     compressing and decompressing. This should be OK now that
8839     xz automatically scales down the compression settings if
8840     they would exceed the memory usage limit (earlier, the limit
8841     for compression was increased to 90 % because low limit broke
8842     scripts that used "xz -9" on systems with low RAM).
8843     
8844     Support spcifying the memory usage limit as a percentage
8845     of RAM (e.g. --memory=50%).
8846     
8847     Support --threads=0 to reset the thread limit to the default
8848     value (number of available CPU cores). Use UINT32_MAX instead
8849     of SIZE_MAX as the maximum in args.c. hardware.c was already
8850     expecting uint32_t value.
8851     
8852     Cleaned up the output of --help and --long-help.
8853
8854  src/xz/args.c     | 28 +++++++++++++-----
8855  src/xz/hardware.c | 86 +++++++++++++++++++++++--------------------------------
8856  src/xz/hardware.h | 10 +++----
8857  src/xz/message.c  | 28 +++++++++---------
8858  src/xz/process.c  | 18 +++++-------
8859  5 files changed, 82 insertions(+), 88 deletions(-)
8860
8861 commit 071b825b23911a69dd1cd2f8cda004ef8a781fae
8862 Author: Lasse Collin <lasse.collin@tukaani.org>
8863 Date:   2009-05-21 17:22:01 +0300
8864
8865     Support special value "max" where xz and xzdec accept an integer.
8866     Don't round the memory usage limit in xzdec --help to avoid
8867     an integer overflow and to not give wrong impression that
8868     the limit is high enough when it may not actually be.
8869
8870  src/xz/util.c     | 4 ++++
8871  src/xzdec/xzdec.c | 6 +++++-
8872  2 files changed, 9 insertions(+), 1 deletion(-)
8873
8874 commit 03ca67fd37dd43fa7f590de340899cd497c10802
8875 Author: ABCD <en.abcd@gmail.com>
8876 Date:   2009-05-20 17:31:18 -0400
8877
8878     Install lzdiff, lzgrep, and lzmore as symlinks
8879     
8880     This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install.
8881     It also installs symlinks for the manual pages and removes the new
8882     symlinks on uninstall.
8883
8884  src/scripts/Makefile.am | 16 ++++++++++++++--
8885  1 file changed, 14 insertions(+), 2 deletions(-)
8886
8887 commit a6f43e64128a6da5cd641de1e1e527433b3e5638
8888 Author: Lasse Collin <lasse.collin@tukaani.org>
8889 Date:   2009-05-02 16:10:14 +0300
8890
8891     Use a GCC-specific #pragma instead of GCC-specific
8892     -Wno-uninitialized to silence a bogus warning.
8893
8894  configure.ac                  | 13 -------------
8895  src/liblzma/check/Makefile.am |  5 -----
8896  src/liblzma/check/sha256.c    |  5 +++++
8897  3 files changed, 5 insertions(+), 18 deletions(-)
8898
8899 commit f6ce63ebdb45a857c8949960c83c9580ae888951
8900 Author: Lasse Collin <lasse.collin@tukaani.org>
8901 Date:   2009-05-02 14:46:50 +0300
8902
8903     Removed --disable-encoder and --disable-decoder. Use the values
8904     given to --enable-encoders and --enable-decoders to determine
8905     if any encoder or decoder support is wanted.
8906
8907  configure.ac | 48 ++++++++----------------------------------------
8908  1 file changed, 8 insertions(+), 40 deletions(-)
8909
8910 commit be06858d5cf8ba46557395035d821dc332f3f830
8911 Author: Lasse Collin <lasse.collin@tukaani.org>
8912 Date:   2009-05-01 11:28:52 +0300
8913
8914     Remove docs that are too outdated to be updated
8915     (rewrite will be better).
8916
8917  doc/liblzma-advanced.txt | 324 -----------------------------------------------
8918  doc/liblzma-hacking.txt  | 112 ----------------
8919  doc/liblzma-intro.txt    | 194 ----------------------------
8920  doc/liblzma-security.txt | 219 --------------------------------
8921  doc/lzma-intro.txt       | 107 ----------------
8922  5 files changed, 956 deletions(-)
8923
8924 commit 0255401e57c96af87c6b159eca28974e79430a82
8925 Author: Lasse Collin <lasse.collin@tukaani.org>
8926 Date:   2009-05-01 11:21:46 +0300
8927
8928     Added documentation about the legacy .lzma file format.
8929
8930  doc/lzma-file-format.txt | 166 +++++++++++++++++++++++++++++++++++++++++++++++
8931  1 file changed, 166 insertions(+)
8932
8933 commit 1496ff437c46f38303e0e94c511ca604b3a11f85
8934 Author: Lasse Collin <lasse.collin@tukaani.org>
8935 Date:   2009-05-01 11:20:23 +0300
8936
8937     Renamed the file format specification to xz-file-format.txt
8938     which is the filename used on the WWW.
8939
8940  doc/file-format.txt    | 1127 ------------------------------------------------
8941  doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++
8942  2 files changed, 1127 insertions(+), 1127 deletions(-)
8943
8944 commit 21c6b94373d239d7e86bd480fcd558e30391712f
8945 Author: Lasse Collin <lasse.collin@tukaani.org>
8946 Date:   2009-04-28 23:08:32 +0300
8947
8948     Fixed a crash in liblzma.
8949     
8950     liblzma tries to avoid useless free()/malloc() pairs in
8951     initialization when multiple files are handled using the
8952     same lzma_stream. This didn't work with filter chains
8953     due to comparison of wrong pointers in lzma_next_coder_init(),
8954     making liblzma think that no memory reallocation is needed
8955     even when it actually is.
8956     
8957     Easy way to trigger this bug is to decompress two files with
8958     a single xz command. The first file should have e.g. x86+LZMA2
8959     as the filter chain, and the second file just LZMA2.
8960
8961  src/liblzma/common/alone_decoder.c  | 2 +-
8962  src/liblzma/common/alone_encoder.c  | 4 ++--
8963  src/liblzma/common/auto_decoder.c   | 2 +-
8964  src/liblzma/common/block_decoder.c  | 2 +-
8965  src/liblzma/common/block_encoder.c  | 2 +-
8966  src/liblzma/common/common.h         | 4 ++--
8967  src/liblzma/common/easy_encoder.c   | 2 +-
8968  src/liblzma/common/index_decoder.c  | 2 +-
8969  src/liblzma/common/index_encoder.c  | 2 +-
8970  src/liblzma/common/stream_decoder.c | 2 +-
8971  src/liblzma/common/stream_encoder.c | 2 +-
8972  11 files changed, 13 insertions(+), 13 deletions(-)
8973
8974 commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c
8975 Author: Lasse Collin <lasse.collin@tukaani.org>
8976 Date:   2009-04-15 14:13:38 +0300
8977
8978     Fix uint32_t -> size_t in ARM and ARM-Thumb filters.
8979     
8980     On 64-bit system it would have gone into infinite
8981     loop if a single input buffer was over 4 GiB (unlikely).
8982
8983  src/liblzma/simple/arm.c      | 2 +-
8984  src/liblzma/simple/armthumb.c | 2 +-
8985  2 files changed, 2 insertions(+), 2 deletions(-)
8986
8987 commit 31decdce041581e57c0d8a407d4795b114ef27ca
8988 Author: Lasse Collin <lasse.collin@tukaani.org>
8989 Date:   2009-04-14 11:48:46 +0300
8990
8991     Minor fixes to test files' README.
8992
8993  tests/files/README | 17 +++++++++--------
8994  1 file changed, 9 insertions(+), 8 deletions(-)
8995
8996 commit 4787d654434891c7df5b43959b0d2873718f06e0
8997 Author: Lasse Collin <lasse.collin@tukaani.org>
8998 Date:   2009-04-13 16:36:41 +0300
8999
9000     Updated history.txt.
9001
9002  doc/history.txt | 123 ++++++++++++++++++++++++++++++--------------------------
9003  1 file changed, 66 insertions(+), 57 deletions(-)
9004
9005 commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9
9006 Author: Lasse Collin <lasse.collin@tukaani.org>
9007 Date:   2009-04-13 14:49:48 +0300
9008
9009     Quick & dirty update to support xz in diff/grep/more scripts.
9010
9011  src/scripts/Makefile.am |  38 +++++++++------
9012  src/scripts/lzdiff      |  67 --------------------------
9013  src/scripts/lzdiff.1    |  51 --------------------
9014  src/scripts/lzgrep      | 123 ------------------------------------------------
9015  src/scripts/lzgrep.1    |  61 ------------------------
9016  src/scripts/lzmore      |  74 -----------------------------
9017  src/scripts/lzmore.1    |  55 ----------------------
9018  src/scripts/xzdiff      |  67 ++++++++++++++++++++++++++
9019  src/scripts/xzdiff.1    |  58 +++++++++++++++++++++++
9020  src/scripts/xzgrep      | 123 ++++++++++++++++++++++++++++++++++++++++++++++++
9021  src/scripts/xzgrep.1    |  77 ++++++++++++++++++++++++++++++
9022  src/scripts/xzmore      |  74 +++++++++++++++++++++++++++++
9023  src/scripts/xzmore.1    |  66 ++++++++++++++++++++++++++
9024  13 files changed, 489 insertions(+), 445 deletions(-)
9025
9026 commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc
9027 Author: Lasse Collin <lasse.collin@tukaani.org>
9028 Date:   2009-04-13 11:27:40 +0300
9029
9030     Put the interesting parts of XZ Utils into the public domain.
9031     Some minor documentation cleanups were made at the same time.
9032
9033  COPYING                                        | 67 ++++++++++++++++++++------
9034  ChangeLog                                      |  2 +-
9035  Doxyfile.in                                    |  8 +--
9036  Makefile.am                                    | 13 ++---
9037  autogen.sh                                     |  9 ++++
9038  configure.ac                                   | 13 ++---
9039  debug/Makefile.am                              | 13 ++---
9040  debug/crc32.c                                  | 13 ++---
9041  debug/full_flush.c                             | 13 ++---
9042  debug/hex2bin.c                                |  7 ++-
9043  debug/known_sizes.c                            | 13 ++---
9044  debug/memusage.c                               | 13 ++---
9045  debug/repeat.c                                 | 13 ++---
9046  debug/sync_flush.c                             | 13 ++---
9047  doc/faq.txt                                    | 38 ++-------------
9048  lib/Makefile.am                                | 18 +++----
9049  src/Makefile.am                                | 13 ++---
9050  src/common/bswap.h                             |  7 ++-
9051  src/common/cpucores.h                          |  7 ++-
9052  src/common/integer.h                           |  7 ++-
9053  src/common/mythread.h                          |  4 +-
9054  src/common/open_stdxxx.h                       |  7 ++-
9055  src/common/physmem.h                           |  7 ++-
9056  src/common/sysdefs.h                           | 13 ++---
9057  src/liblzma/Makefile.am                        | 13 ++---
9058  src/liblzma/api/Makefile.am                    | 13 ++---
9059  src/liblzma/api/lzma.h                         | 38 +++++++++------
9060  src/liblzma/api/lzma/base.h                    | 20 +++-----
9061  src/liblzma/api/lzma/bcj.h                     | 18 +++----
9062  src/liblzma/api/lzma/block.h                   | 18 +++----
9063  src/liblzma/api/lzma/check.h                   | 18 +++----
9064  src/liblzma/api/lzma/container.h               | 18 +++----
9065  src/liblzma/api/lzma/delta.h                   | 18 +++----
9066  src/liblzma/api/lzma/filter.h                  | 18 +++----
9067  src/liblzma/api/lzma/index.h                   | 18 +++----
9068  src/liblzma/api/lzma/index_hash.h              | 22 +++------
9069  src/liblzma/api/lzma/lzma.h                    | 18 +++----
9070  src/liblzma/api/lzma/stream_flags.h            | 18 +++----
9071  src/liblzma/api/lzma/subblock.h                | 18 +++----
9072  src/liblzma/api/lzma/version.h                 | 18 +++----
9073  src/liblzma/api/lzma/vli.h                     | 46 ++++++++----------
9074  src/liblzma/check/Makefile.am                  |  8 ++-
9075  src/liblzma/check/check.c                      |  7 ++-
9076  src/liblzma/check/check.h                      |  7 ++-
9077  src/liblzma/check/crc32_fast.c                 | 30 +++++-------
9078  src/liblzma/check/crc32_small.c                |  7 ++-
9079  src/liblzma/check/crc32_table.c                |  7 ++-
9080  src/liblzma/check/crc32_tablegen.c             |  7 ++-
9081  src/liblzma/check/crc32_x86.S                  | 21 +++++---
9082  src/liblzma/check/crc64_fast.c                 | 20 +++-----
9083  src/liblzma/check/crc64_small.c                |  7 ++-
9084  src/liblzma/check/crc64_table.c                |  7 ++-
9085  src/liblzma/check/crc64_tablegen.c             |  7 ++-
9086  src/liblzma/check/crc64_x86.S                  | 14 ++++--
9087  src/liblzma/check/crc_macros.h                 |  9 ++--
9088  src/liblzma/check/sha256.c                     | 23 +++++----
9089  src/liblzma/common/Makefile.am                 | 13 ++---
9090  src/liblzma/common/alone_decoder.c             | 13 ++---
9091  src/liblzma/common/alone_decoder.h             | 13 ++---
9092  src/liblzma/common/alone_encoder.c             | 13 ++---
9093  src/liblzma/common/auto_decoder.c              | 13 ++---
9094  src/liblzma/common/block_buffer_decoder.c      | 13 ++---
9095  src/liblzma/common/block_buffer_encoder.c      | 13 ++---
9096  src/liblzma/common/block_decoder.c             | 13 ++---
9097  src/liblzma/common/block_decoder.h             | 13 ++---
9098  src/liblzma/common/block_encoder.c             | 13 ++---
9099  src/liblzma/common/block_encoder.h             | 13 ++---
9100  src/liblzma/common/block_header_decoder.c      | 13 ++---
9101  src/liblzma/common/block_header_encoder.c      | 13 ++---
9102  src/liblzma/common/block_util.c                | 13 ++---
9103  src/liblzma/common/bsr.h                       |  7 ++-
9104  src/liblzma/common/chunk_size.c                | 13 ++---
9105  src/liblzma/common/common.c                    | 13 ++---
9106  src/liblzma/common/common.h                    | 13 ++---
9107  src/liblzma/common/easy_buffer_encoder.c       | 13 ++---
9108  src/liblzma/common/easy_decoder_memusage.c     | 13 ++---
9109  src/liblzma/common/easy_encoder.c              | 13 ++---
9110  src/liblzma/common/easy_encoder_memusage.c     | 13 ++---
9111  src/liblzma/common/easy_preset.c               | 13 ++---
9112  src/liblzma/common/easy_preset.h               | 13 ++---
9113  src/liblzma/common/filter_buffer_decoder.c     | 13 ++---
9114  src/liblzma/common/filter_buffer_encoder.c     | 13 ++---
9115  src/liblzma/common/filter_common.c             | 13 ++---
9116  src/liblzma/common/filter_common.h             | 13 ++---
9117  src/liblzma/common/filter_decoder.c            | 13 ++---
9118  src/liblzma/common/filter_decoder.h            | 13 ++---
9119  src/liblzma/common/filter_encoder.c            | 13 ++---
9120  src/liblzma/common/filter_encoder.h            | 13 ++---
9121  src/liblzma/common/filter_flags_decoder.c      | 13 ++---
9122  src/liblzma/common/filter_flags_encoder.c      | 13 ++---
9123  src/liblzma/common/index.c                     | 13 ++---
9124  src/liblzma/common/index.h                     | 13 ++---
9125  src/liblzma/common/index_decoder.c             | 13 ++---
9126  src/liblzma/common/index_encoder.c             | 13 ++---
9127  src/liblzma/common/index_encoder.h             | 13 ++---
9128  src/liblzma/common/index_hash.c                | 13 ++---
9129  src/liblzma/common/stream_buffer_decoder.c     | 13 ++---
9130  src/liblzma/common/stream_buffer_encoder.c     | 13 ++---
9131  src/liblzma/common/stream_decoder.c            | 13 ++---
9132  src/liblzma/common/stream_decoder.h            | 13 ++---
9133  src/liblzma/common/stream_encoder.c            | 13 ++---
9134  src/liblzma/common/stream_encoder.h            | 13 ++---
9135  src/liblzma/common/stream_flags_common.c       | 13 ++---
9136  src/liblzma/common/stream_flags_common.h       | 13 ++---
9137  src/liblzma/common/stream_flags_decoder.c      | 13 ++---
9138  src/liblzma/common/stream_flags_encoder.c      | 13 ++---
9139  src/liblzma/common/vli_decoder.c               | 13 ++---
9140  src/liblzma/common/vli_encoder.c               | 13 ++---
9141  src/liblzma/common/vli_size.c                  | 13 ++---
9142  src/liblzma/delta/Makefile.am                  | 13 ++---
9143  src/liblzma/delta/delta_common.c               | 13 ++---
9144  src/liblzma/delta/delta_common.h               | 13 ++---
9145  src/liblzma/delta/delta_decoder.c              | 13 ++---
9146  src/liblzma/delta/delta_decoder.h              | 13 ++---
9147  src/liblzma/delta/delta_encoder.c              | 13 ++---
9148  src/liblzma/delta/delta_encoder.h              | 13 ++---
9149  src/liblzma/delta/delta_private.h              | 13 ++---
9150  src/liblzma/lz/Makefile.am                     | 13 ++---
9151  src/liblzma/lz/lz_decoder.c                    | 17 ++-----
9152  src/liblzma/lz/lz_decoder.h                    | 17 ++-----
9153  src/liblzma/lz/lz_encoder.c                    | 17 ++-----
9154  src/liblzma/lz/lz_encoder.h                    | 17 ++-----
9155  src/liblzma/lz/lz_encoder_hash.h               | 13 ++---
9156  src/liblzma/lz/lz_encoder_mf.c                 | 17 ++-----
9157  src/liblzma/lzma/Makefile.am                   | 13 ++---
9158  src/liblzma/lzma/fastpos.h                     | 17 ++-----
9159  src/liblzma/lzma/fastpos_tablegen.c            | 17 ++-----
9160  src/liblzma/lzma/lzma2_decoder.c               | 17 ++-----
9161  src/liblzma/lzma/lzma2_decoder.h               | 17 ++-----
9162  src/liblzma/lzma/lzma2_encoder.c               | 17 ++-----
9163  src/liblzma/lzma/lzma2_encoder.h               | 17 ++-----
9164  src/liblzma/lzma/lzma_common.h                 | 17 ++-----
9165  src/liblzma/lzma/lzma_decoder.c                | 17 ++-----
9166  src/liblzma/lzma/lzma_decoder.h                | 17 ++-----
9167  src/liblzma/lzma/lzma_encoder.c                | 17 ++-----
9168  src/liblzma/lzma/lzma_encoder.h                | 17 ++-----
9169  src/liblzma/lzma/lzma_encoder_optimum_fast.c   | 13 ++---
9170  src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 ++---
9171  src/liblzma/lzma/lzma_encoder_presets.c        | 13 ++---
9172  src/liblzma/lzma/lzma_encoder_private.h        | 17 ++-----
9173  src/liblzma/rangecoder/Makefile.am             | 13 ++---
9174  src/liblzma/rangecoder/price.h                 | 13 ++---
9175  src/liblzma/rangecoder/price_tablegen.c        | 16 ++----
9176  src/liblzma/rangecoder/range_common.h          | 17 ++-----
9177  src/liblzma/rangecoder/range_decoder.h         | 17 ++-----
9178  src/liblzma/rangecoder/range_encoder.h         | 17 ++-----
9179  src/liblzma/simple/Makefile.am                 | 13 ++---
9180  src/liblzma/simple/arm.c                       | 17 ++-----
9181  src/liblzma/simple/armthumb.c                  | 17 ++-----
9182  src/liblzma/simple/ia64.c                      | 17 ++-----
9183  src/liblzma/simple/powerpc.c                   | 17 ++-----
9184  src/liblzma/simple/simple_coder.c              | 13 ++---
9185  src/liblzma/simple/simple_coder.h              | 14 ++----
9186  src/liblzma/simple/simple_decoder.c            | 13 ++---
9187  src/liblzma/simple/simple_decoder.h            | 13 ++---
9188  src/liblzma/simple/simple_encoder.c            | 13 ++---
9189  src/liblzma/simple/simple_encoder.h            | 13 ++---
9190  src/liblzma/simple/simple_private.h            | 13 ++---
9191  src/liblzma/simple/sparc.c                     | 17 ++-----
9192  src/liblzma/simple/x86.c                       | 17 ++-----
9193  src/liblzma/subblock/Makefile.am               | 13 ++---
9194  src/liblzma/subblock/subblock_decoder.c        | 13 ++---
9195  src/liblzma/subblock/subblock_decoder.h        | 13 ++---
9196  src/liblzma/subblock/subblock_decoder_helper.c | 13 ++---
9197  src/liblzma/subblock/subblock_decoder_helper.h | 13 ++---
9198  src/liblzma/subblock/subblock_encoder.c        | 13 ++---
9199  src/liblzma/subblock/subblock_encoder.h        | 13 ++---
9200  src/scripts/Makefile.am                        |  7 +++
9201  src/xz/Makefile.am                             | 13 ++---
9202  src/xz/args.c                                  | 13 ++---
9203  src/xz/args.h                                  | 13 ++---
9204  src/xz/hardware.c                              | 13 ++---
9205  src/xz/hardware.h                              | 13 ++---
9206  src/xz/io.c                                    | 13 ++---
9207  src/xz/io.h                                    | 13 ++---
9208  src/xz/list.c                                  | 13 ++---
9209  src/xz/main.c                                  | 13 ++---
9210  src/xz/main.h                                  | 13 ++---
9211  src/xz/message.c                               | 13 ++---
9212  src/xz/message.h                               | 13 ++---
9213  src/xz/options.c                               | 13 ++---
9214  src/xz/options.h                               | 13 ++---
9215  src/xz/private.h                               | 13 ++---
9216  src/xz/process.c                               | 13 ++---
9217  src/xz/process.h                               | 13 ++---
9218  src/xz/signals.c                               | 13 ++---
9219  src/xz/signals.h                               | 13 ++---
9220  src/xz/suffix.c                                | 13 ++---
9221  src/xz/suffix.h                                | 13 ++---
9222  src/xz/util.c                                  | 13 ++---
9223  src/xz/util.h                                  | 13 ++---
9224  src/xzdec/Makefile.am                          | 13 ++---
9225  src/xzdec/xzdec.c                              | 13 ++---
9226  tests/Makefile.am                              | 13 ++---
9227  tests/bcj_test.c                               |  7 ++-
9228  tests/create_compress_files.c                  | 13 ++---
9229  tests/test_block.c                             | 13 ++---
9230  tests/test_block_header.c                      | 13 ++---
9231  tests/test_check.c                             | 13 ++---
9232  tests/test_compress.sh                         | 13 ++---
9233  tests/test_files.sh                            | 13 ++---
9234  tests/test_filter_flags.c                      | 13 ++---
9235  tests/test_index.c                             | 13 ++---
9236  tests/test_stream_flags.c                      | 13 ++---
9237  tests/tests.h                                  | 13 ++---
9238  windows/common.rc                              |  2 +-
9239  206 files changed, 868 insertions(+), 2023 deletions(-)
9240
9241 commit e79c42d854657ae7f75613bd80c1a35ff7c525cb
9242 Author: Lasse Collin <lasse.collin@tukaani.org>
9243 Date:   2009-04-10 11:17:02 +0300
9244
9245     Fix off-by-one in LZ decoder.
9246     
9247     Fortunately, this bug had no security risk other than accepting
9248     some corrupt files as valid.
9249
9250  src/liblzma/lz/lz_decoder.h | 2 +-
9251  1 file changed, 1 insertion(+), 1 deletion(-)
9252
9253 commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af
9254 Author: Pavel Roskin <proski@gnu.org>
9255 Date:   2009-03-31 12:15:01 -0400
9256
9257     Fix minor typos in README
9258
9259  README | 6 +++---
9260  1 file changed, 3 insertions(+), 3 deletions(-)
9261
9262 commit 9bab5336ebd765ec4e12252f416eefdf04eba750
9263 Author: Lasse Collin <lasse.collin@tukaani.org>
9264 Date:   2009-03-31 21:52:51 +0300
9265
9266     Add a note and work-around instructions to README about
9267     problems detecting a C99 compiler when some standard
9268     headers are missing.
9269
9270  README | 11 +++++++++++
9271  1 file changed, 11 insertions(+)
9272
9273 commit a0497ff7a06f9350349264fe9b52dfefc6d53ead
9274 Author: Lasse Collin <lasse.collin@tukaani.org>
9275 Date:   2009-03-18 16:54:38 +0200
9276
9277     Updated THANKS.
9278
9279  THANKS | 1 +
9280  1 file changed, 1 insertion(+)
9281
9282 commit 390e69887fc5e0a108eb41203bed9acd100a3d76
9283 Author: Lasse Collin <lasse.collin@tukaani.org>
9284 Date:   2009-03-18 16:51:41 +0200
9285
9286     Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
9287     Thanks to Bert Wesarg.
9288
9289  m4/lc_cpucores.m4     | 4 ++--
9290  src/common/cpucores.h | 4 ++--
9291  2 files changed, 4 insertions(+), 4 deletions(-)
9292
9293 commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6
9294 Author: Lasse Collin <lasse.collin@tukaani.org>
9295 Date:   2009-03-01 09:03:08 +0200
9296
9297     Test for Linux-specific sysinfo() only on Linux systems.
9298     Some other systems have sysinfo() with different semantics.
9299
9300  m4/lc_physmem.m4 | 28 +++++++++++++++++++---------
9301  1 file changed, 19 insertions(+), 9 deletions(-)
9302
9303 commit cf751edfde3ad6e088dc18e0522d31ae38405933
9304 Author: Lasse Collin <lasse.collin@tukaani.org>
9305 Date:   2009-03-01 09:00:06 +0200
9306
9307     Added AC_CONFIG_MACRO_DIR to configure.ac.
9308
9309  configure.ac | 1 +
9310  1 file changed, 1 insertion(+)
9311
9312 commit 63df14c57dee7c461717784287056688482a7eb9
9313 Author: Lasse Collin <lasse.collin@tukaani.org>
9314 Date:   2009-03-01 08:58:41 +0200
9315
9316     Fix the Autoconf test for getopt_long replacement.
9317     It was broken by e114502b2bc371e4a45449832cb69be036360722.
9318
9319  m4/getopt.m4 | 4 ++++
9320  1 file changed, 4 insertions(+)
9321
9322 commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f
9323 Author: Lasse Collin <lasse.collin@tukaani.org>
9324 Date:   2009-02-22 19:07:54 +0200
9325
9326     Add a rough explanation of --extreme to output of --help.
9327
9328  src/xz/message.c | 4 ++++
9329  1 file changed, 4 insertions(+)
9330
9331 commit 68bf7ac2984d3627369a240ef0491934d53f7899
9332 Author: Lasse Collin <lasse.collin@tukaani.org>
9333 Date:   2009-02-22 18:52:49 +0200
9334
9335     Fixes to progress message handling in xz:
9336     
9337       - Don't use Windows-specific code on Windows. The old code
9338         required at least Windows 2000. Now it should work on
9339         Windows 98 and later, and maybe on Windows 95 too.
9340     
9341       - Use less precision when showing estimated remaining time.
9342     
9343       - Fix some small design issues.
9344
9345  src/xz/message.c | 483 +++++++++++++++++++++++++++++++++++--------------------
9346  src/xz/message.h |  28 ++--
9347  src/xz/process.c |  53 +++---
9348  3 files changed, 351 insertions(+), 213 deletions(-)
9349
9350 commit 47c2e21f82242f50f18713a27d644c2c94ab3fea
9351 Author: Lasse Collin <lasse.collin@tukaani.org>
9352 Date:   2009-02-18 13:00:10 +0200
9353
9354     Added files missing from the previous commit.
9355
9356  src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++
9357  src/liblzma/common/Makefile.am   |  7 ++++++-
9358  2 files changed, 39 insertions(+), 1 deletion(-)
9359
9360 commit 489a3dbaa0465f04400804e956a1cfbbee3654a2
9361 Author: Lasse Collin <lasse.collin@tukaani.org>
9362 Date:   2009-02-17 10:43:00 +0200
9363
9364     Added lzma_easy_buffer_encode(). Splitted easy.c into small
9365     pieces to avoid unneeded dependencies making statically
9366     linked applications bigger than needed.
9367
9368  dos/Makefile                               |   6 +-
9369  src/liblzma/common/easy.c                  | 128 -----------------------------
9370  src/liblzma/common/easy_buffer_encoder.c   |  34 ++++++++
9371  src/liblzma/common/easy_decoder_memusage.c |  31 +++++++
9372  src/liblzma/common/easy_encoder.c          |  87 ++++++++++++++++++++
9373  src/liblzma/common/easy_encoder_memusage.c |  31 +++++++
9374  src/liblzma/common/easy_preset.c           |  34 ++++++++
9375  src/liblzma/common/easy_preset.h           |  39 +++++++++
9376  windows/Makefile                           |   6 +-
9377  9 files changed, 266 insertions(+), 130 deletions(-)
9378
9379 commit 7494816ab08d82f4d6409788825930c4e43cfd0d
9380 Author: Lasse Collin <lasse.collin@tukaani.org>
9381 Date:   2009-02-15 15:48:45 +0200
9382
9383     Make physmem.h work on old Windows versions.
9384     Thanks to Hongbo Ni for the original patch.
9385
9386  src/common/physmem.h | 31 +++++++++++++++++++++++++++----
9387  1 file changed, 27 insertions(+), 4 deletions(-)
9388
9389 commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0
9390 Author: Lasse Collin <lasse.collin@tukaani.org>
9391 Date:   2009-02-14 20:44:52 +0200
9392
9393     Fix microsecond vs. nanosecond confusion in my_time().
9394
9395  src/xz/message.c | 2 +-
9396  1 file changed, 1 insertion(+), 1 deletion(-)
9397
9398 commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7
9399 Author: Lasse Collin <lasse.collin@tukaani.org>
9400 Date:   2009-02-14 00:45:29 +0200
9401
9402     Cleanups to the code that detects the amount of RAM and
9403     the number of CPU cores. Added support for using sysinfo()
9404     on Linux systems whose libc lacks appropriate sysconf()
9405     support (at least dietlibc). The Autoconf macros were
9406     split into separate files, and CPU core count detection
9407     was moved from hardware.c to cpucores.h. The core count
9408     isn't used for anything real for now, so a problematic
9409     part in process.c was commented out.
9410
9411  configure.ac          | 89 ++-------------------------------------------------
9412  m4/lc_cpucores.m4     | 57 +++++++++++++++++++++++++++++++++
9413  m4/lc_physmem.m4      | 74 ++++++++++++++++++++++++++++++++++++++++++
9414  src/common/cpucores.h | 52 ++++++++++++++++++++++++++++++
9415  src/common/physmem.h  | 21 +++++++-----
9416  src/xz/args.c         |  4 +--
9417  src/xz/hardware.c     | 50 +++++++++++++----------------
9418  src/xz/hardware.h     | 11 +++++--
9419  src/xz/message.c      |  5 +--
9420  src/xz/process.c      |  2 ++
9421  10 files changed, 235 insertions(+), 130 deletions(-)
9422
9423 commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8
9424 Author: Lasse Collin <lasse.collin@tukaani.org>
9425 Date:   2009-02-13 18:23:50 +0200
9426
9427     Initial port to DOS using DJGPP.
9428
9429  dos/Makefile | 261 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
9430  dos/README   | 113 ++++++++++++++++++++++++++
9431  dos/config.h | 150 ++++++++++++++++++++++++++++++++++
9432  3 files changed, 524 insertions(+)
9433
9434 commit 0dae8b7751d09e9c5a482d5519daaee4800ce203
9435 Author: Lasse Collin <lasse.collin@tukaani.org>
9436 Date:   2009-02-13 18:02:05 +0200
9437
9438     Windows port: Take advantage of the version number macros.
9439     Now the version number is not duplicated in the
9440     Windows-specific files anymore.
9441
9442  windows/Makefile  |  2 +-
9443  windows/common.rc | 16 ++++++++--------
9444  windows/config.h  | 15 ---------------
9445  3 files changed, 9 insertions(+), 24 deletions(-)
9446
9447 commit fdbc0cfa71f7d660855098a609175ba384259529
9448 Author: Lasse Collin <lasse.collin@tukaani.org>
9449 Date:   2009-02-13 18:00:03 +0200
9450
9451     Changed how the version number is specified in various places.
9452     Now configure.ac will get the version number directly from
9453     src/liblzma/api/lzma/version.h. The intent is to reduce the
9454     number of places where the version number is duplicated. In
9455     future, support for displaying Git commit ID may be added too.
9456
9457  configure.ac                   |  3 +-
9458  src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++++--
9459  src/liblzma/common/common.c    |  2 +-
9460  src/xz/message.c               |  2 +-
9461  src/xzdec/xzdec.c              |  2 +-
9462  version.sh                     | 23 ++++++++++++++
9463  6 files changed, 95 insertions(+), 7 deletions(-)
9464
9465 commit 1d924e584b146136989f48c13fff2632896efb3d
9466 Author: Lasse Collin <lasse.collin@tukaani.org>
9467 Date:   2009-02-13 17:30:30 +0200
9468
9469     Fix handling of integrity check type in the xz command line tool.
9470
9471  src/xz/args.c    | 9 ++++++++-
9472  src/xz/process.c | 4 ++++
9473  2 files changed, 12 insertions(+), 1 deletion(-)
9474
9475 commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8
9476 Author: Lasse Collin <lasse.collin@tukaani.org>
9477 Date:   2009-02-13 17:29:02 +0200
9478
9479     Improve support for DOS-like systems.
9480     Here DOS-like means DOS, Windows, and OS/2.
9481
9482  src/common/physmem.h          | 12 ++++++++++++
9483  src/common/sysdefs.h          |  4 ++++
9484  src/liblzma/check/crc32_x86.S |  6 +++---
9485  src/liblzma/check/crc64_x86.S |  6 +++---
9486  src/xz/args.c                 | 13 +++++--------
9487  src/xz/io.c                   | 39 +++++++++++++++++++++++++--------------
9488  src/xz/main.c                 | 23 +++++++++++++++++++++++
9489  src/xz/message.c              |  3 +++
9490  src/xz/suffix.c               |  5 +++++
9491  src/xzdec/xzdec.c             |  5 +++--
9492  10 files changed, 86 insertions(+), 30 deletions(-)
9493
9494 commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33
9495 Author: Lasse Collin <lasse.collin@tukaani.org>
9496 Date:   2009-02-11 20:02:32 +0200
9497
9498     Remove dead directories from .gitignore.
9499
9500  .gitignore | 2 --
9501  1 file changed, 2 deletions(-)
9502
9503 commit 1ec5b0027911d94cb6f98892cbc690f818d8a861
9504 Author: Jim Meyering <jim@meyering.net>
9505 Date:   2009-02-11 14:45:14 +0100
9506
9507     .gitignore vs. Makefiles
9508     
9509     How about this for those of us who do srcdir builds?
9510
9511  .gitignore | 22 ++++++++++++++++++++++
9512  1 file changed, 22 insertions(+)
9513
9514 commit 154f5aec2de201c674841de4fcc9804c2a87af07
9515 Author: Lasse Collin <lasse.collin@tukaani.org>
9516 Date:   2009-02-10 21:48:35 +0200
9517
9518     Removed Makefile from .gitignore since not all Makefiles
9519     in the repository are generated by Autotools. People
9520     should do test builds in a separate build directory anyway.
9521
9522  .gitignore | 1 -
9523  1 file changed, 1 deletion(-)
9524
9525 commit e605c2663691b0a4c307786aa368d124ea081daa
9526 Author: Lasse Collin <lasse.collin@tukaani.org>
9527 Date:   2009-02-10 21:48:05 +0200
9528
9529     Added resource files for the Windows build.
9530
9531  windows/Makefile   | 37 ++++++++++++++++++++++---------------
9532  windows/common.rc  | 46 ++++++++++++++++++++++++++++++++++++++++++++++
9533  windows/liblzma.rc |  5 +++++
9534  windows/lzmadec.rc |  5 +++++
9535  windows/xz.rc      |  5 +++++
9536  windows/xzdec.rc   |  5 +++++
9537  6 files changed, 88 insertions(+), 15 deletions(-)
9538
9539 commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476
9540 Author: Lasse Collin <lasse.collin@tukaani.org>
9541 Date:   2009-02-09 14:54:31 +0200
9542
9543     Let the user specify custom CFLAGS on the make command
9544     line. Previously custom CFLAGS worked only when they were
9545     passed to configure.
9546
9547  configure.ac                  | 58 ++++++++++++++++++++++---------------------
9548  src/liblzma/check/Makefile.am |  2 +-
9549  2 files changed, 31 insertions(+), 29 deletions(-)
9550
9551 commit 53f7598998b1860a69c51243b5d2e34623c6bf60
9552 Author: Lasse Collin <lasse.collin@tukaani.org>
9553 Date:   2009-02-08 21:35:11 +0200
9554
9555     Fix aliasing issue in physmem.h.
9556
9557  src/common/physmem.h | 19 ++++++++++---------
9558  1 file changed, 10 insertions(+), 9 deletions(-)
9559
9560 commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6
9561 Author: Lasse Collin <lasse.collin@tukaani.org>
9562 Date:   2009-02-08 18:24:50 +0200
9563
9564     Add a separate internal function to initialize the CRC32
9565     table, which is used also by LZ encoder. This was needed
9566     because calling lzma_crc32() and ignoring the result is
9567     a no-op due to lzma_attr_pure.
9568
9569  src/liblzma/check/check.h       |  1 +
9570  src/liblzma/check/crc32_small.c | 10 +++++++++-
9571  src/liblzma/lz/lz_encoder.c     |  4 ++--
9572  3 files changed, 12 insertions(+), 3 deletions(-)
9573
9574 commit ae1ad9af54210c9a2be336b1316532da5071516c
9575 Author: Lasse Collin <lasse.collin@tukaani.org>
9576 Date:   2009-02-08 18:17:05 +0200
9577
9578     Make "xz --force" to write to terminal as the error
9579     message suggests.
9580
9581  src/xz/main.c | 2 +-
9582  1 file changed, 1 insertion(+), 1 deletion(-)
9583
9584 commit 79e25eded48d2fe33f31441ab7a034f902e335f8
9585 Author: Lasse Collin <lasse.collin@tukaani.org>
9586 Date:   2009-02-08 10:37:50 +0200
9587
9588     Support both slash and backslash as path component
9589     separator on Windows when parsing argv[0].
9590
9591  src/xz/args.c | 9 +++++++++
9592  1 file changed, 9 insertions(+)
9593
9594 commit bc7c7109cc4410055a888c1c70cbd1c9445c4361
9595 Author: Lasse Collin <lasse.collin@tukaani.org>
9596 Date:   2009-02-07 23:18:13 +0200
9597
9598     Omit the wrong and (even if corrected) nowadays useless rm
9599     from autogen.sh.
9600
9601  autogen.sh | 28 ----------------------------
9602  1 file changed, 28 deletions(-)
9603
9604 commit edfc2031e56f8a2ccda063f02936b3a848d88723
9605 Author: Lasse Collin <lasse.collin@tukaani.org>
9606 Date:   2009-02-07 21:41:52 +0200
9607
9608     Updated THANKS.
9609
9610  THANKS | 1 +
9611  1 file changed, 1 insertion(+)
9612
9613 commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3
9614 Author: Lasse Collin <lasse.collin@tukaani.org>
9615 Date:   2009-02-07 21:17:07 +0200
9616
9617     Make it easy to choose if command line tools should be
9618     linked statically or dynamically against liblzma. The
9619     default is still to use static liblzma, but it can now
9620     be changed by passing --enable-dynamic to configure.
9621     Thanks to Mike Frysinger for the original patch.
9622     
9623     Fixed a few minor bugs in configure.ac.
9624
9625  configure.ac          | 39 +++++++++++++++++++++++++++++++++++++++
9626  src/xz/Makefile.am    |  8 +++-----
9627  src/xzdec/Makefile.am |  5 +++--
9628  3 files changed, 45 insertions(+), 7 deletions(-)
9629
9630 commit 3f86532407e4ace3debb62be16035e009b56ca36
9631 Author: Mike Frysinger <vapier@gentoo.org>
9632 Date:   2009-02-06 23:38:39 -0500
9633
9634     add gitignore files
9635     
9636     Signed-off-by: Mike Frysinger <vapier@gentoo.org>
9637
9638  .gitignore    | 32 ++++++++++++++++++++++++++++++++
9639  m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++
9640  po/.gitignore | 12 ++++++++++++
9641  3 files changed, 79 insertions(+)
9642
9643 commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5
9644 Author: Lasse Collin <lasse.collin@tukaani.org>
9645 Date:   2009-02-07 17:07:52 +0200
9646
9647     Assume 32 MiB of RAM on unsupported operating systems like
9648     the comment in hardware.c already said.
9649
9650  src/xz/hardware.c | 2 +-
9651  1 file changed, 1 insertion(+), 1 deletion(-)
9652
9653 commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618
9654 Author: Lasse Collin <lasse.collin@tukaani.org>
9655 Date:   2009-02-07 16:26:58 +0200
9656
9657     MinGW support: Don't build fastpos_tablegen.c as part of
9658     liblzma. Build both static and dynamic liblzma, and also
9659     static and dynamic versions of the command line tools.
9660
9661  windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++++--------------
9662  windows/README   | 10 ------
9663  2 files changed, 69 insertions(+), 33 deletions(-)
9664
9665 commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45
9666 Author: Lasse Collin <lasse.collin@tukaani.org>
9667 Date:   2009-02-07 15:55:47 +0200
9668
9669     Support LZMA_API_STATIC in assembler files to
9670     avoid __declspec(dllexport) equivalent.
9671
9672  src/liblzma/check/crc32_x86.S | 4 ++++
9673  src/liblzma/check/crc64_x86.S | 2 ++
9674  2 files changed, 6 insertions(+)
9675
9676 commit 3306cf3883492720b3c34baa02f4eb4227d91c73
9677 Author: Lasse Collin <lasse.collin@tukaani.org>
9678 Date:   2009-02-07 11:11:50 +0200
9679
9680     Introduced LZMA_API_STATIC macro, which the applications
9681     need to #define when linking against static liblzma on
9682     platforms like Windows. Most developers don't need to
9683     care about LZMA_API_STATIC at all.
9684
9685  src/liblzma/api/lzma.h      | 31 ++++++++++++++++++++++++-------
9686  src/liblzma/common/common.h |  2 +-
9687  2 files changed, 25 insertions(+), 8 deletions(-)
9688
9689 commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b
9690 Author: Lasse Collin <lasse.collin@tukaani.org>
9691 Date:   2009-02-06 16:55:45 +0200
9692
9693     Another grammar fix
9694
9695  README | 2 +-
9696  1 file changed, 1 insertion(+), 1 deletion(-)
9697
9698 commit fe5434f940f75fec3611cf9d9edf78c4da8ac760
9699 Author: Lasse Collin <lasse.collin@tukaani.org>
9700 Date:   2009-02-06 12:30:23 +0200
9701
9702     Grammar fix in README.
9703
9704  README | 2 +-
9705  1 file changed, 1 insertion(+), 1 deletion(-)
9706
9707 commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245
9708 Author: Lasse Collin <lasse.collin@tukaani.org>
9709 Date:   2009-02-06 10:06:32 +0200
9710
9711     Some MSYS installations (e.g. MsysGit) don't include
9712     install.exe, so don't rely on it.
9713
9714  windows/Makefile | 12 +++++++-----
9715  windows/README   | 11 ++++++-----
9716  2 files changed, 13 insertions(+), 10 deletions(-)
9717
9718 commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31
9719 Author: Lasse Collin <lasse.collin@tukaani.org>
9720 Date:   2009-02-06 09:13:15 +0200
9721
9722     Recreated the BCJ test files for x86 and SPARC. The old files
9723     were linked with crt*.o, which are copyrighted, and thus the
9724     old test files were not in the public domain as a whole. They
9725     are freely distributable though, but it is better to be careful
9726     and avoid including any copyrighted pieces in the test files.
9727     The new files are just compiled and assembled object files,
9728     and thus don't contain any copyrighted code.
9729
9730  tests/bcj_test.c                  |   2 +-
9731  tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes
9732  tests/compress_prepared_bcj_x86   | Bin 4649 -> 1388 bytes
9733  tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes
9734  tests/files/good-1-x86-lzma2.xz   | Bin 1936 -> 716 bytes
9735  5 files changed, 1 insertion(+), 1 deletion(-)
9736
9737 commit 094b1b09a531f0d201ec81f2b07346a995fd80b9
9738 Author: Lasse Collin <lasse.collin@tukaani.org>
9739 Date:   2009-02-05 21:21:27 +0200
9740
9741     Add the "windows" directory to EXTRA_DIST.
9742
9743  Makefile.am | 1 +
9744  1 file changed, 1 insertion(+)
9745
9746 commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49
9747 Author: Lasse Collin <lasse.collin@tukaani.org>
9748 Date:   2009-02-05 09:17:51 +0200
9749
9750     Added initial experimental makefile for use with MinGW.
9751
9752  windows/Makefile | 253 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
9753  windows/README   | 164 ++++++++++++++++++++++++++++++++++++
9754  windows/config.h | 180 +++++++++++++++++++++++++++++++++++++++
9755  3 files changed, 597 insertions(+)
9756
9757 commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9
9758 Author: Lasse Collin <lasse.collin@tukaani.org>
9759 Date:   2009-02-05 09:12:57 +0200
9760
9761     Various code cleanups the the xz command line tool.
9762     It now builds with MinGW.
9763
9764  src/common/physmem.h |  13 ++++
9765  src/xz/Makefile.am   |   2 +
9766  src/xz/args.h        |   8 ---
9767  src/xz/hardware.h    |  10 +--
9768  src/xz/io.c          |  93 +++++++++++++++++++-------
9769  src/xz/io.h          |  12 ++--
9770  src/xz/main.c        | 132 ++-----------------------------------
9771  src/xz/main.h        |  22 -------
9772  src/xz/message.c     |  65 ++++++++++++++++---
9773  src/xz/message.h     |   6 --
9774  src/xz/options.h     |   8 ---
9775  src/xz/private.h     |  18 ++++--
9776  src/xz/process.h     |  10 +--
9777  src/xz/signals.c     | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++
9778  src/xz/signals.h     |  51 +++++++++++++++
9779  src/xz/suffix.h      |   5 --
9780  src/xz/util.c        |   5 +-
9781  src/xz/util.h        |   5 --
9782  18 files changed, 399 insertions(+), 246 deletions(-)
9783
9784 commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe
9785 Author: Lasse Collin <lasse.collin@tukaani.org>
9786 Date:   2009-02-03 12:15:17 +0200
9787
9788     Another utime() fix.
9789
9790  src/xz/io.c | 9 +++++----
9791  1 file changed, 5 insertions(+), 4 deletions(-)
9792
9793 commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca
9794 Author: Lasse Collin <lasse.collin@tukaani.org>
9795 Date:   2009-02-03 10:41:11 +0200
9796
9797     Fix wrong filename argument for utime() and utimes().
9798     This doesn't affect most systems, since most systems
9799     have better functions available.
9800
9801  src/xz/io.c | 4 ++--
9802  1 file changed, 2 insertions(+), 2 deletions(-)
9803
9804 commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302
9805 Author: Lasse Collin <lasse.collin@tukaani.org>
9806 Date:   2009-02-02 21:19:01 +0200
9807
9808     Updated the x86 assembler code:
9809       - Use call/ret pair to get instruction pointer for PIC.
9810       - Use PIC only if PIC or __PIC__ is #defined.
9811       - The code should work on MinGW and Darwin in addition
9812         to GNU/Linux and Solaris.
9813
9814  configure.ac                  |  6 ----
9815  src/liblzma/check/crc32_x86.S | 84 ++++++++++++++++++++++++++++++++++++-------
9816  src/liblzma/check/crc64_x86.S | 82 ++++++++++++++++++++++++++++++++++++------
9817  3 files changed, 144 insertions(+), 28 deletions(-)
9818
9819 commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f
9820 Author: Lasse Collin <lasse.collin@tukaani.org>
9821 Date:   2009-02-02 20:14:03 +0200
9822
9823     Modify LZMA_API macro so that it works on Windows with
9824     other compilers than MinGW. This may hurt readability
9825     of the API headers slightly, but I don't know any
9826     better way to do this.
9827
9828  src/liblzma/api/lzma.h                     |  6 ++---
9829  src/liblzma/api/lzma/base.h                | 11 ++++----
9830  src/liblzma/api/lzma/block.h               | 22 ++++++++--------
9831  src/liblzma/api/lzma/check.h               | 10 ++++----
9832  src/liblzma/api/lzma/container.h           | 22 ++++++++--------
9833  src/liblzma/api/lzma/filter.h              | 28 ++++++++++-----------
9834  src/liblzma/api/lzma/index.h               | 40 +++++++++++++++---------------
9835  src/liblzma/api/lzma/index_hash.h          | 10 ++++----
9836  src/liblzma/api/lzma/lzma.h                |  6 ++---
9837  src/liblzma/api/lzma/stream_flags.h        | 10 ++++----
9838  src/liblzma/api/lzma/version.h             |  4 +--
9839  src/liblzma/api/lzma/vli.h                 |  6 ++---
9840  src/liblzma/check/check.c                  |  4 +--
9841  src/liblzma/check/crc32_fast.c             |  2 +-
9842  src/liblzma/check/crc32_small.c            |  2 +-
9843  src/liblzma/check/crc64_fast.c             |  2 +-
9844  src/liblzma/check/crc64_small.c            |  2 +-
9845  src/liblzma/common/alone_decoder.c         |  2 +-
9846  src/liblzma/common/alone_encoder.c         |  2 +-
9847  src/liblzma/common/auto_decoder.c          |  2 +-
9848  src/liblzma/common/block_buffer_decoder.c  |  2 +-
9849  src/liblzma/common/block_buffer_encoder.c  |  4 +--
9850  src/liblzma/common/block_decoder.c         |  2 +-
9851  src/liblzma/common/block_encoder.c         |  2 +-
9852  src/liblzma/common/block_header_decoder.c  |  2 +-
9853  src/liblzma/common/block_header_encoder.c  |  4 +--
9854  src/liblzma/common/block_util.c            |  6 ++---
9855  src/liblzma/common/chunk_size.c            |  2 +-
9856  src/liblzma/common/common.c                | 16 ++++++------
9857  src/liblzma/common/common.h                |  2 +-
9858  src/liblzma/common/easy.c                  |  6 ++---
9859  src/liblzma/common/filter_buffer_decoder.c |  2 +-
9860  src/liblzma/common/filter_buffer_encoder.c |  2 +-
9861  src/liblzma/common/filter_decoder.c        |  8 +++---
9862  src/liblzma/common/filter_encoder.c        | 12 ++++-----
9863  src/liblzma/common/filter_flags_decoder.c  |  2 +-
9864  src/liblzma/common/filter_flags_encoder.c  |  4 +--
9865  src/liblzma/common/index.c                 | 32 ++++++++++++------------
9866  src/liblzma/common/index_decoder.c         |  4 +--
9867  src/liblzma/common/index_encoder.c         |  4 +--
9868  src/liblzma/common/index_hash.c            | 10 ++++----
9869  src/liblzma/common/stream_buffer_decoder.c |  2 +-
9870  src/liblzma/common/stream_buffer_encoder.c |  4 +--
9871  src/liblzma/common/stream_decoder.c        |  2 +-
9872  src/liblzma/common/stream_encoder.c        |  2 +-
9873  src/liblzma/common/stream_flags_common.c   |  2 +-
9874  src/liblzma/common/stream_flags_decoder.c  |  4 +--
9875  src/liblzma/common/stream_flags_encoder.c  |  4 +--
9876  src/liblzma/common/vli_decoder.c           |  2 +-
9877  src/liblzma/common/vli_encoder.c           |  2 +-
9878  src/liblzma/common/vli_size.c              |  2 +-
9879  src/liblzma/lz/lz_encoder.c                |  2 +-
9880  src/liblzma/lzma/lzma_encoder.c            |  2 +-
9881  src/liblzma/lzma/lzma_encoder_presets.c    |  2 +-
9882  54 files changed, 177 insertions(+), 176 deletions(-)
9883
9884 commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65
9885 Author: Lasse Collin <lasse.collin@tukaani.org>
9886 Date:   2009-02-01 22:40:35 +0200
9887
9888     Fix a bug in lzma_block_buffer_decode(), although this
9889     function should be rewritten anyway.
9890
9891  src/liblzma/common/block_buffer_decoder.c | 8 ++++----
9892  1 file changed, 4 insertions(+), 4 deletions(-)
9893
9894 commit 55fd41431e61fb8178858283d636b6781e33e847
9895 Author: Lasse Collin <lasse.collin@tukaani.org>
9896 Date:   2009-02-01 22:39:07 +0200
9897
9898     Added initial version of raw buffer-to-buffer coding
9899     functions, and cleaned up filter.h API header a little.
9900     May be very buggy, not tested yet.
9901
9902  src/liblzma/api/lzma/filter.h              | 84 +++++++++++++++++++-------
9903  src/liblzma/common/Makefile.am             |  2 +
9904  src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++++
9905  src/liblzma/common/filter_buffer_encoder.c | 61 +++++++++++++++++++
9906  4 files changed, 221 insertions(+), 20 deletions(-)
9907
9908 commit 3e54ecee5cad30a5ca361a88a99230407abc0699
9909 Author: Lasse Collin <lasse.collin@tukaani.org>
9910 Date:   2009-02-01 00:11:20 +0200
9911
9912     Fix missing newlines in xzdec.c.
9913
9914  src/xzdec/xzdec.c | 6 +++---
9915  1 file changed, 3 insertions(+), 3 deletions(-)
9916
9917 commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35
9918 Author: Lasse Collin <lasse.collin@tukaani.org>
9919 Date:   2009-02-01 00:10:07 +0200
9920
9921     Use __cdecl also for function pointers in liblzma API when
9922     on Windows.
9923
9924  src/liblzma/api/lzma.h      | 18 +++++++++++-------
9925  src/liblzma/api/lzma/base.h |  4 ++--
9926  src/liblzma/common/common.h | 18 +++++++-----------
9927  3 files changed, 20 insertions(+), 20 deletions(-)
9928
9929 commit 6a2eb54092fc625d59921a607ff68cd1a90aa898
9930 Author: Lasse Collin <lasse.collin@tukaani.org>
9931 Date:   2009-01-31 11:01:48 +0200
9932
9933     Add LZMA_API to liblzma API headers. It's useful at least
9934     on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h
9935     has to be #included separately where needed.
9936
9937  src/common/sysdefs.h                |  2 --
9938  src/liblzma/api/lzma.h              | 17 ++++++++++++++
9939  src/liblzma/api/lzma/base.h         | 10 ++++----
9940  src/liblzma/api/lzma/block.h        | 25 +++++++++++---------
9941  src/liblzma/api/lzma/check.h        | 12 ++++++----
9942  src/liblzma/api/lzma/container.h    | 23 +++++++++---------
9943  src/liblzma/api/lzma/filter.h       | 24 +++++++++----------
9944  src/liblzma/api/lzma/index.h        | 47 +++++++++++++++++++++----------------
9945  src/liblzma/api/lzma/index_hash.h   | 11 +++++----
9946  src/liblzma/api/lzma/lzma.h         |  8 ++++---
9947  src/liblzma/api/lzma/stream_flags.h | 10 ++++----
9948  src/liblzma/api/lzma/version.h      |  4 ++--
9949  src/liblzma/api/lzma/vli.h          | 10 ++++----
9950  src/liblzma/common/common.h         | 13 ++++++++--
9951  src/xz/private.h                    |  1 +
9952  src/xzdec/xzdec.c                   |  1 +
9953  tests/tests.h                       |  1 +
9954  17 files changed, 131 insertions(+), 88 deletions(-)
9955
9956 commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b
9957 Author: Lasse Collin <lasse.collin@tukaani.org>
9958 Date:   2009-01-31 10:13:09 +0200
9959
9960     Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.
9961
9962  src/xzdec/xzdec.c | 4 ++--
9963  1 file changed, 2 insertions(+), 2 deletions(-)
9964
9965 commit 2dbdc5befb33c3703e4609809101047c67caf343
9966 Author: Lasse Collin <lasse.collin@tukaani.org>
9967 Date:   2009-01-31 10:02:52 +0200
9968
9969     Fix two lines in lzma.h on which the # wasn't at the
9970     beginning of the line.
9971
9972  src/liblzma/api/lzma.h | 4 ++--
9973  1 file changed, 2 insertions(+), 2 deletions(-)
9974
9975 commit 4ab760109106dc04f39dd81c97d50f528d1b51c1
9976 Author: Lasse Collin <lasse.collin@tukaani.org>
9977 Date:   2009-01-31 09:55:05 +0200
9978
9979     Add support for using liblzma headers in MSVC, which has no
9980     stdint.h or inttypes.h.
9981
9982  src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++++-----------------
9983  1 file changed, 46 insertions(+), 24 deletions(-)
9984
9985 commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9
9986 Author: Lasse Collin <lasse.collin@tukaani.org>
9987 Date:   2009-01-31 08:49:54 +0200
9988
9989     Fix # -> ## in a macro in lzma.h.
9990
9991  src/liblzma/api/lzma.h | 2 +-
9992  1 file changed, 1 insertion(+), 1 deletion(-)
9993
9994 commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208
9995 Author: Lasse Collin <lasse.collin@tukaani.org>
9996 Date:   2009-01-30 18:50:16 +0200
9997
9998     Updated README.
9999
10000  README | 30 ++++++++++++++++++++----------
10001  1 file changed, 20 insertions(+), 10 deletions(-)
10002
10003 commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb
10004 Author: Lasse Collin <lasse.collin@tukaani.org>
10005 Date:   2009-01-30 00:29:58 +0200
10006
10007     Remove dangling crc64_init.c.
10008
10009  src/liblzma/check/crc64_init.c | 55 ------------------------------------------
10010  1 file changed, 55 deletions(-)
10011
10012 commit 982da7ed314398420c38bf154a8f759d5f18b480
10013 Author: Lasse Collin <lasse.collin@tukaani.org>
10014 Date:   2009-01-28 17:16:38 +0200
10015
10016     The .xz file format specification version 1.0.0 is now
10017     officially released. The format has been technically the same
10018     since 2008-11-19, but now that it is frozen, people can start
10019     using it without a fear that the format will break.
10020
10021  doc/file-format.txt | 84 +++++++++++++++++++++++++++++++----------------------
10022  1 file changed, 49 insertions(+), 35 deletions(-)
10023
10024 commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f
10025 Author: Lasse Collin <lasse.collin@tukaani.org>
10026 Date:   2009-01-28 08:45:59 +0200
10027
10028     Updated THANKS.
10029
10030  THANKS | 1 +
10031  1 file changed, 1 insertion(+)
10032
10033 commit 3241317093595db9f79104faafe93cb989c9f858
10034 Author: Lasse Collin <lasse.collin@tukaani.org>
10035 Date:   2009-01-28 08:43:26 +0200
10036
10037     Fix uninitialized variables in alone_decoder.c. This bug was
10038     triggered by the previous commit, since these variables were
10039     not used by anything before support for a preset dictionary.
10040
10041  src/liblzma/common/alone_decoder.c | 2 ++
10042  1 file changed, 2 insertions(+)
10043
10044 commit f76e39cf930f888d460b443d18f977ebedea8b2a
10045 Author: Lasse Collin <lasse.collin@tukaani.org>
10046 Date:   2009-01-27 18:36:05 +0200
10047
10048     Added initial support for preset dictionary for raw LZMA1
10049     and LZMA2. It is not supported by the .xz format or the xz
10050     command line tool yet.
10051
10052  src/liblzma/lz/lz_decoder.c      | 35 +++++++++++++++++++++++++----------
10053  src/liblzma/lz/lz_decoder.h      |  9 ++++++++-
10054  src/liblzma/lz/lz_encoder.c      | 18 ++++++++++++++++--
10055  src/liblzma/lzma/lzma2_decoder.c |  9 ++++++---
10056  src/liblzma/lzma/lzma2_encoder.c | 12 +++++++-----
10057  src/liblzma/lzma/lzma_decoder.c  | 10 ++++++----
10058  src/liblzma/lzma/lzma_decoder.h  |  2 +-
10059  src/liblzma/lzma/lzma_encoder.c  |  9 ++++++++-
10060  8 files changed, 77 insertions(+), 27 deletions(-)
10061
10062 commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3
10063 Author: Lasse Collin <lasse.collin@tukaani.org>
10064 Date:   2009-01-26 20:09:17 +0200
10065
10066     Regenerate the CRC tables without trailing blanks.
10067
10068  src/liblzma/check/crc32_table_be.h | 1008 +++++++++++++++++------------------
10069  src/liblzma/check/crc32_table_le.h | 1008 +++++++++++++++++------------------
10070  src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------
10071  src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------
10072  4 files changed, 2024 insertions(+), 2024 deletions(-)
10073
10074 commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2
10075 Author: Jim Meyering <meyering@redhat.com>
10076 Date:   2009-01-19 21:37:16 +0100
10077
10078     remove trailing blanks from all but .xz files
10079
10080  debug/known_sizes.c                | 2 +-
10081  extra/scanlzma/scanlzma.c          | 5 ++---
10082  src/liblzma/check/crc32_tablegen.c | 2 +-
10083  src/liblzma/check/crc64_tablegen.c | 2 +-
10084  src/scripts/lzdiff.1               | 4 ++--
10085  src/scripts/lzmore.1               | 6 +++---
10086  tests/test_compress.sh             | 4 ++--
10087  7 files changed, 12 insertions(+), 13 deletions(-)
10088
10089 commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5
10090 Author: Lasse Collin <lasse.collin@tukaani.org>
10091 Date:   2009-01-26 14:34:10 +0200
10092
10093     Add lzma_block_buffer_decode().
10094
10095  src/liblzma/api/lzma/block.h              | 41 +++++++++++++++
10096  src/liblzma/common/Makefile.am            |  1 +
10097  src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++++
10098  3 files changed, 129 insertions(+)
10099
10100 commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d
10101 Author: Lasse Collin <lasse.collin@tukaani.org>
10102 Date:   2009-01-26 14:33:28 +0200
10103
10104     Add more sanity checks to lzma_stream_buffer_decode().
10105
10106  src/liblzma/common/stream_buffer_decoder.c | 7 +++++++
10107  1 file changed, 7 insertions(+)
10108
10109 commit c129748675a5daa8838df92bde32cc04f6ce61ba
10110 Author: Lasse Collin <lasse.collin@tukaani.org>
10111 Date:   2009-01-26 14:33:13 +0200
10112
10113     Avoid hardcoded constant in easy.c.
10114
10115  src/liblzma/common/easy.c | 2 +-
10116  1 file changed, 1 insertion(+), 1 deletion(-)
10117
10118 commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6
10119 Author: Lasse Collin <lasse.collin@tukaani.org>
10120 Date:   2009-01-26 13:06:49 +0200
10121
10122     Tiny bit better sanity check in block_util.c
10123
10124  src/liblzma/common/block_util.c | 2 +-
10125  1 file changed, 1 insertion(+), 1 deletion(-)
10126
10127 commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7
10128 Author: Lasse Collin <lasse.collin@tukaani.org>
10129 Date:   2009-01-25 01:35:56 +0200
10130
10131     Fix a dumb bug in Block decoder, which made it return
10132     LZMA_DATA_ERROR with valid data. The bug was added in
10133     e114502b2bc371e4a45449832cb69be036360722.
10134
10135  src/liblzma/common/block_decoder.c | 6 +++---
10136  1 file changed, 3 insertions(+), 3 deletions(-)
10137
10138 commit c81f13ff29271de7293f8af3d81848b1dcae3d19
10139 Author: Lasse Collin <lasse.collin@tukaani.org>
10140 Date:   2009-01-23 22:27:50 +0200
10141
10142     Added lzma_stream_buffer_decode() and made minor cleanups.
10143
10144  src/liblzma/api/lzma/block.h               |  3 +-
10145  src/liblzma/api/lzma/container.h           | 51 ++++++++++++++++-
10146  src/liblzma/common/Makefile.am             |  1 +
10147  src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++++
10148  4 files changed, 144 insertions(+), 2 deletions(-)
10149
10150 commit 0b3318661ce749550b8531dfd469639a08930391
10151 Author: Lasse Collin <lasse.collin@tukaani.org>
10152 Date:   2009-01-22 12:53:33 +0200
10153
10154     Fix a comment.
10155
10156  src/liblzma/common/common.h | 2 +-
10157  1 file changed, 1 insertion(+), 1 deletion(-)
10158
10159 commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec
10160 Author: Lasse Collin <lasse.collin@tukaani.org>
10161 Date:   2009-01-20 16:37:27 +0200
10162
10163     Add some single-call buffer-to-buffer coding functions.
10164
10165  src/liblzma/api/lzma/block.h               |  57 ++++++
10166  src/liblzma/api/lzma/container.h           |  56 ++++++
10167  src/liblzma/api/lzma/index.h               |  70 ++++++-
10168  src/liblzma/common/Makefile.am             |   2 +
10169  src/liblzma/common/block_buffer_encoder.c  | 305 +++++++++++++++++++++++++++++
10170  src/liblzma/common/index_decoder.c         |  83 ++++++--
10171  src/liblzma/common/index_encoder.c         |  59 +++++-
10172  src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++
10173  tests/test_index.c                         |  24 +++
10174  9 files changed, 768 insertions(+), 26 deletions(-)
10175
10176 commit d8b58d099340f8f4007b24b211ee41a7210c061c
10177 Author: Lasse Collin <lasse.collin@tukaani.org>
10178 Date:   2009-01-20 13:45:41 +0200
10179
10180     Block encoder cleanups
10181
10182  src/liblzma/common/block_encoder.c | 28 +++++++---------------------
10183  src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++
10184  2 files changed, 32 insertions(+), 21 deletions(-)
10185
10186 commit 0c09810cb3635cb575cb54e694d41523e7d0a335
10187 Author: Lasse Collin <lasse.collin@tukaani.org>
10188 Date:   2009-01-20 10:35:15 +0200
10189
10190     Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.
10191
10192  src/liblzma/common/common.c | 24 ++++++++----------------
10193  1 file changed, 8 insertions(+), 16 deletions(-)
10194
10195 commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00
10196 Author: Lasse Collin <lasse.collin@tukaani.org>
10197 Date:   2009-01-19 22:53:18 +0200
10198
10199     Fix handling of non-fatal errors in lzma_code().
10200
10201  src/liblzma/common/common.c | 9 ++++++++-
10202  1 file changed, 8 insertions(+), 1 deletion(-)
10203
10204 commit 4810b6bc25087be872960b9dd1d11ff07735dc88
10205 Author: Lasse Collin <lasse.collin@tukaani.org>
10206 Date:   2009-01-19 14:00:33 +0200
10207
10208     Move some LZMA2 constants to lzma2_encoder.h so that they
10209     can be used outside lzma2_encoder.c.
10210
10211  src/liblzma/lzma/lzma2_encoder.c | 13 -------------
10212  src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++
10213  src/liblzma/lzma/lzma_encoder.c  |  3 ++-
10214  3 files changed, 16 insertions(+), 14 deletions(-)
10215
10216 commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4
10217 Author: Lasse Collin <lasse.collin@tukaani.org>
10218 Date:   2009-01-19 13:52:36 +0200
10219
10220     Remove dead code.
10221
10222  src/liblzma/lzma/lzma_encoder.h | 8 --------
10223  1 file changed, 8 deletions(-)
10224
10225 commit 128586213f77c9bd82b7e9a62927f6d0c3769d85
10226 Author: Lasse Collin <lasse.collin@tukaani.org>
10227 Date:   2009-01-17 14:24:25 +0200
10228
10229     Beta was supposed to be API stable but I had forgot to rename
10230     lzma_memlimit_encoder and lzma_memlimit_decoder to
10231     lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-(
10232     Now it is fixed. Hopefully it doesn't cause too much trouble
10233     to those who already thought API is stable.
10234
10235  src/liblzma/api/lzma/filter.h       | 4 ++--
10236  src/liblzma/common/easy.c           | 4 ++--
10237  src/liblzma/common/filter_common.c  | 2 +-
10238  src/liblzma/common/filter_common.h  | 2 +-
10239  src/liblzma/common/filter_decoder.c | 4 ++--
10240  src/liblzma/common/filter_encoder.c | 4 ++--
10241  src/liblzma/common/stream_decoder.c | 2 +-
10242  src/xz/process.c                    | 6 +++---
10243  8 files changed, 14 insertions(+), 14 deletions(-)
10244
10245 commit b056379490be5c584c264a967f0540041a163a1e
10246 Author: Lasse Collin <lasse.collin@tukaani.org>
10247 Date:   2009-01-15 14:29:22 +0200
10248
10249     Updated THANKS.
10250
10251  THANKS | 1 +
10252  1 file changed, 1 insertion(+)
10253
10254 commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89
10255 Author: Lasse Collin <lasse.collin@tukaani.org>
10256 Date:   2009-01-15 14:27:32 +0200
10257
10258     Fixed a bug in 7z2lzma.bash to make it work with .7z files
10259     that use something else than 2^n as the dictionary size.
10260     Thanks to Dan Shechter for the bug report.
10261
10262  extra/7z2lzma/7z2lzma.bash | 47 +++++++++++++++++++++++-----------------------
10263  1 file changed, 24 insertions(+), 23 deletions(-)
10264
10265 commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2
10266 Author: Lasse Collin <lasse.collin@tukaani.org>
10267 Date:   2009-01-07 18:41:15 +0200
10268
10269     Use pthread_sigmask() instead of sigprocmask() when pthreads
10270     are enabled.
10271
10272  src/common/mythread.h | 6 ++++++
10273  src/xz/main.c         | 4 ++--
10274  src/xz/private.h      | 1 +
10275  3 files changed, 9 insertions(+), 2 deletions(-)
10276
10277 commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9
10278 Author: Lasse Collin <lasse.collin@tukaani.org>
10279 Date:   2008-12-31 20:01:00 +0200
10280
10281     Bumped version to 4.999.8beta right after the release
10282     of 4.999.7beta.
10283
10284  configure.ac                   | 2 +-
10285  src/liblzma/api/lzma/version.h | 2 +-
10286  2 files changed, 2 insertions(+), 2 deletions(-)
10287
10288 commit 061748f5932719643cda73383db715167d543c22
10289 Author: Lasse Collin <lasse.collin@tukaani.org>
10290 Date:   2008-12-31 18:59:02 +0200
10291
10292     Disable Subblock filter from test_compress.sh since it is
10293     disabled by default in configure.ac.
10294
10295  tests/test_compress.sh | 22 +++++++++++++---------
10296  1 file changed, 13 insertions(+), 9 deletions(-)
10297
10298 commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78
10299 Author: Lasse Collin <lasse.collin@tukaani.org>
10300 Date:   2008-12-31 17:44:20 +0200
10301
10302     Disable both Subblock encoder and decoder my default,
10303     since they are not finished and may have security issues too.
10304
10305  configure.ac | 2 +-
10306  1 file changed, 1 insertion(+), 1 deletion(-)
10307
10308 commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88
10309 Author: Lasse Collin <lasse.collin@tukaani.org>
10310 Date:   2008-12-31 17:42:50 +0200
10311
10312     Update some files in debug directory.
10313
10314  debug/full_flush.c | 2 --
10315  debug/memusage.c   | 2 --
10316  debug/sync_flush.c | 2 --
10317  3 files changed, 6 deletions(-)
10318
10319 commit d1d17a40d33a9682424ca37282813492f2cba6d0
10320 Author: Lasse Collin <lasse.collin@tukaani.org>
10321 Date:   2008-12-31 17:41:46 +0200
10322
10323     Prepare for 4.999.7beta release.
10324
10325  AUTHORS                        |  4 ++--
10326  README                         | 34 +++++++++++++++++-----------------
10327  configure.ac                   |  4 ++--
10328  src/liblzma/api/lzma/version.h |  2 +-
10329  4 files changed, 22 insertions(+), 22 deletions(-)
10330
10331 commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3
10332 Author: Lasse Collin <lasse.collin@tukaani.org>
10333 Date:   2008-12-31 17:15:03 +0200
10334
10335     Cleaned up some comments in the API headers.
10336
10337  src/liblzma/api/lzma/check.h     | 23 +++++++++++------------
10338  src/liblzma/api/lzma/container.h |  2 +-
10339  src/liblzma/api/lzma/version.h   |  4 +++-
10340  3 files changed, 15 insertions(+), 14 deletions(-)
10341
10342 commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40
10343 Author: Lasse Collin <lasse.collin@tukaani.org>
10344 Date:   2008-12-31 16:29:39 +0200
10345
10346     Renamed lzma_options_simple to lzma_options_bcj in the API.
10347     The internal implementation is still using the name "simple".
10348     It may need some cleanups, so I look at it later.
10349
10350  src/liblzma/api/Makefile.am         |  2 +-
10351  src/liblzma/api/lzma.h              |  2 +-
10352  src/liblzma/api/lzma/bcj.h          | 94 +++++++++++++++++++++++++++++++++++++
10353  src/liblzma/api/lzma/simple.h       | 94 -------------------------------------
10354  src/liblzma/simple/simple_coder.c   |  2 +-
10355  src/liblzma/simple/simple_decoder.c |  4 +-
10356  src/liblzma/simple/simple_encoder.c |  4 +-
10357  tests/test_filter_flags.c           |  8 ++--
10358  8 files changed, 105 insertions(+), 105 deletions(-)
10359
10360 commit 7eea8bec3abfed883efba66264a1452a1c04f6b0
10361 Author: Lasse Collin <lasse.collin@tukaani.org>
10362 Date:   2008-12-31 00:57:27 +0200
10363
10364     Fixed missing quoting in configure.ac.
10365
10366  configure.ac | 38 +++++++++++++++++++-------------------
10367  1 file changed, 19 insertions(+), 19 deletions(-)
10368
10369 commit 28e75f7086dbe9501d926c370375c69dfb1236ce
10370 Author: Lasse Collin <lasse.collin@tukaani.org>
10371 Date:   2008-12-31 00:48:23 +0200
10372
10373     Updated src/liblzma/Makefile.am to use liblzma.pc.in, which
10374     should have been in the previous commit.
10375
10376  src/liblzma/Makefile.am | 4 ++--
10377  1 file changed, 2 insertions(+), 2 deletions(-)
10378
10379 commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90
10380 Author: Lasse Collin <lasse.collin@tukaani.org>
10381 Date:   2008-12-31 00:30:49 +0200
10382
10383     Remove lzma_init() and other init functions from liblzma API.
10384     Half of developers were already forgetting to use these
10385     functions, which could have caused total breakage in some future
10386     liblzma version or even now if --enable-small was used. Now
10387     liblzma uses pthread_once() to do the initializations unless
10388     it has been built with --disable-threads which make these
10389     initializations thread-unsafe.
10390     
10391     When --enable-small isn't used, liblzma currently gets needlessly
10392     linked against libpthread (on systems that have it). While it is
10393     stupid for now, liblzma will need threads in future anyway, so
10394     this stupidity will be temporary only.
10395     
10396     When --enable-small is used, different code CRC32 and CRC64 is
10397     now used than without --enable-small. This made the resulting
10398     binary slightly smaller, but the main reason was to clean it up
10399     and to handle the lack of lzma_init_check().
10400     
10401     The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not
10402     sure if it works correctly and portably for static linking
10403     (Libs.private includes -pthread or other operating system
10404     specific flags). Hopefully someone complains if it is bad.
10405     
10406     lzma_rc_prices[] is now included as a precomputed array even
10407     with --enable-small. It's just 128 bytes now that it uses uint8_t
10408     instead of uint32_t. Smaller array seemed to be at least as fast
10409     as the more bloated uint32_t array on x86; hopefully it's not bad
10410     on other architectures.
10411
10412  configure.ac                              | 29 ++++++++--
10413  src/common/mythread.h                     | 34 ++++++++++++
10414  src/liblzma/api/Makefile.am               |  1 -
10415  src/liblzma/api/lzma.h                    |  1 -
10416  src/liblzma/api/lzma/init.h               | 85 -----------------------------
10417  src/liblzma/check/Makefile.am             | 29 ++++------
10418  src/liblzma/check/check.c                 | 10 ++--
10419  src/liblzma/check/check.h                 | 25 ++++-----
10420  src/liblzma/check/check_init.c            | 37 -------------
10421  src/liblzma/check/crc32.c                 | 88 -------------------------------
10422  src/liblzma/check/crc32_fast.c            | 88 +++++++++++++++++++++++++++++++
10423  src/liblzma/check/crc32_init.c            | 55 -------------------
10424  src/liblzma/check/crc32_small.c           | 54 +++++++++++++++++++
10425  src/liblzma/check/crc32_tablegen.c        | 55 ++++++++++++++++---
10426  src/liblzma/check/crc64.c                 | 75 --------------------------
10427  src/liblzma/check/crc64_fast.c            | 75 ++++++++++++++++++++++++++
10428  src/liblzma/check/crc64_small.c           | 54 +++++++++++++++++++
10429  src/liblzma/check/crc64_tablegen.c        | 55 ++++++++++++++++---
10430  src/liblzma/common/Makefile.am            |  3 --
10431  src/liblzma/common/common.h               |  1 +
10432  src/liblzma/common/init.c                 | 39 --------------
10433  src/liblzma/common/init_decoder.c         | 31 -----------
10434  src/liblzma/common/init_encoder.c         | 40 --------------
10435  src/liblzma/liblzma.pc.in                 | 12 +++++
10436  src/liblzma/lz/lz_encoder.c               |  6 +++
10437  src/liblzma/lzma.pc.in                    | 11 ----
10438  src/liblzma/rangecoder/Makefile.am        |  8 +--
10439  src/liblzma/rangecoder/price.h            | 16 +-----
10440  src/liblzma/rangecoder/price_table.c      |  2 +-
10441  src/liblzma/rangecoder/price_table_init.c | 55 -------------------
10442  src/liblzma/rangecoder/price_tablegen.c   | 51 +++++++++++++++---
10443  src/xz/Makefile.am                        |  5 +-
10444  src/xz/main.c                             |  3 --
10445  src/xzdec/xzdec.c                         |  3 --
10446  tests/test_block_header.c                 |  1 -
10447  tests/test_check.c                        |  2 -
10448  tests/test_filter_flags.c                 |  2 -
10449  tests/test_index.c                        |  2 -
10450  tests/test_stream_flags.c                 |  2 -
10451  tests/tests.h                             |  2 +-
10452  40 files changed, 519 insertions(+), 628 deletions(-)
10453
10454 commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2
10455 Author: Lasse Collin <lasse.collin@tukaani.org>
10456 Date:   2008-12-27 19:40:31 +0200
10457
10458     Use 28 MiB as memory usage limit for encoding in test_compress.sh.
10459
10460  tests/test_compress.sh | 2 +-
10461  1 file changed, 1 insertion(+), 1 deletion(-)
10462
10463 commit 050eb14d29e2537c014662e83599fd8a77f13c45
10464 Author: Lasse Collin <lasse.collin@tukaani.org>
10465 Date:   2008-12-27 19:32:20 +0200
10466
10467     Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680
10468     that was related to LZMA_MODE_FAST. The original code is slightly
10469     faster although it compresses slightly worse. But since it is fast
10470     mode, it is better to select the faster version.
10471
10472  src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++---------------
10473  1 file changed, 8 insertions(+), 15 deletions(-)
10474
10475 commit 4820f10d0f173864f6a2ea7479663b509ac53358
10476 Author: Lasse Collin <lasse.collin@tukaani.org>
10477 Date:   2008-12-27 19:30:19 +0200
10478
10479     Some xz command line tool improvements.
10480
10481  src/xz/args.c    |  23 +++++-----
10482  src/xz/message.c |   4 +-
10483  src/xz/options.c |   2 +-
10484  src/xz/process.c | 133 +++++++++++++++++++++++++++++++++++++++++++------------
10485  src/xz/process.h |   3 ++
10486  5 files changed, 121 insertions(+), 44 deletions(-)
10487
10488 commit e33194e79d8f5ce07cb4aca909b324ae75098f7e
10489 Author: Lasse Collin <lasse.collin@tukaani.org>
10490 Date:   2008-12-27 19:27:49 +0200
10491
10492     Bunch of liblzma tweaks, including some API changes.
10493     The API and ABI should now be very close to stable,
10494     although the code behind it isn't yet.
10495
10496  src/liblzma/api/lzma.h                    |  8 ++--
10497  src/liblzma/api/lzma/block.h              | 63 ++++++++++++++++++++++++-
10498  src/liblzma/api/lzma/container.h          | 76 +++++++++++++++----------------
10499  src/liblzma/api/lzma/lzma.h               | 41 +++++++++--------
10500  src/liblzma/common/alone_decoder.c        | 36 +++++++--------
10501  src/liblzma/common/alone_encoder.c        | 22 ++++-----
10502  src/liblzma/common/auto_decoder.c         |  2 +-
10503  src/liblzma/common/block_decoder.c        | 54 +++++++++++-----------
10504  src/liblzma/common/block_decoder.h        |  4 +-
10505  src/liblzma/common/block_encoder.c        | 37 ++++++++-------
10506  src/liblzma/common/block_encoder.h        |  4 +-
10507  src/liblzma/common/block_header_decoder.c | 41 +++++++++--------
10508  src/liblzma/common/block_header_encoder.c | 51 ++++++++++-----------
10509  src/liblzma/common/block_util.c           |  3 +-
10510  src/liblzma/common/easy.c                 | 45 ++++++------------
10511  src/liblzma/common/stream_decoder.c       |  3 +-
10512  src/liblzma/common/stream_decoder.h       |  2 +-
10513  src/liblzma/common/stream_encoder.c       |  3 +-
10514  src/liblzma/common/stream_encoder.h       |  2 +-
10515  src/liblzma/common/stream_flags_decoder.c |  2 +-
10516  src/liblzma/common/stream_flags_encoder.c |  2 +-
10517  src/liblzma/lzma/lzma_encoder.c           |  2 +-
10518  src/liblzma/lzma/lzma_encoder_presets.c   | 53 +++++++--------------
10519  23 files changed, 294 insertions(+), 262 deletions(-)
10520
10521 commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074
10522 Author: Lasse Collin <lasse.collin@tukaani.org>
10523 Date:   2008-12-18 13:42:52 +0200
10524
10525     Updated Makefile.am that was missing from the previous commit.
10526
10527  src/liblzma/common/Makefile.am | 1 -
10528  1 file changed, 1 deletion(-)
10529
10530 commit 634636fa56ccee6e744f78b0abed76c8940f2f8f
10531 Author: Lasse Collin <lasse.collin@tukaani.org>
10532 Date:   2008-12-17 21:49:53 +0200
10533
10534     Remove the alignment functions for now. Maybe they will
10535     be added back in some form later, but the current version
10536     wasn't modular, so it would need fixing anyway.
10537
10538  src/liblzma/api/Makefile.am      |   1 -
10539  src/liblzma/api/lzma.h           |   1 -
10540  src/liblzma/api/lzma/alignment.h |  60 ---------------------
10541  src/liblzma/common/alignment.c   | 114 ---------------------------------------
10542  4 files changed, 176 deletions(-)
10543
10544 commit 4fed98417d1687f5eccccb42a133fde3ec81216a
10545 Author: Lasse Collin <lasse.collin@tukaani.org>
10546 Date:   2008-12-17 20:11:23 +0200
10547
10548     xz message handling improvements
10549
10550  src/xz/message.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
10551  src/xz/message.h |   7 +++-
10552  src/xz/process.c |  28 ++++++++++++-
10553  3 files changed, 146 insertions(+), 14 deletions(-)
10554
10555 commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d
10556 Author: Lasse Collin <lasse.collin@tukaani.org>
10557 Date:   2008-12-15 23:26:43 +0200
10558
10559     Fix a dumb bug in .lzma decoder which was introduced in
10560     the previous commit. (Probably the previous commit has
10561     other bugs too, it wasn't tested.)
10562
10563  src/liblzma/common/alone_decoder.c | 29 ++++++++++++++---------------
10564  1 file changed, 14 insertions(+), 15 deletions(-)
10565
10566 commit 671a5adf1e844bfdd6fd327016c3c28694493158
10567 Author: Lasse Collin <lasse.collin@tukaani.org>
10568 Date:   2008-12-15 19:39:13 +0200
10569
10570     Bunch of liblzma API cleanups and fixes.
10571
10572  src/liblzma/api/lzma.h              | 122 +++++++++++----------
10573  src/liblzma/api/lzma/base.h         | 174 ++++++++++++++++++-----------
10574  src/liblzma/api/lzma/block.h        | 211 +++++++++++++++++++++++-------------
10575  src/liblzma/api/lzma/check.h        |  28 ++---
10576  src/liblzma/api/lzma/container.h    | 155 +++++++++++++-------------
10577  src/liblzma/api/lzma/delta.h        |  12 +-
10578  src/liblzma/api/lzma/filter.h       |  27 +++--
10579  src/liblzma/api/lzma/index.h        |  97 ++++++++++++++---
10580  src/liblzma/api/lzma/index_hash.h   |  26 +++--
10581  src/liblzma/api/lzma/init.h         |   2 +-
10582  src/liblzma/api/lzma/lzma.h         |  12 +-
10583  src/liblzma/api/lzma/simple.h       |   4 +-
10584  src/liblzma/api/lzma/stream_flags.h |  46 +++++---
10585  src/liblzma/api/lzma/version.h      |   6 +-
10586  src/liblzma/api/lzma/vli.h          |  17 ++-
10587  src/liblzma/common/alone_decoder.c  |  47 +++++---
10588  src/liblzma/common/auto_decoder.c   |  29 +++++
10589  src/liblzma/common/block_util.c     |  52 +++++----
10590  src/liblzma/common/common.c         |  58 ++++++++++
10591  src/liblzma/common/common.h         |   9 +-
10592  src/liblzma/common/easy.c           |  33 ++++--
10593  src/liblzma/common/filter_common.c  |   2 +-
10594  src/liblzma/common/index.c          |  11 ++
10595  src/liblzma/common/index_decoder.c  |  46 ++++++--
10596  src/liblzma/common/stream_decoder.c |  47 ++++++--
10597  src/liblzma/lzma/lzma2_encoder.c    |   6 +-
10598  tests/test_index.c                  |  10 +-
10599  27 files changed, 863 insertions(+), 426 deletions(-)
10600
10601 commit 17781c2c20fd77029cb32e77792889f2f211d69d
10602 Author: Lasse Collin <lasse.collin@tukaani.org>
10603 Date:   2008-12-15 14:26:52 +0200
10604
10605     The LZMA2 decoder fix introduced a bug to LZ decoder,
10606     which made LZ decoder return too early after dictionary
10607     reset. This fixes it.
10608
10609  src/liblzma/lz/lz_decoder.c | 33 +++++++++++++++++++++++----------
10610  1 file changed, 23 insertions(+), 10 deletions(-)
10611
10612 commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8
10613 Author: Lasse Collin <lasse.collin@tukaani.org>
10614 Date:   2008-12-15 11:20:22 +0200
10615
10616     Added two new test files.
10617
10618  tests/files/README            |   7 +++++++
10619  tests/files/bad-1-lzma2-8.xz  | Bin 0 -> 464 bytes
10620  tests/files/good-1-lzma2-4.xz | Bin 0 -> 464 bytes
10621  3 files changed, 7 insertions(+)
10622
10623 commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf
10624 Author: Lasse Collin <lasse.collin@tukaani.org>
10625 Date:   2008-12-15 10:01:59 +0200
10626
10627     Fix data corruption in LZMA2 decoder.
10628
10629  src/liblzma/lz/lz_decoder.c      | 17 ++++++++++++++++-
10630  src/liblzma/lz/lz_decoder.h      |  8 +++++---
10631  src/liblzma/lzma/lzma2_decoder.c | 15 +++++++++++----
10632  3 files changed, 32 insertions(+), 8 deletions(-)
10633
10634 commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613
10635 Author: Lasse Collin <lasse.collin@tukaani.org>
10636 Date:   2008-12-13 00:54:11 +0200
10637
10638     Name the package "xz" in configure.ac.
10639
10640  configure.ac | 11 ++++-------
10641  1 file changed, 4 insertions(+), 7 deletions(-)
10642
10643 commit a94bf00d0af9b423851905b031be5a645a657820
10644 Author: Lasse Collin <lasse.collin@tukaani.org>
10645 Date:   2008-12-12 22:43:21 +0200
10646
10647     Some adjustments to GCC warning flags. The important change
10648     is the removal of -pedantic. It messes up -Werror (which I
10649     really want to keep so that I don't miss any warnings) with
10650     printf format strings that are in POSIX but not in C99.
10651
10652  configure.ac | 8 +++++---
10653  1 file changed, 5 insertions(+), 3 deletions(-)
10654
10655 commit 8582d392baacd2cdac07ca60041f8c661323676d
10656 Author: Lasse Collin <lasse.collin@tukaani.org>
10657 Date:   2008-12-10 01:31:00 +0200
10658
10659     Remove obsolete comment.
10660
10661  src/xz/message.c | 1 -
10662  1 file changed, 1 deletion(-)
10663
10664 commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1
10665 Author: Lasse Collin <lasse.collin@tukaani.org>
10666 Date:   2008-12-10 01:27:15 +0200
10667
10668     Use "decompression" consistently in --long-help.
10669
10670  src/xz/message.c | 2 +-
10671  1 file changed, 1 insertion(+), 1 deletion(-)
10672
10673 commit 1ea9e7f15afd5d3981e2432710e932320597bca9
10674 Author: Lasse Collin <lasse.collin@tukaani.org>
10675 Date:   2008-12-10 01:23:58 +0200
10676
10677     Added preset=NUM to --lzma1 and --lzma2. This makes it easy
10678     to take a preset as a template and modify it a little.
10679
10680  src/xz/message.c | 1 +
10681  src/xz/options.c | 8 ++++++++
10682  2 files changed, 9 insertions(+)
10683
10684 commit bceb3918dbb21f34976bfdd4c171a81319de71f7
10685 Author: Lasse Collin <lasse.collin@tukaani.org>
10686 Date:   2008-12-09 17:43:31 +0200
10687
10688     Put the file format specification into the public domain.
10689     Same will be done to the actual code later.
10690
10691  doc/file-format.txt | 24 +++++++++---------------
10692  1 file changed, 9 insertions(+), 15 deletions(-)
10693
10694 commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6
10695 Author: Lasse Collin <lasse.collin@tukaani.org>
10696 Date:   2008-12-09 17:41:49 +0200
10697
10698     Make the memusage functions of LZMA1 and LZMA2 encoders
10699     to validate the filter options. Add missing validation
10700     to LZMA2 encoder when options are changed in the middle
10701     of encoding.
10702
10703  src/liblzma/lzma/lzma2_encoder.c |  5 ++++-
10704  src/liblzma/lzma/lzma_encoder.c  | 44 +++++++++++++++++++++++++++-------------
10705  src/liblzma/lzma/lzma_encoder.h  |  2 +-
10706  3 files changed, 35 insertions(+), 16 deletions(-)
10707
10708 commit f20a03206b71ff01b827bb7a932411d6a6a4e06a
10709 Author: Lasse Collin <lasse.collin@tukaani.org>
10710 Date:   2008-12-09 10:36:24 +0200
10711
10712     Updated THANKS.
10713
10714  THANKS | 1 +
10715  1 file changed, 1 insertion(+)
10716
10717 commit ef7890d56453dca1aeb2e12db29b7e418d93dde4
10718 Author: Lasse Collin <lasse.collin@tukaani.org>
10719 Date:   2008-12-01 23:04:12 +0200
10720
10721     In command line tool, take advantage of memusage calculation's
10722     ability to also validate the filter chain and options (not
10723     implemented yet for all filters).
10724
10725  src/xz/process.c | 8 ++++----
10726  1 file changed, 4 insertions(+), 4 deletions(-)
10727
10728 commit ccd57afa09e332d664d6d6a7498702791ea5f659
10729 Author: Lasse Collin <lasse.collin@tukaani.org>
10730 Date:   2008-12-01 22:59:28 +0200
10731
10732     Validate the filter chain before checking filter-specific
10733     memory usage.
10734
10735  src/liblzma/common/filter_common.c | 14 ++++++++++----
10736  1 file changed, 10 insertions(+), 4 deletions(-)
10737
10738 commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15
10739 Author: Lasse Collin <lasse.collin@tukaani.org>
10740 Date:   2008-12-01 22:58:22 +0200
10741
10742     Make the memusage functions of LZMA1 and LZMA2 decoders
10743     to validate the filter options.
10744
10745  src/liblzma/lzma/lzma2_decoder.c |  7 ++-----
10746  src/liblzma/lzma/lzma_decoder.c  | 14 ++++++++++----
10747  src/liblzma/lzma/lzma_decoder.h  |  5 +++++
10748  3 files changed, 17 insertions(+), 9 deletions(-)
10749
10750 commit c58f469be5bb9b0bdab825c6687445fd553f4f3a
10751 Author: Lasse Collin <lasse.collin@tukaani.org>
10752 Date:   2008-12-01 22:55:18 +0200
10753
10754     Added the changes for Delta filter that should have been
10755     part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.
10756
10757  src/liblzma/common/filter_decoder.c | 2 +-
10758  src/liblzma/common/filter_encoder.c | 2 +-
10759  2 files changed, 2 insertions(+), 2 deletions(-)
10760
10761 commit cd708015202dbf7585b84a8781462a20c42a324b
10762 Author: Lasse Collin <lasse.collin@tukaani.org>
10763 Date:   2008-12-01 22:50:28 +0200
10764
10765     LZMA2 decoder cleanups. Make it require new LZMA properties
10766     also in the first LZMA chunk after a dictionary reset in
10767     uncompressed chunk.
10768
10769  src/liblzma/lzma/lzma2_decoder.c | 95 +++++++++++++++++-----------------------
10770  1 file changed, 41 insertions(+), 54 deletions(-)
10771
10772 commit 656ec87882ee74b192c4ea4a233a235eca7b04d4
10773 Author: Lasse Collin <lasse.collin@tukaani.org>
10774 Date:   2008-12-01 16:30:11 +0200
10775
10776     Added lzma_delta_coder_memusage() which also validates
10777     the options.
10778
10779  src/liblzma/delta/Makefile.am     |  3 ++-
10780  src/liblzma/delta/delta_common.c  | 28 ++++++++++++++++++-------
10781  src/liblzma/delta/delta_common.h  | 19 +----------------
10782  src/liblzma/delta/delta_decoder.c |  2 +-
10783  src/liblzma/delta/delta_decoder.h |  2 +-
10784  src/liblzma/delta/delta_encoder.c | 14 ++++---------
10785  src/liblzma/delta/delta_encoder.h |  2 +-
10786  src/liblzma/delta/delta_private.h | 44 +++++++++++++++++++++++++++++++++++++++
10787  8 files changed, 75 insertions(+), 39 deletions(-)
10788
10789 commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a
10790 Author: Lasse Collin <lasse.collin@tukaani.org>
10791 Date:   2008-11-29 10:03:49 +0200
10792
10793     Automake includes the m4 directory, so don't add it in
10794     Makefile.am separately.
10795     
10796     Updated THANKS.
10797
10798  Makefile.am | 1 -
10799  THANKS      | 1 +
10800  2 files changed, 1 insertion(+), 1 deletion(-)
10801
10802 commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0
10803 Author: Lasse Collin <lasse.collin@tukaani.org>
10804 Date:   2008-11-28 12:00:48 +0200
10805
10806     Tested using COLUMNS environment variable to avoid broken
10807     progress indicator but since COLUMNS isn't usually available,
10808     the code was left commented out.
10809
10810  src/xz/message.c | 14 +++++++++-----
10811  1 file changed, 9 insertions(+), 5 deletions(-)
10812
10813 commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd
10814 Author: Lasse Collin <lasse.collin@tukaani.org>
10815 Date:   2008-11-27 19:28:59 +0200
10816
10817     Cleanups to message.c.
10818
10819  src/xz/message.c | 47 ++++++++++++++++++-----------------------------
10820  1 file changed, 18 insertions(+), 29 deletions(-)
10821
10822 commit a8368b75cdcd5427299001cc42839287f27b244d
10823 Author: Lasse Collin <lasse.collin@tukaani.org>
10824 Date:   2008-11-25 02:37:47 +0200
10825
10826     Remove the nowadays unneeded memory limitting malloc() wrapper.
10827
10828  src/liblzma/api/Makefile.am         |   1 -
10829  src/liblzma/api/lzma.h              |   1 -
10830  src/liblzma/api/lzma/memlimit.h     | 207 --------------------------
10831  src/liblzma/common/Makefile.am      |   1 -
10832  src/liblzma/common/memory_limiter.c | 288 ------------------------------------
10833  tests/Makefile.am                   |   2 -
10834  tests/test_memlimit.c               | 114 --------------
10835  7 files changed, 614 deletions(-)
10836
10837 commit 69472ee5f055a2bb6f28106f0923e1461fd1d080
10838 Author: Lasse Collin <lasse.collin@tukaani.org>
10839 Date:   2008-11-23 15:09:03 +0200
10840
10841     VLI encoder and decoder cleanups. Made encoder return
10842     LZMA_PROG_ERROR in single-call mode if there's no output
10843     space.
10844
10845  src/liblzma/common/vli_decoder.c | 15 +++++++++------
10846  src/liblzma/common/vli_encoder.c | 31 ++++++++++++++++++++++++-------
10847  2 files changed, 33 insertions(+), 13 deletions(-)
10848
10849 commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650
10850 Author: Lasse Collin <lasse.collin@tukaani.org>
10851 Date:   2008-11-22 17:44:33 +0200
10852
10853     Typo fix
10854
10855  src/xz/process.c | 2 +-
10856  1 file changed, 1 insertion(+), 1 deletion(-)
10857
10858 commit 6d1d6f4598d121253dbe1084c6866b66e95c361b
10859 Author: Lasse Collin <lasse.collin@tukaani.org>
10860 Date:   2008-11-20 22:59:10 +0200
10861
10862     Support NetBSD's errno for O_NOFOLLOW.
10863
10864  src/xz/io.c | 8 ++++++++
10865  1 file changed, 8 insertions(+)
10866
10867 commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7
10868 Author: Lasse Collin <lasse.collin@tukaani.org>
10869 Date:   2008-11-20 18:05:52 +0200
10870
10871     Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz
10872     files and lzmadec only .lzma files.
10873
10874  src/xzdec/Makefile.am |   7 +-
10875  src/xzdec/xzdec.c     | 311 ++++++++++++++++++++++----------------------------
10876  2 files changed, 140 insertions(+), 178 deletions(-)
10877
10878 commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c
10879 Author: Lasse Collin <lasse.collin@tukaani.org>
10880 Date:   2008-11-20 11:01:29 +0200
10881
10882     Minor cleanups to xzdec.
10883
10884  src/xzdec/xzdec.c | 20 ++++++++++----------
10885  1 file changed, 10 insertions(+), 10 deletions(-)
10886
10887 commit 54f716ba8905d09752dcd1519455a40bd21d5317
10888 Author: Lasse Collin <lasse.collin@tukaani.org>
10889 Date:   2008-11-19 23:55:22 +0200
10890
10891     Added missing check for uint16_t.
10892
10893  configure.ac | 1 +
10894  1 file changed, 1 insertion(+)
10895
10896 commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06
10897 Author: Lasse Collin <lasse.collin@tukaani.org>
10898 Date:   2008-11-19 23:52:24 +0200
10899
10900     Renamed lzma to xz and lzmadec to xzdec. We create symlinks
10901     lzma, unlzma, and lzcat in "make install" for backwards
10902     compatibility with LZMA Utils 4.32.x; I'm not sure if this
10903     should be the default though.
10904
10905  configure.ac            |   4 +-
10906  po/POTFILES.in          |  21 +-
10907  src/Makefile.am         |   2 +-
10908  src/lzma/Makefile.am    |  72 ----
10909  src/lzma/args.c         | 500 ---------------------------
10910  src/lzma/args.h         |  56 ---
10911  src/lzma/hardware.c     | 122 -------
10912  src/lzma/hardware.h     |  45 ---
10913  src/lzma/io.c           | 658 -----------------------------------
10914  src/lzma/io.h           |  97 ------
10915  src/lzma/list.c         | 477 --------------------------
10916  src/lzma/main.c         | 402 ----------------------
10917  src/lzma/main.h         |  60 ----
10918  src/lzma/message.c      | 892 ------------------------------------------------
10919  src/lzma/message.h      | 132 -------
10920  src/lzma/options.c      | 352 -------------------
10921  src/lzma/options.h      |  46 ---
10922  src/lzma/private.h      |  52 ---
10923  src/lzma/process.c      | 391 ---------------------
10924  src/lzma/process.h      |  70 ----
10925  src/lzma/suffix.c       | 213 ------------
10926  src/lzma/suffix.h       |  40 ---
10927  src/lzma/util.c         | 199 -----------
10928  src/lzma/util.h         |  71 ----
10929  src/lzmadec/Makefile.am |  29 --
10930  src/lzmadec/lzmadec.c   | 492 --------------------------
10931  src/xz/Makefile.am      |  74 ++++
10932  src/xz/args.c           | 500 +++++++++++++++++++++++++++
10933  src/xz/args.h           |  56 +++
10934  src/xz/hardware.c       | 122 +++++++
10935  src/xz/hardware.h       |  45 +++
10936  src/xz/io.c             | 658 +++++++++++++++++++++++++++++++++++
10937  src/xz/io.h             |  97 ++++++
10938  src/xz/list.c           | 477 ++++++++++++++++++++++++++
10939  src/xz/main.c           | 402 ++++++++++++++++++++++
10940  src/xz/main.h           |  60 ++++
10941  src/xz/message.c        | 892 ++++++++++++++++++++++++++++++++++++++++++++++++
10942  src/xz/message.h        | 132 +++++++
10943  src/xz/options.c        | 352 +++++++++++++++++++
10944  src/xz/options.h        |  46 +++
10945  src/xz/private.h        |  52 +++
10946  src/xz/process.c        | 391 +++++++++++++++++++++
10947  src/xz/process.h        |  70 ++++
10948  src/xz/suffix.c         | 213 ++++++++++++
10949  src/xz/suffix.h         |  40 +++
10950  src/xz/util.c           | 199 +++++++++++
10951  src/xz/util.h           |  71 ++++
10952  src/xzdec/Makefile.am   |  29 ++
10953  src/xzdec/xzdec.c       | 492 ++++++++++++++++++++++++++
10954  tests/test_compress.sh  |  29 +-
10955  tests/test_files.sh     |   4 +-
10956  51 files changed, 5498 insertions(+), 5500 deletions(-)
10957
10958 commit e114502b2bc371e4a45449832cb69be036360722
10959 Author: Lasse Collin <lasse.collin@tukaani.org>
10960 Date:   2008-11-19 20:46:52 +0200
10961
10962     Oh well, big messy commit again. Some highlights:
10963       - Updated to the latest, probably final file format version.
10964       - Command line tool reworked to not use threads anymore.
10965         Threading will probably go into liblzma anyway.
10966       - Memory usage limit is now about 30 % for uncompression
10967         and about 90 % for compression.
10968       - Progress indicator with --verbose
10969       - Simplified --help and full --long-help
10970       - Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
10971       - Some bug fixes
10972
10973  THANKS                                       |   1 +
10974  configure.ac                                 |  48 +-
10975  debug/full_flush.c                           |   6 +-
10976  debug/known_sizes.c                          |   2 +-
10977  debug/memusage.c                             |   2 +-
10978  debug/sync_flush.c                           |  10 +-
10979  doc/file-format.txt                          | 260 ++++----
10980  lib/Makefile.am                              |  10 +-
10981  lib/getopt.c                                 |  14 +-
10982  lib/getopt.in.h                              | 226 +++++++
10983  lib/getopt1.c                                |   8 +-
10984  lib/getopt_.h                                | 226 -------
10985  lib/gettext.h                                | 240 -------
10986  m4/getopt.m4                                 |  64 +-
10987  src/common/bswap.h                           |  15 +-
10988  src/common/physmem.h                         |   4 +
10989  src/common/sysdefs.h                         |  12 +-
10990  src/liblzma/api/lzma/block.h                 |  47 +-
10991  src/liblzma/api/lzma/filter.h                |   8 +
10992  src/liblzma/api/lzma/index.h                 |  20 +-
10993  src/liblzma/api/lzma/index_hash.h            |   4 +-
10994  src/liblzma/common/block_decoder.c           |  59 +-
10995  src/liblzma/common/block_encoder.c           |  41 +-
10996  src/liblzma/common/block_header_decoder.c    |  31 +-
10997  src/liblzma/common/block_header_encoder.c    |  69 +--
10998  src/liblzma/common/block_util.c              |  45 +-
10999  src/liblzma/common/common.h                  |   8 -
11000  src/liblzma/common/filter_common.c           |   4 +-
11001  src/liblzma/common/index.c                   | 259 ++++----
11002  src/liblzma/common/index.h                   |  33 +-
11003  src/liblzma/common/index_decoder.c           |  31 +-
11004  src/liblzma/common/index_encoder.c           |  16 +-
11005  src/liblzma/common/index_hash.c              |  68 +-
11006  src/liblzma/common/stream_decoder.c          |   9 +-
11007  src/liblzma/common/stream_encoder.c          |   6 +-
11008  src/liblzma/lz/lz_decoder.h                  |   4 +-
11009  src/liblzma/subblock/subblock_decoder.c      |   3 +-
11010  src/lzma/Makefile.am                         |   9 +-
11011  src/lzma/alloc.c                             | 106 ----
11012  src/lzma/alloc.h                             |  42 --
11013  src/lzma/args.c                              | 531 +++++++---------
11014  src/lzma/args.h                              |  42 +-
11015  src/lzma/error.c                             | 162 -----
11016  src/lzma/error.h                             |  67 --
11017  src/lzma/hardware.c                          |  75 ++-
11018  src/lzma/hardware.h                          |  16 +-
11019  src/lzma/help.c                              | 170 -----
11020  src/lzma/help.h                              |  32 -
11021  src/lzma/io.c                                | 757 +++++++++++------------
11022  src/lzma/io.h                                |  51 +-
11023  src/lzma/main.c                              | 392 ++++++++----
11024  src/lzma/main.h                              |  60 ++
11025  src/lzma/message.c                           | 892 +++++++++++++++++++++++++++
11026  src/lzma/message.h                           | 132 ++++
11027  src/lzma/options.c                           |  42 +-
11028  src/lzma/options.h                           |   6 +-
11029  src/lzma/private.h                           |  28 +-
11030  src/lzma/process.c                           | 525 ++++++++--------
11031  src/lzma/process.h                           |  40 ++
11032  src/lzma/suffix.c                            |  52 +-
11033  src/lzma/suffix.h                            |  17 +-
11034  src/lzma/util.c                              | 100 +--
11035  src/lzma/util.h                              |  43 +-
11036  src/lzmadec/lzmadec.c                        |  36 +-
11037  tests/files/README                           |  12 +-
11038  tests/files/bad-1-block_header-1.xz          | Bin 64 -> 64 bytes
11039  tests/files/bad-1-block_header-2.xz          | Bin 64 -> 64 bytes
11040  tests/files/bad-1-block_header-3.xz          | Bin 68 -> 68 bytes
11041  tests/files/bad-1-block_header-4.xz          | Bin 72 -> 76 bytes
11042  tests/files/bad-1-block_header-5.xz          | Bin 0 -> 72 bytes
11043  tests/files/bad-1-check-crc32.xz             | Bin 68 -> 68 bytes
11044  tests/files/bad-1-check-crc64.xz             | Bin 72 -> 72 bytes
11045  tests/files/bad-1-check-sha256.xz            | Bin 96 -> 96 bytes
11046  tests/files/bad-1-lzma2-1.xz                 | Bin 64 -> 64 bytes
11047  tests/files/bad-1-lzma2-2.xz                 | Bin 424 -> 424 bytes
11048  tests/files/bad-1-lzma2-3.xz                 | Bin 424 -> 424 bytes
11049  tests/files/bad-1-lzma2-4.xz                 | Bin 408 -> 408 bytes
11050  tests/files/bad-1-lzma2-5.xz                 | Bin 408 -> 408 bytes
11051  tests/files/bad-1-lzma2-6.xz                 | Bin 68 -> 68 bytes
11052  tests/files/bad-1-lzma2-7.xz                 | Bin 408 -> 408 bytes
11053  tests/files/bad-1-stream_flags-1.xz          | Bin 68 -> 68 bytes
11054  tests/files/bad-1-stream_flags-2.xz          | Bin 68 -> 68 bytes
11055  tests/files/bad-1-stream_flags-3.xz          | Bin 68 -> 68 bytes
11056  tests/files/bad-1-vli-1.xz                   | Bin 72 -> 72 bytes
11057  tests/files/bad-1-vli-2.xz                   | Bin 72 -> 76 bytes
11058  tests/files/bad-2-compressed_data_padding.xz | Bin 92 -> 92 bytes
11059  tests/files/bad-2-index-1.xz                 | Bin 92 -> 92 bytes
11060  tests/files/bad-2-index-2.xz                 | Bin 92 -> 92 bytes
11061  tests/files/bad-2-index-3.xz                 | Bin 92 -> 92 bytes
11062  tests/files/bad-2-index-4.xz                 | Bin 92 -> 92 bytes
11063  tests/files/bad-2-index-5.xz                 | Bin 0 -> 92 bytes
11064  tests/files/good-1-3delta-lzma2.xz           | Bin 528 -> 528 bytes
11065  tests/files/good-1-block_header-1.xz         | Bin 72 -> 72 bytes
11066  tests/files/good-1-block_header-2.xz         | Bin 68 -> 68 bytes
11067  tests/files/good-1-block_header-3.xz         | Bin 68 -> 68 bytes
11068  tests/files/good-1-check-crc32.xz            | Bin 68 -> 68 bytes
11069  tests/files/good-1-check-crc64.xz            | Bin 72 -> 72 bytes
11070  tests/files/good-1-check-none.xz             | Bin 64 -> 64 bytes
11071  tests/files/good-1-check-sha256.xz           | Bin 96 -> 96 bytes
11072  tests/files/good-1-delta-lzma2.tiff.xz       | Bin 51312 -> 51316 bytes
11073  tests/files/good-1-lzma2-1.xz                | Bin 424 -> 424 bytes
11074  tests/files/good-1-lzma2-2.xz                | Bin 424 -> 424 bytes
11075  tests/files/good-1-lzma2-3.xz                | Bin 408 -> 408 bytes
11076  tests/files/good-1-sparc-lzma2.xz            | Bin 2292 -> 2296 bytes
11077  tests/files/good-1-x86-lzma2.xz              | Bin 1936 -> 1936 bytes
11078  tests/files/good-2-lzma2.xz                  | Bin 92 -> 92 bytes
11079  tests/files/unsupported-block_header.xz      | Bin 68 -> 68 bytes
11080  tests/files/unsupported-check.xz             | Bin 68 -> 68 bytes
11081  tests/files/unsupported-filter_flags-1.xz    | Bin 68 -> 68 bytes
11082  tests/files/unsupported-filter_flags-2.xz    | Bin 68 -> 68 bytes
11083  tests/files/unsupported-filter_flags-3.xz    | Bin 68 -> 68 bytes
11084  tests/test_block_header.c                    |  16 +-
11085  tests/test_index.c                           |  42 +-
11086  113 files changed, 3462 insertions(+), 2946 deletions(-)
11087
11088 commit 3c3905b53462ae235c9438d86a4dc51086410932
11089 Author: Lasse Collin <lasse.collin@tukaani.org>
11090 Date:   2008-10-09 11:12:29 +0300
11091
11092     Fixed the test that should have been fixed as part
11093     of 1e8e4fd1f3e50129b4541406ad765d2aa1233943.
11094
11095  tests/test_block_header.c | 2 +-
11096  1 file changed, 1 insertion(+), 1 deletion(-)
11097
11098 commit 0f295bf7a3ece01f667caae318cc3e3424085886
11099 Author: Lasse Collin <lasse.collin@tukaani.org>
11100 Date:   2008-10-07 16:42:18 +0300
11101
11102     Fixed some help messages.
11103
11104  src/lzma/help.c | 6 +++---
11105  1 file changed, 3 insertions(+), 3 deletions(-)
11106
11107 commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943
11108 Author: Lasse Collin <lasse.collin@tukaani.org>
11109 Date:   2008-10-07 09:40:31 +0300
11110
11111     Made the preset numbering more logical in liblzma API.
11112
11113  src/liblzma/api/lzma/container.h        | 20 ++++++++++----------
11114  src/liblzma/api/lzma/lzma.h             |  2 +-
11115  src/liblzma/lzma/lzma_encoder_presets.c |  3 ++-
11116  src/lzma/args.c                         |  8 ++++----
11117  src/lzma/args.h                         |  2 +-
11118  5 files changed, 18 insertions(+), 17 deletions(-)
11119
11120 commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81
11121 Author: Lasse Collin <lasse.collin@tukaani.org>
11122 Date:   2008-10-03 19:36:09 +0300
11123
11124     Removed fi from po/LINGUAS.
11125
11126  po/LINGUAS | 1 -
11127  1 file changed, 1 deletion(-)
11128
11129 commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128
11130 Author: Lasse Collin <lasse.collin@tukaani.org>
11131 Date:   2008-10-03 07:06:48 +0300
11132
11133     Fixed suffix handling with --format=raw.
11134
11135  src/lzma/suffix.c | 28 +++++++++++++++++++---------
11136  1 file changed, 19 insertions(+), 9 deletions(-)
11137
11138 commit bd137524f2f50e30ba054f42f1f6536cd3cee920
11139 Author: Lasse Collin <lasse.collin@tukaani.org>
11140 Date:   2008-10-02 22:51:46 +0300
11141
11142     Initial changes to change the suffix of the new format to .xz.
11143     This also fixes a bug related to --suffix option. Some issues
11144     with suffixes with --format=raw were not fixed.
11145
11146  src/lzma/args.c        | 67 +++++++++++++++++++++++++++++++--------------
11147  src/lzma/args.h        | 13 +++++----
11148  src/lzma/help.c        |  4 +--
11149  src/lzma/process.c     | 24 +++++++++-------
11150  src/lzma/suffix.c      | 74 +++++++++++++++++++++++++++++++++++++++++---------
11151  tests/test_compress.sh |  3 +-
11152  6 files changed, 133 insertions(+), 52 deletions(-)
11153
11154 commit 4c321a41c482821aa3c4d64cdf886a6ed904d844
11155 Author: Lasse Collin <lasse.collin@tukaani.org>
11156 Date:   2008-09-30 17:43:55 +0300
11157
11158     Renamed the test files from .lzma suffix to .xz suffix.
11159
11160  tests/files/README                             | 128 ++++++++++++-------------
11161  tests/files/bad-0-backward_size.lzma           | Bin 32 -> 0 bytes
11162  tests/files/bad-0-backward_size.xz             | Bin 0 -> 32 bytes
11163  tests/files/bad-0-empty-truncated.lzma         | Bin 31 -> 0 bytes
11164  tests/files/bad-0-empty-truncated.xz           | Bin 0 -> 31 bytes
11165  tests/files/bad-0-footer_magic.lzma            | Bin 32 -> 0 bytes
11166  tests/files/bad-0-footer_magic.xz              | Bin 0 -> 32 bytes
11167  tests/files/bad-0-header_magic.lzma            | Bin 32 -> 0 bytes
11168  tests/files/bad-0-header_magic.xz              | Bin 0 -> 32 bytes
11169  tests/files/bad-0-nonempty_index.lzma          | Bin 32 -> 0 bytes
11170  tests/files/bad-0-nonempty_index.xz            | Bin 0 -> 32 bytes
11171  tests/files/bad-0cat-alone.lzma                | Bin 55 -> 0 bytes
11172  tests/files/bad-0cat-alone.xz                  | Bin 0 -> 55 bytes
11173  tests/files/bad-0cat-header_magic.lzma         | Bin 64 -> 0 bytes
11174  tests/files/bad-0cat-header_magic.xz           | Bin 0 -> 64 bytes
11175  tests/files/bad-0catpad-empty.lzma             | Bin 69 -> 0 bytes
11176  tests/files/bad-0catpad-empty.xz               | Bin 0 -> 69 bytes
11177  tests/files/bad-0pad-empty.lzma                | Bin 37 -> 0 bytes
11178  tests/files/bad-0pad-empty.xz                  | Bin 0 -> 37 bytes
11179  tests/files/bad-1-block_header-1.lzma          | Bin 64 -> 0 bytes
11180  tests/files/bad-1-block_header-1.xz            | Bin 0 -> 64 bytes
11181  tests/files/bad-1-block_header-2.lzma          | Bin 64 -> 0 bytes
11182  tests/files/bad-1-block_header-2.xz            | Bin 0 -> 64 bytes
11183  tests/files/bad-1-block_header-3.lzma          | Bin 68 -> 0 bytes
11184  tests/files/bad-1-block_header-3.xz            | Bin 0 -> 68 bytes
11185  tests/files/bad-1-block_header-4.lzma          | Bin 72 -> 0 bytes
11186  tests/files/bad-1-block_header-4.xz            | Bin 0 -> 72 bytes
11187  tests/files/bad-1-check-crc32.lzma             | Bin 68 -> 0 bytes
11188  tests/files/bad-1-check-crc32.xz               | Bin 0 -> 68 bytes
11189  tests/files/bad-1-check-crc64.lzma             | Bin 72 -> 0 bytes
11190  tests/files/bad-1-check-crc64.xz               | Bin 0 -> 72 bytes
11191  tests/files/bad-1-check-sha256.lzma            | Bin 96 -> 0 bytes
11192  tests/files/bad-1-check-sha256.xz              | Bin 0 -> 96 bytes
11193  tests/files/bad-1-lzma2-1.lzma                 | Bin 64 -> 0 bytes
11194  tests/files/bad-1-lzma2-1.xz                   | Bin 0 -> 64 bytes
11195  tests/files/bad-1-lzma2-2.lzma                 | Bin 424 -> 0 bytes
11196  tests/files/bad-1-lzma2-2.xz                   | Bin 0 -> 424 bytes
11197  tests/files/bad-1-lzma2-3.lzma                 | Bin 424 -> 0 bytes
11198  tests/files/bad-1-lzma2-3.xz                   | Bin 0 -> 424 bytes
11199  tests/files/bad-1-lzma2-4.lzma                 | Bin 408 -> 0 bytes
11200  tests/files/bad-1-lzma2-4.xz                   | Bin 0 -> 408 bytes
11201  tests/files/bad-1-lzma2-5.lzma                 | Bin 408 -> 0 bytes
11202  tests/files/bad-1-lzma2-5.xz                   | Bin 0 -> 408 bytes
11203  tests/files/bad-1-lzma2-6.lzma                 | Bin 68 -> 0 bytes
11204  tests/files/bad-1-lzma2-6.xz                   | Bin 0 -> 68 bytes
11205  tests/files/bad-1-lzma2-7.lzma                 | Bin 408 -> 0 bytes
11206  tests/files/bad-1-lzma2-7.xz                   | Bin 0 -> 408 bytes
11207  tests/files/bad-1-stream_flags-1.lzma          | Bin 68 -> 0 bytes
11208  tests/files/bad-1-stream_flags-1.xz            | Bin 0 -> 68 bytes
11209  tests/files/bad-1-stream_flags-2.lzma          | Bin 68 -> 0 bytes
11210  tests/files/bad-1-stream_flags-2.xz            | Bin 0 -> 68 bytes
11211  tests/files/bad-1-stream_flags-3.lzma          | Bin 68 -> 0 bytes
11212  tests/files/bad-1-stream_flags-3.xz            | Bin 0 -> 68 bytes
11213  tests/files/bad-1-vli-1.lzma                   | Bin 72 -> 0 bytes
11214  tests/files/bad-1-vli-1.xz                     | Bin 0 -> 72 bytes
11215  tests/files/bad-1-vli-2.lzma                   | Bin 72 -> 0 bytes
11216  tests/files/bad-1-vli-2.xz                     | Bin 0 -> 72 bytes
11217  tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 0 bytes
11218  tests/files/bad-2-compressed_data_padding.xz   | Bin 0 -> 92 bytes
11219  tests/files/bad-2-index-1.lzma                 | Bin 92 -> 0 bytes
11220  tests/files/bad-2-index-1.xz                   | Bin 0 -> 92 bytes
11221  tests/files/bad-2-index-2.lzma                 | Bin 92 -> 0 bytes
11222  tests/files/bad-2-index-2.xz                   | Bin 0 -> 92 bytes
11223  tests/files/bad-2-index-3.lzma                 | Bin 92 -> 0 bytes
11224  tests/files/bad-2-index-3.xz                   | Bin 0 -> 92 bytes
11225  tests/files/bad-2-index-4.lzma                 | Bin 92 -> 0 bytes
11226  tests/files/bad-2-index-4.xz                   | Bin 0 -> 92 bytes
11227  tests/files/good-0-empty.lzma                  | Bin 32 -> 0 bytes
11228  tests/files/good-0-empty.xz                    | Bin 0 -> 32 bytes
11229  tests/files/good-0cat-empty.lzma               | Bin 64 -> 0 bytes
11230  tests/files/good-0cat-empty.xz                 | Bin 0 -> 64 bytes
11231  tests/files/good-0catpad-empty.lzma            | Bin 68 -> 0 bytes
11232  tests/files/good-0catpad-empty.xz              | Bin 0 -> 68 bytes
11233  tests/files/good-0pad-empty.lzma               | Bin 36 -> 0 bytes
11234  tests/files/good-0pad-empty.xz                 | Bin 0 -> 36 bytes
11235  tests/files/good-1-3delta-lzma2.lzma           | Bin 528 -> 0 bytes
11236  tests/files/good-1-3delta-lzma2.xz             | Bin 0 -> 528 bytes
11237  tests/files/good-1-block_header-1.lzma         | Bin 72 -> 0 bytes
11238  tests/files/good-1-block_header-1.xz           | Bin 0 -> 72 bytes
11239  tests/files/good-1-block_header-2.lzma         | Bin 68 -> 0 bytes
11240  tests/files/good-1-block_header-2.xz           | Bin 0 -> 68 bytes
11241  tests/files/good-1-block_header-3.lzma         | Bin 68 -> 0 bytes
11242  tests/files/good-1-block_header-3.xz           | Bin 0 -> 68 bytes
11243  tests/files/good-1-check-crc32.lzma            | Bin 68 -> 0 bytes
11244  tests/files/good-1-check-crc32.xz              | Bin 0 -> 68 bytes
11245  tests/files/good-1-check-crc64.lzma            | Bin 72 -> 0 bytes
11246  tests/files/good-1-check-crc64.xz              | Bin 0 -> 72 bytes
11247  tests/files/good-1-check-none.lzma             | Bin 64 -> 0 bytes
11248  tests/files/good-1-check-none.xz               | Bin 0 -> 64 bytes
11249  tests/files/good-1-check-sha256.lzma           | Bin 96 -> 0 bytes
11250  tests/files/good-1-check-sha256.xz             | Bin 0 -> 96 bytes
11251  tests/files/good-1-delta-lzma2.tiff.lzma       | Bin 51312 -> 0 bytes
11252  tests/files/good-1-delta-lzma2.tiff.xz         | Bin 0 -> 51312 bytes
11253  tests/files/good-1-lzma2-1.lzma                | Bin 424 -> 0 bytes
11254  tests/files/good-1-lzma2-1.xz                  | Bin 0 -> 424 bytes
11255  tests/files/good-1-lzma2-2.lzma                | Bin 424 -> 0 bytes
11256  tests/files/good-1-lzma2-2.xz                  | Bin 0 -> 424 bytes
11257  tests/files/good-1-lzma2-3.lzma                | Bin 408 -> 0 bytes
11258  tests/files/good-1-lzma2-3.xz                  | Bin 0 -> 408 bytes
11259  tests/files/good-1-sparc-lzma2.lzma            | Bin 2292 -> 0 bytes
11260  tests/files/good-1-sparc-lzma2.xz              | Bin 0 -> 2292 bytes
11261  tests/files/good-1-x86-lzma2.lzma              | Bin 1936 -> 0 bytes
11262  tests/files/good-1-x86-lzma2.xz                | Bin 0 -> 1936 bytes
11263  tests/files/good-2-lzma2.lzma                  | Bin 92 -> 0 bytes
11264  tests/files/good-2-lzma2.xz                    | Bin 0 -> 92 bytes
11265  tests/files/unsupported-block_header.lzma      | Bin 68 -> 0 bytes
11266  tests/files/unsupported-block_header.xz        | Bin 0 -> 68 bytes
11267  tests/files/unsupported-check.lzma             | Bin 68 -> 0 bytes
11268  tests/files/unsupported-check.xz               | Bin 0 -> 68 bytes
11269  tests/files/unsupported-filter_flags-1.lzma    | Bin 68 -> 0 bytes
11270  tests/files/unsupported-filter_flags-1.xz      | Bin 0 -> 68 bytes
11271  tests/files/unsupported-filter_flags-2.lzma    | Bin 68 -> 0 bytes
11272  tests/files/unsupported-filter_flags-2.xz      | Bin 0 -> 68 bytes
11273  tests/files/unsupported-filter_flags-3.lzma    | Bin 68 -> 0 bytes
11274  tests/files/unsupported-filter_flags-3.xz      | Bin 0 -> 68 bytes
11275  tests/test_files.sh                            |   6 +-
11276  116 files changed, 66 insertions(+), 68 deletions(-)
11277
11278 commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb
11279 Author: Lasse Collin <lasse.collin@tukaani.org>
11280 Date:   2008-09-30 13:57:44 +0300
11281
11282     Fixed Stream decoder to actually use the first_stream variable.
11283
11284  src/liblzma/common/stream_decoder.c | 5 +++++
11285  1 file changed, 5 insertions(+)
11286
11287 commit 3bdbc12c054d1961133ee19802af7dd3c3494543
11288 Author: Lasse Collin <lasse.collin@tukaani.org>
11289 Date:   2008-09-30 13:56:57 +0300
11290
11291     Added one more test file.
11292
11293  tests/files/README                     |  15 +++++++++++----
11294  tests/files/bad-0cat-header_magic.lzma | Bin 0 -> 64 bytes
11295  2 files changed, 11 insertions(+), 4 deletions(-)
11296
11297 commit a6639022fdc536e5659b070a465221b4cf7c51fa
11298 Author: Lasse Collin <lasse.collin@tukaani.org>
11299 Date:   2008-09-30 13:34:07 +0300
11300
11301     Fixed uninitialized variable in Stream decoder.
11302
11303  src/liblzma/common/stream_decoder.c | 1 +
11304  1 file changed, 1 insertion(+)
11305
11306 commit ed3709000a3f17ecefab29b2235d7e2221b00003
11307 Author: Lasse Collin <lasse.collin@tukaani.org>
11308 Date:   2008-09-30 13:27:28 +0300
11309
11310     Added two test files.
11311
11312  tests/files/README                  |   6 ++++++
11313  tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes
11314  tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes
11315  3 files changed, 6 insertions(+)
11316
11317 commit ea560b0ea80525752bdcd0074d24f8dc170bbe29
11318 Author: Lasse Collin <lasse.collin@tukaani.org>
11319 Date:   2008-09-27 23:49:24 +0300
11320
11321     Fix conflicting Subblock helper filter's ID.
11322
11323  src/liblzma/common/common.h | 2 +-
11324  1 file changed, 1 insertion(+), 1 deletion(-)
11325
11326 commit ad97483b6e55142fd8d5c041db057017a891cd95
11327 Author: Lasse Collin <lasse.collin@tukaani.org>
11328 Date:   2008-09-27 23:37:13 +0300
11329
11330     Changed magic bytes to match the updated spec. Filename
11331     suffix wasn't changed yet.
11332
11333  src/liblzma/common/auto_decoder.c              |   4 ++--
11334  src/liblzma/common/stream_flags_common.c       |   2 +-
11335  tests/files/bad-0-backward_size.lzma           | Bin 32 -> 32 bytes
11336  tests/files/bad-0-empty-truncated.lzma         | Bin 31 -> 31 bytes
11337  tests/files/bad-0-nonempty_index.lzma          | Bin 32 -> 32 bytes
11338  tests/files/bad-0cat-alone.lzma                | Bin 55 -> 55 bytes
11339  tests/files/bad-0catpad-empty.lzma             | Bin 69 -> 69 bytes
11340  tests/files/bad-0pad-empty.lzma                | Bin 37 -> 37 bytes
11341  tests/files/bad-1-block_header-1.lzma          | Bin 64 -> 64 bytes
11342  tests/files/bad-1-block_header-2.lzma          | Bin 64 -> 64 bytes
11343  tests/files/bad-1-block_header-3.lzma          | Bin 68 -> 68 bytes
11344  tests/files/bad-1-block_header-4.lzma          | Bin 72 -> 72 bytes
11345  tests/files/bad-1-check-crc32.lzma             | Bin 68 -> 68 bytes
11346  tests/files/bad-1-check-crc64.lzma             | Bin 72 -> 72 bytes
11347  tests/files/bad-1-check-sha256.lzma            | Bin 96 -> 96 bytes
11348  tests/files/bad-1-lzma2-1.lzma                 | Bin 64 -> 64 bytes
11349  tests/files/bad-1-lzma2-2.lzma                 | Bin 424 -> 424 bytes
11350  tests/files/bad-1-lzma2-3.lzma                 | Bin 424 -> 424 bytes
11351  tests/files/bad-1-lzma2-4.lzma                 | Bin 408 -> 408 bytes
11352  tests/files/bad-1-lzma2-5.lzma                 | Bin 408 -> 408 bytes
11353  tests/files/bad-1-lzma2-6.lzma                 | Bin 68 -> 68 bytes
11354  tests/files/bad-1-lzma2-7.lzma                 | Bin 408 -> 408 bytes
11355  tests/files/bad-1-stream_flags-1.lzma          | Bin 68 -> 68 bytes
11356  tests/files/bad-1-stream_flags-2.lzma          | Bin 68 -> 68 bytes
11357  tests/files/bad-1-stream_flags-3.lzma          | Bin 68 -> 68 bytes
11358  tests/files/bad-1-vli-1.lzma                   | Bin 72 -> 72 bytes
11359  tests/files/bad-1-vli-2.lzma                   | Bin 72 -> 72 bytes
11360  tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 92 bytes
11361  tests/files/bad-2-index-1.lzma                 | Bin 92 -> 92 bytes
11362  tests/files/bad-2-index-2.lzma                 | Bin 92 -> 92 bytes
11363  tests/files/bad-2-index-3.lzma                 | Bin 92 -> 92 bytes
11364  tests/files/bad-2-index-4.lzma                 | Bin 92 -> 92 bytes
11365  tests/files/good-0-empty.lzma                  | Bin 32 -> 32 bytes
11366  tests/files/good-0cat-empty.lzma               | Bin 64 -> 64 bytes
11367  tests/files/good-0catpad-empty.lzma            | Bin 68 -> 68 bytes
11368  tests/files/good-0pad-empty.lzma               | Bin 36 -> 36 bytes
11369  tests/files/good-1-3delta-lzma2.lzma           | Bin 528 -> 528 bytes
11370  tests/files/good-1-block_header-1.lzma         | Bin 72 -> 72 bytes
11371  tests/files/good-1-block_header-2.lzma         | Bin 68 -> 68 bytes
11372  tests/files/good-1-block_header-3.lzma         | Bin 68 -> 68 bytes
11373  tests/files/good-1-check-crc32.lzma            | Bin 68 -> 68 bytes
11374  tests/files/good-1-check-crc64.lzma            | Bin 72 -> 72 bytes
11375  tests/files/good-1-check-none.lzma             | Bin 64 -> 64 bytes
11376  tests/files/good-1-check-sha256.lzma           | Bin 96 -> 96 bytes
11377  tests/files/good-1-delta-lzma2.tiff.lzma       | Bin 51312 -> 51312 bytes
11378  tests/files/good-1-lzma2-1.lzma                | Bin 424 -> 424 bytes
11379  tests/files/good-1-lzma2-2.lzma                | Bin 424 -> 424 bytes
11380  tests/files/good-1-lzma2-3.lzma                | Bin 408 -> 408 bytes
11381  tests/files/good-1-sparc-lzma2.lzma            | Bin 2292 -> 2292 bytes
11382  tests/files/good-1-x86-lzma2.lzma              | Bin 1936 -> 1936 bytes
11383  tests/files/good-2-lzma2.lzma                  | Bin 92 -> 92 bytes
11384  tests/files/unsupported-block_header.lzma      | Bin 68 -> 68 bytes
11385  tests/files/unsupported-check.lzma             | Bin 68 -> 68 bytes
11386  tests/files/unsupported-filter_flags-1.lzma    | Bin 68 -> 68 bytes
11387  tests/files/unsupported-filter_flags-2.lzma    | Bin 68 -> 68 bytes
11388  tests/files/unsupported-filter_flags-3.lzma    | Bin 68 -> 68 bytes
11389  56 files changed, 3 insertions(+), 3 deletions(-)
11390
11391 commit 7a57069167e9e63394e2b095ee3a63253fcb51c7
11392 Author: Lasse Collin <lasse.collin@tukaani.org>
11393 Date:   2008-09-27 23:16:09 +0300
11394
11395     Remove po/fi.po since I'm not keeping it updated for now.
11396
11397  po/fi.po | 446 ---------------------------------------------------------------
11398  1 file changed, 446 deletions(-)
11399
11400 commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e
11401 Author: Lasse Collin <lasse.collin@tukaani.org>
11402 Date:   2008-09-27 23:13:54 +0300
11403
11404     Fix also test_compress.sh.
11405
11406  tests/test_compress.sh | 6 +++---
11407  1 file changed, 3 insertions(+), 3 deletions(-)
11408
11409 commit 3a62a5fb85d2eebd8666e64ed5d364d095062858
11410 Author: Lasse Collin <lasse.collin@tukaani.org>
11411 Date:   2008-09-27 23:01:15 +0300
11412
11413     Fixed compilation of test_filter_flags.c, which was broken by
11414     1dcecfb09b55157b8653d747963069c8bed74f04.
11415
11416  tests/test_filter_flags.c | 16 ++++++++--------
11417  1 file changed, 8 insertions(+), 8 deletions(-)
11418
11419 commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0
11420 Author: Lasse Collin <lasse.collin@tukaani.org>
11421 Date:   2008-09-27 19:11:02 +0300
11422
11423     Updated file format specification. It changes the suffix
11424     of the new format to .xz and removes the recently added
11425     LZMA filter.
11426
11427  doc/file-format.txt | 125 ++++++++++++++--------------------------------------
11428  1 file changed, 32 insertions(+), 93 deletions(-)
11429
11430 commit 1dcecfb09b55157b8653d747963069c8bed74f04
11431 Author: Lasse Collin <lasse.collin@tukaani.org>
11432 Date:   2008-09-27 19:09:21 +0300
11433
11434     Some API changes, bug fixes, cleanups etc.
11435
11436  configure.ac                                   |  18 +-
11437  debug/full_flush.c                             |   7 +-
11438  debug/known_sizes.c                            |   6 +-
11439  debug/memusage.c                               |  22 +--
11440  debug/sync_flush.c                             |  18 +-
11441  src/liblzma/Makefile.am                        |   2 +-
11442  src/liblzma/api/lzma/delta.h                   |   8 +-
11443  src/liblzma/api/lzma/lzma.h                    | 230 ++++++++++++++++---------
11444  src/liblzma/common/alignment.c                 |   7 +-
11445  src/liblzma/common/alone_decoder.c             |  11 +-
11446  src/liblzma/common/alone_encoder.c             |   9 +-
11447  src/liblzma/common/chunk_size.c                |   2 +-
11448  src/liblzma/common/easy.c                      |  20 ++-
11449  src/liblzma/common/filter_common.c             |   4 +-
11450  src/liblzma/common/filter_decoder.c            |   4 +-
11451  src/liblzma/common/filter_encoder.c            |   4 +-
11452  src/liblzma/common/init_encoder.c              |   2 +-
11453  src/liblzma/delta/delta_common.c               |  12 +-
11454  src/liblzma/delta/delta_common.h               |   2 +-
11455  src/liblzma/delta/delta_decoder.c              |   2 +-
11456  src/liblzma/delta/delta_encoder.c              |   6 +-
11457  src/liblzma/lz/lz_encoder.c                    |  30 ++--
11458  src/liblzma/lz/lz_encoder.h                    |  26 +--
11459  src/liblzma/lz/lz_encoder_mf.c                 |  30 ++--
11460  src/liblzma/lzma/Makefile.am                   |   4 +-
11461  src/liblzma/lzma/lzma2_decoder.c               |  10 +-
11462  src/liblzma/lzma/lzma2_encoder.c               |  27 ++-
11463  src/liblzma/lzma/lzma_common.h                 |  26 ++-
11464  src/liblzma/lzma/lzma_decoder.c                |  37 ++--
11465  src/liblzma/lzma/lzma_encoder.c                |  51 +++---
11466  src/liblzma/lzma/lzma_encoder_optimum_fast.c   |  10 +-
11467  src/liblzma/lzma/lzma_encoder_optimum_normal.c |  20 +--
11468  src/liblzma/lzma/lzma_encoder_presets.c        |  50 ++++--
11469  src/liblzma/rangecoder/Makefile.am             |   4 +-
11470  src/liblzma/subblock/subblock_decoder.c        |   2 +-
11471  src/lzma/args.c                                |  33 ++--
11472  src/lzma/help.c                                |  17 +-
11473  src/lzma/options.c                             |  92 +++++-----
11474  tests/test_block_header.c                      |   9 +-
11475  tests/test_compress.sh                         |   4 +-
11476  tests/test_filter_flags.c                      |   2 +-
11477  41 files changed, 482 insertions(+), 398 deletions(-)
11478
11479 commit 5cc5064cae603b649c64c40125c7dd365de54c9d
11480 Author: Lasse Collin <lasse.collin@tukaani.org>
11481 Date:   2008-09-27 11:28:49 +0300
11482
11483     Added 7z2lzma.bash.
11484
11485  extra/7z2lzma/7z2lzma.bash | 114 +++++++++++++++++++++++++++++++++++++++++++++
11486  1 file changed, 114 insertions(+)
11487
11488 commit f147666a5cd15542d4e427da58629f4a71cc38e1
11489 Author: Lasse Collin <lasse.collin@tukaani.org>
11490 Date:   2008-09-17 22:11:39 +0300
11491
11492     Miscellaneous LZ and LZMA encoder cleanups
11493
11494  src/liblzma/api/lzma/lzma.h              | 14 -------
11495  src/liblzma/lz/lz_encoder.c              |  8 +++-
11496  src/liblzma/lzma/Makefile.am             |  1 -
11497  src/liblzma/lzma/lzma_encoder.c          | 64 ++++++++++++--------------------
11498  src/liblzma/lzma/lzma_encoder_features.c | 59 -----------------------------
11499  5 files changed, 29 insertions(+), 117 deletions(-)
11500
11501 commit 13d68b069849e19c33822cd8996cd6447890abb1
11502 Author: Lasse Collin <lasse.collin@tukaani.org>
11503 Date:   2008-09-13 13:54:00 +0300
11504
11505     LZ decoder cleanup
11506
11507  src/liblzma/lz/lz_decoder.c | 5 ++---
11508  1 file changed, 2 insertions(+), 3 deletions(-)
11509
11510 commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7
11511 Author: Lasse Collin <lasse.collin@tukaani.org>
11512 Date:   2008-09-13 12:10:43 +0300
11513
11514     Renamed constants:
11515       - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
11516       - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
11517       - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
11518
11519  debug/full_flush.c                        |  2 +-
11520  debug/known_sizes.c                       |  2 +-
11521  debug/sync_flush.c                        |  2 +-
11522  src/liblzma/api/lzma/alignment.h          |  2 +-
11523  src/liblzma/api/lzma/base.h               |  4 ++--
11524  src/liblzma/api/lzma/block.h              | 28 ++++++++++++++--------------
11525  src/liblzma/api/lzma/container.h          | 12 ++++++------
11526  src/liblzma/api/lzma/filter.h             | 28 ++++++++++++++--------------
11527  src/liblzma/api/lzma/index.h              |  2 +-
11528  src/liblzma/api/lzma/lzma.h               |  4 ++--
11529  src/liblzma/api/lzma/simple.h             |  2 +-
11530  src/liblzma/api/lzma/stream_flags.h       | 20 ++++++++++----------
11531  src/liblzma/api/lzma/vli.h                | 16 ++++++++--------
11532  src/liblzma/common/alignment.c            |  6 +++---
11533  src/liblzma/common/alone_decoder.c        |  2 +-
11534  src/liblzma/common/auto_decoder.c         |  2 +-
11535  src/liblzma/common/block_decoder.c        | 12 ++++++------
11536  src/liblzma/common/block_encoder.c        |  6 +++---
11537  src/liblzma/common/block_header_decoder.c | 16 ++++++++--------
11538  src/liblzma/common/block_header_encoder.c | 24 ++++++++++++------------
11539  src/liblzma/common/block_util.c           |  8 ++++----
11540  src/liblzma/common/chunk_size.c           |  2 +-
11541  src/liblzma/common/easy.c                 |  4 ++--
11542  src/liblzma/common/filter_common.c        | 22 +++++++++++-----------
11543  src/liblzma/common/filter_decoder.c       |  6 +++---
11544  src/liblzma/common/filter_encoder.c       | 14 +++++++-------
11545  src/liblzma/common/index.c                | 24 +++++++++++-------------
11546  src/liblzma/common/index.h                |  2 +-
11547  src/liblzma/common/index_hash.c           | 13 ++++++-------
11548  src/liblzma/common/stream_decoder.c       |  4 ++--
11549  src/liblzma/common/stream_encoder.c       |  4 ++--
11550  src/liblzma/common/stream_flags_common.c  |  6 +++---
11551  src/liblzma/common/stream_flags_decoder.c |  6 +++---
11552  src/liblzma/common/stream_flags_encoder.c |  4 ++--
11553  src/liblzma/common/vli_encoder.c          |  2 +-
11554  src/liblzma/common/vli_size.c             |  2 +-
11555  src/liblzma/delta/delta_common.c          |  2 +-
11556  src/liblzma/delta/delta_decoder.c         |  2 +-
11557  src/liblzma/delta/delta_encoder.c         |  2 +-
11558  src/liblzma/lz/lz_decoder.c               |  2 +-
11559  src/liblzma/lz/lz_encoder.c               |  2 +-
11560  src/liblzma/lzma/lzma2_decoder.c          |  6 +++---
11561  src/liblzma/lzma/lzma_decoder.c           | 14 +++++++-------
11562  src/liblzma/lzma/lzma_encoder.c           |  8 ++++----
11563  src/liblzma/simple/simple_coder.c         |  2 +-
11564  src/liblzma/simple/simple_decoder.c       |  2 +-
11565  src/liblzma/subblock/subblock_decoder.c   |  6 +++---
11566  src/liblzma/subblock/subblock_encoder.c   | 17 ++++++++---------
11567  src/lzma/args.c                           |  2 +-
11568  src/lzma/error.c                          |  2 +-
11569  src/lzma/list.c                           |  6 +++---
11570  src/lzmadec/lzmadec.c                     |  2 +-
11571  tests/test_block.c                        |  8 ++++----
11572  tests/test_block_header.c                 | 30 +++++++++++++++---------------
11573  tests/test_filter_flags.c                 |  2 +-
11574  tests/test_index.c                        |  2 +-
11575  tests/test_stream_flags.c                 |  8 ++++----
11576  tests/tests.h                             |  2 +-
11577  58 files changed, 220 insertions(+), 224 deletions(-)
11578
11579 commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080
11580 Author: Lasse Collin <lasse.collin@tukaani.org>
11581 Date:   2008-09-12 22:41:40 +0300
11582
11583     Improved the Stream Flags handling API.
11584
11585  src/liblzma/api/lzma/stream_flags.h       | 84 +++++++++++++++++++++++++++++--
11586  src/liblzma/common/stream_decoder.c       |  5 +-
11587  src/liblzma/common/stream_encoder.c       |  2 +
11588  src/liblzma/common/stream_flags_common.c  | 28 ++++++++---
11589  src/liblzma/common/stream_flags_common.h  |  9 ++++
11590  src/liblzma/common/stream_flags_decoder.c |  3 +-
11591  src/liblzma/common/stream_flags_encoder.c | 10 ++--
11592  tests/test_stream_flags.c                 |  8 ++-
11593  8 files changed, 129 insertions(+), 20 deletions(-)
11594
11595 commit ec490da5228263b25bf786bb23d1008468f55b30
11596 Author: Lasse Collin <lasse.collin@tukaani.org>
11597 Date:   2008-09-11 23:10:44 +0300
11598
11599     Simplified debug/known_sizes.c to match the relaxed
11600     requirements of Block encoder.
11601
11602  debug/known_sizes.c | 14 +++++---------
11603  1 file changed, 5 insertions(+), 9 deletions(-)
11604
11605 commit 16e8b98f2659347edfa74afdbbb9e73311153cb9
11606 Author: Lasse Collin <lasse.collin@tukaani.org>
11607 Date:   2008-09-11 23:09:24 +0300
11608
11609     Remove a check from Block encoder that should have already
11610     been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e.
11611
11612  src/liblzma/common/block_encoder.c | 5 -----
11613  1 file changed, 5 deletions(-)
11614
11615 commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13
11616 Author: Lasse Collin <lasse.collin@tukaani.org>
11617 Date:   2008-09-11 20:02:38 +0300
11618
11619     Remove bogus #includes.
11620
11621  src/liblzma/common/Makefile.am            |  1 -
11622  src/liblzma/common/stream_decoder.c       |  3 ---
11623  src/liblzma/common/stream_encoder.c       |  1 -
11624  src/liblzma/common/stream_flags_decoder.h | 31 -------------------------------
11625  4 files changed, 36 deletions(-)
11626
11627 commit 01892b2ca5f69bed0ea746e04b604030d57806bb
11628 Author: Lasse Collin <lasse.collin@tukaani.org>
11629 Date:   2008-09-11 10:49:14 +0300
11630
11631     Updated THANKS.
11632
11633  THANKS | 1 +
11634  1 file changed, 1 insertion(+)
11635
11636 commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d
11637 Author: Lasse Collin <lasse.collin@tukaani.org>
11638 Date:   2008-09-11 10:48:12 +0300
11639
11640     Fix a compiler error on big endian systems that don't
11641     support unaligned memory access.
11642
11643  src/common/integer.h | 32 ++++++++++++++++++--------------
11644  1 file changed, 18 insertions(+), 14 deletions(-)
11645
11646 commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671
11647 Author: Lasse Collin <lasse.collin@tukaani.org>
11648 Date:   2008-09-11 10:46:14 +0300
11649
11650     Silence a compiler warning.
11651
11652  src/lzma/process.c | 2 +-
11653  1 file changed, 1 insertion(+), 1 deletion(-)
11654
11655 commit 9373e81e18822db4972819442ea4c2cb9955470b
11656 Author: Lasse Collin <lasse.collin@tukaani.org>
11657 Date:   2008-09-10 19:16:32 +0300
11658
11659     Bumped version to 4.999.6alpha.
11660
11661  configure.ac                   | 2 +-
11662  src/liblzma/api/lzma/version.h | 2 +-
11663  2 files changed, 2 insertions(+), 2 deletions(-)
11664
11665 commit cb072b7c8442ba68bb0c62c0abbbe939794887a3
11666 Author: Lasse Collin <lasse.collin@tukaani.org>
11667 Date:   2008-09-10 17:02:00 +0300
11668
11669     Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.
11670     Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID
11671     is in the reserved range. This allows Block Header encoder to
11672     detect unallowed Filter IDs, which is good for Stream encoder.
11673
11674  src/liblzma/common/filter_flags_encoder.c | 7 ++++---
11675  1 file changed, 4 insertions(+), 3 deletions(-)
11676
11677 commit 123ab0acec435c9e9866a99e30482116cfbd9ba5
11678 Author: Lasse Collin <lasse.collin@tukaani.org>
11679 Date:   2008-09-10 16:44:32 +0300
11680
11681     Filter handling cleanups
11682
11683  src/liblzma/api/lzma/filter.h       | 133 +++++++++++++++++++++++++++---------
11684  src/liblzma/common/filter_common.h  |   3 +
11685  src/liblzma/common/filter_decoder.c |  80 +++++++---------------
11686  src/liblzma/common/filter_decoder.h |   5 --
11687  src/liblzma/common/filter_encoder.c |  82 +++++++---------------
11688  src/liblzma/common/filter_encoder.h |   4 --
11689  6 files changed, 156 insertions(+), 151 deletions(-)
11690
11691 commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1
11692 Author: Lasse Collin <lasse.collin@tukaani.org>
11693 Date:   2008-09-10 00:33:00 +0300
11694
11695     Comments
11696
11697  src/liblzma/common/stream_encoder.c | 6 +++++-
11698  1 file changed, 5 insertions(+), 1 deletion(-)
11699
11700 commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e
11701 Author: Lasse Collin <lasse.collin@tukaani.org>
11702 Date:   2008-09-10 00:27:02 +0300
11703
11704     Cleaned up Block encoder and moved the no longer shared
11705     code from block_private.h to block_decoder.c. Now the Block
11706     encoder doesn't need compressed_size and uncompressed_size
11707     from lzma_block structure to be initialized.
11708
11709  src/liblzma/api/lzma/block.h       |  3 --
11710  src/liblzma/common/Makefile.am     |  1 -
11711  src/liblzma/common/block_decoder.c | 23 +++++++++-
11712  src/liblzma/common/block_encoder.c | 92 ++++++++++++++++++--------------------
11713  src/liblzma/common/block_private.h | 47 -------------------
11714  5 files changed, 66 insertions(+), 100 deletions(-)
11715
11716 commit 07efcb5a6bc5d7018798ebd728586f84183e7d64
11717 Author: Lasse Collin <lasse.collin@tukaani.org>
11718 Date:   2008-09-07 10:23:13 +0300
11719
11720     Changed Filter ID of LZMA to 0x20.
11721
11722  doc/file-format.txt         | 4 ++--
11723  src/liblzma/api/lzma/lzma.h | 2 +-
11724  2 files changed, 3 insertions(+), 3 deletions(-)
11725
11726 commit 32fe5fa541e82c08e054086279079ae5016bd8d8
11727 Author: Lasse Collin <lasse.collin@tukaani.org>
11728 Date:   2008-09-06 23:42:50 +0300
11729
11730     Comments
11731
11732  src/liblzma/api/lzma/base.h      | 81 ++++++++++++++++++++++++++--------------
11733  src/liblzma/api/lzma/container.h |  6 ++-
11734  src/liblzma/lz/lz_encoder.c      |  3 +-
11735  src/liblzma/lz/lz_encoder.h      | 12 +++---
11736  src/liblzma/lz/lz_encoder_mf.c   |  2 +-
11737  5 files changed, 65 insertions(+), 39 deletions(-)
11738
11739 commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84
11740 Author: Lasse Collin <lasse.collin@tukaani.org>
11741 Date:   2008-09-06 15:14:30 +0300
11742
11743     Some API cleanups
11744
11745  src/liblzma/api/lzma/base.h         | 314 +++++++++++++++++++++++-------------
11746  src/liblzma/api/lzma/check.h        |  10 ++
11747  src/liblzma/api/lzma/container.h    |  40 +++--
11748  src/liblzma/common/auto_decoder.c   |  18 +--
11749  src/liblzma/common/common.c         |   7 +
11750  src/liblzma/common/common.h         |  18 ++-
11751  src/liblzma/common/easy.c           |   2 +-
11752  src/liblzma/common/stream_decoder.c |  31 ++--
11753  src/lzma/process.c                  |   2 +-
11754  src/lzmadec/lzmadec.c               |   6 +-
11755  tests/tests.h                       |  72 +++------
11756  11 files changed, 301 insertions(+), 219 deletions(-)
11757
11758 commit da98df54400998be2a6c3876f9655a3c51b93c10
11759 Author: Lasse Collin <lasse.collin@tukaani.org>
11760 Date:   2008-09-04 11:53:06 +0300
11761
11762     Added support for raw encoding and decoding to the command
11763     line tool, and made various cleanups. --lzma was renamed to
11764     --lzma1 to prevent people from accidentally using LZMA when
11765     they want LZMA2.
11766
11767  src/lzma/args.c    | 17 +++++++++--------
11768  src/lzma/args.h    |  1 +
11769  src/lzma/help.c    | 24 ++++++------------------
11770  src/lzma/process.c | 42 ++++++++++++++++++++++++++++++++++--------
11771  4 files changed, 50 insertions(+), 34 deletions(-)
11772
11773 commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd
11774 Author: Lasse Collin <lasse.collin@tukaani.org>
11775 Date:   2008-09-04 10:39:15 +0300
11776
11777     Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's
11778     simply nothing that would use it. Allow LZMA_FINISH to the
11779     decoders, which will usually ignore it (auto decoder and
11780     Stream decoder being exceptions).
11781
11782  src/liblzma/common/alone_decoder.c  | 1 -
11783  src/liblzma/common/block_decoder.c  | 2 +-
11784  src/liblzma/common/filter_decoder.c | 2 +-
11785  3 files changed, 2 insertions(+), 3 deletions(-)
11786
11787 commit bea301c26d5d52675e11e0236faec0492af98f60
11788 Author: Lasse Collin <lasse.collin@tukaani.org>
11789 Date:   2008-09-03 17:06:25 +0300
11790
11791     Minor updates to the file format specification.
11792
11793  doc/file-format.txt | 105 ++++++++++++++++++++++++++++++++++++++++++----------
11794  1 file changed, 85 insertions(+), 20 deletions(-)
11795
11796 commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8
11797 Author: Lasse Collin <lasse.collin@tukaani.org>
11798 Date:   2008-09-02 19:33:32 +0300
11799
11800     Command line tool fixes
11801
11802  src/lzma/process.c | 21 +++++++++++++--------
11803  1 file changed, 13 insertions(+), 8 deletions(-)
11804
11805 commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4
11806 Author: Lasse Collin <lasse.collin@tukaani.org>
11807 Date:   2008-09-02 19:31:42 +0300
11808
11809     Auto decoder cleanup
11810
11811  src/liblzma/common/auto_decoder.c | 2 +-
11812  1 file changed, 1 insertion(+), 1 deletion(-)
11813
11814 commit 689602336d126a46b60d791a67decab65e1e81f5
11815 Author: Lasse Collin <lasse.collin@tukaani.org>
11816 Date:   2008-09-02 19:12:12 +0300
11817
11818     Updated auto decoder to handle LZMA_CONCATENATED when decoding
11819     LZMA_Alone files. Decoding of concatenated LZMA_Alone files is
11820     intentionally not supported, so it is better to put this in
11821     auto decoder than LZMA_Alone decoder.
11822
11823  src/liblzma/common/auto_decoder.c | 87 ++++++++++++++++++++++++++++++++-------
11824  1 file changed, 71 insertions(+), 16 deletions(-)
11825
11826 commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c
11827 Author: Lasse Collin <lasse.collin@tukaani.org>
11828 Date:   2008-09-02 14:56:52 +0300
11829
11830     Stream decoder cleanups
11831
11832  src/liblzma/common/stream_decoder.c | 57 +++++++++++++++++++++----------------
11833  1 file changed, 32 insertions(+), 25 deletions(-)
11834
11835 commit fc681657450ce57be1fe08f7a15d31dcc705e514
11836 Author: Lasse Collin <lasse.collin@tukaani.org>
11837 Date:   2008-09-02 11:45:39 +0300
11838
11839     Some fixes to LZ encoder.
11840
11841  src/liblzma/lz/lz_encoder.c    | 56 ++++++++++++++++++++-----
11842  src/liblzma/lz/lz_encoder.h    | 18 ++++----
11843  src/liblzma/lz/lz_encoder_mf.c | 95 +++++++++++++++++-------------------------
11844  3 files changed, 94 insertions(+), 75 deletions(-)
11845
11846 commit ede675f9ac1ca82a7d7c290324adba672118bc8d
11847 Author: Lasse Collin <lasse.collin@tukaani.org>
11848 Date:   2008-08-31 11:47:01 +0300
11849
11850     Fix wrong pointer calculation in LZMA encoder.
11851
11852  src/liblzma/lzma/lzma_encoder.c | 4 +++-
11853  1 file changed, 3 insertions(+), 1 deletion(-)
11854
11855 commit 3b34851de1eaf358cf9268922fa0eeed8278d680
11856 Author: Lasse Collin <lasse.collin@tukaani.org>
11857 Date:   2008-08-28 22:53:15 +0300
11858
11859     Sort of garbage collection commit. :-| Many things are still
11860     broken. API has changed a lot and it will still change a
11861     little more here and there. The command line tool doesn't
11862     have all the required changes to reflect the API changes, so
11863     it's easy to get "internal error" or trigger assertions.
11864
11865  configure.ac                                       |  356 +++---
11866  debug/Makefile.am                                  |    5 +-
11867  debug/crc32.c                                      |   45 +
11868  debug/full_flush.c                                 |   14 +-
11869  debug/hex2bin.c                                    |   54 +
11870  debug/known_sizes.c                                |  135 ++
11871  debug/memusage.c                                   |    8 +-
11872  debug/sync_flush.c                                 |   20 +-
11873  src/common/integer.h                               |   26 +-
11874  src/common/sysdefs.h                               |   42 +-
11875  src/liblzma/Makefile.am                            |   17 +-
11876  src/liblzma/api/Makefile.am                        |    6 +-
11877  src/liblzma/api/lzma.h                             |  161 ++-
11878  src/liblzma/api/lzma/alignment.h                   |    6 +-
11879  src/liblzma/api/lzma/alone.h                       |   52 -
11880  src/liblzma/api/lzma/auto.h                        |   36 -
11881  src/liblzma/api/lzma/base.h                        |   61 +-
11882  src/liblzma/api/lzma/block.h                       |   38 +-
11883  src/liblzma/api/lzma/check.h                       |   41 +-
11884  src/liblzma/api/lzma/container.h                   |  252 ++++
11885  src/liblzma/api/lzma/delta.h                       |   36 +-
11886  src/liblzma/api/lzma/easy.h                        |  121 --
11887  src/liblzma/api/lzma/filter.h                      |   74 +-
11888  src/liblzma/api/lzma/index.h                       |   40 +-
11889  src/liblzma/api/lzma/index_hash.h                  |   12 +-
11890  src/liblzma/api/lzma/lzma.h                        |  222 ++--
11891  src/liblzma/api/lzma/memlimit.h                    |   15 +-
11892  src/liblzma/api/lzma/raw.h                         |   60 -
11893  src/liblzma/api/lzma/simple.h                      |    2 +-
11894  src/liblzma/api/lzma/stream.h                      |   53 -
11895  src/liblzma/api/lzma/stream_flags.h                |   17 +-
11896  src/liblzma/api/lzma/subblock.h                    |    4 +-
11897  src/liblzma/api/lzma/version.h                     |   10 +-
11898  src/liblzma/api/lzma/vli.h                         |  131 +-
11899  src/liblzma/check/check.c                          |  128 +-
11900  src/liblzma/check/check.h                          |   67 +-
11901  src/liblzma/check/sha256.c                         |   29 +-
11902  src/liblzma/common/Makefile.am                     |   51 +-
11903  src/liblzma/common/alignment.c                     |    4 +-
11904  src/liblzma/common/allocator.c                     |   58 -
11905  src/liblzma/common/alone_decoder.c                 |   49 +-
11906  src/liblzma/common/alone_decoder.h                 |    9 +-
11907  src/liblzma/common/alone_encoder.c                 |   13 +-
11908  src/liblzma/common/auto_decoder.c                  |   38 +-
11909  src/liblzma/common/block_decoder.c                 |   67 +-
11910  src/liblzma/common/block_decoder.h                 |    2 +-
11911  src/liblzma/common/block_encoder.c                 |   42 +-
11912  src/liblzma/common/block_encoder.h                 |    2 +-
11913  src/liblzma/common/block_header_decoder.c          |    6 +-
11914  src/liblzma/common/block_header_encoder.c          |    9 +-
11915  src/liblzma/common/block_util.c                    |   10 +-
11916  src/liblzma/common/code.c                          |  203 ---
11917  src/liblzma/common/common.c                        |  298 +++++
11918  src/liblzma/common/common.h                        |  237 ++--
11919  src/liblzma/common/delta_common.c                  |   66 -
11920  src/liblzma/common/delta_common.h                  |   44 -
11921  src/liblzma/common/delta_decoder.c                 |   61 -
11922  src/liblzma/common/delta_decoder.h                 |   28 -
11923  src/liblzma/common/delta_encoder.c                 |   98 --
11924  src/liblzma/common/delta_encoder.h                 |   28 -
11925  src/liblzma/common/easy.c                          |   18 +-
11926  src/liblzma/common/features.c                      |   66 -
11927  src/liblzma/common/filter_common.c                 |  262 ++++
11928  src/liblzma/common/filter_common.h                 |   52 +
11929  src/liblzma/common/filter_decoder.c                |  236 ++++
11930  src/liblzma/common/filter_decoder.h                |   35 +
11931  src/liblzma/common/filter_encoder.c                |  308 +++++
11932  src/liblzma/common/filter_encoder.h                |   38 +
11933  src/liblzma/common/filter_flags_decoder.c          |  185 +--
11934  src/liblzma/common/filter_flags_encoder.c          |  261 +---
11935  src/liblzma/common/index_decoder.c                 |   14 +-
11936  src/liblzma/common/index_encoder.c                 |   16 +-
11937  src/liblzma/common/index_hash.c                    |    8 +-
11938  src/liblzma/common/init_encoder.c                  |    2 +-
11939  src/liblzma/common/memory_usage.c                  |  112 --
11940  src/liblzma/common/next_coder.c                    |   65 -
11941  src/liblzma/common/raw_common.c                    |  127 --
11942  src/liblzma/common/raw_common.h                    |   30 -
11943  src/liblzma/common/raw_decoder.c                   |  116 --
11944  src/liblzma/common/raw_decoder.h                   |   29 -
11945  src/liblzma/common/raw_encoder.c                   |  111 --
11946  src/liblzma/common/raw_encoder.h                   |   29 -
11947  src/liblzma/common/stream_common.c                 |   23 -
11948  src/liblzma/common/stream_common.h                 |   31 -
11949  src/liblzma/common/stream_decoder.c                |  238 +++-
11950  src/liblzma/common/stream_decoder.h                |    4 +-
11951  src/liblzma/common/stream_encoder.c                |   35 +-
11952  src/liblzma/common/stream_encoder.h                |    2 +-
11953  src/liblzma/common/stream_flags_common.c           |   40 +
11954  src/liblzma/common/stream_flags_common.h           |   31 +
11955  src/liblzma/common/stream_flags_decoder.c          |    2 +-
11956  src/liblzma/common/stream_flags_encoder.c          |    2 +-
11957  src/liblzma/common/stream_flags_equal.c            |   36 -
11958  src/liblzma/common/version.c                       |   25 -
11959  src/liblzma/common/vli_decoder.c                   |   29 +-
11960  src/liblzma/common/vli_encoder.c                   |   23 +-
11961  src/liblzma/common/vli_size.c                      |   37 +
11962  src/liblzma/delta/Makefile.am                      |   34 +
11963  src/liblzma/delta/delta_common.c                   |   66 +
11964  src/liblzma/delta/delta_common.h                   |   44 +
11965  src/liblzma/delta/delta_decoder.c                  |   82 ++
11966  src/liblzma/delta/delta_decoder.h                  |   32 +
11967  src/liblzma/delta/delta_encoder.c                  |  119 ++
11968  src/liblzma/delta/delta_encoder.h                  |   30 +
11969  src/liblzma/lz/Makefile.am                         |   35 +-
11970  src/liblzma/lz/bt2.c                               |   27 -
11971  src/liblzma/lz/bt2.h                               |   31 -
11972  src/liblzma/lz/bt3.c                               |   29 -
11973  src/liblzma/lz/bt3.h                               |   31 -
11974  src/liblzma/lz/bt4.c                               |   30 -
11975  src/liblzma/lz/bt4.h                               |   31 -
11976  src/liblzma/lz/hc3.c                               |   30 -
11977  src/liblzma/lz/hc3.h                               |   31 -
11978  src/liblzma/lz/hc4.c                               |   31 -
11979  src/liblzma/lz/hc4.h                               |   31 -
11980  src/liblzma/lz/lz_decoder.c                        |  547 +++-----
11981  src/liblzma/lz/lz_decoder.h                        |  308 ++---
11982  src/liblzma/lz/lz_encoder.c                        |  780 ++++++------
11983  src/liblzma/lz/lz_encoder.h                        |  334 +++--
11984  src/liblzma/lz/lz_encoder_hash.h                   |  104 ++
11985  src/liblzma/lz/lz_encoder_mf.c                     |  780 ++++++++++++
11986  src/liblzma/lz/lz_encoder_private.h                |   40 -
11987  src/liblzma/lz/match_c.h                           |  412 ------
11988  src/liblzma/lz/match_h.h                           |   69 --
11989  src/liblzma/lzma/Makefile.am                       |   37 +-
11990  src/liblzma/lzma/fastpos.h                         |    8 +-
11991  src/liblzma/lzma/lzma2_decoder.c                   |  318 +++++
11992  src/liblzma/lzma/lzma2_decoder.h                   |   35 +
11993  src/liblzma/lzma/lzma2_encoder.c                   |  406 ++++++
11994  src/liblzma/lzma/lzma2_encoder.h                   |   34 +
11995  src/liblzma/lzma/lzma_common.h                     |  208 +++-
11996  src/liblzma/lzma/lzma_decoder.c                    | 1306 ++++++++++++--------
11997  src/liblzma/lzma/lzma_decoder.h                    |   21 +-
11998  src/liblzma/lzma/lzma_encoder.c                    |  576 +++++++--
11999  src/liblzma/lzma/lzma_encoder.h                    |   38 +-
12000  src/liblzma/lzma/lzma_encoder_features.c           |    2 +-
12001  src/liblzma/lzma/lzma_encoder_getoptimum.c         |  925 --------------
12002  src/liblzma/lzma/lzma_encoder_getoptimumfast.c     |  201 ---
12003  src/liblzma/lzma/lzma_encoder_init.c               |  228 ----
12004  src/liblzma/lzma/lzma_encoder_optimum_fast.c       |  193 +++
12005  src/liblzma/lzma/lzma_encoder_optimum_normal.c     |  875 +++++++++++++
12006  src/liblzma/lzma/lzma_encoder_presets.c            |   52 +-
12007  src/liblzma/lzma/lzma_encoder_private.h            |  174 +--
12008  src/liblzma/lzma/lzma_literal.c                    |   51 -
12009  src/liblzma/lzma/lzma_literal.h                    |   71 --
12010  src/liblzma/rangecoder/Makefile.am                 |   10 +-
12011  src/liblzma/rangecoder/price.h                     |  111 ++
12012  src/liblzma/rangecoder/price_table.c               |   84 +-
12013  src/liblzma/rangecoder/price_table_gen.c           |   55 -
12014  src/liblzma/rangecoder/price_table_init.c          |   33 +-
12015  src/liblzma/rangecoder/price_tablegen.c            |   56 +
12016  src/liblzma/rangecoder/range_common.h              |   17 +-
12017  src/liblzma/rangecoder/range_decoder.h             |  209 ++--
12018  src/liblzma/rangecoder/range_encoder.h             |   92 +-
12019  src/liblzma/simple/Makefile.am                     |   12 +
12020  src/liblzma/simple/simple_coder.c                  |    8 +-
12021  src/liblzma/simple/simple_decoder.c                |   47 +
12022  src/liblzma/simple/simple_decoder.h                |   29 +
12023  src/liblzma/simple/simple_encoder.c                |   45 +
12024  src/liblzma/simple/simple_encoder.h                |   30 +
12025  src/liblzma/subblock/Makefile.am                   |    4 +-
12026  src/liblzma/subblock/subblock_decoder.c            |   20 +-
12027  src/liblzma/subblock/subblock_decoder_helper.c     |    2 +-
12028  src/liblzma/subblock/subblock_encoder.c            |   28 +-
12029  src/lzma/args.c                                    |   35 +-
12030  src/lzma/args.h                                    |    4 +-
12031  src/lzma/options.c                                 |   14 +-
12032  src/lzma/process.c                                 |   88 +-
12033  src/lzmadec/lzmadec.c                              |  157 +--
12034  tests/Makefile.am                                  |    1 +
12035  tests/files/README                                 |  303 ++---
12036  tests/files/bad-0-backward_size.lzma               |  Bin 0 -> 32 bytes
12037  tests/files/bad-0-empty-truncated.lzma             |  Bin 0 -> 31 bytes
12038  tests/files/bad-0-nonempty_index.lzma              |  Bin 0 -> 32 bytes
12039  tests/files/bad-0cat-alone.lzma                    |  Bin 0 -> 55 bytes
12040  tests/files/bad-0catpad-empty.lzma                 |  Bin 0 -> 69 bytes
12041  tests/files/bad-0pad-empty.lzma                    |  Bin 0 -> 37 bytes
12042  tests/files/bad-1-block_header-1.lzma              |  Bin 0 -> 64 bytes
12043  tests/files/bad-1-block_header-2.lzma              |  Bin 0 -> 64 bytes
12044  tests/files/bad-1-block_header-3.lzma              |  Bin 0 -> 68 bytes
12045  tests/files/bad-1-block_header-4.lzma              |  Bin 0 -> 72 bytes
12046  tests/files/bad-1-check-crc32.lzma                 |  Bin 0 -> 68 bytes
12047  tests/files/bad-1-check-crc64.lzma                 |  Bin 0 -> 72 bytes
12048  tests/files/bad-1-check-sha256.lzma                |  Bin 0 -> 96 bytes
12049  tests/files/bad-1-lzma2-1.lzma                     |  Bin 0 -> 64 bytes
12050  tests/files/bad-1-lzma2-2.lzma                     |  Bin 0 -> 424 bytes
12051  tests/files/bad-1-lzma2-3.lzma                     |  Bin 0 -> 424 bytes
12052  tests/files/bad-1-lzma2-4.lzma                     |  Bin 0 -> 408 bytes
12053  tests/files/bad-1-lzma2-5.lzma                     |  Bin 0 -> 408 bytes
12054  tests/files/bad-1-lzma2-6.lzma                     |  Bin 0 -> 68 bytes
12055  tests/files/bad-1-lzma2-7.lzma                     |  Bin 0 -> 408 bytes
12056  tests/files/bad-1-stream_flags-1.lzma              |  Bin 0 -> 68 bytes
12057  tests/files/bad-1-stream_flags-2.lzma              |  Bin 0 -> 68 bytes
12058  tests/files/bad-1-stream_flags-3.lzma              |  Bin 0 -> 68 bytes
12059  tests/files/bad-1-vli-1.lzma                       |  Bin 0 -> 72 bytes
12060  tests/files/bad-1-vli-2.lzma                       |  Bin 0 -> 72 bytes
12061  tests/files/bad-2-compressed_data_padding.lzma     |  Bin 0 -> 92 bytes
12062  tests/files/bad-2-index-1.lzma                     |  Bin 0 -> 92 bytes
12063  tests/files/bad-2-index-2.lzma                     |  Bin 0 -> 92 bytes
12064  tests/files/bad-2-index-3.lzma                     |  Bin 0 -> 92 bytes
12065  tests/files/bad-2-index-4.lzma                     |  Bin 0 -> 92 bytes
12066  tests/files/bad-cat-single-none-pad_garbage_1.lzma |  Bin 65 -> 0 bytes
12067  tests/files/bad-cat-single-none-pad_garbage_2.lzma |  Bin 65 -> 0 bytes
12068  tests/files/bad-cat-single-none-pad_garbage_3.lzma |  Bin 65 -> 0 bytes
12069  tests/files/bad-multi-none-1.lzma                  |  Bin 54 -> 0 bytes
12070  tests/files/bad-multi-none-2.lzma                  |  Bin 53 -> 0 bytes
12071  tests/files/bad-multi-none-3.lzma                  |  Bin 53 -> 0 bytes
12072  tests/files/bad-multi-none-block_1.lzma            |  Bin 66 -> 0 bytes
12073  tests/files/bad-multi-none-block_2.lzma            |  Bin 66 -> 0 bytes
12074  tests/files/bad-multi-none-block_3.lzma            |  Bin 58 -> 0 bytes
12075  tests/files/bad-multi-none-extra_1.lzma            |  Bin 54 -> 0 bytes
12076  tests/files/bad-multi-none-extra_2.lzma            |  Bin 54 -> 0 bytes
12077  tests/files/bad-multi-none-extra_3.lzma            |  Bin 55 -> 0 bytes
12078  tests/files/bad-multi-none-header_1.lzma           |  Bin 57 -> 0 bytes
12079  tests/files/bad-multi-none-header_2.lzma           |  Bin 61 -> 0 bytes
12080  tests/files/bad-multi-none-header_3.lzma           |  Bin 59 -> 0 bytes
12081  tests/files/bad-multi-none-header_4.lzma           |  Bin 59 -> 0 bytes
12082  tests/files/bad-multi-none-header_5.lzma           |  Bin 58 -> 0 bytes
12083  tests/files/bad-multi-none-header_6.lzma           |  Bin 59 -> 0 bytes
12084  tests/files/bad-multi-none-header_7.lzma           |  Bin 59 -> 0 bytes
12085  tests/files/bad-multi-none-index_1.lzma            |  Bin 51 -> 0 bytes
12086  tests/files/bad-multi-none-index_2.lzma            |  Bin 49 -> 0 bytes
12087  tests/files/bad-multi-none-index_3.lzma            |  Bin 51 -> 0 bytes
12088  tests/files/bad-multi-none-index_4.lzma            |  Bin 51 -> 0 bytes
12089  tests/files/bad-single-data_after_eopm_1.lzma      |  Bin 55 -> 0 bytes
12090  tests/files/bad-single-data_after_eopm_2.lzma      |  Bin 56 -> 0 bytes
12091  tests/files/bad-single-lzma-flush_beginning.lzma   |  Bin 53 -> 0 bytes
12092  tests/files/bad-single-lzma-flush_twice.lzma       |  Bin 63 -> 0 bytes
12093  tests/files/bad-single-none-empty.lzma             |  Bin 19 -> 0 bytes
12094  .../files/bad-single-none-footer_filter_flags.lzma |  Bin 30 -> 0 bytes
12095  tests/files/bad-single-none-too_long_vli.lzma      |  Bin 39 -> 0 bytes
12096  tests/files/bad-single-none-truncated.lzma         |  Bin 29 -> 0 bytes
12097  tests/files/bad-single-subblock-padding_loop.lzma  |  Bin 43 -> 0 bytes
12098  tests/files/bad-single-subblock1023-slow.lzma      |  Bin 7886 -> 0 bytes
12099  tests/files/bad-single-subblock_subblock.lzma      |  Bin 26 -> 0 bytes
12100  tests/files/good-0-empty.lzma                      |  Bin 0 -> 32 bytes
12101  tests/files/good-0cat-empty.lzma                   |  Bin 0 -> 64 bytes
12102  tests/files/good-0catpad-empty.lzma                |  Bin 0 -> 68 bytes
12103  tests/files/good-0pad-empty.lzma                   |  Bin 0 -> 36 bytes
12104  tests/files/good-1-3delta-lzma2.lzma               |  Bin 0 -> 528 bytes
12105  tests/files/good-1-block_header-1.lzma             |  Bin 0 -> 72 bytes
12106  tests/files/good-1-block_header-2.lzma             |  Bin 0 -> 68 bytes
12107  tests/files/good-1-block_header-3.lzma             |  Bin 0 -> 68 bytes
12108  tests/files/good-1-check-crc32.lzma                |  Bin 0 -> 68 bytes
12109  tests/files/good-1-check-crc64.lzma                |  Bin 0 -> 72 bytes
12110  tests/files/good-1-check-none.lzma                 |  Bin 0 -> 64 bytes
12111  tests/files/good-1-check-sha256.lzma               |  Bin 0 -> 96 bytes
12112  tests/files/good-1-delta-lzma2.tiff.lzma           |  Bin 0 -> 51312 bytes
12113  tests/files/good-1-lzma2-1.lzma                    |  Bin 0 -> 424 bytes
12114  tests/files/good-1-lzma2-2.lzma                    |  Bin 0 -> 424 bytes
12115  tests/files/good-1-lzma2-3.lzma                    |  Bin 0 -> 408 bytes
12116  tests/files/good-1-sparc-lzma2.lzma                |  Bin 0 -> 2292 bytes
12117  tests/files/good-1-x86-lzma2.lzma                  |  Bin 0 -> 1936 bytes
12118  tests/files/good-2-lzma2.lzma                      |  Bin 0 -> 92 bytes
12119  tests/files/good-cat-single-none-pad.lzma          |  Bin 64 -> 0 bytes
12120  tests/files/good-multi-none-1.lzma                 |  Bin 75 -> 0 bytes
12121  tests/files/good-multi-none-2.lzma                 |  Bin 53 -> 0 bytes
12122  tests/files/good-multi-none-block_1.lzma           |  Bin 66 -> 0 bytes
12123  tests/files/good-multi-none-block_2.lzma           |  Bin 58 -> 0 bytes
12124  tests/files/good-multi-none-extra_1.lzma           |  Bin 51 -> 0 bytes
12125  tests/files/good-multi-none-extra_2.lzma           |  Bin 79 -> 0 bytes
12126  tests/files/good-multi-none-extra_3.lzma           |  Bin 55 -> 0 bytes
12127  tests/files/good-multi-none-header_1.lzma          |  Bin 58 -> 0 bytes
12128  tests/files/good-multi-none-header_2.lzma          |  Bin 66 -> 0 bytes
12129  tests/files/good-multi-none-header_3.lzma          |  Bin 59 -> 0 bytes
12130  tests/files/good-single-delta-lzma.tiff.lzma       |  Bin 51409 -> 0 bytes
12131  tests/files/good-single-lzma-empty.lzma            |  Bin 21 -> 0 bytes
12132  tests/files/good-single-lzma-flush_1.lzma          |  Bin 48 -> 0 bytes
12133  tests/files/good-single-lzma-flush_2.lzma          |  Bin 63 -> 0 bytes
12134  tests/files/good-single-lzma.lzma                  |  Bin 44 -> 0 bytes
12135  tests/files/good-single-none-empty_1.lzma          |  Bin 18 -> 0 bytes
12136  tests/files/good-single-none-empty_2.lzma          |  Bin 26 -> 0 bytes
12137  tests/files/good-single-none-empty_3.lzma          |  Bin 19 -> 0 bytes
12138  tests/files/good-single-none-pad.lzma              |  Bin 32 -> 0 bytes
12139  tests/files/good-single-none.lzma                  |  Bin 30 -> 0 bytes
12140  tests/files/good-single-sparc-lzma.lzma            |  Bin 2263 -> 0 bytes
12141  tests/files/good-single-subblock-lzma.lzma         |  Bin 50 -> 0 bytes
12142  tests/files/good-single-subblock_implicit.lzma     |  Bin 35 -> 0 bytes
12143  tests/files/good-single-subblock_rle.lzma          |  Bin 118 -> 0 bytes
12144  tests/files/good-single-x86-lzma.lzma              |  Bin 1909 -> 0 bytes
12145  tests/files/malicious-multi-metadata-64PiB.lzma    |  Bin 51 -> 0 bytes
12146  tests/files/malicious-single-subblock-256MiB.lzma  |  Bin 30 -> 0 bytes
12147  tests/files/malicious-single-subblock-64PiB.lzma   |  Bin 45 -> 0 bytes
12148  tests/files/malicious-single-subblock31-slow.lzma  |  Bin 1233 -> 0 bytes
12149  tests/files/unsupported-block_header.lzma          |  Bin 0 -> 68 bytes
12150  tests/files/unsupported-check.lzma                 |  Bin 0 -> 68 bytes
12151  tests/files/unsupported-filter_flags-1.lzma        |  Bin 0 -> 68 bytes
12152  tests/files/unsupported-filter_flags-2.lzma        |  Bin 0 -> 68 bytes
12153  tests/files/unsupported-filter_flags-3.lzma        |  Bin 0 -> 68 bytes
12154  tests/test_block_header.c                          |   28 +-
12155  tests/test_compress.sh                             |    4 +-
12156  tests/test_filter_flags.c                          |   51 +-
12157  tests/test_stream_flags.c                          |    4 +-
12158  tests/tests.h                                      |    8 +
12159  294 files changed, 9768 insertions(+), 8195 deletions(-)
12160
12161 commit 57b9a145a527f0716822615e5ed536d33aebd3fc
12162 Author: Lasse Collin <lasse.collin@tukaani.org>
12163 Date:   2008-06-20 17:16:32 +0300
12164
12165     Fix test_filter_flags to match the new restriction of lc+lp.
12166
12167  tests/test_filter_flags.c | 3 +++
12168  1 file changed, 3 insertions(+)
12169
12170 commit eaafc4367c77ec1d910e16d11b4da293969d97a3
12171 Author: Lasse Collin <lasse.collin@tukaani.org>
12172 Date:   2008-06-20 16:19:54 +0300
12173
12174     Remove some redundant code from LZMA encoder.
12175
12176  src/liblzma/lzma/lzma_encoder.c | 15 +--------------
12177  1 file changed, 1 insertion(+), 14 deletions(-)
12178
12179 commit 0809c46534fa5664fe35d9e98d95e87312ed130e
12180 Author: Lasse Collin <lasse.collin@tukaani.org>
12181 Date:   2008-06-19 16:35:08 +0300
12182
12183     Add limit of lc + lp <= 4. Now we can allocate the
12184     literal coder as part of the main LZMA encoder or
12185     decoder structure.
12186     
12187     Make the LZMA decoder to rely on the current internal API
12188     to free the allocated memory in case an error occurs.
12189
12190  src/liblzma/api/lzma/lzma.h             | 10 +++++-
12191  src/liblzma/lzma/lzma_decoder.c         | 57 ++++++++-------------------------
12192  src/liblzma/lzma/lzma_encoder_init.c    | 13 ++++----
12193  src/liblzma/lzma/lzma_encoder_private.h |  2 +-
12194  src/liblzma/lzma/lzma_literal.c         | 39 +++++-----------------
12195  src/liblzma/lzma/lzma_literal.h         | 13 +++-----
12196  6 files changed, 43 insertions(+), 91 deletions(-)
12197
12198 commit d25ab1b96178f06a0e724f58e3cd68300b2b1275
12199 Author: Lasse Collin <lasse.collin@tukaani.org>
12200 Date:   2008-06-18 21:45:19 +0300
12201
12202     Comments
12203
12204  src/liblzma/lzma/lzma_encoder.c | 7 ++-----
12205  1 file changed, 2 insertions(+), 5 deletions(-)
12206
12207 commit 6368a2fa5901c75864be5171dd57a50af7adbb41
12208 Author: Lasse Collin <lasse.collin@tukaani.org>
12209 Date:   2008-06-18 19:19:02 +0300
12210
12211     Delete old code that was supposed to be already deleted
12212     from test_block_header.c.
12213
12214  tests/test_block_header.c | 30 ------------------------------
12215  1 file changed, 30 deletions(-)
12216
12217 commit 7d17818cec8597f847b0a2537fde991bbc3d9e96
12218 Author: Lasse Collin <lasse.collin@tukaani.org>
12219 Date:   2008-06-18 18:02:10 +0300
12220
12221     Update the code to mostly match the new simpler file format
12222     specification. Simplify things by removing most of the
12223     support for known uncompressed size in most places.
12224     There are some miscellaneous changes here and there too.
12225     
12226     The API of liblzma has got many changes and still some
12227     more will be done soon. While most of the code has been
12228     updated, some things are not fixed (the command line tool
12229     will choke with invalid filter chain, if nothing else).
12230     
12231     Subblock filter is somewhat broken for now. It will be
12232     updated once the encoded format of the Subblock filter
12233     has been decided.
12234
12235  configure.ac                                   |  41 +-
12236  debug/full_flush.c                             |  16 +-
12237  debug/sync_flush.c                             |  15 +-
12238  src/common/bswap.h                             |  44 ++
12239  src/common/integer.h                           | 167 +++++
12240  src/liblzma/api/Makefile.am                    |   5 +-
12241  src/liblzma/api/lzma.h                         |   9 +-
12242  src/liblzma/api/lzma/alone.h                   |  32 +-
12243  src/liblzma/api/lzma/auto.h                    |   7 +-
12244  src/liblzma/api/lzma/base.h                    |  15 +
12245  src/liblzma/api/lzma/block.h                   | 306 +++-------
12246  src/liblzma/api/lzma/check.h                   |  18 +-
12247  src/liblzma/api/lzma/copy.h                    |  29 -
12248  src/liblzma/api/lzma/easy.h                    |  61 +-
12249  src/liblzma/api/lzma/extra.h                   | 114 ----
12250  src/liblzma/api/lzma/filter.h                  |   5 +-
12251  src/liblzma/api/lzma/index.h                   | 204 ++++++-
12252  src/liblzma/api/lzma/index_hash.h              |  94 +++
12253  src/liblzma/api/lzma/info.h                    | 315 ----------
12254  src/liblzma/api/lzma/lzma.h                    |   2 +-
12255  src/liblzma/api/lzma/metadata.h                | 100 ---
12256  src/liblzma/api/lzma/raw.h                     |  20 +-
12257  src/liblzma/api/lzma/stream.h                  | 157 +----
12258  src/liblzma/api/lzma/stream_flags.h            | 146 +++--
12259  src/liblzma/api/lzma/version.h                 |   2 +-
12260  src/liblzma/api/lzma/vli.h                     |  83 ++-
12261  src/liblzma/check/Makefile.am                  |   1 -
12262  src/liblzma/check/check.c                      |  55 +-
12263  src/liblzma/check/check.h                      |  47 +-
12264  src/liblzma/check/check_byteswap.h             |  43 --
12265  src/liblzma/check/crc32_init.c                 |   2 +-
12266  src/liblzma/check/crc64_init.c                 |   2 +-
12267  src/liblzma/check/crc_macros.h                 |   2 +-
12268  src/liblzma/check/sha256.c                     |  53 +-
12269  src/liblzma/common/Makefile.am                 |  31 +-
12270  src/liblzma/common/alignment.c                 |   5 +-
12271  src/liblzma/common/alone_decoder.c             |  77 +--
12272  src/liblzma/common/alone_encoder.c             |  99 ++-
12273  src/liblzma/common/auto_decoder.c              |  18 +-
12274  src/liblzma/common/block_decoder.c             | 298 +++------
12275  src/liblzma/common/block_encoder.c             | 228 ++-----
12276  src/liblzma/common/block_header_decoder.c      | 400 +++---------
12277  src/liblzma/common/block_header_encoder.c      | 207 +++----
12278  src/liblzma/common/block_private.h             |  51 +-
12279  src/liblzma/common/block_util.c                |  73 +++
12280  src/liblzma/common/common.h                    |  44 +-
12281  src/liblzma/common/copy_coder.c                | 144 -----
12282  src/liblzma/common/copy_coder.h                |  31 -
12283  src/liblzma/common/delta_common.c              |   4 -
12284  src/liblzma/common/delta_common.h              |   4 -
12285  src/liblzma/common/delta_decoder.c             |  55 +-
12286  src/liblzma/common/delta_encoder.c             |   7 +-
12287  src/liblzma/common/easy.c                      | 122 ++++
12288  src/liblzma/common/easy_common.c               |  54 --
12289  src/liblzma/common/easy_common.h               |  28 -
12290  src/liblzma/common/easy_multi.c                | 103 ----
12291  src/liblzma/common/easy_single.c               |  37 --
12292  src/liblzma/common/extra.c                     |  34 --
12293  src/liblzma/common/features.c                  |   4 -
12294  src/liblzma/common/filter_flags_decoder.c      | 384 ++++--------
12295  src/liblzma/common/filter_flags_encoder.c      | 120 +---
12296  src/liblzma/common/index.c                     | 773 ++++++++++++++++++++---
12297  src/liblzma/common/index.h                     |  67 ++
12298  src/liblzma/common/index_decoder.c             | 252 ++++++++
12299  src/liblzma/common/index_encoder.c             | 222 +++++++
12300  src/liblzma/common/index_encoder.h             |  30 +
12301  src/liblzma/common/index_hash.c                | 340 +++++++++++
12302  src/liblzma/common/info.c                      | 814 -------------------------
12303  src/liblzma/common/memory_usage.c              |   1 -
12304  src/liblzma/common/metadata_decoder.c          | 578 ------------------
12305  src/liblzma/common/metadata_decoder.h          |  31 -
12306  src/liblzma/common/metadata_encoder.c          | 435 -------------
12307  src/liblzma/common/metadata_encoder.h          |  30 -
12308  src/liblzma/common/raw_common.c                | 178 ++----
12309  src/liblzma/common/raw_common.h                |   5 +-
12310  src/liblzma/common/raw_decoder.c               |  19 +-
12311  src/liblzma/common/raw_decoder.h               |   3 +-
12312  src/liblzma/common/raw_encoder.c               | 101 +--
12313  src/liblzma/common/raw_encoder.h               |   3 +-
12314  src/liblzma/common/stream_common.h             |   3 +
12315  src/liblzma/common/stream_decoder.c            | 458 +++++---------
12316  src/liblzma/common/stream_decoder.h            |  28 +
12317  src/liblzma/common/stream_encoder.c            | 282 +++++++++
12318  src/liblzma/common/stream_encoder.h            |  30 +
12319  src/liblzma/common/stream_encoder_multi.c      | 445 --------------
12320  src/liblzma/common/stream_encoder_multi.h      |  26 -
12321  src/liblzma/common/stream_encoder_single.c     | 219 -------
12322  src/liblzma/common/stream_flags_decoder.c      | 260 ++------
12323  src/liblzma/common/stream_flags_encoder.c      |  56 +-
12324  src/liblzma/common/stream_flags_equal.c        |  36 ++
12325  src/liblzma/common/vli_decoder.c               |  68 ++-
12326  src/liblzma/common/vli_encoder.c               |  59 +-
12327  src/liblzma/common/vli_reverse_decoder.c       |  55 --
12328  src/liblzma/lz/lz_decoder.c                    |   6 +-
12329  src/liblzma/lz/lz_decoder.h                    |  10 +-
12330  src/liblzma/lzma/lzma_decoder.c                |  13 +-
12331  src/liblzma/lzma/lzma_decoder.h                |  10 +-
12332  src/liblzma/simple/simple_coder.c              |  29 +-
12333  src/liblzma/simple/simple_private.h            |   4 -
12334  src/liblzma/subblock/subblock_decoder.c        | 106 +---
12335  src/liblzma/subblock/subblock_decoder_helper.c |   5 +-
12336  src/liblzma/subblock/subblock_encoder.c        |   8 +-
12337  src/lzma/args.c                                |  22 +-
12338  src/lzma/args.h                                |   2 -
12339  src/lzma/error.c                               |   6 +
12340  src/lzma/process.c                             |  26 +-
12341  src/lzmadec/lzmadec.c                          |   8 +-
12342  tests/Makefile.am                              |   5 +-
12343  tests/test_block_header.c                      | 411 +++++--------
12344  tests/test_compress.sh                         |  65 +-
12345  tests/test_filter_flags.c                      | 116 ++--
12346  tests/test_index.c                             | 504 ++++++++++++++-
12347  tests/test_info.c                              | 717 ----------------------
12348  tests/test_stream_flags.c                      | 134 ++--
12349  tests/tests.h                                  |  14 +-
12350  115 files changed, 4846 insertions(+), 8156 deletions(-)
12351
12352 commit bf6348d1a3ff09fdc06940468f318f75ffa6af11
12353 Author: Lasse Collin <lasse.collin@tukaani.org>
12354 Date:   2008-06-17 15:03:46 +0300
12355
12356     Update the file format specification draft. The new one is
12357     a lot simpler than the previous versions, but it also means
12358     that the existing code will change a lot.
12359
12360  doc/file-format.txt | 1794 +++++++++++++++------------------------------------
12361  1 file changed, 508 insertions(+), 1286 deletions(-)
12362
12363 commit 803194ddd26f01ff60ba4e9924c6087a56b29827
12364 Author: Lasse Collin <lasse.collin@tukaani.org>
12365 Date:   2008-06-11 21:42:47 +0300
12366
12367     Fix uninitialized variable in LZMA encoder. This was
12368     introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f.
12369
12370  src/liblzma/lzma/lzma_encoder_init.c | 2 ++
12371  1 file changed, 2 insertions(+)
12372
12373 commit 0ea98e52ba87453497b1355c51f13bad55c8924a
12374 Author: Lasse Collin <lasse.collin@tukaani.org>
12375 Date:   2008-06-11 15:08:44 +0300
12376
12377     Improve command line integer parsing a little in lzma and
12378     lzmadec to make them accept also KiB in addition Ki etc.
12379     Fix also memory usage information in lzmadec --help.
12380
12381  src/lzma/util.c       | 23 ++++++++++++++---------
12382  src/lzmadec/lzmadec.c | 31 ++++++++++++++++++-------------
12383  2 files changed, 32 insertions(+), 22 deletions(-)
12384
12385 commit 436fa5fae96d4e35759aed33066060f09ee8c6ef
12386 Author: Lasse Collin <lasse.collin@tukaani.org>
12387 Date:   2008-06-10 20:36:12 +0300
12388
12389     s/decompressed/compressed/ in the command line tool's
12390     error message.
12391
12392  src/lzma/main.c | 2 +-
12393  1 file changed, 1 insertion(+), 1 deletion(-)
12394
12395 commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f
12396 Author: Lasse Collin <lasse.collin@tukaani.org>
12397 Date:   2008-06-01 12:48:17 +0300
12398
12399     Fix a buffer overflow in the LZMA encoder. It was due to my
12400     misunderstanding of the code. There's no tiny fix for this
12401     problem, so I also cleaned up the code in general.
12402     
12403     This reduces the speed of the encoder 2-5 % in the fastest
12404     compression mode ("lzma -1"). High compression modes should
12405     have no noticeable performance difference.
12406     
12407     This commit breaks things (especially LZMA_SYNC_FLUSH) but I
12408     will fix them once the new format and LZMA2 has been roughly
12409     implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all
12410     and won't be supported in the new .lzma format. This may
12411     change still but this is what it looks like now.
12412     
12413     Support for known uncompressed size (that is, LZMA or LZMA2
12414     without EOPM) is likely to go away. This means there will
12415     be API changes.
12416
12417  src/liblzma/lz/lz_encoder.c                    | 113 +----
12418  src/liblzma/lz/lz_encoder.h                    |  18 +-
12419  src/liblzma/lzma/lzma_encoder.c                | 551 ++++++++++++-------------
12420  src/liblzma/lzma/lzma_encoder_getoptimum.c     |  59 ++-
12421  src/liblzma/lzma/lzma_encoder_getoptimumfast.c |   4 +-
12422  src/liblzma/lzma/lzma_encoder_init.c           |   9 +-
12423  src/liblzma/lzma/lzma_encoder_private.h        |  15 +-
12424  src/liblzma/rangecoder/range_encoder.h         | 383 +++++++++--------
12425  8 files changed, 532 insertions(+), 620 deletions(-)
12426
12427 commit e55e0e873ce2511325749d415ae547d62ab5f00d
12428 Author: Lasse Collin <lasse.collin@tukaani.org>
12429 Date:   2008-05-30 11:53:41 +0300
12430
12431     Typo fixes from meyering.
12432
12433  doc/faq.txt              | 4 ++--
12434  doc/liblzma-advanced.txt | 2 +-
12435  2 files changed, 3 insertions(+), 3 deletions(-)
12436
12437 commit ed6664146fcbe9cc4a3b23b31632182ed812ea93
12438 Author: Lasse Collin <lasse.collin@tukaani.org>
12439 Date:   2008-05-11 14:24:42 +0300
12440
12441     Remove support for pre-C89 libc versions that lack memcpy,
12442     memmove, and memset.
12443
12444  configure.ac                   |  2 +-
12445  src/common/sysdefs.h           | 15 ++-------------
12446  src/liblzma/common/allocator.c |  2 +-
12447  3 files changed, 4 insertions(+), 15 deletions(-)
12448
12449 commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63
12450 Author: Lasse Collin <lasse.collin@tukaani.org>
12451 Date:   2008-05-11 14:17:21 +0300
12452
12453     Improved C99 compiler detection in configure.ac. It will
12454     pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic
12455     should still give warnings about GNU extensions like before
12456     except with some special keywords like asm().
12457
12458  configure.ac | 24 ++++++++++++------------
12459  1 file changed, 12 insertions(+), 12 deletions(-)
12460
12461 commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf
12462 Author: Lasse Collin <lasse.collin@tukaani.org>
12463 Date:   2008-05-06 15:15:07 +0300
12464
12465     Bunch of grammar fixes from meyering.
12466
12467  doc/liblzma-security.txt        | 8 ++++----
12468  src/liblzma/api/lzma/memlimit.h | 6 +++---
12469  src/lzma/help.c                 | 2 +-
12470  tests/files/README              | 2 +-
12471  4 files changed, 9 insertions(+), 9 deletions(-)
12472
12473 commit dc192b6343ae36276c85fcf7ef6006147816eadc
12474 Author: Lasse Collin <lasse.collin@tukaani.org>
12475 Date:   2008-05-06 13:41:05 +0300
12476
12477     Typo fix
12478
12479  src/liblzma/api/lzma/init.h | 2 +-
12480  1 file changed, 1 insertion(+), 1 deletion(-)
12481
12482 commit 944b62b93239b27b338d117f2668c0e95849659b
12483 Author: Lasse Collin <lasse.collin@tukaani.org>
12484 Date:   2008-05-04 22:29:27 +0300
12485
12486     Don't print an error message on broken pipe unless --verbose
12487     is used.
12488
12489  src/lzma/io.c | 15 ++++++++++++++-
12490  1 file changed, 14 insertions(+), 1 deletion(-)
12491
12492 commit 8e074349e47ea6832b8fdf9244e581d453733433
12493 Author: Lasse Collin <lasse.collin@tukaani.org>
12494 Date:   2008-04-30 22:16:17 +0300
12495
12496     Fix a crash with --format=alone if other filters than LZMA
12497     are specified on the command line.
12498
12499  src/lzma/args.c | 9 +++++++++
12500  1 file changed, 9 insertions(+)
12501
12502 commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73
12503 Author: Lasse Collin <lasse.collin@tukaani.org>
12504 Date:   2008-04-28 17:08:27 +0300
12505
12506     Updated THANKS.
12507
12508  THANKS | 1 +
12509  1 file changed, 1 insertion(+)
12510
12511 commit 3be21fb12f4cec2cf07799e8960382f4cb375369
12512 Author: Lasse Collin <lasse.collin@tukaani.org>
12513 Date:   2008-04-28 17:06:34 +0300
12514
12515     Fixed wrong spelling "limitter" to "limiter". This affects
12516     liblzma's API.
12517
12518  doc/liblzma-security.txt             |  14 +-
12519  src/liblzma/api/lzma/base.h          |   4 +-
12520  src/liblzma/api/lzma/memlimit.h      |  10 +-
12521  src/liblzma/api/lzma/stream.h        |   4 +-
12522  src/liblzma/common/Makefile.am       |   2 +-
12523  src/liblzma/common/memory_limiter.c  | 288 +++++++++++++++++++++++++++++++++++
12524  src/liblzma/common/memory_limitter.c | 288 -----------------------------------
12525  src/lzma/list.c                      |   6 +-
12526  src/lzmadec/lzmadec.c                |  12 +-
12527  tests/test_memlimit.c                |   4 +-
12528  10 files changed, 316 insertions(+), 316 deletions(-)
12529
12530 commit beeb81060821dfec4e7898e0d44b7900dcb2215e
12531 Author: Lasse Collin <lasse.collin@tukaani.org>
12532 Date:   2008-04-25 15:39:50 +0300
12533
12534     Prevent LZ encoder from hanging with known uncompressed
12535     size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream
12536     with known uncompressed size, but since it currently seems
12537     likely that support for encoding with known uncompressed
12538     size will go away anyway, I'm not fixing this problem now.
12539
12540  src/liblzma/lz/lz_encoder.c | 9 +++++++--
12541  1 file changed, 7 insertions(+), 2 deletions(-)
12542
12543 commit c324325f9f13cdeb92153c5d00962341ba070ca2
12544 Author: Lasse Collin <lasse.collin@tukaani.org>
12545 Date:   2008-04-25 13:58:56 +0300
12546
12547     Removed src/liblzma/common/sysdefs.h symlink, which was
12548     annoying, because "make dist" put two copies of sysdefs.h
12549     into the tarball instead of the symlink.
12550
12551  src/liblzma/check/crc32_table.c | 2 +-
12552  src/liblzma/check/crc64_table.c | 2 +-
12553  src/liblzma/common/Makefile.am  | 1 -
12554  src/liblzma/common/common.h     | 2 +-
12555  src/liblzma/common/sysdefs.h    | 1 -
12556  5 files changed, 3 insertions(+), 5 deletions(-)
12557
12558 commit d3ba30243c75c13d094de1793f9c58acdbacc692
12559 Author: Lasse Collin <lasse.collin@tukaani.org>
12560 Date:   2008-04-25 13:41:29 +0300
12561
12562     Added memusage.c to debug directory.
12563
12564  debug/Makefile.am |  3 ++-
12565  debug/memusage.c  | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
12566  2 files changed, 57 insertions(+), 1 deletion(-)
12567
12568 commit 8f804c29aa8471ccd6438ddca254092b8869ca52
12569 Author: Lasse Collin <lasse.collin@tukaani.org>
12570 Date:   2008-04-25 13:32:35 +0300
12571
12572     Bumped version number to 4.999.3alpha. It will become 5.0.0
12573     once we have a stable release (won't be very soon). The
12574     version number is no longer related to version of LZMA SDK.
12575     
12576     Made some small Automake-related changes to toplevel
12577     Makefile.am and configure.ac.
12578
12579  Makefile.am                    |  7 +++++--
12580  README                         | 29 +++++++++++++++++++++++++++++
12581  configure.ac                   |  4 ++--
12582  src/liblzma/api/lzma/version.h | 22 ++++++++++------------
12583  4 files changed, 46 insertions(+), 16 deletions(-)
12584
12585 commit c99037ea10f121cbacf60c37a36c29768ae53447
12586 Author: Lasse Collin <lasse.collin@tukaani.org>
12587 Date:   2008-04-24 20:25:39 +0300
12588
12589     Fix a memory leak by calling free(extra->data) in
12590     lzma_extra_free().
12591
12592  src/liblzma/common/extra.c | 1 +
12593  1 file changed, 1 insertion(+)
12594
12595 commit 22ba3b0b5043fa481903482ce85015fe775939e5
12596 Author: Lasse Collin <lasse.collin@tukaani.org>
12597 Date:   2008-04-24 20:23:05 +0300
12598
12599     Make unlzma and lzcat symlinks.
12600
12601  src/lzma/Makefile.am | 12 ++++++++++++
12602  1 file changed, 12 insertions(+)
12603
12604 commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e
12605 Author: Lasse Collin <lasse.collin@tukaani.org>
12606 Date:   2008-04-24 20:20:27 +0300
12607
12608     Fixed a bug in command line option parsing.
12609
12610  src/lzma/options.c | 2 +-
12611  1 file changed, 1 insertion(+), 1 deletion(-)
12612
12613 commit 283f939974c32c47f05d495e8dea455ec646ed64
12614 Author: Lasse Collin <lasse.collin@tukaani.org>
12615 Date:   2008-04-24 20:19:20 +0300
12616
12617     Added two assert()s.
12618
12619  src/liblzma/lzma/lzma_encoder.c | 4 +++-
12620  1 file changed, 3 insertions(+), 1 deletion(-)
12621
12622 commit eb348a60b6e19a7c093f892434f23c4756973ffd
12623 Author: Lasse Collin <lasse.collin@tukaani.org>
12624 Date:   2008-04-24 19:22:53 +0300
12625
12626     Switch to uint16_t as the type of range coder probabilities.
12627
12628  src/liblzma/rangecoder/range_common.h | 25 +++++++++++++++++++------
12629  1 file changed, 19 insertions(+), 6 deletions(-)
12630
12631 commit 6c5306e312bcfd254cf654f88c04e34ba786df3d
12632 Author: Lasse Collin <lasse.collin@tukaani.org>
12633 Date:   2008-04-24 18:39:57 +0300
12634
12635     Fix wrong return type (uint32_t -> bool).
12636
12637  src/liblzma/lz/lz_encoder.c | 2 +-
12638  src/liblzma/lz/lz_encoder.h | 2 +-
12639  2 files changed, 2 insertions(+), 2 deletions(-)
12640
12641 commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8
12642 Author: Lasse Collin <lasse.collin@tukaani.org>
12643 Date:   2008-04-24 18:38:00 +0300
12644
12645     Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH.
12646
12647  src/liblzma/lz/lz_encoder.c | 16 ++++++++++++++++
12648  src/liblzma/lz/lz_encoder.h |  4 ++++
12649  src/liblzma/lz/match_c.h    | 23 ++++++++++++++++++-----
12650  3 files changed, 38 insertions(+), 5 deletions(-)
12651
12652 commit bc04486e368d20b3027cde625267762aae063965
12653 Author: Lasse Collin <lasse.collin@tukaani.org>
12654 Date:   2008-04-24 17:33:01 +0300
12655
12656     Fix fastpos problem in Makefile.am when built with --enable-small.
12657
12658  src/liblzma/lzma/Makefile.am | 5 ++++-
12659  1 file changed, 4 insertions(+), 1 deletion(-)
12660
12661 commit 7ab493924e0ed590a5121a15ee54038d238880d3
12662 Author: Lasse Collin <lasse.collin@tukaani.org>
12663 Date:   2008-04-24 17:30:51 +0300
12664
12665     Use 64-bit integer as range encoder's cache size. This fixes a
12666     theoretical data corruption, which should be very hard to trigger
12667     even intentionally.
12668
12669  src/liblzma/rangecoder/range_encoder.h | 2 +-
12670  1 file changed, 1 insertion(+), 1 deletion(-)
12671
12672 commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b
12673 Author: Lasse Collin <lasse.collin@tukaani.org>
12674 Date:   2008-03-24 16:38:40 +0200
12675
12676     Replaced the range decoder optimization that used arithmetic
12677     right shift with as fast version that doesn't need
12678     arithmetic right shift. Removed the related check from
12679     configure.ac.
12680
12681  configure.ac                           |  1 -
12682  m4/ax_c_arithmetic_rshift.m4           | 36 -----------------------
12683  src/liblzma/rangecoder/range_decoder.h | 53 ++++++++++------------------------
12684  3 files changed, 16 insertions(+), 74 deletions(-)
12685
12686 commit ad999efd279d95f1e7ac555b14170e8e9020488c
12687 Author: Lasse Collin <lasse.collin@tukaani.org>
12688 Date:   2008-03-22 14:39:34 +0200
12689
12690     Take advantage of arithmetic right shift in range decoder.
12691
12692  src/liblzma/rangecoder/range_decoder.h | 52 ++++++++++++++++++++++++----------
12693  1 file changed, 37 insertions(+), 15 deletions(-)
12694
12695 commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d
12696 Author: Lasse Collin <lasse.collin@tukaani.org>
12697 Date:   2008-03-22 14:18:29 +0200
12698
12699     Added autoconf check to detect if we can use arithmetic
12700     right shift for optimizations.
12701
12702  configure.ac                 |  1 +
12703  m4/ax_c_arithmetic_rshift.m4 | 36 ++++++++++++++++++++++++++++++++++++
12704  2 files changed, 37 insertions(+)
12705
12706 commit 7521bbdc83acab834594a22bec50c8e1bd836298
12707 Author: Lasse Collin <lasse.collin@tukaani.org>
12708 Date:   2008-03-22 01:26:36 +0200
12709
12710     Update a comment to use the variable name rep_len_decoder.
12711     
12712     (And BTW, the previous commit actually did change the
12713     program logic slightly.)
12714
12715  src/liblzma/lzma/lzma_decoder.c | 2 +-
12716  1 file changed, 1 insertion(+), 1 deletion(-)
12717
12718 commit 63b74d000eedaebb8485f623e56864ff5ab71064
12719 Author: Lasse Collin <lasse.collin@tukaani.org>
12720 Date:   2008-03-22 00:57:33 +0200
12721
12722     Demystified the "state" variable in LZMA code. Use the
12723     word literal instead of char for better consistency.
12724     There are still some names with _char instead of _literal
12725     in lzma_optimum, these may be changed later.
12726     
12727     Renamed length coder variables.
12728     
12729     This commit doesn't change the program logic.
12730
12731  src/liblzma/lzma/lzma_common.h             | 69 ++++++++++++++++++++++--------
12732  src/liblzma/lzma/lzma_decoder.c            | 47 ++++++++++----------
12733  src/liblzma/lzma/lzma_encoder.c            | 14 +++---
12734  src/liblzma/lzma/lzma_encoder_getoptimum.c | 34 +++++++--------
12735  src/liblzma/lzma/lzma_encoder_init.c       |  5 ++-
12736  src/liblzma/lzma/lzma_encoder_private.h    |  8 ++--
12737  6 files changed, 107 insertions(+), 70 deletions(-)
12738
12739 commit e6eb0a26757e851cef62b9440319a8e73b015cb9
12740 Author: Lasse Collin <lasse.collin@tukaani.org>
12741 Date:   2008-03-14 23:16:11 +0200
12742
12743     Fix data corruption in LZMA encoder. Note that this bug was
12744     specific to liblzma and was *not* present in LZMA SDK.
12745
12746  src/liblzma/lzma/lzma_encoder.c | 4 ++++
12747  1 file changed, 4 insertions(+)
12748
12749 commit 7d516f5129e4373a6d57249d7f608c634c66bf12
12750 Author: Lasse Collin <lasse.collin@tukaani.org>
12751 Date:   2008-03-14 21:32:37 +0200
12752
12753     Fix a comment API header.
12754
12755  src/liblzma/api/lzma/lzma.h | 2 +-
12756  1 file changed, 1 insertion(+), 1 deletion(-)
12757
12758 commit 748d6e4274921a350bd0a317380309717441ef9c
12759 Author: Lasse Collin <lasse.collin@tukaani.org>
12760 Date:   2008-03-12 23:14:50 +0200
12761
12762     Make lzma_stream.next_in const. Let's see if anyone complains.
12763
12764  src/liblzma/api/lzma/base.h | 2 +-
12765  1 file changed, 1 insertion(+), 1 deletion(-)
12766
12767 commit bfde3b24a5ae25ce53c854762b6148952386b025
12768 Author: Lasse Collin <lasse.collin@tukaani.org>
12769 Date:   2008-03-11 15:35:34 +0200
12770
12771     Apply a minor speed optimization to LZMA decoder.
12772
12773  src/liblzma/lzma/lzma_decoder.c | 85 +++++++++++++++++++++--------------------
12774  1 file changed, 43 insertions(+), 42 deletions(-)
12775
12776 commit f310c50286d9e4e9c6170bb65348c9bb430a65b4
12777 Author: Lasse Collin <lasse.collin@tukaani.org>
12778 Date:   2008-03-11 15:17:16 +0200
12779
12780     Initialize the last byte of the dictionary to zero so that
12781     lz_get_byte(lz, 0) returns zero. This was broken by
12782     1a3b21859818e4d8e89a1da99699233c1bfd197d.
12783
12784  src/liblzma/lz/lz_decoder.c | 1 +
12785  1 file changed, 1 insertion(+)
12786
12787 commit 5ead36cf7f823093672a4e43c3180b38c9abbaff
12788 Author: Lasse Collin <lasse.collin@tukaani.org>
12789 Date:   2008-03-10 15:57:55 +0200
12790
12791     Really fix the price count initialization.
12792
12793  src/liblzma/lzma/lzma_encoder_init.c | 4 ++--
12794  1 file changed, 2 insertions(+), 2 deletions(-)
12795
12796 commit d4d7feb83d1a1ded8f662a82e21e053841ca726c
12797 Author: Lasse Collin <lasse.collin@tukaani.org>
12798 Date:   2008-03-10 13:47:17 +0200
12799
12800     Updated THANKS.
12801
12802  THANKS | 1 +
12803  1 file changed, 1 insertion(+)
12804
12805 commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258
12806 Author: Lasse Collin <lasse.collin@tukaani.org>
12807 Date:   2008-03-10 13:46:48 +0200
12808
12809     Initialize align_price_count and match_price_count in
12810     lzma_encoder_init.c. While we don't call
12811     fill_distances_prices() and fill_align_prices() in
12812     lzma_lzma_encoder_init(), we still need to initialize
12813     these two variables so that the fill functions get
12814     called in lzma_encoder_getoptimum.c in the beginning
12815     of a stream.
12816
12817  src/liblzma/lzma/lzma_encoder_init.c | 2 ++
12818  1 file changed, 2 insertions(+)
12819
12820 commit 596fa1fac72823e4ef5bc26bb53f9090445bf748
12821 Author: Lasse Collin <lasse.collin@tukaani.org>
12822 Date:   2008-03-10 13:44:29 +0200
12823
12824     Always initialize lz->temp_size in lz_decoder.c. temp_size did
12825     get initialized as a side-effect after allocating a new decoder,
12826     but not when the decoder was reused.
12827
12828  src/liblzma/lz/lz_decoder.c | 11 ++++++-----
12829  1 file changed, 6 insertions(+), 5 deletions(-)
12830
12831 commit 45e43e169527e7a98a8c8a821d37bf25822b764d
12832 Author: Lasse Collin <lasse.collin@tukaani.org>
12833 Date:   2008-03-10 13:41:25 +0200
12834
12835     Don't fill allocated memory with 0xFD when debugging is
12836     enabled. It hides errors from Valgrind.
12837
12838  src/liblzma/common/allocator.c | 7 ++++---
12839  1 file changed, 4 insertions(+), 3 deletions(-)
12840
12841 commit c0e19e0662205f81a86da8903cdc325d50635870
12842 Author: Lasse Collin <lasse.collin@tukaani.org>
12843 Date:   2008-02-28 10:24:31 +0200
12844
12845     Remove two redundant validity checks from the LZMA decoder.
12846     These are already checked elsewhere, so omitting these
12847     gives (very) tiny speed up.
12848
12849  src/liblzma/lzma/lzma_decoder.c | 23 ++++-------------------
12850  1 file changed, 4 insertions(+), 19 deletions(-)
12851
12852 commit de7485806284d1614095ae8cb2ebbb5d74c9ac45
12853 Author: Lasse Collin <lasse.collin@tukaani.org>
12854 Date:   2008-02-06 13:25:32 +0200
12855
12856     Tiny clean up to file-format.txt.
12857
12858  doc/file-format.txt | 6 +++---
12859  1 file changed, 3 insertions(+), 3 deletions(-)
12860
12861 commit 1a3b21859818e4d8e89a1da99699233c1bfd197d
12862 Author: Lasse Collin <lasse.collin@tukaani.org>
12863 Date:   2008-02-02 14:51:06 +0200
12864
12865     Don't memzero() the history buffer when initializing LZ
12866     decoder. There's no danger of information leak here, so
12867     it isn't required. Doing memzero() takes a lot of time
12868     with large dictionaries, which could make it easier to
12869     construct DoS attack to consume too much CPU time.
12870
12871  src/liblzma/lz/lz_decoder.c | 7 +++----
12872  1 file changed, 3 insertions(+), 4 deletions(-)
12873
12874 commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0
12875 Author: Lasse Collin <lasse.collin@tukaani.org>
12876 Date:   2008-02-01 08:39:26 +0200
12877
12878     Do uncompressed size validation in raw encoder. This way
12879     it gets done for not only raw encoder, but also Block
12880     and LZMA_Alone encoders.
12881
12882  src/liblzma/common/raw_encoder.c | 90 ++++++++++++++++++++++++++++++++--------
12883  1 file changed, 73 insertions(+), 17 deletions(-)
12884
12885 commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc
12886 Author: Lasse Collin <lasse.collin@tukaani.org>
12887 Date:   2008-02-01 08:32:05 +0200
12888
12889     Avoid unneeded function call in raw_common.c.
12890
12891  src/liblzma/common/raw_common.c | 20 +++++++++++---------
12892  1 file changed, 11 insertions(+), 9 deletions(-)
12893
12894 commit b596fac963c3ff96f615d4d9b427a213ec341211
12895 Author: Lasse Collin <lasse.collin@tukaani.org>
12896 Date:   2008-01-26 21:42:38 +0200
12897
12898     Updated THANKS.
12899
12900  THANKS | 1 +
12901  1 file changed, 1 insertion(+)
12902
12903 commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2
12904 Author: Lasse Collin <lasse.collin@tukaani.org>
12905 Date:   2008-01-26 21:40:23 +0200
12906
12907     Added note.GNU-stack to x86 assembler files. It is needed
12908     when using non-executable stack.
12909
12910  src/liblzma/check/crc32_x86.S | 9 +++++++++
12911  src/liblzma/check/crc64_x86.S | 9 +++++++++
12912  2 files changed, 18 insertions(+)
12913
12914 commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae
12915 Author: Lasse Collin <lasse.collin@tukaani.org>
12916 Date:   2008-01-26 19:12:50 +0200
12917
12918     Added api/lzma/easy.h. I had forgot to add this to the
12919     git repo. Thanks to Stephan Kulow.
12920
12921  src/liblzma/api/lzma/easy.h | 174 ++++++++++++++++++++++++++++++++++++++++++++
12922  1 file changed, 174 insertions(+)
12923
12924 commit 288b232f54c3692cd36f471d4042f51daf3ea79f
12925 Author: Lasse Collin <lasse.collin@tukaani.org>
12926 Date:   2008-01-26 11:09:17 +0200
12927
12928     Added more test files.
12929
12930  tests/files/README                       |  11 +++++++++++
12931  tests/files/bad-multi-none-header_7.lzma | Bin 0 -> 59 bytes
12932  tests/files/good-single-sparc-lzma.lzma  | Bin 0 -> 2263 bytes
12933  tests/files/good-single-x86-lzma.lzma    | Bin 0 -> 1909 bytes
12934  4 files changed, 11 insertions(+)
12935
12936 commit c467b0defccf233d0c79234407bc38d7d09574d3
12937 Author: Lasse Collin <lasse.collin@tukaani.org>
12938 Date:   2008-01-26 10:47:55 +0200
12939
12940     Added more test files.
12941
12942  tests/files/README                       |   6 ++++++
12943  tests/files/bad-multi-none-block_3.lzma  | Bin 0 -> 58 bytes
12944  tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes
12945  3 files changed, 6 insertions(+)
12946
12947 commit f9842f712732c482f2def9f24437851e57dd83f8
12948 Author: Lasse Collin <lasse.collin@tukaani.org>
12949 Date:   2008-01-26 00:25:34 +0200
12950
12951     Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any
12952     of the so called simple filters. If there is demand, limited
12953     support for LZMA_SYNC_FLUSH may be added in future.
12954     
12955     After this commit, using LZMA_SYNC_FLUSH shouldn't cause
12956     undefined behavior in any situation.
12957
12958  src/liblzma/api/lzma/simple.h     | 9 +++++++++
12959  src/liblzma/simple/simple_coder.c | 8 ++++++++
12960  2 files changed, 17 insertions(+)
12961
12962 commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa
12963 Author: Lasse Collin <lasse.collin@tukaani.org>
12964 Date:   2008-01-25 23:50:35 +0200
12965
12966     Added more Multi-Block test files. Improved some
12967     descriptions in the test files' README.
12968
12969  tests/files/README                       |  34 +++++++++++++++++++++++++------
12970  tests/files/bad-multi-none-block_1.lzma  | Bin 0 -> 66 bytes
12971  tests/files/bad-multi-none-block_2.lzma  | Bin 0 -> 66 bytes
12972  tests/files/good-multi-none-block_1.lzma | Bin 0 -> 66 bytes
12973  4 files changed, 28 insertions(+), 6 deletions(-)
12974
12975 commit 4441e004185cd4c61bda184010eca5924c9dec87
12976 Author: Lasse Collin <lasse.collin@tukaani.org>
12977 Date:   2008-01-25 23:12:36 +0200
12978
12979     Combine lzma_options_block validation needed by both Block
12980     encoder and decoder, and put the shared things to
12981     block_private.h. Improved the checks a little so that
12982     they may detect too big Compressed Size at initialization
12983     time if lzma_options_block.total_size or .total_limit is
12984     known.
12985     
12986     Allow encoding and decoding Blocks with combinations of
12987     fields that are not allowed by the file format specification.
12988     Doing this requires that the application passes such a
12989     combination in lzma_options_lzma; liblzma doesn't do that,
12990     but it's not impossible that someone could find them useful
12991     in some custom file format.
12992
12993  src/liblzma/common/block_decoder.c | 37 ++++++++++++----------------
12994  src/liblzma/common/block_encoder.c | 32 +++++-------------------
12995  src/liblzma/common/block_private.h | 50 ++++++++++++++++++++++++++++++++++++++
12996  3 files changed, 71 insertions(+), 48 deletions(-)
12997
12998 commit bf4200c818fcf9102e56328d39cde91bfa13cfb6
12999 Author: Lasse Collin <lasse.collin@tukaani.org>
13000 Date:   2008-01-25 19:21:22 +0200
13001
13002     Added test_memlimit.c.
13003
13004  tests/Makefile.am     |   2 +
13005  tests/test_memlimit.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++
13006  2 files changed, 116 insertions(+)
13007
13008 commit 7b8fc7e6b501a32a36636dac79ecb57099269005
13009 Author: Lasse Collin <lasse.collin@tukaani.org>
13010 Date:   2008-01-25 19:20:28 +0200
13011
13012     Improved the memory limitter:
13013       - Added lzma_memlimit_max() and lzma_memlimit_reached()
13014         API functions.
13015       - Added simple estimation of malloc()'s memory usage
13016         overhead.
13017       - Fixed integer overflow detection in lzma_memlimit_alloc().
13018       - Made some white space cleanups and added more comments.
13019     
13020     The description of lzma_memlimit_max() in memlimit.h is bad
13021     and should be improved.
13022
13023  src/liblzma/api/lzma/memlimit.h      | 35 +++++++++++++
13024  src/liblzma/common/memory_limitter.c | 97 ++++++++++++++++++++++++++++++------
13025  2 files changed, 118 insertions(+), 14 deletions(-)
13026
13027 commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db
13028 Author: Lasse Collin <lasse.collin@tukaani.org>
13029 Date:   2008-01-25 13:55:52 +0200
13030
13031     Use more parenthesis in succeed() macro in tests/tests.h.
13032
13033  tests/tests.h | 2 +-
13034  1 file changed, 1 insertion(+), 1 deletion(-)
13035
13036 commit 1fd76d488179580d37f31ee11948f4932aed31fd
13037 Author: Lasse Collin <lasse.collin@tukaani.org>
13038 Date:   2008-01-24 14:49:34 +0200
13039
13040     Added more Multi-Block Stream test files.
13041
13042  tests/files/README                        |  23 +++++++++++++++++++++++
13043  tests/files/bad-multi-none-header_2.lzma  | Bin 0 -> 61 bytes
13044  tests/files/bad-multi-none-header_3.lzma  | Bin 0 -> 59 bytes
13045  tests/files/bad-multi-none-header_4.lzma  | Bin 0 -> 59 bytes
13046  tests/files/bad-multi-none-header_5.lzma  | Bin 0 -> 58 bytes
13047  tests/files/bad-multi-none-header_6.lzma  | Bin 0 -> 59 bytes
13048  tests/files/good-multi-none-header_3.lzma | Bin 0 -> 59 bytes
13049  7 files changed, 23 insertions(+)
13050
13051 commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936
13052 Author: Lasse Collin <lasse.collin@tukaani.org>
13053 Date:   2008-01-24 00:46:05 +0200
13054
13055     Added bunch of test files containing Multi-Block Streams.
13056
13057  tests/files/README                        |  53 ++++++++++++++++++++++++++++++
13058  tests/files/bad-multi-none-1.lzma         | Bin 0 -> 54 bytes
13059  tests/files/bad-multi-none-2.lzma         | Bin 0 -> 53 bytes
13060  tests/files/bad-multi-none-3.lzma         | Bin 0 -> 53 bytes
13061  tests/files/bad-multi-none-extra_1.lzma   | Bin 0 -> 54 bytes
13062  tests/files/bad-multi-none-extra_2.lzma   | Bin 0 -> 54 bytes
13063  tests/files/bad-multi-none-extra_3.lzma   | Bin 0 -> 55 bytes
13064  tests/files/bad-multi-none-header_1.lzma  | Bin 0 -> 57 bytes
13065  tests/files/bad-multi-none-index_1.lzma   | Bin 0 -> 51 bytes
13066  tests/files/bad-multi-none-index_2.lzma   | Bin 0 -> 49 bytes
13067  tests/files/bad-multi-none-index_3.lzma   | Bin 0 -> 51 bytes
13068  tests/files/bad-multi-none-index_4.lzma   | Bin 0 -> 51 bytes
13069  tests/files/good-multi-none-1.lzma        | Bin 0 -> 75 bytes
13070  tests/files/good-multi-none-2.lzma        | Bin 0 -> 53 bytes
13071  tests/files/good-multi-none-extra_1.lzma  | Bin 0 -> 51 bytes
13072  tests/files/good-multi-none-extra_2.lzma  | Bin 0 -> 79 bytes
13073  tests/files/good-multi-none-extra_3.lzma  | Bin 0 -> 55 bytes
13074  tests/files/good-multi-none-header_1.lzma | Bin 0 -> 58 bytes
13075  tests/files/good-multi-none-header_2.lzma | Bin 0 -> 66 bytes
13076  19 files changed, 53 insertions(+)
13077
13078 commit db9df0a9609c01a00a227329fb96e983971040f5
13079 Author: Lasse Collin <lasse.collin@tukaani.org>
13080 Date:   2008-01-23 23:43:00 +0200
13081
13082     Fix decoding of empty Metadata Blocks, that don't have
13083     even the Metadata Flags field. Earlier the code allowed
13084     such files; now they are prohibited as the file format
13085     specification requires.
13086
13087  src/liblzma/common/metadata_decoder.c | 4 +++-
13088  1 file changed, 3 insertions(+), 1 deletion(-)
13089
13090 commit 765f0b05f6e95ed9194fb90819cee189ebbac36b
13091 Author: Lasse Collin <lasse.collin@tukaani.org>
13092 Date:   2008-01-23 23:38:18 +0200
13093
13094     Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6.
13095     lzma_metadata.header_metadata_size was not properly set to
13096     zero if the Metadata had only the Metadata Flags field.
13097
13098  src/liblzma/common/metadata_decoder.c | 13 +++++++------
13099  1 file changed, 7 insertions(+), 6 deletions(-)
13100
13101 commit 3a7cc5c3dec7b078941f961b0393b86c418883b6
13102 Author: Lasse Collin <lasse.collin@tukaani.org>
13103 Date:   2008-01-23 23:35:49 +0200
13104
13105     Fix decoding of Extra Records that have empty Data.
13106
13107  src/liblzma/common/metadata_decoder.c | 13 ++++++++++++-
13108  1 file changed, 12 insertions(+), 1 deletion(-)
13109
13110 commit e5fdec93e273855c1bcc2579b83cfb481a9a1492
13111 Author: Lasse Collin <lasse.collin@tukaani.org>
13112 Date:   2008-01-23 22:02:38 +0200
13113
13114     Add the trailing '\0' to lzma_extra.data as the API header
13115     already documents.
13116
13117  src/liblzma/common/metadata_decoder.c | 4 +++-
13118  1 file changed, 3 insertions(+), 1 deletion(-)
13119
13120 commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e
13121 Author: Lasse Collin <lasse.collin@tukaani.org>
13122 Date:   2008-01-23 21:21:21 +0200
13123
13124     Added debug/full_flush.c.
13125
13126  debug/Makefile.am  |   3 +-
13127  debug/full_flush.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++
13128  2 files changed, 107 insertions(+), 1 deletion(-)
13129
13130 commit ae0cd09a666a1682da8fc09487322227679e218d
13131 Author: Lasse Collin <lasse.collin@tukaani.org>
13132 Date:   2008-01-23 21:05:33 +0200
13133
13134     Return LZMA_STREAM_END instead of LZMA_OK if
13135     LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when
13136     there's no unfinished Block open.
13137
13138  src/liblzma/common/stream_encoder_multi.c | 6 +++++-
13139  1 file changed, 5 insertions(+), 1 deletion(-)
13140
13141 commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db
13142 Author: Lasse Collin <lasse.collin@tukaani.org>
13143 Date:   2008-01-23 20:05:01 +0200
13144
13145     Added bad-single-none-footer_filter_flags.lzma and
13146     bad-single-none-too_long_vli.lzma.
13147
13148  tests/files/README                                   |   5 +++++
13149  tests/files/bad-single-none-footer_filter_flags.lzma | Bin 0 -> 30 bytes
13150  tests/files/bad-single-none-too_long_vli.lzma        | Bin 0 -> 39 bytes
13151  3 files changed, 5 insertions(+)
13152
13153 commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd
13154 Author: Lasse Collin <lasse.collin@tukaani.org>
13155 Date:   2008-01-23 13:42:35 +0200
13156
13157     Fixed a typo.
13158
13159  src/liblzma/subblock/subblock_decoder_helper.c | 2 +-
13160  1 file changed, 1 insertion(+), 1 deletion(-)
13161
13162 commit 980f65a9a10160c4d105767871e3002b9aaba3e0
13163 Author: Lasse Collin <lasse.collin@tukaani.org>
13164 Date:   2008-01-23 13:40:45 +0200
13165
13166     Fix a memory leak in the Subblock encoder.
13167
13168  src/liblzma/subblock/subblock_encoder.c | 1 +
13169  1 file changed, 1 insertion(+)
13170
13171 commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6
13172 Author: Lasse Collin <lasse.collin@tukaani.org>
13173 Date:   2008-01-23 13:36:07 +0200
13174
13175     Fix Size of Header Metadata Block handling. Now
13176     lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN
13177     is not allowed at all. To indicate missing Header Metadata
13178     Block, header_metadata_size must be set to zero. This is
13179     what Metadata decoder does after this patch too.
13180     
13181     Note that other missing fields in lzma_metadata are still
13182     indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as
13183     illogical as it sounds at first, because missing Size of
13184     Header Metadata Block means that Header Metadata Block is
13185     not present in the Stream. With other Metadata fields,
13186     a missing field means only that the value is unknown.
13187
13188  src/liblzma/common/info.c             | 13 ++++---------
13189  src/liblzma/common/metadata_decoder.c |  6 ++++++
13190  src/liblzma/common/metadata_encoder.c | 11 +++++------
13191  tests/test_info.c                     |  4 ++--
13192  4 files changed, 17 insertions(+), 17 deletions(-)
13193
13194 commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81
13195 Author: Lasse Collin <lasse.collin@tukaani.org>
13196 Date:   2008-01-23 13:15:55 +0200
13197
13198     Fix a memory leak in metadata_decoder.c.
13199
13200  src/liblzma/common/metadata_decoder.c | 1 +
13201  1 file changed, 1 insertion(+)
13202
13203 commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae
13204 Author: Lasse Collin <lasse.collin@tukaani.org>
13205 Date:   2008-01-23 13:13:58 +0200
13206
13207     Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which
13208     just moved to problem. Now it's really fixed.
13209
13210  src/liblzma/common/info.c | 5 ++++-
13211  1 file changed, 4 insertions(+), 1 deletion(-)
13212
13213 commit 67321de963ccf69410b3868b8e31534fe18a90de
13214 Author: Lasse Collin <lasse.collin@tukaani.org>
13215 Date:   2008-01-23 00:21:04 +0200
13216
13217     Take advantage of return_if_error() macro in
13218     lzma_info_metadata_set() in info.c.
13219
13220  src/liblzma/common/info.c | 24 ++++++++----------------
13221  1 file changed, 8 insertions(+), 16 deletions(-)
13222
13223 commit 863028cb7ad6d8d0455fa69348f56b376d7b908f
13224 Author: Lasse Collin <lasse.collin@tukaani.org>
13225 Date:   2008-01-23 00:18:32 +0200
13226
13227     Fixed a dangling pointer that caused invalid free().
13228
13229  src/liblzma/common/info.c | 1 +
13230  1 file changed, 1 insertion(+)
13231
13232 commit cf49f42a6bd40143f54a6b10d6e605599e958c0b
13233 Author: Lasse Collin <lasse.collin@tukaani.org>
13234 Date:   2008-01-22 22:49:24 +0200
13235
13236     Added lzma_easy_* functions. These should make using
13237     liblzma as easy as using zlib, because the easy API
13238     don't require developers to know any fancy LZMA options.
13239     
13240     Note that Multi-Block Stream encoding is currently broken.
13241     The easy API should be OK, the bug(s) are elsewhere.
13242
13243  src/liblzma/api/Makefile.am               |   1 +
13244  src/liblzma/api/lzma.h                    |   1 +
13245  src/liblzma/common/Makefile.am            |   5 ++
13246  src/liblzma/common/easy_common.c          |  54 ++++++++++++++++
13247  src/liblzma/common/easy_common.h          |  28 ++++++++
13248  src/liblzma/common/easy_multi.c           | 103 ++++++++++++++++++++++++++++++
13249  src/liblzma/common/easy_single.c          |  37 +++++++++++
13250  src/liblzma/common/stream_encoder_multi.c |   3 +-
13251  src/liblzma/common/stream_encoder_multi.h |  26 ++++++++
13252  9 files changed, 256 insertions(+), 2 deletions(-)
13253
13254 commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a
13255 Author: Lasse Collin <lasse.collin@tukaani.org>
13256 Date:   2008-01-22 21:16:22 +0200
13257
13258     Fix Multi-Block Stream encoder's EOPM usage.
13259
13260  src/liblzma/common/stream_encoder_multi.c | 2 +-
13261  1 file changed, 1 insertion(+), 1 deletion(-)
13262
13263 commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6
13264 Author: Lasse Collin <lasse.collin@tukaani.org>
13265 Date:   2008-01-22 00:15:11 +0200
13266
13267     Made lzma_extra pointers const in lzma_options_stream.
13268
13269  src/liblzma/api/lzma/stream.h             | 4 ++--
13270  src/liblzma/common/stream_encoder_multi.c | 8 ++++++--
13271  2 files changed, 8 insertions(+), 4 deletions(-)
13272
13273 commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4
13274 Author: Lasse Collin <lasse.collin@tukaani.org>
13275 Date:   2008-01-20 20:15:21 +0200
13276
13277     Updated debug/sync_flush.c.
13278
13279  debug/sync_flush.c | 26 ++++++++++++++++++++++++--
13280  1 file changed, 24 insertions(+), 2 deletions(-)
13281
13282 commit d53e9b77054cfade6a643e77d085273a348b189c
13283 Author: Lasse Collin <lasse.collin@tukaani.org>
13284 Date:   2008-01-20 20:14:26 +0200
13285
13286     Added debug/repeat.c.
13287
13288  debug/Makefile.am |  1 +
13289  debug/repeat.c    | 43 +++++++++++++++++++++++++++++++++++++++++++
13290  2 files changed, 44 insertions(+)
13291
13292 commit 107259e306bcfc2336a0fb870fb58034c28faa52
13293 Author: Lasse Collin <lasse.collin@tukaani.org>
13294 Date:   2008-01-20 20:12:58 +0200
13295
13296     Fix alignment handling bugs in Subblock encoder.
13297     
13298     This leaves one known alignment bug unfixed: If repeat count
13299     doesn't fit into 28-bit integer, the encoder has to split
13300     this to multiple Subblocks with Subblock Type `Repeating Data'.
13301     The extra Subblocks may have wrong alignment. Correct alignment
13302     is restored after the split Repeating Data has been completely
13303     written out.
13304     
13305     Since the encoder doesn't even try to fix the alignment unless
13306     the size of Data is at least 4 bytes, to trigger this bug you
13307     need at least 4 GiB of repeating data with sequence length of
13308     4 or more bytes. Since the worst thing done by this bug is
13309     misaligned data (no data corruption), this bug simply isn't
13310     worth fixing, because a proper fix isn't simple.
13311
13312  src/liblzma/subblock/subblock_encoder.c | 170 ++++++++++++++++++++++----------
13313  1 file changed, 119 insertions(+), 51 deletions(-)
13314
13315 commit e141fe18950400faaa3503ff88ac20eacd73e88c
13316 Author: Lasse Collin <lasse.collin@tukaani.org>
13317 Date:   2008-01-19 21:16:33 +0200
13318
13319     Implemented LZMA_SYNC_FLUSH support to the Subblock encoder.
13320     The API for handing Subfilters was changed to make it
13321     consistent with LZMA_SYNC_FLUSH.
13322     
13323     A few sanity checks were added for Subfilter handling. Some
13324     small bugs were fixed. More comments were added.
13325
13326  src/liblzma/api/lzma/subblock.h         |  29 ++--
13327  src/liblzma/subblock/subblock_encoder.c | 263 ++++++++++++++++++++++++--------
13328  2 files changed, 214 insertions(+), 78 deletions(-)
13329
13330 commit 23c227a864a3b69f38c6a74306161d4e6918d1cc
13331 Author: Lasse Collin <lasse.collin@tukaani.org>
13332 Date:   2008-01-19 15:19:21 +0200
13333
13334     Revised the Delta filter implementation. The initialization
13335     function is still shared between encoder and decoder, but the
13336     actual coding is in separate files for encoder and decoder.
13337     
13338     There are now separate functions for the actual delta
13339     calculation depending on if Delta is the last filter in the
13340     chain or not. If it is the last, the new code copies the
13341     data from input to output buffer and does the delta
13342     calculation at the same time. The old code first copied the
13343     data, then did the delta in the target buffer, which required
13344     reading through the data twice.
13345     
13346     Support for LZMA_SYNC_FLUSH was added to the Delta encoder.
13347     This doesn't change anything in the file format.
13348
13349  src/liblzma/common/Makefile.am     |  14 ++-
13350  src/liblzma/common/delta_coder.c   | 189 -------------------------------------
13351  src/liblzma/common/delta_coder.h   |  31 ------
13352  src/liblzma/common/delta_common.c  |  70 ++++++++++++++
13353  src/liblzma/common/delta_common.h  |  48 ++++++++++
13354  src/liblzma/common/delta_decoder.c | 102 ++++++++++++++++++++
13355  src/liblzma/common/delta_decoder.h |  28 ++++++
13356  src/liblzma/common/delta_encoder.c |  97 +++++++++++++++++++
13357  src/liblzma/common/delta_encoder.h |  28 ++++++
13358  src/liblzma/common/raw_decoder.c   |   2 +-
13359  src/liblzma/common/raw_encoder.c   |   2 +-
13360  11 files changed, 387 insertions(+), 224 deletions(-)
13361
13362 commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73
13363 Author: Lasse Collin <lasse.collin@tukaani.org>
13364 Date:   2008-01-18 20:18:08 +0200
13365
13366     Added the debug directory and the first debug tool
13367     (sync_flush). These tools are not built unless the
13368     user runs "make" in the debug directory.
13369
13370  Makefile.am        |   1 +
13371  configure.ac       |   1 +
13372  debug/Makefile.am  |  30 ++++++++++++++
13373  debug/README       |  17 ++++++++
13374  debug/sync_flush.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++
13375  5 files changed, 165 insertions(+)
13376
13377 commit 0ae3208db94585eb8294b97ded387de0a3a07646
13378 Author: Lasse Collin <lasse.collin@tukaani.org>
13379 Date:   2008-01-18 20:13:00 +0200
13380
13381     Added test files to test usage of flush marker in LZMA.
13382
13383  tests/files/README                               |  12 ++++++++++++
13384  tests/files/bad-single-lzma-flush_beginning.lzma | Bin 0 -> 53 bytes
13385  tests/files/bad-single-lzma-flush_twice.lzma     | Bin 0 -> 63 bytes
13386  tests/files/good-single-lzma-flush_1.lzma        | Bin 0 -> 48 bytes
13387  tests/files/good-single-lzma-flush_2.lzma        | Bin 0 -> 63 bytes
13388  5 files changed, 12 insertions(+)
13389
13390 commit ab5feaf1fcc146ef9fd39360c53c290bec39524e
13391 Author: Lasse Collin <lasse.collin@tukaani.org>
13392 Date:   2008-01-18 20:02:52 +0200
13393
13394     Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders.
13395     That code is now almost completely in LZ coder, where
13396     it can be shared with other LZ77-based algorithms in
13397     future.
13398
13399  src/liblzma/lz/lz_encoder.c     | 34 ++++++++++++++++++++++++++--------
13400  src/liblzma/lz/lz_encoder.h     |  1 +
13401  src/liblzma/lzma/lzma_encoder.c | 27 ++-------------------------
13402  3 files changed, 29 insertions(+), 33 deletions(-)
13403
13404 commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585
13405 Author: Lasse Collin <lasse.collin@tukaani.org>
13406 Date:   2008-01-18 17:21:24 +0200
13407
13408     Don't add -g to CFLAGS when --enable-debug is specified.
13409     It's the job of the user to put that in CFLAGS.
13410
13411  configure.ac | 1 -
13412  1 file changed, 1 deletion(-)
13413
13414 commit 61d1784d8f1761d979a6da6e223e279ca33815e6
13415 Author: Lasse Collin <lasse.collin@tukaani.org>
13416 Date:   2008-01-18 14:17:37 +0200
13417
13418     Set stdin and stdout to binary mode on Windows. This patch is
13419     a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068
13420     from lzma-utils-legacy.git. I don't know if the new code base
13421     builds on Windows, but this is a start.
13422
13423  src/lzmadec/lzmadec.c | 9 +++++++++
13424  1 file changed, 9 insertions(+)
13425
13426 commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c
13427 Author: Lasse Collin <lasse.collin@tukaani.org>
13428 Date:   2008-01-18 00:50:29 +0200
13429
13430     Added test_compress.sh and bunch of files needed by it.
13431     This new set of tests compress and decompress several
13432     test files with many different compression options.
13433     This set of tests will be extended later.
13434
13435  tests/Makefile.am                 |  30 ++++---
13436  tests/bcj_test.c                  |  66 ++++++++++++++
13437  tests/compress_prepared_bcj_sparc | Bin 0 -> 6804 bytes
13438  tests/compress_prepared_bcj_x86   | Bin 0 -> 4649 bytes
13439  tests/create_compress_files.c     | 164 ++++++++++++++++++++++++++++++++++
13440  tests/test_compress.sh            | 183 ++++++++++++++++++++++++++++++++++++++
13441  6 files changed, 433 insertions(+), 10 deletions(-)
13442
13443 commit 33be3c0e24d8f43376ccf71cc77d53671e792f07
13444 Author: Lasse Collin <lasse.collin@tukaani.org>
13445 Date:   2008-01-17 18:56:53 +0200
13446
13447     Subblock decoder: Don't exit the main loop in decode_buffer()
13448     too early if we hit End of Input while decoding a Subblock of
13449     type Repeating Data. To keep the loop termination condition
13450     elegant, the order of enumerations in coder->sequence were
13451     changed.
13452     
13453     To keep the case-labels in roughly the same order as the
13454     enumerations in coder->sequence, large chunks of code was
13455     moved around. This made the diff big and ugly compared to
13456     the amount of the actual changes made.
13457
13458  src/liblzma/subblock/subblock_decoder.c | 272 ++++++++++++++++----------------
13459  1 file changed, 139 insertions(+), 133 deletions(-)
13460
13461 commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd
13462 Author: Lasse Collin <lasse.collin@tukaani.org>
13463 Date:   2008-01-17 17:39:42 +0200
13464
13465     Fix wrong too small size of argument unfiltered_max
13466     in ia64_coder_init(). It triggered assert() in
13467     simple_coder.c, and could have caused a buffer overflow.
13468     
13469     This error was probably a copypaste mistake, since most
13470     of the simple filters use unfiltered_max = 4.
13471
13472  src/liblzma/simple/ia64.c | 2 +-
13473  1 file changed, 1 insertion(+), 1 deletion(-)
13474
13475 commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a
13476 Author: Lasse Collin <lasse.collin@tukaani.org>
13477 Date:   2008-01-17 17:27:45 +0200
13478
13479     Added --delta to the output of "lzma --help".
13480
13481  src/lzma/help.c | 4 ++++
13482  1 file changed, 4 insertions(+)
13483
13484 commit f88590e0014b38d40465937c19f25f05f16c79ae
13485 Author: Lasse Collin <lasse.collin@tukaani.org>
13486 Date:   2008-01-17 13:14:20 +0200
13487
13488     Fix Subblock docoder: If Subblock filter was used with known
13489     Uncompressed Size, and the last output byte was from RLE,
13490     the code didn't stop decoding as it should have done.
13491
13492  src/liblzma/subblock/subblock_decoder.c | 6 ++++++
13493  1 file changed, 6 insertions(+)
13494
13495 commit bc0b945ca376e333077644d2f7fd54c2848aab8a
13496 Author: Lasse Collin <lasse.collin@tukaani.org>
13497 Date:   2008-01-16 16:33:37 +0200
13498
13499     Tiny non-technical edits to file-format.txt.
13500
13501  doc/file-format.txt | 6 +++---
13502  1 file changed, 3 insertions(+), 3 deletions(-)
13503
13504 commit 7599bb7064ccf007f054595dedda7927af868252
13505 Author: Lasse Collin <lasse.collin@tukaani.org>
13506 Date:   2008-01-16 14:48:04 +0200
13507
13508     Plugged a memory leak in stream_decoder.c.
13509
13510  src/liblzma/common/stream_decoder.c | 20 ++++++++++++++++++++
13511  1 file changed, 20 insertions(+)
13512
13513 commit 0b581539311f3712946e81e747839f8fb5f441a7
13514 Author: Lasse Collin <lasse.collin@tukaani.org>
13515 Date:   2008-01-16 14:47:27 +0200
13516
13517     Added memory leak detection to lzmadec.c.
13518
13519  src/lzmadec/lzmadec.c | 3 +++
13520  1 file changed, 3 insertions(+)
13521
13522 commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4
13523 Author: Lasse Collin <lasse.collin@tukaani.org>
13524 Date:   2008-01-16 14:46:50 +0200
13525
13526     Added lzma_memlimit_count().
13527
13528  src/liblzma/api/lzma/memlimit.h      | 10 ++++++++++
13529  src/liblzma/common/memory_limitter.c | 19 +++++++++++++++++++
13530  2 files changed, 29 insertions(+)
13531
13532 commit 19389f2b82ec54fd4c847a18f16482e7be4c9887
13533 Author: Lasse Collin <lasse.collin@tukaani.org>
13534 Date:   2008-01-16 14:31:44 +0200
13535
13536     Added ARRAY_SIZE(array) macro.
13537
13538  src/common/sysdefs.h | 4 ++++
13539  1 file changed, 4 insertions(+)
13540
13541 commit 9bc33a54cbf83952130adbcb1be32c6882485416
13542 Author: Lasse Collin <lasse.collin@tukaani.org>
13543 Date:   2008-01-16 13:27:03 +0200
13544
13545     Make Uncompresed Size validation more strict
13546     in alone_decoder.c.
13547
13548  src/liblzma/common/alone_decoder.c | 3 ++-
13549  1 file changed, 2 insertions(+), 1 deletion(-)
13550
13551 commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883
13552 Author: Lasse Collin <lasse.collin@tukaani.org>
13553 Date:   2008-01-15 17:46:59 +0200
13554
13555     Free the allocated memory in lzmadec if debugging is
13556     enabled. This should make it possible to detect possible
13557     memory leaks with Valgrind.
13558
13559  src/lzmadec/lzmadec.c | 7 +++++++
13560  1 file changed, 7 insertions(+)
13561
13562 commit 8235e6e5b2878f76633afcda9a334640db503ef5
13563 Author: Lasse Collin <lasse.collin@tukaani.org>
13564 Date:   2008-01-15 16:25:38 +0200
13565
13566     Fix memory leaks from test_block_header.c.
13567
13568  tests/test_block_header.c | 19 +++++++++++++++++--
13569  1 file changed, 17 insertions(+), 2 deletions(-)
13570
13571 commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6
13572 Author: Lasse Collin <lasse.collin@tukaani.org>
13573 Date:   2008-01-15 14:23:35 +0200
13574
13575     Use fastpos.h when encoding LZMA dictionary size in
13576     Filter Flags encoder.
13577
13578  src/liblzma/common/filter_flags_encoder.c | 40 +++++++++++++++----------------
13579  1 file changed, 19 insertions(+), 21 deletions(-)
13580
13581 commit e5728142a2048979f5c0c2149ce71ae952a092e1
13582 Author: Lasse Collin <lasse.collin@tukaani.org>
13583 Date:   2008-01-15 14:02:22 +0200
13584
13585     Revised the fastpos code. It now uses the slightly faster
13586     table-based version from LZMA SDK 4.57. This should be
13587     fast on most systems.
13588     
13589     A simpler and smaller alternative version is also provided.
13590     On some CPUs this can be even a little faster than the
13591     default table-based version (see comments in fastpos.h),
13592     but on most systems the table-based code is faster.
13593
13594  src/liblzma/common/init_encoder.c          |   3 -
13595  src/liblzma/lzma/Makefile.am               |   4 +
13596  src/liblzma/lzma/fastpos.h                 | 156 +++++++++
13597  src/liblzma/lzma/fastpos_table.c           | 519 +++++++++++++++++++++++++++++
13598  src/liblzma/lzma/fastpos_tablegen.c        |  63 ++++
13599  src/liblzma/lzma/lzma_common.h             |   3 +-
13600  src/liblzma/lzma/lzma_encoder.c            |   1 +
13601  src/liblzma/lzma/lzma_encoder_getoptimum.c |   1 +
13602  src/liblzma/lzma/lzma_encoder_init.c       |  22 --
13603  src/liblzma/lzma/lzma_encoder_private.h    |  21 --
13604  10 files changed, 746 insertions(+), 47 deletions(-)
13605
13606 commit 10437b5b567f6a025ff16c45a572e417a0a9cc26
13607 Author: Lasse Collin <lasse.collin@tukaani.org>
13608 Date:   2008-01-15 13:32:13 +0200
13609
13610     Added bsr.h.
13611
13612  src/liblzma/common/Makefile.am |  1 +
13613  src/liblzma/common/bsr.h       | 61 ++++++++++++++++++++++++++++++++++++++++++
13614  2 files changed, 62 insertions(+)
13615
13616 commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244
13617 Author: Lasse Collin <lasse.collin@tukaani.org>
13618 Date:   2008-01-15 13:29:14 +0200
13619
13620     Fixed assembler detection in configure.ac, and added
13621     detection for x86_64.
13622
13623  configure.ac | 32 ++++++++++++++++----------------
13624  1 file changed, 16 insertions(+), 16 deletions(-)
13625
13626 commit 54ec204f58287f50d3976288295da4188a19192b
13627 Author: Lasse Collin <lasse.collin@tukaani.org>
13628 Date:   2008-01-15 12:20:41 +0200
13629
13630     Omit invalid space from printf() format string
13631     in price_table_gen.c.
13632
13633  src/liblzma/rangecoder/price_table_gen.c | 2 +-
13634  1 file changed, 1 insertion(+), 1 deletion(-)
13635
13636 commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1
13637 Author: Lasse Collin <lasse.collin@tukaani.org>
13638 Date:   2008-01-15 09:54:34 +0200
13639
13640     Removed a few unused macros from lzma_common.h.
13641
13642  src/liblzma/lzma/lzma_common.h | 8 ++------
13643  1 file changed, 2 insertions(+), 6 deletions(-)
13644
13645 commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d
13646 Author: Lasse Collin <lasse.collin@tukaani.org>
13647 Date:   2008-01-15 08:37:42 +0200
13648
13649     Fix a typo in lzma_encoder.c.
13650
13651  src/liblzma/lzma/lzma_encoder.c | 2 +-
13652  1 file changed, 1 insertion(+), 1 deletion(-)
13653
13654 commit 9f9b1983013048f2142e8bc7e240149d2687bedc
13655 Author: Lasse Collin <lasse.collin@tukaani.org>
13656 Date:   2008-01-15 08:36:25 +0200
13657
13658     Convert bittree_get_price() and bittree_reverse_get_price()
13659     from macros to inline functions.
13660
13661  src/liblzma/lzma/lzma_encoder.c            | 19 +++-----
13662  src/liblzma/lzma/lzma_encoder_getoptimum.c | 16 +++----
13663  src/liblzma/rangecoder/range_encoder.h     | 76 +++++++++++++++++-------------
13664  3 files changed, 56 insertions(+), 55 deletions(-)
13665
13666 commit 78e85cb1a7667c54853670d2eb09d754bcbda87d
13667 Author: Lasse Collin <lasse.collin@tukaani.org>
13668 Date:   2008-01-15 07:44:59 +0200
13669
13670     Fix CRC code in case --enable-small is used.
13671
13672  src/liblzma/check/crc32_init.c    | 2 +-
13673  src/liblzma/check/crc64_init.c    | 2 +-
13674  src/liblzma/common/init_decoder.c | 2 --
13675  src/liblzma/common/init_encoder.c | 2 --
13676  tests/test_check.c                | 2 ++
13677  5 files changed, 4 insertions(+), 6 deletions(-)
13678
13679 commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0
13680 Author: Lasse Collin <lasse.collin@tukaani.org>
13681 Date:   2008-01-15 07:41:39 +0200
13682
13683     Fix typo in test_index.c.
13684
13685  tests/test_index.c | 2 +-
13686  1 file changed, 1 insertion(+), 1 deletion(-)
13687
13688 commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6
13689 Author: Lasse Collin <lasse.collin@tukaani.org>
13690 Date:   2008-01-15 07:40:21 +0200
13691
13692     Added precomputed range coder probability price table.
13693
13694  src/liblzma/common/init_encoder.c         |  5 ++-
13695  src/liblzma/rangecoder/Makefile.am        |  9 +++-
13696  src/liblzma/rangecoder/price_table.c      | 70 +++++++++++++++++++++++++++++++
13697  src/liblzma/rangecoder/price_table_gen.c  | 55 ++++++++++++++++++++++++
13698  src/liblzma/rangecoder/price_table_init.c | 48 +++++++++++++++++++++
13699  src/liblzma/rangecoder/range_common.h     |  4 +-
13700  src/liblzma/rangecoder/range_encoder.c    | 46 --------------------
13701  src/liblzma/rangecoder/range_encoder.h    | 21 +++++-----
13702  8 files changed, 197 insertions(+), 61 deletions(-)
13703
13704 commit 362dc3843b373c1007a50a4719f378981f18ae03
13705 Author: Lasse Collin <lasse.collin@tukaani.org>
13706 Date:   2008-01-14 13:42:43 +0200
13707
13708     Remove RC_BUFFER_SIZE from lzma_encoder_private.h
13709     and replace it with a sanity check.
13710
13711  src/liblzma/lzma/lzma_encoder_private.h | 6 ++++--
13712  1 file changed, 4 insertions(+), 2 deletions(-)
13713
13714 commit e22b37968d153683fec61ad37b6b160cb7ca4ddc
13715 Author: Lasse Collin <lasse.collin@tukaani.org>
13716 Date:   2008-01-14 13:39:54 +0200
13717
13718     Major changes to LZ encoder, LZMA encoder, and range encoder.
13719     These changes implement support for LZMA_SYNC_FLUSH in LZMA
13720     encoder, and move the temporary buffer needed by range encoder
13721     from lzma_range_encoder structure to lzma_lz_encoder.
13722
13723  src/liblzma/lz/lz_encoder.c            | 138 ++++++++++++++++++++++++++++-----
13724  src/liblzma/lz/lz_encoder.h            |  17 ++--
13725  src/liblzma/lzma/lzma_encoder.c        |  74 ++++++++++--------
13726  src/liblzma/rangecoder/range_encoder.h | 117 ++++++++--------------------
13727  4 files changed, 206 insertions(+), 140 deletions(-)
13728
13729 commit b59ef3973781f892c0a72b5e5934194567100be5
13730 Author: Lasse Collin <lasse.collin@tukaani.org>
13731 Date:   2008-01-14 13:34:29 +0200
13732
13733     Added one assert() to process.c of the command line tool.
13734
13735  src/lzma/process.c | 1 +
13736  1 file changed, 1 insertion(+)
13737
13738 commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7
13739 Author: Lasse Collin <lasse.collin@tukaani.org>
13740 Date:   2008-01-14 12:09:52 +0200
13741
13742     Don't use coder->lz.stream_end_was_reached in assertions
13743     in match_c.h.
13744
13745  src/liblzma/lz/match_c.h | 2 --
13746  1 file changed, 2 deletions(-)
13747
13748 commit 3e09e1c05871f3757f759b801890ccccc9286608
13749 Author: Lasse Collin <lasse.collin@tukaani.org>
13750 Date:   2008-01-14 12:08:02 +0200
13751
13752     In lzma_read_match_distances(), don't use
13753     coder->lz.stream_end_was_reached. That variable
13754     will be removed, and the check isn't required anyway.
13755     Rearrange the check so that it doesn't make one to
13756     think that there could be an integer overflow.
13757
13758  src/liblzma/lzma/lzma_encoder_private.h | 6 +++---
13759  1 file changed, 3 insertions(+), 3 deletions(-)
13760
13761 commit a670fec8021e5962429689c194148a04c3418872
13762 Author: Lasse Collin <lasse.collin@tukaani.org>
13763 Date:   2008-01-14 11:56:41 +0200
13764
13765     Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders.
13766
13767  src/liblzma/common/block_encoder.c         | 4 ++--
13768  src/liblzma/common/stream_encoder_single.c | 1 +
13769  2 files changed, 3 insertions(+), 2 deletions(-)
13770
13771 commit 3599dba9570a6972a16b6398d6c838e9b420e985
13772 Author: Lasse Collin <lasse.collin@tukaani.org>
13773 Date:   2008-01-14 11:54:56 +0200
13774
13775     More fixes to LZMA decoder's flush marker handling.
13776
13777  src/liblzma/lzma/lzma_decoder.c | 52 ++++++++++++++++++++++++-----------------
13778  1 file changed, 30 insertions(+), 22 deletions(-)
13779
13780 commit f73c2ab6079ed5675a42b39d584a567befbd4624
13781 Author: Lasse Collin <lasse.collin@tukaani.org>
13782 Date:   2008-01-10 17:13:42 +0200
13783
13784     Eliminate lzma_lz_encoder.must_move_pos. It's needed
13785     only in one place which isn't performance criticial.
13786
13787  src/liblzma/lz/lz_encoder.c | 6 ++----
13788  src/liblzma/lz/lz_encoder.h | 4 ----
13789  2 files changed, 2 insertions(+), 8 deletions(-)
13790
13791 commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd
13792 Author: Lasse Collin <lasse.collin@tukaani.org>
13793 Date:   2008-01-09 20:05:57 +0200
13794
13795     Define HAVE_ASM_X86 when x86 assembler optimizations are
13796     used. This #define will be useful for inline assembly.
13797
13798  configure.ac | 5 ++++-
13799  1 file changed, 4 insertions(+), 1 deletion(-)
13800
13801 commit 0e70fbe4032351aab13a1cd8e5deced105c0b276
13802 Author: Lasse Collin <lasse.collin@tukaani.org>
13803 Date:   2008-01-09 12:06:46 +0200
13804
13805     Added good-single-none-empty_3.lzma and
13806     bad-single-none-empty.lzma.
13807
13808  tests/files/README                        |   6 ++++++
13809  tests/files/bad-single-none-empty.lzma    | Bin 0 -> 19 bytes
13810  tests/files/good-single-none-empty_3.lzma | Bin 0 -> 19 bytes
13811  3 files changed, 6 insertions(+)
13812
13813 commit 379fbbe84d922c7cc00afa65c6f0c095da596b19
13814 Author: Lasse Collin <lasse.collin@tukaani.org>
13815 Date:   2008-01-08 23:11:59 +0200
13816
13817     Take advantage of return_if_error() in block_decoder.c.
13818
13819  src/liblzma/common/block_decoder.c | 23 +++++++----------------
13820  1 file changed, 7 insertions(+), 16 deletions(-)
13821
13822 commit 97d5fa82077e57815dfad995dc393c2809a78539
13823 Author: Lasse Collin <lasse.collin@tukaani.org>
13824 Date:   2008-01-08 23:10:57 +0200
13825
13826     Updated tests/files/README.
13827
13828  tests/files/README | 15 +++++++++------
13829  1 file changed, 9 insertions(+), 6 deletions(-)
13830
13831 commit 3bb9bb310936cba6a743b4f06739a397dec7c28f
13832 Author: Lasse Collin <lasse.collin@tukaani.org>
13833 Date:   2008-01-08 23:05:40 +0200
13834
13835     Added test files with empty Compressed Data.
13836
13837  tests/files/README                        |   6 ++++++
13838  tests/files/good-single-lzma-empty.lzma   | Bin 0 -> 21 bytes
13839  tests/files/good-single-none-empty_1.lzma | Bin 0 -> 18 bytes
13840  tests/files/good-single-none-empty_2.lzma | Bin 0 -> 26 bytes
13841  4 files changed, 6 insertions(+)
13842
13843 commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f
13844 Author: Lasse Collin <lasse.collin@tukaani.org>
13845 Date:   2008-01-08 22:58:42 +0200
13846
13847     Fix decoding of Blocks that have only Block Header.
13848
13849  src/liblzma/common/block_decoder.c | 37 ++++++++++++++-----------------------
13850  1 file changed, 14 insertions(+), 23 deletions(-)
13851
13852 commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4
13853 Author: Lasse Collin <lasse.collin@tukaani.org>
13854 Date:   2008-01-08 22:27:46 +0200
13855
13856     Added good-single-subblock_implicit.lzma.
13857
13858  tests/files/README                             |   2 ++
13859  tests/files/good-single-subblock_implicit.lzma | Bin 0 -> 35 bytes
13860  2 files changed, 2 insertions(+)
13861
13862 commit faeac7b7aca75f86afed1e7cc06279d9d497c627
13863 Author: Lasse Collin <lasse.collin@tukaani.org>
13864 Date:   2008-01-08 18:50:30 +0200
13865
13866     Disable CRC32 from Block Headers when --check=none
13867     has been specified.
13868
13869  src/lzma/process.c | 2 +-
13870  1 file changed, 1 insertion(+), 1 deletion(-)
13871
13872 commit a751126dbb656767ed4666cf0e5d3e17349d93d1
13873 Author: Lasse Collin <lasse.collin@tukaani.org>
13874 Date:   2008-01-08 13:36:29 +0200
13875
13876     Fixed encoding of empty files. Arguments to is_size_valid()
13877     were in wrong order in block_encoder.c.
13878
13879  src/liblzma/common/block_encoder.c | 2 +-
13880  1 file changed, 1 insertion(+), 1 deletion(-)
13881
13882 commit 9080267603b1006c4867c823307dca9df8be0d20
13883 Author: Lasse Collin <lasse.collin@tukaani.org>
13884 Date:   2008-01-08 13:35:36 +0200
13885
13886     Added a few test files.
13887
13888  tests/files/README                                 |  21 ++++++++++++++++++---
13889  tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 0 -> 65 bytes
13890  tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes
13891  tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes
13892  tests/files/bad-single-data_after_eopm.lzma        | Bin 55 -> 0 bytes
13893  tests/files/bad-single-data_after_eopm_1.lzma      | Bin 0 -> 55 bytes
13894  tests/files/bad-single-none-truncated.lzma         | Bin 0 -> 29 bytes
13895  7 files changed, 18 insertions(+), 3 deletions(-)
13896
13897 commit b4943ccf73b64fc93a90a23474509c316f55eb2b
13898 Author: Lasse Collin <lasse.collin@tukaani.org>
13899 Date:   2008-01-08 12:29:58 +0200
13900
13901     Avoid using ! in test_files.sh, because that doesn't work
13902     with some ancient /bin/sh versions.
13903
13904  tests/test_files.sh | 4 +++-
13905  1 file changed, 3 insertions(+), 1 deletion(-)
13906
13907 commit e2417b2b9134f3f65e14b61e23cd3644d8954353
13908 Author: Lasse Collin <lasse.collin@tukaani.org>
13909 Date:   2008-01-08 00:48:30 +0200
13910
13911     More pre-C99 inttypes.h compatibility fixes. Now the code
13912     should work even if the system has no inttypes.h.
13913
13914  src/common/physmem.h               | 11 -----------
13915  src/liblzma/check/crc32_init.c     |  5 +----
13916  src/liblzma/check/crc32_tablegen.c |  7 ++-----
13917  src/liblzma/check/crc64_init.c     |  5 +----
13918  src/liblzma/check/crc64_tablegen.c |  7 ++-----
13919  5 files changed, 6 insertions(+), 29 deletions(-)
13920
13921 commit 5d227e51c23639423f4ade06aabb54e131f8505e
13922 Author: Lasse Collin <lasse.collin@tukaani.org>
13923 Date:   2008-01-07 23:25:32 +0200
13924
13925     Updated fi.po although it's currently pretty much crap.
13926
13927  po/fi.po | 12 ++++++------
13928  1 file changed, 6 insertions(+), 6 deletions(-)
13929
13930 commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d
13931 Author: Lasse Collin <lasse.collin@tukaani.org>
13932 Date:   2008-01-07 23:14:25 +0200
13933
13934     Test for $GCC = yes instead of if it is non-empty. This
13935     way it is possible to use ac_cv_c_compiler_gnu=no to
13936     force configure to think it is using non-GNU C compiler.
13937
13938  configure.ac | 2 +-
13939  1 file changed, 1 insertion(+), 1 deletion(-)
13940
13941 commit 3dbbea82b74bb841c995ad332a3aeca613015e10
13942 Author: Lasse Collin <lasse.collin@tukaani.org>
13943 Date:   2008-01-07 21:49:41 +0200
13944
13945     Added test_files.sh to tests/Makefile.am so it gets
13946     included in the tarball with "make dist".
13947
13948  tests/Makefile.am | 2 +-
13949  1 file changed, 1 insertion(+), 1 deletion(-)
13950
13951 commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0
13952 Author: Lasse Collin <lasse.collin@tukaani.org>
13953 Date:   2008-01-07 18:22:24 +0200
13954
13955     Cosmetic edit to test_files.sh.
13956
13957  tests/test_files.sh | 4 ++--
13958  1 file changed, 2 insertions(+), 2 deletions(-)
13959
13960 commit 9a71d573100a990ceb30ce0bec6a9a15d795605f
13961 Author: Lasse Collin <lasse.collin@tukaani.org>
13962 Date:   2008-01-07 18:09:44 +0200
13963
13964     Added tests/files/README.
13965
13966  tests/files/README | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++
13967  1 file changed, 108 insertions(+)
13968
13969 commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43
13970 Author: Lasse Collin <lasse.collin@tukaani.org>
13971 Date:   2008-01-07 14:20:57 +0200
13972
13973     Tell in COPYING that everything in tests/files is
13974     public domain.
13975
13976  COPYING | 3 ++-
13977  1 file changed, 2 insertions(+), 1 deletion(-)
13978
13979 commit 3502b3e1d00251d3c8dda96079440705c28d8225
13980 Author: Lasse Collin <lasse.collin@tukaani.org>
13981 Date:   2008-01-07 14:19:05 +0200
13982
13983     Cleaned up the tests/files directory.
13984
13985  tests/files/bad-single-subblock-padding_loop.lzma   | Bin 0 -> 43 bytes
13986  tests/files/bad-single-subblock1023-slow.lzma       | Bin 0 -> 7886 bytes
13987  tests/files/malicious-single-subblock-loop.lzma     | Bin 43 -> 0 bytes
13988  tests/files/malicious-single-subblock-lzma.lzma     | Bin 505 -> 0 bytes
13989  tests/files/malicious-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes
13990  5 files changed, 0 insertions(+), 0 deletions(-)
13991
13992 commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c
13993 Author: Lasse Collin <lasse.collin@tukaani.org>
13994 Date:   2008-01-07 13:49:19 +0200
13995
13996     Added test_files.sh to test decoding of the files in
13997     the tests/files directory. It doesn't test the malicious
13998     files yet.
13999
14000  tests/Makefile.am   |  4 +++-
14001  tests/test_files.sh | 40 ++++++++++++++++++++++++++++++++++++++++
14002  2 files changed, 43 insertions(+), 1 deletion(-)
14003
14004 commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6
14005 Author: Lasse Collin <lasse.collin@tukaani.org>
14006 Date:   2008-01-07 11:23:13 +0200
14007
14008     Updated README regarding the assembler optimizations.
14009
14010  README | 10 +++++-----
14011  1 file changed, 5 insertions(+), 5 deletions(-)
14012
14013 commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb
14014 Author: Lasse Collin <lasse.collin@tukaani.org>
14015 Date:   2008-01-07 10:58:00 +0200
14016
14017     Updated THANKS.
14018
14019  THANKS | 1 +
14020  1 file changed, 1 insertion(+)
14021
14022 commit 1239649f96132b18e3b7e2dd152ecf53a195caa8
14023 Author: Lasse Collin <lasse.collin@tukaani.org>
14024 Date:   2008-01-06 21:47:17 +0200
14025
14026     Cosmetic changes to configure.ac.
14027
14028  configure.ac | 14 ++++++--------
14029  1 file changed, 6 insertions(+), 8 deletions(-)
14030
14031 commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e
14032 Author: Lasse Collin <lasse.collin@tukaani.org>
14033 Date:   2008-01-06 19:46:38 +0200
14034
14035     Automatically disable assembler code on Darwin x86.
14036     Darwin has different ABI than GNU+Linux and Solaris,
14037     thus the assembler code doesn't assemble on Darwin.
14038
14039  configure.ac | 17 +++++++++++++++--
14040  1 file changed, 15 insertions(+), 2 deletions(-)
14041
14042 commit c15a7abf66e3a70792f7444115e484c7981c8284
14043 Author: Lasse Collin <lasse.collin@tukaani.org>
14044 Date:   2008-01-06 19:45:27 +0200
14045
14046     With printf(), use PRIu64 with a cast to uint64_t instead
14047     of %zu, because some pre-C99 libc versions don't support %zu.
14048
14049  src/lzma/help.c       | 13 +++++++------
14050  src/lzmadec/lzmadec.c |  6 ++++--
14051  2 files changed, 11 insertions(+), 8 deletions(-)
14052
14053 commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb
14054 Author: Lasse Collin <lasse.collin@tukaani.org>
14055 Date:   2008-01-06 16:27:41 +0200
14056
14057     Introduced compatibility with systems that have pre-C99
14058     or no inttypes.h. This is useful when the compiler has
14059     good enough support for C99, but libc headers don't.
14060     
14061     Changed liblzma API so that sys/types.h and inttypes.h
14062     have to be #included before #including lzma.h. On systems
14063     that don't have C99 inttypes.h, it's the problem of the
14064     applications to provide the required types and macros
14065     before #including lzma.h.
14066     
14067     If lzma.h defined the missing types and macros, it could
14068     conflict with third-party applications whose configure
14069     has detected that the types are missing and defined them
14070     in config.h already. An alternative would have been
14071     introducing lzma_uint32 and similar types, but that would
14072     just be an extra pain on modern systems.
14073
14074  configure.ac                       | 13 ++++++++-
14075  doc/liblzma-intro.txt              | 10 +++++--
14076  src/common/sysdefs.h               | 59 +++++++++++++++++++++++++++++++++++++-
14077  src/liblzma/api/lzma.h             | 40 +++++++++++++++++---------
14078  src/liblzma/check/crc32_table.c    |  4 +--
14079  src/liblzma/check/crc32_table_be.h |  2 --
14080  src/liblzma/check/crc32_table_le.h |  2 --
14081  src/liblzma/check/crc32_tablegen.c |  1 -
14082  src/liblzma/check/crc64_table.c    |  4 +--
14083  src/liblzma/check/crc64_table_be.h |  2 --
14084  src/liblzma/check/crc64_table_le.h |  2 --
14085  src/liblzma/check/crc64_tablegen.c |  1 -
14086  src/lzma/private.h                 |  1 -
14087  13 files changed, 106 insertions(+), 35 deletions(-)
14088
14089 commit a71864f77dfb76b5d78a270641539947c312583a
14090 Author: Lasse Collin <lasse.collin@tukaani.org>
14091 Date:   2008-01-05 19:57:00 +0200
14092
14093     Fix typo in comment (INT64_MAX -> UINT64_MAX).
14094
14095  src/liblzma/api/lzma/vli.h | 2 +-
14096  1 file changed, 1 insertion(+), 1 deletion(-)
14097
14098 commit 072927905a3b66281c6311b4b351caa501d8b73a
14099 Author: Lasse Collin <lasse.collin@tukaani.org>
14100 Date:   2008-01-05 19:42:04 +0200
14101
14102     Rearranged testing of GCC-specific flags.
14103
14104  configure.ac | 33 +++++++++++++++++++++++----------
14105  1 file changed, 23 insertions(+), 10 deletions(-)
14106
14107 commit d160ee32598c6d1cd9054ef019e8c9331208b188
14108 Author: Lasse Collin <lasse.collin@tukaani.org>
14109 Date:   2008-01-05 01:20:24 +0200
14110
14111     Another bug fix for flush marker detection.
14112
14113  src/liblzma/lzma/lzma_decoder.c | 10 +++++++++-
14114  1 file changed, 9 insertions(+), 1 deletion(-)
14115
14116 commit fc67f79f607cbfa78c6f47a69dec098d8659b162
14117 Author: Lasse Collin <lasse.collin@tukaani.org>
14118 Date:   2008-01-04 21:37:01 +0200
14119
14120     Fix stupid bugs in flush marker detection.
14121
14122  src/liblzma/lzma/lzma_decoder.c | 7 ++++---
14123  1 file changed, 4 insertions(+), 3 deletions(-)
14124
14125 commit 0029cbbabe87d491fc046a55a629a6d556010baa
14126 Author: Lasse Collin <lasse.collin@tukaani.org>
14127 Date:   2008-01-04 21:30:33 +0200
14128
14129     Added support for flush marker, which will be in files
14130     that use LZMA_SYNC_FLUSH with encoder (not implemented
14131     yet). This is a new feature in the raw LZMA format,
14132     which isn't supported by old decoders. This shouldn't
14133     be a problem in practice, since lzma_alone_encoder()
14134     will not allow LZMA_SYNC_FLUSH, and thus not allow
14135     creating files on decodable with old decoders.
14136     
14137     Made lzma_decoder.c to require tab width of 4 characters
14138     if one wants to fit the code in 80 columns. This makes
14139     the code easier to read.
14140
14141  src/liblzma/lzma/lzma_common.h  |   4 +
14142  src/liblzma/lzma/lzma_decoder.c | 217 ++++++++++++++++++----------------------
14143  2 files changed, 104 insertions(+), 117 deletions(-)
14144
14145 commit bbfd1f6ab058a7e661545205befcb7f70c5685ab
14146 Author: Lasse Collin <lasse.collin@tukaani.org>
14147 Date:   2008-01-04 20:45:05 +0200
14148
14149     Moved range decoder initialization (reading the first
14150     five input bytes) from LZMA decoder to range decoder
14151     header. Did the same for decoding of direct bits.
14152
14153  src/liblzma/lzma/lzma_decoder.c        | 42 +++-------------
14154  src/liblzma/rangecoder/range_decoder.h | 87 +++++++++++++++++++++++-----------
14155  2 files changed, 66 insertions(+), 63 deletions(-)
14156
14157 commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc
14158 Author: Lasse Collin <lasse.collin@tukaani.org>
14159 Date:   2007-12-14 11:15:21 +0200
14160
14161     Added a note to README that --disable-assembler
14162     must be used on Darwin.
14163
14164  README | 4 ++++
14165  1 file changed, 4 insertions(+)
14166
14167 commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24
14168 Author: Lasse Collin <lasse.collin@tukaani.org>
14169 Date:   2007-12-14 10:07:10 +0200
14170
14171     Use the filename suffix .S instead of .s for assembler files
14172     so that the preprocessor removes the /* */ style comments,
14173     which are not supported by some non-GNU assemblers (Solaris)
14174     that otherwise work with this code.
14175
14176  src/liblzma/check/Makefile.am |   4 +-
14177  src/liblzma/check/crc32_x86.S | 217 ++++++++++++++++++++++++++++++++++++++++++
14178  src/liblzma/check/crc32_x86.s | 217 ------------------------------------------
14179  src/liblzma/check/crc64_x86.S | 203 +++++++++++++++++++++++++++++++++++++++
14180  src/liblzma/check/crc64_x86.s | 203 ---------------------------------------
14181  5 files changed, 422 insertions(+), 422 deletions(-)
14182
14183 commit ec1c82b2e82f395f6e8e19ac212a639644330cd7
14184 Author: Lasse Collin <lasse.collin@tukaani.org>
14185 Date:   2007-12-14 09:59:05 +0200
14186
14187     Fixed wrong symbol name in crc64_x86.s.
14188
14189  src/liblzma/check/crc64_x86.s | 2 +-
14190  1 file changed, 1 insertion(+), 1 deletion(-)
14191
14192 commit 2881570df6803eed2fe550af34574e8e61794804
14193 Author: Lasse Collin <lasse.collin@tukaani.org>
14194 Date:   2007-12-14 09:53:24 +0200
14195
14196     Use .globl instead of .global in x86 assembler code for
14197     better portability. Still needs fixing the commenting.
14198
14199  src/liblzma/check/crc32_x86.s | 2 +-
14200  src/liblzma/check/crc64_x86.s | 2 +-
14201  2 files changed, 2 insertions(+), 2 deletions(-)
14202
14203 commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66
14204 Author: Lasse Collin <lasse.collin@tukaani.org>
14205 Date:   2007-12-13 20:14:37 +0200
14206
14207     Fixed a few short options that take an argument.
14208     short_opts[] was missing colons to indicate
14209     required argument. Thanks to Fabio Pedretti for
14210     the bug report.
14211
14212  src/lzma/args.c | 2 +-
14213  1 file changed, 1 insertion(+), 1 deletion(-)
14214
14215 commit 918bcb0e0728d2d976621e9f35b56f224f11d989
14216 Author: Lasse Collin <lasse.collin@tukaani.org>
14217 Date:   2007-12-11 17:08:04 +0200
14218
14219     Removed uncompressed size tracking from Delta encoder too.
14220
14221  src/liblzma/common/delta_coder.c | 21 +++------------------
14222  1 file changed, 3 insertions(+), 18 deletions(-)
14223
14224 commit 3e16d51dd645667b05ff826665b1fc353aa41cd9
14225 Author: Lasse Collin <lasse.collin@tukaani.org>
14226 Date:   2007-12-11 16:49:19 +0200
14227
14228     Remove uncompressed size tracking from the filter encoders.
14229     It's not strictly needed there, and just complicates the
14230     code. LZ encoder never even had this feature.
14231     
14232     The primary reason to have uncompressed size tracking in
14233     filter encoders was validating that the application
14234     doesn't give different amount of input that it had
14235     promised. A side effect was to validate internal workings
14236     of liblzma.
14237     
14238     Uncompressed size tracking is still present in the Block
14239     encoder. Maybe it should be added to LZMA_Alone and raw
14240     encoders too. It's simpler to have one coder just to
14241     validate the uncompressed size instead of having it
14242     in every filter.
14243
14244  src/liblzma/common/copy_coder.c         | 25 ++--------------------
14245  src/liblzma/simple/simple_coder.c       | 29 ++++---------------------
14246  src/liblzma/subblock/subblock_encoder.c | 38 ++++++---------------------------
14247  3 files changed, 12 insertions(+), 80 deletions(-)
14248
14249 commit 5286723e0d1ac386d5b07f08d78e61becf895a5a
14250 Author: Lasse Collin <lasse.collin@tukaani.org>
14251 Date:   2007-12-11 14:10:53 +0200
14252
14253     Get rid of no-NLS gnulib. I don't know how to get it
14254     working with Automake. People who want smaller lzmadec
14255     should use --disable-nls on non-GNU systems.
14256
14257  lib/Makefile.am         | 10 +---------
14258  src/lzma/Makefile.am    |  2 +-
14259  src/lzmadec/Makefile.am |  4 +++-
14260  3 files changed, 5 insertions(+), 11 deletions(-)
14261
14262 commit ce8b036a6c7a43b290356b673d953f6d76b2be64
14263 Author: Lasse Collin <lasse.collin@tukaani.org>
14264 Date:   2007-12-11 14:09:35 +0200
14265
14266     Fixed a typo in tests/Makefile.am which prevented
14267     building the tests if gnulib was needed.
14268
14269  tests/Makefile.am | 2 +-
14270  1 file changed, 1 insertion(+), 1 deletion(-)
14271
14272 commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4
14273 Author: Lasse Collin <lasse.collin@tukaani.org>
14274 Date:   2007-12-11 11:18:58 +0200
14275
14276     Fixed wrong type of flags_size in Subblock encoder.
14277
14278  src/liblzma/subblock/subblock_encoder.c | 2 +-
14279  1 file changed, 1 insertion(+), 1 deletion(-)
14280
14281 commit ce64df716243fdc40359090d1f6541f3a4f5f21a
14282 Author: Lasse Collin <lasse.collin@tukaani.org>
14283 Date:   2007-12-10 20:44:16 +0200
14284
14285     Bumped version number to 4.42.3alpha.
14286
14287  configure.ac                   | 2 +-
14288  src/liblzma/api/lzma/version.h | 2 +-
14289  2 files changed, 2 insertions(+), 2 deletions(-)
14290
14291 commit b499a0403ea5c41d6a25b40275eb6c57643052ce
14292 Author: Lasse Collin <lasse.collin@tukaani.org>
14293 Date:   2007-12-10 15:02:50 +0200
14294
14295     Disabled some unneeded warnings and made "make dist" work.
14296
14297  Makefile.am  |  9 +++------
14298  configure.ac |  9 ++++++---
14299  po/fi.po     | 47 ++++++++++++++++++++++++-----------------------
14300  3 files changed, 33 insertions(+), 32 deletions(-)
14301
14302 commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172
14303 Author: Lasse Collin <lasse.collin@tukaani.org>
14304 Date:   2007-12-09 21:43:15 +0200
14305
14306     Added LZMA_SYNC_FLUSH support to the Copy filter.
14307
14308  src/liblzma/common/copy_coder.c | 92 +++++++++++++++++++++++++----------------
14309  1 file changed, 57 insertions(+), 35 deletions(-)
14310
14311 commit 329c272d501e88793dda5540358d55c12428d194
14312 Author: Lasse Collin <lasse.collin@tukaani.org>
14313 Date:   2007-12-09 17:14:07 +0200
14314
14315     Added missing LZMA_API to the C versions of the CRC functions.
14316     The x86 assembler versions were already OK.
14317
14318  src/liblzma/check/crc32.c | 2 +-
14319  src/liblzma/check/crc64.c | 2 +-
14320  2 files changed, 2 insertions(+), 2 deletions(-)
14321
14322 commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7
14323 Author: Jim Meyering <meyering@redhat.com>
14324 Date:   2007-12-09 15:34:25 +0100
14325
14326     * tests/test_block_header.c (test3): Remove duplicate initializer.
14327
14328  autogen.sh                | 2 +-
14329  tests/test_block_header.c | 1 -
14330  2 files changed, 1 insertion(+), 2 deletions(-)
14331
14332 commit 07ac881779a8477f2c1ab112b91a129e24aa743c
14333 Author: Lasse Collin <lasse.collin@tukaani.org>
14334 Date:   2007-12-09 17:06:45 +0200
14335
14336     Take advantage of return_if_error() macro in more places.
14337     Cleaned Subblock filter's initialization code too.
14338
14339  src/liblzma/common/block_decoder.c         | 22 +++-------
14340  src/liblzma/common/delta_coder.c           |  8 +---
14341  src/liblzma/common/stream_decoder.c        | 17 +++-----
14342  src/liblzma/common/stream_encoder_multi.c  | 68 ++++++++++--------------------
14343  src/liblzma/common/stream_encoder_single.c |  8 ++--
14344  src/liblzma/subblock/subblock_decoder.c    | 33 +++++----------
14345  src/liblzma/subblock/subblock_encoder.c    | 45 ++++++--------------
14346  7 files changed, 63 insertions(+), 138 deletions(-)
14347
14348 commit 41338717964f510ee61d70b25bd4c502ec9f77cf
14349 Author: Lasse Collin <lasse.collin@tukaani.org>
14350 Date:   2007-12-09 12:13:01 +0200
14351
14352     Added a bunch of .lzma test files.
14353
14354  tests/files/bad-single-data_after_eopm.lzma         | Bin 0 -> 55 bytes
14355  tests/files/bad-single-data_after_eopm_2.lzma       | Bin 0 -> 56 bytes
14356  tests/files/bad-single-subblock_subblock.lzma       | Bin 0 -> 26 bytes
14357  tests/files/good-cat-single-none-pad.lzma           | Bin 0 -> 64 bytes
14358  tests/files/good-single-delta-lzma.tiff.lzma        | Bin 0 -> 51409 bytes
14359  tests/files/good-single-lzma.lzma                   | Bin 0 -> 44 bytes
14360  tests/files/good-single-none-pad.lzma               | Bin 0 -> 32 bytes
14361  tests/files/good-single-none.lzma                   | Bin 0 -> 30 bytes
14362  tests/files/good-single-subblock-lzma.lzma          | Bin 0 -> 50 bytes
14363  tests/files/good-single-subblock_rle.lzma           | Bin 0 -> 118 bytes
14364  tests/files/malicious-multi-metadata-64PiB.lzma     | Bin 0 -> 51 bytes
14365  tests/files/malicious-single-subblock-256MiB.lzma   | Bin 0 -> 30 bytes
14366  tests/files/malicious-single-subblock-64PiB.lzma    | Bin 0 -> 45 bytes
14367  tests/files/malicious-single-subblock-loop.lzma     | Bin 0 -> 43 bytes
14368  tests/files/malicious-single-subblock-lzma.lzma     | Bin 0 -> 505 bytes
14369  tests/files/malicious-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes
14370  tests/files/malicious-single-subblock31-slow.lzma   | Bin 0 -> 1233 bytes
14371  17 files changed, 0 insertions(+), 0 deletions(-)
14372
14373 commit ff946ceb7975d4f11950afd33f6315b4d20d1a03
14374 Author: Lasse Collin <lasse.collin@tukaani.org>
14375 Date:   2007-12-09 11:24:48 +0200
14376
14377     Re-enabled the security checks in Subblock decoder
14378     that were disabled for debugging reasons.
14379
14380  src/liblzma/subblock/subblock_decoder.c | 6 +++---
14381  1 file changed, 3 insertions(+), 3 deletions(-)
14382
14383 commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1
14384 Author: Lasse Collin <lasse.collin@tukaani.org>
14385 Date:   2007-12-09 11:03:28 +0200
14386
14387     Fixed the tests to build with -Werror.
14388
14389  tests/test_block_header.c |  2 +-
14390  tests/test_check.c        |  2 +-
14391  tests/test_filter_flags.c |  2 +-
14392  tests/test_index.c        | 14 +++++++-------
14393  tests/test_info.c         |  2 +-
14394  tests/test_stream_flags.c |  2 +-
14395  6 files changed, 12 insertions(+), 12 deletions(-)
14396
14397 commit 5d018dc03549c1ee4958364712fb0c94e1bf2741
14398 Author: Lasse Collin <lasse.collin@tukaani.org>
14399 Date:   2007-12-09 00:42:33 +0200
14400
14401     Imported to git.
14402
14403  AUTHORS                                        |   18 +
14404  COPYING                                        |   24 +
14405  COPYING.GPLv2                                  |  339 +++++
14406  COPYING.GPLv3                                  |  674 +++++++++
14407  COPYING.LGPLv2.1                               |  504 +++++++
14408  ChangeLog                                      |    2 +
14409  Doxyfile.in                                    | 1229 ++++++++++++++++
14410  Makefile.am                                    |   38 +
14411  NEWS                                           |    0
14412  README                                         |  151 ++
14413  THANKS                                         |   23 +
14414  TODO                                           |  109 ++
14415  autogen.sh                                     |   38 +
14416  configure.ac                                   |  611 ++++++++
14417  doc/bugs.txt                                   |   46 +
14418  doc/faq.txt                                    |  247 ++++
14419  doc/file-format.txt                            | 1861 ++++++++++++++++++++++++
14420  doc/history.txt                                |  140 ++
14421  doc/liblzma-advanced.txt                       |  324 +++++
14422  doc/liblzma-hacking.txt                        |  112 ++
14423  doc/liblzma-intro.txt                          |  188 +++
14424  doc/liblzma-security.txt                       |  219 +++
14425  doc/lzma-intro.txt                             |  107 ++
14426  extra/scanlzma/scanlzma.c                      |   85 ++
14427  lib/Makefile.am                                |   40 +
14428  lib/getopt.c                                   | 1191 +++++++++++++++
14429  lib/getopt1.c                                  |  171 +++
14430  lib/getopt_.h                                  |  226 +++
14431  lib/getopt_int.h                               |  131 ++
14432  lib/gettext.h                                  |  240 +++
14433  m4/acx_pthread.m4                              |  279 ++++
14434  m4/getopt.m4                                   |   83 ++
14435  po/LINGUAS                                     |    1 +
14436  po/Makevars                                    |   46 +
14437  po/POTFILES.in                                 |   13 +
14438  po/fi.po                                       |  445 ++++++
14439  src/Makefile.am                                |   16 +
14440  src/common/open_stdxxx.h                       |   50 +
14441  src/common/physmem.h                           |   77 +
14442  src/common/sysdefs.h                           |  100 ++
14443  src/liblzma/Makefile.am                        |   47 +
14444  src/liblzma/api/Makefile.am                    |   39 +
14445  src/liblzma/api/lzma.h                         |  122 ++
14446  src/liblzma/api/lzma/alignment.h               |   60 +
14447  src/liblzma/api/lzma/alone.h                   |   82 ++
14448  src/liblzma/api/lzma/auto.h                    |   41 +
14449  src/liblzma/api/lzma/base.h                    |  410 ++++++
14450  src/liblzma/api/lzma/block.h                   |  409 ++++++
14451  src/liblzma/api/lzma/check.h                   |  128 ++
14452  src/liblzma/api/lzma/copy.h                    |   29 +
14453  src/liblzma/api/lzma/delta.h                   |   49 +
14454  src/liblzma/api/lzma/extra.h                   |  114 ++
14455  src/liblzma/api/lzma/filter.h                  |  166 +++
14456  src/liblzma/api/lzma/index.h                   |   84 ++
14457  src/liblzma/api/lzma/info.h                    |  315 ++++
14458  src/liblzma/api/lzma/init.h                    |   85 ++
14459  src/liblzma/api/lzma/lzma.h                    |  312 ++++
14460  src/liblzma/api/lzma/memlimit.h                |  157 ++
14461  src/liblzma/api/lzma/metadata.h                |  100 ++
14462  src/liblzma/api/lzma/raw.h                     |   72 +
14463  src/liblzma/api/lzma/simple.h                  |   85 ++
14464  src/liblzma/api/lzma/stream.h                  |  178 +++
14465  src/liblzma/api/lzma/stream_flags.h            |  142 ++
14466  src/liblzma/api/lzma/subblock.h                |  197 +++
14467  src/liblzma/api/lzma/version.h                 |   59 +
14468  src/liblzma/api/lzma/vli.h                     |  244 ++++
14469  src/liblzma/check/Makefile.am                  |   64 +
14470  src/liblzma/check/check.c                      |  160 ++
14471  src/liblzma/check/check.h                      |  102 ++
14472  src/liblzma/check/check_byteswap.h             |   43 +
14473  src/liblzma/check/check_init.c                 |   37 +
14474  src/liblzma/check/crc32.c                      |   88 ++
14475  src/liblzma/check/crc32_init.c                 |   58 +
14476  src/liblzma/check/crc32_table.c                |   22 +
14477  src/liblzma/check/crc32_table_be.h             |  527 +++++++
14478  src/liblzma/check/crc32_table_le.h             |  527 +++++++
14479  src/liblzma/check/crc32_tablegen.c             |   55 +
14480  src/liblzma/check/crc32_x86.s                  |  217 +++
14481  src/liblzma/check/crc64.c                      |   75 +
14482  src/liblzma/check/crc64_init.c                 |   58 +
14483  src/liblzma/check/crc64_table.c                |   22 +
14484  src/liblzma/check/crc64_table_be.h             |  523 +++++++
14485  src/liblzma/check/crc64_table_le.h             |  523 +++++++
14486  src/liblzma/check/crc64_tablegen.c             |   56 +
14487  src/liblzma/check/crc64_x86.s                  |  203 +++
14488  src/liblzma/check/crc_macros.h                 |   33 +
14489  src/liblzma/check/sha256.c                     |  203 +++
14490  src/liblzma/common/Makefile.am                 |   94 ++
14491  src/liblzma/common/alignment.c                 |  118 ++
14492  src/liblzma/common/allocator.c                 |   57 +
14493  src/liblzma/common/alone_decoder.c             |  197 +++
14494  src/liblzma/common/alone_decoder.h             |   24 +
14495  src/liblzma/common/alone_encoder.c             |  167 +++
14496  src/liblzma/common/auto_decoder.c              |  113 ++
14497  src/liblzma/common/block_decoder.c             |  405 ++++++
14498  src/liblzma/common/block_decoder.h             |   29 +
14499  src/liblzma/common/block_encoder.c             |  375 +++++
14500  src/liblzma/common/block_encoder.h             |   29 +
14501  src/liblzma/common/block_header_decoder.c      |  373 +++++
14502  src/liblzma/common/block_header_encoder.c      |  211 +++
14503  src/liblzma/common/block_private.h             |   46 +
14504  src/liblzma/common/chunk_size.c                |   74 +
14505  src/liblzma/common/code.c                      |  203 +++
14506  src/liblzma/common/common.h                    |  271 ++++
14507  src/liblzma/common/copy_coder.c                |  143 ++
14508  src/liblzma/common/copy_coder.h                |   31 +
14509  src/liblzma/common/delta_coder.c               |  210 +++
14510  src/liblzma/common/delta_coder.h               |   31 +
14511  src/liblzma/common/extra.c                     |   33 +
14512  src/liblzma/common/features.c                  |   70 +
14513  src/liblzma/common/filter_flags_decoder.c      |  382 +++++
14514  src/liblzma/common/filter_flags_encoder.c      |  359 +++++
14515  src/liblzma/common/index.c                     |  140 ++
14516  src/liblzma/common/info.c                      |  823 +++++++++++
14517  src/liblzma/common/init.c                      |   39 +
14518  src/liblzma/common/init_decoder.c              |   33 +
14519  src/liblzma/common/init_encoder.c              |   44 +
14520  src/liblzma/common/memory_limitter.c           |  200 +++
14521  src/liblzma/common/memory_usage.c              |  113 ++
14522  src/liblzma/common/metadata_decoder.c          |  555 +++++++
14523  src/liblzma/common/metadata_decoder.h          |   31 +
14524  src/liblzma/common/metadata_encoder.c          |  436 ++++++
14525  src/liblzma/common/metadata_encoder.h          |   30 +
14526  src/liblzma/common/next_coder.c                |   65 +
14527  src/liblzma/common/raw_common.c                |  175 +++
14528  src/liblzma/common/raw_common.h                |   31 +
14529  src/liblzma/common/raw_decoder.c               |  127 ++
14530  src/liblzma/common/raw_decoder.h               |   30 +
14531  src/liblzma/common/raw_encoder.c               |  124 ++
14532  src/liblzma/common/raw_encoder.h               |   30 +
14533  src/liblzma/common/stream_common.c             |   23 +
14534  src/liblzma/common/stream_common.h             |   28 +
14535  src/liblzma/common/stream_decoder.c            |  454 ++++++
14536  src/liblzma/common/stream_encoder_multi.c      |  460 ++++++
14537  src/liblzma/common/stream_encoder_single.c     |  220 +++
14538  src/liblzma/common/stream_flags_decoder.c      |  258 ++++
14539  src/liblzma/common/stream_flags_decoder.h      |   31 +
14540  src/liblzma/common/stream_flags_encoder.c      |   75 +
14541  src/liblzma/common/sysdefs.h                   |    1 +
14542  src/liblzma/common/version.c                   |   25 +
14543  src/liblzma/common/vli_decoder.c               |   69 +
14544  src/liblzma/common/vli_encoder.c               |   81 ++
14545  src/liblzma/common/vli_reverse_decoder.c       |   55 +
14546  src/liblzma/lz/Makefile.am                     |   63 +
14547  src/liblzma/lz/bt2.c                           |   27 +
14548  src/liblzma/lz/bt2.h                           |   31 +
14549  src/liblzma/lz/bt3.c                           |   29 +
14550  src/liblzma/lz/bt3.h                           |   31 +
14551  src/liblzma/lz/bt4.c                           |   30 +
14552  src/liblzma/lz/bt4.h                           |   31 +
14553  src/liblzma/lz/hc3.c                           |   30 +
14554  src/liblzma/lz/hc3.h                           |   31 +
14555  src/liblzma/lz/hc4.c                           |   31 +
14556  src/liblzma/lz/hc4.h                           |   31 +
14557  src/liblzma/lz/lz_decoder.c                    |  462 ++++++
14558  src/liblzma/lz/lz_decoder.h                    |  214 +++
14559  src/liblzma/lz/lz_encoder.c                    |  481 ++++++
14560  src/liblzma/lz/lz_encoder.h                    |  161 ++
14561  src/liblzma/lz/lz_encoder_private.h            |   40 +
14562  src/liblzma/lz/match_c.h                       |  401 +++++
14563  src/liblzma/lz/match_h.h                       |   69 +
14564  src/liblzma/lzma.pc.in                         |   11 +
14565  src/liblzma/lzma/Makefile.am                   |   43 +
14566  src/liblzma/lzma/lzma_common.h                 |  128 ++
14567  src/liblzma/lzma/lzma_decoder.c                |  844 +++++++++++
14568  src/liblzma/lzma/lzma_decoder.h                |   41 +
14569  src/liblzma/lzma/lzma_encoder.c                |  413 ++++++
14570  src/liblzma/lzma/lzma_encoder.h                |   35 +
14571  src/liblzma/lzma/lzma_encoder_features.c       |   59 +
14572  src/liblzma/lzma/lzma_encoder_getoptimum.c     |  893 ++++++++++++
14573  src/liblzma/lzma/lzma_encoder_getoptimumfast.c |  201 +++
14574  src/liblzma/lzma/lzma_encoder_init.c           |  245 ++++
14575  src/liblzma/lzma/lzma_encoder_presets.c        |   34 +
14576  src/liblzma/lzma/lzma_encoder_private.h        |  225 +++
14577  src/liblzma/lzma/lzma_literal.c                |   74 +
14578  src/liblzma/lzma/lzma_literal.h                |   74 +
14579  src/liblzma/rangecoder/Makefile.am             |   28 +
14580  src/liblzma/rangecoder/range_common.h          |   68 +
14581  src/liblzma/rangecoder/range_decoder.h         |  189 +++
14582  src/liblzma/rangecoder/range_encoder.c         |   46 +
14583  src/liblzma/rangecoder/range_encoder.h         |  317 ++++
14584  src/liblzma/simple/Makefile.am                 |   46 +
14585  src/liblzma/simple/arm.c                       |   76 +
14586  src/liblzma/simple/armthumb.c                  |   81 ++
14587  src/liblzma/simple/ia64.c                      |  117 ++
14588  src/liblzma/simple/powerpc.c                   |   80 +
14589  src/liblzma/simple/simple_coder.c              |  306 ++++
14590  src/liblzma/simple/simple_coder.h              |   68 +
14591  src/liblzma/simple/simple_private.h            |   86 ++
14592  src/liblzma/simple/sparc.c                     |   88 ++
14593  src/liblzma/simple/x86.c                       |  161 ++
14594  src/liblzma/subblock/Makefile.am               |   33 +
14595  src/liblzma/subblock/subblock_decoder.c        |  681 +++++++++
14596  src/liblzma/subblock/subblock_decoder.h        |   29 +
14597  src/liblzma/subblock/subblock_decoder_helper.c |   80 +
14598  src/liblzma/subblock/subblock_decoder_helper.h |   36 +
14599  src/liblzma/subblock/subblock_encoder.c        |  841 +++++++++++
14600  src/liblzma/subblock/subblock_encoder.h        |   28 +
14601  src/lzma/Makefile.am                           |   63 +
14602  src/lzma/alloc.c                               |  106 ++
14603  src/lzma/alloc.h                               |   42 +
14604  src/lzma/args.c                                |  566 +++++++
14605  src/lzma/args.h                                |   64 +
14606  src/lzma/error.c                               |  156 ++
14607  src/lzma/error.h                               |   67 +
14608  src/lzma/hardware.c                            |   99 ++
14609  src/lzma/hardware.h                            |   31 +
14610  src/lzma/help.c                                |  178 +++
14611  src/lzma/help.h                                |   32 +
14612  src/lzma/io.c                                  |  664 +++++++++
14613  src/lzma/io.h                                  |   60 +
14614  src/lzma/list.c                                |  477 ++++++
14615  src/lzma/main.c                                |  254 ++++
14616  src/lzma/options.c                             |  346 +++++
14617  src/lzma/options.h                             |   46 +
14618  src/lzma/private.h                             |   55 +
14619  src/lzma/process.c                             |  458 ++++++
14620  src/lzma/process.h                             |   30 +
14621  src/lzma/suffix.c                              |  145 ++
14622  src/lzma/suffix.h                              |   25 +
14623  src/lzma/util.c                                |  182 +++
14624  src/lzma/util.h                                |   32 +
14625  src/lzmadec/Makefile.am                        |   27 +
14626  src/lzmadec/lzmadec.c                          |  515 +++++++
14627  src/scripts/Makefile.am                        |   24 +
14628  src/scripts/lzdiff                             |   67 +
14629  src/scripts/lzdiff.1                           |   51 +
14630  src/scripts/lzgrep                             |  123 ++
14631  src/scripts/lzgrep.1                           |   61 +
14632  src/scripts/lzmore                             |   74 +
14633  src/scripts/lzmore.1                           |   55 +
14634  tests/Makefile.am                              |   43 +
14635  tests/test_block.c                             |   59 +
14636  tests/test_block_header.c                      |  352 +++++
14637  tests/test_check.c                             |   90 ++
14638  tests/test_filter_flags.c                      |  326 +++++
14639  tests/test_index.c                             |   43 +
14640  tests/test_info.c                              |  717 +++++++++
14641  tests/test_stream_flags.c                      |  191 +++
14642  tests/tests.h                                  |  148 ++
14643  240 files changed, 42513 insertions(+)