1 commit e32cb264ea72a4459810f30abad70dae5a4fa17d
2 Author: Lasse Collin <lasse.collin@tukaani.org>
3 Date: 2011-05-21 16:59:22 +0300
5 Bump version and soname for 5.0.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 65cff45f8fd1c250491557157cce0f5f38481082
12 Author: Lasse Collin <lasse.collin@tukaani.org>
13 Date: 2011-05-21 16:56:53 +0300
15 Update NEWS for 5.0.3.
17 NEWS | 36 ++++++++++++++++++++++++++++++++++--
18 1 files changed, 34 insertions(+), 2 deletions(-)
20 commit 316c67ffdae1f811ac95e838d5290a013bff4ca7
21 Author: Lasse Collin <lasse.collin@tukaani.org>
22 Date: 2011-05-21 16:28:44 +0300
24 Add French translation.
26 It is known that the BCJ filter --help text is only
30 po/fr.po | 864 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31 2 files changed, 865 insertions(+), 0 deletions(-)
33 commit 1931175eea6d09c0845d6e8e334a7333647f11c0
34 Author: Lasse Collin <lasse.collin@tukaani.org>
35 Date: 2011-05-21 15:12:10 +0300
37 xz: Translate also the string used to print the program name.
39 French needs a space before a colon, e.g. "xz : foo error".
41 src/xz/message.c | 6 +++++-
42 1 files changed, 5 insertions(+), 1 deletions(-)
44 commit 841dc1f891b48b23f84c0f0e0c86c7c4e4bdcdf5
45 Author: Lasse Collin <lasse.collin@tukaani.org>
46 Date: 2011-05-17 12:26:28 +0300
51 1 files changed, 3 insertions(+), 0 deletions(-)
53 commit 0f7e2d36240ebf1159d5fb85d8cd7422337a0d3f
54 Author: Lasse Collin <lasse.collin@tukaani.org>
55 Date: 2011-05-17 12:21:33 +0300
57 Update INSTALL with a note about linker problem on OpenSolaris x86.
59 INSTALL | 23 +++++++++++++++++------
60 1 files changed, 17 insertions(+), 6 deletions(-)
62 commit 793d857e01e1725f16fc0c8af8172c91a9e38617
63 Author: Lasse Collin <lasse.collin@tukaani.org>
64 Date: 2011-05-17 12:01:37 +0300
66 Build: Fix initialization of enable_check_* variables in configure.ac.
68 This doesn't matter much in practice since it is unlikely
69 that anyone would have such environment variable names.
74 1 files changed, 1 insertions(+), 1 deletions(-)
76 commit afcff45cee04c5c7d9c333504046ffb63d1418b5
77 Author: Lasse Collin <lasse.collin@tukaani.org>
78 Date: 2011-05-17 11:54:38 +0300
80 Add underscores to attributes (__attribute((__foo__))).
82 src/liblzma/common/alone_decoder.c | 2 +-
83 src/liblzma/common/alone_encoder.c | 2 +-
84 src/liblzma/common/block_encoder.c | 2 +-
85 src/liblzma/common/common.c | 2 +-
86 src/liblzma/common/common.h | 2 +-
87 src/liblzma/common/index_decoder.c | 9 +++++----
88 src/liblzma/common/index_encoder.c | 11 ++++++-----
89 src/liblzma/delta/delta_encoder.c | 2 +-
90 src/liblzma/lz/lz_decoder.c | 2 +-
91 src/liblzma/lz/lz_encoder.c | 2 +-
92 src/liblzma/simple/arm.c | 2 +-
93 src/liblzma/simple/armthumb.c | 2 +-
94 src/liblzma/simple/ia64.c | 2 +-
95 src/liblzma/simple/powerpc.c | 2 +-
96 src/liblzma/simple/simple_coder.c | 2 +-
97 src/liblzma/simple/sparc.c | 2 +-
98 src/lzmainfo/lzmainfo.c | 4 ++--
100 src/xz/hardware.h | 2 +-
101 src/xz/message.c | 2 +-
102 src/xz/message.h | 18 +++++++++---------
103 src/xz/options.c | 6 +++---
104 src/xz/signals.c | 2 +-
105 src/xz/util.h | 6 +++---
106 src/xzdec/xzdec.c | 6 +++---
107 25 files changed, 49 insertions(+), 47 deletions(-)
109 commit 22159c6ba2300a006f2e46ce85ae132e2d2f7d57
110 Author: Lasse Collin <lasse.collin@tukaani.org>
111 Date: 2011-04-18 19:35:49 +0300
116 1 files changed, 2 insertions(+), 0 deletions(-)
118 commit 5e3499059515033d1ce44b6fb0fa49183c7ac633
119 Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
120 Date: 2011-04-15 04:54:49 -0400
122 xzgrep: fix typo in $0 parsing
124 Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org>
125 Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
126 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
128 src/scripts/xzgrep.in | 4 ++--
129 1 files changed, 2 insertions(+), 2 deletions(-)
131 commit 1125611b9b8d4a209b6a73d2c76e1b39c065972a
132 Author: Lasse Collin <lasse.collin@tukaani.org>
133 Date: 2011-04-12 11:59:49 +0300
135 Remove doubled words from documentation and comments.
137 Spot candidates by running these commands:
138 git ls-files |xargs perl -0777 -n \
139 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \
140 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}'
142 Thanks to Jim Meyering for the original patch.
144 doc/lzma-file-format.txt | 4 ++--
145 src/liblzma/common/alone_encoder.c | 2 +-
146 src/liblzma/lzma/lzma2_encoder.c | 2 +-
147 src/xz/file_io.c | 2 +-
149 windows/INSTALL-Windows.txt | 2 +-
150 6 files changed, 7 insertions(+), 7 deletions(-)
152 commit 3f8fa53837bae8b44f3addf19923e26401336c3d
153 Author: Lasse Collin <lasse.collin@tukaani.org>
154 Date: 2011-04-11 21:04:13 +0300
156 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too.
158 src/liblzma/api/lzma/container.h | 9 +++++++++
159 1 files changed, 9 insertions(+), 0 deletions(-)
161 commit 320d734c20d0776e3eb80f6b5984ddeb494715b5
162 Author: Lasse Collin <lasse.collin@tukaani.org>
163 Date: 2011-04-11 20:59:07 +0300
165 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better.
167 It didn't mention the return value that is used if
170 src/liblzma/api/lzma/filter.h | 8 ++++++--
171 1 files changed, 6 insertions(+), 2 deletions(-)
173 commit 2ee4edeffc8d9734bf68230df31b20ac6a94c9b5
174 Author: Lasse Collin <lasse.collin@tukaani.org>
175 Date: 2011-04-11 13:59:50 +0300
177 liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
179 Empty Block was created if the input buffer was empty.
180 Empty Block wastes a few bytes of space, but more importantly
181 it triggers a bug in XZ Utils 5.0.1 and older when trying
182 to decompress such a file. 5.0.1 and older consider such
183 files to be corrupt. I thought that no encoder creates empty
184 Blocks when releasing 5.0.2 but I was wrong.
186 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++-------
187 1 files changed, 13 insertions(+), 7 deletions(-)
189 commit 73f56fb87d54091d0c4fd22d70e6f042902e3b63
190 Author: Lasse Collin <lasse.collin@tukaani.org>
191 Date: 2011-04-11 13:28:40 +0300
193 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK.
195 This return value was missing from the API comments of
198 src/liblzma/api/lzma/block.h | 1 +
199 src/liblzma/api/lzma/container.h | 3 +++
200 2 files changed, 4 insertions(+), 0 deletions(-)
202 commit 4ce1cf97a88ae1640a380dd19cbc255d729f966b
203 Author: Lasse Collin <lasse.collin@tukaani.org>
204 Date: 2011-04-11 13:21:28 +0300
206 liblzma: Validate encoder arguments better.
208 The biggest problem was that the integrity check type
209 wasn't validated, and e.g. lzma_easy_buffer_encode()
210 would create a corrupt .xz Stream if given an unsupported
211 Check ID. Luckily applications don't usually try to use
212 an unsupport Check ID, so this bug is unlikely to cause
213 many real-world problems.
215 src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------
216 src/liblzma/common/block_encoder.c | 5 +++++
217 src/liblzma/common/stream_buffer_encoder.c | 3 +++
218 3 files changed, 20 insertions(+), 6 deletions(-)
220 commit 972f05d7a4268dbe42573701f83faa45d03249eb
221 Author: Lasse Collin <lasse.collin@tukaani.org>
222 Date: 2011-04-09 18:29:30 +0300
227 1 files changed, 1 insertions(+), 0 deletions(-)
229 commit 28154eeaf6e3442cd1e174f4e81266d60c4dac60
230 Author: Lasse Collin <lasse.collin@tukaani.org>
231 Date: 2011-04-09 18:28:58 +0300
233 liblzma: Add missing #ifdefs to filter_common.c.
235 Passing --disable-decoders to configure broke a few
236 encoders due to missing #ifdefs in filter_common.c.
238 Thanks to Jason Gorski for the patch.
240 src/liblzma/common/filter_common.c | 6 +++---
241 1 files changed, 3 insertions(+), 3 deletions(-)
243 commit aa95516d3d509c6b7895ee519004afcf500a0759
244 Author: Lasse Collin <lasse.collin@tukaani.org>
245 Date: 2011-04-02 14:49:56 +0300
247 liblzma: Fix a memory leak in stream_encoder.c.
249 It leaks old filter options structures (hundred bytes or so)
250 every time the lzma_stream is reinitialized. With the xz tool,
251 this happens when compressing multiple files.
253 src/liblzma/common/stream_encoder.c | 2 +-
254 1 files changed, 1 insertions(+), 1 deletions(-)
256 commit 58f52c72f49562a08042da9a2f4bbdf4dd162d0c
257 Author: Lasse Collin <lasse.collin@tukaani.org>
258 Date: 2011-04-01 08:47:46 +0300
260 Bumped version and liblzma soname to 5.0.2.
262 src/liblzma/Makefile.am | 2 +-
263 src/liblzma/api/lzma/version.h | 2 +-
264 2 files changed, 2 insertions(+), 2 deletions(-)
266 commit 162779682e01d15f0ce386ef7f40d1be05ad0053
267 Author: Lasse Collin <lasse.collin@tukaani.org>
268 Date: 2011-04-01 08:47:20 +0300
270 Updated NEWS for 5.0.2.
272 NEWS | 18 ++++++++++++++++++
273 1 files changed, 18 insertions(+), 0 deletions(-)
275 commit 45553f9b4b0175c292023010dc41520347004852
276 Author: Lasse Collin <lasse.collin@tukaani.org>
277 Date: 2011-03-31 15:06:58 +0300
279 Update INSTALL with another note about IRIX.
282 1 files changed, 4 insertions(+), 0 deletions(-)
284 commit af9d48d5515eadef689b1ce9ffb91e4dbcbc7f35
285 Author: Lasse Collin <lasse.collin@tukaani.org>
286 Date: 2011-03-31 12:22:55 +0300
288 Tests: Add a new file to test empty LZMA2 streams.
290 tests/files/README | 4 ++++
291 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes
292 2 files changed, 4 insertions(+), 0 deletions(-)
294 commit d099ef9f517b59ab8e3b6f6aa0543c3643983470
295 Author: Lasse Collin <lasse.collin@tukaani.org>
296 Date: 2011-03-31 11:54:48 +0300
298 liblzma: Fix decoding of LZMA2 streams having no uncompressed data.
300 The decoder considered empty LZMA2 streams to be corrupt.
301 This shouldn't matter much with .xz files, because no encoder
302 creates empty LZMA2 streams in .xz. This bug is more likely
303 to cause problems in applications that use raw LZMA2 streams.
305 src/liblzma/lzma/lzma2_decoder.c | 8 ++++----
306 1 files changed, 4 insertions(+), 4 deletions(-)
308 commit df87249b26e79a75fd91041e85512944fc247b57
309 Author: Lasse Collin <lasse.collin@tukaani.org>
310 Date: 2011-03-24 01:42:49 +0200
312 Scripts: Better fix for xzgrep.
314 Now it uses "grep -q".
316 Thanks to Gregory Margo.
318 src/scripts/xzgrep.in | 8 ++++++--
319 1 files changed, 6 insertions(+), 2 deletions(-)
321 commit 68c453e1c7b09dc9c7d2ef9d994c46f5b367f5d3
322 Author: Lasse Collin <lasse.collin@tukaani.org>
323 Date: 2011-03-24 01:22:18 +0200
328 1 files changed, 1 insertions(+), 0 deletions(-)
330 commit b441d39855516ae618faffd5156261b8b413394f
331 Author: Lasse Collin <lasse.collin@tukaani.org>
332 Date: 2011-03-24 01:21:32 +0200
334 Scripts: Fix xzgrep -l.
336 It didn't work at all. It tried to use the -q option
337 for grep, but it appended it after "--". This works
338 around it by redirecting to /dev/null. The downside
339 is that this can be slower with big files compared
340 to proper use of "grep -q".
342 Thanks to Gregory Margo.
344 src/scripts/xzgrep.in | 4 ++--
345 1 files changed, 2 insertions(+), 2 deletions(-)
347 commit 82d5164839517f55daeadd9ee88c76425db30224
348 Author: Lasse Collin <lasse.collin@tukaani.org>
349 Date: 2011-02-04 22:49:31 +0200
351 xz: Clean up suffix.c.
353 struct suffix_pair isn't needed in compresed_name()
354 so get rid of it there.
356 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------
357 1 files changed, 20 insertions(+), 24 deletions(-)
359 commit 6decc8b41882c2250f0450eb87b83c9fbf495e95
360 Author: Lasse Collin <lasse.collin@tukaani.org>
361 Date: 2011-02-04 11:29:47 +0200
363 xz: Check if the file already has custom suffix when compressing.
365 Now "xz -S .test foo.test" refuses to compress the
366 file because it already has the suffix .test. The man
367 page had it documented this way already.
369 src/xz/suffix.c | 9 +++++++++
370 1 files changed, 9 insertions(+), 0 deletions(-)
372 commit ecda90061df8d39399e707e5c76c2ec0a0f400e5
373 Author: Lasse Collin <lasse.collin@tukaani.org>
374 Date: 2011-02-02 23:01:51 +0200
379 1 files changed, 1 insertions(+), 0 deletions(-)
381 commit 0fda1ae5b1aa0a5c629a09e5228db8ba1cd0dd5f
382 Author: Lasse Collin <lasse.collin@tukaani.org>
383 Date: 2011-02-02 23:00:33 +0200
385 Translations: Add Polish translation.
387 Thanks to Jakub Bogusz.
390 po/pl.po | 825 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
391 2 files changed, 826 insertions(+), 0 deletions(-)
393 commit 00be32978fedc5038748438bf685ac1713d1db83
394 Author: Lasse Collin <lasse.collin@tukaani.org>
395 Date: 2011-02-02 22:24:00 +0200
400 1 files changed, 1 insertions(+), 0 deletions(-)
402 commit 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004
403 Author: Lasse Collin <lasse.collin@tukaani.org>
404 Date: 2011-01-28 20:26:38 +0200
406 Bump package version and liblzma soname to 5.0.1.
408 src/liblzma/Makefile.am | 2 +-
409 src/liblzma/api/lzma/version.h | 2 +-
410 2 files changed, 2 insertions(+), 2 deletions(-)
412 commit 5fbce0b8d96dc96775aa0215e3581addc830e23d
413 Author: Lasse Collin <lasse.collin@tukaani.org>
414 Date: 2011-01-28 20:16:57 +0200
416 Update NEWS for 5.0.1.
418 NEWS | 14 ++++++++++++++
419 1 files changed, 14 insertions(+), 0 deletions(-)
421 commit 03ebd1bbb314f9f204940219a835c883bf442475
422 Author: Lasse Collin <lasse.collin@tukaani.org>
423 Date: 2011-01-26 12:19:08 +0200
425 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files.
427 xz didn't compress setuid/setgid/sticky files and files
428 with multiple hard links even with --force. This bug was
429 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4.
431 Thanks to Charles Wilson.
433 src/xz/file_io.c | 15 +++++++--------
434 1 files changed, 7 insertions(+), 8 deletions(-)
436 commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136
437 Author: Lasse Collin <lasse.collin@tukaani.org>
438 Date: 2011-01-18 21:25:24 +0200
443 1 files changed, 1 insertions(+), 0 deletions(-)
445 commit f71c4e16e913f660977526f0ef8d2acdf458d7c9
446 Author: Lasse Collin <lasse.collin@tukaani.org>
447 Date: 2011-01-18 21:23:50 +0200
449 Add alloc_size and malloc attributes to a few functions.
451 Thanks to Cristian Rodríguez for the original patch.
453 src/common/sysdefs.h | 6 ++++++
454 src/liblzma/common/common.h | 2 +-
455 src/xz/util.h | 5 +++--
456 3 files changed, 10 insertions(+), 3 deletions(-)
458 commit 316cbe24465143edde8f6ffb7532834b7b2ea93f
459 Author: Lasse Collin <lasse.collin@tukaani.org>
460 Date: 2010-12-13 16:36:33 +0200
462 Scripts: Fix gzip and bzip2 support in xzdiff.
464 src/scripts/xzdiff.in | 12 ++++++------
465 1 files changed, 6 insertions(+), 6 deletions(-)
467 commit 9311774c493c19deab51ded919dcd2e9c4aa2829
468 Author: Lasse Collin <lasse.collin@tukaani.org>
469 Date: 2010-12-12 21:23:55 +0200
471 Build: Enable ASM on DJGPP by default.
474 1 files changed, 1 insertions(+), 1 deletions(-)
476 commit 4a42aaee282fc73b482581684d65110506d5efdd
477 Author: Lasse Collin <lasse.collin@tukaani.org>
478 Date: 2010-12-12 16:09:42 +0200
483 1 files changed, 1 insertions(+), 0 deletions(-)
485 commit ce56f63c41ee210e6308090eb6d49221fdf67d6c
486 Author: Lasse Collin <lasse.collin@tukaani.org>
487 Date: 2010-12-12 16:07:11 +0200
489 Add missing PRIx32 and PRIx64 compatibility definitions.
491 This fixes portability to systems that lack C99 inttypes.h.
493 Thanks to Juan Manuel Guerrero.
495 src/common/sysdefs.h | 9 +++++++++
496 1 files changed, 9 insertions(+), 0 deletions(-)
498 commit e6baedddcf54e7da049ebc49183565b99facd4c7
499 Author: Lasse Collin <lasse.collin@tukaani.org>
500 Date: 2010-12-12 14:50:04 +0200
502 DOS-like: Treat \ and : as directory separators in addition to /.
504 Juan Manuel Guerrero had fixed this in his XZ Utils port
505 to DOS/DJGPP. The bug affects also Windows and OS/2.
507 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++----
508 1 files changed, 29 insertions(+), 4 deletions(-)
510 commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f
511 Author: Lasse Collin <lasse.collin@tukaani.org>
512 Date: 2010-12-07 18:52:04 +0200
514 Translations: Fix Czech translation of "sparse file".
516 Thanks to Petr Hubený and Marek Černocký.
518 po/cs.po | 88 +++++++++++++++++++++++++++++++-------------------------------
519 1 files changed, 44 insertions(+), 44 deletions(-)
521 commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e
522 Author: Lasse Collin <lasse.collin@tukaani.org>
523 Date: 2010-11-15 14:28:26 +0200
525 liblzma: Document the return value of lzma_lzma_preset().
527 src/liblzma/api/lzma/lzma.h | 3 +++
528 1 files changed, 3 insertions(+), 0 deletions(-)
530 commit 2964d8d691ed92abdcf214888d79ad6d79774735
531 Author: Jonathan Nieder <jrnieder@gmail.com>
532 Date: 2010-11-12 15:22:13 -0600
534 Simplify paths in generated API docs
536 Currently the file list generated by Doxygen has src/ at the
537 beginning of each path. Paths like common/sysdefs.h and
538 liblzma/api/lzma.h are easier to read without such a prefix.
540 Builds from a separate build directory with
547 include an even longer prefix /home/someone/src/xz/src; this
548 patch has the nice side-effect of eliminating that prefix, too.
550 Fixes: http://bugs.debian.org/572273
553 1 files changed, 1 insertions(+), 1 deletions(-)
555 commit 37c25658efd25b034266daf87cd381d20d1df776
556 Author: Lasse Collin <lasse.collin@tukaani.org>
557 Date: 2010-10-26 15:48:48 +0300
559 Build: Copy the example programs to $docdir/examples.
561 The example programs by Daniel Mealha Cabrita were included
562 in the git repository, but I had forgot to add them to
563 Makefile.am. Thus, they didn't get included in the source
564 package at all by "make dist".
566 Makefile.am | 5 +++++
567 windows/build.bash | 3 ++-
568 2 files changed, 7 insertions(+), 1 deletions(-)
570 commit e45929260cd902036efd40c5610a8d0a50d5712b
571 Author: Lasse Collin <lasse.collin@tukaani.org>
572 Date: 2010-10-23 17:25:52 +0300
574 Build: Fix mydist rule when .git doesn't exist.
577 1 files changed, 1 insertions(+), 0 deletions(-)
579 commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168
580 Author: Lasse Collin <lasse.collin@tukaani.org>
581 Date: 2010-10-23 14:15:35 +0300
585 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
586 1 files changed, 62 insertions(+), 0 deletions(-)
588 commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c
589 Author: Lasse Collin <lasse.collin@tukaani.org>
590 Date: 2010-10-23 14:02:53 +0300
592 Bump version to 5.0.0 and liblzma version-info to 5:0:0.
594 src/liblzma/Makefile.am | 2 +-
595 src/liblzma/api/lzma/version.h | 8 ++++----
596 2 files changed, 5 insertions(+), 5 deletions(-)
598 commit 8c947e9291691629714dafb4536c718b6cc24fbd
599 Author: Lasse Collin <lasse.collin@tukaani.org>
600 Date: 2010-10-23 12:30:54 +0300
602 liblzma: Make lzma_code() check the reserved members in lzma_stream.
604 If any of the reserved members in lzma_stream are non-zero
605 or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible
606 that a new feature in the future is indicated by just setting
607 a reserved member to some other value, so the old liblzma
608 version need to catch it as an unsupported feature.
610 src/liblzma/common/common.c | 14 ++++++++++++++
611 1 files changed, 14 insertions(+), 0 deletions(-)
613 commit e61d85e082743ebd2dd0ff28fc0a82482ede0538
614 Author: Lasse Collin <lasse.collin@tukaani.org>
615 Date: 2010-10-23 12:26:33 +0300
617 Windows: Use MinGW's stdio functions.
619 The non-standard ones from msvcrt.dll appear to work
620 most of the time with XZ Utils, but there are some
621 corner cases where things may go very wrong. So it's
622 good to use the better replacements provided by
625 src/common/sysdefs.h | 5 +++++
626 1 files changed, 5 insertions(+), 0 deletions(-)
628 commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc
629 Author: Lasse Collin <lasse.collin@tukaani.org>
630 Date: 2010-10-23 12:21:32 +0300
632 liblzma: Use 512 as INDEX_GROUP_SIZE.
634 This lets compiler use shifting instead of 64-bit division.
636 src/liblzma/common/index.c | 2 +-
637 1 files changed, 1 insertions(+), 1 deletions(-)
639 commit 613939fc82603b75b59eee840871a05bc8dd08e0
640 Author: Lasse Collin <lasse.collin@tukaani.org>
641 Date: 2010-10-23 12:20:11 +0300
643 liblzma: A few ABI tweaks to reserve space in structures.
645 src/liblzma/api/lzma/base.h | 7 ++++++-
646 src/liblzma/api/lzma/lzma.h | 4 ++--
647 src/liblzma/api/lzma/stream_flags.h | 4 ----
648 3 files changed, 8 insertions(+), 7 deletions(-)
650 commit 68b83f252df3d27480a9f6f03445d16f6506fef1
651 Author: Lasse Collin <lasse.collin@tukaani.org>
652 Date: 2010-10-21 23:16:11 +0300
654 xz: Make sure that message_strm() can never return NULL.
656 src/xz/message.c | 7 +++++--
657 1 files changed, 5 insertions(+), 2 deletions(-)
659 commit d09c5753e33ff96ee57edb6d1e98e34041203695
660 Author: Lasse Collin <lasse.collin@tukaani.org>
661 Date: 2010-10-21 23:06:31 +0300
663 liblzma: Update the comments in the API headers.
665 Adding support for LZMA_FINISH for Index encoding and
666 decoding needed tiny additions to the relevant .c files too.
668 src/liblzma/api/lzma.h | 4 +-
669 src/liblzma/api/lzma/base.h | 38 +++++++++++++-------------
670 src/liblzma/api/lzma/bcj.h | 4 +-
671 src/liblzma/api/lzma/block.h | 4 +-
672 src/liblzma/api/lzma/container.h | 26 +++++++++++------
673 src/liblzma/api/lzma/filter.h | 51 +++++++++++++++++------------------
674 src/liblzma/api/lzma/hardware.h | 3 +-
675 src/liblzma/api/lzma/index.h | 28 +++++++++++-------
676 src/liblzma/api/lzma/index_hash.h | 2 +-
677 src/liblzma/api/lzma/lzma.h | 46 +++++++++++++++++++++----------
678 src/liblzma/api/lzma/stream_flags.h | 4 +-
679 src/liblzma/api/lzma/vli.h | 31 ++++++++++-----------
680 src/liblzma/common/index_decoder.c | 1 +
681 src/liblzma/common/index_encoder.c | 1 +
682 14 files changed, 136 insertions(+), 107 deletions(-)
684 commit 33c1c0e102eb529588503b8beea0903a45488fad
685 Author: Lasse Collin <lasse.collin@tukaani.org>
686 Date: 2010-10-19 12:08:30 +0300
688 Update INSTALL.generic.
690 INSTALL.generic | 99 +++++++++++++++++++++++++++++++++++++++++++++----------
691 1 files changed, 81 insertions(+), 18 deletions(-)
693 commit 0076e03641f201c4b77dddd5a6db5880be19a78c
694 Author: Lasse Collin <lasse.collin@tukaani.org>
695 Date: 2010-10-19 11:44:37 +0300
697 Clean up a few FIXMEs and TODOs.
699 lzma_chunk_size() was commented out because it is
702 src/liblzma/common/filter_encoder.c | 2 ++
703 src/liblzma/common/filter_encoder.h | 4 ++--
704 src/liblzma/lzma/lzma2_decoder.c | 1 -
705 src/liblzma/lzma/lzma_decoder.c | 4 ++--
706 src/liblzma/lzma/lzma_encoder.c | 2 +-
707 src/xz/message.h | 2 +-
708 6 files changed, 8 insertions(+), 7 deletions(-)
710 commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9
711 Author: Lasse Collin <lasse.collin@tukaani.org>
712 Date: 2010-10-19 10:21:08 +0300
716 INSTALL | 192 +++++++++++++++++++++++++++++++++++++++++-------------------
717 PACKAGERS | 104 +++++++++------------------------
720 4 files changed, 172 insertions(+), 143 deletions(-)
722 commit f0fa880d247e73264d2c04fe31fb3412318a0026
723 Author: Lasse Collin <lasse.collin@tukaani.org>
724 Date: 2010-10-12 15:13:30 +0300
726 xz: Avoid raise() also on OpenVMS.
728 This is similar to DOS/DJGPP that killing the program
729 with a signal will print a backtrace or a similar message.
731 src/xz/signals.c | 2 +-
732 1 files changed, 1 insertions(+), 1 deletions(-)
734 commit ac462b1c47c451f5c62e428306314c4bdad8ae7f
735 Author: Lasse Collin <lasse.collin@tukaani.org>
736 Date: 2010-10-11 21:26:19 +0300
738 xz: Avoid SA_RESTART for portability reasons.
740 SA_RESTART is not as portable as I had hoped. It's missing
741 at least from OpenVMS, QNX, and DJGPP). Luckily we can do
742 fine without SA_RESTART.
744 src/xz/message.c | 38 +++++++++++++++-----------------------
745 src/xz/message.h | 4 ++++
746 src/xz/signals.c | 6 ++++++
747 3 files changed, 25 insertions(+), 23 deletions(-)
749 commit d52b411716a614c202e89ba732492efb9916cd3f
750 Author: Lasse Collin <lasse.collin@tukaani.org>
751 Date: 2010-10-10 17:58:58 +0300
753 xz: Use "%"PRIu32 instead of "%d" in a format string.
755 src/xz/message.c | 2 +-
756 1 files changed, 1 insertions(+), 1 deletions(-)
758 commit ae74d1bdeb075c3beefe76e1136c5741804e7e91
759 Author: Lasse Collin <lasse.collin@tukaani.org>
760 Date: 2010-10-10 17:43:26 +0300
762 test_files.sh: Fix the first line.
764 For some reason this prevented running the test only
765 on OS/2 and even on that it broke only recently.
767 Thanks to Elbert Pol.
769 tests/test_files.sh | 2 +-
770 1 files changed, 1 insertions(+), 1 deletions(-)
772 commit d492b80ddd6f9a13419de6d102df7374d8f448e8
773 Author: Lasse Collin <lasse.collin@tukaani.org>
774 Date: 2010-10-10 16:49:01 +0300
776 lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t.
778 src/lzmainfo/lzmainfo.c | 2 +-
779 1 files changed, 1 insertions(+), 1 deletions(-)
781 commit 825e859a9054bd91202e5723c41a17e72f63040a
782 Author: Lasse Collin <lasse.collin@tukaani.org>
783 Date: 2010-10-10 16:47:01 +0300
785 lzmainfo: Use fileno(stdin) instead of STDIN_FILENO.
787 src/lzmainfo/lzmainfo.c | 2 +-
788 1 files changed, 1 insertions(+), 1 deletions(-)
790 commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8
791 Author: Lasse Collin <lasse.collin@tukaani.org>
792 Date: 2010-10-09 23:20:51 +0300
794 lzmainfo: Use setmode() on DOS-like systems.
796 src/lzmainfo/lzmainfo.c | 9 +++++++++
797 1 files changed, 9 insertions(+), 0 deletions(-)
799 commit ef364d3abc5647111c5424ea0d83a567e184a23b
800 Author: Lasse Collin <lasse.collin@tukaani.org>
801 Date: 2010-10-09 21:51:03 +0300
803 OS/2 and DOS: Be less verbose on signals.
805 Calling raise() to kill xz when user has pressed C-c
806 is a bit verbose on OS/2 and DOS/DJGPP. Instead of
807 calling raise(), set only the exit status to 1.
809 src/xz/signals.c | 7 +++++++
810 1 files changed, 7 insertions(+), 0 deletions(-)
812 commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a
813 Author: Lasse Collin <lasse.collin@tukaani.org>
814 Date: 2010-10-09 19:28:49 +0300
816 DOS: Update the Makefile, config.h and README.
818 This is now simpler and builds only xz.exe.
820 dos/Makefile | 211 ++++++++++++++--------------------------------------------
821 dos/README | 73 +++++++--------------
822 dos/config.h | 45 +++---------
823 3 files changed, 86 insertions(+), 243 deletions(-)
825 commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac
826 Author: Lasse Collin <lasse.collin@tukaani.org>
827 Date: 2010-10-09 18:57:55 +0300
829 Windows: Put some license info into README-Windows.txt.
831 windows/README-Windows.txt | 8 ++++----
832 1 files changed, 4 insertions(+), 4 deletions(-)
834 commit e75100f549f85d231df25c07aa94d63e78e2d668
835 Author: Lasse Collin <lasse.collin@tukaani.org>
836 Date: 2010-10-09 18:57:04 +0300
838 Windows: Fix a diagnostics bug in build.bash.
840 windows/build.bash | 2 +-
841 1 files changed, 1 insertions(+), 1 deletions(-)
843 commit efeb998a2b1025df1c1d202cc7d21d866cd1c336
844 Author: Lasse Collin <lasse.collin@tukaani.org>
845 Date: 2010-10-09 13:02:15 +0300
847 lzmainfo: Add Windows resource file.
849 src/lzmainfo/Makefile.am | 9 +++++++++
850 src/lzmainfo/lzmainfo_w32res.rc | 12 ++++++++++++
851 2 files changed, 21 insertions(+), 0 deletions(-)
853 commit 389d418445f1623593dfdbba55d52fbb6d1205f5
854 Author: Lasse Collin <lasse.collin@tukaani.org>
855 Date: 2010-10-09 12:57:25 +0300
857 Add missing public domain notice to lzmadec_w32res.rc.
859 src/xzdec/lzmadec_w32res.rc | 7 +++++++
860 1 files changed, 7 insertions(+), 0 deletions(-)
862 commit 6389c773a4912dd9f111256d74ba1605230a7957
863 Author: Lasse Collin <lasse.collin@tukaani.org>
864 Date: 2010-10-09 12:52:12 +0300
866 Windows: Update common_w32res.rc.
868 src/common/common_w32res.rc | 9 +++------
869 1 files changed, 3 insertions(+), 6 deletions(-)
871 commit 71275457ca24c9b01721f5cfc3638cf094daf454
872 Author: Lasse Collin <lasse.collin@tukaani.org>
873 Date: 2010-10-09 12:27:08 +0300
875 Windows: Make build.bash prefer MinGW-w32 over MinGW.
877 This is simply for licensing reasons. The 64-bit version
878 will be built with MinGW-w64 anyway (at least for now),
879 so using it also for 32-bit build allows using the same
880 copyright notice about the MinGW-w64/w32 runtime.
882 Note that using MinGW would require a copyright notice too,
883 because its runtime is not in the public domain either even
884 though MinGW's home page claims that it is public domain.
885 See <http://marc.info/?l=mingw-users&m=126489506214078>.
887 windows/build.bash | 18 +++++++++---------
888 1 files changed, 9 insertions(+), 9 deletions(-)
890 commit 3ac35719d8433af937af6491383d4a50e343099b
891 Author: Lasse Collin <lasse.collin@tukaani.org>
892 Date: 2010-10-09 11:33:21 +0300
894 Windows: Copy COPYING-Windows.txt (if it exists) to the package.
896 Also, put README-Windows.txt to the doc directory like
897 the other documentation files.
899 windows/build.bash | 14 ++++++++++++--
900 1 files changed, 12 insertions(+), 2 deletions(-)
902 commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae
903 Author: Lasse Collin <lasse.collin@tukaani.org>
904 Date: 2010-10-08 21:42:37 +0300
906 Windows: Fix build.bash again.
908 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good.
910 windows/build.bash | 7 ++++---
911 1 files changed, 4 insertions(+), 3 deletions(-)
913 commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd
914 Author: Lasse Collin <lasse.collin@tukaani.org>
915 Date: 2010-10-08 16:53:20 +0300
917 Use LZMA_VERSION_STRING instead of PACKAGE_VERSION.
919 Those are the same thing, and the former makes it a bit
920 easier to build the code with other build systems, because
921 one doesn't need to update the version number into custom
924 This change affects only lzmainfo. Other tools were already
925 using LZMA_VERSION_STRING.
927 src/lzmainfo/lzmainfo.c | 2 +-
928 1 files changed, 1 insertions(+), 1 deletions(-)
930 commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f
931 Author: Lasse Collin <lasse.collin@tukaani.org>
932 Date: 2010-10-08 15:59:25 +0300
934 configure.ac: Remove two unused defines.
936 configure.ac | 4 ----
937 1 files changed, 0 insertions(+), 4 deletions(-)
939 commit 11f51b6714357cb67ec7e56ed9575c199b5581fe
940 Author: Lasse Collin <lasse.collin@tukaani.org>
941 Date: 2010-10-08 15:32:29 +0300
943 Make tests accommodate missing xz or xzdec.
945 tests/test_compress.sh | 45 +++++++++++++++++++++++++++++----------------
946 tests/test_files.sh | 28 ++++++++++++++++++++++++++--
947 2 files changed, 55 insertions(+), 18 deletions(-)
949 commit b1c7368f95e93ccdefdd0748e04398c26766f47f
950 Author: Lasse Collin <lasse.collin@tukaani.org>
951 Date: 2010-10-08 15:25:45 +0300
953 Build: Add options to disable individual command line tools.
955 configure.ac | 38 ++++++++++++++++++++++++++++
956 src/Makefile.am | 15 ++++++++++-
957 src/scripts/Makefile.am | 62 +++++++++++++++++++---------------------------
958 src/xz/Makefile.am | 6 ++++-
959 src/xzdec/Makefile.am | 12 +++++++-
960 5 files changed, 93 insertions(+), 40 deletions(-)
962 commit 630a8beda34af0ac153c8051b1bf01230558e422
963 Author: Lasse Collin <lasse.collin@tukaani.org>
964 Date: 2010-10-07 00:44:53 +0300
966 Windows: Make build.bash work without --enable-dynamic=no.
968 windows/build.bash | 4 ++--
969 1 files changed, 2 insertions(+), 2 deletions(-)
971 commit f9907503f882a745dce9d84c2968f6c175ba966a
972 Author: Lasse Collin <lasse.collin@tukaani.org>
973 Date: 2010-10-05 14:13:16 +0300
975 Build: Remove the static/dynamic tricks.
977 Most distros want xz linked against shared liblzma, so
978 it doesn't help much to require --enable-dynamic for that.
979 Those who want to avoid PIC on x86-32 to get better
980 performance, can still do it e.g. by using --disable-shared
981 to compile xz and then another pass to compile shared liblzma.
983 Part of these static/dynamic tricks were needed for Windows
984 in the past. Nowadays we rely on GCC and binutils to do the
985 right thing with auto-import. If the Autotooled build system
986 needs to support some other toolchain on Windows in the future,
987 this may need some rethinking.
989 configure.ac | 74 ----------------------------------------------
990 debug/Makefile.am | 5 +--
991 src/lzmainfo/Makefile.am | 4 +--
992 src/xz/Makefile.am | 4 +--
993 src/xzdec/Makefile.am | 4 +--
994 tests/Makefile.am | 5 +--
995 6 files changed, 5 insertions(+), 91 deletions(-)
997 commit fda4724d8114fccfa31c1839c15479f350c2fb4c
998 Author: Lasse Collin <lasse.collin@tukaani.org>
999 Date: 2010-10-05 12:18:58 +0300
1001 configure.ac: Silence a warning from Autoconf 2.68.
1004 1 files changed, 1 insertions(+), 1 deletions(-)
1006 commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9
1007 Author: Lasse Collin <lasse.collin@tukaani.org>
1008 Date: 2010-10-04 19:43:01 +0300
1010 A few more languages files to the xz man page.
1012 Thanks to Jonathan Nieder.
1014 src/xz/xz.1 | 45 ++++++++++++++++++++++++---------------------
1015 1 files changed, 24 insertions(+), 21 deletions(-)
1017 commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb
1018 Author: Lasse Collin <lasse.collin@tukaani.org>
1019 Date: 2010-10-02 12:07:33 +0300
1023 doc/faq.txt | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1024 1 files changed, 100 insertions(+), 4 deletions(-)
1026 commit 61ae593661e8dc402394e84d567ca2044a51572b
1027 Author: Lasse Collin <lasse.collin@tukaani.org>
1028 Date: 2010-10-02 11:38:20 +0300
1030 liblzma: Small fixes to comments in the API headers.
1032 src/liblzma/api/lzma/lzma.h | 10 +++++++---
1033 1 files changed, 7 insertions(+), 3 deletions(-)
1035 commit 9166682dc601fd42c1b9510572e3f917d18de504
1036 Author: Lasse Collin <lasse.collin@tukaani.org>
1037 Date: 2010-09-28 11:40:12 +0300
1039 Create the PDF versions of the man pages better.
1041 Makefile.am | 14 +++++++-----
1042 build-aux/manconv.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++
1043 2 files changed, 66 insertions(+), 6 deletions(-)
1045 commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8
1046 Author: Lasse Collin <lasse.collin@tukaani.org>
1047 Date: 2010-09-28 10:59:53 +0300
1049 Move version.sh to build-aux.
1051 Makefile.am | 4 ++--
1052 build-aux/version.sh | 24 ++++++++++++++++++++++++
1054 version.sh | 24 ------------------------
1055 windows/build.bash | 2 +-
1056 5 files changed, 28 insertions(+), 28 deletions(-)
1058 commit 84af9d8770451339a692e9b70f96cf56156a6069
1059 Author: Lasse Collin <lasse.collin@tukaani.org>
1060 Date: 2010-09-28 10:53:02 +0300
1064 .gitignore | 10 +++++++++-
1065 1 files changed, 9 insertions(+), 1 deletions(-)
1067 commit 31575a449ac64c523da3bab8d0c0b522cdc7c780
1068 Author: Lasse Collin <lasse.collin@tukaani.org>
1069 Date: 2010-09-28 01:17:14 +0300
1071 Fix accomodate -> accommodate on the xz man page.
1074 1 files changed, 1 insertions(+), 1 deletions(-)
1076 commit cec0ddc8ec4ce81685a51998b978e22167e461f9
1077 Author: Lasse Collin <lasse.collin@tukaani.org>
1078 Date: 2010-09-27 23:29:34 +0300
1080 Major man page updates.
1082 Lots of content was updated on the xz man page.
1084 Technical improvements:
1085 - Start a new sentence on a new line.
1086 - Use fairly short lines.
1087 - Use constant-width font for examples (where supported).
1088 - Some minor cleanups.
1090 Thanks to Jonathan Nieder for some language fixes.
1092 src/lzmainfo/lzmainfo.1 | 25 +-
1093 src/scripts/xzdiff.1 | 15 +-
1094 src/scripts/xzgrep.1 | 11 +-
1095 src/scripts/xzless.1 | 13 +-
1096 src/scripts/xzmore.1 | 9 +-
1097 src/xz/xz.1 | 1964 ++++++++++++++++++++++++++++++++--------------
1098 src/xzdec/xzdec.1 | 39 +-
1099 7 files changed, 1435 insertions(+), 641 deletions(-)
1101 commit 075257ab0416a0603be930082e31a5703e4ba345
1102 Author: Lasse Collin <lasse.collin@tukaani.org>
1103 Date: 2010-09-26 18:10:31 +0300
1107 depth=0 was missing.
1109 src/liblzma/lzma/lzma_encoder_presets.c | 1 +
1110 1 files changed, 1 insertions(+), 0 deletions(-)
1112 commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1
1113 Author: Lasse Collin <lasse.collin@tukaani.org>
1114 Date: 2010-09-23 14:03:10 +0300
1116 Add translations.bash and translation notes to README.
1118 translations.bash prints some messages from xz, which
1119 hopefully makes it a bit easier to test translations.
1121 README | 96 ++++++++++++++++++++++++++++++++++++++++++++--
1122 debug/translation.bash | 100 ++++++++++++++++++++++++++++++++++++++++++++++++
1123 2 files changed, 192 insertions(+), 4 deletions(-)
1125 commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23
1126 Author: Lasse Collin <lasse.collin@tukaani.org>
1127 Date: 2010-09-17 22:14:30 +0300
1129 xz: Update the Czech translation.
1131 Thanks to Marek Černocký.
1133 po/cs.po | 202 ++++++++++++++++++++++++++++++++++++++++----------------------
1134 1 files changed, 131 insertions(+), 71 deletions(-)
1136 commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6
1137 Author: Lasse Collin <lasse.collin@tukaani.org>
1138 Date: 2010-09-16 23:40:41 +0300
1140 xz: Add Italian translation.
1142 Thanks to Milo Casagrande and Lorenzo De Liso.
1146 po/it.po | 902 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1147 3 files changed, 905 insertions(+), 0 deletions(-)
1149 commit 21088018554e2b0e02914205377ceb6e34a090bd
1150 Author: Lasse Collin <lasse.collin@tukaani.org>
1151 Date: 2010-09-15 00:34:13 +0300
1153 xz: Edit a translators comment.
1155 src/xz/list.c | 2 +-
1156 1 files changed, 1 insertions(+), 1 deletions(-)
1158 commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6
1159 Author: Lasse Collin <lasse.collin@tukaani.org>
1160 Date: 2010-09-14 22:47:14 +0300
1162 xz: Add German translation.
1164 Thanks to Andre Noll.
1168 po/de.po | 903 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1169 3 files changed, 905 insertions(+), 0 deletions(-)
1171 commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b
1172 Author: Lasse Collin <lasse.collin@tukaani.org>
1173 Date: 2010-09-10 14:30:25 +0300
1178 1 files changed, 0 insertions(+), 2 deletions(-)
1180 commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71
1181 Author: Lasse Collin <lasse.collin@tukaani.org>
1182 Date: 2010-09-10 14:30:07 +0300
1187 1 files changed, 4 insertions(+), 3 deletions(-)
1189 commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2
1190 Author: Lasse Collin <lasse.collin@tukaani.org>
1191 Date: 2010-09-10 14:26:20 +0300
1193 Updated the git repository address in ChangeLog.
1196 1 files changed, 1 insertions(+), 1 deletions(-)
1198 commit a8760203f93a69bc39fd14520a6e9e7b7d70be06
1199 Author: Lasse Collin <lasse.collin@tukaani.org>
1200 Date: 2010-09-10 14:09:33 +0300
1202 xz: Add a comment to translators about "literal context bits".
1204 src/xz/message.c | 4 ++++
1205 1 files changed, 4 insertions(+), 0 deletions(-)
1207 commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5
1208 Author: Lasse Collin <lasse.collin@tukaani.org>
1209 Date: 2010-09-10 10:30:33 +0300
1213 The code assumed that printing numbers with thousand separators
1214 and decimal points would always produce only US-ASCII characters.
1215 This was used for buffer sizes (with snprintf(), no overflows)
1216 and aligning columns of the progress indicator and --list. That
1217 assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so
1218 multibyte character support was added in this commit. The old
1219 way is used if the operating system doesn't have enough multibyte
1220 support (e.g. lacks wcwidth()).
1222 The sizes of buffers were increased to accomodate multibyte
1223 characters. I don't know how big they should be exactly, but
1224 they aren't used for anything critical, so it's not too bad.
1225 If they still aren't big enough, I hopefully get a bug report.
1226 snprintf() takes care of avoiding buffer overflows.
1228 Some static buffers were replaced with buffers allocated on
1229 stack. double_to_str() was removed. uint64_to_str() and
1230 uint64_to_nicestr() now share the static buffer and test
1231 for thousand separator support.
1233 Integrity check names "None" and "Unknown-N" (2 <= N <= 15)
1234 were marked to be translated. I had forgot these, plus they
1235 wouldn't have worked correctly anyway before this commit,
1236 because printing tables with multibyte strings didn't work.
1238 Thanks to Marek Černocký for reporting the bug about
1239 misaligned table columns in --list output.
1242 m4/tuklib_mbstr.m4 | 30 ++++++
1243 src/common/tuklib_mbstr.h | 66 +++++++++++++
1244 src/common/tuklib_mbstr_fw.c | 31 ++++++
1245 src/common/tuklib_mbstr_width.c | 64 ++++++++++++
1246 src/xz/Makefile.am | 4 +-
1247 src/xz/list.c | 205 ++++++++++++++++++++++++++-------------
1248 src/xz/message.c | 56 +++++++----
1249 src/xz/message.h | 10 ++-
1250 src/xz/private.h | 1 +
1251 src/xz/util.c | 136 +++++++++-----------------
1252 src/xz/util.h | 7 --
1253 12 files changed, 424 insertions(+), 187 deletions(-)
1255 commit 639f8e2af33cf8a184d59ba56b6df7c098679d61
1256 Author: Lasse Collin <lasse.collin@tukaani.org>
1257 Date: 2010-09-08 08:49:22 +0300
1259 Update the Czech translation.
1261 Thanks to Marek Černocký.
1263 po/cs.po | 655 +++++++++++++++++++++++++++++++++++++++++++-------------------
1264 1 files changed, 454 insertions(+), 201 deletions(-)
1266 commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7
1267 Author: Lasse Collin <lasse.collin@tukaani.org>
1268 Date: 2010-09-07 12:31:40 +0300
1270 xz: Add a note to translators.
1272 src/xz/hardware.c | 2 ++
1273 1 files changed, 2 insertions(+), 0 deletions(-)
1275 commit 77a7746616e555fc08028e883a56d06bf0088b81
1276 Author: Lasse Collin <lasse.collin@tukaani.org>
1277 Date: 2010-09-07 10:42:13 +0300
1279 Fix use of N_() and ngettext().
1281 I had somehow thought that N_() is usually used
1282 as shorthand for ngettext().
1284 This also fixes a missing \n from a call to ngettext().
1286 src/common/tuklib_gettext.h | 4 ++--
1287 src/xz/list.c | 4 ++--
1288 2 files changed, 4 insertions(+), 4 deletions(-)
1290 commit e6ad39335842343e622ab51207d1d3cb9caad801
1291 Author: Lasse Collin <lasse.collin@tukaani.org>
1292 Date: 2010-09-06 19:43:12 +0300
1294 Add missing files to POTFILES.in.
1296 po/POTFILES.in | 3 +++
1297 1 files changed, 3 insertions(+), 0 deletions(-)
1299 commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30
1300 Author: Lasse Collin <lasse.collin@tukaani.org>
1301 Date: 2010-09-06 10:16:24 +0300
1303 xz: Improve a comment.
1305 src/xz/file_io.c | 7 ++++---
1306 1 files changed, 4 insertions(+), 3 deletions(-)
1308 commit bcb1b898341f7073f51660d7052d7ed6c5461a66
1309 Author: Lasse Collin <lasse.collin@tukaani.org>
1310 Date: 2010-09-05 21:34:29 +0300
1312 xz: Update the comment about NetBSD in file_io.c.
1314 Thanks to Joerg Sonnenberger.
1316 src/xz/file_io.c | 8 ++++----
1317 1 files changed, 4 insertions(+), 4 deletions(-)
1319 commit da014d55972f5addbf6b4360d3d8ed2ef4282170
1320 Author: Lasse Collin <lasse.collin@tukaani.org>
1321 Date: 2010-09-05 21:11:33 +0300
1323 xz: Use an array instead of pointer for stdin_filename.
1325 Thanks Joerg Sonnenberger.
1327 src/xz/args.c | 2 +-
1328 src/xz/args.h | 2 +-
1329 2 files changed, 2 insertions(+), 2 deletions(-)
1331 commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee
1332 Author: Lasse Collin <lasse.collin@tukaani.org>
1333 Date: 2010-09-05 12:16:17 +0300
1335 xz: Hopefully ease translating the messages in list.c.
1337 src/xz/list.c | 33 +++++++++++++++++++++++----------
1338 1 files changed, 23 insertions(+), 10 deletions(-)
1340 commit ef840950ad99cf2955c754875af0e01acf125079
1341 Author: Lasse Collin <lasse.collin@tukaani.org>
1342 Date: 2010-09-04 23:14:44 +0300
1346 src/xz/options.c | 3 +--
1347 1 files changed, 1 insertions(+), 2 deletions(-)
1349 commit c46afd6edc04ea140db6c59e8486f5707c810c13
1350 Author: Lasse Collin <lasse.collin@tukaani.org>
1351 Date: 2010-09-04 23:12:20 +0300
1353 xz: Use lzma_lzma_preset() to initialize the options structure.
1355 src/xz/options.c | 14 ++------------
1356 1 files changed, 2 insertions(+), 12 deletions(-)
1358 commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065
1359 Author: Lasse Collin <lasse.collin@tukaani.org>
1360 Date: 2010-09-04 22:16:28 +0300
1362 Don't set lc=4 with --extreme.
1364 This should reduce the cases where --extreme makes
1365 compression worse. On the other hand, some other
1366 files may now benefit slightly less from --extreme.
1368 src/liblzma/lzma/lzma_encoder_presets.c | 1 -
1369 1 files changed, 0 insertions(+), 1 deletions(-)
1371 commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b
1372 Author: Lasse Collin <lasse.collin@tukaani.org>
1373 Date: 2010-09-04 22:10:32 +0300
1375 xz: Minor improvements to --help and --long-help.
1377 src/xz/message.c | 24 ++++++++++++------------
1378 1 files changed, 12 insertions(+), 12 deletions(-)
1380 commit 373ee26f955617295c5c537b04a153a1969140d2
1381 Author: Jonathan Nieder <jrnieder@gmail.com>
1382 Date: 2010-09-03 16:49:15 -0500
1384 Adjust memory limits in test_compress.sh
1386 Testing compression at level -4 now requires 48 MiB of free store at
1387 compression time and 5 MiB at decompression time.
1389 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
1391 tests/test_compress.sh | 2 +-
1392 1 files changed, 1 insertions(+), 1 deletions(-)
1394 commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087
1395 Author: Lasse Collin <lasse.collin@tukaani.org>
1396 Date: 2010-09-03 15:54:40 +0300
1398 xz: Make -vv show also decompressor memory usage.
1400 src/xz/coder.c | 7 +++++++
1401 1 files changed, 7 insertions(+), 0 deletions(-)
1403 commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6
1404 Author: Lasse Collin <lasse.collin@tukaani.org>
1405 Date: 2010-09-03 15:13:12 +0300
1407 Tweak the compression presets -0 .. -5.
1409 "Extreme" mode might need some further tweaking still.
1410 Docs were not updated yet.
1412 src/liblzma/lzma/lzma_encoder_presets.c | 29 +++++++++++++++++++----------
1413 1 files changed, 19 insertions(+), 10 deletions(-)
1415 commit 77fe5954cd3d10fb1837372684cbc133b56b6a87
1416 Author: Lasse Collin <lasse.collin@tukaani.org>
1417 Date: 2010-09-03 12:28:41 +0300
1419 liblzma: Adjust default depth calculation for HC3 and HC4.
1421 It was 8 + nice_len / 4, now it is 4 + nice_len / 4.
1422 This allows faster settings at lower nice_len values,
1423 even though it seems that I won't use automatic depth
1424 calcuation with HC3 and HC4 in the presets.
1426 src/liblzma/lz/lz_encoder.c | 7 ++++---
1427 1 files changed, 4 insertions(+), 3 deletions(-)
1429 commit fce69059cf901ce8075a78c7607d591f144a3b5a
1430 Author: Lasse Collin <lasse.collin@tukaani.org>
1431 Date: 2010-09-03 11:11:25 +0300
1433 xz: Make --help two lines shorter.
1435 At least for now, the --help option doesn't list any
1436 options that take arguments, so "Mandatory arguments to..."
1439 src/xz/message.c | 7 +++++--
1440 1 files changed, 5 insertions(+), 2 deletions(-)
1442 commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298
1443 Author: Lasse Collin <lasse.collin@tukaani.org>
1444 Date: 2010-09-02 19:22:35 +0300
1446 xz: Make setting a preset override a custom filter chain.
1448 This is more logical behavior than ignoring preset level
1449 options once a custom filter chain has been specified.
1451 src/xz/coder.c | 9 +++++++++
1452 1 files changed, 9 insertions(+), 0 deletions(-)
1454 commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3
1455 Author: Lasse Collin <lasse.collin@tukaani.org>
1456 Date: 2010-09-02 19:09:57 +0300
1458 xz: Always warn if adjusting dictionary size due to memlimit.
1460 src/xz/coder.c | 28 +++++++++-------------------
1461 1 files changed, 9 insertions(+), 19 deletions(-)
1463 commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d
1464 Author: Lasse Collin <lasse.collin@tukaani.org>
1465 Date: 2010-08-10 11:04:30 +0300
1467 Fix test_compress.sh.
1469 It broke when --memory option was removed from xzdec.
1471 Thanks to Jonathan Nieder.
1473 tests/test_compress.sh | 6 +++---
1474 1 files changed, 3 insertions(+), 3 deletions(-)
1476 commit 792331bdee706aa852a78b171040ebf814c6f3ae
1477 Author: Lasse Collin <lasse.collin@tukaani.org>
1478 Date: 2010-08-07 20:45:18 +0300
1480 Disable the memory usage limiter by default.
1482 For several people, the limiter causes bigger problems that
1483 it solves, so it is better to have it disabled by default.
1484 Those who want to have a limiter by default need to enable
1485 it via the environment variable XZ_DEFAULTS.
1487 Support for environment variable XZ_DEFAULTS was added. It is
1488 parsed before XZ_OPT and technically identical with it. The
1489 intended uses differ quite a bit though; see the man page.
1491 The memory usage limit can now be set separately for
1492 compression and decompression using --memlimit-compress and
1493 --memlimit-decompress. To set both at once, -M or --memlimit
1494 can be used. --memory was retained as a legacy alias for
1495 --memlimit for backwards compatibility.
1497 The semantics of --info-memory were changed in backwards
1498 incompatible way. Compatibility wasn't meaningful due to
1499 changes in the memory usage limiter functionality.
1501 The memory usage limiter info is no longer shown at the
1502 bottom of xz --long -help.
1504 The memory usage limiter support for removed completely from xzdec.
1506 xz's man page was updated to match the above changes. Various
1507 unrelated fixes were also made to the man page.
1509 src/xz/args.c | 87 +++++++++-----
1510 src/xz/coder.c | 8 +-
1511 src/xz/hardware.c | 96 ++++++++++-----
1512 src/xz/hardware.h | 23 ++--
1513 src/xz/list.c | 2 +-
1514 src/xz/message.c | 39 ++-----
1515 src/xz/message.h | 4 -
1516 src/xz/xz.1 | 341 +++++++++++++++++++++++++++++++++--------------------
1517 src/xzdec/xzdec.1 | 45 +-------
1518 src/xzdec/xzdec.c | 176 +---------------------------
1519 10 files changed, 373 insertions(+), 448 deletions(-)
1521 commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801
1522 Author: Lasse Collin <lasse.collin@tukaani.org>
1523 Date: 2010-08-06 20:22:16 +0300
1525 Add missing const to a global constant in xz.
1527 src/xz/args.c | 2 +-
1528 src/xz/args.h | 2 +-
1529 2 files changed, 2 insertions(+), 2 deletions(-)
1531 commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f
1532 Author: Lasse Collin <lasse.collin@tukaani.org>
1533 Date: 2010-07-28 11:44:55 +0300
1535 Language fixes for man pages.
1537 Thanks to A. Costa and Jonathan Nieder.
1539 src/lzmainfo/lzmainfo.1 | 4 ++--
1540 src/xz/xz.1 | 6 +++---
1541 2 files changed, 5 insertions(+), 5 deletions(-)
1543 commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b
1544 Author: Lasse Collin <lasse.collin@tukaani.org>
1545 Date: 2010-07-27 20:47:12 +0300
1547 Windows: Add a note about building a Git repository snapshot
1549 windows/INSTALL-Windows.txt | 9 +++++++++
1550 1 files changed, 9 insertions(+), 0 deletions(-)
1552 commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38
1553 Author: Lasse Collin <lasse.collin@tukaani.org>
1554 Date: 2010-07-27 20:45:03 +0300
1556 Windows: build.sh is a bash script so name it correctly.
1559 windows/INSTALL-Windows.txt | 6 +-
1560 windows/build.bash | 189 +++++++++++++++++++++++++++++++++++++++++++
1561 windows/build.sh | 189 -------------------------------------------
1562 4 files changed, 193 insertions(+), 193 deletions(-)
1564 commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339
1565 Author: Lasse Collin <lasse.collin@tukaani.org>
1566 Date: 2010-07-27 20:27:32 +0300
1568 Windows: Don't strip liblzma.a too much.
1570 windows/build.sh | 3 ++-
1571 1 files changed, 2 insertions(+), 1 deletions(-)
1573 commit a540198ffb25fad36380c5e92ac20c2d28eec46a
1574 Author: Lasse Collin <lasse.collin@tukaani.org>
1575 Date: 2010-07-13 20:07:26 +0300
1580 1 files changed, 1 insertions(+), 0 deletions(-)
1582 commit bab0f01ed931f606b4675aa9f9331a17cec09bad
1583 Author: Lasse Collin <lasse.collin@tukaani.org>
1584 Date: 2010-07-13 19:55:50 +0300
1586 Add two simple example programs.
1588 Hopefully these help a bit when learning the basics
1589 of liblzma API. I plan to write detailed examples about
1590 both basic and advanced features with lots of comments,
1591 but these two examples are good have right now.
1593 The examples were written by Daniel Mealha Cabrita. Thanks.
1595 doc/examples/xz_pipe_comp.c | 127 +++++++++++++++++++++++++++++++++++++++++
1596 doc/examples/xz_pipe_decomp.c | 115 +++++++++++++++++++++++++++++++++++++
1597 2 files changed, 242 insertions(+), 0 deletions(-)
1599 commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00
1600 Author: Lasse Collin <lasse.collin@tukaani.org>
1601 Date: 2010-06-15 14:06:29 +0300
1605 src/xz/args.c | 6 ++++++
1606 src/xz/coder.c | 8 ++------
1607 src/xz/coder.h | 4 ++++
1608 src/xz/message.c | 6 +++++-
1609 src/xz/xz.1 | 13 +++++++++++--
1610 5 files changed, 28 insertions(+), 9 deletions(-)
1612 commit 2130926dd1c839280358172dfadd8d3054bde2b4
1613 Author: Lasse Collin <lasse.collin@tukaani.org>
1614 Date: 2010-06-11 21:51:32 +0300
1619 1 files changed, 1 insertions(+), 0 deletions(-)
1621 commit bc612d0e0c9e4504c59d49168e87a7ae3e458443
1622 Author: Lasse Collin <lasse.collin@tukaani.org>
1623 Date: 2010-06-11 21:48:32 +0300
1625 Clarify the description of the default memlimit in the man page.
1627 Thanks to Denis Excoffier.
1629 src/xz/xz.1 | 4 ++--
1630 1 files changed, 2 insertions(+), 2 deletions(-)
1632 commit e1b6935d60a00405e6b5b455a3426d2248cc926c
1633 Author: Lasse Collin <lasse.collin@tukaani.org>
1634 Date: 2010-06-11 21:43:28 +0300
1636 Fix string to uint64_t conversion.
1638 Thanks to Denis Excoffier for the bug report.
1640 src/xz/util.c | 10 ++++++++--
1641 src/xzdec/xzdec.c | 13 +++++++++++--
1642 2 files changed, 19 insertions(+), 4 deletions(-)
1644 commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0
1645 Author: Lasse Collin <lasse.collin@tukaani.org>
1646 Date: 2010-06-11 10:40:28 +0300
1648 Put the git commit to the filename in mydist rule.
1650 Makefile.am | 6 +++++-
1651 1 files changed, 5 insertions(+), 1 deletions(-)
1653 commit d8b41eedce486d400f701b757b7b5e4e32276618
1654 Author: Lasse Collin <lasse.collin@tukaani.org>
1655 Date: 2010-06-02 23:13:55 +0300
1657 Fix compiling with -Werror.
1659 src/xz/message.c | 4 ++--
1660 1 files changed, 2 insertions(+), 2 deletions(-)
1662 commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8
1663 Author: Lasse Collin <lasse.collin@tukaani.org>
1664 Date: 2010-06-02 23:09:22 +0300
1666 Silence a bogus Valgrind warning.
1668 When using -O2 with GCC, it liked to swap two comparisons
1669 in one "if" statement. It's otherwise fine except that
1670 the latter part, which is seemingly never executed, got
1671 executed (nothing wrong with that) and then triggered
1672 warning in Valgrind about conditional jump depending on
1673 uninitialized variable. A few people find this annoying
1674 so do things a bit differently to avoid the warning.
1676 src/liblzma/lz/lz_encoder.c | 6 +++++-
1677 1 files changed, 5 insertions(+), 1 deletions(-)
1679 commit 29a7b250e685852f2f97615493ec49acaf528623
1680 Author: Lasse Collin <lasse.collin@tukaani.org>
1681 Date: 2010-06-02 21:32:12 +0300
1683 Fix a Windows-specific FIXME in signal handling code.
1685 src/xz/main.c | 40 +++++++++++++++++++++++++++++++++++-----
1686 src/xz/private.h | 5 +++++
1687 src/xz/signals.c | 16 ++++++++--------
1688 3 files changed, 48 insertions(+), 13 deletions(-)
1690 commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d
1691 Author: Lasse Collin <lasse.collin@tukaani.org>
1692 Date: 2010-06-02 17:46:58 +0300
1694 Adjust SA_RESTART workaround.
1696 I want to get a bug report if something else than
1697 DJGPP lacks SA_RESTART.
1699 src/xz/message.c | 14 +++++++-------
1700 1 files changed, 7 insertions(+), 7 deletions(-)
1702 commit e243145c84ab5c3be8259fd486ead0de5235b3f0
1703 Author: Lasse Collin <lasse.collin@tukaani.org>
1704 Date: 2010-06-01 16:02:30 +0300
1706 xz man page updates.
1708 - Concatenating .xz files and padding
1711 - A few examples (but many more are needed)
1713 src/xz/xz.1 | 385 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1714 1 files changed, 366 insertions(+), 19 deletions(-)
1716 commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562
1717 Author: Lasse Collin <lasse.collin@tukaani.org>
1718 Date: 2010-06-01 15:51:44 +0300
1720 Major update to xz --list.
1722 src/xz/list.c | 652 +++++++++++++++++++++++++++++++++++++++++----------------
1723 1 files changed, 471 insertions(+), 181 deletions(-)
1725 commit 905e54804a899e4ad526d38fdba7e803ab9b71bd
1726 Author: Lasse Collin <lasse.collin@tukaani.org>
1727 Date: 2010-06-01 14:13:03 +0300
1729 Rename message_filters_get() to message_filters_to_str().
1731 src/xz/message.c | 4 ++--
1732 src/xz/message.h | 2 +-
1733 2 files changed, 3 insertions(+), 3 deletions(-)
1735 commit 4b346ae8af20045027ae5efb068c6d69da3324d2
1736 Author: Lasse Collin <lasse.collin@tukaani.org>
1737 Date: 2010-06-01 14:09:12 +0300
1741 src/liblzma/api/lzma/index.h | 2 +-
1742 1 files changed, 1 insertions(+), 1 deletions(-)
1744 commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296
1745 Author: Lasse Collin <lasse.collin@tukaani.org>
1746 Date: 2010-05-27 16:17:42 +0300
1748 Fix lzma_block_compressed_size().
1750 src/liblzma/common/block_util.c | 6 +++---
1751 1 files changed, 3 insertions(+), 3 deletions(-)
1753 commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593
1754 Author: Lasse Collin <lasse.collin@tukaani.org>
1755 Date: 2010-05-27 14:32:51 +0300
1757 Take Cygwin into account in some #if lines.
1759 This change is no-op, but good to have just in case
1762 src/xz/signals.c | 2 +-
1763 src/xz/signals.h | 4 ++--
1764 2 files changed, 3 insertions(+), 3 deletions(-)
1766 commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7
1767 Author: Lasse Collin <lasse.collin@tukaani.org>
1768 Date: 2010-05-27 13:42:44 +0300
1770 Remove references to the Subblock filter in xz and tests.
1772 Thanks to Jonathan Nieder.
1774 src/xz/message.c | 9 ---------
1775 tests/test_filter_flags.c | 23 -----------------------
1776 2 files changed, 0 insertions(+), 32 deletions(-)
1778 commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893
1779 Author: Lasse Collin <lasse.collin@tukaani.org>
1780 Date: 2010-05-27 13:35:36 +0300
1782 Remove unused chunk_size.c.
1784 Thanks to Jonathan Nieder for the reminder.
1786 src/liblzma/common/chunk_size.c | 67 ---------------------------------------
1787 1 files changed, 0 insertions(+), 67 deletions(-)
1789 commit 01a414eaf4be6352c06b48001b041b47e8202faa
1790 Author: Jonathan Nieder <jrnieder@gmail.com>
1791 Date: 2010-05-27 02:31:33 -0500
1793 Use my_min() instead of MIN() in src/xz/list.c
1795 This should have been done in
1796 920a69a8d8e4203c5edddd829d932130eac188ea.
1798 src/xz/list.c | 2 +-
1799 1 files changed, 1 insertions(+), 1 deletions(-)
1801 commit 920a69a8d8e4203c5edddd829d932130eac188ea
1802 Author: Lasse Collin <lasse.collin@tukaani.org>
1803 Date: 2010-05-26 10:36:46 +0300
1805 Rename MIN() and MAX() to my_min() and my_max().
1807 This should avoid some minor portability issues.
1809 debug/full_flush.c | 2 +-
1810 debug/sync_flush.c | 2 +-
1811 src/common/sysdefs.h | 12 +++++-------
1812 src/liblzma/common/block_buffer_encoder.c | 2 +-
1813 src/liblzma/common/common.c | 2 +-
1814 src/liblzma/common/stream_buffer_encoder.c | 2 +-
1815 src/liblzma/delta/delta_encoder.c | 2 +-
1816 src/liblzma/lz/lz_decoder.c | 7 ++++---
1817 src/liblzma/lz/lz_decoder.h | 2 +-
1818 src/liblzma/lz/lz_encoder.c | 2 +-
1819 src/liblzma/lz/lz_encoder.h | 2 +-
1820 src/liblzma/lz/lz_encoder_mf.c | 4 ++--
1821 src/liblzma/lzma/lzma2_encoder.c | 2 +-
1822 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
1823 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 14 +++++++-------
1824 src/xz/args.c | 3 ++-
1825 16 files changed, 31 insertions(+), 31 deletions(-)
1827 commit 019ae27c24d0c694545a6a46f8b9fb552198b015
1828 Author: Lasse Collin <lasse.collin@tukaani.org>
1829 Date: 2010-05-26 10:30:20 +0300
1831 Fix compilation of debug/known_sizes.c.
1833 debug/known_sizes.c | 2 +-
1834 1 files changed, 1 insertions(+), 1 deletions(-)
1836 commit 98a4856a6ea84f79c790057a6eb89a25bc45b074
1837 Author: Lasse Collin <lasse.collin@tukaani.org>
1838 Date: 2010-05-26 10:28:54 +0300
1840 Remove references to Subblock filter in debug/sync_flush.c.
1842 debug/sync_flush.c | 13 -------------
1843 1 files changed, 0 insertions(+), 13 deletions(-)
1845 commit 703d2c33c095c41ae0693ee8c27c45e3847e4535
1846 Author: Lasse Collin <lasse.collin@tukaani.org>
1847 Date: 2010-05-26 10:16:57 +0300
1849 Better #error message.
1851 src/common/sysdefs.h | 4 ++--
1852 1 files changed, 2 insertions(+), 2 deletions(-)
1854 commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0
1855 Author: Lasse Collin <lasse.collin@tukaani.org>
1856 Date: 2010-05-26 09:55:47 +0300
1858 Remove the Subblock filter code for now.
1860 The spec isn't finished and the code didn't compile anymore.
1861 It won't be included in XZ Utils 5.0.0. It's easy to get it
1862 back once the spec is done.
1865 src/liblzma/Makefile.am | 5 -
1866 src/liblzma/api/Makefile.am | 1 -
1867 src/liblzma/api/lzma.h | 1 -
1868 src/liblzma/api/lzma/subblock.h | 200 -----
1869 src/liblzma/common/common.h | 6 -
1870 src/liblzma/common/filter_common.c | 9 -
1871 src/liblzma/common/filter_decoder.c | 16 -
1872 src/liblzma/common/filter_encoder.c | 12 -
1873 src/liblzma/subblock/Makefile.inc | 20 -
1874 src/liblzma/subblock/subblock_decoder.c | 630 ---------------
1875 src/liblzma/subblock/subblock_decoder.h | 22 -
1876 src/liblzma/subblock/subblock_decoder_helper.c | 70 --
1877 src/liblzma/subblock/subblock_decoder_helper.h | 29 -
1878 src/liblzma/subblock/subblock_encoder.c | 984 ------------------------
1879 src/liblzma/subblock/subblock_encoder.h | 21 -
1880 src/xz/args.c | 9 +-
1881 src/xz/options.c | 61 --
1882 src/xz/options.h | 7 -
1883 19 files changed, 4 insertions(+), 2105 deletions(-)
1885 commit b6377fc990f9b8651149cae0fecb8b9c5904e26d
1886 Author: Lasse Collin <lasse.collin@tukaani.org>
1887 Date: 2010-05-16 18:42:22 +0300
1889 Split message_filters().
1891 message_filters_to_str() converts the filter chain to
1892 a string. message_filters_show() replaces the original
1895 uint32_to_optstr() was also added to show the dictionary
1896 size in nicer format when possible.
1898 src/xz/coder.c | 2 +-
1899 src/xz/message.c | 187 ++++++++++++++++++++++++++++++++++-------------------
1900 src/xz/message.h | 14 ++++-
1901 3 files changed, 134 insertions(+), 69 deletions(-)
1903 commit d9986db782d6cf0f314342127280519339378fa0
1904 Author: Lasse Collin <lasse.collin@tukaani.org>
1905 Date: 2010-05-14 23:17:20 +0300
1907 Omit lzma_restrict from the API headers.
1909 It isn't really useful so omitting it makes things
1910 shorter and slightly more readable.
1912 src/liblzma/api/lzma.h | 12 ------------
1913 src/liblzma/api/lzma/index.h | 5 ++---
1914 src/liblzma/api/lzma/vli.h | 11 +++++------
1915 3 files changed, 7 insertions(+), 21 deletions(-)
1917 commit 0d3489efca0a723dca0394809fa3e6170843af4b
1918 Author: Lasse Collin <lasse.collin@tukaani.org>
1919 Date: 2010-05-10 19:57:24 +0300
1924 1 files changed, 0 insertions(+), 5 deletions(-)
1926 commit 3fb3d594a2b53886adee161b6261e92277f05f7c
1927 Author: Lasse Collin <lasse.collin@tukaani.org>
1928 Date: 2010-05-10 19:54:52 +0300
1933 1 files changed, 1 insertions(+), 0 deletions(-)
1935 commit 6548e304657e77d3a972053db3c41c5daf591113
1936 Author: Lasse Collin <lasse.collin@tukaani.org>
1937 Date: 2010-05-10 19:54:15 +0300
1939 Updates to tuklib_physmem and tuklib_cpucores.
1941 Don't use #error to generate compile error, because some
1942 compilers actually don't take it as an error. This fixes
1943 tuklib_physmem on IRIX.
1945 Fix incorrect error check for sysconf() return values.
1947 Add AIX, HP-UX, and Tru64 specific code to detect the
1950 Add HP-UX specific code to detect the number of CPU cores.
1952 Thanks a lot to Peter O'Gorman for initial patches,
1953 testing, and debugging these fixes.
1955 m4/tuklib_cpucores.m4 | 33 ++++++++++++++++---
1956 m4/tuklib_physmem.m4 | 72 ++++++++++++++++++++++++++++++++++++++++-
1957 src/common/tuklib_cpucores.c | 14 +++++++-
1958 src/common/tuklib_physmem.c | 33 ++++++++++++++++++-
1959 4 files changed, 141 insertions(+), 11 deletions(-)
1961 commit a290cfee3e23f046889c022aa96b4eca2016fdda
1962 Author: Lasse Collin <lasse.collin@tukaani.org>
1963 Date: 2010-04-12 21:55:56 +0300
1965 Show both elapsed time and estimated remaining time in xz -v.
1967 The extra space for showing both has been taken from the
1968 sizes field. If the sizes grow big, bigger units than MiB
1969 will be used. It makes it slightly difficult to see that
1970 progress is still happening with huge files, but it should
1973 Thanks to Trent W. Buck for <http://bugs.debian.org/574583>
1974 and Jonathan Nieder for suggestions how to fix it.
1977 src/xz/message.c | 86 ++++++++++++++++++++++++------------------------------
1978 2 files changed, 39 insertions(+), 48 deletions(-)
1980 commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e
1981 Author: Lasse Collin <lasse.collin@tukaani.org>
1982 Date: 2010-03-31 16:47:25 +0300
1984 Add a simple tip to faq.txt about tar and xz.
1986 Thanks to Gilles Espinasse.
1989 doc/faq.txt | 6 ++++++
1990 2 files changed, 7 insertions(+), 0 deletions(-)
1992 commit c737eec91d200d730aa82662affd6b06ebb0bff0
1993 Author: Lasse Collin <lasse.collin@tukaani.org>
1994 Date: 2010-03-22 21:03:03 +0200
1999 1 files changed, 1 insertions(+), 0 deletions(-)
2001 commit f4b2b52624b802c786e4e2a8eb6895794dd93b24
2002 Author: Lasse Collin <lasse.collin@tukaani.org>
2003 Date: 2010-03-07 19:52:25 +0200
2005 Fix xzgrep to not break if filenames have spaces or quotes.
2007 Thanks to someone who reported the bug on IRC.
2009 src/scripts/xzgrep.in | 2 +-
2010 1 files changed, 1 insertions(+), 1 deletions(-)
2012 commit cf38da00a140bd3bd65b192390ae5553380fd774
2013 Author: Lasse Collin <lasse.collin@tukaani.org>
2014 Date: 2010-03-07 13:59:32 +0200
2016 Treat all integer multiplier suffixes as base-2.
2018 Originally both base-2 and base-10 were supported, but since
2019 there seems to be little need for base-10 in XZ Utils, treat
2020 everything as base-2 and also be more relaxed about the case
2021 of the first letter of the suffix. Now xz will accept e.g.
2022 KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The
2023 recommended spelling of the suffixes are still KiB, MiB, and GiB.
2025 src/xz/util.c | 53 +++++++++++++++++++++++------------------------------
2026 src/xz/xz.1 | 48 ++++++++++++++++++++++++++++--------------------
2027 src/xzdec/xzdec.c | 42 ++++++++++++++++--------------------------
2028 3 files changed, 67 insertions(+), 76 deletions(-)
2030 commit 00fc1211ae7b687ac912098f4479112059deccbd
2031 Author: Lasse Collin <lasse.collin@tukaani.org>
2032 Date: 2010-03-07 13:50:23 +0200
2034 Consistently round up the memory usage limit in messages.
2036 It still feels a bit wrong to round 1 byte to 1 MiB but
2037 at least it is now done consistently so that the same
2038 byte value is always rounded the same way to MiB.
2040 src/xz/message.c | 5 +++--
2041 src/xzdec/xzdec.c | 7 +++++--
2042 2 files changed, 8 insertions(+), 4 deletions(-)
2044 commit 9886d436ff5615fc70eef32ff757b1e934069621
2045 Author: Lasse Collin <lasse.collin@tukaani.org>
2046 Date: 2010-03-07 13:34:34 +0200
2048 Change the default of --enable-assume-ram from 32 to 128 MiB.
2050 This is to allow files created with "xz -9" to be decompressed
2051 if the amount of RAM cannot be determined.
2054 configure.ac | 11 ++++++-----
2055 2 files changed, 8 insertions(+), 8 deletions(-)
2057 commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418
2058 Author: Lasse Collin <lasse.collin@tukaani.org>
2059 Date: 2010-03-07 13:29:28 +0200
2061 Increase the default memory usage limit on "low-memory" systems.
2063 Previously the default limit was always 40 % of RAM. The
2064 new limit is a little bit more complex:
2066 - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used
2069 - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit.
2071 - Otherwise 80 % of RAM is used as the limit.
2073 This should make it possible to decompress files created with
2074 "xz -9" on more systems. Swapping is generally more expected
2075 on systems with less RAM, so higher default limit on them
2076 shouldn't cause too bad surprises in terms of heavy swapping.
2077 Instead, the higher default limit should reduce the number of
2078 bad surprises when it used to prevent decompression of files
2079 created with "xz -9". The DoS prevention system shouldn't be
2082 Note that even with the new default limit, a system with 64 MiB
2083 RAM cannot decompress files created with "xz -9" without user
2084 overriding the limit. This should be OK, because if xz is going
2085 to need more memory than the system has RAM, it will run very
2086 very slowly and thus it's good that user has to override the limit
2089 src/xz/hardware.c | 43 +++++++++++++++++++++++++++++++------------
2090 src/xz/xz.1 | 21 +++++++++++++++------
2091 src/xzdec/xzdec.1 | 8 ++++----
2092 src/xzdec/xzdec.c | 42 ++++++++++++++++++++++++++++++------------
2093 4 files changed, 80 insertions(+), 34 deletions(-)
2095 commit 5527b7269a997e7f335d60f237a64bbf225d9dc7
2096 Author: Lasse Collin <lasse.collin@tukaani.org>
2097 Date: 2010-03-06 21:36:19 +0200
2102 1 files changed, 1 insertions(+), 0 deletions(-)
2104 commit d0d1c51aea4351288a7e533cce28cb7f852f6b05
2105 Author: Lasse Collin <lasse.collin@tukaani.org>
2106 Date: 2010-03-06 21:17:20 +0200
2108 Fix missing initialization in lzma_strm_init().
2110 With bad luck, lzma_code() could return LZMA_BUF_ERROR
2113 This has been here since the early days of liblzma.
2114 It got triggered by the modifications made to the xz
2115 tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f
2116 but only when decompressing .lzma files. Somehow I managed
2117 to miss testing that with Valgrind earlier.
2119 This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>.
2120 Thanks to Rafał Mużyło for helping to debug it on IRC.
2122 src/liblzma/common/common.c | 1 +
2123 1 files changed, 1 insertions(+), 0 deletions(-)
2125 commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea
2126 Author: Lasse Collin <lasse.collin@tukaani.org>
2127 Date: 2010-02-12 13:16:15 +0200
2129 Collection of language fixes to comments and docs.
2131 Thanks to Jonathan Nieder.
2136 extra/7z2lzma/7z2lzma.bash | 2 +-
2137 src/common/tuklib_progname.c | 2 +-
2138 src/common/tuklib_progname.h | 2 +-
2139 src/liblzma/api/lzma/base.h | 8 ++++----
2140 src/liblzma/api/lzma/bcj.h | 2 +-
2141 src/liblzma/api/lzma/block.h | 2 +-
2142 src/liblzma/api/lzma/check.h | 2 +-
2143 src/liblzma/api/lzma/filter.h | 4 ++--
2144 src/liblzma/api/lzma/index.h | 6 +++---
2145 src/liblzma/api/lzma/lzma.h | 2 +-
2146 src/liblzma/api/lzma/version.h | 2 +-
2147 src/liblzma/api/lzma/vli.h | 2 +-
2148 src/liblzma/common/block_header_encoder.c | 2 +-
2149 src/liblzma/common/chunk_size.c | 4 ++--
2150 src/liblzma/common/common.h | 4 ++--
2151 src/liblzma/common/filter_buffer_decoder.c | 2 +-
2152 src/liblzma/common/filter_encoder.c | 4 ++--
2153 src/liblzma/common/index.c | 6 +++---
2154 src/liblzma/common/index_encoder.c | 2 +-
2155 src/liblzma/common/stream_encoder.c | 2 +-
2156 src/liblzma/common/vli_decoder.c | 2 +-
2157 src/liblzma/lz/lz_encoder.c | 2 +-
2158 src/liblzma/lz/lz_encoder.h | 2 +-
2159 src/liblzma/lzma/lzma2_encoder.c | 2 +-
2160 src/liblzma/lzma/lzma_decoder.c | 4 ++--
2161 src/liblzma/lzma/lzma_decoder.h | 2 +-
2162 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +-
2163 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +-
2164 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
2165 src/liblzma/simple/simple_coder.c | 2 +-
2166 src/liblzma/subblock/subblock_encoder.c | 2 +-
2167 src/scripts/xzdiff.1 | 2 +-
2168 src/scripts/xzless.1 | 10 +++++-----
2169 src/xz/coder.c | 2 +-
2170 src/xz/file_io.c | 2 +-
2171 src/xz/main.c | 6 +++---
2172 src/xz/main.h | 2 +-
2173 src/xz/message.c | 10 +++++-----
2174 src/xz/message.h | 2 +-
2175 src/xz/xz.1 | 16 ++++++++--------
2176 src/xzdec/lzmadec_w32res.rc | 2 +-
2177 src/xzdec/xzdec_w32res.rc | 2 +-
2178 tests/test_index.c | 2 +-
2179 windows/build.sh | 4 ++--
2180 47 files changed, 77 insertions(+), 77 deletions(-)
2182 commit 4785f2021aa6a23f1caf724fcc823e562584f225
2183 Author: Lasse Collin <lasse.collin@tukaani.org>
2184 Date: 2010-02-12 12:41:20 +0200
2186 Fix jl -> jb in ASM files.
2188 src/liblzma/check/crc32_x86.S | 2 +-
2189 src/liblzma/check/crc64_x86.S | 4 ++--
2190 2 files changed, 3 insertions(+), 3 deletions(-)
2192 commit 6b50c9429bf85521d355adc61745d06ee017f8c8
2193 Author: Lasse Collin <lasse.collin@tukaani.org>
2194 Date: 2010-02-12 12:31:22 +0200
2196 Use __APPLE__ instead of __MACH__ in ASM files.
2198 This allows the files to work on HURD.
2200 Thanks to Jonathan Nieder.
2202 src/liblzma/check/crc32_x86.S | 8 ++++----
2203 src/liblzma/check/crc64_x86.S | 8 ++++----
2204 2 files changed, 8 insertions(+), 8 deletions(-)
2206 commit 6503fde658a5cdbdd907a788865470dd64771601
2207 Author: Lasse Collin <lasse.collin@tukaani.org>
2208 Date: 2010-02-07 19:48:06 +0200
2210 Subtle change to liblzma Block handling API.
2212 lzma_block.version has to be initialized even for
2213 lzma_block_header_decode(). This way a future version
2214 of liblzma won't allocate memory in a way that an old
2215 application doesn't know how to free it.
2217 The subtlety of this change is that all current apps
2218 using lzma_block_header_decode() will keep working for
2219 now, because the only possible version value is zero,
2220 and lzma_block_header_decode() unconditionally sets the
2221 version to zero even now. Unless fixed, these apps will
2222 break in the future if a new version of the Block options
2225 src/liblzma/api/lzma/block.h | 39 +++++++++++++++-------------------
2226 src/liblzma/common/stream_decoder.c | 3 ++
2227 2 files changed, 20 insertions(+), 22 deletions(-)
2229 commit dd7c3841ff78cb94ce02b0220c6e4748460970f7
2230 Author: Lasse Collin <lasse.collin@tukaani.org>
2231 Date: 2010-02-02 11:50:11 +0200
2233 Fix wrong assertion.
2235 This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735.
2237 src/xz/main.c | 5 +++--
2238 1 files changed, 3 insertions(+), 2 deletions(-)
2240 commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be
2241 Author: Lasse Collin <lasse.collin@tukaani.org>
2242 Date: 2010-02-01 22:48:42 +0200
2247 1 files changed, 0 insertions(+), 4 deletions(-)
2249 commit fef6333f52c8801308c3b78acb7942988541d137
2250 Author: Lasse Collin <lasse.collin@tukaani.org>
2251 Date: 2010-02-01 22:47:54 +0200
2253 Fix typos in comments.
2255 src/xz/list.c | 2 +-
2256 windows/build.sh | 2 +-
2257 2 files changed, 2 insertions(+), 2 deletions(-)
2259 commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735
2260 Author: Lasse Collin <lasse.collin@tukaani.org>
2261 Date: 2010-02-01 22:46:56 +0200
2263 Fix signal handling for --list.
2265 src/xz/main.c | 19 ++++++++++++++-----
2266 1 files changed, 14 insertions(+), 5 deletions(-)
2268 commit 82220a149015616f75641ee8bbea415137535b9b
2269 Author: Lasse Collin <lasse.collin@tukaani.org>
2270 Date: 2010-02-01 11:44:45 +0200
2272 Fix compression of symlinks with --force.
2274 xz --force accepted symlinks, but didn't remove
2275 them after successful compression. Instead, an error
2276 message was displayed.
2278 src/xz/file_io.c | 14 +++++++++++++-
2279 1 files changed, 13 insertions(+), 1 deletions(-)
2281 commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e
2282 Author: Lasse Collin <lasse.collin@tukaani.org>
2283 Date: 2010-02-01 10:20:57 +0200
2287 windows/build.sh | 5 ++---
2288 1 files changed, 2 insertions(+), 3 deletions(-)
2290 commit f9dd797a423a148903cf345b4146cb1fe1eab11d
2291 Author: Lasse Collin <lasse.collin@tukaani.org>
2292 Date: 2010-01-31 23:43:54 +0200
2297 1 files changed, 1 insertions(+), 0 deletions(-)
2299 commit ee5ddb8b28419fe4923ded5c18a50570a762dcab
2300 Author: Lasse Collin <lasse.collin@tukaani.org>
2301 Date: 2010-01-31 23:41:29 +0200
2305 TODO | 17 +++++++++++------
2306 1 files changed, 11 insertions(+), 6 deletions(-)
2308 commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6
2309 Author: Lasse Collin <lasse.collin@tukaani.org>
2310 Date: 2010-01-31 23:35:04 +0200
2312 Mention TODO in README.
2315 1 files changed, 1 insertions(+), 0 deletions(-)
2317 commit 2901a8e7e82af05675b8cd8758a8ceddb111359f
2318 Author: Lasse Collin <lasse.collin@tukaani.org>
2319 Date: 2010-01-31 23:31:14 +0200
2323 INSTALL | 52 ++++++++++++++++++++++++++--------------------------
2324 1 files changed, 26 insertions(+), 26 deletions(-)
2326 commit 8884e16864ba53fb4b58623d7537d7ef30c28e11
2327 Author: Lasse Collin <lasse.collin@tukaani.org>
2328 Date: 2010-01-31 23:28:51 +0200
2330 Revise the Windows build files.
2332 The old Makefile + config.h was deleted, because it
2333 becomes outdated too easily and building with the
2334 Autotools based build system works fine even on Windows.
2336 windows/build.sh hasn't got much testing, but it should
2337 work to build 32-bit x86 and x86-64 versions of XZ Utils
2338 using MSYS, MinGW or MinGW-w32, and MinGW-w64.
2340 windows/INSTALL-Windows.txt describes what packages are
2341 needed and how to install them.
2343 windows/README-Windows.txt is a readme file for the binary
2344 package that build.sh hopefully builds.
2346 There are no instructions about using Autotools for now,
2347 so those using a git snapshot may want to run
2348 "autoreconf -fi && ./configure && make mydist" on a UN*X
2349 box and then copy the resulting .tar.gz to a Windows.
2351 windows/INSTALL-Windows.txt | 131 ++++++++++++++++++
2352 windows/Makefile | 320 -------------------------------------------
2353 windows/README | 155 ---------------------
2354 windows/README-Windows.txt | 115 ++++++++++++++++
2355 windows/build.sh | 189 +++++++++++++++++++++++++
2356 windows/config.h | 170 -----------------------
2357 6 files changed, 435 insertions(+), 645 deletions(-)
2359 commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c
2360 Author: Lasse Collin <lasse.collin@tukaani.org>
2361 Date: 2010-01-31 19:52:38 +0200
2363 Select the default integrity check type at runtime.
2365 Previously it was set statically to CRC64 or CRC32
2366 depending on options passed to the configure script.
2368 src/xz/coder.c | 19 ++++++++++++++-----
2369 1 files changed, 14 insertions(+), 5 deletions(-)
2371 commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1
2372 Author: Lasse Collin <lasse.collin@tukaani.org>
2373 Date: 2010-01-31 18:17:50 +0200
2375 Improve displaying of the memory usage limit.
2377 src/xz/coder.c | 8 +++-----
2378 src/xz/message.c | 37 +++++++++++++++++++++++++++++--------
2379 src/xz/util.c | 7 +++++++
2380 src/xz/util.h | 6 ++++++
2381 4 files changed, 45 insertions(+), 13 deletions(-)
2383 commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2
2384 Author: Lasse Collin <lasse.collin@tukaani.org>
2385 Date: 2010-01-31 12:53:56 +0200
2387 Don't use uninitialized sigset_t.
2389 If signal handlers haven't been established, then it's
2390 useless to try to block them, especially since the sigset_t
2391 used for blocking hasn't been initialized yet.
2393 src/xz/signals.c | 34 ++++++++++++++++++++++++----------
2394 1 files changed, 24 insertions(+), 10 deletions(-)
2396 commit 231c3c7098f1099a56abb8afece76fc9b8699f05
2397 Author: Lasse Collin <lasse.collin@tukaani.org>
2398 Date: 2010-01-31 12:01:54 +0200
2400 Delay opening the destionation file and other fixes.
2402 The opening of the destination file is now delayed a little.
2403 The coder is initialized, and if decompressing, the memory
2404 usage of the first Block compared against the memory
2405 usage limit before the destination file is opened. This
2406 means that if --force was used, the old "target" file won't
2407 be deleted so easily when something goes wrong very early.
2408 Thanks to Mark K for the bug report.
2410 The above fix required some changes to progress message
2411 handling. Now there is a separate function for setting and
2412 printing the filename. It is used also in list.c.
2414 list_file() now handles stdin correctly (gives an error).
2416 A useless check for user_abort was removed from file_io.c.
2418 src/xz/coder.c | 64 ++++++++++++++++++++++----------
2419 src/xz/file_io.c | 107 ++++++++++++++++++++++++++----------------------------
2420 src/xz/file_io.h | 8 +++-
2421 src/xz/list.c | 28 +++++----------
2422 src/xz/message.c | 46 +++++++++++++----------
2423 src/xz/message.h | 29 ++++++++++-----
2424 6 files changed, 157 insertions(+), 125 deletions(-)
2426 commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105
2427 Author: Lasse Collin <lasse.collin@tukaani.org>
2428 Date: 2010-01-29 22:48:04 +0200
2430 Add list.h to src/xz/Makefile.am.
2432 This should have been already in
2433 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1.
2435 src/xz/Makefile.am | 1 +
2436 1 files changed, 1 insertions(+), 0 deletions(-)
2438 commit b4b1a56e0cbd597157858264f5c7189201ac9018
2439 Author: Lasse Collin <lasse.collin@tukaani.org>
2440 Date: 2010-01-29 13:24:27 +0200
2442 Add lzmainfo.1 to manfiles list to convert to .txt and .pdf.
2445 1 files changed, 1 insertions(+), 0 deletions(-)
2447 commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95
2448 Author: Lasse Collin <lasse.collin@tukaani.org>
2449 Date: 2010-01-27 16:42:11 +0200
2451 Silence two compiler warnings on DOS-like systems.
2453 src/common/tuklib_open_stdxxx.c | 6 +++++-
2454 src/xz/file_io.c | 3 +++
2455 2 files changed, 8 insertions(+), 1 deletions(-)
2457 commit b063cc34a30a4edf109343ff373b2b62b8ca72d3
2458 Author: Lasse Collin <lasse.collin@tukaani.org>
2459 Date: 2010-01-27 13:31:03 +0200
2461 Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE.
2463 configure.ac | 9 ++-------
2464 src/liblzma/liblzma.pc.in | 2 +-
2465 src/lzmainfo/lzmainfo.c | 2 +-
2466 src/xz/message.c | 2 +-
2467 src/xzdec/xzdec.c | 2 +-
2468 5 files changed, 6 insertions(+), 11 deletions(-)
2470 commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f
2471 Author: Lasse Collin <lasse.collin@tukaani.org>
2472 Date: 2010-01-26 23:37:46 +0200
2474 Add a missing space to an error message.
2476 Thanks to Robert Readman.
2478 src/xz/args.c | 2 +-
2479 1 files changed, 1 insertions(+), 1 deletions(-)
2481 commit e5496f9628ff5979392a80421d0b63a4de8015b4
2482 Author: Lasse Collin <lasse.collin@tukaani.org>
2483 Date: 2010-01-26 22:53:37 +0200
2485 Use past tense in error message in io_unlink().
2487 Added a note to translators too.
2489 Thanks to Robert Readman.
2492 src/xz/file_io.c | 14 ++++++++++++--
2493 2 files changed, 13 insertions(+), 2 deletions(-)
2495 commit d9a9800597ea540090e434132c3b511217df0a2b
2496 Author: Lasse Collin <lasse.collin@tukaani.org>
2497 Date: 2010-01-26 15:42:24 +0200
2499 Fix too small static buffer in util.c.
2501 This was introduced in
2502 0dd6d007669b946543ca939a44243833c79e08f4 two days ago.
2504 src/xz/util.c | 9 ++++-----
2505 1 files changed, 4 insertions(+), 5 deletions(-)
2507 commit d0b4bbf5da068503c099cd456e294d7673548cc0
2508 Author: Lasse Collin <lasse.collin@tukaani.org>
2509 Date: 2010-01-26 14:46:43 +0200
2513 src/xz/main.c | 4 ++--
2514 1 files changed, 2 insertions(+), 2 deletions(-)
2516 commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1
2517 Author: Lasse Collin <lasse.collin@tukaani.org>
2518 Date: 2010-01-24 23:50:54 +0200
2520 Add initial version of xz --list.
2522 This is a bit rough but should be useful for basic things.
2523 Ideas (with detailed examples) about the output format are
2526 The output of --robot --list is not necessarily stable yet,
2527 although I don't currently have any plans about changing it.
2529 The man page hasn't been updated yet.
2531 src/xz/Makefile.am | 1 +
2532 src/xz/list.c | 988 +++++++++++++++++++++++++++++++++-------------------
2533 src/xz/list.h | 18 +
2534 src/xz/main.c | 19 +-
2535 src/xz/private.h | 1 +
2536 5 files changed, 668 insertions(+), 359 deletions(-)
2538 commit df254ce03be016e217b511e7acd5d493f9929ca5
2539 Author: Lasse Collin <lasse.collin@tukaani.org>
2540 Date: 2010-01-24 22:46:11 +0200
2544 It will be used by --list.
2546 src/xz/file_io.c | 25 +++++++++++++++++++++++++
2547 src/xz/file_io.h | 17 +++++++++++++++++
2548 2 files changed, 42 insertions(+), 0 deletions(-)
2550 commit ef68dd4a92976276304de2aedfbe34ae91a86abb
2551 Author: Lasse Collin <lasse.collin@tukaani.org>
2552 Date: 2010-01-24 22:45:14 +0200
2554 Set LC_NUMERIC=C when --robot is used.
2556 It is to ensure that floating point numbers
2557 will always have a dot as the decimal separator.
2559 src/xz/args.c | 4 ++++
2560 1 files changed, 4 insertions(+), 0 deletions(-)
2562 commit 0dd6d007669b946543ca939a44243833c79e08f4
2563 Author: Lasse Collin <lasse.collin@tukaani.org>
2564 Date: 2010-01-24 16:57:40 +0200
2566 Some improvements to printing sizes in xz.
2568 src/xz/coder.c | 56 ++++++++++++++-----------------------
2569 src/xz/message.c | 80 +++++++++++++++++-------------------------------------
2570 src/xz/message.h | 4 +++
2571 src/xz/util.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++
2572 src/xz/util.h | 44 +++++++++++++++++++++++++++++
2573 5 files changed, 166 insertions(+), 90 deletions(-)
2575 commit 2a98fdffd68c66371279c211c29153c808ad5c1d
2576 Author: Lasse Collin <lasse.collin@tukaani.org>
2577 Date: 2010-01-20 22:02:35 +0200
2579 Fix a typo in README.
2581 Thanks to R. Bijker.
2584 1 files changed, 1 insertions(+), 1 deletions(-)
2586 commit 07a11dad44e041b01dcfc73e8d4e00731158c06d
2587 Author: Lasse Collin <lasse.collin@tukaani.org>
2588 Date: 2010-01-17 11:59:54 +0200
2590 Updated windows/Makefile.
2592 Thanks to Dan Shechter for the patch.
2594 It is likely that windows/Makefile will be removed
2595 completely, because Autotols based build nowadays
2596 works well with both 32-bit and 64-bit MinGW (I
2597 just need to update the docs).
2599 windows/Makefile | 38 +++++++++++++++++++++++++-------------
2600 windows/config.h | 2 ++
2601 2 files changed, 27 insertions(+), 13 deletions(-)
2603 commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3
2604 Author: Lasse Collin <lasse.collin@tukaani.org>
2605 Date: 2010-01-15 11:05:11 +0200
2607 Update the xz man page to match the previous two commits.
2609 src/xz/xz.1 | 9 +++------
2610 1 files changed, 3 insertions(+), 6 deletions(-)
2612 commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7
2613 Author: Lasse Collin <lasse.collin@tukaani.org>
2614 Date: 2010-01-13 19:10:25 +0200
2616 Don't read compressed data from a terminal or write it
2617 to a terminal even if --force is specified.
2619 It just seems more reasonable this way.
2621 The new behavior matches bzip2. The old one matched gzip.
2623 src/xz/main.c | 20 +++++++++-----------
2624 src/xz/util.c | 8 ++++----
2625 2 files changed, 13 insertions(+), 15 deletions(-)
2627 commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4
2628 Author: Lasse Collin <lasse.collin@tukaani.org>
2629 Date: 2010-01-13 18:12:40 +0200
2631 Don't compress or decompress special files unless writing
2632 to stdout even if --force is used.
2634 --force will still enable compression of symlinks, but only
2635 in case they point to a regular file.
2637 The new way simply seems more reasonable. It matches gzip's
2638 behavior while the old one matched bzip2's behavior.
2640 src/xz/file_io.c | 15 ++++++++++-----
2641 1 files changed, 10 insertions(+), 5 deletions(-)
2643 commit cee12aa852ec0902983dc1f153346ef750157fb9
2644 Author: Lasse Collin <lasse.collin@tukaani.org>
2645 Date: 2010-01-12 16:30:33 +0200
2650 1 files changed, 1 insertions(+), 0 deletions(-)
2652 commit 153c7740c54b3c90129dbd3d6153ac1303c4d605
2653 Author: Lasse Collin <lasse.collin@tukaani.org>
2654 Date: 2010-01-12 16:18:14 +0200
2656 Add IRIX-specific code to tuklib_physmem and tuklib_cpucores.
2658 This is untested but it will get tested soon and, if needed,
2661 Thanks to Stuart Shelton.
2663 m4/tuklib_cpucores.m4 | 11 +++++++++--
2664 m4/tuklib_physmem.m4 | 22 +++++++++++++++++++++-
2665 src/common/tuklib_cpucores.c | 6 ++++++
2666 src/common/tuklib_physmem.c | 19 +++++++++++++++++++
2667 4 files changed, 55 insertions(+), 3 deletions(-)
2669 commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1
2670 Author: Lasse Collin <lasse.collin@tukaani.org>
2671 Date: 2010-01-01 00:29:10 +0200
2673 Fix _memconfig() functions.
2675 This affects lzma_memusage() and lzma_memlimit_get().
2677 src/liblzma/api/lzma/index.h | 7 -------
2678 src/liblzma/common/alone_decoder.c | 11 +++++++----
2679 src/liblzma/common/index_decoder.c | 10 ++++++----
2680 src/liblzma/common/stream_decoder.c | 11 +++++++----
2681 4 files changed, 20 insertions(+), 19 deletions(-)
2683 commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691
2684 Author: Lasse Collin <lasse.collin@tukaani.org>
2685 Date: 2009-12-31 22:45:53 +0200
2687 Revised the Index handling code.
2689 This breaks API and ABI but most apps are not affected
2690 since most apps don't use this part of the API. You will
2691 get a compile error if you are using anything that got
2696 - Ability to store Stream Flags, which are needed
2697 for random-access reading in multi-Stream files.
2699 - Separate function to set size of Stream Padding.
2701 - Iterator structure makes it possible to read the same
2702 lzma_index from multiple threads at the same time.
2704 - A lot faster code to locate Blocks.
2706 - Removed lzma_index_equal() without adding anything
2707 to replace it. I don't know what it should do exactly
2708 with the new features and what actually needs this
2709 function in the first place other than test_index.c,
2710 which now has its own code to compare lzma_indexes.
2712 src/liblzma/api/lzma/index.h | 572 ++++++++---
2713 src/liblzma/common/index.c | 1553 ++++++++++++++++++----------
2714 src/liblzma/common/index.h | 6 +
2715 src/liblzma/common/index_decoder.c | 12 +-
2716 src/liblzma/common/index_encoder.c | 36 +-
2717 src/liblzma/common/index_encoder.h | 2 +-
2718 src/liblzma/common/stream_buffer_encoder.c | 6 +-
2719 src/liblzma/common/stream_encoder.c | 3 +-
2720 tests/test_index.c | 371 +++++---
2721 9 files changed, 1703 insertions(+), 858 deletions(-)
2723 commit f29997a846e673cb3b8cbd57de47ed313b3978bb
2724 Author: Lasse Collin <lasse.collin@tukaani.org>
2725 Date: 2009-12-31 21:13:25 +0200
2727 Remove c-format tag in cs.po.
2729 It was fixed in the C code earlier.
2732 1 files changed, 0 insertions(+), 1 deletions(-)
2734 commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644
2735 Author: Lasse Collin <lasse.collin@tukaani.org>
2736 Date: 2009-12-31 21:11:05 +0200
2738 Add missing lzma_nothrow in filter.h.
2740 src/liblzma/api/lzma/filter.h | 4 ++--
2741 1 files changed, 2 insertions(+), 2 deletions(-)
2743 commit b56cb1fc31fa2381f92eefc040df85667048d626
2744 Author: Lasse Collin <lasse.collin@tukaani.org>
2745 Date: 2009-12-09 18:13:44 +0200
2747 Remove redefinition of _(msgid) macro from lzmainfo.c.
2749 src/lzmainfo/lzmainfo.c | 7 -------
2750 1 files changed, 0 insertions(+), 7 deletions(-)
2752 commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2
2753 Author: Jonathan Nieder <jrnieder@gmail.com>
2754 Date: 2009-12-08 19:41:57 -0600
2756 update po/.gitignore
2758 Since the *.gmo files are deleted by the maintainer-clean target,
2759 I assume they are not meant to be tracked.
2761 Also add the other files listed in the Makefile’s clean targets
2762 (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they
2763 are not accidentally tracked. Most of these are intermediate
2764 files that would not appear unless a build is interrupted or
2767 Split the list of untracked files by origin to make it easier to
2768 tell if files are missing in the future.
2770 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2772 po/.gitignore | 28 ++++++++++++++++++++++------
2773 1 files changed, 22 insertions(+), 6 deletions(-)
2775 commit f7e44c6c11f630519072971b8b07a5729c096c36
2776 Author: Lasse Collin <lasse.collin@tukaani.org>
2777 Date: 2009-12-09 00:38:55 +0200
2779 Always rely on GCC's auto-import on Windows.
2781 I understood that this is nicer, because then people
2782 don't need to worry about the LZMA_API_STATIC macro.
2784 Thanks to Charles Wilson and Keith Marshall.
2786 src/liblzma/api/lzma.h | 16 +++++++++-------
2787 1 files changed, 9 insertions(+), 7 deletions(-)
2789 commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c
2790 Author: Lasse Collin <lasse.collin@tukaani.org>
2791 Date: 2009-12-07 21:46:53 +0200
2793 Fix file_io.c on DOS-like systems.
2795 The problem was introduced when adding sparse file
2796 support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902.
2798 Thanks to Charles Wilson.
2800 src/xz/file_io.c | 4 ++++
2801 1 files changed, 4 insertions(+), 0 deletions(-)
2803 commit 0696f5d268362221380e039bad48a86e29067c6a
2804 Author: Lasse Collin <lasse.collin@tukaani.org>
2805 Date: 2009-12-07 20:54:21 +0200
2807 Add Czech translation.
2809 Thanks to Marek Černocký.
2811 Other people planning to translate xz: Note that the
2812 messages are a little bit in flux still. Translations
2813 are still welcome, just be prepared to some extra work
2814 in case there are changes.
2818 po/cs.po | 637 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2819 3 files changed, 639 insertions(+), 0 deletions(-)
2821 commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5
2822 Author: Lasse Collin <lasse.collin@tukaani.org>
2823 Date: 2009-12-07 20:32:08 +0200
2825 Add a note for translators to add a bug reporting address
2826 for translation bugs.
2828 src/xz/message.c | 4 ++++
2829 1 files changed, 4 insertions(+), 0 deletions(-)
2831 commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37
2832 Author: Lasse Collin <lasse.collin@tukaani.org>
2833 Date: 2009-12-07 20:07:02 +0200
2835 Prevent xgettext from taking one regular string as a C format string.
2837 Thanks to Marek Černocký.
2839 src/xz/message.c | 2 +-
2840 1 files changed, 1 insertions(+), 1 deletions(-)
2842 commit e0c2776b6ffbd2b1900fde353aceac734edc93d7
2843 Author: Lasse Collin <lasse.collin@tukaani.org>
2844 Date: 2009-11-28 17:45:22 +0200
2846 Remove duplicate code in io_open_dest().
2848 Fix a missing _() in the error message too.
2850 src/xz/file_io.c | 9 +--------
2851 1 files changed, 1 insertions(+), 8 deletions(-)
2853 commit f057a33c6f7c5992389479f2d4feabf2900ba7ee
2854 Author: Lasse Collin <lasse.collin@tukaani.org>
2855 Date: 2009-11-26 10:11:23 +0200
2857 Typo fix to sysdefs.h.
2859 Thanks to Jonathan Nieder.
2861 src/common/sysdefs.h | 2 +-
2862 1 files changed, 1 insertions(+), 1 deletions(-)
2864 commit 8767b41534eafdf5e742e12190646bf5740b0cdb
2865 Author: Lasse Collin <lasse.collin@tukaani.org>
2866 Date: 2009-11-26 10:10:36 +0200
2868 Fix a memory leak in test_index.c.
2870 This was introduced in
2871 bd13b04e202b6f495a68eb0766f97085b7c50a06.
2873 Thanks to Jim Meyering for noticing it.
2875 tests/test_index.c | 2 ++
2876 1 files changed, 2 insertions(+), 0 deletions(-)
2878 commit 919fbaff860acdaa4bcd216500a0b1c960a6db92
2879 Author: Lasse Collin <lasse.collin@tukaani.org>
2880 Date: 2009-11-25 14:22:19 +0200
2882 Add missing error check to coder.c.
2884 With bad luck this could cause a segfault due to
2885 reading (but not writing) past the end of the buffer.
2887 src/xz/coder.c | 20 +++++++++++---------
2888 1 files changed, 11 insertions(+), 9 deletions(-)
2890 commit bd13b04e202b6f495a68eb0766f97085b7c50a06
2891 Author: Lasse Collin <lasse.collin@tukaani.org>
2892 Date: 2009-11-25 13:04:10 +0200
2894 Fix bugs in lzma_index_read() and lzma_index_cat().
2896 lzma_index_read() didn't skip over Stream Padding
2897 if it was the first record in the Index.
2899 lzma_index_cat() didn't combine small Indexes correctly.
2901 The test suite was updated to check for these bugs.
2903 These bugs didn't affect the xz command line tool or
2904 most users of liblzma in any way.
2906 src/liblzma/common/index.c | 30 +++++++++++++++++++-----------
2907 tests/test_index.c | 28 +++++++++++++++++++++++++---
2908 2 files changed, 44 insertions(+), 14 deletions(-)
2910 commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa
2911 Author: Lasse Collin <lasse.collin@tukaani.org>
2912 Date: 2009-11-25 12:52:56 +0200
2914 Index decoder fixes.
2916 The Index decoder code didn't perfectly match the API docs,
2917 which said that *i will be set to point to the decoded Index
2918 only after decoding has succeeded. The docs were a bit unclear
2921 Now the decoder will initially set *i to NULL. *i will be set
2922 to point to the decoded Index once decoding has succeeded.
2923 This simplifies applications too, since it avoids dangling
2926 src/liblzma/api/lzma/index.h | 23 ++++++++++++-----------
2927 src/liblzma/common/index_decoder.c | 26 ++++++++++++++++++++------
2928 2 files changed, 32 insertions(+), 17 deletions(-)
2930 commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902
2931 Author: Lasse Collin <lasse.collin@tukaani.org>
2932 Date: 2009-11-25 11:19:20 +0200
2934 Create sparse files by default when decompressing into
2937 Sparse file creation can be disabled with --no-sparse.
2938 I don't promise yet that the name of this option won't
2939 change before 5.0.0. It's possible that the code, that
2940 checks when it is safe to use sparse output on stdout,
2941 is not good enough, and a more flexible command line
2942 option is needed to configure sparse file handling.
2944 src/xz/args.c | 6 ++
2945 src/xz/coder.c | 33 ++++----
2946 src/xz/file_io.c | 243 ++++++++++++++++++++++++++++++++++++++++++++++--------
2947 src/xz/file_io.h | 34 ++++++--
2948 src/xz/message.c | 1 +
2949 src/xz/xz.1 | 11 +++
2950 6 files changed, 272 insertions(+), 56 deletions(-)
2952 commit 37de544414fc2dc5039471d1002ebd015eb3e627
2953 Author: Lasse Collin <lasse.collin@tukaani.org>
2954 Date: 2009-11-22 12:43:06 +0200
2959 1 files changed, 1 insertions(+), 0 deletions(-)
2961 commit f1a28b96c900c658fe016852ff62f6c24d1f50fa
2962 Author: Lasse Collin <lasse.collin@tukaani.org>
2963 Date: 2009-11-22 12:05:33 +0200
2965 Add missing consts to pointer casts.
2967 src/liblzma/check/crc32_fast.c | 4 ++--
2968 src/liblzma/check/crc64_fast.c | 5 +++--
2969 2 files changed, 5 insertions(+), 4 deletions(-)
2971 commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef
2972 Author: Lasse Collin <lasse.collin@tukaani.org>
2973 Date: 2009-11-22 12:00:30 +0200
2975 Enable assembler code only if it is known to work
2976 on that operating system.
2978 I'm too lazy to think how to make a good Autoconf test
2979 for this and it's not that important anyway.
2981 No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64.
2982 Inline assembler (if any) is used if a macro like
2983 __i386__ or __x86_64__ is defined.
2985 configure.ac | 26 ++++++++++++--------------
2986 1 files changed, 12 insertions(+), 14 deletions(-)
2988 commit 0733f4c9994db696420a405810d5f02c79ebc404
2989 Author: Lasse Collin <lasse.collin@tukaani.org>
2990 Date: 2009-11-22 11:55:03 +0200
2992 Make fastpos.h use tuklib_integer.h instead of bsr.h
2993 when --enable-small has been specified.
2995 src/liblzma/common/Makefile.inc | 1 -
2996 src/liblzma/common/bsr.h | 60 ---------------------------------------
2997 src/liblzma/lzma/fastpos.h | 5 +--
2998 3 files changed, 1 insertions(+), 65 deletions(-)
3000 commit 7ac3985d891dcc5773543f84cc5bce6c14841b12
3001 Author: Lasse Collin <lasse.collin@tukaani.org>
3002 Date: 2009-11-22 11:52:30 +0200
3004 Update tuklib_integer.h with bit scan functions.
3006 Thanks to Joachim Henke for the original patch.
3008 src/common/tuklib_integer.h | 189 +++++++++++++++++++++++++++++++++++++++++--
3009 1 files changed, 181 insertions(+), 8 deletions(-)
3011 commit c74c132f7f79a842c073c66575a4fdb985e4c2e3
3012 Author: Lasse Collin <lasse.collin@tukaani.org>
3013 Date: 2009-11-20 12:51:19 +0200
3015 Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib,
3016 which now use AC_CACHE_CHECK. Using the cache variable,
3017 configure now warns if there is no method to detect the amount
3018 of RAM and recommends using --enable-assume-ram.
3020 configure.ac | 16 +++++++++++++++
3021 m4/tuklib_cpucores.m4 | 31 +++++++++++++++++------------
3022 m4/tuklib_physmem.m4 | 50 ++++++++++++++++++++++++++----------------------
3023 3 files changed, 61 insertions(+), 36 deletions(-)
3025 commit d315ca4930ff96e1428c6021c96f209e1abdd83e
3026 Author: Lasse Collin <lasse.collin@tukaani.org>
3027 Date: 2009-11-16 18:16:45 +0200
3029 Add support for --info-memory and --robot to xz.
3031 Currently --robot works only with --info-memory and
3032 --version. --help and --long-help work too, but --robot
3033 has no effect on them.
3035 Thanks to Jonathan Nieder for the original patches.
3037 src/xz/args.c | 85 +++++++++++++++++++++++++++++++----------------------
3039 src/xz/main.c | 11 ++++--
3040 src/xz/message.c | 47 ++++++++++++++++++++++-------
3041 src/xz/message.h | 4 ++
3042 src/xz/xz.1 | 40 +++++++++++++++++++++++--
3043 6 files changed, 133 insertions(+), 55 deletions(-)
3045 commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e
3046 Author: Lasse Collin <lasse.collin@tukaani.org>
3047 Date: 2009-11-15 12:54:45 +0200
3049 Fix wrong indentation caused by incorrect settings
3052 src/liblzma/lz/lz_decoder.c | 18 +++++++++---------
3053 src/liblzma/lzma/lzma2_encoder.c | 6 +++---
3054 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +-
3055 3 files changed, 13 insertions(+), 13 deletions(-)
3057 commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4
3058 Author: Lasse Collin <lasse.collin@tukaani.org>
3059 Date: 2009-11-15 12:40:17 +0200
3063 I had hoped to keep liblzma as purely a compression
3064 library as possible (e.g. file I/O will go into
3065 a different library), but it seems that applications
3066 linking agaisnt liblzma need some way to determine
3067 the memory usage limit, and knowing the amount of RAM
3068 is one reasonable way to help making such decisions.
3070 Thanks to Jonathan Nieder for the original patch.
3072 src/liblzma/Makefile.am | 5 ++-
3073 src/liblzma/api/Makefile.am | 1 +
3074 src/liblzma/api/lzma.h | 3 ++
3075 src/liblzma/api/lzma/hardware.h | 51 +++++++++++++++++++++++++++++++++
3076 src/liblzma/common/Makefile.inc | 1 +
3077 src/liblzma/common/hardware_physmem.c | 25 ++++++++++++++++
3078 src/xz/Makefile.am | 1 -
3079 src/xz/hardware.c | 3 +-
3080 src/xzdec/Makefile.am | 6 +--
3081 src/xzdec/xzdec.c | 3 +-
3082 10 files changed, 88 insertions(+), 11 deletions(-)
3084 commit cf39faca59083d38422058c6c97aa757ea7797d0
3085 Author: Lasse Collin <lasse.collin@tukaani.org>
3086 Date: 2009-11-14 20:21:19 +0200
3091 1 files changed, 1 insertions(+), 0 deletions(-)
3093 commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f
3094 Author: Lasse Collin <lasse.collin@tukaani.org>
3095 Date: 2009-11-14 20:20:03 +0200
3097 Some updates to xz man page.
3099 src/xz/xz.1 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++-----
3100 1 files changed, 49 insertions(+), 5 deletions(-)
3102 commit 19b2674f07f8b588dfaf6638396b4b42866d7e23
3103 Author: Lasse Collin <lasse.collin@tukaani.org>
3104 Date: 2009-11-14 19:51:03 +0200
3106 Fix description of --memory in --long-help.
3108 src/xz/message.c | 3 +--
3109 1 files changed, 1 insertions(+), 2 deletions(-)
3111 commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8
3112 Author: Lasse Collin <lasse.collin@tukaani.org>
3113 Date: 2009-11-14 19:45:39 +0200
3115 Update the debug programs so that they compile again.
3118 debug/memusage.c | 6 ++++--
3119 debug/sync_flush.c | 14 +++++++++-----
3120 3 files changed, 14 insertions(+), 7 deletions(-)
3122 commit 418d64a32e8144210f98a810738fed5a897e8367
3123 Author: Lasse Collin <lasse.collin@tukaani.org>
3124 Date: 2009-11-14 18:59:19 +0200
3126 Fix a design error in liblzma API.
3128 Originally the idea was that using LZMA_FULL_FLUSH
3129 with Stream encoder would read the filter chain
3130 from the same array that was used to intialize the
3131 Stream encoder. Since most apps wouldn't use
3132 LZMA_FULL_FLUSH, most apps wouldn't need to keep
3133 the filter chain available after initializing the
3134 Stream encoder. However, due to my mistake, it
3135 actually required keeping the array always available.
3137 Since setting the new filter chain via the array
3138 used at initialization time is not a nice way to do
3139 it for a couple of reasons, this commit ditches it
3140 and introduces lzma_filters_update(). This new function
3141 replaces also the "persistent" flag used by LZMA2
3142 (and to-be-designed Subblock filter), which was also
3143 an ugly thing to do.
3145 Thanks to Alexey Tourbin for reminding me about the problem
3146 that Stream encoder used to require keeping the filter
3149 src/liblzma/api/lzma/filter.h | 30 ++++++++++++
3150 src/liblzma/api/lzma/lzma.h | 13 -----
3151 src/liblzma/common/block_encoder.c | 14 ++++++
3152 src/liblzma/common/common.c | 20 ++++++++-
3153 src/liblzma/common/common.h | 22 +++++++++
3154 src/liblzma/common/easy_encoder.c | 63 ++------------------------
3155 src/liblzma/common/filter_common.c | 3 +
3156 src/liblzma/common/filter_encoder.c | 27 +++++++++++
3157 src/liblzma/common/filter_encoder.h | 2 +-
3158 src/liblzma/common/stream_encoder.c | 76 +++++++++++++++++++++++++++----
3159 src/liblzma/delta/delta_common.c | 5 +--
3160 src/liblzma/delta/delta_decoder.c | 3 +-
3161 src/liblzma/delta/delta_encoder.c | 17 +++++++-
3162 src/liblzma/delta/delta_private.h | 2 +-
3163 src/liblzma/lz/lz_encoder.c | 17 +++++++
3164 src/liblzma/lz/lz_encoder.h | 4 ++
3165 src/liblzma/lzma/lzma2_encoder.c | 59 ++++++++++++++----------
3166 src/liblzma/lzma/lzma_encoder_presets.c | 1 -
3167 src/liblzma/simple/simple_coder.c | 12 +++++
3168 src/xz/options.c | 1 -
3169 20 files changed, 273 insertions(+), 118 deletions(-)
3171 commit f0bf7634b77263a4dd02b20c71861ab67995da68
3172 Author: Lasse Collin <lasse.collin@tukaani.org>
3173 Date: 2009-10-17 11:11:58 +0300
3175 Fix wrong function name in the previous commit.
3177 It was meant to be lzma_filters_copy(), not lzma_filters_dup().
3179 src/liblzma/api/lzma/filter.h | 2 +-
3180 src/liblzma/common/filter_common.c | 2 +-
3181 2 files changed, 2 insertions(+), 2 deletions(-)
3183 commit 6d118a0b9def82e96afba7386ec8d7da0b59649f
3184 Author: Lasse Collin <lasse.collin@tukaani.org>
3185 Date: 2009-10-17 01:47:07 +0300
3187 Add lzma_filters_copy().
3189 This will be needed internally by liblzma once I fix
3190 a design mistake in the encoder API. This function may
3191 be useful to applications too so it's good to export it.
3193 src/liblzma/api/lzma/filter.h | 31 +++++++++++++
3194 src/liblzma/common/filter_common.c | 82 ++++++++++++++++++++++++++++++++++++
3195 2 files changed, 113 insertions(+), 0 deletions(-)
3197 commit 78e92c18470483e161388e679c1ee556adb3a691
3198 Author: Jonathan Nieder <jrnieder@gmail.com>
3199 Date: 2009-10-15 20:44:13 -0500
3201 Escape dashes in xzmore.1
3203 A minus sign is larger, easier to see in a printout, and more
3204 likely to use the same glyph as ASCII hyphen-minus in a terminal
3205 than a hyphen. Since broken manual pagers do not find hyphens
3206 when the user searches for a hyphen-minus, minus signs are also
3207 easier to search for. So use minus signs instead of hyphens to
3208 render sample terminal output.
3210 src/scripts/xzmore.1 | 4 ++--
3211 1 files changed, 2 insertions(+), 2 deletions(-)
3213 commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee
3214 Author: Lasse Collin <lasse.collin@tukaani.org>
3215 Date: 2009-10-16 20:35:39 +0300
3217 Mention --check=none in --long-help. It was already in
3218 the man page though.
3220 Thanks to Jim Meyering for noticing this.
3222 src/xz/message.c | 2 +-
3223 1 files changed, 1 insertions(+), 1 deletions(-)
3225 commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24
3226 Author: Lasse Collin <lasse.collin@tukaani.org>
3227 Date: 2009-10-04 22:57:12 +0300
3229 Use a tuklib module for integer handling.
3231 This replaces bswap.h and integer.h.
3233 The tuklib module uses <byteswap.h> on GNU,
3234 <sys/endian.h> on *BSDs and <sys/byteorder.h>
3235 on Solaris, which may contain optimized code
3236 like inline assembly.
3238 configure.ac | 54 +-----
3239 m4/tuklib_integer.m4 | 74 ++++++
3240 src/common/bswap.h | 52 -----
3241 src/common/integer.h | 170 --------------
3242 src/common/tuklib_config.h | 8 +-
3243 src/common/tuklib_integer.h | 350 +++++++++++++++++++++++++++++
3244 src/liblzma/check/check.c | 4 +-
3245 src/liblzma/check/crc32_fast.c | 4 +-
3246 src/liblzma/check/crc32_tablegen.c | 8 +-
3247 src/liblzma/check/crc64_fast.c | 4 +-
3248 src/liblzma/check/crc64_tablegen.c | 8 +-
3249 src/liblzma/check/crc_macros.h | 2 -
3250 src/liblzma/check/sha256.c | 18 +--
3251 src/liblzma/common/alone_encoder.c | 2 +-
3252 src/liblzma/common/block_header_decoder.c | 2 +-
3253 src/liblzma/common/block_header_encoder.c | 2 +-
3254 src/liblzma/common/common.h | 2 +-
3255 src/liblzma/common/stream_flags_decoder.c | 6 +-
3256 src/liblzma/common/stream_flags_encoder.c | 6 +-
3257 src/liblzma/lz/lz_encoder_hash.h | 2 +-
3258 src/liblzma/lzma/lzma_decoder.c | 2 +-
3259 src/liblzma/lzma/lzma_encoder.c | 2 +-
3260 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
3261 src/liblzma/simple/simple_decoder.c | 2 +-
3262 src/liblzma/simple/simple_encoder.c | 2 +-
3263 tests/test_block_header.c | 4 +-
3264 tests/test_stream_flags.c | 6 +-
3265 tests/tests.h | 2 +-
3266 28 files changed, 467 insertions(+), 333 deletions(-)
3268 commit 29fd321033276261b87da7be5223db33d879a4c7
3269 Author: Lasse Collin <lasse.collin@tukaani.org>
3270 Date: 2009-10-02 14:35:56 +0300
3272 Add support for --enable-assume-ram=SIZE.
3274 INSTALL | 16 ++++++++++++++++
3275 configure.ac | 24 ++++++++++++++++++++++++
3276 src/xz/hardware.c | 7 +++----
3277 src/xzdec/xzdec.c | 5 +++--
3278 4 files changed, 46 insertions(+), 6 deletions(-)
3280 commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25
3281 Author: Lasse Collin <lasse.collin@tukaani.org>
3282 Date: 2009-10-02 11:28:17 +0300
3284 Use unaligned access (if possible) on both endiannesses
3285 in lz_encoder_hash.h.
3287 src/liblzma/lz/lz_encoder_hash.h | 4 ++--
3288 1 files changed, 2 insertions(+), 2 deletions(-)
3290 commit c5f68b5cc79085a87f950fea53843e27f328068e
3291 Author: Lasse Collin <lasse.collin@tukaani.org>
3292 Date: 2009-10-02 11:03:26 +0300
3294 Make liblzma produce the same output on both endiannesses.
3296 Seems that it is a problem in some cases if the same
3297 version of XZ Utils produces different output on different
3298 endiannesses, so this commit fixes that problem. The output
3299 will still vary between different XZ Utils versions, but I
3300 cannot avoid that for now.
3302 This commit bloatens the code on big endian systems by 1 KiB,
3303 which should be OK since liblzma is bloated already. ;-)
3305 src/liblzma/check/crc32_tablegen.c | 30 ++++++++++++++
3306 src/liblzma/lz/Makefile.inc | 1 +
3307 src/liblzma/lz/lz_encoder.c | 7 +++-
3308 src/liblzma/lz/lz_encoder_hash.h | 35 +++++++++++------
3309 src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++
3310 src/liblzma/lz/lz_encoder_mf.c | 1 -
3311 6 files changed, 128 insertions(+), 14 deletions(-)
3313 commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a
3314 Author: Mike Frysinger <vapier@gentoo.org>
3315 Date: 2009-09-26 12:51:50 -0400
3317 add lzmainfo to gitignore
3319 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
3322 1 files changed, 2 insertions(+), 0 deletions(-)
3324 commit 188a1dcd0cc7867810ed3a55c598d0680922c63b
3325 Author: Lasse Collin <lasse.collin@tukaani.org>
3326 Date: 2009-09-27 11:53:36 +0300
3331 1 files changed, 1 insertions(+), 0 deletions(-)
3333 commit db9119b9181b307e7ac5d2bae82444d04b902b59
3334 Author: Lasse Collin <lasse.collin@tukaani.org>
3335 Date: 2009-09-27 11:48:54 +0300
3337 Work around a bug in Interix header files.
3339 Thanks to Markus Duft for the patch.
3341 src/common/sysdefs.h | 6 ++++++
3342 1 files changed, 6 insertions(+), 0 deletions(-)
3344 commit b3d105e69786a45963176fd2193abe75e05ba738
3345 Author: Lasse Collin <lasse.collin@tukaani.org>
3346 Date: 2009-09-24 17:50:17 +0300
3348 Fix an error in OpenVMS-specific code.
3350 Thanks to Jouk Jansen.
3352 src/xz/file_io.c | 2 +-
3353 1 files changed, 1 insertions(+), 1 deletions(-)
3355 commit 5e000ff00d4d01e559397b49eb648ad3f159d496
3356 Author: Lasse Collin <lasse.collin@tukaani.org>
3357 Date: 2009-09-22 18:59:56 +0300
3359 Added OpenVMS-specific information to INSTALL.
3361 INSTALL | 11 +++++++++++
3362 1 files changed, 11 insertions(+), 0 deletions(-)
3364 commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4
3365 Author: Lasse Collin <lasse.collin@tukaani.org>
3366 Date: 2009-09-22 14:03:02 +0300
3368 Better fixes for OpenVMS support.
3370 Thanks to Jouk Jansen.
3372 src/xz/file_io.c | 19 ++++++++++++++++---
3373 1 files changed, 16 insertions(+), 3 deletions(-)
3375 commit 4c3630ec4179fe9265407a35c4db1374ffc82372
3376 Author: Lasse Collin <lasse.collin@tukaani.org>
3377 Date: 2009-09-22 13:40:19 +0300
3379 Avoid non-standard preprocessor construct.
3381 Thanks to Jouk Jansen.
3383 src/common/tuklib_common.h | 11 +++++++----
3384 1 files changed, 7 insertions(+), 4 deletions(-)
3386 commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9
3387 Author: Lasse Collin <lasse.collin@tukaani.org>
3388 Date: 2009-09-21 19:50:09 +0300
3390 Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
3392 Thanks to Charles Wilson.
3394 src/common/tuklib_common.h | 3 ++-
3395 1 files changed, 2 insertions(+), 1 deletions(-)
3397 commit e599bba4216c0edb8cc8f40adad3a6dba88685f4
3398 Author: Lasse Collin <lasse.collin@tukaani.org>
3399 Date: 2009-09-19 09:47:30 +0300
3403 Separate a few reusable components from XZ Utils specific
3404 code. The reusable code is now in "tuklib" modules. A few
3405 more could be separated still, e.g. bswap.h.
3407 Fix some bugs in lzmainfo.
3409 Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol
3412 Add OpenVMS support into physmem. Add a few #ifdefs to ease
3413 building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the
3417 configure.ac | 12 +--
3418 m4/lc_cpucores.m4 | 57 ---------------
3419 m4/lc_physmem.m4 | 84 ----------------------
3420 m4/tuklib_common.m4 | 22 ++++++
3421 m4/tuklib_cpucores.m4 | 72 +++++++++++++++++++
3422 m4/tuklib_physmem.m4 | 119 +++++++++++++++++++++++++++++++
3423 m4/tuklib_progname.m4 | 25 +++++++
3424 src/common/cpucores.h | 51 --------------
3425 src/common/open_stdxxx.h | 49 -------------
3426 src/common/physmem.h | 144 --------------------------------------
3427 src/common/sysdefs.h | 4 -
3428 src/common/tuklib_common.h | 67 ++++++++++++++++++
3429 src/common/tuklib_config.h | 1 +
3430 src/common/tuklib_cpucores.c | 46 ++++++++++++
3431 src/common/tuklib_cpucores.h | 23 ++++++
3432 src/common/tuklib_exit.c | 57 +++++++++++++++
3433 src/common/tuklib_exit.h | 25 +++++++
3434 src/common/tuklib_gettext.h | 44 ++++++++++++
3435 src/common/tuklib_open_stdxxx.c | 51 ++++++++++++++
3436 src/common/tuklib_open_stdxxx.h | 23 ++++++
3437 src/common/tuklib_physmem.c | 146 +++++++++++++++++++++++++++++++++++++++
3438 src/common/tuklib_physmem.h | 28 ++++++++
3439 src/common/tuklib_progname.c | 50 +++++++++++++
3440 src/common/tuklib_progname.h | 32 +++++++++
3441 src/lzmainfo/Makefile.am | 5 +-
3442 src/lzmainfo/lzmainfo.c | 65 +++++------------
3443 src/xz/Makefile.am | 7 ++-
3444 src/xz/args.c | 8 +--
3445 src/xz/file_io.c | 43 ++++++------
3446 src/xz/hardware.c | 8 +-
3447 src/xz/main.c | 100 ++++++---------------------
3448 src/xz/main.h | 7 --
3449 src/xz/message.c | 30 ++++----
3450 src/xz/message.h | 8 +-
3451 src/xz/private.h | 11 +--
3452 src/xz/signals.c | 2 +
3453 src/xz/signals.h | 17 ++---
3454 src/xz/suffix.c | 2 +-
3455 src/xzdec/Makefile.am | 13 +++-
3456 src/xzdec/xzdec.c | 55 ++++-----------
3457 41 files changed, 974 insertions(+), 640 deletions(-)
3459 commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef
3460 Author: Lasse Collin <lasse.collin@tukaani.org>
3461 Date: 2009-09-15 21:07:23 +0300
3463 Fix incorrect use of "restrict".
3465 src/liblzma/api/lzma/vli.h | 4 ++--
3466 src/liblzma/common/vli_decoder.c | 2 +-
3467 src/liblzma/common/vli_encoder.c | 2 +-
3468 3 files changed, 4 insertions(+), 4 deletions(-)
3470 commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c
3471 Author: Lasse Collin <lasse.collin@tukaani.org>
3472 Date: 2009-09-12 14:09:17 +0300
3474 Fix GCC version check for nothrow attribute.
3476 src/liblzma/api/lzma.h | 2 +-
3477 1 files changed, 1 insertions(+), 1 deletions(-)
3479 commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224
3480 Author: Lasse Collin <lasse.collin@tukaani.org>
3481 Date: 2009-09-12 14:08:15 +0300
3486 1 files changed, 1 insertions(+), 0 deletions(-)
3488 commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac
3489 Author: Lasse Collin <lasse.collin@tukaani.org>
3490 Date: 2009-09-12 14:07:36 +0300
3492 A few grammar fixes.
3494 Thanks to Christian Weisgerber for pointing out some of these.
3496 src/liblzma/api/lzma.h | 4 ++--
3497 src/liblzma/api/lzma/vli.h | 4 ++--
3498 src/liblzma/common/block_header_encoder.c | 2 +-
3499 src/liblzma/common/filter_common.c | 2 +-
3500 src/liblzma/lz/lz_encoder.h | 10 +++++-----
3501 src/xz/message.c | 22 +++++++++++-----------
3502 src/xzdec/xzdec.c | 2 +-
3503 7 files changed, 23 insertions(+), 23 deletions(-)
3505 commit 8905a33daadcd2d6557c83c81c490b827d566c94
3506 Author: Lasse Collin <lasse.collin@tukaani.org>
3507 Date: 2009-09-11 17:08:15 +0300
3512 1 files changed, 1 insertions(+), 0 deletions(-)
3514 commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9
3515 Author: Lasse Collin <lasse.collin@tukaani.org>
3516 Date: 2009-09-11 17:06:32 +0300
3518 Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.
3520 dos/config.h | 3 +++
3521 windows/config.h | 3 +++
3522 2 files changed, 6 insertions(+), 0 deletions(-)
3524 commit 221be761f467da76875247bc02d7a1716682075d
3525 Author: Lasse Collin <lasse.collin@tukaani.org>
3526 Date: 2009-09-11 10:24:09 +0300
3528 Use $(LN_EXEEXT) in symlinks to executables.
3530 This fixes "make install" on operating systems using
3531 a suffix for executables.
3533 Cygwin is treated specially. The symlink names won't have
3534 .exe suffix even though the executables themselves have.
3535 Thanks to Charles Wilson.
3537 configure.ac | 9 +++++++++
3538 src/xz/Makefile.am | 4 ++--
3539 2 files changed, 11 insertions(+), 2 deletions(-)
3541 commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c
3542 Author: Lasse Collin <lasse.collin@tukaani.org>
3543 Date: 2009-09-11 09:25:09 +0300
3545 Fix a couple of warnings.
3547 src/liblzma/common/stream_decoder.c | 2 +-
3548 src/liblzma/lz/lz_encoder.c | 5 +----
3549 src/liblzma/lzma/lzma_encoder.c | 2 +-
3550 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++----
3551 tests/tests.h | 2 +-
3552 5 files changed, 8 insertions(+), 11 deletions(-)
3554 commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4
3555 Author: Lasse Collin <lasse.collin@tukaani.org>
3556 Date: 2009-09-05 18:39:21 +0300
3558 Add OS/2-specific code to physmem.h.
3560 Also move DJGPP-specific code near the code meant
3561 for other DOS-like systems.
3563 src/common/physmem.h | 32 +++++++++++++++++++++-----------
3564 1 files changed, 21 insertions(+), 11 deletions(-)
3566 commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740
3567 Author: Lasse Collin <lasse.collin@tukaani.org>
3568 Date: 2009-09-05 01:21:15 +0300
3573 1 files changed, 2 insertions(+), 0 deletions(-)
3575 commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071
3576 Author: Lasse Collin <lasse.collin@tukaani.org>
3577 Date: 2009-09-05 01:20:29 +0300
3579 Use sysctl() != -1 instead of !sysctl() to check if
3580 the function call succeeded.
3582 NetBSD 4.0 returns positive values on success, but
3583 NetBSD Current and FreeBSD return zero. OpenBSD's
3584 man page doesn't tell what sysctl() returns on
3585 success. All these BSDs return -1 on error.
3587 Thanks to Robert Elz and Thomas Klausner.
3589 src/common/cpucores.h | 2 +-
3590 src/common/physmem.h | 2 +-
3591 2 files changed, 2 insertions(+), 2 deletions(-)
3593 commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32
3594 Author: Lasse Collin <lasse.collin@tukaani.org>
3595 Date: 2009-09-02 09:43:51 +0300
3597 Mention in INSTALL that --enable-small doesn't modify CFLAGS.
3600 1 files changed, 4 insertions(+), 0 deletions(-)
3602 commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc
3603 Author: Lasse Collin <lasse.collin@tukaani.org>
3604 Date: 2009-09-01 20:40:01 +0300
3606 Refactored option parsing.
3608 src/xz/options.c | 70 +++++++++++++++++++++++++++---------------------------
3609 1 files changed, 35 insertions(+), 35 deletions(-)
3611 commit 25adaaa56e2e51a47a910a8d73452414619a2e53
3612 Author: Lasse Collin <lasse.collin@tukaani.org>
3613 Date: 2009-09-01 20:23:30 +0300
3615 Fix options parsing bug in xz.
3617 xz used to reject "xz --lzma2=pb=2," while
3618 "xz --lzma2=pb=2,," worked. Now both work.
3620 src/xz/options.c | 6 ++----
3621 1 files changed, 2 insertions(+), 4 deletions(-)
3623 commit 5f6dddc6c911df02ba660564e78e6de80947c947
3624 Author: Lasse Collin <lasse.collin@tukaani.org>
3625 Date: 2009-09-01 20:20:19 +0300
3630 1 files changed, 3 insertions(+), 0 deletions(-)
3632 commit 655457b9ada5ec7db398c5392e41290f3f332ea8
3633 Author: Lasse Collin <lasse.collin@tukaani.org>
3634 Date: 2009-08-31 21:59:25 +0300
3636 Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
3637 and use a fix that works on all systems using
3640 Maybe the assembler code is used e.g. on Solaris x86
3641 but let's worry about it if this doesn't work on it.
3643 src/liblzma/check/crc32_x86.S | 7 ++-----
3644 src/liblzma/check/crc64_x86.S | 7 ++-----
3645 2 files changed, 4 insertions(+), 10 deletions(-)
3647 commit 162189c3477953805a28f96d3a75cb9ab9417928
3648 Author: Lasse Collin <lasse.collin@tukaani.org>
3649 Date: 2009-08-30 17:29:19 +0300
3654 1 files changed, 1 insertions(+), 0 deletions(-)
3656 commit 2331f5f97af3e5897e23da45d9df3d664099c7f8
3657 Author: Lasse Collin <lasse.collin@tukaani.org>
3658 Date: 2009-08-30 17:28:52 +0300
3660 Add more OS/2 specific info to INSTALL.
3663 1 files changed, 5 insertions(+), 0 deletions(-)
3665 commit 94c66b3297b3ad307eee93cf6b160e3c43997f11
3666 Author: Lasse Collin <lasse.collin@tukaani.org>
3667 Date: 2009-08-29 14:43:52 +0300
3669 Use even more hackish way to support thousand separators.
3671 Seems that in addition on Windows and DOS, also OpenBSD
3672 lacks support for %'d style printf() format strings.
3673 So far that is the only modern POSIX-like system I know
3674 with this problem, but after this hack, the thousand
3675 separator shouldn't be a problem on any system.
3677 Maybe testing if a format string like %'d produces
3678 reasonable output is invoking undefined behavior on some
3679 systems, but so far all the problematic systems I've tried
3680 just print the raw format string (e.g. %'d prints 'd).
3682 Maybe Autoconf test would have been better, but this
3683 hack works also for cross-compilation, and avoids
3684 recompilation in case the system libc starts to support
3685 the thousand separator.
3687 src/xz/util.c | 36 +++++++++++++++++++++++++-----------
3688 1 files changed, 25 insertions(+), 11 deletions(-)
3690 commit 3432e9c6aab851da1227b63dce645d7f190c04d8
3691 Author: Lasse Collin <lasse.collin@tukaani.org>
3692 Date: 2009-08-29 13:42:56 +0300
3697 1 files changed, 3 insertions(+), 0 deletions(-)
3699 commit 27414daadf5727e8ab942374b5ec1c8990122878
3700 Author: Lasse Collin <lasse.collin@tukaani.org>
3701 Date: 2009-08-29 13:39:21 +0300
3705 This fixes build on *BSDs and Darwin.
3707 Thanks to Jukka Salmi for the patches.
3708 Richard Koch reported the problem too.
3710 m4/lc_cpucores.m4 | 2 +-
3711 m4/lc_physmem.m4 | 2 +-
3712 src/common/cpucores.h | 2 +-
3713 src/common/physmem.h | 2 +-
3714 4 files changed, 4 insertions(+), 4 deletions(-)
3716 commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
3717 Author: Lasse Collin <lasse.collin@tukaani.org>
3718 Date: 2009-08-29 13:35:23 +0300
3720 Fix x86 assembler on GCC 3.
3722 Thanks to Karl Berry.
3724 src/liblzma/check/crc32_x86.S | 7 +++++--
3725 src/liblzma/check/crc64_x86.S | 7 +++++--
3726 2 files changed, 10 insertions(+), 4 deletions(-)
3728 commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8
3729 Author: Lasse Collin <lasse.collin@tukaani.org>
3730 Date: 2009-08-27 18:36:59 +0300
3734 Makefile.am | 13 ++++++-------
3735 1 files changed, 6 insertions(+), 7 deletions(-)
3737 commit c8c184db1c95bf70f78256ec6237845a57f342af
3738 Author: Lasse Collin <lasse.collin@tukaani.org>
3739 Date: 2009-08-27 17:08:33 +0300
3741 Update xz man page date.
3744 1 files changed, 1 insertions(+), 1 deletions(-)
3746 commit 9756fce565e98b8fa5fe6ead296d84e7601ec254
3747 Author: Lasse Collin <lasse.collin@tukaani.org>
3748 Date: 2009-08-27 17:00:22 +0300
3750 Fix the debug directory.
3752 6a2eb54092fc625d59921a607ff68cd1a90aa898 and
3753 71f18e8a066a01dda0c8e5508b135ef104e43e4c required
3754 some changes that weren't applied in debug.
3756 debug/Makefile.am | 5 +++--
3757 debug/full_flush.c | 1 +
3758 debug/known_sizes.c | 1 +
3759 debug/memusage.c | 1 +
3760 debug/sync_flush.c | 1 +
3761 5 files changed, 7 insertions(+), 2 deletions(-)
3763 commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea
3764 Author: Lasse Collin <lasse.collin@tukaani.org>
3765 Date: 2009-08-27 16:36:40 +0300
3767 Add missing files to EXTRA_DIST.
3769 Makefile.am | 11 +++++++----
3770 1 files changed, 7 insertions(+), 4 deletions(-)
3772 commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d
3773 Author: Lasse Collin <lasse.collin@tukaani.org>
3774 Date: 2009-08-27 16:21:22 +0300
3776 Bumped version to 4.999.9beta.
3778 src/liblzma/api/lzma/version.h | 2 +-
3779 1 files changed, 1 insertions(+), 1 deletions(-)
3781 commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4
3782 Author: Lasse Collin <lasse.collin@tukaani.org>
3783 Date: 2009-08-27 16:17:47 +0300
3788 1 files changed, 2 insertions(+), 0 deletions(-)
3790 commit c29e76c0f910fca0a90a50b78d337f6c32623e9d
3791 Author: Lasse Collin <lasse.collin@tukaani.org>
3792 Date: 2009-08-27 16:12:52 +0300
3794 .xz file format specification 1.0.4 (probably).
3796 Thanks to Christian von Roques, Peter Lawler,
3797 and Jim Meyering for the fixes.
3799 doc/xz-file-format.txt | 26 +++++++++++++++-----------
3800 1 files changed, 15 insertions(+), 11 deletions(-)
3802 commit 696d7ee3953beaf4f0ed18e78917ccf300431966
3803 Author: Lasse Collin <lasse.collin@tukaani.org>
3804 Date: 2009-08-27 15:43:54 +0300
3806 Require GNU libtool 2.2.
3808 configure.ac | 13 +++----------
3809 1 files changed, 3 insertions(+), 10 deletions(-)
3811 commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d
3812 Author: Lasse Collin <lasse.collin@tukaani.org>
3813 Date: 2009-08-27 15:34:45 +0300
3815 Add "dos" to EXTRA_DIST.
3818 1 files changed, 1 insertions(+), 0 deletions(-)
3820 commit 35b29e4424ced5a3ababf132283e519080c7b298
3821 Author: Lasse Collin <lasse.collin@tukaani.org>
3822 Date: 2009-08-27 15:23:27 +0300
3827 1 files changed, 6 insertions(+), 0 deletions(-)
3829 commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea
3830 Author: Lasse Collin <lasse.collin@tukaani.org>
3831 Date: 2009-08-27 15:17:00 +0300
3833 Some xz man page improvements.
3835 src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++------------
3836 1 files changed, 62 insertions(+), 16 deletions(-)
3838 commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d
3839 Author: Lasse Collin <lasse.collin@tukaani.org>
3840 Date: 2009-08-27 10:41:01 +0300
3842 Removed doc/bugs.txt.
3844 doc/bugs.txt | 46 ----------------------------------------------
3845 1 files changed, 0 insertions(+), 46 deletions(-)
3847 commit d88c4072b36d3a76f839185799fb1d91037a1b81
3848 Author: Lasse Collin <lasse.collin@tukaani.org>
3849 Date: 2009-08-27 10:40:25 +0300
3853 It now includes bug reporting instructions/tips.
3855 README | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
3856 1 files changed, 55 insertions(+), 10 deletions(-)
3858 commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e
3859 Author: Lasse Collin <lasse.collin@tukaani.org>
3860 Date: 2009-08-27 10:21:18 +0300
3864 Thanks to Jim Meyering.
3866 (From now on, I try to always remember to put
3867 the relevant thanks to commit messages.)
3870 1 files changed, 1 insertions(+), 1 deletions(-)
3872 commit 3e2ba8b58585743e59251e69ad2783eb08357079
3873 Author: Lasse Collin <lasse.collin@tukaani.org>
3874 Date: 2009-08-27 10:13:46 +0300
3876 Updates to liblzma API headers.
3878 Added lzma_nothrow for every function. It adds
3879 throw() when the header is used in C++ code.
3881 Some lzma_attrs were added or removed.
3883 Lots of comments were improved.
3885 src/liblzma/api/lzma.h | 20 +++++++
3886 src/liblzma/api/lzma/base.h | 48 +++++++++--------
3887 src/liblzma/api/lzma/block.h | 38 +++++++-------
3888 src/liblzma/api/lzma/check.h | 22 ++++----
3889 src/liblzma/api/lzma/container.h | 36 +++++++------
3890 src/liblzma/api/lzma/filter.h | 81 ++++++++++++++++++-----------
3891 src/liblzma/api/lzma/index.h | 97 +++++++++++++++++++++--------------
3892 src/liblzma/api/lzma/index_hash.h | 14 +++--
3893 src/liblzma/api/lzma/lzma.h | 87 ++++++++++++++++---------------
3894 src/liblzma/api/lzma/stream_flags.h | 12 ++--
3895 src/liblzma/api/lzma/version.h | 10 ++--
3896 src/liblzma/api/lzma/vli.h | 7 ++-
3897 12 files changed, 275 insertions(+), 197 deletions(-)
3899 commit 8e8ebc17c535a1f8846718059b48417409c37050
3900 Author: Lasse Collin <lasse.collin@tukaani.org>
3901 Date: 2009-08-18 00:30:09 +0300
3906 1 files changed, 1 insertions(+), 0 deletions(-)
3908 commit b198e770a146e4a41f91a93f0b233713f2515848
3909 Author: Lasse Collin <lasse.collin@tukaani.org>
3910 Date: 2009-08-18 00:26:48 +0300
3914 Some questions worth answering were removed, because I
3915 currently don't have good up to date answers to them.
3917 doc/faq.txt | 239 ++++++++++++++++++-----------------------------------------
3918 1 files changed, 73 insertions(+), 166 deletions(-)
3920 commit fe111a25cd788d31b581996e4533910388a7f0a9
3921 Author: Lasse Collin <lasse.collin@tukaani.org>
3922 Date: 2009-08-17 22:45:50 +0300
3924 Some xz man changes.
3926 src/xz/xz.1 | 88 +++++++++++++++++++++++++++++------------------------------
3927 1 files changed, 43 insertions(+), 45 deletions(-)
3929 commit 10242a21e9abda0c5c6a03501703cc40b8a699a5
3930 Author: Lasse Collin <lasse.collin@tukaani.org>
3931 Date: 2009-08-16 22:15:42 +0300
3936 1 files changed, 1 insertions(+), 0 deletions(-)
3938 commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d
3939 Author: Lasse Collin <lasse.collin@tukaani.org>
3940 Date: 2009-08-16 22:15:13 +0300
3942 Fix data corruption in LZ/LZMA2 encoder.
3944 Thanks to Jonathan Stott for the bug report.
3946 src/liblzma/lz/lz_encoder.h | 2 +-
3947 1 files changed, 1 insertions(+), 1 deletions(-)
3949 commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a
3950 Author: Lasse Collin <lasse.collin@tukaani.org>
3951 Date: 2009-08-13 15:15:37 +0300
3953 Updated INSTALL and PACKAGERS to match the changes
3954 made in --enable-dynamic.
3956 INSTALL | 20 ++++++++++++++++----
3957 PACKAGERS | 11 ++++++-----
3958 2 files changed, 22 insertions(+), 9 deletions(-)
3960 commit 8238c4b2402f952c4e492e5b778aa272e57b6705
3961 Author: Lasse Collin <lasse.collin@tukaani.org>
3962 Date: 2009-08-13 15:03:46 +0300
3964 Link lzmainfo against shared liblzma by default.
3966 src/lzmainfo/Makefile.am | 4 ++--
3967 1 files changed, 2 insertions(+), 2 deletions(-)
3969 commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c
3970 Author: Lasse Collin <lasse.collin@tukaani.org>
3971 Date: 2009-08-13 15:00:21 +0300
3973 Make --enable-dynamic a tristate option.
3975 Some programs will by default be linked against static
3976 liblzma and some against shared liblzma. --enable-dynamic
3977 now allows overriding the default to both directions
3978 (all dynamic or all static) even when building both
3979 shared and static liblzma.
3981 This is quite messy compared to how simple thing it is supposed
3982 to be. The complexity is mostly due to Windows support.
3984 configure.ac | 77 +++++++++++++++++++++++++++++++++++++++++++---------------
3985 1 files changed, 57 insertions(+), 20 deletions(-)
3987 commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61
3988 Author: Lasse Collin <lasse.collin@tukaani.org>
3989 Date: 2009-08-13 12:56:47 +0300
3991 Fix xz Makefile.am for the man page.
3993 install-exec-hook -> install-data-hook
3995 src/xz/Makefile.am | 2 ++
3996 1 files changed, 2 insertions(+), 0 deletions(-)
3998 commit e51b4e49e800bd84e6d589dca2964d3985e88139
3999 Author: Lasse Collin <lasse.collin@tukaani.org>
4000 Date: 2009-08-13 12:55:45 +0300
4002 Add lzmainfo for backward compatibility with LZMA Utils.
4004 lzmainfo now links against static liblzma. In contrast
4005 to other command line tools in XZ Utils, linking lzmainfo
4006 against static liblzma by default is dumb. This will be
4007 fixed once I have fixed some related issues in configure.ac.
4010 src/Makefile.am | 2 +-
4011 src/lzmainfo/Makefile.am | 29 ++++++
4012 src/lzmainfo/lzmainfo.1 | 55 +++++++++++
4013 src/lzmainfo/lzmainfo.c | 242 ++++++++++++++++++++++++++++++++++++++++++++++
4014 5 files changed, 328 insertions(+), 1 deletions(-)
4016 commit a4165d0584376d948c213ec93c6065d24ff6a5e7
4017 Author: Lasse Collin <lasse.collin@tukaani.org>
4018 Date: 2009-08-13 12:42:36 +0300
4020 Sync some error messages from xz to xzdec.
4022 Make xz error message translation usable outside
4023 xz (at least in upcoming lzmainfo).
4025 src/xz/main.c | 4 ++--
4026 src/xzdec/xzdec.c | 6 +++---
4027 2 files changed, 5 insertions(+), 5 deletions(-)
4029 commit df636eb4e066b4e154ce8e66e82c87ba1db652a6
4030 Author: Lasse Collin <lasse.collin@tukaani.org>
4031 Date: 2009-08-13 09:37:21 +0300
4033 Add xz man page to manfiles in toplevel Makefile.am.
4036 1 files changed, 1 insertions(+), 0 deletions(-)
4038 commit 180bdf58ea5bb07941e0a99b304d9aa832198748
4039 Author: Lasse Collin <lasse.collin@tukaani.org>
4040 Date: 2009-08-13 09:37:01 +0300
4042 Fix first line of xz man page.
4045 1 files changed, 1 insertions(+), 1 deletions(-)
4047 commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4
4048 Author: Lasse Collin <lasse.collin@tukaani.org>
4049 Date: 2009-08-10 11:22:31 +0300
4051 Added a rough version of the xz man page.
4053 src/xz/Makefile.am | 15 +
4054 src/xz/xz.1 | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++
4055 2 files changed, 1221 insertions(+), 0 deletions(-)
4057 commit e71903fc6101f1c039d702e335b08aad1e1b4100
4058 Author: Jonathan Nieder <jrnieder@gmail.com>
4059 Date: 2009-08-09 13:41:20 -0500
4061 “xzdiff a.xz b.xz” always fails
4063 Attempts to compare two compressed files result in no output and
4066 Instead of going to standard output, ‘diff’ output is being
4067 captured in the xz_status variable along with the exit status from
4068 the decompression commands. Later, when this variable is examined
4069 for nonzero status codes, numerals from dates in the ‘diff’ output
4070 make it appear as though decompression failed.
4072 So let the ‘diff’ output leak to standard output with another file
4073 descriptor. (This trick is used in all similar contexts elsewhere
4074 in xzdiff and in the analogous context in gzip’s zdiff script.)
4076 src/scripts/xzdiff.in | 2 +-
4077 1 files changed, 1 insertions(+), 1 deletions(-)
4079 commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c
4080 Author: Jonathan Nieder <jrnieder@gmail.com>
4081 Date: 2009-08-09 13:22:12 -0500
4083 xzless: Support compressed standard input
4085 It can be somewhat confusing that
4087 less < some_file.txt
4091 xzless < some_file.txt.xz
4093 does not. Since version 429, ‘less’ allows a filter specified in
4094 the LESSOPEN environment variable to preprocess its input even if
4095 it comes from standard input, if $LESSOPEN begins with ‘|-’. So
4096 set $LESSOPEN to take advantage of this feature.
4098 Check less’s version at runtime so xzless can continue to work
4099 with older versions.
4101 src/scripts/xzless.in | 8 +++++++-
4102 1 files changed, 7 insertions(+), 1 deletions(-)
4104 commit a7f5d2fe4826ac68839d00059f05004fb81d5c69
4105 Author: Lasse Collin <lasse.collin@tukaani.org>
4106 Date: 2009-08-09 20:57:46 +0300
4108 GPLv2+ not GPLv2 for Doxyfile.in is probably OK.
4111 1 files changed, 1 insertions(+), 1 deletions(-)
4113 commit b735cde20cc14857136ae65a0e5d336ed7ddc862
4114 Author: Lasse Collin <lasse.collin@tukaani.org>
4115 Date: 2009-08-02 00:27:29 +0300
4117 Added a copyright notice to Doxyfile.in since it contains
4118 lots of comments from Doxygen.
4120 It seems that the Doxygen authors' intent is to not apply
4121 their copyright on generated files, but since it doesn't
4122 matter for XZ Utils at all, better safe than sorry.
4125 1 files changed, 3 insertions(+), 0 deletions(-)
4127 commit 0fd157cc008446adfc8f91394f5503868025a642
4128 Author: Lasse Collin <lasse.collin@tukaani.org>
4129 Date: 2009-08-02 00:11:37 +0300
4134 1 files changed, 1 insertions(+), 0 deletions(-)
4136 commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f
4137 Author: Lasse Collin <lasse.collin@tukaani.org>
4138 Date: 2009-08-02 00:10:22 +0300
4143 1 files changed, 4 insertions(+), 0 deletions(-)
4145 commit 669413bb2db954bbfde3c4542fddbbab53891eb4
4146 Author: Lasse Collin <lasse.collin@tukaani.org>
4147 Date: 2009-07-30 12:25:55 +0300
4152 1 files changed, 1 insertions(+), 0 deletions(-)
4154 commit dbbd8fb870ae789d96497911006c869d37148c15
4155 Author: Jonathan Nieder <jrnieder@gmail.com>
4156 Date: 2009-07-28 17:37:24 -0500
4158 xzdiff: add missing ;; to case statement
4160 src/scripts/xzdiff.in | 6 +++---
4161 1 files changed, 3 insertions(+), 3 deletions(-)
4163 commit adbad2d16cb5909f85d4a429011005613ea62ffe
4164 Author: Lasse Collin <lasse.collin@tukaani.org>
4165 Date: 2009-07-24 13:15:06 +0300
4167 Added history.txt to doc_DATA.
4170 1 files changed, 1 insertions(+), 0 deletions(-)
4172 commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27
4173 Author: Lasse Collin <lasse.collin@tukaani.org>
4174 Date: 2009-07-24 12:00:40 +0300
4176 Updated .gitignore files.
4178 .gitignore | 36 +++++++++++++++++++-----------------
4179 po/.gitignore | 3 +++
4180 2 files changed, 22 insertions(+), 17 deletions(-)
4182 commit 2f34fb269265e3aba43a2a9c734020a45268826d
4183 Author: Lasse Collin <lasse.collin@tukaani.org>
4184 Date: 2009-07-24 11:34:02 +0300
4186 Minor improvements to COPYING.
4188 COPYING | 11 ++++++++---
4189 1 files changed, 8 insertions(+), 3 deletions(-)
4191 commit 0db1befcfbc120377df4b89923762f16d25f548a
4192 Author: Lasse Collin <lasse.collin@tukaani.org>
4193 Date: 2009-07-23 19:10:55 +0300
4195 Fix incorrect usage of getopt_long(), which caused
4196 invalid memory access if XZ_OPT was defined.
4199 1 files changed, 0 insertions(+), 1 deletions(-)
4201 commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48
4202 Author: Lasse Collin <lasse.collin@tukaani.org>
4203 Date: 2009-07-20 15:43:32 +0300
4205 Avoid internal error with --format=xz --lzma1.
4207 src/xz/coder.c | 16 ++++++++++++----
4208 1 files changed, 12 insertions(+), 4 deletions(-)
4210 commit 99f9e879a6a8bb54a65da99c12e0f390216c152a
4211 Author: Lasse Collin <lasse.collin@tukaani.org>
4212 Date: 2009-07-19 13:14:20 +0300
4214 Major documentation update.
4216 Installation and packaging instructions were added.
4217 README and other generic docs were revised.
4219 Some of the documentation files are now installed to $docdir.
4223 INSTALL | 327 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
4224 INSTALL.generic | 302 ++++++++++++++++++++++++++++++++++++++++++++++++++
4226 PACKAGERS | 278 ++++++++++++++++++++++++++++++++++++++++++++++
4227 README | 263 +++++++++++++++++++-------------------------
4229 8 files changed, 1070 insertions(+), 170 deletions(-)
4231 commit ef4cf1851de89022cba5674784f1a8f6343c15b0
4232 Author: Lasse Collin <lasse.collin@tukaani.org>
4233 Date: 2009-07-19 11:09:31 +0300
4235 Added missing author notice to xzless.in.
4237 src/scripts/xzless.in | 1 +
4238 1 files changed, 1 insertions(+), 0 deletions(-)
4240 commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77
4241 Author: Lasse Collin <lasse.collin@tukaani.org>
4242 Date: 2009-07-18 18:54:55 +0300
4244 Use AC_CONFIG_AUX_DIR to clean up the toplevel directory
4247 Fixed a related bug in the toplevel Makefile.am.
4249 Added the build-aux directory to .gitignore.
4253 configure.ac | 3 ++-
4254 3 files changed, 3 insertions(+), 2 deletions(-)
4256 commit 366e436090a7a87215e9bf0e3ddcd55f05b50587
4257 Author: Lasse Collin <lasse.collin@tukaani.org>
4258 Date: 2009-07-18 14:34:08 +0300
4260 Updated the totally outdated TODO file.
4262 TODO | 117 +++++++++++++++--------------------------------------------------
4263 1 files changed, 27 insertions(+), 90 deletions(-)
4265 commit 64e498c89d8b9966e8663f43bf64d47c26c55c62
4266 Author: Lasse Collin <lasse.collin@tukaani.org>
4267 Date: 2009-07-18 11:26:39 +0300
4269 Added public domain notice into a few files.
4271 src/common/common_w32res.rc | 9 ++++++++-
4272 src/liblzma/liblzma.pc.in | 7 +++++++
4273 src/liblzma/liblzma_w32res.rc | 7 +++++++
4274 src/xz/xz_w32res.rc | 7 +++++++
4275 src/xzdec/xzdec_w32res.rc | 7 +++++++
4276 5 files changed, 36 insertions(+), 1 deletions(-)
4278 commit a35755c5de808df027675688855d1b621a4fb428
4279 Author: Lasse Collin <lasse.collin@tukaani.org>
4280 Date: 2009-07-14 21:10:36 +0300
4282 Allow extra commas in filter-specific options on xz command line.
4284 This may slightly ease writing scripts that construct
4285 filter-specific option strings dynamically.
4287 src/xz/options.c | 7 +++++++
4288 1 files changed, 7 insertions(+), 0 deletions(-)
4290 commit 98f3cac1ad31191c5160a7e48398bf85141e941c
4291 Author: Lasse Collin <lasse.collin@tukaani.org>
4292 Date: 2009-07-14 18:04:31 +0300
4294 Accept --lzma2=preset=6e where "e" is equivalent to --extreme
4295 when no custom chain is in use.
4297 src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++--------------
4298 1 files changed, 59 insertions(+), 21 deletions(-)
4300 commit d873a09e956363e54bf58c577c8f7e487b6fb464
4301 Author: Lasse Collin <lasse.collin@tukaani.org>
4302 Date: 2009-07-12 19:08:30 +0300
4304 Add dist-hook to create ChangeLog from the commit log,
4305 and to conver the man pages to PDF and plain text, which
4306 may be convenient to those who cannot render man pages.
4308 Makefile.am | 31 +++++++++++++++++++++++++++++++
4309 1 files changed, 31 insertions(+), 0 deletions(-)
4311 commit cd69a5a6c16c289f6f8e2823b03c72289472270f
4312 Author: Lasse Collin <lasse.collin@tukaani.org>
4313 Date: 2009-07-10 11:39:38 +0300
4315 BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.
4317 This is a quick and slightly dirty fix to make the code
4318 conform to the latest file format specification. Without
4319 this patch, it's possible to make corrupt files by
4320 specifying start offset that is not a multiple of the
4321 filter's alignment. Custom start offset is almost never
4322 used, so this was only a minor bug.
4324 The xz command line tool doesn't validate the start offset,
4325 so one will get a bit unclear error message if trying to use
4326 an invalid start offset.
4328 src/liblzma/simple/arm.c | 2 +-
4329 src/liblzma/simple/armthumb.c | 2 +-
4330 src/liblzma/simple/ia64.c | 2 +-
4331 src/liblzma/simple/powerpc.c | 2 +-
4332 src/liblzma/simple/simple_coder.c | 5 ++++-
4333 src/liblzma/simple/simple_private.h | 3 ++-
4334 src/liblzma/simple/sparc.c | 2 +-
4335 src/liblzma/simple/x86.c | 2 +-
4336 8 files changed, 12 insertions(+), 8 deletions(-)
4338 commit eed9953732b801f6c97317fb3160445a8754180b
4339 Author: Lasse Collin <lasse.collin@tukaani.org>
4340 Date: 2009-07-10 11:33:21 +0300
4342 Look for full command names instead of substrings
4343 like "un", "cat", and "lz" when determining if
4344 xz is run as unxz, xzcat, lzma, unlzma, or lzcat.
4346 This is to ensure that if xz is renamed (e.g. via
4347 --program-transform-name), it doesn't so easily
4350 src/xz/args.c | 22 +++++++++++++---------
4351 1 files changed, 13 insertions(+), 9 deletions(-)
4353 commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658
4354 Author: Lasse Collin <lasse.collin@tukaani.org>
4355 Date: 2009-07-08 23:06:46 +0300
4360 1 files changed, 2 insertions(+), 0 deletions(-)
4362 commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e
4363 Author: Lasse Collin <lasse.collin@tukaani.org>
4364 Date: 2009-07-08 23:05:29 +0300
4366 Portability improvement to version.sh.
4369 1 files changed, 2 insertions(+), 1 deletions(-)
4371 commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f
4372 Author: Lasse Collin <lasse.collin@tukaani.org>
4373 Date: 2009-07-08 22:50:16 +0300
4375 Remove --force from xzdec.
4377 It was ignored for compatibility with xz, but now that
4378 --decompress --stdout --force copies unrecognized files
4379 as is to stdout, simply ignoring --force in xzdec would
4380 be wrong. xzdec will not support copying unrecognized
4381 data as is to stdout, so it cannot support --force.
4383 src/xzdec/xzdec.1 | 5 -----
4384 src/xzdec/xzdec.c | 5 +----
4385 2 files changed, 1 insertions(+), 9 deletions(-)
4387 commit 5f16ef4abf220028a9ddbcb138217597a9455f62
4388 Author: Lasse Collin <lasse.collin@tukaani.org>
4389 Date: 2009-07-06 10:36:04 +0300
4391 Use sed instead of $(SED) so that we don't need to
4392 use AC_PROG_SED. We don't do anything fancy with sed,
4393 so this should work OK. libtool 2.2 sets SED but 1.5
4394 doesn't, so $(SED) happened to work when using libtool 2.2.
4396 src/liblzma/Makefile.am | 2 +-
4397 src/scripts/Makefile.am | 28 ++++++++++++++--------------
4398 src/xz/Makefile.am | 6 +++---
4399 src/xzdec/Makefile.am | 6 +++---
4400 4 files changed, 21 insertions(+), 21 deletions(-)
4402 commit 96e4b257e101d72072d43e144897d92920270669
4403 Author: Lasse Collin <lasse.collin@tukaani.org>
4404 Date: 2009-07-05 22:25:17 +0300
4406 Major update to the xzgrep and other scripts based on
4407 the latest versions found from gzip CVS repository.
4409 configure will try to find a POSIX shell to be used by
4410 the scripts. This should ease portability on systems
4411 which have pre-POSIX /bin/sh.
4413 xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files.
4414 xzmore and xzless support only .xz and .lzma files.
4416 The name of the xz executable used in these scripts is
4417 now correct even if --program-transform-name has been used.
4419 configure.ac | 14 ++++
4420 m4/posix-shell.m4 | 63 +++++++++++++++
4421 src/scripts/Makefile.am | 24 +++---
4422 src/scripts/xzdiff | 67 ----------------
4423 src/scripts/xzdiff.1 | 58 +++++++++-----
4424 src/scripts/xzdiff.in | 172 +++++++++++++++++++++++++++++++++++++++++
4425 src/scripts/xzgrep | 123 -----------------------------
4426 src/scripts/xzgrep.1 | 85 ++++++++++++--------
4427 src/scripts/xzgrep.in | 196 +++++++++++++++++++++++++++++++++++++++++++++++
4428 src/scripts/xzless.1 | 66 ++++++++++++++++
4429 src/scripts/xzless.in | 51 ++++++++++++
4430 src/scripts/xzmore | 74 ------------------
4431 src/scripts/xzmore.1 | 64 ++++++---------
4432 src/scripts/xzmore.in | 78 +++++++++++++++++++
4433 14 files changed, 766 insertions(+), 369 deletions(-)
4435 commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100
4436 Author: Lasse Collin <lasse.collin@tukaani.org>
4437 Date: 2009-07-05 19:26:53 +0300
4439 Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.
4441 src/liblzma/liblzma.pc.in | 2 +-
4442 1 files changed, 1 insertions(+), 1 deletions(-)
4444 commit 18c10c30d2833f394cd7bce0e6a821044b15832f
4445 Author: Lasse Collin <lasse.collin@tukaani.org>
4446 Date: 2009-07-04 00:40:44 +0300
4448 Make "xz --decompress --stdout --force" copy unrecognized
4449 files as is to standard output.
4451 This feature is needed to be more compatible with gzip's
4452 behavior. This was more complicated to implement than it
4453 sounds, because the way liblzma is able to return errors with
4454 files of only a few bytes in size. xz now has its own file
4455 type detection code and no longer uses lzma_auto_decoder().
4457 src/xz/coder.c | 213 ++++++++++++++++++++++++++++++++++++++++++++++---------
4458 1 files changed, 178 insertions(+), 35 deletions(-)
4460 commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633
4461 Author: Lasse Collin <lasse.collin@tukaani.org>
4462 Date: 2009-07-02 14:30:38 +0300
4464 Define PACKAGE_HOMEPAGE in configure.ac and use it in
4467 Use also PACKAGE_NAME instead of hardcoding "XZ Utils".
4469 configure.ac | 5 +++++
4470 src/xz/message.c | 4 ++--
4471 src/xzdec/xzdec.c | 4 ++--
4472 3 files changed, 9 insertions(+), 4 deletions(-)
4474 commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c
4475 Author: Lasse Collin <lasse.collin@tukaani.org>
4476 Date: 2009-07-01 12:21:24 +0300
4478 Avoid visibility related compiler warnings on Windows.
4480 configure.ac | 20 +++++++++-----------
4481 1 files changed, 9 insertions(+), 11 deletions(-)
4483 commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e
4484 Author: Lasse Collin <lasse.collin@tukaani.org>
4485 Date: 2009-06-30 17:14:39 +0300
4487 Use static liblzma by default also for tests.
4489 tests/Makefile.am | 5 ++++-
4490 1 files changed, 4 insertions(+), 1 deletions(-)
4492 commit f42ee981668b545ab6d06c6072e262c29605273c
4493 Author: Lasse Collin <lasse.collin@tukaani.org>
4494 Date: 2009-06-30 17:09:57 +0300
4498 Don't use libtool convenience libraries to avoid recently
4499 discovered long-standing subtle but somewhat severe bugs
4500 in libtool (at least 1.5.22 and 2.2.6 are affected). It
4501 was found when porting XZ Utils to Windows
4502 <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
4503 but the problem is significant also e.g. on GNU/Linux.
4505 Unless --disable-shared is passed to configure, static
4506 library built from a set of convenience libraries will
4507 contain PIC objects. That is, while libtool builds non-PIC
4508 objects too, only PIC objects will be used from the
4509 convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
4510 using PIC instead of non-PIC makes the decompressor 10 % slower
4511 with the default CFLAGS.
4513 So while xz was linked against static liblzma by default,
4514 it got the slower PIC objects unless --disable-shared was
4515 used. I tend develop and benchmark with --disable-shared
4516 due to faster build time, so I hadn't noticed the problem
4517 in benchmarks earlier.
4519 This commit also adds support for building Windows resources
4520 into liblzma and executables.
4522 configure.ac | 34 ++++++++++-----
4523 src/liblzma/Makefile.am | 79 +++++++++++++++++++++++++++-------
4524 src/liblzma/check/Makefile.am | 47 ---------------------
4525 src/liblzma/check/Makefile.inc | 51 ++++++++++++++++++++++
4526 src/liblzma/common/Makefile.am | 78 ----------------------------------
4527 src/liblzma/common/Makefile.inc | 67 +++++++++++++++++++++++++++++
4528 src/liblzma/common/common.h | 16 ++++---
4529 src/liblzma/delta/Makefile.am | 28 ------------
4530 src/liblzma/delta/Makefile.inc | 23 ++++++++++
4531 src/liblzma/lz/Makefile.am | 29 -------------
4532 src/liblzma/lz/Makefile.inc | 21 +++++++++
4533 src/liblzma/lzma/Makefile.am | 51 ----------------------
4534 src/liblzma/lzma/Makefile.inc | 43 +++++++++++++++++++
4535 src/liblzma/rangecoder/Makefile.am | 26 -----------
4536 src/liblzma/rangecoder/Makefile.inc | 21 +++++++++
4537 src/liblzma/simple/Makefile.am | 51 ----------------------
4538 src/liblzma/simple/Makefile.inc | 47 +++++++++++++++++++++
4539 src/liblzma/subblock/Makefile.am | 26 -----------
4540 src/liblzma/subblock/Makefile.inc | 20 +++++++++
4541 src/xz/Makefile.am | 11 ++++-
4542 src/xzdec/Makefile.am | 20 ++++++++-
4543 21 files changed, 417 insertions(+), 372 deletions(-)
4545 commit 89dac1db6f168d7469cfbc4432651d4724c5c0de
4546 Author: Lasse Collin <lasse.collin@tukaani.org>
4547 Date: 2009-06-29 22:19:51 +0300
4549 Added a comment about "autoconf -fi" to autogen.sh.
4552 1 files changed, 3 insertions(+), 0 deletions(-)
4554 commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd
4555 Author: Lasse Collin <lasse.collin@tukaani.org>
4556 Date: 2009-06-28 10:04:24 +0300
4558 Add -no-undefined to get shared liblzma on Windows.
4560 src/liblzma/Makefile.am | 2 +-
4561 1 files changed, 1 insertions(+), 1 deletions(-)
4563 commit 73f560ee5fa064992b76688d9472baf139432540
4564 Author: Lasse Collin <lasse.collin@tukaani.org>
4565 Date: 2009-06-27 22:57:15 +0300
4567 Make physmem() work on Cygwin 1.5 and older.
4569 src/common/physmem.h | 77 ++++++++++++++++++++++++++------------------------
4570 1 files changed, 40 insertions(+), 37 deletions(-)
4572 commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1
4573 Author: Lasse Collin <lasse.collin@tukaani.org>
4574 Date: 2009-06-27 17:28:01 +0300
4576 Moved the Windows resource files outside the windows directory
4577 to prepare for building them with Autotools.
4579 src/common/common_w32res.rc | 46 +++++++++++++++++++++++++++++++++++++++++
4580 src/liblzma/liblzma_w32res.rc | 5 ++++
4581 src/xz/xz_w32res.rc | 5 ++++
4582 src/xzdec/lzmadec_w32res.rc | 5 ++++
4583 src/xzdec/xzdec_w32res.rc | 5 ++++
4584 windows/Makefile | 35 +++++++++++++++++--------------
4585 windows/common.rc | 46 -----------------------------------------
4586 windows/liblzma.rc | 5 ----
4587 windows/lzmadec.rc | 5 ----
4588 windows/xz.rc | 5 ----
4589 windows/xzdec.rc | 5 ----
4590 11 files changed, 85 insertions(+), 82 deletions(-)
4592 commit 449c634674f35336a4815d398172e447659a135e
4593 Author: Lasse Collin <lasse.collin@tukaani.org>
4594 Date: 2009-06-27 13:05:03 +0300
4596 Added missing $(EXEEXT).
4598 src/xz/Makefile.am | 2 +-
4599 1 files changed, 1 insertions(+), 1 deletions(-)
4601 commit 792db79f27ad9ab1fb977e23be65c7761f545752
4602 Author: Lasse Collin <lasse.collin@tukaani.org>
4603 Date: 2009-06-27 12:32:40 +0300
4605 Create correct symlinks even when
4606 --program-{prefix,suffix,transform} is passed to configure.
4608 src/scripts/Makefile.am | 80 +++++++++++++++++++++++++++--------------------
4609 src/xz/Makefile.am | 21 +++++++-----
4610 src/xzdec/Makefile.am | 9 +++--
4611 3 files changed, 65 insertions(+), 45 deletions(-)
4613 commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b
4614 Author: Lasse Collin <lasse.collin@tukaani.org>
4615 Date: 2009-06-27 10:02:24 +0300
4617 Silence a compiler warning on DOS-like systems.
4619 src/xz/file_io.c | 5 ++++-
4620 1 files changed, 4 insertions(+), 1 deletions(-)
4622 commit ad12edc95254ede3f0cb8dec8645e8789e984c4f
4623 Author: Lasse Collin <lasse.collin@tukaani.org>
4624 Date: 2009-06-27 09:35:15 +0300
4626 Updated the filenames in POTFILES.in too.
4628 po/POTFILES.in | 4 ++--
4629 1 files changed, 2 insertions(+), 2 deletions(-)
4631 commit b2b1f867532732fe9969131f8713bdd6b0731763
4632 Author: Lasse Collin <lasse.collin@tukaani.org>
4633 Date: 2009-06-27 00:43:06 +0300
4635 Hopefully improved portability of the assembler code in
4636 Autotools based builds on Windows.
4638 src/liblzma/check/crc32_x86.S | 8 +++++++-
4639 src/liblzma/check/crc64_x86.S | 8 +++++++-
4640 2 files changed, 14 insertions(+), 2 deletions(-)
4642 commit c393055947247627a09b6a6b8f20aa0c32f9be16
4643 Author: Lasse Collin <lasse.collin@tukaani.org>
4644 Date: 2009-06-26 21:17:29 +0300
4646 Updated THANKS (most of today's commits are based on
4647 Charles Wilson's patches).
4650 1 files changed, 1 insertions(+), 0 deletions(-)
4652 commit da0af22e4b4139b8a10710945f8b245b3a77c97d
4653 Author: Lasse Collin <lasse.collin@tukaani.org>
4654 Date: 2009-06-26 21:00:35 +0300
4656 Updated comments to match renamed files.
4658 src/xz/coder.c | 2 +-
4659 src/xz/coder.h | 2 +-
4660 src/xz/file_io.c | 2 +-
4661 src/xz/file_io.h | 2 +-
4662 4 files changed, 4 insertions(+), 4 deletions(-)
4664 commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2
4665 Author: Lasse Collin <lasse.collin@tukaani.org>
4666 Date: 2009-06-26 20:49:54 +0300
4668 Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
4669 to avoid problems on systems with system headers with those
4673 src/xz/Makefile.am | 8 +-
4674 src/xz/coder.c | 488 +++++++++++++++++++++++++++++++++++
4675 src/xz/coder.h | 57 ++++
4676 src/xz/file_io.c | 716 ++++++++++++++++++++++++++++++++++++++++++++++++++++
4677 src/xz/file_io.h | 86 +++++++
4678 src/xz/io.c | 716 ----------------------------------------------------
4679 src/xz/io.h | 86 -------
4680 src/xz/private.h | 4 +-
4681 src/xz/process.c | 488 -----------------------------------
4682 src/xz/process.h | 57 ----
4683 windows/Makefile | 4 +-
4684 12 files changed, 1357 insertions(+), 1357 deletions(-)
4686 commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8
4687 Author: Lasse Collin <lasse.collin@tukaani.org>
4688 Date: 2009-06-26 20:43:36 +0300
4690 Rename process_file() to coder_run().
4692 src/xz/main.c | 6 +++---
4693 src/xz/process.c | 6 +++---
4694 src/xz/process.h | 5 ++---
4695 3 files changed, 8 insertions(+), 9 deletions(-)
4697 commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc
4698 Author: Lasse Collin <lasse.collin@tukaani.org>
4699 Date: 2009-06-26 20:36:45 +0300
4701 Ugly hack to make it possible to use the thousand separator
4702 format character with snprintf() on POSIX systems but not
4703 on non-POSIX systems and still keep xgettext working.
4705 dos/Makefile | 16 +++-------------
4706 src/xz/message.c | 17 +++++++++--------
4707 src/xz/process.c | 30 +++++++++++++++---------------
4708 src/xz/util.c | 34 ++++++++++++++++++++++++++++++++++
4709 src/xz/util.h | 20 ++++++++++++++++++++
4710 windows/Makefile | 13 +++----------
4711 6 files changed, 84 insertions(+), 46 deletions(-)
4713 commit fe378d47074b16c52b00fe184d119287c68ce2e7
4714 Author: Lasse Collin <lasse.collin@tukaani.org>
4715 Date: 2009-06-26 15:40:40 +0300
4717 Added missing source files to windows/Makefile.
4719 windows/Makefile | 2 ++
4720 1 files changed, 2 insertions(+), 0 deletions(-)
4722 commit 390a6408563067613b29de895cb40e4d0386d62c
4723 Author: Lasse Collin <lasse.collin@tukaani.org>
4724 Date: 2009-06-26 15:37:53 +0300
4726 Basic support for building with Cygwin and MinGW using
4727 the Autotools based build system. It's not good yet, more
4730 configure.ac | 7 +++++++
4731 src/liblzma/api/lzma.h | 7 +++++--
4732 src/liblzma/check/crc32_x86.S | 7 ++++---
4733 src/liblzma/check/crc64_x86.S | 7 ++++---
4734 src/liblzma/common/common.h | 2 +-
4735 windows/Makefile | 16 +++++++---------
4736 6 files changed, 28 insertions(+), 18 deletions(-)
4738 commit 1c9360b7d1197457aaad2f8888b99f1149861579
4739 Author: Lasse Collin <lasse.collin@tukaani.org>
4740 Date: 2009-06-26 14:47:31 +0300
4742 Fix @variables@ to $(variables) in Makefile.am files.
4743 Fix the ordering of libgnu.a and LTLIBINTL on the linker
4744 command line and added missing LTLIBINTL to tests/Makefile.am.
4746 debug/Makefile.am | 12 ++++++------
4747 src/liblzma/check/Makefile.am | 4 ++--
4748 src/liblzma/common/Makefile.am | 16 ++++++++--------
4749 src/liblzma/delta/Makefile.am | 4 ++--
4750 src/liblzma/lz/Makefile.am | 6 +++---
4751 src/liblzma/lzma/Makefile.am | 8 ++++----
4752 src/liblzma/rangecoder/Makefile.am | 4 ++--
4753 src/liblzma/simple/Makefile.am | 4 ++--
4754 src/liblzma/subblock/Makefile.am | 4 ++--
4755 src/xz/Makefile.am | 21 +++++++++++----------
4756 src/xzdec/Makefile.am | 19 ++++++++++---------
4757 tests/Makefile.am | 12 +++++++-----
4758 12 files changed, 59 insertions(+), 55 deletions(-)
4760 commit d45615c555e250209ebb55aa3649abe790f1eeac
4761 Author: Lasse Collin <lasse.collin@tukaani.org>
4762 Date: 2009-06-26 14:20:02 +0300
4764 Allow to explicitly specify autotool versions in autogen.sh.
4766 autogen.sh | 12 ++++++------
4767 1 files changed, 6 insertions(+), 6 deletions(-)
4769 commit eaf8367368a329afa48785380f9dca6b681f3397
4770 Author: Lasse Collin <lasse.collin@tukaani.org>
4771 Date: 2009-06-26 14:18:32 +0300
4773 Add version.sh to EXTRA_DIST.
4776 1 files changed, 2 insertions(+), 1 deletions(-)
4778 commit b317b218e2d383dd27a700094c0de4510540ea18
4779 Author: Lasse Collin <lasse.collin@tukaani.org>
4780 Date: 2009-06-24 20:14:10 +0300
4782 Support HW_PHYSMEM64
4784 src/common/physmem.h | 30 +++++++++++++++++++-----------
4785 1 files changed, 19 insertions(+), 11 deletions(-)
4787 commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7
4788 Author: Lasse Collin <lasse.collin@tukaani.org>
4789 Date: 2009-06-24 13:01:59 +0300
4791 Cast a char argument to isspace() to unsigned char.
4793 src/xz/args.c | 11 +++++++++--
4794 1 files changed, 9 insertions(+), 2 deletions(-)
4796 commit 1735d31ea347210e914df038eeea4b2626e76e42
4797 Author: Lasse Collin <lasse.collin@tukaani.org>
4798 Date: 2009-06-05 13:46:26 +0300
4800 A few more spelling fixes. Released the .xz spec 1.0.3.
4802 doc/xz-file-format.txt | 12 +++++++-----
4803 1 files changed, 7 insertions(+), 5 deletions(-)
4805 commit 8ed156ce894966103e895aa08f2a9fb912f6fad5
4806 Author: Lasse Collin <lasse.collin@tukaani.org>
4807 Date: 2009-06-04 23:42:12 +0300
4809 Added xzdec man page.
4811 src/xzdec/Makefile.am | 11 +++
4812 src/xzdec/xzdec.1 | 173 +++++++++++++++++++++++++++++++++++++++++++++++++
4813 2 files changed, 184 insertions(+), 0 deletions(-)
4815 commit f6df39afaa84f71439507178a49b2a5dda6e824c
4816 Author: Lasse Collin <lasse.collin@tukaani.org>
4817 Date: 2009-06-04 23:26:47 +0300
4819 Harmonized xzdec --memory with xz --memory and made
4822 src/xzdec/xzdec.c | 74 ++++++++++++++++++++++++++++++++++++++---------------
4823 1 files changed, 53 insertions(+), 21 deletions(-)
4825 commit 1774f27c61ce294a56712ca2f4785f90a62441bc
4826 Author: Lasse Collin <lasse.collin@tukaani.org>
4827 Date: 2009-06-04 22:59:55 +0300
4829 Fix purporse -> purpose. Thanks to Andrew Dudman.
4830 Released .xz spec 1.0.2 due to this fix too.
4833 doc/xz-file-format.txt | 8 +++++---
4834 src/liblzma/liblzma.pc.in | 2 +-
4835 windows/Makefile | 2 +-
4836 4 files changed, 8 insertions(+), 5 deletions(-)
4838 commit cb613455642f48fb51059e22018615f64c59b70f
4839 Author: Lasse Collin <lasse.collin@tukaani.org>
4840 Date: 2009-06-01 14:53:57 +0300
4842 The .xz file format version 1.0.1
4844 doc/xz-file-format.txt | 29 ++++++++++++++++++++++-------
4845 1 files changed, 22 insertions(+), 7 deletions(-)
4847 commit 083c23c680ff844846d177cfc58bb7a874e7e6b9
4848 Author: Lasse Collin <lasse.collin@tukaani.org>
4849 Date: 2009-05-26 14:48:48 +0300
4851 Make the raw value of the Check field available to applications
4852 via lzma_block structure.
4854 This changes ABI but not doesn't break API.
4856 src/liblzma/api/lzma/block.h | 17 ++++++++++++++
4857 src/liblzma/common/block_buffer_encoder.c | 1 +
4858 src/liblzma/common/block_decoder.c | 34 ++++++++++++----------------
4859 src/liblzma/common/block_encoder.c | 21 +++++++----------
4860 4 files changed, 42 insertions(+), 31 deletions(-)
4862 commit b4f5c814090dc07d4350453576305e41eb9c998d
4863 Author: Lasse Collin <lasse.collin@tukaani.org>
4864 Date: 2009-05-23 16:57:21 +0300
4866 Remove undocumented alternative option names --bcj, --ppc,
4869 src/xz/args.c | 3 ---
4870 1 files changed, 0 insertions(+), 3 deletions(-)
4872 commit b1edee2cdc7ef4411b1a21c07094ec763f071281
4873 Author: Lasse Collin <lasse.collin@tukaani.org>
4874 Date: 2009-05-23 15:12:23 +0300
4876 Add support for specifying the BCJ filter start offset
4877 in the xz command line tool.
4879 src/xz/args.c | 36 +++++++++++++++++++++---------------
4880 src/xz/message.c | 14 ++++++++------
4881 src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++
4882 src/xz/options.h | 7 +++++++
4883 4 files changed, 76 insertions(+), 21 deletions(-)
4885 commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb
4886 Author: Lasse Collin <lasse.collin@tukaani.org>
4887 Date: 2009-05-23 14:51:09 +0300
4892 1 files changed, 2 insertions(+), 0 deletions(-)
4894 commit dcedb6998cefeca6597dd1219328a3abf5acf66d
4895 Author: Lasse Collin <lasse.collin@tukaani.org>
4896 Date: 2009-05-22 16:40:50 +0300
4898 Added support for --quiet and --no-warn to xzdec.
4899 Cleaned up the --help message a little.
4901 src/xzdec/xzdec.c | 76 ++++++++++++++++++++++++++++++++++-------------------
4902 1 files changed, 49 insertions(+), 27 deletions(-)
4904 commit 5f735dae80aa629853f4831d7b84ec1c614979eb
4905 Author: Lasse Collin <lasse.collin@tukaani.org>
4906 Date: 2009-05-22 15:11:52 +0300
4908 Use the 40 % of RAM memory usage limit in xzdec too.
4910 Update the memory usage info text in --help to match
4911 the text in xz --long-help.
4913 src/xzdec/xzdec.c | 10 +++++-----
4914 1 files changed, 5 insertions(+), 5 deletions(-)
4916 commit b60376249e0c586910c4121fab4f791820cc1289
4917 Author: Lasse Collin <lasse.collin@tukaani.org>
4918 Date: 2009-05-22 14:43:00 +0300
4922 src/xz/args.c | 8 +++++++-
4923 src/xz/main.c | 17 +++++++++++++++++
4924 src/xz/main.h | 6 ++++++
4925 src/xz/message.c | 4 ++++
4926 4 files changed, 34 insertions(+), 1 deletions(-)
4928 commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008
4929 Author: Lasse Collin <lasse.collin@tukaani.org>
4930 Date: 2009-05-22 14:27:40 +0300
4934 src/xz/main.h | 2 +-
4935 1 files changed, 1 insertions(+), 1 deletions(-)
4937 commit 4dd21d23f22569285ae706b58b0e5904b8db1839
4938 Author: Lasse Collin <lasse.collin@tukaani.org>
4939 Date: 2009-05-22 14:21:20 +0300
4941 Remove the --info option, which was an alias for --list.
4944 1 files changed, 0 insertions(+), 1 deletions(-)
4946 commit 8836139b63ce774bdd62abf17ab69b290e08229e
4947 Author: Lasse Collin <lasse.collin@tukaani.org>
4948 Date: 2009-05-22 12:27:43 +0300
4950 If xz is run as lzma, unlzma, or lzcat, simply imply
4951 --format=lzma. This means that xz emulating lzma
4952 doesn't decompress .xz files, while before this
4953 commit it did. The new way is slightly simpler in
4954 code and especially in upcoming documentation.
4956 src/xz/args.c | 17 ++++++-----------
4957 1 files changed, 6 insertions(+), 11 deletions(-)
4959 commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d
4960 Author: Lasse Collin <lasse.collin@tukaani.org>
4961 Date: 2009-05-22 11:29:50 +0300
4963 Make the default memory usage limit 40 % of RAM for both
4964 compressing and decompressing. This should be OK now that
4965 xz automatically scales down the compression settings if
4966 they would exceed the memory usage limit (earlier, the limit
4967 for compression was increased to 90 % because low limit broke
4968 scripts that used "xz -9" on systems with low RAM).
4970 Support spcifying the memory usage limit as a percentage
4971 of RAM (e.g. --memory=50%).
4973 Support --threads=0 to reset the thread limit to the default
4974 value (number of available CPU cores). Use UINT32_MAX instead
4975 of SIZE_MAX as the maximum in args.c. hardware.c was already
4976 expecting uint32_t value.
4978 Cleaned up the output of --help and --long-help.
4980 src/xz/args.c | 28 +++++++++++++----
4981 src/xz/hardware.c | 86 ++++++++++++++++++++++------------------------------
4982 src/xz/hardware.h | 10 +++---
4983 src/xz/message.c | 28 ++++++++---------
4984 src/xz/process.c | 18 ++++-------
4985 5 files changed, 82 insertions(+), 88 deletions(-)
4987 commit 071b825b23911a69dd1cd2f8cda004ef8a781fae
4988 Author: Lasse Collin <lasse.collin@tukaani.org>
4989 Date: 2009-05-21 17:22:01 +0300
4991 Support special value "max" where xz and xzdec accept an integer.
4992 Don't round the memory usage limit in xzdec --help to avoid
4993 an integer overflow and to not give wrong impression that
4994 the limit is high enough when it may not actually be.
4996 src/xz/util.c | 4 ++++
4997 src/xzdec/xzdec.c | 6 +++++-
4998 2 files changed, 9 insertions(+), 1 deletions(-)
5000 commit 03ca67fd37dd43fa7f590de340899cd497c10802
5001 Author: ABCD <en.abcd@gmail.com>
5002 Date: 2009-05-20 17:31:18 -0400
5004 Install lzdiff, lzgrep, and lzmore as symlinks
5006 This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install.
5007 It also installs symlinks for the manual pages and removes the new
5008 symlinks on uninstall.
5010 src/scripts/Makefile.am | 16 ++++++++++++++--
5011 1 files changed, 14 insertions(+), 2 deletions(-)
5013 commit a6f43e64128a6da5cd641de1e1e527433b3e5638
5014 Author: Lasse Collin <lasse.collin@tukaani.org>
5015 Date: 2009-05-02 16:10:14 +0300
5017 Use a GCC-specific #pragma instead of GCC-specific
5018 -Wno-uninitialized to silence a bogus warning.
5020 configure.ac | 13 -------------
5021 src/liblzma/check/Makefile.am | 5 -----
5022 src/liblzma/check/sha256.c | 5 +++++
5023 3 files changed, 5 insertions(+), 18 deletions(-)
5025 commit f6ce63ebdb45a857c8949960c83c9580ae888951
5026 Author: Lasse Collin <lasse.collin@tukaani.org>
5027 Date: 2009-05-02 14:46:50 +0300
5029 Removed --disable-encoder and --disable-decoder. Use the values
5030 given to --enable-encoders and --enable-decoders to determine
5031 if any encoder or decoder support is wanted.
5033 configure.ac | 48 ++++++++----------------------------------------
5034 1 files changed, 8 insertions(+), 40 deletions(-)
5036 commit be06858d5cf8ba46557395035d821dc332f3f830
5037 Author: Lasse Collin <lasse.collin@tukaani.org>
5038 Date: 2009-05-01 11:28:52 +0300
5040 Remove docs that are too outdated to be updated
5041 (rewrite will be better).
5043 doc/liblzma-advanced.txt | 324 ----------------------------------------------
5044 doc/liblzma-hacking.txt | 112 ----------------
5045 doc/liblzma-intro.txt | 194 ---------------------------
5046 doc/liblzma-security.txt | 219 -------------------------------
5047 doc/lzma-intro.txt | 107 ---------------
5048 5 files changed, 0 insertions(+), 956 deletions(-)
5050 commit 0255401e57c96af87c6b159eca28974e79430a82
5051 Author: Lasse Collin <lasse.collin@tukaani.org>
5052 Date: 2009-05-01 11:21:46 +0300
5054 Added documentation about the legacy .lzma file format.
5056 doc/lzma-file-format.txt | 166 ++++++++++++++++++++++++++++++++++++++++++++++
5057 1 files changed, 166 insertions(+), 0 deletions(-)
5059 commit 1496ff437c46f38303e0e94c511ca604b3a11f85
5060 Author: Lasse Collin <lasse.collin@tukaani.org>
5061 Date: 2009-05-01 11:20:23 +0300
5063 Renamed the file format specification to xz-file-format.txt
5064 which is the filename used on the WWW.
5066 doc/file-format.txt | 1127 ------------------------------------------------
5067 doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++
5068 2 files changed, 1127 insertions(+), 1127 deletions(-)
5070 commit 21c6b94373d239d7e86bd480fcd558e30391712f
5071 Author: Lasse Collin <lasse.collin@tukaani.org>
5072 Date: 2009-04-28 23:08:32 +0300
5074 Fixed a crash in liblzma.
5076 liblzma tries to avoid useless free()/malloc() pairs in
5077 initialization when multiple files are handled using the
5078 same lzma_stream. This didn't work with filter chains
5079 due to comparison of wrong pointers in lzma_next_coder_init(),
5080 making liblzma think that no memory reallocation is needed
5081 even when it actually is.
5083 Easy way to trigger this bug is to decompress two files with
5084 a single xz command. The first file should have e.g. x86+LZMA2
5085 as the filter chain, and the second file just LZMA2.
5087 src/liblzma/common/alone_decoder.c | 2 +-
5088 src/liblzma/common/alone_encoder.c | 4 ++--
5089 src/liblzma/common/auto_decoder.c | 2 +-
5090 src/liblzma/common/block_decoder.c | 2 +-
5091 src/liblzma/common/block_encoder.c | 2 +-
5092 src/liblzma/common/common.h | 4 ++--
5093 src/liblzma/common/easy_encoder.c | 2 +-
5094 src/liblzma/common/index_decoder.c | 2 +-
5095 src/liblzma/common/index_encoder.c | 2 +-
5096 src/liblzma/common/stream_decoder.c | 2 +-
5097 src/liblzma/common/stream_encoder.c | 2 +-
5098 11 files changed, 13 insertions(+), 13 deletions(-)
5100 commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c
5101 Author: Lasse Collin <lasse.collin@tukaani.org>
5102 Date: 2009-04-15 14:13:38 +0300
5104 Fix uint32_t -> size_t in ARM and ARM-Thumb filters.
5106 On 64-bit system it would have gone into infinite
5107 loop if a single input buffer was over 4 GiB (unlikely).
5109 src/liblzma/simple/arm.c | 2 +-
5110 src/liblzma/simple/armthumb.c | 2 +-
5111 2 files changed, 2 insertions(+), 2 deletions(-)
5113 commit 31decdce041581e57c0d8a407d4795b114ef27ca
5114 Author: Lasse Collin <lasse.collin@tukaani.org>
5115 Date: 2009-04-14 11:48:46 +0300
5117 Minor fixes to test files' README.
5119 tests/files/README | 17 +++++++++--------
5120 1 files changed, 9 insertions(+), 8 deletions(-)
5122 commit 4787d654434891c7df5b43959b0d2873718f06e0
5123 Author: Lasse Collin <lasse.collin@tukaani.org>
5124 Date: 2009-04-13 16:36:41 +0300
5126 Updated history.txt.
5128 doc/history.txt | 123 +++++++++++++++++++++++++++++-------------------------
5129 1 files changed, 66 insertions(+), 57 deletions(-)
5131 commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9
5132 Author: Lasse Collin <lasse.collin@tukaani.org>
5133 Date: 2009-04-13 14:49:48 +0300
5135 Quick & dirty update to support xz in diff/grep/more scripts.
5137 src/scripts/Makefile.am | 38 +++++++++-----
5138 src/scripts/lzdiff | 67 -------------------------
5139 src/scripts/lzdiff.1 | 51 -------------------
5140 src/scripts/lzgrep | 123 -----------------------------------------------
5141 src/scripts/lzgrep.1 | 61 -----------------------
5142 src/scripts/lzmore | 74 ----------------------------
5143 src/scripts/lzmore.1 | 55 ---------------------
5144 src/scripts/xzdiff | 67 +++++++++++++++++++++++++
5145 src/scripts/xzdiff.1 | 58 ++++++++++++++++++++++
5146 src/scripts/xzgrep | 123 +++++++++++++++++++++++++++++++++++++++++++++++
5147 src/scripts/xzgrep.1 | 77 +++++++++++++++++++++++++++++
5148 src/scripts/xzmore | 74 ++++++++++++++++++++++++++++
5149 src/scripts/xzmore.1 | 66 +++++++++++++++++++++++++
5150 13 files changed, 489 insertions(+), 445 deletions(-)
5152 commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc
5153 Author: Lasse Collin <lasse.collin@tukaani.org>
5154 Date: 2009-04-13 11:27:40 +0300
5156 Put the interesting parts of XZ Utils into the public domain.
5157 Some minor documentation cleanups were made at the same time.
5159 COPYING | 67 ++++++++++++++++++------
5162 Makefile.am | 13 +----
5164 configure.ac | 13 +----
5165 debug/Makefile.am | 13 +----
5166 debug/crc32.c | 13 +----
5167 debug/full_flush.c | 13 +----
5168 debug/hex2bin.c | 7 +--
5169 debug/known_sizes.c | 13 +----
5170 debug/memusage.c | 13 +----
5171 debug/repeat.c | 13 +----
5172 debug/sync_flush.c | 13 +----
5173 doc/faq.txt | 38 +------------
5174 lib/Makefile.am | 18 +++---
5175 src/Makefile.am | 13 +----
5176 src/common/bswap.h | 7 +--
5177 src/common/cpucores.h | 7 +--
5178 src/common/integer.h | 7 +--
5179 src/common/mythread.h | 4 +-
5180 src/common/open_stdxxx.h | 7 +--
5181 src/common/physmem.h | 7 +--
5182 src/common/sysdefs.h | 13 +----
5183 src/liblzma/Makefile.am | 13 +----
5184 src/liblzma/api/Makefile.am | 13 +----
5185 src/liblzma/api/lzma.h | 38 ++++++++-----
5186 src/liblzma/api/lzma/base.h | 20 +++----
5187 src/liblzma/api/lzma/bcj.h | 18 +++----
5188 src/liblzma/api/lzma/block.h | 18 +++----
5189 src/liblzma/api/lzma/check.h | 18 +++----
5190 src/liblzma/api/lzma/container.h | 18 +++----
5191 src/liblzma/api/lzma/delta.h | 18 +++----
5192 src/liblzma/api/lzma/filter.h | 18 +++----
5193 src/liblzma/api/lzma/index.h | 18 +++----
5194 src/liblzma/api/lzma/index_hash.h | 22 +++-----
5195 src/liblzma/api/lzma/lzma.h | 18 +++----
5196 src/liblzma/api/lzma/stream_flags.h | 18 +++----
5197 src/liblzma/api/lzma/subblock.h | 18 +++----
5198 src/liblzma/api/lzma/version.h | 18 +++----
5199 src/liblzma/api/lzma/vli.h | 42 +++++++--------
5200 src/liblzma/check/Makefile.am | 8 +--
5201 src/liblzma/check/check.c | 7 +--
5202 src/liblzma/check/check.h | 7 +--
5203 src/liblzma/check/crc32_fast.c | 30 ++++------
5204 src/liblzma/check/crc32_small.c | 7 +--
5205 src/liblzma/check/crc32_table.c | 7 +--
5206 src/liblzma/check/crc32_tablegen.c | 7 +--
5207 src/liblzma/check/crc32_x86.S | 21 +++++---
5208 src/liblzma/check/crc64_fast.c | 20 +++----
5209 src/liblzma/check/crc64_small.c | 7 +--
5210 src/liblzma/check/crc64_table.c | 7 +--
5211 src/liblzma/check/crc64_tablegen.c | 7 +--
5212 src/liblzma/check/crc64_x86.S | 14 +++--
5213 src/liblzma/check/crc_macros.h | 9 ++--
5214 src/liblzma/check/sha256.c | 23 +++++---
5215 src/liblzma/common/Makefile.am | 13 +----
5216 src/liblzma/common/alone_decoder.c | 13 +----
5217 src/liblzma/common/alone_decoder.h | 13 +----
5218 src/liblzma/common/alone_encoder.c | 13 +----
5219 src/liblzma/common/auto_decoder.c | 13 +----
5220 src/liblzma/common/block_buffer_decoder.c | 13 +----
5221 src/liblzma/common/block_buffer_encoder.c | 13 +----
5222 src/liblzma/common/block_decoder.c | 13 +----
5223 src/liblzma/common/block_decoder.h | 13 +----
5224 src/liblzma/common/block_encoder.c | 13 +----
5225 src/liblzma/common/block_encoder.h | 13 +----
5226 src/liblzma/common/block_header_decoder.c | 13 +----
5227 src/liblzma/common/block_header_encoder.c | 13 +----
5228 src/liblzma/common/block_util.c | 13 +----
5229 src/liblzma/common/bsr.h | 7 +--
5230 src/liblzma/common/chunk_size.c | 13 +----
5231 src/liblzma/common/common.c | 13 +----
5232 src/liblzma/common/common.h | 13 +----
5233 src/liblzma/common/easy_buffer_encoder.c | 13 +----
5234 src/liblzma/common/easy_decoder_memusage.c | 13 +----
5235 src/liblzma/common/easy_encoder.c | 13 +----
5236 src/liblzma/common/easy_encoder_memusage.c | 13 +----
5237 src/liblzma/common/easy_preset.c | 13 +----
5238 src/liblzma/common/easy_preset.h | 13 +----
5239 src/liblzma/common/filter_buffer_decoder.c | 13 +----
5240 src/liblzma/common/filter_buffer_encoder.c | 13 +----
5241 src/liblzma/common/filter_common.c | 13 +----
5242 src/liblzma/common/filter_common.h | 13 +----
5243 src/liblzma/common/filter_decoder.c | 13 +----
5244 src/liblzma/common/filter_decoder.h | 13 +----
5245 src/liblzma/common/filter_encoder.c | 13 +----
5246 src/liblzma/common/filter_encoder.h | 13 +----
5247 src/liblzma/common/filter_flags_decoder.c | 13 +----
5248 src/liblzma/common/filter_flags_encoder.c | 13 +----
5249 src/liblzma/common/index.c | 13 +----
5250 src/liblzma/common/index.h | 13 +----
5251 src/liblzma/common/index_decoder.c | 13 +----
5252 src/liblzma/common/index_encoder.c | 13 +----
5253 src/liblzma/common/index_encoder.h | 13 +----
5254 src/liblzma/common/index_hash.c | 13 +----
5255 src/liblzma/common/stream_buffer_decoder.c | 13 +----
5256 src/liblzma/common/stream_buffer_encoder.c | 13 +----
5257 src/liblzma/common/stream_decoder.c | 13 +----
5258 src/liblzma/common/stream_decoder.h | 13 +----
5259 src/liblzma/common/stream_encoder.c | 13 +----
5260 src/liblzma/common/stream_encoder.h | 13 +----
5261 src/liblzma/common/stream_flags_common.c | 13 +----
5262 src/liblzma/common/stream_flags_common.h | 13 +----
5263 src/liblzma/common/stream_flags_decoder.c | 13 +----
5264 src/liblzma/common/stream_flags_encoder.c | 13 +----
5265 src/liblzma/common/vli_decoder.c | 13 +----
5266 src/liblzma/common/vli_encoder.c | 13 +----
5267 src/liblzma/common/vli_size.c | 13 +----
5268 src/liblzma/delta/Makefile.am | 13 +----
5269 src/liblzma/delta/delta_common.c | 13 +----
5270 src/liblzma/delta/delta_common.h | 13 +----
5271 src/liblzma/delta/delta_decoder.c | 13 +----
5272 src/liblzma/delta/delta_decoder.h | 13 +----
5273 src/liblzma/delta/delta_encoder.c | 13 +----
5274 src/liblzma/delta/delta_encoder.h | 13 +----
5275 src/liblzma/delta/delta_private.h | 13 +----
5276 src/liblzma/lz/Makefile.am | 13 +----
5277 src/liblzma/lz/lz_decoder.c | 17 ++----
5278 src/liblzma/lz/lz_decoder.h | 17 ++----
5279 src/liblzma/lz/lz_encoder.c | 17 ++----
5280 src/liblzma/lz/lz_encoder.h | 17 ++----
5281 src/liblzma/lz/lz_encoder_hash.h | 13 +----
5282 src/liblzma/lz/lz_encoder_mf.c | 17 ++----
5283 src/liblzma/lzma/Makefile.am | 13 +----
5284 src/liblzma/lzma/fastpos.h | 17 ++----
5285 src/liblzma/lzma/fastpos_tablegen.c | 17 ++----
5286 src/liblzma/lzma/lzma2_decoder.c | 17 ++----
5287 src/liblzma/lzma/lzma2_decoder.h | 17 ++----
5288 src/liblzma/lzma/lzma2_encoder.c | 17 ++----
5289 src/liblzma/lzma/lzma2_encoder.h | 17 ++----
5290 src/liblzma/lzma/lzma_common.h | 17 ++----
5291 src/liblzma/lzma/lzma_decoder.c | 17 ++----
5292 src/liblzma/lzma/lzma_decoder.h | 17 ++----
5293 src/liblzma/lzma/lzma_encoder.c | 17 ++----
5294 src/liblzma/lzma/lzma_encoder.h | 17 ++----
5295 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 13 +----
5296 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 +----
5297 src/liblzma/lzma/lzma_encoder_presets.c | 13 +----
5298 src/liblzma/lzma/lzma_encoder_private.h | 17 ++----
5299 src/liblzma/rangecoder/Makefile.am | 13 +----
5300 src/liblzma/rangecoder/price.h | 13 +----
5301 src/liblzma/rangecoder/price_tablegen.c | 16 ++----
5302 src/liblzma/rangecoder/range_common.h | 17 ++----
5303 src/liblzma/rangecoder/range_decoder.h | 17 ++----
5304 src/liblzma/rangecoder/range_encoder.h | 17 ++----
5305 src/liblzma/simple/Makefile.am | 13 +----
5306 src/liblzma/simple/arm.c | 17 ++----
5307 src/liblzma/simple/armthumb.c | 17 ++----
5308 src/liblzma/simple/ia64.c | 17 ++----
5309 src/liblzma/simple/powerpc.c | 17 ++----
5310 src/liblzma/simple/simple_coder.c | 13 +----
5311 src/liblzma/simple/simple_coder.h | 14 +----
5312 src/liblzma/simple/simple_decoder.c | 13 +----
5313 src/liblzma/simple/simple_decoder.h | 13 +----
5314 src/liblzma/simple/simple_encoder.c | 13 +----
5315 src/liblzma/simple/simple_encoder.h | 13 +----
5316 src/liblzma/simple/simple_private.h | 13 +----
5317 src/liblzma/simple/sparc.c | 17 ++----
5318 src/liblzma/simple/x86.c | 17 ++----
5319 src/liblzma/subblock/Makefile.am | 13 +----
5320 src/liblzma/subblock/subblock_decoder.c | 13 +----
5321 src/liblzma/subblock/subblock_decoder.h | 13 +----
5322 src/liblzma/subblock/subblock_decoder_helper.c | 13 +----
5323 src/liblzma/subblock/subblock_decoder_helper.h | 13 +----
5324 src/liblzma/subblock/subblock_encoder.c | 13 +----
5325 src/liblzma/subblock/subblock_encoder.h | 13 +----
5326 src/scripts/Makefile.am | 7 +++
5327 src/xz/Makefile.am | 13 +----
5328 src/xz/args.c | 13 +----
5329 src/xz/args.h | 13 +----
5330 src/xz/hardware.c | 13 +----
5331 src/xz/hardware.h | 13 +----
5332 src/xz/io.c | 13 +----
5333 src/xz/io.h | 13 +----
5334 src/xz/list.c | 13 +----
5335 src/xz/main.c | 13 +----
5336 src/xz/main.h | 13 +----
5337 src/xz/message.c | 13 +----
5338 src/xz/message.h | 13 +----
5339 src/xz/options.c | 13 +----
5340 src/xz/options.h | 13 +----
5341 src/xz/private.h | 13 +----
5342 src/xz/process.c | 13 +----
5343 src/xz/process.h | 13 +----
5344 src/xz/signals.c | 13 +----
5345 src/xz/signals.h | 13 +----
5346 src/xz/suffix.c | 13 +----
5347 src/xz/suffix.h | 13 +----
5348 src/xz/util.c | 13 +----
5349 src/xz/util.h | 13 +----
5350 src/xzdec/Makefile.am | 13 +----
5351 src/xzdec/xzdec.c | 13 +----
5352 tests/Makefile.am | 13 +----
5353 tests/bcj_test.c | 7 +--
5354 tests/create_compress_files.c | 13 +----
5355 tests/test_block.c | 13 +----
5356 tests/test_block_header.c | 13 +----
5357 tests/test_check.c | 13 +----
5358 tests/test_compress.sh | 13 +----
5359 tests/test_files.sh | 13 +----
5360 tests/test_filter_flags.c | 13 +----
5361 tests/test_index.c | 13 +----
5362 tests/test_stream_flags.c | 13 +----
5363 tests/tests.h | 13 +----
5364 windows/common.rc | 2 +-
5365 206 files changed, 866 insertions(+), 2021 deletions(-)
5367 commit e79c42d854657ae7f75613bd80c1a35ff7c525cb
5368 Author: Lasse Collin <lasse.collin@tukaani.org>
5369 Date: 2009-04-10 11:17:02 +0300
5371 Fix off-by-one in LZ decoder.
5373 Fortunately, this bug had no security risk other than accepting
5374 some corrupt files as valid.
5376 src/liblzma/lz/lz_decoder.h | 2 +-
5377 1 files changed, 1 insertions(+), 1 deletions(-)
5379 commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af
5380 Author: Pavel Roskin <proski@gnu.org>
5381 Date: 2009-03-31 12:15:01 -0400
5383 Fix minor typos in README
5386 1 files changed, 3 insertions(+), 3 deletions(-)
5388 commit 9bab5336ebd765ec4e12252f416eefdf04eba750
5389 Author: Lasse Collin <lasse.collin@tukaani.org>
5390 Date: 2009-03-31 21:52:51 +0300
5392 Add a note and work-around instructions to README about
5393 problems detecting a C99 compiler when some standard
5394 headers are missing.
5396 README | 11 +++++++++++
5397 1 files changed, 11 insertions(+), 0 deletions(-)
5399 commit a0497ff7a06f9350349264fe9b52dfefc6d53ead
5400 Author: Lasse Collin <lasse.collin@tukaani.org>
5401 Date: 2009-03-18 16:54:38 +0200
5406 1 files changed, 1 insertions(+), 0 deletions(-)
5408 commit 390e69887fc5e0a108eb41203bed9acd100a3d76
5409 Author: Lasse Collin <lasse.collin@tukaani.org>
5410 Date: 2009-03-18 16:51:41 +0200
5412 Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
5413 Thanks to Bert Wesarg.
5415 m4/lc_cpucores.m4 | 4 ++--
5416 src/common/cpucores.h | 4 ++--
5417 2 files changed, 4 insertions(+), 4 deletions(-)
5419 commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6
5420 Author: Lasse Collin <lasse.collin@tukaani.org>
5421 Date: 2009-03-01 09:03:08 +0200
5423 Test for Linux-specific sysinfo() only on Linux systems.
5424 Some other systems have sysinfo() with different semantics.
5426 m4/lc_physmem.m4 | 28 +++++++++++++++++++---------
5427 1 files changed, 19 insertions(+), 9 deletions(-)
5429 commit cf751edfde3ad6e088dc18e0522d31ae38405933
5430 Author: Lasse Collin <lasse.collin@tukaani.org>
5431 Date: 2009-03-01 09:00:06 +0200
5433 Added AC_CONFIG_MACRO_DIR to configure.ac.
5436 1 files changed, 1 insertions(+), 0 deletions(-)
5438 commit 63df14c57dee7c461717784287056688482a7eb9
5439 Author: Lasse Collin <lasse.collin@tukaani.org>
5440 Date: 2009-03-01 08:58:41 +0200
5442 Fix the Autoconf test for getopt_long replacement.
5443 It was broken by e114502b2bc371e4a45449832cb69be036360722.
5445 m4/getopt.m4 | 4 ++++
5446 1 files changed, 4 insertions(+), 0 deletions(-)
5448 commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f
5449 Author: Lasse Collin <lasse.collin@tukaani.org>
5450 Date: 2009-02-22 19:07:54 +0200
5452 Add a rough explanation of --extreme to output of --help.
5454 src/xz/message.c | 4 ++++
5455 1 files changed, 4 insertions(+), 0 deletions(-)
5457 commit 68bf7ac2984d3627369a240ef0491934d53f7899
5458 Author: Lasse Collin <lasse.collin@tukaani.org>
5459 Date: 2009-02-22 18:52:49 +0200
5461 Fixes to progress message handling in xz:
5463 - Don't use Windows-specific code on Windows. The old code
5464 required at least Windows 2000. Now it should work on
5465 Windows 98 and later, and maybe on Windows 95 too.
5467 - Use less precision when showing estimated remaining time.
5469 - Fix some small design issues.
5471 src/xz/message.c | 483 ++++++++++++++++++++++++++++++++++--------------------
5472 src/xz/message.h | 28 ++-
5473 src/xz/process.c | 53 +++---
5474 3 files changed, 351 insertions(+), 213 deletions(-)
5476 commit 47c2e21f82242f50f18713a27d644c2c94ab3fea
5477 Author: Lasse Collin <lasse.collin@tukaani.org>
5478 Date: 2009-02-18 13:00:10 +0200
5480 Added files missing from the previous commit.
5482 src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++
5483 src/liblzma/common/Makefile.am | 7 ++++++-
5484 2 files changed, 39 insertions(+), 1 deletions(-)
5486 commit 489a3dbaa0465f04400804e956a1cfbbee3654a2
5487 Author: Lasse Collin <lasse.collin@tukaani.org>
5488 Date: 2009-02-17 10:43:00 +0200
5490 Added lzma_easy_buffer_encode(). Splitted easy.c into small
5491 pieces to avoid unneeded dependencies making statically
5492 linked applications bigger than needed.
5495 src/liblzma/common/easy.c | 128 ----------------------------
5496 src/liblzma/common/easy_buffer_encoder.c | 34 ++++++++
5497 src/liblzma/common/easy_decoder_memusage.c | 31 +++++++
5498 src/liblzma/common/easy_encoder.c | 87 +++++++++++++++++++
5499 src/liblzma/common/easy_encoder_memusage.c | 31 +++++++
5500 src/liblzma/common/easy_preset.c | 34 ++++++++
5501 src/liblzma/common/easy_preset.h | 39 +++++++++
5502 windows/Makefile | 6 +-
5503 9 files changed, 266 insertions(+), 130 deletions(-)
5505 commit 7494816ab08d82f4d6409788825930c4e43cfd0d
5506 Author: Lasse Collin <lasse.collin@tukaani.org>
5507 Date: 2009-02-15 15:48:45 +0200
5509 Make physmem.h work on old Windows versions.
5510 Thanks to Hongbo Ni for the original patch.
5512 src/common/physmem.h | 31 +++++++++++++++++++++++++++----
5513 1 files changed, 27 insertions(+), 4 deletions(-)
5515 commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0
5516 Author: Lasse Collin <lasse.collin@tukaani.org>
5517 Date: 2009-02-14 20:44:52 +0200
5519 Fix microsecond vs. nanosecond confusion in my_time().
5521 src/xz/message.c | 2 +-
5522 1 files changed, 1 insertions(+), 1 deletions(-)
5524 commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7
5525 Author: Lasse Collin <lasse.collin@tukaani.org>
5526 Date: 2009-02-14 00:45:29 +0200
5528 Cleanups to the code that detects the amount of RAM and
5529 the number of CPU cores. Added support for using sysinfo()
5530 on Linux systems whose libc lacks appropriate sysconf()
5531 support (at least dietlibc). The Autoconf macros were
5532 split into separate files, and CPU core count detection
5533 was moved from hardware.c to cpucores.h. The core count
5534 isn't used for anything real for now, so a problematic
5535 part in process.c was commented out.
5537 configure.ac | 89 +-----------------------------------------------
5538 m4/lc_cpucores.m4 | 57 +++++++++++++++++++++++++++++++
5539 m4/lc_physmem.m4 | 74 ++++++++++++++++++++++++++++++++++++++++
5540 src/common/cpucores.h | 52 ++++++++++++++++++++++++++++
5541 src/common/physmem.h | 21 +++++++----
5542 src/xz/args.c | 4 +-
5543 src/xz/hardware.c | 50 ++++++++++++---------------
5544 src/xz/hardware.h | 11 ++++--
5545 src/xz/message.c | 5 ++-
5546 src/xz/process.c | 2 +
5547 10 files changed, 235 insertions(+), 130 deletions(-)
5549 commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8
5550 Author: Lasse Collin <lasse.collin@tukaani.org>
5551 Date: 2009-02-13 18:23:50 +0200
5553 Initial port to DOS using DJGPP.
5555 dos/Makefile | 261 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5556 dos/README | 113 +++++++++++++++++++++++++
5557 dos/config.h | 150 +++++++++++++++++++++++++++++++++
5558 3 files changed, 524 insertions(+), 0 deletions(-)
5560 commit 0dae8b7751d09e9c5a482d5519daaee4800ce203
5561 Author: Lasse Collin <lasse.collin@tukaani.org>
5562 Date: 2009-02-13 18:02:05 +0200
5564 Windows port: Take advantage of the version number macros.
5565 Now the version number is not duplicated in the
5566 Windows-specific files anymore.
5568 windows/Makefile | 2 +-
5569 windows/common.rc | 16 ++++++++--------
5570 windows/config.h | 15 ---------------
5571 3 files changed, 9 insertions(+), 24 deletions(-)
5573 commit fdbc0cfa71f7d660855098a609175ba384259529
5574 Author: Lasse Collin <lasse.collin@tukaani.org>
5575 Date: 2009-02-13 18:00:03 +0200
5577 Changed how the version number is specified in various places.
5578 Now configure.ac will get the version number directly from
5579 src/liblzma/api/lzma/version.h. The intent is to reduce the
5580 number of places where the version number is duplicated. In
5581 future, support for displaying Git commit ID may be added too.
5584 src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++--
5585 src/liblzma/common/common.c | 2 +-
5586 src/xz/message.c | 2 +-
5587 src/xzdec/xzdec.c | 2 +-
5588 version.sh | 23 +++++++++++++
5589 6 files changed, 95 insertions(+), 7 deletions(-)
5591 commit 1d924e584b146136989f48c13fff2632896efb3d
5592 Author: Lasse Collin <lasse.collin@tukaani.org>
5593 Date: 2009-02-13 17:30:30 +0200
5595 Fix handling of integrity check type in the xz command line tool.
5597 src/xz/args.c | 9 ++++++++-
5598 src/xz/process.c | 4 ++++
5599 2 files changed, 12 insertions(+), 1 deletions(-)
5601 commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8
5602 Author: Lasse Collin <lasse.collin@tukaani.org>
5603 Date: 2009-02-13 17:29:02 +0200
5605 Improve support for DOS-like systems.
5606 Here DOS-like means DOS, Windows, and OS/2.
5608 src/common/physmem.h | 12 ++++++++++++
5609 src/common/sysdefs.h | 4 ++++
5610 src/liblzma/check/crc32_x86.S | 6 +++---
5611 src/liblzma/check/crc64_x86.S | 6 +++---
5612 src/xz/args.c | 13 +++++--------
5613 src/xz/io.c | 39 +++++++++++++++++++++++++--------------
5614 src/xz/main.c | 23 +++++++++++++++++++++++
5615 src/xz/message.c | 3 +++
5616 src/xz/suffix.c | 5 +++++
5617 src/xzdec/xzdec.c | 5 +++--
5618 10 files changed, 86 insertions(+), 30 deletions(-)
5620 commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33
5621 Author: Lasse Collin <lasse.collin@tukaani.org>
5622 Date: 2009-02-11 20:02:32 +0200
5624 Remove dead directories from .gitignore.
5627 1 files changed, 0 insertions(+), 2 deletions(-)
5629 commit 1ec5b0027911d94cb6f98892cbc690f818d8a861
5630 Author: Jim Meyering <jim@meyering.net>
5631 Date: 2009-02-11 14:45:14 +0100
5633 .gitignore vs. Makefiles
5635 How about this for those of us who do srcdir builds?
5637 .gitignore | 22 ++++++++++++++++++++++
5638 1 files changed, 22 insertions(+), 0 deletions(-)
5640 commit 154f5aec2de201c674841de4fcc9804c2a87af07
5641 Author: Lasse Collin <lasse.collin@tukaani.org>
5642 Date: 2009-02-10 21:48:35 +0200
5644 Removed Makefile from .gitignore since not all Makefiles
5645 in the repository are generated by Autotools. People
5646 should do test builds in a separate build directory anyway.
5649 1 files changed, 0 insertions(+), 1 deletions(-)
5651 commit e605c2663691b0a4c307786aa368d124ea081daa
5652 Author: Lasse Collin <lasse.collin@tukaani.org>
5653 Date: 2009-02-10 21:48:05 +0200
5655 Added resource files for the Windows build.
5657 windows/Makefile | 37 ++++++++++++++++++++++---------------
5658 windows/common.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++
5659 windows/liblzma.rc | 5 +++++
5660 windows/lzmadec.rc | 5 +++++
5661 windows/xz.rc | 5 +++++
5662 windows/xzdec.rc | 5 +++++
5663 6 files changed, 88 insertions(+), 15 deletions(-)
5665 commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476
5666 Author: Lasse Collin <lasse.collin@tukaani.org>
5667 Date: 2009-02-09 14:54:31 +0200
5669 Let the user specify custom CFLAGS on the make command
5670 line. Previously custom CFLAGS worked only when they were
5671 passed to configure.
5673 configure.ac | 58 +++++++++++++++++++++-------------------
5674 src/liblzma/check/Makefile.am | 2 +-
5675 2 files changed, 31 insertions(+), 29 deletions(-)
5677 commit 53f7598998b1860a69c51243b5d2e34623c6bf60
5678 Author: Lasse Collin <lasse.collin@tukaani.org>
5679 Date: 2009-02-08 21:35:11 +0200
5681 Fix aliasing issue in physmem.h.
5683 src/common/physmem.h | 19 ++++++++++---------
5684 1 files changed, 10 insertions(+), 9 deletions(-)
5686 commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6
5687 Author: Lasse Collin <lasse.collin@tukaani.org>
5688 Date: 2009-02-08 18:24:50 +0200
5690 Add a separate internal function to initialize the CRC32
5691 table, which is used also by LZ encoder. This was needed
5692 because calling lzma_crc32() and ignoring the result is
5693 a no-op due to lzma_attr_pure.
5695 src/liblzma/check/check.h | 1 +
5696 src/liblzma/check/crc32_small.c | 10 +++++++++-
5697 src/liblzma/lz/lz_encoder.c | 4 ++--
5698 3 files changed, 12 insertions(+), 3 deletions(-)
5700 commit ae1ad9af54210c9a2be336b1316532da5071516c
5701 Author: Lasse Collin <lasse.collin@tukaani.org>
5702 Date: 2009-02-08 18:17:05 +0200
5704 Make "xz --force" to write to terminal as the error
5707 src/xz/main.c | 2 +-
5708 1 files changed, 1 insertions(+), 1 deletions(-)
5710 commit 79e25eded48d2fe33f31441ab7a034f902e335f8
5711 Author: Lasse Collin <lasse.collin@tukaani.org>
5712 Date: 2009-02-08 10:37:50 +0200
5714 Support both slash and backslash as path component
5715 separator on Windows when parsing argv[0].
5717 src/xz/args.c | 9 +++++++++
5718 1 files changed, 9 insertions(+), 0 deletions(-)
5720 commit bc7c7109cc4410055a888c1c70cbd1c9445c4361
5721 Author: Lasse Collin <lasse.collin@tukaani.org>
5722 Date: 2009-02-07 23:18:13 +0200
5724 Omit the wrong and (even if corrected) nowadays useless rm
5727 autogen.sh | 28 ----------------------------
5728 1 files changed, 0 insertions(+), 28 deletions(-)
5730 commit edfc2031e56f8a2ccda063f02936b3a848d88723
5731 Author: Lasse Collin <lasse.collin@tukaani.org>
5732 Date: 2009-02-07 21:41:52 +0200
5737 1 files changed, 1 insertions(+), 0 deletions(-)
5739 commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3
5740 Author: Lasse Collin <lasse.collin@tukaani.org>
5741 Date: 2009-02-07 21:17:07 +0200
5743 Make it easy to choose if command line tools should be
5744 linked statically or dynamically against liblzma. The
5745 default is still to use static liblzma, but it can now
5746 be changed by passing --enable-dynamic to configure.
5747 Thanks to Mike Frysinger for the original patch.
5749 Fixed a few minor bugs in configure.ac.
5751 configure.ac | 39 +++++++++++++++++++++++++++++++++++++++
5752 src/xz/Makefile.am | 8 +++-----
5753 src/xzdec/Makefile.am | 5 +++--
5754 3 files changed, 45 insertions(+), 7 deletions(-)
5756 commit 3f86532407e4ace3debb62be16035e009b56ca36
5757 Author: Mike Frysinger <vapier@gentoo.org>
5758 Date: 2009-02-06 23:38:39 -0500
5762 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
5764 .gitignore | 32 ++++++++++++++++++++++++++++++++
5765 m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++
5766 po/.gitignore | 12 ++++++++++++
5767 3 files changed, 79 insertions(+), 0 deletions(-)
5769 commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5
5770 Author: Lasse Collin <lasse.collin@tukaani.org>
5771 Date: 2009-02-07 17:07:52 +0200
5773 Assume 32 MiB of RAM on unsupported operating systems like
5774 the comment in hardware.c already said.
5776 src/xz/hardware.c | 2 +-
5777 1 files changed, 1 insertions(+), 1 deletions(-)
5779 commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618
5780 Author: Lasse Collin <lasse.collin@tukaani.org>
5781 Date: 2009-02-07 16:26:58 +0200
5783 MinGW support: Don't build fastpos_tablegen.c as part of
5784 liblzma. Build both static and dynamic liblzma, and also
5785 static and dynamic versions of the command line tools.
5787 windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++-------------
5788 windows/README | 10 ------
5789 2 files changed, 69 insertions(+), 33 deletions(-)
5791 commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45
5792 Author: Lasse Collin <lasse.collin@tukaani.org>
5793 Date: 2009-02-07 15:55:47 +0200
5795 Support LZMA_API_STATIC in assembler files to
5796 avoid __declspec(dllexport) equivalent.
5798 src/liblzma/check/crc32_x86.S | 4 ++++
5799 src/liblzma/check/crc64_x86.S | 2 ++
5800 2 files changed, 6 insertions(+), 0 deletions(-)
5802 commit 3306cf3883492720b3c34baa02f4eb4227d91c73
5803 Author: Lasse Collin <lasse.collin@tukaani.org>
5804 Date: 2009-02-07 11:11:50 +0200
5806 Introduced LZMA_API_STATIC macro, which the applications
5807 need to #define when linking against static liblzma on
5808 platforms like Windows. Most developers don't need to
5809 care about LZMA_API_STATIC at all.
5811 src/liblzma/api/lzma.h | 31 ++++++++++++++++++++++++-------
5812 src/liblzma/common/common.h | 2 +-
5813 2 files changed, 25 insertions(+), 8 deletions(-)
5815 commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b
5816 Author: Lasse Collin <lasse.collin@tukaani.org>
5817 Date: 2009-02-06 16:55:45 +0200
5822 1 files changed, 1 insertions(+), 1 deletions(-)
5824 commit fe5434f940f75fec3611cf9d9edf78c4da8ac760
5825 Author: Lasse Collin <lasse.collin@tukaani.org>
5826 Date: 2009-02-06 12:30:23 +0200
5828 Grammar fix in README.
5831 1 files changed, 1 insertions(+), 1 deletions(-)
5833 commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245
5834 Author: Lasse Collin <lasse.collin@tukaani.org>
5835 Date: 2009-02-06 10:06:32 +0200
5837 Some MSYS installations (e.g. MsysGit) don't include
5838 install.exe, so don't rely on it.
5840 windows/Makefile | 12 +++++++-----
5841 windows/README | 11 ++++++-----
5842 2 files changed, 13 insertions(+), 10 deletions(-)
5844 commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31
5845 Author: Lasse Collin <lasse.collin@tukaani.org>
5846 Date: 2009-02-06 09:13:15 +0200
5848 Recreated the BCJ test files for x86 and SPARC. The old files
5849 were linked with crt*.o, which are copyrighted, and thus the
5850 old test files were not in the public domain as a whole. They
5851 are freely distributable though, but it is better to be careful
5852 and avoid including any copyrighted pieces in the test files.
5853 The new files are just compiled and assembled object files,
5854 and thus don't contain any copyrighted code.
5856 tests/bcj_test.c | 2 +-
5857 tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes
5858 tests/compress_prepared_bcj_x86 | Bin 4649 -> 1388 bytes
5859 tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes
5860 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 716 bytes
5861 5 files changed, 1 insertions(+), 1 deletions(-)
5863 commit 094b1b09a531f0d201ec81f2b07346a995fd80b9
5864 Author: Lasse Collin <lasse.collin@tukaani.org>
5865 Date: 2009-02-05 21:21:27 +0200
5867 Add the "windows" directory to EXTRA_DIST.
5870 1 files changed, 1 insertions(+), 0 deletions(-)
5872 commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49
5873 Author: Lasse Collin <lasse.collin@tukaani.org>
5874 Date: 2009-02-05 09:17:51 +0200
5876 Added initial experimental makefile for use with MinGW.
5878 windows/Makefile | 253 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
5879 windows/README | 164 +++++++++++++++++++++++++++++++++++
5880 windows/config.h | 180 ++++++++++++++++++++++++++++++++++++++
5881 3 files changed, 597 insertions(+), 0 deletions(-)
5883 commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9
5884 Author: Lasse Collin <lasse.collin@tukaani.org>
5885 Date: 2009-02-05 09:12:57 +0200
5887 Various code cleanups the the xz command line tool.
5888 It now builds with MinGW.
5890 src/common/physmem.h | 13 ++++
5891 src/xz/Makefile.am | 2 +
5892 src/xz/args.h | 8 --
5893 src/xz/hardware.h | 10 +---
5894 src/xz/io.c | 93 +++++++++++++++++++-------
5895 src/xz/io.h | 12 +--
5896 src/xz/main.c | 132 ++-----------------------------------
5897 src/xz/main.h | 22 ------
5898 src/xz/message.c | 65 ++++++++++++++++--
5899 src/xz/message.h | 6 --
5900 src/xz/options.h | 8 --
5901 src/xz/private.h | 18 ++++--
5902 src/xz/process.h | 10 +---
5903 src/xz/signals.c | 180 ++++++++++++++++++++++++++++++++++++++++++++++++++
5904 src/xz/signals.h | 51 ++++++++++++++
5905 src/xz/suffix.h | 5 --
5906 src/xz/util.c | 5 +-
5907 src/xz/util.h | 5 --
5908 18 files changed, 399 insertions(+), 246 deletions(-)
5910 commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe
5911 Author: Lasse Collin <lasse.collin@tukaani.org>
5912 Date: 2009-02-03 12:15:17 +0200
5914 Another utime() fix.
5916 src/xz/io.c | 9 +++++----
5917 1 files changed, 5 insertions(+), 4 deletions(-)
5919 commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca
5920 Author: Lasse Collin <lasse.collin@tukaani.org>
5921 Date: 2009-02-03 10:41:11 +0200
5923 Fix wrong filename argument for utime() and utimes().
5924 This doesn't affect most systems, since most systems
5925 have better functions available.
5927 src/xz/io.c | 4 ++--
5928 1 files changed, 2 insertions(+), 2 deletions(-)
5930 commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302
5931 Author: Lasse Collin <lasse.collin@tukaani.org>
5932 Date: 2009-02-02 21:19:01 +0200
5934 Updated the x86 assembler code:
5935 - Use call/ret pair to get instruction pointer for PIC.
5936 - Use PIC only if PIC or __PIC__ is #defined.
5937 - The code should work on MinGW and Darwin in addition
5938 to GNU/Linux and Solaris.
5940 configure.ac | 6 ---
5941 src/liblzma/check/crc32_x86.S | 84 +++++++++++++++++++++++++++++++++++------
5942 src/liblzma/check/crc64_x86.S | 82 +++++++++++++++++++++++++++++++++++-----
5943 3 files changed, 144 insertions(+), 28 deletions(-)
5945 commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f
5946 Author: Lasse Collin <lasse.collin@tukaani.org>
5947 Date: 2009-02-02 20:14:03 +0200
5949 Modify LZMA_API macro so that it works on Windows with
5950 other compilers than MinGW. This may hurt readability
5951 of the API headers slightly, but I don't know any
5952 better way to do this.
5954 src/liblzma/api/lzma.h | 6 ++--
5955 src/liblzma/api/lzma/base.h | 11 ++++---
5956 src/liblzma/api/lzma/block.h | 22 +++++++-------
5957 src/liblzma/api/lzma/check.h | 10 +++---
5958 src/liblzma/api/lzma/container.h | 22 +++++++-------
5959 src/liblzma/api/lzma/filter.h | 28 ++++++++++----------
5960 src/liblzma/api/lzma/index.h | 40 ++++++++++++++--------------
5961 src/liblzma/api/lzma/index_hash.h | 10 +++---
5962 src/liblzma/api/lzma/lzma.h | 6 ++--
5963 src/liblzma/api/lzma/stream_flags.h | 10 +++---
5964 src/liblzma/api/lzma/version.h | 4 +-
5965 src/liblzma/api/lzma/vli.h | 6 ++--
5966 src/liblzma/check/check.c | 4 +-
5967 src/liblzma/check/crc32_fast.c | 2 +-
5968 src/liblzma/check/crc32_small.c | 2 +-
5969 src/liblzma/check/crc64_fast.c | 2 +-
5970 src/liblzma/check/crc64_small.c | 2 +-
5971 src/liblzma/common/alone_decoder.c | 2 +-
5972 src/liblzma/common/alone_encoder.c | 2 +-
5973 src/liblzma/common/auto_decoder.c | 2 +-
5974 src/liblzma/common/block_buffer_decoder.c | 2 +-
5975 src/liblzma/common/block_buffer_encoder.c | 4 +-
5976 src/liblzma/common/block_decoder.c | 2 +-
5977 src/liblzma/common/block_encoder.c | 2 +-
5978 src/liblzma/common/block_header_decoder.c | 2 +-
5979 src/liblzma/common/block_header_encoder.c | 4 +-
5980 src/liblzma/common/block_util.c | 6 ++--
5981 src/liblzma/common/chunk_size.c | 2 +-
5982 src/liblzma/common/common.c | 16 +++++-----
5983 src/liblzma/common/common.h | 2 +-
5984 src/liblzma/common/easy.c | 6 ++--
5985 src/liblzma/common/filter_buffer_decoder.c | 2 +-
5986 src/liblzma/common/filter_buffer_encoder.c | 2 +-
5987 src/liblzma/common/filter_decoder.c | 8 +++---
5988 src/liblzma/common/filter_encoder.c | 12 ++++----
5989 src/liblzma/common/filter_flags_decoder.c | 2 +-
5990 src/liblzma/common/filter_flags_encoder.c | 4 +-
5991 src/liblzma/common/index.c | 32 +++++++++++-----------
5992 src/liblzma/common/index_decoder.c | 4 +-
5993 src/liblzma/common/index_encoder.c | 4 +-
5994 src/liblzma/common/index_hash.c | 10 +++---
5995 src/liblzma/common/stream_buffer_decoder.c | 2 +-
5996 src/liblzma/common/stream_buffer_encoder.c | 4 +-
5997 src/liblzma/common/stream_decoder.c | 2 +-
5998 src/liblzma/common/stream_encoder.c | 2 +-
5999 src/liblzma/common/stream_flags_common.c | 2 +-
6000 src/liblzma/common/stream_flags_decoder.c | 4 +-
6001 src/liblzma/common/stream_flags_encoder.c | 4 +-
6002 src/liblzma/common/vli_decoder.c | 2 +-
6003 src/liblzma/common/vli_encoder.c | 2 +-
6004 src/liblzma/common/vli_size.c | 2 +-
6005 src/liblzma/lz/lz_encoder.c | 2 +-
6006 src/liblzma/lzma/lzma_encoder.c | 2 +-
6007 src/liblzma/lzma/lzma_encoder_presets.c | 2 +-
6008 54 files changed, 177 insertions(+), 176 deletions(-)
6010 commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65
6011 Author: Lasse Collin <lasse.collin@tukaani.org>
6012 Date: 2009-02-01 22:40:35 +0200
6014 Fix a bug in lzma_block_buffer_decode(), although this
6015 function should be rewritten anyway.
6017 src/liblzma/common/block_buffer_decoder.c | 8 ++++----
6018 1 files changed, 4 insertions(+), 4 deletions(-)
6020 commit 55fd41431e61fb8178858283d636b6781e33e847
6021 Author: Lasse Collin <lasse.collin@tukaani.org>
6022 Date: 2009-02-01 22:39:07 +0200
6024 Added initial version of raw buffer-to-buffer coding
6025 functions, and cleaned up filter.h API header a little.
6026 May be very buggy, not tested yet.
6028 src/liblzma/api/lzma/filter.h | 84 +++++++++++++++++++------
6029 src/liblzma/common/Makefile.am | 2 +
6030 src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++
6031 src/liblzma/common/filter_buffer_encoder.c | 61 ++++++++++++++++++
6032 4 files changed, 221 insertions(+), 20 deletions(-)
6034 commit 3e54ecee5cad30a5ca361a88a99230407abc0699
6035 Author: Lasse Collin <lasse.collin@tukaani.org>
6036 Date: 2009-02-01 00:11:20 +0200
6038 Fix missing newlines in xzdec.c.
6040 src/xzdec/xzdec.c | 6 +++---
6041 1 files changed, 3 insertions(+), 3 deletions(-)
6043 commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35
6044 Author: Lasse Collin <lasse.collin@tukaani.org>
6045 Date: 2009-02-01 00:10:07 +0200
6047 Use __cdecl also for function pointers in liblzma API when
6050 src/liblzma/api/lzma.h | 18 +++++++++++-------
6051 src/liblzma/api/lzma/base.h | 4 ++--
6052 src/liblzma/common/common.h | 18 +++++++-----------
6053 3 files changed, 20 insertions(+), 20 deletions(-)
6055 commit 6a2eb54092fc625d59921a607ff68cd1a90aa898
6056 Author: Lasse Collin <lasse.collin@tukaani.org>
6057 Date: 2009-01-31 11:01:48 +0200
6059 Add LZMA_API to liblzma API headers. It's useful at least
6060 on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h
6061 has to be #included separately where needed.
6063 src/common/sysdefs.h | 2 -
6064 src/liblzma/api/lzma.h | 17 ++++++++++++
6065 src/liblzma/api/lzma/base.h | 10 +++---
6066 src/liblzma/api/lzma/block.h | 25 ++++++++++--------
6067 src/liblzma/api/lzma/check.h | 12 +++++---
6068 src/liblzma/api/lzma/container.h | 23 +++++++++--------
6069 src/liblzma/api/lzma/filter.h | 24 +++++++++---------
6070 src/liblzma/api/lzma/index.h | 47 ++++++++++++++++++++---------------
6071 src/liblzma/api/lzma/index_hash.h | 11 ++++---
6072 src/liblzma/api/lzma/lzma.h | 8 +++--
6073 src/liblzma/api/lzma/stream_flags.h | 10 +++---
6074 src/liblzma/api/lzma/version.h | 4 +-
6075 src/liblzma/api/lzma/vli.h | 10 +++---
6076 src/liblzma/common/common.h | 13 ++++++++-
6077 src/xz/private.h | 1 +
6078 src/xzdec/xzdec.c | 1 +
6080 17 files changed, 131 insertions(+), 88 deletions(-)
6082 commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b
6083 Author: Lasse Collin <lasse.collin@tukaani.org>
6084 Date: 2009-01-31 10:13:09 +0200
6086 Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.
6088 src/xzdec/xzdec.c | 4 ++--
6089 1 files changed, 2 insertions(+), 2 deletions(-)
6091 commit 2dbdc5befb33c3703e4609809101047c67caf343
6092 Author: Lasse Collin <lasse.collin@tukaani.org>
6093 Date: 2009-01-31 10:02:52 +0200
6095 Fix two lines in lzma.h on which the # wasn't at the
6096 beginning of the line.
6098 src/liblzma/api/lzma.h | 4 ++--
6099 1 files changed, 2 insertions(+), 2 deletions(-)
6101 commit 4ab760109106dc04f39dd81c97d50f528d1b51c1
6102 Author: Lasse Collin <lasse.collin@tukaani.org>
6103 Date: 2009-01-31 09:55:05 +0200
6105 Add support for using liblzma headers in MSVC, which has no
6106 stdint.h or inttypes.h.
6108 src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++----------------
6109 1 files changed, 46 insertions(+), 24 deletions(-)
6111 commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9
6112 Author: Lasse Collin <lasse.collin@tukaani.org>
6113 Date: 2009-01-31 08:49:54 +0200
6115 Fix # -> ## in a macro in lzma.h.
6117 src/liblzma/api/lzma.h | 2 +-
6118 1 files changed, 1 insertions(+), 1 deletions(-)
6120 commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208
6121 Author: Lasse Collin <lasse.collin@tukaani.org>
6122 Date: 2009-01-30 18:50:16 +0200
6126 README | 30 ++++++++++++++++++++----------
6127 1 files changed, 20 insertions(+), 10 deletions(-)
6129 commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb
6130 Author: Lasse Collin <lasse.collin@tukaani.org>
6131 Date: 2009-01-30 00:29:58 +0200
6133 Remove dangling crc64_init.c.
6135 src/liblzma/check/crc64_init.c | 55 ----------------------------------------
6136 1 files changed, 0 insertions(+), 55 deletions(-)
6138 commit 982da7ed314398420c38bf154a8f759d5f18b480
6139 Author: Lasse Collin <lasse.collin@tukaani.org>
6140 Date: 2009-01-28 17:16:38 +0200
6142 The .xz file format specification version 1.0.0 is now
6143 officially released. The format has been technically the same
6144 since 2008-11-19, but now that it is frozen, people can start
6145 using it without a fear that the format will break.
6147 doc/file-format.txt | 84 +++++++++++++++++++++++++++++---------------------
6148 1 files changed, 49 insertions(+), 35 deletions(-)
6150 commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f
6151 Author: Lasse Collin <lasse.collin@tukaani.org>
6152 Date: 2009-01-28 08:45:59 +0200
6157 1 files changed, 1 insertions(+), 0 deletions(-)
6159 commit 3241317093595db9f79104faafe93cb989c9f858
6160 Author: Lasse Collin <lasse.collin@tukaani.org>
6161 Date: 2009-01-28 08:43:26 +0200
6163 Fix uninitialized variables in alone_decoder.c. This bug was
6164 triggered by the previous commit, since these variables were
6165 not used by anything before support for a preset dictionary.
6167 src/liblzma/common/alone_decoder.c | 2 ++
6168 1 files changed, 2 insertions(+), 0 deletions(-)
6170 commit f76e39cf930f888d460b443d18f977ebedea8b2a
6171 Author: Lasse Collin <lasse.collin@tukaani.org>
6172 Date: 2009-01-27 18:36:05 +0200
6174 Added initial support for preset dictionary for raw LZMA1
6175 and LZMA2. It is not supported by the .xz format or the xz
6176 command line tool yet.
6178 src/liblzma/lz/lz_decoder.c | 35 +++++++++++++++++++++++++----------
6179 src/liblzma/lz/lz_decoder.h | 9 ++++++++-
6180 src/liblzma/lz/lz_encoder.c | 18 ++++++++++++++++--
6181 src/liblzma/lzma/lzma2_decoder.c | 9 ++++++---
6182 src/liblzma/lzma/lzma2_encoder.c | 12 +++++++-----
6183 src/liblzma/lzma/lzma_decoder.c | 10 ++++++----
6184 src/liblzma/lzma/lzma_decoder.h | 2 +-
6185 src/liblzma/lzma/lzma_encoder.c | 9 ++++++++-
6186 8 files changed, 77 insertions(+), 27 deletions(-)
6188 commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3
6189 Author: Lasse Collin <lasse.collin@tukaani.org>
6190 Date: 2009-01-26 20:09:17 +0200
6192 Regenerate the CRC tables without trailing blanks.
6194 src/liblzma/check/crc32_table_be.h | 1008 ++++++++++++++++++------------------
6195 src/liblzma/check/crc32_table_le.h | 1008 ++++++++++++++++++------------------
6196 src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------
6197 src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------
6198 4 files changed, 2024 insertions(+), 2024 deletions(-)
6200 commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2
6201 Author: Jim Meyering <meyering@redhat.com>
6202 Date: 2009-01-19 21:37:16 +0100
6204 remove trailing blanks from all but .xz files
6206 debug/known_sizes.c | 2 +-
6207 extra/scanlzma/scanlzma.c | 5 ++---
6208 src/liblzma/check/crc32_tablegen.c | 2 +-
6209 src/liblzma/check/crc64_tablegen.c | 2 +-
6210 src/scripts/lzdiff.1 | 4 ++--
6211 src/scripts/lzmore.1 | 6 +++---
6212 tests/test_compress.sh | 4 ++--
6213 7 files changed, 12 insertions(+), 13 deletions(-)
6215 commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5
6216 Author: Lasse Collin <lasse.collin@tukaani.org>
6217 Date: 2009-01-26 14:34:10 +0200
6219 Add lzma_block_buffer_decode().
6221 src/liblzma/api/lzma/block.h | 41 ++++++++++++++
6222 src/liblzma/common/Makefile.am | 1 +
6223 src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++
6224 3 files changed, 129 insertions(+), 0 deletions(-)
6226 commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d
6227 Author: Lasse Collin <lasse.collin@tukaani.org>
6228 Date: 2009-01-26 14:33:28 +0200
6230 Add more sanity checks to lzma_stream_buffer_decode().
6232 src/liblzma/common/stream_buffer_decoder.c | 7 +++++++
6233 1 files changed, 7 insertions(+), 0 deletions(-)
6235 commit c129748675a5daa8838df92bde32cc04f6ce61ba
6236 Author: Lasse Collin <lasse.collin@tukaani.org>
6237 Date: 2009-01-26 14:33:13 +0200
6239 Avoid hardcoded constant in easy.c.
6241 src/liblzma/common/easy.c | 2 +-
6242 1 files changed, 1 insertions(+), 1 deletions(-)
6244 commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6
6245 Author: Lasse Collin <lasse.collin@tukaani.org>
6246 Date: 2009-01-26 13:06:49 +0200
6248 Tiny bit better sanity check in block_util.c
6250 src/liblzma/common/block_util.c | 2 +-
6251 1 files changed, 1 insertions(+), 1 deletions(-)
6253 commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7
6254 Author: Lasse Collin <lasse.collin@tukaani.org>
6255 Date: 2009-01-25 01:35:56 +0200
6257 Fix a dumb bug in Block decoder, which made it return
6258 LZMA_DATA_ERROR with valid data. The bug was added in
6259 e114502b2bc371e4a45449832cb69be036360722.
6261 src/liblzma/common/block_decoder.c | 6 +++---
6262 1 files changed, 3 insertions(+), 3 deletions(-)
6264 commit c81f13ff29271de7293f8af3d81848b1dcae3d19
6265 Author: Lasse Collin <lasse.collin@tukaani.org>
6266 Date: 2009-01-23 22:27:50 +0200
6268 Added lzma_stream_buffer_decode() and made minor cleanups.
6270 src/liblzma/api/lzma/block.h | 3 +-
6271 src/liblzma/api/lzma/container.h | 51 +++++++++++++++-
6272 src/liblzma/common/Makefile.am | 1 +
6273 src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++
6274 4 files changed, 144 insertions(+), 2 deletions(-)
6276 commit 0b3318661ce749550b8531dfd469639a08930391
6277 Author: Lasse Collin <lasse.collin@tukaani.org>
6278 Date: 2009-01-22 12:53:33 +0200
6282 src/liblzma/common/common.h | 2 +-
6283 1 files changed, 1 insertions(+), 1 deletions(-)
6285 commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec
6286 Author: Lasse Collin <lasse.collin@tukaani.org>
6287 Date: 2009-01-20 16:37:27 +0200
6289 Add some single-call buffer-to-buffer coding functions.
6291 src/liblzma/api/lzma/block.h | 57 +++++
6292 src/liblzma/api/lzma/container.h | 56 +++++
6293 src/liblzma/api/lzma/index.h | 70 ++++++-
6294 src/liblzma/common/Makefile.am | 2 +
6295 src/liblzma/common/block_buffer_encoder.c | 305 ++++++++++++++++++++++++++++
6296 src/liblzma/common/index_decoder.c | 83 +++++++--
6297 src/liblzma/common/index_encoder.c | 59 +++++-
6298 src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++
6299 tests/test_index.c | 24 +++
6300 9 files changed, 768 insertions(+), 26 deletions(-)
6302 commit d8b58d099340f8f4007b24b211ee41a7210c061c
6303 Author: Lasse Collin <lasse.collin@tukaani.org>
6304 Date: 2009-01-20 13:45:41 +0200
6306 Block encoder cleanups
6308 src/liblzma/common/block_encoder.c | 28 +++++++---------------------
6309 src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++
6310 2 files changed, 32 insertions(+), 21 deletions(-)
6312 commit 0c09810cb3635cb575cb54e694d41523e7d0a335
6313 Author: Lasse Collin <lasse.collin@tukaani.org>
6314 Date: 2009-01-20 10:35:15 +0200
6316 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.
6318 src/liblzma/common/common.c | 24 ++++++++----------------
6319 1 files changed, 8 insertions(+), 16 deletions(-)
6321 commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00
6322 Author: Lasse Collin <lasse.collin@tukaani.org>
6323 Date: 2009-01-19 22:53:18 +0200
6325 Fix handling of non-fatal errors in lzma_code().
6327 src/liblzma/common/common.c | 9 ++++++++-
6328 1 files changed, 8 insertions(+), 1 deletions(-)
6330 commit 4810b6bc25087be872960b9dd1d11ff07735dc88
6331 Author: Lasse Collin <lasse.collin@tukaani.org>
6332 Date: 2009-01-19 14:00:33 +0200
6334 Move some LZMA2 constants to lzma2_encoder.h so that they
6335 can be used outside lzma2_encoder.c.
6337 src/liblzma/lzma/lzma2_encoder.c | 13 -------------
6338 src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++
6339 src/liblzma/lzma/lzma_encoder.c | 3 ++-
6340 3 files changed, 16 insertions(+), 14 deletions(-)
6342 commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4
6343 Author: Lasse Collin <lasse.collin@tukaani.org>
6344 Date: 2009-01-19 13:52:36 +0200
6348 src/liblzma/lzma/lzma_encoder.h | 8 --------
6349 1 files changed, 0 insertions(+), 8 deletions(-)
6351 commit 128586213f77c9bd82b7e9a62927f6d0c3769d85
6352 Author: Lasse Collin <lasse.collin@tukaani.org>
6353 Date: 2009-01-17 14:24:25 +0200
6355 Beta was supposed to be API stable but I had forgot to rename
6356 lzma_memlimit_encoder and lzma_memlimit_decoder to
6357 lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-(
6358 Now it is fixed. Hopefully it doesn't cause too much trouble
6359 to those who already thought API is stable.
6361 src/liblzma/api/lzma/filter.h | 4 ++--
6362 src/liblzma/common/easy.c | 4 ++--
6363 src/liblzma/common/filter_common.c | 2 +-
6364 src/liblzma/common/filter_common.h | 2 +-
6365 src/liblzma/common/filter_decoder.c | 4 ++--
6366 src/liblzma/common/filter_encoder.c | 4 ++--
6367 src/liblzma/common/stream_decoder.c | 2 +-
6368 src/xz/process.c | 6 +++---
6369 8 files changed, 14 insertions(+), 14 deletions(-)
6371 commit b056379490be5c584c264a967f0540041a163a1e
6372 Author: Lasse Collin <lasse.collin@tukaani.org>
6373 Date: 2009-01-15 14:29:22 +0200
6378 1 files changed, 1 insertions(+), 0 deletions(-)
6380 commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89
6381 Author: Lasse Collin <lasse.collin@tukaani.org>
6382 Date: 2009-01-15 14:27:32 +0200
6384 Fixed a bug in 7z2lzma.bash to make it work with .7z files
6385 that use something else than 2^n as the dictionary size.
6386 Thanks to Dan Shechter for the bug report.
6388 extra/7z2lzma/7z2lzma.bash | 47 ++++++++++++++++++++++---------------------
6389 1 files changed, 24 insertions(+), 23 deletions(-)
6391 commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2
6392 Author: Lasse Collin <lasse.collin@tukaani.org>
6393 Date: 2009-01-07 18:41:15 +0200
6395 Use pthread_sigmask() instead of sigprocmask() when pthreads
6398 src/common/mythread.h | 6 ++++++
6399 src/xz/main.c | 4 ++--
6400 src/xz/private.h | 1 +
6401 3 files changed, 9 insertions(+), 2 deletions(-)
6403 commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9
6404 Author: Lasse Collin <lasse.collin@tukaani.org>
6405 Date: 2008-12-31 20:01:00 +0200
6407 Bumped version to 4.999.8beta right after the release
6411 src/liblzma/api/lzma/version.h | 2 +-
6412 2 files changed, 2 insertions(+), 2 deletions(-)
6414 commit 061748f5932719643cda73383db715167d543c22
6415 Author: Lasse Collin <lasse.collin@tukaani.org>
6416 Date: 2008-12-31 18:59:02 +0200
6418 Disable Subblock filter from test_compress.sh since it is
6419 disabled by default in configure.ac.
6421 tests/test_compress.sh | 22 +++++++++++++---------
6422 1 files changed, 13 insertions(+), 9 deletions(-)
6424 commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78
6425 Author: Lasse Collin <lasse.collin@tukaani.org>
6426 Date: 2008-12-31 17:44:20 +0200
6428 Disable both Subblock encoder and decoder my default,
6429 since they are not finished and may have security issues too.
6432 1 files changed, 1 insertions(+), 1 deletions(-)
6434 commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88
6435 Author: Lasse Collin <lasse.collin@tukaani.org>
6436 Date: 2008-12-31 17:42:50 +0200
6438 Update some files in debug directory.
6440 debug/full_flush.c | 2 --
6441 debug/memusage.c | 2 --
6442 debug/sync_flush.c | 2 --
6443 3 files changed, 0 insertions(+), 6 deletions(-)
6445 commit d1d17a40d33a9682424ca37282813492f2cba6d0
6446 Author: Lasse Collin <lasse.collin@tukaani.org>
6447 Date: 2008-12-31 17:41:46 +0200
6449 Prepare for 4.999.7beta release.
6452 README | 34 +++++++++++++++++-----------------
6453 configure.ac | 4 ++--
6454 src/liblzma/api/lzma/version.h | 2 +-
6455 4 files changed, 22 insertions(+), 22 deletions(-)
6457 commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3
6458 Author: Lasse Collin <lasse.collin@tukaani.org>
6459 Date: 2008-12-31 17:15:03 +0200
6461 Cleaned up some comments in the API headers.
6463 src/liblzma/api/lzma/check.h | 23 +++++++++++------------
6464 src/liblzma/api/lzma/container.h | 2 +-
6465 src/liblzma/api/lzma/version.h | 4 +++-
6466 3 files changed, 15 insertions(+), 14 deletions(-)
6468 commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40
6469 Author: Lasse Collin <lasse.collin@tukaani.org>
6470 Date: 2008-12-31 16:29:39 +0200
6472 Renamed lzma_options_simple to lzma_options_bcj in the API.
6473 The internal implementation is still using the name "simple".
6474 It may need some cleanups, so I look at it later.
6476 src/liblzma/api/Makefile.am | 2 +-
6477 src/liblzma/api/lzma.h | 2 +-
6478 src/liblzma/api/lzma/bcj.h | 94 +++++++++++++++++++++++++++++++++++
6479 src/liblzma/api/lzma/simple.h | 94 -----------------------------------
6480 src/liblzma/simple/simple_coder.c | 2 +-
6481 src/liblzma/simple/simple_decoder.c | 4 +-
6482 src/liblzma/simple/simple_encoder.c | 4 +-
6483 tests/test_filter_flags.c | 8 ++--
6484 8 files changed, 105 insertions(+), 105 deletions(-)
6486 commit 7eea8bec3abfed883efba66264a1452a1c04f6b0
6487 Author: Lasse Collin <lasse.collin@tukaani.org>
6488 Date: 2008-12-31 00:57:27 +0200
6490 Fixed missing quoting in configure.ac.
6492 configure.ac | 38 +++++++++++++++++++-------------------
6493 1 files changed, 19 insertions(+), 19 deletions(-)
6495 commit 28e75f7086dbe9501d926c370375c69dfb1236ce
6496 Author: Lasse Collin <lasse.collin@tukaani.org>
6497 Date: 2008-12-31 00:48:23 +0200
6499 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which
6500 should have been in the previous commit.
6502 src/liblzma/Makefile.am | 4 ++--
6503 1 files changed, 2 insertions(+), 2 deletions(-)
6505 commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90
6506 Author: Lasse Collin <lasse.collin@tukaani.org>
6507 Date: 2008-12-31 00:30:49 +0200
6509 Remove lzma_init() and other init functions from liblzma API.
6510 Half of developers were already forgetting to use these
6511 functions, which could have caused total breakage in some future
6512 liblzma version or even now if --enable-small was used. Now
6513 liblzma uses pthread_once() to do the initializations unless
6514 it has been built with --disable-threads which make these
6515 initializations thread-unsafe.
6517 When --enable-small isn't used, liblzma currently gets needlessly
6518 linked against libpthread (on systems that have it). While it is
6519 stupid for now, liblzma will need threads in future anyway, so
6520 this stupidity will be temporary only.
6522 When --enable-small is used, different code CRC32 and CRC64 is
6523 now used than without --enable-small. This made the resulting
6524 binary slightly smaller, but the main reason was to clean it up
6525 and to handle the lack of lzma_init_check().
6527 The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not
6528 sure if it works correctly and portably for static linking
6529 (Libs.private includes -pthread or other operating system
6530 specific flags). Hopefully someone complains if it is bad.
6532 lzma_rc_prices[] is now included as a precomputed array even
6533 with --enable-small. It's just 128 bytes now that it uses uint8_t
6534 instead of uint32_t. Smaller array seemed to be at least as fast
6535 as the more bloated uint32_t array on x86; hopefully it's not bad
6536 on other architectures.
6538 configure.ac | 29 ++++++++--
6539 src/common/mythread.h | 34 +++++++++++
6540 src/liblzma/api/Makefile.am | 1 -
6541 src/liblzma/api/lzma.h | 1 -
6542 src/liblzma/api/lzma/init.h | 85 ----------------------------
6543 src/liblzma/check/Makefile.am | 29 +++------
6544 src/liblzma/check/check.c | 10 ++--
6545 src/liblzma/check/check.h | 25 +++-----
6546 src/liblzma/check/check_init.c | 37 ------------
6547 src/liblzma/check/crc32.c | 88 -----------------------------
6548 src/liblzma/check/crc32_fast.c | 88 +++++++++++++++++++++++++++++
6549 src/liblzma/check/crc32_init.c | 55 ------------------
6550 src/liblzma/check/crc32_small.c | 54 ++++++++++++++++++
6551 src/liblzma/check/crc32_tablegen.c | 55 ++++++++++++++++--
6552 src/liblzma/check/crc64.c | 75 ------------------------
6553 src/liblzma/check/crc64_fast.c | 75 ++++++++++++++++++++++++
6554 src/liblzma/check/crc64_small.c | 54 ++++++++++++++++++
6555 src/liblzma/check/crc64_tablegen.c | 55 ++++++++++++++++--
6556 src/liblzma/common/Makefile.am | 3 -
6557 src/liblzma/common/common.h | 1 +
6558 src/liblzma/common/init.c | 39 -------------
6559 src/liblzma/common/init_decoder.c | 31 ----------
6560 src/liblzma/common/init_encoder.c | 40 -------------
6561 src/liblzma/liblzma.pc.in | 12 ++++
6562 src/liblzma/lz/lz_encoder.c | 6 ++
6563 src/liblzma/lzma.pc.in | 11 ----
6564 src/liblzma/rangecoder/Makefile.am | 8 +--
6565 src/liblzma/rangecoder/price.h | 16 +-----
6566 src/liblzma/rangecoder/price_table.c | 2 +-
6567 src/liblzma/rangecoder/price_table_init.c | 55 ------------------
6568 src/liblzma/rangecoder/price_tablegen.c | 51 ++++++++++++++--
6569 src/xz/Makefile.am | 5 +-
6571 src/xzdec/xzdec.c | 3 -
6572 tests/test_block_header.c | 1 -
6573 tests/test_check.c | 2 -
6574 tests/test_filter_flags.c | 2 -
6575 tests/test_index.c | 2 -
6576 tests/test_stream_flags.c | 2 -
6577 tests/tests.h | 2 +-
6578 40 files changed, 519 insertions(+), 628 deletions(-)
6580 commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2
6581 Author: Lasse Collin <lasse.collin@tukaani.org>
6582 Date: 2008-12-27 19:40:31 +0200
6584 Use 28 MiB as memory usage limit for encoding in test_compress.sh.
6586 tests/test_compress.sh | 2 +-
6587 1 files changed, 1 insertions(+), 1 deletions(-)
6589 commit 050eb14d29e2537c014662e83599fd8a77f13c45
6590 Author: Lasse Collin <lasse.collin@tukaani.org>
6591 Date: 2008-12-27 19:32:20 +0200
6593 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680
6594 that was related to LZMA_MODE_FAST. The original code is slightly
6595 faster although it compresses slightly worse. But since it is fast
6596 mode, it is better to select the faster version.
6598 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++---------------
6599 1 files changed, 8 insertions(+), 15 deletions(-)
6601 commit 4820f10d0f173864f6a2ea7479663b509ac53358
6602 Author: Lasse Collin <lasse.collin@tukaani.org>
6603 Date: 2008-12-27 19:30:19 +0200
6605 Some xz command line tool improvements.
6607 src/xz/args.c | 23 ++++-----
6608 src/xz/message.c | 4 +-
6609 src/xz/options.c | 2 +-
6610 src/xz/process.c | 133 ++++++++++++++++++++++++++++++++++++++++++-----------
6611 src/xz/process.h | 3 +
6612 5 files changed, 121 insertions(+), 44 deletions(-)
6614 commit e33194e79d8f5ce07cb4aca909b324ae75098f7e
6615 Author: Lasse Collin <lasse.collin@tukaani.org>
6616 Date: 2008-12-27 19:27:49 +0200
6618 Bunch of liblzma tweaks, including some API changes.
6619 The API and ABI should now be very close to stable,
6620 although the code behind it isn't yet.
6622 src/liblzma/api/lzma.h | 8 ++--
6623 src/liblzma/api/lzma/block.h | 63 +++++++++++++++++++++++-
6624 src/liblzma/api/lzma/container.h | 76 ++++++++++++++--------------
6625 src/liblzma/api/lzma/lzma.h | 41 +++++++++-------
6626 src/liblzma/common/alone_decoder.c | 36 +++++++-------
6627 src/liblzma/common/alone_encoder.c | 22 +++-----
6628 src/liblzma/common/auto_decoder.c | 2 +-
6629 src/liblzma/common/block_decoder.c | 54 ++++++++++----------
6630 src/liblzma/common/block_decoder.h | 4 +-
6631 src/liblzma/common/block_encoder.c | 37 ++++++++------
6632 src/liblzma/common/block_encoder.h | 4 +-
6633 src/liblzma/common/block_header_decoder.c | 41 ++++++++-------
6634 src/liblzma/common/block_header_encoder.c | 51 +++++++++----------
6635 src/liblzma/common/block_util.c | 3 +-
6636 src/liblzma/common/easy.c | 45 ++++++-----------
6637 src/liblzma/common/stream_decoder.c | 3 +-
6638 src/liblzma/common/stream_decoder.h | 2 +-
6639 src/liblzma/common/stream_encoder.c | 3 +-
6640 src/liblzma/common/stream_encoder.h | 2 +-
6641 src/liblzma/common/stream_flags_decoder.c | 2 +-
6642 src/liblzma/common/stream_flags_encoder.c | 2 +-
6643 src/liblzma/lzma/lzma_encoder.c | 2 +-
6644 src/liblzma/lzma/lzma_encoder_presets.c | 53 ++++++--------------
6645 23 files changed, 294 insertions(+), 262 deletions(-)
6647 commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074
6648 Author: Lasse Collin <lasse.collin@tukaani.org>
6649 Date: 2008-12-18 13:42:52 +0200
6651 Updated Makefile.am that was missing from the previous commit.
6653 src/liblzma/common/Makefile.am | 1 -
6654 1 files changed, 0 insertions(+), 1 deletions(-)
6656 commit 634636fa56ccee6e744f78b0abed76c8940f2f8f
6657 Author: Lasse Collin <lasse.collin@tukaani.org>
6658 Date: 2008-12-17 21:49:53 +0200
6660 Remove the alignment functions for now. Maybe they will
6661 be added back in some form later, but the current version
6662 wasn't modular, so it would need fixing anyway.
6664 src/liblzma/api/Makefile.am | 1 -
6665 src/liblzma/api/lzma.h | 1 -
6666 src/liblzma/api/lzma/alignment.h | 60 --------------------
6667 src/liblzma/common/alignment.c | 114 --------------------------------------
6668 4 files changed, 0 insertions(+), 176 deletions(-)
6670 commit 4fed98417d1687f5eccccb42a133fde3ec81216a
6671 Author: Lasse Collin <lasse.collin@tukaani.org>
6672 Date: 2008-12-17 20:11:23 +0200
6674 xz message handling improvements
6676 src/xz/message.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++++-----
6677 src/xz/message.h | 7 +++-
6678 src/xz/process.c | 28 +++++++++++-
6679 3 files changed, 146 insertions(+), 14 deletions(-)
6681 commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d
6682 Author: Lasse Collin <lasse.collin@tukaani.org>
6683 Date: 2008-12-15 23:26:43 +0200
6685 Fix a dumb bug in .lzma decoder which was introduced in
6686 the previous commit. (Probably the previous commit has
6687 other bugs too, it wasn't tested.)
6689 src/liblzma/common/alone_decoder.c | 29 ++++++++++++++---------------
6690 1 files changed, 14 insertions(+), 15 deletions(-)
6692 commit 671a5adf1e844bfdd6fd327016c3c28694493158
6693 Author: Lasse Collin <lasse.collin@tukaani.org>
6694 Date: 2008-12-15 19:39:13 +0200
6696 Bunch of liblzma API cleanups and fixes.
6698 src/liblzma/api/lzma.h | 122 +++++++++++---------
6699 src/liblzma/api/lzma/base.h | 174 +++++++++++++++++++----------
6700 src/liblzma/api/lzma/block.h | 211 +++++++++++++++++++++++------------
6701 src/liblzma/api/lzma/check.h | 28 +++--
6702 src/liblzma/api/lzma/container.h | 155 +++++++++++++-------------
6703 src/liblzma/api/lzma/delta.h | 12 +-
6704 src/liblzma/api/lzma/filter.h | 27 +++--
6705 src/liblzma/api/lzma/index.h | 97 ++++++++++++++---
6706 src/liblzma/api/lzma/index_hash.h | 26 +++-
6707 src/liblzma/api/lzma/init.h | 2 +-
6708 src/liblzma/api/lzma/lzma.h | 12 +-
6709 src/liblzma/api/lzma/simple.h | 4 +-
6710 src/liblzma/api/lzma/stream_flags.h | 46 +++++---
6711 src/liblzma/api/lzma/version.h | 6 +-
6712 src/liblzma/api/lzma/vli.h | 17 +--
6713 src/liblzma/common/alone_decoder.c | 47 ++++++---
6714 src/liblzma/common/auto_decoder.c | 29 +++++
6715 src/liblzma/common/block_util.c | 52 +++++----
6716 src/liblzma/common/common.c | 58 ++++++++++
6717 src/liblzma/common/common.h | 9 ++-
6718 src/liblzma/common/easy.c | 33 ++++--
6719 src/liblzma/common/filter_common.c | 2 +-
6720 src/liblzma/common/index.c | 11 ++
6721 src/liblzma/common/index_decoder.c | 46 +++++++-
6722 src/liblzma/common/stream_decoder.c | 47 +++++++-
6723 src/liblzma/lzma/lzma2_encoder.c | 6 +-
6724 tests/test_index.c | 10 +-
6725 27 files changed, 863 insertions(+), 426 deletions(-)
6727 commit 17781c2c20fd77029cb32e77792889f2f211d69d
6728 Author: Lasse Collin <lasse.collin@tukaani.org>
6729 Date: 2008-12-15 14:26:52 +0200
6731 The LZMA2 decoder fix introduced a bug to LZ decoder,
6732 which made LZ decoder return too early after dictionary
6733 reset. This fixes it.
6735 src/liblzma/lz/lz_decoder.c | 33 +++++++++++++++++++++++----------
6736 1 files changed, 23 insertions(+), 10 deletions(-)
6738 commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8
6739 Author: Lasse Collin <lasse.collin@tukaani.org>
6740 Date: 2008-12-15 11:20:22 +0200
6742 Added two new test files.
6744 tests/files/README | 7 +++++++
6745 tests/files/bad-1-lzma2-8.xz | Bin 0 -> 464 bytes
6746 tests/files/good-1-lzma2-4.xz | Bin 0 -> 464 bytes
6747 3 files changed, 7 insertions(+), 0 deletions(-)
6749 commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf
6750 Author: Lasse Collin <lasse.collin@tukaani.org>
6751 Date: 2008-12-15 10:01:59 +0200
6753 Fix data corruption in LZMA2 decoder.
6755 src/liblzma/lz/lz_decoder.c | 17 ++++++++++++++++-
6756 src/liblzma/lz/lz_decoder.h | 8 +++++---
6757 src/liblzma/lzma/lzma2_decoder.c | 15 +++++++++++----
6758 3 files changed, 32 insertions(+), 8 deletions(-)
6760 commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613
6761 Author: Lasse Collin <lasse.collin@tukaani.org>
6762 Date: 2008-12-13 00:54:11 +0200
6764 Name the package "xz" in configure.ac.
6766 configure.ac | 11 ++++-------
6767 1 files changed, 4 insertions(+), 7 deletions(-)
6769 commit a94bf00d0af9b423851905b031be5a645a657820
6770 Author: Lasse Collin <lasse.collin@tukaani.org>
6771 Date: 2008-12-12 22:43:21 +0200
6773 Some adjustments to GCC warning flags. The important change
6774 is the removal of -pedantic. It messes up -Werror (which I
6775 really want to keep so that I don't miss any warnings) with
6776 printf format strings that are in POSIX but not in C99.
6778 configure.ac | 8 +++++---
6779 1 files changed, 5 insertions(+), 3 deletions(-)
6781 commit 8582d392baacd2cdac07ca60041f8c661323676d
6782 Author: Lasse Collin <lasse.collin@tukaani.org>
6783 Date: 2008-12-10 01:31:00 +0200
6785 Remove obsolete comment.
6787 src/xz/message.c | 1 -
6788 1 files changed, 0 insertions(+), 1 deletions(-)
6790 commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1
6791 Author: Lasse Collin <lasse.collin@tukaani.org>
6792 Date: 2008-12-10 01:27:15 +0200
6794 Use "decompression" consistently in --long-help.
6796 src/xz/message.c | 2 +-
6797 1 files changed, 1 insertions(+), 1 deletions(-)
6799 commit 1ea9e7f15afd5d3981e2432710e932320597bca9
6800 Author: Lasse Collin <lasse.collin@tukaani.org>
6801 Date: 2008-12-10 01:23:58 +0200
6803 Added preset=NUM to --lzma1 and --lzma2. This makes it easy
6804 to take a preset as a template and modify it a little.
6806 src/xz/message.c | 1 +
6807 src/xz/options.c | 8 ++++++++
6808 2 files changed, 9 insertions(+), 0 deletions(-)
6810 commit bceb3918dbb21f34976bfdd4c171a81319de71f7
6811 Author: Lasse Collin <lasse.collin@tukaani.org>
6812 Date: 2008-12-09 17:43:31 +0200
6814 Put the file format specification into the public domain.
6815 Same will be done to the actual code later.
6817 doc/file-format.txt | 24 +++++++++---------------
6818 1 files changed, 9 insertions(+), 15 deletions(-)
6820 commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6
6821 Author: Lasse Collin <lasse.collin@tukaani.org>
6822 Date: 2008-12-09 17:41:49 +0200
6824 Make the memusage functions of LZMA1 and LZMA2 encoders
6825 to validate the filter options. Add missing validation
6826 to LZMA2 encoder when options are changed in the middle
6829 src/liblzma/lzma/lzma2_encoder.c | 5 +++-
6830 src/liblzma/lzma/lzma_encoder.c | 44 +++++++++++++++++++++++++------------
6831 src/liblzma/lzma/lzma_encoder.h | 2 +-
6832 3 files changed, 35 insertions(+), 16 deletions(-)
6834 commit f20a03206b71ff01b827bb7a932411d6a6a4e06a
6835 Author: Lasse Collin <lasse.collin@tukaani.org>
6836 Date: 2008-12-09 10:36:24 +0200
6841 1 files changed, 1 insertions(+), 0 deletions(-)
6843 commit ef7890d56453dca1aeb2e12db29b7e418d93dde4
6844 Author: Lasse Collin <lasse.collin@tukaani.org>
6845 Date: 2008-12-01 23:04:12 +0200
6847 In command line tool, take advantage of memusage calculation's
6848 ability to also validate the filter chain and options (not
6849 implemented yet for all filters).
6851 src/xz/process.c | 8 ++++----
6852 1 files changed, 4 insertions(+), 4 deletions(-)
6854 commit ccd57afa09e332d664d6d6a7498702791ea5f659
6855 Author: Lasse Collin <lasse.collin@tukaani.org>
6856 Date: 2008-12-01 22:59:28 +0200
6858 Validate the filter chain before checking filter-specific
6861 src/liblzma/common/filter_common.c | 14 ++++++++++----
6862 1 files changed, 10 insertions(+), 4 deletions(-)
6864 commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15
6865 Author: Lasse Collin <lasse.collin@tukaani.org>
6866 Date: 2008-12-01 22:58:22 +0200
6868 Make the memusage functions of LZMA1 and LZMA2 decoders
6869 to validate the filter options.
6871 src/liblzma/lzma/lzma2_decoder.c | 7 ++-----
6872 src/liblzma/lzma/lzma_decoder.c | 14 ++++++++++----
6873 src/liblzma/lzma/lzma_decoder.h | 5 +++++
6874 3 files changed, 17 insertions(+), 9 deletions(-)
6876 commit c58f469be5bb9b0bdab825c6687445fd553f4f3a
6877 Author: Lasse Collin <lasse.collin@tukaani.org>
6878 Date: 2008-12-01 22:55:18 +0200
6880 Added the changes for Delta filter that should have been
6881 part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.
6883 src/liblzma/common/filter_decoder.c | 2 +-
6884 src/liblzma/common/filter_encoder.c | 2 +-
6885 2 files changed, 2 insertions(+), 2 deletions(-)
6887 commit cd708015202dbf7585b84a8781462a20c42a324b
6888 Author: Lasse Collin <lasse.collin@tukaani.org>
6889 Date: 2008-12-01 22:50:28 +0200
6891 LZMA2 decoder cleanups. Make it require new LZMA properties
6892 also in the first LZMA chunk after a dictionary reset in
6895 src/liblzma/lzma/lzma2_decoder.c | 95 ++++++++++++++++---------------------
6896 1 files changed, 41 insertions(+), 54 deletions(-)
6898 commit 656ec87882ee74b192c4ea4a233a235eca7b04d4
6899 Author: Lasse Collin <lasse.collin@tukaani.org>
6900 Date: 2008-12-01 16:30:11 +0200
6902 Added lzma_delta_coder_memusage() which also validates
6905 src/liblzma/delta/Makefile.am | 3 +-
6906 src/liblzma/delta/delta_common.c | 28 +++++++++++++++++------
6907 src/liblzma/delta/delta_common.h | 19 +---------------
6908 src/liblzma/delta/delta_decoder.c | 2 +-
6909 src/liblzma/delta/delta_decoder.h | 2 +-
6910 src/liblzma/delta/delta_encoder.c | 14 +++--------
6911 src/liblzma/delta/delta_encoder.h | 2 +-
6912 src/liblzma/delta/delta_private.h | 44 +++++++++++++++++++++++++++++++++++++
6913 8 files changed, 75 insertions(+), 39 deletions(-)
6915 commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a
6916 Author: Lasse Collin <lasse.collin@tukaani.org>
6917 Date: 2008-11-29 10:03:49 +0200
6919 Automake includes the m4 directory, so don't add it in
6920 Makefile.am separately.
6926 2 files changed, 1 insertions(+), 1 deletions(-)
6928 commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0
6929 Author: Lasse Collin <lasse.collin@tukaani.org>
6930 Date: 2008-11-28 12:00:48 +0200
6932 Tested using COLUMNS environment variable to avoid broken
6933 progress indicator but since COLUMNS isn't usually available,
6934 the code was left commented out.
6936 src/xz/message.c | 14 +++++++++-----
6937 1 files changed, 9 insertions(+), 5 deletions(-)
6939 commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd
6940 Author: Lasse Collin <lasse.collin@tukaani.org>
6941 Date: 2008-11-27 19:28:59 +0200
6943 Cleanups to message.c.
6945 src/xz/message.c | 47 ++++++++++++++++++-----------------------------
6946 1 files changed, 18 insertions(+), 29 deletions(-)
6948 commit a8368b75cdcd5427299001cc42839287f27b244d
6949 Author: Lasse Collin <lasse.collin@tukaani.org>
6950 Date: 2008-11-25 02:37:47 +0200
6952 Remove the nowadays unneeded memory limitting malloc() wrapper.
6954 src/liblzma/api/Makefile.am | 1 -
6955 src/liblzma/api/lzma.h | 1 -
6956 src/liblzma/api/lzma/memlimit.h | 207 -------------------------
6957 src/liblzma/common/Makefile.am | 1 -
6958 src/liblzma/common/memory_limiter.c | 288 -----------------------------------
6959 tests/Makefile.am | 2 -
6960 tests/test_memlimit.c | 114 --------------
6961 7 files changed, 0 insertions(+), 614 deletions(-)
6963 commit 69472ee5f055a2bb6f28106f0923e1461fd1d080
6964 Author: Lasse Collin <lasse.collin@tukaani.org>
6965 Date: 2008-11-23 15:09:03 +0200
6967 VLI encoder and decoder cleanups. Made encoder return
6968 LZMA_PROG_ERROR in single-call mode if there's no output
6971 src/liblzma/common/vli_decoder.c | 15 +++++++++------
6972 src/liblzma/common/vli_encoder.c | 31 ++++++++++++++++++++++++-------
6973 2 files changed, 33 insertions(+), 13 deletions(-)
6975 commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650
6976 Author: Lasse Collin <lasse.collin@tukaani.org>
6977 Date: 2008-11-22 17:44:33 +0200
6981 src/xz/process.c | 2 +-
6982 1 files changed, 1 insertions(+), 1 deletions(-)
6984 commit 6d1d6f4598d121253dbe1084c6866b66e95c361b
6985 Author: Lasse Collin <lasse.collin@tukaani.org>
6986 Date: 2008-11-20 22:59:10 +0200
6988 Support NetBSD's errno for O_NOFOLLOW.
6990 src/xz/io.c | 8 ++++++++
6991 1 files changed, 8 insertions(+), 0 deletions(-)
6993 commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7
6994 Author: Lasse Collin <lasse.collin@tukaani.org>
6995 Date: 2008-11-20 18:05:52 +0200
6997 Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz
6998 files and lzmadec only .lzma files.
7000 src/xzdec/Makefile.am | 7 +-
7001 src/xzdec/xzdec.c | 311 +++++++++++++++++++++----------------------------
7002 2 files changed, 140 insertions(+), 178 deletions(-)
7004 commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c
7005 Author: Lasse Collin <lasse.collin@tukaani.org>
7006 Date: 2008-11-20 11:01:29 +0200
7008 Minor cleanups to xzdec.
7010 src/xzdec/xzdec.c | 20 ++++++++++----------
7011 1 files changed, 10 insertions(+), 10 deletions(-)
7013 commit 54f716ba8905d09752dcd1519455a40bd21d5317
7014 Author: Lasse Collin <lasse.collin@tukaani.org>
7015 Date: 2008-11-19 23:55:22 +0200
7017 Added missing check for uint16_t.
7020 1 files changed, 1 insertions(+), 0 deletions(-)
7022 commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06
7023 Author: Lasse Collin <lasse.collin@tukaani.org>
7024 Date: 2008-11-19 23:52:24 +0200
7026 Renamed lzma to xz and lzmadec to xzdec. We create symlinks
7027 lzma, unlzma, and lzcat in "make install" for backwards
7028 compatibility with LZMA Utils 4.32.x; I'm not sure if this
7029 should be the default though.
7032 po/POTFILES.in | 21 +-
7033 src/Makefile.am | 2 +-
7034 src/lzma/Makefile.am | 72 ----
7035 src/lzma/args.c | 500 --------------------------
7036 src/lzma/args.h | 56 ---
7037 src/lzma/hardware.c | 122 -------
7038 src/lzma/hardware.h | 45 ---
7039 src/lzma/io.c | 658 ----------------------------------
7040 src/lzma/io.h | 97 -----
7041 src/lzma/list.c | 477 -------------------------
7042 src/lzma/main.c | 402 ---------------------
7043 src/lzma/main.h | 60 ----
7044 src/lzma/message.c | 892 -----------------------------------------------
7045 src/lzma/message.h | 132 -------
7046 src/lzma/options.c | 352 -------------------
7047 src/lzma/options.h | 46 ---
7048 src/lzma/private.h | 52 ---
7049 src/lzma/process.c | 391 ---------------------
7050 src/lzma/process.h | 70 ----
7051 src/lzma/suffix.c | 213 -----------
7052 src/lzma/suffix.h | 40 ---
7053 src/lzma/util.c | 199 -----------
7054 src/lzma/util.h | 71 ----
7055 src/lzmadec/Makefile.am | 29 --
7056 src/lzmadec/lzmadec.c | 492 --------------------------
7057 src/xz/Makefile.am | 74 ++++
7058 src/xz/args.c | 500 ++++++++++++++++++++++++++
7059 src/xz/args.h | 56 +++
7060 src/xz/hardware.c | 122 +++++++
7061 src/xz/hardware.h | 45 +++
7062 src/xz/io.c | 658 ++++++++++++++++++++++++++++++++++
7063 src/xz/io.h | 97 +++++
7064 src/xz/list.c | 477 +++++++++++++++++++++++++
7065 src/xz/main.c | 402 +++++++++++++++++++++
7066 src/xz/main.h | 60 ++++
7067 src/xz/message.c | 892 +++++++++++++++++++++++++++++++++++++++++++++++
7068 src/xz/message.h | 132 +++++++
7069 src/xz/options.c | 352 +++++++++++++++++++
7070 src/xz/options.h | 46 +++
7071 src/xz/private.h | 52 +++
7072 src/xz/process.c | 391 +++++++++++++++++++++
7073 src/xz/process.h | 70 ++++
7074 src/xz/suffix.c | 213 +++++++++++
7075 src/xz/suffix.h | 40 +++
7076 src/xz/util.c | 199 +++++++++++
7077 src/xz/util.h | 71 ++++
7078 src/xzdec/Makefile.am | 29 ++
7079 src/xzdec/xzdec.c | 492 ++++++++++++++++++++++++++
7080 tests/test_compress.sh | 29 +-
7081 tests/test_files.sh | 4 +-
7082 51 files changed, 5498 insertions(+), 5500 deletions(-)
7084 commit e114502b2bc371e4a45449832cb69be036360722
7085 Author: Lasse Collin <lasse.collin@tukaani.org>
7086 Date: 2008-11-19 20:46:52 +0200
7088 Oh well, big messy commit again. Some highlights:
7089 - Updated to the latest, probably final file format version.
7090 - Command line tool reworked to not use threads anymore.
7091 Threading will probably go into liblzma anyway.
7092 - Memory usage limit is now about 30 % for uncompression
7093 and about 90 % for compression.
7094 - Progress indicator with --verbose
7095 - Simplified --help and full --long-help
7096 - Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
7100 configure.ac | 48 +-
7101 debug/full_flush.c | 6 +-
7102 debug/known_sizes.c | 2 +-
7103 debug/memusage.c | 2 +-
7104 debug/sync_flush.c | 10 +-
7105 doc/file-format.txt | 260 +++++----
7106 lib/Makefile.am | 10 +-
7107 lib/getopt.c | 14 +-
7108 lib/getopt.in.h | 226 +++++++
7109 lib/getopt1.c | 8 +-
7110 lib/getopt_.h | 226 -------
7111 lib/gettext.h | 240 -------
7112 m4/getopt.m4 | 64 +--
7113 src/common/bswap.h | 15 +-
7114 src/common/physmem.h | 4 +
7115 src/common/sysdefs.h | 12 +-
7116 src/liblzma/api/lzma/block.h | 47 +-
7117 src/liblzma/api/lzma/filter.h | 8 +
7118 src/liblzma/api/lzma/index.h | 20 +-
7119 src/liblzma/api/lzma/index_hash.h | 4 +-
7120 src/liblzma/common/block_decoder.c | 59 +-
7121 src/liblzma/common/block_encoder.c | 41 +-
7122 src/liblzma/common/block_header_decoder.c | 31 +-
7123 src/liblzma/common/block_header_encoder.c | 69 +--
7124 src/liblzma/common/block_util.c | 45 +-
7125 src/liblzma/common/common.h | 8 -
7126 src/liblzma/common/filter_common.c | 4 +-
7127 src/liblzma/common/index.c | 259 ++++----
7128 src/liblzma/common/index.h | 33 +-
7129 src/liblzma/common/index_decoder.c | 31 +-
7130 src/liblzma/common/index_encoder.c | 16 +-
7131 src/liblzma/common/index_hash.c | 68 +-
7132 src/liblzma/common/stream_decoder.c | 9 +-
7133 src/liblzma/common/stream_encoder.c | 6 +-
7134 src/liblzma/lz/lz_decoder.h | 4 +-
7135 src/liblzma/subblock/subblock_decoder.c | 3 +-
7136 src/lzma/Makefile.am | 9 +-
7137 src/lzma/alloc.c | 106 ---
7138 src/lzma/alloc.h | 42 --
7139 src/lzma/args.c | 531 +++++++---------
7140 src/lzma/args.h | 42 +-
7141 src/lzma/error.c | 162 -----
7142 src/lzma/error.h | 67 --
7143 src/lzma/hardware.c | 75 ++-
7144 src/lzma/hardware.h | 16 +-
7145 src/lzma/help.c | 170 -----
7146 src/lzma/help.h | 32 -
7147 src/lzma/io.c | 757 +++++++++++-----------
7148 src/lzma/io.h | 51 ++-
7149 src/lzma/main.c | 392 ++++++++----
7150 src/lzma/main.h | 60 ++
7151 src/lzma/message.c | 892 ++++++++++++++++++++++++++
7152 src/lzma/message.h | 132 ++++
7153 src/lzma/options.c | 42 +-
7154 src/lzma/options.h | 6 +-
7155 src/lzma/private.h | 28 +-
7156 src/lzma/process.c | 525 +++++++--------
7157 src/lzma/process.h | 40 ++
7158 src/lzma/suffix.c | 52 +-
7159 src/lzma/suffix.h | 17 +-
7160 src/lzma/util.c | 100 ++--
7161 src/lzma/util.h | 43 ++-
7162 src/lzmadec/lzmadec.c | 36 +-
7163 tests/files/README | 12 +-
7164 tests/files/bad-1-block_header-1.xz | Bin 64 -> 64 bytes
7165 tests/files/bad-1-block_header-2.xz | Bin 64 -> 64 bytes
7166 tests/files/bad-1-block_header-3.xz | Bin 68 -> 68 bytes
7167 tests/files/bad-1-block_header-4.xz | Bin 72 -> 76 bytes
7168 tests/files/bad-1-block_header-5.xz | Bin 0 -> 72 bytes
7169 tests/files/bad-1-check-crc32.xz | Bin 68 -> 68 bytes
7170 tests/files/bad-1-check-crc64.xz | Bin 72 -> 72 bytes
7171 tests/files/bad-1-check-sha256.xz | Bin 96 -> 96 bytes
7172 tests/files/bad-1-lzma2-1.xz | Bin 64 -> 64 bytes
7173 tests/files/bad-1-lzma2-2.xz | Bin 424 -> 424 bytes
7174 tests/files/bad-1-lzma2-3.xz | Bin 424 -> 424 bytes
7175 tests/files/bad-1-lzma2-4.xz | Bin 408 -> 408 bytes
7176 tests/files/bad-1-lzma2-5.xz | Bin 408 -> 408 bytes
7177 tests/files/bad-1-lzma2-6.xz | Bin 68 -> 68 bytes
7178 tests/files/bad-1-lzma2-7.xz | Bin 408 -> 408 bytes
7179 tests/files/bad-1-stream_flags-1.xz | Bin 68 -> 68 bytes
7180 tests/files/bad-1-stream_flags-2.xz | Bin 68 -> 68 bytes
7181 tests/files/bad-1-stream_flags-3.xz | Bin 68 -> 68 bytes
7182 tests/files/bad-1-vli-1.xz | Bin 72 -> 72 bytes
7183 tests/files/bad-1-vli-2.xz | Bin 72 -> 76 bytes
7184 tests/files/bad-2-compressed_data_padding.xz | Bin 92 -> 92 bytes
7185 tests/files/bad-2-index-1.xz | Bin 92 -> 92 bytes
7186 tests/files/bad-2-index-2.xz | Bin 92 -> 92 bytes
7187 tests/files/bad-2-index-3.xz | Bin 92 -> 92 bytes
7188 tests/files/bad-2-index-4.xz | Bin 92 -> 92 bytes
7189 tests/files/bad-2-index-5.xz | Bin 0 -> 92 bytes
7190 tests/files/good-1-3delta-lzma2.xz | Bin 528 -> 528 bytes
7191 tests/files/good-1-block_header-1.xz | Bin 72 -> 72 bytes
7192 tests/files/good-1-block_header-2.xz | Bin 68 -> 68 bytes
7193 tests/files/good-1-block_header-3.xz | Bin 68 -> 68 bytes
7194 tests/files/good-1-check-crc32.xz | Bin 68 -> 68 bytes
7195 tests/files/good-1-check-crc64.xz | Bin 72 -> 72 bytes
7196 tests/files/good-1-check-none.xz | Bin 64 -> 64 bytes
7197 tests/files/good-1-check-sha256.xz | Bin 96 -> 96 bytes
7198 tests/files/good-1-delta-lzma2.tiff.xz | Bin 51312 -> 51316 bytes
7199 tests/files/good-1-lzma2-1.xz | Bin 424 -> 424 bytes
7200 tests/files/good-1-lzma2-2.xz | Bin 424 -> 424 bytes
7201 tests/files/good-1-lzma2-3.xz | Bin 408 -> 408 bytes
7202 tests/files/good-1-sparc-lzma2.xz | Bin 2292 -> 2296 bytes
7203 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 1936 bytes
7204 tests/files/good-2-lzma2.xz | Bin 92 -> 92 bytes
7205 tests/files/unsupported-block_header.xz | Bin 68 -> 68 bytes
7206 tests/files/unsupported-check.xz | Bin 68 -> 68 bytes
7207 tests/files/unsupported-filter_flags-1.xz | Bin 68 -> 68 bytes
7208 tests/files/unsupported-filter_flags-2.xz | Bin 68 -> 68 bytes
7209 tests/files/unsupported-filter_flags-3.xz | Bin 68 -> 68 bytes
7210 tests/test_block_header.c | 16 +-
7211 tests/test_index.c | 42 +-
7212 113 files changed, 3462 insertions(+), 2946 deletions(-)
7214 commit 3c3905b53462ae235c9438d86a4dc51086410932
7215 Author: Lasse Collin <lasse.collin@tukaani.org>
7216 Date: 2008-10-09 11:12:29 +0300
7218 Fixed the test that should have been fixed as part
7219 of 1e8e4fd1f3e50129b4541406ad765d2aa1233943.
7221 tests/test_block_header.c | 2 +-
7222 1 files changed, 1 insertions(+), 1 deletions(-)
7224 commit 0f295bf7a3ece01f667caae318cc3e3424085886
7225 Author: Lasse Collin <lasse.collin@tukaani.org>
7226 Date: 2008-10-07 16:42:18 +0300
7228 Fixed some help messages.
7230 src/lzma/help.c | 6 +++---
7231 1 files changed, 3 insertions(+), 3 deletions(-)
7233 commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943
7234 Author: Lasse Collin <lasse.collin@tukaani.org>
7235 Date: 2008-10-07 09:40:31 +0300
7237 Made the preset numbering more logical in liblzma API.
7239 src/liblzma/api/lzma/container.h | 20 ++++++++++----------
7240 src/liblzma/api/lzma/lzma.h | 2 +-
7241 src/liblzma/lzma/lzma_encoder_presets.c | 3 ++-
7242 src/lzma/args.c | 8 ++++----
7243 src/lzma/args.h | 2 +-
7244 5 files changed, 18 insertions(+), 17 deletions(-)
7246 commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81
7247 Author: Lasse Collin <lasse.collin@tukaani.org>
7248 Date: 2008-10-03 19:36:09 +0300
7250 Removed fi from po/LINGUAS.
7253 1 files changed, 0 insertions(+), 1 deletions(-)
7255 commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128
7256 Author: Lasse Collin <lasse.collin@tukaani.org>
7257 Date: 2008-10-03 07:06:48 +0300
7259 Fixed suffix handling with --format=raw.
7261 src/lzma/suffix.c | 28 +++++++++++++++++++---------
7262 1 files changed, 19 insertions(+), 9 deletions(-)
7264 commit bd137524f2f50e30ba054f42f1f6536cd3cee920
7265 Author: Lasse Collin <lasse.collin@tukaani.org>
7266 Date: 2008-10-02 22:51:46 +0300
7268 Initial changes to change the suffix of the new format to .xz.
7269 This also fixes a bug related to --suffix option. Some issues
7270 with suffixes with --format=raw were not fixed.
7272 src/lzma/args.c | 67 ++++++++++++++++++++++++++++++-------------
7273 src/lzma/args.h | 13 ++++----
7274 src/lzma/help.c | 4 +-
7275 src/lzma/process.c | 24 +++++++++------
7276 src/lzma/suffix.c | 74 +++++++++++++++++++++++++++++++++++++++--------
7277 tests/test_compress.sh | 3 +-
7278 6 files changed, 133 insertions(+), 52 deletions(-)
7280 commit 4c321a41c482821aa3c4d64cdf886a6ed904d844
7281 Author: Lasse Collin <lasse.collin@tukaani.org>
7282 Date: 2008-09-30 17:43:55 +0300
7284 Renamed the test files from .lzma suffix to .xz suffix.
7286 tests/files/README | 128 ++++++++++++------------
7287 tests/files/bad-0-backward_size.lzma | Bin 32 -> 0 bytes
7288 tests/files/bad-0-backward_size.xz | Bin 0 -> 32 bytes
7289 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 0 bytes
7290 tests/files/bad-0-empty-truncated.xz | Bin 0 -> 31 bytes
7291 tests/files/bad-0-footer_magic.lzma | Bin 32 -> 0 bytes
7292 tests/files/bad-0-footer_magic.xz | Bin 0 -> 32 bytes
7293 tests/files/bad-0-header_magic.lzma | Bin 32 -> 0 bytes
7294 tests/files/bad-0-header_magic.xz | Bin 0 -> 32 bytes
7295 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 0 bytes
7296 tests/files/bad-0-nonempty_index.xz | Bin 0 -> 32 bytes
7297 tests/files/bad-0cat-alone.lzma | Bin 55 -> 0 bytes
7298 tests/files/bad-0cat-alone.xz | Bin 0 -> 55 bytes
7299 tests/files/bad-0cat-header_magic.lzma | Bin 64 -> 0 bytes
7300 tests/files/bad-0cat-header_magic.xz | Bin 0 -> 64 bytes
7301 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 0 bytes
7302 tests/files/bad-0catpad-empty.xz | Bin 0 -> 69 bytes
7303 tests/files/bad-0pad-empty.lzma | Bin 37 -> 0 bytes
7304 tests/files/bad-0pad-empty.xz | Bin 0 -> 37 bytes
7305 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 0 bytes
7306 tests/files/bad-1-block_header-1.xz | Bin 0 -> 64 bytes
7307 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 0 bytes
7308 tests/files/bad-1-block_header-2.xz | Bin 0 -> 64 bytes
7309 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 0 bytes
7310 tests/files/bad-1-block_header-3.xz | Bin 0 -> 68 bytes
7311 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 0 bytes
7312 tests/files/bad-1-block_header-4.xz | Bin 0 -> 72 bytes
7313 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 0 bytes
7314 tests/files/bad-1-check-crc32.xz | Bin 0 -> 68 bytes
7315 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 0 bytes
7316 tests/files/bad-1-check-crc64.xz | Bin 0 -> 72 bytes
7317 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 0 bytes
7318 tests/files/bad-1-check-sha256.xz | Bin 0 -> 96 bytes
7319 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 0 bytes
7320 tests/files/bad-1-lzma2-1.xz | Bin 0 -> 64 bytes
7321 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 0 bytes
7322 tests/files/bad-1-lzma2-2.xz | Bin 0 -> 424 bytes
7323 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 0 bytes
7324 tests/files/bad-1-lzma2-3.xz | Bin 0 -> 424 bytes
7325 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 0 bytes
7326 tests/files/bad-1-lzma2-4.xz | Bin 0 -> 408 bytes
7327 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 0 bytes
7328 tests/files/bad-1-lzma2-5.xz | Bin 0 -> 408 bytes
7329 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 0 bytes
7330 tests/files/bad-1-lzma2-6.xz | Bin 0 -> 68 bytes
7331 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 0 bytes
7332 tests/files/bad-1-lzma2-7.xz | Bin 0 -> 408 bytes
7333 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 0 bytes
7334 tests/files/bad-1-stream_flags-1.xz | Bin 0 -> 68 bytes
7335 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 0 bytes
7336 tests/files/bad-1-stream_flags-2.xz | Bin 0 -> 68 bytes
7337 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 0 bytes
7338 tests/files/bad-1-stream_flags-3.xz | Bin 0 -> 68 bytes
7339 tests/files/bad-1-vli-1.lzma | Bin 72 -> 0 bytes
7340 tests/files/bad-1-vli-1.xz | Bin 0 -> 72 bytes
7341 tests/files/bad-1-vli-2.lzma | Bin 72 -> 0 bytes
7342 tests/files/bad-1-vli-2.xz | Bin 0 -> 72 bytes
7343 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 0 bytes
7344 tests/files/bad-2-compressed_data_padding.xz | Bin 0 -> 92 bytes
7345 tests/files/bad-2-index-1.lzma | Bin 92 -> 0 bytes
7346 tests/files/bad-2-index-1.xz | Bin 0 -> 92 bytes
7347 tests/files/bad-2-index-2.lzma | Bin 92 -> 0 bytes
7348 tests/files/bad-2-index-2.xz | Bin 0 -> 92 bytes
7349 tests/files/bad-2-index-3.lzma | Bin 92 -> 0 bytes
7350 tests/files/bad-2-index-3.xz | Bin 0 -> 92 bytes
7351 tests/files/bad-2-index-4.lzma | Bin 92 -> 0 bytes
7352 tests/files/bad-2-index-4.xz | Bin 0 -> 92 bytes
7353 tests/files/good-0-empty.lzma | Bin 32 -> 0 bytes
7354 tests/files/good-0-empty.xz | Bin 0 -> 32 bytes
7355 tests/files/good-0cat-empty.lzma | Bin 64 -> 0 bytes
7356 tests/files/good-0cat-empty.xz | Bin 0 -> 64 bytes
7357 tests/files/good-0catpad-empty.lzma | Bin 68 -> 0 bytes
7358 tests/files/good-0catpad-empty.xz | Bin 0 -> 68 bytes
7359 tests/files/good-0pad-empty.lzma | Bin 36 -> 0 bytes
7360 tests/files/good-0pad-empty.xz | Bin 0 -> 36 bytes
7361 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 0 bytes
7362 tests/files/good-1-3delta-lzma2.xz | Bin 0 -> 528 bytes
7363 tests/files/good-1-block_header-1.lzma | Bin 72 -> 0 bytes
7364 tests/files/good-1-block_header-1.xz | Bin 0 -> 72 bytes
7365 tests/files/good-1-block_header-2.lzma | Bin 68 -> 0 bytes
7366 tests/files/good-1-block_header-2.xz | Bin 0 -> 68 bytes
7367 tests/files/good-1-block_header-3.lzma | Bin 68 -> 0 bytes
7368 tests/files/good-1-block_header-3.xz | Bin 0 -> 68 bytes
7369 tests/files/good-1-check-crc32.lzma | Bin 68 -> 0 bytes
7370 tests/files/good-1-check-crc32.xz | Bin 0 -> 68 bytes
7371 tests/files/good-1-check-crc64.lzma | Bin 72 -> 0 bytes
7372 tests/files/good-1-check-crc64.xz | Bin 0 -> 72 bytes
7373 tests/files/good-1-check-none.lzma | Bin 64 -> 0 bytes
7374 tests/files/good-1-check-none.xz | Bin 0 -> 64 bytes
7375 tests/files/good-1-check-sha256.lzma | Bin 96 -> 0 bytes
7376 tests/files/good-1-check-sha256.xz | Bin 0 -> 96 bytes
7377 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 0 bytes
7378 tests/files/good-1-delta-lzma2.tiff.xz | Bin 0 -> 51312 bytes
7379 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 0 bytes
7380 tests/files/good-1-lzma2-1.xz | Bin 0 -> 424 bytes
7381 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 0 bytes
7382 tests/files/good-1-lzma2-2.xz | Bin 0 -> 424 bytes
7383 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 0 bytes
7384 tests/files/good-1-lzma2-3.xz | Bin 0 -> 408 bytes
7385 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 0 bytes
7386 tests/files/good-1-sparc-lzma2.xz | Bin 0 -> 2292 bytes
7387 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 0 bytes
7388 tests/files/good-1-x86-lzma2.xz | Bin 0 -> 1936 bytes
7389 tests/files/good-2-lzma2.lzma | Bin 92 -> 0 bytes
7390 tests/files/good-2-lzma2.xz | Bin 0 -> 92 bytes
7391 tests/files/unsupported-block_header.lzma | Bin 68 -> 0 bytes
7392 tests/files/unsupported-block_header.xz | Bin 0 -> 68 bytes
7393 tests/files/unsupported-check.lzma | Bin 68 -> 0 bytes
7394 tests/files/unsupported-check.xz | Bin 0 -> 68 bytes
7395 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 0 bytes
7396 tests/files/unsupported-filter_flags-1.xz | Bin 0 -> 68 bytes
7397 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 0 bytes
7398 tests/files/unsupported-filter_flags-2.xz | Bin 0 -> 68 bytes
7399 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 0 bytes
7400 tests/files/unsupported-filter_flags-3.xz | Bin 0 -> 68 bytes
7401 tests/test_files.sh | 6 +-
7402 116 files changed, 66 insertions(+), 68 deletions(-)
7404 commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb
7405 Author: Lasse Collin <lasse.collin@tukaani.org>
7406 Date: 2008-09-30 13:57:44 +0300
7408 Fixed Stream decoder to actually use the first_stream variable.
7410 src/liblzma/common/stream_decoder.c | 5 +++++
7411 1 files changed, 5 insertions(+), 0 deletions(-)
7413 commit 3bdbc12c054d1961133ee19802af7dd3c3494543
7414 Author: Lasse Collin <lasse.collin@tukaani.org>
7415 Date: 2008-09-30 13:56:57 +0300
7417 Added one more test file.
7419 tests/files/README | 15 +++++++++++----
7420 tests/files/bad-0cat-header_magic.lzma | Bin 0 -> 64 bytes
7421 2 files changed, 11 insertions(+), 4 deletions(-)
7423 commit a6639022fdc536e5659b070a465221b4cf7c51fa
7424 Author: Lasse Collin <lasse.collin@tukaani.org>
7425 Date: 2008-09-30 13:34:07 +0300
7427 Fixed uninitialized variable in Stream decoder.
7429 src/liblzma/common/stream_decoder.c | 1 +
7430 1 files changed, 1 insertions(+), 0 deletions(-)
7432 commit ed3709000a3f17ecefab29b2235d7e2221b00003
7433 Author: Lasse Collin <lasse.collin@tukaani.org>
7434 Date: 2008-09-30 13:27:28 +0300
7436 Added two test files.
7438 tests/files/README | 6 ++++++
7439 tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes
7440 tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes
7441 3 files changed, 6 insertions(+), 0 deletions(-)
7443 commit ea560b0ea80525752bdcd0074d24f8dc170bbe29
7444 Author: Lasse Collin <lasse.collin@tukaani.org>
7445 Date: 2008-09-27 23:49:24 +0300
7447 Fix conflicting Subblock helper filter's ID.
7449 src/liblzma/common/common.h | 2 +-
7450 1 files changed, 1 insertions(+), 1 deletions(-)
7452 commit ad97483b6e55142fd8d5c041db057017a891cd95
7453 Author: Lasse Collin <lasse.collin@tukaani.org>
7454 Date: 2008-09-27 23:37:13 +0300
7456 Changed magic bytes to match the updated spec. Filename
7457 suffix wasn't changed yet.
7459 src/liblzma/common/auto_decoder.c | 4 ++--
7460 src/liblzma/common/stream_flags_common.c | 2 +-
7461 tests/files/bad-0-backward_size.lzma | Bin 32 -> 32 bytes
7462 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 31 bytes
7463 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 32 bytes
7464 tests/files/bad-0cat-alone.lzma | Bin 55 -> 55 bytes
7465 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 69 bytes
7466 tests/files/bad-0pad-empty.lzma | Bin 37 -> 37 bytes
7467 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 64 bytes
7468 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 64 bytes
7469 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 68 bytes
7470 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 72 bytes
7471 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 68 bytes
7472 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 72 bytes
7473 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 96 bytes
7474 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 64 bytes
7475 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 424 bytes
7476 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 424 bytes
7477 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 408 bytes
7478 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 408 bytes
7479 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 68 bytes
7480 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 408 bytes
7481 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 68 bytes
7482 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 68 bytes
7483 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 68 bytes
7484 tests/files/bad-1-vli-1.lzma | Bin 72 -> 72 bytes
7485 tests/files/bad-1-vli-2.lzma | Bin 72 -> 72 bytes
7486 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 92 bytes
7487 tests/files/bad-2-index-1.lzma | Bin 92 -> 92 bytes
7488 tests/files/bad-2-index-2.lzma | Bin 92 -> 92 bytes
7489 tests/files/bad-2-index-3.lzma | Bin 92 -> 92 bytes
7490 tests/files/bad-2-index-4.lzma | Bin 92 -> 92 bytes
7491 tests/files/good-0-empty.lzma | Bin 32 -> 32 bytes
7492 tests/files/good-0cat-empty.lzma | Bin 64 -> 64 bytes
7493 tests/files/good-0catpad-empty.lzma | Bin 68 -> 68 bytes
7494 tests/files/good-0pad-empty.lzma | Bin 36 -> 36 bytes
7495 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 528 bytes
7496 tests/files/good-1-block_header-1.lzma | Bin 72 -> 72 bytes
7497 tests/files/good-1-block_header-2.lzma | Bin 68 -> 68 bytes
7498 tests/files/good-1-block_header-3.lzma | Bin 68 -> 68 bytes
7499 tests/files/good-1-check-crc32.lzma | Bin 68 -> 68 bytes
7500 tests/files/good-1-check-crc64.lzma | Bin 72 -> 72 bytes
7501 tests/files/good-1-check-none.lzma | Bin 64 -> 64 bytes
7502 tests/files/good-1-check-sha256.lzma | Bin 96 -> 96 bytes
7503 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 51312 bytes
7504 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 424 bytes
7505 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 424 bytes
7506 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 408 bytes
7507 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 2292 bytes
7508 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 1936 bytes
7509 tests/files/good-2-lzma2.lzma | Bin 92 -> 92 bytes
7510 tests/files/unsupported-block_header.lzma | Bin 68 -> 68 bytes
7511 tests/files/unsupported-check.lzma | Bin 68 -> 68 bytes
7512 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 68 bytes
7513 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 68 bytes
7514 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 68 bytes
7515 56 files changed, 3 insertions(+), 3 deletions(-)
7517 commit 7a57069167e9e63394e2b095ee3a63253fcb51c7
7518 Author: Lasse Collin <lasse.collin@tukaani.org>
7519 Date: 2008-09-27 23:16:09 +0300
7521 Remove po/fi.po since I'm not keeping it updated for now.
7523 po/fi.po | 446 --------------------------------------------------------------
7524 1 files changed, 0 insertions(+), 446 deletions(-)
7526 commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e
7527 Author: Lasse Collin <lasse.collin@tukaani.org>
7528 Date: 2008-09-27 23:13:54 +0300
7530 Fix also test_compress.sh.
7532 tests/test_compress.sh | 6 +++---
7533 1 files changed, 3 insertions(+), 3 deletions(-)
7535 commit 3a62a5fb85d2eebd8666e64ed5d364d095062858
7536 Author: Lasse Collin <lasse.collin@tukaani.org>
7537 Date: 2008-09-27 23:01:15 +0300
7539 Fixed compilation of test_filter_flags.c, which was broken by
7540 1dcecfb09b55157b8653d747963069c8bed74f04.
7542 tests/test_filter_flags.c | 16 ++++++++--------
7543 1 files changed, 8 insertions(+), 8 deletions(-)
7545 commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0
7546 Author: Lasse Collin <lasse.collin@tukaani.org>
7547 Date: 2008-09-27 19:11:02 +0300
7549 Updated file format specification. It changes the suffix
7550 of the new format to .xz and removes the recently added
7553 doc/file-format.txt | 125 +++++++++++++--------------------------------------
7554 1 files changed, 32 insertions(+), 93 deletions(-)
7556 commit 1dcecfb09b55157b8653d747963069c8bed74f04
7557 Author: Lasse Collin <lasse.collin@tukaani.org>
7558 Date: 2008-09-27 19:09:21 +0300
7560 Some API changes, bug fixes, cleanups etc.
7562 configure.ac | 18 +-
7563 debug/full_flush.c | 7 +-
7564 debug/known_sizes.c | 6 +-
7565 debug/memusage.c | 22 ++--
7566 debug/sync_flush.c | 18 +-
7567 src/liblzma/Makefile.am | 2 +-
7568 src/liblzma/api/lzma/delta.h | 8 +-
7569 src/liblzma/api/lzma/lzma.h | 230 +++++++++++++++---------
7570 src/liblzma/common/alignment.c | 7 +-
7571 src/liblzma/common/alone_decoder.c | 11 +-
7572 src/liblzma/common/alone_encoder.c | 9 +-
7573 src/liblzma/common/chunk_size.c | 2 +-
7574 src/liblzma/common/easy.c | 20 ++-
7575 src/liblzma/common/filter_common.c | 4 +-
7576 src/liblzma/common/filter_decoder.c | 4 +-
7577 src/liblzma/common/filter_encoder.c | 4 +-
7578 src/liblzma/common/init_encoder.c | 2 +-
7579 src/liblzma/delta/delta_common.c | 12 +-
7580 src/liblzma/delta/delta_common.h | 2 +-
7581 src/liblzma/delta/delta_decoder.c | 2 +-
7582 src/liblzma/delta/delta_encoder.c | 6 +-
7583 src/liblzma/lz/lz_encoder.c | 30 ++--
7584 src/liblzma/lz/lz_encoder.h | 26 ++--
7585 src/liblzma/lz/lz_encoder_mf.c | 30 ++--
7586 src/liblzma/lzma/Makefile.am | 4 +-
7587 src/liblzma/lzma/lzma2_decoder.c | 10 +-
7588 src/liblzma/lzma/lzma2_encoder.c | 27 +--
7589 src/liblzma/lzma/lzma_common.h | 26 +--
7590 src/liblzma/lzma/lzma_decoder.c | 37 ++--
7591 src/liblzma/lzma/lzma_encoder.c | 51 +++---
7592 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 10 +-
7593 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +-
7594 src/liblzma/lzma/lzma_encoder_presets.c | 50 ++++--
7595 src/liblzma/rangecoder/Makefile.am | 4 +-
7596 src/liblzma/subblock/subblock_decoder.c | 2 +-
7597 src/lzma/args.c | 33 +++--
7598 src/lzma/help.c | 17 +-
7599 src/lzma/options.c | 92 ++++++----
7600 tests/test_block_header.c | 9 +-
7601 tests/test_compress.sh | 4 +-
7602 tests/test_filter_flags.c | 2 +-
7603 41 files changed, 482 insertions(+), 398 deletions(-)
7605 commit 5cc5064cae603b649c64c40125c7dd365de54c9d
7606 Author: Lasse Collin <lasse.collin@tukaani.org>
7607 Date: 2008-09-27 11:28:49 +0300
7611 extra/7z2lzma/7z2lzma.bash | 114 ++++++++++++++++++++++++++++++++++++++++++++
7612 1 files changed, 114 insertions(+), 0 deletions(-)
7614 commit f147666a5cd15542d4e427da58629f4a71cc38e1
7615 Author: Lasse Collin <lasse.collin@tukaani.org>
7616 Date: 2008-09-17 22:11:39 +0300
7618 Miscellaneous LZ and LZMA encoder cleanups
7620 src/liblzma/api/lzma/lzma.h | 14 ------
7621 src/liblzma/lz/lz_encoder.c | 8 +++-
7622 src/liblzma/lzma/Makefile.am | 1 -
7623 src/liblzma/lzma/lzma_encoder.c | 64 +++++++++++-------------------
7624 src/liblzma/lzma/lzma_encoder_features.c | 59 ---------------------------
7625 5 files changed, 29 insertions(+), 117 deletions(-)
7627 commit 13d68b069849e19c33822cd8996cd6447890abb1
7628 Author: Lasse Collin <lasse.collin@tukaani.org>
7629 Date: 2008-09-13 13:54:00 +0300
7633 src/liblzma/lz/lz_decoder.c | 5 ++---
7634 1 files changed, 2 insertions(+), 3 deletions(-)
7636 commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7
7637 Author: Lasse Collin <lasse.collin@tukaani.org>
7638 Date: 2008-09-13 12:10:43 +0300
7641 - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
7642 - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
7643 - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
7645 debug/full_flush.c | 2 +-
7646 debug/known_sizes.c | 2 +-
7647 debug/sync_flush.c | 2 +-
7648 src/liblzma/api/lzma/alignment.h | 2 +-
7649 src/liblzma/api/lzma/base.h | 4 +-
7650 src/liblzma/api/lzma/block.h | 28 +++++++++++++-------------
7651 src/liblzma/api/lzma/container.h | 12 +++++-----
7652 src/liblzma/api/lzma/filter.h | 28 +++++++++++++-------------
7653 src/liblzma/api/lzma/index.h | 2 +-
7654 src/liblzma/api/lzma/lzma.h | 4 +-
7655 src/liblzma/api/lzma/simple.h | 2 +-
7656 src/liblzma/api/lzma/stream_flags.h | 20 +++++++++---------
7657 src/liblzma/api/lzma/vli.h | 16 +++++++-------
7658 src/liblzma/common/alignment.c | 6 ++--
7659 src/liblzma/common/alone_decoder.c | 2 +-
7660 src/liblzma/common/auto_decoder.c | 2 +-
7661 src/liblzma/common/block_decoder.c | 12 +++++-----
7662 src/liblzma/common/block_encoder.c | 6 ++--
7663 src/liblzma/common/block_header_decoder.c | 16 +++++++-------
7664 src/liblzma/common/block_header_encoder.c | 24 +++++++++++-----------
7665 src/liblzma/common/block_util.c | 8 +++---
7666 src/liblzma/common/chunk_size.c | 2 +-
7667 src/liblzma/common/easy.c | 4 +-
7668 src/liblzma/common/filter_common.c | 22 ++++++++++----------
7669 src/liblzma/common/filter_decoder.c | 6 ++--
7670 src/liblzma/common/filter_encoder.c | 14 ++++++------
7671 src/liblzma/common/index.c | 24 ++++++++++------------
7672 src/liblzma/common/index.h | 2 +-
7673 src/liblzma/common/index_hash.c | 13 +++++------
7674 src/liblzma/common/stream_decoder.c | 4 +-
7675 src/liblzma/common/stream_encoder.c | 4 +-
7676 src/liblzma/common/stream_flags_common.c | 6 ++--
7677 src/liblzma/common/stream_flags_decoder.c | 6 ++--
7678 src/liblzma/common/stream_flags_encoder.c | 4 +-
7679 src/liblzma/common/vli_encoder.c | 2 +-
7680 src/liblzma/common/vli_size.c | 2 +-
7681 src/liblzma/delta/delta_common.c | 2 +-
7682 src/liblzma/delta/delta_decoder.c | 2 +-
7683 src/liblzma/delta/delta_encoder.c | 2 +-
7684 src/liblzma/lz/lz_decoder.c | 2 +-
7685 src/liblzma/lz/lz_encoder.c | 2 +-
7686 src/liblzma/lzma/lzma2_decoder.c | 6 ++--
7687 src/liblzma/lzma/lzma_decoder.c | 14 ++++++------
7688 src/liblzma/lzma/lzma_encoder.c | 8 +++---
7689 src/liblzma/simple/simple_coder.c | 2 +-
7690 src/liblzma/simple/simple_decoder.c | 2 +-
7691 src/liblzma/subblock/subblock_decoder.c | 6 ++--
7692 src/liblzma/subblock/subblock_encoder.c | 17 +++++++--------
7693 src/lzma/args.c | 2 +-
7694 src/lzma/error.c | 2 +-
7695 src/lzma/list.c | 6 ++--
7696 src/lzmadec/lzmadec.c | 2 +-
7697 tests/test_block.c | 8 +++---
7698 tests/test_block_header.c | 30 ++++++++++++++--------------
7699 tests/test_filter_flags.c | 2 +-
7700 tests/test_index.c | 2 +-
7701 tests/test_stream_flags.c | 8 +++---
7702 tests/tests.h | 2 +-
7703 58 files changed, 220 insertions(+), 224 deletions(-)
7705 commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080
7706 Author: Lasse Collin <lasse.collin@tukaani.org>
7707 Date: 2008-09-12 22:41:40 +0300
7709 Improved the Stream Flags handling API.
7711 src/liblzma/api/lzma/stream_flags.h | 84 +++++++++++++++++++++++++++--
7712 src/liblzma/common/stream_decoder.c | 5 +-
7713 src/liblzma/common/stream_encoder.c | 2 +
7714 src/liblzma/common/stream_flags_common.c | 28 +++++++---
7715 src/liblzma/common/stream_flags_common.h | 9 +++
7716 src/liblzma/common/stream_flags_decoder.c | 3 +-
7717 src/liblzma/common/stream_flags_encoder.c | 10 +++-
7718 tests/test_stream_flags.c | 8 ++-
7719 8 files changed, 129 insertions(+), 20 deletions(-)
7721 commit ec490da5228263b25bf786bb23d1008468f55b30
7722 Author: Lasse Collin <lasse.collin@tukaani.org>
7723 Date: 2008-09-11 23:10:44 +0300
7725 Simplified debug/known_sizes.c to match the relaxed
7726 requirements of Block encoder.
7728 debug/known_sizes.c | 14 +++++---------
7729 1 files changed, 5 insertions(+), 9 deletions(-)
7731 commit 16e8b98f2659347edfa74afdbbb9e73311153cb9
7732 Author: Lasse Collin <lasse.collin@tukaani.org>
7733 Date: 2008-09-11 23:09:24 +0300
7735 Remove a check from Block encoder that should have already
7736 been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e.
7738 src/liblzma/common/block_encoder.c | 5 -----
7739 1 files changed, 0 insertions(+), 5 deletions(-)
7741 commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13
7742 Author: Lasse Collin <lasse.collin@tukaani.org>
7743 Date: 2008-09-11 20:02:38 +0300
7745 Remove bogus #includes.
7747 src/liblzma/common/Makefile.am | 1 -
7748 src/liblzma/common/stream_decoder.c | 3 --
7749 src/liblzma/common/stream_encoder.c | 1 -
7750 src/liblzma/common/stream_flags_decoder.h | 31 -----------------------------
7751 4 files changed, 0 insertions(+), 36 deletions(-)
7753 commit 01892b2ca5f69bed0ea746e04b604030d57806bb
7754 Author: Lasse Collin <lasse.collin@tukaani.org>
7755 Date: 2008-09-11 10:49:14 +0300
7760 1 files changed, 1 insertions(+), 0 deletions(-)
7762 commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d
7763 Author: Lasse Collin <lasse.collin@tukaani.org>
7764 Date: 2008-09-11 10:48:12 +0300
7766 Fix a compiler error on big endian systems that don't
7767 support unaligned memory access.
7769 src/common/integer.h | 32 ++++++++++++++++++--------------
7770 1 files changed, 18 insertions(+), 14 deletions(-)
7772 commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671
7773 Author: Lasse Collin <lasse.collin@tukaani.org>
7774 Date: 2008-09-11 10:46:14 +0300
7776 Silence a compiler warning.
7778 src/lzma/process.c | 2 +-
7779 1 files changed, 1 insertions(+), 1 deletions(-)
7781 commit 9373e81e18822db4972819442ea4c2cb9955470b
7782 Author: Lasse Collin <lasse.collin@tukaani.org>
7783 Date: 2008-09-10 19:16:32 +0300
7785 Bumped version to 4.999.6alpha.
7788 src/liblzma/api/lzma/version.h | 2 +-
7789 2 files changed, 2 insertions(+), 2 deletions(-)
7791 commit cb072b7c8442ba68bb0c62c0abbbe939794887a3
7792 Author: Lasse Collin <lasse.collin@tukaani.org>
7793 Date: 2008-09-10 17:02:00 +0300
7795 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.
7796 Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID
7797 is in the reserved range. This allows Block Header encoder to
7798 detect unallowed Filter IDs, which is good for Stream encoder.
7800 src/liblzma/common/filter_flags_encoder.c | 7 ++++---
7801 1 files changed, 4 insertions(+), 3 deletions(-)
7803 commit 123ab0acec435c9e9866a99e30482116cfbd9ba5
7804 Author: Lasse Collin <lasse.collin@tukaani.org>
7805 Date: 2008-09-10 16:44:32 +0300
7807 Filter handling cleanups
7809 src/liblzma/api/lzma/filter.h | 133 +++++++++++++++++++++++++++--------
7810 src/liblzma/common/filter_common.h | 3 +
7811 src/liblzma/common/filter_decoder.c | 80 +++++++--------------
7812 src/liblzma/common/filter_decoder.h | 5 --
7813 src/liblzma/common/filter_encoder.c | 82 +++++++---------------
7814 src/liblzma/common/filter_encoder.h | 4 -
7815 6 files changed, 156 insertions(+), 151 deletions(-)
7817 commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1
7818 Author: Lasse Collin <lasse.collin@tukaani.org>
7819 Date: 2008-09-10 00:33:00 +0300
7823 src/liblzma/common/stream_encoder.c | 6 +++++-
7824 1 files changed, 5 insertions(+), 1 deletions(-)
7826 commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e
7827 Author: Lasse Collin <lasse.collin@tukaani.org>
7828 Date: 2008-09-10 00:27:02 +0300
7830 Cleaned up Block encoder and moved the no longer shared
7831 code from block_private.h to block_decoder.c. Now the Block
7832 encoder doesn't need compressed_size and uncompressed_size
7833 from lzma_block structure to be initialized.
7835 src/liblzma/api/lzma/block.h | 3 -
7836 src/liblzma/common/Makefile.am | 1 -
7837 src/liblzma/common/block_decoder.c | 23 +++++++++-
7838 src/liblzma/common/block_encoder.c | 92 +++++++++++++++++-------------------
7839 src/liblzma/common/block_private.h | 47 ------------------
7840 5 files changed, 66 insertions(+), 100 deletions(-)
7842 commit 07efcb5a6bc5d7018798ebd728586f84183e7d64
7843 Author: Lasse Collin <lasse.collin@tukaani.org>
7844 Date: 2008-09-07 10:23:13 +0300
7846 Changed Filter ID of LZMA to 0x20.
7848 doc/file-format.txt | 4 ++--
7849 src/liblzma/api/lzma/lzma.h | 2 +-
7850 2 files changed, 3 insertions(+), 3 deletions(-)
7852 commit 32fe5fa541e82c08e054086279079ae5016bd8d8
7853 Author: Lasse Collin <lasse.collin@tukaani.org>
7854 Date: 2008-09-06 23:42:50 +0300
7858 src/liblzma/api/lzma/base.h | 81 +++++++++++++++++++++++++-------------
7859 src/liblzma/api/lzma/container.h | 6 ++-
7860 src/liblzma/lz/lz_encoder.c | 3 +-
7861 src/liblzma/lz/lz_encoder.h | 12 +++---
7862 src/liblzma/lz/lz_encoder_mf.c | 2 +-
7863 5 files changed, 65 insertions(+), 39 deletions(-)
7865 commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84
7866 Author: Lasse Collin <lasse.collin@tukaani.org>
7867 Date: 2008-09-06 15:14:30 +0300
7871 src/liblzma/api/lzma/base.h | 314 ++++++++++++++++++++++-------------
7872 src/liblzma/api/lzma/check.h | 10 +
7873 src/liblzma/api/lzma/container.h | 40 +++--
7874 src/liblzma/common/auto_decoder.c | 18 +-
7875 src/liblzma/common/common.c | 7 +
7876 src/liblzma/common/common.h | 18 +-
7877 src/liblzma/common/easy.c | 2 +-
7878 src/liblzma/common/stream_decoder.c | 31 ++--
7879 src/lzma/process.c | 2 +-
7880 src/lzmadec/lzmadec.c | 6 +-
7881 tests/tests.h | 72 ++------
7882 11 files changed, 301 insertions(+), 219 deletions(-)
7884 commit da98df54400998be2a6c3876f9655a3c51b93c10
7885 Author: Lasse Collin <lasse.collin@tukaani.org>
7886 Date: 2008-09-04 11:53:06 +0300
7888 Added support for raw encoding and decoding to the command
7889 line tool, and made various cleanups. --lzma was renamed to
7890 --lzma1 to prevent people from accidentally using LZMA when
7893 src/lzma/args.c | 17 +++++++++--------
7894 src/lzma/args.h | 1 +
7895 src/lzma/help.c | 24 ++++++------------------
7896 src/lzma/process.c | 42 ++++++++++++++++++++++++++++++++++--------
7897 4 files changed, 50 insertions(+), 34 deletions(-)
7899 commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd
7900 Author: Lasse Collin <lasse.collin@tukaani.org>
7901 Date: 2008-09-04 10:39:15 +0300
7903 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's
7904 simply nothing that would use it. Allow LZMA_FINISH to the
7905 decoders, which will usually ignore it (auto decoder and
7906 Stream decoder being exceptions).
7908 src/liblzma/common/alone_decoder.c | 1 -
7909 src/liblzma/common/block_decoder.c | 2 +-
7910 src/liblzma/common/filter_decoder.c | 2 +-
7911 3 files changed, 2 insertions(+), 3 deletions(-)
7913 commit bea301c26d5d52675e11e0236faec0492af98f60
7914 Author: Lasse Collin <lasse.collin@tukaani.org>
7915 Date: 2008-09-03 17:06:25 +0300
7917 Minor updates to the file format specification.
7919 doc/file-format.txt | 105 +++++++++++++++++++++++++++++++++++++++++----------
7920 1 files changed, 85 insertions(+), 20 deletions(-)
7922 commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8
7923 Author: Lasse Collin <lasse.collin@tukaani.org>
7924 Date: 2008-09-02 19:33:32 +0300
7926 Command line tool fixes
7928 src/lzma/process.c | 21 +++++++++++++--------
7929 1 files changed, 13 insertions(+), 8 deletions(-)
7931 commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4
7932 Author: Lasse Collin <lasse.collin@tukaani.org>
7933 Date: 2008-09-02 19:31:42 +0300
7935 Auto decoder cleanup
7937 src/liblzma/common/auto_decoder.c | 2 +-
7938 1 files changed, 1 insertions(+), 1 deletions(-)
7940 commit 689602336d126a46b60d791a67decab65e1e81f5
7941 Author: Lasse Collin <lasse.collin@tukaani.org>
7942 Date: 2008-09-02 19:12:12 +0300
7944 Updated auto decoder to handle LZMA_CONCATENATED when decoding
7945 LZMA_Alone files. Decoding of concatenated LZMA_Alone files is
7946 intentionally not supported, so it is better to put this in
7947 auto decoder than LZMA_Alone decoder.
7949 src/liblzma/common/auto_decoder.c | 87 ++++++++++++++++++++++++++++++-------
7950 1 files changed, 71 insertions(+), 16 deletions(-)
7952 commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c
7953 Author: Lasse Collin <lasse.collin@tukaani.org>
7954 Date: 2008-09-02 14:56:52 +0300
7956 Stream decoder cleanups
7958 src/liblzma/common/stream_decoder.c | 57 +++++++++++++++++++---------------
7959 1 files changed, 32 insertions(+), 25 deletions(-)
7961 commit fc681657450ce57be1fe08f7a15d31dcc705e514
7962 Author: Lasse Collin <lasse.collin@tukaani.org>
7963 Date: 2008-09-02 11:45:39 +0300
7965 Some fixes to LZ encoder.
7967 src/liblzma/lz/lz_encoder.c | 56 +++++++++++++++++++----
7968 src/liblzma/lz/lz_encoder.h | 18 ++++---
7969 src/liblzma/lz/lz_encoder_mf.c | 95 ++++++++++++++++------------------------
7970 3 files changed, 94 insertions(+), 75 deletions(-)
7972 commit ede675f9ac1ca82a7d7c290324adba672118bc8d
7973 Author: Lasse Collin <lasse.collin@tukaani.org>
7974 Date: 2008-08-31 11:47:01 +0300
7976 Fix wrong pointer calculation in LZMA encoder.
7978 src/liblzma/lzma/lzma_encoder.c | 4 +++-
7979 1 files changed, 3 insertions(+), 1 deletions(-)
7981 commit 3b34851de1eaf358cf9268922fa0eeed8278d680
7982 Author: Lasse Collin <lasse.collin@tukaani.org>
7983 Date: 2008-08-28 22:53:15 +0300
7985 Sort of garbage collection commit. :-| Many things are still
7986 broken. API has changed a lot and it will still change a
7987 little more here and there. The command line tool doesn't
7988 have all the required changes to reflect the API changes, so
7989 it's easy to get "internal error" or trigger assertions.
7991 configure.ac | 356 +++---
7992 debug/Makefile.am | 5 +-
7993 debug/crc32.c | 45 +
7994 debug/full_flush.c | 14 +-
7995 debug/hex2bin.c | 54 +
7996 debug/known_sizes.c | 135 ++
7997 debug/memusage.c | 8 +-
7998 debug/sync_flush.c | 20 +-
7999 src/common/integer.h | 26 +-
8000 src/common/sysdefs.h | 42 +-
8001 src/liblzma/Makefile.am | 17 +-
8002 src/liblzma/api/Makefile.am | 6 +-
8003 src/liblzma/api/lzma.h | 161 ++-
8004 src/liblzma/api/lzma/alignment.h | 6 +-
8005 src/liblzma/api/lzma/alone.h | 52 -
8006 src/liblzma/api/lzma/auto.h | 36 -
8007 src/liblzma/api/lzma/base.h | 61 +-
8008 src/liblzma/api/lzma/block.h | 38 +-
8009 src/liblzma/api/lzma/check.h | 41 +-
8010 src/liblzma/api/lzma/container.h | 252 ++++
8011 src/liblzma/api/lzma/delta.h | 36 +-
8012 src/liblzma/api/lzma/easy.h | 121 --
8013 src/liblzma/api/lzma/filter.h | 74 +-
8014 src/liblzma/api/lzma/index.h | 40 +-
8015 src/liblzma/api/lzma/index_hash.h | 12 +-
8016 src/liblzma/api/lzma/lzma.h | 222 ++--
8017 src/liblzma/api/lzma/memlimit.h | 15 +-
8018 src/liblzma/api/lzma/raw.h | 60 -
8019 src/liblzma/api/lzma/simple.h | 2 +-
8020 src/liblzma/api/lzma/stream.h | 53 -
8021 src/liblzma/api/lzma/stream_flags.h | 17 +-
8022 src/liblzma/api/lzma/subblock.h | 4 +-
8023 src/liblzma/api/lzma/version.h | 10 +-
8024 src/liblzma/api/lzma/vli.h | 131 +--
8025 src/liblzma/check/check.c | 128 +--
8026 src/liblzma/check/check.h | 67 +-
8027 src/liblzma/check/sha256.c | 29 +-
8028 src/liblzma/common/Makefile.am | 51 +-
8029 src/liblzma/common/alignment.c | 4 +-
8030 src/liblzma/common/allocator.c | 58 -
8031 src/liblzma/common/alone_decoder.c | 49 +-
8032 src/liblzma/common/alone_decoder.h | 9 +-
8033 src/liblzma/common/alone_encoder.c | 13 +-
8034 src/liblzma/common/auto_decoder.c | 38 +-
8035 src/liblzma/common/block_decoder.c | 67 +-
8036 src/liblzma/common/block_decoder.h | 2 +-
8037 src/liblzma/common/block_encoder.c | 42 +-
8038 src/liblzma/common/block_encoder.h | 2 +-
8039 src/liblzma/common/block_header_decoder.c | 6 +-
8040 src/liblzma/common/block_header_encoder.c | 9 +-
8041 src/liblzma/common/block_util.c | 10 +-
8042 src/liblzma/common/code.c | 203 ---
8043 src/liblzma/common/common.c | 298 +++++
8044 src/liblzma/common/common.h | 237 ++--
8045 src/liblzma/common/delta_common.c | 66 -
8046 src/liblzma/common/delta_common.h | 44 -
8047 src/liblzma/common/delta_decoder.c | 61 -
8048 src/liblzma/common/delta_decoder.h | 28 -
8049 src/liblzma/common/delta_encoder.c | 98 --
8050 src/liblzma/common/delta_encoder.h | 28 -
8051 src/liblzma/common/easy.c | 18 +-
8052 src/liblzma/common/features.c | 66 -
8053 src/liblzma/common/filter_common.c | 262 ++++
8054 src/liblzma/common/filter_common.h | 52 +
8055 src/liblzma/common/filter_decoder.c | 236 ++++
8056 src/liblzma/common/filter_decoder.h | 35 +
8057 src/liblzma/common/filter_encoder.c | 308 +++++
8058 src/liblzma/common/filter_encoder.h | 38 +
8059 src/liblzma/common/filter_flags_decoder.c | 185 +---
8060 src/liblzma/common/filter_flags_encoder.c | 261 +----
8061 src/liblzma/common/index_decoder.c | 14 +-
8062 src/liblzma/common/index_encoder.c | 16 +-
8063 src/liblzma/common/index_hash.c | 8 +-
8064 src/liblzma/common/init_encoder.c | 2 +-
8065 src/liblzma/common/memory_usage.c | 112 --
8066 src/liblzma/common/next_coder.c | 65 -
8067 src/liblzma/common/raw_common.c | 127 --
8068 src/liblzma/common/raw_common.h | 30 -
8069 src/liblzma/common/raw_decoder.c | 116 --
8070 src/liblzma/common/raw_decoder.h | 29 -
8071 src/liblzma/common/raw_encoder.c | 111 --
8072 src/liblzma/common/raw_encoder.h | 29 -
8073 src/liblzma/common/stream_common.c | 23 -
8074 src/liblzma/common/stream_common.h | 31 -
8075 src/liblzma/common/stream_decoder.c | 238 +++-
8076 src/liblzma/common/stream_decoder.h | 4 +-
8077 src/liblzma/common/stream_encoder.c | 35 +-
8078 src/liblzma/common/stream_encoder.h | 2 +-
8079 src/liblzma/common/stream_flags_common.c | 40 +
8080 src/liblzma/common/stream_flags_common.h | 31 +
8081 src/liblzma/common/stream_flags_decoder.c | 2 +-
8082 src/liblzma/common/stream_flags_encoder.c | 2 +-
8083 src/liblzma/common/stream_flags_equal.c | 36 -
8084 src/liblzma/common/version.c | 25 -
8085 src/liblzma/common/vli_decoder.c | 29 +-
8086 src/liblzma/common/vli_encoder.c | 23 +-
8087 src/liblzma/common/vli_size.c | 37 +
8088 src/liblzma/delta/Makefile.am | 34 +
8089 src/liblzma/delta/delta_common.c | 66 +
8090 src/liblzma/delta/delta_common.h | 44 +
8091 src/liblzma/delta/delta_decoder.c | 82 ++
8092 src/liblzma/delta/delta_decoder.h | 32 +
8093 src/liblzma/delta/delta_encoder.c | 119 ++
8094 src/liblzma/delta/delta_encoder.h | 30 +
8095 src/liblzma/lz/Makefile.am | 35 +-
8096 src/liblzma/lz/bt2.c | 27 -
8097 src/liblzma/lz/bt2.h | 31 -
8098 src/liblzma/lz/bt3.c | 29 -
8099 src/liblzma/lz/bt3.h | 31 -
8100 src/liblzma/lz/bt4.c | 30 -
8101 src/liblzma/lz/bt4.h | 31 -
8102 src/liblzma/lz/hc3.c | 30 -
8103 src/liblzma/lz/hc3.h | 31 -
8104 src/liblzma/lz/hc4.c | 31 -
8105 src/liblzma/lz/hc4.h | 31 -
8106 src/liblzma/lz/lz_decoder.c | 547 +++------
8107 src/liblzma/lz/lz_decoder.h | 308 +++---
8108 src/liblzma/lz/lz_encoder.c | 780 ++++++------
8109 src/liblzma/lz/lz_encoder.h | 334 ++++--
8110 src/liblzma/lz/lz_encoder_hash.h | 104 ++
8111 src/liblzma/lz/lz_encoder_mf.c | 780 ++++++++++++
8112 src/liblzma/lz/lz_encoder_private.h | 40 -
8113 src/liblzma/lz/match_c.h | 412 ------
8114 src/liblzma/lz/match_h.h | 69 -
8115 src/liblzma/lzma/Makefile.am | 37 +-
8116 src/liblzma/lzma/fastpos.h | 8 +-
8117 src/liblzma/lzma/lzma2_decoder.c | 318 +++++
8118 src/liblzma/lzma/lzma2_decoder.h | 35 +
8119 src/liblzma/lzma/lzma2_encoder.c | 406 ++++++
8120 src/liblzma/lzma/lzma2_encoder.h | 34 +
8121 src/liblzma/lzma/lzma_common.h | 208 +++-
8122 src/liblzma/lzma/lzma_decoder.c | 1306 ++++++++++++--------
8123 src/liblzma/lzma/lzma_decoder.h | 21 +-
8124 src/liblzma/lzma/lzma_encoder.c | 576 +++++++--
8125 src/liblzma/lzma/lzma_encoder.h | 38 +-
8126 src/liblzma/lzma/lzma_encoder_features.c | 2 +-
8127 src/liblzma/lzma/lzma_encoder_getoptimum.c | 925 --------------
8128 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 ---
8129 src/liblzma/lzma/lzma_encoder_init.c | 228 ----
8130 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 193 +++
8131 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 875 +++++++++++++
8132 src/liblzma/lzma/lzma_encoder_presets.c | 52 +-
8133 src/liblzma/lzma/lzma_encoder_private.h | 174 +--
8134 src/liblzma/lzma/lzma_literal.c | 51 -
8135 src/liblzma/lzma/lzma_literal.h | 71 --
8136 src/liblzma/rangecoder/Makefile.am | 10 +-
8137 src/liblzma/rangecoder/price.h | 111 ++
8138 src/liblzma/rangecoder/price_table.c | 84 +-
8139 src/liblzma/rangecoder/price_table_gen.c | 55 -
8140 src/liblzma/rangecoder/price_table_init.c | 33 +-
8141 src/liblzma/rangecoder/price_tablegen.c | 56 +
8142 src/liblzma/rangecoder/range_common.h | 17 +-
8143 src/liblzma/rangecoder/range_decoder.h | 209 ++--
8144 src/liblzma/rangecoder/range_encoder.h | 92 +--
8145 src/liblzma/simple/Makefile.am | 12 +
8146 src/liblzma/simple/simple_coder.c | 8 +-
8147 src/liblzma/simple/simple_decoder.c | 47 +
8148 src/liblzma/simple/simple_decoder.h | 29 +
8149 src/liblzma/simple/simple_encoder.c | 45 +
8150 src/liblzma/simple/simple_encoder.h | 30 +
8151 src/liblzma/subblock/Makefile.am | 4 +-
8152 src/liblzma/subblock/subblock_decoder.c | 20 +-
8153 src/liblzma/subblock/subblock_decoder_helper.c | 2 +-
8154 src/liblzma/subblock/subblock_encoder.c | 28 +-
8155 src/lzma/args.c | 35 +-
8156 src/lzma/args.h | 4 +-
8157 src/lzma/options.c | 14 +-
8158 src/lzma/process.c | 88 +-
8159 src/lzmadec/lzmadec.c | 157 +--
8160 tests/Makefile.am | 1 +
8161 tests/files/README | 303 ++---
8162 tests/files/bad-0-backward_size.lzma | Bin 0 -> 32 bytes
8163 tests/files/bad-0-empty-truncated.lzma | Bin 0 -> 31 bytes
8164 tests/files/bad-0-nonempty_index.lzma | Bin 0 -> 32 bytes
8165 tests/files/bad-0cat-alone.lzma | Bin 0 -> 55 bytes
8166 tests/files/bad-0catpad-empty.lzma | Bin 0 -> 69 bytes
8167 tests/files/bad-0pad-empty.lzma | Bin 0 -> 37 bytes
8168 tests/files/bad-1-block_header-1.lzma | Bin 0 -> 64 bytes
8169 tests/files/bad-1-block_header-2.lzma | Bin 0 -> 64 bytes
8170 tests/files/bad-1-block_header-3.lzma | Bin 0 -> 68 bytes
8171 tests/files/bad-1-block_header-4.lzma | Bin 0 -> 72 bytes
8172 tests/files/bad-1-check-crc32.lzma | Bin 0 -> 68 bytes
8173 tests/files/bad-1-check-crc64.lzma | Bin 0 -> 72 bytes
8174 tests/files/bad-1-check-sha256.lzma | Bin 0 -> 96 bytes
8175 tests/files/bad-1-lzma2-1.lzma | Bin 0 -> 64 bytes
8176 tests/files/bad-1-lzma2-2.lzma | Bin 0 -> 424 bytes
8177 tests/files/bad-1-lzma2-3.lzma | Bin 0 -> 424 bytes
8178 tests/files/bad-1-lzma2-4.lzma | Bin 0 -> 408 bytes
8179 tests/files/bad-1-lzma2-5.lzma | Bin 0 -> 408 bytes
8180 tests/files/bad-1-lzma2-6.lzma | Bin 0 -> 68 bytes
8181 tests/files/bad-1-lzma2-7.lzma | Bin 0 -> 408 bytes
8182 tests/files/bad-1-stream_flags-1.lzma | Bin 0 -> 68 bytes
8183 tests/files/bad-1-stream_flags-2.lzma | Bin 0 -> 68 bytes
8184 tests/files/bad-1-stream_flags-3.lzma | Bin 0 -> 68 bytes
8185 tests/files/bad-1-vli-1.lzma | Bin 0 -> 72 bytes
8186 tests/files/bad-1-vli-2.lzma | Bin 0 -> 72 bytes
8187 tests/files/bad-2-compressed_data_padding.lzma | Bin 0 -> 92 bytes
8188 tests/files/bad-2-index-1.lzma | Bin 0 -> 92 bytes
8189 tests/files/bad-2-index-2.lzma | Bin 0 -> 92 bytes
8190 tests/files/bad-2-index-3.lzma | Bin 0 -> 92 bytes
8191 tests/files/bad-2-index-4.lzma | Bin 0 -> 92 bytes
8192 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 65 -> 0 bytes
8193 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 65 -> 0 bytes
8194 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 65 -> 0 bytes
8195 tests/files/bad-multi-none-1.lzma | Bin 54 -> 0 bytes
8196 tests/files/bad-multi-none-2.lzma | Bin 53 -> 0 bytes
8197 tests/files/bad-multi-none-3.lzma | Bin 53 -> 0 bytes
8198 tests/files/bad-multi-none-block_1.lzma | Bin 66 -> 0 bytes
8199 tests/files/bad-multi-none-block_2.lzma | Bin 66 -> 0 bytes
8200 tests/files/bad-multi-none-block_3.lzma | Bin 58 -> 0 bytes
8201 tests/files/bad-multi-none-extra_1.lzma | Bin 54 -> 0 bytes
8202 tests/files/bad-multi-none-extra_2.lzma | Bin 54 -> 0 bytes
8203 tests/files/bad-multi-none-extra_3.lzma | Bin 55 -> 0 bytes
8204 tests/files/bad-multi-none-header_1.lzma | Bin 57 -> 0 bytes
8205 tests/files/bad-multi-none-header_2.lzma | Bin 61 -> 0 bytes
8206 tests/files/bad-multi-none-header_3.lzma | Bin 59 -> 0 bytes
8207 tests/files/bad-multi-none-header_4.lzma | Bin 59 -> 0 bytes
8208 tests/files/bad-multi-none-header_5.lzma | Bin 58 -> 0 bytes
8209 tests/files/bad-multi-none-header_6.lzma | Bin 59 -> 0 bytes
8210 tests/files/bad-multi-none-header_7.lzma | Bin 59 -> 0 bytes
8211 tests/files/bad-multi-none-index_1.lzma | Bin 51 -> 0 bytes
8212 tests/files/bad-multi-none-index_2.lzma | Bin 49 -> 0 bytes
8213 tests/files/bad-multi-none-index_3.lzma | Bin 51 -> 0 bytes
8214 tests/files/bad-multi-none-index_4.lzma | Bin 51 -> 0 bytes
8215 tests/files/bad-single-data_after_eopm_1.lzma | Bin 55 -> 0 bytes
8216 tests/files/bad-single-data_after_eopm_2.lzma | Bin 56 -> 0 bytes
8217 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 53 -> 0 bytes
8218 tests/files/bad-single-lzma-flush_twice.lzma | Bin 63 -> 0 bytes
8219 tests/files/bad-single-none-empty.lzma | Bin 19 -> 0 bytes
8220 .../files/bad-single-none-footer_filter_flags.lzma | Bin 30 -> 0 bytes
8221 tests/files/bad-single-none-too_long_vli.lzma | Bin 39 -> 0 bytes
8222 tests/files/bad-single-none-truncated.lzma | Bin 29 -> 0 bytes
8223 tests/files/bad-single-subblock-padding_loop.lzma | Bin 43 -> 0 bytes
8224 tests/files/bad-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes
8225 tests/files/bad-single-subblock_subblock.lzma | Bin 26 -> 0 bytes
8226 tests/files/good-0-empty.lzma | Bin 0 -> 32 bytes
8227 tests/files/good-0cat-empty.lzma | Bin 0 -> 64 bytes
8228 tests/files/good-0catpad-empty.lzma | Bin 0 -> 68 bytes
8229 tests/files/good-0pad-empty.lzma | Bin 0 -> 36 bytes
8230 tests/files/good-1-3delta-lzma2.lzma | Bin 0 -> 528 bytes
8231 tests/files/good-1-block_header-1.lzma | Bin 0 -> 72 bytes
8232 tests/files/good-1-block_header-2.lzma | Bin 0 -> 68 bytes
8233 tests/files/good-1-block_header-3.lzma | Bin 0 -> 68 bytes
8234 tests/files/good-1-check-crc32.lzma | Bin 0 -> 68 bytes
8235 tests/files/good-1-check-crc64.lzma | Bin 0 -> 72 bytes
8236 tests/files/good-1-check-none.lzma | Bin 0 -> 64 bytes
8237 tests/files/good-1-check-sha256.lzma | Bin 0 -> 96 bytes
8238 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 0 -> 51312 bytes
8239 tests/files/good-1-lzma2-1.lzma | Bin 0 -> 424 bytes
8240 tests/files/good-1-lzma2-2.lzma | Bin 0 -> 424 bytes
8241 tests/files/good-1-lzma2-3.lzma | Bin 0 -> 408 bytes
8242 tests/files/good-1-sparc-lzma2.lzma | Bin 0 -> 2292 bytes
8243 tests/files/good-1-x86-lzma2.lzma | Bin 0 -> 1936 bytes
8244 tests/files/good-2-lzma2.lzma | Bin 0 -> 92 bytes
8245 tests/files/good-cat-single-none-pad.lzma | Bin 64 -> 0 bytes
8246 tests/files/good-multi-none-1.lzma | Bin 75 -> 0 bytes
8247 tests/files/good-multi-none-2.lzma | Bin 53 -> 0 bytes
8248 tests/files/good-multi-none-block_1.lzma | Bin 66 -> 0 bytes
8249 tests/files/good-multi-none-block_2.lzma | Bin 58 -> 0 bytes
8250 tests/files/good-multi-none-extra_1.lzma | Bin 51 -> 0 bytes
8251 tests/files/good-multi-none-extra_2.lzma | Bin 79 -> 0 bytes
8252 tests/files/good-multi-none-extra_3.lzma | Bin 55 -> 0 bytes
8253 tests/files/good-multi-none-header_1.lzma | Bin 58 -> 0 bytes
8254 tests/files/good-multi-none-header_2.lzma | Bin 66 -> 0 bytes
8255 tests/files/good-multi-none-header_3.lzma | Bin 59 -> 0 bytes
8256 tests/files/good-single-delta-lzma.tiff.lzma | Bin 51409 -> 0 bytes
8257 tests/files/good-single-lzma-empty.lzma | Bin 21 -> 0 bytes
8258 tests/files/good-single-lzma-flush_1.lzma | Bin 48 -> 0 bytes
8259 tests/files/good-single-lzma-flush_2.lzma | Bin 63 -> 0 bytes
8260 tests/files/good-single-lzma.lzma | Bin 44 -> 0 bytes
8261 tests/files/good-single-none-empty_1.lzma | Bin 18 -> 0 bytes
8262 tests/files/good-single-none-empty_2.lzma | Bin 26 -> 0 bytes
8263 tests/files/good-single-none-empty_3.lzma | Bin 19 -> 0 bytes
8264 tests/files/good-single-none-pad.lzma | Bin 32 -> 0 bytes
8265 tests/files/good-single-none.lzma | Bin 30 -> 0 bytes
8266 tests/files/good-single-sparc-lzma.lzma | Bin 2263 -> 0 bytes
8267 tests/files/good-single-subblock-lzma.lzma | Bin 50 -> 0 bytes
8268 tests/files/good-single-subblock_implicit.lzma | Bin 35 -> 0 bytes
8269 tests/files/good-single-subblock_rle.lzma | Bin 118 -> 0 bytes
8270 tests/files/good-single-x86-lzma.lzma | Bin 1909 -> 0 bytes
8271 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 51 -> 0 bytes
8272 tests/files/malicious-single-subblock-256MiB.lzma | Bin 30 -> 0 bytes
8273 tests/files/malicious-single-subblock-64PiB.lzma | Bin 45 -> 0 bytes
8274 tests/files/malicious-single-subblock31-slow.lzma | Bin 1233 -> 0 bytes
8275 tests/files/unsupported-block_header.lzma | Bin 0 -> 68 bytes
8276 tests/files/unsupported-check.lzma | Bin 0 -> 68 bytes
8277 tests/files/unsupported-filter_flags-1.lzma | Bin 0 -> 68 bytes
8278 tests/files/unsupported-filter_flags-2.lzma | Bin 0 -> 68 bytes
8279 tests/files/unsupported-filter_flags-3.lzma | Bin 0 -> 68 bytes
8280 tests/test_block_header.c | 28 +-
8281 tests/test_compress.sh | 4 +-
8282 tests/test_filter_flags.c | 51 +-
8283 tests/test_stream_flags.c | 4 +-
8285 294 files changed, 9768 insertions(+), 8195 deletions(-)
8287 commit 57b9a145a527f0716822615e5ed536d33aebd3fc
8288 Author: Lasse Collin <lasse.collin@tukaani.org>
8289 Date: 2008-06-20 17:16:32 +0300
8291 Fix test_filter_flags to match the new restriction of lc+lp.
8293 tests/test_filter_flags.c | 3 +++
8294 1 files changed, 3 insertions(+), 0 deletions(-)
8296 commit eaafc4367c77ec1d910e16d11b4da293969d97a3
8297 Author: Lasse Collin <lasse.collin@tukaani.org>
8298 Date: 2008-06-20 16:19:54 +0300
8300 Remove some redundant code from LZMA encoder.
8302 src/liblzma/lzma/lzma_encoder.c | 15 +--------------
8303 1 files changed, 1 insertions(+), 14 deletions(-)
8305 commit 0809c46534fa5664fe35d9e98d95e87312ed130e
8306 Author: Lasse Collin <lasse.collin@tukaani.org>
8307 Date: 2008-06-19 16:35:08 +0300
8309 Add limit of lc + lp <= 4. Now we can allocate the
8310 literal coder as part of the main LZMA encoder or
8313 Make the LZMA decoder to rely on the current internal API
8314 to free the allocated memory in case an error occurs.
8316 src/liblzma/api/lzma/lzma.h | 10 +++++-
8317 src/liblzma/lzma/lzma_decoder.c | 57 +++++++-----------------------
8318 src/liblzma/lzma/lzma_encoder_init.c | 13 +++----
8319 src/liblzma/lzma/lzma_encoder_private.h | 2 +-
8320 src/liblzma/lzma/lzma_literal.c | 39 ++++-----------------
8321 src/liblzma/lzma/lzma_literal.h | 13 +++----
8322 6 files changed, 43 insertions(+), 91 deletions(-)
8324 commit d25ab1b96178f06a0e724f58e3cd68300b2b1275
8325 Author: Lasse Collin <lasse.collin@tukaani.org>
8326 Date: 2008-06-18 21:45:19 +0300
8330 src/liblzma/lzma/lzma_encoder.c | 7 ++-----
8331 1 files changed, 2 insertions(+), 5 deletions(-)
8333 commit 6368a2fa5901c75864be5171dd57a50af7adbb41
8334 Author: Lasse Collin <lasse.collin@tukaani.org>
8335 Date: 2008-06-18 19:19:02 +0300
8337 Delete old code that was supposed to be already deleted
8338 from test_block_header.c.
8340 tests/test_block_header.c | 30 ------------------------------
8341 1 files changed, 0 insertions(+), 30 deletions(-)
8343 commit 7d17818cec8597f847b0a2537fde991bbc3d9e96
8344 Author: Lasse Collin <lasse.collin@tukaani.org>
8345 Date: 2008-06-18 18:02:10 +0300
8347 Update the code to mostly match the new simpler file format
8348 specification. Simplify things by removing most of the
8349 support for known uncompressed size in most places.
8350 There are some miscellaneous changes here and there too.
8352 The API of liblzma has got many changes and still some
8353 more will be done soon. While most of the code has been
8354 updated, some things are not fixed (the command line tool
8355 will choke with invalid filter chain, if nothing else).
8357 Subblock filter is somewhat broken for now. It will be
8358 updated once the encoded format of the Subblock filter
8361 configure.ac | 41 +-
8362 debug/full_flush.c | 16 +-
8363 debug/sync_flush.c | 15 +-
8364 src/common/bswap.h | 44 ++
8365 src/common/integer.h | 167 +++++
8366 src/liblzma/api/Makefile.am | 5 +-
8367 src/liblzma/api/lzma.h | 9 +-
8368 src/liblzma/api/lzma/alone.h | 32 +-
8369 src/liblzma/api/lzma/auto.h | 7 +-
8370 src/liblzma/api/lzma/base.h | 15 +
8371 src/liblzma/api/lzma/block.h | 304 +++-------
8372 src/liblzma/api/lzma/check.h | 18 +-
8373 src/liblzma/api/lzma/copy.h | 29 -
8374 src/liblzma/api/lzma/easy.h | 61 +--
8375 src/liblzma/api/lzma/extra.h | 114 ----
8376 src/liblzma/api/lzma/filter.h | 5 +-
8377 src/liblzma/api/lzma/index.h | 204 +++++-
8378 src/liblzma/api/lzma/index_hash.h | 94 +++
8379 src/liblzma/api/lzma/info.h | 315 ---------
8380 src/liblzma/api/lzma/lzma.h | 2 +-
8381 src/liblzma/api/lzma/metadata.h | 100 ---
8382 src/liblzma/api/lzma/raw.h | 20 +-
8383 src/liblzma/api/lzma/stream.h | 157 +----
8384 src/liblzma/api/lzma/stream_flags.h | 146 ++---
8385 src/liblzma/api/lzma/version.h | 2 +-
8386 src/liblzma/api/lzma/vli.h | 83 ++--
8387 src/liblzma/check/Makefile.am | 1 -
8388 src/liblzma/check/check.c | 55 ++-
8389 src/liblzma/check/check.h | 47 +-
8390 src/liblzma/check/check_byteswap.h | 43 --
8391 src/liblzma/check/crc32_init.c | 2 +-
8392 src/liblzma/check/crc64_init.c | 2 +-
8393 src/liblzma/check/crc_macros.h | 2 +-
8394 src/liblzma/check/sha256.c | 53 +-
8395 src/liblzma/common/Makefile.am | 31 +-
8396 src/liblzma/common/alignment.c | 5 +-
8397 src/liblzma/common/alone_decoder.c | 77 ++-
8398 src/liblzma/common/alone_encoder.c | 99 ++--
8399 src/liblzma/common/auto_decoder.c | 18 +-
8400 src/liblzma/common/block_decoder.c | 298 +++-------
8401 src/liblzma/common/block_encoder.c | 228 ++-----
8402 src/liblzma/common/block_header_decoder.c | 400 +++----------
8403 src/liblzma/common/block_header_encoder.c | 207 +++----
8404 src/liblzma/common/block_private.h | 51 +--
8405 src/liblzma/common/block_util.c | 73 +++
8406 src/liblzma/common/common.h | 44 +-
8407 src/liblzma/common/copy_coder.c | 144 -----
8408 src/liblzma/common/copy_coder.h | 31 -
8409 src/liblzma/common/delta_common.c | 4 -
8410 src/liblzma/common/delta_common.h | 4 -
8411 src/liblzma/common/delta_decoder.c | 55 +--
8412 src/liblzma/common/delta_encoder.c | 7 +-
8413 src/liblzma/common/easy.c | 122 ++++
8414 src/liblzma/common/easy_common.c | 54 --
8415 src/liblzma/common/easy_common.h | 28 -
8416 src/liblzma/common/easy_multi.c | 103 ---
8417 src/liblzma/common/easy_single.c | 37 --
8418 src/liblzma/common/extra.c | 34 -
8419 src/liblzma/common/features.c | 4 -
8420 src/liblzma/common/filter_flags_decoder.c | 384 +++--------
8421 src/liblzma/common/filter_flags_encoder.c | 120 +---
8422 src/liblzma/common/index.c | 773 ++++++++++++++++++++---
8423 src/liblzma/common/index.h | 67 ++
8424 src/liblzma/common/index_decoder.c | 252 ++++++++
8425 src/liblzma/common/index_encoder.c | 222 +++++++
8426 src/liblzma/common/index_encoder.h | 30 +
8427 src/liblzma/common/index_hash.c | 340 ++++++++++
8428 src/liblzma/common/info.c | 814 ------------------------
8429 src/liblzma/common/memory_usage.c | 1 -
8430 src/liblzma/common/metadata_decoder.c | 578 -----------------
8431 src/liblzma/common/metadata_decoder.h | 31 -
8432 src/liblzma/common/metadata_encoder.c | 435 -------------
8433 src/liblzma/common/metadata_encoder.h | 30 -
8434 src/liblzma/common/raw_common.c | 178 ++----
8435 src/liblzma/common/raw_common.h | 5 +-
8436 src/liblzma/common/raw_decoder.c | 19 +-
8437 src/liblzma/common/raw_decoder.h | 3 +-
8438 src/liblzma/common/raw_encoder.c | 101 +---
8439 src/liblzma/common/raw_encoder.h | 3 +-
8440 src/liblzma/common/stream_common.h | 3 +
8441 src/liblzma/common/stream_decoder.c | 458 ++++----------
8442 src/liblzma/common/stream_decoder.h | 28 +
8443 src/liblzma/common/stream_encoder.c | 282 ++++++++
8444 src/liblzma/common/stream_encoder.h | 30 +
8445 src/liblzma/common/stream_encoder_multi.c | 445 -------------
8446 src/liblzma/common/stream_encoder_multi.h | 26 -
8447 src/liblzma/common/stream_encoder_single.c | 219 -------
8448 src/liblzma/common/stream_flags_decoder.c | 260 ++-------
8449 src/liblzma/common/stream_flags_encoder.c | 56 +-
8450 src/liblzma/common/stream_flags_equal.c | 36 +
8451 src/liblzma/common/vli_decoder.c | 68 ++-
8452 src/liblzma/common/vli_encoder.c | 59 +-
8453 src/liblzma/common/vli_reverse_decoder.c | 55 --
8454 src/liblzma/lz/lz_decoder.c | 6 +-
8455 src/liblzma/lz/lz_decoder.h | 10 +-
8456 src/liblzma/lzma/lzma_decoder.c | 13 +-
8457 src/liblzma/lzma/lzma_decoder.h | 10 +-
8458 src/liblzma/simple/simple_coder.c | 29 +-
8459 src/liblzma/simple/simple_private.h | 4 -
8460 src/liblzma/subblock/subblock_decoder.c | 106 +---
8461 src/liblzma/subblock/subblock_decoder_helper.c | 5 +-
8462 src/liblzma/subblock/subblock_encoder.c | 8 +-
8463 src/lzma/args.c | 22 +-
8464 src/lzma/args.h | 2 -
8465 src/lzma/error.c | 6 +
8466 src/lzma/process.c | 26 +-
8467 src/lzmadec/lzmadec.c | 8 +-
8468 tests/Makefile.am | 5 +-
8469 tests/test_block_header.c | 411 +++++--------
8470 tests/test_compress.sh | 65 +--
8471 tests/test_filter_flags.c | 116 ++---
8472 tests/test_index.c | 504 ++++++++++++++-
8473 tests/test_info.c | 717 ---------------------
8474 tests/test_stream_flags.c | 134 ++--
8475 tests/tests.h | 14 +-
8476 115 files changed, 4845 insertions(+), 8155 deletions(-)
8478 commit bf6348d1a3ff09fdc06940468f318f75ffa6af11
8479 Author: Lasse Collin <lasse.collin@tukaani.org>
8480 Date: 2008-06-17 15:03:46 +0300
8482 Update the file format specification draft. The new one is
8483 a lot simpler than the previous versions, but it also means
8484 that the existing code will change a lot.
8486 doc/file-format.txt | 1794 +++++++++++++++------------------------------------
8487 1 files changed, 508 insertions(+), 1286 deletions(-)
8489 commit 803194ddd26f01ff60ba4e9924c6087a56b29827
8490 Author: Lasse Collin <lasse.collin@tukaani.org>
8491 Date: 2008-06-11 21:42:47 +0300
8493 Fix uninitialized variable in LZMA encoder. This was
8494 introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f.
8496 src/liblzma/lzma/lzma_encoder_init.c | 2 ++
8497 1 files changed, 2 insertions(+), 0 deletions(-)
8499 commit 0ea98e52ba87453497b1355c51f13bad55c8924a
8500 Author: Lasse Collin <lasse.collin@tukaani.org>
8501 Date: 2008-06-11 15:08:44 +0300
8503 Improve command line integer parsing a little in lzma and
8504 lzmadec to make them accept also KiB in addition Ki etc.
8505 Fix also memory usage information in lzmadec --help.
8507 src/lzma/util.c | 23 ++++++++++++++---------
8508 src/lzmadec/lzmadec.c | 31 ++++++++++++++++++-------------
8509 2 files changed, 32 insertions(+), 22 deletions(-)
8511 commit 436fa5fae96d4e35759aed33066060f09ee8c6ef
8512 Author: Lasse Collin <lasse.collin@tukaani.org>
8513 Date: 2008-06-10 20:36:12 +0300
8515 s/decompressed/compressed/ in the command line tool's
8518 src/lzma/main.c | 2 +-
8519 1 files changed, 1 insertions(+), 1 deletions(-)
8521 commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f
8522 Author: Lasse Collin <lasse.collin@tukaani.org>
8523 Date: 2008-06-01 12:48:17 +0300
8525 Fix a buffer overflow in the LZMA encoder. It was due to my
8526 misunderstanding of the code. There's no tiny fix for this
8527 problem, so I also cleaned up the code in general.
8529 This reduces the speed of the encoder 2-5 % in the fastest
8530 compression mode ("lzma -1"). High compression modes should
8531 have no noticeable performance difference.
8533 This commit breaks things (especially LZMA_SYNC_FLUSH) but I
8534 will fix them once the new format and LZMA2 has been roughly
8535 implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all
8536 and won't be supported in the new .lzma format. This may
8537 change still but this is what it looks like now.
8539 Support for known uncompressed size (that is, LZMA or LZMA2
8540 without EOPM) is likely to go away. This means there will
8543 src/liblzma/lz/lz_encoder.c | 113 +-----
8544 src/liblzma/lz/lz_encoder.h | 18 +-
8545 src/liblzma/lzma/lzma_encoder.c | 551 +++++++++++-------------
8546 src/liblzma/lzma/lzma_encoder_getoptimum.c | 59 ++-
8547 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 4 +-
8548 src/liblzma/lzma/lzma_encoder_init.c | 9 +-
8549 src/liblzma/lzma/lzma_encoder_private.h | 15 +-
8550 src/liblzma/rangecoder/range_encoder.h | 383 +++++++++--------
8551 8 files changed, 532 insertions(+), 620 deletions(-)
8553 commit e55e0e873ce2511325749d415ae547d62ab5f00d
8554 Author: Lasse Collin <lasse.collin@tukaani.org>
8555 Date: 2008-05-30 11:53:41 +0300
8557 Typo fixes from meyering.
8559 doc/faq.txt | 4 ++--
8560 doc/liblzma-advanced.txt | 2 +-
8561 2 files changed, 3 insertions(+), 3 deletions(-)
8563 commit ed6664146fcbe9cc4a3b23b31632182ed812ea93
8564 Author: Lasse Collin <lasse.collin@tukaani.org>
8565 Date: 2008-05-11 14:24:42 +0300
8567 Remove support for pre-C89 libc versions that lack memcpy,
8568 memmove, and memset.
8571 src/common/sysdefs.h | 15 ++-------------
8572 src/liblzma/common/allocator.c | 2 +-
8573 3 files changed, 4 insertions(+), 15 deletions(-)
8575 commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63
8576 Author: Lasse Collin <lasse.collin@tukaani.org>
8577 Date: 2008-05-11 14:17:21 +0300
8579 Improved C99 compiler detection in configure.ac. It will
8580 pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic
8581 should still give warnings about GNU extensions like before
8582 except with some special keywords like asm().
8584 configure.ac | 24 ++++++++++++------------
8585 1 files changed, 12 insertions(+), 12 deletions(-)
8587 commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf
8588 Author: Lasse Collin <lasse.collin@tukaani.org>
8589 Date: 2008-05-06 15:15:07 +0300
8591 Bunch of grammar fixes from meyering.
8593 doc/liblzma-security.txt | 8 ++++----
8594 src/liblzma/api/lzma/memlimit.h | 6 +++---
8595 src/lzma/help.c | 2 +-
8596 tests/files/README | 2 +-
8597 4 files changed, 9 insertions(+), 9 deletions(-)
8599 commit dc192b6343ae36276c85fcf7ef6006147816eadc
8600 Author: Lasse Collin <lasse.collin@tukaani.org>
8601 Date: 2008-05-06 13:41:05 +0300
8605 src/liblzma/api/lzma/init.h | 2 +-
8606 1 files changed, 1 insertions(+), 1 deletions(-)
8608 commit 944b62b93239b27b338d117f2668c0e95849659b
8609 Author: Lasse Collin <lasse.collin@tukaani.org>
8610 Date: 2008-05-04 22:29:27 +0300
8612 Don't print an error message on broken pipe unless --verbose
8615 src/lzma/io.c | 15 ++++++++++++++-
8616 1 files changed, 14 insertions(+), 1 deletions(-)
8618 commit 8e074349e47ea6832b8fdf9244e581d453733433
8619 Author: Lasse Collin <lasse.collin@tukaani.org>
8620 Date: 2008-04-30 22:16:17 +0300
8622 Fix a crash with --format=alone if other filters than LZMA
8623 are specified on the command line.
8625 src/lzma/args.c | 9 +++++++++
8626 1 files changed, 9 insertions(+), 0 deletions(-)
8628 commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73
8629 Author: Lasse Collin <lasse.collin@tukaani.org>
8630 Date: 2008-04-28 17:08:27 +0300
8635 1 files changed, 1 insertions(+), 0 deletions(-)
8637 commit 3be21fb12f4cec2cf07799e8960382f4cb375369
8638 Author: Lasse Collin <lasse.collin@tukaani.org>
8639 Date: 2008-04-28 17:06:34 +0300
8641 Fixed wrong spelling "limitter" to "limiter". This affects
8644 doc/liblzma-security.txt | 14 +-
8645 src/liblzma/api/lzma/base.h | 4 +-
8646 src/liblzma/api/lzma/memlimit.h | 10 +-
8647 src/liblzma/api/lzma/stream.h | 4 +-
8648 src/liblzma/common/Makefile.am | 2 +-
8649 src/liblzma/common/memory_limiter.c | 288 ++++++++++++++++++++++++++++++++++
8650 src/liblzma/common/memory_limitter.c | 288 ----------------------------------
8651 src/lzma/list.c | 6 +-
8652 src/lzmadec/lzmadec.c | 12 +-
8653 tests/test_memlimit.c | 4 +-
8654 10 files changed, 316 insertions(+), 316 deletions(-)
8656 commit beeb81060821dfec4e7898e0d44b7900dcb2215e
8657 Author: Lasse Collin <lasse.collin@tukaani.org>
8658 Date: 2008-04-25 15:39:50 +0300
8660 Prevent LZ encoder from hanging with known uncompressed
8661 size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream
8662 with known uncompressed size, but since it currently seems
8663 likely that support for encoding with known uncompressed
8664 size will go away anyway, I'm not fixing this problem now.
8666 src/liblzma/lz/lz_encoder.c | 9 +++++++--
8667 1 files changed, 7 insertions(+), 2 deletions(-)
8669 commit c324325f9f13cdeb92153c5d00962341ba070ca2
8670 Author: Lasse Collin <lasse.collin@tukaani.org>
8671 Date: 2008-04-25 13:58:56 +0300
8673 Removed src/liblzma/common/sysdefs.h symlink, which was
8674 annoying, because "make dist" put two copies of sysdefs.h
8675 into the tarball instead of the symlink.
8677 src/liblzma/check/crc32_table.c | 2 +-
8678 src/liblzma/check/crc64_table.c | 2 +-
8679 src/liblzma/common/Makefile.am | 1 -
8680 src/liblzma/common/common.h | 2 +-
8681 src/liblzma/common/sysdefs.h | 1 -
8682 5 files changed, 3 insertions(+), 5 deletions(-)
8684 commit d3ba30243c75c13d094de1793f9c58acdbacc692
8685 Author: Lasse Collin <lasse.collin@tukaani.org>
8686 Date: 2008-04-25 13:41:29 +0300
8688 Added memusage.c to debug directory.
8690 debug/Makefile.am | 3 +-
8691 debug/memusage.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++
8692 2 files changed, 57 insertions(+), 1 deletions(-)
8694 commit 8f804c29aa8471ccd6438ddca254092b8869ca52
8695 Author: Lasse Collin <lasse.collin@tukaani.org>
8696 Date: 2008-04-25 13:32:35 +0300
8698 Bumped version number to 4.999.3alpha. It will become 5.0.0
8699 once we have a stable release (won't be very soon). The
8700 version number is no longer related to version of LZMA SDK.
8702 Made some small Automake-related changes to toplevel
8703 Makefile.am and configure.ac.
8705 Makefile.am | 7 +++++--
8706 README | 29 +++++++++++++++++++++++++++++
8707 configure.ac | 4 ++--
8708 src/liblzma/api/lzma/version.h | 22 ++++++++++------------
8709 4 files changed, 46 insertions(+), 16 deletions(-)
8711 commit c99037ea10f121cbacf60c37a36c29768ae53447
8712 Author: Lasse Collin <lasse.collin@tukaani.org>
8713 Date: 2008-04-24 20:25:39 +0300
8715 Fix a memory leak by calling free(extra->data) in
8718 src/liblzma/common/extra.c | 1 +
8719 1 files changed, 1 insertions(+), 0 deletions(-)
8721 commit 22ba3b0b5043fa481903482ce85015fe775939e5
8722 Author: Lasse Collin <lasse.collin@tukaani.org>
8723 Date: 2008-04-24 20:23:05 +0300
8725 Make unlzma and lzcat symlinks.
8727 src/lzma/Makefile.am | 12 ++++++++++++
8728 1 files changed, 12 insertions(+), 0 deletions(-)
8730 commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e
8731 Author: Lasse Collin <lasse.collin@tukaani.org>
8732 Date: 2008-04-24 20:20:27 +0300
8734 Fixed a bug in command line option parsing.
8736 src/lzma/options.c | 2 +-
8737 1 files changed, 1 insertions(+), 1 deletions(-)
8739 commit 283f939974c32c47f05d495e8dea455ec646ed64
8740 Author: Lasse Collin <lasse.collin@tukaani.org>
8741 Date: 2008-04-24 20:19:20 +0300
8743 Added two assert()s.
8745 src/liblzma/lzma/lzma_encoder.c | 4 +++-
8746 1 files changed, 3 insertions(+), 1 deletions(-)
8748 commit eb348a60b6e19a7c093f892434f23c4756973ffd
8749 Author: Lasse Collin <lasse.collin@tukaani.org>
8750 Date: 2008-04-24 19:22:53 +0300
8752 Switch to uint16_t as the type of range coder probabilities.
8754 src/liblzma/rangecoder/range_common.h | 25 +++++++++++++++++++------
8755 1 files changed, 19 insertions(+), 6 deletions(-)
8757 commit 6c5306e312bcfd254cf654f88c04e34ba786df3d
8758 Author: Lasse Collin <lasse.collin@tukaani.org>
8759 Date: 2008-04-24 18:39:57 +0300
8761 Fix wrong return type (uint32_t -> bool).
8763 src/liblzma/lz/lz_encoder.c | 2 +-
8764 src/liblzma/lz/lz_encoder.h | 2 +-
8765 2 files changed, 2 insertions(+), 2 deletions(-)
8767 commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8
8768 Author: Lasse Collin <lasse.collin@tukaani.org>
8769 Date: 2008-04-24 18:38:00 +0300
8771 Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH.
8773 src/liblzma/lz/lz_encoder.c | 16 ++++++++++++++++
8774 src/liblzma/lz/lz_encoder.h | 4 ++++
8775 src/liblzma/lz/match_c.h | 23 ++++++++++++++++++-----
8776 3 files changed, 38 insertions(+), 5 deletions(-)
8778 commit bc04486e368d20b3027cde625267762aae063965
8779 Author: Lasse Collin <lasse.collin@tukaani.org>
8780 Date: 2008-04-24 17:33:01 +0300
8782 Fix fastpos problem in Makefile.am when built with --enable-small.
8784 src/liblzma/lzma/Makefile.am | 5 ++++-
8785 1 files changed, 4 insertions(+), 1 deletions(-)
8787 commit 7ab493924e0ed590a5121a15ee54038d238880d3
8788 Author: Lasse Collin <lasse.collin@tukaani.org>
8789 Date: 2008-04-24 17:30:51 +0300
8791 Use 64-bit integer as range encoder's cache size. This fixes a
8792 theoretical data corruption, which should be very hard to trigger
8795 src/liblzma/rangecoder/range_encoder.h | 2 +-
8796 1 files changed, 1 insertions(+), 1 deletions(-)
8798 commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b
8799 Author: Lasse Collin <lasse.collin@tukaani.org>
8800 Date: 2008-03-24 16:38:40 +0200
8802 Replaced the range decoder optimization that used arithmetic
8803 right shift with as fast version that doesn't need
8804 arithmetic right shift. Removed the related check from
8808 m4/ax_c_arithmetic_rshift.m4 | 36 ---------------------
8809 src/liblzma/rangecoder/range_decoder.h | 53 +++++++++----------------------
8810 3 files changed, 16 insertions(+), 74 deletions(-)
8812 commit ad999efd279d95f1e7ac555b14170e8e9020488c
8813 Author: Lasse Collin <lasse.collin@tukaani.org>
8814 Date: 2008-03-22 14:39:34 +0200
8816 Take advantage of arithmetic right shift in range decoder.
8818 src/liblzma/rangecoder/range_decoder.h | 52 ++++++++++++++++++++++---------
8819 1 files changed, 37 insertions(+), 15 deletions(-)
8821 commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d
8822 Author: Lasse Collin <lasse.collin@tukaani.org>
8823 Date: 2008-03-22 14:18:29 +0200
8825 Added autoconf check to detect if we can use arithmetic
8826 right shift for optimizations.
8829 m4/ax_c_arithmetic_rshift.m4 | 36 ++++++++++++++++++++++++++++++++++++
8830 2 files changed, 37 insertions(+), 0 deletions(-)
8832 commit 7521bbdc83acab834594a22bec50c8e1bd836298
8833 Author: Lasse Collin <lasse.collin@tukaani.org>
8834 Date: 2008-03-22 01:26:36 +0200
8836 Update a comment to use the variable name rep_len_decoder.
8838 (And BTW, the previous commit actually did change the
8839 program logic slightly.)
8841 src/liblzma/lzma/lzma_decoder.c | 2 +-
8842 1 files changed, 1 insertions(+), 1 deletions(-)
8844 commit 63b74d000eedaebb8485f623e56864ff5ab71064
8845 Author: Lasse Collin <lasse.collin@tukaani.org>
8846 Date: 2008-03-22 00:57:33 +0200
8848 Demystified the "state" variable in LZMA code. Use the
8849 word literal instead of char for better consistency.
8850 There are still some names with _char instead of _literal
8851 in lzma_optimum, these may be changed later.
8853 Renamed length coder variables.
8855 This commit doesn't change the program logic.
8857 src/liblzma/lzma/lzma_common.h | 69 +++++++++++++++++++++-------
8858 src/liblzma/lzma/lzma_decoder.c | 47 ++++++++++---------
8859 src/liblzma/lzma/lzma_encoder.c | 14 +++---
8860 src/liblzma/lzma/lzma_encoder_getoptimum.c | 34 +++++++-------
8861 src/liblzma/lzma/lzma_encoder_init.c | 5 +-
8862 src/liblzma/lzma/lzma_encoder_private.h | 8 ++--
8863 6 files changed, 107 insertions(+), 70 deletions(-)
8865 commit e6eb0a26757e851cef62b9440319a8e73b015cb9
8866 Author: Lasse Collin <lasse.collin@tukaani.org>
8867 Date: 2008-03-14 23:16:11 +0200
8869 Fix data corruption in LZMA encoder. Note that this bug was
8870 specific to liblzma and was *not* present in LZMA SDK.
8872 src/liblzma/lzma/lzma_encoder.c | 4 ++++
8873 1 files changed, 4 insertions(+), 0 deletions(-)
8875 commit 7d516f5129e4373a6d57249d7f608c634c66bf12
8876 Author: Lasse Collin <lasse.collin@tukaani.org>
8877 Date: 2008-03-14 21:32:37 +0200
8879 Fix a comment API header.
8881 src/liblzma/api/lzma/lzma.h | 2 +-
8882 1 files changed, 1 insertions(+), 1 deletions(-)
8884 commit 748d6e4274921a350bd0a317380309717441ef9c
8885 Author: Lasse Collin <lasse.collin@tukaani.org>
8886 Date: 2008-03-12 23:14:50 +0200
8888 Make lzma_stream.next_in const. Let's see if anyone complains.
8890 src/liblzma/api/lzma/base.h | 2 +-
8891 1 files changed, 1 insertions(+), 1 deletions(-)
8893 commit bfde3b24a5ae25ce53c854762b6148952386b025
8894 Author: Lasse Collin <lasse.collin@tukaani.org>
8895 Date: 2008-03-11 15:35:34 +0200
8897 Apply a minor speed optimization to LZMA decoder.
8899 src/liblzma/lzma/lzma_decoder.c | 85 ++++++++++++++++++++-------------------
8900 1 files changed, 43 insertions(+), 42 deletions(-)
8902 commit f310c50286d9e4e9c6170bb65348c9bb430a65b4
8903 Author: Lasse Collin <lasse.collin@tukaani.org>
8904 Date: 2008-03-11 15:17:16 +0200
8906 Initialize the last byte of the dictionary to zero so that
8907 lz_get_byte(lz, 0) returns zero. This was broken by
8908 1a3b21859818e4d8e89a1da99699233c1bfd197d.
8910 src/liblzma/lz/lz_decoder.c | 1 +
8911 1 files changed, 1 insertions(+), 0 deletions(-)
8913 commit 5ead36cf7f823093672a4e43c3180b38c9abbaff
8914 Author: Lasse Collin <lasse.collin@tukaani.org>
8915 Date: 2008-03-10 15:57:55 +0200
8917 Really fix the price count initialization.
8919 src/liblzma/lzma/lzma_encoder_init.c | 4 ++--
8920 1 files changed, 2 insertions(+), 2 deletions(-)
8922 commit d4d7feb83d1a1ded8f662a82e21e053841ca726c
8923 Author: Lasse Collin <lasse.collin@tukaani.org>
8924 Date: 2008-03-10 13:47:17 +0200
8929 1 files changed, 1 insertions(+), 0 deletions(-)
8931 commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258
8932 Author: Lasse Collin <lasse.collin@tukaani.org>
8933 Date: 2008-03-10 13:46:48 +0200
8935 Initialize align_price_count and match_price_count in
8936 lzma_encoder_init.c. While we don't call
8937 fill_distances_prices() and fill_align_prices() in
8938 lzma_lzma_encoder_init(), we still need to initialize
8939 these two variables so that the fill functions get
8940 called in lzma_encoder_getoptimum.c in the beginning
8943 src/liblzma/lzma/lzma_encoder_init.c | 2 ++
8944 1 files changed, 2 insertions(+), 0 deletions(-)
8946 commit 596fa1fac72823e4ef5bc26bb53f9090445bf748
8947 Author: Lasse Collin <lasse.collin@tukaani.org>
8948 Date: 2008-03-10 13:44:29 +0200
8950 Always initialize lz->temp_size in lz_decoder.c. temp_size did
8951 get initialized as a side-effect after allocating a new decoder,
8952 but not when the decoder was reused.
8954 src/liblzma/lz/lz_decoder.c | 11 ++++++-----
8955 1 files changed, 6 insertions(+), 5 deletions(-)
8957 commit 45e43e169527e7a98a8c8a821d37bf25822b764d
8958 Author: Lasse Collin <lasse.collin@tukaani.org>
8959 Date: 2008-03-10 13:41:25 +0200
8961 Don't fill allocated memory with 0xFD when debugging is
8962 enabled. It hides errors from Valgrind.
8964 src/liblzma/common/allocator.c | 7 ++++---
8965 1 files changed, 4 insertions(+), 3 deletions(-)
8967 commit c0e19e0662205f81a86da8903cdc325d50635870
8968 Author: Lasse Collin <lasse.collin@tukaani.org>
8969 Date: 2008-02-28 10:24:31 +0200
8971 Remove two redundant validity checks from the LZMA decoder.
8972 These are already checked elsewhere, so omitting these
8973 gives (very) tiny speed up.
8975 src/liblzma/lzma/lzma_decoder.c | 23 ++++-------------------
8976 1 files changed, 4 insertions(+), 19 deletions(-)
8978 commit de7485806284d1614095ae8cb2ebbb5d74c9ac45
8979 Author: Lasse Collin <lasse.collin@tukaani.org>
8980 Date: 2008-02-06 13:25:32 +0200
8982 Tiny clean up to file-format.txt.
8984 doc/file-format.txt | 6 +++---
8985 1 files changed, 3 insertions(+), 3 deletions(-)
8987 commit 1a3b21859818e4d8e89a1da99699233c1bfd197d
8988 Author: Lasse Collin <lasse.collin@tukaani.org>
8989 Date: 2008-02-02 14:51:06 +0200
8991 Don't memzero() the history buffer when initializing LZ
8992 decoder. There's no danger of information leak here, so
8993 it isn't required. Doing memzero() takes a lot of time
8994 with large dictionaries, which could make it easier to
8995 construct DoS attack to consume too much CPU time.
8997 src/liblzma/lz/lz_decoder.c | 7 +++----
8998 1 files changed, 3 insertions(+), 4 deletions(-)
9000 commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0
9001 Author: Lasse Collin <lasse.collin@tukaani.org>
9002 Date: 2008-02-01 08:39:26 +0200
9004 Do uncompressed size validation in raw encoder. This way
9005 it gets done for not only raw encoder, but also Block
9006 and LZMA_Alone encoders.
9008 src/liblzma/common/raw_encoder.c | 90 ++++++++++++++++++++++++++++++-------
9009 1 files changed, 73 insertions(+), 17 deletions(-)
9011 commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc
9012 Author: Lasse Collin <lasse.collin@tukaani.org>
9013 Date: 2008-02-01 08:32:05 +0200
9015 Avoid unneeded function call in raw_common.c.
9017 src/liblzma/common/raw_common.c | 20 +++++++++++---------
9018 1 files changed, 11 insertions(+), 9 deletions(-)
9020 commit b596fac963c3ff96f615d4d9b427a213ec341211
9021 Author: Lasse Collin <lasse.collin@tukaani.org>
9022 Date: 2008-01-26 21:42:38 +0200
9027 1 files changed, 1 insertions(+), 0 deletions(-)
9029 commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2
9030 Author: Lasse Collin <lasse.collin@tukaani.org>
9031 Date: 2008-01-26 21:40:23 +0200
9033 Added note.GNU-stack to x86 assembler files. It is needed
9034 when using non-executable stack.
9036 src/liblzma/check/crc32_x86.S | 9 +++++++++
9037 src/liblzma/check/crc64_x86.S | 9 +++++++++
9038 2 files changed, 18 insertions(+), 0 deletions(-)
9040 commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae
9041 Author: Lasse Collin <lasse.collin@tukaani.org>
9042 Date: 2008-01-26 19:12:50 +0200
9044 Added api/lzma/easy.h. I had forgot to add this to the
9045 git repo. Thanks to Stephan Kulow.
9047 src/liblzma/api/lzma/easy.h | 174 +++++++++++++++++++++++++++++++++++++++++++
9048 1 files changed, 174 insertions(+), 0 deletions(-)
9050 commit 288b232f54c3692cd36f471d4042f51daf3ea79f
9051 Author: Lasse Collin <lasse.collin@tukaani.org>
9052 Date: 2008-01-26 11:09:17 +0200
9054 Added more test files.
9056 tests/files/README | 11 +++++++++++
9057 tests/files/bad-multi-none-header_7.lzma | Bin 0 -> 59 bytes
9058 tests/files/good-single-sparc-lzma.lzma | Bin 0 -> 2263 bytes
9059 tests/files/good-single-x86-lzma.lzma | Bin 0 -> 1909 bytes
9060 4 files changed, 11 insertions(+), 0 deletions(-)
9062 commit c467b0defccf233d0c79234407bc38d7d09574d3
9063 Author: Lasse Collin <lasse.collin@tukaani.org>
9064 Date: 2008-01-26 10:47:55 +0200
9066 Added more test files.
9068 tests/files/README | 6 ++++++
9069 tests/files/bad-multi-none-block_3.lzma | Bin 0 -> 58 bytes
9070 tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes
9071 3 files changed, 6 insertions(+), 0 deletions(-)
9073 commit f9842f712732c482f2def9f24437851e57dd83f8
9074 Author: Lasse Collin <lasse.collin@tukaani.org>
9075 Date: 2008-01-26 00:25:34 +0200
9077 Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any
9078 of the so called simple filters. If there is demand, limited
9079 support for LZMA_SYNC_FLUSH may be added in future.
9081 After this commit, using LZMA_SYNC_FLUSH shouldn't cause
9082 undefined behavior in any situation.
9084 src/liblzma/api/lzma/simple.h | 9 +++++++++
9085 src/liblzma/simple/simple_coder.c | 8 ++++++++
9086 2 files changed, 17 insertions(+), 0 deletions(-)
9088 commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa
9089 Author: Lasse Collin <lasse.collin@tukaani.org>
9090 Date: 2008-01-25 23:50:35 +0200
9092 Added more Multi-Block test files. Improved some
9093 descriptions in the test files' README.
9095 tests/files/README | 34 ++++++++++++++++++++++++-----
9096 tests/files/bad-multi-none-block_1.lzma | Bin 0 -> 66 bytes
9097 tests/files/bad-multi-none-block_2.lzma | Bin 0 -> 66 bytes
9098 tests/files/good-multi-none-block_1.lzma | Bin 0 -> 66 bytes
9099 4 files changed, 28 insertions(+), 6 deletions(-)
9101 commit 4441e004185cd4c61bda184010eca5924c9dec87
9102 Author: Lasse Collin <lasse.collin@tukaani.org>
9103 Date: 2008-01-25 23:12:36 +0200
9105 Combine lzma_options_block validation needed by both Block
9106 encoder and decoder, and put the shared things to
9107 block_private.h. Improved the checks a little so that
9108 they may detect too big Compressed Size at initialization
9109 time if lzma_options_block.total_size or .total_limit is
9112 Allow encoding and decoding Blocks with combinations of
9113 fields that are not allowed by the file format specification.
9114 Doing this requires that the application passes such a
9115 combination in lzma_options_lzma; liblzma doesn't do that,
9116 but it's not impossible that someone could find them useful
9117 in some custom file format.
9119 src/liblzma/common/block_decoder.c | 37 +++++++++++----------------
9120 src/liblzma/common/block_encoder.c | 32 ++++------------------
9121 src/liblzma/common/block_private.h | 50 ++++++++++++++++++++++++++++++++++++
9122 3 files changed, 71 insertions(+), 48 deletions(-)
9124 commit bf4200c818fcf9102e56328d39cde91bfa13cfb6
9125 Author: Lasse Collin <lasse.collin@tukaani.org>
9126 Date: 2008-01-25 19:21:22 +0200
9128 Added test_memlimit.c.
9130 tests/Makefile.am | 2 +
9131 tests/test_memlimit.c | 114 +++++++++++++++++++++++++++++++++++++++++++++++++
9132 2 files changed, 116 insertions(+), 0 deletions(-)
9134 commit 7b8fc7e6b501a32a36636dac79ecb57099269005
9135 Author: Lasse Collin <lasse.collin@tukaani.org>
9136 Date: 2008-01-25 19:20:28 +0200
9138 Improved the memory limitter:
9139 - Added lzma_memlimit_max() and lzma_memlimit_reached()
9141 - Added simple estimation of malloc()'s memory usage
9143 - Fixed integer overflow detection in lzma_memlimit_alloc().
9144 - Made some white space cleanups and added more comments.
9146 The description of lzma_memlimit_max() in memlimit.h is bad
9147 and should be improved.
9149 src/liblzma/api/lzma/memlimit.h | 35 ++++++++++++
9150 src/liblzma/common/memory_limitter.c | 97 +++++++++++++++++++++++++++++-----
9151 2 files changed, 118 insertions(+), 14 deletions(-)
9153 commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db
9154 Author: Lasse Collin <lasse.collin@tukaani.org>
9155 Date: 2008-01-25 13:55:52 +0200
9157 Use more parenthesis in succeed() macro in tests/tests.h.
9159 tests/tests.h | 2 +-
9160 1 files changed, 1 insertions(+), 1 deletions(-)
9162 commit 1fd76d488179580d37f31ee11948f4932aed31fd
9163 Author: Lasse Collin <lasse.collin@tukaani.org>
9164 Date: 2008-01-24 14:49:34 +0200
9166 Added more Multi-Block Stream test files.
9168 tests/files/README | 23 +++++++++++++++++++++++
9169 tests/files/bad-multi-none-header_2.lzma | Bin 0 -> 61 bytes
9170 tests/files/bad-multi-none-header_3.lzma | Bin 0 -> 59 bytes
9171 tests/files/bad-multi-none-header_4.lzma | Bin 0 -> 59 bytes
9172 tests/files/bad-multi-none-header_5.lzma | Bin 0 -> 58 bytes
9173 tests/files/bad-multi-none-header_6.lzma | Bin 0 -> 59 bytes
9174 tests/files/good-multi-none-header_3.lzma | Bin 0 -> 59 bytes
9175 7 files changed, 23 insertions(+), 0 deletions(-)
9177 commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936
9178 Author: Lasse Collin <lasse.collin@tukaani.org>
9179 Date: 2008-01-24 00:46:05 +0200
9181 Added bunch of test files containing Multi-Block Streams.
9183 tests/files/README | 53 +++++++++++++++++++++++++++++
9184 tests/files/bad-multi-none-1.lzma | Bin 0 -> 54 bytes
9185 tests/files/bad-multi-none-2.lzma | Bin 0 -> 53 bytes
9186 tests/files/bad-multi-none-3.lzma | Bin 0 -> 53 bytes
9187 tests/files/bad-multi-none-extra_1.lzma | Bin 0 -> 54 bytes
9188 tests/files/bad-multi-none-extra_2.lzma | Bin 0 -> 54 bytes
9189 tests/files/bad-multi-none-extra_3.lzma | Bin 0 -> 55 bytes
9190 tests/files/bad-multi-none-header_1.lzma | Bin 0 -> 57 bytes
9191 tests/files/bad-multi-none-index_1.lzma | Bin 0 -> 51 bytes
9192 tests/files/bad-multi-none-index_2.lzma | Bin 0 -> 49 bytes
9193 tests/files/bad-multi-none-index_3.lzma | Bin 0 -> 51 bytes
9194 tests/files/bad-multi-none-index_4.lzma | Bin 0 -> 51 bytes
9195 tests/files/good-multi-none-1.lzma | Bin 0 -> 75 bytes
9196 tests/files/good-multi-none-2.lzma | Bin 0 -> 53 bytes
9197 tests/files/good-multi-none-extra_1.lzma | Bin 0 -> 51 bytes
9198 tests/files/good-multi-none-extra_2.lzma | Bin 0 -> 79 bytes
9199 tests/files/good-multi-none-extra_3.lzma | Bin 0 -> 55 bytes
9200 tests/files/good-multi-none-header_1.lzma | Bin 0 -> 58 bytes
9201 tests/files/good-multi-none-header_2.lzma | Bin 0 -> 66 bytes
9202 19 files changed, 53 insertions(+), 0 deletions(-)
9204 commit db9df0a9609c01a00a227329fb96e983971040f5
9205 Author: Lasse Collin <lasse.collin@tukaani.org>
9206 Date: 2008-01-23 23:43:00 +0200
9208 Fix decoding of empty Metadata Blocks, that don't have
9209 even the Metadata Flags field. Earlier the code allowed
9210 such files; now they are prohibited as the file format
9211 specification requires.
9213 src/liblzma/common/metadata_decoder.c | 4 +++-
9214 1 files changed, 3 insertions(+), 1 deletions(-)
9216 commit 765f0b05f6e95ed9194fb90819cee189ebbac36b
9217 Author: Lasse Collin <lasse.collin@tukaani.org>
9218 Date: 2008-01-23 23:38:18 +0200
9220 Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6.
9221 lzma_metadata.header_metadata_size was not properly set to
9222 zero if the Metadata had only the Metadata Flags field.
9224 src/liblzma/common/metadata_decoder.c | 13 +++++++------
9225 1 files changed, 7 insertions(+), 6 deletions(-)
9227 commit 3a7cc5c3dec7b078941f961b0393b86c418883b6
9228 Author: Lasse Collin <lasse.collin@tukaani.org>
9229 Date: 2008-01-23 23:35:49 +0200
9231 Fix decoding of Extra Records that have empty Data.
9233 src/liblzma/common/metadata_decoder.c | 13 ++++++++++++-
9234 1 files changed, 12 insertions(+), 1 deletions(-)
9236 commit e5fdec93e273855c1bcc2579b83cfb481a9a1492
9237 Author: Lasse Collin <lasse.collin@tukaani.org>
9238 Date: 2008-01-23 22:02:38 +0200
9240 Add the trailing '\0' to lzma_extra.data as the API header
9243 src/liblzma/common/metadata_decoder.c | 4 +++-
9244 1 files changed, 3 insertions(+), 1 deletions(-)
9246 commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e
9247 Author: Lasse Collin <lasse.collin@tukaani.org>
9248 Date: 2008-01-23 21:21:21 +0200
9250 Added debug/full_flush.c.
9252 debug/Makefile.am | 3 +-
9253 debug/full_flush.c | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++
9254 2 files changed, 107 insertions(+), 1 deletions(-)
9256 commit ae0cd09a666a1682da8fc09487322227679e218d
9257 Author: Lasse Collin <lasse.collin@tukaani.org>
9258 Date: 2008-01-23 21:05:33 +0200
9260 Return LZMA_STREAM_END instead of LZMA_OK if
9261 LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when
9262 there's no unfinished Block open.
9264 src/liblzma/common/stream_encoder_multi.c | 6 +++++-
9265 1 files changed, 5 insertions(+), 1 deletions(-)
9267 commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db
9268 Author: Lasse Collin <lasse.collin@tukaani.org>
9269 Date: 2008-01-23 20:05:01 +0200
9271 Added bad-single-none-footer_filter_flags.lzma and
9272 bad-single-none-too_long_vli.lzma.
9274 tests/files/README | 5 +++++
9275 .../files/bad-single-none-footer_filter_flags.lzma | Bin 0 -> 30 bytes
9276 tests/files/bad-single-none-too_long_vli.lzma | Bin 0 -> 39 bytes
9277 3 files changed, 5 insertions(+), 0 deletions(-)
9279 commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd
9280 Author: Lasse Collin <lasse.collin@tukaani.org>
9281 Date: 2008-01-23 13:42:35 +0200
9285 src/liblzma/subblock/subblock_decoder_helper.c | 2 +-
9286 1 files changed, 1 insertions(+), 1 deletions(-)
9288 commit 980f65a9a10160c4d105767871e3002b9aaba3e0
9289 Author: Lasse Collin <lasse.collin@tukaani.org>
9290 Date: 2008-01-23 13:40:45 +0200
9292 Fix a memory leak in the Subblock encoder.
9294 src/liblzma/subblock/subblock_encoder.c | 1 +
9295 1 files changed, 1 insertions(+), 0 deletions(-)
9297 commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6
9298 Author: Lasse Collin <lasse.collin@tukaani.org>
9299 Date: 2008-01-23 13:36:07 +0200
9301 Fix Size of Header Metadata Block handling. Now
9302 lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN
9303 is not allowed at all. To indicate missing Header Metadata
9304 Block, header_metadata_size must be set to zero. This is
9305 what Metadata decoder does after this patch too.
9307 Note that other missing fields in lzma_metadata are still
9308 indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as
9309 illogical as it sounds at first, because missing Size of
9310 Header Metadata Block means that Header Metadata Block is
9311 not present in the Stream. With other Metadata fields,
9312 a missing field means only that the value is unknown.
9314 src/liblzma/common/info.c | 13 ++++---------
9315 src/liblzma/common/metadata_decoder.c | 6 ++++++
9316 src/liblzma/common/metadata_encoder.c | 11 +++++------
9317 tests/test_info.c | 4 ++--
9318 4 files changed, 17 insertions(+), 17 deletions(-)
9320 commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81
9321 Author: Lasse Collin <lasse.collin@tukaani.org>
9322 Date: 2008-01-23 13:15:55 +0200
9324 Fix a memory leak in metadata_decoder.c.
9326 src/liblzma/common/metadata_decoder.c | 1 +
9327 1 files changed, 1 insertions(+), 0 deletions(-)
9329 commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae
9330 Author: Lasse Collin <lasse.collin@tukaani.org>
9331 Date: 2008-01-23 13:13:58 +0200
9333 Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which
9334 just moved to problem. Now it's really fixed.
9336 src/liblzma/common/info.c | 5 ++++-
9337 1 files changed, 4 insertions(+), 1 deletions(-)
9339 commit 67321de963ccf69410b3868b8e31534fe18a90de
9340 Author: Lasse Collin <lasse.collin@tukaani.org>
9341 Date: 2008-01-23 00:21:04 +0200
9343 Take advantage of return_if_error() macro in
9344 lzma_info_metadata_set() in info.c.
9346 src/liblzma/common/info.c | 24 ++++++++----------------
9347 1 files changed, 8 insertions(+), 16 deletions(-)
9349 commit 863028cb7ad6d8d0455fa69348f56b376d7b908f
9350 Author: Lasse Collin <lasse.collin@tukaani.org>
9351 Date: 2008-01-23 00:18:32 +0200
9353 Fixed a dangling pointer that caused invalid free().
9355 src/liblzma/common/info.c | 1 +
9356 1 files changed, 1 insertions(+), 0 deletions(-)
9358 commit cf49f42a6bd40143f54a6b10d6e605599e958c0b
9359 Author: Lasse Collin <lasse.collin@tukaani.org>
9360 Date: 2008-01-22 22:49:24 +0200
9362 Added lzma_easy_* functions. These should make using
9363 liblzma as easy as using zlib, because the easy API
9364 don't require developers to know any fancy LZMA options.
9366 Note that Multi-Block Stream encoding is currently broken.
9367 The easy API should be OK, the bug(s) are elsewhere.
9369 src/liblzma/api/Makefile.am | 1 +
9370 src/liblzma/api/lzma.h | 1 +
9371 src/liblzma/common/Makefile.am | 5 ++
9372 src/liblzma/common/easy_common.c | 54 +++++++++++++++
9373 src/liblzma/common/easy_common.h | 28 ++++++++
9374 src/liblzma/common/easy_multi.c | 103 +++++++++++++++++++++++++++++
9375 src/liblzma/common/easy_single.c | 37 ++++++++++
9376 src/liblzma/common/stream_encoder_multi.c | 3 +-
9377 src/liblzma/common/stream_encoder_multi.h | 26 +++++++
9378 9 files changed, 256 insertions(+), 2 deletions(-)
9380 commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a
9381 Author: Lasse Collin <lasse.collin@tukaani.org>
9382 Date: 2008-01-22 21:16:22 +0200
9384 Fix Multi-Block Stream encoder's EOPM usage.
9386 src/liblzma/common/stream_encoder_multi.c | 2 +-
9387 1 files changed, 1 insertions(+), 1 deletions(-)
9389 commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6
9390 Author: Lasse Collin <lasse.collin@tukaani.org>
9391 Date: 2008-01-22 00:15:11 +0200
9393 Made lzma_extra pointers const in lzma_options_stream.
9395 src/liblzma/api/lzma/stream.h | 4 ++--
9396 src/liblzma/common/stream_encoder_multi.c | 8 ++++++--
9397 2 files changed, 8 insertions(+), 4 deletions(-)
9399 commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4
9400 Author: Lasse Collin <lasse.collin@tukaani.org>
9401 Date: 2008-01-20 20:15:21 +0200
9403 Updated debug/sync_flush.c.
9405 debug/sync_flush.c | 26 ++++++++++++++++++++++++--
9406 1 files changed, 24 insertions(+), 2 deletions(-)
9408 commit d53e9b77054cfade6a643e77d085273a348b189c
9409 Author: Lasse Collin <lasse.collin@tukaani.org>
9410 Date: 2008-01-20 20:14:26 +0200
9412 Added debug/repeat.c.
9414 debug/Makefile.am | 1 +
9415 debug/repeat.c | 43 +++++++++++++++++++++++++++++++++++++++++++
9416 2 files changed, 44 insertions(+), 0 deletions(-)
9418 commit 107259e306bcfc2336a0fb870fb58034c28faa52
9419 Author: Lasse Collin <lasse.collin@tukaani.org>
9420 Date: 2008-01-20 20:12:58 +0200
9422 Fix alignment handling bugs in Subblock encoder.
9424 This leaves one known alignment bug unfixed: If repeat count
9425 doesn't fit into 28-bit integer, the encoder has to split
9426 this to multiple Subblocks with Subblock Type `Repeating Data'.
9427 The extra Subblocks may have wrong alignment. Correct alignment
9428 is restored after the split Repeating Data has been completely
9431 Since the encoder doesn't even try to fix the alignment unless
9432 the size of Data is at least 4 bytes, to trigger this bug you
9433 need at least 4 GiB of repeating data with sequence length of
9434 4 or more bytes. Since the worst thing done by this bug is
9435 misaligned data (no data corruption), this bug simply isn't
9436 worth fixing, because a proper fix isn't simple.
9438 src/liblzma/subblock/subblock_encoder.c | 170 +++++++++++++++++++++---------
9439 1 files changed, 119 insertions(+), 51 deletions(-)
9441 commit e141fe18950400faaa3503ff88ac20eacd73e88c
9442 Author: Lasse Collin <lasse.collin@tukaani.org>
9443 Date: 2008-01-19 21:16:33 +0200
9445 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder.
9446 The API for handing Subfilters was changed to make it
9447 consistent with LZMA_SYNC_FLUSH.
9449 A few sanity checks were added for Subfilter handling. Some
9450 small bugs were fixed. More comments were added.
9452 src/liblzma/api/lzma/subblock.h | 29 ++--
9453 src/liblzma/subblock/subblock_encoder.c | 263 +++++++++++++++++++++++--------
9454 2 files changed, 214 insertions(+), 78 deletions(-)
9456 commit 23c227a864a3b69f38c6a74306161d4e6918d1cc
9457 Author: Lasse Collin <lasse.collin@tukaani.org>
9458 Date: 2008-01-19 15:19:21 +0200
9460 Revised the Delta filter implementation. The initialization
9461 function is still shared between encoder and decoder, but the
9462 actual coding is in separate files for encoder and decoder.
9464 There are now separate functions for the actual delta
9465 calculation depending on if Delta is the last filter in the
9466 chain or not. If it is the last, the new code copies the
9467 data from input to output buffer and does the delta
9468 calculation at the same time. The old code first copied the
9469 data, then did the delta in the target buffer, which required
9470 reading through the data twice.
9472 Support for LZMA_SYNC_FLUSH was added to the Delta encoder.
9473 This doesn't change anything in the file format.
9475 src/liblzma/common/Makefile.am | 14 +++-
9476 src/liblzma/common/delta_coder.c | 189 ------------------------------------
9477 src/liblzma/common/delta_coder.h | 31 ------
9478 src/liblzma/common/delta_common.c | 70 +++++++++++++
9479 src/liblzma/common/delta_common.h | 48 +++++++++
9480 src/liblzma/common/delta_decoder.c | 102 +++++++++++++++++++
9481 src/liblzma/common/delta_decoder.h | 28 ++++++
9482 src/liblzma/common/delta_encoder.c | 97 ++++++++++++++++++
9483 src/liblzma/common/delta_encoder.h | 28 ++++++
9484 src/liblzma/common/raw_decoder.c | 2 +-
9485 src/liblzma/common/raw_encoder.c | 2 +-
9486 11 files changed, 387 insertions(+), 224 deletions(-)
9488 commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73
9489 Author: Lasse Collin <lasse.collin@tukaani.org>
9490 Date: 2008-01-18 20:18:08 +0200
9492 Added the debug directory and the first debug tool
9493 (sync_flush). These tools are not built unless the
9494 user runs "make" in the debug directory.
9498 debug/Makefile.am | 30 +++++++++++++
9499 debug/README | 17 ++++++++
9500 debug/sync_flush.c | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++
9501 5 files changed, 165 insertions(+), 0 deletions(-)
9503 commit 0ae3208db94585eb8294b97ded387de0a3a07646
9504 Author: Lasse Collin <lasse.collin@tukaani.org>
9505 Date: 2008-01-18 20:13:00 +0200
9507 Added test files to test usage of flush marker in LZMA.
9509 tests/files/README | 12 ++++++++++++
9510 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 0 -> 53 bytes
9511 tests/files/bad-single-lzma-flush_twice.lzma | Bin 0 -> 63 bytes
9512 tests/files/good-single-lzma-flush_1.lzma | Bin 0 -> 48 bytes
9513 tests/files/good-single-lzma-flush_2.lzma | Bin 0 -> 63 bytes
9514 5 files changed, 12 insertions(+), 0 deletions(-)
9516 commit ab5feaf1fcc146ef9fd39360c53c290bec39524e
9517 Author: Lasse Collin <lasse.collin@tukaani.org>
9518 Date: 2008-01-18 20:02:52 +0200
9520 Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders.
9521 That code is now almost completely in LZ coder, where
9522 it can be shared with other LZ77-based algorithms in
9525 src/liblzma/lz/lz_encoder.c | 34 ++++++++++++++++++++++++++--------
9526 src/liblzma/lz/lz_encoder.h | 1 +
9527 src/liblzma/lzma/lzma_encoder.c | 27 ++-------------------------
9528 3 files changed, 29 insertions(+), 33 deletions(-)
9530 commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585
9531 Author: Lasse Collin <lasse.collin@tukaani.org>
9532 Date: 2008-01-18 17:21:24 +0200
9534 Don't add -g to CFLAGS when --enable-debug is specified.
9535 It's the job of the user to put that in CFLAGS.
9538 1 files changed, 0 insertions(+), 1 deletions(-)
9540 commit 61d1784d8f1761d979a6da6e223e279ca33815e6
9541 Author: Lasse Collin <lasse.collin@tukaani.org>
9542 Date: 2008-01-18 14:17:37 +0200
9544 Set stdin and stdout to binary mode on Windows. This patch is
9545 a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068
9546 from lzma-utils-legacy.git. I don't know if the new code base
9547 builds on Windows, but this is a start.
9549 src/lzmadec/lzmadec.c | 9 +++++++++
9550 1 files changed, 9 insertions(+), 0 deletions(-)
9552 commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c
9553 Author: Lasse Collin <lasse.collin@tukaani.org>
9554 Date: 2008-01-18 00:50:29 +0200
9556 Added test_compress.sh and bunch of files needed by it.
9557 This new set of tests compress and decompress several
9558 test files with many different compression options.
9559 This set of tests will be extended later.
9561 tests/Makefile.am | 30 ++++--
9562 tests/bcj_test.c | 66 +++++++++++++
9563 tests/compress_prepared_bcj_sparc | Bin 0 -> 6804 bytes
9564 tests/compress_prepared_bcj_x86 | Bin 0 -> 4649 bytes
9565 tests/create_compress_files.c | 164 +++++++++++++++++++++++++++++++++
9566 tests/test_compress.sh | 183 +++++++++++++++++++++++++++++++++++++
9567 6 files changed, 433 insertions(+), 10 deletions(-)
9569 commit 33be3c0e24d8f43376ccf71cc77d53671e792f07
9570 Author: Lasse Collin <lasse.collin@tukaani.org>
9571 Date: 2008-01-17 18:56:53 +0200
9573 Subblock decoder: Don't exit the main loop in decode_buffer()
9574 too early if we hit End of Input while decoding a Subblock of
9575 type Repeating Data. To keep the loop termination condition
9576 elegant, the order of enumerations in coder->sequence were
9579 To keep the case-labels in roughly the same order as the
9580 enumerations in coder->sequence, large chunks of code was
9581 moved around. This made the diff big and ugly compared to
9582 the amount of the actual changes made.
9584 src/liblzma/subblock/subblock_decoder.c | 272 ++++++++++++++++---------------
9585 1 files changed, 139 insertions(+), 133 deletions(-)
9587 commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd
9588 Author: Lasse Collin <lasse.collin@tukaani.org>
9589 Date: 2008-01-17 17:39:42 +0200
9591 Fix wrong too small size of argument unfiltered_max
9592 in ia64_coder_init(). It triggered assert() in
9593 simple_coder.c, and could have caused a buffer overflow.
9595 This error was probably a copypaste mistake, since most
9596 of the simple filters use unfiltered_max = 4.
9598 src/liblzma/simple/ia64.c | 2 +-
9599 1 files changed, 1 insertions(+), 1 deletions(-)
9601 commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a
9602 Author: Lasse Collin <lasse.collin@tukaani.org>
9603 Date: 2008-01-17 17:27:45 +0200
9605 Added --delta to the output of "lzma --help".
9607 src/lzma/help.c | 4 ++++
9608 1 files changed, 4 insertions(+), 0 deletions(-)
9610 commit f88590e0014b38d40465937c19f25f05f16c79ae
9611 Author: Lasse Collin <lasse.collin@tukaani.org>
9612 Date: 2008-01-17 13:14:20 +0200
9614 Fix Subblock docoder: If Subblock filter was used with known
9615 Uncompressed Size, and the last output byte was from RLE,
9616 the code didn't stop decoding as it should have done.
9618 src/liblzma/subblock/subblock_decoder.c | 6 ++++++
9619 1 files changed, 6 insertions(+), 0 deletions(-)
9621 commit bc0b945ca376e333077644d2f7fd54c2848aab8a
9622 Author: Lasse Collin <lasse.collin@tukaani.org>
9623 Date: 2008-01-16 16:33:37 +0200
9625 Tiny non-technical edits to file-format.txt.
9627 doc/file-format.txt | 6 +++---
9628 1 files changed, 3 insertions(+), 3 deletions(-)
9630 commit 7599bb7064ccf007f054595dedda7927af868252
9631 Author: Lasse Collin <lasse.collin@tukaani.org>
9632 Date: 2008-01-16 14:48:04 +0200
9634 Plugged a memory leak in stream_decoder.c.
9636 src/liblzma/common/stream_decoder.c | 20 ++++++++++++++++++++
9637 1 files changed, 20 insertions(+), 0 deletions(-)
9639 commit 0b581539311f3712946e81e747839f8fb5f441a7
9640 Author: Lasse Collin <lasse.collin@tukaani.org>
9641 Date: 2008-01-16 14:47:27 +0200
9643 Added memory leak detection to lzmadec.c.
9645 src/lzmadec/lzmadec.c | 3 +++
9646 1 files changed, 3 insertions(+), 0 deletions(-)
9648 commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4
9649 Author: Lasse Collin <lasse.collin@tukaani.org>
9650 Date: 2008-01-16 14:46:50 +0200
9652 Added lzma_memlimit_count().
9654 src/liblzma/api/lzma/memlimit.h | 10 ++++++++++
9655 src/liblzma/common/memory_limitter.c | 19 +++++++++++++++++++
9656 2 files changed, 29 insertions(+), 0 deletions(-)
9658 commit 19389f2b82ec54fd4c847a18f16482e7be4c9887
9659 Author: Lasse Collin <lasse.collin@tukaani.org>
9660 Date: 2008-01-16 14:31:44 +0200
9662 Added ARRAY_SIZE(array) macro.
9664 src/common/sysdefs.h | 4 ++++
9665 1 files changed, 4 insertions(+), 0 deletions(-)
9667 commit 9bc33a54cbf83952130adbcb1be32c6882485416
9668 Author: Lasse Collin <lasse.collin@tukaani.org>
9669 Date: 2008-01-16 13:27:03 +0200
9671 Make Uncompresed Size validation more strict
9674 src/liblzma/common/alone_decoder.c | 3 ++-
9675 1 files changed, 2 insertions(+), 1 deletions(-)
9677 commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883
9678 Author: Lasse Collin <lasse.collin@tukaani.org>
9679 Date: 2008-01-15 17:46:59 +0200
9681 Free the allocated memory in lzmadec if debugging is
9682 enabled. This should make it possible to detect possible
9683 memory leaks with Valgrind.
9685 src/lzmadec/lzmadec.c | 7 +++++++
9686 1 files changed, 7 insertions(+), 0 deletions(-)
9688 commit 8235e6e5b2878f76633afcda9a334640db503ef5
9689 Author: Lasse Collin <lasse.collin@tukaani.org>
9690 Date: 2008-01-15 16:25:38 +0200
9692 Fix memory leaks from test_block_header.c.
9694 tests/test_block_header.c | 19 +++++++++++++++++--
9695 1 files changed, 17 insertions(+), 2 deletions(-)
9697 commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6
9698 Author: Lasse Collin <lasse.collin@tukaani.org>
9699 Date: 2008-01-15 14:23:35 +0200
9701 Use fastpos.h when encoding LZMA dictionary size in
9702 Filter Flags encoder.
9704 src/liblzma/common/filter_flags_encoder.c | 40 +++++++++++++---------------
9705 1 files changed, 19 insertions(+), 21 deletions(-)
9707 commit e5728142a2048979f5c0c2149ce71ae952a092e1
9708 Author: Lasse Collin <lasse.collin@tukaani.org>
9709 Date: 2008-01-15 14:02:22 +0200
9711 Revised the fastpos code. It now uses the slightly faster
9712 table-based version from LZMA SDK 4.57. This should be
9713 fast on most systems.
9715 A simpler and smaller alternative version is also provided.
9716 On some CPUs this can be even a little faster than the
9717 default table-based version (see comments in fastpos.h),
9718 but on most systems the table-based code is faster.
9720 src/liblzma/common/init_encoder.c | 3 -
9721 src/liblzma/lzma/Makefile.am | 4 +
9722 src/liblzma/lzma/fastpos.h | 156 +++++++++
9723 src/liblzma/lzma/fastpos_table.c | 519 ++++++++++++++++++++++++++++
9724 src/liblzma/lzma/fastpos_tablegen.c | 63 ++++
9725 src/liblzma/lzma/lzma_common.h | 3 +-
9726 src/liblzma/lzma/lzma_encoder.c | 1 +
9727 src/liblzma/lzma/lzma_encoder_getoptimum.c | 1 +
9728 src/liblzma/lzma/lzma_encoder_init.c | 22 --
9729 src/liblzma/lzma/lzma_encoder_private.h | 21 --
9730 10 files changed, 746 insertions(+), 47 deletions(-)
9732 commit 10437b5b567f6a025ff16c45a572e417a0a9cc26
9733 Author: Lasse Collin <lasse.collin@tukaani.org>
9734 Date: 2008-01-15 13:32:13 +0200
9738 src/liblzma/common/Makefile.am | 1 +
9739 src/liblzma/common/bsr.h | 61 ++++++++++++++++++++++++++++++++++++++++
9740 2 files changed, 62 insertions(+), 0 deletions(-)
9742 commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244
9743 Author: Lasse Collin <lasse.collin@tukaani.org>
9744 Date: 2008-01-15 13:29:14 +0200
9746 Fixed assembler detection in configure.ac, and added
9747 detection for x86_64.
9749 configure.ac | 32 ++++++++++++++++----------------
9750 1 files changed, 16 insertions(+), 16 deletions(-)
9752 commit 54ec204f58287f50d3976288295da4188a19192b
9753 Author: Lasse Collin <lasse.collin@tukaani.org>
9754 Date: 2008-01-15 12:20:41 +0200
9756 Omit invalid space from printf() format string
9757 in price_table_gen.c.
9759 src/liblzma/rangecoder/price_table_gen.c | 2 +-
9760 1 files changed, 1 insertions(+), 1 deletions(-)
9762 commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1
9763 Author: Lasse Collin <lasse.collin@tukaani.org>
9764 Date: 2008-01-15 09:54:34 +0200
9766 Removed a few unused macros from lzma_common.h.
9768 src/liblzma/lzma/lzma_common.h | 8 ++------
9769 1 files changed, 2 insertions(+), 6 deletions(-)
9771 commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d
9772 Author: Lasse Collin <lasse.collin@tukaani.org>
9773 Date: 2008-01-15 08:37:42 +0200
9775 Fix a typo in lzma_encoder.c.
9777 src/liblzma/lzma/lzma_encoder.c | 2 +-
9778 1 files changed, 1 insertions(+), 1 deletions(-)
9780 commit 9f9b1983013048f2142e8bc7e240149d2687bedc
9781 Author: Lasse Collin <lasse.collin@tukaani.org>
9782 Date: 2008-01-15 08:36:25 +0200
9784 Convert bittree_get_price() and bittree_reverse_get_price()
9785 from macros to inline functions.
9787 src/liblzma/lzma/lzma_encoder.c | 19 +++----
9788 src/liblzma/lzma/lzma_encoder_getoptimum.c | 16 ++----
9789 src/liblzma/rangecoder/range_encoder.h | 76 ++++++++++++++++------------
9790 3 files changed, 56 insertions(+), 55 deletions(-)
9792 commit 78e85cb1a7667c54853670d2eb09d754bcbda87d
9793 Author: Lasse Collin <lasse.collin@tukaani.org>
9794 Date: 2008-01-15 07:44:59 +0200
9796 Fix CRC code in case --enable-small is used.
9798 src/liblzma/check/crc32_init.c | 2 +-
9799 src/liblzma/check/crc64_init.c | 2 +-
9800 src/liblzma/common/init_decoder.c | 2 --
9801 src/liblzma/common/init_encoder.c | 2 --
9802 tests/test_check.c | 2 ++
9803 5 files changed, 4 insertions(+), 6 deletions(-)
9805 commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0
9806 Author: Lasse Collin <lasse.collin@tukaani.org>
9807 Date: 2008-01-15 07:41:39 +0200
9809 Fix typo in test_index.c.
9811 tests/test_index.c | 2 +-
9812 1 files changed, 1 insertions(+), 1 deletions(-)
9814 commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6
9815 Author: Lasse Collin <lasse.collin@tukaani.org>
9816 Date: 2008-01-15 07:40:21 +0200
9818 Added precomputed range coder probability price table.
9820 src/liblzma/common/init_encoder.c | 5 +-
9821 src/liblzma/rangecoder/Makefile.am | 9 +++-
9822 src/liblzma/rangecoder/price_table.c | 70 +++++++++++++++++++++++++++++
9823 src/liblzma/rangecoder/price_table_gen.c | 55 ++++++++++++++++++++++
9824 src/liblzma/rangecoder/price_table_init.c | 48 ++++++++++++++++++++
9825 src/liblzma/rangecoder/range_common.h | 4 +-
9826 src/liblzma/rangecoder/range_encoder.c | 46 -------------------
9827 src/liblzma/rangecoder/range_encoder.h | 21 ++++-----
9828 8 files changed, 197 insertions(+), 61 deletions(-)
9830 commit 362dc3843b373c1007a50a4719f378981f18ae03
9831 Author: Lasse Collin <lasse.collin@tukaani.org>
9832 Date: 2008-01-14 13:42:43 +0200
9834 Remove RC_BUFFER_SIZE from lzma_encoder_private.h
9835 and replace it with a sanity check.
9837 src/liblzma/lzma/lzma_encoder_private.h | 6 ++++--
9838 1 files changed, 4 insertions(+), 2 deletions(-)
9840 commit e22b37968d153683fec61ad37b6b160cb7ca4ddc
9841 Author: Lasse Collin <lasse.collin@tukaani.org>
9842 Date: 2008-01-14 13:39:54 +0200
9844 Major changes to LZ encoder, LZMA encoder, and range encoder.
9845 These changes implement support for LZMA_SYNC_FLUSH in LZMA
9846 encoder, and move the temporary buffer needed by range encoder
9847 from lzma_range_encoder structure to lzma_lz_encoder.
9849 src/liblzma/lz/lz_encoder.c | 138 +++++++++++++++++++++++++++-----
9850 src/liblzma/lz/lz_encoder.h | 17 +++-
9851 src/liblzma/lzma/lzma_encoder.c | 74 ++++++++++-------
9852 src/liblzma/rangecoder/range_encoder.h | 117 ++++++++-------------------
9853 4 files changed, 206 insertions(+), 140 deletions(-)
9855 commit b59ef3973781f892c0a72b5e5934194567100be5
9856 Author: Lasse Collin <lasse.collin@tukaani.org>
9857 Date: 2008-01-14 13:34:29 +0200
9859 Added one assert() to process.c of the command line tool.
9861 src/lzma/process.c | 1 +
9862 1 files changed, 1 insertions(+), 0 deletions(-)
9864 commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7
9865 Author: Lasse Collin <lasse.collin@tukaani.org>
9866 Date: 2008-01-14 12:09:52 +0200
9868 Don't use coder->lz.stream_end_was_reached in assertions
9871 src/liblzma/lz/match_c.h | 2 --
9872 1 files changed, 0 insertions(+), 2 deletions(-)
9874 commit 3e09e1c05871f3757f759b801890ccccc9286608
9875 Author: Lasse Collin <lasse.collin@tukaani.org>
9876 Date: 2008-01-14 12:08:02 +0200
9878 In lzma_read_match_distances(), don't use
9879 coder->lz.stream_end_was_reached. That variable
9880 will be removed, and the check isn't required anyway.
9881 Rearrange the check so that it doesn't make one to
9882 think that there could be an integer overflow.
9884 src/liblzma/lzma/lzma_encoder_private.h | 6 +++---
9885 1 files changed, 3 insertions(+), 3 deletions(-)
9887 commit a670fec8021e5962429689c194148a04c3418872
9888 Author: Lasse Collin <lasse.collin@tukaani.org>
9889 Date: 2008-01-14 11:56:41 +0200
9891 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders.
9893 src/liblzma/common/block_encoder.c | 4 ++--
9894 src/liblzma/common/stream_encoder_single.c | 1 +
9895 2 files changed, 3 insertions(+), 2 deletions(-)
9897 commit 3599dba9570a6972a16b6398d6c838e9b420e985
9898 Author: Lasse Collin <lasse.collin@tukaani.org>
9899 Date: 2008-01-14 11:54:56 +0200
9901 More fixes to LZMA decoder's flush marker handling.
9903 src/liblzma/lzma/lzma_decoder.c | 52 ++++++++++++++++++++++----------------
9904 1 files changed, 30 insertions(+), 22 deletions(-)
9906 commit f73c2ab6079ed5675a42b39d584a567befbd4624
9907 Author: Lasse Collin <lasse.collin@tukaani.org>
9908 Date: 2008-01-10 17:13:42 +0200
9910 Eliminate lzma_lz_encoder.must_move_pos. It's needed
9911 only in one place which isn't performance criticial.
9913 src/liblzma/lz/lz_encoder.c | 6 ++----
9914 src/liblzma/lz/lz_encoder.h | 4 ----
9915 2 files changed, 2 insertions(+), 8 deletions(-)
9917 commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd
9918 Author: Lasse Collin <lasse.collin@tukaani.org>
9919 Date: 2008-01-09 20:05:57 +0200
9921 Define HAVE_ASM_X86 when x86 assembler optimizations are
9922 used. This #define will be useful for inline assembly.
9924 configure.ac | 5 ++++-
9925 1 files changed, 4 insertions(+), 1 deletions(-)
9927 commit 0e70fbe4032351aab13a1cd8e5deced105c0b276
9928 Author: Lasse Collin <lasse.collin@tukaani.org>
9929 Date: 2008-01-09 12:06:46 +0200
9931 Added good-single-none-empty_3.lzma and
9932 bad-single-none-empty.lzma.
9934 tests/files/README | 6 ++++++
9935 tests/files/bad-single-none-empty.lzma | Bin 0 -> 19 bytes
9936 tests/files/good-single-none-empty_3.lzma | Bin 0 -> 19 bytes
9937 3 files changed, 6 insertions(+), 0 deletions(-)
9939 commit 379fbbe84d922c7cc00afa65c6f0c095da596b19
9940 Author: Lasse Collin <lasse.collin@tukaani.org>
9941 Date: 2008-01-08 23:11:59 +0200
9943 Take advantage of return_if_error() in block_decoder.c.
9945 src/liblzma/common/block_decoder.c | 23 +++++++----------------
9946 1 files changed, 7 insertions(+), 16 deletions(-)
9948 commit 97d5fa82077e57815dfad995dc393c2809a78539
9949 Author: Lasse Collin <lasse.collin@tukaani.org>
9950 Date: 2008-01-08 23:10:57 +0200
9952 Updated tests/files/README.
9954 tests/files/README | 15 +++++++++------
9955 1 files changed, 9 insertions(+), 6 deletions(-)
9957 commit 3bb9bb310936cba6a743b4f06739a397dec7c28f
9958 Author: Lasse Collin <lasse.collin@tukaani.org>
9959 Date: 2008-01-08 23:05:40 +0200
9961 Added test files with empty Compressed Data.
9963 tests/files/README | 6 ++++++
9964 tests/files/good-single-lzma-empty.lzma | Bin 0 -> 21 bytes
9965 tests/files/good-single-none-empty_1.lzma | Bin 0 -> 18 bytes
9966 tests/files/good-single-none-empty_2.lzma | Bin 0 -> 26 bytes
9967 4 files changed, 6 insertions(+), 0 deletions(-)
9969 commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f
9970 Author: Lasse Collin <lasse.collin@tukaani.org>
9971 Date: 2008-01-08 22:58:42 +0200
9973 Fix decoding of Blocks that have only Block Header.
9975 src/liblzma/common/block_decoder.c | 37 +++++++++++++----------------------
9976 1 files changed, 14 insertions(+), 23 deletions(-)
9978 commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4
9979 Author: Lasse Collin <lasse.collin@tukaani.org>
9980 Date: 2008-01-08 22:27:46 +0200
9982 Added good-single-subblock_implicit.lzma.
9984 tests/files/README | 2 ++
9985 tests/files/good-single-subblock_implicit.lzma | Bin 0 -> 35 bytes
9986 2 files changed, 2 insertions(+), 0 deletions(-)
9988 commit faeac7b7aca75f86afed1e7cc06279d9d497c627
9989 Author: Lasse Collin <lasse.collin@tukaani.org>
9990 Date: 2008-01-08 18:50:30 +0200
9992 Disable CRC32 from Block Headers when --check=none
9995 src/lzma/process.c | 2 +-
9996 1 files changed, 1 insertions(+), 1 deletions(-)
9998 commit a751126dbb656767ed4666cf0e5d3e17349d93d1
9999 Author: Lasse Collin <lasse.collin@tukaani.org>
10000 Date: 2008-01-08 13:36:29 +0200
10002 Fixed encoding of empty files. Arguments to is_size_valid()
10003 were in wrong order in block_encoder.c.
10005 src/liblzma/common/block_encoder.c | 2 +-
10006 1 files changed, 1 insertions(+), 1 deletions(-)
10008 commit 9080267603b1006c4867c823307dca9df8be0d20
10009 Author: Lasse Collin <lasse.collin@tukaani.org>
10010 Date: 2008-01-08 13:35:36 +0200
10012 Added a few test files.
10014 tests/files/README | 21 +++++++++++++++++--
10015 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 0 -> 65 bytes
10016 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes
10017 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes
10018 tests/files/bad-single-data_after_eopm.lzma | Bin 55 -> 0 bytes
10019 tests/files/bad-single-data_after_eopm_1.lzma | Bin 0 -> 55 bytes
10020 tests/files/bad-single-none-truncated.lzma | Bin 0 -> 29 bytes
10021 7 files changed, 18 insertions(+), 3 deletions(-)
10023 commit b4943ccf73b64fc93a90a23474509c316f55eb2b
10024 Author: Lasse Collin <lasse.collin@tukaani.org>
10025 Date: 2008-01-08 12:29:58 +0200
10027 Avoid using ! in test_files.sh, because that doesn't work
10028 with some ancient /bin/sh versions.
10030 tests/test_files.sh | 4 +++-
10031 1 files changed, 3 insertions(+), 1 deletions(-)
10033 commit e2417b2b9134f3f65e14b61e23cd3644d8954353
10034 Author: Lasse Collin <lasse.collin@tukaani.org>
10035 Date: 2008-01-08 00:48:30 +0200
10037 More pre-C99 inttypes.h compatibility fixes. Now the code
10038 should work even if the system has no inttypes.h.
10040 src/common/physmem.h | 11 -----------
10041 src/liblzma/check/crc32_init.c | 5 +----
10042 src/liblzma/check/crc32_tablegen.c | 7 ++-----
10043 src/liblzma/check/crc64_init.c | 5 +----
10044 src/liblzma/check/crc64_tablegen.c | 7 ++-----
10045 5 files changed, 6 insertions(+), 29 deletions(-)
10047 commit 5d227e51c23639423f4ade06aabb54e131f8505e
10048 Author: Lasse Collin <lasse.collin@tukaani.org>
10049 Date: 2008-01-07 23:25:32 +0200
10051 Updated fi.po although it's currently pretty much crap.
10053 po/fi.po | 12 ++++++------
10054 1 files changed, 6 insertions(+), 6 deletions(-)
10056 commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d
10057 Author: Lasse Collin <lasse.collin@tukaani.org>
10058 Date: 2008-01-07 23:14:25 +0200
10060 Test for $GCC = yes instead of if it is non-empty. This
10061 way it is possible to use ac_cv_c_compiler_gnu=no to
10062 force configure to think it is using non-GNU C compiler.
10064 configure.ac | 2 +-
10065 1 files changed, 1 insertions(+), 1 deletions(-)
10067 commit 3dbbea82b74bb841c995ad332a3aeca613015e10
10068 Author: Lasse Collin <lasse.collin@tukaani.org>
10069 Date: 2008-01-07 21:49:41 +0200
10071 Added test_files.sh to tests/Makefile.am so it gets
10072 included in the tarball with "make dist".
10074 tests/Makefile.am | 2 +-
10075 1 files changed, 1 insertions(+), 1 deletions(-)
10077 commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0
10078 Author: Lasse Collin <lasse.collin@tukaani.org>
10079 Date: 2008-01-07 18:22:24 +0200
10081 Cosmetic edit to test_files.sh.
10083 tests/test_files.sh | 4 ++--
10084 1 files changed, 2 insertions(+), 2 deletions(-)
10086 commit 9a71d573100a990ceb30ce0bec6a9a15d795605f
10087 Author: Lasse Collin <lasse.collin@tukaani.org>
10088 Date: 2008-01-07 18:09:44 +0200
10090 Added tests/files/README.
10092 tests/files/README | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++
10093 1 files changed, 108 insertions(+), 0 deletions(-)
10095 commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43
10096 Author: Lasse Collin <lasse.collin@tukaani.org>
10097 Date: 2008-01-07 14:20:57 +0200
10099 Tell in COPYING that everything in tests/files is
10103 1 files changed, 2 insertions(+), 1 deletions(-)
10105 commit 3502b3e1d00251d3c8dda96079440705c28d8225
10106 Author: Lasse Collin <lasse.collin@tukaani.org>
10107 Date: 2008-01-07 14:19:05 +0200
10109 Cleaned up the tests/files directory.
10111 tests/files/bad-single-subblock-padding_loop.lzma | Bin 0 -> 43 bytes
10112 tests/files/bad-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes
10113 tests/files/malicious-single-subblock-loop.lzma | Bin 43 -> 0 bytes
10114 tests/files/malicious-single-subblock-lzma.lzma | Bin 505 -> 0 bytes
10115 .../files/malicious-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes
10116 5 files changed, 0 insertions(+), 0 deletions(-)
10118 commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c
10119 Author: Lasse Collin <lasse.collin@tukaani.org>
10120 Date: 2008-01-07 13:49:19 +0200
10122 Added test_files.sh to test decoding of the files in
10123 the tests/files directory. It doesn't test the malicious
10126 tests/Makefile.am | 4 +++-
10127 tests/test_files.sh | 40 ++++++++++++++++++++++++++++++++++++++++
10128 2 files changed, 43 insertions(+), 1 deletions(-)
10130 commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6
10131 Author: Lasse Collin <lasse.collin@tukaani.org>
10132 Date: 2008-01-07 11:23:13 +0200
10134 Updated README regarding the assembler optimizations.
10136 README | 10 +++++-----
10137 1 files changed, 5 insertions(+), 5 deletions(-)
10139 commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb
10140 Author: Lasse Collin <lasse.collin@tukaani.org>
10141 Date: 2008-01-07 10:58:00 +0200
10146 1 files changed, 1 insertions(+), 0 deletions(-)
10148 commit 1239649f96132b18e3b7e2dd152ecf53a195caa8
10149 Author: Lasse Collin <lasse.collin@tukaani.org>
10150 Date: 2008-01-06 21:47:17 +0200
10152 Cosmetic changes to configure.ac.
10154 configure.ac | 14 ++++++--------
10155 1 files changed, 6 insertions(+), 8 deletions(-)
10157 commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e
10158 Author: Lasse Collin <lasse.collin@tukaani.org>
10159 Date: 2008-01-06 19:46:38 +0200
10161 Automatically disable assembler code on Darwin x86.
10162 Darwin has different ABI than GNU+Linux and Solaris,
10163 thus the assembler code doesn't assemble on Darwin.
10165 configure.ac | 17 +++++++++++++++--
10166 1 files changed, 15 insertions(+), 2 deletions(-)
10168 commit c15a7abf66e3a70792f7444115e484c7981c8284
10169 Author: Lasse Collin <lasse.collin@tukaani.org>
10170 Date: 2008-01-06 19:45:27 +0200
10172 With printf(), use PRIu64 with a cast to uint64_t instead
10173 of %zu, because some pre-C99 libc versions don't support %zu.
10175 src/lzma/help.c | 13 +++++++------
10176 src/lzmadec/lzmadec.c | 6 ++++--
10177 2 files changed, 11 insertions(+), 8 deletions(-)
10179 commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb
10180 Author: Lasse Collin <lasse.collin@tukaani.org>
10181 Date: 2008-01-06 16:27:41 +0200
10183 Introduced compatibility with systems that have pre-C99
10184 or no inttypes.h. This is useful when the compiler has
10185 good enough support for C99, but libc headers don't.
10187 Changed liblzma API so that sys/types.h and inttypes.h
10188 have to be #included before #including lzma.h. On systems
10189 that don't have C99 inttypes.h, it's the problem of the
10190 applications to provide the required types and macros
10191 before #including lzma.h.
10193 If lzma.h defined the missing types and macros, it could
10194 conflict with third-party applications whose configure
10195 has detected that the types are missing and defined them
10196 in config.h already. An alternative would have been
10197 introducing lzma_uint32 and similar types, but that would
10198 just be an extra pain on modern systems.
10200 configure.ac | 13 +++++++-
10201 doc/liblzma-intro.txt | 10 +++++-
10202 src/common/sysdefs.h | 59 +++++++++++++++++++++++++++++++++++-
10203 src/liblzma/api/lzma.h | 40 ++++++++++++++++--------
10204 src/liblzma/check/crc32_table.c | 4 +--
10205 src/liblzma/check/crc32_table_be.h | 2 -
10206 src/liblzma/check/crc32_table_le.h | 2 -
10207 src/liblzma/check/crc32_tablegen.c | 1 -
10208 src/liblzma/check/crc64_table.c | 4 +--
10209 src/liblzma/check/crc64_table_be.h | 2 -
10210 src/liblzma/check/crc64_table_le.h | 2 -
10211 src/liblzma/check/crc64_tablegen.c | 1 -
10212 src/lzma/private.h | 1 -
10213 13 files changed, 106 insertions(+), 35 deletions(-)
10215 commit a71864f77dfb76b5d78a270641539947c312583a
10216 Author: Lasse Collin <lasse.collin@tukaani.org>
10217 Date: 2008-01-05 19:57:00 +0200
10219 Fix typo in comment (INT64_MAX -> UINT64_MAX).
10221 src/liblzma/api/lzma/vli.h | 2 +-
10222 1 files changed, 1 insertions(+), 1 deletions(-)
10224 commit 072927905a3b66281c6311b4b351caa501d8b73a
10225 Author: Lasse Collin <lasse.collin@tukaani.org>
10226 Date: 2008-01-05 19:42:04 +0200
10228 Rearranged testing of GCC-specific flags.
10230 configure.ac | 33 +++++++++++++++++++++++----------
10231 1 files changed, 23 insertions(+), 10 deletions(-)
10233 commit d160ee32598c6d1cd9054ef019e8c9331208b188
10234 Author: Lasse Collin <lasse.collin@tukaani.org>
10235 Date: 2008-01-05 01:20:24 +0200
10237 Another bug fix for flush marker detection.
10239 src/liblzma/lzma/lzma_decoder.c | 10 +++++++++-
10240 1 files changed, 9 insertions(+), 1 deletions(-)
10242 commit fc67f79f607cbfa78c6f47a69dec098d8659b162
10243 Author: Lasse Collin <lasse.collin@tukaani.org>
10244 Date: 2008-01-04 21:37:01 +0200
10246 Fix stupid bugs in flush marker detection.
10248 src/liblzma/lzma/lzma_decoder.c | 7 ++++---
10249 1 files changed, 4 insertions(+), 3 deletions(-)
10251 commit 0029cbbabe87d491fc046a55a629a6d556010baa
10252 Author: Lasse Collin <lasse.collin@tukaani.org>
10253 Date: 2008-01-04 21:30:33 +0200
10255 Added support for flush marker, which will be in files
10256 that use LZMA_SYNC_FLUSH with encoder (not implemented
10257 yet). This is a new feature in the raw LZMA format,
10258 which isn't supported by old decoders. This shouldn't
10259 be a problem in practice, since lzma_alone_encoder()
10260 will not allow LZMA_SYNC_FLUSH, and thus not allow
10261 creating files on decodable with old decoders.
10263 Made lzma_decoder.c to require tab width of 4 characters
10264 if one wants to fit the code in 80 columns. This makes
10265 the code easier to read.
10267 src/liblzma/lzma/lzma_common.h | 4 +
10268 src/liblzma/lzma/lzma_decoder.c | 217 ++++++++++++++++++---------------------
10269 2 files changed, 104 insertions(+), 117 deletions(-)
10271 commit bbfd1f6ab058a7e661545205befcb7f70c5685ab
10272 Author: Lasse Collin <lasse.collin@tukaani.org>
10273 Date: 2008-01-04 20:45:05 +0200
10275 Moved range decoder initialization (reading the first
10276 five input bytes) from LZMA decoder to range decoder
10277 header. Did the same for decoding of direct bits.
10279 src/liblzma/lzma/lzma_decoder.c | 42 ++-------------
10280 src/liblzma/rangecoder/range_decoder.h | 87 ++++++++++++++++++++++----------
10281 2 files changed, 66 insertions(+), 63 deletions(-)
10283 commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc
10284 Author: Lasse Collin <lasse.collin@tukaani.org>
10285 Date: 2007-12-14 11:15:21 +0200
10287 Added a note to README that --disable-assembler
10288 must be used on Darwin.
10291 1 files changed, 4 insertions(+), 0 deletions(-)
10293 commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24
10294 Author: Lasse Collin <lasse.collin@tukaani.org>
10295 Date: 2007-12-14 10:07:10 +0200
10297 Use the filename suffix .S instead of .s for assembler files
10298 so that the preprocessor removes the /* */ style comments,
10299 which are not supported by some non-GNU assemblers (Solaris)
10300 that otherwise work with this code.
10302 src/liblzma/check/Makefile.am | 4 +-
10303 src/liblzma/check/crc32_x86.S | 217 +++++++++++++++++++++++++++++++++++++++++
10304 src/liblzma/check/crc32_x86.s | 217 -----------------------------------------
10305 src/liblzma/check/crc64_x86.S | 203 ++++++++++++++++++++++++++++++++++++++
10306 src/liblzma/check/crc64_x86.s | 203 --------------------------------------
10307 5 files changed, 422 insertions(+), 422 deletions(-)
10309 commit ec1c82b2e82f395f6e8e19ac212a639644330cd7
10310 Author: Lasse Collin <lasse.collin@tukaani.org>
10311 Date: 2007-12-14 09:59:05 +0200
10313 Fixed wrong symbol name in crc64_x86.s.
10315 src/liblzma/check/crc64_x86.s | 2 +-
10316 1 files changed, 1 insertions(+), 1 deletions(-)
10318 commit 2881570df6803eed2fe550af34574e8e61794804
10319 Author: Lasse Collin <lasse.collin@tukaani.org>
10320 Date: 2007-12-14 09:53:24 +0200
10322 Use .globl instead of .global in x86 assembler code for
10323 better portability. Still needs fixing the commenting.
10325 src/liblzma/check/crc32_x86.s | 2 +-
10326 src/liblzma/check/crc64_x86.s | 2 +-
10327 2 files changed, 2 insertions(+), 2 deletions(-)
10329 commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66
10330 Author: Lasse Collin <lasse.collin@tukaani.org>
10331 Date: 2007-12-13 20:14:37 +0200
10333 Fixed a few short options that take an argument.
10334 short_opts[] was missing colons to indicate
10335 required argument. Thanks to Fabio Pedretti for
10338 src/lzma/args.c | 2 +-
10339 1 files changed, 1 insertions(+), 1 deletions(-)
10341 commit 918bcb0e0728d2d976621e9f35b56f224f11d989
10342 Author: Lasse Collin <lasse.collin@tukaani.org>
10343 Date: 2007-12-11 17:08:04 +0200
10345 Removed uncompressed size tracking from Delta encoder too.
10347 src/liblzma/common/delta_coder.c | 21 +++------------------
10348 1 files changed, 3 insertions(+), 18 deletions(-)
10350 commit 3e16d51dd645667b05ff826665b1fc353aa41cd9
10351 Author: Lasse Collin <lasse.collin@tukaani.org>
10352 Date: 2007-12-11 16:49:19 +0200
10354 Remove uncompressed size tracking from the filter encoders.
10355 It's not strictly needed there, and just complicates the
10356 code. LZ encoder never even had this feature.
10358 The primary reason to have uncompressed size tracking in
10359 filter encoders was validating that the application
10360 doesn't give different amount of input that it had
10361 promised. A side effect was to validate internal workings
10364 Uncompressed size tracking is still present in the Block
10365 encoder. Maybe it should be added to LZMA_Alone and raw
10366 encoders too. It's simpler to have one coder just to
10367 validate the uncompressed size instead of having it
10370 src/liblzma/common/copy_coder.c | 25 +------------------
10371 src/liblzma/simple/simple_coder.c | 29 +++--------------------
10372 src/liblzma/subblock/subblock_encoder.c | 38 +++++--------------------------
10373 3 files changed, 12 insertions(+), 80 deletions(-)
10375 commit 5286723e0d1ac386d5b07f08d78e61becf895a5a
10376 Author: Lasse Collin <lasse.collin@tukaani.org>
10377 Date: 2007-12-11 14:10:53 +0200
10379 Get rid of no-NLS gnulib. I don't know how to get it
10380 working with Automake. People who want smaller lzmadec
10381 should use --disable-nls on non-GNU systems.
10383 lib/Makefile.am | 10 +---------
10384 src/lzma/Makefile.am | 2 +-
10385 src/lzmadec/Makefile.am | 4 +++-
10386 3 files changed, 5 insertions(+), 11 deletions(-)
10388 commit ce8b036a6c7a43b290356b673d953f6d76b2be64
10389 Author: Lasse Collin <lasse.collin@tukaani.org>
10390 Date: 2007-12-11 14:09:35 +0200
10392 Fixed a typo in tests/Makefile.am which prevented
10393 building the tests if gnulib was needed.
10395 tests/Makefile.am | 2 +-
10396 1 files changed, 1 insertions(+), 1 deletions(-)
10398 commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4
10399 Author: Lasse Collin <lasse.collin@tukaani.org>
10400 Date: 2007-12-11 11:18:58 +0200
10402 Fixed wrong type of flags_size in Subblock encoder.
10404 src/liblzma/subblock/subblock_encoder.c | 2 +-
10405 1 files changed, 1 insertions(+), 1 deletions(-)
10407 commit ce64df716243fdc40359090d1f6541f3a4f5f21a
10408 Author: Lasse Collin <lasse.collin@tukaani.org>
10409 Date: 2007-12-10 20:44:16 +0200
10411 Bumped version number to 4.42.3alpha.
10413 configure.ac | 2 +-
10414 src/liblzma/api/lzma/version.h | 2 +-
10415 2 files changed, 2 insertions(+), 2 deletions(-)
10417 commit b499a0403ea5c41d6a25b40275eb6c57643052ce
10418 Author: Lasse Collin <lasse.collin@tukaani.org>
10419 Date: 2007-12-10 15:02:50 +0200
10421 Disabled some unneeded warnings and made "make dist" work.
10423 Makefile.am | 9 +++------
10424 configure.ac | 9 ++++++---
10425 po/fi.po | 47 ++++++++++++++++++++++++-----------------------
10426 3 files changed, 33 insertions(+), 32 deletions(-)
10428 commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172
10429 Author: Lasse Collin <lasse.collin@tukaani.org>
10430 Date: 2007-12-09 21:43:15 +0200
10432 Added LZMA_SYNC_FLUSH support to the Copy filter.
10434 src/liblzma/common/copy_coder.c | 92 ++++++++++++++++++++++++---------------
10435 1 files changed, 57 insertions(+), 35 deletions(-)
10437 commit 329c272d501e88793dda5540358d55c12428d194
10438 Author: Lasse Collin <lasse.collin@tukaani.org>
10439 Date: 2007-12-09 17:14:07 +0200
10441 Added missing LZMA_API to the C versions of the CRC functions.
10442 The x86 assembler versions were already OK.
10444 src/liblzma/check/crc32.c | 2 +-
10445 src/liblzma/check/crc64.c | 2 +-
10446 2 files changed, 2 insertions(+), 2 deletions(-)
10448 commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7
10449 Author: Jim Meyering <meyering@redhat.com>
10450 Date: 2007-12-09 15:34:25 +0100
10452 * tests/test_block_header.c (test3): Remove duplicate initializer.
10455 tests/test_block_header.c | 1 -
10456 2 files changed, 1 insertions(+), 2 deletions(-)
10458 commit 07ac881779a8477f2c1ab112b91a129e24aa743c
10459 Author: Lasse Collin <lasse.collin@tukaani.org>
10460 Date: 2007-12-09 17:06:45 +0200
10462 Take advantage of return_if_error() macro in more places.
10463 Cleaned Subblock filter's initialization code too.
10465 src/liblzma/common/block_decoder.c | 22 +++-------
10466 src/liblzma/common/delta_coder.c | 8 +---
10467 src/liblzma/common/stream_decoder.c | 17 +++-----
10468 src/liblzma/common/stream_encoder_multi.c | 68 +++++++++------------------
10469 src/liblzma/common/stream_encoder_single.c | 8 +--
10470 src/liblzma/subblock/subblock_decoder.c | 33 +++++---------
10471 src/liblzma/subblock/subblock_encoder.c | 45 +++++-------------
10472 7 files changed, 63 insertions(+), 138 deletions(-)
10474 commit 41338717964f510ee61d70b25bd4c502ec9f77cf
10475 Author: Lasse Collin <lasse.collin@tukaani.org>
10476 Date: 2007-12-09 12:13:01 +0200
10478 Added a bunch of .lzma test files.
10480 tests/files/bad-single-data_after_eopm.lzma | Bin 0 -> 55 bytes
10481 tests/files/bad-single-data_after_eopm_2.lzma | Bin 0 -> 56 bytes
10482 tests/files/bad-single-subblock_subblock.lzma | Bin 0 -> 26 bytes
10483 tests/files/good-cat-single-none-pad.lzma | Bin 0 -> 64 bytes
10484 tests/files/good-single-delta-lzma.tiff.lzma | Bin 0 -> 51409 bytes
10485 tests/files/good-single-lzma.lzma | Bin 0 -> 44 bytes
10486 tests/files/good-single-none-pad.lzma | Bin 0 -> 32 bytes
10487 tests/files/good-single-none.lzma | Bin 0 -> 30 bytes
10488 tests/files/good-single-subblock-lzma.lzma | Bin 0 -> 50 bytes
10489 tests/files/good-single-subblock_rle.lzma | Bin 0 -> 118 bytes
10490 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 0 -> 51 bytes
10491 tests/files/malicious-single-subblock-256MiB.lzma | Bin 0 -> 30 bytes
10492 tests/files/malicious-single-subblock-64PiB.lzma | Bin 0 -> 45 bytes
10493 tests/files/malicious-single-subblock-loop.lzma | Bin 0 -> 43 bytes
10494 tests/files/malicious-single-subblock-lzma.lzma | Bin 0 -> 505 bytes
10495 .../files/malicious-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes
10496 tests/files/malicious-single-subblock31-slow.lzma | Bin 0 -> 1233 bytes
10497 17 files changed, 0 insertions(+), 0 deletions(-)
10499 commit ff946ceb7975d4f11950afd33f6315b4d20d1a03
10500 Author: Lasse Collin <lasse.collin@tukaani.org>
10501 Date: 2007-12-09 11:24:48 +0200
10503 Re-enabled the security checks in Subblock decoder
10504 that were disabled for debugging reasons.
10506 src/liblzma/subblock/subblock_decoder.c | 6 +++---
10507 1 files changed, 3 insertions(+), 3 deletions(-)
10509 commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1
10510 Author: Lasse Collin <lasse.collin@tukaani.org>
10511 Date: 2007-12-09 11:03:28 +0200
10513 Fixed the tests to build with -Werror.
10515 tests/test_block_header.c | 2 +-
10516 tests/test_check.c | 2 +-
10517 tests/test_filter_flags.c | 2 +-
10518 tests/test_index.c | 14 +++++++-------
10519 tests/test_info.c | 2 +-
10520 tests/test_stream_flags.c | 2 +-
10521 6 files changed, 12 insertions(+), 12 deletions(-)
10523 commit 5d018dc03549c1ee4958364712fb0c94e1bf2741
10524 Author: Lasse Collin <lasse.collin@tukaani.org>
10525 Date: 2007-12-09 00:42:33 +0200
10531 COPYING.GPLv2 | 339 +++++
10532 COPYING.GPLv3 | 674 +++++++++
10533 COPYING.LGPLv2.1 | 504 +++++++
10535 Doxyfile.in | 1229 ++++++++++++++++
10541 configure.ac | 611 ++++++++
10542 doc/bugs.txt | 46 +
10543 doc/faq.txt | 247 ++++
10544 doc/file-format.txt | 1861 ++++++++++++++++++++++++
10545 doc/history.txt | 140 ++
10546 doc/liblzma-advanced.txt | 324 ++++
10547 doc/liblzma-hacking.txt | 112 ++
10548 doc/liblzma-intro.txt | 188 +++
10549 doc/liblzma-security.txt | 219 +++
10550 doc/lzma-intro.txt | 107 ++
10551 extra/scanlzma/scanlzma.c | 85 ++
10552 lib/Makefile.am | 40 +
10553 lib/getopt.c | 1191 +++++++++++++++
10554 lib/getopt1.c | 171 +++
10555 lib/getopt_.h | 226 +++
10556 lib/getopt_int.h | 131 ++
10557 lib/gettext.h | 240 +++
10558 m4/acx_pthread.m4 | 279 ++++
10559 m4/getopt.m4 | 83 ++
10562 po/POTFILES.in | 13 +
10563 po/fi.po | 445 ++++++
10564 src/Makefile.am | 16 +
10565 src/common/open_stdxxx.h | 50 +
10566 src/common/physmem.h | 77 +
10567 src/common/sysdefs.h | 100 ++
10568 src/liblzma/Makefile.am | 47 +
10569 src/liblzma/api/Makefile.am | 39 +
10570 src/liblzma/api/lzma.h | 122 ++
10571 src/liblzma/api/lzma/alignment.h | 60 +
10572 src/liblzma/api/lzma/alone.h | 82 ++
10573 src/liblzma/api/lzma/auto.h | 41 +
10574 src/liblzma/api/lzma/base.h | 410 ++++++
10575 src/liblzma/api/lzma/block.h | 409 ++++++
10576 src/liblzma/api/lzma/check.h | 128 ++
10577 src/liblzma/api/lzma/copy.h | 29 +
10578 src/liblzma/api/lzma/delta.h | 49 +
10579 src/liblzma/api/lzma/extra.h | 114 ++
10580 src/liblzma/api/lzma/filter.h | 166 +++
10581 src/liblzma/api/lzma/index.h | 84 ++
10582 src/liblzma/api/lzma/info.h | 315 ++++
10583 src/liblzma/api/lzma/init.h | 85 ++
10584 src/liblzma/api/lzma/lzma.h | 312 ++++
10585 src/liblzma/api/lzma/memlimit.h | 157 ++
10586 src/liblzma/api/lzma/metadata.h | 100 ++
10587 src/liblzma/api/lzma/raw.h | 72 +
10588 src/liblzma/api/lzma/simple.h | 85 ++
10589 src/liblzma/api/lzma/stream.h | 178 +++
10590 src/liblzma/api/lzma/stream_flags.h | 142 ++
10591 src/liblzma/api/lzma/subblock.h | 197 +++
10592 src/liblzma/api/lzma/version.h | 59 +
10593 src/liblzma/api/lzma/vli.h | 244 ++++
10594 src/liblzma/check/Makefile.am | 64 +
10595 src/liblzma/check/check.c | 160 ++
10596 src/liblzma/check/check.h | 102 ++
10597 src/liblzma/check/check_byteswap.h | 43 +
10598 src/liblzma/check/check_init.c | 37 +
10599 src/liblzma/check/crc32.c | 88 ++
10600 src/liblzma/check/crc32_init.c | 58 +
10601 src/liblzma/check/crc32_table.c | 22 +
10602 src/liblzma/check/crc32_table_be.h | 527 +++++++
10603 src/liblzma/check/crc32_table_le.h | 527 +++++++
10604 src/liblzma/check/crc32_tablegen.c | 55 +
10605 src/liblzma/check/crc32_x86.s | 217 +++
10606 src/liblzma/check/crc64.c | 75 +
10607 src/liblzma/check/crc64_init.c | 58 +
10608 src/liblzma/check/crc64_table.c | 22 +
10609 src/liblzma/check/crc64_table_be.h | 523 +++++++
10610 src/liblzma/check/crc64_table_le.h | 523 +++++++
10611 src/liblzma/check/crc64_tablegen.c | 56 +
10612 src/liblzma/check/crc64_x86.s | 203 +++
10613 src/liblzma/check/crc_macros.h | 33 +
10614 src/liblzma/check/sha256.c | 203 +++
10615 src/liblzma/common/Makefile.am | 94 ++
10616 src/liblzma/common/alignment.c | 118 ++
10617 src/liblzma/common/allocator.c | 57 +
10618 src/liblzma/common/alone_decoder.c | 197 +++
10619 src/liblzma/common/alone_decoder.h | 24 +
10620 src/liblzma/common/alone_encoder.c | 167 +++
10621 src/liblzma/common/auto_decoder.c | 113 ++
10622 src/liblzma/common/block_decoder.c | 405 +++++
10623 src/liblzma/common/block_decoder.h | 29 +
10624 src/liblzma/common/block_encoder.c | 375 +++++
10625 src/liblzma/common/block_encoder.h | 29 +
10626 src/liblzma/common/block_header_decoder.c | 373 +++++
10627 src/liblzma/common/block_header_encoder.c | 211 +++
10628 src/liblzma/common/block_private.h | 46 +
10629 src/liblzma/common/chunk_size.c | 74 +
10630 src/liblzma/common/code.c | 203 +++
10631 src/liblzma/common/common.h | 271 ++++
10632 src/liblzma/common/copy_coder.c | 143 ++
10633 src/liblzma/common/copy_coder.h | 31 +
10634 src/liblzma/common/delta_coder.c | 210 +++
10635 src/liblzma/common/delta_coder.h | 31 +
10636 src/liblzma/common/extra.c | 33 +
10637 src/liblzma/common/features.c | 70 +
10638 src/liblzma/common/filter_flags_decoder.c | 382 +++++
10639 src/liblzma/common/filter_flags_encoder.c | 359 +++++
10640 src/liblzma/common/index.c | 140 ++
10641 src/liblzma/common/info.c | 823 +++++++++++
10642 src/liblzma/common/init.c | 39 +
10643 src/liblzma/common/init_decoder.c | 33 +
10644 src/liblzma/common/init_encoder.c | 44 +
10645 src/liblzma/common/memory_limitter.c | 200 +++
10646 src/liblzma/common/memory_usage.c | 113 ++
10647 src/liblzma/common/metadata_decoder.c | 555 +++++++
10648 src/liblzma/common/metadata_decoder.h | 31 +
10649 src/liblzma/common/metadata_encoder.c | 436 ++++++
10650 src/liblzma/common/metadata_encoder.h | 30 +
10651 src/liblzma/common/next_coder.c | 65 +
10652 src/liblzma/common/raw_common.c | 175 +++
10653 src/liblzma/common/raw_common.h | 31 +
10654 src/liblzma/common/raw_decoder.c | 127 ++
10655 src/liblzma/common/raw_decoder.h | 30 +
10656 src/liblzma/common/raw_encoder.c | 124 ++
10657 src/liblzma/common/raw_encoder.h | 30 +
10658 src/liblzma/common/stream_common.c | 23 +
10659 src/liblzma/common/stream_common.h | 28 +
10660 src/liblzma/common/stream_decoder.c | 454 ++++++
10661 src/liblzma/common/stream_encoder_multi.c | 460 ++++++
10662 src/liblzma/common/stream_encoder_single.c | 220 +++
10663 src/liblzma/common/stream_flags_decoder.c | 258 ++++
10664 src/liblzma/common/stream_flags_decoder.h | 31 +
10665 src/liblzma/common/stream_flags_encoder.c | 75 +
10666 src/liblzma/common/sysdefs.h | 1 +
10667 src/liblzma/common/version.c | 25 +
10668 src/liblzma/common/vli_decoder.c | 69 +
10669 src/liblzma/common/vli_encoder.c | 81 +
10670 src/liblzma/common/vli_reverse_decoder.c | 55 +
10671 src/liblzma/lz/Makefile.am | 63 +
10672 src/liblzma/lz/bt2.c | 27 +
10673 src/liblzma/lz/bt2.h | 31 +
10674 src/liblzma/lz/bt3.c | 29 +
10675 src/liblzma/lz/bt3.h | 31 +
10676 src/liblzma/lz/bt4.c | 30 +
10677 src/liblzma/lz/bt4.h | 31 +
10678 src/liblzma/lz/hc3.c | 30 +
10679 src/liblzma/lz/hc3.h | 31 +
10680 src/liblzma/lz/hc4.c | 31 +
10681 src/liblzma/lz/hc4.h | 31 +
10682 src/liblzma/lz/lz_decoder.c | 462 ++++++
10683 src/liblzma/lz/lz_decoder.h | 214 +++
10684 src/liblzma/lz/lz_encoder.c | 481 ++++++
10685 src/liblzma/lz/lz_encoder.h | 161 ++
10686 src/liblzma/lz/lz_encoder_private.h | 40 +
10687 src/liblzma/lz/match_c.h | 401 +++++
10688 src/liblzma/lz/match_h.h | 69 +
10689 src/liblzma/lzma.pc.in | 11 +
10690 src/liblzma/lzma/Makefile.am | 43 +
10691 src/liblzma/lzma/lzma_common.h | 128 ++
10692 src/liblzma/lzma/lzma_decoder.c | 844 +++++++++++
10693 src/liblzma/lzma/lzma_decoder.h | 41 +
10694 src/liblzma/lzma/lzma_encoder.c | 413 ++++++
10695 src/liblzma/lzma/lzma_encoder.h | 35 +
10696 src/liblzma/lzma/lzma_encoder_features.c | 59 +
10697 src/liblzma/lzma/lzma_encoder_getoptimum.c | 893 ++++++++++++
10698 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 +++
10699 src/liblzma/lzma/lzma_encoder_init.c | 245 ++++
10700 src/liblzma/lzma/lzma_encoder_presets.c | 34 +
10701 src/liblzma/lzma/lzma_encoder_private.h | 225 +++
10702 src/liblzma/lzma/lzma_literal.c | 74 +
10703 src/liblzma/lzma/lzma_literal.h | 74 +
10704 src/liblzma/rangecoder/Makefile.am | 28 +
10705 src/liblzma/rangecoder/range_common.h | 68 +
10706 src/liblzma/rangecoder/range_decoder.h | 189 +++
10707 src/liblzma/rangecoder/range_encoder.c | 46 +
10708 src/liblzma/rangecoder/range_encoder.h | 317 ++++
10709 src/liblzma/simple/Makefile.am | 46 +
10710 src/liblzma/simple/arm.c | 76 +
10711 src/liblzma/simple/armthumb.c | 81 +
10712 src/liblzma/simple/ia64.c | 117 ++
10713 src/liblzma/simple/powerpc.c | 80 +
10714 src/liblzma/simple/simple_coder.c | 306 ++++
10715 src/liblzma/simple/simple_coder.h | 68 +
10716 src/liblzma/simple/simple_private.h | 86 ++
10717 src/liblzma/simple/sparc.c | 88 ++
10718 src/liblzma/simple/x86.c | 161 ++
10719 src/liblzma/subblock/Makefile.am | 33 +
10720 src/liblzma/subblock/subblock_decoder.c | 681 +++++++++
10721 src/liblzma/subblock/subblock_decoder.h | 29 +
10722 src/liblzma/subblock/subblock_decoder_helper.c | 80 +
10723 src/liblzma/subblock/subblock_decoder_helper.h | 36 +
10724 src/liblzma/subblock/subblock_encoder.c | 841 +++++++++++
10725 src/liblzma/subblock/subblock_encoder.h | 28 +
10726 src/lzma/Makefile.am | 63 +
10727 src/lzma/alloc.c | 106 ++
10728 src/lzma/alloc.h | 42 +
10729 src/lzma/args.c | 566 +++++++
10730 src/lzma/args.h | 64 +
10731 src/lzma/error.c | 156 ++
10732 src/lzma/error.h | 67 +
10733 src/lzma/hardware.c | 99 ++
10734 src/lzma/hardware.h | 31 +
10735 src/lzma/help.c | 178 +++
10736 src/lzma/help.h | 32 +
10737 src/lzma/io.c | 664 +++++++++
10738 src/lzma/io.h | 60 +
10739 src/lzma/list.c | 477 ++++++
10740 src/lzma/main.c | 254 ++++
10741 src/lzma/options.c | 346 +++++
10742 src/lzma/options.h | 46 +
10743 src/lzma/private.h | 55 +
10744 src/lzma/process.c | 458 ++++++
10745 src/lzma/process.h | 30 +
10746 src/lzma/suffix.c | 145 ++
10747 src/lzma/suffix.h | 25 +
10748 src/lzma/util.c | 182 +++
10749 src/lzma/util.h | 32 +
10750 src/lzmadec/Makefile.am | 27 +
10751 src/lzmadec/lzmadec.c | 515 +++++++
10752 src/scripts/Makefile.am | 24 +
10753 src/scripts/lzdiff | 67 +
10754 src/scripts/lzdiff.1 | 51 +
10755 src/scripts/lzgrep | 123 ++
10756 src/scripts/lzgrep.1 | 61 +
10757 src/scripts/lzmore | 74 +
10758 src/scripts/lzmore.1 | 55 +
10759 tests/Makefile.am | 43 +
10760 tests/test_block.c | 59 +
10761 tests/test_block_header.c | 352 +++++
10762 tests/test_check.c | 90 ++
10763 tests/test_filter_flags.c | 326 +++++
10764 tests/test_index.c | 43 +
10765 tests/test_info.c | 717 +++++++++
10766 tests/test_stream_flags.c | 191 +++
10767 tests/tests.h | 148 ++
10768 239 files changed, 42513 insertions(+), 0 deletions(-)