1 commit 3d566cd519017eee1a400e7961ff14058dfaf33c
2 Author: Lasse Collin <lasse.collin@tukaani.org>
3 Date: 2016-12-30 13:26:36 +0200
5 Bump version and soname for 5.2.3.
7 src/liblzma/Makefile.am | 2 +-
8 src/liblzma/api/lzma/version.h | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
11 commit 053e624fe33795e779ff736f16ce44a129c829b5
12 Author: Lasse Collin <lasse.collin@tukaani.org>
13 Date: 2016-12-30 13:25:10 +0200
15 Update NEWS for 5.2.3.
17 NEWS | 39 +++++++++++++++++++++++++++++++++++++++
18 1 file changed, 39 insertions(+)
20 commit cae412b2b77d7fd88d187ed7659331709311f80d
21 Author: Lasse Collin <lasse.collin@tukaani.org>
22 Date: 2015-04-01 14:45:25 +0300
24 xz: Fix the Capsicum rights on user_abort_pipe.
26 src/xz/file_io.c | 6 +++++-
27 1 file changed, 5 insertions(+), 1 deletion(-)
29 commit 9ccbae41000572193b9a09e7102f9e84dc6d96de
30 Author: Lasse Collin <lasse.collin@tukaani.org>
31 Date: 2016-12-28 21:05:22 +0200
33 Mention potential sandboxing bugs in INSTALL.
36 1 file changed, 4 insertions(+), 1 deletion(-)
38 commit e013a337d3de77cce24360dffe956ea2339489b6
39 Author: Lasse Collin <lasse.collin@tukaani.org>
40 Date: 2016-11-21 20:24:50 +0200
42 liblzma: Avoid multiple definitions of lzma_coder structures.
44 Only one definition was visible in a translation unit.
45 It avoided a few casts and temp variables but seems that
46 this hack doesn't work with link-time optimizations in compilers
47 as it's not C99/C11 compliant.
50 http://www.mail-archive.com/xz-devel@tukaani.org/msg00279.html
52 src/liblzma/common/alone_decoder.c | 44 +++++----
53 src/liblzma/common/alone_encoder.c | 34 ++++---
54 src/liblzma/common/auto_decoder.c | 35 ++++---
55 src/liblzma/common/block_decoder.c | 41 ++++----
56 src/liblzma/common/block_encoder.c | 40 ++++----
57 src/liblzma/common/common.h | 18 ++--
58 src/liblzma/common/index_decoder.c | 33 ++++---
59 src/liblzma/common/index_encoder.c | 16 ++--
60 src/liblzma/common/stream_decoder.c | 50 +++++-----
61 src/liblzma/common/stream_encoder.c | 56 ++++++-----
62 src/liblzma/common/stream_encoder_mt.c | 124 ++++++++++++++-----------
63 src/liblzma/delta/delta_common.c | 25 ++---
64 src/liblzma/delta/delta_decoder.c | 6 +-
65 src/liblzma/delta/delta_encoder.c | 12 ++-
66 src/liblzma/delta/delta_private.h | 4 +-
67 src/liblzma/lz/lz_decoder.c | 60 ++++++------
68 src/liblzma/lz/lz_decoder.h | 13 ++-
69 src/liblzma/lz/lz_encoder.c | 57 +++++++-----
70 src/liblzma/lz/lz_encoder.h | 9 +-
71 src/liblzma/lzma/lzma2_decoder.c | 32 ++++---
72 src/liblzma/lzma/lzma2_encoder.c | 51 +++++-----
73 src/liblzma/lzma/lzma_decoder.c | 27 +++---
74 src/liblzma/lzma/lzma_encoder.c | 29 +++---
75 src/liblzma/lzma/lzma_encoder.h | 9 +-
76 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 3 +-
77 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 23 ++---
78 src/liblzma/lzma/lzma_encoder_private.h | 6 +-
79 src/liblzma/simple/arm.c | 2 +-
80 src/liblzma/simple/armthumb.c | 2 +-
81 src/liblzma/simple/ia64.c | 2 +-
82 src/liblzma/simple/powerpc.c | 2 +-
83 src/liblzma/simple/simple_coder.c | 61 ++++++------
84 src/liblzma/simple/simple_private.h | 12 +--
85 src/liblzma/simple/sparc.c | 2 +-
86 src/liblzma/simple/x86.c | 15 +--
87 35 files changed, 532 insertions(+), 423 deletions(-)
89 commit 8e0f1af3dcaec00a3879cce8ad7441edc6359d1c
90 Author: Lasse Collin <lasse.collin@tukaani.org>
91 Date: 2016-12-26 20:50:25 +0200
93 Document --enable-sandbox configure option in INSTALL.
95 INSTALL | 25 +++++++++++++++++++++++++
96 1 file changed, 25 insertions(+)
98 commit ce2542d220de06acd618fd9f5c0a6683029fb4eb
99 Author: Lasse Collin <lasse.collin@tukaani.org>
100 Date: 2015-03-31 22:19:34 +0300
102 xz: Add support for sandboxing with Capsicum (disabled by default).
104 In the v5.2 branch this feature is considered experimental
105 and thus disabled by default.
107 The sandboxing is used conditionally as described in main.c.
108 This isn't optimal but it was much easier to implement than
109 a full sandboxing solution and it still covers the most common
110 use cases where xz is writing to standard output. This should
111 have practically no effect on performance even with small files
112 as fork() isn't needed.
114 C and locale libraries can open files as needed. This has been
115 fine in the past, but it's a problem with things like Capsicum.
116 io_sandbox_enter() tries to ensure that various locale-related
117 files have been loaded before cap_enter() is called, but it's
118 possible that there are other similar problems which haven't
121 Currently Capsicum is available on FreeBSD 10 and later
122 and there is a port to Linux too.
124 Thanks to Loganaden Velvindron for help.
126 configure.ac | 41 +++++++++++++++++++++++++++
127 src/xz/Makefile.am | 2 +-
128 src/xz/file_io.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
129 src/xz/file_io.h | 6 ++++
130 src/xz/main.c | 18 ++++++++++++
131 src/xz/private.h | 4 +++
132 6 files changed, 151 insertions(+), 1 deletion(-)
134 commit 3ca1d5e6320111043e19434da881065fadafa0e4
135 Author: Lasse Collin <lasse.collin@tukaani.org>
136 Date: 2015-03-31 21:12:30 +0300
138 Fix bugs and otherwise improve ax_check_capsicum.m4.
140 AU_ALIAS was removed because the new version is incompatible
141 with the old version.
143 It no longer checks for <sys/capability.h> separately.
144 It's enough to test for it as part of AC_CHECK_DECL.
145 The defines HAVE_CAPSICUM_SYS_CAPSICUM_H and
146 HAVE_CAPSICUM_SYS_CAPABILITY_H were removed as unneeded.
147 HAVE_SYS_CAPSICUM_H from AC_CHECK_HEADERS is enough.
149 It no longer does a useless search for the Capsicum library
150 if the header wasn't found.
152 Fixed a bug in ACTION-IF-FOUND (the first argument). Specifying
153 the argument omitted the default action but the given action
156 AC_DEFINE([HAVE_CAPSICUM]) is now always called when Capsicum
157 support is found. Previously it was part of the default
158 ACTION-IF-FOUND which a custom action would override. Now
159 the default action only prepends ${CAPSICUM_LIB} to LIBS.
161 The documentation was updated.
163 Since there as no serial number, "#serial 2" was added.
165 m4/ax_check_capsicum.m4 | 103 ++++++++++++++++++++++++------------------------
166 1 file changed, 51 insertions(+), 52 deletions(-)
168 commit 5f3a742b64197fe8bedb6f05fc6ce5d177d11145
169 Author: Lasse Collin <lasse.collin@tukaani.org>
170 Date: 2015-03-31 19:20:24 +0300
172 Add m4/ax_check_capsicum.m4 for detecting Capsicum support.
174 The file was loaded from this web page:
175 https://github.com/google/capsicum-test/blob/dev/autoconf/m4/ax_check_capsicum.m4
177 Thanks to Loganaden Velvindron for pointing it out for me.
179 m4/ax_check_capsicum.m4 | 86 +++++++++++++++++++++++++++++++++++++++++++++++++
180 1 file changed, 86 insertions(+)
182 commit d74377e62b4c649e40294dd441de72c0f092e67c
183 Author: Lasse Collin <lasse.collin@tukaani.org>
184 Date: 2015-10-12 20:29:09 +0300
186 liblzma: Fix a memory leak in error path of lzma_index_dup().
188 lzma_index_dup() calls index_dup_stream() which, in case of
189 an error, calls index_stream_end() to free memory allocated
190 by index_stream_init(). However, it illogically didn't
191 actually free the memory. To make it logical, the tree
192 handling code was modified a bit in addition to changing
195 Thanks to Evan Nemerson for the bug report.
197 src/liblzma/common/index.c | 18 +++++++++---------
198 1 file changed, 9 insertions(+), 9 deletions(-)
200 commit f580732216dcf971f3f006fe8e01cd4979e1d964
201 Author: Lasse Collin <lasse.collin@tukaani.org>
202 Date: 2016-10-24 18:53:25 +0300
207 1 file changed, 1 insertion(+)
209 commit 88d7a7fd153bf1355cdf798ffdac7443d0169afc
210 Author: Lasse Collin <lasse.collin@tukaani.org>
211 Date: 2016-10-24 18:51:36 +0300
213 tuklib_cpucores: Add support for sched_getaffinity().
215 It's available in glibc (GNU/Linux, GNU/kFreeBSD). It's better
216 than sysconf(_SC_NPROCESSORS_ONLN) because sched_getaffinity()
217 gives the number of cores available to the process instead of
218 the total number of cores online.
220 As a side effect, this commit fixes a bug on GNU/kFreeBSD where
221 configure would detect the FreeBSD-specific cpuset_getaffinity()
222 but it wouldn't actually work because on GNU/kFreeBSD it requires
223 using -lfreebsd-glue when linking. Now the glibc-specific function
224 will be used instead.
226 Thanks to Sebastian Andrzej Siewior for the original patch
229 m4/tuklib_cpucores.m4 | 30 +++++++++++++++++++++++++++++-
230 src/common/tuklib_cpucores.c | 9 +++++++++
231 2 files changed, 38 insertions(+), 1 deletion(-)
233 commit 51baf684376903dbeddd840582bfdf9fa91b311b
234 Author: Lasse Collin <lasse.collin@tukaani.org>
235 Date: 2016-06-30 20:27:36 +0300
237 xz: Fix copying of timestamps on Windows.
239 xz used to call utime() on Windows, but its result gets lost
240 on close(). Using _futime() seems to work.
242 Thanks to Martok for reporting the bug:
243 http://www.mail-archive.com/xz-devel@tukaani.org/msg00261.html
246 src/xz/file_io.c | 18 ++++++++++++++++++
247 2 files changed, 19 insertions(+), 1 deletion(-)
249 commit 1ddc479851139d6e8202e5835421bfe6578d9e07
250 Author: Lasse Collin <lasse.collin@tukaani.org>
251 Date: 2016-06-16 22:46:02 +0300
253 xz: Silence warnings from -Wlogical-op.
255 Thanks to Evan Nemerson.
257 src/xz/file_io.c | 12 ++++++++++--
258 1 file changed, 10 insertions(+), 2 deletions(-)
260 commit be647ff5ed5a1c244a65722af6ce250259f3b14a
261 Author: Lasse Collin <lasse.collin@tukaani.org>
262 Date: 2016-04-10 20:55:49 +0300
264 Build: Fix = to += for xz_SOURCES in src/xz/Makefile.am.
266 Thanks to Christian Kujau.
268 src/xz/Makefile.am | 2 +-
269 1 file changed, 1 insertion(+), 1 deletion(-)
271 commit fb6d50c15343831f35305982cefa82053099191d
272 Author: Lasse Collin <lasse.collin@tukaani.org>
273 Date: 2016-04-10 20:54:17 +0300
275 Build: Bump GNU Gettext version requirement to 0.19.
277 It silences a few warnings and most people probably have
278 0.19 even on stable distributions.
280 Thanks to Christian Kujau.
283 1 file changed, 1 insertion(+), 1 deletion(-)
285 commit 74f8dad9f912a2993768d93d108ea2b0b2c196e0
286 Author: Lasse Collin <lasse.collin@tukaani.org>
287 Date: 2016-03-13 20:21:49 +0200
289 liblzma: Disable external SHA-256 by default.
291 This is the sane thing to do. The conflict with OpenSSL
292 on some OSes and especially that the OS-provided versions
293 can be significantly slower makes it clear that it was
294 a mistake to have the external SHA-256 support enabled by
297 Those who want it can now pass --enable-external-sha256 to
298 configure. INSTALL was updated with notes about OSes where
299 this can be a bad idea.
301 The SHA-256 detection code in configure.ac had some bugs that
302 could lead to a build failure in some situations. These were
303 fixed, although it doesn't matter that much now that the
304 external SHA-256 is disabled by default.
306 MINIX >= 3.2.0 uses NetBSD's libc and thus has SHA256_Init
307 in libc instead of libutil. Support for the libutil version
310 INSTALL | 36 ++++++++++++++++++++++
311 configure.ac | 76 +++++++++++++++++++++++------------------------
312 src/liblzma/check/check.h | 16 ++++------
313 3 files changed, 79 insertions(+), 49 deletions(-)
315 commit ea7f6ff04cb5bb1498088eb09960a4c3f13dfe39
316 Author: Lasse Collin <lasse.collin@tukaani.org>
317 Date: 2016-03-10 20:27:05 +0200
322 1 file changed, 1 insertion(+)
324 commit d0e018016b311232e82d9a98dc68f1e3dabce794
325 Author: Lasse Collin <lasse.collin@tukaani.org>
326 Date: 2016-03-10 20:26:49 +0200
328 Build: Avoid SHA256_Init on FreeBSD and MINIX 3.
330 On FreeBSD 10 and older, SHA256_Init from libmd conflicts
331 with libcrypto from OpenSSL. The OpenSSL version has
332 different sizeof(SHA256_CTX) and it can cause weird
333 problems if wrong SHA256_Init gets used.
335 Looking at the source, MINIX 3 seems to have a similar issue but
336 I'm not sure. To be safe, I disabled SHA256_Init on MINIX 3 too.
338 NetBSD has SHA256_Init in libc and they had a similar problem,
339 but they already fixed it in 2009.
341 Thanks to Jim Wilcoxson for the bug report that helped
342 in finding the problem.
344 configure.ac | 27 +++++++++++++++++++++------
345 1 file changed, 21 insertions(+), 6 deletions(-)
347 commit 5daae123915f32a4ed6dc948b831533c2d1beec3
348 Author: Lasse Collin <lasse.collin@tukaani.org>
349 Date: 2015-11-08 20:16:10 +0200
351 tuklib_physmem: Hopefully silence a warning on Windows.
353 src/common/tuklib_physmem.c | 3 ++-
354 1 file changed, 2 insertions(+), 1 deletion(-)
356 commit 491acc406e098167ccb7fce0728b94c2f32cff9f
357 Author: Lasse Collin <lasse.collin@tukaani.org>
358 Date: 2015-11-04 23:17:43 +0200
363 1 file changed, 1 insertion(+)
365 commit 8173ff8790ad3502d04e1c07d014cb84a3b8187b
366 Author: Lasse Collin <lasse.collin@tukaani.org>
367 Date: 2015-11-04 23:14:00 +0200
369 liblzma: Make Valgrind happier with optimized (gcc -O2) liblzma.
371 When optimizing, GCC can reorder code so that an uninitialized
372 value gets used in a comparison, which makes Valgrind unhappy.
373 It doesn't happen when compiled with -O0, which I tend to use
374 when running Valgrind.
376 Thanks to Rich Prohaska. I remember this being mentioned long
377 ago by someone else but nothing was done back then.
379 src/liblzma/lz/lz_encoder.c | 4 ++++
380 1 file changed, 4 insertions(+)
382 commit 013de2b5ab8094d2c82a2771f3d143eeb656eda9
383 Author: Lasse Collin <lasse.collin@tukaani.org>
384 Date: 2015-11-03 20:55:45 +0200
386 liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c.
388 It would be too annoying to update other build systems
389 just because of this.
391 src/liblzma/lzma/Makefile.inc | 2 +-
392 src/liblzma/lzma/{lzma_presets.c => lzma_encoder_presets.c} | 2 +-
393 2 files changed, 2 insertions(+), 2 deletions(-)
395 commit a322f70ad96de88968c2c36e6a36bc08ae30bd20
396 Author: Lasse Collin <lasse.collin@tukaani.org>
397 Date: 2015-11-03 20:47:07 +0200
399 Build: Disable xzdec, lzmadec, and lzmainfo when they cannot be built.
401 They all need decoder support and if that isn't available,
402 there's no point trying to build them.
405 1 file changed, 3 insertions(+)
407 commit 8ea49606cf6427e32319de7693eca9e43f1c8ad6
408 Author: Lasse Collin <lasse.collin@tukaani.org>
409 Date: 2015-11-03 20:35:19 +0200
411 Build: Simplify $enable_{encoders,decoders} usage a bit.
413 configure.ac | 6 ++++--
414 1 file changed, 4 insertions(+), 2 deletions(-)
416 commit 42131a25e52bfe400acfa7df93469a96bb78bb78
417 Author: Lasse Collin <lasse.collin@tukaani.org>
418 Date: 2015-11-03 20:31:31 +0200
420 Windows/MSVC: Update config.h.
422 windows/config.h | 6 ++++++
423 1 file changed, 6 insertions(+)
425 commit e9184e87cc989d14c7413e6adb3eca98f6ae0290
426 Author: Lasse Collin <lasse.collin@tukaani.org>
427 Date: 2015-11-03 20:29:58 +0200
429 DOS: Update config.h.
431 dos/config.h | 6 ++++++
432 1 file changed, 6 insertions(+)
434 commit 2296778f3c9a1e3a8699973b09dd3610b8baa402
435 Author: Lasse Collin <lasse.collin@tukaani.org>
436 Date: 2015-11-03 20:29:33 +0200
438 xz: Make xz buildable even when encoders or decoders are disabled.
440 The patch is quite long but it's mostly about adding new #ifdefs
441 to omit code when encoders or decoders have been disabled.
443 This adds two new #defines to config.h: HAVE_ENCODERS and
446 configure.ac | 4 ++++
447 src/xz/Makefile.am | 8 ++++++--
448 src/xz/args.c | 16 ++++++++++++++++
449 src/xz/coder.c | 33 +++++++++++++++++++++++++--------
450 src/xz/main.c | 9 +++++++--
451 src/xz/private.h | 5 ++++-
452 6 files changed, 62 insertions(+), 13 deletions(-)
454 commit 97a3109281e475d9cf1b5095237d672fa0ad25e5
455 Author: Lasse Collin <lasse.collin@tukaani.org>
456 Date: 2015-11-03 18:06:40 +0200
458 Build: Build LZMA1/2 presets also when only decoder is wanted.
460 People shouldn't rely on the presets when decoding raw streams,
461 but xz uses the presets as the starting point for raw decoder
464 lzma_encocder_presets.c was renamed to lzma_presets.c to
465 make it clear it's not used solely by the encoder code.
467 src/liblzma/lzma/Makefile.inc | 6 +++++-
468 src/liblzma/lzma/{lzma_encoder_presets.c => lzma_presets.c} | 3 ++-
469 2 files changed, 7 insertions(+), 2 deletions(-)
471 commit dc6b78d7f0f6fe43e9d4215146e8581feb8090e7
472 Author: Lasse Collin <lasse.collin@tukaani.org>
473 Date: 2015-11-03 17:54:48 +0200
475 Build: Fix configure to handle LZMA1 dependency with LZMA2.
477 Now it gives an error if LZMA1 encoder/decoder is missing
478 when LZMA2 encoder/decoder was requested. Even better would
479 be LZMA2 implicitly enabling LZMA1 but it would need more code.
481 configure.ac | 5 -----
482 1 file changed, 5 deletions(-)
484 commit 46d76c9cd3cb26a31f5ae6c3a8bbcf38e6da1add
485 Author: Lasse Collin <lasse.collin@tukaani.org>
486 Date: 2015-11-03 17:41:54 +0200
488 Build: Don't omit lzma_cputhreads() unless using --disable-threads.
490 Previously it was omitted if encoders were disabled
491 with --disable-encoders. It didn't make sense and
492 it also broke the build.
494 src/liblzma/common/Makefile.inc | 5 ++++-
495 1 file changed, 4 insertions(+), 1 deletion(-)
497 commit 16d68f874d89f1e4a1919786a35bbaef7d71a077
498 Author: Lasse Collin <lasse.collin@tukaani.org>
499 Date: 2015-11-02 18:16:51 +0200
501 liblzma: Fix a build failure related to external SHA-256 support.
503 If an appropriate header and structure were found by configure,
504 but a library with a usable SHA-256 functions wasn't, the build
507 src/liblzma/check/check.h | 32 +++++++++++++++++++++++---------
508 1 file changed, 23 insertions(+), 9 deletions(-)
510 commit d9311647fc1ab512a3394596221ab8039c00af6b
511 Author: Lasse Collin <lasse.collin@tukaani.org>
512 Date: 2015-11-02 15:19:10 +0200
514 xz: Always close the file before trying to delete it.
516 unlink() can return EBUSY in errno for open files on some
517 operating systems and file systems.
519 src/xz/file_io.c | 25 ++++++++++++-------------
520 1 file changed, 12 insertions(+), 13 deletions(-)
522 commit f59c4183f3c9066626ce45dc3db4642fa603fa21
523 Author: Lasse Collin <lasse.collin@tukaani.org>
524 Date: 2015-10-12 21:08:42 +0300
529 1 file changed, 1 insertion(+)
531 commit 35f189673e280c12e4c5129f9f97e54eef3bbc04
532 Author: Lasse Collin <lasse.collin@tukaani.org>
533 Date: 2015-10-12 21:07:41 +0300
535 Tests: Add tests for the two bugs fixed in index.c.
537 tests/test_index.c | 30 ++++++++++++++++++++++++++++++
538 1 file changed, 30 insertions(+)
540 commit e10bfdb0fcaff12f3a6dadee51e0a022aadccb51
541 Author: Lasse Collin <lasse.collin@tukaani.org>
542 Date: 2015-10-12 20:45:15 +0300
544 liblzma: Fix lzma_index_dup() for empty Streams.
546 Stream Flags and Stream Padding weren't copied from
549 src/liblzma/common/index.c | 11 ++++++-----
550 1 file changed, 6 insertions(+), 5 deletions(-)
552 commit 06f434bd8980f25ca23232eb7bb7df7e37dc8448
553 Author: Lasse Collin <lasse.collin@tukaani.org>
554 Date: 2015-10-12 20:31:44 +0300
556 liblzma: Add a note to index.c for those using static analyzers.
558 src/liblzma/common/index.c | 3 +++
559 1 file changed, 3 insertions(+)
561 commit 9815cdf6987ef91a85493bfcfd1ce2aaf3b47a0a
562 Author: Lasse Collin <lasse.collin@tukaani.org>
563 Date: 2015-09-29 13:59:35 +0300
565 Bump version and soname for 5.2.2.
567 src/liblzma/Makefile.am | 2 +-
568 src/liblzma/api/lzma/version.h | 2 +-
569 2 files changed, 2 insertions(+), 2 deletions(-)
571 commit cbe0cec8476bdd0416c7ca9bc83895c9bea1cf78
572 Author: Lasse Collin <lasse.collin@tukaani.org>
573 Date: 2015-09-29 13:57:28 +0300
575 Update NEWS for 5.2.2.
577 NEWS | 18 ++++++++++++++++++
578 1 file changed, 18 insertions(+)
580 commit 49427ce7eececdd18bbd35dab23c81910d083e1c
581 Author: Andre Noll <maan@tuebingen.mpg.de>
582 Date: 2015-05-28 15:50:00 +0200
584 Fix typo in German translation.
586 As pointed out by Robert Pollak, there's a typo in the German
587 translation of the compression preset option (-0 ... -9) help text.
588 "The compressor" translates to "der Komprimierer", and the genitive
589 form is "des Komprimierers". The old word makes no sense at all.
592 1 file changed, 1 insertion(+), 1 deletion(-)
594 commit 608d6f06c940e7f28c25de005e8b99bdff42d27c
595 Author: Hauke Henningsen <sqrt@entless.org>
596 Date: 2015-08-17 04:59:54 +0200
598 Update German translation, mostly wrt orthography
600 Provide an update of the German translation.
601 * A lot of compound words were previously written with spaces, while
602 German orthography is relatively clear in that the components
603 should not be separated.
604 * When referring to the actual process of (de)compression rather than the
605 concept, replace “(De-)Kompression” with “(De-)Komprimierung”.
606 Previously, both forms were used in this context and are now used in a
607 manner consistent with “Komprimierung” being more likely to refer to
609 * Consistently translate “standard input”/“output”
610 * Use “Zeichen” instead of false friend “Charakter” for “character”
611 * Insert commas around relative clauses (as required in German)
612 * Some other minor corrections
613 * Capitalize “ß” as “ẞ”
614 * Consistently start option descriptions in --help with capital letters
616 Acked-By: Andre Noll <maan@tuebingen.mpg.de>
618 * Update after msgmerge
620 po/de.po | 383 ++++++++++++++++++++++++++++++++-------------------------------
621 1 file changed, 196 insertions(+), 187 deletions(-)
623 commit c8988414e5b67b8ef2fe0ba7b1ccdd0ec73c60d3
624 Author: Lasse Collin <lasse.collin@tukaani.org>
625 Date: 2015-08-11 13:23:04 +0300
627 Build: Minor Cygwin cleanup.
629 Some tests used "cygwin*" and some used "cygwin". I changed
630 them all to use "cygwin". Shouldn't affect anything in practice.
632 configure.ac | 6 +++---
633 1 file changed, 3 insertions(+), 3 deletions(-)
635 commit 85a6dfed53477906bfe9a7c0123dd412e391cb48
636 Author: Lasse Collin <lasse.collin@tukaani.org>
637 Date: 2015-08-11 13:21:52 +0300
639 Build: Support building of MSYS2 binaries.
641 configure.ac | 16 +++++++++++-----
642 1 file changed, 11 insertions(+), 5 deletions(-)
644 commit 77f270be8432df2e4516a0c48814b6976d6618c5
645 Author: Lasse Collin <lasse.collin@tukaani.org>
646 Date: 2015-08-09 21:06:26 +0300
648 Windows: Define DLL_EXPORT when building liblzma.dll with MSVC.
650 src/liblzma/common/common.h uses it to set __declspec(dllexport)
653 Thanks to Adam Walling.
655 windows/liblzma_dll.vcxproj | 12 ++++++------
656 1 file changed, 6 insertions(+), 6 deletions(-)
658 commit 8c975446c5903090a5a8493b5b96b71003056a88
659 Author: Lasse Collin <lasse.collin@tukaani.org>
660 Date: 2015-08-09 21:02:20 +0300
662 Windows: Omit unneeded header files from MSVC project files.
664 windows/liblzma.vcxproj | 5 -----
665 windows/liblzma_dll.vcxproj | 5 -----
666 2 files changed, 10 deletions(-)
668 commit 119a00434954726ca58e4a578e6469f530fca30e
669 Author: Lasse Collin <lasse.collin@tukaani.org>
670 Date: 2015-07-12 20:48:19 +0300
672 liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer.
674 src/liblzma/api/lzma.h | 18 +++++++++++++-----
675 1 file changed, 13 insertions(+), 5 deletions(-)
677 commit d4e7c557fcab353539c9481a8d95cb04bcb15c7c
678 Author: Lasse Collin <lasse.collin@tukaani.org>
679 Date: 2015-06-19 20:38:55 +0300
684 1 file changed, 2 insertions(+)
686 commit 98001740ca56c894a7bd32eb47e9857a8a7d878d
687 Author: Lasse Collin <lasse.collin@tukaani.org>
688 Date: 2015-06-19 20:21:30 +0300
690 Windows: Update the docs.
692 INSTALL | 29 ++++++++-----
693 windows/INSTALL-MSVC.txt | 47 ++++++++++++++++++++++
694 windows/{INSTALL-Windows.txt => INSTALL-MinGW.txt} | 2 +-
695 3 files changed, 67 insertions(+), 11 deletions(-)
697 commit 28195e4c877007cc760ecea1d17f740693d66873
698 Author: Lasse Collin <lasse.collin@tukaani.org>
699 Date: 2015-06-19 17:25:31 +0300
701 Windows: Add MSVC project files for building liblzma.
703 Thanks to Adam Walling for creating these files.
705 windows/liblzma.vcxproj | 359 ++++++++++++++++++++++++++++++++++++++++
706 windows/liblzma_dll.vcxproj | 388 ++++++++++++++++++++++++++++++++++++++++++++
707 windows/xz_win.sln | 48 ++++++
708 3 files changed, 795 insertions(+)
710 commit 960440f3230dc628f6966d9f7614fc1b28baf44e
711 Author: Lasse Collin <lasse.collin@tukaani.org>
712 Date: 2015-05-13 20:57:55 +0300
714 Tests: Fix a memory leak in test_bcj_exact_size.
716 Thanks to Cristian Rodríguez.
718 tests/test_bcj_exact_size.c | 1 +
719 1 file changed, 1 insertion(+)
721 commit 68cd35acafbdcdf4e8ea8b5bb843c736939d6f8b
722 Author: Lasse Collin <lasse.collin@tukaani.org>
723 Date: 2015-05-12 18:08:24 +0300
725 Fix NEWS about threading in 5.2.0.
727 Thanks to Andy Hochhaus.
730 1 file changed, 2 insertions(+), 1 deletion(-)
732 commit ff96ed6d25786728356017a13baf8c14731b4f1e
733 Author: Lasse Collin <lasse.collin@tukaani.org>
734 Date: 2015-05-11 21:26:16 +0300
736 xz: Document that threaded decompression hasn't been implemented yet.
738 src/xz/xz.1 | 10 +++++++++-
739 1 file changed, 9 insertions(+), 1 deletion(-)
741 commit 00d37b64a64ea8597fd2422d5187afd761ab9531
742 Author: Lasse Collin <lasse.collin@tukaani.org>
743 Date: 2015-04-20 20:20:29 +0300
748 1 file changed, 1 insertion(+)
750 commit db190a832c49ca3aed6d69cc992fa5583cae7b11
751 Author: Lasse Collin <lasse.collin@tukaani.org>
752 Date: 2015-04-20 19:59:18 +0300
754 Revert "xz: Use pipe2() if available."
756 This reverts commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd.
757 It is a problem when libc has pipe2() but the kernel is too
758 old to have pipe2() and thus pipe2() fails. In xz it's pointless
759 to have a fallback for non-functioning pipe2(); it's better to
760 avoid pipe2() completely.
762 Thanks to Michael Fox for the bug report.
764 configure.ac | 4 ++--
765 src/xz/file_io.c | 9 +--------
766 2 files changed, 3 insertions(+), 10 deletions(-)
768 commit eccd8155e107c5ada03d13e7730675cdf1a44ddc
769 Author: Lasse Collin <lasse.collin@tukaani.org>
770 Date: 2015-03-29 22:14:47 +0300
775 1 file changed, 1 insertion(+)
777 commit 25263fd9e7a8a913395cb93d7c104cd48c2b4a00
778 Author: Lasse Collin <lasse.collin@tukaani.org>
779 Date: 2015-03-29 22:13:48 +0300
781 Fix the detection of installed RAM on QNX.
783 The earlier version compiled but didn't actually work
784 since sysconf(_SC_PHYS_PAGES) always fails (or so I was told).
786 Thanks to Ole André Vadla Ravnås for the patch and testing.
788 m4/tuklib_physmem.m4 | 6 +++---
789 src/common/tuklib_physmem.c | 14 +++++++++++++-
790 2 files changed, 16 insertions(+), 4 deletions(-)
792 commit 4c544d2410903d38402221cb783ed85585b6a007
793 Author: Lasse Collin <lasse.collin@tukaani.org>
794 Date: 2015-03-27 22:39:07 +0200
796 Fix CPU core count detection on QNX.
798 It tried to use sysctl() on QNX but
799 - it broke the build because sysctl() needs -lsocket on QNX;
800 - sysctl() doesn't work for detecting the core count on QNX
803 sysconf() works. An alternative would have been to use
804 QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>.
806 Thanks to Ole André Vadla Ravnås.
808 m4/tuklib_cpucores.m4 | 15 +++++++++++----
809 1 file changed, 11 insertions(+), 4 deletions(-)
811 commit e0ea6737b03e83ccaff4514d00e31bb926f8f0f3
812 Author: Lasse Collin <lasse.collin@tukaani.org>
813 Date: 2015-03-07 22:05:57 +0200
815 xz: size_t/uint32_t cleanup in options.c.
817 src/xz/options.c | 12 ++++++------
818 1 file changed, 6 insertions(+), 6 deletions(-)
820 commit 8bcca29a65335fd679c13814b70b35b68fa5daed
821 Author: Lasse Collin <lasse.collin@tukaani.org>
822 Date: 2015-03-07 22:04:23 +0200
824 xz: Fix a comment and silence a warning in message.c.
826 src/xz/message.c | 5 +++--
827 1 file changed, 3 insertions(+), 2 deletions(-)
829 commit f243f5f44c6b19a7c289a0ec73a03ee08364cb5b
830 Author: Lasse Collin <lasse.collin@tukaani.org>
831 Date: 2015-03-07 22:01:00 +0200
833 liblzma: Silence more uint32_t vs. size_t warnings.
835 src/liblzma/lz/lz_encoder.c | 2 +-
836 src/liblzma/lzma/lzma_encoder.c | 2 +-
837 2 files changed, 2 insertions(+), 2 deletions(-)
839 commit 7f0a4c50f4a374c40acf4b86848f301ad1e82d34
840 Author: Lasse Collin <lasse.collin@tukaani.org>
841 Date: 2015-03-07 19:54:00 +0200
843 xz: Make arg_count an unsigned int to silence a warning.
845 Actually the value of arg_count cannot exceed INT_MAX
846 but it's nicer as an unsigned int.
850 2 files changed, 2 insertions(+), 2 deletions(-)
852 commit f6ec46801588b1be29c07c9db98558b521304002
853 Author: Lasse Collin <lasse.collin@tukaani.org>
854 Date: 2015-03-07 19:33:17 +0200
856 liblzma: Fix a warning in index.c.
858 src/liblzma/common/index.c | 4 +++-
859 1 file changed, 3 insertions(+), 1 deletion(-)
861 commit a24518971cc621315af142dd3bb7614fab04ad27
862 Author: Lasse Collin <lasse.collin@tukaani.org>
863 Date: 2015-02-26 20:46:14 +0200
865 Build: Fix a CR+LF problem when running autoreconf -fi on OS/2.
867 build-aux/version.sh | 2 +-
868 1 file changed, 1 insertion(+), 1 deletion(-)
870 commit dec11497a71518423b5ff0e759100cf8aadf6c7b
871 Author: Lasse Collin <lasse.collin@tukaani.org>
872 Date: 2015-02-26 16:53:44 +0200
874 Bump version and soname for 5.2.1.
876 src/liblzma/Makefile.am | 2 +-
877 src/liblzma/api/lzma/version.h | 2 +-
878 2 files changed, 2 insertions(+), 2 deletions(-)
880 commit 29e39c79975ab89ee5dd671e97064534a9f3a649
881 Author: Lasse Collin <lasse.collin@tukaani.org>
882 Date: 2015-02-26 13:01:09 +0200
884 Update NEWS for 5.2.1.
886 NEWS | 14 ++++++++++++++
887 1 file changed, 14 insertions(+)
889 commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd
890 Author: Lasse Collin <lasse.collin@tukaani.org>
891 Date: 2015-02-22 19:38:48 +0200
893 xz: Use pipe2() if available.
895 configure.ac | 4 ++--
896 src/xz/file_io.c | 9 ++++++++-
897 2 files changed, 10 insertions(+), 3 deletions(-)
899 commit 117d962685c72682c63edc9bb765367189800202
900 Author: Lasse Collin <lasse.collin@tukaani.org>
901 Date: 2015-02-21 23:40:26 +0200
903 liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode.
905 The bug was added in the commit
906 f48fce093b07aeda95c18850f5e086d9f2383380 and thus
907 affected 5.1.4beta and 5.2.0. Luckily the bug cannot
908 cause data corruption or other nasty things.
910 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
911 1 file changed, 1 insertion(+), 1 deletion(-)
913 commit ae984e31c167d3bc52972ec422dd1ebd5f5d5719
914 Author: Lasse Collin <lasse.collin@tukaani.org>
915 Date: 2015-02-21 23:00:19 +0200
917 xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick.
919 Now it reads the old flags instead of blindly setting O_NONBLOCK.
920 The old code may have worked correctly, but this is better.
922 src/xz/file_io.c | 16 +++++++++++-----
923 1 file changed, 11 insertions(+), 5 deletions(-)
925 commit 2205bb5853098aea36a56df6f5747037175f66b4
926 Author: Lasse Collin <lasse.collin@tukaani.org>
927 Date: 2015-02-10 15:29:34 +0200
932 1 file changed, 1 insertion(+)
934 commit d935b0cdf3db440269b9d952b2b281b18f8c7b08
935 Author: Lasse Collin <lasse.collin@tukaani.org>
936 Date: 2015-02-10 15:28:30 +0200
938 tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available.
940 In FreeBSD, cpuset_getaffinity() is the preferred way to get
941 the number of available cores.
943 Thanks to Rui Paulo for the patch. I edited it slightly, but
944 hopefully I didn't break anything.
946 m4/tuklib_cpucores.m4 | 23 ++++++++++++++++++++++-
947 src/common/tuklib_cpucores.c | 18 ++++++++++++++++++
948 2 files changed, 40 insertions(+), 1 deletion(-)
950 commit eb61bc58c20769cac4d05f363b9c0e8c9c71a560
951 Author: Lasse Collin <lasse.collin@tukaani.org>
952 Date: 2015-02-09 22:08:37 +0200
954 xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp.
956 Thanks to Rui Paulo for the fix.
958 src/scripts/xzdiff.in | 7 ++++++-
959 1 file changed, 6 insertions(+), 1 deletion(-)
961 commit b9a5b6b7a29029680af733082b6a46e0fc01623a
962 Author: Lasse Collin <lasse.collin@tukaani.org>
963 Date: 2015-02-03 21:45:53 +0200
965 Add a few casts to tuklib_integer.h to silence possible warnings.
967 I heard that Visual Studio 2013 gave warnings without the casts.
969 Thanks to Gabi Davar.
971 src/common/tuklib_integer.h | 24 ++++++++++++------------
972 1 file changed, 12 insertions(+), 12 deletions(-)
974 commit c45757135f40e4a0de730ba5fff0100219493982
975 Author: Lasse Collin <lasse.collin@tukaani.org>
976 Date: 2015-01-26 21:24:39 +0200
978 liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method.
980 src/liblzma/common/memcmplen.h | 15 ++++++++++-----
981 1 file changed, 10 insertions(+), 5 deletions(-)
983 commit 3c500174ed5485f550972a2a6109c361e875f069
984 Author: Lasse Collin <lasse.collin@tukaani.org>
985 Date: 2015-01-26 20:40:16 +0200
990 1 file changed, 1 insertion(+)
992 commit fec88d41e672d9e197c9442aecf02bd0dfa6d516
993 Author: Lasse Collin <lasse.collin@tukaani.org>
994 Date: 2015-01-26 20:39:28 +0200
996 liblzma: Silence harmless Valgrind errors.
998 Thanks to Torsten Rupp for reporting this. I had
999 forgotten to run Valgrind before the 5.2.0 release.
1001 src/liblzma/lz/lz_encoder.c | 6 ++++++
1002 1 file changed, 6 insertions(+)
1004 commit a9b45badfec0928d20a27c7176c005fa637f7d1e
1005 Author: Lasse Collin <lasse.collin@tukaani.org>
1006 Date: 2015-01-09 21:50:19 +0200
1010 src/xz/file_io.c | 12 ++++++++----
1011 1 file changed, 8 insertions(+), 4 deletions(-)
1013 commit 541aee6dd4aa97a809aba281475a21b641bb89e2
1014 Author: Lasse Collin <lasse.collin@tukaani.org>
1015 Date: 2015-01-09 21:35:06 +0200
1020 1 file changed, 1 insertion(+)
1022 commit 4170edc914655310d2363baccf5e615e09b04911
1023 Author: Lasse Collin <lasse.collin@tukaani.org>
1024 Date: 2015-01-09 21:34:06 +0200
1026 xz: Don't fail if stdout doesn't support O_NONBLOCK.
1028 This is similar to the case with stdin.
1030 Thanks to Brad Smith for the bug report and testing
1033 src/xz/file_io.c | 36 +++++++++++++++---------------------
1034 1 file changed, 15 insertions(+), 21 deletions(-)
1036 commit 04bbc0c2843c50c8ad1cba42b937118e38b0508d
1037 Author: Lasse Collin <lasse.collin@tukaani.org>
1038 Date: 2015-01-07 19:18:20 +0200
1040 xz: Fix a memory leak in DOS-specific code.
1042 src/xz/file_io.c | 2 ++
1043 1 file changed, 2 insertions(+)
1045 commit f0f1f6c7235ffa901cf76fe18e33749e200b3eea
1046 Author: Lasse Collin <lasse.collin@tukaani.org>
1047 Date: 2015-01-07 19:08:06 +0200
1049 xz: Don't fail if stdin doesn't support O_NONBLOCK.
1051 It's a problem at least on OpenBSD which doesn't support
1052 O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's
1053 a problem on other OSes too since this behavior is allowed
1056 The code relying on this behavior was committed in June 2013
1057 and included in 5.1.3alpha released on 2013-10-26. Clearly
1058 the development releases only get limited testing.
1060 src/xz/file_io.c | 18 +++++++-----------
1061 1 file changed, 7 insertions(+), 11 deletions(-)
1063 commit d2d484647d9d9d679f03c75abb0404f67069271c
1064 Author: Lasse Collin <lasse.collin@tukaani.org>
1065 Date: 2015-01-06 20:30:15 +0200
1067 Tests: Don't hide unexpected error messages in test_files.sh.
1069 Hiding them makes no sense since normally there's no error
1070 when testing the "good" files. With "bad" files errors are
1071 expected and then it makes sense to keep the messages hidden.
1073 tests/test_files.sh | 4 ++--
1074 1 file changed, 2 insertions(+), 2 deletions(-)
1076 commit aae6a6aeda51cf94a47e39ad624728f9bee75e30
1077 Author: Lasse Collin <lasse.collin@tukaani.org>
1078 Date: 2014-12-30 11:17:16 +0200
1080 Update Solaris notes in INSTALL.
1082 Mention the possible "make check" failure on Solaris in the
1083 Solaris-specific section of INSTALL. It was already in
1084 section 4.5 but it is better mention it in the OS-specific
1088 1 file changed, 4 insertions(+)
1090 commit 7815112153178800a3521b9f31960e7cdc26cfba
1091 Author: Lasse Collin <lasse.collin@tukaani.org>
1092 Date: 2014-12-26 12:00:05 +0200
1094 Build: POSIX shell isn't required if scripts are disabled.
1098 2 files changed, 3 insertions(+), 2 deletions(-)
1100 commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a
1101 Author: Lasse Collin <lasse.collin@tukaani.org>
1102 Date: 2014-12-21 20:48:37 +0200
1104 DOS: Update Makefile.
1107 1 file changed, 1 insertion(+)
1109 commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e
1110 Author: Lasse Collin <lasse.collin@tukaani.org>
1111 Date: 2014-12-21 19:50:38 +0200
1113 Windows: Fix bin_i486 to bin_i686 in build.bash.
1115 windows/build.bash | 2 +-
1116 1 file changed, 1 insertion(+), 1 deletion(-)
1118 commit cbafa710918195dbba3db02c3fab4f0538235206
1119 Author: Lasse Collin <lasse.collin@tukaani.org>
1120 Date: 2014-12-21 18:58:44 +0200
1122 Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c.
1124 doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++----
1125 1 file changed, 26 insertions(+), 4 deletions(-)
1127 commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a
1128 Author: Lasse Collin <lasse.collin@tukaani.org>
1129 Date: 2014-12-21 18:56:44 +0200
1131 Docs: Update docs/examples/00_README.txt.
1133 doc/examples/00_README.txt | 4 ++++
1134 1 file changed, 4 insertions(+)
1136 commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6
1137 Author: Lasse Collin <lasse.collin@tukaani.org>
1138 Date: 2014-12-21 18:11:17 +0200
1140 Bump version and soname for 5.2.0.
1142 I know that soname != app version, but I skip AGE=1
1143 in -version-info to make the soname match the liblzma
1144 version anyway. It doesn't hurt anything as long as
1145 it doesn't conflict with library versioning rules.
1147 src/liblzma/Makefile.am | 2 +-
1148 src/liblzma/api/lzma/version.h | 6 +++---
1149 src/liblzma/liblzma.map | 2 +-
1150 3 files changed, 5 insertions(+), 5 deletions(-)
1152 commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da
1153 Author: Lasse Collin <lasse.collin@tukaani.org>
1154 Date: 2014-12-21 18:05:03 +0200
1156 Avoid variable-length arrays in the debug programs.
1158 debug/full_flush.c | 3 ++-
1159 debug/sync_flush.c | 3 ++-
1160 2 files changed, 4 insertions(+), 2 deletions(-)
1162 commit 72f7307cfdceb941aeb2bf30d424cc0d13621786
1163 Author: Lasse Collin <lasse.collin@tukaani.org>
1164 Date: 2014-12-21 18:01:45 +0200
1166 Build: Include 04_compress_easy_mt.c in the tarball.
1169 1 file changed, 1 insertion(+)
1171 commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0
1172 Author: Lasse Collin <lasse.collin@tukaani.org>
1173 Date: 2014-12-21 18:00:38 +0200
1175 Fix build when --disable-threads is used.
1177 src/common/mythread.h | 2 ++
1178 1 file changed, 2 insertions(+)
1180 commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17
1181 Author: Adrien Nader <adrien@notk.org>
1182 Date: 2014-12-21 15:56:15 +0100
1184 po/fr: improve wording for help for --lzma1/--lzma2.
1187 1 file changed, 1 insertion(+), 1 deletion(-)
1189 commit a8b6b569e7fadbf5b5b9139d53bc764015c15027
1190 Author: Adrien Nader <adrien@notk.org>
1191 Date: 2014-12-21 15:55:48 +0100
1193 po/fr: missing line in translation of --extreme.
1196 1 file changed, 1 insertion(+)
1198 commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9
1199 Author: Lasse Collin <lasse.collin@tukaani.org>
1200 Date: 2014-12-21 14:32:33 +0200
1202 Update NEWS for 5.2.0.
1204 NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1205 1 file changed, 65 insertions(+)
1207 commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429
1208 Author: Lasse Collin <lasse.collin@tukaani.org>
1209 Date: 2014-12-21 14:32:22 +0200
1211 Update NEWS for 5.0.8.
1213 NEWS | 12 ++++++++++++
1214 1 file changed, 12 insertions(+)
1216 commit 42e97a32649bf53ce43be2258b902a417c6e7fa1
1217 Author: Lasse Collin <lasse.collin@tukaani.org>
1218 Date: 2014-12-21 14:07:54 +0200
1222 src/xz/options.c | 4 ++--
1223 1 file changed, 2 insertions(+), 2 deletions(-)
1225 commit 29b95d5d6665cedffa6a9d6d3d914f981e852182
1226 Author: Lasse Collin <lasse.collin@tukaani.org>
1227 Date: 2014-12-20 20:43:14 +0200
1229 Update INSTALL about the dependencies of the scripts.
1231 INSTALL | 15 ++++++++++-----
1232 1 file changed, 10 insertions(+), 5 deletions(-)
1234 commit 3af91040bb42c21afbb81f5568c3313125e61192
1235 Author: Lasse Collin <lasse.collin@tukaani.org>
1236 Date: 2014-12-20 20:42:33 +0200
1238 Windows: Update build instructions.
1240 INSTALL | 15 +++++++++------
1241 windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++-----------------------
1242 2 files changed, 30 insertions(+), 29 deletions(-)
1244 commit 0152f72bf6289d744823dc6c849538f3a139ad70
1245 Author: Lasse Collin <lasse.collin@tukaani.org>
1246 Date: 2014-12-20 20:41:48 +0200
1248 Windows: Update the build script and README-Windows.txt.
1250 The 32-bit build is now for i686 or newer because the
1251 prebuilt MinGW-w64 toolchains include i686 code in the
1252 executables even if one uses -march=i486.
1254 The build script builds 32-bit SSE2 enabled version too.
1255 Run-time detection of SSE2 support would be nice (on any OS)
1256 but it's not implemented in XZ Utils yet.
1258 windows/README-Windows.txt | 30 ++++++++++++++++--------------
1259 windows/build.bash | 23 ++++++++++++++---------
1260 2 files changed, 30 insertions(+), 23 deletions(-)
1262 commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a
1263 Author: Lasse Collin <lasse.collin@tukaani.org>
1264 Date: 2014-12-19 15:51:50 +0200
1266 Windows: Define TUKLIB_SYMBOL_PREFIX in config.h.
1268 It is to keep all symbols in the lzma_ namespace.
1270 windows/config.h | 3 +++
1271 1 file changed, 3 insertions(+)
1273 commit 7f7d093de79eee0c7dbfd7433647e46302f19f82
1274 Author: Lasse Collin <lasse.collin@tukaani.org>
1275 Date: 2014-12-16 21:00:09 +0200
1277 xz: Update the man page about --threads.
1279 src/xz/xz.1 | 5 -----
1280 1 file changed, 5 deletions(-)
1282 commit 009823448b82aa5f465668878a544c5842885407
1283 Author: Lasse Collin <lasse.collin@tukaani.org>
1284 Date: 2014-12-16 20:57:43 +0200
1286 xz: Update the man page about --block-size.
1288 src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++--------
1289 1 file changed, 33 insertions(+), 8 deletions(-)
1291 commit 7dddfbeb499e528940bc12047355c184644aafe9
1292 Author: Adrien Nader <adrien@notk.org>
1293 Date: 2014-12-10 22:26:57 +0100
1295 po/fr: several more translation updates: reword and handle --ignore-check.
1297 po/fr.po | 50 ++++++++++++++++++++++++++------------------------
1298 1 file changed, 26 insertions(+), 24 deletions(-)
1300 commit 6eca5be40e04ddc4b738d493e4e56835956d8b69
1301 Author: Adrien Nader <adrien@notk.org>
1302 Date: 2014-12-10 22:23:01 +0100
1304 po/fr: yet another place where my email address had to be updated.
1307 1 file changed, 1 insertion(+), 1 deletion(-)
1309 commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7
1310 Author: Adrien Nader <adrien@notk.org>
1311 Date: 2014-12-10 22:22:20 +0100
1313 po/fr: fix several typos that have been around since the beginning.
1315 po/fr.po | 22 +++++++++++-----------
1316 1 file changed, 11 insertions(+), 11 deletions(-)
1318 commit 4c5aa911a0df027e46171e368debc543d2fa72b2
1319 Author: Adrien Nader <adrien@notk.org>
1320 Date: 2014-12-03 20:02:31 +0100
1322 po/fr: last batch of new translations for now.
1324 Four new error messages.
1326 po/fr.po | 16 ++++++++--------
1327 1 file changed, 8 insertions(+), 8 deletions(-)
1329 commit 3e3099e36d27059499e7996fb38a62e8ab01d356
1330 Author: Adrien Nader <adrien@notk.org>
1331 Date: 2014-12-03 20:01:32 +0100
1333 po/fr: translations for --threads, --block-size and --block-list.
1335 po/fr.po | 12 ++++++++----
1336 1 file changed, 8 insertions(+), 4 deletions(-)
1338 commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53
1339 Author: Adrien Nader <adrien@notk.org>
1340 Date: 2014-12-03 20:00:53 +0100
1342 po/fr: remove fuzzy marker for error messages that will be kept in English.
1344 The following is a copy of a comment inside fr.po:
1346 Note from translator on "file status flags".
1347 The following entry is kept un-translated on purpose. It is difficult to
1348 translate and should only happen in exceptional circumstances which means
1349 that translating would:
1350 - lose some of the meaning
1351 - make it more difficult to look up in search engines; it might happen one
1353 a million times, if we dilute the error message in 20 languages, it will be
1354 almost impossible to find an explanation and support for the error.
1356 po/fr.po | 22 ++++++++++++++++------
1357 1 file changed, 16 insertions(+), 6 deletions(-)
1359 commit 46cbb9033af8a21fafe543302d6919746e0d72af
1360 Author: Adrien Nader <adrien@notk.org>
1361 Date: 2014-12-03 19:58:25 +0100
1363 po/fr: several minor updates and better wording.
1365 Meaning doesn't change at all: it's only for better wording and/or
1366 formatting of a few strings.
1368 po/fr.po | 14 +++++++-------
1369 1 file changed, 7 insertions(+), 7 deletions(-)
1371 commit 7ce49d444f04e73145f79c832eb4d510594b074a
1372 Author: Adrien Nader <adrien@notk.org>
1373 Date: 2014-12-03 19:56:12 +0100
1375 po/fr: update my email address and copyright years.
1378 1 file changed, 2 insertions(+), 2 deletions(-)
1380 commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c
1381 Author: Adrien Nader <adrien@notk.org>
1382 Date: 2014-11-26 10:08:26 +0100
1384 fr.po: commit file after only "update-po" so actual is readable.
1386 po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++-----------------------
1387 1 file changed, 199 insertions(+), 112 deletions(-)
1389 commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b
1390 Author: Lasse Collin <lasse.collin@tukaani.org>
1391 Date: 2014-12-02 20:04:07 +0200
1393 liblzma: Document how lzma_mt.block_size affects memory usage.
1395 src/liblzma/api/lzma/container.h | 4 ++++
1396 1 file changed, 4 insertions(+)
1398 commit e4fc1d2f9571fba79ce383595be2ea2a9257def0
1399 Author: Lasse Collin <lasse.collin@tukaani.org>
1400 Date: 2014-11-28 20:07:18 +0200
1402 Update INSTALL about a "make check" failure in test_scripts.sh.
1404 INSTALL | 24 +++++++++++++++++-------
1405 1 file changed, 17 insertions(+), 7 deletions(-)
1407 commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe
1408 Author: Lasse Collin <lasse.collin@tukaani.org>
1409 Date: 2014-11-26 20:12:27 +0200
1411 Remove LZMA_UNSTABLE macro.
1413 src/liblzma/api/lzma/container.h | 4 ----
1414 src/liblzma/common/common.h | 2 --
1415 src/xz/private.h | 1 -
1416 3 files changed, 7 deletions(-)
1418 commit 6d9c0ce9f2677b159e32b224aba5b535b304a705
1419 Author: Lasse Collin <lasse.collin@tukaani.org>
1420 Date: 2014-11-26 20:10:33 +0200
1422 liblzma: Update lzma_stream_encoder_mt() API docs.
1424 src/liblzma/api/lzma/container.h | 5 +++--
1425 1 file changed, 3 insertions(+), 2 deletions(-)
1427 commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3
1428 Author: Lasse Collin <lasse.collin@tukaani.org>
1429 Date: 2014-11-25 12:32:05 +0200
1431 liblzma: Verify the filter chain in threaded encoder initialization.
1433 This way an invalid filter chain is detected at the Stream
1434 encoder initialization instead of delaying it to the first
1435 call to lzma_code() which triggers the initialization of
1436 the actual filter encoder(s).
1438 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
1439 1 file changed, 6 insertions(+), 3 deletions(-)
1441 commit 107a263d5bb63cd3593fd6a5c938706539f84523
1442 Author: Lasse Collin <lasse.collin@tukaani.org>
1443 Date: 2014-11-17 19:11:49 +0200
1445 Build: Update m4/ax_pthread.m4 from Autoconf Archive.
1447 m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++-------------------
1448 1 file changed, 47 insertions(+), 24 deletions(-)
1450 commit b13a781833399ff5726cfc997f3cb2f0acbdbf31
1451 Author: Lasse Collin <lasse.collin@tukaani.org>
1452 Date: 2014-11-17 18:52:21 +0200
1454 Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING.
1456 configure.ac | 36 ++++++++++++++++++------------------
1457 m4/tuklib_integer.m4 | 2 +-
1458 2 files changed, 19 insertions(+), 19 deletions(-)
1460 commit 542cac122ed3550148a2af0033af22b757491378
1461 Author: Lasse Collin <lasse.collin@tukaani.org>
1462 Date: 2014-11-17 18:43:19 +0200
1464 Build: Fix Autoconf warnings about escaped backquotes.
1466 Thanks to Daniel Richard G. for pointing out that it's
1467 good to sometimes run autoreconf -fi with -Wall.
1469 configure.ac | 7 +++----
1470 1 file changed, 3 insertions(+), 4 deletions(-)
1472 commit 7b03a15cea8cd4f19ed680b51c4bcbae3ce4142f
1473 Author: Lasse Collin <lasse.collin@tukaani.org>
1474 Date: 2014-11-10 18:54:40 +0200
1476 xzdiff: Use mkdir if mktemp isn't available.
1478 src/scripts/xzdiff.in | 17 ++++++++++++++++-
1479 1 file changed, 16 insertions(+), 1 deletion(-)
1481 commit f8c13e5e3609581d5dd9f8777985ca07f2390ad7
1482 Author: Lasse Collin <lasse.collin@tukaani.org>
1483 Date: 2014-11-10 18:45:01 +0200
1485 xzdiff: Create a temporary directory to hold a temporary file.
1487 This avoids the possibility of "File name too long" when
1488 creating a temp file when the input file name is very long.
1490 This also means that other users on the system can no longer
1491 see the input file names in /tmp (or whatever $TMPDIR is)
1492 since the temporary directory will have a generic name. This
1493 usually doesn't matter since on many systems one can see
1494 the arguments given to all processes anyway.
1496 The number X chars to mktemp where increased from 6 to 10.
1498 Note that with some shells temp files or dirs won't be used at all.
1500 src/scripts/xzdiff.in | 10 +++++-----
1501 1 file changed, 5 insertions(+), 5 deletions(-)
1503 commit 7716dcf9df7f457500cb657314e7a9aea5fedb06
1504 Author: Lasse Collin <lasse.collin@tukaani.org>
1505 Date: 2014-11-10 15:38:47 +0200
1507 liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage().
1509 It read the filter chain from a wrong variable. This is a similar
1510 bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e.
1512 src/liblzma/common/stream_encoder_mt.c | 3 +--
1513 1 file changed, 1 insertion(+), 2 deletions(-)
1515 commit 230fa4a605542c84b4178a57381695a0af4e779b
1516 Author: Lasse Collin <lasse.collin@tukaani.org>
1517 Date: 2014-11-10 14:49:55 +0200
1522 1 file changed, 1 insertion(+)
1524 commit 4e4ae08bc7c1711e399c9f2d26eb375d39d08101
1525 Author: Lasse Collin <lasse.collin@tukaani.org>
1526 Date: 2014-10-29 21:28:25 +0200
1528 Update .gitignore files.
1531 m4/.gitignore | 3 +++
1532 2 files changed, 5 insertions(+)
1534 commit c923b140b27d1a055db6284e10fd546ad1a7fcdb
1535 Author: Lasse Collin <lasse.collin@tukaani.org>
1536 Date: 2014-10-29 21:15:35 +0200
1538 Build: Prepare to support Automake's subdir-objects.
1540 Due to a bug in Automake, subdir-objects won't be enabled
1543 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354
1545 Thanks to Daniel Richard G. for the original patches.
1547 configure.ac | 7 ++++++-
1548 src/Makefile.am | 22 +++++++++++++++++++++-
1549 src/liblzma/Makefile.am | 4 ++--
1550 src/lzmainfo/Makefile.am | 4 ++--
1551 src/xz/Makefile.am | 10 +++++-----
1552 src/xzdec/Makefile.am | 8 ++++----
1553 6 files changed, 40 insertions(+), 15 deletions(-)
1555 commit 08c2aa16bea0df82828f665d51fba2e0a5e8997f
1556 Author: Lasse Collin <lasse.collin@tukaani.org>
1557 Date: 2014-10-24 20:09:29 +0300
1559 Translations: Update the Italian translation.
1561 Thanks to Milo Casagrande.
1563 po/it.po | 452 ++++++++++++++++++++++++++++++++++++++-------------------------
1564 1 file changed, 275 insertions(+), 177 deletions(-)
1566 commit 2f9f61aa83539c54ff6c118a2693890f0519b3dd
1567 Author: Lasse Collin <lasse.collin@tukaani.org>
1568 Date: 2014-10-18 18:51:45 +0300
1570 Translations: Update the Polish translation.
1572 Thanks to Jakub Bogusz.
1574 po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++-----------------------
1575 1 file changed, 214 insertions(+), 118 deletions(-)
1577 commit 4f9d233f67aea25e532824d11b7642cf7dee7a76
1578 Author: Andre Noll <maan@tuebingen.mpg.de>
1579 Date: 2014-10-14 17:30:30 +0200
1581 l10n: de.po: Change translator email address.
1583 Although the old address is still working, the new one should
1584 be preferred. So this commit changes all three places in de.po
1587 Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>
1590 1 file changed, 3 insertions(+), 3 deletions(-)
1592 commit 00502b2bedad43f0cc167ac17ae0608837ee196b
1593 Author: Andre Noll <maan@tuebingen.mpg.de>
1594 Date: 2014-10-14 17:30:29 +0200
1596 l10n: de.po: Update German translation
1598 Signed-off-by: Andre Noll <maan@systemlinux.org>
1600 po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------
1601 1 file changed, 281 insertions(+), 250 deletions(-)
1603 commit 706b0496753fb609e69f1570ec603f11162189d1
1604 Author: Andre Noll <maan@tuebingen.mpg.de>
1605 Date: 2014-10-14 17:30:28 +0200
1607 l10n: de.po: Fix typo: Schießen -> Schließen.
1609 That's a funny one since "schießen" means to shoot :)
1611 Signed-off-by: Andre Noll <maan@systemlinux.org>
1614 1 file changed, 1 insertion(+), 1 deletion(-)
1616 commit 7c32e6a935c3d7ee366abad1679bd5f322f0c7d4
1617 Author: Lasse Collin <lasse.collin@tukaani.org>
1618 Date: 2014-10-09 19:42:26 +0300
1623 1 file changed, 1 insertion(+)
1625 commit 076258cc458f1e705041ac7a729b15ffe8c5214a
1626 Author: Lasse Collin <lasse.collin@tukaani.org>
1627 Date: 2014-10-09 19:41:51 +0300
1629 Add support for AmigaOS/AROS to tuklib_physmem().
1631 Thanks to Fredrik Wikstrom.
1633 m4/tuklib_physmem.m4 | 3 ++-
1634 src/common/tuklib_physmem.c | 7 +++++++
1635 2 files changed, 9 insertions(+), 1 deletion(-)
1637 commit efa7b0a210e1baa8e128fc98c5443a944c39ad24
1638 Author: Lasse Collin <lasse.collin@tukaani.org>
1639 Date: 2014-10-09 18:42:14 +0300
1641 xzgrep: Avoid passing both -q and -l to grep.
1643 The behavior of grep -ql varies:
1644 - GNU grep behaves like grep -q.
1645 - OpenBSD grep behaves like grep -l.
1647 POSIX doesn't make it 100 % clear what behavior is expected.
1648 Anyway, using both -q and -l at the same time makes no sense
1649 so both options simply should never be used at the same time.
1651 Thanks to Christian Weisgerber.
1653 src/scripts/xzgrep.in | 6 ++++--
1654 1 file changed, 4 insertions(+), 2 deletions(-)
1656 commit 9c5f76098c9986b48d2fc574a0b764f4cde0c538
1657 Author: Trần Ngọc Quân <vnwildman@gmail.com>
1658 Date: 2014-09-25 09:22:45 +0700
1660 l10n: vi.po: Update Vietnamese translation
1662 Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
1664 po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------
1665 1 file changed, 84 insertions(+), 52 deletions(-)
1667 commit c4911f2db36d811896c73c008b4218d8fa9a4730
1668 Author: Lasse Collin <lasse.collin@tukaani.org>
1669 Date: 2014-09-25 18:38:48 +0300
1671 Build: Detect supported compiler warning flags better.
1673 Clang and nowadays also GCC accept any -Wfoobar option
1674 but then may give a warning that an unknown warning option
1675 was specified. To avoid adding unsupported warning options,
1676 the options are now tested with -Werror.
1678 Thanks to Charles Diza.
1680 configure.ac | 5 +++--
1681 1 file changed, 3 insertions(+), 2 deletions(-)
1683 commit 76e75522ed6f5c228d55587dee5a997893f6e474
1684 Author: Lasse Collin <lasse.collin@tukaani.org>
1685 Date: 2014-09-20 21:01:21 +0300
1687 Update NEWS for 5.0.7.
1689 NEWS | 11 +++++++++++
1690 1 file changed, 11 insertions(+)
1692 commit d62028b4c1174fc67b6929f126f5eb24c018c700
1693 Author: Lasse Collin <lasse.collin@tukaani.org>
1694 Date: 2014-09-20 19:42:56 +0300
1696 liblzma: Fix a portability problem in Makefile.am.
1698 POSIX supports $< only in inference rules (suffix rules).
1699 Using it elsewhere is a GNU make extension and doesn't
1700 work e.g. with OpenBSD make.
1702 Thanks to Christian Weisgerber for the patch.
1704 src/liblzma/Makefile.am | 2 +-
1705 1 file changed, 1 insertion(+), 1 deletion(-)
1707 commit c35de31d4283edad3e57d37ffe939406542cb7bb
1708 Author: Lasse Collin <lasse.collin@tukaani.org>
1709 Date: 2014-09-14 21:54:09 +0300
1711 Bump the version number to 5.1.4beta.
1713 src/liblzma/api/lzma/version.h | 4 ++--
1714 src/liblzma/liblzma.map | 2 +-
1715 2 files changed, 3 insertions(+), 3 deletions(-)
1717 commit e9e097e22cacdaa23e5414fea7913535449cb340
1718 Author: Lasse Collin <lasse.collin@tukaani.org>
1719 Date: 2014-09-14 21:50:13 +0300
1721 Update NEWS for 5.0.6 and 5.1.4beta.
1723 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1724 1 file changed, 50 insertions(+)
1726 commit 642f856bb8562ab66704b1e01ac7bc08b6d0a663
1727 Author: Lasse Collin <lasse.collin@tukaani.org>
1728 Date: 2014-09-14 21:02:41 +0300
1732 TODO | 38 ++++++++++++++++++++++++++++++++++----
1733 1 file changed, 34 insertions(+), 4 deletions(-)
1735 commit 6b5e3b9eff5b8cedb2aac5f524d4d60fc8a48124
1736 Author: Lasse Collin <lasse.collin@tukaani.org>
1737 Date: 2014-08-05 22:32:36 +0300
1739 xz: Add --ignore-check.
1741 src/xz/args.c | 7 +++++++
1743 src/xz/coder.c | 10 +++++++++-
1744 src/xz/message.c | 2 ++
1745 src/xz/xz.1 | 19 +++++++++++++++++++
1746 5 files changed, 38 insertions(+), 1 deletion(-)
1748 commit 9adbc2ff373f979c917cdfd3679ce0ebd59f1040
1749 Author: Lasse Collin <lasse.collin@tukaani.org>
1750 Date: 2014-08-05 22:15:07 +0300
1752 liblzma: Add support for LZMA_IGNORE_CHECK.
1754 src/liblzma/api/lzma/container.h | 24 ++++++++++++++++++++++++
1755 src/liblzma/common/common.h | 1 +
1756 src/liblzma/common/stream_decoder.c | 14 ++++++++++++--
1757 3 files changed, 37 insertions(+), 2 deletions(-)
1759 commit 0e0f34b8e4f1c60ecaec15c2105982381cc9c3e6
1760 Author: Lasse Collin <lasse.collin@tukaani.org>
1761 Date: 2014-08-05 22:03:30 +0300
1763 liblzma: Add support for lzma_block.ignore_check.
1765 Note that this slightly changes how lzma_block_header_decode()
1766 has been documented. Earlier it said that the .version is set
1767 to the lowest required value, but now it says that the .version
1768 field is kept unchanged if possible. In practice this doesn't
1769 affect any old code, because before this commit the only
1770 possible .version was 0.
1772 src/liblzma/api/lzma/block.h | 50 ++++++++++++++++++++++++-------
1773 src/liblzma/common/block_buffer_encoder.c | 2 +-
1774 src/liblzma/common/block_decoder.c | 18 ++++++++---
1775 src/liblzma/common/block_encoder.c | 2 +-
1776 src/liblzma/common/block_header_decoder.c | 12 ++++++--
1777 src/liblzma/common/block_header_encoder.c | 2 +-
1778 src/liblzma/common/block_util.c | 2 +-
1779 7 files changed, 68 insertions(+), 20 deletions(-)
1781 commit 71e1437ab585b46f7a25f5a131557d3d1c0cbaa2
1782 Author: Lasse Collin <lasse.collin@tukaani.org>
1783 Date: 2014-08-04 19:25:58 +0300
1785 liblzma: Use lzma_memcmplen() in the BT3 match finder.
1787 I had missed this when writing the commit
1788 5db75054e900fa06ef5ade5f2c21dffdd5d16141.
1790 Thanks to Jun I Jin.
1792 src/liblzma/lz/lz_encoder_mf.c | 5 ++---
1793 1 file changed, 2 insertions(+), 3 deletions(-)
1795 commit 41dc9ea06e1414ebe8ef52afc8fc15b6e3282b04
1796 Author: Lasse Collin <lasse.collin@tukaani.org>
1797 Date: 2014-08-04 00:25:44 +0300
1802 1 file changed, 1 insertion(+)
1804 commit 5dcffdbcc23a68abc3ac3539b30be71bc9b5af84
1805 Author: Lasse Collin <lasse.collin@tukaani.org>
1806 Date: 2014-08-03 21:32:25 +0300
1808 liblzma: SHA-256: Optimize the Maj macro slightly.
1810 The Maj macro is used where multiple things are added
1811 together, so making Maj a sum of two expressions allows
1812 some extra freedom for the compiler to schedule the
1815 I learned this trick from
1816 <http://www.hackersdelight.org/corres.txt>.
1818 src/liblzma/check/sha256.c | 2 +-
1819 1 file changed, 1 insertion(+), 1 deletion(-)
1821 commit a9477d1e0c6fd0e47e637d051e7b9e2a5d9af517
1822 Author: Lasse Collin <lasse.collin@tukaani.org>
1823 Date: 2014-08-03 21:08:12 +0300
1825 liblzma: SHA-256: Optimize the way rotations are done.
1827 This looks weird because the rotations become sequential,
1828 but it helps quite a bit on both 32-bit and 64-bit x86:
1830 - It requires fewer instructions on two-operand
1831 instruction sets like x86.
1833 - It requires one register less which matters especially
1836 I hope this doesn't hurt other archs.
1838 I didn't invent this idea myself, but I don't remember where
1841 src/liblzma/check/sha256.c | 17 +++++++++++------
1842 1 file changed, 11 insertions(+), 6 deletions(-)
1844 commit 5a76c7c8ee9a0afbeedb1c211db9224260404347
1845 Author: Lasse Collin <lasse.collin@tukaani.org>
1846 Date: 2014-08-03 20:38:13 +0300
1848 liblzma: SHA-256: Remove the GCC #pragma that became unneeded.
1850 The unrolling in the previous commit should avoid the
1851 situation where a compiler may think that an uninitialized
1852 variable might be accessed.
1854 src/liblzma/check/sha256.c | 5 -----
1855 1 file changed, 5 deletions(-)
1857 commit 9a096f8e57509775c331950b8351bbca77bdcfa8
1858 Author: Lasse Collin <lasse.collin@tukaani.org>
1859 Date: 2014-08-03 20:33:38 +0300
1861 liblzma: SHA-256: Unroll a little more.
1863 This way a branch isn't needed for each operation
1864 to choose between blk0 and blk2, and still the code
1865 doesn't grow as much as it would with full unrolling.
1867 src/liblzma/check/sha256.c | 25 ++++++++++++++++---------
1868 1 file changed, 16 insertions(+), 9 deletions(-)
1870 commit bc7650d87bf27f85f1a2a806dc2db1780e09e6a5
1871 Author: Lasse Collin <lasse.collin@tukaani.org>
1872 Date: 2014-08-03 19:56:43 +0300
1874 liblzma: SHA-256: Do the byteswapping without a temporary buffer.
1876 src/liblzma/check/sha256.c | 13 +------------
1877 1 file changed, 1 insertion(+), 12 deletions(-)
1879 commit 544aaa3d13554e8640f9caf7db717a96360ec0f6
1880 Author: Lasse Collin <lasse.collin@tukaani.org>
1881 Date: 2014-07-25 22:38:28 +0300
1883 liblzma: Use lzma_memcmplen() in normal mode of LZMA.
1885 Two locations were not changed yet because the simplest change
1886 assumes that the initial "len" may be greater than "limit".
1888 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++---------------
1889 1 file changed, 5 insertions(+), 15 deletions(-)
1891 commit f48fce093b07aeda95c18850f5e086d9f2383380
1892 Author: Lasse Collin <lasse.collin@tukaani.org>
1893 Date: 2014-07-25 22:30:38 +0300
1895 liblzma: Simplify LZMA fast mode code by using memcmp().
1897 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +----------
1898 1 file changed, 1 insertion(+), 10 deletions(-)
1900 commit 6bf5308e34e23dede5b301b1b9b4f131dacd9218
1901 Author: Lasse Collin <lasse.collin@tukaani.org>
1902 Date: 2014-07-25 22:29:49 +0300
1904 liblzma: Use lzma_memcmplen() in fast mode of LZMA.
1906 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++---
1907 1 file changed, 3 insertions(+), 3 deletions(-)
1909 commit 353212137e51e45b105a3a3fc2e6879f1cf0d492
1910 Author: Lasse Collin <lasse.collin@tukaani.org>
1911 Date: 2014-07-25 21:16:23 +0300
1916 1 file changed, 1 insertion(+)
1918 commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141
1919 Author: Lasse Collin <lasse.collin@tukaani.org>
1920 Date: 2014-07-25 21:15:07 +0300
1922 liblzma: Use lzma_memcmplen() in the match finders.
1924 This doesn't change the match finder output.
1926 src/liblzma/lz/lz_encoder.c | 13 ++++++++++++-
1927 src/liblzma/lz/lz_encoder_mf.c | 33 +++++++++++----------------------
1928 2 files changed, 23 insertions(+), 23 deletions(-)
1930 commit e1c8f1d01f4a4e2136173edab2dc63c71ef038f4
1931 Author: Lasse Collin <lasse.collin@tukaani.org>
1932 Date: 2014-07-25 20:57:20 +0300
1934 liblzma: Add lzma_memcmplen() for fast memory comparison.
1936 This commit just adds the function. Its uses will be in
1939 This hasn't been tested much yet and it's perhaps a bit early
1940 to commit it but if there are bugs they should get found quite
1943 Thanks to Jun I Jin from Intel for help and for pointing out
1944 that string comparison needs to be optimized in liblzma.
1946 configure.ac | 13 +++
1947 src/liblzma/common/Makefile.inc | 1 +
1948 src/liblzma/common/memcmplen.h | 170 ++++++++++++++++++++++++++++++++++++++++
1949 3 files changed, 184 insertions(+)
1951 commit 765735cf52e5123586e74a51b9c073b5257f631f
1952 Author: Lasse Collin <lasse.collin@tukaani.org>
1953 Date: 2014-07-12 21:10:09 +0300
1958 1 file changed, 1 insertion(+)
1960 commit 59da01785ef66c7e62f36e70ca808fd2824bb995
1961 Author: Lasse Collin <lasse.collin@tukaani.org>
1962 Date: 2014-07-12 20:06:08 +0300
1964 Translations: Add Vietnamese translation.
1966 Thanks to Trần Ngọc Quân.
1969 po/vi.po | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1970 2 files changed, 1008 insertions(+)
1972 commit 17215f751c354852700e7f8592ccf319570a0721
1973 Author: Lasse Collin <lasse.collin@tukaani.org>
1974 Date: 2014-06-29 20:54:14 +0300
1976 xz: Update the help message of a few options.
1978 Updated: --threads, --block-size, and --block-list
1979 Added: --flush-timeout
1981 src/xz/message.c | 18 +++++++++++-------
1982 1 file changed, 11 insertions(+), 7 deletions(-)
1984 commit 96864a6ddf91ad693d102ea165f3d7918744d582
1985 Author: Lasse Collin <lasse.collin@tukaani.org>
1986 Date: 2014-06-18 22:07:06 +0300
1988 xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores().
1990 src/xz/Makefile.am | 1 -
1991 src/xz/hardware.c | 12 +++++++++---
1992 2 files changed, 9 insertions(+), 4 deletions(-)
1994 commit a115cc3748482e277f42a968baa3cd266f031dba
1995 Author: Lasse Collin <lasse.collin@tukaani.org>
1996 Date: 2014-06-18 22:04:24 +0300
1998 liblzma: Add lzma_cputhreads().
2000 src/liblzma/Makefile.am | 8 +++++++-
2001 src/liblzma/api/lzma/hardware.h | 14 ++++++++++++++
2002 src/liblzma/common/Makefile.inc | 1 +
2003 src/liblzma/common/hardware_cputhreads.c | 22 ++++++++++++++++++++++
2004 src/liblzma/liblzma.map | 1 +
2005 5 files changed, 45 insertions(+), 1 deletion(-)
2007 commit 3ce3e7976904fbab4e6482bafa442856f77a51fa
2008 Author: Lasse Collin <lasse.collin@tukaani.org>
2009 Date: 2014-06-18 19:11:52 +0300
2011 xz: Check for filter chain compatibility for --flush-timeout.
2013 This avoids LZMA_PROG_ERROR from lzma_code() with filter chains
2014 that don't support LZMA_SYNC_FLUSH.
2016 src/xz/coder.c | 30 +++++++++++++++++++++---------
2017 1 file changed, 21 insertions(+), 9 deletions(-)
2019 commit 381ac14ed79e5d38809f251705be8b3193bba417
2020 Author: Lasse Collin <lasse.collin@tukaani.org>
2021 Date: 2014-06-13 19:21:54 +0300
2023 xzgrep: List xzgrep_expected_output in tests/Makefile.am.
2025 tests/Makefile.am | 3 ++-
2026 1 file changed, 2 insertions(+), 1 deletion(-)
2028 commit 4244b65b06d5ecaf6f9dd0387ac7e3166bd2364e
2029 Author: Lasse Collin <lasse.collin@tukaani.org>
2030 Date: 2014-06-13 18:58:22 +0300
2032 xzgrep: Improve the test script.
2034 Now it should be close to the functionality of the original
2035 version by Pavel Raiskup.
2037 tests/Makefile.am | 3 ++-
2038 tests/test_scripts.sh | 24 ++++++++++++++----------
2039 tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++
2040 3 files changed, 55 insertions(+), 11 deletions(-)
2042 commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26
2043 Author: Lasse Collin <lasse.collin@tukaani.org>
2044 Date: 2014-06-11 21:03:25 +0300
2046 xzgrep: Add a test for the previous fix.
2048 This is a simplified version of Pavel Raiskup's
2051 tests/test_scripts.sh | 26 ++++++++++++++++++++++----
2052 1 file changed, 22 insertions(+), 4 deletions(-)
2054 commit ceca37901783988204caaf40dff4623d535cc789
2055 Author: Lasse Collin <lasse.collin@tukaani.org>
2056 Date: 2014-06-11 20:43:28 +0300
2058 xzgrep: exit 0 when at least one file matches.
2060 Mimic the original grep behavior and return exit_success when
2061 at least one xz compressed file matches given pattern.
2064 https://bugzilla.redhat.com/show_bug.cgi?id=1108085
2066 Thanks to Pavel Raiskup for the patch.
2068 src/scripts/xzgrep.in | 15 +++++++++++++--
2069 1 file changed, 13 insertions(+), 2 deletions(-)
2071 commit 8c19216baccb92d011694590df8a1262da2e980c
2072 Author: Lasse Collin <lasse.collin@tukaani.org>
2073 Date: 2014-06-09 21:21:24 +0300
2075 xz: Force single-threaded mode when --flush-timeout is used.
2077 src/xz/coder.c | 11 +++++++++++
2078 1 file changed, 11 insertions(+)
2080 commit 87f1a24810805187d7bbc8ac5512e7eec307ddf5
2081 Author: Lasse Collin <lasse.collin@tukaani.org>
2082 Date: 2014-05-25 22:05:39 +0300
2087 1 file changed, 1 insertion(+)
2089 commit da1718f266fcfc091e7bf08aae1bc986d0e6cc6b
2090 Author: Lasse Collin <lasse.collin@tukaani.org>
2091 Date: 2014-05-25 21:45:56 +0300
2093 liblzma: Use lzma_alloc_zero() in LZ encoder initialization.
2095 This avoids a memzero() call for a newly-allocated memory,
2096 which can be expensive when encoding small streams with
2097 an over-sized dictionary.
2099 To avoid using lzma_alloc_zero() for memory that doesn't
2100 need to be zeroed, lzma_mf.son is now allocated separately,
2101 which requires handling it separately in normalize() too.
2103 Thanks to Vincenzo Innocente for reporting the problem.
2105 src/liblzma/lz/lz_encoder.c | 84 ++++++++++++++++++++++--------------------
2106 src/liblzma/lz/lz_encoder.h | 2 +-
2107 src/liblzma/lz/lz_encoder_mf.c | 31 +++++++++-------
2108 3 files changed, 62 insertions(+), 55 deletions(-)
2110 commit 28af24e9cf2eb259997c85dce13d4c97b3daa47a
2111 Author: Lasse Collin <lasse.collin@tukaani.org>
2112 Date: 2014-05-25 19:25:57 +0300
2114 liblzma: Add the internal function lzma_alloc_zero().
2116 src/liblzma/common/common.c | 21 +++++++++++++++++++++
2117 src/liblzma/common/common.h | 6 ++++++
2118 2 files changed, 27 insertions(+)
2120 commit ed9ac85822c490e34b68c259afa0b385d21d1c40
2121 Author: Lasse Collin <lasse.collin@tukaani.org>
2122 Date: 2014-05-08 18:03:09 +0300
2124 xz: Fix uint64_t vs. size_t which broke 32-bit build.
2126 Thanks to Christian Hesse.
2128 src/xz/coder.c | 2 +-
2129 1 file changed, 1 insertion(+), 1 deletion(-)
2131 commit d716acdae3fa7996f9e68a7bac012e6d8d13dd02
2132 Author: Lasse Collin <lasse.collin@tukaani.org>
2133 Date: 2014-05-04 11:09:11 +0300
2135 Docs: Update comments to refer to lzma/lzma12.h in example programs.
2137 doc/examples/03_compress_custom.c | 6 +++---
2138 1 file changed, 3 insertions(+), 3 deletions(-)
2140 commit 4d5b7b3fda31241ca86ed35e08e73f776ee916e0
2141 Author: Lasse Collin <lasse.collin@tukaani.org>
2142 Date: 2014-05-04 11:07:17 +0300
2144 liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h.
2146 It can be confusing that two header files have the same name.
2147 The public API file is still lzma.h.
2149 src/liblzma/api/Makefile.am | 2 +-
2150 src/liblzma/api/lzma.h | 2 +-
2151 src/liblzma/api/lzma/{lzma.h => lzma12.h} | 2 +-
2152 3 files changed, 3 insertions(+), 3 deletions(-)
2154 commit 1555a9c5664afc7893a2b75e9970105437f01ef1
2155 Author: Lasse Collin <lasse.collin@tukaani.org>
2156 Date: 2014-04-25 17:53:42 +0300
2158 Build: Fix the combination of --disable-xzdec --enable-lzmadec.
2160 In this case "make install" could fail if the man page directory
2161 didn't already exist at the destination. If it did exist, a
2162 dangling symlink was created there. Now the link is omitted
2163 instead. This isn't the best fix but it's better than the old
2166 src/xzdec/Makefile.am | 10 +++++++++-
2167 1 file changed, 9 insertions(+), 1 deletion(-)
2169 commit 56056571df3377eaa6ae6233b3ccc5d72e81d43d
2170 Author: Lasse Collin <lasse.collin@tukaani.org>
2171 Date: 2014-04-25 17:44:26 +0300
2173 Build: Add --disable-doc to configure.
2177 configure.ac | 6 ++++++
2178 3 files changed, 14 insertions(+)
2180 commit 6de61d8721097a6214810841aa85b08e303ac538
2181 Author: Lasse Collin <lasse.collin@tukaani.org>
2182 Date: 2014-04-24 18:06:24 +0300
2186 Add a note about failing "make check". The source of
2187 the problem should be fixed in libtool (if it really is
2188 a libtool bug and not mine) but I'm unable to spend time
2189 on that for now. Thanks to Nelson H. F. Beebe for reporting
2192 Add a note about a possible need to run "ldconfig" after
2195 INSTALL | 25 +++++++++++++++++++++++++
2196 1 file changed, 25 insertions(+)
2198 commit 54df428799a8d853639b753d0e6784694d73eb3e
2199 Author: Lasse Collin <lasse.collin@tukaani.org>
2200 Date: 2014-04-09 17:26:10 +0300
2202 xz: Rename a variable to avoid a namespace collision on Solaris.
2204 I don't know the details but I have an impression that there's
2205 no problem in practice if using GCC since people have built xz
2206 with GCC (without patching xz), but renaming the variable cannot
2209 Thanks to Mark Ashley.
2211 src/xz/signals.c | 12 +++++++-----
2212 1 file changed, 7 insertions(+), 5 deletions(-)
2214 commit 5876ca27daa1429676b1160007d9688266907f00
2215 Author: Lasse Collin <lasse.collin@tukaani.org>
2216 Date: 2014-01-29 20:19:41 +0200
2218 Docs: Add example program for threaded encoding.
2220 I didn't add -DLZMA_UNSTABLE to Makefile so one has to
2221 specify it manually as long as LZMA_UNSTABLE is needed.
2223 doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++
2224 doc/examples/Makefile | 3 +-
2225 2 files changed, 186 insertions(+), 1 deletion(-)
2227 commit 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e
2228 Author: Lasse Collin <lasse.collin@tukaani.org>
2229 Date: 2014-01-29 20:13:51 +0200
2231 liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt().
2233 It read the filter chain from a wrong variable.
2235 src/liblzma/common/stream_encoder_mt.c | 4 ++--
2236 1 file changed, 2 insertions(+), 2 deletions(-)
2238 commit 673a4cb53de3a715685cb1b836da57a3c7dcd43c
2239 Author: Lasse Collin <lasse.collin@tukaani.org>
2240 Date: 2014-01-20 11:20:40 +0200
2242 liblzma: Fix typo in a comment.
2244 src/liblzma/api/lzma/block.h | 2 +-
2245 1 file changed, 1 insertion(+), 1 deletion(-)
2247 commit ad96a871a1470eb76d6233d3890ce9338047b7a3
2248 Author: Lasse Collin <lasse.collin@tukaani.org>
2249 Date: 2014-01-12 19:38:43 +0200
2251 Windows: Add config.h for building liblzma with MSVC 2013.
2253 This is for building liblzma. Building xz tool too requires
2254 a little more work. Maybe it will be supported, but for most
2255 MSVC users it's enough to be able to build liblzma.
2257 C99 support in MSVC 2013 is almost usable which is a big
2258 improvement over earlier versions. It's "almost" because
2259 there's a dumb bug that breaks mixed declarations after
2260 an "if" statements unless the "if" statement uses braces:
2262 https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug
2263 https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs
2265 Hopefully it will get fixed. Then liblzma should be
2266 compilable with MSVC 2013 without patching.
2268 windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
2269 1 file changed, 139 insertions(+)
2271 commit 3d5c090872fab4212b57c290e8ed4d02c78c1737
2272 Author: Lasse Collin <lasse.collin@tukaani.org>
2273 Date: 2014-01-12 17:41:14 +0200
2277 src/xz/coder.c | 4 ++--
2278 1 file changed, 2 insertions(+), 2 deletions(-)
2280 commit 69fd4e1c932c7975476a0143c86e45d81b60d3f9
2281 Author: Lasse Collin <lasse.collin@tukaani.org>
2282 Date: 2014-01-12 17:04:33 +0200
2284 Windows: Add MSVC defines for inline and restrict keywords.
2286 src/common/sysdefs.h | 10 ++++++++++
2287 1 file changed, 10 insertions(+)
2289 commit a19d9e8575ee6647cd9154cf1f20203f1330485f
2290 Author: Lasse Collin <lasse.collin@tukaani.org>
2291 Date: 2014-01-12 16:44:52 +0200
2293 liblzma: Avoid C99 compound literal arrays.
2295 MSVC 2013 doesn't like them. Maybe they aren't so good
2296 for readability either since many aren't used to them.
2298 src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++---
2299 1 file changed, 5 insertions(+), 3 deletions(-)
2301 commit e28528f1c867b2ed4ac91195ad08efb9bb8a6263
2302 Author: Lasse Collin <lasse.collin@tukaani.org>
2303 Date: 2014-01-12 12:50:30 +0200
2305 liblzma: Remove a useless C99ism from sha256.c.
2307 Unsurprisingly it makes no difference in compiled output.
2309 src/liblzma/check/sha256.c | 2 +-
2310 1 file changed, 1 insertion(+), 1 deletion(-)
2312 commit 5ad1effc45adfb7dabc9a98e79736077e6b7e2d5
2313 Author: Lasse Collin <lasse.collin@tukaani.org>
2314 Date: 2014-01-12 12:17:08 +0200
2316 xz: Fix use of wrong variable.
2318 Since the only call to suffix_set() uses optarg
2319 as the argument, fixing this bug doesn't change
2320 the behavior of the program.
2322 src/xz/suffix.c | 2 +-
2323 1 file changed, 1 insertion(+), 1 deletion(-)
2325 commit 3e62c68d75b5a3fdd46dbb34bb335d73289860d5
2326 Author: Lasse Collin <lasse.collin@tukaani.org>
2327 Date: 2014-01-12 12:11:36 +0200
2329 Fix typos in comments.
2331 src/common/mythread.h | 2 +-
2332 src/liblzma/check/crc32_fast.c | 2 +-
2333 2 files changed, 2 insertions(+), 2 deletions(-)
2335 commit e90ea601fb72867ec04adf456cbe4bf9520fd412
2336 Author: Lasse Collin <lasse.collin@tukaani.org>
2337 Date: 2013-11-26 18:20:16 +0200
2342 1 file changed, 1 insertion(+)
2344 commit b22e94d8d15764416354e04729382a7371ae2c30
2345 Author: Lasse Collin <lasse.collin@tukaani.org>
2346 Date: 2013-11-26 18:20:09 +0200
2348 liblzma: Document the need for block->check for lzma_block_header_decode().
2350 Thanks to Tomer Chachamu.
2352 src/liblzma/api/lzma/block.h | 3 +++
2353 1 file changed, 3 insertions(+)
2355 commit d1cd8b1cb824b72421d1ee370e628024d2fcbec4
2356 Author: Lasse Collin <lasse.collin@tukaani.org>
2357 Date: 2013-11-12 16:38:57 +0200
2359 xz: Update the man page about --block-size and --block-list.
2361 src/xz/xz.1 | 24 +++++++++++++++---------
2362 1 file changed, 15 insertions(+), 9 deletions(-)
2364 commit 76be7c612e6bcc38724488ccc3b8bcb1cfec9f0a
2365 Author: Lasse Collin <lasse.collin@tukaani.org>
2366 Date: 2013-11-12 16:30:53 +0200
2371 1 file changed, 1 insertion(+)
2373 commit dd750acbe2259d75444ef0f8da2d4bacc90d7afc
2374 Author: Lasse Collin <lasse.collin@tukaani.org>
2375 Date: 2013-11-12 16:29:48 +0200
2377 xz: Make --block-list and --block-size work together in single-threaded.
2379 Previously, --block-list and --block-size only worked together
2380 in threaded mode. Boundaries are specified by --block-list, but
2381 --block-size specifies the maximum size for a Block. Now this
2382 works in single-threaded mode too.
2384 Thanks to James M Leddy for the original patch.
2386 src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++----------
2387 1 file changed, 75 insertions(+), 15 deletions(-)
2389 commit ae222fe9805d0161d022d75ba8485dab8bf6d7d5
2390 Author: Lasse Collin <lasse.collin@tukaani.org>
2391 Date: 2013-10-26 13:26:14 +0300
2393 Bump the version number to 5.1.3alpha.
2395 src/liblzma/api/lzma/version.h | 2 +-
2396 src/liblzma/liblzma.map | 2 +-
2397 2 files changed, 2 insertions(+), 2 deletions(-)
2399 commit 2193837a6a597cd3bf4e9ddf49421a5697d8e155
2400 Author: Lasse Collin <lasse.collin@tukaani.org>
2401 Date: 2013-10-26 13:25:02 +0300
2403 Update NEWS for 5.1.3alpha.
2405 NEWS | 35 +++++++++++++++++++++++++++++++++++
2406 1 file changed, 35 insertions(+)
2408 commit ed48e75e2763876173aef8902da407a8eb28854b
2409 Author: Lasse Collin <lasse.collin@tukaani.org>
2410 Date: 2013-10-26 12:47:04 +0300
2415 1 file changed, 4 deletions(-)
2417 commit 841da0352d79a56a44796a4c39163429c9f039a3
2418 Author: Lasse Collin <lasse.collin@tukaani.org>
2419 Date: 2013-10-25 22:41:28 +0300
2421 xz: Document behavior of --block-list with threads.
2423 This needs to be updated before 5.2.0.
2425 src/xz/xz.1 | 24 +++++++++++++++++++++---
2426 1 file changed, 21 insertions(+), 3 deletions(-)
2428 commit 56feb8665b78c1032aabd53c619c62af51defe64
2429 Author: Lasse Collin <lasse.collin@tukaani.org>
2430 Date: 2013-10-22 20:03:12 +0300
2432 xz: Document --flush-timeout=TIMEOUT on the man page.
2434 src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++-
2435 1 file changed, 36 insertions(+), 1 deletion(-)
2437 commit ba413da1d5bb3324287cf3174922acd921165971
2438 Author: Lasse Collin <lasse.collin@tukaani.org>
2439 Date: 2013-10-22 19:51:55 +0300
2441 xz: Take advantage of LZMA_FULL_BARRIER with --block-list.
2443 Now if --block-list is used in threaded mode, the encoder
2444 won't need to flush at each Block boundary specified via
2445 --block-list. This improves performance a lot, making
2446 threading helpful with --block-list.
2448 The flush timer was reset after LZMA_FULL_FLUSH but since
2449 LZMA_FULL_BARRIER doesn't flush, resetting the timer is
2452 src/xz/coder.c | 32 +++++++++++++++-----------------
2453 1 file changed, 15 insertions(+), 17 deletions(-)
2455 commit 0cd45fc2bc5537de287a0bc005e2d67467a92148
2456 Author: Lasse Collin <lasse.collin@tukaani.org>
2457 Date: 2013-10-02 20:05:23 +0300
2459 liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder.
2461 Now --block-list=SIZES works with in the threaded mode too,
2462 although the performance is still bad due to the use of
2463 LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER.
2465 src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++----------
2466 1 file changed, 39 insertions(+), 16 deletions(-)
2468 commit 97bb38712f414fabecca908af2e38a12570293fd
2469 Author: Lasse Collin <lasse.collin@tukaani.org>
2470 Date: 2013-10-02 12:55:11 +0300
2472 liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder.
2474 In the single-threaded encoder LZMA_FULL_BARRIER is simply
2475 an alias for LZMA_FULL_FLUSH.
2477 src/liblzma/api/lzma/base.h | 37 ++++++++++++++++++++++++++++++-------
2478 src/liblzma/common/common.c | 17 +++++++++++++++--
2479 src/liblzma/common/common.h | 7 ++++++-
2480 src/liblzma/common/stream_encoder.c | 4 +++-
2481 4 files changed, 54 insertions(+), 11 deletions(-)
2483 commit fef0c6b410c08e581c9178700a4e7599f0895ff9
2484 Author: Lasse Collin <lasse.collin@tukaani.org>
2485 Date: 2013-09-17 11:57:51 +0300
2487 liblzma: Add block_buffer_encoder.h into Makefile.inc.
2489 This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc.
2491 src/liblzma/common/Makefile.inc | 1 +
2492 1 file changed, 1 insertion(+)
2494 commit 8083e03291b6d21c0f538163e187b4e8cd5594e4
2495 Author: Lasse Collin <lasse.collin@tukaani.org>
2496 Date: 2013-09-17 11:55:38 +0300
2498 xz: Add a missing test for TUKLIB_DOSLIKE.
2500 src/xz/file_io.c | 2 ++
2501 1 file changed, 2 insertions(+)
2503 commit 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0
2504 Author: Lasse Collin <lasse.collin@tukaani.org>
2505 Date: 2013-09-17 11:52:28 +0300
2507 Add native threading support on Windows.
2509 Now liblzma only uses "mythread" functions and types
2510 which are defined in mythread.h matching the desired
2513 Before Windows Vista, there is no direct equivalent to
2514 pthread condition variables. Since this package doesn't
2515 use pthread_cond_broadcast(), pre-Vista threading can
2516 still be kept quite simple. The pre-Vista code doesn't
2517 use anything that wasn't already available in Windows 95,
2518 so the binaries should run even on Windows 95 if someone
2522 configure.ac | 118 ++++++--
2523 src/common/mythread.h | 513 ++++++++++++++++++++++++++-------
2524 src/liblzma/common/stream_encoder_mt.c | 83 +++---
2525 src/xz/coder.c | 8 +-
2526 windows/README-Windows.txt | 2 +-
2527 windows/build.bash | 23 +-
2528 7 files changed, 573 insertions(+), 215 deletions(-)
2530 commit ae0ab74a88d5b9b15845f1d9a24ade4349a54f9f
2531 Author: Lasse Collin <lasse.collin@tukaani.org>
2532 Date: 2013-09-11 14:40:35 +0300
2534 Build: Remove a comment about Automake 1.10 from configure.ac.
2536 The previous commit supports silent rules and that requires
2540 1 file changed, 2 deletions(-)
2542 commit 72975df6c8c59aaf849138ab3606e8fb6970596a
2543 Author: Lasse Collin <lasse.collin@tukaani.org>
2544 Date: 2013-09-09 20:37:03 +0300
2546 Build: Create liblzma.pc in a src/liblzma/Makefile.am.
2548 Previously it was done in configure, but doing that goes
2549 against the Autoconf manual. Autoconf requires that it is
2550 possible to override e.g. prefix after running configure
2551 and that doesn't work correctly if liblzma.pc is created
2554 A potential downside of this change is that now e.g.
2555 libdir in liblzma.pc is a standalone string instead of
2556 being defined via ${prefix}, so if one overrides prefix
2557 when running pkg-config the libdir won't get the new value.
2558 I don't know if this matters in practice.
2560 Thanks to Vincent Torri.
2563 src/liblzma/Makefile.am | 20 ++++++++++++++++++++
2564 2 files changed, 20 insertions(+), 1 deletion(-)
2566 commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc
2567 Author: Lasse Collin <lasse.collin@tukaani.org>
2568 Date: 2013-08-04 15:24:09 +0300
2570 Fix the previous commit which broke the build.
2572 Apparently I didn't even compile-test the previous commit.
2574 Thanks to Christian Hesse.
2576 src/common/tuklib_cpucores.c | 2 +-
2577 1 file changed, 1 insertion(+), 1 deletion(-)
2579 commit 124eb69c7857f618b4807588c51bc9ba21bf8691
2580 Author: Lasse Collin <lasse.collin@tukaani.org>
2581 Date: 2013-08-03 13:52:58 +0300
2583 Windows: Add Windows support to tuklib_cpucores().
2585 It is used for Cygwin too. I'm not sure if that is
2588 Thanks to Vincent Torri.
2590 m4/tuklib_cpucores.m4 | 19 +++++++++++++++++--
2591 src/common/tuklib_cpucores.c | 13 ++++++++++++-
2592 2 files changed, 29 insertions(+), 3 deletions(-)
2594 commit eada8a875ce3fd521cb42e4ace2624d3d49c5f35
2595 Author: Anders F Bjorklund <afb@users.sourceforge.net>
2596 Date: 2013-08-02 15:59:46 +0200
2598 macosx: separate liblzma package
2600 macosx/build.sh | 23 +++++++++++++++--------
2601 1 file changed, 15 insertions(+), 8 deletions(-)
2603 commit be0100d01ca6a75899d051bee00acf17e6dc0c15
2604 Author: Anders F Bjorklund <afb@users.sourceforge.net>
2605 Date: 2013-08-02 15:58:44 +0200
2607 macosx: set minimum to leopard
2609 macosx/build.sh | 13 ++++++++-----
2610 1 file changed, 8 insertions(+), 5 deletions(-)
2612 commit 416729e2d743f4b2fe9fd438eedeb98adce033c3
2613 Author: Anders F Bjorklund <afb@users.sourceforge.net>
2614 Date: 2011-08-07 13:13:30 +0200
2616 move configurables into variables
2618 macosx/build.sh | 25 ++++++++++++++++++-------
2619 1 file changed, 18 insertions(+), 7 deletions(-)
2621 commit 16581080e5f29f9a4e49efece21c5bf572323acc
2622 Author: Lasse Collin <lasse.collin@tukaani.org>
2623 Date: 2013-07-15 14:08:41 +0300
2628 1 file changed, 1 insertion(+)
2630 commit 3e2b198ba37b624efd9c7caee2a435dc986b46c6
2631 Author: Lasse Collin <lasse.collin@tukaani.org>
2632 Date: 2013-07-15 14:08:02 +0300
2634 Build: Fix the detection of missing CRC32.
2636 Thanks to Vincent Torri.
2639 1 file changed, 1 insertion(+), 1 deletion(-)
2641 commit dee6ad3d5915422bc30a6821efeacaeb8ca8ef00
2642 Author: Lasse Collin <lasse.collin@tukaani.org>
2643 Date: 2013-07-04 14:18:46 +0300
2645 xz: Add preliminary support for --flush-timeout=TIMEOUT.
2647 When --flush-timeout=TIMEOUT is used, xz will use
2648 LZMA_SYNC_FLUSH if read() would block and at least
2649 TIMEOUT milliseconds has elapsed since the previous flush.
2651 This can be useful in realtime-like use cases where the
2652 data is simultanously decompressed by another process
2653 (possibly on a different computer). If new uncompressed
2654 input data is produced slowly, without this option xz could
2655 buffer the data for a long time until it would become
2656 decompressible from the output.
2658 If TIMEOUT is 0, the feature is disabled. This is the default.
2660 This commit affects the compression side. Using xz for
2661 the decompression side for the above purpose doesn't work
2662 yet so well because there is quite a bit of input and
2663 output buffering when decompressing.
2665 The --long-help or man page were not updated yet.
2666 The details of this feature may change.
2668 src/xz/args.c | 7 +++++++
2669 src/xz/coder.c | 46 +++++++++++++++++++++++++++++++++++-----------
2670 src/xz/file_io.c | 46 ++++++++++++++++++++++++++++++++++++----------
2671 3 files changed, 78 insertions(+), 21 deletions(-)
2673 commit fa381acaf9a29a8114e1c0a97de99bab9adb014e
2674 Author: Lasse Collin <lasse.collin@tukaani.org>
2675 Date: 2013-07-04 13:41:03 +0300
2677 xz: Don't set src_eof=true after an I/O error because it's useless.
2679 src/xz/file_io.c | 3 ---
2680 1 file changed, 3 deletions(-)
2682 commit ea00545beace5b950f709ec21e46878e0f448678
2683 Author: Lasse Collin <lasse.collin@tukaani.org>
2684 Date: 2013-07-04 13:25:11 +0300
2686 xz: Fix the test when to read more input.
2688 Testing for end of file was no longer correct after full flushing
2689 became possible with --block-size=SIZE and --block-list=SIZES.
2690 There was no bug in practice though because xz just made a few
2691 unneeded zero-byte reads.
2693 src/xz/coder.c | 6 +++---
2694 1 file changed, 3 insertions(+), 3 deletions(-)
2696 commit 736903c64bef394c06685d79908e397bcb08b88f
2697 Author: Lasse Collin <lasse.collin@tukaani.org>
2698 Date: 2013-07-04 12:51:57 +0300
2700 xz: Move some of the timing code into mytime.[hc].
2702 This switches units from microseconds to milliseconds.
2704 New clock_gettime(CLOCK_MONOTONIC) will be used if available.
2705 There is still a fallback to gettimeofday().
2707 src/xz/Makefile.am | 2 ++
2708 src/xz/coder.c | 5 +++
2709 src/xz/message.c | 54 +++++++++------------------------
2710 src/xz/mytime.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
2711 src/xz/mytime.h | 47 ++++++++++++++++++++++++++++
2712 src/xz/private.h | 1 +
2713 6 files changed, 158 insertions(+), 40 deletions(-)
2715 commit 24edf8d807e24ffaa1e793114d94cca3b970027d
2716 Author: Lasse Collin <lasse.collin@tukaani.org>
2717 Date: 2013-07-01 14:35:03 +0300
2722 1 file changed, 1 insertion(+)
2724 commit c0627b3fceacfa1ed162f5f55235360ea26f569a
2725 Author: Lasse Collin <lasse.collin@tukaani.org>
2726 Date: 2013-07-01 14:34:11 +0300
2728 xz: Silence a warning seen with _FORTIFY_SOURCE=2.
2730 Thanks to Christian Hesse.
2732 src/xz/file_io.c | 8 +++++++-
2733 1 file changed, 7 insertions(+), 1 deletion(-)
2735 commit 1936718bb38ee394bd89836fdd4eabc0beb02443
2736 Author: Lasse Collin <lasse.collin@tukaani.org>
2737 Date: 2013-06-30 19:40:11 +0300
2739 Update NEWS for 5.0.5.
2741 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2742 1 file changed, 52 insertions(+)
2744 commit a37ae8b5eb6093a530198f109c6f7a538c80ecf0
2745 Author: Lasse Collin <lasse.collin@tukaani.org>
2746 Date: 2013-06-30 18:02:27 +0300
2748 Man pages: Use similar syntax for synopsis as in xz.
2750 The man pages of lzmainfo, xzmore, and xzdec had similar
2751 constructs as the man page of xz had before the commit
2752 eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond
2753 didn't mention these man pages in his bug report, but
2754 it's nice to be consistent.
2756 src/lzmainfo/lzmainfo.1 | 4 ++--
2757 src/scripts/xzmore.1 | 6 +++---
2758 src/xzdec/xzdec.1 | 10 +++++-----
2759 3 files changed, 10 insertions(+), 10 deletions(-)
2761 commit cdba9ddd870ae72fd6219a125662c20ec997f86c
2762 Author: Lasse Collin <lasse.collin@tukaani.org>
2763 Date: 2013-06-29 15:59:13 +0300
2765 xz: Use non-blocking I/O for the output file.
2767 Now both reading and writing should be without
2768 race conditions with signals.
2770 They might still be signal handling issues left.
2771 Signals are blocked during many operations to avoid
2772 EINTR but it may cause problems e.g. if writing to
2773 stderr blocks when trying to display an error message.
2775 src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++--------
2776 1 file changed, 49 insertions(+), 8 deletions(-)
2778 commit e61a5c95da3fe31281d959e5e842885a8ba2b5bd
2779 Author: Lasse Collin <lasse.collin@tukaani.org>
2780 Date: 2013-06-28 23:56:17 +0300
2782 xz: Fix return value type in io_write_buf().
2784 It didn't affect the behavior of the code since -1
2785 becomes true anyway.
2787 src/xz/file_io.c | 2 +-
2788 1 file changed, 1 insertion(+), 1 deletion(-)
2790 commit 9dc319eabb34a826f4945f91c71620f14a60e9e2
2791 Author: Lasse Collin <lasse.collin@tukaani.org>
2792 Date: 2013-06-28 23:48:05 +0300
2794 xz: Use the self-pipe trick to avoid a race condition with signals.
2796 It is possible that a signal to set user_abort arrives right
2797 before a blocking system call is made. In this case the call
2798 may block until another signal arrives, while the wanted
2799 behavior is to make xz clean up and exit as soon as possible.
2801 After this commit, the race condition is avoided with the
2802 input side which already uses non-blocking I/O. The output
2803 side still uses blocking I/O and thus has the race condition.
2805 src/xz/file_io.c | 56 ++++++++++++++++++++++++++++++++++++++++++++------------
2806 src/xz/file_io.h | 8 ++++++++
2807 src/xz/signals.c | 5 +++++
2808 3 files changed, 57 insertions(+), 12 deletions(-)
2810 commit 3541bc79d0cfabc0ad155c99bfdad1289f17fec3
2811 Author: Lasse Collin <lasse.collin@tukaani.org>
2812 Date: 2013-06-28 22:51:02 +0300
2814 xz: Use non-blocking I/O for the input file.
2816 src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++----------------
2817 1 file changed, 111 insertions(+), 45 deletions(-)
2819 commit 78673a08bed5066c81e8a8e90d20e670c28ecfd5
2820 Author: Lasse Collin <lasse.collin@tukaani.org>
2821 Date: 2013-06-28 18:46:13 +0300
2823 xz: Remove an outdated NetBSD-specific comment.
2825 Nowadays errno == EFTYPE is documented in open(2).
2827 src/xz/file_io.c | 4 ----
2828 1 file changed, 4 deletions(-)
2830 commit a616fdad34b48b2932ef03fb87309dcc8b829527
2831 Author: Lasse Collin <lasse.collin@tukaani.org>
2832 Date: 2013-06-28 18:09:47 +0300
2834 xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls.
2836 POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on
2837 error and "other than -1" on success. This is how it is
2838 documented e.g. on OpenBSD too. On Linux, success with
2839 F_SETFL is always 0 (at least accorinding to fcntl(2)
2840 from man-pages 3.51).
2842 src/xz/file_io.c | 8 ++++----
2843 1 file changed, 4 insertions(+), 4 deletions(-)
2845 commit 4a08a6e4c61c65ab763ab314100a6d7a3bb89298
2846 Author: Lasse Collin <lasse.collin@tukaani.org>
2847 Date: 2013-06-28 17:36:47 +0300
2849 xz: Fix use of wrong variable in a fcntl() call.
2851 Due to a wrong variable name, when writing a sparse file
2852 to standard output, *all* file status flags were cleared
2853 (to the extent the operating system allowed it) instead of
2854 only clearing the O_APPEND flag. In practice this worked
2855 fine in the common situations on GNU/Linux, but I didn't
2856 check how it behaved elsewhere.
2858 The original flags were still restored correctly. I still
2859 changed the code to use a separate boolean variable to
2860 indicate when the flags should be restored instead of
2861 relying on a special value in stdout_flags.
2863 src/xz/file_io.c | 24 +++++++++++++-----------
2864 1 file changed, 13 insertions(+), 11 deletions(-)
2866 commit b790b435daa3351067f80a5973b647f8d55367a2
2867 Author: Lasse Collin <lasse.collin@tukaani.org>
2868 Date: 2013-06-28 14:55:37 +0300
2870 xz: Fix assertion related to posix_fadvise().
2872 Input file can be a FIFO or something else that doesn't
2873 support posix_fadvise() so don't check the return value
2874 even with an assertion. Nothing bad happens if the call
2875 to posix_fadvise() fails.
2877 src/xz/file_io.c | 10 ++--------
2878 1 file changed, 2 insertions(+), 8 deletions(-)
2880 commit 84d2da6c9dc252f441deb7626c2522202b005d4d
2881 Author: Lasse Collin <lasse.collin@tukaani.org>
2882 Date: 2013-06-26 13:30:57 +0300
2884 xz: Check the value of lzma_stream_flags.version in --list.
2886 It is a no-op for now, but if an old xz version is used
2887 together with a newer liblzma that supports something new,
2888 then this check becomes important and will stop the old xz
2889 from trying to parse files that it won't understand.
2891 src/xz/list.c | 14 ++++++++++++++
2892 1 file changed, 14 insertions(+)
2894 commit 9376f5f8f762296f2173d61af9101112c36f38c0
2895 Author: Lasse Collin <lasse.collin@tukaani.org>
2896 Date: 2013-06-26 12:17:00 +0300
2898 Build: Require Automake 1.12 and use serial-tests option.
2900 It should actually still work with Automake 1.10 if
2901 the serial-tests option is removed. Automake 1.13 started
2902 using parallel tests by default and the option to get
2903 the old behavior isn't supported before 1.12.
2905 At least for now, parallel tests don't improve anything
2906 in XZ Utils but they hide the progress output from
2909 configure.ac | 4 +++-
2910 1 file changed, 3 insertions(+), 1 deletion(-)
2912 commit b7e200d7bd0a3c7c171c13ad37d68296d6f73374
2913 Author: Lasse Collin <lasse.collin@tukaani.org>
2914 Date: 2013-06-23 18:59:13 +0300
2919 1 file changed, 1 insertion(+)
2921 commit 46540e4c10923e363741ff5aab99e79fc0ce6ee8
2922 Author: Lasse Collin <lasse.collin@tukaani.org>
2923 Date: 2013-06-23 18:57:23 +0300
2925 liblzma: Avoid a warning about a shadowed variable.
2927 On Mac OS X wait() is declared in <sys/wait.h> that
2928 we include one way or other so don't use "wait" as
2931 Thanks to Christian Kujau.
2933 src/liblzma/common/stream_encoder_mt.c | 4 ++--
2934 1 file changed, 2 insertions(+), 2 deletions(-)
2936 commit ebb501ec73cecc546c67117dd01b5e33c90bfb4a
2937 Author: Lasse Collin <lasse.collin@tukaani.org>
2938 Date: 2013-06-23 17:36:47 +0300
2940 xz: Validate Uncompressed Size from Block Header in list.c.
2942 This affects only "xz -lvv". Normal decompression with xz
2943 already detected if Block Header and Index had mismatched
2944 Uncompressed Size fields. So this just makes "xz -lvv"
2945 show such files as corrupt instead of showing the
2946 Uncompressed Size from Index.
2948 src/xz/list.c | 14 +++++++++++++-
2949 1 file changed, 13 insertions(+), 1 deletion(-)
2951 commit c09e91dd236d3cabee0fc48312b3dc8cceae41ab
2952 Author: Lasse Collin <lasse.collin@tukaani.org>
2953 Date: 2013-06-21 22:08:11 +0300
2958 1 file changed, 2 insertions(+)
2960 commit eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494
2961 Author: Lasse Collin <lasse.collin@tukaani.org>
2962 Date: 2013-06-21 22:04:45 +0300
2964 xz: Make the man page more friendly to doclifter.
2966 Thanks to Eric S. Raymond.
2968 src/xz/xz.1 | 7 ++++---
2969 1 file changed, 4 insertions(+), 3 deletions(-)
2971 commit 0c0a1947e6ad90a0a10b7a5c39f6ab99a0aa5c93
2972 Author: Lasse Collin <lasse.collin@tukaani.org>
2973 Date: 2013-06-21 21:54:59 +0300
2975 xz: A couple of man page fixes.
2977 Now the interaction of presets and custom filter chains
2978 is described correctly. Earlier it contradicted itself.
2980 Thanks to DevHC who reported these issues on IRC to me
2983 src/xz/xz.1 | 35 +++++++++++++++++++++++------------
2984 1 file changed, 23 insertions(+), 12 deletions(-)
2986 commit 2fcda89939c903106c429e109083d43d894049e0
2987 Author: Lasse Collin <lasse.collin@tukaani.org>
2988 Date: 2013-06-21 21:50:26 +0300
2990 xz: Fix interaction between preset and custom filter chains.
2992 There was somewhat illogical behavior when --extreme was
2993 specified and mixed with custom filter chains.
2995 Before this commit, "xz -9 --lzma2 -e" was equivalent
2996 to "xz --lzma2". After it is equivalent to "xz -6e"
2997 (all earlier preset options get forgotten when a custom
2998 filter chain is specified and the default preset is 6
2999 to which -e is applied). I find this less illogical.
3001 This also affects the meaning of "xz -9e --lzma2 -7".
3002 Earlier it was equivalent to "xz -7e" (the -e specified
3003 before a custom filter chain wasn't forgotten). Now it
3004 is "xz -7". Note that "xz -7e" still is the same as "xz -e7".
3006 Hopefully very few cared about this in the first place,
3007 so pretty much no one should even notice this change.
3009 Thanks to Conley Moorhous.
3011 src/xz/coder.c | 35 +++++++++++++++++++++--------------
3012 1 file changed, 21 insertions(+), 14 deletions(-)
3014 commit 97379c5ea758da3f8b0bc444d5f7fa43753ce610
3015 Author: Lasse Collin <lasse.collin@tukaani.org>
3016 Date: 2013-04-27 22:07:46 +0300
3018 Build: Use -Wvla with GCC if supported.
3020 Variable-length arrays are mandatory in C99 but optional in C11.
3021 The code doesn't currently use any VLAs and it shouldn't in the
3022 future either to stay compatible with C11 without requiring any
3023 optional C11 features.
3026 1 file changed, 1 insertion(+)
3028 commit 8957c58609d3987c58aa72b96c436cf565cc4917
3029 Author: Lasse Collin <lasse.collin@tukaani.org>
3030 Date: 2013-04-15 19:29:09 +0300
3032 xzdec: Improve the --help message.
3034 The options are now ordered in the same order as in xz's help
3037 Descriptions were added to the options that are ignored.
3038 I left them in parenthesis even if it looks a bit weird
3039 because I find it easier to spot the ignored vs. non-ignored
3040 options from the list that way.
3042 src/xzdec/xzdec.c | 10 +++++-----
3043 1 file changed, 5 insertions(+), 5 deletions(-)
3045 commit ed886e1a92534a24401d0e99c11f1dcff3b5220a
3046 Author: Lasse Collin <lasse.collin@tukaani.org>
3047 Date: 2013-04-05 19:25:40 +0300
3052 1 file changed, 2 insertions(+)
3054 commit 5019413a055ce29e660dbbf15e02443cb5a26c59
3055 Author: Jeff Bastian <jbastian@redhat.com>
3056 Date: 2013-04-03 13:59:17 +0200
3058 xzgrep: make the '-h' option to be --no-filename equivalent
3060 * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
3062 src/scripts/xzgrep.in | 2 +-
3063 1 file changed, 1 insertion(+), 1 deletion(-)
3065 commit 5ea900cb5ad862bca81316729f92357c1fc040ce
3066 Author: Lasse Collin <lasse.collin@tukaani.org>
3067 Date: 2013-03-23 22:25:15 +0200
3069 liblzma: Be less picky in lzma_alone_decoder().
3071 To avoid false positives when detecting .lzma files,
3072 rare values in dictionary size and uncompressed size fields
3073 were rejected. They will still be rejected if .lzma files
3074 are decoded with lzma_auto_decoder(), but when using
3075 lzma_alone_decoder() directly, such files will now be accepted.
3076 Hopefully this is an OK compromise.
3078 This doesn't affect xz because xz still has its own file
3079 format detection code. This does affect lzmadec though.
3080 So after this commit lzmadec will accept files that xz or
3081 xz-emulating-lzma doesn't.
3083 NOTE: lzma_alone_decoder() still won't decode all .lzma files
3084 because liblzma's LZMA decoder doesn't support lc + lp > 4.
3087 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827
3089 src/liblzma/common/alone_decoder.c | 22 ++++++++++++++--------
3090 src/liblzma/common/alone_decoder.h | 5 +++--
3091 src/liblzma/common/auto_decoder.c | 2 +-
3092 3 files changed, 18 insertions(+), 11 deletions(-)
3094 commit bb117fffa84604b6e3811b068c80db82bf7f7b05
3095 Author: Lasse Collin <lasse.collin@tukaani.org>
3096 Date: 2013-03-23 21:55:13 +0200
3098 liblzma: Use lzma_block_buffer_bound64() in threaded encoder.
3100 Now it uses lzma_block_uncomp_encode() if the data doesn't
3101 fit into the space calculated by lzma_block_buffer_bound64().
3103 src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++---------
3104 1 file changed, 50 insertions(+), 16 deletions(-)
3106 commit e572e123b55b29527e54ce5f0807f115481d78b9
3107 Author: Lasse Collin <lasse.collin@tukaani.org>
3108 Date: 2013-03-23 21:51:38 +0200
3110 liblzma: Fix another deadlock in the threaded encoder.
3112 This race condition could cause a deadlock if lzma_end() was
3113 called before finishing the encoding. This can happen with
3114 xz with debugging enabled (non-debugging version doesn't
3115 call lzma_end() before exiting).
3117 src/liblzma/common/stream_encoder_mt.c | 9 ++++++---
3118 1 file changed, 6 insertions(+), 3 deletions(-)
3120 commit b465da5988dd59ad98fda10c2e4ea13d0b9c73bc
3121 Author: Lasse Collin <lasse.collin@tukaani.org>
3122 Date: 2013-03-23 19:17:33 +0200
3124 liblzma: Add lzma_block_uncomp_encode().
3126 This also adds a new internal function
3127 lzma_block_buffer_bound64() which is similar to
3128 lzma_block_buffer_bound() but uses uint64_t instead
3131 src/liblzma/api/lzma/block.h | 18 ++++++
3132 src/liblzma/common/block_buffer_encoder.c | 94 +++++++++++++++++++++----------
3133 src/liblzma/common/block_buffer_encoder.h | 24 ++++++++
3134 src/liblzma/liblzma.map | 1 +
3135 4 files changed, 106 insertions(+), 31 deletions(-)
3137 commit 9e6dabcf22ef4679f4faaae15ebd5b137ae2fad1
3138 Author: Lasse Collin <lasse.collin@tukaani.org>
3139 Date: 2013-03-05 19:14:50 +0200
3141 Avoid unneeded use of awk in xzless.
3143 Use "read" instead of "awk" in xzless to get the version
3144 number of "less". The need for awk was introduced in
3145 the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e.
3147 Thanks to Ariel P for the patch.
3149 src/scripts/xzless.in | 3 +--
3150 1 file changed, 1 insertion(+), 2 deletions(-)
3152 commit e7b424d267a34803db8d92a3515528be2ed45abd
3153 Author: Lasse Collin <lasse.collin@tukaani.org>
3154 Date: 2012-12-14 20:13:32 +0200
3156 Make the progress indicator smooth in threaded mode.
3158 This adds lzma_get_progress() to liblzma and takes advantage
3161 lzma_get_progress() collects progress information from
3162 the thread-specific structures so that fairly accurate
3163 progress information is available to applications. Adding
3164 a new function seemed to be a better way than making the
3165 information directly available in lzma_stream (like total_in
3166 and total_out are) because collecting the information requires
3167 locking mutexes. It's waste of time to do it more often than
3168 the up to date information is actually needed by an application.
3170 src/liblzma/api/lzma/base.h | 22 +++++++++-
3171 src/liblzma/common/common.c | 16 +++++++
3172 src/liblzma/common/common.h | 6 +++
3173 src/liblzma/common/stream_encoder_mt.c | 77 +++++++++++++++++++++++++++++++---
3174 src/liblzma/liblzma.map | 1 +
3175 src/xz/message.c | 20 +++++----
3176 6 files changed, 129 insertions(+), 13 deletions(-)
3178 commit 2ebbb994e367f55f2561aa7c9e7451703c171f2f
3179 Author: Lasse Collin <lasse.collin@tukaani.org>
3180 Date: 2012-12-14 11:01:41 +0200
3182 liblzma: Fix mythread_sync for nested locking.
3184 src/common/mythread.h | 5 +++--
3185 1 file changed, 3 insertions(+), 2 deletions(-)
3187 commit 4c7e28705f6de418d19cc77324ef301f996e01ff
3188 Author: Lasse Collin <lasse.collin@tukaani.org>
3189 Date: 2012-12-13 21:05:36 +0200
3191 xz: Mention --threads in --help.
3193 Thanks to Olivier Delhomme for pointing out that this
3196 src/xz/message.c | 4 ++++
3197 1 file changed, 4 insertions(+)
3199 commit db5c1817fabf7cbb9e4087b1576eb26f0747338e
3200 Author: Jonathan Nieder <jrnieder@gmail.com>
3201 Date: 2012-11-19 00:10:10 -0800
3203 xzless: Make "less -V" parsing more robust
3205 In v4.999.9beta~30 (xzless: Support compressed standard input,
3206 2009-08-09), xzless learned to parse ‘less -V’ output to figure out
3207 whether less is new enough to handle $LESSOPEN settings starting
3208 with “|-”. That worked well for a while, but the version string from
3209 ‘less’ versions 448 (June, 2012) is misparsed, producing a warning:
3211 $ xzless /tmp/test.xz; echo $?
3212 /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
3213 integer expression expected
3216 More precisely, modern ‘less’ lists the regexp implementation along
3217 with its version number, and xzless passes the entire version number
3218 with attached parenthetical phrase as a number to "test $a -gt $b",
3219 producing the above confusing message.
3221 $ less-444 -V | head -1
3224 less 456 (no regular expressions)
3226 So relax the pattern matched --- instead of expecting "less <number>",
3227 look for a line of the form "less <number>[ (extra parenthetical)]".
3228 While at it, improve the behavior when no matching line is found ---
3229 instead of producing a cryptic message, we can fall back on a LESSPIPE
3230 setting that is supported by all versions of ‘less’.
3232 The implementation uses "awk" for simplicity. Hopefully that’s
3235 Reported-by: Jörg-Volker Peetz <jvpeetz@web.de>
3236 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
3238 src/scripts/xzless.in | 3 ++-
3239 1 file changed, 2 insertions(+), 1 deletion(-)
3241 commit 65536214a31ecd33b6b03b68a351fb597d3703d6
3242 Author: Lasse Collin <lasse.collin@tukaani.org>
3243 Date: 2012-10-03 15:54:24 +0300
3245 xz: Fix the note about --rsyncable on the man page.
3247 src/xz/xz.1 | 17 +++++++++--------
3248 1 file changed, 9 insertions(+), 8 deletions(-)
3250 commit 3d93b6354927247a1569caf22ad27b07e97ee904
3251 Author: Lasse Collin <lasse.collin@tukaani.org>
3252 Date: 2012-09-28 20:11:09 +0300
3254 xz: Improve handling of failed realloc in xrealloc.
3256 Thanks to Jim Meyering.
3258 src/xz/util.c | 14 ++++++++++++--
3259 1 file changed, 12 insertions(+), 2 deletions(-)
3261 commit ab225620664e235637833be2329935f9d290ba80
3262 Author: Lasse Collin <lasse.collin@tukaani.org>
3263 Date: 2012-08-24 16:27:31 +0300
3265 A few typo fixes to comments and the xz man page.
3267 Thanks to Jim Meyering.
3270 src/liblzma/check/sha256.c | 1 -
3271 src/xz/xz.1 | 4 ++--
3272 3 files changed, 3 insertions(+), 4 deletions(-)
3274 commit f3c1ec69d910175ffd431fd82968dd35cec806ed
3275 Author: Lasse Collin <lasse.collin@tukaani.org>
3276 Date: 2012-08-13 21:40:09 +0300
3278 xz: Add a warning to --help about alpha and beta versions.
3280 src/xz/message.c | 5 +++++
3281 1 file changed, 5 insertions(+)
3283 commit d8eaf9d8278c23c2cf2b7ca5562d4de570d3b5db
3284 Author: Lasse Collin <lasse.collin@tukaani.org>
3285 Date: 2012-08-02 17:13:30 +0300
3287 Build: Bump gettext version requirement to 0.18.
3289 Otherwise too old version of m4/lib-link.m4 gets included
3290 when autoreconf -fi is run.
3293 1 file changed, 1 insertion(+), 1 deletion(-)
3295 commit 96e08902b09f0f304d4ff80c6e83ef7fff883f34
3296 Author: Lasse Collin <lasse.collin@tukaani.org>
3297 Date: 2012-07-17 18:29:08 +0300
3302 1 file changed, 1 insertion(+)
3304 commit 3778db1be53e61ff285c573af5ee468803008456
3305 Author: Lasse Collin <lasse.collin@tukaani.org>
3306 Date: 2012-07-17 18:19:59 +0300
3308 liblzma: Make the use of lzma_allocator const-correct.
3310 There is a tiny risk of causing breakage: If an application
3311 assigns lzma_stream.allocator to a non-const pointer, such
3312 code won't compile anymore. I don't know why anyone would do
3313 such a thing though, so in practice this shouldn't cause trouble.
3315 Thanks to Jan Kratochvil for the patch.
3317 src/liblzma/api/lzma/base.h | 4 +++-
3318 src/liblzma/api/lzma/block.h | 6 ++---
3319 src/liblzma/api/lzma/container.h | 9 +++++---
3320 src/liblzma/api/lzma/filter.h | 13 ++++++-----
3321 src/liblzma/api/lzma/index.h | 16 ++++++-------
3322 src/liblzma/api/lzma/index_hash.h | 4 ++--
3323 src/liblzma/common/alone_decoder.c | 6 ++---
3324 src/liblzma/common/alone_decoder.h | 2 +-
3325 src/liblzma/common/alone_encoder.c | 8 +++----
3326 src/liblzma/common/auto_decoder.c | 6 ++---
3327 src/liblzma/common/block_buffer_decoder.c | 2 +-
3328 src/liblzma/common/block_buffer_encoder.c | 4 ++--
3329 src/liblzma/common/block_decoder.c | 6 ++---
3330 src/liblzma/common/block_decoder.h | 2 +-
3331 src/liblzma/common/block_encoder.c | 8 +++----
3332 src/liblzma/common/block_encoder.h | 2 +-
3333 src/liblzma/common/block_header_decoder.c | 4 ++--
3334 src/liblzma/common/common.c | 10 ++++-----
3335 src/liblzma/common/common.h | 20 +++++++++--------
3336 src/liblzma/common/easy_buffer_encoder.c | 4 ++--
3337 src/liblzma/common/filter_buffer_decoder.c | 3 ++-
3338 src/liblzma/common/filter_buffer_encoder.c | 7 +++---
3339 src/liblzma/common/filter_common.c | 4 ++--
3340 src/liblzma/common/filter_common.h | 2 +-
3341 src/liblzma/common/filter_decoder.c | 7 +++---
3342 src/liblzma/common/filter_decoder.h | 2 +-
3343 src/liblzma/common/filter_encoder.c | 2 +-
3344 src/liblzma/common/filter_encoder.h | 2 +-
3345 src/liblzma/common/filter_flags_decoder.c | 2 +-
3346 src/liblzma/common/index.c | 26 ++++++++++-----------
3347 src/liblzma/common/index_decoder.c | 12 +++++-----
3348 src/liblzma/common/index_encoder.c | 6 ++---
3349 src/liblzma/common/index_encoder.h | 2 +-
3350 src/liblzma/common/index_hash.c | 6 +++--
3351 src/liblzma/common/outqueue.c | 4 ++--
3352 src/liblzma/common/outqueue.h | 5 +++--
3353 src/liblzma/common/stream_buffer_decoder.c | 2 +-
3354 src/liblzma/common/stream_buffer_encoder.c | 3 ++-
3355 src/liblzma/common/stream_decoder.c | 9 ++++----
3356 src/liblzma/common/stream_decoder.h | 5 +++--
3357 src/liblzma/common/stream_encoder.c | 10 ++++-----
3358 src/liblzma/common/stream_encoder_mt.c | 16 ++++++-------
3359 src/liblzma/delta/delta_common.c | 4 ++--
3360 src/liblzma/delta/delta_decoder.c | 6 ++---
3361 src/liblzma/delta/delta_decoder.h | 5 +++--
3362 src/liblzma/delta/delta_encoder.c | 6 ++---
3363 src/liblzma/delta/delta_encoder.h | 3 ++-
3364 src/liblzma/delta/delta_private.h | 2 +-
3365 src/liblzma/lz/lz_decoder.c | 8 +++----
3366 src/liblzma/lz/lz_decoder.h | 7 +++---
3367 src/liblzma/lz/lz_encoder.c | 19 ++++++++--------
3368 src/liblzma/lz/lz_encoder.h | 6 ++---
3369 src/liblzma/lzma/lzma2_decoder.c | 8 +++----
3370 src/liblzma/lzma/lzma2_decoder.h | 5 +++--
3371 src/liblzma/lzma/lzma2_encoder.c | 6 ++---
3372 src/liblzma/lzma/lzma2_encoder.h | 2 +-
3373 src/liblzma/lzma/lzma_decoder.c | 8 +++----
3374 src/liblzma/lzma/lzma_decoder.h | 7 +++---
3375 src/liblzma/lzma/lzma_encoder.c | 7 +++---
3376 src/liblzma/lzma/lzma_encoder.h | 5 +++--
3377 src/liblzma/simple/arm.c | 8 ++++---
3378 src/liblzma/simple/armthumb.c | 8 ++++---
3379 src/liblzma/simple/ia64.c | 8 ++++---
3380 src/liblzma/simple/powerpc.c | 8 ++++---
3381 src/liblzma/simple/simple_coder.c | 10 ++++-----
3382 src/liblzma/simple/simple_coder.h | 36 ++++++++++++++++++++----------
3383 src/liblzma/simple/simple_decoder.c | 2 +-
3384 src/liblzma/simple/simple_decoder.h | 2 +-
3385 src/liblzma/simple/simple_private.h | 3 ++-
3386 src/liblzma/simple/sparc.c | 8 ++++---
3387 src/liblzma/simple/x86.c | 8 ++++---
3388 71 files changed, 269 insertions(+), 219 deletions(-)
3390 commit d625c7cf824fd3b61c6da84f56179e94917ff603
3391 Author: Lasse Collin <lasse.collin@tukaani.org>
3392 Date: 2012-07-05 07:36:28 +0300
3394 Tests: Remove tests/test_block.c that had gotten committed accidentally.
3396 tests/test_block.c | 52 ----------------------------------------------------
3397 1 file changed, 52 deletions(-)
3399 commit 0b09d266cce72bc4841933b171e79551e488927c
3400 Author: Lasse Collin <lasse.collin@tukaani.org>
3401 Date: 2012-07-05 07:33:35 +0300
3403 Build: Include macosx/build.sh in the distribution.
3405 It has been in the Git repository since 2010 but probably
3406 few people have seen it since it hasn't been included in
3407 the release tarballs. :-(
3410 1 file changed, 1 insertion(+)
3412 commit d6e0b23d4613b9f417893dd96cc168c8005ece3d
3413 Author: Lasse Collin <lasse.collin@tukaani.org>
3414 Date: 2012-07-05 07:28:53 +0300
3416 Build: Include validate_map.sh in the distribution.
3418 It's required by "make mydist".
3420 Fix also the location of EXTRA_DIST+= so that those files
3421 get distributed also if symbol versioning isn't enabled.
3423 src/liblzma/Makefile.am | 2 +-
3424 1 file changed, 1 insertion(+), 1 deletion(-)
3426 commit 19de545d86097c3954d69ab5d12820387f6a09bc
3427 Author: Lasse Collin <lasse.collin@tukaani.org>
3428 Date: 2012-07-05 07:24:45 +0300
3430 Docs: Fix the name LZMA Utils -> XZ Utils in debug/README.
3433 1 file changed, 1 insertion(+), 1 deletion(-)
3435 commit 672eccf57c31a40dfb956b7662db06d43e18618e
3436 Author: Lasse Collin <lasse.collin@tukaani.org>
3437 Date: 2012-07-05 07:23:17 +0300
3439 Include debug/translation.bash in the distribution.
3441 Also fix the script name mentioned in README.
3444 debug/Makefile.am | 3 +++
3445 2 files changed, 5 insertions(+), 2 deletions(-)
3447 commit cafb523adac1caf305e70a04bc37f25602bf990c
3448 Author: Lasse Collin <lasse.collin@tukaani.org>
3449 Date: 2012-07-04 22:31:58 +0300
3451 xz: Document --block-list better.
3453 Thanks to Jonathan Nieder.
3455 src/xz/xz.1 | 8 +++++++-
3456 1 file changed, 7 insertions(+), 1 deletion(-)
3458 commit c7ff218528bc8f7c65e7ef73c6515777346c6794
3459 Author: Lasse Collin <lasse.collin@tukaani.org>
3460 Date: 2012-07-04 20:01:49 +0300
3462 Bump the version number to 5.1.2alpha.
3464 src/liblzma/api/lzma/version.h | 2 +-
3465 src/liblzma/liblzma.map | 2 +-
3466 2 files changed, 2 insertions(+), 2 deletions(-)
3468 commit 8f3c1d886f93e6478ad509ff52102b2ce7faa999
3469 Author: Lasse Collin <lasse.collin@tukaani.org>
3470 Date: 2012-07-04 20:01:19 +0300
3472 Update NEWS for 5.1.2alpha.
3474 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
3475 1 file changed, 41 insertions(+)
3477 commit 0d5fa05466e580fbc458820f87013ae7644e20e5
3478 Author: Lasse Collin <lasse.collin@tukaani.org>
3479 Date: 2012-07-04 19:58:23 +0300
3481 xz: Fix the version number printed by xz -lvv.
3483 The decoder bug was fixed in 5.0.2 instead of 5.0.3.
3485 src/xz/list.c | 6 +++---
3486 1 file changed, 3 insertions(+), 3 deletions(-)
3488 commit df11317985a4165731dde12bb0f0028da0e7b77f
3489 Author: Lasse Collin <lasse.collin@tukaani.org>
3490 Date: 2012-07-04 17:11:31 +0300
3492 Build: Add a comment to configure.ac about symbol versioning.
3494 configure.ac | 4 ++++
3495 1 file changed, 4 insertions(+)
3497 commit bd9cc179e8be3ef515201d3ed9c7dd79ae88869d
3498 Author: Lasse Collin <lasse.collin@tukaani.org>
3499 Date: 2012-07-04 17:06:49 +0300
3503 TODO | 12 ++++++++++--
3504 1 file changed, 10 insertions(+), 2 deletions(-)
3506 commit 4a238dd9b22f462cac5e199828bf1beb0df05884
3507 Author: Lasse Collin <lasse.collin@tukaani.org>
3508 Date: 2012-07-04 17:05:46 +0300
3510 Document --enable-symbol-versions in INSTALL.
3513 1 file changed, 5 insertions(+)
3515 commit 88ccf47205d7f3aa314d358c72ef214f10f68b43
3516 Author: Lasse Collin <lasse.collin@tukaani.org>
3517 Date: 2012-07-03 21:16:39 +0300
3519 xz: Add incomplete support for --block-list.
3521 It's broken with threads and when also --block-size is used.
3523 src/xz/args.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3525 src/xz/coder.c | 48 ++++++++++++++++++++++++++++------
3526 src/xz/coder.h | 4 +++
3528 src/xz/message.c | 6 +++++
3529 src/xz/xz.1 | 23 +++++++++++++++--
3530 7 files changed, 151 insertions(+), 10 deletions(-)
3532 commit 972179cdcdf5d8949c48ee31737d87d3050b44af
3533 Author: Lasse Collin <lasse.collin@tukaani.org>
3534 Date: 2012-07-01 18:44:33 +0300
3536 xz: Update the man page about the new field in --robot -lvv.
3538 src/xz/xz.1 | 18 +++++++++++++++++-
3539 1 file changed, 17 insertions(+), 1 deletion(-)
3541 commit 1403707fc64a70976aebe66f8d9a9bd12f73a2c5
3542 Author: Lasse Collin <lasse.collin@tukaani.org>
3543 Date: 2012-06-28 10:47:49 +0300
3545 liblzma: Check that the first byte of range encoded data is 0x00.
3547 It is just to be more pedantic and thus perhaps catch broken
3548 files slightly earlier.
3550 src/liblzma/lzma/lzma_decoder.c | 8 ++++++--
3551 src/liblzma/rangecoder/range_decoder.h | 12 +++++++++---
3552 2 files changed, 15 insertions(+), 5 deletions(-)
3554 commit eccd8017ffe2c5de473222c4963ec53c62f7fda2
3555 Author: Lasse Collin <lasse.collin@tukaani.org>
3556 Date: 2012-06-22 19:00:23 +0300
3558 Update NEWS from 5.0.4.
3560 NEWS | 37 +++++++++++++++++++++++++++++++++++++
3561 1 file changed, 37 insertions(+)
3563 commit 2e6754eac26a431e8d340c28906f63bcd1e177e8
3564 Author: Lasse Collin <lasse.collin@tukaani.org>
3565 Date: 2012-06-22 14:34:03 +0300
3567 xz: Update man page date to match the latest update.
3570 1 file changed, 1 insertion(+), 1 deletion(-)
3572 commit b3235a0b1af45d5e1244cbe3191516966c076fa0
3573 Author: Lasse Collin <lasse.collin@tukaani.org>
3574 Date: 2012-06-18 21:27:47 +0300
3576 Docs: Language fix to 01_compress_easy.c.
3578 Thanks to Jonathan Nieder.
3580 doc/examples/01_compress_easy.c | 2 +-
3581 1 file changed, 1 insertion(+), 1 deletion(-)
3583 commit f1675f765fe228cb5a5f904f853445a03e33cfe9
3584 Author: Lasse Collin <lasse.collin@tukaani.org>
3585 Date: 2012-06-14 20:15:30 +0300
3587 Fix the top-level Makefile.am for the new example programs.
3589 Makefile.am | 12 ++++++++++--
3590 1 file changed, 10 insertions(+), 2 deletions(-)
3592 commit 3a0c5378abefaf86aa39a62a7c9682bdb21568a1
3593 Author: Lasse Collin <lasse.collin@tukaani.org>
3594 Date: 2012-06-14 10:52:33 +0300
3596 Docs: Add new example programs.
3598 These have more comments than the old examples and
3599 human-readable error messages. More tutorial-like examples
3600 are needed but these are a start.
3602 doc/examples/00_README.txt | 27 ++++
3603 doc/examples/01_compress_easy.c | 297 ++++++++++++++++++++++++++++++++++++++
3604 doc/examples/02_decompress.c | 287 ++++++++++++++++++++++++++++++++++++
3605 doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++
3606 doc/examples/Makefile | 23 +++
3607 5 files changed, 827 insertions(+)
3609 commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d
3610 Author: Lasse Collin <lasse.collin@tukaani.org>
3611 Date: 2012-06-14 10:33:27 +0300
3613 Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old.
3615 It is good to keep these around to so that if someone has
3616 copied the decompressor bug from xz_pipe_decomp.c he has
3617 an example how to easily fix it.
3619 doc/{examples => examples_old}/xz_pipe_comp.c | 0
3620 doc/{examples => examples_old}/xz_pipe_decomp.c | 0
3621 2 files changed, 0 insertions(+), 0 deletions(-)
3623 commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292
3624 Author: Lasse Collin <lasse.collin@tukaani.org>
3625 Date: 2012-06-14 10:33:01 +0300
3627 Docs: Fix a bug in xz_pipe_decomp.c example program.
3629 doc/examples/xz_pipe_decomp.c | 10 +++++++++-
3630 1 file changed, 9 insertions(+), 1 deletion(-)
3632 commit 4bd1a3bd5fdf4870b2f96dd0b8a21657c8a58ad8
3633 Author: Lasse Collin <lasse.collin@tukaani.org>
3634 Date: 2012-05-30 23:14:33 +0300
3636 Translations: Update the French translation.
3638 Thanks to Adrien Nader.
3640 po/fr.po | 148 ++++++++++++++++++++++++++++++++++-----------------------------
3641 1 file changed, 79 insertions(+), 69 deletions(-)
3643 commit d2e836f2f3a87df6fe6bb0589b037db51205d910
3644 Author: Lasse Collin <lasse.collin@tukaani.org>
3645 Date: 2012-05-29 23:42:37 +0300
3647 Translations: Update the German translation.
3649 The previous only included the new strings in v5.0.
3651 po/de.po | 229 +++++++++++++++++++++++++++++++++++++--------------------------
3652 1 file changed, 133 insertions(+), 96 deletions(-)
3654 commit c9a16151577ba459afd6e3528df23bc0ddb95171
3655 Author: Lasse Collin <lasse.collin@tukaani.org>
3656 Date: 2012-05-29 22:26:27 +0300
3658 Translations: Update the German translation.
3660 po/de.po | 169 ++++++++++++++++++++++++++++++++++-----------------------------
3661 1 file changed, 91 insertions(+), 78 deletions(-)
3663 commit 1530a74fd48f8493372edad137a24541efe24713
3664 Author: Lasse Collin <lasse.collin@tukaani.org>
3665 Date: 2012-05-29 22:14:21 +0300
3667 Translations: Update Polish translation.
3669 po/pl.po | 283 +++++++++++++++++++++++++++++++++++++--------------------------
3670 1 file changed, 165 insertions(+), 118 deletions(-)
3672 commit d8db706acb8316f9861abd432cfbe001dd6d0c5c
3673 Author: Lasse Collin <lasse.collin@tukaani.org>
3674 Date: 2012-05-28 20:42:11 +0300
3676 liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.
3678 lzma_code() could incorrectly return LZMA_BUF_ERROR if
3679 all of the following was true:
3681 - The caller knows how many bytes of output to expect
3682 and only provides that much output space.
3684 - When the last output bytes are decoded, the
3685 caller-provided input buffer ends right before
3686 the LZMA2 end of payload marker. So LZMA2 won't
3687 provide more output anymore, but it won't know it
3688 yet and thus won't return LZMA_STREAM_END yet.
3690 - A BCJ filter is in use and it hasn't left any
3691 unfiltered bytes in the temp buffer. This can happen
3692 with any BCJ filter, but in practice it's more likely
3693 with filters other than the x86 BCJ.
3695 Another situation where the bug can be triggered happens
3696 if the uncompressed size is zero bytes and no output space
3697 is provided. In this case the decompression can fail even
3698 if the whole input file is given to lzma_code().
3700 A similar bug was fixed in XZ Embedded on 2011-09-19.
3702 src/liblzma/simple/simple_coder.c | 2 +-
3703 tests/Makefile.am | 4 +-
3704 tests/test_bcj_exact_size.c | 112 ++++++++++++++++++++++++++++++++++++++
3705 3 files changed, 116 insertions(+), 2 deletions(-)
3707 commit 3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda
3708 Author: Lasse Collin <lasse.collin@tukaani.org>
3709 Date: 2012-05-28 15:38:32 +0300
3714 1 file changed, 1 insertion(+)
3716 commit 7769ea051d739a38a1640fd448cf5eb83cb119c6
3717 Author: Lasse Collin <lasse.collin@tukaani.org>
3718 Date: 2012-05-28 15:37:43 +0300
3720 xz: Don't show a huge number in -vv when memory limit is disabled.
3722 src/xz/message.c | 12 +++++++++++-
3723 1 file changed, 11 insertions(+), 1 deletion(-)
3725 commit ec921105725e4d3ef0a683dd83eee6f24ab60ccd
3726 Author: Lasse Collin <lasse.collin@tukaani.org>
3727 Date: 2012-05-27 22:30:17 +0300
3729 xz: Document the "summary" lines of --robot -lvv.
3731 This documents only the columns that are in v5.0.
3732 The new columns added in the master branch aren't
3733 necessarily stable yet.
3735 src/xz/xz.1 | 19 +++++++++++++++++++
3736 1 file changed, 19 insertions(+)
3738 commit 27d24eb0a9f6eed96d6a4594c2b0bf7a91d29f9a
3739 Author: Lasse Collin <lasse.collin@tukaani.org>
3740 Date: 2012-05-27 21:53:20 +0300
3742 xz: Fix output of verbose --robot --list modes.
3744 It printed the filename in "filename (x/y)" format
3745 which it obviously shouldn't do in robot mode.
3747 src/xz/message.c | 2 +-
3748 1 file changed, 1 insertion(+), 1 deletion(-)
3750 commit ab25b82a91754d9388c89abddf806424671d9431
3751 Author: Lasse Collin <lasse.collin@tukaani.org>
3752 Date: 2012-05-24 18:33:54 +0300
3754 Build: Upgrade m4/acx_pthread.m4 to the latest version.
3756 m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++---------------------
3757 1 file changed, 62 insertions(+), 36 deletions(-)
3759 commit d05d6d65c41a4bc83f162fa3d67c5d84e8751634
3760 Author: Lasse Collin <lasse.collin@tukaani.org>
3761 Date: 2012-05-10 21:15:17 +0300
3766 1 file changed, 1 insertion(+)
3768 commit e077391982f9f28dbfe542bba8800e7c5b916666
3769 Author: Lasse Collin <lasse.collin@tukaani.org>
3770 Date: 2012-05-10 21:14:16 +0300
3772 Docs: Cleanup line wrapping a bit.
3774 README | 12 ++++++------
3775 doc/history.txt | 49 +++++++++++++++++++++++++------------------------
3776 2 files changed, 31 insertions(+), 30 deletions(-)
3778 commit fc39849c350225c6a1cd7f6e6adff1020521eabc
3779 Author: Benno Schulenberg <bensberg@justemail.net>
3780 Date: 2012-03-13 22:04:04 +0100
3782 Fix a few typos and add some missing articles in some documents.
3784 Also hyphenate several compound adjectives.
3786 Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
3789 README | 42 ++++++++++++++++++++---------------------
3790 doc/faq.txt | 24 ++++++++++++------------
3791 doc/history.txt | 58 ++++++++++++++++++++++++++++-----------------------------
3792 4 files changed, 65 insertions(+), 65 deletions(-)
3794 commit 29fa0566d5df199cb9acb2d17bf7eea61acc7fa1
3795 Author: Lasse Collin <lasse.collin@tukaani.org>
3796 Date: 2012-04-29 11:51:25 +0300
3798 Windows: Update notes about static linking with MSVC.
3800 windows/README-Windows.txt | 13 +++++++++----
3801 1 file changed, 9 insertions(+), 4 deletions(-)
3803 commit aac1b31ea4e66cf5a7a8c116bdaa15aa45e6c56e
3804 Author: Lasse Collin <lasse.collin@tukaani.org>
3805 Date: 2012-04-19 15:25:26 +0300
3807 liblzma: Remove outdated comments.
3809 src/liblzma/simple/simple_coder.c | 3 ---
3810 src/liblzma/simple/simple_private.h | 3 +--
3811 2 files changed, 1 insertion(+), 5 deletions(-)
3813 commit df14a46013bea70c0bd35be7821b0b9108f97de7
3814 Author: Lasse Collin <lasse.collin@tukaani.org>
3815 Date: 2012-04-19 14:17:52 +0300
3817 DOS: Link against DJGPP's libemu to support FPU emulation.
3819 This way xz should work on 386SX and 486SX. Floating point
3820 only is needed for verbose output in xz.
3823 1 file changed, 1 insertion(+), 1 deletion(-)
3825 commit 03ed742a3a4931bb5c821357832083b26f577b13
3826 Author: Lasse Collin <lasse.collin@tukaani.org>
3827 Date: 2012-04-19 14:02:25 +0300
3829 liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed.
3831 src/liblzma/liblzma.pc.in | 2 +-
3832 1 file changed, 1 insertion(+), 1 deletion(-)
3834 commit 8c5b13ad59df70f49429bfdfd6ac120b8f892fda
3835 Author: Lasse Collin <lasse.collin@tukaani.org>
3836 Date: 2012-04-19 13:58:55 +0300
3838 Docs: Update MINIX 3 information in INSTALL.
3840 INSTALL | 8 +++++---
3841 1 file changed, 5 insertions(+), 3 deletions(-)
3843 commit c7376fc415a1566f38b2de4b516a17013d516a8b
3844 Author: Lasse Collin <lasse.collin@tukaani.org>
3845 Date: 2012-02-22 14:23:13 +0200
3850 1 file changed, 1 insertion(+)
3852 commit cff070aba6281ba743d29a62b8c0c66e5da4b2a6
3853 Author: Lasse Collin <lasse.collin@tukaani.org>
3854 Date: 2012-02-22 14:02:34 +0200
3856 Fix exit status of xzgrep when grepping binary files.
3858 When grepping binary files, grep may exit before it has
3859 read all the input. In this case, gzip -q returns 2 (eating
3860 SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status
3861 (e.g. 141). This causes wrong exit status when grepping
3862 xz- or bzip2-compressed binary files.
3864 The fix checks for the special exit status that indicates SIGPIPE.
3865 It uses kill -l which should be supported everywhere since it
3866 is in both SUSv2 (1997) and POSIX.1-2008.
3868 Thanks to James Buren for the bug report.
3870 src/scripts/xzgrep.in | 3 ++-
3871 1 file changed, 2 insertions(+), 1 deletion(-)
3873 commit 41cafb2bf9beea915710ee68f05fe929cd17759c
3874 Author: Lasse Collin <lasse.collin@tukaani.org>
3875 Date: 2012-02-22 12:08:43 +0200
3880 1 file changed, 1 insertion(+)
3882 commit 2dcea03712fa881930d69ec9eff70855c3d126d9
3883 Author: Lasse Collin <lasse.collin@tukaani.org>
3884 Date: 2012-02-22 12:00:16 +0200
3886 Fix compiling with IBM XL C on AIX.
3888 INSTALL | 36 ++++++++++++++++++++++--------------
3889 configure.ac | 6 +++++-
3890 2 files changed, 27 insertions(+), 15 deletions(-)
3892 commit 7db6bdf4abcf524115be2cf5659ed540cef074c5
3893 Author: Lasse Collin <lasse.collin@tukaani.org>
3894 Date: 2012-01-10 17:13:03 +0200
3896 Tests: Fix a compiler warning with _FORTIFY_SOURCE.
3899 http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385
3901 tests/create_compress_files.c | 3 ++-
3902 1 file changed, 2 insertions(+), 1 deletion(-)
3904 commit 694952d545b6cf056547893ced69486eff9ece55
3905 Author: Lasse Collin <lasse.collin@tukaani.org>
3906 Date: 2011-12-19 21:21:29 +0200
3908 Docs: Explain the stable releases better in README.
3911 1 file changed, 5 insertions(+), 1 deletion(-)
3913 commit 418fe668b3c53a9a20020b6cc652aaf25c734b29
3914 Author: Lasse Collin <lasse.collin@tukaani.org>
3915 Date: 2011-11-07 13:07:52 +0200
3917 xz: Show minimum required XZ Utils version in xz -lvv.
3919 Man page wasn't updated yet.
3921 src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
3922 1 file changed, 57 insertions(+), 6 deletions(-)
3924 commit 7081d82c37326bac97184e338345fa1c327e3580
3925 Author: Lasse Collin <lasse.collin@tukaani.org>
3926 Date: 2011-11-04 17:57:16 +0200
3928 xz: Fix a typo in a comment.
3930 Thanks to Bela Lubkin.
3932 src/xz/args.c | 2 +-
3933 1 file changed, 1 insertion(+), 1 deletion(-)
3935 commit 232fe7cd70ad258d6a37f17e860e0f1b1891eeb5
3936 Author: Lasse Collin <lasse.collin@tukaani.org>
3937 Date: 2011-11-03 17:08:02 +0200
3942 1 file changed, 1 insertion(+)
3944 commit 74d2bae4d3449c68453b0473dd3430ce91fd90c1
3945 Author: Lasse Collin <lasse.collin@tukaani.org>
3946 Date: 2011-11-03 17:07:22 +0200
3948 xz: Fix xz on EBCDIC systems.
3950 Thanks to Chris Donawa.
3952 src/xz/coder.c | 5 ++++-
3953 1 file changed, 4 insertions(+), 1 deletion(-)
3955 commit 4ac4923f47cc0ef97dd9ca5cfcc44fc53eeab34a
3956 Author: Lasse Collin <lasse.collin@tukaani.org>
3957 Date: 2011-10-23 17:09:10 +0300
3962 1 file changed, 1 insertion(+)
3964 commit ab50ae3ef40c81e5bf613905ca3fd636548b75e7
3965 Author: Lasse Collin <lasse.collin@tukaani.org>
3966 Date: 2011-10-23 17:08:14 +0300
3968 liblzma: Fix invalid free() in the threaded encoder.
3970 It was triggered if initialization failed e.g. due to
3971 running out of memory.
3973 Thanks to Arkadiusz Miskiewicz.
3975 src/liblzma/common/outqueue.c | 4 ++++
3976 1 file changed, 4 insertions(+)
3978 commit 6b620a0f0813d28c3c544b4ff8cb595b38a6e908
3979 Author: Lasse Collin <lasse.collin@tukaani.org>
3980 Date: 2011-10-23 17:05:55 +0300
3982 liblzma: Fix a deadlock in the threaded encoder.
3984 It was triggered when reinitializing the encoder,
3985 e.g. when encoding two files.
3987 src/liblzma/common/stream_encoder_mt.c | 4 +++-
3988 1 file changed, 3 insertions(+), 1 deletion(-)
3990 commit bd52cf150ecd51e3ab63a9cc1a3cff6a77500178
3991 Author: Lasse Collin <lasse.collin@tukaani.org>
3992 Date: 2011-09-06 12:03:41 +0300
3994 Build: Fix "make check" on Windows.
3996 tests/Makefile.am | 7 +++++--
3997 windows/build.bash | 2 ++
3998 2 files changed, 7 insertions(+), 2 deletions(-)
4000 commit 5c5b2256969ac473001b7d67615ed3bd0a54cc82
4001 Author: Lasse Collin <lasse.collin@tukaani.org>
4002 Date: 2011-08-09 21:19:13 +0300
4007 1 file changed, 2 insertions(+)
4009 commit 5b1e1f10741af9e4bbe4cfc3261fb7c7b04f7809
4010 Author: Lasse Collin <lasse.collin@tukaani.org>
4011 Date: 2011-08-09 21:16:44 +0300
4013 Workaround unusual SIZE_MAX on SCO OpenServer.
4015 src/common/sysdefs.h | 9 ++++++---
4016 1 file changed, 6 insertions(+), 3 deletions(-)
4018 commit e9ed88126eee86e2511fa42681a5c7104820cf0a
4019 Author: Lasse Collin <lasse.collin@tukaani.org>
4020 Date: 2011-08-06 20:37:28 +0300
4022 Run the scripts with the correct shell in test_scripts.sh.
4024 The scripts are now made executable in the build tree.
4025 This way the scripts can be run like programs in
4026 test_scripts.sh. Previously test_scripts.sh always
4027 used sh but it's not correct if @POSIX_SHELL@ is set
4028 to something else by configure.
4030 Thanks to Jonathan Nieder for the patch.
4032 configure.ac | 8 ++++----
4033 tests/test_scripts.sh | 8 ++++----
4034 2 files changed, 8 insertions(+), 8 deletions(-)
4036 commit 1c673e5681720491a74fc4b2992e075f47302c22
4037 Author: Lasse Collin <lasse.collin@tukaani.org>
4038 Date: 2011-07-31 11:01:47 +0300
4040 Fix exit status of "xzdiff foo.xz bar.xz".
4042 xzdiff was clobbering the exit status from diff in a case
4043 statement used to analyze the exit statuses from "xz" when
4044 its operands were two compressed files. Save and restore
4045 diff's exit status to fix this.
4047 The bug is inherited from zdiff in GNU gzip and was fixed
4048 there on 2009-10-09.
4050 Thanks to Jonathan Nieder for the patch and
4051 to Peter Pallinger for reporting the bug.
4053 src/scripts/xzdiff.in | 2 ++
4054 tests/Makefile.am | 4 +++-
4055 tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
4056 3 files changed, 59 insertions(+), 1 deletion(-)
4058 commit 324cde7a864f4506c32ae7846d688c359a83fe65
4059 Author: Lasse Collin <lasse.collin@tukaani.org>
4060 Date: 2011-06-16 12:15:29 +0300
4062 liblzma: Remove unneeded semicolon.
4064 src/liblzma/lz/lz_encoder_hash.h | 2 +-
4065 1 file changed, 1 insertion(+), 1 deletion(-)
4067 commit 492c86345551a51a29bf18e55fe55a5e86f169ce
4068 Author: Lasse Collin <lasse.collin@tukaani.org>
4069 Date: 2011-05-28 19:24:56 +0300
4071 Build: Make configure print if symbol versioning is enabled or not.
4074 1 file changed, 2 insertions(+)
4076 commit fc4d4436969bd4d71b704d400a165875e596034a
4077 Author: Lasse Collin <lasse.collin@tukaani.org>
4078 Date: 2011-05-28 16:43:26 +0300
4080 Don't call close(-1) in tuklib_open_stdxxx() on error.
4082 Thanks to Jim Meyering.
4084 src/common/tuklib_open_stdxxx.c | 4 +++-
4085 1 file changed, 3 insertions(+), 1 deletion(-)
4087 commit bd35d903a04c4d388adb4065b0fa271302380895
4088 Author: Lasse Collin <lasse.collin@tukaani.org>
4089 Date: 2011-05-28 15:55:39 +0300
4091 liblzma: Use symbol versioning.
4093 Symbol versioning is enabled by default on GNU/Linux,
4094 other GNU-based systems, and FreeBSD.
4096 I'm not sure how stable this is, so it may need
4097 backward-incompatible changes before the next release.
4099 The idea is that alpha and beta symbols are considered
4100 unstable and require recompiling the applications that
4101 use those symbols. Once a symbol is stable, it may get
4102 extended with new features in ways that don't break
4103 compatibility with older ABI & API.
4105 The mydist target runs validate_map.sh which should
4106 catch some probable problems in liblzma.map. Otherwise
4107 I would forget to update the map file for new releases.
4110 configure.ac | 21 +++++++++
4111 src/liblzma/Makefile.am | 6 +++
4112 src/liblzma/liblzma.map | 105 ++++++++++++++++++++++++++++++++++++++++++++
4113 src/liblzma/validate_map.sh | 68 ++++++++++++++++++++++++++++
4114 5 files changed, 201 insertions(+)
4116 commit afbb244362c9426a37ce4eb9d54aab768da3adad
4117 Author: Lasse Collin <lasse.collin@tukaani.org>
4118 Date: 2011-05-28 09:46:46 +0300
4120 Translations: Update the Italian translation.
4122 Thanks to Milo Casagrande.
4124 po/it.po | 365 +++++++++++++++++++++++++++++++++++++--------------------------
4125 1 file changed, 216 insertions(+), 149 deletions(-)
4127 commit 79bef85e0543c0c3723281c3c817616c6cec343b
4128 Author: Lasse Collin <lasse.collin@tukaani.org>
4129 Date: 2011-05-28 08:46:04 +0300
4131 Tests: Add a test file for the bug in the previous commit.
4133 tests/files/README | 4 ++++
4134 tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes
4135 2 files changed, 4 insertions(+)
4137 commit c0297445064951807803457dca1611b3c47e7f0f
4138 Author: Lasse Collin <lasse.collin@tukaani.org>
4139 Date: 2011-05-27 22:25:44 +0300
4141 xz: Fix error handling in xz -lvv.
4143 It could do an invalid free() and read past the end
4144 of the uninitialized filters array.
4146 src/xz/list.c | 21 ++++++---------------
4147 1 file changed, 6 insertions(+), 15 deletions(-)
4149 commit 8bd91918ac50731f00b1a2a48072980572eb2ff9
4150 Author: Lasse Collin <lasse.collin@tukaani.org>
4151 Date: 2011-05-27 22:09:49 +0300
4153 liblzma: Handle allocation failures correctly in lzma_index_init().
4155 Thanks to Jim Meyering.
4157 src/liblzma/common/index.c | 7 +++++--
4158 1 file changed, 5 insertions(+), 2 deletions(-)
4160 commit fe00f95828ef5627721b57e054f7eb2d42a2c961
4161 Author: Lasse Collin <lasse.collin@tukaani.org>
4162 Date: 2011-05-24 00:23:46 +0300
4164 Build: Fix checking for system-provided SHA-256.
4167 1 file changed, 1 insertion(+), 1 deletion(-)
4169 commit 21b45b9bab541f419712cbfd473ccc31802e0397
4170 Author: Lasse Collin <lasse.collin@tukaani.org>
4171 Date: 2011-05-23 18:30:30 +0300
4173 Build: Set GZIP_ENV=-9n in top-level Makefile.am.
4176 1 file changed, 3 insertions(+)
4178 commit 48053e8a4550233af46359024538bff90c870ab1
4179 Author: Lasse Collin <lasse.collin@tukaani.org>
4180 Date: 2011-05-22 16:42:11 +0300
4182 Update NEWS for 5.0.3.
4184 NEWS | 32 ++++++++++++++++++++++++++++++++
4185 1 file changed, 32 insertions(+)
4187 commit bba37df2c9e54ad773e15ff00a09d2d6989fb3b2
4188 Author: Lasse Collin <lasse.collin@tukaani.org>
4189 Date: 2011-05-21 16:28:44 +0300
4191 Add French translation.
4193 It is known that the BCJ filter --help text is only
4194 partially translated.
4197 po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4198 2 files changed, 865 insertions(+)
4200 commit 4161d7634965a7a287bf208dcd79f6185f448fe8
4201 Author: Lasse Collin <lasse.collin@tukaani.org>
4202 Date: 2011-05-21 15:12:10 +0300
4204 xz: Translate also the string used to print the program name.
4206 French needs a space before a colon, e.g. "xz : foo error".
4208 src/xz/message.c | 6 +++++-
4209 1 file changed, 5 insertions(+), 1 deletion(-)
4211 commit b94aa0c8380cdb18cddb33440d625474c16643cf
4212 Author: Lasse Collin <lasse.collin@tukaani.org>
4213 Date: 2011-05-21 15:08:44 +0300
4215 liblzma: Try to use SHA-256 from the operating system.
4217 If the operating system libc or other base libraries
4218 provide SHA-256, use that instead of our own copy.
4219 Note that this doesn't use OpenSSL or libgcrypt or
4220 such libraries to avoid creating dependencies to
4223 This supports at least FreeBSD, NetBSD, OpenBSD, Solaris,
4224 MINIX, and Darwin. They all provide similar but not
4225 identical SHA-256 APIs; everyone is a little different.
4227 Thanks to Wim Lewis for the original patch, improvements,
4230 configure.ac | 54 +++++++++++++++++++++++++++
4231 src/liblzma/check/Makefile.inc | 2 +
4232 src/liblzma/check/check.h | 83 ++++++++++++++++++++++++++++++++++++++----
4233 3 files changed, 131 insertions(+), 8 deletions(-)
4235 commit f004128678d43ea10b4a6401aa184cf83252d6ec
4236 Author: Lasse Collin <lasse.collin@tukaani.org>
4237 Date: 2011-05-17 12:52:18 +0300
4239 Don't use clockid_t in mythread.h when clock_gettime() isn't available.
4241 Thanks to Wim Lewis for the patch.
4243 src/common/mythread.h | 2 ++
4244 1 file changed, 2 insertions(+)
4246 commit f779516f42ebd2db47a5b7d6143459bf7737cf2f
4247 Author: Lasse Collin <lasse.collin@tukaani.org>
4248 Date: 2011-05-17 12:26:28 +0300
4253 1 file changed, 3 insertions(+)
4255 commit 830ba587775bb562f6eaf05cad61bf669d1f8892
4256 Author: Lasse Collin <lasse.collin@tukaani.org>
4257 Date: 2011-05-17 12:21:33 +0300
4259 Update INSTALL with a note about linker problem on OpenSolaris x86.
4261 INSTALL | 23 +++++++++++++++++------
4262 1 file changed, 17 insertions(+), 6 deletions(-)
4264 commit ec7106309c8060e9c646dba20c4f15689a0bbb04
4265 Author: Lasse Collin <lasse.collin@tukaani.org>
4266 Date: 2011-05-17 12:01:37 +0300
4268 Build: Fix initialization of enable_check_* variables in configure.ac.
4270 This doesn't matter much in practice since it is unlikely
4271 that anyone would have such environment variable names.
4273 Thanks to Wim Lewis.
4276 1 file changed, 1 insertion(+), 1 deletion(-)
4278 commit 4c6e146df99696920f12410fb17754412797ef36
4279 Author: Lasse Collin <lasse.collin@tukaani.org>
4280 Date: 2011-05-17 11:54:38 +0300
4282 Add underscores to attributes (__attribute((__foo__))).
4284 src/liblzma/common/alone_decoder.c | 2 +-
4285 src/liblzma/common/alone_encoder.c | 2 +-
4286 src/liblzma/common/block_encoder.c | 2 +-
4287 src/liblzma/common/common.c | 2 +-
4288 src/liblzma/common/common.h | 2 +-
4289 src/liblzma/common/index_decoder.c | 9 +++++----
4290 src/liblzma/common/index_encoder.c | 11 ++++++-----
4291 src/liblzma/delta/delta_encoder.c | 2 +-
4292 src/liblzma/lz/lz_decoder.c | 2 +-
4293 src/liblzma/lz/lz_encoder.c | 2 +-
4294 src/liblzma/simple/arm.c | 2 +-
4295 src/liblzma/simple/armthumb.c | 2 +-
4296 src/liblzma/simple/ia64.c | 2 +-
4297 src/liblzma/simple/powerpc.c | 2 +-
4298 src/liblzma/simple/simple_coder.c | 2 +-
4299 src/liblzma/simple/sparc.c | 2 +-
4300 src/lzmainfo/lzmainfo.c | 4 ++--
4301 src/xz/coder.c | 2 +-
4302 src/xz/hardware.h | 2 +-
4303 src/xz/message.c | 2 +-
4304 src/xz/message.h | 18 +++++++++---------
4305 src/xz/options.c | 6 +++---
4306 src/xz/signals.c | 2 +-
4307 src/xz/util.h | 6 +++---
4308 src/xzdec/xzdec.c | 6 +++---
4309 25 files changed, 49 insertions(+), 47 deletions(-)
4311 commit 7a480e485938884ef3021b48c3b0b9f9699dc9b6
4312 Author: Lasse Collin <lasse.collin@tukaani.org>
4313 Date: 2011-05-01 12:24:23 +0300
4315 xz: Fix input file position when --single-stream is used.
4317 Now the following works as you would expect:
4319 echo foo | xz > foo.xz
4320 echo bar | xz >> foo.xz
4321 ( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz
4323 Note that it doesn't work if the input is not seekable
4324 or if there is Stream Padding between the concatenated
4327 src/xz/coder.c | 1 +
4328 src/xz/file_io.c | 15 +++++++++++++++
4329 src/xz/file_io.h | 13 +++++++++++++
4330 3 files changed, 29 insertions(+)
4332 commit c29e6630c1450c630c4e7b783bdd76515db9004c
4333 Author: Lasse Collin <lasse.collin@tukaani.org>
4334 Date: 2011-05-01 12:15:51 +0300
4336 xz: Print the maximum number of worker threads in xz -vv.
4338 src/xz/coder.c | 4 ++++
4339 1 file changed, 4 insertions(+)
4341 commit 0b77c4a75158ccc416b07d6e81df8ee0abaea720
4342 Author: Lasse Collin <lasse.collin@tukaani.org>
4343 Date: 2011-04-19 10:44:48 +0300
4345 Build: Warn if no supported method to detect the number of CPU cores.
4347 configure.ac | 11 +++++------
4348 1 file changed, 5 insertions(+), 6 deletions(-)
4350 commit e4622df9ab4982f8faa53d85b17be66216175a58
4351 Author: Lasse Collin <lasse.collin@tukaani.org>
4352 Date: 2011-04-19 09:55:06 +0300
4357 1 file changed, 1 insertion(+)
4359 commit 9c1b05828a88eff54409760b92162c7cc2c7cff6
4360 Author: Lasse Collin <lasse.collin@tukaani.org>
4361 Date: 2011-04-19 09:20:44 +0300
4363 Fix portability problems in mythread.h.
4365 Use gettimeofday() if clock_gettime() isn't available
4368 The test for availability of pthread_condattr_setclock()
4369 and CLOCK_MONOTONIC was incorrect. Instead of fixing the
4370 #ifdefs, use an Autoconf test. That way if there exists a
4371 system that supports them but doesn't specify the matching
4372 POSIX #defines, the features will still get detected.
4374 Don't try to use pthread_sigmask() on OpenVMS. It doesn't
4377 Guard mythread.h against being #included multiple times.
4379 configure.ac | 7 +++++++
4380 src/common/mythread.h | 31 +++++++++++++++++++++++++++----
4381 2 files changed, 34 insertions(+), 4 deletions(-)
4383 commit 3de00cc75da7b0e7b65e84c62b5351e231f501e9
4384 Author: Lasse Collin <lasse.collin@tukaani.org>
4385 Date: 2011-04-18 19:35:49 +0300
4390 1 file changed, 2 insertions(+)
4392 commit bd5002f5821e3d1b04f2f56989e4a19318e73633
4393 Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
4394 Date: 2011-04-15 04:54:49 -0400
4396 xzgrep: fix typo in $0 parsing
4398 Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org>
4399 Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
4400 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
4402 src/scripts/xzgrep.in | 4 ++--
4403 1 file changed, 2 insertions(+), 2 deletions(-)
4405 commit 6ef4eabc0acc49e1bb9dc68064706e19fa9fcf48
4406 Author: Lasse Collin <lasse.collin@tukaani.org>
4407 Date: 2011-04-12 12:48:31 +0300
4409 Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99.
4411 src/liblzma/Makefile.am | 2 +-
4412 src/liblzma/api/lzma/version.h | 2 +-
4413 2 files changed, 2 insertions(+), 2 deletions(-)
4415 commit 9a4377be0d21e597c66bad6c7452873aebfb3c1c
4416 Author: Lasse Collin <lasse.collin@tukaani.org>
4417 Date: 2011-04-12 12:42:37 +0300
4419 Put the unstable APIs behind #ifdef LZMA_UNSTABLE.
4421 This way people hopefully won't complain if these APIs
4422 change and break code that used an older API.
4424 src/liblzma/api/lzma/container.h | 4 ++++
4425 src/liblzma/common/common.h | 2 ++
4426 src/xz/private.h | 2 ++
4427 3 files changed, 8 insertions(+)
4429 commit 3e321a3acd50002cf6fdfd259e910f56d3389bc3
4430 Author: Lasse Collin <lasse.collin@tukaani.org>
4431 Date: 2011-04-12 11:59:49 +0300
4433 Remove doubled words from documentation and comments.
4435 Spot candidates by running these commands:
4436 git ls-files |xargs perl -0777 -n \
4437 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \
4438 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}'
4440 Thanks to Jim Meyering for the original patch.
4442 doc/lzma-file-format.txt | 4 ++--
4443 src/liblzma/common/alone_encoder.c | 2 +-
4444 src/liblzma/lzma/lzma2_encoder.c | 2 +-
4445 src/xz/file_io.c | 2 +-
4447 windows/INSTALL-Windows.txt | 2 +-
4448 6 files changed, 7 insertions(+), 7 deletions(-)
4450 commit d91a84b534b012d19474f2fda1fbcaef873e1ba4
4451 Author: Lasse Collin <lasse.collin@tukaani.org>
4452 Date: 2011-04-12 11:46:01 +0300
4456 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++--
4457 1 file changed, 45 insertions(+), 2 deletions(-)
4459 commit 14e6ad8cfe0165c1a8beeb5b2a1536558b29b0a1
4460 Author: Lasse Collin <lasse.collin@tukaani.org>
4461 Date: 2011-04-12 11:45:40 +0300
4465 TODO | 12 +++++++++++-
4466 1 file changed, 11 insertions(+), 1 deletion(-)
4468 commit 70e750f59793f9b5cd306a5adce9b8e427739e04
4469 Author: Lasse Collin <lasse.collin@tukaani.org>
4470 Date: 2011-04-12 11:08:55 +0300
4472 xz: Update the man page about threading.
4474 src/xz/xz.1 | 34 ++++++++++++++++++++--------------
4475 1 file changed, 20 insertions(+), 14 deletions(-)
4477 commit 24e0406c0fb7494d2037dec033686faf1bf67068
4478 Author: Lasse Collin <lasse.collin@tukaani.org>
4479 Date: 2011-04-11 22:06:03 +0300
4481 xz: Add support for threaded compression.
4483 src/xz/args.c | 3 +-
4484 src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++----------------------
4485 2 files changed, 125 insertions(+), 80 deletions(-)
4487 commit de678e0c924aa79a19293a8a6ed82e8cb6572a42
4488 Author: Lasse Collin <lasse.collin@tukaani.org>
4489 Date: 2011-04-11 22:03:30 +0300
4491 liblzma: Add lzma_stream_encoder_mt() for threaded compression.
4493 This is the simplest method to do threading, which splits
4494 the uncompressed data into blocks and compresses them
4495 independently from each other. There's room for improvement
4496 especially to reduce the memory usage, but nevertheless,
4497 this is a good start.
4500 src/liblzma/api/lzma/container.h | 163 +++++
4501 src/liblzma/common/Makefile.inc | 7 +
4502 src/liblzma/common/common.c | 9 +-
4503 src/liblzma/common/common.h | 14 +
4504 src/liblzma/common/outqueue.c | 180 ++++++
4505 src/liblzma/common/outqueue.h | 155 +++++
4506 src/liblzma/common/stream_encoder_mt.c | 1011 ++++++++++++++++++++++++++++++++
4507 8 files changed, 1539 insertions(+), 1 deletion(-)
4509 commit 25fe729532cdf4b8fed56a4519b73cf31efaec50
4510 Author: Lasse Collin <lasse.collin@tukaani.org>
4511 Date: 2011-04-11 21:15:07 +0300
4513 liblzma: Add the forgotten lzma_lzma2_block_size().
4515 This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a.
4517 src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++
4518 src/liblzma/lzma/lzma2_encoder.h | 2 ++
4519 2 files changed, 12 insertions(+)
4521 commit 91afb785a1dee34862078d9bf844ef12b8cc3e35
4522 Author: Lasse Collin <lasse.collin@tukaani.org>
4523 Date: 2011-04-11 21:04:13 +0300
4525 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
4527 src/liblzma/api/lzma/container.h | 9 +++++++++
4528 1 file changed, 9 insertions(+)
4530 commit 4a9905302a9e4a1601ae09d650d3f08ce98ae9ee
4531 Author: Lasse Collin <lasse.collin@tukaani.org>
4532 Date: 2011-04-11 20:59:07 +0300
4534 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
4536 It didn't mention the return value that is used if
4539 src/liblzma/api/lzma/filter.h | 8 ++++++--
4540 1 file changed, 6 insertions(+), 2 deletions(-)
4542 commit 0badb0b1bd649163322783b0bd9e590b4bc7a93d
4543 Author: Lasse Collin <lasse.collin@tukaani.org>
4544 Date: 2011-04-11 19:28:18 +0300
4546 liblzma: Use memzero() to initialize supported_actions[].
4548 This is cleaner and makes it simpler to add new members
4549 to lzma_action enumeration.
4551 src/liblzma/common/common.c | 6 ++----
4552 1 file changed, 2 insertions(+), 4 deletions(-)
4554 commit a7934c446a58e20268689899d2a39f50e571f251
4555 Author: Lasse Collin <lasse.collin@tukaani.org>
4556 Date: 2011-04-11 19:26:27 +0300
4558 liblzma: API comment about lzma_allocator with threaded coding.
4560 src/liblzma/api/lzma/base.h | 18 +++++++++++++-----
4561 1 file changed, 13 insertions(+), 5 deletions(-)
4563 commit 5eefc0086d24a65e136352f8c1d19cefb0cbac7a
4564 Author: Lasse Collin <lasse.collin@tukaani.org>
4565 Date: 2011-04-11 19:16:30 +0300
4567 liblzma: Add an internal function lzma_mt_block_size().
4569 This is based lzma_chunk_size() that was included in some
4570 development version of liblzma.
4572 src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++-------------------
4573 src/liblzma/common/filter_encoder.h | 4 ++--
4574 2 files changed, 24 insertions(+), 26 deletions(-)
4576 commit d1199274758049fc523d98c5b860ff814a799eec
4577 Author: Lasse Collin <lasse.collin@tukaani.org>
4578 Date: 2011-04-11 13:59:50 +0300
4580 liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
4582 Empty Block was created if the input buffer was empty.
4583 Empty Block wastes a few bytes of space, but more importantly
4584 it triggers a bug in XZ Utils 5.0.1 and older when trying
4585 to decompress such a file. 5.0.1 and older consider such
4586 files to be corrupt. I thought that no encoder creates empty
4587 Blocks when releasing 5.0.2 but I was wrong.
4589 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++-------
4590 1 file changed, 13 insertions(+), 7 deletions(-)
4592 commit 3b22fc2c87ec85fcdd385c163b68fc49c97aa848
4593 Author: Lasse Collin <lasse.collin@tukaani.org>
4594 Date: 2011-04-11 13:28:40 +0300
4596 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
4598 This return value was missing from the API comments of
4601 src/liblzma/api/lzma/block.h | 1 +
4602 src/liblzma/api/lzma/container.h | 3 +++
4603 2 files changed, 4 insertions(+)
4605 commit 71b9380145dccf001f22e66a06b9d508905c25ce
4606 Author: Lasse Collin <lasse.collin@tukaani.org>
4607 Date: 2011-04-11 13:21:28 +0300
4609 liblzma: Validate encoder arguments better.
4611 The biggest problem was that the integrity check type
4612 wasn't validated, and e.g. lzma_easy_buffer_encode()
4613 would create a corrupt .xz Stream if given an unsupported
4614 Check ID. Luckily applications don't usually try to use
4615 an unsupport Check ID, so this bug is unlikely to cause
4616 many real-world problems.
4618 src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------
4619 src/liblzma/common/block_encoder.c | 5 +++++
4620 src/liblzma/common/stream_buffer_encoder.c | 3 +++
4621 3 files changed, 20 insertions(+), 6 deletions(-)
4623 commit ec7e3dbad704268825fc48f0bdd4577bc46b4f13
4624 Author: Lasse Collin <lasse.collin@tukaani.org>
4625 Date: 2011-04-11 09:57:30 +0300
4627 xz: Move the description of --block-size in --long-help.
4629 src/xz/message.c | 8 ++++----
4630 1 file changed, 4 insertions(+), 4 deletions(-)
4632 commit cd3086ff443bb282bdf556919c28b3e3cbed8169
4633 Author: Lasse Collin <lasse.collin@tukaani.org>
4634 Date: 2011-04-11 09:55:35 +0300
4636 Docs: Document --single-stream and --block-size.
4638 src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++--
4639 1 file changed, 36 insertions(+), 2 deletions(-)
4641 commit fb64a4924334e3c440865710990fe08090f2fed0
4642 Author: Lasse Collin <lasse.collin@tukaani.org>
4643 Date: 2011-04-11 09:27:57 +0300
4645 liblzma: Make lzma_stream_encoder_init() static (second try).
4647 It's an internal function and it's not needed by
4648 anything outside stream_encoder.c.
4650 src/liblzma/common/Makefile.inc | 1 -
4651 src/liblzma/common/easy_encoder.c | 1 -
4652 src/liblzma/common/stream_encoder.c | 13 ++++++-------
4653 src/liblzma/common/stream_encoder.h | 23 -----------------------
4654 4 files changed, 6 insertions(+), 32 deletions(-)
4656 commit a34730cf6af4d33a4057914e57227b6dfde6567e
4657 Author: Lasse Collin <lasse.collin@tukaani.org>
4658 Date: 2011-04-11 08:31:42 +0300
4660 Revert "liblzma: Make lzma_stream_encoder_init() static."
4662 This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7.
4663 I don't know what I was thinking.
4665 src/liblzma/common/Makefile.inc | 1 +
4666 src/liblzma/common/stream_encoder.c | 9 +++++----
4667 src/liblzma/common/stream_encoder.h | 23 +++++++++++++++++++++++
4668 3 files changed, 29 insertions(+), 4 deletions(-)
4670 commit 9f0a806aef7ea79718e3f1f2baf3564295229a27
4671 Author: Lasse Collin <lasse.collin@tukaani.org>
4672 Date: 2011-04-10 21:23:21 +0300
4678 - mythread_sync() macro to create synchronized blocks
4680 - mythread_cond structure and related functions
4681 and macros for condition variables with timed
4682 waiting using a relative timeout
4684 - mythread_create() to create a thread with all
4687 Some of these wouldn't need to be inline functions,
4688 but I'll keep them this way for now for simplicity.
4690 For timed waiting on a condition variable, librt is
4691 now required on some systems to use clock_gettime().
4692 configure.ac was updated to handle this.
4695 src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++-----
4696 2 files changed, 181 insertions(+), 20 deletions(-)
4698 commit 352ac82db5d3f64585c07b39e4759388dec0e4d7
4699 Author: Lasse Collin <lasse.collin@tukaani.org>
4700 Date: 2011-04-10 20:37:36 +0300
4702 liblzma: Make lzma_stream_encoder_init() static.
4704 It's an internal function and it's not needed by
4705 anything outside stream_encoder.c.
4707 src/liblzma/common/Makefile.inc | 1 -
4708 src/liblzma/common/stream_encoder.c | 9 ++++-----
4709 src/liblzma/common/stream_encoder.h | 23 -----------------------
4710 3 files changed, 4 insertions(+), 29 deletions(-)
4712 commit 9e807fe3fe79618ac48f58207cf7082ea20a6928
4713 Author: Lasse Collin <lasse.collin@tukaani.org>
4714 Date: 2011-04-10 14:58:10 +0300
4716 DOS: Update the docs and include notes about 8.3 filenames.
4718 dos/{README => INSTALL.txt} | 13 +----
4719 dos/README.txt | 123 ++++++++++++++++++++++++++++++++++++++++++++
4720 2 files changed, 125 insertions(+), 11 deletions(-)
4722 commit ebd54dbd6e481d31e80757f900ac8109ad1423c6
4723 Author: Lasse Collin <lasse.collin@tukaani.org>
4724 Date: 2011-04-10 13:09:42 +0300
4726 xz/DOS: Add experimental 8.3 filename support.
4728 This is incompatible with the 8.3 support patch made by
4729 Juan Manuel Guerrero. I think this one is nicer, but
4730 I need to get feedback from DOS users before saying
4731 that this is the final version of 8.3 filename support.
4733 src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
4734 1 file changed, 167 insertions(+), 9 deletions(-)
4736 commit cd4fe97852bcaeffe674ee51b4613709292a0972
4737 Author: Lasse Collin <lasse.collin@tukaani.org>
4738 Date: 2011-04-10 12:47:47 +0300
4740 xz/DOS: Be more careful with the destination file.
4742 Try to avoid overwriting the source file if --force is
4743 used and the generated destination filename refers to
4744 the source file. This can happen with 8.3 filenames where
4745 extra characters are ignored.
4747 If the generated output file refers to a special file
4748 like "con" or "prn", refuse to write to it even if --force
4751 src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++--
4752 1 file changed, 33 insertions(+), 2 deletions(-)
4754 commit 607f9f98ae5ef6d49f4c21c806d462bf6b3d6796
4755 Author: Lasse Collin <lasse.collin@tukaani.org>
4756 Date: 2011-04-09 18:29:30 +0300
4761 1 file changed, 1 insertion(+)
4763 commit fca396b37410d272b754843a5dc13847be443a3a
4764 Author: Lasse Collin <lasse.collin@tukaani.org>
4765 Date: 2011-04-09 18:28:58 +0300
4767 liblzma: Add missing #ifdefs to filter_common.c.
4769 Passing --disable-decoders to configure broke a few
4770 encoders due to missing #ifdefs in filter_common.c.
4772 Thanks to Jason Gorski for the patch.
4774 src/liblzma/common/filter_common.c | 6 +++---
4775 1 file changed, 3 insertions(+), 3 deletions(-)
4777 commit b03f6cd3ebadd675f2cc9d518cb26fa860269447
4778 Author: Lasse Collin <lasse.collin@tukaani.org>
4779 Date: 2011-04-09 15:24:59 +0300
4781 xz: Avoid unneeded fstat() on DOS-like systems.
4783 src/xz/file_io.c | 14 ++++++++------
4784 1 file changed, 8 insertions(+), 6 deletions(-)
4786 commit 335fe260a81f61ec99ff5940df733b4c50aedb7c
4787 Author: Lasse Collin <lasse.collin@tukaani.org>
4788 Date: 2011-04-09 15:11:13 +0300
4790 xz: Minor internal changes to handling of --threads.
4792 Now it always defaults to one thread. Maybe this
4793 will change again if a threading method is added
4794 that doesn't affect memory usage.
4796 src/xz/args.c | 4 ++--
4797 src/xz/hardware.c | 24 ++++++++++++------------
4798 src/xz/hardware.h | 9 ++++-----
4799 3 files changed, 18 insertions(+), 19 deletions(-)
4801 commit 9edd6ee895fbe71d245a173f48e511f154a99875
4802 Author: Lasse Collin <lasse.collin@tukaani.org>
4803 Date: 2011-04-08 17:53:05 +0300
4805 xz: Change size_t to uint32_t in a few places.
4807 src/xz/coder.c | 6 +++---
4808 src/xz/coder.h | 2 +-
4809 2 files changed, 4 insertions(+), 4 deletions(-)
4811 commit 411013ea4506a6df24d35a060fcbd73a57b73eb3
4812 Author: Lasse Collin <lasse.collin@tukaani.org>
4813 Date: 2011-04-08 17:48:41 +0300
4815 xz: Fix a typo in a comment.
4817 src/xz/coder.c | 2 +-
4818 1 file changed, 1 insertion(+), 1 deletion(-)
4820 commit b34c5ce4b22e8d7b81f9895d15054af41d17f805
4821 Author: Lasse Collin <lasse.collin@tukaani.org>
4822 Date: 2011-04-05 22:41:33 +0300
4824 liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c.
4826 src/liblzma/check/sha256.c | 6 +++---
4827 1 file changed, 3 insertions(+), 3 deletions(-)
4829 commit db33117cc85c17e0b897b5312bd5eb43aac41c03
4830 Author: Lasse Collin <lasse.collin@tukaani.org>
4831 Date: 2011-04-05 17:12:20 +0300
4833 Build: Upgrade m4/acx_pthread.m4 to the latest version.
4835 It was renamed to ax_pthread.m4 in Autoconf Archive.
4838 m4/{acx_pthread.m4 => ax_pthread.m4} | 170 ++++++++++++++++++-----------------
4839 2 files changed, 88 insertions(+), 84 deletions(-)
4841 commit 1039bfcfc098b69d56ecb39d198a092552eacf6d
4842 Author: Lasse Collin <lasse.collin@tukaani.org>
4843 Date: 2011-04-05 15:27:26 +0300
4845 xz: Use posix_fadvise() if it is available.
4847 configure.ac | 3 +++
4848 src/xz/file_io.c | 15 +++++++++++++++
4849 2 files changed, 18 insertions(+)
4851 commit 1ef3cf44a8eb9512480af4482a5232ea08363b14
4852 Author: Lasse Collin <lasse.collin@tukaani.org>
4853 Date: 2011-04-05 15:13:29 +0300
4855 xz: Call lzma_end(&strm) before exiting if debugging is enabled.
4857 src/xz/coder.c | 10 ++++++++++
4858 src/xz/coder.h | 5 +++++
4859 src/xz/main.c | 4 ++++
4860 3 files changed, 19 insertions(+)
4862 commit bd432015d33dcade611d297bc01eb0700088ef6c
4863 Author: Lasse Collin <lasse.collin@tukaani.org>
4864 Date: 2011-04-02 14:49:56 +0300
4866 liblzma: Fix a memory leak in stream_encoder.c.
4868 It leaks old filter options structures (hundred bytes or so)
4869 every time the lzma_stream is reinitialized. With the xz tool,
4870 this happens when compressing multiple files.
4872 src/liblzma/common/stream_encoder.c | 2 +-
4873 1 file changed, 1 insertion(+), 1 deletion(-)
4875 commit 16889013214e7620d204b6e6c1bf9f3103a13655
4876 Author: Lasse Collin <lasse.collin@tukaani.org>
4877 Date: 2011-04-01 08:47:20 +0300
4879 Updated NEWS for 5.0.2.
4881 NEWS | 18 ++++++++++++++++++
4882 1 file changed, 18 insertions(+)
4884 commit 85cdf7dd4e97b078e7b929e47f55a7f1da36010f
4885 Author: Lasse Collin <lasse.collin@tukaani.org>
4886 Date: 2011-03-31 15:06:58 +0300
4888 Update INSTALL with another note about IRIX.
4891 1 file changed, 4 insertions(+)
4893 commit c3f4995586873d6a4fb7e451010a128571a9a370
4894 Author: Lasse Collin <lasse.collin@tukaani.org>
4895 Date: 2011-03-31 12:22:55 +0300
4897 Tests: Add a new file to test empty LZMA2 streams.
4899 tests/files/README | 4 ++++
4900 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes
4901 2 files changed, 4 insertions(+)
4903 commit 0d21f49a809dc2088da6cc0da7f948404df7ecfa
4904 Author: Lasse Collin <lasse.collin@tukaani.org>
4905 Date: 2011-03-31 11:54:48 +0300
4907 liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
4909 The decoder considered empty LZMA2 streams to be corrupt.
4910 This shouldn't matter much with .xz files, because no encoder
4911 creates empty LZMA2 streams in .xz. This bug is more likely
4912 to cause problems in applications that use raw LZMA2 streams.
4914 src/liblzma/lzma/lzma2_decoder.c | 8 ++++----
4915 1 file changed, 4 insertions(+), 4 deletions(-)
4917 commit 40277998cb9bad564ce4827aff152e6e1c904dfa
4918 Author: Lasse Collin <lasse.collin@tukaani.org>
4919 Date: 2011-03-24 01:42:49 +0200
4921 Scripts: Better fix for xzgrep.
4923 Now it uses "grep -q".
4925 Thanks to Gregory Margo.
4927 src/scripts/xzgrep.in | 8 ++++++--
4928 1 file changed, 6 insertions(+), 2 deletions(-)
4930 commit 2118733045ad0ca183a3f181a0399baf876983a6
4931 Author: Lasse Collin <lasse.collin@tukaani.org>
4932 Date: 2011-03-24 01:22:18 +0200
4937 1 file changed, 1 insertion(+)
4939 commit c7210d9a3fca6f31a57208bfddfc9ab20a2e097a
4940 Author: Lasse Collin <lasse.collin@tukaani.org>
4941 Date: 2011-03-24 01:21:32 +0200
4943 Scripts: Fix xzgrep -l.
4945 It didn't work at all. It tried to use the -q option
4946 for grep, but it appended it after "--". This works
4947 around it by redirecting to /dev/null. The downside
4948 is that this can be slower with big files compared
4949 to proper use of "grep -q".
4951 Thanks to Gregory Margo.
4953 src/scripts/xzgrep.in | 4 ++--
4954 1 file changed, 2 insertions(+), 2 deletions(-)
4956 commit 4eb83e32046a6d670862bc91c3d82530963b455e
4957 Author: Lasse Collin <lasse.collin@tukaani.org>
4958 Date: 2011-03-19 13:08:22 +0200
4960 Scripts: Add lzop (.lzo) support to xzdiff and xzgrep.
4962 src/scripts/xzdiff.1 | 6 ++++--
4963 src/scripts/xzdiff.in | 22 ++++++++++++++--------
4964 src/scripts/xzgrep.1 | 11 +++++++----
4965 src/scripts/xzgrep.in | 5 +++--
4966 4 files changed, 28 insertions(+), 16 deletions(-)
4968 commit 923b22483bd9356f3219b2b784d96f455f4dc499
4969 Author: Lasse Collin <lasse.collin@tukaani.org>
4970 Date: 2011-03-18 19:10:30 +0200
4972 xz: Add --block-size=SIZE.
4974 This uses LZMA_FULL_FLUSH every SIZE bytes of input.
4976 Man page wasn't updated yet.
4978 src/xz/args.c | 7 +++++++
4979 src/xz/coder.c | 50 ++++++++++++++++++++++++++++++++++++++++----------
4980 src/xz/coder.h | 3 +++
4981 src/xz/message.c | 4 ++++
4982 4 files changed, 54 insertions(+), 10 deletions(-)
4984 commit 57597d42ca1740ad506437be168d800a50f1a0ad
4985 Author: Lasse Collin <lasse.collin@tukaani.org>
4986 Date: 2011-03-18 18:19:19 +0200
4988 xz: Add --single-stream.
4990 This can be useful when there is garbage after the
4991 compressed stream (.xz, .lzma, or raw stream).
4993 Man page wasn't updated yet.
4995 src/xz/args.c | 6 ++++++
4996 src/xz/coder.c | 11 +++++++++--
4997 src/xz/coder.h | 3 +++
4998 src/xz/message.c | 6 +++++-
4999 4 files changed, 23 insertions(+), 3 deletions(-)
5001 commit 96f94bc925d579a700147fa5d7793b64d69cfc18
5002 Author: Lasse Collin <lasse.collin@tukaani.org>
5003 Date: 2011-02-04 22:49:31 +0200
5005 xz: Clean up suffix.c.
5007 struct suffix_pair isn't needed in compresed_name()
5008 so get rid of it there.
5010 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------
5011 1 file changed, 20 insertions(+), 24 deletions(-)
5013 commit 8930c7ae3f82bdae15aa129f01de08be23d7e8d7
5014 Author: Lasse Collin <lasse.collin@tukaani.org>
5015 Date: 2011-02-04 11:29:47 +0200
5017 xz: Check if the file already has custom suffix when compressing.
5019 Now "xz -S .test foo.test" refuses to compress the
5020 file because it already has the suffix .test. The man
5021 page had it documented this way already.
5023 src/xz/suffix.c | 9 +++++++++
5024 1 file changed, 9 insertions(+)
5026 commit 940d5852c6cf08abccc6befd9d1b5411c9076a58
5027 Author: Lasse Collin <lasse.collin@tukaani.org>
5028 Date: 2011-02-02 23:01:51 +0200
5033 1 file changed, 1 insertion(+)
5035 commit 4ebe65f839613f27f127bab7b8c347d982330ee3
5036 Author: Lasse Collin <lasse.collin@tukaani.org>
5037 Date: 2011-02-02 23:00:33 +0200
5039 Translations: Add Polish translation.
5041 Thanks to Jakub Bogusz.
5044 po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5045 2 files changed, 826 insertions(+)
5047 commit fc1d292dca1925dfd17174f443f91a696ecd5bf8
5048 Author: Lasse Collin <lasse.collin@tukaani.org>
5049 Date: 2011-02-02 22:24:00 +0200
5054 1 file changed, 1 insertion(+)
5056 commit 6dd061adfd2775428b079eb03d6fd47d7c0f1ffe
5057 Merge: 9d542ce 5fbce0b
5058 Author: Lasse Collin <lasse.collin@tukaani.org>
5059 Date: 2011-02-06 20:13:01 +0200
5061 Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d'
5063 commit 5fbce0b8d96dc96775aa0215e3581addc830e23d
5064 Author: Lasse Collin <lasse.collin@tukaani.org>
5065 Date: 2011-01-28 20:16:57 +0200
5067 Update NEWS for 5.0.1.
5069 NEWS | 14 ++++++++++++++
5070 1 file changed, 14 insertions(+)
5072 commit 03ebd1bbb314f9f204940219a835c883bf442475
5073 Author: Lasse Collin <lasse.collin@tukaani.org>
5074 Date: 2011-01-26 12:19:08 +0200
5076 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
5078 xz didn't compress setuid/setgid/sticky files and files
5079 with multiple hard links even with --force. This bug was
5080 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4.
5082 Thanks to Charles Wilson.
5084 src/xz/file_io.c | 15 +++++++--------
5085 1 file changed, 7 insertions(+), 8 deletions(-)
5087 commit 9d542ceebcbe40b174169c132ccfcdc720ca7089
5088 Merge: 4f2c69a 7bd0a5e
5089 Author: Lasse Collin <lasse.collin@tukaani.org>
5090 Date: 2011-01-19 11:45:35 +0200
5094 commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136
5095 Author: Lasse Collin <lasse.collin@tukaani.org>
5096 Date: 2011-01-18 21:25:24 +0200
5101 1 file changed, 1 insertion(+)
5103 commit f71c4e16e913f660977526f0ef8d2acdf458d7c9
5104 Author: Lasse Collin <lasse.collin@tukaani.org>
5105 Date: 2011-01-18 21:23:50 +0200
5107 Add alloc_size and malloc attributes to a few functions.
5109 Thanks to Cristian Rodríguez for the original patch.
5111 src/common/sysdefs.h | 6 ++++++
5112 src/liblzma/common/common.h | 2 +-
5113 src/xz/util.h | 5 +++--
5114 3 files changed, 10 insertions(+), 3 deletions(-)
5116 commit 316cbe24465143edde8f6ffb7532834b7b2ea93f
5117 Author: Lasse Collin <lasse.collin@tukaani.org>
5118 Date: 2010-12-13 16:36:33 +0200
5120 Scripts: Fix gzip and bzip2 support in xzdiff.
5122 src/scripts/xzdiff.in | 12 ++++++------
5123 1 file changed, 6 insertions(+), 6 deletions(-)
5125 commit 4f2c69a4e3e0aee2e37b0b1671d34086e20c8ac6
5126 Merge: adb89e6 9311774
5127 Author: Lasse Collin <lasse.collin@tukaani.org>
5128 Date: 2010-12-12 23:13:22 +0200
5132 commit 9311774c493c19deab51ded919dcd2e9c4aa2829
5133 Author: Lasse Collin <lasse.collin@tukaani.org>
5134 Date: 2010-12-12 21:23:55 +0200
5136 Build: Enable ASM on DJGPP by default.
5139 1 file changed, 1 insertion(+), 1 deletion(-)
5141 commit 4a42aaee282fc73b482581684d65110506d5efdd
5142 Author: Lasse Collin <lasse.collin@tukaani.org>
5143 Date: 2010-12-12 16:09:42 +0200
5148 1 file changed, 1 insertion(+)
5150 commit ce56f63c41ee210e6308090eb6d49221fdf67d6c
5151 Author: Lasse Collin <lasse.collin@tukaani.org>
5152 Date: 2010-12-12 16:07:11 +0200
5154 Add missing PRIx32 and PRIx64 compatibility definitions.
5156 This fixes portability to systems that lack C99 inttypes.h.
5158 Thanks to Juan Manuel Guerrero.
5160 src/common/sysdefs.h | 9 +++++++++
5161 1 file changed, 9 insertions(+)
5163 commit e6baedddcf54e7da049ebc49183565b99facd4c7
5164 Author: Lasse Collin <lasse.collin@tukaani.org>
5165 Date: 2010-12-12 14:50:04 +0200
5167 DOS-like: Treat \ and : as directory separators in addition to /.
5169 Juan Manuel Guerrero had fixed this in his XZ Utils port
5170 to DOS/DJGPP. The bug affects also Windows and OS/2.
5172 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++----
5173 1 file changed, 29 insertions(+), 4 deletions(-)
5175 commit adb89e68d43a4cadb0c215b45ef7a75737c9c3ec
5176 Merge: 7c24e0d b7afd3e
5177 Author: Lasse Collin <lasse.collin@tukaani.org>
5178 Date: 2010-12-07 18:53:04 +0200
5182 commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f
5183 Author: Lasse Collin <lasse.collin@tukaani.org>
5184 Date: 2010-12-07 18:52:04 +0200
5186 Translations: Fix Czech translation of "sparse file".
5188 Thanks to Petr Hubený and Marek Černocký.
5190 po/cs.po | 88 ++++++++++++++++++++++++++++++++--------------------------------
5191 1 file changed, 44 insertions(+), 44 deletions(-)
5193 commit 7c24e0d1b8a2e86e9263b0d56d39621e01aed7af
5194 Merge: b4d42f1 3e56470
5195 Author: Lasse Collin <lasse.collin@tukaani.org>
5196 Date: 2010-11-15 14:33:01 +0200
5200 commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e
5201 Author: Lasse Collin <lasse.collin@tukaani.org>
5202 Date: 2010-11-15 14:28:26 +0200
5204 liblzma: Document the return value of lzma_lzma_preset().
5206 src/liblzma/api/lzma/lzma.h | 3 +++
5207 1 file changed, 3 insertions(+)
5209 commit 2964d8d691ed92abdcf214888d79ad6d79774735
5210 Author: Jonathan Nieder <jrnieder@gmail.com>
5211 Date: 2010-11-12 15:22:13 -0600
5213 Simplify paths in generated API docs
5215 Currently the file list generated by Doxygen has src/ at the
5216 beginning of each path. Paths like common/sysdefs.h and
5217 liblzma/api/lzma.h are easier to read without such a prefix.
5219 Builds from a separate build directory with
5226 include an even longer prefix /home/someone/src/xz/src; this
5227 patch has the nice side-effect of eliminating that prefix, too.
5229 Fixes: http://bugs.debian.org/572273
5232 1 file changed, 1 insertion(+), 1 deletion(-)
5234 commit b4d42f1a7120e2cefeb2f14425efe2ca6db85416
5235 Author: Anders F Bjorklund <afb@users.sourceforge.net>
5236 Date: 2010-11-05 12:56:11 +0100
5238 add build script for macosx universal
5240 macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5241 1 file changed, 92 insertions(+)
5243 commit 15ee6935abe4a2fc76639ee342ca2e69af3e0ad6
5244 Author: Lasse Collin <lasse.collin@tukaani.org>
5245 Date: 2010-11-04 18:31:40 +0200
5247 Update the copies of GPLv2 and LGPLv2.1 from gnu.org.
5249 There are only a few white space changes.
5251 COPYING.GPLv2 | 14 +++++++-------
5252 COPYING.LGPLv2.1 | 16 +++++++---------
5253 2 files changed, 14 insertions(+), 16 deletions(-)
5255 commit 8e355f7fdbeee6fe394eb02a28f267ce99a882a2
5256 Merge: 974ebe6 37c2565
5257 Author: Lasse Collin <lasse.collin@tukaani.org>
5258 Date: 2010-10-26 15:53:06 +0300
5262 commit 37c25658efd25b034266daf87cd381d20d1df776
5263 Author: Lasse Collin <lasse.collin@tukaani.org>
5264 Date: 2010-10-26 15:48:48 +0300
5266 Build: Copy the example programs to $docdir/examples.
5268 The example programs by Daniel Mealha Cabrita were included
5269 in the git repository, but I had forgot to add them to
5270 Makefile.am. Thus, they didn't get included in the source
5271 package at all by "make dist".
5273 Makefile.am | 5 +++++
5274 windows/build.bash | 3 ++-
5275 2 files changed, 7 insertions(+), 1 deletion(-)
5277 commit 974ebe63497bdf0d262e06474f0dd5a70b1dd000
5278 Author: Lasse Collin <lasse.collin@tukaani.org>
5279 Date: 2010-10-26 10:36:41 +0300
5281 liblzma: Rename a few variables and constants.
5283 This has no semantic changes. I find the new names slightly
5284 more logical and they match the names that are already used
5287 The name fastpos wasn't changed (not worth the hassle).
5289 src/liblzma/lzma/fastpos.h | 55 +++++------
5290 src/liblzma/lzma/lzma2_encoder.c | 2 +-
5291 src/liblzma/lzma/lzma_common.h | 45 ++++-----
5292 src/liblzma/lzma/lzma_decoder.c | 58 +++++------
5293 src/liblzma/lzma/lzma_encoder.c | 56 +++++------
5294 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 9 +-
5295 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 128 ++++++++++++-------------
5296 src/liblzma/lzma/lzma_encoder_private.h | 16 ++--
5297 8 files changed, 183 insertions(+), 186 deletions(-)
5299 commit 7c427ec38d016c0070a42315d752857e33792fc4
5300 Author: Lasse Collin <lasse.collin@tukaani.org>
5301 Date: 2010-10-25 12:59:25 +0300
5303 Bump version 5.1.0alpha.
5305 src/liblzma/api/lzma/version.h | 4 ++--
5306 1 file changed, 2 insertions(+), 2 deletions(-)
5308 commit e45929260cd902036efd40c5610a8d0a50d5712b
5309 Author: Lasse Collin <lasse.collin@tukaani.org>
5310 Date: 2010-10-23 17:25:52 +0300
5312 Build: Fix mydist rule when .git doesn't exist.
5315 1 file changed, 1 insertion(+)
5317 commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168
5318 Author: Lasse Collin <lasse.collin@tukaani.org>
5319 Date: 2010-10-23 14:15:35 +0300
5323 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5324 1 file changed, 62 insertions(+)
5326 commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c
5327 Author: Lasse Collin <lasse.collin@tukaani.org>
5328 Date: 2010-10-23 14:02:53 +0300
5330 Bump version to 5.0.0 and liblzma version-info to 5:0:0.
5332 src/liblzma/Makefile.am | 2 +-
5333 src/liblzma/api/lzma/version.h | 8 ++++----
5334 2 files changed, 5 insertions(+), 5 deletions(-)
5336 commit 8c947e9291691629714dafb4536c718b6cc24fbd
5337 Author: Lasse Collin <lasse.collin@tukaani.org>
5338 Date: 2010-10-23 12:30:54 +0300
5340 liblzma: Make lzma_code() check the reserved members in lzma_stream.
5342 If any of the reserved members in lzma_stream are non-zero
5343 or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible
5344 that a new feature in the future is indicated by just setting
5345 a reserved member to some other value, so the old liblzma
5346 version need to catch it as an unsupported feature.
5348 src/liblzma/common/common.c | 14 ++++++++++++++
5349 1 file changed, 14 insertions(+)
5351 commit e61d85e082743ebd2dd0ff28fc0a82482ede0538
5352 Author: Lasse Collin <lasse.collin@tukaani.org>
5353 Date: 2010-10-23 12:26:33 +0300
5355 Windows: Use MinGW's stdio functions.
5357 The non-standard ones from msvcrt.dll appear to work
5358 most of the time with XZ Utils, but there are some
5359 corner cases where things may go very wrong. So it's
5360 good to use the better replacements provided by
5361 MinGW(-w64) runtime.
5363 src/common/sysdefs.h | 5 +++++
5364 1 file changed, 5 insertions(+)
5366 commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc
5367 Author: Lasse Collin <lasse.collin@tukaani.org>
5368 Date: 2010-10-23 12:21:32 +0300
5370 liblzma: Use 512 as INDEX_GROUP_SIZE.
5372 This lets compiler use shifting instead of 64-bit division.
5374 src/liblzma/common/index.c | 2 +-
5375 1 file changed, 1 insertion(+), 1 deletion(-)
5377 commit 613939fc82603b75b59eee840871a05bc8dd08e0
5378 Author: Lasse Collin <lasse.collin@tukaani.org>
5379 Date: 2010-10-23 12:20:11 +0300
5381 liblzma: A few ABI tweaks to reserve space in structures.
5383 src/liblzma/api/lzma/base.h | 7 ++++++-
5384 src/liblzma/api/lzma/lzma.h | 4 ++--
5385 src/liblzma/api/lzma/stream_flags.h | 4 ----
5386 3 files changed, 8 insertions(+), 7 deletions(-)
5388 commit 68b83f252df3d27480a9f6f03445d16f6506fef1
5389 Author: Lasse Collin <lasse.collin@tukaani.org>
5390 Date: 2010-10-21 23:16:11 +0300
5392 xz: Make sure that message_strm() can never return NULL.
5394 src/xz/message.c | 7 +++++--
5395 1 file changed, 5 insertions(+), 2 deletions(-)
5397 commit d09c5753e33ff96ee57edb6d1e98e34041203695
5398 Author: Lasse Collin <lasse.collin@tukaani.org>
5399 Date: 2010-10-21 23:06:31 +0300
5401 liblzma: Update the comments in the API headers.
5403 Adding support for LZMA_FINISH for Index encoding and
5404 decoding needed tiny additions to the relevant .c files too.
5406 src/liblzma/api/lzma.h | 4 +--
5407 src/liblzma/api/lzma/base.h | 38 +++++++++++++--------------
5408 src/liblzma/api/lzma/bcj.h | 4 +--
5409 src/liblzma/api/lzma/block.h | 4 +--
5410 src/liblzma/api/lzma/container.h | 26 ++++++++++++-------
5411 src/liblzma/api/lzma/filter.h | 51 ++++++++++++++++++-------------------
5412 src/liblzma/api/lzma/hardware.h | 3 +--
5413 src/liblzma/api/lzma/index.h | 28 ++++++++++++--------
5414 src/liblzma/api/lzma/index_hash.h | 2 +-
5415 src/liblzma/api/lzma/lzma.h | 46 ++++++++++++++++++++++-----------
5416 src/liblzma/api/lzma/stream_flags.h | 4 +--
5417 src/liblzma/api/lzma/vli.h | 31 +++++++++++-----------
5418 src/liblzma/common/index_decoder.c | 1 +
5419 src/liblzma/common/index_encoder.c | 1 +
5420 14 files changed, 136 insertions(+), 107 deletions(-)
5422 commit 33c1c0e102eb529588503b8beea0903a45488fad
5423 Author: Lasse Collin <lasse.collin@tukaani.org>
5424 Date: 2010-10-19 12:08:30 +0300
5426 Update INSTALL.generic.
5428 INSTALL.generic | 99 ++++++++++++++++++++++++++++++++++++++++++++++-----------
5429 1 file changed, 81 insertions(+), 18 deletions(-)
5431 commit 0076e03641f201c4b77dddd5a6db5880be19a78c
5432 Author: Lasse Collin <lasse.collin@tukaani.org>
5433 Date: 2010-10-19 11:44:37 +0300
5435 Clean up a few FIXMEs and TODOs.
5437 lzma_chunk_size() was commented out because it is
5440 src/liblzma/common/filter_encoder.c | 2 ++
5441 src/liblzma/common/filter_encoder.h | 4 ++--
5442 src/liblzma/lzma/lzma2_decoder.c | 1 -
5443 src/liblzma/lzma/lzma_decoder.c | 4 ++--
5444 src/liblzma/lzma/lzma_encoder.c | 2 +-
5445 src/xz/message.h | 2 +-
5446 6 files changed, 8 insertions(+), 7 deletions(-)
5448 commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9
5449 Author: Lasse Collin <lasse.collin@tukaani.org>
5450 Date: 2010-10-19 10:21:08 +0300
5454 INSTALL | 192 +++++++++++++++++++++++++++++++++++++++++--------------------
5455 PACKAGERS | 104 +++++++++------------------------
5458 4 files changed, 172 insertions(+), 143 deletions(-)
5460 commit f0fa880d247e73264d2c04fe31fb3412318a0026
5461 Author: Lasse Collin <lasse.collin@tukaani.org>
5462 Date: 2010-10-12 15:13:30 +0300
5464 xz: Avoid raise() also on OpenVMS.
5466 This is similar to DOS/DJGPP that killing the program
5467 with a signal will print a backtrace or a similar message.
5469 src/xz/signals.c | 2 +-
5470 1 file changed, 1 insertion(+), 1 deletion(-)
5472 commit ac462b1c47c451f5c62e428306314c4bdad8ae7f
5473 Author: Lasse Collin <lasse.collin@tukaani.org>
5474 Date: 2010-10-11 21:26:19 +0300
5476 xz: Avoid SA_RESTART for portability reasons.
5478 SA_RESTART is not as portable as I had hoped. It's missing
5479 at least from OpenVMS, QNX, and DJGPP). Luckily we can do
5480 fine without SA_RESTART.
5482 src/xz/message.c | 38 +++++++++++++++-----------------------
5483 src/xz/message.h | 4 ++++
5484 src/xz/signals.c | 6 ++++++
5485 3 files changed, 25 insertions(+), 23 deletions(-)
5487 commit d52b411716a614c202e89ba732492efb9916cd3f
5488 Author: Lasse Collin <lasse.collin@tukaani.org>
5489 Date: 2010-10-10 17:58:58 +0300
5491 xz: Use "%"PRIu32 instead of "%d" in a format string.
5493 src/xz/message.c | 2 +-
5494 1 file changed, 1 insertion(+), 1 deletion(-)
5496 commit ae74d1bdeb075c3beefe76e1136c5741804e7e91
5497 Author: Lasse Collin <lasse.collin@tukaani.org>
5498 Date: 2010-10-10 17:43:26 +0300
5500 test_files.sh: Fix the first line.
5502 For some reason this prevented running the test only
5503 on OS/2 and even on that it broke only recently.
5505 Thanks to Elbert Pol.
5507 tests/test_files.sh | 2 +-
5508 1 file changed, 1 insertion(+), 1 deletion(-)
5510 commit d492b80ddd6f9a13419de6d102df7374d8f448e8
5511 Author: Lasse Collin <lasse.collin@tukaani.org>
5512 Date: 2010-10-10 16:49:01 +0300
5514 lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t.
5516 src/lzmainfo/lzmainfo.c | 2 +-
5517 1 file changed, 1 insertion(+), 1 deletion(-)
5519 commit 825e859a9054bd91202e5723c41a17e72f63040a
5520 Author: Lasse Collin <lasse.collin@tukaani.org>
5521 Date: 2010-10-10 16:47:01 +0300
5523 lzmainfo: Use fileno(stdin) instead of STDIN_FILENO.
5525 src/lzmainfo/lzmainfo.c | 2 +-
5526 1 file changed, 1 insertion(+), 1 deletion(-)
5528 commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8
5529 Author: Lasse Collin <lasse.collin@tukaani.org>
5530 Date: 2010-10-09 23:20:51 +0300
5532 lzmainfo: Use setmode() on DOS-like systems.
5534 src/lzmainfo/lzmainfo.c | 9 +++++++++
5535 1 file changed, 9 insertions(+)
5537 commit ef364d3abc5647111c5424ea0d83a567e184a23b
5538 Author: Lasse Collin <lasse.collin@tukaani.org>
5539 Date: 2010-10-09 21:51:03 +0300
5541 OS/2 and DOS: Be less verbose on signals.
5543 Calling raise() to kill xz when user has pressed C-c
5544 is a bit verbose on OS/2 and DOS/DJGPP. Instead of
5545 calling raise(), set only the exit status to 1.
5547 src/xz/signals.c | 7 +++++++
5548 1 file changed, 7 insertions(+)
5550 commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a
5551 Author: Lasse Collin <lasse.collin@tukaani.org>
5552 Date: 2010-10-09 19:28:49 +0300
5554 DOS: Update the Makefile, config.h and README.
5556 This is now simpler and builds only xz.exe.
5558 dos/Makefile | 211 +++++++++++++++--------------------------------------------
5559 dos/README | 73 +++++++--------------
5560 dos/config.h | 45 ++++---------
5561 3 files changed, 86 insertions(+), 243 deletions(-)
5563 commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac
5564 Author: Lasse Collin <lasse.collin@tukaani.org>
5565 Date: 2010-10-09 18:57:55 +0300
5567 Windows: Put some license info into README-Windows.txt.
5569 windows/README-Windows.txt | 8 ++++----
5570 1 file changed, 4 insertions(+), 4 deletions(-)
5572 commit e75100f549f85d231df25c07aa94d63e78e2d668
5573 Author: Lasse Collin <lasse.collin@tukaani.org>
5574 Date: 2010-10-09 18:57:04 +0300
5576 Windows: Fix a diagnostics bug in build.bash.
5578 windows/build.bash | 2 +-
5579 1 file changed, 1 insertion(+), 1 deletion(-)
5581 commit efeb998a2b1025df1c1d202cc7d21d866cd1c336
5582 Author: Lasse Collin <lasse.collin@tukaani.org>
5583 Date: 2010-10-09 13:02:15 +0300
5585 lzmainfo: Add Windows resource file.
5587 src/lzmainfo/Makefile.am | 9 +++++++++
5588 src/lzmainfo/lzmainfo_w32res.rc | 12 ++++++++++++
5589 2 files changed, 21 insertions(+)
5591 commit 389d418445f1623593dfdbba55d52fbb6d1205f5
5592 Author: Lasse Collin <lasse.collin@tukaani.org>
5593 Date: 2010-10-09 12:57:25 +0300
5595 Add missing public domain notice to lzmadec_w32res.rc.
5597 src/xzdec/lzmadec_w32res.rc | 7 +++++++
5598 1 file changed, 7 insertions(+)
5600 commit 6389c773a4912dd9f111256d74ba1605230a7957
5601 Author: Lasse Collin <lasse.collin@tukaani.org>
5602 Date: 2010-10-09 12:52:12 +0300
5604 Windows: Update common_w32res.rc.
5606 src/common/common_w32res.rc | 9 +++------
5607 1 file changed, 3 insertions(+), 6 deletions(-)
5609 commit 71275457ca24c9b01721f5cfc3638cf094daf454
5610 Author: Lasse Collin <lasse.collin@tukaani.org>
5611 Date: 2010-10-09 12:27:08 +0300
5613 Windows: Make build.bash prefer MinGW-w32 over MinGW.
5615 This is simply for licensing reasons. The 64-bit version
5616 will be built with MinGW-w64 anyway (at least for now),
5617 so using it also for 32-bit build allows using the same
5618 copyright notice about the MinGW-w64/w32 runtime.
5620 Note that using MinGW would require a copyright notice too,
5621 because its runtime is not in the public domain either even
5622 though MinGW's home page claims that it is public domain.
5623 See <http://marc.info/?l=mingw-users&m=126489506214078>.
5625 windows/build.bash | 18 +++++++++---------
5626 1 file changed, 9 insertions(+), 9 deletions(-)
5628 commit 3ac35719d8433af937af6491383d4a50e343099b
5629 Author: Lasse Collin <lasse.collin@tukaani.org>
5630 Date: 2010-10-09 11:33:21 +0300
5632 Windows: Copy COPYING-Windows.txt (if it exists) to the package.
5634 Also, put README-Windows.txt to the doc directory like
5635 the other documentation files.
5637 windows/build.bash | 14 ++++++++++++--
5638 1 file changed, 12 insertions(+), 2 deletions(-)
5640 commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae
5641 Author: Lasse Collin <lasse.collin@tukaani.org>
5642 Date: 2010-10-08 21:42:37 +0300
5644 Windows: Fix build.bash again.
5646 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good.
5648 windows/build.bash | 7 ++++---
5649 1 file changed, 4 insertions(+), 3 deletions(-)
5651 commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd
5652 Author: Lasse Collin <lasse.collin@tukaani.org>
5653 Date: 2010-10-08 16:53:20 +0300
5655 Use LZMA_VERSION_STRING instead of PACKAGE_VERSION.
5657 Those are the same thing, and the former makes it a bit
5658 easier to build the code with other build systems, because
5659 one doesn't need to update the version number into custom
5662 This change affects only lzmainfo. Other tools were already
5663 using LZMA_VERSION_STRING.
5665 src/lzmainfo/lzmainfo.c | 2 +-
5666 1 file changed, 1 insertion(+), 1 deletion(-)
5668 commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f
5669 Author: Lasse Collin <lasse.collin@tukaani.org>
5670 Date: 2010-10-08 15:59:25 +0300
5672 configure.ac: Remove two unused defines.
5674 configure.ac | 4 ----
5675 1 file changed, 4 deletions(-)
5677 commit 11f51b6714357cb67ec7e56ed9575c199b5581fe
5678 Author: Lasse Collin <lasse.collin@tukaani.org>
5679 Date: 2010-10-08 15:32:29 +0300
5681 Make tests accommodate missing xz or xzdec.
5683 tests/test_compress.sh | 47 ++++++++++++++++++++++++++++++-----------------
5684 tests/test_files.sh | 28 ++++++++++++++++++++++++++--
5685 2 files changed, 56 insertions(+), 19 deletions(-)
5687 commit b1c7368f95e93ccdefdd0748e04398c26766f47f
5688 Author: Lasse Collin <lasse.collin@tukaani.org>
5689 Date: 2010-10-08 15:25:45 +0300
5691 Build: Add options to disable individual command line tools.
5693 configure.ac | 38 ++++++++++++++++++++++++++++++
5694 src/Makefile.am | 15 +++++++++++-
5695 src/scripts/Makefile.am | 62 +++++++++++++++++++++----------------------------
5696 src/xz/Makefile.am | 6 ++++-
5697 src/xzdec/Makefile.am | 12 ++++++++--
5698 5 files changed, 93 insertions(+), 40 deletions(-)
5700 commit 630a8beda34af0ac153c8051b1bf01230558e422
5701 Author: Lasse Collin <lasse.collin@tukaani.org>
5702 Date: 2010-10-07 00:44:53 +0300
5704 Windows: Make build.bash work without --enable-dynamic=no.
5706 windows/build.bash | 4 ++--
5707 1 file changed, 2 insertions(+), 2 deletions(-)
5709 commit f9907503f882a745dce9d84c2968f6c175ba966a
5710 Author: Lasse Collin <lasse.collin@tukaani.org>
5711 Date: 2010-10-05 14:13:16 +0300
5713 Build: Remove the static/dynamic tricks.
5715 Most distros want xz linked against shared liblzma, so
5716 it doesn't help much to require --enable-dynamic for that.
5717 Those who want to avoid PIC on x86-32 to get better
5718 performance, can still do it e.g. by using --disable-shared
5719 to compile xz and then another pass to compile shared liblzma.
5721 Part of these static/dynamic tricks were needed for Windows
5722 in the past. Nowadays we rely on GCC and binutils to do the
5723 right thing with auto-import. If the Autotooled build system
5724 needs to support some other toolchain on Windows in the future,
5725 this may need some rethinking.
5727 configure.ac | 74 ------------------------------------------------
5728 debug/Makefile.am | 5 +---
5729 src/lzmainfo/Makefile.am | 4 +--
5730 src/xz/Makefile.am | 4 +--
5731 src/xzdec/Makefile.am | 4 +--
5732 tests/Makefile.am | 5 +---
5733 6 files changed, 5 insertions(+), 91 deletions(-)
5735 commit fda4724d8114fccfa31c1839c15479f350c2fb4c
5736 Author: Lasse Collin <lasse.collin@tukaani.org>
5737 Date: 2010-10-05 12:18:58 +0300
5739 configure.ac: Silence a warning from Autoconf 2.68.
5742 1 file changed, 1 insertion(+), 1 deletion(-)
5744 commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9
5745 Author: Lasse Collin <lasse.collin@tukaani.org>
5746 Date: 2010-10-04 19:43:01 +0300
5748 A few more languages files to the xz man page.
5750 Thanks to Jonathan Nieder.
5752 src/xz/xz.1 | 45 ++++++++++++++++++++++++---------------------
5753 1 file changed, 24 insertions(+), 21 deletions(-)
5755 commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb
5756 Author: Lasse Collin <lasse.collin@tukaani.org>
5757 Date: 2010-10-02 12:07:33 +0300
5761 doc/faq.txt | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
5762 1 file changed, 100 insertions(+), 4 deletions(-)
5764 commit 61ae593661e8dc402394e84d567ca2044a51572b
5765 Author: Lasse Collin <lasse.collin@tukaani.org>
5766 Date: 2010-10-02 11:38:20 +0300
5768 liblzma: Small fixes to comments in the API headers.
5770 src/liblzma/api/lzma/lzma.h | 10 +++++++---
5771 1 file changed, 7 insertions(+), 3 deletions(-)
5773 commit 9166682dc601fd42c1b9510572e3f917d18de504
5774 Author: Lasse Collin <lasse.collin@tukaani.org>
5775 Date: 2010-09-28 11:40:12 +0300
5777 Create the PDF versions of the man pages better.
5779 Makefile.am | 14 +++++++------
5780 build-aux/manconv.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
5781 2 files changed, 66 insertions(+), 6 deletions(-)
5783 commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8
5784 Author: Lasse Collin <lasse.collin@tukaani.org>
5785 Date: 2010-09-28 10:59:53 +0300
5787 Move version.sh to build-aux.
5789 Makefile.am | 4 ++--
5790 version.sh => build-aux/version.sh | 0
5792 windows/build.bash | 2 +-
5793 4 files changed, 4 insertions(+), 4 deletions(-)
5795 commit 84af9d8770451339a692e9b70f96cf56156a6069
5796 Author: Lasse Collin <lasse.collin@tukaani.org>
5797 Date: 2010-09-28 10:53:02 +0300
5801 .gitignore | 10 +++++++++-
5802 1 file changed, 9 insertions(+), 1 deletion(-)
5804 commit 31575a449ac64c523da3bab8d0c0b522cdc7c780
5805 Author: Lasse Collin <lasse.collin@tukaani.org>
5806 Date: 2010-09-28 01:17:14 +0300
5808 Fix accomodate -> accommodate on the xz man page.
5811 1 file changed, 1 insertion(+), 1 deletion(-)
5813 commit cec0ddc8ec4ce81685a51998b978e22167e461f9
5814 Author: Lasse Collin <lasse.collin@tukaani.org>
5815 Date: 2010-09-27 23:29:34 +0300
5817 Major man page updates.
5819 Lots of content was updated on the xz man page.
5821 Technical improvements:
5822 - Start a new sentence on a new line.
5823 - Use fairly short lines.
5824 - Use constant-width font for examples (where supported).
5825 - Some minor cleanups.
5827 Thanks to Jonathan Nieder for some language fixes.
5829 src/lzmainfo/lzmainfo.1 | 25 +-
5830 src/scripts/xzdiff.1 | 15 +-
5831 src/scripts/xzgrep.1 | 11 +-
5832 src/scripts/xzless.1 | 13 +-
5833 src/scripts/xzmore.1 | 9 +-
5834 src/xz/xz.1 | 1964 ++++++++++++++++++++++++++++++++---------------
5835 src/xzdec/xzdec.1 | 39 +-
5836 7 files changed, 1435 insertions(+), 641 deletions(-)
5838 commit 075257ab0416a0603be930082e31a5703e4ba345
5839 Author: Lasse Collin <lasse.collin@tukaani.org>
5840 Date: 2010-09-26 18:10:31 +0300
5844 depth=0 was missing.
5846 src/liblzma/lzma/lzma_encoder_presets.c | 1 +
5847 1 file changed, 1 insertion(+)
5849 commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1
5850 Author: Lasse Collin <lasse.collin@tukaani.org>
5851 Date: 2010-09-23 14:03:10 +0300
5853 Add translations.bash and translation notes to README.
5855 translations.bash prints some messages from xz, which
5856 hopefully makes it a bit easier to test translations.
5858 README | 96 +++++++++++++++++++++++++++++++++++++++++++++--
5859 debug/translation.bash | 100 +++++++++++++++++++++++++++++++++++++++++++++++++
5860 2 files changed, 192 insertions(+), 4 deletions(-)
5862 commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23
5863 Author: Lasse Collin <lasse.collin@tukaani.org>
5864 Date: 2010-09-17 22:14:30 +0300
5866 xz: Update the Czech translation.
5868 Thanks to Marek Černocký.
5870 po/cs.po | 202 +++++++++++++++++++++++++++++++++++++++++----------------------
5871 1 file changed, 131 insertions(+), 71 deletions(-)
5873 commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6
5874 Author: Lasse Collin <lasse.collin@tukaani.org>
5875 Date: 2010-09-16 23:40:41 +0300
5877 xz: Add Italian translation.
5879 Thanks to Milo Casagrande and Lorenzo De Liso.
5883 po/it.po | 902 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5884 3 files changed, 905 insertions(+)
5886 commit 21088018554e2b0e02914205377ceb6e34a090bd
5887 Author: Lasse Collin <lasse.collin@tukaani.org>
5888 Date: 2010-09-15 00:34:13 +0300
5890 xz: Edit a translators comment.
5892 src/xz/list.c | 2 +-
5893 1 file changed, 1 insertion(+), 1 deletion(-)
5895 commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6
5896 Author: Lasse Collin <lasse.collin@tukaani.org>
5897 Date: 2010-09-14 22:47:14 +0300
5899 xz: Add German translation.
5901 Thanks to Andre Noll.
5905 po/de.po | 903 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5906 3 files changed, 905 insertions(+)
5908 commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b
5909 Author: Lasse Collin <lasse.collin@tukaani.org>
5910 Date: 2010-09-10 14:30:25 +0300
5915 1 file changed, 2 deletions(-)
5917 commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71
5918 Author: Lasse Collin <lasse.collin@tukaani.org>
5919 Date: 2010-09-10 14:30:07 +0300
5924 1 file changed, 4 insertions(+), 3 deletions(-)
5926 commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2
5927 Author: Lasse Collin <lasse.collin@tukaani.org>
5928 Date: 2010-09-10 14:26:20 +0300
5930 Updated the git repository address in ChangeLog.
5933 1 file changed, 1 insertion(+), 1 deletion(-)
5935 commit a8760203f93a69bc39fd14520a6e9e7b7d70be06
5936 Author: Lasse Collin <lasse.collin@tukaani.org>
5937 Date: 2010-09-10 14:09:33 +0300
5939 xz: Add a comment to translators about "literal context bits".
5941 src/xz/message.c | 4 ++++
5942 1 file changed, 4 insertions(+)
5944 commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5
5945 Author: Lasse Collin <lasse.collin@tukaani.org>
5946 Date: 2010-09-10 10:30:33 +0300
5950 The code assumed that printing numbers with thousand separators
5951 and decimal points would always produce only US-ASCII characters.
5952 This was used for buffer sizes (with snprintf(), no overflows)
5953 and aligning columns of the progress indicator and --list. That
5954 assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so
5955 multibyte character support was added in this commit. The old
5956 way is used if the operating system doesn't have enough multibyte
5957 support (e.g. lacks wcwidth()).
5959 The sizes of buffers were increased to accomodate multibyte
5960 characters. I don't know how big they should be exactly, but
5961 they aren't used for anything critical, so it's not too bad.
5962 If they still aren't big enough, I hopefully get a bug report.
5963 snprintf() takes care of avoiding buffer overflows.
5965 Some static buffers were replaced with buffers allocated on
5966 stack. double_to_str() was removed. uint64_to_str() and
5967 uint64_to_nicestr() now share the static buffer and test
5968 for thousand separator support.
5970 Integrity check names "None" and "Unknown-N" (2 <= N <= 15)
5971 were marked to be translated. I had forgot these, plus they
5972 wouldn't have worked correctly anyway before this commit,
5973 because printing tables with multibyte strings didn't work.
5975 Thanks to Marek Černocký for reporting the bug about
5976 misaligned table columns in --list output.
5979 m4/tuklib_mbstr.m4 | 30 ++++++
5980 src/common/tuklib_mbstr.h | 66 +++++++++++++
5981 src/common/tuklib_mbstr_fw.c | 31 ++++++
5982 src/common/tuklib_mbstr_width.c | 64 +++++++++++++
5983 src/xz/Makefile.am | 4 +-
5984 src/xz/list.c | 205 +++++++++++++++++++++++++++-------------
5985 src/xz/message.c | 56 +++++++----
5986 src/xz/message.h | 10 +-
5987 src/xz/private.h | 1 +
5988 src/xz/util.c | 136 +++++++++-----------------
5989 src/xz/util.h | 7 --
5990 12 files changed, 424 insertions(+), 187 deletions(-)
5992 commit 639f8e2af33cf8a184d59ba56b6df7c098679d61
5993 Author: Lasse Collin <lasse.collin@tukaani.org>
5994 Date: 2010-09-08 08:49:22 +0300
5996 Update the Czech translation.
5998 Thanks to Marek Černocký.
6000 po/cs.po | 655 +++++++++++++++++++++++++++++++++++++++++++--------------------
6001 1 file changed, 454 insertions(+), 201 deletions(-)
6003 commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7
6004 Author: Lasse Collin <lasse.collin@tukaani.org>
6005 Date: 2010-09-07 12:31:40 +0300
6007 xz: Add a note to translators.
6009 src/xz/hardware.c | 2 ++
6010 1 file changed, 2 insertions(+)
6012 commit 77a7746616e555fc08028e883a56d06bf0088b81
6013 Author: Lasse Collin <lasse.collin@tukaani.org>
6014 Date: 2010-09-07 10:42:13 +0300
6016 Fix use of N_() and ngettext().
6018 I had somehow thought that N_() is usually used
6019 as shorthand for ngettext().
6021 This also fixes a missing \n from a call to ngettext().
6023 src/common/tuklib_gettext.h | 4 ++--
6024 src/xz/list.c | 4 ++--
6025 2 files changed, 4 insertions(+), 4 deletions(-)
6027 commit e6ad39335842343e622ab51207d1d3cb9caad801
6028 Author: Lasse Collin <lasse.collin@tukaani.org>
6029 Date: 2010-09-06 19:43:12 +0300
6031 Add missing files to POTFILES.in.
6033 po/POTFILES.in | 3 +++
6034 1 file changed, 3 insertions(+)
6036 commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30
6037 Author: Lasse Collin <lasse.collin@tukaani.org>
6038 Date: 2010-09-06 10:16:24 +0300
6040 xz: Improve a comment.
6042 src/xz/file_io.c | 7 ++++---
6043 1 file changed, 4 insertions(+), 3 deletions(-)
6045 commit bcb1b898341f7073f51660d7052d7ed6c5461a66
6046 Author: Lasse Collin <lasse.collin@tukaani.org>
6047 Date: 2010-09-05 21:34:29 +0300
6049 xz: Update the comment about NetBSD in file_io.c.
6051 Thanks to Joerg Sonnenberger.
6053 src/xz/file_io.c | 8 ++++----
6054 1 file changed, 4 insertions(+), 4 deletions(-)
6056 commit da014d55972f5addbf6b4360d3d8ed2ef4282170
6057 Author: Lasse Collin <lasse.collin@tukaani.org>
6058 Date: 2010-09-05 21:11:33 +0300
6060 xz: Use an array instead of pointer for stdin_filename.
6062 Thanks Joerg Sonnenberger.
6064 src/xz/args.c | 2 +-
6065 src/xz/args.h | 2 +-
6066 2 files changed, 2 insertions(+), 2 deletions(-)
6068 commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee
6069 Author: Lasse Collin <lasse.collin@tukaani.org>
6070 Date: 2010-09-05 12:16:17 +0300
6072 xz: Hopefully ease translating the messages in list.c.
6074 src/xz/list.c | 33 +++++++++++++++++++++++----------
6075 1 file changed, 23 insertions(+), 10 deletions(-)
6077 commit ef840950ad99cf2955c754875af0e01acf125079
6078 Author: Lasse Collin <lasse.collin@tukaani.org>
6079 Date: 2010-09-04 23:14:44 +0300
6083 src/xz/options.c | 3 +--
6084 1 file changed, 1 insertion(+), 2 deletions(-)
6086 commit c46afd6edc04ea140db6c59e8486f5707c810c13
6087 Author: Lasse Collin <lasse.collin@tukaani.org>
6088 Date: 2010-09-04 23:12:20 +0300
6090 xz: Use lzma_lzma_preset() to initialize the options structure.
6092 src/xz/options.c | 14 ++------------
6093 1 file changed, 2 insertions(+), 12 deletions(-)
6095 commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065
6096 Author: Lasse Collin <lasse.collin@tukaani.org>
6097 Date: 2010-09-04 22:16:28 +0300
6099 Don't set lc=4 with --extreme.
6101 This should reduce the cases where --extreme makes
6102 compression worse. On the other hand, some other
6103 files may now benefit slightly less from --extreme.
6105 src/liblzma/lzma/lzma_encoder_presets.c | 1 -
6106 1 file changed, 1 deletion(-)
6108 commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b
6109 Author: Lasse Collin <lasse.collin@tukaani.org>
6110 Date: 2010-09-04 22:10:32 +0300
6112 xz: Minor improvements to --help and --long-help.
6114 src/xz/message.c | 24 ++++++++++++------------
6115 1 file changed, 12 insertions(+), 12 deletions(-)
6117 commit 373ee26f955617295c5c537b04a153a1969140d2
6118 Author: Jonathan Nieder <jrnieder@gmail.com>
6119 Date: 2010-09-03 16:49:15 -0500
6121 Adjust memory limits in test_compress.sh
6123 Testing compression at level -4 now requires 48 MiB of free store at
6124 compression time and 5 MiB at decompression time.
6126 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
6128 tests/test_compress.sh | 2 +-
6129 1 file changed, 1 insertion(+), 1 deletion(-)
6131 commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087
6132 Author: Lasse Collin <lasse.collin@tukaani.org>
6133 Date: 2010-09-03 15:54:40 +0300
6135 xz: Make -vv show also decompressor memory usage.
6137 src/xz/coder.c | 7 +++++++
6138 1 file changed, 7 insertions(+)
6140 commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6
6141 Author: Lasse Collin <lasse.collin@tukaani.org>
6142 Date: 2010-09-03 15:13:12 +0300
6144 Tweak the compression presets -0 .. -5.
6146 "Extreme" mode might need some further tweaking still.
6147 Docs were not updated yet.
6149 src/liblzma/lzma/lzma_encoder_presets.c | 29 +++++++++++++++++++----------
6150 1 file changed, 19 insertions(+), 10 deletions(-)
6152 commit 77fe5954cd3d10fb1837372684cbc133b56b6a87
6153 Author: Lasse Collin <lasse.collin@tukaani.org>
6154 Date: 2010-09-03 12:28:41 +0300
6156 liblzma: Adjust default depth calculation for HC3 and HC4.
6158 It was 8 + nice_len / 4, now it is 4 + nice_len / 4.
6159 This allows faster settings at lower nice_len values,
6160 even though it seems that I won't use automatic depth
6161 calcuation with HC3 and HC4 in the presets.
6163 src/liblzma/lz/lz_encoder.c | 7 ++++---
6164 1 file changed, 4 insertions(+), 3 deletions(-)
6166 commit fce69059cf901ce8075a78c7607d591f144a3b5a
6167 Author: Lasse Collin <lasse.collin@tukaani.org>
6168 Date: 2010-09-03 11:11:25 +0300
6170 xz: Make --help two lines shorter.
6172 At least for now, the --help option doesn't list any
6173 options that take arguments, so "Mandatory arguments to..."
6176 src/xz/message.c | 7 +++++--
6177 1 file changed, 5 insertions(+), 2 deletions(-)
6179 commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298
6180 Author: Lasse Collin <lasse.collin@tukaani.org>
6181 Date: 2010-09-02 19:22:35 +0300
6183 xz: Make setting a preset override a custom filter chain.
6185 This is more logical behavior than ignoring preset level
6186 options once a custom filter chain has been specified.
6188 src/xz/coder.c | 9 +++++++++
6189 1 file changed, 9 insertions(+)
6191 commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3
6192 Author: Lasse Collin <lasse.collin@tukaani.org>
6193 Date: 2010-09-02 19:09:57 +0300
6195 xz: Always warn if adjusting dictionary size due to memlimit.
6197 src/xz/coder.c | 28 +++++++++-------------------
6198 1 file changed, 9 insertions(+), 19 deletions(-)
6200 commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d
6201 Author: Lasse Collin <lasse.collin@tukaani.org>
6202 Date: 2010-08-10 11:04:30 +0300
6204 Fix test_compress.sh.
6206 It broke when --memory option was removed from xzdec.
6208 Thanks to Jonathan Nieder.
6210 tests/test_compress.sh | 6 +++---
6211 1 file changed, 3 insertions(+), 3 deletions(-)
6213 commit 792331bdee706aa852a78b171040ebf814c6f3ae
6214 Author: Lasse Collin <lasse.collin@tukaani.org>
6215 Date: 2010-08-07 20:45:18 +0300
6217 Disable the memory usage limiter by default.
6219 For several people, the limiter causes bigger problems that
6220 it solves, so it is better to have it disabled by default.
6221 Those who want to have a limiter by default need to enable
6222 it via the environment variable XZ_DEFAULTS.
6224 Support for environment variable XZ_DEFAULTS was added. It is
6225 parsed before XZ_OPT and technically identical with it. The
6226 intended uses differ quite a bit though; see the man page.
6228 The memory usage limit can now be set separately for
6229 compression and decompression using --memlimit-compress and
6230 --memlimit-decompress. To set both at once, -M or --memlimit
6231 can be used. --memory was retained as a legacy alias for
6232 --memlimit for backwards compatibility.
6234 The semantics of --info-memory were changed in backwards
6235 incompatible way. Compatibility wasn't meaningful due to
6236 changes in the memory usage limiter functionality.
6238 The memory usage limiter info is no longer shown at the
6239 bottom of xz --long -help.
6241 The memory usage limiter support for removed completely from xzdec.
6243 xz's man page was updated to match the above changes. Various
6244 unrelated fixes were also made to the man page.
6246 src/xz/args.c | 87 +++++++++-----
6247 src/xz/coder.c | 8 +-
6248 src/xz/hardware.c | 96 +++++++++------
6249 src/xz/hardware.h | 23 ++--
6250 src/xz/list.c | 2 +-
6251 src/xz/message.c | 39 ++-----
6252 src/xz/message.h | 4 -
6253 src/xz/xz.1 | 341 ++++++++++++++++++++++++++++++++++--------------------
6254 src/xzdec/xzdec.1 | 45 +------
6255 src/xzdec/xzdec.c | 176 +---------------------------
6256 10 files changed, 373 insertions(+), 448 deletions(-)
6258 commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801
6259 Author: Lasse Collin <lasse.collin@tukaani.org>
6260 Date: 2010-08-06 20:22:16 +0300
6262 Add missing const to a global constant in xz.
6264 src/xz/args.c | 2 +-
6265 src/xz/args.h | 2 +-
6266 2 files changed, 2 insertions(+), 2 deletions(-)
6268 commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f
6269 Author: Lasse Collin <lasse.collin@tukaani.org>
6270 Date: 2010-07-28 11:44:55 +0300
6272 Language fixes for man pages.
6274 Thanks to A. Costa and Jonathan Nieder.
6276 src/lzmainfo/lzmainfo.1 | 4 ++--
6277 src/xz/xz.1 | 6 +++---
6278 2 files changed, 5 insertions(+), 5 deletions(-)
6280 commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b
6281 Author: Lasse Collin <lasse.collin@tukaani.org>
6282 Date: 2010-07-27 20:47:12 +0300
6284 Windows: Add a note about building a Git repository snapshot
6286 windows/INSTALL-Windows.txt | 9 +++++++++
6287 1 file changed, 9 insertions(+)
6289 commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38
6290 Author: Lasse Collin <lasse.collin@tukaani.org>
6291 Date: 2010-07-27 20:45:03 +0300
6293 Windows: build.sh is a bash script so name it correctly.
6296 windows/INSTALL-Windows.txt | 6 +++---
6297 windows/{build.sh => build.bash} | 6 +++---
6298 3 files changed, 7 insertions(+), 7 deletions(-)
6300 commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339
6301 Author: Lasse Collin <lasse.collin@tukaani.org>
6302 Date: 2010-07-27 20:27:32 +0300
6304 Windows: Don't strip liblzma.a too much.
6306 windows/build.sh | 3 ++-
6307 1 file changed, 2 insertions(+), 1 deletion(-)
6309 commit a540198ffb25fad36380c5e92ac20c2d28eec46a
6310 Author: Lasse Collin <lasse.collin@tukaani.org>
6311 Date: 2010-07-13 20:07:26 +0300
6316 1 file changed, 1 insertion(+)
6318 commit bab0f01ed931f606b4675aa9f9331a17cec09bad
6319 Author: Lasse Collin <lasse.collin@tukaani.org>
6320 Date: 2010-07-13 19:55:50 +0300
6322 Add two simple example programs.
6324 Hopefully these help a bit when learning the basics
6325 of liblzma API. I plan to write detailed examples about
6326 both basic and advanced features with lots of comments,
6327 but these two examples are good have right now.
6329 The examples were written by Daniel Mealha Cabrita. Thanks.
6331 doc/examples/xz_pipe_comp.c | 127 ++++++++++++++++++++++++++++++++++++++++++
6332 doc/examples/xz_pipe_decomp.c | 115 ++++++++++++++++++++++++++++++++++++++
6333 2 files changed, 242 insertions(+)
6335 commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00
6336 Author: Lasse Collin <lasse.collin@tukaani.org>
6337 Date: 2010-06-15 14:06:29 +0300
6341 src/xz/args.c | 6 ++++++
6342 src/xz/coder.c | 8 ++------
6343 src/xz/coder.h | 4 ++++
6344 src/xz/message.c | 6 +++++-
6345 src/xz/xz.1 | 13 +++++++++++--
6346 5 files changed, 28 insertions(+), 9 deletions(-)
6348 commit 2130926dd1c839280358172dfadd8d3054bde2b4
6349 Author: Lasse Collin <lasse.collin@tukaani.org>
6350 Date: 2010-06-11 21:51:32 +0300
6355 1 file changed, 1 insertion(+)
6357 commit bc612d0e0c9e4504c59d49168e87a7ae3e458443
6358 Author: Lasse Collin <lasse.collin@tukaani.org>
6359 Date: 2010-06-11 21:48:32 +0300
6361 Clarify the description of the default memlimit in the man page.
6363 Thanks to Denis Excoffier.
6365 src/xz/xz.1 | 4 ++--
6366 1 file changed, 2 insertions(+), 2 deletions(-)
6368 commit e1b6935d60a00405e6b5b455a3426d2248cc926c
6369 Author: Lasse Collin <lasse.collin@tukaani.org>
6370 Date: 2010-06-11 21:43:28 +0300
6372 Fix string to uint64_t conversion.
6374 Thanks to Denis Excoffier for the bug report.
6376 src/xz/util.c | 10 ++++++++--
6377 src/xzdec/xzdec.c | 13 +++++++++++--
6378 2 files changed, 19 insertions(+), 4 deletions(-)
6380 commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0
6381 Author: Lasse Collin <lasse.collin@tukaani.org>
6382 Date: 2010-06-11 10:40:28 +0300
6384 Put the git commit to the filename in mydist rule.
6386 Makefile.am | 6 +++++-
6387 1 file changed, 5 insertions(+), 1 deletion(-)
6389 commit d8b41eedce486d400f701b757b7b5e4e32276618
6390 Author: Lasse Collin <lasse.collin@tukaani.org>
6391 Date: 2010-06-02 23:13:55 +0300
6393 Fix compiling with -Werror.
6395 src/xz/message.c | 4 ++--
6396 1 file changed, 2 insertions(+), 2 deletions(-)
6398 commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8
6399 Author: Lasse Collin <lasse.collin@tukaani.org>
6400 Date: 2010-06-02 23:09:22 +0300
6402 Silence a bogus Valgrind warning.
6404 When using -O2 with GCC, it liked to swap two comparisons
6405 in one "if" statement. It's otherwise fine except that
6406 the latter part, which is seemingly never executed, got
6407 executed (nothing wrong with that) and then triggered
6408 warning in Valgrind about conditional jump depending on
6409 uninitialized variable. A few people find this annoying
6410 so do things a bit differently to avoid the warning.
6412 src/liblzma/lz/lz_encoder.c | 6 +++++-
6413 1 file changed, 5 insertions(+), 1 deletion(-)
6415 commit 29a7b250e685852f2f97615493ec49acaf528623
6416 Author: Lasse Collin <lasse.collin@tukaani.org>
6417 Date: 2010-06-02 21:32:12 +0300
6419 Fix a Windows-specific FIXME in signal handling code.
6421 src/xz/main.c | 40 +++++++++++++++++++++++++++++++++++-----
6422 src/xz/private.h | 5 +++++
6423 src/xz/signals.c | 16 ++++++++--------
6424 3 files changed, 48 insertions(+), 13 deletions(-)
6426 commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d
6427 Author: Lasse Collin <lasse.collin@tukaani.org>
6428 Date: 2010-06-02 17:46:58 +0300
6430 Adjust SA_RESTART workaround.
6432 I want to get a bug report if something else than
6433 DJGPP lacks SA_RESTART.
6435 src/xz/message.c | 14 +++++++-------
6436 1 file changed, 7 insertions(+), 7 deletions(-)
6438 commit e243145c84ab5c3be8259fd486ead0de5235b3f0
6439 Author: Lasse Collin <lasse.collin@tukaani.org>
6440 Date: 2010-06-01 16:02:30 +0300
6442 xz man page updates.
6444 - Concatenating .xz files and padding
6447 - A few examples (but many more are needed)
6449 src/xz/xz.1 | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
6450 1 file changed, 366 insertions(+), 19 deletions(-)
6452 commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562
6453 Author: Lasse Collin <lasse.collin@tukaani.org>
6454 Date: 2010-06-01 15:51:44 +0300
6456 Major update to xz --list.
6458 src/xz/list.c | 652 ++++++++++++++++++++++++++++++++++++++++++----------------
6459 1 file changed, 471 insertions(+), 181 deletions(-)
6461 commit 905e54804a899e4ad526d38fdba7e803ab9b71bd
6462 Author: Lasse Collin <lasse.collin@tukaani.org>
6463 Date: 2010-06-01 14:13:03 +0300
6465 Rename message_filters_get() to message_filters_to_str().
6467 src/xz/message.c | 4 ++--
6468 src/xz/message.h | 2 +-
6469 2 files changed, 3 insertions(+), 3 deletions(-)
6471 commit 4b346ae8af20045027ae5efb068c6d69da3324d2
6472 Author: Lasse Collin <lasse.collin@tukaani.org>
6473 Date: 2010-06-01 14:09:12 +0300
6477 src/liblzma/api/lzma/index.h | 2 +-
6478 1 file changed, 1 insertion(+), 1 deletion(-)
6480 commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296
6481 Author: Lasse Collin <lasse.collin@tukaani.org>
6482 Date: 2010-05-27 16:17:42 +0300
6484 Fix lzma_block_compressed_size().
6486 src/liblzma/common/block_util.c | 6 +++---
6487 1 file changed, 3 insertions(+), 3 deletions(-)
6489 commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593
6490 Author: Lasse Collin <lasse.collin@tukaani.org>
6491 Date: 2010-05-27 14:32:51 +0300
6493 Take Cygwin into account in some #if lines.
6495 This change is no-op, but good to have just in case
6498 src/xz/signals.c | 2 +-
6499 src/xz/signals.h | 4 ++--
6500 2 files changed, 3 insertions(+), 3 deletions(-)
6502 commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7
6503 Author: Lasse Collin <lasse.collin@tukaani.org>
6504 Date: 2010-05-27 13:42:44 +0300
6506 Remove references to the Subblock filter in xz and tests.
6508 Thanks to Jonathan Nieder.
6510 src/xz/message.c | 9 ---------
6511 tests/test_filter_flags.c | 23 -----------------------
6512 2 files changed, 32 deletions(-)
6514 commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893
6515 Author: Lasse Collin <lasse.collin@tukaani.org>
6516 Date: 2010-05-27 13:35:36 +0300
6518 Remove unused chunk_size.c.
6520 Thanks to Jonathan Nieder for the reminder.
6522 src/liblzma/common/chunk_size.c | 67 -----------------------------------------
6523 1 file changed, 67 deletions(-)
6525 commit 01a414eaf4be6352c06b48001b041b47e8202faa
6526 Author: Jonathan Nieder <jrnieder@gmail.com>
6527 Date: 2010-05-27 02:31:33 -0500
6529 Use my_min() instead of MIN() in src/xz/list.c
6531 This should have been done in
6532 920a69a8d8e4203c5edddd829d932130eac188ea.
6534 src/xz/list.c | 2 +-
6535 1 file changed, 1 insertion(+), 1 deletion(-)
6537 commit 920a69a8d8e4203c5edddd829d932130eac188ea
6538 Author: Lasse Collin <lasse.collin@tukaani.org>
6539 Date: 2010-05-26 10:36:46 +0300
6541 Rename MIN() and MAX() to my_min() and my_max().
6543 This should avoid some minor portability issues.
6545 debug/full_flush.c | 2 +-
6546 debug/sync_flush.c | 2 +-
6547 src/common/sysdefs.h | 12 +++++-------
6548 src/liblzma/common/block_buffer_encoder.c | 2 +-
6549 src/liblzma/common/common.c | 2 +-
6550 src/liblzma/common/stream_buffer_encoder.c | 2 +-
6551 src/liblzma/delta/delta_encoder.c | 2 +-
6552 src/liblzma/lz/lz_decoder.c | 7 ++++---
6553 src/liblzma/lz/lz_decoder.h | 2 +-
6554 src/liblzma/lz/lz_encoder.c | 2 +-
6555 src/liblzma/lz/lz_encoder.h | 2 +-
6556 src/liblzma/lz/lz_encoder_mf.c | 4 ++--
6557 src/liblzma/lzma/lzma2_encoder.c | 2 +-
6558 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
6559 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 14 +++++++-------
6560 src/xz/args.c | 3 ++-
6561 16 files changed, 31 insertions(+), 31 deletions(-)
6563 commit 019ae27c24d0c694545a6a46f8b9fb552198b015
6564 Author: Lasse Collin <lasse.collin@tukaani.org>
6565 Date: 2010-05-26 10:30:20 +0300
6567 Fix compilation of debug/known_sizes.c.
6569 debug/known_sizes.c | 2 +-
6570 1 file changed, 1 insertion(+), 1 deletion(-)
6572 commit 98a4856a6ea84f79c790057a6eb89a25bc45b074
6573 Author: Lasse Collin <lasse.collin@tukaani.org>
6574 Date: 2010-05-26 10:28:54 +0300
6576 Remove references to Subblock filter in debug/sync_flush.c.
6578 debug/sync_flush.c | 13 -------------
6579 1 file changed, 13 deletions(-)
6581 commit 703d2c33c095c41ae0693ee8c27c45e3847e4535
6582 Author: Lasse Collin <lasse.collin@tukaani.org>
6583 Date: 2010-05-26 10:16:57 +0300
6585 Better #error message.
6587 src/common/sysdefs.h | 4 ++--
6588 1 file changed, 2 insertions(+), 2 deletions(-)
6590 commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0
6591 Author: Lasse Collin <lasse.collin@tukaani.org>
6592 Date: 2010-05-26 09:55:47 +0300
6594 Remove the Subblock filter code for now.
6596 The spec isn't finished and the code didn't compile anymore.
6597 It won't be included in XZ Utils 5.0.0. It's easy to get it
6598 back once the spec is done.
6601 src/liblzma/Makefile.am | 5 -
6602 src/liblzma/api/Makefile.am | 1 -
6603 src/liblzma/api/lzma.h | 1 -
6604 src/liblzma/api/lzma/subblock.h | 200 -----
6605 src/liblzma/common/common.h | 6 -
6606 src/liblzma/common/filter_common.c | 9 -
6607 src/liblzma/common/filter_decoder.c | 16 -
6608 src/liblzma/common/filter_encoder.c | 12 -
6609 src/liblzma/subblock/Makefile.inc | 20 -
6610 src/liblzma/subblock/subblock_decoder.c | 630 ----------------
6611 src/liblzma/subblock/subblock_decoder.h | 22 -
6612 src/liblzma/subblock/subblock_decoder_helper.c | 70 --
6613 src/liblzma/subblock/subblock_decoder_helper.h | 29 -
6614 src/liblzma/subblock/subblock_encoder.c | 984 -------------------------
6615 src/liblzma/subblock/subblock_encoder.h | 21 -
6616 src/xz/args.c | 9 +-
6617 src/xz/options.c | 61 --
6618 src/xz/options.h | 7 -
6619 19 files changed, 4 insertions(+), 2105 deletions(-)
6621 commit b6377fc990f9b8651149cae0fecb8b9c5904e26d
6622 Author: Lasse Collin <lasse.collin@tukaani.org>
6623 Date: 2010-05-16 18:42:22 +0300
6625 Split message_filters().
6627 message_filters_to_str() converts the filter chain to
6628 a string. message_filters_show() replaces the original
6631 uint32_to_optstr() was also added to show the dictionary
6632 size in nicer format when possible.
6634 src/xz/coder.c | 2 +-
6635 src/xz/message.c | 187 +++++++++++++++++++++++++++++++++++--------------------
6636 src/xz/message.h | 14 ++++-
6637 3 files changed, 134 insertions(+), 69 deletions(-)
6639 commit d9986db782d6cf0f314342127280519339378fa0
6640 Author: Lasse Collin <lasse.collin@tukaani.org>
6641 Date: 2010-05-14 23:17:20 +0300
6643 Omit lzma_restrict from the API headers.
6645 It isn't really useful so omitting it makes things
6646 shorter and slightly more readable.
6648 src/liblzma/api/lzma.h | 12 ------------
6649 src/liblzma/api/lzma/index.h | 5 ++---
6650 src/liblzma/api/lzma/vli.h | 11 +++++------
6651 3 files changed, 7 insertions(+), 21 deletions(-)
6653 commit 0d3489efca0a723dca0394809fa3e6170843af4b
6654 Author: Lasse Collin <lasse.collin@tukaani.org>
6655 Date: 2010-05-10 19:57:24 +0300
6660 1 file changed, 5 deletions(-)
6662 commit 3fb3d594a2b53886adee161b6261e92277f05f7c
6663 Author: Lasse Collin <lasse.collin@tukaani.org>
6664 Date: 2010-05-10 19:54:52 +0300
6669 1 file changed, 1 insertion(+)
6671 commit 6548e304657e77d3a972053db3c41c5daf591113
6672 Author: Lasse Collin <lasse.collin@tukaani.org>
6673 Date: 2010-05-10 19:54:15 +0300
6675 Updates to tuklib_physmem and tuklib_cpucores.
6677 Don't use #error to generate compile error, because some
6678 compilers actually don't take it as an error. This fixes
6679 tuklib_physmem on IRIX.
6681 Fix incorrect error check for sysconf() return values.
6683 Add AIX, HP-UX, and Tru64 specific code to detect the
6686 Add HP-UX specific code to detect the number of CPU cores.
6688 Thanks a lot to Peter O'Gorman for initial patches,
6689 testing, and debugging these fixes.
6691 m4/tuklib_cpucores.m4 | 33 ++++++++++++++++----
6692 m4/tuklib_physmem.m4 | 72 ++++++++++++++++++++++++++++++++++++++++++--
6693 src/common/tuklib_cpucores.c | 14 +++++++--
6694 src/common/tuklib_physmem.c | 33 +++++++++++++++++++-
6695 4 files changed, 141 insertions(+), 11 deletions(-)
6697 commit a290cfee3e23f046889c022aa96b4eca2016fdda
6698 Author: Lasse Collin <lasse.collin@tukaani.org>
6699 Date: 2010-04-12 21:55:56 +0300
6701 Show both elapsed time and estimated remaining time in xz -v.
6703 The extra space for showing both has been taken from the
6704 sizes field. If the sizes grow big, bigger units than MiB
6705 will be used. It makes it slightly difficult to see that
6706 progress is still happening with huge files, but it should
6709 Thanks to Trent W. Buck for <http://bugs.debian.org/574583>
6710 and Jonathan Nieder for suggestions how to fix it.
6713 src/xz/message.c | 86 +++++++++++++++++++++++++-------------------------------
6714 2 files changed, 39 insertions(+), 48 deletions(-)
6716 commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e
6717 Author: Lasse Collin <lasse.collin@tukaani.org>
6718 Date: 2010-03-31 16:47:25 +0300
6720 Add a simple tip to faq.txt about tar and xz.
6722 Thanks to Gilles Espinasse.
6725 doc/faq.txt | 6 ++++++
6726 2 files changed, 7 insertions(+)
6728 commit c737eec91d200d730aa82662affd6b06ebb0bff0
6729 Author: Lasse Collin <lasse.collin@tukaani.org>
6730 Date: 2010-03-22 21:03:03 +0200
6735 1 file changed, 1 insertion(+)
6737 commit f4b2b52624b802c786e4e2a8eb6895794dd93b24
6738 Author: Lasse Collin <lasse.collin@tukaani.org>
6739 Date: 2010-03-07 19:52:25 +0200
6741 Fix xzgrep to not break if filenames have spaces or quotes.
6743 Thanks to someone who reported the bug on IRC.
6745 src/scripts/xzgrep.in | 2 +-
6746 1 file changed, 1 insertion(+), 1 deletion(-)
6748 commit cf38da00a140bd3bd65b192390ae5553380fd774
6749 Author: Lasse Collin <lasse.collin@tukaani.org>
6750 Date: 2010-03-07 13:59:32 +0200
6752 Treat all integer multiplier suffixes as base-2.
6754 Originally both base-2 and base-10 were supported, but since
6755 there seems to be little need for base-10 in XZ Utils, treat
6756 everything as base-2 and also be more relaxed about the case
6757 of the first letter of the suffix. Now xz will accept e.g.
6758 KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The
6759 recommended spelling of the suffixes are still KiB, MiB, and GiB.
6761 src/xz/util.c | 53 +++++++++++++++++++++++------------------------------
6762 src/xz/xz.1 | 48 ++++++++++++++++++++++++++++--------------------
6763 src/xzdec/xzdec.c | 42 ++++++++++++++++--------------------------
6764 3 files changed, 67 insertions(+), 76 deletions(-)
6766 commit 00fc1211ae7b687ac912098f4479112059deccbd
6767 Author: Lasse Collin <lasse.collin@tukaani.org>
6768 Date: 2010-03-07 13:50:23 +0200
6770 Consistently round up the memory usage limit in messages.
6772 It still feels a bit wrong to round 1 byte to 1 MiB but
6773 at least it is now done consistently so that the same
6774 byte value is always rounded the same way to MiB.
6776 src/xz/message.c | 5 +++--
6777 src/xzdec/xzdec.c | 7 +++++--
6778 2 files changed, 8 insertions(+), 4 deletions(-)
6780 commit 9886d436ff5615fc70eef32ff757b1e934069621
6781 Author: Lasse Collin <lasse.collin@tukaani.org>
6782 Date: 2010-03-07 13:34:34 +0200
6784 Change the default of --enable-assume-ram from 32 to 128 MiB.
6786 This is to allow files created with "xz -9" to be decompressed
6787 if the amount of RAM cannot be determined.
6790 configure.ac | 11 ++++++-----
6791 2 files changed, 8 insertions(+), 8 deletions(-)
6793 commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418
6794 Author: Lasse Collin <lasse.collin@tukaani.org>
6795 Date: 2010-03-07 13:29:28 +0200
6797 Increase the default memory usage limit on "low-memory" systems.
6799 Previously the default limit was always 40 % of RAM. The
6800 new limit is a little bit more complex:
6802 - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used
6805 - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit.
6807 - Otherwise 80 % of RAM is used as the limit.
6809 This should make it possible to decompress files created with
6810 "xz -9" on more systems. Swapping is generally more expected
6811 on systems with less RAM, so higher default limit on them
6812 shouldn't cause too bad surprises in terms of heavy swapping.
6813 Instead, the higher default limit should reduce the number of
6814 bad surprises when it used to prevent decompression of files
6815 created with "xz -9". The DoS prevention system shouldn't be
6818 Note that even with the new default limit, a system with 64 MiB
6819 RAM cannot decompress files created with "xz -9" without user
6820 overriding the limit. This should be OK, because if xz is going
6821 to need more memory than the system has RAM, it will run very
6822 very slowly and thus it's good that user has to override the limit
6825 src/xz/hardware.c | 43 +++++++++++++++++++++++++++++++------------
6826 src/xz/xz.1 | 21 +++++++++++++++------
6827 src/xzdec/xzdec.1 | 8 ++++----
6828 src/xzdec/xzdec.c | 42 ++++++++++++++++++++++++++++++------------
6829 4 files changed, 80 insertions(+), 34 deletions(-)
6831 commit 5527b7269a997e7f335d60f237a64bbf225d9dc7
6832 Author: Lasse Collin <lasse.collin@tukaani.org>
6833 Date: 2010-03-06 21:36:19 +0200
6838 1 file changed, 1 insertion(+)
6840 commit d0d1c51aea4351288a7e533cce28cb7f852f6b05
6841 Author: Lasse Collin <lasse.collin@tukaani.org>
6842 Date: 2010-03-06 21:17:20 +0200
6844 Fix missing initialization in lzma_strm_init().
6846 With bad luck, lzma_code() could return LZMA_BUF_ERROR
6849 This has been here since the early days of liblzma.
6850 It got triggered by the modifications made to the xz
6851 tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f
6852 but only when decompressing .lzma files. Somehow I managed
6853 to miss testing that with Valgrind earlier.
6855 This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>.
6856 Thanks to Rafał Mużyło for helping to debug it on IRC.
6858 src/liblzma/common/common.c | 1 +
6859 1 file changed, 1 insertion(+)
6861 commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea
6862 Author: Lasse Collin <lasse.collin@tukaani.org>
6863 Date: 2010-02-12 13:16:15 +0200
6865 Collection of language fixes to comments and docs.
6867 Thanks to Jonathan Nieder.
6872 extra/7z2lzma/7z2lzma.bash | 2 +-
6873 src/common/tuklib_progname.c | 2 +-
6874 src/common/tuklib_progname.h | 2 +-
6875 src/liblzma/api/lzma/base.h | 8 ++++----
6876 src/liblzma/api/lzma/bcj.h | 2 +-
6877 src/liblzma/api/lzma/block.h | 2 +-
6878 src/liblzma/api/lzma/check.h | 2 +-
6879 src/liblzma/api/lzma/filter.h | 4 ++--
6880 src/liblzma/api/lzma/index.h | 6 +++---
6881 src/liblzma/api/lzma/lzma.h | 2 +-
6882 src/liblzma/api/lzma/version.h | 2 +-
6883 src/liblzma/api/lzma/vli.h | 2 +-
6884 src/liblzma/common/block_header_encoder.c | 2 +-
6885 src/liblzma/common/chunk_size.c | 4 ++--
6886 src/liblzma/common/common.h | 4 ++--
6887 src/liblzma/common/filter_buffer_decoder.c | 2 +-
6888 src/liblzma/common/filter_encoder.c | 4 ++--
6889 src/liblzma/common/index.c | 6 +++---
6890 src/liblzma/common/index_encoder.c | 2 +-
6891 src/liblzma/common/stream_encoder.c | 2 +-
6892 src/liblzma/common/vli_decoder.c | 2 +-
6893 src/liblzma/lz/lz_encoder.c | 2 +-
6894 src/liblzma/lz/lz_encoder.h | 2 +-
6895 src/liblzma/lzma/lzma2_encoder.c | 2 +-
6896 src/liblzma/lzma/lzma_decoder.c | 4 ++--
6897 src/liblzma/lzma/lzma_decoder.h | 2 +-
6898 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
6899 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +-
6900 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
6901 src/liblzma/simple/simple_coder.c | 2 +-
6902 src/liblzma/subblock/subblock_encoder.c | 2 +-
6903 src/scripts/xzdiff.1 | 2 +-
6904 src/scripts/xzless.1 | 10 +++++-----
6905 src/xz/coder.c | 2 +-
6906 src/xz/file_io.c | 2 +-
6907 src/xz/main.c | 6 +++---
6908 src/xz/main.h | 2 +-
6909 src/xz/message.c | 10 +++++-----
6910 src/xz/message.h | 2 +-
6911 src/xz/xz.1 | 16 ++++++++--------
6912 src/xzdec/lzmadec_w32res.rc | 2 +-
6913 src/xzdec/xzdec_w32res.rc | 2 +-
6914 tests/test_index.c | 2 +-
6915 windows/build.sh | 4 ++--
6916 47 files changed, 77 insertions(+), 77 deletions(-)
6918 commit 4785f2021aa6a23f1caf724fcc823e562584f225
6919 Author: Lasse Collin <lasse.collin@tukaani.org>
6920 Date: 2010-02-12 12:41:20 +0200
6922 Fix jl -> jb in ASM files.
6924 src/liblzma/check/crc32_x86.S | 2 +-
6925 src/liblzma/check/crc64_x86.S | 4 ++--
6926 2 files changed, 3 insertions(+), 3 deletions(-)
6928 commit 6b50c9429bf85521d355adc61745d06ee017f8c8
6929 Author: Lasse Collin <lasse.collin@tukaani.org>
6930 Date: 2010-02-12 12:31:22 +0200
6932 Use __APPLE__ instead of __MACH__ in ASM files.
6934 This allows the files to work on HURD.
6936 Thanks to Jonathan Nieder.
6938 src/liblzma/check/crc32_x86.S | 8 ++++----
6939 src/liblzma/check/crc64_x86.S | 8 ++++----
6940 2 files changed, 8 insertions(+), 8 deletions(-)
6942 commit 6503fde658a5cdbdd907a788865470dd64771601
6943 Author: Lasse Collin <lasse.collin@tukaani.org>
6944 Date: 2010-02-07 19:48:06 +0200
6946 Subtle change to liblzma Block handling API.
6948 lzma_block.version has to be initialized even for
6949 lzma_block_header_decode(). This way a future version
6950 of liblzma won't allocate memory in a way that an old
6951 application doesn't know how to free it.
6953 The subtlety of this change is that all current apps
6954 using lzma_block_header_decode() will keep working for
6955 now, because the only possible version value is zero,
6956 and lzma_block_header_decode() unconditionally sets the
6957 version to zero even now. Unless fixed, these apps will
6958 break in the future if a new version of the Block options
6961 src/liblzma/api/lzma/block.h | 39 ++++++++++++++++---------------------
6962 src/liblzma/common/stream_decoder.c | 3 +++
6963 2 files changed, 20 insertions(+), 22 deletions(-)
6965 commit dd7c3841ff78cb94ce02b0220c6e4748460970f7
6966 Author: Lasse Collin <lasse.collin@tukaani.org>
6967 Date: 2010-02-02 11:50:11 +0200
6969 Fix wrong assertion.
6971 This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735.
6973 src/xz/main.c | 5 +++--
6974 1 file changed, 3 insertions(+), 2 deletions(-)
6976 commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be
6977 Author: Lasse Collin <lasse.collin@tukaani.org>
6978 Date: 2010-02-01 22:48:42 +0200
6983 1 file changed, 4 deletions(-)
6985 commit fef6333f52c8801308c3b78acb7942988541d137
6986 Author: Lasse Collin <lasse.collin@tukaani.org>
6987 Date: 2010-02-01 22:47:54 +0200
6989 Fix typos in comments.
6991 src/xz/list.c | 2 +-
6992 windows/build.sh | 2 +-
6993 2 files changed, 2 insertions(+), 2 deletions(-)
6995 commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735
6996 Author: Lasse Collin <lasse.collin@tukaani.org>
6997 Date: 2010-02-01 22:46:56 +0200
6999 Fix signal handling for --list.
7001 src/xz/main.c | 19 ++++++++++++++-----
7002 1 file changed, 14 insertions(+), 5 deletions(-)
7004 commit 82220a149015616f75641ee8bbea415137535b9b
7005 Author: Lasse Collin <lasse.collin@tukaani.org>
7006 Date: 2010-02-01 11:44:45 +0200
7008 Fix compression of symlinks with --force.
7010 xz --force accepted symlinks, but didn't remove
7011 them after successful compression. Instead, an error
7012 message was displayed.
7014 src/xz/file_io.c | 14 +++++++++++++-
7015 1 file changed, 13 insertions(+), 1 deletion(-)
7017 commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e
7018 Author: Lasse Collin <lasse.collin@tukaani.org>
7019 Date: 2010-02-01 10:20:57 +0200
7023 windows/build.sh | 5 ++---
7024 1 file changed, 2 insertions(+), 3 deletions(-)
7026 commit f9dd797a423a148903cf345b4146cb1fe1eab11d
7027 Author: Lasse Collin <lasse.collin@tukaani.org>
7028 Date: 2010-01-31 23:43:54 +0200
7033 1 file changed, 1 insertion(+)
7035 commit ee5ddb8b28419fe4923ded5c18a50570a762dcab
7036 Author: Lasse Collin <lasse.collin@tukaani.org>
7037 Date: 2010-01-31 23:41:29 +0200
7041 TODO | 17 +++++++++++------
7042 1 file changed, 11 insertions(+), 6 deletions(-)
7044 commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6
7045 Author: Lasse Collin <lasse.collin@tukaani.org>
7046 Date: 2010-01-31 23:35:04 +0200
7048 Mention TODO in README.
7051 1 file changed, 1 insertion(+)
7053 commit 2901a8e7e82af05675b8cd8758a8ceddb111359f
7054 Author: Lasse Collin <lasse.collin@tukaani.org>
7055 Date: 2010-01-31 23:31:14 +0200
7059 INSTALL | 52 ++++++++++++++++++++++++++--------------------------
7060 1 file changed, 26 insertions(+), 26 deletions(-)
7062 commit 8884e16864ba53fb4b58623d7537d7ef30c28e11
7063 Author: Lasse Collin <lasse.collin@tukaani.org>
7064 Date: 2010-01-31 23:28:51 +0200
7066 Revise the Windows build files.
7068 The old Makefile + config.h was deleted, because it
7069 becomes outdated too easily and building with the
7070 Autotools based build system works fine even on Windows.
7072 windows/build.sh hasn't got much testing, but it should
7073 work to build 32-bit x86 and x86-64 versions of XZ Utils
7074 using MSYS, MinGW or MinGW-w32, and MinGW-w64.
7076 windows/INSTALL-Windows.txt describes what packages are
7077 needed and how to install them.
7079 windows/README-Windows.txt is a readme file for the binary
7080 package that build.sh hopefully builds.
7082 There are no instructions about using Autotools for now,
7083 so those using a git snapshot may want to run
7084 "autoreconf -fi && ./configure && make mydist" on a UN*X
7085 box and then copy the resulting .tar.gz to a Windows.
7087 windows/INSTALL-Windows.txt | 131 ++++++++++++++++++
7088 windows/Makefile | 320 --------------------------------------------
7089 windows/README | 155 ---------------------
7090 windows/README-Windows.txt | 115 ++++++++++++++++
7091 windows/build.sh | 189 ++++++++++++++++++++++++++
7092 windows/config.h | 170 -----------------------
7093 6 files changed, 435 insertions(+), 645 deletions(-)
7095 commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c
7096 Author: Lasse Collin <lasse.collin@tukaani.org>
7097 Date: 2010-01-31 19:52:38 +0200
7099 Select the default integrity check type at runtime.
7101 Previously it was set statically to CRC64 or CRC32
7102 depending on options passed to the configure script.
7104 src/xz/coder.c | 19 ++++++++++++++-----
7105 1 file changed, 14 insertions(+), 5 deletions(-)
7107 commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1
7108 Author: Lasse Collin <lasse.collin@tukaani.org>
7109 Date: 2010-01-31 18:17:50 +0200
7111 Improve displaying of the memory usage limit.
7113 src/xz/coder.c | 8 +++-----
7114 src/xz/message.c | 37 +++++++++++++++++++++++++++++--------
7115 src/xz/util.c | 7 +++++++
7116 src/xz/util.h | 6 ++++++
7117 4 files changed, 45 insertions(+), 13 deletions(-)
7119 commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2
7120 Author: Lasse Collin <lasse.collin@tukaani.org>
7121 Date: 2010-01-31 12:53:56 +0200
7123 Don't use uninitialized sigset_t.
7125 If signal handlers haven't been established, then it's
7126 useless to try to block them, especially since the sigset_t
7127 used for blocking hasn't been initialized yet.
7129 src/xz/signals.c | 34 ++++++++++++++++++++++++----------
7130 1 file changed, 24 insertions(+), 10 deletions(-)
7132 commit 231c3c7098f1099a56abb8afece76fc9b8699f05
7133 Author: Lasse Collin <lasse.collin@tukaani.org>
7134 Date: 2010-01-31 12:01:54 +0200
7136 Delay opening the destionation file and other fixes.
7138 The opening of the destination file is now delayed a little.
7139 The coder is initialized, and if decompressing, the memory
7140 usage of the first Block compared against the memory
7141 usage limit before the destination file is opened. This
7142 means that if --force was used, the old "target" file won't
7143 be deleted so easily when something goes wrong very early.
7144 Thanks to Mark K for the bug report.
7146 The above fix required some changes to progress message
7147 handling. Now there is a separate function for setting and
7148 printing the filename. It is used also in list.c.
7150 list_file() now handles stdin correctly (gives an error).
7152 A useless check for user_abort was removed from file_io.c.
7154 src/xz/coder.c | 64 ++++++++++++++++++++++-----------
7155 src/xz/file_io.c | 107 +++++++++++++++++++++++++++----------------------------
7156 src/xz/file_io.h | 8 +++--
7157 src/xz/list.c | 28 +++++----------
7158 src/xz/message.c | 46 +++++++++++++-----------
7159 src/xz/message.h | 29 ++++++++++-----
7160 6 files changed, 157 insertions(+), 125 deletions(-)
7162 commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105
7163 Author: Lasse Collin <lasse.collin@tukaani.org>
7164 Date: 2010-01-29 22:48:04 +0200
7166 Add list.h to src/xz/Makefile.am.
7168 This should have been already in
7169 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1.
7171 src/xz/Makefile.am | 1 +
7172 1 file changed, 1 insertion(+)
7174 commit b4b1a56e0cbd597157858264f5c7189201ac9018
7175 Author: Lasse Collin <lasse.collin@tukaani.org>
7176 Date: 2010-01-29 13:24:27 +0200
7178 Add lzmainfo.1 to manfiles list to convert to .txt and .pdf.
7181 1 file changed, 1 insertion(+)
7183 commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95
7184 Author: Lasse Collin <lasse.collin@tukaani.org>
7185 Date: 2010-01-27 16:42:11 +0200
7187 Silence two compiler warnings on DOS-like systems.
7189 src/common/tuklib_open_stdxxx.c | 6 +++++-
7190 src/xz/file_io.c | 3 +++
7191 2 files changed, 8 insertions(+), 1 deletion(-)
7193 commit b063cc34a30a4edf109343ff373b2b62b8ca72d3
7194 Author: Lasse Collin <lasse.collin@tukaani.org>
7195 Date: 2010-01-27 13:31:03 +0200
7197 Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE.
7199 configure.ac | 9 ++-------
7200 src/liblzma/liblzma.pc.in | 2 +-
7201 src/lzmainfo/lzmainfo.c | 2 +-
7202 src/xz/message.c | 2 +-
7203 src/xzdec/xzdec.c | 2 +-
7204 5 files changed, 6 insertions(+), 11 deletions(-)
7206 commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f
7207 Author: Lasse Collin <lasse.collin@tukaani.org>
7208 Date: 2010-01-26 23:37:46 +0200
7210 Add a missing space to an error message.
7212 Thanks to Robert Readman.
7214 src/xz/args.c | 2 +-
7215 1 file changed, 1 insertion(+), 1 deletion(-)
7217 commit e5496f9628ff5979392a80421d0b63a4de8015b4
7218 Author: Lasse Collin <lasse.collin@tukaani.org>
7219 Date: 2010-01-26 22:53:37 +0200
7221 Use past tense in error message in io_unlink().
7223 Added a note to translators too.
7225 Thanks to Robert Readman.
7228 src/xz/file_io.c | 14 ++++++++++++--
7229 2 files changed, 13 insertions(+), 2 deletions(-)
7231 commit d9a9800597ea540090e434132c3b511217df0a2b
7232 Author: Lasse Collin <lasse.collin@tukaani.org>
7233 Date: 2010-01-26 15:42:24 +0200
7235 Fix too small static buffer in util.c.
7237 This was introduced in
7238 0dd6d007669b946543ca939a44243833c79e08f4 two days ago.
7240 src/xz/util.c | 9 ++++-----
7241 1 file changed, 4 insertions(+), 5 deletions(-)
7243 commit d0b4bbf5da068503c099cd456e294d7673548cc0
7244 Author: Lasse Collin <lasse.collin@tukaani.org>
7245 Date: 2010-01-26 14:46:43 +0200
7249 src/xz/main.c | 4 ++--
7250 1 file changed, 2 insertions(+), 2 deletions(-)
7252 commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1
7253 Author: Lasse Collin <lasse.collin@tukaani.org>
7254 Date: 2010-01-24 23:50:54 +0200
7256 Add initial version of xz --list.
7258 This is a bit rough but should be useful for basic things.
7259 Ideas (with detailed examples) about the output format are
7262 The output of --robot --list is not necessarily stable yet,
7263 although I don't currently have any plans about changing it.
7265 The man page hasn't been updated yet.
7267 src/xz/Makefile.am | 1 +
7268 src/xz/list.c | 988 ++++++++++++++++++++++++++++++++++-------------------
7269 src/xz/list.h | 18 +
7270 src/xz/main.c | 19 +-
7271 src/xz/private.h | 1 +
7272 5 files changed, 668 insertions(+), 359 deletions(-)
7274 commit df254ce03be016e217b511e7acd5d493f9929ca5
7275 Author: Lasse Collin <lasse.collin@tukaani.org>
7276 Date: 2010-01-24 22:46:11 +0200
7280 It will be used by --list.
7282 src/xz/file_io.c | 25 +++++++++++++++++++++++++
7283 src/xz/file_io.h | 17 +++++++++++++++++
7284 2 files changed, 42 insertions(+)
7286 commit ef68dd4a92976276304de2aedfbe34ae91a86abb
7287 Author: Lasse Collin <lasse.collin@tukaani.org>
7288 Date: 2010-01-24 22:45:14 +0200
7290 Set LC_NUMERIC=C when --robot is used.
7292 It is to ensure that floating point numbers
7293 will always have a dot as the decimal separator.
7295 src/xz/args.c | 4 ++++
7296 1 file changed, 4 insertions(+)
7298 commit 0dd6d007669b946543ca939a44243833c79e08f4
7299 Author: Lasse Collin <lasse.collin@tukaani.org>
7300 Date: 2010-01-24 16:57:40 +0200
7302 Some improvements to printing sizes in xz.
7304 src/xz/coder.c | 56 +++++++++++++++------------------------
7305 src/xz/message.c | 80 ++++++++++++++++++--------------------------------------
7306 src/xz/message.h | 4 +++
7307 src/xz/util.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++
7308 src/xz/util.h | 44 +++++++++++++++++++++++++++++++
7309 5 files changed, 166 insertions(+), 90 deletions(-)
7311 commit 2a98fdffd68c66371279c211c29153c808ad5c1d
7312 Author: Lasse Collin <lasse.collin@tukaani.org>
7313 Date: 2010-01-20 22:02:35 +0200
7315 Fix a typo in README.
7317 Thanks to R. Bijker.
7320 1 file changed, 1 insertion(+), 1 deletion(-)
7322 commit 07a11dad44e041b01dcfc73e8d4e00731158c06d
7323 Author: Lasse Collin <lasse.collin@tukaani.org>
7324 Date: 2010-01-17 11:59:54 +0200
7326 Updated windows/Makefile.
7328 Thanks to Dan Shechter for the patch.
7330 It is likely that windows/Makefile will be removed
7331 completely, because Autotols based build nowadays
7332 works well with both 32-bit and 64-bit MinGW (I
7333 just need to update the docs).
7335 windows/Makefile | 38 +++++++++++++++++++++++++-------------
7336 windows/config.h | 2 ++
7337 2 files changed, 27 insertions(+), 13 deletions(-)
7339 commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3
7340 Author: Lasse Collin <lasse.collin@tukaani.org>
7341 Date: 2010-01-15 11:05:11 +0200
7343 Update the xz man page to match the previous two commits.
7345 src/xz/xz.1 | 9 +++------
7346 1 file changed, 3 insertions(+), 6 deletions(-)
7348 commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7
7349 Author: Lasse Collin <lasse.collin@tukaani.org>
7350 Date: 2010-01-13 19:10:25 +0200
7352 Don't read compressed data from a terminal or write it
7353 to a terminal even if --force is specified.
7355 It just seems more reasonable this way.
7357 The new behavior matches bzip2. The old one matched gzip.
7359 src/xz/main.c | 20 +++++++++-----------
7360 src/xz/util.c | 8 ++++----
7361 2 files changed, 13 insertions(+), 15 deletions(-)
7363 commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4
7364 Author: Lasse Collin <lasse.collin@tukaani.org>
7365 Date: 2010-01-13 18:12:40 +0200
7367 Don't compress or decompress special files unless writing
7368 to stdout even if --force is used.
7370 --force will still enable compression of symlinks, but only
7371 in case they point to a regular file.
7373 The new way simply seems more reasonable. It matches gzip's
7374 behavior while the old one matched bzip2's behavior.
7376 src/xz/file_io.c | 15 ++++++++++-----
7377 1 file changed, 10 insertions(+), 5 deletions(-)
7379 commit cee12aa852ec0902983dc1f153346ef750157fb9
7380 Author: Lasse Collin <lasse.collin@tukaani.org>
7381 Date: 2010-01-12 16:30:33 +0200
7386 1 file changed, 1 insertion(+)
7388 commit 153c7740c54b3c90129dbd3d6153ac1303c4d605
7389 Author: Lasse Collin <lasse.collin@tukaani.org>
7390 Date: 2010-01-12 16:18:14 +0200
7392 Add IRIX-specific code to tuklib_physmem and tuklib_cpucores.
7394 This is untested but it will get tested soon and, if needed,
7397 Thanks to Stuart Shelton.
7399 m4/tuklib_cpucores.m4 | 11 +++++++++--
7400 m4/tuklib_physmem.m4 | 22 +++++++++++++++++++++-
7401 src/common/tuklib_cpucores.c | 6 ++++++
7402 src/common/tuklib_physmem.c | 19 +++++++++++++++++++
7403 4 files changed, 55 insertions(+), 3 deletions(-)
7405 commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1
7406 Author: Lasse Collin <lasse.collin@tukaani.org>
7407 Date: 2010-01-01 00:29:10 +0200
7409 Fix _memconfig() functions.
7411 This affects lzma_memusage() and lzma_memlimit_get().
7413 src/liblzma/api/lzma/index.h | 7 -------
7414 src/liblzma/common/alone_decoder.c | 11 +++++++----
7415 src/liblzma/common/index_decoder.c | 10 ++++++----
7416 src/liblzma/common/stream_decoder.c | 11 +++++++----
7417 4 files changed, 20 insertions(+), 19 deletions(-)
7419 commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691
7420 Author: Lasse Collin <lasse.collin@tukaani.org>
7421 Date: 2009-12-31 22:45:53 +0200
7423 Revised the Index handling code.
7425 This breaks API and ABI but most apps are not affected
7426 since most apps don't use this part of the API. You will
7427 get a compile error if you are using anything that got
7432 - Ability to store Stream Flags, which are needed
7433 for random-access reading in multi-Stream files.
7435 - Separate function to set size of Stream Padding.
7437 - Iterator structure makes it possible to read the same
7438 lzma_index from multiple threads at the same time.
7440 - A lot faster code to locate Blocks.
7442 - Removed lzma_index_equal() without adding anything
7443 to replace it. I don't know what it should do exactly
7444 with the new features and what actually needs this
7445 function in the first place other than test_index.c,
7446 which now has its own code to compare lzma_indexes.
7448 src/liblzma/api/lzma/index.h | 572 +++++++---
7449 src/liblzma/common/index.c | 1553 ++++++++++++++++++----------
7450 src/liblzma/common/index.h | 6 +
7451 src/liblzma/common/index_decoder.c | 12 +-
7452 src/liblzma/common/index_encoder.c | 36 +-
7453 src/liblzma/common/index_encoder.h | 2 +-
7454 src/liblzma/common/stream_buffer_encoder.c | 6 +-
7455 src/liblzma/common/stream_encoder.c | 3 +-
7456 tests/test_index.c | 371 ++++---
7457 9 files changed, 1703 insertions(+), 858 deletions(-)
7459 commit f29997a846e673cb3b8cbd57de47ed313b3978bb
7460 Author: Lasse Collin <lasse.collin@tukaani.org>
7461 Date: 2009-12-31 21:13:25 +0200
7463 Remove c-format tag in cs.po.
7465 It was fixed in the C code earlier.
7468 1 file changed, 1 deletion(-)
7470 commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644
7471 Author: Lasse Collin <lasse.collin@tukaani.org>
7472 Date: 2009-12-31 21:11:05 +0200
7474 Add missing lzma_nothrow in filter.h.
7476 src/liblzma/api/lzma/filter.h | 4 ++--
7477 1 file changed, 2 insertions(+), 2 deletions(-)
7479 commit b56cb1fc31fa2381f92eefc040df85667048d626
7480 Author: Lasse Collin <lasse.collin@tukaani.org>
7481 Date: 2009-12-09 18:13:44 +0200
7483 Remove redefinition of _(msgid) macro from lzmainfo.c.
7485 src/lzmainfo/lzmainfo.c | 7 -------
7486 1 file changed, 7 deletions(-)
7488 commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2
7489 Author: Jonathan Nieder <jrnieder@gmail.com>
7490 Date: 2009-12-08 19:41:57 -0600
7492 update po/.gitignore
7494 Since the *.gmo files are deleted by the maintainer-clean target,
7495 I assume they are not meant to be tracked.
7497 Also add the other files listed in the Makefile’s clean targets
7498 (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they
7499 are not accidentally tracked. Most of these are intermediate
7500 files that would not appear unless a build is interrupted or
7503 Split the list of untracked files by origin to make it easier to
7504 tell if files are missing in the future.
7506 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
7508 po/.gitignore | 28 ++++++++++++++++++++++------
7509 1 file changed, 22 insertions(+), 6 deletions(-)
7511 commit f7e44c6c11f630519072971b8b07a5729c096c36
7512 Author: Lasse Collin <lasse.collin@tukaani.org>
7513 Date: 2009-12-09 00:38:55 +0200
7515 Always rely on GCC's auto-import on Windows.
7517 I understood that this is nicer, because then people
7518 don't need to worry about the LZMA_API_STATIC macro.
7520 Thanks to Charles Wilson and Keith Marshall.
7522 src/liblzma/api/lzma.h | 16 +++++++++-------
7523 1 file changed, 9 insertions(+), 7 deletions(-)
7525 commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c
7526 Author: Lasse Collin <lasse.collin@tukaani.org>
7527 Date: 2009-12-07 21:46:53 +0200
7529 Fix file_io.c on DOS-like systems.
7531 The problem was introduced when adding sparse file
7532 support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902.
7534 Thanks to Charles Wilson.
7536 src/xz/file_io.c | 4 ++++
7537 1 file changed, 4 insertions(+)
7539 commit 0696f5d268362221380e039bad48a86e29067c6a
7540 Author: Lasse Collin <lasse.collin@tukaani.org>
7541 Date: 2009-12-07 20:54:21 +0200
7543 Add Czech translation.
7545 Thanks to Marek Černocký.
7547 Other people planning to translate xz: Note that the
7548 messages are a little bit in flux still. Translations
7549 are still welcome, just be prepared to some extra work
7550 in case there are changes.
7554 po/cs.po | 637 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7555 3 files changed, 639 insertions(+)
7557 commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5
7558 Author: Lasse Collin <lasse.collin@tukaani.org>
7559 Date: 2009-12-07 20:32:08 +0200
7561 Add a note for translators to add a bug reporting address
7562 for translation bugs.
7564 src/xz/message.c | 4 ++++
7565 1 file changed, 4 insertions(+)
7567 commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37
7568 Author: Lasse Collin <lasse.collin@tukaani.org>
7569 Date: 2009-12-07 20:07:02 +0200
7571 Prevent xgettext from taking one regular string as a C format string.
7573 Thanks to Marek Černocký.
7575 src/xz/message.c | 2 +-
7576 1 file changed, 1 insertion(+), 1 deletion(-)
7578 commit e0c2776b6ffbd2b1900fde353aceac734edc93d7
7579 Author: Lasse Collin <lasse.collin@tukaani.org>
7580 Date: 2009-11-28 17:45:22 +0200
7582 Remove duplicate code in io_open_dest().
7584 Fix a missing _() in the error message too.
7586 src/xz/file_io.c | 9 +--------
7587 1 file changed, 1 insertion(+), 8 deletions(-)
7589 commit f057a33c6f7c5992389479f2d4feabf2900ba7ee
7590 Author: Lasse Collin <lasse.collin@tukaani.org>
7591 Date: 2009-11-26 10:11:23 +0200
7593 Typo fix to sysdefs.h.
7595 Thanks to Jonathan Nieder.
7597 src/common/sysdefs.h | 2 +-
7598 1 file changed, 1 insertion(+), 1 deletion(-)
7600 commit 8767b41534eafdf5e742e12190646bf5740b0cdb
7601 Author: Lasse Collin <lasse.collin@tukaani.org>
7602 Date: 2009-11-26 10:10:36 +0200
7604 Fix a memory leak in test_index.c.
7606 This was introduced in
7607 bd13b04e202b6f495a68eb0766f97085b7c50a06.
7609 Thanks to Jim Meyering for noticing it.
7611 tests/test_index.c | 2 ++
7612 1 file changed, 2 insertions(+)
7614 commit 919fbaff860acdaa4bcd216500a0b1c960a6db92
7615 Author: Lasse Collin <lasse.collin@tukaani.org>
7616 Date: 2009-11-25 14:22:19 +0200
7618 Add missing error check to coder.c.
7620 With bad luck this could cause a segfault due to
7621 reading (but not writing) past the end of the buffer.
7623 src/xz/coder.c | 20 +++++++++++---------
7624 1 file changed, 11 insertions(+), 9 deletions(-)
7626 commit bd13b04e202b6f495a68eb0766f97085b7c50a06
7627 Author: Lasse Collin <lasse.collin@tukaani.org>
7628 Date: 2009-11-25 13:04:10 +0200
7630 Fix bugs in lzma_index_read() and lzma_index_cat().
7632 lzma_index_read() didn't skip over Stream Padding
7633 if it was the first record in the Index.
7635 lzma_index_cat() didn't combine small Indexes correctly.
7637 The test suite was updated to check for these bugs.
7639 These bugs didn't affect the xz command line tool or
7640 most users of liblzma in any way.
7642 src/liblzma/common/index.c | 30 +++++++++++++++++++-----------
7643 tests/test_index.c | 28 +++++++++++++++++++++++++---
7644 2 files changed, 44 insertions(+), 14 deletions(-)
7646 commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa
7647 Author: Lasse Collin <lasse.collin@tukaani.org>
7648 Date: 2009-11-25 12:52:56 +0200
7650 Index decoder fixes.
7652 The Index decoder code didn't perfectly match the API docs,
7653 which said that *i will be set to point to the decoded Index
7654 only after decoding has succeeded. The docs were a bit unclear
7657 Now the decoder will initially set *i to NULL. *i will be set
7658 to point to the decoded Index once decoding has succeeded.
7659 This simplifies applications too, since it avoids dangling
7662 src/liblzma/api/lzma/index.h | 23 ++++++++++++-----------
7663 src/liblzma/common/index_decoder.c | 26 ++++++++++++++++++++------
7664 2 files changed, 32 insertions(+), 17 deletions(-)
7666 commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902
7667 Author: Lasse Collin <lasse.collin@tukaani.org>
7668 Date: 2009-11-25 11:19:20 +0200
7670 Create sparse files by default when decompressing into
7673 Sparse file creation can be disabled with --no-sparse.
7674 I don't promise yet that the name of this option won't
7675 change before 5.0.0. It's possible that the code, that
7676 checks when it is safe to use sparse output on stdout,
7677 is not good enough, and a more flexible command line
7678 option is needed to configure sparse file handling.
7680 src/xz/args.c | 6 ++
7681 src/xz/coder.c | 33 ++++----
7682 src/xz/file_io.c | 243 +++++++++++++++++++++++++++++++++++++++++++++++--------
7683 src/xz/file_io.h | 34 ++++++--
7684 src/xz/message.c | 1 +
7685 src/xz/xz.1 | 11 +++
7686 6 files changed, 272 insertions(+), 56 deletions(-)
7688 commit 37de544414fc2dc5039471d1002ebd015eb3e627
7689 Author: Lasse Collin <lasse.collin@tukaani.org>
7690 Date: 2009-11-22 12:43:06 +0200
7695 1 file changed, 1 insertion(+)
7697 commit f1a28b96c900c658fe016852ff62f6c24d1f50fa
7698 Author: Lasse Collin <lasse.collin@tukaani.org>
7699 Date: 2009-11-22 12:05:33 +0200
7701 Add missing consts to pointer casts.
7703 src/liblzma/check/crc32_fast.c | 4 ++--
7704 src/liblzma/check/crc64_fast.c | 5 +++--
7705 2 files changed, 5 insertions(+), 4 deletions(-)
7707 commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef
7708 Author: Lasse Collin <lasse.collin@tukaani.org>
7709 Date: 2009-11-22 12:00:30 +0200
7711 Enable assembler code only if it is known to work
7712 on that operating system.
7714 I'm too lazy to think how to make a good Autoconf test
7715 for this and it's not that important anyway.
7717 No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64.
7718 Inline assembler (if any) is used if a macro like
7719 __i386__ or __x86_64__ is defined.
7721 configure.ac | 26 ++++++++++++--------------
7722 1 file changed, 12 insertions(+), 14 deletions(-)
7724 commit 0733f4c9994db696420a405810d5f02c79ebc404
7725 Author: Lasse Collin <lasse.collin@tukaani.org>
7726 Date: 2009-11-22 11:55:03 +0200
7728 Make fastpos.h use tuklib_integer.h instead of bsr.h
7729 when --enable-small has been specified.
7731 src/liblzma/common/Makefile.inc | 1 -
7732 src/liblzma/common/bsr.h | 60 -----------------------------------------
7733 src/liblzma/lzma/fastpos.h | 5 +---
7734 3 files changed, 1 insertion(+), 65 deletions(-)
7736 commit 7ac3985d891dcc5773543f84cc5bce6c14841b12
7737 Author: Lasse Collin <lasse.collin@tukaani.org>
7738 Date: 2009-11-22 11:52:30 +0200
7740 Update tuklib_integer.h with bit scan functions.
7742 Thanks to Joachim Henke for the original patch.
7744 src/common/tuklib_integer.h | 189 ++++++++++++++++++++++++++++++++++++++++++--
7745 1 file changed, 181 insertions(+), 8 deletions(-)
7747 commit c74c132f7f79a842c073c66575a4fdb985e4c2e3
7748 Author: Lasse Collin <lasse.collin@tukaani.org>
7749 Date: 2009-11-20 12:51:19 +0200
7751 Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib,
7752 which now use AC_CACHE_CHECK. Using the cache variable,
7753 configure now warns if there is no method to detect the amount
7754 of RAM and recommends using --enable-assume-ram.
7756 configure.ac | 16 ++++++++++++++++
7757 m4/tuklib_cpucores.m4 | 31 ++++++++++++++++++-------------
7758 m4/tuklib_physmem.m4 | 50 +++++++++++++++++++++++++++-----------------------
7759 3 files changed, 61 insertions(+), 36 deletions(-)
7761 commit d315ca4930ff96e1428c6021c96f209e1abdd83e
7762 Author: Lasse Collin <lasse.collin@tukaani.org>
7763 Date: 2009-11-16 18:16:45 +0200
7765 Add support for --info-memory and --robot to xz.
7767 Currently --robot works only with --info-memory and
7768 --version. --help and --long-help work too, but --robot
7769 has no effect on them.
7771 Thanks to Jonathan Nieder for the original patches.
7773 src/xz/args.c | 85 +++++++++++++++++++++++++++++++++-----------------------
7775 src/xz/main.c | 11 +++++---
7776 src/xz/message.c | 47 +++++++++++++++++++++++--------
7777 src/xz/message.h | 4 +++
7778 src/xz/xz.1 | 40 +++++++++++++++++++++++---
7779 6 files changed, 133 insertions(+), 55 deletions(-)
7781 commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e
7782 Author: Lasse Collin <lasse.collin@tukaani.org>
7783 Date: 2009-11-15 12:54:45 +0200
7785 Fix wrong indentation caused by incorrect settings
7788 src/liblzma/lz/lz_decoder.c | 18 +++++++++---------
7789 src/liblzma/lzma/lzma2_encoder.c | 6 +++---
7790 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +-
7791 3 files changed, 13 insertions(+), 13 deletions(-)
7793 commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4
7794 Author: Lasse Collin <lasse.collin@tukaani.org>
7795 Date: 2009-11-15 12:40:17 +0200
7799 I had hoped to keep liblzma as purely a compression
7800 library as possible (e.g. file I/O will go into
7801 a different library), but it seems that applications
7802 linking agaisnt liblzma need some way to determine
7803 the memory usage limit, and knowing the amount of RAM
7804 is one reasonable way to help making such decisions.
7806 Thanks to Jonathan Nieder for the original patch.
7808 src/liblzma/Makefile.am | 5 ++--
7809 src/liblzma/api/Makefile.am | 1 +
7810 src/liblzma/api/lzma.h | 3 +++
7811 src/liblzma/api/lzma/hardware.h | 51 +++++++++++++++++++++++++++++++++++
7812 src/liblzma/common/Makefile.inc | 1 +
7813 src/liblzma/common/hardware_physmem.c | 25 +++++++++++++++++
7814 src/xz/Makefile.am | 1 -
7815 src/xz/hardware.c | 3 +--
7816 src/xzdec/Makefile.am | 6 ++---
7817 src/xzdec/xzdec.c | 3 +--
7818 10 files changed, 88 insertions(+), 11 deletions(-)
7820 commit cf39faca59083d38422058c6c97aa757ea7797d0
7821 Author: Lasse Collin <lasse.collin@tukaani.org>
7822 Date: 2009-11-14 20:21:19 +0200
7827 1 file changed, 1 insertion(+)
7829 commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f
7830 Author: Lasse Collin <lasse.collin@tukaani.org>
7831 Date: 2009-11-14 20:20:03 +0200
7833 Some updates to xz man page.
7835 src/xz/xz.1 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++-----
7836 1 file changed, 49 insertions(+), 5 deletions(-)
7838 commit 19b2674f07f8b588dfaf6638396b4b42866d7e23
7839 Author: Lasse Collin <lasse.collin@tukaani.org>
7840 Date: 2009-11-14 19:51:03 +0200
7842 Fix description of --memory in --long-help.
7844 src/xz/message.c | 3 +--
7845 1 file changed, 1 insertion(+), 2 deletions(-)
7847 commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8
7848 Author: Lasse Collin <lasse.collin@tukaani.org>
7849 Date: 2009-11-14 19:45:39 +0200
7851 Update the debug programs so that they compile again.
7854 debug/memusage.c | 6 ++++--
7855 debug/sync_flush.c | 14 +++++++++-----
7856 3 files changed, 14 insertions(+), 7 deletions(-)
7858 commit 418d64a32e8144210f98a810738fed5a897e8367
7859 Author: Lasse Collin <lasse.collin@tukaani.org>
7860 Date: 2009-11-14 18:59:19 +0200
7862 Fix a design error in liblzma API.
7864 Originally the idea was that using LZMA_FULL_FLUSH
7865 with Stream encoder would read the filter chain
7866 from the same array that was used to intialize the
7867 Stream encoder. Since most apps wouldn't use
7868 LZMA_FULL_FLUSH, most apps wouldn't need to keep
7869 the filter chain available after initializing the
7870 Stream encoder. However, due to my mistake, it
7871 actually required keeping the array always available.
7873 Since setting the new filter chain via the array
7874 used at initialization time is not a nice way to do
7875 it for a couple of reasons, this commit ditches it
7876 and introduces lzma_filters_update(). This new function
7877 replaces also the "persistent" flag used by LZMA2
7878 (and to-be-designed Subblock filter), which was also
7879 an ugly thing to do.
7881 Thanks to Alexey Tourbin for reminding me about the problem
7882 that Stream encoder used to require keeping the filter
7885 src/liblzma/api/lzma/filter.h | 30 +++++++++++++
7886 src/liblzma/api/lzma/lzma.h | 13 ------
7887 src/liblzma/common/block_encoder.c | 14 ++++++
7888 src/liblzma/common/common.c | 20 ++++++++-
7889 src/liblzma/common/common.h | 22 ++++++++++
7890 src/liblzma/common/easy_encoder.c | 63 ++-------------------------
7891 src/liblzma/common/filter_common.c | 3 ++
7892 src/liblzma/common/filter_encoder.c | 27 ++++++++++++
7893 src/liblzma/common/filter_encoder.h | 2 +-
7894 src/liblzma/common/stream_encoder.c | 76 ++++++++++++++++++++++++++++-----
7895 src/liblzma/delta/delta_common.c | 5 +--
7896 src/liblzma/delta/delta_decoder.c | 3 +-
7897 src/liblzma/delta/delta_encoder.c | 17 +++++++-
7898 src/liblzma/delta/delta_private.h | 2 +-
7899 src/liblzma/lz/lz_encoder.c | 17 ++++++++
7900 src/liblzma/lz/lz_encoder.h | 4 ++
7901 src/liblzma/lzma/lzma2_encoder.c | 59 ++++++++++++++-----------
7902 src/liblzma/lzma/lzma_encoder_presets.c | 1 -
7903 src/liblzma/simple/simple_coder.c | 12 ++++++
7904 src/xz/options.c | 1 -
7905 20 files changed, 273 insertions(+), 118 deletions(-)
7907 commit f0bf7634b77263a4dd02b20c71861ab67995da68
7908 Author: Lasse Collin <lasse.collin@tukaani.org>
7909 Date: 2009-10-17 11:11:58 +0300
7911 Fix wrong function name in the previous commit.
7913 It was meant to be lzma_filters_copy(), not lzma_filters_dup().
7915 src/liblzma/api/lzma/filter.h | 2 +-
7916 src/liblzma/common/filter_common.c | 2 +-
7917 2 files changed, 2 insertions(+), 2 deletions(-)
7919 commit 6d118a0b9def82e96afba7386ec8d7da0b59649f
7920 Author: Lasse Collin <lasse.collin@tukaani.org>
7921 Date: 2009-10-17 01:47:07 +0300
7923 Add lzma_filters_copy().
7925 This will be needed internally by liblzma once I fix
7926 a design mistake in the encoder API. This function may
7927 be useful to applications too so it's good to export it.
7929 src/liblzma/api/lzma/filter.h | 31 ++++++++++++++
7930 src/liblzma/common/filter_common.c | 82 ++++++++++++++++++++++++++++++++++++++
7931 2 files changed, 113 insertions(+)
7933 commit 78e92c18470483e161388e679c1ee556adb3a691
7934 Author: Jonathan Nieder <jrnieder@gmail.com>
7935 Date: 2009-10-15 20:44:13 -0500
7937 Escape dashes in xzmore.1
7939 A minus sign is larger, easier to see in a printout, and more
7940 likely to use the same glyph as ASCII hyphen-minus in a terminal
7941 than a hyphen. Since broken manual pagers do not find hyphens
7942 when the user searches for a hyphen-minus, minus signs are also
7943 easier to search for. So use minus signs instead of hyphens to
7944 render sample terminal output.
7946 src/scripts/xzmore.1 | 4 ++--
7947 1 file changed, 2 insertions(+), 2 deletions(-)
7949 commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee
7950 Author: Lasse Collin <lasse.collin@tukaani.org>
7951 Date: 2009-10-16 20:35:39 +0300
7953 Mention --check=none in --long-help. It was already in
7954 the man page though.
7956 Thanks to Jim Meyering for noticing this.
7958 src/xz/message.c | 2 +-
7959 1 file changed, 1 insertion(+), 1 deletion(-)
7961 commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24
7962 Author: Lasse Collin <lasse.collin@tukaani.org>
7963 Date: 2009-10-04 22:57:12 +0300
7965 Use a tuklib module for integer handling.
7967 This replaces bswap.h and integer.h.
7969 The tuklib module uses <byteswap.h> on GNU,
7970 <sys/endian.h> on *BSDs and <sys/byteorder.h>
7971 on Solaris, which may contain optimized code
7972 like inline assembly.
7974 configure.ac | 54 +----
7975 m4/tuklib_integer.m4 | 74 +++++++
7976 src/common/bswap.h | 52 -----
7977 src/common/integer.h | 170 ---------------
7978 src/common/tuklib_config.h | 8 +-
7979 src/common/tuklib_integer.h | 350 ++++++++++++++++++++++++++++++
7980 src/liblzma/check/check.c | 4 +-
7981 src/liblzma/check/crc32_fast.c | 4 +-
7982 src/liblzma/check/crc32_tablegen.c | 8 +-
7983 src/liblzma/check/crc64_fast.c | 4 +-
7984 src/liblzma/check/crc64_tablegen.c | 8 +-
7985 src/liblzma/check/crc_macros.h | 2 -
7986 src/liblzma/check/sha256.c | 18 +-
7987 src/liblzma/common/alone_encoder.c | 2 +-
7988 src/liblzma/common/block_header_decoder.c | 2 +-
7989 src/liblzma/common/block_header_encoder.c | 2 +-
7990 src/liblzma/common/common.h | 2 +-
7991 src/liblzma/common/stream_flags_decoder.c | 6 +-
7992 src/liblzma/common/stream_flags_encoder.c | 6 +-
7993 src/liblzma/lz/lz_encoder_hash.h | 2 +-
7994 src/liblzma/lzma/lzma_decoder.c | 2 +-
7995 src/liblzma/lzma/lzma_encoder.c | 2 +-
7996 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
7997 src/liblzma/simple/simple_decoder.c | 2 +-
7998 src/liblzma/simple/simple_encoder.c | 2 +-
7999 tests/test_block_header.c | 4 +-
8000 tests/test_stream_flags.c | 6 +-
8001 tests/tests.h | 2 +-
8002 28 files changed, 467 insertions(+), 333 deletions(-)
8004 commit 29fd321033276261b87da7be5223db33d879a4c7
8005 Author: Lasse Collin <lasse.collin@tukaani.org>
8006 Date: 2009-10-02 14:35:56 +0300
8008 Add support for --enable-assume-ram=SIZE.
8010 INSTALL | 16 ++++++++++++++++
8011 configure.ac | 24 ++++++++++++++++++++++++
8012 src/xz/hardware.c | 7 +++----
8013 src/xzdec/xzdec.c | 5 +++--
8014 4 files changed, 46 insertions(+), 6 deletions(-)
8016 commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25
8017 Author: Lasse Collin <lasse.collin@tukaani.org>
8018 Date: 2009-10-02 11:28:17 +0300
8020 Use unaligned access (if possible) on both endiannesses
8021 in lz_encoder_hash.h.
8023 src/liblzma/lz/lz_encoder_hash.h | 4 ++--
8024 1 file changed, 2 insertions(+), 2 deletions(-)
8026 commit c5f68b5cc79085a87f950fea53843e27f328068e
8027 Author: Lasse Collin <lasse.collin@tukaani.org>
8028 Date: 2009-10-02 11:03:26 +0300
8030 Make liblzma produce the same output on both endiannesses.
8032 Seems that it is a problem in some cases if the same
8033 version of XZ Utils produces different output on different
8034 endiannesses, so this commit fixes that problem. The output
8035 will still vary between different XZ Utils versions, but I
8036 cannot avoid that for now.
8038 This commit bloatens the code on big endian systems by 1 KiB,
8039 which should be OK since liblzma is bloated already. ;-)
8041 src/liblzma/check/crc32_tablegen.c | 30 +++++++++++++++
8042 src/liblzma/lz/Makefile.inc | 1 +
8043 src/liblzma/lz/lz_encoder.c | 7 +++-
8044 src/liblzma/lz/lz_encoder_hash.h | 35 +++++++++++------
8045 src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++++
8046 src/liblzma/lz/lz_encoder_mf.c | 1 -
8047 6 files changed, 128 insertions(+), 14 deletions(-)
8049 commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a
8050 Author: Mike Frysinger <vapier@gentoo.org>
8051 Date: 2009-09-26 12:51:50 -0400
8053 add lzmainfo to gitignore
8055 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
8058 1 file changed, 2 insertions(+)
8060 commit 188a1dcd0cc7867810ed3a55c598d0680922c63b
8061 Author: Lasse Collin <lasse.collin@tukaani.org>
8062 Date: 2009-09-27 11:53:36 +0300
8067 1 file changed, 1 insertion(+)
8069 commit db9119b9181b307e7ac5d2bae82444d04b902b59
8070 Author: Lasse Collin <lasse.collin@tukaani.org>
8071 Date: 2009-09-27 11:48:54 +0300
8073 Work around a bug in Interix header files.
8075 Thanks to Markus Duft for the patch.
8077 src/common/sysdefs.h | 6 ++++++
8078 1 file changed, 6 insertions(+)
8080 commit b3d105e69786a45963176fd2193abe75e05ba738
8081 Author: Lasse Collin <lasse.collin@tukaani.org>
8082 Date: 2009-09-24 17:50:17 +0300
8084 Fix an error in OpenVMS-specific code.
8086 Thanks to Jouk Jansen.
8088 src/xz/file_io.c | 2 +-
8089 1 file changed, 1 insertion(+), 1 deletion(-)
8091 commit 5e000ff00d4d01e559397b49eb648ad3f159d496
8092 Author: Lasse Collin <lasse.collin@tukaani.org>
8093 Date: 2009-09-22 18:59:56 +0300
8095 Added OpenVMS-specific information to INSTALL.
8097 INSTALL | 11 +++++++++++
8098 1 file changed, 11 insertions(+)
8100 commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4
8101 Author: Lasse Collin <lasse.collin@tukaani.org>
8102 Date: 2009-09-22 14:03:02 +0300
8104 Better fixes for OpenVMS support.
8106 Thanks to Jouk Jansen.
8108 src/xz/file_io.c | 19 ++++++++++++++++---
8109 1 file changed, 16 insertions(+), 3 deletions(-)
8111 commit 4c3630ec4179fe9265407a35c4db1374ffc82372
8112 Author: Lasse Collin <lasse.collin@tukaani.org>
8113 Date: 2009-09-22 13:40:19 +0300
8115 Avoid non-standard preprocessor construct.
8117 Thanks to Jouk Jansen.
8119 src/common/tuklib_common.h | 11 +++++++----
8120 1 file changed, 7 insertions(+), 4 deletions(-)
8122 commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9
8123 Author: Lasse Collin <lasse.collin@tukaani.org>
8124 Date: 2009-09-21 19:50:09 +0300
8126 Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
8128 Thanks to Charles Wilson.
8130 src/common/tuklib_common.h | 3 ++-
8131 1 file changed, 2 insertions(+), 1 deletion(-)
8133 commit e599bba4216c0edb8cc8f40adad3a6dba88685f4
8134 Author: Lasse Collin <lasse.collin@tukaani.org>
8135 Date: 2009-09-19 09:47:30 +0300
8139 Separate a few reusable components from XZ Utils specific
8140 code. The reusable code is now in "tuklib" modules. A few
8141 more could be separated still, e.g. bswap.h.
8143 Fix some bugs in lzmainfo.
8145 Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol
8148 Add OpenVMS support into physmem. Add a few #ifdefs to ease
8149 building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the
8153 configure.ac | 12 +--
8154 m4/lc_physmem.m4 | 84 ---------------
8155 m4/tuklib_common.m4 | 22 ++++
8156 m4/{lc_cpucores.m4 => tuklib_cpucores.m4} | 83 ++++++++------
8157 m4/tuklib_physmem.m4 | 119 +++++++++++++++++++++
8158 m4/tuklib_progname.m4 | 25 +++++
8159 src/common/sysdefs.h | 4 -
8160 src/common/tuklib_common.h | 67 ++++++++++++
8161 src/common/tuklib_config.h | 1 +
8162 src/common/{cpucores.h => tuklib_cpucores.c} | 39 +++----
8163 src/common/tuklib_cpucores.h | 23 ++++
8164 src/common/tuklib_exit.c | 57 ++++++++++
8165 src/common/tuklib_exit.h | 25 +++++
8166 src/common/tuklib_gettext.h | 44 ++++++++
8167 src/common/{open_stdxxx.h => tuklib_open_stdxxx.c} | 24 +++--
8168 src/common/tuklib_open_stdxxx.h | 23 ++++
8169 src/common/{physmem.h => tuklib_physmem.c} | 58 +++++-----
8170 src/common/tuklib_physmem.h | 28 +++++
8171 src/common/tuklib_progname.c | 50 +++++++++
8172 src/common/tuklib_progname.h | 32 ++++++
8173 src/lzmainfo/Makefile.am | 5 +-
8174 src/lzmainfo/lzmainfo.c | 65 ++++-------
8175 src/xz/Makefile.am | 7 +-
8176 src/xz/args.c | 8 +-
8177 src/xz/file_io.c | 43 ++++----
8178 src/xz/hardware.c | 8 +-
8179 src/xz/main.c | 100 ++++-------------
8180 src/xz/main.h | 7 --
8181 src/xz/message.c | 30 +++---
8182 src/xz/message.h | 8 +-
8183 src/xz/private.h | 11 +-
8184 src/xz/signals.c | 2 +
8185 src/xz/signals.h | 17 ++-
8186 src/xz/suffix.c | 2 +-
8187 src/xzdec/Makefile.am | 13 ++-
8188 src/xzdec/xzdec.c | 55 +++-------
8189 37 files changed, 768 insertions(+), 434 deletions(-)
8191 commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef
8192 Author: Lasse Collin <lasse.collin@tukaani.org>
8193 Date: 2009-09-15 21:07:23 +0300
8195 Fix incorrect use of "restrict".
8197 src/liblzma/api/lzma/vli.h | 4 ++--
8198 src/liblzma/common/vli_decoder.c | 2 +-
8199 src/liblzma/common/vli_encoder.c | 2 +-
8200 3 files changed, 4 insertions(+), 4 deletions(-)
8202 commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c
8203 Author: Lasse Collin <lasse.collin@tukaani.org>
8204 Date: 2009-09-12 14:09:17 +0300
8206 Fix GCC version check for nothrow attribute.
8208 src/liblzma/api/lzma.h | 2 +-
8209 1 file changed, 1 insertion(+), 1 deletion(-)
8211 commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224
8212 Author: Lasse Collin <lasse.collin@tukaani.org>
8213 Date: 2009-09-12 14:08:15 +0300
8218 1 file changed, 1 insertion(+)
8220 commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac
8221 Author: Lasse Collin <lasse.collin@tukaani.org>
8222 Date: 2009-09-12 14:07:36 +0300
8224 A few grammar fixes.
8226 Thanks to Christian Weisgerber for pointing out some of these.
8228 src/liblzma/api/lzma.h | 4 ++--
8229 src/liblzma/api/lzma/vli.h | 4 ++--
8230 src/liblzma/common/block_header_encoder.c | 2 +-
8231 src/liblzma/common/filter_common.c | 2 +-
8232 src/liblzma/lz/lz_encoder.h | 10 +++++-----
8233 src/xz/message.c | 22 +++++++++++-----------
8234 src/xzdec/xzdec.c | 2 +-
8235 7 files changed, 23 insertions(+), 23 deletions(-)
8237 commit 8905a33daadcd2d6557c83c81c490b827d566c94
8238 Author: Lasse Collin <lasse.collin@tukaani.org>
8239 Date: 2009-09-11 17:08:15 +0300
8244 1 file changed, 1 insertion(+)
8246 commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9
8247 Author: Lasse Collin <lasse.collin@tukaani.org>
8248 Date: 2009-09-11 17:06:32 +0300
8250 Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.
8252 dos/config.h | 3 +++
8253 windows/config.h | 3 +++
8254 2 files changed, 6 insertions(+)
8256 commit 221be761f467da76875247bc02d7a1716682075d
8257 Author: Lasse Collin <lasse.collin@tukaani.org>
8258 Date: 2009-09-11 10:24:09 +0300
8260 Use $(LN_EXEEXT) in symlinks to executables.
8262 This fixes "make install" on operating systems using
8263 a suffix for executables.
8265 Cygwin is treated specially. The symlink names won't have
8266 .exe suffix even though the executables themselves have.
8267 Thanks to Charles Wilson.
8269 configure.ac | 9 +++++++++
8270 src/xz/Makefile.am | 4 ++--
8271 2 files changed, 11 insertions(+), 2 deletions(-)
8273 commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c
8274 Author: Lasse Collin <lasse.collin@tukaani.org>
8275 Date: 2009-09-11 09:25:09 +0300
8277 Fix a couple of warnings.
8279 src/liblzma/common/stream_decoder.c | 2 +-
8280 src/liblzma/lz/lz_encoder.c | 5 +----
8281 src/liblzma/lzma/lzma_encoder.c | 2 +-
8282 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++----
8283 tests/tests.h | 2 +-
8284 5 files changed, 8 insertions(+), 11 deletions(-)
8286 commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4
8287 Author: Lasse Collin <lasse.collin@tukaani.org>
8288 Date: 2009-09-05 18:39:21 +0300
8290 Add OS/2-specific code to physmem.h.
8292 Also move DJGPP-specific code near the code meant
8293 for other DOS-like systems.
8295 src/common/physmem.h | 32 +++++++++++++++++++++-----------
8296 1 file changed, 21 insertions(+), 11 deletions(-)
8298 commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740
8299 Author: Lasse Collin <lasse.collin@tukaani.org>
8300 Date: 2009-09-05 01:21:15 +0300
8305 1 file changed, 2 insertions(+)
8307 commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071
8308 Author: Lasse Collin <lasse.collin@tukaani.org>
8309 Date: 2009-09-05 01:20:29 +0300
8311 Use sysctl() != -1 instead of !sysctl() to check if
8312 the function call succeeded.
8314 NetBSD 4.0 returns positive values on success, but
8315 NetBSD Current and FreeBSD return zero. OpenBSD's
8316 man page doesn't tell what sysctl() returns on
8317 success. All these BSDs return -1 on error.
8319 Thanks to Robert Elz and Thomas Klausner.
8321 src/common/cpucores.h | 2 +-
8322 src/common/physmem.h | 2 +-
8323 2 files changed, 2 insertions(+), 2 deletions(-)
8325 commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32
8326 Author: Lasse Collin <lasse.collin@tukaani.org>
8327 Date: 2009-09-02 09:43:51 +0300
8329 Mention in INSTALL that --enable-small doesn't modify CFLAGS.
8332 1 file changed, 4 insertions(+)
8334 commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc
8335 Author: Lasse Collin <lasse.collin@tukaani.org>
8336 Date: 2009-09-01 20:40:01 +0300
8338 Refactored option parsing.
8340 src/xz/options.c | 70 ++++++++++++++++++++++++++++----------------------------
8341 1 file changed, 35 insertions(+), 35 deletions(-)
8343 commit 25adaaa56e2e51a47a910a8d73452414619a2e53
8344 Author: Lasse Collin <lasse.collin@tukaani.org>
8345 Date: 2009-09-01 20:23:30 +0300
8347 Fix options parsing bug in xz.
8349 xz used to reject "xz --lzma2=pb=2," while
8350 "xz --lzma2=pb=2,," worked. Now both work.
8352 src/xz/options.c | 6 ++----
8353 1 file changed, 2 insertions(+), 4 deletions(-)
8355 commit 5f6dddc6c911df02ba660564e78e6de80947c947
8356 Author: Lasse Collin <lasse.collin@tukaani.org>
8357 Date: 2009-09-01 20:20:19 +0300
8362 1 file changed, 3 insertions(+)
8364 commit 655457b9ada5ec7db398c5392e41290f3f332ea8
8365 Author: Lasse Collin <lasse.collin@tukaani.org>
8366 Date: 2009-08-31 21:59:25 +0300
8368 Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
8369 and use a fix that works on all systems using
8372 Maybe the assembler code is used e.g. on Solaris x86
8373 but let's worry about it if this doesn't work on it.
8375 src/liblzma/check/crc32_x86.S | 7 ++-----
8376 src/liblzma/check/crc64_x86.S | 7 ++-----
8377 2 files changed, 4 insertions(+), 10 deletions(-)
8379 commit 162189c3477953805a28f96d3a75cb9ab9417928
8380 Author: Lasse Collin <lasse.collin@tukaani.org>
8381 Date: 2009-08-30 17:29:19 +0300
8386 1 file changed, 1 insertion(+)
8388 commit 2331f5f97af3e5897e23da45d9df3d664099c7f8
8389 Author: Lasse Collin <lasse.collin@tukaani.org>
8390 Date: 2009-08-30 17:28:52 +0300
8392 Add more OS/2 specific info to INSTALL.
8395 1 file changed, 5 insertions(+)
8397 commit 94c66b3297b3ad307eee93cf6b160e3c43997f11
8398 Author: Lasse Collin <lasse.collin@tukaani.org>
8399 Date: 2009-08-29 14:43:52 +0300
8401 Use even more hackish way to support thousand separators.
8403 Seems that in addition on Windows and DOS, also OpenBSD
8404 lacks support for %'d style printf() format strings.
8405 So far that is the only modern POSIX-like system I know
8406 with this problem, but after this hack, the thousand
8407 separator shouldn't be a problem on any system.
8409 Maybe testing if a format string like %'d produces
8410 reasonable output is invoking undefined behavior on some
8411 systems, but so far all the problematic systems I've tried
8412 just print the raw format string (e.g. %'d prints 'd).
8414 Maybe Autoconf test would have been better, but this
8415 hack works also for cross-compilation, and avoids
8416 recompilation in case the system libc starts to support
8417 the thousand separator.
8419 src/xz/util.c | 36 +++++++++++++++++++++++++-----------
8420 1 file changed, 25 insertions(+), 11 deletions(-)
8422 commit 3432e9c6aab851da1227b63dce645d7f190c04d8
8423 Author: Lasse Collin <lasse.collin@tukaani.org>
8424 Date: 2009-08-29 13:42:56 +0300
8429 1 file changed, 3 insertions(+)
8431 commit 27414daadf5727e8ab942374b5ec1c8990122878
8432 Author: Lasse Collin <lasse.collin@tukaani.org>
8433 Date: 2009-08-29 13:39:21 +0300
8437 This fixes build on *BSDs and Darwin.
8439 Thanks to Jukka Salmi for the patches.
8440 Richard Koch reported the problem too.
8442 m4/lc_cpucores.m4 | 2 +-
8443 m4/lc_physmem.m4 | 2 +-
8444 src/common/cpucores.h | 2 +-
8445 src/common/physmem.h | 2 +-
8446 4 files changed, 4 insertions(+), 4 deletions(-)
8448 commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
8449 Author: Lasse Collin <lasse.collin@tukaani.org>
8450 Date: 2009-08-29 13:35:23 +0300
8452 Fix x86 assembler on GCC 3.
8454 Thanks to Karl Berry.
8456 src/liblzma/check/crc32_x86.S | 7 +++++--
8457 src/liblzma/check/crc64_x86.S | 7 +++++--
8458 2 files changed, 10 insertions(+), 4 deletions(-)
8460 commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8
8461 Author: Lasse Collin <lasse.collin@tukaani.org>
8462 Date: 2009-08-27 18:36:59 +0300
8466 Makefile.am | 13 ++++++-------
8467 1 file changed, 6 insertions(+), 7 deletions(-)
8469 commit c8c184db1c95bf70f78256ec6237845a57f342af
8470 Author: Lasse Collin <lasse.collin@tukaani.org>
8471 Date: 2009-08-27 17:08:33 +0300
8473 Update xz man page date.
8476 1 file changed, 1 insertion(+), 1 deletion(-)
8478 commit 9756fce565e98b8fa5fe6ead296d84e7601ec254
8479 Author: Lasse Collin <lasse.collin@tukaani.org>
8480 Date: 2009-08-27 17:00:22 +0300
8482 Fix the debug directory.
8484 6a2eb54092fc625d59921a607ff68cd1a90aa898 and
8485 71f18e8a066a01dda0c8e5508b135ef104e43e4c required
8486 some changes that weren't applied in debug.
8488 debug/Makefile.am | 5 +++--
8489 debug/full_flush.c | 1 +
8490 debug/known_sizes.c | 1 +
8491 debug/memusage.c | 1 +
8492 debug/sync_flush.c | 1 +
8493 5 files changed, 7 insertions(+), 2 deletions(-)
8495 commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea
8496 Author: Lasse Collin <lasse.collin@tukaani.org>
8497 Date: 2009-08-27 16:36:40 +0300
8499 Add missing files to EXTRA_DIST.
8501 Makefile.am | 11 +++++++----
8502 1 file changed, 7 insertions(+), 4 deletions(-)
8504 commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d
8505 Author: Lasse Collin <lasse.collin@tukaani.org>
8506 Date: 2009-08-27 16:21:22 +0300
8508 Bumped version to 4.999.9beta.
8510 src/liblzma/api/lzma/version.h | 2 +-
8511 1 file changed, 1 insertion(+), 1 deletion(-)
8513 commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4
8514 Author: Lasse Collin <lasse.collin@tukaani.org>
8515 Date: 2009-08-27 16:17:47 +0300
8520 1 file changed, 2 insertions(+)
8522 commit c29e76c0f910fca0a90a50b78d337f6c32623e9d
8523 Author: Lasse Collin <lasse.collin@tukaani.org>
8524 Date: 2009-08-27 16:12:52 +0300
8526 .xz file format specification 1.0.4 (probably).
8528 Thanks to Christian von Roques, Peter Lawler,
8529 and Jim Meyering for the fixes.
8531 doc/xz-file-format.txt | 26 +++++++++++++++-----------
8532 1 file changed, 15 insertions(+), 11 deletions(-)
8534 commit 696d7ee3953beaf4f0ed18e78917ccf300431966
8535 Author: Lasse Collin <lasse.collin@tukaani.org>
8536 Date: 2009-08-27 15:43:54 +0300
8538 Require GNU libtool 2.2.
8540 configure.ac | 13 +++----------
8541 1 file changed, 3 insertions(+), 10 deletions(-)
8543 commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d
8544 Author: Lasse Collin <lasse.collin@tukaani.org>
8545 Date: 2009-08-27 15:34:45 +0300
8547 Add "dos" to EXTRA_DIST.
8550 1 file changed, 1 insertion(+)
8552 commit 35b29e4424ced5a3ababf132283e519080c7b298
8553 Author: Lasse Collin <lasse.collin@tukaani.org>
8554 Date: 2009-08-27 15:23:27 +0300
8559 1 file changed, 6 insertions(+)
8561 commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea
8562 Author: Lasse Collin <lasse.collin@tukaani.org>
8563 Date: 2009-08-27 15:17:00 +0300
8565 Some xz man page improvements.
8567 src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
8568 1 file changed, 62 insertions(+), 16 deletions(-)
8570 commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d
8571 Author: Lasse Collin <lasse.collin@tukaani.org>
8572 Date: 2009-08-27 10:41:01 +0300
8574 Removed doc/bugs.txt.
8576 doc/bugs.txt | 46 ----------------------------------------------
8577 1 file changed, 46 deletions(-)
8579 commit d88c4072b36d3a76f839185799fb1d91037a1b81
8580 Author: Lasse Collin <lasse.collin@tukaani.org>
8581 Date: 2009-08-27 10:40:25 +0300
8585 It now includes bug reporting instructions/tips.
8587 README | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
8588 1 file changed, 55 insertions(+), 10 deletions(-)
8590 commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e
8591 Author: Lasse Collin <lasse.collin@tukaani.org>
8592 Date: 2009-08-27 10:21:18 +0300
8596 Thanks to Jim Meyering.
8598 (From now on, I try to always remember to put
8599 the relevant thanks to commit messages.)
8602 1 file changed, 1 insertion(+), 1 deletion(-)
8604 commit 3e2ba8b58585743e59251e69ad2783eb08357079
8605 Author: Lasse Collin <lasse.collin@tukaani.org>
8606 Date: 2009-08-27 10:13:46 +0300
8608 Updates to liblzma API headers.
8610 Added lzma_nothrow for every function. It adds
8611 throw() when the header is used in C++ code.
8613 Some lzma_attrs were added or removed.
8615 Lots of comments were improved.
8617 src/liblzma/api/lzma.h | 20 ++++++++
8618 src/liblzma/api/lzma/base.h | 48 +++++++++---------
8619 src/liblzma/api/lzma/block.h | 38 ++++++++-------
8620 src/liblzma/api/lzma/check.h | 22 +++++----
8621 src/liblzma/api/lzma/container.h | 36 ++++++++------
8622 src/liblzma/api/lzma/filter.h | 81 +++++++++++++++++++------------
8623 src/liblzma/api/lzma/index.h | 97 ++++++++++++++++++++++---------------
8624 src/liblzma/api/lzma/index_hash.h | 14 ++++--
8625 src/liblzma/api/lzma/lzma.h | 87 +++++++++++++++++----------------
8626 src/liblzma/api/lzma/stream_flags.h | 12 ++---
8627 src/liblzma/api/lzma/version.h | 10 ++--
8628 src/liblzma/api/lzma/vli.h | 7 +--
8629 12 files changed, 275 insertions(+), 197 deletions(-)
8631 commit 8e8ebc17c535a1f8846718059b48417409c37050
8632 Author: Lasse Collin <lasse.collin@tukaani.org>
8633 Date: 2009-08-18 00:30:09 +0300
8638 1 file changed, 1 insertion(+)
8640 commit b198e770a146e4a41f91a93f0b233713f2515848
8641 Author: Lasse Collin <lasse.collin@tukaani.org>
8642 Date: 2009-08-18 00:26:48 +0300
8646 Some questions worth answering were removed, because I
8647 currently don't have good up to date answers to them.
8649 doc/faq.txt | 239 +++++++++++++++++++-----------------------------------------
8650 1 file changed, 73 insertions(+), 166 deletions(-)
8652 commit fe111a25cd788d31b581996e4533910388a7f0a9
8653 Author: Lasse Collin <lasse.collin@tukaani.org>
8654 Date: 2009-08-17 22:45:50 +0300
8656 Some xz man changes.
8658 src/xz/xz.1 | 88 ++++++++++++++++++++++++++++++-------------------------------
8659 1 file changed, 43 insertions(+), 45 deletions(-)
8661 commit 10242a21e9abda0c5c6a03501703cc40b8a699a5
8662 Author: Lasse Collin <lasse.collin@tukaani.org>
8663 Date: 2009-08-16 22:15:42 +0300
8668 1 file changed, 1 insertion(+)
8670 commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d
8671 Author: Lasse Collin <lasse.collin@tukaani.org>
8672 Date: 2009-08-16 22:15:13 +0300
8674 Fix data corruption in LZ/LZMA2 encoder.
8676 Thanks to Jonathan Stott for the bug report.
8678 src/liblzma/lz/lz_encoder.h | 2 +-
8679 1 file changed, 1 insertion(+), 1 deletion(-)
8681 commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a
8682 Author: Lasse Collin <lasse.collin@tukaani.org>
8683 Date: 2009-08-13 15:15:37 +0300
8685 Updated INSTALL and PACKAGERS to match the changes
8686 made in --enable-dynamic.
8688 INSTALL | 20 ++++++++++++++++----
8689 PACKAGERS | 11 ++++++-----
8690 2 files changed, 22 insertions(+), 9 deletions(-)
8692 commit 8238c4b2402f952c4e492e5b778aa272e57b6705
8693 Author: Lasse Collin <lasse.collin@tukaani.org>
8694 Date: 2009-08-13 15:03:46 +0300
8696 Link lzmainfo against shared liblzma by default.
8698 src/lzmainfo/Makefile.am | 4 ++--
8699 1 file changed, 2 insertions(+), 2 deletions(-)
8701 commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c
8702 Author: Lasse Collin <lasse.collin@tukaani.org>
8703 Date: 2009-08-13 15:00:21 +0300
8705 Make --enable-dynamic a tristate option.
8707 Some programs will by default be linked against static
8708 liblzma and some against shared liblzma. --enable-dynamic
8709 now allows overriding the default to both directions
8710 (all dynamic or all static) even when building both
8711 shared and static liblzma.
8713 This is quite messy compared to how simple thing it is supposed
8714 to be. The complexity is mostly due to Windows support.
8716 configure.ac | 77 ++++++++++++++++++++++++++++++++++++++++++++----------------
8717 1 file changed, 57 insertions(+), 20 deletions(-)
8719 commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61
8720 Author: Lasse Collin <lasse.collin@tukaani.org>
8721 Date: 2009-08-13 12:56:47 +0300
8723 Fix xz Makefile.am for the man page.
8725 install-exec-hook -> install-data-hook
8727 src/xz/Makefile.am | 2 ++
8728 1 file changed, 2 insertions(+)
8730 commit e51b4e49e800bd84e6d589dca2964d3985e88139
8731 Author: Lasse Collin <lasse.collin@tukaani.org>
8732 Date: 2009-08-13 12:55:45 +0300
8734 Add lzmainfo for backward compatibility with LZMA Utils.
8736 lzmainfo now links against static liblzma. In contrast
8737 to other command line tools in XZ Utils, linking lzmainfo
8738 against static liblzma by default is dumb. This will be
8739 fixed once I have fixed some related issues in configure.ac.
8742 src/Makefile.am | 2 +-
8743 src/lzmainfo/Makefile.am | 29 ++++++
8744 src/lzmainfo/lzmainfo.1 | 55 +++++++++++
8745 src/lzmainfo/lzmainfo.c | 242 +++++++++++++++++++++++++++++++++++++++++++++++
8746 5 files changed, 328 insertions(+), 1 deletion(-)
8748 commit a4165d0584376d948c213ec93c6065d24ff6a5e7
8749 Author: Lasse Collin <lasse.collin@tukaani.org>
8750 Date: 2009-08-13 12:42:36 +0300
8752 Sync some error messages from xz to xzdec.
8754 Make xz error message translation usable outside
8755 xz (at least in upcoming lzmainfo).
8757 src/xz/main.c | 4 ++--
8758 src/xzdec/xzdec.c | 6 +++---
8759 2 files changed, 5 insertions(+), 5 deletions(-)
8761 commit df636eb4e066b4e154ce8e66e82c87ba1db652a6
8762 Author: Lasse Collin <lasse.collin@tukaani.org>
8763 Date: 2009-08-13 09:37:21 +0300
8765 Add xz man page to manfiles in toplevel Makefile.am.
8768 1 file changed, 1 insertion(+)
8770 commit 180bdf58ea5bb07941e0a99b304d9aa832198748
8771 Author: Lasse Collin <lasse.collin@tukaani.org>
8772 Date: 2009-08-13 09:37:01 +0300
8774 Fix first line of xz man page.
8777 1 file changed, 1 insertion(+), 1 deletion(-)
8779 commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4
8780 Author: Lasse Collin <lasse.collin@tukaani.org>
8781 Date: 2009-08-10 11:22:31 +0300
8783 Added a rough version of the xz man page.
8785 src/xz/Makefile.am | 15 +
8786 src/xz/xz.1 | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++
8787 2 files changed, 1221 insertions(+)
8789 commit e71903fc6101f1c039d702e335b08aad1e1b4100
8790 Author: Jonathan Nieder <jrnieder@gmail.com>
8791 Date: 2009-08-09 13:41:20 -0500
8793 “xzdiff a.xz b.xz” always fails
8795 Attempts to compare two compressed files result in no output and
8798 Instead of going to standard output, ‘diff’ output is being
8799 captured in the xz_status variable along with the exit status from
8800 the decompression commands. Later, when this variable is examined
8801 for nonzero status codes, numerals from dates in the ‘diff’ output
8802 make it appear as though decompression failed.
8804 So let the ‘diff’ output leak to standard output with another file
8805 descriptor. (This trick is used in all similar contexts elsewhere
8806 in xzdiff and in the analogous context in gzip’s zdiff script.)
8808 src/scripts/xzdiff.in | 2 +-
8809 1 file changed, 1 insertion(+), 1 deletion(-)
8811 commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c
8812 Author: Jonathan Nieder <jrnieder@gmail.com>
8813 Date: 2009-08-09 13:22:12 -0500
8815 xzless: Support compressed standard input
8817 It can be somewhat confusing that
8819 less < some_file.txt
8823 xzless < some_file.txt.xz
8825 does not. Since version 429, ‘less’ allows a filter specified in
8826 the LESSOPEN environment variable to preprocess its input even if
8827 it comes from standard input, if $LESSOPEN begins with ‘|-’. So
8828 set $LESSOPEN to take advantage of this feature.
8830 Check less’s version at runtime so xzless can continue to work
8831 with older versions.
8833 src/scripts/xzless.in | 8 +++++++-
8834 1 file changed, 7 insertions(+), 1 deletion(-)
8836 commit a7f5d2fe4826ac68839d00059f05004fb81d5c69
8837 Author: Lasse Collin <lasse.collin@tukaani.org>
8838 Date: 2009-08-09 20:57:46 +0300
8840 GPLv2+ not GPLv2 for Doxyfile.in is probably OK.
8843 1 file changed, 1 insertion(+), 1 deletion(-)
8845 commit b735cde20cc14857136ae65a0e5d336ed7ddc862
8846 Author: Lasse Collin <lasse.collin@tukaani.org>
8847 Date: 2009-08-02 00:27:29 +0300
8849 Added a copyright notice to Doxyfile.in since it contains
8850 lots of comments from Doxygen.
8852 It seems that the Doxygen authors' intent is to not apply
8853 their copyright on generated files, but since it doesn't
8854 matter for XZ Utils at all, better safe than sorry.
8857 1 file changed, 3 insertions(+)
8859 commit 0fd157cc008446adfc8f91394f5503868025a642
8860 Author: Lasse Collin <lasse.collin@tukaani.org>
8861 Date: 2009-08-02 00:11:37 +0300
8866 1 file changed, 1 insertion(+)
8868 commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f
8869 Author: Lasse Collin <lasse.collin@tukaani.org>
8870 Date: 2009-08-02 00:10:22 +0300
8875 1 file changed, 4 insertions(+)
8877 commit 669413bb2db954bbfde3c4542fddbbab53891eb4
8878 Author: Lasse Collin <lasse.collin@tukaani.org>
8879 Date: 2009-07-30 12:25:55 +0300
8884 1 file changed, 1 insertion(+)
8886 commit dbbd8fb870ae789d96497911006c869d37148c15
8887 Author: Jonathan Nieder <jrnieder@gmail.com>
8888 Date: 2009-07-28 17:37:24 -0500
8890 xzdiff: add missing ;; to case statement
8892 src/scripts/xzdiff.in | 6 +++---
8893 1 file changed, 3 insertions(+), 3 deletions(-)
8895 commit adbad2d16cb5909f85d4a429011005613ea62ffe
8896 Author: Lasse Collin <lasse.collin@tukaani.org>
8897 Date: 2009-07-24 13:15:06 +0300
8899 Added history.txt to doc_DATA.
8902 1 file changed, 1 insertion(+)
8904 commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27
8905 Author: Lasse Collin <lasse.collin@tukaani.org>
8906 Date: 2009-07-24 12:00:40 +0300
8908 Updated .gitignore files.
8910 .gitignore | 36 +++++++++++++++++++-----------------
8911 po/.gitignore | 3 +++
8912 2 files changed, 22 insertions(+), 17 deletions(-)
8914 commit 2f34fb269265e3aba43a2a9c734020a45268826d
8915 Author: Lasse Collin <lasse.collin@tukaani.org>
8916 Date: 2009-07-24 11:34:02 +0300
8918 Minor improvements to COPYING.
8920 COPYING | 11 ++++++++---
8921 1 file changed, 8 insertions(+), 3 deletions(-)
8923 commit 0db1befcfbc120377df4b89923762f16d25f548a
8924 Author: Lasse Collin <lasse.collin@tukaani.org>
8925 Date: 2009-07-23 19:10:55 +0300
8927 Fix incorrect usage of getopt_long(), which caused
8928 invalid memory access if XZ_OPT was defined.
8931 1 file changed, 1 deletion(-)
8933 commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48
8934 Author: Lasse Collin <lasse.collin@tukaani.org>
8935 Date: 2009-07-20 15:43:32 +0300
8937 Avoid internal error with --format=xz --lzma1.
8939 src/xz/coder.c | 16 ++++++++++++----
8940 1 file changed, 12 insertions(+), 4 deletions(-)
8942 commit 99f9e879a6a8bb54a65da99c12e0f390216c152a
8943 Author: Lasse Collin <lasse.collin@tukaani.org>
8944 Date: 2009-07-19 13:14:20 +0300
8946 Major documentation update.
8948 Installation and packaging instructions were added.
8949 README and other generic docs were revised.
8951 Some of the documentation files are now installed to $docdir.
8955 INSTALL | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8956 INSTALL.generic | 302 +++++++++++++++++++++++++++++++++++++++++++++++++++
8958 PACKAGERS | 278 +++++++++++++++++++++++++++++++++++++++++++++++
8959 README | 263 ++++++++++++++++++++-------------------------
8961 8 files changed, 1070 insertions(+), 170 deletions(-)
8963 commit ef4cf1851de89022cba5674784f1a8f6343c15b0
8964 Author: Lasse Collin <lasse.collin@tukaani.org>
8965 Date: 2009-07-19 11:09:31 +0300
8967 Added missing author notice to xzless.in.
8969 src/scripts/xzless.in | 1 +
8970 1 file changed, 1 insertion(+)
8972 commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77
8973 Author: Lasse Collin <lasse.collin@tukaani.org>
8974 Date: 2009-07-18 18:54:55 +0300
8976 Use AC_CONFIG_AUX_DIR to clean up the toplevel directory
8979 Fixed a related bug in the toplevel Makefile.am.
8981 Added the build-aux directory to .gitignore.
8985 configure.ac | 3 ++-
8986 3 files changed, 3 insertions(+), 2 deletions(-)
8988 commit 366e436090a7a87215e9bf0e3ddcd55f05b50587
8989 Author: Lasse Collin <lasse.collin@tukaani.org>
8990 Date: 2009-07-18 14:34:08 +0300
8992 Updated the totally outdated TODO file.
8994 TODO | 117 ++++++++++++++++---------------------------------------------------
8995 1 file changed, 27 insertions(+), 90 deletions(-)
8997 commit 64e498c89d8b9966e8663f43bf64d47c26c55c62
8998 Author: Lasse Collin <lasse.collin@tukaani.org>
8999 Date: 2009-07-18 11:26:39 +0300
9001 Added public domain notice into a few files.
9003 src/common/common_w32res.rc | 9 ++++++++-
9004 src/liblzma/liblzma.pc.in | 7 +++++++
9005 src/liblzma/liblzma_w32res.rc | 7 +++++++
9006 src/xz/xz_w32res.rc | 7 +++++++
9007 src/xzdec/xzdec_w32res.rc | 7 +++++++
9008 5 files changed, 36 insertions(+), 1 deletion(-)
9010 commit a35755c5de808df027675688855d1b621a4fb428
9011 Author: Lasse Collin <lasse.collin@tukaani.org>
9012 Date: 2009-07-14 21:10:36 +0300
9014 Allow extra commas in filter-specific options on xz command line.
9016 This may slightly ease writing scripts that construct
9017 filter-specific option strings dynamically.
9019 src/xz/options.c | 7 +++++++
9020 1 file changed, 7 insertions(+)
9022 commit 98f3cac1ad31191c5160a7e48398bf85141e941c
9023 Author: Lasse Collin <lasse.collin@tukaani.org>
9024 Date: 2009-07-14 18:04:31 +0300
9026 Accept --lzma2=preset=6e where "e" is equivalent to --extreme
9027 when no custom chain is in use.
9029 src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++++---------------
9030 1 file changed, 59 insertions(+), 21 deletions(-)
9032 commit d873a09e956363e54bf58c577c8f7e487b6fb464
9033 Author: Lasse Collin <lasse.collin@tukaani.org>
9034 Date: 2009-07-12 19:08:30 +0300
9036 Add dist-hook to create ChangeLog from the commit log,
9037 and to conver the man pages to PDF and plain text, which
9038 may be convenient to those who cannot render man pages.
9040 Makefile.am | 31 +++++++++++++++++++++++++++++++
9041 1 file changed, 31 insertions(+)
9043 commit cd69a5a6c16c289f6f8e2823b03c72289472270f
9044 Author: Lasse Collin <lasse.collin@tukaani.org>
9045 Date: 2009-07-10 11:39:38 +0300
9047 BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.
9049 This is a quick and slightly dirty fix to make the code
9050 conform to the latest file format specification. Without
9051 this patch, it's possible to make corrupt files by
9052 specifying start offset that is not a multiple of the
9053 filter's alignment. Custom start offset is almost never
9054 used, so this was only a minor bug.
9056 The xz command line tool doesn't validate the start offset,
9057 so one will get a bit unclear error message if trying to use
9058 an invalid start offset.
9060 src/liblzma/simple/arm.c | 2 +-
9061 src/liblzma/simple/armthumb.c | 2 +-
9062 src/liblzma/simple/ia64.c | 2 +-
9063 src/liblzma/simple/powerpc.c | 2 +-
9064 src/liblzma/simple/simple_coder.c | 5 ++++-
9065 src/liblzma/simple/simple_private.h | 3 ++-
9066 src/liblzma/simple/sparc.c | 2 +-
9067 src/liblzma/simple/x86.c | 2 +-
9068 8 files changed, 12 insertions(+), 8 deletions(-)
9070 commit eed9953732b801f6c97317fb3160445a8754180b
9071 Author: Lasse Collin <lasse.collin@tukaani.org>
9072 Date: 2009-07-10 11:33:21 +0300
9074 Look for full command names instead of substrings
9075 like "un", "cat", and "lz" when determining if
9076 xz is run as unxz, xzcat, lzma, unlzma, or lzcat.
9078 This is to ensure that if xz is renamed (e.g. via
9079 --program-transform-name), it doesn't so easily
9082 src/xz/args.c | 22 +++++++++++++---------
9083 1 file changed, 13 insertions(+), 9 deletions(-)
9085 commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658
9086 Author: Lasse Collin <lasse.collin@tukaani.org>
9087 Date: 2009-07-08 23:06:46 +0300
9092 1 file changed, 2 insertions(+)
9094 commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e
9095 Author: Lasse Collin <lasse.collin@tukaani.org>
9096 Date: 2009-07-08 23:05:29 +0300
9098 Portability improvement to version.sh.
9101 1 file changed, 2 insertions(+), 1 deletion(-)
9103 commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f
9104 Author: Lasse Collin <lasse.collin@tukaani.org>
9105 Date: 2009-07-08 22:50:16 +0300
9107 Remove --force from xzdec.
9109 It was ignored for compatibility with xz, but now that
9110 --decompress --stdout --force copies unrecognized files
9111 as is to stdout, simply ignoring --force in xzdec would
9112 be wrong. xzdec will not support copying unrecognized
9113 data as is to stdout, so it cannot support --force.
9115 src/xzdec/xzdec.1 | 5 -----
9116 src/xzdec/xzdec.c | 5 +----
9117 2 files changed, 1 insertion(+), 9 deletions(-)
9119 commit 5f16ef4abf220028a9ddbcb138217597a9455f62
9120 Author: Lasse Collin <lasse.collin@tukaani.org>
9121 Date: 2009-07-06 10:36:04 +0300
9123 Use sed instead of $(SED) so that we don't need to
9124 use AC_PROG_SED. We don't do anything fancy with sed,
9125 so this should work OK. libtool 2.2 sets SED but 1.5
9126 doesn't, so $(SED) happened to work when using libtool 2.2.
9128 src/liblzma/Makefile.am | 2 +-
9129 src/scripts/Makefile.am | 28 ++++++++++++++--------------
9130 src/xz/Makefile.am | 6 +++---
9131 src/xzdec/Makefile.am | 6 +++---
9132 4 files changed, 21 insertions(+), 21 deletions(-)
9134 commit 96e4b257e101d72072d43e144897d92920270669
9135 Author: Lasse Collin <lasse.collin@tukaani.org>
9136 Date: 2009-07-05 22:25:17 +0300
9138 Major update to the xzgrep and other scripts based on
9139 the latest versions found from gzip CVS repository.
9141 configure will try to find a POSIX shell to be used by
9142 the scripts. This should ease portability on systems
9143 which have pre-POSIX /bin/sh.
9145 xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files.
9146 xzmore and xzless support only .xz and .lzma files.
9148 The name of the xz executable used in these scripts is
9149 now correct even if --program-transform-name has been used.
9151 configure.ac | 14 ++++
9152 m4/posix-shell.m4 | 63 ++++++++++++++++
9153 src/scripts/Makefile.am | 24 +++---
9154 src/scripts/xzdiff | 67 -----------------
9155 src/scripts/xzdiff.1 | 58 ++++++++------
9156 src/scripts/xzdiff.in | 172 ++++++++++++++++++++++++++++++++++++++++++
9157 src/scripts/xzgrep | 123 ------------------------------
9158 src/scripts/xzgrep.1 | 85 ++++++++++++---------
9159 src/scripts/xzgrep.in | 196 ++++++++++++++++++++++++++++++++++++++++++++++++
9160 src/scripts/xzless.1 | 66 ++++++++++++++++
9161 src/scripts/xzless.in | 51 +++++++++++++
9162 src/scripts/xzmore | 74 ------------------
9163 src/scripts/xzmore.1 | 64 +++++++---------
9164 src/scripts/xzmore.in | 78 +++++++++++++++++++
9165 14 files changed, 766 insertions(+), 369 deletions(-)
9167 commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100
9168 Author: Lasse Collin <lasse.collin@tukaani.org>
9169 Date: 2009-07-05 19:26:53 +0300
9171 Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.
9173 src/liblzma/liblzma.pc.in | 2 +-
9174 1 file changed, 1 insertion(+), 1 deletion(-)
9176 commit 18c10c30d2833f394cd7bce0e6a821044b15832f
9177 Author: Lasse Collin <lasse.collin@tukaani.org>
9178 Date: 2009-07-04 00:40:44 +0300
9180 Make "xz --decompress --stdout --force" copy unrecognized
9181 files as is to standard output.
9183 This feature is needed to be more compatible with gzip's
9184 behavior. This was more complicated to implement than it
9185 sounds, because the way liblzma is able to return errors with
9186 files of only a few bytes in size. xz now has its own file
9187 type detection code and no longer uses lzma_auto_decoder().
9189 src/xz/coder.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++----------
9190 1 file changed, 178 insertions(+), 35 deletions(-)
9192 commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633
9193 Author: Lasse Collin <lasse.collin@tukaani.org>
9194 Date: 2009-07-02 14:30:38 +0300
9196 Define PACKAGE_HOMEPAGE in configure.ac and use it in
9199 Use also PACKAGE_NAME instead of hardcoding "XZ Utils".
9201 configure.ac | 5 +++++
9202 src/xz/message.c | 4 ++--
9203 src/xzdec/xzdec.c | 4 ++--
9204 3 files changed, 9 insertions(+), 4 deletions(-)
9206 commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c
9207 Author: Lasse Collin <lasse.collin@tukaani.org>
9208 Date: 2009-07-01 12:21:24 +0300
9210 Avoid visibility related compiler warnings on Windows.
9212 configure.ac | 20 +++++++++-----------
9213 1 file changed, 9 insertions(+), 11 deletions(-)
9215 commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e
9216 Author: Lasse Collin <lasse.collin@tukaani.org>
9217 Date: 2009-06-30 17:14:39 +0300
9219 Use static liblzma by default also for tests.
9221 tests/Makefile.am | 5 ++++-
9222 1 file changed, 4 insertions(+), 1 deletion(-)
9224 commit f42ee981668b545ab6d06c6072e262c29605273c
9225 Author: Lasse Collin <lasse.collin@tukaani.org>
9226 Date: 2009-06-30 17:09:57 +0300
9230 Don't use libtool convenience libraries to avoid recently
9231 discovered long-standing subtle but somewhat severe bugs
9232 in libtool (at least 1.5.22 and 2.2.6 are affected). It
9233 was found when porting XZ Utils to Windows
9234 <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
9235 but the problem is significant also e.g. on GNU/Linux.
9237 Unless --disable-shared is passed to configure, static
9238 library built from a set of convenience libraries will
9239 contain PIC objects. That is, while libtool builds non-PIC
9240 objects too, only PIC objects will be used from the
9241 convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
9242 using PIC instead of non-PIC makes the decompressor 10 % slower
9243 with the default CFLAGS.
9245 So while xz was linked against static liblzma by default,
9246 it got the slower PIC objects unless --disable-shared was
9247 used. I tend develop and benchmark with --disable-shared
9248 due to faster build time, so I hadn't noticed the problem
9249 in benchmarks earlier.
9251 This commit also adds support for building Windows resources
9252 into liblzma and executables.
9254 configure.ac | 34 ++++++++++------
9255 src/liblzma/Makefile.am | 79 +++++++++++++++++++++++++++++--------
9256 src/liblzma/check/Makefile.am | 47 ----------------------
9257 src/liblzma/check/Makefile.inc | 51 ++++++++++++++++++++++++
9258 src/liblzma/common/Makefile.am | 78 ------------------------------------
9259 src/liblzma/common/Makefile.inc | 67 +++++++++++++++++++++++++++++++
9260 src/liblzma/common/common.h | 16 +++++---
9261 src/liblzma/delta/Makefile.am | 28 -------------
9262 src/liblzma/delta/Makefile.inc | 23 +++++++++++
9263 src/liblzma/lz/Makefile.am | 29 --------------
9264 src/liblzma/lz/Makefile.inc | 21 ++++++++++
9265 src/liblzma/lzma/Makefile.am | 51 ------------------------
9266 src/liblzma/lzma/Makefile.inc | 43 ++++++++++++++++++++
9267 src/liblzma/rangecoder/Makefile.am | 26 ------------
9268 src/liblzma/rangecoder/Makefile.inc | 21 ++++++++++
9269 src/liblzma/simple/Makefile.am | 51 ------------------------
9270 src/liblzma/simple/Makefile.inc | 47 ++++++++++++++++++++++
9271 src/liblzma/subblock/Makefile.am | 26 ------------
9272 src/liblzma/subblock/Makefile.inc | 20 ++++++++++
9273 src/xz/Makefile.am | 11 +++++-
9274 src/xzdec/Makefile.am | 20 +++++++++-
9275 21 files changed, 417 insertions(+), 372 deletions(-)
9277 commit 89dac1db6f168d7469cfbc4432651d4724c5c0de
9278 Author: Lasse Collin <lasse.collin@tukaani.org>
9279 Date: 2009-06-29 22:19:51 +0300
9281 Added a comment about "autoconf -fi" to autogen.sh.
9284 1 file changed, 3 insertions(+)
9286 commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd
9287 Author: Lasse Collin <lasse.collin@tukaani.org>
9288 Date: 2009-06-28 10:04:24 +0300
9290 Add -no-undefined to get shared liblzma on Windows.
9292 src/liblzma/Makefile.am | 2 +-
9293 1 file changed, 1 insertion(+), 1 deletion(-)
9295 commit 73f560ee5fa064992b76688d9472baf139432540
9296 Author: Lasse Collin <lasse.collin@tukaani.org>
9297 Date: 2009-06-27 22:57:15 +0300
9299 Make physmem() work on Cygwin 1.5 and older.
9301 src/common/physmem.h | 77 +++++++++++++++++++++++++++-------------------------
9302 1 file changed, 40 insertions(+), 37 deletions(-)
9304 commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1
9305 Author: Lasse Collin <lasse.collin@tukaani.org>
9306 Date: 2009-06-27 17:28:01 +0300
9308 Moved the Windows resource files outside the windows directory
9309 to prepare for building them with Autotools.
9311 windows/common.rc => src/common/common_w32res.rc | 0
9312 .../liblzma.rc => src/liblzma/liblzma_w32res.rc | 2 +-
9313 windows/xz.rc => src/xz/xz_w32res.rc | 2 +-
9314 windows/lzmadec.rc => src/xzdec/lzmadec_w32res.rc | 2 +-
9315 windows/xzdec.rc => src/xzdec/xzdec_w32res.rc | 2 +-
9316 windows/Makefile | 35 ++++++++++++----------
9317 6 files changed, 23 insertions(+), 20 deletions(-)
9319 commit 449c634674f35336a4815d398172e447659a135e
9320 Author: Lasse Collin <lasse.collin@tukaani.org>
9321 Date: 2009-06-27 13:05:03 +0300
9323 Added missing $(EXEEXT).
9325 src/xz/Makefile.am | 2 +-
9326 1 file changed, 1 insertion(+), 1 deletion(-)
9328 commit 792db79f27ad9ab1fb977e23be65c7761f545752
9329 Author: Lasse Collin <lasse.collin@tukaani.org>
9330 Date: 2009-06-27 12:32:40 +0300
9332 Create correct symlinks even when
9333 --program-{prefix,suffix,transform} is passed to configure.
9335 src/scripts/Makefile.am | 80 ++++++++++++++++++++++++++++---------------------
9336 src/xz/Makefile.am | 21 ++++++++-----
9337 src/xzdec/Makefile.am | 9 ++++--
9338 3 files changed, 65 insertions(+), 45 deletions(-)
9340 commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b
9341 Author: Lasse Collin <lasse.collin@tukaani.org>
9342 Date: 2009-06-27 10:02:24 +0300
9344 Silence a compiler warning on DOS-like systems.
9346 src/xz/file_io.c | 5 ++++-
9347 1 file changed, 4 insertions(+), 1 deletion(-)
9349 commit ad12edc95254ede3f0cb8dec8645e8789e984c4f
9350 Author: Lasse Collin <lasse.collin@tukaani.org>
9351 Date: 2009-06-27 09:35:15 +0300
9353 Updated the filenames in POTFILES.in too.
9355 po/POTFILES.in | 4 ++--
9356 1 file changed, 2 insertions(+), 2 deletions(-)
9358 commit b2b1f867532732fe9969131f8713bdd6b0731763
9359 Author: Lasse Collin <lasse.collin@tukaani.org>
9360 Date: 2009-06-27 00:43:06 +0300
9362 Hopefully improved portability of the assembler code in
9363 Autotools based builds on Windows.
9365 src/liblzma/check/crc32_x86.S | 8 +++++++-
9366 src/liblzma/check/crc64_x86.S | 8 +++++++-
9367 2 files changed, 14 insertions(+), 2 deletions(-)
9369 commit c393055947247627a09b6a6b8f20aa0c32f9be16
9370 Author: Lasse Collin <lasse.collin@tukaani.org>
9371 Date: 2009-06-26 21:17:29 +0300
9373 Updated THANKS (most of today's commits are based on
9374 Charles Wilson's patches).
9377 1 file changed, 1 insertion(+)
9379 commit da0af22e4b4139b8a10710945f8b245b3a77c97d
9380 Author: Lasse Collin <lasse.collin@tukaani.org>
9381 Date: 2009-06-26 21:00:35 +0300
9383 Updated comments to match renamed files.
9385 src/xz/coder.c | 2 +-
9386 src/xz/coder.h | 2 +-
9387 src/xz/file_io.c | 2 +-
9388 src/xz/file_io.h | 2 +-
9389 4 files changed, 4 insertions(+), 4 deletions(-)
9391 commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2
9392 Author: Lasse Collin <lasse.collin@tukaani.org>
9393 Date: 2009-06-26 20:49:54 +0300
9395 Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
9396 to avoid problems on systems with system headers with those
9399 dos/Makefile | 4 ++--
9400 src/xz/Makefile.am | 8 ++++----
9401 src/xz/{process.c => coder.c} | 0
9402 src/xz/{process.h => coder.h} | 0
9403 src/xz/{io.c => file_io.c} | 0
9404 src/xz/{io.h => file_io.h} | 0
9405 src/xz/private.h | 4 ++--
9406 windows/Makefile | 4 ++--
9407 8 files changed, 10 insertions(+), 10 deletions(-)
9409 commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8
9410 Author: Lasse Collin <lasse.collin@tukaani.org>
9411 Date: 2009-06-26 20:43:36 +0300
9413 Rename process_file() to coder_run().
9415 src/xz/main.c | 6 +++---
9416 src/xz/process.c | 6 +++---
9417 src/xz/process.h | 5 ++---
9418 3 files changed, 8 insertions(+), 9 deletions(-)
9420 commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc
9421 Author: Lasse Collin <lasse.collin@tukaani.org>
9422 Date: 2009-06-26 20:36:45 +0300
9424 Ugly hack to make it possible to use the thousand separator
9425 format character with snprintf() on POSIX systems but not
9426 on non-POSIX systems and still keep xgettext working.
9428 dos/Makefile | 16 +++-------------
9429 src/xz/message.c | 17 +++++++++--------
9430 src/xz/process.c | 30 +++++++++++++++---------------
9431 src/xz/util.c | 34 ++++++++++++++++++++++++++++++++++
9432 src/xz/util.h | 20 ++++++++++++++++++++
9433 windows/Makefile | 13 +++----------
9434 6 files changed, 84 insertions(+), 46 deletions(-)
9436 commit fe378d47074b16c52b00fe184d119287c68ce2e7
9437 Author: Lasse Collin <lasse.collin@tukaani.org>
9438 Date: 2009-06-26 15:40:40 +0300
9440 Added missing source files to windows/Makefile.
9442 windows/Makefile | 2 ++
9443 1 file changed, 2 insertions(+)
9445 commit 390a6408563067613b29de895cb40e4d0386d62c
9446 Author: Lasse Collin <lasse.collin@tukaani.org>
9447 Date: 2009-06-26 15:37:53 +0300
9449 Basic support for building with Cygwin and MinGW using
9450 the Autotools based build system. It's not good yet, more
9453 configure.ac | 7 +++++++
9454 src/liblzma/api/lzma.h | 7 +++++--
9455 src/liblzma/check/crc32_x86.S | 7 ++++---
9456 src/liblzma/check/crc64_x86.S | 7 ++++---
9457 src/liblzma/common/common.h | 2 +-
9458 windows/Makefile | 16 +++++++---------
9459 6 files changed, 28 insertions(+), 18 deletions(-)
9461 commit 1c9360b7d1197457aaad2f8888b99f1149861579
9462 Author: Lasse Collin <lasse.collin@tukaani.org>
9463 Date: 2009-06-26 14:47:31 +0300
9465 Fix @variables@ to $(variables) in Makefile.am files.
9466 Fix the ordering of libgnu.a and LTLIBINTL on the linker
9467 command line and added missing LTLIBINTL to tests/Makefile.am.
9469 debug/Makefile.am | 12 ++++++------
9470 src/liblzma/check/Makefile.am | 4 ++--
9471 src/liblzma/common/Makefile.am | 16 ++++++++--------
9472 src/liblzma/delta/Makefile.am | 4 ++--
9473 src/liblzma/lz/Makefile.am | 6 +++---
9474 src/liblzma/lzma/Makefile.am | 8 ++++----
9475 src/liblzma/rangecoder/Makefile.am | 4 ++--
9476 src/liblzma/simple/Makefile.am | 4 ++--
9477 src/liblzma/subblock/Makefile.am | 4 ++--
9478 src/xz/Makefile.am | 21 +++++++++++----------
9479 src/xzdec/Makefile.am | 19 ++++++++++---------
9480 tests/Makefile.am | 12 +++++++-----
9481 12 files changed, 59 insertions(+), 55 deletions(-)
9483 commit d45615c555e250209ebb55aa3649abe790f1eeac
9484 Author: Lasse Collin <lasse.collin@tukaani.org>
9485 Date: 2009-06-26 14:20:02 +0300
9487 Allow to explicitly specify autotool versions in autogen.sh.
9489 autogen.sh | 12 ++++++------
9490 1 file changed, 6 insertions(+), 6 deletions(-)
9492 commit eaf8367368a329afa48785380f9dca6b681f3397
9493 Author: Lasse Collin <lasse.collin@tukaani.org>
9494 Date: 2009-06-26 14:18:32 +0300
9496 Add version.sh to EXTRA_DIST.
9499 1 file changed, 2 insertions(+), 1 deletion(-)
9501 commit b317b218e2d383dd27a700094c0de4510540ea18
9502 Author: Lasse Collin <lasse.collin@tukaani.org>
9503 Date: 2009-06-24 20:14:10 +0300
9505 Support HW_PHYSMEM64
9507 src/common/physmem.h | 30 +++++++++++++++++++-----------
9508 1 file changed, 19 insertions(+), 11 deletions(-)
9510 commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7
9511 Author: Lasse Collin <lasse.collin@tukaani.org>
9512 Date: 2009-06-24 13:01:59 +0300
9514 Cast a char argument to isspace() to unsigned char.
9516 src/xz/args.c | 11 +++++++++--
9517 1 file changed, 9 insertions(+), 2 deletions(-)
9519 commit 1735d31ea347210e914df038eeea4b2626e76e42
9520 Author: Lasse Collin <lasse.collin@tukaani.org>
9521 Date: 2009-06-05 13:46:26 +0300
9523 A few more spelling fixes. Released the .xz spec 1.0.3.
9525 doc/xz-file-format.txt | 12 +++++++-----
9526 1 file changed, 7 insertions(+), 5 deletions(-)
9528 commit 8ed156ce894966103e895aa08f2a9fb912f6fad5
9529 Author: Lasse Collin <lasse.collin@tukaani.org>
9530 Date: 2009-06-04 23:42:12 +0300
9532 Added xzdec man page.
9534 src/xzdec/Makefile.am | 11 ++++
9535 src/xzdec/xzdec.1 | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++
9536 2 files changed, 184 insertions(+)
9538 commit f6df39afaa84f71439507178a49b2a5dda6e824c
9539 Author: Lasse Collin <lasse.collin@tukaani.org>
9540 Date: 2009-06-04 23:26:47 +0300
9542 Harmonized xzdec --memory with xz --memory and made
9545 src/xzdec/xzdec.c | 74 +++++++++++++++++++++++++++++++++++++++----------------
9546 1 file changed, 53 insertions(+), 21 deletions(-)
9548 commit 1774f27c61ce294a56712ca2f4785f90a62441bc
9549 Author: Lasse Collin <lasse.collin@tukaani.org>
9550 Date: 2009-06-04 22:59:55 +0300
9552 Fix purporse -> purpose. Thanks to Andrew Dudman.
9553 Released .xz spec 1.0.2 due to this fix too.
9556 doc/xz-file-format.txt | 8 +++++---
9557 src/liblzma/liblzma.pc.in | 2 +-
9558 windows/Makefile | 2 +-
9559 4 files changed, 8 insertions(+), 5 deletions(-)
9561 commit cb613455642f48fb51059e22018615f64c59b70f
9562 Author: Lasse Collin <lasse.collin@tukaani.org>
9563 Date: 2009-06-01 14:53:57 +0300
9565 The .xz file format version 1.0.1
9567 doc/xz-file-format.txt | 29 ++++++++++++++++++++++-------
9568 1 file changed, 22 insertions(+), 7 deletions(-)
9570 commit 083c23c680ff844846d177cfc58bb7a874e7e6b9
9571 Author: Lasse Collin <lasse.collin@tukaani.org>
9572 Date: 2009-05-26 14:48:48 +0300
9574 Make the raw value of the Check field available to applications
9575 via lzma_block structure.
9577 This changes ABI but not doesn't break API.
9579 src/liblzma/api/lzma/block.h | 17 ++++++++++++++++
9580 src/liblzma/common/block_buffer_encoder.c | 1 +
9581 src/liblzma/common/block_decoder.c | 34 ++++++++++++++-----------------
9582 src/liblzma/common/block_encoder.c | 21 ++++++++-----------
9583 4 files changed, 42 insertions(+), 31 deletions(-)
9585 commit b4f5c814090dc07d4350453576305e41eb9c998d
9586 Author: Lasse Collin <lasse.collin@tukaani.org>
9587 Date: 2009-05-23 16:57:21 +0300
9589 Remove undocumented alternative option names --bcj, --ppc,
9592 src/xz/args.c | 3 ---
9593 1 file changed, 3 deletions(-)
9595 commit b1edee2cdc7ef4411b1a21c07094ec763f071281
9596 Author: Lasse Collin <lasse.collin@tukaani.org>
9597 Date: 2009-05-23 15:12:23 +0300
9599 Add support for specifying the BCJ filter start offset
9600 in the xz command line tool.
9602 src/xz/args.c | 36 +++++++++++++++++++++---------------
9603 src/xz/message.c | 14 ++++++++------
9604 src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++
9605 src/xz/options.h | 7 +++++++
9606 4 files changed, 76 insertions(+), 21 deletions(-)
9608 commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb
9609 Author: Lasse Collin <lasse.collin@tukaani.org>
9610 Date: 2009-05-23 14:51:09 +0300
9615 1 file changed, 2 insertions(+)
9617 commit dcedb6998cefeca6597dd1219328a3abf5acf66d
9618 Author: Lasse Collin <lasse.collin@tukaani.org>
9619 Date: 2009-05-22 16:40:50 +0300
9621 Added support for --quiet and --no-warn to xzdec.
9622 Cleaned up the --help message a little.
9624 src/xzdec/xzdec.c | 76 +++++++++++++++++++++++++++++++++++--------------------
9625 1 file changed, 49 insertions(+), 27 deletions(-)
9627 commit 5f735dae80aa629853f4831d7b84ec1c614979eb
9628 Author: Lasse Collin <lasse.collin@tukaani.org>
9629 Date: 2009-05-22 15:11:52 +0300
9631 Use the 40 % of RAM memory usage limit in xzdec too.
9633 Update the memory usage info text in --help to match
9634 the text in xz --long-help.
9636 src/xzdec/xzdec.c | 10 +++++-----
9637 1 file changed, 5 insertions(+), 5 deletions(-)
9639 commit b60376249e0c586910c4121fab4f791820cc1289
9640 Author: Lasse Collin <lasse.collin@tukaani.org>
9641 Date: 2009-05-22 14:43:00 +0300
9645 src/xz/args.c | 8 +++++++-
9646 src/xz/main.c | 17 +++++++++++++++++
9647 src/xz/main.h | 6 ++++++
9648 src/xz/message.c | 4 ++++
9649 4 files changed, 34 insertions(+), 1 deletion(-)
9651 commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008
9652 Author: Lasse Collin <lasse.collin@tukaani.org>
9653 Date: 2009-05-22 14:27:40 +0300
9657 src/xz/main.h | 2 +-
9658 1 file changed, 1 insertion(+), 1 deletion(-)
9660 commit 4dd21d23f22569285ae706b58b0e5904b8db1839
9661 Author: Lasse Collin <lasse.collin@tukaani.org>
9662 Date: 2009-05-22 14:21:20 +0300
9664 Remove the --info option, which was an alias for --list.
9667 1 file changed, 1 deletion(-)
9669 commit 8836139b63ce774bdd62abf17ab69b290e08229e
9670 Author: Lasse Collin <lasse.collin@tukaani.org>
9671 Date: 2009-05-22 12:27:43 +0300
9673 If xz is run as lzma, unlzma, or lzcat, simply imply
9674 --format=lzma. This means that xz emulating lzma
9675 doesn't decompress .xz files, while before this
9676 commit it did. The new way is slightly simpler in
9677 code and especially in upcoming documentation.
9679 src/xz/args.c | 17 ++++++-----------
9680 1 file changed, 6 insertions(+), 11 deletions(-)
9682 commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d
9683 Author: Lasse Collin <lasse.collin@tukaani.org>
9684 Date: 2009-05-22 11:29:50 +0300
9686 Make the default memory usage limit 40 % of RAM for both
9687 compressing and decompressing. This should be OK now that
9688 xz automatically scales down the compression settings if
9689 they would exceed the memory usage limit (earlier, the limit
9690 for compression was increased to 90 % because low limit broke
9691 scripts that used "xz -9" on systems with low RAM).
9693 Support spcifying the memory usage limit as a percentage
9694 of RAM (e.g. --memory=50%).
9696 Support --threads=0 to reset the thread limit to the default
9697 value (number of available CPU cores). Use UINT32_MAX instead
9698 of SIZE_MAX as the maximum in args.c. hardware.c was already
9699 expecting uint32_t value.
9701 Cleaned up the output of --help and --long-help.
9703 src/xz/args.c | 28 +++++++++++++-----
9704 src/xz/hardware.c | 86 +++++++++++++++++++++++--------------------------------
9705 src/xz/hardware.h | 10 +++----
9706 src/xz/message.c | 28 +++++++++---------
9707 src/xz/process.c | 18 +++++-------
9708 5 files changed, 82 insertions(+), 88 deletions(-)
9710 commit 071b825b23911a69dd1cd2f8cda004ef8a781fae
9711 Author: Lasse Collin <lasse.collin@tukaani.org>
9712 Date: 2009-05-21 17:22:01 +0300
9714 Support special value "max" where xz and xzdec accept an integer.
9715 Don't round the memory usage limit in xzdec --help to avoid
9716 an integer overflow and to not give wrong impression that
9717 the limit is high enough when it may not actually be.
9719 src/xz/util.c | 4 ++++
9720 src/xzdec/xzdec.c | 6 +++++-
9721 2 files changed, 9 insertions(+), 1 deletion(-)
9723 commit 03ca67fd37dd43fa7f590de340899cd497c10802
9724 Author: ABCD <en.abcd@gmail.com>
9725 Date: 2009-05-20 17:31:18 -0400
9727 Install lzdiff, lzgrep, and lzmore as symlinks
9729 This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install.
9730 It also installs symlinks for the manual pages and removes the new
9731 symlinks on uninstall.
9733 src/scripts/Makefile.am | 16 ++++++++++++++--
9734 1 file changed, 14 insertions(+), 2 deletions(-)
9736 commit a6f43e64128a6da5cd641de1e1e527433b3e5638
9737 Author: Lasse Collin <lasse.collin@tukaani.org>
9738 Date: 2009-05-02 16:10:14 +0300
9740 Use a GCC-specific #pragma instead of GCC-specific
9741 -Wno-uninitialized to silence a bogus warning.
9743 configure.ac | 13 -------------
9744 src/liblzma/check/Makefile.am | 5 -----
9745 src/liblzma/check/sha256.c | 5 +++++
9746 3 files changed, 5 insertions(+), 18 deletions(-)
9748 commit f6ce63ebdb45a857c8949960c83c9580ae888951
9749 Author: Lasse Collin <lasse.collin@tukaani.org>
9750 Date: 2009-05-02 14:46:50 +0300
9752 Removed --disable-encoder and --disable-decoder. Use the values
9753 given to --enable-encoders and --enable-decoders to determine
9754 if any encoder or decoder support is wanted.
9756 configure.ac | 48 ++++++++----------------------------------------
9757 1 file changed, 8 insertions(+), 40 deletions(-)
9759 commit be06858d5cf8ba46557395035d821dc332f3f830
9760 Author: Lasse Collin <lasse.collin@tukaani.org>
9761 Date: 2009-05-01 11:28:52 +0300
9763 Remove docs that are too outdated to be updated
9764 (rewrite will be better).
9766 doc/liblzma-advanced.txt | 324 -----------------------------------------------
9767 doc/liblzma-hacking.txt | 112 ----------------
9768 doc/liblzma-intro.txt | 194 ----------------------------
9769 doc/liblzma-security.txt | 219 --------------------------------
9770 doc/lzma-intro.txt | 107 ----------------
9771 5 files changed, 956 deletions(-)
9773 commit 0255401e57c96af87c6b159eca28974e79430a82
9774 Author: Lasse Collin <lasse.collin@tukaani.org>
9775 Date: 2009-05-01 11:21:46 +0300
9777 Added documentation about the legacy .lzma file format.
9779 doc/lzma-file-format.txt | 166 +++++++++++++++++++++++++++++++++++++++++++++++
9780 1 file changed, 166 insertions(+)
9782 commit 1496ff437c46f38303e0e94c511ca604b3a11f85
9783 Author: Lasse Collin <lasse.collin@tukaani.org>
9784 Date: 2009-05-01 11:20:23 +0300
9786 Renamed the file format specification to xz-file-format.txt
9787 which is the filename used on the WWW.
9789 doc/{file-format.txt => xz-file-format.txt} | 0
9790 1 file changed, 0 insertions(+), 0 deletions(-)
9792 commit 21c6b94373d239d7e86bd480fcd558e30391712f
9793 Author: Lasse Collin <lasse.collin@tukaani.org>
9794 Date: 2009-04-28 23:08:32 +0300
9796 Fixed a crash in liblzma.
9798 liblzma tries to avoid useless free()/malloc() pairs in
9799 initialization when multiple files are handled using the
9800 same lzma_stream. This didn't work with filter chains
9801 due to comparison of wrong pointers in lzma_next_coder_init(),
9802 making liblzma think that no memory reallocation is needed
9803 even when it actually is.
9805 Easy way to trigger this bug is to decompress two files with
9806 a single xz command. The first file should have e.g. x86+LZMA2
9807 as the filter chain, and the second file just LZMA2.
9809 src/liblzma/common/alone_decoder.c | 2 +-
9810 src/liblzma/common/alone_encoder.c | 4 ++--
9811 src/liblzma/common/auto_decoder.c | 2 +-
9812 src/liblzma/common/block_decoder.c | 2 +-
9813 src/liblzma/common/block_encoder.c | 2 +-
9814 src/liblzma/common/common.h | 4 ++--
9815 src/liblzma/common/easy_encoder.c | 2 +-
9816 src/liblzma/common/index_decoder.c | 2 +-
9817 src/liblzma/common/index_encoder.c | 2 +-
9818 src/liblzma/common/stream_decoder.c | 2 +-
9819 src/liblzma/common/stream_encoder.c | 2 +-
9820 11 files changed, 13 insertions(+), 13 deletions(-)
9822 commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c
9823 Author: Lasse Collin <lasse.collin@tukaani.org>
9824 Date: 2009-04-15 14:13:38 +0300
9826 Fix uint32_t -> size_t in ARM and ARM-Thumb filters.
9828 On 64-bit system it would have gone into infinite
9829 loop if a single input buffer was over 4 GiB (unlikely).
9831 src/liblzma/simple/arm.c | 2 +-
9832 src/liblzma/simple/armthumb.c | 2 +-
9833 2 files changed, 2 insertions(+), 2 deletions(-)
9835 commit 31decdce041581e57c0d8a407d4795b114ef27ca
9836 Author: Lasse Collin <lasse.collin@tukaani.org>
9837 Date: 2009-04-14 11:48:46 +0300
9839 Minor fixes to test files' README.
9841 tests/files/README | 17 +++++++++--------
9842 1 file changed, 9 insertions(+), 8 deletions(-)
9844 commit 4787d654434891c7df5b43959b0d2873718f06e0
9845 Author: Lasse Collin <lasse.collin@tukaani.org>
9846 Date: 2009-04-13 16:36:41 +0300
9848 Updated history.txt.
9850 doc/history.txt | 123 ++++++++++++++++++++++++++++++--------------------------
9851 1 file changed, 66 insertions(+), 57 deletions(-)
9853 commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9
9854 Author: Lasse Collin <lasse.collin@tukaani.org>
9855 Date: 2009-04-13 14:49:48 +0300
9857 Quick & dirty update to support xz in diff/grep/more scripts.
9859 src/scripts/Makefile.am | 38 +++++++++++++++++++-----------
9860 src/scripts/{lzdiff => xzdiff} | 24 +++++++++----------
9861 src/scripts/{lzdiff.1 => xzdiff.1} | 29 ++++++++++++++---------
9862 src/scripts/{lzgrep => xzgrep} | 10 ++++----
9863 src/scripts/{lzgrep.1 => xzgrep.1} | 48 +++++++++++++++++++++++++-------------
9864 src/scripts/{lzmore => xzmore} | 12 +++++-----
9865 src/scripts/{lzmore.1 => xzmore.1} | 33 +++++++++++++++++---------
9866 7 files changed, 119 insertions(+), 75 deletions(-)
9868 commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc
9869 Author: Lasse Collin <lasse.collin@tukaani.org>
9870 Date: 2009-04-13 11:27:40 +0300
9872 Put the interesting parts of XZ Utils into the public domain.
9873 Some minor documentation cleanups were made at the same time.
9875 COPYING | 67 ++++++++++++++++++++------
9878 Makefile.am | 13 ++---
9880 configure.ac | 13 ++---
9881 debug/Makefile.am | 13 ++---
9882 debug/crc32.c | 13 ++---
9883 debug/full_flush.c | 13 ++---
9884 debug/hex2bin.c | 7 ++-
9885 debug/known_sizes.c | 13 ++---
9886 debug/memusage.c | 13 ++---
9887 debug/repeat.c | 13 ++---
9888 debug/sync_flush.c | 13 ++---
9889 doc/faq.txt | 38 ++-------------
9890 lib/Makefile.am | 18 +++----
9891 src/Makefile.am | 13 ++---
9892 src/common/bswap.h | 7 ++-
9893 src/common/cpucores.h | 7 ++-
9894 src/common/integer.h | 7 ++-
9895 src/common/mythread.h | 4 +-
9896 src/common/open_stdxxx.h | 7 ++-
9897 src/common/physmem.h | 7 ++-
9898 src/common/sysdefs.h | 13 ++---
9899 src/liblzma/Makefile.am | 13 ++---
9900 src/liblzma/api/Makefile.am | 13 ++---
9901 src/liblzma/api/lzma.h | 38 +++++++++------
9902 src/liblzma/api/lzma/base.h | 20 +++-----
9903 src/liblzma/api/lzma/bcj.h | 18 +++----
9904 src/liblzma/api/lzma/block.h | 18 +++----
9905 src/liblzma/api/lzma/check.h | 18 +++----
9906 src/liblzma/api/lzma/container.h | 18 +++----
9907 src/liblzma/api/lzma/delta.h | 18 +++----
9908 src/liblzma/api/lzma/filter.h | 18 +++----
9909 src/liblzma/api/lzma/index.h | 18 +++----
9910 src/liblzma/api/lzma/index_hash.h | 22 +++------
9911 src/liblzma/api/lzma/lzma.h | 18 +++----
9912 src/liblzma/api/lzma/stream_flags.h | 18 +++----
9913 src/liblzma/api/lzma/subblock.h | 18 +++----
9914 src/liblzma/api/lzma/version.h | 18 +++----
9915 src/liblzma/api/lzma/vli.h | 46 ++++++++----------
9916 src/liblzma/check/Makefile.am | 8 ++-
9917 src/liblzma/check/check.c | 7 ++-
9918 src/liblzma/check/check.h | 7 ++-
9919 src/liblzma/check/crc32_fast.c | 30 +++++-------
9920 src/liblzma/check/crc32_small.c | 7 ++-
9921 src/liblzma/check/crc32_table.c | 7 ++-
9922 src/liblzma/check/crc32_tablegen.c | 7 ++-
9923 src/liblzma/check/crc32_x86.S | 21 +++++---
9924 src/liblzma/check/crc64_fast.c | 20 +++-----
9925 src/liblzma/check/crc64_small.c | 7 ++-
9926 src/liblzma/check/crc64_table.c | 7 ++-
9927 src/liblzma/check/crc64_tablegen.c | 7 ++-
9928 src/liblzma/check/crc64_x86.S | 14 ++++--
9929 src/liblzma/check/crc_macros.h | 9 ++--
9930 src/liblzma/check/sha256.c | 23 +++++----
9931 src/liblzma/common/Makefile.am | 13 ++---
9932 src/liblzma/common/alone_decoder.c | 13 ++---
9933 src/liblzma/common/alone_decoder.h | 13 ++---
9934 src/liblzma/common/alone_encoder.c | 13 ++---
9935 src/liblzma/common/auto_decoder.c | 13 ++---
9936 src/liblzma/common/block_buffer_decoder.c | 13 ++---
9937 src/liblzma/common/block_buffer_encoder.c | 13 ++---
9938 src/liblzma/common/block_decoder.c | 13 ++---
9939 src/liblzma/common/block_decoder.h | 13 ++---
9940 src/liblzma/common/block_encoder.c | 13 ++---
9941 src/liblzma/common/block_encoder.h | 13 ++---
9942 src/liblzma/common/block_header_decoder.c | 13 ++---
9943 src/liblzma/common/block_header_encoder.c | 13 ++---
9944 src/liblzma/common/block_util.c | 13 ++---
9945 src/liblzma/common/bsr.h | 7 ++-
9946 src/liblzma/common/chunk_size.c | 13 ++---
9947 src/liblzma/common/common.c | 13 ++---
9948 src/liblzma/common/common.h | 13 ++---
9949 src/liblzma/common/easy_buffer_encoder.c | 13 ++---
9950 src/liblzma/common/easy_decoder_memusage.c | 13 ++---
9951 src/liblzma/common/easy_encoder.c | 13 ++---
9952 src/liblzma/common/easy_encoder_memusage.c | 13 ++---
9953 src/liblzma/common/easy_preset.c | 13 ++---
9954 src/liblzma/common/easy_preset.h | 13 ++---
9955 src/liblzma/common/filter_buffer_decoder.c | 13 ++---
9956 src/liblzma/common/filter_buffer_encoder.c | 13 ++---
9957 src/liblzma/common/filter_common.c | 13 ++---
9958 src/liblzma/common/filter_common.h | 13 ++---
9959 src/liblzma/common/filter_decoder.c | 13 ++---
9960 src/liblzma/common/filter_decoder.h | 13 ++---
9961 src/liblzma/common/filter_encoder.c | 13 ++---
9962 src/liblzma/common/filter_encoder.h | 13 ++---
9963 src/liblzma/common/filter_flags_decoder.c | 13 ++---
9964 src/liblzma/common/filter_flags_encoder.c | 13 ++---
9965 src/liblzma/common/index.c | 13 ++---
9966 src/liblzma/common/index.h | 13 ++---
9967 src/liblzma/common/index_decoder.c | 13 ++---
9968 src/liblzma/common/index_encoder.c | 13 ++---
9969 src/liblzma/common/index_encoder.h | 13 ++---
9970 src/liblzma/common/index_hash.c | 13 ++---
9971 src/liblzma/common/stream_buffer_decoder.c | 13 ++---
9972 src/liblzma/common/stream_buffer_encoder.c | 13 ++---
9973 src/liblzma/common/stream_decoder.c | 13 ++---
9974 src/liblzma/common/stream_decoder.h | 13 ++---
9975 src/liblzma/common/stream_encoder.c | 13 ++---
9976 src/liblzma/common/stream_encoder.h | 13 ++---
9977 src/liblzma/common/stream_flags_common.c | 13 ++---
9978 src/liblzma/common/stream_flags_common.h | 13 ++---
9979 src/liblzma/common/stream_flags_decoder.c | 13 ++---
9980 src/liblzma/common/stream_flags_encoder.c | 13 ++---
9981 src/liblzma/common/vli_decoder.c | 13 ++---
9982 src/liblzma/common/vli_encoder.c | 13 ++---
9983 src/liblzma/common/vli_size.c | 13 ++---
9984 src/liblzma/delta/Makefile.am | 13 ++---
9985 src/liblzma/delta/delta_common.c | 13 ++---
9986 src/liblzma/delta/delta_common.h | 13 ++---
9987 src/liblzma/delta/delta_decoder.c | 13 ++---
9988 src/liblzma/delta/delta_decoder.h | 13 ++---
9989 src/liblzma/delta/delta_encoder.c | 13 ++---
9990 src/liblzma/delta/delta_encoder.h | 13 ++---
9991 src/liblzma/delta/delta_private.h | 13 ++---
9992 src/liblzma/lz/Makefile.am | 13 ++---
9993 src/liblzma/lz/lz_decoder.c | 17 ++-----
9994 src/liblzma/lz/lz_decoder.h | 17 ++-----
9995 src/liblzma/lz/lz_encoder.c | 17 ++-----
9996 src/liblzma/lz/lz_encoder.h | 17 ++-----
9997 src/liblzma/lz/lz_encoder_hash.h | 13 ++---
9998 src/liblzma/lz/lz_encoder_mf.c | 17 ++-----
9999 src/liblzma/lzma/Makefile.am | 13 ++---
10000 src/liblzma/lzma/fastpos.h | 17 ++-----
10001 src/liblzma/lzma/fastpos_tablegen.c | 17 ++-----
10002 src/liblzma/lzma/lzma2_decoder.c | 17 ++-----
10003 src/liblzma/lzma/lzma2_decoder.h | 17 ++-----
10004 src/liblzma/lzma/lzma2_encoder.c | 17 ++-----
10005 src/liblzma/lzma/lzma2_encoder.h | 17 ++-----
10006 src/liblzma/lzma/lzma_common.h | 17 ++-----
10007 src/liblzma/lzma/lzma_decoder.c | 17 ++-----
10008 src/liblzma/lzma/lzma_decoder.h | 17 ++-----
10009 src/liblzma/lzma/lzma_encoder.c | 17 ++-----
10010 src/liblzma/lzma/lzma_encoder.h | 17 ++-----
10011 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 13 ++---
10012 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 ++---
10013 src/liblzma/lzma/lzma_encoder_presets.c | 13 ++---
10014 src/liblzma/lzma/lzma_encoder_private.h | 17 ++-----
10015 src/liblzma/rangecoder/Makefile.am | 13 ++---
10016 src/liblzma/rangecoder/price.h | 13 ++---
10017 src/liblzma/rangecoder/price_tablegen.c | 16 ++----
10018 src/liblzma/rangecoder/range_common.h | 17 ++-----
10019 src/liblzma/rangecoder/range_decoder.h | 17 ++-----
10020 src/liblzma/rangecoder/range_encoder.h | 17 ++-----
10021 src/liblzma/simple/Makefile.am | 13 ++---
10022 src/liblzma/simple/arm.c | 17 ++-----
10023 src/liblzma/simple/armthumb.c | 17 ++-----
10024 src/liblzma/simple/ia64.c | 17 ++-----
10025 src/liblzma/simple/powerpc.c | 17 ++-----
10026 src/liblzma/simple/simple_coder.c | 13 ++---
10027 src/liblzma/simple/simple_coder.h | 14 ++----
10028 src/liblzma/simple/simple_decoder.c | 13 ++---
10029 src/liblzma/simple/simple_decoder.h | 13 ++---
10030 src/liblzma/simple/simple_encoder.c | 13 ++---
10031 src/liblzma/simple/simple_encoder.h | 13 ++---
10032 src/liblzma/simple/simple_private.h | 13 ++---
10033 src/liblzma/simple/sparc.c | 17 ++-----
10034 src/liblzma/simple/x86.c | 17 ++-----
10035 src/liblzma/subblock/Makefile.am | 13 ++---
10036 src/liblzma/subblock/subblock_decoder.c | 13 ++---
10037 src/liblzma/subblock/subblock_decoder.h | 13 ++---
10038 src/liblzma/subblock/subblock_decoder_helper.c | 13 ++---
10039 src/liblzma/subblock/subblock_decoder_helper.h | 13 ++---
10040 src/liblzma/subblock/subblock_encoder.c | 13 ++---
10041 src/liblzma/subblock/subblock_encoder.h | 13 ++---
10042 src/scripts/Makefile.am | 7 +++
10043 src/xz/Makefile.am | 13 ++---
10044 src/xz/args.c | 13 ++---
10045 src/xz/args.h | 13 ++---
10046 src/xz/hardware.c | 13 ++---
10047 src/xz/hardware.h | 13 ++---
10048 src/xz/io.c | 13 ++---
10049 src/xz/io.h | 13 ++---
10050 src/xz/list.c | 13 ++---
10051 src/xz/main.c | 13 ++---
10052 src/xz/main.h | 13 ++---
10053 src/xz/message.c | 13 ++---
10054 src/xz/message.h | 13 ++---
10055 src/xz/options.c | 13 ++---
10056 src/xz/options.h | 13 ++---
10057 src/xz/private.h | 13 ++---
10058 src/xz/process.c | 13 ++---
10059 src/xz/process.h | 13 ++---
10060 src/xz/signals.c | 13 ++---
10061 src/xz/signals.h | 13 ++---
10062 src/xz/suffix.c | 13 ++---
10063 src/xz/suffix.h | 13 ++---
10064 src/xz/util.c | 13 ++---
10065 src/xz/util.h | 13 ++---
10066 src/xzdec/Makefile.am | 13 ++---
10067 src/xzdec/xzdec.c | 13 ++---
10068 tests/Makefile.am | 13 ++---
10069 tests/bcj_test.c | 7 ++-
10070 tests/create_compress_files.c | 13 ++---
10071 tests/test_block.c | 13 ++---
10072 tests/test_block_header.c | 13 ++---
10073 tests/test_check.c | 13 ++---
10074 tests/test_compress.sh | 13 ++---
10075 tests/test_files.sh | 13 ++---
10076 tests/test_filter_flags.c | 13 ++---
10077 tests/test_index.c | 13 ++---
10078 tests/test_stream_flags.c | 13 ++---
10079 tests/tests.h | 13 ++---
10080 windows/common.rc | 2 +-
10081 206 files changed, 868 insertions(+), 2023 deletions(-)
10083 commit e79c42d854657ae7f75613bd80c1a35ff7c525cb
10084 Author: Lasse Collin <lasse.collin@tukaani.org>
10085 Date: 2009-04-10 11:17:02 +0300
10087 Fix off-by-one in LZ decoder.
10089 Fortunately, this bug had no security risk other than accepting
10090 some corrupt files as valid.
10092 src/liblzma/lz/lz_decoder.h | 2 +-
10093 1 file changed, 1 insertion(+), 1 deletion(-)
10095 commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af
10096 Author: Pavel Roskin <proski@gnu.org>
10097 Date: 2009-03-31 12:15:01 -0400
10099 Fix minor typos in README
10102 1 file changed, 3 insertions(+), 3 deletions(-)
10104 commit 9bab5336ebd765ec4e12252f416eefdf04eba750
10105 Author: Lasse Collin <lasse.collin@tukaani.org>
10106 Date: 2009-03-31 21:52:51 +0300
10108 Add a note and work-around instructions to README about
10109 problems detecting a C99 compiler when some standard
10110 headers are missing.
10112 README | 11 +++++++++++
10113 1 file changed, 11 insertions(+)
10115 commit a0497ff7a06f9350349264fe9b52dfefc6d53ead
10116 Author: Lasse Collin <lasse.collin@tukaani.org>
10117 Date: 2009-03-18 16:54:38 +0200
10122 1 file changed, 1 insertion(+)
10124 commit 390e69887fc5e0a108eb41203bed9acd100a3d76
10125 Author: Lasse Collin <lasse.collin@tukaani.org>
10126 Date: 2009-03-18 16:51:41 +0200
10128 Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
10129 Thanks to Bert Wesarg.
10131 m4/lc_cpucores.m4 | 4 ++--
10132 src/common/cpucores.h | 4 ++--
10133 2 files changed, 4 insertions(+), 4 deletions(-)
10135 commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6
10136 Author: Lasse Collin <lasse.collin@tukaani.org>
10137 Date: 2009-03-01 09:03:08 +0200
10139 Test for Linux-specific sysinfo() only on Linux systems.
10140 Some other systems have sysinfo() with different semantics.
10142 m4/lc_physmem.m4 | 28 +++++++++++++++++++---------
10143 1 file changed, 19 insertions(+), 9 deletions(-)
10145 commit cf751edfde3ad6e088dc18e0522d31ae38405933
10146 Author: Lasse Collin <lasse.collin@tukaani.org>
10147 Date: 2009-03-01 09:00:06 +0200
10149 Added AC_CONFIG_MACRO_DIR to configure.ac.
10152 1 file changed, 1 insertion(+)
10154 commit 63df14c57dee7c461717784287056688482a7eb9
10155 Author: Lasse Collin <lasse.collin@tukaani.org>
10156 Date: 2009-03-01 08:58:41 +0200
10158 Fix the Autoconf test for getopt_long replacement.
10159 It was broken by e114502b2bc371e4a45449832cb69be036360722.
10161 m4/getopt.m4 | 4 ++++
10162 1 file changed, 4 insertions(+)
10164 commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f
10165 Author: Lasse Collin <lasse.collin@tukaani.org>
10166 Date: 2009-02-22 19:07:54 +0200
10168 Add a rough explanation of --extreme to output of --help.
10170 src/xz/message.c | 4 ++++
10171 1 file changed, 4 insertions(+)
10173 commit 68bf7ac2984d3627369a240ef0491934d53f7899
10174 Author: Lasse Collin <lasse.collin@tukaani.org>
10175 Date: 2009-02-22 18:52:49 +0200
10177 Fixes to progress message handling in xz:
10179 - Don't use Windows-specific code on Windows. The old code
10180 required at least Windows 2000. Now it should work on
10181 Windows 98 and later, and maybe on Windows 95 too.
10183 - Use less precision when showing estimated remaining time.
10185 - Fix some small design issues.
10187 src/xz/message.c | 483 +++++++++++++++++++++++++++++++++++--------------------
10188 src/xz/message.h | 28 ++--
10189 src/xz/process.c | 53 +++---
10190 3 files changed, 351 insertions(+), 213 deletions(-)
10192 commit 47c2e21f82242f50f18713a27d644c2c94ab3fea
10193 Author: Lasse Collin <lasse.collin@tukaani.org>
10194 Date: 2009-02-18 13:00:10 +0200
10196 Added files missing from the previous commit.
10198 src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++
10199 src/liblzma/common/Makefile.am | 7 ++++++-
10200 2 files changed, 39 insertions(+), 1 deletion(-)
10202 commit 489a3dbaa0465f04400804e956a1cfbbee3654a2
10203 Author: Lasse Collin <lasse.collin@tukaani.org>
10204 Date: 2009-02-17 10:43:00 +0200
10206 Added lzma_easy_buffer_encode(). Splitted easy.c into small
10207 pieces to avoid unneeded dependencies making statically
10208 linked applications bigger than needed.
10210 dos/Makefile | 6 ++-
10211 src/liblzma/common/easy_buffer_encoder.c | 34 +++++++++++++++++
10212 src/liblzma/common/easy_decoder_memusage.c | 31 ++++++++++++++++
10213 src/liblzma/common/{easy.c => easy_encoder.c} | 53 +++------------------------
10214 src/liblzma/common/easy_encoder_memusage.c | 31 ++++++++++++++++
10215 src/liblzma/common/easy_preset.c | 34 +++++++++++++++++
10216 src/liblzma/common/easy_preset.h | 39 ++++++++++++++++++++
10217 windows/Makefile | 6 ++-
10218 8 files changed, 185 insertions(+), 49 deletions(-)
10220 commit 7494816ab08d82f4d6409788825930c4e43cfd0d
10221 Author: Lasse Collin <lasse.collin@tukaani.org>
10222 Date: 2009-02-15 15:48:45 +0200
10224 Make physmem.h work on old Windows versions.
10225 Thanks to Hongbo Ni for the original patch.
10227 src/common/physmem.h | 31 +++++++++++++++++++++++++++----
10228 1 file changed, 27 insertions(+), 4 deletions(-)
10230 commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0
10231 Author: Lasse Collin <lasse.collin@tukaani.org>
10232 Date: 2009-02-14 20:44:52 +0200
10234 Fix microsecond vs. nanosecond confusion in my_time().
10236 src/xz/message.c | 2 +-
10237 1 file changed, 1 insertion(+), 1 deletion(-)
10239 commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7
10240 Author: Lasse Collin <lasse.collin@tukaani.org>
10241 Date: 2009-02-14 00:45:29 +0200
10243 Cleanups to the code that detects the amount of RAM and
10244 the number of CPU cores. Added support for using sysinfo()
10245 on Linux systems whose libc lacks appropriate sysconf()
10246 support (at least dietlibc). The Autoconf macros were
10247 split into separate files, and CPU core count detection
10248 was moved from hardware.c to cpucores.h. The core count
10249 isn't used for anything real for now, so a problematic
10250 part in process.c was commented out.
10252 configure.ac | 89 ++-------------------------------------------------
10253 m4/lc_cpucores.m4 | 57 +++++++++++++++++++++++++++++++++
10254 m4/lc_physmem.m4 | 74 ++++++++++++++++++++++++++++++++++++++++++
10255 src/common/cpucores.h | 52 ++++++++++++++++++++++++++++++
10256 src/common/physmem.h | 21 +++++++-----
10257 src/xz/args.c | 4 +--
10258 src/xz/hardware.c | 50 +++++++++++++----------------
10259 src/xz/hardware.h | 11 +++++--
10260 src/xz/message.c | 5 +--
10261 src/xz/process.c | 2 ++
10262 10 files changed, 235 insertions(+), 130 deletions(-)
10264 commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8
10265 Author: Lasse Collin <lasse.collin@tukaani.org>
10266 Date: 2009-02-13 18:23:50 +0200
10268 Initial port to DOS using DJGPP.
10270 dos/Makefile | 261 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10271 dos/README | 113 ++++++++++++++++++++++++++
10272 dos/config.h | 150 ++++++++++++++++++++++++++++++++++
10273 3 files changed, 524 insertions(+)
10275 commit 0dae8b7751d09e9c5a482d5519daaee4800ce203
10276 Author: Lasse Collin <lasse.collin@tukaani.org>
10277 Date: 2009-02-13 18:02:05 +0200
10279 Windows port: Take advantage of the version number macros.
10280 Now the version number is not duplicated in the
10281 Windows-specific files anymore.
10283 windows/Makefile | 2 +-
10284 windows/common.rc | 16 ++++++++--------
10285 windows/config.h | 15 ---------------
10286 3 files changed, 9 insertions(+), 24 deletions(-)
10288 commit fdbc0cfa71f7d660855098a609175ba384259529
10289 Author: Lasse Collin <lasse.collin@tukaani.org>
10290 Date: 2009-02-13 18:00:03 +0200
10292 Changed how the version number is specified in various places.
10293 Now configure.ac will get the version number directly from
10294 src/liblzma/api/lzma/version.h. The intent is to reduce the
10295 number of places where the version number is duplicated. In
10296 future, support for displaying Git commit ID may be added too.
10298 configure.ac | 3 +-
10299 src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++++--
10300 src/liblzma/common/common.c | 2 +-
10301 src/xz/message.c | 2 +-
10302 src/xzdec/xzdec.c | 2 +-
10303 version.sh | 23 ++++++++++++++
10304 6 files changed, 95 insertions(+), 7 deletions(-)
10306 commit 1d924e584b146136989f48c13fff2632896efb3d
10307 Author: Lasse Collin <lasse.collin@tukaani.org>
10308 Date: 2009-02-13 17:30:30 +0200
10310 Fix handling of integrity check type in the xz command line tool.
10312 src/xz/args.c | 9 ++++++++-
10313 src/xz/process.c | 4 ++++
10314 2 files changed, 12 insertions(+), 1 deletion(-)
10316 commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8
10317 Author: Lasse Collin <lasse.collin@tukaani.org>
10318 Date: 2009-02-13 17:29:02 +0200
10320 Improve support for DOS-like systems.
10321 Here DOS-like means DOS, Windows, and OS/2.
10323 src/common/physmem.h | 12 ++++++++++++
10324 src/common/sysdefs.h | 4 ++++
10325 src/liblzma/check/crc32_x86.S | 6 +++---
10326 src/liblzma/check/crc64_x86.S | 6 +++---
10327 src/xz/args.c | 13 +++++--------
10328 src/xz/io.c | 39 +++++++++++++++++++++++++--------------
10329 src/xz/main.c | 23 +++++++++++++++++++++++
10330 src/xz/message.c | 3 +++
10331 src/xz/suffix.c | 5 +++++
10332 src/xzdec/xzdec.c | 5 +++--
10333 10 files changed, 86 insertions(+), 30 deletions(-)
10335 commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33
10336 Author: Lasse Collin <lasse.collin@tukaani.org>
10337 Date: 2009-02-11 20:02:32 +0200
10339 Remove dead directories from .gitignore.
10342 1 file changed, 2 deletions(-)
10344 commit 1ec5b0027911d94cb6f98892cbc690f818d8a861
10345 Author: Jim Meyering <jim@meyering.net>
10346 Date: 2009-02-11 14:45:14 +0100
10348 .gitignore vs. Makefiles
10350 How about this for those of us who do srcdir builds?
10352 .gitignore | 22 ++++++++++++++++++++++
10353 1 file changed, 22 insertions(+)
10355 commit 154f5aec2de201c674841de4fcc9804c2a87af07
10356 Author: Lasse Collin <lasse.collin@tukaani.org>
10357 Date: 2009-02-10 21:48:35 +0200
10359 Removed Makefile from .gitignore since not all Makefiles
10360 in the repository are generated by Autotools. People
10361 should do test builds in a separate build directory anyway.
10364 1 file changed, 1 deletion(-)
10366 commit e605c2663691b0a4c307786aa368d124ea081daa
10367 Author: Lasse Collin <lasse.collin@tukaani.org>
10368 Date: 2009-02-10 21:48:05 +0200
10370 Added resource files for the Windows build.
10372 windows/Makefile | 37 ++++++++++++++++++++++---------------
10373 windows/common.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++
10374 windows/liblzma.rc | 5 +++++
10375 windows/lzmadec.rc | 5 +++++
10376 windows/xz.rc | 5 +++++
10377 windows/xzdec.rc | 5 +++++
10378 6 files changed, 88 insertions(+), 15 deletions(-)
10380 commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476
10381 Author: Lasse Collin <lasse.collin@tukaani.org>
10382 Date: 2009-02-09 14:54:31 +0200
10384 Let the user specify custom CFLAGS on the make command
10385 line. Previously custom CFLAGS worked only when they were
10386 passed to configure.
10388 configure.ac | 58 ++++++++++++++++++++++---------------------
10389 src/liblzma/check/Makefile.am | 2 +-
10390 2 files changed, 31 insertions(+), 29 deletions(-)
10392 commit 53f7598998b1860a69c51243b5d2e34623c6bf60
10393 Author: Lasse Collin <lasse.collin@tukaani.org>
10394 Date: 2009-02-08 21:35:11 +0200
10396 Fix aliasing issue in physmem.h.
10398 src/common/physmem.h | 19 ++++++++++---------
10399 1 file changed, 10 insertions(+), 9 deletions(-)
10401 commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6
10402 Author: Lasse Collin <lasse.collin@tukaani.org>
10403 Date: 2009-02-08 18:24:50 +0200
10405 Add a separate internal function to initialize the CRC32
10406 table, which is used also by LZ encoder. This was needed
10407 because calling lzma_crc32() and ignoring the result is
10408 a no-op due to lzma_attr_pure.
10410 src/liblzma/check/check.h | 1 +
10411 src/liblzma/check/crc32_small.c | 10 +++++++++-
10412 src/liblzma/lz/lz_encoder.c | 4 ++--
10413 3 files changed, 12 insertions(+), 3 deletions(-)
10415 commit ae1ad9af54210c9a2be336b1316532da5071516c
10416 Author: Lasse Collin <lasse.collin@tukaani.org>
10417 Date: 2009-02-08 18:17:05 +0200
10419 Make "xz --force" to write to terminal as the error
10422 src/xz/main.c | 2 +-
10423 1 file changed, 1 insertion(+), 1 deletion(-)
10425 commit 79e25eded48d2fe33f31441ab7a034f902e335f8
10426 Author: Lasse Collin <lasse.collin@tukaani.org>
10427 Date: 2009-02-08 10:37:50 +0200
10429 Support both slash and backslash as path component
10430 separator on Windows when parsing argv[0].
10432 src/xz/args.c | 9 +++++++++
10433 1 file changed, 9 insertions(+)
10435 commit bc7c7109cc4410055a888c1c70cbd1c9445c4361
10436 Author: Lasse Collin <lasse.collin@tukaani.org>
10437 Date: 2009-02-07 23:18:13 +0200
10439 Omit the wrong and (even if corrected) nowadays useless rm
10442 autogen.sh | 28 ----------------------------
10443 1 file changed, 28 deletions(-)
10445 commit edfc2031e56f8a2ccda063f02936b3a848d88723
10446 Author: Lasse Collin <lasse.collin@tukaani.org>
10447 Date: 2009-02-07 21:41:52 +0200
10452 1 file changed, 1 insertion(+)
10454 commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3
10455 Author: Lasse Collin <lasse.collin@tukaani.org>
10456 Date: 2009-02-07 21:17:07 +0200
10458 Make it easy to choose if command line tools should be
10459 linked statically or dynamically against liblzma. The
10460 default is still to use static liblzma, but it can now
10461 be changed by passing --enable-dynamic to configure.
10462 Thanks to Mike Frysinger for the original patch.
10464 Fixed a few minor bugs in configure.ac.
10466 configure.ac | 39 +++++++++++++++++++++++++++++++++++++++
10467 src/xz/Makefile.am | 8 +++-----
10468 src/xzdec/Makefile.am | 5 +++--
10469 3 files changed, 45 insertions(+), 7 deletions(-)
10471 commit 3f86532407e4ace3debb62be16035e009b56ca36
10472 Author: Mike Frysinger <vapier@gentoo.org>
10473 Date: 2009-02-06 23:38:39 -0500
10475 add gitignore files
10477 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
10479 .gitignore | 32 ++++++++++++++++++++++++++++++++
10480 m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++
10481 po/.gitignore | 12 ++++++++++++
10482 3 files changed, 79 insertions(+)
10484 commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5
10485 Author: Lasse Collin <lasse.collin@tukaani.org>
10486 Date: 2009-02-07 17:07:52 +0200
10488 Assume 32 MiB of RAM on unsupported operating systems like
10489 the comment in hardware.c already said.
10491 src/xz/hardware.c | 2 +-
10492 1 file changed, 1 insertion(+), 1 deletion(-)
10494 commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618
10495 Author: Lasse Collin <lasse.collin@tukaani.org>
10496 Date: 2009-02-07 16:26:58 +0200
10498 MinGW support: Don't build fastpos_tablegen.c as part of
10499 liblzma. Build both static and dynamic liblzma, and also
10500 static and dynamic versions of the command line tools.
10502 windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++++--------------
10503 windows/README | 10 ------
10504 2 files changed, 69 insertions(+), 33 deletions(-)
10506 commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45
10507 Author: Lasse Collin <lasse.collin@tukaani.org>
10508 Date: 2009-02-07 15:55:47 +0200
10510 Support LZMA_API_STATIC in assembler files to
10511 avoid __declspec(dllexport) equivalent.
10513 src/liblzma/check/crc32_x86.S | 4 ++++
10514 src/liblzma/check/crc64_x86.S | 2 ++
10515 2 files changed, 6 insertions(+)
10517 commit 3306cf3883492720b3c34baa02f4eb4227d91c73
10518 Author: Lasse Collin <lasse.collin@tukaani.org>
10519 Date: 2009-02-07 11:11:50 +0200
10521 Introduced LZMA_API_STATIC macro, which the applications
10522 need to #define when linking against static liblzma on
10523 platforms like Windows. Most developers don't need to
10524 care about LZMA_API_STATIC at all.
10526 src/liblzma/api/lzma.h | 31 ++++++++++++++++++++++++-------
10527 src/liblzma/common/common.h | 2 +-
10528 2 files changed, 25 insertions(+), 8 deletions(-)
10530 commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b
10531 Author: Lasse Collin <lasse.collin@tukaani.org>
10532 Date: 2009-02-06 16:55:45 +0200
10534 Another grammar fix
10537 1 file changed, 1 insertion(+), 1 deletion(-)
10539 commit fe5434f940f75fec3611cf9d9edf78c4da8ac760
10540 Author: Lasse Collin <lasse.collin@tukaani.org>
10541 Date: 2009-02-06 12:30:23 +0200
10543 Grammar fix in README.
10546 1 file changed, 1 insertion(+), 1 deletion(-)
10548 commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245
10549 Author: Lasse Collin <lasse.collin@tukaani.org>
10550 Date: 2009-02-06 10:06:32 +0200
10552 Some MSYS installations (e.g. MsysGit) don't include
10553 install.exe, so don't rely on it.
10555 windows/Makefile | 12 +++++++-----
10556 windows/README | 11 ++++++-----
10557 2 files changed, 13 insertions(+), 10 deletions(-)
10559 commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31
10560 Author: Lasse Collin <lasse.collin@tukaani.org>
10561 Date: 2009-02-06 09:13:15 +0200
10563 Recreated the BCJ test files for x86 and SPARC. The old files
10564 were linked with crt*.o, which are copyrighted, and thus the
10565 old test files were not in the public domain as a whole. They
10566 are freely distributable though, but it is better to be careful
10567 and avoid including any copyrighted pieces in the test files.
10568 The new files are just compiled and assembled object files,
10569 and thus don't contain any copyrighted code.
10571 tests/bcj_test.c | 2 +-
10572 tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes
10573 tests/compress_prepared_bcj_x86 | Bin 4649 -> 1388 bytes
10574 tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes
10575 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 716 bytes
10576 5 files changed, 1 insertion(+), 1 deletion(-)
10578 commit 094b1b09a531f0d201ec81f2b07346a995fd80b9
10579 Author: Lasse Collin <lasse.collin@tukaani.org>
10580 Date: 2009-02-05 21:21:27 +0200
10582 Add the "windows" directory to EXTRA_DIST.
10585 1 file changed, 1 insertion(+)
10587 commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49
10588 Author: Lasse Collin <lasse.collin@tukaani.org>
10589 Date: 2009-02-05 09:17:51 +0200
10591 Added initial experimental makefile for use with MinGW.
10593 windows/Makefile | 253 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
10594 windows/README | 164 ++++++++++++++++++++++++++++++++++++
10595 windows/config.h | 180 +++++++++++++++++++++++++++++++++++++++
10596 3 files changed, 597 insertions(+)
10598 commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9
10599 Author: Lasse Collin <lasse.collin@tukaani.org>
10600 Date: 2009-02-05 09:12:57 +0200
10602 Various code cleanups the the xz command line tool.
10603 It now builds with MinGW.
10605 src/common/physmem.h | 13 ++++
10606 src/xz/Makefile.am | 2 +
10607 src/xz/args.h | 8 ---
10608 src/xz/hardware.h | 10 +--
10609 src/xz/io.c | 93 +++++++++++++++++++-------
10610 src/xz/io.h | 12 ++--
10611 src/xz/main.c | 132 ++-----------------------------------
10612 src/xz/main.h | 22 -------
10613 src/xz/message.c | 65 ++++++++++++++++---
10614 src/xz/message.h | 6 --
10615 src/xz/options.h | 8 ---
10616 src/xz/private.h | 18 ++++--
10617 src/xz/process.h | 10 +--
10618 src/xz/signals.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++
10619 src/xz/signals.h | 51 +++++++++++++++
10620 src/xz/suffix.h | 5 --
10621 src/xz/util.c | 5 +-
10622 src/xz/util.h | 5 --
10623 18 files changed, 399 insertions(+), 246 deletions(-)
10625 commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe
10626 Author: Lasse Collin <lasse.collin@tukaani.org>
10627 Date: 2009-02-03 12:15:17 +0200
10629 Another utime() fix.
10631 src/xz/io.c | 9 +++++----
10632 1 file changed, 5 insertions(+), 4 deletions(-)
10634 commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca
10635 Author: Lasse Collin <lasse.collin@tukaani.org>
10636 Date: 2009-02-03 10:41:11 +0200
10638 Fix wrong filename argument for utime() and utimes().
10639 This doesn't affect most systems, since most systems
10640 have better functions available.
10642 src/xz/io.c | 4 ++--
10643 1 file changed, 2 insertions(+), 2 deletions(-)
10645 commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302
10646 Author: Lasse Collin <lasse.collin@tukaani.org>
10647 Date: 2009-02-02 21:19:01 +0200
10649 Updated the x86 assembler code:
10650 - Use call/ret pair to get instruction pointer for PIC.
10651 - Use PIC only if PIC or __PIC__ is #defined.
10652 - The code should work on MinGW and Darwin in addition
10653 to GNU/Linux and Solaris.
10655 configure.ac | 6 ----
10656 src/liblzma/check/crc32_x86.S | 84 ++++++++++++++++++++++++++++++++++++-------
10657 src/liblzma/check/crc64_x86.S | 82 ++++++++++++++++++++++++++++++++++++------
10658 3 files changed, 144 insertions(+), 28 deletions(-)
10660 commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f
10661 Author: Lasse Collin <lasse.collin@tukaani.org>
10662 Date: 2009-02-02 20:14:03 +0200
10664 Modify LZMA_API macro so that it works on Windows with
10665 other compilers than MinGW. This may hurt readability
10666 of the API headers slightly, but I don't know any
10667 better way to do this.
10669 src/liblzma/api/lzma.h | 6 ++---
10670 src/liblzma/api/lzma/base.h | 11 ++++----
10671 src/liblzma/api/lzma/block.h | 22 ++++++++--------
10672 src/liblzma/api/lzma/check.h | 10 ++++----
10673 src/liblzma/api/lzma/container.h | 22 ++++++++--------
10674 src/liblzma/api/lzma/filter.h | 28 ++++++++++-----------
10675 src/liblzma/api/lzma/index.h | 40 +++++++++++++++---------------
10676 src/liblzma/api/lzma/index_hash.h | 10 ++++----
10677 src/liblzma/api/lzma/lzma.h | 6 ++---
10678 src/liblzma/api/lzma/stream_flags.h | 10 ++++----
10679 src/liblzma/api/lzma/version.h | 4 +--
10680 src/liblzma/api/lzma/vli.h | 6 ++---
10681 src/liblzma/check/check.c | 4 +--
10682 src/liblzma/check/crc32_fast.c | 2 +-
10683 src/liblzma/check/crc32_small.c | 2 +-
10684 src/liblzma/check/crc64_fast.c | 2 +-
10685 src/liblzma/check/crc64_small.c | 2 +-
10686 src/liblzma/common/alone_decoder.c | 2 +-
10687 src/liblzma/common/alone_encoder.c | 2 +-
10688 src/liblzma/common/auto_decoder.c | 2 +-
10689 src/liblzma/common/block_buffer_decoder.c | 2 +-
10690 src/liblzma/common/block_buffer_encoder.c | 4 +--
10691 src/liblzma/common/block_decoder.c | 2 +-
10692 src/liblzma/common/block_encoder.c | 2 +-
10693 src/liblzma/common/block_header_decoder.c | 2 +-
10694 src/liblzma/common/block_header_encoder.c | 4 +--
10695 src/liblzma/common/block_util.c | 6 ++---
10696 src/liblzma/common/chunk_size.c | 2 +-
10697 src/liblzma/common/common.c | 16 ++++++------
10698 src/liblzma/common/common.h | 2 +-
10699 src/liblzma/common/easy.c | 6 ++---
10700 src/liblzma/common/filter_buffer_decoder.c | 2 +-
10701 src/liblzma/common/filter_buffer_encoder.c | 2 +-
10702 src/liblzma/common/filter_decoder.c | 8 +++---
10703 src/liblzma/common/filter_encoder.c | 12 ++++-----
10704 src/liblzma/common/filter_flags_decoder.c | 2 +-
10705 src/liblzma/common/filter_flags_encoder.c | 4 +--
10706 src/liblzma/common/index.c | 32 ++++++++++++------------
10707 src/liblzma/common/index_decoder.c | 4 +--
10708 src/liblzma/common/index_encoder.c | 4 +--
10709 src/liblzma/common/index_hash.c | 10 ++++----
10710 src/liblzma/common/stream_buffer_decoder.c | 2 +-
10711 src/liblzma/common/stream_buffer_encoder.c | 4 +--
10712 src/liblzma/common/stream_decoder.c | 2 +-
10713 src/liblzma/common/stream_encoder.c | 2 +-
10714 src/liblzma/common/stream_flags_common.c | 2 +-
10715 src/liblzma/common/stream_flags_decoder.c | 4 +--
10716 src/liblzma/common/stream_flags_encoder.c | 4 +--
10717 src/liblzma/common/vli_decoder.c | 2 +-
10718 src/liblzma/common/vli_encoder.c | 2 +-
10719 src/liblzma/common/vli_size.c | 2 +-
10720 src/liblzma/lz/lz_encoder.c | 2 +-
10721 src/liblzma/lzma/lzma_encoder.c | 2 +-
10722 src/liblzma/lzma/lzma_encoder_presets.c | 2 +-
10723 54 files changed, 177 insertions(+), 176 deletions(-)
10725 commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65
10726 Author: Lasse Collin <lasse.collin@tukaani.org>
10727 Date: 2009-02-01 22:40:35 +0200
10729 Fix a bug in lzma_block_buffer_decode(), although this
10730 function should be rewritten anyway.
10732 src/liblzma/common/block_buffer_decoder.c | 8 ++++----
10733 1 file changed, 4 insertions(+), 4 deletions(-)
10735 commit 55fd41431e61fb8178858283d636b6781e33e847
10736 Author: Lasse Collin <lasse.collin@tukaani.org>
10737 Date: 2009-02-01 22:39:07 +0200
10739 Added initial version of raw buffer-to-buffer coding
10740 functions, and cleaned up filter.h API header a little.
10741 May be very buggy, not tested yet.
10743 src/liblzma/api/lzma/filter.h | 84 +++++++++++++++++++-------
10744 src/liblzma/common/Makefile.am | 2 +
10745 src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++++
10746 src/liblzma/common/filter_buffer_encoder.c | 61 +++++++++++++++++++
10747 4 files changed, 221 insertions(+), 20 deletions(-)
10749 commit 3e54ecee5cad30a5ca361a88a99230407abc0699
10750 Author: Lasse Collin <lasse.collin@tukaani.org>
10751 Date: 2009-02-01 00:11:20 +0200
10753 Fix missing newlines in xzdec.c.
10755 src/xzdec/xzdec.c | 6 +++---
10756 1 file changed, 3 insertions(+), 3 deletions(-)
10758 commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35
10759 Author: Lasse Collin <lasse.collin@tukaani.org>
10760 Date: 2009-02-01 00:10:07 +0200
10762 Use __cdecl also for function pointers in liblzma API when
10765 src/liblzma/api/lzma.h | 18 +++++++++++-------
10766 src/liblzma/api/lzma/base.h | 4 ++--
10767 src/liblzma/common/common.h | 18 +++++++-----------
10768 3 files changed, 20 insertions(+), 20 deletions(-)
10770 commit 6a2eb54092fc625d59921a607ff68cd1a90aa898
10771 Author: Lasse Collin <lasse.collin@tukaani.org>
10772 Date: 2009-01-31 11:01:48 +0200
10774 Add LZMA_API to liblzma API headers. It's useful at least
10775 on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h
10776 has to be #included separately where needed.
10778 src/common/sysdefs.h | 2 --
10779 src/liblzma/api/lzma.h | 17 ++++++++++++++
10780 src/liblzma/api/lzma/base.h | 10 ++++----
10781 src/liblzma/api/lzma/block.h | 25 +++++++++++---------
10782 src/liblzma/api/lzma/check.h | 12 ++++++----
10783 src/liblzma/api/lzma/container.h | 23 +++++++++---------
10784 src/liblzma/api/lzma/filter.h | 24 +++++++++----------
10785 src/liblzma/api/lzma/index.h | 47 +++++++++++++++++++++----------------
10786 src/liblzma/api/lzma/index_hash.h | 11 +++++----
10787 src/liblzma/api/lzma/lzma.h | 8 ++++---
10788 src/liblzma/api/lzma/stream_flags.h | 10 ++++----
10789 src/liblzma/api/lzma/version.h | 4 ++--
10790 src/liblzma/api/lzma/vli.h | 10 ++++----
10791 src/liblzma/common/common.h | 13 ++++++++--
10792 src/xz/private.h | 1 +
10793 src/xzdec/xzdec.c | 1 +
10794 tests/tests.h | 1 +
10795 17 files changed, 131 insertions(+), 88 deletions(-)
10797 commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b
10798 Author: Lasse Collin <lasse.collin@tukaani.org>
10799 Date: 2009-01-31 10:13:09 +0200
10801 Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.
10803 src/xzdec/xzdec.c | 4 ++--
10804 1 file changed, 2 insertions(+), 2 deletions(-)
10806 commit 2dbdc5befb33c3703e4609809101047c67caf343
10807 Author: Lasse Collin <lasse.collin@tukaani.org>
10808 Date: 2009-01-31 10:02:52 +0200
10810 Fix two lines in lzma.h on which the # wasn't at the
10811 beginning of the line.
10813 src/liblzma/api/lzma.h | 4 ++--
10814 1 file changed, 2 insertions(+), 2 deletions(-)
10816 commit 4ab760109106dc04f39dd81c97d50f528d1b51c1
10817 Author: Lasse Collin <lasse.collin@tukaani.org>
10818 Date: 2009-01-31 09:55:05 +0200
10820 Add support for using liblzma headers in MSVC, which has no
10821 stdint.h or inttypes.h.
10823 src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++++-----------------
10824 1 file changed, 46 insertions(+), 24 deletions(-)
10826 commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9
10827 Author: Lasse Collin <lasse.collin@tukaani.org>
10828 Date: 2009-01-31 08:49:54 +0200
10830 Fix # -> ## in a macro in lzma.h.
10832 src/liblzma/api/lzma.h | 2 +-
10833 1 file changed, 1 insertion(+), 1 deletion(-)
10835 commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208
10836 Author: Lasse Collin <lasse.collin@tukaani.org>
10837 Date: 2009-01-30 18:50:16 +0200
10841 README | 30 ++++++++++++++++++++----------
10842 1 file changed, 20 insertions(+), 10 deletions(-)
10844 commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb
10845 Author: Lasse Collin <lasse.collin@tukaani.org>
10846 Date: 2009-01-30 00:29:58 +0200
10848 Remove dangling crc64_init.c.
10850 src/liblzma/check/crc64_init.c | 55 ------------------------------------------
10851 1 file changed, 55 deletions(-)
10853 commit 982da7ed314398420c38bf154a8f759d5f18b480
10854 Author: Lasse Collin <lasse.collin@tukaani.org>
10855 Date: 2009-01-28 17:16:38 +0200
10857 The .xz file format specification version 1.0.0 is now
10858 officially released. The format has been technically the same
10859 since 2008-11-19, but now that it is frozen, people can start
10860 using it without a fear that the format will break.
10862 doc/file-format.txt | 84 +++++++++++++++++++++++++++++++----------------------
10863 1 file changed, 49 insertions(+), 35 deletions(-)
10865 commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f
10866 Author: Lasse Collin <lasse.collin@tukaani.org>
10867 Date: 2009-01-28 08:45:59 +0200
10872 1 file changed, 1 insertion(+)
10874 commit 3241317093595db9f79104faafe93cb989c9f858
10875 Author: Lasse Collin <lasse.collin@tukaani.org>
10876 Date: 2009-01-28 08:43:26 +0200
10878 Fix uninitialized variables in alone_decoder.c. This bug was
10879 triggered by the previous commit, since these variables were
10880 not used by anything before support for a preset dictionary.
10882 src/liblzma/common/alone_decoder.c | 2 ++
10883 1 file changed, 2 insertions(+)
10885 commit f76e39cf930f888d460b443d18f977ebedea8b2a
10886 Author: Lasse Collin <lasse.collin@tukaani.org>
10887 Date: 2009-01-27 18:36:05 +0200
10889 Added initial support for preset dictionary for raw LZMA1
10890 and LZMA2. It is not supported by the .xz format or the xz
10891 command line tool yet.
10893 src/liblzma/lz/lz_decoder.c | 35 +++++++++++++++++++++++++----------
10894 src/liblzma/lz/lz_decoder.h | 9 ++++++++-
10895 src/liblzma/lz/lz_encoder.c | 18 ++++++++++++++++--
10896 src/liblzma/lzma/lzma2_decoder.c | 9 ++++++---
10897 src/liblzma/lzma/lzma2_encoder.c | 12 +++++++-----
10898 src/liblzma/lzma/lzma_decoder.c | 10 ++++++----
10899 src/liblzma/lzma/lzma_decoder.h | 2 +-
10900 src/liblzma/lzma/lzma_encoder.c | 9 ++++++++-
10901 8 files changed, 77 insertions(+), 27 deletions(-)
10903 commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3
10904 Author: Lasse Collin <lasse.collin@tukaani.org>
10905 Date: 2009-01-26 20:09:17 +0200
10907 Regenerate the CRC tables without trailing blanks.
10909 src/liblzma/check/crc32_table_be.h | 1008 +++++++++++++++++------------------
10910 src/liblzma/check/crc32_table_le.h | 1008 +++++++++++++++++------------------
10911 src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------
10912 src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------
10913 4 files changed, 2024 insertions(+), 2024 deletions(-)
10915 commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2
10916 Author: Jim Meyering <meyering@redhat.com>
10917 Date: 2009-01-19 21:37:16 +0100
10919 remove trailing blanks from all but .xz files
10921 debug/known_sizes.c | 2 +-
10922 extra/scanlzma/scanlzma.c | 5 ++---
10923 src/liblzma/check/crc32_tablegen.c | 2 +-
10924 src/liblzma/check/crc64_tablegen.c | 2 +-
10925 src/scripts/lzdiff.1 | 4 ++--
10926 src/scripts/lzmore.1 | 6 +++---
10927 tests/test_compress.sh | 4 ++--
10928 7 files changed, 12 insertions(+), 13 deletions(-)
10930 commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5
10931 Author: Lasse Collin <lasse.collin@tukaani.org>
10932 Date: 2009-01-26 14:34:10 +0200
10934 Add lzma_block_buffer_decode().
10936 src/liblzma/api/lzma/block.h | 41 +++++++++++++++
10937 src/liblzma/common/Makefile.am | 1 +
10938 src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++++
10939 3 files changed, 129 insertions(+)
10941 commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d
10942 Author: Lasse Collin <lasse.collin@tukaani.org>
10943 Date: 2009-01-26 14:33:28 +0200
10945 Add more sanity checks to lzma_stream_buffer_decode().
10947 src/liblzma/common/stream_buffer_decoder.c | 7 +++++++
10948 1 file changed, 7 insertions(+)
10950 commit c129748675a5daa8838df92bde32cc04f6ce61ba
10951 Author: Lasse Collin <lasse.collin@tukaani.org>
10952 Date: 2009-01-26 14:33:13 +0200
10954 Avoid hardcoded constant in easy.c.
10956 src/liblzma/common/easy.c | 2 +-
10957 1 file changed, 1 insertion(+), 1 deletion(-)
10959 commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6
10960 Author: Lasse Collin <lasse.collin@tukaani.org>
10961 Date: 2009-01-26 13:06:49 +0200
10963 Tiny bit better sanity check in block_util.c
10965 src/liblzma/common/block_util.c | 2 +-
10966 1 file changed, 1 insertion(+), 1 deletion(-)
10968 commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7
10969 Author: Lasse Collin <lasse.collin@tukaani.org>
10970 Date: 2009-01-25 01:35:56 +0200
10972 Fix a dumb bug in Block decoder, which made it return
10973 LZMA_DATA_ERROR with valid data. The bug was added in
10974 e114502b2bc371e4a45449832cb69be036360722.
10976 src/liblzma/common/block_decoder.c | 6 +++---
10977 1 file changed, 3 insertions(+), 3 deletions(-)
10979 commit c81f13ff29271de7293f8af3d81848b1dcae3d19
10980 Author: Lasse Collin <lasse.collin@tukaani.org>
10981 Date: 2009-01-23 22:27:50 +0200
10983 Added lzma_stream_buffer_decode() and made minor cleanups.
10985 src/liblzma/api/lzma/block.h | 3 +-
10986 src/liblzma/api/lzma/container.h | 51 ++++++++++++++++-
10987 src/liblzma/common/Makefile.am | 1 +
10988 src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++++
10989 4 files changed, 144 insertions(+), 2 deletions(-)
10991 commit 0b3318661ce749550b8531dfd469639a08930391
10992 Author: Lasse Collin <lasse.collin@tukaani.org>
10993 Date: 2009-01-22 12:53:33 +0200
10997 src/liblzma/common/common.h | 2 +-
10998 1 file changed, 1 insertion(+), 1 deletion(-)
11000 commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec
11001 Author: Lasse Collin <lasse.collin@tukaani.org>
11002 Date: 2009-01-20 16:37:27 +0200
11004 Add some single-call buffer-to-buffer coding functions.
11006 src/liblzma/api/lzma/block.h | 57 ++++++
11007 src/liblzma/api/lzma/container.h | 56 ++++++
11008 src/liblzma/api/lzma/index.h | 70 ++++++-
11009 src/liblzma/common/Makefile.am | 2 +
11010 src/liblzma/common/block_buffer_encoder.c | 305 +++++++++++++++++++++++++++++
11011 src/liblzma/common/index_decoder.c | 83 ++++++--
11012 src/liblzma/common/index_encoder.c | 59 +++++-
11013 src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++
11014 tests/test_index.c | 24 +++
11015 9 files changed, 768 insertions(+), 26 deletions(-)
11017 commit d8b58d099340f8f4007b24b211ee41a7210c061c
11018 Author: Lasse Collin <lasse.collin@tukaani.org>
11019 Date: 2009-01-20 13:45:41 +0200
11021 Block encoder cleanups
11023 src/liblzma/common/block_encoder.c | 28 +++++++---------------------
11024 src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++
11025 2 files changed, 32 insertions(+), 21 deletions(-)
11027 commit 0c09810cb3635cb575cb54e694d41523e7d0a335
11028 Author: Lasse Collin <lasse.collin@tukaani.org>
11029 Date: 2009-01-20 10:35:15 +0200
11031 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.
11033 src/liblzma/common/common.c | 24 ++++++++----------------
11034 1 file changed, 8 insertions(+), 16 deletions(-)
11036 commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00
11037 Author: Lasse Collin <lasse.collin@tukaani.org>
11038 Date: 2009-01-19 22:53:18 +0200
11040 Fix handling of non-fatal errors in lzma_code().
11042 src/liblzma/common/common.c | 9 ++++++++-
11043 1 file changed, 8 insertions(+), 1 deletion(-)
11045 commit 4810b6bc25087be872960b9dd1d11ff07735dc88
11046 Author: Lasse Collin <lasse.collin@tukaani.org>
11047 Date: 2009-01-19 14:00:33 +0200
11049 Move some LZMA2 constants to lzma2_encoder.h so that they
11050 can be used outside lzma2_encoder.c.
11052 src/liblzma/lzma/lzma2_encoder.c | 13 -------------
11053 src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++
11054 src/liblzma/lzma/lzma_encoder.c | 3 ++-
11055 3 files changed, 16 insertions(+), 14 deletions(-)
11057 commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4
11058 Author: Lasse Collin <lasse.collin@tukaani.org>
11059 Date: 2009-01-19 13:52:36 +0200
11063 src/liblzma/lzma/lzma_encoder.h | 8 --------
11064 1 file changed, 8 deletions(-)
11066 commit 128586213f77c9bd82b7e9a62927f6d0c3769d85
11067 Author: Lasse Collin <lasse.collin@tukaani.org>
11068 Date: 2009-01-17 14:24:25 +0200
11070 Beta was supposed to be API stable but I had forgot to rename
11071 lzma_memlimit_encoder and lzma_memlimit_decoder to
11072 lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-(
11073 Now it is fixed. Hopefully it doesn't cause too much trouble
11074 to those who already thought API is stable.
11076 src/liblzma/api/lzma/filter.h | 4 ++--
11077 src/liblzma/common/easy.c | 4 ++--
11078 src/liblzma/common/filter_common.c | 2 +-
11079 src/liblzma/common/filter_common.h | 2 +-
11080 src/liblzma/common/filter_decoder.c | 4 ++--
11081 src/liblzma/common/filter_encoder.c | 4 ++--
11082 src/liblzma/common/stream_decoder.c | 2 +-
11083 src/xz/process.c | 6 +++---
11084 8 files changed, 14 insertions(+), 14 deletions(-)
11086 commit b056379490be5c584c264a967f0540041a163a1e
11087 Author: Lasse Collin <lasse.collin@tukaani.org>
11088 Date: 2009-01-15 14:29:22 +0200
11093 1 file changed, 1 insertion(+)
11095 commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89
11096 Author: Lasse Collin <lasse.collin@tukaani.org>
11097 Date: 2009-01-15 14:27:32 +0200
11099 Fixed a bug in 7z2lzma.bash to make it work with .7z files
11100 that use something else than 2^n as the dictionary size.
11101 Thanks to Dan Shechter for the bug report.
11103 extra/7z2lzma/7z2lzma.bash | 47 +++++++++++++++++++++++-----------------------
11104 1 file changed, 24 insertions(+), 23 deletions(-)
11106 commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2
11107 Author: Lasse Collin <lasse.collin@tukaani.org>
11108 Date: 2009-01-07 18:41:15 +0200
11110 Use pthread_sigmask() instead of sigprocmask() when pthreads
11113 src/common/mythread.h | 6 ++++++
11114 src/xz/main.c | 4 ++--
11115 src/xz/private.h | 1 +
11116 3 files changed, 9 insertions(+), 2 deletions(-)
11118 commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9
11119 Author: Lasse Collin <lasse.collin@tukaani.org>
11120 Date: 2008-12-31 20:01:00 +0200
11122 Bumped version to 4.999.8beta right after the release
11125 configure.ac | 2 +-
11126 src/liblzma/api/lzma/version.h | 2 +-
11127 2 files changed, 2 insertions(+), 2 deletions(-)
11129 commit 061748f5932719643cda73383db715167d543c22
11130 Author: Lasse Collin <lasse.collin@tukaani.org>
11131 Date: 2008-12-31 18:59:02 +0200
11133 Disable Subblock filter from test_compress.sh since it is
11134 disabled by default in configure.ac.
11136 tests/test_compress.sh | 22 +++++++++++++---------
11137 1 file changed, 13 insertions(+), 9 deletions(-)
11139 commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78
11140 Author: Lasse Collin <lasse.collin@tukaani.org>
11141 Date: 2008-12-31 17:44:20 +0200
11143 Disable both Subblock encoder and decoder my default,
11144 since they are not finished and may have security issues too.
11146 configure.ac | 2 +-
11147 1 file changed, 1 insertion(+), 1 deletion(-)
11149 commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88
11150 Author: Lasse Collin <lasse.collin@tukaani.org>
11151 Date: 2008-12-31 17:42:50 +0200
11153 Update some files in debug directory.
11155 debug/full_flush.c | 2 --
11156 debug/memusage.c | 2 --
11157 debug/sync_flush.c | 2 --
11158 3 files changed, 6 deletions(-)
11160 commit d1d17a40d33a9682424ca37282813492f2cba6d0
11161 Author: Lasse Collin <lasse.collin@tukaani.org>
11162 Date: 2008-12-31 17:41:46 +0200
11164 Prepare for 4.999.7beta release.
11167 README | 34 +++++++++++++++++-----------------
11168 configure.ac | 4 ++--
11169 src/liblzma/api/lzma/version.h | 2 +-
11170 4 files changed, 22 insertions(+), 22 deletions(-)
11172 commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3
11173 Author: Lasse Collin <lasse.collin@tukaani.org>
11174 Date: 2008-12-31 17:15:03 +0200
11176 Cleaned up some comments in the API headers.
11178 src/liblzma/api/lzma/check.h | 23 +++++++++++------------
11179 src/liblzma/api/lzma/container.h | 2 +-
11180 src/liblzma/api/lzma/version.h | 4 +++-
11181 3 files changed, 15 insertions(+), 14 deletions(-)
11183 commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40
11184 Author: Lasse Collin <lasse.collin@tukaani.org>
11185 Date: 2008-12-31 16:29:39 +0200
11187 Renamed lzma_options_simple to lzma_options_bcj in the API.
11188 The internal implementation is still using the name "simple".
11189 It may need some cleanups, so I look at it later.
11191 src/liblzma/api/Makefile.am | 2 +-
11192 src/liblzma/api/lzma.h | 2 +-
11193 src/liblzma/api/lzma/{simple.h => bcj.h} | 22 +++++++++++-----------
11194 src/liblzma/simple/simple_coder.c | 2 +-
11195 src/liblzma/simple/simple_decoder.c | 4 ++--
11196 src/liblzma/simple/simple_encoder.c | 4 ++--
11197 tests/test_filter_flags.c | 8 ++++----
11198 7 files changed, 22 insertions(+), 22 deletions(-)
11200 commit 7eea8bec3abfed883efba66264a1452a1c04f6b0
11201 Author: Lasse Collin <lasse.collin@tukaani.org>
11202 Date: 2008-12-31 00:57:27 +0200
11204 Fixed missing quoting in configure.ac.
11206 configure.ac | 38 +++++++++++++++++++-------------------
11207 1 file changed, 19 insertions(+), 19 deletions(-)
11209 commit 28e75f7086dbe9501d926c370375c69dfb1236ce
11210 Author: Lasse Collin <lasse.collin@tukaani.org>
11211 Date: 2008-12-31 00:48:23 +0200
11213 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which
11214 should have been in the previous commit.
11216 src/liblzma/Makefile.am | 4 ++--
11217 1 file changed, 2 insertions(+), 2 deletions(-)
11219 commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90
11220 Author: Lasse Collin <lasse.collin@tukaani.org>
11221 Date: 2008-12-31 00:30:49 +0200
11223 Remove lzma_init() and other init functions from liblzma API.
11224 Half of developers were already forgetting to use these
11225 functions, which could have caused total breakage in some future
11226 liblzma version or even now if --enable-small was used. Now
11227 liblzma uses pthread_once() to do the initializations unless
11228 it has been built with --disable-threads which make these
11229 initializations thread-unsafe.
11231 When --enable-small isn't used, liblzma currently gets needlessly
11232 linked against libpthread (on systems that have it). While it is
11233 stupid for now, liblzma will need threads in future anyway, so
11234 this stupidity will be temporary only.
11236 When --enable-small is used, different code CRC32 and CRC64 is
11237 now used than without --enable-small. This made the resulting
11238 binary slightly smaller, but the main reason was to clean it up
11239 and to handle the lack of lzma_init_check().
11241 The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not
11242 sure if it works correctly and portably for static linking
11243 (Libs.private includes -pthread or other operating system
11244 specific flags). Hopefully someone complains if it is bad.
11246 lzma_rc_prices[] is now included as a precomputed array even
11247 with --enable-small. It's just 128 bytes now that it uses uint8_t
11248 instead of uint32_t. Smaller array seemed to be at least as fast
11249 as the more bloated uint32_t array on x86; hopefully it's not bad
11250 on other architectures.
11252 configure.ac | 29 ++++++++--
11253 src/common/mythread.h | 34 ++++++++++++
11254 src/liblzma/api/Makefile.am | 1 -
11255 src/liblzma/api/lzma.h | 1 -
11256 src/liblzma/api/lzma/init.h | 85 -----------------------------
11257 src/liblzma/check/Makefile.am | 29 ++++------
11258 src/liblzma/check/check.c | 10 ++--
11259 src/liblzma/check/check.h | 25 +++------
11260 src/liblzma/check/check_init.c | 37 -------------
11261 src/liblzma/check/{crc32.c => crc32_fast.c} | 0
11262 src/liblzma/check/crc32_init.c | 55 -------------------
11263 src/liblzma/check/crc32_small.c | 54 ++++++++++++++++++
11264 src/liblzma/check/crc32_tablegen.c | 55 ++++++++++++++++---
11265 src/liblzma/check/{crc64.c => crc64_fast.c} | 0
11266 src/liblzma/check/crc64_small.c | 54 ++++++++++++++++++
11267 src/liblzma/check/crc64_tablegen.c | 55 ++++++++++++++++---
11268 src/liblzma/common/Makefile.am | 3 -
11269 src/liblzma/common/common.h | 1 +
11270 src/liblzma/common/init.c | 39 -------------
11271 src/liblzma/common/init_decoder.c | 31 -----------
11272 src/liblzma/common/init_encoder.c | 40 --------------
11273 src/liblzma/{lzma.pc.in => liblzma.pc.in} | 5 +-
11274 src/liblzma/lz/lz_encoder.c | 6 ++
11275 src/liblzma/rangecoder/Makefile.am | 8 +--
11276 src/liblzma/rangecoder/price.h | 16 +-----
11277 src/liblzma/rangecoder/price_table.c | 2 +-
11278 src/liblzma/rangecoder/price_table_init.c | 55 -------------------
11279 src/liblzma/rangecoder/price_tablegen.c | 51 ++++++++++++++---
11280 src/xz/Makefile.am | 5 +-
11281 src/xz/main.c | 3 -
11282 src/xzdec/xzdec.c | 3 -
11283 tests/test_block_header.c | 1 -
11284 tests/test_check.c | 2 -
11285 tests/test_filter_flags.c | 2 -
11286 tests/test_index.c | 2 -
11287 tests/test_stream_flags.c | 2 -
11288 tests/tests.h | 2 +-
11289 37 files changed, 347 insertions(+), 456 deletions(-)
11291 commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2
11292 Author: Lasse Collin <lasse.collin@tukaani.org>
11293 Date: 2008-12-27 19:40:31 +0200
11295 Use 28 MiB as memory usage limit for encoding in test_compress.sh.
11297 tests/test_compress.sh | 2 +-
11298 1 file changed, 1 insertion(+), 1 deletion(-)
11300 commit 050eb14d29e2537c014662e83599fd8a77f13c45
11301 Author: Lasse Collin <lasse.collin@tukaani.org>
11302 Date: 2008-12-27 19:32:20 +0200
11304 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680
11305 that was related to LZMA_MODE_FAST. The original code is slightly
11306 faster although it compresses slightly worse. But since it is fast
11307 mode, it is better to select the faster version.
11309 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++---------------
11310 1 file changed, 8 insertions(+), 15 deletions(-)
11312 commit 4820f10d0f173864f6a2ea7479663b509ac53358
11313 Author: Lasse Collin <lasse.collin@tukaani.org>
11314 Date: 2008-12-27 19:30:19 +0200
11316 Some xz command line tool improvements.
11318 src/xz/args.c | 23 +++++-----
11319 src/xz/message.c | 4 +-
11320 src/xz/options.c | 2 +-
11321 src/xz/process.c | 133 +++++++++++++++++++++++++++++++++++++++++++------------
11322 src/xz/process.h | 3 ++
11323 5 files changed, 121 insertions(+), 44 deletions(-)
11325 commit e33194e79d8f5ce07cb4aca909b324ae75098f7e
11326 Author: Lasse Collin <lasse.collin@tukaani.org>
11327 Date: 2008-12-27 19:27:49 +0200
11329 Bunch of liblzma tweaks, including some API changes.
11330 The API and ABI should now be very close to stable,
11331 although the code behind it isn't yet.
11333 src/liblzma/api/lzma.h | 8 ++--
11334 src/liblzma/api/lzma/block.h | 63 ++++++++++++++++++++++++-
11335 src/liblzma/api/lzma/container.h | 76 +++++++++++++++----------------
11336 src/liblzma/api/lzma/lzma.h | 41 +++++++++--------
11337 src/liblzma/common/alone_decoder.c | 36 +++++++--------
11338 src/liblzma/common/alone_encoder.c | 22 ++++-----
11339 src/liblzma/common/auto_decoder.c | 2 +-
11340 src/liblzma/common/block_decoder.c | 54 +++++++++++-----------
11341 src/liblzma/common/block_decoder.h | 4 +-
11342 src/liblzma/common/block_encoder.c | 37 ++++++++-------
11343 src/liblzma/common/block_encoder.h | 4 +-
11344 src/liblzma/common/block_header_decoder.c | 41 +++++++++--------
11345 src/liblzma/common/block_header_encoder.c | 51 ++++++++++-----------
11346 src/liblzma/common/block_util.c | 3 +-
11347 src/liblzma/common/easy.c | 45 ++++++------------
11348 src/liblzma/common/stream_decoder.c | 3 +-
11349 src/liblzma/common/stream_decoder.h | 2 +-
11350 src/liblzma/common/stream_encoder.c | 3 +-
11351 src/liblzma/common/stream_encoder.h | 2 +-
11352 src/liblzma/common/stream_flags_decoder.c | 2 +-
11353 src/liblzma/common/stream_flags_encoder.c | 2 +-
11354 src/liblzma/lzma/lzma_encoder.c | 2 +-
11355 src/liblzma/lzma/lzma_encoder_presets.c | 53 +++++++--------------
11356 23 files changed, 294 insertions(+), 262 deletions(-)
11358 commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074
11359 Author: Lasse Collin <lasse.collin@tukaani.org>
11360 Date: 2008-12-18 13:42:52 +0200
11362 Updated Makefile.am that was missing from the previous commit.
11364 src/liblzma/common/Makefile.am | 1 -
11365 1 file changed, 1 deletion(-)
11367 commit 634636fa56ccee6e744f78b0abed76c8940f2f8f
11368 Author: Lasse Collin <lasse.collin@tukaani.org>
11369 Date: 2008-12-17 21:49:53 +0200
11371 Remove the alignment functions for now. Maybe they will
11372 be added back in some form later, but the current version
11373 wasn't modular, so it would need fixing anyway.
11375 src/liblzma/api/Makefile.am | 1 -
11376 src/liblzma/api/lzma.h | 1 -
11377 src/liblzma/api/lzma/alignment.h | 60 ---------------------
11378 src/liblzma/common/alignment.c | 114 ---------------------------------------
11379 4 files changed, 176 deletions(-)
11381 commit 4fed98417d1687f5eccccb42a133fde3ec81216a
11382 Author: Lasse Collin <lasse.collin@tukaani.org>
11383 Date: 2008-12-17 20:11:23 +0200
11385 xz message handling improvements
11387 src/xz/message.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
11388 src/xz/message.h | 7 +++-
11389 src/xz/process.c | 28 ++++++++++++-
11390 3 files changed, 146 insertions(+), 14 deletions(-)
11392 commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d
11393 Author: Lasse Collin <lasse.collin@tukaani.org>
11394 Date: 2008-12-15 23:26:43 +0200
11396 Fix a dumb bug in .lzma decoder which was introduced in
11397 the previous commit. (Probably the previous commit has
11398 other bugs too, it wasn't tested.)
11400 src/liblzma/common/alone_decoder.c | 29 ++++++++++++++---------------
11401 1 file changed, 14 insertions(+), 15 deletions(-)
11403 commit 671a5adf1e844bfdd6fd327016c3c28694493158
11404 Author: Lasse Collin <lasse.collin@tukaani.org>
11405 Date: 2008-12-15 19:39:13 +0200
11407 Bunch of liblzma API cleanups and fixes.
11409 src/liblzma/api/lzma.h | 122 +++++++++++----------
11410 src/liblzma/api/lzma/base.h | 174 ++++++++++++++++++-----------
11411 src/liblzma/api/lzma/block.h | 211 +++++++++++++++++++++++-------------
11412 src/liblzma/api/lzma/check.h | 28 ++---
11413 src/liblzma/api/lzma/container.h | 155 +++++++++++++-------------
11414 src/liblzma/api/lzma/delta.h | 12 +-
11415 src/liblzma/api/lzma/filter.h | 27 +++--
11416 src/liblzma/api/lzma/index.h | 97 ++++++++++++++---
11417 src/liblzma/api/lzma/index_hash.h | 26 +++--
11418 src/liblzma/api/lzma/init.h | 2 +-
11419 src/liblzma/api/lzma/lzma.h | 12 +-
11420 src/liblzma/api/lzma/simple.h | 4 +-
11421 src/liblzma/api/lzma/stream_flags.h | 46 +++++---
11422 src/liblzma/api/lzma/version.h | 6 +-
11423 src/liblzma/api/lzma/vli.h | 17 ++-
11424 src/liblzma/common/alone_decoder.c | 47 +++++---
11425 src/liblzma/common/auto_decoder.c | 29 +++++
11426 src/liblzma/common/block_util.c | 52 +++++----
11427 src/liblzma/common/common.c | 58 ++++++++++
11428 src/liblzma/common/common.h | 9 +-
11429 src/liblzma/common/easy.c | 33 ++++--
11430 src/liblzma/common/filter_common.c | 2 +-
11431 src/liblzma/common/index.c | 11 ++
11432 src/liblzma/common/index_decoder.c | 46 ++++++--
11433 src/liblzma/common/stream_decoder.c | 47 ++++++--
11434 src/liblzma/lzma/lzma2_encoder.c | 6 +-
11435 tests/test_index.c | 10 +-
11436 27 files changed, 863 insertions(+), 426 deletions(-)
11438 commit 17781c2c20fd77029cb32e77792889f2f211d69d
11439 Author: Lasse Collin <lasse.collin@tukaani.org>
11440 Date: 2008-12-15 14:26:52 +0200
11442 The LZMA2 decoder fix introduced a bug to LZ decoder,
11443 which made LZ decoder return too early after dictionary
11444 reset. This fixes it.
11446 src/liblzma/lz/lz_decoder.c | 33 +++++++++++++++++++++++----------
11447 1 file changed, 23 insertions(+), 10 deletions(-)
11449 commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8
11450 Author: Lasse Collin <lasse.collin@tukaani.org>
11451 Date: 2008-12-15 11:20:22 +0200
11453 Added two new test files.
11455 tests/files/README | 7 +++++++
11456 tests/files/bad-1-lzma2-8.xz | Bin 0 -> 464 bytes
11457 tests/files/good-1-lzma2-4.xz | Bin 0 -> 464 bytes
11458 3 files changed, 7 insertions(+)
11460 commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf
11461 Author: Lasse Collin <lasse.collin@tukaani.org>
11462 Date: 2008-12-15 10:01:59 +0200
11464 Fix data corruption in LZMA2 decoder.
11466 src/liblzma/lz/lz_decoder.c | 17 ++++++++++++++++-
11467 src/liblzma/lz/lz_decoder.h | 8 +++++---
11468 src/liblzma/lzma/lzma2_decoder.c | 15 +++++++++++----
11469 3 files changed, 32 insertions(+), 8 deletions(-)
11471 commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613
11472 Author: Lasse Collin <lasse.collin@tukaani.org>
11473 Date: 2008-12-13 00:54:11 +0200
11475 Name the package "xz" in configure.ac.
11477 configure.ac | 11 ++++-------
11478 1 file changed, 4 insertions(+), 7 deletions(-)
11480 commit a94bf00d0af9b423851905b031be5a645a657820
11481 Author: Lasse Collin <lasse.collin@tukaani.org>
11482 Date: 2008-12-12 22:43:21 +0200
11484 Some adjustments to GCC warning flags. The important change
11485 is the removal of -pedantic. It messes up -Werror (which I
11486 really want to keep so that I don't miss any warnings) with
11487 printf format strings that are in POSIX but not in C99.
11489 configure.ac | 8 +++++---
11490 1 file changed, 5 insertions(+), 3 deletions(-)
11492 commit 8582d392baacd2cdac07ca60041f8c661323676d
11493 Author: Lasse Collin <lasse.collin@tukaani.org>
11494 Date: 2008-12-10 01:31:00 +0200
11496 Remove obsolete comment.
11498 src/xz/message.c | 1 -
11499 1 file changed, 1 deletion(-)
11501 commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1
11502 Author: Lasse Collin <lasse.collin@tukaani.org>
11503 Date: 2008-12-10 01:27:15 +0200
11505 Use "decompression" consistently in --long-help.
11507 src/xz/message.c | 2 +-
11508 1 file changed, 1 insertion(+), 1 deletion(-)
11510 commit 1ea9e7f15afd5d3981e2432710e932320597bca9
11511 Author: Lasse Collin <lasse.collin@tukaani.org>
11512 Date: 2008-12-10 01:23:58 +0200
11514 Added preset=NUM to --lzma1 and --lzma2. This makes it easy
11515 to take a preset as a template and modify it a little.
11517 src/xz/message.c | 1 +
11518 src/xz/options.c | 8 ++++++++
11519 2 files changed, 9 insertions(+)
11521 commit bceb3918dbb21f34976bfdd4c171a81319de71f7
11522 Author: Lasse Collin <lasse.collin@tukaani.org>
11523 Date: 2008-12-09 17:43:31 +0200
11525 Put the file format specification into the public domain.
11526 Same will be done to the actual code later.
11528 doc/file-format.txt | 24 +++++++++---------------
11529 1 file changed, 9 insertions(+), 15 deletions(-)
11531 commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6
11532 Author: Lasse Collin <lasse.collin@tukaani.org>
11533 Date: 2008-12-09 17:41:49 +0200
11535 Make the memusage functions of LZMA1 and LZMA2 encoders
11536 to validate the filter options. Add missing validation
11537 to LZMA2 encoder when options are changed in the middle
11540 src/liblzma/lzma/lzma2_encoder.c | 5 ++++-
11541 src/liblzma/lzma/lzma_encoder.c | 44 +++++++++++++++++++++++++++-------------
11542 src/liblzma/lzma/lzma_encoder.h | 2 +-
11543 3 files changed, 35 insertions(+), 16 deletions(-)
11545 commit f20a03206b71ff01b827bb7a932411d6a6a4e06a
11546 Author: Lasse Collin <lasse.collin@tukaani.org>
11547 Date: 2008-12-09 10:36:24 +0200
11552 1 file changed, 1 insertion(+)
11554 commit ef7890d56453dca1aeb2e12db29b7e418d93dde4
11555 Author: Lasse Collin <lasse.collin@tukaani.org>
11556 Date: 2008-12-01 23:04:12 +0200
11558 In command line tool, take advantage of memusage calculation's
11559 ability to also validate the filter chain and options (not
11560 implemented yet for all filters).
11562 src/xz/process.c | 8 ++++----
11563 1 file changed, 4 insertions(+), 4 deletions(-)
11565 commit ccd57afa09e332d664d6d6a7498702791ea5f659
11566 Author: Lasse Collin <lasse.collin@tukaani.org>
11567 Date: 2008-12-01 22:59:28 +0200
11569 Validate the filter chain before checking filter-specific
11572 src/liblzma/common/filter_common.c | 14 ++++++++++----
11573 1 file changed, 10 insertions(+), 4 deletions(-)
11575 commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15
11576 Author: Lasse Collin <lasse.collin@tukaani.org>
11577 Date: 2008-12-01 22:58:22 +0200
11579 Make the memusage functions of LZMA1 and LZMA2 decoders
11580 to validate the filter options.
11582 src/liblzma/lzma/lzma2_decoder.c | 7 ++-----
11583 src/liblzma/lzma/lzma_decoder.c | 14 ++++++++++----
11584 src/liblzma/lzma/lzma_decoder.h | 5 +++++
11585 3 files changed, 17 insertions(+), 9 deletions(-)
11587 commit c58f469be5bb9b0bdab825c6687445fd553f4f3a
11588 Author: Lasse Collin <lasse.collin@tukaani.org>
11589 Date: 2008-12-01 22:55:18 +0200
11591 Added the changes for Delta filter that should have been
11592 part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.
11594 src/liblzma/common/filter_decoder.c | 2 +-
11595 src/liblzma/common/filter_encoder.c | 2 +-
11596 2 files changed, 2 insertions(+), 2 deletions(-)
11598 commit cd708015202dbf7585b84a8781462a20c42a324b
11599 Author: Lasse Collin <lasse.collin@tukaani.org>
11600 Date: 2008-12-01 22:50:28 +0200
11602 LZMA2 decoder cleanups. Make it require new LZMA properties
11603 also in the first LZMA chunk after a dictionary reset in
11604 uncompressed chunk.
11606 src/liblzma/lzma/lzma2_decoder.c | 95 +++++++++++++++++-----------------------
11607 1 file changed, 41 insertions(+), 54 deletions(-)
11609 commit 656ec87882ee74b192c4ea4a233a235eca7b04d4
11610 Author: Lasse Collin <lasse.collin@tukaani.org>
11611 Date: 2008-12-01 16:30:11 +0200
11613 Added lzma_delta_coder_memusage() which also validates
11616 src/liblzma/delta/Makefile.am | 3 ++-
11617 src/liblzma/delta/delta_common.c | 28 ++++++++++++++++++-------
11618 src/liblzma/delta/delta_common.h | 19 +----------------
11619 src/liblzma/delta/delta_decoder.c | 2 +-
11620 src/liblzma/delta/delta_decoder.h | 2 +-
11621 src/liblzma/delta/delta_encoder.c | 14 ++++---------
11622 src/liblzma/delta/delta_encoder.h | 2 +-
11623 src/liblzma/delta/delta_private.h | 44 +++++++++++++++++++++++++++++++++++++++
11624 8 files changed, 75 insertions(+), 39 deletions(-)
11626 commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a
11627 Author: Lasse Collin <lasse.collin@tukaani.org>
11628 Date: 2008-11-29 10:03:49 +0200
11630 Automake includes the m4 directory, so don't add it in
11631 Makefile.am separately.
11637 2 files changed, 1 insertion(+), 1 deletion(-)
11639 commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0
11640 Author: Lasse Collin <lasse.collin@tukaani.org>
11641 Date: 2008-11-28 12:00:48 +0200
11643 Tested using COLUMNS environment variable to avoid broken
11644 progress indicator but since COLUMNS isn't usually available,
11645 the code was left commented out.
11647 src/xz/message.c | 14 +++++++++-----
11648 1 file changed, 9 insertions(+), 5 deletions(-)
11650 commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd
11651 Author: Lasse Collin <lasse.collin@tukaani.org>
11652 Date: 2008-11-27 19:28:59 +0200
11654 Cleanups to message.c.
11656 src/xz/message.c | 47 ++++++++++++++++++-----------------------------
11657 1 file changed, 18 insertions(+), 29 deletions(-)
11659 commit a8368b75cdcd5427299001cc42839287f27b244d
11660 Author: Lasse Collin <lasse.collin@tukaani.org>
11661 Date: 2008-11-25 02:37:47 +0200
11663 Remove the nowadays unneeded memory limitting malloc() wrapper.
11665 src/liblzma/api/Makefile.am | 1 -
11666 src/liblzma/api/lzma.h | 1 -
11667 src/liblzma/api/lzma/memlimit.h | 207 --------------------------
11668 src/liblzma/common/Makefile.am | 1 -
11669 src/liblzma/common/memory_limiter.c | 288 ------------------------------------
11670 tests/Makefile.am | 2 -
11671 tests/test_memlimit.c | 114 --------------
11672 7 files changed, 614 deletions(-)
11674 commit 69472ee5f055a2bb6f28106f0923e1461fd1d080
11675 Author: Lasse Collin <lasse.collin@tukaani.org>
11676 Date: 2008-11-23 15:09:03 +0200
11678 VLI encoder and decoder cleanups. Made encoder return
11679 LZMA_PROG_ERROR in single-call mode if there's no output
11682 src/liblzma/common/vli_decoder.c | 15 +++++++++------
11683 src/liblzma/common/vli_encoder.c | 31 ++++++++++++++++++++++++-------
11684 2 files changed, 33 insertions(+), 13 deletions(-)
11686 commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650
11687 Author: Lasse Collin <lasse.collin@tukaani.org>
11688 Date: 2008-11-22 17:44:33 +0200
11692 src/xz/process.c | 2 +-
11693 1 file changed, 1 insertion(+), 1 deletion(-)
11695 commit 6d1d6f4598d121253dbe1084c6866b66e95c361b
11696 Author: Lasse Collin <lasse.collin@tukaani.org>
11697 Date: 2008-11-20 22:59:10 +0200
11699 Support NetBSD's errno for O_NOFOLLOW.
11701 src/xz/io.c | 8 ++++++++
11702 1 file changed, 8 insertions(+)
11704 commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7
11705 Author: Lasse Collin <lasse.collin@tukaani.org>
11706 Date: 2008-11-20 18:05:52 +0200
11708 Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz
11709 files and lzmadec only .lzma files.
11711 src/xzdec/Makefile.am | 7 +-
11712 src/xzdec/xzdec.c | 311 ++++++++++++++++++++++----------------------------
11713 2 files changed, 140 insertions(+), 178 deletions(-)
11715 commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c
11716 Author: Lasse Collin <lasse.collin@tukaani.org>
11717 Date: 2008-11-20 11:01:29 +0200
11719 Minor cleanups to xzdec.
11721 src/xzdec/xzdec.c | 20 ++++++++++----------
11722 1 file changed, 10 insertions(+), 10 deletions(-)
11724 commit 54f716ba8905d09752dcd1519455a40bd21d5317
11725 Author: Lasse Collin <lasse.collin@tukaani.org>
11726 Date: 2008-11-19 23:55:22 +0200
11728 Added missing check for uint16_t.
11731 1 file changed, 1 insertion(+)
11733 commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06
11734 Author: Lasse Collin <lasse.collin@tukaani.org>
11735 Date: 2008-11-19 23:52:24 +0200
11737 Renamed lzma to xz and lzmadec to xzdec. We create symlinks
11738 lzma, unlzma, and lzcat in "make install" for backwards
11739 compatibility with LZMA Utils 4.32.x; I'm not sure if this
11740 should be the default though.
11742 configure.ac | 4 ++--
11743 po/POTFILES.in | 21 +++++++++------------
11744 src/Makefile.am | 2 +-
11745 src/{lzma => xz}/Makefile.am | 32 +++++++++++++++++---------------
11746 src/{lzma => xz}/args.c | 0
11747 src/{lzma => xz}/args.h | 0
11748 src/{lzma => xz}/hardware.c | 0
11749 src/{lzma => xz}/hardware.h | 0
11750 src/{lzma => xz}/io.c | 0
11751 src/{lzma => xz}/io.h | 0
11752 src/{lzma => xz}/list.c | 0
11753 src/{lzma => xz}/main.c | 0
11754 src/{lzma => xz}/main.h | 0
11755 src/{lzma => xz}/message.c | 0
11756 src/{lzma => xz}/message.h | 0
11757 src/{lzma => xz}/options.c | 0
11758 src/{lzma => xz}/options.h | 0
11759 src/{lzma => xz}/private.h | 0
11760 src/{lzma => xz}/process.c | 0
11761 src/{lzma => xz}/process.h | 0
11762 src/{lzma => xz}/suffix.c | 0
11763 src/{lzma => xz}/suffix.h | 0
11764 src/{lzma => xz}/util.c | 0
11765 src/{lzma => xz}/util.h | 0
11766 src/{lzmadec => xzdec}/Makefile.am | 12 ++++++------
11767 src/{lzmadec/lzmadec.c => xzdec/xzdec.c} | 4 ++--
11768 tests/test_compress.sh | 29 ++++++++++++++---------------
11769 tests/test_files.sh | 4 ++--
11770 28 files changed, 53 insertions(+), 55 deletions(-)
11772 commit e114502b2bc371e4a45449832cb69be036360722
11773 Author: Lasse Collin <lasse.collin@tukaani.org>
11774 Date: 2008-11-19 20:46:52 +0200
11776 Oh well, big messy commit again. Some highlights:
11777 - Updated to the latest, probably final file format version.
11778 - Command line tool reworked to not use threads anymore.
11779 Threading will probably go into liblzma anyway.
11780 - Memory usage limit is now about 30 % for uncompression
11781 and about 90 % for compression.
11782 - Progress indicator with --verbose
11783 - Simplified --help and full --long-help
11784 - Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
11788 configure.ac | 48 +-
11789 debug/full_flush.c | 6 +-
11790 debug/known_sizes.c | 2 +-
11791 debug/memusage.c | 2 +-
11792 debug/sync_flush.c | 10 +-
11793 doc/file-format.txt | 260 ++++----
11794 lib/Makefile.am | 10 +-
11795 lib/getopt.c | 14 +-
11796 lib/{getopt_.h => getopt.in.h} | 8 +-
11797 lib/getopt1.c | 8 +-
11798 lib/gettext.h | 240 -------
11799 m4/getopt.m4 | 64 +-
11800 src/common/bswap.h | 15 +-
11801 src/common/physmem.h | 4 +
11802 src/common/sysdefs.h | 12 +-
11803 src/liblzma/api/lzma/block.h | 47 +-
11804 src/liblzma/api/lzma/filter.h | 8 +
11805 src/liblzma/api/lzma/index.h | 20 +-
11806 src/liblzma/api/lzma/index_hash.h | 4 +-
11807 src/liblzma/common/block_decoder.c | 59 +-
11808 src/liblzma/common/block_encoder.c | 41 +-
11809 src/liblzma/common/block_header_decoder.c | 31 +-
11810 src/liblzma/common/block_header_encoder.c | 69 +--
11811 src/liblzma/common/block_util.c | 45 +-
11812 src/liblzma/common/common.h | 8 -
11813 src/liblzma/common/filter_common.c | 4 +-
11814 src/liblzma/common/index.c | 259 ++++----
11815 src/liblzma/common/index.h | 33 +-
11816 src/liblzma/common/index_decoder.c | 31 +-
11817 src/liblzma/common/index_encoder.c | 16 +-
11818 src/liblzma/common/index_hash.c | 68 +-
11819 src/liblzma/common/stream_decoder.c | 9 +-
11820 src/liblzma/common/stream_encoder.c | 6 +-
11821 src/liblzma/lz/lz_decoder.h | 4 +-
11822 src/liblzma/subblock/subblock_decoder.c | 3 +-
11823 src/lzma/Makefile.am | 9 +-
11824 src/lzma/alloc.c | 106 ----
11825 src/lzma/alloc.h | 42 --
11826 src/lzma/args.c | 531 +++++++---------
11827 src/lzma/args.h | 42 +-
11828 src/lzma/error.c | 162 -----
11829 src/lzma/error.h | 67 --
11830 src/lzma/hardware.c | 75 ++-
11831 src/lzma/hardware.h | 16 +-
11832 src/lzma/help.c | 170 -----
11833 src/lzma/help.h | 32 -
11834 src/lzma/io.c | 757 +++++++++++------------
11835 src/lzma/io.h | 51 +-
11836 src/lzma/main.c | 392 ++++++++----
11837 src/lzma/main.h | 60 ++
11838 src/lzma/message.c | 892 +++++++++++++++++++++++++++
11839 src/lzma/message.h | 132 ++++
11840 src/lzma/options.c | 42 +-
11841 src/lzma/options.h | 6 +-
11842 src/lzma/private.h | 28 +-
11843 src/lzma/process.c | 525 ++++++++--------
11844 src/lzma/process.h | 40 ++
11845 src/lzma/suffix.c | 52 +-
11846 src/lzma/suffix.h | 17 +-
11847 src/lzma/util.c | 100 +--
11848 src/lzma/util.h | 43 +-
11849 src/lzmadec/lzmadec.c | 36 +-
11850 tests/files/README | 12 +-
11851 tests/files/bad-1-block_header-1.xz | Bin 64 -> 64 bytes
11852 tests/files/bad-1-block_header-2.xz | Bin 64 -> 64 bytes
11853 tests/files/bad-1-block_header-3.xz | Bin 68 -> 68 bytes
11854 tests/files/bad-1-block_header-4.xz | Bin 72 -> 76 bytes
11855 tests/files/bad-1-block_header-5.xz | Bin 0 -> 72 bytes
11856 tests/files/bad-1-check-crc32.xz | Bin 68 -> 68 bytes
11857 tests/files/bad-1-check-crc64.xz | Bin 72 -> 72 bytes
11858 tests/files/bad-1-check-sha256.xz | Bin 96 -> 96 bytes
11859 tests/files/bad-1-lzma2-1.xz | Bin 64 -> 64 bytes
11860 tests/files/bad-1-lzma2-2.xz | Bin 424 -> 424 bytes
11861 tests/files/bad-1-lzma2-3.xz | Bin 424 -> 424 bytes
11862 tests/files/bad-1-lzma2-4.xz | Bin 408 -> 408 bytes
11863 tests/files/bad-1-lzma2-5.xz | Bin 408 -> 408 bytes
11864 tests/files/bad-1-lzma2-6.xz | Bin 68 -> 68 bytes
11865 tests/files/bad-1-lzma2-7.xz | Bin 408 -> 408 bytes
11866 tests/files/bad-1-stream_flags-1.xz | Bin 68 -> 68 bytes
11867 tests/files/bad-1-stream_flags-2.xz | Bin 68 -> 68 bytes
11868 tests/files/bad-1-stream_flags-3.xz | Bin 68 -> 68 bytes
11869 tests/files/bad-1-vli-1.xz | Bin 72 -> 72 bytes
11870 tests/files/bad-1-vli-2.xz | Bin 72 -> 76 bytes
11871 tests/files/bad-2-compressed_data_padding.xz | Bin 92 -> 92 bytes
11872 tests/files/bad-2-index-1.xz | Bin 92 -> 92 bytes
11873 tests/files/bad-2-index-2.xz | Bin 92 -> 92 bytes
11874 tests/files/bad-2-index-3.xz | Bin 92 -> 92 bytes
11875 tests/files/bad-2-index-4.xz | Bin 92 -> 92 bytes
11876 tests/files/bad-2-index-5.xz | Bin 0 -> 92 bytes
11877 tests/files/good-1-3delta-lzma2.xz | Bin 528 -> 528 bytes
11878 tests/files/good-1-block_header-1.xz | Bin 72 -> 72 bytes
11879 tests/files/good-1-block_header-2.xz | Bin 68 -> 68 bytes
11880 tests/files/good-1-block_header-3.xz | Bin 68 -> 68 bytes
11881 tests/files/good-1-check-crc32.xz | Bin 68 -> 68 bytes
11882 tests/files/good-1-check-crc64.xz | Bin 72 -> 72 bytes
11883 tests/files/good-1-check-none.xz | Bin 64 -> 64 bytes
11884 tests/files/good-1-check-sha256.xz | Bin 96 -> 96 bytes
11885 tests/files/good-1-delta-lzma2.tiff.xz | Bin 51312 -> 51316 bytes
11886 tests/files/good-1-lzma2-1.xz | Bin 424 -> 424 bytes
11887 tests/files/good-1-lzma2-2.xz | Bin 424 -> 424 bytes
11888 tests/files/good-1-lzma2-3.xz | Bin 408 -> 408 bytes
11889 tests/files/good-1-sparc-lzma2.xz | Bin 2292 -> 2296 bytes
11890 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 1936 bytes
11891 tests/files/good-2-lzma2.xz | Bin 92 -> 92 bytes
11892 tests/files/unsupported-block_header.xz | Bin 68 -> 68 bytes
11893 tests/files/unsupported-check.xz | Bin 68 -> 68 bytes
11894 tests/files/unsupported-filter_flags-1.xz | Bin 68 -> 68 bytes
11895 tests/files/unsupported-filter_flags-2.xz | Bin 68 -> 68 bytes
11896 tests/files/unsupported-filter_flags-3.xz | Bin 68 -> 68 bytes
11897 tests/test_block_header.c | 16 +-
11898 tests/test_index.c | 42 +-
11899 112 files changed, 3240 insertions(+), 2724 deletions(-)
11901 commit 3c3905b53462ae235c9438d86a4dc51086410932
11902 Author: Lasse Collin <lasse.collin@tukaani.org>
11903 Date: 2008-10-09 11:12:29 +0300
11905 Fixed the test that should have been fixed as part
11906 of 1e8e4fd1f3e50129b4541406ad765d2aa1233943.
11908 tests/test_block_header.c | 2 +-
11909 1 file changed, 1 insertion(+), 1 deletion(-)
11911 commit 0f295bf7a3ece01f667caae318cc3e3424085886
11912 Author: Lasse Collin <lasse.collin@tukaani.org>
11913 Date: 2008-10-07 16:42:18 +0300
11915 Fixed some help messages.
11917 src/lzma/help.c | 6 +++---
11918 1 file changed, 3 insertions(+), 3 deletions(-)
11920 commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943
11921 Author: Lasse Collin <lasse.collin@tukaani.org>
11922 Date: 2008-10-07 09:40:31 +0300
11924 Made the preset numbering more logical in liblzma API.
11926 src/liblzma/api/lzma/container.h | 20 ++++++++++----------
11927 src/liblzma/api/lzma/lzma.h | 2 +-
11928 src/liblzma/lzma/lzma_encoder_presets.c | 3 ++-
11929 src/lzma/args.c | 8 ++++----
11930 src/lzma/args.h | 2 +-
11931 5 files changed, 18 insertions(+), 17 deletions(-)
11933 commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81
11934 Author: Lasse Collin <lasse.collin@tukaani.org>
11935 Date: 2008-10-03 19:36:09 +0300
11937 Removed fi from po/LINGUAS.
11940 1 file changed, 1 deletion(-)
11942 commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128
11943 Author: Lasse Collin <lasse.collin@tukaani.org>
11944 Date: 2008-10-03 07:06:48 +0300
11946 Fixed suffix handling with --format=raw.
11948 src/lzma/suffix.c | 28 +++++++++++++++++++---------
11949 1 file changed, 19 insertions(+), 9 deletions(-)
11951 commit bd137524f2f50e30ba054f42f1f6536cd3cee920
11952 Author: Lasse Collin <lasse.collin@tukaani.org>
11953 Date: 2008-10-02 22:51:46 +0300
11955 Initial changes to change the suffix of the new format to .xz.
11956 This also fixes a bug related to --suffix option. Some issues
11957 with suffixes with --format=raw were not fixed.
11959 src/lzma/args.c | 67 +++++++++++++++++++++++++++++++--------------
11960 src/lzma/args.h | 13 +++++----
11961 src/lzma/help.c | 4 +--
11962 src/lzma/process.c | 24 +++++++++-------
11963 src/lzma/suffix.c | 74 +++++++++++++++++++++++++++++++++++++++++---------
11964 tests/test_compress.sh | 3 +-
11965 6 files changed, 133 insertions(+), 52 deletions(-)
11967 commit 4c321a41c482821aa3c4d64cdf886a6ed904d844
11968 Author: Lasse Collin <lasse.collin@tukaani.org>
11969 Date: 2008-09-30 17:43:55 +0300
11971 Renamed the test files from .lzma suffix to .xz suffix.
11973 tests/files/README | 128 ++++++++++-----------
11974 ...0-backward_size.lzma => bad-0-backward_size.xz} | Bin
11975 ...pty-truncated.lzma => bad-0-empty-truncated.xz} | Bin
11976 ...d-0-footer_magic.lzma => bad-0-footer_magic.xz} | Bin
11977 ...d-0-header_magic.lzma => bad-0-header_magic.xz} | Bin
11978 ...nonempty_index.lzma => bad-0-nonempty_index.xz} | Bin
11979 .../{bad-0cat-alone.lzma => bad-0cat-alone.xz} | Bin
11980 ...-header_magic.lzma => bad-0cat-header_magic.xz} | Bin
11981 ...bad-0catpad-empty.lzma => bad-0catpad-empty.xz} | Bin
11982 .../{bad-0pad-empty.lzma => bad-0pad-empty.xz} | Bin
11983 ...block_header-1.lzma => bad-1-block_header-1.xz} | Bin
11984 ...block_header-2.lzma => bad-1-block_header-2.xz} | Bin
11985 ...block_header-3.lzma => bad-1-block_header-3.xz} | Bin
11986 ...block_header-4.lzma => bad-1-block_header-4.xz} | Bin
11987 ...bad-1-check-crc32.lzma => bad-1-check-crc32.xz} | Bin
11988 ...bad-1-check-crc64.lzma => bad-1-check-crc64.xz} | Bin
11989 ...d-1-check-sha256.lzma => bad-1-check-sha256.xz} | Bin
11990 .../files/{bad-1-lzma2-1.lzma => bad-1-lzma2-1.xz} | Bin
11991 .../files/{bad-1-lzma2-2.lzma => bad-1-lzma2-2.xz} | Bin
11992 .../files/{bad-1-lzma2-3.lzma => bad-1-lzma2-3.xz} | Bin
11993 .../files/{bad-1-lzma2-4.lzma => bad-1-lzma2-4.xz} | Bin
11994 .../files/{bad-1-lzma2-5.lzma => bad-1-lzma2-5.xz} | Bin
11995 .../files/{bad-1-lzma2-6.lzma => bad-1-lzma2-6.xz} | Bin
11996 .../files/{bad-1-lzma2-7.lzma => bad-1-lzma2-7.xz} | Bin
11997 ...stream_flags-1.lzma => bad-1-stream_flags-1.xz} | Bin
11998 ...stream_flags-2.lzma => bad-1-stream_flags-2.xz} | Bin
11999 ...stream_flags-3.lzma => bad-1-stream_flags-3.xz} | Bin
12000 tests/files/{bad-1-vli-1.lzma => bad-1-vli-1.xz} | Bin
12001 tests/files/{bad-1-vli-2.lzma => bad-1-vli-2.xz} | Bin
12002 ...dding.lzma => bad-2-compressed_data_padding.xz} | Bin
12003 .../files/{bad-2-index-1.lzma => bad-2-index-1.xz} | Bin
12004 .../files/{bad-2-index-2.lzma => bad-2-index-2.xz} | Bin
12005 .../files/{bad-2-index-3.lzma => bad-2-index-3.xz} | Bin
12006 .../files/{bad-2-index-4.lzma => bad-2-index-4.xz} | Bin
12007 tests/files/{good-0-empty.lzma => good-0-empty.xz} | Bin
12008 .../{good-0cat-empty.lzma => good-0cat-empty.xz} | Bin
12009 ...od-0catpad-empty.lzma => good-0catpad-empty.xz} | Bin
12010 .../{good-0pad-empty.lzma => good-0pad-empty.xz} | Bin
12011 ...-1-3delta-lzma2.lzma => good-1-3delta-lzma2.xz} | Bin
12012 ...lock_header-1.lzma => good-1-block_header-1.xz} | Bin
12013 ...lock_header-2.lzma => good-1-block_header-2.xz} | Bin
12014 ...lock_header-3.lzma => good-1-block_header-3.xz} | Bin
12015 ...od-1-check-crc32.lzma => good-1-check-crc32.xz} | Bin
12016 ...od-1-check-crc64.lzma => good-1-check-crc64.xz} | Bin
12017 ...good-1-check-none.lzma => good-1-check-none.xz} | Bin
12018 ...-1-check-sha256.lzma => good-1-check-sha256.xz} | Bin
12019 ...-lzma2.tiff.lzma => good-1-delta-lzma2.tiff.xz} | Bin
12020 .../{good-1-lzma2-1.lzma => good-1-lzma2-1.xz} | Bin
12021 .../{good-1-lzma2-2.lzma => good-1-lzma2-2.xz} | Bin
12022 .../{good-1-lzma2-3.lzma => good-1-lzma2-3.xz} | Bin
12023 ...od-1-sparc-lzma2.lzma => good-1-sparc-lzma2.xz} | Bin
12024 .../{good-1-x86-lzma2.lzma => good-1-x86-lzma2.xz} | Bin
12025 tests/files/{good-2-lzma2.lzma => good-2-lzma2.xz} | Bin
12026 ...ock_header.lzma => unsupported-block_header.xz} | Bin
12027 ...unsupported-check.lzma => unsupported-check.xz} | Bin
12028 ..._flags-1.lzma => unsupported-filter_flags-1.xz} | Bin
12029 ..._flags-2.lzma => unsupported-filter_flags-2.xz} | Bin
12030 ..._flags-3.lzma => unsupported-filter_flags-3.xz} | Bin
12031 tests/test_files.sh | 6 +-
12032 59 files changed, 66 insertions(+), 68 deletions(-)
12034 commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb
12035 Author: Lasse Collin <lasse.collin@tukaani.org>
12036 Date: 2008-09-30 13:57:44 +0300
12038 Fixed Stream decoder to actually use the first_stream variable.
12040 src/liblzma/common/stream_decoder.c | 5 +++++
12041 1 file changed, 5 insertions(+)
12043 commit 3bdbc12c054d1961133ee19802af7dd3c3494543
12044 Author: Lasse Collin <lasse.collin@tukaani.org>
12045 Date: 2008-09-30 13:56:57 +0300
12047 Added one more test file.
12049 tests/files/README | 15 +++++++++++----
12050 tests/files/bad-0cat-header_magic.lzma | Bin 0 -> 64 bytes
12051 2 files changed, 11 insertions(+), 4 deletions(-)
12053 commit a6639022fdc536e5659b070a465221b4cf7c51fa
12054 Author: Lasse Collin <lasse.collin@tukaani.org>
12055 Date: 2008-09-30 13:34:07 +0300
12057 Fixed uninitialized variable in Stream decoder.
12059 src/liblzma/common/stream_decoder.c | 1 +
12060 1 file changed, 1 insertion(+)
12062 commit ed3709000a3f17ecefab29b2235d7e2221b00003
12063 Author: Lasse Collin <lasse.collin@tukaani.org>
12064 Date: 2008-09-30 13:27:28 +0300
12066 Added two test files.
12068 tests/files/README | 6 ++++++
12069 tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes
12070 tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes
12071 3 files changed, 6 insertions(+)
12073 commit ea560b0ea80525752bdcd0074d24f8dc170bbe29
12074 Author: Lasse Collin <lasse.collin@tukaani.org>
12075 Date: 2008-09-27 23:49:24 +0300
12077 Fix conflicting Subblock helper filter's ID.
12079 src/liblzma/common/common.h | 2 +-
12080 1 file changed, 1 insertion(+), 1 deletion(-)
12082 commit ad97483b6e55142fd8d5c041db057017a891cd95
12083 Author: Lasse Collin <lasse.collin@tukaani.org>
12084 Date: 2008-09-27 23:37:13 +0300
12086 Changed magic bytes to match the updated spec. Filename
12087 suffix wasn't changed yet.
12089 src/liblzma/common/auto_decoder.c | 4 ++--
12090 src/liblzma/common/stream_flags_common.c | 2 +-
12091 tests/files/bad-0-backward_size.lzma | Bin 32 -> 32 bytes
12092 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 31 bytes
12093 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 32 bytes
12094 tests/files/bad-0cat-alone.lzma | Bin 55 -> 55 bytes
12095 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 69 bytes
12096 tests/files/bad-0pad-empty.lzma | Bin 37 -> 37 bytes
12097 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 64 bytes
12098 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 64 bytes
12099 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 68 bytes
12100 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 72 bytes
12101 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 68 bytes
12102 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 72 bytes
12103 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 96 bytes
12104 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 64 bytes
12105 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 424 bytes
12106 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 424 bytes
12107 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 408 bytes
12108 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 408 bytes
12109 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 68 bytes
12110 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 408 bytes
12111 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 68 bytes
12112 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 68 bytes
12113 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 68 bytes
12114 tests/files/bad-1-vli-1.lzma | Bin 72 -> 72 bytes
12115 tests/files/bad-1-vli-2.lzma | Bin 72 -> 72 bytes
12116 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 92 bytes
12117 tests/files/bad-2-index-1.lzma | Bin 92 -> 92 bytes
12118 tests/files/bad-2-index-2.lzma | Bin 92 -> 92 bytes
12119 tests/files/bad-2-index-3.lzma | Bin 92 -> 92 bytes
12120 tests/files/bad-2-index-4.lzma | Bin 92 -> 92 bytes
12121 tests/files/good-0-empty.lzma | Bin 32 -> 32 bytes
12122 tests/files/good-0cat-empty.lzma | Bin 64 -> 64 bytes
12123 tests/files/good-0catpad-empty.lzma | Bin 68 -> 68 bytes
12124 tests/files/good-0pad-empty.lzma | Bin 36 -> 36 bytes
12125 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 528 bytes
12126 tests/files/good-1-block_header-1.lzma | Bin 72 -> 72 bytes
12127 tests/files/good-1-block_header-2.lzma | Bin 68 -> 68 bytes
12128 tests/files/good-1-block_header-3.lzma | Bin 68 -> 68 bytes
12129 tests/files/good-1-check-crc32.lzma | Bin 68 -> 68 bytes
12130 tests/files/good-1-check-crc64.lzma | Bin 72 -> 72 bytes
12131 tests/files/good-1-check-none.lzma | Bin 64 -> 64 bytes
12132 tests/files/good-1-check-sha256.lzma | Bin 96 -> 96 bytes
12133 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 51312 bytes
12134 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 424 bytes
12135 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 424 bytes
12136 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 408 bytes
12137 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 2292 bytes
12138 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 1936 bytes
12139 tests/files/good-2-lzma2.lzma | Bin 92 -> 92 bytes
12140 tests/files/unsupported-block_header.lzma | Bin 68 -> 68 bytes
12141 tests/files/unsupported-check.lzma | Bin 68 -> 68 bytes
12142 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 68 bytes
12143 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 68 bytes
12144 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 68 bytes
12145 56 files changed, 3 insertions(+), 3 deletions(-)
12147 commit 7a57069167e9e63394e2b095ee3a63253fcb51c7
12148 Author: Lasse Collin <lasse.collin@tukaani.org>
12149 Date: 2008-09-27 23:16:09 +0300
12151 Remove po/fi.po since I'm not keeping it updated for now.
12153 po/fi.po | 446 ---------------------------------------------------------------
12154 1 file changed, 446 deletions(-)
12156 commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e
12157 Author: Lasse Collin <lasse.collin@tukaani.org>
12158 Date: 2008-09-27 23:13:54 +0300
12160 Fix also test_compress.sh.
12162 tests/test_compress.sh | 6 +++---
12163 1 file changed, 3 insertions(+), 3 deletions(-)
12165 commit 3a62a5fb85d2eebd8666e64ed5d364d095062858
12166 Author: Lasse Collin <lasse.collin@tukaani.org>
12167 Date: 2008-09-27 23:01:15 +0300
12169 Fixed compilation of test_filter_flags.c, which was broken by
12170 1dcecfb09b55157b8653d747963069c8bed74f04.
12172 tests/test_filter_flags.c | 16 ++++++++--------
12173 1 file changed, 8 insertions(+), 8 deletions(-)
12175 commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0
12176 Author: Lasse Collin <lasse.collin@tukaani.org>
12177 Date: 2008-09-27 19:11:02 +0300
12179 Updated file format specification. It changes the suffix
12180 of the new format to .xz and removes the recently added
12183 doc/file-format.txt | 125 ++++++++++++++--------------------------------------
12184 1 file changed, 32 insertions(+), 93 deletions(-)
12186 commit 1dcecfb09b55157b8653d747963069c8bed74f04
12187 Author: Lasse Collin <lasse.collin@tukaani.org>
12188 Date: 2008-09-27 19:09:21 +0300
12190 Some API changes, bug fixes, cleanups etc.
12192 configure.ac | 18 +-
12193 debug/full_flush.c | 7 +-
12194 debug/known_sizes.c | 6 +-
12195 debug/memusage.c | 22 +--
12196 debug/sync_flush.c | 18 +-
12197 src/liblzma/Makefile.am | 2 +-
12198 src/liblzma/api/lzma/delta.h | 8 +-
12199 src/liblzma/api/lzma/lzma.h | 230 ++++++++++++++++---------
12200 src/liblzma/common/alignment.c | 7 +-
12201 src/liblzma/common/alone_decoder.c | 11 +-
12202 src/liblzma/common/alone_encoder.c | 9 +-
12203 src/liblzma/common/chunk_size.c | 2 +-
12204 src/liblzma/common/easy.c | 20 ++-
12205 src/liblzma/common/filter_common.c | 4 +-
12206 src/liblzma/common/filter_decoder.c | 4 +-
12207 src/liblzma/common/filter_encoder.c | 4 +-
12208 src/liblzma/common/init_encoder.c | 2 +-
12209 src/liblzma/delta/delta_common.c | 12 +-
12210 src/liblzma/delta/delta_common.h | 2 +-
12211 src/liblzma/delta/delta_decoder.c | 2 +-
12212 src/liblzma/delta/delta_encoder.c | 6 +-
12213 src/liblzma/lz/lz_encoder.c | 30 ++--
12214 src/liblzma/lz/lz_encoder.h | 26 +--
12215 src/liblzma/lz/lz_encoder_mf.c | 30 ++--
12216 src/liblzma/lzma/Makefile.am | 4 +-
12217 src/liblzma/lzma/lzma2_decoder.c | 10 +-
12218 src/liblzma/lzma/lzma2_encoder.c | 27 ++-
12219 src/liblzma/lzma/lzma_common.h | 26 ++-
12220 src/liblzma/lzma/lzma_decoder.c | 37 ++--
12221 src/liblzma/lzma/lzma_encoder.c | 51 +++---
12222 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 10 +-
12223 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +--
12224 src/liblzma/lzma/lzma_encoder_presets.c | 50 ++++--
12225 src/liblzma/rangecoder/Makefile.am | 4 +-
12226 src/liblzma/subblock/subblock_decoder.c | 2 +-
12227 src/lzma/args.c | 33 ++--
12228 src/lzma/help.c | 17 +-
12229 src/lzma/options.c | 92 +++++-----
12230 tests/test_block_header.c | 9 +-
12231 tests/test_compress.sh | 4 +-
12232 tests/test_filter_flags.c | 2 +-
12233 41 files changed, 482 insertions(+), 398 deletions(-)
12235 commit 5cc5064cae603b649c64c40125c7dd365de54c9d
12236 Author: Lasse Collin <lasse.collin@tukaani.org>
12237 Date: 2008-09-27 11:28:49 +0300
12239 Added 7z2lzma.bash.
12241 extra/7z2lzma/7z2lzma.bash | 114 +++++++++++++++++++++++++++++++++++++++++++++
12242 1 file changed, 114 insertions(+)
12244 commit f147666a5cd15542d4e427da58629f4a71cc38e1
12245 Author: Lasse Collin <lasse.collin@tukaani.org>
12246 Date: 2008-09-17 22:11:39 +0300
12248 Miscellaneous LZ and LZMA encoder cleanups
12250 src/liblzma/api/lzma/lzma.h | 14 -------
12251 src/liblzma/lz/lz_encoder.c | 8 +++-
12252 src/liblzma/lzma/Makefile.am | 1 -
12253 src/liblzma/lzma/lzma_encoder.c | 64 ++++++++++++--------------------
12254 src/liblzma/lzma/lzma_encoder_features.c | 59 -----------------------------
12255 5 files changed, 29 insertions(+), 117 deletions(-)
12257 commit 13d68b069849e19c33822cd8996cd6447890abb1
12258 Author: Lasse Collin <lasse.collin@tukaani.org>
12259 Date: 2008-09-13 13:54:00 +0300
12263 src/liblzma/lz/lz_decoder.c | 5 ++---
12264 1 file changed, 2 insertions(+), 3 deletions(-)
12266 commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7
12267 Author: Lasse Collin <lasse.collin@tukaani.org>
12268 Date: 2008-09-13 12:10:43 +0300
12271 - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
12272 - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
12273 - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
12275 debug/full_flush.c | 2 +-
12276 debug/known_sizes.c | 2 +-
12277 debug/sync_flush.c | 2 +-
12278 src/liblzma/api/lzma/alignment.h | 2 +-
12279 src/liblzma/api/lzma/base.h | 4 ++--
12280 src/liblzma/api/lzma/block.h | 28 ++++++++++++++--------------
12281 src/liblzma/api/lzma/container.h | 12 ++++++------
12282 src/liblzma/api/lzma/filter.h | 28 ++++++++++++++--------------
12283 src/liblzma/api/lzma/index.h | 2 +-
12284 src/liblzma/api/lzma/lzma.h | 4 ++--
12285 src/liblzma/api/lzma/simple.h | 2 +-
12286 src/liblzma/api/lzma/stream_flags.h | 20 ++++++++++----------
12287 src/liblzma/api/lzma/vli.h | 16 ++++++++--------
12288 src/liblzma/common/alignment.c | 6 +++---
12289 src/liblzma/common/alone_decoder.c | 2 +-
12290 src/liblzma/common/auto_decoder.c | 2 +-
12291 src/liblzma/common/block_decoder.c | 12 ++++++------
12292 src/liblzma/common/block_encoder.c | 6 +++---
12293 src/liblzma/common/block_header_decoder.c | 16 ++++++++--------
12294 src/liblzma/common/block_header_encoder.c | 24 ++++++++++++------------
12295 src/liblzma/common/block_util.c | 8 ++++----
12296 src/liblzma/common/chunk_size.c | 2 +-
12297 src/liblzma/common/easy.c | 4 ++--
12298 src/liblzma/common/filter_common.c | 22 +++++++++++-----------
12299 src/liblzma/common/filter_decoder.c | 6 +++---
12300 src/liblzma/common/filter_encoder.c | 14 +++++++-------
12301 src/liblzma/common/index.c | 24 +++++++++++-------------
12302 src/liblzma/common/index.h | 2 +-
12303 src/liblzma/common/index_hash.c | 13 ++++++-------
12304 src/liblzma/common/stream_decoder.c | 4 ++--
12305 src/liblzma/common/stream_encoder.c | 4 ++--
12306 src/liblzma/common/stream_flags_common.c | 6 +++---
12307 src/liblzma/common/stream_flags_decoder.c | 6 +++---
12308 src/liblzma/common/stream_flags_encoder.c | 4 ++--
12309 src/liblzma/common/vli_encoder.c | 2 +-
12310 src/liblzma/common/vli_size.c | 2 +-
12311 src/liblzma/delta/delta_common.c | 2 +-
12312 src/liblzma/delta/delta_decoder.c | 2 +-
12313 src/liblzma/delta/delta_encoder.c | 2 +-
12314 src/liblzma/lz/lz_decoder.c | 2 +-
12315 src/liblzma/lz/lz_encoder.c | 2 +-
12316 src/liblzma/lzma/lzma2_decoder.c | 6 +++---
12317 src/liblzma/lzma/lzma_decoder.c | 14 +++++++-------
12318 src/liblzma/lzma/lzma_encoder.c | 8 ++++----
12319 src/liblzma/simple/simple_coder.c | 2 +-
12320 src/liblzma/simple/simple_decoder.c | 2 +-
12321 src/liblzma/subblock/subblock_decoder.c | 6 +++---
12322 src/liblzma/subblock/subblock_encoder.c | 17 ++++++++---------
12323 src/lzma/args.c | 2 +-
12324 src/lzma/error.c | 2 +-
12325 src/lzma/list.c | 6 +++---
12326 src/lzmadec/lzmadec.c | 2 +-
12327 tests/test_block.c | 8 ++++----
12328 tests/test_block_header.c | 30 +++++++++++++++---------------
12329 tests/test_filter_flags.c | 2 +-
12330 tests/test_index.c | 2 +-
12331 tests/test_stream_flags.c | 8 ++++----
12332 tests/tests.h | 2 +-
12333 58 files changed, 220 insertions(+), 224 deletions(-)
12335 commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080
12336 Author: Lasse Collin <lasse.collin@tukaani.org>
12337 Date: 2008-09-12 22:41:40 +0300
12339 Improved the Stream Flags handling API.
12341 src/liblzma/api/lzma/stream_flags.h | 84 +++++++++++++++++++++++++++++--
12342 src/liblzma/common/stream_decoder.c | 5 +-
12343 src/liblzma/common/stream_encoder.c | 2 +
12344 src/liblzma/common/stream_flags_common.c | 28 ++++++++---
12345 src/liblzma/common/stream_flags_common.h | 9 ++++
12346 src/liblzma/common/stream_flags_decoder.c | 3 +-
12347 src/liblzma/common/stream_flags_encoder.c | 10 ++--
12348 tests/test_stream_flags.c | 8 ++-
12349 8 files changed, 129 insertions(+), 20 deletions(-)
12351 commit ec490da5228263b25bf786bb23d1008468f55b30
12352 Author: Lasse Collin <lasse.collin@tukaani.org>
12353 Date: 2008-09-11 23:10:44 +0300
12355 Simplified debug/known_sizes.c to match the relaxed
12356 requirements of Block encoder.
12358 debug/known_sizes.c | 14 +++++---------
12359 1 file changed, 5 insertions(+), 9 deletions(-)
12361 commit 16e8b98f2659347edfa74afdbbb9e73311153cb9
12362 Author: Lasse Collin <lasse.collin@tukaani.org>
12363 Date: 2008-09-11 23:09:24 +0300
12365 Remove a check from Block encoder that should have already
12366 been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e.
12368 src/liblzma/common/block_encoder.c | 5 -----
12369 1 file changed, 5 deletions(-)
12371 commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13
12372 Author: Lasse Collin <lasse.collin@tukaani.org>
12373 Date: 2008-09-11 20:02:38 +0300
12375 Remove bogus #includes.
12377 src/liblzma/common/Makefile.am | 1 -
12378 src/liblzma/common/stream_decoder.c | 3 ---
12379 src/liblzma/common/stream_encoder.c | 1 -
12380 src/liblzma/common/stream_flags_decoder.h | 31 -------------------------------
12381 4 files changed, 36 deletions(-)
12383 commit 01892b2ca5f69bed0ea746e04b604030d57806bb
12384 Author: Lasse Collin <lasse.collin@tukaani.org>
12385 Date: 2008-09-11 10:49:14 +0300
12390 1 file changed, 1 insertion(+)
12392 commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d
12393 Author: Lasse Collin <lasse.collin@tukaani.org>
12394 Date: 2008-09-11 10:48:12 +0300
12396 Fix a compiler error on big endian systems that don't
12397 support unaligned memory access.
12399 src/common/integer.h | 32 ++++++++++++++++++--------------
12400 1 file changed, 18 insertions(+), 14 deletions(-)
12402 commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671
12403 Author: Lasse Collin <lasse.collin@tukaani.org>
12404 Date: 2008-09-11 10:46:14 +0300
12406 Silence a compiler warning.
12408 src/lzma/process.c | 2 +-
12409 1 file changed, 1 insertion(+), 1 deletion(-)
12411 commit 9373e81e18822db4972819442ea4c2cb9955470b
12412 Author: Lasse Collin <lasse.collin@tukaani.org>
12413 Date: 2008-09-10 19:16:32 +0300
12415 Bumped version to 4.999.6alpha.
12417 configure.ac | 2 +-
12418 src/liblzma/api/lzma/version.h | 2 +-
12419 2 files changed, 2 insertions(+), 2 deletions(-)
12421 commit cb072b7c8442ba68bb0c62c0abbbe939794887a3
12422 Author: Lasse Collin <lasse.collin@tukaani.org>
12423 Date: 2008-09-10 17:02:00 +0300
12425 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.
12426 Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID
12427 is in the reserved range. This allows Block Header encoder to
12428 detect unallowed Filter IDs, which is good for Stream encoder.
12430 src/liblzma/common/filter_flags_encoder.c | 7 ++++---
12431 1 file changed, 4 insertions(+), 3 deletions(-)
12433 commit 123ab0acec435c9e9866a99e30482116cfbd9ba5
12434 Author: Lasse Collin <lasse.collin@tukaani.org>
12435 Date: 2008-09-10 16:44:32 +0300
12437 Filter handling cleanups
12439 src/liblzma/api/lzma/filter.h | 133 +++++++++++++++++++++++++++---------
12440 src/liblzma/common/filter_common.h | 3 +
12441 src/liblzma/common/filter_decoder.c | 80 +++++++---------------
12442 src/liblzma/common/filter_decoder.h | 5 --
12443 src/liblzma/common/filter_encoder.c | 82 +++++++---------------
12444 src/liblzma/common/filter_encoder.h | 4 --
12445 6 files changed, 156 insertions(+), 151 deletions(-)
12447 commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1
12448 Author: Lasse Collin <lasse.collin@tukaani.org>
12449 Date: 2008-09-10 00:33:00 +0300
12453 src/liblzma/common/stream_encoder.c | 6 +++++-
12454 1 file changed, 5 insertions(+), 1 deletion(-)
12456 commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e
12457 Author: Lasse Collin <lasse.collin@tukaani.org>
12458 Date: 2008-09-10 00:27:02 +0300
12460 Cleaned up Block encoder and moved the no longer shared
12461 code from block_private.h to block_decoder.c. Now the Block
12462 encoder doesn't need compressed_size and uncompressed_size
12463 from lzma_block structure to be initialized.
12465 src/liblzma/api/lzma/block.h | 3 --
12466 src/liblzma/common/Makefile.am | 1 -
12467 src/liblzma/common/block_decoder.c | 23 +++++++++-
12468 src/liblzma/common/block_encoder.c | 92 ++++++++++++++++++--------------------
12469 src/liblzma/common/block_private.h | 47 -------------------
12470 5 files changed, 66 insertions(+), 100 deletions(-)
12472 commit 07efcb5a6bc5d7018798ebd728586f84183e7d64
12473 Author: Lasse Collin <lasse.collin@tukaani.org>
12474 Date: 2008-09-07 10:23:13 +0300
12476 Changed Filter ID of LZMA to 0x20.
12478 doc/file-format.txt | 4 ++--
12479 src/liblzma/api/lzma/lzma.h | 2 +-
12480 2 files changed, 3 insertions(+), 3 deletions(-)
12482 commit 32fe5fa541e82c08e054086279079ae5016bd8d8
12483 Author: Lasse Collin <lasse.collin@tukaani.org>
12484 Date: 2008-09-06 23:42:50 +0300
12488 src/liblzma/api/lzma/base.h | 81 ++++++++++++++++++++++++++--------------
12489 src/liblzma/api/lzma/container.h | 6 ++-
12490 src/liblzma/lz/lz_encoder.c | 3 +-
12491 src/liblzma/lz/lz_encoder.h | 12 +++---
12492 src/liblzma/lz/lz_encoder_mf.c | 2 +-
12493 5 files changed, 65 insertions(+), 39 deletions(-)
12495 commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84
12496 Author: Lasse Collin <lasse.collin@tukaani.org>
12497 Date: 2008-09-06 15:14:30 +0300
12501 src/liblzma/api/lzma/base.h | 314 +++++++++++++++++++++++-------------
12502 src/liblzma/api/lzma/check.h | 10 ++
12503 src/liblzma/api/lzma/container.h | 40 +++--
12504 src/liblzma/common/auto_decoder.c | 18 +--
12505 src/liblzma/common/common.c | 7 +
12506 src/liblzma/common/common.h | 18 ++-
12507 src/liblzma/common/easy.c | 2 +-
12508 src/liblzma/common/stream_decoder.c | 31 ++--
12509 src/lzma/process.c | 2 +-
12510 src/lzmadec/lzmadec.c | 6 +-
12511 tests/tests.h | 72 +++------
12512 11 files changed, 301 insertions(+), 219 deletions(-)
12514 commit da98df54400998be2a6c3876f9655a3c51b93c10
12515 Author: Lasse Collin <lasse.collin@tukaani.org>
12516 Date: 2008-09-04 11:53:06 +0300
12518 Added support for raw encoding and decoding to the command
12519 line tool, and made various cleanups. --lzma was renamed to
12520 --lzma1 to prevent people from accidentally using LZMA when
12523 src/lzma/args.c | 17 +++++++++--------
12524 src/lzma/args.h | 1 +
12525 src/lzma/help.c | 24 ++++++------------------
12526 src/lzma/process.c | 42 ++++++++++++++++++++++++++++++++++--------
12527 4 files changed, 50 insertions(+), 34 deletions(-)
12529 commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd
12530 Author: Lasse Collin <lasse.collin@tukaani.org>
12531 Date: 2008-09-04 10:39:15 +0300
12533 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's
12534 simply nothing that would use it. Allow LZMA_FINISH to the
12535 decoders, which will usually ignore it (auto decoder and
12536 Stream decoder being exceptions).
12538 src/liblzma/common/alone_decoder.c | 1 -
12539 src/liblzma/common/block_decoder.c | 2 +-
12540 src/liblzma/common/filter_decoder.c | 2 +-
12541 3 files changed, 2 insertions(+), 3 deletions(-)
12543 commit bea301c26d5d52675e11e0236faec0492af98f60
12544 Author: Lasse Collin <lasse.collin@tukaani.org>
12545 Date: 2008-09-03 17:06:25 +0300
12547 Minor updates to the file format specification.
12549 doc/file-format.txt | 105 ++++++++++++++++++++++++++++++++++++++++++----------
12550 1 file changed, 85 insertions(+), 20 deletions(-)
12552 commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8
12553 Author: Lasse Collin <lasse.collin@tukaani.org>
12554 Date: 2008-09-02 19:33:32 +0300
12556 Command line tool fixes
12558 src/lzma/process.c | 21 +++++++++++++--------
12559 1 file changed, 13 insertions(+), 8 deletions(-)
12561 commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4
12562 Author: Lasse Collin <lasse.collin@tukaani.org>
12563 Date: 2008-09-02 19:31:42 +0300
12565 Auto decoder cleanup
12567 src/liblzma/common/auto_decoder.c | 2 +-
12568 1 file changed, 1 insertion(+), 1 deletion(-)
12570 commit 689602336d126a46b60d791a67decab65e1e81f5
12571 Author: Lasse Collin <lasse.collin@tukaani.org>
12572 Date: 2008-09-02 19:12:12 +0300
12574 Updated auto decoder to handle LZMA_CONCATENATED when decoding
12575 LZMA_Alone files. Decoding of concatenated LZMA_Alone files is
12576 intentionally not supported, so it is better to put this in
12577 auto decoder than LZMA_Alone decoder.
12579 src/liblzma/common/auto_decoder.c | 87 ++++++++++++++++++++++++++++++++-------
12580 1 file changed, 71 insertions(+), 16 deletions(-)
12582 commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c
12583 Author: Lasse Collin <lasse.collin@tukaani.org>
12584 Date: 2008-09-02 14:56:52 +0300
12586 Stream decoder cleanups
12588 src/liblzma/common/stream_decoder.c | 57 +++++++++++++++++++++----------------
12589 1 file changed, 32 insertions(+), 25 deletions(-)
12591 commit fc681657450ce57be1fe08f7a15d31dcc705e514
12592 Author: Lasse Collin <lasse.collin@tukaani.org>
12593 Date: 2008-09-02 11:45:39 +0300
12595 Some fixes to LZ encoder.
12597 src/liblzma/lz/lz_encoder.c | 56 ++++++++++++++++++++-----
12598 src/liblzma/lz/lz_encoder.h | 18 ++++----
12599 src/liblzma/lz/lz_encoder_mf.c | 95 +++++++++++++++++-------------------------
12600 3 files changed, 94 insertions(+), 75 deletions(-)
12602 commit ede675f9ac1ca82a7d7c290324adba672118bc8d
12603 Author: Lasse Collin <lasse.collin@tukaani.org>
12604 Date: 2008-08-31 11:47:01 +0300
12606 Fix wrong pointer calculation in LZMA encoder.
12608 src/liblzma/lzma/lzma_encoder.c | 4 +++-
12609 1 file changed, 3 insertions(+), 1 deletion(-)
12611 commit 3b34851de1eaf358cf9268922fa0eeed8278d680
12612 Author: Lasse Collin <lasse.collin@tukaani.org>
12613 Date: 2008-08-28 22:53:15 +0300
12615 Sort of garbage collection commit. :-| Many things are still
12616 broken. API has changed a lot and it will still change a
12617 little more here and there. The command line tool doesn't
12618 have all the required changes to reflect the API changes, so
12619 it's easy to get "internal error" or trigger assertions.
12621 configure.ac | 356 +++---
12622 debug/Makefile.am | 5 +-
12623 .../lz/lz_encoder_private.h => debug/crc32.c | 41 +-
12624 debug/full_flush.c | 14 +-
12625 debug/hex2bin.c | 54 +
12626 debug/known_sizes.c | 135 ++
12627 debug/memusage.c | 8 +-
12628 debug/sync_flush.c | 20 +-
12629 src/common/integer.h | 26 +-
12630 src/common/sysdefs.h | 42 +-
12631 src/liblzma/Makefile.am | 17 +-
12632 src/liblzma/api/Makefile.am | 6 +-
12633 src/liblzma/api/lzma.h | 161 ++-
12634 src/liblzma/api/lzma/alignment.h | 6 +-
12635 src/liblzma/api/lzma/alone.h | 52 -
12636 src/liblzma/api/lzma/auto.h | 36 -
12637 src/liblzma/api/lzma/base.h | 61 +-
12638 src/liblzma/api/lzma/block.h | 38 +-
12639 src/liblzma/api/lzma/check.h | 41 +-
12640 src/liblzma/api/lzma/container.h | 252 ++++
12641 src/liblzma/api/lzma/delta.h | 36 +-
12642 src/liblzma/api/lzma/easy.h | 121 --
12643 src/liblzma/api/lzma/filter.h | 74 +-
12644 src/liblzma/api/lzma/index.h | 40 +-
12645 src/liblzma/api/lzma/index_hash.h | 12 +-
12646 src/liblzma/api/lzma/lzma.h | 222 ++--
12647 src/liblzma/api/lzma/memlimit.h | 15 +-
12648 src/liblzma/api/lzma/raw.h | 60 -
12649 src/liblzma/api/lzma/simple.h | 2 +-
12650 src/liblzma/api/lzma/stream.h | 53 -
12651 src/liblzma/api/lzma/stream_flags.h | 17 +-
12652 src/liblzma/api/lzma/subblock.h | 4 +-
12653 src/liblzma/api/lzma/version.h | 10 +-
12654 src/liblzma/api/lzma/vli.h | 131 +-
12655 src/liblzma/check/check.c | 128 +-
12656 src/liblzma/check/check.h | 67 +-
12657 src/liblzma/check/sha256.c | 29 +-
12658 src/liblzma/common/Makefile.am | 51 +-
12659 src/liblzma/common/alignment.c | 4 +-
12660 src/liblzma/common/allocator.c | 58 -
12661 src/liblzma/common/alone_decoder.c | 49 +-
12662 src/liblzma/common/alone_decoder.h | 9 +-
12663 src/liblzma/common/alone_encoder.c | 13 +-
12664 src/liblzma/common/auto_decoder.c | 38 +-
12665 src/liblzma/common/block_decoder.c | 67 +-
12666 src/liblzma/common/block_decoder.h | 2 +-
12667 src/liblzma/common/block_encoder.c | 42 +-
12668 src/liblzma/common/block_encoder.h | 2 +-
12669 src/liblzma/common/block_header_decoder.c | 6 +-
12670 src/liblzma/common/block_header_encoder.c | 9 +-
12671 src/liblzma/common/block_util.c | 10 +-
12672 src/liblzma/common/{code.c => common.c} | 129 +-
12673 src/liblzma/common/common.h | 237 ++--
12674 src/liblzma/common/easy.c | 18 +-
12675 src/liblzma/common/features.c | 66 -
12676 src/liblzma/common/filter_common.c | 262 ++++
12677 src/liblzma/common/filter_common.h | 52 +
12678 src/liblzma/common/filter_decoder.c | 236 ++++
12679 src/liblzma/common/filter_decoder.h | 35 +
12680 src/liblzma/common/filter_encoder.c | 308 +++++
12681 src/liblzma/common/filter_encoder.h | 38 +
12682 src/liblzma/common/filter_flags_decoder.c | 185 +--
12683 src/liblzma/common/filter_flags_encoder.c | 261 +---
12684 src/liblzma/common/index_decoder.c | 14 +-
12685 src/liblzma/common/index_encoder.c | 16 +-
12686 src/liblzma/common/index_hash.c | 8 +-
12687 src/liblzma/common/init_encoder.c | 2 +-
12688 src/liblzma/common/memory_usage.c | 112 --
12689 src/liblzma/common/next_coder.c | 65 -
12690 src/liblzma/common/raw_common.c | 127 --
12691 src/liblzma/common/raw_decoder.c | 116 --
12692 src/liblzma/common/raw_encoder.c | 111 --
12693 src/liblzma/common/stream_common.c | 23 -
12694 src/liblzma/common/stream_decoder.c | 238 +++-
12695 src/liblzma/common/stream_decoder.h | 4 +-
12696 src/liblzma/common/stream_encoder.c | 35 +-
12697 src/liblzma/common/stream_encoder.h | 2 +-
12698 ...{stream_flags_equal.c => stream_flags_common.c} | 14 +-
12699 .../{stream_common.h => stream_flags_common.h} | 8 +-
12700 src/liblzma/common/stream_flags_decoder.c | 2 +-
12701 src/liblzma/common/stream_flags_encoder.c | 2 +-
12702 src/liblzma/common/vli_decoder.c | 29 +-
12703 src/liblzma/common/vli_encoder.c | 23 +-
12704 src/liblzma/common/{version.c => vli_size.c} | 22 +-
12705 src/liblzma/delta/Makefile.am | 34 +
12706 src/liblzma/{common => delta}/delta_common.c | 2 +-
12707 src/liblzma/{common => delta}/delta_common.h | 0
12708 src/liblzma/{common => delta}/delta_decoder.c | 21 +
12709 src/liblzma/{common => delta}/delta_decoder.h | 4 +
12710 src/liblzma/{common => delta}/delta_encoder.c | 21 +
12711 src/liblzma/{common => delta}/delta_encoder.h | 2 +
12712 src/liblzma/lz/Makefile.am | 35 +-
12713 src/liblzma/lz/bt2.c | 27 -
12714 src/liblzma/lz/bt2.h | 31 -
12715 src/liblzma/lz/bt3.c | 29 -
12716 src/liblzma/lz/bt3.h | 31 -
12717 src/liblzma/lz/bt4.c | 30 -
12718 src/liblzma/lz/bt4.h | 31 -
12719 src/liblzma/lz/hc3.c | 30 -
12720 src/liblzma/lz/hc3.h | 31 -
12721 src/liblzma/lz/hc4.c | 31 -
12722 src/liblzma/lz/hc4.h | 31 -
12723 src/liblzma/lz/lz_decoder.c | 547 +++-----
12724 src/liblzma/lz/lz_decoder.h | 308 ++---
12725 src/liblzma/lz/lz_encoder.c | 780 ++++++------
12726 src/liblzma/lz/lz_encoder.h | 334 +++--
12727 src/liblzma/lz/lz_encoder_hash.h | 104 ++
12728 src/liblzma/lz/lz_encoder_mf.c | 780 ++++++++++++
12729 src/liblzma/lz/match_c.h | 412 ------
12730 src/liblzma/lz/match_h.h | 69 --
12731 src/liblzma/lzma/Makefile.am | 37 +-
12732 src/liblzma/lzma/fastpos.h | 8 +-
12733 src/liblzma/lzma/lzma2_decoder.c | 318 +++++
12734 src/liblzma/lzma/lzma2_decoder.h | 35 +
12735 src/liblzma/lzma/lzma2_encoder.c | 406 ++++++
12736 .../{common/raw_common.h => lzma/lzma2_encoder.h} | 22 +-
12737 src/liblzma/lzma/lzma_common.h | 208 +++-
12738 src/liblzma/lzma/lzma_decoder.c | 1306 ++++++++++++--------
12739 src/liblzma/lzma/lzma_decoder.h | 21 +-
12740 src/liblzma/lzma/lzma_encoder.c | 576 +++++++--
12741 src/liblzma/lzma/lzma_encoder.h | 38 +-
12742 src/liblzma/lzma/lzma_encoder_features.c | 2 +-
12743 src/liblzma/lzma/lzma_encoder_getoptimum.c | 925 --------------
12744 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 ---
12745 src/liblzma/lzma/lzma_encoder_init.c | 228 ----
12746 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 193 +++
12747 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 875 +++++++++++++
12748 src/liblzma/lzma/lzma_encoder_presets.c | 52 +-
12749 src/liblzma/lzma/lzma_encoder_private.h | 174 +--
12750 src/liblzma/lzma/lzma_literal.c | 51 -
12751 src/liblzma/lzma/lzma_literal.h | 71 --
12752 src/liblzma/rangecoder/Makefile.am | 10 +-
12753 src/liblzma/rangecoder/price.h | 111 ++
12754 src/liblzma/rangecoder/price_table.c | 84 +-
12755 src/liblzma/rangecoder/price_table_init.c | 33 +-
12756 .../{price_table_gen.c => price_tablegen.c} | 19 +-
12757 src/liblzma/rangecoder/range_common.h | 17 +-
12758 src/liblzma/rangecoder/range_decoder.h | 209 ++--
12759 src/liblzma/rangecoder/range_encoder.h | 92 +-
12760 src/liblzma/simple/Makefile.am | 12 +
12761 src/liblzma/simple/simple_coder.c | 8 +-
12762 src/liblzma/simple/simple_decoder.c | 47 +
12763 .../raw_decoder.h => simple/simple_decoder.h} | 18 +-
12764 src/liblzma/simple/simple_encoder.c | 45 +
12765 .../raw_encoder.h => simple/simple_encoder.h} | 17 +-
12766 src/liblzma/subblock/Makefile.am | 4 +-
12767 src/liblzma/subblock/subblock_decoder.c | 20 +-
12768 src/liblzma/subblock/subblock_decoder_helper.c | 2 +-
12769 src/liblzma/subblock/subblock_encoder.c | 28 +-
12770 src/lzma/args.c | 35 +-
12771 src/lzma/args.h | 4 +-
12772 src/lzma/options.c | 14 +-
12773 src/lzma/process.c | 88 +-
12774 src/lzmadec/lzmadec.c | 157 +--
12775 tests/Makefile.am | 1 +
12776 tests/files/README | 303 ++---
12777 tests/files/bad-0-backward_size.lzma | Bin 0 -> 32 bytes
12778 tests/files/bad-0-empty-truncated.lzma | Bin 0 -> 31 bytes
12779 tests/files/bad-0-nonempty_index.lzma | Bin 0 -> 32 bytes
12780 tests/files/bad-0cat-alone.lzma | Bin 0 -> 55 bytes
12781 tests/files/bad-0catpad-empty.lzma | Bin 0 -> 69 bytes
12782 tests/files/bad-0pad-empty.lzma | Bin 0 -> 37 bytes
12783 tests/files/bad-1-block_header-1.lzma | Bin 0 -> 64 bytes
12784 tests/files/bad-1-block_header-2.lzma | Bin 0 -> 64 bytes
12785 tests/files/bad-1-block_header-3.lzma | Bin 0 -> 68 bytes
12786 tests/files/bad-1-block_header-4.lzma | Bin 0 -> 72 bytes
12787 tests/files/bad-1-check-crc32.lzma | Bin 0 -> 68 bytes
12788 tests/files/bad-1-check-crc64.lzma | Bin 0 -> 72 bytes
12789 tests/files/bad-1-check-sha256.lzma | Bin 0 -> 96 bytes
12790 tests/files/bad-1-lzma2-1.lzma | Bin 0 -> 64 bytes
12791 tests/files/bad-1-lzma2-2.lzma | Bin 0 -> 424 bytes
12792 tests/files/bad-1-lzma2-3.lzma | Bin 0 -> 424 bytes
12793 tests/files/bad-1-lzma2-4.lzma | Bin 0 -> 408 bytes
12794 tests/files/bad-1-lzma2-5.lzma | Bin 0 -> 408 bytes
12795 tests/files/bad-1-lzma2-6.lzma | Bin 0 -> 68 bytes
12796 tests/files/bad-1-lzma2-7.lzma | Bin 0 -> 408 bytes
12797 tests/files/bad-1-stream_flags-1.lzma | Bin 0 -> 68 bytes
12798 tests/files/bad-1-stream_flags-2.lzma | Bin 0 -> 68 bytes
12799 tests/files/bad-1-stream_flags-3.lzma | Bin 0 -> 68 bytes
12800 tests/files/bad-1-vli-1.lzma | Bin 0 -> 72 bytes
12801 tests/files/bad-1-vli-2.lzma | Bin 0 -> 72 bytes
12802 tests/files/bad-2-compressed_data_padding.lzma | Bin 0 -> 92 bytes
12803 tests/files/bad-2-index-1.lzma | Bin 0 -> 92 bytes
12804 tests/files/bad-2-index-2.lzma | Bin 0 -> 92 bytes
12805 tests/files/bad-2-index-3.lzma | Bin 0 -> 92 bytes
12806 tests/files/bad-2-index-4.lzma | Bin 0 -> 92 bytes
12807 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 65 -> 0 bytes
12808 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 65 -> 0 bytes
12809 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 65 -> 0 bytes
12810 tests/files/bad-multi-none-1.lzma | Bin 54 -> 0 bytes
12811 tests/files/bad-multi-none-2.lzma | Bin 53 -> 0 bytes
12812 tests/files/bad-multi-none-3.lzma | Bin 53 -> 0 bytes
12813 tests/files/bad-multi-none-block_1.lzma | Bin 66 -> 0 bytes
12814 tests/files/bad-multi-none-block_2.lzma | Bin 66 -> 0 bytes
12815 tests/files/bad-multi-none-block_3.lzma | Bin 58 -> 0 bytes
12816 tests/files/bad-multi-none-extra_1.lzma | Bin 54 -> 0 bytes
12817 tests/files/bad-multi-none-extra_2.lzma | Bin 54 -> 0 bytes
12818 tests/files/bad-multi-none-extra_3.lzma | Bin 55 -> 0 bytes
12819 tests/files/bad-multi-none-header_1.lzma | Bin 57 -> 0 bytes
12820 tests/files/bad-multi-none-header_2.lzma | Bin 61 -> 0 bytes
12821 tests/files/bad-multi-none-header_3.lzma | Bin 59 -> 0 bytes
12822 tests/files/bad-multi-none-header_4.lzma | Bin 59 -> 0 bytes
12823 tests/files/bad-multi-none-header_5.lzma | Bin 58 -> 0 bytes
12824 tests/files/bad-multi-none-header_6.lzma | Bin 59 -> 0 bytes
12825 tests/files/bad-multi-none-header_7.lzma | Bin 59 -> 0 bytes
12826 tests/files/bad-multi-none-index_1.lzma | Bin 51 -> 0 bytes
12827 tests/files/bad-multi-none-index_2.lzma | Bin 49 -> 0 bytes
12828 tests/files/bad-multi-none-index_3.lzma | Bin 51 -> 0 bytes
12829 tests/files/bad-multi-none-index_4.lzma | Bin 51 -> 0 bytes
12830 tests/files/bad-single-data_after_eopm_1.lzma | Bin 55 -> 0 bytes
12831 tests/files/bad-single-data_after_eopm_2.lzma | Bin 56 -> 0 bytes
12832 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 53 -> 0 bytes
12833 tests/files/bad-single-lzma-flush_twice.lzma | Bin 63 -> 0 bytes
12834 tests/files/bad-single-none-empty.lzma | Bin 19 -> 0 bytes
12835 .../files/bad-single-none-footer_filter_flags.lzma | Bin 30 -> 0 bytes
12836 tests/files/bad-single-none-too_long_vli.lzma | Bin 39 -> 0 bytes
12837 tests/files/bad-single-none-truncated.lzma | Bin 29 -> 0 bytes
12838 tests/files/bad-single-subblock-padding_loop.lzma | Bin 43 -> 0 bytes
12839 tests/files/bad-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes
12840 tests/files/bad-single-subblock_subblock.lzma | Bin 26 -> 0 bytes
12841 tests/files/good-0-empty.lzma | Bin 0 -> 32 bytes
12842 tests/files/good-0cat-empty.lzma | Bin 0 -> 64 bytes
12843 tests/files/good-0catpad-empty.lzma | Bin 0 -> 68 bytes
12844 tests/files/good-0pad-empty.lzma | Bin 0 -> 36 bytes
12845 tests/files/good-1-3delta-lzma2.lzma | Bin 0 -> 528 bytes
12846 tests/files/good-1-block_header-1.lzma | Bin 0 -> 72 bytes
12847 tests/files/good-1-block_header-2.lzma | Bin 0 -> 68 bytes
12848 tests/files/good-1-block_header-3.lzma | Bin 0 -> 68 bytes
12849 tests/files/good-1-check-crc32.lzma | Bin 0 -> 68 bytes
12850 tests/files/good-1-check-crc64.lzma | Bin 0 -> 72 bytes
12851 tests/files/good-1-check-none.lzma | Bin 0 -> 64 bytes
12852 tests/files/good-1-check-sha256.lzma | Bin 0 -> 96 bytes
12853 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 0 -> 51312 bytes
12854 tests/files/good-1-lzma2-1.lzma | Bin 0 -> 424 bytes
12855 tests/files/good-1-lzma2-2.lzma | Bin 0 -> 424 bytes
12856 tests/files/good-1-lzma2-3.lzma | Bin 0 -> 408 bytes
12857 ...gle-sparc-lzma.lzma => good-1-sparc-lzma2.lzma} | Bin 2263 -> 2292 bytes
12858 ...-single-x86-lzma.lzma => good-1-x86-lzma2.lzma} | Bin 1909 -> 1936 bytes
12859 tests/files/good-2-lzma2.lzma | Bin 0 -> 92 bytes
12860 tests/files/good-cat-single-none-pad.lzma | Bin 64 -> 0 bytes
12861 tests/files/good-multi-none-1.lzma | Bin 75 -> 0 bytes
12862 tests/files/good-multi-none-2.lzma | Bin 53 -> 0 bytes
12863 tests/files/good-multi-none-block_1.lzma | Bin 66 -> 0 bytes
12864 tests/files/good-multi-none-block_2.lzma | Bin 58 -> 0 bytes
12865 tests/files/good-multi-none-extra_1.lzma | Bin 51 -> 0 bytes
12866 tests/files/good-multi-none-extra_2.lzma | Bin 79 -> 0 bytes
12867 tests/files/good-multi-none-extra_3.lzma | Bin 55 -> 0 bytes
12868 tests/files/good-multi-none-header_1.lzma | Bin 58 -> 0 bytes
12869 tests/files/good-multi-none-header_2.lzma | Bin 66 -> 0 bytes
12870 tests/files/good-multi-none-header_3.lzma | Bin 59 -> 0 bytes
12871 tests/files/good-single-delta-lzma.tiff.lzma | Bin 51409 -> 0 bytes
12872 tests/files/good-single-lzma-empty.lzma | Bin 21 -> 0 bytes
12873 tests/files/good-single-lzma-flush_1.lzma | Bin 48 -> 0 bytes
12874 tests/files/good-single-lzma-flush_2.lzma | Bin 63 -> 0 bytes
12875 tests/files/good-single-lzma.lzma | Bin 44 -> 0 bytes
12876 tests/files/good-single-none-empty_1.lzma | Bin 18 -> 0 bytes
12877 tests/files/good-single-none-empty_2.lzma | Bin 26 -> 0 bytes
12878 tests/files/good-single-none-empty_3.lzma | Bin 19 -> 0 bytes
12879 tests/files/good-single-none-pad.lzma | Bin 32 -> 0 bytes
12880 tests/files/good-single-none.lzma | Bin 30 -> 0 bytes
12881 tests/files/good-single-subblock-lzma.lzma | Bin 50 -> 0 bytes
12882 tests/files/good-single-subblock_implicit.lzma | Bin 35 -> 0 bytes
12883 tests/files/good-single-subblock_rle.lzma | Bin 118 -> 0 bytes
12884 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 51 -> 0 bytes
12885 tests/files/malicious-single-subblock-256MiB.lzma | Bin 30 -> 0 bytes
12886 tests/files/malicious-single-subblock-64PiB.lzma | Bin 45 -> 0 bytes
12887 tests/files/malicious-single-subblock31-slow.lzma | Bin 1233 -> 0 bytes
12888 tests/files/unsupported-block_header.lzma | Bin 0 -> 68 bytes
12889 tests/files/unsupported-check.lzma | Bin 0 -> 68 bytes
12890 tests/files/unsupported-filter_flags-1.lzma | Bin 0 -> 68 bytes
12891 tests/files/unsupported-filter_flags-2.lzma | Bin 0 -> 68 bytes
12892 tests/files/unsupported-filter_flags-3.lzma | Bin 0 -> 68 bytes
12893 tests/test_block_header.c | 28 +-
12894 tests/test_compress.sh | 4 +-
12895 tests/test_filter_flags.c | 51 +-
12896 tests/test_stream_flags.c | 4 +-
12897 tests/tests.h | 8 +
12898 277 files changed, 9050 insertions(+), 7477 deletions(-)
12900 commit 57b9a145a527f0716822615e5ed536d33aebd3fc
12901 Author: Lasse Collin <lasse.collin@tukaani.org>
12902 Date: 2008-06-20 17:16:32 +0300
12904 Fix test_filter_flags to match the new restriction of lc+lp.
12906 tests/test_filter_flags.c | 3 +++
12907 1 file changed, 3 insertions(+)
12909 commit eaafc4367c77ec1d910e16d11b4da293969d97a3
12910 Author: Lasse Collin <lasse.collin@tukaani.org>
12911 Date: 2008-06-20 16:19:54 +0300
12913 Remove some redundant code from LZMA encoder.
12915 src/liblzma/lzma/lzma_encoder.c | 15 +--------------
12916 1 file changed, 1 insertion(+), 14 deletions(-)
12918 commit 0809c46534fa5664fe35d9e98d95e87312ed130e
12919 Author: Lasse Collin <lasse.collin@tukaani.org>
12920 Date: 2008-06-19 16:35:08 +0300
12922 Add limit of lc + lp <= 4. Now we can allocate the
12923 literal coder as part of the main LZMA encoder or
12926 Make the LZMA decoder to rely on the current internal API
12927 to free the allocated memory in case an error occurs.
12929 src/liblzma/api/lzma/lzma.h | 10 +++++-
12930 src/liblzma/lzma/lzma_decoder.c | 57 ++++++++-------------------------
12931 src/liblzma/lzma/lzma_encoder_init.c | 13 ++++----
12932 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
12933 src/liblzma/lzma/lzma_literal.c | 39 +++++-----------------
12934 src/liblzma/lzma/lzma_literal.h | 13 +++-----
12935 6 files changed, 43 insertions(+), 91 deletions(-)
12937 commit d25ab1b96178f06a0e724f58e3cd68300b2b1275
12938 Author: Lasse Collin <lasse.collin@tukaani.org>
12939 Date: 2008-06-18 21:45:19 +0300
12943 src/liblzma/lzma/lzma_encoder.c | 7 ++-----
12944 1 file changed, 2 insertions(+), 5 deletions(-)
12946 commit 6368a2fa5901c75864be5171dd57a50af7adbb41
12947 Author: Lasse Collin <lasse.collin@tukaani.org>
12948 Date: 2008-06-18 19:19:02 +0300
12950 Delete old code that was supposed to be already deleted
12951 from test_block_header.c.
12953 tests/test_block_header.c | 30 ------------------------------
12954 1 file changed, 30 deletions(-)
12956 commit 7d17818cec8597f847b0a2537fde991bbc3d9e96
12957 Author: Lasse Collin <lasse.collin@tukaani.org>
12958 Date: 2008-06-18 18:02:10 +0300
12960 Update the code to mostly match the new simpler file format
12961 specification. Simplify things by removing most of the
12962 support for known uncompressed size in most places.
12963 There are some miscellaneous changes here and there too.
12965 The API of liblzma has got many changes and still some
12966 more will be done soon. While most of the code has been
12967 updated, some things are not fixed (the command line tool
12968 will choke with invalid filter chain, if nothing else).
12970 Subblock filter is somewhat broken for now. It will be
12971 updated once the encoded format of the Subblock filter
12974 configure.ac | 41 +-
12975 debug/full_flush.c | 16 +-
12976 debug/sync_flush.c | 15 +-
12977 .../check/check_byteswap.h => common/bswap.h} | 15 +-
12978 src/common/integer.h | 167 +++++
12979 src/liblzma/api/Makefile.am | 5 +-
12980 src/liblzma/api/lzma.h | 9 +-
12981 src/liblzma/api/lzma/alone.h | 32 +-
12982 src/liblzma/api/lzma/auto.h | 7 +-
12983 src/liblzma/api/lzma/base.h | 15 +
12984 src/liblzma/api/lzma/block.h | 306 +++-----
12985 src/liblzma/api/lzma/check.h | 18 +-
12986 src/liblzma/api/lzma/copy.h | 29 -
12987 src/liblzma/api/lzma/easy.h | 61 +-
12988 src/liblzma/api/lzma/extra.h | 114 ---
12989 src/liblzma/api/lzma/filter.h | 5 +-
12990 src/liblzma/api/lzma/index.h | 204 +++++-
12991 src/liblzma/api/lzma/index_hash.h | 94 +++
12992 src/liblzma/api/lzma/info.h | 315 --------
12993 src/liblzma/api/lzma/lzma.h | 2 +-
12994 src/liblzma/api/lzma/metadata.h | 100 ---
12995 src/liblzma/api/lzma/raw.h | 20 +-
12996 src/liblzma/api/lzma/stream.h | 157 +---
12997 src/liblzma/api/lzma/stream_flags.h | 146 ++--
12998 src/liblzma/api/lzma/version.h | 2 +-
12999 src/liblzma/api/lzma/vli.h | 83 +--
13000 src/liblzma/check/Makefile.am | 1 -
13001 src/liblzma/check/check.c | 55 +-
13002 src/liblzma/check/check.h | 47 +-
13003 src/liblzma/check/crc32_init.c | 2 +-
13004 src/liblzma/check/crc64_init.c | 2 +-
13005 src/liblzma/check/crc_macros.h | 2 +-
13006 src/liblzma/check/sha256.c | 53 +-
13007 src/liblzma/common/Makefile.am | 31 +-
13008 src/liblzma/common/alignment.c | 5 +-
13009 src/liblzma/common/alone_decoder.c | 77 +-
13010 src/liblzma/common/alone_encoder.c | 99 ++-
13011 src/liblzma/common/auto_decoder.c | 18 +-
13012 src/liblzma/common/block_decoder.c | 298 ++------
13013 src/liblzma/common/block_encoder.c | 228 ++----
13014 src/liblzma/common/block_header_decoder.c | 400 ++--------
13015 src/liblzma/common/block_header_encoder.c | 207 ++----
13016 src/liblzma/common/block_private.h | 51 +-
13017 src/liblzma/common/block_util.c | 73 ++
13018 src/liblzma/common/common.h | 44 +-
13019 src/liblzma/common/copy_coder.c | 144 ----
13020 src/liblzma/common/copy_coder.h | 31 -
13021 src/liblzma/common/delta_common.c | 4 -
13022 src/liblzma/common/delta_common.h | 4 -
13023 src/liblzma/common/delta_decoder.c | 55 +-
13024 src/liblzma/common/delta_encoder.c | 7 +-
13025 src/liblzma/common/{easy_multi.c => easy.c} | 87 ++-
13026 src/liblzma/common/easy_common.c | 54 --
13027 src/liblzma/common/extra.c | 34 -
13028 src/liblzma/common/features.c | 4 -
13029 src/liblzma/common/filter_flags_decoder.c | 384 +++-------
13030 src/liblzma/common/filter_flags_encoder.c | 120 +--
13031 src/liblzma/common/index.c | 773 ++++++++++++++++---
13032 src/liblzma/common/index.h | 67 ++
13033 src/liblzma/common/index_decoder.c | 252 +++++++
13034 src/liblzma/common/index_encoder.c | 222 ++++++
13035 .../{stream_encoder_multi.h => index_encoder.h} | 18 +-
13036 src/liblzma/common/index_hash.c | 340 +++++++++
13037 src/liblzma/common/info.c | 814 ---------------------
13038 src/liblzma/common/memory_usage.c | 1 -
13039 src/liblzma/common/metadata_decoder.c | 578 ---------------
13040 src/liblzma/common/metadata_decoder.h | 31 -
13041 src/liblzma/common/metadata_encoder.c | 435 -----------
13042 src/liblzma/common/raw_common.c | 178 ++---
13043 src/liblzma/common/raw_common.h | 5 +-
13044 src/liblzma/common/raw_decoder.c | 19 +-
13045 src/liblzma/common/raw_decoder.h | 3 +-
13046 src/liblzma/common/raw_encoder.c | 101 +--
13047 src/liblzma/common/raw_encoder.h | 3 +-
13048 src/liblzma/common/stream_common.h | 3 +
13049 src/liblzma/common/stream_decoder.c | 458 ++++--------
13050 .../common/{easy_common.h => stream_decoder.h} | 14 +-
13051 src/liblzma/common/stream_encoder.c | 282 +++++++
13052 .../{metadata_encoder.h => stream_encoder.h} | 14 +-
13053 src/liblzma/common/stream_encoder_multi.c | 445 -----------
13054 src/liblzma/common/stream_encoder_single.c | 219 ------
13055 src/liblzma/common/stream_flags_decoder.c | 260 ++-----
13056 src/liblzma/common/stream_flags_encoder.c | 56 +-
13057 .../common/{easy_single.c => stream_flags_equal.c} | 27 +-
13058 src/liblzma/common/vli_decoder.c | 68 +-
13059 src/liblzma/common/vli_encoder.c | 59 +-
13060 src/liblzma/common/vli_reverse_decoder.c | 55 --
13061 src/liblzma/lz/lz_decoder.c | 6 +-
13062 src/liblzma/lz/lz_decoder.h | 10 +-
13063 src/liblzma/lzma/lzma_decoder.c | 13 +-
13064 src/liblzma/lzma/lzma_decoder.h | 10 +-
13065 src/liblzma/simple/simple_coder.c | 29 +-
13066 src/liblzma/simple/simple_private.h | 4 -
13067 src/liblzma/subblock/subblock_decoder.c | 106 +--
13068 src/liblzma/subblock/subblock_decoder_helper.c | 5 +-
13069 src/liblzma/subblock/subblock_encoder.c | 8 +-
13070 src/lzma/args.c | 22 +-
13071 src/lzma/args.h | 2 -
13072 src/lzma/error.c | 6 +
13073 src/lzma/process.c | 26 +-
13074 src/lzmadec/lzmadec.c | 8 +-
13075 tests/Makefile.am | 5 +-
13076 tests/test_block_header.c | 411 ++++-------
13077 tests/test_compress.sh | 65 +-
13078 tests/test_filter_flags.c | 116 ++-
13079 tests/test_index.c | 504 ++++++++++++-
13080 tests/test_info.c | 717 ------------------
13081 tests/test_stream_flags.c | 134 ++--
13082 tests/tests.h | 14 +-
13083 109 files changed, 4655 insertions(+), 7965 deletions(-)
13085 commit bf6348d1a3ff09fdc06940468f318f75ffa6af11
13086 Author: Lasse Collin <lasse.collin@tukaani.org>
13087 Date: 2008-06-17 15:03:46 +0300
13089 Update the file format specification draft. The new one is
13090 a lot simpler than the previous versions, but it also means
13091 that the existing code will change a lot.
13093 doc/file-format.txt | 1794 +++++++++++++++------------------------------------
13094 1 file changed, 508 insertions(+), 1286 deletions(-)
13096 commit 803194ddd26f01ff60ba4e9924c6087a56b29827
13097 Author: Lasse Collin <lasse.collin@tukaani.org>
13098 Date: 2008-06-11 21:42:47 +0300
13100 Fix uninitialized variable in LZMA encoder. This was
13101 introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f.
13103 src/liblzma/lzma/lzma_encoder_init.c | 2 ++
13104 1 file changed, 2 insertions(+)
13106 commit 0ea98e52ba87453497b1355c51f13bad55c8924a
13107 Author: Lasse Collin <lasse.collin@tukaani.org>
13108 Date: 2008-06-11 15:08:44 +0300
13110 Improve command line integer parsing a little in lzma and
13111 lzmadec to make them accept also KiB in addition Ki etc.
13112 Fix also memory usage information in lzmadec --help.
13114 src/lzma/util.c | 23 ++++++++++++++---------
13115 src/lzmadec/lzmadec.c | 31 ++++++++++++++++++-------------
13116 2 files changed, 32 insertions(+), 22 deletions(-)
13118 commit 436fa5fae96d4e35759aed33066060f09ee8c6ef
13119 Author: Lasse Collin <lasse.collin@tukaani.org>
13120 Date: 2008-06-10 20:36:12 +0300
13122 s/decompressed/compressed/ in the command line tool's
13125 src/lzma/main.c | 2 +-
13126 1 file changed, 1 insertion(+), 1 deletion(-)
13128 commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f
13129 Author: Lasse Collin <lasse.collin@tukaani.org>
13130 Date: 2008-06-01 12:48:17 +0300
13132 Fix a buffer overflow in the LZMA encoder. It was due to my
13133 misunderstanding of the code. There's no tiny fix for this
13134 problem, so I also cleaned up the code in general.
13136 This reduces the speed of the encoder 2-5 % in the fastest
13137 compression mode ("lzma -1"). High compression modes should
13138 have no noticeable performance difference.
13140 This commit breaks things (especially LZMA_SYNC_FLUSH) but I
13141 will fix them once the new format and LZMA2 has been roughly
13142 implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all
13143 and won't be supported in the new .lzma format. This may
13144 change still but this is what it looks like now.
13146 Support for known uncompressed size (that is, LZMA or LZMA2
13147 without EOPM) is likely to go away. This means there will
13150 src/liblzma/lz/lz_encoder.c | 113 +----
13151 src/liblzma/lz/lz_encoder.h | 18 +-
13152 src/liblzma/lzma/lzma_encoder.c | 551 ++++++++++++-------------
13153 src/liblzma/lzma/lzma_encoder_getoptimum.c | 59 ++-
13154 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 4 +-
13155 src/liblzma/lzma/lzma_encoder_init.c | 9 +-
13156 src/liblzma/lzma/lzma_encoder_private.h | 15 +-
13157 src/liblzma/rangecoder/range_encoder.h | 383 +++++++++--------
13158 8 files changed, 532 insertions(+), 620 deletions(-)
13160 commit e55e0e873ce2511325749d415ae547d62ab5f00d
13161 Author: Lasse Collin <lasse.collin@tukaani.org>
13162 Date: 2008-05-30 11:53:41 +0300
13164 Typo fixes from meyering.
13166 doc/faq.txt | 4 ++--
13167 doc/liblzma-advanced.txt | 2 +-
13168 2 files changed, 3 insertions(+), 3 deletions(-)
13170 commit ed6664146fcbe9cc4a3b23b31632182ed812ea93
13171 Author: Lasse Collin <lasse.collin@tukaani.org>
13172 Date: 2008-05-11 14:24:42 +0300
13174 Remove support for pre-C89 libc versions that lack memcpy,
13175 memmove, and memset.
13177 configure.ac | 2 +-
13178 src/common/sysdefs.h | 15 ++-------------
13179 src/liblzma/common/allocator.c | 2 +-
13180 3 files changed, 4 insertions(+), 15 deletions(-)
13182 commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63
13183 Author: Lasse Collin <lasse.collin@tukaani.org>
13184 Date: 2008-05-11 14:17:21 +0300
13186 Improved C99 compiler detection in configure.ac. It will
13187 pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic
13188 should still give warnings about GNU extensions like before
13189 except with some special keywords like asm().
13191 configure.ac | 24 ++++++++++++------------
13192 1 file changed, 12 insertions(+), 12 deletions(-)
13194 commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf
13195 Author: Lasse Collin <lasse.collin@tukaani.org>
13196 Date: 2008-05-06 15:15:07 +0300
13198 Bunch of grammar fixes from meyering.
13200 doc/liblzma-security.txt | 8 ++++----
13201 src/liblzma/api/lzma/memlimit.h | 6 +++---
13202 src/lzma/help.c | 2 +-
13203 tests/files/README | 2 +-
13204 4 files changed, 9 insertions(+), 9 deletions(-)
13206 commit dc192b6343ae36276c85fcf7ef6006147816eadc
13207 Author: Lasse Collin <lasse.collin@tukaani.org>
13208 Date: 2008-05-06 13:41:05 +0300
13212 src/liblzma/api/lzma/init.h | 2 +-
13213 1 file changed, 1 insertion(+), 1 deletion(-)
13215 commit 944b62b93239b27b338d117f2668c0e95849659b
13216 Author: Lasse Collin <lasse.collin@tukaani.org>
13217 Date: 2008-05-04 22:29:27 +0300
13219 Don't print an error message on broken pipe unless --verbose
13222 src/lzma/io.c | 15 ++++++++++++++-
13223 1 file changed, 14 insertions(+), 1 deletion(-)
13225 commit 8e074349e47ea6832b8fdf9244e581d453733433
13226 Author: Lasse Collin <lasse.collin@tukaani.org>
13227 Date: 2008-04-30 22:16:17 +0300
13229 Fix a crash with --format=alone if other filters than LZMA
13230 are specified on the command line.
13232 src/lzma/args.c | 9 +++++++++
13233 1 file changed, 9 insertions(+)
13235 commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73
13236 Author: Lasse Collin <lasse.collin@tukaani.org>
13237 Date: 2008-04-28 17:08:27 +0300
13242 1 file changed, 1 insertion(+)
13244 commit 3be21fb12f4cec2cf07799e8960382f4cb375369
13245 Author: Lasse Collin <lasse.collin@tukaani.org>
13246 Date: 2008-04-28 17:06:34 +0300
13248 Fixed wrong spelling "limitter" to "limiter". This affects
13251 doc/liblzma-security.txt | 14 +++++++-------
13252 src/liblzma/api/lzma/base.h | 4 ++--
13253 src/liblzma/api/lzma/memlimit.h | 10 +++++-----
13254 src/liblzma/api/lzma/stream.h | 4 ++--
13255 src/liblzma/common/Makefile.am | 2 +-
13256 src/liblzma/common/{memory_limitter.c => memory_limiter.c} | 2 +-
13257 src/lzma/list.c | 6 +++---
13258 src/lzmadec/lzmadec.c | 12 ++++++------
13259 tests/test_memlimit.c | 4 ++--
13260 9 files changed, 29 insertions(+), 29 deletions(-)
13262 commit beeb81060821dfec4e7898e0d44b7900dcb2215e
13263 Author: Lasse Collin <lasse.collin@tukaani.org>
13264 Date: 2008-04-25 15:39:50 +0300
13266 Prevent LZ encoder from hanging with known uncompressed
13267 size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream
13268 with known uncompressed size, but since it currently seems
13269 likely that support for encoding with known uncompressed
13270 size will go away anyway, I'm not fixing this problem now.
13272 src/liblzma/lz/lz_encoder.c | 9 +++++++--
13273 1 file changed, 7 insertions(+), 2 deletions(-)
13275 commit c324325f9f13cdeb92153c5d00962341ba070ca2
13276 Author: Lasse Collin <lasse.collin@tukaani.org>
13277 Date: 2008-04-25 13:58:56 +0300
13279 Removed src/liblzma/common/sysdefs.h symlink, which was
13280 annoying, because "make dist" put two copies of sysdefs.h
13281 into the tarball instead of the symlink.
13283 src/liblzma/check/crc32_table.c | 2 +-
13284 src/liblzma/check/crc64_table.c | 2 +-
13285 src/liblzma/common/Makefile.am | 1 -
13286 src/liblzma/common/common.h | 2 +-
13287 src/liblzma/common/sysdefs.h | 1 -
13288 5 files changed, 3 insertions(+), 5 deletions(-)
13290 commit d3ba30243c75c13d094de1793f9c58acdbacc692
13291 Author: Lasse Collin <lasse.collin@tukaani.org>
13292 Date: 2008-04-25 13:41:29 +0300
13294 Added memusage.c to debug directory.
13296 debug/Makefile.am | 3 ++-
13297 debug/memusage.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
13298 2 files changed, 57 insertions(+), 1 deletion(-)
13300 commit 8f804c29aa8471ccd6438ddca254092b8869ca52
13301 Author: Lasse Collin <lasse.collin@tukaani.org>
13302 Date: 2008-04-25 13:32:35 +0300
13304 Bumped version number to 4.999.3alpha. It will become 5.0.0
13305 once we have a stable release (won't be very soon). The
13306 version number is no longer related to version of LZMA SDK.
13308 Made some small Automake-related changes to toplevel
13309 Makefile.am and configure.ac.
13311 Makefile.am | 7 +++++--
13312 README | 29 +++++++++++++++++++++++++++++
13313 configure.ac | 4 ++--
13314 src/liblzma/api/lzma/version.h | 22 ++++++++++------------
13315 4 files changed, 46 insertions(+), 16 deletions(-)
13317 commit c99037ea10f121cbacf60c37a36c29768ae53447
13318 Author: Lasse Collin <lasse.collin@tukaani.org>
13319 Date: 2008-04-24 20:25:39 +0300
13321 Fix a memory leak by calling free(extra->data) in
13324 src/liblzma/common/extra.c | 1 +
13325 1 file changed, 1 insertion(+)
13327 commit 22ba3b0b5043fa481903482ce85015fe775939e5
13328 Author: Lasse Collin <lasse.collin@tukaani.org>
13329 Date: 2008-04-24 20:23:05 +0300
13331 Make unlzma and lzcat symlinks.
13333 src/lzma/Makefile.am | 12 ++++++++++++
13334 1 file changed, 12 insertions(+)
13336 commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e
13337 Author: Lasse Collin <lasse.collin@tukaani.org>
13338 Date: 2008-04-24 20:20:27 +0300
13340 Fixed a bug in command line option parsing.
13342 src/lzma/options.c | 2 +-
13343 1 file changed, 1 insertion(+), 1 deletion(-)
13345 commit 283f939974c32c47f05d495e8dea455ec646ed64
13346 Author: Lasse Collin <lasse.collin@tukaani.org>
13347 Date: 2008-04-24 20:19:20 +0300
13349 Added two assert()s.
13351 src/liblzma/lzma/lzma_encoder.c | 4 +++-
13352 1 file changed, 3 insertions(+), 1 deletion(-)
13354 commit eb348a60b6e19a7c093f892434f23c4756973ffd
13355 Author: Lasse Collin <lasse.collin@tukaani.org>
13356 Date: 2008-04-24 19:22:53 +0300
13358 Switch to uint16_t as the type of range coder probabilities.
13360 src/liblzma/rangecoder/range_common.h | 25 +++++++++++++++++++------
13361 1 file changed, 19 insertions(+), 6 deletions(-)
13363 commit 6c5306e312bcfd254cf654f88c04e34ba786df3d
13364 Author: Lasse Collin <lasse.collin@tukaani.org>
13365 Date: 2008-04-24 18:39:57 +0300
13367 Fix wrong return type (uint32_t -> bool).
13369 src/liblzma/lz/lz_encoder.c | 2 +-
13370 src/liblzma/lz/lz_encoder.h | 2 +-
13371 2 files changed, 2 insertions(+), 2 deletions(-)
13373 commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8
13374 Author: Lasse Collin <lasse.collin@tukaani.org>
13375 Date: 2008-04-24 18:38:00 +0300
13377 Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH.
13379 src/liblzma/lz/lz_encoder.c | 16 ++++++++++++++++
13380 src/liblzma/lz/lz_encoder.h | 4 ++++
13381 src/liblzma/lz/match_c.h | 23 ++++++++++++++++++-----
13382 3 files changed, 38 insertions(+), 5 deletions(-)
13384 commit bc04486e368d20b3027cde625267762aae063965
13385 Author: Lasse Collin <lasse.collin@tukaani.org>
13386 Date: 2008-04-24 17:33:01 +0300
13388 Fix fastpos problem in Makefile.am when built with --enable-small.
13390 src/liblzma/lzma/Makefile.am | 5 ++++-
13391 1 file changed, 4 insertions(+), 1 deletion(-)
13393 commit 7ab493924e0ed590a5121a15ee54038d238880d3
13394 Author: Lasse Collin <lasse.collin@tukaani.org>
13395 Date: 2008-04-24 17:30:51 +0300
13397 Use 64-bit integer as range encoder's cache size. This fixes a
13398 theoretical data corruption, which should be very hard to trigger
13399 even intentionally.
13401 src/liblzma/rangecoder/range_encoder.h | 2 +-
13402 1 file changed, 1 insertion(+), 1 deletion(-)
13404 commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b
13405 Author: Lasse Collin <lasse.collin@tukaani.org>
13406 Date: 2008-03-24 16:38:40 +0200
13408 Replaced the range decoder optimization that used arithmetic
13409 right shift with as fast version that doesn't need
13410 arithmetic right shift. Removed the related check from
13414 m4/ax_c_arithmetic_rshift.m4 | 36 -----------------------
13415 src/liblzma/rangecoder/range_decoder.h | 53 ++++++++++------------------------
13416 3 files changed, 16 insertions(+), 74 deletions(-)
13418 commit ad999efd279d95f1e7ac555b14170e8e9020488c
13419 Author: Lasse Collin <lasse.collin@tukaani.org>
13420 Date: 2008-03-22 14:39:34 +0200
13422 Take advantage of arithmetic right shift in range decoder.
13424 src/liblzma/rangecoder/range_decoder.h | 52 ++++++++++++++++++++++++----------
13425 1 file changed, 37 insertions(+), 15 deletions(-)
13427 commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d
13428 Author: Lasse Collin <lasse.collin@tukaani.org>
13429 Date: 2008-03-22 14:18:29 +0200
13431 Added autoconf check to detect if we can use arithmetic
13432 right shift for optimizations.
13435 m4/ax_c_arithmetic_rshift.m4 | 36 ++++++++++++++++++++++++++++++++++++
13436 2 files changed, 37 insertions(+)
13438 commit 7521bbdc83acab834594a22bec50c8e1bd836298
13439 Author: Lasse Collin <lasse.collin@tukaani.org>
13440 Date: 2008-03-22 01:26:36 +0200
13442 Update a comment to use the variable name rep_len_decoder.
13444 (And BTW, the previous commit actually did change the
13445 program logic slightly.)
13447 src/liblzma/lzma/lzma_decoder.c | 2 +-
13448 1 file changed, 1 insertion(+), 1 deletion(-)
13450 commit 63b74d000eedaebb8485f623e56864ff5ab71064
13451 Author: Lasse Collin <lasse.collin@tukaani.org>
13452 Date: 2008-03-22 00:57:33 +0200
13454 Demystified the "state" variable in LZMA code. Use the
13455 word literal instead of char for better consistency.
13456 There are still some names with _char instead of _literal
13457 in lzma_optimum, these may be changed later.
13459 Renamed length coder variables.
13461 This commit doesn't change the program logic.
13463 src/liblzma/lzma/lzma_common.h | 69 ++++++++++++++++++++++--------
13464 src/liblzma/lzma/lzma_decoder.c | 47 ++++++++++----------
13465 src/liblzma/lzma/lzma_encoder.c | 14 +++---
13466 src/liblzma/lzma/lzma_encoder_getoptimum.c | 34 +++++++--------
13467 src/liblzma/lzma/lzma_encoder_init.c | 5 ++-
13468 src/liblzma/lzma/lzma_encoder_private.h | 8 ++--
13469 6 files changed, 107 insertions(+), 70 deletions(-)
13471 commit e6eb0a26757e851cef62b9440319a8e73b015cb9
13472 Author: Lasse Collin <lasse.collin@tukaani.org>
13473 Date: 2008-03-14 23:16:11 +0200
13475 Fix data corruption in LZMA encoder. Note that this bug was
13476 specific to liblzma and was *not* present in LZMA SDK.
13478 src/liblzma/lzma/lzma_encoder.c | 4 ++++
13479 1 file changed, 4 insertions(+)
13481 commit 7d516f5129e4373a6d57249d7f608c634c66bf12
13482 Author: Lasse Collin <lasse.collin@tukaani.org>
13483 Date: 2008-03-14 21:32:37 +0200
13485 Fix a comment API header.
13487 src/liblzma/api/lzma/lzma.h | 2 +-
13488 1 file changed, 1 insertion(+), 1 deletion(-)
13490 commit 748d6e4274921a350bd0a317380309717441ef9c
13491 Author: Lasse Collin <lasse.collin@tukaani.org>
13492 Date: 2008-03-12 23:14:50 +0200
13494 Make lzma_stream.next_in const. Let's see if anyone complains.
13496 src/liblzma/api/lzma/base.h | 2 +-
13497 1 file changed, 1 insertion(+), 1 deletion(-)
13499 commit bfde3b24a5ae25ce53c854762b6148952386b025
13500 Author: Lasse Collin <lasse.collin@tukaani.org>
13501 Date: 2008-03-11 15:35:34 +0200
13503 Apply a minor speed optimization to LZMA decoder.
13505 src/liblzma/lzma/lzma_decoder.c | 85 +++++++++++++++++++++--------------------
13506 1 file changed, 43 insertions(+), 42 deletions(-)
13508 commit f310c50286d9e4e9c6170bb65348c9bb430a65b4
13509 Author: Lasse Collin <lasse.collin@tukaani.org>
13510 Date: 2008-03-11 15:17:16 +0200
13512 Initialize the last byte of the dictionary to zero so that
13513 lz_get_byte(lz, 0) returns zero. This was broken by
13514 1a3b21859818e4d8e89a1da99699233c1bfd197d.
13516 src/liblzma/lz/lz_decoder.c | 1 +
13517 1 file changed, 1 insertion(+)
13519 commit 5ead36cf7f823093672a4e43c3180b38c9abbaff
13520 Author: Lasse Collin <lasse.collin@tukaani.org>
13521 Date: 2008-03-10 15:57:55 +0200
13523 Really fix the price count initialization.
13525 src/liblzma/lzma/lzma_encoder_init.c | 4 ++--
13526 1 file changed, 2 insertions(+), 2 deletions(-)
13528 commit d4d7feb83d1a1ded8f662a82e21e053841ca726c
13529 Author: Lasse Collin <lasse.collin@tukaani.org>
13530 Date: 2008-03-10 13:47:17 +0200
13535 1 file changed, 1 insertion(+)
13537 commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258
13538 Author: Lasse Collin <lasse.collin@tukaani.org>
13539 Date: 2008-03-10 13:46:48 +0200
13541 Initialize align_price_count and match_price_count in
13542 lzma_encoder_init.c. While we don't call
13543 fill_distances_prices() and fill_align_prices() in
13544 lzma_lzma_encoder_init(), we still need to initialize
13545 these two variables so that the fill functions get
13546 called in lzma_encoder_getoptimum.c in the beginning
13549 src/liblzma/lzma/lzma_encoder_init.c | 2 ++
13550 1 file changed, 2 insertions(+)
13552 commit 596fa1fac72823e4ef5bc26bb53f9090445bf748
13553 Author: Lasse Collin <lasse.collin@tukaani.org>
13554 Date: 2008-03-10 13:44:29 +0200
13556 Always initialize lz->temp_size in lz_decoder.c. temp_size did
13557 get initialized as a side-effect after allocating a new decoder,
13558 but not when the decoder was reused.
13560 src/liblzma/lz/lz_decoder.c | 11 ++++++-----
13561 1 file changed, 6 insertions(+), 5 deletions(-)
13563 commit 45e43e169527e7a98a8c8a821d37bf25822b764d
13564 Author: Lasse Collin <lasse.collin@tukaani.org>
13565 Date: 2008-03-10 13:41:25 +0200
13567 Don't fill allocated memory with 0xFD when debugging is
13568 enabled. It hides errors from Valgrind.
13570 src/liblzma/common/allocator.c | 7 ++++---
13571 1 file changed, 4 insertions(+), 3 deletions(-)
13573 commit c0e19e0662205f81a86da8903cdc325d50635870
13574 Author: Lasse Collin <lasse.collin@tukaani.org>
13575 Date: 2008-02-28 10:24:31 +0200
13577 Remove two redundant validity checks from the LZMA decoder.
13578 These are already checked elsewhere, so omitting these
13579 gives (very) tiny speed up.
13581 src/liblzma/lzma/lzma_decoder.c | 23 ++++-------------------
13582 1 file changed, 4 insertions(+), 19 deletions(-)
13584 commit de7485806284d1614095ae8cb2ebbb5d74c9ac45
13585 Author: Lasse Collin <lasse.collin@tukaani.org>
13586 Date: 2008-02-06 13:25:32 +0200
13588 Tiny clean up to file-format.txt.
13590 doc/file-format.txt | 6 +++---
13591 1 file changed, 3 insertions(+), 3 deletions(-)
13593 commit 1a3b21859818e4d8e89a1da99699233c1bfd197d
13594 Author: Lasse Collin <lasse.collin@tukaani.org>
13595 Date: 2008-02-02 14:51:06 +0200
13597 Don't memzero() the history buffer when initializing LZ
13598 decoder. There's no danger of information leak here, so
13599 it isn't required. Doing memzero() takes a lot of time
13600 with large dictionaries, which could make it easier to
13601 construct DoS attack to consume too much CPU time.
13603 src/liblzma/lz/lz_decoder.c | 7 +++----
13604 1 file changed, 3 insertions(+), 4 deletions(-)
13606 commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0
13607 Author: Lasse Collin <lasse.collin@tukaani.org>
13608 Date: 2008-02-01 08:39:26 +0200
13610 Do uncompressed size validation in raw encoder. This way
13611 it gets done for not only raw encoder, but also Block
13612 and LZMA_Alone encoders.
13614 src/liblzma/common/raw_encoder.c | 90 ++++++++++++++++++++++++++++++++--------
13615 1 file changed, 73 insertions(+), 17 deletions(-)
13617 commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc
13618 Author: Lasse Collin <lasse.collin@tukaani.org>
13619 Date: 2008-02-01 08:32:05 +0200
13621 Avoid unneeded function call in raw_common.c.
13623 src/liblzma/common/raw_common.c | 20 +++++++++++---------
13624 1 file changed, 11 insertions(+), 9 deletions(-)
13626 commit b596fac963c3ff96f615d4d9b427a213ec341211
13627 Author: Lasse Collin <lasse.collin@tukaani.org>
13628 Date: 2008-01-26 21:42:38 +0200
13633 1 file changed, 1 insertion(+)
13635 commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2
13636 Author: Lasse Collin <lasse.collin@tukaani.org>
13637 Date: 2008-01-26 21:40:23 +0200
13639 Added note.GNU-stack to x86 assembler files. It is needed
13640 when using non-executable stack.
13642 src/liblzma/check/crc32_x86.S | 9 +++++++++
13643 src/liblzma/check/crc64_x86.S | 9 +++++++++
13644 2 files changed, 18 insertions(+)
13646 commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae
13647 Author: Lasse Collin <lasse.collin@tukaani.org>
13648 Date: 2008-01-26 19:12:50 +0200
13650 Added api/lzma/easy.h. I had forgot to add this to the
13651 git repo. Thanks to Stephan Kulow.
13653 src/liblzma/api/lzma/easy.h | 174 ++++++++++++++++++++++++++++++++++++++++++++
13654 1 file changed, 174 insertions(+)
13656 commit 288b232f54c3692cd36f471d4042f51daf3ea79f
13657 Author: Lasse Collin <lasse.collin@tukaani.org>
13658 Date: 2008-01-26 11:09:17 +0200
13660 Added more test files.
13662 tests/files/README | 11 +++++++++++
13663 tests/files/bad-multi-none-header_7.lzma | Bin 0 -> 59 bytes
13664 tests/files/good-single-sparc-lzma.lzma | Bin 0 -> 2263 bytes
13665 tests/files/good-single-x86-lzma.lzma | Bin 0 -> 1909 bytes
13666 4 files changed, 11 insertions(+)
13668 commit c467b0defccf233d0c79234407bc38d7d09574d3
13669 Author: Lasse Collin <lasse.collin@tukaani.org>
13670 Date: 2008-01-26 10:47:55 +0200
13672 Added more test files.
13674 tests/files/README | 6 ++++++
13675 tests/files/bad-multi-none-block_3.lzma | Bin 0 -> 58 bytes
13676 tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes
13677 3 files changed, 6 insertions(+)
13679 commit f9842f712732c482f2def9f24437851e57dd83f8
13680 Author: Lasse Collin <lasse.collin@tukaani.org>
13681 Date: 2008-01-26 00:25:34 +0200
13683 Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any
13684 of the so called simple filters. If there is demand, limited
13685 support for LZMA_SYNC_FLUSH may be added in future.
13687 After this commit, using LZMA_SYNC_FLUSH shouldn't cause
13688 undefined behavior in any situation.
13690 src/liblzma/api/lzma/simple.h | 9 +++++++++
13691 src/liblzma/simple/simple_coder.c | 8 ++++++++
13692 2 files changed, 17 insertions(+)
13694 commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa
13695 Author: Lasse Collin <lasse.collin@tukaani.org>
13696 Date: 2008-01-25 23:50:35 +0200
13698 Added more Multi-Block test files. Improved some
13699 descriptions in the test files' README.
13701 tests/files/README | 34 +++++++++++++++++++++++++------
13702 tests/files/bad-multi-none-block_1.lzma | Bin 0 -> 66 bytes
13703 tests/files/bad-multi-none-block_2.lzma | Bin 0 -> 66 bytes
13704 tests/files/good-multi-none-block_1.lzma | Bin 0 -> 66 bytes
13705 4 files changed, 28 insertions(+), 6 deletions(-)
13707 commit 4441e004185cd4c61bda184010eca5924c9dec87
13708 Author: Lasse Collin <lasse.collin@tukaani.org>
13709 Date: 2008-01-25 23:12:36 +0200
13711 Combine lzma_options_block validation needed by both Block
13712 encoder and decoder, and put the shared things to
13713 block_private.h. Improved the checks a little so that
13714 they may detect too big Compressed Size at initialization
13715 time if lzma_options_block.total_size or .total_limit is
13718 Allow encoding and decoding Blocks with combinations of
13719 fields that are not allowed by the file format specification.
13720 Doing this requires that the application passes such a
13721 combination in lzma_options_lzma; liblzma doesn't do that,
13722 but it's not impossible that someone could find them useful
13723 in some custom file format.
13725 src/liblzma/common/block_decoder.c | 37 ++++++++++++----------------
13726 src/liblzma/common/block_encoder.c | 32 +++++-------------------
13727 src/liblzma/common/block_private.h | 50 ++++++++++++++++++++++++++++++++++++++
13728 3 files changed, 71 insertions(+), 48 deletions(-)
13730 commit bf4200c818fcf9102e56328d39cde91bfa13cfb6
13731 Author: Lasse Collin <lasse.collin@tukaani.org>
13732 Date: 2008-01-25 19:21:22 +0200
13734 Added test_memlimit.c.
13736 tests/Makefile.am | 2 +
13737 tests/test_memlimit.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++
13738 2 files changed, 116 insertions(+)
13740 commit 7b8fc7e6b501a32a36636dac79ecb57099269005
13741 Author: Lasse Collin <lasse.collin@tukaani.org>
13742 Date: 2008-01-25 19:20:28 +0200
13744 Improved the memory limitter:
13745 - Added lzma_memlimit_max() and lzma_memlimit_reached()
13747 - Added simple estimation of malloc()'s memory usage
13749 - Fixed integer overflow detection in lzma_memlimit_alloc().
13750 - Made some white space cleanups and added more comments.
13752 The description of lzma_memlimit_max() in memlimit.h is bad
13753 and should be improved.
13755 src/liblzma/api/lzma/memlimit.h | 35 +++++++++++++
13756 src/liblzma/common/memory_limitter.c | 97 ++++++++++++++++++++++++++++++------
13757 2 files changed, 118 insertions(+), 14 deletions(-)
13759 commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db
13760 Author: Lasse Collin <lasse.collin@tukaani.org>
13761 Date: 2008-01-25 13:55:52 +0200
13763 Use more parenthesis in succeed() macro in tests/tests.h.
13765 tests/tests.h | 2 +-
13766 1 file changed, 1 insertion(+), 1 deletion(-)
13768 commit 1fd76d488179580d37f31ee11948f4932aed31fd
13769 Author: Lasse Collin <lasse.collin@tukaani.org>
13770 Date: 2008-01-24 14:49:34 +0200
13772 Added more Multi-Block Stream test files.
13774 tests/files/README | 23 +++++++++++++++++++++++
13775 tests/files/bad-multi-none-header_2.lzma | Bin 0 -> 61 bytes
13776 tests/files/bad-multi-none-header_3.lzma | Bin 0 -> 59 bytes
13777 tests/files/bad-multi-none-header_4.lzma | Bin 0 -> 59 bytes
13778 tests/files/bad-multi-none-header_5.lzma | Bin 0 -> 58 bytes
13779 tests/files/bad-multi-none-header_6.lzma | Bin 0 -> 59 bytes
13780 tests/files/good-multi-none-header_3.lzma | Bin 0 -> 59 bytes
13781 7 files changed, 23 insertions(+)
13783 commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936
13784 Author: Lasse Collin <lasse.collin@tukaani.org>
13785 Date: 2008-01-24 00:46:05 +0200
13787 Added bunch of test files containing Multi-Block Streams.
13789 tests/files/README | 53 ++++++++++++++++++++++++++++++
13790 tests/files/bad-multi-none-1.lzma | Bin 0 -> 54 bytes
13791 tests/files/bad-multi-none-2.lzma | Bin 0 -> 53 bytes
13792 tests/files/bad-multi-none-3.lzma | Bin 0 -> 53 bytes
13793 tests/files/bad-multi-none-extra_1.lzma | Bin 0 -> 54 bytes
13794 tests/files/bad-multi-none-extra_2.lzma | Bin 0 -> 54 bytes
13795 tests/files/bad-multi-none-extra_3.lzma | Bin 0 -> 55 bytes
13796 tests/files/bad-multi-none-header_1.lzma | Bin 0 -> 57 bytes
13797 tests/files/bad-multi-none-index_1.lzma | Bin 0 -> 51 bytes
13798 tests/files/bad-multi-none-index_2.lzma | Bin 0 -> 49 bytes
13799 tests/files/bad-multi-none-index_3.lzma | Bin 0 -> 51 bytes
13800 tests/files/bad-multi-none-index_4.lzma | Bin 0 -> 51 bytes
13801 tests/files/good-multi-none-1.lzma | Bin 0 -> 75 bytes
13802 tests/files/good-multi-none-2.lzma | Bin 0 -> 53 bytes
13803 tests/files/good-multi-none-extra_1.lzma | Bin 0 -> 51 bytes
13804 tests/files/good-multi-none-extra_2.lzma | Bin 0 -> 79 bytes
13805 tests/files/good-multi-none-extra_3.lzma | Bin 0 -> 55 bytes
13806 tests/files/good-multi-none-header_1.lzma | Bin 0 -> 58 bytes
13807 tests/files/good-multi-none-header_2.lzma | Bin 0 -> 66 bytes
13808 19 files changed, 53 insertions(+)
13810 commit db9df0a9609c01a00a227329fb96e983971040f5
13811 Author: Lasse Collin <lasse.collin@tukaani.org>
13812 Date: 2008-01-23 23:43:00 +0200
13814 Fix decoding of empty Metadata Blocks, that don't have
13815 even the Metadata Flags field. Earlier the code allowed
13816 such files; now they are prohibited as the file format
13817 specification requires.
13819 src/liblzma/common/metadata_decoder.c | 4 +++-
13820 1 file changed, 3 insertions(+), 1 deletion(-)
13822 commit 765f0b05f6e95ed9194fb90819cee189ebbac36b
13823 Author: Lasse Collin <lasse.collin@tukaani.org>
13824 Date: 2008-01-23 23:38:18 +0200
13826 Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6.
13827 lzma_metadata.header_metadata_size was not properly set to
13828 zero if the Metadata had only the Metadata Flags field.
13830 src/liblzma/common/metadata_decoder.c | 13 +++++++------
13831 1 file changed, 7 insertions(+), 6 deletions(-)
13833 commit 3a7cc5c3dec7b078941f961b0393b86c418883b6
13834 Author: Lasse Collin <lasse.collin@tukaani.org>
13835 Date: 2008-01-23 23:35:49 +0200
13837 Fix decoding of Extra Records that have empty Data.
13839 src/liblzma/common/metadata_decoder.c | 13 ++++++++++++-
13840 1 file changed, 12 insertions(+), 1 deletion(-)
13842 commit e5fdec93e273855c1bcc2579b83cfb481a9a1492
13843 Author: Lasse Collin <lasse.collin@tukaani.org>
13844 Date: 2008-01-23 22:02:38 +0200
13846 Add the trailing '\0' to lzma_extra.data as the API header
13849 src/liblzma/common/metadata_decoder.c | 4 +++-
13850 1 file changed, 3 insertions(+), 1 deletion(-)
13852 commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e
13853 Author: Lasse Collin <lasse.collin@tukaani.org>
13854 Date: 2008-01-23 21:21:21 +0200
13856 Added debug/full_flush.c.
13858 debug/Makefile.am | 3 +-
13859 debug/full_flush.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++
13860 2 files changed, 107 insertions(+), 1 deletion(-)
13862 commit ae0cd09a666a1682da8fc09487322227679e218d
13863 Author: Lasse Collin <lasse.collin@tukaani.org>
13864 Date: 2008-01-23 21:05:33 +0200
13866 Return LZMA_STREAM_END instead of LZMA_OK if
13867 LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when
13868 there's no unfinished Block open.
13870 src/liblzma/common/stream_encoder_multi.c | 6 +++++-
13871 1 file changed, 5 insertions(+), 1 deletion(-)
13873 commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db
13874 Author: Lasse Collin <lasse.collin@tukaani.org>
13875 Date: 2008-01-23 20:05:01 +0200
13877 Added bad-single-none-footer_filter_flags.lzma and
13878 bad-single-none-too_long_vli.lzma.
13880 tests/files/README | 5 +++++
13881 tests/files/bad-single-none-footer_filter_flags.lzma | Bin 0 -> 30 bytes
13882 tests/files/bad-single-none-too_long_vli.lzma | Bin 0 -> 39 bytes
13883 3 files changed, 5 insertions(+)
13885 commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd
13886 Author: Lasse Collin <lasse.collin@tukaani.org>
13887 Date: 2008-01-23 13:42:35 +0200
13891 src/liblzma/subblock/subblock_decoder_helper.c | 2 +-
13892 1 file changed, 1 insertion(+), 1 deletion(-)
13894 commit 980f65a9a10160c4d105767871e3002b9aaba3e0
13895 Author: Lasse Collin <lasse.collin@tukaani.org>
13896 Date: 2008-01-23 13:40:45 +0200
13898 Fix a memory leak in the Subblock encoder.
13900 src/liblzma/subblock/subblock_encoder.c | 1 +
13901 1 file changed, 1 insertion(+)
13903 commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6
13904 Author: Lasse Collin <lasse.collin@tukaani.org>
13905 Date: 2008-01-23 13:36:07 +0200
13907 Fix Size of Header Metadata Block handling. Now
13908 lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN
13909 is not allowed at all. To indicate missing Header Metadata
13910 Block, header_metadata_size must be set to zero. This is
13911 what Metadata decoder does after this patch too.
13913 Note that other missing fields in lzma_metadata are still
13914 indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as
13915 illogical as it sounds at first, because missing Size of
13916 Header Metadata Block means that Header Metadata Block is
13917 not present in the Stream. With other Metadata fields,
13918 a missing field means only that the value is unknown.
13920 src/liblzma/common/info.c | 13 ++++---------
13921 src/liblzma/common/metadata_decoder.c | 6 ++++++
13922 src/liblzma/common/metadata_encoder.c | 11 +++++------
13923 tests/test_info.c | 4 ++--
13924 4 files changed, 17 insertions(+), 17 deletions(-)
13926 commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81
13927 Author: Lasse Collin <lasse.collin@tukaani.org>
13928 Date: 2008-01-23 13:15:55 +0200
13930 Fix a memory leak in metadata_decoder.c.
13932 src/liblzma/common/metadata_decoder.c | 1 +
13933 1 file changed, 1 insertion(+)
13935 commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae
13936 Author: Lasse Collin <lasse.collin@tukaani.org>
13937 Date: 2008-01-23 13:13:58 +0200
13939 Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which
13940 just moved to problem. Now it's really fixed.
13942 src/liblzma/common/info.c | 5 ++++-
13943 1 file changed, 4 insertions(+), 1 deletion(-)
13945 commit 67321de963ccf69410b3868b8e31534fe18a90de
13946 Author: Lasse Collin <lasse.collin@tukaani.org>
13947 Date: 2008-01-23 00:21:04 +0200
13949 Take advantage of return_if_error() macro in
13950 lzma_info_metadata_set() in info.c.
13952 src/liblzma/common/info.c | 24 ++++++++----------------
13953 1 file changed, 8 insertions(+), 16 deletions(-)
13955 commit 863028cb7ad6d8d0455fa69348f56b376d7b908f
13956 Author: Lasse Collin <lasse.collin@tukaani.org>
13957 Date: 2008-01-23 00:18:32 +0200
13959 Fixed a dangling pointer that caused invalid free().
13961 src/liblzma/common/info.c | 1 +
13962 1 file changed, 1 insertion(+)
13964 commit cf49f42a6bd40143f54a6b10d6e605599e958c0b
13965 Author: Lasse Collin <lasse.collin@tukaani.org>
13966 Date: 2008-01-22 22:49:24 +0200
13968 Added lzma_easy_* functions. These should make using
13969 liblzma as easy as using zlib, because the easy API
13970 don't require developers to know any fancy LZMA options.
13972 Note that Multi-Block Stream encoding is currently broken.
13973 The easy API should be OK, the bug(s) are elsewhere.
13975 src/liblzma/api/Makefile.am | 1 +
13976 src/liblzma/api/lzma.h | 1 +
13977 src/liblzma/common/Makefile.am | 5 ++
13978 src/liblzma/common/easy_common.c | 54 ++++++++++++++++
13979 src/liblzma/common/easy_common.h | 28 ++++++++
13980 src/liblzma/common/easy_multi.c | 103 ++++++++++++++++++++++++++++++
13981 src/liblzma/common/easy_single.c | 37 +++++++++++
13982 src/liblzma/common/stream_encoder_multi.c | 3 +-
13983 src/liblzma/common/stream_encoder_multi.h | 26 ++++++++
13984 9 files changed, 256 insertions(+), 2 deletions(-)
13986 commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a
13987 Author: Lasse Collin <lasse.collin@tukaani.org>
13988 Date: 2008-01-22 21:16:22 +0200
13990 Fix Multi-Block Stream encoder's EOPM usage.
13992 src/liblzma/common/stream_encoder_multi.c | 2 +-
13993 1 file changed, 1 insertion(+), 1 deletion(-)
13995 commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6
13996 Author: Lasse Collin <lasse.collin@tukaani.org>
13997 Date: 2008-01-22 00:15:11 +0200
13999 Made lzma_extra pointers const in lzma_options_stream.
14001 src/liblzma/api/lzma/stream.h | 4 ++--
14002 src/liblzma/common/stream_encoder_multi.c | 8 ++++++--
14003 2 files changed, 8 insertions(+), 4 deletions(-)
14005 commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4
14006 Author: Lasse Collin <lasse.collin@tukaani.org>
14007 Date: 2008-01-20 20:15:21 +0200
14009 Updated debug/sync_flush.c.
14011 debug/sync_flush.c | 26 ++++++++++++++++++++++++--
14012 1 file changed, 24 insertions(+), 2 deletions(-)
14014 commit d53e9b77054cfade6a643e77d085273a348b189c
14015 Author: Lasse Collin <lasse.collin@tukaani.org>
14016 Date: 2008-01-20 20:14:26 +0200
14018 Added debug/repeat.c.
14020 debug/Makefile.am | 1 +
14021 debug/repeat.c | 43 +++++++++++++++++++++++++++++++++++++++++++
14022 2 files changed, 44 insertions(+)
14024 commit 107259e306bcfc2336a0fb870fb58034c28faa52
14025 Author: Lasse Collin <lasse.collin@tukaani.org>
14026 Date: 2008-01-20 20:12:58 +0200
14028 Fix alignment handling bugs in Subblock encoder.
14030 This leaves one known alignment bug unfixed: If repeat count
14031 doesn't fit into 28-bit integer, the encoder has to split
14032 this to multiple Subblocks with Subblock Type `Repeating Data'.
14033 The extra Subblocks may have wrong alignment. Correct alignment
14034 is restored after the split Repeating Data has been completely
14037 Since the encoder doesn't even try to fix the alignment unless
14038 the size of Data is at least 4 bytes, to trigger this bug you
14039 need at least 4 GiB of repeating data with sequence length of
14040 4 or more bytes. Since the worst thing done by this bug is
14041 misaligned data (no data corruption), this bug simply isn't
14042 worth fixing, because a proper fix isn't simple.
14044 src/liblzma/subblock/subblock_encoder.c | 170 ++++++++++++++++++++++----------
14045 1 file changed, 119 insertions(+), 51 deletions(-)
14047 commit e141fe18950400faaa3503ff88ac20eacd73e88c
14048 Author: Lasse Collin <lasse.collin@tukaani.org>
14049 Date: 2008-01-19 21:16:33 +0200
14051 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder.
14052 The API for handing Subfilters was changed to make it
14053 consistent with LZMA_SYNC_FLUSH.
14055 A few sanity checks were added for Subfilter handling. Some
14056 small bugs were fixed. More comments were added.
14058 src/liblzma/api/lzma/subblock.h | 29 ++--
14059 src/liblzma/subblock/subblock_encoder.c | 263 ++++++++++++++++++++++++--------
14060 2 files changed, 214 insertions(+), 78 deletions(-)
14062 commit 23c227a864a3b69f38c6a74306161d4e6918d1cc
14063 Author: Lasse Collin <lasse.collin@tukaani.org>
14064 Date: 2008-01-19 15:19:21 +0200
14066 Revised the Delta filter implementation. The initialization
14067 function is still shared between encoder and decoder, but the
14068 actual coding is in separate files for encoder and decoder.
14070 There are now separate functions for the actual delta
14071 calculation depending on if Delta is the last filter in the
14072 chain or not. If it is the last, the new code copies the
14073 data from input to output buffer and does the delta
14074 calculation at the same time. The old code first copied the
14075 data, then did the delta in the target buffer, which required
14076 reading through the data twice.
14078 Support for LZMA_SYNC_FLUSH was added to the Delta encoder.
14079 This doesn't change anything in the file format.
14081 src/liblzma/common/Makefile.am | 14 +-
14082 src/liblzma/common/delta_coder.c | 189 ---------------------
14083 src/liblzma/common/delta_common.c | 70 ++++++++
14084 src/liblzma/common/delta_common.h | 48 ++++++
14085 src/liblzma/common/delta_decoder.c | 102 +++++++++++
14086 .../common/{delta_coder.h => delta_decoder.h} | 11 +-
14087 src/liblzma/common/delta_encoder.c | 97 +++++++++++
14088 src/liblzma/common/delta_encoder.h | 28 +++
14089 src/liblzma/common/raw_decoder.c | 2 +-
14090 src/liblzma/common/raw_encoder.c | 2 +-
14091 10 files changed, 363 insertions(+), 200 deletions(-)
14093 commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73
14094 Author: Lasse Collin <lasse.collin@tukaani.org>
14095 Date: 2008-01-18 20:18:08 +0200
14097 Added the debug directory and the first debug tool
14098 (sync_flush). These tools are not built unless the
14099 user runs "make" in the debug directory.
14103 debug/Makefile.am | 30 ++++++++++++++
14104 debug/README | 17 ++++++++
14105 debug/sync_flush.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++
14106 5 files changed, 165 insertions(+)
14108 commit 0ae3208db94585eb8294b97ded387de0a3a07646
14109 Author: Lasse Collin <lasse.collin@tukaani.org>
14110 Date: 2008-01-18 20:13:00 +0200
14112 Added test files to test usage of flush marker in LZMA.
14114 tests/files/README | 12 ++++++++++++
14115 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 0 -> 53 bytes
14116 tests/files/bad-single-lzma-flush_twice.lzma | Bin 0 -> 63 bytes
14117 tests/files/good-single-lzma-flush_1.lzma | Bin 0 -> 48 bytes
14118 tests/files/good-single-lzma-flush_2.lzma | Bin 0 -> 63 bytes
14119 5 files changed, 12 insertions(+)
14121 commit ab5feaf1fcc146ef9fd39360c53c290bec39524e
14122 Author: Lasse Collin <lasse.collin@tukaani.org>
14123 Date: 2008-01-18 20:02:52 +0200
14125 Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders.
14126 That code is now almost completely in LZ coder, where
14127 it can be shared with other LZ77-based algorithms in
14130 src/liblzma/lz/lz_encoder.c | 34 ++++++++++++++++++++++++++--------
14131 src/liblzma/lz/lz_encoder.h | 1 +
14132 src/liblzma/lzma/lzma_encoder.c | 27 ++-------------------------
14133 3 files changed, 29 insertions(+), 33 deletions(-)
14135 commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585
14136 Author: Lasse Collin <lasse.collin@tukaani.org>
14137 Date: 2008-01-18 17:21:24 +0200
14139 Don't add -g to CFLAGS when --enable-debug is specified.
14140 It's the job of the user to put that in CFLAGS.
14143 1 file changed, 1 deletion(-)
14145 commit 61d1784d8f1761d979a6da6e223e279ca33815e6
14146 Author: Lasse Collin <lasse.collin@tukaani.org>
14147 Date: 2008-01-18 14:17:37 +0200
14149 Set stdin and stdout to binary mode on Windows. This patch is
14150 a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068
14151 from lzma-utils-legacy.git. I don't know if the new code base
14152 builds on Windows, but this is a start.
14154 src/lzmadec/lzmadec.c | 9 +++++++++
14155 1 file changed, 9 insertions(+)
14157 commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c
14158 Author: Lasse Collin <lasse.collin@tukaani.org>
14159 Date: 2008-01-18 00:50:29 +0200
14161 Added test_compress.sh and bunch of files needed by it.
14162 This new set of tests compress and decompress several
14163 test files with many different compression options.
14164 This set of tests will be extended later.
14166 tests/Makefile.am | 30 ++++---
14167 tests/bcj_test.c | 66 ++++++++++++++
14168 tests/compress_prepared_bcj_sparc | Bin 0 -> 6804 bytes
14169 tests/compress_prepared_bcj_x86 | Bin 0 -> 4649 bytes
14170 tests/create_compress_files.c | 164 ++++++++++++++++++++++++++++++++++
14171 tests/test_compress.sh | 183 ++++++++++++++++++++++++++++++++++++++
14172 6 files changed, 433 insertions(+), 10 deletions(-)
14174 commit 33be3c0e24d8f43376ccf71cc77d53671e792f07
14175 Author: Lasse Collin <lasse.collin@tukaani.org>
14176 Date: 2008-01-17 18:56:53 +0200
14178 Subblock decoder: Don't exit the main loop in decode_buffer()
14179 too early if we hit End of Input while decoding a Subblock of
14180 type Repeating Data. To keep the loop termination condition
14181 elegant, the order of enumerations in coder->sequence were
14184 To keep the case-labels in roughly the same order as the
14185 enumerations in coder->sequence, large chunks of code was
14186 moved around. This made the diff big and ugly compared to
14187 the amount of the actual changes made.
14189 src/liblzma/subblock/subblock_decoder.c | 272 ++++++++++++++++----------------
14190 1 file changed, 139 insertions(+), 133 deletions(-)
14192 commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd
14193 Author: Lasse Collin <lasse.collin@tukaani.org>
14194 Date: 2008-01-17 17:39:42 +0200
14196 Fix wrong too small size of argument unfiltered_max
14197 in ia64_coder_init(). It triggered assert() in
14198 simple_coder.c, and could have caused a buffer overflow.
14200 This error was probably a copypaste mistake, since most
14201 of the simple filters use unfiltered_max = 4.
14203 src/liblzma/simple/ia64.c | 2 +-
14204 1 file changed, 1 insertion(+), 1 deletion(-)
14206 commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a
14207 Author: Lasse Collin <lasse.collin@tukaani.org>
14208 Date: 2008-01-17 17:27:45 +0200
14210 Added --delta to the output of "lzma --help".
14212 src/lzma/help.c | 4 ++++
14213 1 file changed, 4 insertions(+)
14215 commit f88590e0014b38d40465937c19f25f05f16c79ae
14216 Author: Lasse Collin <lasse.collin@tukaani.org>
14217 Date: 2008-01-17 13:14:20 +0200
14219 Fix Subblock docoder: If Subblock filter was used with known
14220 Uncompressed Size, and the last output byte was from RLE,
14221 the code didn't stop decoding as it should have done.
14223 src/liblzma/subblock/subblock_decoder.c | 6 ++++++
14224 1 file changed, 6 insertions(+)
14226 commit bc0b945ca376e333077644d2f7fd54c2848aab8a
14227 Author: Lasse Collin <lasse.collin@tukaani.org>
14228 Date: 2008-01-16 16:33:37 +0200
14230 Tiny non-technical edits to file-format.txt.
14232 doc/file-format.txt | 6 +++---
14233 1 file changed, 3 insertions(+), 3 deletions(-)
14235 commit 7599bb7064ccf007f054595dedda7927af868252
14236 Author: Lasse Collin <lasse.collin@tukaani.org>
14237 Date: 2008-01-16 14:48:04 +0200
14239 Plugged a memory leak in stream_decoder.c.
14241 src/liblzma/common/stream_decoder.c | 20 ++++++++++++++++++++
14242 1 file changed, 20 insertions(+)
14244 commit 0b581539311f3712946e81e747839f8fb5f441a7
14245 Author: Lasse Collin <lasse.collin@tukaani.org>
14246 Date: 2008-01-16 14:47:27 +0200
14248 Added memory leak detection to lzmadec.c.
14250 src/lzmadec/lzmadec.c | 3 +++
14251 1 file changed, 3 insertions(+)
14253 commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4
14254 Author: Lasse Collin <lasse.collin@tukaani.org>
14255 Date: 2008-01-16 14:46:50 +0200
14257 Added lzma_memlimit_count().
14259 src/liblzma/api/lzma/memlimit.h | 10 ++++++++++
14260 src/liblzma/common/memory_limitter.c | 19 +++++++++++++++++++
14261 2 files changed, 29 insertions(+)
14263 commit 19389f2b82ec54fd4c847a18f16482e7be4c9887
14264 Author: Lasse Collin <lasse.collin@tukaani.org>
14265 Date: 2008-01-16 14:31:44 +0200
14267 Added ARRAY_SIZE(array) macro.
14269 src/common/sysdefs.h | 4 ++++
14270 1 file changed, 4 insertions(+)
14272 commit 9bc33a54cbf83952130adbcb1be32c6882485416
14273 Author: Lasse Collin <lasse.collin@tukaani.org>
14274 Date: 2008-01-16 13:27:03 +0200
14276 Make Uncompresed Size validation more strict
14277 in alone_decoder.c.
14279 src/liblzma/common/alone_decoder.c | 3 ++-
14280 1 file changed, 2 insertions(+), 1 deletion(-)
14282 commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883
14283 Author: Lasse Collin <lasse.collin@tukaani.org>
14284 Date: 2008-01-15 17:46:59 +0200
14286 Free the allocated memory in lzmadec if debugging is
14287 enabled. This should make it possible to detect possible
14288 memory leaks with Valgrind.
14290 src/lzmadec/lzmadec.c | 7 +++++++
14291 1 file changed, 7 insertions(+)
14293 commit 8235e6e5b2878f76633afcda9a334640db503ef5
14294 Author: Lasse Collin <lasse.collin@tukaani.org>
14295 Date: 2008-01-15 16:25:38 +0200
14297 Fix memory leaks from test_block_header.c.
14299 tests/test_block_header.c | 19 +++++++++++++++++--
14300 1 file changed, 17 insertions(+), 2 deletions(-)
14302 commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6
14303 Author: Lasse Collin <lasse.collin@tukaani.org>
14304 Date: 2008-01-15 14:23:35 +0200
14306 Use fastpos.h when encoding LZMA dictionary size in
14307 Filter Flags encoder.
14309 src/liblzma/common/filter_flags_encoder.c | 40 +++++++++++++++----------------
14310 1 file changed, 19 insertions(+), 21 deletions(-)
14312 commit e5728142a2048979f5c0c2149ce71ae952a092e1
14313 Author: Lasse Collin <lasse.collin@tukaani.org>
14314 Date: 2008-01-15 14:02:22 +0200
14316 Revised the fastpos code. It now uses the slightly faster
14317 table-based version from LZMA SDK 4.57. This should be
14318 fast on most systems.
14320 A simpler and smaller alternative version is also provided.
14321 On some CPUs this can be even a little faster than the
14322 default table-based version (see comments in fastpos.h),
14323 but on most systems the table-based code is faster.
14325 src/liblzma/common/init_encoder.c | 3 -
14326 src/liblzma/lzma/Makefile.am | 4 +
14327 src/liblzma/lzma/fastpos.h | 156 +++++++++
14328 src/liblzma/lzma/fastpos_table.c | 519 +++++++++++++++++++++++++++++
14329 src/liblzma/lzma/fastpos_tablegen.c | 63 ++++
14330 src/liblzma/lzma/lzma_common.h | 3 +-
14331 src/liblzma/lzma/lzma_encoder.c | 1 +
14332 src/liblzma/lzma/lzma_encoder_getoptimum.c | 1 +
14333 src/liblzma/lzma/lzma_encoder_init.c | 22 --
14334 src/liblzma/lzma/lzma_encoder_private.h | 21 --
14335 10 files changed, 746 insertions(+), 47 deletions(-)
14337 commit 10437b5b567f6a025ff16c45a572e417a0a9cc26
14338 Author: Lasse Collin <lasse.collin@tukaani.org>
14339 Date: 2008-01-15 13:32:13 +0200
14343 src/liblzma/common/Makefile.am | 1 +
14344 src/liblzma/common/bsr.h | 61 ++++++++++++++++++++++++++++++++++++++++++
14345 2 files changed, 62 insertions(+)
14347 commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244
14348 Author: Lasse Collin <lasse.collin@tukaani.org>
14349 Date: 2008-01-15 13:29:14 +0200
14351 Fixed assembler detection in configure.ac, and added
14352 detection for x86_64.
14354 configure.ac | 32 ++++++++++++++++----------------
14355 1 file changed, 16 insertions(+), 16 deletions(-)
14357 commit 54ec204f58287f50d3976288295da4188a19192b
14358 Author: Lasse Collin <lasse.collin@tukaani.org>
14359 Date: 2008-01-15 12:20:41 +0200
14361 Omit invalid space from printf() format string
14362 in price_table_gen.c.
14364 src/liblzma/rangecoder/price_table_gen.c | 2 +-
14365 1 file changed, 1 insertion(+), 1 deletion(-)
14367 commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1
14368 Author: Lasse Collin <lasse.collin@tukaani.org>
14369 Date: 2008-01-15 09:54:34 +0200
14371 Removed a few unused macros from lzma_common.h.
14373 src/liblzma/lzma/lzma_common.h | 8 ++------
14374 1 file changed, 2 insertions(+), 6 deletions(-)
14376 commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d
14377 Author: Lasse Collin <lasse.collin@tukaani.org>
14378 Date: 2008-01-15 08:37:42 +0200
14380 Fix a typo in lzma_encoder.c.
14382 src/liblzma/lzma/lzma_encoder.c | 2 +-
14383 1 file changed, 1 insertion(+), 1 deletion(-)
14385 commit 9f9b1983013048f2142e8bc7e240149d2687bedc
14386 Author: Lasse Collin <lasse.collin@tukaani.org>
14387 Date: 2008-01-15 08:36:25 +0200
14389 Convert bittree_get_price() and bittree_reverse_get_price()
14390 from macros to inline functions.
14392 src/liblzma/lzma/lzma_encoder.c | 19 +++-----
14393 src/liblzma/lzma/lzma_encoder_getoptimum.c | 16 +++----
14394 src/liblzma/rangecoder/range_encoder.h | 76 +++++++++++++++++-------------
14395 3 files changed, 56 insertions(+), 55 deletions(-)
14397 commit 78e85cb1a7667c54853670d2eb09d754bcbda87d
14398 Author: Lasse Collin <lasse.collin@tukaani.org>
14399 Date: 2008-01-15 07:44:59 +0200
14401 Fix CRC code in case --enable-small is used.
14403 src/liblzma/check/crc32_init.c | 2 +-
14404 src/liblzma/check/crc64_init.c | 2 +-
14405 src/liblzma/common/init_decoder.c | 2 --
14406 src/liblzma/common/init_encoder.c | 2 --
14407 tests/test_check.c | 2 ++
14408 5 files changed, 4 insertions(+), 6 deletions(-)
14410 commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0
14411 Author: Lasse Collin <lasse.collin@tukaani.org>
14412 Date: 2008-01-15 07:41:39 +0200
14414 Fix typo in test_index.c.
14416 tests/test_index.c | 2 +-
14417 1 file changed, 1 insertion(+), 1 deletion(-)
14419 commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6
14420 Author: Lasse Collin <lasse.collin@tukaani.org>
14421 Date: 2008-01-15 07:40:21 +0200
14423 Added precomputed range coder probability price table.
14425 src/liblzma/common/init_encoder.c | 5 +-
14426 src/liblzma/rangecoder/Makefile.am | 9 ++-
14427 src/liblzma/rangecoder/price_table.c | 70 ++++++++++++++++++++++
14428 src/liblzma/rangecoder/price_table_gen.c | 55 +++++++++++++++++
14429 .../{range_encoder.c => price_table_init.c} | 6 +-
14430 src/liblzma/rangecoder/range_common.h | 4 +-
14431 src/liblzma/rangecoder/range_encoder.h | 21 ++++---
14432 7 files changed, 153 insertions(+), 17 deletions(-)
14434 commit 362dc3843b373c1007a50a4719f378981f18ae03
14435 Author: Lasse Collin <lasse.collin@tukaani.org>
14436 Date: 2008-01-14 13:42:43 +0200
14438 Remove RC_BUFFER_SIZE from lzma_encoder_private.h
14439 and replace it with a sanity check.
14441 src/liblzma/lzma/lzma_encoder_private.h | 6 ++++--
14442 1 file changed, 4 insertions(+), 2 deletions(-)
14444 commit e22b37968d153683fec61ad37b6b160cb7ca4ddc
14445 Author: Lasse Collin <lasse.collin@tukaani.org>
14446 Date: 2008-01-14 13:39:54 +0200
14448 Major changes to LZ encoder, LZMA encoder, and range encoder.
14449 These changes implement support for LZMA_SYNC_FLUSH in LZMA
14450 encoder, and move the temporary buffer needed by range encoder
14451 from lzma_range_encoder structure to lzma_lz_encoder.
14453 src/liblzma/lz/lz_encoder.c | 138 ++++++++++++++++++++++++++++-----
14454 src/liblzma/lz/lz_encoder.h | 17 ++--
14455 src/liblzma/lzma/lzma_encoder.c | 74 ++++++++++--------
14456 src/liblzma/rangecoder/range_encoder.h | 117 ++++++++--------------------
14457 4 files changed, 206 insertions(+), 140 deletions(-)
14459 commit b59ef3973781f892c0a72b5e5934194567100be5
14460 Author: Lasse Collin <lasse.collin@tukaani.org>
14461 Date: 2008-01-14 13:34:29 +0200
14463 Added one assert() to process.c of the command line tool.
14465 src/lzma/process.c | 1 +
14466 1 file changed, 1 insertion(+)
14468 commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7
14469 Author: Lasse Collin <lasse.collin@tukaani.org>
14470 Date: 2008-01-14 12:09:52 +0200
14472 Don't use coder->lz.stream_end_was_reached in assertions
14475 src/liblzma/lz/match_c.h | 2 --
14476 1 file changed, 2 deletions(-)
14478 commit 3e09e1c05871f3757f759b801890ccccc9286608
14479 Author: Lasse Collin <lasse.collin@tukaani.org>
14480 Date: 2008-01-14 12:08:02 +0200
14482 In lzma_read_match_distances(), don't use
14483 coder->lz.stream_end_was_reached. That variable
14484 will be removed, and the check isn't required anyway.
14485 Rearrange the check so that it doesn't make one to
14486 think that there could be an integer overflow.
14488 src/liblzma/lzma/lzma_encoder_private.h | 6 +++---
14489 1 file changed, 3 insertions(+), 3 deletions(-)
14491 commit a670fec8021e5962429689c194148a04c3418872
14492 Author: Lasse Collin <lasse.collin@tukaani.org>
14493 Date: 2008-01-14 11:56:41 +0200
14495 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders.
14497 src/liblzma/common/block_encoder.c | 4 ++--
14498 src/liblzma/common/stream_encoder_single.c | 1 +
14499 2 files changed, 3 insertions(+), 2 deletions(-)
14501 commit 3599dba9570a6972a16b6398d6c838e9b420e985
14502 Author: Lasse Collin <lasse.collin@tukaani.org>
14503 Date: 2008-01-14 11:54:56 +0200
14505 More fixes to LZMA decoder's flush marker handling.
14507 src/liblzma/lzma/lzma_decoder.c | 52 ++++++++++++++++++++++++-----------------
14508 1 file changed, 30 insertions(+), 22 deletions(-)
14510 commit f73c2ab6079ed5675a42b39d584a567befbd4624
14511 Author: Lasse Collin <lasse.collin@tukaani.org>
14512 Date: 2008-01-10 17:13:42 +0200
14514 Eliminate lzma_lz_encoder.must_move_pos. It's needed
14515 only in one place which isn't performance criticial.
14517 src/liblzma/lz/lz_encoder.c | 6 ++----
14518 src/liblzma/lz/lz_encoder.h | 4 ----
14519 2 files changed, 2 insertions(+), 8 deletions(-)
14521 commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd
14522 Author: Lasse Collin <lasse.collin@tukaani.org>
14523 Date: 2008-01-09 20:05:57 +0200
14525 Define HAVE_ASM_X86 when x86 assembler optimizations are
14526 used. This #define will be useful for inline assembly.
14528 configure.ac | 5 ++++-
14529 1 file changed, 4 insertions(+), 1 deletion(-)
14531 commit 0e70fbe4032351aab13a1cd8e5deced105c0b276
14532 Author: Lasse Collin <lasse.collin@tukaani.org>
14533 Date: 2008-01-09 12:06:46 +0200
14535 Added good-single-none-empty_3.lzma and
14536 bad-single-none-empty.lzma.
14538 tests/files/README | 6 ++++++
14539 tests/files/bad-single-none-empty.lzma | Bin 0 -> 19 bytes
14540 tests/files/good-single-none-empty_3.lzma | Bin 0 -> 19 bytes
14541 3 files changed, 6 insertions(+)
14543 commit 379fbbe84d922c7cc00afa65c6f0c095da596b19
14544 Author: Lasse Collin <lasse.collin@tukaani.org>
14545 Date: 2008-01-08 23:11:59 +0200
14547 Take advantage of return_if_error() in block_decoder.c.
14549 src/liblzma/common/block_decoder.c | 23 +++++++----------------
14550 1 file changed, 7 insertions(+), 16 deletions(-)
14552 commit 97d5fa82077e57815dfad995dc393c2809a78539
14553 Author: Lasse Collin <lasse.collin@tukaani.org>
14554 Date: 2008-01-08 23:10:57 +0200
14556 Updated tests/files/README.
14558 tests/files/README | 15 +++++++++------
14559 1 file changed, 9 insertions(+), 6 deletions(-)
14561 commit 3bb9bb310936cba6a743b4f06739a397dec7c28f
14562 Author: Lasse Collin <lasse.collin@tukaani.org>
14563 Date: 2008-01-08 23:05:40 +0200
14565 Added test files with empty Compressed Data.
14567 tests/files/README | 6 ++++++
14568 tests/files/good-single-lzma-empty.lzma | Bin 0 -> 21 bytes
14569 tests/files/good-single-none-empty_1.lzma | Bin 0 -> 18 bytes
14570 tests/files/good-single-none-empty_2.lzma | Bin 0 -> 26 bytes
14571 4 files changed, 6 insertions(+)
14573 commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f
14574 Author: Lasse Collin <lasse.collin@tukaani.org>
14575 Date: 2008-01-08 22:58:42 +0200
14577 Fix decoding of Blocks that have only Block Header.
14579 src/liblzma/common/block_decoder.c | 37 ++++++++++++++-----------------------
14580 1 file changed, 14 insertions(+), 23 deletions(-)
14582 commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4
14583 Author: Lasse Collin <lasse.collin@tukaani.org>
14584 Date: 2008-01-08 22:27:46 +0200
14586 Added good-single-subblock_implicit.lzma.
14588 tests/files/README | 2 ++
14589 tests/files/good-single-subblock_implicit.lzma | Bin 0 -> 35 bytes
14590 2 files changed, 2 insertions(+)
14592 commit faeac7b7aca75f86afed1e7cc06279d9d497c627
14593 Author: Lasse Collin <lasse.collin@tukaani.org>
14594 Date: 2008-01-08 18:50:30 +0200
14596 Disable CRC32 from Block Headers when --check=none
14597 has been specified.
14599 src/lzma/process.c | 2 +-
14600 1 file changed, 1 insertion(+), 1 deletion(-)
14602 commit a751126dbb656767ed4666cf0e5d3e17349d93d1
14603 Author: Lasse Collin <lasse.collin@tukaani.org>
14604 Date: 2008-01-08 13:36:29 +0200
14606 Fixed encoding of empty files. Arguments to is_size_valid()
14607 were in wrong order in block_encoder.c.
14609 src/liblzma/common/block_encoder.c | 2 +-
14610 1 file changed, 1 insertion(+), 1 deletion(-)
14612 commit 9080267603b1006c4867c823307dca9df8be0d20
14613 Author: Lasse Collin <lasse.collin@tukaani.org>
14614 Date: 2008-01-08 13:35:36 +0200
14616 Added a few test files.
14618 tests/files/README | 21 ++++++++++++++++++---
14619 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 0 -> 65 bytes
14620 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes
14621 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes
14622 ...eopm.lzma => bad-single-data_after_eopm_1.lzma} | Bin
14623 tests/files/bad-single-none-truncated.lzma | Bin 0 -> 29 bytes
14624 6 files changed, 18 insertions(+), 3 deletions(-)
14626 commit b4943ccf73b64fc93a90a23474509c316f55eb2b
14627 Author: Lasse Collin <lasse.collin@tukaani.org>
14628 Date: 2008-01-08 12:29:58 +0200
14630 Avoid using ! in test_files.sh, because that doesn't work
14631 with some ancient /bin/sh versions.
14633 tests/test_files.sh | 4 +++-
14634 1 file changed, 3 insertions(+), 1 deletion(-)
14636 commit e2417b2b9134f3f65e14b61e23cd3644d8954353
14637 Author: Lasse Collin <lasse.collin@tukaani.org>
14638 Date: 2008-01-08 00:48:30 +0200
14640 More pre-C99 inttypes.h compatibility fixes. Now the code
14641 should work even if the system has no inttypes.h.
14643 src/common/physmem.h | 11 -----------
14644 src/liblzma/check/crc32_init.c | 5 +----
14645 src/liblzma/check/crc32_tablegen.c | 7 ++-----
14646 src/liblzma/check/crc64_init.c | 5 +----
14647 src/liblzma/check/crc64_tablegen.c | 7 ++-----
14648 5 files changed, 6 insertions(+), 29 deletions(-)
14650 commit 5d227e51c23639423f4ade06aabb54e131f8505e
14651 Author: Lasse Collin <lasse.collin@tukaani.org>
14652 Date: 2008-01-07 23:25:32 +0200
14654 Updated fi.po although it's currently pretty much crap.
14656 po/fi.po | 12 ++++++------
14657 1 file changed, 6 insertions(+), 6 deletions(-)
14659 commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d
14660 Author: Lasse Collin <lasse.collin@tukaani.org>
14661 Date: 2008-01-07 23:14:25 +0200
14663 Test for $GCC = yes instead of if it is non-empty. This
14664 way it is possible to use ac_cv_c_compiler_gnu=no to
14665 force configure to think it is using non-GNU C compiler.
14667 configure.ac | 2 +-
14668 1 file changed, 1 insertion(+), 1 deletion(-)
14670 commit 3dbbea82b74bb841c995ad332a3aeca613015e10
14671 Author: Lasse Collin <lasse.collin@tukaani.org>
14672 Date: 2008-01-07 21:49:41 +0200
14674 Added test_files.sh to tests/Makefile.am so it gets
14675 included in the tarball with "make dist".
14677 tests/Makefile.am | 2 +-
14678 1 file changed, 1 insertion(+), 1 deletion(-)
14680 commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0
14681 Author: Lasse Collin <lasse.collin@tukaani.org>
14682 Date: 2008-01-07 18:22:24 +0200
14684 Cosmetic edit to test_files.sh.
14686 tests/test_files.sh | 4 ++--
14687 1 file changed, 2 insertions(+), 2 deletions(-)
14689 commit 9a71d573100a990ceb30ce0bec6a9a15d795605f
14690 Author: Lasse Collin <lasse.collin@tukaani.org>
14691 Date: 2008-01-07 18:09:44 +0200
14693 Added tests/files/README.
14695 tests/files/README | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++
14696 1 file changed, 108 insertions(+)
14698 commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43
14699 Author: Lasse Collin <lasse.collin@tukaani.org>
14700 Date: 2008-01-07 14:20:57 +0200
14702 Tell in COPYING that everything in tests/files is
14706 1 file changed, 2 insertions(+), 1 deletion(-)
14708 commit 3502b3e1d00251d3c8dda96079440705c28d8225
14709 Author: Lasse Collin <lasse.collin@tukaani.org>
14710 Date: 2008-01-07 14:19:05 +0200
14712 Cleaned up the tests/files directory.
14714 ...ck-loop.lzma => bad-single-subblock-padding_loop.lzma} | Bin
14715 ...ck1023-slow.lzma => bad-single-subblock1023-slow.lzma} | Bin
14716 tests/files/malicious-single-subblock-lzma.lzma | Bin 505 -> 0 bytes
14717 3 files changed, 0 insertions(+), 0 deletions(-)
14719 commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c
14720 Author: Lasse Collin <lasse.collin@tukaani.org>
14721 Date: 2008-01-07 13:49:19 +0200
14723 Added test_files.sh to test decoding of the files in
14724 the tests/files directory. It doesn't test the malicious
14727 tests/Makefile.am | 4 +++-
14728 tests/test_files.sh | 40 ++++++++++++++++++++++++++++++++++++++++
14729 2 files changed, 43 insertions(+), 1 deletion(-)
14731 commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6
14732 Author: Lasse Collin <lasse.collin@tukaani.org>
14733 Date: 2008-01-07 11:23:13 +0200
14735 Updated README regarding the assembler optimizations.
14737 README | 10 +++++-----
14738 1 file changed, 5 insertions(+), 5 deletions(-)
14740 commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb
14741 Author: Lasse Collin <lasse.collin@tukaani.org>
14742 Date: 2008-01-07 10:58:00 +0200
14747 1 file changed, 1 insertion(+)
14749 commit 1239649f96132b18e3b7e2dd152ecf53a195caa8
14750 Author: Lasse Collin <lasse.collin@tukaani.org>
14751 Date: 2008-01-06 21:47:17 +0200
14753 Cosmetic changes to configure.ac.
14755 configure.ac | 14 ++++++--------
14756 1 file changed, 6 insertions(+), 8 deletions(-)
14758 commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e
14759 Author: Lasse Collin <lasse.collin@tukaani.org>
14760 Date: 2008-01-06 19:46:38 +0200
14762 Automatically disable assembler code on Darwin x86.
14763 Darwin has different ABI than GNU+Linux and Solaris,
14764 thus the assembler code doesn't assemble on Darwin.
14766 configure.ac | 17 +++++++++++++++--
14767 1 file changed, 15 insertions(+), 2 deletions(-)
14769 commit c15a7abf66e3a70792f7444115e484c7981c8284
14770 Author: Lasse Collin <lasse.collin@tukaani.org>
14771 Date: 2008-01-06 19:45:27 +0200
14773 With printf(), use PRIu64 with a cast to uint64_t instead
14774 of %zu, because some pre-C99 libc versions don't support %zu.
14776 src/lzma/help.c | 13 +++++++------
14777 src/lzmadec/lzmadec.c | 6 ++++--
14778 2 files changed, 11 insertions(+), 8 deletions(-)
14780 commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb
14781 Author: Lasse Collin <lasse.collin@tukaani.org>
14782 Date: 2008-01-06 16:27:41 +0200
14784 Introduced compatibility with systems that have pre-C99
14785 or no inttypes.h. This is useful when the compiler has
14786 good enough support for C99, but libc headers don't.
14788 Changed liblzma API so that sys/types.h and inttypes.h
14789 have to be #included before #including lzma.h. On systems
14790 that don't have C99 inttypes.h, it's the problem of the
14791 applications to provide the required types and macros
14792 before #including lzma.h.
14794 If lzma.h defined the missing types and macros, it could
14795 conflict with third-party applications whose configure
14796 has detected that the types are missing and defined them
14797 in config.h already. An alternative would have been
14798 introducing lzma_uint32 and similar types, but that would
14799 just be an extra pain on modern systems.
14801 configure.ac | 13 ++++++++-
14802 doc/liblzma-intro.txt | 10 +++++--
14803 src/common/sysdefs.h | 59 +++++++++++++++++++++++++++++++++++++-
14804 src/liblzma/api/lzma.h | 40 +++++++++++++++++---------
14805 src/liblzma/check/crc32_table.c | 4 +--
14806 src/liblzma/check/crc32_table_be.h | 2 --
14807 src/liblzma/check/crc32_table_le.h | 2 --
14808 src/liblzma/check/crc32_tablegen.c | 1 -
14809 src/liblzma/check/crc64_table.c | 4 +--
14810 src/liblzma/check/crc64_table_be.h | 2 --
14811 src/liblzma/check/crc64_table_le.h | 2 --
14812 src/liblzma/check/crc64_tablegen.c | 1 -
14813 src/lzma/private.h | 1 -
14814 13 files changed, 106 insertions(+), 35 deletions(-)
14816 commit a71864f77dfb76b5d78a270641539947c312583a
14817 Author: Lasse Collin <lasse.collin@tukaani.org>
14818 Date: 2008-01-05 19:57:00 +0200
14820 Fix typo in comment (INT64_MAX -> UINT64_MAX).
14822 src/liblzma/api/lzma/vli.h | 2 +-
14823 1 file changed, 1 insertion(+), 1 deletion(-)
14825 commit 072927905a3b66281c6311b4b351caa501d8b73a
14826 Author: Lasse Collin <lasse.collin@tukaani.org>
14827 Date: 2008-01-05 19:42:04 +0200
14829 Rearranged testing of GCC-specific flags.
14831 configure.ac | 33 +++++++++++++++++++++++----------
14832 1 file changed, 23 insertions(+), 10 deletions(-)
14834 commit d160ee32598c6d1cd9054ef019e8c9331208b188
14835 Author: Lasse Collin <lasse.collin@tukaani.org>
14836 Date: 2008-01-05 01:20:24 +0200
14838 Another bug fix for flush marker detection.
14840 src/liblzma/lzma/lzma_decoder.c | 10 +++++++++-
14841 1 file changed, 9 insertions(+), 1 deletion(-)
14843 commit fc67f79f607cbfa78c6f47a69dec098d8659b162
14844 Author: Lasse Collin <lasse.collin@tukaani.org>
14845 Date: 2008-01-04 21:37:01 +0200
14847 Fix stupid bugs in flush marker detection.
14849 src/liblzma/lzma/lzma_decoder.c | 7 ++++---
14850 1 file changed, 4 insertions(+), 3 deletions(-)
14852 commit 0029cbbabe87d491fc046a55a629a6d556010baa
14853 Author: Lasse Collin <lasse.collin@tukaani.org>
14854 Date: 2008-01-04 21:30:33 +0200
14856 Added support for flush marker, which will be in files
14857 that use LZMA_SYNC_FLUSH with encoder (not implemented
14858 yet). This is a new feature in the raw LZMA format,
14859 which isn't supported by old decoders. This shouldn't
14860 be a problem in practice, since lzma_alone_encoder()
14861 will not allow LZMA_SYNC_FLUSH, and thus not allow
14862 creating files on decodable with old decoders.
14864 Made lzma_decoder.c to require tab width of 4 characters
14865 if one wants to fit the code in 80 columns. This makes
14866 the code easier to read.
14868 src/liblzma/lzma/lzma_common.h | 4 +
14869 src/liblzma/lzma/lzma_decoder.c | 217 ++++++++++++++++++----------------------
14870 2 files changed, 104 insertions(+), 117 deletions(-)
14872 commit bbfd1f6ab058a7e661545205befcb7f70c5685ab
14873 Author: Lasse Collin <lasse.collin@tukaani.org>
14874 Date: 2008-01-04 20:45:05 +0200
14876 Moved range decoder initialization (reading the first
14877 five input bytes) from LZMA decoder to range decoder
14878 header. Did the same for decoding of direct bits.
14880 src/liblzma/lzma/lzma_decoder.c | 42 +++-------------
14881 src/liblzma/rangecoder/range_decoder.h | 87 +++++++++++++++++++++++-----------
14882 2 files changed, 66 insertions(+), 63 deletions(-)
14884 commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc
14885 Author: Lasse Collin <lasse.collin@tukaani.org>
14886 Date: 2007-12-14 11:15:21 +0200
14888 Added a note to README that --disable-assembler
14889 must be used on Darwin.
14892 1 file changed, 4 insertions(+)
14894 commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24
14895 Author: Lasse Collin <lasse.collin@tukaani.org>
14896 Date: 2007-12-14 10:07:10 +0200
14898 Use the filename suffix .S instead of .s for assembler files
14899 so that the preprocessor removes the /* */ style comments,
14900 which are not supported by some non-GNU assemblers (Solaris)
14901 that otherwise work with this code.
14903 src/liblzma/check/Makefile.am | 4 ++--
14904 src/liblzma/check/{crc32_x86.s => crc32_x86.S} | 0
14905 src/liblzma/check/{crc64_x86.s => crc64_x86.S} | 0
14906 3 files changed, 2 insertions(+), 2 deletions(-)
14908 commit ec1c82b2e82f395f6e8e19ac212a639644330cd7
14909 Author: Lasse Collin <lasse.collin@tukaani.org>
14910 Date: 2007-12-14 09:59:05 +0200
14912 Fixed wrong symbol name in crc64_x86.s.
14914 src/liblzma/check/crc64_x86.s | 2 +-
14915 1 file changed, 1 insertion(+), 1 deletion(-)
14917 commit 2881570df6803eed2fe550af34574e8e61794804
14918 Author: Lasse Collin <lasse.collin@tukaani.org>
14919 Date: 2007-12-14 09:53:24 +0200
14921 Use .globl instead of .global in x86 assembler code for
14922 better portability. Still needs fixing the commenting.
14924 src/liblzma/check/crc32_x86.s | 2 +-
14925 src/liblzma/check/crc64_x86.s | 2 +-
14926 2 files changed, 2 insertions(+), 2 deletions(-)
14928 commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66
14929 Author: Lasse Collin <lasse.collin@tukaani.org>
14930 Date: 2007-12-13 20:14:37 +0200
14932 Fixed a few short options that take an argument.
14933 short_opts[] was missing colons to indicate
14934 required argument. Thanks to Fabio Pedretti for
14937 src/lzma/args.c | 2 +-
14938 1 file changed, 1 insertion(+), 1 deletion(-)
14940 commit 918bcb0e0728d2d976621e9f35b56f224f11d989
14941 Author: Lasse Collin <lasse.collin@tukaani.org>
14942 Date: 2007-12-11 17:08:04 +0200
14944 Removed uncompressed size tracking from Delta encoder too.
14946 src/liblzma/common/delta_coder.c | 21 +++------------------
14947 1 file changed, 3 insertions(+), 18 deletions(-)
14949 commit 3e16d51dd645667b05ff826665b1fc353aa41cd9
14950 Author: Lasse Collin <lasse.collin@tukaani.org>
14951 Date: 2007-12-11 16:49:19 +0200
14953 Remove uncompressed size tracking from the filter encoders.
14954 It's not strictly needed there, and just complicates the
14955 code. LZ encoder never even had this feature.
14957 The primary reason to have uncompressed size tracking in
14958 filter encoders was validating that the application
14959 doesn't give different amount of input that it had
14960 promised. A side effect was to validate internal workings
14963 Uncompressed size tracking is still present in the Block
14964 encoder. Maybe it should be added to LZMA_Alone and raw
14965 encoders too. It's simpler to have one coder just to
14966 validate the uncompressed size instead of having it
14969 src/liblzma/common/copy_coder.c | 25 ++--------------------
14970 src/liblzma/simple/simple_coder.c | 29 ++++---------------------
14971 src/liblzma/subblock/subblock_encoder.c | 38 ++++++---------------------------
14972 3 files changed, 12 insertions(+), 80 deletions(-)
14974 commit 5286723e0d1ac386d5b07f08d78e61becf895a5a
14975 Author: Lasse Collin <lasse.collin@tukaani.org>
14976 Date: 2007-12-11 14:10:53 +0200
14978 Get rid of no-NLS gnulib. I don't know how to get it
14979 working with Automake. People who want smaller lzmadec
14980 should use --disable-nls on non-GNU systems.
14982 lib/Makefile.am | 10 +---------
14983 src/lzma/Makefile.am | 2 +-
14984 src/lzmadec/Makefile.am | 4 +++-
14985 3 files changed, 5 insertions(+), 11 deletions(-)
14987 commit ce8b036a6c7a43b290356b673d953f6d76b2be64
14988 Author: Lasse Collin <lasse.collin@tukaani.org>
14989 Date: 2007-12-11 14:09:35 +0200
14991 Fixed a typo in tests/Makefile.am which prevented
14992 building the tests if gnulib was needed.
14994 tests/Makefile.am | 2 +-
14995 1 file changed, 1 insertion(+), 1 deletion(-)
14997 commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4
14998 Author: Lasse Collin <lasse.collin@tukaani.org>
14999 Date: 2007-12-11 11:18:58 +0200
15001 Fixed wrong type of flags_size in Subblock encoder.
15003 src/liblzma/subblock/subblock_encoder.c | 2 +-
15004 1 file changed, 1 insertion(+), 1 deletion(-)
15006 commit ce64df716243fdc40359090d1f6541f3a4f5f21a
15007 Author: Lasse Collin <lasse.collin@tukaani.org>
15008 Date: 2007-12-10 20:44:16 +0200
15010 Bumped version number to 4.42.3alpha.
15012 configure.ac | 2 +-
15013 src/liblzma/api/lzma/version.h | 2 +-
15014 2 files changed, 2 insertions(+), 2 deletions(-)
15016 commit b499a0403ea5c41d6a25b40275eb6c57643052ce
15017 Author: Lasse Collin <lasse.collin@tukaani.org>
15018 Date: 2007-12-10 15:02:50 +0200
15020 Disabled some unneeded warnings and made "make dist" work.
15022 Makefile.am | 9 +++------
15023 configure.ac | 9 ++++++---
15024 po/fi.po | 47 ++++++++++++++++++++++++-----------------------
15025 3 files changed, 33 insertions(+), 32 deletions(-)
15027 commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172
15028 Author: Lasse Collin <lasse.collin@tukaani.org>
15029 Date: 2007-12-09 21:43:15 +0200
15031 Added LZMA_SYNC_FLUSH support to the Copy filter.
15033 src/liblzma/common/copy_coder.c | 92 +++++++++++++++++++++++++----------------
15034 1 file changed, 57 insertions(+), 35 deletions(-)
15036 commit 329c272d501e88793dda5540358d55c12428d194
15037 Author: Lasse Collin <lasse.collin@tukaani.org>
15038 Date: 2007-12-09 17:14:07 +0200
15040 Added missing LZMA_API to the C versions of the CRC functions.
15041 The x86 assembler versions were already OK.
15043 src/liblzma/check/crc32.c | 2 +-
15044 src/liblzma/check/crc64.c | 2 +-
15045 2 files changed, 2 insertions(+), 2 deletions(-)
15047 commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7
15048 Author: Jim Meyering <meyering@redhat.com>
15049 Date: 2007-12-09 15:34:25 +0100
15051 * tests/test_block_header.c (test3): Remove duplicate initializer.
15054 tests/test_block_header.c | 1 -
15055 2 files changed, 1 insertion(+), 2 deletions(-)
15057 commit 07ac881779a8477f2c1ab112b91a129e24aa743c
15058 Author: Lasse Collin <lasse.collin@tukaani.org>
15059 Date: 2007-12-09 17:06:45 +0200
15061 Take advantage of return_if_error() macro in more places.
15062 Cleaned Subblock filter's initialization code too.
15064 src/liblzma/common/block_decoder.c | 22 +++-------
15065 src/liblzma/common/delta_coder.c | 8 +---
15066 src/liblzma/common/stream_decoder.c | 17 +++-----
15067 src/liblzma/common/stream_encoder_multi.c | 68 ++++++++++--------------------
15068 src/liblzma/common/stream_encoder_single.c | 8 ++--
15069 src/liblzma/subblock/subblock_decoder.c | 33 +++++----------
15070 src/liblzma/subblock/subblock_encoder.c | 45 ++++++--------------
15071 7 files changed, 63 insertions(+), 138 deletions(-)
15073 commit 41338717964f510ee61d70b25bd4c502ec9f77cf
15074 Author: Lasse Collin <lasse.collin@tukaani.org>
15075 Date: 2007-12-09 12:13:01 +0200
15077 Added a bunch of .lzma test files.
15079 tests/files/bad-single-data_after_eopm.lzma | Bin 0 -> 55 bytes
15080 tests/files/bad-single-data_after_eopm_2.lzma | Bin 0 -> 56 bytes
15081 tests/files/bad-single-subblock_subblock.lzma | Bin 0 -> 26 bytes
15082 tests/files/good-cat-single-none-pad.lzma | Bin 0 -> 64 bytes
15083 tests/files/good-single-delta-lzma.tiff.lzma | Bin 0 -> 51409 bytes
15084 tests/files/good-single-lzma.lzma | Bin 0 -> 44 bytes
15085 tests/files/good-single-none-pad.lzma | Bin 0 -> 32 bytes
15086 tests/files/good-single-none.lzma | Bin 0 -> 30 bytes
15087 tests/files/good-single-subblock-lzma.lzma | Bin 0 -> 50 bytes
15088 tests/files/good-single-subblock_rle.lzma | Bin 0 -> 118 bytes
15089 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 0 -> 51 bytes
15090 tests/files/malicious-single-subblock-256MiB.lzma | Bin 0 -> 30 bytes
15091 tests/files/malicious-single-subblock-64PiB.lzma | Bin 0 -> 45 bytes
15092 tests/files/malicious-single-subblock-loop.lzma | Bin 0 -> 43 bytes
15093 tests/files/malicious-single-subblock-lzma.lzma | Bin 0 -> 505 bytes
15094 tests/files/malicious-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes
15095 tests/files/malicious-single-subblock31-slow.lzma | Bin 0 -> 1233 bytes
15096 17 files changed, 0 insertions(+), 0 deletions(-)
15098 commit ff946ceb7975d4f11950afd33f6315b4d20d1a03
15099 Author: Lasse Collin <lasse.collin@tukaani.org>
15100 Date: 2007-12-09 11:24:48 +0200
15102 Re-enabled the security checks in Subblock decoder
15103 that were disabled for debugging reasons.
15105 src/liblzma/subblock/subblock_decoder.c | 6 +++---
15106 1 file changed, 3 insertions(+), 3 deletions(-)
15108 commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1
15109 Author: Lasse Collin <lasse.collin@tukaani.org>
15110 Date: 2007-12-09 11:03:28 +0200
15112 Fixed the tests to build with -Werror.
15114 tests/test_block_header.c | 2 +-
15115 tests/test_check.c | 2 +-
15116 tests/test_filter_flags.c | 2 +-
15117 tests/test_index.c | 14 +++++++-------
15118 tests/test_info.c | 2 +-
15119 tests/test_stream_flags.c | 2 +-
15120 6 files changed, 12 insertions(+), 12 deletions(-)
15122 commit 5d018dc03549c1ee4958364712fb0c94e1bf2741
15123 Author: Lasse Collin <lasse.collin@tukaani.org>
15124 Date: 2007-12-09 00:42:33 +0200
15130 COPYING.GPLv2 | 339 +++++
15131 COPYING.GPLv3 | 674 +++++++++
15132 COPYING.LGPLv2.1 | 504 +++++++
15134 Doxyfile.in | 1229 ++++++++++++++++
15141 configure.ac | 611 ++++++++
15142 doc/bugs.txt | 46 +
15143 doc/faq.txt | 247 ++++
15144 doc/file-format.txt | 1861 ++++++++++++++++++++++++
15145 doc/history.txt | 140 ++
15146 doc/liblzma-advanced.txt | 324 +++++
15147 doc/liblzma-hacking.txt | 112 ++
15148 doc/liblzma-intro.txt | 188 +++
15149 doc/liblzma-security.txt | 219 +++
15150 doc/lzma-intro.txt | 107 ++
15151 extra/scanlzma/scanlzma.c | 85 ++
15152 lib/Makefile.am | 40 +
15153 lib/getopt.c | 1191 +++++++++++++++
15154 lib/getopt1.c | 171 +++
15155 lib/getopt_.h | 226 +++
15156 lib/getopt_int.h | 131 ++
15157 lib/gettext.h | 240 +++
15158 m4/acx_pthread.m4 | 279 ++++
15159 m4/getopt.m4 | 83 ++
15162 po/POTFILES.in | 13 +
15163 po/fi.po | 445 ++++++
15164 src/Makefile.am | 16 +
15165 src/common/open_stdxxx.h | 50 +
15166 src/common/physmem.h | 77 +
15167 src/common/sysdefs.h | 100 ++
15168 src/liblzma/Makefile.am | 47 +
15169 src/liblzma/api/Makefile.am | 39 +
15170 src/liblzma/api/lzma.h | 122 ++
15171 src/liblzma/api/lzma/alignment.h | 60 +
15172 src/liblzma/api/lzma/alone.h | 82 ++
15173 src/liblzma/api/lzma/auto.h | 41 +
15174 src/liblzma/api/lzma/base.h | 410 ++++++
15175 src/liblzma/api/lzma/block.h | 409 ++++++
15176 src/liblzma/api/lzma/check.h | 128 ++
15177 src/liblzma/api/lzma/copy.h | 29 +
15178 src/liblzma/api/lzma/delta.h | 49 +
15179 src/liblzma/api/lzma/extra.h | 114 ++
15180 src/liblzma/api/lzma/filter.h | 166 +++
15181 src/liblzma/api/lzma/index.h | 84 ++
15182 src/liblzma/api/lzma/info.h | 315 ++++
15183 src/liblzma/api/lzma/init.h | 85 ++
15184 src/liblzma/api/lzma/lzma.h | 312 ++++
15185 src/liblzma/api/lzma/memlimit.h | 157 ++
15186 src/liblzma/api/lzma/metadata.h | 100 ++
15187 src/liblzma/api/lzma/raw.h | 72 +
15188 src/liblzma/api/lzma/simple.h | 85 ++
15189 src/liblzma/api/lzma/stream.h | 178 +++
15190 src/liblzma/api/lzma/stream_flags.h | 142 ++
15191 src/liblzma/api/lzma/subblock.h | 197 +++
15192 src/liblzma/api/lzma/version.h | 59 +
15193 src/liblzma/api/lzma/vli.h | 244 ++++
15194 src/liblzma/check/Makefile.am | 64 +
15195 src/liblzma/check/check.c | 160 ++
15196 src/liblzma/check/check.h | 102 ++
15197 src/liblzma/check/check_byteswap.h | 43 +
15198 src/liblzma/check/check_init.c | 37 +
15199 src/liblzma/check/crc32.c | 88 ++
15200 src/liblzma/check/crc32_init.c | 58 +
15201 src/liblzma/check/crc32_table.c | 22 +
15202 src/liblzma/check/crc32_table_be.h | 527 +++++++
15203 src/liblzma/check/crc32_table_le.h | 527 +++++++
15204 src/liblzma/check/crc32_tablegen.c | 55 +
15205 src/liblzma/check/crc32_x86.s | 217 +++
15206 src/liblzma/check/crc64.c | 75 +
15207 src/liblzma/check/crc64_init.c | 58 +
15208 src/liblzma/check/crc64_table.c | 22 +
15209 src/liblzma/check/crc64_table_be.h | 523 +++++++
15210 src/liblzma/check/crc64_table_le.h | 523 +++++++
15211 src/liblzma/check/crc64_tablegen.c | 56 +
15212 src/liblzma/check/crc64_x86.s | 203 +++
15213 src/liblzma/check/crc_macros.h | 33 +
15214 src/liblzma/check/sha256.c | 203 +++
15215 src/liblzma/common/Makefile.am | 94 ++
15216 src/liblzma/common/alignment.c | 118 ++
15217 src/liblzma/common/allocator.c | 57 +
15218 src/liblzma/common/alone_decoder.c | 197 +++
15219 src/liblzma/common/alone_decoder.h | 24 +
15220 src/liblzma/common/alone_encoder.c | 167 +++
15221 src/liblzma/common/auto_decoder.c | 113 ++
15222 src/liblzma/common/block_decoder.c | 405 ++++++
15223 src/liblzma/common/block_decoder.h | 29 +
15224 src/liblzma/common/block_encoder.c | 375 +++++
15225 src/liblzma/common/block_encoder.h | 29 +
15226 src/liblzma/common/block_header_decoder.c | 373 +++++
15227 src/liblzma/common/block_header_encoder.c | 211 +++
15228 src/liblzma/common/block_private.h | 46 +
15229 src/liblzma/common/chunk_size.c | 74 +
15230 src/liblzma/common/code.c | 203 +++
15231 src/liblzma/common/common.h | 271 ++++
15232 src/liblzma/common/copy_coder.c | 143 ++
15233 src/liblzma/common/copy_coder.h | 31 +
15234 src/liblzma/common/delta_coder.c | 210 +++
15235 src/liblzma/common/delta_coder.h | 31 +
15236 src/liblzma/common/extra.c | 33 +
15237 src/liblzma/common/features.c | 70 +
15238 src/liblzma/common/filter_flags_decoder.c | 382 +++++
15239 src/liblzma/common/filter_flags_encoder.c | 359 +++++
15240 src/liblzma/common/index.c | 140 ++
15241 src/liblzma/common/info.c | 823 +++++++++++
15242 src/liblzma/common/init.c | 39 +
15243 src/liblzma/common/init_decoder.c | 33 +
15244 src/liblzma/common/init_encoder.c | 44 +
15245 src/liblzma/common/memory_limitter.c | 200 +++
15246 src/liblzma/common/memory_usage.c | 113 ++
15247 src/liblzma/common/metadata_decoder.c | 555 +++++++
15248 src/liblzma/common/metadata_decoder.h | 31 +
15249 src/liblzma/common/metadata_encoder.c | 436 ++++++
15250 src/liblzma/common/metadata_encoder.h | 30 +
15251 src/liblzma/common/next_coder.c | 65 +
15252 src/liblzma/common/raw_common.c | 175 +++
15253 src/liblzma/common/raw_common.h | 31 +
15254 src/liblzma/common/raw_decoder.c | 127 ++
15255 src/liblzma/common/raw_decoder.h | 30 +
15256 src/liblzma/common/raw_encoder.c | 124 ++
15257 src/liblzma/common/raw_encoder.h | 30 +
15258 src/liblzma/common/stream_common.c | 23 +
15259 src/liblzma/common/stream_common.h | 28 +
15260 src/liblzma/common/stream_decoder.c | 454 ++++++
15261 src/liblzma/common/stream_encoder_multi.c | 460 ++++++
15262 src/liblzma/common/stream_encoder_single.c | 220 +++
15263 src/liblzma/common/stream_flags_decoder.c | 258 ++++
15264 src/liblzma/common/stream_flags_decoder.h | 31 +
15265 src/liblzma/common/stream_flags_encoder.c | 75 +
15266 src/liblzma/common/sysdefs.h | 1 +
15267 src/liblzma/common/version.c | 25 +
15268 src/liblzma/common/vli_decoder.c | 69 +
15269 src/liblzma/common/vli_encoder.c | 81 ++
15270 src/liblzma/common/vli_reverse_decoder.c | 55 +
15271 src/liblzma/lz/Makefile.am | 63 +
15272 src/liblzma/lz/bt2.c | 27 +
15273 src/liblzma/lz/bt2.h | 31 +
15274 src/liblzma/lz/bt3.c | 29 +
15275 src/liblzma/lz/bt3.h | 31 +
15276 src/liblzma/lz/bt4.c | 30 +
15277 src/liblzma/lz/bt4.h | 31 +
15278 src/liblzma/lz/hc3.c | 30 +
15279 src/liblzma/lz/hc3.h | 31 +
15280 src/liblzma/lz/hc4.c | 31 +
15281 src/liblzma/lz/hc4.h | 31 +
15282 src/liblzma/lz/lz_decoder.c | 462 ++++++
15283 src/liblzma/lz/lz_decoder.h | 214 +++
15284 src/liblzma/lz/lz_encoder.c | 481 ++++++
15285 src/liblzma/lz/lz_encoder.h | 161 ++
15286 src/liblzma/lz/lz_encoder_private.h | 40 +
15287 src/liblzma/lz/match_c.h | 401 +++++
15288 src/liblzma/lz/match_h.h | 69 +
15289 src/liblzma/lzma.pc.in | 11 +
15290 src/liblzma/lzma/Makefile.am | 43 +
15291 src/liblzma/lzma/lzma_common.h | 128 ++
15292 src/liblzma/lzma/lzma_decoder.c | 844 +++++++++++
15293 src/liblzma/lzma/lzma_decoder.h | 41 +
15294 src/liblzma/lzma/lzma_encoder.c | 413 ++++++
15295 src/liblzma/lzma/lzma_encoder.h | 35 +
15296 src/liblzma/lzma/lzma_encoder_features.c | 59 +
15297 src/liblzma/lzma/lzma_encoder_getoptimum.c | 893 ++++++++++++
15298 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 +++
15299 src/liblzma/lzma/lzma_encoder_init.c | 245 ++++
15300 src/liblzma/lzma/lzma_encoder_presets.c | 34 +
15301 src/liblzma/lzma/lzma_encoder_private.h | 225 +++
15302 src/liblzma/lzma/lzma_literal.c | 74 +
15303 src/liblzma/lzma/lzma_literal.h | 74 +
15304 src/liblzma/rangecoder/Makefile.am | 28 +
15305 src/liblzma/rangecoder/range_common.h | 68 +
15306 src/liblzma/rangecoder/range_decoder.h | 189 +++
15307 src/liblzma/rangecoder/range_encoder.c | 46 +
15308 src/liblzma/rangecoder/range_encoder.h | 317 ++++
15309 src/liblzma/simple/Makefile.am | 46 +
15310 src/liblzma/simple/arm.c | 76 +
15311 src/liblzma/simple/armthumb.c | 81 ++
15312 src/liblzma/simple/ia64.c | 117 ++
15313 src/liblzma/simple/powerpc.c | 80 +
15314 src/liblzma/simple/simple_coder.c | 306 ++++
15315 src/liblzma/simple/simple_coder.h | 68 +
15316 src/liblzma/simple/simple_private.h | 86 ++
15317 src/liblzma/simple/sparc.c | 88 ++
15318 src/liblzma/simple/x86.c | 161 ++
15319 src/liblzma/subblock/Makefile.am | 33 +
15320 src/liblzma/subblock/subblock_decoder.c | 681 +++++++++
15321 src/liblzma/subblock/subblock_decoder.h | 29 +
15322 src/liblzma/subblock/subblock_decoder_helper.c | 80 +
15323 src/liblzma/subblock/subblock_decoder_helper.h | 36 +
15324 src/liblzma/subblock/subblock_encoder.c | 841 +++++++++++
15325 src/liblzma/subblock/subblock_encoder.h | 28 +
15326 src/lzma/Makefile.am | 63 +
15327 src/lzma/alloc.c | 106 ++
15328 src/lzma/alloc.h | 42 +
15329 src/lzma/args.c | 566 +++++++
15330 src/lzma/args.h | 64 +
15331 src/lzma/error.c | 156 ++
15332 src/lzma/error.h | 67 +
15333 src/lzma/hardware.c | 99 ++
15334 src/lzma/hardware.h | 31 +
15335 src/lzma/help.c | 178 +++
15336 src/lzma/help.h | 32 +
15337 src/lzma/io.c | 664 +++++++++
15338 src/lzma/io.h | 60 +
15339 src/lzma/list.c | 477 ++++++
15340 src/lzma/main.c | 254 ++++
15341 src/lzma/options.c | 346 +++++
15342 src/lzma/options.h | 46 +
15343 src/lzma/private.h | 55 +
15344 src/lzma/process.c | 458 ++++++
15345 src/lzma/process.h | 30 +
15346 src/lzma/suffix.c | 145 ++
15347 src/lzma/suffix.h | 25 +
15348 src/lzma/util.c | 182 +++
15349 src/lzma/util.h | 32 +
15350 src/lzmadec/Makefile.am | 27 +
15351 src/lzmadec/lzmadec.c | 515 +++++++
15352 src/scripts/Makefile.am | 24 +
15353 src/scripts/lzdiff | 67 +
15354 src/scripts/lzdiff.1 | 51 +
15355 src/scripts/lzgrep | 123 ++
15356 src/scripts/lzgrep.1 | 61 +
15357 src/scripts/lzmore | 74 +
15358 src/scripts/lzmore.1 | 55 +
15359 tests/Makefile.am | 43 +
15360 tests/test_block.c | 59 +
15361 tests/test_block_header.c | 352 +++++
15362 tests/test_check.c | 90 ++
15363 tests/test_filter_flags.c | 326 +++++
15364 tests/test_index.c | 43 +
15365 tests/test_info.c | 717 +++++++++
15366 tests/test_stream_flags.c | 191 +++
15367 tests/tests.h | 148 ++
15368 240 files changed, 42513 insertions(+)