1 commit 495aaf3a5b7200a5d2bf449bbbcc0e18834607af
2 Author: Lasse Collin <lasse.collin@tukaani.org>
3 Date: 2014-09-20 20:44:32 +0300
5 Bump version and soname for 5.0.7.
7 src/liblzma/Makefile.am | 2 +-
8 src/liblzma/api/lzma/version.h | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
11 commit ac6c8921d1d8d2d749d5c97f9a0b0594cc863cea
12 Author: Lasse Collin <lasse.collin@tukaani.org>
13 Date: 2014-09-20 20:43:29 +0300
15 Update NEWS for 5.0.7.
18 1 file changed, 11 insertions(+)
20 commit d1b0276aafd441a3d4db9dfd5dd9880e9f834d49
21 Author: Lasse Collin <lasse.collin@tukaani.org>
22 Date: 2014-09-20 20:21:18 +0300
24 liblzma: Fix invalid Libs.private value in liblzma.pc.
26 src/liblzma/Makefile.am | 2 +-
27 1 file changed, 1 insertion(+), 1 deletion(-)
29 commit cac72956b1e56788182ac14bfb25519636afd503
30 Author: Lasse Collin <lasse.collin@tukaani.org>
31 Date: 2014-09-20 19:42:56 +0300
33 liblzma: Fix a portability problem in Makefile.am.
35 POSIX supports $< only in inference rules (suffix rules).
36 Using it elsewhere is a GNU make extension and doesn't
37 work e.g. with OpenBSD make.
39 Thanks to Christian Weisgerber for the patch.
41 src/liblzma/Makefile.am | 2 +-
42 1 file changed, 1 insertion(+), 1 deletion(-)
44 commit 2cdf0875dedca3e89b02ad5ac8aa1109f902ae11
45 Author: Lasse Collin <lasse.collin@tukaani.org>
46 Date: 2014-09-14 19:35:45 +0300
48 Bump version and soname for 5.0.6.
50 src/liblzma/Makefile.am | 2 +-
51 src/liblzma/api/lzma/version.h | 2 +-
52 2 files changed, 2 insertions(+), 2 deletions(-)
54 commit 0168b6c8fbc88cae61b1f5fb41d6c33c9e127967
55 Author: Lasse Collin <lasse.collin@tukaani.org>
56 Date: 2014-09-14 19:33:46 +0300
58 Update NEWS for 5.0.6.
61 1 file changed, 7 insertions(+)
63 commit 13337714e89d002af7af48d6853f977de985d7de
64 Author: Lasse Collin <lasse.collin@tukaani.org>
65 Date: 2014-06-13 19:21:54 +0300
67 xzgrep: List xzgrep_expected_output in tests/Makefile.am.
69 tests/Makefile.am | 3 ++-
70 1 file changed, 2 insertions(+), 1 deletion(-)
72 commit ccc728d8290c0464c7af62790b1c5528eceaae35
73 Author: Lasse Collin <lasse.collin@tukaani.org>
74 Date: 2014-06-13 18:58:22 +0300
76 xzgrep: Improve the test script.
78 Now it should be close to the functionality of the original
79 version by Pavel Raiskup.
81 tests/Makefile.am | 3 ++-
82 tests/test_scripts.sh | 24 ++++++++++++++----------
83 tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++
84 3 files changed, 55 insertions(+), 11 deletions(-)
86 commit 948f5865fe65061e215baa8ed63be570bae152ea
87 Author: Lasse Collin <lasse.collin@tukaani.org>
88 Date: 2014-06-11 21:03:25 +0300
90 xzgrep: Add a test for the previous fix.
92 This is a simplified version of Pavel Raiskup's
95 tests/test_scripts.sh | 26 ++++++++++++++++++++++----
96 1 file changed, 22 insertions(+), 4 deletions(-)
98 commit 64228d0d5cd75af31e5c330cc3a792016413fabf
99 Author: Lasse Collin <lasse.collin@tukaani.org>
100 Date: 2014-06-11 20:43:28 +0300
102 xzgrep: exit 0 when at least one file matches.
104 Mimic the original grep behavior and return exit_success when
105 at least one xz compressed file matches given pattern.
108 https://bugzilla.redhat.com/show_bug.cgi?id=1108085
110 Thanks to Pavel Raiskup for the patch.
112 src/scripts/xzgrep.in | 15 +++++++++++++--
113 1 file changed, 13 insertions(+), 2 deletions(-)
115 commit 98d3368ef4bff0face78d6932f2156730c8cb658
116 Author: Lasse Collin <lasse.collin@tukaani.org>
117 Date: 2014-04-25 17:53:42 +0300
119 Build: Fix the combination of --disable-xzdec --enable-lzmadec.
121 In this case "make install" could fail if the man page directory
122 didn't already exist at the destination. If it did exist, a
123 dangling symlink was created there. Now the link is omitted
124 instead. This isn't the best fix but it's better than the old
127 src/xzdec/Makefile.am | 10 +++++++++-
128 1 file changed, 9 insertions(+), 1 deletion(-)
130 commit ba3b5dd082db2cb5973e877a74221d739c663fb4
131 Author: Lasse Collin <lasse.collin@tukaani.org>
132 Date: 2014-04-25 17:44:26 +0300
134 Build: Add --disable-doc to configure.
138 configure.ac | 6 ++++++
139 3 files changed, 14 insertions(+)
141 commit 3d4575f2367fe8f1f2dcacba014e6c0aef388535
142 Author: Lasse Collin <lasse.collin@tukaani.org>
143 Date: 2014-04-24 18:06:24 +0300
147 Add a note about failing "make check". The source of
148 the problem should be fixed in libtool (if it really is
149 a libtool bug and not mine) but I'm unable to spend time
150 on that for now. Thanks to Nelson H. F. Beebe for reporting
153 Add a note about a possible need to run "ldconfig" after
156 INSTALL | 25 +++++++++++++++++++++++++
157 1 file changed, 25 insertions(+)
159 commit b9f0584e3eff421eadbb6604de0b0b40bf87e129
160 Author: Lasse Collin <lasse.collin@tukaani.org>
161 Date: 2014-04-09 17:26:10 +0300
163 xz: Rename a variable to avoid a namespace collision on Solaris.
165 I don't know the details but I have an impression that there's
166 no problem in practice if using GCC since people have built xz
167 with GCC (without patching xz), but renaming the variable cannot
170 Thanks to Mark Ashley.
172 src/xz/signals.c | 12 +++++++-----
173 1 file changed, 7 insertions(+), 5 deletions(-)
175 commit cc41bcaf77c9c27ec09ef033fb3300e994e828e6
176 Author: Lasse Collin <lasse.collin@tukaani.org>
177 Date: 2014-04-26 08:45:49 +0300
181 src/xz/coder.c | 4 ++--
182 1 file changed, 2 insertions(+), 2 deletions(-)
184 commit e34025d666852839388f997d076e3577847dd10f
185 Author: Lasse Collin <lasse.collin@tukaani.org>
186 Date: 2014-01-12 16:44:52 +0200
188 liblzma: Avoid C99 compound literal arrays.
190 MSVC 2013 doesn't like them. Maybe they aren't so good
191 for readability either since many aren't used to them.
193 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++---
194 1 file changed, 5 insertions(+), 3 deletions(-)
196 commit 0b6168974f1fac3a06157039235b66e4161b9b42
197 Author: Lasse Collin <lasse.collin@tukaani.org>
198 Date: 2014-01-12 12:50:30 +0200
200 liblzma: Remove a useless C99ism from sha256.c.
202 Unsurprisingly it makes no difference in compiled output.
204 src/liblzma/check/sha256.c | 2 +-
205 1 file changed, 1 insertion(+), 1 deletion(-)
207 commit 41e436076cfdcccc7e853de73b0d56b3d6d42053
208 Author: Lasse Collin <lasse.collin@tukaani.org>
209 Date: 2014-01-12 12:17:08 +0200
211 xz: Fix use of wrong variable.
213 Since the only call to suffix_set() uses optarg
214 as the argument, fixing this bug doesn't change
215 the behavior of the program.
217 src/xz/suffix.c | 2 +-
218 1 file changed, 1 insertion(+), 1 deletion(-)
220 commit c33efefd4ef0931e5795e13725d4bd2203571ce0
221 Author: Lasse Collin <lasse.collin@tukaani.org>
222 Date: 2014-04-26 08:37:00 +0300
224 Fix typos in comments.
226 src/liblzma/check/crc32_fast.c | 2 +-
227 1 file changed, 1 insertion(+), 1 deletion(-)
229 commit e560c82f1f5693d88db9dc71f656436135f17595
230 Author: Lasse Collin <lasse.collin@tukaani.org>
231 Date: 2013-11-26 18:20:16 +0200
236 1 file changed, 1 insertion(+)
238 commit 05192b32e553eac5dfbd646b6102d10187f29a05
239 Author: Lasse Collin <lasse.collin@tukaani.org>
240 Date: 2013-11-26 18:20:09 +0200
242 liblzma: Document the need for block->check for lzma_block_header_decode().
244 Thanks to Tomer Chachamu.
246 src/liblzma/api/lzma/block.h | 3 +++
247 1 file changed, 3 insertions(+)
249 commit 0f35eafe51db7b1eb0711bc8cc829ea6896b34f4
250 Author: Lasse Collin <lasse.collin@tukaani.org>
251 Date: 2013-10-26 12:47:04 +0300
256 1 file changed, 4 deletions(-)
258 commit fc9eaf81d718488b052e5c65f9d6f08acc858873
259 Author: Lasse Collin <lasse.collin@tukaani.org>
260 Date: 2013-09-11 14:40:35 +0300
262 Build: Remove a comment about Automake 1.10 from configure.ac.
264 The previous commit supports silent rules and that requires
268 1 file changed, 2 deletions(-)
270 commit 090c69dda59e00fc86d0792879bd921bb1156029
271 Author: Lasse Collin <lasse.collin@tukaani.org>
272 Date: 2013-09-09 20:37:03 +0300
274 Build: Create liblzma.pc in a src/liblzma/Makefile.am.
276 Previously it was done in configure, but doing that goes
277 against the Autoconf manual. Autoconf requires that it is
278 possible to override e.g. prefix after running configure
279 and that doesn't work correctly if liblzma.pc is created
282 A potential downside of this change is that now e.g.
283 libdir in liblzma.pc is a standalone string instead of
284 being defined via ${prefix}, so if one overrides prefix
285 when running pkg-config the libdir won't get the new value.
286 I don't know if this matters in practice.
288 Thanks to Vincent Torri.
291 src/liblzma/Makefile.am | 20 ++++++++++++++++++++
292 2 files changed, 20 insertions(+), 1 deletion(-)
294 commit 1f35331332273de01c46897cafdb37f8e6e285db
295 Author: Anders F Bjorklund <afb@users.sourceforge.net>
296 Date: 2013-08-02 15:59:46 +0200
298 macosx: separate liblzma package
300 macosx/build.sh | 23 +++++++++++++++--------
301 1 file changed, 15 insertions(+), 8 deletions(-)
303 commit 1415f1d94644f28e07d544bc1e06b0636081abee
304 Author: Anders F Bjorklund <afb@users.sourceforge.net>
305 Date: 2013-08-02 15:58:44 +0200
307 macosx: set minimum to leopard
309 macosx/build.sh | 13 ++++++++-----
310 1 file changed, 8 insertions(+), 5 deletions(-)
312 commit 41913949b93414a21ae9fb1a8e9b7cdde8b37f98
313 Author: Anders F Bjorklund <afb@users.sourceforge.net>
314 Date: 2011-08-07 13:13:30 +0200
316 move configurables into variables
318 macosx/build.sh | 25 ++++++++++++++++++-------
319 1 file changed, 18 insertions(+), 7 deletions(-)
321 commit 3dffda33f47dc220bb1738564fe02effa9da4c8e
322 Author: Lasse Collin <lasse.collin@tukaani.org>
323 Date: 2013-07-15 14:08:02 +0300
325 Build: Fix the detection of missing CRC32.
327 Thanks to Vincent Torri.
330 1 file changed, 1 insertion(+), 1 deletion(-)
332 commit b69900ed0b2f914fc6c0a180dcb522dbe5b80ea7
333 Author: Lasse Collin <lasse.collin@tukaani.org>
334 Date: 2013-06-30 18:02:27 +0300
336 Man pages: Use similar syntax for synopsis as in xz.
338 The man pages of lzmainfo, xzmore, and xzdec had similar
339 constructs as the man page of xz had before the commit
340 eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond
341 didn't mention these man pages in his bug report, but
342 it's nice to be consistent.
344 src/lzmainfo/lzmainfo.1 | 4 ++--
345 src/scripts/xzmore.1 | 6 +++---
346 src/xzdec/xzdec.1 | 10 +++++-----
347 3 files changed, 10 insertions(+), 10 deletions(-)
349 commit cf4a1e1879d89be314ef3c064bd2656ea452f87e
350 Author: Lasse Collin <lasse.collin@tukaani.org>
351 Date: 2013-06-30 15:55:09 +0300
353 Update NEWS for 5.0.5.
355 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
356 1 file changed, 52 insertions(+)
358 commit cb94bb6d1f34e1e93c2d634ea9c3b7dfb3981d05
359 Author: Lasse Collin <lasse.collin@tukaani.org>
360 Date: 2013-06-30 15:54:38 +0300
362 Bump version and soname for 5.0.5.
364 src/liblzma/Makefile.am | 2 +-
365 src/liblzma/api/lzma/version.h | 2 +-
366 2 files changed, 2 insertions(+), 2 deletions(-)
368 commit b7dee202d5b041ccae028d0c5433b83cecbe9e5d
369 Author: Lasse Collin <lasse.collin@tukaani.org>
370 Date: 2013-06-28 23:56:17 +0300
372 xz: Fix return value type in io_write_buf().
374 It didn't affect the behavior of the code since -1
377 src/xz/file_io.c | 2 +-
378 1 file changed, 1 insertion(+), 1 deletion(-)
380 commit 265e7b44d804b47373f10b7da28350db7611cea6
381 Author: Lasse Collin <lasse.collin@tukaani.org>
382 Date: 2013-06-28 18:46:13 +0300
384 xz: Remove an outdated NetBSD-specific comment.
386 Nowadays errno == EFTYPE is documented in open(2).
388 src/xz/file_io.c | 4 ----
389 1 file changed, 4 deletions(-)
391 commit 78c2f8db902195468b8249c432252a6b281db836
392 Author: Lasse Collin <lasse.collin@tukaani.org>
393 Date: 2013-06-28 18:09:47 +0300
395 xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls.
397 POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on
398 error and "other than -1" on success. This is how it is
399 documented e.g. on OpenBSD too. On Linux, success with
400 F_SETFL is always 0 (at least accorinding to fcntl(2)
401 from man-pages 3.51).
403 src/xz/file_io.c | 8 ++++----
404 1 file changed, 4 insertions(+), 4 deletions(-)
406 commit 91750dff8f2c654ff636f12a2acdffe5492374b3
407 Author: Lasse Collin <lasse.collin@tukaani.org>
408 Date: 2013-06-28 17:36:47 +0300
410 xz: Fix use of wrong variable in a fcntl() call.
412 Due to a wrong variable name, when writing a sparse file
413 to standard output, *all* file status flags were cleared
414 (to the extent the operating system allowed it) instead of
415 only clearing the O_APPEND flag. In practice this worked
416 fine in the common situations on GNU/Linux, but I didn't
417 check how it behaved elsewhere.
419 The original flags were still restored correctly. I still
420 changed the code to use a separate boolean variable to
421 indicate when the flags should be restored instead of
422 relying on a special value in stdout_flags.
424 src/xz/file_io.c | 24 +++++++++++++-----------
425 1 file changed, 13 insertions(+), 11 deletions(-)
427 commit e11888a79a4a77a69afde60445880d44f63d01aa
428 Author: Lasse Collin <lasse.collin@tukaani.org>
429 Date: 2013-06-26 13:30:57 +0300
431 xz: Check the value of lzma_stream_flags.version in --list.
433 It is a no-op for now, but if an old xz version is used
434 together with a newer liblzma that supports something new,
435 then this check becomes important and will stop the old xz
436 from trying to parse files that it won't understand.
438 src/xz/list.c | 14 ++++++++++++++
439 1 file changed, 14 insertions(+)
441 commit f39ddd88f3222219ada88998cf30abfdd3e0e96c
442 Author: Lasse Collin <lasse.collin@tukaani.org>
443 Date: 2013-06-26 12:17:00 +0300
445 Build: Require Automake 1.12 and use serial-tests option.
447 It should actually still work with Automake 1.10 if
448 the serial-tests option is removed. Automake 1.13 started
449 using parallel tests by default and the option to get
450 the old behavior isn't supported before 1.12.
452 At least for now, parallel tests don't improve anything
453 in XZ Utils but they hide the progress output from
456 configure.ac | 4 +++-
457 1 file changed, 3 insertions(+), 1 deletion(-)
459 commit cb84e278027a90e9827a6f4d3bb0b4d4744a2fbb
460 Author: Lasse Collin <lasse.collin@tukaani.org>
461 Date: 2013-06-23 17:36:47 +0300
463 xz: Validate Uncompressed Size from Block Header in list.c.
465 This affects only "xz -lvv". Normal decompression with xz
466 already detected if Block Header and Index had mismatched
467 Uncompressed Size fields. So this just makes "xz -lvv"
468 show such files as corrupt instead of showing the
469 Uncompressed Size from Index.
471 src/xz/list.c | 14 +++++++++++++-
472 1 file changed, 13 insertions(+), 1 deletion(-)
474 commit f01780fce454c7489f7dcbf806299b50da5f51b7
475 Author: Lasse Collin <lasse.collin@tukaani.org>
476 Date: 2013-06-26 10:58:58 +0300
481 1 file changed, 2 insertions(+)
483 commit d98ede7d700b892e32d9c2f46563b6ebc566786d
484 Author: Lasse Collin <lasse.collin@tukaani.org>
485 Date: 2013-06-21 22:04:45 +0300
487 xz: Make the man page more friendly to doclifter.
489 Thanks to Eric S. Raymond.
491 src/xz/xz.1 | 7 ++++---
492 1 file changed, 4 insertions(+), 3 deletions(-)
494 commit 19b447b64b3f520cd5b11429000b092f7c76709b
495 Author: Lasse Collin <lasse.collin@tukaani.org>
496 Date: 2013-06-21 21:54:59 +0300
498 xz: A couple of man page fixes.
500 Now the interaction of presets and custom filter chains
501 is described correctly. Earlier it contradicted itself.
503 Thanks to DevHC who reported these issues on IRC to me
506 src/xz/xz.1 | 35 +++++++++++++++++++++++------------
507 1 file changed, 23 insertions(+), 12 deletions(-)
509 commit 45edf2966fc9a4d2eae8f84b2fa027fb4fa1df8b
510 Author: Lasse Collin <lasse.collin@tukaani.org>
511 Date: 2013-06-21 21:50:26 +0300
513 xz: Fix interaction between preset and custom filter chains.
515 There was somewhat illogical behavior when --extreme was
516 specified and mixed with custom filter chains.
518 Before this commit, "xz -9 --lzma2 -e" was equivalent
519 to "xz --lzma2". After it is equivalent to "xz -6e"
520 (all earlier preset options get forgotten when a custom
521 filter chain is specified and the default preset is 6
522 to which -e is applied). I find this less illogical.
524 This also affects the meaning of "xz -9e --lzma2 -7".
525 Earlier it was equivalent to "xz -7e" (the -e specified
526 before a custom filter chain wasn't forgotten). Now it
527 is "xz -7". Note that "xz -7e" still is the same as "xz -e7".
529 Hopefully very few cared about this in the first place,
530 so pretty much no one should even notice this change.
532 Thanks to Conley Moorhous.
534 src/xz/coder.c | 35 +++++++++++++++++++++--------------
535 1 file changed, 21 insertions(+), 14 deletions(-)
537 commit b065984e5a9272eb50bc0c6d3731e6199c0ae8a8
538 Author: Lasse Collin <lasse.collin@tukaani.org>
539 Date: 2011-04-08 17:53:05 +0300
541 xz: Change size_t to uint32_t in a few places.
543 src/xz/coder.c | 6 +++---
544 src/xz/coder.h | 2 +-
545 2 files changed, 4 insertions(+), 4 deletions(-)
547 commit 32be621f52f2e1686db88baa7b01dc1ae338f426
548 Author: Lasse Collin <lasse.collin@tukaani.org>
549 Date: 2013-04-27 22:07:46 +0300
551 Build: Use -Wvla with GCC if supported.
553 Variable-length arrays are mandatory in C99 but optional in C11.
554 The code doesn't currently use any VLAs and it shouldn't in the
555 future either to stay compatible with C11 without requiring any
556 optional C11 features.
559 1 file changed, 1 insertion(+)
561 commit efb07cfba65e9e05984c02cd796c1b0338ce04dc
562 Author: Lasse Collin <lasse.collin@tukaani.org>
563 Date: 2013-04-15 19:29:09 +0300
565 xzdec: Improve the --help message.
567 The options are now ordered in the same order as in xz's help
570 Descriptions were added to the options that are ignored.
571 I left them in parenthesis even if it looks a bit weird
572 because I find it easier to spot the ignored vs. non-ignored
573 options from the list that way.
575 src/xzdec/xzdec.c | 10 +++++-----
576 1 file changed, 5 insertions(+), 5 deletions(-)
578 commit e3c8be13699e2813f5e2879d8187444b46d82d89
579 Author: Lasse Collin <lasse.collin@tukaani.org>
580 Date: 2013-04-05 19:25:40 +0300
585 1 file changed, 2 insertions(+)
587 commit ad8282efe483612f6b5544f9a0d2e4914fb2532a
588 Author: Jeff Bastian <jbastian@redhat.com>
589 Date: 2013-04-03 13:59:17 +0200
591 xzgrep: make the '-h' option to be --no-filename equivalent
593 * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
595 src/scripts/xzgrep.in | 2 +-
596 1 file changed, 1 insertion(+), 1 deletion(-)
598 commit 9271a3eb0e022b23e8712154be851d0afe4c02e4
599 Author: Lasse Collin <lasse.collin@tukaani.org>
600 Date: 2013-04-05 19:34:09 +0300
602 liblzma: Be less picky in lzma_alone_decoder().
604 To avoid false positives when detecting .lzma files,
605 rare values in dictionary size and uncompressed size fields
606 were rejected. They will still be rejected if .lzma files
607 are decoded with lzma_auto_decoder(), but when using
608 lzma_alone_decoder() directly, such files will now be accepted.
609 Hopefully this is an OK compromise.
611 This doesn't affect xz because xz still has its own file
612 format detection code. This does affect lzmadec though.
613 So after this commit lzmadec will accept files that xz or
614 xz-emulating-lzma doesn't.
616 NOTE: lzma_alone_decoder() still won't decode all .lzma files
617 because liblzma's LZMA decoder doesn't support lc + lp > 4.
620 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827
623 src/liblzma/common/alone_decoder.c
624 src/liblzma/common/alone_decoder.h
626 src/liblzma/common/alone_decoder.c | 22 ++++++++++++++--------
627 src/liblzma/common/alone_decoder.h | 5 +++--
628 src/liblzma/common/auto_decoder.c | 2 +-
629 3 files changed, 18 insertions(+), 11 deletions(-)
631 commit 211b931cee58626c1d2e021810cb108cb5cbc10f
632 Author: Lasse Collin <lasse.collin@tukaani.org>
633 Date: 2013-03-05 19:14:50 +0200
635 Avoid unneeded use of awk in xzless.
637 Use "read" instead of "awk" in xzless to get the version
638 number of "less". The need for awk was introduced in
639 the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e.
641 Thanks to Ariel P for the patch.
643 src/scripts/xzless.in | 3 +--
644 1 file changed, 1 insertion(+), 2 deletions(-)
646 commit 9f62fd9605eade23b62b07a235d1f02156f7a5c6
647 Author: Jonathan Nieder <jrnieder@gmail.com>
648 Date: 2012-11-19 00:10:10 -0800
650 xzless: Make "less -V" parsing more robust
652 In v4.999.9beta~30 (xzless: Support compressed standard input,
653 2009-08-09), xzless learned to parse ‘less -V’ output to figure out
654 whether less is new enough to handle $LESSOPEN settings starting
655 with “|-”. That worked well for a while, but the version string from
656 ‘less’ versions 448 (June, 2012) is misparsed, producing a warning:
658 $ xzless /tmp/test.xz; echo $?
659 /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
660 integer expression expected
663 More precisely, modern ‘less’ lists the regexp implementation along
664 with its version number, and xzless passes the entire version number
665 with attached parenthetical phrase as a number to "test $a -gt $b",
666 producing the above confusing message.
668 $ less-444 -V | head -1
671 less 456 (no regular expressions)
673 So relax the pattern matched --- instead of expecting "less <number>",
674 look for a line of the form "less <number>[ (extra parenthetical)]".
675 While at it, improve the behavior when no matching line is found ---
676 instead of producing a cryptic message, we can fall back on a LESSPIPE
677 setting that is supported by all versions of ‘less’.
679 The implementation uses "awk" for simplicity. Hopefully that’s
682 Reported-by: Jörg-Volker Peetz <jvpeetz@web.de>
683 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
685 src/scripts/xzless.in | 3 ++-
686 1 file changed, 2 insertions(+), 1 deletion(-)
688 commit 1d05980f5b5c2c94d833001daccacce4a466876e
689 Author: Lasse Collin <lasse.collin@tukaani.org>
690 Date: 2012-10-03 15:54:24 +0300
692 xz: Fix the note about --rsyncable on the man page.
694 src/xz/xz.1 | 17 +++++++++--------
695 1 file changed, 9 insertions(+), 8 deletions(-)
697 commit fb68497333598688d309a92838d91fd560f7e9f0
698 Author: Lasse Collin <lasse.collin@tukaani.org>
699 Date: 2012-09-28 20:11:09 +0300
701 xz: Improve handling of failed realloc in xrealloc.
703 Thanks to Jim Meyering.
705 src/xz/util.c | 14 ++++++++++++--
706 1 file changed, 12 insertions(+), 2 deletions(-)
708 commit 75013db6d4d63c195bd8b8d45729b4be0665a812
709 Author: Lasse Collin <lasse.collin@tukaani.org>
710 Date: 2012-12-15 20:01:02 +0200
712 A few typo fixes to comments and the xz man page.
714 Thanks to Jim Meyering.
717 src/liblzma/check/sha256.c | 1 -
719 3 files changed, 3 insertions(+), 4 deletions(-)
721 commit e44b21839b1dcbac5097be39b87dd2ddb6e114fd
722 Author: Lasse Collin <lasse.collin@tukaani.org>
723 Date: 2012-08-02 17:13:30 +0300
725 Build: Bump gettext version requirement to 0.18.
727 Otherwise too old version of m4/lib-link.m4 gets included
728 when autoreconf -fi is run.
731 1 file changed, 1 insertion(+), 1 deletion(-)
733 commit fd3dbb23ca7e75a7a888d7e897c381dc06308307
734 Author: Lasse Collin <lasse.collin@tukaani.org>
735 Date: 2012-07-05 07:36:28 +0300
737 Tests: Remove tests/test_block.c that had gotten committed accidentally.
739 tests/test_block.c | 52 ----------------------------------------------------
740 1 file changed, 52 deletions(-)
742 commit 05a735d279d74af437c31f25f69aded4713c1a3d
743 Author: Lasse Collin <lasse.collin@tukaani.org>
744 Date: 2012-07-05 07:33:35 +0300
746 Build: Include macosx/build.sh in the distribution.
748 It has been in the Git repository since 2010 but probably
749 few people have seen it since it hasn't been included in
750 the release tarballs. :-(
753 1 file changed, 1 insertion(+)
755 commit 4e6d62793b5e7b87edcc93c7ded072c1ecd94173
756 Author: Lasse Collin <lasse.collin@tukaani.org>
757 Date: 2012-07-05 07:24:45 +0300
759 Docs: Fix the name LZMA Utils -> XZ Utils in debug/README.
762 1 file changed, 1 insertion(+), 1 deletion(-)
764 commit dd95b5e7614baf1f07a1316b5106bd616a9efa79
765 Author: Lasse Collin <lasse.collin@tukaani.org>
766 Date: 2012-07-05 07:23:17 +0300
768 Include debug/translation.bash in the distribution.
770 Also fix the script name mentioned in README.
773 debug/Makefile.am | 3 +++
774 2 files changed, 5 insertions(+), 2 deletions(-)
776 commit 20778053a07eb90c159c1377ca8dc05a90fd530b
777 Author: Lasse Collin <lasse.collin@tukaani.org>
778 Date: 2012-06-22 14:36:16 +0300
780 xz: Update man page date to match the latest update.
783 1 file changed, 1 insertion(+), 1 deletion(-)
785 commit 2cefa84af676da37d7e9c466d55d46c67ab00c22
786 Author: Lasse Collin <lasse.collin@tukaani.org>
787 Date: 2012-06-22 10:25:43 +0300
789 Bump version and soname for 5.0.4.
791 src/liblzma/Makefile.am | 2 +-
792 src/liblzma/api/lzma/version.h | 2 +-
793 2 files changed, 2 insertions(+), 2 deletions(-)
795 commit 433fec191a17e45690809e54146ea7a773f54cff
796 Author: Lasse Collin <lasse.collin@tukaani.org>
797 Date: 2012-06-22 10:25:09 +0300
799 Update NEWS for 5.0.4.
801 NEWS | 25 +++++++++++++++++++------
802 1 file changed, 19 insertions(+), 6 deletions(-)
804 commit 711fa680f552a4003df73b37e6dc4d6e00b47bcd
805 Author: Lasse Collin <lasse.collin@tukaani.org>
806 Date: 2012-06-18 21:27:47 +0300
808 Docs: Language fix to 01_compress_easy.c.
810 Thanks to Jonathan Nieder.
812 doc/examples/01_compress_easy.c | 2 +-
813 1 file changed, 1 insertion(+), 1 deletion(-)
815 commit 3d7ab1dc61a75c560828be5df96598388b771456
816 Author: Lasse Collin <lasse.collin@tukaani.org>
817 Date: 2012-06-14 20:15:30 +0300
819 Fix the top-level Makefile.am for the new example programs.
821 Makefile.am | 12 ++++++++++--
822 1 file changed, 10 insertions(+), 2 deletions(-)
824 commit ef8b8e5f111469b5bc005975f7abb9abbd372b25
825 Author: Lasse Collin <lasse.collin@tukaani.org>
826 Date: 2012-06-14 10:52:33 +0300
828 Docs: Add new example programs.
830 These have more comments than the old examples and
831 human-readable error messages. More tutorial-like examples
832 are needed but these are a start.
834 doc/examples/00_README.txt | 27 ++++
835 doc/examples/01_compress_easy.c | 297 ++++++++++++++++++++++++++++++++++++++
836 doc/examples/02_decompress.c | 287 ++++++++++++++++++++++++++++++++++++
837 doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++
838 doc/examples/Makefile | 23 +++
839 5 files changed, 827 insertions(+)
841 commit 75c149bc8045a26f8bc719cb8ed20668dab79091
842 Author: Lasse Collin <lasse.collin@tukaani.org>
843 Date: 2012-06-14 10:33:27 +0300
845 Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old.
847 It is good to keep these around to so that if someone has
848 copied the decompressor bug from xz_pipe_decomp.c he has
849 an example how to easily fix it.
851 doc/examples/xz_pipe_comp.c | 127 --------------------------------------
852 doc/examples/xz_pipe_decomp.c | 123 ------------------------------------
853 doc/examples_old/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++
854 doc/examples_old/xz_pipe_decomp.c | 123 ++++++++++++++++++++++++++++++++++++
855 4 files changed, 250 insertions(+), 250 deletions(-)
857 commit 456307ebf947a5f50bd995d617b99c1215572308
858 Author: Lasse Collin <lasse.collin@tukaani.org>
859 Date: 2012-06-14 10:33:01 +0300
861 Docs: Fix a bug in xz_pipe_decomp.c example program.
863 doc/examples/xz_pipe_decomp.c | 10 +++++++++-
864 1 file changed, 9 insertions(+), 1 deletion(-)
866 commit 4c310b8a29bc257e6ccbd2310f12f258678f3fef
867 Author: Lasse Collin <lasse.collin@tukaani.org>
868 Date: 2012-05-31 15:53:25 +0300
870 Translations: Update the Italian translation.
872 Thanks to Milo Casagrande.
874 po/it.po | 311 ++++++++++++++++++++++++++++++---------------------------------
875 1 file changed, 146 insertions(+), 165 deletions(-)
877 commit ec32b79366dc47a55ea877589df9e8509ba113a7
878 Author: Lasse Collin <lasse.collin@tukaani.org>
879 Date: 2012-05-30 23:15:07 +0300
881 Translations: Update the French translation.
883 Thanks to Adrien Nader.
885 po/fr.po | 237 +++++++++++++++++++++++++++++++--------------------------------
886 1 file changed, 118 insertions(+), 119 deletions(-)
888 commit dd06f40e4dd7649525e4f28d890dc238a3aa37e5
889 Author: Lasse Collin <lasse.collin@tukaani.org>
890 Date: 2012-05-29 22:26:27 +0300
892 Translations: Update the German translation.
894 po/de.po | 169 ++++++++++++++++++++++++++++++++++-----------------------------
895 1 file changed, 91 insertions(+), 78 deletions(-)
897 commit c66808d1f55d0149ed57c536cc9b52e9c8b583bc
898 Author: Lasse Collin <lasse.collin@tukaani.org>
899 Date: 2012-05-29 22:12:57 +0300
901 Translations: Update Polish translation.
903 po/pl.po | 150 ++++++++++++++++++++++++++++++++++-----------------------------
904 1 file changed, 82 insertions(+), 68 deletions(-)
906 commit 556c22dfed195c1466b298183b850d6c28544900
907 Author: Lasse Collin <lasse.collin@tukaani.org>
908 Date: 2012-05-29 13:10:36 +0300
910 Preliminary NEWS for 5.0.4.
912 NEWS | 24 ++++++++++++++++++++++++
913 1 file changed, 24 insertions(+)
915 commit dd13b66bf582f49d3aec36e3410ff8541b7506da
916 Author: Lasse Collin <lasse.collin@tukaani.org>
917 Date: 2012-05-28 20:42:11 +0300
919 liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.
921 lzma_code() could incorrectly return LZMA_BUF_ERROR if
922 all of the following was true:
924 - The caller knows how many bytes of output to expect
925 and only provides that much output space.
927 - When the last output bytes are decoded, the
928 caller-provided input buffer ends right before
929 the LZMA2 end of payload marker. So LZMA2 won't
930 provide more output anymore, but it won't know it
931 yet and thus won't return LZMA_STREAM_END yet.
933 - A BCJ filter is in use and it hasn't left any
934 unfiltered bytes in the temp buffer. This can happen
935 with any BCJ filter, but in practice it's more likely
936 with filters other than the x86 BCJ.
938 Another situation where the bug can be triggered happens
939 if the uncompressed size is zero bytes and no output space
940 is provided. In this case the decompression can fail even
941 if the whole input file is given to lzma_code().
943 A similar bug was fixed in XZ Embedded on 2011-09-19.
945 src/liblzma/simple/simple_coder.c | 2 +-
946 tests/Makefile.am | 4 +-
947 tests/test_bcj_exact_size.c | 112 ++++++++++++++++++++++++++++++++++++++
948 3 files changed, 116 insertions(+), 2 deletions(-)
950 commit a0223bf796fdaad51a11ad02c4195c694849cc78
951 Author: Lasse Collin <lasse.collin@tukaani.org>
952 Date: 2012-05-28 15:38:32 +0300
957 1 file changed, 1 insertion(+)
959 commit 86e57e4bfefe3fd8e13615c41604165bb2359501
960 Author: Lasse Collin <lasse.collin@tukaani.org>
961 Date: 2012-05-28 15:37:43 +0300
963 xz: Don't show a huge number in -vv when memory limit is disabled.
965 src/xz/message.c | 12 +++++++++++-
966 1 file changed, 11 insertions(+), 1 deletion(-)
968 commit 13e44a94da19d1ef14832ff12d3877a6fd2c54c0
969 Author: Lasse Collin <lasse.collin@tukaani.org>
970 Date: 2012-05-27 22:30:17 +0300
972 xz: Document the "summary" lines of --robot -lvv.
974 This documents only the columns that are in v5.0.
975 The new columns added in the master branch aren't
976 necessarily stable yet.
978 src/xz/xz.1 | 19 +++++++++++++++++++
979 1 file changed, 19 insertions(+)
981 commit 2f90345e13ab8fea4de45a4f1caa73ebc63a62e7
982 Author: Lasse Collin <lasse.collin@tukaani.org>
983 Date: 2012-05-27 21:53:20 +0300
985 xz: Fix output of verbose --robot --list modes.
987 It printed the filename in "filename (x/y)" format
988 which it obviously shouldn't do in robot mode.
990 src/xz/message.c | 2 +-
991 1 file changed, 1 insertion(+), 1 deletion(-)
993 commit 8d4864f53ffae5d862c691a0b334a6b69bc5366e
994 Author: Lasse Collin <lasse.collin@tukaani.org>
995 Date: 2012-05-10 21:15:17 +0300
1000 1 file changed, 1 insertion(+)
1002 commit 35e9c58abb0ce3993da844aaeaa3e7231cd2be8f
1003 Author: Lasse Collin <lasse.collin@tukaani.org>
1004 Date: 2012-05-10 21:14:16 +0300
1006 Docs: Cleanup line wrapping a bit.
1008 README | 12 ++++++------
1009 doc/history.txt | 49 +++++++++++++++++++++++++------------------------
1010 2 files changed, 31 insertions(+), 30 deletions(-)
1012 commit 532b3e4c568a228309b56f95c13435fd078dbe02
1013 Author: Benno Schulenberg <bensberg@justemail.net>
1014 Date: 2012-03-13 22:04:04 +0100
1016 Fix a few typos and add some missing articles in some documents.
1018 Also hyphenate several compound adjectives.
1020 Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
1023 README | 42 ++++++++++++++++++++---------------------
1024 doc/faq.txt | 24 ++++++++++++------------
1025 doc/history.txt | 58 ++++++++++++++++++++++++++++-----------------------------
1026 4 files changed, 65 insertions(+), 65 deletions(-)
1028 commit afb6ce8c82ffef8f2505a3759da72a733c7b0b8f
1029 Author: Lasse Collin <lasse.collin@tukaani.org>
1030 Date: 2012-04-29 11:51:25 +0300
1032 Windows: Update notes about static linking with MSVC.
1034 windows/README-Windows.txt | 13 +++++++++----
1035 1 file changed, 9 insertions(+), 4 deletions(-)
1037 commit 7c3ba2ed5c3c878d4a14ca549b46dbff60c6d565
1038 Author: Lasse Collin <lasse.collin@tukaani.org>
1039 Date: 2012-04-19 15:25:26 +0300
1041 liblzma: Remove outdated comments.
1043 src/liblzma/simple/simple_coder.c | 3 ---
1044 src/liblzma/simple/simple_private.h | 3 +--
1045 2 files changed, 1 insertion(+), 5 deletions(-)
1047 commit f55db9c187651094f43881c49db2b2d9ffee6b80
1048 Author: Lasse Collin <lasse.collin@tukaani.org>
1049 Date: 2012-04-19 14:17:52 +0300
1051 DOS: Link against DJGPP's libemu to support FPU emulation.
1053 This way xz should work on 386SX and 486SX. Floating point
1054 only is needed for verbose output in xz.
1057 1 file changed, 1 insertion(+), 1 deletion(-)
1059 commit 203edff4c761dbd7cac76ea66e4eed501c23e7a3
1060 Author: Lasse Collin <lasse.collin@tukaani.org>
1061 Date: 2012-04-19 13:58:55 +0300
1063 Docs: Update MINIX 3 information in INSTALL.
1065 INSTALL | 8 +++++---
1066 1 file changed, 5 insertions(+), 3 deletions(-)
1068 commit f0a8f95c215628967b7cf9bd9b0a9e4172f50bb4
1069 Author: Lasse Collin <lasse.collin@tukaani.org>
1070 Date: 2012-02-22 14:23:13 +0200
1075 1 file changed, 1 insertion(+)
1077 commit b7ad23fa78646036c0290cd91eada939c9a31526
1078 Author: Lasse Collin <lasse.collin@tukaani.org>
1079 Date: 2012-02-22 14:02:34 +0200
1081 Fix exit status of xzgrep when grepping binary files.
1083 When grepping binary files, grep may exit before it has
1084 read all the input. In this case, gzip -q returns 2 (eating
1085 SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status
1086 (e.g. 141). This causes wrong exit status when grepping
1087 xz- or bzip2-compressed binary files.
1089 The fix checks for the special exit status that indicates SIGPIPE.
1090 It uses kill -l which should be supported everywhere since it
1091 is in both SUSv2 (1997) and POSIX.1-2008.
1093 Thanks to James Buren for the bug report.
1095 src/scripts/xzgrep.in | 3 ++-
1096 1 file changed, 2 insertions(+), 1 deletion(-)
1098 commit 4e19fbb04a0035030406482319e264426459eb24
1099 Author: Lasse Collin <lasse.collin@tukaani.org>
1100 Date: 2012-02-22 12:08:43 +0200
1105 1 file changed, 1 insertion(+)
1107 commit c6fa03a427e3d1320794102cee3ff4f5ae00eb36
1108 Author: Lasse Collin <lasse.collin@tukaani.org>
1109 Date: 2012-05-24 18:47:52 +0300
1111 Fix compiling with IBM XL C on AIX.
1113 INSTALL | 36 ++++++++++++++++++++++--------------
1114 configure.ac | 6 +++++-
1115 2 files changed, 27 insertions(+), 15 deletions(-)
1117 commit 7b6ffc98645e1b3b302b6680be0a901d1ebf7358
1118 Author: Lasse Collin <lasse.collin@tukaani.org>
1119 Date: 2012-05-24 18:37:08 +0300
1121 Build: Upgrade m4/acx_pthread.m4 to the latest version.
1123 It was renamed to ax_pthread.m4 in Autoconf Archive.
1126 m4/acx_pthread.m4 | 279 ------------------------------------------------
1127 m4/ax_pthread.m4 | 309 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1128 3 files changed, 310 insertions(+), 280 deletions(-)
1130 commit bfac2be5023994fcc53de2844e7dd3af61910dc2
1131 Author: Lasse Collin <lasse.collin@tukaani.org>
1132 Date: 2012-01-10 17:13:03 +0200
1134 Tests: Fix a compiler warning with _FORTIFY_SOURCE.
1137 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385
1139 tests/create_compress_files.c | 3 ++-
1140 1 file changed, 2 insertions(+), 1 deletion(-)
1142 commit df85e156716a4eecb7e2978691f03f729444d998
1143 Author: Lasse Collin <lasse.collin@tukaani.org>
1144 Date: 2011-12-19 21:21:29 +0200
1146 Docs: Explain the stable releases better in README.
1149 1 file changed, 5 insertions(+), 1 deletion(-)
1151 commit d06d32f108c8278c25c24b2e8666bda7b2ec23b5
1152 Author: Lasse Collin <lasse.collin@tukaani.org>
1153 Date: 2011-11-04 17:57:16 +0200
1155 xz: Fix a typo in a comment.
1157 Thanks to Bela Lubkin.
1159 src/xz/args.c | 2 +-
1160 1 file changed, 1 insertion(+), 1 deletion(-)
1162 commit 636fdcfbf542f1e84db2c4736004d84be4b12c84
1163 Author: Lasse Collin <lasse.collin@tukaani.org>
1164 Date: 2011-11-03 17:08:02 +0200
1169 1 file changed, 1 insertion(+)
1171 commit 55fd02f83ecd6cbd6925a3e8a3d43b8d4ef2a17c
1172 Author: Lasse Collin <lasse.collin@tukaani.org>
1173 Date: 2011-11-03 17:07:22 +0200
1175 xz: Fix xz on EBCDIC systems.
1177 Thanks to Chris Donawa.
1179 src/xz/coder.c | 5 ++++-
1180 1 file changed, 4 insertions(+), 1 deletion(-)
1182 commit 4052f36053b931bad847a36aabf1a07d0034e297
1183 Author: Lasse Collin <lasse.collin@tukaani.org>
1184 Date: 2011-09-06 12:03:41 +0300
1186 Build: Fix "make check" on Windows.
1188 tests/Makefile.am | 7 +++++--
1189 windows/build.bash | 2 ++
1190 2 files changed, 7 insertions(+), 2 deletions(-)
1192 commit 0f25758459c74c366a73f35d47ee12b75890bb79
1193 Author: Lasse Collin <lasse.collin@tukaani.org>
1194 Date: 2011-08-09 21:19:13 +0300
1199 1 file changed, 2 insertions(+)
1201 commit 70f03b51ffcb783646b20de8d97b6986c4280eec
1202 Author: Lasse Collin <lasse.collin@tukaani.org>
1203 Date: 2011-08-09 21:16:44 +0300
1205 Workaround unusual SIZE_MAX on SCO OpenServer.
1207 src/common/sysdefs.h | 9 ++++++---
1208 1 file changed, 6 insertions(+), 3 deletions(-)
1210 commit f138bdf76a70029e8360062a0b227936b83b24c9
1211 Author: Lasse Collin <lasse.collin@tukaani.org>
1212 Date: 2011-08-06 20:37:28 +0300
1214 Run the scripts with the correct shell in test_scripts.sh.
1216 The scripts are now made executable in the build tree.
1217 This way the scripts can be run like programs in
1218 test_scripts.sh. Previously test_scripts.sh always
1219 used sh but it's not correct if @POSIX_SHELL@ is set
1220 to something else by configure.
1222 Thanks to Jonathan Nieder for the patch.
1224 configure.ac | 8 ++++----
1225 tests/test_scripts.sh | 8 ++++----
1226 2 files changed, 8 insertions(+), 8 deletions(-)
1228 commit 2c144a0365c84dbf1b6722466746d42f2563a319
1229 Author: Lasse Collin <lasse.collin@tukaani.org>
1230 Date: 2011-07-31 11:01:47 +0300
1232 Fix exit status of "xzdiff foo.xz bar.xz".
1234 xzdiff was clobbering the exit status from diff in a case
1235 statement used to analyze the exit statuses from "xz" when
1236 its operands were two compressed files. Save and restore
1237 diff's exit status to fix this.
1239 The bug is inherited from zdiff in GNU gzip and was fixed
1240 there on 2009-10-09.
1242 Thanks to Jonathan Nieder for the patch and
1243 to Peter Pallinger for reporting the bug.
1245 src/scripts/xzdiff.in | 2 ++
1246 tests/Makefile.am | 4 +++-
1247 tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
1248 3 files changed, 59 insertions(+), 1 deletion(-)
1250 commit edf339227a966f24aebe1845fcca9429b8f6e318
1251 Author: Anders F Bjorklund <afb@users.sourceforge.net>
1252 Date: 2010-11-05 12:56:11 +0100
1254 add build script for macosx universal
1256 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1257 1 file changed, 92 insertions(+)
1259 commit 7fcc6334ea8923550ba6b5347ff99dc8432234b0
1260 Author: Lasse Collin <lasse.collin@tukaani.org>
1261 Date: 2011-06-16 12:15:29 +0300
1263 liblzma: Remove unneeded semicolon.
1265 src/liblzma/lz/lz_encoder_hash.h | 2 +-
1266 1 file changed, 1 insertion(+), 1 deletion(-)
1268 commit 631f4d3ae6adfda84d1a110781d9402c12e16cfc
1269 Author: Lasse Collin <lasse.collin@tukaani.org>
1270 Date: 2011-05-28 16:43:26 +0300
1272 Don't call close(-1) in tuklib_open_stdxxx() on error.
1274 Thanks to Jim Meyering.
1276 src/common/tuklib_open_stdxxx.c | 4 +++-
1277 1 file changed, 3 insertions(+), 1 deletion(-)
1279 commit c89faf4c9e5970e7f7f8a25521ed9aa62d1a2d9a
1280 Author: Lasse Collin <lasse.collin@tukaani.org>
1281 Date: 2011-05-28 09:47:56 +0300
1283 Translations: Update Italian translation.
1285 Thanks to Milo Casagrande.
1287 po/it.po | 333 +++++++++++++++++++++++++++++++++++----------------------------
1288 1 file changed, 184 insertions(+), 149 deletions(-)
1290 commit 6fe2fc9b6ab5bf6848140823e9536370834f42fb
1291 Author: Lasse Collin <lasse.collin@tukaani.org>
1292 Date: 2011-05-28 08:46:04 +0300
1294 Tests: Add a test file for the bug in the previous commit.
1296 tests/files/README | 4 ++++
1297 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes
1298 2 files changed, 4 insertions(+)
1300 commit 6c4d4db2bc8d8b682bd927144d37daa2ab21a6d6
1301 Author: Lasse Collin <lasse.collin@tukaani.org>
1302 Date: 2011-05-27 22:25:44 +0300
1304 xz: Fix error handling in xz -lvv.
1306 It could do an invalid free() and read past the end
1307 of the uninitialized filters array.
1309 src/xz/list.c | 21 ++++++---------------
1310 1 file changed, 6 insertions(+), 15 deletions(-)
1312 commit 844f84fcad9670c543550edf7c7e42630c8f7715
1313 Author: Lasse Collin <lasse.collin@tukaani.org>
1314 Date: 2011-05-27 22:09:49 +0300
1316 liblzma: Handle allocation failures correctly in lzma_index_init().
1318 Thanks to Jim Meyering.
1320 src/liblzma/common/index.c | 7 +++++--
1321 1 file changed, 5 insertions(+), 2 deletions(-)
1323 commit 240e8b9791df597063a3b68d04ffcb3aa4f2de6a
1324 Author: Lasse Collin <lasse.collin@tukaani.org>
1325 Date: 2011-05-23 18:30:30 +0300
1327 Build: Set GZIP_ENV=-9n in top-level Makefile.am.
1330 1 file changed, 3 insertions(+)
1332 commit e32cb264ea72a4459810f30abad70dae5a4fa17d
1333 Author: Lasse Collin <lasse.collin@tukaani.org>
1334 Date: 2011-05-21 16:59:22 +0300
1336 Bump version and soname for 5.0.3.
1338 src/liblzma/Makefile.am | 2 +-
1339 src/liblzma/api/lzma/version.h | 2 +-
1340 2 files changed, 2 insertions(+), 2 deletions(-)
1342 commit 65cff45f8fd1c250491557157cce0f5f38481082
1343 Author: Lasse Collin <lasse.collin@tukaani.org>
1344 Date: 2011-05-21 16:56:53 +0300
1346 Update NEWS for 5.0.3.
1348 NEWS | 36 ++++++++++++++++++++++++++++++++++--
1349 1 file changed, 34 insertions(+), 2 deletions(-)
1351 commit 316c67ffdae1f811ac95e838d5290a013bff4ca7
1352 Author: Lasse Collin <lasse.collin@tukaani.org>
1353 Date: 2011-05-21 16:28:44 +0300
1355 Add French translation.
1357 It is known that the BCJ filter --help text is only
1358 partially translated.
1361 po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1362 2 files changed, 865 insertions(+)
1364 commit 1931175eea6d09c0845d6e8e334a7333647f11c0
1365 Author: Lasse Collin <lasse.collin@tukaani.org>
1366 Date: 2011-05-21 15:12:10 +0300
1368 xz: Translate also the string used to print the program name.
1370 French needs a space before a colon, e.g. "xz : foo error".
1372 src/xz/message.c | 6 +++++-
1373 1 file changed, 5 insertions(+), 1 deletion(-)
1375 commit 841dc1f891b48b23f84c0f0e0c86c7c4e4bdcdf5
1376 Author: Lasse Collin <lasse.collin@tukaani.org>
1377 Date: 2011-05-17 12:26:28 +0300
1382 1 file changed, 3 insertions(+)
1384 commit 0f7e2d36240ebf1159d5fb85d8cd7422337a0d3f
1385 Author: Lasse Collin <lasse.collin@tukaani.org>
1386 Date: 2011-05-17 12:21:33 +0300
1388 Update INSTALL with a note about linker problem on OpenSolaris x86.
1390 INSTALL | 23 +++++++++++++++++------
1391 1 file changed, 17 insertions(+), 6 deletions(-)
1393 commit 793d857e01e1725f16fc0c8af8172c91a9e38617
1394 Author: Lasse Collin <lasse.collin@tukaani.org>
1395 Date: 2011-05-17 12:01:37 +0300
1397 Build: Fix initialization of enable_check_* variables in configure.ac.
1399 This doesn't matter much in practice since it is unlikely
1400 that anyone would have such environment variable names.
1402 Thanks to Wim Lewis.
1405 1 file changed, 1 insertion(+), 1 deletion(-)
1407 commit afcff45cee04c5c7d9c333504046ffb63d1418b5
1408 Author: Lasse Collin <lasse.collin@tukaani.org>
1409 Date: 2011-05-17 11:54:38 +0300
1411 Add underscores to attributes (__attribute((__foo__))).
1413 src/liblzma/common/alone_decoder.c | 2 +-
1414 src/liblzma/common/alone_encoder.c | 2 +-
1415 src/liblzma/common/block_encoder.c | 2 +-
1416 src/liblzma/common/common.c | 2 +-
1417 src/liblzma/common/common.h | 2 +-
1418 src/liblzma/common/index_decoder.c | 9 +++++----
1419 src/liblzma/common/index_encoder.c | 11 ++++++-----
1420 src/liblzma/delta/delta_encoder.c | 2 +-
1421 src/liblzma/lz/lz_decoder.c | 2 +-
1422 src/liblzma/lz/lz_encoder.c | 2 +-
1423 src/liblzma/simple/arm.c | 2 +-
1424 src/liblzma/simple/armthumb.c | 2 +-
1425 src/liblzma/simple/ia64.c | 2 +-
1426 src/liblzma/simple/powerpc.c | 2 +-
1427 src/liblzma/simple/simple_coder.c | 2 +-
1428 src/liblzma/simple/sparc.c | 2 +-
1429 src/lzmainfo/lzmainfo.c | 4 ++--
1430 src/xz/coder.c | 2 +-
1431 src/xz/hardware.h | 2 +-
1432 src/xz/message.c | 2 +-
1433 src/xz/message.h | 18 +++++++++---------
1434 src/xz/options.c | 6 +++---
1435 src/xz/signals.c | 2 +-
1436 src/xz/util.h | 6 +++---
1437 src/xzdec/xzdec.c | 6 +++---
1438 25 files changed, 49 insertions(+), 47 deletions(-)
1440 commit 22159c6ba2300a006f2e46ce85ae132e2d2f7d57
1441 Author: Lasse Collin <lasse.collin@tukaani.org>
1442 Date: 2011-04-18 19:35:49 +0300
1447 1 file changed, 2 insertions(+)
1449 commit 5e3499059515033d1ce44b6fb0fa49183c7ac633
1450 Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
1451 Date: 2011-04-15 04:54:49 -0400
1453 xzgrep: fix typo in $0 parsing
1455 Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org>
1456 Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
1457 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
1459 src/scripts/xzgrep.in | 4 ++--
1460 1 file changed, 2 insertions(+), 2 deletions(-)
1462 commit 1125611b9b8d4a209b6a73d2c76e1b39c065972a
1463 Author: Lasse Collin <lasse.collin@tukaani.org>
1464 Date: 2011-04-12 11:59:49 +0300
1466 Remove doubled words from documentation and comments.
1468 Spot candidates by running these commands:
1469 git ls-files |xargs perl -0777 -n \
1470 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \
1471 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}'
1473 Thanks to Jim Meyering for the original patch.
1475 doc/lzma-file-format.txt | 4 ++--
1476 src/liblzma/common/alone_encoder.c | 2 +-
1477 src/liblzma/lzma/lzma2_encoder.c | 2 +-
1478 src/xz/file_io.c | 2 +-
1480 windows/INSTALL-Windows.txt | 2 +-
1481 6 files changed, 7 insertions(+), 7 deletions(-)
1483 commit 3f8fa53837bae8b44f3addf19923e26401336c3d
1484 Author: Lasse Collin <lasse.collin@tukaani.org>
1485 Date: 2011-04-11 21:04:13 +0300
1487 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
1489 src/liblzma/api/lzma/container.h | 9 +++++++++
1490 1 file changed, 9 insertions(+)
1492 commit 320d734c20d0776e3eb80f6b5984ddeb494715b5
1493 Author: Lasse Collin <lasse.collin@tukaani.org>
1494 Date: 2011-04-11 20:59:07 +0300
1496 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
1498 It didn't mention the return value that is used if
1501 src/liblzma/api/lzma/filter.h | 8 ++++++--
1502 1 file changed, 6 insertions(+), 2 deletions(-)
1504 commit 2ee4edeffc8d9734bf68230df31b20ac6a94c9b5
1505 Author: Lasse Collin <lasse.collin@tukaani.org>
1506 Date: 2011-04-11 13:59:50 +0300
1508 liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
1510 Empty Block was created if the input buffer was empty.
1511 Empty Block wastes a few bytes of space, but more importantly
1512 it triggers a bug in XZ Utils 5.0.1 and older when trying
1513 to decompress such a file. 5.0.1 and older consider such
1514 files to be corrupt. I thought that no encoder creates empty
1515 Blocks when releasing 5.0.2 but I was wrong.
1517 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++-------
1518 1 file changed, 13 insertions(+), 7 deletions(-)
1520 commit 73f56fb87d54091d0c4fd22d70e6f042902e3b63
1521 Author: Lasse Collin <lasse.collin@tukaani.org>
1522 Date: 2011-04-11 13:28:40 +0300
1524 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
1526 This return value was missing from the API comments of
1529 src/liblzma/api/lzma/block.h | 1 +
1530 src/liblzma/api/lzma/container.h | 3 +++
1531 2 files changed, 4 insertions(+)
1533 commit 4ce1cf97a88ae1640a380dd19cbc255d729f966b
1534 Author: Lasse Collin <lasse.collin@tukaani.org>
1535 Date: 2011-04-11 13:21:28 +0300
1537 liblzma: Validate encoder arguments better.
1539 The biggest problem was that the integrity check type
1540 wasn't validated, and e.g. lzma_easy_buffer_encode()
1541 would create a corrupt .xz Stream if given an unsupported
1542 Check ID. Luckily applications don't usually try to use
1543 an unsupport Check ID, so this bug is unlikely to cause
1544 many real-world problems.
1546 src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------
1547 src/liblzma/common/block_encoder.c | 5 +++++
1548 src/liblzma/common/stream_buffer_encoder.c | 3 +++
1549 3 files changed, 20 insertions(+), 6 deletions(-)
1551 commit 972f05d7a4268dbe42573701f83faa45d03249eb
1552 Author: Lasse Collin <lasse.collin@tukaani.org>
1553 Date: 2011-04-09 18:29:30 +0300
1558 1 file changed, 1 insertion(+)
1560 commit 28154eeaf6e3442cd1e174f4e81266d60c4dac60
1561 Author: Lasse Collin <lasse.collin@tukaani.org>
1562 Date: 2011-04-09 18:28:58 +0300
1564 liblzma: Add missing #ifdefs to filter_common.c.
1566 Passing --disable-decoders to configure broke a few
1567 encoders due to missing #ifdefs in filter_common.c.
1569 Thanks to Jason Gorski for the patch.
1571 src/liblzma/common/filter_common.c | 6 +++---
1572 1 file changed, 3 insertions(+), 3 deletions(-)
1574 commit aa95516d3d509c6b7895ee519004afcf500a0759
1575 Author: Lasse Collin <lasse.collin@tukaani.org>
1576 Date: 2011-04-02 14:49:56 +0300
1578 liblzma: Fix a memory leak in stream_encoder.c.
1580 It leaks old filter options structures (hundred bytes or so)
1581 every time the lzma_stream is reinitialized. With the xz tool,
1582 this happens when compressing multiple files.
1584 src/liblzma/common/stream_encoder.c | 2 +-
1585 1 file changed, 1 insertion(+), 1 deletion(-)
1587 commit 58f52c72f49562a08042da9a2f4bbdf4dd162d0c
1588 Author: Lasse Collin <lasse.collin@tukaani.org>
1589 Date: 2011-04-01 08:47:46 +0300
1591 Bumped version and liblzma soname to 5.0.2.
1593 src/liblzma/Makefile.am | 2 +-
1594 src/liblzma/api/lzma/version.h | 2 +-
1595 2 files changed, 2 insertions(+), 2 deletions(-)
1597 commit 162779682e01d15f0ce386ef7f40d1be05ad0053
1598 Author: Lasse Collin <lasse.collin@tukaani.org>
1599 Date: 2011-04-01 08:47:20 +0300
1601 Updated NEWS for 5.0.2.
1603 NEWS | 18 ++++++++++++++++++
1604 1 file changed, 18 insertions(+)
1606 commit 45553f9b4b0175c292023010dc41520347004852
1607 Author: Lasse Collin <lasse.collin@tukaani.org>
1608 Date: 2011-03-31 15:06:58 +0300
1610 Update INSTALL with another note about IRIX.
1613 1 file changed, 4 insertions(+)
1615 commit af9d48d5515eadef689b1ce9ffb91e4dbcbc7f35
1616 Author: Lasse Collin <lasse.collin@tukaani.org>
1617 Date: 2011-03-31 12:22:55 +0300
1619 Tests: Add a new file to test empty LZMA2 streams.
1621 tests/files/README | 4 ++++
1622 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes
1623 2 files changed, 4 insertions(+)
1625 commit d099ef9f517b59ab8e3b6f6aa0543c3643983470
1626 Author: Lasse Collin <lasse.collin@tukaani.org>
1627 Date: 2011-03-31 11:54:48 +0300
1629 liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
1631 The decoder considered empty LZMA2 streams to be corrupt.
1632 This shouldn't matter much with .xz files, because no encoder
1633 creates empty LZMA2 streams in .xz. This bug is more likely
1634 to cause problems in applications that use raw LZMA2 streams.
1636 src/liblzma/lzma/lzma2_decoder.c | 8 ++++----
1637 1 file changed, 4 insertions(+), 4 deletions(-)
1639 commit df87249b26e79a75fd91041e85512944fc247b57
1640 Author: Lasse Collin <lasse.collin@tukaani.org>
1641 Date: 2011-03-24 01:42:49 +0200
1643 Scripts: Better fix for xzgrep.
1645 Now it uses "grep -q".
1647 Thanks to Gregory Margo.
1649 src/scripts/xzgrep.in | 8 ++++++--
1650 1 file changed, 6 insertions(+), 2 deletions(-)
1652 commit 68c453e1c7b09dc9c7d2ef9d994c46f5b367f5d3
1653 Author: Lasse Collin <lasse.collin@tukaani.org>
1654 Date: 2011-03-24 01:22:18 +0200
1659 1 file changed, 1 insertion(+)
1661 commit b441d39855516ae618faffd5156261b8b413394f
1662 Author: Lasse Collin <lasse.collin@tukaani.org>
1663 Date: 2011-03-24 01:21:32 +0200
1665 Scripts: Fix xzgrep -l.
1667 It didn't work at all. It tried to use the -q option
1668 for grep, but it appended it after "--". This works
1669 around it by redirecting to /dev/null. The downside
1670 is that this can be slower with big files compared
1671 to proper use of "grep -q".
1673 Thanks to Gregory Margo.
1675 src/scripts/xzgrep.in | 4 ++--
1676 1 file changed, 2 insertions(+), 2 deletions(-)
1678 commit 82d5164839517f55daeadd9ee88c76425db30224
1679 Author: Lasse Collin <lasse.collin@tukaani.org>
1680 Date: 2011-02-04 22:49:31 +0200
1682 xz: Clean up suffix.c.
1684 struct suffix_pair isn't needed in compresed_name()
1685 so get rid of it there.
1687 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------
1688 1 file changed, 20 insertions(+), 24 deletions(-)
1690 commit 6decc8b41882c2250f0450eb87b83c9fbf495e95
1691 Author: Lasse Collin <lasse.collin@tukaani.org>
1692 Date: 2011-02-04 11:29:47 +0200
1694 xz: Check if the file already has custom suffix when compressing.
1696 Now "xz -S .test foo.test" refuses to compress the
1697 file because it already has the suffix .test. The man
1698 page had it documented this way already.
1700 src/xz/suffix.c | 9 +++++++++
1701 1 file changed, 9 insertions(+)
1703 commit ecda90061df8d39399e707e5c76c2ec0a0f400e5
1704 Author: Lasse Collin <lasse.collin@tukaani.org>
1705 Date: 2011-02-02 23:01:51 +0200
1710 1 file changed, 1 insertion(+)
1712 commit 0fda1ae5b1aa0a5c629a09e5228db8ba1cd0dd5f
1713 Author: Lasse Collin <lasse.collin@tukaani.org>
1714 Date: 2011-02-02 23:00:33 +0200
1716 Translations: Add Polish translation.
1718 Thanks to Jakub Bogusz.
1721 po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1722 2 files changed, 826 insertions(+)
1724 commit 00be32978fedc5038748438bf685ac1713d1db83
1725 Author: Lasse Collin <lasse.collin@tukaani.org>
1726 Date: 2011-02-02 22:24:00 +0200
1731 1 file changed, 1 insertion(+)
1733 commit 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004
1734 Author: Lasse Collin <lasse.collin@tukaani.org>
1735 Date: 2011-01-28 20:26:38 +0200
1737 Bump package version and liblzma soname to 5.0.1.
1739 src/liblzma/Makefile.am | 2 +-
1740 src/liblzma/api/lzma/version.h | 2 +-
1741 2 files changed, 2 insertions(+), 2 deletions(-)
1743 commit 5fbce0b8d96dc96775aa0215e3581addc830e23d
1744 Author: Lasse Collin <lasse.collin@tukaani.org>
1745 Date: 2011-01-28 20:16:57 +0200
1747 Update NEWS for 5.0.1.
1749 NEWS | 14 ++++++++++++++
1750 1 file changed, 14 insertions(+)
1752 commit 03ebd1bbb314f9f204940219a835c883bf442475
1753 Author: Lasse Collin <lasse.collin@tukaani.org>
1754 Date: 2011-01-26 12:19:08 +0200
1756 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
1758 xz didn't compress setuid/setgid/sticky files and files
1759 with multiple hard links even with --force. This bug was
1760 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4.
1762 Thanks to Charles Wilson.
1764 src/xz/file_io.c | 15 +++++++--------
1765 1 file changed, 7 insertions(+), 8 deletions(-)
1767 commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136
1768 Author: Lasse Collin <lasse.collin@tukaani.org>
1769 Date: 2011-01-18 21:25:24 +0200
1774 1 file changed, 1 insertion(+)
1776 commit f71c4e16e913f660977526f0ef8d2acdf458d7c9
1777 Author: Lasse Collin <lasse.collin@tukaani.org>
1778 Date: 2011-01-18 21:23:50 +0200
1780 Add alloc_size and malloc attributes to a few functions.
1782 Thanks to Cristian Rodríguez for the original patch.
1784 src/common/sysdefs.h | 6 ++++++
1785 src/liblzma/common/common.h | 2 +-
1786 src/xz/util.h | 5 +++--
1787 3 files changed, 10 insertions(+), 3 deletions(-)
1789 commit 316cbe24465143edde8f6ffb7532834b7b2ea93f
1790 Author: Lasse Collin <lasse.collin@tukaani.org>
1791 Date: 2010-12-13 16:36:33 +0200
1793 Scripts: Fix gzip and bzip2 support in xzdiff.
1795 src/scripts/xzdiff.in | 12 ++++++------
1796 1 file changed, 6 insertions(+), 6 deletions(-)
1798 commit 9311774c493c19deab51ded919dcd2e9c4aa2829
1799 Author: Lasse Collin <lasse.collin@tukaani.org>
1800 Date: 2010-12-12 21:23:55 +0200
1802 Build: Enable ASM on DJGPP by default.
1805 1 file changed, 1 insertion(+), 1 deletion(-)
1807 commit 4a42aaee282fc73b482581684d65110506d5efdd
1808 Author: Lasse Collin <lasse.collin@tukaani.org>
1809 Date: 2010-12-12 16:09:42 +0200
1814 1 file changed, 1 insertion(+)
1816 commit ce56f63c41ee210e6308090eb6d49221fdf67d6c
1817 Author: Lasse Collin <lasse.collin@tukaani.org>
1818 Date: 2010-12-12 16:07:11 +0200
1820 Add missing PRIx32 and PRIx64 compatibility definitions.
1822 This fixes portability to systems that lack C99 inttypes.h.
1824 Thanks to Juan Manuel Guerrero.
1826 src/common/sysdefs.h | 9 +++++++++
1827 1 file changed, 9 insertions(+)
1829 commit e6baedddcf54e7da049ebc49183565b99facd4c7
1830 Author: Lasse Collin <lasse.collin@tukaani.org>
1831 Date: 2010-12-12 14:50:04 +0200
1833 DOS-like: Treat \ and : as directory separators in addition to /.
1835 Juan Manuel Guerrero had fixed this in his XZ Utils port
1836 to DOS/DJGPP. The bug affects also Windows and OS/2.
1838 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++----
1839 1 file changed, 29 insertions(+), 4 deletions(-)
1841 commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f
1842 Author: Lasse Collin <lasse.collin@tukaani.org>
1843 Date: 2010-12-07 18:52:04 +0200
1845 Translations: Fix Czech translation of "sparse file".
1847 Thanks to Petr Hubený and Marek Černocký.
1849 po/cs.po | 88 ++++++++++++++++++++++++++++++++--------------------------------
1850 1 file changed, 44 insertions(+), 44 deletions(-)
1852 commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e
1853 Author: Lasse Collin <lasse.collin@tukaani.org>
1854 Date: 2010-11-15 14:28:26 +0200
1856 liblzma: Document the return value of lzma_lzma_preset().
1858 src/liblzma/api/lzma/lzma.h | 3 +++
1859 1 file changed, 3 insertions(+)
1861 commit 2964d8d691ed92abdcf214888d79ad6d79774735
1862 Author: Jonathan Nieder <jrnieder@gmail.com>
1863 Date: 2010-11-12 15:22:13 -0600
1865 Simplify paths in generated API docs
1867 Currently the file list generated by Doxygen has src/ at the
1868 beginning of each path. Paths like common/sysdefs.h and
1869 liblzma/api/lzma.h are easier to read without such a prefix.
1871 Builds from a separate build directory with
1878 include an even longer prefix /home/someone/src/xz/src; this
1879 patch has the nice side-effect of eliminating that prefix, too.
1881 Fixes: http://bugs.debian.org/572273
1884 1 file changed, 1 insertion(+), 1 deletion(-)
1886 commit 37c25658efd25b034266daf87cd381d20d1df776
1887 Author: Lasse Collin <lasse.collin@tukaani.org>
1888 Date: 2010-10-26 15:48:48 +0300
1890 Build: Copy the example programs to $docdir/examples.
1892 The example programs by Daniel Mealha Cabrita were included
1893 in the git repository, but I had forgot to add them to
1894 Makefile.am. Thus, they didn't get included in the source
1895 package at all by "make dist".
1897 Makefile.am | 5 +++++
1898 windows/build.bash | 3 ++-
1899 2 files changed, 7 insertions(+), 1 deletion(-)
1901 commit e45929260cd902036efd40c5610a8d0a50d5712b
1902 Author: Lasse Collin <lasse.collin@tukaani.org>
1903 Date: 2010-10-23 17:25:52 +0300
1905 Build: Fix mydist rule when .git doesn't exist.
1908 1 file changed, 1 insertion(+)
1910 commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168
1911 Author: Lasse Collin <lasse.collin@tukaani.org>
1912 Date: 2010-10-23 14:15:35 +0300
1916 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1917 1 file changed, 62 insertions(+)
1919 commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c
1920 Author: Lasse Collin <lasse.collin@tukaani.org>
1921 Date: 2010-10-23 14:02:53 +0300
1923 Bump version to 5.0.0 and liblzma version-info to 5:0:0.
1925 src/liblzma/Makefile.am | 2 +-
1926 src/liblzma/api/lzma/version.h | 8 ++++----
1927 2 files changed, 5 insertions(+), 5 deletions(-)
1929 commit 8c947e9291691629714dafb4536c718b6cc24fbd
1930 Author: Lasse Collin <lasse.collin@tukaani.org>
1931 Date: 2010-10-23 12:30:54 +0300
1933 liblzma: Make lzma_code() check the reserved members in lzma_stream.
1935 If any of the reserved members in lzma_stream are non-zero
1936 or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible
1937 that a new feature in the future is indicated by just setting
1938 a reserved member to some other value, so the old liblzma
1939 version need to catch it as an unsupported feature.
1941 src/liblzma/common/common.c | 14 ++++++++++++++
1942 1 file changed, 14 insertions(+)
1944 commit e61d85e082743ebd2dd0ff28fc0a82482ede0538
1945 Author: Lasse Collin <lasse.collin@tukaani.org>
1946 Date: 2010-10-23 12:26:33 +0300
1948 Windows: Use MinGW's stdio functions.
1950 The non-standard ones from msvcrt.dll appear to work
1951 most of the time with XZ Utils, but there are some
1952 corner cases where things may go very wrong. So it's
1953 good to use the better replacements provided by
1954 MinGW(-w64) runtime.
1956 src/common/sysdefs.h | 5 +++++
1957 1 file changed, 5 insertions(+)
1959 commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc
1960 Author: Lasse Collin <lasse.collin@tukaani.org>
1961 Date: 2010-10-23 12:21:32 +0300
1963 liblzma: Use 512 as INDEX_GROUP_SIZE.
1965 This lets compiler use shifting instead of 64-bit division.
1967 src/liblzma/common/index.c | 2 +-
1968 1 file changed, 1 insertion(+), 1 deletion(-)
1970 commit 613939fc82603b75b59eee840871a05bc8dd08e0
1971 Author: Lasse Collin <lasse.collin@tukaani.org>
1972 Date: 2010-10-23 12:20:11 +0300
1974 liblzma: A few ABI tweaks to reserve space in structures.
1976 src/liblzma/api/lzma/base.h | 7 ++++++-
1977 src/liblzma/api/lzma/lzma.h | 4 ++--
1978 src/liblzma/api/lzma/stream_flags.h | 4 ----
1979 3 files changed, 8 insertions(+), 7 deletions(-)
1981 commit 68b83f252df3d27480a9f6f03445d16f6506fef1
1982 Author: Lasse Collin <lasse.collin@tukaani.org>
1983 Date: 2010-10-21 23:16:11 +0300
1985 xz: Make sure that message_strm() can never return NULL.
1987 src/xz/message.c | 7 +++++--
1988 1 file changed, 5 insertions(+), 2 deletions(-)
1990 commit d09c5753e33ff96ee57edb6d1e98e34041203695
1991 Author: Lasse Collin <lasse.collin@tukaani.org>
1992 Date: 2010-10-21 23:06:31 +0300
1994 liblzma: Update the comments in the API headers.
1996 Adding support for LZMA_FINISH for Index encoding and
1997 decoding needed tiny additions to the relevant .c files too.
1999 src/liblzma/api/lzma.h | 4 +--
2000 src/liblzma/api/lzma/base.h | 38 +++++++++++++--------------
2001 src/liblzma/api/lzma/bcj.h | 4 +--
2002 src/liblzma/api/lzma/block.h | 4 +--
2003 src/liblzma/api/lzma/container.h | 26 ++++++++++++-------
2004 src/liblzma/api/lzma/filter.h | 51 ++++++++++++++++++-------------------
2005 src/liblzma/api/lzma/hardware.h | 3 +--
2006 src/liblzma/api/lzma/index.h | 28 ++++++++++++--------
2007 src/liblzma/api/lzma/index_hash.h | 2 +-
2008 src/liblzma/api/lzma/lzma.h | 46 ++++++++++++++++++++++-----------
2009 src/liblzma/api/lzma/stream_flags.h | 4 +--
2010 src/liblzma/api/lzma/vli.h | 31 +++++++++++-----------
2011 src/liblzma/common/index_decoder.c | 1 +
2012 src/liblzma/common/index_encoder.c | 1 +
2013 14 files changed, 136 insertions(+), 107 deletions(-)
2015 commit 33c1c0e102eb529588503b8beea0903a45488fad
2016 Author: Lasse Collin <lasse.collin@tukaani.org>
2017 Date: 2010-10-19 12:08:30 +0300
2019 Update INSTALL.generic.
2021 INSTALL.generic | 99 ++++++++++++++++++++++++++++++++++++++++++++++-----------
2022 1 file changed, 81 insertions(+), 18 deletions(-)
2024 commit 0076e03641f201c4b77dddd5a6db5880be19a78c
2025 Author: Lasse Collin <lasse.collin@tukaani.org>
2026 Date: 2010-10-19 11:44:37 +0300
2028 Clean up a few FIXMEs and TODOs.
2030 lzma_chunk_size() was commented out because it is
2033 src/liblzma/common/filter_encoder.c | 2 ++
2034 src/liblzma/common/filter_encoder.h | 4 ++--
2035 src/liblzma/lzma/lzma2_decoder.c | 1 -
2036 src/liblzma/lzma/lzma_decoder.c | 4 ++--
2037 src/liblzma/lzma/lzma_encoder.c | 2 +-
2038 src/xz/message.h | 2 +-
2039 6 files changed, 8 insertions(+), 7 deletions(-)
2041 commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9
2042 Author: Lasse Collin <lasse.collin@tukaani.org>
2043 Date: 2010-10-19 10:21:08 +0300
2047 INSTALL | 192 +++++++++++++++++++++++++++++++++++++++++--------------------
2048 PACKAGERS | 104 +++++++++------------------------
2051 4 files changed, 172 insertions(+), 143 deletions(-)
2053 commit f0fa880d247e73264d2c04fe31fb3412318a0026
2054 Author: Lasse Collin <lasse.collin@tukaani.org>
2055 Date: 2010-10-12 15:13:30 +0300
2057 xz: Avoid raise() also on OpenVMS.
2059 This is similar to DOS/DJGPP that killing the program
2060 with a signal will print a backtrace or a similar message.
2062 src/xz/signals.c | 2 +-
2063 1 file changed, 1 insertion(+), 1 deletion(-)
2065 commit ac462b1c47c451f5c62e428306314c4bdad8ae7f
2066 Author: Lasse Collin <lasse.collin@tukaani.org>
2067 Date: 2010-10-11 21:26:19 +0300
2069 xz: Avoid SA_RESTART for portability reasons.
2071 SA_RESTART is not as portable as I had hoped. It's missing
2072 at least from OpenVMS, QNX, and DJGPP). Luckily we can do
2073 fine without SA_RESTART.
2075 src/xz/message.c | 38 +++++++++++++++-----------------------
2076 src/xz/message.h | 4 ++++
2077 src/xz/signals.c | 6 ++++++
2078 3 files changed, 25 insertions(+), 23 deletions(-)
2080 commit d52b411716a614c202e89ba732492efb9916cd3f
2081 Author: Lasse Collin <lasse.collin@tukaani.org>
2082 Date: 2010-10-10 17:58:58 +0300
2084 xz: Use "%"PRIu32 instead of "%d" in a format string.
2086 src/xz/message.c | 2 +-
2087 1 file changed, 1 insertion(+), 1 deletion(-)
2089 commit ae74d1bdeb075c3beefe76e1136c5741804e7e91
2090 Author: Lasse Collin <lasse.collin@tukaani.org>
2091 Date: 2010-10-10 17:43:26 +0300
2093 test_files.sh: Fix the first line.
2095 For some reason this prevented running the test only
2096 on OS/2 and even on that it broke only recently.
2098 Thanks to Elbert Pol.
2100 tests/test_files.sh | 2 +-
2101 1 file changed, 1 insertion(+), 1 deletion(-)
2103 commit d492b80ddd6f9a13419de6d102df7374d8f448e8
2104 Author: Lasse Collin <lasse.collin@tukaani.org>
2105 Date: 2010-10-10 16:49:01 +0300
2107 lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t.
2109 src/lzmainfo/lzmainfo.c | 2 +-
2110 1 file changed, 1 insertion(+), 1 deletion(-)
2112 commit 825e859a9054bd91202e5723c41a17e72f63040a
2113 Author: Lasse Collin <lasse.collin@tukaani.org>
2114 Date: 2010-10-10 16:47:01 +0300
2116 lzmainfo: Use fileno(stdin) instead of STDIN_FILENO.
2118 src/lzmainfo/lzmainfo.c | 2 +-
2119 1 file changed, 1 insertion(+), 1 deletion(-)
2121 commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8
2122 Author: Lasse Collin <lasse.collin@tukaani.org>
2123 Date: 2010-10-09 23:20:51 +0300
2125 lzmainfo: Use setmode() on DOS-like systems.
2127 src/lzmainfo/lzmainfo.c | 9 +++++++++
2128 1 file changed, 9 insertions(+)
2130 commit ef364d3abc5647111c5424ea0d83a567e184a23b
2131 Author: Lasse Collin <lasse.collin@tukaani.org>
2132 Date: 2010-10-09 21:51:03 +0300
2134 OS/2 and DOS: Be less verbose on signals.
2136 Calling raise() to kill xz when user has pressed C-c
2137 is a bit verbose on OS/2 and DOS/DJGPP. Instead of
2138 calling raise(), set only the exit status to 1.
2140 src/xz/signals.c | 7 +++++++
2141 1 file changed, 7 insertions(+)
2143 commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a
2144 Author: Lasse Collin <lasse.collin@tukaani.org>
2145 Date: 2010-10-09 19:28:49 +0300
2147 DOS: Update the Makefile, config.h and README.
2149 This is now simpler and builds only xz.exe.
2151 dos/Makefile | 211 +++++++++++++++--------------------------------------------
2152 dos/README | 73 +++++++--------------
2153 dos/config.h | 45 ++++---------
2154 3 files changed, 86 insertions(+), 243 deletions(-)
2156 commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac
2157 Author: Lasse Collin <lasse.collin@tukaani.org>
2158 Date: 2010-10-09 18:57:55 +0300
2160 Windows: Put some license info into README-Windows.txt.
2162 windows/README-Windows.txt | 8 ++++----
2163 1 file changed, 4 insertions(+), 4 deletions(-)
2165 commit e75100f549f85d231df25c07aa94d63e78e2d668
2166 Author: Lasse Collin <lasse.collin@tukaani.org>
2167 Date: 2010-10-09 18:57:04 +0300
2169 Windows: Fix a diagnostics bug in build.bash.
2171 windows/build.bash | 2 +-
2172 1 file changed, 1 insertion(+), 1 deletion(-)
2174 commit efeb998a2b1025df1c1d202cc7d21d866cd1c336
2175 Author: Lasse Collin <lasse.collin@tukaani.org>
2176 Date: 2010-10-09 13:02:15 +0300
2178 lzmainfo: Add Windows resource file.
2180 src/lzmainfo/Makefile.am | 9 +++++++++
2181 src/lzmainfo/lzmainfo_w32res.rc | 12 ++++++++++++
2182 2 files changed, 21 insertions(+)
2184 commit 389d418445f1623593dfdbba55d52fbb6d1205f5
2185 Author: Lasse Collin <lasse.collin@tukaani.org>
2186 Date: 2010-10-09 12:57:25 +0300
2188 Add missing public domain notice to lzmadec_w32res.rc.
2190 src/xzdec/lzmadec_w32res.rc | 7 +++++++
2191 1 file changed, 7 insertions(+)
2193 commit 6389c773a4912dd9f111256d74ba1605230a7957
2194 Author: Lasse Collin <lasse.collin@tukaani.org>
2195 Date: 2010-10-09 12:52:12 +0300
2197 Windows: Update common_w32res.rc.
2199 src/common/common_w32res.rc | 9 +++------
2200 1 file changed, 3 insertions(+), 6 deletions(-)
2202 commit 71275457ca24c9b01721f5cfc3638cf094daf454
2203 Author: Lasse Collin <lasse.collin@tukaani.org>
2204 Date: 2010-10-09 12:27:08 +0300
2206 Windows: Make build.bash prefer MinGW-w32 over MinGW.
2208 This is simply for licensing reasons. The 64-bit version
2209 will be built with MinGW-w64 anyway (at least for now),
2210 so using it also for 32-bit build allows using the same
2211 copyright notice about the MinGW-w64/w32 runtime.
2213 Note that using MinGW would require a copyright notice too,
2214 because its runtime is not in the public domain either even
2215 though MinGW's home page claims that it is public domain.
2216 See <http://marc.info/?l=mingw-users&m=126489506214078>.
2218 windows/build.bash | 18 +++++++++---------
2219 1 file changed, 9 insertions(+), 9 deletions(-)
2221 commit 3ac35719d8433af937af6491383d4a50e343099b
2222 Author: Lasse Collin <lasse.collin@tukaani.org>
2223 Date: 2010-10-09 11:33:21 +0300
2225 Windows: Copy COPYING-Windows.txt (if it exists) to the package.
2227 Also, put README-Windows.txt to the doc directory like
2228 the other documentation files.
2230 windows/build.bash | 14 ++++++++++++--
2231 1 file changed, 12 insertions(+), 2 deletions(-)
2233 commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae
2234 Author: Lasse Collin <lasse.collin@tukaani.org>
2235 Date: 2010-10-08 21:42:37 +0300
2237 Windows: Fix build.bash again.
2239 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good.
2241 windows/build.bash | 7 ++++---
2242 1 file changed, 4 insertions(+), 3 deletions(-)
2244 commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd
2245 Author: Lasse Collin <lasse.collin@tukaani.org>
2246 Date: 2010-10-08 16:53:20 +0300
2248 Use LZMA_VERSION_STRING instead of PACKAGE_VERSION.
2250 Those are the same thing, and the former makes it a bit
2251 easier to build the code with other build systems, because
2252 one doesn't need to update the version number into custom
2255 This change affects only lzmainfo. Other tools were already
2256 using LZMA_VERSION_STRING.
2258 src/lzmainfo/lzmainfo.c | 2 +-
2259 1 file changed, 1 insertion(+), 1 deletion(-)
2261 commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f
2262 Author: Lasse Collin <lasse.collin@tukaani.org>
2263 Date: 2010-10-08 15:59:25 +0300
2265 configure.ac: Remove two unused defines.
2267 configure.ac | 4 ----
2268 1 file changed, 4 deletions(-)
2270 commit 11f51b6714357cb67ec7e56ed9575c199b5581fe
2271 Author: Lasse Collin <lasse.collin@tukaani.org>
2272 Date: 2010-10-08 15:32:29 +0300
2274 Make tests accommodate missing xz or xzdec.
2276 tests/test_compress.sh | 47 ++++++++++++++++++++++++++++++-----------------
2277 tests/test_files.sh | 28 ++++++++++++++++++++++++++--
2278 2 files changed, 56 insertions(+), 19 deletions(-)
2280 commit b1c7368f95e93ccdefdd0748e04398c26766f47f
2281 Author: Lasse Collin <lasse.collin@tukaani.org>
2282 Date: 2010-10-08 15:25:45 +0300
2284 Build: Add options to disable individual command line tools.
2286 configure.ac | 38 ++++++++++++++++++++++++++++++
2287 src/Makefile.am | 15 +++++++++++-
2288 src/scripts/Makefile.am | 62 +++++++++++++++++++++----------------------------
2289 src/xz/Makefile.am | 6 ++++-
2290 src/xzdec/Makefile.am | 12 ++++++++--
2291 5 files changed, 93 insertions(+), 40 deletions(-)
2293 commit 630a8beda34af0ac153c8051b1bf01230558e422
2294 Author: Lasse Collin <lasse.collin@tukaani.org>
2295 Date: 2010-10-07 00:44:53 +0300
2297 Windows: Make build.bash work without --enable-dynamic=no.
2299 windows/build.bash | 4 ++--
2300 1 file changed, 2 insertions(+), 2 deletions(-)
2302 commit f9907503f882a745dce9d84c2968f6c175ba966a
2303 Author: Lasse Collin <lasse.collin@tukaani.org>
2304 Date: 2010-10-05 14:13:16 +0300
2306 Build: Remove the static/dynamic tricks.
2308 Most distros want xz linked against shared liblzma, so
2309 it doesn't help much to require --enable-dynamic for that.
2310 Those who want to avoid PIC on x86-32 to get better
2311 performance, can still do it e.g. by using --disable-shared
2312 to compile xz and then another pass to compile shared liblzma.
2314 Part of these static/dynamic tricks were needed for Windows
2315 in the past. Nowadays we rely on GCC and binutils to do the
2316 right thing with auto-import. If the Autotooled build system
2317 needs to support some other toolchain on Windows in the future,
2318 this may need some rethinking.
2320 configure.ac | 74 ------------------------------------------------
2321 debug/Makefile.am | 5 +---
2322 src/lzmainfo/Makefile.am | 4 +--
2323 src/xz/Makefile.am | 4 +--
2324 src/xzdec/Makefile.am | 4 +--
2325 tests/Makefile.am | 5 +---
2326 6 files changed, 5 insertions(+), 91 deletions(-)
2328 commit fda4724d8114fccfa31c1839c15479f350c2fb4c
2329 Author: Lasse Collin <lasse.collin@tukaani.org>
2330 Date: 2010-10-05 12:18:58 +0300
2332 configure.ac: Silence a warning from Autoconf 2.68.
2335 1 file changed, 1 insertion(+), 1 deletion(-)
2337 commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9
2338 Author: Lasse Collin <lasse.collin@tukaani.org>
2339 Date: 2010-10-04 19:43:01 +0300
2341 A few more languages files to the xz man page.
2343 Thanks to Jonathan Nieder.
2345 src/xz/xz.1 | 45 ++++++++++++++++++++++++---------------------
2346 1 file changed, 24 insertions(+), 21 deletions(-)
2348 commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb
2349 Author: Lasse Collin <lasse.collin@tukaani.org>
2350 Date: 2010-10-02 12:07:33 +0300
2354 doc/faq.txt | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
2355 1 file changed, 100 insertions(+), 4 deletions(-)
2357 commit 61ae593661e8dc402394e84d567ca2044a51572b
2358 Author: Lasse Collin <lasse.collin@tukaani.org>
2359 Date: 2010-10-02 11:38:20 +0300
2361 liblzma: Small fixes to comments in the API headers.
2363 src/liblzma/api/lzma/lzma.h | 10 +++++++---
2364 1 file changed, 7 insertions(+), 3 deletions(-)
2366 commit 9166682dc601fd42c1b9510572e3f917d18de504
2367 Author: Lasse Collin <lasse.collin@tukaani.org>
2368 Date: 2010-09-28 11:40:12 +0300
2370 Create the PDF versions of the man pages better.
2372 Makefile.am | 14 +++++++------
2373 build-aux/manconv.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2374 2 files changed, 66 insertions(+), 6 deletions(-)
2376 commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8
2377 Author: Lasse Collin <lasse.collin@tukaani.org>
2378 Date: 2010-09-28 10:59:53 +0300
2380 Move version.sh to build-aux.
2382 Makefile.am | 4 ++--
2383 build-aux/version.sh | 24 ++++++++++++++++++++++++
2385 version.sh | 24 ------------------------
2386 windows/build.bash | 2 +-
2387 5 files changed, 28 insertions(+), 28 deletions(-)
2389 commit 84af9d8770451339a692e9b70f96cf56156a6069
2390 Author: Lasse Collin <lasse.collin@tukaani.org>
2391 Date: 2010-09-28 10:53:02 +0300
2395 .gitignore | 10 +++++++++-
2396 1 file changed, 9 insertions(+), 1 deletion(-)
2398 commit 31575a449ac64c523da3bab8d0c0b522cdc7c780
2399 Author: Lasse Collin <lasse.collin@tukaani.org>
2400 Date: 2010-09-28 01:17:14 +0300
2402 Fix accomodate -> accommodate on the xz man page.
2405 1 file changed, 1 insertion(+), 1 deletion(-)
2407 commit cec0ddc8ec4ce81685a51998b978e22167e461f9
2408 Author: Lasse Collin <lasse.collin@tukaani.org>
2409 Date: 2010-09-27 23:29:34 +0300
2411 Major man page updates.
2413 Lots of content was updated on the xz man page.
2415 Technical improvements:
2416 - Start a new sentence on a new line.
2417 - Use fairly short lines.
2418 - Use constant-width font for examples (where supported).
2419 - Some minor cleanups.
2421 Thanks to Jonathan Nieder for some language fixes.
2423 src/lzmainfo/lzmainfo.1 | 25 +-
2424 src/scripts/xzdiff.1 | 15 +-
2425 src/scripts/xzgrep.1 | 11 +-
2426 src/scripts/xzless.1 | 13 +-
2427 src/scripts/xzmore.1 | 9 +-
2428 src/xz/xz.1 | 1964 ++++++++++++++++++++++++++++++++---------------
2429 src/xzdec/xzdec.1 | 39 +-
2430 7 files changed, 1435 insertions(+), 641 deletions(-)
2432 commit 075257ab0416a0603be930082e31a5703e4ba345
2433 Author: Lasse Collin <lasse.collin@tukaani.org>
2434 Date: 2010-09-26 18:10:31 +0300
2438 depth=0 was missing.
2440 src/liblzma/lzma/lzma_encoder_presets.c | 1 +
2441 1 file changed, 1 insertion(+)
2443 commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1
2444 Author: Lasse Collin <lasse.collin@tukaani.org>
2445 Date: 2010-09-23 14:03:10 +0300
2447 Add translations.bash and translation notes to README.
2449 translations.bash prints some messages from xz, which
2450 hopefully makes it a bit easier to test translations.
2452 README | 96 +++++++++++++++++++++++++++++++++++++++++++++--
2453 debug/translation.bash | 100 +++++++++++++++++++++++++++++++++++++++++++++++++
2454 2 files changed, 192 insertions(+), 4 deletions(-)
2456 commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23
2457 Author: Lasse Collin <lasse.collin@tukaani.org>
2458 Date: 2010-09-17 22:14:30 +0300
2460 xz: Update the Czech translation.
2462 Thanks to Marek Černocký.
2464 po/cs.po | 202 +++++++++++++++++++++++++++++++++++++++++----------------------
2465 1 file changed, 131 insertions(+), 71 deletions(-)
2467 commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6
2468 Author: Lasse Collin <lasse.collin@tukaani.org>
2469 Date: 2010-09-16 23:40:41 +0300
2471 xz: Add Italian translation.
2473 Thanks to Milo Casagrande and Lorenzo De Liso.
2477 po/it.po | 902 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2478 3 files changed, 905 insertions(+)
2480 commit 21088018554e2b0e02914205377ceb6e34a090bd
2481 Author: Lasse Collin <lasse.collin@tukaani.org>
2482 Date: 2010-09-15 00:34:13 +0300
2484 xz: Edit a translators comment.
2486 src/xz/list.c | 2 +-
2487 1 file changed, 1 insertion(+), 1 deletion(-)
2489 commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6
2490 Author: Lasse Collin <lasse.collin@tukaani.org>
2491 Date: 2010-09-14 22:47:14 +0300
2493 xz: Add German translation.
2495 Thanks to Andre Noll.
2499 po/de.po | 903 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2500 3 files changed, 905 insertions(+)
2502 commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b
2503 Author: Lasse Collin <lasse.collin@tukaani.org>
2504 Date: 2010-09-10 14:30:25 +0300
2509 1 file changed, 2 deletions(-)
2511 commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71
2512 Author: Lasse Collin <lasse.collin@tukaani.org>
2513 Date: 2010-09-10 14:30:07 +0300
2518 1 file changed, 4 insertions(+), 3 deletions(-)
2520 commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2
2521 Author: Lasse Collin <lasse.collin@tukaani.org>
2522 Date: 2010-09-10 14:26:20 +0300
2524 Updated the git repository address in ChangeLog.
2527 1 file changed, 1 insertion(+), 1 deletion(-)
2529 commit a8760203f93a69bc39fd14520a6e9e7b7d70be06
2530 Author: Lasse Collin <lasse.collin@tukaani.org>
2531 Date: 2010-09-10 14:09:33 +0300
2533 xz: Add a comment to translators about "literal context bits".
2535 src/xz/message.c | 4 ++++
2536 1 file changed, 4 insertions(+)
2538 commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5
2539 Author: Lasse Collin <lasse.collin@tukaani.org>
2540 Date: 2010-09-10 10:30:33 +0300
2544 The code assumed that printing numbers with thousand separators
2545 and decimal points would always produce only US-ASCII characters.
2546 This was used for buffer sizes (with snprintf(), no overflows)
2547 and aligning columns of the progress indicator and --list. That
2548 assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so
2549 multibyte character support was added in this commit. The old
2550 way is used if the operating system doesn't have enough multibyte
2551 support (e.g. lacks wcwidth()).
2553 The sizes of buffers were increased to accomodate multibyte
2554 characters. I don't know how big they should be exactly, but
2555 they aren't used for anything critical, so it's not too bad.
2556 If they still aren't big enough, I hopefully get a bug report.
2557 snprintf() takes care of avoiding buffer overflows.
2559 Some static buffers were replaced with buffers allocated on
2560 stack. double_to_str() was removed. uint64_to_str() and
2561 uint64_to_nicestr() now share the static buffer and test
2562 for thousand separator support.
2564 Integrity check names "None" and "Unknown-N" (2 <= N <= 15)
2565 were marked to be translated. I had forgot these, plus they
2566 wouldn't have worked correctly anyway before this commit,
2567 because printing tables with multibyte strings didn't work.
2569 Thanks to Marek Černocký for reporting the bug about
2570 misaligned table columns in --list output.
2573 m4/tuklib_mbstr.m4 | 30 ++++++
2574 src/common/tuklib_mbstr.h | 66 +++++++++++++
2575 src/common/tuklib_mbstr_fw.c | 31 ++++++
2576 src/common/tuklib_mbstr_width.c | 64 +++++++++++++
2577 src/xz/Makefile.am | 4 +-
2578 src/xz/list.c | 205 +++++++++++++++++++++++++++-------------
2579 src/xz/message.c | 56 +++++++----
2580 src/xz/message.h | 10 +-
2581 src/xz/private.h | 1 +
2582 src/xz/util.c | 136 +++++++++-----------------
2583 src/xz/util.h | 7 --
2584 12 files changed, 424 insertions(+), 187 deletions(-)
2586 commit 639f8e2af33cf8a184d59ba56b6df7c098679d61
2587 Author: Lasse Collin <lasse.collin@tukaani.org>
2588 Date: 2010-09-08 08:49:22 +0300
2590 Update the Czech translation.
2592 Thanks to Marek Černocký.
2594 po/cs.po | 655 +++++++++++++++++++++++++++++++++++++++++++--------------------
2595 1 file changed, 454 insertions(+), 201 deletions(-)
2597 commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7
2598 Author: Lasse Collin <lasse.collin@tukaani.org>
2599 Date: 2010-09-07 12:31:40 +0300
2601 xz: Add a note to translators.
2603 src/xz/hardware.c | 2 ++
2604 1 file changed, 2 insertions(+)
2606 commit 77a7746616e555fc08028e883a56d06bf0088b81
2607 Author: Lasse Collin <lasse.collin@tukaani.org>
2608 Date: 2010-09-07 10:42:13 +0300
2610 Fix use of N_() and ngettext().
2612 I had somehow thought that N_() is usually used
2613 as shorthand for ngettext().
2615 This also fixes a missing \n from a call to ngettext().
2617 src/common/tuklib_gettext.h | 4 ++--
2618 src/xz/list.c | 4 ++--
2619 2 files changed, 4 insertions(+), 4 deletions(-)
2621 commit e6ad39335842343e622ab51207d1d3cb9caad801
2622 Author: Lasse Collin <lasse.collin@tukaani.org>
2623 Date: 2010-09-06 19:43:12 +0300
2625 Add missing files to POTFILES.in.
2627 po/POTFILES.in | 3 +++
2628 1 file changed, 3 insertions(+)
2630 commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30
2631 Author: Lasse Collin <lasse.collin@tukaani.org>
2632 Date: 2010-09-06 10:16:24 +0300
2634 xz: Improve a comment.
2636 src/xz/file_io.c | 7 ++++---
2637 1 file changed, 4 insertions(+), 3 deletions(-)
2639 commit bcb1b898341f7073f51660d7052d7ed6c5461a66
2640 Author: Lasse Collin <lasse.collin@tukaani.org>
2641 Date: 2010-09-05 21:34:29 +0300
2643 xz: Update the comment about NetBSD in file_io.c.
2645 Thanks to Joerg Sonnenberger.
2647 src/xz/file_io.c | 8 ++++----
2648 1 file changed, 4 insertions(+), 4 deletions(-)
2650 commit da014d55972f5addbf6b4360d3d8ed2ef4282170
2651 Author: Lasse Collin <lasse.collin@tukaani.org>
2652 Date: 2010-09-05 21:11:33 +0300
2654 xz: Use an array instead of pointer for stdin_filename.
2656 Thanks Joerg Sonnenberger.
2658 src/xz/args.c | 2 +-
2659 src/xz/args.h | 2 +-
2660 2 files changed, 2 insertions(+), 2 deletions(-)
2662 commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee
2663 Author: Lasse Collin <lasse.collin@tukaani.org>
2664 Date: 2010-09-05 12:16:17 +0300
2666 xz: Hopefully ease translating the messages in list.c.
2668 src/xz/list.c | 33 +++++++++++++++++++++++----------
2669 1 file changed, 23 insertions(+), 10 deletions(-)
2671 commit ef840950ad99cf2955c754875af0e01acf125079
2672 Author: Lasse Collin <lasse.collin@tukaani.org>
2673 Date: 2010-09-04 23:14:44 +0300
2677 src/xz/options.c | 3 +--
2678 1 file changed, 1 insertion(+), 2 deletions(-)
2680 commit c46afd6edc04ea140db6c59e8486f5707c810c13
2681 Author: Lasse Collin <lasse.collin@tukaani.org>
2682 Date: 2010-09-04 23:12:20 +0300
2684 xz: Use lzma_lzma_preset() to initialize the options structure.
2686 src/xz/options.c | 14 ++------------
2687 1 file changed, 2 insertions(+), 12 deletions(-)
2689 commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065
2690 Author: Lasse Collin <lasse.collin@tukaani.org>
2691 Date: 2010-09-04 22:16:28 +0300
2693 Don't set lc=4 with --extreme.
2695 This should reduce the cases where --extreme makes
2696 compression worse. On the other hand, some other
2697 files may now benefit slightly less from --extreme.
2699 src/liblzma/lzma/lzma_encoder_presets.c | 1 -
2700 1 file changed, 1 deletion(-)
2702 commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b
2703 Author: Lasse Collin <lasse.collin@tukaani.org>
2704 Date: 2010-09-04 22:10:32 +0300
2706 xz: Minor improvements to --help and --long-help.
2708 src/xz/message.c | 24 ++++++++++++------------
2709 1 file changed, 12 insertions(+), 12 deletions(-)
2711 commit 373ee26f955617295c5c537b04a153a1969140d2
2712 Author: Jonathan Nieder <jrnieder@gmail.com>
2713 Date: 2010-09-03 16:49:15 -0500
2715 Adjust memory limits in test_compress.sh
2717 Testing compression at level -4 now requires 48 MiB of free store at
2718 compression time and 5 MiB at decompression time.
2720 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2722 tests/test_compress.sh | 2 +-
2723 1 file changed, 1 insertion(+), 1 deletion(-)
2725 commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087
2726 Author: Lasse Collin <lasse.collin@tukaani.org>
2727 Date: 2010-09-03 15:54:40 +0300
2729 xz: Make -vv show also decompressor memory usage.
2731 src/xz/coder.c | 7 +++++++
2732 1 file changed, 7 insertions(+)
2734 commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6
2735 Author: Lasse Collin <lasse.collin@tukaani.org>
2736 Date: 2010-09-03 15:13:12 +0300
2738 Tweak the compression presets -0 .. -5.
2740 "Extreme" mode might need some further tweaking still.
2741 Docs were not updated yet.
2743 src/liblzma/lzma/lzma_encoder_presets.c | 29 +++++++++++++++++++----------
2744 1 file changed, 19 insertions(+), 10 deletions(-)
2746 commit 77fe5954cd3d10fb1837372684cbc133b56b6a87
2747 Author: Lasse Collin <lasse.collin@tukaani.org>
2748 Date: 2010-09-03 12:28:41 +0300
2750 liblzma: Adjust default depth calculation for HC3 and HC4.
2752 It was 8 + nice_len / 4, now it is 4 + nice_len / 4.
2753 This allows faster settings at lower nice_len values,
2754 even though it seems that I won't use automatic depth
2755 calcuation with HC3 and HC4 in the presets.
2757 src/liblzma/lz/lz_encoder.c | 7 ++++---
2758 1 file changed, 4 insertions(+), 3 deletions(-)
2760 commit fce69059cf901ce8075a78c7607d591f144a3b5a
2761 Author: Lasse Collin <lasse.collin@tukaani.org>
2762 Date: 2010-09-03 11:11:25 +0300
2764 xz: Make --help two lines shorter.
2766 At least for now, the --help option doesn't list any
2767 options that take arguments, so "Mandatory arguments to..."
2770 src/xz/message.c | 7 +++++--
2771 1 file changed, 5 insertions(+), 2 deletions(-)
2773 commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298
2774 Author: Lasse Collin <lasse.collin@tukaani.org>
2775 Date: 2010-09-02 19:22:35 +0300
2777 xz: Make setting a preset override a custom filter chain.
2779 This is more logical behavior than ignoring preset level
2780 options once a custom filter chain has been specified.
2782 src/xz/coder.c | 9 +++++++++
2783 1 file changed, 9 insertions(+)
2785 commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3
2786 Author: Lasse Collin <lasse.collin@tukaani.org>
2787 Date: 2010-09-02 19:09:57 +0300
2789 xz: Always warn if adjusting dictionary size due to memlimit.
2791 src/xz/coder.c | 28 +++++++++-------------------
2792 1 file changed, 9 insertions(+), 19 deletions(-)
2794 commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d
2795 Author: Lasse Collin <lasse.collin@tukaani.org>
2796 Date: 2010-08-10 11:04:30 +0300
2798 Fix test_compress.sh.
2800 It broke when --memory option was removed from xzdec.
2802 Thanks to Jonathan Nieder.
2804 tests/test_compress.sh | 6 +++---
2805 1 file changed, 3 insertions(+), 3 deletions(-)
2807 commit 792331bdee706aa852a78b171040ebf814c6f3ae
2808 Author: Lasse Collin <lasse.collin@tukaani.org>
2809 Date: 2010-08-07 20:45:18 +0300
2811 Disable the memory usage limiter by default.
2813 For several people, the limiter causes bigger problems that
2814 it solves, so it is better to have it disabled by default.
2815 Those who want to have a limiter by default need to enable
2816 it via the environment variable XZ_DEFAULTS.
2818 Support for environment variable XZ_DEFAULTS was added. It is
2819 parsed before XZ_OPT and technically identical with it. The
2820 intended uses differ quite a bit though; see the man page.
2822 The memory usage limit can now be set separately for
2823 compression and decompression using --memlimit-compress and
2824 --memlimit-decompress. To set both at once, -M or --memlimit
2825 can be used. --memory was retained as a legacy alias for
2826 --memlimit for backwards compatibility.
2828 The semantics of --info-memory were changed in backwards
2829 incompatible way. Compatibility wasn't meaningful due to
2830 changes in the memory usage limiter functionality.
2832 The memory usage limiter info is no longer shown at the
2833 bottom of xz --long -help.
2835 The memory usage limiter support for removed completely from xzdec.
2837 xz's man page was updated to match the above changes. Various
2838 unrelated fixes were also made to the man page.
2840 src/xz/args.c | 87 +++++++++-----
2841 src/xz/coder.c | 8 +-
2842 src/xz/hardware.c | 96 +++++++++------
2843 src/xz/hardware.h | 23 ++--
2844 src/xz/list.c | 2 +-
2845 src/xz/message.c | 39 ++-----
2846 src/xz/message.h | 4 -
2847 src/xz/xz.1 | 341 ++++++++++++++++++++++++++++++++++--------------------
2848 src/xzdec/xzdec.1 | 45 +------
2849 src/xzdec/xzdec.c | 176 +---------------------------
2850 10 files changed, 373 insertions(+), 448 deletions(-)
2852 commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801
2853 Author: Lasse Collin <lasse.collin@tukaani.org>
2854 Date: 2010-08-06 20:22:16 +0300
2856 Add missing const to a global constant in xz.
2858 src/xz/args.c | 2 +-
2859 src/xz/args.h | 2 +-
2860 2 files changed, 2 insertions(+), 2 deletions(-)
2862 commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f
2863 Author: Lasse Collin <lasse.collin@tukaani.org>
2864 Date: 2010-07-28 11:44:55 +0300
2866 Language fixes for man pages.
2868 Thanks to A. Costa and Jonathan Nieder.
2870 src/lzmainfo/lzmainfo.1 | 4 ++--
2871 src/xz/xz.1 | 6 +++---
2872 2 files changed, 5 insertions(+), 5 deletions(-)
2874 commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b
2875 Author: Lasse Collin <lasse.collin@tukaani.org>
2876 Date: 2010-07-27 20:47:12 +0300
2878 Windows: Add a note about building a Git repository snapshot
2880 windows/INSTALL-Windows.txt | 9 +++++++++
2881 1 file changed, 9 insertions(+)
2883 commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38
2884 Author: Lasse Collin <lasse.collin@tukaani.org>
2885 Date: 2010-07-27 20:45:03 +0300
2887 Windows: build.sh is a bash script so name it correctly.
2890 windows/INSTALL-Windows.txt | 6 +-
2891 windows/build.bash | 189 ++++++++++++++++++++++++++++++++++++++++++++
2892 windows/build.sh | 189 --------------------------------------------
2893 4 files changed, 193 insertions(+), 193 deletions(-)
2895 commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339
2896 Author: Lasse Collin <lasse.collin@tukaani.org>
2897 Date: 2010-07-27 20:27:32 +0300
2899 Windows: Don't strip liblzma.a too much.
2901 windows/build.sh | 3 ++-
2902 1 file changed, 2 insertions(+), 1 deletion(-)
2904 commit a540198ffb25fad36380c5e92ac20c2d28eec46a
2905 Author: Lasse Collin <lasse.collin@tukaani.org>
2906 Date: 2010-07-13 20:07:26 +0300
2911 1 file changed, 1 insertion(+)
2913 commit bab0f01ed931f606b4675aa9f9331a17cec09bad
2914 Author: Lasse Collin <lasse.collin@tukaani.org>
2915 Date: 2010-07-13 19:55:50 +0300
2917 Add two simple example programs.
2919 Hopefully these help a bit when learning the basics
2920 of liblzma API. I plan to write detailed examples about
2921 both basic and advanced features with lots of comments,
2922 but these two examples are good have right now.
2924 The examples were written by Daniel Mealha Cabrita. Thanks.
2926 doc/examples/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++++++
2927 doc/examples/xz_pipe_decomp.c | 115 ++++++++++++++++++++++++++++++++++++++
2928 2 files changed, 242 insertions(+)
2930 commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00
2931 Author: Lasse Collin <lasse.collin@tukaani.org>
2932 Date: 2010-06-15 14:06:29 +0300
2936 src/xz/args.c | 6 ++++++
2937 src/xz/coder.c | 8 ++------
2938 src/xz/coder.h | 4 ++++
2939 src/xz/message.c | 6 +++++-
2940 src/xz/xz.1 | 13 +++++++++++--
2941 5 files changed, 28 insertions(+), 9 deletions(-)
2943 commit 2130926dd1c839280358172dfadd8d3054bde2b4
2944 Author: Lasse Collin <lasse.collin@tukaani.org>
2945 Date: 2010-06-11 21:51:32 +0300
2950 1 file changed, 1 insertion(+)
2952 commit bc612d0e0c9e4504c59d49168e87a7ae3e458443
2953 Author: Lasse Collin <lasse.collin@tukaani.org>
2954 Date: 2010-06-11 21:48:32 +0300
2956 Clarify the description of the default memlimit in the man page.
2958 Thanks to Denis Excoffier.
2960 src/xz/xz.1 | 4 ++--
2961 1 file changed, 2 insertions(+), 2 deletions(-)
2963 commit e1b6935d60a00405e6b5b455a3426d2248cc926c
2964 Author: Lasse Collin <lasse.collin@tukaani.org>
2965 Date: 2010-06-11 21:43:28 +0300
2967 Fix string to uint64_t conversion.
2969 Thanks to Denis Excoffier for the bug report.
2971 src/xz/util.c | 10 ++++++++--
2972 src/xzdec/xzdec.c | 13 +++++++++++--
2973 2 files changed, 19 insertions(+), 4 deletions(-)
2975 commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0
2976 Author: Lasse Collin <lasse.collin@tukaani.org>
2977 Date: 2010-06-11 10:40:28 +0300
2979 Put the git commit to the filename in mydist rule.
2981 Makefile.am | 6 +++++-
2982 1 file changed, 5 insertions(+), 1 deletion(-)
2984 commit d8b41eedce486d400f701b757b7b5e4e32276618
2985 Author: Lasse Collin <lasse.collin@tukaani.org>
2986 Date: 2010-06-02 23:13:55 +0300
2988 Fix compiling with -Werror.
2990 src/xz/message.c | 4 ++--
2991 1 file changed, 2 insertions(+), 2 deletions(-)
2993 commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8
2994 Author: Lasse Collin <lasse.collin@tukaani.org>
2995 Date: 2010-06-02 23:09:22 +0300
2997 Silence a bogus Valgrind warning.
2999 When using -O2 with GCC, it liked to swap two comparisons
3000 in one "if" statement. It's otherwise fine except that
3001 the latter part, which is seemingly never executed, got
3002 executed (nothing wrong with that) and then triggered
3003 warning in Valgrind about conditional jump depending on
3004 uninitialized variable. A few people find this annoying
3005 so do things a bit differently to avoid the warning.
3007 src/liblzma/lz/lz_encoder.c | 6 +++++-
3008 1 file changed, 5 insertions(+), 1 deletion(-)
3010 commit 29a7b250e685852f2f97615493ec49acaf528623
3011 Author: Lasse Collin <lasse.collin@tukaani.org>
3012 Date: 2010-06-02 21:32:12 +0300
3014 Fix a Windows-specific FIXME in signal handling code.
3016 src/xz/main.c | 40 +++++++++++++++++++++++++++++++++++-----
3017 src/xz/private.h | 5 +++++
3018 src/xz/signals.c | 16 ++++++++--------
3019 3 files changed, 48 insertions(+), 13 deletions(-)
3021 commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d
3022 Author: Lasse Collin <lasse.collin@tukaani.org>
3023 Date: 2010-06-02 17:46:58 +0300
3025 Adjust SA_RESTART workaround.
3027 I want to get a bug report if something else than
3028 DJGPP lacks SA_RESTART.
3030 src/xz/message.c | 14 +++++++-------
3031 1 file changed, 7 insertions(+), 7 deletions(-)
3033 commit e243145c84ab5c3be8259fd486ead0de5235b3f0
3034 Author: Lasse Collin <lasse.collin@tukaani.org>
3035 Date: 2010-06-01 16:02:30 +0300
3037 xz man page updates.
3039 - Concatenating .xz files and padding
3042 - A few examples (but many more are needed)
3044 src/xz/xz.1 | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
3045 1 file changed, 366 insertions(+), 19 deletions(-)
3047 commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562
3048 Author: Lasse Collin <lasse.collin@tukaani.org>
3049 Date: 2010-06-01 15:51:44 +0300
3051 Major update to xz --list.
3053 src/xz/list.c | 652 ++++++++++++++++++++++++++++++++++++++++++----------------
3054 1 file changed, 471 insertions(+), 181 deletions(-)
3056 commit 905e54804a899e4ad526d38fdba7e803ab9b71bd
3057 Author: Lasse Collin <lasse.collin@tukaani.org>
3058 Date: 2010-06-01 14:13:03 +0300
3060 Rename message_filters_get() to message_filters_to_str().
3062 src/xz/message.c | 4 ++--
3063 src/xz/message.h | 2 +-
3064 2 files changed, 3 insertions(+), 3 deletions(-)
3066 commit 4b346ae8af20045027ae5efb068c6d69da3324d2
3067 Author: Lasse Collin <lasse.collin@tukaani.org>
3068 Date: 2010-06-01 14:09:12 +0300
3072 src/liblzma/api/lzma/index.h | 2 +-
3073 1 file changed, 1 insertion(+), 1 deletion(-)
3075 commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296
3076 Author: Lasse Collin <lasse.collin@tukaani.org>
3077 Date: 2010-05-27 16:17:42 +0300
3079 Fix lzma_block_compressed_size().
3081 src/liblzma/common/block_util.c | 6 +++---
3082 1 file changed, 3 insertions(+), 3 deletions(-)
3084 commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593
3085 Author: Lasse Collin <lasse.collin@tukaani.org>
3086 Date: 2010-05-27 14:32:51 +0300
3088 Take Cygwin into account in some #if lines.
3090 This change is no-op, but good to have just in case
3093 src/xz/signals.c | 2 +-
3094 src/xz/signals.h | 4 ++--
3095 2 files changed, 3 insertions(+), 3 deletions(-)
3097 commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7
3098 Author: Lasse Collin <lasse.collin@tukaani.org>
3099 Date: 2010-05-27 13:42:44 +0300
3101 Remove references to the Subblock filter in xz and tests.
3103 Thanks to Jonathan Nieder.
3105 src/xz/message.c | 9 ---------
3106 tests/test_filter_flags.c | 23 -----------------------
3107 2 files changed, 32 deletions(-)
3109 commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893
3110 Author: Lasse Collin <lasse.collin@tukaani.org>
3111 Date: 2010-05-27 13:35:36 +0300
3113 Remove unused chunk_size.c.
3115 Thanks to Jonathan Nieder for the reminder.
3117 src/liblzma/common/chunk_size.c | 67 -----------------------------------------
3118 1 file changed, 67 deletions(-)
3120 commit 01a414eaf4be6352c06b48001b041b47e8202faa
3121 Author: Jonathan Nieder <jrnieder@gmail.com>
3122 Date: 2010-05-27 02:31:33 -0500
3124 Use my_min() instead of MIN() in src/xz/list.c
3126 This should have been done in
3127 920a69a8d8e4203c5edddd829d932130eac188ea.
3129 src/xz/list.c | 2 +-
3130 1 file changed, 1 insertion(+), 1 deletion(-)
3132 commit 920a69a8d8e4203c5edddd829d932130eac188ea
3133 Author: Lasse Collin <lasse.collin@tukaani.org>
3134 Date: 2010-05-26 10:36:46 +0300
3136 Rename MIN() and MAX() to my_min() and my_max().
3138 This should avoid some minor portability issues.
3140 debug/full_flush.c | 2 +-
3141 debug/sync_flush.c | 2 +-
3142 src/common/sysdefs.h | 12 +++++-------
3143 src/liblzma/common/block_buffer_encoder.c | 2 +-
3144 src/liblzma/common/common.c | 2 +-
3145 src/liblzma/common/stream_buffer_encoder.c | 2 +-
3146 src/liblzma/delta/delta_encoder.c | 2 +-
3147 src/liblzma/lz/lz_decoder.c | 7 ++++---
3148 src/liblzma/lz/lz_decoder.h | 2 +-
3149 src/liblzma/lz/lz_encoder.c | 2 +-
3150 src/liblzma/lz/lz_encoder.h | 2 +-
3151 src/liblzma/lz/lz_encoder_mf.c | 4 ++--
3152 src/liblzma/lzma/lzma2_encoder.c | 2 +-
3153 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
3154 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 14 +++++++-------
3155 src/xz/args.c | 3 ++-
3156 16 files changed, 31 insertions(+), 31 deletions(-)
3158 commit 019ae27c24d0c694545a6a46f8b9fb552198b015
3159 Author: Lasse Collin <lasse.collin@tukaani.org>
3160 Date: 2010-05-26 10:30:20 +0300
3162 Fix compilation of debug/known_sizes.c.
3164 debug/known_sizes.c | 2 +-
3165 1 file changed, 1 insertion(+), 1 deletion(-)
3167 commit 98a4856a6ea84f79c790057a6eb89a25bc45b074
3168 Author: Lasse Collin <lasse.collin@tukaani.org>
3169 Date: 2010-05-26 10:28:54 +0300
3171 Remove references to Subblock filter in debug/sync_flush.c.
3173 debug/sync_flush.c | 13 -------------
3174 1 file changed, 13 deletions(-)
3176 commit 703d2c33c095c41ae0693ee8c27c45e3847e4535
3177 Author: Lasse Collin <lasse.collin@tukaani.org>
3178 Date: 2010-05-26 10:16:57 +0300
3180 Better #error message.
3182 src/common/sysdefs.h | 4 ++--
3183 1 file changed, 2 insertions(+), 2 deletions(-)
3185 commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0
3186 Author: Lasse Collin <lasse.collin@tukaani.org>
3187 Date: 2010-05-26 09:55:47 +0300
3189 Remove the Subblock filter code for now.
3191 The spec isn't finished and the code didn't compile anymore.
3192 It won't be included in XZ Utils 5.0.0. It's easy to get it
3193 back once the spec is done.
3196 src/liblzma/Makefile.am | 5 -
3197 src/liblzma/api/Makefile.am | 1 -
3198 src/liblzma/api/lzma.h | 1 -
3199 src/liblzma/api/lzma/subblock.h | 200 -----
3200 src/liblzma/common/common.h | 6 -
3201 src/liblzma/common/filter_common.c | 9 -
3202 src/liblzma/common/filter_decoder.c | 16 -
3203 src/liblzma/common/filter_encoder.c | 12 -
3204 src/liblzma/subblock/Makefile.inc | 20 -
3205 src/liblzma/subblock/subblock_decoder.c | 630 ----------------
3206 src/liblzma/subblock/subblock_decoder.h | 22 -
3207 src/liblzma/subblock/subblock_decoder_helper.c | 70 --
3208 src/liblzma/subblock/subblock_decoder_helper.h | 29 -
3209 src/liblzma/subblock/subblock_encoder.c | 984 -------------------------
3210 src/liblzma/subblock/subblock_encoder.h | 21 -
3211 src/xz/args.c | 9 +-
3212 src/xz/options.c | 61 --
3213 src/xz/options.h | 7 -
3214 19 files changed, 4 insertions(+), 2105 deletions(-)
3216 commit b6377fc990f9b8651149cae0fecb8b9c5904e26d
3217 Author: Lasse Collin <lasse.collin@tukaani.org>
3218 Date: 2010-05-16 18:42:22 +0300
3220 Split message_filters().
3222 message_filters_to_str() converts the filter chain to
3223 a string. message_filters_show() replaces the original
3226 uint32_to_optstr() was also added to show the dictionary
3227 size in nicer format when possible.
3229 src/xz/coder.c | 2 +-
3230 src/xz/message.c | 187 +++++++++++++++++++++++++++++++++++--------------------
3231 src/xz/message.h | 14 ++++-
3232 3 files changed, 134 insertions(+), 69 deletions(-)
3234 commit d9986db782d6cf0f314342127280519339378fa0
3235 Author: Lasse Collin <lasse.collin@tukaani.org>
3236 Date: 2010-05-14 23:17:20 +0300
3238 Omit lzma_restrict from the API headers.
3240 It isn't really useful so omitting it makes things
3241 shorter and slightly more readable.
3243 src/liblzma/api/lzma.h | 12 ------------
3244 src/liblzma/api/lzma/index.h | 5 ++---
3245 src/liblzma/api/lzma/vli.h | 11 +++++------
3246 3 files changed, 7 insertions(+), 21 deletions(-)
3248 commit 0d3489efca0a723dca0394809fa3e6170843af4b
3249 Author: Lasse Collin <lasse.collin@tukaani.org>
3250 Date: 2010-05-10 19:57:24 +0300
3255 1 file changed, 5 deletions(-)
3257 commit 3fb3d594a2b53886adee161b6261e92277f05f7c
3258 Author: Lasse Collin <lasse.collin@tukaani.org>
3259 Date: 2010-05-10 19:54:52 +0300
3264 1 file changed, 1 insertion(+)
3266 commit 6548e304657e77d3a972053db3c41c5daf591113
3267 Author: Lasse Collin <lasse.collin@tukaani.org>
3268 Date: 2010-05-10 19:54:15 +0300
3270 Updates to tuklib_physmem and tuklib_cpucores.
3272 Don't use #error to generate compile error, because some
3273 compilers actually don't take it as an error. This fixes
3274 tuklib_physmem on IRIX.
3276 Fix incorrect error check for sysconf() return values.
3278 Add AIX, HP-UX, and Tru64 specific code to detect the
3281 Add HP-UX specific code to detect the number of CPU cores.
3283 Thanks a lot to Peter O'Gorman for initial patches,
3284 testing, and debugging these fixes.
3286 m4/tuklib_cpucores.m4 | 33 ++++++++++++++++----
3287 m4/tuklib_physmem.m4 | 72 ++++++++++++++++++++++++++++++++++++++++++--
3288 src/common/tuklib_cpucores.c | 14 +++++++--
3289 src/common/tuklib_physmem.c | 33 +++++++++++++++++++-
3290 4 files changed, 141 insertions(+), 11 deletions(-)
3292 commit a290cfee3e23f046889c022aa96b4eca2016fdda
3293 Author: Lasse Collin <lasse.collin@tukaani.org>
3294 Date: 2010-04-12 21:55:56 +0300
3296 Show both elapsed time and estimated remaining time in xz -v.
3298 The extra space for showing both has been taken from the
3299 sizes field. If the sizes grow big, bigger units than MiB
3300 will be used. It makes it slightly difficult to see that
3301 progress is still happening with huge files, but it should
3304 Thanks to Trent W. Buck for <http://bugs.debian.org/574583>
3305 and Jonathan Nieder for suggestions how to fix it.
3308 src/xz/message.c | 86 +++++++++++++++++++++++++-------------------------------
3309 2 files changed, 39 insertions(+), 48 deletions(-)
3311 commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e
3312 Author: Lasse Collin <lasse.collin@tukaani.org>
3313 Date: 2010-03-31 16:47:25 +0300
3315 Add a simple tip to faq.txt about tar and xz.
3317 Thanks to Gilles Espinasse.
3320 doc/faq.txt | 6 ++++++
3321 2 files changed, 7 insertions(+)
3323 commit c737eec91d200d730aa82662affd6b06ebb0bff0
3324 Author: Lasse Collin <lasse.collin@tukaani.org>
3325 Date: 2010-03-22 21:03:03 +0200
3330 1 file changed, 1 insertion(+)
3332 commit f4b2b52624b802c786e4e2a8eb6895794dd93b24
3333 Author: Lasse Collin <lasse.collin@tukaani.org>
3334 Date: 2010-03-07 19:52:25 +0200
3336 Fix xzgrep to not break if filenames have spaces or quotes.
3338 Thanks to someone who reported the bug on IRC.
3340 src/scripts/xzgrep.in | 2 +-
3341 1 file changed, 1 insertion(+), 1 deletion(-)
3343 commit cf38da00a140bd3bd65b192390ae5553380fd774
3344 Author: Lasse Collin <lasse.collin@tukaani.org>
3345 Date: 2010-03-07 13:59:32 +0200
3347 Treat all integer multiplier suffixes as base-2.
3349 Originally both base-2 and base-10 were supported, but since
3350 there seems to be little need for base-10 in XZ Utils, treat
3351 everything as base-2 and also be more relaxed about the case
3352 of the first letter of the suffix. Now xz will accept e.g.
3353 KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The
3354 recommended spelling of the suffixes are still KiB, MiB, and GiB.
3356 src/xz/util.c | 53 +++++++++++++++++++++++------------------------------
3357 src/xz/xz.1 | 48 ++++++++++++++++++++++++++++--------------------
3358 src/xzdec/xzdec.c | 42 ++++++++++++++++--------------------------
3359 3 files changed, 67 insertions(+), 76 deletions(-)
3361 commit 00fc1211ae7b687ac912098f4479112059deccbd
3362 Author: Lasse Collin <lasse.collin@tukaani.org>
3363 Date: 2010-03-07 13:50:23 +0200
3365 Consistently round up the memory usage limit in messages.
3367 It still feels a bit wrong to round 1 byte to 1 MiB but
3368 at least it is now done consistently so that the same
3369 byte value is always rounded the same way to MiB.
3371 src/xz/message.c | 5 +++--
3372 src/xzdec/xzdec.c | 7 +++++--
3373 2 files changed, 8 insertions(+), 4 deletions(-)
3375 commit 9886d436ff5615fc70eef32ff757b1e934069621
3376 Author: Lasse Collin <lasse.collin@tukaani.org>
3377 Date: 2010-03-07 13:34:34 +0200
3379 Change the default of --enable-assume-ram from 32 to 128 MiB.
3381 This is to allow files created with "xz -9" to be decompressed
3382 if the amount of RAM cannot be determined.
3385 configure.ac | 11 ++++++-----
3386 2 files changed, 8 insertions(+), 8 deletions(-)
3388 commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418
3389 Author: Lasse Collin <lasse.collin@tukaani.org>
3390 Date: 2010-03-07 13:29:28 +0200
3392 Increase the default memory usage limit on "low-memory" systems.
3394 Previously the default limit was always 40 % of RAM. The
3395 new limit is a little bit more complex:
3397 - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used
3400 - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit.
3402 - Otherwise 80 % of RAM is used as the limit.
3404 This should make it possible to decompress files created with
3405 "xz -9" on more systems. Swapping is generally more expected
3406 on systems with less RAM, so higher default limit on them
3407 shouldn't cause too bad surprises in terms of heavy swapping.
3408 Instead, the higher default limit should reduce the number of
3409 bad surprises when it used to prevent decompression of files
3410 created with "xz -9". The DoS prevention system shouldn't be
3413 Note that even with the new default limit, a system with 64 MiB
3414 RAM cannot decompress files created with "xz -9" without user
3415 overriding the limit. This should be OK, because if xz is going
3416 to need more memory than the system has RAM, it will run very
3417 very slowly and thus it's good that user has to override the limit
3420 src/xz/hardware.c | 43 +++++++++++++++++++++++++++++++------------
3421 src/xz/xz.1 | 21 +++++++++++++++------
3422 src/xzdec/xzdec.1 | 8 ++++----
3423 src/xzdec/xzdec.c | 42 ++++++++++++++++++++++++++++++------------
3424 4 files changed, 80 insertions(+), 34 deletions(-)
3426 commit 5527b7269a997e7f335d60f237a64bbf225d9dc7
3427 Author: Lasse Collin <lasse.collin@tukaani.org>
3428 Date: 2010-03-06 21:36:19 +0200
3433 1 file changed, 1 insertion(+)
3435 commit d0d1c51aea4351288a7e533cce28cb7f852f6b05
3436 Author: Lasse Collin <lasse.collin@tukaani.org>
3437 Date: 2010-03-06 21:17:20 +0200
3439 Fix missing initialization in lzma_strm_init().
3441 With bad luck, lzma_code() could return LZMA_BUF_ERROR
3444 This has been here since the early days of liblzma.
3445 It got triggered by the modifications made to the xz
3446 tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f
3447 but only when decompressing .lzma files. Somehow I managed
3448 to miss testing that with Valgrind earlier.
3450 This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>.
3451 Thanks to Rafał Mużyło for helping to debug it on IRC.
3453 src/liblzma/common/common.c | 1 +
3454 1 file changed, 1 insertion(+)
3456 commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea
3457 Author: Lasse Collin <lasse.collin@tukaani.org>
3458 Date: 2010-02-12 13:16:15 +0200
3460 Collection of language fixes to comments and docs.
3462 Thanks to Jonathan Nieder.
3467 extra/7z2lzma/7z2lzma.bash | 2 +-
3468 src/common/tuklib_progname.c | 2 +-
3469 src/common/tuklib_progname.h | 2 +-
3470 src/liblzma/api/lzma/base.h | 8 ++++----
3471 src/liblzma/api/lzma/bcj.h | 2 +-
3472 src/liblzma/api/lzma/block.h | 2 +-
3473 src/liblzma/api/lzma/check.h | 2 +-
3474 src/liblzma/api/lzma/filter.h | 4 ++--
3475 src/liblzma/api/lzma/index.h | 6 +++---
3476 src/liblzma/api/lzma/lzma.h | 2 +-
3477 src/liblzma/api/lzma/version.h | 2 +-
3478 src/liblzma/api/lzma/vli.h | 2 +-
3479 src/liblzma/common/block_header_encoder.c | 2 +-
3480 src/liblzma/common/chunk_size.c | 4 ++--
3481 src/liblzma/common/common.h | 4 ++--
3482 src/liblzma/common/filter_buffer_decoder.c | 2 +-
3483 src/liblzma/common/filter_encoder.c | 4 ++--
3484 src/liblzma/common/index.c | 6 +++---
3485 src/liblzma/common/index_encoder.c | 2 +-
3486 src/liblzma/common/stream_encoder.c | 2 +-
3487 src/liblzma/common/vli_decoder.c | 2 +-
3488 src/liblzma/lz/lz_encoder.c | 2 +-
3489 src/liblzma/lz/lz_encoder.h | 2 +-
3490 src/liblzma/lzma/lzma2_encoder.c | 2 +-
3491 src/liblzma/lzma/lzma_decoder.c | 4 ++--
3492 src/liblzma/lzma/lzma_decoder.h | 2 +-
3493 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
3494 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +-
3495 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
3496 src/liblzma/simple/simple_coder.c | 2 +-
3497 src/liblzma/subblock/subblock_encoder.c | 2 +-
3498 src/scripts/xzdiff.1 | 2 +-
3499 src/scripts/xzless.1 | 10 +++++-----
3500 src/xz/coder.c | 2 +-
3501 src/xz/file_io.c | 2 +-
3502 src/xz/main.c | 6 +++---
3503 src/xz/main.h | 2 +-
3504 src/xz/message.c | 10 +++++-----
3505 src/xz/message.h | 2 +-
3506 src/xz/xz.1 | 16 ++++++++--------
3507 src/xzdec/lzmadec_w32res.rc | 2 +-
3508 src/xzdec/xzdec_w32res.rc | 2 +-
3509 tests/test_index.c | 2 +-
3510 windows/build.sh | 4 ++--
3511 47 files changed, 77 insertions(+), 77 deletions(-)
3513 commit 4785f2021aa6a23f1caf724fcc823e562584f225
3514 Author: Lasse Collin <lasse.collin@tukaani.org>
3515 Date: 2010-02-12 12:41:20 +0200
3517 Fix jl -> jb in ASM files.
3519 src/liblzma/check/crc32_x86.S | 2 +-
3520 src/liblzma/check/crc64_x86.S | 4 ++--
3521 2 files changed, 3 insertions(+), 3 deletions(-)
3523 commit 6b50c9429bf85521d355adc61745d06ee017f8c8
3524 Author: Lasse Collin <lasse.collin@tukaani.org>
3525 Date: 2010-02-12 12:31:22 +0200
3527 Use __APPLE__ instead of __MACH__ in ASM files.
3529 This allows the files to work on HURD.
3531 Thanks to Jonathan Nieder.
3533 src/liblzma/check/crc32_x86.S | 8 ++++----
3534 src/liblzma/check/crc64_x86.S | 8 ++++----
3535 2 files changed, 8 insertions(+), 8 deletions(-)
3537 commit 6503fde658a5cdbdd907a788865470dd64771601
3538 Author: Lasse Collin <lasse.collin@tukaani.org>
3539 Date: 2010-02-07 19:48:06 +0200
3541 Subtle change to liblzma Block handling API.
3543 lzma_block.version has to be initialized even for
3544 lzma_block_header_decode(). This way a future version
3545 of liblzma won't allocate memory in a way that an old
3546 application doesn't know how to free it.
3548 The subtlety of this change is that all current apps
3549 using lzma_block_header_decode() will keep working for
3550 now, because the only possible version value is zero,
3551 and lzma_block_header_decode() unconditionally sets the
3552 version to zero even now. Unless fixed, these apps will
3553 break in the future if a new version of the Block options
3556 src/liblzma/api/lzma/block.h | 39 ++++++++++++++++---------------------
3557 src/liblzma/common/stream_decoder.c | 3 +++
3558 2 files changed, 20 insertions(+), 22 deletions(-)
3560 commit dd7c3841ff78cb94ce02b0220c6e4748460970f7
3561 Author: Lasse Collin <lasse.collin@tukaani.org>
3562 Date: 2010-02-02 11:50:11 +0200
3564 Fix wrong assertion.
3566 This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735.
3568 src/xz/main.c | 5 +++--
3569 1 file changed, 3 insertions(+), 2 deletions(-)
3571 commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be
3572 Author: Lasse Collin <lasse.collin@tukaani.org>
3573 Date: 2010-02-01 22:48:42 +0200
3578 1 file changed, 4 deletions(-)
3580 commit fef6333f52c8801308c3b78acb7942988541d137
3581 Author: Lasse Collin <lasse.collin@tukaani.org>
3582 Date: 2010-02-01 22:47:54 +0200
3584 Fix typos in comments.
3586 src/xz/list.c | 2 +-
3587 windows/build.sh | 2 +-
3588 2 files changed, 2 insertions(+), 2 deletions(-)
3590 commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735
3591 Author: Lasse Collin <lasse.collin@tukaani.org>
3592 Date: 2010-02-01 22:46:56 +0200
3594 Fix signal handling for --list.
3596 src/xz/main.c | 19 ++++++++++++++-----
3597 1 file changed, 14 insertions(+), 5 deletions(-)
3599 commit 82220a149015616f75641ee8bbea415137535b9b
3600 Author: Lasse Collin <lasse.collin@tukaani.org>
3601 Date: 2010-02-01 11:44:45 +0200
3603 Fix compression of symlinks with --force.
3605 xz --force accepted symlinks, but didn't remove
3606 them after successful compression. Instead, an error
3607 message was displayed.
3609 src/xz/file_io.c | 14 +++++++++++++-
3610 1 file changed, 13 insertions(+), 1 deletion(-)
3612 commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e
3613 Author: Lasse Collin <lasse.collin@tukaani.org>
3614 Date: 2010-02-01 10:20:57 +0200
3618 windows/build.sh | 5 ++---
3619 1 file changed, 2 insertions(+), 3 deletions(-)
3621 commit f9dd797a423a148903cf345b4146cb1fe1eab11d
3622 Author: Lasse Collin <lasse.collin@tukaani.org>
3623 Date: 2010-01-31 23:43:54 +0200
3628 1 file changed, 1 insertion(+)
3630 commit ee5ddb8b28419fe4923ded5c18a50570a762dcab
3631 Author: Lasse Collin <lasse.collin@tukaani.org>
3632 Date: 2010-01-31 23:41:29 +0200
3636 TODO | 17 +++++++++++------
3637 1 file changed, 11 insertions(+), 6 deletions(-)
3639 commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6
3640 Author: Lasse Collin <lasse.collin@tukaani.org>
3641 Date: 2010-01-31 23:35:04 +0200
3643 Mention TODO in README.
3646 1 file changed, 1 insertion(+)
3648 commit 2901a8e7e82af05675b8cd8758a8ceddb111359f
3649 Author: Lasse Collin <lasse.collin@tukaani.org>
3650 Date: 2010-01-31 23:31:14 +0200
3654 INSTALL | 52 ++++++++++++++++++++++++++--------------------------
3655 1 file changed, 26 insertions(+), 26 deletions(-)
3657 commit 8884e16864ba53fb4b58623d7537d7ef30c28e11
3658 Author: Lasse Collin <lasse.collin@tukaani.org>
3659 Date: 2010-01-31 23:28:51 +0200
3661 Revise the Windows build files.
3663 The old Makefile + config.h was deleted, because it
3664 becomes outdated too easily and building with the
3665 Autotools based build system works fine even on Windows.
3667 windows/build.sh hasn't got much testing, but it should
3668 work to build 32-bit x86 and x86-64 versions of XZ Utils
3669 using MSYS, MinGW or MinGW-w32, and MinGW-w64.
3671 windows/INSTALL-Windows.txt describes what packages are
3672 needed and how to install them.
3674 windows/README-Windows.txt is a readme file for the binary
3675 package that build.sh hopefully builds.
3677 There are no instructions about using Autotools for now,
3678 so those using a git snapshot may want to run
3679 "autoreconf -fi && ./configure && make mydist" on a UN*X
3680 box and then copy the resulting .tar.gz to a Windows.
3682 windows/INSTALL-Windows.txt | 131 ++++++++++++++++++
3683 windows/Makefile | 320 --------------------------------------------
3684 windows/README | 155 ---------------------
3685 windows/README-Windows.txt | 115 ++++++++++++++++
3686 windows/build.sh | 189 ++++++++++++++++++++++++++
3687 windows/config.h | 170 -----------------------
3688 6 files changed, 435 insertions(+), 645 deletions(-)
3690 commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c
3691 Author: Lasse Collin <lasse.collin@tukaani.org>
3692 Date: 2010-01-31 19:52:38 +0200
3694 Select the default integrity check type at runtime.
3696 Previously it was set statically to CRC64 or CRC32
3697 depending on options passed to the configure script.
3699 src/xz/coder.c | 19 ++++++++++++++-----
3700 1 file changed, 14 insertions(+), 5 deletions(-)
3702 commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1
3703 Author: Lasse Collin <lasse.collin@tukaani.org>
3704 Date: 2010-01-31 18:17:50 +0200
3706 Improve displaying of the memory usage limit.
3708 src/xz/coder.c | 8 +++-----
3709 src/xz/message.c | 37 +++++++++++++++++++++++++++++--------
3710 src/xz/util.c | 7 +++++++
3711 src/xz/util.h | 6 ++++++
3712 4 files changed, 45 insertions(+), 13 deletions(-)
3714 commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2
3715 Author: Lasse Collin <lasse.collin@tukaani.org>
3716 Date: 2010-01-31 12:53:56 +0200
3718 Don't use uninitialized sigset_t.
3720 If signal handlers haven't been established, then it's
3721 useless to try to block them, especially since the sigset_t
3722 used for blocking hasn't been initialized yet.
3724 src/xz/signals.c | 34 ++++++++++++++++++++++++----------
3725 1 file changed, 24 insertions(+), 10 deletions(-)
3727 commit 231c3c7098f1099a56abb8afece76fc9b8699f05
3728 Author: Lasse Collin <lasse.collin@tukaani.org>
3729 Date: 2010-01-31 12:01:54 +0200
3731 Delay opening the destionation file and other fixes.
3733 The opening of the destination file is now delayed a little.
3734 The coder is initialized, and if decompressing, the memory
3735 usage of the first Block compared against the memory
3736 usage limit before the destination file is opened. This
3737 means that if --force was used, the old "target" file won't
3738 be deleted so easily when something goes wrong very early.
3739 Thanks to Mark K for the bug report.
3741 The above fix required some changes to progress message
3742 handling. Now there is a separate function for setting and
3743 printing the filename. It is used also in list.c.
3745 list_file() now handles stdin correctly (gives an error).
3747 A useless check for user_abort was removed from file_io.c.
3749 src/xz/coder.c | 64 ++++++++++++++++++++++-----------
3750 src/xz/file_io.c | 107 +++++++++++++++++++++++++++----------------------------
3751 src/xz/file_io.h | 8 +++--
3752 src/xz/list.c | 28 +++++----------
3753 src/xz/message.c | 46 +++++++++++++-----------
3754 src/xz/message.h | 29 ++++++++++-----
3755 6 files changed, 157 insertions(+), 125 deletions(-)
3757 commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105
3758 Author: Lasse Collin <lasse.collin@tukaani.org>
3759 Date: 2010-01-29 22:48:04 +0200
3761 Add list.h to src/xz/Makefile.am.
3763 This should have been already in
3764 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1.
3766 src/xz/Makefile.am | 1 +
3767 1 file changed, 1 insertion(+)
3769 commit b4b1a56e0cbd597157858264f5c7189201ac9018
3770 Author: Lasse Collin <lasse.collin@tukaani.org>
3771 Date: 2010-01-29 13:24:27 +0200
3773 Add lzmainfo.1 to manfiles list to convert to .txt and .pdf.
3776 1 file changed, 1 insertion(+)
3778 commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95
3779 Author: Lasse Collin <lasse.collin@tukaani.org>
3780 Date: 2010-01-27 16:42:11 +0200
3782 Silence two compiler warnings on DOS-like systems.
3784 src/common/tuklib_open_stdxxx.c | 6 +++++-
3785 src/xz/file_io.c | 3 +++
3786 2 files changed, 8 insertions(+), 1 deletion(-)
3788 commit b063cc34a30a4edf109343ff373b2b62b8ca72d3
3789 Author: Lasse Collin <lasse.collin@tukaani.org>
3790 Date: 2010-01-27 13:31:03 +0200
3792 Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE.
3794 configure.ac | 9 ++-------
3795 src/liblzma/liblzma.pc.in | 2 +-
3796 src/lzmainfo/lzmainfo.c | 2 +-
3797 src/xz/message.c | 2 +-
3798 src/xzdec/xzdec.c | 2 +-
3799 5 files changed, 6 insertions(+), 11 deletions(-)
3801 commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f
3802 Author: Lasse Collin <lasse.collin@tukaani.org>
3803 Date: 2010-01-26 23:37:46 +0200
3805 Add a missing space to an error message.
3807 Thanks to Robert Readman.
3809 src/xz/args.c | 2 +-
3810 1 file changed, 1 insertion(+), 1 deletion(-)
3812 commit e5496f9628ff5979392a80421d0b63a4de8015b4
3813 Author: Lasse Collin <lasse.collin@tukaani.org>
3814 Date: 2010-01-26 22:53:37 +0200
3816 Use past tense in error message in io_unlink().
3818 Added a note to translators too.
3820 Thanks to Robert Readman.
3823 src/xz/file_io.c | 14 ++++++++++++--
3824 2 files changed, 13 insertions(+), 2 deletions(-)
3826 commit d9a9800597ea540090e434132c3b511217df0a2b
3827 Author: Lasse Collin <lasse.collin@tukaani.org>
3828 Date: 2010-01-26 15:42:24 +0200
3830 Fix too small static buffer in util.c.
3832 This was introduced in
3833 0dd6d007669b946543ca939a44243833c79e08f4 two days ago.
3835 src/xz/util.c | 9 ++++-----
3836 1 file changed, 4 insertions(+), 5 deletions(-)
3838 commit d0b4bbf5da068503c099cd456e294d7673548cc0
3839 Author: Lasse Collin <lasse.collin@tukaani.org>
3840 Date: 2010-01-26 14:46:43 +0200
3844 src/xz/main.c | 4 ++--
3845 1 file changed, 2 insertions(+), 2 deletions(-)
3847 commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1
3848 Author: Lasse Collin <lasse.collin@tukaani.org>
3849 Date: 2010-01-24 23:50:54 +0200
3851 Add initial version of xz --list.
3853 This is a bit rough but should be useful for basic things.
3854 Ideas (with detailed examples) about the output format are
3857 The output of --robot --list is not necessarily stable yet,
3858 although I don't currently have any plans about changing it.
3860 The man page hasn't been updated yet.
3862 src/xz/Makefile.am | 1 +
3863 src/xz/list.c | 988 ++++++++++++++++++++++++++++++++++-------------------
3864 src/xz/list.h | 18 +
3865 src/xz/main.c | 19 +-
3866 src/xz/private.h | 1 +
3867 5 files changed, 668 insertions(+), 359 deletions(-)
3869 commit df254ce03be016e217b511e7acd5d493f9929ca5
3870 Author: Lasse Collin <lasse.collin@tukaani.org>
3871 Date: 2010-01-24 22:46:11 +0200
3875 It will be used by --list.
3877 src/xz/file_io.c | 25 +++++++++++++++++++++++++
3878 src/xz/file_io.h | 17 +++++++++++++++++
3879 2 files changed, 42 insertions(+)
3881 commit ef68dd4a92976276304de2aedfbe34ae91a86abb
3882 Author: Lasse Collin <lasse.collin@tukaani.org>
3883 Date: 2010-01-24 22:45:14 +0200
3885 Set LC_NUMERIC=C when --robot is used.
3887 It is to ensure that floating point numbers
3888 will always have a dot as the decimal separator.
3890 src/xz/args.c | 4 ++++
3891 1 file changed, 4 insertions(+)
3893 commit 0dd6d007669b946543ca939a44243833c79e08f4
3894 Author: Lasse Collin <lasse.collin@tukaani.org>
3895 Date: 2010-01-24 16:57:40 +0200
3897 Some improvements to printing sizes in xz.
3899 src/xz/coder.c | 56 +++++++++++++++------------------------
3900 src/xz/message.c | 80 ++++++++++++++++++--------------------------------------
3901 src/xz/message.h | 4 +++
3902 src/xz/util.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++
3903 src/xz/util.h | 44 +++++++++++++++++++++++++++++++
3904 5 files changed, 166 insertions(+), 90 deletions(-)
3906 commit 2a98fdffd68c66371279c211c29153c808ad5c1d
3907 Author: Lasse Collin <lasse.collin@tukaani.org>
3908 Date: 2010-01-20 22:02:35 +0200
3910 Fix a typo in README.
3912 Thanks to R. Bijker.
3915 1 file changed, 1 insertion(+), 1 deletion(-)
3917 commit 07a11dad44e041b01dcfc73e8d4e00731158c06d
3918 Author: Lasse Collin <lasse.collin@tukaani.org>
3919 Date: 2010-01-17 11:59:54 +0200
3921 Updated windows/Makefile.
3923 Thanks to Dan Shechter for the patch.
3925 It is likely that windows/Makefile will be removed
3926 completely, because Autotols based build nowadays
3927 works well with both 32-bit and 64-bit MinGW (I
3928 just need to update the docs).
3930 windows/Makefile | 38 +++++++++++++++++++++++++-------------
3931 windows/config.h | 2 ++
3932 2 files changed, 27 insertions(+), 13 deletions(-)
3934 commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3
3935 Author: Lasse Collin <lasse.collin@tukaani.org>
3936 Date: 2010-01-15 11:05:11 +0200
3938 Update the xz man page to match the previous two commits.
3940 src/xz/xz.1 | 9 +++------
3941 1 file changed, 3 insertions(+), 6 deletions(-)
3943 commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7
3944 Author: Lasse Collin <lasse.collin@tukaani.org>
3945 Date: 2010-01-13 19:10:25 +0200
3947 Don't read compressed data from a terminal or write it
3948 to a terminal even if --force is specified.
3950 It just seems more reasonable this way.
3952 The new behavior matches bzip2. The old one matched gzip.
3954 src/xz/main.c | 20 +++++++++-----------
3955 src/xz/util.c | 8 ++++----
3956 2 files changed, 13 insertions(+), 15 deletions(-)
3958 commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4
3959 Author: Lasse Collin <lasse.collin@tukaani.org>
3960 Date: 2010-01-13 18:12:40 +0200
3962 Don't compress or decompress special files unless writing
3963 to stdout even if --force is used.
3965 --force will still enable compression of symlinks, but only
3966 in case they point to a regular file.
3968 The new way simply seems more reasonable. It matches gzip's
3969 behavior while the old one matched bzip2's behavior.
3971 src/xz/file_io.c | 15 ++++++++++-----
3972 1 file changed, 10 insertions(+), 5 deletions(-)
3974 commit cee12aa852ec0902983dc1f153346ef750157fb9
3975 Author: Lasse Collin <lasse.collin@tukaani.org>
3976 Date: 2010-01-12 16:30:33 +0200
3981 1 file changed, 1 insertion(+)
3983 commit 153c7740c54b3c90129dbd3d6153ac1303c4d605
3984 Author: Lasse Collin <lasse.collin@tukaani.org>
3985 Date: 2010-01-12 16:18:14 +0200
3987 Add IRIX-specific code to tuklib_physmem and tuklib_cpucores.
3989 This is untested but it will get tested soon and, if needed,
3992 Thanks to Stuart Shelton.
3994 m4/tuklib_cpucores.m4 | 11 +++++++++--
3995 m4/tuklib_physmem.m4 | 22 +++++++++++++++++++++-
3996 src/common/tuklib_cpucores.c | 6 ++++++
3997 src/common/tuklib_physmem.c | 19 +++++++++++++++++++
3998 4 files changed, 55 insertions(+), 3 deletions(-)
4000 commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1
4001 Author: Lasse Collin <lasse.collin@tukaani.org>
4002 Date: 2010-01-01 00:29:10 +0200
4004 Fix _memconfig() functions.
4006 This affects lzma_memusage() and lzma_memlimit_get().
4008 src/liblzma/api/lzma/index.h | 7 -------
4009 src/liblzma/common/alone_decoder.c | 11 +++++++----
4010 src/liblzma/common/index_decoder.c | 10 ++++++----
4011 src/liblzma/common/stream_decoder.c | 11 +++++++----
4012 4 files changed, 20 insertions(+), 19 deletions(-)
4014 commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691
4015 Author: Lasse Collin <lasse.collin@tukaani.org>
4016 Date: 2009-12-31 22:45:53 +0200
4018 Revised the Index handling code.
4020 This breaks API and ABI but most apps are not affected
4021 since most apps don't use this part of the API. You will
4022 get a compile error if you are using anything that got
4027 - Ability to store Stream Flags, which are needed
4028 for random-access reading in multi-Stream files.
4030 - Separate function to set size of Stream Padding.
4032 - Iterator structure makes it possible to read the same
4033 lzma_index from multiple threads at the same time.
4035 - A lot faster code to locate Blocks.
4037 - Removed lzma_index_equal() without adding anything
4038 to replace it. I don't know what it should do exactly
4039 with the new features and what actually needs this
4040 function in the first place other than test_index.c,
4041 which now has its own code to compare lzma_indexes.
4043 src/liblzma/api/lzma/index.h | 572 +++++++---
4044 src/liblzma/common/index.c | 1553 ++++++++++++++++++----------
4045 src/liblzma/common/index.h | 6 +
4046 src/liblzma/common/index_decoder.c | 12 +-
4047 src/liblzma/common/index_encoder.c | 36 +-
4048 src/liblzma/common/index_encoder.h | 2 +-
4049 src/liblzma/common/stream_buffer_encoder.c | 6 +-
4050 src/liblzma/common/stream_encoder.c | 3 +-
4051 tests/test_index.c | 371 ++++---
4052 9 files changed, 1703 insertions(+), 858 deletions(-)
4054 commit f29997a846e673cb3b8cbd57de47ed313b3978bb
4055 Author: Lasse Collin <lasse.collin@tukaani.org>
4056 Date: 2009-12-31 21:13:25 +0200
4058 Remove c-format tag in cs.po.
4060 It was fixed in the C code earlier.
4063 1 file changed, 1 deletion(-)
4065 commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644
4066 Author: Lasse Collin <lasse.collin@tukaani.org>
4067 Date: 2009-12-31 21:11:05 +0200
4069 Add missing lzma_nothrow in filter.h.
4071 src/liblzma/api/lzma/filter.h | 4 ++--
4072 1 file changed, 2 insertions(+), 2 deletions(-)
4074 commit b56cb1fc31fa2381f92eefc040df85667048d626
4075 Author: Lasse Collin <lasse.collin@tukaani.org>
4076 Date: 2009-12-09 18:13:44 +0200
4078 Remove redefinition of _(msgid) macro from lzmainfo.c.
4080 src/lzmainfo/lzmainfo.c | 7 -------
4081 1 file changed, 7 deletions(-)
4083 commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2
4084 Author: Jonathan Nieder <jrnieder@gmail.com>
4085 Date: 2009-12-08 19:41:57 -0600
4087 update po/.gitignore
4089 Since the *.gmo files are deleted by the maintainer-clean target,
4090 I assume they are not meant to be tracked.
4092 Also add the other files listed in the Makefile’s clean targets
4093 (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they
4094 are not accidentally tracked. Most of these are intermediate
4095 files that would not appear unless a build is interrupted or
4098 Split the list of untracked files by origin to make it easier to
4099 tell if files are missing in the future.
4101 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
4103 po/.gitignore | 28 ++++++++++++++++++++++------
4104 1 file changed, 22 insertions(+), 6 deletions(-)
4106 commit f7e44c6c11f630519072971b8b07a5729c096c36
4107 Author: Lasse Collin <lasse.collin@tukaani.org>
4108 Date: 2009-12-09 00:38:55 +0200
4110 Always rely on GCC's auto-import on Windows.
4112 I understood that this is nicer, because then people
4113 don't need to worry about the LZMA_API_STATIC macro.
4115 Thanks to Charles Wilson and Keith Marshall.
4117 src/liblzma/api/lzma.h | 16 +++++++++-------
4118 1 file changed, 9 insertions(+), 7 deletions(-)
4120 commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c
4121 Author: Lasse Collin <lasse.collin@tukaani.org>
4122 Date: 2009-12-07 21:46:53 +0200
4124 Fix file_io.c on DOS-like systems.
4126 The problem was introduced when adding sparse file
4127 support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902.
4129 Thanks to Charles Wilson.
4131 src/xz/file_io.c | 4 ++++
4132 1 file changed, 4 insertions(+)
4134 commit 0696f5d268362221380e039bad48a86e29067c6a
4135 Author: Lasse Collin <lasse.collin@tukaani.org>
4136 Date: 2009-12-07 20:54:21 +0200
4138 Add Czech translation.
4140 Thanks to Marek Černocký.
4142 Other people planning to translate xz: Note that the
4143 messages are a little bit in flux still. Translations
4144 are still welcome, just be prepared to some extra work
4145 in case there are changes.
4149 po/cs.po | 637 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4150 3 files changed, 639 insertions(+)
4152 commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5
4153 Author: Lasse Collin <lasse.collin@tukaani.org>
4154 Date: 2009-12-07 20:32:08 +0200
4156 Add a note for translators to add a bug reporting address
4157 for translation bugs.
4159 src/xz/message.c | 4 ++++
4160 1 file changed, 4 insertions(+)
4162 commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37
4163 Author: Lasse Collin <lasse.collin@tukaani.org>
4164 Date: 2009-12-07 20:07:02 +0200
4166 Prevent xgettext from taking one regular string as a C format string.
4168 Thanks to Marek Černocký.
4170 src/xz/message.c | 2 +-
4171 1 file changed, 1 insertion(+), 1 deletion(-)
4173 commit e0c2776b6ffbd2b1900fde353aceac734edc93d7
4174 Author: Lasse Collin <lasse.collin@tukaani.org>
4175 Date: 2009-11-28 17:45:22 +0200
4177 Remove duplicate code in io_open_dest().
4179 Fix a missing _() in the error message too.
4181 src/xz/file_io.c | 9 +--------
4182 1 file changed, 1 insertion(+), 8 deletions(-)
4184 commit f057a33c6f7c5992389479f2d4feabf2900ba7ee
4185 Author: Lasse Collin <lasse.collin@tukaani.org>
4186 Date: 2009-11-26 10:11:23 +0200
4188 Typo fix to sysdefs.h.
4190 Thanks to Jonathan Nieder.
4192 src/common/sysdefs.h | 2 +-
4193 1 file changed, 1 insertion(+), 1 deletion(-)
4195 commit 8767b41534eafdf5e742e12190646bf5740b0cdb
4196 Author: Lasse Collin <lasse.collin@tukaani.org>
4197 Date: 2009-11-26 10:10:36 +0200
4199 Fix a memory leak in test_index.c.
4201 This was introduced in
4202 bd13b04e202b6f495a68eb0766f97085b7c50a06.
4204 Thanks to Jim Meyering for noticing it.
4206 tests/test_index.c | 2 ++
4207 1 file changed, 2 insertions(+)
4209 commit 919fbaff860acdaa4bcd216500a0b1c960a6db92
4210 Author: Lasse Collin <lasse.collin@tukaani.org>
4211 Date: 2009-11-25 14:22:19 +0200
4213 Add missing error check to coder.c.
4215 With bad luck this could cause a segfault due to
4216 reading (but not writing) past the end of the buffer.
4218 src/xz/coder.c | 20 +++++++++++---------
4219 1 file changed, 11 insertions(+), 9 deletions(-)
4221 commit bd13b04e202b6f495a68eb0766f97085b7c50a06
4222 Author: Lasse Collin <lasse.collin@tukaani.org>
4223 Date: 2009-11-25 13:04:10 +0200
4225 Fix bugs in lzma_index_read() and lzma_index_cat().
4227 lzma_index_read() didn't skip over Stream Padding
4228 if it was the first record in the Index.
4230 lzma_index_cat() didn't combine small Indexes correctly.
4232 The test suite was updated to check for these bugs.
4234 These bugs didn't affect the xz command line tool or
4235 most users of liblzma in any way.
4237 src/liblzma/common/index.c | 30 +++++++++++++++++++-----------
4238 tests/test_index.c | 28 +++++++++++++++++++++++++---
4239 2 files changed, 44 insertions(+), 14 deletions(-)
4241 commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa
4242 Author: Lasse Collin <lasse.collin@tukaani.org>
4243 Date: 2009-11-25 12:52:56 +0200
4245 Index decoder fixes.
4247 The Index decoder code didn't perfectly match the API docs,
4248 which said that *i will be set to point to the decoded Index
4249 only after decoding has succeeded. The docs were a bit unclear
4252 Now the decoder will initially set *i to NULL. *i will be set
4253 to point to the decoded Index once decoding has succeeded.
4254 This simplifies applications too, since it avoids dangling
4257 src/liblzma/api/lzma/index.h | 23 ++++++++++++-----------
4258 src/liblzma/common/index_decoder.c | 26 ++++++++++++++++++++------
4259 2 files changed, 32 insertions(+), 17 deletions(-)
4261 commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902
4262 Author: Lasse Collin <lasse.collin@tukaani.org>
4263 Date: 2009-11-25 11:19:20 +0200
4265 Create sparse files by default when decompressing into
4268 Sparse file creation can be disabled with --no-sparse.
4269 I don't promise yet that the name of this option won't
4270 change before 5.0.0. It's possible that the code, that
4271 checks when it is safe to use sparse output on stdout,
4272 is not good enough, and a more flexible command line
4273 option is needed to configure sparse file handling.
4275 src/xz/args.c | 6 ++
4276 src/xz/coder.c | 33 ++++----
4277 src/xz/file_io.c | 243 +++++++++++++++++++++++++++++++++++++++++++++++--------
4278 src/xz/file_io.h | 34 ++++++--
4279 src/xz/message.c | 1 +
4280 src/xz/xz.1 | 11 +++
4281 6 files changed, 272 insertions(+), 56 deletions(-)
4283 commit 37de544414fc2dc5039471d1002ebd015eb3e627
4284 Author: Lasse Collin <lasse.collin@tukaani.org>
4285 Date: 2009-11-22 12:43:06 +0200
4290 1 file changed, 1 insertion(+)
4292 commit f1a28b96c900c658fe016852ff62f6c24d1f50fa
4293 Author: Lasse Collin <lasse.collin@tukaani.org>
4294 Date: 2009-11-22 12:05:33 +0200
4296 Add missing consts to pointer casts.
4298 src/liblzma/check/crc32_fast.c | 4 ++--
4299 src/liblzma/check/crc64_fast.c | 5 +++--
4300 2 files changed, 5 insertions(+), 4 deletions(-)
4302 commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef
4303 Author: Lasse Collin <lasse.collin@tukaani.org>
4304 Date: 2009-11-22 12:00:30 +0200
4306 Enable assembler code only if it is known to work
4307 on that operating system.
4309 I'm too lazy to think how to make a good Autoconf test
4310 for this and it's not that important anyway.
4312 No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64.
4313 Inline assembler (if any) is used if a macro like
4314 __i386__ or __x86_64__ is defined.
4316 configure.ac | 26 ++++++++++++--------------
4317 1 file changed, 12 insertions(+), 14 deletions(-)
4319 commit 0733f4c9994db696420a405810d5f02c79ebc404
4320 Author: Lasse Collin <lasse.collin@tukaani.org>
4321 Date: 2009-11-22 11:55:03 +0200
4323 Make fastpos.h use tuklib_integer.h instead of bsr.h
4324 when --enable-small has been specified.
4326 src/liblzma/common/Makefile.inc | 1 -
4327 src/liblzma/common/bsr.h | 60 -----------------------------------------
4328 src/liblzma/lzma/fastpos.h | 5 +---
4329 3 files changed, 1 insertion(+), 65 deletions(-)
4331 commit 7ac3985d891dcc5773543f84cc5bce6c14841b12
4332 Author: Lasse Collin <lasse.collin@tukaani.org>
4333 Date: 2009-11-22 11:52:30 +0200
4335 Update tuklib_integer.h with bit scan functions.
4337 Thanks to Joachim Henke for the original patch.
4339 src/common/tuklib_integer.h | 189 ++++++++++++++++++++++++++++++++++++++++++--
4340 1 file changed, 181 insertions(+), 8 deletions(-)
4342 commit c74c132f7f79a842c073c66575a4fdb985e4c2e3
4343 Author: Lasse Collin <lasse.collin@tukaani.org>
4344 Date: 2009-11-20 12:51:19 +0200
4346 Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib,
4347 which now use AC_CACHE_CHECK. Using the cache variable,
4348 configure now warns if there is no method to detect the amount
4349 of RAM and recommends using --enable-assume-ram.
4351 configure.ac | 16 ++++++++++++++++
4352 m4/tuklib_cpucores.m4 | 31 ++++++++++++++++++-------------
4353 m4/tuklib_physmem.m4 | 50 +++++++++++++++++++++++++++-----------------------
4354 3 files changed, 61 insertions(+), 36 deletions(-)
4356 commit d315ca4930ff96e1428c6021c96f209e1abdd83e
4357 Author: Lasse Collin <lasse.collin@tukaani.org>
4358 Date: 2009-11-16 18:16:45 +0200
4360 Add support for --info-memory and --robot to xz.
4362 Currently --robot works only with --info-memory and
4363 --version. --help and --long-help work too, but --robot
4364 has no effect on them.
4366 Thanks to Jonathan Nieder for the original patches.
4368 src/xz/args.c | 85 +++++++++++++++++++++++++++++++++-----------------------
4370 src/xz/main.c | 11 +++++---
4371 src/xz/message.c | 47 +++++++++++++++++++++++--------
4372 src/xz/message.h | 4 +++
4373 src/xz/xz.1 | 40 +++++++++++++++++++++++---
4374 6 files changed, 133 insertions(+), 55 deletions(-)
4376 commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e
4377 Author: Lasse Collin <lasse.collin@tukaani.org>
4378 Date: 2009-11-15 12:54:45 +0200
4380 Fix wrong indentation caused by incorrect settings
4383 src/liblzma/lz/lz_decoder.c | 18 +++++++++---------
4384 src/liblzma/lzma/lzma2_encoder.c | 6 +++---
4385 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +-
4386 3 files changed, 13 insertions(+), 13 deletions(-)
4388 commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4
4389 Author: Lasse Collin <lasse.collin@tukaani.org>
4390 Date: 2009-11-15 12:40:17 +0200
4394 I had hoped to keep liblzma as purely a compression
4395 library as possible (e.g. file I/O will go into
4396 a different library), but it seems that applications
4397 linking agaisnt liblzma need some way to determine
4398 the memory usage limit, and knowing the amount of RAM
4399 is one reasonable way to help making such decisions.
4401 Thanks to Jonathan Nieder for the original patch.
4403 src/liblzma/Makefile.am | 5 ++--
4404 src/liblzma/api/Makefile.am | 1 +
4405 src/liblzma/api/lzma.h | 3 +++
4406 src/liblzma/api/lzma/hardware.h | 51 +++++++++++++++++++++++++++++++++++
4407 src/liblzma/common/Makefile.inc | 1 +
4408 src/liblzma/common/hardware_physmem.c | 25 +++++++++++++++++
4409 src/xz/Makefile.am | 1 -
4410 src/xz/hardware.c | 3 +--
4411 src/xzdec/Makefile.am | 6 ++---
4412 src/xzdec/xzdec.c | 3 +--
4413 10 files changed, 88 insertions(+), 11 deletions(-)
4415 commit cf39faca59083d38422058c6c97aa757ea7797d0
4416 Author: Lasse Collin <lasse.collin@tukaani.org>
4417 Date: 2009-11-14 20:21:19 +0200
4422 1 file changed, 1 insertion(+)
4424 commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f
4425 Author: Lasse Collin <lasse.collin@tukaani.org>
4426 Date: 2009-11-14 20:20:03 +0200
4428 Some updates to xz man page.
4430 src/xz/xz.1 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++-----
4431 1 file changed, 49 insertions(+), 5 deletions(-)
4433 commit 19b2674f07f8b588dfaf6638396b4b42866d7e23
4434 Author: Lasse Collin <lasse.collin@tukaani.org>
4435 Date: 2009-11-14 19:51:03 +0200
4437 Fix description of --memory in --long-help.
4439 src/xz/message.c | 3 +--
4440 1 file changed, 1 insertion(+), 2 deletions(-)
4442 commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8
4443 Author: Lasse Collin <lasse.collin@tukaani.org>
4444 Date: 2009-11-14 19:45:39 +0200
4446 Update the debug programs so that they compile again.
4449 debug/memusage.c | 6 ++++--
4450 debug/sync_flush.c | 14 +++++++++-----
4451 3 files changed, 14 insertions(+), 7 deletions(-)
4453 commit 418d64a32e8144210f98a810738fed5a897e8367
4454 Author: Lasse Collin <lasse.collin@tukaani.org>
4455 Date: 2009-11-14 18:59:19 +0200
4457 Fix a design error in liblzma API.
4459 Originally the idea was that using LZMA_FULL_FLUSH
4460 with Stream encoder would read the filter chain
4461 from the same array that was used to intialize the
4462 Stream encoder. Since most apps wouldn't use
4463 LZMA_FULL_FLUSH, most apps wouldn't need to keep
4464 the filter chain available after initializing the
4465 Stream encoder. However, due to my mistake, it
4466 actually required keeping the array always available.
4468 Since setting the new filter chain via the array
4469 used at initialization time is not a nice way to do
4470 it for a couple of reasons, this commit ditches it
4471 and introduces lzma_filters_update(). This new function
4472 replaces also the "persistent" flag used by LZMA2
4473 (and to-be-designed Subblock filter), which was also
4474 an ugly thing to do.
4476 Thanks to Alexey Tourbin for reminding me about the problem
4477 that Stream encoder used to require keeping the filter
4480 src/liblzma/api/lzma/filter.h | 30 +++++++++++++
4481 src/liblzma/api/lzma/lzma.h | 13 ------
4482 src/liblzma/common/block_encoder.c | 14 ++++++
4483 src/liblzma/common/common.c | 20 ++++++++-
4484 src/liblzma/common/common.h | 22 ++++++++++
4485 src/liblzma/common/easy_encoder.c | 63 ++-------------------------
4486 src/liblzma/common/filter_common.c | 3 ++
4487 src/liblzma/common/filter_encoder.c | 27 ++++++++++++
4488 src/liblzma/common/filter_encoder.h | 2 +-
4489 src/liblzma/common/stream_encoder.c | 76 ++++++++++++++++++++++++++++-----
4490 src/liblzma/delta/delta_common.c | 5 +--
4491 src/liblzma/delta/delta_decoder.c | 3 +-
4492 src/liblzma/delta/delta_encoder.c | 17 +++++++-
4493 src/liblzma/delta/delta_private.h | 2 +-
4494 src/liblzma/lz/lz_encoder.c | 17 ++++++++
4495 src/liblzma/lz/lz_encoder.h | 4 ++
4496 src/liblzma/lzma/lzma2_encoder.c | 59 ++++++++++++++-----------
4497 src/liblzma/lzma/lzma_encoder_presets.c | 1 -
4498 src/liblzma/simple/simple_coder.c | 12 ++++++
4499 src/xz/options.c | 1 -
4500 20 files changed, 273 insertions(+), 118 deletions(-)
4502 commit f0bf7634b77263a4dd02b20c71861ab67995da68
4503 Author: Lasse Collin <lasse.collin@tukaani.org>
4504 Date: 2009-10-17 11:11:58 +0300
4506 Fix wrong function name in the previous commit.
4508 It was meant to be lzma_filters_copy(), not lzma_filters_dup().
4510 src/liblzma/api/lzma/filter.h | 2 +-
4511 src/liblzma/common/filter_common.c | 2 +-
4512 2 files changed, 2 insertions(+), 2 deletions(-)
4514 commit 6d118a0b9def82e96afba7386ec8d7da0b59649f
4515 Author: Lasse Collin <lasse.collin@tukaani.org>
4516 Date: 2009-10-17 01:47:07 +0300
4518 Add lzma_filters_copy().
4520 This will be needed internally by liblzma once I fix
4521 a design mistake in the encoder API. This function may
4522 be useful to applications too so it's good to export it.
4524 src/liblzma/api/lzma/filter.h | 31 ++++++++++++++
4525 src/liblzma/common/filter_common.c | 82 ++++++++++++++++++++++++++++++++++++++
4526 2 files changed, 113 insertions(+)
4528 commit 78e92c18470483e161388e679c1ee556adb3a691
4529 Author: Jonathan Nieder <jrnieder@gmail.com>
4530 Date: 2009-10-15 20:44:13 -0500
4532 Escape dashes in xzmore.1
4534 A minus sign is larger, easier to see in a printout, and more
4535 likely to use the same glyph as ASCII hyphen-minus in a terminal
4536 than a hyphen. Since broken manual pagers do not find hyphens
4537 when the user searches for a hyphen-minus, minus signs are also
4538 easier to search for. So use minus signs instead of hyphens to
4539 render sample terminal output.
4541 src/scripts/xzmore.1 | 4 ++--
4542 1 file changed, 2 insertions(+), 2 deletions(-)
4544 commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee
4545 Author: Lasse Collin <lasse.collin@tukaani.org>
4546 Date: 2009-10-16 20:35:39 +0300
4548 Mention --check=none in --long-help. It was already in
4549 the man page though.
4551 Thanks to Jim Meyering for noticing this.
4553 src/xz/message.c | 2 +-
4554 1 file changed, 1 insertion(+), 1 deletion(-)
4556 commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24
4557 Author: Lasse Collin <lasse.collin@tukaani.org>
4558 Date: 2009-10-04 22:57:12 +0300
4560 Use a tuklib module for integer handling.
4562 This replaces bswap.h and integer.h.
4564 The tuklib module uses <byteswap.h> on GNU,
4565 <sys/endian.h> on *BSDs and <sys/byteorder.h>
4566 on Solaris, which may contain optimized code
4567 like inline assembly.
4569 configure.ac | 54 +----
4570 m4/tuklib_integer.m4 | 74 +++++++
4571 src/common/bswap.h | 52 -----
4572 src/common/integer.h | 170 ---------------
4573 src/common/tuklib_config.h | 8 +-
4574 src/common/tuklib_integer.h | 350 ++++++++++++++++++++++++++++++
4575 src/liblzma/check/check.c | 4 +-
4576 src/liblzma/check/crc32_fast.c | 4 +-
4577 src/liblzma/check/crc32_tablegen.c | 8 +-
4578 src/liblzma/check/crc64_fast.c | 4 +-
4579 src/liblzma/check/crc64_tablegen.c | 8 +-
4580 src/liblzma/check/crc_macros.h | 2 -
4581 src/liblzma/check/sha256.c | 18 +-
4582 src/liblzma/common/alone_encoder.c | 2 +-
4583 src/liblzma/common/block_header_decoder.c | 2 +-
4584 src/liblzma/common/block_header_encoder.c | 2 +-
4585 src/liblzma/common/common.h | 2 +-
4586 src/liblzma/common/stream_flags_decoder.c | 6 +-
4587 src/liblzma/common/stream_flags_encoder.c | 6 +-
4588 src/liblzma/lz/lz_encoder_hash.h | 2 +-
4589 src/liblzma/lzma/lzma_decoder.c | 2 +-
4590 src/liblzma/lzma/lzma_encoder.c | 2 +-
4591 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
4592 src/liblzma/simple/simple_decoder.c | 2 +-
4593 src/liblzma/simple/simple_encoder.c | 2 +-
4594 tests/test_block_header.c | 4 +-
4595 tests/test_stream_flags.c | 6 +-
4596 tests/tests.h | 2 +-
4597 28 files changed, 467 insertions(+), 333 deletions(-)
4599 commit 29fd321033276261b87da7be5223db33d879a4c7
4600 Author: Lasse Collin <lasse.collin@tukaani.org>
4601 Date: 2009-10-02 14:35:56 +0300
4603 Add support for --enable-assume-ram=SIZE.
4605 INSTALL | 16 ++++++++++++++++
4606 configure.ac | 24 ++++++++++++++++++++++++
4607 src/xz/hardware.c | 7 +++----
4608 src/xzdec/xzdec.c | 5 +++--
4609 4 files changed, 46 insertions(+), 6 deletions(-)
4611 commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25
4612 Author: Lasse Collin <lasse.collin@tukaani.org>
4613 Date: 2009-10-02 11:28:17 +0300
4615 Use unaligned access (if possible) on both endiannesses
4616 in lz_encoder_hash.h.
4618 src/liblzma/lz/lz_encoder_hash.h | 4 ++--
4619 1 file changed, 2 insertions(+), 2 deletions(-)
4621 commit c5f68b5cc79085a87f950fea53843e27f328068e
4622 Author: Lasse Collin <lasse.collin@tukaani.org>
4623 Date: 2009-10-02 11:03:26 +0300
4625 Make liblzma produce the same output on both endiannesses.
4627 Seems that it is a problem in some cases if the same
4628 version of XZ Utils produces different output on different
4629 endiannesses, so this commit fixes that problem. The output
4630 will still vary between different XZ Utils versions, but I
4631 cannot avoid that for now.
4633 This commit bloatens the code on big endian systems by 1 KiB,
4634 which should be OK since liblzma is bloated already. ;-)
4636 src/liblzma/check/crc32_tablegen.c | 30 +++++++++++++++
4637 src/liblzma/lz/Makefile.inc | 1 +
4638 src/liblzma/lz/lz_encoder.c | 7 +++-
4639 src/liblzma/lz/lz_encoder_hash.h | 35 +++++++++++------
4640 src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++++
4641 src/liblzma/lz/lz_encoder_mf.c | 1 -
4642 6 files changed, 128 insertions(+), 14 deletions(-)
4644 commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a
4645 Author: Mike Frysinger <vapier@gentoo.org>
4646 Date: 2009-09-26 12:51:50 -0400
4648 add lzmainfo to gitignore
4650 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
4653 1 file changed, 2 insertions(+)
4655 commit 188a1dcd0cc7867810ed3a55c598d0680922c63b
4656 Author: Lasse Collin <lasse.collin@tukaani.org>
4657 Date: 2009-09-27 11:53:36 +0300
4662 1 file changed, 1 insertion(+)
4664 commit db9119b9181b307e7ac5d2bae82444d04b902b59
4665 Author: Lasse Collin <lasse.collin@tukaani.org>
4666 Date: 2009-09-27 11:48:54 +0300
4668 Work around a bug in Interix header files.
4670 Thanks to Markus Duft for the patch.
4672 src/common/sysdefs.h | 6 ++++++
4673 1 file changed, 6 insertions(+)
4675 commit b3d105e69786a45963176fd2193abe75e05ba738
4676 Author: Lasse Collin <lasse.collin@tukaani.org>
4677 Date: 2009-09-24 17:50:17 +0300
4679 Fix an error in OpenVMS-specific code.
4681 Thanks to Jouk Jansen.
4683 src/xz/file_io.c | 2 +-
4684 1 file changed, 1 insertion(+), 1 deletion(-)
4686 commit 5e000ff00d4d01e559397b49eb648ad3f159d496
4687 Author: Lasse Collin <lasse.collin@tukaani.org>
4688 Date: 2009-09-22 18:59:56 +0300
4690 Added OpenVMS-specific information to INSTALL.
4692 INSTALL | 11 +++++++++++
4693 1 file changed, 11 insertions(+)
4695 commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4
4696 Author: Lasse Collin <lasse.collin@tukaani.org>
4697 Date: 2009-09-22 14:03:02 +0300
4699 Better fixes for OpenVMS support.
4701 Thanks to Jouk Jansen.
4703 src/xz/file_io.c | 19 ++++++++++++++++---
4704 1 file changed, 16 insertions(+), 3 deletions(-)
4706 commit 4c3630ec4179fe9265407a35c4db1374ffc82372
4707 Author: Lasse Collin <lasse.collin@tukaani.org>
4708 Date: 2009-09-22 13:40:19 +0300
4710 Avoid non-standard preprocessor construct.
4712 Thanks to Jouk Jansen.
4714 src/common/tuklib_common.h | 11 +++++++----
4715 1 file changed, 7 insertions(+), 4 deletions(-)
4717 commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9
4718 Author: Lasse Collin <lasse.collin@tukaani.org>
4719 Date: 2009-09-21 19:50:09 +0300
4721 Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
4723 Thanks to Charles Wilson.
4725 src/common/tuklib_common.h | 3 ++-
4726 1 file changed, 2 insertions(+), 1 deletion(-)
4728 commit e599bba4216c0edb8cc8f40adad3a6dba88685f4
4729 Author: Lasse Collin <lasse.collin@tukaani.org>
4730 Date: 2009-09-19 09:47:30 +0300
4734 Separate a few reusable components from XZ Utils specific
4735 code. The reusable code is now in "tuklib" modules. A few
4736 more could be separated still, e.g. bswap.h.
4738 Fix some bugs in lzmainfo.
4740 Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol
4743 Add OpenVMS support into physmem. Add a few #ifdefs to ease
4744 building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the
4748 configure.ac | 12 ++--
4749 m4/lc_cpucores.m4 | 57 ----------------
4750 m4/lc_physmem.m4 | 84 -----------------------
4751 m4/tuklib_common.m4 | 22 ++++++
4752 m4/tuklib_cpucores.m4 | 72 ++++++++++++++++++++
4753 m4/tuklib_physmem.m4 | 119 ++++++++++++++++++++++++++++++++
4754 m4/tuklib_progname.m4 | 25 +++++++
4755 src/common/cpucores.h | 51 --------------
4756 src/common/open_stdxxx.h | 49 --------------
4757 src/common/physmem.h | 144 ---------------------------------------
4758 src/common/sysdefs.h | 4 --
4759 src/common/tuklib_common.h | 67 ++++++++++++++++++
4760 src/common/tuklib_config.h | 1 +
4761 src/common/tuklib_cpucores.c | 46 +++++++++++++
4762 src/common/tuklib_cpucores.h | 23 +++++++
4763 src/common/tuklib_exit.c | 57 ++++++++++++++++
4764 src/common/tuklib_exit.h | 25 +++++++
4765 src/common/tuklib_gettext.h | 44 ++++++++++++
4766 src/common/tuklib_open_stdxxx.c | 51 ++++++++++++++
4767 src/common/tuklib_open_stdxxx.h | 23 +++++++
4768 src/common/tuklib_physmem.c | 146 ++++++++++++++++++++++++++++++++++++++++
4769 src/common/tuklib_physmem.h | 28 ++++++++
4770 src/common/tuklib_progname.c | 50 ++++++++++++++
4771 src/common/tuklib_progname.h | 32 +++++++++
4772 src/lzmainfo/Makefile.am | 5 +-
4773 src/lzmainfo/lzmainfo.c | 65 ++++++------------
4774 src/xz/Makefile.am | 7 +-
4775 src/xz/args.c | 8 +--
4776 src/xz/file_io.c | 43 ++++++------
4777 src/xz/hardware.c | 8 +--
4778 src/xz/main.c | 100 ++++++---------------------
4779 src/xz/main.h | 7 --
4780 src/xz/message.c | 30 +++++----
4781 src/xz/message.h | 8 +--
4782 src/xz/private.h | 11 +--
4783 src/xz/signals.c | 2 +
4784 src/xz/signals.h | 17 +++--
4785 src/xz/suffix.c | 2 +-
4786 src/xzdec/Makefile.am | 13 +++-
4787 src/xzdec/xzdec.c | 55 +++++----------
4788 41 files changed, 974 insertions(+), 640 deletions(-)
4790 commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef
4791 Author: Lasse Collin <lasse.collin@tukaani.org>
4792 Date: 2009-09-15 21:07:23 +0300
4794 Fix incorrect use of "restrict".
4796 src/liblzma/api/lzma/vli.h | 4 ++--
4797 src/liblzma/common/vli_decoder.c | 2 +-
4798 src/liblzma/common/vli_encoder.c | 2 +-
4799 3 files changed, 4 insertions(+), 4 deletions(-)
4801 commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c
4802 Author: Lasse Collin <lasse.collin@tukaani.org>
4803 Date: 2009-09-12 14:09:17 +0300
4805 Fix GCC version check for nothrow attribute.
4807 src/liblzma/api/lzma.h | 2 +-
4808 1 file changed, 1 insertion(+), 1 deletion(-)
4810 commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224
4811 Author: Lasse Collin <lasse.collin@tukaani.org>
4812 Date: 2009-09-12 14:08:15 +0300
4817 1 file changed, 1 insertion(+)
4819 commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac
4820 Author: Lasse Collin <lasse.collin@tukaani.org>
4821 Date: 2009-09-12 14:07:36 +0300
4823 A few grammar fixes.
4825 Thanks to Christian Weisgerber for pointing out some of these.
4827 src/liblzma/api/lzma.h | 4 ++--
4828 src/liblzma/api/lzma/vli.h | 4 ++--
4829 src/liblzma/common/block_header_encoder.c | 2 +-
4830 src/liblzma/common/filter_common.c | 2 +-
4831 src/liblzma/lz/lz_encoder.h | 10 +++++-----
4832 src/xz/message.c | 22 +++++++++++-----------
4833 src/xzdec/xzdec.c | 2 +-
4834 7 files changed, 23 insertions(+), 23 deletions(-)
4836 commit 8905a33daadcd2d6557c83c81c490b827d566c94
4837 Author: Lasse Collin <lasse.collin@tukaani.org>
4838 Date: 2009-09-11 17:08:15 +0300
4843 1 file changed, 1 insertion(+)
4845 commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9
4846 Author: Lasse Collin <lasse.collin@tukaani.org>
4847 Date: 2009-09-11 17:06:32 +0300
4849 Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.
4851 dos/config.h | 3 +++
4852 windows/config.h | 3 +++
4853 2 files changed, 6 insertions(+)
4855 commit 221be761f467da76875247bc02d7a1716682075d
4856 Author: Lasse Collin <lasse.collin@tukaani.org>
4857 Date: 2009-09-11 10:24:09 +0300
4859 Use $(LN_EXEEXT) in symlinks to executables.
4861 This fixes "make install" on operating systems using
4862 a suffix for executables.
4864 Cygwin is treated specially. The symlink names won't have
4865 .exe suffix even though the executables themselves have.
4866 Thanks to Charles Wilson.
4868 configure.ac | 9 +++++++++
4869 src/xz/Makefile.am | 4 ++--
4870 2 files changed, 11 insertions(+), 2 deletions(-)
4872 commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c
4873 Author: Lasse Collin <lasse.collin@tukaani.org>
4874 Date: 2009-09-11 09:25:09 +0300
4876 Fix a couple of warnings.
4878 src/liblzma/common/stream_decoder.c | 2 +-
4879 src/liblzma/lz/lz_encoder.c | 5 +----
4880 src/liblzma/lzma/lzma_encoder.c | 2 +-
4881 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++----
4882 tests/tests.h | 2 +-
4883 5 files changed, 8 insertions(+), 11 deletions(-)
4885 commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4
4886 Author: Lasse Collin <lasse.collin@tukaani.org>
4887 Date: 2009-09-05 18:39:21 +0300
4889 Add OS/2-specific code to physmem.h.
4891 Also move DJGPP-specific code near the code meant
4892 for other DOS-like systems.
4894 src/common/physmem.h | 32 +++++++++++++++++++++-----------
4895 1 file changed, 21 insertions(+), 11 deletions(-)
4897 commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740
4898 Author: Lasse Collin <lasse.collin@tukaani.org>
4899 Date: 2009-09-05 01:21:15 +0300
4904 1 file changed, 2 insertions(+)
4906 commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071
4907 Author: Lasse Collin <lasse.collin@tukaani.org>
4908 Date: 2009-09-05 01:20:29 +0300
4910 Use sysctl() != -1 instead of !sysctl() to check if
4911 the function call succeeded.
4913 NetBSD 4.0 returns positive values on success, but
4914 NetBSD Current and FreeBSD return zero. OpenBSD's
4915 man page doesn't tell what sysctl() returns on
4916 success. All these BSDs return -1 on error.
4918 Thanks to Robert Elz and Thomas Klausner.
4920 src/common/cpucores.h | 2 +-
4921 src/common/physmem.h | 2 +-
4922 2 files changed, 2 insertions(+), 2 deletions(-)
4924 commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32
4925 Author: Lasse Collin <lasse.collin@tukaani.org>
4926 Date: 2009-09-02 09:43:51 +0300
4928 Mention in INSTALL that --enable-small doesn't modify CFLAGS.
4931 1 file changed, 4 insertions(+)
4933 commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc
4934 Author: Lasse Collin <lasse.collin@tukaani.org>
4935 Date: 2009-09-01 20:40:01 +0300
4937 Refactored option parsing.
4939 src/xz/options.c | 70 ++++++++++++++++++++++++++++----------------------------
4940 1 file changed, 35 insertions(+), 35 deletions(-)
4942 commit 25adaaa56e2e51a47a910a8d73452414619a2e53
4943 Author: Lasse Collin <lasse.collin@tukaani.org>
4944 Date: 2009-09-01 20:23:30 +0300
4946 Fix options parsing bug in xz.
4948 xz used to reject "xz --lzma2=pb=2," while
4949 "xz --lzma2=pb=2,," worked. Now both work.
4951 src/xz/options.c | 6 ++----
4952 1 file changed, 2 insertions(+), 4 deletions(-)
4954 commit 5f6dddc6c911df02ba660564e78e6de80947c947
4955 Author: Lasse Collin <lasse.collin@tukaani.org>
4956 Date: 2009-09-01 20:20:19 +0300
4961 1 file changed, 3 insertions(+)
4963 commit 655457b9ada5ec7db398c5392e41290f3f332ea8
4964 Author: Lasse Collin <lasse.collin@tukaani.org>
4965 Date: 2009-08-31 21:59:25 +0300
4967 Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
4968 and use a fix that works on all systems using
4971 Maybe the assembler code is used e.g. on Solaris x86
4972 but let's worry about it if this doesn't work on it.
4974 src/liblzma/check/crc32_x86.S | 7 ++-----
4975 src/liblzma/check/crc64_x86.S | 7 ++-----
4976 2 files changed, 4 insertions(+), 10 deletions(-)
4978 commit 162189c3477953805a28f96d3a75cb9ab9417928
4979 Author: Lasse Collin <lasse.collin@tukaani.org>
4980 Date: 2009-08-30 17:29:19 +0300
4985 1 file changed, 1 insertion(+)
4987 commit 2331f5f97af3e5897e23da45d9df3d664099c7f8
4988 Author: Lasse Collin <lasse.collin@tukaani.org>
4989 Date: 2009-08-30 17:28:52 +0300
4991 Add more OS/2 specific info to INSTALL.
4994 1 file changed, 5 insertions(+)
4996 commit 94c66b3297b3ad307eee93cf6b160e3c43997f11
4997 Author: Lasse Collin <lasse.collin@tukaani.org>
4998 Date: 2009-08-29 14:43:52 +0300
5000 Use even more hackish way to support thousand separators.
5002 Seems that in addition on Windows and DOS, also OpenBSD
5003 lacks support for %'d style printf() format strings.
5004 So far that is the only modern POSIX-like system I know
5005 with this problem, but after this hack, the thousand
5006 separator shouldn't be a problem on any system.
5008 Maybe testing if a format string like %'d produces
5009 reasonable output is invoking undefined behavior on some
5010 systems, but so far all the problematic systems I've tried
5011 just print the raw format string (e.g. %'d prints 'd).
5013 Maybe Autoconf test would have been better, but this
5014 hack works also for cross-compilation, and avoids
5015 recompilation in case the system libc starts to support
5016 the thousand separator.
5018 src/xz/util.c | 36 +++++++++++++++++++++++++-----------
5019 1 file changed, 25 insertions(+), 11 deletions(-)
5021 commit 3432e9c6aab851da1227b63dce645d7f190c04d8
5022 Author: Lasse Collin <lasse.collin@tukaani.org>
5023 Date: 2009-08-29 13:42:56 +0300
5028 1 file changed, 3 insertions(+)
5030 commit 27414daadf5727e8ab942374b5ec1c8990122878
5031 Author: Lasse Collin <lasse.collin@tukaani.org>
5032 Date: 2009-08-29 13:39:21 +0300
5036 This fixes build on *BSDs and Darwin.
5038 Thanks to Jukka Salmi for the patches.
5039 Richard Koch reported the problem too.
5041 m4/lc_cpucores.m4 | 2 +-
5042 m4/lc_physmem.m4 | 2 +-
5043 src/common/cpucores.h | 2 +-
5044 src/common/physmem.h | 2 +-
5045 4 files changed, 4 insertions(+), 4 deletions(-)
5047 commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
5048 Author: Lasse Collin <lasse.collin@tukaani.org>
5049 Date: 2009-08-29 13:35:23 +0300
5051 Fix x86 assembler on GCC 3.
5053 Thanks to Karl Berry.
5055 src/liblzma/check/crc32_x86.S | 7 +++++--
5056 src/liblzma/check/crc64_x86.S | 7 +++++--
5057 2 files changed, 10 insertions(+), 4 deletions(-)
5059 commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8
5060 Author: Lasse Collin <lasse.collin@tukaani.org>
5061 Date: 2009-08-27 18:36:59 +0300
5065 Makefile.am | 13 ++++++-------
5066 1 file changed, 6 insertions(+), 7 deletions(-)
5068 commit c8c184db1c95bf70f78256ec6237845a57f342af
5069 Author: Lasse Collin <lasse.collin@tukaani.org>
5070 Date: 2009-08-27 17:08:33 +0300
5072 Update xz man page date.
5075 1 file changed, 1 insertion(+), 1 deletion(-)
5077 commit 9756fce565e98b8fa5fe6ead296d84e7601ec254
5078 Author: Lasse Collin <lasse.collin@tukaani.org>
5079 Date: 2009-08-27 17:00:22 +0300
5081 Fix the debug directory.
5083 6a2eb54092fc625d59921a607ff68cd1a90aa898 and
5084 71f18e8a066a01dda0c8e5508b135ef104e43e4c required
5085 some changes that weren't applied in debug.
5087 debug/Makefile.am | 5 +++--
5088 debug/full_flush.c | 1 +
5089 debug/known_sizes.c | 1 +
5090 debug/memusage.c | 1 +
5091 debug/sync_flush.c | 1 +
5092 5 files changed, 7 insertions(+), 2 deletions(-)
5094 commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea
5095 Author: Lasse Collin <lasse.collin@tukaani.org>
5096 Date: 2009-08-27 16:36:40 +0300
5098 Add missing files to EXTRA_DIST.
5100 Makefile.am | 11 +++++++----
5101 1 file changed, 7 insertions(+), 4 deletions(-)
5103 commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d
5104 Author: Lasse Collin <lasse.collin@tukaani.org>
5105 Date: 2009-08-27 16:21:22 +0300
5107 Bumped version to 4.999.9beta.
5109 src/liblzma/api/lzma/version.h | 2 +-
5110 1 file changed, 1 insertion(+), 1 deletion(-)
5112 commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4
5113 Author: Lasse Collin <lasse.collin@tukaani.org>
5114 Date: 2009-08-27 16:17:47 +0300
5119 1 file changed, 2 insertions(+)
5121 commit c29e76c0f910fca0a90a50b78d337f6c32623e9d
5122 Author: Lasse Collin <lasse.collin@tukaani.org>
5123 Date: 2009-08-27 16:12:52 +0300
5125 .xz file format specification 1.0.4 (probably).
5127 Thanks to Christian von Roques, Peter Lawler,
5128 and Jim Meyering for the fixes.
5130 doc/xz-file-format.txt | 26 +++++++++++++++-----------
5131 1 file changed, 15 insertions(+), 11 deletions(-)
5133 commit 696d7ee3953beaf4f0ed18e78917ccf300431966
5134 Author: Lasse Collin <lasse.collin@tukaani.org>
5135 Date: 2009-08-27 15:43:54 +0300
5137 Require GNU libtool 2.2.
5139 configure.ac | 13 +++----------
5140 1 file changed, 3 insertions(+), 10 deletions(-)
5142 commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d
5143 Author: Lasse Collin <lasse.collin@tukaani.org>
5144 Date: 2009-08-27 15:34:45 +0300
5146 Add "dos" to EXTRA_DIST.
5149 1 file changed, 1 insertion(+)
5151 commit 35b29e4424ced5a3ababf132283e519080c7b298
5152 Author: Lasse Collin <lasse.collin@tukaani.org>
5153 Date: 2009-08-27 15:23:27 +0300
5158 1 file changed, 6 insertions(+)
5160 commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea
5161 Author: Lasse Collin <lasse.collin@tukaani.org>
5162 Date: 2009-08-27 15:17:00 +0300
5164 Some xz man page improvements.
5166 src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
5167 1 file changed, 62 insertions(+), 16 deletions(-)
5169 commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d
5170 Author: Lasse Collin <lasse.collin@tukaani.org>
5171 Date: 2009-08-27 10:41:01 +0300
5173 Removed doc/bugs.txt.
5175 doc/bugs.txt | 46 ----------------------------------------------
5176 1 file changed, 46 deletions(-)
5178 commit d88c4072b36d3a76f839185799fb1d91037a1b81
5179 Author: Lasse Collin <lasse.collin@tukaani.org>
5180 Date: 2009-08-27 10:40:25 +0300
5184 It now includes bug reporting instructions/tips.
5186 README | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
5187 1 file changed, 55 insertions(+), 10 deletions(-)
5189 commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e
5190 Author: Lasse Collin <lasse.collin@tukaani.org>
5191 Date: 2009-08-27 10:21:18 +0300
5195 Thanks to Jim Meyering.
5197 (From now on, I try to always remember to put
5198 the relevant thanks to commit messages.)
5201 1 file changed, 1 insertion(+), 1 deletion(-)
5203 commit 3e2ba8b58585743e59251e69ad2783eb08357079
5204 Author: Lasse Collin <lasse.collin@tukaani.org>
5205 Date: 2009-08-27 10:13:46 +0300
5207 Updates to liblzma API headers.
5209 Added lzma_nothrow for every function. It adds
5210 throw() when the header is used in C++ code.
5212 Some lzma_attrs were added or removed.
5214 Lots of comments were improved.
5216 src/liblzma/api/lzma.h | 20 ++++++++
5217 src/liblzma/api/lzma/base.h | 48 +++++++++---------
5218 src/liblzma/api/lzma/block.h | 38 ++++++++-------
5219 src/liblzma/api/lzma/check.h | 22 +++++----
5220 src/liblzma/api/lzma/container.h | 36 ++++++++------
5221 src/liblzma/api/lzma/filter.h | 81 +++++++++++++++++++------------
5222 src/liblzma/api/lzma/index.h | 97 ++++++++++++++++++++++---------------
5223 src/liblzma/api/lzma/index_hash.h | 14 ++++--
5224 src/liblzma/api/lzma/lzma.h | 87 +++++++++++++++++----------------
5225 src/liblzma/api/lzma/stream_flags.h | 12 ++---
5226 src/liblzma/api/lzma/version.h | 10 ++--
5227 src/liblzma/api/lzma/vli.h | 7 +--
5228 12 files changed, 275 insertions(+), 197 deletions(-)
5230 commit 8e8ebc17c535a1f8846718059b48417409c37050
5231 Author: Lasse Collin <lasse.collin@tukaani.org>
5232 Date: 2009-08-18 00:30:09 +0300
5237 1 file changed, 1 insertion(+)
5239 commit b198e770a146e4a41f91a93f0b233713f2515848
5240 Author: Lasse Collin <lasse.collin@tukaani.org>
5241 Date: 2009-08-18 00:26:48 +0300
5245 Some questions worth answering were removed, because I
5246 currently don't have good up to date answers to them.
5248 doc/faq.txt | 239 +++++++++++++++++++-----------------------------------------
5249 1 file changed, 73 insertions(+), 166 deletions(-)
5251 commit fe111a25cd788d31b581996e4533910388a7f0a9
5252 Author: Lasse Collin <lasse.collin@tukaani.org>
5253 Date: 2009-08-17 22:45:50 +0300
5255 Some xz man changes.
5257 src/xz/xz.1 | 88 ++++++++++++++++++++++++++++++-------------------------------
5258 1 file changed, 43 insertions(+), 45 deletions(-)
5260 commit 10242a21e9abda0c5c6a03501703cc40b8a699a5
5261 Author: Lasse Collin <lasse.collin@tukaani.org>
5262 Date: 2009-08-16 22:15:42 +0300
5267 1 file changed, 1 insertion(+)
5269 commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d
5270 Author: Lasse Collin <lasse.collin@tukaani.org>
5271 Date: 2009-08-16 22:15:13 +0300
5273 Fix data corruption in LZ/LZMA2 encoder.
5275 Thanks to Jonathan Stott for the bug report.
5277 src/liblzma/lz/lz_encoder.h | 2 +-
5278 1 file changed, 1 insertion(+), 1 deletion(-)
5280 commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a
5281 Author: Lasse Collin <lasse.collin@tukaani.org>
5282 Date: 2009-08-13 15:15:37 +0300
5284 Updated INSTALL and PACKAGERS to match the changes
5285 made in --enable-dynamic.
5287 INSTALL | 20 ++++++++++++++++----
5288 PACKAGERS | 11 ++++++-----
5289 2 files changed, 22 insertions(+), 9 deletions(-)
5291 commit 8238c4b2402f952c4e492e5b778aa272e57b6705
5292 Author: Lasse Collin <lasse.collin@tukaani.org>
5293 Date: 2009-08-13 15:03:46 +0300
5295 Link lzmainfo against shared liblzma by default.
5297 src/lzmainfo/Makefile.am | 4 ++--
5298 1 file changed, 2 insertions(+), 2 deletions(-)
5300 commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c
5301 Author: Lasse Collin <lasse.collin@tukaani.org>
5302 Date: 2009-08-13 15:00:21 +0300
5304 Make --enable-dynamic a tristate option.
5306 Some programs will by default be linked against static
5307 liblzma and some against shared liblzma. --enable-dynamic
5308 now allows overriding the default to both directions
5309 (all dynamic or all static) even when building both
5310 shared and static liblzma.
5312 This is quite messy compared to how simple thing it is supposed
5313 to be. The complexity is mostly due to Windows support.
5315 configure.ac | 77 ++++++++++++++++++++++++++++++++++++++++++++----------------
5316 1 file changed, 57 insertions(+), 20 deletions(-)
5318 commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61
5319 Author: Lasse Collin <lasse.collin@tukaani.org>
5320 Date: 2009-08-13 12:56:47 +0300
5322 Fix xz Makefile.am for the man page.
5324 install-exec-hook -> install-data-hook
5326 src/xz/Makefile.am | 2 ++
5327 1 file changed, 2 insertions(+)
5329 commit e51b4e49e800bd84e6d589dca2964d3985e88139
5330 Author: Lasse Collin <lasse.collin@tukaani.org>
5331 Date: 2009-08-13 12:55:45 +0300
5333 Add lzmainfo for backward compatibility with LZMA Utils.
5335 lzmainfo now links against static liblzma. In contrast
5336 to other command line tools in XZ Utils, linking lzmainfo
5337 against static liblzma by default is dumb. This will be
5338 fixed once I have fixed some related issues in configure.ac.
5341 src/Makefile.am | 2 +-
5342 src/lzmainfo/Makefile.am | 29 ++++++
5343 src/lzmainfo/lzmainfo.1 | 55 +++++++++++
5344 src/lzmainfo/lzmainfo.c | 242 +++++++++++++++++++++++++++++++++++++++++++++++
5345 5 files changed, 328 insertions(+), 1 deletion(-)
5347 commit a4165d0584376d948c213ec93c6065d24ff6a5e7
5348 Author: Lasse Collin <lasse.collin@tukaani.org>
5349 Date: 2009-08-13 12:42:36 +0300
5351 Sync some error messages from xz to xzdec.
5353 Make xz error message translation usable outside
5354 xz (at least in upcoming lzmainfo).
5356 src/xz/main.c | 4 ++--
5357 src/xzdec/xzdec.c | 6 +++---
5358 2 files changed, 5 insertions(+), 5 deletions(-)
5360 commit df636eb4e066b4e154ce8e66e82c87ba1db652a6
5361 Author: Lasse Collin <lasse.collin@tukaani.org>
5362 Date: 2009-08-13 09:37:21 +0300
5364 Add xz man page to manfiles in toplevel Makefile.am.
5367 1 file changed, 1 insertion(+)
5369 commit 180bdf58ea5bb07941e0a99b304d9aa832198748
5370 Author: Lasse Collin <lasse.collin@tukaani.org>
5371 Date: 2009-08-13 09:37:01 +0300
5373 Fix first line of xz man page.
5376 1 file changed, 1 insertion(+), 1 deletion(-)
5378 commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4
5379 Author: Lasse Collin <lasse.collin@tukaani.org>
5380 Date: 2009-08-10 11:22:31 +0300
5382 Added a rough version of the xz man page.
5384 src/xz/Makefile.am | 15 +
5385 src/xz/xz.1 | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++
5386 2 files changed, 1221 insertions(+)
5388 commit e71903fc6101f1c039d702e335b08aad1e1b4100
5389 Author: Jonathan Nieder <jrnieder@gmail.com>
5390 Date: 2009-08-09 13:41:20 -0500
5392 “xzdiff a.xz b.xz” always fails
5394 Attempts to compare two compressed files result in no output and
5397 Instead of going to standard output, ‘diff’ output is being
5398 captured in the xz_status variable along with the exit status from
5399 the decompression commands. Later, when this variable is examined
5400 for nonzero status codes, numerals from dates in the ‘diff’ output
5401 make it appear as though decompression failed.
5403 So let the ‘diff’ output leak to standard output with another file
5404 descriptor. (This trick is used in all similar contexts elsewhere
5405 in xzdiff and in the analogous context in gzip’s zdiff script.)
5407 src/scripts/xzdiff.in | 2 +-
5408 1 file changed, 1 insertion(+), 1 deletion(-)
5410 commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c
5411 Author: Jonathan Nieder <jrnieder@gmail.com>
5412 Date: 2009-08-09 13:22:12 -0500
5414 xzless: Support compressed standard input
5416 It can be somewhat confusing that
5418 less < some_file.txt
5422 xzless < some_file.txt.xz
5424 does not. Since version 429, ‘less’ allows a filter specified in
5425 the LESSOPEN environment variable to preprocess its input even if
5426 it comes from standard input, if $LESSOPEN begins with ‘|-’. So
5427 set $LESSOPEN to take advantage of this feature.
5429 Check less’s version at runtime so xzless can continue to work
5430 with older versions.
5432 src/scripts/xzless.in | 8 +++++++-
5433 1 file changed, 7 insertions(+), 1 deletion(-)
5435 commit a7f5d2fe4826ac68839d00059f05004fb81d5c69
5436 Author: Lasse Collin <lasse.collin@tukaani.org>
5437 Date: 2009-08-09 20:57:46 +0300
5439 GPLv2+ not GPLv2 for Doxyfile.in is probably OK.
5442 1 file changed, 1 insertion(+), 1 deletion(-)
5444 commit b735cde20cc14857136ae65a0e5d336ed7ddc862
5445 Author: Lasse Collin <lasse.collin@tukaani.org>
5446 Date: 2009-08-02 00:27:29 +0300
5448 Added a copyright notice to Doxyfile.in since it contains
5449 lots of comments from Doxygen.
5451 It seems that the Doxygen authors' intent is to not apply
5452 their copyright on generated files, but since it doesn't
5453 matter for XZ Utils at all, better safe than sorry.
5456 1 file changed, 3 insertions(+)
5458 commit 0fd157cc008446adfc8f91394f5503868025a642
5459 Author: Lasse Collin <lasse.collin@tukaani.org>
5460 Date: 2009-08-02 00:11:37 +0300
5465 1 file changed, 1 insertion(+)
5467 commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f
5468 Author: Lasse Collin <lasse.collin@tukaani.org>
5469 Date: 2009-08-02 00:10:22 +0300
5474 1 file changed, 4 insertions(+)
5476 commit 669413bb2db954bbfde3c4542fddbbab53891eb4
5477 Author: Lasse Collin <lasse.collin@tukaani.org>
5478 Date: 2009-07-30 12:25:55 +0300
5483 1 file changed, 1 insertion(+)
5485 commit dbbd8fb870ae789d96497911006c869d37148c15
5486 Author: Jonathan Nieder <jrnieder@gmail.com>
5487 Date: 2009-07-28 17:37:24 -0500
5489 xzdiff: add missing ;; to case statement
5491 src/scripts/xzdiff.in | 6 +++---
5492 1 file changed, 3 insertions(+), 3 deletions(-)
5494 commit adbad2d16cb5909f85d4a429011005613ea62ffe
5495 Author: Lasse Collin <lasse.collin@tukaani.org>
5496 Date: 2009-07-24 13:15:06 +0300
5498 Added history.txt to doc_DATA.
5501 1 file changed, 1 insertion(+)
5503 commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27
5504 Author: Lasse Collin <lasse.collin@tukaani.org>
5505 Date: 2009-07-24 12:00:40 +0300
5507 Updated .gitignore files.
5509 .gitignore | 36 +++++++++++++++++++-----------------
5510 po/.gitignore | 3 +++
5511 2 files changed, 22 insertions(+), 17 deletions(-)
5513 commit 2f34fb269265e3aba43a2a9c734020a45268826d
5514 Author: Lasse Collin <lasse.collin@tukaani.org>
5515 Date: 2009-07-24 11:34:02 +0300
5517 Minor improvements to COPYING.
5519 COPYING | 11 ++++++++---
5520 1 file changed, 8 insertions(+), 3 deletions(-)
5522 commit 0db1befcfbc120377df4b89923762f16d25f548a
5523 Author: Lasse Collin <lasse.collin@tukaani.org>
5524 Date: 2009-07-23 19:10:55 +0300
5526 Fix incorrect usage of getopt_long(), which caused
5527 invalid memory access if XZ_OPT was defined.
5530 1 file changed, 1 deletion(-)
5532 commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48
5533 Author: Lasse Collin <lasse.collin@tukaani.org>
5534 Date: 2009-07-20 15:43:32 +0300
5536 Avoid internal error with --format=xz --lzma1.
5538 src/xz/coder.c | 16 ++++++++++++----
5539 1 file changed, 12 insertions(+), 4 deletions(-)
5541 commit 99f9e879a6a8bb54a65da99c12e0f390216c152a
5542 Author: Lasse Collin <lasse.collin@tukaani.org>
5543 Date: 2009-07-19 13:14:20 +0300
5545 Major documentation update.
5547 Installation and packaging instructions were added.
5548 README and other generic docs were revised.
5550 Some of the documentation files are now installed to $docdir.
5554 INSTALL | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5555 INSTALL.generic | 302 +++++++++++++++++++++++++++++++++++++++++++++++++++
5557 PACKAGERS | 278 +++++++++++++++++++++++++++++++++++++++++++++++
5558 README | 263 ++++++++++++++++++++-------------------------
5560 8 files changed, 1070 insertions(+), 170 deletions(-)
5562 commit ef4cf1851de89022cba5674784f1a8f6343c15b0
5563 Author: Lasse Collin <lasse.collin@tukaani.org>
5564 Date: 2009-07-19 11:09:31 +0300
5566 Added missing author notice to xzless.in.
5568 src/scripts/xzless.in | 1 +
5569 1 file changed, 1 insertion(+)
5571 commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77
5572 Author: Lasse Collin <lasse.collin@tukaani.org>
5573 Date: 2009-07-18 18:54:55 +0300
5575 Use AC_CONFIG_AUX_DIR to clean up the toplevel directory
5578 Fixed a related bug in the toplevel Makefile.am.
5580 Added the build-aux directory to .gitignore.
5584 configure.ac | 3 ++-
5585 3 files changed, 3 insertions(+), 2 deletions(-)
5587 commit 366e436090a7a87215e9bf0e3ddcd55f05b50587
5588 Author: Lasse Collin <lasse.collin@tukaani.org>
5589 Date: 2009-07-18 14:34:08 +0300
5591 Updated the totally outdated TODO file.
5593 TODO | 117 ++++++++++++++++---------------------------------------------------
5594 1 file changed, 27 insertions(+), 90 deletions(-)
5596 commit 64e498c89d8b9966e8663f43bf64d47c26c55c62
5597 Author: Lasse Collin <lasse.collin@tukaani.org>
5598 Date: 2009-07-18 11:26:39 +0300
5600 Added public domain notice into a few files.
5602 src/common/common_w32res.rc | 9 ++++++++-
5603 src/liblzma/liblzma.pc.in | 7 +++++++
5604 src/liblzma/liblzma_w32res.rc | 7 +++++++
5605 src/xz/xz_w32res.rc | 7 +++++++
5606 src/xzdec/xzdec_w32res.rc | 7 +++++++
5607 5 files changed, 36 insertions(+), 1 deletion(-)
5609 commit a35755c5de808df027675688855d1b621a4fb428
5610 Author: Lasse Collin <lasse.collin@tukaani.org>
5611 Date: 2009-07-14 21:10:36 +0300
5613 Allow extra commas in filter-specific options on xz command line.
5615 This may slightly ease writing scripts that construct
5616 filter-specific option strings dynamically.
5618 src/xz/options.c | 7 +++++++
5619 1 file changed, 7 insertions(+)
5621 commit 98f3cac1ad31191c5160a7e48398bf85141e941c
5622 Author: Lasse Collin <lasse.collin@tukaani.org>
5623 Date: 2009-07-14 18:04:31 +0300
5625 Accept --lzma2=preset=6e where "e" is equivalent to --extreme
5626 when no custom chain is in use.
5628 src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++++---------------
5629 1 file changed, 59 insertions(+), 21 deletions(-)
5631 commit d873a09e956363e54bf58c577c8f7e487b6fb464
5632 Author: Lasse Collin <lasse.collin@tukaani.org>
5633 Date: 2009-07-12 19:08:30 +0300
5635 Add dist-hook to create ChangeLog from the commit log,
5636 and to conver the man pages to PDF and plain text, which
5637 may be convenient to those who cannot render man pages.
5639 Makefile.am | 31 +++++++++++++++++++++++++++++++
5640 1 file changed, 31 insertions(+)
5642 commit cd69a5a6c16c289f6f8e2823b03c72289472270f
5643 Author: Lasse Collin <lasse.collin@tukaani.org>
5644 Date: 2009-07-10 11:39:38 +0300
5646 BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.
5648 This is a quick and slightly dirty fix to make the code
5649 conform to the latest file format specification. Without
5650 this patch, it's possible to make corrupt files by
5651 specifying start offset that is not a multiple of the
5652 filter's alignment. Custom start offset is almost never
5653 used, so this was only a minor bug.
5655 The xz command line tool doesn't validate the start offset,
5656 so one will get a bit unclear error message if trying to use
5657 an invalid start offset.
5659 src/liblzma/simple/arm.c | 2 +-
5660 src/liblzma/simple/armthumb.c | 2 +-
5661 src/liblzma/simple/ia64.c | 2 +-
5662 src/liblzma/simple/powerpc.c | 2 +-
5663 src/liblzma/simple/simple_coder.c | 5 ++++-
5664 src/liblzma/simple/simple_private.h | 3 ++-
5665 src/liblzma/simple/sparc.c | 2 +-
5666 src/liblzma/simple/x86.c | 2 +-
5667 8 files changed, 12 insertions(+), 8 deletions(-)
5669 commit eed9953732b801f6c97317fb3160445a8754180b
5670 Author: Lasse Collin <lasse.collin@tukaani.org>
5671 Date: 2009-07-10 11:33:21 +0300
5673 Look for full command names instead of substrings
5674 like "un", "cat", and "lz" when determining if
5675 xz is run as unxz, xzcat, lzma, unlzma, or lzcat.
5677 This is to ensure that if xz is renamed (e.g. via
5678 --program-transform-name), it doesn't so easily
5681 src/xz/args.c | 22 +++++++++++++---------
5682 1 file changed, 13 insertions(+), 9 deletions(-)
5684 commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658
5685 Author: Lasse Collin <lasse.collin@tukaani.org>
5686 Date: 2009-07-08 23:06:46 +0300
5691 1 file changed, 2 insertions(+)
5693 commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e
5694 Author: Lasse Collin <lasse.collin@tukaani.org>
5695 Date: 2009-07-08 23:05:29 +0300
5697 Portability improvement to version.sh.
5700 1 file changed, 2 insertions(+), 1 deletion(-)
5702 commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f
5703 Author: Lasse Collin <lasse.collin@tukaani.org>
5704 Date: 2009-07-08 22:50:16 +0300
5706 Remove --force from xzdec.
5708 It was ignored for compatibility with xz, but now that
5709 --decompress --stdout --force copies unrecognized files
5710 as is to stdout, simply ignoring --force in xzdec would
5711 be wrong. xzdec will not support copying unrecognized
5712 data as is to stdout, so it cannot support --force.
5714 src/xzdec/xzdec.1 | 5 -----
5715 src/xzdec/xzdec.c | 5 +----
5716 2 files changed, 1 insertion(+), 9 deletions(-)
5718 commit 5f16ef4abf220028a9ddbcb138217597a9455f62
5719 Author: Lasse Collin <lasse.collin@tukaani.org>
5720 Date: 2009-07-06 10:36:04 +0300
5722 Use sed instead of $(SED) so that we don't need to
5723 use AC_PROG_SED. We don't do anything fancy with sed,
5724 so this should work OK. libtool 2.2 sets SED but 1.5
5725 doesn't, so $(SED) happened to work when using libtool 2.2.
5727 src/liblzma/Makefile.am | 2 +-
5728 src/scripts/Makefile.am | 28 ++++++++++++++--------------
5729 src/xz/Makefile.am | 6 +++---
5730 src/xzdec/Makefile.am | 6 +++---
5731 4 files changed, 21 insertions(+), 21 deletions(-)
5733 commit 96e4b257e101d72072d43e144897d92920270669
5734 Author: Lasse Collin <lasse.collin@tukaani.org>
5735 Date: 2009-07-05 22:25:17 +0300
5737 Major update to the xzgrep and other scripts based on
5738 the latest versions found from gzip CVS repository.
5740 configure will try to find a POSIX shell to be used by
5741 the scripts. This should ease portability on systems
5742 which have pre-POSIX /bin/sh.
5744 xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files.
5745 xzmore and xzless support only .xz and .lzma files.
5747 The name of the xz executable used in these scripts is
5748 now correct even if --program-transform-name has been used.
5750 configure.ac | 14 ++++
5751 m4/posix-shell.m4 | 63 ++++++++++++++++
5752 src/scripts/Makefile.am | 24 +++---
5753 src/scripts/xzdiff | 67 -----------------
5754 src/scripts/xzdiff.1 | 58 ++++++++------
5755 src/scripts/xzdiff.in | 172 ++++++++++++++++++++++++++++++++++++++++++
5756 src/scripts/xzgrep | 123 ------------------------------
5757 src/scripts/xzgrep.1 | 85 ++++++++++++---------
5758 src/scripts/xzgrep.in | 196 ++++++++++++++++++++++++++++++++++++++++++++++++
5759 src/scripts/xzless.1 | 66 ++++++++++++++++
5760 src/scripts/xzless.in | 51 +++++++++++++
5761 src/scripts/xzmore | 74 ------------------
5762 src/scripts/xzmore.1 | 64 +++++++---------
5763 src/scripts/xzmore.in | 78 +++++++++++++++++++
5764 14 files changed, 766 insertions(+), 369 deletions(-)
5766 commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100
5767 Author: Lasse Collin <lasse.collin@tukaani.org>
5768 Date: 2009-07-05 19:26:53 +0300
5770 Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.
5772 src/liblzma/liblzma.pc.in | 2 +-
5773 1 file changed, 1 insertion(+), 1 deletion(-)
5775 commit 18c10c30d2833f394cd7bce0e6a821044b15832f
5776 Author: Lasse Collin <lasse.collin@tukaani.org>
5777 Date: 2009-07-04 00:40:44 +0300
5779 Make "xz --decompress --stdout --force" copy unrecognized
5780 files as is to standard output.
5782 This feature is needed to be more compatible with gzip's
5783 behavior. This was more complicated to implement than it
5784 sounds, because the way liblzma is able to return errors with
5785 files of only a few bytes in size. xz now has its own file
5786 type detection code and no longer uses lzma_auto_decoder().
5788 src/xz/coder.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++----------
5789 1 file changed, 178 insertions(+), 35 deletions(-)
5791 commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633
5792 Author: Lasse Collin <lasse.collin@tukaani.org>
5793 Date: 2009-07-02 14:30:38 +0300
5795 Define PACKAGE_HOMEPAGE in configure.ac and use it in
5798 Use also PACKAGE_NAME instead of hardcoding "XZ Utils".
5800 configure.ac | 5 +++++
5801 src/xz/message.c | 4 ++--
5802 src/xzdec/xzdec.c | 4 ++--
5803 3 files changed, 9 insertions(+), 4 deletions(-)
5805 commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c
5806 Author: Lasse Collin <lasse.collin@tukaani.org>
5807 Date: 2009-07-01 12:21:24 +0300
5809 Avoid visibility related compiler warnings on Windows.
5811 configure.ac | 20 +++++++++-----------
5812 1 file changed, 9 insertions(+), 11 deletions(-)
5814 commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e
5815 Author: Lasse Collin <lasse.collin@tukaani.org>
5816 Date: 2009-06-30 17:14:39 +0300
5818 Use static liblzma by default also for tests.
5820 tests/Makefile.am | 5 ++++-
5821 1 file changed, 4 insertions(+), 1 deletion(-)
5823 commit f42ee981668b545ab6d06c6072e262c29605273c
5824 Author: Lasse Collin <lasse.collin@tukaani.org>
5825 Date: 2009-06-30 17:09:57 +0300
5829 Don't use libtool convenience libraries to avoid recently
5830 discovered long-standing subtle but somewhat severe bugs
5831 in libtool (at least 1.5.22 and 2.2.6 are affected). It
5832 was found when porting XZ Utils to Windows
5833 <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
5834 but the problem is significant also e.g. on GNU/Linux.
5836 Unless --disable-shared is passed to configure, static
5837 library built from a set of convenience libraries will
5838 contain PIC objects. That is, while libtool builds non-PIC
5839 objects too, only PIC objects will be used from the
5840 convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
5841 using PIC instead of non-PIC makes the decompressor 10 % slower
5842 with the default CFLAGS.
5844 So while xz was linked against static liblzma by default,
5845 it got the slower PIC objects unless --disable-shared was
5846 used. I tend develop and benchmark with --disable-shared
5847 due to faster build time, so I hadn't noticed the problem
5848 in benchmarks earlier.
5850 This commit also adds support for building Windows resources
5851 into liblzma and executables.
5853 configure.ac | 34 ++++++++++------
5854 src/liblzma/Makefile.am | 79 +++++++++++++++++++++++++++++--------
5855 src/liblzma/check/Makefile.am | 47 ----------------------
5856 src/liblzma/check/Makefile.inc | 51 ++++++++++++++++++++++++
5857 src/liblzma/common/Makefile.am | 78 ------------------------------------
5858 src/liblzma/common/Makefile.inc | 67 +++++++++++++++++++++++++++++++
5859 src/liblzma/common/common.h | 16 +++++---
5860 src/liblzma/delta/Makefile.am | 28 -------------
5861 src/liblzma/delta/Makefile.inc | 23 +++++++++++
5862 src/liblzma/lz/Makefile.am | 29 --------------
5863 src/liblzma/lz/Makefile.inc | 21 ++++++++++
5864 src/liblzma/lzma/Makefile.am | 51 ------------------------
5865 src/liblzma/lzma/Makefile.inc | 43 ++++++++++++++++++++
5866 src/liblzma/rangecoder/Makefile.am | 26 ------------
5867 src/liblzma/rangecoder/Makefile.inc | 21 ++++++++++
5868 src/liblzma/simple/Makefile.am | 51 ------------------------
5869 src/liblzma/simple/Makefile.inc | 47 ++++++++++++++++++++++
5870 src/liblzma/subblock/Makefile.am | 26 ------------
5871 src/liblzma/subblock/Makefile.inc | 20 ++++++++++
5872 src/xz/Makefile.am | 11 +++++-
5873 src/xzdec/Makefile.am | 20 +++++++++-
5874 21 files changed, 417 insertions(+), 372 deletions(-)
5876 commit 89dac1db6f168d7469cfbc4432651d4724c5c0de
5877 Author: Lasse Collin <lasse.collin@tukaani.org>
5878 Date: 2009-06-29 22:19:51 +0300
5880 Added a comment about "autoconf -fi" to autogen.sh.
5883 1 file changed, 3 insertions(+)
5885 commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd
5886 Author: Lasse Collin <lasse.collin@tukaani.org>
5887 Date: 2009-06-28 10:04:24 +0300
5889 Add -no-undefined to get shared liblzma on Windows.
5891 src/liblzma/Makefile.am | 2 +-
5892 1 file changed, 1 insertion(+), 1 deletion(-)
5894 commit 73f560ee5fa064992b76688d9472baf139432540
5895 Author: Lasse Collin <lasse.collin@tukaani.org>
5896 Date: 2009-06-27 22:57:15 +0300
5898 Make physmem() work on Cygwin 1.5 and older.
5900 src/common/physmem.h | 77 +++++++++++++++++++++++++++-------------------------
5901 1 file changed, 40 insertions(+), 37 deletions(-)
5903 commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1
5904 Author: Lasse Collin <lasse.collin@tukaani.org>
5905 Date: 2009-06-27 17:28:01 +0300
5907 Moved the Windows resource files outside the windows directory
5908 to prepare for building them with Autotools.
5910 src/common/common_w32res.rc | 46 +++++++++++++++++++++++++++++++++++++++++++
5911 src/liblzma/liblzma_w32res.rc | 5 +++++
5912 src/xz/xz_w32res.rc | 5 +++++
5913 src/xzdec/lzmadec_w32res.rc | 5 +++++
5914 src/xzdec/xzdec_w32res.rc | 5 +++++
5915 windows/Makefile | 35 +++++++++++++++++---------------
5916 windows/common.rc | 46 -------------------------------------------
5917 windows/liblzma.rc | 5 -----
5918 windows/lzmadec.rc | 5 -----
5919 windows/xz.rc | 5 -----
5920 windows/xzdec.rc | 5 -----
5921 11 files changed, 85 insertions(+), 82 deletions(-)
5923 commit 449c634674f35336a4815d398172e447659a135e
5924 Author: Lasse Collin <lasse.collin@tukaani.org>
5925 Date: 2009-06-27 13:05:03 +0300
5927 Added missing $(EXEEXT).
5929 src/xz/Makefile.am | 2 +-
5930 1 file changed, 1 insertion(+), 1 deletion(-)
5932 commit 792db79f27ad9ab1fb977e23be65c7761f545752
5933 Author: Lasse Collin <lasse.collin@tukaani.org>
5934 Date: 2009-06-27 12:32:40 +0300
5936 Create correct symlinks even when
5937 --program-{prefix,suffix,transform} is passed to configure.
5939 src/scripts/Makefile.am | 80 ++++++++++++++++++++++++++++---------------------
5940 src/xz/Makefile.am | 21 ++++++++-----
5941 src/xzdec/Makefile.am | 9 ++++--
5942 3 files changed, 65 insertions(+), 45 deletions(-)
5944 commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b
5945 Author: Lasse Collin <lasse.collin@tukaani.org>
5946 Date: 2009-06-27 10:02:24 +0300
5948 Silence a compiler warning on DOS-like systems.
5950 src/xz/file_io.c | 5 ++++-
5951 1 file changed, 4 insertions(+), 1 deletion(-)
5953 commit ad12edc95254ede3f0cb8dec8645e8789e984c4f
5954 Author: Lasse Collin <lasse.collin@tukaani.org>
5955 Date: 2009-06-27 09:35:15 +0300
5957 Updated the filenames in POTFILES.in too.
5959 po/POTFILES.in | 4 ++--
5960 1 file changed, 2 insertions(+), 2 deletions(-)
5962 commit b2b1f867532732fe9969131f8713bdd6b0731763
5963 Author: Lasse Collin <lasse.collin@tukaani.org>
5964 Date: 2009-06-27 00:43:06 +0300
5966 Hopefully improved portability of the assembler code in
5967 Autotools based builds on Windows.
5969 src/liblzma/check/crc32_x86.S | 8 +++++++-
5970 src/liblzma/check/crc64_x86.S | 8 +++++++-
5971 2 files changed, 14 insertions(+), 2 deletions(-)
5973 commit c393055947247627a09b6a6b8f20aa0c32f9be16
5974 Author: Lasse Collin <lasse.collin@tukaani.org>
5975 Date: 2009-06-26 21:17:29 +0300
5977 Updated THANKS (most of today's commits are based on
5978 Charles Wilson's patches).
5981 1 file changed, 1 insertion(+)
5983 commit da0af22e4b4139b8a10710945f8b245b3a77c97d
5984 Author: Lasse Collin <lasse.collin@tukaani.org>
5985 Date: 2009-06-26 21:00:35 +0300
5987 Updated comments to match renamed files.
5989 src/xz/coder.c | 2 +-
5990 src/xz/coder.h | 2 +-
5991 src/xz/file_io.c | 2 +-
5992 src/xz/file_io.h | 2 +-
5993 4 files changed, 4 insertions(+), 4 deletions(-)
5995 commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2
5996 Author: Lasse Collin <lasse.collin@tukaani.org>
5997 Date: 2009-06-26 20:49:54 +0300
5999 Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
6000 to avoid problems on systems with system headers with those
6004 src/xz/Makefile.am | 8 +-
6005 src/xz/coder.c | 488 ++++++++++++++++++++++++++++++++++++
6006 src/xz/coder.h | 57 +++++
6007 src/xz/file_io.c | 716 +++++++++++++++++++++++++++++++++++++++++++++++++++++
6008 src/xz/file_io.h | 86 +++++++
6009 src/xz/io.c | 716 -----------------------------------------------------
6010 src/xz/io.h | 86 -------
6011 src/xz/private.h | 4 +-
6012 src/xz/process.c | 488 ------------------------------------
6013 src/xz/process.h | 57 -----
6014 windows/Makefile | 4 +-
6015 12 files changed, 1357 insertions(+), 1357 deletions(-)
6017 commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8
6018 Author: Lasse Collin <lasse.collin@tukaani.org>
6019 Date: 2009-06-26 20:43:36 +0300
6021 Rename process_file() to coder_run().
6023 src/xz/main.c | 6 +++---
6024 src/xz/process.c | 6 +++---
6025 src/xz/process.h | 5 ++---
6026 3 files changed, 8 insertions(+), 9 deletions(-)
6028 commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc
6029 Author: Lasse Collin <lasse.collin@tukaani.org>
6030 Date: 2009-06-26 20:36:45 +0300
6032 Ugly hack to make it possible to use the thousand separator
6033 format character with snprintf() on POSIX systems but not
6034 on non-POSIX systems and still keep xgettext working.
6036 dos/Makefile | 16 +++-------------
6037 src/xz/message.c | 17 +++++++++--------
6038 src/xz/process.c | 30 +++++++++++++++---------------
6039 src/xz/util.c | 34 ++++++++++++++++++++++++++++++++++
6040 src/xz/util.h | 20 ++++++++++++++++++++
6041 windows/Makefile | 13 +++----------
6042 6 files changed, 84 insertions(+), 46 deletions(-)
6044 commit fe378d47074b16c52b00fe184d119287c68ce2e7
6045 Author: Lasse Collin <lasse.collin@tukaani.org>
6046 Date: 2009-06-26 15:40:40 +0300
6048 Added missing source files to windows/Makefile.
6050 windows/Makefile | 2 ++
6051 1 file changed, 2 insertions(+)
6053 commit 390a6408563067613b29de895cb40e4d0386d62c
6054 Author: Lasse Collin <lasse.collin@tukaani.org>
6055 Date: 2009-06-26 15:37:53 +0300
6057 Basic support for building with Cygwin and MinGW using
6058 the Autotools based build system. It's not good yet, more
6061 configure.ac | 7 +++++++
6062 src/liblzma/api/lzma.h | 7 +++++--
6063 src/liblzma/check/crc32_x86.S | 7 ++++---
6064 src/liblzma/check/crc64_x86.S | 7 ++++---
6065 src/liblzma/common/common.h | 2 +-
6066 windows/Makefile | 16 +++++++---------
6067 6 files changed, 28 insertions(+), 18 deletions(-)
6069 commit 1c9360b7d1197457aaad2f8888b99f1149861579
6070 Author: Lasse Collin <lasse.collin@tukaani.org>
6071 Date: 2009-06-26 14:47:31 +0300
6073 Fix @variables@ to $(variables) in Makefile.am files.
6074 Fix the ordering of libgnu.a and LTLIBINTL on the linker
6075 command line and added missing LTLIBINTL to tests/Makefile.am.
6077 debug/Makefile.am | 12 ++++++------
6078 src/liblzma/check/Makefile.am | 4 ++--
6079 src/liblzma/common/Makefile.am | 16 ++++++++--------
6080 src/liblzma/delta/Makefile.am | 4 ++--
6081 src/liblzma/lz/Makefile.am | 6 +++---
6082 src/liblzma/lzma/Makefile.am | 8 ++++----
6083 src/liblzma/rangecoder/Makefile.am | 4 ++--
6084 src/liblzma/simple/Makefile.am | 4 ++--
6085 src/liblzma/subblock/Makefile.am | 4 ++--
6086 src/xz/Makefile.am | 21 +++++++++++----------
6087 src/xzdec/Makefile.am | 19 ++++++++++---------
6088 tests/Makefile.am | 12 +++++++-----
6089 12 files changed, 59 insertions(+), 55 deletions(-)
6091 commit d45615c555e250209ebb55aa3649abe790f1eeac
6092 Author: Lasse Collin <lasse.collin@tukaani.org>
6093 Date: 2009-06-26 14:20:02 +0300
6095 Allow to explicitly specify autotool versions in autogen.sh.
6097 autogen.sh | 12 ++++++------
6098 1 file changed, 6 insertions(+), 6 deletions(-)
6100 commit eaf8367368a329afa48785380f9dca6b681f3397
6101 Author: Lasse Collin <lasse.collin@tukaani.org>
6102 Date: 2009-06-26 14:18:32 +0300
6104 Add version.sh to EXTRA_DIST.
6107 1 file changed, 2 insertions(+), 1 deletion(-)
6109 commit b317b218e2d383dd27a700094c0de4510540ea18
6110 Author: Lasse Collin <lasse.collin@tukaani.org>
6111 Date: 2009-06-24 20:14:10 +0300
6113 Support HW_PHYSMEM64
6115 src/common/physmem.h | 30 +++++++++++++++++++-----------
6116 1 file changed, 19 insertions(+), 11 deletions(-)
6118 commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7
6119 Author: Lasse Collin <lasse.collin@tukaani.org>
6120 Date: 2009-06-24 13:01:59 +0300
6122 Cast a char argument to isspace() to unsigned char.
6124 src/xz/args.c | 11 +++++++++--
6125 1 file changed, 9 insertions(+), 2 deletions(-)
6127 commit 1735d31ea347210e914df038eeea4b2626e76e42
6128 Author: Lasse Collin <lasse.collin@tukaani.org>
6129 Date: 2009-06-05 13:46:26 +0300
6131 A few more spelling fixes. Released the .xz spec 1.0.3.
6133 doc/xz-file-format.txt | 12 +++++++-----
6134 1 file changed, 7 insertions(+), 5 deletions(-)
6136 commit 8ed156ce894966103e895aa08f2a9fb912f6fad5
6137 Author: Lasse Collin <lasse.collin@tukaani.org>
6138 Date: 2009-06-04 23:42:12 +0300
6140 Added xzdec man page.
6142 src/xzdec/Makefile.am | 11 ++++
6143 src/xzdec/xzdec.1 | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++
6144 2 files changed, 184 insertions(+)
6146 commit f6df39afaa84f71439507178a49b2a5dda6e824c
6147 Author: Lasse Collin <lasse.collin@tukaani.org>
6148 Date: 2009-06-04 23:26:47 +0300
6150 Harmonized xzdec --memory with xz --memory and made
6153 src/xzdec/xzdec.c | 74 +++++++++++++++++++++++++++++++++++++++----------------
6154 1 file changed, 53 insertions(+), 21 deletions(-)
6156 commit 1774f27c61ce294a56712ca2f4785f90a62441bc
6157 Author: Lasse Collin <lasse.collin@tukaani.org>
6158 Date: 2009-06-04 22:59:55 +0300
6160 Fix purporse -> purpose. Thanks to Andrew Dudman.
6161 Released .xz spec 1.0.2 due to this fix too.
6164 doc/xz-file-format.txt | 8 +++++---
6165 src/liblzma/liblzma.pc.in | 2 +-
6166 windows/Makefile | 2 +-
6167 4 files changed, 8 insertions(+), 5 deletions(-)
6169 commit cb613455642f48fb51059e22018615f64c59b70f
6170 Author: Lasse Collin <lasse.collin@tukaani.org>
6171 Date: 2009-06-01 14:53:57 +0300
6173 The .xz file format version 1.0.1
6175 doc/xz-file-format.txt | 29 ++++++++++++++++++++++-------
6176 1 file changed, 22 insertions(+), 7 deletions(-)
6178 commit 083c23c680ff844846d177cfc58bb7a874e7e6b9
6179 Author: Lasse Collin <lasse.collin@tukaani.org>
6180 Date: 2009-05-26 14:48:48 +0300
6182 Make the raw value of the Check field available to applications
6183 via lzma_block structure.
6185 This changes ABI but not doesn't break API.
6187 src/liblzma/api/lzma/block.h | 17 ++++++++++++++++
6188 src/liblzma/common/block_buffer_encoder.c | 1 +
6189 src/liblzma/common/block_decoder.c | 34 ++++++++++++++-----------------
6190 src/liblzma/common/block_encoder.c | 21 ++++++++-----------
6191 4 files changed, 42 insertions(+), 31 deletions(-)
6193 commit b4f5c814090dc07d4350453576305e41eb9c998d
6194 Author: Lasse Collin <lasse.collin@tukaani.org>
6195 Date: 2009-05-23 16:57:21 +0300
6197 Remove undocumented alternative option names --bcj, --ppc,
6200 src/xz/args.c | 3 ---
6201 1 file changed, 3 deletions(-)
6203 commit b1edee2cdc7ef4411b1a21c07094ec763f071281
6204 Author: Lasse Collin <lasse.collin@tukaani.org>
6205 Date: 2009-05-23 15:12:23 +0300
6207 Add support for specifying the BCJ filter start offset
6208 in the xz command line tool.
6210 src/xz/args.c | 36 +++++++++++++++++++++---------------
6211 src/xz/message.c | 14 ++++++++------
6212 src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++
6213 src/xz/options.h | 7 +++++++
6214 4 files changed, 76 insertions(+), 21 deletions(-)
6216 commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb
6217 Author: Lasse Collin <lasse.collin@tukaani.org>
6218 Date: 2009-05-23 14:51:09 +0300
6223 1 file changed, 2 insertions(+)
6225 commit dcedb6998cefeca6597dd1219328a3abf5acf66d
6226 Author: Lasse Collin <lasse.collin@tukaani.org>
6227 Date: 2009-05-22 16:40:50 +0300
6229 Added support for --quiet and --no-warn to xzdec.
6230 Cleaned up the --help message a little.
6232 src/xzdec/xzdec.c | 76 +++++++++++++++++++++++++++++++++++--------------------
6233 1 file changed, 49 insertions(+), 27 deletions(-)
6235 commit 5f735dae80aa629853f4831d7b84ec1c614979eb
6236 Author: Lasse Collin <lasse.collin@tukaani.org>
6237 Date: 2009-05-22 15:11:52 +0300
6239 Use the 40 % of RAM memory usage limit in xzdec too.
6241 Update the memory usage info text in --help to match
6242 the text in xz --long-help.
6244 src/xzdec/xzdec.c | 10 +++++-----
6245 1 file changed, 5 insertions(+), 5 deletions(-)
6247 commit b60376249e0c586910c4121fab4f791820cc1289
6248 Author: Lasse Collin <lasse.collin@tukaani.org>
6249 Date: 2009-05-22 14:43:00 +0300
6253 src/xz/args.c | 8 +++++++-
6254 src/xz/main.c | 17 +++++++++++++++++
6255 src/xz/main.h | 6 ++++++
6256 src/xz/message.c | 4 ++++
6257 4 files changed, 34 insertions(+), 1 deletion(-)
6259 commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008
6260 Author: Lasse Collin <lasse.collin@tukaani.org>
6261 Date: 2009-05-22 14:27:40 +0300
6265 src/xz/main.h | 2 +-
6266 1 file changed, 1 insertion(+), 1 deletion(-)
6268 commit 4dd21d23f22569285ae706b58b0e5904b8db1839
6269 Author: Lasse Collin <lasse.collin@tukaani.org>
6270 Date: 2009-05-22 14:21:20 +0300
6272 Remove the --info option, which was an alias for --list.
6275 1 file changed, 1 deletion(-)
6277 commit 8836139b63ce774bdd62abf17ab69b290e08229e
6278 Author: Lasse Collin <lasse.collin@tukaani.org>
6279 Date: 2009-05-22 12:27:43 +0300
6281 If xz is run as lzma, unlzma, or lzcat, simply imply
6282 --format=lzma. This means that xz emulating lzma
6283 doesn't decompress .xz files, while before this
6284 commit it did. The new way is slightly simpler in
6285 code and especially in upcoming documentation.
6287 src/xz/args.c | 17 ++++++-----------
6288 1 file changed, 6 insertions(+), 11 deletions(-)
6290 commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d
6291 Author: Lasse Collin <lasse.collin@tukaani.org>
6292 Date: 2009-05-22 11:29:50 +0300
6294 Make the default memory usage limit 40 % of RAM for both
6295 compressing and decompressing. This should be OK now that
6296 xz automatically scales down the compression settings if
6297 they would exceed the memory usage limit (earlier, the limit
6298 for compression was increased to 90 % because low limit broke
6299 scripts that used "xz -9" on systems with low RAM).
6301 Support spcifying the memory usage limit as a percentage
6302 of RAM (e.g. --memory=50%).
6304 Support --threads=0 to reset the thread limit to the default
6305 value (number of available CPU cores). Use UINT32_MAX instead
6306 of SIZE_MAX as the maximum in args.c. hardware.c was already
6307 expecting uint32_t value.
6309 Cleaned up the output of --help and --long-help.
6311 src/xz/args.c | 28 +++++++++++++-----
6312 src/xz/hardware.c | 86 +++++++++++++++++++++++--------------------------------
6313 src/xz/hardware.h | 10 +++----
6314 src/xz/message.c | 28 +++++++++---------
6315 src/xz/process.c | 18 +++++-------
6316 5 files changed, 82 insertions(+), 88 deletions(-)
6318 commit 071b825b23911a69dd1cd2f8cda004ef8a781fae
6319 Author: Lasse Collin <lasse.collin@tukaani.org>
6320 Date: 2009-05-21 17:22:01 +0300
6322 Support special value "max" where xz and xzdec accept an integer.
6323 Don't round the memory usage limit in xzdec --help to avoid
6324 an integer overflow and to not give wrong impression that
6325 the limit is high enough when it may not actually be.
6327 src/xz/util.c | 4 ++++
6328 src/xzdec/xzdec.c | 6 +++++-
6329 2 files changed, 9 insertions(+), 1 deletion(-)
6331 commit 03ca67fd37dd43fa7f590de340899cd497c10802
6332 Author: ABCD <en.abcd@gmail.com>
6333 Date: 2009-05-20 17:31:18 -0400
6335 Install lzdiff, lzgrep, and lzmore as symlinks
6337 This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install.
6338 It also installs symlinks for the manual pages and removes the new
6339 symlinks on uninstall.
6341 src/scripts/Makefile.am | 16 ++++++++++++++--
6342 1 file changed, 14 insertions(+), 2 deletions(-)
6344 commit a6f43e64128a6da5cd641de1e1e527433b3e5638
6345 Author: Lasse Collin <lasse.collin@tukaani.org>
6346 Date: 2009-05-02 16:10:14 +0300
6348 Use a GCC-specific #pragma instead of GCC-specific
6349 -Wno-uninitialized to silence a bogus warning.
6351 configure.ac | 13 -------------
6352 src/liblzma/check/Makefile.am | 5 -----
6353 src/liblzma/check/sha256.c | 5 +++++
6354 3 files changed, 5 insertions(+), 18 deletions(-)
6356 commit f6ce63ebdb45a857c8949960c83c9580ae888951
6357 Author: Lasse Collin <lasse.collin@tukaani.org>
6358 Date: 2009-05-02 14:46:50 +0300
6360 Removed --disable-encoder and --disable-decoder. Use the values
6361 given to --enable-encoders and --enable-decoders to determine
6362 if any encoder or decoder support is wanted.
6364 configure.ac | 48 ++++++++----------------------------------------
6365 1 file changed, 8 insertions(+), 40 deletions(-)
6367 commit be06858d5cf8ba46557395035d821dc332f3f830
6368 Author: Lasse Collin <lasse.collin@tukaani.org>
6369 Date: 2009-05-01 11:28:52 +0300
6371 Remove docs that are too outdated to be updated
6372 (rewrite will be better).
6374 doc/liblzma-advanced.txt | 324 -----------------------------------------------
6375 doc/liblzma-hacking.txt | 112 ----------------
6376 doc/liblzma-intro.txt | 194 ----------------------------
6377 doc/liblzma-security.txt | 219 --------------------------------
6378 doc/lzma-intro.txt | 107 ----------------
6379 5 files changed, 956 deletions(-)
6381 commit 0255401e57c96af87c6b159eca28974e79430a82
6382 Author: Lasse Collin <lasse.collin@tukaani.org>
6383 Date: 2009-05-01 11:21:46 +0300
6385 Added documentation about the legacy .lzma file format.
6387 doc/lzma-file-format.txt | 166 +++++++++++++++++++++++++++++++++++++++++++++++
6388 1 file changed, 166 insertions(+)
6390 commit 1496ff437c46f38303e0e94c511ca604b3a11f85
6391 Author: Lasse Collin <lasse.collin@tukaani.org>
6392 Date: 2009-05-01 11:20:23 +0300
6394 Renamed the file format specification to xz-file-format.txt
6395 which is the filename used on the WWW.
6397 doc/file-format.txt | 1127 ------------------------------------------------
6398 doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++
6399 2 files changed, 1127 insertions(+), 1127 deletions(-)
6401 commit 21c6b94373d239d7e86bd480fcd558e30391712f
6402 Author: Lasse Collin <lasse.collin@tukaani.org>
6403 Date: 2009-04-28 23:08:32 +0300
6405 Fixed a crash in liblzma.
6407 liblzma tries to avoid useless free()/malloc() pairs in
6408 initialization when multiple files are handled using the
6409 same lzma_stream. This didn't work with filter chains
6410 due to comparison of wrong pointers in lzma_next_coder_init(),
6411 making liblzma think that no memory reallocation is needed
6412 even when it actually is.
6414 Easy way to trigger this bug is to decompress two files with
6415 a single xz command. The first file should have e.g. x86+LZMA2
6416 as the filter chain, and the second file just LZMA2.
6418 src/liblzma/common/alone_decoder.c | 2 +-
6419 src/liblzma/common/alone_encoder.c | 4 ++--
6420 src/liblzma/common/auto_decoder.c | 2 +-
6421 src/liblzma/common/block_decoder.c | 2 +-
6422 src/liblzma/common/block_encoder.c | 2 +-
6423 src/liblzma/common/common.h | 4 ++--
6424 src/liblzma/common/easy_encoder.c | 2 +-
6425 src/liblzma/common/index_decoder.c | 2 +-
6426 src/liblzma/common/index_encoder.c | 2 +-
6427 src/liblzma/common/stream_decoder.c | 2 +-
6428 src/liblzma/common/stream_encoder.c | 2 +-
6429 11 files changed, 13 insertions(+), 13 deletions(-)
6431 commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c
6432 Author: Lasse Collin <lasse.collin@tukaani.org>
6433 Date: 2009-04-15 14:13:38 +0300
6435 Fix uint32_t -> size_t in ARM and ARM-Thumb filters.
6437 On 64-bit system it would have gone into infinite
6438 loop if a single input buffer was over 4 GiB (unlikely).
6440 src/liblzma/simple/arm.c | 2 +-
6441 src/liblzma/simple/armthumb.c | 2 +-
6442 2 files changed, 2 insertions(+), 2 deletions(-)
6444 commit 31decdce041581e57c0d8a407d4795b114ef27ca
6445 Author: Lasse Collin <lasse.collin@tukaani.org>
6446 Date: 2009-04-14 11:48:46 +0300
6448 Minor fixes to test files' README.
6450 tests/files/README | 17 +++++++++--------
6451 1 file changed, 9 insertions(+), 8 deletions(-)
6453 commit 4787d654434891c7df5b43959b0d2873718f06e0
6454 Author: Lasse Collin <lasse.collin@tukaani.org>
6455 Date: 2009-04-13 16:36:41 +0300
6457 Updated history.txt.
6459 doc/history.txt | 123 ++++++++++++++++++++++++++++++--------------------------
6460 1 file changed, 66 insertions(+), 57 deletions(-)
6462 commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9
6463 Author: Lasse Collin <lasse.collin@tukaani.org>
6464 Date: 2009-04-13 14:49:48 +0300
6466 Quick & dirty update to support xz in diff/grep/more scripts.
6468 src/scripts/Makefile.am | 38 +++++++++------
6469 src/scripts/lzdiff | 67 --------------------------
6470 src/scripts/lzdiff.1 | 51 --------------------
6471 src/scripts/lzgrep | 123 ------------------------------------------------
6472 src/scripts/lzgrep.1 | 61 ------------------------
6473 src/scripts/lzmore | 74 -----------------------------
6474 src/scripts/lzmore.1 | 55 ----------------------
6475 src/scripts/xzdiff | 67 ++++++++++++++++++++++++++
6476 src/scripts/xzdiff.1 | 58 +++++++++++++++++++++++
6477 src/scripts/xzgrep | 123 ++++++++++++++++++++++++++++++++++++++++++++++++
6478 src/scripts/xzgrep.1 | 77 ++++++++++++++++++++++++++++++
6479 src/scripts/xzmore | 74 +++++++++++++++++++++++++++++
6480 src/scripts/xzmore.1 | 66 ++++++++++++++++++++++++++
6481 13 files changed, 489 insertions(+), 445 deletions(-)
6483 commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc
6484 Author: Lasse Collin <lasse.collin@tukaani.org>
6485 Date: 2009-04-13 11:27:40 +0300
6487 Put the interesting parts of XZ Utils into the public domain.
6488 Some minor documentation cleanups were made at the same time.
6490 COPYING | 67 ++++++++++++++++++++------
6493 Makefile.am | 13 ++---
6495 configure.ac | 13 ++---
6496 debug/Makefile.am | 13 ++---
6497 debug/crc32.c | 13 ++---
6498 debug/full_flush.c | 13 ++---
6499 debug/hex2bin.c | 7 ++-
6500 debug/known_sizes.c | 13 ++---
6501 debug/memusage.c | 13 ++---
6502 debug/repeat.c | 13 ++---
6503 debug/sync_flush.c | 13 ++---
6504 doc/faq.txt | 38 ++-------------
6505 lib/Makefile.am | 18 +++----
6506 src/Makefile.am | 13 ++---
6507 src/common/bswap.h | 7 ++-
6508 src/common/cpucores.h | 7 ++-
6509 src/common/integer.h | 7 ++-
6510 src/common/mythread.h | 4 +-
6511 src/common/open_stdxxx.h | 7 ++-
6512 src/common/physmem.h | 7 ++-
6513 src/common/sysdefs.h | 13 ++---
6514 src/liblzma/Makefile.am | 13 ++---
6515 src/liblzma/api/Makefile.am | 13 ++---
6516 src/liblzma/api/lzma.h | 38 +++++++++------
6517 src/liblzma/api/lzma/base.h | 20 +++-----
6518 src/liblzma/api/lzma/bcj.h | 18 +++----
6519 src/liblzma/api/lzma/block.h | 18 +++----
6520 src/liblzma/api/lzma/check.h | 18 +++----
6521 src/liblzma/api/lzma/container.h | 18 +++----
6522 src/liblzma/api/lzma/delta.h | 18 +++----
6523 src/liblzma/api/lzma/filter.h | 18 +++----
6524 src/liblzma/api/lzma/index.h | 18 +++----
6525 src/liblzma/api/lzma/index_hash.h | 22 +++------
6526 src/liblzma/api/lzma/lzma.h | 18 +++----
6527 src/liblzma/api/lzma/stream_flags.h | 18 +++----
6528 src/liblzma/api/lzma/subblock.h | 18 +++----
6529 src/liblzma/api/lzma/version.h | 18 +++----
6530 src/liblzma/api/lzma/vli.h | 46 ++++++++----------
6531 src/liblzma/check/Makefile.am | 8 ++-
6532 src/liblzma/check/check.c | 7 ++-
6533 src/liblzma/check/check.h | 7 ++-
6534 src/liblzma/check/crc32_fast.c | 30 +++++-------
6535 src/liblzma/check/crc32_small.c | 7 ++-
6536 src/liblzma/check/crc32_table.c | 7 ++-
6537 src/liblzma/check/crc32_tablegen.c | 7 ++-
6538 src/liblzma/check/crc32_x86.S | 21 +++++---
6539 src/liblzma/check/crc64_fast.c | 20 +++-----
6540 src/liblzma/check/crc64_small.c | 7 ++-
6541 src/liblzma/check/crc64_table.c | 7 ++-
6542 src/liblzma/check/crc64_tablegen.c | 7 ++-
6543 src/liblzma/check/crc64_x86.S | 14 ++++--
6544 src/liblzma/check/crc_macros.h | 9 ++--
6545 src/liblzma/check/sha256.c | 23 +++++----
6546 src/liblzma/common/Makefile.am | 13 ++---
6547 src/liblzma/common/alone_decoder.c | 13 ++---
6548 src/liblzma/common/alone_decoder.h | 13 ++---
6549 src/liblzma/common/alone_encoder.c | 13 ++---
6550 src/liblzma/common/auto_decoder.c | 13 ++---
6551 src/liblzma/common/block_buffer_decoder.c | 13 ++---
6552 src/liblzma/common/block_buffer_encoder.c | 13 ++---
6553 src/liblzma/common/block_decoder.c | 13 ++---
6554 src/liblzma/common/block_decoder.h | 13 ++---
6555 src/liblzma/common/block_encoder.c | 13 ++---
6556 src/liblzma/common/block_encoder.h | 13 ++---
6557 src/liblzma/common/block_header_decoder.c | 13 ++---
6558 src/liblzma/common/block_header_encoder.c | 13 ++---
6559 src/liblzma/common/block_util.c | 13 ++---
6560 src/liblzma/common/bsr.h | 7 ++-
6561 src/liblzma/common/chunk_size.c | 13 ++---
6562 src/liblzma/common/common.c | 13 ++---
6563 src/liblzma/common/common.h | 13 ++---
6564 src/liblzma/common/easy_buffer_encoder.c | 13 ++---
6565 src/liblzma/common/easy_decoder_memusage.c | 13 ++---
6566 src/liblzma/common/easy_encoder.c | 13 ++---
6567 src/liblzma/common/easy_encoder_memusage.c | 13 ++---
6568 src/liblzma/common/easy_preset.c | 13 ++---
6569 src/liblzma/common/easy_preset.h | 13 ++---
6570 src/liblzma/common/filter_buffer_decoder.c | 13 ++---
6571 src/liblzma/common/filter_buffer_encoder.c | 13 ++---
6572 src/liblzma/common/filter_common.c | 13 ++---
6573 src/liblzma/common/filter_common.h | 13 ++---
6574 src/liblzma/common/filter_decoder.c | 13 ++---
6575 src/liblzma/common/filter_decoder.h | 13 ++---
6576 src/liblzma/common/filter_encoder.c | 13 ++---
6577 src/liblzma/common/filter_encoder.h | 13 ++---
6578 src/liblzma/common/filter_flags_decoder.c | 13 ++---
6579 src/liblzma/common/filter_flags_encoder.c | 13 ++---
6580 src/liblzma/common/index.c | 13 ++---
6581 src/liblzma/common/index.h | 13 ++---
6582 src/liblzma/common/index_decoder.c | 13 ++---
6583 src/liblzma/common/index_encoder.c | 13 ++---
6584 src/liblzma/common/index_encoder.h | 13 ++---
6585 src/liblzma/common/index_hash.c | 13 ++---
6586 src/liblzma/common/stream_buffer_decoder.c | 13 ++---
6587 src/liblzma/common/stream_buffer_encoder.c | 13 ++---
6588 src/liblzma/common/stream_decoder.c | 13 ++---
6589 src/liblzma/common/stream_decoder.h | 13 ++---
6590 src/liblzma/common/stream_encoder.c | 13 ++---
6591 src/liblzma/common/stream_encoder.h | 13 ++---
6592 src/liblzma/common/stream_flags_common.c | 13 ++---
6593 src/liblzma/common/stream_flags_common.h | 13 ++---
6594 src/liblzma/common/stream_flags_decoder.c | 13 ++---
6595 src/liblzma/common/stream_flags_encoder.c | 13 ++---
6596 src/liblzma/common/vli_decoder.c | 13 ++---
6597 src/liblzma/common/vli_encoder.c | 13 ++---
6598 src/liblzma/common/vli_size.c | 13 ++---
6599 src/liblzma/delta/Makefile.am | 13 ++---
6600 src/liblzma/delta/delta_common.c | 13 ++---
6601 src/liblzma/delta/delta_common.h | 13 ++---
6602 src/liblzma/delta/delta_decoder.c | 13 ++---
6603 src/liblzma/delta/delta_decoder.h | 13 ++---
6604 src/liblzma/delta/delta_encoder.c | 13 ++---
6605 src/liblzma/delta/delta_encoder.h | 13 ++---
6606 src/liblzma/delta/delta_private.h | 13 ++---
6607 src/liblzma/lz/Makefile.am | 13 ++---
6608 src/liblzma/lz/lz_decoder.c | 17 ++-----
6609 src/liblzma/lz/lz_decoder.h | 17 ++-----
6610 src/liblzma/lz/lz_encoder.c | 17 ++-----
6611 src/liblzma/lz/lz_encoder.h | 17 ++-----
6612 src/liblzma/lz/lz_encoder_hash.h | 13 ++---
6613 src/liblzma/lz/lz_encoder_mf.c | 17 ++-----
6614 src/liblzma/lzma/Makefile.am | 13 ++---
6615 src/liblzma/lzma/fastpos.h | 17 ++-----
6616 src/liblzma/lzma/fastpos_tablegen.c | 17 ++-----
6617 src/liblzma/lzma/lzma2_decoder.c | 17 ++-----
6618 src/liblzma/lzma/lzma2_decoder.h | 17 ++-----
6619 src/liblzma/lzma/lzma2_encoder.c | 17 ++-----
6620 src/liblzma/lzma/lzma2_encoder.h | 17 ++-----
6621 src/liblzma/lzma/lzma_common.h | 17 ++-----
6622 src/liblzma/lzma/lzma_decoder.c | 17 ++-----
6623 src/liblzma/lzma/lzma_decoder.h | 17 ++-----
6624 src/liblzma/lzma/lzma_encoder.c | 17 ++-----
6625 src/liblzma/lzma/lzma_encoder.h | 17 ++-----
6626 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 13 ++---
6627 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 ++---
6628 src/liblzma/lzma/lzma_encoder_presets.c | 13 ++---
6629 src/liblzma/lzma/lzma_encoder_private.h | 17 ++-----
6630 src/liblzma/rangecoder/Makefile.am | 13 ++---
6631 src/liblzma/rangecoder/price.h | 13 ++---
6632 src/liblzma/rangecoder/price_tablegen.c | 16 ++----
6633 src/liblzma/rangecoder/range_common.h | 17 ++-----
6634 src/liblzma/rangecoder/range_decoder.h | 17 ++-----
6635 src/liblzma/rangecoder/range_encoder.h | 17 ++-----
6636 src/liblzma/simple/Makefile.am | 13 ++---
6637 src/liblzma/simple/arm.c | 17 ++-----
6638 src/liblzma/simple/armthumb.c | 17 ++-----
6639 src/liblzma/simple/ia64.c | 17 ++-----
6640 src/liblzma/simple/powerpc.c | 17 ++-----
6641 src/liblzma/simple/simple_coder.c | 13 ++---
6642 src/liblzma/simple/simple_coder.h | 14 ++----
6643 src/liblzma/simple/simple_decoder.c | 13 ++---
6644 src/liblzma/simple/simple_decoder.h | 13 ++---
6645 src/liblzma/simple/simple_encoder.c | 13 ++---
6646 src/liblzma/simple/simple_encoder.h | 13 ++---
6647 src/liblzma/simple/simple_private.h | 13 ++---
6648 src/liblzma/simple/sparc.c | 17 ++-----
6649 src/liblzma/simple/x86.c | 17 ++-----
6650 src/liblzma/subblock/Makefile.am | 13 ++---
6651 src/liblzma/subblock/subblock_decoder.c | 13 ++---
6652 src/liblzma/subblock/subblock_decoder.h | 13 ++---
6653 src/liblzma/subblock/subblock_decoder_helper.c | 13 ++---
6654 src/liblzma/subblock/subblock_decoder_helper.h | 13 ++---
6655 src/liblzma/subblock/subblock_encoder.c | 13 ++---
6656 src/liblzma/subblock/subblock_encoder.h | 13 ++---
6657 src/scripts/Makefile.am | 7 +++
6658 src/xz/Makefile.am | 13 ++---
6659 src/xz/args.c | 13 ++---
6660 src/xz/args.h | 13 ++---
6661 src/xz/hardware.c | 13 ++---
6662 src/xz/hardware.h | 13 ++---
6663 src/xz/io.c | 13 ++---
6664 src/xz/io.h | 13 ++---
6665 src/xz/list.c | 13 ++---
6666 src/xz/main.c | 13 ++---
6667 src/xz/main.h | 13 ++---
6668 src/xz/message.c | 13 ++---
6669 src/xz/message.h | 13 ++---
6670 src/xz/options.c | 13 ++---
6671 src/xz/options.h | 13 ++---
6672 src/xz/private.h | 13 ++---
6673 src/xz/process.c | 13 ++---
6674 src/xz/process.h | 13 ++---
6675 src/xz/signals.c | 13 ++---
6676 src/xz/signals.h | 13 ++---
6677 src/xz/suffix.c | 13 ++---
6678 src/xz/suffix.h | 13 ++---
6679 src/xz/util.c | 13 ++---
6680 src/xz/util.h | 13 ++---
6681 src/xzdec/Makefile.am | 13 ++---
6682 src/xzdec/xzdec.c | 13 ++---
6683 tests/Makefile.am | 13 ++---
6684 tests/bcj_test.c | 7 ++-
6685 tests/create_compress_files.c | 13 ++---
6686 tests/test_block.c | 13 ++---
6687 tests/test_block_header.c | 13 ++---
6688 tests/test_check.c | 13 ++---
6689 tests/test_compress.sh | 13 ++---
6690 tests/test_files.sh | 13 ++---
6691 tests/test_filter_flags.c | 13 ++---
6692 tests/test_index.c | 13 ++---
6693 tests/test_stream_flags.c | 13 ++---
6694 tests/tests.h | 13 ++---
6695 windows/common.rc | 2 +-
6696 206 files changed, 868 insertions(+), 2023 deletions(-)
6698 commit e79c42d854657ae7f75613bd80c1a35ff7c525cb
6699 Author: Lasse Collin <lasse.collin@tukaani.org>
6700 Date: 2009-04-10 11:17:02 +0300
6702 Fix off-by-one in LZ decoder.
6704 Fortunately, this bug had no security risk other than accepting
6705 some corrupt files as valid.
6707 src/liblzma/lz/lz_decoder.h | 2 +-
6708 1 file changed, 1 insertion(+), 1 deletion(-)
6710 commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af
6711 Author: Pavel Roskin <proski@gnu.org>
6712 Date: 2009-03-31 12:15:01 -0400
6714 Fix minor typos in README
6717 1 file changed, 3 insertions(+), 3 deletions(-)
6719 commit 9bab5336ebd765ec4e12252f416eefdf04eba750
6720 Author: Lasse Collin <lasse.collin@tukaani.org>
6721 Date: 2009-03-31 21:52:51 +0300
6723 Add a note and work-around instructions to README about
6724 problems detecting a C99 compiler when some standard
6725 headers are missing.
6727 README | 11 +++++++++++
6728 1 file changed, 11 insertions(+)
6730 commit a0497ff7a06f9350349264fe9b52dfefc6d53ead
6731 Author: Lasse Collin <lasse.collin@tukaani.org>
6732 Date: 2009-03-18 16:54:38 +0200
6737 1 file changed, 1 insertion(+)
6739 commit 390e69887fc5e0a108eb41203bed9acd100a3d76
6740 Author: Lasse Collin <lasse.collin@tukaani.org>
6741 Date: 2009-03-18 16:51:41 +0200
6743 Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
6744 Thanks to Bert Wesarg.
6746 m4/lc_cpucores.m4 | 4 ++--
6747 src/common/cpucores.h | 4 ++--
6748 2 files changed, 4 insertions(+), 4 deletions(-)
6750 commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6
6751 Author: Lasse Collin <lasse.collin@tukaani.org>
6752 Date: 2009-03-01 09:03:08 +0200
6754 Test for Linux-specific sysinfo() only on Linux systems.
6755 Some other systems have sysinfo() with different semantics.
6757 m4/lc_physmem.m4 | 28 +++++++++++++++++++---------
6758 1 file changed, 19 insertions(+), 9 deletions(-)
6760 commit cf751edfde3ad6e088dc18e0522d31ae38405933
6761 Author: Lasse Collin <lasse.collin@tukaani.org>
6762 Date: 2009-03-01 09:00:06 +0200
6764 Added AC_CONFIG_MACRO_DIR to configure.ac.
6767 1 file changed, 1 insertion(+)
6769 commit 63df14c57dee7c461717784287056688482a7eb9
6770 Author: Lasse Collin <lasse.collin@tukaani.org>
6771 Date: 2009-03-01 08:58:41 +0200
6773 Fix the Autoconf test for getopt_long replacement.
6774 It was broken by e114502b2bc371e4a45449832cb69be036360722.
6776 m4/getopt.m4 | 4 ++++
6777 1 file changed, 4 insertions(+)
6779 commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f
6780 Author: Lasse Collin <lasse.collin@tukaani.org>
6781 Date: 2009-02-22 19:07:54 +0200
6783 Add a rough explanation of --extreme to output of --help.
6785 src/xz/message.c | 4 ++++
6786 1 file changed, 4 insertions(+)
6788 commit 68bf7ac2984d3627369a240ef0491934d53f7899
6789 Author: Lasse Collin <lasse.collin@tukaani.org>
6790 Date: 2009-02-22 18:52:49 +0200
6792 Fixes to progress message handling in xz:
6794 - Don't use Windows-specific code on Windows. The old code
6795 required at least Windows 2000. Now it should work on
6796 Windows 98 and later, and maybe on Windows 95 too.
6798 - Use less precision when showing estimated remaining time.
6800 - Fix some small design issues.
6802 src/xz/message.c | 483 +++++++++++++++++++++++++++++++++++--------------------
6803 src/xz/message.h | 28 ++--
6804 src/xz/process.c | 53 +++---
6805 3 files changed, 351 insertions(+), 213 deletions(-)
6807 commit 47c2e21f82242f50f18713a27d644c2c94ab3fea
6808 Author: Lasse Collin <lasse.collin@tukaani.org>
6809 Date: 2009-02-18 13:00:10 +0200
6811 Added files missing from the previous commit.
6813 src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++
6814 src/liblzma/common/Makefile.am | 7 ++++++-
6815 2 files changed, 39 insertions(+), 1 deletion(-)
6817 commit 489a3dbaa0465f04400804e956a1cfbbee3654a2
6818 Author: Lasse Collin <lasse.collin@tukaani.org>
6819 Date: 2009-02-17 10:43:00 +0200
6821 Added lzma_easy_buffer_encode(). Splitted easy.c into small
6822 pieces to avoid unneeded dependencies making statically
6823 linked applications bigger than needed.
6826 src/liblzma/common/easy.c | 128 -----------------------------
6827 src/liblzma/common/easy_buffer_encoder.c | 34 ++++++++
6828 src/liblzma/common/easy_decoder_memusage.c | 31 +++++++
6829 src/liblzma/common/easy_encoder.c | 87 ++++++++++++++++++++
6830 src/liblzma/common/easy_encoder_memusage.c | 31 +++++++
6831 src/liblzma/common/easy_preset.c | 34 ++++++++
6832 src/liblzma/common/easy_preset.h | 39 +++++++++
6833 windows/Makefile | 6 +-
6834 9 files changed, 266 insertions(+), 130 deletions(-)
6836 commit 7494816ab08d82f4d6409788825930c4e43cfd0d
6837 Author: Lasse Collin <lasse.collin@tukaani.org>
6838 Date: 2009-02-15 15:48:45 +0200
6840 Make physmem.h work on old Windows versions.
6841 Thanks to Hongbo Ni for the original patch.
6843 src/common/physmem.h | 31 +++++++++++++++++++++++++++----
6844 1 file changed, 27 insertions(+), 4 deletions(-)
6846 commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0
6847 Author: Lasse Collin <lasse.collin@tukaani.org>
6848 Date: 2009-02-14 20:44:52 +0200
6850 Fix microsecond vs. nanosecond confusion in my_time().
6852 src/xz/message.c | 2 +-
6853 1 file changed, 1 insertion(+), 1 deletion(-)
6855 commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7
6856 Author: Lasse Collin <lasse.collin@tukaani.org>
6857 Date: 2009-02-14 00:45:29 +0200
6859 Cleanups to the code that detects the amount of RAM and
6860 the number of CPU cores. Added support for using sysinfo()
6861 on Linux systems whose libc lacks appropriate sysconf()
6862 support (at least dietlibc). The Autoconf macros were
6863 split into separate files, and CPU core count detection
6864 was moved from hardware.c to cpucores.h. The core count
6865 isn't used for anything real for now, so a problematic
6866 part in process.c was commented out.
6868 configure.ac | 89 ++-------------------------------------------------
6869 m4/lc_cpucores.m4 | 57 +++++++++++++++++++++++++++++++++
6870 m4/lc_physmem.m4 | 74 ++++++++++++++++++++++++++++++++++++++++++
6871 src/common/cpucores.h | 52 ++++++++++++++++++++++++++++++
6872 src/common/physmem.h | 21 +++++++-----
6873 src/xz/args.c | 4 +--
6874 src/xz/hardware.c | 50 +++++++++++++----------------
6875 src/xz/hardware.h | 11 +++++--
6876 src/xz/message.c | 5 +--
6877 src/xz/process.c | 2 ++
6878 10 files changed, 235 insertions(+), 130 deletions(-)
6880 commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8
6881 Author: Lasse Collin <lasse.collin@tukaani.org>
6882 Date: 2009-02-13 18:23:50 +0200
6884 Initial port to DOS using DJGPP.
6886 dos/Makefile | 261 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6887 dos/README | 113 ++++++++++++++++++++++++++
6888 dos/config.h | 150 ++++++++++++++++++++++++++++++++++
6889 3 files changed, 524 insertions(+)
6891 commit 0dae8b7751d09e9c5a482d5519daaee4800ce203
6892 Author: Lasse Collin <lasse.collin@tukaani.org>
6893 Date: 2009-02-13 18:02:05 +0200
6895 Windows port: Take advantage of the version number macros.
6896 Now the version number is not duplicated in the
6897 Windows-specific files anymore.
6899 windows/Makefile | 2 +-
6900 windows/common.rc | 16 ++++++++--------
6901 windows/config.h | 15 ---------------
6902 3 files changed, 9 insertions(+), 24 deletions(-)
6904 commit fdbc0cfa71f7d660855098a609175ba384259529
6905 Author: Lasse Collin <lasse.collin@tukaani.org>
6906 Date: 2009-02-13 18:00:03 +0200
6908 Changed how the version number is specified in various places.
6909 Now configure.ac will get the version number directly from
6910 src/liblzma/api/lzma/version.h. The intent is to reduce the
6911 number of places where the version number is duplicated. In
6912 future, support for displaying Git commit ID may be added too.
6915 src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++++--
6916 src/liblzma/common/common.c | 2 +-
6917 src/xz/message.c | 2 +-
6918 src/xzdec/xzdec.c | 2 +-
6919 version.sh | 23 ++++++++++++++
6920 6 files changed, 95 insertions(+), 7 deletions(-)
6922 commit 1d924e584b146136989f48c13fff2632896efb3d
6923 Author: Lasse Collin <lasse.collin@tukaani.org>
6924 Date: 2009-02-13 17:30:30 +0200
6926 Fix handling of integrity check type in the xz command line tool.
6928 src/xz/args.c | 9 ++++++++-
6929 src/xz/process.c | 4 ++++
6930 2 files changed, 12 insertions(+), 1 deletion(-)
6932 commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8
6933 Author: Lasse Collin <lasse.collin@tukaani.org>
6934 Date: 2009-02-13 17:29:02 +0200
6936 Improve support for DOS-like systems.
6937 Here DOS-like means DOS, Windows, and OS/2.
6939 src/common/physmem.h | 12 ++++++++++++
6940 src/common/sysdefs.h | 4 ++++
6941 src/liblzma/check/crc32_x86.S | 6 +++---
6942 src/liblzma/check/crc64_x86.S | 6 +++---
6943 src/xz/args.c | 13 +++++--------
6944 src/xz/io.c | 39 +++++++++++++++++++++++++--------------
6945 src/xz/main.c | 23 +++++++++++++++++++++++
6946 src/xz/message.c | 3 +++
6947 src/xz/suffix.c | 5 +++++
6948 src/xzdec/xzdec.c | 5 +++--
6949 10 files changed, 86 insertions(+), 30 deletions(-)
6951 commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33
6952 Author: Lasse Collin <lasse.collin@tukaani.org>
6953 Date: 2009-02-11 20:02:32 +0200
6955 Remove dead directories from .gitignore.
6958 1 file changed, 2 deletions(-)
6960 commit 1ec5b0027911d94cb6f98892cbc690f818d8a861
6961 Author: Jim Meyering <jim@meyering.net>
6962 Date: 2009-02-11 14:45:14 +0100
6964 .gitignore vs. Makefiles
6966 How about this for those of us who do srcdir builds?
6968 .gitignore | 22 ++++++++++++++++++++++
6969 1 file changed, 22 insertions(+)
6971 commit 154f5aec2de201c674841de4fcc9804c2a87af07
6972 Author: Lasse Collin <lasse.collin@tukaani.org>
6973 Date: 2009-02-10 21:48:35 +0200
6975 Removed Makefile from .gitignore since not all Makefiles
6976 in the repository are generated by Autotools. People
6977 should do test builds in a separate build directory anyway.
6980 1 file changed, 1 deletion(-)
6982 commit e605c2663691b0a4c307786aa368d124ea081daa
6983 Author: Lasse Collin <lasse.collin@tukaani.org>
6984 Date: 2009-02-10 21:48:05 +0200
6986 Added resource files for the Windows build.
6988 windows/Makefile | 37 ++++++++++++++++++++++---------------
6989 windows/common.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++
6990 windows/liblzma.rc | 5 +++++
6991 windows/lzmadec.rc | 5 +++++
6992 windows/xz.rc | 5 +++++
6993 windows/xzdec.rc | 5 +++++
6994 6 files changed, 88 insertions(+), 15 deletions(-)
6996 commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476
6997 Author: Lasse Collin <lasse.collin@tukaani.org>
6998 Date: 2009-02-09 14:54:31 +0200
7000 Let the user specify custom CFLAGS on the make command
7001 line. Previously custom CFLAGS worked only when they were
7002 passed to configure.
7004 configure.ac | 58 ++++++++++++++++++++++---------------------
7005 src/liblzma/check/Makefile.am | 2 +-
7006 2 files changed, 31 insertions(+), 29 deletions(-)
7008 commit 53f7598998b1860a69c51243b5d2e34623c6bf60
7009 Author: Lasse Collin <lasse.collin@tukaani.org>
7010 Date: 2009-02-08 21:35:11 +0200
7012 Fix aliasing issue in physmem.h.
7014 src/common/physmem.h | 19 ++++++++++---------
7015 1 file changed, 10 insertions(+), 9 deletions(-)
7017 commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6
7018 Author: Lasse Collin <lasse.collin@tukaani.org>
7019 Date: 2009-02-08 18:24:50 +0200
7021 Add a separate internal function to initialize the CRC32
7022 table, which is used also by LZ encoder. This was needed
7023 because calling lzma_crc32() and ignoring the result is
7024 a no-op due to lzma_attr_pure.
7026 src/liblzma/check/check.h | 1 +
7027 src/liblzma/check/crc32_small.c | 10 +++++++++-
7028 src/liblzma/lz/lz_encoder.c | 4 ++--
7029 3 files changed, 12 insertions(+), 3 deletions(-)
7031 commit ae1ad9af54210c9a2be336b1316532da5071516c
7032 Author: Lasse Collin <lasse.collin@tukaani.org>
7033 Date: 2009-02-08 18:17:05 +0200
7035 Make "xz --force" to write to terminal as the error
7038 src/xz/main.c | 2 +-
7039 1 file changed, 1 insertion(+), 1 deletion(-)
7041 commit 79e25eded48d2fe33f31441ab7a034f902e335f8
7042 Author: Lasse Collin <lasse.collin@tukaani.org>
7043 Date: 2009-02-08 10:37:50 +0200
7045 Support both slash and backslash as path component
7046 separator on Windows when parsing argv[0].
7048 src/xz/args.c | 9 +++++++++
7049 1 file changed, 9 insertions(+)
7051 commit bc7c7109cc4410055a888c1c70cbd1c9445c4361
7052 Author: Lasse Collin <lasse.collin@tukaani.org>
7053 Date: 2009-02-07 23:18:13 +0200
7055 Omit the wrong and (even if corrected) nowadays useless rm
7058 autogen.sh | 28 ----------------------------
7059 1 file changed, 28 deletions(-)
7061 commit edfc2031e56f8a2ccda063f02936b3a848d88723
7062 Author: Lasse Collin <lasse.collin@tukaani.org>
7063 Date: 2009-02-07 21:41:52 +0200
7068 1 file changed, 1 insertion(+)
7070 commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3
7071 Author: Lasse Collin <lasse.collin@tukaani.org>
7072 Date: 2009-02-07 21:17:07 +0200
7074 Make it easy to choose if command line tools should be
7075 linked statically or dynamically against liblzma. The
7076 default is still to use static liblzma, but it can now
7077 be changed by passing --enable-dynamic to configure.
7078 Thanks to Mike Frysinger for the original patch.
7080 Fixed a few minor bugs in configure.ac.
7082 configure.ac | 39 +++++++++++++++++++++++++++++++++++++++
7083 src/xz/Makefile.am | 8 +++-----
7084 src/xzdec/Makefile.am | 5 +++--
7085 3 files changed, 45 insertions(+), 7 deletions(-)
7087 commit 3f86532407e4ace3debb62be16035e009b56ca36
7088 Author: Mike Frysinger <vapier@gentoo.org>
7089 Date: 2009-02-06 23:38:39 -0500
7093 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
7095 .gitignore | 32 ++++++++++++++++++++++++++++++++
7096 m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++
7097 po/.gitignore | 12 ++++++++++++
7098 3 files changed, 79 insertions(+)
7100 commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5
7101 Author: Lasse Collin <lasse.collin@tukaani.org>
7102 Date: 2009-02-07 17:07:52 +0200
7104 Assume 32 MiB of RAM on unsupported operating systems like
7105 the comment in hardware.c already said.
7107 src/xz/hardware.c | 2 +-
7108 1 file changed, 1 insertion(+), 1 deletion(-)
7110 commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618
7111 Author: Lasse Collin <lasse.collin@tukaani.org>
7112 Date: 2009-02-07 16:26:58 +0200
7114 MinGW support: Don't build fastpos_tablegen.c as part of
7115 liblzma. Build both static and dynamic liblzma, and also
7116 static and dynamic versions of the command line tools.
7118 windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++++--------------
7119 windows/README | 10 ------
7120 2 files changed, 69 insertions(+), 33 deletions(-)
7122 commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45
7123 Author: Lasse Collin <lasse.collin@tukaani.org>
7124 Date: 2009-02-07 15:55:47 +0200
7126 Support LZMA_API_STATIC in assembler files to
7127 avoid __declspec(dllexport) equivalent.
7129 src/liblzma/check/crc32_x86.S | 4 ++++
7130 src/liblzma/check/crc64_x86.S | 2 ++
7131 2 files changed, 6 insertions(+)
7133 commit 3306cf3883492720b3c34baa02f4eb4227d91c73
7134 Author: Lasse Collin <lasse.collin@tukaani.org>
7135 Date: 2009-02-07 11:11:50 +0200
7137 Introduced LZMA_API_STATIC macro, which the applications
7138 need to #define when linking against static liblzma on
7139 platforms like Windows. Most developers don't need to
7140 care about LZMA_API_STATIC at all.
7142 src/liblzma/api/lzma.h | 31 ++++++++++++++++++++++++-------
7143 src/liblzma/common/common.h | 2 +-
7144 2 files changed, 25 insertions(+), 8 deletions(-)
7146 commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b
7147 Author: Lasse Collin <lasse.collin@tukaani.org>
7148 Date: 2009-02-06 16:55:45 +0200
7153 1 file changed, 1 insertion(+), 1 deletion(-)
7155 commit fe5434f940f75fec3611cf9d9edf78c4da8ac760
7156 Author: Lasse Collin <lasse.collin@tukaani.org>
7157 Date: 2009-02-06 12:30:23 +0200
7159 Grammar fix in README.
7162 1 file changed, 1 insertion(+), 1 deletion(-)
7164 commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245
7165 Author: Lasse Collin <lasse.collin@tukaani.org>
7166 Date: 2009-02-06 10:06:32 +0200
7168 Some MSYS installations (e.g. MsysGit) don't include
7169 install.exe, so don't rely on it.
7171 windows/Makefile | 12 +++++++-----
7172 windows/README | 11 ++++++-----
7173 2 files changed, 13 insertions(+), 10 deletions(-)
7175 commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31
7176 Author: Lasse Collin <lasse.collin@tukaani.org>
7177 Date: 2009-02-06 09:13:15 +0200
7179 Recreated the BCJ test files for x86 and SPARC. The old files
7180 were linked with crt*.o, which are copyrighted, and thus the
7181 old test files were not in the public domain as a whole. They
7182 are freely distributable though, but it is better to be careful
7183 and avoid including any copyrighted pieces in the test files.
7184 The new files are just compiled and assembled object files,
7185 and thus don't contain any copyrighted code.
7187 tests/bcj_test.c | 2 +-
7188 tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes
7189 tests/compress_prepared_bcj_x86 | Bin 4649 -> 1388 bytes
7190 tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes
7191 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 716 bytes
7192 5 files changed, 1 insertion(+), 1 deletion(-)
7194 commit 094b1b09a531f0d201ec81f2b07346a995fd80b9
7195 Author: Lasse Collin <lasse.collin@tukaani.org>
7196 Date: 2009-02-05 21:21:27 +0200
7198 Add the "windows" directory to EXTRA_DIST.
7201 1 file changed, 1 insertion(+)
7203 commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49
7204 Author: Lasse Collin <lasse.collin@tukaani.org>
7205 Date: 2009-02-05 09:17:51 +0200
7207 Added initial experimental makefile for use with MinGW.
7209 windows/Makefile | 253 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
7210 windows/README | 164 ++++++++++++++++++++++++++++++++++++
7211 windows/config.h | 180 +++++++++++++++++++++++++++++++++++++++
7212 3 files changed, 597 insertions(+)
7214 commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9
7215 Author: Lasse Collin <lasse.collin@tukaani.org>
7216 Date: 2009-02-05 09:12:57 +0200
7218 Various code cleanups the the xz command line tool.
7219 It now builds with MinGW.
7221 src/common/physmem.h | 13 ++++
7222 src/xz/Makefile.am | 2 +
7223 src/xz/args.h | 8 ---
7224 src/xz/hardware.h | 10 +--
7225 src/xz/io.c | 93 +++++++++++++++++++-------
7226 src/xz/io.h | 12 ++--
7227 src/xz/main.c | 132 ++-----------------------------------
7228 src/xz/main.h | 22 -------
7229 src/xz/message.c | 65 ++++++++++++++++---
7230 src/xz/message.h | 6 --
7231 src/xz/options.h | 8 ---
7232 src/xz/private.h | 18 ++++--
7233 src/xz/process.h | 10 +--
7234 src/xz/signals.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++
7235 src/xz/signals.h | 51 +++++++++++++++
7236 src/xz/suffix.h | 5 --
7237 src/xz/util.c | 5 +-
7238 src/xz/util.h | 5 --
7239 18 files changed, 399 insertions(+), 246 deletions(-)
7241 commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe
7242 Author: Lasse Collin <lasse.collin@tukaani.org>
7243 Date: 2009-02-03 12:15:17 +0200
7245 Another utime() fix.
7247 src/xz/io.c | 9 +++++----
7248 1 file changed, 5 insertions(+), 4 deletions(-)
7250 commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca
7251 Author: Lasse Collin <lasse.collin@tukaani.org>
7252 Date: 2009-02-03 10:41:11 +0200
7254 Fix wrong filename argument for utime() and utimes().
7255 This doesn't affect most systems, since most systems
7256 have better functions available.
7258 src/xz/io.c | 4 ++--
7259 1 file changed, 2 insertions(+), 2 deletions(-)
7261 commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302
7262 Author: Lasse Collin <lasse.collin@tukaani.org>
7263 Date: 2009-02-02 21:19:01 +0200
7265 Updated the x86 assembler code:
7266 - Use call/ret pair to get instruction pointer for PIC.
7267 - Use PIC only if PIC or __PIC__ is #defined.
7268 - The code should work on MinGW and Darwin in addition
7269 to GNU/Linux and Solaris.
7271 configure.ac | 6 ----
7272 src/liblzma/check/crc32_x86.S | 84 ++++++++++++++++++++++++++++++++++++-------
7273 src/liblzma/check/crc64_x86.S | 82 ++++++++++++++++++++++++++++++++++++------
7274 3 files changed, 144 insertions(+), 28 deletions(-)
7276 commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f
7277 Author: Lasse Collin <lasse.collin@tukaani.org>
7278 Date: 2009-02-02 20:14:03 +0200
7280 Modify LZMA_API macro so that it works on Windows with
7281 other compilers than MinGW. This may hurt readability
7282 of the API headers slightly, but I don't know any
7283 better way to do this.
7285 src/liblzma/api/lzma.h | 6 ++---
7286 src/liblzma/api/lzma/base.h | 11 ++++----
7287 src/liblzma/api/lzma/block.h | 22 ++++++++--------
7288 src/liblzma/api/lzma/check.h | 10 ++++----
7289 src/liblzma/api/lzma/container.h | 22 ++++++++--------
7290 src/liblzma/api/lzma/filter.h | 28 ++++++++++-----------
7291 src/liblzma/api/lzma/index.h | 40 +++++++++++++++---------------
7292 src/liblzma/api/lzma/index_hash.h | 10 ++++----
7293 src/liblzma/api/lzma/lzma.h | 6 ++---
7294 src/liblzma/api/lzma/stream_flags.h | 10 ++++----
7295 src/liblzma/api/lzma/version.h | 4 +--
7296 src/liblzma/api/lzma/vli.h | 6 ++---
7297 src/liblzma/check/check.c | 4 +--
7298 src/liblzma/check/crc32_fast.c | 2 +-
7299 src/liblzma/check/crc32_small.c | 2 +-
7300 src/liblzma/check/crc64_fast.c | 2 +-
7301 src/liblzma/check/crc64_small.c | 2 +-
7302 src/liblzma/common/alone_decoder.c | 2 +-
7303 src/liblzma/common/alone_encoder.c | 2 +-
7304 src/liblzma/common/auto_decoder.c | 2 +-
7305 src/liblzma/common/block_buffer_decoder.c | 2 +-
7306 src/liblzma/common/block_buffer_encoder.c | 4 +--
7307 src/liblzma/common/block_decoder.c | 2 +-
7308 src/liblzma/common/block_encoder.c | 2 +-
7309 src/liblzma/common/block_header_decoder.c | 2 +-
7310 src/liblzma/common/block_header_encoder.c | 4 +--
7311 src/liblzma/common/block_util.c | 6 ++---
7312 src/liblzma/common/chunk_size.c | 2 +-
7313 src/liblzma/common/common.c | 16 ++++++------
7314 src/liblzma/common/common.h | 2 +-
7315 src/liblzma/common/easy.c | 6 ++---
7316 src/liblzma/common/filter_buffer_decoder.c | 2 +-
7317 src/liblzma/common/filter_buffer_encoder.c | 2 +-
7318 src/liblzma/common/filter_decoder.c | 8 +++---
7319 src/liblzma/common/filter_encoder.c | 12 ++++-----
7320 src/liblzma/common/filter_flags_decoder.c | 2 +-
7321 src/liblzma/common/filter_flags_encoder.c | 4 +--
7322 src/liblzma/common/index.c | 32 ++++++++++++------------
7323 src/liblzma/common/index_decoder.c | 4 +--
7324 src/liblzma/common/index_encoder.c | 4 +--
7325 src/liblzma/common/index_hash.c | 10 ++++----
7326 src/liblzma/common/stream_buffer_decoder.c | 2 +-
7327 src/liblzma/common/stream_buffer_encoder.c | 4 +--
7328 src/liblzma/common/stream_decoder.c | 2 +-
7329 src/liblzma/common/stream_encoder.c | 2 +-
7330 src/liblzma/common/stream_flags_common.c | 2 +-
7331 src/liblzma/common/stream_flags_decoder.c | 4 +--
7332 src/liblzma/common/stream_flags_encoder.c | 4 +--
7333 src/liblzma/common/vli_decoder.c | 2 +-
7334 src/liblzma/common/vli_encoder.c | 2 +-
7335 src/liblzma/common/vli_size.c | 2 +-
7336 src/liblzma/lz/lz_encoder.c | 2 +-
7337 src/liblzma/lzma/lzma_encoder.c | 2 +-
7338 src/liblzma/lzma/lzma_encoder_presets.c | 2 +-
7339 54 files changed, 177 insertions(+), 176 deletions(-)
7341 commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65
7342 Author: Lasse Collin <lasse.collin@tukaani.org>
7343 Date: 2009-02-01 22:40:35 +0200
7345 Fix a bug in lzma_block_buffer_decode(), although this
7346 function should be rewritten anyway.
7348 src/liblzma/common/block_buffer_decoder.c | 8 ++++----
7349 1 file changed, 4 insertions(+), 4 deletions(-)
7351 commit 55fd41431e61fb8178858283d636b6781e33e847
7352 Author: Lasse Collin <lasse.collin@tukaani.org>
7353 Date: 2009-02-01 22:39:07 +0200
7355 Added initial version of raw buffer-to-buffer coding
7356 functions, and cleaned up filter.h API header a little.
7357 May be very buggy, not tested yet.
7359 src/liblzma/api/lzma/filter.h | 84 +++++++++++++++++++-------
7360 src/liblzma/common/Makefile.am | 2 +
7361 src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++++
7362 src/liblzma/common/filter_buffer_encoder.c | 61 +++++++++++++++++++
7363 4 files changed, 221 insertions(+), 20 deletions(-)
7365 commit 3e54ecee5cad30a5ca361a88a99230407abc0699
7366 Author: Lasse Collin <lasse.collin@tukaani.org>
7367 Date: 2009-02-01 00:11:20 +0200
7369 Fix missing newlines in xzdec.c.
7371 src/xzdec/xzdec.c | 6 +++---
7372 1 file changed, 3 insertions(+), 3 deletions(-)
7374 commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35
7375 Author: Lasse Collin <lasse.collin@tukaani.org>
7376 Date: 2009-02-01 00:10:07 +0200
7378 Use __cdecl also for function pointers in liblzma API when
7381 src/liblzma/api/lzma.h | 18 +++++++++++-------
7382 src/liblzma/api/lzma/base.h | 4 ++--
7383 src/liblzma/common/common.h | 18 +++++++-----------
7384 3 files changed, 20 insertions(+), 20 deletions(-)
7386 commit 6a2eb54092fc625d59921a607ff68cd1a90aa898
7387 Author: Lasse Collin <lasse.collin@tukaani.org>
7388 Date: 2009-01-31 11:01:48 +0200
7390 Add LZMA_API to liblzma API headers. It's useful at least
7391 on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h
7392 has to be #included separately where needed.
7394 src/common/sysdefs.h | 2 --
7395 src/liblzma/api/lzma.h | 17 ++++++++++++++
7396 src/liblzma/api/lzma/base.h | 10 ++++----
7397 src/liblzma/api/lzma/block.h | 25 +++++++++++---------
7398 src/liblzma/api/lzma/check.h | 12 ++++++----
7399 src/liblzma/api/lzma/container.h | 23 +++++++++---------
7400 src/liblzma/api/lzma/filter.h | 24 +++++++++----------
7401 src/liblzma/api/lzma/index.h | 47 +++++++++++++++++++++----------------
7402 src/liblzma/api/lzma/index_hash.h | 11 +++++----
7403 src/liblzma/api/lzma/lzma.h | 8 ++++---
7404 src/liblzma/api/lzma/stream_flags.h | 10 ++++----
7405 src/liblzma/api/lzma/version.h | 4 ++--
7406 src/liblzma/api/lzma/vli.h | 10 ++++----
7407 src/liblzma/common/common.h | 13 ++++++++--
7408 src/xz/private.h | 1 +
7409 src/xzdec/xzdec.c | 1 +
7411 17 files changed, 131 insertions(+), 88 deletions(-)
7413 commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b
7414 Author: Lasse Collin <lasse.collin@tukaani.org>
7415 Date: 2009-01-31 10:13:09 +0200
7417 Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.
7419 src/xzdec/xzdec.c | 4 ++--
7420 1 file changed, 2 insertions(+), 2 deletions(-)
7422 commit 2dbdc5befb33c3703e4609809101047c67caf343
7423 Author: Lasse Collin <lasse.collin@tukaani.org>
7424 Date: 2009-01-31 10:02:52 +0200
7426 Fix two lines in lzma.h on which the # wasn't at the
7427 beginning of the line.
7429 src/liblzma/api/lzma.h | 4 ++--
7430 1 file changed, 2 insertions(+), 2 deletions(-)
7432 commit 4ab760109106dc04f39dd81c97d50f528d1b51c1
7433 Author: Lasse Collin <lasse.collin@tukaani.org>
7434 Date: 2009-01-31 09:55:05 +0200
7436 Add support for using liblzma headers in MSVC, which has no
7437 stdint.h or inttypes.h.
7439 src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++++-----------------
7440 1 file changed, 46 insertions(+), 24 deletions(-)
7442 commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9
7443 Author: Lasse Collin <lasse.collin@tukaani.org>
7444 Date: 2009-01-31 08:49:54 +0200
7446 Fix # -> ## in a macro in lzma.h.
7448 src/liblzma/api/lzma.h | 2 +-
7449 1 file changed, 1 insertion(+), 1 deletion(-)
7451 commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208
7452 Author: Lasse Collin <lasse.collin@tukaani.org>
7453 Date: 2009-01-30 18:50:16 +0200
7457 README | 30 ++++++++++++++++++++----------
7458 1 file changed, 20 insertions(+), 10 deletions(-)
7460 commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb
7461 Author: Lasse Collin <lasse.collin@tukaani.org>
7462 Date: 2009-01-30 00:29:58 +0200
7464 Remove dangling crc64_init.c.
7466 src/liblzma/check/crc64_init.c | 55 ------------------------------------------
7467 1 file changed, 55 deletions(-)
7469 commit 982da7ed314398420c38bf154a8f759d5f18b480
7470 Author: Lasse Collin <lasse.collin@tukaani.org>
7471 Date: 2009-01-28 17:16:38 +0200
7473 The .xz file format specification version 1.0.0 is now
7474 officially released. The format has been technically the same
7475 since 2008-11-19, but now that it is frozen, people can start
7476 using it without a fear that the format will break.
7478 doc/file-format.txt | 84 +++++++++++++++++++++++++++++++----------------------
7479 1 file changed, 49 insertions(+), 35 deletions(-)
7481 commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f
7482 Author: Lasse Collin <lasse.collin@tukaani.org>
7483 Date: 2009-01-28 08:45:59 +0200
7488 1 file changed, 1 insertion(+)
7490 commit 3241317093595db9f79104faafe93cb989c9f858
7491 Author: Lasse Collin <lasse.collin@tukaani.org>
7492 Date: 2009-01-28 08:43:26 +0200
7494 Fix uninitialized variables in alone_decoder.c. This bug was
7495 triggered by the previous commit, since these variables were
7496 not used by anything before support for a preset dictionary.
7498 src/liblzma/common/alone_decoder.c | 2 ++
7499 1 file changed, 2 insertions(+)
7501 commit f76e39cf930f888d460b443d18f977ebedea8b2a
7502 Author: Lasse Collin <lasse.collin@tukaani.org>
7503 Date: 2009-01-27 18:36:05 +0200
7505 Added initial support for preset dictionary for raw LZMA1
7506 and LZMA2. It is not supported by the .xz format or the xz
7507 command line tool yet.
7509 src/liblzma/lz/lz_decoder.c | 35 +++++++++++++++++++++++++----------
7510 src/liblzma/lz/lz_decoder.h | 9 ++++++++-
7511 src/liblzma/lz/lz_encoder.c | 18 ++++++++++++++++--
7512 src/liblzma/lzma/lzma2_decoder.c | 9 ++++++---
7513 src/liblzma/lzma/lzma2_encoder.c | 12 +++++++-----
7514 src/liblzma/lzma/lzma_decoder.c | 10 ++++++----
7515 src/liblzma/lzma/lzma_decoder.h | 2 +-
7516 src/liblzma/lzma/lzma_encoder.c | 9 ++++++++-
7517 8 files changed, 77 insertions(+), 27 deletions(-)
7519 commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3
7520 Author: Lasse Collin <lasse.collin@tukaani.org>
7521 Date: 2009-01-26 20:09:17 +0200
7523 Regenerate the CRC tables without trailing blanks.
7525 src/liblzma/check/crc32_table_be.h | 1008 +++++++++++++++++------------------
7526 src/liblzma/check/crc32_table_le.h | 1008 +++++++++++++++++------------------
7527 src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------
7528 src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------
7529 4 files changed, 2024 insertions(+), 2024 deletions(-)
7531 commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2
7532 Author: Jim Meyering <meyering@redhat.com>
7533 Date: 2009-01-19 21:37:16 +0100
7535 remove trailing blanks from all but .xz files
7537 debug/known_sizes.c | 2 +-
7538 extra/scanlzma/scanlzma.c | 5 ++---
7539 src/liblzma/check/crc32_tablegen.c | 2 +-
7540 src/liblzma/check/crc64_tablegen.c | 2 +-
7541 src/scripts/lzdiff.1 | 4 ++--
7542 src/scripts/lzmore.1 | 6 +++---
7543 tests/test_compress.sh | 4 ++--
7544 7 files changed, 12 insertions(+), 13 deletions(-)
7546 commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5
7547 Author: Lasse Collin <lasse.collin@tukaani.org>
7548 Date: 2009-01-26 14:34:10 +0200
7550 Add lzma_block_buffer_decode().
7552 src/liblzma/api/lzma/block.h | 41 +++++++++++++++
7553 src/liblzma/common/Makefile.am | 1 +
7554 src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++++
7555 3 files changed, 129 insertions(+)
7557 commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d
7558 Author: Lasse Collin <lasse.collin@tukaani.org>
7559 Date: 2009-01-26 14:33:28 +0200
7561 Add more sanity checks to lzma_stream_buffer_decode().
7563 src/liblzma/common/stream_buffer_decoder.c | 7 +++++++
7564 1 file changed, 7 insertions(+)
7566 commit c129748675a5daa8838df92bde32cc04f6ce61ba
7567 Author: Lasse Collin <lasse.collin@tukaani.org>
7568 Date: 2009-01-26 14:33:13 +0200
7570 Avoid hardcoded constant in easy.c.
7572 src/liblzma/common/easy.c | 2 +-
7573 1 file changed, 1 insertion(+), 1 deletion(-)
7575 commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6
7576 Author: Lasse Collin <lasse.collin@tukaani.org>
7577 Date: 2009-01-26 13:06:49 +0200
7579 Tiny bit better sanity check in block_util.c
7581 src/liblzma/common/block_util.c | 2 +-
7582 1 file changed, 1 insertion(+), 1 deletion(-)
7584 commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7
7585 Author: Lasse Collin <lasse.collin@tukaani.org>
7586 Date: 2009-01-25 01:35:56 +0200
7588 Fix a dumb bug in Block decoder, which made it return
7589 LZMA_DATA_ERROR with valid data. The bug was added in
7590 e114502b2bc371e4a45449832cb69be036360722.
7592 src/liblzma/common/block_decoder.c | 6 +++---
7593 1 file changed, 3 insertions(+), 3 deletions(-)
7595 commit c81f13ff29271de7293f8af3d81848b1dcae3d19
7596 Author: Lasse Collin <lasse.collin@tukaani.org>
7597 Date: 2009-01-23 22:27:50 +0200
7599 Added lzma_stream_buffer_decode() and made minor cleanups.
7601 src/liblzma/api/lzma/block.h | 3 +-
7602 src/liblzma/api/lzma/container.h | 51 ++++++++++++++++-
7603 src/liblzma/common/Makefile.am | 1 +
7604 src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++++
7605 4 files changed, 144 insertions(+), 2 deletions(-)
7607 commit 0b3318661ce749550b8531dfd469639a08930391
7608 Author: Lasse Collin <lasse.collin@tukaani.org>
7609 Date: 2009-01-22 12:53:33 +0200
7613 src/liblzma/common/common.h | 2 +-
7614 1 file changed, 1 insertion(+), 1 deletion(-)
7616 commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec
7617 Author: Lasse Collin <lasse.collin@tukaani.org>
7618 Date: 2009-01-20 16:37:27 +0200
7620 Add some single-call buffer-to-buffer coding functions.
7622 src/liblzma/api/lzma/block.h | 57 ++++++
7623 src/liblzma/api/lzma/container.h | 56 ++++++
7624 src/liblzma/api/lzma/index.h | 70 ++++++-
7625 src/liblzma/common/Makefile.am | 2 +
7626 src/liblzma/common/block_buffer_encoder.c | 305 +++++++++++++++++++++++++++++
7627 src/liblzma/common/index_decoder.c | 83 ++++++--
7628 src/liblzma/common/index_encoder.c | 59 +++++-
7629 src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++
7630 tests/test_index.c | 24 +++
7631 9 files changed, 768 insertions(+), 26 deletions(-)
7633 commit d8b58d099340f8f4007b24b211ee41a7210c061c
7634 Author: Lasse Collin <lasse.collin@tukaani.org>
7635 Date: 2009-01-20 13:45:41 +0200
7637 Block encoder cleanups
7639 src/liblzma/common/block_encoder.c | 28 +++++++---------------------
7640 src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++
7641 2 files changed, 32 insertions(+), 21 deletions(-)
7643 commit 0c09810cb3635cb575cb54e694d41523e7d0a335
7644 Author: Lasse Collin <lasse.collin@tukaani.org>
7645 Date: 2009-01-20 10:35:15 +0200
7647 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.
7649 src/liblzma/common/common.c | 24 ++++++++----------------
7650 1 file changed, 8 insertions(+), 16 deletions(-)
7652 commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00
7653 Author: Lasse Collin <lasse.collin@tukaani.org>
7654 Date: 2009-01-19 22:53:18 +0200
7656 Fix handling of non-fatal errors in lzma_code().
7658 src/liblzma/common/common.c | 9 ++++++++-
7659 1 file changed, 8 insertions(+), 1 deletion(-)
7661 commit 4810b6bc25087be872960b9dd1d11ff07735dc88
7662 Author: Lasse Collin <lasse.collin@tukaani.org>
7663 Date: 2009-01-19 14:00:33 +0200
7665 Move some LZMA2 constants to lzma2_encoder.h so that they
7666 can be used outside lzma2_encoder.c.
7668 src/liblzma/lzma/lzma2_encoder.c | 13 -------------
7669 src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++
7670 src/liblzma/lzma/lzma_encoder.c | 3 ++-
7671 3 files changed, 16 insertions(+), 14 deletions(-)
7673 commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4
7674 Author: Lasse Collin <lasse.collin@tukaani.org>
7675 Date: 2009-01-19 13:52:36 +0200
7679 src/liblzma/lzma/lzma_encoder.h | 8 --------
7680 1 file changed, 8 deletions(-)
7682 commit 128586213f77c9bd82b7e9a62927f6d0c3769d85
7683 Author: Lasse Collin <lasse.collin@tukaani.org>
7684 Date: 2009-01-17 14:24:25 +0200
7686 Beta was supposed to be API stable but I had forgot to rename
7687 lzma_memlimit_encoder and lzma_memlimit_decoder to
7688 lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-(
7689 Now it is fixed. Hopefully it doesn't cause too much trouble
7690 to those who already thought API is stable.
7692 src/liblzma/api/lzma/filter.h | 4 ++--
7693 src/liblzma/common/easy.c | 4 ++--
7694 src/liblzma/common/filter_common.c | 2 +-
7695 src/liblzma/common/filter_common.h | 2 +-
7696 src/liblzma/common/filter_decoder.c | 4 ++--
7697 src/liblzma/common/filter_encoder.c | 4 ++--
7698 src/liblzma/common/stream_decoder.c | 2 +-
7699 src/xz/process.c | 6 +++---
7700 8 files changed, 14 insertions(+), 14 deletions(-)
7702 commit b056379490be5c584c264a967f0540041a163a1e
7703 Author: Lasse Collin <lasse.collin@tukaani.org>
7704 Date: 2009-01-15 14:29:22 +0200
7709 1 file changed, 1 insertion(+)
7711 commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89
7712 Author: Lasse Collin <lasse.collin@tukaani.org>
7713 Date: 2009-01-15 14:27:32 +0200
7715 Fixed a bug in 7z2lzma.bash to make it work with .7z files
7716 that use something else than 2^n as the dictionary size.
7717 Thanks to Dan Shechter for the bug report.
7719 extra/7z2lzma/7z2lzma.bash | 47 +++++++++++++++++++++++-----------------------
7720 1 file changed, 24 insertions(+), 23 deletions(-)
7722 commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2
7723 Author: Lasse Collin <lasse.collin@tukaani.org>
7724 Date: 2009-01-07 18:41:15 +0200
7726 Use pthread_sigmask() instead of sigprocmask() when pthreads
7729 src/common/mythread.h | 6 ++++++
7730 src/xz/main.c | 4 ++--
7731 src/xz/private.h | 1 +
7732 3 files changed, 9 insertions(+), 2 deletions(-)
7734 commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9
7735 Author: Lasse Collin <lasse.collin@tukaani.org>
7736 Date: 2008-12-31 20:01:00 +0200
7738 Bumped version to 4.999.8beta right after the release
7742 src/liblzma/api/lzma/version.h | 2 +-
7743 2 files changed, 2 insertions(+), 2 deletions(-)
7745 commit 061748f5932719643cda73383db715167d543c22
7746 Author: Lasse Collin <lasse.collin@tukaani.org>
7747 Date: 2008-12-31 18:59:02 +0200
7749 Disable Subblock filter from test_compress.sh since it is
7750 disabled by default in configure.ac.
7752 tests/test_compress.sh | 22 +++++++++++++---------
7753 1 file changed, 13 insertions(+), 9 deletions(-)
7755 commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78
7756 Author: Lasse Collin <lasse.collin@tukaani.org>
7757 Date: 2008-12-31 17:44:20 +0200
7759 Disable both Subblock encoder and decoder my default,
7760 since they are not finished and may have security issues too.
7763 1 file changed, 1 insertion(+), 1 deletion(-)
7765 commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88
7766 Author: Lasse Collin <lasse.collin@tukaani.org>
7767 Date: 2008-12-31 17:42:50 +0200
7769 Update some files in debug directory.
7771 debug/full_flush.c | 2 --
7772 debug/memusage.c | 2 --
7773 debug/sync_flush.c | 2 --
7774 3 files changed, 6 deletions(-)
7776 commit d1d17a40d33a9682424ca37282813492f2cba6d0
7777 Author: Lasse Collin <lasse.collin@tukaani.org>
7778 Date: 2008-12-31 17:41:46 +0200
7780 Prepare for 4.999.7beta release.
7783 README | 34 +++++++++++++++++-----------------
7784 configure.ac | 4 ++--
7785 src/liblzma/api/lzma/version.h | 2 +-
7786 4 files changed, 22 insertions(+), 22 deletions(-)
7788 commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3
7789 Author: Lasse Collin <lasse.collin@tukaani.org>
7790 Date: 2008-12-31 17:15:03 +0200
7792 Cleaned up some comments in the API headers.
7794 src/liblzma/api/lzma/check.h | 23 +++++++++++------------
7795 src/liblzma/api/lzma/container.h | 2 +-
7796 src/liblzma/api/lzma/version.h | 4 +++-
7797 3 files changed, 15 insertions(+), 14 deletions(-)
7799 commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40
7800 Author: Lasse Collin <lasse.collin@tukaani.org>
7801 Date: 2008-12-31 16:29:39 +0200
7803 Renamed lzma_options_simple to lzma_options_bcj in the API.
7804 The internal implementation is still using the name "simple".
7805 It may need some cleanups, so I look at it later.
7807 src/liblzma/api/Makefile.am | 2 +-
7808 src/liblzma/api/lzma.h | 2 +-
7809 src/liblzma/api/lzma/bcj.h | 94 +++++++++++++++++++++++++++++++++++++
7810 src/liblzma/api/lzma/simple.h | 94 -------------------------------------
7811 src/liblzma/simple/simple_coder.c | 2 +-
7812 src/liblzma/simple/simple_decoder.c | 4 +-
7813 src/liblzma/simple/simple_encoder.c | 4 +-
7814 tests/test_filter_flags.c | 8 ++--
7815 8 files changed, 105 insertions(+), 105 deletions(-)
7817 commit 7eea8bec3abfed883efba66264a1452a1c04f6b0
7818 Author: Lasse Collin <lasse.collin@tukaani.org>
7819 Date: 2008-12-31 00:57:27 +0200
7821 Fixed missing quoting in configure.ac.
7823 configure.ac | 38 +++++++++++++++++++-------------------
7824 1 file changed, 19 insertions(+), 19 deletions(-)
7826 commit 28e75f7086dbe9501d926c370375c69dfb1236ce
7827 Author: Lasse Collin <lasse.collin@tukaani.org>
7828 Date: 2008-12-31 00:48:23 +0200
7830 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which
7831 should have been in the previous commit.
7833 src/liblzma/Makefile.am | 4 ++--
7834 1 file changed, 2 insertions(+), 2 deletions(-)
7836 commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90
7837 Author: Lasse Collin <lasse.collin@tukaani.org>
7838 Date: 2008-12-31 00:30:49 +0200
7840 Remove lzma_init() and other init functions from liblzma API.
7841 Half of developers were already forgetting to use these
7842 functions, which could have caused total breakage in some future
7843 liblzma version or even now if --enable-small was used. Now
7844 liblzma uses pthread_once() to do the initializations unless
7845 it has been built with --disable-threads which make these
7846 initializations thread-unsafe.
7848 When --enable-small isn't used, liblzma currently gets needlessly
7849 linked against libpthread (on systems that have it). While it is
7850 stupid for now, liblzma will need threads in future anyway, so
7851 this stupidity will be temporary only.
7853 When --enable-small is used, different code CRC32 and CRC64 is
7854 now used than without --enable-small. This made the resulting
7855 binary slightly smaller, but the main reason was to clean it up
7856 and to handle the lack of lzma_init_check().
7858 The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not
7859 sure if it works correctly and portably for static linking
7860 (Libs.private includes -pthread or other operating system
7861 specific flags). Hopefully someone complains if it is bad.
7863 lzma_rc_prices[] is now included as a precomputed array even
7864 with --enable-small. It's just 128 bytes now that it uses uint8_t
7865 instead of uint32_t. Smaller array seemed to be at least as fast
7866 as the more bloated uint32_t array on x86; hopefully it's not bad
7867 on other architectures.
7869 configure.ac | 29 ++++++++--
7870 src/common/mythread.h | 34 ++++++++++++
7871 src/liblzma/api/Makefile.am | 1 -
7872 src/liblzma/api/lzma.h | 1 -
7873 src/liblzma/api/lzma/init.h | 85 -----------------------------
7874 src/liblzma/check/Makefile.am | 29 ++++------
7875 src/liblzma/check/check.c | 10 ++--
7876 src/liblzma/check/check.h | 25 ++++-----
7877 src/liblzma/check/check_init.c | 37 -------------
7878 src/liblzma/check/crc32.c | 88 -------------------------------
7879 src/liblzma/check/crc32_fast.c | 88 +++++++++++++++++++++++++++++++
7880 src/liblzma/check/crc32_init.c | 55 -------------------
7881 src/liblzma/check/crc32_small.c | 54 +++++++++++++++++++
7882 src/liblzma/check/crc32_tablegen.c | 55 ++++++++++++++++---
7883 src/liblzma/check/crc64.c | 75 --------------------------
7884 src/liblzma/check/crc64_fast.c | 75 ++++++++++++++++++++++++++
7885 src/liblzma/check/crc64_small.c | 54 +++++++++++++++++++
7886 src/liblzma/check/crc64_tablegen.c | 55 ++++++++++++++++---
7887 src/liblzma/common/Makefile.am | 3 --
7888 src/liblzma/common/common.h | 1 +
7889 src/liblzma/common/init.c | 39 --------------
7890 src/liblzma/common/init_decoder.c | 31 -----------
7891 src/liblzma/common/init_encoder.c | 40 --------------
7892 src/liblzma/liblzma.pc.in | 12 +++++
7893 src/liblzma/lz/lz_encoder.c | 6 +++
7894 src/liblzma/lzma.pc.in | 11 ----
7895 src/liblzma/rangecoder/Makefile.am | 8 +--
7896 src/liblzma/rangecoder/price.h | 16 +-----
7897 src/liblzma/rangecoder/price_table.c | 2 +-
7898 src/liblzma/rangecoder/price_table_init.c | 55 -------------------
7899 src/liblzma/rangecoder/price_tablegen.c | 51 +++++++++++++++---
7900 src/xz/Makefile.am | 5 +-
7901 src/xz/main.c | 3 --
7902 src/xzdec/xzdec.c | 3 --
7903 tests/test_block_header.c | 1 -
7904 tests/test_check.c | 2 -
7905 tests/test_filter_flags.c | 2 -
7906 tests/test_index.c | 2 -
7907 tests/test_stream_flags.c | 2 -
7908 tests/tests.h | 2 +-
7909 40 files changed, 519 insertions(+), 628 deletions(-)
7911 commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2
7912 Author: Lasse Collin <lasse.collin@tukaani.org>
7913 Date: 2008-12-27 19:40:31 +0200
7915 Use 28 MiB as memory usage limit for encoding in test_compress.sh.
7917 tests/test_compress.sh | 2 +-
7918 1 file changed, 1 insertion(+), 1 deletion(-)
7920 commit 050eb14d29e2537c014662e83599fd8a77f13c45
7921 Author: Lasse Collin <lasse.collin@tukaani.org>
7922 Date: 2008-12-27 19:32:20 +0200
7924 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680
7925 that was related to LZMA_MODE_FAST. The original code is slightly
7926 faster although it compresses slightly worse. But since it is fast
7927 mode, it is better to select the faster version.
7929 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++---------------
7930 1 file changed, 8 insertions(+), 15 deletions(-)
7932 commit 4820f10d0f173864f6a2ea7479663b509ac53358
7933 Author: Lasse Collin <lasse.collin@tukaani.org>
7934 Date: 2008-12-27 19:30:19 +0200
7936 Some xz command line tool improvements.
7938 src/xz/args.c | 23 +++++-----
7939 src/xz/message.c | 4 +-
7940 src/xz/options.c | 2 +-
7941 src/xz/process.c | 133 +++++++++++++++++++++++++++++++++++++++++++------------
7942 src/xz/process.h | 3 ++
7943 5 files changed, 121 insertions(+), 44 deletions(-)
7945 commit e33194e79d8f5ce07cb4aca909b324ae75098f7e
7946 Author: Lasse Collin <lasse.collin@tukaani.org>
7947 Date: 2008-12-27 19:27:49 +0200
7949 Bunch of liblzma tweaks, including some API changes.
7950 The API and ABI should now be very close to stable,
7951 although the code behind it isn't yet.
7953 src/liblzma/api/lzma.h | 8 ++--
7954 src/liblzma/api/lzma/block.h | 63 ++++++++++++++++++++++++-
7955 src/liblzma/api/lzma/container.h | 76 +++++++++++++++----------------
7956 src/liblzma/api/lzma/lzma.h | 41 +++++++++--------
7957 src/liblzma/common/alone_decoder.c | 36 +++++++--------
7958 src/liblzma/common/alone_encoder.c | 22 ++++-----
7959 src/liblzma/common/auto_decoder.c | 2 +-
7960 src/liblzma/common/block_decoder.c | 54 +++++++++++-----------
7961 src/liblzma/common/block_decoder.h | 4 +-
7962 src/liblzma/common/block_encoder.c | 37 ++++++++-------
7963 src/liblzma/common/block_encoder.h | 4 +-
7964 src/liblzma/common/block_header_decoder.c | 41 +++++++++--------
7965 src/liblzma/common/block_header_encoder.c | 51 ++++++++++-----------
7966 src/liblzma/common/block_util.c | 3 +-
7967 src/liblzma/common/easy.c | 45 ++++++------------
7968 src/liblzma/common/stream_decoder.c | 3 +-
7969 src/liblzma/common/stream_decoder.h | 2 +-
7970 src/liblzma/common/stream_encoder.c | 3 +-
7971 src/liblzma/common/stream_encoder.h | 2 +-
7972 src/liblzma/common/stream_flags_decoder.c | 2 +-
7973 src/liblzma/common/stream_flags_encoder.c | 2 +-
7974 src/liblzma/lzma/lzma_encoder.c | 2 +-
7975 src/liblzma/lzma/lzma_encoder_presets.c | 53 +++++++--------------
7976 23 files changed, 294 insertions(+), 262 deletions(-)
7978 commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074
7979 Author: Lasse Collin <lasse.collin@tukaani.org>
7980 Date: 2008-12-18 13:42:52 +0200
7982 Updated Makefile.am that was missing from the previous commit.
7984 src/liblzma/common/Makefile.am | 1 -
7985 1 file changed, 1 deletion(-)
7987 commit 634636fa56ccee6e744f78b0abed76c8940f2f8f
7988 Author: Lasse Collin <lasse.collin@tukaani.org>
7989 Date: 2008-12-17 21:49:53 +0200
7991 Remove the alignment functions for now. Maybe they will
7992 be added back in some form later, but the current version
7993 wasn't modular, so it would need fixing anyway.
7995 src/liblzma/api/Makefile.am | 1 -
7996 src/liblzma/api/lzma.h | 1 -
7997 src/liblzma/api/lzma/alignment.h | 60 ---------------------
7998 src/liblzma/common/alignment.c | 114 ---------------------------------------
7999 4 files changed, 176 deletions(-)
8001 commit 4fed98417d1687f5eccccb42a133fde3ec81216a
8002 Author: Lasse Collin <lasse.collin@tukaani.org>
8003 Date: 2008-12-17 20:11:23 +0200
8005 xz message handling improvements
8007 src/xz/message.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
8008 src/xz/message.h | 7 +++-
8009 src/xz/process.c | 28 ++++++++++++-
8010 3 files changed, 146 insertions(+), 14 deletions(-)
8012 commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d
8013 Author: Lasse Collin <lasse.collin@tukaani.org>
8014 Date: 2008-12-15 23:26:43 +0200
8016 Fix a dumb bug in .lzma decoder which was introduced in
8017 the previous commit. (Probably the previous commit has
8018 other bugs too, it wasn't tested.)
8020 src/liblzma/common/alone_decoder.c | 29 ++++++++++++++---------------
8021 1 file changed, 14 insertions(+), 15 deletions(-)
8023 commit 671a5adf1e844bfdd6fd327016c3c28694493158
8024 Author: Lasse Collin <lasse.collin@tukaani.org>
8025 Date: 2008-12-15 19:39:13 +0200
8027 Bunch of liblzma API cleanups and fixes.
8029 src/liblzma/api/lzma.h | 122 +++++++++++----------
8030 src/liblzma/api/lzma/base.h | 174 ++++++++++++++++++-----------
8031 src/liblzma/api/lzma/block.h | 211 +++++++++++++++++++++++-------------
8032 src/liblzma/api/lzma/check.h | 28 ++---
8033 src/liblzma/api/lzma/container.h | 155 +++++++++++++-------------
8034 src/liblzma/api/lzma/delta.h | 12 +-
8035 src/liblzma/api/lzma/filter.h | 27 +++--
8036 src/liblzma/api/lzma/index.h | 97 ++++++++++++++---
8037 src/liblzma/api/lzma/index_hash.h | 26 +++--
8038 src/liblzma/api/lzma/init.h | 2 +-
8039 src/liblzma/api/lzma/lzma.h | 12 +-
8040 src/liblzma/api/lzma/simple.h | 4 +-
8041 src/liblzma/api/lzma/stream_flags.h | 46 +++++---
8042 src/liblzma/api/lzma/version.h | 6 +-
8043 src/liblzma/api/lzma/vli.h | 17 ++-
8044 src/liblzma/common/alone_decoder.c | 47 +++++---
8045 src/liblzma/common/auto_decoder.c | 29 +++++
8046 src/liblzma/common/block_util.c | 52 +++++----
8047 src/liblzma/common/common.c | 58 ++++++++++
8048 src/liblzma/common/common.h | 9 +-
8049 src/liblzma/common/easy.c | 33 ++++--
8050 src/liblzma/common/filter_common.c | 2 +-
8051 src/liblzma/common/index.c | 11 ++
8052 src/liblzma/common/index_decoder.c | 46 ++++++--
8053 src/liblzma/common/stream_decoder.c | 47 ++++++--
8054 src/liblzma/lzma/lzma2_encoder.c | 6 +-
8055 tests/test_index.c | 10 +-
8056 27 files changed, 863 insertions(+), 426 deletions(-)
8058 commit 17781c2c20fd77029cb32e77792889f2f211d69d
8059 Author: Lasse Collin <lasse.collin@tukaani.org>
8060 Date: 2008-12-15 14:26:52 +0200
8062 The LZMA2 decoder fix introduced a bug to LZ decoder,
8063 which made LZ decoder return too early after dictionary
8064 reset. This fixes it.
8066 src/liblzma/lz/lz_decoder.c | 33 +++++++++++++++++++++++----------
8067 1 file changed, 23 insertions(+), 10 deletions(-)
8069 commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8
8070 Author: Lasse Collin <lasse.collin@tukaani.org>
8071 Date: 2008-12-15 11:20:22 +0200
8073 Added two new test files.
8075 tests/files/README | 7 +++++++
8076 tests/files/bad-1-lzma2-8.xz | Bin 0 -> 464 bytes
8077 tests/files/good-1-lzma2-4.xz | Bin 0 -> 464 bytes
8078 3 files changed, 7 insertions(+)
8080 commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf
8081 Author: Lasse Collin <lasse.collin@tukaani.org>
8082 Date: 2008-12-15 10:01:59 +0200
8084 Fix data corruption in LZMA2 decoder.
8086 src/liblzma/lz/lz_decoder.c | 17 ++++++++++++++++-
8087 src/liblzma/lz/lz_decoder.h | 8 +++++---
8088 src/liblzma/lzma/lzma2_decoder.c | 15 +++++++++++----
8089 3 files changed, 32 insertions(+), 8 deletions(-)
8091 commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613
8092 Author: Lasse Collin <lasse.collin@tukaani.org>
8093 Date: 2008-12-13 00:54:11 +0200
8095 Name the package "xz" in configure.ac.
8097 configure.ac | 11 ++++-------
8098 1 file changed, 4 insertions(+), 7 deletions(-)
8100 commit a94bf00d0af9b423851905b031be5a645a657820
8101 Author: Lasse Collin <lasse.collin@tukaani.org>
8102 Date: 2008-12-12 22:43:21 +0200
8104 Some adjustments to GCC warning flags. The important change
8105 is the removal of -pedantic. It messes up -Werror (which I
8106 really want to keep so that I don't miss any warnings) with
8107 printf format strings that are in POSIX but not in C99.
8109 configure.ac | 8 +++++---
8110 1 file changed, 5 insertions(+), 3 deletions(-)
8112 commit 8582d392baacd2cdac07ca60041f8c661323676d
8113 Author: Lasse Collin <lasse.collin@tukaani.org>
8114 Date: 2008-12-10 01:31:00 +0200
8116 Remove obsolete comment.
8118 src/xz/message.c | 1 -
8119 1 file changed, 1 deletion(-)
8121 commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1
8122 Author: Lasse Collin <lasse.collin@tukaani.org>
8123 Date: 2008-12-10 01:27:15 +0200
8125 Use "decompression" consistently in --long-help.
8127 src/xz/message.c | 2 +-
8128 1 file changed, 1 insertion(+), 1 deletion(-)
8130 commit 1ea9e7f15afd5d3981e2432710e932320597bca9
8131 Author: Lasse Collin <lasse.collin@tukaani.org>
8132 Date: 2008-12-10 01:23:58 +0200
8134 Added preset=NUM to --lzma1 and --lzma2. This makes it easy
8135 to take a preset as a template and modify it a little.
8137 src/xz/message.c | 1 +
8138 src/xz/options.c | 8 ++++++++
8139 2 files changed, 9 insertions(+)
8141 commit bceb3918dbb21f34976bfdd4c171a81319de71f7
8142 Author: Lasse Collin <lasse.collin@tukaani.org>
8143 Date: 2008-12-09 17:43:31 +0200
8145 Put the file format specification into the public domain.
8146 Same will be done to the actual code later.
8148 doc/file-format.txt | 24 +++++++++---------------
8149 1 file changed, 9 insertions(+), 15 deletions(-)
8151 commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6
8152 Author: Lasse Collin <lasse.collin@tukaani.org>
8153 Date: 2008-12-09 17:41:49 +0200
8155 Make the memusage functions of LZMA1 and LZMA2 encoders
8156 to validate the filter options. Add missing validation
8157 to LZMA2 encoder when options are changed in the middle
8160 src/liblzma/lzma/lzma2_encoder.c | 5 ++++-
8161 src/liblzma/lzma/lzma_encoder.c | 44 +++++++++++++++++++++++++++-------------
8162 src/liblzma/lzma/lzma_encoder.h | 2 +-
8163 3 files changed, 35 insertions(+), 16 deletions(-)
8165 commit f20a03206b71ff01b827bb7a932411d6a6a4e06a
8166 Author: Lasse Collin <lasse.collin@tukaani.org>
8167 Date: 2008-12-09 10:36:24 +0200
8172 1 file changed, 1 insertion(+)
8174 commit ef7890d56453dca1aeb2e12db29b7e418d93dde4
8175 Author: Lasse Collin <lasse.collin@tukaani.org>
8176 Date: 2008-12-01 23:04:12 +0200
8178 In command line tool, take advantage of memusage calculation's
8179 ability to also validate the filter chain and options (not
8180 implemented yet for all filters).
8182 src/xz/process.c | 8 ++++----
8183 1 file changed, 4 insertions(+), 4 deletions(-)
8185 commit ccd57afa09e332d664d6d6a7498702791ea5f659
8186 Author: Lasse Collin <lasse.collin@tukaani.org>
8187 Date: 2008-12-01 22:59:28 +0200
8189 Validate the filter chain before checking filter-specific
8192 src/liblzma/common/filter_common.c | 14 ++++++++++----
8193 1 file changed, 10 insertions(+), 4 deletions(-)
8195 commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15
8196 Author: Lasse Collin <lasse.collin@tukaani.org>
8197 Date: 2008-12-01 22:58:22 +0200
8199 Make the memusage functions of LZMA1 and LZMA2 decoders
8200 to validate the filter options.
8202 src/liblzma/lzma/lzma2_decoder.c | 7 ++-----
8203 src/liblzma/lzma/lzma_decoder.c | 14 ++++++++++----
8204 src/liblzma/lzma/lzma_decoder.h | 5 +++++
8205 3 files changed, 17 insertions(+), 9 deletions(-)
8207 commit c58f469be5bb9b0bdab825c6687445fd553f4f3a
8208 Author: Lasse Collin <lasse.collin@tukaani.org>
8209 Date: 2008-12-01 22:55:18 +0200
8211 Added the changes for Delta filter that should have been
8212 part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.
8214 src/liblzma/common/filter_decoder.c | 2 +-
8215 src/liblzma/common/filter_encoder.c | 2 +-
8216 2 files changed, 2 insertions(+), 2 deletions(-)
8218 commit cd708015202dbf7585b84a8781462a20c42a324b
8219 Author: Lasse Collin <lasse.collin@tukaani.org>
8220 Date: 2008-12-01 22:50:28 +0200
8222 LZMA2 decoder cleanups. Make it require new LZMA properties
8223 also in the first LZMA chunk after a dictionary reset in
8226 src/liblzma/lzma/lzma2_decoder.c | 95 +++++++++++++++++-----------------------
8227 1 file changed, 41 insertions(+), 54 deletions(-)
8229 commit 656ec87882ee74b192c4ea4a233a235eca7b04d4
8230 Author: Lasse Collin <lasse.collin@tukaani.org>
8231 Date: 2008-12-01 16:30:11 +0200
8233 Added lzma_delta_coder_memusage() which also validates
8236 src/liblzma/delta/Makefile.am | 3 ++-
8237 src/liblzma/delta/delta_common.c | 28 ++++++++++++++++++-------
8238 src/liblzma/delta/delta_common.h | 19 +----------------
8239 src/liblzma/delta/delta_decoder.c | 2 +-
8240 src/liblzma/delta/delta_decoder.h | 2 +-
8241 src/liblzma/delta/delta_encoder.c | 14 ++++---------
8242 src/liblzma/delta/delta_encoder.h | 2 +-
8243 src/liblzma/delta/delta_private.h | 44 +++++++++++++++++++++++++++++++++++++++
8244 8 files changed, 75 insertions(+), 39 deletions(-)
8246 commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a
8247 Author: Lasse Collin <lasse.collin@tukaani.org>
8248 Date: 2008-11-29 10:03:49 +0200
8250 Automake includes the m4 directory, so don't add it in
8251 Makefile.am separately.
8257 2 files changed, 1 insertion(+), 1 deletion(-)
8259 commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0
8260 Author: Lasse Collin <lasse.collin@tukaani.org>
8261 Date: 2008-11-28 12:00:48 +0200
8263 Tested using COLUMNS environment variable to avoid broken
8264 progress indicator but since COLUMNS isn't usually available,
8265 the code was left commented out.
8267 src/xz/message.c | 14 +++++++++-----
8268 1 file changed, 9 insertions(+), 5 deletions(-)
8270 commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd
8271 Author: Lasse Collin <lasse.collin@tukaani.org>
8272 Date: 2008-11-27 19:28:59 +0200
8274 Cleanups to message.c.
8276 src/xz/message.c | 47 ++++++++++++++++++-----------------------------
8277 1 file changed, 18 insertions(+), 29 deletions(-)
8279 commit a8368b75cdcd5427299001cc42839287f27b244d
8280 Author: Lasse Collin <lasse.collin@tukaani.org>
8281 Date: 2008-11-25 02:37:47 +0200
8283 Remove the nowadays unneeded memory limitting malloc() wrapper.
8285 src/liblzma/api/Makefile.am | 1 -
8286 src/liblzma/api/lzma.h | 1 -
8287 src/liblzma/api/lzma/memlimit.h | 207 --------------------------
8288 src/liblzma/common/Makefile.am | 1 -
8289 src/liblzma/common/memory_limiter.c | 288 ------------------------------------
8290 tests/Makefile.am | 2 -
8291 tests/test_memlimit.c | 114 --------------
8292 7 files changed, 614 deletions(-)
8294 commit 69472ee5f055a2bb6f28106f0923e1461fd1d080
8295 Author: Lasse Collin <lasse.collin@tukaani.org>
8296 Date: 2008-11-23 15:09:03 +0200
8298 VLI encoder and decoder cleanups. Made encoder return
8299 LZMA_PROG_ERROR in single-call mode if there's no output
8302 src/liblzma/common/vli_decoder.c | 15 +++++++++------
8303 src/liblzma/common/vli_encoder.c | 31 ++++++++++++++++++++++++-------
8304 2 files changed, 33 insertions(+), 13 deletions(-)
8306 commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650
8307 Author: Lasse Collin <lasse.collin@tukaani.org>
8308 Date: 2008-11-22 17:44:33 +0200
8312 src/xz/process.c | 2 +-
8313 1 file changed, 1 insertion(+), 1 deletion(-)
8315 commit 6d1d6f4598d121253dbe1084c6866b66e95c361b
8316 Author: Lasse Collin <lasse.collin@tukaani.org>
8317 Date: 2008-11-20 22:59:10 +0200
8319 Support NetBSD's errno for O_NOFOLLOW.
8321 src/xz/io.c | 8 ++++++++
8322 1 file changed, 8 insertions(+)
8324 commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7
8325 Author: Lasse Collin <lasse.collin@tukaani.org>
8326 Date: 2008-11-20 18:05:52 +0200
8328 Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz
8329 files and lzmadec only .lzma files.
8331 src/xzdec/Makefile.am | 7 +-
8332 src/xzdec/xzdec.c | 311 ++++++++++++++++++++++----------------------------
8333 2 files changed, 140 insertions(+), 178 deletions(-)
8335 commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c
8336 Author: Lasse Collin <lasse.collin@tukaani.org>
8337 Date: 2008-11-20 11:01:29 +0200
8339 Minor cleanups to xzdec.
8341 src/xzdec/xzdec.c | 20 ++++++++++----------
8342 1 file changed, 10 insertions(+), 10 deletions(-)
8344 commit 54f716ba8905d09752dcd1519455a40bd21d5317
8345 Author: Lasse Collin <lasse.collin@tukaani.org>
8346 Date: 2008-11-19 23:55:22 +0200
8348 Added missing check for uint16_t.
8351 1 file changed, 1 insertion(+)
8353 commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06
8354 Author: Lasse Collin <lasse.collin@tukaani.org>
8355 Date: 2008-11-19 23:52:24 +0200
8357 Renamed lzma to xz and lzmadec to xzdec. We create symlinks
8358 lzma, unlzma, and lzcat in "make install" for backwards
8359 compatibility with LZMA Utils 4.32.x; I'm not sure if this
8360 should be the default though.
8363 po/POTFILES.in | 21 +-
8364 src/Makefile.am | 2 +-
8365 src/lzma/Makefile.am | 72 ----
8366 src/lzma/args.c | 500 ---------------------------
8367 src/lzma/args.h | 56 ---
8368 src/lzma/hardware.c | 122 -------
8369 src/lzma/hardware.h | 45 ---
8370 src/lzma/io.c | 658 -----------------------------------
8371 src/lzma/io.h | 97 ------
8372 src/lzma/list.c | 477 --------------------------
8373 src/lzma/main.c | 402 ----------------------
8374 src/lzma/main.h | 60 ----
8375 src/lzma/message.c | 892 ------------------------------------------------
8376 src/lzma/message.h | 132 -------
8377 src/lzma/options.c | 352 -------------------
8378 src/lzma/options.h | 46 ---
8379 src/lzma/private.h | 52 ---
8380 src/lzma/process.c | 391 ---------------------
8381 src/lzma/process.h | 70 ----
8382 src/lzma/suffix.c | 213 ------------
8383 src/lzma/suffix.h | 40 ---
8384 src/lzma/util.c | 199 -----------
8385 src/lzma/util.h | 71 ----
8386 src/lzmadec/Makefile.am | 29 --
8387 src/lzmadec/lzmadec.c | 492 --------------------------
8388 src/xz/Makefile.am | 74 ++++
8389 src/xz/args.c | 500 +++++++++++++++++++++++++++
8390 src/xz/args.h | 56 +++
8391 src/xz/hardware.c | 122 +++++++
8392 src/xz/hardware.h | 45 +++
8393 src/xz/io.c | 658 +++++++++++++++++++++++++++++++++++
8394 src/xz/io.h | 97 ++++++
8395 src/xz/list.c | 477 ++++++++++++++++++++++++++
8396 src/xz/main.c | 402 ++++++++++++++++++++++
8397 src/xz/main.h | 60 ++++
8398 src/xz/message.c | 892 ++++++++++++++++++++++++++++++++++++++++++++++++
8399 src/xz/message.h | 132 +++++++
8400 src/xz/options.c | 352 +++++++++++++++++++
8401 src/xz/options.h | 46 +++
8402 src/xz/private.h | 52 +++
8403 src/xz/process.c | 391 +++++++++++++++++++++
8404 src/xz/process.h | 70 ++++
8405 src/xz/suffix.c | 213 ++++++++++++
8406 src/xz/suffix.h | 40 +++
8407 src/xz/util.c | 199 +++++++++++
8408 src/xz/util.h | 71 ++++
8409 src/xzdec/Makefile.am | 29 ++
8410 src/xzdec/xzdec.c | 492 ++++++++++++++++++++++++++
8411 tests/test_compress.sh | 29 +-
8412 tests/test_files.sh | 4 +-
8413 51 files changed, 5498 insertions(+), 5500 deletions(-)
8415 commit e114502b2bc371e4a45449832cb69be036360722
8416 Author: Lasse Collin <lasse.collin@tukaani.org>
8417 Date: 2008-11-19 20:46:52 +0200
8419 Oh well, big messy commit again. Some highlights:
8420 - Updated to the latest, probably final file format version.
8421 - Command line tool reworked to not use threads anymore.
8422 Threading will probably go into liblzma anyway.
8423 - Memory usage limit is now about 30 % for uncompression
8424 and about 90 % for compression.
8425 - Progress indicator with --verbose
8426 - Simplified --help and full --long-help
8427 - Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
8431 configure.ac | 48 +-
8432 debug/full_flush.c | 6 +-
8433 debug/known_sizes.c | 2 +-
8434 debug/memusage.c | 2 +-
8435 debug/sync_flush.c | 10 +-
8436 doc/file-format.txt | 260 ++++----
8437 lib/Makefile.am | 10 +-
8438 lib/getopt.c | 14 +-
8439 lib/getopt.in.h | 226 +++++++
8440 lib/getopt1.c | 8 +-
8441 lib/getopt_.h | 226 -------
8442 lib/gettext.h | 240 -------
8443 m4/getopt.m4 | 64 +-
8444 src/common/bswap.h | 15 +-
8445 src/common/physmem.h | 4 +
8446 src/common/sysdefs.h | 12 +-
8447 src/liblzma/api/lzma/block.h | 47 +-
8448 src/liblzma/api/lzma/filter.h | 8 +
8449 src/liblzma/api/lzma/index.h | 20 +-
8450 src/liblzma/api/lzma/index_hash.h | 4 +-
8451 src/liblzma/common/block_decoder.c | 59 +-
8452 src/liblzma/common/block_encoder.c | 41 +-
8453 src/liblzma/common/block_header_decoder.c | 31 +-
8454 src/liblzma/common/block_header_encoder.c | 69 +--
8455 src/liblzma/common/block_util.c | 45 +-
8456 src/liblzma/common/common.h | 8 -
8457 src/liblzma/common/filter_common.c | 4 +-
8458 src/liblzma/common/index.c | 259 ++++----
8459 src/liblzma/common/index.h | 33 +-
8460 src/liblzma/common/index_decoder.c | 31 +-
8461 src/liblzma/common/index_encoder.c | 16 +-
8462 src/liblzma/common/index_hash.c | 68 +-
8463 src/liblzma/common/stream_decoder.c | 9 +-
8464 src/liblzma/common/stream_encoder.c | 6 +-
8465 src/liblzma/lz/lz_decoder.h | 4 +-
8466 src/liblzma/subblock/subblock_decoder.c | 3 +-
8467 src/lzma/Makefile.am | 9 +-
8468 src/lzma/alloc.c | 106 ----
8469 src/lzma/alloc.h | 42 --
8470 src/lzma/args.c | 531 +++++++---------
8471 src/lzma/args.h | 42 +-
8472 src/lzma/error.c | 162 -----
8473 src/lzma/error.h | 67 --
8474 src/lzma/hardware.c | 75 ++-
8475 src/lzma/hardware.h | 16 +-
8476 src/lzma/help.c | 170 -----
8477 src/lzma/help.h | 32 -
8478 src/lzma/io.c | 757 +++++++++++------------
8479 src/lzma/io.h | 51 +-
8480 src/lzma/main.c | 392 ++++++++----
8481 src/lzma/main.h | 60 ++
8482 src/lzma/message.c | 892 +++++++++++++++++++++++++++
8483 src/lzma/message.h | 132 ++++
8484 src/lzma/options.c | 42 +-
8485 src/lzma/options.h | 6 +-
8486 src/lzma/private.h | 28 +-
8487 src/lzma/process.c | 525 ++++++++--------
8488 src/lzma/process.h | 40 ++
8489 src/lzma/suffix.c | 52 +-
8490 src/lzma/suffix.h | 17 +-
8491 src/lzma/util.c | 100 +--
8492 src/lzma/util.h | 43 +-
8493 src/lzmadec/lzmadec.c | 36 +-
8494 tests/files/README | 12 +-
8495 tests/files/bad-1-block_header-1.xz | Bin 64 -> 64 bytes
8496 tests/files/bad-1-block_header-2.xz | Bin 64 -> 64 bytes
8497 tests/files/bad-1-block_header-3.xz | Bin 68 -> 68 bytes
8498 tests/files/bad-1-block_header-4.xz | Bin 72 -> 76 bytes
8499 tests/files/bad-1-block_header-5.xz | Bin 0 -> 72 bytes
8500 tests/files/bad-1-check-crc32.xz | Bin 68 -> 68 bytes
8501 tests/files/bad-1-check-crc64.xz | Bin 72 -> 72 bytes
8502 tests/files/bad-1-check-sha256.xz | Bin 96 -> 96 bytes
8503 tests/files/bad-1-lzma2-1.xz | Bin 64 -> 64 bytes
8504 tests/files/bad-1-lzma2-2.xz | Bin 424 -> 424 bytes
8505 tests/files/bad-1-lzma2-3.xz | Bin 424 -> 424 bytes
8506 tests/files/bad-1-lzma2-4.xz | Bin 408 -> 408 bytes
8507 tests/files/bad-1-lzma2-5.xz | Bin 408 -> 408 bytes
8508 tests/files/bad-1-lzma2-6.xz | Bin 68 -> 68 bytes
8509 tests/files/bad-1-lzma2-7.xz | Bin 408 -> 408 bytes
8510 tests/files/bad-1-stream_flags-1.xz | Bin 68 -> 68 bytes
8511 tests/files/bad-1-stream_flags-2.xz | Bin 68 -> 68 bytes
8512 tests/files/bad-1-stream_flags-3.xz | Bin 68 -> 68 bytes
8513 tests/files/bad-1-vli-1.xz | Bin 72 -> 72 bytes
8514 tests/files/bad-1-vli-2.xz | Bin 72 -> 76 bytes
8515 tests/files/bad-2-compressed_data_padding.xz | Bin 92 -> 92 bytes
8516 tests/files/bad-2-index-1.xz | Bin 92 -> 92 bytes
8517 tests/files/bad-2-index-2.xz | Bin 92 -> 92 bytes
8518 tests/files/bad-2-index-3.xz | Bin 92 -> 92 bytes
8519 tests/files/bad-2-index-4.xz | Bin 92 -> 92 bytes
8520 tests/files/bad-2-index-5.xz | Bin 0 -> 92 bytes
8521 tests/files/good-1-3delta-lzma2.xz | Bin 528 -> 528 bytes
8522 tests/files/good-1-block_header-1.xz | Bin 72 -> 72 bytes
8523 tests/files/good-1-block_header-2.xz | Bin 68 -> 68 bytes
8524 tests/files/good-1-block_header-3.xz | Bin 68 -> 68 bytes
8525 tests/files/good-1-check-crc32.xz | Bin 68 -> 68 bytes
8526 tests/files/good-1-check-crc64.xz | Bin 72 -> 72 bytes
8527 tests/files/good-1-check-none.xz | Bin 64 -> 64 bytes
8528 tests/files/good-1-check-sha256.xz | Bin 96 -> 96 bytes
8529 tests/files/good-1-delta-lzma2.tiff.xz | Bin 51312 -> 51316 bytes
8530 tests/files/good-1-lzma2-1.xz | Bin 424 -> 424 bytes
8531 tests/files/good-1-lzma2-2.xz | Bin 424 -> 424 bytes
8532 tests/files/good-1-lzma2-3.xz | Bin 408 -> 408 bytes
8533 tests/files/good-1-sparc-lzma2.xz | Bin 2292 -> 2296 bytes
8534 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 1936 bytes
8535 tests/files/good-2-lzma2.xz | Bin 92 -> 92 bytes
8536 tests/files/unsupported-block_header.xz | Bin 68 -> 68 bytes
8537 tests/files/unsupported-check.xz | Bin 68 -> 68 bytes
8538 tests/files/unsupported-filter_flags-1.xz | Bin 68 -> 68 bytes
8539 tests/files/unsupported-filter_flags-2.xz | Bin 68 -> 68 bytes
8540 tests/files/unsupported-filter_flags-3.xz | Bin 68 -> 68 bytes
8541 tests/test_block_header.c | 16 +-
8542 tests/test_index.c | 42 +-
8543 113 files changed, 3462 insertions(+), 2946 deletions(-)
8545 commit 3c3905b53462ae235c9438d86a4dc51086410932
8546 Author: Lasse Collin <lasse.collin@tukaani.org>
8547 Date: 2008-10-09 11:12:29 +0300
8549 Fixed the test that should have been fixed as part
8550 of 1e8e4fd1f3e50129b4541406ad765d2aa1233943.
8552 tests/test_block_header.c | 2 +-
8553 1 file changed, 1 insertion(+), 1 deletion(-)
8555 commit 0f295bf7a3ece01f667caae318cc3e3424085886
8556 Author: Lasse Collin <lasse.collin@tukaani.org>
8557 Date: 2008-10-07 16:42:18 +0300
8559 Fixed some help messages.
8561 src/lzma/help.c | 6 +++---
8562 1 file changed, 3 insertions(+), 3 deletions(-)
8564 commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943
8565 Author: Lasse Collin <lasse.collin@tukaani.org>
8566 Date: 2008-10-07 09:40:31 +0300
8568 Made the preset numbering more logical in liblzma API.
8570 src/liblzma/api/lzma/container.h | 20 ++++++++++----------
8571 src/liblzma/api/lzma/lzma.h | 2 +-
8572 src/liblzma/lzma/lzma_encoder_presets.c | 3 ++-
8573 src/lzma/args.c | 8 ++++----
8574 src/lzma/args.h | 2 +-
8575 5 files changed, 18 insertions(+), 17 deletions(-)
8577 commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81
8578 Author: Lasse Collin <lasse.collin@tukaani.org>
8579 Date: 2008-10-03 19:36:09 +0300
8581 Removed fi from po/LINGUAS.
8584 1 file changed, 1 deletion(-)
8586 commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128
8587 Author: Lasse Collin <lasse.collin@tukaani.org>
8588 Date: 2008-10-03 07:06:48 +0300
8590 Fixed suffix handling with --format=raw.
8592 src/lzma/suffix.c | 28 +++++++++++++++++++---------
8593 1 file changed, 19 insertions(+), 9 deletions(-)
8595 commit bd137524f2f50e30ba054f42f1f6536cd3cee920
8596 Author: Lasse Collin <lasse.collin@tukaani.org>
8597 Date: 2008-10-02 22:51:46 +0300
8599 Initial changes to change the suffix of the new format to .xz.
8600 This also fixes a bug related to --suffix option. Some issues
8601 with suffixes with --format=raw were not fixed.
8603 src/lzma/args.c | 67 +++++++++++++++++++++++++++++++--------------
8604 src/lzma/args.h | 13 +++++----
8605 src/lzma/help.c | 4 +--
8606 src/lzma/process.c | 24 +++++++++-------
8607 src/lzma/suffix.c | 74 +++++++++++++++++++++++++++++++++++++++++---------
8608 tests/test_compress.sh | 3 +-
8609 6 files changed, 133 insertions(+), 52 deletions(-)
8611 commit 4c321a41c482821aa3c4d64cdf886a6ed904d844
8612 Author: Lasse Collin <lasse.collin@tukaani.org>
8613 Date: 2008-09-30 17:43:55 +0300
8615 Renamed the test files from .lzma suffix to .xz suffix.
8617 tests/files/README | 128 ++++++++++++-------------
8618 tests/files/bad-0-backward_size.lzma | Bin 32 -> 0 bytes
8619 tests/files/bad-0-backward_size.xz | Bin 0 -> 32 bytes
8620 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 0 bytes
8621 tests/files/bad-0-empty-truncated.xz | Bin 0 -> 31 bytes
8622 tests/files/bad-0-footer_magic.lzma | Bin 32 -> 0 bytes
8623 tests/files/bad-0-footer_magic.xz | Bin 0 -> 32 bytes
8624 tests/files/bad-0-header_magic.lzma | Bin 32 -> 0 bytes
8625 tests/files/bad-0-header_magic.xz | Bin 0 -> 32 bytes
8626 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 0 bytes
8627 tests/files/bad-0-nonempty_index.xz | Bin 0 -> 32 bytes
8628 tests/files/bad-0cat-alone.lzma | Bin 55 -> 0 bytes
8629 tests/files/bad-0cat-alone.xz | Bin 0 -> 55 bytes
8630 tests/files/bad-0cat-header_magic.lzma | Bin 64 -> 0 bytes
8631 tests/files/bad-0cat-header_magic.xz | Bin 0 -> 64 bytes
8632 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 0 bytes
8633 tests/files/bad-0catpad-empty.xz | Bin 0 -> 69 bytes
8634 tests/files/bad-0pad-empty.lzma | Bin 37 -> 0 bytes
8635 tests/files/bad-0pad-empty.xz | Bin 0 -> 37 bytes
8636 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 0 bytes
8637 tests/files/bad-1-block_header-1.xz | Bin 0 -> 64 bytes
8638 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 0 bytes
8639 tests/files/bad-1-block_header-2.xz | Bin 0 -> 64 bytes
8640 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 0 bytes
8641 tests/files/bad-1-block_header-3.xz | Bin 0 -> 68 bytes
8642 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 0 bytes
8643 tests/files/bad-1-block_header-4.xz | Bin 0 -> 72 bytes
8644 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 0 bytes
8645 tests/files/bad-1-check-crc32.xz | Bin 0 -> 68 bytes
8646 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 0 bytes
8647 tests/files/bad-1-check-crc64.xz | Bin 0 -> 72 bytes
8648 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 0 bytes
8649 tests/files/bad-1-check-sha256.xz | Bin 0 -> 96 bytes
8650 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 0 bytes
8651 tests/files/bad-1-lzma2-1.xz | Bin 0 -> 64 bytes
8652 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 0 bytes
8653 tests/files/bad-1-lzma2-2.xz | Bin 0 -> 424 bytes
8654 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 0 bytes
8655 tests/files/bad-1-lzma2-3.xz | Bin 0 -> 424 bytes
8656 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 0 bytes
8657 tests/files/bad-1-lzma2-4.xz | Bin 0 -> 408 bytes
8658 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 0 bytes
8659 tests/files/bad-1-lzma2-5.xz | Bin 0 -> 408 bytes
8660 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 0 bytes
8661 tests/files/bad-1-lzma2-6.xz | Bin 0 -> 68 bytes
8662 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 0 bytes
8663 tests/files/bad-1-lzma2-7.xz | Bin 0 -> 408 bytes
8664 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 0 bytes
8665 tests/files/bad-1-stream_flags-1.xz | Bin 0 -> 68 bytes
8666 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 0 bytes
8667 tests/files/bad-1-stream_flags-2.xz | Bin 0 -> 68 bytes
8668 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 0 bytes
8669 tests/files/bad-1-stream_flags-3.xz | Bin 0 -> 68 bytes
8670 tests/files/bad-1-vli-1.lzma | Bin 72 -> 0 bytes
8671 tests/files/bad-1-vli-1.xz | Bin 0 -> 72 bytes
8672 tests/files/bad-1-vli-2.lzma | Bin 72 -> 0 bytes
8673 tests/files/bad-1-vli-2.xz | Bin 0 -> 72 bytes
8674 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 0 bytes
8675 tests/files/bad-2-compressed_data_padding.xz | Bin 0 -> 92 bytes
8676 tests/files/bad-2-index-1.lzma | Bin 92 -> 0 bytes
8677 tests/files/bad-2-index-1.xz | Bin 0 -> 92 bytes
8678 tests/files/bad-2-index-2.lzma | Bin 92 -> 0 bytes
8679 tests/files/bad-2-index-2.xz | Bin 0 -> 92 bytes
8680 tests/files/bad-2-index-3.lzma | Bin 92 -> 0 bytes
8681 tests/files/bad-2-index-3.xz | Bin 0 -> 92 bytes
8682 tests/files/bad-2-index-4.lzma | Bin 92 -> 0 bytes
8683 tests/files/bad-2-index-4.xz | Bin 0 -> 92 bytes
8684 tests/files/good-0-empty.lzma | Bin 32 -> 0 bytes
8685 tests/files/good-0-empty.xz | Bin 0 -> 32 bytes
8686 tests/files/good-0cat-empty.lzma | Bin 64 -> 0 bytes
8687 tests/files/good-0cat-empty.xz | Bin 0 -> 64 bytes
8688 tests/files/good-0catpad-empty.lzma | Bin 68 -> 0 bytes
8689 tests/files/good-0catpad-empty.xz | Bin 0 -> 68 bytes
8690 tests/files/good-0pad-empty.lzma | Bin 36 -> 0 bytes
8691 tests/files/good-0pad-empty.xz | Bin 0 -> 36 bytes
8692 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 0 bytes
8693 tests/files/good-1-3delta-lzma2.xz | Bin 0 -> 528 bytes
8694 tests/files/good-1-block_header-1.lzma | Bin 72 -> 0 bytes
8695 tests/files/good-1-block_header-1.xz | Bin 0 -> 72 bytes
8696 tests/files/good-1-block_header-2.lzma | Bin 68 -> 0 bytes
8697 tests/files/good-1-block_header-2.xz | Bin 0 -> 68 bytes
8698 tests/files/good-1-block_header-3.lzma | Bin 68 -> 0 bytes
8699 tests/files/good-1-block_header-3.xz | Bin 0 -> 68 bytes
8700 tests/files/good-1-check-crc32.lzma | Bin 68 -> 0 bytes
8701 tests/files/good-1-check-crc32.xz | Bin 0 -> 68 bytes
8702 tests/files/good-1-check-crc64.lzma | Bin 72 -> 0 bytes
8703 tests/files/good-1-check-crc64.xz | Bin 0 -> 72 bytes
8704 tests/files/good-1-check-none.lzma | Bin 64 -> 0 bytes
8705 tests/files/good-1-check-none.xz | Bin 0 -> 64 bytes
8706 tests/files/good-1-check-sha256.lzma | Bin 96 -> 0 bytes
8707 tests/files/good-1-check-sha256.xz | Bin 0 -> 96 bytes
8708 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 0 bytes
8709 tests/files/good-1-delta-lzma2.tiff.xz | Bin 0 -> 51312 bytes
8710 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 0 bytes
8711 tests/files/good-1-lzma2-1.xz | Bin 0 -> 424 bytes
8712 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 0 bytes
8713 tests/files/good-1-lzma2-2.xz | Bin 0 -> 424 bytes
8714 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 0 bytes
8715 tests/files/good-1-lzma2-3.xz | Bin 0 -> 408 bytes
8716 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 0 bytes
8717 tests/files/good-1-sparc-lzma2.xz | Bin 0 -> 2292 bytes
8718 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 0 bytes
8719 tests/files/good-1-x86-lzma2.xz | Bin 0 -> 1936 bytes
8720 tests/files/good-2-lzma2.lzma | Bin 92 -> 0 bytes
8721 tests/files/good-2-lzma2.xz | Bin 0 -> 92 bytes
8722 tests/files/unsupported-block_header.lzma | Bin 68 -> 0 bytes
8723 tests/files/unsupported-block_header.xz | Bin 0 -> 68 bytes
8724 tests/files/unsupported-check.lzma | Bin 68 -> 0 bytes
8725 tests/files/unsupported-check.xz | Bin 0 -> 68 bytes
8726 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 0 bytes
8727 tests/files/unsupported-filter_flags-1.xz | Bin 0 -> 68 bytes
8728 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 0 bytes
8729 tests/files/unsupported-filter_flags-2.xz | Bin 0 -> 68 bytes
8730 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 0 bytes
8731 tests/files/unsupported-filter_flags-3.xz | Bin 0 -> 68 bytes
8732 tests/test_files.sh | 6 +-
8733 116 files changed, 66 insertions(+), 68 deletions(-)
8735 commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb
8736 Author: Lasse Collin <lasse.collin@tukaani.org>
8737 Date: 2008-09-30 13:57:44 +0300
8739 Fixed Stream decoder to actually use the first_stream variable.
8741 src/liblzma/common/stream_decoder.c | 5 +++++
8742 1 file changed, 5 insertions(+)
8744 commit 3bdbc12c054d1961133ee19802af7dd3c3494543
8745 Author: Lasse Collin <lasse.collin@tukaani.org>
8746 Date: 2008-09-30 13:56:57 +0300
8748 Added one more test file.
8750 tests/files/README | 15 +++++++++++----
8751 tests/files/bad-0cat-header_magic.lzma | Bin 0 -> 64 bytes
8752 2 files changed, 11 insertions(+), 4 deletions(-)
8754 commit a6639022fdc536e5659b070a465221b4cf7c51fa
8755 Author: Lasse Collin <lasse.collin@tukaani.org>
8756 Date: 2008-09-30 13:34:07 +0300
8758 Fixed uninitialized variable in Stream decoder.
8760 src/liblzma/common/stream_decoder.c | 1 +
8761 1 file changed, 1 insertion(+)
8763 commit ed3709000a3f17ecefab29b2235d7e2221b00003
8764 Author: Lasse Collin <lasse.collin@tukaani.org>
8765 Date: 2008-09-30 13:27:28 +0300
8767 Added two test files.
8769 tests/files/README | 6 ++++++
8770 tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes
8771 tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes
8772 3 files changed, 6 insertions(+)
8774 commit ea560b0ea80525752bdcd0074d24f8dc170bbe29
8775 Author: Lasse Collin <lasse.collin@tukaani.org>
8776 Date: 2008-09-27 23:49:24 +0300
8778 Fix conflicting Subblock helper filter's ID.
8780 src/liblzma/common/common.h | 2 +-
8781 1 file changed, 1 insertion(+), 1 deletion(-)
8783 commit ad97483b6e55142fd8d5c041db057017a891cd95
8784 Author: Lasse Collin <lasse.collin@tukaani.org>
8785 Date: 2008-09-27 23:37:13 +0300
8787 Changed magic bytes to match the updated spec. Filename
8788 suffix wasn't changed yet.
8790 src/liblzma/common/auto_decoder.c | 4 ++--
8791 src/liblzma/common/stream_flags_common.c | 2 +-
8792 tests/files/bad-0-backward_size.lzma | Bin 32 -> 32 bytes
8793 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 31 bytes
8794 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 32 bytes
8795 tests/files/bad-0cat-alone.lzma | Bin 55 -> 55 bytes
8796 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 69 bytes
8797 tests/files/bad-0pad-empty.lzma | Bin 37 -> 37 bytes
8798 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 64 bytes
8799 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 64 bytes
8800 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 68 bytes
8801 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 72 bytes
8802 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 68 bytes
8803 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 72 bytes
8804 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 96 bytes
8805 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 64 bytes
8806 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 424 bytes
8807 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 424 bytes
8808 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 408 bytes
8809 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 408 bytes
8810 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 68 bytes
8811 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 408 bytes
8812 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 68 bytes
8813 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 68 bytes
8814 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 68 bytes
8815 tests/files/bad-1-vli-1.lzma | Bin 72 -> 72 bytes
8816 tests/files/bad-1-vli-2.lzma | Bin 72 -> 72 bytes
8817 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 92 bytes
8818 tests/files/bad-2-index-1.lzma | Bin 92 -> 92 bytes
8819 tests/files/bad-2-index-2.lzma | Bin 92 -> 92 bytes
8820 tests/files/bad-2-index-3.lzma | Bin 92 -> 92 bytes
8821 tests/files/bad-2-index-4.lzma | Bin 92 -> 92 bytes
8822 tests/files/good-0-empty.lzma | Bin 32 -> 32 bytes
8823 tests/files/good-0cat-empty.lzma | Bin 64 -> 64 bytes
8824 tests/files/good-0catpad-empty.lzma | Bin 68 -> 68 bytes
8825 tests/files/good-0pad-empty.lzma | Bin 36 -> 36 bytes
8826 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 528 bytes
8827 tests/files/good-1-block_header-1.lzma | Bin 72 -> 72 bytes
8828 tests/files/good-1-block_header-2.lzma | Bin 68 -> 68 bytes
8829 tests/files/good-1-block_header-3.lzma | Bin 68 -> 68 bytes
8830 tests/files/good-1-check-crc32.lzma | Bin 68 -> 68 bytes
8831 tests/files/good-1-check-crc64.lzma | Bin 72 -> 72 bytes
8832 tests/files/good-1-check-none.lzma | Bin 64 -> 64 bytes
8833 tests/files/good-1-check-sha256.lzma | Bin 96 -> 96 bytes
8834 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 51312 bytes
8835 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 424 bytes
8836 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 424 bytes
8837 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 408 bytes
8838 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 2292 bytes
8839 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 1936 bytes
8840 tests/files/good-2-lzma2.lzma | Bin 92 -> 92 bytes
8841 tests/files/unsupported-block_header.lzma | Bin 68 -> 68 bytes
8842 tests/files/unsupported-check.lzma | Bin 68 -> 68 bytes
8843 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 68 bytes
8844 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 68 bytes
8845 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 68 bytes
8846 56 files changed, 3 insertions(+), 3 deletions(-)
8848 commit 7a57069167e9e63394e2b095ee3a63253fcb51c7
8849 Author: Lasse Collin <lasse.collin@tukaani.org>
8850 Date: 2008-09-27 23:16:09 +0300
8852 Remove po/fi.po since I'm not keeping it updated for now.
8854 po/fi.po | 446 ---------------------------------------------------------------
8855 1 file changed, 446 deletions(-)
8857 commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e
8858 Author: Lasse Collin <lasse.collin@tukaani.org>
8859 Date: 2008-09-27 23:13:54 +0300
8861 Fix also test_compress.sh.
8863 tests/test_compress.sh | 6 +++---
8864 1 file changed, 3 insertions(+), 3 deletions(-)
8866 commit 3a62a5fb85d2eebd8666e64ed5d364d095062858
8867 Author: Lasse Collin <lasse.collin@tukaani.org>
8868 Date: 2008-09-27 23:01:15 +0300
8870 Fixed compilation of test_filter_flags.c, which was broken by
8871 1dcecfb09b55157b8653d747963069c8bed74f04.
8873 tests/test_filter_flags.c | 16 ++++++++--------
8874 1 file changed, 8 insertions(+), 8 deletions(-)
8876 commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0
8877 Author: Lasse Collin <lasse.collin@tukaani.org>
8878 Date: 2008-09-27 19:11:02 +0300
8880 Updated file format specification. It changes the suffix
8881 of the new format to .xz and removes the recently added
8884 doc/file-format.txt | 125 ++++++++++++++--------------------------------------
8885 1 file changed, 32 insertions(+), 93 deletions(-)
8887 commit 1dcecfb09b55157b8653d747963069c8bed74f04
8888 Author: Lasse Collin <lasse.collin@tukaani.org>
8889 Date: 2008-09-27 19:09:21 +0300
8891 Some API changes, bug fixes, cleanups etc.
8893 configure.ac | 18 +-
8894 debug/full_flush.c | 7 +-
8895 debug/known_sizes.c | 6 +-
8896 debug/memusage.c | 22 +--
8897 debug/sync_flush.c | 18 +-
8898 src/liblzma/Makefile.am | 2 +-
8899 src/liblzma/api/lzma/delta.h | 8 +-
8900 src/liblzma/api/lzma/lzma.h | 230 ++++++++++++++++---------
8901 src/liblzma/common/alignment.c | 7 +-
8902 src/liblzma/common/alone_decoder.c | 11 +-
8903 src/liblzma/common/alone_encoder.c | 9 +-
8904 src/liblzma/common/chunk_size.c | 2 +-
8905 src/liblzma/common/easy.c | 20 ++-
8906 src/liblzma/common/filter_common.c | 4 +-
8907 src/liblzma/common/filter_decoder.c | 4 +-
8908 src/liblzma/common/filter_encoder.c | 4 +-
8909 src/liblzma/common/init_encoder.c | 2 +-
8910 src/liblzma/delta/delta_common.c | 12 +-
8911 src/liblzma/delta/delta_common.h | 2 +-
8912 src/liblzma/delta/delta_decoder.c | 2 +-
8913 src/liblzma/delta/delta_encoder.c | 6 +-
8914 src/liblzma/lz/lz_encoder.c | 30 ++--
8915 src/liblzma/lz/lz_encoder.h | 26 +--
8916 src/liblzma/lz/lz_encoder_mf.c | 30 ++--
8917 src/liblzma/lzma/Makefile.am | 4 +-
8918 src/liblzma/lzma/lzma2_decoder.c | 10 +-
8919 src/liblzma/lzma/lzma2_encoder.c | 27 ++-
8920 src/liblzma/lzma/lzma_common.h | 26 ++-
8921 src/liblzma/lzma/lzma_decoder.c | 37 ++--
8922 src/liblzma/lzma/lzma_encoder.c | 51 +++---
8923 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 10 +-
8924 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +--
8925 src/liblzma/lzma/lzma_encoder_presets.c | 50 ++++--
8926 src/liblzma/rangecoder/Makefile.am | 4 +-
8927 src/liblzma/subblock/subblock_decoder.c | 2 +-
8928 src/lzma/args.c | 33 ++--
8929 src/lzma/help.c | 17 +-
8930 src/lzma/options.c | 92 +++++-----
8931 tests/test_block_header.c | 9 +-
8932 tests/test_compress.sh | 4 +-
8933 tests/test_filter_flags.c | 2 +-
8934 41 files changed, 482 insertions(+), 398 deletions(-)
8936 commit 5cc5064cae603b649c64c40125c7dd365de54c9d
8937 Author: Lasse Collin <lasse.collin@tukaani.org>
8938 Date: 2008-09-27 11:28:49 +0300
8942 extra/7z2lzma/7z2lzma.bash | 114 +++++++++++++++++++++++++++++++++++++++++++++
8943 1 file changed, 114 insertions(+)
8945 commit f147666a5cd15542d4e427da58629f4a71cc38e1
8946 Author: Lasse Collin <lasse.collin@tukaani.org>
8947 Date: 2008-09-17 22:11:39 +0300
8949 Miscellaneous LZ and LZMA encoder cleanups
8951 src/liblzma/api/lzma/lzma.h | 14 -------
8952 src/liblzma/lz/lz_encoder.c | 8 +++-
8953 src/liblzma/lzma/Makefile.am | 1 -
8954 src/liblzma/lzma/lzma_encoder.c | 64 ++++++++++++--------------------
8955 src/liblzma/lzma/lzma_encoder_features.c | 59 -----------------------------
8956 5 files changed, 29 insertions(+), 117 deletions(-)
8958 commit 13d68b069849e19c33822cd8996cd6447890abb1
8959 Author: Lasse Collin <lasse.collin@tukaani.org>
8960 Date: 2008-09-13 13:54:00 +0300
8964 src/liblzma/lz/lz_decoder.c | 5 ++---
8965 1 file changed, 2 insertions(+), 3 deletions(-)
8967 commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7
8968 Author: Lasse Collin <lasse.collin@tukaani.org>
8969 Date: 2008-09-13 12:10:43 +0300
8972 - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
8973 - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
8974 - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
8976 debug/full_flush.c | 2 +-
8977 debug/known_sizes.c | 2 +-
8978 debug/sync_flush.c | 2 +-
8979 src/liblzma/api/lzma/alignment.h | 2 +-
8980 src/liblzma/api/lzma/base.h | 4 ++--
8981 src/liblzma/api/lzma/block.h | 28 ++++++++++++++--------------
8982 src/liblzma/api/lzma/container.h | 12 ++++++------
8983 src/liblzma/api/lzma/filter.h | 28 ++++++++++++++--------------
8984 src/liblzma/api/lzma/index.h | 2 +-
8985 src/liblzma/api/lzma/lzma.h | 4 ++--
8986 src/liblzma/api/lzma/simple.h | 2 +-
8987 src/liblzma/api/lzma/stream_flags.h | 20 ++++++++++----------
8988 src/liblzma/api/lzma/vli.h | 16 ++++++++--------
8989 src/liblzma/common/alignment.c | 6 +++---
8990 src/liblzma/common/alone_decoder.c | 2 +-
8991 src/liblzma/common/auto_decoder.c | 2 +-
8992 src/liblzma/common/block_decoder.c | 12 ++++++------
8993 src/liblzma/common/block_encoder.c | 6 +++---
8994 src/liblzma/common/block_header_decoder.c | 16 ++++++++--------
8995 src/liblzma/common/block_header_encoder.c | 24 ++++++++++++------------
8996 src/liblzma/common/block_util.c | 8 ++++----
8997 src/liblzma/common/chunk_size.c | 2 +-
8998 src/liblzma/common/easy.c | 4 ++--
8999 src/liblzma/common/filter_common.c | 22 +++++++++++-----------
9000 src/liblzma/common/filter_decoder.c | 6 +++---
9001 src/liblzma/common/filter_encoder.c | 14 +++++++-------
9002 src/liblzma/common/index.c | 24 +++++++++++-------------
9003 src/liblzma/common/index.h | 2 +-
9004 src/liblzma/common/index_hash.c | 13 ++++++-------
9005 src/liblzma/common/stream_decoder.c | 4 ++--
9006 src/liblzma/common/stream_encoder.c | 4 ++--
9007 src/liblzma/common/stream_flags_common.c | 6 +++---
9008 src/liblzma/common/stream_flags_decoder.c | 6 +++---
9009 src/liblzma/common/stream_flags_encoder.c | 4 ++--
9010 src/liblzma/common/vli_encoder.c | 2 +-
9011 src/liblzma/common/vli_size.c | 2 +-
9012 src/liblzma/delta/delta_common.c | 2 +-
9013 src/liblzma/delta/delta_decoder.c | 2 +-
9014 src/liblzma/delta/delta_encoder.c | 2 +-
9015 src/liblzma/lz/lz_decoder.c | 2 +-
9016 src/liblzma/lz/lz_encoder.c | 2 +-
9017 src/liblzma/lzma/lzma2_decoder.c | 6 +++---
9018 src/liblzma/lzma/lzma_decoder.c | 14 +++++++-------
9019 src/liblzma/lzma/lzma_encoder.c | 8 ++++----
9020 src/liblzma/simple/simple_coder.c | 2 +-
9021 src/liblzma/simple/simple_decoder.c | 2 +-
9022 src/liblzma/subblock/subblock_decoder.c | 6 +++---
9023 src/liblzma/subblock/subblock_encoder.c | 17 ++++++++---------
9024 src/lzma/args.c | 2 +-
9025 src/lzma/error.c | 2 +-
9026 src/lzma/list.c | 6 +++---
9027 src/lzmadec/lzmadec.c | 2 +-
9028 tests/test_block.c | 8 ++++----
9029 tests/test_block_header.c | 30 +++++++++++++++---------------
9030 tests/test_filter_flags.c | 2 +-
9031 tests/test_index.c | 2 +-
9032 tests/test_stream_flags.c | 8 ++++----
9033 tests/tests.h | 2 +-
9034 58 files changed, 220 insertions(+), 224 deletions(-)
9036 commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080
9037 Author: Lasse Collin <lasse.collin@tukaani.org>
9038 Date: 2008-09-12 22:41:40 +0300
9040 Improved the Stream Flags handling API.
9042 src/liblzma/api/lzma/stream_flags.h | 84 +++++++++++++++++++++++++++++--
9043 src/liblzma/common/stream_decoder.c | 5 +-
9044 src/liblzma/common/stream_encoder.c | 2 +
9045 src/liblzma/common/stream_flags_common.c | 28 ++++++++---
9046 src/liblzma/common/stream_flags_common.h | 9 ++++
9047 src/liblzma/common/stream_flags_decoder.c | 3 +-
9048 src/liblzma/common/stream_flags_encoder.c | 10 ++--
9049 tests/test_stream_flags.c | 8 ++-
9050 8 files changed, 129 insertions(+), 20 deletions(-)
9052 commit ec490da5228263b25bf786bb23d1008468f55b30
9053 Author: Lasse Collin <lasse.collin@tukaani.org>
9054 Date: 2008-09-11 23:10:44 +0300
9056 Simplified debug/known_sizes.c to match the relaxed
9057 requirements of Block encoder.
9059 debug/known_sizes.c | 14 +++++---------
9060 1 file changed, 5 insertions(+), 9 deletions(-)
9062 commit 16e8b98f2659347edfa74afdbbb9e73311153cb9
9063 Author: Lasse Collin <lasse.collin@tukaani.org>
9064 Date: 2008-09-11 23:09:24 +0300
9066 Remove a check from Block encoder that should have already
9067 been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e.
9069 src/liblzma/common/block_encoder.c | 5 -----
9070 1 file changed, 5 deletions(-)
9072 commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13
9073 Author: Lasse Collin <lasse.collin@tukaani.org>
9074 Date: 2008-09-11 20:02:38 +0300
9076 Remove bogus #includes.
9078 src/liblzma/common/Makefile.am | 1 -
9079 src/liblzma/common/stream_decoder.c | 3 ---
9080 src/liblzma/common/stream_encoder.c | 1 -
9081 src/liblzma/common/stream_flags_decoder.h | 31 -------------------------------
9082 4 files changed, 36 deletions(-)
9084 commit 01892b2ca5f69bed0ea746e04b604030d57806bb
9085 Author: Lasse Collin <lasse.collin@tukaani.org>
9086 Date: 2008-09-11 10:49:14 +0300
9091 1 file changed, 1 insertion(+)
9093 commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d
9094 Author: Lasse Collin <lasse.collin@tukaani.org>
9095 Date: 2008-09-11 10:48:12 +0300
9097 Fix a compiler error on big endian systems that don't
9098 support unaligned memory access.
9100 src/common/integer.h | 32 ++++++++++++++++++--------------
9101 1 file changed, 18 insertions(+), 14 deletions(-)
9103 commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671
9104 Author: Lasse Collin <lasse.collin@tukaani.org>
9105 Date: 2008-09-11 10:46:14 +0300
9107 Silence a compiler warning.
9109 src/lzma/process.c | 2 +-
9110 1 file changed, 1 insertion(+), 1 deletion(-)
9112 commit 9373e81e18822db4972819442ea4c2cb9955470b
9113 Author: Lasse Collin <lasse.collin@tukaani.org>
9114 Date: 2008-09-10 19:16:32 +0300
9116 Bumped version to 4.999.6alpha.
9119 src/liblzma/api/lzma/version.h | 2 +-
9120 2 files changed, 2 insertions(+), 2 deletions(-)
9122 commit cb072b7c8442ba68bb0c62c0abbbe939794887a3
9123 Author: Lasse Collin <lasse.collin@tukaani.org>
9124 Date: 2008-09-10 17:02:00 +0300
9126 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.
9127 Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID
9128 is in the reserved range. This allows Block Header encoder to
9129 detect unallowed Filter IDs, which is good for Stream encoder.
9131 src/liblzma/common/filter_flags_encoder.c | 7 ++++---
9132 1 file changed, 4 insertions(+), 3 deletions(-)
9134 commit 123ab0acec435c9e9866a99e30482116cfbd9ba5
9135 Author: Lasse Collin <lasse.collin@tukaani.org>
9136 Date: 2008-09-10 16:44:32 +0300
9138 Filter handling cleanups
9140 src/liblzma/api/lzma/filter.h | 133 +++++++++++++++++++++++++++---------
9141 src/liblzma/common/filter_common.h | 3 +
9142 src/liblzma/common/filter_decoder.c | 80 +++++++---------------
9143 src/liblzma/common/filter_decoder.h | 5 --
9144 src/liblzma/common/filter_encoder.c | 82 +++++++---------------
9145 src/liblzma/common/filter_encoder.h | 4 --
9146 6 files changed, 156 insertions(+), 151 deletions(-)
9148 commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1
9149 Author: Lasse Collin <lasse.collin@tukaani.org>
9150 Date: 2008-09-10 00:33:00 +0300
9154 src/liblzma/common/stream_encoder.c | 6 +++++-
9155 1 file changed, 5 insertions(+), 1 deletion(-)
9157 commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e
9158 Author: Lasse Collin <lasse.collin@tukaani.org>
9159 Date: 2008-09-10 00:27:02 +0300
9161 Cleaned up Block encoder and moved the no longer shared
9162 code from block_private.h to block_decoder.c. Now the Block
9163 encoder doesn't need compressed_size and uncompressed_size
9164 from lzma_block structure to be initialized.
9166 src/liblzma/api/lzma/block.h | 3 --
9167 src/liblzma/common/Makefile.am | 1 -
9168 src/liblzma/common/block_decoder.c | 23 +++++++++-
9169 src/liblzma/common/block_encoder.c | 92 ++++++++++++++++++--------------------
9170 src/liblzma/common/block_private.h | 47 -------------------
9171 5 files changed, 66 insertions(+), 100 deletions(-)
9173 commit 07efcb5a6bc5d7018798ebd728586f84183e7d64
9174 Author: Lasse Collin <lasse.collin@tukaani.org>
9175 Date: 2008-09-07 10:23:13 +0300
9177 Changed Filter ID of LZMA to 0x20.
9179 doc/file-format.txt | 4 ++--
9180 src/liblzma/api/lzma/lzma.h | 2 +-
9181 2 files changed, 3 insertions(+), 3 deletions(-)
9183 commit 32fe5fa541e82c08e054086279079ae5016bd8d8
9184 Author: Lasse Collin <lasse.collin@tukaani.org>
9185 Date: 2008-09-06 23:42:50 +0300
9189 src/liblzma/api/lzma/base.h | 81 ++++++++++++++++++++++++++--------------
9190 src/liblzma/api/lzma/container.h | 6 ++-
9191 src/liblzma/lz/lz_encoder.c | 3 +-
9192 src/liblzma/lz/lz_encoder.h | 12 +++---
9193 src/liblzma/lz/lz_encoder_mf.c | 2 +-
9194 5 files changed, 65 insertions(+), 39 deletions(-)
9196 commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84
9197 Author: Lasse Collin <lasse.collin@tukaani.org>
9198 Date: 2008-09-06 15:14:30 +0300
9202 src/liblzma/api/lzma/base.h | 314 +++++++++++++++++++++++-------------
9203 src/liblzma/api/lzma/check.h | 10 ++
9204 src/liblzma/api/lzma/container.h | 40 +++--
9205 src/liblzma/common/auto_decoder.c | 18 +--
9206 src/liblzma/common/common.c | 7 +
9207 src/liblzma/common/common.h | 18 ++-
9208 src/liblzma/common/easy.c | 2 +-
9209 src/liblzma/common/stream_decoder.c | 31 ++--
9210 src/lzma/process.c | 2 +-
9211 src/lzmadec/lzmadec.c | 6 +-
9212 tests/tests.h | 72 +++------
9213 11 files changed, 301 insertions(+), 219 deletions(-)
9215 commit da98df54400998be2a6c3876f9655a3c51b93c10
9216 Author: Lasse Collin <lasse.collin@tukaani.org>
9217 Date: 2008-09-04 11:53:06 +0300
9219 Added support for raw encoding and decoding to the command
9220 line tool, and made various cleanups. --lzma was renamed to
9221 --lzma1 to prevent people from accidentally using LZMA when
9224 src/lzma/args.c | 17 +++++++++--------
9225 src/lzma/args.h | 1 +
9226 src/lzma/help.c | 24 ++++++------------------
9227 src/lzma/process.c | 42 ++++++++++++++++++++++++++++++++++--------
9228 4 files changed, 50 insertions(+), 34 deletions(-)
9230 commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd
9231 Author: Lasse Collin <lasse.collin@tukaani.org>
9232 Date: 2008-09-04 10:39:15 +0300
9234 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's
9235 simply nothing that would use it. Allow LZMA_FINISH to the
9236 decoders, which will usually ignore it (auto decoder and
9237 Stream decoder being exceptions).
9239 src/liblzma/common/alone_decoder.c | 1 -
9240 src/liblzma/common/block_decoder.c | 2 +-
9241 src/liblzma/common/filter_decoder.c | 2 +-
9242 3 files changed, 2 insertions(+), 3 deletions(-)
9244 commit bea301c26d5d52675e11e0236faec0492af98f60
9245 Author: Lasse Collin <lasse.collin@tukaani.org>
9246 Date: 2008-09-03 17:06:25 +0300
9248 Minor updates to the file format specification.
9250 doc/file-format.txt | 105 ++++++++++++++++++++++++++++++++++++++++++----------
9251 1 file changed, 85 insertions(+), 20 deletions(-)
9253 commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8
9254 Author: Lasse Collin <lasse.collin@tukaani.org>
9255 Date: 2008-09-02 19:33:32 +0300
9257 Command line tool fixes
9259 src/lzma/process.c | 21 +++++++++++++--------
9260 1 file changed, 13 insertions(+), 8 deletions(-)
9262 commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4
9263 Author: Lasse Collin <lasse.collin@tukaani.org>
9264 Date: 2008-09-02 19:31:42 +0300
9266 Auto decoder cleanup
9268 src/liblzma/common/auto_decoder.c | 2 +-
9269 1 file changed, 1 insertion(+), 1 deletion(-)
9271 commit 689602336d126a46b60d791a67decab65e1e81f5
9272 Author: Lasse Collin <lasse.collin@tukaani.org>
9273 Date: 2008-09-02 19:12:12 +0300
9275 Updated auto decoder to handle LZMA_CONCATENATED when decoding
9276 LZMA_Alone files. Decoding of concatenated LZMA_Alone files is
9277 intentionally not supported, so it is better to put this in
9278 auto decoder than LZMA_Alone decoder.
9280 src/liblzma/common/auto_decoder.c | 87 ++++++++++++++++++++++++++++++++-------
9281 1 file changed, 71 insertions(+), 16 deletions(-)
9283 commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c
9284 Author: Lasse Collin <lasse.collin@tukaani.org>
9285 Date: 2008-09-02 14:56:52 +0300
9287 Stream decoder cleanups
9289 src/liblzma/common/stream_decoder.c | 57 +++++++++++++++++++++----------------
9290 1 file changed, 32 insertions(+), 25 deletions(-)
9292 commit fc681657450ce57be1fe08f7a15d31dcc705e514
9293 Author: Lasse Collin <lasse.collin@tukaani.org>
9294 Date: 2008-09-02 11:45:39 +0300
9296 Some fixes to LZ encoder.
9298 src/liblzma/lz/lz_encoder.c | 56 ++++++++++++++++++++-----
9299 src/liblzma/lz/lz_encoder.h | 18 ++++----
9300 src/liblzma/lz/lz_encoder_mf.c | 95 +++++++++++++++++-------------------------
9301 3 files changed, 94 insertions(+), 75 deletions(-)
9303 commit ede675f9ac1ca82a7d7c290324adba672118bc8d
9304 Author: Lasse Collin <lasse.collin@tukaani.org>
9305 Date: 2008-08-31 11:47:01 +0300
9307 Fix wrong pointer calculation in LZMA encoder.
9309 src/liblzma/lzma/lzma_encoder.c | 4 +++-
9310 1 file changed, 3 insertions(+), 1 deletion(-)
9312 commit 3b34851de1eaf358cf9268922fa0eeed8278d680
9313 Author: Lasse Collin <lasse.collin@tukaani.org>
9314 Date: 2008-08-28 22:53:15 +0300
9316 Sort of garbage collection commit. :-| Many things are still
9317 broken. API has changed a lot and it will still change a
9318 little more here and there. The command line tool doesn't
9319 have all the required changes to reflect the API changes, so
9320 it's easy to get "internal error" or trigger assertions.
9322 configure.ac | 356 +++---
9323 debug/Makefile.am | 5 +-
9324 debug/crc32.c | 45 +
9325 debug/full_flush.c | 14 +-
9326 debug/hex2bin.c | 54 +
9327 debug/known_sizes.c | 135 ++
9328 debug/memusage.c | 8 +-
9329 debug/sync_flush.c | 20 +-
9330 src/common/integer.h | 26 +-
9331 src/common/sysdefs.h | 42 +-
9332 src/liblzma/Makefile.am | 17 +-
9333 src/liblzma/api/Makefile.am | 6 +-
9334 src/liblzma/api/lzma.h | 161 ++-
9335 src/liblzma/api/lzma/alignment.h | 6 +-
9336 src/liblzma/api/lzma/alone.h | 52 -
9337 src/liblzma/api/lzma/auto.h | 36 -
9338 src/liblzma/api/lzma/base.h | 61 +-
9339 src/liblzma/api/lzma/block.h | 38 +-
9340 src/liblzma/api/lzma/check.h | 41 +-
9341 src/liblzma/api/lzma/container.h | 252 ++++
9342 src/liblzma/api/lzma/delta.h | 36 +-
9343 src/liblzma/api/lzma/easy.h | 121 --
9344 src/liblzma/api/lzma/filter.h | 74 +-
9345 src/liblzma/api/lzma/index.h | 40 +-
9346 src/liblzma/api/lzma/index_hash.h | 12 +-
9347 src/liblzma/api/lzma/lzma.h | 222 ++--
9348 src/liblzma/api/lzma/memlimit.h | 15 +-
9349 src/liblzma/api/lzma/raw.h | 60 -
9350 src/liblzma/api/lzma/simple.h | 2 +-
9351 src/liblzma/api/lzma/stream.h | 53 -
9352 src/liblzma/api/lzma/stream_flags.h | 17 +-
9353 src/liblzma/api/lzma/subblock.h | 4 +-
9354 src/liblzma/api/lzma/version.h | 10 +-
9355 src/liblzma/api/lzma/vli.h | 131 +-
9356 src/liblzma/check/check.c | 128 +-
9357 src/liblzma/check/check.h | 67 +-
9358 src/liblzma/check/sha256.c | 29 +-
9359 src/liblzma/common/Makefile.am | 51 +-
9360 src/liblzma/common/alignment.c | 4 +-
9361 src/liblzma/common/allocator.c | 58 -
9362 src/liblzma/common/alone_decoder.c | 49 +-
9363 src/liblzma/common/alone_decoder.h | 9 +-
9364 src/liblzma/common/alone_encoder.c | 13 +-
9365 src/liblzma/common/auto_decoder.c | 38 +-
9366 src/liblzma/common/block_decoder.c | 67 +-
9367 src/liblzma/common/block_decoder.h | 2 +-
9368 src/liblzma/common/block_encoder.c | 42 +-
9369 src/liblzma/common/block_encoder.h | 2 +-
9370 src/liblzma/common/block_header_decoder.c | 6 +-
9371 src/liblzma/common/block_header_encoder.c | 9 +-
9372 src/liblzma/common/block_util.c | 10 +-
9373 src/liblzma/common/code.c | 203 ---
9374 src/liblzma/common/common.c | 298 +++++
9375 src/liblzma/common/common.h | 237 ++--
9376 src/liblzma/common/delta_common.c | 66 -
9377 src/liblzma/common/delta_common.h | 44 -
9378 src/liblzma/common/delta_decoder.c | 61 -
9379 src/liblzma/common/delta_decoder.h | 28 -
9380 src/liblzma/common/delta_encoder.c | 98 --
9381 src/liblzma/common/delta_encoder.h | 28 -
9382 src/liblzma/common/easy.c | 18 +-
9383 src/liblzma/common/features.c | 66 -
9384 src/liblzma/common/filter_common.c | 262 ++++
9385 src/liblzma/common/filter_common.h | 52 +
9386 src/liblzma/common/filter_decoder.c | 236 ++++
9387 src/liblzma/common/filter_decoder.h | 35 +
9388 src/liblzma/common/filter_encoder.c | 308 +++++
9389 src/liblzma/common/filter_encoder.h | 38 +
9390 src/liblzma/common/filter_flags_decoder.c | 185 +--
9391 src/liblzma/common/filter_flags_encoder.c | 261 +---
9392 src/liblzma/common/index_decoder.c | 14 +-
9393 src/liblzma/common/index_encoder.c | 16 +-
9394 src/liblzma/common/index_hash.c | 8 +-
9395 src/liblzma/common/init_encoder.c | 2 +-
9396 src/liblzma/common/memory_usage.c | 112 --
9397 src/liblzma/common/next_coder.c | 65 -
9398 src/liblzma/common/raw_common.c | 127 --
9399 src/liblzma/common/raw_common.h | 30 -
9400 src/liblzma/common/raw_decoder.c | 116 --
9401 src/liblzma/common/raw_decoder.h | 29 -
9402 src/liblzma/common/raw_encoder.c | 111 --
9403 src/liblzma/common/raw_encoder.h | 29 -
9404 src/liblzma/common/stream_common.c | 23 -
9405 src/liblzma/common/stream_common.h | 31 -
9406 src/liblzma/common/stream_decoder.c | 238 +++-
9407 src/liblzma/common/stream_decoder.h | 4 +-
9408 src/liblzma/common/stream_encoder.c | 35 +-
9409 src/liblzma/common/stream_encoder.h | 2 +-
9410 src/liblzma/common/stream_flags_common.c | 40 +
9411 src/liblzma/common/stream_flags_common.h | 31 +
9412 src/liblzma/common/stream_flags_decoder.c | 2 +-
9413 src/liblzma/common/stream_flags_encoder.c | 2 +-
9414 src/liblzma/common/stream_flags_equal.c | 36 -
9415 src/liblzma/common/version.c | 25 -
9416 src/liblzma/common/vli_decoder.c | 29 +-
9417 src/liblzma/common/vli_encoder.c | 23 +-
9418 src/liblzma/common/vli_size.c | 37 +
9419 src/liblzma/delta/Makefile.am | 34 +
9420 src/liblzma/delta/delta_common.c | 66 +
9421 src/liblzma/delta/delta_common.h | 44 +
9422 src/liblzma/delta/delta_decoder.c | 82 ++
9423 src/liblzma/delta/delta_decoder.h | 32 +
9424 src/liblzma/delta/delta_encoder.c | 119 ++
9425 src/liblzma/delta/delta_encoder.h | 30 +
9426 src/liblzma/lz/Makefile.am | 35 +-
9427 src/liblzma/lz/bt2.c | 27 -
9428 src/liblzma/lz/bt2.h | 31 -
9429 src/liblzma/lz/bt3.c | 29 -
9430 src/liblzma/lz/bt3.h | 31 -
9431 src/liblzma/lz/bt4.c | 30 -
9432 src/liblzma/lz/bt4.h | 31 -
9433 src/liblzma/lz/hc3.c | 30 -
9434 src/liblzma/lz/hc3.h | 31 -
9435 src/liblzma/lz/hc4.c | 31 -
9436 src/liblzma/lz/hc4.h | 31 -
9437 src/liblzma/lz/lz_decoder.c | 547 +++-----
9438 src/liblzma/lz/lz_decoder.h | 308 ++---
9439 src/liblzma/lz/lz_encoder.c | 780 ++++++------
9440 src/liblzma/lz/lz_encoder.h | 334 +++--
9441 src/liblzma/lz/lz_encoder_hash.h | 104 ++
9442 src/liblzma/lz/lz_encoder_mf.c | 780 ++++++++++++
9443 src/liblzma/lz/lz_encoder_private.h | 40 -
9444 src/liblzma/lz/match_c.h | 412 ------
9445 src/liblzma/lz/match_h.h | 69 --
9446 src/liblzma/lzma/Makefile.am | 37 +-
9447 src/liblzma/lzma/fastpos.h | 8 +-
9448 src/liblzma/lzma/lzma2_decoder.c | 318 +++++
9449 src/liblzma/lzma/lzma2_decoder.h | 35 +
9450 src/liblzma/lzma/lzma2_encoder.c | 406 ++++++
9451 src/liblzma/lzma/lzma2_encoder.h | 34 +
9452 src/liblzma/lzma/lzma_common.h | 208 +++-
9453 src/liblzma/lzma/lzma_decoder.c | 1306 ++++++++++++--------
9454 src/liblzma/lzma/lzma_decoder.h | 21 +-
9455 src/liblzma/lzma/lzma_encoder.c | 576 +++++++--
9456 src/liblzma/lzma/lzma_encoder.h | 38 +-
9457 src/liblzma/lzma/lzma_encoder_features.c | 2 +-
9458 src/liblzma/lzma/lzma_encoder_getoptimum.c | 925 --------------
9459 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 ---
9460 src/liblzma/lzma/lzma_encoder_init.c | 228 ----
9461 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 193 +++
9462 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 875 +++++++++++++
9463 src/liblzma/lzma/lzma_encoder_presets.c | 52 +-
9464 src/liblzma/lzma/lzma_encoder_private.h | 174 +--
9465 src/liblzma/lzma/lzma_literal.c | 51 -
9466 src/liblzma/lzma/lzma_literal.h | 71 --
9467 src/liblzma/rangecoder/Makefile.am | 10 +-
9468 src/liblzma/rangecoder/price.h | 111 ++
9469 src/liblzma/rangecoder/price_table.c | 84 +-
9470 src/liblzma/rangecoder/price_table_gen.c | 55 -
9471 src/liblzma/rangecoder/price_table_init.c | 33 +-
9472 src/liblzma/rangecoder/price_tablegen.c | 56 +
9473 src/liblzma/rangecoder/range_common.h | 17 +-
9474 src/liblzma/rangecoder/range_decoder.h | 209 ++--
9475 src/liblzma/rangecoder/range_encoder.h | 92 +-
9476 src/liblzma/simple/Makefile.am | 12 +
9477 src/liblzma/simple/simple_coder.c | 8 +-
9478 src/liblzma/simple/simple_decoder.c | 47 +
9479 src/liblzma/simple/simple_decoder.h | 29 +
9480 src/liblzma/simple/simple_encoder.c | 45 +
9481 src/liblzma/simple/simple_encoder.h | 30 +
9482 src/liblzma/subblock/Makefile.am | 4 +-
9483 src/liblzma/subblock/subblock_decoder.c | 20 +-
9484 src/liblzma/subblock/subblock_decoder_helper.c | 2 +-
9485 src/liblzma/subblock/subblock_encoder.c | 28 +-
9486 src/lzma/args.c | 35 +-
9487 src/lzma/args.h | 4 +-
9488 src/lzma/options.c | 14 +-
9489 src/lzma/process.c | 88 +-
9490 src/lzmadec/lzmadec.c | 157 +--
9491 tests/Makefile.am | 1 +
9492 tests/files/README | 303 ++---
9493 tests/files/bad-0-backward_size.lzma | Bin 0 -> 32 bytes
9494 tests/files/bad-0-empty-truncated.lzma | Bin 0 -> 31 bytes
9495 tests/files/bad-0-nonempty_index.lzma | Bin 0 -> 32 bytes
9496 tests/files/bad-0cat-alone.lzma | Bin 0 -> 55 bytes
9497 tests/files/bad-0catpad-empty.lzma | Bin 0 -> 69 bytes
9498 tests/files/bad-0pad-empty.lzma | Bin 0 -> 37 bytes
9499 tests/files/bad-1-block_header-1.lzma | Bin 0 -> 64 bytes
9500 tests/files/bad-1-block_header-2.lzma | Bin 0 -> 64 bytes
9501 tests/files/bad-1-block_header-3.lzma | Bin 0 -> 68 bytes
9502 tests/files/bad-1-block_header-4.lzma | Bin 0 -> 72 bytes
9503 tests/files/bad-1-check-crc32.lzma | Bin 0 -> 68 bytes
9504 tests/files/bad-1-check-crc64.lzma | Bin 0 -> 72 bytes
9505 tests/files/bad-1-check-sha256.lzma | Bin 0 -> 96 bytes
9506 tests/files/bad-1-lzma2-1.lzma | Bin 0 -> 64 bytes
9507 tests/files/bad-1-lzma2-2.lzma | Bin 0 -> 424 bytes
9508 tests/files/bad-1-lzma2-3.lzma | Bin 0 -> 424 bytes
9509 tests/files/bad-1-lzma2-4.lzma | Bin 0 -> 408 bytes
9510 tests/files/bad-1-lzma2-5.lzma | Bin 0 -> 408 bytes
9511 tests/files/bad-1-lzma2-6.lzma | Bin 0 -> 68 bytes
9512 tests/files/bad-1-lzma2-7.lzma | Bin 0 -> 408 bytes
9513 tests/files/bad-1-stream_flags-1.lzma | Bin 0 -> 68 bytes
9514 tests/files/bad-1-stream_flags-2.lzma | Bin 0 -> 68 bytes
9515 tests/files/bad-1-stream_flags-3.lzma | Bin 0 -> 68 bytes
9516 tests/files/bad-1-vli-1.lzma | Bin 0 -> 72 bytes
9517 tests/files/bad-1-vli-2.lzma | Bin 0 -> 72 bytes
9518 tests/files/bad-2-compressed_data_padding.lzma | Bin 0 -> 92 bytes
9519 tests/files/bad-2-index-1.lzma | Bin 0 -> 92 bytes
9520 tests/files/bad-2-index-2.lzma | Bin 0 -> 92 bytes
9521 tests/files/bad-2-index-3.lzma | Bin 0 -> 92 bytes
9522 tests/files/bad-2-index-4.lzma | Bin 0 -> 92 bytes
9523 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 65 -> 0 bytes
9524 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 65 -> 0 bytes
9525 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 65 -> 0 bytes
9526 tests/files/bad-multi-none-1.lzma | Bin 54 -> 0 bytes
9527 tests/files/bad-multi-none-2.lzma | Bin 53 -> 0 bytes
9528 tests/files/bad-multi-none-3.lzma | Bin 53 -> 0 bytes
9529 tests/files/bad-multi-none-block_1.lzma | Bin 66 -> 0 bytes
9530 tests/files/bad-multi-none-block_2.lzma | Bin 66 -> 0 bytes
9531 tests/files/bad-multi-none-block_3.lzma | Bin 58 -> 0 bytes
9532 tests/files/bad-multi-none-extra_1.lzma | Bin 54 -> 0 bytes
9533 tests/files/bad-multi-none-extra_2.lzma | Bin 54 -> 0 bytes
9534 tests/files/bad-multi-none-extra_3.lzma | Bin 55 -> 0 bytes
9535 tests/files/bad-multi-none-header_1.lzma | Bin 57 -> 0 bytes
9536 tests/files/bad-multi-none-header_2.lzma | Bin 61 -> 0 bytes
9537 tests/files/bad-multi-none-header_3.lzma | Bin 59 -> 0 bytes
9538 tests/files/bad-multi-none-header_4.lzma | Bin 59 -> 0 bytes
9539 tests/files/bad-multi-none-header_5.lzma | Bin 58 -> 0 bytes
9540 tests/files/bad-multi-none-header_6.lzma | Bin 59 -> 0 bytes
9541 tests/files/bad-multi-none-header_7.lzma | Bin 59 -> 0 bytes
9542 tests/files/bad-multi-none-index_1.lzma | Bin 51 -> 0 bytes
9543 tests/files/bad-multi-none-index_2.lzma | Bin 49 -> 0 bytes
9544 tests/files/bad-multi-none-index_3.lzma | Bin 51 -> 0 bytes
9545 tests/files/bad-multi-none-index_4.lzma | Bin 51 -> 0 bytes
9546 tests/files/bad-single-data_after_eopm_1.lzma | Bin 55 -> 0 bytes
9547 tests/files/bad-single-data_after_eopm_2.lzma | Bin 56 -> 0 bytes
9548 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 53 -> 0 bytes
9549 tests/files/bad-single-lzma-flush_twice.lzma | Bin 63 -> 0 bytes
9550 tests/files/bad-single-none-empty.lzma | Bin 19 -> 0 bytes
9551 .../files/bad-single-none-footer_filter_flags.lzma | Bin 30 -> 0 bytes
9552 tests/files/bad-single-none-too_long_vli.lzma | Bin 39 -> 0 bytes
9553 tests/files/bad-single-none-truncated.lzma | Bin 29 -> 0 bytes
9554 tests/files/bad-single-subblock-padding_loop.lzma | Bin 43 -> 0 bytes
9555 tests/files/bad-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes
9556 tests/files/bad-single-subblock_subblock.lzma | Bin 26 -> 0 bytes
9557 tests/files/good-0-empty.lzma | Bin 0 -> 32 bytes
9558 tests/files/good-0cat-empty.lzma | Bin 0 -> 64 bytes
9559 tests/files/good-0catpad-empty.lzma | Bin 0 -> 68 bytes
9560 tests/files/good-0pad-empty.lzma | Bin 0 -> 36 bytes
9561 tests/files/good-1-3delta-lzma2.lzma | Bin 0 -> 528 bytes
9562 tests/files/good-1-block_header-1.lzma | Bin 0 -> 72 bytes
9563 tests/files/good-1-block_header-2.lzma | Bin 0 -> 68 bytes
9564 tests/files/good-1-block_header-3.lzma | Bin 0 -> 68 bytes
9565 tests/files/good-1-check-crc32.lzma | Bin 0 -> 68 bytes
9566 tests/files/good-1-check-crc64.lzma | Bin 0 -> 72 bytes
9567 tests/files/good-1-check-none.lzma | Bin 0 -> 64 bytes
9568 tests/files/good-1-check-sha256.lzma | Bin 0 -> 96 bytes
9569 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 0 -> 51312 bytes
9570 tests/files/good-1-lzma2-1.lzma | Bin 0 -> 424 bytes
9571 tests/files/good-1-lzma2-2.lzma | Bin 0 -> 424 bytes
9572 tests/files/good-1-lzma2-3.lzma | Bin 0 -> 408 bytes
9573 tests/files/good-1-sparc-lzma2.lzma | Bin 0 -> 2292 bytes
9574 tests/files/good-1-x86-lzma2.lzma | Bin 0 -> 1936 bytes
9575 tests/files/good-2-lzma2.lzma | Bin 0 -> 92 bytes
9576 tests/files/good-cat-single-none-pad.lzma | Bin 64 -> 0 bytes
9577 tests/files/good-multi-none-1.lzma | Bin 75 -> 0 bytes
9578 tests/files/good-multi-none-2.lzma | Bin 53 -> 0 bytes
9579 tests/files/good-multi-none-block_1.lzma | Bin 66 -> 0 bytes
9580 tests/files/good-multi-none-block_2.lzma | Bin 58 -> 0 bytes
9581 tests/files/good-multi-none-extra_1.lzma | Bin 51 -> 0 bytes
9582 tests/files/good-multi-none-extra_2.lzma | Bin 79 -> 0 bytes
9583 tests/files/good-multi-none-extra_3.lzma | Bin 55 -> 0 bytes
9584 tests/files/good-multi-none-header_1.lzma | Bin 58 -> 0 bytes
9585 tests/files/good-multi-none-header_2.lzma | Bin 66 -> 0 bytes
9586 tests/files/good-multi-none-header_3.lzma | Bin 59 -> 0 bytes
9587 tests/files/good-single-delta-lzma.tiff.lzma | Bin 51409 -> 0 bytes
9588 tests/files/good-single-lzma-empty.lzma | Bin 21 -> 0 bytes
9589 tests/files/good-single-lzma-flush_1.lzma | Bin 48 -> 0 bytes
9590 tests/files/good-single-lzma-flush_2.lzma | Bin 63 -> 0 bytes
9591 tests/files/good-single-lzma.lzma | Bin 44 -> 0 bytes
9592 tests/files/good-single-none-empty_1.lzma | Bin 18 -> 0 bytes
9593 tests/files/good-single-none-empty_2.lzma | Bin 26 -> 0 bytes
9594 tests/files/good-single-none-empty_3.lzma | Bin 19 -> 0 bytes
9595 tests/files/good-single-none-pad.lzma | Bin 32 -> 0 bytes
9596 tests/files/good-single-none.lzma | Bin 30 -> 0 bytes
9597 tests/files/good-single-sparc-lzma.lzma | Bin 2263 -> 0 bytes
9598 tests/files/good-single-subblock-lzma.lzma | Bin 50 -> 0 bytes
9599 tests/files/good-single-subblock_implicit.lzma | Bin 35 -> 0 bytes
9600 tests/files/good-single-subblock_rle.lzma | Bin 118 -> 0 bytes
9601 tests/files/good-single-x86-lzma.lzma | Bin 1909 -> 0 bytes
9602 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 51 -> 0 bytes
9603 tests/files/malicious-single-subblock-256MiB.lzma | Bin 30 -> 0 bytes
9604 tests/files/malicious-single-subblock-64PiB.lzma | Bin 45 -> 0 bytes
9605 tests/files/malicious-single-subblock31-slow.lzma | Bin 1233 -> 0 bytes
9606 tests/files/unsupported-block_header.lzma | Bin 0 -> 68 bytes
9607 tests/files/unsupported-check.lzma | Bin 0 -> 68 bytes
9608 tests/files/unsupported-filter_flags-1.lzma | Bin 0 -> 68 bytes
9609 tests/files/unsupported-filter_flags-2.lzma | Bin 0 -> 68 bytes
9610 tests/files/unsupported-filter_flags-3.lzma | Bin 0 -> 68 bytes
9611 tests/test_block_header.c | 28 +-
9612 tests/test_compress.sh | 4 +-
9613 tests/test_filter_flags.c | 51 +-
9614 tests/test_stream_flags.c | 4 +-
9616 294 files changed, 9768 insertions(+), 8195 deletions(-)
9618 commit 57b9a145a527f0716822615e5ed536d33aebd3fc
9619 Author: Lasse Collin <lasse.collin@tukaani.org>
9620 Date: 2008-06-20 17:16:32 +0300
9622 Fix test_filter_flags to match the new restriction of lc+lp.
9624 tests/test_filter_flags.c | 3 +++
9625 1 file changed, 3 insertions(+)
9627 commit eaafc4367c77ec1d910e16d11b4da293969d97a3
9628 Author: Lasse Collin <lasse.collin@tukaani.org>
9629 Date: 2008-06-20 16:19:54 +0300
9631 Remove some redundant code from LZMA encoder.
9633 src/liblzma/lzma/lzma_encoder.c | 15 +--------------
9634 1 file changed, 1 insertion(+), 14 deletions(-)
9636 commit 0809c46534fa5664fe35d9e98d95e87312ed130e
9637 Author: Lasse Collin <lasse.collin@tukaani.org>
9638 Date: 2008-06-19 16:35:08 +0300
9640 Add limit of lc + lp <= 4. Now we can allocate the
9641 literal coder as part of the main LZMA encoder or
9644 Make the LZMA decoder to rely on the current internal API
9645 to free the allocated memory in case an error occurs.
9647 src/liblzma/api/lzma/lzma.h | 10 +++++-
9648 src/liblzma/lzma/lzma_decoder.c | 57 ++++++++-------------------------
9649 src/liblzma/lzma/lzma_encoder_init.c | 13 ++++----
9650 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
9651 src/liblzma/lzma/lzma_literal.c | 39 +++++-----------------
9652 src/liblzma/lzma/lzma_literal.h | 13 +++-----
9653 6 files changed, 43 insertions(+), 91 deletions(-)
9655 commit d25ab1b96178f06a0e724f58e3cd68300b2b1275
9656 Author: Lasse Collin <lasse.collin@tukaani.org>
9657 Date: 2008-06-18 21:45:19 +0300
9661 src/liblzma/lzma/lzma_encoder.c | 7 ++-----
9662 1 file changed, 2 insertions(+), 5 deletions(-)
9664 commit 6368a2fa5901c75864be5171dd57a50af7adbb41
9665 Author: Lasse Collin <lasse.collin@tukaani.org>
9666 Date: 2008-06-18 19:19:02 +0300
9668 Delete old code that was supposed to be already deleted
9669 from test_block_header.c.
9671 tests/test_block_header.c | 30 ------------------------------
9672 1 file changed, 30 deletions(-)
9674 commit 7d17818cec8597f847b0a2537fde991bbc3d9e96
9675 Author: Lasse Collin <lasse.collin@tukaani.org>
9676 Date: 2008-06-18 18:02:10 +0300
9678 Update the code to mostly match the new simpler file format
9679 specification. Simplify things by removing most of the
9680 support for known uncompressed size in most places.
9681 There are some miscellaneous changes here and there too.
9683 The API of liblzma has got many changes and still some
9684 more will be done soon. While most of the code has been
9685 updated, some things are not fixed (the command line tool
9686 will choke with invalid filter chain, if nothing else).
9688 Subblock filter is somewhat broken for now. It will be
9689 updated once the encoded format of the Subblock filter
9692 configure.ac | 41 +-
9693 debug/full_flush.c | 16 +-
9694 debug/sync_flush.c | 15 +-
9695 src/common/bswap.h | 44 ++
9696 src/common/integer.h | 167 +++++
9697 src/liblzma/api/Makefile.am | 5 +-
9698 src/liblzma/api/lzma.h | 9 +-
9699 src/liblzma/api/lzma/alone.h | 32 +-
9700 src/liblzma/api/lzma/auto.h | 7 +-
9701 src/liblzma/api/lzma/base.h | 15 +
9702 src/liblzma/api/lzma/block.h | 306 +++-------
9703 src/liblzma/api/lzma/check.h | 18 +-
9704 src/liblzma/api/lzma/copy.h | 29 -
9705 src/liblzma/api/lzma/easy.h | 61 +-
9706 src/liblzma/api/lzma/extra.h | 114 ----
9707 src/liblzma/api/lzma/filter.h | 5 +-
9708 src/liblzma/api/lzma/index.h | 204 ++++++-
9709 src/liblzma/api/lzma/index_hash.h | 94 +++
9710 src/liblzma/api/lzma/info.h | 315 ----------
9711 src/liblzma/api/lzma/lzma.h | 2 +-
9712 src/liblzma/api/lzma/metadata.h | 100 ---
9713 src/liblzma/api/lzma/raw.h | 20 +-
9714 src/liblzma/api/lzma/stream.h | 157 +----
9715 src/liblzma/api/lzma/stream_flags.h | 146 +++--
9716 src/liblzma/api/lzma/version.h | 2 +-
9717 src/liblzma/api/lzma/vli.h | 83 ++-
9718 src/liblzma/check/Makefile.am | 1 -
9719 src/liblzma/check/check.c | 55 +-
9720 src/liblzma/check/check.h | 47 +-
9721 src/liblzma/check/check_byteswap.h | 43 --
9722 src/liblzma/check/crc32_init.c | 2 +-
9723 src/liblzma/check/crc64_init.c | 2 +-
9724 src/liblzma/check/crc_macros.h | 2 +-
9725 src/liblzma/check/sha256.c | 53 +-
9726 src/liblzma/common/Makefile.am | 31 +-
9727 src/liblzma/common/alignment.c | 5 +-
9728 src/liblzma/common/alone_decoder.c | 77 +--
9729 src/liblzma/common/alone_encoder.c | 99 ++-
9730 src/liblzma/common/auto_decoder.c | 18 +-
9731 src/liblzma/common/block_decoder.c | 298 +++------
9732 src/liblzma/common/block_encoder.c | 228 ++-----
9733 src/liblzma/common/block_header_decoder.c | 400 +++---------
9734 src/liblzma/common/block_header_encoder.c | 207 +++----
9735 src/liblzma/common/block_private.h | 51 +-
9736 src/liblzma/common/block_util.c | 73 +++
9737 src/liblzma/common/common.h | 44 +-
9738 src/liblzma/common/copy_coder.c | 144 -----
9739 src/liblzma/common/copy_coder.h | 31 -
9740 src/liblzma/common/delta_common.c | 4 -
9741 src/liblzma/common/delta_common.h | 4 -
9742 src/liblzma/common/delta_decoder.c | 55 +-
9743 src/liblzma/common/delta_encoder.c | 7 +-
9744 src/liblzma/common/easy.c | 122 ++++
9745 src/liblzma/common/easy_common.c | 54 --
9746 src/liblzma/common/easy_common.h | 28 -
9747 src/liblzma/common/easy_multi.c | 103 ----
9748 src/liblzma/common/easy_single.c | 37 --
9749 src/liblzma/common/extra.c | 34 --
9750 src/liblzma/common/features.c | 4 -
9751 src/liblzma/common/filter_flags_decoder.c | 384 ++++--------
9752 src/liblzma/common/filter_flags_encoder.c | 120 +---
9753 src/liblzma/common/index.c | 773 ++++++++++++++++++++---
9754 src/liblzma/common/index.h | 67 ++
9755 src/liblzma/common/index_decoder.c | 252 ++++++++
9756 src/liblzma/common/index_encoder.c | 222 +++++++
9757 src/liblzma/common/index_encoder.h | 30 +
9758 src/liblzma/common/index_hash.c | 340 +++++++++++
9759 src/liblzma/common/info.c | 814 -------------------------
9760 src/liblzma/common/memory_usage.c | 1 -
9761 src/liblzma/common/metadata_decoder.c | 578 ------------------
9762 src/liblzma/common/metadata_decoder.h | 31 -
9763 src/liblzma/common/metadata_encoder.c | 435 -------------
9764 src/liblzma/common/metadata_encoder.h | 30 -
9765 src/liblzma/common/raw_common.c | 178 ++----
9766 src/liblzma/common/raw_common.h | 5 +-
9767 src/liblzma/common/raw_decoder.c | 19 +-
9768 src/liblzma/common/raw_decoder.h | 3 +-
9769 src/liblzma/common/raw_encoder.c | 101 +--
9770 src/liblzma/common/raw_encoder.h | 3 +-
9771 src/liblzma/common/stream_common.h | 3 +
9772 src/liblzma/common/stream_decoder.c | 458 +++++---------
9773 src/liblzma/common/stream_decoder.h | 28 +
9774 src/liblzma/common/stream_encoder.c | 282 +++++++++
9775 src/liblzma/common/stream_encoder.h | 30 +
9776 src/liblzma/common/stream_encoder_multi.c | 445 --------------
9777 src/liblzma/common/stream_encoder_multi.h | 26 -
9778 src/liblzma/common/stream_encoder_single.c | 219 -------
9779 src/liblzma/common/stream_flags_decoder.c | 260 ++------
9780 src/liblzma/common/stream_flags_encoder.c | 56 +-
9781 src/liblzma/common/stream_flags_equal.c | 36 ++
9782 src/liblzma/common/vli_decoder.c | 68 ++-
9783 src/liblzma/common/vli_encoder.c | 59 +-
9784 src/liblzma/common/vli_reverse_decoder.c | 55 --
9785 src/liblzma/lz/lz_decoder.c | 6 +-
9786 src/liblzma/lz/lz_decoder.h | 10 +-
9787 src/liblzma/lzma/lzma_decoder.c | 13 +-
9788 src/liblzma/lzma/lzma_decoder.h | 10 +-
9789 src/liblzma/simple/simple_coder.c | 29 +-
9790 src/liblzma/simple/simple_private.h | 4 -
9791 src/liblzma/subblock/subblock_decoder.c | 106 +---
9792 src/liblzma/subblock/subblock_decoder_helper.c | 5 +-
9793 src/liblzma/subblock/subblock_encoder.c | 8 +-
9794 src/lzma/args.c | 22 +-
9795 src/lzma/args.h | 2 -
9796 src/lzma/error.c | 6 +
9797 src/lzma/process.c | 26 +-
9798 src/lzmadec/lzmadec.c | 8 +-
9799 tests/Makefile.am | 5 +-
9800 tests/test_block_header.c | 411 +++++--------
9801 tests/test_compress.sh | 65 +-
9802 tests/test_filter_flags.c | 116 ++--
9803 tests/test_index.c | 504 ++++++++++++++-
9804 tests/test_info.c | 717 ----------------------
9805 tests/test_stream_flags.c | 134 ++--
9806 tests/tests.h | 14 +-
9807 115 files changed, 4846 insertions(+), 8156 deletions(-)
9809 commit bf6348d1a3ff09fdc06940468f318f75ffa6af11
9810 Author: Lasse Collin <lasse.collin@tukaani.org>
9811 Date: 2008-06-17 15:03:46 +0300
9813 Update the file format specification draft. The new one is
9814 a lot simpler than the previous versions, but it also means
9815 that the existing code will change a lot.
9817 doc/file-format.txt | 1794 +++++++++++++++------------------------------------
9818 1 file changed, 508 insertions(+), 1286 deletions(-)
9820 commit 803194ddd26f01ff60ba4e9924c6087a56b29827
9821 Author: Lasse Collin <lasse.collin@tukaani.org>
9822 Date: 2008-06-11 21:42:47 +0300
9824 Fix uninitialized variable in LZMA encoder. This was
9825 introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f.
9827 src/liblzma/lzma/lzma_encoder_init.c | 2 ++
9828 1 file changed, 2 insertions(+)
9830 commit 0ea98e52ba87453497b1355c51f13bad55c8924a
9831 Author: Lasse Collin <lasse.collin@tukaani.org>
9832 Date: 2008-06-11 15:08:44 +0300
9834 Improve command line integer parsing a little in lzma and
9835 lzmadec to make them accept also KiB in addition Ki etc.
9836 Fix also memory usage information in lzmadec --help.
9838 src/lzma/util.c | 23 ++++++++++++++---------
9839 src/lzmadec/lzmadec.c | 31 ++++++++++++++++++-------------
9840 2 files changed, 32 insertions(+), 22 deletions(-)
9842 commit 436fa5fae96d4e35759aed33066060f09ee8c6ef
9843 Author: Lasse Collin <lasse.collin@tukaani.org>
9844 Date: 2008-06-10 20:36:12 +0300
9846 s/decompressed/compressed/ in the command line tool's
9849 src/lzma/main.c | 2 +-
9850 1 file changed, 1 insertion(+), 1 deletion(-)
9852 commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f
9853 Author: Lasse Collin <lasse.collin@tukaani.org>
9854 Date: 2008-06-01 12:48:17 +0300
9856 Fix a buffer overflow in the LZMA encoder. It was due to my
9857 misunderstanding of the code. There's no tiny fix for this
9858 problem, so I also cleaned up the code in general.
9860 This reduces the speed of the encoder 2-5 % in the fastest
9861 compression mode ("lzma -1"). High compression modes should
9862 have no noticeable performance difference.
9864 This commit breaks things (especially LZMA_SYNC_FLUSH) but I
9865 will fix them once the new format and LZMA2 has been roughly
9866 implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all
9867 and won't be supported in the new .lzma format. This may
9868 change still but this is what it looks like now.
9870 Support for known uncompressed size (that is, LZMA or LZMA2
9871 without EOPM) is likely to go away. This means there will
9874 src/liblzma/lz/lz_encoder.c | 113 +----
9875 src/liblzma/lz/lz_encoder.h | 18 +-
9876 src/liblzma/lzma/lzma_encoder.c | 551 ++++++++++++-------------
9877 src/liblzma/lzma/lzma_encoder_getoptimum.c | 59 ++-
9878 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 4 +-
9879 src/liblzma/lzma/lzma_encoder_init.c | 9 +-
9880 src/liblzma/lzma/lzma_encoder_private.h | 15 +-
9881 src/liblzma/rangecoder/range_encoder.h | 383 +++++++++--------
9882 8 files changed, 532 insertions(+), 620 deletions(-)
9884 commit e55e0e873ce2511325749d415ae547d62ab5f00d
9885 Author: Lasse Collin <lasse.collin@tukaani.org>
9886 Date: 2008-05-30 11:53:41 +0300
9888 Typo fixes from meyering.
9890 doc/faq.txt | 4 ++--
9891 doc/liblzma-advanced.txt | 2 +-
9892 2 files changed, 3 insertions(+), 3 deletions(-)
9894 commit ed6664146fcbe9cc4a3b23b31632182ed812ea93
9895 Author: Lasse Collin <lasse.collin@tukaani.org>
9896 Date: 2008-05-11 14:24:42 +0300
9898 Remove support for pre-C89 libc versions that lack memcpy,
9899 memmove, and memset.
9902 src/common/sysdefs.h | 15 ++-------------
9903 src/liblzma/common/allocator.c | 2 +-
9904 3 files changed, 4 insertions(+), 15 deletions(-)
9906 commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63
9907 Author: Lasse Collin <lasse.collin@tukaani.org>
9908 Date: 2008-05-11 14:17:21 +0300
9910 Improved C99 compiler detection in configure.ac. It will
9911 pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic
9912 should still give warnings about GNU extensions like before
9913 except with some special keywords like asm().
9915 configure.ac | 24 ++++++++++++------------
9916 1 file changed, 12 insertions(+), 12 deletions(-)
9918 commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf
9919 Author: Lasse Collin <lasse.collin@tukaani.org>
9920 Date: 2008-05-06 15:15:07 +0300
9922 Bunch of grammar fixes from meyering.
9924 doc/liblzma-security.txt | 8 ++++----
9925 src/liblzma/api/lzma/memlimit.h | 6 +++---
9926 src/lzma/help.c | 2 +-
9927 tests/files/README | 2 +-
9928 4 files changed, 9 insertions(+), 9 deletions(-)
9930 commit dc192b6343ae36276c85fcf7ef6006147816eadc
9931 Author: Lasse Collin <lasse.collin@tukaani.org>
9932 Date: 2008-05-06 13:41:05 +0300
9936 src/liblzma/api/lzma/init.h | 2 +-
9937 1 file changed, 1 insertion(+), 1 deletion(-)
9939 commit 944b62b93239b27b338d117f2668c0e95849659b
9940 Author: Lasse Collin <lasse.collin@tukaani.org>
9941 Date: 2008-05-04 22:29:27 +0300
9943 Don't print an error message on broken pipe unless --verbose
9946 src/lzma/io.c | 15 ++++++++++++++-
9947 1 file changed, 14 insertions(+), 1 deletion(-)
9949 commit 8e074349e47ea6832b8fdf9244e581d453733433
9950 Author: Lasse Collin <lasse.collin@tukaani.org>
9951 Date: 2008-04-30 22:16:17 +0300
9953 Fix a crash with --format=alone if other filters than LZMA
9954 are specified on the command line.
9956 src/lzma/args.c | 9 +++++++++
9957 1 file changed, 9 insertions(+)
9959 commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73
9960 Author: Lasse Collin <lasse.collin@tukaani.org>
9961 Date: 2008-04-28 17:08:27 +0300
9966 1 file changed, 1 insertion(+)
9968 commit 3be21fb12f4cec2cf07799e8960382f4cb375369
9969 Author: Lasse Collin <lasse.collin@tukaani.org>
9970 Date: 2008-04-28 17:06:34 +0300
9972 Fixed wrong spelling "limitter" to "limiter". This affects
9975 doc/liblzma-security.txt | 14 +-
9976 src/liblzma/api/lzma/base.h | 4 +-
9977 src/liblzma/api/lzma/memlimit.h | 10 +-
9978 src/liblzma/api/lzma/stream.h | 4 +-
9979 src/liblzma/common/Makefile.am | 2 +-
9980 src/liblzma/common/memory_limiter.c | 288 +++++++++++++++++++++++++++++++++++
9981 src/liblzma/common/memory_limitter.c | 288 -----------------------------------
9982 src/lzma/list.c | 6 +-
9983 src/lzmadec/lzmadec.c | 12 +-
9984 tests/test_memlimit.c | 4 +-
9985 10 files changed, 316 insertions(+), 316 deletions(-)
9987 commit beeb81060821dfec4e7898e0d44b7900dcb2215e
9988 Author: Lasse Collin <lasse.collin@tukaani.org>
9989 Date: 2008-04-25 15:39:50 +0300
9991 Prevent LZ encoder from hanging with known uncompressed
9992 size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream
9993 with known uncompressed size, but since it currently seems
9994 likely that support for encoding with known uncompressed
9995 size will go away anyway, I'm not fixing this problem now.
9997 src/liblzma/lz/lz_encoder.c | 9 +++++++--
9998 1 file changed, 7 insertions(+), 2 deletions(-)
10000 commit c324325f9f13cdeb92153c5d00962341ba070ca2
10001 Author: Lasse Collin <lasse.collin@tukaani.org>
10002 Date: 2008-04-25 13:58:56 +0300
10004 Removed src/liblzma/common/sysdefs.h symlink, which was
10005 annoying, because "make dist" put two copies of sysdefs.h
10006 into the tarball instead of the symlink.
10008 src/liblzma/check/crc32_table.c | 2 +-
10009 src/liblzma/check/crc64_table.c | 2 +-
10010 src/liblzma/common/Makefile.am | 1 -
10011 src/liblzma/common/common.h | 2 +-
10012 src/liblzma/common/sysdefs.h | 1 -
10013 5 files changed, 3 insertions(+), 5 deletions(-)
10015 commit d3ba30243c75c13d094de1793f9c58acdbacc692
10016 Author: Lasse Collin <lasse.collin@tukaani.org>
10017 Date: 2008-04-25 13:41:29 +0300
10019 Added memusage.c to debug directory.
10021 debug/Makefile.am | 3 ++-
10022 debug/memusage.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
10023 2 files changed, 57 insertions(+), 1 deletion(-)
10025 commit 8f804c29aa8471ccd6438ddca254092b8869ca52
10026 Author: Lasse Collin <lasse.collin@tukaani.org>
10027 Date: 2008-04-25 13:32:35 +0300
10029 Bumped version number to 4.999.3alpha. It will become 5.0.0
10030 once we have a stable release (won't be very soon). The
10031 version number is no longer related to version of LZMA SDK.
10033 Made some small Automake-related changes to toplevel
10034 Makefile.am and configure.ac.
10036 Makefile.am | 7 +++++--
10037 README | 29 +++++++++++++++++++++++++++++
10038 configure.ac | 4 ++--
10039 src/liblzma/api/lzma/version.h | 22 ++++++++++------------
10040 4 files changed, 46 insertions(+), 16 deletions(-)
10042 commit c99037ea10f121cbacf60c37a36c29768ae53447
10043 Author: Lasse Collin <lasse.collin@tukaani.org>
10044 Date: 2008-04-24 20:25:39 +0300
10046 Fix a memory leak by calling free(extra->data) in
10049 src/liblzma/common/extra.c | 1 +
10050 1 file changed, 1 insertion(+)
10052 commit 22ba3b0b5043fa481903482ce85015fe775939e5
10053 Author: Lasse Collin <lasse.collin@tukaani.org>
10054 Date: 2008-04-24 20:23:05 +0300
10056 Make unlzma and lzcat symlinks.
10058 src/lzma/Makefile.am | 12 ++++++++++++
10059 1 file changed, 12 insertions(+)
10061 commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e
10062 Author: Lasse Collin <lasse.collin@tukaani.org>
10063 Date: 2008-04-24 20:20:27 +0300
10065 Fixed a bug in command line option parsing.
10067 src/lzma/options.c | 2 +-
10068 1 file changed, 1 insertion(+), 1 deletion(-)
10070 commit 283f939974c32c47f05d495e8dea455ec646ed64
10071 Author: Lasse Collin <lasse.collin@tukaani.org>
10072 Date: 2008-04-24 20:19:20 +0300
10074 Added two assert()s.
10076 src/liblzma/lzma/lzma_encoder.c | 4 +++-
10077 1 file changed, 3 insertions(+), 1 deletion(-)
10079 commit eb348a60b6e19a7c093f892434f23c4756973ffd
10080 Author: Lasse Collin <lasse.collin@tukaani.org>
10081 Date: 2008-04-24 19:22:53 +0300
10083 Switch to uint16_t as the type of range coder probabilities.
10085 src/liblzma/rangecoder/range_common.h | 25 +++++++++++++++++++------
10086 1 file changed, 19 insertions(+), 6 deletions(-)
10088 commit 6c5306e312bcfd254cf654f88c04e34ba786df3d
10089 Author: Lasse Collin <lasse.collin@tukaani.org>
10090 Date: 2008-04-24 18:39:57 +0300
10092 Fix wrong return type (uint32_t -> bool).
10094 src/liblzma/lz/lz_encoder.c | 2 +-
10095 src/liblzma/lz/lz_encoder.h | 2 +-
10096 2 files changed, 2 insertions(+), 2 deletions(-)
10098 commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8
10099 Author: Lasse Collin <lasse.collin@tukaani.org>
10100 Date: 2008-04-24 18:38:00 +0300
10102 Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH.
10104 src/liblzma/lz/lz_encoder.c | 16 ++++++++++++++++
10105 src/liblzma/lz/lz_encoder.h | 4 ++++
10106 src/liblzma/lz/match_c.h | 23 ++++++++++++++++++-----
10107 3 files changed, 38 insertions(+), 5 deletions(-)
10109 commit bc04486e368d20b3027cde625267762aae063965
10110 Author: Lasse Collin <lasse.collin@tukaani.org>
10111 Date: 2008-04-24 17:33:01 +0300
10113 Fix fastpos problem in Makefile.am when built with --enable-small.
10115 src/liblzma/lzma/Makefile.am | 5 ++++-
10116 1 file changed, 4 insertions(+), 1 deletion(-)
10118 commit 7ab493924e0ed590a5121a15ee54038d238880d3
10119 Author: Lasse Collin <lasse.collin@tukaani.org>
10120 Date: 2008-04-24 17:30:51 +0300
10122 Use 64-bit integer as range encoder's cache size. This fixes a
10123 theoretical data corruption, which should be very hard to trigger
10124 even intentionally.
10126 src/liblzma/rangecoder/range_encoder.h | 2 +-
10127 1 file changed, 1 insertion(+), 1 deletion(-)
10129 commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b
10130 Author: Lasse Collin <lasse.collin@tukaani.org>
10131 Date: 2008-03-24 16:38:40 +0200
10133 Replaced the range decoder optimization that used arithmetic
10134 right shift with as fast version that doesn't need
10135 arithmetic right shift. Removed the related check from
10139 m4/ax_c_arithmetic_rshift.m4 | 36 -----------------------
10140 src/liblzma/rangecoder/range_decoder.h | 53 ++++++++++------------------------
10141 3 files changed, 16 insertions(+), 74 deletions(-)
10143 commit ad999efd279d95f1e7ac555b14170e8e9020488c
10144 Author: Lasse Collin <lasse.collin@tukaani.org>
10145 Date: 2008-03-22 14:39:34 +0200
10147 Take advantage of arithmetic right shift in range decoder.
10149 src/liblzma/rangecoder/range_decoder.h | 52 ++++++++++++++++++++++++----------
10150 1 file changed, 37 insertions(+), 15 deletions(-)
10152 commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d
10153 Author: Lasse Collin <lasse.collin@tukaani.org>
10154 Date: 2008-03-22 14:18:29 +0200
10156 Added autoconf check to detect if we can use arithmetic
10157 right shift for optimizations.
10160 m4/ax_c_arithmetic_rshift.m4 | 36 ++++++++++++++++++++++++++++++++++++
10161 2 files changed, 37 insertions(+)
10163 commit 7521bbdc83acab834594a22bec50c8e1bd836298
10164 Author: Lasse Collin <lasse.collin@tukaani.org>
10165 Date: 2008-03-22 01:26:36 +0200
10167 Update a comment to use the variable name rep_len_decoder.
10169 (And BTW, the previous commit actually did change the
10170 program logic slightly.)
10172 src/liblzma/lzma/lzma_decoder.c | 2 +-
10173 1 file changed, 1 insertion(+), 1 deletion(-)
10175 commit 63b74d000eedaebb8485f623e56864ff5ab71064
10176 Author: Lasse Collin <lasse.collin@tukaani.org>
10177 Date: 2008-03-22 00:57:33 +0200
10179 Demystified the "state" variable in LZMA code. Use the
10180 word literal instead of char for better consistency.
10181 There are still some names with _char instead of _literal
10182 in lzma_optimum, these may be changed later.
10184 Renamed length coder variables.
10186 This commit doesn't change the program logic.
10188 src/liblzma/lzma/lzma_common.h | 69 ++++++++++++++++++++++--------
10189 src/liblzma/lzma/lzma_decoder.c | 47 ++++++++++----------
10190 src/liblzma/lzma/lzma_encoder.c | 14 +++---
10191 src/liblzma/lzma/lzma_encoder_getoptimum.c | 34 +++++++--------
10192 src/liblzma/lzma/lzma_encoder_init.c | 5 ++-
10193 src/liblzma/lzma/lzma_encoder_private.h | 8 ++--
10194 6 files changed, 107 insertions(+), 70 deletions(-)
10196 commit e6eb0a26757e851cef62b9440319a8e73b015cb9
10197 Author: Lasse Collin <lasse.collin@tukaani.org>
10198 Date: 2008-03-14 23:16:11 +0200
10200 Fix data corruption in LZMA encoder. Note that this bug was
10201 specific to liblzma and was *not* present in LZMA SDK.
10203 src/liblzma/lzma/lzma_encoder.c | 4 ++++
10204 1 file changed, 4 insertions(+)
10206 commit 7d516f5129e4373a6d57249d7f608c634c66bf12
10207 Author: Lasse Collin <lasse.collin@tukaani.org>
10208 Date: 2008-03-14 21:32:37 +0200
10210 Fix a comment API header.
10212 src/liblzma/api/lzma/lzma.h | 2 +-
10213 1 file changed, 1 insertion(+), 1 deletion(-)
10215 commit 748d6e4274921a350bd0a317380309717441ef9c
10216 Author: Lasse Collin <lasse.collin@tukaani.org>
10217 Date: 2008-03-12 23:14:50 +0200
10219 Make lzma_stream.next_in const. Let's see if anyone complains.
10221 src/liblzma/api/lzma/base.h | 2 +-
10222 1 file changed, 1 insertion(+), 1 deletion(-)
10224 commit bfde3b24a5ae25ce53c854762b6148952386b025
10225 Author: Lasse Collin <lasse.collin@tukaani.org>
10226 Date: 2008-03-11 15:35:34 +0200
10228 Apply a minor speed optimization to LZMA decoder.
10230 src/liblzma/lzma/lzma_decoder.c | 85 +++++++++++++++++++++--------------------
10231 1 file changed, 43 insertions(+), 42 deletions(-)
10233 commit f310c50286d9e4e9c6170bb65348c9bb430a65b4
10234 Author: Lasse Collin <lasse.collin@tukaani.org>
10235 Date: 2008-03-11 15:17:16 +0200
10237 Initialize the last byte of the dictionary to zero so that
10238 lz_get_byte(lz, 0) returns zero. This was broken by
10239 1a3b21859818e4d8e89a1da99699233c1bfd197d.
10241 src/liblzma/lz/lz_decoder.c | 1 +
10242 1 file changed, 1 insertion(+)
10244 commit 5ead36cf7f823093672a4e43c3180b38c9abbaff
10245 Author: Lasse Collin <lasse.collin@tukaani.org>
10246 Date: 2008-03-10 15:57:55 +0200
10248 Really fix the price count initialization.
10250 src/liblzma/lzma/lzma_encoder_init.c | 4 ++--
10251 1 file changed, 2 insertions(+), 2 deletions(-)
10253 commit d4d7feb83d1a1ded8f662a82e21e053841ca726c
10254 Author: Lasse Collin <lasse.collin@tukaani.org>
10255 Date: 2008-03-10 13:47:17 +0200
10260 1 file changed, 1 insertion(+)
10262 commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258
10263 Author: Lasse Collin <lasse.collin@tukaani.org>
10264 Date: 2008-03-10 13:46:48 +0200
10266 Initialize align_price_count and match_price_count in
10267 lzma_encoder_init.c. While we don't call
10268 fill_distances_prices() and fill_align_prices() in
10269 lzma_lzma_encoder_init(), we still need to initialize
10270 these two variables so that the fill functions get
10271 called in lzma_encoder_getoptimum.c in the beginning
10274 src/liblzma/lzma/lzma_encoder_init.c | 2 ++
10275 1 file changed, 2 insertions(+)
10277 commit 596fa1fac72823e4ef5bc26bb53f9090445bf748
10278 Author: Lasse Collin <lasse.collin@tukaani.org>
10279 Date: 2008-03-10 13:44:29 +0200
10281 Always initialize lz->temp_size in lz_decoder.c. temp_size did
10282 get initialized as a side-effect after allocating a new decoder,
10283 but not when the decoder was reused.
10285 src/liblzma/lz/lz_decoder.c | 11 ++++++-----
10286 1 file changed, 6 insertions(+), 5 deletions(-)
10288 commit 45e43e169527e7a98a8c8a821d37bf25822b764d
10289 Author: Lasse Collin <lasse.collin@tukaani.org>
10290 Date: 2008-03-10 13:41:25 +0200
10292 Don't fill allocated memory with 0xFD when debugging is
10293 enabled. It hides errors from Valgrind.
10295 src/liblzma/common/allocator.c | 7 ++++---
10296 1 file changed, 4 insertions(+), 3 deletions(-)
10298 commit c0e19e0662205f81a86da8903cdc325d50635870
10299 Author: Lasse Collin <lasse.collin@tukaani.org>
10300 Date: 2008-02-28 10:24:31 +0200
10302 Remove two redundant validity checks from the LZMA decoder.
10303 These are already checked elsewhere, so omitting these
10304 gives (very) tiny speed up.
10306 src/liblzma/lzma/lzma_decoder.c | 23 ++++-------------------
10307 1 file changed, 4 insertions(+), 19 deletions(-)
10309 commit de7485806284d1614095ae8cb2ebbb5d74c9ac45
10310 Author: Lasse Collin <lasse.collin@tukaani.org>
10311 Date: 2008-02-06 13:25:32 +0200
10313 Tiny clean up to file-format.txt.
10315 doc/file-format.txt | 6 +++---
10316 1 file changed, 3 insertions(+), 3 deletions(-)
10318 commit 1a3b21859818e4d8e89a1da99699233c1bfd197d
10319 Author: Lasse Collin <lasse.collin@tukaani.org>
10320 Date: 2008-02-02 14:51:06 +0200
10322 Don't memzero() the history buffer when initializing LZ
10323 decoder. There's no danger of information leak here, so
10324 it isn't required. Doing memzero() takes a lot of time
10325 with large dictionaries, which could make it easier to
10326 construct DoS attack to consume too much CPU time.
10328 src/liblzma/lz/lz_decoder.c | 7 +++----
10329 1 file changed, 3 insertions(+), 4 deletions(-)
10331 commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0
10332 Author: Lasse Collin <lasse.collin@tukaani.org>
10333 Date: 2008-02-01 08:39:26 +0200
10335 Do uncompressed size validation in raw encoder. This way
10336 it gets done for not only raw encoder, but also Block
10337 and LZMA_Alone encoders.
10339 src/liblzma/common/raw_encoder.c | 90 ++++++++++++++++++++++++++++++++--------
10340 1 file changed, 73 insertions(+), 17 deletions(-)
10342 commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc
10343 Author: Lasse Collin <lasse.collin@tukaani.org>
10344 Date: 2008-02-01 08:32:05 +0200
10346 Avoid unneeded function call in raw_common.c.
10348 src/liblzma/common/raw_common.c | 20 +++++++++++---------
10349 1 file changed, 11 insertions(+), 9 deletions(-)
10351 commit b596fac963c3ff96f615d4d9b427a213ec341211
10352 Author: Lasse Collin <lasse.collin@tukaani.org>
10353 Date: 2008-01-26 21:42:38 +0200
10358 1 file changed, 1 insertion(+)
10360 commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2
10361 Author: Lasse Collin <lasse.collin@tukaani.org>
10362 Date: 2008-01-26 21:40:23 +0200
10364 Added note.GNU-stack to x86 assembler files. It is needed
10365 when using non-executable stack.
10367 src/liblzma/check/crc32_x86.S | 9 +++++++++
10368 src/liblzma/check/crc64_x86.S | 9 +++++++++
10369 2 files changed, 18 insertions(+)
10371 commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae
10372 Author: Lasse Collin <lasse.collin@tukaani.org>
10373 Date: 2008-01-26 19:12:50 +0200
10375 Added api/lzma/easy.h. I had forgot to add this to the
10376 git repo. Thanks to Stephan Kulow.
10378 src/liblzma/api/lzma/easy.h | 174 ++++++++++++++++++++++++++++++++++++++++++++
10379 1 file changed, 174 insertions(+)
10381 commit 288b232f54c3692cd36f471d4042f51daf3ea79f
10382 Author: Lasse Collin <lasse.collin@tukaani.org>
10383 Date: 2008-01-26 11:09:17 +0200
10385 Added more test files.
10387 tests/files/README | 11 +++++++++++
10388 tests/files/bad-multi-none-header_7.lzma | Bin 0 -> 59 bytes
10389 tests/files/good-single-sparc-lzma.lzma | Bin 0 -> 2263 bytes
10390 tests/files/good-single-x86-lzma.lzma | Bin 0 -> 1909 bytes
10391 4 files changed, 11 insertions(+)
10393 commit c467b0defccf233d0c79234407bc38d7d09574d3
10394 Author: Lasse Collin <lasse.collin@tukaani.org>
10395 Date: 2008-01-26 10:47:55 +0200
10397 Added more test files.
10399 tests/files/README | 6 ++++++
10400 tests/files/bad-multi-none-block_3.lzma | Bin 0 -> 58 bytes
10401 tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes
10402 3 files changed, 6 insertions(+)
10404 commit f9842f712732c482f2def9f24437851e57dd83f8
10405 Author: Lasse Collin <lasse.collin@tukaani.org>
10406 Date: 2008-01-26 00:25:34 +0200
10408 Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any
10409 of the so called simple filters. If there is demand, limited
10410 support for LZMA_SYNC_FLUSH may be added in future.
10412 After this commit, using LZMA_SYNC_FLUSH shouldn't cause
10413 undefined behavior in any situation.
10415 src/liblzma/api/lzma/simple.h | 9 +++++++++
10416 src/liblzma/simple/simple_coder.c | 8 ++++++++
10417 2 files changed, 17 insertions(+)
10419 commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa
10420 Author: Lasse Collin <lasse.collin@tukaani.org>
10421 Date: 2008-01-25 23:50:35 +0200
10423 Added more Multi-Block test files. Improved some
10424 descriptions in the test files' README.
10426 tests/files/README | 34 +++++++++++++++++++++++++------
10427 tests/files/bad-multi-none-block_1.lzma | Bin 0 -> 66 bytes
10428 tests/files/bad-multi-none-block_2.lzma | Bin 0 -> 66 bytes
10429 tests/files/good-multi-none-block_1.lzma | Bin 0 -> 66 bytes
10430 4 files changed, 28 insertions(+), 6 deletions(-)
10432 commit 4441e004185cd4c61bda184010eca5924c9dec87
10433 Author: Lasse Collin <lasse.collin@tukaani.org>
10434 Date: 2008-01-25 23:12:36 +0200
10436 Combine lzma_options_block validation needed by both Block
10437 encoder and decoder, and put the shared things to
10438 block_private.h. Improved the checks a little so that
10439 they may detect too big Compressed Size at initialization
10440 time if lzma_options_block.total_size or .total_limit is
10443 Allow encoding and decoding Blocks with combinations of
10444 fields that are not allowed by the file format specification.
10445 Doing this requires that the application passes such a
10446 combination in lzma_options_lzma; liblzma doesn't do that,
10447 but it's not impossible that someone could find them useful
10448 in some custom file format.
10450 src/liblzma/common/block_decoder.c | 37 ++++++++++++----------------
10451 src/liblzma/common/block_encoder.c | 32 +++++-------------------
10452 src/liblzma/common/block_private.h | 50 ++++++++++++++++++++++++++++++++++++++
10453 3 files changed, 71 insertions(+), 48 deletions(-)
10455 commit bf4200c818fcf9102e56328d39cde91bfa13cfb6
10456 Author: Lasse Collin <lasse.collin@tukaani.org>
10457 Date: 2008-01-25 19:21:22 +0200
10459 Added test_memlimit.c.
10461 tests/Makefile.am | 2 +
10462 tests/test_memlimit.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++
10463 2 files changed, 116 insertions(+)
10465 commit 7b8fc7e6b501a32a36636dac79ecb57099269005
10466 Author: Lasse Collin <lasse.collin@tukaani.org>
10467 Date: 2008-01-25 19:20:28 +0200
10469 Improved the memory limitter:
10470 - Added lzma_memlimit_max() and lzma_memlimit_reached()
10472 - Added simple estimation of malloc()'s memory usage
10474 - Fixed integer overflow detection in lzma_memlimit_alloc().
10475 - Made some white space cleanups and added more comments.
10477 The description of lzma_memlimit_max() in memlimit.h is bad
10478 and should be improved.
10480 src/liblzma/api/lzma/memlimit.h | 35 +++++++++++++
10481 src/liblzma/common/memory_limitter.c | 97 ++++++++++++++++++++++++++++++------
10482 2 files changed, 118 insertions(+), 14 deletions(-)
10484 commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db
10485 Author: Lasse Collin <lasse.collin@tukaani.org>
10486 Date: 2008-01-25 13:55:52 +0200
10488 Use more parenthesis in succeed() macro in tests/tests.h.
10490 tests/tests.h | 2 +-
10491 1 file changed, 1 insertion(+), 1 deletion(-)
10493 commit 1fd76d488179580d37f31ee11948f4932aed31fd
10494 Author: Lasse Collin <lasse.collin@tukaani.org>
10495 Date: 2008-01-24 14:49:34 +0200
10497 Added more Multi-Block Stream test files.
10499 tests/files/README | 23 +++++++++++++++++++++++
10500 tests/files/bad-multi-none-header_2.lzma | Bin 0 -> 61 bytes
10501 tests/files/bad-multi-none-header_3.lzma | Bin 0 -> 59 bytes
10502 tests/files/bad-multi-none-header_4.lzma | Bin 0 -> 59 bytes
10503 tests/files/bad-multi-none-header_5.lzma | Bin 0 -> 58 bytes
10504 tests/files/bad-multi-none-header_6.lzma | Bin 0 -> 59 bytes
10505 tests/files/good-multi-none-header_3.lzma | Bin 0 -> 59 bytes
10506 7 files changed, 23 insertions(+)
10508 commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936
10509 Author: Lasse Collin <lasse.collin@tukaani.org>
10510 Date: 2008-01-24 00:46:05 +0200
10512 Added bunch of test files containing Multi-Block Streams.
10514 tests/files/README | 53 ++++++++++++++++++++++++++++++
10515 tests/files/bad-multi-none-1.lzma | Bin 0 -> 54 bytes
10516 tests/files/bad-multi-none-2.lzma | Bin 0 -> 53 bytes
10517 tests/files/bad-multi-none-3.lzma | Bin 0 -> 53 bytes
10518 tests/files/bad-multi-none-extra_1.lzma | Bin 0 -> 54 bytes
10519 tests/files/bad-multi-none-extra_2.lzma | Bin 0 -> 54 bytes
10520 tests/files/bad-multi-none-extra_3.lzma | Bin 0 -> 55 bytes
10521 tests/files/bad-multi-none-header_1.lzma | Bin 0 -> 57 bytes
10522 tests/files/bad-multi-none-index_1.lzma | Bin 0 -> 51 bytes
10523 tests/files/bad-multi-none-index_2.lzma | Bin 0 -> 49 bytes
10524 tests/files/bad-multi-none-index_3.lzma | Bin 0 -> 51 bytes
10525 tests/files/bad-multi-none-index_4.lzma | Bin 0 -> 51 bytes
10526 tests/files/good-multi-none-1.lzma | Bin 0 -> 75 bytes
10527 tests/files/good-multi-none-2.lzma | Bin 0 -> 53 bytes
10528 tests/files/good-multi-none-extra_1.lzma | Bin 0 -> 51 bytes
10529 tests/files/good-multi-none-extra_2.lzma | Bin 0 -> 79 bytes
10530 tests/files/good-multi-none-extra_3.lzma | Bin 0 -> 55 bytes
10531 tests/files/good-multi-none-header_1.lzma | Bin 0 -> 58 bytes
10532 tests/files/good-multi-none-header_2.lzma | Bin 0 -> 66 bytes
10533 19 files changed, 53 insertions(+)
10535 commit db9df0a9609c01a00a227329fb96e983971040f5
10536 Author: Lasse Collin <lasse.collin@tukaani.org>
10537 Date: 2008-01-23 23:43:00 +0200
10539 Fix decoding of empty Metadata Blocks, that don't have
10540 even the Metadata Flags field. Earlier the code allowed
10541 such files; now they are prohibited as the file format
10542 specification requires.
10544 src/liblzma/common/metadata_decoder.c | 4 +++-
10545 1 file changed, 3 insertions(+), 1 deletion(-)
10547 commit 765f0b05f6e95ed9194fb90819cee189ebbac36b
10548 Author: Lasse Collin <lasse.collin@tukaani.org>
10549 Date: 2008-01-23 23:38:18 +0200
10551 Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6.
10552 lzma_metadata.header_metadata_size was not properly set to
10553 zero if the Metadata had only the Metadata Flags field.
10555 src/liblzma/common/metadata_decoder.c | 13 +++++++------
10556 1 file changed, 7 insertions(+), 6 deletions(-)
10558 commit 3a7cc5c3dec7b078941f961b0393b86c418883b6
10559 Author: Lasse Collin <lasse.collin@tukaani.org>
10560 Date: 2008-01-23 23:35:49 +0200
10562 Fix decoding of Extra Records that have empty Data.
10564 src/liblzma/common/metadata_decoder.c | 13 ++++++++++++-
10565 1 file changed, 12 insertions(+), 1 deletion(-)
10567 commit e5fdec93e273855c1bcc2579b83cfb481a9a1492
10568 Author: Lasse Collin <lasse.collin@tukaani.org>
10569 Date: 2008-01-23 22:02:38 +0200
10571 Add the trailing '\0' to lzma_extra.data as the API header
10574 src/liblzma/common/metadata_decoder.c | 4 +++-
10575 1 file changed, 3 insertions(+), 1 deletion(-)
10577 commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e
10578 Author: Lasse Collin <lasse.collin@tukaani.org>
10579 Date: 2008-01-23 21:21:21 +0200
10581 Added debug/full_flush.c.
10583 debug/Makefile.am | 3 +-
10584 debug/full_flush.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++
10585 2 files changed, 107 insertions(+), 1 deletion(-)
10587 commit ae0cd09a666a1682da8fc09487322227679e218d
10588 Author: Lasse Collin <lasse.collin@tukaani.org>
10589 Date: 2008-01-23 21:05:33 +0200
10591 Return LZMA_STREAM_END instead of LZMA_OK if
10592 LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when
10593 there's no unfinished Block open.
10595 src/liblzma/common/stream_encoder_multi.c | 6 +++++-
10596 1 file changed, 5 insertions(+), 1 deletion(-)
10598 commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db
10599 Author: Lasse Collin <lasse.collin@tukaani.org>
10600 Date: 2008-01-23 20:05:01 +0200
10602 Added bad-single-none-footer_filter_flags.lzma and
10603 bad-single-none-too_long_vli.lzma.
10605 tests/files/README | 5 +++++
10606 tests/files/bad-single-none-footer_filter_flags.lzma | Bin 0 -> 30 bytes
10607 tests/files/bad-single-none-too_long_vli.lzma | Bin 0 -> 39 bytes
10608 3 files changed, 5 insertions(+)
10610 commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd
10611 Author: Lasse Collin <lasse.collin@tukaani.org>
10612 Date: 2008-01-23 13:42:35 +0200
10616 src/liblzma/subblock/subblock_decoder_helper.c | 2 +-
10617 1 file changed, 1 insertion(+), 1 deletion(-)
10619 commit 980f65a9a10160c4d105767871e3002b9aaba3e0
10620 Author: Lasse Collin <lasse.collin@tukaani.org>
10621 Date: 2008-01-23 13:40:45 +0200
10623 Fix a memory leak in the Subblock encoder.
10625 src/liblzma/subblock/subblock_encoder.c | 1 +
10626 1 file changed, 1 insertion(+)
10628 commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6
10629 Author: Lasse Collin <lasse.collin@tukaani.org>
10630 Date: 2008-01-23 13:36:07 +0200
10632 Fix Size of Header Metadata Block handling. Now
10633 lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN
10634 is not allowed at all. To indicate missing Header Metadata
10635 Block, header_metadata_size must be set to zero. This is
10636 what Metadata decoder does after this patch too.
10638 Note that other missing fields in lzma_metadata are still
10639 indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as
10640 illogical as it sounds at first, because missing Size of
10641 Header Metadata Block means that Header Metadata Block is
10642 not present in the Stream. With other Metadata fields,
10643 a missing field means only that the value is unknown.
10645 src/liblzma/common/info.c | 13 ++++---------
10646 src/liblzma/common/metadata_decoder.c | 6 ++++++
10647 src/liblzma/common/metadata_encoder.c | 11 +++++------
10648 tests/test_info.c | 4 ++--
10649 4 files changed, 17 insertions(+), 17 deletions(-)
10651 commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81
10652 Author: Lasse Collin <lasse.collin@tukaani.org>
10653 Date: 2008-01-23 13:15:55 +0200
10655 Fix a memory leak in metadata_decoder.c.
10657 src/liblzma/common/metadata_decoder.c | 1 +
10658 1 file changed, 1 insertion(+)
10660 commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae
10661 Author: Lasse Collin <lasse.collin@tukaani.org>
10662 Date: 2008-01-23 13:13:58 +0200
10664 Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which
10665 just moved to problem. Now it's really fixed.
10667 src/liblzma/common/info.c | 5 ++++-
10668 1 file changed, 4 insertions(+), 1 deletion(-)
10670 commit 67321de963ccf69410b3868b8e31534fe18a90de
10671 Author: Lasse Collin <lasse.collin@tukaani.org>
10672 Date: 2008-01-23 00:21:04 +0200
10674 Take advantage of return_if_error() macro in
10675 lzma_info_metadata_set() in info.c.
10677 src/liblzma/common/info.c | 24 ++++++++----------------
10678 1 file changed, 8 insertions(+), 16 deletions(-)
10680 commit 863028cb7ad6d8d0455fa69348f56b376d7b908f
10681 Author: Lasse Collin <lasse.collin@tukaani.org>
10682 Date: 2008-01-23 00:18:32 +0200
10684 Fixed a dangling pointer that caused invalid free().
10686 src/liblzma/common/info.c | 1 +
10687 1 file changed, 1 insertion(+)
10689 commit cf49f42a6bd40143f54a6b10d6e605599e958c0b
10690 Author: Lasse Collin <lasse.collin@tukaani.org>
10691 Date: 2008-01-22 22:49:24 +0200
10693 Added lzma_easy_* functions. These should make using
10694 liblzma as easy as using zlib, because the easy API
10695 don't require developers to know any fancy LZMA options.
10697 Note that Multi-Block Stream encoding is currently broken.
10698 The easy API should be OK, the bug(s) are elsewhere.
10700 src/liblzma/api/Makefile.am | 1 +
10701 src/liblzma/api/lzma.h | 1 +
10702 src/liblzma/common/Makefile.am | 5 ++
10703 src/liblzma/common/easy_common.c | 54 ++++++++++++++++
10704 src/liblzma/common/easy_common.h | 28 ++++++++
10705 src/liblzma/common/easy_multi.c | 103 ++++++++++++++++++++++++++++++
10706 src/liblzma/common/easy_single.c | 37 +++++++++++
10707 src/liblzma/common/stream_encoder_multi.c | 3 +-
10708 src/liblzma/common/stream_encoder_multi.h | 26 ++++++++
10709 9 files changed, 256 insertions(+), 2 deletions(-)
10711 commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a
10712 Author: Lasse Collin <lasse.collin@tukaani.org>
10713 Date: 2008-01-22 21:16:22 +0200
10715 Fix Multi-Block Stream encoder's EOPM usage.
10717 src/liblzma/common/stream_encoder_multi.c | 2 +-
10718 1 file changed, 1 insertion(+), 1 deletion(-)
10720 commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6
10721 Author: Lasse Collin <lasse.collin@tukaani.org>
10722 Date: 2008-01-22 00:15:11 +0200
10724 Made lzma_extra pointers const in lzma_options_stream.
10726 src/liblzma/api/lzma/stream.h | 4 ++--
10727 src/liblzma/common/stream_encoder_multi.c | 8 ++++++--
10728 2 files changed, 8 insertions(+), 4 deletions(-)
10730 commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4
10731 Author: Lasse Collin <lasse.collin@tukaani.org>
10732 Date: 2008-01-20 20:15:21 +0200
10734 Updated debug/sync_flush.c.
10736 debug/sync_flush.c | 26 ++++++++++++++++++++++++--
10737 1 file changed, 24 insertions(+), 2 deletions(-)
10739 commit d53e9b77054cfade6a643e77d085273a348b189c
10740 Author: Lasse Collin <lasse.collin@tukaani.org>
10741 Date: 2008-01-20 20:14:26 +0200
10743 Added debug/repeat.c.
10745 debug/Makefile.am | 1 +
10746 debug/repeat.c | 43 +++++++++++++++++++++++++++++++++++++++++++
10747 2 files changed, 44 insertions(+)
10749 commit 107259e306bcfc2336a0fb870fb58034c28faa52
10750 Author: Lasse Collin <lasse.collin@tukaani.org>
10751 Date: 2008-01-20 20:12:58 +0200
10753 Fix alignment handling bugs in Subblock encoder.
10755 This leaves one known alignment bug unfixed: If repeat count
10756 doesn't fit into 28-bit integer, the encoder has to split
10757 this to multiple Subblocks with Subblock Type `Repeating Data'.
10758 The extra Subblocks may have wrong alignment. Correct alignment
10759 is restored after the split Repeating Data has been completely
10762 Since the encoder doesn't even try to fix the alignment unless
10763 the size of Data is at least 4 bytes, to trigger this bug you
10764 need at least 4 GiB of repeating data with sequence length of
10765 4 or more bytes. Since the worst thing done by this bug is
10766 misaligned data (no data corruption), this bug simply isn't
10767 worth fixing, because a proper fix isn't simple.
10769 src/liblzma/subblock/subblock_encoder.c | 170 ++++++++++++++++++++++----------
10770 1 file changed, 119 insertions(+), 51 deletions(-)
10772 commit e141fe18950400faaa3503ff88ac20eacd73e88c
10773 Author: Lasse Collin <lasse.collin@tukaani.org>
10774 Date: 2008-01-19 21:16:33 +0200
10776 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder.
10777 The API for handing Subfilters was changed to make it
10778 consistent with LZMA_SYNC_FLUSH.
10780 A few sanity checks were added for Subfilter handling. Some
10781 small bugs were fixed. More comments were added.
10783 src/liblzma/api/lzma/subblock.h | 29 ++--
10784 src/liblzma/subblock/subblock_encoder.c | 263 ++++++++++++++++++++++++--------
10785 2 files changed, 214 insertions(+), 78 deletions(-)
10787 commit 23c227a864a3b69f38c6a74306161d4e6918d1cc
10788 Author: Lasse Collin <lasse.collin@tukaani.org>
10789 Date: 2008-01-19 15:19:21 +0200
10791 Revised the Delta filter implementation. The initialization
10792 function is still shared between encoder and decoder, but the
10793 actual coding is in separate files for encoder and decoder.
10795 There are now separate functions for the actual delta
10796 calculation depending on if Delta is the last filter in the
10797 chain or not. If it is the last, the new code copies the
10798 data from input to output buffer and does the delta
10799 calculation at the same time. The old code first copied the
10800 data, then did the delta in the target buffer, which required
10801 reading through the data twice.
10803 Support for LZMA_SYNC_FLUSH was added to the Delta encoder.
10804 This doesn't change anything in the file format.
10806 src/liblzma/common/Makefile.am | 14 ++-
10807 src/liblzma/common/delta_coder.c | 189 -------------------------------------
10808 src/liblzma/common/delta_coder.h | 31 ------
10809 src/liblzma/common/delta_common.c | 70 ++++++++++++++
10810 src/liblzma/common/delta_common.h | 48 ++++++++++
10811 src/liblzma/common/delta_decoder.c | 102 ++++++++++++++++++++
10812 src/liblzma/common/delta_decoder.h | 28 ++++++
10813 src/liblzma/common/delta_encoder.c | 97 +++++++++++++++++++
10814 src/liblzma/common/delta_encoder.h | 28 ++++++
10815 src/liblzma/common/raw_decoder.c | 2 +-
10816 src/liblzma/common/raw_encoder.c | 2 +-
10817 11 files changed, 387 insertions(+), 224 deletions(-)
10819 commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73
10820 Author: Lasse Collin <lasse.collin@tukaani.org>
10821 Date: 2008-01-18 20:18:08 +0200
10823 Added the debug directory and the first debug tool
10824 (sync_flush). These tools are not built unless the
10825 user runs "make" in the debug directory.
10829 debug/Makefile.am | 30 ++++++++++++++
10830 debug/README | 17 ++++++++
10831 debug/sync_flush.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++
10832 5 files changed, 165 insertions(+)
10834 commit 0ae3208db94585eb8294b97ded387de0a3a07646
10835 Author: Lasse Collin <lasse.collin@tukaani.org>
10836 Date: 2008-01-18 20:13:00 +0200
10838 Added test files to test usage of flush marker in LZMA.
10840 tests/files/README | 12 ++++++++++++
10841 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 0 -> 53 bytes
10842 tests/files/bad-single-lzma-flush_twice.lzma | Bin 0 -> 63 bytes
10843 tests/files/good-single-lzma-flush_1.lzma | Bin 0 -> 48 bytes
10844 tests/files/good-single-lzma-flush_2.lzma | Bin 0 -> 63 bytes
10845 5 files changed, 12 insertions(+)
10847 commit ab5feaf1fcc146ef9fd39360c53c290bec39524e
10848 Author: Lasse Collin <lasse.collin@tukaani.org>
10849 Date: 2008-01-18 20:02:52 +0200
10851 Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders.
10852 That code is now almost completely in LZ coder, where
10853 it can be shared with other LZ77-based algorithms in
10856 src/liblzma/lz/lz_encoder.c | 34 ++++++++++++++++++++++++++--------
10857 src/liblzma/lz/lz_encoder.h | 1 +
10858 src/liblzma/lzma/lzma_encoder.c | 27 ++-------------------------
10859 3 files changed, 29 insertions(+), 33 deletions(-)
10861 commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585
10862 Author: Lasse Collin <lasse.collin@tukaani.org>
10863 Date: 2008-01-18 17:21:24 +0200
10865 Don't add -g to CFLAGS when --enable-debug is specified.
10866 It's the job of the user to put that in CFLAGS.
10869 1 file changed, 1 deletion(-)
10871 commit 61d1784d8f1761d979a6da6e223e279ca33815e6
10872 Author: Lasse Collin <lasse.collin@tukaani.org>
10873 Date: 2008-01-18 14:17:37 +0200
10875 Set stdin and stdout to binary mode on Windows. This patch is
10876 a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068
10877 from lzma-utils-legacy.git. I don't know if the new code base
10878 builds on Windows, but this is a start.
10880 src/lzmadec/lzmadec.c | 9 +++++++++
10881 1 file changed, 9 insertions(+)
10883 commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c
10884 Author: Lasse Collin <lasse.collin@tukaani.org>
10885 Date: 2008-01-18 00:50:29 +0200
10887 Added test_compress.sh and bunch of files needed by it.
10888 This new set of tests compress and decompress several
10889 test files with many different compression options.
10890 This set of tests will be extended later.
10892 tests/Makefile.am | 30 ++++---
10893 tests/bcj_test.c | 66 ++++++++++++++
10894 tests/compress_prepared_bcj_sparc | Bin 0 -> 6804 bytes
10895 tests/compress_prepared_bcj_x86 | Bin 0 -> 4649 bytes
10896 tests/create_compress_files.c | 164 ++++++++++++++++++++++++++++++++++
10897 tests/test_compress.sh | 183 ++++++++++++++++++++++++++++++++++++++
10898 6 files changed, 433 insertions(+), 10 deletions(-)
10900 commit 33be3c0e24d8f43376ccf71cc77d53671e792f07
10901 Author: Lasse Collin <lasse.collin@tukaani.org>
10902 Date: 2008-01-17 18:56:53 +0200
10904 Subblock decoder: Don't exit the main loop in decode_buffer()
10905 too early if we hit End of Input while decoding a Subblock of
10906 type Repeating Data. To keep the loop termination condition
10907 elegant, the order of enumerations in coder->sequence were
10910 To keep the case-labels in roughly the same order as the
10911 enumerations in coder->sequence, large chunks of code was
10912 moved around. This made the diff big and ugly compared to
10913 the amount of the actual changes made.
10915 src/liblzma/subblock/subblock_decoder.c | 272 ++++++++++++++++----------------
10916 1 file changed, 139 insertions(+), 133 deletions(-)
10918 commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd
10919 Author: Lasse Collin <lasse.collin@tukaani.org>
10920 Date: 2008-01-17 17:39:42 +0200
10922 Fix wrong too small size of argument unfiltered_max
10923 in ia64_coder_init(). It triggered assert() in
10924 simple_coder.c, and could have caused a buffer overflow.
10926 This error was probably a copypaste mistake, since most
10927 of the simple filters use unfiltered_max = 4.
10929 src/liblzma/simple/ia64.c | 2 +-
10930 1 file changed, 1 insertion(+), 1 deletion(-)
10932 commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a
10933 Author: Lasse Collin <lasse.collin@tukaani.org>
10934 Date: 2008-01-17 17:27:45 +0200
10936 Added --delta to the output of "lzma --help".
10938 src/lzma/help.c | 4 ++++
10939 1 file changed, 4 insertions(+)
10941 commit f88590e0014b38d40465937c19f25f05f16c79ae
10942 Author: Lasse Collin <lasse.collin@tukaani.org>
10943 Date: 2008-01-17 13:14:20 +0200
10945 Fix Subblock docoder: If Subblock filter was used with known
10946 Uncompressed Size, and the last output byte was from RLE,
10947 the code didn't stop decoding as it should have done.
10949 src/liblzma/subblock/subblock_decoder.c | 6 ++++++
10950 1 file changed, 6 insertions(+)
10952 commit bc0b945ca376e333077644d2f7fd54c2848aab8a
10953 Author: Lasse Collin <lasse.collin@tukaani.org>
10954 Date: 2008-01-16 16:33:37 +0200
10956 Tiny non-technical edits to file-format.txt.
10958 doc/file-format.txt | 6 +++---
10959 1 file changed, 3 insertions(+), 3 deletions(-)
10961 commit 7599bb7064ccf007f054595dedda7927af868252
10962 Author: Lasse Collin <lasse.collin@tukaani.org>
10963 Date: 2008-01-16 14:48:04 +0200
10965 Plugged a memory leak in stream_decoder.c.
10967 src/liblzma/common/stream_decoder.c | 20 ++++++++++++++++++++
10968 1 file changed, 20 insertions(+)
10970 commit 0b581539311f3712946e81e747839f8fb5f441a7
10971 Author: Lasse Collin <lasse.collin@tukaani.org>
10972 Date: 2008-01-16 14:47:27 +0200
10974 Added memory leak detection to lzmadec.c.
10976 src/lzmadec/lzmadec.c | 3 +++
10977 1 file changed, 3 insertions(+)
10979 commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4
10980 Author: Lasse Collin <lasse.collin@tukaani.org>
10981 Date: 2008-01-16 14:46:50 +0200
10983 Added lzma_memlimit_count().
10985 src/liblzma/api/lzma/memlimit.h | 10 ++++++++++
10986 src/liblzma/common/memory_limitter.c | 19 +++++++++++++++++++
10987 2 files changed, 29 insertions(+)
10989 commit 19389f2b82ec54fd4c847a18f16482e7be4c9887
10990 Author: Lasse Collin <lasse.collin@tukaani.org>
10991 Date: 2008-01-16 14:31:44 +0200
10993 Added ARRAY_SIZE(array) macro.
10995 src/common/sysdefs.h | 4 ++++
10996 1 file changed, 4 insertions(+)
10998 commit 9bc33a54cbf83952130adbcb1be32c6882485416
10999 Author: Lasse Collin <lasse.collin@tukaani.org>
11000 Date: 2008-01-16 13:27:03 +0200
11002 Make Uncompresed Size validation more strict
11003 in alone_decoder.c.
11005 src/liblzma/common/alone_decoder.c | 3 ++-
11006 1 file changed, 2 insertions(+), 1 deletion(-)
11008 commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883
11009 Author: Lasse Collin <lasse.collin@tukaani.org>
11010 Date: 2008-01-15 17:46:59 +0200
11012 Free the allocated memory in lzmadec if debugging is
11013 enabled. This should make it possible to detect possible
11014 memory leaks with Valgrind.
11016 src/lzmadec/lzmadec.c | 7 +++++++
11017 1 file changed, 7 insertions(+)
11019 commit 8235e6e5b2878f76633afcda9a334640db503ef5
11020 Author: Lasse Collin <lasse.collin@tukaani.org>
11021 Date: 2008-01-15 16:25:38 +0200
11023 Fix memory leaks from test_block_header.c.
11025 tests/test_block_header.c | 19 +++++++++++++++++--
11026 1 file changed, 17 insertions(+), 2 deletions(-)
11028 commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6
11029 Author: Lasse Collin <lasse.collin@tukaani.org>
11030 Date: 2008-01-15 14:23:35 +0200
11032 Use fastpos.h when encoding LZMA dictionary size in
11033 Filter Flags encoder.
11035 src/liblzma/common/filter_flags_encoder.c | 40 +++++++++++++++----------------
11036 1 file changed, 19 insertions(+), 21 deletions(-)
11038 commit e5728142a2048979f5c0c2149ce71ae952a092e1
11039 Author: Lasse Collin <lasse.collin@tukaani.org>
11040 Date: 2008-01-15 14:02:22 +0200
11042 Revised the fastpos code. It now uses the slightly faster
11043 table-based version from LZMA SDK 4.57. This should be
11044 fast on most systems.
11046 A simpler and smaller alternative version is also provided.
11047 On some CPUs this can be even a little faster than the
11048 default table-based version (see comments in fastpos.h),
11049 but on most systems the table-based code is faster.
11051 src/liblzma/common/init_encoder.c | 3 -
11052 src/liblzma/lzma/Makefile.am | 4 +
11053 src/liblzma/lzma/fastpos.h | 156 +++++++++
11054 src/liblzma/lzma/fastpos_table.c | 519 +++++++++++++++++++++++++++++
11055 src/liblzma/lzma/fastpos_tablegen.c | 63 ++++
11056 src/liblzma/lzma/lzma_common.h | 3 +-
11057 src/liblzma/lzma/lzma_encoder.c | 1 +
11058 src/liblzma/lzma/lzma_encoder_getoptimum.c | 1 +
11059 src/liblzma/lzma/lzma_encoder_init.c | 22 --
11060 src/liblzma/lzma/lzma_encoder_private.h | 21 --
11061 10 files changed, 746 insertions(+), 47 deletions(-)
11063 commit 10437b5b567f6a025ff16c45a572e417a0a9cc26
11064 Author: Lasse Collin <lasse.collin@tukaani.org>
11065 Date: 2008-01-15 13:32:13 +0200
11069 src/liblzma/common/Makefile.am | 1 +
11070 src/liblzma/common/bsr.h | 61 ++++++++++++++++++++++++++++++++++++++++++
11071 2 files changed, 62 insertions(+)
11073 commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244
11074 Author: Lasse Collin <lasse.collin@tukaani.org>
11075 Date: 2008-01-15 13:29:14 +0200
11077 Fixed assembler detection in configure.ac, and added
11078 detection for x86_64.
11080 configure.ac | 32 ++++++++++++++++----------------
11081 1 file changed, 16 insertions(+), 16 deletions(-)
11083 commit 54ec204f58287f50d3976288295da4188a19192b
11084 Author: Lasse Collin <lasse.collin@tukaani.org>
11085 Date: 2008-01-15 12:20:41 +0200
11087 Omit invalid space from printf() format string
11088 in price_table_gen.c.
11090 src/liblzma/rangecoder/price_table_gen.c | 2 +-
11091 1 file changed, 1 insertion(+), 1 deletion(-)
11093 commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1
11094 Author: Lasse Collin <lasse.collin@tukaani.org>
11095 Date: 2008-01-15 09:54:34 +0200
11097 Removed a few unused macros from lzma_common.h.
11099 src/liblzma/lzma/lzma_common.h | 8 ++------
11100 1 file changed, 2 insertions(+), 6 deletions(-)
11102 commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d
11103 Author: Lasse Collin <lasse.collin@tukaani.org>
11104 Date: 2008-01-15 08:37:42 +0200
11106 Fix a typo in lzma_encoder.c.
11108 src/liblzma/lzma/lzma_encoder.c | 2 +-
11109 1 file changed, 1 insertion(+), 1 deletion(-)
11111 commit 9f9b1983013048f2142e8bc7e240149d2687bedc
11112 Author: Lasse Collin <lasse.collin@tukaani.org>
11113 Date: 2008-01-15 08:36:25 +0200
11115 Convert bittree_get_price() and bittree_reverse_get_price()
11116 from macros to inline functions.
11118 src/liblzma/lzma/lzma_encoder.c | 19 +++-----
11119 src/liblzma/lzma/lzma_encoder_getoptimum.c | 16 +++----
11120 src/liblzma/rangecoder/range_encoder.h | 76 +++++++++++++++++-------------
11121 3 files changed, 56 insertions(+), 55 deletions(-)
11123 commit 78e85cb1a7667c54853670d2eb09d754bcbda87d
11124 Author: Lasse Collin <lasse.collin@tukaani.org>
11125 Date: 2008-01-15 07:44:59 +0200
11127 Fix CRC code in case --enable-small is used.
11129 src/liblzma/check/crc32_init.c | 2 +-
11130 src/liblzma/check/crc64_init.c | 2 +-
11131 src/liblzma/common/init_decoder.c | 2 --
11132 src/liblzma/common/init_encoder.c | 2 --
11133 tests/test_check.c | 2 ++
11134 5 files changed, 4 insertions(+), 6 deletions(-)
11136 commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0
11137 Author: Lasse Collin <lasse.collin@tukaani.org>
11138 Date: 2008-01-15 07:41:39 +0200
11140 Fix typo in test_index.c.
11142 tests/test_index.c | 2 +-
11143 1 file changed, 1 insertion(+), 1 deletion(-)
11145 commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6
11146 Author: Lasse Collin <lasse.collin@tukaani.org>
11147 Date: 2008-01-15 07:40:21 +0200
11149 Added precomputed range coder probability price table.
11151 src/liblzma/common/init_encoder.c | 5 ++-
11152 src/liblzma/rangecoder/Makefile.am | 9 +++-
11153 src/liblzma/rangecoder/price_table.c | 70 +++++++++++++++++++++++++++++++
11154 src/liblzma/rangecoder/price_table_gen.c | 55 ++++++++++++++++++++++++
11155 src/liblzma/rangecoder/price_table_init.c | 48 +++++++++++++++++++++
11156 src/liblzma/rangecoder/range_common.h | 4 +-
11157 src/liblzma/rangecoder/range_encoder.c | 46 --------------------
11158 src/liblzma/rangecoder/range_encoder.h | 21 +++++-----
11159 8 files changed, 197 insertions(+), 61 deletions(-)
11161 commit 362dc3843b373c1007a50a4719f378981f18ae03
11162 Author: Lasse Collin <lasse.collin@tukaani.org>
11163 Date: 2008-01-14 13:42:43 +0200
11165 Remove RC_BUFFER_SIZE from lzma_encoder_private.h
11166 and replace it with a sanity check.
11168 src/liblzma/lzma/lzma_encoder_private.h | 6 ++++--
11169 1 file changed, 4 insertions(+), 2 deletions(-)
11171 commit e22b37968d153683fec61ad37b6b160cb7ca4ddc
11172 Author: Lasse Collin <lasse.collin@tukaani.org>
11173 Date: 2008-01-14 13:39:54 +0200
11175 Major changes to LZ encoder, LZMA encoder, and range encoder.
11176 These changes implement support for LZMA_SYNC_FLUSH in LZMA
11177 encoder, and move the temporary buffer needed by range encoder
11178 from lzma_range_encoder structure to lzma_lz_encoder.
11180 src/liblzma/lz/lz_encoder.c | 138 ++++++++++++++++++++++++++++-----
11181 src/liblzma/lz/lz_encoder.h | 17 ++--
11182 src/liblzma/lzma/lzma_encoder.c | 74 ++++++++++--------
11183 src/liblzma/rangecoder/range_encoder.h | 117 ++++++++--------------------
11184 4 files changed, 206 insertions(+), 140 deletions(-)
11186 commit b59ef3973781f892c0a72b5e5934194567100be5
11187 Author: Lasse Collin <lasse.collin@tukaani.org>
11188 Date: 2008-01-14 13:34:29 +0200
11190 Added one assert() to process.c of the command line tool.
11192 src/lzma/process.c | 1 +
11193 1 file changed, 1 insertion(+)
11195 commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7
11196 Author: Lasse Collin <lasse.collin@tukaani.org>
11197 Date: 2008-01-14 12:09:52 +0200
11199 Don't use coder->lz.stream_end_was_reached in assertions
11202 src/liblzma/lz/match_c.h | 2 --
11203 1 file changed, 2 deletions(-)
11205 commit 3e09e1c05871f3757f759b801890ccccc9286608
11206 Author: Lasse Collin <lasse.collin@tukaani.org>
11207 Date: 2008-01-14 12:08:02 +0200
11209 In lzma_read_match_distances(), don't use
11210 coder->lz.stream_end_was_reached. That variable
11211 will be removed, and the check isn't required anyway.
11212 Rearrange the check so that it doesn't make one to
11213 think that there could be an integer overflow.
11215 src/liblzma/lzma/lzma_encoder_private.h | 6 +++---
11216 1 file changed, 3 insertions(+), 3 deletions(-)
11218 commit a670fec8021e5962429689c194148a04c3418872
11219 Author: Lasse Collin <lasse.collin@tukaani.org>
11220 Date: 2008-01-14 11:56:41 +0200
11222 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders.
11224 src/liblzma/common/block_encoder.c | 4 ++--
11225 src/liblzma/common/stream_encoder_single.c | 1 +
11226 2 files changed, 3 insertions(+), 2 deletions(-)
11228 commit 3599dba9570a6972a16b6398d6c838e9b420e985
11229 Author: Lasse Collin <lasse.collin@tukaani.org>
11230 Date: 2008-01-14 11:54:56 +0200
11232 More fixes to LZMA decoder's flush marker handling.
11234 src/liblzma/lzma/lzma_decoder.c | 52 ++++++++++++++++++++++++-----------------
11235 1 file changed, 30 insertions(+), 22 deletions(-)
11237 commit f73c2ab6079ed5675a42b39d584a567befbd4624
11238 Author: Lasse Collin <lasse.collin@tukaani.org>
11239 Date: 2008-01-10 17:13:42 +0200
11241 Eliminate lzma_lz_encoder.must_move_pos. It's needed
11242 only in one place which isn't performance criticial.
11244 src/liblzma/lz/lz_encoder.c | 6 ++----
11245 src/liblzma/lz/lz_encoder.h | 4 ----
11246 2 files changed, 2 insertions(+), 8 deletions(-)
11248 commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd
11249 Author: Lasse Collin <lasse.collin@tukaani.org>
11250 Date: 2008-01-09 20:05:57 +0200
11252 Define HAVE_ASM_X86 when x86 assembler optimizations are
11253 used. This #define will be useful for inline assembly.
11255 configure.ac | 5 ++++-
11256 1 file changed, 4 insertions(+), 1 deletion(-)
11258 commit 0e70fbe4032351aab13a1cd8e5deced105c0b276
11259 Author: Lasse Collin <lasse.collin@tukaani.org>
11260 Date: 2008-01-09 12:06:46 +0200
11262 Added good-single-none-empty_3.lzma and
11263 bad-single-none-empty.lzma.
11265 tests/files/README | 6 ++++++
11266 tests/files/bad-single-none-empty.lzma | Bin 0 -> 19 bytes
11267 tests/files/good-single-none-empty_3.lzma | Bin 0 -> 19 bytes
11268 3 files changed, 6 insertions(+)
11270 commit 379fbbe84d922c7cc00afa65c6f0c095da596b19
11271 Author: Lasse Collin <lasse.collin@tukaani.org>
11272 Date: 2008-01-08 23:11:59 +0200
11274 Take advantage of return_if_error() in block_decoder.c.
11276 src/liblzma/common/block_decoder.c | 23 +++++++----------------
11277 1 file changed, 7 insertions(+), 16 deletions(-)
11279 commit 97d5fa82077e57815dfad995dc393c2809a78539
11280 Author: Lasse Collin <lasse.collin@tukaani.org>
11281 Date: 2008-01-08 23:10:57 +0200
11283 Updated tests/files/README.
11285 tests/files/README | 15 +++++++++------
11286 1 file changed, 9 insertions(+), 6 deletions(-)
11288 commit 3bb9bb310936cba6a743b4f06739a397dec7c28f
11289 Author: Lasse Collin <lasse.collin@tukaani.org>
11290 Date: 2008-01-08 23:05:40 +0200
11292 Added test files with empty Compressed Data.
11294 tests/files/README | 6 ++++++
11295 tests/files/good-single-lzma-empty.lzma | Bin 0 -> 21 bytes
11296 tests/files/good-single-none-empty_1.lzma | Bin 0 -> 18 bytes
11297 tests/files/good-single-none-empty_2.lzma | Bin 0 -> 26 bytes
11298 4 files changed, 6 insertions(+)
11300 commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f
11301 Author: Lasse Collin <lasse.collin@tukaani.org>
11302 Date: 2008-01-08 22:58:42 +0200
11304 Fix decoding of Blocks that have only Block Header.
11306 src/liblzma/common/block_decoder.c | 37 ++++++++++++++-----------------------
11307 1 file changed, 14 insertions(+), 23 deletions(-)
11309 commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4
11310 Author: Lasse Collin <lasse.collin@tukaani.org>
11311 Date: 2008-01-08 22:27:46 +0200
11313 Added good-single-subblock_implicit.lzma.
11315 tests/files/README | 2 ++
11316 tests/files/good-single-subblock_implicit.lzma | Bin 0 -> 35 bytes
11317 2 files changed, 2 insertions(+)
11319 commit faeac7b7aca75f86afed1e7cc06279d9d497c627
11320 Author: Lasse Collin <lasse.collin@tukaani.org>
11321 Date: 2008-01-08 18:50:30 +0200
11323 Disable CRC32 from Block Headers when --check=none
11324 has been specified.
11326 src/lzma/process.c | 2 +-
11327 1 file changed, 1 insertion(+), 1 deletion(-)
11329 commit a751126dbb656767ed4666cf0e5d3e17349d93d1
11330 Author: Lasse Collin <lasse.collin@tukaani.org>
11331 Date: 2008-01-08 13:36:29 +0200
11333 Fixed encoding of empty files. Arguments to is_size_valid()
11334 were in wrong order in block_encoder.c.
11336 src/liblzma/common/block_encoder.c | 2 +-
11337 1 file changed, 1 insertion(+), 1 deletion(-)
11339 commit 9080267603b1006c4867c823307dca9df8be0d20
11340 Author: Lasse Collin <lasse.collin@tukaani.org>
11341 Date: 2008-01-08 13:35:36 +0200
11343 Added a few test files.
11345 tests/files/README | 21 ++++++++++++++++++---
11346 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 0 -> 65 bytes
11347 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes
11348 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes
11349 tests/files/bad-single-data_after_eopm.lzma | Bin 55 -> 0 bytes
11350 tests/files/bad-single-data_after_eopm_1.lzma | Bin 0 -> 55 bytes
11351 tests/files/bad-single-none-truncated.lzma | Bin 0 -> 29 bytes
11352 7 files changed, 18 insertions(+), 3 deletions(-)
11354 commit b4943ccf73b64fc93a90a23474509c316f55eb2b
11355 Author: Lasse Collin <lasse.collin@tukaani.org>
11356 Date: 2008-01-08 12:29:58 +0200
11358 Avoid using ! in test_files.sh, because that doesn't work
11359 with some ancient /bin/sh versions.
11361 tests/test_files.sh | 4 +++-
11362 1 file changed, 3 insertions(+), 1 deletion(-)
11364 commit e2417b2b9134f3f65e14b61e23cd3644d8954353
11365 Author: Lasse Collin <lasse.collin@tukaani.org>
11366 Date: 2008-01-08 00:48:30 +0200
11368 More pre-C99 inttypes.h compatibility fixes. Now the code
11369 should work even if the system has no inttypes.h.
11371 src/common/physmem.h | 11 -----------
11372 src/liblzma/check/crc32_init.c | 5 +----
11373 src/liblzma/check/crc32_tablegen.c | 7 ++-----
11374 src/liblzma/check/crc64_init.c | 5 +----
11375 src/liblzma/check/crc64_tablegen.c | 7 ++-----
11376 5 files changed, 6 insertions(+), 29 deletions(-)
11378 commit 5d227e51c23639423f4ade06aabb54e131f8505e
11379 Author: Lasse Collin <lasse.collin@tukaani.org>
11380 Date: 2008-01-07 23:25:32 +0200
11382 Updated fi.po although it's currently pretty much crap.
11384 po/fi.po | 12 ++++++------
11385 1 file changed, 6 insertions(+), 6 deletions(-)
11387 commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d
11388 Author: Lasse Collin <lasse.collin@tukaani.org>
11389 Date: 2008-01-07 23:14:25 +0200
11391 Test for $GCC = yes instead of if it is non-empty. This
11392 way it is possible to use ac_cv_c_compiler_gnu=no to
11393 force configure to think it is using non-GNU C compiler.
11395 configure.ac | 2 +-
11396 1 file changed, 1 insertion(+), 1 deletion(-)
11398 commit 3dbbea82b74bb841c995ad332a3aeca613015e10
11399 Author: Lasse Collin <lasse.collin@tukaani.org>
11400 Date: 2008-01-07 21:49:41 +0200
11402 Added test_files.sh to tests/Makefile.am so it gets
11403 included in the tarball with "make dist".
11405 tests/Makefile.am | 2 +-
11406 1 file changed, 1 insertion(+), 1 deletion(-)
11408 commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0
11409 Author: Lasse Collin <lasse.collin@tukaani.org>
11410 Date: 2008-01-07 18:22:24 +0200
11412 Cosmetic edit to test_files.sh.
11414 tests/test_files.sh | 4 ++--
11415 1 file changed, 2 insertions(+), 2 deletions(-)
11417 commit 9a71d573100a990ceb30ce0bec6a9a15d795605f
11418 Author: Lasse Collin <lasse.collin@tukaani.org>
11419 Date: 2008-01-07 18:09:44 +0200
11421 Added tests/files/README.
11423 tests/files/README | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++
11424 1 file changed, 108 insertions(+)
11426 commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43
11427 Author: Lasse Collin <lasse.collin@tukaani.org>
11428 Date: 2008-01-07 14:20:57 +0200
11430 Tell in COPYING that everything in tests/files is
11434 1 file changed, 2 insertions(+), 1 deletion(-)
11436 commit 3502b3e1d00251d3c8dda96079440705c28d8225
11437 Author: Lasse Collin <lasse.collin@tukaani.org>
11438 Date: 2008-01-07 14:19:05 +0200
11440 Cleaned up the tests/files directory.
11442 tests/files/bad-single-subblock-padding_loop.lzma | Bin 0 -> 43 bytes
11443 tests/files/bad-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes
11444 tests/files/malicious-single-subblock-loop.lzma | Bin 43 -> 0 bytes
11445 tests/files/malicious-single-subblock-lzma.lzma | Bin 505 -> 0 bytes
11446 tests/files/malicious-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes
11447 5 files changed, 0 insertions(+), 0 deletions(-)
11449 commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c
11450 Author: Lasse Collin <lasse.collin@tukaani.org>
11451 Date: 2008-01-07 13:49:19 +0200
11453 Added test_files.sh to test decoding of the files in
11454 the tests/files directory. It doesn't test the malicious
11457 tests/Makefile.am | 4 +++-
11458 tests/test_files.sh | 40 ++++++++++++++++++++++++++++++++++++++++
11459 2 files changed, 43 insertions(+), 1 deletion(-)
11461 commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6
11462 Author: Lasse Collin <lasse.collin@tukaani.org>
11463 Date: 2008-01-07 11:23:13 +0200
11465 Updated README regarding the assembler optimizations.
11467 README | 10 +++++-----
11468 1 file changed, 5 insertions(+), 5 deletions(-)
11470 commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb
11471 Author: Lasse Collin <lasse.collin@tukaani.org>
11472 Date: 2008-01-07 10:58:00 +0200
11477 1 file changed, 1 insertion(+)
11479 commit 1239649f96132b18e3b7e2dd152ecf53a195caa8
11480 Author: Lasse Collin <lasse.collin@tukaani.org>
11481 Date: 2008-01-06 21:47:17 +0200
11483 Cosmetic changes to configure.ac.
11485 configure.ac | 14 ++++++--------
11486 1 file changed, 6 insertions(+), 8 deletions(-)
11488 commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e
11489 Author: Lasse Collin <lasse.collin@tukaani.org>
11490 Date: 2008-01-06 19:46:38 +0200
11492 Automatically disable assembler code on Darwin x86.
11493 Darwin has different ABI than GNU+Linux and Solaris,
11494 thus the assembler code doesn't assemble on Darwin.
11496 configure.ac | 17 +++++++++++++++--
11497 1 file changed, 15 insertions(+), 2 deletions(-)
11499 commit c15a7abf66e3a70792f7444115e484c7981c8284
11500 Author: Lasse Collin <lasse.collin@tukaani.org>
11501 Date: 2008-01-06 19:45:27 +0200
11503 With printf(), use PRIu64 with a cast to uint64_t instead
11504 of %zu, because some pre-C99 libc versions don't support %zu.
11506 src/lzma/help.c | 13 +++++++------
11507 src/lzmadec/lzmadec.c | 6 ++++--
11508 2 files changed, 11 insertions(+), 8 deletions(-)
11510 commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb
11511 Author: Lasse Collin <lasse.collin@tukaani.org>
11512 Date: 2008-01-06 16:27:41 +0200
11514 Introduced compatibility with systems that have pre-C99
11515 or no inttypes.h. This is useful when the compiler has
11516 good enough support for C99, but libc headers don't.
11518 Changed liblzma API so that sys/types.h and inttypes.h
11519 have to be #included before #including lzma.h. On systems
11520 that don't have C99 inttypes.h, it's the problem of the
11521 applications to provide the required types and macros
11522 before #including lzma.h.
11524 If lzma.h defined the missing types and macros, it could
11525 conflict with third-party applications whose configure
11526 has detected that the types are missing and defined them
11527 in config.h already. An alternative would have been
11528 introducing lzma_uint32 and similar types, but that would
11529 just be an extra pain on modern systems.
11531 configure.ac | 13 ++++++++-
11532 doc/liblzma-intro.txt | 10 +++++--
11533 src/common/sysdefs.h | 59 +++++++++++++++++++++++++++++++++++++-
11534 src/liblzma/api/lzma.h | 40 +++++++++++++++++---------
11535 src/liblzma/check/crc32_table.c | 4 +--
11536 src/liblzma/check/crc32_table_be.h | 2 --
11537 src/liblzma/check/crc32_table_le.h | 2 --
11538 src/liblzma/check/crc32_tablegen.c | 1 -
11539 src/liblzma/check/crc64_table.c | 4 +--
11540 src/liblzma/check/crc64_table_be.h | 2 --
11541 src/liblzma/check/crc64_table_le.h | 2 --
11542 src/liblzma/check/crc64_tablegen.c | 1 -
11543 src/lzma/private.h | 1 -
11544 13 files changed, 106 insertions(+), 35 deletions(-)
11546 commit a71864f77dfb76b5d78a270641539947c312583a
11547 Author: Lasse Collin <lasse.collin@tukaani.org>
11548 Date: 2008-01-05 19:57:00 +0200
11550 Fix typo in comment (INT64_MAX -> UINT64_MAX).
11552 src/liblzma/api/lzma/vli.h | 2 +-
11553 1 file changed, 1 insertion(+), 1 deletion(-)
11555 commit 072927905a3b66281c6311b4b351caa501d8b73a
11556 Author: Lasse Collin <lasse.collin@tukaani.org>
11557 Date: 2008-01-05 19:42:04 +0200
11559 Rearranged testing of GCC-specific flags.
11561 configure.ac | 33 +++++++++++++++++++++++----------
11562 1 file changed, 23 insertions(+), 10 deletions(-)
11564 commit d160ee32598c6d1cd9054ef019e8c9331208b188
11565 Author: Lasse Collin <lasse.collin@tukaani.org>
11566 Date: 2008-01-05 01:20:24 +0200
11568 Another bug fix for flush marker detection.
11570 src/liblzma/lzma/lzma_decoder.c | 10 +++++++++-
11571 1 file changed, 9 insertions(+), 1 deletion(-)
11573 commit fc67f79f607cbfa78c6f47a69dec098d8659b162
11574 Author: Lasse Collin <lasse.collin@tukaani.org>
11575 Date: 2008-01-04 21:37:01 +0200
11577 Fix stupid bugs in flush marker detection.
11579 src/liblzma/lzma/lzma_decoder.c | 7 ++++---
11580 1 file changed, 4 insertions(+), 3 deletions(-)
11582 commit 0029cbbabe87d491fc046a55a629a6d556010baa
11583 Author: Lasse Collin <lasse.collin@tukaani.org>
11584 Date: 2008-01-04 21:30:33 +0200
11586 Added support for flush marker, which will be in files
11587 that use LZMA_SYNC_FLUSH with encoder (not implemented
11588 yet). This is a new feature in the raw LZMA format,
11589 which isn't supported by old decoders. This shouldn't
11590 be a problem in practice, since lzma_alone_encoder()
11591 will not allow LZMA_SYNC_FLUSH, and thus not allow
11592 creating files on decodable with old decoders.
11594 Made lzma_decoder.c to require tab width of 4 characters
11595 if one wants to fit the code in 80 columns. This makes
11596 the code easier to read.
11598 src/liblzma/lzma/lzma_common.h | 4 +
11599 src/liblzma/lzma/lzma_decoder.c | 217 ++++++++++++++++++----------------------
11600 2 files changed, 104 insertions(+), 117 deletions(-)
11602 commit bbfd1f6ab058a7e661545205befcb7f70c5685ab
11603 Author: Lasse Collin <lasse.collin@tukaani.org>
11604 Date: 2008-01-04 20:45:05 +0200
11606 Moved range decoder initialization (reading the first
11607 five input bytes) from LZMA decoder to range decoder
11608 header. Did the same for decoding of direct bits.
11610 src/liblzma/lzma/lzma_decoder.c | 42 +++-------------
11611 src/liblzma/rangecoder/range_decoder.h | 87 +++++++++++++++++++++++-----------
11612 2 files changed, 66 insertions(+), 63 deletions(-)
11614 commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc
11615 Author: Lasse Collin <lasse.collin@tukaani.org>
11616 Date: 2007-12-14 11:15:21 +0200
11618 Added a note to README that --disable-assembler
11619 must be used on Darwin.
11622 1 file changed, 4 insertions(+)
11624 commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24
11625 Author: Lasse Collin <lasse.collin@tukaani.org>
11626 Date: 2007-12-14 10:07:10 +0200
11628 Use the filename suffix .S instead of .s for assembler files
11629 so that the preprocessor removes the /* */ style comments,
11630 which are not supported by some non-GNU assemblers (Solaris)
11631 that otherwise work with this code.
11633 src/liblzma/check/Makefile.am | 4 +-
11634 src/liblzma/check/crc32_x86.S | 217 ++++++++++++++++++++++++++++++++++++++++++
11635 src/liblzma/check/crc32_x86.s | 217 ------------------------------------------
11636 src/liblzma/check/crc64_x86.S | 203 +++++++++++++++++++++++++++++++++++++++
11637 src/liblzma/check/crc64_x86.s | 203 ---------------------------------------
11638 5 files changed, 422 insertions(+), 422 deletions(-)
11640 commit ec1c82b2e82f395f6e8e19ac212a639644330cd7
11641 Author: Lasse Collin <lasse.collin@tukaani.org>
11642 Date: 2007-12-14 09:59:05 +0200
11644 Fixed wrong symbol name in crc64_x86.s.
11646 src/liblzma/check/crc64_x86.s | 2 +-
11647 1 file changed, 1 insertion(+), 1 deletion(-)
11649 commit 2881570df6803eed2fe550af34574e8e61794804
11650 Author: Lasse Collin <lasse.collin@tukaani.org>
11651 Date: 2007-12-14 09:53:24 +0200
11653 Use .globl instead of .global in x86 assembler code for
11654 better portability. Still needs fixing the commenting.
11656 src/liblzma/check/crc32_x86.s | 2 +-
11657 src/liblzma/check/crc64_x86.s | 2 +-
11658 2 files changed, 2 insertions(+), 2 deletions(-)
11660 commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66
11661 Author: Lasse Collin <lasse.collin@tukaani.org>
11662 Date: 2007-12-13 20:14:37 +0200
11664 Fixed a few short options that take an argument.
11665 short_opts[] was missing colons to indicate
11666 required argument. Thanks to Fabio Pedretti for
11669 src/lzma/args.c | 2 +-
11670 1 file changed, 1 insertion(+), 1 deletion(-)
11672 commit 918bcb0e0728d2d976621e9f35b56f224f11d989
11673 Author: Lasse Collin <lasse.collin@tukaani.org>
11674 Date: 2007-12-11 17:08:04 +0200
11676 Removed uncompressed size tracking from Delta encoder too.
11678 src/liblzma/common/delta_coder.c | 21 +++------------------
11679 1 file changed, 3 insertions(+), 18 deletions(-)
11681 commit 3e16d51dd645667b05ff826665b1fc353aa41cd9
11682 Author: Lasse Collin <lasse.collin@tukaani.org>
11683 Date: 2007-12-11 16:49:19 +0200
11685 Remove uncompressed size tracking from the filter encoders.
11686 It's not strictly needed there, and just complicates the
11687 code. LZ encoder never even had this feature.
11689 The primary reason to have uncompressed size tracking in
11690 filter encoders was validating that the application
11691 doesn't give different amount of input that it had
11692 promised. A side effect was to validate internal workings
11695 Uncompressed size tracking is still present in the Block
11696 encoder. Maybe it should be added to LZMA_Alone and raw
11697 encoders too. It's simpler to have one coder just to
11698 validate the uncompressed size instead of having it
11701 src/liblzma/common/copy_coder.c | 25 ++--------------------
11702 src/liblzma/simple/simple_coder.c | 29 ++++---------------------
11703 src/liblzma/subblock/subblock_encoder.c | 38 ++++++---------------------------
11704 3 files changed, 12 insertions(+), 80 deletions(-)
11706 commit 5286723e0d1ac386d5b07f08d78e61becf895a5a
11707 Author: Lasse Collin <lasse.collin@tukaani.org>
11708 Date: 2007-12-11 14:10:53 +0200
11710 Get rid of no-NLS gnulib. I don't know how to get it
11711 working with Automake. People who want smaller lzmadec
11712 should use --disable-nls on non-GNU systems.
11714 lib/Makefile.am | 10 +---------
11715 src/lzma/Makefile.am | 2 +-
11716 src/lzmadec/Makefile.am | 4 +++-
11717 3 files changed, 5 insertions(+), 11 deletions(-)
11719 commit ce8b036a6c7a43b290356b673d953f6d76b2be64
11720 Author: Lasse Collin <lasse.collin@tukaani.org>
11721 Date: 2007-12-11 14:09:35 +0200
11723 Fixed a typo in tests/Makefile.am which prevented
11724 building the tests if gnulib was needed.
11726 tests/Makefile.am | 2 +-
11727 1 file changed, 1 insertion(+), 1 deletion(-)
11729 commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4
11730 Author: Lasse Collin <lasse.collin@tukaani.org>
11731 Date: 2007-12-11 11:18:58 +0200
11733 Fixed wrong type of flags_size in Subblock encoder.
11735 src/liblzma/subblock/subblock_encoder.c | 2 +-
11736 1 file changed, 1 insertion(+), 1 deletion(-)
11738 commit ce64df716243fdc40359090d1f6541f3a4f5f21a
11739 Author: Lasse Collin <lasse.collin@tukaani.org>
11740 Date: 2007-12-10 20:44:16 +0200
11742 Bumped version number to 4.42.3alpha.
11744 configure.ac | 2 +-
11745 src/liblzma/api/lzma/version.h | 2 +-
11746 2 files changed, 2 insertions(+), 2 deletions(-)
11748 commit b499a0403ea5c41d6a25b40275eb6c57643052ce
11749 Author: Lasse Collin <lasse.collin@tukaani.org>
11750 Date: 2007-12-10 15:02:50 +0200
11752 Disabled some unneeded warnings and made "make dist" work.
11754 Makefile.am | 9 +++------
11755 configure.ac | 9 ++++++---
11756 po/fi.po | 47 ++++++++++++++++++++++++-----------------------
11757 3 files changed, 33 insertions(+), 32 deletions(-)
11759 commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172
11760 Author: Lasse Collin <lasse.collin@tukaani.org>
11761 Date: 2007-12-09 21:43:15 +0200
11763 Added LZMA_SYNC_FLUSH support to the Copy filter.
11765 src/liblzma/common/copy_coder.c | 92 +++++++++++++++++++++++++----------------
11766 1 file changed, 57 insertions(+), 35 deletions(-)
11768 commit 329c272d501e88793dda5540358d55c12428d194
11769 Author: Lasse Collin <lasse.collin@tukaani.org>
11770 Date: 2007-12-09 17:14:07 +0200
11772 Added missing LZMA_API to the C versions of the CRC functions.
11773 The x86 assembler versions were already OK.
11775 src/liblzma/check/crc32.c | 2 +-
11776 src/liblzma/check/crc64.c | 2 +-
11777 2 files changed, 2 insertions(+), 2 deletions(-)
11779 commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7
11780 Author: Jim Meyering <meyering@redhat.com>
11781 Date: 2007-12-09 15:34:25 +0100
11783 * tests/test_block_header.c (test3): Remove duplicate initializer.
11786 tests/test_block_header.c | 1 -
11787 2 files changed, 1 insertion(+), 2 deletions(-)
11789 commit 07ac881779a8477f2c1ab112b91a129e24aa743c
11790 Author: Lasse Collin <lasse.collin@tukaani.org>
11791 Date: 2007-12-09 17:06:45 +0200
11793 Take advantage of return_if_error() macro in more places.
11794 Cleaned Subblock filter's initialization code too.
11796 src/liblzma/common/block_decoder.c | 22 +++-------
11797 src/liblzma/common/delta_coder.c | 8 +---
11798 src/liblzma/common/stream_decoder.c | 17 +++-----
11799 src/liblzma/common/stream_encoder_multi.c | 68 ++++++++++--------------------
11800 src/liblzma/common/stream_encoder_single.c | 8 ++--
11801 src/liblzma/subblock/subblock_decoder.c | 33 +++++----------
11802 src/liblzma/subblock/subblock_encoder.c | 45 ++++++--------------
11803 7 files changed, 63 insertions(+), 138 deletions(-)
11805 commit 41338717964f510ee61d70b25bd4c502ec9f77cf
11806 Author: Lasse Collin <lasse.collin@tukaani.org>
11807 Date: 2007-12-09 12:13:01 +0200
11809 Added a bunch of .lzma test files.
11811 tests/files/bad-single-data_after_eopm.lzma | Bin 0 -> 55 bytes
11812 tests/files/bad-single-data_after_eopm_2.lzma | Bin 0 -> 56 bytes
11813 tests/files/bad-single-subblock_subblock.lzma | Bin 0 -> 26 bytes
11814 tests/files/good-cat-single-none-pad.lzma | Bin 0 -> 64 bytes
11815 tests/files/good-single-delta-lzma.tiff.lzma | Bin 0 -> 51409 bytes
11816 tests/files/good-single-lzma.lzma | Bin 0 -> 44 bytes
11817 tests/files/good-single-none-pad.lzma | Bin 0 -> 32 bytes
11818 tests/files/good-single-none.lzma | Bin 0 -> 30 bytes
11819 tests/files/good-single-subblock-lzma.lzma | Bin 0 -> 50 bytes
11820 tests/files/good-single-subblock_rle.lzma | Bin 0 -> 118 bytes
11821 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 0 -> 51 bytes
11822 tests/files/malicious-single-subblock-256MiB.lzma | Bin 0 -> 30 bytes
11823 tests/files/malicious-single-subblock-64PiB.lzma | Bin 0 -> 45 bytes
11824 tests/files/malicious-single-subblock-loop.lzma | Bin 0 -> 43 bytes
11825 tests/files/malicious-single-subblock-lzma.lzma | Bin 0 -> 505 bytes
11826 tests/files/malicious-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes
11827 tests/files/malicious-single-subblock31-slow.lzma | Bin 0 -> 1233 bytes
11828 17 files changed, 0 insertions(+), 0 deletions(-)
11830 commit ff946ceb7975d4f11950afd33f6315b4d20d1a03
11831 Author: Lasse Collin <lasse.collin@tukaani.org>
11832 Date: 2007-12-09 11:24:48 +0200
11834 Re-enabled the security checks in Subblock decoder
11835 that were disabled for debugging reasons.
11837 src/liblzma/subblock/subblock_decoder.c | 6 +++---
11838 1 file changed, 3 insertions(+), 3 deletions(-)
11840 commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1
11841 Author: Lasse Collin <lasse.collin@tukaani.org>
11842 Date: 2007-12-09 11:03:28 +0200
11844 Fixed the tests to build with -Werror.
11846 tests/test_block_header.c | 2 +-
11847 tests/test_check.c | 2 +-
11848 tests/test_filter_flags.c | 2 +-
11849 tests/test_index.c | 14 +++++++-------
11850 tests/test_info.c | 2 +-
11851 tests/test_stream_flags.c | 2 +-
11852 6 files changed, 12 insertions(+), 12 deletions(-)
11854 commit 5d018dc03549c1ee4958364712fb0c94e1bf2741
11855 Author: Lasse Collin <lasse.collin@tukaani.org>
11856 Date: 2007-12-09 00:42:33 +0200
11862 COPYING.GPLv2 | 339 +++++
11863 COPYING.GPLv3 | 674 +++++++++
11864 COPYING.LGPLv2.1 | 504 +++++++
11866 Doxyfile.in | 1229 ++++++++++++++++
11873 configure.ac | 611 ++++++++
11874 doc/bugs.txt | 46 +
11875 doc/faq.txt | 247 ++++
11876 doc/file-format.txt | 1861 ++++++++++++++++++++++++
11877 doc/history.txt | 140 ++
11878 doc/liblzma-advanced.txt | 324 +++++
11879 doc/liblzma-hacking.txt | 112 ++
11880 doc/liblzma-intro.txt | 188 +++
11881 doc/liblzma-security.txt | 219 +++
11882 doc/lzma-intro.txt | 107 ++
11883 extra/scanlzma/scanlzma.c | 85 ++
11884 lib/Makefile.am | 40 +
11885 lib/getopt.c | 1191 +++++++++++++++
11886 lib/getopt1.c | 171 +++
11887 lib/getopt_.h | 226 +++
11888 lib/getopt_int.h | 131 ++
11889 lib/gettext.h | 240 +++
11890 m4/acx_pthread.m4 | 279 ++++
11891 m4/getopt.m4 | 83 ++
11894 po/POTFILES.in | 13 +
11895 po/fi.po | 445 ++++++
11896 src/Makefile.am | 16 +
11897 src/common/open_stdxxx.h | 50 +
11898 src/common/physmem.h | 77 +
11899 src/common/sysdefs.h | 100 ++
11900 src/liblzma/Makefile.am | 47 +
11901 src/liblzma/api/Makefile.am | 39 +
11902 src/liblzma/api/lzma.h | 122 ++
11903 src/liblzma/api/lzma/alignment.h | 60 +
11904 src/liblzma/api/lzma/alone.h | 82 ++
11905 src/liblzma/api/lzma/auto.h | 41 +
11906 src/liblzma/api/lzma/base.h | 410 ++++++
11907 src/liblzma/api/lzma/block.h | 409 ++++++
11908 src/liblzma/api/lzma/check.h | 128 ++
11909 src/liblzma/api/lzma/copy.h | 29 +
11910 src/liblzma/api/lzma/delta.h | 49 +
11911 src/liblzma/api/lzma/extra.h | 114 ++
11912 src/liblzma/api/lzma/filter.h | 166 +++
11913 src/liblzma/api/lzma/index.h | 84 ++
11914 src/liblzma/api/lzma/info.h | 315 ++++
11915 src/liblzma/api/lzma/init.h | 85 ++
11916 src/liblzma/api/lzma/lzma.h | 312 ++++
11917 src/liblzma/api/lzma/memlimit.h | 157 ++
11918 src/liblzma/api/lzma/metadata.h | 100 ++
11919 src/liblzma/api/lzma/raw.h | 72 +
11920 src/liblzma/api/lzma/simple.h | 85 ++
11921 src/liblzma/api/lzma/stream.h | 178 +++
11922 src/liblzma/api/lzma/stream_flags.h | 142 ++
11923 src/liblzma/api/lzma/subblock.h | 197 +++
11924 src/liblzma/api/lzma/version.h | 59 +
11925 src/liblzma/api/lzma/vli.h | 244 ++++
11926 src/liblzma/check/Makefile.am | 64 +
11927 src/liblzma/check/check.c | 160 ++
11928 src/liblzma/check/check.h | 102 ++
11929 src/liblzma/check/check_byteswap.h | 43 +
11930 src/liblzma/check/check_init.c | 37 +
11931 src/liblzma/check/crc32.c | 88 ++
11932 src/liblzma/check/crc32_init.c | 58 +
11933 src/liblzma/check/crc32_table.c | 22 +
11934 src/liblzma/check/crc32_table_be.h | 527 +++++++
11935 src/liblzma/check/crc32_table_le.h | 527 +++++++
11936 src/liblzma/check/crc32_tablegen.c | 55 +
11937 src/liblzma/check/crc32_x86.s | 217 +++
11938 src/liblzma/check/crc64.c | 75 +
11939 src/liblzma/check/crc64_init.c | 58 +
11940 src/liblzma/check/crc64_table.c | 22 +
11941 src/liblzma/check/crc64_table_be.h | 523 +++++++
11942 src/liblzma/check/crc64_table_le.h | 523 +++++++
11943 src/liblzma/check/crc64_tablegen.c | 56 +
11944 src/liblzma/check/crc64_x86.s | 203 +++
11945 src/liblzma/check/crc_macros.h | 33 +
11946 src/liblzma/check/sha256.c | 203 +++
11947 src/liblzma/common/Makefile.am | 94 ++
11948 src/liblzma/common/alignment.c | 118 ++
11949 src/liblzma/common/allocator.c | 57 +
11950 src/liblzma/common/alone_decoder.c | 197 +++
11951 src/liblzma/common/alone_decoder.h | 24 +
11952 src/liblzma/common/alone_encoder.c | 167 +++
11953 src/liblzma/common/auto_decoder.c | 113 ++
11954 src/liblzma/common/block_decoder.c | 405 ++++++
11955 src/liblzma/common/block_decoder.h | 29 +
11956 src/liblzma/common/block_encoder.c | 375 +++++
11957 src/liblzma/common/block_encoder.h | 29 +
11958 src/liblzma/common/block_header_decoder.c | 373 +++++
11959 src/liblzma/common/block_header_encoder.c | 211 +++
11960 src/liblzma/common/block_private.h | 46 +
11961 src/liblzma/common/chunk_size.c | 74 +
11962 src/liblzma/common/code.c | 203 +++
11963 src/liblzma/common/common.h | 271 ++++
11964 src/liblzma/common/copy_coder.c | 143 ++
11965 src/liblzma/common/copy_coder.h | 31 +
11966 src/liblzma/common/delta_coder.c | 210 +++
11967 src/liblzma/common/delta_coder.h | 31 +
11968 src/liblzma/common/extra.c | 33 +
11969 src/liblzma/common/features.c | 70 +
11970 src/liblzma/common/filter_flags_decoder.c | 382 +++++
11971 src/liblzma/common/filter_flags_encoder.c | 359 +++++
11972 src/liblzma/common/index.c | 140 ++
11973 src/liblzma/common/info.c | 823 +++++++++++
11974 src/liblzma/common/init.c | 39 +
11975 src/liblzma/common/init_decoder.c | 33 +
11976 src/liblzma/common/init_encoder.c | 44 +
11977 src/liblzma/common/memory_limitter.c | 200 +++
11978 src/liblzma/common/memory_usage.c | 113 ++
11979 src/liblzma/common/metadata_decoder.c | 555 +++++++
11980 src/liblzma/common/metadata_decoder.h | 31 +
11981 src/liblzma/common/metadata_encoder.c | 436 ++++++
11982 src/liblzma/common/metadata_encoder.h | 30 +
11983 src/liblzma/common/next_coder.c | 65 +
11984 src/liblzma/common/raw_common.c | 175 +++
11985 src/liblzma/common/raw_common.h | 31 +
11986 src/liblzma/common/raw_decoder.c | 127 ++
11987 src/liblzma/common/raw_decoder.h | 30 +
11988 src/liblzma/common/raw_encoder.c | 124 ++
11989 src/liblzma/common/raw_encoder.h | 30 +
11990 src/liblzma/common/stream_common.c | 23 +
11991 src/liblzma/common/stream_common.h | 28 +
11992 src/liblzma/common/stream_decoder.c | 454 ++++++
11993 src/liblzma/common/stream_encoder_multi.c | 460 ++++++
11994 src/liblzma/common/stream_encoder_single.c | 220 +++
11995 src/liblzma/common/stream_flags_decoder.c | 258 ++++
11996 src/liblzma/common/stream_flags_decoder.h | 31 +
11997 src/liblzma/common/stream_flags_encoder.c | 75 +
11998 src/liblzma/common/sysdefs.h | 1 +
11999 src/liblzma/common/version.c | 25 +
12000 src/liblzma/common/vli_decoder.c | 69 +
12001 src/liblzma/common/vli_encoder.c | 81 ++
12002 src/liblzma/common/vli_reverse_decoder.c | 55 +
12003 src/liblzma/lz/Makefile.am | 63 +
12004 src/liblzma/lz/bt2.c | 27 +
12005 src/liblzma/lz/bt2.h | 31 +
12006 src/liblzma/lz/bt3.c | 29 +
12007 src/liblzma/lz/bt3.h | 31 +
12008 src/liblzma/lz/bt4.c | 30 +
12009 src/liblzma/lz/bt4.h | 31 +
12010 src/liblzma/lz/hc3.c | 30 +
12011 src/liblzma/lz/hc3.h | 31 +
12012 src/liblzma/lz/hc4.c | 31 +
12013 src/liblzma/lz/hc4.h | 31 +
12014 src/liblzma/lz/lz_decoder.c | 462 ++++++
12015 src/liblzma/lz/lz_decoder.h | 214 +++
12016 src/liblzma/lz/lz_encoder.c | 481 ++++++
12017 src/liblzma/lz/lz_encoder.h | 161 ++
12018 src/liblzma/lz/lz_encoder_private.h | 40 +
12019 src/liblzma/lz/match_c.h | 401 +++++
12020 src/liblzma/lz/match_h.h | 69 +
12021 src/liblzma/lzma.pc.in | 11 +
12022 src/liblzma/lzma/Makefile.am | 43 +
12023 src/liblzma/lzma/lzma_common.h | 128 ++
12024 src/liblzma/lzma/lzma_decoder.c | 844 +++++++++++
12025 src/liblzma/lzma/lzma_decoder.h | 41 +
12026 src/liblzma/lzma/lzma_encoder.c | 413 ++++++
12027 src/liblzma/lzma/lzma_encoder.h | 35 +
12028 src/liblzma/lzma/lzma_encoder_features.c | 59 +
12029 src/liblzma/lzma/lzma_encoder_getoptimum.c | 893 ++++++++++++
12030 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 +++
12031 src/liblzma/lzma/lzma_encoder_init.c | 245 ++++
12032 src/liblzma/lzma/lzma_encoder_presets.c | 34 +
12033 src/liblzma/lzma/lzma_encoder_private.h | 225 +++
12034 src/liblzma/lzma/lzma_literal.c | 74 +
12035 src/liblzma/lzma/lzma_literal.h | 74 +
12036 src/liblzma/rangecoder/Makefile.am | 28 +
12037 src/liblzma/rangecoder/range_common.h | 68 +
12038 src/liblzma/rangecoder/range_decoder.h | 189 +++
12039 src/liblzma/rangecoder/range_encoder.c | 46 +
12040 src/liblzma/rangecoder/range_encoder.h | 317 ++++
12041 src/liblzma/simple/Makefile.am | 46 +
12042 src/liblzma/simple/arm.c | 76 +
12043 src/liblzma/simple/armthumb.c | 81 ++
12044 src/liblzma/simple/ia64.c | 117 ++
12045 src/liblzma/simple/powerpc.c | 80 +
12046 src/liblzma/simple/simple_coder.c | 306 ++++
12047 src/liblzma/simple/simple_coder.h | 68 +
12048 src/liblzma/simple/simple_private.h | 86 ++
12049 src/liblzma/simple/sparc.c | 88 ++
12050 src/liblzma/simple/x86.c | 161 ++
12051 src/liblzma/subblock/Makefile.am | 33 +
12052 src/liblzma/subblock/subblock_decoder.c | 681 +++++++++
12053 src/liblzma/subblock/subblock_decoder.h | 29 +
12054 src/liblzma/subblock/subblock_decoder_helper.c | 80 +
12055 src/liblzma/subblock/subblock_decoder_helper.h | 36 +
12056 src/liblzma/subblock/subblock_encoder.c | 841 +++++++++++
12057 src/liblzma/subblock/subblock_encoder.h | 28 +
12058 src/lzma/Makefile.am | 63 +
12059 src/lzma/alloc.c | 106 ++
12060 src/lzma/alloc.h | 42 +
12061 src/lzma/args.c | 566 +++++++
12062 src/lzma/args.h | 64 +
12063 src/lzma/error.c | 156 ++
12064 src/lzma/error.h | 67 +
12065 src/lzma/hardware.c | 99 ++
12066 src/lzma/hardware.h | 31 +
12067 src/lzma/help.c | 178 +++
12068 src/lzma/help.h | 32 +
12069 src/lzma/io.c | 664 +++++++++
12070 src/lzma/io.h | 60 +
12071 src/lzma/list.c | 477 ++++++
12072 src/lzma/main.c | 254 ++++
12073 src/lzma/options.c | 346 +++++
12074 src/lzma/options.h | 46 +
12075 src/lzma/private.h | 55 +
12076 src/lzma/process.c | 458 ++++++
12077 src/lzma/process.h | 30 +
12078 src/lzma/suffix.c | 145 ++
12079 src/lzma/suffix.h | 25 +
12080 src/lzma/util.c | 182 +++
12081 src/lzma/util.h | 32 +
12082 src/lzmadec/Makefile.am | 27 +
12083 src/lzmadec/lzmadec.c | 515 +++++++
12084 src/scripts/Makefile.am | 24 +
12085 src/scripts/lzdiff | 67 +
12086 src/scripts/lzdiff.1 | 51 +
12087 src/scripts/lzgrep | 123 ++
12088 src/scripts/lzgrep.1 | 61 +
12089 src/scripts/lzmore | 74 +
12090 src/scripts/lzmore.1 | 55 +
12091 tests/Makefile.am | 43 +
12092 tests/test_block.c | 59 +
12093 tests/test_block_header.c | 352 +++++
12094 tests/test_check.c | 90 ++
12095 tests/test_filter_flags.c | 326 +++++
12096 tests/test_index.c | 43 +
12097 tests/test_info.c | 717 +++++++++
12098 tests/test_stream_flags.c | 191 +++
12099 tests/tests.h | 148 ++
12100 240 files changed, 42513 insertions(+)