1 commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a
2 Author: Lasse Collin <lasse.collin@tukaani.org>
3 Date: 2014-12-21 20:48:37 +0200
8 1 file changed, 1 insertion(+)
10 commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e
11 Author: Lasse Collin <lasse.collin@tukaani.org>
12 Date: 2014-12-21 19:50:38 +0200
14 Windows: Fix bin_i486 to bin_i686 in build.bash.
16 windows/build.bash | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
19 commit cbafa710918195dbba3db02c3fab4f0538235206
20 Author: Lasse Collin <lasse.collin@tukaani.org>
21 Date: 2014-12-21 18:58:44 +0200
23 Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c.
25 doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++----
26 1 file changed, 26 insertions(+), 4 deletions(-)
28 commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a
29 Author: Lasse Collin <lasse.collin@tukaani.org>
30 Date: 2014-12-21 18:56:44 +0200
32 Docs: Update docs/examples/00_README.txt.
34 doc/examples/00_README.txt | 4 ++++
35 1 file changed, 4 insertions(+)
37 commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6
38 Author: Lasse Collin <lasse.collin@tukaani.org>
39 Date: 2014-12-21 18:11:17 +0200
41 Bump version and soname for 5.2.0.
43 I know that soname != app version, but I skip AGE=1
44 in -version-info to make the soname match the liblzma
45 version anyway. It doesn't hurt anything as long as
46 it doesn't conflict with library versioning rules.
48 src/liblzma/Makefile.am | 2 +-
49 src/liblzma/api/lzma/version.h | 6 +++---
50 src/liblzma/liblzma.map | 2 +-
51 3 files changed, 5 insertions(+), 5 deletions(-)
53 commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da
54 Author: Lasse Collin <lasse.collin@tukaani.org>
55 Date: 2014-12-21 18:05:03 +0200
57 Avoid variable-length arrays in the debug programs.
59 debug/full_flush.c | 3 ++-
60 debug/sync_flush.c | 3 ++-
61 2 files changed, 4 insertions(+), 2 deletions(-)
63 commit 72f7307cfdceb941aeb2bf30d424cc0d13621786
64 Author: Lasse Collin <lasse.collin@tukaani.org>
65 Date: 2014-12-21 18:01:45 +0200
67 Build: Include 04_compress_easy_mt.c in the tarball.
70 1 file changed, 1 insertion(+)
72 commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0
73 Author: Lasse Collin <lasse.collin@tukaani.org>
74 Date: 2014-12-21 18:00:38 +0200
76 Fix build when --disable-threads is used.
78 src/common/mythread.h | 2 ++
79 1 file changed, 2 insertions(+)
81 commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17
82 Author: Adrien Nader <adrien@notk.org>
83 Date: 2014-12-21 15:56:15 +0100
85 po/fr: improve wording for help for --lzma1/--lzma2.
88 1 file changed, 1 insertion(+), 1 deletion(-)
90 commit a8b6b569e7fadbf5b5b9139d53bc764015c15027
91 Author: Adrien Nader <adrien@notk.org>
92 Date: 2014-12-21 15:55:48 +0100
94 po/fr: missing line in translation of --extreme.
97 1 file changed, 1 insertion(+)
99 commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9
100 Author: Lasse Collin <lasse.collin@tukaani.org>
101 Date: 2014-12-21 14:32:33 +0200
103 Update NEWS for 5.2.0.
105 NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
106 1 file changed, 65 insertions(+)
108 commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429
109 Author: Lasse Collin <lasse.collin@tukaani.org>
110 Date: 2014-12-21 14:32:22 +0200
112 Update NEWS for 5.0.8.
114 NEWS | 12 ++++++++++++
115 1 file changed, 12 insertions(+)
117 commit 42e97a32649bf53ce43be2258b902a417c6e7fa1
118 Author: Lasse Collin <lasse.collin@tukaani.org>
119 Date: 2014-12-21 14:07:54 +0200
123 src/xz/options.c | 4 ++--
124 1 file changed, 2 insertions(+), 2 deletions(-)
126 commit 29b95d5d6665cedffa6a9d6d3d914f981e852182
127 Author: Lasse Collin <lasse.collin@tukaani.org>
128 Date: 2014-12-20 20:43:14 +0200
130 Update INSTALL about the dependencies of the scripts.
132 INSTALL | 15 ++++++++++-----
133 1 file changed, 10 insertions(+), 5 deletions(-)
135 commit 3af91040bb42c21afbb81f5568c3313125e61192
136 Author: Lasse Collin <lasse.collin@tukaani.org>
137 Date: 2014-12-20 20:42:33 +0200
139 Windows: Update build instructions.
141 INSTALL | 15 +++++++++------
142 windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++-----------------------
143 2 files changed, 30 insertions(+), 29 deletions(-)
145 commit 0152f72bf6289d744823dc6c849538f3a139ad70
146 Author: Lasse Collin <lasse.collin@tukaani.org>
147 Date: 2014-12-20 20:41:48 +0200
149 Windows: Update the build script and README-Windows.txt.
151 The 32-bit build is now for i686 or newer because the
152 prebuilt MinGW-w64 toolchains include i686 code in the
153 executables even if one uses -march=i486.
155 The build script builds 32-bit SSE2 enabled version too.
156 Run-time detection of SSE2 support would be nice (on any OS)
157 but it's not implemented in XZ Utils yet.
159 windows/README-Windows.txt | 30 ++++++++++++++++--------------
160 windows/build.bash | 23 ++++++++++++++---------
161 2 files changed, 30 insertions(+), 23 deletions(-)
163 commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a
164 Author: Lasse Collin <lasse.collin@tukaani.org>
165 Date: 2014-12-19 15:51:50 +0200
167 Windows: Define TUKLIB_SYMBOL_PREFIX in config.h.
169 It is to keep all symbols in the lzma_ namespace.
171 windows/config.h | 3 +++
172 1 file changed, 3 insertions(+)
174 commit 7f7d093de79eee0c7dbfd7433647e46302f19f82
175 Author: Lasse Collin <lasse.collin@tukaani.org>
176 Date: 2014-12-16 21:00:09 +0200
178 xz: Update the man page about --threads.
180 src/xz/xz.1 | 5 -----
181 1 file changed, 5 deletions(-)
183 commit 009823448b82aa5f465668878a544c5842885407
184 Author: Lasse Collin <lasse.collin@tukaani.org>
185 Date: 2014-12-16 20:57:43 +0200
187 xz: Update the man page about --block-size.
189 src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++--------
190 1 file changed, 33 insertions(+), 8 deletions(-)
192 commit 7dddfbeb499e528940bc12047355c184644aafe9
193 Author: Adrien Nader <adrien@notk.org>
194 Date: 2014-12-10 22:26:57 +0100
196 po/fr: several more translation updates: reword and handle --ignore-check.
198 po/fr.po | 50 ++++++++++++++++++++++++++------------------------
199 1 file changed, 26 insertions(+), 24 deletions(-)
201 commit 6eca5be40e04ddc4b738d493e4e56835956d8b69
202 Author: Adrien Nader <adrien@notk.org>
203 Date: 2014-12-10 22:23:01 +0100
205 po/fr: yet another place where my email address had to be updated.
208 1 file changed, 1 insertion(+), 1 deletion(-)
210 commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7
211 Author: Adrien Nader <adrien@notk.org>
212 Date: 2014-12-10 22:22:20 +0100
214 po/fr: fix several typos that have been around since the beginning.
216 po/fr.po | 22 +++++++++++-----------
217 1 file changed, 11 insertions(+), 11 deletions(-)
219 commit 4c5aa911a0df027e46171e368debc543d2fa72b2
220 Author: Adrien Nader <adrien@notk.org>
221 Date: 2014-12-03 20:02:31 +0100
223 po/fr: last batch of new translations for now.
225 Four new error messages.
227 po/fr.po | 16 ++++++++--------
228 1 file changed, 8 insertions(+), 8 deletions(-)
230 commit 3e3099e36d27059499e7996fb38a62e8ab01d356
231 Author: Adrien Nader <adrien@notk.org>
232 Date: 2014-12-03 20:01:32 +0100
234 po/fr: translations for --threads, --block-size and --block-list.
236 po/fr.po | 12 ++++++++----
237 1 file changed, 8 insertions(+), 4 deletions(-)
239 commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53
240 Author: Adrien Nader <adrien@notk.org>
241 Date: 2014-12-03 20:00:53 +0100
243 po/fr: remove fuzzy marker for error messages that will be kept in English.
245 The following is a copy of a comment inside fr.po:
247 Note from translator on "file status flags".
248 The following entry is kept un-translated on purpose. It is difficult to
249 translate and should only happen in exceptional circumstances which means
250 that translating would:
251 - lose some of the meaning
252 - make it more difficult to look up in search engines; it might happen one
254 a million times, if we dilute the error message in 20 languages, it will be
255 almost impossible to find an explanation and support for the error.
257 po/fr.po | 22 ++++++++++++++++------
258 1 file changed, 16 insertions(+), 6 deletions(-)
260 commit 46cbb9033af8a21fafe543302d6919746e0d72af
261 Author: Adrien Nader <adrien@notk.org>
262 Date: 2014-12-03 19:58:25 +0100
264 po/fr: several minor updates and better wording.
266 Meaning doesn't change at all: it's only for better wording and/or
267 formatting of a few strings.
269 po/fr.po | 14 +++++++-------
270 1 file changed, 7 insertions(+), 7 deletions(-)
272 commit 7ce49d444f04e73145f79c832eb4d510594b074a
273 Author: Adrien Nader <adrien@notk.org>
274 Date: 2014-12-03 19:56:12 +0100
276 po/fr: update my email address and copyright years.
279 1 file changed, 2 insertions(+), 2 deletions(-)
281 commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c
282 Author: Adrien Nader <adrien@notk.org>
283 Date: 2014-11-26 10:08:26 +0100
285 fr.po: commit file after only "update-po" so actual is readable.
287 po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++-----------------------
288 1 file changed, 199 insertions(+), 112 deletions(-)
290 commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b
291 Author: Lasse Collin <lasse.collin@tukaani.org>
292 Date: 2014-12-02 20:04:07 +0200
294 liblzma: Document how lzma_mt.block_size affects memory usage.
296 src/liblzma/api/lzma/container.h | 4 ++++
297 1 file changed, 4 insertions(+)
299 commit e4fc1d2f9571fba79ce383595be2ea2a9257def0
300 Author: Lasse Collin <lasse.collin@tukaani.org>
301 Date: 2014-11-28 20:07:18 +0200
303 Update INSTALL about a "make check" failure in test_scripts.sh.
305 INSTALL | 24 +++++++++++++++++-------
306 1 file changed, 17 insertions(+), 7 deletions(-)
308 commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe
309 Author: Lasse Collin <lasse.collin@tukaani.org>
310 Date: 2014-11-26 20:12:27 +0200
312 Remove LZMA_UNSTABLE macro.
314 src/liblzma/api/lzma/container.h | 4 ----
315 src/liblzma/common/common.h | 2 --
316 src/xz/private.h | 1 -
317 3 files changed, 7 deletions(-)
319 commit 6d9c0ce9f2677b159e32b224aba5b535b304a705
320 Author: Lasse Collin <lasse.collin@tukaani.org>
321 Date: 2014-11-26 20:10:33 +0200
323 liblzma: Update lzma_stream_encoder_mt() API docs.
325 src/liblzma/api/lzma/container.h | 5 +++--
326 1 file changed, 3 insertions(+), 2 deletions(-)
328 commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3
329 Author: Lasse Collin <lasse.collin@tukaani.org>
330 Date: 2014-11-25 12:32:05 +0200
332 liblzma: Verify the filter chain in threaded encoder initialization.
334 This way an invalid filter chain is detected at the Stream
335 encoder initialization instead of delaying it to the first
336 call to lzma_code() which triggers the initialization of
337 the actual filter encoder(s).
339 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
340 1 file changed, 6 insertions(+), 3 deletions(-)
342 commit 107a263d5bb63cd3593fd6a5c938706539f84523
343 Author: Lasse Collin <lasse.collin@tukaani.org>
344 Date: 2014-11-17 19:11:49 +0200
346 Build: Update m4/ax_pthread.m4 from Autoconf Archive.
348 m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++-------------------
349 1 file changed, 47 insertions(+), 24 deletions(-)
351 commit b13a781833399ff5726cfc997f3cb2f0acbdbf31
352 Author: Lasse Collin <lasse.collin@tukaani.org>
353 Date: 2014-11-17 18:52:21 +0200
355 Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING.
357 configure.ac | 36 ++++++++++++++++++------------------
358 m4/tuklib_integer.m4 | 2 +-
359 2 files changed, 19 insertions(+), 19 deletions(-)
361 commit 542cac122ed3550148a2af0033af22b757491378
362 Author: Lasse Collin <lasse.collin@tukaani.org>
363 Date: 2014-11-17 18:43:19 +0200
365 Build: Fix Autoconf warnings about escaped backquotes.
367 Thanks to Daniel Richard G. for pointing out that it's
368 good to sometimes run autoreconf -fi with -Wall.
370 configure.ac | 7 +++----
371 1 file changed, 3 insertions(+), 4 deletions(-)
373 commit 7b03a15cea8cd4f19ed680b51c4bcbae3ce4142f
374 Author: Lasse Collin <lasse.collin@tukaani.org>
375 Date: 2014-11-10 18:54:40 +0200
377 xzdiff: Use mkdir if mktemp isn't available.
379 src/scripts/xzdiff.in | 17 ++++++++++++++++-
380 1 file changed, 16 insertions(+), 1 deletion(-)
382 commit f8c13e5e3609581d5dd9f8777985ca07f2390ad7
383 Author: Lasse Collin <lasse.collin@tukaani.org>
384 Date: 2014-11-10 18:45:01 +0200
386 xzdiff: Create a temporary directory to hold a temporary file.
388 This avoids the possibility of "File name too long" when
389 creating a temp file when the input file name is very long.
391 This also means that other users on the system can no longer
392 see the input file names in /tmp (or whatever $TMPDIR is)
393 since the temporary directory will have a generic name. This
394 usually doesn't matter since on many systems one can see
395 the arguments given to all processes anyway.
397 The number X chars to mktemp where increased from 6 to 10.
399 Note that with some shells temp files or dirs won't be used at all.
401 src/scripts/xzdiff.in | 10 +++++-----
402 1 file changed, 5 insertions(+), 5 deletions(-)
404 commit 7716dcf9df7f457500cb657314e7a9aea5fedb06
405 Author: Lasse Collin <lasse.collin@tukaani.org>
406 Date: 2014-11-10 15:38:47 +0200
408 liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage().
410 It read the filter chain from a wrong variable. This is a similar
411 bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e.
413 src/liblzma/common/stream_encoder_mt.c | 3 +--
414 1 file changed, 1 insertion(+), 2 deletions(-)
416 commit 230fa4a605542c84b4178a57381695a0af4e779b
417 Author: Lasse Collin <lasse.collin@tukaani.org>
418 Date: 2014-11-10 14:49:55 +0200
423 1 file changed, 1 insertion(+)
425 commit 4e4ae08bc7c1711e399c9f2d26eb375d39d08101
426 Author: Lasse Collin <lasse.collin@tukaani.org>
427 Date: 2014-10-29 21:28:25 +0200
429 Update .gitignore files.
432 m4/.gitignore | 3 +++
433 2 files changed, 5 insertions(+)
435 commit c923b140b27d1a055db6284e10fd546ad1a7fcdb
436 Author: Lasse Collin <lasse.collin@tukaani.org>
437 Date: 2014-10-29 21:15:35 +0200
439 Build: Prepare to support Automake's subdir-objects.
441 Due to a bug in Automake, subdir-objects won't be enabled
444 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354
446 Thanks to Daniel Richard G. for the original patches.
448 configure.ac | 7 ++++++-
449 src/Makefile.am | 22 +++++++++++++++++++++-
450 src/liblzma/Makefile.am | 4 ++--
451 src/lzmainfo/Makefile.am | 4 ++--
452 src/xz/Makefile.am | 10 +++++-----
453 src/xzdec/Makefile.am | 8 ++++----
454 6 files changed, 40 insertions(+), 15 deletions(-)
456 commit 08c2aa16bea0df82828f665d51fba2e0a5e8997f
457 Author: Lasse Collin <lasse.collin@tukaani.org>
458 Date: 2014-10-24 20:09:29 +0300
460 Translations: Update the Italian translation.
462 Thanks to Milo Casagrande.
464 po/it.po | 452 ++++++++++++++++++++++++++++++++++++++-------------------------
465 1 file changed, 275 insertions(+), 177 deletions(-)
467 commit 2f9f61aa83539c54ff6c118a2693890f0519b3dd
468 Author: Lasse Collin <lasse.collin@tukaani.org>
469 Date: 2014-10-18 18:51:45 +0300
471 Translations: Update the Polish translation.
473 Thanks to Jakub Bogusz.
475 po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++-----------------------
476 1 file changed, 214 insertions(+), 118 deletions(-)
478 commit 4f9d233f67aea25e532824d11b7642cf7dee7a76
479 Author: Andre Noll <maan@tuebingen.mpg.de>
480 Date: 2014-10-14 17:30:30 +0200
482 l10n: de.po: Change translator email address.
484 Although the old address is still working, the new one should
485 be preferred. So this commit changes all three places in de.po
488 Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>
491 1 file changed, 3 insertions(+), 3 deletions(-)
493 commit 00502b2bedad43f0cc167ac17ae0608837ee196b
494 Author: Andre Noll <maan@tuebingen.mpg.de>
495 Date: 2014-10-14 17:30:29 +0200
497 l10n: de.po: Update German translation
499 Signed-off-by: Andre Noll <maan@systemlinux.org>
501 po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------
502 1 file changed, 281 insertions(+), 250 deletions(-)
504 commit 706b0496753fb609e69f1570ec603f11162189d1
505 Author: Andre Noll <maan@tuebingen.mpg.de>
506 Date: 2014-10-14 17:30:28 +0200
508 l10n: de.po: Fix typo: Schießen -> Schließen.
510 That's a funny one since "schießen" means to shoot :)
512 Signed-off-by: Andre Noll <maan@systemlinux.org>
515 1 file changed, 1 insertion(+), 1 deletion(-)
517 commit 7c32e6a935c3d7ee366abad1679bd5f322f0c7d4
518 Author: Lasse Collin <lasse.collin@tukaani.org>
519 Date: 2014-10-09 19:42:26 +0300
524 1 file changed, 1 insertion(+)
526 commit 076258cc458f1e705041ac7a729b15ffe8c5214a
527 Author: Lasse Collin <lasse.collin@tukaani.org>
528 Date: 2014-10-09 19:41:51 +0300
530 Add support for AmigaOS/AROS to tuklib_physmem().
532 Thanks to Fredrik Wikstrom.
534 m4/tuklib_physmem.m4 | 3 ++-
535 src/common/tuklib_physmem.c | 7 +++++++
536 2 files changed, 9 insertions(+), 1 deletion(-)
538 commit efa7b0a210e1baa8e128fc98c5443a944c39ad24
539 Author: Lasse Collin <lasse.collin@tukaani.org>
540 Date: 2014-10-09 18:42:14 +0300
542 xzgrep: Avoid passing both -q and -l to grep.
544 The behavior of grep -ql varies:
545 - GNU grep behaves like grep -q.
546 - OpenBSD grep behaves like grep -l.
548 POSIX doesn't make it 100 % clear what behavior is expected.
549 Anyway, using both -q and -l at the same time makes no sense
550 so both options simply should never be used at the same time.
552 Thanks to Christian Weisgerber.
554 src/scripts/xzgrep.in | 6 ++++--
555 1 file changed, 4 insertions(+), 2 deletions(-)
557 commit 9c5f76098c9986b48d2fc574a0b764f4cde0c538
558 Author: Trần Ngọc Quân <vnwildman@gmail.com>
559 Date: 2014-09-25 09:22:45 +0700
561 l10n: vi.po: Update Vietnamese translation
563 Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
565 po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------
566 1 file changed, 84 insertions(+), 52 deletions(-)
568 commit c4911f2db36d811896c73c008b4218d8fa9a4730
569 Author: Lasse Collin <lasse.collin@tukaani.org>
570 Date: 2014-09-25 18:38:48 +0300
572 Build: Detect supported compiler warning flags better.
574 Clang and nowadays also GCC accept any -Wfoobar option
575 but then may give a warning that an unknown warning option
576 was specified. To avoid adding unsupported warning options,
577 the options are now tested with -Werror.
579 Thanks to Charles Diza.
581 configure.ac | 5 +++--
582 1 file changed, 3 insertions(+), 2 deletions(-)
584 commit 76e75522ed6f5c228d55587dee5a997893f6e474
585 Author: Lasse Collin <lasse.collin@tukaani.org>
586 Date: 2014-09-20 21:01:21 +0300
588 Update NEWS for 5.0.7.
590 NEWS | 11 +++++++++++
591 1 file changed, 11 insertions(+)
593 commit d62028b4c1174fc67b6929f126f5eb24c018c700
594 Author: Lasse Collin <lasse.collin@tukaani.org>
595 Date: 2014-09-20 19:42:56 +0300
597 liblzma: Fix a portability problem in Makefile.am.
599 POSIX supports $< only in inference rules (suffix rules).
600 Using it elsewhere is a GNU make extension and doesn't
601 work e.g. with OpenBSD make.
603 Thanks to Christian Weisgerber for the patch.
605 src/liblzma/Makefile.am | 2 +-
606 1 file changed, 1 insertion(+), 1 deletion(-)
608 commit c35de31d4283edad3e57d37ffe939406542cb7bb
609 Author: Lasse Collin <lasse.collin@tukaani.org>
610 Date: 2014-09-14 21:54:09 +0300
612 Bump the version number to 5.1.4beta.
614 src/liblzma/api/lzma/version.h | 4 ++--
615 src/liblzma/liblzma.map | 2 +-
616 2 files changed, 3 insertions(+), 3 deletions(-)
618 commit e9e097e22cacdaa23e5414fea7913535449cb340
619 Author: Lasse Collin <lasse.collin@tukaani.org>
620 Date: 2014-09-14 21:50:13 +0300
622 Update NEWS for 5.0.6 and 5.1.4beta.
624 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
625 1 file changed, 50 insertions(+)
627 commit 642f856bb8562ab66704b1e01ac7bc08b6d0a663
628 Author: Lasse Collin <lasse.collin@tukaani.org>
629 Date: 2014-09-14 21:02:41 +0300
633 TODO | 38 ++++++++++++++++++++++++++++++++++----
634 1 file changed, 34 insertions(+), 4 deletions(-)
636 commit 6b5e3b9eff5b8cedb2aac5f524d4d60fc8a48124
637 Author: Lasse Collin <lasse.collin@tukaani.org>
638 Date: 2014-08-05 22:32:36 +0300
640 xz: Add --ignore-check.
642 src/xz/args.c | 7 +++++++
644 src/xz/coder.c | 10 +++++++++-
645 src/xz/message.c | 2 ++
646 src/xz/xz.1 | 19 +++++++++++++++++++
647 5 files changed, 38 insertions(+), 1 deletion(-)
649 commit 9adbc2ff373f979c917cdfd3679ce0ebd59f1040
650 Author: Lasse Collin <lasse.collin@tukaani.org>
651 Date: 2014-08-05 22:15:07 +0300
653 liblzma: Add support for LZMA_IGNORE_CHECK.
655 src/liblzma/api/lzma/container.h | 24 ++++++++++++++++++++++++
656 src/liblzma/common/common.h | 1 +
657 src/liblzma/common/stream_decoder.c | 14 ++++++++++++--
658 3 files changed, 37 insertions(+), 2 deletions(-)
660 commit 0e0f34b8e4f1c60ecaec15c2105982381cc9c3e6
661 Author: Lasse Collin <lasse.collin@tukaani.org>
662 Date: 2014-08-05 22:03:30 +0300
664 liblzma: Add support for lzma_block.ignore_check.
666 Note that this slightly changes how lzma_block_header_decode()
667 has been documented. Earlier it said that the .version is set
668 to the lowest required value, but now it says that the .version
669 field is kept unchanged if possible. In practice this doesn't
670 affect any old code, because before this commit the only
671 possible .version was 0.
673 src/liblzma/api/lzma/block.h | 50 ++++++++++++++++++++++++-------
674 src/liblzma/common/block_buffer_encoder.c | 2 +-
675 src/liblzma/common/block_decoder.c | 18 ++++++++---
676 src/liblzma/common/block_encoder.c | 2 +-
677 src/liblzma/common/block_header_decoder.c | 12 ++++++--
678 src/liblzma/common/block_header_encoder.c | 2 +-
679 src/liblzma/common/block_util.c | 2 +-
680 7 files changed, 68 insertions(+), 20 deletions(-)
682 commit 71e1437ab585b46f7a25f5a131557d3d1c0cbaa2
683 Author: Lasse Collin <lasse.collin@tukaani.org>
684 Date: 2014-08-04 19:25:58 +0300
686 liblzma: Use lzma_memcmplen() in the BT3 match finder.
688 I had missed this when writing the commit
689 5db75054e900fa06ef5ade5f2c21dffdd5d16141.
693 src/liblzma/lz/lz_encoder_mf.c | 5 ++---
694 1 file changed, 2 insertions(+), 3 deletions(-)
696 commit 41dc9ea06e1414ebe8ef52afc8fc15b6e3282b04
697 Author: Lasse Collin <lasse.collin@tukaani.org>
698 Date: 2014-08-04 00:25:44 +0300
703 1 file changed, 1 insertion(+)
705 commit 5dcffdbcc23a68abc3ac3539b30be71bc9b5af84
706 Author: Lasse Collin <lasse.collin@tukaani.org>
707 Date: 2014-08-03 21:32:25 +0300
709 liblzma: SHA-256: Optimize the Maj macro slightly.
711 The Maj macro is used where multiple things are added
712 together, so making Maj a sum of two expressions allows
713 some extra freedom for the compiler to schedule the
716 I learned this trick from
717 <http://www.hackersdelight.org/corres.txt>.
719 src/liblzma/check/sha256.c | 2 +-
720 1 file changed, 1 insertion(+), 1 deletion(-)
722 commit a9477d1e0c6fd0e47e637d051e7b9e2a5d9af517
723 Author: Lasse Collin <lasse.collin@tukaani.org>
724 Date: 2014-08-03 21:08:12 +0300
726 liblzma: SHA-256: Optimize the way rotations are done.
728 This looks weird because the rotations become sequential,
729 but it helps quite a bit on both 32-bit and 64-bit x86:
731 - It requires fewer instructions on two-operand
732 instruction sets like x86.
734 - It requires one register less which matters especially
737 I hope this doesn't hurt other archs.
739 I didn't invent this idea myself, but I don't remember where
742 src/liblzma/check/sha256.c | 17 +++++++++++------
743 1 file changed, 11 insertions(+), 6 deletions(-)
745 commit 5a76c7c8ee9a0afbeedb1c211db9224260404347
746 Author: Lasse Collin <lasse.collin@tukaani.org>
747 Date: 2014-08-03 20:38:13 +0300
749 liblzma: SHA-256: Remove the GCC #pragma that became unneeded.
751 The unrolling in the previous commit should avoid the
752 situation where a compiler may think that an uninitialized
753 variable might be accessed.
755 src/liblzma/check/sha256.c | 5 -----
756 1 file changed, 5 deletions(-)
758 commit 9a096f8e57509775c331950b8351bbca77bdcfa8
759 Author: Lasse Collin <lasse.collin@tukaani.org>
760 Date: 2014-08-03 20:33:38 +0300
762 liblzma: SHA-256: Unroll a little more.
764 This way a branch isn't needed for each operation
765 to choose between blk0 and blk2, and still the code
766 doesn't grow as much as it would with full unrolling.
768 src/liblzma/check/sha256.c | 25 ++++++++++++++++---------
769 1 file changed, 16 insertions(+), 9 deletions(-)
771 commit bc7650d87bf27f85f1a2a806dc2db1780e09e6a5
772 Author: Lasse Collin <lasse.collin@tukaani.org>
773 Date: 2014-08-03 19:56:43 +0300
775 liblzma: SHA-256: Do the byteswapping without a temporary buffer.
777 src/liblzma/check/sha256.c | 13 +------------
778 1 file changed, 1 insertion(+), 12 deletions(-)
780 commit 544aaa3d13554e8640f9caf7db717a96360ec0f6
781 Author: Lasse Collin <lasse.collin@tukaani.org>
782 Date: 2014-07-25 22:38:28 +0300
784 liblzma: Use lzma_memcmplen() in normal mode of LZMA.
786 Two locations were not changed yet because the simplest change
787 assumes that the initial "len" may be greater than "limit".
789 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++---------------
790 1 file changed, 5 insertions(+), 15 deletions(-)
792 commit f48fce093b07aeda95c18850f5e086d9f2383380
793 Author: Lasse Collin <lasse.collin@tukaani.org>
794 Date: 2014-07-25 22:30:38 +0300
796 liblzma: Simplify LZMA fast mode code by using memcmp().
798 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +----------
799 1 file changed, 1 insertion(+), 10 deletions(-)
801 commit 6bf5308e34e23dede5b301b1b9b4f131dacd9218
802 Author: Lasse Collin <lasse.collin@tukaani.org>
803 Date: 2014-07-25 22:29:49 +0300
805 liblzma: Use lzma_memcmplen() in fast mode of LZMA.
807 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++---
808 1 file changed, 3 insertions(+), 3 deletions(-)
810 commit 353212137e51e45b105a3a3fc2e6879f1cf0d492
811 Author: Lasse Collin <lasse.collin@tukaani.org>
812 Date: 2014-07-25 21:16:23 +0300
817 1 file changed, 1 insertion(+)
819 commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141
820 Author: Lasse Collin <lasse.collin@tukaani.org>
821 Date: 2014-07-25 21:15:07 +0300
823 liblzma: Use lzma_memcmplen() in the match finders.
825 This doesn't change the match finder output.
827 src/liblzma/lz/lz_encoder.c | 13 ++++++++++++-
828 src/liblzma/lz/lz_encoder_mf.c | 33 +++++++++++----------------------
829 2 files changed, 23 insertions(+), 23 deletions(-)
831 commit e1c8f1d01f4a4e2136173edab2dc63c71ef038f4
832 Author: Lasse Collin <lasse.collin@tukaani.org>
833 Date: 2014-07-25 20:57:20 +0300
835 liblzma: Add lzma_memcmplen() for fast memory comparison.
837 This commit just adds the function. Its uses will be in
840 This hasn't been tested much yet and it's perhaps a bit early
841 to commit it but if there are bugs they should get found quite
844 Thanks to Jun I Jin from Intel for help and for pointing out
845 that string comparison needs to be optimized in liblzma.
847 configure.ac | 13 +++
848 src/liblzma/common/Makefile.inc | 1 +
849 src/liblzma/common/memcmplen.h | 170 ++++++++++++++++++++++++++++++++++++++++
850 3 files changed, 184 insertions(+)
852 commit 765735cf52e5123586e74a51b9c073b5257f631f
853 Author: Lasse Collin <lasse.collin@tukaani.org>
854 Date: 2014-07-12 21:10:09 +0300
859 1 file changed, 1 insertion(+)
861 commit 59da01785ef66c7e62f36e70ca808fd2824bb995
862 Author: Lasse Collin <lasse.collin@tukaani.org>
863 Date: 2014-07-12 20:06:08 +0300
865 Translations: Add Vietnamese translation.
867 Thanks to Trần Ngọc Quân.
870 po/vi.po | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
871 2 files changed, 1008 insertions(+)
873 commit 17215f751c354852700e7f8592ccf319570a0721
874 Author: Lasse Collin <lasse.collin@tukaani.org>
875 Date: 2014-06-29 20:54:14 +0300
877 xz: Update the help message of a few options.
879 Updated: --threads, --block-size, and --block-list
880 Added: --flush-timeout
882 src/xz/message.c | 18 +++++++++++-------
883 1 file changed, 11 insertions(+), 7 deletions(-)
885 commit 96864a6ddf91ad693d102ea165f3d7918744d582
886 Author: Lasse Collin <lasse.collin@tukaani.org>
887 Date: 2014-06-18 22:07:06 +0300
889 xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores().
891 src/xz/Makefile.am | 1 -
892 src/xz/hardware.c | 12 +++++++++---
893 2 files changed, 9 insertions(+), 4 deletions(-)
895 commit a115cc3748482e277f42a968baa3cd266f031dba
896 Author: Lasse Collin <lasse.collin@tukaani.org>
897 Date: 2014-06-18 22:04:24 +0300
899 liblzma: Add lzma_cputhreads().
901 src/liblzma/Makefile.am | 8 +++++++-
902 src/liblzma/api/lzma/hardware.h | 14 ++++++++++++++
903 src/liblzma/common/Makefile.inc | 1 +
904 src/liblzma/common/hardware_cputhreads.c | 22 ++++++++++++++++++++++
905 src/liblzma/liblzma.map | 1 +
906 5 files changed, 45 insertions(+), 1 deletion(-)
908 commit 3ce3e7976904fbab4e6482bafa442856f77a51fa
909 Author: Lasse Collin <lasse.collin@tukaani.org>
910 Date: 2014-06-18 19:11:52 +0300
912 xz: Check for filter chain compatibility for --flush-timeout.
914 This avoids LZMA_PROG_ERROR from lzma_code() with filter chains
915 that don't support LZMA_SYNC_FLUSH.
917 src/xz/coder.c | 30 +++++++++++++++++++++---------
918 1 file changed, 21 insertions(+), 9 deletions(-)
920 commit 381ac14ed79e5d38809f251705be8b3193bba417
921 Author: Lasse Collin <lasse.collin@tukaani.org>
922 Date: 2014-06-13 19:21:54 +0300
924 xzgrep: List xzgrep_expected_output in tests/Makefile.am.
926 tests/Makefile.am | 3 ++-
927 1 file changed, 2 insertions(+), 1 deletion(-)
929 commit 4244b65b06d5ecaf6f9dd0387ac7e3166bd2364e
930 Author: Lasse Collin <lasse.collin@tukaani.org>
931 Date: 2014-06-13 18:58:22 +0300
933 xzgrep: Improve the test script.
935 Now it should be close to the functionality of the original
936 version by Pavel Raiskup.
938 tests/Makefile.am | 3 ++-
939 tests/test_scripts.sh | 24 ++++++++++++++----------
940 tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++
941 3 files changed, 55 insertions(+), 11 deletions(-)
943 commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26
944 Author: Lasse Collin <lasse.collin@tukaani.org>
945 Date: 2014-06-11 21:03:25 +0300
947 xzgrep: Add a test for the previous fix.
949 This is a simplified version of Pavel Raiskup's
952 tests/test_scripts.sh | 26 ++++++++++++++++++++++----
953 1 file changed, 22 insertions(+), 4 deletions(-)
955 commit ceca37901783988204caaf40dff4623d535cc789
956 Author: Lasse Collin <lasse.collin@tukaani.org>
957 Date: 2014-06-11 20:43:28 +0300
959 xzgrep: exit 0 when at least one file matches.
961 Mimic the original grep behavior and return exit_success when
962 at least one xz compressed file matches given pattern.
965 https://bugzilla.redhat.com/show_bug.cgi?id=1108085
967 Thanks to Pavel Raiskup for the patch.
969 src/scripts/xzgrep.in | 15 +++++++++++++--
970 1 file changed, 13 insertions(+), 2 deletions(-)
972 commit 8c19216baccb92d011694590df8a1262da2e980c
973 Author: Lasse Collin <lasse.collin@tukaani.org>
974 Date: 2014-06-09 21:21:24 +0300
976 xz: Force single-threaded mode when --flush-timeout is used.
978 src/xz/coder.c | 11 +++++++++++
979 1 file changed, 11 insertions(+)
981 commit 87f1a24810805187d7bbc8ac5512e7eec307ddf5
982 Author: Lasse Collin <lasse.collin@tukaani.org>
983 Date: 2014-05-25 22:05:39 +0300
988 1 file changed, 1 insertion(+)
990 commit da1718f266fcfc091e7bf08aae1bc986d0e6cc6b
991 Author: Lasse Collin <lasse.collin@tukaani.org>
992 Date: 2014-05-25 21:45:56 +0300
994 liblzma: Use lzma_alloc_zero() in LZ encoder initialization.
996 This avoids a memzero() call for a newly-allocated memory,
997 which can be expensive when encoding small streams with
998 an over-sized dictionary.
1000 To avoid using lzma_alloc_zero() for memory that doesn't
1001 need to be zeroed, lzma_mf.son is now allocated separately,
1002 which requires handling it separately in normalize() too.
1004 Thanks to Vincenzo Innocente for reporting the problem.
1006 src/liblzma/lz/lz_encoder.c | 84 ++++++++++++++++++++++--------------------
1007 src/liblzma/lz/lz_encoder.h | 2 +-
1008 src/liblzma/lz/lz_encoder_mf.c | 31 +++++++++-------
1009 3 files changed, 62 insertions(+), 55 deletions(-)
1011 commit 28af24e9cf2eb259997c85dce13d4c97b3daa47a
1012 Author: Lasse Collin <lasse.collin@tukaani.org>
1013 Date: 2014-05-25 19:25:57 +0300
1015 liblzma: Add the internal function lzma_alloc_zero().
1017 src/liblzma/common/common.c | 21 +++++++++++++++++++++
1018 src/liblzma/common/common.h | 6 ++++++
1019 2 files changed, 27 insertions(+)
1021 commit ed9ac85822c490e34b68c259afa0b385d21d1c40
1022 Author: Lasse Collin <lasse.collin@tukaani.org>
1023 Date: 2014-05-08 18:03:09 +0300
1025 xz: Fix uint64_t vs. size_t which broke 32-bit build.
1027 Thanks to Christian Hesse.
1029 src/xz/coder.c | 2 +-
1030 1 file changed, 1 insertion(+), 1 deletion(-)
1032 commit d716acdae3fa7996f9e68a7bac012e6d8d13dd02
1033 Author: Lasse Collin <lasse.collin@tukaani.org>
1034 Date: 2014-05-04 11:09:11 +0300
1036 Docs: Update comments to refer to lzma/lzma12.h in example programs.
1038 doc/examples/03_compress_custom.c | 6 +++---
1039 1 file changed, 3 insertions(+), 3 deletions(-)
1041 commit 4d5b7b3fda31241ca86ed35e08e73f776ee916e0
1042 Author: Lasse Collin <lasse.collin@tukaani.org>
1043 Date: 2014-05-04 11:07:17 +0300
1045 liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h.
1047 It can be confusing that two header files have the same name.
1048 The public API file is still lzma.h.
1050 src/liblzma/api/Makefile.am | 2 +-
1051 src/liblzma/api/lzma.h | 2 +-
1052 src/liblzma/api/lzma/lzma.h | 420 ------------------------------------------
1053 src/liblzma/api/lzma/lzma12.h | 420 ++++++++++++++++++++++++++++++++++++++++++
1054 4 files changed, 422 insertions(+), 422 deletions(-)
1056 commit 1555a9c5664afc7893a2b75e9970105437f01ef1
1057 Author: Lasse Collin <lasse.collin@tukaani.org>
1058 Date: 2014-04-25 17:53:42 +0300
1060 Build: Fix the combination of --disable-xzdec --enable-lzmadec.
1062 In this case "make install" could fail if the man page directory
1063 didn't already exist at the destination. If it did exist, a
1064 dangling symlink was created there. Now the link is omitted
1065 instead. This isn't the best fix but it's better than the old
1068 src/xzdec/Makefile.am | 10 +++++++++-
1069 1 file changed, 9 insertions(+), 1 deletion(-)
1071 commit 56056571df3377eaa6ae6233b3ccc5d72e81d43d
1072 Author: Lasse Collin <lasse.collin@tukaani.org>
1073 Date: 2014-04-25 17:44:26 +0300
1075 Build: Add --disable-doc to configure.
1079 configure.ac | 6 ++++++
1080 3 files changed, 14 insertions(+)
1082 commit 6de61d8721097a6214810841aa85b08e303ac538
1083 Author: Lasse Collin <lasse.collin@tukaani.org>
1084 Date: 2014-04-24 18:06:24 +0300
1088 Add a note about failing "make check". The source of
1089 the problem should be fixed in libtool (if it really is
1090 a libtool bug and not mine) but I'm unable to spend time
1091 on that for now. Thanks to Nelson H. F. Beebe for reporting
1094 Add a note about a possible need to run "ldconfig" after
1097 INSTALL | 25 +++++++++++++++++++++++++
1098 1 file changed, 25 insertions(+)
1100 commit 54df428799a8d853639b753d0e6784694d73eb3e
1101 Author: Lasse Collin <lasse.collin@tukaani.org>
1102 Date: 2014-04-09 17:26:10 +0300
1104 xz: Rename a variable to avoid a namespace collision on Solaris.
1106 I don't know the details but I have an impression that there's
1107 no problem in practice if using GCC since people have built xz
1108 with GCC (without patching xz), but renaming the variable cannot
1111 Thanks to Mark Ashley.
1113 src/xz/signals.c | 12 +++++++-----
1114 1 file changed, 7 insertions(+), 5 deletions(-)
1116 commit 5876ca27daa1429676b1160007d9688266907f00
1117 Author: Lasse Collin <lasse.collin@tukaani.org>
1118 Date: 2014-01-29 20:19:41 +0200
1120 Docs: Add example program for threaded encoding.
1122 I didn't add -DLZMA_UNSTABLE to Makefile so one has to
1123 specify it manually as long as LZMA_UNSTABLE is needed.
1125 doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++
1126 doc/examples/Makefile | 3 +-
1127 2 files changed, 186 insertions(+), 1 deletion(-)
1129 commit 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e
1130 Author: Lasse Collin <lasse.collin@tukaani.org>
1131 Date: 2014-01-29 20:13:51 +0200
1133 liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt().
1135 It read the filter chain from a wrong variable.
1137 src/liblzma/common/stream_encoder_mt.c | 4 ++--
1138 1 file changed, 2 insertions(+), 2 deletions(-)
1140 commit 673a4cb53de3a715685cb1b836da57a3c7dcd43c
1141 Author: Lasse Collin <lasse.collin@tukaani.org>
1142 Date: 2014-01-20 11:20:40 +0200
1144 liblzma: Fix typo in a comment.
1146 src/liblzma/api/lzma/block.h | 2 +-
1147 1 file changed, 1 insertion(+), 1 deletion(-)
1149 commit ad96a871a1470eb76d6233d3890ce9338047b7a3
1150 Author: Lasse Collin <lasse.collin@tukaani.org>
1151 Date: 2014-01-12 19:38:43 +0200
1153 Windows: Add config.h for building liblzma with MSVC 2013.
1155 This is for building liblzma. Building xz tool too requires
1156 a little more work. Maybe it will be supported, but for most
1157 MSVC users it's enough to be able to build liblzma.
1159 C99 support in MSVC 2013 is almost usable which is a big
1160 improvement over earlier versions. It's "almost" because
1161 there's a dumb bug that breaks mixed declarations after
1162 an "if" statements unless the "if" statement uses braces:
1164 https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug
1165 https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs
1167 Hopefully it will get fixed. Then liblzma should be
1168 compilable with MSVC 2013 without patching.
1170 windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1171 1 file changed, 139 insertions(+)
1173 commit 3d5c090872fab4212b57c290e8ed4d02c78c1737
1174 Author: Lasse Collin <lasse.collin@tukaani.org>
1175 Date: 2014-01-12 17:41:14 +0200
1179 src/xz/coder.c | 4 ++--
1180 1 file changed, 2 insertions(+), 2 deletions(-)
1182 commit 69fd4e1c932c7975476a0143c86e45d81b60d3f9
1183 Author: Lasse Collin <lasse.collin@tukaani.org>
1184 Date: 2014-01-12 17:04:33 +0200
1186 Windows: Add MSVC defines for inline and restrict keywords.
1188 src/common/sysdefs.h | 10 ++++++++++
1189 1 file changed, 10 insertions(+)
1191 commit a19d9e8575ee6647cd9154cf1f20203f1330485f
1192 Author: Lasse Collin <lasse.collin@tukaani.org>
1193 Date: 2014-01-12 16:44:52 +0200
1195 liblzma: Avoid C99 compound literal arrays.
1197 MSVC 2013 doesn't like them. Maybe they aren't so good
1198 for readability either since many aren't used to them.
1200 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++---
1201 1 file changed, 5 insertions(+), 3 deletions(-)
1203 commit e28528f1c867b2ed4ac91195ad08efb9bb8a6263
1204 Author: Lasse Collin <lasse.collin@tukaani.org>
1205 Date: 2014-01-12 12:50:30 +0200
1207 liblzma: Remove a useless C99ism from sha256.c.
1209 Unsurprisingly it makes no difference in compiled output.
1211 src/liblzma/check/sha256.c | 2 +-
1212 1 file changed, 1 insertion(+), 1 deletion(-)
1214 commit 5ad1effc45adfb7dabc9a98e79736077e6b7e2d5
1215 Author: Lasse Collin <lasse.collin@tukaani.org>
1216 Date: 2014-01-12 12:17:08 +0200
1218 xz: Fix use of wrong variable.
1220 Since the only call to suffix_set() uses optarg
1221 as the argument, fixing this bug doesn't change
1222 the behavior of the program.
1224 src/xz/suffix.c | 2 +-
1225 1 file changed, 1 insertion(+), 1 deletion(-)
1227 commit 3e62c68d75b5a3fdd46dbb34bb335d73289860d5
1228 Author: Lasse Collin <lasse.collin@tukaani.org>
1229 Date: 2014-01-12 12:11:36 +0200
1231 Fix typos in comments.
1233 src/common/mythread.h | 2 +-
1234 src/liblzma/check/crc32_fast.c | 2 +-
1235 2 files changed, 2 insertions(+), 2 deletions(-)
1237 commit e90ea601fb72867ec04adf456cbe4bf9520fd412
1238 Author: Lasse Collin <lasse.collin@tukaani.org>
1239 Date: 2013-11-26 18:20:16 +0200
1244 1 file changed, 1 insertion(+)
1246 commit b22e94d8d15764416354e04729382a7371ae2c30
1247 Author: Lasse Collin <lasse.collin@tukaani.org>
1248 Date: 2013-11-26 18:20:09 +0200
1250 liblzma: Document the need for block->check for lzma_block_header_decode().
1252 Thanks to Tomer Chachamu.
1254 src/liblzma/api/lzma/block.h | 3 +++
1255 1 file changed, 3 insertions(+)
1257 commit d1cd8b1cb824b72421d1ee370e628024d2fcbec4
1258 Author: Lasse Collin <lasse.collin@tukaani.org>
1259 Date: 2013-11-12 16:38:57 +0200
1261 xz: Update the man page about --block-size and --block-list.
1263 src/xz/xz.1 | 24 +++++++++++++++---------
1264 1 file changed, 15 insertions(+), 9 deletions(-)
1266 commit 76be7c612e6bcc38724488ccc3b8bcb1cfec9f0a
1267 Author: Lasse Collin <lasse.collin@tukaani.org>
1268 Date: 2013-11-12 16:30:53 +0200
1273 1 file changed, 1 insertion(+)
1275 commit dd750acbe2259d75444ef0f8da2d4bacc90d7afc
1276 Author: Lasse Collin <lasse.collin@tukaani.org>
1277 Date: 2013-11-12 16:29:48 +0200
1279 xz: Make --block-list and --block-size work together in single-threaded.
1281 Previously, --block-list and --block-size only worked together
1282 in threaded mode. Boundaries are specified by --block-list, but
1283 --block-size specifies the maximum size for a Block. Now this
1284 works in single-threaded mode too.
1286 Thanks to James M Leddy for the original patch.
1288 src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++----------
1289 1 file changed, 75 insertions(+), 15 deletions(-)
1291 commit ae222fe9805d0161d022d75ba8485dab8bf6d7d5
1292 Author: Lasse Collin <lasse.collin@tukaani.org>
1293 Date: 2013-10-26 13:26:14 +0300
1295 Bump the version number to 5.1.3alpha.
1297 src/liblzma/api/lzma/version.h | 2 +-
1298 src/liblzma/liblzma.map | 2 +-
1299 2 files changed, 2 insertions(+), 2 deletions(-)
1301 commit 2193837a6a597cd3bf4e9ddf49421a5697d8e155
1302 Author: Lasse Collin <lasse.collin@tukaani.org>
1303 Date: 2013-10-26 13:25:02 +0300
1305 Update NEWS for 5.1.3alpha.
1307 NEWS | 35 +++++++++++++++++++++++++++++++++++
1308 1 file changed, 35 insertions(+)
1310 commit ed48e75e2763876173aef8902da407a8eb28854b
1311 Author: Lasse Collin <lasse.collin@tukaani.org>
1312 Date: 2013-10-26 12:47:04 +0300
1317 1 file changed, 4 deletions(-)
1319 commit 841da0352d79a56a44796a4c39163429c9f039a3
1320 Author: Lasse Collin <lasse.collin@tukaani.org>
1321 Date: 2013-10-25 22:41:28 +0300
1323 xz: Document behavior of --block-list with threads.
1325 This needs to be updated before 5.2.0.
1327 src/xz/xz.1 | 24 +++++++++++++++++++++---
1328 1 file changed, 21 insertions(+), 3 deletions(-)
1330 commit 56feb8665b78c1032aabd53c619c62af51defe64
1331 Author: Lasse Collin <lasse.collin@tukaani.org>
1332 Date: 2013-10-22 20:03:12 +0300
1334 xz: Document --flush-timeout=TIMEOUT on the man page.
1336 src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++-
1337 1 file changed, 36 insertions(+), 1 deletion(-)
1339 commit ba413da1d5bb3324287cf3174922acd921165971
1340 Author: Lasse Collin <lasse.collin@tukaani.org>
1341 Date: 2013-10-22 19:51:55 +0300
1343 xz: Take advantage of LZMA_FULL_BARRIER with --block-list.
1345 Now if --block-list is used in threaded mode, the encoder
1346 won't need to flush at each Block boundary specified via
1347 --block-list. This improves performance a lot, making
1348 threading helpful with --block-list.
1350 The flush timer was reset after LZMA_FULL_FLUSH but since
1351 LZMA_FULL_BARRIER doesn't flush, resetting the timer is
1354 src/xz/coder.c | 32 +++++++++++++++-----------------
1355 1 file changed, 15 insertions(+), 17 deletions(-)
1357 commit 0cd45fc2bc5537de287a0bc005e2d67467a92148
1358 Author: Lasse Collin <lasse.collin@tukaani.org>
1359 Date: 2013-10-02 20:05:23 +0300
1361 liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder.
1363 Now --block-list=SIZES works with in the threaded mode too,
1364 although the performance is still bad due to the use of
1365 LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER.
1367 src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++----------
1368 1 file changed, 39 insertions(+), 16 deletions(-)
1370 commit 97bb38712f414fabecca908af2e38a12570293fd
1371 Author: Lasse Collin <lasse.collin@tukaani.org>
1372 Date: 2013-10-02 12:55:11 +0300
1374 liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder.
1376 In the single-threaded encoder LZMA_FULL_BARRIER is simply
1377 an alias for LZMA_FULL_FLUSH.
1379 src/liblzma/api/lzma/base.h | 37 ++++++++++++++++++++++++++++++-------
1380 src/liblzma/common/common.c | 17 +++++++++++++++--
1381 src/liblzma/common/common.h | 7 ++++++-
1382 src/liblzma/common/stream_encoder.c | 4 +++-
1383 4 files changed, 54 insertions(+), 11 deletions(-)
1385 commit fef0c6b410c08e581c9178700a4e7599f0895ff9
1386 Author: Lasse Collin <lasse.collin@tukaani.org>
1387 Date: 2013-09-17 11:57:51 +0300
1389 liblzma: Add block_buffer_encoder.h into Makefile.inc.
1391 This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc.
1393 src/liblzma/common/Makefile.inc | 1 +
1394 1 file changed, 1 insertion(+)
1396 commit 8083e03291b6d21c0f538163e187b4e8cd5594e4
1397 Author: Lasse Collin <lasse.collin@tukaani.org>
1398 Date: 2013-09-17 11:55:38 +0300
1400 xz: Add a missing test for TUKLIB_DOSLIKE.
1402 src/xz/file_io.c | 2 ++
1403 1 file changed, 2 insertions(+)
1405 commit 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0
1406 Author: Lasse Collin <lasse.collin@tukaani.org>
1407 Date: 2013-09-17 11:52:28 +0300
1409 Add native threading support on Windows.
1411 Now liblzma only uses "mythread" functions and types
1412 which are defined in mythread.h matching the desired
1415 Before Windows Vista, there is no direct equivalent to
1416 pthread condition variables. Since this package doesn't
1417 use pthread_cond_broadcast(), pre-Vista threading can
1418 still be kept quite simple. The pre-Vista code doesn't
1419 use anything that wasn't already available in Windows 95,
1420 so the binaries should run even on Windows 95 if someone
1424 configure.ac | 118 ++++++--
1425 src/common/mythread.h | 513 ++++++++++++++++++++++++++-------
1426 src/liblzma/common/stream_encoder_mt.c | 83 +++---
1427 src/xz/coder.c | 8 +-
1428 windows/README-Windows.txt | 2 +-
1429 windows/build.bash | 23 +-
1430 7 files changed, 573 insertions(+), 215 deletions(-)
1432 commit ae0ab74a88d5b9b15845f1d9a24ade4349a54f9f
1433 Author: Lasse Collin <lasse.collin@tukaani.org>
1434 Date: 2013-09-11 14:40:35 +0300
1436 Build: Remove a comment about Automake 1.10 from configure.ac.
1438 The previous commit supports silent rules and that requires
1442 1 file changed, 2 deletions(-)
1444 commit 72975df6c8c59aaf849138ab3606e8fb6970596a
1445 Author: Lasse Collin <lasse.collin@tukaani.org>
1446 Date: 2013-09-09 20:37:03 +0300
1448 Build: Create liblzma.pc in a src/liblzma/Makefile.am.
1450 Previously it was done in configure, but doing that goes
1451 against the Autoconf manual. Autoconf requires that it is
1452 possible to override e.g. prefix after running configure
1453 and that doesn't work correctly if liblzma.pc is created
1456 A potential downside of this change is that now e.g.
1457 libdir in liblzma.pc is a standalone string instead of
1458 being defined via ${prefix}, so if one overrides prefix
1459 when running pkg-config the libdir won't get the new value.
1460 I don't know if this matters in practice.
1462 Thanks to Vincent Torri.
1465 src/liblzma/Makefile.am | 20 ++++++++++++++++++++
1466 2 files changed, 20 insertions(+), 1 deletion(-)
1468 commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc
1469 Author: Lasse Collin <lasse.collin@tukaani.org>
1470 Date: 2013-08-04 15:24:09 +0300
1472 Fix the previous commit which broke the build.
1474 Apparently I didn't even compile-test the previous commit.
1476 Thanks to Christian Hesse.
1478 src/common/tuklib_cpucores.c | 2 +-
1479 1 file changed, 1 insertion(+), 1 deletion(-)
1481 commit 124eb69c7857f618b4807588c51bc9ba21bf8691
1482 Author: Lasse Collin <lasse.collin@tukaani.org>
1483 Date: 2013-08-03 13:52:58 +0300
1485 Windows: Add Windows support to tuklib_cpucores().
1487 It is used for Cygwin too. I'm not sure if that is
1490 Thanks to Vincent Torri.
1492 m4/tuklib_cpucores.m4 | 19 +++++++++++++++++--
1493 src/common/tuklib_cpucores.c | 13 ++++++++++++-
1494 2 files changed, 29 insertions(+), 3 deletions(-)
1496 commit eada8a875ce3fd521cb42e4ace2624d3d49c5f35
1497 Author: Anders F Bjorklund <afb@users.sourceforge.net>
1498 Date: 2013-08-02 15:59:46 +0200
1500 macosx: separate liblzma package
1502 macosx/build.sh | 23 +++++++++++++++--------
1503 1 file changed, 15 insertions(+), 8 deletions(-)
1505 commit be0100d01ca6a75899d051bee00acf17e6dc0c15
1506 Author: Anders F Bjorklund <afb@users.sourceforge.net>
1507 Date: 2013-08-02 15:58:44 +0200
1509 macosx: set minimum to leopard
1511 macosx/build.sh | 13 ++++++++-----
1512 1 file changed, 8 insertions(+), 5 deletions(-)
1514 commit 416729e2d743f4b2fe9fd438eedeb98adce033c3
1515 Author: Anders F Bjorklund <afb@users.sourceforge.net>
1516 Date: 2011-08-07 13:13:30 +0200
1518 move configurables into variables
1520 macosx/build.sh | 25 ++++++++++++++++++-------
1521 1 file changed, 18 insertions(+), 7 deletions(-)
1523 commit 16581080e5f29f9a4e49efece21c5bf572323acc
1524 Author: Lasse Collin <lasse.collin@tukaani.org>
1525 Date: 2013-07-15 14:08:41 +0300
1530 1 file changed, 1 insertion(+)
1532 commit 3e2b198ba37b624efd9c7caee2a435dc986b46c6
1533 Author: Lasse Collin <lasse.collin@tukaani.org>
1534 Date: 2013-07-15 14:08:02 +0300
1536 Build: Fix the detection of missing CRC32.
1538 Thanks to Vincent Torri.
1541 1 file changed, 1 insertion(+), 1 deletion(-)
1543 commit dee6ad3d5915422bc30a6821efeacaeb8ca8ef00
1544 Author: Lasse Collin <lasse.collin@tukaani.org>
1545 Date: 2013-07-04 14:18:46 +0300
1547 xz: Add preliminary support for --flush-timeout=TIMEOUT.
1549 When --flush-timeout=TIMEOUT is used, xz will use
1550 LZMA_SYNC_FLUSH if read() would block and at least
1551 TIMEOUT milliseconds has elapsed since the previous flush.
1553 This can be useful in realtime-like use cases where the
1554 data is simultanously decompressed by another process
1555 (possibly on a different computer). If new uncompressed
1556 input data is produced slowly, without this option xz could
1557 buffer the data for a long time until it would become
1558 decompressible from the output.
1560 If TIMEOUT is 0, the feature is disabled. This is the default.
1562 This commit affects the compression side. Using xz for
1563 the decompression side for the above purpose doesn't work
1564 yet so well because there is quite a bit of input and
1565 output buffering when decompressing.
1567 The --long-help or man page were not updated yet.
1568 The details of this feature may change.
1570 src/xz/args.c | 7 +++++++
1571 src/xz/coder.c | 46 +++++++++++++++++++++++++++++++++++-----------
1572 src/xz/file_io.c | 46 ++++++++++++++++++++++++++++++++++++----------
1573 3 files changed, 78 insertions(+), 21 deletions(-)
1575 commit fa381acaf9a29a8114e1c0a97de99bab9adb014e
1576 Author: Lasse Collin <lasse.collin@tukaani.org>
1577 Date: 2013-07-04 13:41:03 +0300
1579 xz: Don't set src_eof=true after an I/O error because it's useless.
1581 src/xz/file_io.c | 3 ---
1582 1 file changed, 3 deletions(-)
1584 commit ea00545beace5b950f709ec21e46878e0f448678
1585 Author: Lasse Collin <lasse.collin@tukaani.org>
1586 Date: 2013-07-04 13:25:11 +0300
1588 xz: Fix the test when to read more input.
1590 Testing for end of file was no longer correct after full flushing
1591 became possible with --block-size=SIZE and --block-list=SIZES.
1592 There was no bug in practice though because xz just made a few
1593 unneeded zero-byte reads.
1595 src/xz/coder.c | 6 +++---
1596 1 file changed, 3 insertions(+), 3 deletions(-)
1598 commit 736903c64bef394c06685d79908e397bcb08b88f
1599 Author: Lasse Collin <lasse.collin@tukaani.org>
1600 Date: 2013-07-04 12:51:57 +0300
1602 xz: Move some of the timing code into mytime.[hc].
1604 This switches units from microseconds to milliseconds.
1606 New clock_gettime(CLOCK_MONOTONIC) will be used if available.
1607 There is still a fallback to gettimeofday().
1609 src/xz/Makefile.am | 2 ++
1610 src/xz/coder.c | 5 +++
1611 src/xz/message.c | 54 +++++++++------------------------
1612 src/xz/mytime.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1613 src/xz/mytime.h | 47 ++++++++++++++++++++++++++++
1614 src/xz/private.h | 1 +
1615 6 files changed, 158 insertions(+), 40 deletions(-)
1617 commit 24edf8d807e24ffaa1e793114d94cca3b970027d
1618 Author: Lasse Collin <lasse.collin@tukaani.org>
1619 Date: 2013-07-01 14:35:03 +0300
1624 1 file changed, 1 insertion(+)
1626 commit c0627b3fceacfa1ed162f5f55235360ea26f569a
1627 Author: Lasse Collin <lasse.collin@tukaani.org>
1628 Date: 2013-07-01 14:34:11 +0300
1630 xz: Silence a warning seen with _FORTIFY_SOURCE=2.
1632 Thanks to Christian Hesse.
1634 src/xz/file_io.c | 8 +++++++-
1635 1 file changed, 7 insertions(+), 1 deletion(-)
1637 commit 1936718bb38ee394bd89836fdd4eabc0beb02443
1638 Author: Lasse Collin <lasse.collin@tukaani.org>
1639 Date: 2013-06-30 19:40:11 +0300
1641 Update NEWS for 5.0.5.
1643 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1644 1 file changed, 52 insertions(+)
1646 commit a37ae8b5eb6093a530198f109c6f7a538c80ecf0
1647 Author: Lasse Collin <lasse.collin@tukaani.org>
1648 Date: 2013-06-30 18:02:27 +0300
1650 Man pages: Use similar syntax for synopsis as in xz.
1652 The man pages of lzmainfo, xzmore, and xzdec had similar
1653 constructs as the man page of xz had before the commit
1654 eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond
1655 didn't mention these man pages in his bug report, but
1656 it's nice to be consistent.
1658 src/lzmainfo/lzmainfo.1 | 4 ++--
1659 src/scripts/xzmore.1 | 6 +++---
1660 src/xzdec/xzdec.1 | 10 +++++-----
1661 3 files changed, 10 insertions(+), 10 deletions(-)
1663 commit cdba9ddd870ae72fd6219a125662c20ec997f86c
1664 Author: Lasse Collin <lasse.collin@tukaani.org>
1665 Date: 2013-06-29 15:59:13 +0300
1667 xz: Use non-blocking I/O for the output file.
1669 Now both reading and writing should be without
1670 race conditions with signals.
1672 They might still be signal handling issues left.
1673 Signals are blocked during many operations to avoid
1674 EINTR but it may cause problems e.g. if writing to
1675 stderr blocks when trying to display an error message.
1677 src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++--------
1678 1 file changed, 49 insertions(+), 8 deletions(-)
1680 commit e61a5c95da3fe31281d959e5e842885a8ba2b5bd
1681 Author: Lasse Collin <lasse.collin@tukaani.org>
1682 Date: 2013-06-28 23:56:17 +0300
1684 xz: Fix return value type in io_write_buf().
1686 It didn't affect the behavior of the code since -1
1687 becomes true anyway.
1689 src/xz/file_io.c | 2 +-
1690 1 file changed, 1 insertion(+), 1 deletion(-)
1692 commit 9dc319eabb34a826f4945f91c71620f14a60e9e2
1693 Author: Lasse Collin <lasse.collin@tukaani.org>
1694 Date: 2013-06-28 23:48:05 +0300
1696 xz: Use the self-pipe trick to avoid a race condition with signals.
1698 It is possible that a signal to set user_abort arrives right
1699 before a blocking system call is made. In this case the call
1700 may block until another signal arrives, while the wanted
1701 behavior is to make xz clean up and exit as soon as possible.
1703 After this commit, the race condition is avoided with the
1704 input side which already uses non-blocking I/O. The output
1705 side still uses blocking I/O and thus has the race condition.
1707 src/xz/file_io.c | 56 ++++++++++++++++++++++++++++++++++++++++++++------------
1708 src/xz/file_io.h | 8 ++++++++
1709 src/xz/signals.c | 5 +++++
1710 3 files changed, 57 insertions(+), 12 deletions(-)
1712 commit 3541bc79d0cfabc0ad155c99bfdad1289f17fec3
1713 Author: Lasse Collin <lasse.collin@tukaani.org>
1714 Date: 2013-06-28 22:51:02 +0300
1716 xz: Use non-blocking I/O for the input file.
1718 src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++----------------
1719 1 file changed, 111 insertions(+), 45 deletions(-)
1721 commit 78673a08bed5066c81e8a8e90d20e670c28ecfd5
1722 Author: Lasse Collin <lasse.collin@tukaani.org>
1723 Date: 2013-06-28 18:46:13 +0300
1725 xz: Remove an outdated NetBSD-specific comment.
1727 Nowadays errno == EFTYPE is documented in open(2).
1729 src/xz/file_io.c | 4 ----
1730 1 file changed, 4 deletions(-)
1732 commit a616fdad34b48b2932ef03fb87309dcc8b829527
1733 Author: Lasse Collin <lasse.collin@tukaani.org>
1734 Date: 2013-06-28 18:09:47 +0300
1736 xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls.
1738 POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on
1739 error and "other than -1" on success. This is how it is
1740 documented e.g. on OpenBSD too. On Linux, success with
1741 F_SETFL is always 0 (at least accorinding to fcntl(2)
1742 from man-pages 3.51).
1744 src/xz/file_io.c | 8 ++++----
1745 1 file changed, 4 insertions(+), 4 deletions(-)
1747 commit 4a08a6e4c61c65ab763ab314100a6d7a3bb89298
1748 Author: Lasse Collin <lasse.collin@tukaani.org>
1749 Date: 2013-06-28 17:36:47 +0300
1751 xz: Fix use of wrong variable in a fcntl() call.
1753 Due to a wrong variable name, when writing a sparse file
1754 to standard output, *all* file status flags were cleared
1755 (to the extent the operating system allowed it) instead of
1756 only clearing the O_APPEND flag. In practice this worked
1757 fine in the common situations on GNU/Linux, but I didn't
1758 check how it behaved elsewhere.
1760 The original flags were still restored correctly. I still
1761 changed the code to use a separate boolean variable to
1762 indicate when the flags should be restored instead of
1763 relying on a special value in stdout_flags.
1765 src/xz/file_io.c | 24 +++++++++++++-----------
1766 1 file changed, 13 insertions(+), 11 deletions(-)
1768 commit b790b435daa3351067f80a5973b647f8d55367a2
1769 Author: Lasse Collin <lasse.collin@tukaani.org>
1770 Date: 2013-06-28 14:55:37 +0300
1772 xz: Fix assertion related to posix_fadvise().
1774 Input file can be a FIFO or something else that doesn't
1775 support posix_fadvise() so don't check the return value
1776 even with an assertion. Nothing bad happens if the call
1777 to posix_fadvise() fails.
1779 src/xz/file_io.c | 10 ++--------
1780 1 file changed, 2 insertions(+), 8 deletions(-)
1782 commit 84d2da6c9dc252f441deb7626c2522202b005d4d
1783 Author: Lasse Collin <lasse.collin@tukaani.org>
1784 Date: 2013-06-26 13:30:57 +0300
1786 xz: Check the value of lzma_stream_flags.version in --list.
1788 It is a no-op for now, but if an old xz version is used
1789 together with a newer liblzma that supports something new,
1790 then this check becomes important and will stop the old xz
1791 from trying to parse files that it won't understand.
1793 src/xz/list.c | 14 ++++++++++++++
1794 1 file changed, 14 insertions(+)
1796 commit 9376f5f8f762296f2173d61af9101112c36f38c0
1797 Author: Lasse Collin <lasse.collin@tukaani.org>
1798 Date: 2013-06-26 12:17:00 +0300
1800 Build: Require Automake 1.12 and use serial-tests option.
1802 It should actually still work with Automake 1.10 if
1803 the serial-tests option is removed. Automake 1.13 started
1804 using parallel tests by default and the option to get
1805 the old behavior isn't supported before 1.12.
1807 At least for now, parallel tests don't improve anything
1808 in XZ Utils but they hide the progress output from
1811 configure.ac | 4 +++-
1812 1 file changed, 3 insertions(+), 1 deletion(-)
1814 commit b7e200d7bd0a3c7c171c13ad37d68296d6f73374
1815 Author: Lasse Collin <lasse.collin@tukaani.org>
1816 Date: 2013-06-23 18:59:13 +0300
1821 1 file changed, 1 insertion(+)
1823 commit 46540e4c10923e363741ff5aab99e79fc0ce6ee8
1824 Author: Lasse Collin <lasse.collin@tukaani.org>
1825 Date: 2013-06-23 18:57:23 +0300
1827 liblzma: Avoid a warning about a shadowed variable.
1829 On Mac OS X wait() is declared in <sys/wait.h> that
1830 we include one way or other so don't use "wait" as
1833 Thanks to Christian Kujau.
1835 src/liblzma/common/stream_encoder_mt.c | 4 ++--
1836 1 file changed, 2 insertions(+), 2 deletions(-)
1838 commit ebb501ec73cecc546c67117dd01b5e33c90bfb4a
1839 Author: Lasse Collin <lasse.collin@tukaani.org>
1840 Date: 2013-06-23 17:36:47 +0300
1842 xz: Validate Uncompressed Size from Block Header in list.c.
1844 This affects only "xz -lvv". Normal decompression with xz
1845 already detected if Block Header and Index had mismatched
1846 Uncompressed Size fields. So this just makes "xz -lvv"
1847 show such files as corrupt instead of showing the
1848 Uncompressed Size from Index.
1850 src/xz/list.c | 14 +++++++++++++-
1851 1 file changed, 13 insertions(+), 1 deletion(-)
1853 commit c09e91dd236d3cabee0fc48312b3dc8cceae41ab
1854 Author: Lasse Collin <lasse.collin@tukaani.org>
1855 Date: 2013-06-21 22:08:11 +0300
1860 1 file changed, 2 insertions(+)
1862 commit eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494
1863 Author: Lasse Collin <lasse.collin@tukaani.org>
1864 Date: 2013-06-21 22:04:45 +0300
1866 xz: Make the man page more friendly to doclifter.
1868 Thanks to Eric S. Raymond.
1870 src/xz/xz.1 | 7 ++++---
1871 1 file changed, 4 insertions(+), 3 deletions(-)
1873 commit 0c0a1947e6ad90a0a10b7a5c39f6ab99a0aa5c93
1874 Author: Lasse Collin <lasse.collin@tukaani.org>
1875 Date: 2013-06-21 21:54:59 +0300
1877 xz: A couple of man page fixes.
1879 Now the interaction of presets and custom filter chains
1880 is described correctly. Earlier it contradicted itself.
1882 Thanks to DevHC who reported these issues on IRC to me
1885 src/xz/xz.1 | 35 +++++++++++++++++++++++------------
1886 1 file changed, 23 insertions(+), 12 deletions(-)
1888 commit 2fcda89939c903106c429e109083d43d894049e0
1889 Author: Lasse Collin <lasse.collin@tukaani.org>
1890 Date: 2013-06-21 21:50:26 +0300
1892 xz: Fix interaction between preset and custom filter chains.
1894 There was somewhat illogical behavior when --extreme was
1895 specified and mixed with custom filter chains.
1897 Before this commit, "xz -9 --lzma2 -e" was equivalent
1898 to "xz --lzma2". After it is equivalent to "xz -6e"
1899 (all earlier preset options get forgotten when a custom
1900 filter chain is specified and the default preset is 6
1901 to which -e is applied). I find this less illogical.
1903 This also affects the meaning of "xz -9e --lzma2 -7".
1904 Earlier it was equivalent to "xz -7e" (the -e specified
1905 before a custom filter chain wasn't forgotten). Now it
1906 is "xz -7". Note that "xz -7e" still is the same as "xz -e7".
1908 Hopefully very few cared about this in the first place,
1909 so pretty much no one should even notice this change.
1911 Thanks to Conley Moorhous.
1913 src/xz/coder.c | 35 +++++++++++++++++++++--------------
1914 1 file changed, 21 insertions(+), 14 deletions(-)
1916 commit 97379c5ea758da3f8b0bc444d5f7fa43753ce610
1917 Author: Lasse Collin <lasse.collin@tukaani.org>
1918 Date: 2013-04-27 22:07:46 +0300
1920 Build: Use -Wvla with GCC if supported.
1922 Variable-length arrays are mandatory in C99 but optional in C11.
1923 The code doesn't currently use any VLAs and it shouldn't in the
1924 future either to stay compatible with C11 without requiring any
1925 optional C11 features.
1928 1 file changed, 1 insertion(+)
1930 commit 8957c58609d3987c58aa72b96c436cf565cc4917
1931 Author: Lasse Collin <lasse.collin@tukaani.org>
1932 Date: 2013-04-15 19:29:09 +0300
1934 xzdec: Improve the --help message.
1936 The options are now ordered in the same order as in xz's help
1939 Descriptions were added to the options that are ignored.
1940 I left them in parenthesis even if it looks a bit weird
1941 because I find it easier to spot the ignored vs. non-ignored
1942 options from the list that way.
1944 src/xzdec/xzdec.c | 10 +++++-----
1945 1 file changed, 5 insertions(+), 5 deletions(-)
1947 commit ed886e1a92534a24401d0e99c11f1dcff3b5220a
1948 Author: Lasse Collin <lasse.collin@tukaani.org>
1949 Date: 2013-04-05 19:25:40 +0300
1954 1 file changed, 2 insertions(+)
1956 commit 5019413a055ce29e660dbbf15e02443cb5a26c59
1957 Author: Jeff Bastian <jbastian@redhat.com>
1958 Date: 2013-04-03 13:59:17 +0200
1960 xzgrep: make the '-h' option to be --no-filename equivalent
1962 * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
1964 src/scripts/xzgrep.in | 2 +-
1965 1 file changed, 1 insertion(+), 1 deletion(-)
1967 commit 5ea900cb5ad862bca81316729f92357c1fc040ce
1968 Author: Lasse Collin <lasse.collin@tukaani.org>
1969 Date: 2013-03-23 22:25:15 +0200
1971 liblzma: Be less picky in lzma_alone_decoder().
1973 To avoid false positives when detecting .lzma files,
1974 rare values in dictionary size and uncompressed size fields
1975 were rejected. They will still be rejected if .lzma files
1976 are decoded with lzma_auto_decoder(), but when using
1977 lzma_alone_decoder() directly, such files will now be accepted.
1978 Hopefully this is an OK compromise.
1980 This doesn't affect xz because xz still has its own file
1981 format detection code. This does affect lzmadec though.
1982 So after this commit lzmadec will accept files that xz or
1983 xz-emulating-lzma doesn't.
1985 NOTE: lzma_alone_decoder() still won't decode all .lzma files
1986 because liblzma's LZMA decoder doesn't support lc + lp > 4.
1989 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827
1991 src/liblzma/common/alone_decoder.c | 22 ++++++++++++++--------
1992 src/liblzma/common/alone_decoder.h | 5 +++--
1993 src/liblzma/common/auto_decoder.c | 2 +-
1994 3 files changed, 18 insertions(+), 11 deletions(-)
1996 commit bb117fffa84604b6e3811b068c80db82bf7f7b05
1997 Author: Lasse Collin <lasse.collin@tukaani.org>
1998 Date: 2013-03-23 21:55:13 +0200
2000 liblzma: Use lzma_block_buffer_bound64() in threaded encoder.
2002 Now it uses lzma_block_uncomp_encode() if the data doesn't
2003 fit into the space calculated by lzma_block_buffer_bound64().
2005 src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++---------
2006 1 file changed, 50 insertions(+), 16 deletions(-)
2008 commit e572e123b55b29527e54ce5f0807f115481d78b9
2009 Author: Lasse Collin <lasse.collin@tukaani.org>
2010 Date: 2013-03-23 21:51:38 +0200
2012 liblzma: Fix another deadlock in the threaded encoder.
2014 This race condition could cause a deadlock if lzma_end() was
2015 called before finishing the encoding. This can happen with
2016 xz with debugging enabled (non-debugging version doesn't
2017 call lzma_end() before exiting).
2019 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
2020 1 file changed, 6 insertions(+), 3 deletions(-)
2022 commit b465da5988dd59ad98fda10c2e4ea13d0b9c73bc
2023 Author: Lasse Collin <lasse.collin@tukaani.org>
2024 Date: 2013-03-23 19:17:33 +0200
2026 liblzma: Add lzma_block_uncomp_encode().
2028 This also adds a new internal function
2029 lzma_block_buffer_bound64() which is similar to
2030 lzma_block_buffer_bound() but uses uint64_t instead
2033 src/liblzma/api/lzma/block.h | 18 ++++++
2034 src/liblzma/common/block_buffer_encoder.c | 94 +++++++++++++++++++++----------
2035 src/liblzma/common/block_buffer_encoder.h | 24 ++++++++
2036 src/liblzma/liblzma.map | 1 +
2037 4 files changed, 106 insertions(+), 31 deletions(-)
2039 commit 9e6dabcf22ef4679f4faaae15ebd5b137ae2fad1
2040 Author: Lasse Collin <lasse.collin@tukaani.org>
2041 Date: 2013-03-05 19:14:50 +0200
2043 Avoid unneeded use of awk in xzless.
2045 Use "read" instead of "awk" in xzless to get the version
2046 number of "less". The need for awk was introduced in
2047 the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e.
2049 Thanks to Ariel P for the patch.
2051 src/scripts/xzless.in | 3 +--
2052 1 file changed, 1 insertion(+), 2 deletions(-)
2054 commit e7b424d267a34803db8d92a3515528be2ed45abd
2055 Author: Lasse Collin <lasse.collin@tukaani.org>
2056 Date: 2012-12-14 20:13:32 +0200
2058 Make the progress indicator smooth in threaded mode.
2060 This adds lzma_get_progress() to liblzma and takes advantage
2063 lzma_get_progress() collects progress information from
2064 the thread-specific structures so that fairly accurate
2065 progress information is available to applications. Adding
2066 a new function seemed to be a better way than making the
2067 information directly available in lzma_stream (like total_in
2068 and total_out are) because collecting the information requires
2069 locking mutexes. It's waste of time to do it more often than
2070 the up to date information is actually needed by an application.
2072 src/liblzma/api/lzma/base.h | 22 +++++++++-
2073 src/liblzma/common/common.c | 16 +++++++
2074 src/liblzma/common/common.h | 6 +++
2075 src/liblzma/common/stream_encoder_mt.c | 77 +++++++++++++++++++++++++++++++---
2076 src/liblzma/liblzma.map | 1 +
2077 src/xz/message.c | 20 +++++----
2078 6 files changed, 129 insertions(+), 13 deletions(-)
2080 commit 2ebbb994e367f55f2561aa7c9e7451703c171f2f
2081 Author: Lasse Collin <lasse.collin@tukaani.org>
2082 Date: 2012-12-14 11:01:41 +0200
2084 liblzma: Fix mythread_sync for nested locking.
2086 src/common/mythread.h | 5 +++--
2087 1 file changed, 3 insertions(+), 2 deletions(-)
2089 commit 4c7e28705f6de418d19cc77324ef301f996e01ff
2090 Author: Lasse Collin <lasse.collin@tukaani.org>
2091 Date: 2012-12-13 21:05:36 +0200
2093 xz: Mention --threads in --help.
2095 Thanks to Olivier Delhomme for pointing out that this
2098 src/xz/message.c | 4 ++++
2099 1 file changed, 4 insertions(+)
2101 commit db5c1817fabf7cbb9e4087b1576eb26f0747338e
2102 Author: Jonathan Nieder <jrnieder@gmail.com>
2103 Date: 2012-11-19 00:10:10 -0800
2105 xzless: Make "less -V" parsing more robust
2107 In v4.999.9beta~30 (xzless: Support compressed standard input,
2108 2009-08-09), xzless learned to parse ‘less -V’ output to figure out
2109 whether less is new enough to handle $LESSOPEN settings starting
2110 with “|-”. That worked well for a while, but the version string from
2111 ‘less’ versions 448 (June, 2012) is misparsed, producing a warning:
2113 $ xzless /tmp/test.xz; echo $?
2114 /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
2115 integer expression expected
2118 More precisely, modern ‘less’ lists the regexp implementation along
2119 with its version number, and xzless passes the entire version number
2120 with attached parenthetical phrase as a number to "test $a -gt $b",
2121 producing the above confusing message.
2123 $ less-444 -V | head -1
2126 less 456 (no regular expressions)
2128 So relax the pattern matched --- instead of expecting "less <number>",
2129 look for a line of the form "less <number>[ (extra parenthetical)]".
2130 While at it, improve the behavior when no matching line is found ---
2131 instead of producing a cryptic message, we can fall back on a LESSPIPE
2132 setting that is supported by all versions of ‘less’.
2134 The implementation uses "awk" for simplicity. Hopefully that’s
2137 Reported-by: Jörg-Volker Peetz <jvpeetz@web.de>
2138 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2140 src/scripts/xzless.in | 3 ++-
2141 1 file changed, 2 insertions(+), 1 deletion(-)
2143 commit 65536214a31ecd33b6b03b68a351fb597d3703d6
2144 Author: Lasse Collin <lasse.collin@tukaani.org>
2145 Date: 2012-10-03 15:54:24 +0300
2147 xz: Fix the note about --rsyncable on the man page.
2149 src/xz/xz.1 | 17 +++++++++--------
2150 1 file changed, 9 insertions(+), 8 deletions(-)
2152 commit 3d93b6354927247a1569caf22ad27b07e97ee904
2153 Author: Lasse Collin <lasse.collin@tukaani.org>
2154 Date: 2012-09-28 20:11:09 +0300
2156 xz: Improve handling of failed realloc in xrealloc.
2158 Thanks to Jim Meyering.
2160 src/xz/util.c | 14 ++++++++++++--
2161 1 file changed, 12 insertions(+), 2 deletions(-)
2163 commit ab225620664e235637833be2329935f9d290ba80
2164 Author: Lasse Collin <lasse.collin@tukaani.org>
2165 Date: 2012-08-24 16:27:31 +0300
2167 A few typo fixes to comments and the xz man page.
2169 Thanks to Jim Meyering.
2172 src/liblzma/check/sha256.c | 1 -
2173 src/xz/xz.1 | 4 ++--
2174 3 files changed, 3 insertions(+), 4 deletions(-)
2176 commit f3c1ec69d910175ffd431fd82968dd35cec806ed
2177 Author: Lasse Collin <lasse.collin@tukaani.org>
2178 Date: 2012-08-13 21:40:09 +0300
2180 xz: Add a warning to --help about alpha and beta versions.
2182 src/xz/message.c | 5 +++++
2183 1 file changed, 5 insertions(+)
2185 commit d8eaf9d8278c23c2cf2b7ca5562d4de570d3b5db
2186 Author: Lasse Collin <lasse.collin@tukaani.org>
2187 Date: 2012-08-02 17:13:30 +0300
2189 Build: Bump gettext version requirement to 0.18.
2191 Otherwise too old version of m4/lib-link.m4 gets included
2192 when autoreconf -fi is run.
2195 1 file changed, 1 insertion(+), 1 deletion(-)
2197 commit 96e08902b09f0f304d4ff80c6e83ef7fff883f34
2198 Author: Lasse Collin <lasse.collin@tukaani.org>
2199 Date: 2012-07-17 18:29:08 +0300
2204 1 file changed, 1 insertion(+)
2206 commit 3778db1be53e61ff285c573af5ee468803008456
2207 Author: Lasse Collin <lasse.collin@tukaani.org>
2208 Date: 2012-07-17 18:19:59 +0300
2210 liblzma: Make the use of lzma_allocator const-correct.
2212 There is a tiny risk of causing breakage: If an application
2213 assigns lzma_stream.allocator to a non-const pointer, such
2214 code won't compile anymore. I don't know why anyone would do
2215 such a thing though, so in practice this shouldn't cause trouble.
2217 Thanks to Jan Kratochvil for the patch.
2219 src/liblzma/api/lzma/base.h | 4 +++-
2220 src/liblzma/api/lzma/block.h | 6 ++---
2221 src/liblzma/api/lzma/container.h | 9 +++++---
2222 src/liblzma/api/lzma/filter.h | 13 ++++++-----
2223 src/liblzma/api/lzma/index.h | 16 ++++++-------
2224 src/liblzma/api/lzma/index_hash.h | 4 ++--
2225 src/liblzma/common/alone_decoder.c | 6 ++---
2226 src/liblzma/common/alone_decoder.h | 2 +-
2227 src/liblzma/common/alone_encoder.c | 8 +++----
2228 src/liblzma/common/auto_decoder.c | 6 ++---
2229 src/liblzma/common/block_buffer_decoder.c | 2 +-
2230 src/liblzma/common/block_buffer_encoder.c | 4 ++--
2231 src/liblzma/common/block_decoder.c | 6 ++---
2232 src/liblzma/common/block_decoder.h | 2 +-
2233 src/liblzma/common/block_encoder.c | 8 +++----
2234 src/liblzma/common/block_encoder.h | 2 +-
2235 src/liblzma/common/block_header_decoder.c | 4 ++--
2236 src/liblzma/common/common.c | 10 ++++-----
2237 src/liblzma/common/common.h | 20 +++++++++--------
2238 src/liblzma/common/easy_buffer_encoder.c | 4 ++--
2239 src/liblzma/common/filter_buffer_decoder.c | 3 ++-
2240 src/liblzma/common/filter_buffer_encoder.c | 7 +++---
2241 src/liblzma/common/filter_common.c | 4 ++--
2242 src/liblzma/common/filter_common.h | 2 +-
2243 src/liblzma/common/filter_decoder.c | 7 +++---
2244 src/liblzma/common/filter_decoder.h | 2 +-
2245 src/liblzma/common/filter_encoder.c | 2 +-
2246 src/liblzma/common/filter_encoder.h | 2 +-
2247 src/liblzma/common/filter_flags_decoder.c | 2 +-
2248 src/liblzma/common/index.c | 26 ++++++++++-----------
2249 src/liblzma/common/index_decoder.c | 12 +++++-----
2250 src/liblzma/common/index_encoder.c | 6 ++---
2251 src/liblzma/common/index_encoder.h | 2 +-
2252 src/liblzma/common/index_hash.c | 6 +++--
2253 src/liblzma/common/outqueue.c | 4 ++--
2254 src/liblzma/common/outqueue.h | 5 +++--
2255 src/liblzma/common/stream_buffer_decoder.c | 2 +-
2256 src/liblzma/common/stream_buffer_encoder.c | 3 ++-
2257 src/liblzma/common/stream_decoder.c | 9 ++++----
2258 src/liblzma/common/stream_decoder.h | 5 +++--
2259 src/liblzma/common/stream_encoder.c | 10 ++++-----
2260 src/liblzma/common/stream_encoder_mt.c | 16 ++++++-------
2261 src/liblzma/delta/delta_common.c | 4 ++--
2262 src/liblzma/delta/delta_decoder.c | 6 ++---
2263 src/liblzma/delta/delta_decoder.h | 5 +++--
2264 src/liblzma/delta/delta_encoder.c | 6 ++---
2265 src/liblzma/delta/delta_encoder.h | 3 ++-
2266 src/liblzma/delta/delta_private.h | 2 +-
2267 src/liblzma/lz/lz_decoder.c | 8 +++----
2268 src/liblzma/lz/lz_decoder.h | 7 +++---
2269 src/liblzma/lz/lz_encoder.c | 19 ++++++++--------
2270 src/liblzma/lz/lz_encoder.h | 6 ++---
2271 src/liblzma/lzma/lzma2_decoder.c | 8 +++----
2272 src/liblzma/lzma/lzma2_decoder.h | 5 +++--
2273 src/liblzma/lzma/lzma2_encoder.c | 6 ++---
2274 src/liblzma/lzma/lzma2_encoder.h | 2 +-
2275 src/liblzma/lzma/lzma_decoder.c | 8 +++----
2276 src/liblzma/lzma/lzma_decoder.h | 7 +++---
2277 src/liblzma/lzma/lzma_encoder.c | 7 +++---
2278 src/liblzma/lzma/lzma_encoder.h | 5 +++--
2279 src/liblzma/simple/arm.c | 8 ++++---
2280 src/liblzma/simple/armthumb.c | 8 ++++---
2281 src/liblzma/simple/ia64.c | 8 ++++---
2282 src/liblzma/simple/powerpc.c | 8 ++++---
2283 src/liblzma/simple/simple_coder.c | 10 ++++-----
2284 src/liblzma/simple/simple_coder.h | 36 ++++++++++++++++++++----------
2285 src/liblzma/simple/simple_decoder.c | 2 +-
2286 src/liblzma/simple/simple_decoder.h | 2 +-
2287 src/liblzma/simple/simple_private.h | 3 ++-
2288 src/liblzma/simple/sparc.c | 8 ++++---
2289 src/liblzma/simple/x86.c | 8 ++++---
2290 71 files changed, 269 insertions(+), 219 deletions(-)
2292 commit d625c7cf824fd3b61c6da84f56179e94917ff603
2293 Author: Lasse Collin <lasse.collin@tukaani.org>
2294 Date: 2012-07-05 07:36:28 +0300
2296 Tests: Remove tests/test_block.c that had gotten committed accidentally.
2298 tests/test_block.c | 52 ----------------------------------------------------
2299 1 file changed, 52 deletions(-)
2301 commit 0b09d266cce72bc4841933b171e79551e488927c
2302 Author: Lasse Collin <lasse.collin@tukaani.org>
2303 Date: 2012-07-05 07:33:35 +0300
2305 Build: Include macosx/build.sh in the distribution.
2307 It has been in the Git repository since 2010 but probably
2308 few people have seen it since it hasn't been included in
2309 the release tarballs. :-(
2312 1 file changed, 1 insertion(+)
2314 commit d6e0b23d4613b9f417893dd96cc168c8005ece3d
2315 Author: Lasse Collin <lasse.collin@tukaani.org>
2316 Date: 2012-07-05 07:28:53 +0300
2318 Build: Include validate_map.sh in the distribution.
2320 It's required by "make mydist".
2322 Fix also the location of EXTRA_DIST+= so that those files
2323 get distributed also if symbol versioning isn't enabled.
2325 src/liblzma/Makefile.am | 2 +-
2326 1 file changed, 1 insertion(+), 1 deletion(-)
2328 commit 19de545d86097c3954d69ab5d12820387f6a09bc
2329 Author: Lasse Collin <lasse.collin@tukaani.org>
2330 Date: 2012-07-05 07:24:45 +0300
2332 Docs: Fix the name LZMA Utils -> XZ Utils in debug/README.
2335 1 file changed, 1 insertion(+), 1 deletion(-)
2337 commit 672eccf57c31a40dfb956b7662db06d43e18618e
2338 Author: Lasse Collin <lasse.collin@tukaani.org>
2339 Date: 2012-07-05 07:23:17 +0300
2341 Include debug/translation.bash in the distribution.
2343 Also fix the script name mentioned in README.
2346 debug/Makefile.am | 3 +++
2347 2 files changed, 5 insertions(+), 2 deletions(-)
2349 commit cafb523adac1caf305e70a04bc37f25602bf990c
2350 Author: Lasse Collin <lasse.collin@tukaani.org>
2351 Date: 2012-07-04 22:31:58 +0300
2353 xz: Document --block-list better.
2355 Thanks to Jonathan Nieder.
2357 src/xz/xz.1 | 8 +++++++-
2358 1 file changed, 7 insertions(+), 1 deletion(-)
2360 commit c7ff218528bc8f7c65e7ef73c6515777346c6794
2361 Author: Lasse Collin <lasse.collin@tukaani.org>
2362 Date: 2012-07-04 20:01:49 +0300
2364 Bump the version number to 5.1.2alpha.
2366 src/liblzma/api/lzma/version.h | 2 +-
2367 src/liblzma/liblzma.map | 2 +-
2368 2 files changed, 2 insertions(+), 2 deletions(-)
2370 commit 8f3c1d886f93e6478ad509ff52102b2ce7faa999
2371 Author: Lasse Collin <lasse.collin@tukaani.org>
2372 Date: 2012-07-04 20:01:19 +0300
2374 Update NEWS for 5.1.2alpha.
2376 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
2377 1 file changed, 41 insertions(+)
2379 commit 0d5fa05466e580fbc458820f87013ae7644e20e5
2380 Author: Lasse Collin <lasse.collin@tukaani.org>
2381 Date: 2012-07-04 19:58:23 +0300
2383 xz: Fix the version number printed by xz -lvv.
2385 The decoder bug was fixed in 5.0.2 instead of 5.0.3.
2387 src/xz/list.c | 6 +++---
2388 1 file changed, 3 insertions(+), 3 deletions(-)
2390 commit df11317985a4165731dde12bb0f0028da0e7b77f
2391 Author: Lasse Collin <lasse.collin@tukaani.org>
2392 Date: 2012-07-04 17:11:31 +0300
2394 Build: Add a comment to configure.ac about symbol versioning.
2396 configure.ac | 4 ++++
2397 1 file changed, 4 insertions(+)
2399 commit bd9cc179e8be3ef515201d3ed9c7dd79ae88869d
2400 Author: Lasse Collin <lasse.collin@tukaani.org>
2401 Date: 2012-07-04 17:06:49 +0300
2405 TODO | 12 ++++++++++--
2406 1 file changed, 10 insertions(+), 2 deletions(-)
2408 commit 4a238dd9b22f462cac5e199828bf1beb0df05884
2409 Author: Lasse Collin <lasse.collin@tukaani.org>
2410 Date: 2012-07-04 17:05:46 +0300
2412 Document --enable-symbol-versions in INSTALL.
2415 1 file changed, 5 insertions(+)
2417 commit 88ccf47205d7f3aa314d358c72ef214f10f68b43
2418 Author: Lasse Collin <lasse.collin@tukaani.org>
2419 Date: 2012-07-03 21:16:39 +0300
2421 xz: Add incomplete support for --block-list.
2423 It's broken with threads and when also --block-size is used.
2425 src/xz/args.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2427 src/xz/coder.c | 48 ++++++++++++++++++++++++++++------
2428 src/xz/coder.h | 4 +++
2430 src/xz/message.c | 6 +++++
2431 src/xz/xz.1 | 23 +++++++++++++++--
2432 7 files changed, 151 insertions(+), 10 deletions(-)
2434 commit 972179cdcdf5d8949c48ee31737d87d3050b44af
2435 Author: Lasse Collin <lasse.collin@tukaani.org>
2436 Date: 2012-07-01 18:44:33 +0300
2438 xz: Update the man page about the new field in --robot -lvv.
2440 src/xz/xz.1 | 18 +++++++++++++++++-
2441 1 file changed, 17 insertions(+), 1 deletion(-)
2443 commit 1403707fc64a70976aebe66f8d9a9bd12f73a2c5
2444 Author: Lasse Collin <lasse.collin@tukaani.org>
2445 Date: 2012-06-28 10:47:49 +0300
2447 liblzma: Check that the first byte of range encoded data is 0x00.
2449 It is just to be more pedantic and thus perhaps catch broken
2450 files slightly earlier.
2452 src/liblzma/lzma/lzma_decoder.c | 8 ++++++--
2453 src/liblzma/rangecoder/range_decoder.h | 12 +++++++++---
2454 2 files changed, 15 insertions(+), 5 deletions(-)
2456 commit eccd8017ffe2c5de473222c4963ec53c62f7fda2
2457 Author: Lasse Collin <lasse.collin@tukaani.org>
2458 Date: 2012-06-22 19:00:23 +0300
2460 Update NEWS from 5.0.4.
2462 NEWS | 37 +++++++++++++++++++++++++++++++++++++
2463 1 file changed, 37 insertions(+)
2465 commit 2e6754eac26a431e8d340c28906f63bcd1e177e8
2466 Author: Lasse Collin <lasse.collin@tukaani.org>
2467 Date: 2012-06-22 14:34:03 +0300
2469 xz: Update man page date to match the latest update.
2472 1 file changed, 1 insertion(+), 1 deletion(-)
2474 commit b3235a0b1af45d5e1244cbe3191516966c076fa0
2475 Author: Lasse Collin <lasse.collin@tukaani.org>
2476 Date: 2012-06-18 21:27:47 +0300
2478 Docs: Language fix to 01_compress_easy.c.
2480 Thanks to Jonathan Nieder.
2482 doc/examples/01_compress_easy.c | 2 +-
2483 1 file changed, 1 insertion(+), 1 deletion(-)
2485 commit f1675f765fe228cb5a5f904f853445a03e33cfe9
2486 Author: Lasse Collin <lasse.collin@tukaani.org>
2487 Date: 2012-06-14 20:15:30 +0300
2489 Fix the top-level Makefile.am for the new example programs.
2491 Makefile.am | 12 ++++++++++--
2492 1 file changed, 10 insertions(+), 2 deletions(-)
2494 commit 3a0c5378abefaf86aa39a62a7c9682bdb21568a1
2495 Author: Lasse Collin <lasse.collin@tukaani.org>
2496 Date: 2012-06-14 10:52:33 +0300
2498 Docs: Add new example programs.
2500 These have more comments than the old examples and
2501 human-readable error messages. More tutorial-like examples
2502 are needed but these are a start.
2504 doc/examples/00_README.txt | 27 ++++
2505 doc/examples/01_compress_easy.c | 297 ++++++++++++++++++++++++++++++++++++++
2506 doc/examples/02_decompress.c | 287 ++++++++++++++++++++++++++++++++++++
2507 doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++
2508 doc/examples/Makefile | 23 +++
2509 5 files changed, 827 insertions(+)
2511 commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d
2512 Author: Lasse Collin <lasse.collin@tukaani.org>
2513 Date: 2012-06-14 10:33:27 +0300
2515 Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old.
2517 It is good to keep these around to so that if someone has
2518 copied the decompressor bug from xz_pipe_decomp.c he has
2519 an example how to easily fix it.
2521 doc/examples/xz_pipe_comp.c | 127 --------------------------------------
2522 doc/examples/xz_pipe_decomp.c | 123 ------------------------------------
2523 doc/examples_old/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++
2524 doc/examples_old/xz_pipe_decomp.c | 123 ++++++++++++++++++++++++++++++++++++
2525 4 files changed, 250 insertions(+), 250 deletions(-)
2527 commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292
2528 Author: Lasse Collin <lasse.collin@tukaani.org>
2529 Date: 2012-06-14 10:33:01 +0300
2531 Docs: Fix a bug in xz_pipe_decomp.c example program.
2533 doc/examples/xz_pipe_decomp.c | 10 +++++++++-
2534 1 file changed, 9 insertions(+), 1 deletion(-)
2536 commit 4bd1a3bd5fdf4870b2f96dd0b8a21657c8a58ad8
2537 Author: Lasse Collin <lasse.collin@tukaani.org>
2538 Date: 2012-05-30 23:14:33 +0300
2540 Translations: Update the French translation.
2542 Thanks to Adrien Nader.
2544 po/fr.po | 148 ++++++++++++++++++++++++++++++++++-----------------------------
2545 1 file changed, 79 insertions(+), 69 deletions(-)
2547 commit d2e836f2f3a87df6fe6bb0589b037db51205d910
2548 Author: Lasse Collin <lasse.collin@tukaani.org>
2549 Date: 2012-05-29 23:42:37 +0300
2551 Translations: Update the German translation.
2553 The previous only included the new strings in v5.0.
2555 po/de.po | 229 +++++++++++++++++++++++++++++++++++++--------------------------
2556 1 file changed, 133 insertions(+), 96 deletions(-)
2558 commit c9a16151577ba459afd6e3528df23bc0ddb95171
2559 Author: Lasse Collin <lasse.collin@tukaani.org>
2560 Date: 2012-05-29 22:26:27 +0300
2562 Translations: Update the German translation.
2564 po/de.po | 169 ++++++++++++++++++++++++++++++++++-----------------------------
2565 1 file changed, 91 insertions(+), 78 deletions(-)
2567 commit 1530a74fd48f8493372edad137a24541efe24713
2568 Author: Lasse Collin <lasse.collin@tukaani.org>
2569 Date: 2012-05-29 22:14:21 +0300
2571 Translations: Update Polish translation.
2573 po/pl.po | 283 +++++++++++++++++++++++++++++++++++++--------------------------
2574 1 file changed, 165 insertions(+), 118 deletions(-)
2576 commit d8db706acb8316f9861abd432cfbe001dd6d0c5c
2577 Author: Lasse Collin <lasse.collin@tukaani.org>
2578 Date: 2012-05-28 20:42:11 +0300
2580 liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.
2582 lzma_code() could incorrectly return LZMA_BUF_ERROR if
2583 all of the following was true:
2585 - The caller knows how many bytes of output to expect
2586 and only provides that much output space.
2588 - When the last output bytes are decoded, the
2589 caller-provided input buffer ends right before
2590 the LZMA2 end of payload marker. So LZMA2 won't
2591 provide more output anymore, but it won't know it
2592 yet and thus won't return LZMA_STREAM_END yet.
2594 - A BCJ filter is in use and it hasn't left any
2595 unfiltered bytes in the temp buffer. This can happen
2596 with any BCJ filter, but in practice it's more likely
2597 with filters other than the x86 BCJ.
2599 Another situation where the bug can be triggered happens
2600 if the uncompressed size is zero bytes and no output space
2601 is provided. In this case the decompression can fail even
2602 if the whole input file is given to lzma_code().
2604 A similar bug was fixed in XZ Embedded on 2011-09-19.
2606 src/liblzma/simple/simple_coder.c | 2 +-
2607 tests/Makefile.am | 4 +-
2608 tests/test_bcj_exact_size.c | 112 ++++++++++++++++++++++++++++++++++++++
2609 3 files changed, 116 insertions(+), 2 deletions(-)
2611 commit 3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda
2612 Author: Lasse Collin <lasse.collin@tukaani.org>
2613 Date: 2012-05-28 15:38:32 +0300
2618 1 file changed, 1 insertion(+)
2620 commit 7769ea051d739a38a1640fd448cf5eb83cb119c6
2621 Author: Lasse Collin <lasse.collin@tukaani.org>
2622 Date: 2012-05-28 15:37:43 +0300
2624 xz: Don't show a huge number in -vv when memory limit is disabled.
2626 src/xz/message.c | 12 +++++++++++-
2627 1 file changed, 11 insertions(+), 1 deletion(-)
2629 commit ec921105725e4d3ef0a683dd83eee6f24ab60ccd
2630 Author: Lasse Collin <lasse.collin@tukaani.org>
2631 Date: 2012-05-27 22:30:17 +0300
2633 xz: Document the "summary" lines of --robot -lvv.
2635 This documents only the columns that are in v5.0.
2636 The new columns added in the master branch aren't
2637 necessarily stable yet.
2639 src/xz/xz.1 | 19 +++++++++++++++++++
2640 1 file changed, 19 insertions(+)
2642 commit 27d24eb0a9f6eed96d6a4594c2b0bf7a91d29f9a
2643 Author: Lasse Collin <lasse.collin@tukaani.org>
2644 Date: 2012-05-27 21:53:20 +0300
2646 xz: Fix output of verbose --robot --list modes.
2648 It printed the filename in "filename (x/y)" format
2649 which it obviously shouldn't do in robot mode.
2651 src/xz/message.c | 2 +-
2652 1 file changed, 1 insertion(+), 1 deletion(-)
2654 commit ab25b82a91754d9388c89abddf806424671d9431
2655 Author: Lasse Collin <lasse.collin@tukaani.org>
2656 Date: 2012-05-24 18:33:54 +0300
2658 Build: Upgrade m4/acx_pthread.m4 to the latest version.
2660 m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++---------------------
2661 1 file changed, 62 insertions(+), 36 deletions(-)
2663 commit d05d6d65c41a4bc83f162fa3d67c5d84e8751634
2664 Author: Lasse Collin <lasse.collin@tukaani.org>
2665 Date: 2012-05-10 21:15:17 +0300
2670 1 file changed, 1 insertion(+)
2672 commit e077391982f9f28dbfe542bba8800e7c5b916666
2673 Author: Lasse Collin <lasse.collin@tukaani.org>
2674 Date: 2012-05-10 21:14:16 +0300
2676 Docs: Cleanup line wrapping a bit.
2678 README | 12 ++++++------
2679 doc/history.txt | 49 +++++++++++++++++++++++++------------------------
2680 2 files changed, 31 insertions(+), 30 deletions(-)
2682 commit fc39849c350225c6a1cd7f6e6adff1020521eabc
2683 Author: Benno Schulenberg <bensberg@justemail.net>
2684 Date: 2012-03-13 22:04:04 +0100
2686 Fix a few typos and add some missing articles in some documents.
2688 Also hyphenate several compound adjectives.
2690 Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2693 README | 42 ++++++++++++++++++++---------------------
2694 doc/faq.txt | 24 ++++++++++++------------
2695 doc/history.txt | 58 ++++++++++++++++++++++++++++-----------------------------
2696 4 files changed, 65 insertions(+), 65 deletions(-)
2698 commit 29fa0566d5df199cb9acb2d17bf7eea61acc7fa1
2699 Author: Lasse Collin <lasse.collin@tukaani.org>
2700 Date: 2012-04-29 11:51:25 +0300
2702 Windows: Update notes about static linking with MSVC.
2704 windows/README-Windows.txt | 13 +++++++++----
2705 1 file changed, 9 insertions(+), 4 deletions(-)
2707 commit aac1b31ea4e66cf5a7a8c116bdaa15aa45e6c56e
2708 Author: Lasse Collin <lasse.collin@tukaani.org>
2709 Date: 2012-04-19 15:25:26 +0300
2711 liblzma: Remove outdated comments.
2713 src/liblzma/simple/simple_coder.c | 3 ---
2714 src/liblzma/simple/simple_private.h | 3 +--
2715 2 files changed, 1 insertion(+), 5 deletions(-)
2717 commit df14a46013bea70c0bd35be7821b0b9108f97de7
2718 Author: Lasse Collin <lasse.collin@tukaani.org>
2719 Date: 2012-04-19 14:17:52 +0300
2721 DOS: Link against DJGPP's libemu to support FPU emulation.
2723 This way xz should work on 386SX and 486SX. Floating point
2724 only is needed for verbose output in xz.
2727 1 file changed, 1 insertion(+), 1 deletion(-)
2729 commit 03ed742a3a4931bb5c821357832083b26f577b13
2730 Author: Lasse Collin <lasse.collin@tukaani.org>
2731 Date: 2012-04-19 14:02:25 +0300
2733 liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed.
2735 src/liblzma/liblzma.pc.in | 2 +-
2736 1 file changed, 1 insertion(+), 1 deletion(-)
2738 commit 8c5b13ad59df70f49429bfdfd6ac120b8f892fda
2739 Author: Lasse Collin <lasse.collin@tukaani.org>
2740 Date: 2012-04-19 13:58:55 +0300
2742 Docs: Update MINIX 3 information in INSTALL.
2744 INSTALL | 8 +++++---
2745 1 file changed, 5 insertions(+), 3 deletions(-)
2747 commit c7376fc415a1566f38b2de4b516a17013d516a8b
2748 Author: Lasse Collin <lasse.collin@tukaani.org>
2749 Date: 2012-02-22 14:23:13 +0200
2754 1 file changed, 1 insertion(+)
2756 commit cff070aba6281ba743d29a62b8c0c66e5da4b2a6
2757 Author: Lasse Collin <lasse.collin@tukaani.org>
2758 Date: 2012-02-22 14:02:34 +0200
2760 Fix exit status of xzgrep when grepping binary files.
2762 When grepping binary files, grep may exit before it has
2763 read all the input. In this case, gzip -q returns 2 (eating
2764 SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status
2765 (e.g. 141). This causes wrong exit status when grepping
2766 xz- or bzip2-compressed binary files.
2768 The fix checks for the special exit status that indicates SIGPIPE.
2769 It uses kill -l which should be supported everywhere since it
2770 is in both SUSv2 (1997) and POSIX.1-2008.
2772 Thanks to James Buren for the bug report.
2774 src/scripts/xzgrep.in | 3 ++-
2775 1 file changed, 2 insertions(+), 1 deletion(-)
2777 commit 41cafb2bf9beea915710ee68f05fe929cd17759c
2778 Author: Lasse Collin <lasse.collin@tukaani.org>
2779 Date: 2012-02-22 12:08:43 +0200
2784 1 file changed, 1 insertion(+)
2786 commit 2dcea03712fa881930d69ec9eff70855c3d126d9
2787 Author: Lasse Collin <lasse.collin@tukaani.org>
2788 Date: 2012-02-22 12:00:16 +0200
2790 Fix compiling with IBM XL C on AIX.
2792 INSTALL | 36 ++++++++++++++++++++++--------------
2793 configure.ac | 6 +++++-
2794 2 files changed, 27 insertions(+), 15 deletions(-)
2796 commit 7db6bdf4abcf524115be2cf5659ed540cef074c5
2797 Author: Lasse Collin <lasse.collin@tukaani.org>
2798 Date: 2012-01-10 17:13:03 +0200
2800 Tests: Fix a compiler warning with _FORTIFY_SOURCE.
2803 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385
2805 tests/create_compress_files.c | 3 ++-
2806 1 file changed, 2 insertions(+), 1 deletion(-)
2808 commit 694952d545b6cf056547893ced69486eff9ece55
2809 Author: Lasse Collin <lasse.collin@tukaani.org>
2810 Date: 2011-12-19 21:21:29 +0200
2812 Docs: Explain the stable releases better in README.
2815 1 file changed, 5 insertions(+), 1 deletion(-)
2817 commit 418fe668b3c53a9a20020b6cc652aaf25c734b29
2818 Author: Lasse Collin <lasse.collin@tukaani.org>
2819 Date: 2011-11-07 13:07:52 +0200
2821 xz: Show minimum required XZ Utils version in xz -lvv.
2823 Man page wasn't updated yet.
2825 src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
2826 1 file changed, 57 insertions(+), 6 deletions(-)
2828 commit 7081d82c37326bac97184e338345fa1c327e3580
2829 Author: Lasse Collin <lasse.collin@tukaani.org>
2830 Date: 2011-11-04 17:57:16 +0200
2832 xz: Fix a typo in a comment.
2834 Thanks to Bela Lubkin.
2836 src/xz/args.c | 2 +-
2837 1 file changed, 1 insertion(+), 1 deletion(-)
2839 commit 232fe7cd70ad258d6a37f17e860e0f1b1891eeb5
2840 Author: Lasse Collin <lasse.collin@tukaani.org>
2841 Date: 2011-11-03 17:08:02 +0200
2846 1 file changed, 1 insertion(+)
2848 commit 74d2bae4d3449c68453b0473dd3430ce91fd90c1
2849 Author: Lasse Collin <lasse.collin@tukaani.org>
2850 Date: 2011-11-03 17:07:22 +0200
2852 xz: Fix xz on EBCDIC systems.
2854 Thanks to Chris Donawa.
2856 src/xz/coder.c | 5 ++++-
2857 1 file changed, 4 insertions(+), 1 deletion(-)
2859 commit 4ac4923f47cc0ef97dd9ca5cfcc44fc53eeab34a
2860 Author: Lasse Collin <lasse.collin@tukaani.org>
2861 Date: 2011-10-23 17:09:10 +0300
2866 1 file changed, 1 insertion(+)
2868 commit ab50ae3ef40c81e5bf613905ca3fd636548b75e7
2869 Author: Lasse Collin <lasse.collin@tukaani.org>
2870 Date: 2011-10-23 17:08:14 +0300
2872 liblzma: Fix invalid free() in the threaded encoder.
2874 It was triggered if initialization failed e.g. due to
2875 running out of memory.
2877 Thanks to Arkadiusz Miskiewicz.
2879 src/liblzma/common/outqueue.c | 4 ++++
2880 1 file changed, 4 insertions(+)
2882 commit 6b620a0f0813d28c3c544b4ff8cb595b38a6e908
2883 Author: Lasse Collin <lasse.collin@tukaani.org>
2884 Date: 2011-10-23 17:05:55 +0300
2886 liblzma: Fix a deadlock in the threaded encoder.
2888 It was triggered when reinitializing the encoder,
2889 e.g. when encoding two files.
2891 src/liblzma/common/stream_encoder_mt.c | 4 +++-
2892 1 file changed, 3 insertions(+), 1 deletion(-)
2894 commit bd52cf150ecd51e3ab63a9cc1a3cff6a77500178
2895 Author: Lasse Collin <lasse.collin@tukaani.org>
2896 Date: 2011-09-06 12:03:41 +0300
2898 Build: Fix "make check" on Windows.
2900 tests/Makefile.am | 7 +++++--
2901 windows/build.bash | 2 ++
2902 2 files changed, 7 insertions(+), 2 deletions(-)
2904 commit 5c5b2256969ac473001b7d67615ed3bd0a54cc82
2905 Author: Lasse Collin <lasse.collin@tukaani.org>
2906 Date: 2011-08-09 21:19:13 +0300
2911 1 file changed, 2 insertions(+)
2913 commit 5b1e1f10741af9e4bbe4cfc3261fb7c7b04f7809
2914 Author: Lasse Collin <lasse.collin@tukaani.org>
2915 Date: 2011-08-09 21:16:44 +0300
2917 Workaround unusual SIZE_MAX on SCO OpenServer.
2919 src/common/sysdefs.h | 9 ++++++---
2920 1 file changed, 6 insertions(+), 3 deletions(-)
2922 commit e9ed88126eee86e2511fa42681a5c7104820cf0a
2923 Author: Lasse Collin <lasse.collin@tukaani.org>
2924 Date: 2011-08-06 20:37:28 +0300
2926 Run the scripts with the correct shell in test_scripts.sh.
2928 The scripts are now made executable in the build tree.
2929 This way the scripts can be run like programs in
2930 test_scripts.sh. Previously test_scripts.sh always
2931 used sh but it's not correct if @POSIX_SHELL@ is set
2932 to something else by configure.
2934 Thanks to Jonathan Nieder for the patch.
2936 configure.ac | 8 ++++----
2937 tests/test_scripts.sh | 8 ++++----
2938 2 files changed, 8 insertions(+), 8 deletions(-)
2940 commit 1c673e5681720491a74fc4b2992e075f47302c22
2941 Author: Lasse Collin <lasse.collin@tukaani.org>
2942 Date: 2011-07-31 11:01:47 +0300
2944 Fix exit status of "xzdiff foo.xz bar.xz".
2946 xzdiff was clobbering the exit status from diff in a case
2947 statement used to analyze the exit statuses from "xz" when
2948 its operands were two compressed files. Save and restore
2949 diff's exit status to fix this.
2951 The bug is inherited from zdiff in GNU gzip and was fixed
2952 there on 2009-10-09.
2954 Thanks to Jonathan Nieder for the patch and
2955 to Peter Pallinger for reporting the bug.
2957 src/scripts/xzdiff.in | 2 ++
2958 tests/Makefile.am | 4 +++-
2959 tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
2960 3 files changed, 59 insertions(+), 1 deletion(-)
2962 commit 324cde7a864f4506c32ae7846d688c359a83fe65
2963 Author: Lasse Collin <lasse.collin@tukaani.org>
2964 Date: 2011-06-16 12:15:29 +0300
2966 liblzma: Remove unneeded semicolon.
2968 src/liblzma/lz/lz_encoder_hash.h | 2 +-
2969 1 file changed, 1 insertion(+), 1 deletion(-)
2971 commit 492c86345551a51a29bf18e55fe55a5e86f169ce
2972 Author: Lasse Collin <lasse.collin@tukaani.org>
2973 Date: 2011-05-28 19:24:56 +0300
2975 Build: Make configure print if symbol versioning is enabled or not.
2978 1 file changed, 2 insertions(+)
2980 commit fc4d4436969bd4d71b704d400a165875e596034a
2981 Author: Lasse Collin <lasse.collin@tukaani.org>
2982 Date: 2011-05-28 16:43:26 +0300
2984 Don't call close(-1) in tuklib_open_stdxxx() on error.
2986 Thanks to Jim Meyering.
2988 src/common/tuklib_open_stdxxx.c | 4 +++-
2989 1 file changed, 3 insertions(+), 1 deletion(-)
2991 commit bd35d903a04c4d388adb4065b0fa271302380895
2992 Author: Lasse Collin <lasse.collin@tukaani.org>
2993 Date: 2011-05-28 15:55:39 +0300
2995 liblzma: Use symbol versioning.
2997 Symbol versioning is enabled by default on GNU/Linux,
2998 other GNU-based systems, and FreeBSD.
3000 I'm not sure how stable this is, so it may need
3001 backward-incompatible changes before the next release.
3003 The idea is that alpha and beta symbols are considered
3004 unstable and require recompiling the applications that
3005 use those symbols. Once a symbol is stable, it may get
3006 extended with new features in ways that don't break
3007 compatibility with older ABI & API.
3009 The mydist target runs validate_map.sh which should
3010 catch some probable problems in liblzma.map. Otherwise
3011 I would forget to update the map file for new releases.
3014 configure.ac | 21 +++++++++
3015 src/liblzma/Makefile.am | 6 +++
3016 src/liblzma/liblzma.map | 105 ++++++++++++++++++++++++++++++++++++++++++++
3017 src/liblzma/validate_map.sh | 68 ++++++++++++++++++++++++++++
3018 5 files changed, 201 insertions(+)
3020 commit afbb244362c9426a37ce4eb9d54aab768da3adad
3021 Author: Lasse Collin <lasse.collin@tukaani.org>
3022 Date: 2011-05-28 09:46:46 +0300
3024 Translations: Update the Italian translation.
3026 Thanks to Milo Casagrande.
3028 po/it.po | 365 +++++++++++++++++++++++++++++++++++++--------------------------
3029 1 file changed, 216 insertions(+), 149 deletions(-)
3031 commit 79bef85e0543c0c3723281c3c817616c6cec343b
3032 Author: Lasse Collin <lasse.collin@tukaani.org>
3033 Date: 2011-05-28 08:46:04 +0300
3035 Tests: Add a test file for the bug in the previous commit.
3037 tests/files/README | 4 ++++
3038 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes
3039 2 files changed, 4 insertions(+)
3041 commit c0297445064951807803457dca1611b3c47e7f0f
3042 Author: Lasse Collin <lasse.collin@tukaani.org>
3043 Date: 2011-05-27 22:25:44 +0300
3045 xz: Fix error handling in xz -lvv.
3047 It could do an invalid free() and read past the end
3048 of the uninitialized filters array.
3050 src/xz/list.c | 21 ++++++---------------
3051 1 file changed, 6 insertions(+), 15 deletions(-)
3053 commit 8bd91918ac50731f00b1a2a48072980572eb2ff9
3054 Author: Lasse Collin <lasse.collin@tukaani.org>
3055 Date: 2011-05-27 22:09:49 +0300
3057 liblzma: Handle allocation failures correctly in lzma_index_init().
3059 Thanks to Jim Meyering.
3061 src/liblzma/common/index.c | 7 +++++--
3062 1 file changed, 5 insertions(+), 2 deletions(-)
3064 commit fe00f95828ef5627721b57e054f7eb2d42a2c961
3065 Author: Lasse Collin <lasse.collin@tukaani.org>
3066 Date: 2011-05-24 00:23:46 +0300
3068 Build: Fix checking for system-provided SHA-256.
3071 1 file changed, 1 insertion(+), 1 deletion(-)
3073 commit 21b45b9bab541f419712cbfd473ccc31802e0397
3074 Author: Lasse Collin <lasse.collin@tukaani.org>
3075 Date: 2011-05-23 18:30:30 +0300
3077 Build: Set GZIP_ENV=-9n in top-level Makefile.am.
3080 1 file changed, 3 insertions(+)
3082 commit 48053e8a4550233af46359024538bff90c870ab1
3083 Author: Lasse Collin <lasse.collin@tukaani.org>
3084 Date: 2011-05-22 16:42:11 +0300
3086 Update NEWS for 5.0.3.
3088 NEWS | 32 ++++++++++++++++++++++++++++++++
3089 1 file changed, 32 insertions(+)
3091 commit bba37df2c9e54ad773e15ff00a09d2d6989fb3b2
3092 Author: Lasse Collin <lasse.collin@tukaani.org>
3093 Date: 2011-05-21 16:28:44 +0300
3095 Add French translation.
3097 It is known that the BCJ filter --help text is only
3098 partially translated.
3101 po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3102 2 files changed, 865 insertions(+)
3104 commit 4161d7634965a7a287bf208dcd79f6185f448fe8
3105 Author: Lasse Collin <lasse.collin@tukaani.org>
3106 Date: 2011-05-21 15:12:10 +0300
3108 xz: Translate also the string used to print the program name.
3110 French needs a space before a colon, e.g. "xz : foo error".
3112 src/xz/message.c | 6 +++++-
3113 1 file changed, 5 insertions(+), 1 deletion(-)
3115 commit b94aa0c8380cdb18cddb33440d625474c16643cf
3116 Author: Lasse Collin <lasse.collin@tukaani.org>
3117 Date: 2011-05-21 15:08:44 +0300
3119 liblzma: Try to use SHA-256 from the operating system.
3121 If the operating system libc or other base libraries
3122 provide SHA-256, use that instead of our own copy.
3123 Note that this doesn't use OpenSSL or libgcrypt or
3124 such libraries to avoid creating dependencies to
3127 This supports at least FreeBSD, NetBSD, OpenBSD, Solaris,
3128 MINIX, and Darwin. They all provide similar but not
3129 identical SHA-256 APIs; everyone is a little different.
3131 Thanks to Wim Lewis for the original patch, improvements,
3134 configure.ac | 54 +++++++++++++++++++++++++++
3135 src/liblzma/check/Makefile.inc | 2 +
3136 src/liblzma/check/check.h | 83 ++++++++++++++++++++++++++++++++++++++----
3137 3 files changed, 131 insertions(+), 8 deletions(-)
3139 commit f004128678d43ea10b4a6401aa184cf83252d6ec
3140 Author: Lasse Collin <lasse.collin@tukaani.org>
3141 Date: 2011-05-17 12:52:18 +0300
3143 Don't use clockid_t in mythread.h when clock_gettime() isn't available.
3145 Thanks to Wim Lewis for the patch.
3147 src/common/mythread.h | 2 ++
3148 1 file changed, 2 insertions(+)
3150 commit f779516f42ebd2db47a5b7d6143459bf7737cf2f
3151 Author: Lasse Collin <lasse.collin@tukaani.org>
3152 Date: 2011-05-17 12:26:28 +0300
3157 1 file changed, 3 insertions(+)
3159 commit 830ba587775bb562f6eaf05cad61bf669d1f8892
3160 Author: Lasse Collin <lasse.collin@tukaani.org>
3161 Date: 2011-05-17 12:21:33 +0300
3163 Update INSTALL with a note about linker problem on OpenSolaris x86.
3165 INSTALL | 23 +++++++++++++++++------
3166 1 file changed, 17 insertions(+), 6 deletions(-)
3168 commit ec7106309c8060e9c646dba20c4f15689a0bbb04
3169 Author: Lasse Collin <lasse.collin@tukaani.org>
3170 Date: 2011-05-17 12:01:37 +0300
3172 Build: Fix initialization of enable_check_* variables in configure.ac.
3174 This doesn't matter much in practice since it is unlikely
3175 that anyone would have such environment variable names.
3177 Thanks to Wim Lewis.
3180 1 file changed, 1 insertion(+), 1 deletion(-)
3182 commit 4c6e146df99696920f12410fb17754412797ef36
3183 Author: Lasse Collin <lasse.collin@tukaani.org>
3184 Date: 2011-05-17 11:54:38 +0300
3186 Add underscores to attributes (__attribute((__foo__))).
3188 src/liblzma/common/alone_decoder.c | 2 +-
3189 src/liblzma/common/alone_encoder.c | 2 +-
3190 src/liblzma/common/block_encoder.c | 2 +-
3191 src/liblzma/common/common.c | 2 +-
3192 src/liblzma/common/common.h | 2 +-
3193 src/liblzma/common/index_decoder.c | 9 +++++----
3194 src/liblzma/common/index_encoder.c | 11 ++++++-----
3195 src/liblzma/delta/delta_encoder.c | 2 +-
3196 src/liblzma/lz/lz_decoder.c | 2 +-
3197 src/liblzma/lz/lz_encoder.c | 2 +-
3198 src/liblzma/simple/arm.c | 2 +-
3199 src/liblzma/simple/armthumb.c | 2 +-
3200 src/liblzma/simple/ia64.c | 2 +-
3201 src/liblzma/simple/powerpc.c | 2 +-
3202 src/liblzma/simple/simple_coder.c | 2 +-
3203 src/liblzma/simple/sparc.c | 2 +-
3204 src/lzmainfo/lzmainfo.c | 4 ++--
3205 src/xz/coder.c | 2 +-
3206 src/xz/hardware.h | 2 +-
3207 src/xz/message.c | 2 +-
3208 src/xz/message.h | 18 +++++++++---------
3209 src/xz/options.c | 6 +++---
3210 src/xz/signals.c | 2 +-
3211 src/xz/util.h | 6 +++---
3212 src/xzdec/xzdec.c | 6 +++---
3213 25 files changed, 49 insertions(+), 47 deletions(-)
3215 commit 7a480e485938884ef3021b48c3b0b9f9699dc9b6
3216 Author: Lasse Collin <lasse.collin@tukaani.org>
3217 Date: 2011-05-01 12:24:23 +0300
3219 xz: Fix input file position when --single-stream is used.
3221 Now the following works as you would expect:
3223 echo foo | xz > foo.xz
3224 echo bar | xz >> foo.xz
3225 ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz
3227 Note that it doesn't work if the input is not seekable
3228 or if there is Stream Padding between the concatenated
3231 src/xz/coder.c | 1 +
3232 src/xz/file_io.c | 15 +++++++++++++++
3233 src/xz/file_io.h | 13 +++++++++++++
3234 3 files changed, 29 insertions(+)
3236 commit c29e6630c1450c630c4e7b783bdd76515db9004c
3237 Author: Lasse Collin <lasse.collin@tukaani.org>
3238 Date: 2011-05-01 12:15:51 +0300
3240 xz: Print the maximum number of worker threads in xz -vv.
3242 src/xz/coder.c | 4 ++++
3243 1 file changed, 4 insertions(+)
3245 commit 0b77c4a75158ccc416b07d6e81df8ee0abaea720
3246 Author: Lasse Collin <lasse.collin@tukaani.org>
3247 Date: 2011-04-19 10:44:48 +0300
3249 Build: Warn if no supported method to detect the number of CPU cores.
3251 configure.ac | 11 +++++------
3252 1 file changed, 5 insertions(+), 6 deletions(-)
3254 commit e4622df9ab4982f8faa53d85b17be66216175a58
3255 Author: Lasse Collin <lasse.collin@tukaani.org>
3256 Date: 2011-04-19 09:55:06 +0300
3261 1 file changed, 1 insertion(+)
3263 commit 9c1b05828a88eff54409760b92162c7cc2c7cff6
3264 Author: Lasse Collin <lasse.collin@tukaani.org>
3265 Date: 2011-04-19 09:20:44 +0300
3267 Fix portability problems in mythread.h.
3269 Use gettimeofday() if clock_gettime() isn't available
3272 The test for availability of pthread_condattr_setclock()
3273 and CLOCK_MONOTONIC was incorrect. Instead of fixing the
3274 #ifdefs, use an Autoconf test. That way if there exists a
3275 system that supports them but doesn't specify the matching
3276 POSIX #defines, the features will still get detected.
3278 Don't try to use pthread_sigmask() on OpenVMS. It doesn't
3281 Guard mythread.h against being #included multiple times.
3283 configure.ac | 7 +++++++
3284 src/common/mythread.h | 31 +++++++++++++++++++++++++++----
3285 2 files changed, 34 insertions(+), 4 deletions(-)
3287 commit 3de00cc75da7b0e7b65e84c62b5351e231f501e9
3288 Author: Lasse Collin <lasse.collin@tukaani.org>
3289 Date: 2011-04-18 19:35:49 +0300
3294 1 file changed, 2 insertions(+)
3296 commit bd5002f5821e3d1b04f2f56989e4a19318e73633
3297 Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
3298 Date: 2011-04-15 04:54:49 -0400
3300 xzgrep: fix typo in $0 parsing
3302 Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org>
3303 Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
3304 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
3306 src/scripts/xzgrep.in | 4 ++--
3307 1 file changed, 2 insertions(+), 2 deletions(-)
3309 commit 6ef4eabc0acc49e1bb9dc68064706e19fa9fcf48
3310 Author: Lasse Collin <lasse.collin@tukaani.org>
3311 Date: 2011-04-12 12:48:31 +0300
3313 Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99.
3315 src/liblzma/Makefile.am | 2 +-
3316 src/liblzma/api/lzma/version.h | 2 +-
3317 2 files changed, 2 insertions(+), 2 deletions(-)
3319 commit 9a4377be0d21e597c66bad6c7452873aebfb3c1c
3320 Author: Lasse Collin <lasse.collin@tukaani.org>
3321 Date: 2011-04-12 12:42:37 +0300
3323 Put the unstable APIs behind #ifdef LZMA_UNSTABLE.
3325 This way people hopefully won't complain if these APIs
3326 change and break code that used an older API.
3328 src/liblzma/api/lzma/container.h | 4 ++++
3329 src/liblzma/common/common.h | 2 ++
3330 src/xz/private.h | 2 ++
3331 3 files changed, 8 insertions(+)
3333 commit 3e321a3acd50002cf6fdfd259e910f56d3389bc3
3334 Author: Lasse Collin <lasse.collin@tukaani.org>
3335 Date: 2011-04-12 11:59:49 +0300
3337 Remove doubled words from documentation and comments.
3339 Spot candidates by running these commands:
3340 git ls-files |xargs perl -0777 -n \
3341 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \
3342 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}'
3344 Thanks to Jim Meyering for the original patch.
3346 doc/lzma-file-format.txt | 4 ++--
3347 src/liblzma/common/alone_encoder.c | 2 +-
3348 src/liblzma/lzma/lzma2_encoder.c | 2 +-
3349 src/xz/file_io.c | 2 +-
3351 windows/INSTALL-Windows.txt | 2 +-
3352 6 files changed, 7 insertions(+), 7 deletions(-)
3354 commit d91a84b534b012d19474f2fda1fbcaef873e1ba4
3355 Author: Lasse Collin <lasse.collin@tukaani.org>
3356 Date: 2011-04-12 11:46:01 +0300
3360 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++--
3361 1 file changed, 45 insertions(+), 2 deletions(-)
3363 commit 14e6ad8cfe0165c1a8beeb5b2a1536558b29b0a1
3364 Author: Lasse Collin <lasse.collin@tukaani.org>
3365 Date: 2011-04-12 11:45:40 +0300
3369 TODO | 12 +++++++++++-
3370 1 file changed, 11 insertions(+), 1 deletion(-)
3372 commit 70e750f59793f9b5cd306a5adce9b8e427739e04
3373 Author: Lasse Collin <lasse.collin@tukaani.org>
3374 Date: 2011-04-12 11:08:55 +0300
3376 xz: Update the man page about threading.
3378 src/xz/xz.1 | 34 ++++++++++++++++++++--------------
3379 1 file changed, 20 insertions(+), 14 deletions(-)
3381 commit 24e0406c0fb7494d2037dec033686faf1bf67068
3382 Author: Lasse Collin <lasse.collin@tukaani.org>
3383 Date: 2011-04-11 22:06:03 +0300
3385 xz: Add support for threaded compression.
3387 src/xz/args.c | 3 +-
3388 src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++----------------------
3389 2 files changed, 125 insertions(+), 80 deletions(-)
3391 commit de678e0c924aa79a19293a8a6ed82e8cb6572a42
3392 Author: Lasse Collin <lasse.collin@tukaani.org>
3393 Date: 2011-04-11 22:03:30 +0300
3395 liblzma: Add lzma_stream_encoder_mt() for threaded compression.
3397 This is the simplest method to do threading, which splits
3398 the uncompressed data into blocks and compresses them
3399 independently from each other. There's room for improvement
3400 especially to reduce the memory usage, but nevertheless,
3401 this is a good start.
3404 src/liblzma/api/lzma/container.h | 163 +++++
3405 src/liblzma/common/Makefile.inc | 7 +
3406 src/liblzma/common/common.c | 9 +-
3407 src/liblzma/common/common.h | 14 +
3408 src/liblzma/common/outqueue.c | 180 ++++++
3409 src/liblzma/common/outqueue.h | 155 +++++
3410 src/liblzma/common/stream_encoder_mt.c | 1011 ++++++++++++++++++++++++++++++++
3411 8 files changed, 1539 insertions(+), 1 deletion(-)
3413 commit 25fe729532cdf4b8fed56a4519b73cf31efaec50
3414 Author: Lasse Collin <lasse.collin@tukaani.org>
3415 Date: 2011-04-11 21:15:07 +0300
3417 liblzma: Add the forgotten lzma_lzma2_block_size().
3419 This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a.
3421 src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++
3422 src/liblzma/lzma/lzma2_encoder.h | 2 ++
3423 2 files changed, 12 insertions(+)
3425 commit 91afb785a1dee34862078d9bf844ef12b8cc3e35
3426 Author: Lasse Collin <lasse.collin@tukaani.org>
3427 Date: 2011-04-11 21:04:13 +0300
3429 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
3431 src/liblzma/api/lzma/container.h | 9 +++++++++
3432 1 file changed, 9 insertions(+)
3434 commit 4a9905302a9e4a1601ae09d650d3f08ce98ae9ee
3435 Author: Lasse Collin <lasse.collin@tukaani.org>
3436 Date: 2011-04-11 20:59:07 +0300
3438 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
3440 It didn't mention the return value that is used if
3443 src/liblzma/api/lzma/filter.h | 8 ++++++--
3444 1 file changed, 6 insertions(+), 2 deletions(-)
3446 commit 0badb0b1bd649163322783b0bd9e590b4bc7a93d
3447 Author: Lasse Collin <lasse.collin@tukaani.org>
3448 Date: 2011-04-11 19:28:18 +0300
3450 liblzma: Use memzero() to initialize supported_actions[].
3452 This is cleaner and makes it simpler to add new members
3453 to lzma_action enumeration.
3455 src/liblzma/common/common.c | 6 ++----
3456 1 file changed, 2 insertions(+), 4 deletions(-)
3458 commit a7934c446a58e20268689899d2a39f50e571f251
3459 Author: Lasse Collin <lasse.collin@tukaani.org>
3460 Date: 2011-04-11 19:26:27 +0300
3462 liblzma: API comment about lzma_allocator with threaded coding.
3464 src/liblzma/api/lzma/base.h | 18 +++++++++++++-----
3465 1 file changed, 13 insertions(+), 5 deletions(-)
3467 commit 5eefc0086d24a65e136352f8c1d19cefb0cbac7a
3468 Author: Lasse Collin <lasse.collin@tukaani.org>
3469 Date: 2011-04-11 19:16:30 +0300
3471 liblzma: Add an internal function lzma_mt_block_size().
3473 This is based lzma_chunk_size() that was included in some
3474 development version of liblzma.
3476 src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++-------------------
3477 src/liblzma/common/filter_encoder.h | 4 ++--
3478 2 files changed, 24 insertions(+), 26 deletions(-)
3480 commit d1199274758049fc523d98c5b860ff814a799eec
3481 Author: Lasse Collin <lasse.collin@tukaani.org>
3482 Date: 2011-04-11 13:59:50 +0300
3484 liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
3486 Empty Block was created if the input buffer was empty.
3487 Empty Block wastes a few bytes of space, but more importantly
3488 it triggers a bug in XZ Utils 5.0.1 and older when trying
3489 to decompress such a file. 5.0.1 and older consider such
3490 files to be corrupt. I thought that no encoder creates empty
3491 Blocks when releasing 5.0.2 but I was wrong.
3493 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++-------
3494 1 file changed, 13 insertions(+), 7 deletions(-)
3496 commit 3b22fc2c87ec85fcdd385c163b68fc49c97aa848
3497 Author: Lasse Collin <lasse.collin@tukaani.org>
3498 Date: 2011-04-11 13:28:40 +0300
3500 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
3502 This return value was missing from the API comments of
3505 src/liblzma/api/lzma/block.h | 1 +
3506 src/liblzma/api/lzma/container.h | 3 +++
3507 2 files changed, 4 insertions(+)
3509 commit 71b9380145dccf001f22e66a06b9d508905c25ce
3510 Author: Lasse Collin <lasse.collin@tukaani.org>
3511 Date: 2011-04-11 13:21:28 +0300
3513 liblzma: Validate encoder arguments better.
3515 The biggest problem was that the integrity check type
3516 wasn't validated, and e.g. lzma_easy_buffer_encode()
3517 would create a corrupt .xz Stream if given an unsupported
3518 Check ID. Luckily applications don't usually try to use
3519 an unsupport Check ID, so this bug is unlikely to cause
3520 many real-world problems.
3522 src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------
3523 src/liblzma/common/block_encoder.c | 5 +++++
3524 src/liblzma/common/stream_buffer_encoder.c | 3 +++
3525 3 files changed, 20 insertions(+), 6 deletions(-)
3527 commit ec7e3dbad704268825fc48f0bdd4577bc46b4f13
3528 Author: Lasse Collin <lasse.collin@tukaani.org>
3529 Date: 2011-04-11 09:57:30 +0300
3531 xz: Move the description of --block-size in --long-help.
3533 src/xz/message.c | 8 ++++----
3534 1 file changed, 4 insertions(+), 4 deletions(-)
3536 commit cd3086ff443bb282bdf556919c28b3e3cbed8169
3537 Author: Lasse Collin <lasse.collin@tukaani.org>
3538 Date: 2011-04-11 09:55:35 +0300
3540 Docs: Document --single-stream and --block-size.
3542 src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++--
3543 1 file changed, 36 insertions(+), 2 deletions(-)
3545 commit fb64a4924334e3c440865710990fe08090f2fed0
3546 Author: Lasse Collin <lasse.collin@tukaani.org>
3547 Date: 2011-04-11 09:27:57 +0300
3549 liblzma: Make lzma_stream_encoder_init() static (second try).
3551 It's an internal function and it's not needed by
3552 anything outside stream_encoder.c.
3554 src/liblzma/common/Makefile.inc | 1 -
3555 src/liblzma/common/easy_encoder.c | 1 -
3556 src/liblzma/common/stream_encoder.c | 13 ++++++-------
3557 src/liblzma/common/stream_encoder.h | 23 -----------------------
3558 4 files changed, 6 insertions(+), 32 deletions(-)
3560 commit a34730cf6af4d33a4057914e57227b6dfde6567e
3561 Author: Lasse Collin <lasse.collin@tukaani.org>
3562 Date: 2011-04-11 08:31:42 +0300
3564 Revert "liblzma: Make lzma_stream_encoder_init() static."
3566 This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7.
3567 I don't know what I was thinking.
3569 src/liblzma/common/Makefile.inc | 1 +
3570 src/liblzma/common/stream_encoder.c | 9 +++++----
3571 src/liblzma/common/stream_encoder.h | 23 +++++++++++++++++++++++
3572 3 files changed, 29 insertions(+), 4 deletions(-)
3574 commit 9f0a806aef7ea79718e3f1f2baf3564295229a27
3575 Author: Lasse Collin <lasse.collin@tukaani.org>
3576 Date: 2011-04-10 21:23:21 +0300
3582 - mythread_sync() macro to create synchronized blocks
3584 - mythread_cond structure and related functions
3585 and macros for condition variables with timed
3586 waiting using a relative timeout
3588 - mythread_create() to create a thread with all
3591 Some of these wouldn't need to be inline functions,
3592 but I'll keep them this way for now for simplicity.
3594 For timed waiting on a condition variable, librt is
3595 now required on some systems to use clock_gettime().
3596 configure.ac was updated to handle this.
3599 src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++-----
3600 2 files changed, 181 insertions(+), 20 deletions(-)
3602 commit 352ac82db5d3f64585c07b39e4759388dec0e4d7
3603 Author: Lasse Collin <lasse.collin@tukaani.org>
3604 Date: 2011-04-10 20:37:36 +0300
3606 liblzma: Make lzma_stream_encoder_init() static.
3608 It's an internal function and it's not needed by
3609 anything outside stream_encoder.c.
3611 src/liblzma/common/Makefile.inc | 1 -
3612 src/liblzma/common/stream_encoder.c | 9 ++++-----
3613 src/liblzma/common/stream_encoder.h | 23 -----------------------
3614 3 files changed, 4 insertions(+), 29 deletions(-)
3616 commit 9e807fe3fe79618ac48f58207cf7082ea20a6928
3617 Author: Lasse Collin <lasse.collin@tukaani.org>
3618 Date: 2011-04-10 14:58:10 +0300
3620 DOS: Update the docs and include notes about 8.3 filenames.
3622 dos/INSTALL.txt | 79 ++++++++++++++++++++++++++++++++++++
3623 dos/README | 88 ----------------------------------------
3624 dos/README.txt | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3625 3 files changed, 202 insertions(+), 88 deletions(-)
3627 commit ebd54dbd6e481d31e80757f900ac8109ad1423c6
3628 Author: Lasse Collin <lasse.collin@tukaani.org>
3629 Date: 2011-04-10 13:09:42 +0300
3631 xz/DOS: Add experimental 8.3 filename support.
3633 This is incompatible with the 8.3 support patch made by
3634 Juan Manuel Guerrero. I think this one is nicer, but
3635 I need to get feedback from DOS users before saying
3636 that this is the final version of 8.3 filename support.
3638 src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
3639 1 file changed, 167 insertions(+), 9 deletions(-)
3641 commit cd4fe97852bcaeffe674ee51b4613709292a0972
3642 Author: Lasse Collin <lasse.collin@tukaani.org>
3643 Date: 2011-04-10 12:47:47 +0300
3645 xz/DOS: Be more careful with the destination file.
3647 Try to avoid overwriting the source file if --force is
3648 used and the generated destination filename refers to
3649 the source file. This can happen with 8.3 filenames where
3650 extra characters are ignored.
3652 If the generated output file refers to a special file
3653 like "con" or "prn", refuse to write to it even if --force
3656 src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++--
3657 1 file changed, 33 insertions(+), 2 deletions(-)
3659 commit 607f9f98ae5ef6d49f4c21c806d462bf6b3d6796
3660 Author: Lasse Collin <lasse.collin@tukaani.org>
3661 Date: 2011-04-09 18:29:30 +0300
3666 1 file changed, 1 insertion(+)
3668 commit fca396b37410d272b754843a5dc13847be443a3a
3669 Author: Lasse Collin <lasse.collin@tukaani.org>
3670 Date: 2011-04-09 18:28:58 +0300
3672 liblzma: Add missing #ifdefs to filter_common.c.
3674 Passing --disable-decoders to configure broke a few
3675 encoders due to missing #ifdefs in filter_common.c.
3677 Thanks to Jason Gorski for the patch.
3679 src/liblzma/common/filter_common.c | 6 +++---
3680 1 file changed, 3 insertions(+), 3 deletions(-)
3682 commit b03f6cd3ebadd675f2cc9d518cb26fa860269447
3683 Author: Lasse Collin <lasse.collin@tukaani.org>
3684 Date: 2011-04-09 15:24:59 +0300
3686 xz: Avoid unneeded fstat() on DOS-like systems.
3688 src/xz/file_io.c | 14 ++++++++------
3689 1 file changed, 8 insertions(+), 6 deletions(-)
3691 commit 335fe260a81f61ec99ff5940df733b4c50aedb7c
3692 Author: Lasse Collin <lasse.collin@tukaani.org>
3693 Date: 2011-04-09 15:11:13 +0300
3695 xz: Minor internal changes to handling of --threads.
3697 Now it always defaults to one thread. Maybe this
3698 will change again if a threading method is added
3699 that doesn't affect memory usage.
3701 src/xz/args.c | 4 ++--
3702 src/xz/hardware.c | 24 ++++++++++++------------
3703 src/xz/hardware.h | 9 ++++-----
3704 3 files changed, 18 insertions(+), 19 deletions(-)
3706 commit 9edd6ee895fbe71d245a173f48e511f154a99875
3707 Author: Lasse Collin <lasse.collin@tukaani.org>
3708 Date: 2011-04-08 17:53:05 +0300
3710 xz: Change size_t to uint32_t in a few places.
3712 src/xz/coder.c | 6 +++---
3713 src/xz/coder.h | 2 +-
3714 2 files changed, 4 insertions(+), 4 deletions(-)
3716 commit 411013ea4506a6df24d35a060fcbd73a57b73eb3
3717 Author: Lasse Collin <lasse.collin@tukaani.org>
3718 Date: 2011-04-08 17:48:41 +0300
3720 xz: Fix a typo in a comment.
3722 src/xz/coder.c | 2 +-
3723 1 file changed, 1 insertion(+), 1 deletion(-)
3725 commit b34c5ce4b22e8d7b81f9895d15054af41d17f805
3726 Author: Lasse Collin <lasse.collin@tukaani.org>
3727 Date: 2011-04-05 22:41:33 +0300
3729 liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c.
3731 src/liblzma/check/sha256.c | 6 +++---
3732 1 file changed, 3 insertions(+), 3 deletions(-)
3734 commit db33117cc85c17e0b897b5312bd5eb43aac41c03
3735 Author: Lasse Collin <lasse.collin@tukaani.org>
3736 Date: 2011-04-05 17:12:20 +0300
3738 Build: Upgrade m4/acx_pthread.m4 to the latest version.
3740 It was renamed to ax_pthread.m4 in Autoconf Archive.
3743 m4/acx_pthread.m4 | 279 -----------------------------------------------------
3744 m4/ax_pthread.m4 | 283 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
3745 3 files changed, 284 insertions(+), 280 deletions(-)
3747 commit 1039bfcfc098b69d56ecb39d198a092552eacf6d
3748 Author: Lasse Collin <lasse.collin@tukaani.org>
3749 Date: 2011-04-05 15:27:26 +0300
3751 xz: Use posix_fadvise() if it is available.
3753 configure.ac | 3 +++
3754 src/xz/file_io.c | 15 +++++++++++++++
3755 2 files changed, 18 insertions(+)
3757 commit 1ef3cf44a8eb9512480af4482a5232ea08363b14
3758 Author: Lasse Collin <lasse.collin@tukaani.org>
3759 Date: 2011-04-05 15:13:29 +0300
3761 xz: Call lzma_end(&strm) before exiting if debugging is enabled.
3763 src/xz/coder.c | 10 ++++++++++
3764 src/xz/coder.h | 5 +++++
3765 src/xz/main.c | 4 ++++
3766 3 files changed, 19 insertions(+)
3768 commit bd432015d33dcade611d297bc01eb0700088ef6c
3769 Author: Lasse Collin <lasse.collin@tukaani.org>
3770 Date: 2011-04-02 14:49:56 +0300
3772 liblzma: Fix a memory leak in stream_encoder.c.
3774 It leaks old filter options structures (hundred bytes or so)
3775 every time the lzma_stream is reinitialized. With the xz tool,
3776 this happens when compressing multiple files.
3778 src/liblzma/common/stream_encoder.c | 2 +-
3779 1 file changed, 1 insertion(+), 1 deletion(-)
3781 commit 16889013214e7620d204b6e6c1bf9f3103a13655
3782 Author: Lasse Collin <lasse.collin@tukaani.org>
3783 Date: 2011-04-01 08:47:20 +0300
3785 Updated NEWS for 5.0.2.
3787 NEWS | 18 ++++++++++++++++++
3788 1 file changed, 18 insertions(+)
3790 commit 85cdf7dd4e97b078e7b929e47f55a7f1da36010f
3791 Author: Lasse Collin <lasse.collin@tukaani.org>
3792 Date: 2011-03-31 15:06:58 +0300
3794 Update INSTALL with another note about IRIX.
3797 1 file changed, 4 insertions(+)
3799 commit c3f4995586873d6a4fb7e451010a128571a9a370
3800 Author: Lasse Collin <lasse.collin@tukaani.org>
3801 Date: 2011-03-31 12:22:55 +0300
3803 Tests: Add a new file to test empty LZMA2 streams.
3805 tests/files/README | 4 ++++
3806 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes
3807 2 files changed, 4 insertions(+)
3809 commit 0d21f49a809dc2088da6cc0da7f948404df7ecfa
3810 Author: Lasse Collin <lasse.collin@tukaani.org>
3811 Date: 2011-03-31 11:54:48 +0300
3813 liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
3815 The decoder considered empty LZMA2 streams to be corrupt.
3816 This shouldn't matter much with .xz files, because no encoder
3817 creates empty LZMA2 streams in .xz. This bug is more likely
3818 to cause problems in applications that use raw LZMA2 streams.
3820 src/liblzma/lzma/lzma2_decoder.c | 8 ++++----
3821 1 file changed, 4 insertions(+), 4 deletions(-)
3823 commit 40277998cb9bad564ce4827aff152e6e1c904dfa
3824 Author: Lasse Collin <lasse.collin@tukaani.org>
3825 Date: 2011-03-24 01:42:49 +0200
3827 Scripts: Better fix for xzgrep.
3829 Now it uses "grep -q".
3831 Thanks to Gregory Margo.
3833 src/scripts/xzgrep.in | 8 ++++++--
3834 1 file changed, 6 insertions(+), 2 deletions(-)
3836 commit 2118733045ad0ca183a3f181a0399baf876983a6
3837 Author: Lasse Collin <lasse.collin@tukaani.org>
3838 Date: 2011-03-24 01:22:18 +0200
3843 1 file changed, 1 insertion(+)
3845 commit c7210d9a3fca6f31a57208bfddfc9ab20a2e097a
3846 Author: Lasse Collin <lasse.collin@tukaani.org>
3847 Date: 2011-03-24 01:21:32 +0200
3849 Scripts: Fix xzgrep -l.
3851 It didn't work at all. It tried to use the -q option
3852 for grep, but it appended it after "--". This works
3853 around it by redirecting to /dev/null. The downside
3854 is that this can be slower with big files compared
3855 to proper use of "grep -q".
3857 Thanks to Gregory Margo.
3859 src/scripts/xzgrep.in | 4 ++--
3860 1 file changed, 2 insertions(+), 2 deletions(-)
3862 commit 4eb83e32046a6d670862bc91c3d82530963b455e
3863 Author: Lasse Collin <lasse.collin@tukaani.org>
3864 Date: 2011-03-19 13:08:22 +0200
3866 Scripts: Add lzop (.lzo) support to xzdiff and xzgrep.
3868 src/scripts/xzdiff.1 | 6 ++++--
3869 src/scripts/xzdiff.in | 22 ++++++++++++++--------
3870 src/scripts/xzgrep.1 | 11 +++++++----
3871 src/scripts/xzgrep.in | 5 +++--
3872 4 files changed, 28 insertions(+), 16 deletions(-)
3874 commit 923b22483bd9356f3219b2b784d96f455f4dc499
3875 Author: Lasse Collin <lasse.collin@tukaani.org>
3876 Date: 2011-03-18 19:10:30 +0200
3878 xz: Add --block-size=SIZE.
3880 This uses LZMA_FULL_FLUSH every SIZE bytes of input.
3882 Man page wasn't updated yet.
3884 src/xz/args.c | 7 +++++++
3885 src/xz/coder.c | 50 ++++++++++++++++++++++++++++++++++++++++----------
3886 src/xz/coder.h | 3 +++
3887 src/xz/message.c | 4 ++++
3888 4 files changed, 54 insertions(+), 10 deletions(-)
3890 commit 57597d42ca1740ad506437be168d800a50f1a0ad
3891 Author: Lasse Collin <lasse.collin@tukaani.org>
3892 Date: 2011-03-18 18:19:19 +0200
3894 xz: Add --single-stream.
3896 This can be useful when there is garbage after the
3897 compressed stream (.xz, .lzma, or raw stream).
3899 Man page wasn't updated yet.
3901 src/xz/args.c | 6 ++++++
3902 src/xz/coder.c | 11 +++++++++--
3903 src/xz/coder.h | 3 +++
3904 src/xz/message.c | 6 +++++-
3905 4 files changed, 23 insertions(+), 3 deletions(-)
3907 commit 96f94bc925d579a700147fa5d7793b64d69cfc18
3908 Author: Lasse Collin <lasse.collin@tukaani.org>
3909 Date: 2011-02-04 22:49:31 +0200
3911 xz: Clean up suffix.c.
3913 struct suffix_pair isn't needed in compresed_name()
3914 so get rid of it there.
3916 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------
3917 1 file changed, 20 insertions(+), 24 deletions(-)
3919 commit 8930c7ae3f82bdae15aa129f01de08be23d7e8d7
3920 Author: Lasse Collin <lasse.collin@tukaani.org>
3921 Date: 2011-02-04 11:29:47 +0200
3923 xz: Check if the file already has custom suffix when compressing.
3925 Now "xz -S .test foo.test" refuses to compress the
3926 file because it already has the suffix .test. The man
3927 page had it documented this way already.
3929 src/xz/suffix.c | 9 +++++++++
3930 1 file changed, 9 insertions(+)
3932 commit 940d5852c6cf08abccc6befd9d1b5411c9076a58
3933 Author: Lasse Collin <lasse.collin@tukaani.org>
3934 Date: 2011-02-02 23:01:51 +0200
3939 1 file changed, 1 insertion(+)
3941 commit 4ebe65f839613f27f127bab7b8c347d982330ee3
3942 Author: Lasse Collin <lasse.collin@tukaani.org>
3943 Date: 2011-02-02 23:00:33 +0200
3945 Translations: Add Polish translation.
3947 Thanks to Jakub Bogusz.
3950 po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3951 2 files changed, 826 insertions(+)
3953 commit fc1d292dca1925dfd17174f443f91a696ecd5bf8
3954 Author: Lasse Collin <lasse.collin@tukaani.org>
3955 Date: 2011-02-02 22:24:00 +0200
3960 1 file changed, 1 insertion(+)
3962 commit 6dd061adfd2775428b079eb03d6fd47d7c0f1ffe
3963 Merge: 9d542ce 5fbce0b
3964 Author: Lasse Collin <lasse.collin@tukaani.org>
3965 Date: 2011-02-06 20:13:01 +0200
3967 Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d'
3969 commit 5fbce0b8d96dc96775aa0215e3581addc830e23d
3970 Author: Lasse Collin <lasse.collin@tukaani.org>
3971 Date: 2011-01-28 20:16:57 +0200
3973 Update NEWS for 5.0.1.
3975 NEWS | 14 ++++++++++++++
3976 1 file changed, 14 insertions(+)
3978 commit 03ebd1bbb314f9f204940219a835c883bf442475
3979 Author: Lasse Collin <lasse.collin@tukaani.org>
3980 Date: 2011-01-26 12:19:08 +0200
3982 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
3984 xz didn't compress setuid/setgid/sticky files and files
3985 with multiple hard links even with --force. This bug was
3986 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4.
3988 Thanks to Charles Wilson.
3990 src/xz/file_io.c | 15 +++++++--------
3991 1 file changed, 7 insertions(+), 8 deletions(-)
3993 commit 9d542ceebcbe40b174169c132ccfcdc720ca7089
3994 Merge: 4f2c69a 7bd0a5e
3995 Author: Lasse Collin <lasse.collin@tukaani.org>
3996 Date: 2011-01-19 11:45:35 +0200
4000 commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136
4001 Author: Lasse Collin <lasse.collin@tukaani.org>
4002 Date: 2011-01-18 21:25:24 +0200
4007 1 file changed, 1 insertion(+)
4009 commit f71c4e16e913f660977526f0ef8d2acdf458d7c9
4010 Author: Lasse Collin <lasse.collin@tukaani.org>
4011 Date: 2011-01-18 21:23:50 +0200
4013 Add alloc_size and malloc attributes to a few functions.
4015 Thanks to Cristian Rodríguez for the original patch.
4017 src/common/sysdefs.h | 6 ++++++
4018 src/liblzma/common/common.h | 2 +-
4019 src/xz/util.h | 5 +++--
4020 3 files changed, 10 insertions(+), 3 deletions(-)
4022 commit 316cbe24465143edde8f6ffb7532834b7b2ea93f
4023 Author: Lasse Collin <lasse.collin@tukaani.org>
4024 Date: 2010-12-13 16:36:33 +0200
4026 Scripts: Fix gzip and bzip2 support in xzdiff.
4028 src/scripts/xzdiff.in | 12 ++++++------
4029 1 file changed, 6 insertions(+), 6 deletions(-)
4031 commit 4f2c69a4e3e0aee2e37b0b1671d34086e20c8ac6
4032 Merge: adb89e6 9311774
4033 Author: Lasse Collin <lasse.collin@tukaani.org>
4034 Date: 2010-12-12 23:13:22 +0200
4038 commit 9311774c493c19deab51ded919dcd2e9c4aa2829
4039 Author: Lasse Collin <lasse.collin@tukaani.org>
4040 Date: 2010-12-12 21:23:55 +0200
4042 Build: Enable ASM on DJGPP by default.
4045 1 file changed, 1 insertion(+), 1 deletion(-)
4047 commit 4a42aaee282fc73b482581684d65110506d5efdd
4048 Author: Lasse Collin <lasse.collin@tukaani.org>
4049 Date: 2010-12-12 16:09:42 +0200
4054 1 file changed, 1 insertion(+)
4056 commit ce56f63c41ee210e6308090eb6d49221fdf67d6c
4057 Author: Lasse Collin <lasse.collin@tukaani.org>
4058 Date: 2010-12-12 16:07:11 +0200
4060 Add missing PRIx32 and PRIx64 compatibility definitions.
4062 This fixes portability to systems that lack C99 inttypes.h.
4064 Thanks to Juan Manuel Guerrero.
4066 src/common/sysdefs.h | 9 +++++++++
4067 1 file changed, 9 insertions(+)
4069 commit e6baedddcf54e7da049ebc49183565b99facd4c7
4070 Author: Lasse Collin <lasse.collin@tukaani.org>
4071 Date: 2010-12-12 14:50:04 +0200
4073 DOS-like: Treat \ and : as directory separators in addition to /.
4075 Juan Manuel Guerrero had fixed this in his XZ Utils port
4076 to DOS/DJGPP. The bug affects also Windows and OS/2.
4078 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++----
4079 1 file changed, 29 insertions(+), 4 deletions(-)
4081 commit adb89e68d43a4cadb0c215b45ef7a75737c9c3ec
4082 Merge: 7c24e0d b7afd3e
4083 Author: Lasse Collin <lasse.collin@tukaani.org>
4084 Date: 2010-12-07 18:53:04 +0200
4088 commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f
4089 Author: Lasse Collin <lasse.collin@tukaani.org>
4090 Date: 2010-12-07 18:52:04 +0200
4092 Translations: Fix Czech translation of "sparse file".
4094 Thanks to Petr Hubený and Marek Černocký.
4096 po/cs.po | 88 ++++++++++++++++++++++++++++++++--------------------------------
4097 1 file changed, 44 insertions(+), 44 deletions(-)
4099 commit 7c24e0d1b8a2e86e9263b0d56d39621e01aed7af
4100 Merge: b4d42f1 3e56470
4101 Author: Lasse Collin <lasse.collin@tukaani.org>
4102 Date: 2010-11-15 14:33:01 +0200
4106 commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e
4107 Author: Lasse Collin <lasse.collin@tukaani.org>
4108 Date: 2010-11-15 14:28:26 +0200
4110 liblzma: Document the return value of lzma_lzma_preset().
4112 src/liblzma/api/lzma/lzma.h | 3 +++
4113 1 file changed, 3 insertions(+)
4115 commit 2964d8d691ed92abdcf214888d79ad6d79774735
4116 Author: Jonathan Nieder <jrnieder@gmail.com>
4117 Date: 2010-11-12 15:22:13 -0600
4119 Simplify paths in generated API docs
4121 Currently the file list generated by Doxygen has src/ at the
4122 beginning of each path. Paths like common/sysdefs.h and
4123 liblzma/api/lzma.h are easier to read without such a prefix.
4125 Builds from a separate build directory with
4132 include an even longer prefix /home/someone/src/xz/src; this
4133 patch has the nice side-effect of eliminating that prefix, too.
4135 Fixes: http://bugs.debian.org/572273
4138 1 file changed, 1 insertion(+), 1 deletion(-)
4140 commit b4d42f1a7120e2cefeb2f14425efe2ca6db85416
4141 Author: Anders F Bjorklund <afb@users.sourceforge.net>
4142 Date: 2010-11-05 12:56:11 +0100
4144 add build script for macosx universal
4146 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4147 1 file changed, 92 insertions(+)
4149 commit 15ee6935abe4a2fc76639ee342ca2e69af3e0ad6
4150 Author: Lasse Collin <lasse.collin@tukaani.org>
4151 Date: 2010-11-04 18:31:40 +0200
4153 Update the copies of GPLv2 and LGPLv2.1 from gnu.org.
4155 There are only a few white space changes.
4157 COPYING.GPLv2 | 14 +++++++-------
4158 COPYING.LGPLv2.1 | 16 +++++++---------
4159 2 files changed, 14 insertions(+), 16 deletions(-)
4161 commit 8e355f7fdbeee6fe394eb02a28f267ce99a882a2
4162 Merge: 974ebe6 37c2565
4163 Author: Lasse Collin <lasse.collin@tukaani.org>
4164 Date: 2010-10-26 15:53:06 +0300
4168 commit 37c25658efd25b034266daf87cd381d20d1df776
4169 Author: Lasse Collin <lasse.collin@tukaani.org>
4170 Date: 2010-10-26 15:48:48 +0300
4172 Build: Copy the example programs to $docdir/examples.
4174 The example programs by Daniel Mealha Cabrita were included
4175 in the git repository, but I had forgot to add them to
4176 Makefile.am. Thus, they didn't get included in the source
4177 package at all by "make dist".
4179 Makefile.am | 5 +++++
4180 windows/build.bash | 3 ++-
4181 2 files changed, 7 insertions(+), 1 deletion(-)
4183 commit 974ebe63497bdf0d262e06474f0dd5a70b1dd000
4184 Author: Lasse Collin <lasse.collin@tukaani.org>
4185 Date: 2010-10-26 10:36:41 +0300
4187 liblzma: Rename a few variables and constants.
4189 This has no semantic changes. I find the new names slightly
4190 more logical and they match the names that are already used
4193 The name fastpos wasn't changed (not worth the hassle).
4195 src/liblzma/lzma/fastpos.h | 55 +++++------
4196 src/liblzma/lzma/lzma2_encoder.c | 2 +-
4197 src/liblzma/lzma/lzma_common.h | 45 ++++-----
4198 src/liblzma/lzma/lzma_decoder.c | 58 +++++------
4199 src/liblzma/lzma/lzma_encoder.c | 56 +++++------
4200 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 9 +-
4201 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 128 ++++++++++++-------------
4202 src/liblzma/lzma/lzma_encoder_private.h | 16 ++--
4203 8 files changed, 183 insertions(+), 186 deletions(-)
4205 commit 7c427ec38d016c0070a42315d752857e33792fc4
4206 Author: Lasse Collin <lasse.collin@tukaani.org>
4207 Date: 2010-10-25 12:59:25 +0300
4209 Bump version 5.1.0alpha.
4211 src/liblzma/api/lzma/version.h | 4 ++--
4212 1 file changed, 2 insertions(+), 2 deletions(-)
4214 commit e45929260cd902036efd40c5610a8d0a50d5712b
4215 Author: Lasse Collin <lasse.collin@tukaani.org>
4216 Date: 2010-10-23 17:25:52 +0300
4218 Build: Fix mydist rule when .git doesn't exist.
4221 1 file changed, 1 insertion(+)
4223 commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168
4224 Author: Lasse Collin <lasse.collin@tukaani.org>
4225 Date: 2010-10-23 14:15:35 +0300
4229 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4230 1 file changed, 62 insertions(+)
4232 commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c
4233 Author: Lasse Collin <lasse.collin@tukaani.org>
4234 Date: 2010-10-23 14:02:53 +0300
4236 Bump version to 5.0.0 and liblzma version-info to 5:0:0.
4238 src/liblzma/Makefile.am | 2 +-
4239 src/liblzma/api/lzma/version.h | 8 ++++----
4240 2 files changed, 5 insertions(+), 5 deletions(-)
4242 commit 8c947e9291691629714dafb4536c718b6cc24fbd
4243 Author: Lasse Collin <lasse.collin@tukaani.org>
4244 Date: 2010-10-23 12:30:54 +0300
4246 liblzma: Make lzma_code() check the reserved members in lzma_stream.
4248 If any of the reserved members in lzma_stream are non-zero
4249 or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible
4250 that a new feature in the future is indicated by just setting
4251 a reserved member to some other value, so the old liblzma
4252 version need to catch it as an unsupported feature.
4254 src/liblzma/common/common.c | 14 ++++++++++++++
4255 1 file changed, 14 insertions(+)
4257 commit e61d85e082743ebd2dd0ff28fc0a82482ede0538
4258 Author: Lasse Collin <lasse.collin@tukaani.org>
4259 Date: 2010-10-23 12:26:33 +0300
4261 Windows: Use MinGW's stdio functions.
4263 The non-standard ones from msvcrt.dll appear to work
4264 most of the time with XZ Utils, but there are some
4265 corner cases where things may go very wrong. So it's
4266 good to use the better replacements provided by
4267 MinGW(-w64) runtime.
4269 src/common/sysdefs.h | 5 +++++
4270 1 file changed, 5 insertions(+)
4272 commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc
4273 Author: Lasse Collin <lasse.collin@tukaani.org>
4274 Date: 2010-10-23 12:21:32 +0300
4276 liblzma: Use 512 as INDEX_GROUP_SIZE.
4278 This lets compiler use shifting instead of 64-bit division.
4280 src/liblzma/common/index.c | 2 +-
4281 1 file changed, 1 insertion(+), 1 deletion(-)
4283 commit 613939fc82603b75b59eee840871a05bc8dd08e0
4284 Author: Lasse Collin <lasse.collin@tukaani.org>
4285 Date: 2010-10-23 12:20:11 +0300
4287 liblzma: A few ABI tweaks to reserve space in structures.
4289 src/liblzma/api/lzma/base.h | 7 ++++++-
4290 src/liblzma/api/lzma/lzma.h | 4 ++--
4291 src/liblzma/api/lzma/stream_flags.h | 4 ----
4292 3 files changed, 8 insertions(+), 7 deletions(-)
4294 commit 68b83f252df3d27480a9f6f03445d16f6506fef1
4295 Author: Lasse Collin <lasse.collin@tukaani.org>
4296 Date: 2010-10-21 23:16:11 +0300
4298 xz: Make sure that message_strm() can never return NULL.
4300 src/xz/message.c | 7 +++++--
4301 1 file changed, 5 insertions(+), 2 deletions(-)
4303 commit d09c5753e33ff96ee57edb6d1e98e34041203695
4304 Author: Lasse Collin <lasse.collin@tukaani.org>
4305 Date: 2010-10-21 23:06:31 +0300
4307 liblzma: Update the comments in the API headers.
4309 Adding support for LZMA_FINISH for Index encoding and
4310 decoding needed tiny additions to the relevant .c files too.
4312 src/liblzma/api/lzma.h | 4 +--
4313 src/liblzma/api/lzma/base.h | 38 +++++++++++++--------------
4314 src/liblzma/api/lzma/bcj.h | 4 +--
4315 src/liblzma/api/lzma/block.h | 4 +--
4316 src/liblzma/api/lzma/container.h | 26 ++++++++++++-------
4317 src/liblzma/api/lzma/filter.h | 51 ++++++++++++++++++-------------------
4318 src/liblzma/api/lzma/hardware.h | 3 +--
4319 src/liblzma/api/lzma/index.h | 28 ++++++++++++--------
4320 src/liblzma/api/lzma/index_hash.h | 2 +-
4321 src/liblzma/api/lzma/lzma.h | 46 ++++++++++++++++++++++-----------
4322 src/liblzma/api/lzma/stream_flags.h | 4 +--
4323 src/liblzma/api/lzma/vli.h | 31 +++++++++++-----------
4324 src/liblzma/common/index_decoder.c | 1 +
4325 src/liblzma/common/index_encoder.c | 1 +
4326 14 files changed, 136 insertions(+), 107 deletions(-)
4328 commit 33c1c0e102eb529588503b8beea0903a45488fad
4329 Author: Lasse Collin <lasse.collin@tukaani.org>
4330 Date: 2010-10-19 12:08:30 +0300
4332 Update INSTALL.generic.
4334 INSTALL.generic | 99 ++++++++++++++++++++++++++++++++++++++++++++++-----------
4335 1 file changed, 81 insertions(+), 18 deletions(-)
4337 commit 0076e03641f201c4b77dddd5a6db5880be19a78c
4338 Author: Lasse Collin <lasse.collin@tukaani.org>
4339 Date: 2010-10-19 11:44:37 +0300
4341 Clean up a few FIXMEs and TODOs.
4343 lzma_chunk_size() was commented out because it is
4346 src/liblzma/common/filter_encoder.c | 2 ++
4347 src/liblzma/common/filter_encoder.h | 4 ++--
4348 src/liblzma/lzma/lzma2_decoder.c | 1 -
4349 src/liblzma/lzma/lzma_decoder.c | 4 ++--
4350 src/liblzma/lzma/lzma_encoder.c | 2 +-
4351 src/xz/message.h | 2 +-
4352 6 files changed, 8 insertions(+), 7 deletions(-)
4354 commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9
4355 Author: Lasse Collin <lasse.collin@tukaani.org>
4356 Date: 2010-10-19 10:21:08 +0300
4360 INSTALL | 192 +++++++++++++++++++++++++++++++++++++++++--------------------
4361 PACKAGERS | 104 +++++++++------------------------
4364 4 files changed, 172 insertions(+), 143 deletions(-)
4366 commit f0fa880d247e73264d2c04fe31fb3412318a0026
4367 Author: Lasse Collin <lasse.collin@tukaani.org>
4368 Date: 2010-10-12 15:13:30 +0300
4370 xz: Avoid raise() also on OpenVMS.
4372 This is similar to DOS/DJGPP that killing the program
4373 with a signal will print a backtrace or a similar message.
4375 src/xz/signals.c | 2 +-
4376 1 file changed, 1 insertion(+), 1 deletion(-)
4378 commit ac462b1c47c451f5c62e428306314c4bdad8ae7f
4379 Author: Lasse Collin <lasse.collin@tukaani.org>
4380 Date: 2010-10-11 21:26:19 +0300
4382 xz: Avoid SA_RESTART for portability reasons.
4384 SA_RESTART is not as portable as I had hoped. It's missing
4385 at least from OpenVMS, QNX, and DJGPP). Luckily we can do
4386 fine without SA_RESTART.
4388 src/xz/message.c | 38 +++++++++++++++-----------------------
4389 src/xz/message.h | 4 ++++
4390 src/xz/signals.c | 6 ++++++
4391 3 files changed, 25 insertions(+), 23 deletions(-)
4393 commit d52b411716a614c202e89ba732492efb9916cd3f
4394 Author: Lasse Collin <lasse.collin@tukaani.org>
4395 Date: 2010-10-10 17:58:58 +0300
4397 xz: Use "%"PRIu32 instead of "%d" in a format string.
4399 src/xz/message.c | 2 +-
4400 1 file changed, 1 insertion(+), 1 deletion(-)
4402 commit ae74d1bdeb075c3beefe76e1136c5741804e7e91
4403 Author: Lasse Collin <lasse.collin@tukaani.org>
4404 Date: 2010-10-10 17:43:26 +0300
4406 test_files.sh: Fix the first line.
4408 For some reason this prevented running the test only
4409 on OS/2 and even on that it broke only recently.
4411 Thanks to Elbert Pol.
4413 tests/test_files.sh | 2 +-
4414 1 file changed, 1 insertion(+), 1 deletion(-)
4416 commit d492b80ddd6f9a13419de6d102df7374d8f448e8
4417 Author: Lasse Collin <lasse.collin@tukaani.org>
4418 Date: 2010-10-10 16:49:01 +0300
4420 lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t.
4422 src/lzmainfo/lzmainfo.c | 2 +-
4423 1 file changed, 1 insertion(+), 1 deletion(-)
4425 commit 825e859a9054bd91202e5723c41a17e72f63040a
4426 Author: Lasse Collin <lasse.collin@tukaani.org>
4427 Date: 2010-10-10 16:47:01 +0300
4429 lzmainfo: Use fileno(stdin) instead of STDIN_FILENO.
4431 src/lzmainfo/lzmainfo.c | 2 +-
4432 1 file changed, 1 insertion(+), 1 deletion(-)
4434 commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8
4435 Author: Lasse Collin <lasse.collin@tukaani.org>
4436 Date: 2010-10-09 23:20:51 +0300
4438 lzmainfo: Use setmode() on DOS-like systems.
4440 src/lzmainfo/lzmainfo.c | 9 +++++++++
4441 1 file changed, 9 insertions(+)
4443 commit ef364d3abc5647111c5424ea0d83a567e184a23b
4444 Author: Lasse Collin <lasse.collin@tukaani.org>
4445 Date: 2010-10-09 21:51:03 +0300
4447 OS/2 and DOS: Be less verbose on signals.
4449 Calling raise() to kill xz when user has pressed C-c
4450 is a bit verbose on OS/2 and DOS/DJGPP. Instead of
4451 calling raise(), set only the exit status to 1.
4453 src/xz/signals.c | 7 +++++++
4454 1 file changed, 7 insertions(+)
4456 commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a
4457 Author: Lasse Collin <lasse.collin@tukaani.org>
4458 Date: 2010-10-09 19:28:49 +0300
4460 DOS: Update the Makefile, config.h and README.
4462 This is now simpler and builds only xz.exe.
4464 dos/Makefile | 211 +++++++++++++++--------------------------------------------
4465 dos/README | 73 +++++++--------------
4466 dos/config.h | 45 ++++---------
4467 3 files changed, 86 insertions(+), 243 deletions(-)
4469 commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac
4470 Author: Lasse Collin <lasse.collin@tukaani.org>
4471 Date: 2010-10-09 18:57:55 +0300
4473 Windows: Put some license info into README-Windows.txt.
4475 windows/README-Windows.txt | 8 ++++----
4476 1 file changed, 4 insertions(+), 4 deletions(-)
4478 commit e75100f549f85d231df25c07aa94d63e78e2d668
4479 Author: Lasse Collin <lasse.collin@tukaani.org>
4480 Date: 2010-10-09 18:57:04 +0300
4482 Windows: Fix a diagnostics bug in build.bash.
4484 windows/build.bash | 2 +-
4485 1 file changed, 1 insertion(+), 1 deletion(-)
4487 commit efeb998a2b1025df1c1d202cc7d21d866cd1c336
4488 Author: Lasse Collin <lasse.collin@tukaani.org>
4489 Date: 2010-10-09 13:02:15 +0300
4491 lzmainfo: Add Windows resource file.
4493 src/lzmainfo/Makefile.am | 9 +++++++++
4494 src/lzmainfo/lzmainfo_w32res.rc | 12 ++++++++++++
4495 2 files changed, 21 insertions(+)
4497 commit 389d418445f1623593dfdbba55d52fbb6d1205f5
4498 Author: Lasse Collin <lasse.collin@tukaani.org>
4499 Date: 2010-10-09 12:57:25 +0300
4501 Add missing public domain notice to lzmadec_w32res.rc.
4503 src/xzdec/lzmadec_w32res.rc | 7 +++++++
4504 1 file changed, 7 insertions(+)
4506 commit 6389c773a4912dd9f111256d74ba1605230a7957
4507 Author: Lasse Collin <lasse.collin@tukaani.org>
4508 Date: 2010-10-09 12:52:12 +0300
4510 Windows: Update common_w32res.rc.
4512 src/common/common_w32res.rc | 9 +++------
4513 1 file changed, 3 insertions(+), 6 deletions(-)
4515 commit 71275457ca24c9b01721f5cfc3638cf094daf454
4516 Author: Lasse Collin <lasse.collin@tukaani.org>
4517 Date: 2010-10-09 12:27:08 +0300
4519 Windows: Make build.bash prefer MinGW-w32 over MinGW.
4521 This is simply for licensing reasons. The 64-bit version
4522 will be built with MinGW-w64 anyway (at least for now),
4523 so using it also for 32-bit build allows using the same
4524 copyright notice about the MinGW-w64/w32 runtime.
4526 Note that using MinGW would require a copyright notice too,
4527 because its runtime is not in the public domain either even
4528 though MinGW's home page claims that it is public domain.
4529 See <http://marc.info/?l=mingw-users&m=126489506214078>.
4531 windows/build.bash | 18 +++++++++---------
4532 1 file changed, 9 insertions(+), 9 deletions(-)
4534 commit 3ac35719d8433af937af6491383d4a50e343099b
4535 Author: Lasse Collin <lasse.collin@tukaani.org>
4536 Date: 2010-10-09 11:33:21 +0300
4538 Windows: Copy COPYING-Windows.txt (if it exists) to the package.
4540 Also, put README-Windows.txt to the doc directory like
4541 the other documentation files.
4543 windows/build.bash | 14 ++++++++++++--
4544 1 file changed, 12 insertions(+), 2 deletions(-)
4546 commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae
4547 Author: Lasse Collin <lasse.collin@tukaani.org>
4548 Date: 2010-10-08 21:42:37 +0300
4550 Windows: Fix build.bash again.
4552 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good.
4554 windows/build.bash | 7 ++++---
4555 1 file changed, 4 insertions(+), 3 deletions(-)
4557 commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd
4558 Author: Lasse Collin <lasse.collin@tukaani.org>
4559 Date: 2010-10-08 16:53:20 +0300
4561 Use LZMA_VERSION_STRING instead of PACKAGE_VERSION.
4563 Those are the same thing, and the former makes it a bit
4564 easier to build the code with other build systems, because
4565 one doesn't need to update the version number into custom
4568 This change affects only lzmainfo. Other tools were already
4569 using LZMA_VERSION_STRING.
4571 src/lzmainfo/lzmainfo.c | 2 +-
4572 1 file changed, 1 insertion(+), 1 deletion(-)
4574 commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f
4575 Author: Lasse Collin <lasse.collin@tukaani.org>
4576 Date: 2010-10-08 15:59:25 +0300
4578 configure.ac: Remove two unused defines.
4580 configure.ac | 4 ----
4581 1 file changed, 4 deletions(-)
4583 commit 11f51b6714357cb67ec7e56ed9575c199b5581fe
4584 Author: Lasse Collin <lasse.collin@tukaani.org>
4585 Date: 2010-10-08 15:32:29 +0300
4587 Make tests accommodate missing xz or xzdec.
4589 tests/test_compress.sh | 47 ++++++++++++++++++++++++++++++-----------------
4590 tests/test_files.sh | 28 ++++++++++++++++++++++++++--
4591 2 files changed, 56 insertions(+), 19 deletions(-)
4593 commit b1c7368f95e93ccdefdd0748e04398c26766f47f
4594 Author: Lasse Collin <lasse.collin@tukaani.org>
4595 Date: 2010-10-08 15:25:45 +0300
4597 Build: Add options to disable individual command line tools.
4599 configure.ac | 38 ++++++++++++++++++++++++++++++
4600 src/Makefile.am | 15 +++++++++++-
4601 src/scripts/Makefile.am | 62 +++++++++++++++++++++----------------------------
4602 src/xz/Makefile.am | 6 ++++-
4603 src/xzdec/Makefile.am | 12 ++++++++--
4604 5 files changed, 93 insertions(+), 40 deletions(-)
4606 commit 630a8beda34af0ac153c8051b1bf01230558e422
4607 Author: Lasse Collin <lasse.collin@tukaani.org>
4608 Date: 2010-10-07 00:44:53 +0300
4610 Windows: Make build.bash work without --enable-dynamic=no.
4612 windows/build.bash | 4 ++--
4613 1 file changed, 2 insertions(+), 2 deletions(-)
4615 commit f9907503f882a745dce9d84c2968f6c175ba966a
4616 Author: Lasse Collin <lasse.collin@tukaani.org>
4617 Date: 2010-10-05 14:13:16 +0300
4619 Build: Remove the static/dynamic tricks.
4621 Most distros want xz linked against shared liblzma, so
4622 it doesn't help much to require --enable-dynamic for that.
4623 Those who want to avoid PIC on x86-32 to get better
4624 performance, can still do it e.g. by using --disable-shared
4625 to compile xz and then another pass to compile shared liblzma.
4627 Part of these static/dynamic tricks were needed for Windows
4628 in the past. Nowadays we rely on GCC and binutils to do the
4629 right thing with auto-import. If the Autotooled build system
4630 needs to support some other toolchain on Windows in the future,
4631 this may need some rethinking.
4633 configure.ac | 74 ------------------------------------------------
4634 debug/Makefile.am | 5 +---
4635 src/lzmainfo/Makefile.am | 4 +--
4636 src/xz/Makefile.am | 4 +--
4637 src/xzdec/Makefile.am | 4 +--
4638 tests/Makefile.am | 5 +---
4639 6 files changed, 5 insertions(+), 91 deletions(-)
4641 commit fda4724d8114fccfa31c1839c15479f350c2fb4c
4642 Author: Lasse Collin <lasse.collin@tukaani.org>
4643 Date: 2010-10-05 12:18:58 +0300
4645 configure.ac: Silence a warning from Autoconf 2.68.
4648 1 file changed, 1 insertion(+), 1 deletion(-)
4650 commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9
4651 Author: Lasse Collin <lasse.collin@tukaani.org>
4652 Date: 2010-10-04 19:43:01 +0300
4654 A few more languages files to the xz man page.
4656 Thanks to Jonathan Nieder.
4658 src/xz/xz.1 | 45 ++++++++++++++++++++++++---------------------
4659 1 file changed, 24 insertions(+), 21 deletions(-)
4661 commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb
4662 Author: Lasse Collin <lasse.collin@tukaani.org>
4663 Date: 2010-10-02 12:07:33 +0300
4667 doc/faq.txt | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
4668 1 file changed, 100 insertions(+), 4 deletions(-)
4670 commit 61ae593661e8dc402394e84d567ca2044a51572b
4671 Author: Lasse Collin <lasse.collin@tukaani.org>
4672 Date: 2010-10-02 11:38:20 +0300
4674 liblzma: Small fixes to comments in the API headers.
4676 src/liblzma/api/lzma/lzma.h | 10 +++++++---
4677 1 file changed, 7 insertions(+), 3 deletions(-)
4679 commit 9166682dc601fd42c1b9510572e3f917d18de504
4680 Author: Lasse Collin <lasse.collin@tukaani.org>
4681 Date: 2010-09-28 11:40:12 +0300
4683 Create the PDF versions of the man pages better.
4685 Makefile.am | 14 +++++++------
4686 build-aux/manconv.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
4687 2 files changed, 66 insertions(+), 6 deletions(-)
4689 commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8
4690 Author: Lasse Collin <lasse.collin@tukaani.org>
4691 Date: 2010-09-28 10:59:53 +0300
4693 Move version.sh to build-aux.
4695 Makefile.am | 4 ++--
4696 build-aux/version.sh | 24 ++++++++++++++++++++++++
4698 version.sh | 24 ------------------------
4699 windows/build.bash | 2 +-
4700 5 files changed, 28 insertions(+), 28 deletions(-)
4702 commit 84af9d8770451339a692e9b70f96cf56156a6069
4703 Author: Lasse Collin <lasse.collin@tukaani.org>
4704 Date: 2010-09-28 10:53:02 +0300
4708 .gitignore | 10 +++++++++-
4709 1 file changed, 9 insertions(+), 1 deletion(-)
4711 commit 31575a449ac64c523da3bab8d0c0b522cdc7c780
4712 Author: Lasse Collin <lasse.collin@tukaani.org>
4713 Date: 2010-09-28 01:17:14 +0300
4715 Fix accomodate -> accommodate on the xz man page.
4718 1 file changed, 1 insertion(+), 1 deletion(-)
4720 commit cec0ddc8ec4ce81685a51998b978e22167e461f9
4721 Author: Lasse Collin <lasse.collin@tukaani.org>
4722 Date: 2010-09-27 23:29:34 +0300
4724 Major man page updates.
4726 Lots of content was updated on the xz man page.
4728 Technical improvements:
4729 - Start a new sentence on a new line.
4730 - Use fairly short lines.
4731 - Use constant-width font for examples (where supported).
4732 - Some minor cleanups.
4734 Thanks to Jonathan Nieder for some language fixes.
4736 src/lzmainfo/lzmainfo.1 | 25 +-
4737 src/scripts/xzdiff.1 | 15 +-
4738 src/scripts/xzgrep.1 | 11 +-
4739 src/scripts/xzless.1 | 13 +-
4740 src/scripts/xzmore.1 | 9 +-
4741 src/xz/xz.1 | 1964 ++++++++++++++++++++++++++++++++---------------
4742 src/xzdec/xzdec.1 | 39 +-
4743 7 files changed, 1435 insertions(+), 641 deletions(-)
4745 commit 075257ab0416a0603be930082e31a5703e4ba345
4746 Author: Lasse Collin <lasse.collin@tukaani.org>
4747 Date: 2010-09-26 18:10:31 +0300
4751 depth=0 was missing.
4753 src/liblzma/lzma/lzma_encoder_presets.c | 1 +
4754 1 file changed, 1 insertion(+)
4756 commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1
4757 Author: Lasse Collin <lasse.collin@tukaani.org>
4758 Date: 2010-09-23 14:03:10 +0300
4760 Add translations.bash and translation notes to README.
4762 translations.bash prints some messages from xz, which
4763 hopefully makes it a bit easier to test translations.
4765 README | 96 +++++++++++++++++++++++++++++++++++++++++++++--
4766 debug/translation.bash | 100 +++++++++++++++++++++++++++++++++++++++++++++++++
4767 2 files changed, 192 insertions(+), 4 deletions(-)
4769 commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23
4770 Author: Lasse Collin <lasse.collin@tukaani.org>
4771 Date: 2010-09-17 22:14:30 +0300
4773 xz: Update the Czech translation.
4775 Thanks to Marek Černocký.
4777 po/cs.po | 202 +++++++++++++++++++++++++++++++++++++++++----------------------
4778 1 file changed, 131 insertions(+), 71 deletions(-)
4780 commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6
4781 Author: Lasse Collin <lasse.collin@tukaani.org>
4782 Date: 2010-09-16 23:40:41 +0300
4784 xz: Add Italian translation.
4786 Thanks to Milo Casagrande and Lorenzo De Liso.
4790 po/it.po | 902 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4791 3 files changed, 905 insertions(+)
4793 commit 21088018554e2b0e02914205377ceb6e34a090bd
4794 Author: Lasse Collin <lasse.collin@tukaani.org>
4795 Date: 2010-09-15 00:34:13 +0300
4797 xz: Edit a translators comment.
4799 src/xz/list.c | 2 +-
4800 1 file changed, 1 insertion(+), 1 deletion(-)
4802 commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6
4803 Author: Lasse Collin <lasse.collin@tukaani.org>
4804 Date: 2010-09-14 22:47:14 +0300
4806 xz: Add German translation.
4808 Thanks to Andre Noll.
4812 po/de.po | 903 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4813 3 files changed, 905 insertions(+)
4815 commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b
4816 Author: Lasse Collin <lasse.collin@tukaani.org>
4817 Date: 2010-09-10 14:30:25 +0300
4822 1 file changed, 2 deletions(-)
4824 commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71
4825 Author: Lasse Collin <lasse.collin@tukaani.org>
4826 Date: 2010-09-10 14:30:07 +0300
4831 1 file changed, 4 insertions(+), 3 deletions(-)
4833 commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2
4834 Author: Lasse Collin <lasse.collin@tukaani.org>
4835 Date: 2010-09-10 14:26:20 +0300
4837 Updated the git repository address in ChangeLog.
4840 1 file changed, 1 insertion(+), 1 deletion(-)
4842 commit a8760203f93a69bc39fd14520a6e9e7b7d70be06
4843 Author: Lasse Collin <lasse.collin@tukaani.org>
4844 Date: 2010-09-10 14:09:33 +0300
4846 xz: Add a comment to translators about "literal context bits".
4848 src/xz/message.c | 4 ++++
4849 1 file changed, 4 insertions(+)
4851 commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5
4852 Author: Lasse Collin <lasse.collin@tukaani.org>
4853 Date: 2010-09-10 10:30:33 +0300
4857 The code assumed that printing numbers with thousand separators
4858 and decimal points would always produce only US-ASCII characters.
4859 This was used for buffer sizes (with snprintf(), no overflows)
4860 and aligning columns of the progress indicator and --list. That
4861 assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so
4862 multibyte character support was added in this commit. The old
4863 way is used if the operating system doesn't have enough multibyte
4864 support (e.g. lacks wcwidth()).
4866 The sizes of buffers were increased to accomodate multibyte
4867 characters. I don't know how big they should be exactly, but
4868 they aren't used for anything critical, so it's not too bad.
4869 If they still aren't big enough, I hopefully get a bug report.
4870 snprintf() takes care of avoiding buffer overflows.
4872 Some static buffers were replaced with buffers allocated on
4873 stack. double_to_str() was removed. uint64_to_str() and
4874 uint64_to_nicestr() now share the static buffer and test
4875 for thousand separator support.
4877 Integrity check names "None" and "Unknown-N" (2 <= N <= 15)
4878 were marked to be translated. I had forgot these, plus they
4879 wouldn't have worked correctly anyway before this commit,
4880 because printing tables with multibyte strings didn't work.
4882 Thanks to Marek Černocký for reporting the bug about
4883 misaligned table columns in --list output.
4886 m4/tuklib_mbstr.m4 | 30 ++++++
4887 src/common/tuklib_mbstr.h | 66 +++++++++++++
4888 src/common/tuklib_mbstr_fw.c | 31 ++++++
4889 src/common/tuklib_mbstr_width.c | 64 +++++++++++++
4890 src/xz/Makefile.am | 4 +-
4891 src/xz/list.c | 205 +++++++++++++++++++++++++++-------------
4892 src/xz/message.c | 56 +++++++----
4893 src/xz/message.h | 10 +-
4894 src/xz/private.h | 1 +
4895 src/xz/util.c | 136 +++++++++-----------------
4896 src/xz/util.h | 7 --
4897 12 files changed, 424 insertions(+), 187 deletions(-)
4899 commit 639f8e2af33cf8a184d59ba56b6df7c098679d61
4900 Author: Lasse Collin <lasse.collin@tukaani.org>
4901 Date: 2010-09-08 08:49:22 +0300
4903 Update the Czech translation.
4905 Thanks to Marek Černocký.
4907 po/cs.po | 655 +++++++++++++++++++++++++++++++++++++++++++--------------------
4908 1 file changed, 454 insertions(+), 201 deletions(-)
4910 commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7
4911 Author: Lasse Collin <lasse.collin@tukaani.org>
4912 Date: 2010-09-07 12:31:40 +0300
4914 xz: Add a note to translators.
4916 src/xz/hardware.c | 2 ++
4917 1 file changed, 2 insertions(+)
4919 commit 77a7746616e555fc08028e883a56d06bf0088b81
4920 Author: Lasse Collin <lasse.collin@tukaani.org>
4921 Date: 2010-09-07 10:42:13 +0300
4923 Fix use of N_() and ngettext().
4925 I had somehow thought that N_() is usually used
4926 as shorthand for ngettext().
4928 This also fixes a missing \n from a call to ngettext().
4930 src/common/tuklib_gettext.h | 4 ++--
4931 src/xz/list.c | 4 ++--
4932 2 files changed, 4 insertions(+), 4 deletions(-)
4934 commit e6ad39335842343e622ab51207d1d3cb9caad801
4935 Author: Lasse Collin <lasse.collin@tukaani.org>
4936 Date: 2010-09-06 19:43:12 +0300
4938 Add missing files to POTFILES.in.
4940 po/POTFILES.in | 3 +++
4941 1 file changed, 3 insertions(+)
4943 commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30
4944 Author: Lasse Collin <lasse.collin@tukaani.org>
4945 Date: 2010-09-06 10:16:24 +0300
4947 xz: Improve a comment.
4949 src/xz/file_io.c | 7 ++++---
4950 1 file changed, 4 insertions(+), 3 deletions(-)
4952 commit bcb1b898341f7073f51660d7052d7ed6c5461a66
4953 Author: Lasse Collin <lasse.collin@tukaani.org>
4954 Date: 2010-09-05 21:34:29 +0300
4956 xz: Update the comment about NetBSD in file_io.c.
4958 Thanks to Joerg Sonnenberger.
4960 src/xz/file_io.c | 8 ++++----
4961 1 file changed, 4 insertions(+), 4 deletions(-)
4963 commit da014d55972f5addbf6b4360d3d8ed2ef4282170
4964 Author: Lasse Collin <lasse.collin@tukaani.org>
4965 Date: 2010-09-05 21:11:33 +0300
4967 xz: Use an array instead of pointer for stdin_filename.
4969 Thanks Joerg Sonnenberger.
4971 src/xz/args.c | 2 +-
4972 src/xz/args.h | 2 +-
4973 2 files changed, 2 insertions(+), 2 deletions(-)
4975 commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee
4976 Author: Lasse Collin <lasse.collin@tukaani.org>
4977 Date: 2010-09-05 12:16:17 +0300
4979 xz: Hopefully ease translating the messages in list.c.
4981 src/xz/list.c | 33 +++++++++++++++++++++++----------
4982 1 file changed, 23 insertions(+), 10 deletions(-)
4984 commit ef840950ad99cf2955c754875af0e01acf125079
4985 Author: Lasse Collin <lasse.collin@tukaani.org>
4986 Date: 2010-09-04 23:14:44 +0300
4990 src/xz/options.c | 3 +--
4991 1 file changed, 1 insertion(+), 2 deletions(-)
4993 commit c46afd6edc04ea140db6c59e8486f5707c810c13
4994 Author: Lasse Collin <lasse.collin@tukaani.org>
4995 Date: 2010-09-04 23:12:20 +0300
4997 xz: Use lzma_lzma_preset() to initialize the options structure.
4999 src/xz/options.c | 14 ++------------
5000 1 file changed, 2 insertions(+), 12 deletions(-)
5002 commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065
5003 Author: Lasse Collin <lasse.collin@tukaani.org>
5004 Date: 2010-09-04 22:16:28 +0300
5006 Don't set lc=4 with --extreme.
5008 This should reduce the cases where --extreme makes
5009 compression worse. On the other hand, some other
5010 files may now benefit slightly less from --extreme.
5012 src/liblzma/lzma/lzma_encoder_presets.c | 1 -
5013 1 file changed, 1 deletion(-)
5015 commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b
5016 Author: Lasse Collin <lasse.collin@tukaani.org>
5017 Date: 2010-09-04 22:10:32 +0300
5019 xz: Minor improvements to --help and --long-help.
5021 src/xz/message.c | 24 ++++++++++++------------
5022 1 file changed, 12 insertions(+), 12 deletions(-)
5024 commit 373ee26f955617295c5c537b04a153a1969140d2
5025 Author: Jonathan Nieder <jrnieder@gmail.com>
5026 Date: 2010-09-03 16:49:15 -0500
5028 Adjust memory limits in test_compress.sh
5030 Testing compression at level -4 now requires 48 MiB of free store at
5031 compression time and 5 MiB at decompression time.
5033 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
5035 tests/test_compress.sh | 2 +-
5036 1 file changed, 1 insertion(+), 1 deletion(-)
5038 commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087
5039 Author: Lasse Collin <lasse.collin@tukaani.org>
5040 Date: 2010-09-03 15:54:40 +0300
5042 xz: Make -vv show also decompressor memory usage.
5044 src/xz/coder.c | 7 +++++++
5045 1 file changed, 7 insertions(+)
5047 commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6
5048 Author: Lasse Collin <lasse.collin@tukaani.org>
5049 Date: 2010-09-03 15:13:12 +0300
5051 Tweak the compression presets -0 .. -5.
5053 "Extreme" mode might need some further tweaking still.
5054 Docs were not updated yet.
5056 src/liblzma/lzma/lzma_encoder_presets.c | 29 +++++++++++++++++++----------
5057 1 file changed, 19 insertions(+), 10 deletions(-)
5059 commit 77fe5954cd3d10fb1837372684cbc133b56b6a87
5060 Author: Lasse Collin <lasse.collin@tukaani.org>
5061 Date: 2010-09-03 12:28:41 +0300
5063 liblzma: Adjust default depth calculation for HC3 and HC4.
5065 It was 8 + nice_len / 4, now it is 4 + nice_len / 4.
5066 This allows faster settings at lower nice_len values,
5067 even though it seems that I won't use automatic depth
5068 calcuation with HC3 and HC4 in the presets.
5070 src/liblzma/lz/lz_encoder.c | 7 ++++---
5071 1 file changed, 4 insertions(+), 3 deletions(-)
5073 commit fce69059cf901ce8075a78c7607d591f144a3b5a
5074 Author: Lasse Collin <lasse.collin@tukaani.org>
5075 Date: 2010-09-03 11:11:25 +0300
5077 xz: Make --help two lines shorter.
5079 At least for now, the --help option doesn't list any
5080 options that take arguments, so "Mandatory arguments to..."
5083 src/xz/message.c | 7 +++++--
5084 1 file changed, 5 insertions(+), 2 deletions(-)
5086 commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298
5087 Author: Lasse Collin <lasse.collin@tukaani.org>
5088 Date: 2010-09-02 19:22:35 +0300
5090 xz: Make setting a preset override a custom filter chain.
5092 This is more logical behavior than ignoring preset level
5093 options once a custom filter chain has been specified.
5095 src/xz/coder.c | 9 +++++++++
5096 1 file changed, 9 insertions(+)
5098 commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3
5099 Author: Lasse Collin <lasse.collin@tukaani.org>
5100 Date: 2010-09-02 19:09:57 +0300
5102 xz: Always warn if adjusting dictionary size due to memlimit.
5104 src/xz/coder.c | 28 +++++++++-------------------
5105 1 file changed, 9 insertions(+), 19 deletions(-)
5107 commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d
5108 Author: Lasse Collin <lasse.collin@tukaani.org>
5109 Date: 2010-08-10 11:04:30 +0300
5111 Fix test_compress.sh.
5113 It broke when --memory option was removed from xzdec.
5115 Thanks to Jonathan Nieder.
5117 tests/test_compress.sh | 6 +++---
5118 1 file changed, 3 insertions(+), 3 deletions(-)
5120 commit 792331bdee706aa852a78b171040ebf814c6f3ae
5121 Author: Lasse Collin <lasse.collin@tukaani.org>
5122 Date: 2010-08-07 20:45:18 +0300
5124 Disable the memory usage limiter by default.
5126 For several people, the limiter causes bigger problems that
5127 it solves, so it is better to have it disabled by default.
5128 Those who want to have a limiter by default need to enable
5129 it via the environment variable XZ_DEFAULTS.
5131 Support for environment variable XZ_DEFAULTS was added. It is
5132 parsed before XZ_OPT and technically identical with it. The
5133 intended uses differ quite a bit though; see the man page.
5135 The memory usage limit can now be set separately for
5136 compression and decompression using --memlimit-compress and
5137 --memlimit-decompress. To set both at once, -M or --memlimit
5138 can be used. --memory was retained as a legacy alias for
5139 --memlimit for backwards compatibility.
5141 The semantics of --info-memory were changed in backwards
5142 incompatible way. Compatibility wasn't meaningful due to
5143 changes in the memory usage limiter functionality.
5145 The memory usage limiter info is no longer shown at the
5146 bottom of xz --long -help.
5148 The memory usage limiter support for removed completely from xzdec.
5150 xz's man page was updated to match the above changes. Various
5151 unrelated fixes were also made to the man page.
5153 src/xz/args.c | 87 +++++++++-----
5154 src/xz/coder.c | 8 +-
5155 src/xz/hardware.c | 96 +++++++++------
5156 src/xz/hardware.h | 23 ++--
5157 src/xz/list.c | 2 +-
5158 src/xz/message.c | 39 ++-----
5159 src/xz/message.h | 4 -
5160 src/xz/xz.1 | 341 ++++++++++++++++++++++++++++++++++--------------------
5161 src/xzdec/xzdec.1 | 45 +------
5162 src/xzdec/xzdec.c | 176 +---------------------------
5163 10 files changed, 373 insertions(+), 448 deletions(-)
5165 commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801
5166 Author: Lasse Collin <lasse.collin@tukaani.org>
5167 Date: 2010-08-06 20:22:16 +0300
5169 Add missing const to a global constant in xz.
5171 src/xz/args.c | 2 +-
5172 src/xz/args.h | 2 +-
5173 2 files changed, 2 insertions(+), 2 deletions(-)
5175 commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f
5176 Author: Lasse Collin <lasse.collin@tukaani.org>
5177 Date: 2010-07-28 11:44:55 +0300
5179 Language fixes for man pages.
5181 Thanks to A. Costa and Jonathan Nieder.
5183 src/lzmainfo/lzmainfo.1 | 4 ++--
5184 src/xz/xz.1 | 6 +++---
5185 2 files changed, 5 insertions(+), 5 deletions(-)
5187 commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b
5188 Author: Lasse Collin <lasse.collin@tukaani.org>
5189 Date: 2010-07-27 20:47:12 +0300
5191 Windows: Add a note about building a Git repository snapshot
5193 windows/INSTALL-Windows.txt | 9 +++++++++
5194 1 file changed, 9 insertions(+)
5196 commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38
5197 Author: Lasse Collin <lasse.collin@tukaani.org>
5198 Date: 2010-07-27 20:45:03 +0300
5200 Windows: build.sh is a bash script so name it correctly.
5203 windows/INSTALL-Windows.txt | 6 +-
5204 windows/build.bash | 189 ++++++++++++++++++++++++++++++++++++++++++++
5205 windows/build.sh | 189 --------------------------------------------
5206 4 files changed, 193 insertions(+), 193 deletions(-)
5208 commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339
5209 Author: Lasse Collin <lasse.collin@tukaani.org>
5210 Date: 2010-07-27 20:27:32 +0300
5212 Windows: Don't strip liblzma.a too much.
5214 windows/build.sh | 3 ++-
5215 1 file changed, 2 insertions(+), 1 deletion(-)
5217 commit a540198ffb25fad36380c5e92ac20c2d28eec46a
5218 Author: Lasse Collin <lasse.collin@tukaani.org>
5219 Date: 2010-07-13 20:07:26 +0300
5224 1 file changed, 1 insertion(+)
5226 commit bab0f01ed931f606b4675aa9f9331a17cec09bad
5227 Author: Lasse Collin <lasse.collin@tukaani.org>
5228 Date: 2010-07-13 19:55:50 +0300
5230 Add two simple example programs.
5232 Hopefully these help a bit when learning the basics
5233 of liblzma API. I plan to write detailed examples about
5234 both basic and advanced features with lots of comments,
5235 but these two examples are good have right now.
5237 The examples were written by Daniel Mealha Cabrita. Thanks.
5239 doc/examples/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++++++
5240 doc/examples/xz_pipe_decomp.c | 115 ++++++++++++++++++++++++++++++++++++++
5241 2 files changed, 242 insertions(+)
5243 commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00
5244 Author: Lasse Collin <lasse.collin@tukaani.org>
5245 Date: 2010-06-15 14:06:29 +0300
5249 src/xz/args.c | 6 ++++++
5250 src/xz/coder.c | 8 ++------
5251 src/xz/coder.h | 4 ++++
5252 src/xz/message.c | 6 +++++-
5253 src/xz/xz.1 | 13 +++++++++++--
5254 5 files changed, 28 insertions(+), 9 deletions(-)
5256 commit 2130926dd1c839280358172dfadd8d3054bde2b4
5257 Author: Lasse Collin <lasse.collin@tukaani.org>
5258 Date: 2010-06-11 21:51:32 +0300
5263 1 file changed, 1 insertion(+)
5265 commit bc612d0e0c9e4504c59d49168e87a7ae3e458443
5266 Author: Lasse Collin <lasse.collin@tukaani.org>
5267 Date: 2010-06-11 21:48:32 +0300
5269 Clarify the description of the default memlimit in the man page.
5271 Thanks to Denis Excoffier.
5273 src/xz/xz.1 | 4 ++--
5274 1 file changed, 2 insertions(+), 2 deletions(-)
5276 commit e1b6935d60a00405e6b5b455a3426d2248cc926c
5277 Author: Lasse Collin <lasse.collin@tukaani.org>
5278 Date: 2010-06-11 21:43:28 +0300
5280 Fix string to uint64_t conversion.
5282 Thanks to Denis Excoffier for the bug report.
5284 src/xz/util.c | 10 ++++++++--
5285 src/xzdec/xzdec.c | 13 +++++++++++--
5286 2 files changed, 19 insertions(+), 4 deletions(-)
5288 commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0
5289 Author: Lasse Collin <lasse.collin@tukaani.org>
5290 Date: 2010-06-11 10:40:28 +0300
5292 Put the git commit to the filename in mydist rule.
5294 Makefile.am | 6 +++++-
5295 1 file changed, 5 insertions(+), 1 deletion(-)
5297 commit d8b41eedce486d400f701b757b7b5e4e32276618
5298 Author: Lasse Collin <lasse.collin@tukaani.org>
5299 Date: 2010-06-02 23:13:55 +0300
5301 Fix compiling with -Werror.
5303 src/xz/message.c | 4 ++--
5304 1 file changed, 2 insertions(+), 2 deletions(-)
5306 commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8
5307 Author: Lasse Collin <lasse.collin@tukaani.org>
5308 Date: 2010-06-02 23:09:22 +0300
5310 Silence a bogus Valgrind warning.
5312 When using -O2 with GCC, it liked to swap two comparisons
5313 in one "if" statement. It's otherwise fine except that
5314 the latter part, which is seemingly never executed, got
5315 executed (nothing wrong with that) and then triggered
5316 warning in Valgrind about conditional jump depending on
5317 uninitialized variable. A few people find this annoying
5318 so do things a bit differently to avoid the warning.
5320 src/liblzma/lz/lz_encoder.c | 6 +++++-
5321 1 file changed, 5 insertions(+), 1 deletion(-)
5323 commit 29a7b250e685852f2f97615493ec49acaf528623
5324 Author: Lasse Collin <lasse.collin@tukaani.org>
5325 Date: 2010-06-02 21:32:12 +0300
5327 Fix a Windows-specific FIXME in signal handling code.
5329 src/xz/main.c | 40 +++++++++++++++++++++++++++++++++++-----
5330 src/xz/private.h | 5 +++++
5331 src/xz/signals.c | 16 ++++++++--------
5332 3 files changed, 48 insertions(+), 13 deletions(-)
5334 commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d
5335 Author: Lasse Collin <lasse.collin@tukaani.org>
5336 Date: 2010-06-02 17:46:58 +0300
5338 Adjust SA_RESTART workaround.
5340 I want to get a bug report if something else than
5341 DJGPP lacks SA_RESTART.
5343 src/xz/message.c | 14 +++++++-------
5344 1 file changed, 7 insertions(+), 7 deletions(-)
5346 commit e243145c84ab5c3be8259fd486ead0de5235b3f0
5347 Author: Lasse Collin <lasse.collin@tukaani.org>
5348 Date: 2010-06-01 16:02:30 +0300
5350 xz man page updates.
5352 - Concatenating .xz files and padding
5355 - A few examples (but many more are needed)
5357 src/xz/xz.1 | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
5358 1 file changed, 366 insertions(+), 19 deletions(-)
5360 commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562
5361 Author: Lasse Collin <lasse.collin@tukaani.org>
5362 Date: 2010-06-01 15:51:44 +0300
5364 Major update to xz --list.
5366 src/xz/list.c | 652 ++++++++++++++++++++++++++++++++++++++++++----------------
5367 1 file changed, 471 insertions(+), 181 deletions(-)
5369 commit 905e54804a899e4ad526d38fdba7e803ab9b71bd
5370 Author: Lasse Collin <lasse.collin@tukaani.org>
5371 Date: 2010-06-01 14:13:03 +0300
5373 Rename message_filters_get() to message_filters_to_str().
5375 src/xz/message.c | 4 ++--
5376 src/xz/message.h | 2 +-
5377 2 files changed, 3 insertions(+), 3 deletions(-)
5379 commit 4b346ae8af20045027ae5efb068c6d69da3324d2
5380 Author: Lasse Collin <lasse.collin@tukaani.org>
5381 Date: 2010-06-01 14:09:12 +0300
5385 src/liblzma/api/lzma/index.h | 2 +-
5386 1 file changed, 1 insertion(+), 1 deletion(-)
5388 commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296
5389 Author: Lasse Collin <lasse.collin@tukaani.org>
5390 Date: 2010-05-27 16:17:42 +0300
5392 Fix lzma_block_compressed_size().
5394 src/liblzma/common/block_util.c | 6 +++---
5395 1 file changed, 3 insertions(+), 3 deletions(-)
5397 commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593
5398 Author: Lasse Collin <lasse.collin@tukaani.org>
5399 Date: 2010-05-27 14:32:51 +0300
5401 Take Cygwin into account in some #if lines.
5403 This change is no-op, but good to have just in case
5406 src/xz/signals.c | 2 +-
5407 src/xz/signals.h | 4 ++--
5408 2 files changed, 3 insertions(+), 3 deletions(-)
5410 commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7
5411 Author: Lasse Collin <lasse.collin@tukaani.org>
5412 Date: 2010-05-27 13:42:44 +0300
5414 Remove references to the Subblock filter in xz and tests.
5416 Thanks to Jonathan Nieder.
5418 src/xz/message.c | 9 ---------
5419 tests/test_filter_flags.c | 23 -----------------------
5420 2 files changed, 32 deletions(-)
5422 commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893
5423 Author: Lasse Collin <lasse.collin@tukaani.org>
5424 Date: 2010-05-27 13:35:36 +0300
5426 Remove unused chunk_size.c.
5428 Thanks to Jonathan Nieder for the reminder.
5430 src/liblzma/common/chunk_size.c | 67 -----------------------------------------
5431 1 file changed, 67 deletions(-)
5433 commit 01a414eaf4be6352c06b48001b041b47e8202faa
5434 Author: Jonathan Nieder <jrnieder@gmail.com>
5435 Date: 2010-05-27 02:31:33 -0500
5437 Use my_min() instead of MIN() in src/xz/list.c
5439 This should have been done in
5440 920a69a8d8e4203c5edddd829d932130eac188ea.
5442 src/xz/list.c | 2 +-
5443 1 file changed, 1 insertion(+), 1 deletion(-)
5445 commit 920a69a8d8e4203c5edddd829d932130eac188ea
5446 Author: Lasse Collin <lasse.collin@tukaani.org>
5447 Date: 2010-05-26 10:36:46 +0300
5449 Rename MIN() and MAX() to my_min() and my_max().
5451 This should avoid some minor portability issues.
5453 debug/full_flush.c | 2 +-
5454 debug/sync_flush.c | 2 +-
5455 src/common/sysdefs.h | 12 +++++-------
5456 src/liblzma/common/block_buffer_encoder.c | 2 +-
5457 src/liblzma/common/common.c | 2 +-
5458 src/liblzma/common/stream_buffer_encoder.c | 2 +-
5459 src/liblzma/delta/delta_encoder.c | 2 +-
5460 src/liblzma/lz/lz_decoder.c | 7 ++++---
5461 src/liblzma/lz/lz_decoder.h | 2 +-
5462 src/liblzma/lz/lz_encoder.c | 2 +-
5463 src/liblzma/lz/lz_encoder.h | 2 +-
5464 src/liblzma/lz/lz_encoder_mf.c | 4 ++--
5465 src/liblzma/lzma/lzma2_encoder.c | 2 +-
5466 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
5467 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 14 +++++++-------
5468 src/xz/args.c | 3 ++-
5469 16 files changed, 31 insertions(+), 31 deletions(-)
5471 commit 019ae27c24d0c694545a6a46f8b9fb552198b015
5472 Author: Lasse Collin <lasse.collin@tukaani.org>
5473 Date: 2010-05-26 10:30:20 +0300
5475 Fix compilation of debug/known_sizes.c.
5477 debug/known_sizes.c | 2 +-
5478 1 file changed, 1 insertion(+), 1 deletion(-)
5480 commit 98a4856a6ea84f79c790057a6eb89a25bc45b074
5481 Author: Lasse Collin <lasse.collin@tukaani.org>
5482 Date: 2010-05-26 10:28:54 +0300
5484 Remove references to Subblock filter in debug/sync_flush.c.
5486 debug/sync_flush.c | 13 -------------
5487 1 file changed, 13 deletions(-)
5489 commit 703d2c33c095c41ae0693ee8c27c45e3847e4535
5490 Author: Lasse Collin <lasse.collin@tukaani.org>
5491 Date: 2010-05-26 10:16:57 +0300
5493 Better #error message.
5495 src/common/sysdefs.h | 4 ++--
5496 1 file changed, 2 insertions(+), 2 deletions(-)
5498 commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0
5499 Author: Lasse Collin <lasse.collin@tukaani.org>
5500 Date: 2010-05-26 09:55:47 +0300
5502 Remove the Subblock filter code for now.
5504 The spec isn't finished and the code didn't compile anymore.
5505 It won't be included in XZ Utils 5.0.0. It's easy to get it
5506 back once the spec is done.
5509 src/liblzma/Makefile.am | 5 -
5510 src/liblzma/api/Makefile.am | 1 -
5511 src/liblzma/api/lzma.h | 1 -
5512 src/liblzma/api/lzma/subblock.h | 200 -----
5513 src/liblzma/common/common.h | 6 -
5514 src/liblzma/common/filter_common.c | 9 -
5515 src/liblzma/common/filter_decoder.c | 16 -
5516 src/liblzma/common/filter_encoder.c | 12 -
5517 src/liblzma/subblock/Makefile.inc | 20 -
5518 src/liblzma/subblock/subblock_decoder.c | 630 ----------------
5519 src/liblzma/subblock/subblock_decoder.h | 22 -
5520 src/liblzma/subblock/subblock_decoder_helper.c | 70 --
5521 src/liblzma/subblock/subblock_decoder_helper.h | 29 -
5522 src/liblzma/subblock/subblock_encoder.c | 984 -------------------------
5523 src/liblzma/subblock/subblock_encoder.h | 21 -
5524 src/xz/args.c | 9 +-
5525 src/xz/options.c | 61 --
5526 src/xz/options.h | 7 -
5527 19 files changed, 4 insertions(+), 2105 deletions(-)
5529 commit b6377fc990f9b8651149cae0fecb8b9c5904e26d
5530 Author: Lasse Collin <lasse.collin@tukaani.org>
5531 Date: 2010-05-16 18:42:22 +0300
5533 Split message_filters().
5535 message_filters_to_str() converts the filter chain to
5536 a string. message_filters_show() replaces the original
5539 uint32_to_optstr() was also added to show the dictionary
5540 size in nicer format when possible.
5542 src/xz/coder.c | 2 +-
5543 src/xz/message.c | 187 +++++++++++++++++++++++++++++++++++--------------------
5544 src/xz/message.h | 14 ++++-
5545 3 files changed, 134 insertions(+), 69 deletions(-)
5547 commit d9986db782d6cf0f314342127280519339378fa0
5548 Author: Lasse Collin <lasse.collin@tukaani.org>
5549 Date: 2010-05-14 23:17:20 +0300
5551 Omit lzma_restrict from the API headers.
5553 It isn't really useful so omitting it makes things
5554 shorter and slightly more readable.
5556 src/liblzma/api/lzma.h | 12 ------------
5557 src/liblzma/api/lzma/index.h | 5 ++---
5558 src/liblzma/api/lzma/vli.h | 11 +++++------
5559 3 files changed, 7 insertions(+), 21 deletions(-)
5561 commit 0d3489efca0a723dca0394809fa3e6170843af4b
5562 Author: Lasse Collin <lasse.collin@tukaani.org>
5563 Date: 2010-05-10 19:57:24 +0300
5568 1 file changed, 5 deletions(-)
5570 commit 3fb3d594a2b53886adee161b6261e92277f05f7c
5571 Author: Lasse Collin <lasse.collin@tukaani.org>
5572 Date: 2010-05-10 19:54:52 +0300
5577 1 file changed, 1 insertion(+)
5579 commit 6548e304657e77d3a972053db3c41c5daf591113
5580 Author: Lasse Collin <lasse.collin@tukaani.org>
5581 Date: 2010-05-10 19:54:15 +0300
5583 Updates to tuklib_physmem and tuklib_cpucores.
5585 Don't use #error to generate compile error, because some
5586 compilers actually don't take it as an error. This fixes
5587 tuklib_physmem on IRIX.
5589 Fix incorrect error check for sysconf() return values.
5591 Add AIX, HP-UX, and Tru64 specific code to detect the
5594 Add HP-UX specific code to detect the number of CPU cores.
5596 Thanks a lot to Peter O'Gorman for initial patches,
5597 testing, and debugging these fixes.
5599 m4/tuklib_cpucores.m4 | 33 ++++++++++++++++----
5600 m4/tuklib_physmem.m4 | 72 ++++++++++++++++++++++++++++++++++++++++++--
5601 src/common/tuklib_cpucores.c | 14 +++++++--
5602 src/common/tuklib_physmem.c | 33 +++++++++++++++++++-
5603 4 files changed, 141 insertions(+), 11 deletions(-)
5605 commit a290cfee3e23f046889c022aa96b4eca2016fdda
5606 Author: Lasse Collin <lasse.collin@tukaani.org>
5607 Date: 2010-04-12 21:55:56 +0300
5609 Show both elapsed time and estimated remaining time in xz -v.
5611 The extra space for showing both has been taken from the
5612 sizes field. If the sizes grow big, bigger units than MiB
5613 will be used. It makes it slightly difficult to see that
5614 progress is still happening with huge files, but it should
5617 Thanks to Trent W. Buck for <http://bugs.debian.org/574583>
5618 and Jonathan Nieder for suggestions how to fix it.
5621 src/xz/message.c | 86 +++++++++++++++++++++++++-------------------------------
5622 2 files changed, 39 insertions(+), 48 deletions(-)
5624 commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e
5625 Author: Lasse Collin <lasse.collin@tukaani.org>
5626 Date: 2010-03-31 16:47:25 +0300
5628 Add a simple tip to faq.txt about tar and xz.
5630 Thanks to Gilles Espinasse.
5633 doc/faq.txt | 6 ++++++
5634 2 files changed, 7 insertions(+)
5636 commit c737eec91d200d730aa82662affd6b06ebb0bff0
5637 Author: Lasse Collin <lasse.collin@tukaani.org>
5638 Date: 2010-03-22 21:03:03 +0200
5643 1 file changed, 1 insertion(+)
5645 commit f4b2b52624b802c786e4e2a8eb6895794dd93b24
5646 Author: Lasse Collin <lasse.collin@tukaani.org>
5647 Date: 2010-03-07 19:52:25 +0200
5649 Fix xzgrep to not break if filenames have spaces or quotes.
5651 Thanks to someone who reported the bug on IRC.
5653 src/scripts/xzgrep.in | 2 +-
5654 1 file changed, 1 insertion(+), 1 deletion(-)
5656 commit cf38da00a140bd3bd65b192390ae5553380fd774
5657 Author: Lasse Collin <lasse.collin@tukaani.org>
5658 Date: 2010-03-07 13:59:32 +0200
5660 Treat all integer multiplier suffixes as base-2.
5662 Originally both base-2 and base-10 were supported, but since
5663 there seems to be little need for base-10 in XZ Utils, treat
5664 everything as base-2 and also be more relaxed about the case
5665 of the first letter of the suffix. Now xz will accept e.g.
5666 KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The
5667 recommended spelling of the suffixes are still KiB, MiB, and GiB.
5669 src/xz/util.c | 53 +++++++++++++++++++++++------------------------------
5670 src/xz/xz.1 | 48 ++++++++++++++++++++++++++++--------------------
5671 src/xzdec/xzdec.c | 42 ++++++++++++++++--------------------------
5672 3 files changed, 67 insertions(+), 76 deletions(-)
5674 commit 00fc1211ae7b687ac912098f4479112059deccbd
5675 Author: Lasse Collin <lasse.collin@tukaani.org>
5676 Date: 2010-03-07 13:50:23 +0200
5678 Consistently round up the memory usage limit in messages.
5680 It still feels a bit wrong to round 1 byte to 1 MiB but
5681 at least it is now done consistently so that the same
5682 byte value is always rounded the same way to MiB.
5684 src/xz/message.c | 5 +++--
5685 src/xzdec/xzdec.c | 7 +++++--
5686 2 files changed, 8 insertions(+), 4 deletions(-)
5688 commit 9886d436ff5615fc70eef32ff757b1e934069621
5689 Author: Lasse Collin <lasse.collin@tukaani.org>
5690 Date: 2010-03-07 13:34:34 +0200
5692 Change the default of --enable-assume-ram from 32 to 128 MiB.
5694 This is to allow files created with "xz -9" to be decompressed
5695 if the amount of RAM cannot be determined.
5698 configure.ac | 11 ++++++-----
5699 2 files changed, 8 insertions(+), 8 deletions(-)
5701 commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418
5702 Author: Lasse Collin <lasse.collin@tukaani.org>
5703 Date: 2010-03-07 13:29:28 +0200
5705 Increase the default memory usage limit on "low-memory" systems.
5707 Previously the default limit was always 40 % of RAM. The
5708 new limit is a little bit more complex:
5710 - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used
5713 - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit.
5715 - Otherwise 80 % of RAM is used as the limit.
5717 This should make it possible to decompress files created with
5718 "xz -9" on more systems. Swapping is generally more expected
5719 on systems with less RAM, so higher default limit on them
5720 shouldn't cause too bad surprises in terms of heavy swapping.
5721 Instead, the higher default limit should reduce the number of
5722 bad surprises when it used to prevent decompression of files
5723 created with "xz -9". The DoS prevention system shouldn't be
5726 Note that even with the new default limit, a system with 64 MiB
5727 RAM cannot decompress files created with "xz -9" without user
5728 overriding the limit. This should be OK, because if xz is going
5729 to need more memory than the system has RAM, it will run very
5730 very slowly and thus it's good that user has to override the limit
5733 src/xz/hardware.c | 43 +++++++++++++++++++++++++++++++------------
5734 src/xz/xz.1 | 21 +++++++++++++++------
5735 src/xzdec/xzdec.1 | 8 ++++----
5736 src/xzdec/xzdec.c | 42 ++++++++++++++++++++++++++++++------------
5737 4 files changed, 80 insertions(+), 34 deletions(-)
5739 commit 5527b7269a997e7f335d60f237a64bbf225d9dc7
5740 Author: Lasse Collin <lasse.collin@tukaani.org>
5741 Date: 2010-03-06 21:36:19 +0200
5746 1 file changed, 1 insertion(+)
5748 commit d0d1c51aea4351288a7e533cce28cb7f852f6b05
5749 Author: Lasse Collin <lasse.collin@tukaani.org>
5750 Date: 2010-03-06 21:17:20 +0200
5752 Fix missing initialization in lzma_strm_init().
5754 With bad luck, lzma_code() could return LZMA_BUF_ERROR
5757 This has been here since the early days of liblzma.
5758 It got triggered by the modifications made to the xz
5759 tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f
5760 but only when decompressing .lzma files. Somehow I managed
5761 to miss testing that with Valgrind earlier.
5763 This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>.
5764 Thanks to Rafał Mużyło for helping to debug it on IRC.
5766 src/liblzma/common/common.c | 1 +
5767 1 file changed, 1 insertion(+)
5769 commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea
5770 Author: Lasse Collin <lasse.collin@tukaani.org>
5771 Date: 2010-02-12 13:16:15 +0200
5773 Collection of language fixes to comments and docs.
5775 Thanks to Jonathan Nieder.
5780 extra/7z2lzma/7z2lzma.bash | 2 +-
5781 src/common/tuklib_progname.c | 2 +-
5782 src/common/tuklib_progname.h | 2 +-
5783 src/liblzma/api/lzma/base.h | 8 ++++----
5784 src/liblzma/api/lzma/bcj.h | 2 +-
5785 src/liblzma/api/lzma/block.h | 2 +-
5786 src/liblzma/api/lzma/check.h | 2 +-
5787 src/liblzma/api/lzma/filter.h | 4 ++--
5788 src/liblzma/api/lzma/index.h | 6 +++---
5789 src/liblzma/api/lzma/lzma.h | 2 +-
5790 src/liblzma/api/lzma/version.h | 2 +-
5791 src/liblzma/api/lzma/vli.h | 2 +-
5792 src/liblzma/common/block_header_encoder.c | 2 +-
5793 src/liblzma/common/chunk_size.c | 4 ++--
5794 src/liblzma/common/common.h | 4 ++--
5795 src/liblzma/common/filter_buffer_decoder.c | 2 +-
5796 src/liblzma/common/filter_encoder.c | 4 ++--
5797 src/liblzma/common/index.c | 6 +++---
5798 src/liblzma/common/index_encoder.c | 2 +-
5799 src/liblzma/common/stream_encoder.c | 2 +-
5800 src/liblzma/common/vli_decoder.c | 2 +-
5801 src/liblzma/lz/lz_encoder.c | 2 +-
5802 src/liblzma/lz/lz_encoder.h | 2 +-
5803 src/liblzma/lzma/lzma2_encoder.c | 2 +-
5804 src/liblzma/lzma/lzma_decoder.c | 4 ++--
5805 src/liblzma/lzma/lzma_decoder.h | 2 +-
5806 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
5807 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +-
5808 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
5809 src/liblzma/simple/simple_coder.c | 2 +-
5810 src/liblzma/subblock/subblock_encoder.c | 2 +-
5811 src/scripts/xzdiff.1 | 2 +-
5812 src/scripts/xzless.1 | 10 +++++-----
5813 src/xz/coder.c | 2 +-
5814 src/xz/file_io.c | 2 +-
5815 src/xz/main.c | 6 +++---
5816 src/xz/main.h | 2 +-
5817 src/xz/message.c | 10 +++++-----
5818 src/xz/message.h | 2 +-
5819 src/xz/xz.1 | 16 ++++++++--------
5820 src/xzdec/lzmadec_w32res.rc | 2 +-
5821 src/xzdec/xzdec_w32res.rc | 2 +-
5822 tests/test_index.c | 2 +-
5823 windows/build.sh | 4 ++--
5824 47 files changed, 77 insertions(+), 77 deletions(-)
5826 commit 4785f2021aa6a23f1caf724fcc823e562584f225
5827 Author: Lasse Collin <lasse.collin@tukaani.org>
5828 Date: 2010-02-12 12:41:20 +0200
5830 Fix jl -> jb in ASM files.
5832 src/liblzma/check/crc32_x86.S | 2 +-
5833 src/liblzma/check/crc64_x86.S | 4 ++--
5834 2 files changed, 3 insertions(+), 3 deletions(-)
5836 commit 6b50c9429bf85521d355adc61745d06ee017f8c8
5837 Author: Lasse Collin <lasse.collin@tukaani.org>
5838 Date: 2010-02-12 12:31:22 +0200
5840 Use __APPLE__ instead of __MACH__ in ASM files.
5842 This allows the files to work on HURD.
5844 Thanks to Jonathan Nieder.
5846 src/liblzma/check/crc32_x86.S | 8 ++++----
5847 src/liblzma/check/crc64_x86.S | 8 ++++----
5848 2 files changed, 8 insertions(+), 8 deletions(-)
5850 commit 6503fde658a5cdbdd907a788865470dd64771601
5851 Author: Lasse Collin <lasse.collin@tukaani.org>
5852 Date: 2010-02-07 19:48:06 +0200
5854 Subtle change to liblzma Block handling API.
5856 lzma_block.version has to be initialized even for
5857 lzma_block_header_decode(). This way a future version
5858 of liblzma won't allocate memory in a way that an old
5859 application doesn't know how to free it.
5861 The subtlety of this change is that all current apps
5862 using lzma_block_header_decode() will keep working for
5863 now, because the only possible version value is zero,
5864 and lzma_block_header_decode() unconditionally sets the
5865 version to zero even now. Unless fixed, these apps will
5866 break in the future if a new version of the Block options
5869 src/liblzma/api/lzma/block.h | 39 ++++++++++++++++---------------------
5870 src/liblzma/common/stream_decoder.c | 3 +++
5871 2 files changed, 20 insertions(+), 22 deletions(-)
5873 commit dd7c3841ff78cb94ce02b0220c6e4748460970f7
5874 Author: Lasse Collin <lasse.collin@tukaani.org>
5875 Date: 2010-02-02 11:50:11 +0200
5877 Fix wrong assertion.
5879 This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735.
5881 src/xz/main.c | 5 +++--
5882 1 file changed, 3 insertions(+), 2 deletions(-)
5884 commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be
5885 Author: Lasse Collin <lasse.collin@tukaani.org>
5886 Date: 2010-02-01 22:48:42 +0200
5891 1 file changed, 4 deletions(-)
5893 commit fef6333f52c8801308c3b78acb7942988541d137
5894 Author: Lasse Collin <lasse.collin@tukaani.org>
5895 Date: 2010-02-01 22:47:54 +0200
5897 Fix typos in comments.
5899 src/xz/list.c | 2 +-
5900 windows/build.sh | 2 +-
5901 2 files changed, 2 insertions(+), 2 deletions(-)
5903 commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735
5904 Author: Lasse Collin <lasse.collin@tukaani.org>
5905 Date: 2010-02-01 22:46:56 +0200
5907 Fix signal handling for --list.
5909 src/xz/main.c | 19 ++++++++++++++-----
5910 1 file changed, 14 insertions(+), 5 deletions(-)
5912 commit 82220a149015616f75641ee8bbea415137535b9b
5913 Author: Lasse Collin <lasse.collin@tukaani.org>
5914 Date: 2010-02-01 11:44:45 +0200
5916 Fix compression of symlinks with --force.
5918 xz --force accepted symlinks, but didn't remove
5919 them after successful compression. Instead, an error
5920 message was displayed.
5922 src/xz/file_io.c | 14 +++++++++++++-
5923 1 file changed, 13 insertions(+), 1 deletion(-)
5925 commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e
5926 Author: Lasse Collin <lasse.collin@tukaani.org>
5927 Date: 2010-02-01 10:20:57 +0200
5931 windows/build.sh | 5 ++---
5932 1 file changed, 2 insertions(+), 3 deletions(-)
5934 commit f9dd797a423a148903cf345b4146cb1fe1eab11d
5935 Author: Lasse Collin <lasse.collin@tukaani.org>
5936 Date: 2010-01-31 23:43:54 +0200
5941 1 file changed, 1 insertion(+)
5943 commit ee5ddb8b28419fe4923ded5c18a50570a762dcab
5944 Author: Lasse Collin <lasse.collin@tukaani.org>
5945 Date: 2010-01-31 23:41:29 +0200
5949 TODO | 17 +++++++++++------
5950 1 file changed, 11 insertions(+), 6 deletions(-)
5952 commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6
5953 Author: Lasse Collin <lasse.collin@tukaani.org>
5954 Date: 2010-01-31 23:35:04 +0200
5956 Mention TODO in README.
5959 1 file changed, 1 insertion(+)
5961 commit 2901a8e7e82af05675b8cd8758a8ceddb111359f
5962 Author: Lasse Collin <lasse.collin@tukaani.org>
5963 Date: 2010-01-31 23:31:14 +0200
5967 INSTALL | 52 ++++++++++++++++++++++++++--------------------------
5968 1 file changed, 26 insertions(+), 26 deletions(-)
5970 commit 8884e16864ba53fb4b58623d7537d7ef30c28e11
5971 Author: Lasse Collin <lasse.collin@tukaani.org>
5972 Date: 2010-01-31 23:28:51 +0200
5974 Revise the Windows build files.
5976 The old Makefile + config.h was deleted, because it
5977 becomes outdated too easily and building with the
5978 Autotools based build system works fine even on Windows.
5980 windows/build.sh hasn't got much testing, but it should
5981 work to build 32-bit x86 and x86-64 versions of XZ Utils
5982 using MSYS, MinGW or MinGW-w32, and MinGW-w64.
5984 windows/INSTALL-Windows.txt describes what packages are
5985 needed and how to install them.
5987 windows/README-Windows.txt is a readme file for the binary
5988 package that build.sh hopefully builds.
5990 There are no instructions about using Autotools for now,
5991 so those using a git snapshot may want to run
5992 "autoreconf -fi && ./configure && make mydist" on a UN*X
5993 box and then copy the resulting .tar.gz to a Windows.
5995 windows/INSTALL-Windows.txt | 131 ++++++++++++++++++
5996 windows/Makefile | 320 --------------------------------------------
5997 windows/README | 155 ---------------------
5998 windows/README-Windows.txt | 115 ++++++++++++++++
5999 windows/build.sh | 189 ++++++++++++++++++++++++++
6000 windows/config.h | 170 -----------------------
6001 6 files changed, 435 insertions(+), 645 deletions(-)
6003 commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c
6004 Author: Lasse Collin <lasse.collin@tukaani.org>
6005 Date: 2010-01-31 19:52:38 +0200
6007 Select the default integrity check type at runtime.
6009 Previously it was set statically to CRC64 or CRC32
6010 depending on options passed to the configure script.
6012 src/xz/coder.c | 19 ++++++++++++++-----
6013 1 file changed, 14 insertions(+), 5 deletions(-)
6015 commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1
6016 Author: Lasse Collin <lasse.collin@tukaani.org>
6017 Date: 2010-01-31 18:17:50 +0200
6019 Improve displaying of the memory usage limit.
6021 src/xz/coder.c | 8 +++-----
6022 src/xz/message.c | 37 +++++++++++++++++++++++++++++--------
6023 src/xz/util.c | 7 +++++++
6024 src/xz/util.h | 6 ++++++
6025 4 files changed, 45 insertions(+), 13 deletions(-)
6027 commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2
6028 Author: Lasse Collin <lasse.collin@tukaani.org>
6029 Date: 2010-01-31 12:53:56 +0200
6031 Don't use uninitialized sigset_t.
6033 If signal handlers haven't been established, then it's
6034 useless to try to block them, especially since the sigset_t
6035 used for blocking hasn't been initialized yet.
6037 src/xz/signals.c | 34 ++++++++++++++++++++++++----------
6038 1 file changed, 24 insertions(+), 10 deletions(-)
6040 commit 231c3c7098f1099a56abb8afece76fc9b8699f05
6041 Author: Lasse Collin <lasse.collin@tukaani.org>
6042 Date: 2010-01-31 12:01:54 +0200
6044 Delay opening the destionation file and other fixes.
6046 The opening of the destination file is now delayed a little.
6047 The coder is initialized, and if decompressing, the memory
6048 usage of the first Block compared against the memory
6049 usage limit before the destination file is opened. This
6050 means that if --force was used, the old "target" file won't
6051 be deleted so easily when something goes wrong very early.
6052 Thanks to Mark K for the bug report.
6054 The above fix required some changes to progress message
6055 handling. Now there is a separate function for setting and
6056 printing the filename. It is used also in list.c.
6058 list_file() now handles stdin correctly (gives an error).
6060 A useless check for user_abort was removed from file_io.c.
6062 src/xz/coder.c | 64 ++++++++++++++++++++++-----------
6063 src/xz/file_io.c | 107 +++++++++++++++++++++++++++----------------------------
6064 src/xz/file_io.h | 8 +++--
6065 src/xz/list.c | 28 +++++----------
6066 src/xz/message.c | 46 +++++++++++++-----------
6067 src/xz/message.h | 29 ++++++++++-----
6068 6 files changed, 157 insertions(+), 125 deletions(-)
6070 commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105
6071 Author: Lasse Collin <lasse.collin@tukaani.org>
6072 Date: 2010-01-29 22:48:04 +0200
6074 Add list.h to src/xz/Makefile.am.
6076 This should have been already in
6077 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1.
6079 src/xz/Makefile.am | 1 +
6080 1 file changed, 1 insertion(+)
6082 commit b4b1a56e0cbd597157858264f5c7189201ac9018
6083 Author: Lasse Collin <lasse.collin@tukaani.org>
6084 Date: 2010-01-29 13:24:27 +0200
6086 Add lzmainfo.1 to manfiles list to convert to .txt and .pdf.
6089 1 file changed, 1 insertion(+)
6091 commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95
6092 Author: Lasse Collin <lasse.collin@tukaani.org>
6093 Date: 2010-01-27 16:42:11 +0200
6095 Silence two compiler warnings on DOS-like systems.
6097 src/common/tuklib_open_stdxxx.c | 6 +++++-
6098 src/xz/file_io.c | 3 +++
6099 2 files changed, 8 insertions(+), 1 deletion(-)
6101 commit b063cc34a30a4edf109343ff373b2b62b8ca72d3
6102 Author: Lasse Collin <lasse.collin@tukaani.org>
6103 Date: 2010-01-27 13:31:03 +0200
6105 Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE.
6107 configure.ac | 9 ++-------
6108 src/liblzma/liblzma.pc.in | 2 +-
6109 src/lzmainfo/lzmainfo.c | 2 +-
6110 src/xz/message.c | 2 +-
6111 src/xzdec/xzdec.c | 2 +-
6112 5 files changed, 6 insertions(+), 11 deletions(-)
6114 commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f
6115 Author: Lasse Collin <lasse.collin@tukaani.org>
6116 Date: 2010-01-26 23:37:46 +0200
6118 Add a missing space to an error message.
6120 Thanks to Robert Readman.
6122 src/xz/args.c | 2 +-
6123 1 file changed, 1 insertion(+), 1 deletion(-)
6125 commit e5496f9628ff5979392a80421d0b63a4de8015b4
6126 Author: Lasse Collin <lasse.collin@tukaani.org>
6127 Date: 2010-01-26 22:53:37 +0200
6129 Use past tense in error message in io_unlink().
6131 Added a note to translators too.
6133 Thanks to Robert Readman.
6136 src/xz/file_io.c | 14 ++++++++++++--
6137 2 files changed, 13 insertions(+), 2 deletions(-)
6139 commit d9a9800597ea540090e434132c3b511217df0a2b
6140 Author: Lasse Collin <lasse.collin@tukaani.org>
6141 Date: 2010-01-26 15:42:24 +0200
6143 Fix too small static buffer in util.c.
6145 This was introduced in
6146 0dd6d007669b946543ca939a44243833c79e08f4 two days ago.
6148 src/xz/util.c | 9 ++++-----
6149 1 file changed, 4 insertions(+), 5 deletions(-)
6151 commit d0b4bbf5da068503c099cd456e294d7673548cc0
6152 Author: Lasse Collin <lasse.collin@tukaani.org>
6153 Date: 2010-01-26 14:46:43 +0200
6157 src/xz/main.c | 4 ++--
6158 1 file changed, 2 insertions(+), 2 deletions(-)
6160 commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1
6161 Author: Lasse Collin <lasse.collin@tukaani.org>
6162 Date: 2010-01-24 23:50:54 +0200
6164 Add initial version of xz --list.
6166 This is a bit rough but should be useful for basic things.
6167 Ideas (with detailed examples) about the output format are
6170 The output of --robot --list is not necessarily stable yet,
6171 although I don't currently have any plans about changing it.
6173 The man page hasn't been updated yet.
6175 src/xz/Makefile.am | 1 +
6176 src/xz/list.c | 988 ++++++++++++++++++++++++++++++++++-------------------
6177 src/xz/list.h | 18 +
6178 src/xz/main.c | 19 +-
6179 src/xz/private.h | 1 +
6180 5 files changed, 668 insertions(+), 359 deletions(-)
6182 commit df254ce03be016e217b511e7acd5d493f9929ca5
6183 Author: Lasse Collin <lasse.collin@tukaani.org>
6184 Date: 2010-01-24 22:46:11 +0200
6188 It will be used by --list.
6190 src/xz/file_io.c | 25 +++++++++++++++++++++++++
6191 src/xz/file_io.h | 17 +++++++++++++++++
6192 2 files changed, 42 insertions(+)
6194 commit ef68dd4a92976276304de2aedfbe34ae91a86abb
6195 Author: Lasse Collin <lasse.collin@tukaani.org>
6196 Date: 2010-01-24 22:45:14 +0200
6198 Set LC_NUMERIC=C when --robot is used.
6200 It is to ensure that floating point numbers
6201 will always have a dot as the decimal separator.
6203 src/xz/args.c | 4 ++++
6204 1 file changed, 4 insertions(+)
6206 commit 0dd6d007669b946543ca939a44243833c79e08f4
6207 Author: Lasse Collin <lasse.collin@tukaani.org>
6208 Date: 2010-01-24 16:57:40 +0200
6210 Some improvements to printing sizes in xz.
6212 src/xz/coder.c | 56 +++++++++++++++------------------------
6213 src/xz/message.c | 80 ++++++++++++++++++--------------------------------------
6214 src/xz/message.h | 4 +++
6215 src/xz/util.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++
6216 src/xz/util.h | 44 +++++++++++++++++++++++++++++++
6217 5 files changed, 166 insertions(+), 90 deletions(-)
6219 commit 2a98fdffd68c66371279c211c29153c808ad5c1d
6220 Author: Lasse Collin <lasse.collin@tukaani.org>
6221 Date: 2010-01-20 22:02:35 +0200
6223 Fix a typo in README.
6225 Thanks to R. Bijker.
6228 1 file changed, 1 insertion(+), 1 deletion(-)
6230 commit 07a11dad44e041b01dcfc73e8d4e00731158c06d
6231 Author: Lasse Collin <lasse.collin@tukaani.org>
6232 Date: 2010-01-17 11:59:54 +0200
6234 Updated windows/Makefile.
6236 Thanks to Dan Shechter for the patch.
6238 It is likely that windows/Makefile will be removed
6239 completely, because Autotols based build nowadays
6240 works well with both 32-bit and 64-bit MinGW (I
6241 just need to update the docs).
6243 windows/Makefile | 38 +++++++++++++++++++++++++-------------
6244 windows/config.h | 2 ++
6245 2 files changed, 27 insertions(+), 13 deletions(-)
6247 commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3
6248 Author: Lasse Collin <lasse.collin@tukaani.org>
6249 Date: 2010-01-15 11:05:11 +0200
6251 Update the xz man page to match the previous two commits.
6253 src/xz/xz.1 | 9 +++------
6254 1 file changed, 3 insertions(+), 6 deletions(-)
6256 commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7
6257 Author: Lasse Collin <lasse.collin@tukaani.org>
6258 Date: 2010-01-13 19:10:25 +0200
6260 Don't read compressed data from a terminal or write it
6261 to a terminal even if --force is specified.
6263 It just seems more reasonable this way.
6265 The new behavior matches bzip2. The old one matched gzip.
6267 src/xz/main.c | 20 +++++++++-----------
6268 src/xz/util.c | 8 ++++----
6269 2 files changed, 13 insertions(+), 15 deletions(-)
6271 commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4
6272 Author: Lasse Collin <lasse.collin@tukaani.org>
6273 Date: 2010-01-13 18:12:40 +0200
6275 Don't compress or decompress special files unless writing
6276 to stdout even if --force is used.
6278 --force will still enable compression of symlinks, but only
6279 in case they point to a regular file.
6281 The new way simply seems more reasonable. It matches gzip's
6282 behavior while the old one matched bzip2's behavior.
6284 src/xz/file_io.c | 15 ++++++++++-----
6285 1 file changed, 10 insertions(+), 5 deletions(-)
6287 commit cee12aa852ec0902983dc1f153346ef750157fb9
6288 Author: Lasse Collin <lasse.collin@tukaani.org>
6289 Date: 2010-01-12 16:30:33 +0200
6294 1 file changed, 1 insertion(+)
6296 commit 153c7740c54b3c90129dbd3d6153ac1303c4d605
6297 Author: Lasse Collin <lasse.collin@tukaani.org>
6298 Date: 2010-01-12 16:18:14 +0200
6300 Add IRIX-specific code to tuklib_physmem and tuklib_cpucores.
6302 This is untested but it will get tested soon and, if needed,
6305 Thanks to Stuart Shelton.
6307 m4/tuklib_cpucores.m4 | 11 +++++++++--
6308 m4/tuklib_physmem.m4 | 22 +++++++++++++++++++++-
6309 src/common/tuklib_cpucores.c | 6 ++++++
6310 src/common/tuklib_physmem.c | 19 +++++++++++++++++++
6311 4 files changed, 55 insertions(+), 3 deletions(-)
6313 commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1
6314 Author: Lasse Collin <lasse.collin@tukaani.org>
6315 Date: 2010-01-01 00:29:10 +0200
6317 Fix _memconfig() functions.
6319 This affects lzma_memusage() and lzma_memlimit_get().
6321 src/liblzma/api/lzma/index.h | 7 -------
6322 src/liblzma/common/alone_decoder.c | 11 +++++++----
6323 src/liblzma/common/index_decoder.c | 10 ++++++----
6324 src/liblzma/common/stream_decoder.c | 11 +++++++----
6325 4 files changed, 20 insertions(+), 19 deletions(-)
6327 commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691
6328 Author: Lasse Collin <lasse.collin@tukaani.org>
6329 Date: 2009-12-31 22:45:53 +0200
6331 Revised the Index handling code.
6333 This breaks API and ABI but most apps are not affected
6334 since most apps don't use this part of the API. You will
6335 get a compile error if you are using anything that got
6340 - Ability to store Stream Flags, which are needed
6341 for random-access reading in multi-Stream files.
6343 - Separate function to set size of Stream Padding.
6345 - Iterator structure makes it possible to read the same
6346 lzma_index from multiple threads at the same time.
6348 - A lot faster code to locate Blocks.
6350 - Removed lzma_index_equal() without adding anything
6351 to replace it. I don't know what it should do exactly
6352 with the new features and what actually needs this
6353 function in the first place other than test_index.c,
6354 which now has its own code to compare lzma_indexes.
6356 src/liblzma/api/lzma/index.h | 572 +++++++---
6357 src/liblzma/common/index.c | 1553 ++++++++++++++++++----------
6358 src/liblzma/common/index.h | 6 +
6359 src/liblzma/common/index_decoder.c | 12 +-
6360 src/liblzma/common/index_encoder.c | 36 +-
6361 src/liblzma/common/index_encoder.h | 2 +-
6362 src/liblzma/common/stream_buffer_encoder.c | 6 +-
6363 src/liblzma/common/stream_encoder.c | 3 +-
6364 tests/test_index.c | 371 ++++---
6365 9 files changed, 1703 insertions(+), 858 deletions(-)
6367 commit f29997a846e673cb3b8cbd57de47ed313b3978bb
6368 Author: Lasse Collin <lasse.collin@tukaani.org>
6369 Date: 2009-12-31 21:13:25 +0200
6371 Remove c-format tag in cs.po.
6373 It was fixed in the C code earlier.
6376 1 file changed, 1 deletion(-)
6378 commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644
6379 Author: Lasse Collin <lasse.collin@tukaani.org>
6380 Date: 2009-12-31 21:11:05 +0200
6382 Add missing lzma_nothrow in filter.h.
6384 src/liblzma/api/lzma/filter.h | 4 ++--
6385 1 file changed, 2 insertions(+), 2 deletions(-)
6387 commit b56cb1fc31fa2381f92eefc040df85667048d626
6388 Author: Lasse Collin <lasse.collin@tukaani.org>
6389 Date: 2009-12-09 18:13:44 +0200
6391 Remove redefinition of _(msgid) macro from lzmainfo.c.
6393 src/lzmainfo/lzmainfo.c | 7 -------
6394 1 file changed, 7 deletions(-)
6396 commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2
6397 Author: Jonathan Nieder <jrnieder@gmail.com>
6398 Date: 2009-12-08 19:41:57 -0600
6400 update po/.gitignore
6402 Since the *.gmo files are deleted by the maintainer-clean target,
6403 I assume they are not meant to be tracked.
6405 Also add the other files listed in the Makefile’s clean targets
6406 (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they
6407 are not accidentally tracked. Most of these are intermediate
6408 files that would not appear unless a build is interrupted or
6411 Split the list of untracked files by origin to make it easier to
6412 tell if files are missing in the future.
6414 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
6416 po/.gitignore | 28 ++++++++++++++++++++++------
6417 1 file changed, 22 insertions(+), 6 deletions(-)
6419 commit f7e44c6c11f630519072971b8b07a5729c096c36
6420 Author: Lasse Collin <lasse.collin@tukaani.org>
6421 Date: 2009-12-09 00:38:55 +0200
6423 Always rely on GCC's auto-import on Windows.
6425 I understood that this is nicer, because then people
6426 don't need to worry about the LZMA_API_STATIC macro.
6428 Thanks to Charles Wilson and Keith Marshall.
6430 src/liblzma/api/lzma.h | 16 +++++++++-------
6431 1 file changed, 9 insertions(+), 7 deletions(-)
6433 commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c
6434 Author: Lasse Collin <lasse.collin@tukaani.org>
6435 Date: 2009-12-07 21:46:53 +0200
6437 Fix file_io.c on DOS-like systems.
6439 The problem was introduced when adding sparse file
6440 support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902.
6442 Thanks to Charles Wilson.
6444 src/xz/file_io.c | 4 ++++
6445 1 file changed, 4 insertions(+)
6447 commit 0696f5d268362221380e039bad48a86e29067c6a
6448 Author: Lasse Collin <lasse.collin@tukaani.org>
6449 Date: 2009-12-07 20:54:21 +0200
6451 Add Czech translation.
6453 Thanks to Marek Černocký.
6455 Other people planning to translate xz: Note that the
6456 messages are a little bit in flux still. Translations
6457 are still welcome, just be prepared to some extra work
6458 in case there are changes.
6462 po/cs.po | 637 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6463 3 files changed, 639 insertions(+)
6465 commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5
6466 Author: Lasse Collin <lasse.collin@tukaani.org>
6467 Date: 2009-12-07 20:32:08 +0200
6469 Add a note for translators to add a bug reporting address
6470 for translation bugs.
6472 src/xz/message.c | 4 ++++
6473 1 file changed, 4 insertions(+)
6475 commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37
6476 Author: Lasse Collin <lasse.collin@tukaani.org>
6477 Date: 2009-12-07 20:07:02 +0200
6479 Prevent xgettext from taking one regular string as a C format string.
6481 Thanks to Marek Černocký.
6483 src/xz/message.c | 2 +-
6484 1 file changed, 1 insertion(+), 1 deletion(-)
6486 commit e0c2776b6ffbd2b1900fde353aceac734edc93d7
6487 Author: Lasse Collin <lasse.collin@tukaani.org>
6488 Date: 2009-11-28 17:45:22 +0200
6490 Remove duplicate code in io_open_dest().
6492 Fix a missing _() in the error message too.
6494 src/xz/file_io.c | 9 +--------
6495 1 file changed, 1 insertion(+), 8 deletions(-)
6497 commit f057a33c6f7c5992389479f2d4feabf2900ba7ee
6498 Author: Lasse Collin <lasse.collin@tukaani.org>
6499 Date: 2009-11-26 10:11:23 +0200
6501 Typo fix to sysdefs.h.
6503 Thanks to Jonathan Nieder.
6505 src/common/sysdefs.h | 2 +-
6506 1 file changed, 1 insertion(+), 1 deletion(-)
6508 commit 8767b41534eafdf5e742e12190646bf5740b0cdb
6509 Author: Lasse Collin <lasse.collin@tukaani.org>
6510 Date: 2009-11-26 10:10:36 +0200
6512 Fix a memory leak in test_index.c.
6514 This was introduced in
6515 bd13b04e202b6f495a68eb0766f97085b7c50a06.
6517 Thanks to Jim Meyering for noticing it.
6519 tests/test_index.c | 2 ++
6520 1 file changed, 2 insertions(+)
6522 commit 919fbaff860acdaa4bcd216500a0b1c960a6db92
6523 Author: Lasse Collin <lasse.collin@tukaani.org>
6524 Date: 2009-11-25 14:22:19 +0200
6526 Add missing error check to coder.c.
6528 With bad luck this could cause a segfault due to
6529 reading (but not writing) past the end of the buffer.
6531 src/xz/coder.c | 20 +++++++++++---------
6532 1 file changed, 11 insertions(+), 9 deletions(-)
6534 commit bd13b04e202b6f495a68eb0766f97085b7c50a06
6535 Author: Lasse Collin <lasse.collin@tukaani.org>
6536 Date: 2009-11-25 13:04:10 +0200
6538 Fix bugs in lzma_index_read() and lzma_index_cat().
6540 lzma_index_read() didn't skip over Stream Padding
6541 if it was the first record in the Index.
6543 lzma_index_cat() didn't combine small Indexes correctly.
6545 The test suite was updated to check for these bugs.
6547 These bugs didn't affect the xz command line tool or
6548 most users of liblzma in any way.
6550 src/liblzma/common/index.c | 30 +++++++++++++++++++-----------
6551 tests/test_index.c | 28 +++++++++++++++++++++++++---
6552 2 files changed, 44 insertions(+), 14 deletions(-)
6554 commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa
6555 Author: Lasse Collin <lasse.collin@tukaani.org>
6556 Date: 2009-11-25 12:52:56 +0200
6558 Index decoder fixes.
6560 The Index decoder code didn't perfectly match the API docs,
6561 which said that *i will be set to point to the decoded Index
6562 only after decoding has succeeded. The docs were a bit unclear
6565 Now the decoder will initially set *i to NULL. *i will be set
6566 to point to the decoded Index once decoding has succeeded.
6567 This simplifies applications too, since it avoids dangling
6570 src/liblzma/api/lzma/index.h | 23 ++++++++++++-----------
6571 src/liblzma/common/index_decoder.c | 26 ++++++++++++++++++++------
6572 2 files changed, 32 insertions(+), 17 deletions(-)
6574 commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902
6575 Author: Lasse Collin <lasse.collin@tukaani.org>
6576 Date: 2009-11-25 11:19:20 +0200
6578 Create sparse files by default when decompressing into
6581 Sparse file creation can be disabled with --no-sparse.
6582 I don't promise yet that the name of this option won't
6583 change before 5.0.0. It's possible that the code, that
6584 checks when it is safe to use sparse output on stdout,
6585 is not good enough, and a more flexible command line
6586 option is needed to configure sparse file handling.
6588 src/xz/args.c | 6 ++
6589 src/xz/coder.c | 33 ++++----
6590 src/xz/file_io.c | 243 +++++++++++++++++++++++++++++++++++++++++++++++--------
6591 src/xz/file_io.h | 34 ++++++--
6592 src/xz/message.c | 1 +
6593 src/xz/xz.1 | 11 +++
6594 6 files changed, 272 insertions(+), 56 deletions(-)
6596 commit 37de544414fc2dc5039471d1002ebd015eb3e627
6597 Author: Lasse Collin <lasse.collin@tukaani.org>
6598 Date: 2009-11-22 12:43:06 +0200
6603 1 file changed, 1 insertion(+)
6605 commit f1a28b96c900c658fe016852ff62f6c24d1f50fa
6606 Author: Lasse Collin <lasse.collin@tukaani.org>
6607 Date: 2009-11-22 12:05:33 +0200
6609 Add missing consts to pointer casts.
6611 src/liblzma/check/crc32_fast.c | 4 ++--
6612 src/liblzma/check/crc64_fast.c | 5 +++--
6613 2 files changed, 5 insertions(+), 4 deletions(-)
6615 commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef
6616 Author: Lasse Collin <lasse.collin@tukaani.org>
6617 Date: 2009-11-22 12:00:30 +0200
6619 Enable assembler code only if it is known to work
6620 on that operating system.
6622 I'm too lazy to think how to make a good Autoconf test
6623 for this and it's not that important anyway.
6625 No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64.
6626 Inline assembler (if any) is used if a macro like
6627 __i386__ or __x86_64__ is defined.
6629 configure.ac | 26 ++++++++++++--------------
6630 1 file changed, 12 insertions(+), 14 deletions(-)
6632 commit 0733f4c9994db696420a405810d5f02c79ebc404
6633 Author: Lasse Collin <lasse.collin@tukaani.org>
6634 Date: 2009-11-22 11:55:03 +0200
6636 Make fastpos.h use tuklib_integer.h instead of bsr.h
6637 when --enable-small has been specified.
6639 src/liblzma/common/Makefile.inc | 1 -
6640 src/liblzma/common/bsr.h | 60 -----------------------------------------
6641 src/liblzma/lzma/fastpos.h | 5 +---
6642 3 files changed, 1 insertion(+), 65 deletions(-)
6644 commit 7ac3985d891dcc5773543f84cc5bce6c14841b12
6645 Author: Lasse Collin <lasse.collin@tukaani.org>
6646 Date: 2009-11-22 11:52:30 +0200
6648 Update tuklib_integer.h with bit scan functions.
6650 Thanks to Joachim Henke for the original patch.
6652 src/common/tuklib_integer.h | 189 ++++++++++++++++++++++++++++++++++++++++++--
6653 1 file changed, 181 insertions(+), 8 deletions(-)
6655 commit c74c132f7f79a842c073c66575a4fdb985e4c2e3
6656 Author: Lasse Collin <lasse.collin@tukaani.org>
6657 Date: 2009-11-20 12:51:19 +0200
6659 Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib,
6660 which now use AC_CACHE_CHECK. Using the cache variable,
6661 configure now warns if there is no method to detect the amount
6662 of RAM and recommends using --enable-assume-ram.
6664 configure.ac | 16 ++++++++++++++++
6665 m4/tuklib_cpucores.m4 | 31 ++++++++++++++++++-------------
6666 m4/tuklib_physmem.m4 | 50 +++++++++++++++++++++++++++-----------------------
6667 3 files changed, 61 insertions(+), 36 deletions(-)
6669 commit d315ca4930ff96e1428c6021c96f209e1abdd83e
6670 Author: Lasse Collin <lasse.collin@tukaani.org>
6671 Date: 2009-11-16 18:16:45 +0200
6673 Add support for --info-memory and --robot to xz.
6675 Currently --robot works only with --info-memory and
6676 --version. --help and --long-help work too, but --robot
6677 has no effect on them.
6679 Thanks to Jonathan Nieder for the original patches.
6681 src/xz/args.c | 85 +++++++++++++++++++++++++++++++++-----------------------
6683 src/xz/main.c | 11 +++++---
6684 src/xz/message.c | 47 +++++++++++++++++++++++--------
6685 src/xz/message.h | 4 +++
6686 src/xz/xz.1 | 40 +++++++++++++++++++++++---
6687 6 files changed, 133 insertions(+), 55 deletions(-)
6689 commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e
6690 Author: Lasse Collin <lasse.collin@tukaani.org>
6691 Date: 2009-11-15 12:54:45 +0200
6693 Fix wrong indentation caused by incorrect settings
6696 src/liblzma/lz/lz_decoder.c | 18 +++++++++---------
6697 src/liblzma/lzma/lzma2_encoder.c | 6 +++---
6698 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +-
6699 3 files changed, 13 insertions(+), 13 deletions(-)
6701 commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4
6702 Author: Lasse Collin <lasse.collin@tukaani.org>
6703 Date: 2009-11-15 12:40:17 +0200
6707 I had hoped to keep liblzma as purely a compression
6708 library as possible (e.g. file I/O will go into
6709 a different library), but it seems that applications
6710 linking agaisnt liblzma need some way to determine
6711 the memory usage limit, and knowing the amount of RAM
6712 is one reasonable way to help making such decisions.
6714 Thanks to Jonathan Nieder for the original patch.
6716 src/liblzma/Makefile.am | 5 ++--
6717 src/liblzma/api/Makefile.am | 1 +
6718 src/liblzma/api/lzma.h | 3 +++
6719 src/liblzma/api/lzma/hardware.h | 51 +++++++++++++++++++++++++++++++++++
6720 src/liblzma/common/Makefile.inc | 1 +
6721 src/liblzma/common/hardware_physmem.c | 25 +++++++++++++++++
6722 src/xz/Makefile.am | 1 -
6723 src/xz/hardware.c | 3 +--
6724 src/xzdec/Makefile.am | 6 ++---
6725 src/xzdec/xzdec.c | 3 +--
6726 10 files changed, 88 insertions(+), 11 deletions(-)
6728 commit cf39faca59083d38422058c6c97aa757ea7797d0
6729 Author: Lasse Collin <lasse.collin@tukaani.org>
6730 Date: 2009-11-14 20:21:19 +0200
6735 1 file changed, 1 insertion(+)
6737 commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f
6738 Author: Lasse Collin <lasse.collin@tukaani.org>
6739 Date: 2009-11-14 20:20:03 +0200
6741 Some updates to xz man page.
6743 src/xz/xz.1 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++-----
6744 1 file changed, 49 insertions(+), 5 deletions(-)
6746 commit 19b2674f07f8b588dfaf6638396b4b42866d7e23
6747 Author: Lasse Collin <lasse.collin@tukaani.org>
6748 Date: 2009-11-14 19:51:03 +0200
6750 Fix description of --memory in --long-help.
6752 src/xz/message.c | 3 +--
6753 1 file changed, 1 insertion(+), 2 deletions(-)
6755 commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8
6756 Author: Lasse Collin <lasse.collin@tukaani.org>
6757 Date: 2009-11-14 19:45:39 +0200
6759 Update the debug programs so that they compile again.
6762 debug/memusage.c | 6 ++++--
6763 debug/sync_flush.c | 14 +++++++++-----
6764 3 files changed, 14 insertions(+), 7 deletions(-)
6766 commit 418d64a32e8144210f98a810738fed5a897e8367
6767 Author: Lasse Collin <lasse.collin@tukaani.org>
6768 Date: 2009-11-14 18:59:19 +0200
6770 Fix a design error in liblzma API.
6772 Originally the idea was that using LZMA_FULL_FLUSH
6773 with Stream encoder would read the filter chain
6774 from the same array that was used to intialize the
6775 Stream encoder. Since most apps wouldn't use
6776 LZMA_FULL_FLUSH, most apps wouldn't need to keep
6777 the filter chain available after initializing the
6778 Stream encoder. However, due to my mistake, it
6779 actually required keeping the array always available.
6781 Since setting the new filter chain via the array
6782 used at initialization time is not a nice way to do
6783 it for a couple of reasons, this commit ditches it
6784 and introduces lzma_filters_update(). This new function
6785 replaces also the "persistent" flag used by LZMA2
6786 (and to-be-designed Subblock filter), which was also
6787 an ugly thing to do.
6789 Thanks to Alexey Tourbin for reminding me about the problem
6790 that Stream encoder used to require keeping the filter
6793 src/liblzma/api/lzma/filter.h | 30 +++++++++++++
6794 src/liblzma/api/lzma/lzma.h | 13 ------
6795 src/liblzma/common/block_encoder.c | 14 ++++++
6796 src/liblzma/common/common.c | 20 ++++++++-
6797 src/liblzma/common/common.h | 22 ++++++++++
6798 src/liblzma/common/easy_encoder.c | 63 ++-------------------------
6799 src/liblzma/common/filter_common.c | 3 ++
6800 src/liblzma/common/filter_encoder.c | 27 ++++++++++++
6801 src/liblzma/common/filter_encoder.h | 2 +-
6802 src/liblzma/common/stream_encoder.c | 76 ++++++++++++++++++++++++++++-----
6803 src/liblzma/delta/delta_common.c | 5 +--
6804 src/liblzma/delta/delta_decoder.c | 3 +-
6805 src/liblzma/delta/delta_encoder.c | 17 +++++++-
6806 src/liblzma/delta/delta_private.h | 2 +-
6807 src/liblzma/lz/lz_encoder.c | 17 ++++++++
6808 src/liblzma/lz/lz_encoder.h | 4 ++
6809 src/liblzma/lzma/lzma2_encoder.c | 59 ++++++++++++++-----------
6810 src/liblzma/lzma/lzma_encoder_presets.c | 1 -
6811 src/liblzma/simple/simple_coder.c | 12 ++++++
6812 src/xz/options.c | 1 -
6813 20 files changed, 273 insertions(+), 118 deletions(-)
6815 commit f0bf7634b77263a4dd02b20c71861ab67995da68
6816 Author: Lasse Collin <lasse.collin@tukaani.org>
6817 Date: 2009-10-17 11:11:58 +0300
6819 Fix wrong function name in the previous commit.
6821 It was meant to be lzma_filters_copy(), not lzma_filters_dup().
6823 src/liblzma/api/lzma/filter.h | 2 +-
6824 src/liblzma/common/filter_common.c | 2 +-
6825 2 files changed, 2 insertions(+), 2 deletions(-)
6827 commit 6d118a0b9def82e96afba7386ec8d7da0b59649f
6828 Author: Lasse Collin <lasse.collin@tukaani.org>
6829 Date: 2009-10-17 01:47:07 +0300
6831 Add lzma_filters_copy().
6833 This will be needed internally by liblzma once I fix
6834 a design mistake in the encoder API. This function may
6835 be useful to applications too so it's good to export it.
6837 src/liblzma/api/lzma/filter.h | 31 ++++++++++++++
6838 src/liblzma/common/filter_common.c | 82 ++++++++++++++++++++++++++++++++++++++
6839 2 files changed, 113 insertions(+)
6841 commit 78e92c18470483e161388e679c1ee556adb3a691
6842 Author: Jonathan Nieder <jrnieder@gmail.com>
6843 Date: 2009-10-15 20:44:13 -0500
6845 Escape dashes in xzmore.1
6847 A minus sign is larger, easier to see in a printout, and more
6848 likely to use the same glyph as ASCII hyphen-minus in a terminal
6849 than a hyphen. Since broken manual pagers do not find hyphens
6850 when the user searches for a hyphen-minus, minus signs are also
6851 easier to search for. So use minus signs instead of hyphens to
6852 render sample terminal output.
6854 src/scripts/xzmore.1 | 4 ++--
6855 1 file changed, 2 insertions(+), 2 deletions(-)
6857 commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee
6858 Author: Lasse Collin <lasse.collin@tukaani.org>
6859 Date: 2009-10-16 20:35:39 +0300
6861 Mention --check=none in --long-help. It was already in
6862 the man page though.
6864 Thanks to Jim Meyering for noticing this.
6866 src/xz/message.c | 2 +-
6867 1 file changed, 1 insertion(+), 1 deletion(-)
6869 commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24
6870 Author: Lasse Collin <lasse.collin@tukaani.org>
6871 Date: 2009-10-04 22:57:12 +0300
6873 Use a tuklib module for integer handling.
6875 This replaces bswap.h and integer.h.
6877 The tuklib module uses <byteswap.h> on GNU,
6878 <sys/endian.h> on *BSDs and <sys/byteorder.h>
6879 on Solaris, which may contain optimized code
6880 like inline assembly.
6882 configure.ac | 54 +----
6883 m4/tuklib_integer.m4 | 74 +++++++
6884 src/common/bswap.h | 52 -----
6885 src/common/integer.h | 170 ---------------
6886 src/common/tuklib_config.h | 8 +-
6887 src/common/tuklib_integer.h | 350 ++++++++++++++++++++++++++++++
6888 src/liblzma/check/check.c | 4 +-
6889 src/liblzma/check/crc32_fast.c | 4 +-
6890 src/liblzma/check/crc32_tablegen.c | 8 +-
6891 src/liblzma/check/crc64_fast.c | 4 +-
6892 src/liblzma/check/crc64_tablegen.c | 8 +-
6893 src/liblzma/check/crc_macros.h | 2 -
6894 src/liblzma/check/sha256.c | 18 +-
6895 src/liblzma/common/alone_encoder.c | 2 +-
6896 src/liblzma/common/block_header_decoder.c | 2 +-
6897 src/liblzma/common/block_header_encoder.c | 2 +-
6898 src/liblzma/common/common.h | 2 +-
6899 src/liblzma/common/stream_flags_decoder.c | 6 +-
6900 src/liblzma/common/stream_flags_encoder.c | 6 +-
6901 src/liblzma/lz/lz_encoder_hash.h | 2 +-
6902 src/liblzma/lzma/lzma_decoder.c | 2 +-
6903 src/liblzma/lzma/lzma_encoder.c | 2 +-
6904 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
6905 src/liblzma/simple/simple_decoder.c | 2 +-
6906 src/liblzma/simple/simple_encoder.c | 2 +-
6907 tests/test_block_header.c | 4 +-
6908 tests/test_stream_flags.c | 6 +-
6909 tests/tests.h | 2 +-
6910 28 files changed, 467 insertions(+), 333 deletions(-)
6912 commit 29fd321033276261b87da7be5223db33d879a4c7
6913 Author: Lasse Collin <lasse.collin@tukaani.org>
6914 Date: 2009-10-02 14:35:56 +0300
6916 Add support for --enable-assume-ram=SIZE.
6918 INSTALL | 16 ++++++++++++++++
6919 configure.ac | 24 ++++++++++++++++++++++++
6920 src/xz/hardware.c | 7 +++----
6921 src/xzdec/xzdec.c | 5 +++--
6922 4 files changed, 46 insertions(+), 6 deletions(-)
6924 commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25
6925 Author: Lasse Collin <lasse.collin@tukaani.org>
6926 Date: 2009-10-02 11:28:17 +0300
6928 Use unaligned access (if possible) on both endiannesses
6929 in lz_encoder_hash.h.
6931 src/liblzma/lz/lz_encoder_hash.h | 4 ++--
6932 1 file changed, 2 insertions(+), 2 deletions(-)
6934 commit c5f68b5cc79085a87f950fea53843e27f328068e
6935 Author: Lasse Collin <lasse.collin@tukaani.org>
6936 Date: 2009-10-02 11:03:26 +0300
6938 Make liblzma produce the same output on both endiannesses.
6940 Seems that it is a problem in some cases if the same
6941 version of XZ Utils produces different output on different
6942 endiannesses, so this commit fixes that problem. The output
6943 will still vary between different XZ Utils versions, but I
6944 cannot avoid that for now.
6946 This commit bloatens the code on big endian systems by 1 KiB,
6947 which should be OK since liblzma is bloated already. ;-)
6949 src/liblzma/check/crc32_tablegen.c | 30 +++++++++++++++
6950 src/liblzma/lz/Makefile.inc | 1 +
6951 src/liblzma/lz/lz_encoder.c | 7 +++-
6952 src/liblzma/lz/lz_encoder_hash.h | 35 +++++++++++------
6953 src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++++
6954 src/liblzma/lz/lz_encoder_mf.c | 1 -
6955 6 files changed, 128 insertions(+), 14 deletions(-)
6957 commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a
6958 Author: Mike Frysinger <vapier@gentoo.org>
6959 Date: 2009-09-26 12:51:50 -0400
6961 add lzmainfo to gitignore
6963 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
6966 1 file changed, 2 insertions(+)
6968 commit 188a1dcd0cc7867810ed3a55c598d0680922c63b
6969 Author: Lasse Collin <lasse.collin@tukaani.org>
6970 Date: 2009-09-27 11:53:36 +0300
6975 1 file changed, 1 insertion(+)
6977 commit db9119b9181b307e7ac5d2bae82444d04b902b59
6978 Author: Lasse Collin <lasse.collin@tukaani.org>
6979 Date: 2009-09-27 11:48:54 +0300
6981 Work around a bug in Interix header files.
6983 Thanks to Markus Duft for the patch.
6985 src/common/sysdefs.h | 6 ++++++
6986 1 file changed, 6 insertions(+)
6988 commit b3d105e69786a45963176fd2193abe75e05ba738
6989 Author: Lasse Collin <lasse.collin@tukaani.org>
6990 Date: 2009-09-24 17:50:17 +0300
6992 Fix an error in OpenVMS-specific code.
6994 Thanks to Jouk Jansen.
6996 src/xz/file_io.c | 2 +-
6997 1 file changed, 1 insertion(+), 1 deletion(-)
6999 commit 5e000ff00d4d01e559397b49eb648ad3f159d496
7000 Author: Lasse Collin <lasse.collin@tukaani.org>
7001 Date: 2009-09-22 18:59:56 +0300
7003 Added OpenVMS-specific information to INSTALL.
7005 INSTALL | 11 +++++++++++
7006 1 file changed, 11 insertions(+)
7008 commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4
7009 Author: Lasse Collin <lasse.collin@tukaani.org>
7010 Date: 2009-09-22 14:03:02 +0300
7012 Better fixes for OpenVMS support.
7014 Thanks to Jouk Jansen.
7016 src/xz/file_io.c | 19 ++++++++++++++++---
7017 1 file changed, 16 insertions(+), 3 deletions(-)
7019 commit 4c3630ec4179fe9265407a35c4db1374ffc82372
7020 Author: Lasse Collin <lasse.collin@tukaani.org>
7021 Date: 2009-09-22 13:40:19 +0300
7023 Avoid non-standard preprocessor construct.
7025 Thanks to Jouk Jansen.
7027 src/common/tuklib_common.h | 11 +++++++----
7028 1 file changed, 7 insertions(+), 4 deletions(-)
7030 commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9
7031 Author: Lasse Collin <lasse.collin@tukaani.org>
7032 Date: 2009-09-21 19:50:09 +0300
7034 Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
7036 Thanks to Charles Wilson.
7038 src/common/tuklib_common.h | 3 ++-
7039 1 file changed, 2 insertions(+), 1 deletion(-)
7041 commit e599bba4216c0edb8cc8f40adad3a6dba88685f4
7042 Author: Lasse Collin <lasse.collin@tukaani.org>
7043 Date: 2009-09-19 09:47:30 +0300
7047 Separate a few reusable components from XZ Utils specific
7048 code. The reusable code is now in "tuklib" modules. A few
7049 more could be separated still, e.g. bswap.h.
7051 Fix some bugs in lzmainfo.
7053 Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol
7056 Add OpenVMS support into physmem. Add a few #ifdefs to ease
7057 building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the
7061 configure.ac | 12 ++--
7062 m4/lc_cpucores.m4 | 57 ----------------
7063 m4/lc_physmem.m4 | 84 -----------------------
7064 m4/tuklib_common.m4 | 22 ++++++
7065 m4/tuklib_cpucores.m4 | 72 ++++++++++++++++++++
7066 m4/tuklib_physmem.m4 | 119 ++++++++++++++++++++++++++++++++
7067 m4/tuklib_progname.m4 | 25 +++++++
7068 src/common/cpucores.h | 51 --------------
7069 src/common/open_stdxxx.h | 49 --------------
7070 src/common/physmem.h | 144 ---------------------------------------
7071 src/common/sysdefs.h | 4 --
7072 src/common/tuklib_common.h | 67 ++++++++++++++++++
7073 src/common/tuklib_config.h | 1 +
7074 src/common/tuklib_cpucores.c | 46 +++++++++++++
7075 src/common/tuklib_cpucores.h | 23 +++++++
7076 src/common/tuklib_exit.c | 57 ++++++++++++++++
7077 src/common/tuklib_exit.h | 25 +++++++
7078 src/common/tuklib_gettext.h | 44 ++++++++++++
7079 src/common/tuklib_open_stdxxx.c | 51 ++++++++++++++
7080 src/common/tuklib_open_stdxxx.h | 23 +++++++
7081 src/common/tuklib_physmem.c | 146 ++++++++++++++++++++++++++++++++++++++++
7082 src/common/tuklib_physmem.h | 28 ++++++++
7083 src/common/tuklib_progname.c | 50 ++++++++++++++
7084 src/common/tuklib_progname.h | 32 +++++++++
7085 src/lzmainfo/Makefile.am | 5 +-
7086 src/lzmainfo/lzmainfo.c | 65 ++++++------------
7087 src/xz/Makefile.am | 7 +-
7088 src/xz/args.c | 8 +--
7089 src/xz/file_io.c | 43 ++++++------
7090 src/xz/hardware.c | 8 +--
7091 src/xz/main.c | 100 ++++++---------------------
7092 src/xz/main.h | 7 --
7093 src/xz/message.c | 30 +++++----
7094 src/xz/message.h | 8 +--
7095 src/xz/private.h | 11 +--
7096 src/xz/signals.c | 2 +
7097 src/xz/signals.h | 17 +++--
7098 src/xz/suffix.c | 2 +-
7099 src/xzdec/Makefile.am | 13 +++-
7100 src/xzdec/xzdec.c | 55 +++++----------
7101 41 files changed, 974 insertions(+), 640 deletions(-)
7103 commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef
7104 Author: Lasse Collin <lasse.collin@tukaani.org>
7105 Date: 2009-09-15 21:07:23 +0300
7107 Fix incorrect use of "restrict".
7109 src/liblzma/api/lzma/vli.h | 4 ++--
7110 src/liblzma/common/vli_decoder.c | 2 +-
7111 src/liblzma/common/vli_encoder.c | 2 +-
7112 3 files changed, 4 insertions(+), 4 deletions(-)
7114 commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c
7115 Author: Lasse Collin <lasse.collin@tukaani.org>
7116 Date: 2009-09-12 14:09:17 +0300
7118 Fix GCC version check for nothrow attribute.
7120 src/liblzma/api/lzma.h | 2 +-
7121 1 file changed, 1 insertion(+), 1 deletion(-)
7123 commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224
7124 Author: Lasse Collin <lasse.collin@tukaani.org>
7125 Date: 2009-09-12 14:08:15 +0300
7130 1 file changed, 1 insertion(+)
7132 commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac
7133 Author: Lasse Collin <lasse.collin@tukaani.org>
7134 Date: 2009-09-12 14:07:36 +0300
7136 A few grammar fixes.
7138 Thanks to Christian Weisgerber for pointing out some of these.
7140 src/liblzma/api/lzma.h | 4 ++--
7141 src/liblzma/api/lzma/vli.h | 4 ++--
7142 src/liblzma/common/block_header_encoder.c | 2 +-
7143 src/liblzma/common/filter_common.c | 2 +-
7144 src/liblzma/lz/lz_encoder.h | 10 +++++-----
7145 src/xz/message.c | 22 +++++++++++-----------
7146 src/xzdec/xzdec.c | 2 +-
7147 7 files changed, 23 insertions(+), 23 deletions(-)
7149 commit 8905a33daadcd2d6557c83c81c490b827d566c94
7150 Author: Lasse Collin <lasse.collin@tukaani.org>
7151 Date: 2009-09-11 17:08:15 +0300
7156 1 file changed, 1 insertion(+)
7158 commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9
7159 Author: Lasse Collin <lasse.collin@tukaani.org>
7160 Date: 2009-09-11 17:06:32 +0300
7162 Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.
7164 dos/config.h | 3 +++
7165 windows/config.h | 3 +++
7166 2 files changed, 6 insertions(+)
7168 commit 221be761f467da76875247bc02d7a1716682075d
7169 Author: Lasse Collin <lasse.collin@tukaani.org>
7170 Date: 2009-09-11 10:24:09 +0300
7172 Use $(LN_EXEEXT) in symlinks to executables.
7174 This fixes "make install" on operating systems using
7175 a suffix for executables.
7177 Cygwin is treated specially. The symlink names won't have
7178 .exe suffix even though the executables themselves have.
7179 Thanks to Charles Wilson.
7181 configure.ac | 9 +++++++++
7182 src/xz/Makefile.am | 4 ++--
7183 2 files changed, 11 insertions(+), 2 deletions(-)
7185 commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c
7186 Author: Lasse Collin <lasse.collin@tukaani.org>
7187 Date: 2009-09-11 09:25:09 +0300
7189 Fix a couple of warnings.
7191 src/liblzma/common/stream_decoder.c | 2 +-
7192 src/liblzma/lz/lz_encoder.c | 5 +----
7193 src/liblzma/lzma/lzma_encoder.c | 2 +-
7194 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++----
7195 tests/tests.h | 2 +-
7196 5 files changed, 8 insertions(+), 11 deletions(-)
7198 commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4
7199 Author: Lasse Collin <lasse.collin@tukaani.org>
7200 Date: 2009-09-05 18:39:21 +0300
7202 Add OS/2-specific code to physmem.h.
7204 Also move DJGPP-specific code near the code meant
7205 for other DOS-like systems.
7207 src/common/physmem.h | 32 +++++++++++++++++++++-----------
7208 1 file changed, 21 insertions(+), 11 deletions(-)
7210 commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740
7211 Author: Lasse Collin <lasse.collin@tukaani.org>
7212 Date: 2009-09-05 01:21:15 +0300
7217 1 file changed, 2 insertions(+)
7219 commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071
7220 Author: Lasse Collin <lasse.collin@tukaani.org>
7221 Date: 2009-09-05 01:20:29 +0300
7223 Use sysctl() != -1 instead of !sysctl() to check if
7224 the function call succeeded.
7226 NetBSD 4.0 returns positive values on success, but
7227 NetBSD Current and FreeBSD return zero. OpenBSD's
7228 man page doesn't tell what sysctl() returns on
7229 success. All these BSDs return -1 on error.
7231 Thanks to Robert Elz and Thomas Klausner.
7233 src/common/cpucores.h | 2 +-
7234 src/common/physmem.h | 2 +-
7235 2 files changed, 2 insertions(+), 2 deletions(-)
7237 commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32
7238 Author: Lasse Collin <lasse.collin@tukaani.org>
7239 Date: 2009-09-02 09:43:51 +0300
7241 Mention in INSTALL that --enable-small doesn't modify CFLAGS.
7244 1 file changed, 4 insertions(+)
7246 commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc
7247 Author: Lasse Collin <lasse.collin@tukaani.org>
7248 Date: 2009-09-01 20:40:01 +0300
7250 Refactored option parsing.
7252 src/xz/options.c | 70 ++++++++++++++++++++++++++++----------------------------
7253 1 file changed, 35 insertions(+), 35 deletions(-)
7255 commit 25adaaa56e2e51a47a910a8d73452414619a2e53
7256 Author: Lasse Collin <lasse.collin@tukaani.org>
7257 Date: 2009-09-01 20:23:30 +0300
7259 Fix options parsing bug in xz.
7261 xz used to reject "xz --lzma2=pb=2," while
7262 "xz --lzma2=pb=2,," worked. Now both work.
7264 src/xz/options.c | 6 ++----
7265 1 file changed, 2 insertions(+), 4 deletions(-)
7267 commit 5f6dddc6c911df02ba660564e78e6de80947c947
7268 Author: Lasse Collin <lasse.collin@tukaani.org>
7269 Date: 2009-09-01 20:20:19 +0300
7274 1 file changed, 3 insertions(+)
7276 commit 655457b9ada5ec7db398c5392e41290f3f332ea8
7277 Author: Lasse Collin <lasse.collin@tukaani.org>
7278 Date: 2009-08-31 21:59:25 +0300
7280 Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
7281 and use a fix that works on all systems using
7284 Maybe the assembler code is used e.g. on Solaris x86
7285 but let's worry about it if this doesn't work on it.
7287 src/liblzma/check/crc32_x86.S | 7 ++-----
7288 src/liblzma/check/crc64_x86.S | 7 ++-----
7289 2 files changed, 4 insertions(+), 10 deletions(-)
7291 commit 162189c3477953805a28f96d3a75cb9ab9417928
7292 Author: Lasse Collin <lasse.collin@tukaani.org>
7293 Date: 2009-08-30 17:29:19 +0300
7298 1 file changed, 1 insertion(+)
7300 commit 2331f5f97af3e5897e23da45d9df3d664099c7f8
7301 Author: Lasse Collin <lasse.collin@tukaani.org>
7302 Date: 2009-08-30 17:28:52 +0300
7304 Add more OS/2 specific info to INSTALL.
7307 1 file changed, 5 insertions(+)
7309 commit 94c66b3297b3ad307eee93cf6b160e3c43997f11
7310 Author: Lasse Collin <lasse.collin@tukaani.org>
7311 Date: 2009-08-29 14:43:52 +0300
7313 Use even more hackish way to support thousand separators.
7315 Seems that in addition on Windows and DOS, also OpenBSD
7316 lacks support for %'d style printf() format strings.
7317 So far that is the only modern POSIX-like system I know
7318 with this problem, but after this hack, the thousand
7319 separator shouldn't be a problem on any system.
7321 Maybe testing if a format string like %'d produces
7322 reasonable output is invoking undefined behavior on some
7323 systems, but so far all the problematic systems I've tried
7324 just print the raw format string (e.g. %'d prints 'd).
7326 Maybe Autoconf test would have been better, but this
7327 hack works also for cross-compilation, and avoids
7328 recompilation in case the system libc starts to support
7329 the thousand separator.
7331 src/xz/util.c | 36 +++++++++++++++++++++++++-----------
7332 1 file changed, 25 insertions(+), 11 deletions(-)
7334 commit 3432e9c6aab851da1227b63dce645d7f190c04d8
7335 Author: Lasse Collin <lasse.collin@tukaani.org>
7336 Date: 2009-08-29 13:42:56 +0300
7341 1 file changed, 3 insertions(+)
7343 commit 27414daadf5727e8ab942374b5ec1c8990122878
7344 Author: Lasse Collin <lasse.collin@tukaani.org>
7345 Date: 2009-08-29 13:39:21 +0300
7349 This fixes build on *BSDs and Darwin.
7351 Thanks to Jukka Salmi for the patches.
7352 Richard Koch reported the problem too.
7354 m4/lc_cpucores.m4 | 2 +-
7355 m4/lc_physmem.m4 | 2 +-
7356 src/common/cpucores.h | 2 +-
7357 src/common/physmem.h | 2 +-
7358 4 files changed, 4 insertions(+), 4 deletions(-)
7360 commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
7361 Author: Lasse Collin <lasse.collin@tukaani.org>
7362 Date: 2009-08-29 13:35:23 +0300
7364 Fix x86 assembler on GCC 3.
7366 Thanks to Karl Berry.
7368 src/liblzma/check/crc32_x86.S | 7 +++++--
7369 src/liblzma/check/crc64_x86.S | 7 +++++--
7370 2 files changed, 10 insertions(+), 4 deletions(-)
7372 commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8
7373 Author: Lasse Collin <lasse.collin@tukaani.org>
7374 Date: 2009-08-27 18:36:59 +0300
7378 Makefile.am | 13 ++++++-------
7379 1 file changed, 6 insertions(+), 7 deletions(-)
7381 commit c8c184db1c95bf70f78256ec6237845a57f342af
7382 Author: Lasse Collin <lasse.collin@tukaani.org>
7383 Date: 2009-08-27 17:08:33 +0300
7385 Update xz man page date.
7388 1 file changed, 1 insertion(+), 1 deletion(-)
7390 commit 9756fce565e98b8fa5fe6ead296d84e7601ec254
7391 Author: Lasse Collin <lasse.collin@tukaani.org>
7392 Date: 2009-08-27 17:00:22 +0300
7394 Fix the debug directory.
7396 6a2eb54092fc625d59921a607ff68cd1a90aa898 and
7397 71f18e8a066a01dda0c8e5508b135ef104e43e4c required
7398 some changes that weren't applied in debug.
7400 debug/Makefile.am | 5 +++--
7401 debug/full_flush.c | 1 +
7402 debug/known_sizes.c | 1 +
7403 debug/memusage.c | 1 +
7404 debug/sync_flush.c | 1 +
7405 5 files changed, 7 insertions(+), 2 deletions(-)
7407 commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea
7408 Author: Lasse Collin <lasse.collin@tukaani.org>
7409 Date: 2009-08-27 16:36:40 +0300
7411 Add missing files to EXTRA_DIST.
7413 Makefile.am | 11 +++++++----
7414 1 file changed, 7 insertions(+), 4 deletions(-)
7416 commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d
7417 Author: Lasse Collin <lasse.collin@tukaani.org>
7418 Date: 2009-08-27 16:21:22 +0300
7420 Bumped version to 4.999.9beta.
7422 src/liblzma/api/lzma/version.h | 2 +-
7423 1 file changed, 1 insertion(+), 1 deletion(-)
7425 commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4
7426 Author: Lasse Collin <lasse.collin@tukaani.org>
7427 Date: 2009-08-27 16:17:47 +0300
7432 1 file changed, 2 insertions(+)
7434 commit c29e76c0f910fca0a90a50b78d337f6c32623e9d
7435 Author: Lasse Collin <lasse.collin@tukaani.org>
7436 Date: 2009-08-27 16:12:52 +0300
7438 .xz file format specification 1.0.4 (probably).
7440 Thanks to Christian von Roques, Peter Lawler,
7441 and Jim Meyering for the fixes.
7443 doc/xz-file-format.txt | 26 +++++++++++++++-----------
7444 1 file changed, 15 insertions(+), 11 deletions(-)
7446 commit 696d7ee3953beaf4f0ed18e78917ccf300431966
7447 Author: Lasse Collin <lasse.collin@tukaani.org>
7448 Date: 2009-08-27 15:43:54 +0300
7450 Require GNU libtool 2.2.
7452 configure.ac | 13 +++----------
7453 1 file changed, 3 insertions(+), 10 deletions(-)
7455 commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d
7456 Author: Lasse Collin <lasse.collin@tukaani.org>
7457 Date: 2009-08-27 15:34:45 +0300
7459 Add "dos" to EXTRA_DIST.
7462 1 file changed, 1 insertion(+)
7464 commit 35b29e4424ced5a3ababf132283e519080c7b298
7465 Author: Lasse Collin <lasse.collin@tukaani.org>
7466 Date: 2009-08-27 15:23:27 +0300
7471 1 file changed, 6 insertions(+)
7473 commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea
7474 Author: Lasse Collin <lasse.collin@tukaani.org>
7475 Date: 2009-08-27 15:17:00 +0300
7477 Some xz man page improvements.
7479 src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
7480 1 file changed, 62 insertions(+), 16 deletions(-)
7482 commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d
7483 Author: Lasse Collin <lasse.collin@tukaani.org>
7484 Date: 2009-08-27 10:41:01 +0300
7486 Removed doc/bugs.txt.
7488 doc/bugs.txt | 46 ----------------------------------------------
7489 1 file changed, 46 deletions(-)
7491 commit d88c4072b36d3a76f839185799fb1d91037a1b81
7492 Author: Lasse Collin <lasse.collin@tukaani.org>
7493 Date: 2009-08-27 10:40:25 +0300
7497 It now includes bug reporting instructions/tips.
7499 README | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
7500 1 file changed, 55 insertions(+), 10 deletions(-)
7502 commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e
7503 Author: Lasse Collin <lasse.collin@tukaani.org>
7504 Date: 2009-08-27 10:21:18 +0300
7508 Thanks to Jim Meyering.
7510 (From now on, I try to always remember to put
7511 the relevant thanks to commit messages.)
7514 1 file changed, 1 insertion(+), 1 deletion(-)
7516 commit 3e2ba8b58585743e59251e69ad2783eb08357079
7517 Author: Lasse Collin <lasse.collin@tukaani.org>
7518 Date: 2009-08-27 10:13:46 +0300
7520 Updates to liblzma API headers.
7522 Added lzma_nothrow for every function. It adds
7523 throw() when the header is used in C++ code.
7525 Some lzma_attrs were added or removed.
7527 Lots of comments were improved.
7529 src/liblzma/api/lzma.h | 20 ++++++++
7530 src/liblzma/api/lzma/base.h | 48 +++++++++---------
7531 src/liblzma/api/lzma/block.h | 38 ++++++++-------
7532 src/liblzma/api/lzma/check.h | 22 +++++----
7533 src/liblzma/api/lzma/container.h | 36 ++++++++------
7534 src/liblzma/api/lzma/filter.h | 81 +++++++++++++++++++------------
7535 src/liblzma/api/lzma/index.h | 97 ++++++++++++++++++++++---------------
7536 src/liblzma/api/lzma/index_hash.h | 14 ++++--
7537 src/liblzma/api/lzma/lzma.h | 87 +++++++++++++++++----------------
7538 src/liblzma/api/lzma/stream_flags.h | 12 ++---
7539 src/liblzma/api/lzma/version.h | 10 ++--
7540 src/liblzma/api/lzma/vli.h | 7 +--
7541 12 files changed, 275 insertions(+), 197 deletions(-)
7543 commit 8e8ebc17c535a1f8846718059b48417409c37050
7544 Author: Lasse Collin <lasse.collin@tukaani.org>
7545 Date: 2009-08-18 00:30:09 +0300
7550 1 file changed, 1 insertion(+)
7552 commit b198e770a146e4a41f91a93f0b233713f2515848
7553 Author: Lasse Collin <lasse.collin@tukaani.org>
7554 Date: 2009-08-18 00:26:48 +0300
7558 Some questions worth answering were removed, because I
7559 currently don't have good up to date answers to them.
7561 doc/faq.txt | 239 +++++++++++++++++++-----------------------------------------
7562 1 file changed, 73 insertions(+), 166 deletions(-)
7564 commit fe111a25cd788d31b581996e4533910388a7f0a9
7565 Author: Lasse Collin <lasse.collin@tukaani.org>
7566 Date: 2009-08-17 22:45:50 +0300
7568 Some xz man changes.
7570 src/xz/xz.1 | 88 ++++++++++++++++++++++++++++++-------------------------------
7571 1 file changed, 43 insertions(+), 45 deletions(-)
7573 commit 10242a21e9abda0c5c6a03501703cc40b8a699a5
7574 Author: Lasse Collin <lasse.collin@tukaani.org>
7575 Date: 2009-08-16 22:15:42 +0300
7580 1 file changed, 1 insertion(+)
7582 commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d
7583 Author: Lasse Collin <lasse.collin@tukaani.org>
7584 Date: 2009-08-16 22:15:13 +0300
7586 Fix data corruption in LZ/LZMA2 encoder.
7588 Thanks to Jonathan Stott for the bug report.
7590 src/liblzma/lz/lz_encoder.h | 2 +-
7591 1 file changed, 1 insertion(+), 1 deletion(-)
7593 commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a
7594 Author: Lasse Collin <lasse.collin@tukaani.org>
7595 Date: 2009-08-13 15:15:37 +0300
7597 Updated INSTALL and PACKAGERS to match the changes
7598 made in --enable-dynamic.
7600 INSTALL | 20 ++++++++++++++++----
7601 PACKAGERS | 11 ++++++-----
7602 2 files changed, 22 insertions(+), 9 deletions(-)
7604 commit 8238c4b2402f952c4e492e5b778aa272e57b6705
7605 Author: Lasse Collin <lasse.collin@tukaani.org>
7606 Date: 2009-08-13 15:03:46 +0300
7608 Link lzmainfo against shared liblzma by default.
7610 src/lzmainfo/Makefile.am | 4 ++--
7611 1 file changed, 2 insertions(+), 2 deletions(-)
7613 commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c
7614 Author: Lasse Collin <lasse.collin@tukaani.org>
7615 Date: 2009-08-13 15:00:21 +0300
7617 Make --enable-dynamic a tristate option.
7619 Some programs will by default be linked against static
7620 liblzma and some against shared liblzma. --enable-dynamic
7621 now allows overriding the default to both directions
7622 (all dynamic or all static) even when building both
7623 shared and static liblzma.
7625 This is quite messy compared to how simple thing it is supposed
7626 to be. The complexity is mostly due to Windows support.
7628 configure.ac | 77 ++++++++++++++++++++++++++++++++++++++++++++----------------
7629 1 file changed, 57 insertions(+), 20 deletions(-)
7631 commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61
7632 Author: Lasse Collin <lasse.collin@tukaani.org>
7633 Date: 2009-08-13 12:56:47 +0300
7635 Fix xz Makefile.am for the man page.
7637 install-exec-hook -> install-data-hook
7639 src/xz/Makefile.am | 2 ++
7640 1 file changed, 2 insertions(+)
7642 commit e51b4e49e800bd84e6d589dca2964d3985e88139
7643 Author: Lasse Collin <lasse.collin@tukaani.org>
7644 Date: 2009-08-13 12:55:45 +0300
7646 Add lzmainfo for backward compatibility with LZMA Utils.
7648 lzmainfo now links against static liblzma. In contrast
7649 to other command line tools in XZ Utils, linking lzmainfo
7650 against static liblzma by default is dumb. This will be
7651 fixed once I have fixed some related issues in configure.ac.
7654 src/Makefile.am | 2 +-
7655 src/lzmainfo/Makefile.am | 29 ++++++
7656 src/lzmainfo/lzmainfo.1 | 55 +++++++++++
7657 src/lzmainfo/lzmainfo.c | 242 +++++++++++++++++++++++++++++++++++++++++++++++
7658 5 files changed, 328 insertions(+), 1 deletion(-)
7660 commit a4165d0584376d948c213ec93c6065d24ff6a5e7
7661 Author: Lasse Collin <lasse.collin@tukaani.org>
7662 Date: 2009-08-13 12:42:36 +0300
7664 Sync some error messages from xz to xzdec.
7666 Make xz error message translation usable outside
7667 xz (at least in upcoming lzmainfo).
7669 src/xz/main.c | 4 ++--
7670 src/xzdec/xzdec.c | 6 +++---
7671 2 files changed, 5 insertions(+), 5 deletions(-)
7673 commit df636eb4e066b4e154ce8e66e82c87ba1db652a6
7674 Author: Lasse Collin <lasse.collin@tukaani.org>
7675 Date: 2009-08-13 09:37:21 +0300
7677 Add xz man page to manfiles in toplevel Makefile.am.
7680 1 file changed, 1 insertion(+)
7682 commit 180bdf58ea5bb07941e0a99b304d9aa832198748
7683 Author: Lasse Collin <lasse.collin@tukaani.org>
7684 Date: 2009-08-13 09:37:01 +0300
7686 Fix first line of xz man page.
7689 1 file changed, 1 insertion(+), 1 deletion(-)
7691 commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4
7692 Author: Lasse Collin <lasse.collin@tukaani.org>
7693 Date: 2009-08-10 11:22:31 +0300
7695 Added a rough version of the xz man page.
7697 src/xz/Makefile.am | 15 +
7698 src/xz/xz.1 | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++
7699 2 files changed, 1221 insertions(+)
7701 commit e71903fc6101f1c039d702e335b08aad1e1b4100
7702 Author: Jonathan Nieder <jrnieder@gmail.com>
7703 Date: 2009-08-09 13:41:20 -0500
7705 “xzdiff a.xz b.xz” always fails
7707 Attempts to compare two compressed files result in no output and
7710 Instead of going to standard output, ‘diff’ output is being
7711 captured in the xz_status variable along with the exit status from
7712 the decompression commands. Later, when this variable is examined
7713 for nonzero status codes, numerals from dates in the ‘diff’ output
7714 make it appear as though decompression failed.
7716 So let the ‘diff’ output leak to standard output with another file
7717 descriptor. (This trick is used in all similar contexts elsewhere
7718 in xzdiff and in the analogous context in gzip’s zdiff script.)
7720 src/scripts/xzdiff.in | 2 +-
7721 1 file changed, 1 insertion(+), 1 deletion(-)
7723 commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c
7724 Author: Jonathan Nieder <jrnieder@gmail.com>
7725 Date: 2009-08-09 13:22:12 -0500
7727 xzless: Support compressed standard input
7729 It can be somewhat confusing that
7731 less < some_file.txt
7735 xzless < some_file.txt.xz
7737 does not. Since version 429, ‘less’ allows a filter specified in
7738 the LESSOPEN environment variable to preprocess its input even if
7739 it comes from standard input, if $LESSOPEN begins with ‘|-’. So
7740 set $LESSOPEN to take advantage of this feature.
7742 Check less’s version at runtime so xzless can continue to work
7743 with older versions.
7745 src/scripts/xzless.in | 8 +++++++-
7746 1 file changed, 7 insertions(+), 1 deletion(-)
7748 commit a7f5d2fe4826ac68839d00059f05004fb81d5c69
7749 Author: Lasse Collin <lasse.collin@tukaani.org>
7750 Date: 2009-08-09 20:57:46 +0300
7752 GPLv2+ not GPLv2 for Doxyfile.in is probably OK.
7755 1 file changed, 1 insertion(+), 1 deletion(-)
7757 commit b735cde20cc14857136ae65a0e5d336ed7ddc862
7758 Author: Lasse Collin <lasse.collin@tukaani.org>
7759 Date: 2009-08-02 00:27:29 +0300
7761 Added a copyright notice to Doxyfile.in since it contains
7762 lots of comments from Doxygen.
7764 It seems that the Doxygen authors' intent is to not apply
7765 their copyright on generated files, but since it doesn't
7766 matter for XZ Utils at all, better safe than sorry.
7769 1 file changed, 3 insertions(+)
7771 commit 0fd157cc008446adfc8f91394f5503868025a642
7772 Author: Lasse Collin <lasse.collin@tukaani.org>
7773 Date: 2009-08-02 00:11:37 +0300
7778 1 file changed, 1 insertion(+)
7780 commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f
7781 Author: Lasse Collin <lasse.collin@tukaani.org>
7782 Date: 2009-08-02 00:10:22 +0300
7787 1 file changed, 4 insertions(+)
7789 commit 669413bb2db954bbfde3c4542fddbbab53891eb4
7790 Author: Lasse Collin <lasse.collin@tukaani.org>
7791 Date: 2009-07-30 12:25:55 +0300
7796 1 file changed, 1 insertion(+)
7798 commit dbbd8fb870ae789d96497911006c869d37148c15
7799 Author: Jonathan Nieder <jrnieder@gmail.com>
7800 Date: 2009-07-28 17:37:24 -0500
7802 xzdiff: add missing ;; to case statement
7804 src/scripts/xzdiff.in | 6 +++---
7805 1 file changed, 3 insertions(+), 3 deletions(-)
7807 commit adbad2d16cb5909f85d4a429011005613ea62ffe
7808 Author: Lasse Collin <lasse.collin@tukaani.org>
7809 Date: 2009-07-24 13:15:06 +0300
7811 Added history.txt to doc_DATA.
7814 1 file changed, 1 insertion(+)
7816 commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27
7817 Author: Lasse Collin <lasse.collin@tukaani.org>
7818 Date: 2009-07-24 12:00:40 +0300
7820 Updated .gitignore files.
7822 .gitignore | 36 +++++++++++++++++++-----------------
7823 po/.gitignore | 3 +++
7824 2 files changed, 22 insertions(+), 17 deletions(-)
7826 commit 2f34fb269265e3aba43a2a9c734020a45268826d
7827 Author: Lasse Collin <lasse.collin@tukaani.org>
7828 Date: 2009-07-24 11:34:02 +0300
7830 Minor improvements to COPYING.
7832 COPYING | 11 ++++++++---
7833 1 file changed, 8 insertions(+), 3 deletions(-)
7835 commit 0db1befcfbc120377df4b89923762f16d25f548a
7836 Author: Lasse Collin <lasse.collin@tukaani.org>
7837 Date: 2009-07-23 19:10:55 +0300
7839 Fix incorrect usage of getopt_long(), which caused
7840 invalid memory access if XZ_OPT was defined.
7843 1 file changed, 1 deletion(-)
7845 commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48
7846 Author: Lasse Collin <lasse.collin@tukaani.org>
7847 Date: 2009-07-20 15:43:32 +0300
7849 Avoid internal error with --format=xz --lzma1.
7851 src/xz/coder.c | 16 ++++++++++++----
7852 1 file changed, 12 insertions(+), 4 deletions(-)
7854 commit 99f9e879a6a8bb54a65da99c12e0f390216c152a
7855 Author: Lasse Collin <lasse.collin@tukaani.org>
7856 Date: 2009-07-19 13:14:20 +0300
7858 Major documentation update.
7860 Installation and packaging instructions were added.
7861 README and other generic docs were revised.
7863 Some of the documentation files are now installed to $docdir.
7867 INSTALL | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7868 INSTALL.generic | 302 +++++++++++++++++++++++++++++++++++++++++++++++++++
7870 PACKAGERS | 278 +++++++++++++++++++++++++++++++++++++++++++++++
7871 README | 263 ++++++++++++++++++++-------------------------
7873 8 files changed, 1070 insertions(+), 170 deletions(-)
7875 commit ef4cf1851de89022cba5674784f1a8f6343c15b0
7876 Author: Lasse Collin <lasse.collin@tukaani.org>
7877 Date: 2009-07-19 11:09:31 +0300
7879 Added missing author notice to xzless.in.
7881 src/scripts/xzless.in | 1 +
7882 1 file changed, 1 insertion(+)
7884 commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77
7885 Author: Lasse Collin <lasse.collin@tukaani.org>
7886 Date: 2009-07-18 18:54:55 +0300
7888 Use AC_CONFIG_AUX_DIR to clean up the toplevel directory
7891 Fixed a related bug in the toplevel Makefile.am.
7893 Added the build-aux directory to .gitignore.
7897 configure.ac | 3 ++-
7898 3 files changed, 3 insertions(+), 2 deletions(-)
7900 commit 366e436090a7a87215e9bf0e3ddcd55f05b50587
7901 Author: Lasse Collin <lasse.collin@tukaani.org>
7902 Date: 2009-07-18 14:34:08 +0300
7904 Updated the totally outdated TODO file.
7906 TODO | 117 ++++++++++++++++---------------------------------------------------
7907 1 file changed, 27 insertions(+), 90 deletions(-)
7909 commit 64e498c89d8b9966e8663f43bf64d47c26c55c62
7910 Author: Lasse Collin <lasse.collin@tukaani.org>
7911 Date: 2009-07-18 11:26:39 +0300
7913 Added public domain notice into a few files.
7915 src/common/common_w32res.rc | 9 ++++++++-
7916 src/liblzma/liblzma.pc.in | 7 +++++++
7917 src/liblzma/liblzma_w32res.rc | 7 +++++++
7918 src/xz/xz_w32res.rc | 7 +++++++
7919 src/xzdec/xzdec_w32res.rc | 7 +++++++
7920 5 files changed, 36 insertions(+), 1 deletion(-)
7922 commit a35755c5de808df027675688855d1b621a4fb428
7923 Author: Lasse Collin <lasse.collin@tukaani.org>
7924 Date: 2009-07-14 21:10:36 +0300
7926 Allow extra commas in filter-specific options on xz command line.
7928 This may slightly ease writing scripts that construct
7929 filter-specific option strings dynamically.
7931 src/xz/options.c | 7 +++++++
7932 1 file changed, 7 insertions(+)
7934 commit 98f3cac1ad31191c5160a7e48398bf85141e941c
7935 Author: Lasse Collin <lasse.collin@tukaani.org>
7936 Date: 2009-07-14 18:04:31 +0300
7938 Accept --lzma2=preset=6e where "e" is equivalent to --extreme
7939 when no custom chain is in use.
7941 src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++++---------------
7942 1 file changed, 59 insertions(+), 21 deletions(-)
7944 commit d873a09e956363e54bf58c577c8f7e487b6fb464
7945 Author: Lasse Collin <lasse.collin@tukaani.org>
7946 Date: 2009-07-12 19:08:30 +0300
7948 Add dist-hook to create ChangeLog from the commit log,
7949 and to conver the man pages to PDF and plain text, which
7950 may be convenient to those who cannot render man pages.
7952 Makefile.am | 31 +++++++++++++++++++++++++++++++
7953 1 file changed, 31 insertions(+)
7955 commit cd69a5a6c16c289f6f8e2823b03c72289472270f
7956 Author: Lasse Collin <lasse.collin@tukaani.org>
7957 Date: 2009-07-10 11:39:38 +0300
7959 BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.
7961 This is a quick and slightly dirty fix to make the code
7962 conform to the latest file format specification. Without
7963 this patch, it's possible to make corrupt files by
7964 specifying start offset that is not a multiple of the
7965 filter's alignment. Custom start offset is almost never
7966 used, so this was only a minor bug.
7968 The xz command line tool doesn't validate the start offset,
7969 so one will get a bit unclear error message if trying to use
7970 an invalid start offset.
7972 src/liblzma/simple/arm.c | 2 +-
7973 src/liblzma/simple/armthumb.c | 2 +-
7974 src/liblzma/simple/ia64.c | 2 +-
7975 src/liblzma/simple/powerpc.c | 2 +-
7976 src/liblzma/simple/simple_coder.c | 5 ++++-
7977 src/liblzma/simple/simple_private.h | 3 ++-
7978 src/liblzma/simple/sparc.c | 2 +-
7979 src/liblzma/simple/x86.c | 2 +-
7980 8 files changed, 12 insertions(+), 8 deletions(-)
7982 commit eed9953732b801f6c97317fb3160445a8754180b
7983 Author: Lasse Collin <lasse.collin@tukaani.org>
7984 Date: 2009-07-10 11:33:21 +0300
7986 Look for full command names instead of substrings
7987 like "un", "cat", and "lz" when determining if
7988 xz is run as unxz, xzcat, lzma, unlzma, or lzcat.
7990 This is to ensure that if xz is renamed (e.g. via
7991 --program-transform-name), it doesn't so easily
7994 src/xz/args.c | 22 +++++++++++++---------
7995 1 file changed, 13 insertions(+), 9 deletions(-)
7997 commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658
7998 Author: Lasse Collin <lasse.collin@tukaani.org>
7999 Date: 2009-07-08 23:06:46 +0300
8004 1 file changed, 2 insertions(+)
8006 commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e
8007 Author: Lasse Collin <lasse.collin@tukaani.org>
8008 Date: 2009-07-08 23:05:29 +0300
8010 Portability improvement to version.sh.
8013 1 file changed, 2 insertions(+), 1 deletion(-)
8015 commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f
8016 Author: Lasse Collin <lasse.collin@tukaani.org>
8017 Date: 2009-07-08 22:50:16 +0300
8019 Remove --force from xzdec.
8021 It was ignored for compatibility with xz, but now that
8022 --decompress --stdout --force copies unrecognized files
8023 as is to stdout, simply ignoring --force in xzdec would
8024 be wrong. xzdec will not support copying unrecognized
8025 data as is to stdout, so it cannot support --force.
8027 src/xzdec/xzdec.1 | 5 -----
8028 src/xzdec/xzdec.c | 5 +----
8029 2 files changed, 1 insertion(+), 9 deletions(-)
8031 commit 5f16ef4abf220028a9ddbcb138217597a9455f62
8032 Author: Lasse Collin <lasse.collin@tukaani.org>
8033 Date: 2009-07-06 10:36:04 +0300
8035 Use sed instead of $(SED) so that we don't need to
8036 use AC_PROG_SED. We don't do anything fancy with sed,
8037 so this should work OK. libtool 2.2 sets SED but 1.5
8038 doesn't, so $(SED) happened to work when using libtool 2.2.
8040 src/liblzma/Makefile.am | 2 +-
8041 src/scripts/Makefile.am | 28 ++++++++++++++--------------
8042 src/xz/Makefile.am | 6 +++---
8043 src/xzdec/Makefile.am | 6 +++---
8044 4 files changed, 21 insertions(+), 21 deletions(-)
8046 commit 96e4b257e101d72072d43e144897d92920270669
8047 Author: Lasse Collin <lasse.collin@tukaani.org>
8048 Date: 2009-07-05 22:25:17 +0300
8050 Major update to the xzgrep and other scripts based on
8051 the latest versions found from gzip CVS repository.
8053 configure will try to find a POSIX shell to be used by
8054 the scripts. This should ease portability on systems
8055 which have pre-POSIX /bin/sh.
8057 xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files.
8058 xzmore and xzless support only .xz and .lzma files.
8060 The name of the xz executable used in these scripts is
8061 now correct even if --program-transform-name has been used.
8063 configure.ac | 14 ++++
8064 m4/posix-shell.m4 | 63 ++++++++++++++++
8065 src/scripts/Makefile.am | 24 +++---
8066 src/scripts/xzdiff | 67 -----------------
8067 src/scripts/xzdiff.1 | 58 ++++++++------
8068 src/scripts/xzdiff.in | 172 ++++++++++++++++++++++++++++++++++++++++++
8069 src/scripts/xzgrep | 123 ------------------------------
8070 src/scripts/xzgrep.1 | 85 ++++++++++++---------
8071 src/scripts/xzgrep.in | 196 ++++++++++++++++++++++++++++++++++++++++++++++++
8072 src/scripts/xzless.1 | 66 ++++++++++++++++
8073 src/scripts/xzless.in | 51 +++++++++++++
8074 src/scripts/xzmore | 74 ------------------
8075 src/scripts/xzmore.1 | 64 +++++++---------
8076 src/scripts/xzmore.in | 78 +++++++++++++++++++
8077 14 files changed, 766 insertions(+), 369 deletions(-)
8079 commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100
8080 Author: Lasse Collin <lasse.collin@tukaani.org>
8081 Date: 2009-07-05 19:26:53 +0300
8083 Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.
8085 src/liblzma/liblzma.pc.in | 2 +-
8086 1 file changed, 1 insertion(+), 1 deletion(-)
8088 commit 18c10c30d2833f394cd7bce0e6a821044b15832f
8089 Author: Lasse Collin <lasse.collin@tukaani.org>
8090 Date: 2009-07-04 00:40:44 +0300
8092 Make "xz --decompress --stdout --force" copy unrecognized
8093 files as is to standard output.
8095 This feature is needed to be more compatible with gzip's
8096 behavior. This was more complicated to implement than it
8097 sounds, because the way liblzma is able to return errors with
8098 files of only a few bytes in size. xz now has its own file
8099 type detection code and no longer uses lzma_auto_decoder().
8101 src/xz/coder.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++----------
8102 1 file changed, 178 insertions(+), 35 deletions(-)
8104 commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633
8105 Author: Lasse Collin <lasse.collin@tukaani.org>
8106 Date: 2009-07-02 14:30:38 +0300
8108 Define PACKAGE_HOMEPAGE in configure.ac and use it in
8111 Use also PACKAGE_NAME instead of hardcoding "XZ Utils".
8113 configure.ac | 5 +++++
8114 src/xz/message.c | 4 ++--
8115 src/xzdec/xzdec.c | 4 ++--
8116 3 files changed, 9 insertions(+), 4 deletions(-)
8118 commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c
8119 Author: Lasse Collin <lasse.collin@tukaani.org>
8120 Date: 2009-07-01 12:21:24 +0300
8122 Avoid visibility related compiler warnings on Windows.
8124 configure.ac | 20 +++++++++-----------
8125 1 file changed, 9 insertions(+), 11 deletions(-)
8127 commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e
8128 Author: Lasse Collin <lasse.collin@tukaani.org>
8129 Date: 2009-06-30 17:14:39 +0300
8131 Use static liblzma by default also for tests.
8133 tests/Makefile.am | 5 ++++-
8134 1 file changed, 4 insertions(+), 1 deletion(-)
8136 commit f42ee981668b545ab6d06c6072e262c29605273c
8137 Author: Lasse Collin <lasse.collin@tukaani.org>
8138 Date: 2009-06-30 17:09:57 +0300
8142 Don't use libtool convenience libraries to avoid recently
8143 discovered long-standing subtle but somewhat severe bugs
8144 in libtool (at least 1.5.22 and 2.2.6 are affected). It
8145 was found when porting XZ Utils to Windows
8146 <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
8147 but the problem is significant also e.g. on GNU/Linux.
8149 Unless --disable-shared is passed to configure, static
8150 library built from a set of convenience libraries will
8151 contain PIC objects. That is, while libtool builds non-PIC
8152 objects too, only PIC objects will be used from the
8153 convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
8154 using PIC instead of non-PIC makes the decompressor 10 % slower
8155 with the default CFLAGS.
8157 So while xz was linked against static liblzma by default,
8158 it got the slower PIC objects unless --disable-shared was
8159 used. I tend develop and benchmark with --disable-shared
8160 due to faster build time, so I hadn't noticed the problem
8161 in benchmarks earlier.
8163 This commit also adds support for building Windows resources
8164 into liblzma and executables.
8166 configure.ac | 34 ++++++++++------
8167 src/liblzma/Makefile.am | 79 +++++++++++++++++++++++++++++--------
8168 src/liblzma/check/Makefile.am | 47 ----------------------
8169 src/liblzma/check/Makefile.inc | 51 ++++++++++++++++++++++++
8170 src/liblzma/common/Makefile.am | 78 ------------------------------------
8171 src/liblzma/common/Makefile.inc | 67 +++++++++++++++++++++++++++++++
8172 src/liblzma/common/common.h | 16 +++++---
8173 src/liblzma/delta/Makefile.am | 28 -------------
8174 src/liblzma/delta/Makefile.inc | 23 +++++++++++
8175 src/liblzma/lz/Makefile.am | 29 --------------
8176 src/liblzma/lz/Makefile.inc | 21 ++++++++++
8177 src/liblzma/lzma/Makefile.am | 51 ------------------------
8178 src/liblzma/lzma/Makefile.inc | 43 ++++++++++++++++++++
8179 src/liblzma/rangecoder/Makefile.am | 26 ------------
8180 src/liblzma/rangecoder/Makefile.inc | 21 ++++++++++
8181 src/liblzma/simple/Makefile.am | 51 ------------------------
8182 src/liblzma/simple/Makefile.inc | 47 ++++++++++++++++++++++
8183 src/liblzma/subblock/Makefile.am | 26 ------------
8184 src/liblzma/subblock/Makefile.inc | 20 ++++++++++
8185 src/xz/Makefile.am | 11 +++++-
8186 src/xzdec/Makefile.am | 20 +++++++++-
8187 21 files changed, 417 insertions(+), 372 deletions(-)
8189 commit 89dac1db6f168d7469cfbc4432651d4724c5c0de
8190 Author: Lasse Collin <lasse.collin@tukaani.org>
8191 Date: 2009-06-29 22:19:51 +0300
8193 Added a comment about "autoconf -fi" to autogen.sh.
8196 1 file changed, 3 insertions(+)
8198 commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd
8199 Author: Lasse Collin <lasse.collin@tukaani.org>
8200 Date: 2009-06-28 10:04:24 +0300
8202 Add -no-undefined to get shared liblzma on Windows.
8204 src/liblzma/Makefile.am | 2 +-
8205 1 file changed, 1 insertion(+), 1 deletion(-)
8207 commit 73f560ee5fa064992b76688d9472baf139432540
8208 Author: Lasse Collin <lasse.collin@tukaani.org>
8209 Date: 2009-06-27 22:57:15 +0300
8211 Make physmem() work on Cygwin 1.5 and older.
8213 src/common/physmem.h | 77 +++++++++++++++++++++++++++-------------------------
8214 1 file changed, 40 insertions(+), 37 deletions(-)
8216 commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1
8217 Author: Lasse Collin <lasse.collin@tukaani.org>
8218 Date: 2009-06-27 17:28:01 +0300
8220 Moved the Windows resource files outside the windows directory
8221 to prepare for building them with Autotools.
8223 src/common/common_w32res.rc | 46 +++++++++++++++++++++++++++++++++++++++++++
8224 src/liblzma/liblzma_w32res.rc | 5 +++++
8225 src/xz/xz_w32res.rc | 5 +++++
8226 src/xzdec/lzmadec_w32res.rc | 5 +++++
8227 src/xzdec/xzdec_w32res.rc | 5 +++++
8228 windows/Makefile | 35 +++++++++++++++++---------------
8229 windows/common.rc | 46 -------------------------------------------
8230 windows/liblzma.rc | 5 -----
8231 windows/lzmadec.rc | 5 -----
8232 windows/xz.rc | 5 -----
8233 windows/xzdec.rc | 5 -----
8234 11 files changed, 85 insertions(+), 82 deletions(-)
8236 commit 449c634674f35336a4815d398172e447659a135e
8237 Author: Lasse Collin <lasse.collin@tukaani.org>
8238 Date: 2009-06-27 13:05:03 +0300
8240 Added missing $(EXEEXT).
8242 src/xz/Makefile.am | 2 +-
8243 1 file changed, 1 insertion(+), 1 deletion(-)
8245 commit 792db79f27ad9ab1fb977e23be65c7761f545752
8246 Author: Lasse Collin <lasse.collin@tukaani.org>
8247 Date: 2009-06-27 12:32:40 +0300
8249 Create correct symlinks even when
8250 --program-{prefix,suffix,transform} is passed to configure.
8252 src/scripts/Makefile.am | 80 ++++++++++++++++++++++++++++---------------------
8253 src/xz/Makefile.am | 21 ++++++++-----
8254 src/xzdec/Makefile.am | 9 ++++--
8255 3 files changed, 65 insertions(+), 45 deletions(-)
8257 commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b
8258 Author: Lasse Collin <lasse.collin@tukaani.org>
8259 Date: 2009-06-27 10:02:24 +0300
8261 Silence a compiler warning on DOS-like systems.
8263 src/xz/file_io.c | 5 ++++-
8264 1 file changed, 4 insertions(+), 1 deletion(-)
8266 commit ad12edc95254ede3f0cb8dec8645e8789e984c4f
8267 Author: Lasse Collin <lasse.collin@tukaani.org>
8268 Date: 2009-06-27 09:35:15 +0300
8270 Updated the filenames in POTFILES.in too.
8272 po/POTFILES.in | 4 ++--
8273 1 file changed, 2 insertions(+), 2 deletions(-)
8275 commit b2b1f867532732fe9969131f8713bdd6b0731763
8276 Author: Lasse Collin <lasse.collin@tukaani.org>
8277 Date: 2009-06-27 00:43:06 +0300
8279 Hopefully improved portability of the assembler code in
8280 Autotools based builds on Windows.
8282 src/liblzma/check/crc32_x86.S | 8 +++++++-
8283 src/liblzma/check/crc64_x86.S | 8 +++++++-
8284 2 files changed, 14 insertions(+), 2 deletions(-)
8286 commit c393055947247627a09b6a6b8f20aa0c32f9be16
8287 Author: Lasse Collin <lasse.collin@tukaani.org>
8288 Date: 2009-06-26 21:17:29 +0300
8290 Updated THANKS (most of today's commits are based on
8291 Charles Wilson's patches).
8294 1 file changed, 1 insertion(+)
8296 commit da0af22e4b4139b8a10710945f8b245b3a77c97d
8297 Author: Lasse Collin <lasse.collin@tukaani.org>
8298 Date: 2009-06-26 21:00:35 +0300
8300 Updated comments to match renamed files.
8302 src/xz/coder.c | 2 +-
8303 src/xz/coder.h | 2 +-
8304 src/xz/file_io.c | 2 +-
8305 src/xz/file_io.h | 2 +-
8306 4 files changed, 4 insertions(+), 4 deletions(-)
8308 commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2
8309 Author: Lasse Collin <lasse.collin@tukaani.org>
8310 Date: 2009-06-26 20:49:54 +0300
8312 Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
8313 to avoid problems on systems with system headers with those
8317 src/xz/Makefile.am | 8 +-
8318 src/xz/coder.c | 488 ++++++++++++++++++++++++++++++++++++
8319 src/xz/coder.h | 57 +++++
8320 src/xz/file_io.c | 716 +++++++++++++++++++++++++++++++++++++++++++++++++++++
8321 src/xz/file_io.h | 86 +++++++
8322 src/xz/io.c | 716 -----------------------------------------------------
8323 src/xz/io.h | 86 -------
8324 src/xz/private.h | 4 +-
8325 src/xz/process.c | 488 ------------------------------------
8326 src/xz/process.h | 57 -----
8327 windows/Makefile | 4 +-
8328 12 files changed, 1357 insertions(+), 1357 deletions(-)
8330 commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8
8331 Author: Lasse Collin <lasse.collin@tukaani.org>
8332 Date: 2009-06-26 20:43:36 +0300
8334 Rename process_file() to coder_run().
8336 src/xz/main.c | 6 +++---
8337 src/xz/process.c | 6 +++---
8338 src/xz/process.h | 5 ++---
8339 3 files changed, 8 insertions(+), 9 deletions(-)
8341 commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc
8342 Author: Lasse Collin <lasse.collin@tukaani.org>
8343 Date: 2009-06-26 20:36:45 +0300
8345 Ugly hack to make it possible to use the thousand separator
8346 format character with snprintf() on POSIX systems but not
8347 on non-POSIX systems and still keep xgettext working.
8349 dos/Makefile | 16 +++-------------
8350 src/xz/message.c | 17 +++++++++--------
8351 src/xz/process.c | 30 +++++++++++++++---------------
8352 src/xz/util.c | 34 ++++++++++++++++++++++++++++++++++
8353 src/xz/util.h | 20 ++++++++++++++++++++
8354 windows/Makefile | 13 +++----------
8355 6 files changed, 84 insertions(+), 46 deletions(-)
8357 commit fe378d47074b16c52b00fe184d119287c68ce2e7
8358 Author: Lasse Collin <lasse.collin@tukaani.org>
8359 Date: 2009-06-26 15:40:40 +0300
8361 Added missing source files to windows/Makefile.
8363 windows/Makefile | 2 ++
8364 1 file changed, 2 insertions(+)
8366 commit 390a6408563067613b29de895cb40e4d0386d62c
8367 Author: Lasse Collin <lasse.collin@tukaani.org>
8368 Date: 2009-06-26 15:37:53 +0300
8370 Basic support for building with Cygwin and MinGW using
8371 the Autotools based build system. It's not good yet, more
8374 configure.ac | 7 +++++++
8375 src/liblzma/api/lzma.h | 7 +++++--
8376 src/liblzma/check/crc32_x86.S | 7 ++++---
8377 src/liblzma/check/crc64_x86.S | 7 ++++---
8378 src/liblzma/common/common.h | 2 +-
8379 windows/Makefile | 16 +++++++---------
8380 6 files changed, 28 insertions(+), 18 deletions(-)
8382 commit 1c9360b7d1197457aaad2f8888b99f1149861579
8383 Author: Lasse Collin <lasse.collin@tukaani.org>
8384 Date: 2009-06-26 14:47:31 +0300
8386 Fix @variables@ to $(variables) in Makefile.am files.
8387 Fix the ordering of libgnu.a and LTLIBINTL on the linker
8388 command line and added missing LTLIBINTL to tests/Makefile.am.
8390 debug/Makefile.am | 12 ++++++------
8391 src/liblzma/check/Makefile.am | 4 ++--
8392 src/liblzma/common/Makefile.am | 16 ++++++++--------
8393 src/liblzma/delta/Makefile.am | 4 ++--
8394 src/liblzma/lz/Makefile.am | 6 +++---
8395 src/liblzma/lzma/Makefile.am | 8 ++++----
8396 src/liblzma/rangecoder/Makefile.am | 4 ++--
8397 src/liblzma/simple/Makefile.am | 4 ++--
8398 src/liblzma/subblock/Makefile.am | 4 ++--
8399 src/xz/Makefile.am | 21 +++++++++++----------
8400 src/xzdec/Makefile.am | 19 ++++++++++---------
8401 tests/Makefile.am | 12 +++++++-----
8402 12 files changed, 59 insertions(+), 55 deletions(-)
8404 commit d45615c555e250209ebb55aa3649abe790f1eeac
8405 Author: Lasse Collin <lasse.collin@tukaani.org>
8406 Date: 2009-06-26 14:20:02 +0300
8408 Allow to explicitly specify autotool versions in autogen.sh.
8410 autogen.sh | 12 ++++++------
8411 1 file changed, 6 insertions(+), 6 deletions(-)
8413 commit eaf8367368a329afa48785380f9dca6b681f3397
8414 Author: Lasse Collin <lasse.collin@tukaani.org>
8415 Date: 2009-06-26 14:18:32 +0300
8417 Add version.sh to EXTRA_DIST.
8420 1 file changed, 2 insertions(+), 1 deletion(-)
8422 commit b317b218e2d383dd27a700094c0de4510540ea18
8423 Author: Lasse Collin <lasse.collin@tukaani.org>
8424 Date: 2009-06-24 20:14:10 +0300
8426 Support HW_PHYSMEM64
8428 src/common/physmem.h | 30 +++++++++++++++++++-----------
8429 1 file changed, 19 insertions(+), 11 deletions(-)
8431 commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7
8432 Author: Lasse Collin <lasse.collin@tukaani.org>
8433 Date: 2009-06-24 13:01:59 +0300
8435 Cast a char argument to isspace() to unsigned char.
8437 src/xz/args.c | 11 +++++++++--
8438 1 file changed, 9 insertions(+), 2 deletions(-)
8440 commit 1735d31ea347210e914df038eeea4b2626e76e42
8441 Author: Lasse Collin <lasse.collin@tukaani.org>
8442 Date: 2009-06-05 13:46:26 +0300
8444 A few more spelling fixes. Released the .xz spec 1.0.3.
8446 doc/xz-file-format.txt | 12 +++++++-----
8447 1 file changed, 7 insertions(+), 5 deletions(-)
8449 commit 8ed156ce894966103e895aa08f2a9fb912f6fad5
8450 Author: Lasse Collin <lasse.collin@tukaani.org>
8451 Date: 2009-06-04 23:42:12 +0300
8453 Added xzdec man page.
8455 src/xzdec/Makefile.am | 11 ++++
8456 src/xzdec/xzdec.1 | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++
8457 2 files changed, 184 insertions(+)
8459 commit f6df39afaa84f71439507178a49b2a5dda6e824c
8460 Author: Lasse Collin <lasse.collin@tukaani.org>
8461 Date: 2009-06-04 23:26:47 +0300
8463 Harmonized xzdec --memory with xz --memory and made
8466 src/xzdec/xzdec.c | 74 +++++++++++++++++++++++++++++++++++++++----------------
8467 1 file changed, 53 insertions(+), 21 deletions(-)
8469 commit 1774f27c61ce294a56712ca2f4785f90a62441bc
8470 Author: Lasse Collin <lasse.collin@tukaani.org>
8471 Date: 2009-06-04 22:59:55 +0300
8473 Fix purporse -> purpose. Thanks to Andrew Dudman.
8474 Released .xz spec 1.0.2 due to this fix too.
8477 doc/xz-file-format.txt | 8 +++++---
8478 src/liblzma/liblzma.pc.in | 2 +-
8479 windows/Makefile | 2 +-
8480 4 files changed, 8 insertions(+), 5 deletions(-)
8482 commit cb613455642f48fb51059e22018615f64c59b70f
8483 Author: Lasse Collin <lasse.collin@tukaani.org>
8484 Date: 2009-06-01 14:53:57 +0300
8486 The .xz file format version 1.0.1
8488 doc/xz-file-format.txt | 29 ++++++++++++++++++++++-------
8489 1 file changed, 22 insertions(+), 7 deletions(-)
8491 commit 083c23c680ff844846d177cfc58bb7a874e7e6b9
8492 Author: Lasse Collin <lasse.collin@tukaani.org>
8493 Date: 2009-05-26 14:48:48 +0300
8495 Make the raw value of the Check field available to applications
8496 via lzma_block structure.
8498 This changes ABI but not doesn't break API.
8500 src/liblzma/api/lzma/block.h | 17 ++++++++++++++++
8501 src/liblzma/common/block_buffer_encoder.c | 1 +
8502 src/liblzma/common/block_decoder.c | 34 ++++++++++++++-----------------
8503 src/liblzma/common/block_encoder.c | 21 ++++++++-----------
8504 4 files changed, 42 insertions(+), 31 deletions(-)
8506 commit b4f5c814090dc07d4350453576305e41eb9c998d
8507 Author: Lasse Collin <lasse.collin@tukaani.org>
8508 Date: 2009-05-23 16:57:21 +0300
8510 Remove undocumented alternative option names --bcj, --ppc,
8513 src/xz/args.c | 3 ---
8514 1 file changed, 3 deletions(-)
8516 commit b1edee2cdc7ef4411b1a21c07094ec763f071281
8517 Author: Lasse Collin <lasse.collin@tukaani.org>
8518 Date: 2009-05-23 15:12:23 +0300
8520 Add support for specifying the BCJ filter start offset
8521 in the xz command line tool.
8523 src/xz/args.c | 36 +++++++++++++++++++++---------------
8524 src/xz/message.c | 14 ++++++++------
8525 src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++
8526 src/xz/options.h | 7 +++++++
8527 4 files changed, 76 insertions(+), 21 deletions(-)
8529 commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb
8530 Author: Lasse Collin <lasse.collin@tukaani.org>
8531 Date: 2009-05-23 14:51:09 +0300
8536 1 file changed, 2 insertions(+)
8538 commit dcedb6998cefeca6597dd1219328a3abf5acf66d
8539 Author: Lasse Collin <lasse.collin@tukaani.org>
8540 Date: 2009-05-22 16:40:50 +0300
8542 Added support for --quiet and --no-warn to xzdec.
8543 Cleaned up the --help message a little.
8545 src/xzdec/xzdec.c | 76 +++++++++++++++++++++++++++++++++++--------------------
8546 1 file changed, 49 insertions(+), 27 deletions(-)
8548 commit 5f735dae80aa629853f4831d7b84ec1c614979eb
8549 Author: Lasse Collin <lasse.collin@tukaani.org>
8550 Date: 2009-05-22 15:11:52 +0300
8552 Use the 40 % of RAM memory usage limit in xzdec too.
8554 Update the memory usage info text in --help to match
8555 the text in xz --long-help.
8557 src/xzdec/xzdec.c | 10 +++++-----
8558 1 file changed, 5 insertions(+), 5 deletions(-)
8560 commit b60376249e0c586910c4121fab4f791820cc1289
8561 Author: Lasse Collin <lasse.collin@tukaani.org>
8562 Date: 2009-05-22 14:43:00 +0300
8566 src/xz/args.c | 8 +++++++-
8567 src/xz/main.c | 17 +++++++++++++++++
8568 src/xz/main.h | 6 ++++++
8569 src/xz/message.c | 4 ++++
8570 4 files changed, 34 insertions(+), 1 deletion(-)
8572 commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008
8573 Author: Lasse Collin <lasse.collin@tukaani.org>
8574 Date: 2009-05-22 14:27:40 +0300
8578 src/xz/main.h | 2 +-
8579 1 file changed, 1 insertion(+), 1 deletion(-)
8581 commit 4dd21d23f22569285ae706b58b0e5904b8db1839
8582 Author: Lasse Collin <lasse.collin@tukaani.org>
8583 Date: 2009-05-22 14:21:20 +0300
8585 Remove the --info option, which was an alias for --list.
8588 1 file changed, 1 deletion(-)
8590 commit 8836139b63ce774bdd62abf17ab69b290e08229e
8591 Author: Lasse Collin <lasse.collin@tukaani.org>
8592 Date: 2009-05-22 12:27:43 +0300
8594 If xz is run as lzma, unlzma, or lzcat, simply imply
8595 --format=lzma. This means that xz emulating lzma
8596 doesn't decompress .xz files, while before this
8597 commit it did. The new way is slightly simpler in
8598 code and especially in upcoming documentation.
8600 src/xz/args.c | 17 ++++++-----------
8601 1 file changed, 6 insertions(+), 11 deletions(-)
8603 commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d
8604 Author: Lasse Collin <lasse.collin@tukaani.org>
8605 Date: 2009-05-22 11:29:50 +0300
8607 Make the default memory usage limit 40 % of RAM for both
8608 compressing and decompressing. This should be OK now that
8609 xz automatically scales down the compression settings if
8610 they would exceed the memory usage limit (earlier, the limit
8611 for compression was increased to 90 % because low limit broke
8612 scripts that used "xz -9" on systems with low RAM).
8614 Support spcifying the memory usage limit as a percentage
8615 of RAM (e.g. --memory=50%).
8617 Support --threads=0 to reset the thread limit to the default
8618 value (number of available CPU cores). Use UINT32_MAX instead
8619 of SIZE_MAX as the maximum in args.c. hardware.c was already
8620 expecting uint32_t value.
8622 Cleaned up the output of --help and --long-help.
8624 src/xz/args.c | 28 +++++++++++++-----
8625 src/xz/hardware.c | 86 +++++++++++++++++++++++--------------------------------
8626 src/xz/hardware.h | 10 +++----
8627 src/xz/message.c | 28 +++++++++---------
8628 src/xz/process.c | 18 +++++-------
8629 5 files changed, 82 insertions(+), 88 deletions(-)
8631 commit 071b825b23911a69dd1cd2f8cda004ef8a781fae
8632 Author: Lasse Collin <lasse.collin@tukaani.org>
8633 Date: 2009-05-21 17:22:01 +0300
8635 Support special value "max" where xz and xzdec accept an integer.
8636 Don't round the memory usage limit in xzdec --help to avoid
8637 an integer overflow and to not give wrong impression that
8638 the limit is high enough when it may not actually be.
8640 src/xz/util.c | 4 ++++
8641 src/xzdec/xzdec.c | 6 +++++-
8642 2 files changed, 9 insertions(+), 1 deletion(-)
8644 commit 03ca67fd37dd43fa7f590de340899cd497c10802
8645 Author: ABCD <en.abcd@gmail.com>
8646 Date: 2009-05-20 17:31:18 -0400
8648 Install lzdiff, lzgrep, and lzmore as symlinks
8650 This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install.
8651 It also installs symlinks for the manual pages and removes the new
8652 symlinks on uninstall.
8654 src/scripts/Makefile.am | 16 ++++++++++++++--
8655 1 file changed, 14 insertions(+), 2 deletions(-)
8657 commit a6f43e64128a6da5cd641de1e1e527433b3e5638
8658 Author: Lasse Collin <lasse.collin@tukaani.org>
8659 Date: 2009-05-02 16:10:14 +0300
8661 Use a GCC-specific #pragma instead of GCC-specific
8662 -Wno-uninitialized to silence a bogus warning.
8664 configure.ac | 13 -------------
8665 src/liblzma/check/Makefile.am | 5 -----
8666 src/liblzma/check/sha256.c | 5 +++++
8667 3 files changed, 5 insertions(+), 18 deletions(-)
8669 commit f6ce63ebdb45a857c8949960c83c9580ae888951
8670 Author: Lasse Collin <lasse.collin@tukaani.org>
8671 Date: 2009-05-02 14:46:50 +0300
8673 Removed --disable-encoder and --disable-decoder. Use the values
8674 given to --enable-encoders and --enable-decoders to determine
8675 if any encoder or decoder support is wanted.
8677 configure.ac | 48 ++++++++----------------------------------------
8678 1 file changed, 8 insertions(+), 40 deletions(-)
8680 commit be06858d5cf8ba46557395035d821dc332f3f830
8681 Author: Lasse Collin <lasse.collin@tukaani.org>
8682 Date: 2009-05-01 11:28:52 +0300
8684 Remove docs that are too outdated to be updated
8685 (rewrite will be better).
8687 doc/liblzma-advanced.txt | 324 -----------------------------------------------
8688 doc/liblzma-hacking.txt | 112 ----------------
8689 doc/liblzma-intro.txt | 194 ----------------------------
8690 doc/liblzma-security.txt | 219 --------------------------------
8691 doc/lzma-intro.txt | 107 ----------------
8692 5 files changed, 956 deletions(-)
8694 commit 0255401e57c96af87c6b159eca28974e79430a82
8695 Author: Lasse Collin <lasse.collin@tukaani.org>
8696 Date: 2009-05-01 11:21:46 +0300
8698 Added documentation about the legacy .lzma file format.
8700 doc/lzma-file-format.txt | 166 +++++++++++++++++++++++++++++++++++++++++++++++
8701 1 file changed, 166 insertions(+)
8703 commit 1496ff437c46f38303e0e94c511ca604b3a11f85
8704 Author: Lasse Collin <lasse.collin@tukaani.org>
8705 Date: 2009-05-01 11:20:23 +0300
8707 Renamed the file format specification to xz-file-format.txt
8708 which is the filename used on the WWW.
8710 doc/file-format.txt | 1127 ------------------------------------------------
8711 doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++
8712 2 files changed, 1127 insertions(+), 1127 deletions(-)
8714 commit 21c6b94373d239d7e86bd480fcd558e30391712f
8715 Author: Lasse Collin <lasse.collin@tukaani.org>
8716 Date: 2009-04-28 23:08:32 +0300
8718 Fixed a crash in liblzma.
8720 liblzma tries to avoid useless free()/malloc() pairs in
8721 initialization when multiple files are handled using the
8722 same lzma_stream. This didn't work with filter chains
8723 due to comparison of wrong pointers in lzma_next_coder_init(),
8724 making liblzma think that no memory reallocation is needed
8725 even when it actually is.
8727 Easy way to trigger this bug is to decompress two files with
8728 a single xz command. The first file should have e.g. x86+LZMA2
8729 as the filter chain, and the second file just LZMA2.
8731 src/liblzma/common/alone_decoder.c | 2 +-
8732 src/liblzma/common/alone_encoder.c | 4 ++--
8733 src/liblzma/common/auto_decoder.c | 2 +-
8734 src/liblzma/common/block_decoder.c | 2 +-
8735 src/liblzma/common/block_encoder.c | 2 +-
8736 src/liblzma/common/common.h | 4 ++--
8737 src/liblzma/common/easy_encoder.c | 2 +-
8738 src/liblzma/common/index_decoder.c | 2 +-
8739 src/liblzma/common/index_encoder.c | 2 +-
8740 src/liblzma/common/stream_decoder.c | 2 +-
8741 src/liblzma/common/stream_encoder.c | 2 +-
8742 11 files changed, 13 insertions(+), 13 deletions(-)
8744 commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c
8745 Author: Lasse Collin <lasse.collin@tukaani.org>
8746 Date: 2009-04-15 14:13:38 +0300
8748 Fix uint32_t -> size_t in ARM and ARM-Thumb filters.
8750 On 64-bit system it would have gone into infinite
8751 loop if a single input buffer was over 4 GiB (unlikely).
8753 src/liblzma/simple/arm.c | 2 +-
8754 src/liblzma/simple/armthumb.c | 2 +-
8755 2 files changed, 2 insertions(+), 2 deletions(-)
8757 commit 31decdce041581e57c0d8a407d4795b114ef27ca
8758 Author: Lasse Collin <lasse.collin@tukaani.org>
8759 Date: 2009-04-14 11:48:46 +0300
8761 Minor fixes to test files' README.
8763 tests/files/README | 17 +++++++++--------
8764 1 file changed, 9 insertions(+), 8 deletions(-)
8766 commit 4787d654434891c7df5b43959b0d2873718f06e0
8767 Author: Lasse Collin <lasse.collin@tukaani.org>
8768 Date: 2009-04-13 16:36:41 +0300
8770 Updated history.txt.
8772 doc/history.txt | 123 ++++++++++++++++++++++++++++++--------------------------
8773 1 file changed, 66 insertions(+), 57 deletions(-)
8775 commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9
8776 Author: Lasse Collin <lasse.collin@tukaani.org>
8777 Date: 2009-04-13 14:49:48 +0300
8779 Quick & dirty update to support xz in diff/grep/more scripts.
8781 src/scripts/Makefile.am | 38 +++++++++------
8782 src/scripts/lzdiff | 67 --------------------------
8783 src/scripts/lzdiff.1 | 51 --------------------
8784 src/scripts/lzgrep | 123 ------------------------------------------------
8785 src/scripts/lzgrep.1 | 61 ------------------------
8786 src/scripts/lzmore | 74 -----------------------------
8787 src/scripts/lzmore.1 | 55 ----------------------
8788 src/scripts/xzdiff | 67 ++++++++++++++++++++++++++
8789 src/scripts/xzdiff.1 | 58 +++++++++++++++++++++++
8790 src/scripts/xzgrep | 123 ++++++++++++++++++++++++++++++++++++++++++++++++
8791 src/scripts/xzgrep.1 | 77 ++++++++++++++++++++++++++++++
8792 src/scripts/xzmore | 74 +++++++++++++++++++++++++++++
8793 src/scripts/xzmore.1 | 66 ++++++++++++++++++++++++++
8794 13 files changed, 489 insertions(+), 445 deletions(-)
8796 commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc
8797 Author: Lasse Collin <lasse.collin@tukaani.org>
8798 Date: 2009-04-13 11:27:40 +0300
8800 Put the interesting parts of XZ Utils into the public domain.
8801 Some minor documentation cleanups were made at the same time.
8803 COPYING | 67 ++++++++++++++++++++------
8806 Makefile.am | 13 ++---
8808 configure.ac | 13 ++---
8809 debug/Makefile.am | 13 ++---
8810 debug/crc32.c | 13 ++---
8811 debug/full_flush.c | 13 ++---
8812 debug/hex2bin.c | 7 ++-
8813 debug/known_sizes.c | 13 ++---
8814 debug/memusage.c | 13 ++---
8815 debug/repeat.c | 13 ++---
8816 debug/sync_flush.c | 13 ++---
8817 doc/faq.txt | 38 ++-------------
8818 lib/Makefile.am | 18 +++----
8819 src/Makefile.am | 13 ++---
8820 src/common/bswap.h | 7 ++-
8821 src/common/cpucores.h | 7 ++-
8822 src/common/integer.h | 7 ++-
8823 src/common/mythread.h | 4 +-
8824 src/common/open_stdxxx.h | 7 ++-
8825 src/common/physmem.h | 7 ++-
8826 src/common/sysdefs.h | 13 ++---
8827 src/liblzma/Makefile.am | 13 ++---
8828 src/liblzma/api/Makefile.am | 13 ++---
8829 src/liblzma/api/lzma.h | 38 +++++++++------
8830 src/liblzma/api/lzma/base.h | 20 +++-----
8831 src/liblzma/api/lzma/bcj.h | 18 +++----
8832 src/liblzma/api/lzma/block.h | 18 +++----
8833 src/liblzma/api/lzma/check.h | 18 +++----
8834 src/liblzma/api/lzma/container.h | 18 +++----
8835 src/liblzma/api/lzma/delta.h | 18 +++----
8836 src/liblzma/api/lzma/filter.h | 18 +++----
8837 src/liblzma/api/lzma/index.h | 18 +++----
8838 src/liblzma/api/lzma/index_hash.h | 22 +++------
8839 src/liblzma/api/lzma/lzma.h | 18 +++----
8840 src/liblzma/api/lzma/stream_flags.h | 18 +++----
8841 src/liblzma/api/lzma/subblock.h | 18 +++----
8842 src/liblzma/api/lzma/version.h | 18 +++----
8843 src/liblzma/api/lzma/vli.h | 46 ++++++++----------
8844 src/liblzma/check/Makefile.am | 8 ++-
8845 src/liblzma/check/check.c | 7 ++-
8846 src/liblzma/check/check.h | 7 ++-
8847 src/liblzma/check/crc32_fast.c | 30 +++++-------
8848 src/liblzma/check/crc32_small.c | 7 ++-
8849 src/liblzma/check/crc32_table.c | 7 ++-
8850 src/liblzma/check/crc32_tablegen.c | 7 ++-
8851 src/liblzma/check/crc32_x86.S | 21 +++++---
8852 src/liblzma/check/crc64_fast.c | 20 +++-----
8853 src/liblzma/check/crc64_small.c | 7 ++-
8854 src/liblzma/check/crc64_table.c | 7 ++-
8855 src/liblzma/check/crc64_tablegen.c | 7 ++-
8856 src/liblzma/check/crc64_x86.S | 14 ++++--
8857 src/liblzma/check/crc_macros.h | 9 ++--
8858 src/liblzma/check/sha256.c | 23 +++++----
8859 src/liblzma/common/Makefile.am | 13 ++---
8860 src/liblzma/common/alone_decoder.c | 13 ++---
8861 src/liblzma/common/alone_decoder.h | 13 ++---
8862 src/liblzma/common/alone_encoder.c | 13 ++---
8863 src/liblzma/common/auto_decoder.c | 13 ++---
8864 src/liblzma/common/block_buffer_decoder.c | 13 ++---
8865 src/liblzma/common/block_buffer_encoder.c | 13 ++---
8866 src/liblzma/common/block_decoder.c | 13 ++---
8867 src/liblzma/common/block_decoder.h | 13 ++---
8868 src/liblzma/common/block_encoder.c | 13 ++---
8869 src/liblzma/common/block_encoder.h | 13 ++---
8870 src/liblzma/common/block_header_decoder.c | 13 ++---
8871 src/liblzma/common/block_header_encoder.c | 13 ++---
8872 src/liblzma/common/block_util.c | 13 ++---
8873 src/liblzma/common/bsr.h | 7 ++-
8874 src/liblzma/common/chunk_size.c | 13 ++---
8875 src/liblzma/common/common.c | 13 ++---
8876 src/liblzma/common/common.h | 13 ++---
8877 src/liblzma/common/easy_buffer_encoder.c | 13 ++---
8878 src/liblzma/common/easy_decoder_memusage.c | 13 ++---
8879 src/liblzma/common/easy_encoder.c | 13 ++---
8880 src/liblzma/common/easy_encoder_memusage.c | 13 ++---
8881 src/liblzma/common/easy_preset.c | 13 ++---
8882 src/liblzma/common/easy_preset.h | 13 ++---
8883 src/liblzma/common/filter_buffer_decoder.c | 13 ++---
8884 src/liblzma/common/filter_buffer_encoder.c | 13 ++---
8885 src/liblzma/common/filter_common.c | 13 ++---
8886 src/liblzma/common/filter_common.h | 13 ++---
8887 src/liblzma/common/filter_decoder.c | 13 ++---
8888 src/liblzma/common/filter_decoder.h | 13 ++---
8889 src/liblzma/common/filter_encoder.c | 13 ++---
8890 src/liblzma/common/filter_encoder.h | 13 ++---
8891 src/liblzma/common/filter_flags_decoder.c | 13 ++---
8892 src/liblzma/common/filter_flags_encoder.c | 13 ++---
8893 src/liblzma/common/index.c | 13 ++---
8894 src/liblzma/common/index.h | 13 ++---
8895 src/liblzma/common/index_decoder.c | 13 ++---
8896 src/liblzma/common/index_encoder.c | 13 ++---
8897 src/liblzma/common/index_encoder.h | 13 ++---
8898 src/liblzma/common/index_hash.c | 13 ++---
8899 src/liblzma/common/stream_buffer_decoder.c | 13 ++---
8900 src/liblzma/common/stream_buffer_encoder.c | 13 ++---
8901 src/liblzma/common/stream_decoder.c | 13 ++---
8902 src/liblzma/common/stream_decoder.h | 13 ++---
8903 src/liblzma/common/stream_encoder.c | 13 ++---
8904 src/liblzma/common/stream_encoder.h | 13 ++---
8905 src/liblzma/common/stream_flags_common.c | 13 ++---
8906 src/liblzma/common/stream_flags_common.h | 13 ++---
8907 src/liblzma/common/stream_flags_decoder.c | 13 ++---
8908 src/liblzma/common/stream_flags_encoder.c | 13 ++---
8909 src/liblzma/common/vli_decoder.c | 13 ++---
8910 src/liblzma/common/vli_encoder.c | 13 ++---
8911 src/liblzma/common/vli_size.c | 13 ++---
8912 src/liblzma/delta/Makefile.am | 13 ++---
8913 src/liblzma/delta/delta_common.c | 13 ++---
8914 src/liblzma/delta/delta_common.h | 13 ++---
8915 src/liblzma/delta/delta_decoder.c | 13 ++---
8916 src/liblzma/delta/delta_decoder.h | 13 ++---
8917 src/liblzma/delta/delta_encoder.c | 13 ++---
8918 src/liblzma/delta/delta_encoder.h | 13 ++---
8919 src/liblzma/delta/delta_private.h | 13 ++---
8920 src/liblzma/lz/Makefile.am | 13 ++---
8921 src/liblzma/lz/lz_decoder.c | 17 ++-----
8922 src/liblzma/lz/lz_decoder.h | 17 ++-----
8923 src/liblzma/lz/lz_encoder.c | 17 ++-----
8924 src/liblzma/lz/lz_encoder.h | 17 ++-----
8925 src/liblzma/lz/lz_encoder_hash.h | 13 ++---
8926 src/liblzma/lz/lz_encoder_mf.c | 17 ++-----
8927 src/liblzma/lzma/Makefile.am | 13 ++---
8928 src/liblzma/lzma/fastpos.h | 17 ++-----
8929 src/liblzma/lzma/fastpos_tablegen.c | 17 ++-----
8930 src/liblzma/lzma/lzma2_decoder.c | 17 ++-----
8931 src/liblzma/lzma/lzma2_decoder.h | 17 ++-----
8932 src/liblzma/lzma/lzma2_encoder.c | 17 ++-----
8933 src/liblzma/lzma/lzma2_encoder.h | 17 ++-----
8934 src/liblzma/lzma/lzma_common.h | 17 ++-----
8935 src/liblzma/lzma/lzma_decoder.c | 17 ++-----
8936 src/liblzma/lzma/lzma_decoder.h | 17 ++-----
8937 src/liblzma/lzma/lzma_encoder.c | 17 ++-----
8938 src/liblzma/lzma/lzma_encoder.h | 17 ++-----
8939 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 13 ++---
8940 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 ++---
8941 src/liblzma/lzma/lzma_encoder_presets.c | 13 ++---
8942 src/liblzma/lzma/lzma_encoder_private.h | 17 ++-----
8943 src/liblzma/rangecoder/Makefile.am | 13 ++---
8944 src/liblzma/rangecoder/price.h | 13 ++---
8945 src/liblzma/rangecoder/price_tablegen.c | 16 ++----
8946 src/liblzma/rangecoder/range_common.h | 17 ++-----
8947 src/liblzma/rangecoder/range_decoder.h | 17 ++-----
8948 src/liblzma/rangecoder/range_encoder.h | 17 ++-----
8949 src/liblzma/simple/Makefile.am | 13 ++---
8950 src/liblzma/simple/arm.c | 17 ++-----
8951 src/liblzma/simple/armthumb.c | 17 ++-----
8952 src/liblzma/simple/ia64.c | 17 ++-----
8953 src/liblzma/simple/powerpc.c | 17 ++-----
8954 src/liblzma/simple/simple_coder.c | 13 ++---
8955 src/liblzma/simple/simple_coder.h | 14 ++----
8956 src/liblzma/simple/simple_decoder.c | 13 ++---
8957 src/liblzma/simple/simple_decoder.h | 13 ++---
8958 src/liblzma/simple/simple_encoder.c | 13 ++---
8959 src/liblzma/simple/simple_encoder.h | 13 ++---
8960 src/liblzma/simple/simple_private.h | 13 ++---
8961 src/liblzma/simple/sparc.c | 17 ++-----
8962 src/liblzma/simple/x86.c | 17 ++-----
8963 src/liblzma/subblock/Makefile.am | 13 ++---
8964 src/liblzma/subblock/subblock_decoder.c | 13 ++---
8965 src/liblzma/subblock/subblock_decoder.h | 13 ++---
8966 src/liblzma/subblock/subblock_decoder_helper.c | 13 ++---
8967 src/liblzma/subblock/subblock_decoder_helper.h | 13 ++---
8968 src/liblzma/subblock/subblock_encoder.c | 13 ++---
8969 src/liblzma/subblock/subblock_encoder.h | 13 ++---
8970 src/scripts/Makefile.am | 7 +++
8971 src/xz/Makefile.am | 13 ++---
8972 src/xz/args.c | 13 ++---
8973 src/xz/args.h | 13 ++---
8974 src/xz/hardware.c | 13 ++---
8975 src/xz/hardware.h | 13 ++---
8976 src/xz/io.c | 13 ++---
8977 src/xz/io.h | 13 ++---
8978 src/xz/list.c | 13 ++---
8979 src/xz/main.c | 13 ++---
8980 src/xz/main.h | 13 ++---
8981 src/xz/message.c | 13 ++---
8982 src/xz/message.h | 13 ++---
8983 src/xz/options.c | 13 ++---
8984 src/xz/options.h | 13 ++---
8985 src/xz/private.h | 13 ++---
8986 src/xz/process.c | 13 ++---
8987 src/xz/process.h | 13 ++---
8988 src/xz/signals.c | 13 ++---
8989 src/xz/signals.h | 13 ++---
8990 src/xz/suffix.c | 13 ++---
8991 src/xz/suffix.h | 13 ++---
8992 src/xz/util.c | 13 ++---
8993 src/xz/util.h | 13 ++---
8994 src/xzdec/Makefile.am | 13 ++---
8995 src/xzdec/xzdec.c | 13 ++---
8996 tests/Makefile.am | 13 ++---
8997 tests/bcj_test.c | 7 ++-
8998 tests/create_compress_files.c | 13 ++---
8999 tests/test_block.c | 13 ++---
9000 tests/test_block_header.c | 13 ++---
9001 tests/test_check.c | 13 ++---
9002 tests/test_compress.sh | 13 ++---
9003 tests/test_files.sh | 13 ++---
9004 tests/test_filter_flags.c | 13 ++---
9005 tests/test_index.c | 13 ++---
9006 tests/test_stream_flags.c | 13 ++---
9007 tests/tests.h | 13 ++---
9008 windows/common.rc | 2 +-
9009 206 files changed, 868 insertions(+), 2023 deletions(-)
9011 commit e79c42d854657ae7f75613bd80c1a35ff7c525cb
9012 Author: Lasse Collin <lasse.collin@tukaani.org>
9013 Date: 2009-04-10 11:17:02 +0300
9015 Fix off-by-one in LZ decoder.
9017 Fortunately, this bug had no security risk other than accepting
9018 some corrupt files as valid.
9020 src/liblzma/lz/lz_decoder.h | 2 +-
9021 1 file changed, 1 insertion(+), 1 deletion(-)
9023 commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af
9024 Author: Pavel Roskin <proski@gnu.org>
9025 Date: 2009-03-31 12:15:01 -0400
9027 Fix minor typos in README
9030 1 file changed, 3 insertions(+), 3 deletions(-)
9032 commit 9bab5336ebd765ec4e12252f416eefdf04eba750
9033 Author: Lasse Collin <lasse.collin@tukaani.org>
9034 Date: 2009-03-31 21:52:51 +0300
9036 Add a note and work-around instructions to README about
9037 problems detecting a C99 compiler when some standard
9038 headers are missing.
9040 README | 11 +++++++++++
9041 1 file changed, 11 insertions(+)
9043 commit a0497ff7a06f9350349264fe9b52dfefc6d53ead
9044 Author: Lasse Collin <lasse.collin@tukaani.org>
9045 Date: 2009-03-18 16:54:38 +0200
9050 1 file changed, 1 insertion(+)
9052 commit 390e69887fc5e0a108eb41203bed9acd100a3d76
9053 Author: Lasse Collin <lasse.collin@tukaani.org>
9054 Date: 2009-03-18 16:51:41 +0200
9056 Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
9057 Thanks to Bert Wesarg.
9059 m4/lc_cpucores.m4 | 4 ++--
9060 src/common/cpucores.h | 4 ++--
9061 2 files changed, 4 insertions(+), 4 deletions(-)
9063 commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6
9064 Author: Lasse Collin <lasse.collin@tukaani.org>
9065 Date: 2009-03-01 09:03:08 +0200
9067 Test for Linux-specific sysinfo() only on Linux systems.
9068 Some other systems have sysinfo() with different semantics.
9070 m4/lc_physmem.m4 | 28 +++++++++++++++++++---------
9071 1 file changed, 19 insertions(+), 9 deletions(-)
9073 commit cf751edfde3ad6e088dc18e0522d31ae38405933
9074 Author: Lasse Collin <lasse.collin@tukaani.org>
9075 Date: 2009-03-01 09:00:06 +0200
9077 Added AC_CONFIG_MACRO_DIR to configure.ac.
9080 1 file changed, 1 insertion(+)
9082 commit 63df14c57dee7c461717784287056688482a7eb9
9083 Author: Lasse Collin <lasse.collin@tukaani.org>
9084 Date: 2009-03-01 08:58:41 +0200
9086 Fix the Autoconf test for getopt_long replacement.
9087 It was broken by e114502b2bc371e4a45449832cb69be036360722.
9089 m4/getopt.m4 | 4 ++++
9090 1 file changed, 4 insertions(+)
9092 commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f
9093 Author: Lasse Collin <lasse.collin@tukaani.org>
9094 Date: 2009-02-22 19:07:54 +0200
9096 Add a rough explanation of --extreme to output of --help.
9098 src/xz/message.c | 4 ++++
9099 1 file changed, 4 insertions(+)
9101 commit 68bf7ac2984d3627369a240ef0491934d53f7899
9102 Author: Lasse Collin <lasse.collin@tukaani.org>
9103 Date: 2009-02-22 18:52:49 +0200
9105 Fixes to progress message handling in xz:
9107 - Don't use Windows-specific code on Windows. The old code
9108 required at least Windows 2000. Now it should work on
9109 Windows 98 and later, and maybe on Windows 95 too.
9111 - Use less precision when showing estimated remaining time.
9113 - Fix some small design issues.
9115 src/xz/message.c | 483 +++++++++++++++++++++++++++++++++++--------------------
9116 src/xz/message.h | 28 ++--
9117 src/xz/process.c | 53 +++---
9118 3 files changed, 351 insertions(+), 213 deletions(-)
9120 commit 47c2e21f82242f50f18713a27d644c2c94ab3fea
9121 Author: Lasse Collin <lasse.collin@tukaani.org>
9122 Date: 2009-02-18 13:00:10 +0200
9124 Added files missing from the previous commit.
9126 src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++
9127 src/liblzma/common/Makefile.am | 7 ++++++-
9128 2 files changed, 39 insertions(+), 1 deletion(-)
9130 commit 489a3dbaa0465f04400804e956a1cfbbee3654a2
9131 Author: Lasse Collin <lasse.collin@tukaani.org>
9132 Date: 2009-02-17 10:43:00 +0200
9134 Added lzma_easy_buffer_encode(). Splitted easy.c into small
9135 pieces to avoid unneeded dependencies making statically
9136 linked applications bigger than needed.
9139 src/liblzma/common/easy.c | 128 -----------------------------
9140 src/liblzma/common/easy_buffer_encoder.c | 34 ++++++++
9141 src/liblzma/common/easy_decoder_memusage.c | 31 +++++++
9142 src/liblzma/common/easy_encoder.c | 87 ++++++++++++++++++++
9143 src/liblzma/common/easy_encoder_memusage.c | 31 +++++++
9144 src/liblzma/common/easy_preset.c | 34 ++++++++
9145 src/liblzma/common/easy_preset.h | 39 +++++++++
9146 windows/Makefile | 6 +-
9147 9 files changed, 266 insertions(+), 130 deletions(-)
9149 commit 7494816ab08d82f4d6409788825930c4e43cfd0d
9150 Author: Lasse Collin <lasse.collin@tukaani.org>
9151 Date: 2009-02-15 15:48:45 +0200
9153 Make physmem.h work on old Windows versions.
9154 Thanks to Hongbo Ni for the original patch.
9156 src/common/physmem.h | 31 +++++++++++++++++++++++++++----
9157 1 file changed, 27 insertions(+), 4 deletions(-)
9159 commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0
9160 Author: Lasse Collin <lasse.collin@tukaani.org>
9161 Date: 2009-02-14 20:44:52 +0200
9163 Fix microsecond vs. nanosecond confusion in my_time().
9165 src/xz/message.c | 2 +-
9166 1 file changed, 1 insertion(+), 1 deletion(-)
9168 commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7
9169 Author: Lasse Collin <lasse.collin@tukaani.org>
9170 Date: 2009-02-14 00:45:29 +0200
9172 Cleanups to the code that detects the amount of RAM and
9173 the number of CPU cores. Added support for using sysinfo()
9174 on Linux systems whose libc lacks appropriate sysconf()
9175 support (at least dietlibc). The Autoconf macros were
9176 split into separate files, and CPU core count detection
9177 was moved from hardware.c to cpucores.h. The core count
9178 isn't used for anything real for now, so a problematic
9179 part in process.c was commented out.
9181 configure.ac | 89 ++-------------------------------------------------
9182 m4/lc_cpucores.m4 | 57 +++++++++++++++++++++++++++++++++
9183 m4/lc_physmem.m4 | 74 ++++++++++++++++++++++++++++++++++++++++++
9184 src/common/cpucores.h | 52 ++++++++++++++++++++++++++++++
9185 src/common/physmem.h | 21 +++++++-----
9186 src/xz/args.c | 4 +--
9187 src/xz/hardware.c | 50 +++++++++++++----------------
9188 src/xz/hardware.h | 11 +++++--
9189 src/xz/message.c | 5 +--
9190 src/xz/process.c | 2 ++
9191 10 files changed, 235 insertions(+), 130 deletions(-)
9193 commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8
9194 Author: Lasse Collin <lasse.collin@tukaani.org>
9195 Date: 2009-02-13 18:23:50 +0200
9197 Initial port to DOS using DJGPP.
9199 dos/Makefile | 261 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
9200 dos/README | 113 ++++++++++++++++++++++++++
9201 dos/config.h | 150 ++++++++++++++++++++++++++++++++++
9202 3 files changed, 524 insertions(+)
9204 commit 0dae8b7751d09e9c5a482d5519daaee4800ce203
9205 Author: Lasse Collin <lasse.collin@tukaani.org>
9206 Date: 2009-02-13 18:02:05 +0200
9208 Windows port: Take advantage of the version number macros.
9209 Now the version number is not duplicated in the
9210 Windows-specific files anymore.
9212 windows/Makefile | 2 +-
9213 windows/common.rc | 16 ++++++++--------
9214 windows/config.h | 15 ---------------
9215 3 files changed, 9 insertions(+), 24 deletions(-)
9217 commit fdbc0cfa71f7d660855098a609175ba384259529
9218 Author: Lasse Collin <lasse.collin@tukaani.org>
9219 Date: 2009-02-13 18:00:03 +0200
9221 Changed how the version number is specified in various places.
9222 Now configure.ac will get the version number directly from
9223 src/liblzma/api/lzma/version.h. The intent is to reduce the
9224 number of places where the version number is duplicated. In
9225 future, support for displaying Git commit ID may be added too.
9228 src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++++--
9229 src/liblzma/common/common.c | 2 +-
9230 src/xz/message.c | 2 +-
9231 src/xzdec/xzdec.c | 2 +-
9232 version.sh | 23 ++++++++++++++
9233 6 files changed, 95 insertions(+), 7 deletions(-)
9235 commit 1d924e584b146136989f48c13fff2632896efb3d
9236 Author: Lasse Collin <lasse.collin@tukaani.org>
9237 Date: 2009-02-13 17:30:30 +0200
9239 Fix handling of integrity check type in the xz command line tool.
9241 src/xz/args.c | 9 ++++++++-
9242 src/xz/process.c | 4 ++++
9243 2 files changed, 12 insertions(+), 1 deletion(-)
9245 commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8
9246 Author: Lasse Collin <lasse.collin@tukaani.org>
9247 Date: 2009-02-13 17:29:02 +0200
9249 Improve support for DOS-like systems.
9250 Here DOS-like means DOS, Windows, and OS/2.
9252 src/common/physmem.h | 12 ++++++++++++
9253 src/common/sysdefs.h | 4 ++++
9254 src/liblzma/check/crc32_x86.S | 6 +++---
9255 src/liblzma/check/crc64_x86.S | 6 +++---
9256 src/xz/args.c | 13 +++++--------
9257 src/xz/io.c | 39 +++++++++++++++++++++++++--------------
9258 src/xz/main.c | 23 +++++++++++++++++++++++
9259 src/xz/message.c | 3 +++
9260 src/xz/suffix.c | 5 +++++
9261 src/xzdec/xzdec.c | 5 +++--
9262 10 files changed, 86 insertions(+), 30 deletions(-)
9264 commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33
9265 Author: Lasse Collin <lasse.collin@tukaani.org>
9266 Date: 2009-02-11 20:02:32 +0200
9268 Remove dead directories from .gitignore.
9271 1 file changed, 2 deletions(-)
9273 commit 1ec5b0027911d94cb6f98892cbc690f818d8a861
9274 Author: Jim Meyering <jim@meyering.net>
9275 Date: 2009-02-11 14:45:14 +0100
9277 .gitignore vs. Makefiles
9279 How about this for those of us who do srcdir builds?
9281 .gitignore | 22 ++++++++++++++++++++++
9282 1 file changed, 22 insertions(+)
9284 commit 154f5aec2de201c674841de4fcc9804c2a87af07
9285 Author: Lasse Collin <lasse.collin@tukaani.org>
9286 Date: 2009-02-10 21:48:35 +0200
9288 Removed Makefile from .gitignore since not all Makefiles
9289 in the repository are generated by Autotools. People
9290 should do test builds in a separate build directory anyway.
9293 1 file changed, 1 deletion(-)
9295 commit e605c2663691b0a4c307786aa368d124ea081daa
9296 Author: Lasse Collin <lasse.collin@tukaani.org>
9297 Date: 2009-02-10 21:48:05 +0200
9299 Added resource files for the Windows build.
9301 windows/Makefile | 37 ++++++++++++++++++++++---------------
9302 windows/common.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++
9303 windows/liblzma.rc | 5 +++++
9304 windows/lzmadec.rc | 5 +++++
9305 windows/xz.rc | 5 +++++
9306 windows/xzdec.rc | 5 +++++
9307 6 files changed, 88 insertions(+), 15 deletions(-)
9309 commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476
9310 Author: Lasse Collin <lasse.collin@tukaani.org>
9311 Date: 2009-02-09 14:54:31 +0200
9313 Let the user specify custom CFLAGS on the make command
9314 line. Previously custom CFLAGS worked only when they were
9315 passed to configure.
9317 configure.ac | 58 ++++++++++++++++++++++---------------------
9318 src/liblzma/check/Makefile.am | 2 +-
9319 2 files changed, 31 insertions(+), 29 deletions(-)
9321 commit 53f7598998b1860a69c51243b5d2e34623c6bf60
9322 Author: Lasse Collin <lasse.collin@tukaani.org>
9323 Date: 2009-02-08 21:35:11 +0200
9325 Fix aliasing issue in physmem.h.
9327 src/common/physmem.h | 19 ++++++++++---------
9328 1 file changed, 10 insertions(+), 9 deletions(-)
9330 commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6
9331 Author: Lasse Collin <lasse.collin@tukaani.org>
9332 Date: 2009-02-08 18:24:50 +0200
9334 Add a separate internal function to initialize the CRC32
9335 table, which is used also by LZ encoder. This was needed
9336 because calling lzma_crc32() and ignoring the result is
9337 a no-op due to lzma_attr_pure.
9339 src/liblzma/check/check.h | 1 +
9340 src/liblzma/check/crc32_small.c | 10 +++++++++-
9341 src/liblzma/lz/lz_encoder.c | 4 ++--
9342 3 files changed, 12 insertions(+), 3 deletions(-)
9344 commit ae1ad9af54210c9a2be336b1316532da5071516c
9345 Author: Lasse Collin <lasse.collin@tukaani.org>
9346 Date: 2009-02-08 18:17:05 +0200
9348 Make "xz --force" to write to terminal as the error
9351 src/xz/main.c | 2 +-
9352 1 file changed, 1 insertion(+), 1 deletion(-)
9354 commit 79e25eded48d2fe33f31441ab7a034f902e335f8
9355 Author: Lasse Collin <lasse.collin@tukaani.org>
9356 Date: 2009-02-08 10:37:50 +0200
9358 Support both slash and backslash as path component
9359 separator on Windows when parsing argv[0].
9361 src/xz/args.c | 9 +++++++++
9362 1 file changed, 9 insertions(+)
9364 commit bc7c7109cc4410055a888c1c70cbd1c9445c4361
9365 Author: Lasse Collin <lasse.collin@tukaani.org>
9366 Date: 2009-02-07 23:18:13 +0200
9368 Omit the wrong and (even if corrected) nowadays useless rm
9371 autogen.sh | 28 ----------------------------
9372 1 file changed, 28 deletions(-)
9374 commit edfc2031e56f8a2ccda063f02936b3a848d88723
9375 Author: Lasse Collin <lasse.collin@tukaani.org>
9376 Date: 2009-02-07 21:41:52 +0200
9381 1 file changed, 1 insertion(+)
9383 commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3
9384 Author: Lasse Collin <lasse.collin@tukaani.org>
9385 Date: 2009-02-07 21:17:07 +0200
9387 Make it easy to choose if command line tools should be
9388 linked statically or dynamically against liblzma. The
9389 default is still to use static liblzma, but it can now
9390 be changed by passing --enable-dynamic to configure.
9391 Thanks to Mike Frysinger for the original patch.
9393 Fixed a few minor bugs in configure.ac.
9395 configure.ac | 39 +++++++++++++++++++++++++++++++++++++++
9396 src/xz/Makefile.am | 8 +++-----
9397 src/xzdec/Makefile.am | 5 +++--
9398 3 files changed, 45 insertions(+), 7 deletions(-)
9400 commit 3f86532407e4ace3debb62be16035e009b56ca36
9401 Author: Mike Frysinger <vapier@gentoo.org>
9402 Date: 2009-02-06 23:38:39 -0500
9406 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
9408 .gitignore | 32 ++++++++++++++++++++++++++++++++
9409 m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++
9410 po/.gitignore | 12 ++++++++++++
9411 3 files changed, 79 insertions(+)
9413 commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5
9414 Author: Lasse Collin <lasse.collin@tukaani.org>
9415 Date: 2009-02-07 17:07:52 +0200
9417 Assume 32 MiB of RAM on unsupported operating systems like
9418 the comment in hardware.c already said.
9420 src/xz/hardware.c | 2 +-
9421 1 file changed, 1 insertion(+), 1 deletion(-)
9423 commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618
9424 Author: Lasse Collin <lasse.collin@tukaani.org>
9425 Date: 2009-02-07 16:26:58 +0200
9427 MinGW support: Don't build fastpos_tablegen.c as part of
9428 liblzma. Build both static and dynamic liblzma, and also
9429 static and dynamic versions of the command line tools.
9431 windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++++--------------
9432 windows/README | 10 ------
9433 2 files changed, 69 insertions(+), 33 deletions(-)
9435 commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45
9436 Author: Lasse Collin <lasse.collin@tukaani.org>
9437 Date: 2009-02-07 15:55:47 +0200
9439 Support LZMA_API_STATIC in assembler files to
9440 avoid __declspec(dllexport) equivalent.
9442 src/liblzma/check/crc32_x86.S | 4 ++++
9443 src/liblzma/check/crc64_x86.S | 2 ++
9444 2 files changed, 6 insertions(+)
9446 commit 3306cf3883492720b3c34baa02f4eb4227d91c73
9447 Author: Lasse Collin <lasse.collin@tukaani.org>
9448 Date: 2009-02-07 11:11:50 +0200
9450 Introduced LZMA_API_STATIC macro, which the applications
9451 need to #define when linking against static liblzma on
9452 platforms like Windows. Most developers don't need to
9453 care about LZMA_API_STATIC at all.
9455 src/liblzma/api/lzma.h | 31 ++++++++++++++++++++++++-------
9456 src/liblzma/common/common.h | 2 +-
9457 2 files changed, 25 insertions(+), 8 deletions(-)
9459 commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b
9460 Author: Lasse Collin <lasse.collin@tukaani.org>
9461 Date: 2009-02-06 16:55:45 +0200
9466 1 file changed, 1 insertion(+), 1 deletion(-)
9468 commit fe5434f940f75fec3611cf9d9edf78c4da8ac760
9469 Author: Lasse Collin <lasse.collin@tukaani.org>
9470 Date: 2009-02-06 12:30:23 +0200
9472 Grammar fix in README.
9475 1 file changed, 1 insertion(+), 1 deletion(-)
9477 commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245
9478 Author: Lasse Collin <lasse.collin@tukaani.org>
9479 Date: 2009-02-06 10:06:32 +0200
9481 Some MSYS installations (e.g. MsysGit) don't include
9482 install.exe, so don't rely on it.
9484 windows/Makefile | 12 +++++++-----
9485 windows/README | 11 ++++++-----
9486 2 files changed, 13 insertions(+), 10 deletions(-)
9488 commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31
9489 Author: Lasse Collin <lasse.collin@tukaani.org>
9490 Date: 2009-02-06 09:13:15 +0200
9492 Recreated the BCJ test files for x86 and SPARC. The old files
9493 were linked with crt*.o, which are copyrighted, and thus the
9494 old test files were not in the public domain as a whole. They
9495 are freely distributable though, but it is better to be careful
9496 and avoid including any copyrighted pieces in the test files.
9497 The new files are just compiled and assembled object files,
9498 and thus don't contain any copyrighted code.
9500 tests/bcj_test.c | 2 +-
9501 tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes
9502 tests/compress_prepared_bcj_x86 | Bin 4649 -> 1388 bytes
9503 tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes
9504 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 716 bytes
9505 5 files changed, 1 insertion(+), 1 deletion(-)
9507 commit 094b1b09a531f0d201ec81f2b07346a995fd80b9
9508 Author: Lasse Collin <lasse.collin@tukaani.org>
9509 Date: 2009-02-05 21:21:27 +0200
9511 Add the "windows" directory to EXTRA_DIST.
9514 1 file changed, 1 insertion(+)
9516 commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49
9517 Author: Lasse Collin <lasse.collin@tukaani.org>
9518 Date: 2009-02-05 09:17:51 +0200
9520 Added initial experimental makefile for use with MinGW.
9522 windows/Makefile | 253 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
9523 windows/README | 164 ++++++++++++++++++++++++++++++++++++
9524 windows/config.h | 180 +++++++++++++++++++++++++++++++++++++++
9525 3 files changed, 597 insertions(+)
9527 commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9
9528 Author: Lasse Collin <lasse.collin@tukaani.org>
9529 Date: 2009-02-05 09:12:57 +0200
9531 Various code cleanups the the xz command line tool.
9532 It now builds with MinGW.
9534 src/common/physmem.h | 13 ++++
9535 src/xz/Makefile.am | 2 +
9536 src/xz/args.h | 8 ---
9537 src/xz/hardware.h | 10 +--
9538 src/xz/io.c | 93 +++++++++++++++++++-------
9539 src/xz/io.h | 12 ++--
9540 src/xz/main.c | 132 ++-----------------------------------
9541 src/xz/main.h | 22 -------
9542 src/xz/message.c | 65 ++++++++++++++++---
9543 src/xz/message.h | 6 --
9544 src/xz/options.h | 8 ---
9545 src/xz/private.h | 18 ++++--
9546 src/xz/process.h | 10 +--
9547 src/xz/signals.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++
9548 src/xz/signals.h | 51 +++++++++++++++
9549 src/xz/suffix.h | 5 --
9550 src/xz/util.c | 5 +-
9551 src/xz/util.h | 5 --
9552 18 files changed, 399 insertions(+), 246 deletions(-)
9554 commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe
9555 Author: Lasse Collin <lasse.collin@tukaani.org>
9556 Date: 2009-02-03 12:15:17 +0200
9558 Another utime() fix.
9560 src/xz/io.c | 9 +++++----
9561 1 file changed, 5 insertions(+), 4 deletions(-)
9563 commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca
9564 Author: Lasse Collin <lasse.collin@tukaani.org>
9565 Date: 2009-02-03 10:41:11 +0200
9567 Fix wrong filename argument for utime() and utimes().
9568 This doesn't affect most systems, since most systems
9569 have better functions available.
9571 src/xz/io.c | 4 ++--
9572 1 file changed, 2 insertions(+), 2 deletions(-)
9574 commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302
9575 Author: Lasse Collin <lasse.collin@tukaani.org>
9576 Date: 2009-02-02 21:19:01 +0200
9578 Updated the x86 assembler code:
9579 - Use call/ret pair to get instruction pointer for PIC.
9580 - Use PIC only if PIC or __PIC__ is #defined.
9581 - The code should work on MinGW and Darwin in addition
9582 to GNU/Linux and Solaris.
9584 configure.ac | 6 ----
9585 src/liblzma/check/crc32_x86.S | 84 ++++++++++++++++++++++++++++++++++++-------
9586 src/liblzma/check/crc64_x86.S | 82 ++++++++++++++++++++++++++++++++++++------
9587 3 files changed, 144 insertions(+), 28 deletions(-)
9589 commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f
9590 Author: Lasse Collin <lasse.collin@tukaani.org>
9591 Date: 2009-02-02 20:14:03 +0200
9593 Modify LZMA_API macro so that it works on Windows with
9594 other compilers than MinGW. This may hurt readability
9595 of the API headers slightly, but I don't know any
9596 better way to do this.
9598 src/liblzma/api/lzma.h | 6 ++---
9599 src/liblzma/api/lzma/base.h | 11 ++++----
9600 src/liblzma/api/lzma/block.h | 22 ++++++++--------
9601 src/liblzma/api/lzma/check.h | 10 ++++----
9602 src/liblzma/api/lzma/container.h | 22 ++++++++--------
9603 src/liblzma/api/lzma/filter.h | 28 ++++++++++-----------
9604 src/liblzma/api/lzma/index.h | 40 +++++++++++++++---------------
9605 src/liblzma/api/lzma/index_hash.h | 10 ++++----
9606 src/liblzma/api/lzma/lzma.h | 6 ++---
9607 src/liblzma/api/lzma/stream_flags.h | 10 ++++----
9608 src/liblzma/api/lzma/version.h | 4 +--
9609 src/liblzma/api/lzma/vli.h | 6 ++---
9610 src/liblzma/check/check.c | 4 +--
9611 src/liblzma/check/crc32_fast.c | 2 +-
9612 src/liblzma/check/crc32_small.c | 2 +-
9613 src/liblzma/check/crc64_fast.c | 2 +-
9614 src/liblzma/check/crc64_small.c | 2 +-
9615 src/liblzma/common/alone_decoder.c | 2 +-
9616 src/liblzma/common/alone_encoder.c | 2 +-
9617 src/liblzma/common/auto_decoder.c | 2 +-
9618 src/liblzma/common/block_buffer_decoder.c | 2 +-
9619 src/liblzma/common/block_buffer_encoder.c | 4 +--
9620 src/liblzma/common/block_decoder.c | 2 +-
9621 src/liblzma/common/block_encoder.c | 2 +-
9622 src/liblzma/common/block_header_decoder.c | 2 +-
9623 src/liblzma/common/block_header_encoder.c | 4 +--
9624 src/liblzma/common/block_util.c | 6 ++---
9625 src/liblzma/common/chunk_size.c | 2 +-
9626 src/liblzma/common/common.c | 16 ++++++------
9627 src/liblzma/common/common.h | 2 +-
9628 src/liblzma/common/easy.c | 6 ++---
9629 src/liblzma/common/filter_buffer_decoder.c | 2 +-
9630 src/liblzma/common/filter_buffer_encoder.c | 2 +-
9631 src/liblzma/common/filter_decoder.c | 8 +++---
9632 src/liblzma/common/filter_encoder.c | 12 ++++-----
9633 src/liblzma/common/filter_flags_decoder.c | 2 +-
9634 src/liblzma/common/filter_flags_encoder.c | 4 +--
9635 src/liblzma/common/index.c | 32 ++++++++++++------------
9636 src/liblzma/common/index_decoder.c | 4 +--
9637 src/liblzma/common/index_encoder.c | 4 +--
9638 src/liblzma/common/index_hash.c | 10 ++++----
9639 src/liblzma/common/stream_buffer_decoder.c | 2 +-
9640 src/liblzma/common/stream_buffer_encoder.c | 4 +--
9641 src/liblzma/common/stream_decoder.c | 2 +-
9642 src/liblzma/common/stream_encoder.c | 2 +-
9643 src/liblzma/common/stream_flags_common.c | 2 +-
9644 src/liblzma/common/stream_flags_decoder.c | 4 +--
9645 src/liblzma/common/stream_flags_encoder.c | 4 +--
9646 src/liblzma/common/vli_decoder.c | 2 +-
9647 src/liblzma/common/vli_encoder.c | 2 +-
9648 src/liblzma/common/vli_size.c | 2 +-
9649 src/liblzma/lz/lz_encoder.c | 2 +-
9650 src/liblzma/lzma/lzma_encoder.c | 2 +-
9651 src/liblzma/lzma/lzma_encoder_presets.c | 2 +-
9652 54 files changed, 177 insertions(+), 176 deletions(-)
9654 commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65
9655 Author: Lasse Collin <lasse.collin@tukaani.org>
9656 Date: 2009-02-01 22:40:35 +0200
9658 Fix a bug in lzma_block_buffer_decode(), although this
9659 function should be rewritten anyway.
9661 src/liblzma/common/block_buffer_decoder.c | 8 ++++----
9662 1 file changed, 4 insertions(+), 4 deletions(-)
9664 commit 55fd41431e61fb8178858283d636b6781e33e847
9665 Author: Lasse Collin <lasse.collin@tukaani.org>
9666 Date: 2009-02-01 22:39:07 +0200
9668 Added initial version of raw buffer-to-buffer coding
9669 functions, and cleaned up filter.h API header a little.
9670 May be very buggy, not tested yet.
9672 src/liblzma/api/lzma/filter.h | 84 +++++++++++++++++++-------
9673 src/liblzma/common/Makefile.am | 2 +
9674 src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++++
9675 src/liblzma/common/filter_buffer_encoder.c | 61 +++++++++++++++++++
9676 4 files changed, 221 insertions(+), 20 deletions(-)
9678 commit 3e54ecee5cad30a5ca361a88a99230407abc0699
9679 Author: Lasse Collin <lasse.collin@tukaani.org>
9680 Date: 2009-02-01 00:11:20 +0200
9682 Fix missing newlines in xzdec.c.
9684 src/xzdec/xzdec.c | 6 +++---
9685 1 file changed, 3 insertions(+), 3 deletions(-)
9687 commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35
9688 Author: Lasse Collin <lasse.collin@tukaani.org>
9689 Date: 2009-02-01 00:10:07 +0200
9691 Use __cdecl also for function pointers in liblzma API when
9694 src/liblzma/api/lzma.h | 18 +++++++++++-------
9695 src/liblzma/api/lzma/base.h | 4 ++--
9696 src/liblzma/common/common.h | 18 +++++++-----------
9697 3 files changed, 20 insertions(+), 20 deletions(-)
9699 commit 6a2eb54092fc625d59921a607ff68cd1a90aa898
9700 Author: Lasse Collin <lasse.collin@tukaani.org>
9701 Date: 2009-01-31 11:01:48 +0200
9703 Add LZMA_API to liblzma API headers. It's useful at least
9704 on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h
9705 has to be #included separately where needed.
9707 src/common/sysdefs.h | 2 --
9708 src/liblzma/api/lzma.h | 17 ++++++++++++++
9709 src/liblzma/api/lzma/base.h | 10 ++++----
9710 src/liblzma/api/lzma/block.h | 25 +++++++++++---------
9711 src/liblzma/api/lzma/check.h | 12 ++++++----
9712 src/liblzma/api/lzma/container.h | 23 +++++++++---------
9713 src/liblzma/api/lzma/filter.h | 24 +++++++++----------
9714 src/liblzma/api/lzma/index.h | 47 +++++++++++++++++++++----------------
9715 src/liblzma/api/lzma/index_hash.h | 11 +++++----
9716 src/liblzma/api/lzma/lzma.h | 8 ++++---
9717 src/liblzma/api/lzma/stream_flags.h | 10 ++++----
9718 src/liblzma/api/lzma/version.h | 4 ++--
9719 src/liblzma/api/lzma/vli.h | 10 ++++----
9720 src/liblzma/common/common.h | 13 ++++++++--
9721 src/xz/private.h | 1 +
9722 src/xzdec/xzdec.c | 1 +
9724 17 files changed, 131 insertions(+), 88 deletions(-)
9726 commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b
9727 Author: Lasse Collin <lasse.collin@tukaani.org>
9728 Date: 2009-01-31 10:13:09 +0200
9730 Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.
9732 src/xzdec/xzdec.c | 4 ++--
9733 1 file changed, 2 insertions(+), 2 deletions(-)
9735 commit 2dbdc5befb33c3703e4609809101047c67caf343
9736 Author: Lasse Collin <lasse.collin@tukaani.org>
9737 Date: 2009-01-31 10:02:52 +0200
9739 Fix two lines in lzma.h on which the # wasn't at the
9740 beginning of the line.
9742 src/liblzma/api/lzma.h | 4 ++--
9743 1 file changed, 2 insertions(+), 2 deletions(-)
9745 commit 4ab760109106dc04f39dd81c97d50f528d1b51c1
9746 Author: Lasse Collin <lasse.collin@tukaani.org>
9747 Date: 2009-01-31 09:55:05 +0200
9749 Add support for using liblzma headers in MSVC, which has no
9750 stdint.h or inttypes.h.
9752 src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++++-----------------
9753 1 file changed, 46 insertions(+), 24 deletions(-)
9755 commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9
9756 Author: Lasse Collin <lasse.collin@tukaani.org>
9757 Date: 2009-01-31 08:49:54 +0200
9759 Fix # -> ## in a macro in lzma.h.
9761 src/liblzma/api/lzma.h | 2 +-
9762 1 file changed, 1 insertion(+), 1 deletion(-)
9764 commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208
9765 Author: Lasse Collin <lasse.collin@tukaani.org>
9766 Date: 2009-01-30 18:50:16 +0200
9770 README | 30 ++++++++++++++++++++----------
9771 1 file changed, 20 insertions(+), 10 deletions(-)
9773 commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb
9774 Author: Lasse Collin <lasse.collin@tukaani.org>
9775 Date: 2009-01-30 00:29:58 +0200
9777 Remove dangling crc64_init.c.
9779 src/liblzma/check/crc64_init.c | 55 ------------------------------------------
9780 1 file changed, 55 deletions(-)
9782 commit 982da7ed314398420c38bf154a8f759d5f18b480
9783 Author: Lasse Collin <lasse.collin@tukaani.org>
9784 Date: 2009-01-28 17:16:38 +0200
9786 The .xz file format specification version 1.0.0 is now
9787 officially released. The format has been technically the same
9788 since 2008-11-19, but now that it is frozen, people can start
9789 using it without a fear that the format will break.
9791 doc/file-format.txt | 84 +++++++++++++++++++++++++++++++----------------------
9792 1 file changed, 49 insertions(+), 35 deletions(-)
9794 commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f
9795 Author: Lasse Collin <lasse.collin@tukaani.org>
9796 Date: 2009-01-28 08:45:59 +0200
9801 1 file changed, 1 insertion(+)
9803 commit 3241317093595db9f79104faafe93cb989c9f858
9804 Author: Lasse Collin <lasse.collin@tukaani.org>
9805 Date: 2009-01-28 08:43:26 +0200
9807 Fix uninitialized variables in alone_decoder.c. This bug was
9808 triggered by the previous commit, since these variables were
9809 not used by anything before support for a preset dictionary.
9811 src/liblzma/common/alone_decoder.c | 2 ++
9812 1 file changed, 2 insertions(+)
9814 commit f76e39cf930f888d460b443d18f977ebedea8b2a
9815 Author: Lasse Collin <lasse.collin@tukaani.org>
9816 Date: 2009-01-27 18:36:05 +0200
9818 Added initial support for preset dictionary for raw LZMA1
9819 and LZMA2. It is not supported by the .xz format or the xz
9820 command line tool yet.
9822 src/liblzma/lz/lz_decoder.c | 35 +++++++++++++++++++++++++----------
9823 src/liblzma/lz/lz_decoder.h | 9 ++++++++-
9824 src/liblzma/lz/lz_encoder.c | 18 ++++++++++++++++--
9825 src/liblzma/lzma/lzma2_decoder.c | 9 ++++++---
9826 src/liblzma/lzma/lzma2_encoder.c | 12 +++++++-----
9827 src/liblzma/lzma/lzma_decoder.c | 10 ++++++----
9828 src/liblzma/lzma/lzma_decoder.h | 2 +-
9829 src/liblzma/lzma/lzma_encoder.c | 9 ++++++++-
9830 8 files changed, 77 insertions(+), 27 deletions(-)
9832 commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3
9833 Author: Lasse Collin <lasse.collin@tukaani.org>
9834 Date: 2009-01-26 20:09:17 +0200
9836 Regenerate the CRC tables without trailing blanks.
9838 src/liblzma/check/crc32_table_be.h | 1008 +++++++++++++++++------------------
9839 src/liblzma/check/crc32_table_le.h | 1008 +++++++++++++++++------------------
9840 src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------
9841 src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------
9842 4 files changed, 2024 insertions(+), 2024 deletions(-)
9844 commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2
9845 Author: Jim Meyering <meyering@redhat.com>
9846 Date: 2009-01-19 21:37:16 +0100
9848 remove trailing blanks from all but .xz files
9850 debug/known_sizes.c | 2 +-
9851 extra/scanlzma/scanlzma.c | 5 ++---
9852 src/liblzma/check/crc32_tablegen.c | 2 +-
9853 src/liblzma/check/crc64_tablegen.c | 2 +-
9854 src/scripts/lzdiff.1 | 4 ++--
9855 src/scripts/lzmore.1 | 6 +++---
9856 tests/test_compress.sh | 4 ++--
9857 7 files changed, 12 insertions(+), 13 deletions(-)
9859 commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5
9860 Author: Lasse Collin <lasse.collin@tukaani.org>
9861 Date: 2009-01-26 14:34:10 +0200
9863 Add lzma_block_buffer_decode().
9865 src/liblzma/api/lzma/block.h | 41 +++++++++++++++
9866 src/liblzma/common/Makefile.am | 1 +
9867 src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++++
9868 3 files changed, 129 insertions(+)
9870 commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d
9871 Author: Lasse Collin <lasse.collin@tukaani.org>
9872 Date: 2009-01-26 14:33:28 +0200
9874 Add more sanity checks to lzma_stream_buffer_decode().
9876 src/liblzma/common/stream_buffer_decoder.c | 7 +++++++
9877 1 file changed, 7 insertions(+)
9879 commit c129748675a5daa8838df92bde32cc04f6ce61ba
9880 Author: Lasse Collin <lasse.collin@tukaani.org>
9881 Date: 2009-01-26 14:33:13 +0200
9883 Avoid hardcoded constant in easy.c.
9885 src/liblzma/common/easy.c | 2 +-
9886 1 file changed, 1 insertion(+), 1 deletion(-)
9888 commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6
9889 Author: Lasse Collin <lasse.collin@tukaani.org>
9890 Date: 2009-01-26 13:06:49 +0200
9892 Tiny bit better sanity check in block_util.c
9894 src/liblzma/common/block_util.c | 2 +-
9895 1 file changed, 1 insertion(+), 1 deletion(-)
9897 commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7
9898 Author: Lasse Collin <lasse.collin@tukaani.org>
9899 Date: 2009-01-25 01:35:56 +0200
9901 Fix a dumb bug in Block decoder, which made it return
9902 LZMA_DATA_ERROR with valid data. The bug was added in
9903 e114502b2bc371e4a45449832cb69be036360722.
9905 src/liblzma/common/block_decoder.c | 6 +++---
9906 1 file changed, 3 insertions(+), 3 deletions(-)
9908 commit c81f13ff29271de7293f8af3d81848b1dcae3d19
9909 Author: Lasse Collin <lasse.collin@tukaani.org>
9910 Date: 2009-01-23 22:27:50 +0200
9912 Added lzma_stream_buffer_decode() and made minor cleanups.
9914 src/liblzma/api/lzma/block.h | 3 +-
9915 src/liblzma/api/lzma/container.h | 51 ++++++++++++++++-
9916 src/liblzma/common/Makefile.am | 1 +
9917 src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++++
9918 4 files changed, 144 insertions(+), 2 deletions(-)
9920 commit 0b3318661ce749550b8531dfd469639a08930391
9921 Author: Lasse Collin <lasse.collin@tukaani.org>
9922 Date: 2009-01-22 12:53:33 +0200
9926 src/liblzma/common/common.h | 2 +-
9927 1 file changed, 1 insertion(+), 1 deletion(-)
9929 commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec
9930 Author: Lasse Collin <lasse.collin@tukaani.org>
9931 Date: 2009-01-20 16:37:27 +0200
9933 Add some single-call buffer-to-buffer coding functions.
9935 src/liblzma/api/lzma/block.h | 57 ++++++
9936 src/liblzma/api/lzma/container.h | 56 ++++++
9937 src/liblzma/api/lzma/index.h | 70 ++++++-
9938 src/liblzma/common/Makefile.am | 2 +
9939 src/liblzma/common/block_buffer_encoder.c | 305 +++++++++++++++++++++++++++++
9940 src/liblzma/common/index_decoder.c | 83 ++++++--
9941 src/liblzma/common/index_encoder.c | 59 +++++-
9942 src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++
9943 tests/test_index.c | 24 +++
9944 9 files changed, 768 insertions(+), 26 deletions(-)
9946 commit d8b58d099340f8f4007b24b211ee41a7210c061c
9947 Author: Lasse Collin <lasse.collin@tukaani.org>
9948 Date: 2009-01-20 13:45:41 +0200
9950 Block encoder cleanups
9952 src/liblzma/common/block_encoder.c | 28 +++++++---------------------
9953 src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++
9954 2 files changed, 32 insertions(+), 21 deletions(-)
9956 commit 0c09810cb3635cb575cb54e694d41523e7d0a335
9957 Author: Lasse Collin <lasse.collin@tukaani.org>
9958 Date: 2009-01-20 10:35:15 +0200
9960 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.
9962 src/liblzma/common/common.c | 24 ++++++++----------------
9963 1 file changed, 8 insertions(+), 16 deletions(-)
9965 commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00
9966 Author: Lasse Collin <lasse.collin@tukaani.org>
9967 Date: 2009-01-19 22:53:18 +0200
9969 Fix handling of non-fatal errors in lzma_code().
9971 src/liblzma/common/common.c | 9 ++++++++-
9972 1 file changed, 8 insertions(+), 1 deletion(-)
9974 commit 4810b6bc25087be872960b9dd1d11ff07735dc88
9975 Author: Lasse Collin <lasse.collin@tukaani.org>
9976 Date: 2009-01-19 14:00:33 +0200
9978 Move some LZMA2 constants to lzma2_encoder.h so that they
9979 can be used outside lzma2_encoder.c.
9981 src/liblzma/lzma/lzma2_encoder.c | 13 -------------
9982 src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++
9983 src/liblzma/lzma/lzma_encoder.c | 3 ++-
9984 3 files changed, 16 insertions(+), 14 deletions(-)
9986 commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4
9987 Author: Lasse Collin <lasse.collin@tukaani.org>
9988 Date: 2009-01-19 13:52:36 +0200
9992 src/liblzma/lzma/lzma_encoder.h | 8 --------
9993 1 file changed, 8 deletions(-)
9995 commit 128586213f77c9bd82b7e9a62927f6d0c3769d85
9996 Author: Lasse Collin <lasse.collin@tukaani.org>
9997 Date: 2009-01-17 14:24:25 +0200
9999 Beta was supposed to be API stable but I had forgot to rename
10000 lzma_memlimit_encoder and lzma_memlimit_decoder to
10001 lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-(
10002 Now it is fixed. Hopefully it doesn't cause too much trouble
10003 to those who already thought API is stable.
10005 src/liblzma/api/lzma/filter.h | 4 ++--
10006 src/liblzma/common/easy.c | 4 ++--
10007 src/liblzma/common/filter_common.c | 2 +-
10008 src/liblzma/common/filter_common.h | 2 +-
10009 src/liblzma/common/filter_decoder.c | 4 ++--
10010 src/liblzma/common/filter_encoder.c | 4 ++--
10011 src/liblzma/common/stream_decoder.c | 2 +-
10012 src/xz/process.c | 6 +++---
10013 8 files changed, 14 insertions(+), 14 deletions(-)
10015 commit b056379490be5c584c264a967f0540041a163a1e
10016 Author: Lasse Collin <lasse.collin@tukaani.org>
10017 Date: 2009-01-15 14:29:22 +0200
10022 1 file changed, 1 insertion(+)
10024 commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89
10025 Author: Lasse Collin <lasse.collin@tukaani.org>
10026 Date: 2009-01-15 14:27:32 +0200
10028 Fixed a bug in 7z2lzma.bash to make it work with .7z files
10029 that use something else than 2^n as the dictionary size.
10030 Thanks to Dan Shechter for the bug report.
10032 extra/7z2lzma/7z2lzma.bash | 47 +++++++++++++++++++++++-----------------------
10033 1 file changed, 24 insertions(+), 23 deletions(-)
10035 commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2
10036 Author: Lasse Collin <lasse.collin@tukaani.org>
10037 Date: 2009-01-07 18:41:15 +0200
10039 Use pthread_sigmask() instead of sigprocmask() when pthreads
10042 src/common/mythread.h | 6 ++++++
10043 src/xz/main.c | 4 ++--
10044 src/xz/private.h | 1 +
10045 3 files changed, 9 insertions(+), 2 deletions(-)
10047 commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9
10048 Author: Lasse Collin <lasse.collin@tukaani.org>
10049 Date: 2008-12-31 20:01:00 +0200
10051 Bumped version to 4.999.8beta right after the release
10054 configure.ac | 2 +-
10055 src/liblzma/api/lzma/version.h | 2 +-
10056 2 files changed, 2 insertions(+), 2 deletions(-)
10058 commit 061748f5932719643cda73383db715167d543c22
10059 Author: Lasse Collin <lasse.collin@tukaani.org>
10060 Date: 2008-12-31 18:59:02 +0200
10062 Disable Subblock filter from test_compress.sh since it is
10063 disabled by default in configure.ac.
10065 tests/test_compress.sh | 22 +++++++++++++---------
10066 1 file changed, 13 insertions(+), 9 deletions(-)
10068 commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78
10069 Author: Lasse Collin <lasse.collin@tukaani.org>
10070 Date: 2008-12-31 17:44:20 +0200
10072 Disable both Subblock encoder and decoder my default,
10073 since they are not finished and may have security issues too.
10075 configure.ac | 2 +-
10076 1 file changed, 1 insertion(+), 1 deletion(-)
10078 commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88
10079 Author: Lasse Collin <lasse.collin@tukaani.org>
10080 Date: 2008-12-31 17:42:50 +0200
10082 Update some files in debug directory.
10084 debug/full_flush.c | 2 --
10085 debug/memusage.c | 2 --
10086 debug/sync_flush.c | 2 --
10087 3 files changed, 6 deletions(-)
10089 commit d1d17a40d33a9682424ca37282813492f2cba6d0
10090 Author: Lasse Collin <lasse.collin@tukaani.org>
10091 Date: 2008-12-31 17:41:46 +0200
10093 Prepare for 4.999.7beta release.
10096 README | 34 +++++++++++++++++-----------------
10097 configure.ac | 4 ++--
10098 src/liblzma/api/lzma/version.h | 2 +-
10099 4 files changed, 22 insertions(+), 22 deletions(-)
10101 commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3
10102 Author: Lasse Collin <lasse.collin@tukaani.org>
10103 Date: 2008-12-31 17:15:03 +0200
10105 Cleaned up some comments in the API headers.
10107 src/liblzma/api/lzma/check.h | 23 +++++++++++------------
10108 src/liblzma/api/lzma/container.h | 2 +-
10109 src/liblzma/api/lzma/version.h | 4 +++-
10110 3 files changed, 15 insertions(+), 14 deletions(-)
10112 commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40
10113 Author: Lasse Collin <lasse.collin@tukaani.org>
10114 Date: 2008-12-31 16:29:39 +0200
10116 Renamed lzma_options_simple to lzma_options_bcj in the API.
10117 The internal implementation is still using the name "simple".
10118 It may need some cleanups, so I look at it later.
10120 src/liblzma/api/Makefile.am | 2 +-
10121 src/liblzma/api/lzma.h | 2 +-
10122 src/liblzma/api/lzma/bcj.h | 94 +++++++++++++++++++++++++++++++++++++
10123 src/liblzma/api/lzma/simple.h | 94 -------------------------------------
10124 src/liblzma/simple/simple_coder.c | 2 +-
10125 src/liblzma/simple/simple_decoder.c | 4 +-
10126 src/liblzma/simple/simple_encoder.c | 4 +-
10127 tests/test_filter_flags.c | 8 ++--
10128 8 files changed, 105 insertions(+), 105 deletions(-)
10130 commit 7eea8bec3abfed883efba66264a1452a1c04f6b0
10131 Author: Lasse Collin <lasse.collin@tukaani.org>
10132 Date: 2008-12-31 00:57:27 +0200
10134 Fixed missing quoting in configure.ac.
10136 configure.ac | 38 +++++++++++++++++++-------------------
10137 1 file changed, 19 insertions(+), 19 deletions(-)
10139 commit 28e75f7086dbe9501d926c370375c69dfb1236ce
10140 Author: Lasse Collin <lasse.collin@tukaani.org>
10141 Date: 2008-12-31 00:48:23 +0200
10143 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which
10144 should have been in the previous commit.
10146 src/liblzma/Makefile.am | 4 ++--
10147 1 file changed, 2 insertions(+), 2 deletions(-)
10149 commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90
10150 Author: Lasse Collin <lasse.collin@tukaani.org>
10151 Date: 2008-12-31 00:30:49 +0200
10153 Remove lzma_init() and other init functions from liblzma API.
10154 Half of developers were already forgetting to use these
10155 functions, which could have caused total breakage in some future
10156 liblzma version or even now if --enable-small was used. Now
10157 liblzma uses pthread_once() to do the initializations unless
10158 it has been built with --disable-threads which make these
10159 initializations thread-unsafe.
10161 When --enable-small isn't used, liblzma currently gets needlessly
10162 linked against libpthread (on systems that have it). While it is
10163 stupid for now, liblzma will need threads in future anyway, so
10164 this stupidity will be temporary only.
10166 When --enable-small is used, different code CRC32 and CRC64 is
10167 now used than without --enable-small. This made the resulting
10168 binary slightly smaller, but the main reason was to clean it up
10169 and to handle the lack of lzma_init_check().
10171 The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not
10172 sure if it works correctly and portably for static linking
10173 (Libs.private includes -pthread or other operating system
10174 specific flags). Hopefully someone complains if it is bad.
10176 lzma_rc_prices[] is now included as a precomputed array even
10177 with --enable-small. It's just 128 bytes now that it uses uint8_t
10178 instead of uint32_t. Smaller array seemed to be at least as fast
10179 as the more bloated uint32_t array on x86; hopefully it's not bad
10180 on other architectures.
10182 configure.ac | 29 ++++++++--
10183 src/common/mythread.h | 34 ++++++++++++
10184 src/liblzma/api/Makefile.am | 1 -
10185 src/liblzma/api/lzma.h | 1 -
10186 src/liblzma/api/lzma/init.h | 85 -----------------------------
10187 src/liblzma/check/Makefile.am | 29 ++++------
10188 src/liblzma/check/check.c | 10 ++--
10189 src/liblzma/check/check.h | 25 ++++-----
10190 src/liblzma/check/check_init.c | 37 -------------
10191 src/liblzma/check/crc32.c | 88 -------------------------------
10192 src/liblzma/check/crc32_fast.c | 88 +++++++++++++++++++++++++++++++
10193 src/liblzma/check/crc32_init.c | 55 -------------------
10194 src/liblzma/check/crc32_small.c | 54 +++++++++++++++++++
10195 src/liblzma/check/crc32_tablegen.c | 55 ++++++++++++++++---
10196 src/liblzma/check/crc64.c | 75 --------------------------
10197 src/liblzma/check/crc64_fast.c | 75 ++++++++++++++++++++++++++
10198 src/liblzma/check/crc64_small.c | 54 +++++++++++++++++++
10199 src/liblzma/check/crc64_tablegen.c | 55 ++++++++++++++++---
10200 src/liblzma/common/Makefile.am | 3 --
10201 src/liblzma/common/common.h | 1 +
10202 src/liblzma/common/init.c | 39 --------------
10203 src/liblzma/common/init_decoder.c | 31 -----------
10204 src/liblzma/common/init_encoder.c | 40 --------------
10205 src/liblzma/liblzma.pc.in | 12 +++++
10206 src/liblzma/lz/lz_encoder.c | 6 +++
10207 src/liblzma/lzma.pc.in | 11 ----
10208 src/liblzma/rangecoder/Makefile.am | 8 +--
10209 src/liblzma/rangecoder/price.h | 16 +-----
10210 src/liblzma/rangecoder/price_table.c | 2 +-
10211 src/liblzma/rangecoder/price_table_init.c | 55 -------------------
10212 src/liblzma/rangecoder/price_tablegen.c | 51 +++++++++++++++---
10213 src/xz/Makefile.am | 5 +-
10214 src/xz/main.c | 3 --
10215 src/xzdec/xzdec.c | 3 --
10216 tests/test_block_header.c | 1 -
10217 tests/test_check.c | 2 -
10218 tests/test_filter_flags.c | 2 -
10219 tests/test_index.c | 2 -
10220 tests/test_stream_flags.c | 2 -
10221 tests/tests.h | 2 +-
10222 40 files changed, 519 insertions(+), 628 deletions(-)
10224 commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2
10225 Author: Lasse Collin <lasse.collin@tukaani.org>
10226 Date: 2008-12-27 19:40:31 +0200
10228 Use 28 MiB as memory usage limit for encoding in test_compress.sh.
10230 tests/test_compress.sh | 2 +-
10231 1 file changed, 1 insertion(+), 1 deletion(-)
10233 commit 050eb14d29e2537c014662e83599fd8a77f13c45
10234 Author: Lasse Collin <lasse.collin@tukaani.org>
10235 Date: 2008-12-27 19:32:20 +0200
10237 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680
10238 that was related to LZMA_MODE_FAST. The original code is slightly
10239 faster although it compresses slightly worse. But since it is fast
10240 mode, it is better to select the faster version.
10242 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++---------------
10243 1 file changed, 8 insertions(+), 15 deletions(-)
10245 commit 4820f10d0f173864f6a2ea7479663b509ac53358
10246 Author: Lasse Collin <lasse.collin@tukaani.org>
10247 Date: 2008-12-27 19:30:19 +0200
10249 Some xz command line tool improvements.
10251 src/xz/args.c | 23 +++++-----
10252 src/xz/message.c | 4 +-
10253 src/xz/options.c | 2 +-
10254 src/xz/process.c | 133 +++++++++++++++++++++++++++++++++++++++++++------------
10255 src/xz/process.h | 3 ++
10256 5 files changed, 121 insertions(+), 44 deletions(-)
10258 commit e33194e79d8f5ce07cb4aca909b324ae75098f7e
10259 Author: Lasse Collin <lasse.collin@tukaani.org>
10260 Date: 2008-12-27 19:27:49 +0200
10262 Bunch of liblzma tweaks, including some API changes.
10263 The API and ABI should now be very close to stable,
10264 although the code behind it isn't yet.
10266 src/liblzma/api/lzma.h | 8 ++--
10267 src/liblzma/api/lzma/block.h | 63 ++++++++++++++++++++++++-
10268 src/liblzma/api/lzma/container.h | 76 +++++++++++++++----------------
10269 src/liblzma/api/lzma/lzma.h | 41 +++++++++--------
10270 src/liblzma/common/alone_decoder.c | 36 +++++++--------
10271 src/liblzma/common/alone_encoder.c | 22 ++++-----
10272 src/liblzma/common/auto_decoder.c | 2 +-
10273 src/liblzma/common/block_decoder.c | 54 +++++++++++-----------
10274 src/liblzma/common/block_decoder.h | 4 +-
10275 src/liblzma/common/block_encoder.c | 37 ++++++++-------
10276 src/liblzma/common/block_encoder.h | 4 +-
10277 src/liblzma/common/block_header_decoder.c | 41 +++++++++--------
10278 src/liblzma/common/block_header_encoder.c | 51 ++++++++++-----------
10279 src/liblzma/common/block_util.c | 3 +-
10280 src/liblzma/common/easy.c | 45 ++++++------------
10281 src/liblzma/common/stream_decoder.c | 3 +-
10282 src/liblzma/common/stream_decoder.h | 2 +-
10283 src/liblzma/common/stream_encoder.c | 3 +-
10284 src/liblzma/common/stream_encoder.h | 2 +-
10285 src/liblzma/common/stream_flags_decoder.c | 2 +-
10286 src/liblzma/common/stream_flags_encoder.c | 2 +-
10287 src/liblzma/lzma/lzma_encoder.c | 2 +-
10288 src/liblzma/lzma/lzma_encoder_presets.c | 53 +++++++--------------
10289 23 files changed, 294 insertions(+), 262 deletions(-)
10291 commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074
10292 Author: Lasse Collin <lasse.collin@tukaani.org>
10293 Date: 2008-12-18 13:42:52 +0200
10295 Updated Makefile.am that was missing from the previous commit.
10297 src/liblzma/common/Makefile.am | 1 -
10298 1 file changed, 1 deletion(-)
10300 commit 634636fa56ccee6e744f78b0abed76c8940f2f8f
10301 Author: Lasse Collin <lasse.collin@tukaani.org>
10302 Date: 2008-12-17 21:49:53 +0200
10304 Remove the alignment functions for now. Maybe they will
10305 be added back in some form later, but the current version
10306 wasn't modular, so it would need fixing anyway.
10308 src/liblzma/api/Makefile.am | 1 -
10309 src/liblzma/api/lzma.h | 1 -
10310 src/liblzma/api/lzma/alignment.h | 60 ---------------------
10311 src/liblzma/common/alignment.c | 114 ---------------------------------------
10312 4 files changed, 176 deletions(-)
10314 commit 4fed98417d1687f5eccccb42a133fde3ec81216a
10315 Author: Lasse Collin <lasse.collin@tukaani.org>
10316 Date: 2008-12-17 20:11:23 +0200
10318 xz message handling improvements
10320 src/xz/message.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
10321 src/xz/message.h | 7 +++-
10322 src/xz/process.c | 28 ++++++++++++-
10323 3 files changed, 146 insertions(+), 14 deletions(-)
10325 commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d
10326 Author: Lasse Collin <lasse.collin@tukaani.org>
10327 Date: 2008-12-15 23:26:43 +0200
10329 Fix a dumb bug in .lzma decoder which was introduced in
10330 the previous commit. (Probably the previous commit has
10331 other bugs too, it wasn't tested.)
10333 src/liblzma/common/alone_decoder.c | 29 ++++++++++++++---------------
10334 1 file changed, 14 insertions(+), 15 deletions(-)
10336 commit 671a5adf1e844bfdd6fd327016c3c28694493158
10337 Author: Lasse Collin <lasse.collin@tukaani.org>
10338 Date: 2008-12-15 19:39:13 +0200
10340 Bunch of liblzma API cleanups and fixes.
10342 src/liblzma/api/lzma.h | 122 +++++++++++----------
10343 src/liblzma/api/lzma/base.h | 174 ++++++++++++++++++-----------
10344 src/liblzma/api/lzma/block.h | 211 +++++++++++++++++++++++-------------
10345 src/liblzma/api/lzma/check.h | 28 ++---
10346 src/liblzma/api/lzma/container.h | 155 +++++++++++++-------------
10347 src/liblzma/api/lzma/delta.h | 12 +-
10348 src/liblzma/api/lzma/filter.h | 27 +++--
10349 src/liblzma/api/lzma/index.h | 97 ++++++++++++++---
10350 src/liblzma/api/lzma/index_hash.h | 26 +++--
10351 src/liblzma/api/lzma/init.h | 2 +-
10352 src/liblzma/api/lzma/lzma.h | 12 +-
10353 src/liblzma/api/lzma/simple.h | 4 +-
10354 src/liblzma/api/lzma/stream_flags.h | 46 +++++---
10355 src/liblzma/api/lzma/version.h | 6 +-
10356 src/liblzma/api/lzma/vli.h | 17 ++-
10357 src/liblzma/common/alone_decoder.c | 47 +++++---
10358 src/liblzma/common/auto_decoder.c | 29 +++++
10359 src/liblzma/common/block_util.c | 52 +++++----
10360 src/liblzma/common/common.c | 58 ++++++++++
10361 src/liblzma/common/common.h | 9 +-
10362 src/liblzma/common/easy.c | 33 ++++--
10363 src/liblzma/common/filter_common.c | 2 +-
10364 src/liblzma/common/index.c | 11 ++
10365 src/liblzma/common/index_decoder.c | 46 ++++++--
10366 src/liblzma/common/stream_decoder.c | 47 ++++++--
10367 src/liblzma/lzma/lzma2_encoder.c | 6 +-
10368 tests/test_index.c | 10 +-
10369 27 files changed, 863 insertions(+), 426 deletions(-)
10371 commit 17781c2c20fd77029cb32e77792889f2f211d69d
10372 Author: Lasse Collin <lasse.collin@tukaani.org>
10373 Date: 2008-12-15 14:26:52 +0200
10375 The LZMA2 decoder fix introduced a bug to LZ decoder,
10376 which made LZ decoder return too early after dictionary
10377 reset. This fixes it.
10379 src/liblzma/lz/lz_decoder.c | 33 +++++++++++++++++++++++----------
10380 1 file changed, 23 insertions(+), 10 deletions(-)
10382 commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8
10383 Author: Lasse Collin <lasse.collin@tukaani.org>
10384 Date: 2008-12-15 11:20:22 +0200
10386 Added two new test files.
10388 tests/files/README | 7 +++++++
10389 tests/files/bad-1-lzma2-8.xz | Bin 0 -> 464 bytes
10390 tests/files/good-1-lzma2-4.xz | Bin 0 -> 464 bytes
10391 3 files changed, 7 insertions(+)
10393 commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf
10394 Author: Lasse Collin <lasse.collin@tukaani.org>
10395 Date: 2008-12-15 10:01:59 +0200
10397 Fix data corruption in LZMA2 decoder.
10399 src/liblzma/lz/lz_decoder.c | 17 ++++++++++++++++-
10400 src/liblzma/lz/lz_decoder.h | 8 +++++---
10401 src/liblzma/lzma/lzma2_decoder.c | 15 +++++++++++----
10402 3 files changed, 32 insertions(+), 8 deletions(-)
10404 commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613
10405 Author: Lasse Collin <lasse.collin@tukaani.org>
10406 Date: 2008-12-13 00:54:11 +0200
10408 Name the package "xz" in configure.ac.
10410 configure.ac | 11 ++++-------
10411 1 file changed, 4 insertions(+), 7 deletions(-)
10413 commit a94bf00d0af9b423851905b031be5a645a657820
10414 Author: Lasse Collin <lasse.collin@tukaani.org>
10415 Date: 2008-12-12 22:43:21 +0200
10417 Some adjustments to GCC warning flags. The important change
10418 is the removal of -pedantic. It messes up -Werror (which I
10419 really want to keep so that I don't miss any warnings) with
10420 printf format strings that are in POSIX but not in C99.
10422 configure.ac | 8 +++++---
10423 1 file changed, 5 insertions(+), 3 deletions(-)
10425 commit 8582d392baacd2cdac07ca60041f8c661323676d
10426 Author: Lasse Collin <lasse.collin@tukaani.org>
10427 Date: 2008-12-10 01:31:00 +0200
10429 Remove obsolete comment.
10431 src/xz/message.c | 1 -
10432 1 file changed, 1 deletion(-)
10434 commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1
10435 Author: Lasse Collin <lasse.collin@tukaani.org>
10436 Date: 2008-12-10 01:27:15 +0200
10438 Use "decompression" consistently in --long-help.
10440 src/xz/message.c | 2 +-
10441 1 file changed, 1 insertion(+), 1 deletion(-)
10443 commit 1ea9e7f15afd5d3981e2432710e932320597bca9
10444 Author: Lasse Collin <lasse.collin@tukaani.org>
10445 Date: 2008-12-10 01:23:58 +0200
10447 Added preset=NUM to --lzma1 and --lzma2. This makes it easy
10448 to take a preset as a template and modify it a little.
10450 src/xz/message.c | 1 +
10451 src/xz/options.c | 8 ++++++++
10452 2 files changed, 9 insertions(+)
10454 commit bceb3918dbb21f34976bfdd4c171a81319de71f7
10455 Author: Lasse Collin <lasse.collin@tukaani.org>
10456 Date: 2008-12-09 17:43:31 +0200
10458 Put the file format specification into the public domain.
10459 Same will be done to the actual code later.
10461 doc/file-format.txt | 24 +++++++++---------------
10462 1 file changed, 9 insertions(+), 15 deletions(-)
10464 commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6
10465 Author: Lasse Collin <lasse.collin@tukaani.org>
10466 Date: 2008-12-09 17:41:49 +0200
10468 Make the memusage functions of LZMA1 and LZMA2 encoders
10469 to validate the filter options. Add missing validation
10470 to LZMA2 encoder when options are changed in the middle
10473 src/liblzma/lzma/lzma2_encoder.c | 5 ++++-
10474 src/liblzma/lzma/lzma_encoder.c | 44 +++++++++++++++++++++++++++-------------
10475 src/liblzma/lzma/lzma_encoder.h | 2 +-
10476 3 files changed, 35 insertions(+), 16 deletions(-)
10478 commit f20a03206b71ff01b827bb7a932411d6a6a4e06a
10479 Author: Lasse Collin <lasse.collin@tukaani.org>
10480 Date: 2008-12-09 10:36:24 +0200
10485 1 file changed, 1 insertion(+)
10487 commit ef7890d56453dca1aeb2e12db29b7e418d93dde4
10488 Author: Lasse Collin <lasse.collin@tukaani.org>
10489 Date: 2008-12-01 23:04:12 +0200
10491 In command line tool, take advantage of memusage calculation's
10492 ability to also validate the filter chain and options (not
10493 implemented yet for all filters).
10495 src/xz/process.c | 8 ++++----
10496 1 file changed, 4 insertions(+), 4 deletions(-)
10498 commit ccd57afa09e332d664d6d6a7498702791ea5f659
10499 Author: Lasse Collin <lasse.collin@tukaani.org>
10500 Date: 2008-12-01 22:59:28 +0200
10502 Validate the filter chain before checking filter-specific
10505 src/liblzma/common/filter_common.c | 14 ++++++++++----
10506 1 file changed, 10 insertions(+), 4 deletions(-)
10508 commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15
10509 Author: Lasse Collin <lasse.collin@tukaani.org>
10510 Date: 2008-12-01 22:58:22 +0200
10512 Make the memusage functions of LZMA1 and LZMA2 decoders
10513 to validate the filter options.
10515 src/liblzma/lzma/lzma2_decoder.c | 7 ++-----
10516 src/liblzma/lzma/lzma_decoder.c | 14 ++++++++++----
10517 src/liblzma/lzma/lzma_decoder.h | 5 +++++
10518 3 files changed, 17 insertions(+), 9 deletions(-)
10520 commit c58f469be5bb9b0bdab825c6687445fd553f4f3a
10521 Author: Lasse Collin <lasse.collin@tukaani.org>
10522 Date: 2008-12-01 22:55:18 +0200
10524 Added the changes for Delta filter that should have been
10525 part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.
10527 src/liblzma/common/filter_decoder.c | 2 +-
10528 src/liblzma/common/filter_encoder.c | 2 +-
10529 2 files changed, 2 insertions(+), 2 deletions(-)
10531 commit cd708015202dbf7585b84a8781462a20c42a324b
10532 Author: Lasse Collin <lasse.collin@tukaani.org>
10533 Date: 2008-12-01 22:50:28 +0200
10535 LZMA2 decoder cleanups. Make it require new LZMA properties
10536 also in the first LZMA chunk after a dictionary reset in
10537 uncompressed chunk.
10539 src/liblzma/lzma/lzma2_decoder.c | 95 +++++++++++++++++-----------------------
10540 1 file changed, 41 insertions(+), 54 deletions(-)
10542 commit 656ec87882ee74b192c4ea4a233a235eca7b04d4
10543 Author: Lasse Collin <lasse.collin@tukaani.org>
10544 Date: 2008-12-01 16:30:11 +0200
10546 Added lzma_delta_coder_memusage() which also validates
10549 src/liblzma/delta/Makefile.am | 3 ++-
10550 src/liblzma/delta/delta_common.c | 28 ++++++++++++++++++-------
10551 src/liblzma/delta/delta_common.h | 19 +----------------
10552 src/liblzma/delta/delta_decoder.c | 2 +-
10553 src/liblzma/delta/delta_decoder.h | 2 +-
10554 src/liblzma/delta/delta_encoder.c | 14 ++++---------
10555 src/liblzma/delta/delta_encoder.h | 2 +-
10556 src/liblzma/delta/delta_private.h | 44 +++++++++++++++++++++++++++++++++++++++
10557 8 files changed, 75 insertions(+), 39 deletions(-)
10559 commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a
10560 Author: Lasse Collin <lasse.collin@tukaani.org>
10561 Date: 2008-11-29 10:03:49 +0200
10563 Automake includes the m4 directory, so don't add it in
10564 Makefile.am separately.
10570 2 files changed, 1 insertion(+), 1 deletion(-)
10572 commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0
10573 Author: Lasse Collin <lasse.collin@tukaani.org>
10574 Date: 2008-11-28 12:00:48 +0200
10576 Tested using COLUMNS environment variable to avoid broken
10577 progress indicator but since COLUMNS isn't usually available,
10578 the code was left commented out.
10580 src/xz/message.c | 14 +++++++++-----
10581 1 file changed, 9 insertions(+), 5 deletions(-)
10583 commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd
10584 Author: Lasse Collin <lasse.collin@tukaani.org>
10585 Date: 2008-11-27 19:28:59 +0200
10587 Cleanups to message.c.
10589 src/xz/message.c | 47 ++++++++++++++++++-----------------------------
10590 1 file changed, 18 insertions(+), 29 deletions(-)
10592 commit a8368b75cdcd5427299001cc42839287f27b244d
10593 Author: Lasse Collin <lasse.collin@tukaani.org>
10594 Date: 2008-11-25 02:37:47 +0200
10596 Remove the nowadays unneeded memory limitting malloc() wrapper.
10598 src/liblzma/api/Makefile.am | 1 -
10599 src/liblzma/api/lzma.h | 1 -
10600 src/liblzma/api/lzma/memlimit.h | 207 --------------------------
10601 src/liblzma/common/Makefile.am | 1 -
10602 src/liblzma/common/memory_limiter.c | 288 ------------------------------------
10603 tests/Makefile.am | 2 -
10604 tests/test_memlimit.c | 114 --------------
10605 7 files changed, 614 deletions(-)
10607 commit 69472ee5f055a2bb6f28106f0923e1461fd1d080
10608 Author: Lasse Collin <lasse.collin@tukaani.org>
10609 Date: 2008-11-23 15:09:03 +0200
10611 VLI encoder and decoder cleanups. Made encoder return
10612 LZMA_PROG_ERROR in single-call mode if there's no output
10615 src/liblzma/common/vli_decoder.c | 15 +++++++++------
10616 src/liblzma/common/vli_encoder.c | 31 ++++++++++++++++++++++++-------
10617 2 files changed, 33 insertions(+), 13 deletions(-)
10619 commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650
10620 Author: Lasse Collin <lasse.collin@tukaani.org>
10621 Date: 2008-11-22 17:44:33 +0200
10625 src/xz/process.c | 2 +-
10626 1 file changed, 1 insertion(+), 1 deletion(-)
10628 commit 6d1d6f4598d121253dbe1084c6866b66e95c361b
10629 Author: Lasse Collin <lasse.collin@tukaani.org>
10630 Date: 2008-11-20 22:59:10 +0200
10632 Support NetBSD's errno for O_NOFOLLOW.
10634 src/xz/io.c | 8 ++++++++
10635 1 file changed, 8 insertions(+)
10637 commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7
10638 Author: Lasse Collin <lasse.collin@tukaani.org>
10639 Date: 2008-11-20 18:05:52 +0200
10641 Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz
10642 files and lzmadec only .lzma files.
10644 src/xzdec/Makefile.am | 7 +-
10645 src/xzdec/xzdec.c | 311 ++++++++++++++++++++++----------------------------
10646 2 files changed, 140 insertions(+), 178 deletions(-)
10648 commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c
10649 Author: Lasse Collin <lasse.collin@tukaani.org>
10650 Date: 2008-11-20 11:01:29 +0200
10652 Minor cleanups to xzdec.
10654 src/xzdec/xzdec.c | 20 ++++++++++----------
10655 1 file changed, 10 insertions(+), 10 deletions(-)
10657 commit 54f716ba8905d09752dcd1519455a40bd21d5317
10658 Author: Lasse Collin <lasse.collin@tukaani.org>
10659 Date: 2008-11-19 23:55:22 +0200
10661 Added missing check for uint16_t.
10664 1 file changed, 1 insertion(+)
10666 commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06
10667 Author: Lasse Collin <lasse.collin@tukaani.org>
10668 Date: 2008-11-19 23:52:24 +0200
10670 Renamed lzma to xz and lzmadec to xzdec. We create symlinks
10671 lzma, unlzma, and lzcat in "make install" for backwards
10672 compatibility with LZMA Utils 4.32.x; I'm not sure if this
10673 should be the default though.
10675 configure.ac | 4 +-
10676 po/POTFILES.in | 21 +-
10677 src/Makefile.am | 2 +-
10678 src/lzma/Makefile.am | 72 ----
10679 src/lzma/args.c | 500 ---------------------------
10680 src/lzma/args.h | 56 ---
10681 src/lzma/hardware.c | 122 -------
10682 src/lzma/hardware.h | 45 ---
10683 src/lzma/io.c | 658 -----------------------------------
10684 src/lzma/io.h | 97 ------
10685 src/lzma/list.c | 477 --------------------------
10686 src/lzma/main.c | 402 ----------------------
10687 src/lzma/main.h | 60 ----
10688 src/lzma/message.c | 892 ------------------------------------------------
10689 src/lzma/message.h | 132 -------
10690 src/lzma/options.c | 352 -------------------
10691 src/lzma/options.h | 46 ---
10692 src/lzma/private.h | 52 ---
10693 src/lzma/process.c | 391 ---------------------
10694 src/lzma/process.h | 70 ----
10695 src/lzma/suffix.c | 213 ------------
10696 src/lzma/suffix.h | 40 ---
10697 src/lzma/util.c | 199 -----------
10698 src/lzma/util.h | 71 ----
10699 src/lzmadec/Makefile.am | 29 --
10700 src/lzmadec/lzmadec.c | 492 --------------------------
10701 src/xz/Makefile.am | 74 ++++
10702 src/xz/args.c | 500 +++++++++++++++++++++++++++
10703 src/xz/args.h | 56 +++
10704 src/xz/hardware.c | 122 +++++++
10705 src/xz/hardware.h | 45 +++
10706 src/xz/io.c | 658 +++++++++++++++++++++++++++++++++++
10707 src/xz/io.h | 97 ++++++
10708 src/xz/list.c | 477 ++++++++++++++++++++++++++
10709 src/xz/main.c | 402 ++++++++++++++++++++++
10710 src/xz/main.h | 60 ++++
10711 src/xz/message.c | 892 ++++++++++++++++++++++++++++++++++++++++++++++++
10712 src/xz/message.h | 132 +++++++
10713 src/xz/options.c | 352 +++++++++++++++++++
10714 src/xz/options.h | 46 +++
10715 src/xz/private.h | 52 +++
10716 src/xz/process.c | 391 +++++++++++++++++++++
10717 src/xz/process.h | 70 ++++
10718 src/xz/suffix.c | 213 ++++++++++++
10719 src/xz/suffix.h | 40 +++
10720 src/xz/util.c | 199 +++++++++++
10721 src/xz/util.h | 71 ++++
10722 src/xzdec/Makefile.am | 29 ++
10723 src/xzdec/xzdec.c | 492 ++++++++++++++++++++++++++
10724 tests/test_compress.sh | 29 +-
10725 tests/test_files.sh | 4 +-
10726 51 files changed, 5498 insertions(+), 5500 deletions(-)
10728 commit e114502b2bc371e4a45449832cb69be036360722
10729 Author: Lasse Collin <lasse.collin@tukaani.org>
10730 Date: 2008-11-19 20:46:52 +0200
10732 Oh well, big messy commit again. Some highlights:
10733 - Updated to the latest, probably final file format version.
10734 - Command line tool reworked to not use threads anymore.
10735 Threading will probably go into liblzma anyway.
10736 - Memory usage limit is now about 30 % for uncompression
10737 and about 90 % for compression.
10738 - Progress indicator with --verbose
10739 - Simplified --help and full --long-help
10740 - Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
10744 configure.ac | 48 +-
10745 debug/full_flush.c | 6 +-
10746 debug/known_sizes.c | 2 +-
10747 debug/memusage.c | 2 +-
10748 debug/sync_flush.c | 10 +-
10749 doc/file-format.txt | 260 ++++----
10750 lib/Makefile.am | 10 +-
10751 lib/getopt.c | 14 +-
10752 lib/getopt.in.h | 226 +++++++
10753 lib/getopt1.c | 8 +-
10754 lib/getopt_.h | 226 -------
10755 lib/gettext.h | 240 -------
10756 m4/getopt.m4 | 64 +-
10757 src/common/bswap.h | 15 +-
10758 src/common/physmem.h | 4 +
10759 src/common/sysdefs.h | 12 +-
10760 src/liblzma/api/lzma/block.h | 47 +-
10761 src/liblzma/api/lzma/filter.h | 8 +
10762 src/liblzma/api/lzma/index.h | 20 +-
10763 src/liblzma/api/lzma/index_hash.h | 4 +-
10764 src/liblzma/common/block_decoder.c | 59 +-
10765 src/liblzma/common/block_encoder.c | 41 +-
10766 src/liblzma/common/block_header_decoder.c | 31 +-
10767 src/liblzma/common/block_header_encoder.c | 69 +--
10768 src/liblzma/common/block_util.c | 45 +-
10769 src/liblzma/common/common.h | 8 -
10770 src/liblzma/common/filter_common.c | 4 +-
10771 src/liblzma/common/index.c | 259 ++++----
10772 src/liblzma/common/index.h | 33 +-
10773 src/liblzma/common/index_decoder.c | 31 +-
10774 src/liblzma/common/index_encoder.c | 16 +-
10775 src/liblzma/common/index_hash.c | 68 +-
10776 src/liblzma/common/stream_decoder.c | 9 +-
10777 src/liblzma/common/stream_encoder.c | 6 +-
10778 src/liblzma/lz/lz_decoder.h | 4 +-
10779 src/liblzma/subblock/subblock_decoder.c | 3 +-
10780 src/lzma/Makefile.am | 9 +-
10781 src/lzma/alloc.c | 106 ----
10782 src/lzma/alloc.h | 42 --
10783 src/lzma/args.c | 531 +++++++---------
10784 src/lzma/args.h | 42 +-
10785 src/lzma/error.c | 162 -----
10786 src/lzma/error.h | 67 --
10787 src/lzma/hardware.c | 75 ++-
10788 src/lzma/hardware.h | 16 +-
10789 src/lzma/help.c | 170 -----
10790 src/lzma/help.h | 32 -
10791 src/lzma/io.c | 757 +++++++++++------------
10792 src/lzma/io.h | 51 +-
10793 src/lzma/main.c | 392 ++++++++----
10794 src/lzma/main.h | 60 ++
10795 src/lzma/message.c | 892 +++++++++++++++++++++++++++
10796 src/lzma/message.h | 132 ++++
10797 src/lzma/options.c | 42 +-
10798 src/lzma/options.h | 6 +-
10799 src/lzma/private.h | 28 +-
10800 src/lzma/process.c | 525 ++++++++--------
10801 src/lzma/process.h | 40 ++
10802 src/lzma/suffix.c | 52 +-
10803 src/lzma/suffix.h | 17 +-
10804 src/lzma/util.c | 100 +--
10805 src/lzma/util.h | 43 +-
10806 src/lzmadec/lzmadec.c | 36 +-
10807 tests/files/README | 12 +-
10808 tests/files/bad-1-block_header-1.xz | Bin 64 -> 64 bytes
10809 tests/files/bad-1-block_header-2.xz | Bin 64 -> 64 bytes
10810 tests/files/bad-1-block_header-3.xz | Bin 68 -> 68 bytes
10811 tests/files/bad-1-block_header-4.xz | Bin 72 -> 76 bytes
10812 tests/files/bad-1-block_header-5.xz | Bin 0 -> 72 bytes
10813 tests/files/bad-1-check-crc32.xz | Bin 68 -> 68 bytes
10814 tests/files/bad-1-check-crc64.xz | Bin 72 -> 72 bytes
10815 tests/files/bad-1-check-sha256.xz | Bin 96 -> 96 bytes
10816 tests/files/bad-1-lzma2-1.xz | Bin 64 -> 64 bytes
10817 tests/files/bad-1-lzma2-2.xz | Bin 424 -> 424 bytes
10818 tests/files/bad-1-lzma2-3.xz | Bin 424 -> 424 bytes
10819 tests/files/bad-1-lzma2-4.xz | Bin 408 -> 408 bytes
10820 tests/files/bad-1-lzma2-5.xz | Bin 408 -> 408 bytes
10821 tests/files/bad-1-lzma2-6.xz | Bin 68 -> 68 bytes
10822 tests/files/bad-1-lzma2-7.xz | Bin 408 -> 408 bytes
10823 tests/files/bad-1-stream_flags-1.xz | Bin 68 -> 68 bytes
10824 tests/files/bad-1-stream_flags-2.xz | Bin 68 -> 68 bytes
10825 tests/files/bad-1-stream_flags-3.xz | Bin 68 -> 68 bytes
10826 tests/files/bad-1-vli-1.xz | Bin 72 -> 72 bytes
10827 tests/files/bad-1-vli-2.xz | Bin 72 -> 76 bytes
10828 tests/files/bad-2-compressed_data_padding.xz | Bin 92 -> 92 bytes
10829 tests/files/bad-2-index-1.xz | Bin 92 -> 92 bytes
10830 tests/files/bad-2-index-2.xz | Bin 92 -> 92 bytes
10831 tests/files/bad-2-index-3.xz | Bin 92 -> 92 bytes
10832 tests/files/bad-2-index-4.xz | Bin 92 -> 92 bytes
10833 tests/files/bad-2-index-5.xz | Bin 0 -> 92 bytes
10834 tests/files/good-1-3delta-lzma2.xz | Bin 528 -> 528 bytes
10835 tests/files/good-1-block_header-1.xz | Bin 72 -> 72 bytes
10836 tests/files/good-1-block_header-2.xz | Bin 68 -> 68 bytes
10837 tests/files/good-1-block_header-3.xz | Bin 68 -> 68 bytes
10838 tests/files/good-1-check-crc32.xz | Bin 68 -> 68 bytes
10839 tests/files/good-1-check-crc64.xz | Bin 72 -> 72 bytes
10840 tests/files/good-1-check-none.xz | Bin 64 -> 64 bytes
10841 tests/files/good-1-check-sha256.xz | Bin 96 -> 96 bytes
10842 tests/files/good-1-delta-lzma2.tiff.xz | Bin 51312 -> 51316 bytes
10843 tests/files/good-1-lzma2-1.xz | Bin 424 -> 424 bytes
10844 tests/files/good-1-lzma2-2.xz | Bin 424 -> 424 bytes
10845 tests/files/good-1-lzma2-3.xz | Bin 408 -> 408 bytes
10846 tests/files/good-1-sparc-lzma2.xz | Bin 2292 -> 2296 bytes
10847 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 1936 bytes
10848 tests/files/good-2-lzma2.xz | Bin 92 -> 92 bytes
10849 tests/files/unsupported-block_header.xz | Bin 68 -> 68 bytes
10850 tests/files/unsupported-check.xz | Bin 68 -> 68 bytes
10851 tests/files/unsupported-filter_flags-1.xz | Bin 68 -> 68 bytes
10852 tests/files/unsupported-filter_flags-2.xz | Bin 68 -> 68 bytes
10853 tests/files/unsupported-filter_flags-3.xz | Bin 68 -> 68 bytes
10854 tests/test_block_header.c | 16 +-
10855 tests/test_index.c | 42 +-
10856 113 files changed, 3462 insertions(+), 2946 deletions(-)
10858 commit 3c3905b53462ae235c9438d86a4dc51086410932
10859 Author: Lasse Collin <lasse.collin@tukaani.org>
10860 Date: 2008-10-09 11:12:29 +0300
10862 Fixed the test that should have been fixed as part
10863 of 1e8e4fd1f3e50129b4541406ad765d2aa1233943.
10865 tests/test_block_header.c | 2 +-
10866 1 file changed, 1 insertion(+), 1 deletion(-)
10868 commit 0f295bf7a3ece01f667caae318cc3e3424085886
10869 Author: Lasse Collin <lasse.collin@tukaani.org>
10870 Date: 2008-10-07 16:42:18 +0300
10872 Fixed some help messages.
10874 src/lzma/help.c | 6 +++---
10875 1 file changed, 3 insertions(+), 3 deletions(-)
10877 commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943
10878 Author: Lasse Collin <lasse.collin@tukaani.org>
10879 Date: 2008-10-07 09:40:31 +0300
10881 Made the preset numbering more logical in liblzma API.
10883 src/liblzma/api/lzma/container.h | 20 ++++++++++----------
10884 src/liblzma/api/lzma/lzma.h | 2 +-
10885 src/liblzma/lzma/lzma_encoder_presets.c | 3 ++-
10886 src/lzma/args.c | 8 ++++----
10887 src/lzma/args.h | 2 +-
10888 5 files changed, 18 insertions(+), 17 deletions(-)
10890 commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81
10891 Author: Lasse Collin <lasse.collin@tukaani.org>
10892 Date: 2008-10-03 19:36:09 +0300
10894 Removed fi from po/LINGUAS.
10897 1 file changed, 1 deletion(-)
10899 commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128
10900 Author: Lasse Collin <lasse.collin@tukaani.org>
10901 Date: 2008-10-03 07:06:48 +0300
10903 Fixed suffix handling with --format=raw.
10905 src/lzma/suffix.c | 28 +++++++++++++++++++---------
10906 1 file changed, 19 insertions(+), 9 deletions(-)
10908 commit bd137524f2f50e30ba054f42f1f6536cd3cee920
10909 Author: Lasse Collin <lasse.collin@tukaani.org>
10910 Date: 2008-10-02 22:51:46 +0300
10912 Initial changes to change the suffix of the new format to .xz.
10913 This also fixes a bug related to --suffix option. Some issues
10914 with suffixes with --format=raw were not fixed.
10916 src/lzma/args.c | 67 +++++++++++++++++++++++++++++++--------------
10917 src/lzma/args.h | 13 +++++----
10918 src/lzma/help.c | 4 +--
10919 src/lzma/process.c | 24 +++++++++-------
10920 src/lzma/suffix.c | 74 +++++++++++++++++++++++++++++++++++++++++---------
10921 tests/test_compress.sh | 3 +-
10922 6 files changed, 133 insertions(+), 52 deletions(-)
10924 commit 4c321a41c482821aa3c4d64cdf886a6ed904d844
10925 Author: Lasse Collin <lasse.collin@tukaani.org>
10926 Date: 2008-09-30 17:43:55 +0300
10928 Renamed the test files from .lzma suffix to .xz suffix.
10930 tests/files/README | 128 ++++++++++++-------------
10931 tests/files/bad-0-backward_size.lzma | Bin 32 -> 0 bytes
10932 tests/files/bad-0-backward_size.xz | Bin 0 -> 32 bytes
10933 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 0 bytes
10934 tests/files/bad-0-empty-truncated.xz | Bin 0 -> 31 bytes
10935 tests/files/bad-0-footer_magic.lzma | Bin 32 -> 0 bytes
10936 tests/files/bad-0-footer_magic.xz | Bin 0 -> 32 bytes
10937 tests/files/bad-0-header_magic.lzma | Bin 32 -> 0 bytes
10938 tests/files/bad-0-header_magic.xz | Bin 0 -> 32 bytes
10939 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 0 bytes
10940 tests/files/bad-0-nonempty_index.xz | Bin 0 -> 32 bytes
10941 tests/files/bad-0cat-alone.lzma | Bin 55 -> 0 bytes
10942 tests/files/bad-0cat-alone.xz | Bin 0 -> 55 bytes
10943 tests/files/bad-0cat-header_magic.lzma | Bin 64 -> 0 bytes
10944 tests/files/bad-0cat-header_magic.xz | Bin 0 -> 64 bytes
10945 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 0 bytes
10946 tests/files/bad-0catpad-empty.xz | Bin 0 -> 69 bytes
10947 tests/files/bad-0pad-empty.lzma | Bin 37 -> 0 bytes
10948 tests/files/bad-0pad-empty.xz | Bin 0 -> 37 bytes
10949 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 0 bytes
10950 tests/files/bad-1-block_header-1.xz | Bin 0 -> 64 bytes
10951 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 0 bytes
10952 tests/files/bad-1-block_header-2.xz | Bin 0 -> 64 bytes
10953 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 0 bytes
10954 tests/files/bad-1-block_header-3.xz | Bin 0 -> 68 bytes
10955 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 0 bytes
10956 tests/files/bad-1-block_header-4.xz | Bin 0 -> 72 bytes
10957 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 0 bytes
10958 tests/files/bad-1-check-crc32.xz | Bin 0 -> 68 bytes
10959 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 0 bytes
10960 tests/files/bad-1-check-crc64.xz | Bin 0 -> 72 bytes
10961 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 0 bytes
10962 tests/files/bad-1-check-sha256.xz | Bin 0 -> 96 bytes
10963 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 0 bytes
10964 tests/files/bad-1-lzma2-1.xz | Bin 0 -> 64 bytes
10965 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 0 bytes
10966 tests/files/bad-1-lzma2-2.xz | Bin 0 -> 424 bytes
10967 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 0 bytes
10968 tests/files/bad-1-lzma2-3.xz | Bin 0 -> 424 bytes
10969 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 0 bytes
10970 tests/files/bad-1-lzma2-4.xz | Bin 0 -> 408 bytes
10971 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 0 bytes
10972 tests/files/bad-1-lzma2-5.xz | Bin 0 -> 408 bytes
10973 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 0 bytes
10974 tests/files/bad-1-lzma2-6.xz | Bin 0 -> 68 bytes
10975 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 0 bytes
10976 tests/files/bad-1-lzma2-7.xz | Bin 0 -> 408 bytes
10977 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 0 bytes
10978 tests/files/bad-1-stream_flags-1.xz | Bin 0 -> 68 bytes
10979 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 0 bytes
10980 tests/files/bad-1-stream_flags-2.xz | Bin 0 -> 68 bytes
10981 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 0 bytes
10982 tests/files/bad-1-stream_flags-3.xz | Bin 0 -> 68 bytes
10983 tests/files/bad-1-vli-1.lzma | Bin 72 -> 0 bytes
10984 tests/files/bad-1-vli-1.xz | Bin 0 -> 72 bytes
10985 tests/files/bad-1-vli-2.lzma | Bin 72 -> 0 bytes
10986 tests/files/bad-1-vli-2.xz | Bin 0 -> 72 bytes
10987 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 0 bytes
10988 tests/files/bad-2-compressed_data_padding.xz | Bin 0 -> 92 bytes
10989 tests/files/bad-2-index-1.lzma | Bin 92 -> 0 bytes
10990 tests/files/bad-2-index-1.xz | Bin 0 -> 92 bytes
10991 tests/files/bad-2-index-2.lzma | Bin 92 -> 0 bytes
10992 tests/files/bad-2-index-2.xz | Bin 0 -> 92 bytes
10993 tests/files/bad-2-index-3.lzma | Bin 92 -> 0 bytes
10994 tests/files/bad-2-index-3.xz | Bin 0 -> 92 bytes
10995 tests/files/bad-2-index-4.lzma | Bin 92 -> 0 bytes
10996 tests/files/bad-2-index-4.xz | Bin 0 -> 92 bytes
10997 tests/files/good-0-empty.lzma | Bin 32 -> 0 bytes
10998 tests/files/good-0-empty.xz | Bin 0 -> 32 bytes
10999 tests/files/good-0cat-empty.lzma | Bin 64 -> 0 bytes
11000 tests/files/good-0cat-empty.xz | Bin 0 -> 64 bytes
11001 tests/files/good-0catpad-empty.lzma | Bin 68 -> 0 bytes
11002 tests/files/good-0catpad-empty.xz | Bin 0 -> 68 bytes
11003 tests/files/good-0pad-empty.lzma | Bin 36 -> 0 bytes
11004 tests/files/good-0pad-empty.xz | Bin 0 -> 36 bytes
11005 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 0 bytes
11006 tests/files/good-1-3delta-lzma2.xz | Bin 0 -> 528 bytes
11007 tests/files/good-1-block_header-1.lzma | Bin 72 -> 0 bytes
11008 tests/files/good-1-block_header-1.xz | Bin 0 -> 72 bytes
11009 tests/files/good-1-block_header-2.lzma | Bin 68 -> 0 bytes
11010 tests/files/good-1-block_header-2.xz | Bin 0 -> 68 bytes
11011 tests/files/good-1-block_header-3.lzma | Bin 68 -> 0 bytes
11012 tests/files/good-1-block_header-3.xz | Bin 0 -> 68 bytes
11013 tests/files/good-1-check-crc32.lzma | Bin 68 -> 0 bytes
11014 tests/files/good-1-check-crc32.xz | Bin 0 -> 68 bytes
11015 tests/files/good-1-check-crc64.lzma | Bin 72 -> 0 bytes
11016 tests/files/good-1-check-crc64.xz | Bin 0 -> 72 bytes
11017 tests/files/good-1-check-none.lzma | Bin 64 -> 0 bytes
11018 tests/files/good-1-check-none.xz | Bin 0 -> 64 bytes
11019 tests/files/good-1-check-sha256.lzma | Bin 96 -> 0 bytes
11020 tests/files/good-1-check-sha256.xz | Bin 0 -> 96 bytes
11021 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 0 bytes
11022 tests/files/good-1-delta-lzma2.tiff.xz | Bin 0 -> 51312 bytes
11023 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 0 bytes
11024 tests/files/good-1-lzma2-1.xz | Bin 0 -> 424 bytes
11025 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 0 bytes
11026 tests/files/good-1-lzma2-2.xz | Bin 0 -> 424 bytes
11027 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 0 bytes
11028 tests/files/good-1-lzma2-3.xz | Bin 0 -> 408 bytes
11029 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 0 bytes
11030 tests/files/good-1-sparc-lzma2.xz | Bin 0 -> 2292 bytes
11031 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 0 bytes
11032 tests/files/good-1-x86-lzma2.xz | Bin 0 -> 1936 bytes
11033 tests/files/good-2-lzma2.lzma | Bin 92 -> 0 bytes
11034 tests/files/good-2-lzma2.xz | Bin 0 -> 92 bytes
11035 tests/files/unsupported-block_header.lzma | Bin 68 -> 0 bytes
11036 tests/files/unsupported-block_header.xz | Bin 0 -> 68 bytes
11037 tests/files/unsupported-check.lzma | Bin 68 -> 0 bytes
11038 tests/files/unsupported-check.xz | Bin 0 -> 68 bytes
11039 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 0 bytes
11040 tests/files/unsupported-filter_flags-1.xz | Bin 0 -> 68 bytes
11041 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 0 bytes
11042 tests/files/unsupported-filter_flags-2.xz | Bin 0 -> 68 bytes
11043 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 0 bytes
11044 tests/files/unsupported-filter_flags-3.xz | Bin 0 -> 68 bytes
11045 tests/test_files.sh | 6 +-
11046 116 files changed, 66 insertions(+), 68 deletions(-)
11048 commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb
11049 Author: Lasse Collin <lasse.collin@tukaani.org>
11050 Date: 2008-09-30 13:57:44 +0300
11052 Fixed Stream decoder to actually use the first_stream variable.
11054 src/liblzma/common/stream_decoder.c | 5 +++++
11055 1 file changed, 5 insertions(+)
11057 commit 3bdbc12c054d1961133ee19802af7dd3c3494543
11058 Author: Lasse Collin <lasse.collin@tukaani.org>
11059 Date: 2008-09-30 13:56:57 +0300
11061 Added one more test file.
11063 tests/files/README | 15 +++++++++++----
11064 tests/files/bad-0cat-header_magic.lzma | Bin 0 -> 64 bytes
11065 2 files changed, 11 insertions(+), 4 deletions(-)
11067 commit a6639022fdc536e5659b070a465221b4cf7c51fa
11068 Author: Lasse Collin <lasse.collin@tukaani.org>
11069 Date: 2008-09-30 13:34:07 +0300
11071 Fixed uninitialized variable in Stream decoder.
11073 src/liblzma/common/stream_decoder.c | 1 +
11074 1 file changed, 1 insertion(+)
11076 commit ed3709000a3f17ecefab29b2235d7e2221b00003
11077 Author: Lasse Collin <lasse.collin@tukaani.org>
11078 Date: 2008-09-30 13:27:28 +0300
11080 Added two test files.
11082 tests/files/README | 6 ++++++
11083 tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes
11084 tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes
11085 3 files changed, 6 insertions(+)
11087 commit ea560b0ea80525752bdcd0074d24f8dc170bbe29
11088 Author: Lasse Collin <lasse.collin@tukaani.org>
11089 Date: 2008-09-27 23:49:24 +0300
11091 Fix conflicting Subblock helper filter's ID.
11093 src/liblzma/common/common.h | 2 +-
11094 1 file changed, 1 insertion(+), 1 deletion(-)
11096 commit ad97483b6e55142fd8d5c041db057017a891cd95
11097 Author: Lasse Collin <lasse.collin@tukaani.org>
11098 Date: 2008-09-27 23:37:13 +0300
11100 Changed magic bytes to match the updated spec. Filename
11101 suffix wasn't changed yet.
11103 src/liblzma/common/auto_decoder.c | 4 ++--
11104 src/liblzma/common/stream_flags_common.c | 2 +-
11105 tests/files/bad-0-backward_size.lzma | Bin 32 -> 32 bytes
11106 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 31 bytes
11107 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 32 bytes
11108 tests/files/bad-0cat-alone.lzma | Bin 55 -> 55 bytes
11109 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 69 bytes
11110 tests/files/bad-0pad-empty.lzma | Bin 37 -> 37 bytes
11111 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 64 bytes
11112 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 64 bytes
11113 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 68 bytes
11114 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 72 bytes
11115 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 68 bytes
11116 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 72 bytes
11117 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 96 bytes
11118 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 64 bytes
11119 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 424 bytes
11120 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 424 bytes
11121 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 408 bytes
11122 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 408 bytes
11123 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 68 bytes
11124 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 408 bytes
11125 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 68 bytes
11126 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 68 bytes
11127 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 68 bytes
11128 tests/files/bad-1-vli-1.lzma | Bin 72 -> 72 bytes
11129 tests/files/bad-1-vli-2.lzma | Bin 72 -> 72 bytes
11130 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 92 bytes
11131 tests/files/bad-2-index-1.lzma | Bin 92 -> 92 bytes
11132 tests/files/bad-2-index-2.lzma | Bin 92 -> 92 bytes
11133 tests/files/bad-2-index-3.lzma | Bin 92 -> 92 bytes
11134 tests/files/bad-2-index-4.lzma | Bin 92 -> 92 bytes
11135 tests/files/good-0-empty.lzma | Bin 32 -> 32 bytes
11136 tests/files/good-0cat-empty.lzma | Bin 64 -> 64 bytes
11137 tests/files/good-0catpad-empty.lzma | Bin 68 -> 68 bytes
11138 tests/files/good-0pad-empty.lzma | Bin 36 -> 36 bytes
11139 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 528 bytes
11140 tests/files/good-1-block_header-1.lzma | Bin 72 -> 72 bytes
11141 tests/files/good-1-block_header-2.lzma | Bin 68 -> 68 bytes
11142 tests/files/good-1-block_header-3.lzma | Bin 68 -> 68 bytes
11143 tests/files/good-1-check-crc32.lzma | Bin 68 -> 68 bytes
11144 tests/files/good-1-check-crc64.lzma | Bin 72 -> 72 bytes
11145 tests/files/good-1-check-none.lzma | Bin 64 -> 64 bytes
11146 tests/files/good-1-check-sha256.lzma | Bin 96 -> 96 bytes
11147 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 51312 bytes
11148 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 424 bytes
11149 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 424 bytes
11150 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 408 bytes
11151 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 2292 bytes
11152 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 1936 bytes
11153 tests/files/good-2-lzma2.lzma | Bin 92 -> 92 bytes
11154 tests/files/unsupported-block_header.lzma | Bin 68 -> 68 bytes
11155 tests/files/unsupported-check.lzma | Bin 68 -> 68 bytes
11156 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 68 bytes
11157 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 68 bytes
11158 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 68 bytes
11159 56 files changed, 3 insertions(+), 3 deletions(-)
11161 commit 7a57069167e9e63394e2b095ee3a63253fcb51c7
11162 Author: Lasse Collin <lasse.collin@tukaani.org>
11163 Date: 2008-09-27 23:16:09 +0300
11165 Remove po/fi.po since I'm not keeping it updated for now.
11167 po/fi.po | 446 ---------------------------------------------------------------
11168 1 file changed, 446 deletions(-)
11170 commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e
11171 Author: Lasse Collin <lasse.collin@tukaani.org>
11172 Date: 2008-09-27 23:13:54 +0300
11174 Fix also test_compress.sh.
11176 tests/test_compress.sh | 6 +++---
11177 1 file changed, 3 insertions(+), 3 deletions(-)
11179 commit 3a62a5fb85d2eebd8666e64ed5d364d095062858
11180 Author: Lasse Collin <lasse.collin@tukaani.org>
11181 Date: 2008-09-27 23:01:15 +0300
11183 Fixed compilation of test_filter_flags.c, which was broken by
11184 1dcecfb09b55157b8653d747963069c8bed74f04.
11186 tests/test_filter_flags.c | 16 ++++++++--------
11187 1 file changed, 8 insertions(+), 8 deletions(-)
11189 commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0
11190 Author: Lasse Collin <lasse.collin@tukaani.org>
11191 Date: 2008-09-27 19:11:02 +0300
11193 Updated file format specification. It changes the suffix
11194 of the new format to .xz and removes the recently added
11197 doc/file-format.txt | 125 ++++++++++++++--------------------------------------
11198 1 file changed, 32 insertions(+), 93 deletions(-)
11200 commit 1dcecfb09b55157b8653d747963069c8bed74f04
11201 Author: Lasse Collin <lasse.collin@tukaani.org>
11202 Date: 2008-09-27 19:09:21 +0300
11204 Some API changes, bug fixes, cleanups etc.
11206 configure.ac | 18 +-
11207 debug/full_flush.c | 7 +-
11208 debug/known_sizes.c | 6 +-
11209 debug/memusage.c | 22 +--
11210 debug/sync_flush.c | 18 +-
11211 src/liblzma/Makefile.am | 2 +-
11212 src/liblzma/api/lzma/delta.h | 8 +-
11213 src/liblzma/api/lzma/lzma.h | 230 ++++++++++++++++---------
11214 src/liblzma/common/alignment.c | 7 +-
11215 src/liblzma/common/alone_decoder.c | 11 +-
11216 src/liblzma/common/alone_encoder.c | 9 +-
11217 src/liblzma/common/chunk_size.c | 2 +-
11218 src/liblzma/common/easy.c | 20 ++-
11219 src/liblzma/common/filter_common.c | 4 +-
11220 src/liblzma/common/filter_decoder.c | 4 +-
11221 src/liblzma/common/filter_encoder.c | 4 +-
11222 src/liblzma/common/init_encoder.c | 2 +-
11223 src/liblzma/delta/delta_common.c | 12 +-
11224 src/liblzma/delta/delta_common.h | 2 +-
11225 src/liblzma/delta/delta_decoder.c | 2 +-
11226 src/liblzma/delta/delta_encoder.c | 6 +-
11227 src/liblzma/lz/lz_encoder.c | 30 ++--
11228 src/liblzma/lz/lz_encoder.h | 26 +--
11229 src/liblzma/lz/lz_encoder_mf.c | 30 ++--
11230 src/liblzma/lzma/Makefile.am | 4 +-
11231 src/liblzma/lzma/lzma2_decoder.c | 10 +-
11232 src/liblzma/lzma/lzma2_encoder.c | 27 ++-
11233 src/liblzma/lzma/lzma_common.h | 26 ++-
11234 src/liblzma/lzma/lzma_decoder.c | 37 ++--
11235 src/liblzma/lzma/lzma_encoder.c | 51 +++---
11236 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 10 +-
11237 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +--
11238 src/liblzma/lzma/lzma_encoder_presets.c | 50 ++++--
11239 src/liblzma/rangecoder/Makefile.am | 4 +-
11240 src/liblzma/subblock/subblock_decoder.c | 2 +-
11241 src/lzma/args.c | 33 ++--
11242 src/lzma/help.c | 17 +-
11243 src/lzma/options.c | 92 +++++-----
11244 tests/test_block_header.c | 9 +-
11245 tests/test_compress.sh | 4 +-
11246 tests/test_filter_flags.c | 2 +-
11247 41 files changed, 482 insertions(+), 398 deletions(-)
11249 commit 5cc5064cae603b649c64c40125c7dd365de54c9d
11250 Author: Lasse Collin <lasse.collin@tukaani.org>
11251 Date: 2008-09-27 11:28:49 +0300
11253 Added 7z2lzma.bash.
11255 extra/7z2lzma/7z2lzma.bash | 114 +++++++++++++++++++++++++++++++++++++++++++++
11256 1 file changed, 114 insertions(+)
11258 commit f147666a5cd15542d4e427da58629f4a71cc38e1
11259 Author: Lasse Collin <lasse.collin@tukaani.org>
11260 Date: 2008-09-17 22:11:39 +0300
11262 Miscellaneous LZ and LZMA encoder cleanups
11264 src/liblzma/api/lzma/lzma.h | 14 -------
11265 src/liblzma/lz/lz_encoder.c | 8 +++-
11266 src/liblzma/lzma/Makefile.am | 1 -
11267 src/liblzma/lzma/lzma_encoder.c | 64 ++++++++++++--------------------
11268 src/liblzma/lzma/lzma_encoder_features.c | 59 -----------------------------
11269 5 files changed, 29 insertions(+), 117 deletions(-)
11271 commit 13d68b069849e19c33822cd8996cd6447890abb1
11272 Author: Lasse Collin <lasse.collin@tukaani.org>
11273 Date: 2008-09-13 13:54:00 +0300
11277 src/liblzma/lz/lz_decoder.c | 5 ++---
11278 1 file changed, 2 insertions(+), 3 deletions(-)
11280 commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7
11281 Author: Lasse Collin <lasse.collin@tukaani.org>
11282 Date: 2008-09-13 12:10:43 +0300
11285 - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
11286 - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
11287 - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
11289 debug/full_flush.c | 2 +-
11290 debug/known_sizes.c | 2 +-
11291 debug/sync_flush.c | 2 +-
11292 src/liblzma/api/lzma/alignment.h | 2 +-
11293 src/liblzma/api/lzma/base.h | 4 ++--
11294 src/liblzma/api/lzma/block.h | 28 ++++++++++++++--------------
11295 src/liblzma/api/lzma/container.h | 12 ++++++------
11296 src/liblzma/api/lzma/filter.h | 28 ++++++++++++++--------------
11297 src/liblzma/api/lzma/index.h | 2 +-
11298 src/liblzma/api/lzma/lzma.h | 4 ++--
11299 src/liblzma/api/lzma/simple.h | 2 +-
11300 src/liblzma/api/lzma/stream_flags.h | 20 ++++++++++----------
11301 src/liblzma/api/lzma/vli.h | 16 ++++++++--------
11302 src/liblzma/common/alignment.c | 6 +++---
11303 src/liblzma/common/alone_decoder.c | 2 +-
11304 src/liblzma/common/auto_decoder.c | 2 +-
11305 src/liblzma/common/block_decoder.c | 12 ++++++------
11306 src/liblzma/common/block_encoder.c | 6 +++---
11307 src/liblzma/common/block_header_decoder.c | 16 ++++++++--------
11308 src/liblzma/common/block_header_encoder.c | 24 ++++++++++++------------
11309 src/liblzma/common/block_util.c | 8 ++++----
11310 src/liblzma/common/chunk_size.c | 2 +-
11311 src/liblzma/common/easy.c | 4 ++--
11312 src/liblzma/common/filter_common.c | 22 +++++++++++-----------
11313 src/liblzma/common/filter_decoder.c | 6 +++---
11314 src/liblzma/common/filter_encoder.c | 14 +++++++-------
11315 src/liblzma/common/index.c | 24 +++++++++++-------------
11316 src/liblzma/common/index.h | 2 +-
11317 src/liblzma/common/index_hash.c | 13 ++++++-------
11318 src/liblzma/common/stream_decoder.c | 4 ++--
11319 src/liblzma/common/stream_encoder.c | 4 ++--
11320 src/liblzma/common/stream_flags_common.c | 6 +++---
11321 src/liblzma/common/stream_flags_decoder.c | 6 +++---
11322 src/liblzma/common/stream_flags_encoder.c | 4 ++--
11323 src/liblzma/common/vli_encoder.c | 2 +-
11324 src/liblzma/common/vli_size.c | 2 +-
11325 src/liblzma/delta/delta_common.c | 2 +-
11326 src/liblzma/delta/delta_decoder.c | 2 +-
11327 src/liblzma/delta/delta_encoder.c | 2 +-
11328 src/liblzma/lz/lz_decoder.c | 2 +-
11329 src/liblzma/lz/lz_encoder.c | 2 +-
11330 src/liblzma/lzma/lzma2_decoder.c | 6 +++---
11331 src/liblzma/lzma/lzma_decoder.c | 14 +++++++-------
11332 src/liblzma/lzma/lzma_encoder.c | 8 ++++----
11333 src/liblzma/simple/simple_coder.c | 2 +-
11334 src/liblzma/simple/simple_decoder.c | 2 +-
11335 src/liblzma/subblock/subblock_decoder.c | 6 +++---
11336 src/liblzma/subblock/subblock_encoder.c | 17 ++++++++---------
11337 src/lzma/args.c | 2 +-
11338 src/lzma/error.c | 2 +-
11339 src/lzma/list.c | 6 +++---
11340 src/lzmadec/lzmadec.c | 2 +-
11341 tests/test_block.c | 8 ++++----
11342 tests/test_block_header.c | 30 +++++++++++++++---------------
11343 tests/test_filter_flags.c | 2 +-
11344 tests/test_index.c | 2 +-
11345 tests/test_stream_flags.c | 8 ++++----
11346 tests/tests.h | 2 +-
11347 58 files changed, 220 insertions(+), 224 deletions(-)
11349 commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080
11350 Author: Lasse Collin <lasse.collin@tukaani.org>
11351 Date: 2008-09-12 22:41:40 +0300
11353 Improved the Stream Flags handling API.
11355 src/liblzma/api/lzma/stream_flags.h | 84 +++++++++++++++++++++++++++++--
11356 src/liblzma/common/stream_decoder.c | 5 +-
11357 src/liblzma/common/stream_encoder.c | 2 +
11358 src/liblzma/common/stream_flags_common.c | 28 ++++++++---
11359 src/liblzma/common/stream_flags_common.h | 9 ++++
11360 src/liblzma/common/stream_flags_decoder.c | 3 +-
11361 src/liblzma/common/stream_flags_encoder.c | 10 ++--
11362 tests/test_stream_flags.c | 8 ++-
11363 8 files changed, 129 insertions(+), 20 deletions(-)
11365 commit ec490da5228263b25bf786bb23d1008468f55b30
11366 Author: Lasse Collin <lasse.collin@tukaani.org>
11367 Date: 2008-09-11 23:10:44 +0300
11369 Simplified debug/known_sizes.c to match the relaxed
11370 requirements of Block encoder.
11372 debug/known_sizes.c | 14 +++++---------
11373 1 file changed, 5 insertions(+), 9 deletions(-)
11375 commit 16e8b98f2659347edfa74afdbbb9e73311153cb9
11376 Author: Lasse Collin <lasse.collin@tukaani.org>
11377 Date: 2008-09-11 23:09:24 +0300
11379 Remove a check from Block encoder that should have already
11380 been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e.
11382 src/liblzma/common/block_encoder.c | 5 -----
11383 1 file changed, 5 deletions(-)
11385 commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13
11386 Author: Lasse Collin <lasse.collin@tukaani.org>
11387 Date: 2008-09-11 20:02:38 +0300
11389 Remove bogus #includes.
11391 src/liblzma/common/Makefile.am | 1 -
11392 src/liblzma/common/stream_decoder.c | 3 ---
11393 src/liblzma/common/stream_encoder.c | 1 -
11394 src/liblzma/common/stream_flags_decoder.h | 31 -------------------------------
11395 4 files changed, 36 deletions(-)
11397 commit 01892b2ca5f69bed0ea746e04b604030d57806bb
11398 Author: Lasse Collin <lasse.collin@tukaani.org>
11399 Date: 2008-09-11 10:49:14 +0300
11404 1 file changed, 1 insertion(+)
11406 commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d
11407 Author: Lasse Collin <lasse.collin@tukaani.org>
11408 Date: 2008-09-11 10:48:12 +0300
11410 Fix a compiler error on big endian systems that don't
11411 support unaligned memory access.
11413 src/common/integer.h | 32 ++++++++++++++++++--------------
11414 1 file changed, 18 insertions(+), 14 deletions(-)
11416 commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671
11417 Author: Lasse Collin <lasse.collin@tukaani.org>
11418 Date: 2008-09-11 10:46:14 +0300
11420 Silence a compiler warning.
11422 src/lzma/process.c | 2 +-
11423 1 file changed, 1 insertion(+), 1 deletion(-)
11425 commit 9373e81e18822db4972819442ea4c2cb9955470b
11426 Author: Lasse Collin <lasse.collin@tukaani.org>
11427 Date: 2008-09-10 19:16:32 +0300
11429 Bumped version to 4.999.6alpha.
11431 configure.ac | 2 +-
11432 src/liblzma/api/lzma/version.h | 2 +-
11433 2 files changed, 2 insertions(+), 2 deletions(-)
11435 commit cb072b7c8442ba68bb0c62c0abbbe939794887a3
11436 Author: Lasse Collin <lasse.collin@tukaani.org>
11437 Date: 2008-09-10 17:02:00 +0300
11439 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.
11440 Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID
11441 is in the reserved range. This allows Block Header encoder to
11442 detect unallowed Filter IDs, which is good for Stream encoder.
11444 src/liblzma/common/filter_flags_encoder.c | 7 ++++---
11445 1 file changed, 4 insertions(+), 3 deletions(-)
11447 commit 123ab0acec435c9e9866a99e30482116cfbd9ba5
11448 Author: Lasse Collin <lasse.collin@tukaani.org>
11449 Date: 2008-09-10 16:44:32 +0300
11451 Filter handling cleanups
11453 src/liblzma/api/lzma/filter.h | 133 +++++++++++++++++++++++++++---------
11454 src/liblzma/common/filter_common.h | 3 +
11455 src/liblzma/common/filter_decoder.c | 80 +++++++---------------
11456 src/liblzma/common/filter_decoder.h | 5 --
11457 src/liblzma/common/filter_encoder.c | 82 +++++++---------------
11458 src/liblzma/common/filter_encoder.h | 4 --
11459 6 files changed, 156 insertions(+), 151 deletions(-)
11461 commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1
11462 Author: Lasse Collin <lasse.collin@tukaani.org>
11463 Date: 2008-09-10 00:33:00 +0300
11467 src/liblzma/common/stream_encoder.c | 6 +++++-
11468 1 file changed, 5 insertions(+), 1 deletion(-)
11470 commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e
11471 Author: Lasse Collin <lasse.collin@tukaani.org>
11472 Date: 2008-09-10 00:27:02 +0300
11474 Cleaned up Block encoder and moved the no longer shared
11475 code from block_private.h to block_decoder.c. Now the Block
11476 encoder doesn't need compressed_size and uncompressed_size
11477 from lzma_block structure to be initialized.
11479 src/liblzma/api/lzma/block.h | 3 --
11480 src/liblzma/common/Makefile.am | 1 -
11481 src/liblzma/common/block_decoder.c | 23 +++++++++-
11482 src/liblzma/common/block_encoder.c | 92 ++++++++++++++++++--------------------
11483 src/liblzma/common/block_private.h | 47 -------------------
11484 5 files changed, 66 insertions(+), 100 deletions(-)
11486 commit 07efcb5a6bc5d7018798ebd728586f84183e7d64
11487 Author: Lasse Collin <lasse.collin@tukaani.org>
11488 Date: 2008-09-07 10:23:13 +0300
11490 Changed Filter ID of LZMA to 0x20.
11492 doc/file-format.txt | 4 ++--
11493 src/liblzma/api/lzma/lzma.h | 2 +-
11494 2 files changed, 3 insertions(+), 3 deletions(-)
11496 commit 32fe5fa541e82c08e054086279079ae5016bd8d8
11497 Author: Lasse Collin <lasse.collin@tukaani.org>
11498 Date: 2008-09-06 23:42:50 +0300
11502 src/liblzma/api/lzma/base.h | 81 ++++++++++++++++++++++++++--------------
11503 src/liblzma/api/lzma/container.h | 6 ++-
11504 src/liblzma/lz/lz_encoder.c | 3 +-
11505 src/liblzma/lz/lz_encoder.h | 12 +++---
11506 src/liblzma/lz/lz_encoder_mf.c | 2 +-
11507 5 files changed, 65 insertions(+), 39 deletions(-)
11509 commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84
11510 Author: Lasse Collin <lasse.collin@tukaani.org>
11511 Date: 2008-09-06 15:14:30 +0300
11515 src/liblzma/api/lzma/base.h | 314 +++++++++++++++++++++++-------------
11516 src/liblzma/api/lzma/check.h | 10 ++
11517 src/liblzma/api/lzma/container.h | 40 +++--
11518 src/liblzma/common/auto_decoder.c | 18 +--
11519 src/liblzma/common/common.c | 7 +
11520 src/liblzma/common/common.h | 18 ++-
11521 src/liblzma/common/easy.c | 2 +-
11522 src/liblzma/common/stream_decoder.c | 31 ++--
11523 src/lzma/process.c | 2 +-
11524 src/lzmadec/lzmadec.c | 6 +-
11525 tests/tests.h | 72 +++------
11526 11 files changed, 301 insertions(+), 219 deletions(-)
11528 commit da98df54400998be2a6c3876f9655a3c51b93c10
11529 Author: Lasse Collin <lasse.collin@tukaani.org>
11530 Date: 2008-09-04 11:53:06 +0300
11532 Added support for raw encoding and decoding to the command
11533 line tool, and made various cleanups. --lzma was renamed to
11534 --lzma1 to prevent people from accidentally using LZMA when
11537 src/lzma/args.c | 17 +++++++++--------
11538 src/lzma/args.h | 1 +
11539 src/lzma/help.c | 24 ++++++------------------
11540 src/lzma/process.c | 42 ++++++++++++++++++++++++++++++++++--------
11541 4 files changed, 50 insertions(+), 34 deletions(-)
11543 commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd
11544 Author: Lasse Collin <lasse.collin@tukaani.org>
11545 Date: 2008-09-04 10:39:15 +0300
11547 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's
11548 simply nothing that would use it. Allow LZMA_FINISH to the
11549 decoders, which will usually ignore it (auto decoder and
11550 Stream decoder being exceptions).
11552 src/liblzma/common/alone_decoder.c | 1 -
11553 src/liblzma/common/block_decoder.c | 2 +-
11554 src/liblzma/common/filter_decoder.c | 2 +-
11555 3 files changed, 2 insertions(+), 3 deletions(-)
11557 commit bea301c26d5d52675e11e0236faec0492af98f60
11558 Author: Lasse Collin <lasse.collin@tukaani.org>
11559 Date: 2008-09-03 17:06:25 +0300
11561 Minor updates to the file format specification.
11563 doc/file-format.txt | 105 ++++++++++++++++++++++++++++++++++++++++++----------
11564 1 file changed, 85 insertions(+), 20 deletions(-)
11566 commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8
11567 Author: Lasse Collin <lasse.collin@tukaani.org>
11568 Date: 2008-09-02 19:33:32 +0300
11570 Command line tool fixes
11572 src/lzma/process.c | 21 +++++++++++++--------
11573 1 file changed, 13 insertions(+), 8 deletions(-)
11575 commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4
11576 Author: Lasse Collin <lasse.collin@tukaani.org>
11577 Date: 2008-09-02 19:31:42 +0300
11579 Auto decoder cleanup
11581 src/liblzma/common/auto_decoder.c | 2 +-
11582 1 file changed, 1 insertion(+), 1 deletion(-)
11584 commit 689602336d126a46b60d791a67decab65e1e81f5
11585 Author: Lasse Collin <lasse.collin@tukaani.org>
11586 Date: 2008-09-02 19:12:12 +0300
11588 Updated auto decoder to handle LZMA_CONCATENATED when decoding
11589 LZMA_Alone files. Decoding of concatenated LZMA_Alone files is
11590 intentionally not supported, so it is better to put this in
11591 auto decoder than LZMA_Alone decoder.
11593 src/liblzma/common/auto_decoder.c | 87 ++++++++++++++++++++++++++++++++-------
11594 1 file changed, 71 insertions(+), 16 deletions(-)
11596 commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c
11597 Author: Lasse Collin <lasse.collin@tukaani.org>
11598 Date: 2008-09-02 14:56:52 +0300
11600 Stream decoder cleanups
11602 src/liblzma/common/stream_decoder.c | 57 +++++++++++++++++++++----------------
11603 1 file changed, 32 insertions(+), 25 deletions(-)
11605 commit fc681657450ce57be1fe08f7a15d31dcc705e514
11606 Author: Lasse Collin <lasse.collin@tukaani.org>
11607 Date: 2008-09-02 11:45:39 +0300
11609 Some fixes to LZ encoder.
11611 src/liblzma/lz/lz_encoder.c | 56 ++++++++++++++++++++-----
11612 src/liblzma/lz/lz_encoder.h | 18 ++++----
11613 src/liblzma/lz/lz_encoder_mf.c | 95 +++++++++++++++++-------------------------
11614 3 files changed, 94 insertions(+), 75 deletions(-)
11616 commit ede675f9ac1ca82a7d7c290324adba672118bc8d
11617 Author: Lasse Collin <lasse.collin@tukaani.org>
11618 Date: 2008-08-31 11:47:01 +0300
11620 Fix wrong pointer calculation in LZMA encoder.
11622 src/liblzma/lzma/lzma_encoder.c | 4 +++-
11623 1 file changed, 3 insertions(+), 1 deletion(-)
11625 commit 3b34851de1eaf358cf9268922fa0eeed8278d680
11626 Author: Lasse Collin <lasse.collin@tukaani.org>
11627 Date: 2008-08-28 22:53:15 +0300
11629 Sort of garbage collection commit. :-| Many things are still
11630 broken. API has changed a lot and it will still change a
11631 little more here and there. The command line tool doesn't
11632 have all the required changes to reflect the API changes, so
11633 it's easy to get "internal error" or trigger assertions.
11635 configure.ac | 356 +++---
11636 debug/Makefile.am | 5 +-
11637 debug/crc32.c | 45 +
11638 debug/full_flush.c | 14 +-
11639 debug/hex2bin.c | 54 +
11640 debug/known_sizes.c | 135 ++
11641 debug/memusage.c | 8 +-
11642 debug/sync_flush.c | 20 +-
11643 src/common/integer.h | 26 +-
11644 src/common/sysdefs.h | 42 +-
11645 src/liblzma/Makefile.am | 17 +-
11646 src/liblzma/api/Makefile.am | 6 +-
11647 src/liblzma/api/lzma.h | 161 ++-
11648 src/liblzma/api/lzma/alignment.h | 6 +-
11649 src/liblzma/api/lzma/alone.h | 52 -
11650 src/liblzma/api/lzma/auto.h | 36 -
11651 src/liblzma/api/lzma/base.h | 61 +-
11652 src/liblzma/api/lzma/block.h | 38 +-
11653 src/liblzma/api/lzma/check.h | 41 +-
11654 src/liblzma/api/lzma/container.h | 252 ++++
11655 src/liblzma/api/lzma/delta.h | 36 +-
11656 src/liblzma/api/lzma/easy.h | 121 --
11657 src/liblzma/api/lzma/filter.h | 74 +-
11658 src/liblzma/api/lzma/index.h | 40 +-
11659 src/liblzma/api/lzma/index_hash.h | 12 +-
11660 src/liblzma/api/lzma/lzma.h | 222 ++--
11661 src/liblzma/api/lzma/memlimit.h | 15 +-
11662 src/liblzma/api/lzma/raw.h | 60 -
11663 src/liblzma/api/lzma/simple.h | 2 +-
11664 src/liblzma/api/lzma/stream.h | 53 -
11665 src/liblzma/api/lzma/stream_flags.h | 17 +-
11666 src/liblzma/api/lzma/subblock.h | 4 +-
11667 src/liblzma/api/lzma/version.h | 10 +-
11668 src/liblzma/api/lzma/vli.h | 131 +-
11669 src/liblzma/check/check.c | 128 +-
11670 src/liblzma/check/check.h | 67 +-
11671 src/liblzma/check/sha256.c | 29 +-
11672 src/liblzma/common/Makefile.am | 51 +-
11673 src/liblzma/common/alignment.c | 4 +-
11674 src/liblzma/common/allocator.c | 58 -
11675 src/liblzma/common/alone_decoder.c | 49 +-
11676 src/liblzma/common/alone_decoder.h | 9 +-
11677 src/liblzma/common/alone_encoder.c | 13 +-
11678 src/liblzma/common/auto_decoder.c | 38 +-
11679 src/liblzma/common/block_decoder.c | 67 +-
11680 src/liblzma/common/block_decoder.h | 2 +-
11681 src/liblzma/common/block_encoder.c | 42 +-
11682 src/liblzma/common/block_encoder.h | 2 +-
11683 src/liblzma/common/block_header_decoder.c | 6 +-
11684 src/liblzma/common/block_header_encoder.c | 9 +-
11685 src/liblzma/common/block_util.c | 10 +-
11686 src/liblzma/common/code.c | 203 ---
11687 src/liblzma/common/common.c | 298 +++++
11688 src/liblzma/common/common.h | 237 ++--
11689 src/liblzma/common/delta_common.c | 66 -
11690 src/liblzma/common/delta_common.h | 44 -
11691 src/liblzma/common/delta_decoder.c | 61 -
11692 src/liblzma/common/delta_decoder.h | 28 -
11693 src/liblzma/common/delta_encoder.c | 98 --
11694 src/liblzma/common/delta_encoder.h | 28 -
11695 src/liblzma/common/easy.c | 18 +-
11696 src/liblzma/common/features.c | 66 -
11697 src/liblzma/common/filter_common.c | 262 ++++
11698 src/liblzma/common/filter_common.h | 52 +
11699 src/liblzma/common/filter_decoder.c | 236 ++++
11700 src/liblzma/common/filter_decoder.h | 35 +
11701 src/liblzma/common/filter_encoder.c | 308 +++++
11702 src/liblzma/common/filter_encoder.h | 38 +
11703 src/liblzma/common/filter_flags_decoder.c | 185 +--
11704 src/liblzma/common/filter_flags_encoder.c | 261 +---
11705 src/liblzma/common/index_decoder.c | 14 +-
11706 src/liblzma/common/index_encoder.c | 16 +-
11707 src/liblzma/common/index_hash.c | 8 +-
11708 src/liblzma/common/init_encoder.c | 2 +-
11709 src/liblzma/common/memory_usage.c | 112 --
11710 src/liblzma/common/next_coder.c | 65 -
11711 src/liblzma/common/raw_common.c | 127 --
11712 src/liblzma/common/raw_common.h | 30 -
11713 src/liblzma/common/raw_decoder.c | 116 --
11714 src/liblzma/common/raw_decoder.h | 29 -
11715 src/liblzma/common/raw_encoder.c | 111 --
11716 src/liblzma/common/raw_encoder.h | 29 -
11717 src/liblzma/common/stream_common.c | 23 -
11718 src/liblzma/common/stream_common.h | 31 -
11719 src/liblzma/common/stream_decoder.c | 238 +++-
11720 src/liblzma/common/stream_decoder.h | 4 +-
11721 src/liblzma/common/stream_encoder.c | 35 +-
11722 src/liblzma/common/stream_encoder.h | 2 +-
11723 src/liblzma/common/stream_flags_common.c | 40 +
11724 src/liblzma/common/stream_flags_common.h | 31 +
11725 src/liblzma/common/stream_flags_decoder.c | 2 +-
11726 src/liblzma/common/stream_flags_encoder.c | 2 +-
11727 src/liblzma/common/stream_flags_equal.c | 36 -
11728 src/liblzma/common/version.c | 25 -
11729 src/liblzma/common/vli_decoder.c | 29 +-
11730 src/liblzma/common/vli_encoder.c | 23 +-
11731 src/liblzma/common/vli_size.c | 37 +
11732 src/liblzma/delta/Makefile.am | 34 +
11733 src/liblzma/delta/delta_common.c | 66 +
11734 src/liblzma/delta/delta_common.h | 44 +
11735 src/liblzma/delta/delta_decoder.c | 82 ++
11736 src/liblzma/delta/delta_decoder.h | 32 +
11737 src/liblzma/delta/delta_encoder.c | 119 ++
11738 src/liblzma/delta/delta_encoder.h | 30 +
11739 src/liblzma/lz/Makefile.am | 35 +-
11740 src/liblzma/lz/bt2.c | 27 -
11741 src/liblzma/lz/bt2.h | 31 -
11742 src/liblzma/lz/bt3.c | 29 -
11743 src/liblzma/lz/bt3.h | 31 -
11744 src/liblzma/lz/bt4.c | 30 -
11745 src/liblzma/lz/bt4.h | 31 -
11746 src/liblzma/lz/hc3.c | 30 -
11747 src/liblzma/lz/hc3.h | 31 -
11748 src/liblzma/lz/hc4.c | 31 -
11749 src/liblzma/lz/hc4.h | 31 -
11750 src/liblzma/lz/lz_decoder.c | 547 +++-----
11751 src/liblzma/lz/lz_decoder.h | 308 ++---
11752 src/liblzma/lz/lz_encoder.c | 780 ++++++------
11753 src/liblzma/lz/lz_encoder.h | 334 +++--
11754 src/liblzma/lz/lz_encoder_hash.h | 104 ++
11755 src/liblzma/lz/lz_encoder_mf.c | 780 ++++++++++++
11756 src/liblzma/lz/lz_encoder_private.h | 40 -
11757 src/liblzma/lz/match_c.h | 412 ------
11758 src/liblzma/lz/match_h.h | 69 --
11759 src/liblzma/lzma/Makefile.am | 37 +-
11760 src/liblzma/lzma/fastpos.h | 8 +-
11761 src/liblzma/lzma/lzma2_decoder.c | 318 +++++
11762 src/liblzma/lzma/lzma2_decoder.h | 35 +
11763 src/liblzma/lzma/lzma2_encoder.c | 406 ++++++
11764 src/liblzma/lzma/lzma2_encoder.h | 34 +
11765 src/liblzma/lzma/lzma_common.h | 208 +++-
11766 src/liblzma/lzma/lzma_decoder.c | 1306 ++++++++++++--------
11767 src/liblzma/lzma/lzma_decoder.h | 21 +-
11768 src/liblzma/lzma/lzma_encoder.c | 576 +++++++--
11769 src/liblzma/lzma/lzma_encoder.h | 38 +-
11770 src/liblzma/lzma/lzma_encoder_features.c | 2 +-
11771 src/liblzma/lzma/lzma_encoder_getoptimum.c | 925 --------------
11772 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 ---
11773 src/liblzma/lzma/lzma_encoder_init.c | 228 ----
11774 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 193 +++
11775 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 875 +++++++++++++
11776 src/liblzma/lzma/lzma_encoder_presets.c | 52 +-
11777 src/liblzma/lzma/lzma_encoder_private.h | 174 +--
11778 src/liblzma/lzma/lzma_literal.c | 51 -
11779 src/liblzma/lzma/lzma_literal.h | 71 --
11780 src/liblzma/rangecoder/Makefile.am | 10 +-
11781 src/liblzma/rangecoder/price.h | 111 ++
11782 src/liblzma/rangecoder/price_table.c | 84 +-
11783 src/liblzma/rangecoder/price_table_gen.c | 55 -
11784 src/liblzma/rangecoder/price_table_init.c | 33 +-
11785 src/liblzma/rangecoder/price_tablegen.c | 56 +
11786 src/liblzma/rangecoder/range_common.h | 17 +-
11787 src/liblzma/rangecoder/range_decoder.h | 209 ++--
11788 src/liblzma/rangecoder/range_encoder.h | 92 +-
11789 src/liblzma/simple/Makefile.am | 12 +
11790 src/liblzma/simple/simple_coder.c | 8 +-
11791 src/liblzma/simple/simple_decoder.c | 47 +
11792 src/liblzma/simple/simple_decoder.h | 29 +
11793 src/liblzma/simple/simple_encoder.c | 45 +
11794 src/liblzma/simple/simple_encoder.h | 30 +
11795 src/liblzma/subblock/Makefile.am | 4 +-
11796 src/liblzma/subblock/subblock_decoder.c | 20 +-
11797 src/liblzma/subblock/subblock_decoder_helper.c | 2 +-
11798 src/liblzma/subblock/subblock_encoder.c | 28 +-
11799 src/lzma/args.c | 35 +-
11800 src/lzma/args.h | 4 +-
11801 src/lzma/options.c | 14 +-
11802 src/lzma/process.c | 88 +-
11803 src/lzmadec/lzmadec.c | 157 +--
11804 tests/Makefile.am | 1 +
11805 tests/files/README | 303 ++---
11806 tests/files/bad-0-backward_size.lzma | Bin 0 -> 32 bytes
11807 tests/files/bad-0-empty-truncated.lzma | Bin 0 -> 31 bytes
11808 tests/files/bad-0-nonempty_index.lzma | Bin 0 -> 32 bytes
11809 tests/files/bad-0cat-alone.lzma | Bin 0 -> 55 bytes
11810 tests/files/bad-0catpad-empty.lzma | Bin 0 -> 69 bytes
11811 tests/files/bad-0pad-empty.lzma | Bin 0 -> 37 bytes
11812 tests/files/bad-1-block_header-1.lzma | Bin 0 -> 64 bytes
11813 tests/files/bad-1-block_header-2.lzma | Bin 0 -> 64 bytes
11814 tests/files/bad-1-block_header-3.lzma | Bin 0 -> 68 bytes
11815 tests/files/bad-1-block_header-4.lzma | Bin 0 -> 72 bytes
11816 tests/files/bad-1-check-crc32.lzma | Bin 0 -> 68 bytes
11817 tests/files/bad-1-check-crc64.lzma | Bin 0 -> 72 bytes
11818 tests/files/bad-1-check-sha256.lzma | Bin 0 -> 96 bytes
11819 tests/files/bad-1-lzma2-1.lzma | Bin 0 -> 64 bytes
11820 tests/files/bad-1-lzma2-2.lzma | Bin 0 -> 424 bytes
11821 tests/files/bad-1-lzma2-3.lzma | Bin 0 -> 424 bytes
11822 tests/files/bad-1-lzma2-4.lzma | Bin 0 -> 408 bytes
11823 tests/files/bad-1-lzma2-5.lzma | Bin 0 -> 408 bytes
11824 tests/files/bad-1-lzma2-6.lzma | Bin 0 -> 68 bytes
11825 tests/files/bad-1-lzma2-7.lzma | Bin 0 -> 408 bytes
11826 tests/files/bad-1-stream_flags-1.lzma | Bin 0 -> 68 bytes
11827 tests/files/bad-1-stream_flags-2.lzma | Bin 0 -> 68 bytes
11828 tests/files/bad-1-stream_flags-3.lzma | Bin 0 -> 68 bytes
11829 tests/files/bad-1-vli-1.lzma | Bin 0 -> 72 bytes
11830 tests/files/bad-1-vli-2.lzma | Bin 0 -> 72 bytes
11831 tests/files/bad-2-compressed_data_padding.lzma | Bin 0 -> 92 bytes
11832 tests/files/bad-2-index-1.lzma | Bin 0 -> 92 bytes
11833 tests/files/bad-2-index-2.lzma | Bin 0 -> 92 bytes
11834 tests/files/bad-2-index-3.lzma | Bin 0 -> 92 bytes
11835 tests/files/bad-2-index-4.lzma | Bin 0 -> 92 bytes
11836 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 65 -> 0 bytes
11837 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 65 -> 0 bytes
11838 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 65 -> 0 bytes
11839 tests/files/bad-multi-none-1.lzma | Bin 54 -> 0 bytes
11840 tests/files/bad-multi-none-2.lzma | Bin 53 -> 0 bytes
11841 tests/files/bad-multi-none-3.lzma | Bin 53 -> 0 bytes
11842 tests/files/bad-multi-none-block_1.lzma | Bin 66 -> 0 bytes
11843 tests/files/bad-multi-none-block_2.lzma | Bin 66 -> 0 bytes
11844 tests/files/bad-multi-none-block_3.lzma | Bin 58 -> 0 bytes
11845 tests/files/bad-multi-none-extra_1.lzma | Bin 54 -> 0 bytes
11846 tests/files/bad-multi-none-extra_2.lzma | Bin 54 -> 0 bytes
11847 tests/files/bad-multi-none-extra_3.lzma | Bin 55 -> 0 bytes
11848 tests/files/bad-multi-none-header_1.lzma | Bin 57 -> 0 bytes
11849 tests/files/bad-multi-none-header_2.lzma | Bin 61 -> 0 bytes
11850 tests/files/bad-multi-none-header_3.lzma | Bin 59 -> 0 bytes
11851 tests/files/bad-multi-none-header_4.lzma | Bin 59 -> 0 bytes
11852 tests/files/bad-multi-none-header_5.lzma | Bin 58 -> 0 bytes
11853 tests/files/bad-multi-none-header_6.lzma | Bin 59 -> 0 bytes
11854 tests/files/bad-multi-none-header_7.lzma | Bin 59 -> 0 bytes
11855 tests/files/bad-multi-none-index_1.lzma | Bin 51 -> 0 bytes
11856 tests/files/bad-multi-none-index_2.lzma | Bin 49 -> 0 bytes
11857 tests/files/bad-multi-none-index_3.lzma | Bin 51 -> 0 bytes
11858 tests/files/bad-multi-none-index_4.lzma | Bin 51 -> 0 bytes
11859 tests/files/bad-single-data_after_eopm_1.lzma | Bin 55 -> 0 bytes
11860 tests/files/bad-single-data_after_eopm_2.lzma | Bin 56 -> 0 bytes
11861 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 53 -> 0 bytes
11862 tests/files/bad-single-lzma-flush_twice.lzma | Bin 63 -> 0 bytes
11863 tests/files/bad-single-none-empty.lzma | Bin 19 -> 0 bytes
11864 .../files/bad-single-none-footer_filter_flags.lzma | Bin 30 -> 0 bytes
11865 tests/files/bad-single-none-too_long_vli.lzma | Bin 39 -> 0 bytes
11866 tests/files/bad-single-none-truncated.lzma | Bin 29 -> 0 bytes
11867 tests/files/bad-single-subblock-padding_loop.lzma | Bin 43 -> 0 bytes
11868 tests/files/bad-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes
11869 tests/files/bad-single-subblock_subblock.lzma | Bin 26 -> 0 bytes
11870 tests/files/good-0-empty.lzma | Bin 0 -> 32 bytes
11871 tests/files/good-0cat-empty.lzma | Bin 0 -> 64 bytes
11872 tests/files/good-0catpad-empty.lzma | Bin 0 -> 68 bytes
11873 tests/files/good-0pad-empty.lzma | Bin 0 -> 36 bytes
11874 tests/files/good-1-3delta-lzma2.lzma | Bin 0 -> 528 bytes
11875 tests/files/good-1-block_header-1.lzma | Bin 0 -> 72 bytes
11876 tests/files/good-1-block_header-2.lzma | Bin 0 -> 68 bytes
11877 tests/files/good-1-block_header-3.lzma | Bin 0 -> 68 bytes
11878 tests/files/good-1-check-crc32.lzma | Bin 0 -> 68 bytes
11879 tests/files/good-1-check-crc64.lzma | Bin 0 -> 72 bytes
11880 tests/files/good-1-check-none.lzma | Bin 0 -> 64 bytes
11881 tests/files/good-1-check-sha256.lzma | Bin 0 -> 96 bytes
11882 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 0 -> 51312 bytes
11883 tests/files/good-1-lzma2-1.lzma | Bin 0 -> 424 bytes
11884 tests/files/good-1-lzma2-2.lzma | Bin 0 -> 424 bytes
11885 tests/files/good-1-lzma2-3.lzma | Bin 0 -> 408 bytes
11886 tests/files/good-1-sparc-lzma2.lzma | Bin 0 -> 2292 bytes
11887 tests/files/good-1-x86-lzma2.lzma | Bin 0 -> 1936 bytes
11888 tests/files/good-2-lzma2.lzma | Bin 0 -> 92 bytes
11889 tests/files/good-cat-single-none-pad.lzma | Bin 64 -> 0 bytes
11890 tests/files/good-multi-none-1.lzma | Bin 75 -> 0 bytes
11891 tests/files/good-multi-none-2.lzma | Bin 53 -> 0 bytes
11892 tests/files/good-multi-none-block_1.lzma | Bin 66 -> 0 bytes
11893 tests/files/good-multi-none-block_2.lzma | Bin 58 -> 0 bytes
11894 tests/files/good-multi-none-extra_1.lzma | Bin 51 -> 0 bytes
11895 tests/files/good-multi-none-extra_2.lzma | Bin 79 -> 0 bytes
11896 tests/files/good-multi-none-extra_3.lzma | Bin 55 -> 0 bytes
11897 tests/files/good-multi-none-header_1.lzma | Bin 58 -> 0 bytes
11898 tests/files/good-multi-none-header_2.lzma | Bin 66 -> 0 bytes
11899 tests/files/good-multi-none-header_3.lzma | Bin 59 -> 0 bytes
11900 tests/files/good-single-delta-lzma.tiff.lzma | Bin 51409 -> 0 bytes
11901 tests/files/good-single-lzma-empty.lzma | Bin 21 -> 0 bytes
11902 tests/files/good-single-lzma-flush_1.lzma | Bin 48 -> 0 bytes
11903 tests/files/good-single-lzma-flush_2.lzma | Bin 63 -> 0 bytes
11904 tests/files/good-single-lzma.lzma | Bin 44 -> 0 bytes
11905 tests/files/good-single-none-empty_1.lzma | Bin 18 -> 0 bytes
11906 tests/files/good-single-none-empty_2.lzma | Bin 26 -> 0 bytes
11907 tests/files/good-single-none-empty_3.lzma | Bin 19 -> 0 bytes
11908 tests/files/good-single-none-pad.lzma | Bin 32 -> 0 bytes
11909 tests/files/good-single-none.lzma | Bin 30 -> 0 bytes
11910 tests/files/good-single-sparc-lzma.lzma | Bin 2263 -> 0 bytes
11911 tests/files/good-single-subblock-lzma.lzma | Bin 50 -> 0 bytes
11912 tests/files/good-single-subblock_implicit.lzma | Bin 35 -> 0 bytes
11913 tests/files/good-single-subblock_rle.lzma | Bin 118 -> 0 bytes
11914 tests/files/good-single-x86-lzma.lzma | Bin 1909 -> 0 bytes
11915 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 51 -> 0 bytes
11916 tests/files/malicious-single-subblock-256MiB.lzma | Bin 30 -> 0 bytes
11917 tests/files/malicious-single-subblock-64PiB.lzma | Bin 45 -> 0 bytes
11918 tests/files/malicious-single-subblock31-slow.lzma | Bin 1233 -> 0 bytes
11919 tests/files/unsupported-block_header.lzma | Bin 0 -> 68 bytes
11920 tests/files/unsupported-check.lzma | Bin 0 -> 68 bytes
11921 tests/files/unsupported-filter_flags-1.lzma | Bin 0 -> 68 bytes
11922 tests/files/unsupported-filter_flags-2.lzma | Bin 0 -> 68 bytes
11923 tests/files/unsupported-filter_flags-3.lzma | Bin 0 -> 68 bytes
11924 tests/test_block_header.c | 28 +-
11925 tests/test_compress.sh | 4 +-
11926 tests/test_filter_flags.c | 51 +-
11927 tests/test_stream_flags.c | 4 +-
11928 tests/tests.h | 8 +
11929 294 files changed, 9768 insertions(+), 8195 deletions(-)
11931 commit 57b9a145a527f0716822615e5ed536d33aebd3fc
11932 Author: Lasse Collin <lasse.collin@tukaani.org>
11933 Date: 2008-06-20 17:16:32 +0300
11935 Fix test_filter_flags to match the new restriction of lc+lp.
11937 tests/test_filter_flags.c | 3 +++
11938 1 file changed, 3 insertions(+)
11940 commit eaafc4367c77ec1d910e16d11b4da293969d97a3
11941 Author: Lasse Collin <lasse.collin@tukaani.org>
11942 Date: 2008-06-20 16:19:54 +0300
11944 Remove some redundant code from LZMA encoder.
11946 src/liblzma/lzma/lzma_encoder.c | 15 +--------------
11947 1 file changed, 1 insertion(+), 14 deletions(-)
11949 commit 0809c46534fa5664fe35d9e98d95e87312ed130e
11950 Author: Lasse Collin <lasse.collin@tukaani.org>
11951 Date: 2008-06-19 16:35:08 +0300
11953 Add limit of lc + lp <= 4. Now we can allocate the
11954 literal coder as part of the main LZMA encoder or
11957 Make the LZMA decoder to rely on the current internal API
11958 to free the allocated memory in case an error occurs.
11960 src/liblzma/api/lzma/lzma.h | 10 +++++-
11961 src/liblzma/lzma/lzma_decoder.c | 57 ++++++++-------------------------
11962 src/liblzma/lzma/lzma_encoder_init.c | 13 ++++----
11963 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
11964 src/liblzma/lzma/lzma_literal.c | 39 +++++-----------------
11965 src/liblzma/lzma/lzma_literal.h | 13 +++-----
11966 6 files changed, 43 insertions(+), 91 deletions(-)
11968 commit d25ab1b96178f06a0e724f58e3cd68300b2b1275
11969 Author: Lasse Collin <lasse.collin@tukaani.org>
11970 Date: 2008-06-18 21:45:19 +0300
11974 src/liblzma/lzma/lzma_encoder.c | 7 ++-----
11975 1 file changed, 2 insertions(+), 5 deletions(-)
11977 commit 6368a2fa5901c75864be5171dd57a50af7adbb41
11978 Author: Lasse Collin <lasse.collin@tukaani.org>
11979 Date: 2008-06-18 19:19:02 +0300
11981 Delete old code that was supposed to be already deleted
11982 from test_block_header.c.
11984 tests/test_block_header.c | 30 ------------------------------
11985 1 file changed, 30 deletions(-)
11987 commit 7d17818cec8597f847b0a2537fde991bbc3d9e96
11988 Author: Lasse Collin <lasse.collin@tukaani.org>
11989 Date: 2008-06-18 18:02:10 +0300
11991 Update the code to mostly match the new simpler file format
11992 specification. Simplify things by removing most of the
11993 support for known uncompressed size in most places.
11994 There are some miscellaneous changes here and there too.
11996 The API of liblzma has got many changes and still some
11997 more will be done soon. While most of the code has been
11998 updated, some things are not fixed (the command line tool
11999 will choke with invalid filter chain, if nothing else).
12001 Subblock filter is somewhat broken for now. It will be
12002 updated once the encoded format of the Subblock filter
12005 configure.ac | 41 +-
12006 debug/full_flush.c | 16 +-
12007 debug/sync_flush.c | 15 +-
12008 src/common/bswap.h | 44 ++
12009 src/common/integer.h | 167 +++++
12010 src/liblzma/api/Makefile.am | 5 +-
12011 src/liblzma/api/lzma.h | 9 +-
12012 src/liblzma/api/lzma/alone.h | 32 +-
12013 src/liblzma/api/lzma/auto.h | 7 +-
12014 src/liblzma/api/lzma/base.h | 15 +
12015 src/liblzma/api/lzma/block.h | 306 +++-------
12016 src/liblzma/api/lzma/check.h | 18 +-
12017 src/liblzma/api/lzma/copy.h | 29 -
12018 src/liblzma/api/lzma/easy.h | 61 +-
12019 src/liblzma/api/lzma/extra.h | 114 ----
12020 src/liblzma/api/lzma/filter.h | 5 +-
12021 src/liblzma/api/lzma/index.h | 204 ++++++-
12022 src/liblzma/api/lzma/index_hash.h | 94 +++
12023 src/liblzma/api/lzma/info.h | 315 ----------
12024 src/liblzma/api/lzma/lzma.h | 2 +-
12025 src/liblzma/api/lzma/metadata.h | 100 ---
12026 src/liblzma/api/lzma/raw.h | 20 +-
12027 src/liblzma/api/lzma/stream.h | 157 +----
12028 src/liblzma/api/lzma/stream_flags.h | 146 +++--
12029 src/liblzma/api/lzma/version.h | 2 +-
12030 src/liblzma/api/lzma/vli.h | 83 ++-
12031 src/liblzma/check/Makefile.am | 1 -
12032 src/liblzma/check/check.c | 55 +-
12033 src/liblzma/check/check.h | 47 +-
12034 src/liblzma/check/check_byteswap.h | 43 --
12035 src/liblzma/check/crc32_init.c | 2 +-
12036 src/liblzma/check/crc64_init.c | 2 +-
12037 src/liblzma/check/crc_macros.h | 2 +-
12038 src/liblzma/check/sha256.c | 53 +-
12039 src/liblzma/common/Makefile.am | 31 +-
12040 src/liblzma/common/alignment.c | 5 +-
12041 src/liblzma/common/alone_decoder.c | 77 +--
12042 src/liblzma/common/alone_encoder.c | 99 ++-
12043 src/liblzma/common/auto_decoder.c | 18 +-
12044 src/liblzma/common/block_decoder.c | 298 +++------
12045 src/liblzma/common/block_encoder.c | 228 ++-----
12046 src/liblzma/common/block_header_decoder.c | 400 +++---------
12047 src/liblzma/common/block_header_encoder.c | 207 +++----
12048 src/liblzma/common/block_private.h | 51 +-
12049 src/liblzma/common/block_util.c | 73 +++
12050 src/liblzma/common/common.h | 44 +-
12051 src/liblzma/common/copy_coder.c | 144 -----
12052 src/liblzma/common/copy_coder.h | 31 -
12053 src/liblzma/common/delta_common.c | 4 -
12054 src/liblzma/common/delta_common.h | 4 -
12055 src/liblzma/common/delta_decoder.c | 55 +-
12056 src/liblzma/common/delta_encoder.c | 7 +-
12057 src/liblzma/common/easy.c | 122 ++++
12058 src/liblzma/common/easy_common.c | 54 --
12059 src/liblzma/common/easy_common.h | 28 -
12060 src/liblzma/common/easy_multi.c | 103 ----
12061 src/liblzma/common/easy_single.c | 37 --
12062 src/liblzma/common/extra.c | 34 --
12063 src/liblzma/common/features.c | 4 -
12064 src/liblzma/common/filter_flags_decoder.c | 384 ++++--------
12065 src/liblzma/common/filter_flags_encoder.c | 120 +---
12066 src/liblzma/common/index.c | 773 ++++++++++++++++++++---
12067 src/liblzma/common/index.h | 67 ++
12068 src/liblzma/common/index_decoder.c | 252 ++++++++
12069 src/liblzma/common/index_encoder.c | 222 +++++++
12070 src/liblzma/common/index_encoder.h | 30 +
12071 src/liblzma/common/index_hash.c | 340 +++++++++++
12072 src/liblzma/common/info.c | 814 -------------------------
12073 src/liblzma/common/memory_usage.c | 1 -
12074 src/liblzma/common/metadata_decoder.c | 578 ------------------
12075 src/liblzma/common/metadata_decoder.h | 31 -
12076 src/liblzma/common/metadata_encoder.c | 435 -------------
12077 src/liblzma/common/metadata_encoder.h | 30 -
12078 src/liblzma/common/raw_common.c | 178 ++----
12079 src/liblzma/common/raw_common.h | 5 +-
12080 src/liblzma/common/raw_decoder.c | 19 +-
12081 src/liblzma/common/raw_decoder.h | 3 +-
12082 src/liblzma/common/raw_encoder.c | 101 +--
12083 src/liblzma/common/raw_encoder.h | 3 +-
12084 src/liblzma/common/stream_common.h | 3 +
12085 src/liblzma/common/stream_decoder.c | 458 +++++---------
12086 src/liblzma/common/stream_decoder.h | 28 +
12087 src/liblzma/common/stream_encoder.c | 282 +++++++++
12088 src/liblzma/common/stream_encoder.h | 30 +
12089 src/liblzma/common/stream_encoder_multi.c | 445 --------------
12090 src/liblzma/common/stream_encoder_multi.h | 26 -
12091 src/liblzma/common/stream_encoder_single.c | 219 -------
12092 src/liblzma/common/stream_flags_decoder.c | 260 ++------
12093 src/liblzma/common/stream_flags_encoder.c | 56 +-
12094 src/liblzma/common/stream_flags_equal.c | 36 ++
12095 src/liblzma/common/vli_decoder.c | 68 ++-
12096 src/liblzma/common/vli_encoder.c | 59 +-
12097 src/liblzma/common/vli_reverse_decoder.c | 55 --
12098 src/liblzma/lz/lz_decoder.c | 6 +-
12099 src/liblzma/lz/lz_decoder.h | 10 +-
12100 src/liblzma/lzma/lzma_decoder.c | 13 +-
12101 src/liblzma/lzma/lzma_decoder.h | 10 +-
12102 src/liblzma/simple/simple_coder.c | 29 +-
12103 src/liblzma/simple/simple_private.h | 4 -
12104 src/liblzma/subblock/subblock_decoder.c | 106 +---
12105 src/liblzma/subblock/subblock_decoder_helper.c | 5 +-
12106 src/liblzma/subblock/subblock_encoder.c | 8 +-
12107 src/lzma/args.c | 22 +-
12108 src/lzma/args.h | 2 -
12109 src/lzma/error.c | 6 +
12110 src/lzma/process.c | 26 +-
12111 src/lzmadec/lzmadec.c | 8 +-
12112 tests/Makefile.am | 5 +-
12113 tests/test_block_header.c | 411 +++++--------
12114 tests/test_compress.sh | 65 +-
12115 tests/test_filter_flags.c | 116 ++--
12116 tests/test_index.c | 504 ++++++++++++++-
12117 tests/test_info.c | 717 ----------------------
12118 tests/test_stream_flags.c | 134 ++--
12119 tests/tests.h | 14 +-
12120 115 files changed, 4846 insertions(+), 8156 deletions(-)
12122 commit bf6348d1a3ff09fdc06940468f318f75ffa6af11
12123 Author: Lasse Collin <lasse.collin@tukaani.org>
12124 Date: 2008-06-17 15:03:46 +0300
12126 Update the file format specification draft. The new one is
12127 a lot simpler than the previous versions, but it also means
12128 that the existing code will change a lot.
12130 doc/file-format.txt | 1794 +++++++++++++++------------------------------------
12131 1 file changed, 508 insertions(+), 1286 deletions(-)
12133 commit 803194ddd26f01ff60ba4e9924c6087a56b29827
12134 Author: Lasse Collin <lasse.collin@tukaani.org>
12135 Date: 2008-06-11 21:42:47 +0300
12137 Fix uninitialized variable in LZMA encoder. This was
12138 introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f.
12140 src/liblzma/lzma/lzma_encoder_init.c | 2 ++
12141 1 file changed, 2 insertions(+)
12143 commit 0ea98e52ba87453497b1355c51f13bad55c8924a
12144 Author: Lasse Collin <lasse.collin@tukaani.org>
12145 Date: 2008-06-11 15:08:44 +0300
12147 Improve command line integer parsing a little in lzma and
12148 lzmadec to make them accept also KiB in addition Ki etc.
12149 Fix also memory usage information in lzmadec --help.
12151 src/lzma/util.c | 23 ++++++++++++++---------
12152 src/lzmadec/lzmadec.c | 31 ++++++++++++++++++-------------
12153 2 files changed, 32 insertions(+), 22 deletions(-)
12155 commit 436fa5fae96d4e35759aed33066060f09ee8c6ef
12156 Author: Lasse Collin <lasse.collin@tukaani.org>
12157 Date: 2008-06-10 20:36:12 +0300
12159 s/decompressed/compressed/ in the command line tool's
12162 src/lzma/main.c | 2 +-
12163 1 file changed, 1 insertion(+), 1 deletion(-)
12165 commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f
12166 Author: Lasse Collin <lasse.collin@tukaani.org>
12167 Date: 2008-06-01 12:48:17 +0300
12169 Fix a buffer overflow in the LZMA encoder. It was due to my
12170 misunderstanding of the code. There's no tiny fix for this
12171 problem, so I also cleaned up the code in general.
12173 This reduces the speed of the encoder 2-5 % in the fastest
12174 compression mode ("lzma -1"). High compression modes should
12175 have no noticeable performance difference.
12177 This commit breaks things (especially LZMA_SYNC_FLUSH) but I
12178 will fix them once the new format and LZMA2 has been roughly
12179 implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all
12180 and won't be supported in the new .lzma format. This may
12181 change still but this is what it looks like now.
12183 Support for known uncompressed size (that is, LZMA or LZMA2
12184 without EOPM) is likely to go away. This means there will
12187 src/liblzma/lz/lz_encoder.c | 113 +----
12188 src/liblzma/lz/lz_encoder.h | 18 +-
12189 src/liblzma/lzma/lzma_encoder.c | 551 ++++++++++++-------------
12190 src/liblzma/lzma/lzma_encoder_getoptimum.c | 59 ++-
12191 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 4 +-
12192 src/liblzma/lzma/lzma_encoder_init.c | 9 +-
12193 src/liblzma/lzma/lzma_encoder_private.h | 15 +-
12194 src/liblzma/rangecoder/range_encoder.h | 383 +++++++++--------
12195 8 files changed, 532 insertions(+), 620 deletions(-)
12197 commit e55e0e873ce2511325749d415ae547d62ab5f00d
12198 Author: Lasse Collin <lasse.collin@tukaani.org>
12199 Date: 2008-05-30 11:53:41 +0300
12201 Typo fixes from meyering.
12203 doc/faq.txt | 4 ++--
12204 doc/liblzma-advanced.txt | 2 +-
12205 2 files changed, 3 insertions(+), 3 deletions(-)
12207 commit ed6664146fcbe9cc4a3b23b31632182ed812ea93
12208 Author: Lasse Collin <lasse.collin@tukaani.org>
12209 Date: 2008-05-11 14:24:42 +0300
12211 Remove support for pre-C89 libc versions that lack memcpy,
12212 memmove, and memset.
12214 configure.ac | 2 +-
12215 src/common/sysdefs.h | 15 ++-------------
12216 src/liblzma/common/allocator.c | 2 +-
12217 3 files changed, 4 insertions(+), 15 deletions(-)
12219 commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63
12220 Author: Lasse Collin <lasse.collin@tukaani.org>
12221 Date: 2008-05-11 14:17:21 +0300
12223 Improved C99 compiler detection in configure.ac. It will
12224 pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic
12225 should still give warnings about GNU extensions like before
12226 except with some special keywords like asm().
12228 configure.ac | 24 ++++++++++++------------
12229 1 file changed, 12 insertions(+), 12 deletions(-)
12231 commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf
12232 Author: Lasse Collin <lasse.collin@tukaani.org>
12233 Date: 2008-05-06 15:15:07 +0300
12235 Bunch of grammar fixes from meyering.
12237 doc/liblzma-security.txt | 8 ++++----
12238 src/liblzma/api/lzma/memlimit.h | 6 +++---
12239 src/lzma/help.c | 2 +-
12240 tests/files/README | 2 +-
12241 4 files changed, 9 insertions(+), 9 deletions(-)
12243 commit dc192b6343ae36276c85fcf7ef6006147816eadc
12244 Author: Lasse Collin <lasse.collin@tukaani.org>
12245 Date: 2008-05-06 13:41:05 +0300
12249 src/liblzma/api/lzma/init.h | 2 +-
12250 1 file changed, 1 insertion(+), 1 deletion(-)
12252 commit 944b62b93239b27b338d117f2668c0e95849659b
12253 Author: Lasse Collin <lasse.collin@tukaani.org>
12254 Date: 2008-05-04 22:29:27 +0300
12256 Don't print an error message on broken pipe unless --verbose
12259 src/lzma/io.c | 15 ++++++++++++++-
12260 1 file changed, 14 insertions(+), 1 deletion(-)
12262 commit 8e074349e47ea6832b8fdf9244e581d453733433
12263 Author: Lasse Collin <lasse.collin@tukaani.org>
12264 Date: 2008-04-30 22:16:17 +0300
12266 Fix a crash with --format=alone if other filters than LZMA
12267 are specified on the command line.
12269 src/lzma/args.c | 9 +++++++++
12270 1 file changed, 9 insertions(+)
12272 commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73
12273 Author: Lasse Collin <lasse.collin@tukaani.org>
12274 Date: 2008-04-28 17:08:27 +0300
12279 1 file changed, 1 insertion(+)
12281 commit 3be21fb12f4cec2cf07799e8960382f4cb375369
12282 Author: Lasse Collin <lasse.collin@tukaani.org>
12283 Date: 2008-04-28 17:06:34 +0300
12285 Fixed wrong spelling "limitter" to "limiter". This affects
12288 doc/liblzma-security.txt | 14 +-
12289 src/liblzma/api/lzma/base.h | 4 +-
12290 src/liblzma/api/lzma/memlimit.h | 10 +-
12291 src/liblzma/api/lzma/stream.h | 4 +-
12292 src/liblzma/common/Makefile.am | 2 +-
12293 src/liblzma/common/memory_limiter.c | 288 +++++++++++++++++++++++++++++++++++
12294 src/liblzma/common/memory_limitter.c | 288 -----------------------------------
12295 src/lzma/list.c | 6 +-
12296 src/lzmadec/lzmadec.c | 12 +-
12297 tests/test_memlimit.c | 4 +-
12298 10 files changed, 316 insertions(+), 316 deletions(-)
12300 commit beeb81060821dfec4e7898e0d44b7900dcb2215e
12301 Author: Lasse Collin <lasse.collin@tukaani.org>
12302 Date: 2008-04-25 15:39:50 +0300
12304 Prevent LZ encoder from hanging with known uncompressed
12305 size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream
12306 with known uncompressed size, but since it currently seems
12307 likely that support for encoding with known uncompressed
12308 size will go away anyway, I'm not fixing this problem now.
12310 src/liblzma/lz/lz_encoder.c | 9 +++++++--
12311 1 file changed, 7 insertions(+), 2 deletions(-)
12313 commit c324325f9f13cdeb92153c5d00962341ba070ca2
12314 Author: Lasse Collin <lasse.collin@tukaani.org>
12315 Date: 2008-04-25 13:58:56 +0300
12317 Removed src/liblzma/common/sysdefs.h symlink, which was
12318 annoying, because "make dist" put two copies of sysdefs.h
12319 into the tarball instead of the symlink.
12321 src/liblzma/check/crc32_table.c | 2 +-
12322 src/liblzma/check/crc64_table.c | 2 +-
12323 src/liblzma/common/Makefile.am | 1 -
12324 src/liblzma/common/common.h | 2 +-
12325 src/liblzma/common/sysdefs.h | 1 -
12326 5 files changed, 3 insertions(+), 5 deletions(-)
12328 commit d3ba30243c75c13d094de1793f9c58acdbacc692
12329 Author: Lasse Collin <lasse.collin@tukaani.org>
12330 Date: 2008-04-25 13:41:29 +0300
12332 Added memusage.c to debug directory.
12334 debug/Makefile.am | 3 ++-
12335 debug/memusage.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
12336 2 files changed, 57 insertions(+), 1 deletion(-)
12338 commit 8f804c29aa8471ccd6438ddca254092b8869ca52
12339 Author: Lasse Collin <lasse.collin@tukaani.org>
12340 Date: 2008-04-25 13:32:35 +0300
12342 Bumped version number to 4.999.3alpha. It will become 5.0.0
12343 once we have a stable release (won't be very soon). The
12344 version number is no longer related to version of LZMA SDK.
12346 Made some small Automake-related changes to toplevel
12347 Makefile.am and configure.ac.
12349 Makefile.am | 7 +++++--
12350 README | 29 +++++++++++++++++++++++++++++
12351 configure.ac | 4 ++--
12352 src/liblzma/api/lzma/version.h | 22 ++++++++++------------
12353 4 files changed, 46 insertions(+), 16 deletions(-)
12355 commit c99037ea10f121cbacf60c37a36c29768ae53447
12356 Author: Lasse Collin <lasse.collin@tukaani.org>
12357 Date: 2008-04-24 20:25:39 +0300
12359 Fix a memory leak by calling free(extra->data) in
12362 src/liblzma/common/extra.c | 1 +
12363 1 file changed, 1 insertion(+)
12365 commit 22ba3b0b5043fa481903482ce85015fe775939e5
12366 Author: Lasse Collin <lasse.collin@tukaani.org>
12367 Date: 2008-04-24 20:23:05 +0300
12369 Make unlzma and lzcat symlinks.
12371 src/lzma/Makefile.am | 12 ++++++++++++
12372 1 file changed, 12 insertions(+)
12374 commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e
12375 Author: Lasse Collin <lasse.collin@tukaani.org>
12376 Date: 2008-04-24 20:20:27 +0300
12378 Fixed a bug in command line option parsing.
12380 src/lzma/options.c | 2 +-
12381 1 file changed, 1 insertion(+), 1 deletion(-)
12383 commit 283f939974c32c47f05d495e8dea455ec646ed64
12384 Author: Lasse Collin <lasse.collin@tukaani.org>
12385 Date: 2008-04-24 20:19:20 +0300
12387 Added two assert()s.
12389 src/liblzma/lzma/lzma_encoder.c | 4 +++-
12390 1 file changed, 3 insertions(+), 1 deletion(-)
12392 commit eb348a60b6e19a7c093f892434f23c4756973ffd
12393 Author: Lasse Collin <lasse.collin@tukaani.org>
12394 Date: 2008-04-24 19:22:53 +0300
12396 Switch to uint16_t as the type of range coder probabilities.
12398 src/liblzma/rangecoder/range_common.h | 25 +++++++++++++++++++------
12399 1 file changed, 19 insertions(+), 6 deletions(-)
12401 commit 6c5306e312bcfd254cf654f88c04e34ba786df3d
12402 Author: Lasse Collin <lasse.collin@tukaani.org>
12403 Date: 2008-04-24 18:39:57 +0300
12405 Fix wrong return type (uint32_t -> bool).
12407 src/liblzma/lz/lz_encoder.c | 2 +-
12408 src/liblzma/lz/lz_encoder.h | 2 +-
12409 2 files changed, 2 insertions(+), 2 deletions(-)
12411 commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8
12412 Author: Lasse Collin <lasse.collin@tukaani.org>
12413 Date: 2008-04-24 18:38:00 +0300
12415 Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH.
12417 src/liblzma/lz/lz_encoder.c | 16 ++++++++++++++++
12418 src/liblzma/lz/lz_encoder.h | 4 ++++
12419 src/liblzma/lz/match_c.h | 23 ++++++++++++++++++-----
12420 3 files changed, 38 insertions(+), 5 deletions(-)
12422 commit bc04486e368d20b3027cde625267762aae063965
12423 Author: Lasse Collin <lasse.collin@tukaani.org>
12424 Date: 2008-04-24 17:33:01 +0300
12426 Fix fastpos problem in Makefile.am when built with --enable-small.
12428 src/liblzma/lzma/Makefile.am | 5 ++++-
12429 1 file changed, 4 insertions(+), 1 deletion(-)
12431 commit 7ab493924e0ed590a5121a15ee54038d238880d3
12432 Author: Lasse Collin <lasse.collin@tukaani.org>
12433 Date: 2008-04-24 17:30:51 +0300
12435 Use 64-bit integer as range encoder's cache size. This fixes a
12436 theoretical data corruption, which should be very hard to trigger
12437 even intentionally.
12439 src/liblzma/rangecoder/range_encoder.h | 2 +-
12440 1 file changed, 1 insertion(+), 1 deletion(-)
12442 commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b
12443 Author: Lasse Collin <lasse.collin@tukaani.org>
12444 Date: 2008-03-24 16:38:40 +0200
12446 Replaced the range decoder optimization that used arithmetic
12447 right shift with as fast version that doesn't need
12448 arithmetic right shift. Removed the related check from
12452 m4/ax_c_arithmetic_rshift.m4 | 36 -----------------------
12453 src/liblzma/rangecoder/range_decoder.h | 53 ++++++++++------------------------
12454 3 files changed, 16 insertions(+), 74 deletions(-)
12456 commit ad999efd279d95f1e7ac555b14170e8e9020488c
12457 Author: Lasse Collin <lasse.collin@tukaani.org>
12458 Date: 2008-03-22 14:39:34 +0200
12460 Take advantage of arithmetic right shift in range decoder.
12462 src/liblzma/rangecoder/range_decoder.h | 52 ++++++++++++++++++++++++----------
12463 1 file changed, 37 insertions(+), 15 deletions(-)
12465 commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d
12466 Author: Lasse Collin <lasse.collin@tukaani.org>
12467 Date: 2008-03-22 14:18:29 +0200
12469 Added autoconf check to detect if we can use arithmetic
12470 right shift for optimizations.
12473 m4/ax_c_arithmetic_rshift.m4 | 36 ++++++++++++++++++++++++++++++++++++
12474 2 files changed, 37 insertions(+)
12476 commit 7521bbdc83acab834594a22bec50c8e1bd836298
12477 Author: Lasse Collin <lasse.collin@tukaani.org>
12478 Date: 2008-03-22 01:26:36 +0200
12480 Update a comment to use the variable name rep_len_decoder.
12482 (And BTW, the previous commit actually did change the
12483 program logic slightly.)
12485 src/liblzma/lzma/lzma_decoder.c | 2 +-
12486 1 file changed, 1 insertion(+), 1 deletion(-)
12488 commit 63b74d000eedaebb8485f623e56864ff5ab71064
12489 Author: Lasse Collin <lasse.collin@tukaani.org>
12490 Date: 2008-03-22 00:57:33 +0200
12492 Demystified the "state" variable in LZMA code. Use the
12493 word literal instead of char for better consistency.
12494 There are still some names with _char instead of _literal
12495 in lzma_optimum, these may be changed later.
12497 Renamed length coder variables.
12499 This commit doesn't change the program logic.
12501 src/liblzma/lzma/lzma_common.h | 69 ++++++++++++++++++++++--------
12502 src/liblzma/lzma/lzma_decoder.c | 47 ++++++++++----------
12503 src/liblzma/lzma/lzma_encoder.c | 14 +++---
12504 src/liblzma/lzma/lzma_encoder_getoptimum.c | 34 +++++++--------
12505 src/liblzma/lzma/lzma_encoder_init.c | 5 ++-
12506 src/liblzma/lzma/lzma_encoder_private.h | 8 ++--
12507 6 files changed, 107 insertions(+), 70 deletions(-)
12509 commit e6eb0a26757e851cef62b9440319a8e73b015cb9
12510 Author: Lasse Collin <lasse.collin@tukaani.org>
12511 Date: 2008-03-14 23:16:11 +0200
12513 Fix data corruption in LZMA encoder. Note that this bug was
12514 specific to liblzma and was *not* present in LZMA SDK.
12516 src/liblzma/lzma/lzma_encoder.c | 4 ++++
12517 1 file changed, 4 insertions(+)
12519 commit 7d516f5129e4373a6d57249d7f608c634c66bf12
12520 Author: Lasse Collin <lasse.collin@tukaani.org>
12521 Date: 2008-03-14 21:32:37 +0200
12523 Fix a comment API header.
12525 src/liblzma/api/lzma/lzma.h | 2 +-
12526 1 file changed, 1 insertion(+), 1 deletion(-)
12528 commit 748d6e4274921a350bd0a317380309717441ef9c
12529 Author: Lasse Collin <lasse.collin@tukaani.org>
12530 Date: 2008-03-12 23:14:50 +0200
12532 Make lzma_stream.next_in const. Let's see if anyone complains.
12534 src/liblzma/api/lzma/base.h | 2 +-
12535 1 file changed, 1 insertion(+), 1 deletion(-)
12537 commit bfde3b24a5ae25ce53c854762b6148952386b025
12538 Author: Lasse Collin <lasse.collin@tukaani.org>
12539 Date: 2008-03-11 15:35:34 +0200
12541 Apply a minor speed optimization to LZMA decoder.
12543 src/liblzma/lzma/lzma_decoder.c | 85 +++++++++++++++++++++--------------------
12544 1 file changed, 43 insertions(+), 42 deletions(-)
12546 commit f310c50286d9e4e9c6170bb65348c9bb430a65b4
12547 Author: Lasse Collin <lasse.collin@tukaani.org>
12548 Date: 2008-03-11 15:17:16 +0200
12550 Initialize the last byte of the dictionary to zero so that
12551 lz_get_byte(lz, 0) returns zero. This was broken by
12552 1a3b21859818e4d8e89a1da99699233c1bfd197d.
12554 src/liblzma/lz/lz_decoder.c | 1 +
12555 1 file changed, 1 insertion(+)
12557 commit 5ead36cf7f823093672a4e43c3180b38c9abbaff
12558 Author: Lasse Collin <lasse.collin@tukaani.org>
12559 Date: 2008-03-10 15:57:55 +0200
12561 Really fix the price count initialization.
12563 src/liblzma/lzma/lzma_encoder_init.c | 4 ++--
12564 1 file changed, 2 insertions(+), 2 deletions(-)
12566 commit d4d7feb83d1a1ded8f662a82e21e053841ca726c
12567 Author: Lasse Collin <lasse.collin@tukaani.org>
12568 Date: 2008-03-10 13:47:17 +0200
12573 1 file changed, 1 insertion(+)
12575 commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258
12576 Author: Lasse Collin <lasse.collin@tukaani.org>
12577 Date: 2008-03-10 13:46:48 +0200
12579 Initialize align_price_count and match_price_count in
12580 lzma_encoder_init.c. While we don't call
12581 fill_distances_prices() and fill_align_prices() in
12582 lzma_lzma_encoder_init(), we still need to initialize
12583 these two variables so that the fill functions get
12584 called in lzma_encoder_getoptimum.c in the beginning
12587 src/liblzma/lzma/lzma_encoder_init.c | 2 ++
12588 1 file changed, 2 insertions(+)
12590 commit 596fa1fac72823e4ef5bc26bb53f9090445bf748
12591 Author: Lasse Collin <lasse.collin@tukaani.org>
12592 Date: 2008-03-10 13:44:29 +0200
12594 Always initialize lz->temp_size in lz_decoder.c. temp_size did
12595 get initialized as a side-effect after allocating a new decoder,
12596 but not when the decoder was reused.
12598 src/liblzma/lz/lz_decoder.c | 11 ++++++-----
12599 1 file changed, 6 insertions(+), 5 deletions(-)
12601 commit 45e43e169527e7a98a8c8a821d37bf25822b764d
12602 Author: Lasse Collin <lasse.collin@tukaani.org>
12603 Date: 2008-03-10 13:41:25 +0200
12605 Don't fill allocated memory with 0xFD when debugging is
12606 enabled. It hides errors from Valgrind.
12608 src/liblzma/common/allocator.c | 7 ++++---
12609 1 file changed, 4 insertions(+), 3 deletions(-)
12611 commit c0e19e0662205f81a86da8903cdc325d50635870
12612 Author: Lasse Collin <lasse.collin@tukaani.org>
12613 Date: 2008-02-28 10:24:31 +0200
12615 Remove two redundant validity checks from the LZMA decoder.
12616 These are already checked elsewhere, so omitting these
12617 gives (very) tiny speed up.
12619 src/liblzma/lzma/lzma_decoder.c | 23 ++++-------------------
12620 1 file changed, 4 insertions(+), 19 deletions(-)
12622 commit de7485806284d1614095ae8cb2ebbb5d74c9ac45
12623 Author: Lasse Collin <lasse.collin@tukaani.org>
12624 Date: 2008-02-06 13:25:32 +0200
12626 Tiny clean up to file-format.txt.
12628 doc/file-format.txt | 6 +++---
12629 1 file changed, 3 insertions(+), 3 deletions(-)
12631 commit 1a3b21859818e4d8e89a1da99699233c1bfd197d
12632 Author: Lasse Collin <lasse.collin@tukaani.org>
12633 Date: 2008-02-02 14:51:06 +0200
12635 Don't memzero() the history buffer when initializing LZ
12636 decoder. There's no danger of information leak here, so
12637 it isn't required. Doing memzero() takes a lot of time
12638 with large dictionaries, which could make it easier to
12639 construct DoS attack to consume too much CPU time.
12641 src/liblzma/lz/lz_decoder.c | 7 +++----
12642 1 file changed, 3 insertions(+), 4 deletions(-)
12644 commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0
12645 Author: Lasse Collin <lasse.collin@tukaani.org>
12646 Date: 2008-02-01 08:39:26 +0200
12648 Do uncompressed size validation in raw encoder. This way
12649 it gets done for not only raw encoder, but also Block
12650 and LZMA_Alone encoders.
12652 src/liblzma/common/raw_encoder.c | 90 ++++++++++++++++++++++++++++++++--------
12653 1 file changed, 73 insertions(+), 17 deletions(-)
12655 commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc
12656 Author: Lasse Collin <lasse.collin@tukaani.org>
12657 Date: 2008-02-01 08:32:05 +0200
12659 Avoid unneeded function call in raw_common.c.
12661 src/liblzma/common/raw_common.c | 20 +++++++++++---------
12662 1 file changed, 11 insertions(+), 9 deletions(-)
12664 commit b596fac963c3ff96f615d4d9b427a213ec341211
12665 Author: Lasse Collin <lasse.collin@tukaani.org>
12666 Date: 2008-01-26 21:42:38 +0200
12671 1 file changed, 1 insertion(+)
12673 commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2
12674 Author: Lasse Collin <lasse.collin@tukaani.org>
12675 Date: 2008-01-26 21:40:23 +0200
12677 Added note.GNU-stack to x86 assembler files. It is needed
12678 when using non-executable stack.
12680 src/liblzma/check/crc32_x86.S | 9 +++++++++
12681 src/liblzma/check/crc64_x86.S | 9 +++++++++
12682 2 files changed, 18 insertions(+)
12684 commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae
12685 Author: Lasse Collin <lasse.collin@tukaani.org>
12686 Date: 2008-01-26 19:12:50 +0200
12688 Added api/lzma/easy.h. I had forgot to add this to the
12689 git repo. Thanks to Stephan Kulow.
12691 src/liblzma/api/lzma/easy.h | 174 ++++++++++++++++++++++++++++++++++++++++++++
12692 1 file changed, 174 insertions(+)
12694 commit 288b232f54c3692cd36f471d4042f51daf3ea79f
12695 Author: Lasse Collin <lasse.collin@tukaani.org>
12696 Date: 2008-01-26 11:09:17 +0200
12698 Added more test files.
12700 tests/files/README | 11 +++++++++++
12701 tests/files/bad-multi-none-header_7.lzma | Bin 0 -> 59 bytes
12702 tests/files/good-single-sparc-lzma.lzma | Bin 0 -> 2263 bytes
12703 tests/files/good-single-x86-lzma.lzma | Bin 0 -> 1909 bytes
12704 4 files changed, 11 insertions(+)
12706 commit c467b0defccf233d0c79234407bc38d7d09574d3
12707 Author: Lasse Collin <lasse.collin@tukaani.org>
12708 Date: 2008-01-26 10:47:55 +0200
12710 Added more test files.
12712 tests/files/README | 6 ++++++
12713 tests/files/bad-multi-none-block_3.lzma | Bin 0 -> 58 bytes
12714 tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes
12715 3 files changed, 6 insertions(+)
12717 commit f9842f712732c482f2def9f24437851e57dd83f8
12718 Author: Lasse Collin <lasse.collin@tukaani.org>
12719 Date: 2008-01-26 00:25:34 +0200
12721 Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any
12722 of the so called simple filters. If there is demand, limited
12723 support for LZMA_SYNC_FLUSH may be added in future.
12725 After this commit, using LZMA_SYNC_FLUSH shouldn't cause
12726 undefined behavior in any situation.
12728 src/liblzma/api/lzma/simple.h | 9 +++++++++
12729 src/liblzma/simple/simple_coder.c | 8 ++++++++
12730 2 files changed, 17 insertions(+)
12732 commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa
12733 Author: Lasse Collin <lasse.collin@tukaani.org>
12734 Date: 2008-01-25 23:50:35 +0200
12736 Added more Multi-Block test files. Improved some
12737 descriptions in the test files' README.
12739 tests/files/README | 34 +++++++++++++++++++++++++------
12740 tests/files/bad-multi-none-block_1.lzma | Bin 0 -> 66 bytes
12741 tests/files/bad-multi-none-block_2.lzma | Bin 0 -> 66 bytes
12742 tests/files/good-multi-none-block_1.lzma | Bin 0 -> 66 bytes
12743 4 files changed, 28 insertions(+), 6 deletions(-)
12745 commit 4441e004185cd4c61bda184010eca5924c9dec87
12746 Author: Lasse Collin <lasse.collin@tukaani.org>
12747 Date: 2008-01-25 23:12:36 +0200
12749 Combine lzma_options_block validation needed by both Block
12750 encoder and decoder, and put the shared things to
12751 block_private.h. Improved the checks a little so that
12752 they may detect too big Compressed Size at initialization
12753 time if lzma_options_block.total_size or .total_limit is
12756 Allow encoding and decoding Blocks with combinations of
12757 fields that are not allowed by the file format specification.
12758 Doing this requires that the application passes such a
12759 combination in lzma_options_lzma; liblzma doesn't do that,
12760 but it's not impossible that someone could find them useful
12761 in some custom file format.
12763 src/liblzma/common/block_decoder.c | 37 ++++++++++++----------------
12764 src/liblzma/common/block_encoder.c | 32 +++++-------------------
12765 src/liblzma/common/block_private.h | 50 ++++++++++++++++++++++++++++++++++++++
12766 3 files changed, 71 insertions(+), 48 deletions(-)
12768 commit bf4200c818fcf9102e56328d39cde91bfa13cfb6
12769 Author: Lasse Collin <lasse.collin@tukaani.org>
12770 Date: 2008-01-25 19:21:22 +0200
12772 Added test_memlimit.c.
12774 tests/Makefile.am | 2 +
12775 tests/test_memlimit.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++
12776 2 files changed, 116 insertions(+)
12778 commit 7b8fc7e6b501a32a36636dac79ecb57099269005
12779 Author: Lasse Collin <lasse.collin@tukaani.org>
12780 Date: 2008-01-25 19:20:28 +0200
12782 Improved the memory limitter:
12783 - Added lzma_memlimit_max() and lzma_memlimit_reached()
12785 - Added simple estimation of malloc()'s memory usage
12787 - Fixed integer overflow detection in lzma_memlimit_alloc().
12788 - Made some white space cleanups and added more comments.
12790 The description of lzma_memlimit_max() in memlimit.h is bad
12791 and should be improved.
12793 src/liblzma/api/lzma/memlimit.h | 35 +++++++++++++
12794 src/liblzma/common/memory_limitter.c | 97 ++++++++++++++++++++++++++++++------
12795 2 files changed, 118 insertions(+), 14 deletions(-)
12797 commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db
12798 Author: Lasse Collin <lasse.collin@tukaani.org>
12799 Date: 2008-01-25 13:55:52 +0200
12801 Use more parenthesis in succeed() macro in tests/tests.h.
12803 tests/tests.h | 2 +-
12804 1 file changed, 1 insertion(+), 1 deletion(-)
12806 commit 1fd76d488179580d37f31ee11948f4932aed31fd
12807 Author: Lasse Collin <lasse.collin@tukaani.org>
12808 Date: 2008-01-24 14:49:34 +0200
12810 Added more Multi-Block Stream test files.
12812 tests/files/README | 23 +++++++++++++++++++++++
12813 tests/files/bad-multi-none-header_2.lzma | Bin 0 -> 61 bytes
12814 tests/files/bad-multi-none-header_3.lzma | Bin 0 -> 59 bytes
12815 tests/files/bad-multi-none-header_4.lzma | Bin 0 -> 59 bytes
12816 tests/files/bad-multi-none-header_5.lzma | Bin 0 -> 58 bytes
12817 tests/files/bad-multi-none-header_6.lzma | Bin 0 -> 59 bytes
12818 tests/files/good-multi-none-header_3.lzma | Bin 0 -> 59 bytes
12819 7 files changed, 23 insertions(+)
12821 commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936
12822 Author: Lasse Collin <lasse.collin@tukaani.org>
12823 Date: 2008-01-24 00:46:05 +0200
12825 Added bunch of test files containing Multi-Block Streams.
12827 tests/files/README | 53 ++++++++++++++++++++++++++++++
12828 tests/files/bad-multi-none-1.lzma | Bin 0 -> 54 bytes
12829 tests/files/bad-multi-none-2.lzma | Bin 0 -> 53 bytes
12830 tests/files/bad-multi-none-3.lzma | Bin 0 -> 53 bytes
12831 tests/files/bad-multi-none-extra_1.lzma | Bin 0 -> 54 bytes
12832 tests/files/bad-multi-none-extra_2.lzma | Bin 0 -> 54 bytes
12833 tests/files/bad-multi-none-extra_3.lzma | Bin 0 -> 55 bytes
12834 tests/files/bad-multi-none-header_1.lzma | Bin 0 -> 57 bytes
12835 tests/files/bad-multi-none-index_1.lzma | Bin 0 -> 51 bytes
12836 tests/files/bad-multi-none-index_2.lzma | Bin 0 -> 49 bytes
12837 tests/files/bad-multi-none-index_3.lzma | Bin 0 -> 51 bytes
12838 tests/files/bad-multi-none-index_4.lzma | Bin 0 -> 51 bytes
12839 tests/files/good-multi-none-1.lzma | Bin 0 -> 75 bytes
12840 tests/files/good-multi-none-2.lzma | Bin 0 -> 53 bytes
12841 tests/files/good-multi-none-extra_1.lzma | Bin 0 -> 51 bytes
12842 tests/files/good-multi-none-extra_2.lzma | Bin 0 -> 79 bytes
12843 tests/files/good-multi-none-extra_3.lzma | Bin 0 -> 55 bytes
12844 tests/files/good-multi-none-header_1.lzma | Bin 0 -> 58 bytes
12845 tests/files/good-multi-none-header_2.lzma | Bin 0 -> 66 bytes
12846 19 files changed, 53 insertions(+)
12848 commit db9df0a9609c01a00a227329fb96e983971040f5
12849 Author: Lasse Collin <lasse.collin@tukaani.org>
12850 Date: 2008-01-23 23:43:00 +0200
12852 Fix decoding of empty Metadata Blocks, that don't have
12853 even the Metadata Flags field. Earlier the code allowed
12854 such files; now they are prohibited as the file format
12855 specification requires.
12857 src/liblzma/common/metadata_decoder.c | 4 +++-
12858 1 file changed, 3 insertions(+), 1 deletion(-)
12860 commit 765f0b05f6e95ed9194fb90819cee189ebbac36b
12861 Author: Lasse Collin <lasse.collin@tukaani.org>
12862 Date: 2008-01-23 23:38:18 +0200
12864 Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6.
12865 lzma_metadata.header_metadata_size was not properly set to
12866 zero if the Metadata had only the Metadata Flags field.
12868 src/liblzma/common/metadata_decoder.c | 13 +++++++------
12869 1 file changed, 7 insertions(+), 6 deletions(-)
12871 commit 3a7cc5c3dec7b078941f961b0393b86c418883b6
12872 Author: Lasse Collin <lasse.collin@tukaani.org>
12873 Date: 2008-01-23 23:35:49 +0200
12875 Fix decoding of Extra Records that have empty Data.
12877 src/liblzma/common/metadata_decoder.c | 13 ++++++++++++-
12878 1 file changed, 12 insertions(+), 1 deletion(-)
12880 commit e5fdec93e273855c1bcc2579b83cfb481a9a1492
12881 Author: Lasse Collin <lasse.collin@tukaani.org>
12882 Date: 2008-01-23 22:02:38 +0200
12884 Add the trailing '\0' to lzma_extra.data as the API header
12887 src/liblzma/common/metadata_decoder.c | 4 +++-
12888 1 file changed, 3 insertions(+), 1 deletion(-)
12890 commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e
12891 Author: Lasse Collin <lasse.collin@tukaani.org>
12892 Date: 2008-01-23 21:21:21 +0200
12894 Added debug/full_flush.c.
12896 debug/Makefile.am | 3 +-
12897 debug/full_flush.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++
12898 2 files changed, 107 insertions(+), 1 deletion(-)
12900 commit ae0cd09a666a1682da8fc09487322227679e218d
12901 Author: Lasse Collin <lasse.collin@tukaani.org>
12902 Date: 2008-01-23 21:05:33 +0200
12904 Return LZMA_STREAM_END instead of LZMA_OK if
12905 LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when
12906 there's no unfinished Block open.
12908 src/liblzma/common/stream_encoder_multi.c | 6 +++++-
12909 1 file changed, 5 insertions(+), 1 deletion(-)
12911 commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db
12912 Author: Lasse Collin <lasse.collin@tukaani.org>
12913 Date: 2008-01-23 20:05:01 +0200
12915 Added bad-single-none-footer_filter_flags.lzma and
12916 bad-single-none-too_long_vli.lzma.
12918 tests/files/README | 5 +++++
12919 tests/files/bad-single-none-footer_filter_flags.lzma | Bin 0 -> 30 bytes
12920 tests/files/bad-single-none-too_long_vli.lzma | Bin 0 -> 39 bytes
12921 3 files changed, 5 insertions(+)
12923 commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd
12924 Author: Lasse Collin <lasse.collin@tukaani.org>
12925 Date: 2008-01-23 13:42:35 +0200
12929 src/liblzma/subblock/subblock_decoder_helper.c | 2 +-
12930 1 file changed, 1 insertion(+), 1 deletion(-)
12932 commit 980f65a9a10160c4d105767871e3002b9aaba3e0
12933 Author: Lasse Collin <lasse.collin@tukaani.org>
12934 Date: 2008-01-23 13:40:45 +0200
12936 Fix a memory leak in the Subblock encoder.
12938 src/liblzma/subblock/subblock_encoder.c | 1 +
12939 1 file changed, 1 insertion(+)
12941 commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6
12942 Author: Lasse Collin <lasse.collin@tukaani.org>
12943 Date: 2008-01-23 13:36:07 +0200
12945 Fix Size of Header Metadata Block handling. Now
12946 lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN
12947 is not allowed at all. To indicate missing Header Metadata
12948 Block, header_metadata_size must be set to zero. This is
12949 what Metadata decoder does after this patch too.
12951 Note that other missing fields in lzma_metadata are still
12952 indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as
12953 illogical as it sounds at first, because missing Size of
12954 Header Metadata Block means that Header Metadata Block is
12955 not present in the Stream. With other Metadata fields,
12956 a missing field means only that the value is unknown.
12958 src/liblzma/common/info.c | 13 ++++---------
12959 src/liblzma/common/metadata_decoder.c | 6 ++++++
12960 src/liblzma/common/metadata_encoder.c | 11 +++++------
12961 tests/test_info.c | 4 ++--
12962 4 files changed, 17 insertions(+), 17 deletions(-)
12964 commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81
12965 Author: Lasse Collin <lasse.collin@tukaani.org>
12966 Date: 2008-01-23 13:15:55 +0200
12968 Fix a memory leak in metadata_decoder.c.
12970 src/liblzma/common/metadata_decoder.c | 1 +
12971 1 file changed, 1 insertion(+)
12973 commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae
12974 Author: Lasse Collin <lasse.collin@tukaani.org>
12975 Date: 2008-01-23 13:13:58 +0200
12977 Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which
12978 just moved to problem. Now it's really fixed.
12980 src/liblzma/common/info.c | 5 ++++-
12981 1 file changed, 4 insertions(+), 1 deletion(-)
12983 commit 67321de963ccf69410b3868b8e31534fe18a90de
12984 Author: Lasse Collin <lasse.collin@tukaani.org>
12985 Date: 2008-01-23 00:21:04 +0200
12987 Take advantage of return_if_error() macro in
12988 lzma_info_metadata_set() in info.c.
12990 src/liblzma/common/info.c | 24 ++++++++----------------
12991 1 file changed, 8 insertions(+), 16 deletions(-)
12993 commit 863028cb7ad6d8d0455fa69348f56b376d7b908f
12994 Author: Lasse Collin <lasse.collin@tukaani.org>
12995 Date: 2008-01-23 00:18:32 +0200
12997 Fixed a dangling pointer that caused invalid free().
12999 src/liblzma/common/info.c | 1 +
13000 1 file changed, 1 insertion(+)
13002 commit cf49f42a6bd40143f54a6b10d6e605599e958c0b
13003 Author: Lasse Collin <lasse.collin@tukaani.org>
13004 Date: 2008-01-22 22:49:24 +0200
13006 Added lzma_easy_* functions. These should make using
13007 liblzma as easy as using zlib, because the easy API
13008 don't require developers to know any fancy LZMA options.
13010 Note that Multi-Block Stream encoding is currently broken.
13011 The easy API should be OK, the bug(s) are elsewhere.
13013 src/liblzma/api/Makefile.am | 1 +
13014 src/liblzma/api/lzma.h | 1 +
13015 src/liblzma/common/Makefile.am | 5 ++
13016 src/liblzma/common/easy_common.c | 54 ++++++++++++++++
13017 src/liblzma/common/easy_common.h | 28 ++++++++
13018 src/liblzma/common/easy_multi.c | 103 ++++++++++++++++++++++++++++++
13019 src/liblzma/common/easy_single.c | 37 +++++++++++
13020 src/liblzma/common/stream_encoder_multi.c | 3 +-
13021 src/liblzma/common/stream_encoder_multi.h | 26 ++++++++
13022 9 files changed, 256 insertions(+), 2 deletions(-)
13024 commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a
13025 Author: Lasse Collin <lasse.collin@tukaani.org>
13026 Date: 2008-01-22 21:16:22 +0200
13028 Fix Multi-Block Stream encoder's EOPM usage.
13030 src/liblzma/common/stream_encoder_multi.c | 2 +-
13031 1 file changed, 1 insertion(+), 1 deletion(-)
13033 commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6
13034 Author: Lasse Collin <lasse.collin@tukaani.org>
13035 Date: 2008-01-22 00:15:11 +0200
13037 Made lzma_extra pointers const in lzma_options_stream.
13039 src/liblzma/api/lzma/stream.h | 4 ++--
13040 src/liblzma/common/stream_encoder_multi.c | 8 ++++++--
13041 2 files changed, 8 insertions(+), 4 deletions(-)
13043 commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4
13044 Author: Lasse Collin <lasse.collin@tukaani.org>
13045 Date: 2008-01-20 20:15:21 +0200
13047 Updated debug/sync_flush.c.
13049 debug/sync_flush.c | 26 ++++++++++++++++++++++++--
13050 1 file changed, 24 insertions(+), 2 deletions(-)
13052 commit d53e9b77054cfade6a643e77d085273a348b189c
13053 Author: Lasse Collin <lasse.collin@tukaani.org>
13054 Date: 2008-01-20 20:14:26 +0200
13056 Added debug/repeat.c.
13058 debug/Makefile.am | 1 +
13059 debug/repeat.c | 43 +++++++++++++++++++++++++++++++++++++++++++
13060 2 files changed, 44 insertions(+)
13062 commit 107259e306bcfc2336a0fb870fb58034c28faa52
13063 Author: Lasse Collin <lasse.collin@tukaani.org>
13064 Date: 2008-01-20 20:12:58 +0200
13066 Fix alignment handling bugs in Subblock encoder.
13068 This leaves one known alignment bug unfixed: If repeat count
13069 doesn't fit into 28-bit integer, the encoder has to split
13070 this to multiple Subblocks with Subblock Type `Repeating Data'.
13071 The extra Subblocks may have wrong alignment. Correct alignment
13072 is restored after the split Repeating Data has been completely
13075 Since the encoder doesn't even try to fix the alignment unless
13076 the size of Data is at least 4 bytes, to trigger this bug you
13077 need at least 4 GiB of repeating data with sequence length of
13078 4 or more bytes. Since the worst thing done by this bug is
13079 misaligned data (no data corruption), this bug simply isn't
13080 worth fixing, because a proper fix isn't simple.
13082 src/liblzma/subblock/subblock_encoder.c | 170 ++++++++++++++++++++++----------
13083 1 file changed, 119 insertions(+), 51 deletions(-)
13085 commit e141fe18950400faaa3503ff88ac20eacd73e88c
13086 Author: Lasse Collin <lasse.collin@tukaani.org>
13087 Date: 2008-01-19 21:16:33 +0200
13089 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder.
13090 The API for handing Subfilters was changed to make it
13091 consistent with LZMA_SYNC_FLUSH.
13093 A few sanity checks were added for Subfilter handling. Some
13094 small bugs were fixed. More comments were added.
13096 src/liblzma/api/lzma/subblock.h | 29 ++--
13097 src/liblzma/subblock/subblock_encoder.c | 263 ++++++++++++++++++++++++--------
13098 2 files changed, 214 insertions(+), 78 deletions(-)
13100 commit 23c227a864a3b69f38c6a74306161d4e6918d1cc
13101 Author: Lasse Collin <lasse.collin@tukaani.org>
13102 Date: 2008-01-19 15:19:21 +0200
13104 Revised the Delta filter implementation. The initialization
13105 function is still shared between encoder and decoder, but the
13106 actual coding is in separate files for encoder and decoder.
13108 There are now separate functions for the actual delta
13109 calculation depending on if Delta is the last filter in the
13110 chain or not. If it is the last, the new code copies the
13111 data from input to output buffer and does the delta
13112 calculation at the same time. The old code first copied the
13113 data, then did the delta in the target buffer, which required
13114 reading through the data twice.
13116 Support for LZMA_SYNC_FLUSH was added to the Delta encoder.
13117 This doesn't change anything in the file format.
13119 src/liblzma/common/Makefile.am | 14 ++-
13120 src/liblzma/common/delta_coder.c | 189 -------------------------------------
13121 src/liblzma/common/delta_coder.h | 31 ------
13122 src/liblzma/common/delta_common.c | 70 ++++++++++++++
13123 src/liblzma/common/delta_common.h | 48 ++++++++++
13124 src/liblzma/common/delta_decoder.c | 102 ++++++++++++++++++++
13125 src/liblzma/common/delta_decoder.h | 28 ++++++
13126 src/liblzma/common/delta_encoder.c | 97 +++++++++++++++++++
13127 src/liblzma/common/delta_encoder.h | 28 ++++++
13128 src/liblzma/common/raw_decoder.c | 2 +-
13129 src/liblzma/common/raw_encoder.c | 2 +-
13130 11 files changed, 387 insertions(+), 224 deletions(-)
13132 commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73
13133 Author: Lasse Collin <lasse.collin@tukaani.org>
13134 Date: 2008-01-18 20:18:08 +0200
13136 Added the debug directory and the first debug tool
13137 (sync_flush). These tools are not built unless the
13138 user runs "make" in the debug directory.
13142 debug/Makefile.am | 30 ++++++++++++++
13143 debug/README | 17 ++++++++
13144 debug/sync_flush.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++
13145 5 files changed, 165 insertions(+)
13147 commit 0ae3208db94585eb8294b97ded387de0a3a07646
13148 Author: Lasse Collin <lasse.collin@tukaani.org>
13149 Date: 2008-01-18 20:13:00 +0200
13151 Added test files to test usage of flush marker in LZMA.
13153 tests/files/README | 12 ++++++++++++
13154 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 0 -> 53 bytes
13155 tests/files/bad-single-lzma-flush_twice.lzma | Bin 0 -> 63 bytes
13156 tests/files/good-single-lzma-flush_1.lzma | Bin 0 -> 48 bytes
13157 tests/files/good-single-lzma-flush_2.lzma | Bin 0 -> 63 bytes
13158 5 files changed, 12 insertions(+)
13160 commit ab5feaf1fcc146ef9fd39360c53c290bec39524e
13161 Author: Lasse Collin <lasse.collin@tukaani.org>
13162 Date: 2008-01-18 20:02:52 +0200
13164 Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders.
13165 That code is now almost completely in LZ coder, where
13166 it can be shared with other LZ77-based algorithms in
13169 src/liblzma/lz/lz_encoder.c | 34 ++++++++++++++++++++++++++--------
13170 src/liblzma/lz/lz_encoder.h | 1 +
13171 src/liblzma/lzma/lzma_encoder.c | 27 ++-------------------------
13172 3 files changed, 29 insertions(+), 33 deletions(-)
13174 commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585
13175 Author: Lasse Collin <lasse.collin@tukaani.org>
13176 Date: 2008-01-18 17:21:24 +0200
13178 Don't add -g to CFLAGS when --enable-debug is specified.
13179 It's the job of the user to put that in CFLAGS.
13182 1 file changed, 1 deletion(-)
13184 commit 61d1784d8f1761d979a6da6e223e279ca33815e6
13185 Author: Lasse Collin <lasse.collin@tukaani.org>
13186 Date: 2008-01-18 14:17:37 +0200
13188 Set stdin and stdout to binary mode on Windows. This patch is
13189 a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068
13190 from lzma-utils-legacy.git. I don't know if the new code base
13191 builds on Windows, but this is a start.
13193 src/lzmadec/lzmadec.c | 9 +++++++++
13194 1 file changed, 9 insertions(+)
13196 commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c
13197 Author: Lasse Collin <lasse.collin@tukaani.org>
13198 Date: 2008-01-18 00:50:29 +0200
13200 Added test_compress.sh and bunch of files needed by it.
13201 This new set of tests compress and decompress several
13202 test files with many different compression options.
13203 This set of tests will be extended later.
13205 tests/Makefile.am | 30 ++++---
13206 tests/bcj_test.c | 66 ++++++++++++++
13207 tests/compress_prepared_bcj_sparc | Bin 0 -> 6804 bytes
13208 tests/compress_prepared_bcj_x86 | Bin 0 -> 4649 bytes
13209 tests/create_compress_files.c | 164 ++++++++++++++++++++++++++++++++++
13210 tests/test_compress.sh | 183 ++++++++++++++++++++++++++++++++++++++
13211 6 files changed, 433 insertions(+), 10 deletions(-)
13213 commit 33be3c0e24d8f43376ccf71cc77d53671e792f07
13214 Author: Lasse Collin <lasse.collin@tukaani.org>
13215 Date: 2008-01-17 18:56:53 +0200
13217 Subblock decoder: Don't exit the main loop in decode_buffer()
13218 too early if we hit End of Input while decoding a Subblock of
13219 type Repeating Data. To keep the loop termination condition
13220 elegant, the order of enumerations in coder->sequence were
13223 To keep the case-labels in roughly the same order as the
13224 enumerations in coder->sequence, large chunks of code was
13225 moved around. This made the diff big and ugly compared to
13226 the amount of the actual changes made.
13228 src/liblzma/subblock/subblock_decoder.c | 272 ++++++++++++++++----------------
13229 1 file changed, 139 insertions(+), 133 deletions(-)
13231 commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd
13232 Author: Lasse Collin <lasse.collin@tukaani.org>
13233 Date: 2008-01-17 17:39:42 +0200
13235 Fix wrong too small size of argument unfiltered_max
13236 in ia64_coder_init(). It triggered assert() in
13237 simple_coder.c, and could have caused a buffer overflow.
13239 This error was probably a copypaste mistake, since most
13240 of the simple filters use unfiltered_max = 4.
13242 src/liblzma/simple/ia64.c | 2 +-
13243 1 file changed, 1 insertion(+), 1 deletion(-)
13245 commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a
13246 Author: Lasse Collin <lasse.collin@tukaani.org>
13247 Date: 2008-01-17 17:27:45 +0200
13249 Added --delta to the output of "lzma --help".
13251 src/lzma/help.c | 4 ++++
13252 1 file changed, 4 insertions(+)
13254 commit f88590e0014b38d40465937c19f25f05f16c79ae
13255 Author: Lasse Collin <lasse.collin@tukaani.org>
13256 Date: 2008-01-17 13:14:20 +0200
13258 Fix Subblock docoder: If Subblock filter was used with known
13259 Uncompressed Size, and the last output byte was from RLE,
13260 the code didn't stop decoding as it should have done.
13262 src/liblzma/subblock/subblock_decoder.c | 6 ++++++
13263 1 file changed, 6 insertions(+)
13265 commit bc0b945ca376e333077644d2f7fd54c2848aab8a
13266 Author: Lasse Collin <lasse.collin@tukaani.org>
13267 Date: 2008-01-16 16:33:37 +0200
13269 Tiny non-technical edits to file-format.txt.
13271 doc/file-format.txt | 6 +++---
13272 1 file changed, 3 insertions(+), 3 deletions(-)
13274 commit 7599bb7064ccf007f054595dedda7927af868252
13275 Author: Lasse Collin <lasse.collin@tukaani.org>
13276 Date: 2008-01-16 14:48:04 +0200
13278 Plugged a memory leak in stream_decoder.c.
13280 src/liblzma/common/stream_decoder.c | 20 ++++++++++++++++++++
13281 1 file changed, 20 insertions(+)
13283 commit 0b581539311f3712946e81e747839f8fb5f441a7
13284 Author: Lasse Collin <lasse.collin@tukaani.org>
13285 Date: 2008-01-16 14:47:27 +0200
13287 Added memory leak detection to lzmadec.c.
13289 src/lzmadec/lzmadec.c | 3 +++
13290 1 file changed, 3 insertions(+)
13292 commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4
13293 Author: Lasse Collin <lasse.collin@tukaani.org>
13294 Date: 2008-01-16 14:46:50 +0200
13296 Added lzma_memlimit_count().
13298 src/liblzma/api/lzma/memlimit.h | 10 ++++++++++
13299 src/liblzma/common/memory_limitter.c | 19 +++++++++++++++++++
13300 2 files changed, 29 insertions(+)
13302 commit 19389f2b82ec54fd4c847a18f16482e7be4c9887
13303 Author: Lasse Collin <lasse.collin@tukaani.org>
13304 Date: 2008-01-16 14:31:44 +0200
13306 Added ARRAY_SIZE(array) macro.
13308 src/common/sysdefs.h | 4 ++++
13309 1 file changed, 4 insertions(+)
13311 commit 9bc33a54cbf83952130adbcb1be32c6882485416
13312 Author: Lasse Collin <lasse.collin@tukaani.org>
13313 Date: 2008-01-16 13:27:03 +0200
13315 Make Uncompresed Size validation more strict
13316 in alone_decoder.c.
13318 src/liblzma/common/alone_decoder.c | 3 ++-
13319 1 file changed, 2 insertions(+), 1 deletion(-)
13321 commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883
13322 Author: Lasse Collin <lasse.collin@tukaani.org>
13323 Date: 2008-01-15 17:46:59 +0200
13325 Free the allocated memory in lzmadec if debugging is
13326 enabled. This should make it possible to detect possible
13327 memory leaks with Valgrind.
13329 src/lzmadec/lzmadec.c | 7 +++++++
13330 1 file changed, 7 insertions(+)
13332 commit 8235e6e5b2878f76633afcda9a334640db503ef5
13333 Author: Lasse Collin <lasse.collin@tukaani.org>
13334 Date: 2008-01-15 16:25:38 +0200
13336 Fix memory leaks from test_block_header.c.
13338 tests/test_block_header.c | 19 +++++++++++++++++--
13339 1 file changed, 17 insertions(+), 2 deletions(-)
13341 commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6
13342 Author: Lasse Collin <lasse.collin@tukaani.org>
13343 Date: 2008-01-15 14:23:35 +0200
13345 Use fastpos.h when encoding LZMA dictionary size in
13346 Filter Flags encoder.
13348 src/liblzma/common/filter_flags_encoder.c | 40 +++++++++++++++----------------
13349 1 file changed, 19 insertions(+), 21 deletions(-)
13351 commit e5728142a2048979f5c0c2149ce71ae952a092e1
13352 Author: Lasse Collin <lasse.collin@tukaani.org>
13353 Date: 2008-01-15 14:02:22 +0200
13355 Revised the fastpos code. It now uses the slightly faster
13356 table-based version from LZMA SDK 4.57. This should be
13357 fast on most systems.
13359 A simpler and smaller alternative version is also provided.
13360 On some CPUs this can be even a little faster than the
13361 default table-based version (see comments in fastpos.h),
13362 but on most systems the table-based code is faster.
13364 src/liblzma/common/init_encoder.c | 3 -
13365 src/liblzma/lzma/Makefile.am | 4 +
13366 src/liblzma/lzma/fastpos.h | 156 +++++++++
13367 src/liblzma/lzma/fastpos_table.c | 519 +++++++++++++++++++++++++++++
13368 src/liblzma/lzma/fastpos_tablegen.c | 63 ++++
13369 src/liblzma/lzma/lzma_common.h | 3 +-
13370 src/liblzma/lzma/lzma_encoder.c | 1 +
13371 src/liblzma/lzma/lzma_encoder_getoptimum.c | 1 +
13372 src/liblzma/lzma/lzma_encoder_init.c | 22 --
13373 src/liblzma/lzma/lzma_encoder_private.h | 21 --
13374 10 files changed, 746 insertions(+), 47 deletions(-)
13376 commit 10437b5b567f6a025ff16c45a572e417a0a9cc26
13377 Author: Lasse Collin <lasse.collin@tukaani.org>
13378 Date: 2008-01-15 13:32:13 +0200
13382 src/liblzma/common/Makefile.am | 1 +
13383 src/liblzma/common/bsr.h | 61 ++++++++++++++++++++++++++++++++++++++++++
13384 2 files changed, 62 insertions(+)
13386 commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244
13387 Author: Lasse Collin <lasse.collin@tukaani.org>
13388 Date: 2008-01-15 13:29:14 +0200
13390 Fixed assembler detection in configure.ac, and added
13391 detection for x86_64.
13393 configure.ac | 32 ++++++++++++++++----------------
13394 1 file changed, 16 insertions(+), 16 deletions(-)
13396 commit 54ec204f58287f50d3976288295da4188a19192b
13397 Author: Lasse Collin <lasse.collin@tukaani.org>
13398 Date: 2008-01-15 12:20:41 +0200
13400 Omit invalid space from printf() format string
13401 in price_table_gen.c.
13403 src/liblzma/rangecoder/price_table_gen.c | 2 +-
13404 1 file changed, 1 insertion(+), 1 deletion(-)
13406 commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1
13407 Author: Lasse Collin <lasse.collin@tukaani.org>
13408 Date: 2008-01-15 09:54:34 +0200
13410 Removed a few unused macros from lzma_common.h.
13412 src/liblzma/lzma/lzma_common.h | 8 ++------
13413 1 file changed, 2 insertions(+), 6 deletions(-)
13415 commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d
13416 Author: Lasse Collin <lasse.collin@tukaani.org>
13417 Date: 2008-01-15 08:37:42 +0200
13419 Fix a typo in lzma_encoder.c.
13421 src/liblzma/lzma/lzma_encoder.c | 2 +-
13422 1 file changed, 1 insertion(+), 1 deletion(-)
13424 commit 9f9b1983013048f2142e8bc7e240149d2687bedc
13425 Author: Lasse Collin <lasse.collin@tukaani.org>
13426 Date: 2008-01-15 08:36:25 +0200
13428 Convert bittree_get_price() and bittree_reverse_get_price()
13429 from macros to inline functions.
13431 src/liblzma/lzma/lzma_encoder.c | 19 +++-----
13432 src/liblzma/lzma/lzma_encoder_getoptimum.c | 16 +++----
13433 src/liblzma/rangecoder/range_encoder.h | 76 +++++++++++++++++-------------
13434 3 files changed, 56 insertions(+), 55 deletions(-)
13436 commit 78e85cb1a7667c54853670d2eb09d754bcbda87d
13437 Author: Lasse Collin <lasse.collin@tukaani.org>
13438 Date: 2008-01-15 07:44:59 +0200
13440 Fix CRC code in case --enable-small is used.
13442 src/liblzma/check/crc32_init.c | 2 +-
13443 src/liblzma/check/crc64_init.c | 2 +-
13444 src/liblzma/common/init_decoder.c | 2 --
13445 src/liblzma/common/init_encoder.c | 2 --
13446 tests/test_check.c | 2 ++
13447 5 files changed, 4 insertions(+), 6 deletions(-)
13449 commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0
13450 Author: Lasse Collin <lasse.collin@tukaani.org>
13451 Date: 2008-01-15 07:41:39 +0200
13453 Fix typo in test_index.c.
13455 tests/test_index.c | 2 +-
13456 1 file changed, 1 insertion(+), 1 deletion(-)
13458 commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6
13459 Author: Lasse Collin <lasse.collin@tukaani.org>
13460 Date: 2008-01-15 07:40:21 +0200
13462 Added precomputed range coder probability price table.
13464 src/liblzma/common/init_encoder.c | 5 ++-
13465 src/liblzma/rangecoder/Makefile.am | 9 +++-
13466 src/liblzma/rangecoder/price_table.c | 70 +++++++++++++++++++++++++++++++
13467 src/liblzma/rangecoder/price_table_gen.c | 55 ++++++++++++++++++++++++
13468 src/liblzma/rangecoder/price_table_init.c | 48 +++++++++++++++++++++
13469 src/liblzma/rangecoder/range_common.h | 4 +-
13470 src/liblzma/rangecoder/range_encoder.c | 46 --------------------
13471 src/liblzma/rangecoder/range_encoder.h | 21 +++++-----
13472 8 files changed, 197 insertions(+), 61 deletions(-)
13474 commit 362dc3843b373c1007a50a4719f378981f18ae03
13475 Author: Lasse Collin <lasse.collin@tukaani.org>
13476 Date: 2008-01-14 13:42:43 +0200
13478 Remove RC_BUFFER_SIZE from lzma_encoder_private.h
13479 and replace it with a sanity check.
13481 src/liblzma/lzma/lzma_encoder_private.h | 6 ++++--
13482 1 file changed, 4 insertions(+), 2 deletions(-)
13484 commit e22b37968d153683fec61ad37b6b160cb7ca4ddc
13485 Author: Lasse Collin <lasse.collin@tukaani.org>
13486 Date: 2008-01-14 13:39:54 +0200
13488 Major changes to LZ encoder, LZMA encoder, and range encoder.
13489 These changes implement support for LZMA_SYNC_FLUSH in LZMA
13490 encoder, and move the temporary buffer needed by range encoder
13491 from lzma_range_encoder structure to lzma_lz_encoder.
13493 src/liblzma/lz/lz_encoder.c | 138 ++++++++++++++++++++++++++++-----
13494 src/liblzma/lz/lz_encoder.h | 17 ++--
13495 src/liblzma/lzma/lzma_encoder.c | 74 ++++++++++--------
13496 src/liblzma/rangecoder/range_encoder.h | 117 ++++++++--------------------
13497 4 files changed, 206 insertions(+), 140 deletions(-)
13499 commit b59ef3973781f892c0a72b5e5934194567100be5
13500 Author: Lasse Collin <lasse.collin@tukaani.org>
13501 Date: 2008-01-14 13:34:29 +0200
13503 Added one assert() to process.c of the command line tool.
13505 src/lzma/process.c | 1 +
13506 1 file changed, 1 insertion(+)
13508 commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7
13509 Author: Lasse Collin <lasse.collin@tukaani.org>
13510 Date: 2008-01-14 12:09:52 +0200
13512 Don't use coder->lz.stream_end_was_reached in assertions
13515 src/liblzma/lz/match_c.h | 2 --
13516 1 file changed, 2 deletions(-)
13518 commit 3e09e1c05871f3757f759b801890ccccc9286608
13519 Author: Lasse Collin <lasse.collin@tukaani.org>
13520 Date: 2008-01-14 12:08:02 +0200
13522 In lzma_read_match_distances(), don't use
13523 coder->lz.stream_end_was_reached. That variable
13524 will be removed, and the check isn't required anyway.
13525 Rearrange the check so that it doesn't make one to
13526 think that there could be an integer overflow.
13528 src/liblzma/lzma/lzma_encoder_private.h | 6 +++---
13529 1 file changed, 3 insertions(+), 3 deletions(-)
13531 commit a670fec8021e5962429689c194148a04c3418872
13532 Author: Lasse Collin <lasse.collin@tukaani.org>
13533 Date: 2008-01-14 11:56:41 +0200
13535 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders.
13537 src/liblzma/common/block_encoder.c | 4 ++--
13538 src/liblzma/common/stream_encoder_single.c | 1 +
13539 2 files changed, 3 insertions(+), 2 deletions(-)
13541 commit 3599dba9570a6972a16b6398d6c838e9b420e985
13542 Author: Lasse Collin <lasse.collin@tukaani.org>
13543 Date: 2008-01-14 11:54:56 +0200
13545 More fixes to LZMA decoder's flush marker handling.
13547 src/liblzma/lzma/lzma_decoder.c | 52 ++++++++++++++++++++++++-----------------
13548 1 file changed, 30 insertions(+), 22 deletions(-)
13550 commit f73c2ab6079ed5675a42b39d584a567befbd4624
13551 Author: Lasse Collin <lasse.collin@tukaani.org>
13552 Date: 2008-01-10 17:13:42 +0200
13554 Eliminate lzma_lz_encoder.must_move_pos. It's needed
13555 only in one place which isn't performance criticial.
13557 src/liblzma/lz/lz_encoder.c | 6 ++----
13558 src/liblzma/lz/lz_encoder.h | 4 ----
13559 2 files changed, 2 insertions(+), 8 deletions(-)
13561 commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd
13562 Author: Lasse Collin <lasse.collin@tukaani.org>
13563 Date: 2008-01-09 20:05:57 +0200
13565 Define HAVE_ASM_X86 when x86 assembler optimizations are
13566 used. This #define will be useful for inline assembly.
13568 configure.ac | 5 ++++-
13569 1 file changed, 4 insertions(+), 1 deletion(-)
13571 commit 0e70fbe4032351aab13a1cd8e5deced105c0b276
13572 Author: Lasse Collin <lasse.collin@tukaani.org>
13573 Date: 2008-01-09 12:06:46 +0200
13575 Added good-single-none-empty_3.lzma and
13576 bad-single-none-empty.lzma.
13578 tests/files/README | 6 ++++++
13579 tests/files/bad-single-none-empty.lzma | Bin 0 -> 19 bytes
13580 tests/files/good-single-none-empty_3.lzma | Bin 0 -> 19 bytes
13581 3 files changed, 6 insertions(+)
13583 commit 379fbbe84d922c7cc00afa65c6f0c095da596b19
13584 Author: Lasse Collin <lasse.collin@tukaani.org>
13585 Date: 2008-01-08 23:11:59 +0200
13587 Take advantage of return_if_error() in block_decoder.c.
13589 src/liblzma/common/block_decoder.c | 23 +++++++----------------
13590 1 file changed, 7 insertions(+), 16 deletions(-)
13592 commit 97d5fa82077e57815dfad995dc393c2809a78539
13593 Author: Lasse Collin <lasse.collin@tukaani.org>
13594 Date: 2008-01-08 23:10:57 +0200
13596 Updated tests/files/README.
13598 tests/files/README | 15 +++++++++------
13599 1 file changed, 9 insertions(+), 6 deletions(-)
13601 commit 3bb9bb310936cba6a743b4f06739a397dec7c28f
13602 Author: Lasse Collin <lasse.collin@tukaani.org>
13603 Date: 2008-01-08 23:05:40 +0200
13605 Added test files with empty Compressed Data.
13607 tests/files/README | 6 ++++++
13608 tests/files/good-single-lzma-empty.lzma | Bin 0 -> 21 bytes
13609 tests/files/good-single-none-empty_1.lzma | Bin 0 -> 18 bytes
13610 tests/files/good-single-none-empty_2.lzma | Bin 0 -> 26 bytes
13611 4 files changed, 6 insertions(+)
13613 commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f
13614 Author: Lasse Collin <lasse.collin@tukaani.org>
13615 Date: 2008-01-08 22:58:42 +0200
13617 Fix decoding of Blocks that have only Block Header.
13619 src/liblzma/common/block_decoder.c | 37 ++++++++++++++-----------------------
13620 1 file changed, 14 insertions(+), 23 deletions(-)
13622 commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4
13623 Author: Lasse Collin <lasse.collin@tukaani.org>
13624 Date: 2008-01-08 22:27:46 +0200
13626 Added good-single-subblock_implicit.lzma.
13628 tests/files/README | 2 ++
13629 tests/files/good-single-subblock_implicit.lzma | Bin 0 -> 35 bytes
13630 2 files changed, 2 insertions(+)
13632 commit faeac7b7aca75f86afed1e7cc06279d9d497c627
13633 Author: Lasse Collin <lasse.collin@tukaani.org>
13634 Date: 2008-01-08 18:50:30 +0200
13636 Disable CRC32 from Block Headers when --check=none
13637 has been specified.
13639 src/lzma/process.c | 2 +-
13640 1 file changed, 1 insertion(+), 1 deletion(-)
13642 commit a751126dbb656767ed4666cf0e5d3e17349d93d1
13643 Author: Lasse Collin <lasse.collin@tukaani.org>
13644 Date: 2008-01-08 13:36:29 +0200
13646 Fixed encoding of empty files. Arguments to is_size_valid()
13647 were in wrong order in block_encoder.c.
13649 src/liblzma/common/block_encoder.c | 2 +-
13650 1 file changed, 1 insertion(+), 1 deletion(-)
13652 commit 9080267603b1006c4867c823307dca9df8be0d20
13653 Author: Lasse Collin <lasse.collin@tukaani.org>
13654 Date: 2008-01-08 13:35:36 +0200
13656 Added a few test files.
13658 tests/files/README | 21 ++++++++++++++++++---
13659 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 0 -> 65 bytes
13660 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes
13661 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes
13662 tests/files/bad-single-data_after_eopm.lzma | Bin 55 -> 0 bytes
13663 tests/files/bad-single-data_after_eopm_1.lzma | Bin 0 -> 55 bytes
13664 tests/files/bad-single-none-truncated.lzma | Bin 0 -> 29 bytes
13665 7 files changed, 18 insertions(+), 3 deletions(-)
13667 commit b4943ccf73b64fc93a90a23474509c316f55eb2b
13668 Author: Lasse Collin <lasse.collin@tukaani.org>
13669 Date: 2008-01-08 12:29:58 +0200
13671 Avoid using ! in test_files.sh, because that doesn't work
13672 with some ancient /bin/sh versions.
13674 tests/test_files.sh | 4 +++-
13675 1 file changed, 3 insertions(+), 1 deletion(-)
13677 commit e2417b2b9134f3f65e14b61e23cd3644d8954353
13678 Author: Lasse Collin <lasse.collin@tukaani.org>
13679 Date: 2008-01-08 00:48:30 +0200
13681 More pre-C99 inttypes.h compatibility fixes. Now the code
13682 should work even if the system has no inttypes.h.
13684 src/common/physmem.h | 11 -----------
13685 src/liblzma/check/crc32_init.c | 5 +----
13686 src/liblzma/check/crc32_tablegen.c | 7 ++-----
13687 src/liblzma/check/crc64_init.c | 5 +----
13688 src/liblzma/check/crc64_tablegen.c | 7 ++-----
13689 5 files changed, 6 insertions(+), 29 deletions(-)
13691 commit 5d227e51c23639423f4ade06aabb54e131f8505e
13692 Author: Lasse Collin <lasse.collin@tukaani.org>
13693 Date: 2008-01-07 23:25:32 +0200
13695 Updated fi.po although it's currently pretty much crap.
13697 po/fi.po | 12 ++++++------
13698 1 file changed, 6 insertions(+), 6 deletions(-)
13700 commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d
13701 Author: Lasse Collin <lasse.collin@tukaani.org>
13702 Date: 2008-01-07 23:14:25 +0200
13704 Test for $GCC = yes instead of if it is non-empty. This
13705 way it is possible to use ac_cv_c_compiler_gnu=no to
13706 force configure to think it is using non-GNU C compiler.
13708 configure.ac | 2 +-
13709 1 file changed, 1 insertion(+), 1 deletion(-)
13711 commit 3dbbea82b74bb841c995ad332a3aeca613015e10
13712 Author: Lasse Collin <lasse.collin@tukaani.org>
13713 Date: 2008-01-07 21:49:41 +0200
13715 Added test_files.sh to tests/Makefile.am so it gets
13716 included in the tarball with "make dist".
13718 tests/Makefile.am | 2 +-
13719 1 file changed, 1 insertion(+), 1 deletion(-)
13721 commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0
13722 Author: Lasse Collin <lasse.collin@tukaani.org>
13723 Date: 2008-01-07 18:22:24 +0200
13725 Cosmetic edit to test_files.sh.
13727 tests/test_files.sh | 4 ++--
13728 1 file changed, 2 insertions(+), 2 deletions(-)
13730 commit 9a71d573100a990ceb30ce0bec6a9a15d795605f
13731 Author: Lasse Collin <lasse.collin@tukaani.org>
13732 Date: 2008-01-07 18:09:44 +0200
13734 Added tests/files/README.
13736 tests/files/README | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++
13737 1 file changed, 108 insertions(+)
13739 commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43
13740 Author: Lasse Collin <lasse.collin@tukaani.org>
13741 Date: 2008-01-07 14:20:57 +0200
13743 Tell in COPYING that everything in tests/files is
13747 1 file changed, 2 insertions(+), 1 deletion(-)
13749 commit 3502b3e1d00251d3c8dda96079440705c28d8225
13750 Author: Lasse Collin <lasse.collin@tukaani.org>
13751 Date: 2008-01-07 14:19:05 +0200
13753 Cleaned up the tests/files directory.
13755 tests/files/bad-single-subblock-padding_loop.lzma | Bin 0 -> 43 bytes
13756 tests/files/bad-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes
13757 tests/files/malicious-single-subblock-loop.lzma | Bin 43 -> 0 bytes
13758 tests/files/malicious-single-subblock-lzma.lzma | Bin 505 -> 0 bytes
13759 tests/files/malicious-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes
13760 5 files changed, 0 insertions(+), 0 deletions(-)
13762 commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c
13763 Author: Lasse Collin <lasse.collin@tukaani.org>
13764 Date: 2008-01-07 13:49:19 +0200
13766 Added test_files.sh to test decoding of the files in
13767 the tests/files directory. It doesn't test the malicious
13770 tests/Makefile.am | 4 +++-
13771 tests/test_files.sh | 40 ++++++++++++++++++++++++++++++++++++++++
13772 2 files changed, 43 insertions(+), 1 deletion(-)
13774 commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6
13775 Author: Lasse Collin <lasse.collin@tukaani.org>
13776 Date: 2008-01-07 11:23:13 +0200
13778 Updated README regarding the assembler optimizations.
13780 README | 10 +++++-----
13781 1 file changed, 5 insertions(+), 5 deletions(-)
13783 commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb
13784 Author: Lasse Collin <lasse.collin@tukaani.org>
13785 Date: 2008-01-07 10:58:00 +0200
13790 1 file changed, 1 insertion(+)
13792 commit 1239649f96132b18e3b7e2dd152ecf53a195caa8
13793 Author: Lasse Collin <lasse.collin@tukaani.org>
13794 Date: 2008-01-06 21:47:17 +0200
13796 Cosmetic changes to configure.ac.
13798 configure.ac | 14 ++++++--------
13799 1 file changed, 6 insertions(+), 8 deletions(-)
13801 commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e
13802 Author: Lasse Collin <lasse.collin@tukaani.org>
13803 Date: 2008-01-06 19:46:38 +0200
13805 Automatically disable assembler code on Darwin x86.
13806 Darwin has different ABI than GNU+Linux and Solaris,
13807 thus the assembler code doesn't assemble on Darwin.
13809 configure.ac | 17 +++++++++++++++--
13810 1 file changed, 15 insertions(+), 2 deletions(-)
13812 commit c15a7abf66e3a70792f7444115e484c7981c8284
13813 Author: Lasse Collin <lasse.collin@tukaani.org>
13814 Date: 2008-01-06 19:45:27 +0200
13816 With printf(), use PRIu64 with a cast to uint64_t instead
13817 of %zu, because some pre-C99 libc versions don't support %zu.
13819 src/lzma/help.c | 13 +++++++------
13820 src/lzmadec/lzmadec.c | 6 ++++--
13821 2 files changed, 11 insertions(+), 8 deletions(-)
13823 commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb
13824 Author: Lasse Collin <lasse.collin@tukaani.org>
13825 Date: 2008-01-06 16:27:41 +0200
13827 Introduced compatibility with systems that have pre-C99
13828 or no inttypes.h. This is useful when the compiler has
13829 good enough support for C99, but libc headers don't.
13831 Changed liblzma API so that sys/types.h and inttypes.h
13832 have to be #included before #including lzma.h. On systems
13833 that don't have C99 inttypes.h, it's the problem of the
13834 applications to provide the required types and macros
13835 before #including lzma.h.
13837 If lzma.h defined the missing types and macros, it could
13838 conflict with third-party applications whose configure
13839 has detected that the types are missing and defined them
13840 in config.h already. An alternative would have been
13841 introducing lzma_uint32 and similar types, but that would
13842 just be an extra pain on modern systems.
13844 configure.ac | 13 ++++++++-
13845 doc/liblzma-intro.txt | 10 +++++--
13846 src/common/sysdefs.h | 59 +++++++++++++++++++++++++++++++++++++-
13847 src/liblzma/api/lzma.h | 40 +++++++++++++++++---------
13848 src/liblzma/check/crc32_table.c | 4 +--
13849 src/liblzma/check/crc32_table_be.h | 2 --
13850 src/liblzma/check/crc32_table_le.h | 2 --
13851 src/liblzma/check/crc32_tablegen.c | 1 -
13852 src/liblzma/check/crc64_table.c | 4 +--
13853 src/liblzma/check/crc64_table_be.h | 2 --
13854 src/liblzma/check/crc64_table_le.h | 2 --
13855 src/liblzma/check/crc64_tablegen.c | 1 -
13856 src/lzma/private.h | 1 -
13857 13 files changed, 106 insertions(+), 35 deletions(-)
13859 commit a71864f77dfb76b5d78a270641539947c312583a
13860 Author: Lasse Collin <lasse.collin@tukaani.org>
13861 Date: 2008-01-05 19:57:00 +0200
13863 Fix typo in comment (INT64_MAX -> UINT64_MAX).
13865 src/liblzma/api/lzma/vli.h | 2 +-
13866 1 file changed, 1 insertion(+), 1 deletion(-)
13868 commit 072927905a3b66281c6311b4b351caa501d8b73a
13869 Author: Lasse Collin <lasse.collin@tukaani.org>
13870 Date: 2008-01-05 19:42:04 +0200
13872 Rearranged testing of GCC-specific flags.
13874 configure.ac | 33 +++++++++++++++++++++++----------
13875 1 file changed, 23 insertions(+), 10 deletions(-)
13877 commit d160ee32598c6d1cd9054ef019e8c9331208b188
13878 Author: Lasse Collin <lasse.collin@tukaani.org>
13879 Date: 2008-01-05 01:20:24 +0200
13881 Another bug fix for flush marker detection.
13883 src/liblzma/lzma/lzma_decoder.c | 10 +++++++++-
13884 1 file changed, 9 insertions(+), 1 deletion(-)
13886 commit fc67f79f607cbfa78c6f47a69dec098d8659b162
13887 Author: Lasse Collin <lasse.collin@tukaani.org>
13888 Date: 2008-01-04 21:37:01 +0200
13890 Fix stupid bugs in flush marker detection.
13892 src/liblzma/lzma/lzma_decoder.c | 7 ++++---
13893 1 file changed, 4 insertions(+), 3 deletions(-)
13895 commit 0029cbbabe87d491fc046a55a629a6d556010baa
13896 Author: Lasse Collin <lasse.collin@tukaani.org>
13897 Date: 2008-01-04 21:30:33 +0200
13899 Added support for flush marker, which will be in files
13900 that use LZMA_SYNC_FLUSH with encoder (not implemented
13901 yet). This is a new feature in the raw LZMA format,
13902 which isn't supported by old decoders. This shouldn't
13903 be a problem in practice, since lzma_alone_encoder()
13904 will not allow LZMA_SYNC_FLUSH, and thus not allow
13905 creating files on decodable with old decoders.
13907 Made lzma_decoder.c to require tab width of 4 characters
13908 if one wants to fit the code in 80 columns. This makes
13909 the code easier to read.
13911 src/liblzma/lzma/lzma_common.h | 4 +
13912 src/liblzma/lzma/lzma_decoder.c | 217 ++++++++++++++++++----------------------
13913 2 files changed, 104 insertions(+), 117 deletions(-)
13915 commit bbfd1f6ab058a7e661545205befcb7f70c5685ab
13916 Author: Lasse Collin <lasse.collin@tukaani.org>
13917 Date: 2008-01-04 20:45:05 +0200
13919 Moved range decoder initialization (reading the first
13920 five input bytes) from LZMA decoder to range decoder
13921 header. Did the same for decoding of direct bits.
13923 src/liblzma/lzma/lzma_decoder.c | 42 +++-------------
13924 src/liblzma/rangecoder/range_decoder.h | 87 +++++++++++++++++++++++-----------
13925 2 files changed, 66 insertions(+), 63 deletions(-)
13927 commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc
13928 Author: Lasse Collin <lasse.collin@tukaani.org>
13929 Date: 2007-12-14 11:15:21 +0200
13931 Added a note to README that --disable-assembler
13932 must be used on Darwin.
13935 1 file changed, 4 insertions(+)
13937 commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24
13938 Author: Lasse Collin <lasse.collin@tukaani.org>
13939 Date: 2007-12-14 10:07:10 +0200
13941 Use the filename suffix .S instead of .s for assembler files
13942 so that the preprocessor removes the /* */ style comments,
13943 which are not supported by some non-GNU assemblers (Solaris)
13944 that otherwise work with this code.
13946 src/liblzma/check/Makefile.am | 4 +-
13947 src/liblzma/check/crc32_x86.S | 217 ++++++++++++++++++++++++++++++++++++++++++
13948 src/liblzma/check/crc32_x86.s | 217 ------------------------------------------
13949 src/liblzma/check/crc64_x86.S | 203 +++++++++++++++++++++++++++++++++++++++
13950 src/liblzma/check/crc64_x86.s | 203 ---------------------------------------
13951 5 files changed, 422 insertions(+), 422 deletions(-)
13953 commit ec1c82b2e82f395f6e8e19ac212a639644330cd7
13954 Author: Lasse Collin <lasse.collin@tukaani.org>
13955 Date: 2007-12-14 09:59:05 +0200
13957 Fixed wrong symbol name in crc64_x86.s.
13959 src/liblzma/check/crc64_x86.s | 2 +-
13960 1 file changed, 1 insertion(+), 1 deletion(-)
13962 commit 2881570df6803eed2fe550af34574e8e61794804
13963 Author: Lasse Collin <lasse.collin@tukaani.org>
13964 Date: 2007-12-14 09:53:24 +0200
13966 Use .globl instead of .global in x86 assembler code for
13967 better portability. Still needs fixing the commenting.
13969 src/liblzma/check/crc32_x86.s | 2 +-
13970 src/liblzma/check/crc64_x86.s | 2 +-
13971 2 files changed, 2 insertions(+), 2 deletions(-)
13973 commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66
13974 Author: Lasse Collin <lasse.collin@tukaani.org>
13975 Date: 2007-12-13 20:14:37 +0200
13977 Fixed a few short options that take an argument.
13978 short_opts[] was missing colons to indicate
13979 required argument. Thanks to Fabio Pedretti for
13982 src/lzma/args.c | 2 +-
13983 1 file changed, 1 insertion(+), 1 deletion(-)
13985 commit 918bcb0e0728d2d976621e9f35b56f224f11d989
13986 Author: Lasse Collin <lasse.collin@tukaani.org>
13987 Date: 2007-12-11 17:08:04 +0200
13989 Removed uncompressed size tracking from Delta encoder too.
13991 src/liblzma/common/delta_coder.c | 21 +++------------------
13992 1 file changed, 3 insertions(+), 18 deletions(-)
13994 commit 3e16d51dd645667b05ff826665b1fc353aa41cd9
13995 Author: Lasse Collin <lasse.collin@tukaani.org>
13996 Date: 2007-12-11 16:49:19 +0200
13998 Remove uncompressed size tracking from the filter encoders.
13999 It's not strictly needed there, and just complicates the
14000 code. LZ encoder never even had this feature.
14002 The primary reason to have uncompressed size tracking in
14003 filter encoders was validating that the application
14004 doesn't give different amount of input that it had
14005 promised. A side effect was to validate internal workings
14008 Uncompressed size tracking is still present in the Block
14009 encoder. Maybe it should be added to LZMA_Alone and raw
14010 encoders too. It's simpler to have one coder just to
14011 validate the uncompressed size instead of having it
14014 src/liblzma/common/copy_coder.c | 25 ++--------------------
14015 src/liblzma/simple/simple_coder.c | 29 ++++---------------------
14016 src/liblzma/subblock/subblock_encoder.c | 38 ++++++---------------------------
14017 3 files changed, 12 insertions(+), 80 deletions(-)
14019 commit 5286723e0d1ac386d5b07f08d78e61becf895a5a
14020 Author: Lasse Collin <lasse.collin@tukaani.org>
14021 Date: 2007-12-11 14:10:53 +0200
14023 Get rid of no-NLS gnulib. I don't know how to get it
14024 working with Automake. People who want smaller lzmadec
14025 should use --disable-nls on non-GNU systems.
14027 lib/Makefile.am | 10 +---------
14028 src/lzma/Makefile.am | 2 +-
14029 src/lzmadec/Makefile.am | 4 +++-
14030 3 files changed, 5 insertions(+), 11 deletions(-)
14032 commit ce8b036a6c7a43b290356b673d953f6d76b2be64
14033 Author: Lasse Collin <lasse.collin@tukaani.org>
14034 Date: 2007-12-11 14:09:35 +0200
14036 Fixed a typo in tests/Makefile.am which prevented
14037 building the tests if gnulib was needed.
14039 tests/Makefile.am | 2 +-
14040 1 file changed, 1 insertion(+), 1 deletion(-)
14042 commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4
14043 Author: Lasse Collin <lasse.collin@tukaani.org>
14044 Date: 2007-12-11 11:18:58 +0200
14046 Fixed wrong type of flags_size in Subblock encoder.
14048 src/liblzma/subblock/subblock_encoder.c | 2 +-
14049 1 file changed, 1 insertion(+), 1 deletion(-)
14051 commit ce64df716243fdc40359090d1f6541f3a4f5f21a
14052 Author: Lasse Collin <lasse.collin@tukaani.org>
14053 Date: 2007-12-10 20:44:16 +0200
14055 Bumped version number to 4.42.3alpha.
14057 configure.ac | 2 +-
14058 src/liblzma/api/lzma/version.h | 2 +-
14059 2 files changed, 2 insertions(+), 2 deletions(-)
14061 commit b499a0403ea5c41d6a25b40275eb6c57643052ce
14062 Author: Lasse Collin <lasse.collin@tukaani.org>
14063 Date: 2007-12-10 15:02:50 +0200
14065 Disabled some unneeded warnings and made "make dist" work.
14067 Makefile.am | 9 +++------
14068 configure.ac | 9 ++++++---
14069 po/fi.po | 47 ++++++++++++++++++++++++-----------------------
14070 3 files changed, 33 insertions(+), 32 deletions(-)
14072 commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172
14073 Author: Lasse Collin <lasse.collin@tukaani.org>
14074 Date: 2007-12-09 21:43:15 +0200
14076 Added LZMA_SYNC_FLUSH support to the Copy filter.
14078 src/liblzma/common/copy_coder.c | 92 +++++++++++++++++++++++++----------------
14079 1 file changed, 57 insertions(+), 35 deletions(-)
14081 commit 329c272d501e88793dda5540358d55c12428d194
14082 Author: Lasse Collin <lasse.collin@tukaani.org>
14083 Date: 2007-12-09 17:14:07 +0200
14085 Added missing LZMA_API to the C versions of the CRC functions.
14086 The x86 assembler versions were already OK.
14088 src/liblzma/check/crc32.c | 2 +-
14089 src/liblzma/check/crc64.c | 2 +-
14090 2 files changed, 2 insertions(+), 2 deletions(-)
14092 commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7
14093 Author: Jim Meyering <meyering@redhat.com>
14094 Date: 2007-12-09 15:34:25 +0100
14096 * tests/test_block_header.c (test3): Remove duplicate initializer.
14099 tests/test_block_header.c | 1 -
14100 2 files changed, 1 insertion(+), 2 deletions(-)
14102 commit 07ac881779a8477f2c1ab112b91a129e24aa743c
14103 Author: Lasse Collin <lasse.collin@tukaani.org>
14104 Date: 2007-12-09 17:06:45 +0200
14106 Take advantage of return_if_error() macro in more places.
14107 Cleaned Subblock filter's initialization code too.
14109 src/liblzma/common/block_decoder.c | 22 +++-------
14110 src/liblzma/common/delta_coder.c | 8 +---
14111 src/liblzma/common/stream_decoder.c | 17 +++-----
14112 src/liblzma/common/stream_encoder_multi.c | 68 ++++++++++--------------------
14113 src/liblzma/common/stream_encoder_single.c | 8 ++--
14114 src/liblzma/subblock/subblock_decoder.c | 33 +++++----------
14115 src/liblzma/subblock/subblock_encoder.c | 45 ++++++--------------
14116 7 files changed, 63 insertions(+), 138 deletions(-)
14118 commit 41338717964f510ee61d70b25bd4c502ec9f77cf
14119 Author: Lasse Collin <lasse.collin@tukaani.org>
14120 Date: 2007-12-09 12:13:01 +0200
14122 Added a bunch of .lzma test files.
14124 tests/files/bad-single-data_after_eopm.lzma | Bin 0 -> 55 bytes
14125 tests/files/bad-single-data_after_eopm_2.lzma | Bin 0 -> 56 bytes
14126 tests/files/bad-single-subblock_subblock.lzma | Bin 0 -> 26 bytes
14127 tests/files/good-cat-single-none-pad.lzma | Bin 0 -> 64 bytes
14128 tests/files/good-single-delta-lzma.tiff.lzma | Bin 0 -> 51409 bytes
14129 tests/files/good-single-lzma.lzma | Bin 0 -> 44 bytes
14130 tests/files/good-single-none-pad.lzma | Bin 0 -> 32 bytes
14131 tests/files/good-single-none.lzma | Bin 0 -> 30 bytes
14132 tests/files/good-single-subblock-lzma.lzma | Bin 0 -> 50 bytes
14133 tests/files/good-single-subblock_rle.lzma | Bin 0 -> 118 bytes
14134 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 0 -> 51 bytes
14135 tests/files/malicious-single-subblock-256MiB.lzma | Bin 0 -> 30 bytes
14136 tests/files/malicious-single-subblock-64PiB.lzma | Bin 0 -> 45 bytes
14137 tests/files/malicious-single-subblock-loop.lzma | Bin 0 -> 43 bytes
14138 tests/files/malicious-single-subblock-lzma.lzma | Bin 0 -> 505 bytes
14139 tests/files/malicious-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes
14140 tests/files/malicious-single-subblock31-slow.lzma | Bin 0 -> 1233 bytes
14141 17 files changed, 0 insertions(+), 0 deletions(-)
14143 commit ff946ceb7975d4f11950afd33f6315b4d20d1a03
14144 Author: Lasse Collin <lasse.collin@tukaani.org>
14145 Date: 2007-12-09 11:24:48 +0200
14147 Re-enabled the security checks in Subblock decoder
14148 that were disabled for debugging reasons.
14150 src/liblzma/subblock/subblock_decoder.c | 6 +++---
14151 1 file changed, 3 insertions(+), 3 deletions(-)
14153 commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1
14154 Author: Lasse Collin <lasse.collin@tukaani.org>
14155 Date: 2007-12-09 11:03:28 +0200
14157 Fixed the tests to build with -Werror.
14159 tests/test_block_header.c | 2 +-
14160 tests/test_check.c | 2 +-
14161 tests/test_filter_flags.c | 2 +-
14162 tests/test_index.c | 14 +++++++-------
14163 tests/test_info.c | 2 +-
14164 tests/test_stream_flags.c | 2 +-
14165 6 files changed, 12 insertions(+), 12 deletions(-)
14167 commit 5d018dc03549c1ee4958364712fb0c94e1bf2741
14168 Author: Lasse Collin <lasse.collin@tukaani.org>
14169 Date: 2007-12-09 00:42:33 +0200
14175 COPYING.GPLv2 | 339 +++++
14176 COPYING.GPLv3 | 674 +++++++++
14177 COPYING.LGPLv2.1 | 504 +++++++
14179 Doxyfile.in | 1229 ++++++++++++++++
14186 configure.ac | 611 ++++++++
14187 doc/bugs.txt | 46 +
14188 doc/faq.txt | 247 ++++
14189 doc/file-format.txt | 1861 ++++++++++++++++++++++++
14190 doc/history.txt | 140 ++
14191 doc/liblzma-advanced.txt | 324 +++++
14192 doc/liblzma-hacking.txt | 112 ++
14193 doc/liblzma-intro.txt | 188 +++
14194 doc/liblzma-security.txt | 219 +++
14195 doc/lzma-intro.txt | 107 ++
14196 extra/scanlzma/scanlzma.c | 85 ++
14197 lib/Makefile.am | 40 +
14198 lib/getopt.c | 1191 +++++++++++++++
14199 lib/getopt1.c | 171 +++
14200 lib/getopt_.h | 226 +++
14201 lib/getopt_int.h | 131 ++
14202 lib/gettext.h | 240 +++
14203 m4/acx_pthread.m4 | 279 ++++
14204 m4/getopt.m4 | 83 ++
14207 po/POTFILES.in | 13 +
14208 po/fi.po | 445 ++++++
14209 src/Makefile.am | 16 +
14210 src/common/open_stdxxx.h | 50 +
14211 src/common/physmem.h | 77 +
14212 src/common/sysdefs.h | 100 ++
14213 src/liblzma/Makefile.am | 47 +
14214 src/liblzma/api/Makefile.am | 39 +
14215 src/liblzma/api/lzma.h | 122 ++
14216 src/liblzma/api/lzma/alignment.h | 60 +
14217 src/liblzma/api/lzma/alone.h | 82 ++
14218 src/liblzma/api/lzma/auto.h | 41 +
14219 src/liblzma/api/lzma/base.h | 410 ++++++
14220 src/liblzma/api/lzma/block.h | 409 ++++++
14221 src/liblzma/api/lzma/check.h | 128 ++
14222 src/liblzma/api/lzma/copy.h | 29 +
14223 src/liblzma/api/lzma/delta.h | 49 +
14224 src/liblzma/api/lzma/extra.h | 114 ++
14225 src/liblzma/api/lzma/filter.h | 166 +++
14226 src/liblzma/api/lzma/index.h | 84 ++
14227 src/liblzma/api/lzma/info.h | 315 ++++
14228 src/liblzma/api/lzma/init.h | 85 ++
14229 src/liblzma/api/lzma/lzma.h | 312 ++++
14230 src/liblzma/api/lzma/memlimit.h | 157 ++
14231 src/liblzma/api/lzma/metadata.h | 100 ++
14232 src/liblzma/api/lzma/raw.h | 72 +
14233 src/liblzma/api/lzma/simple.h | 85 ++
14234 src/liblzma/api/lzma/stream.h | 178 +++
14235 src/liblzma/api/lzma/stream_flags.h | 142 ++
14236 src/liblzma/api/lzma/subblock.h | 197 +++
14237 src/liblzma/api/lzma/version.h | 59 +
14238 src/liblzma/api/lzma/vli.h | 244 ++++
14239 src/liblzma/check/Makefile.am | 64 +
14240 src/liblzma/check/check.c | 160 ++
14241 src/liblzma/check/check.h | 102 ++
14242 src/liblzma/check/check_byteswap.h | 43 +
14243 src/liblzma/check/check_init.c | 37 +
14244 src/liblzma/check/crc32.c | 88 ++
14245 src/liblzma/check/crc32_init.c | 58 +
14246 src/liblzma/check/crc32_table.c | 22 +
14247 src/liblzma/check/crc32_table_be.h | 527 +++++++
14248 src/liblzma/check/crc32_table_le.h | 527 +++++++
14249 src/liblzma/check/crc32_tablegen.c | 55 +
14250 src/liblzma/check/crc32_x86.s | 217 +++
14251 src/liblzma/check/crc64.c | 75 +
14252 src/liblzma/check/crc64_init.c | 58 +
14253 src/liblzma/check/crc64_table.c | 22 +
14254 src/liblzma/check/crc64_table_be.h | 523 +++++++
14255 src/liblzma/check/crc64_table_le.h | 523 +++++++
14256 src/liblzma/check/crc64_tablegen.c | 56 +
14257 src/liblzma/check/crc64_x86.s | 203 +++
14258 src/liblzma/check/crc_macros.h | 33 +
14259 src/liblzma/check/sha256.c | 203 +++
14260 src/liblzma/common/Makefile.am | 94 ++
14261 src/liblzma/common/alignment.c | 118 ++
14262 src/liblzma/common/allocator.c | 57 +
14263 src/liblzma/common/alone_decoder.c | 197 +++
14264 src/liblzma/common/alone_decoder.h | 24 +
14265 src/liblzma/common/alone_encoder.c | 167 +++
14266 src/liblzma/common/auto_decoder.c | 113 ++
14267 src/liblzma/common/block_decoder.c | 405 ++++++
14268 src/liblzma/common/block_decoder.h | 29 +
14269 src/liblzma/common/block_encoder.c | 375 +++++
14270 src/liblzma/common/block_encoder.h | 29 +
14271 src/liblzma/common/block_header_decoder.c | 373 +++++
14272 src/liblzma/common/block_header_encoder.c | 211 +++
14273 src/liblzma/common/block_private.h | 46 +
14274 src/liblzma/common/chunk_size.c | 74 +
14275 src/liblzma/common/code.c | 203 +++
14276 src/liblzma/common/common.h | 271 ++++
14277 src/liblzma/common/copy_coder.c | 143 ++
14278 src/liblzma/common/copy_coder.h | 31 +
14279 src/liblzma/common/delta_coder.c | 210 +++
14280 src/liblzma/common/delta_coder.h | 31 +
14281 src/liblzma/common/extra.c | 33 +
14282 src/liblzma/common/features.c | 70 +
14283 src/liblzma/common/filter_flags_decoder.c | 382 +++++
14284 src/liblzma/common/filter_flags_encoder.c | 359 +++++
14285 src/liblzma/common/index.c | 140 ++
14286 src/liblzma/common/info.c | 823 +++++++++++
14287 src/liblzma/common/init.c | 39 +
14288 src/liblzma/common/init_decoder.c | 33 +
14289 src/liblzma/common/init_encoder.c | 44 +
14290 src/liblzma/common/memory_limitter.c | 200 +++
14291 src/liblzma/common/memory_usage.c | 113 ++
14292 src/liblzma/common/metadata_decoder.c | 555 +++++++
14293 src/liblzma/common/metadata_decoder.h | 31 +
14294 src/liblzma/common/metadata_encoder.c | 436 ++++++
14295 src/liblzma/common/metadata_encoder.h | 30 +
14296 src/liblzma/common/next_coder.c | 65 +
14297 src/liblzma/common/raw_common.c | 175 +++
14298 src/liblzma/common/raw_common.h | 31 +
14299 src/liblzma/common/raw_decoder.c | 127 ++
14300 src/liblzma/common/raw_decoder.h | 30 +
14301 src/liblzma/common/raw_encoder.c | 124 ++
14302 src/liblzma/common/raw_encoder.h | 30 +
14303 src/liblzma/common/stream_common.c | 23 +
14304 src/liblzma/common/stream_common.h | 28 +
14305 src/liblzma/common/stream_decoder.c | 454 ++++++
14306 src/liblzma/common/stream_encoder_multi.c | 460 ++++++
14307 src/liblzma/common/stream_encoder_single.c | 220 +++
14308 src/liblzma/common/stream_flags_decoder.c | 258 ++++
14309 src/liblzma/common/stream_flags_decoder.h | 31 +
14310 src/liblzma/common/stream_flags_encoder.c | 75 +
14311 src/liblzma/common/sysdefs.h | 1 +
14312 src/liblzma/common/version.c | 25 +
14313 src/liblzma/common/vli_decoder.c | 69 +
14314 src/liblzma/common/vli_encoder.c | 81 ++
14315 src/liblzma/common/vli_reverse_decoder.c | 55 +
14316 src/liblzma/lz/Makefile.am | 63 +
14317 src/liblzma/lz/bt2.c | 27 +
14318 src/liblzma/lz/bt2.h | 31 +
14319 src/liblzma/lz/bt3.c | 29 +
14320 src/liblzma/lz/bt3.h | 31 +
14321 src/liblzma/lz/bt4.c | 30 +
14322 src/liblzma/lz/bt4.h | 31 +
14323 src/liblzma/lz/hc3.c | 30 +
14324 src/liblzma/lz/hc3.h | 31 +
14325 src/liblzma/lz/hc4.c | 31 +
14326 src/liblzma/lz/hc4.h | 31 +
14327 src/liblzma/lz/lz_decoder.c | 462 ++++++
14328 src/liblzma/lz/lz_decoder.h | 214 +++
14329 src/liblzma/lz/lz_encoder.c | 481 ++++++
14330 src/liblzma/lz/lz_encoder.h | 161 ++
14331 src/liblzma/lz/lz_encoder_private.h | 40 +
14332 src/liblzma/lz/match_c.h | 401 +++++
14333 src/liblzma/lz/match_h.h | 69 +
14334 src/liblzma/lzma.pc.in | 11 +
14335 src/liblzma/lzma/Makefile.am | 43 +
14336 src/liblzma/lzma/lzma_common.h | 128 ++
14337 src/liblzma/lzma/lzma_decoder.c | 844 +++++++++++
14338 src/liblzma/lzma/lzma_decoder.h | 41 +
14339 src/liblzma/lzma/lzma_encoder.c | 413 ++++++
14340 src/liblzma/lzma/lzma_encoder.h | 35 +
14341 src/liblzma/lzma/lzma_encoder_features.c | 59 +
14342 src/liblzma/lzma/lzma_encoder_getoptimum.c | 893 ++++++++++++
14343 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 +++
14344 src/liblzma/lzma/lzma_encoder_init.c | 245 ++++
14345 src/liblzma/lzma/lzma_encoder_presets.c | 34 +
14346 src/liblzma/lzma/lzma_encoder_private.h | 225 +++
14347 src/liblzma/lzma/lzma_literal.c | 74 +
14348 src/liblzma/lzma/lzma_literal.h | 74 +
14349 src/liblzma/rangecoder/Makefile.am | 28 +
14350 src/liblzma/rangecoder/range_common.h | 68 +
14351 src/liblzma/rangecoder/range_decoder.h | 189 +++
14352 src/liblzma/rangecoder/range_encoder.c | 46 +
14353 src/liblzma/rangecoder/range_encoder.h | 317 ++++
14354 src/liblzma/simple/Makefile.am | 46 +
14355 src/liblzma/simple/arm.c | 76 +
14356 src/liblzma/simple/armthumb.c | 81 ++
14357 src/liblzma/simple/ia64.c | 117 ++
14358 src/liblzma/simple/powerpc.c | 80 +
14359 src/liblzma/simple/simple_coder.c | 306 ++++
14360 src/liblzma/simple/simple_coder.h | 68 +
14361 src/liblzma/simple/simple_private.h | 86 ++
14362 src/liblzma/simple/sparc.c | 88 ++
14363 src/liblzma/simple/x86.c | 161 ++
14364 src/liblzma/subblock/Makefile.am | 33 +
14365 src/liblzma/subblock/subblock_decoder.c | 681 +++++++++
14366 src/liblzma/subblock/subblock_decoder.h | 29 +
14367 src/liblzma/subblock/subblock_decoder_helper.c | 80 +
14368 src/liblzma/subblock/subblock_decoder_helper.h | 36 +
14369 src/liblzma/subblock/subblock_encoder.c | 841 +++++++++++
14370 src/liblzma/subblock/subblock_encoder.h | 28 +
14371 src/lzma/Makefile.am | 63 +
14372 src/lzma/alloc.c | 106 ++
14373 src/lzma/alloc.h | 42 +
14374 src/lzma/args.c | 566 +++++++
14375 src/lzma/args.h | 64 +
14376 src/lzma/error.c | 156 ++
14377 src/lzma/error.h | 67 +
14378 src/lzma/hardware.c | 99 ++
14379 src/lzma/hardware.h | 31 +
14380 src/lzma/help.c | 178 +++
14381 src/lzma/help.h | 32 +
14382 src/lzma/io.c | 664 +++++++++
14383 src/lzma/io.h | 60 +
14384 src/lzma/list.c | 477 ++++++
14385 src/lzma/main.c | 254 ++++
14386 src/lzma/options.c | 346 +++++
14387 src/lzma/options.h | 46 +
14388 src/lzma/private.h | 55 +
14389 src/lzma/process.c | 458 ++++++
14390 src/lzma/process.h | 30 +
14391 src/lzma/suffix.c | 145 ++
14392 src/lzma/suffix.h | 25 +
14393 src/lzma/util.c | 182 +++
14394 src/lzma/util.h | 32 +
14395 src/lzmadec/Makefile.am | 27 +
14396 src/lzmadec/lzmadec.c | 515 +++++++
14397 src/scripts/Makefile.am | 24 +
14398 src/scripts/lzdiff | 67 +
14399 src/scripts/lzdiff.1 | 51 +
14400 src/scripts/lzgrep | 123 ++
14401 src/scripts/lzgrep.1 | 61 +
14402 src/scripts/lzmore | 74 +
14403 src/scripts/lzmore.1 | 55 +
14404 tests/Makefile.am | 43 +
14405 tests/test_block.c | 59 +
14406 tests/test_block_header.c | 352 +++++
14407 tests/test_check.c | 90 ++
14408 tests/test_filter_flags.c | 326 +++++
14409 tests/test_index.c | 43 +
14410 tests/test_info.c | 717 +++++++++
14411 tests/test_stream_flags.c | 191 +++
14412 tests/tests.h | 148 ++
14413 240 files changed, 42513 insertions(+)